(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9212],{85525:function(e,t,r){"use strict";r.d(t,{Ps:function(){return B}});var n,i=r(5163);function o(e){return(o="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})(e)}var a=r(11176);function s(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index<t;)i+=1,o=t+1-(r.index+r[0].length);return{line:i,column:o}}function u(e,t){var r=e.locationOffset.column-1,n=c(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?r:0,u=t.column+s,d="".concat(e.name,":").concat(a,":").concat(u,"\n"),h=n.split(/\r\n|[\n\r]/g),p=h[i];if(p.length>120){for(var f=Math.floor(u/80),m=u%80,g=[],v=0;v<p.length;v+=80)g.push(p.slice(v,v+80));return d+l([["".concat(a),g[0]]].concat(g.slice(1,f+1).map(function(e){return["",e]}),[[" ",c(m-1)+"^"],["",g[f+1]]]))}return d+l([["".concat(a-1),h[i-1]],["".concat(a),p],["",c(u-1)+"^"],["".concat(a+1),h[i+1]]])}function l(e){var t=e.filter(function(e){return e[0],void 0!==e[1]}),r=Math.max.apply(Math,t.map(function(e){return e[0].length}));return t.map(function(e){var t=e[0],n=e[1];return c(r-t.length)+t+(n?" | "+n:" |")}).join("\n")}function c(e){return Array(e+1).join(" ")}function d(e){return(d="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})(e)}function h(e,t){return t&&("object"===d(t)||"function"==typeof t)?t:p(e)}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){var t="function"==typeof Map?new Map:void 0;return(f=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return m(e,arguments,y(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,e)})(e)}function m(e,t,r){return(m=g()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&v(i,r.prototype),i}).apply(null,arguments)}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(i,e);var t,r,n=(t=g(),function(){var e,r=y(i);return e=t?Reflect.construct(r,arguments,y(this).constructor):r.apply(this,arguments),h(this,e)});function i(e,t,r,a,u,l,c){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,i),v=n.call(this,e);var d,f,m,g,v,y,b,w=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,k=r;!k&&w&&(k=null===(y=w[0].loc)||void 0===y?void 0:y.source);var x=a;!x&&w&&(x=w.reduce(function(e,t){return t.loc&&e.push(t.loc.start),e},[])),x&&0===x.length&&(x=void 0),a&&r?b=a.map(function(e){return s(r,e)}):w&&(b=w.reduce(function(e,t){return t.loc&&e.push(s(t.loc.source,t.loc.start)),e},[]));var _=c;if(null==_&&null!=l){var S=l.extensions;"object"==o(S)&&null!==S&&(_=S)}return(Object.defineProperties(p(v),{name:{value:"GraphQLError"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(d=b)&&void 0!==d?d:void 0,enumerable:null!=b},path:{value:null!=u?u:void 0,enumerable:null!=u},nodes:{value:null!=w?w:void 0},source:{value:null!==(f=k)&&void 0!==f?f:void 0},positions:{value:null!==(m=x)&&void 0!==m?m:void 0},originalError:{value:l},extensions:{value:null!==(g=_)&&void 0!==g?g:void 0,enumerable:null!=_}}),null!=l&&l.stack)?(Object.defineProperty(p(v),"stack",{value:l.stack,writable:!0,configurable:!0}),h(v)):(Error.captureStackTrace?Error.captureStackTrace(p(v),i):Object.defineProperty(p(v),"stack",{value:Error().stack,writable:!0,configurable:!0}),v)}return r=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var r=0,n=e.nodes;r<n.length;r++){var i,o=n[r];o.loc&&(t+="\n\n"+u((i=o.loc).source,s(i.source,i.start)))}else if(e.source&&e.locations)for(var a=0,l=e.locations;a<l.length;a++){var c=l[a];t+="\n\n"+u(e.source,c)}return t}(this)}},{key:a.YF,get:function(){return"Object"}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(i.prototype,r),i}(f(Error));function w(e,t,r){return new b("Syntax Error: ".concat(r),void 0,e,[t])}var k=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"}),x=r(10835),_=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),S=r(75899),E=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),D=r(85717),C=function(){function e(e){var t=new x.WU(_.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e,t=this.token;if(t.kind!==_.EOF)do t=null!==(e=t.next)&&void 0!==e?e:t.next=function(e,t){for(var r=e.source,n=r.body,i=n.length,o=t.end;o<i;){var a=n.charCodeAt(o),s=e.line,u=1+o-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 33:return new x.WU(_.BANG,o,o+1,s,u,t);case 35:return function(e,t,r,n,i){var o,a=e.body,s=t;do o=a.charCodeAt(++s);while(!isNaN(o)&&(o>31||9===o));return new x.WU(_.COMMENT,t,s,r,n,i,a.slice(t+1,s))}(r,o,s,u,t);case 36:return new x.WU(_.DOLLAR,o,o+1,s,u,t);case 38:return new x.WU(_.AMP,o,o+1,s,u,t);case 40:return new x.WU(_.PAREN_L,o,o+1,s,u,t);case 41:return new x.WU(_.PAREN_R,o,o+1,s,u,t);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return new x.WU(_.SPREAD,o,o+3,s,u,t);break;case 58:return new x.WU(_.COLON,o,o+1,s,u,t);case 61:return new x.WU(_.EQUALS,o,o+1,s,u,t);case 64:return new x.WU(_.AT,o,o+1,s,u,t);case 91:return new x.WU(_.BRACKET_L,o,o+1,s,u,t);case 93:return new x.WU(_.BRACKET_R,o,o+1,s,u,t);case 123:return new x.WU(_.BRACE_L,o,o+1,s,u,t);case 124:return new x.WU(_.PIPE,o,o+1,s,u,t);case 125:return new x.WU(_.BRACE_R,o,o+1,s,u,t);case 34:if(34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2))return function(e,t,r,n,i,o){for(var a=e.body,s=t+3,u=s,l=0,c="";s<a.length&&!isNaN(l=a.charCodeAt(s));){if(34===l&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return c+=a.slice(u,s),new x.WU(_.BLOCK_STRING,t,s+3,r,n,i,(0,D.W7)(c));if(l<32&&9!==l&&10!==l&&13!==l)throw w(e,s,"Invalid character within String: ".concat(j(l),"."));10===l?(++s,++o.line,o.lineStart=s):13===l?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===l&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(c+=a.slice(u,s)+'"""',s+=4,u=s):++s}throw w(e,s,"Unterminated string.")}(r,o,s,u,t,e);return function(e,t,r,n,i){for(var o=e.body,a=t+1,s=a,u=0,l="";a<o.length&&!isNaN(u=o.charCodeAt(a))&&10!==u&&13!==u;){if(34===u)return l+=o.slice(s,a),new x.WU(_.STRING,t,a+1,r,n,i,l);if(u<32&&9!==u)throw w(e,a,"Invalid character within String: ".concat(j(u),"."));if(++a,92===u){switch(l+=o.slice(s,a-1),u=o.charCodeAt(a)){case 34:l+='"';break;case 47:l+="/";break;case 92:l+="\\";break;case 98:l+="\b";break;case 102:l+="\f";break;case 110:l+="\n";break;case 114:l+="\r";break;case 116:l+="	";break;case 117:var c,d,h,p,f=(c=o.charCodeAt(a+1),d=o.charCodeAt(a+2),h=o.charCodeAt(a+3),p=o.charCodeAt(a+4),T(c)<<12|T(d)<<8|T(h)<<4|T(p));if(f<0){var m=o.slice(a+1,a+5);throw w(e,a,"Invalid character escape sequence: \\u".concat(m,"."))}l+=String.fromCharCode(f),a+=4;break;default:throw w(e,a,"Invalid character escape sequence: \\".concat(String.fromCharCode(u),"."))}s=++a}}throw w(e,a,"Unterminated string.")}(r,o,s,u,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,n,i,o){var a,s=e.body,u=r,l=t,c=!1;if(45===u&&(u=s.charCodeAt(++l)),48===u){if((u=s.charCodeAt(++l))>=48&&u<=57)throw w(e,l,"Invalid number, unexpected digit after 0: ".concat(j(u),"."))}else l=O(e,l,u),u=s.charCodeAt(l);if(46===u&&(c=!0,u=s.charCodeAt(++l),l=O(e,l,u),u=s.charCodeAt(l)),(69===u||101===u)&&(c=!0,(43===(u=s.charCodeAt(++l))||45===u)&&(u=s.charCodeAt(++l)),l=O(e,l,u),u=s.charCodeAt(l)),46===u||95===(a=u)||a>=65&&a<=90||a>=97&&a<=122)throw w(e,l,"Invalid number, expected digit but got: ".concat(j(u),"."));return new x.WU(c?_.FLOAT:_.INT,t,l,n,i,o,s.slice(t,l))}(r,o,a,s,u,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,i){for(var o=e.body,a=o.length,s=t+1,u=0;s!==a&&!isNaN(u=o.charCodeAt(s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new x.WU(_.NAME,t,s,r,n,i,o.slice(t,s))}(r,o,s,u,t)}throw w(r,o,a<32&&9!==a&&10!==a&&13!==a?"Cannot contain the invalid character ".concat(j(a),"."):39===a?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(j(a),"."))}var l=e.line,c=1+o-e.lineStart;return new x.WU(_.EOF,i,i,l,c,t)}(this,t);while(t.kind===_.COMMENT);return t},e}();function j(e){return isNaN(e)?_.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function O(e,t,r){var n=e.body,i=t,o=r;if(o>=48&&o<=57){do o=n.charCodeAt(++i);while(o>=48&&o<=57);return i}throw w(e,i,"Invalid number, expected digit but got: ".concat(j(o),"."))}function T(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var A=function(){function e(e,t){var r=(0,S.T)(e)?e:new S.H(e);this._lexer=new C(r),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(_.NAME);return{kind:k.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:k.DOCUMENT,definitions:this.many(_.SOF,this.parseDefinition,_.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(_.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else if(this.peek(_.BRACE_L))return this.parseOperationDefinition();else if(this.peekDescription())return this.parseTypeSystemDefinition();throw this.unexpected()},t.parseOperationDefinition=function(){var e,t=this._lexer.token;if(this.peek(_.BRACE_L))return{kind:k.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var r=this.parseOperationType();return this.peek(_.NAME)&&(e=this.parseName()),{kind:k.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseOperationType=function(){var e=this.expectToken(_.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(_.PAREN_L,this.parseVariableDefinition,_.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:k.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(_.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(_.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(_.DOLLAR),{kind:k.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:k.SELECTION_SET,selections:this.many(_.BRACE_L,this.parseSelection,_.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(_.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(_.COLON)?(e=n,t=this.parseName()):t=n,{kind:k.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(_.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(_.PAREN_L,t,_.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(_.COLON),{kind:k.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:k.ARGUMENT,name:this.parseName(),value:(this.expectToken(_.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(_.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(_.NAME)?{kind:k.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:k.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return(this.expectKeyword("fragment"),(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)===!0)?{kind:k.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:k.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case _.BRACKET_L:return this.parseList(e);case _.BRACE_L:return this.parseObject(e);case _.INT:return this._lexer.advance(),{kind:k.INT,value:t.value,loc:this.loc(t)};case _.FLOAT:return this._lexer.advance(),{kind:k.FLOAT,value:t.value,loc:this.loc(t)};case _.STRING:case _.BLOCK_STRING:return this.parseStringLiteral();case _.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:k.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:k.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:k.NULL,loc:this.loc(t)};default:return{kind:k.ENUM,value:t.value,loc:this.loc(t)}}case _.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:k.STRING,value:e.value,block:e.kind===_.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:k.LIST,values:this.any(_.BRACKET_L,function(){return t.parseValueLiteral(e)},_.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:k.OBJECT,fields:this.any(_.BRACE_L,function(){return t.parseObjectField(e)},_.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(_.COLON),{kind:k.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(_.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(_.AT),{kind:k.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return(this.expectOptionalToken(_.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(_.BRACKET_R),e={kind:k.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(_.BANG))?{kind:k.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:k.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===_.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(_.STRING)||this.peek(_.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(!0),n=this.many(_.BRACE_L,this.parseOperationTypeDefinition,_.BRACE_R);return{kind:k.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(_.COLON);var r=this.parseNamedType();return{kind:k.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:k.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:k.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if((null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)===!0){var t=[];this.expectOptionalToken(_.AMP);do t.push(this.parseNamedType());while(this.expectOptionalToken(_.AMP)||this.peek(_.NAME));return t}return this.delimitedMany(_.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)===!0&&this.peek(_.BRACE_L)&&this._lexer.lookahead().kind===_.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(_.BRACE_L,this.parseFieldDefinition,_.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(_.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:k.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(_.PAREN_L,this.parseInputValueDef,_.PAREN_R)},t.parseInputValueDef=function(){var e,t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(_.COLON);var i=this.parseTypeReference();this.expectOptionalToken(_.EQUALS)&&(e=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:k.INPUT_VALUE_DEFINITION,description:r,name:n,type:i,defaultValue:e,directives:o,loc:this.loc(t)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:k.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:k.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(_.EQUALS)?this.delimitedMany(_.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:k.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(_.BRACE_L,this.parseEnumValueDefinition,_.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:k.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:k.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(_.BRACE_L,this.parseInputValueDef,_.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===_.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(_.BRACE_L,this.parseOperationTypeDefinition,_.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:k.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:k.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return{kind:k.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return{kind:k.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:k.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:k.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:k.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(_.AT);var r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:k.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(_.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==E[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if((null===(t=this._options)||void 0===t?void 0:t.noLocation)!==!0)return new x.Ye(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw w(this._lexer.source,t.start,"Expected ".concat(R(e),", found ").concat(P(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind===_.NAME&&t.value===e)this._lexer.advance();else throw w(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(P(t),"."))},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===_.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return w(this._lexer.source,t.start,"Unexpected ".concat(P(t),"."))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r},e}();function P(e){var t=e.value;return R(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function R(e){return e===_.BANG||e===_.DOLLAR||e===_.AMP||e===_.PAREN_L||e===_.PAREN_R||e===_.SPREAD||e===_.COLON||e===_.EQUALS||e===_.AT||e===_.BRACKET_L||e===_.BRACKET_R||e===_.BRACE_L||e===_.PIPE||e===_.BRACE_R?'"'.concat(e,'"'):e}var M=new Map,F=new Map,N=!0,I=!1;function L(e){return e.replace(/[\s,]+/g," ").trim()}function B(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]}),function(e){var t=L(e);if(!M.has(t)){var r,n,o,a,s,u=new A(e,{experimentalFragmentVariables:I,allowLegacyFragmentVariables:I}).parseDocument();if(!u||"Document"!==u.kind)throw Error("Not a valid GraphQL document.");M.set(t,((a=new Set((r=new Set,n=[],u.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=L((t=e.loc).source.body.substring(t.start,t.end)),a=F.get(i);a&&!a.has(o)?N&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||F.set(i,a=new Set),a.add(o),r.has(o)||(r.add(o),n.push(e))}else n.push(e)}),o=(0,i.pi)((0,i.pi)({},u),{definitions:n})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&a.add(r)})}),(s=o.loc)&&(delete s.startToken,delete s.endToken),o))}return M.get(t)}(n)}var z=B;(n=B||(B={})).gql=z,n.resetCaches=function(){M.clear(),F.clear()},n.disableFragmentWarnings=function(){N=!1},n.enableExperimentalFragmentVariables=function(){I=!0},n.disableExperimentalFragmentVariables=function(){I=!1},B.default=B},67827:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(85645);function i(e){return Array.isArray(e)?e:[e]}let o="__caslSubjectType__",a=e=>{let t=typeof e;return"string"===t||"function"===t},s=e=>e.modelName||e.name,u=e=>"string"==typeof e?e:s(e);function l(e){return e?e.hasOwnProperty(o)?e[o]:s(e.constructor):"all"}function c(e,t,r){for(let n=r;n<t.length;n++)e.push(t[n])}function d(e,t){if(!e||!e.length)return t||[];if(!t||!t.length)return e||[];let r=0,n=0,i=[];for(;r<e.length&&n<t.length;)e[r].priority<t[n].priority?(i.push(e[r]),r++):(i.push(t[n]),n++);return c(i,e,r),c(i,t,n),i}function h(e,t,r){let n=e.get(t);return n||(n=r(),e.set(t,n)),n}let p=e=>e;class f{constructor(e,t,r=0){!function(e,t){if(Array.isArray(e.fields)&&!e.fields.length)throw Error("`rawRule.fields` cannot be an empty array. https://bit.ly/390miLa");if(e.fields&&!t.fieldMatcher)throw Error('You need to pass "fieldMatcher" option in order to restrict access by fields');if(e.conditions&&!t.conditionsMatcher)throw Error('You need to pass "conditionsMatcher" option in order to restrict access by conditions')}(e,t),this.action=t.resolveAction(e.action),this.subject=e.subject,this.inverted=!!e.inverted,this.conditions=e.conditions,this.reason=e.reason,this.fields=e.fields?i(e.fields):void 0,this.priority=r,this.t=t}i(){return this.conditions&&!this.o&&(this.o=this.t.conditionsMatcher(this.conditions)),this.o}get ast(){let e=this.i();return e?e.ast:void 0}matchesConditions(e){return!this.conditions||(!e||a(e)?!this.inverted:this.i()(e))}matchesField(e){return!this.fields||(e?(this.fields&&!this.u&&(this.u=this.t.fieldMatcher(this.fields)),this.u(e)):!this.inverted)}}let m=(e,t)=>{let r={value:e,prev:t,next:null};return t&&(t.next=r),r},g=e=>{e.next&&(e.next.prev=e.prev),e.prev&&(e.prev.next=e.next),e.next=e.prev=null},v=()=>({rules:[],merged:!1}),y=()=>new Map,b=(e,t)=>{!e.h&&t.fields&&(e.h=!0)};class w{constructor(e=[],t={}){this.h=!1,this.l=new Map,this.p={conditionsMatcher:t.conditionsMatcher,fieldMatcher:t.fieldMatcher,resolveAction:t.resolveAction||p},this.g=t.detectSubjectType||l,this.$=e,this.m=this.A(e)}get rules(){return this.$}detectSubjectType(e){return a(e)?e:this.g(e)}update(e){let t={rules:e,ability:this,target:this};return this.M("update",t),this.$=e,this.m=this.A(e),this.M("updated",t),this}A(e){let t=new Map;for(let r=e.length-1;r>=0;r--){let n=e.length-r-1,o=new f(e[r],this.p,n),a=i(o.action),s=i(o.subject||"all");b(this,o);for(let e=0;e<s.length;e++){let r=h(t,s[e],y);for(let e=0;e<a.length;e++)h(r,a[e],v).rules.push(o)}}return t}possibleRulesFor(e,t="all"){if(!a(t))throw Error('"possibleRulesFor" accepts only subject types (i.e., string or class) as the 2nd parameter');let r=h(this.m,t,y),n=h(r,e,v);if(n.merged)return n.rules;let i="manage"!==e&&r.has("manage")?r.get("manage").rules:void 0,o=d(n.rules,i);return"all"!==t&&(o=d(o,this.possibleRulesFor(e,"all"))),n.rules=o,n.merged=!0,o}rulesFor(e,t,r){let n=this.possibleRulesFor(e,t);if(r&&"string"!=typeof r)throw Error("The 3rd, `field` parameter is expected to be a string. See https://stalniy.github.io/casl/en/api/casl-ability#can-of-pure-ability for details");return this.h?n.filter(e=>e.matchesField(r)):n}on(e,t){let r=m(t,this.l.get(e)||null);return this.l.set(e,r),()=>{r.next||r.prev||this.l.get(e)!==r?g(r):this.l.delete(e)}}M(e,t){let r=this.l.get(e)||null;for(;null!==r;){let e=r.prev;r.value(t),r=e}}}class k extends w{can(...e){let t=this.relevantRuleFor(...e);return!!t&&!t.inverted}relevantRuleFor(e,t,r){let n=this.detectSubjectType(t),i=this.rulesFor(e,n,r);for(let e=0,r=i.length;e<r;e++)if(i[e].matchesConditions(t))return i[e];return null}cannot(...e){return!this.can(...e)}}let x={$eq:n.$eq,$ne:n.$ne,$lt:n.$lt,$lte:n.$lte,$gt:n.$gt,$gte:n.$gte,$in:n.$in,$nin:n.$nin,$all:n.$all,$size:n.$size,$regex:n.$regex,$options:n.$options,$elemMatch:n.$elemMatch,$exists:n.$exists},_={eq:n.eq,ne:n.ne,lt:n.lt,lte:n.lte,gt:n.gt,gte:n.gte,in:n.within,nin:n.nin,all:n.all,size:n.size,regex:n.regex,elemMatch:n.elemMatch,exists:n.exists,and:n.and},S=n.createFactory(x,_),E=/[-/\\^$+?.()|[\]{}]/g,D=/\.?\*+\.?/g,C=/\*+/,j=/\./g;function O(e,t,r){let n="*"===r[0]||"."===e[0]&&"."===e[e.length-1]?"+":"*",i=-1===e.indexOf("**")?"[^.]":".",o=e.replace(j,"\\$&").replace(C,i+n);return t+e.length===r.length?`(?:${o})?`:o}function T(e,t,r){return"."===e&&("*"===r[t-1]||"*"===r[t+1])?e:`\\${e}`}let A=e=>{let t;return r=>(void 0===t&&(t=e.every(e=>-1===e.indexOf("*"))?null:function(e){let t=e.map(e=>e.replace(E,T).replace(D,O)),r=t.length>1?`(?:${t.join("|")})`:t[0];return RegExp(`^${r}$`)}(e)),null===t?-1!==e.indexOf(r):t.test(r))};class P extends k{constructor(e=[],t={}){super(e,Object.assign({conditionsMatcher:S,fieldMatcher:A},t))}}class R{constructor(e){this.j=e}because(e){return this.j.reason=e,this}}class M{constructor(e){this.rules=[],this.v=e,this.can=this.can.bind(this),this.cannot=this.cannot.bind(this),this.build=this.build.bind(this)}can(e,t,r,n){let i={action:e};return t&&(i.subject=t,Array.isArray(r)||"string"==typeof r?i.fields=r:void 0!==r&&(i.conditions=r),void 0!==n&&(i.conditions=n)),this.rules.push(i),new R(i)}cannot(e,t,r,n){let i=this.can(e,t,r,n);return i.j.inverted=!0,i}build(e){return new this.v(this.rules,e)}}let F=e=>`Cannot execute "${e.action}" on "${e.subjectType}"`,N=function(e){this.message=e};N.prototype=Object.create(Error.prototype);class I extends N{static setDefaultMessage(e){this._="string"==typeof e?()=>e:e}static from(e){return new this(e)}constructor(e){super(""),this.ability=e,"function"==typeof Error.captureStackTrace&&(this.name="ForbiddenError",Error.captureStackTrace(this,this.constructor))}setMessage(e){return this.message=e,this}throwUnlessCan(...e){let t=this.ability.relevantRuleFor(...e);if(t&&!t.inverted)return;this.action=e[0],this.subject=e[1],this.subjectType=u(this.ability.detectSubjectType(e[1])),this.field=e[2];let r=t?t.reason:"";throw this.message=this.message||r||this.constructor._(this),this}}I._=F;var L=Object.freeze({__proto__:null});t.Ability=P,t.AbilityBuilder=M,t.ForbiddenError=I,t.PureAbility=k,t.buildMongoQueryMatcher=(e,t,r)=>n.createFactory(Object.assign({},x,e),Object.assign({},_,t),r),t.createAliasResolver=function(e){return t=>(function(e,t){let r=i(t),n=0;for(;n<r.length;){let t=r[n++];e.hasOwnProperty(t)&&(r=r.concat(e[t]))}return r})(e,t)},t.defineAbility=function(e,t){let r=new M(P),n=e(r.can,r.cannot);return n&&"function"==typeof n.then?n.then(()=>r.build(t)):r.build(t)},t.detectSubjectType=l,t.fieldPatternMatcher=A,t.getDefaultErrorMessage=F,t.hkt=L,t.mongoQueryMatcher=S,t.subject=function(e,t){if(t){if(t.hasOwnProperty(o)){if(e!==t[o])throw Error(`Trying to cast object to subject type ${e} but previously it was casted to ${t[o]}`)}else Object.defineProperty(t,o,{value:e})}return t},t.wrapArray=i},42795:function(e,t,r){"use strict";r.d(t,{fy:function(){return t1}});var n,i,o,a,s,u,l,c,d,h,p,f,m,g,v,y,b,w,k,x,_={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},S=console,E={};Object.keys(_).forEach(function(e){E[e]=S[e]});var D="Datadog Browser SDK:",C={debug:E.debug.bind(S,D),log:E.log.bind(S,D),info:E.info.bind(S,D),warn:E.warn.bind(S,D),error:E.error.bind(S,D)};function j(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{return e.apply(void 0,r)}catch(e){C.error(t,e)}}}var O=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},T=!1;function A(e){T=e}function P(e,t,r){var n=r.value;r.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(u?R(n):n).apply(this,e)}}function R(e){return function(){return M(e,this,arguments)}}function M(e,t,r){try{return e.apply(t,r)}catch(e){if(F(e),u)try{u(e)}catch(e){F(e)}}}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];T&&C.error.apply(C,O(["[MONITOR]"],e,!1))}function N(e,t){return -1!==e.indexOf(t)}function I(e){if(Array.from)return Array.from(e);var t=[];if(e instanceof Set)e.forEach(function(e){return t.push(e)});else for(var r=0;r<e.length;r++)t.push(e[r]);return t}function L(e){return Object.keys(e).map(function(t){return e[t]})}function B(e,t){return e.slice(0,t.length)===t}function z(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach(function(t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}),e}function U(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&("object"==typeof self?e=self:e="object"==typeof window?window:{}),e}var q=/[^\u0000-\u007F]/;function $(e){return q.test(e)?void 0!==window.TextEncoder?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function H(e,t){var r,n=U();return n.Zone&&"function"==typeof n.Zone.__symbol__&&(r=e[n.Zone.__symbol__(t)]),r||(r=e[t]),r}function V(e,t){return H(U(),"setTimeout")(R(e),t)}function W(e){H(U(),"clearTimeout")(e)}function G(e,t){return H(U(),"setInterval")(R(e),t)}function Y(e){H(U(),"clearInterval")(e)}function Z(e,t,r){var n,i,o=!r||void 0===r.leading||r.leading,a=!r||void 0===r.trailing||r.trailing,s=!1;return{throttled:function(){for(var r=[],u=0;u<arguments.length;u++)r[u]=arguments[u];if(s){n=r;return}o?e.apply(void 0,r):n=r,s=!0,i=V(function(){a&&n&&e.apply(void 0,n),s=!1,n=void 0},t)},cancel:function(){W(i),s=!1,n=void 0}}}function K(){}function J(e,t,r){if("object"!=typeof e||null===e)return JSON.stringify(e);var n=X(Object.prototype),i=X(Array.prototype),o=X(Object.getPrototypeOf(e)),a=X(e);try{return JSON.stringify(e,t,r)}catch(e){return"<error: unable to serialize object>"}finally{n(),i(),o(),a()}}function X(e){var t=e.toJSON;return t?(delete e.toJSON,function(){e.toJSON=t}):K}function Q(e,t){return Object.keys(e).some(function(r){return e[r]===t})}function ee(e){return 0===Object.keys(e).length}function et(e){var t=0,r=Z(function(r){t=$(J(r)),e()},200),n=r.throttled,i=r.cancel,o=function(){i(),t=0};return{updateCustomerData:function(e){ee(e)?o():n(e)},resetCustomerData:o,getBytesCount:function(){return t},stop:function(){i()}}}function er(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function en(e,t,r){if(void 0===r&&(r=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var r=e.has(t);return r||e.add(t),r}}}var t=[];return{hasAlreadyBeenSeen:function(e){var r=t.indexOf(e)>=0;return r||t.push(e),r}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var n=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,n)}if(!r.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=en(i[o],t[o],r);return i}var a="object"===er(e)?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=en(a[s],t[s],r));return a}}function ei(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=0;n<t.length;n++){var i=t[n];null!=i&&(e=en(e,i))}return e}function eo(e,t){void 0===t&&(t=225280);var r,n=X(Object.prototype),i=X(Array.prototype),o=[],a=new WeakMap,s=ea(e,"$",void 0,o,a),u=(null===(r=JSON.stringify(s))||void 0===r?void 0:r.length)||0;if(u>t){es(t,"discarded",e);return}for(;o.length>0&&u<t;){var l=o.shift(),c=0;if(Array.isArray(l.source))for(var d=0;d<l.source.length;d++){var h=ea(l.source[d],l.path,d,o,a);if(void 0!==h?u+=JSON.stringify(h).length:u+=4,u+=c,c=1,u>t){es(t,"truncated",e);break}l.target[d]=h}else for(var d in l.source)if(Object.prototype.hasOwnProperty.call(l.source,d)){var h=ea(l.source[d],l.path,d,o,a);if(void 0!==h&&(u+=JSON.stringify(h).length+c+d.length+3,c=1),u>t){es(t,"truncated",e);break}l.target[d]=h}}return n(),i(),s}function ea(e,t,r,n,i){var o=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(e){}return e}(e);if(!o||"object"!=typeof o)return"bigint"==typeof o?"[BigInt] ".concat(o.toString()):"function"==typeof o?"[Function] ".concat(o.name||"unknown"):"symbol"==typeof o?"[Symbol] ".concat(o.description||o.toString()):o;var a=function(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(t&&t[1])return"[".concat(t[1],"]")}catch(e){}return"[Unserializable]"}(o);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;if(i.has(e))return"[Reference seen at ".concat(i.get(e),"]");var s=void 0!==r?"".concat(t,".").concat(r):t,u=Array.isArray(o)?[]:{};return i.set(e,s),n.push({source:o,target:u,path:s}),u}function es(e,t,r){C.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),r)}var eu=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter(function(t){return e!==t}),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach(function(t){return t(e)})},e}();function el(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new eu(function(t){var r=e.map(function(e){return e.subscribe(function(e){return t.notify(e)})});return function(){return r.forEach(function(e){return e.unsubscribe()})}})}function ec(e){var t={},r=new eu,n={getContext:function(){return en(void 0,t)},setContext:function(i){"object"===er(i)?(t=eo(i),e.updateCustomerData(t)):n.clearContext(),r.notify()},setContextProperty:function(n,i){t[n]=eo(i),e.updateCustomerData(t),r.notify()},removeContextProperty:function(n){delete t[n],e.updateCustomerData(t),r.notify()},clearContext:function(){t={},e.resetCustomerData(),r.notify()},changeObservable:r};return n}var ed={GRANTED:"granted",NOT_GRANTED:"not-granted"};function eh(e,t,r,n,i){var o=void 0===i?{}:i,a=o.once,s=o.capture,u=o.passive,l=R(function(t){(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(a&&h(),n(t))}),c=u?{capture:s,passive:u}:s,d=H(t,"addEventListener");function h(){var e=H(t,"removeEventListener");r.forEach(function(r){return e.call(t,r,l,c)})}return r.forEach(function(e){return d.call(t,e,l,c)}),{stop:h}}(n=l||(l={})).BEFORE_UNLOAD="beforeunload",n.CLICK="click",n.DBL_CLICK="dblclick",n.KEY_DOWN="keydown",n.LOAD="load",n.POP_STATE="popstate",n.SCROLL="scroll",n.TOUCH_START="touchstart",n.TOUCH_END="touchend",n.TOUCH_MOVE="touchmove",n.VISIBILITY_CHANGE="visibilitychange",n.PAGE_SHOW="pageshow",n.FREEZE="freeze",n.RESUME="resume",n.DOM_CONTENT_LOADED="DOMContentLoaded",n.POINTER_DOWN="pointerdown",n.POINTER_UP="pointerup",n.POINTER_CANCEL="pointercancel",n.HASH_CHANGE="hashchange",n.PAGE_HIDE="pagehide",n.MOUSE_DOWN="mousedown",n.MOUSE_UP="mouseup",n.MOUSE_MOVE="mousemove",n.FOCUS="focus",n.BLUR="blur",n.CONTEXT_MENU="contextmenu",n.RESIZE="resize",n.CHANGE="change",n.INPUT="input",n.PLAY="play",n.PAUSE="pause",n.SECURITY_POLICY_VIOLATION="securitypolicyviolation",n.SELECTION_CHANGE="selectionchange",n.STORAGE="storage";var ep=[];function ef(e,t,r,n){var i="".concat("_dd_c","_").concat(r,"_").concat(n);function o(){var e=localStorage.getItem(i);return null!==e?JSON.parse(e):{}}ep.push(eh(e,window,[l.STORAGE],function(e){i===e.key&&t.setContext(o())},void 0)),t.changeObservable.subscribe(function(){localStorage.setItem(i,JSON.stringify(t.getContext()))}),t.setContext(ei(o(),t.getContext()))}function em(e){var t=[],r=eS(e,"stack"),n=String(e);return r&&B(r,n)&&(r=r.slice(n.length)),r&&r.split("\n").forEach(function(e){var r=function(e){var t=ey.exec(e);if(t){var r=t[2]&&0===t[2].indexOf("native"),n=t[2]&&0===t[2].indexOf("eval"),i=eb.exec(t[2]);return n&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:r?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}}(e)||function(e){var t=ew.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:"?",line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){var t=ek.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:+t[3],url:t[2]}}(e)||function(e){var t=ex.exec(e);if(t){var r=t[3]&&t[3].indexOf(" > eval")>-1,n=e_.exec(t[3]);return r&&n&&(t[3]=n[1],t[4]=n[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||"?",line:t[4]?+t[4]:void 0,url:t[3]}}}(e);r&&(!r.func&&r.line&&(r.func="?"),t.push(r))}),{message:eS(e,"message"),name:eS(e,"name"),stack:t}}var eg="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",ev="(?::(\\d+))",ey=RegExp("^\\s*at (.*?) ?\\(".concat(eg).concat(ev,"?").concat(ev,"?\\)?\\s*$"),"i"),eb=new RegExp("\\((\\S*)".concat(ev).concat(ev,"\\)")),ew=RegExp("^\\s*at ?".concat(eg).concat(ev,"?").concat(ev,"??\\s*$"),"i"),ek=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ex=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,e_=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function eS(e,t){if("object"==typeof e&&e&&t in e){var r=e[t];return"string"==typeof r?r:void 0}}var eE=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/,eD="No stack, consider using an instance of Error";function eC(e){var t=e.stackTrace,r=e.originalError,n=e.handlingStack,i=e.startClocks,o=e.nonErrorPrefix,a=e.source,s=e.handling,u=r instanceof Error,l=(null==t?void 0:t.message)&&(null==t?void 0:t.name)?t.message:u?"Empty message":"".concat(o," ").concat(J(eo(r))),c=void 0!==t&&(u||t.stack.length>0&&(t.stack.length>1||void 0!==t.stack[0].url))?eO(t):eD,d=u?eA(r,a):void 0,h=null==t?void 0:t.name,p=ej(r);return{startClocks:i,source:a,handling:s,handlingStack:n,originalError:r,type:h,message:l,stack:c,causes:d,fingerprint:p}}function ej(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function eO(e){var t=eT(e);return e.stack.forEach(function(e){var r="?"===e.func?"<anonymous>":e.func,n=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",i=e.line?":".concat(e.line):"",o=e.line&&e.column?":".concat(e.column):"";t+="\n  at ".concat(r).concat(n," @ ").concat(e.url).concat(i).concat(o)}),t}function eT(e){return"".concat(e.name||"Error",": ").concat(e.message)}function eA(e,t){for(var r=e,n=[];(null==r?void 0:r.cause)instanceof Error&&n.length<10;){var i=em(r.cause);n.push({message:r.cause.message,source:t,type:null==i?void 0:i.name,stack:i&&eO(i)}),r=r.cause}return n.length?n:void 0}(i=c||(c={})).PAGEHIDE="pagehide",i.FEATURE_FLAGS="feature_flags",i.RESOURCE_PAGE_STATES="resource_page_states",i.COLLECT_FLUSH_REASON="collect_flush_reason",i.ZERO_LCP_TELEMETRY="zero_lcp_telemetry",i.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css",i.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",i.CUSTOM_VITALS="custom_vitals",i.TOLERANT_RESOURCE_TIMINGS="tolerant_resource_timings";var eP=new Set,eR="datadoghq.com",eM="pci.browser-intake-datadoghq.com";function eF(){return new Date().getTime()}function eN(){return performance.now()}function eI(){return{relative:eN(),timeStamp:eF()}}function eL(){return void 0===d&&(d=performance.timing.navigationStart),d}function eB(e,t){var r=window.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}function ez(e){return 0!==e&&100*Math.random()<=e}function eU(e){return"number"==typeof e&&e>=0&&e<=100}var eq="configuration",e$="usage",eH=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],eV=["ddog-gov.com"],eW={maxEventsPerPage:0,sentEventCount:0};function eG(e,t){F(_.debug,e,t),eZ(z({type:"log",message:e,status:"debug"},t))}function eY(e,t){eZ(z({type:"log",status:"error"},function(e){if(e instanceof Error){var t=em(e);return{error:{kind:t.name,stack:eO((t.stack=t.stack.filter(function(e){return!e.url||eH.some(function(t){return B(e.url,t)})}),t))},message:t.message}}return{error:{stack:eD},message:"".concat("Uncaught"," ").concat(J(e))}}(e),t))}function eZ(e){h&&eW.sentEventCount<eW.maxEventsPerPage&&(eW.sentEventCount+=1,h(e))}function eK(e){var t=z({},e);return["id","name","email"].forEach(function(e){e in t&&(t[e]=String(t[e]))}),t}function eJ(e,t){t.silentMultipleInit||C.error("".concat(e," is already initialized."))}var eX={AGENT:"agent",CONSOLE:"console",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"},eQ=function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},e0={debug:"debug",error:"error",info:"info",warn:"warn"},e1={console:"console",http:"http"},e2=Object.keys(e0),e3=function(){function e(e,t,r,n,i,o){void 0===n&&(n=e1.http),void 0===i&&(i=e0.debug),void 0===o&&(o={}),this.handleLogStrategy=e,this.handlerType=n,this.level=i,this.contextManager=ec(t),this.contextManager.setContext(o),r&&this.contextManager.setContextProperty("logger",{name:r})}return e.prototype.log=function(e,t,r,n){if(void 0===r&&(r=e0.info),null!=n){var i,o=eC({stackTrace:n instanceof Error?em(n):void 0,originalError:n,nonErrorPrefix:"Provided",source:eX.LOGGER,handling:"handled",startClocks:eI()});i={stack:o.stack,kind:o.type,message:o.message,causes:o.causes}}var a=eo(t),s=i?ei({error:i},a):a;this.handleLogStrategy({message:eo(e),context:s,status:r},this)},e.prototype.debug=function(e,t,r){this.log(e,t,e0.debug,r)},e.prototype.info=function(e,t,r){this.log(e,t,e0.info,r)},e.prototype.warn=function(e,t,r){this.log(e,t,e0.warn,r)},e.prototype.error=function(e,t,r){this.log(e,t,e0.error,r)},e.prototype.setContext=function(e){this.contextManager.setContext(e)},e.prototype.getContext=function(){return this.contextManager.getContext()},e.prototype.setContextProperty=function(e,t){this.contextManager.setContextProperty(e,t)},e.prototype.removeContextProperty=function(e){this.contextManager.removeContextProperty(e)},e.prototype.clearContext=function(){this.contextManager.clearContext()},e.prototype.setHandler=function(e){this.handlerType=e},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(e){this.level=e},e.prototype.getLevel=function(){return this.level},eQ([P],e.prototype,"log",null),e}();function e5(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}var e4=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.remove=function(e){e5(this.buffer,e)},e.prototype.drain=function(e){this.buffer.forEach(function(t){return t(e)}),this.buffer.length=0},e}();function e6(){var e=U().DatadogEventBridge;if(e)return{getCapabilities:function(){var t;return JSON.parse((null===(t=e.getCapabilities)||void 0===t?void 0:t.call(e))||"[]")},getPrivacyLevel:function(){var t;return null===(t=e.getPrivacyLevel)||void 0===t?void 0:t.call(e)},getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,r,n){e.send(JSON.stringify({eventType:t,event:r,view:n?{id:n}:void 0}))}}}function e8(e){void 0===e&&(e=null===(t=U().location)||void 0===t?void 0:t.hostname);var t,r=e6();return!!r&&r.getAllowedWebViewHosts().some(function(t){var r,n;return e===t||(r=e,n=".".concat(t),r.slice(-n.length)===n)})}function e9(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,e9)}var e7=/([\w-]+)\s*=\s*([^;]+)/g;function te(e,t,r,n){var i=new Date;i.setTime(i.getTime()+r);var o="expires=".concat(i.toUTCString()),a=n&&n.crossSite?"none":"strict",s=n&&n.domain?";domain=".concat(n.domain):"",u=n&&n.secure?";secure":"",l=n&&n.partitioned?";partitioned":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(u).concat(l)}function tt(e){return function(e,t){for(e7.lastIndex=0;;){var r=e7.exec(e);if(r){if(r[1]===t)return r[2]}else break}}(document.cookie,e)}function tr(e){return f||(f=function(e){var t=new Map;for(e7.lastIndex=0;;){var r=e7.exec(e);if(r)t.set(r[1],r[2]);else break}return t}(document.cookie)),f.get(e)}function tn(e,t){te(e,"",0,t)}var ti="_dd_s",to=/^([a-z]+)=([a-z0-9-]+)$/;function ta(e){e.expire=String(eF()+9e5)}function ts(e){return Object.keys(e).map(function(t){return[t,e[t]]}).map(function(e){var t=e[0],r=e[1];return"".concat(t,"=").concat(r)}).join("&")}function tu(e){var t={};return e&&(-1!==e.indexOf("&")||to.test(e))&&e.split("&").forEach(function(e){var r=to.exec(e);if(null!==r){var n=r[1],i=r[2];t[n]=i}}),t}function tl(){return tu(tt(ti))}function tc(e){localStorage.setItem(ti,ts(e))}function td(){return tu(localStorage.getItem(ti))}function th(){localStorage.removeItem(ti)}var tp=[];function tf(e,t,r){void 0===r&&(r=0);var n,i,o=t.isLockEnabled,a=t.retrieveSession,s=t.persistSession,u=t.clearSession;if(g||(g=e),e!==g){tp.push(e);return}if(o&&r>=100){tg(t);return}var l=a();if(o&&(l.lock||(i=e9(),l.lock=i,s(l),(l=a()).lock!==i))){tm(e,t,r);return}var c=e.process(l);if(o&&(l=a()).lock!==i){tm(e,t,r);return}if(c&&(ee(c)?u():(ta(c),s(c))),o&&!(c&&ee(c))){if((l=a()).lock!==i){tm(e,t,r);return}delete l.lock,s(l),c=l}null===(n=e.after)||void 0===n||n.call(e,c||l),tg(t)}function tm(e,t,r){V(function(){tf(e,t,r+1)},10)}function tg(e){g=void 0;var t=tp.shift();t&&tf(t,e)}function tv(e){return function(e,t){var r=function(){if(void 0===v)try{var e=new ty("http://test/path");v="http://test/path"===e.href}catch(e){v=!1}return v?ty:void 0}();if(r)try{return void 0!==t?new r(e,t):new r(e)}catch(r){throw Error("Failed to construct URL: ".concat(String(r)," ").concat(J({url:e,base:t})))}if(void 0===t&&!/:/.test(e))throw Error("Invalid URL: '".concat(e,"'"));var n=document,i=n.createElement("a");if(void 0!==t){var o=(n=document.implementation.createHTMLDocument("")).createElement("base");o.href=t,n.head.appendChild(o),n.body.appendChild(i)}return i.href=e,i}(e,location.href).href}var ty=URL;function tb(e,t,r){var n=function(e,t){var r="/api/v2/".concat(t),n=e.proxy;if("string"==typeof n){var i=tv(n);return function(e){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(r,"?").concat(e)))}}if("function"==typeof n)return function(e){return n({path:r,parameters:e})};var o=function(e,t){var r=t.site,n=void 0===r?eR:r,i=t.internalAnalyticsSubdomain;if("logs"===e&&t.usePciIntake&&n===eR)return eM;if(i&&n===eR)return"".concat(i,".").concat(eR);if("dd0g-gov.com"===n)return"http-intake.logs.".concat(n);var o=n.split("."),a=o.pop();return"browser-intake-".concat(o.join("-"),".").concat(a)}(t,e);return function(e){return"https://".concat(o).concat(r,"?").concat(e)}}(e,t);return{build:function(i,o){var a,s,u,l,d,h,p,f;return n((s=e.clientToken,u=e.internalAnalyticsSubdomain,l=o.retry,d=o.flushReason,h=o.encoding,p=["sdk_version:".concat("5.16.0"),"api:".concat(i)].concat(r),d&&(a=c.COLLECT_FLUSH_REASON,eP.has(a))&&p.push("flush_reason:".concat(d)),l&&p.push("retry_count:".concat(l.count),"retry_after:".concat(l.lastFailureStatus)),f=["ddsource=browser","ddtags=".concat(encodeURIComponent(p.join(","))),"dd-api-key=".concat(s),"dd-evp-origin-version=".concat(encodeURIComponent("5.16.0")),"dd-evp-origin=browser","dd-request-id=".concat(e9())],h&&f.push("dd-evp-encoding=".concat(h)),"rum"===t&&f.push("batch_time=".concat(eF())),u&&f.reverse(),f.join("&")))},urlPrefix:n(""),trackType:t}}var tw=/[^a-z0-9_:./-]/;function tk(e,t){var r=200-e.length-1;(t.length>r||tw.test(t))&&C.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var n=t.replace(/,/g,"_");return"".concat(e,":").concat(n)}var tx={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function t_(e,t,r,n,i){return r?eO({name:e,message:t,stack:[{func:"?",url:r,line:null!=n?n:void 0,column:null!=i?i:void 0}]}):void 0}function tS(e,t,r){var n;if(void 0===e)return[];if(!("all"===e||Array.isArray(e)&&e.every(function(e){return N(t,e)}))){C.error("".concat(r,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'));return}return"all"===e?t:(n=new Set,e.forEach(function(e){return n.add(e)}),I(n))}var tE="logs",tD={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function tC(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||tr("datadog-synthetics-injects-rum"))}var tj=1/0,tO=function(){function e(e,t){var r=this;this.expireDelay=e,this.maxEntries=t,this.entries=[],this.clearOldValuesInterval=G(function(){return r.clearOldValues()},6e4)}return e.prototype.add=function(e,t){var r=this,n={value:e,startTime:t,endTime:tj,remove:function(){e5(r.entries,n)},close:function(e){n.endTime=e}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(n),n},e.prototype.find=function(e){void 0===e&&(e=tj);for(var t=0,r=this.entries;t<r.length;t++){var n=r[t];if(n.startTime<=e){if(e<=n.endTime)return n.value;break}}},e.prototype.closeActive=function(e){var t=this.entries[0];t&&t.endTime===tj&&t.close(e)},e.prototype.findAll=function(e,t){void 0===e&&(e=tj),void 0===t&&(t=0);var r=e+t;return this.entries.filter(function(t){return t.startTime<=r&&e<=t.endTime}).map(function(e){return e.value})},e.prototype.reset=function(){this.entries=[]},e.prototype.stop=function(){Y(this.clearOldValuesInterval)},e.prototype.clearOldValues=function(){for(var e=eN()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<e;)this.entries.pop()},e}(),tT=[];function tA(e){return ez(e.sessionSampleRate)?"1":"0"}var tP=!1;function tR(e){var t=window;if(tC()){var r,n,i=o(t.DD_RUM_SYNTHETICS);return i||tP||(tP=!0,eG("Logs sent before RUM is injected by the synthetics worker",{testId:"string"==typeof(r=window._DATADOG_SYNTHETICS_PUBLIC_ID||tr("datadog-synthetics-public-id"))?r:void 0,resultId:"string"==typeof(n=window._DATADOG_SYNTHETICS_RESULT_ID||tr("datadog-synthetics-result-id"))?n:void 0})),i}return o(t.DD_RUM);function o(t){if(t&&t.getInternalContext)return t.getInternalContext(e)}}var tM={},tF=((y={})[_.log]=e0.info,y[_.debug]=e0.debug,y[_.info]=e0.info,y[_.warn]=e0.warn,y[_.error]=e0.error,y),tN=((b={})[tx.cspViolation]=e0.error,b[tx.intervention]=e0.error,b[tx.deprecation]=e0.warn,b);function tI(e,t,r){var n,i=e[t];if("function"!=typeof i){if(!B(t,"on"))return{stop:K};i=K}var o=(n=i,function(){var e,t=I(arguments);M(r,null,[{target:this,parameters:t,onPostCall:function(t){e=t}}]);var i=n.apply(this,t);return e&&M(e,null,[i]),i}),a=function(){if("function"==typeof o)return o.apply(this,arguments)};return e[t]=a,{stop:function(){e[t]===a?e[t]=i:o=i}}}var tL=new WeakMap;function tB(e){var t=e.target,r=e.parameters,n=r[0],i=r[1];tL.set(t,{state:"open",method:String(n).toUpperCase(),url:tv(String(i))})}function tz(e){var t=e.target,r=tL.get(t);r&&(r.isAborted=!0)}function tU(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}var tq=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var r=this.callbacks[e];r&&r.forEach(function(e){return e(t)})},e.prototype.subscribe=function(e,t){var r=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){r.callbacks[e]=r.callbacks[e].filter(function(e){return t!==e})}}},e}(),t$=((x={})[e0.debug]=0,x[e0.info]=1,x[e0.warn]=2,x[e0.error]=3,x);function tH(e,t,r){var n=r.getHandler(),i=Array.isArray(n)?n:[n];return t$[e]>=t$[r.getLevel()]&&N(i,t)}var tV=function(){function e(e,t,r,n){var i=this;this.encoder=e,this.request=t,this.flushController=r,this.messageBytesLimit=n,this.upsertBuffer={},this.flushSubscription=this.flushController.flushObservable.subscribe(function(e){return i.flush(e)})}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.stop=function(){this.flushSubscription.unsubscribe()},e.prototype.flush=function(e){var t,r=L(this.upsertBuffer).join("\n");this.upsertBuffer={};var n=(t=e.reason,N(L(tD),t)),i=n?this.request.sendOnExit:this.request.send;if(n&&this.encoder.isAsync){var o=this.encoder.finishSync();o.outputBytesCount&&i(tW(o,e));var a=[o.pendingData,r].filter(Boolean).join("\n");a&&i({data:a,bytesCount:$(a),flushReason:e.reason})}else r&&this.encoder.write(this.encoder.isEmpty?r:"\n".concat(r)),this.encoder.finish(function(t){i(tW(t,e))})},e.prototype.addOrUpdate=function(e,t){var r=J(e),n=this.encoder.estimateEncodedBytesCount(r);if(n>=this.messageBytesLimit){C.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(t)&&this.remove(t),this.push(r,n,t)},e.prototype.push=function(e,t,r){var n=this;this.flushController.notifyBeforeAddMessage(t),void 0!==r?(this.upsertBuffer[r]=e,this.flushController.notifyAfterAddMessage()):this.encoder.write(this.encoder.isEmpty?e:"\n".concat(e),function(e){n.flushController.notifyAfterAddMessage(e-t)})},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var r=this.encoder.estimateEncodedBytesCount(t);this.flushController.notifyAfterRemoveMessage(r)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e}();function tW(e,t){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding,flushReason:t.reason}}function tG(e,t,r,n,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?tY(e,t,r,{onSuccess:function(){return tZ(0,t,r,n,i)},onFailure:function(){t.queuedPayloads.enqueue(e),function e(t,r,n,i){2===t.transportStatus&&V(function(){tY(t.queuedPayloads.first(),t,r,{onSuccess:function(){t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,tZ(1,t,r,n,i)},onFailure:function(){t.currentBackoffTime=Math.min(6e4,2*t.currentBackoffTime),e(t,r,n,i)}})},t.currentBackoffTime)}(t,r,n,i)}}):t.queuedPayloads.enqueue(e)}function tY(e,t,r,n){var i=n.onSuccess,o=n.onFailure;t.bandwidthMonitor.add(e),r(e,function(r){t.bandwidthMonitor.remove(e),"opaque"!==r.type&&(0===r.status&&!navigator.onLine||408===r.status||429===r.status||r.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:r.status},o()):(t.transportStatus=0,i())})}function tZ(e,t,r,n,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:"Reached max ".concat(n," events size queued for upload: ").concat(3,"MiB"),source:eX.AGENT,startClocks:eI()}),t.queueFullReported=!0);var o=t.queuedPayloads;for(t.queuedPayloads=tK();o.size()>0;)tG(o.dequeue(),t,r,n,i)}function tK(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=3145728}}}var tJ=!1;function tX(e,t,r,n){var i=new XMLHttpRequest;i.open("POST",t,!0),r instanceof Blob&&i.setRequestHeader("Content-Type",r.type),eh(e,i,["loadend"],function(){null==n||n({status:i.status})},{once:!0}),i.send(r)}function tQ(e,t,r,n,i,o){var a=u(e,t),s=r&&u(e,r);function u(e,t){var r,a,s,u=t.endpoint;return new tV(t.encoder,(r=e.batchBytesLimit,a={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add:function(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove:function(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}},queuedPayloads:tK(),queueFullReported:!1},s=function(t,n){(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(e){return!1}})()&&t.bytesCount<r?fetch(u.build("fetch",t),{method:"POST",body:t.data,keepalive:!0,mode:"cors"}).then(R(function(e){return null==n?void 0:n({status:e.status,type:e.type})}),R(function(){tX(e,u.build("xhr",t),t.data,n)})):tX(e,u.build("xhr",t),t.data,n)},{send:function(e){tG(e,a,s,u.trackType,n)},sendOnExit:function(t){(function(e,t,r,n){if(navigator.sendBeacon&&n.bytesCount<r)try{var i=t.build("beacon",n);if(navigator.sendBeacon(i,n.data))return}catch(e){tJ||(tJ=!0,eY(e))}tX(e,t.build("xhr",n),n.data)})(e,u,r,t)}}),function(e){var t,r=e.messagesLimit,n=e.bytesLimit,i=e.durationLimit,o=e.pageExitObservable,a=e.sessionExpireObservable,s=o.subscribe(function(e){return h(e.reason)}),u=a.subscribe(function(){return h("session_expire")}),l=new eu(function(){return function(){s.unsubscribe(),u.unsubscribe()}}),c=0,d=0;function h(e){if(0!==d){var t=d,r=c;d=0,c=0,p(),l.notify({reason:e,messagesCount:t,bytesCount:r})}}function p(){W(t),t=void 0}return{flushObservable:l,get messagesCount(){return d},notifyBeforeAddMessage:function(e){c+e>=n&&h("bytes_limit"),d+=1,c+=e,void 0===t&&(t=V(function(){h("duration_limit")},i))},notifyAfterAddMessage:function(e){void 0===e&&(e=0),c+=e,d>=r?h("messages_limit"):c>=n&&h("bytes_limit")},notifyAfterRemoveMessage:function(e){c-=e,0==(d-=1)&&p()}}}({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageExitObservable:i,sessionExpireObservable:o}),e.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(e,t){void 0===t&&(t=!0),a.add(e),s&&t&&s.add(r.transformMessage?r.transformMessage(e):e)},upsert:function(e,t){a.upsert(e,t),s&&s.upsert(r.transformMessage?r.transformMessage(e):e,t)},stop:function(){a.stop(),null==s||s.stop()}}}function t0(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(r,n){var i=$(r);t+=i,e+=r,n&&n(i)},finish:function(e){e(this.finishSync())},finishSync:function(){var r={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,r},estimateEncodedBytesCount:function(e){return e.length}}}var t1=function(e){var t,r,n,i=function(e){void 0===e&&(e=2);var t=new Map,r=!1;function n(n){if(void 0===n&&(n=0),!r&&0!==e){var i=2===e?3072:16384,o=n;t.forEach(function(e){o+=e.getBytesCount()}),o>i&&(C.warn("Customer data exceeds the recommended ".concat(i/1024,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-threshold-warning")),r=!0)}}return{createDetachedTracker:function(){var e=et(function(){return n(e.getBytesCount())});return e},getOrCreateTracker:function(e){return t.has(e)||t.set(e,et(n)),t.get(e)},setCompressionStatus:function(t){0===e&&(e=t,n())},getCompressionStatus:function(){return e},stop:function(){t.forEach(function(e){return e.stop()}),t.clear()}}}(),o=ec(i.getOrCreateTracker(2)),a=ec(i.getOrCreateTracker(1)),s={tryToInit:function(e){t||(t=e)},update:function(e){t=e,r.notify()},isGranted:function(){return t===ed.GRANTED},observable:r=new eu};function u(){return{view:{referrer:document.referrer,url:window.location.href},context:o.getContext(),user:a.getContext()}}var l=function(e,t,r){var n,i,o=new e4,a=t.observable.subscribe(s);function s(){if(i&&n&&t.isGranted()){a.unsubscribe();var e=r(n,i);o.drain(e)}}return{init:function(e){if(!e){C.error("Missing configuration");return}if(e8()&&(e=z({},e,{clientToken:"empty"})),n=e,i){eJ("DD_LOGS",e);return}var r=function(e){!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&C.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");var t=function(e){var t,r,n,i,o,a,s,u,l,d,h,p,f,g,v,y;if(!e||!e.clientToken){C.error("Client Token is not configured, we will not send any data.");return}if(void 0!==e.sessionSampleRate&&!eU(e.sessionSampleRate)){C.error("Session Sample Rate should be a number between 0 and 100");return}if(void 0!==e.telemetrySampleRate&&!eU(e.telemetrySampleRate)){C.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(void 0!==e.telemetryConfigurationSampleRate&&!eU(e.telemetryConfigurationSampleRate)){C.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}if(void 0!==e.telemetryUsageSampleRate&&!eU(e.telemetryUsageSampleRate)){C.error("Telemetry Usage Sample Rate should be a number between 0 and 100");return}if(void 0!==e.trackingConsent&&!Q(ed,e.trackingConsent)){C.error('Tracking Consent should be either "granted" or "not-granted"');return}return Array.isArray(e.enableExperimentalFeatures)&&function(e){e.forEach(function(e){eP.add(e)})}(e.enableExperimentalFeatures.filter(function(e){return Q(c,e)})),z({beforeSend:e.beforeSend&&j(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:((v=!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat(e9()),r="test";te(t,r,6e4,e);var n=tt(t)===r;return tn(t,e),n}catch(e){return C.error(e),!1}}(((g={}).secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,g.crossSite=!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,g.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(g.domain=function(){if(void 0===m){for(var e="dd_site_test_".concat(e9()),t=window.location.hostname.split("."),r=t.pop();t.length&&!tt(e);)te(e,"test",1e3,{domain:r="".concat(t.pop(),".").concat(r)});tn(e,{domain:r}),m=r}return m}()),g))?void 0:{type:"Cookie",cookieOptions:g})||!e.allowFallbackToLocalStorage||(v=function(){try{var e=e9(),t="".concat("_dd_test_").concat(e);localStorage.setItem(t,e);var r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:"LocalStorage"}:void 0}catch(e){return}}()),v),sessionSampleRate:null!==(t=e.sessionSampleRate)&&void 0!==t?t:100,telemetrySampleRate:null!==(r=e.telemetrySampleRate)&&void 0!==r?r:20,telemetryConfigurationSampleRate:null!==(n=e.telemetryConfigurationSampleRate)&&void 0!==n?n:5,telemetryUsageSampleRate:null!==(i=e.telemetryUsageSampleRate)&&void 0!==i?i:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!==(o=e.trackingConsent)&&void 0!==o?o:ed.GRANTED,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},(a=e.site||eR,s=e.env,u=e.service,l=e.version,d=e.datacenter,h=[],s&&h.push(tk("env",s)),u&&h.push(tk("service",u)),l&&h.push(tk("version",l)),d&&h.push(tk("datacenter",d)),y=L(p={logsEndpointBuilder:tb(e,"logs",h),rumEndpointBuilder:tb(e,"rum",h),sessionReplayEndpointBuilder:tb(e,"replay",h)}).map(function(e){return e.urlPrefix}),a===eR&&y.push("https://".concat(eM,"/")),z({isIntakeUrl:function(e){return f.some(function(t){return 0===e.indexOf(t)})},replica:function(e,t,r){if(e.replica){var n=z({},e,{site:eR,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:tb(n,"logs",r),rumEndpointBuilder:tb(n,"rum",r)};return t.push.apply(t,L(i).map(function(e){return e.urlPrefix})),z({applicationId:e.replica.applicationId},i)}}(e,f=y,h),site:a},p)))}(e),r=tS(e.forwardConsoleLogs,L(_),"Forward Console Logs"),n=tS(e.forwardReports,L(tx),"Forward Reports");if(t&&r&&n)return e.forwardErrorsToLogs&&!N(r,_.error)&&r.push(_.error),z({forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:r,forwardReports:n,requestErrorResponseLengthLimit:32768},t)}(e);r&&(i=r,t.tryToInit(r.trackingConsent),s())},get initConfiguration(){return n},getInternalContext:K,handleLog:function(t,r,n,i){void 0===n&&(n=e()),void 0===i&&(i=eF()),o.add(function(e){return e.handleLog(t,r,n,i)})}}}(u,s,function(t,r){t.storeContextsAcrossPages&&(ef(r,o,tE,2),ef(r,a,tE,1));var n=e(t,r,u,s);return l=z({init:function(e){eJ("DD_LOGS",e)},initConfiguration:t},n),n}),d={};return Object.defineProperty(n=z({version:"5.16.0",onReady:function(e){e()}},{logger:new e3(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l.handleLog.apply(l,e)},i.createDetachedTracker()),init:R(function(e){return l.init(e)}),setTrackingConsent:R(function(e){s.update(e),eZ({type:e$,usage:{feature:"set-tracking-consent",tracking_consent:e}})}),getGlobalContext:R(function(){return o.getContext()}),setGlobalContext:R(function(e){return o.setContext(e)}),setGlobalContextProperty:R(function(e,t){return o.setContextProperty(e,t)}),removeGlobalContextProperty:R(function(e){return o.removeContextProperty(e)}),clearGlobalContext:R(function(){return o.clearContext()}),createLogger:R(function(e,t){return void 0===t&&(t={}),d[e]=new e3(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l.handleLog.apply(l,e)},i.createDetachedTracker(),eo(e),t.handler,t.level,eo(t.context)),d[e]}),getLogger:R(function(e){return d[e]}),getInitConfiguration:R(function(){return en(void 0,l.initConfiguration)}),getInternalContext:R(function(e){return l.getInternalContext(e)}),setUser:R(function(e){var t;(t="object"===er(e))||C.error("Unsupported user:",e),t&&a.setContext(eK(e))}),getUser:R(function(){return a.getContext()}),setUserProperty:R(function(e,t){var r,n=eK(((r={})[e]=t,r))[e];a.setContextProperty(e,n)}),removeUserProperty:R(function(e){return a.removeContextProperty(e)}),clearUser:R(function(){return a.clearContext()})}),"_setDebug",{get:function(){return A},enumerable:!1}),n}(function(e,t,r,n){var i=new tq,o=[];i.subscribe(1,function(e){return eB("logs",e)});var a=function(e){i.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,origin:eX.AGENT,status:e0.error}}),eG("Error reported to customer",{"error.message":e.message})},s=new eu(function(e){var r,n=(r=c.PAGEHIDE,eP.has(r)),i=eh(t,window,[l.VISIBILITY_CHANGE,l.FREEZE,l.PAGE_HIDE],function(t){t.type===l.PAGE_HIDE&&n?e.notify({reason:tD.PAGEHIDE}):t.type===l.VISIBILITY_CHANGE&&"hidden"===document.visibilityState?e.notify({reason:tD.HIDDEN}):t.type===l.FREEZE&&e.notify({reason:tD.FROZEN})},{capture:!0}).stop,o=K;return n||(o=eh(t,window,[l.BEFORE_UNLOAD],function(){e.notify({reason:tD.UNLOADING})},void 0).stop),function(){i(),o()}}),d=!t.sessionStoreStrategyType||e8()||tC()?(m="1"===tA(t)?{}:void 0,{findTrackedSession:function(){return m},expireObservable:new eu}):{findTrackedSession:function(e){var t=g.findActiveSession(e);return t&&"1"===t.trackingType?{id:t.id}:void 0},expireObservable:(g=function(e,t,r,n){var i,o,a,s,u,c,d,h=new eu,f=new eu,m=function(e,t,r){var n,i,o,a,s,u,l=new eu,c=new eu,d="Cookie"===e.type?(s=e.cookieOptions,!function(e){if(!tr(ti)){var t=tr("_dd"),r=tr("_dd_r"),n=tr("_dd_l"),i={};t&&(i.id=t),n&&/^[01]$/.test(n)&&(i.logs=n),r&&/^[012]$/.test(r)&&(i.rum=r),ee(i)||(ta(i),e.persistSession(i))}}(u={isLockEnabled:1===(null!=p?p:(void 0===n&&(n=window),o=n.navigator.userAgent,p=n.chrome||/HeadlessChrome/.test(o)?1:(null===(i=n.navigator.vendor)||void 0===i?void 0:i.indexOf("Apple"))===0||/safari/i.test(o)&&!/chrome|android/i.test(o)?2:n.document.documentMode?0:3)),persistSession:function(e){te(ti,ts(e),9e5,s)},retrieveSession:tl,clearSession:function(){tn(ti,s)}}),u):{isLockEnabled:!1,persistSession:tc,retrieveSession:td,clearSession:th},h=d.clearSession,f=d.retrieveSession,m=G(function(){tf({process:function(e){return x(e)?void 0:{}},after:w},d)},1e3),g=x(a=f())?a:{},v=Z(function(){var e;tf({process:function(n){var i,o,a,s=w(n);return o=(i=r(s[t])).trackingType,a=i.isTracked,s[t]=o,a&&!s.id&&(s.id=e9(),s.created=String(eF())),e=a,s},after:function(t){e&&!k()&&(g=t,l.notify()),g=t}},d)},1e3),y=v.throttled,b=v.cancel;function w(e){var r;return x(e)||(e={}),k()&&((r=e,g.id!==r.id||g[t]!==r[t])?(g={},c.notify()):g=e),e}function k(){return void 0!==g[t]}function x(e){return(void 0===e.created||eF()-Number(e.created)<144e5)&&(void 0===e.expire||eF()<Number(e.expire))}return{expandOrRenewSession:y,expandSession:function(){tf({process:function(e){return k()?w(e):void 0}},d)},getSession:function(){return g},renewObservable:l,expireObservable:c,expire:function(){b(),h(),w({})},stop:function(){Y(m)}}}(e.sessionStoreStrategyType,t,r);tT.push(function(){return m.stop()});var g=new tO(144e5);function v(){return{id:m.getSession().id,trackingType:m.getSession()[t]}}return tT.push(function(){return g.stop()}),m.renewObservable.subscribe(function(){g.add(v(),eN()),h.notify()}),m.expireObservable.subscribe(function(){f.notify(),g.closeActive(eN())}),m.expandOrRenewSession(),g.add(v(),{relative:0,timeStamp:eL()}.relative),n.observable.subscribe(function(){n.isGranted()?m.expandOrRenewSession():m.expire()}),c=function(){n.isGranted()&&m.expandOrRenewSession()},d=eh(e,window,[l.CLICK,l.TOUCH_START,l.KEY_DOWN,l.SCROLL],c,{capture:!0,passive:!0}).stop,tT.push(d),i=e,o=function(){return m.expandSession()},a=function(){"visible"===document.visibilityState&&o()},s=eh(i,document,[l.VISIBILITY_CHANGE],a,void 0).stop,tT.push(s),u=G(a,6e4),tT.push(function(){Y(u)}),{findActiveSession:function(e){return g.find(e)},renewObservable:h,expireObservable:f,expire:m.expire}}(t,"logs",function(e){var r;return{trackingType:r="0"===e||"1"===e?e:tA(t),isTracked:"1"===r}},n)).expireObservable},f=function(e,t,r,n,i){var o,a,s,l,c,d,p,f,m=(o="browser-logs-sdk",l=new eu,c=!N(eV,t.site)&&ez(t.telemetrySampleRate),(a={}).log=c,a[eq]=c&&ez(t.telemetryConfigurationSampleRate),a[e$]=c&&ez(t.telemetryUsageSampleRate),d=a,p={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self},h=function(e){if(d[e.type]){var t,r,n=ei({type:"telemetry",date:eF(),service:o,version:"5.16.0",source:"browser",_dd:{format_version:2},telemetry:ei(e,{runtime_env:p,connectivity:{status:(r=window.navigator).onLine?"connected":"not_connected",interfaces:r.connection&&r.connection.type?[r.connection.type]:void 0,effective_type:null===(t=r.connection)||void 0===t?void 0:t.effectiveType}}),experimental_features:I(eP)},void 0!==s?s():{});l.notify(n),eB("telemetry",n)}},u=eY,z(eW,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(e){s=e},observable:l,enabled:c});m.setContextProvider(function(){var e,t,r,n,o,a;return{application:{id:null===(e=tR())||void 0===e?void 0:e.application_id},session:{id:null===(t=i.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(n=null===(r=tR())||void 0===r?void 0:r.view)||void 0===n?void 0:n.id},action:{id:null===(a=null===(o=tR())||void 0===o?void 0:o.user_action)||void 0===a?void 0:a.id}}});var g=[];if(e8()){var v=e6(),y=m.observable.subscribe(function(e){return v.send("internal_telemetry",e)});g.push(function(){return y.unsubscribe()})}else{var b=tQ(t,{endpoint:t.rumEndpointBuilder,encoder:t0()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:t0()},r,n,i.expireObservable);g.push(function(){return b.stop()});var w=m.observable.subscribe(function(e){return b.add(e,"datad0g.com"===t.site)});g.push(function(){return w.unsubscribe()})}return f={session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent},eZ({type:eq,configuration:z({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports,use_pci_intake:e.usePciIntake},f)}),{telemetry:m,stop:function(){g.forEach(function(e){return e()})}}}(e,t,a,s,d).stop;if(o.push(function(){return f()}),function(e,t){function r(r,n){var i,o,a,s,u,l,c;function d(e){var i={isAborted:n.isAborted};t.notify(0,{rawLogsEvent:{message:"".concat("xhr"===r?"XHR":"Fetch"," error ").concat(n.method," ").concat(n.url),date:n.startClocks.timeStamp,error:{stack:e||"Failed to load"},http:{method:n.method,status_code:n.status,url:n.url},status:e0.error,origin:eX.NETWORK},domainContext:i})}!e.isIntakeUrl(n.url)&&(0===n.status&&"opaque"!==n.responseType||n.status>=500)&&("xhr"in n?d("string"==typeof(i=n.xhr).response?tU(i.response,e):i.response):n.response?(o=n.response,a=d,(s=function(e){try{return e.clone()}catch(e){return}}(o))&&s.body?window.TextDecoder?(u=s.body,l=e.requestErrorResponseLengthLimit,c=function(e,t){e?a("Unable to retrieve response: ".concat(e)):a(t)},function(e,t,r){var n=e.getReader(),i=[],o=0;function a(){if(n.cancel().catch(K),r.collectStreamBody){if(1===i.length)s=i[0];else{s=new Uint8Array(o);var e,a,s,u=0;i.forEach(function(e){s.set(e,u),u+=e.length})}e=s.slice(0,r.bytesLimit),a=s.length>r.bytesLimit}t(void 0,e,a)}(function e(){n.read().then(R(function(t){if(t.done){a();return}r.collectStreamBody&&i.push(t.value),(o+=t.value.length)>r.bytesLimit?a():e()}),R(function(e){return t(e)}))})()}(u,function(e,t,r){if(e)c(e);else{var n=new TextDecoder().decode(t);r&&(n+="..."),c(void 0,n)}},{bytesLimit:l,collectStreamBody:!0})):s.text().then(R(function(t){return a(tU(t,e))}),R(function(e){return a("Unable to retrieve response: ".concat(e))})):a()):n.error&&d(tU(eO(em(n.error)),e)))}e.forwardErrorsToLogs&&((w||(w=new eu(function(t){var r=tI(XMLHttpRequest.prototype,"open",tB).stop,n=tI(XMLHttpRequest.prototype,"send",function(r){(function(e,t,r){var n=e.target,i=tL.get(n);if(i){i.state="start",i.startClocks=eI(),i.isAborted=!1,i.xhr=n;var o=!1,a=tI(n,"onreadystatechange",function(){n.readyState===XMLHttpRequest.DONE&&s()}).stop,s=function(){var e;u(),a(),o||(o=!0,i.state="complete",i.duration=(e=i.startClocks.timeStamp,eF()-e),i.status=n.status,r.notify(z({},i)))},u=eh(t,n,["loadend"],s,void 0).stop;r.notify(i)}})(r,e,t)}).stop,i=tI(XMLHttpRequest.prototype,"abort",tz).stop;return function(){r(),n(),i()}})),w).subscribe(function(e){"complete"===e.state&&r("xhr",e)}),(k||(k=new eu(function(e){if(window.fetch)return tI(window,"fetch",function(t){var r,n,i,o,a,s,u,l;return r=t.parameters,n=t.onPostCall,i=r[0],void 0===(a=(o=r[1])&&o.method)&&i instanceof Request&&(a=i.method),s=void 0!==a?String(a).toUpperCase():"GET",u=i instanceof Request?i.url:tv(String(i)),l={state:"start",init:o,input:i,method:s,startClocks:eI(),url:u},void(e.notify(l),r[0]=l.input,r[1]=l.init,n(function(t){return function(e,t,r){var n=function(t){r.state="resolve","stack"in t||t instanceof Error?(r.status=0,r.isAborted=t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t):"status"in t&&(r.response=t,r.responseType=t.type,r.status=t.status,r.isAborted=!1),e.notify(r)};t.then(R(n),R(n))}(e,t,l)}))}).stop})),k).subscribe(function(e){"resolve"===e.state&&r("fetch",e)}))}(t,i),function(e,t){if(e.forwardErrorsToLogs){var r,n,i,o,a=new eu;(i=(r=n=function(e,t){var r=eC({stackTrace:e,originalError:t,startClocks:eI(),nonErrorPrefix:"Uncaught",source:eX.SOURCE,handling:"unhandled"});a.notify(r)},tI(window,"onerror",function(e){var t,n,i,o,a,s=e.parameters,u=s[0],l=s[1],c=s[2],d=s[3],h=s[4];r(a=h instanceof Error?em(h):{name:("[object String]"===({}).toString.call(u)&&(n=(t=eE.exec(u))[1],i=t[2]),o={name:n,message:i}).name,message:o.message,stack:[{url:l,column:d,line:c}]},null!=h?h:u)})).stop,o=tI(window,"onunhandledrejection",function(e){var t=e.parameters[0].reason||"Empty reason";n(em(t),t)}).stop,{stop:function(){i(),o()}}).stop,a.subscribe(function(e){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:{kind:e.type,stack:e.stack,causes:e.causes},origin:eX.SOURCE,status:e0.error}})})}}(t,i),function(e,t){var r;(r=e.forwardConsoleLogs.map(function(e){return tM[e]||(tM[e]=new eu(function(t){var r=S[e];return S[e]=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r.apply(console,n);var o=function(){var e,t=Error();if(!t.stack)try{throw t}catch(e){}return M(function(){var r=em(t);r.stack=r.stack.slice(2),e=eO(r)}),e}();M(function(){t.notify(function(e,t,r){var n,i,o,a=e.map(function(e){return"string"==typeof e?eo(e):e instanceof Error?eT(em(e)):J(eo(e),void 0,2)}).join(" ");if(t===_.error){var s=function(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(t(n,r))return n}}(e,function(e){return e instanceof Error});n=s?eO(em(s)):void 0,i=ej(s),o=s?eA(s,"console"):void 0}return{api:t,message:a,stack:n,handlingStack:r,fingerprint:i,causes:o}}(n,e,o))})},function(){S[e]=r}})),tM[e]}),el.apply(void 0,r)).subscribe(function(e){t.notify(0,{rawLogsEvent:{date:eF(),message:e.message,origin:eX.CONSOLE,error:e.api===_.error?{stack:e.stack,fingerprint:e.fingerprint,causes:e.causes}:void 0,status:tF[e.api]}})})}(t,i),(v=t.forwardReports,y=[],N(v,tx.cspViolation)&&y.push(new eu(function(e){return eh(t,document,[l.SECURITY_POLICY_VIOLATION],function(t){var r,n,i,o,a,s;e.notify((r=t,a=tx.cspViolation,s="'".concat(r.blockedURI,"' blocked by '").concat(r.effectiveDirective,"' directive"),{type:tx.cspViolation,subtype:r.effectiveDirective,message:"".concat(a,": ").concat(s),stack:t_(r.effectiveDirective,r.originalPolicy?"".concat(s,' of the policy "').concat((o=(i=(n=r.originalPolicy).charCodeAt(99))>=55296&&i<=56319?101:100,n.length<=o?n:"".concat(n.slice(0,o)).concat("...")),'"'):"no policy",r.sourceFile,r.lineNumber,r.columnNumber),originalReport:r}))},void 0).stop})),(b=v.filter(function(e){return e!==tx.cspViolation})).length&&y.push(new eu(function(e){if(window.ReportingObserver){var t=R(function(t,r){return t.forEach(function(t){var r,n;e.notify({type:r=t.type,subtype:(n=t.body).id,message:"".concat(r,": ").concat(n.message),originalReport:t,stack:t_(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})})}),r=new window.ReportingObserver(t,{types:b,buffered:!0});return r.observe(),function(){r.disconnect()}}})),el.apply(void 0,y)).subscribe(function(e){var t,r,n,o=e.message,a=tN[e.type];a===e0.error?n={kind:e.subtype,stack:e.stack}:e.stack&&(o+=" Found in ".concat((t=e.stack,null===(r=/@ (.+)/.exec(t))||void 0===r?void 0:r[1]))),i.notify(0,{rawLogsEvent:{date:eF(),message:o,origin:eX.REPORT,error:n,status:a}})}),x=e2.concat(["custom"]),D={},x.forEach(function(e){var r,n,i;D[e]=(r=t.eventRateLimiterThreshold,n=0,i=!1,{isLimitReached:function(){if(0===n&&V(function(){n=0},6e4),(n+=1)<=r||i)return i=!1,!1;if(n===r+1){i=!0;try{a({message:"Reached max number of ".concat(e,"s by minute: ").concat(r),source:eX.AGENT,startClocks:eI()})}finally{i=!1}}return!0}})}),i.subscribe(0,function(e){var n,o,a=e.rawLogsEvent,s=e.messageContext,u=e.savedCommonContext,l=e.domainContext,c=a.date-eL(),h=d.findTrackedSession(c);if(h){var p=(void 0===u?void 0:u)||r(),f=ei({service:t.service,session_id:h.id,usr:ee(p.user)?void 0:p.user,view:p.view},p.context,tR(c),a,void 0===s?void 0:s);(null===(n=t.beforeSend)||void 0===n?void 0:n.call(t,f,l))===!1||f.origin!==eX.AGENT&&(null!==(o=D[f.status])&&void 0!==o?o:D.custom).isLimitReached()||i.notify(1,f)}}),e8())!function(e){var t=e6();e.subscribe(1,function(e){t.send("log",e)})}(i);else{var m,g,v,y,b,x,D,C,j=(C=tQ(t,{endpoint:t.logsEndpointBuilder,encoder:t0()},t.replica&&{endpoint:t.replica.logsEndpointBuilder,encoder:t0()},a,s,d.expireObservable),i.subscribe(1,function(e){C.add(e)}),C).stop;o.push(function(){return j()})}return{handleLog:function(e,t,r,n){var o=ei(t.getContext(),e.context);tH(e.status,e1.console,t)&&function(e,t){E[e.status].call(S,e.message,t)}(e,o),tH(e.status,e1.http,t)&&i.notify(0,{rawLogsEvent:{date:n||eF(),message:e.message,status:e.status,origin:eX.LOGGER},messageContext:o,savedCommonContext:r})},getInternalContext:function(e){var t=d.findTrackedSession(e);if(t)return{session_id:t.id}},stop:function(){o.forEach(function(e){return e()})}}});s=(o=U())[a="DD_LOGS"],o[a]=t1,s&&s.q&&s.q.forEach(function(e){return j(e,"onReady callback threw an error:")()})},90824:function(e,t,r){"use strict";r.d(t,{AA:function(){return O},AK:function(){return d},F1:function(){return A},HD:function(){return m},IV:function(){return U},Kn:function(){return p},Le:function(){return k},P2:function(){return I},RR:function(){return j},Sm:function(){return P},U7:function(){return D},Vp:function(){return l},W6:function(){return w},WE:function(){return b},Wx:function(){return C},Xh:function(){return L},Y8:function(){return R},c4:function(){return F},cn:function(){return z},cx:function(){return S},jL:function(){return x},jv:function(){return M},kJ:function(){return f},mf:function(){return g},o8:function(){return h},pv:function(){return B},vP:function(){return q},xC:function(){return $},zO:function(){return _},zt:function(){return N}});var n,i,o,a="undefined",s=typeof window!==a,u=[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}],l=1e-7,c={cm:function(e){return 96*e/2.54},mm:function(e){return 96*e/254},in:function(e){return 96*e},pt:function(e){return 96*e/72},pc:function(e){return 96*e/6},"%":function(e,t){return e*t/100},vw:function(e,t){return void 0===t&&(t=window.innerWidth),e/100*t},vh:function(e,t){return void 0===t&&(t=window.innerHeight),e/100*t},vmax:function(e,t){return void 0===t&&(t=Math.max(window.innerWidth,window.innerHeight)),e/100*t},vmin:function(e,t){return void 0===t&&(t=Math.min(window.innerWidth,window.innerHeight)),e/100*t}};function d(e,t,r,n){return(e*n+t*r)/(r+n)}function h(e){return typeof e===a}function p(e){return e&&"object"==typeof e}function f(e){return Array.isArray(e)}function m(e){return"string"==typeof e}function g(e){return"function"==typeof e}function v(e,t,r){if(!e.ignore)return null;var n=t.slice(Math.max(r-3,0),r+3).join("");return new RegExp(e.ignore).exec(n)}function y(e,t){var r,n=m(t)?{separator:t}:t,i=n.separator,o=void 0===i?",":i,a=n.isSeparateFirst,s=n.isSeparateOnlyOpenClose,l=n.isSeparateOpenClose,c=void 0===l?s:l,d=n.openCloseCharacters,h=void 0===d?u:d,p=RegExp("(\\s*"+o+"\\s*|"+h.map(function(e){var t=e.open,r=e.close;return t===r?t:t+"|"+r}).join("|")+"|\\s+)","g"),f=e.split(p).filter(Boolean),g=f.length,y=[],b=[];function w(){return!!b.length&&(y.push(b.join("")),b=[],!0)}for(var k=0;k<g;++k){var x=function(e){var t=f[e].trim(),n=e,i=E(h,function(e){return e.open===t}),u=E(h,function(e){return e.close===t});if(i){if(-1!==(n=function e(t,r,n,i,o){return v(t,r,n)?n:function(t,r,n,i,o){for(var a,s=n;s<i;++s){var u=function(n){var s=r[n].trim();if(s===t.close&&!v(t,r,n))return{value:n};var u=n,l=E(o,function(e){return e.open===s});if(l&&(u=e(l,r,n,i,o)),-1===u)return a=n,"break";a=n=u}(s);if(s=a,"object"==typeof u)return u.value;if("break"===u)break}return -1}(t,r,n+1,i,o)}(i,f,e,g,h))&&c)return w()&&a?(r=e,"break"):(y.push(f.slice(e,n+1).join("")),e=n,a)?(r=e,"break"):(r=e,"continue")}else if(u&&!v(u,f,e))throw Error("invalid format: "+u.close);else if(((""===o||" "==o)&&(""===t||" "==t)||t===o)&&!s)return(w(),a)?(r=e,"break"):(r=e,"continue");-1===n&&(n=g-1),b.push(f.slice(e,n+1).join("")),r=e=n}(k);if(k=r,"break"===x)break}return b.length&&y.push(b.join("")),y}function b(e){return y(e,"")}function w(e){return y(e,",")}function k(e){var t=/([^(]*)\(([\s\S]*)\)([\s\S]*)/g.exec(e);return!t||t.length<4?{}:{prefix:t[1],value:t[2],suffix:t[3]}}function x(e){var t=/^([^\d|e|\-|\+]*)((?:\d|\.|-|e-|e\+)+)(\S*)$/g.exec(e);if(!t)return{prefix:"",unit:"",value:NaN};var r=t[1],n=t[2];return{prefix:r,unit:t[3],value:parseFloat(n)}}function _(){return Date.now?Date.now():new Date().getTime()}function S(e,t,r){void 0===r&&(r=-1);for(var n=e.length,i=0;i<n;++i)if(t(e[i],i,e))return i;return r}function E(e,t,r){var n=S(e,t);return n>-1?e[n]:r}var D=(n=_(),(i=s&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame))?i.bind(window):function(e){var t=_();return window.setTimeout(function(){e(t-n)},1e3/60)}),C=(o=s&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame))?o.bind(window):function(e){clearTimeout(e)};function j(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in t)t.push(r);return t}function O(e,t){var r=x(e),n=r.value,i=r.unit;if(p(t)){var o=t[i];if(o){if(g(o))return o(n);if(c[i])return c[i](n,o)}}else if("%"===i)return n*t/100;return c[i]?c[i](n):n}function T(e,t,r){return[[I(t[0],l),I(t[0]*e[1]/e[0],l)],[I(t[1]*e[0]/e[1],l),I(t[1],l)]].filter(function(e){return e.every(function(e,n){return r?e<=t[n]:e>=t[n]})})[0]||e}function A(e,t,r,n){if(!n)return e.map(function(e,n){return Math.max(t[n],Math.min(e,r[n]))});var i=e[0],o=e[1],a=T(e,t,!1),s=a[0],u=a[1],l=T(e,r,!0),c=l[0],d=l[1];return i<s||o<u?(i=s,o=u):(i>c||o>d)&&(i=c,o=d),[i,o]}function P(e){for(var t=e.length,r=0,n=t-1;n>=0;--n)r+=e[n];return r}function R(e){for(var t=e.length,r=0,n=t-1;n>=0;--n)r+=e[n];return t?r/t:0}function M(e,t){var r=t[0]-e[0],n=Math.atan2(t[1]-e[1],r);return n>=0?n:n+2*Math.PI}function F(e){var t=[0,1].map(function(t){return R(e.map(function(e){return e[t]}))}),r=M(t,e[0]),n=M(t,e[1]);return r<n&&n-r<Math.PI||r>n&&n-r<-Math.PI?1:-1}function N(e,t){return Math.sqrt(Math.pow((t?t[0]:0)-e[0],2)+Math.pow((t?t[1]:0)-e[1],2))}function I(e,t){return t?Math.round(e/t)*t:e}function L(e,t){return e.forEach(function(r,n){e[n]=I(e[n],t)}),e}function B(e,t){return e.classList?e.classList.contains(t):!!e.className.match(RegExp("(\\s|^)"+t+"(\\s|$)"))}function z(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function U(e,t){if(e.classList)e.classList.remove(t);else{var r=RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(r," ")}}function q(e,t,r,n){e.addEventListener(t,r,n)}function $(e,t,r,n){e.removeEventListener(t,r,n)}},25161:function(e,t,r){"use strict";function n(e,t){for(var r=e.length,n=0;n<r;++n)if(t(e[n],n))return!0;return!1}function i(e,t){for(var r=e.length,n=0;n<r;++n)if(t(e[n],n))return e[n];return null}function o(e,t){try{return RegExp(e,"g").exec(t)}catch(e){return null}}function a(e){return e.replace(/_/g,".")}function s(e,t){var r=null,i="-1";return n(e,function(e){var n,s=o("("+e.test+")((?:\\/|\\s|:)([0-9|\\.|_]+))?",t);return!!s&&!e.brand&&((r=e,i=s[3]||"-1",e.versionAlias)?i=e.versionAlias:e.versionTest&&(i=((n=o("("+e.versionTest.toLowerCase()+")((?:\\/|\\s|:)([0-9|\\.|_]+))",t))?n[3]:"")||i),i=a(i),!0)}),{preset:r,version:i}}function u(e,t){var r={brand:"",version:"-1"};return n(e,function(e){var n=l(t,e);return!!n&&(r.brand=e.id,r.version=e.versionAlias||n.version,"-1"!==r.version)}),r}function l(e,t){return i(e,function(e){var r=e.brand;return o(""+t.test,r.toLowerCase())})}var c=[{test:"phantomjs",id:"phantomjs"},{test:"whale",id:"whale"},{test:"edgios|edge|edg",id:"edge"},{test:"msie|trident|windows phone",id:"ie",versionTest:"iemobile|msie|rv"},{test:"miuibrowser",id:"miui browser"},{test:"samsungbrowser",id:"samsung internet"},{test:"samsung",id:"samsung internet",versionTest:"version"},{test:"chrome|crios",id:"chrome"},{test:"firefox|fxios",id:"firefox"},{test:"android",id:"android browser",versionTest:"version"},{test:"safari|iphone|ipad|ipod",id:"safari",versionTest:"version"}],d=[{test:"(?=.*applewebkit/(53[0-7]|5[0-2]|[0-4]))(?=.*\\schrome)",id:"chrome",versionTest:"chrome"},{test:"chromium",id:"chrome"},{test:"whale",id:"chrome",versionAlias:"-1",brand:!0}],h=[{test:"applewebkit",id:"webkit",versionTest:"applewebkit|safari"}],p=[{test:"(?=(iphone|ipad))(?!(.*version))",id:"webview"},{test:"(?=(android|iphone|ipad))(?=.*(naver|daum|; wv))",id:"webview"},{test:"webview",id:"webview"}],f=[{test:"windows phone",id:"windows phone"},{test:"windows 2000",id:"window",versionAlias:"5.0"},{test:"windows nt",id:"window"},{test:"win32|windows",id:"window"},{test:"iphone|ipad|ipod",id:"ios",versionTest:"iphone os|cpu os"},{test:"macos|macintel|mac os x",id:"mac"},{test:"android|linux armv81",id:"android"},{test:"tizen",id:"tizen"},{test:"webos|web0s",id:"webos"}];t.ZP=function(e){return void 0===e&&function(){if("undefined"==typeof navigator||!navigator||!navigator.userAgentData)return!1;var e=navigator.userAgentData,t=e.brands||e.uaList;return!!(t&&t.length)}()?function(e){var t=navigator.userAgentData,r=(t.uaList||t.brands).slice(),o=t.mobile||!1,s=r[0],m=(t.platform||navigator.platform).toLowerCase(),g={name:s.brand,version:s.version,majorVersion:-1,webkit:!1,webkitVersion:"-1",chromium:!1,chromiumVersion:"-1",webview:!!u(p,r).brand},v={name:"unknown",version:"-1",majorVersion:-1};g.webkit=!g.chromium&&n(h,function(e){return l(r,e)});var y=u(d,r);if(g.chromium=!!y.brand,g.chromiumVersion=y.version,!g.chromium){var b=u(h,r);g.webkit=!!b.brand,g.webkitVersion=b.version}var w=i(f,function(e){return RegExp(""+e.test,"g").exec(m)});v.name=w?w.id:"";var k=u(c,r);return k.brand&&(g.name=k.brand,g.version=(0,k.version)),g.webkit&&(v.name=o?"ios":"mac"),"ios"===v.name&&g.webview&&(g.version="-1"),v.version=a(v.version),g.version=a(g.version),v.majorVersion=parseInt(v.version,10),g.majorVersion=parseInt(g.version,10),{browser:g,os:v,isMobile:o,isHints:!0}}():function(e){var t=function(e){var t=e;if(void 0===t){if("undefined"==typeof navigator||!navigator)return"";t=navigator.userAgent||""}return t.toLowerCase()}(e),r=!!/mobi/g.exec(t),n={name:"unknown",version:"-1",majorVersion:-1,webview:!!s(p,t).preset,chromium:!1,chromiumVersion:"-1",webkit:!1,webkitVersion:"-1"},i={name:"unknown",version:"-1",majorVersion:-1},o=s(c,t),a=o.preset,u=o.version,l=s(f,t),m=l.preset,g=l.version,v=s(d,t);if(n.chromium=!!v.preset,n.chromiumVersion=v.version,!n.chromium){var y=s(h,t);n.webkit=!!y.preset,n.webkitVersion=y.version}return m&&(i.name=m.id,i.version=g,i.majorVersion=parseInt(g,10)),a&&(n.name=a.id,n.version=u,n.webview&&"ios"===i.name&&"safari"!==n.name&&(n.webview=!1)),n.majorVersion=parseInt(n.version,10),{browser:n,os:i,isMobile:r,isHints:!1}}(e)}},75004:function(e,t,r){"use strict";r.d(t,{Z:function(){return f},H:function(){return p}});var n,i=function(){function e(){this.keys=[],this.values=[]}var t=e.prototype;return t.get=function(e){return this.values[this.keys.indexOf(e)]},t.set=function(e,t){var r=this.keys,n=this.values,i=r.indexOf(e),o=-1===i?r.length:i;r[o]=e,n[o]=t},e}(),o=function(){function e(){this.object={}}var t=e.prototype;return t.get=function(e){return this.object[e]},t.set=function(e,t){this.object[e]=t},e}(),a="function"==typeof Map,s=function(){function e(){}var t=e.prototype;return t.connect=function(e,t){this.prev=e,this.next=t,e&&(e.next=this),t&&(t.prev=this)},t.disconnect=function(){var e=this.prev,t=this.next;e&&(e.next=t),t&&(t.prev=e)},t.getIndex=function(){for(var e=this,t=-1;e;)e=e.prev,++t;return t},e}(),u=function(){function e(e,t,r,n,i,o,a,s){this.prevList=e,this.list=t,this.added=r,this.removed=n,this.changed=i,this.maintained=o,this.changedBeforeAdded=a,this.fixed=s}var t=e.prototype;return Object.defineProperty(t,"ordered",{get:function(){return this.cacheOrdered||this.caculateOrdered(),this.cacheOrdered},enumerable:!0,configurable:!0}),Object.defineProperty(t,"pureChanged",{get:function(){return this.cachePureChanged||this.caculateOrdered(),this.cachePureChanged},enumerable:!0,configurable:!0}),t.caculateOrdered=function(){var e,t,r,n,i=(e=this.changedBeforeAdded,t=this.fixed,r=[],n=[],e.forEach(function(e){var t=e[0],i=e[1],o=new s;r[t]=o,n[i]=o}),r.forEach(function(e,t){e.connect(r[t-1])}),e.filter(function(e,r){return!t[r]}).map(function(e,t){var i=e[0],o=e[1];if(i===o)return[0,0];var a=r[i],s=n[o-1],u=a.getIndex();return a.disconnect(),s?a.connect(s,s.next):a.connect(void 0,r[0]),[u,a.getIndex()]})),o=this.changed,a=[];this.cacheOrdered=i.filter(function(e,t){var r=e[0],n=e[1],i=o[t],s=i[0],u=i[1];if(r!==n)return a.push([s,u]),!0}),this.cachePureChanged=a},e}();function l(e,t,r){var n=a?Map:r?o:i,s=r||function(e){return e},l=[],c=[],d=[],h=e.map(s),p=t.map(s),f=new n,m=new n,g=[],v=[],y={},b=[],w=0,k=0;return h.forEach(function(e,t){f.set(e,t)}),p.forEach(function(e,t){m.set(e,t)}),h.forEach(function(e,t){var r=m.get(e);void 0===r?(++k,c.push(t)):y[r]=k}),p.forEach(function(e,t){var r=f.get(e);void 0===r?(l.push(t),++w):(d.push([r,t]),k=y[t]||0,g.push([r-k,t-w]),v.push(t===r),r!==t&&b.push([r,t]))}),c.reverse(),new u(e,t,l,c,b,d,g,v)}var c=function(){function e(e,t){void 0===e&&(e=[]),this.findKeyCallback=t,this.list=[].slice.call(e)}return e.prototype.update=function(e){var t=[].slice.call(e),r=l(this.list,t,this.findKeyCallback);return this.list=t,r},e}(),d=function(e,t){return(d=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])})(e,t)},h="function"==typeof Map?void 0:(n=0,function(e){return e.__DIFF_KEY__||(e.__DIFF_KEY__=++n)});function p(e,t){return l(e,t,h)}var f=function(e){function t(t){return void 0===t&&(t=[]),e.call(this,t,h)||this}return!function(e,t){function r(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t}(c)},73222:function(e,t,r){"use strict";r.d(t,{Z:function(){return H}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=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,r),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){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=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]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.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}(),i=Math.abs,o=String.fromCharCode,a=Object.assign;function s(e,t,r){return e.replace(t,r)}function u(e,t){return e.indexOf(t)}function l(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function d(e){return e.length}function h(e,t){return t.push(e),e}var p=1,f=1,m=0,g=0,v=0,y="";function b(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:p,column:f,length:a,return:""}}function w(e,t){return a(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return v=g<m?l(y,g++):0,f++,10===v&&(f=1,p++),v}function x(){return l(y,g)}function _(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 S(e){return p=f=1,m=d(y=e),g=0,[]}function E(e){var t,r;return(t=g-1,r=function e(t){for(;k();)switch(v){case t:return g;case 34:case 39:34!==t&&39!==t&&e(v);break;case 40:41===t&&e(t);break;case 92:k()}return g}(91===e?e+2:40===e?e+1:e),c(y,t,r)).trim()}var D="-ms-",C="-moz-",j="-webkit-",O="comm",T="rule",A="decl",P="@keyframes";function R(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function M(e,t,r,n){switch(e.type){case"@import":case A:return e.return=e.return||e.value;case O:return"";case P:return e.return=e.value+"{"+R(e.children,n)+"}";case T:e.value=e.props.join(",")}return d(r=R(e.children,n))?e.return=e.value+"{"+r+"}":""}function F(e,t,r,n,o,a,u,l,d,h,p){for(var f=o-1,m=0===o?a:[""],g=m.length,v=0,y=0,w=0;v<n;++v)for(var k=0,x=c(e,f+1,f=i(y=u[v])),_=e;k<g;++k)(_=(y>0?m[k]+" "+x:s(x,/&\f/g,m[k])).trim())&&(d[w++]=_);return b(e,t,r,0===o?T:l,d,h,p)}function N(e,t,r,n){return b(e,t,r,A,c(e,0,n),c(e,n+1,-1),n)}var I=function(e,t,r){for(var n=0,i=0;n=i,i=x(),38===n&&12===i&&(t[r]=1),!_(i);)k();return c(y,e,g)},L=function(e,t){var r=-1,n=44;do switch(_(n)){case 0:38===n&&12===x()&&(t[r]=1),e[r]+=I(g-1,t,r);break;case 2:e[r]+=E(n);break;case 4:if(44===n){e[++r]=58===x()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=o(n)}while(n=k());return e},B=function(e,t){var r;return r=L(S(e),t),y="",r},z=new WeakMap,U=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||z.get(r))&&!n){z.set(e,!0);for(var i=[],o=B(t,i),a=r.props,s=0,u=0;s<o.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=i[s]?o[s].replace(/&\f/g,a[l]):a[l]+" "+o[s]}}},q=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},$=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case A:e.return=function e(t,r){switch(45^l(t,0)?(((r<<2^l(t,0))<<2^l(t,1))<<2^l(t,2))<<2^l(t,3):0){case 5103:return j+"print-"+t+t;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 j+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return j+t+C+t+D+t+t;case 6828:case 4268:return j+t+D+t+t;case 6165:return j+t+D+"flex-"+t+t;case 5187:return j+t+s(t,/(\w+).+(:[^]+)/,j+"box-$1$2"+D+"flex-$1$2")+t;case 5443:return j+t+D+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return j+t+D+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return j+t+D+s(t,"shrink","negative")+t;case 5292:return j+t+D+s(t,"basis","preferred-size")+t;case 6060:return j+"box-"+s(t,"-grow","")+j+t+D+s(t,"grow","positive")+t;case 4554:return j+s(t,/([^-])(transform)/g,"$1"+j+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,j+"$1"),/(image-set)/,j+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,j+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,j+"box-pack:$3"+D+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,j+"$1$2")+t;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(d(t)-1-r>6)switch(l(t,r+1)){case 109:if(45!==l(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+C+(108==l(t,r+3)?"$3":"$2-$3"))+t;case 115:return~u(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==l(t,r+1))break;case 6444:switch(l(t,d(t)-3-(~u(t,"!important")&&10))){case 107:return s(t,":",":"+j)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(45===l(t,14)?"inline-":"")+"box$3$1"+j+"$2$3$1"+D+"$2box$3")+t}break;case 5936:switch(l(t,r+11)){case 114:return j+t+D+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return j+t+D+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return j+t+D+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return j+t+D+t+t}return t}(e.value,e.length);break;case P:return R([w(e,{value:s(e.value,"@","@"+j)})],n);case T:if(e.length){var i,o;return i=e.props,o=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return R([w(e,{props:[s(t,/:(read-\w+)/,":"+C+"$1")]})],n);case"::placeholder":return R([w(e,{props:[s(t,/:(plac\w+)/,":"+j+"input-$1")]}),w(e,{props:[s(t,/:(plac\w+)/,":"+C+"$1")]}),w(e,{props:[s(t,/:(plac\w+)/,D+"input-$1")]})],n)}return""},i.map(o).join("")}}}],H=function(e){var t,r,i,a,m,w,D=e.key;if("css"===D){var C=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(C,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var j=e.stylisPlugins||$,T={},A=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+D+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)T[t[r]]=!0;A.push(e)});var P=(r=(t=[U,q].concat(j,[M,(i=function(e){w.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,o){for(var a="",s=0;s<r;s++)a+=t[s](e,n,i,o)||"";return a}),I=function(e){var t,r;return R((r=function e(t,r,n,i,a,m,w,S,D){for(var C,j=0,T=0,A=w,P=0,R=0,M=0,I=1,L=1,B=1,z=0,U="",q=a,$=m,H=i,V=U;L;)switch(M=z,z=k()){case 40:if(108!=M&&58==l(V,A-1)){-1!=u(V+=s(E(z),"&","&\f"),"&\f")&&(B=-1);break}case 34:case 39:case 91:V+=E(z);break;case 9:case 10:case 13:case 32:V+=function(e){for(;v=x();)if(v<33)k();else break;return _(e)>2||_(v)>3?"":" "}(M);break;case 92:V+=function(e,t){for(var r;--t&&k()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return r=g+(t<6&&32==x()&&32==k()),c(y,e,r)}(g-1,7);continue;case 47:switch(x()){case 42:case 47:h(b(C=function(e,t){for(;k();)if(e+v===57)break;else if(e+v===84&&47===x())break;return"/*"+c(y,t,g-1)+"*"+o(47===e?e:k())}(k(),g),r,n,O,o(v),c(C,2,-2),0),D);break;default:V+="/"}break;case 123*I:S[j++]=d(V)*B;case 125*I:case 59:case 0:switch(z){case 0:case 125:L=0;case 59+T:R>0&&d(V)-A&&h(R>32?N(V+";",i,n,A-1):N(s(V," ","")+";",i,n,A-2),D);break;case 59:V+=";";default:if(h(H=F(V,r,n,j,T,a,S,U,q=[],$=[],A),m),123===z){if(0===T)e(V,r,H,H,q,m,A,S,$);else switch(99===P&&110===l(V,3)?100:P){case 100:case 109:case 115:e(t,H,H,i&&h(F(t,H,H,0,0,a,S,U,a,q=[],A),$),a,$,A,S,i?q:$);break;default:e(V,H,H,H,[""],$,0,S,$)}}}j=T=R=0,I=B=1,U=V="",A=w;break;case 58:A=1+d(V),R=M;default:if(I<1){if(123==z)--I;else if(125==z&&0==I++&&125==(v=g>0?l(y,--g):0,f--,10===v&&(f=1,p--),v))continue}switch(V+=o(z),z*I){case 38:B=T>0?1:(V+="\f",-1);break;case 44:S[j++]=(d(V)-1)*B,B=1;break;case 64:45===x()&&(V+=E(k())),P=x(),T=A=d(U=V+=function(e){for(;!_(x());)k();return c(y,e,g)}(g)),z++;break;case 45:45===M&&2==d(V)&&(I=0)}}return m}("",null,null,null,[""],t=S(t=e),0,[0],t),y="",r),P)};m=function(e,t,r,n){w=r,I(e?e+"{"+t.styles+"}":t.styles),n&&(L.inserted[t.name]=!0)};var L={key:D,sheet:new n({key:D,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:T,registered:{},insert:m};return L.sheet.hydrate(A),L}},79003:function(e,t){"use strict";t.Z=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}},86894:function(e,t){"use strict";t.Z=function(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}},94281:function(e,t,r){"use strict";r.d(t,{T:function(){return l},a:function(){return d},w:function(){return u}});var n=r(2784),i=r(73222);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};r(77407),r(82668);var s=(0,n.createContext)("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null);s.Provider;var u=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(s),r)})},l=(0,n.createContext)({}),c=a(function(e){return a(function(t){return"function"==typeof t?t(e):o({},e,t)})}),d=function(e){var t=(0,n.useContext)(l);return e.theme!==t&&(t=c(t)(e.theme)),(0,n.createElement)(l.Provider,{value:t},e.children)}},28165:function(e,t,r){"use strict";r.d(t,{F4:function(){return c},xB:function(){return u}});var n=r(2784);r(73222);var i=r(94281);r(73463);var o=r(82792),a=r(77407),s=r(82668),u=(0,i.w)(function(e,t){var r=e.styles,u=(0,a.O)([r],void 0,(0,n.useContext)(i.T)),l=(0,n.useRef)();return(0,s.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,i=document.querySelector('style[data-emotion="'+e+" "+u.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(n=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),l.current=[r,n],function(){r.flush()}},[t]),(0,s.j)(function(){var e=l.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==u.next&&(0,o.My)(t,u.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",u,r,!1)},[t,u.name]),null});function l(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.O)(t)}var c=function(){var e=l.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},77407:function(e,t,r){"use strict";r.d(t,{O:function(){return m}});var n,i=r(79003),o=r(69409),a=r(86894),s=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},d=(0,a.Z)(function(e){return l(e)?e:e.replace(s,"-$&").toLowerCase()}),h=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===o.Z[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)n={name:i.name,styles:i.styles,next:n},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=p(e,t,r[i])+";";else for(var o in r){var a=r[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":c(a)&&(n+=d(o)+":"+h(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)c(a[s])&&(n+=d(o)+":"+h(o,a[s])+";");else{var u=p(e,t,a);switch(o){case"animation":case"animationName":n+=d(o)+":"+u+";";break;default:n+=o+"{"+u+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var o=n,a=r(e);return n=o,p(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var f=/label:\s*([^\s;\n{]+)\s*(;|$)/g,m=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,a=!0,s="";n=void 0;var u=e[0];null==u||void 0===u.raw?(a=!1,s+=p(r,t,u)):s+=u[0];for(var l=1;l<e.length;l++)s+=p(r,t,e[l]),a&&(s+=u[l]);f.lastIndex=0;for(var c="";null!==(o=f.exec(s));)c+="-"+o[1];return{name:(0,i.Z)(s)+c,styles:s,next:n}}},69409:function(e,t){"use strict";t.Z={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}},82668:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return s}});var n,i=r(2784),o=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,a=o||function(e){return e()},s=o||i.useLayoutEffect},82792:function(e,t,r){"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}r.d(t,{My:function(){return o},fp:function(){return n},hC:function(){return i}});var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},o=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},73731:function(e,t,r){"use strict";function n(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}r.d(t,{kG:function(){return n}})},75413:function(e,t,r){"use strict";function n(e,t){var r=t&&t.cache?t.cache:u,n=t&&t.serializer?t.serializer:a;return(t&&t.strategy?t.strategy:function(e,t){var r,n,a=1===e.length?i:o;return r=t.cache.create(),n=t.serializer,a.bind(this,e,r,n)})(e,{cache:r,serializer:n})}function i(e,t,r,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function o(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}r.d(t,{A:function(){return l},Z:function(){return n}});var a=function(){return JSON.stringify(arguments)};function s(){this.cache=Object.create(null)}s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var u={create:function(){return new s}},l={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,o.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)}}},82614:function(e,t,r){"use strict";r.d(t,{wD:function(){return s},VG:function(){return p},rp:function(){return m},Ii:function(){return x},O4:function(){return h},uf:function(){return f},Wh:function(){return k},Jo:function(){return y},yx:function(){return b},Wi:function(){return v},HI:function(){return w},pe:function(){return g},Qc:function(){return en}});var n,i,o,a,s,u,l,c,d=r(5163);function h(e){return e.type===s.literal}function p(e){return e.type===s.argument}function f(e){return e.type===s.number}function m(e){return e.type===s.date}function g(e){return e.type===s.time}function v(e){return e.type===s.select}function y(e){return e.type===s.plural}function b(e){return e.type===s.pound}function w(e){return e.type===s.tag}function k(e){return!!(e&&"object"==typeof e&&e.type===u.number)}function x(e){return!!(e&&"object"==typeof e&&e.type===u.dateTime)}(n=a||(a={}))[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=s||(s={}))[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(o=u||(u={}))[o.number=0]="number",o[o.dateTime=1]="dateTime";var _=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,S=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,E=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,D=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,C=/^(@+)?(\+|#+)?[rs]?$/g,j=/(\*)(0+)|(#+)(0+)|(0+)/g,O=/^(0+)$/;function T(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(C,function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),t}function A(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function P(e){return A(e)||{}}var R={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]},M=new RegExp("^".concat(_.source,"*")),F=new RegExp("".concat(_.source,"*$"));function N(e,t){return{start:e,end:t}}var I=!!String.prototype.startsWith,L=!!String.fromCodePoint,B=!!Object.fromEntries,z=!!String.prototype.codePointAt,U=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,$=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},H=!0;try{var V=X("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");H=(null===(l=V.exec("a"))||void 0===l?void 0:l[0])==="a"}catch(e){H=!1}var W=I?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},G=L?String.fromCodePoint:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0;i>o;){if((e=t[o++])>1114111)throw RangeError(e+" is not a valid code point");n+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return n},Y=B?Object.fromEntries:function(e){for(var t={},r=0;r<e.length;r++){var n=e[r],i=n[0],o=n[1];t[i]=o}return t},Z=z?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0)&&!(t>=n)){var i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:(i-55296<<10)+(r-56320)+65536}},K=U?function(e){return e.trimStart()}:function(e){return e.replace(M,"")},J=q?function(e){return e.trimEnd()}:function(e){return e.replace(F,"")};function X(e,t){return new RegExp(e,t)}if(H){var Q=X("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");c=function(e,t){var r;return Q.lastIndex=t,null!==(r=Q.exec(e)[1])&&void 0!==r?r:""}}else c=function(e,t){for(var r=[];;){var n,i=Z(e,t);if(void 0===i||er(i)||(n=i)>=33&&n<=35||36===n||n>=37&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||n>=162&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||n>=8208&&n<=8213||n>=8214&&n<=8215||8216===n||8217===n||8218===n||n>=8219&&n<=8220||8221===n||8222===n||8223===n||n>=8224&&n<=8231||n>=8240&&n<=8248||8249===n||8250===n||n>=8251&&n<=8254||n>=8257&&n<=8259||8260===n||8261===n||8262===n||n>=8263&&n<=8273||8274===n||8275===n||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||8608===n||n>=8609&&n<=8610||8611===n||n>=8612&&n<=8613||8614===n||n>=8615&&n<=8621||8622===n||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||8658===n||8659===n||8660===n||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||8968===n||8969===n||8970===n||8971===n||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||9001===n||9002===n||n>=9003&&n<=9083||9084===n||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||9655===n||n>=9656&&n<=9664||9665===n||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||9839===n||n>=9840&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||n>=10132&&n<=10175||n>=10176&&n<=10180||10181===n||10182===n||n>=10183&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||n>=10649&&n<=10711||10712===n||10713===n||10714===n||10715===n||n>=10716&&n<=10747||10748===n||10749===n||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||11158===n||n>=11159&&n<=11263||n>=11776&&n<=11777||11778===n||11779===n||11780===n||11781===n||n>=11782&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||n>=11790&&n<=11798||11799===n||n>=11800&&n<=11801||11802===n||11803===n||11804===n||11805===n||n>=11806&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||n>=11818&&n<=11822||11823===n||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||11840===n||11841===n||11842===n||n>=11843&&n<=11855||n>=11856&&n<=11857||11858===n||n>=11859&&n<=11903||n>=12289&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||n>=12306&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||n>=12318&&n<=12319||12320===n||12336===n||64830===n||64831===n||n>=65093&&n<=65094)break;r.push(i),t+=i>=65536?2:1}return G.apply(void 0,r)};var ee=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){var o=this.parseArgument(e,r);if(o.err)return o;n.push(o.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){var u=this.clonePosition();this.bump(),n.push({type:s.pound,location:N(u,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&et(this.peek()||0)){var o=this.parseTag(e,t);if(o.err)return o;n.push(o.val)}else{var o=this.parseLiteral(e,t);if(o.err)return o;n.push(o.val)}}else{if(!r)return this.error(a.UNMATCHED_CLOSING_TAG,N(this.clonePosition(),this.clonePosition()));break}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:s.literal,value:"<".concat(n,"/>"),location:N(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(a.INVALID_TAG,N(r,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,u=this.clonePosition();if(!this.bumpIf("</"))return this.error(a.UNCLOSED_TAG,N(r,this.clonePosition()));if(this.isEOF()||!et(this.char()))return this.error(a.INVALID_TAG,N(u,this.clonePosition()));var l=this.clonePosition();return n!==this.parseTagName()?this.error(a.UNMATCHED_CLOSING_TAG,N(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:s.tag,value:n,children:o,location:N(r,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,N(u,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i){n+=i;continue}var o=this.tryParseUnquoted(e,t);if(o){n+=o;continue}var a=this.tryParseLeftAngleBracket();if(a){n+=a;continue}break}var u=N(r,this.clonePosition());return{val:{type:s.literal,value:n,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(et(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(r);this.bump()}return G.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),G(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,N(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(a.EMPTY_ARGUMENT,N(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(a.MALFORMED_ARGUMENT,N(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,N(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:s.argument,value:n,location:N(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,N(r,this.clonePosition()));return this.parseArgumentOptions(e,t,n,r);default:return this.error(a.MALFORMED_ARGUMENT,N(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=c(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:N(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,N(o,c));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var m=J(f.val);if(0===m.length)return this.error(a.EXPECT_ARGUMENT_STYLE,N(this.clonePosition(),this.clonePosition()));h={style:m,styleLocation:N(p,this.clonePosition())}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var v=N(n,this.clonePosition());if(h&&W(null==h?void 0:h.style,"::",0)){var y,b=K(h.style.slice(2));if("number"===l){var f=this.parseNumberSkeletonFromString(b,h.styleLocation);if(f.err)return f;return{val:{type:s.number,value:r,location:v,style:f.val},err:null}}if(0===b.length)return this.error(a.EXPECT_DATE_TIME_SKELETON,v);var w=b;this.locale&&(w=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var a=1+(1&o),s=o<2?1:3+(o>>1),u=function(e){var t,r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n=e.language;return"root"!==n&&(t=e.maximize().region),(R[t||""]||R[n||""]||R["".concat(n,"-001")]||R["001"])[0]}(t);for(("H"==u||"k"==u)&&(s=0);s-- >0;)r+="a";for(;a-- >0;)r=u+r}else"J"===i?r+="H":r+=i}return r}(b,this.locale));var m={type:u.dateTime,pattern:w,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?(y={},w.replace(S,function(e){var t=e.length;switch(e[0]){case"G":y.era=4===t?"long":5===t?"narrow":"short";break;case"y":y.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":y.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":y.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":y.weekday=4===t?"short":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");y.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");y.weekday=["short","long","narrow","short"][t-4];break;case"a":y.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":y.hourCycle="h12",y.hour=["numeric","2-digit"][t-1];break;case"H":y.hourCycle="h23",y.hour=["numeric","2-digit"][t-1];break;case"K":y.hourCycle="h11",y.hour=["numeric","2-digit"][t-1];break;case"k":y.hourCycle="h24",y.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":y.minute=["numeric","2-digit"][t-1];break;case"s":y.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":y.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),y):{}};return{val:{type:"date"===l?s.date:s.time,value:r,location:v,style:m},err:null}}return{val:{type:"number"===l?s.number:"date"===l?s.date:s.time,value:r,location:v,style:null!==(i=null==h?void 0:h.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var k=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,N(k,(0,d.pi)({},k)));this.bumpSpace();var x=this.parseIdentifierIfPossible(),_=0;if("select"!==l&&"offset"===x.value){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),x=this.parseIdentifierIfPossible(),_=f.val}var E=this.tryParsePluralOrSelectOptions(e,l,t,x);if(E.err)return E;var g=this.tryParseArgumentClose(n);if(g.err)return g;var D=N(n,this.clonePosition());if("select"===l)return{val:{type:s.select,value:r,options:Y(E.val),location:D},err:null};return{val:{type:s.plural,value:r,options:Y(E.val),offset:_,pluralType:"plural"===l?"cardinal":"ordinal",location:D},err:null};default:return this.error(a.INVALID_ARGUMENT_TYPE,N(o,c))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,N(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,N(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(E).filter(function(e){return e.length>0}),r=[],n=0;n<t.length;n++){var i=t[n].split("/");if(0===i.length)throw Error("Invalid number skeleton");for(var o=i[0],a=i.slice(1),s=0;s<a.length;s++)if(0===a[s].length)throw Error("Invalid number skeleton");r.push({stem:o,options:a})}return r}(e)}catch(e){return this.error(a.INVALID_NUMBER_SKELETON,t)}return{val:{type:u.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},r=0;r<e.length;r++){var n=e[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=(0,d.pi)((0,d.pi)((0,d.pi)({},t),{notation:"scientific"}),n.options.reduce(function(e,t){return(0,d.pi)((0,d.pi)({},e),A(t)||{})},{}));continue;case"engineering":t=(0,d.pi)((0,d.pi)((0,d.pi)({},t),{notation:"engineering"}),n.options.reduce(function(e,t){return(0,d.pi)((0,d.pi)({},e),A(t)||{})},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"integer-width":if(n.options.length>1)throw RangeError("integer-width stems only accept a single optional option");n.options[0].replace(j,function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else if(i&&o)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(O.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(D.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(D,function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});var i=n.options[0];"w"===i?t=(0,d.pi)((0,d.pi)({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=(0,d.pi)((0,d.pi)({},t),T(i)));continue}if(C.test(n.stem)){t=(0,d.pi)((0,d.pi)({},t),T(n.stem));continue}var o=A(n.stem);o&&(t=(0,d.pi)((0,d.pi)({},t),o));var a=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!O.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem);a&&(t=(0,d.pi)((0,d.pi)({},t),a))}return t}(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,s=[],u=new Set,l=n.value,c=n.location;;){if(0===l.length){var d=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=N(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}else break}if(u.has(l))return this.error("select"===t?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,N(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,r);if(f.err)return f;var m=this.tryParseArgumentClose(p);if(m.err)return m;s.push([l,{value:f.val,location:N(p,this.clonePosition())}]),u.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===s.length?this.error("select"===t?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,N(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(a.MISSING_OTHER_CLAUSE,N(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)i=!0,o=10*o+(a-48),this.bump();else break}var s=N(n,this.clonePosition());return i?$(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Z(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(W(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&er(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function et(e){return e>=97&&e<=122||e>=65&&e<=90}function er(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function en(e,t){void 0===t&&(t={});var r=new ee(e,t=(0,d.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(r.err){var n=SyntaxError(a[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,v(t)||y(t))for(var r in t.options)delete t.options[r].location,e(t.options[r].value);else f(t)&&k(t.style)?delete t.style.location:(m(t)||g(t))&&x(t.style)?delete t.style.location:w(t)&&e(t.children)})}(r.val),r.val}},40283:function(e,t,r){"use strict";r.d(t,{$6:function(){return h},OV:function(){return u},Qe:function(){return c},Rw:function(){return a},X9:function(){return d},bc:function(){return i},gb:function(){return l},wI:function(){return s}});var n,i,o=r(5163);(n=i||(i={})).FORMAT_ERROR="FORMAT_ERROR",n.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",n.INVALID_CONFIG="INVALID_CONFIG",n.MISSING_DATA="MISSING_DATA",n.MISSING_TRANSLATION="MISSING_TRANSLATION";var a=function(e){function t(r,n,i){var o=this,a=i?i instanceof Error?i:Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return(0,o.ZT)(t,e),t}(Error),s=function(e){function t(t,r){return e.call(this,i.UNSUPPORTED_FORMATTER,t,r)||this}return(0,o.ZT)(t,e),t}(a),u=function(e){function t(t,r){return e.call(this,i.INVALID_CONFIG,t,r)||this}return(0,o.ZT)(t,e),t}(a),l=function(e){function t(t,r){return e.call(this,i.MISSING_DATA,t,r)||this}return(0,o.ZT)(t,e),t}(a),c=function(e){function t(t,r,n){return e.call(this,i.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),n)||this}return(0,o.ZT)(t,e),t}(a),d=function(e){function t(t,r,n,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,i)||this;return o.descriptor=n,o}return(0,o.ZT)(t,e),t}(c),h=function(e){function t(t,r){var n=e.call(this,i.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return n.descriptor=t,n}return(0,o.ZT)(t,e),t}(a)},32428:function(e,t,r){"use strict";r.d(t,{L6:function(){return s},Sn:function(){return l},TB:function(){return h},Z0:function(){return u},ax:function(){return d}});var n=r(5163),i=r(77481),o=r(75413),a=r(40283);function s(e,t,r){return void 0===r&&(r={}),t.reduce(function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t},{})}var u={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function l(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function c(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function d(e){void 0===e&&(e=l());var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,a=Intl.DisplayNames,s=(0,o.Z)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,n.ev)([void 0],t,!1)))},{cache:c(e.dateTime),strategy:o.A.variadic}),u=(0,o.Z)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,n.ev)([void 0],t,!1)))},{cache:c(e.number),strategy:o.A.variadic}),d=(0,o.Z)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,n.ev)([void 0],t,!1)))},{cache:c(e.pluralRules),strategy:o.A.variadic});return{getDateTimeFormat:s,getNumberFormat:u,getMessageFormat:(0,o.Z)(function(e,t,r,o){return new i.C(e,t,r,(0,n.pi)({formatters:{getNumberFormat:u,getDateTimeFormat:s,getPluralRules:d}},o||{}))},{cache:c(e.message),strategy:o.A.variadic}),getRelativeTimeFormat:(0,o.Z)(function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,(0,n.ev)([void 0],e,!1)))},{cache:c(e.relativeTime),strategy:o.A.variadic}),getPluralRules:d,getListFormat:(0,o.Z)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,(0,n.ev)([void 0],e,!1)))},{cache:c(e.list),strategy:o.A.variadic}),getDisplayNames:(0,o.Z)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(a.bind.apply(a,(0,n.ev)([void 0],e,!1)))},{cache:c(e.displayNames),strategy:o.A.variadic})}}function h(e,t,r,n){var i,o=e&&e[t];if(o&&(i=o[r]),i)return i;n(new a.wI("No ".concat(t," format named: ").concat(r)))}},49929:function(e,t,r){"use strict";r.d(t,{G:function(){return y}});var n=r(81674),i=r(13980),o=r.n(i),a=r(2784);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e){return(l="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})(e)}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return h(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function p(e){var t;return(t=e-0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)}var f=["style"],m=!1;try{m=!0}catch(e){}function g(e){return e&&"object"===l(e)&&e.prefix&&e.iconName&&e.icon?e:n.Qc.icon?n.Qc.icon(e):null===e?null:e&&"object"===l(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function v(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?c({},e,t):{}}var y=a.forwardRef(function(e,t){var r,i,o,a,s,l,h,p,f,w,k,x,_,S,E,D,C,j,O,T=e.icon,A=e.mask,P=e.symbol,R=e.className,M=e.title,F=e.titleId,N=e.maskId,I=g(T),L=v("classes",[].concat(d((i=e.beat,o=e.fade,a=e.beatFade,s=e.bounce,l=e.shake,h=e.flash,p=e.spin,f=e.spinPulse,w=e.spinReverse,k=e.pulse,x=e.fixedWidth,_=e.inverse,S=e.border,E=e.listItem,D=e.flip,C=e.size,j=e.rotation,O=e.pull,Object.keys((c(r={"fa-beat":i,"fa-fade":o,"fa-beat-fade":a,"fa-bounce":s,"fa-shake":l,"fa-flash":h,"fa-spin":p,"fa-spin-reverse":w,"fa-spin-pulse":f,"fa-pulse":k,"fa-fw":x,"fa-inverse":_,"fa-border":S,"fa-li":E,"fa-flip":!0===D,"fa-flip-horizontal":"horizontal"===D||"both"===D,"fa-flip-vertical":"vertical"===D||"both"===D},"fa-".concat(C),null!=C),c(r,"fa-rotate-".concat(j),null!=j&&0!==j),c(r,"fa-pull-".concat(O),null!=O),c(r,"fa-swap-opacity",e.swapOpacity),r)).map(function(e){return r[e]?e:null}).filter(function(e){return e}))),d(R.split(" ")))),B=v("transform","string"==typeof e.transform?n.Qc.transform(e.transform):e.transform),z=v("mask",g(A)),U=(0,n.qv)(I,u(u(u(u({},L),B),z),{},{symbol:P,title:M,titleId:F,maskId:N}));if(!U)return!function(){if(!m&&console&&"function"==typeof console.error){var e;(e=console).error.apply(e,arguments)}}("Could not find icon",I),null;var q=U.abstract,$={ref:t};return Object.keys(e).forEach(function(t){y.defaultProps.hasOwnProperty(t)||($[t]=e[t])}),b(q[0],$)});y.displayName="FontAwesomeIcon",y.propTypes={beat:o().bool,border:o().bool,beatFade:o().bool,bounce:o().bool,className:o().string,fade:o().bool,flash:o().bool,mask:o().oneOfType([o().object,o().array,o().string]),maskId:o().string,fixedWidth:o().bool,inverse:o().bool,flip:o().oneOf([!0,!1,"horizontal","vertical","both"]),icon:o().oneOfType([o().object,o().array,o().string]),listItem:o().bool,pull:o().oneOf(["right","left"]),pulse:o().bool,rotation:o().oneOf([0,90,180,270]),shake:o().bool,size:o().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:o().bool,spinPulse:o().bool,spinReverse:o().bool,symbol:o().oneOfType([o().bool,o().string]),title:o().string,titleId:o().string,transform:o().oneOfType([o().string,o().object]),swapOpacity:o().bool},y.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var b=(function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof r)return r;var i=(r.children||[]).map(function(r){return e(t,r)}),o=Object.keys(r.attributes||{}).reduce(function(e,t){var n=r.attributes[t];switch(t){case"class":e.attrs.className=n,delete r.attributes.class;break;case"style":e.attrs.style=n.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var r=t.indexOf(":"),n=p(t.slice(0,r)),i=t.slice(r+1).trim();return n.startsWith("webkit")?e[n.charAt(0).toUpperCase()+n.slice(1)]=i:e[n]=i,e},{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=n:e.attrs[p(t)]=n}return e},{attrs:{}}),a=n.style,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(n,f);return o.attrs.style=u(u({},o.attrs.style),void 0===a?{}:a),t.apply(void 0,[r.tag,u(u({},o.attrs),s)].concat(d(i)))}).bind(null,a.createElement)},95374:function(e,t,r){"use strict";r.d(t,{ZP:function(){return s}});var n=r(17578),i=r(2784);let{useSyncExternalStoreWithSelector:o}=r(41110),a=e=>{let t="function"==typeof e?(0,n.Z)(e):e,r=(e,r)=>(function(e,t=e.getState,r){let n=o(e.subscribe,e.getState,e.getServerState||e.getState,t,r);return(0,i.useDebugValue)(n),n})(t,e,r);return Object.assign(r,t),r};var s=e=>e?a(e):a},17578:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});let n=e=>{let t;let r=new Set,n=(e,n)=>{let i="function"==typeof e?e(t):e;if(i!==t){let e=t;t=(null!=n?n:"object"!=typeof i)?i:Object.assign({},t,i),r.forEach(r=>r(t,e))}},i=()=>t,o={setState:n,getState:i,subscribe:e=>(r.add(e),()=>r.delete(e)),destroy:()=>r.clear()};return t=e(n,i,o),o},i=e=>e?n(e):n},80098:function(e,t,r){"use strict";function n(e){return e?(e.nodeName||"").toLowerCase():null}r.d(t,{Z:function(){return n}})},33189:function(e,t,r){"use strict";function n(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}r.d(t,{Z:function(){return n}})},48555:function(e,t,r){"use strict";r.d(t,{Re:function(){return o},Zq:function(){return a},kK:function(){return i}});var n=r(33189);function i(e){var t=(0,n.Z)(e).Element;return e instanceof t||e instanceof Element}function o(e){var t=(0,n.Z)(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function a(e){if("undefined"==typeof ShadowRoot)return!1;var t=(0,n.Z)(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}},51414:function(e,t,r){"use strict";var n=r(80098),i=r(48555);t.Z={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},o=t.attributes[e]||{},a=t.elements[e];(0,i.Re)(a)&&(0,n.Z)(a)&&(Object.assign(a.style,r),Object.keys(o).forEach(function(e){var t=o[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],a=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});(0,i.Re)(o)&&(0,n.Z)(o)&&(Object.assign(o.style,s),Object.keys(a).forEach(function(e){o.removeAttribute(e)}))})}},requires:["computeStyles"]}},62465:function(e,t,r){"use strict";r.d(t,{fi:function(){return ea}});var n,i,o,a,s,u=r(48555),l=Math.max,c=Math.min,d=Math.round;function h(e,t){void 0===t&&(t=!1);var r=e.getBoundingClientRect(),n=1,i=1;if((0,u.Re)(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(n=d(r.width)/a||1),o>0&&(i=d(r.height)/o||1)}return{width:r.width/n,height:r.height/i,top:r.top/i,right:r.right/n,bottom:r.bottom/i,left:r.left/n,x:r.left/n,y:r.top/i}}var p=r(33189);function f(e){var t=(0,p.Z)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}var m=r(80098);function g(e){return(((0,u.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}function v(e){return h(g(e)).left+f(e).scrollLeft}function y(e){return(0,p.Z)(e).getComputedStyle(e)}function b(e){var t=y(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function w(e){var t=h(e),r=e.offsetWidth,n=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-n)&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function k(e){return"html"===(0,m.Z)(e)?e:e.assignedSlot||e.parentNode||((0,u.Zq)(e)?e.host:null)||g(e)}function x(e,t){void 0===t&&(t=[]);var r,n=function e(t){return["html","body","#document"].indexOf((0,m.Z)(t))>=0?t.ownerDocument.body:(0,u.Re)(t)&&b(t)?t:e(k(t))}(e),i=n===(null==(r=e.ownerDocument)?void 0:r.body),o=(0,p.Z)(n),a=i?[o].concat(o.visualViewport||[],b(n)?n:[]):n,s=t.concat(a);return i?s:s.concat(x(k(a)))}function _(e){return(0,u.Re)(e)&&"fixed"!==y(e).position?e.offsetParent:null}function S(e){for(var t,r=(0,p.Z)(e),n=_(e);n&&(t=n,["table","td","th"].indexOf((0,m.Z)(t))>=0)&&"static"===y(n).position;)n=_(n);return n&&("html"===(0,m.Z)(n)||"body"===(0,m.Z)(n)&&"static"===y(n).position)?r:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,u.Re)(e)&&"fixed"===y(e).position)return null;for(var r=k(e);(0,u.Re)(r)&&0>["html","body"].indexOf((0,m.Z)(r));){var n=y(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||r}var E="bottom",D="right",C="left",j="auto",O=["top",E,D,C],T="start",A="viewport",P="popper",R=O.reduce(function(e,t){return e.concat([t+"-"+T,t+"-end"])},[]),M=[].concat(O,[j]).reduce(function(e,t){return e.concat([t,t+"-"+T,t+"-end"])},[]),F=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],N={placement:"bottom",modifiers:[],strategy:"absolute"};function I(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var L={passive:!0};function B(e){return e.split("-")[0]}function z(e){return e.split("-")[1]}function U(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function q(e){var t,r=e.reference,n=e.element,i=e.placement,o=i?B(i):null,a=i?z(i):null,s=r.x+r.width/2-n.width/2,u=r.y+r.height/2-n.height/2;switch(o){case"top":t={x:s,y:r.y-n.height};break;case E:t={x:s,y:r.y+r.height};break;case D:t={x:r.x+r.width,y:u};break;case C:t={x:r.x-n.width,y:u};break;default:t={x:r.x,y:r.y}}var l=o?U(o):null;if(null!=l){var c="y"===l?"height":"width";switch(a){case T:t[l]=t[l]-(r[c]/2-n[c]/2);break;case"end":t[l]=t[l]+(r[c]/2-n[c]/2)}}return t}var $={top:"auto",right:"auto",bottom:"auto",left:"auto"};function H(e){var t,r,n,i,o,a=e.popper,s=e.popperRect,u=e.placement,l=e.variation,c=e.offsets,h=e.position,f=e.gpuAcceleration,m=e.adaptive,v=e.roundOffsets,b=e.isFixed,w=!0===v?(t=c.x,r=c.y,{x:d(t*(n=window.devicePixelRatio||1))/n||0,y:d(r*n)/n||0}):"function"==typeof v?v(c):c,k=w.x,x=void 0===k?0:k,_=w.y,j=void 0===_?0:_,O=c.hasOwnProperty("x"),T=c.hasOwnProperty("y"),A=C,P="top",R=window;if(m){var M=S(a),F="clientHeight",N="clientWidth";M===(0,p.Z)(a)&&"static"!==y(M=g(a)).position&&"absolute"===h&&(F="scrollHeight",N="scrollWidth"),("top"===u||(u===C||u===D)&&"end"===l)&&(P=E,j-=(b&&R.visualViewport?R.visualViewport.height:M[F])-s.height,j*=f?1:-1),(u===C||("top"===u||u===E)&&"end"===l)&&(A=D,x-=(b&&R.visualViewport?R.visualViewport.width:M[N])-s.width,x*=f?1:-1)}var I=Object.assign({position:h},m&&$);return f?Object.assign({},I,((o={})[P]=T?"0":"",o[A]=O?"0":"",o.transform=1>=(R.devicePixelRatio||1)?"translate("+x+"px, "+j+"px)":"translate3d("+x+"px, "+j+"px, 0)",o)):Object.assign({},I,((i={})[P]=T?j+"px":"",i[A]=O?x+"px":"",i.transform="",i))}var V=r(51414),W={left:"right",right:"left",bottom:"top",top:"bottom"};function G(e){return e.replace(/left|right|bottom|top/g,function(e){return W[e]})}var Y={start:"end",end:"start"};function Z(e){return e.replace(/start|end/g,function(e){return Y[e]})}function K(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&(0,u.Zq)(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function J(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function X(e,t){var r,n,i,o,a,s,c,d,m,b,w,k,x,_,S,E,D;return t===A?J((r=(0,p.Z)(e),n=g(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,c=0,i&&(o=i.width,a=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,c=i.offsetTop)),{width:o,height:a,x:s+v(e),y:c})):(0,u.kK)(t)?((d=h(t)).top=d.top+t.clientTop,d.left=d.left+t.clientLeft,d.bottom=d.top+t.clientHeight,d.right=d.left+t.clientWidth,d.width=t.clientWidth,d.height=t.clientHeight,d.x=d.left,d.y=d.top,d):J((m=g(e),w=g(m),k=f(m),x=null==(b=m.ownerDocument)?void 0:b.body,_=l(w.scrollWidth,w.clientWidth,x?x.scrollWidth:0,x?x.clientWidth:0),S=l(w.scrollHeight,w.clientHeight,x?x.scrollHeight:0,x?x.clientHeight:0),E=-k.scrollLeft+v(m),D=-k.scrollTop,"rtl"===y(x||w).direction&&(E+=l(w.clientWidth,x?x.clientWidth:0)-_),{width:_,height:S,x:E,y:D}))}function Q(){return{top:0,right:0,bottom:0,left:0}}function ee(e){return Object.assign({},Q(),e)}function et(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function er(e,t){void 0===t&&(t={});var r,n,i,o,a,s,d,p,f,v=t,b=v.placement,w=void 0===b?e.placement:b,_=v.boundary,C=v.rootBoundary,j=v.elementContext,T=void 0===j?P:j,R=v.altBoundary,M=v.padding,F=void 0===M?0:M,N=ee("number"!=typeof F?F:et(F,O)),I=e.rects.popper,L=e.elements[void 0!==R&&R?T===P?"reference":P:T],B=(r=(0,u.kK)(L)?L:L.contextElement||g(e.elements.popper),n=void 0===_?"clippingParents":_,i=void 0===C?A:C,p=(d=[].concat("clippingParents"===n?(o=x(k(r)),s=(a=["absolute","fixed"].indexOf(y(r).position)>=0)&&(0,u.Re)(r)?S(r):r,(0,u.kK)(s)?o.filter(function(e){return(0,u.kK)(e)&&K(e,s)&&"body"!==(0,m.Z)(e)&&(!a||"static"!==y(e).position)}):[]):[].concat(n),[i]))[0],(f=d.reduce(function(e,t){var n=X(r,t);return e.top=l(n.top,e.top),e.right=c(n.right,e.right),e.bottom=c(n.bottom,e.bottom),e.left=l(n.left,e.left),e},X(r,p))).width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f),z=h(e.elements.reference),U=q({reference:z,element:I,strategy:"absolute",placement:w}),$=J(Object.assign({},I,U)),H=T===P?$:z,V={top:B.top-H.top+N.top,bottom:H.bottom-B.bottom+N.bottom,left:B.left-H.left+N.left,right:H.right-B.right+N.right},W=e.modifiersData.offset;if(T===P&&W){var G=W[w];Object.keys(V).forEach(function(e){var t=[D,E].indexOf(e)>=0?1:-1,r=["top",E].indexOf(e)>=0?"y":"x";V[e]+=G[r]*t})}return V}function en(e,t,r){return l(e,c(t,r))}function ei(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 eo(e){return["top",D,E,C].some(function(t){return e[t]>=0})}var ea=(o=void 0===(i=(n={defaultModifiers:[{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,u=(0,p.Z)(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(e){e.addEventListener("scroll",r.update,L)}),s&&u.addEventListener("resize",r.update,L),function(){o&&l.forEach(function(e){e.removeEventListener("scroll",r.update,L)}),s&&u.removeEventListener("resize",r.update,L)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=q({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=r.adaptive,o=r.roundOffsets,a=void 0===o||o,s={placement:B(t.placement),variation:z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===n||n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,H(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===i||i,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,H(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},V.Z,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=void 0===i?[0,0]:i,a=M.reduce(function(e,r){var n,i,a,s,u,l;return e[r]=(n=t.rects,a=[C,"top"].indexOf(i=B(r))>=0?-1:1,u=(s="function"==typeof o?o(Object.assign({},n,{placement:r})):o)[0],l=s[1],u=u||0,l=(l||0)*a,[C,D].indexOf(i)>=0?{x:l,y:u}:{x:u,y:l}),e},{}),s=a[t.placement],u=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=a}},{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,l=r.padding,c=r.boundary,d=r.rootBoundary,h=r.altBoundary,p=r.flipVariations,f=void 0===p||p,m=r.allowedAutoPlacements,g=t.options.placement,v=B(g)===g,y=u||(v||!f?[G(g)]:function(e){if(B(e)===j)return[];var t=G(e);return[Z(e),t,Z(t)]}(g)),b=[g].concat(y).reduce(function(e,r){var n,i,o,a,s,u,h,p,g,v,y,b;return e.concat(B(r)===j?(i=(n={placement:r,boundary:c,rootBoundary:d,padding:l,flipVariations:f,allowedAutoPlacements:m}).placement,o=n.boundary,a=n.rootBoundary,s=n.padding,u=n.flipVariations,p=void 0===(h=n.allowedAutoPlacements)?M:h,0===(y=(v=(g=z(i))?u?R:R.filter(function(e){return z(e)===g}):O).filter(function(e){return p.indexOf(e)>=0})).length&&(y=v),Object.keys(b=y.reduce(function(e,r){return e[r]=er(t,{placement:r,boundary:o,rootBoundary:a,padding:s})[B(r)],e},{})).sort(function(e,t){return b[e]-b[t]})):r)},[]),w=t.rects.reference,k=t.rects.popper,x=new Map,_=!0,S=b[0],A=0;A<b.length;A++){var P=b[A],F=B(P),N=z(P)===T,I=["top",E].indexOf(F)>=0,L=I?"width":"height",U=er(t,{placement:P,boundary:c,rootBoundary:d,altBoundary:h,padding:l}),q=I?N?D:C:N?E:"top";w[L]>k[L]&&(q=G(q));var $=G(q),H=[];if(o&&H.push(U[F]<=0),s&&H.push(U[q]<=0,U[$]<=0),H.every(function(e){return e})){S=P,_=!1;break}x.set(P,H)}if(_)for(var V=f?3:1,W=function(e){var t=b.find(function(t){var r=x.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},Y=V;Y>0&&"break"!==W(Y);Y--);t.placement!==S&&(t.modifiersData[n]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=r.altAxis,a=r.boundary,s=r.rootBoundary,u=r.altBoundary,d=r.padding,h=r.tether,p=void 0===h||h,f=r.tetherOffset,m=void 0===f?0:f,g=er(t,{boundary:a,rootBoundary:s,padding:d,altBoundary:u}),v=B(t.placement),y=z(t.placement),b=!y,k=U(v),x="x"===k?"y":"x",_=t.modifiersData.popperOffsets,j=t.rects.reference,O=t.rects.popper,A="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,P="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(_){if(void 0===i||i){var F,N="y"===k?"top":C,I="y"===k?E:D,L="y"===k?"height":"width",q=_[k],$=q+g[N],H=q-g[I],V=p?-O[L]/2:0,W=y===T?j[L]:O[L],G=y===T?-O[L]:-j[L],Y=t.elements.arrow,Z=p&&Y?w(Y):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Q(),J=K[N],X=K[I],ee=en(0,j[L],Z[L]),et=b?j[L]/2-V-ee-J-P.mainAxis:W-ee-J-P.mainAxis,ei=b?-j[L]/2+V+ee+X+P.mainAxis:G+ee+X+P.mainAxis,eo=t.elements.arrow&&S(t.elements.arrow),ea=eo?"y"===k?eo.clientTop||0:eo.clientLeft||0:0,es=null!=(F=null==R?void 0:R[k])?F:0,eu=en(p?c($,q+et-es-ea):$,q,p?l(H,q+ei-es):H);_[k]=eu,M[k]=eu-q}if(void 0!==o&&o){var el,ec,ed="x"===k?"top":C,eh="x"===k?E:D,ep=_[x],ef="y"===x?"height":"width",em=ep+g[ed],eg=ep-g[eh],ev=-1!==["top",C].indexOf(v),ey=null!=(ec=null==R?void 0:R[x])?ec:0,eb=ev?em:ep-j[ef]-O[ef]-ey+P.altAxis,ew=ev?ep+j[ef]+O[ef]-ey-P.altAxis:eg,ek=p&&ev?(el=en(eb,ep,ew))>ew?ew:el:en(p?eb:em,ep,p?ew:eg);_[x]=ek,M[x]=ek-ep}t.modifiersData[n]=M}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r,n=e.state,i=e.name,o=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,u=B(n.placement),l=U(u),c=[C,D].indexOf(u)>=0?"height":"width";if(a&&s){var d=ee("number"!=typeof(t="function"==typeof(t=o.padding)?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:et(t,O)),h=w(a),p="y"===l?"top":C,f="y"===l?E:D,m=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],v=S(a),y=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=d[p],k=y-h[c]-d[f],x=y/2-h[c]/2+(m/2-g/2),_=en(b,x,k);n.modifiersData[i]=((r={})[l]=_,r.centerOffset=_-x,r)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&K(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=er(t,{elementContext:"reference"}),s=er(t,{altBoundary:!0}),u=ei(a,n),l=ei(s,i,o),c=eo(u),d=eo(l);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:i,s=void 0===(a=n.defaultOptions)?N:a,function(e,t,r){void 0===r&&(r=s);var n,i,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},N,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,y={state:a,setOptions:function(r){var n,i,c,d,h,p="function"==typeof r?r(a.options):r;k(),a.options=Object.assign({},s,a.options,p),a.scrollParents={reference:(0,u.kK)(e)?x(e):e.contextElement?x(e.contextElement):[],popper:x(t)};var f=(i=Object.keys(n=[].concat(o,a.options.modifiers).reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{})).map(function(e){return n[e]}),c=new Map,d=new Set,h=[],i.forEach(function(e){c.set(e.name,e)}),i.forEach(function(e){d.has(e.name)||function e(t){d.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!d.has(t)){var r=c.get(t);r&&e(r)}}),h.push(t)}(e)}),F.reduce(function(e,t){return e.concat(h.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=f.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=e.effect;if("function"==typeof n){var i=n({state:a,name:t,instance:y,options:void 0===r?{}:r});l.push(i||function(){})}}),y.update()},forceUpdate:function(){if(!c){var e,t,r,n,i,o,s,l,k,x,_,E,D=a.elements,C=D.reference,j=D.popper;if(I(C,j)){a.rects={reference:(t=S(j),r="fixed"===a.options.strategy,n=(0,u.Re)(t),l=(0,u.Re)(t)&&(o=d((i=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=d(i.height)/t.offsetHeight||1,1!==o||1!==s),k=g(t),x=h(C,l),_={scrollLeft:0,scrollTop:0},E={x:0,y:0},(n||!n&&!r)&&(("body"!==(0,m.Z)(t)||b(k))&&(_=(e=t)!==(0,p.Z)(e)&&(0,u.Re)(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:f(e)),(0,u.Re)(t)?(E=h(t,!0),E.x+=t.clientLeft,E.y+=t.clientTop):k&&(E.x=v(k))),{x:x.left+_.scrollLeft-E.x,y:x.top+_.scrollTop-E.y,width:x.width,height:x.height}),popper:w(j)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var O=0;O<a.orderedModifiers.length;O++){if(!0===a.reset){a.reset=!1,O=-1;continue}var T=a.orderedModifiers[O],A=T.fn,P=T.options,R=void 0===P?{}:P,M=T.name;"function"==typeof A&&(a=A({state:a,options:R,name:M,instance:y})||a)}}}},update:(n=function(){return new Promise(function(e){y.forceUpdate(),e(a)})},function(){return i||(i=new Promise(function(e){Promise.resolve().then(function(){i=void 0,e(n())})})),i}),destroy:function(){k(),c=!0}};if(!I(e,t))return y;function k(){l.forEach(function(e){return e()}),l=[]}return y.setOptions(r).then(function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)}),y})},58125:function(e,t,r){"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[$]}function o(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===H}(e)||Array.isArray(e)||!!e[q]||!!e.constructor[q]||d(e)||h(e))}function a(e,t,r){void 0===r&&(r=!1),0===s(e)?(r?Object.keys:V)(e).forEach(function(n){r&&"symbol"==typeof n||t(n,e[n],e)}):e.forEach(function(r,n){return t(n,r,e)})}function s(e){var t=e[$];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:h(e)?3:0}function u(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t,r){var n=s(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function c(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return L&&e instanceof Map}function h(e){return B&&e instanceof Set}function p(e){return e.o||e.t}function f(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=W(e);delete t[$];for(var r=V(t),n=0;n<r.length;n++){var i=r[n],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),v(e)||i(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&a(e,function(e,t){return m(t,!0)},!0)),e}function g(){n(2)}function v(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=G[e];return t||n(18,e),t}function b(e,t){t&&(y("Patches"),e.u=[],e.s=[],e.v=t)}function w(e){k(e),e.p.forEach(_),e.p=null}function k(e){e===N&&(N=e.l)}function x(e){return N={p:[],l:N,h:e,m:!0,_:0}}function _(e){var t=e[$];0===t.i||1===t.i?t.j():t.O=!0}function S(e,t){t._=t.p.length;var r=t.p[0],i=void 0!==e&&e!==r;return t.h.g||y("ES5").S(t,e,i),i?(r[$].P&&(w(t),n(4)),o(e)&&(e=E(t,e),t.l||C(t,e)),t.u&&y("Patches").M(r[$].t,e,t.u,t.s)):e=E(t,r,[]),w(t),t.u&&t.v(t.u,t.s),e!==U?e:void 0}function E(e,t,r){if(v(t))return t;var n=t[$];if(!n)return a(t,function(i,o){return D(e,n,t,i,o,r)},!0),t;if(n.A!==e)return t;if(!n.P)return C(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=4===n.i||5===n.i?n.o=f(n.k):n.o;a(3===n.i?new Set(i):i,function(t,o){return D(e,n,i,t,o,r)}),C(e,i,!1),r&&e.u&&y("Patches").R(n,r,e.u,e.s)}return n.o}function D(e,t,r,n,a,s){if(i(a)){var c=E(e,a,s&&t&&3!==t.i&&!u(t.D,n)?s.concat(n):void 0);if(l(r,n,c),!i(c))return;e.m=!1}if(o(a)&&!v(a)){if(!e.h.F&&e._<1)return;E(e,a),t&&t.A.l||C(e,a)}}function C(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&m(t,r)}function j(e,t){var r=e[$];return(r?p(r):e)[t]}function O(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function T(e){e.P||(e.P=!0,e.l&&T(e.l))}function A(e){e.o||(e.o=f(e.t))}function P(e,t,r){var n,i,o,a,s,u,l,c=d(t)?y("MapSet").N(t,r):h(t)?y("MapSet").T(t,r):e.g?(o=i={i:(n=Array.isArray(t))?1:0,A:r?r.A:N,P:!1,I:!1,D:{},l:r,t:t,k:null,o:null,j:null,C:!1},a=Y,n&&(o=[i],a=Z),u=(s=Proxy.revocable(o,a)).revoke,l=s.proxy,i.k=l,i.j=u,l):y("ES5").J(t,r);return(r?r.A:N).p.push(c),c}function R(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return f(e)}r.d(t,{xC:function(){return eh},oM:function(){return em}});var M,F,N,I="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),L="undefined"!=typeof Map,B="undefined"!=typeof Set,z="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,U=I?Symbol.for("immer-nothing"):((F={})["immer-nothing"]=!0,F),q=I?Symbol.for("immer-draftable"):"__$immer_draftable",$=I?Symbol.for("immer-state"):"__$immer_state",H=""+Object.prototype.constructor,V="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,W=Object.getOwnPropertyDescriptors||function(e){var t={};return V(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},G={},Y={get:function(e,t){if(t===$)return e;var r,n,i=p(e);if(!u(i,t))return(n=O(i,t))?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(e.k):void 0;var a=i[t];return e.I||!o(a)?a:a===j(e.t,t)?(A(e),e.o[t]=P(e.A.h,a,e)):a},has:function(e,t){return t in p(e)},ownKeys:function(e){return Reflect.ownKeys(p(e))},set:function(e,t,r){var n=O(p(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var i=j(p(e),t),o=null==i?void 0:i[$];if(o&&o.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(c(r,i)&&(void 0!==r||u(e.t,t)))return!0;A(e),T(e)}return e.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==j(e.t,t)||t in e.t?(e.D[t]=!1,A(e),T(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=p(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},Z={};a(Y,function(e,t){Z[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Z.deleteProperty=function(e,t){return Z.set.call(this,e,t,void 0)},Z.set=function(e,t,r){return Y.set.call(this,e[0],t,r,e[0])};var K=new(function(){function e(e){var t=this;this.g=z,this.F=!0,this.produce=function(e,r,i){if("function"==typeof e&&"function"!=typeof r){var a,s=r;return r=e,function(e){var n=this;void 0===e&&(e=s);for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return t.produce(e,function(e){var t;return(t=r).call.apply(t,[n,e].concat(o))})}}if("function"!=typeof r&&n(6),void 0!==i&&"function"!=typeof i&&n(7),o(e)){var u=x(t),l=P(t,e,void 0),c=!0;try{a=r(l),c=!1}finally{c?w(u):k(u)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then(function(e){return b(u,i),S(e,u)},function(e){throw w(u),e}):(b(u,i),S(a,u))}if(!e||"object"!=typeof e){if(void 0===(a=r(e))&&(a=e),a===U&&(a=void 0),t.F&&m(a,!0),i){var d=[],h=[];y("Patches").M(e,a,d,h),i(d,h)}return a}n(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return t.produceWithPatches(r,function(t){return e.apply(void 0,[t].concat(i))})};var n,i,o=t.produce(e,r,function(e,t){n=e,i=t});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return[e,n,i]}):[o,n,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||n(8),i(e)&&(i(t=e)||n(22,t),e=function e(t){if(!o(t))return t;var r,n=t[$],i=s(t);if(n){if(!n.P&&(n.i<4||!y("ES5").K(n)))return n.t;n.I=!0,r=R(t,i),n.I=!1}else r=R(t,i);return a(r,function(t,i){var o;n&&(2===s(o=n.t)?o.get(t):o[t])===i||l(r,t,e(i))}),3===i?new Set(r):r}(t));var t,r=x(this),u=P(this,e,void 0);return u[$].C=!0,k(r),u},t.finishDraft=function(e,t){var r=(e&&e[$]).A;return b(r,t),S(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!z&&n(20),this.g=e},t.applyPatches=function(e,t){for(r=t.length-1;r>=0;r--){var r,n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var o=y("Patches").$;return i(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}()),J=K.produce;K.produceWithPatches.bind(K),K.setAutoFreeze.bind(K),K.setUseProxies.bind(K),K.applyPatches.bind(K),K.createDraft.bind(K),K.finishDraft.bind(K);var X=r(38726);function Q(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(i){return"function"==typeof i?i(r,n,e):t(i)}}}}var ee=Q();ee.withExtraArgument=Q,r(34406);var et=(M=function(e,t){return(M=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}M(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),er=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},en=Object.defineProperty,ei=Object.getOwnPropertySymbols,eo=Object.prototype.hasOwnProperty,ea=Object.prototype.propertyIsEnumerable,es=function(e,t,r){return t in e?en(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},eu=function(e,t){for(var r in t||(t={}))eo.call(t,r)&&es(e,r,t[r]);if(ei)for(var n=0,i=ei(t);n<i.length;n++){var r=i[n];ea.call(t,r)&&es(e,r,t[r])}return e},el="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?X.qC:X.qC.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var ec=function(e){function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return et(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,er([void 0],e[0].concat(this)))):new(t.bind.apply(t,er([void 0],e.concat(this))))},t}(Array);function ed(e){return o(e)?J(e,function(){}):e}function eh(e){var t,r=function(e){var t,r,n,i;return void 0===(t=e)&&(t={}),n=void 0===(r=t.thunk)||r,t.immutableCheck,t.serializableCheck,i=new ec,n&&("boolean"==typeof n?i.push(ee):i.push(ee.withExtraArgument(n.extraArgument))),i},n=e||{},i=n.reducer,o=void 0===i?void 0:i,a=n.middleware,s=void 0===a?r():a,u=n.devTools,l=void 0===u||u,c=n.preloadedState,d=n.enhancers,h=void 0===d?void 0:d;if("function"==typeof o)t=o;else if(function(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var r=t;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return t===r}(o))t=(0,X.UY)(o);else throw Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var p=s;"function"==typeof p&&(p=p(r));var f=X.md.apply(void 0,p),m=X.qC;l&&(m=el(eu({trace:!1},"object"==typeof l&&l)));var g=[f];Array.isArray(h)?g=er([f],h):"function"==typeof h&&(g=h(g));var v=m.apply(void 0,g);return(0,X.MT)(t,void 0===c?void 0:c,v)}function ep(e,t){function r(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(t){var i=t.apply(void 0,r);if(!i)throw Error("prepareAction did not return an object");return eu(eu({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:r[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(t){return t.type===e},r}function ef(e){var t,r={},n=[],i={addCase:function(e,t){var n="string"==typeof e?e:e.type;if(n in r)throw Error("addCase cannot be called with two reducers for the same action type");return r[n]=t,i},addMatcher:function(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase:function(e){return t=e,i}};return e(i),[r,n,t]}function em(e){var t,r=e.name;if(!r)throw Error("`name` is a required option for createSlice");var n="function"==typeof e.initialState?e.initialState:ed(e.initialState),a=e.reducers||{},s=Object.keys(a),u={},l={},c={};function d(){var t="function"==typeof e.extraReducers?ef(e.extraReducers):[e.extraReducers],r=t[0],a=t[1],s=t[2];return function(e,t,r,n){void 0===r&&(r=[]);var a,s="function"==typeof t?ef(t):[t,r,n],u=s[0],l=s[1],c=s[2];if("function"==typeof e)a=function(){return ed(e())};else{var d=ed(e);a=function(){return d}}function h(e,t){void 0===e&&(e=a());var r=er([u[t.type]],l.filter(function(e){return(0,e.matcher)(t)}).map(function(e){return e.reducer}));return 0===r.filter(function(e){return!!e}).length&&(r=[c]),r.reduce(function(e,r){if(r){if(i(e)){var n=r(e,t);return void 0===n?e:n}if(o(e))return J(e,function(e){return r(e,t)});var n=r(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return e},e)}return h.getInitialState=a,h}(n,eu(eu({},void 0===r?{}:r),l),void 0===a?[]:a,void 0===s?void 0:s)}return s.forEach(function(e){var t,n,i=a[e],o=r+"/"+e;"reducer"in i?(t=i.reducer,n=i.prepare):t=i,u[e]=t,l[o]=t,c[e]=n?ep(o,n):ep(o)}),{name:r,reducer:function(e,r){return t||(t=d()),t(e,r)},actions:c,caseReducers:u,getInitialState:function(){return t||(t=d()),t.getInitialState()}}}var eg="listenerMiddleware";ep(eg+"/add"),ep(eg+"/removeAll"),ep(eg+"/remove"),function(){function e(e,t){var r=s[e];return r?r.enumerable=t:s[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[$];return Y.get(t,e)},set:function(t){var r=this[$];Y.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][$];if(!i.P)switch(i.i){case 5:n(i)&&T(i);break;case 4:r(i)&&T(i)}}}function r(e){for(var t=e.t,r=e.k,n=V(r),i=n.length-1;i>=0;i--){var o=n[i];if(o!==$){var a=t[o];if(void 0===a&&!u(t,o))return!0;var s=r[o],l=s&&s[$];if(l?l.t!==a:!c(s,a))return!0}}var d=!!t[$];return n.length!==V(t).length+(d?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n<t.length;n++)if(!t.hasOwnProperty(n))return!0;return!1}var o,s={};o={J:function(t,r){var n=Array.isArray(t),i=function(t,r){if(t){for(var n=Array(r.length),i=0;i<r.length;i++)Object.defineProperty(n,""+i,e(i,!0));return n}var o=W(r);delete o[$];for(var a=V(o),s=0;s<a.length;s++){var u=a[s];o[u]=e(u,t||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(r),o)}(n,t),o={i:n?5:4,A:r?r.A:N,P:!1,I:!1,D:{},l:r,t:t,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,$,{value:o,writable:!0}),i},S:function(e,r,o){o?i(r)&&r[$].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[$];if(r){var i=r.t,o=r.k,s=r.D,l=r.i;if(4===l)a(o,function(t){t!==$&&(void 0!==i[t]||u(i,t)?s[t]||e(o[t]):(s[t]=!0,T(r)))}),a(i,function(e){void 0!==o[e]||u(o,e)||(s[e]=!1,T(r))});else if(5===l){if(n(r)&&(T(r),s.length=!0),o.length<i.length)for(var c=o.length;c<i.length;c++)s[c]=!1;else for(var d=i.length;d<o.length;d++)s[d]=!0;for(var h=Math.min(o.length,i.length),p=0;p<h;p++)o.hasOwnProperty(p)||(s[p]=!0),void 0===s[p]&&e(o[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}},G.ES5||(G.ES5=o)}()},50786:function(e,t,r){"use strict";var n=r(23949),i=r(90824),o=function(e,t){return(o=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])})(e,t)},a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._startRect=null,t._startPos=[],t._prevTime=0,t._timer=0,t._prevScrollPos=[0,0],t._isWait=!1,t}!function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e);var r=t.prototype;return r.dragStart=function(e,t){var r=t.container,n=0,i=0,o=0,a=0;if(r===document.body)o=window.innerWidth,a=window.innerHeight;else{var s=r.getBoundingClientRect();n=s.top,i=s.left,o=s.width,a=s.height}this._startPos=[e.clientX,e.clientY],this._startRect={top:n,left:i,width:o,height:a},this._prevScrollPos=this._getScrollPosition([0,0],t)},r.drag=function(e,t){var r=e.clientX,n=e.clientY,i=t.threshold,o=void 0===i?0:i,s=this._startRect,u=this._startPos,l=[0,0];return s.top>n-o?(u[1]>s.top||n<u[1])&&(l[1]=-1):s.top+s.height<n+o&&(u[1]<s.top+s.height||n>u[1])&&(l[1]=1),s.left>r-o?(u[0]>s.left||r<u[0])&&(l[0]=-1):s.left+s.width<r+o&&(u[0]<s.left+s.width||r>u[0])&&(l[0]=1),clearTimeout(this._timer),(!!l[0]||!!l[1])&&this._continueDrag(a(a({},t),{direction:l,inputEvent:e,isDrag:!0}))},r.checkScroll=function(e){var t=this;if(this._isWait)return!1;var r=e.prevScrollPos,n=void 0===r?this._prevScrollPos:r,i=e.direction,o=e.throttleTime,a=void 0===o?0:o,s=e.inputEvent,u=e.isDrag,l=this._getScrollPosition(i||[0,0],e),c=l[0]-n[0],d=l[1]-n[1],h=i||[c?Math.abs(c)/c:0,d?Math.abs(d)/d:0];return this._prevScrollPos=l,(!!c||!!d)&&(this.trigger("move",{offsetX:h[0]?c:0,offsetY:h[1]?d:0,inputEvent:s}),a&&u&&(this._timer=window.setTimeout(function(){t._continueDrag(e)},a)),!0)},r.dragEnd=function(){clearTimeout(this._timer)},r._getScrollPosition=function(e,t){var r=t.container,n=t.getScrollPosition;return(void 0===n?function(e){var t=e.container;return t===document.body?[t.scrollLeft||document.documentElement.scrollLeft,t.scrollTop||document.documentElement.scrollTop]:[t.scrollLeft,t.scrollTop]}:n)({container:r,direction:e})},r._continueDrag=function(e){var t=this,r=e.container,n=e.direction,o=e.throttleTime,s=e.useScroll,u=e.isDrag,l=e.inputEvent;if(!u||!this._isWait){var c=(0,i.zO)(),d=Math.max(o+this._prevTime-c,0);if(d>0)return this._timer=window.setTimeout(function(){t._continueDrag(e)},d),!1;this._prevTime=c;var h=this._getScrollPosition(n,e);return this._prevScrollPos=h,u&&(this._isWait=!0),this.trigger("scroll",{container:r,direction:n,inputEvent:l}),this._isWait=!1,s||this.checkScroll(a(a({},e),{prevScrollPos:h,direction:n,inputEvent:l}))}},t}(n.Z);t.Z=s},23949:function(e,t,r){"use strict";var n=r(90824),i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o=function(){function e(){this._events={}}var t=e.prototype;return t.on=function(e,t){if((0,n.Kn)(e))for(var r in e)this.on(r,e[r]);else this._addEvent(e,t,{});return this},t.off=function(e,t){if(e){if((0,n.Kn)(e))for(var r in e)this.off(r);else if(t){var i=this._events[e];if(i){var o=(0,n.cx)(i,function(e){return e.listener===t});o>-1&&i.splice(o,1)}}else this._events[e]=[]}else this._events={};return this},t.once=function(e,t){var r=this;return t&&this._addEvent(e,t,{once:!0}),new Promise(function(t){r._addEvent(e,t,{once:!0})})},t.emit=function(e,t){var r=this;void 0===t&&(t={});var n=this._events[e];if(!e||!n)return!0;var i=!1;return t.eventType=e,t.stop=function(){i=!0},t.currentTarget=this,(function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n})(n).forEach(function(n){n.listener(t),n.once&&r.off(e,n.listener)}),!i},t.trigger=function(e,t){return void 0===t&&(t={}),this.emit(e,t)},t._addEvent=function(e,t,r){var n=this._events;n[e]=n[e]||[],n[e].push(i({listener:t},r))},e}();t.Z=o},65960:function(e,t,r){"use strict";r.d(t,{C7:function(){return w},Jm:function(){return C},Jp:function(){return _},KF:function(){return c},Kf:function(){return g},P$:function(){return a},PD:function(){return h},Qm:function(){return y},Te:function(){return E},U1:function(){return k},U_:function(){return o},WK:function(){return u},Wi:function(){return D},Xj:function(){return i},YX:function(){return f},a4:function(){return b},h9:function(){return p},mA:function(){return l},mX:function(){return j},ml:function(){return d},pQ:function(){return m},sQ:function(){return S},vc:function(){return s},yR:function(){return v},z2:function(){return x}});var n=r(90824);function i(e,t,r){void 0===r&&(r=Math.sqrt(e.length));for(var n=e.slice(),i=0;i<r;++i)n[i*r+t-1]=0,n[(t-1)*r+i]=0;return n[(t-1)*(r+1)]=1,n}function o(e,t){void 0===t&&(t=Math.sqrt(e.length));for(var r=e.slice(),i=E(t),o=0;o<t;++o){var a=t*o+o;if(!(0,n.P2)(r[a],n.Vp)){for(var s=o+1;s<t;++s)if(r[t*o+s]){!function(e,t,r,n,i){for(var o=0;o<i;++o){var a=r+o*i,s=n+o*i,u=e[a],l=t[a];e[a]=e[s],e[s]=u,t[a]=t[s],t[s]=l}}(r,i,o,s,t);break}}if(!(0,n.P2)(r[a],n.Vp))return[];!function(e,t,r,n,i){for(var o=0;o<n;++o){var a=r+o*n;e[a]/=i,t[a]/=i}}(r,i,o,t,r[a]);for(var s=0;s<t;++s){var u=s,l=r[s+o*t];(0,n.P2)(l,n.Vp)&&o!==s&&function(e,t,r,n,i,o){for(var a=0;a<i;++a){var s=r+a*i,u=n+a*i;e[s]+=e[u]*o,t[s]+=t[u]*o}}(r,i,u,o,t,-l)}}return i}function a(e,t){void 0===t&&(t=Math.sqrt(e.length));for(var r=[],n=e[t*t-1],i=0;i<t-1;++i)r[i]=e[t*(t-1)+i]/n;return r[t-1]=0,r}function s(e,t){for(var r=E(t),n=0;n<t-1;++n)r[t*(t-1)+n]=e[n]||0;return r}function u(e,t){for(var r=e.slice(),n=e.length;n<t-1;++n)r[n]=0;return r[t-1]=1,r}function l(e,t,r){if(void 0===t&&(t=Math.sqrt(e.length)),t===r)return e;for(var n=E(r),i=Math.min(t,r),o=0;o<i-1;++o){for(var a=0;a<i-1;++a)n[o*r+a]=e[o*t+a];n[(o+1)*r-1]=e[(o+1)*t-1],n[(r-1)*r+o]=e[(t-1)*t+o]}return n[r*r-1]=e[t*t-1],n}function c(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=E(e);return t.forEach(function(t){n=d(n,t,e)}),n}function d(e,t,r){void 0===r&&(r=Math.sqrt(e.length));var n=[],i=e.length/r,o=t.length/i;if(!i)return t;if(!o)return e;for(var a=0;a<r;++a)for(var s=0;s<o;++s){n[s*r+a]=0;for(var u=0;u<i;++u)n[s*r+a]+=e[u*r+a]*t[s*i+u]}return n}function h(e,t){for(var r=Math.min(e.length,t.length),n=e.slice(),i=0;i<r;++i)n[i]=n[i]+t[i];return n}function p(e,t){for(var r=Math.min(e.length,t.length),n=e.slice(),i=0;i<r;++i)n[i]=n[i]-t[i];return n}function f(e,t){return(void 0===t&&(t=6===e.length),t)?[e[0],e[1],0,e[2],e[3],0,e[4],e[5],1]:e}function m(e,t){return(void 0===t&&(t=9===e.length),t)?[e[0],e[1],e[3],e[4],e[6],e[7]]:e}function g(e,t,r){void 0===r&&(r=t.length);var n=d(e,t,r),i=n[r-1];return n.map(function(e){return e/i})}function v(e,t){return d(e,[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1],4)}function y(e,t){return d(e,[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1],4)}function b(e,t){return d(e,S(t,4))}function w(e,t){var r=t[0],n=t[1],i=t[2];return d(e,[void 0===r?1:r,0,0,0,0,void 0===n?1:n,0,0,0,0,void 0===i?1:i,0,0,0,0,1],4)}function k(e,t){return g(S(t,3),u(e,3))}function x(e,t){var r=t[0],n=t[1],i=t[2];return d(e,[1,0,0,0,0,1,0,0,0,0,1,0,void 0===r?0:r,void 0===n?0:n,void 0===i?0:i,1],4)}function _(e,t){return d(e,t,4)}function S(e,t){var r=Math.cos(e),n=Math.sin(e),i=E(t);return i[0]=r,i[1]=n,i[t]=-n,i[t+1]=r,i}function E(e){for(var t=e*e,r=[],n=0;n<t;++n)r[n]=n%(e+1)?0:1;return r}function D(e,t){for(var r=E(t),n=Math.min(e.length,t-1),i=0;i<n;++i)r[(t+1)*i]=e[i];return r}function C(e,t){for(var r=E(t),n=Math.min(e.length,t-1),i=0;i<n;++i)r[t*(t-1)+i]=e[i];return r}function j(e,t,r,n,i,a,s,u){var c=e[0],h=e[1],p=t[0],f=t[1],m=r[0],g=r[1],v=n[0],y=n[1],b=i[0],w=i[1],k=a[0],x=a[1],_=s[0],S=s[1],E=u[0],D=u[1],C=o([c,0,p,0,m,0,v,0,h,0,f,0,g,0,y,0,1,0,1,0,1,0,1,0,0,c,0,p,0,m,0,v,0,h,0,f,0,g,0,y,0,1,0,1,0,1,0,1,-b*c,-w*c,-k*p,-x*p,-_*m,-S*m,-E*v,-D*v,-b*h,-w*h,-k*f,-x*f,-_*g,-S*g,-E*y,-D*y],8);if(!C.length)return[];var j=d(C,[b,w,k,x,_,S,E,D],8);return j[8]=1,l(function(e,t){void 0===t&&(t=Math.sqrt(e.length));for(var r=[],n=0;n<t;++n)for(var i=0;i<t;++i)r[i*t+n]=e[t*n+i];return r}(j),3,4)}},71154:function(e,t,r){"use strict";r.d(t,{Q:function(){return n}});var n=function(){function e(){this.callbacks={}}return e.prototype.on=function(e,t){return this.callbacks[e]?this.callbacks[e].push(t):this.callbacks[e]=[t],this},e.prototype.once=function(e,t){var r=this,n=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];r.off(e,n),t.apply(r,i)};return this.on(e,n),this},e.prototype.off=function(e,t){var r,n=(null!==(r=this.callbacks[e])&&void 0!==r?r:[]).filter(function(e){return e!==t});return this.callbacks[e]=n,this},e.prototype.emit=function(e){for(var t,r=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return(null!==(t=this.callbacks[e])&&void 0!==t?t:[]).forEach(function(e){e.apply(r,n)}),this},e}()},8368:function(e,t,r){"use strict";r.d(t,{b:function(){return eT}});var n,i=r(5163),o=r(34406);function a(){return void 0!==o&&o.env?o.env:{}}var s=r(91329),u=r(26528),l=r.n(u);function c(e){return"string"==typeof e}function d(e){return"number"==typeof e}function h(e){return"function"==typeof e}function p(e){return"object"===Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}var f=function(e){function t(t,r){var n=e.call(this,r)||this;return n.field=t,n}return(0,i.ZT)(t,e),t}(Error);function m(e){var t,r,n,i,o=e&&e.event&&e.event.type,a=e.event;if(void 0===a)throw new f("event","Event is missing");if(!c(o)||"track"===o&&!c(a.event))throw new f("event","Event is not a string");var s=null!==(i=a.properties)&&void 0!==i?i:a.traits;if("alias"!==o&&!p(s))throw new f("properties","properties is not an object");if(!c(null!==(n=null!==(r=null!==(t=a.userId)&&void 0!==t?t:a.anonymousId)&&void 0!==r?r:a.groupId)&&void 0!==n?n:a.previousId))throw new f("userId","Missing userId or anonymousId");return e}var g={name:"Event Validation",type:"before",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:m,identify:m,page:m,alias:m,group:m,screen:m};function v(e,t,r,n){var i,o=[e,t,r,n],a=p(e)?e.event:e;if(!a||!c(a))throw Error("Event missing");var s=p(e)?null!==(i=e.properties)&&void 0!==i?i:{}:p(t)?t:{},u={};return h(r)||(u=null!=r?r:{}),p(e)&&!h(t)&&(u=null!=t?t:{}),[a,s,u,o.find(h)]}function y(e,t,r,n,i){var o,a,s=null,u=null,l=[e,t,r,n,i],d=l.filter(c);void 0!==d[0]&&void 0!==d[1]&&(s=d[0],u=d[1]),1===d.length&&(s=null,u=d[0]);var f=l.find(h),m=l.filter(function(e){return null===u?p(e):p(e)||null===e}),g=null!==(o=m[0])&&void 0!==o?o:{},v=null!==(a=m[1])&&void 0!==a?a:{};return[s,u,g,v,f]}var b=function(e){return function(){for(var t,r,n,i,o,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var u=null;u=null!==(n=null!==(t=a.find(c))&&void 0!==t?t:null===(r=a.find(d))||void 0===r?void 0:r.toString())&&void 0!==n?n:e.id();var l=a.filter(function(e){return null===u?p(e):p(e)||null===e}),f=null!==(i=l[0])&&void 0!==i?i:{},m=null!==(o=l[1])&&void 0!==o?o:{},g=a.find(h);return[u,f,m,g]}};function w(e,t,r,n){d(e)&&(e=e.toString()),d(t)&&(t=t.toString());var i=[e,t,r,n],o=i.filter(c),a=o[0],s=void 0===a?e:a,u=o[1],l=i.filter(p)[0];return[s,void 0===u?null:u,void 0===l?{}:l,i.find(h)]}var k=r(33404),x=r(91946),_=r(61668),S=r(71154),E=r(17831),D=r(10380),C=r(84791),j=r.n(C),O=function(){function e(e){this.user=e}return e.prototype.track=function(e,t,r,n){return this.normalize((0,i.pi)((0,i.pi)({},this.baseEvent()),{event:e,type:"track",properties:t,options:(0,i.pi)({},r),integrations:(0,i.pi)({},n)}))},e.prototype.page=function(e,t,r,n,o){var a,s={type:"page",properties:(0,i.pi)({},r),options:(0,i.pi)({},n),integrations:(0,i.pi)({},o)};return null!==e&&(s.category=e,s.properties=null!==(a=s.properties)&&void 0!==a?a:{},s.properties.category=e),null!==t&&(s.name=t),this.normalize((0,i.pi)((0,i.pi)({},this.baseEvent()),s))},e.prototype.screen=function(e,t,r,n,o){var a={type:"screen",properties:(0,i.pi)({},r),options:(0,i.pi)({},n),integrations:(0,i.pi)({},o)};return null!==e&&(a.category=e),null!==t&&(a.name=t),this.normalize((0,i.pi)((0,i.pi)({},this.baseEvent()),a))},e.prototype.identify=function(e,t,r,n){return this.normalize((0,i.pi)((0,i.pi)({},this.baseEvent()),{type:"identify",userId:e,traits:t,options:(0,i.pi)({},r),integrations:(0,i.pi)({},n)}))},e.prototype.group=function(e,t,r,n){return this.normalize((0,i.pi)((0,i.pi)({},this.baseEvent()),{type:"group",traits:t,options:(0,i.pi)({},r),integrations:(0,i.pi)({},n),groupId:e}))},e.prototype.alias=function(e,t,r,n){var o={userId:e,type:"alias",options:(0,i.pi)({},r),integrations:(0,i.pi)({},n)};return(null!==t&&(o.previousId=t),void 0===e)?this.normalize((0,i.pi)((0,i.pi)({},o),this.baseEvent())):this.normalize((0,i.pi)((0,i.pi)({},this.baseEvent()),o))},e.prototype.baseEvent=function(){var e={integrations:{},options:{}},t=this.user;return t.id()&&(e.userId=t.id()),t.anonymousId()&&(e.anonymousId=t.anonymousId()),e},e.prototype.context=function(e){var t,r,n,i=["integrations","anonymousId","timestamp","userId"],o=null!==(t=e.options)&&void 0!==t?t:{};delete o.integrations;var a=Object.keys(o),s=null!==(n=null===(r=e.options)||void 0===r?void 0:r.context)&&void 0!==n?n:{},u={};return a.forEach(function(e){"context"!==e&&(i.includes(e)?(0,D.N)(u,e,o[e]):(0,D.N)(s,e,o[e]))}),[s,u]},e.prototype.normalize=function(e){(null===(t=e.options)||void 0===t?void 0:t.anonymousId)&&this.user.anonymousId(e.options.anonymousId);var t,r,n,o=Object.keys(null!==(r=e.integrations)&&void 0!==r?r:{}).reduce(function(t,r){var n,o;return(0,i.pi)((0,i.pi)({},t),((n={})[r]=!!(null===(o=e.integrations)||void 0===o?void 0:o[r]),n))},{}),a=(0,i.pi)((0,i.pi)({},o),null===(n=e.options)||void 0===n?void 0:n.integrations),s=this.context(e),u=s[0],l=s[1];e.options;var c=(0,i._T)(e,["options"]),d=(0,i.pi)((0,i.pi)((0,i.pi)({timestamp:new Date},c),{context:u,integrations:a}),l),h="ajs-next-"+j().hash(JSON.stringify(d)+(0,E.v4)());return(0,i.pi)((0,i.pi)({},d),{messageId:h})},e}(),T=r(98552),A=r(46804),P=function(e){return"object"==typeof e&&null!==e&&"then"in e&&"function"==typeof e.then},R=function(){var e,t,r=0;return{done:function(){return e},run:function(n){var i=n();return P(i)&&(1==++r&&(e=new Promise(function(e){return t=e})),i.finally(function(){return 0==--r&&t()})),i}}},M=r(37759),F=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:null},N=F(),I=null!==(n=N.__SEGMENT_INSPECTOR__)&&void 0!==n?n:N.__SEGMENT_INSPECTOR__={},L=function(e){function t(t){var r=e.call(this)||this;return r.criticalTasks=R(),r.plugins=[],r.failedInitializations=[],r.flushing=!1,r.queue=null!=t?t:new A.$(4,"event-queue"),r.queue.on(T.M,function(){r.scheduleFlush(0)}),r}return(0,i.ZT)(t,e),t.prototype.register=function(e,t,r){return(0,i.mG)(this,void 0,void 0,function(){var n=this;return(0,i.Jh)(this,function(i){switch(i.label){case 0:return[4,Promise.resolve(t.load(e,r)).then(function(){n.plugins.push(t)}).catch(function(r){if("destination"===t.type){n.failedInitializations.push(t.name),console.warn(t.name,r),e.log("warn","Failed to load destination",{plugin:t.name,error:r});return}throw r})];case 1:return i.sent(),[2]}})})},t.prototype.deregister=function(e,t,r){return(0,i.mG)(this,void 0,void 0,function(){var n;return(0,i.Jh)(this,function(i){switch(i.label){case 0:if(i.trys.push([0,3,,4]),!t.unload)return[3,2];return[4,Promise.resolve(t.unload(e,r))];case 1:i.sent(),i.label=2;case 2:return this.plugins=this.plugins.filter(function(e){return e.name!==t.name}),[3,4];case 3:return n=i.sent(),e.log("warn","Failed to unload destination",{plugin:t.name,error:n}),[3,4];case 4:return[2]}})})},t.prototype.dispatch=function(e){return(0,i.mG)(this,void 0,void 0,function(){var t;return(0,i.Jh)(this,function(r){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.push(e),t=this.subscribeToDelivery(e),this.scheduleFlush(0),[2,t]})})},t.prototype.subscribeToDelivery=function(e){return(0,i.mG)(this,void 0,void 0,function(){var t=this;return(0,i.Jh)(this,function(r){return[2,new Promise(function(r){var n=function(i,o){i.isSame(e)&&(t.off("flush",n),r(i))};t.on("flush",n)})]})})},t.prototype.dispatchSingle=function(e){return(0,i.mG)(this,void 0,void 0,function(){var t=this;return(0,i.Jh)(this,function(r){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.updateAttempts(e),e.attempts=1,[2,this.deliver(e).catch(function(r){return r instanceof _.Y&&!1===r.retry||!t.enqueuRetry(r,e)?(e.setFailedDelivery({reason:r}),e):t.subscribeToDelivery(e)})]})})},t.prototype.isEmpty=function(){return 0===this.queue.length},t.prototype.scheduleFlush=function(e){var t=this;void 0===e&&(e=500),this.flushing||(this.flushing=!0,setTimeout(function(){t.flush().then(function(){setTimeout(function(){t.flushing=!1,t.queue.length&&t.scheduleFlush(0)},0)})},e))},t.prototype.deliver=function(e){return(0,i.mG)(this,void 0,void 0,function(){var t,r,n;return(0,i.Jh)(this,function(i){switch(i.label){case 0:return[4,this.criticalTasks.done()];case 1:i.sent(),t=Date.now(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.flushOne(e)];case 3:return e=i.sent(),r=Date.now()-t,e.stats.gauge("delivered",r),e.log("debug","Delivered",e.event),[2,e];case 4:throw n=i.sent(),e.log("error","Failed to deliver",n),e.stats.increment("delivery_failed"),n;case 5:return[2]}})})},t.prototype.enqueuRetry=function(e,t){return!(e instanceof _.Y&&!1===e.retry)&&this.queue.pushWithBackoff(t)},t.prototype.flush=function(){return(0,i.mG)(this,void 0,void 0,function(){var e,t;return(0,i.Jh)(this,function(r){switch(r.label){case 0:if(0===this.queue.length||!(0,x.G)()||!(e=this.queue.pop()))return[2,[]];e.attempts=this.queue.getAttempts(e),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.deliver(e)];case 2:return e=r.sent(),this.emit("flush",e,!0),[3,4];case 3:return t=r.sent(),this.enqueuRetry(t,e)||(e.setFailedDelivery({reason:t}),this.emit("flush",e,!1)),[2,[]];case 4:return[2,[e]]}})})},t.prototype.isReady=function(){return!0},t.prototype.availableExtensions=function(e){var t,r,n=(t="type",r={},this.plugins.filter(function(t){if("destination"!==t.type&&"Segment.io"!==t.name)return!0;var r,n,i,o=void 0;return null===(r=t.alternativeNames)||void 0===r||r.forEach(function(t){void 0!==e[t]&&(o=e[t])}),null!==(i=null!==(n=e[t.name])&&void 0!==n?n:o)&&void 0!==i?i:!1!==("Segment.io"===t.name||e.All)}).forEach(function(e){var n,o=void 0;if("string"==typeof t){var a=e[t];o="string"!=typeof a?JSON.stringify(a):a}else t instanceof Function&&(o=t(e));void 0!==o&&(r[o]=(0,i.ev)((0,i.ev)([],null!==(n=r[o])&&void 0!==n?n:[],!0),[e],!1))}),r),o=n.before,a=n.enrichment,s=n.destination,u=n.after;return{before:void 0===o?[]:o,enrichment:void 0===a?[]:a,destinations:void 0===s?[]:s,after:void 0===u?[]:u}},t.prototype.flushOne=function(e){var t,r,n,o;return(0,i.mG)(this,void 0,void 0,function(){var a,s,u,l,c,d,h,p,f,m,g,v,y;return(0,i.Jh)(this,function(i){switch(i.label){case 0:if(!this.isReady())throw Error("Not ready");s=(a=this.availableExtensions(null!==(t=e.event.integrations)&&void 0!==t?t:{})).before,u=a.enrichment,l=0,c=s,i.label=1;case 1:if(!(l<c.length))return[3,4];return d=c[l],[4,(0,M.z)(e,d)];case 2:(h=i.sent())instanceof _._&&(e=h),i.label=3;case 3:return l++,[3,1];case 4:p=0,f=u,i.label=5;case 5:if(!(p<f.length))return[3,8];return m=f[p],[4,(0,M.a)(e,m)];case 6:(h=i.sent())instanceof _._&&(e=h),i.label=7;case 7:return p++,[3,5];case 8:return null===(r=I.enriched)||void 0===r||r.call(I,e),v=(g=this.availableExtensions(null!==(n=e.event.integrations)&&void 0!==n?n:{})).destinations,y=g.after,[4,new Promise(function(t,r){setTimeout(function(){Promise.all(v.map(function(t){return(0,M.a)(e,t)})).then(t).catch(r)},0)})];case 9:return i.sent(),e.stats.increment("message_delivered"),null===(o=I.delivered)||void 0===o||o.call(I,e,["segment.io"]),[4,Promise.all(y.map(function(t){return(0,M.a)(e,t)}))];case 10:return i.sent(),[2,e]}})})},t}(S.Q),B=r(21805),z=r(24516);function U(e){for(var t=e.constructor.prototype,r=0,n=Object.getOwnPropertyNames(t);r<n.length;r++){var i=n[r];if("constructor"!==i){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,i);o&&"function"==typeof o.value&&(e[i]=e[i].bind(e))}}return e}var q={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},$=function(){function e(){this.cache={}}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){return this.cache[e]=t,t},e.prototype.remove=function(e){delete this.cache[e]},e}(),H=function(e){function t(r){void 0===r&&(r=t.defaults);var n=e.call(this)||this;return n.options=(0,i.pi)((0,i.pi)({},t.defaults),r),n}return(0,i.ZT)(t,e),t.available=function(){var e=window.navigator.cookieEnabled;return e||(B.Z.set("ajs:cookies","test"),e=document.cookie.includes("ajs:cookies"),B.Z.remove("ajs:cookies")),e},Object.defineProperty(t,"defaults",{get:function(){return{maxage:365,domain:(0,z.P)(window.location.href),path:"/",sameSite:"Lax"}},enumerable:!1,configurable:!0}),t.prototype.opts=function(){return{sameSite:this.options.sameSite,expires:this.options.maxage,domain:this.options.domain,path:this.options.path,secure:this.options.secure}},t.prototype.get=function(e){try{var t=B.Z.get(e);if(!t)return null;try{return JSON.parse(t)}catch(e){return t}}catch(e){return null}},t.prototype.set=function(e,t){return"string"==typeof t?B.Z.set(e,t,this.opts()):null===t?B.Z.remove(e,this.opts()):B.Z.set(e,JSON.stringify(t),this.opts()),t},t.prototype.remove=function(e){return B.Z.remove(e,this.opts())},t}($),V=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.get=function(e){return null},t.set=function(e,t){return null},t.remove=function(e){},t}return(0,i.ZT)(t,e),t}($),W=function(e,t){console.warn("Unable to access ".concat(e,", localStorage may be ").concat(t))},G=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.ZT)(t,e),t.available=function(){var e="test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}},t.prototype.get=function(e){try{var t=localStorage.getItem(e);if(null===t)return null;try{return JSON.parse(t)}catch(e){return t}}catch(t){return W(e,"unavailable"),null}},t.prototype.set=function(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch(t){W(e,"full")}return t},t.prototype.remove=function(e){try{return localStorage.removeItem(e)}catch(t){W(e,"unavailable")}},t}($),Y=function(){function e(e,t){void 0===e&&(e=q);var r,n,i,o,a=this;this.options={},this.id=function(e){if(a.options.disable)return null;var t,r,n=a.chainGet(a.idKey);return void 0!==e&&(a.trySet(a.idKey,e),e!==n&&null!==n&&null!==e&&a.anonymousId(null)),null!==(r=null!==(t=a.chainGet(a.idKey))&&void 0!==t?t:a.cookies.get(q.cookie.oldKey))&&void 0!==r?r:null},this.anonymousId=function(e){var t,r;if(a.options.disable)return null;if(void 0===e){var n=null!==(t=a.chainGet(a.anonKey))&&void 0!==t?t:null===(r=a.legacySIO())||void 0===r?void 0:r[0];if(n)return n}return null===e?a.trySet(a.anonKey,null):a.trySet(a.anonKey,null!=e?e:(0,E.v4)()),a.chainGet(a.anonKey)},this.traits=function(e){var t,r;if(!a.options.disable)return null===e&&(e={}),e&&(a.mem.set(a.traitsKey,null!=e?e:{}),a.localStorage.set(a.traitsKey,null!=e?e:{})),null!==(r=null!==(t=a.localStorage.get(a.traitsKey))&&void 0!==t?t:a.mem.get(a.traitsKey))&&void 0!==r?r:{}},this.options=e,this.cookieOptions=t,this.idKey=null!==(n=null===(r=e.cookie)||void 0===r?void 0:r.key)&&void 0!==n?n:q.cookie.key,this.traitsKey=null!==(o=null===(i=e.localStorage)||void 0===i?void 0:i.key)&&void 0!==o?o:q.localStorage.key,this.anonKey="ajs_anonymous_id";var s=!0===e.disable,u=!1!==e.persist;this.localStorage=s||e.localStorageFallbackDisabled||!u||!G.available()?new V:new G,this.cookies=!s&&u&&H.available()?new H(t):new V,this.mem=s?new V:new $;var l=this.cookies.get(q.cookie.oldKey);l&&(l.id&&this.id(l.id),l.traits&&this.traits(l.traits)),U(this)}return e.prototype.chainGet=function(e){var t,r,n,i=null!==(n=null!==(r=null!==(t=this.localStorage.get(e))&&void 0!==t?t:this.cookies.get(e))&&void 0!==r?r:this.mem.get(e))&&void 0!==n?n:null;return this.trySet(e,"number"==typeof i?i.toString():i)},e.prototype.trySet=function(e,t){return this.localStorage.set(e,t),this.cookies.set(e,t),this.mem.set(e,t),t},e.prototype.chainClear=function(e){this.localStorage.remove(e),this.cookies.remove(e),this.mem.remove(e)},e.prototype.legacySIO=function(){var e=this.cookies.get("_sio");if(!e)return null;var t=e.split("----");return[t[0],t[1]]},e.prototype.identify=function(e,t){if(!this.options.disable){t=null!=t?t:{};var r=this.id();(null===r||r===e)&&(t=(0,i.pi)((0,i.pi)({},this.traits()),t)),e&&this.id(e),this.traits(t)}},e.prototype.logout=function(){this.anonymousId(null),this.id(null),this.traits({})},e.prototype.reset=function(){this.logout(),this.chainClear(this.idKey),this.chainClear(this.anonKey),this.chainClear(this.traitsKey)},e.prototype.load=function(){return new e(this.options,this.cookieOptions)},e.prototype.save=function(){return!0},e.defaults=q,e}(),Z={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},K=function(e){function t(t,r){void 0===t&&(t=Z);var n=e.call(this,t,r)||this;return n.anonymousId=function(e){},U(n),n}return(0,i.ZT)(t,e),t}(Y),J=r(38497),X="This is being deprecated and will be not be available in future releases of Analytics JS",Q=F(),ee=null==Q?void 0:Q.analytics;function et(){console.warn(X)}var er=function(e){function t(t,r,n,o,a){var s,u,l,c,d,h,p=this;(p=e.call(this)||this)._debug=!1,p.initialized=!1,p.user=function(){return p._user},p.init=p.initialize.bind(p),p.log=et,p.addIntegrationMiddleware=et,p.listeners=et,p.addEventListener=et,p.removeAllListeners=et,p.removeListener=et,p.removeEventListener=et,p.hasListeners=et,p.add=et,p.addIntegration=et;var f=null==r?void 0:r.cookie,m=null!==(c=null==r?void 0:r.disableClientPersistence)&&void 0!==c&&c;return p.settings=t,p.settings.timeout=null!==(d=p.settings.timeout)&&void 0!==d?d:300,p.queue=null!=n?n:(void 0===(s=null==r?void 0:r.retryQueue)&&(s=!1),void 0===(u=m)&&(u=!1),l=s?4:1,new L(u?new T.Z(l,[]):new A.$(l,"event-queue"))),p._user=null!=o?o:new Y(m?(0,i.pi)((0,i.pi)({},null==r?void 0:r.user),{persist:!1}):null==r?void 0:r.user,f).load(),p._group=null!=a?a:new K(m?(0,i.pi)((0,i.pi)({},null==r?void 0:r.group),{persist:!1}):null==r?void 0:r.group,f).load(),p.eventFactory=new O(p._user),p.integrations=null!==(h=null==r?void 0:r.integrations)&&void 0!==h?h:{},p.options=null!=r?r:{},U(p),p}return(0,i.ZT)(t,e),t.prototype.track=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t,r,n,o,a,s,u=this;return(0,i.Jh)(this,function(i){return r=(t=v.apply(void 0,e))[0],n=t[1],o=t[2],a=t[3],s=this.eventFactory.track(r,n,o,this.integrations),[2,this.dispatch(s,a).then(function(e){return u.emit("track",r,e.event.properties,e.event.options),e})]})})},t.prototype.page=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t,r,n,o,a,s,u,l=this;return(0,i.Jh)(this,function(i){return r=(t=y.apply(void 0,e))[0],n=t[1],o=t[2],a=t[3],s=t[4],u=this.eventFactory.page(r,n,o,a,this.integrations),[2,this.dispatch(u,s).then(function(e){return l.emit("page",r,n,e.event.properties,e.event.options),e})]})})},t.prototype.identify=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t,r,n,o,a,s,u=this;return(0,i.Jh)(this,function(i){return r=(t=b(this._user).apply(void 0,e))[0],n=t[1],o=t[2],a=t[3],this._user.identify(r,n),s=this.eventFactory.identify(this._user.id(),this._user.traits(),o,this.integrations),[2,this.dispatch(s,a).then(function(e){return u.emit("identify",e.event.userId,e.event.traits,e.event.options),e})]})})},t.prototype.group=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(0===t.length)return this._group;var n=b(this._group).apply(void 0,t),i=n[0],o=n[1],a=n[2],s=n[3];this._group.identify(i,o);var u=this._group.id(),l=this._group.traits(),c=this.eventFactory.group(u,l,a,this.integrations);return this.dispatch(c,s).then(function(t){return e.emit("group",t.event.groupId,t.event.traits,t.event.options),t})},t.prototype.alias=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t,r,n,o,a,s,u=this;return(0,i.Jh)(this,function(i){return r=(t=w.apply(void 0,e))[0],n=t[1],o=t[2],a=t[3],s=this.eventFactory.alias(r,n,o,this.integrations),[2,this.dispatch(s,a).then(function(e){return u.emit("alias",r,n,e.event.options),e})]})})},t.prototype.screen=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t,r,n,o,a,s,u,l=this;return(0,i.Jh)(this,function(i){return r=(t=y.apply(void 0,e))[0],n=t[1],o=t[2],a=t[3],s=t[4],u=this.eventFactory.screen(r,n,o,a,this.integrations),[2,this.dispatch(u,s).then(function(e){return l.emit("screen",r,n,e.event.properties,e.event.options),e})]})})},t.prototype.trackClick=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t;return(0,i.Jh)(this,function(n){switch(n.label){case 0:return[4,r.e(8119).then(r.bind(r,44192))];case 1:return[2,(t=n.sent().link).call.apply(t,(0,i.ev)([this],e,!1))]}})})},t.prototype.trackLink=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t;return(0,i.Jh)(this,function(n){switch(n.label){case 0:return[4,r.e(8119).then(r.bind(r,44192))];case 1:return[2,(t=n.sent().link).call.apply(t,(0,i.ev)([this],e,!1))]}})})},t.prototype.trackSubmit=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t;return(0,i.Jh)(this,function(n){switch(n.label){case 0:return[4,r.e(8119).then(r.bind(r,44192))];case 1:return[2,(t=n.sent().form).call.apply(t,(0,i.ev)([this],e,!1))]}})})},t.prototype.trackForm=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t;return(0,i.Jh)(this,function(n){switch(n.label){case 0:return[4,r.e(8119).then(r.bind(r,44192))];case 1:return[2,(t=n.sent().form).call.apply(t,(0,i.ev)([this],e,!1))]}})})},t.prototype.register=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t,r=this;return(0,i.Jh)(this,function(n){switch(n.label){case 0:return t=_._.system(),[4,Promise.all(e.map(function(e){return r.queue.register(t,e,r)}))];case 1:return n.sent(),[2,t]}})})},t.prototype.deregister=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.mG)(this,void 0,void 0,function(){var t,r=this;return(0,i.Jh)(this,function(n){switch(n.label){case 0:return t=_._.system(),[4,Promise.all(e.map(function(e){return(0,i.mG)(r,void 0,void 0,function(){var r;return(0,i.Jh)(this,function(n){return(r=this.queue.plugins.find(function(t){return t.name===e}))?[2,this.queue.deregister(t,r,this)]:(t.log("warn","plugin ".concat(e," not found")),[2])})})}))];case 1:return n.sent(),[2,t]}})})},t.prototype.debug=function(e){return!1===e&&localStorage.getItem("debug")&&localStorage.removeItem("debug"),this._debug=e,this},t.prototype.reset=function(){this._user.reset(),this._group.reset()},t.prototype.timeout=function(e){this.settings.timeout=e},t.prototype.dispatch=function(e,t){var r;return(0,i.mG)(this,void 0,void 0,function(){var n,o,a,s,u;return(0,i.Jh)(this,function(i){switch(i.label){case 0:if(n=new _._(e),null===(r=I.triggered)||void 0===r||r.call(I,n),(0,x.s)()&&!this.options.retryQueue)return[2,n];if(o=Date.now(),!this.queue.isEmpty())return[3,2];return[4,this.queue.dispatchSingle(n)];case 1:return a=i.sent(),[3,4];case 2:return[4,this.queue.dispatch(n)];case 3:a=i.sent(),i.label=4;case 4:if(s=Date.now()-o,u=this.settings.timeout,!t)return[3,6];return[4,(0,k.U)(a,t,Math.max((null!=u?u:300)-s,0),u)];case 5:a=i.sent(),i.label=6;case 6:return this._debug&&a.flush(),[2,a]}})})},t.prototype.addSourceMiddleware=function(e){return(0,i.mG)(this,void 0,void 0,function(){var t=this;return(0,i.Jh)(this,function(n){switch(n.label){case 0:return[4,this.queue.criticalTasks.run(function(){return(0,i.mG)(t,void 0,void 0,function(){var t,n,o;return(0,i.Jh)(this,function(i){switch(i.label){case 0:return[4,Promise.resolve().then(r.bind(r,18767))];case 1:return t=i.sent().sourceMiddlewarePlugin,n={},this.queue.plugins.forEach(function(e){if("destination"===e.type)return n[e.name]=!0}),o=t(e,n),[4,this.register(o)];case 2:return i.sent(),[2]}})})})];case 1:return n.sent(),[2,this]}})})},t.prototype.addDestinationMiddleware=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return this.queue.plugins.filter(function(t){return t.name.toLowerCase()===e.toLowerCase()}).forEach(function(e){e.addMiddleware.apply(e,t)}),Promise.resolve(this)},t.prototype.setAnonymousId=function(e){return this._user.anonymousId(e)},t.prototype.queryString=function(e){return(0,i.mG)(this,void 0,void 0,function(){return(0,i.Jh)(this,function(t){switch(t.label){case 0:return[4,r.e(3096).then(r.bind(r,44669))];case 1:return[2,(0,t.sent().queryString)(this,e)]}})})},t.prototype.use=function(e){return e(this),this},t.prototype.ready=function(e){return void 0===e&&(e=function(e){return e}),(0,i.mG)(this,void 0,void 0,function(){return(0,i.Jh)(this,function(t){return[2,Promise.all(this.queue.plugins.map(function(e){return e.ready?e.ready():Promise.resolve()})).then(function(t){return e(t),t})]})})},t.prototype.noConflict=function(){return console.warn(X),window.analytics=null!=ee?ee:this,this},t.prototype.normalize=function(e){return console.warn(X),this.eventFactory.normalize(e)},Object.defineProperty(t.prototype,"failedInitializations",{get:function(){return console.warn(X),this.queue.failedInitializations},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VERSION",{get:function(){return J.i},enumerable:!1,configurable:!0}),t.prototype.initialize=function(e,t){return(0,i.mG)(this,void 0,void 0,function(){return(0,i.Jh)(this,function(e){return console.warn(X),[2,Promise.resolve(this)]})})},t.prototype.pageview=function(e){return(0,i.mG)(this,void 0,void 0,function(){return(0,i.Jh)(this,function(t){switch(t.label){case 0:return console.warn(X),[4,this.page({path:e})];case 1:return t.sent(),[2,this]}})})},Object.defineProperty(t.prototype,"plugins",{get:function(){var e;return console.warn(X),null!==(e=this._plugins)&&void 0!==e?e:{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Integrations",{get:function(){return console.warn(X),this.queue.plugins.filter(function(e){return"destination"===e.type}).reduce(function(e,t){var r="".concat(t.name.toLowerCase().replace(".","").split(" ").join("-"),"Integration"),n=window[r];if(!n)return e;var i=n.Integration;return i?e[t.name]=i:e[t.name]=n,e},{})},enumerable:!1,configurable:!0}),t.prototype.push=function(e){var t=e.shift();(!t||this[t])&&this[t].apply(this,e)},t}(S.Q),en=r(53826),ei=function(){var e,t,r=new Promise(function(r,n){e=r,t=n});return{resolve:e,reject:t,promise:r}};function eo(){var e=document.getElementsByTagName("link"),t="";return Array.prototype.slice.call(e).forEach(function(e){"canonical"===e.getAttribute("rel")&&(t=e.getAttribute("href"))}),t}function ea(){return{path:function(){var e=eo();if(!e)return window.location.pathname;var t=document.createElement("a");return t.href=e,t.pathname.startsWith("/")?t.pathname:"/"+t.pathname}(),referrer:document.referrer,search:location.search,title:document.title,url:function(e){void 0===e&&(e="");var t=eo();if(t)return t.includes("?")?t:"".concat(t).concat(e);var r=window.location.href,n=r.indexOf("#");return -1===n?r:r.slice(0,n)}(location.search)}}function es(e){var t,r=e.event;r.context=r.context||{};var n=ea(),i=null!==(t=r.properties)&&void 0!==t?t:{};return Object.keys(n).forEach(function(e){i[e]&&(n[e]=i[e])}),r.context.page&&(n=Object.assign({},n,r.context.page)),r.context=Object.assign({},r.context,{page:n}),e.event=r,e}var eu={name:"Page Enrichment",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:function(e){return e.event.properties=Object.assign({},ea(),e.event.properties),e.event.name&&(e.event.properties.name=e.event.name),es(e)},alias:es,track:es,identify:es,group:es},el=r(37624),ec=r(63822),ed=r(18767),eh=function(){function e(e,t){this.version="1.0.0",this.alternativeNames=[],this.middleware=[],this.alias=this._createMethod("alias"),this.group=this._createMethod("group"),this.identify=this._createMethod("identify"),this.page=this._createMethod("page"),this.screen=this._createMethod("screen"),this.track=this._createMethod("track"),this.action=t,this.name=e,this.type=t.type,this.alternativeNames.push(t.name)}return e.prototype.addMiddleware=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];"destination"===this.type&&(e=this.middleware).push.apply(e,t)},e.prototype.transform=function(e){return(0,i.mG)(this,void 0,void 0,function(){var t;return(0,i.Jh)(this,function(r){switch(r.label){case 0:return[4,(0,ed.applyDestinationMiddleware)(this.name,e.event,this.middleware)];case 1:return null===(t=r.sent())&&e.cancel(new _.Y({retry:!1,reason:"dropped by destination middleware"})),[2,new _._(t)]}})})},e.prototype._createMethod=function(e){var t=this;return function(r){return(0,i.mG)(t,void 0,void 0,function(){var t;return(0,i.Jh)(this,function(n){switch(n.label){case 0:if(!this.action[e])return[2,r];if(t=r,"destination"!==this.type)return[3,2];return[4,this.transform(r)];case 1:t=n.sent(),n.label=2;case 2:return[4,this.action[e](t)];case 3:return n.sent(),[2,r]}})})}},e.prototype.isLoaded=function(){return this.action.isLoaded()},e.prototype.ready=function(){return this.action.ready?this.action.ready():Promise.resolve()},e.prototype.load=function(e,t){return this.action.load(e,t)},e.prototype.unload=function(e,t){var r,n;return null===(n=(r=this.action).unload)||void 0===n?void 0:n.call(r,e,t)},e}(),ep=r(25030),ef=function(e){var t=!1;document.addEventListener("pagehide",function(){t||(t=!0,e())}),document.addEventListener("visibilitychange",function(){"hidden"==document.visibilityState?t||(t=!0,e()):t=!1})},em=l();function eg(e){return(encodeURI(JSON.stringify(e)).split(/%..|./).length-1)/1024}"undefined"!=typeof window&&(em=window.fetch||l());var ev=l();"undefined"!=typeof window&&(ev=window.fetch||l());var ey=r(33356),eb=r(42578);function ew(e,t,r,n){var o=this;e||setTimeout(function(){return(0,i.mG)(o,void 0,void 0,function(){var e,o;return(0,i.Jh)(this,function(a){switch(a.label){case 0:return e=!0,[4,function(e,t){return(0,i.mG)(this,void 0,void 0,function(){var r,n=this;return(0,i.Jh)(this,function(o){switch(o.label){case 0:if(r=[],(0,x.s)())return[2,t];return[4,(0,eb.x)(function(){return t.length>0&&!(0,x.s)()},function(){return(0,i.mG)(n,void 0,void 0,function(){var n;return(0,i.Jh)(this,function(i){switch(i.label){case 0:if(!(n=t.pop()))return[2];return[4,(0,M.a)(n,e)];case 1:return i.sent() instanceof _._||r.push(n),[2]}})})})];case 1:return o.sent(),r.map(function(e){return t.pushWithBackoff(e)}),[2,t]}})})}(r,t)];case 1:return o=a.sent(),e=!1,t.todo>0&&n(e,o,r,n),[2]}})})},5e3*Math.random())}var ek=function(e,t,r){r.getCalls(e).forEach(function(e){eD(t,e).catch(console.error)})},ex=ek.bind(void 0,"on"),e_=ek.bind(void 0,"setAnonymousId"),eS=function(e,t){t.toArray().forEach(function(t){setTimeout(function(){eD(e,t).catch(console.error)},0)})},eE=function(){function e(){this._value={}}return e.prototype.toArray=function(){var e;return(e=[]).concat.apply(e,Object.values(this._value))},e.prototype.getCalls=function(e){var t;return null!==(t=this._value[e])&&void 0!==t?t:[]},e.prototype.push=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return t.forEach(function(t){e._value[t.method]?e._value[t.method].push(t):e._value[t.method]=[t]}),this},e.prototype.clear=function(){return this._value={},this},e}();function eD(e,t){return(0,i.mG)(this,void 0,void 0,function(){var r,n;return(0,i.Jh)(this,function(i){switch(i.label){case 0:if(i.trys.push([0,3,,4]),t.called)return[2,void 0];if(t.called=!0,!P(r=e[t.method].apply(e,t.args)))return[3,2];return[4,r];case 1:i.sent(),i.label=2;case 2:return t.resolve(r),[3,4];case 3:return n=i.sent(),t.reject(n),[3,4];case 4:return[2]}})})}var eC=function(){function e(e){var t=this;this._preInitBuffer=new eE,this.trackSubmit=this._createMethod("trackSubmit"),this.trackClick=this._createMethod("trackClick"),this.trackLink=this._createMethod("trackLink"),this.pageView=this._createMethod("pageview"),this.identify=this._createMethod("identify"),this.reset=this._createMethod("reset"),this.group=this._createMethod("group"),this.track=this._createMethod("track"),this.ready=this._createMethod("ready"),this.alias=this._createMethod("alias"),this.debug=this._createChainableMethod("debug"),this.page=this._createMethod("page"),this.once=this._createChainableMethod("once"),this.off=this._createChainableMethod("off"),this.on=this._createChainableMethod("on"),this.addSourceMiddleware=this._createMethod("addSourceMiddleware"),this.setAnonymousId=this._createMethod("setAnonymousId"),this.addDestinationMiddleware=this._createMethod("addDestinationMiddleware"),this.screen=this._createMethod("screen"),this.register=this._createMethod("register"),this.deregister=this._createMethod("deregister"),this.user=this._createMethod("user"),this.VERSION=J.i,this._promise=e(this._preInitBuffer),this._promise.then(function(e){var r=e[0],n=e[1];t.instance=r,t.ctx=n}).catch(function(){})}return e.prototype.then=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return(e=this._promise).then.apply(e,t)},e.prototype.catch=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return(e=this._promise).catch.apply(e,t)},e.prototype.finally=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return(e=this._promise).finally.apply(e,t)},e.prototype._createMethod=function(e){var t=this;return function(){for(var r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return t.instance?Promise.resolve((r=t.instance)[e].apply(r,n)):new Promise(function(r,i){t._preInitBuffer.push({method:e,args:n,resolve:r,reject:i,called:!1})})}},e.prototype._createChainableMethod=function(e){var t=this;return function(){for(var r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return t.instance?(r=t.instance)[e].apply(r,n):t._preInitBuffer.push({method:e,args:n,resolve:function(){},reject:console.error,called:!1}),t}},e}();function ej(e){return{method:e[0],resolve:function(){},reject:console.error,args:e.slice(1),called:!1}}var eO=function(){var e=window.analytics;return Array.isArray(e)?e.splice(0,e.length).map(ej):[]},eT=function(e){function t(){var t=this,n=ei(),o=n.promise,u=n.resolve;return(t=e.call(this,function(e){return o.then(function(t){return function(e,t,n){var o,u,c,d,h,p,f;return void 0===t&&(t={}),(0,i.mG)(this,void 0,void 0,function(){var m,v,y,b,w,k,S,E,D,C;return(0,i.Jh)(this,function(j){var O,P,R,M;switch(j.label){case 0:if(e.cdnURL&&(0,s.UH)(e.cdnURL),!(null!==(o=e.cdnSettings)&&void 0!==o))return[3,1];return v=o,[3,3];case 1:return[4,(O=e.writeKey,R=null!=(P=e.cdnURL)?P:(0,s.Vl)(),l()("".concat(R,"/v1/projects/").concat(O,"/settings")).then(function(e){return e.ok?e.json():e.text().then(function(e){throw Error(e)})}).catch(function(e){throw console.error(e.message),e}))];case 2:v=j.sent(),j.label=3;case 3:return y=null===(c=null===(u=(m=v).integrations["Segment.io"])||void 0===u?void 0:u.retryQueue)||void 0===c||c,w=new er(e,b=(0,i.pi)({retryQueue:y},t)),null===(d=I.attach)||void 0===d||d.call(I,w),k=null!==(h=e.plugins)&&void 0!==h?h:[],_._.initMetrics(m.metrics),M=w,n.push.apply(n,eO()),e_(M,n),ex(M,n),[4,function(e,t,n,o,u){var l,c,d;return(0,i.mG)(this,void 0,void 0,function(){var h,p,f,m,v,y,b,w,k,_,S=this;return(0,i.Jh)(this,function(E){var D,C,j;switch(E.label){case 0:if("test"===a().NODE_ENV||!((null!==(j=null===(C=null===(D=e.middlewareSettings)||void 0===D?void 0:D.routingRules)||void 0===C?void 0:C.length)&&void 0!==j?j:0)>0))return[3,2];return[4,r.e(4604).then(r.bind(r,27725)).then(function(t){return t.tsubMiddleware(e.middlewareSettings.routingRules)})];case 1:return p=E.sent(),[3,3];case 2:p=void 0,E.label=3;case 3:if(h=p,"test"===a().NODE_ENV||!(Object.keys(e.integrations).length>1))return[3,5];return[4,r.e(9464).then(r.bind(r,17761)).then(function(r){return r.ajsDestinations(e,t.integrations,n,h)})];case 4:return m=E.sent(),[3,6];case 5:m=[],E.label=6;case 6:if(f=m,!e.legacyVideoPluginsEnabled)return[3,8];return[4,r.e(8150).then(r.bind(r,83997)).then(function(e){return e.loadLegacyVideoPlugins(t)})];case 7:E.sent(),E.label=8;case 8:if(!(null===(l=n.plan)||void 0===l?void 0:l.track))return[3,10];return[4,r.e(7493).then(r.bind(r,63338)).then(function(t){var r;return t.schemaFilter(null===(r=n.plan)||void 0===r?void 0:r.track,e)})];case 9:return y=E.sent(),[3,11];case 10:y=void 0,E.label=11;case 11:return v=y,b=(0,en.o)(e,o),[4,(function(e,t,r,n,o){var a,u,l;return(0,i.mG)(this,void 0,void 0,function(){var c,d,h,p=this;return(0,i.Jh)(this,function(f){switch(f.label){case 0:return c=[],d=(0,s.Vl)(),h=null!==(u=null===(a=e.middlewareSettings)||void 0===a?void 0:a.routingRules)&&void 0!==u?u:[],[4,Promise.all((null!==(l=e.remotePlugins)&&void 0!==l?l:[]).map(function(e){return(0,i.mG)(p,void 0,void 0,function(){var a,s,u,l,p,f,m,g;return(0,i.Jh)(this,function(v){switch(v.label){case 0:if(!1===t.All&&!t[e.name]||!1===t[e.name])return[2];v.label=1;case 1:if(v.trys.push([1,12,,13]),!n)return[3,7];s=(a=e.url.split("/"))[a.length-2],u=e.url.replace(s,btoa(s).replace(/=/g,"")),v.label=2;case 2:return v.trys.push([2,4,,6]),[4,(0,ec.v)(u.replace("https://cdn.segment.com",d))];case 3:case 5:return v.sent(),[3,6];case 4:return v.sent(),[4,(0,ec.v)(e.url.replace("https://cdn.segment.com",d))];case 6:return[3,9];case 7:return[4,(0,ec.v)(e.url.replace("https://cdn.segment.com",d))];case 8:v.sent(),v.label=9;case 9:if(l=e.libraryName,"function"!=typeof window[l])return[3,11];return p=window[l],[4,(0,el.O)(p((0,i.pi)((0,i.pi)({},e.settings),r[e.name])))];case 10:(function(e){if(!Array.isArray(e))throw Error("Not a valid list of plugins");var t=["load","isLoaded","name","version","type"];e.forEach(function(e){t.forEach(function(t){var r;if(void 0===e[t])throw Error("Plugin: ".concat(null!==(r=e.name)&&void 0!==r?r:"unknown"," missing required function ").concat(t))})})})(m=Array.isArray(f=v.sent())?f:[f]),g=h.filter(function(t){return t.destinationName===e.creationName}),m.forEach(function(t){var r=new eh(e.creationName,t);g.length&&o&&"destination"===t.type&&r.addMiddleware(o),c.push(r)}),v.label=11;case 11:return[3,13];case 12:return console.warn("Failed to load Remote Plugin",v.sent()),[3,13];case 13:return[2]}})})}))];case 1:return f.sent(),[2,c.filter(Boolean)]}})})})(e,t.integrations,b,o.obfuscate,h).catch(function(){return[]})];case 12:return w=E.sent(),k=(0,i.ev)((0,i.ev)((0,i.ev)([g,eu],u,!0),f,!0),w,!0),v&&k.push(v),(null===(c=n.integrations)||void 0===c?void 0:c.All)===!1&&!n.integrations["Segment.io"]||n.integrations&&!1===n.integrations["Segment.io"]||k.push(function(e,t,r){var n,o,a,s,u=e.options.disableClientPersistence?new T.Z(e.queue.queue.maxAttempts,[]):new A.$(e.queue.queue.maxAttempts,"dest-Segment.io"),l=null!==(n=null==t?void 0:t.apiHost)&&void 0!==n?n:"api.segment.io/v1",c=null!==(o=null==t?void 0:t.protocol)&&void 0!==o?o:"https",d="".concat(c,"://").concat(l),h=(null===(a=null==t?void 0:t.deliveryStrategy)||void 0===a?void 0:a.strategy)==="batching"?function(e,t){var r,n,o,a=[],s=!1,u=null!==(r=null==t?void 0:t.size)&&void 0!==r?r:10,l=null!==(n=null==t?void 0:t.timeout)&&void 0!==n?n:5e3;function c(t){if(0!==t.length){var r,n=null===(r=t[0])||void 0===r?void 0:r.writeKey;return em("https://".concat(e,"/b"),{keepalive:s,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({batch:t,writeKey:n})})}}function d(){return(0,i.mG)(this,void 0,void 0,function(){var e;return(0,i.Jh)(this,function(t){return a.length?(e=a,a=[],[2,c(e)]):[2]})})}return ef(function(){if(s=!0,a.length){var e,t;Promise.all((e=[],t=0,a.forEach(function(r){eg(e[t])>=64&&t++,e[t]?e[t].push(r):e[t]=[r]}),e).map(c)).catch(console.error)}}),{dispatch:function(e,t){return(0,i.mG)(this,void 0,void 0,function(){return(0,i.Jh)(this,function(e){return a.push(t),[2,a.length>=u||eg(a)>=450||s?d():void(o||(o=setTimeout(function(){o=void 0,d().catch(console.error)},l)))]})})}}}(l,null===(s=null==t?void 0:t.deliveryStrategy)||void 0===s?void 0:s.config):{dispatch:function(e,t){return ev(e,{headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(t)})}};function p(n){return(0,i.mG)(this,void 0,void 0,function(){var o,a;return(0,i.Jh)(this,function(i){if((0,x.s)())return u.push(n),ew(!1,u,f,ew),[2,n];if(o=n.event.type.charAt(0),a=(0,ep.D)(n.event).json(),"track"===n.event.type&&delete a.traits,"alias"===n.event.type){var s,l,c,p,m,g;s=a,g=e.user(),s.previousId=null!==(p=null!==(c=null!==(l=s.previousId)&&void 0!==l?l:s.from)&&void 0!==c?c:g.id())&&void 0!==p?p:g.anonymousId(),s.userId=null!==(m=s.userId)&&void 0!==m?m:s.to,delete s.from,delete s.to,a=s}return[2,h.dispatch("".concat(d,"/").concat(o),(0,ey.Fv)(e,a,t,r)).then(function(){return n}).catch(function(e){return("error"===e.type||"Failed to fetch"===e.message)&&(u.push(n),ew(!1,u,f,ew)),n})]})})}var f={name:"Segment.io",type:"after",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:p,identify:p,page:p,alias:p,group:p};return f}(t,b["Segment.io"],e.integrations)),[4,t.register.apply(t,k)];case 13:if(_=E.sent(),!Object.entries(null!==(d=e.enabledMiddleware)&&void 0!==d?d:{}).some(function(e){return e[1]}))return[3,15];return[4,r.e(9214).then(r.bind(r,65212)).then(function(r){var n=r.remoteMiddlewares;return(0,i.mG)(S,void 0,void 0,function(){return(0,i.Jh)(this,function(r){switch(r.label){case 0:return[4,n(_,e,o.obfuscate)];case 1:return[2,Promise.all(r.sent().map(function(e){return t.addSourceMiddleware(e)}))]}})})})];case 14:E.sent(),E.label=15;case 15:return[2,_]}})})}(m,w,b,t,k)];case 4:if(S=j.sent(),E=null!==(p=window.location.search)&&void 0!==p?p:"",D=null!==(f=window.location.hash)&&void 0!==f?f:"",!(C=E.length?E:D.replace(/(?=#).*(?=\?)/,"")).includes("ajs_"))return[3,6];return[4,w.queryString(C).catch(console.error)];case 5:j.sent(),j.label=6;case 6:return w.initialized=!0,w.emit("initialize",e,t),t.initialPageview&&w.page().catch(console.error),[4,function(e,t){return(0,i.mG)(this,void 0,void 0,function(){return(0,i.Jh)(this,function(r){switch(r.label){case 0:return t.push.apply(t,eO()),[4,(0,i.mG)(void 0,void 0,void 0,function(){var r,n;return(0,i.Jh)(this,function(i){switch(i.label){case 0:r=0,n=t.getCalls("addSourceMiddleware"),i.label=1;case 1:if(!(r<n.length))return[3,4];return[4,eD(e,n[r]).catch(console.error)];case 2:i.sent(),i.label=3;case 3:return r++,[3,1];case 4:return[2]}})})];case 1:return r.sent(),t.push.apply(t,eO()),eS(e,t),t.clear(),[2]}})})}(w,n)];case 7:return j.sent(),[2,[w,S]]}})})}(t[0],t[1],e)})})||this)._resolveLoadStart=function(e,t){return u([e,t])},t}return(0,i.ZT)(t,e),t.prototype.load=function(e,t){return void 0===t&&(t={}),this._resolveLoadStart(e,t),this},t.load=function(e,r){return void 0===r&&(r={}),new t().load(e,r)},t.standalone=function(e,r){return t.load({writeKey:e},r).then(function(e){return e[0]})},t}(eC)},33404:function(e,t,r){"use strict";r.d(t,{F:function(){return i},U:function(){return o}});var n=r(37624);function i(e,t){return new Promise(function(r,n){var i=setTimeout(function(){n(Error("Promise timed out"))},t);e.then(function(e){return clearTimeout(i),r(e)}).catch(n)})}function o(e,t,r,o){var a=function(){try{return(0,n.O)(t(e))}catch(e){return Promise.reject(e)}};return new Promise(function(e){return setTimeout(e,r)}).then(function(){return i(a(),null!=o?o:1e3)}).catch(function(t){null==e||e.log("warn","Callback Error",{error:t}),null==e||e.stats.increment("callback_error")}).then(function(){return e})}},91946:function(e,t,r){"use strict";r.d(t,{G:function(){return i},s:function(){return o}});var n=r(79677);function i(){return!(0,n.j)()||window.navigator.onLine}function o(){return!i()}},61668:function(e,t,r){"use strict";r.d(t,{_:function(){return g},Y:function(){return m}});var n,i=r(17831),o=r(10380),a=r(5163),s=function(){function e(){var e=this;this._logs=[],this.log=function(t,r,n){var i=new Date;e._logs.push({level:t,message:r,time:i,extras:n})}}return Object.defineProperty(e.prototype,"logs",{get:function(){return this._logs},enumerable:!1,configurable:!0}),e.prototype.flush=function(){if(this.logs.length>1){var e=this._logs.reduce(function(e,t){var r,n,i,o=(0,a.pi)((0,a.pi)({},t),{json:JSON.stringify(t.extras,null," "),extras:t.extras});delete o.time;var s=null!==(i=null===(n=t.time)||void 0===n?void 0:n.toISOString())&&void 0!==i?i:"";return e[s]&&(s="".concat(s,"-").concat(Math.random())),(0,a.pi)((0,a.pi)({},e),((r={})[s]=o,r))},{});console.table?console.table(e):console.log(e)}else this.logs.forEach(function(e){var t=e.level,r=e.message,n=e.extras;"info"===t||"debug"===t?console.log(r,null!=n?n:""):console[t](r,null!=n?n:"")});this._logs=[]},e}(),u=function(){function e(e){this.metrics=[],this.remoteMetrics=e}return e.prototype.increment=function(e,t,r){var n;void 0===t&&(t=1),this.metrics.push({metric:e,value:t,tags:null!=r?r:[],type:"counter",timestamp:Date.now()}),null===(n=this.remoteMetrics)||void 0===n||n.increment(e,null!=r?r:[])},e.prototype.gauge=function(e,t,r){this.metrics.push({metric:e,value:t,tags:null!=r?r:[],type:"gauge",timestamp:Date.now()})},e.prototype.flush=function(){var e=this.metrics.map(function(e){return(0,a.pi)((0,a.pi)({},e),{tags:e.tags.join(",")})});console.table?console.table(e):console.log(e),this.metrics=[]},e.prototype.serialize=function(){return this.metrics.map(function(e){return{m:e.metric,v:e.value,t:e.tags,k:({gauge:"g",counter:"c"})[e.type],e:e.timestamp}})},e}(),l=r(26528),c=r.n(l),d=r(38497),h=r(33356);function p(e){console.error("Error sending segment performance metrics",e)}var f=function(){function e(e){var t,r,n,i,o=this;if(this.host=null!==(t=null==e?void 0:e.host)&&void 0!==t?t:"api.segment.io/v1",this.sampleRate=null!==(r=null==e?void 0:e.sampleRate)&&void 0!==r?r:1,this.flushTimer=null!==(n=null==e?void 0:e.flushTimer)&&void 0!==n?n:3e4,this.maxQueueSize=null!==(i=null==e?void 0:e.maxQueueSize)&&void 0!==i?i:20,this.queue=[],this.sampleRate>0){var a=!1,s=function(){a||(a=!0,o.flush().catch(p),a=!1,setTimeout(s,o.flushTimer))};s()}}return e.prototype.increment=function(e,t){if(!(!e.includes("analytics_js.")||0===t.length||Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var r=t.reduce(function(e,t){var r=t.split(":"),n=r[0],i=r[1];return e[n]=i,e},{});r.library="analytics.js","web"===(0,h.Bz)()?r.library_version="next-".concat(d.i):r.library_version="npm:next-".concat(d.i),this.queue.push({type:"Counter",metric:e,value:1,tags:r}),e.includes("error")&&this.flush().catch(p)}},e.prototype.flush=function(){return(0,a.mG)(this,void 0,void 0,function(){var e=this;return(0,a.Jh)(this,function(t){switch(t.label){case 0:if(this.queue.length<=0)return[2];return[4,this.send().catch(function(t){p(t),e.sampleRate=0})];case 1:return t.sent(),[2]}})})},e.prototype.send=function(){return(0,a.mG)(this,void 0,void 0,function(){var e,t,r;return(0,a.Jh)(this,function(n){return e={series:this.queue},this.queue=[],t={"Content-Type":"text/plain"},r="https://".concat(this.host,"/m"),[2,c()(r,{headers:t,body:JSON.stringify(e),method:"POST"})]})})},e}(),m=function(e){var t,r,n;this.retry=null===(t=e.retry)||void 0===t||t,this.type=null!==(r=e.type)&&void 0!==r?r:"plugin Error",this.reason=null!==(n=e.reason)&&void 0!==n?n:""},g=function(){function e(e,t){this.logger=new s,this.cancel=function(e){if(e)throw e;throw new m({reason:"Context Cancel"})},this._attempts=0,this._event=e,this._id=null!=t?t:(0,i.v4)(),this.stats=new u(n)}return e.initMetrics=function(e){n=new f(e)},e.system=function(){return new e({type:"track",event:"system"})},e.prototype.isSame=function(e){return e._id===this._id},e.prototype.log=function(e,t,r){this.logger.log(e,t,r)},Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"event",{get:function(){return this._event},set:function(e){this._event=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attempts",{get:function(){return this._attempts},set:function(e){this._attempts=e},enumerable:!1,configurable:!0}),e.prototype.updateEvent=function(e,t){var r;if("integrations"===e.split(".")[0]){var n=e.split(".")[1];if((null===(r=this._event.integrations)||void 0===r?void 0:r[n])===!1)return this._event}return(0,o.N)(this._event,e,t),this._event},e.prototype.failedDelivery=function(){return this._failedDelivery},e.prototype.setFailedDelivery=function(e){this._failedDelivery=e},e.prototype.logs=function(){return this.logger.logs},e.prototype.flush=function(){this.logger.flush(),this.stats.flush()},e.prototype.toJSON=function(){return{id:this._id,event:this._event,logs:this.logger.logs,metrics:this.stats.metrics}},e}()},79677:function(e,t,r){"use strict";function n(){return"undefined"!=typeof window}function i(){return!n()}r.d(t,{j:function(){return n},s:function(){return i}})},87554:function(e,t,r){"use strict";function n(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}}r.d(t,{a:function(){return n}})},37759:function(e,t,r){"use strict";r.d(t,{a:function(){return o},z:function(){return a}});var n=r(5163),i=r(61668);function o(e,t){var r="action"in t?t.action.name:t.name;e.log("debug","plugin",{plugin:r});var o=new Date().getTime(),a=t[e.event.type];return void 0===a?Promise.resolve(e):(function(e){return(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,e()];case 1:return[2,t.sent()];case 2:return[2,Promise.reject(t.sent())];case 3:return[2]}})})})(function(){return a.apply(t,[e])}).then(function(e){var t=new Date().getTime()-o;return e.stats.gauge("plugin_time",t,["plugin:".concat(r)]),e}).catch(function(t){if(t instanceof i.Y&&"middleware_cancellation"===t.type)throw t;return t instanceof i.Y?e.log("warn",t.type,{plugin:r,error:t}):(e.log("error","plugin Error",{plugin:r,error:t}),e.stats.increment("plugin_error",1,["plugin:".concat(r)])),t})}function a(e,t){return o(e,t).then(function(t){if(t instanceof i._)return t;e.log("debug","Context canceled"),e.stats.increment("context_canceled"),e.cancel(t)})}},24516:function(e,t,r){"use strict";r.d(t,{P:function(){return i}});var n=r(21805);function i(e){var t=function(e){try{return new URL(e)}catch(e){return}}(e);if(t)for(var r=function(e){var t=e.hostname.split("."),r=t[t.length-1],n=[];if(4===t.length&&parseInt(r,10)>0||t.length<=1)return n;for(var i=t.length-2;i>=0;--i)n.push(t.slice(i).join("."));return n}(t),i=0;i<r.length;++i){var o="__tld__",a=r[i],s={domain:"."+a};try{if(n.Z.set(o,"1",s),n.Z.get(o))return n.Z.remove(o,s),a}catch(e){return}}}},38497:function(e,t,r){"use strict";r.d(t,{i:function(){return n}});var n="1.46.4"},37624:function(e,t,r){"use strict";function n(e){return Promise.resolve(e)}r.d(t,{O:function(){return n}})},63822:function(e,t,r){"use strict";function n(e){return Array.prototype.slice.call(window.document.querySelectorAll("script")).find(function(t){return t.src===e})}function i(e,t){var r=n(e);if(void 0!==r){var i=null==r?void 0:r.getAttribute("status");if("loaded"===i)return Promise.resolve(r);if("loading"===i)return new Promise(function(e,t){r.addEventListener("load",function(){return e(r)}),r.addEventListener("error",function(e){return t(e)})})}return new Promise(function(r,n){var i,o=window.document.createElement("script");o.type="text/javascript",o.src=e,o.async=!0,o.setAttribute("status","loading");for(var a=0,s=Object.entries(null!=t?t:{});a<s.length;a++){var u=s[a],l=u[0],c=u[1];o.setAttribute(l,c)}o.onload=function(){o.onerror=o.onload=null,o.setAttribute("status","loaded"),r(o)},o.onerror=function(){o.onerror=o.onload=null,o.setAttribute("status","error"),n(Error("Failed to load ".concat(e)))};var d=window.document.getElementsByTagName("script")[0];null===(i=d.parentElement)||void 0===i||i.insertBefore(o,d)})}function o(e){var t=n(e);return void 0!==t&&t.remove(),Promise.resolve()}r.d(t,{t:function(){return o},v:function(){return i}})},53826:function(e,t,r){"use strict";r.d(t,{o:function(){return i}});var n=r(5163);function i(e,t){var r,i=Object.entries(null!==(r=t.integrations)&&void 0!==r?r:{}).reduce(function(e,t){var r,i,o=t[0],a=t[1];return"object"==typeof a?(0,n.pi)((0,n.pi)({},e),((r={})[o]=a,r)):(0,n.pi)((0,n.pi)({},e),((i={})[o]={},i))},{});return Object.entries(e.integrations).reduce(function(e,t){var r,o=t[0],a=t[1];return(0,n.pi)((0,n.pi)({},e),((r={})[o]=(0,n.pi)((0,n.pi)({},a),i[o]),r))},{})}},42578:function(e,t,r){"use strict";r.d(t,{x:function(){return i}});var n=r(5163),i=function(e,t){return(0,n.mG)(void 0,void 0,void 0,function(){var r;return(0,n.Jh)(this,function(i){return[2,(r=function(i){return(0,n.mG)(void 0,void 0,void 0,function(){var o;return(0,n.Jh)(this,function(n){switch(n.label){case 0:if(!e(i))return[3,2];return o=r,[4,t()];case 1:return[2,o.apply(void 0,[n.sent()])];case 2:return[2]}})})})(void 0)]})})}},91329:function(e,t,r){"use strict";r.d(t,{Kg:function(){return l},UH:function(){return s},Vl:function(){return u}});var n,i=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,o=function(){var e;return Array.prototype.slice.call(document.querySelectorAll("script")).forEach(function(t){var r,n=null!==(r=t.getAttribute("src"))&&void 0!==r?r:"",o=i.exec(n);o&&o[1]&&(e=o[1])}),e},a=function(){var e;return null!=n?n:null===(e=window.analytics)||void 0===e?void 0:e._cdn},s=function(e){window.analytics&&(window.analytics._cdn=e),n=e},u=function(){var e=a();return e?e:o()||"https://cdn.segment.com"},l=function(){var e=u();return"".concat(e,"/next-integrations")}},98552:function(e,t,r){"use strict";r.d(t,{M:function(){return o},Z:function(){return a}});var n=r(5163),i=r(71154),o="onRemoveFromFuture",a=function(e){function t(t,r,n){var i=e.call(this)||this;return i.future=[],i.maxAttempts=t,i.queue=r,i.seen=null!=n?n:{},i}return(0,n.ZT)(t,e),t.prototype.push=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=t.map(function(t){return!(e.updateAttempts(t)>e.maxAttempts||e.includes(t))&&(e.queue.push(t),!0)});return this.queue=this.queue.sort(function(t,r){return e.getAttempts(t)-e.getAttempts(r)}),n},t.prototype.pushWithBackoff=function(e){var t,r,n,i,a,s=this;if(0===this.getAttempts(e))return this.push(e)[0];var u=this.updateAttempts(e);return!(u>this.maxAttempts||this.includes(e))&&(setTimeout(function(){s.queue.push(e),s.future=s.future.filter(function(t){return t.id!==e.id}),s.emit(o)},(t={attempt:u-1},r=Math.random()+1,n=t.minTimeout,Math.min(r*(void 0===n?500:n)*Math.pow(void 0===(i=t.factor)?2:i,t.attempt),void 0===(a=t.maxTimeout)?1/0:a))),this.future.push(e),!0)},t.prototype.getAttempts=function(e){var t;return null!==(t=this.seen[e.id])&&void 0!==t?t:0},t.prototype.updateAttempts=function(e){return this.seen[e.id]=this.getAttempts(e)+1,this.getAttempts(e)},t.prototype.includes=function(e){return this.queue.includes(e)||this.future.includes(e)||!!this.queue.find(function(t){return t.id===e.id})||!!this.future.find(function(t){return t.id===e.id})},t.prototype.pop=function(){return this.queue.shift()},Object.defineProperty(t.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),t}(i.Q)},46804:function(e,t,r){"use strict";r.d(t,{$:function(){return h}});var n=r(5163),i=r(98552),o=r(61668),a=r(79677),s={getItem:function(){},setItem:function(){},removeItem:function(){}};try{s=(0,a.j)()&&window.localStorage?window.localStorage:s}catch(e){console.warn("Unable to access localStorage",e)}function u(e){var t=s.getItem(e);return(t?JSON.parse(t):[]).map(function(e){return new o._(e.event,e.id)})}function l(e){var t=s.getItem(e);return t?JSON.parse(t):{}}function c(e){s.removeItem(e)}function d(e,t,r){void 0===r&&(r=0);var n="persisted-queue:v1:".concat(e,":lock"),i=s.getItem(n),o=i?JSON.parse(i):null,a=null===o||new Date().getTime()>o;if(a){s.setItem(n,JSON.stringify(new Date().getTime()+50)),t(),s.removeItem(n);return}!a&&r<3?setTimeout(function(){d(e,t,r+1)},50):console.error("Unable to retrieve lock")}var h=function(e){function t(t,r){var i=e.call(this,t,[])||this,o="persisted-queue:v1:".concat(r,":items"),a="persisted-queue:v1:".concat(r,":seen"),h=[],p={};return d(r,function(){try{h=u(o),p=l(a),c(o),c(a),i.queue=(0,n.ev)((0,n.ev)([],h,!0),i.queue,!0),i.seen=(0,n.pi)((0,n.pi)({},p),i.seen)}catch(e){console.error(e)}}),document.addEventListener("pagehide",function(){if(i.todo>0){var e=(0,n.ev)((0,n.ev)([],i.queue,!0),i.future,!0);try{d(r,function(){var t,r,c,d;t=u(o),r=(0,n.ev)((0,n.ev)([],e,!0),t,!0).reduce(function(e,t){var r;return(0,n.pi)((0,n.pi)({},e),((r={})[t.id]=t,r))},{}),s.setItem(o,JSON.stringify(Object.values(r))),c=i.seen,d=l(a),s.setItem(a,JSON.stringify((0,n.pi)((0,n.pi)({},d),c)))})}catch(e){console.error(e)}}}),i}return(0,n.ZT)(t,e),t}(i.Z)},25030:function(e,t,r){"use strict";r.d(t,{D:function(){return i}});var n=r(64122);function i(e,t){var r=new n.Facade(e,t);return"track"===e.type&&(r=new n.Track(e,t)),"identify"===e.type&&(r=new n.Identify(e,t)),"page"===e.type&&(r=new n.Page(e,t)),"alias"===e.type&&(r=new n.Alias(e,t)),"group"===e.type&&(r=new n.Group(e,t)),"screen"===e.type&&(r=new n.Screen(e,t)),Object.defineProperty(r,"obj",{value:e,writable:!0}),r}},18767:function(e,t,r){"use strict";r.r(t),r.d(t,{applyDestinationMiddleware:function(){return s},sourceMiddlewarePlugin:function(){return u}});var n=r(5163),i=r(61668),o=r(37624),a=r(25030);function s(e,t,r){return(0,n.mG)(this,void 0,void 0,function(){var i,s,u,l,c;return(0,n.Jh)(this,function(d){switch(d.label){case 0:i=(0,a.D)(t,{clone:!0,traverse:!1}).rawEvent(),s=0,u=r,d.label=1;case 1:if(!(s<u.length))return[3,4];return l=u[s],[4,function(t,r){return(0,n.mG)(this,void 0,void 0,function(){var i,s,u;return(0,n.Jh)(this,function(l){switch(l.label){case 0:return i=!1,s=null,[4,(0,o.O)(r({payload:(0,a.D)(t,{clone:!0,traverse:!1}),integration:e,next:function(e){i=!0,null===e&&(s=null),e&&(s=e.obj)}}))];case 1:return l.sent(),i||null===s||(s.integrations=(0,n.pi)((0,n.pi)({},t.integrations),((u={})[e]=!1,u))),[2,s]}})})}(i,l)];case 2:if(null===(c=d.sent()))return[2,null];i=c,d.label=3;case 3:return s++,[3,1];case 4:return[2,i]}})})}function u(e,t){function r(r){return(0,n.mG)(this,void 0,void 0,function(){var s;return(0,n.Jh)(this,function(n){switch(n.label){case 0:return s=!1,[4,(0,o.O)(e({payload:(0,a.D)(r.event,{clone:!0,traverse:!1}),integrations:null!=t?t:{},next:function(e){s=!0,e&&(r.event=e.obj)}}))];case 1:if(n.sent(),!s)throw new i.Y({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,r]}})})}return{name:"Source Middleware ".concat(e.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(e){return Promise.resolve(e)},track:r,page:r,identify:r,alias:r,group:r}}},33356:function(e,t,r){"use strict";r.d(t,{Bz:function(){return l},Fv:function(){return c}});var n,i=r(5163),o=r(21805),a=r(87554),s=r(24516),u=r(38497);function l(){return"npm"}function c(e,t,r,c){var d,h,p,f,m,g,v,y,b=e.user(),w=window.location.search;t.context=null!==(g=null!==(m=t.context)&&void 0!==m?m:t.options)&&void 0!==g?g:{};var k=t.context;delete t.options,t.writeKey=null==r?void 0:r.apiKey,k.userAgent=window.navigator.userAgent;var x=navigator.userLanguage||navigator.language;void 0===k.locale&&void 0!==x&&(k.locale=x),k.library||("web"===l()?k.library={name:"analytics.js",version:"next-".concat(u.i)}:k.library={name:"analytics.js",version:"npm:next-".concat(u.i)}),w&&!k.campaign&&(k.campaign=((f=w).startsWith("?")&&(f=f.substring(1)),(f=f.replace(/\?/g,"&")).split("&").reduce(function(e,t){var r=t.split("="),n=r[0],i=r[1];if(n.includes("utm_")&&n.length>4){var o=n.substr(4);"campaign"===o&&(o="name"),e[o]=(0,a.a)(void 0===i?"":i)}return e},{}))),d=null!==(v=e.options.disableClientPersistence)&&void 0!==v&&v,h=o.Z.get("s:context.referrer"),p=function(e){var t={btid:"dataxu",urid:"millennial-media"};e.startsWith("?")&&(e=e.substring(1));for(var r=(e=e.replace(/\?/g,"&")).split("&"),n=0;n<r.length;n++){var i=r[n].split("="),o=i[0],a=i[1];if(t[o])return{id:a,type:t[o]}}}(w),h=h?JSON.parse(h):void 0,(p=null!=p?p:h)&&(k&&(k.referrer=(0,i.pi)((0,i.pi)({},k.referrer),p)),d||o.Z.set("s:context.referrer",JSON.stringify(p),function(){if(n)return n;var e=(0,s.P)(window.location.href);return n={expires:31536e6,secure:!1,path:"/"},e&&(n.domain=e),n}())),t.userId=t.userId||b.id(),t.anonymousId=t.anonymousId||b.anonymousId(),t.sentAt=new Date;var _=e.queue.failedInitializations||[];_.length>0&&(t._metadata={failedInitializations:_});var S=[],E=[];for(var D in c){var C=c[D];"Segment.io"===D&&S.push(D),"bundled"===C.bundlingStatus&&S.push(D),"unbundled"===C.bundlingStatus&&E.push(D)}for(var j=0,O=(null==r?void 0:r.unbundledIntegrations)||[];j<O.length;j++){var T=O[j];E.includes(T)||E.push(T)}var A=null!==(y=null==r?void 0:r.maybeBundledConfigIds)&&void 0!==y?y:{},P=[];S.sort().forEach(function(e){var t;(null!==(t=A[e])&&void 0!==t?t:[]).forEach(function(e){P.push(e)})}),(null==r?void 0:r.addBundledMetadata)!==!1&&(t._metadata=(0,i.pi)((0,i.pi)({},t._metadata),{bundled:S.sort(),unbundled:E.sort(),bundledIds:P}));var R=function(){var e=o.Z.get("_ga");if(e&&e.startsWith("amp"))return e}();return R&&(k.amp={id:R}),t}},38878: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(70325));function o(e,t){return function(){var r=this.traits(),n=this.properties?this.properties():{};return i.default(r,"address."+e)||i.default(r,e)||(t?i.default(r,"address."+t):null)||(t?i.default(r,t):null)||i.default(n,"address."+e)||i.default(n,e)||(t?i.default(n,"address."+t):null)||(t?i.default(n,t):null)}}t.default=function(e){e.zip=o("postalCode","zip"),e.country=o("country"),e.street=o("street"),e.state=o("state"),e.city=o("city"),e.region=o("region")}},44780: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}),t.Alias=void 0;var i=n(r(91285)),o=r(39512);function a(e,t){o.Facade.call(this,e,t)}t.Alias=a,i.default(a,o.Facade),a.prototype.action=function(){return"alias"},a.prototype.type=a.prototype.action,a.prototype.previousId=function(){return this.field("previousId")||this.field("from")},a.prototype.from=a.prototype.previousId,a.prototype.userId=function(){return this.field("userId")||this.field("to")},a.prototype.to=a.prototype.userId},4814:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function e(t){if("[object Object]"===Object.prototype.toString.call(t)){var r={};for(var n in t)r[n]=e(t[n]);return r}return Array.isArray(t)?t.map(e):t}},95257: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}),t.Delete=void 0;var i=n(r(91285)),o=r(39512);function a(e,t){o.Facade.call(this,e,t)}t.Delete=a,i.default(a,o.Facade),a.prototype.type=function(){return"delete"}},39512: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}),t.Facade=void 0;var i=n(r(38878)),o=r(4814),a=n(r(92272)),s=n(r(55870)),u=n(r(70325)),l=n(r(36279));function c(e,t){t=t||{},this.raw=o.clone(e),"clone"in t||(t.clone=!0),t.clone&&(e=o.clone(e)),"traverse"in t||(t.traverse=!0),"timestamp"in e?e.timestamp=s.default(e.timestamp):e.timestamp=new Date,t.traverse&&l.default(e),this.opts=t,this.obj=e}t.Facade=c;var d=c.prototype;function h(e){return o.clone(e)}d.proxy=function(e){var t,r=e.split("."),n=this[e=r.shift()]||this.field(e);return n?("function"==typeof n&&(n=n.call(this)||{}),0===r.length||(n=u.default(n,r.join("."))),this.opts.clone?(t=n,o.clone(t)):n):n},d.field=function(e){var t,r=this.obj[e];return this.opts.clone?(t=r,o.clone(t)):r},c.proxy=function(e){return function(){return this.proxy(e)}},c.field=function(e){return function(){return this.field(e)}},c.multi=function(e){return function(){var t=this.proxy(e+"s");if(Array.isArray(t))return t;var r=this.proxy(e);return r&&(r=[this.opts.clone?o.clone(r):r]),r||[]}},c.one=function(e){return function(){var t=this.proxy(e);if(t)return t;var r=this.proxy(e+"s");if(Array.isArray(r))return r[0]}},d.json=function(){var e=this.opts.clone?o.clone(this.obj):this.obj;return this.type&&(e.type=this.type()),e},d.rawEvent=function(){return this.raw},d.options=function(e){var t=this.obj.options||this.obj.context||{},r=this.opts.clone?o.clone(t):t;if(!e)return r;if(this.enabled(e)){var n=this.integrations(),i=n[e]||u.default(n,e);return"object"!=typeof i&&(i=u.default(this.options(),e)),"object"==typeof i?i:{}}},d.context=d.options,d.enabled=function(e){var t=this.proxy("options.providers.all");"boolean"!=typeof t&&(t=this.proxy("options.all")),"boolean"!=typeof t&&(t=this.proxy("integrations.all")),"boolean"!=typeof t&&(t=!0);var r=t&&a.default(e),n=this.integrations();if(n.providers&&n.providers.hasOwnProperty(e)&&(r=n.providers[e]),n.hasOwnProperty(e)){var i=n[e];r="boolean"!=typeof i||i}return!!r},d.integrations=function(){return this.obj.integrations||this.proxy("options.providers")||this.options()},d.active=function(){var e=this.proxy("options.active");return null==e&&(e=!0),e},d.anonymousId=function(){return this.field("anonymousId")||this.field("sessionId")},d.sessionId=d.anonymousId,d.groupId=c.proxy("options.groupId"),d.traits=function(e){var t=this.proxy("options.traits")||{},r=this.userId();for(var n in e=e||{},r&&(t.id=r),e){var i=null==this[n]?this.proxy("options.traits."+n):this[n]();null!=i&&(t[e[n]]=i,delete t[n])}return t},d.library=function(){var e=this.proxy("options.library");return e?"string"==typeof e?{name:e,version:null}:e:{name:"unknown",version:null}},d.device=function(){var e=this.proxy("context.device");("object"!=typeof e||null===e)&&(e={});var t=this.library().name;return e.type||(t.indexOf("ios")>-1&&(e.type="ios"),t.indexOf("android")>-1&&(e.type="android")),e},d.userAgent=c.proxy("context.userAgent"),d.timezone=c.proxy("context.timezone"),d.timestamp=c.field("timestamp"),d.channel=c.field("channel"),d.ip=c.proxy("context.ip"),d.userId=c.field("userId"),i.default(d)},60615: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}),t.Group=void 0;var i=n(r(91285)),o=n(r(64554)),a=n(r(55870)),s=r(39512);function u(e,t){s.Facade.call(this,e,t)}t.Group=u,i.default(u,s.Facade);var l=u.prototype;l.action=function(){return"group"},l.type=l.action,l.groupId=s.Facade.field("groupId"),l.created=function(){var e=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(e)return a.default(e)},l.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.groupId();if(o.default(t))return t},l.traits=function(e){var t=this.properties(),r=this.groupId();for(var n in e=e||{},r&&(t.id=r),e){var i=null==this[n]?this.proxy("traits."+n):this[n]();null!=i&&(t[e[n]]=i,delete t[n])}return t},l.name=s.Facade.proxy("traits.name"),l.industry=s.Facade.proxy("traits.industry"),l.employees=s.Facade.proxy("traits.employees"),l.properties=function(){return this.field("traits")||this.field("properties")||{}}},4705: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}),t.Identify=void 0;var i=r(39512),o=n(r(70325)),a=n(r(91285)),s=n(r(64554)),u=n(r(55870)),l=function(e){return e.trim()};function c(e,t){i.Facade.call(this,e,t)}t.Identify=c,a.default(c,i.Facade);var d=c.prototype;d.action=function(){return"identify"},d.type=d.action,d.traits=function(e){var t=this.field("traits")||{},r=this.userId();for(var n in e=e||{},r&&(t.id=r),e){var i=null==this[n]?this.proxy("traits."+n):this[n]();null!=i&&(t[e[n]]=i,n!==e[n]&&delete t[n])}return t},d.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.userId();if(s.default(t))return t},d.created=function(){var e=this.proxy("traits.created")||this.proxy("traits.createdAt");if(e)return u.default(e)},d.companyCreated=function(){var e=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(e)return u.default(e)},d.companyName=function(){return this.proxy("traits.company.name")},d.name=function(){var e=this.proxy("traits.name");if("string"==typeof e)return l(e);var t=this.firstName(),r=this.lastName();if(t&&r)return l(t+" "+r)},d.firstName=function(){var e=this.proxy("traits.firstName");if("string"==typeof e)return l(e);var t=this.proxy("traits.name");if("string"==typeof t)return l(t).split(" ")[0]},d.lastName=function(){var e=this.proxy("traits.lastName");if("string"==typeof e)return l(e);var t=this.proxy("traits.name");if("string"==typeof t){var r=l(t).indexOf(" ");if(-1!==r)return l(t.substr(r+1))}},d.uid=function(){return this.userId()||this.username()||this.email()},d.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")},d.age=function(){var e=this.birthday(),t=o.default(this.traits(),"age");return null!=t?t:e instanceof Date?new Date().getFullYear()-e.getFullYear():void 0},d.avatar=function(){var e=this.traits();return o.default(e,"avatar")||o.default(e,"photoUrl")||o.default(e,"avatarUrl")},d.position=function(){var e=this.traits();return o.default(e,"position")||o.default(e,"jobTitle")},d.username=i.Facade.proxy("traits.username"),d.website=i.Facade.one("traits.website"),d.websites=i.Facade.multi("traits.website"),d.phone=i.Facade.one("traits.phone"),d.phones=i.Facade.multi("traits.phone"),d.address=i.Facade.proxy("traits.address"),d.gender=i.Facade.proxy("traits.gender"),d.birthday=i.Facade.proxy("traits.birthday")},64122:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Delete=t.Screen=t.Page=t.Track=t.Identify=t.Group=t.Alias=t.Facade=void 0;var i=r(39512);Object.defineProperty(t,"Facade",{enumerable:!0,get:function(){return i.Facade}});var o=r(44780);Object.defineProperty(t,"Alias",{enumerable:!0,get:function(){return o.Alias}});var a=r(60615);Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return a.Group}});var s=r(4705);Object.defineProperty(t,"Identify",{enumerable:!0,get:function(){return s.Identify}});var u=r(85480);Object.defineProperty(t,"Track",{enumerable:!0,get:function(){return u.Track}});var l=r(75926);Object.defineProperty(t,"Page",{enumerable:!0,get:function(){return l.Page}});var c=r(61207);Object.defineProperty(t,"Screen",{enumerable:!0,get:function(){return c.Screen}});var d=r(95257);Object.defineProperty(t,"Delete",{enumerable:!0,get:function(){return d.Delete}}),t.default=n(n({},i.Facade),{Alias:o.Alias,Group:a.Group,Identify:s.Identify,Track:u.Track,Page:l.Page,Screen:c.Screen,Delete:d.Delete})},64554:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=/.+\@.+\..+/;t.default=function(e){return r.test(e)}},92272:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={Salesforce:!0};t.default=function(e){return!r[e]}},75926: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}),t.Page=void 0;var i=n(r(91285)),o=r(39512),a=r(85480),s=n(r(64554));function u(e,t){o.Facade.call(this,e,t)}t.Page=u,i.default(u,o.Facade);var l=u.prototype;l.action=function(){return"page"},l.type=l.action,l.category=o.Facade.field("category"),l.name=o.Facade.field("name"),l.title=o.Facade.proxy("properties.title"),l.path=o.Facade.proxy("properties.path"),l.url=o.Facade.proxy("properties.url"),l.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},l.properties=function(e){var t=this.field("properties")||{},r=this.category(),n=this.name();for(var i in e=e||{},r&&(t.category=r),n&&(t.name=n),e){var o=null==this[i]?this.proxy("properties."+i):this[i]();null!=o&&(t[e[i]]=o,i!==e[i]&&delete t[i])}return t},l.email=function(){var e=this.proxy("context.traits.email")||this.proxy("properties.email");if(e)return e;var t=this.userId();if(s.default(t))return t},l.fullName=function(){var e=this.category(),t=this.name();return t&&e?e+" "+t:t},l.event=function(e){return e?"Viewed "+e+" Page":"Loaded a Page"},l.track=function(e){var t=this.json();return t.event=this.event(e),t.timestamp=this.timestamp(),t.properties=this.properties(),new a.Track(t,this.opts)}},61207: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}),t.Screen=void 0;var i=n(r(91285)),o=r(75926),a=r(85480);function s(e,t){o.Page.call(this,e,t)}t.Screen=s,i.default(s,o.Page),s.prototype.action=function(){return"screen"},s.prototype.type=s.prototype.action,s.prototype.event=function(e){return e?"Viewed "+e+" Screen":"Loaded a Screen"},s.prototype.track=function(e){var t=this.json();return t.event=this.event(e),t.timestamp=this.timestamp(),t.properties=this.properties(),new a.Track(t,this.opts)}},85480: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}),t.Track=void 0;var i=n(r(91285)),o=r(39512),a=r(4705),s=n(r(64554)),u=n(r(70325));function l(e,t){o.Facade.call(this,e,t)}t.Track=l,i.default(l,o.Facade);var c=l.prototype;c.action=function(){return"track"},c.type=c.action,c.event=o.Facade.field("event"),c.value=o.Facade.proxy("properties.value"),c.category=o.Facade.proxy("properties.category"),c.id=o.Facade.proxy("properties.id"),c.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")},c.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")},c.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")},c.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")},c.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")},c.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")},c.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")},c.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")},c.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")},c.sku=o.Facade.proxy("properties.sku"),c.tax=o.Facade.proxy("properties.tax"),c.name=o.Facade.proxy("properties.name"),c.price=o.Facade.proxy("properties.price"),c.total=o.Facade.proxy("properties.total"),c.repeat=o.Facade.proxy("properties.repeat"),c.coupon=o.Facade.proxy("properties.coupon"),c.shipping=o.Facade.proxy("properties.shipping"),c.discount=o.Facade.proxy("properties.discount"),c.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")},c.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")},c.description=o.Facade.proxy("properties.description"),c.plan=o.Facade.proxy("properties.plan"),c.subtotal=function(){var e=u.default(this.properties(),"subtotal"),t=this.total()||this.revenue();if(e)return e;if(!t)return 0;if(this.total()){var r=this.tax();r&&(t-=r),(r=this.shipping())&&(t-=r),(r=this.discount())&&(t+=r)}return t},c.products=function(){var e=this.properties(),t=u.default(e,"products");return Array.isArray(t)?t.filter(function(e){return null!==e}):[]},c.quantity=function(){return(this.obj.properties||{}).quantity||1},c.currency=function(){return(this.obj.properties||{}).currency||"USD"},c.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},c.query=o.Facade.proxy("options.query"),c.properties=function(e){var t=this.field("properties")||{};for(var r in e=e||{}){var n=null==this[r]?this.proxy("properties."+r):this[r]();null!=n&&(t[e[r]]=n,delete t[r])}return t},c.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()},c.email=function(){var e=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(e)return e;var t=this.userId();if(s.default(t))return t},c.revenue=function(){var e=this.proxy("properties.revenue"),t=this.event();return!e&&t&&t.match(/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i)&&(e=this.proxy("properties.total")),function(e){if(e&&("number"==typeof e||"string"==typeof e&&!isNaN(e=parseFloat(e=e.replace(/\$/g,"")))))return e}(e)},c.cents=function(){var e=this.revenue();return"number"!=typeof e?this.value()||0:100*e},c.identify=function(){var e=this.json();return e.traits=this.traits(),new a.Identify(e,this.opts)}},36279:function(e,t,r){"use strict";var n=r(88264);e.exports=function e(t,r){var i,o;return(void 0===r&&(r=!0),t&&"object"==typeof t)?(i=r,Object.keys(t).forEach(function(r){t[r]=e(t[r],i)}),t):Array.isArray(t)?(o=r,t.forEach(function(r,n){t[n]=e(r,o)}),t):n.is(t,r)?n.parse(t):t}},88264:function(e,t){"use strict";var r=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;t.parse=function(e){var t=[1,5,6,7,11,12],n=r.exec(e),i=0;if(!n)return new Date(e);for(var o,a=0;o=t[a];a++)n[o]=parseInt(n[o],10)||0;return n[2]=parseInt(n[2],10)||1,n[3]=parseInt(n[3],10)||1,n[2]--,n[8]=n[8]?(n[8]+"00").substring(0,3):0," "===n[4]?i=new Date().getTimezoneOffset():"Z"!==n[9]&&n[10]&&(i=60*n[11]+n[12],"+"===n[10]&&(i=0-i)),new Date(Date.UTC(n[1],n[2],n[3],n[5],n[6]+i,n[7],n[8]))},t.is=function(e,t){return"string"==typeof e&&(!t||!1!==/^\d{4}-\d{2}-\d{2}/.test(e))&&r.test(e)}},66475:function(e,t,r){"use strict";let n;r.d(t,{Tb:function(){return D}});var i,o,a=r(65907);function s(){var e=(0,a.R)(),t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");var r=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&r())>>e/4).toString(16))}var u=r(7790),l=(0,a.R)(),c=["debug","info","warn","error","log","assert","trace"];function d(e){var t=(0,a.R)();if(!("console"in t))return e();var r=t.console,n={};c.forEach(e=>{var i=r[e]&&r[e].__sentry_original__;e in t.console&&i&&(n[e]=r[e],r[e]=i)});try{return e()}finally{Object.keys(n).forEach(e=>{r[e]=n[e]})}}function h(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?c.forEach(r=>{t[r]=(...t)=>{e&&d(()=>{l.console[r](`Sentry Logger [${r}]:`,...t)})}}):c.forEach(e=>{t[e]=()=>void 0}),t}"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?n=(0,a.Y)("logger",h):n=h();var p=r(4266),f=Object.prototype.toString;function m(e){return"[object Object]"===f.call(e)}function g(e){return!!(e&&e.then&&"function"==typeof e.then)}(i=o||(o={}))[i.PENDING=0]="PENDING",i[i.RESOLVED=1]="RESOLVED",i[i.REJECTED=2]="REJECTED";class v{__init(){this._state=o.PENDING}__init2(){this._handlers=[]}constructor(e){v.prototype.__init.call(this),v.prototype.__init2.call(this),v.prototype.__init3.call(this),v.prototype.__init4.call(this),v.prototype.__init5.call(this),v.prototype.__init6.call(this);try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new v((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new v((t,r)=>{let n,i;return this.then(t=>{i=!1,n=t,e&&e()},t=>{i=!0,n=t,e&&e()}).then(()=>{if(i){r(n);return}t(n)})})}__init3(){this._resolve=e=>{this._setResult(o.RESOLVED,e)}}__init4(){this._reject=e=>{this._setResult(o.REJECTED,e)}}__init5(){this._setResult=(e,t)=>{if(this._state===o.PENDING){if(g(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state!==o.PENDING){var e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===o.RESOLVED&&e[1](this._value),this._state===o.REJECTED&&e[2](this._value),e[0]=!0)})}}}}function y(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,u.ph)(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:s()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{var r=e.timestamp-e.started;e.duration=r>=0?r:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}class b{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(e){var t=new b;return e&&(t._breadcrumbs=[...e._breadcrumbs],t._tags={...e._tags},t._extra={...e._extra},t._contexts={...e._contexts},t._user=e._user,t._level=e._level,t._span=e._span,t._session=e._session,t._transactionName=e._transactionName,t._fingerprint=e._fingerprint,t._eventProcessors=[...e._eventProcessors],t._requestSession=e._requestSession,t._attachments=[...e._attachments]),t}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&y(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts={...this._contexts,[e]:t},this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if("function"==typeof e){var t=e(this);return t instanceof b?t:this}return e instanceof b?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):m(e)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(e,t){var r="number"==typeof t?Math.min(t,100):100;if(r<=0)return this;var n={timestamp:(0,u.yW)(),...e};return this._breadcrumbs=[...this._breadcrumbs,n].slice(-r),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e,t={}){if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};var r=this._span.transaction&&this._span.transaction.name;r&&(e.tags={transaction:r,...e.tags})}return this._applyFingerprint(e),e.breadcrumbs=[...e.breadcrumbs||[],...this._breadcrumbs],e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...(0,a.Y)("globalEventProcessors",()=>[]),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}_notifyEventProcessors(e,t,r,i=0){return new v((o,a)=>{var s=e[i];if(null===t||"function"!=typeof s)o(t);else{var u=s({...t},r);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.id&&null===u&&n.log(`Event processor "${s.id}" dropped event`),g(u)?u.then(t=>this._notifyEventProcessors(e,t,r,i+1).then(o)).then(null,a):this._notifyEventProcessors(e,u,r,i+1).then(o).then(null,a)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}class w{__init(){this._stack=[{}]}constructor(e,t=new b,r=4){this._version=r,w.prototype.__init.call(this),this.getStackTop().scope=t,e&&this.bindClient(e)}isOlderThan(e){return this._version<e}bindClient(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){var e=b.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){var r=this._lastEventId=t&&t.event_id?t.event_id:s(),n=Error("Sentry syntheticException");return this._withClient((i,o)=>{i.captureException(e,{originalException:e,syntheticException:n,...t,event_id:r},o)}),r}captureMessage(e,t,r){var n=this._lastEventId=r&&r.event_id?r.event_id:s(),i=Error(e);return this._withClient((o,a)=>{o.captureMessage(e,t,{originalException:e,syntheticException:i,...r,event_id:n},a)}),n}captureEvent(e,t){var r=t&&t.event_id?t.event_id:s();return"transaction"!==e.type&&(this._lastEventId=r),this._withClient((n,i)=>{n.captureEvent(e,{...t,event_id:r},i)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){let{scope:r,client:n}=this.getStackTop();if(!r||!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:o=100}=n.getOptions&&n.getOptions()||{};if(!(o<=0)){var a={timestamp:(0,u.yW)(),...e},s=i?d(()=>i(a,t)):a;null!==s&&r.addBreadcrumb(s,o)}}setUser(e){var t=this.getScope();t&&t.setUser(e)}setTags(e){var t=this.getScope();t&&t.setTags(e)}setExtras(e){var t=this.getScope();t&&t.setExtras(e)}setTag(e,t){var r=this.getScope();r&&r.setTag(e,t)}setExtra(e,t){var r=this.getScope();r&&r.setExtra(e,t)}setContext(e,t){var r=this.getScope();r&&r.setContext(e,t)}configureScope(e){let{scope:t,client:r}=this.getStackTop();t&&r&&e(t)}run(e){var t=x(this);try{e(this)}finally{x(t)}}getIntegration(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&n.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){return this._callExtensionMethod("startTransaction",e,t)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){var e=this.getStackTop(),t=e&&e.scope,r=t&&t.getSession();if(r){let e;e={},"ok"===r.status&&(e={status:"exited"}),y(r,e)}this._sendSessionUpdate(),t&&t.setSession()}startSession(e){let{scope:t,client:r}=this.getStackTop(),{release:n,environment:i}=r&&r.getOptions()||{},{userAgent:o}=(0,a.R)().navigator||{};var l,c,d,h=(l={release:n,environment:i,...t&&{user:t.getUser()},...o&&{userAgent:o},...e},c=(0,u.ph)(),d={sid:s(),init:!0,timestamp:c,started:c,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=d,function e(t,r){if(m(t)){var n=r.get(t);if(void 0!==n)return n;var i={};for(var o of(r.set(t,i),Object.keys(t)))void 0!==t[o]&&(i[o]=e(t[o],r));return i}if(Array.isArray(t)){var n=r.get(t);if(void 0!==n)return n;var i=[];return r.set(t,i),t.forEach(t=>{i.push(e(t,r))}),i}return t}({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}},new Map)}},l&&y(d,l),d);if(t){var p=t.getSession&&t.getSession();p&&"ok"===p.status&&y(p,{status:"exited"}),this.endSession(),t.setSession(h)}return h}shouldSendDefaultPii(){var e=this.getClient(),t=e&&e.getOptions();return!!(t&&t.sendDefaultPii)}_sendSessionUpdate(){let{scope:e,client:t}=this.getStackTop();if(e){var r=e.getSession();r&&t&&t.captureSession&&t.captureSession(r)}}_withClient(e){let{scope:t,client:r}=this.getStackTop();r&&e(r,t)}_callExtensionMethod(e,...t){var r=k().__SENTRY__;if(r&&r.extensions&&"function"==typeof r.extensions[e])return r.extensions[e].apply(this,t);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&n.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function k(){var e=(0,a.R)();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function x(e){var t=k(),r=S(t);return E(t,e),r}function _(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function S(e){return(0,a.Y)("hub",()=>new w,e)}function E(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}function D(e,t){var r;return(((!_(r=k())||S(r).isOlderThan(4))&&E(r,new w),(0,p.KV)())?function(e){try{var t=k().__SENTRY__,r=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!r)return S(e);if(!_(r)||S(r).isOlderThan(4)){var n=S(e).getStackTop();E(r,new w(n.client,b.clone(n.scope)))}return S(r)}catch(t){return S(e)}}(r):S(r)).captureException(e,{captureContext:t})}},65907:function(e,t,r){"use strict";r.d(t,{R:function(){return o},Y:function(){return a}});var n=r(4266),i={};function o(){return(0,n.KV)()?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function a(e,t,r){var n=r||o(),i=n.__SENTRY__=n.__SENTRY__||{};return i[e]||(i[e]=t())}},4266:function(e,t,r){"use strict";r.d(t,{l$:function(){return o},KV:function(){return i}}),e=r.hmd(e);var n=r(34406);function i(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==n?n:0)}function o(e,t){return e.require(t)}},7790:function(e,t,r){"use strict";r.d(t,{ph:function(){return l},yW:function(){return u}});var n=r(65907),i=r(4266);e=r.hmd(e);var o={nowSeconds:()=>Date.now()/1e3},a=(0,i.KV)()?function(){try{return(0,i.l$)(e,"perf_hooks").performance}catch(e){return}}():function(){let{performance:e}=(0,n.R)();if(e&&e.now)return{now:()=>e.now(),timeOrigin:Date.now()-e.now()}}(),s=void 0===a?o:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},u=o.nowSeconds.bind(o),l=s.nowSeconds.bind(s);(()=>{let{performance:e}=(0,n.R)();if(e&&e.now){var t=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+t-r):36e5,o=e.timing&&e.timing.navigationStart,a="number"==typeof o?Math.abs(o+t-r):36e5;if(i<36e5||a<36e5)return i<=a?e.timeOrigin:void 0}})()},39961:function(e){e.exports=function(e){if("number"!=typeof e||isNaN(e))throw TypeError(`Expected a number, got ${typeof e}`);let t=e<0,r=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return`${(t?"-":"")+e} B`;let n=Math.min(Math.floor(Math.log(e)/Math.log(1024)),r.length-1);e=Number(e/Math.pow(1024,n));let i=r[n];return e>=10||e%1==0?`${(t?"-":"")+e.toFixed(0)} ${i}`:`${(t?"-":"")+e.toFixed(1)} ${i}`}},11987:function(e){e.exports=function(e){if("number"!=typeof e||isNaN(e))throw TypeError("Expected a number, got "+typeof e);var t=e<0,r=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var n=Math.min(Math.floor(Math.log(e)/Math.log(1024)),r.length-1);e=Number(e/Math.pow(1024,n));var i=r[n];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+i:(t?"-":"")+e.toFixed(1)+" "+i}},27545:function(e,t,r){"use strict";r.d(t,{Z:function(){return T}});var n=r(2784),i=r(72779),o=r.n(i),a=r(59309),s=r(63739),u=r(32718),l=r.n(u),c=r(30733),d=r.n(c),h="__react_svg_text_measurement_id",p=d()(function(e,t){try{var r=document.getElementById(h);if(!r){var n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.style.width="0",n.style.height="0",n.style.position="absolute",n.style.top="-100%",n.style.left="-100%",(r=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("id",h),n.appendChild(r),document.body.appendChild(n)}return Object.assign(r.style,t),r.textContent=e,r.getComputedTextLength()}catch(e){return null}},function(e,t){return e+"_"+JSON.stringify(t)}),f=["verticalAnchor","scaleToFit","angle","width","lineHeight","capHeight","children","style"];function m(e){return"number"==typeof e}function g(e){return"number"==typeof e&&Number.isFinite(e)||"string"==typeof e}var v=["dx","dy","textAnchor","innerRef","innerTextRef","verticalAnchor","angle","lineHeight","scaleToFit","capHeight","width"];function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var b={overflow:"visible"};function w(e){var t,r,i,o,a,s,u,c,d,h,w,k,x,_,S,E,D,C,j,O,T,A,P,R,M=e.dx,F=e.dy,N=e.textAnchor,I=e.innerRef,L=e.innerTextRef,B=(e.verticalAnchor,e.angle,e.lineHeight),z=void 0===B?"1em":B,U=(e.scaleToFit,e.capHeight,e.width,function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,v)),q=U.x,$=void 0===q?0:q,H=U.fontSize,V=(r=void 0===(t=e.verticalAnchor)?"end":t,o=void 0!==(i=e.scaleToFit)&&i,a=e.angle,s=e.width,c=void 0===(u=e.lineHeight)?"1em":u,h=void 0===(d=e.capHeight)?"0.71em":d,w=e.children,k=e.style,S=void 0===(_=(x=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,f)).x)?0:_,D=void 0===(E=x.y)?0:E,C=!g(S)||!g(D),O=(j=(0,n.useMemo)(function(){return{wordsWithWidth:(null==w?[]:w.toString().split(/(?:(?!\u00A0+)\s+)/)).map(function(e){return{word:e,wordWidth:p(e,k)||0}}),spaceWidth:p("\xa0",k)||0}},[w,k])).wordsWithWidth,T=j.spaceWidth,A=(0,n.useMemo)(function(){return C?[]:s||o?O.reduce(function(e,t){var r=t.word,n=t.wordWidth,i=e[e.length-1];return i&&(null==s||o||(i.width||0)+n+T<s)?(i.words.push(r),i.width=i.width||0,i.width+=n+T):e.push({words:[r],width:n}),e},[]):[{words:null==w?[]:w.toString().split(/(?:(?!\u00A0+)\s+)/)}]},[C,s,o,w,O,T]),P=(0,n.useMemo)(function(){return C?"":"start"===r?l()("calc("+h+")"):"middle"===r?l()("calc("+(A.length-1)/2+" * -"+c+" + ("+h+" / 2))"):l()("calc("+(A.length-1)+" * -"+c+")")},[C,r,h,A.length,c]),R=(0,n.useMemo)(function(){var e=[];if(C)return"";if(m(S)&&m(D)&&m(s)&&o&&A.length>0){var t=A[0].width||1,r="shrink-only"===o?Math.min(s/t,1):s/t,n=S-r*S,i=D-r*D;e.push("matrix("+r+", 0, 0, "+r+", "+n+", "+i+")")}return a&&e.push("rotate("+a+", "+S+", "+D+")"),e.length>0?e.join(" "):""},[C,S,D,s,o,A,a]),{wordsByLines:A,startDy:P,transform:R}),W=V.wordsByLines,G=V.startDy,Y=V.transform;return n.createElement("svg",{ref:I,x:void 0===M?0:M,y:void 0===F?0:F,fontSize:H,style:b},W.length>0?n.createElement("text",y({ref:L,transform:Y},U,{textAnchor:void 0===N?"start":N}),W.map(function(e,t){return n.createElement("tspan",{key:t,x:$,dy:0===t?G:z},e.words.join(" "))})):null)}var k=r(5544);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var S={textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"#222"};function E(e){return null==e?void 0:e.toString()}var D=r(19067);function C(e,t){var r=e.x,n=e.y;return new D.Z(t?{x:r,y:n}:{x:n,y:r})}var j=["children","axisClassName","hideAxisLine","hideTicks","hideZero","left","numTicks","orientation","rangePadding","scale","tickFormat","tickLength","tickValues","top"];function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function T(e){var t=e.children,r=e.axisClassName,i=e.hideAxisLine,u=e.hideTicks,l=e.hideZero,c=void 0!==l&&l,d=e.left,h=e.numTicks,p=void 0===h?10:h,f=e.orientation,m=void 0===f?k.Z.bottom:f,g=e.rangePadding,v=void 0===g?0:g,y=e.scale,b=e.tickFormat,D=e.tickLength,T=void 0===D?8:D,A=e.tickValues,P=e.top,R=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,j),M=null!=b?b:"tickFormat"in y?y.tickFormat():E,F=m===k.Z.left,N=m===k.Z.top,I=N||m===k.Z.bottom,L=function(e,t){if(void 0===t&&(t="center"),"start"!==t&&"bandwidth"in e){var r=e.bandwidth();return"center"===t&&(r/=2),e.round()&&(r=Math.round(r)),function(t){var n=e(t);return"number"==typeof n?n+r:n}}return e}(y),B=F||N?-1:1,z=y.range(),U=C({x:Number(z[0])+.5-v,y:0},I),q=C({x:Number(z[z.length-1])+.5+v,y:0},I),$=(null!=A?A:"ticks"in y?y.ticks(p):y.domain().filter(function(e,t,r){return null==p||r.length<=p||t%Math.round((r.length-1)/p)==0})).filter(function(e){return!c||0!==e&&"0"!==e}).map(function(e,t){return{value:e,index:t}}),H=$.map(function(e){var t=e.value,r=e.index,n=function(e){if(("function"==typeof e||"object"==typeof e&&e)&&"valueOf"in e){var t=e.valueOf();if("number"==typeof t)return t}return e}(L(t));return{value:t,index:r,from:C({x:n,y:0},I),to:C({x:n,y:T*B},I),formattedValue:M(t,r,$)}});return n.createElement(a.Z,{className:o()("visx-axis",r),top:void 0===P?0:P,left:void 0===d?0:d},(void 0===t?function(e){var t=e.axisFromPoint,r=e.axisLineClassName,i=e.axisToPoint,u=e.hideAxisLine,l=e.hideTicks,c=e.horizontal,d=e.label,h=void 0===d?"":d,p=e.labelClassName,f=e.labelOffset,m=e.labelProps,g=void 0===m?S:m,v=e.orientation,y=void 0===v?k.Z.bottom:v,b=e.scale,E=e.stroke,D=e.strokeDasharray,C=e.strokeWidth,j=void 0===C?1:C,O=e.tickClassName,T=e.tickComponent,A=e.tickLineProps,P=e.tickLabelProps,R=void 0===P?function(){return S}:P,M=e.tickLength,F=e.tickStroke,N=e.tickTransform,I=e.ticks,L=e.ticksComponent,B=I.map(function(e){return R(e.value,e.index,I)}),z=Math.max.apply(Math,[10].concat(B.map(function(e){return"number"==typeof e.fontSize?e.fontSize:0})));return n.createElement(n.Fragment,null,(void 0===L?function(e){var t=e.hideTicks,r=e.horizontal,i=e.orientation,u=e.tickClassName,l=e.tickComponent,c=e.tickLabelProps,d=e.tickStroke,h=void 0===d?"#222":d,p=e.tickTransform,f=e.ticks,m=e.strokeWidth,g=e.tickLineProps;return f.map(function(e){var d,f=e.value,v=e.index,y=e.from,b=e.to,_=e.formattedValue,S=null!=(d=c[v])?d:{},E=Math.max(10,"number"==typeof S.fontSize&&S.fontSize||0),D=b.y+(r&&i!==k.Z.top?E:0);return n.createElement(a.Z,{key:"visx-tick-"+f+"-"+v,className:o()("visx-axis-tick",u),transform:p},!t&&n.createElement(s.Z,x({from:y,to:b,stroke:h,strokeWidth:m,strokeLinecap:"square"},g)),l?l(x({},S,{x:b.x,y:D,formattedValue:_})):n.createElement(w,x({x:b.x,y:D},S),_))})}:L)({hideTicks:l,horizontal:c,orientation:y,scale:b,tickClassName:O,tickComponent:T,tickLabelProps:B,tickStroke:void 0===F?"#222":F,tickTransform:N,ticks:I,strokeWidth:j,tickLineProps:A}),!u&&n.createElement(s.Z,{className:o()("visx-axis-line",r),from:t,to:i,stroke:void 0===E?"#222":E,strokeWidth:j,strokeDasharray:D}),h&&n.createElement(w,_({className:o()("visx-axis-label",p)},function(e){var t,r,n,i=e.labelOffset,o=e.labelProps,a=e.orientation,s=e.range,u=e.tickLabelFontSize,l=e.tickLength,c=a===k.Z.left||a===k.Z.top?-1:1;if(a===k.Z.top||a===k.Z.bottom){var d=a===k.Z.bottom&&"number"==typeof o.fontSize?o.fontSize:0;t=(Number(s[0])+Number(s[s.length-1]))/2,r=c*(l+i+u+d)}else t=(Number(s[0])+Number(s[s.length-1]))/2*c,r=-(l+i),n="rotate("+90*c+")";return{x:t,y:r,transform:n}}({labelOffset:void 0===f?14:f,labelProps:g,orientation:y,range:b.range(),tickLabelFontSize:z,tickLength:void 0===M?8:M}),g),h))}:t)(O({},R,{axisFromPoint:U,axisToPoint:q,hideAxisLine:void 0!==i&&i,hideTicks:void 0!==u&&u,hideZero:c,horizontal:I,numTicks:p,orientation:m,rangePadding:v,scale:y,tickFormat:M,tickLength:T,tickPosition:L,tickSign:B,ticks:H})))}},70258:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(2784),i=r(72779),o=r.n(i),a=r(27545),s=r(5544),u=["axisClassName","labelOffset","tickLabelProps","tickLength"];function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var c=function(){return{dy:"0.25em",fill:"#222",fontFamily:"Arial",fontSize:10,textAnchor:"middle"}};function d(e){var t=e.axisClassName,r=e.labelOffset,i=e.tickLabelProps,d=e.tickLength,h=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,u);return n.createElement(a.Z,l({axisClassName:o()("visx-axis-bottom",t),labelOffset:void 0===r?8:r,orientation:s.Z.bottom,tickLabelProps:void 0===i?c:i,tickLength:void 0===d?8:d},h))}},6802:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(2784),i=r(72779),o=r.n(i),a=r(27545),s=r(5544),u=["axisClassName","labelOffset","tickLabelProps","tickLength"];function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var c=function(){return{dx:"-0.25em",dy:"0.25em",fill:"#222",fontFamily:"Arial",fontSize:10,textAnchor:"end"}};function d(e){var t=e.axisClassName,r=e.labelOffset,i=e.tickLabelProps,d=e.tickLength,h=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,u);return n.createElement(a.Z,l({axisClassName:o()("visx-axis-left",t),labelOffset:void 0===r?36:r,orientation:s.Z.left,tickLabelProps:void 0===i?c:i,tickLength:void 0===d?8:d},h))}},5544:function(e,t){"use strict";t.Z={top:"top",left:"left",right:"right",bottom:"bottom"}},80237:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(19067);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var o={x:0,y:0};function a(e,t){if(!e||!t)return null;var r=function(e){if(!e)return i({},o);if(e&&"changedTouches"in e)return e.changedTouches.length>0?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:i({},o);if(e&&"clientX"in e)return{x:e.clientX,y:e.clientY};var t=null==e?void 0:e.target,r=t&&"getBoundingClientRect"in t?t.getBoundingClientRect():null;return r?{x:r.x+r.width/2,y:r.y+r.height/2}:i({},o)}(t),a=e&&(e instanceof SVGElement||"ownerSVGElement"in e)?e.ownerSVGElement:e,s=a&&"getScreenCTM"in a?a.getScreenCTM():null;if(a&&"createSVGPoint"in a&&s){var u=a.createSVGPoint();return u.x=r.x,u.y=r.y,u=u.matrixTransform(s.inverse()),new n.Z({x:u.x,y:u.y})}var l=e.getBoundingClientRect();return new n.Z({x:r.x-l.left-e.clientLeft,y:r.y-l.top-e.clientTop})}function s(e,t){if(e&&e instanceof Element&&t)return a(e,t);if(e&&(e instanceof Event||"nativeEvent"in e&&e.nativeEvent instanceof Event)){var r=e.target;if(r)return a(r,e)}return null}},59309:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(13980),i=r.n(n),o=r(2784),a=r(72779),s=r.n(a),u=["top","left","transform","className","children","innerRef"];function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e){var t=e.top,r=e.left,n=e.transform,i=e.className,a=e.children,c=e.innerRef,d=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,u);return o.createElement("g",l({ref:c,className:s()("visx-group",i),transform:n||"translate("+(void 0===r?0:r)+", "+(void 0===t?0:t)+")"},d),a)}c.propTypes={top:i().number,left:i().number,transform:i().string,className:i().string,children:i().node,innerRef:i().oneOfType([i().string,i().func,i().object])}},71602:function(e,t,r){"use strict";r.r(t),r.d(t,{Group:function(){return n.Z}});var n=r(59309)},19067:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{Z:function(){return i}});var i=function(){function e(e){var t=e.x,r=e.y;n(this,"x",0),n(this,"y",0),this.x=void 0===t?0:t,this.y=void 0===r?0:r}var t=e.prototype;return t.value=function(){return{x:this.x,y:this.y}},t.toArray=function(){return[this.x,this.y]},e}()},2574:function(e,t,r){"use strict";r.d(t,{Z:function(){return et}});var n,i,o,a=r(13980),s=r.n(a),u=r(54073),l=r.n(u),c=r(2784),d=[],h="ResizeObserver loop completed with undelivered notifications.",p=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:h}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=h),window.dispatchEvent(e)};(n=i||(i={})).BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var f=function(e){return Object.freeze(e)},m=function(e,t){this.inlineSize=e,this.blockSize=t,f(this)},g=function(){function e(e,t,r,n){return this.x=e,this.y=t,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,f(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),v=function(e){return e instanceof SVGElement&&"getBBox"in e},y=function(e){if(v(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var i=e.offsetWidth,o=e.offsetHeight;return!(i||o||e.getClientRects().length)},b=function(e){if(e instanceof Element)return!0;var t,r=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},w=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},k="undefined"!=typeof window?window:{},x=new WeakMap,_=/auto|scroll/,S=/^tb|vertical/,E=/msie|trident/i.test(k.navigator&&k.navigator.userAgent),D=function(e){return parseFloat(e||"0")},C=function(e,t,r){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=!1),new m((r?t:e)||0,(r?e:t)||0)},j=f({devicePixelContentBoxSize:C(),borderBoxSize:C(),contentBoxSize:C(),contentRect:new g(0,0,0,0)}),O=function(e,t){if(void 0===t&&(t=!1),x.has(e)&&!t)return x.get(e);if(y(e))return x.set(e,j),j;var r=getComputedStyle(e),n=v(e)&&e.ownerSVGElement&&e.getBBox(),i=!E&&"border-box"===r.boxSizing,o=S.test(r.writingMode||""),a=!n&&_.test(r.overflowY||""),s=!n&&_.test(r.overflowX||""),u=n?0:D(r.paddingTop),l=n?0:D(r.paddingRight),c=n?0:D(r.paddingBottom),d=n?0:D(r.paddingLeft),h=n?0:D(r.borderTopWidth),p=n?0:D(r.borderRightWidth),m=n?0:D(r.borderBottomWidth),b=n?0:D(r.borderLeftWidth),w=d+l,k=u+c,O=b+p,T=h+m,A=s?e.offsetHeight-T-e.clientHeight:0,P=a?e.offsetWidth-O-e.clientWidth:0,R=n?n.width:D(r.width)-(i?w+O:0)-P,M=n?n.height:D(r.height)-(i?k+T:0)-A,F=R+w+P+O,N=M+k+A+T,I=f({devicePixelContentBoxSize:C(Math.round(R*devicePixelRatio),Math.round(M*devicePixelRatio),o),borderBoxSize:C(F,N,o),contentBoxSize:C(R,M,o),contentRect:new g(d,u,R,M)});return x.set(e,I),I},T=function(e,t,r){var n=O(e,r),o=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case i.DEVICE_PIXEL_CONTENT_BOX:return s;case i.BORDER_BOX:return o;default:return a}},A=function(e){var t=O(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=f([t.borderBoxSize]),this.contentBoxSize=f([t.contentBoxSize]),this.devicePixelContentBoxSize=f([t.devicePixelContentBoxSize])},P=function(e){if(y(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},R=function(){var e=1/0,t=[];d.forEach(function(r){if(0!==r.activeTargets.length){var n=[];r.activeTargets.forEach(function(t){var r=new A(t.target),i=P(t.target);n.push(r),t.lastReportedSize=T(t.target,t.observedBox),i<e&&(e=i)}),t.push(function(){r.callback.call(r.observer,n,r.observer)}),r.activeTargets.splice(0,r.activeTargets.length)}});for(var r=0;r<t.length;r++)(0,t[r])();return e},M=function(e){d.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(r){r.isActive()&&(P(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))})})},F=function(){var e=0;for(M(0);d.some(function(e){return e.activeTargets.length>0});)M(e=R());return d.some(function(e){return e.skippedTargets.length>0})&&p(),e>0},N=[],I=function(e){if(!o){var t=0,r=document.createTextNode("");new MutationObserver(function(){return N.splice(0).forEach(function(e){return e()})}).observe(r,{characterData:!0}),o=function(){r.textContent=""+(t?t--:t++)}}N.push(e),o()},L=function(e){I(function(){requestAnimationFrame(e)})},B=0,z={attributes:!0,characterData:!0,childList:!0,subtree:!0},U=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],q=function(e){return void 0===e&&(e=0),Date.now()+e},$=!1,H=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!$){$=!0;var r=q(e);L(function(){var n=!1;try{n=F()}finally{if($=!1,e=r-q(),!B)return;n?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,z)};document.body?t():k.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),U.forEach(function(t){return k.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),U.forEach(function(t){return k.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),V=function(e){!B&&e>0&&H.start(),(B+=e)||H.stop()},W=function(){function e(e,t){this.target=e,this.observedBox=t||i.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=T(this.target,this.observedBox,!0);return v(e=this.target)||w(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),G=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Y=new WeakMap,Z=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return -1},K=function(){function e(){}return e.connect=function(e,t){var r=new G(e,t);Y.set(e,r)},e.observe=function(e,t,r){var n=Y.get(e),i=0===n.observationTargets.length;0>Z(n.observationTargets,t)&&(i&&d.push(n),n.observationTargets.push(new W(t,r&&r.box)),V(1),H.schedule())},e.unobserve=function(e,t){var r=Y.get(e),n=Z(r.observationTargets,t),i=1===r.observationTargets.length;n>=0&&(i&&d.splice(d.indexOf(r),1),r.observationTargets.splice(n,1),V(-1))},e.disconnect=function(e){var t=this,r=Y.get(e);r.observationTargets.slice().forEach(function(r){return t.unobserve(e,r.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),J=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");K.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!b(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");K.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!b(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");K.unobserve(this,e)},e.prototype.disconnect=function(){K.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),X=["className","children","debounceTime","ignoreDimensions","parentSizeStyles","enableDebounceLeadingCall"];function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var ee=[];function et(e){var t=e.className,r=e.children,n=e.debounceTime,i=void 0===n?300:n,o=e.ignoreDimensions,a=void 0===o?ee:o,s=e.parentSizeStyles,u=e.enableDebounceLeadingCall,d=void 0===u||u,h=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,X),p=(0,c.useRef)(null),f=(0,c.useRef)(0),m=(0,c.useState)({width:0,height:0,top:0,left:0}),g=m[0],v=m[1],y=(0,c.useMemo)(function(){var e=Array.isArray(a)?a:[a];return l()(function(t){v(function(r){return Object.keys(r).filter(function(e){return r[e]!==t[e]}).every(function(t){return e.includes(t)})?r:t})},i,{leading:d})},[i,d,a]);return(0,c.useEffect)(function(){var e=new J(function(e){void 0===e&&(e=[]),e.forEach(function(e){var t=e.contentRect,r=t.left,n=t.top,i=t.width,o=t.height;f.current=window.requestAnimationFrame(function(){y({width:i,height:o,top:n,left:r})})})});return p.current&&e.observe(p.current),function(){window.cancelAnimationFrame(f.current),e.disconnect(),null!=y&&y.cancel&&y.cancel()}},[y]),c.createElement("div",Q({style:void 0===s?{width:"100%",height:"100%"}:s,ref:p,className:t},h),r(Q({},g,{ref:p.current,resize:y})))}et.propTypes={className:s().string,debounceTime:s().number,enableDebounceLeadingCall:s().bool,ignoreDimensions:s().oneOfType([s().any,s().arrayOf(s().any)]),children:s().func.isRequired}},72108:function(e,t,r){"use strict";function n(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function i(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function o(){}r.d(t,{Z:function(){return eJ}});var a="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,c=RegExp("^rgb\\("+[a,a,a]+"\\)$"),d=RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=RegExp("^rgba\\("+[a,a,a,s]+"\\)$"),p=RegExp("^rgba\\("+[u,u,u,s]+"\\)$"),f=RegExp("^hsl\\("+[s,u,u]+"\\)$"),m=RegExp("^hsla\\("+[s,u,u,s]+"\\)$"),g={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function v(){return this.rgb().formatHex()}function y(){return this.rgb().formatRgb()}function b(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?w(t):3===r?new S(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?k(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?k(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=c.exec(e))?new S(t[1],t[2],t[3],1):(t=d.exec(e))?new S(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=h.exec(e))?k(t[1],t[2],t[3],t[4]):(t=p.exec(e))?k(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=f.exec(e))?j(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?j(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?w(g[e]):"transparent"===e?new S(NaN,NaN,NaN,0):null}function w(e){return new S(e>>16&255,e>>8&255,255&e,1)}function k(e,t,r,n){return n<=0&&(e=t=r=NaN),new S(e,t,r,n)}function x(e){return(e instanceof o||(e=b(e)),e)?new S((e=e.rgb()).r,e.g,e.b,e.opacity):new S}function _(e,t,r,n){return 1==arguments.length?x(e):new S(e,t,r,null==n?1:n)}function S(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function E(){return"#"+C(this.r)+C(this.g)+C(this.b)}function D(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function C(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function j(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new A(e,t,r,n)}function O(e){if(e instanceof A)return new A(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=b(e)),!e)return new A;if(e instanceof A)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),s=NaN,u=a-i,l=(a+i)/2;return u?(s=t===a?(r-n)/u+(r<n)*6:r===a?(n-t)/u+2:(t-r)/u+4,u/=l<.5?a+i:2-a-i,s*=60):u=l>0&&l<1?0:s,new A(s,u,l,e.opacity)}function T(e,t,r,n){return 1==arguments.length?O(e):new A(e,t,r,null==n?1:n)}function A(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function P(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}n(o,b,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:v,formatHex:v,formatHsl:function(){return O(this).formatHsl()},formatRgb:y,toString:y}),n(S,_,i(o,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new S(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new S(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:E,formatHex:E,formatRgb:D,toString:D})),n(A,T,i(o,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new A(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new A(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new S(P(e>=240?e-240:e+120,i,n),P(e,i,n),P(e<120?e+240:e-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var R=Math.PI/180,M=180/Math.PI,F=4/29,N=6/29,I=6/29*3*(6/29),L=6/29*(6/29)*(6/29);function B(e){if(e instanceof U)return new U(e.l,e.a,e.b,e.opacity);if(e instanceof G)return Y(e);e instanceof S||(e=x(e));var t,r,n=V(e.r),i=V(e.g),o=V(e.b),a=q((.2225045*n+.7168786*i+.0606169*o)/1);return n===i&&i===o?t=r=a:(t=q((.4360747*n+.3850649*i+.1430804*o)/.96422),r=q((.0139322*n+.0971045*i+.7141733*o)/.82521)),new U(116*a-16,500*(t-a),200*(a-r),e.opacity)}function z(e,t,r,n){return 1==arguments.length?B(e):new U(e,t,r,null==n?1:n)}function U(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function q(e){return e>L?Math.pow(e,1/3):e/I+F}function $(e){return e>N?e*e*e:I*(e-F)}function H(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function V(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function W(e,t,r,n){return 1==arguments.length?function(e){if(e instanceof G)return new G(e.h,e.c,e.l,e.opacity);if(e instanceof U||(e=B(e)),0===e.a&&0===e.b)return new G(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*M;return new G(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new G(e,t,r,null==n?1:n)}function G(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function Y(e){if(isNaN(e.h))return new U(e.l,0,0,e.opacity);var t=e.h*R;return new U(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}function Z(e){return function(){return e}}function K(e,t){return function(r){return e+r*t}}function J(e,t){var r=t-e;return r?K(e,r>180||r<-180?r-360*Math.round(r/360):r):Z(isNaN(e)?t:e)}function X(e,t){var r=t-e;return r?K(e,r):Z(isNaN(e)?t:e)}function Q(e){return function(t,r){var n=e((t=W(t)).h,(r=W(r)).h),i=X(t.c,r.c),o=X(t.l,r.l),a=X(t.opacity,r.opacity);return function(e){return t.h=n(e),t.c=i(e),t.l=o(e),t.opacity=a(e),t+""}}}n(U,z,i(o,{brighter:function(e){return new U(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new U(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return new S(H(3.1338561*(t=.96422*$(t))-1.6168667*(e=1*$(e))-.4906146*(r=.82521*$(r))),H(-.9787684*t+1.9161415*e+.033454*r),H(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),n(G,W,i(o,{brighter:function(e){return new G(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new G(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return Y(this).rgb()}}));var ee=Q(J),et=Q(X);function er(e){return function(t,r){var n=e((t=T(t)).h,(r=T(r)).h),i=X(t.s,r.s),o=X(t.l,r.l),a=X(t.opacity,r.opacity);return function(e){return t.h=n(e),t.s=i(e),t.l=o(e),t.opacity=a(e),t+""}}}var en=er(J),ei=er(X),eo=-1.78277*.29227-.1347134789;function ea(e,t,r,n){return 1==arguments.length?function(e){if(e instanceof es)return new es(e.h,e.s,e.l,e.opacity);e instanceof S||(e=x(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=(eo*n+-1.7884503806*t-3.5172982438*r)/(eo+-1.7884503806-3.5172982438),o=n-i,a=-((1.97294*(r-i)- -.29227*o)/.90649),s=Math.sqrt(a*a+o*o)/(1.97294*i*(1-i)),u=s?Math.atan2(a,o)*M-120:NaN;return new es(u<0?u+360:u,s,i,e.opacity)}(e):new es(e,t,r,null==n?1:n)}function es(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function eu(e){return function t(r){function n(t,n){var i=e((t=ea(t)).h,(n=ea(n)).h),o=X(t.s,n.s),a=X(t.l,n.l),s=X(t.opacity,n.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,r)),t.opacity=s(e),t+""}}return r=+r,n.gamma=t,n}(1)}n(es,ea,i(o,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new es(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new es(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*R,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new S(255*(t+r*(-.14861*n+1.78277*i)),255*(t+r*(-.29227*n+-.90649*i)),255*(t+1.97294*n*r),this.opacity)}}));var el=eu(J),ec=eu(X);function ed(e,t,r,n,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*r+(1+3*e+3*o-3*a)*n+a*i)/6}var eh=function e(t){var r,n=1==(r=+(r=t))?X:function(e,t){var n,i,o;return t-e?(n=e,i=t,n=Math.pow(n,o=r),i=Math.pow(i,o)-n,o=1/o,function(e){return Math.pow(n+e*i,o)}):Z(isNaN(e)?t:e)};function i(e,t){var r=n((e=_(e)).r,(t=_(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=X(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return i.gamma=e,i}(1);function ep(e){return function(t){var r,n,i=t.length,o=Array(i),a=Array(i),s=Array(i);for(r=0;r<i;++r)n=_(t[r]),o[r]=n.r||0,a[r]=n.g||0,s[r]=n.b||0;return o=e(o),a=e(a),s=e(s),n.opacity=1,function(e){return n.r=o(e),n.g=a(e),n.b=s(e),n+""}}}ep(function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],o=e[n+1],a=n>0?e[n-1]:2*i-o,s=n<t-1?e[n+2]:2*o-i;return ed((r-n/t)*t,a,i,o,s)}}),ep(function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],o=e[n%t],a=e[(n+1)%t],s=e[(n+2)%t];return ed((r-n/t)*t,i,o,a,s)}});var ef={lab:function(e,t){var r=X((e=z(e)).l,(t=z(t)).l),n=X(e.a,t.a),i=X(e.b,t.b),o=X(e.opacity,t.opacity);return function(t){return e.l=r(t),e.a=n(t),e.b=i(t),e.opacity=o(t),e+""}},hcl:ee,"hcl-long":et,hsl:en,"hsl-long":ei,cubehelix:el,"cubehelix-long":ec,rgb:eh},em=new Date,eg=new Date;function ev(e,t,r,n){function i(t){return e(t=0==arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},i.round=function(e){var t=i(e),r=i.ceil(e);return e-t<r-e?t:r},i.offset=function(e,r){return t(e=new Date(+e),null==r?1:Math.floor(r)),e},i.range=function(r,n,o){var a,s=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n)||!(o>0))return s;do s.push(a=new Date(+r)),t(r,o),e(r);while(a<r&&r<n);return s},i.filter=function(r){return ev(function(t){if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)},function(e,n){if(e>=e){if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}})},r&&(i.count=function(t,n){return em.setTime(+t),eg.setTime(+n),e(em),e(eg),Math.floor(r(em,eg))},i.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?i.filter(n?function(t){return n(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var ey=ev(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5,e=>e.getDate()-1);ey.range;var eb=ev(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()});eb.range;var ew=ev(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getMinutes()});ew.range;var ek=ev(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12},function(e){return e.getMonth()});ek.range;var ex=ev(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()});function e_(e){return ev(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5})}ex.range;var eS=e_(0),eE=e_(1),eD=e_(2),eC=e_(3),ej=e_(4),eO=e_(5),eT=e_(6);eS.range,eE.range,eD.range,eC.range,ej.range,eO.range,eT.range;var eA=ev(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});eA.every=function(e){return isFinite(e=Math.floor(e))&&e>0?ev(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,r){t.setFullYear(t.getFullYear()+r*e)}):null},eA.range;var eP=ev(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1});eP.range;var eR=ev(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()});eR.range;var eM=ev(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getUTCMinutes()});eM.range;var eF=ev(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12},function(e){return e.getUTCMonth()});function eN(e){return ev(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/6048e5})}eF.range;var eI=eN(0),eL=eN(1),eB=eN(2),ez=eN(3),eU=eN(4),eq=eN(5),e$=eN(6);eI.range,eL.range,eB.range,ez.range,eU.range,eq.range,e$.range;var eH=ev(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});eH.every=function(e){return isFinite(e=Math.floor(e))&&e>0?ev(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)}):null},eH.range;var eV=new Date(Date.UTC(2020,1,2,3,4,5)),eW={day:ey,hour:eb,minute:ew,month:ek,second:ex,week:eS,year:eA},eG={day:eP,hour:eR,minute:eM,month:eF,second:ex,week:eI,year:eH};function eY(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}var eZ=["domain","nice","zero","interpolate","round","range","reverse","align","base","clamp","constant","exponent","padding","unknown"],eK={domain:function(e,t){t.domain&&e.domain(t.domain)},nice:function(e,t){if("nice"in t&&void 0!==t.nice&&"nice"in e){var r=t.nice;if("boolean"==typeof r)r&&e.nice();else if("number"==typeof r)e.nice(r);else{var n="2020-02-02 03:04"===e.tickFormat(1,"%Y-%m-%d %H:%M")(eV);if("string"==typeof r)e.nice(n?eG[r]:eW[r]);else{var i=r.interval,o=r.step,a=(n?eG[i]:eW[i]).every(o);null!=a&&e.nice(a)}}}},zero:function(e,t){if("zero"in t&&!0===t.zero){var r=e.domain(),n=r[0],i=r[1],o=i<n,a=o?[i,n]:[n,i],s=[Math.min(0,a[0]),Math.max(0,a[1])];e.domain(o?s.reverse():s)}},interpolate:function(e,t){if("interpolate"in t&&"interpolate"in e&&void 0!==t.interpolate){var r=function(e){switch(e){case"lab":case"hcl":case"hcl-long":case"hsl":case"hsl-long":case"cubehelix":case"cubehelix-long":case"rgb":return ef[e]}var t=e.type,r=e.gamma,n=ef[t];return void 0===r?n:n.gamma(r)}(t.interpolate);e.interpolate(r)}},round:function(e,t){"round"in t&&void 0!==t.round&&(t.round&&"interpolate"in t&&void 0!==t.interpolate?console.warn("[visx/scale/applyRound] ignoring round: scale config contains round and interpolate. only applying interpolate. config:",t):"round"in e?e.round(t.round):"interpolate"in e&&t.round&&e.interpolate(eY))},align:function(e,t){"align"in e&&"align"in t&&void 0!==t.align&&e.align(t.align)},base:function(e,t){"base"in e&&"base"in t&&void 0!==t.base&&e.base(t.base)},clamp:function(e,t){"clamp"in e&&"clamp"in t&&void 0!==t.clamp&&e.clamp(t.clamp)},constant:function(e,t){"constant"in e&&"constant"in t&&void 0!==t.constant&&e.constant(t.constant)},exponent:function(e,t){"exponent"in e&&"exponent"in t&&void 0!==t.exponent&&e.exponent(t.exponent)},padding:function(e,t){"padding"in e&&"padding"in t&&void 0!==t.padding&&e.padding(t.padding),"paddingInner"in e&&"paddingInner"in t&&void 0!==t.paddingInner&&e.paddingInner(t.paddingInner),"paddingOuter"in e&&"paddingOuter"in t&&void 0!==t.paddingOuter&&e.paddingOuter(t.paddingOuter)},range:function(e,t){t.range&&e.range(t.range)},reverse:function(e,t){if(t.reverse){var r=e.range().slice().reverse();e.range(r)}},unknown:function(e,t){"unknown"in e&&"unknown"in t&&void 0!==t.unknown&&e.unknown(t.unknown)}};function eJ(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=new Set(t),i=eZ.filter(function(e){return n.has(e)});return function(e,t){return void 0!==t&&i.forEach(function(r){eK[r](e,t)}),e}}},92638:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(22274);let i=Symbol("implicit");var o=(0,r(72108).Z)("domain","range","reverse","align","padding","round");function a(e){return o(function e(){var t,r,o=(function e(){var t=new Map,r=[],o=[],a=i;function s(e){var n=e+"",s=t.get(n);if(!s){if(a!==i)return a;t.set(n,s=r.push(e))}return o[(s-1)%o.length]}return s.domain=function(e){if(!arguments.length)return r.slice();for(let n of(r=[],t=new Map,e)){let e=n+"";t.has(e)||t.set(e,r.push(n))}return s},s.range=function(e){return arguments.length?(o=Array.from(e),s):o.slice()},s.unknown=function(e){return arguments.length?(a=e,s):a},s.copy=function(){return e(r,o).unknown(a)},n.o.apply(s,arguments),s})().unknown(void 0),a=o.domain,s=o.range,u=0,l=1,c=!1,d=0,h=0,p=.5;function f(){var e=a().length,n=l<u,i=n?l:u,o=n?u:l;t=(o-i)/Math.max(1,e-d+2*h),c&&(t=Math.floor(t)),i+=(o-i-t*(e-d))*p,r=t*(1-d),c&&(i=Math.round(i),r=Math.round(r));var f=(function(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),o=Array(i);++n<i;)o[n]=e+n*r;return o})(e).map(function(e){return i+t*e});return s(n?f.reverse():f)}return delete o.unknown,o.domain=function(e){return arguments.length?(a(e),f()):a()},o.range=function(e){return arguments.length?([u,l]=e,u=+u,l=+l,f()):[u,l]},o.rangeRound=function(e){return[u,l]=e,u=+u,l=+l,c=!0,f()},o.bandwidth=function(){return r},o.step=function(){return t},o.round=function(e){return arguments.length?(c=!!e,f()):c},o.padding=function(e){return arguments.length?(d=Math.min(1,h=+e),f()):d},o.paddingInner=function(e){return arguments.length?(d=Math.min(1,e),f()):d},o.paddingOuter=function(e){return arguments.length?(h=+e,f()):h},o.align=function(e){return arguments.length?(p=Math.max(0,Math.min(1,e)),f()):p},o.copy=function(){return e(a(),[u,l]).round(c).paddingInner(d).paddingOuter(h).align(p)},n.o.apply(f(),arguments)}(),e)}},33951:function(e,t,r){"use strict";r.d(t,{Z:function(){return eg}});var n,i,o,a,s=Math.sqrt(50),u=Math.sqrt(10),l=Math.sqrt(2);function c(e,t,r){var n=(t-e)/Math.max(0,r),i=Math.floor(Math.log(n)/Math.LN10),o=n/Math.pow(10,i);return i>=0?(o>=s?10:o>=u?5:o>=l?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=s?10:o>=u?5:o>=l?2:1)}function d(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function h(e){let t=e,r=e;function n(e,t,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){let o=n+i>>>1;0>r(e[o],t)?n=o+1:i=o}return n}return 1===e.length&&(t=(t,r)=>e(t)-r,r=(t,r)=>d(e(t),r)),{left:n,center:function(e,r,i,o){null==i&&(i=0),null==o&&(o=e.length);let a=n(e,r,i,o-1);return a>i&&t(e[a-1],r)>-t(e[a],r)?a-1:a},right:function(e,t,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){let o=n+i>>>1;r(e[o],t)>0?i=o:n=o+1}return n}}}let p=h(d),f=p.right;function m(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function g(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function v(){}p.left,h(function(e){return null===e?NaN:+e}).center;var y="\\s*([+-]?\\d+)\\s*",b="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",w="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",k=/^#([0-9a-f]{3,8})$/,x=RegExp("^rgb\\("+[y,y,y]+"\\)$"),_=RegExp("^rgb\\("+[w,w,w]+"\\)$"),S=RegExp("^rgba\\("+[y,y,y,b]+"\\)$"),E=RegExp("^rgba\\("+[w,w,w,b]+"\\)$"),D=RegExp("^hsl\\("+[b,w,w]+"\\)$"),C=RegExp("^hsla\\("+[b,w,w,b]+"\\)$"),j={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function O(){return this.rgb().formatHex()}function T(){return this.rgb().formatRgb()}function A(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=k.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?P(t):3===r?new F(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?R(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?R(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=x.exec(e))?new F(t[1],t[2],t[3],1):(t=_.exec(e))?new F(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=S.exec(e))?R(t[1],t[2],t[3],t[4]):(t=E.exec(e))?R(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=D.exec(e))?B(t[1],t[2]/100,t[3]/100,1):(t=C.exec(e))?B(t[1],t[2]/100,t[3]/100,t[4]):j.hasOwnProperty(e)?P(j[e]):"transparent"===e?new F(NaN,NaN,NaN,0):null}function P(e){return new F(e>>16&255,e>>8&255,255&e,1)}function R(e,t,r,n){return n<=0&&(e=t=r=NaN),new F(e,t,r,n)}function M(e,t,r,n){var i;return 1==arguments.length?((i=e)instanceof v||(i=A(i)),i)?new F((i=i.rgb()).r,i.g,i.b,i.opacity):new F:new F(e,t,r,null==n?1:n)}function F(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function N(){return"#"+L(this.r)+L(this.g)+L(this.b)}function I(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function L(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function B(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new U(e,t,r,n)}function z(e){if(e instanceof U)return new U(e.h,e.s,e.l,e.opacity);if(e instanceof v||(e=A(e)),!e)return new U;if(e instanceof U)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,s=o-i,u=(o+i)/2;return s?(a=t===o?(r-n)/s+(r<n)*6:r===o?(n-t)/s+2:(t-r)/s+4,s/=u<.5?o+i:2-o-i,a*=60):s=u>0&&u<1?0:a,new U(a,s,u,e.opacity)}function U(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function q(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function $(e,t,r,n,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*r+(1+3*e+3*o-3*a)*n+a*i)/6}m(v,A,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:O,formatHex:O,formatHsl:function(){return z(this).formatHsl()},formatRgb:T,toString:T}),m(F,M,g(v,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new F(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new F(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:N,formatHex:N,formatRgb:I,toString:I})),m(U,function(e,t,r,n){return 1==arguments.length?z(e):new U(e,t,r,null==n?1:n)},g(v,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new U(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new U(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new F(q(e>=240?e-240:e+120,i,n),q(e,i,n),q(e<120?e+240:e-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var H=e=>()=>e;function V(e,t){var r=t-e;return r?function(t){return e+t*r}:H(isNaN(e)?t:e)}var W=function e(t){var r,n=1==(r=+(r=t))?V:function(e,t){var n,i,o;return t-e?(n=e,i=t,n=Math.pow(n,o=r),i=Math.pow(i,o)-n,o=1/o,function(e){return Math.pow(n+e*i,o)}):H(isNaN(e)?t:e)};function i(e,t){var r=n((e=M(e)).r,(t=M(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=V(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return i.gamma=e,i}(1);function G(e){return function(t){var r,n,i=t.length,o=Array(i),a=Array(i),s=Array(i);for(r=0;r<i;++r)n=M(t[r]),o[r]=n.r||0,a[r]=n.g||0,s[r]=n.b||0;return o=e(o),a=e(a),s=e(s),n.opacity=1,function(e){return n.r=o(e),n.g=a(e),n.b=s(e),n+""}}}function Y(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}G(function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],o=e[n+1],a=n>0?e[n-1]:2*i-o,s=n<t-1?e[n+2]:2*o-i;return $((r-n/t)*t,a,i,o,s)}}),G(function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],o=e[n%t],a=e[(n+1)%t],s=e[(n+2)%t];return $((r-n/t)*t,i,o,a,s)}});var Z=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,K=RegExp(Z.source,"g");function J(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function X(e){return+e}var Q=[0,1];function ee(e){return e}function et(e,t){var r;return(t-=e=+e)?function(r){return(r-e)/t}:(r=isNaN(t)?NaN:.5,function(){return r})}function er(e,t,r){var n=e[0],i=e[1],o=t[0],a=t[1];return i<n?(n=et(i,n),o=r(a,o)):(n=et(n,i),o=r(o,a)),function(e){return o(n(e))}}function en(e,t,r){var n=Math.min(e.length,t.length)-1,i=Array(n),o=Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)i[a]=et(e[a],e[a+1]),o[a]=r(t[a],t[a+1]);return function(t){var r=f(e,t,1,n)-1;return o[r](i[r](t))}}var ei=r(22274),eo=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ea(e){var t;if(!(t=eo.exec(e)))throw Error("invalid format: "+e);return new es({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function es(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function eu(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function el(e){return(e=eu(Math.abs(e)))?e[1]:NaN}function ec(e,t){var r=eu(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+Array(i-n.length+2).join("0")}ea.prototype=es.prototype,es.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ed={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>ec(100*e,t),r:ec,s:function(e,t){var r=eu(e,t);if(!r)return e+"";var i=r[0],o=r[1],a=o-(n=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=i.length;return a===s?i:a>s?i+Array(a-s+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+eu(e,Math.max(0,t+a-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function eh(e){return e}var ep=Array.prototype.map,ef=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];o=(i=function(e){var t,r,i,o=void 0===e.grouping||void 0===e.thousands?eh:(t=ep.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,s=t[0],u=0;i>0&&s>0&&(u+s+1>n&&(s=Math.max(1,n-u)),o.push(e.substring(i-=s,i+s)),!((u+=s+1)>n));)s=t[a=(a+1)%t.length];return o.reverse().join(r)}),a=void 0===e.currency?"":e.currency[0]+"",s=void 0===e.currency?"":e.currency[1]+"",u=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?eh:(i=ep.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return i[+e]})}),c=void 0===e.percent?"%":e.percent+"",d=void 0===e.minus?"−":e.minus+"",h=void 0===e.nan?"NaN":e.nan+"";function p(e){var t=(e=ea(e)).fill,r=e.align,i=e.sign,p=e.symbol,f=e.zero,m=e.width,g=e.comma,v=e.precision,y=e.trim,b=e.type;"n"===b?(g=!0,b="g"):ed[b]||(void 0===v&&(v=12),y=!0,b="g"),(f||"0"===t&&"="===r)&&(f=!0,t="0",r="=");var w="$"===p?a:"#"===p&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",k="$"===p?s:/[%p]/.test(b)?c:"",x=ed[b],_=/[defgprs%]/.test(b);function S(e){var a,s,c,p=w,S=k;if("c"===b)S=x(e)+S,e="";else{var E=(e=+e)<0||1/e<0;if(e=isNaN(e)?h:x(Math.abs(e),v),y&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),E&&0==+e&&"+"!==i&&(E=!1),p=(E?"("===i?i:d:"-"===i||"("===i?"":i)+p,S=("s"===b?ef[8+n/3]:"")+S+(E&&"("===i?")":""),_){for(a=-1,s=e.length;++a<s;)if(48>(c=e.charCodeAt(a))||c>57){S=(46===c?u+e.slice(a+1):e.slice(a))+S,e=e.slice(0,a);break}}}g&&!f&&(e=o(e,1/0));var D=p.length+e.length+S.length,C=D<m?Array(m-D+1).join(t):"";switch(g&&f&&(e=o(C+e,C.length?m-S.length:1/0),C=""),r){case"<":e=p+e+S+C;break;case"=":e=p+C+e+S;break;case"^":e=C.slice(0,D=C.length>>1)+p+e+S+C.slice(D);break;default:e=C+p+e+S}return l(e)}return v=void 0===v?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return e+""},S}return{format:p,formatPrefix:function(e,t){var r=p(((e=ea(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(el(t)/3))),i=Math.pow(10,-n),o=ef[8+n/3];return function(e){return r(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=i.formatPrefix;var em=(0,r(72108).Z)("domain","range","reverse","clamp","interpolate","nice","round","zero");function eg(e){return em(function e(){var t,r=(function(){var e,t,r,n,i,o,a=Q,s=Q,u=function e(t,r){var n,i,o=typeof r;return null==r||"boolean"===o?H(r):("number"===o?Y:"string"===o?(i=A(r))?(r=i,W):function(e,t){var r,n,i,o,a,s=Z.lastIndex=K.lastIndex=0,u=-1,l=[],c=[];for(e+="",t+="";(i=Z.exec(e))&&(o=K.exec(t));)(a=o.index)>s&&(a=t.slice(s,a),l[u]?l[u]+=a:l[++u]=a),(i=i[0])===(o=o[0])?l[u]?l[u]+=o:l[++u]=o:(l[++u]=null,c.push({i:u,x:Y(i,o)})),s=K.lastIndex;return s<t.length&&(a=t.slice(s),l[u]?l[u]+=a:l[++u]=a),l.length<2?c[0]?(r=c[0].x,function(e){return r(e)+""}):(n=t,function(){return n}):(t=c.length,function(e){for(var r,n=0;n<t;++n)l[(r=c[n]).i]=r.x(e);return l.join("")})}:r instanceof A?W:r instanceof Date?function(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}:!ArrayBuffer.isView(n=r)||n instanceof DataView?Array.isArray(r)?function(t,r){var n,i=r?r.length:0,o=t?Math.min(i,t.length):0,a=Array(o),s=Array(i);for(n=0;n<o;++n)a[n]=e(t[n],r[n]);for(;n<i;++n)s[n]=r[n];return function(e){for(n=0;n<o;++n)s[n]=a[n](e);return s}}:"function"!=typeof r.valueOf&&"function"!=typeof r.toString||isNaN(r)?function(t,r){var n,i={},o={};for(n in(null===t||"object"!=typeof t)&&(t={}),(null===r||"object"!=typeof r)&&(r={}),r)n in t?i[n]=e(t[n],r[n]):o[n]=r[n];return function(e){for(n in i)o[n]=i[n](e);return o}}:Y:function(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}})(t,r)},l=ee;function c(){var e,t,r,u=Math.min(a.length,s.length);return l!==ee&&(e=a[0],t=a[u-1],e>t&&(r=e,e=t,t=r),l=function(r){return Math.max(e,Math.min(t,r))}),n=u>2?en:er,i=o=null,d}function d(t){return null==t||isNaN(t=+t)?r:(i||(i=n(a.map(e),s,u)))(e(l(t)))}return d.invert=function(r){return l(t((o||(o=n(s,a.map(e),Y)))(r)))},d.domain=function(e){return arguments.length?(a=Array.from(e,X),c()):a.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),c()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),u=J,c()},d.clamp=function(e){return arguments.length?(l=!!e||ee,c()):l!==ee},d.interpolate=function(e){return arguments.length?(u=e,c()):u},d.unknown=function(e){return arguments.length?(r=e,d):r},function(r,n){return e=r,t=n,c()}})()(ee,ee);return r.copy=function(){return e().domain(r.domain()).range(r.range()).interpolate(r.interpolate()).clamp(r.clamp()).unknown(r.unknown())},ei.o.apply(r,arguments),t=r.domain,r.ticks=function(e){var r=t();return function(e,t,r){var n,i,o,a,s=-1;if(r=+r,(e=+e)==(t=+t)&&r>0)return[e];if((n=t<e)&&(i=e,e=t,t=i),0===(a=c(e,t,r))||!isFinite(a))return[];if(a>0){let r=Math.round(e/a),n=Math.round(t/a);for(r*a<e&&++r,n*a>t&&--n,o=Array(i=n-r+1);++s<i;)o[s]=(r+s)*a}else{let r=Math.round(e*(a=-a)),n=Math.round(t*a);for(r/a<e&&++r,n/a>t&&--n,o=Array(i=n-r+1);++s<i;)o[s]=(r+s)/a}return n&&o.reverse(),o}(r[0],r[r.length-1],null==e?10:e)},r.tickFormat=function(e,r){var n=t();return function(e,t,r,n){var i,c,d,h,p,f=(d=Math.pow(10,Math.floor(Math.log(c=Math.abs(t-e)/Math.max(0,r))/Math.LN10)),(h=c/d)>=s?d*=10:h>=u?d*=5:h>=l&&(d*=2),t<e?-d:d);switch((n=ea(null==n?",f":n)).type){case"s":var m=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(p=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(el(m)/3)))-el(Math.abs(f))))||(n.precision=p),a(n,m);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(p=Math.max(0,el(Math.abs(Math.max(Math.abs(e),Math.abs(t)))-(i=Math.abs(i=f)))-el(i))+1)||(n.precision=p-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(p=Math.max(0,-el(Math.abs(f))))||(n.precision=p-("%"===n.type)*2)}return o(n)}(n[0],n[n.length-1],null==e?10:e,r)},r.nice=function(e){null==e&&(e=10);var n,i,o=t(),a=0,s=o.length-1,u=o[a],l=o[s],d=10;for(l<u&&(i=u,u=l,l=i,i=a,a=s,s=i);d-- >0;){if((i=c(u,l,e))===n)return o[a]=u,o[s]=l,t(o);if(i>0)u=Math.floor(u/i)*i,l=Math.ceil(l/i)*i;else if(i<0)u=Math.ceil(u*i)/i,l=Math.floor(l*i)/i;else break;n=i}return r},r}(),e)}},14582:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(2784),i=r(72779),o=r.n(i),a=["className","innerRef"];function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e){var t=e.className,r=e.innerRef,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,a);return n.createElement("rect",s({ref:r,className:o()("visx-bar",t)},i))}},10897:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(2784),i=r(72779),o=r.n(i),a=["children","className","innerRef","x","y","width","height","radius","all","top","bottom","left","right","topLeft","topRight","bottomLeft","bottomRight"];function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e){var t,r,i,u,l,c,d,h,p,f,m,g,v,y,b,w,k=e.children,x=e.className,_=e.innerRef,S=e.x,E=e.y,D=e.width,C=e.height,j=e.radius,O=e.all,T=e.top,A=e.bottom,P=e.left,R=e.right,M=e.topLeft,F=e.topRight,N=e.bottomLeft,I=e.bottomRight,L=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,a),B=(r=(t={x:S,y:E,width:D,height:C,radius:j,all:void 0!==O&&O,top:void 0!==T&&T,bottom:void 0!==A&&A,left:void 0!==P&&P,right:void 0!==R&&R,topLeft:void 0!==M&&M,topRight:void 0!==F&&F,bottomLeft:void 0!==N&&N,bottomRight:void 0!==I&&I}).all,i=t.bottom,u=t.bottomLeft,l=t.bottomRight,c=t.height,d=t.left,h=t.radius,p=t.right,f=t.top,m=t.topLeft,g=t.topRight,v=t.width,y=t.x,b=t.y,g=r||f||p||g,l=r||i||p||l,u=r||i||d||u,m=r||f||d||m,w=2*(h=Math.max(1,Math.min(h,Math.min(v,c)/2))),("M"+(y+h)+","+b+" h"+(v-w)+"\n "+(g?"a"+h+","+h+" 0 0 1 "+h+","+h:"h"+h+"v"+h)+"\n v"+(c-w)+"\n "+(l?"a"+h+","+h+" 0 0 1 "+-h+","+h:"v"+h+"h"+-h)+"\n h"+(w-v)+"\n "+(u?"a"+h+","+h+" 0 0 1 "+-h+","+-h:"h"+-h+"v"+-h)+"\n v"+(w-c)+"\n "+(m?"a"+h+","+h+" 0 0 1 "+h+","+-h:"v"+-h+"h"+h)+"\nz").split("\n").join(""));return k?n.createElement(n.Fragment,null,k({path:B})):n.createElement("path",s({ref:_,className:o()("visx-bar-rounded",x),d:B},L))}},63739:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(2784),i=r(72779),o=r.n(i),a=["from","to","fill","className","innerRef"];function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e){var t=e.from,r=void 0===t?{x:0,y:0}:t,i=e.to,u=void 0===i?{x:1,y:1}:i,l=e.fill,c=e.className,d=e.innerRef,h=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,a),p=r.x===u.x||r.y===u.y;return n.createElement("line",s({ref:d,className:o()("visx-line",c),x1:r.x,y1:r.y,x2:u.x,y2:u.y,fill:void 0===l?"transparent":l,shapeRendering:p?"crispEdges":"auto"},h))}},27079:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(2784),i=r(72779),o=r.n(i),a=r(30401),s=["children","data","x","y","fill","className","curve","innerRef","defined"];function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e){var t=e.children,r=e.data,i=e.x,l=e.y,c=e.fill,d=e.className,h=e.curve,p=e.innerRef,f=e.defined,m=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,s),g=(0,a.jv)({x:i,y:l,defined:void 0===f?function(){return!0}:f,curve:h});return t?n.createElement(n.Fragment,null,t({path:g})):n.createElement("path",u({ref:p,className:o()("visx-linepath",d),d:g(void 0===r?[]:r)||"",fill:void 0===c?"transparent":c,strokeLinecap:"round"},m))}},30401:function(e,t,r){"use strict";r.d(t,{Nb:function(){return a},jv:function(){return s},ve:function(){return u}});var n=r(38764),i=r(79767),o=r(69619);function a(e){var t=void 0===e?{}:e,r=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.startAngle,s=t.endAngle,u=t.padAngle,l=t.padRadius,c=(0,n.Z)();return null!=r&&(0,c.innerRadius)(r),null!=i&&(0,c.outerRadius)(i),null!=o&&(0,c.cornerRadius)(o),null!=a&&(0,c.startAngle)(a),null!=s&&(0,c.endAngle)(s),null!=u&&(0,c.padAngle)(u),null!=l&&(0,c.padRadius)(l),c}function s(e){var t=void 0===e?{}:e,r=t.x,n=t.y,o=t.defined,a=t.curve,s=(0,i.Z)();return r&&(0,s.x)(r),n&&(0,s.y)(n),o&&s.defined(o),a&&s.curve(a),s}function u(e){var t=void 0===e?{}:e,r=t.startAngle,n=t.endAngle,i=t.padAngle,a=t.value,s=t.sort,u=t.sortValues,l=(0,o.Z)();return null===s?l.sort(s):null!=s&&l.sort(s),null===u?l.sortValues(u):null!=u&&l.sortValues(u),null!=a&&l.value(a),null!=i&&(0,l.padAngle)(i),null!=r&&(0,l.startAngle)(r),null!=n&&(0,l.endAngle)(n),l}},82756:function(e,t,r){"use strict";t.Z=function(e){var t=e.className,r=e.top,u=e.left,c=e.data,d=e.centroid,h=e.innerRadius,p=e.outerRadius,f=e.cornerRadius,m=e.startAngle,g=e.endAngle,v=e.padAngle,y=e.padRadius,b=e.pieSort,w=e.pieSortValues,k=e.pieValue,x=e.children,_=e.fill,S=void 0===_?"":_,E=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,s),D=(0,a.arc)({innerRadius:void 0===h?0:h,outerRadius:p,cornerRadius:f,padRadius:y}),C=(0,a.pie)({startAngle:m,endAngle:g,padAngle:v,value:k,sort:b,sortValues:w}),j=C(void 0===c?[]:c);return x?n.default.createElement(n.default.Fragment,null,x({arcs:j,path:D,pie:C})):n.default.createElement(o.Group,{className:"visx-pie-arcs-group",top:r,left:u},j.map(function(e,r){return n.default.createElement("g",{key:"pie-arc-"+r},n.default.createElement("path",l({className:(0,i.default)("visx-pie-arc",t),d:D(e)||"",fill:null==S||"string"==typeof S?S:S(e)},E)),null==d?void 0:d(D.centroid(e),e))}))};var n=u(r(2784)),i=u(r(72779)),o=r(71602),a=r(15601),s=["className","top","left","data","centroid","innerRadius","outerRadius","cornerRadius","startAngle","endAngle","padAngle","padRadius","pieSort","pieSortValues","pieValue","children","fill"];function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}},15601:function(e,t,r){"use strict";t.__esModule=!0,t.arc=function(e){var t=void 0===e?{}:e,r=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,s=t.startAngle,u=t.endAngle,l=t.padAngle,c=t.padRadius,d=(0,n.arc)();return null!=r&&(0,i.default)(d.innerRadius,r),null!=o&&(0,i.default)(d.outerRadius,o),null!=a&&(0,i.default)(d.cornerRadius,a),null!=s&&(0,i.default)(d.startAngle,s),null!=u&&(0,i.default)(d.endAngle,u),null!=l&&(0,i.default)(d.padAngle,l),null!=c&&(0,i.default)(d.padRadius,c),d},t.area=function(e){var t=void 0===e?{}:e,r=t.x,o=t.x0,a=t.x1,s=t.y,u=t.y0,l=t.y1,c=t.defined,d=t.curve,h=(0,n.area)();return r&&(0,i.default)(h.x,r),o&&(0,i.default)(h.x0,o),a&&(0,i.default)(h.x1,a),s&&(0,i.default)(h.y,s),u&&(0,i.default)(h.y0,u),l&&(0,i.default)(h.y1,l),c&&h.defined(c),d&&h.curve(d),h},t.line=function(e){var t=void 0===e?{}:e,r=t.x,o=t.y,a=t.defined,s=t.curve,u=(0,n.line)();return r&&(0,i.default)(u.x,r),o&&(0,i.default)(u.y,o),a&&u.defined(a),s&&u.curve(s),u},t.pie=function(e){var t=void 0===e?{}:e,r=t.startAngle,o=t.endAngle,a=t.padAngle,s=t.value,u=t.sort,l=t.sortValues,c=(0,n.pie)();return null===u?c.sort(u):null!=u&&c.sort(u),null===l?c.sortValues(l):null!=l&&c.sortValues(l),null!=s&&c.value(s),null!=a&&(0,i.default)(c.padAngle,a),null!=r&&(0,i.default)(c.startAngle,r),null!=o&&(0,i.default)(c.endAngle,o),c},t.radialLine=function(e){var t=void 0===e?{}:e,r=t.angle,o=t.radius,a=t.defined,s=t.curve,u=(0,n.radialLine)();return r&&(0,i.default)(u.angle,r),o&&(0,i.default)(u.radius,o),a&&u.defined(a),s&&u.curve(s),u},t.stack=function(e){var t=e.keys,r=e.value,s=e.order,u=e.offset,l=(0,n.stack)();return t&&l.keys(t),r&&(0,i.default)(l.value,r),s&&l.order((0,o.default)(s)),u&&l.offset((0,a.default)(u)),l};var n=r(54937),i=s(r(4839)),o=s(r(58543)),a=s(r(74322));function s(e){return e&&e.__esModule?e:{default:e}}},4839:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){e(t)}},74322:function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){return e&&i[e]||i.none},t.STACK_OFFSET_NAMES=t.STACK_OFFSETS=void 0;var n=r(54937),i={expand:n.stackOffsetExpand,diverging:n.stackOffsetDiverging,none:n.stackOffsetNone,silhouette:n.stackOffsetSilhouette,wiggle:n.stackOffsetWiggle};t.STACK_OFFSETS=i;var o=Object.keys(i);t.STACK_OFFSET_NAMES=o},58543:function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){return e&&i[e]||i.none},t.STACK_ORDER_NAMES=t.STACK_ORDERS=void 0;var n=r(54937),i={ascending:n.stackOrderAscending,descending:n.stackOrderDescending,insideout:n.stackOrderInsideOut,none:n.stackOrderNone,reverse:n.stackOrderReverse};t.STACK_ORDERS=i;var o=Object.keys(i);t.STACK_ORDER_NAMES=o},26743:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(2784),i=r(32718),o=r.n(i),a=r(75715),s=["verticalAnchor","scaleToFit","angle","width","lineHeight","capHeight","children","style"];function u(e){return"number"==typeof e}function l(e){return"number"==typeof e&&Number.isFinite(e)||"string"==typeof e}var c=["dx","dy","textAnchor","innerRef","innerTextRef","verticalAnchor","angle","lineHeight","scaleToFit","capHeight","width"];function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var h={overflow:"visible"};function p(e){var t,r,i,p,f,m,g,v,y,b,w,k,x,_,S,E,D,C,j,O,T,A,P,R,M=e.dx,F=e.dy,N=e.textAnchor,I=e.innerRef,L=e.innerTextRef,B=(e.verticalAnchor,e.angle,e.lineHeight),z=void 0===B?"1em":B,U=(e.scaleToFit,e.capHeight,e.width,function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,c)),q=U.x,$=void 0===q?0:q,H=U.fontSize,V=(r=void 0===(t=e.verticalAnchor)?"end":t,p=void 0!==(i=e.scaleToFit)&&i,f=e.angle,m=e.width,v=void 0===(g=e.lineHeight)?"1em":g,b=void 0===(y=e.capHeight)?"0.71em":y,w=e.children,k=e.style,S=void 0===(_=(x=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,s)).x)?0:_,D=void 0===(E=x.y)?0:E,C=!l(S)||!l(D),O=(j=(0,n.useMemo)(function(){return{wordsWithWidth:(null==w?[]:w.toString().split(/(?:(?!\u00A0+)\s+)/)).map(function(e){return{word:e,wordWidth:(0,a.Z)(e,k)||0}}),spaceWidth:(0,a.Z)("\xa0",k)||0}},[w,k])).wordsWithWidth,T=j.spaceWidth,A=(0,n.useMemo)(function(){return C?[]:m||p?O.reduce(function(e,t){var r=t.word,n=t.wordWidth,i=e[e.length-1];return i&&(null==m||p||(i.width||0)+n+T<m)?(i.words.push(r),i.width=i.width||0,i.width+=n+T):e.push({words:[r],width:n}),e},[]):[{words:null==w?[]:w.toString().split(/(?:(?!\u00A0+)\s+)/)}]},[C,m,p,w,O,T]),P=(0,n.useMemo)(function(){return C?"":"start"===r?o()("calc("+b+")"):"middle"===r?o()("calc("+(A.length-1)/2+" * -"+v+" + ("+b+" / 2))"):o()("calc("+(A.length-1)+" * -"+v+")")},[C,r,b,A.length,v]),R=(0,n.useMemo)(function(){var e=[];if(C)return"";if(u(S)&&u(D)&&u(m)&&p&&A.length>0){var t=A[0].width||1,r="shrink-only"===p?Math.min(m/t,1):m/t,n=S-r*S,i=D-r*D;e.push("matrix("+r+", 0, 0, "+r+", "+n+", "+i+")")}return f&&e.push("rotate("+f+", "+S+", "+D+")"),e.length>0?e.join(" "):""},[C,S,D,m,p,A,f]),{wordsByLines:A,startDy:P,transform:R}),W=V.wordsByLines,G=V.startDy,Y=V.transform;return n.createElement("svg",{ref:I,x:void 0===M?0:M,y:void 0===F?0:F,fontSize:H,style:h},W.length>0?n.createElement("text",d({ref:L,transform:Y},U,{textAnchor:void 0===N?"start":N}),W.map(function(e,t){return n.createElement("tspan",{key:t,x:$,dy:0===t?G:z},e.words.join(" "))})):null)}},75715:function(e,t,r){"use strict";var n=r(30733),i=r.n(n),o="__react_svg_text_measurement_id";t.Z=i()(function(e,t){try{var r=document.getElementById(o);if(!r){var n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("aria-hidden","true"),n.style.width="0",n.style.height="0",n.style.position="absolute",n.style.top="-100%",n.style.left="-100%",(r=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("id",o),n.appendChild(r),document.body.appendChild(n)}return Object.assign(r.style,t),r.textContent=e,r.getComputedTextLength()}catch(e){return null}},function(e,t){return e+"_"+JSON.stringify(t)})},96492:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(2784),i=["tooltipOpen"];function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(e){var t=(0,n.useState)(o({tooltipOpen:!1},e)),r=t[0],a=t[1],s=(0,n.useCallback)(function(e){return a("function"==typeof e?function(t){t.tooltipOpen;var r=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(t,i);return o({},e(r),{tooltipOpen:!0})}:{tooltipOpen:!0,tooltipLeft:e.tooltipLeft,tooltipTop:e.tooltipTop,tooltipData:e.tooltipData})},[a]),u=(0,n.useCallback)(function(){return a({tooltipOpen:!1,tooltipLeft:void 0,tooltipTop:void 0,tooltipData:void 0})},[a]);return{tooltipOpen:r.tooltipOpen,tooltipLeft:r.tooltipLeft,tooltipTop:r.tooltipTop,tooltipData:r.tooltipData,updateTooltip:a,showTooltip:s,hideTooltip:u}}},15448:function(e,t,r){"use strict";r.d(t,{Z:function(){return _}});var n,i,o,a=r(2784),s=r(28316);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h={top:0,right:0,bottom:0,left:0,width:0,height:0},p=r(13980),f=r.n(p),m=r(72779),g=r.n(m),v=["className","top","left","offsetLeft","offsetTop","style","children","unstyled","applyPositionStyle"];function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var b={position:"absolute",backgroundColor:"white",color:"#666666",padding:".3rem .5rem",borderRadius:"3px",fontSize:"14px",boxShadow:"0 1px 2px rgba(33,33,33,0.2)",lineHeight:"1em",pointerEvents:"none"};function w(e){var t=e.className,r=e.top,n=e.left,i=e.offsetLeft,o=void 0===i?10:i,s=e.offsetTop,u=void 0===s?10:s,l=e.style,c=void 0===l?b:l,d=e.children,h=e.unstyled,p=e.applyPositionStyle,f=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,v);return a.createElement("div",y({className:g()("visx-tooltip",t),style:y({top:null==r||null==u?r:r+u,left:null==n||null==o?n:n+o},void 0!==p&&p&&{position:"absolute"},!(void 0!==h&&h)&&c)},f),d)}w.propTypes={children:f().node,className:f().string,left:f().number,offsetLeft:f().number,offsetTop:f().number,top:f().number,applyPositionStyle:f().bool,unstyled:f().bool};var k=["children","getRects","left","offsetLeft","offsetTop","parentRect","rect","style","top","unstyled"];function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var _=(n=function(e){var t,r=e.children,n=(e.getRects,e.left),i=e.offsetLeft,o=void 0===i?10:i,s=e.offsetTop,u=void 0===s?10:s,l=e.parentRect,c=e.rect,d=e.style,h=void 0===d?b:d,p=e.top,f=e.unstyled,m=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,k);if(c&&l){var g=void 0===n?0:n,v=void 0===p?0:p,y=!1,_=!1;if(l.width){var S=g+o+c.width-l.width,E=c.width-g-o;y=S>0&&S>E}else{var D=g+o+c.width-window.innerWidth,C=c.width-g-o;y=D>0&&D>C}if(l.height){var j=v+u+c.height-l.height,O=c.height-v-u;_=j>0&&j>O}else _=v+u+c.height>window.innerHeight;g=y?g-c.width-o:g+o,v=_?v-c.height-u:v+u,t="translate("+(g=Math.round(g))+"px, "+(v=Math.round(v))+"px)"}return a.createElement(w,x({style:x({left:0,top:0,transform:t},!(void 0!==f&&f)&&h)},m),r)},o=i=function(e){function t(t){var r;return d(l(r=e.call(this,t)||this),"node",void 0),r.state={rect:void 0,parentRect:void 0},r.getRects=r.getRects.bind(l(r)),r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,c(t,e);var r=t.prototype;return r.componentDidMount=function(){var e=this;this.node=s.findDOMNode(this),this.setState(function(){return e.getRects()})},r.getRects=function(){if(!this.node)return this.state;var e=this.node,t=e.parentNode;return{rect:e.getBoundingClientRect?e.getBoundingClientRect():h,parentRect:null!=t&&t.getBoundingClientRect?t.getBoundingClientRect():h}},r.render=function(){return a.createElement(n,u({getRects:this.getRects},this.state,this.props))},t}(a.PureComponent),d(i,"displayName","withBoundingRects("+(n.displayName||"")+")"),o)},62139:function(e,t,r){"use strict";r.d(t,{g7:function(){return u}});var n=null,i={},o=1,a="@wry/context:Slot",s=Array,u=s[a]||function(){var e=function(){function e(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=n;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===i)break;return e!==n&&(n.slots[this.id]=t),!0}return n&&(n.slots[this.id]=i),!1},e.prototype.getValue=function(){if(this.hasValue())return n.slots[this.id]},e.prototype.withValue=function(e,t,r,i){var o,a=((o={__proto__:null})[this.id]=e,o),s=n;n={parent:s,slots:a};try{return t.apply(i,r)}finally{n=s}},e.bind=function(e){var t=n;return function(){var r=n;try{return n=t,e.apply(this,arguments)}finally{n=r}}},e.noContext=function(e,t,r){if(!n)return e.apply(r,t);var i=n;try{return n=null,e.apply(r,t)}finally{n=i}},e}();try{Object.defineProperty(s,a,{value:s[a]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();u.bind,u.noContext},38229:function(e,t,r){"use strict";r.d(t,{D:function(){return u}});var n=Object.prototype,i=n.toString,o=n.hasOwnProperty,a=Function.prototype.toString,s=new Map;function u(e,t){try{return function e(t,r){if(t===r)return!0;var n=i.call(t);if(n!==i.call(r))return!1;switch(n){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":if(h(t,r))return!0;var s=l(t),u=l(r),c=s.length;if(c!==u.length)break;for(var p=0;p<c;++p)if(!o.call(r,s[p]))return!1;for(var p=0;p<c;++p){var f=s[p];if(!e(t[f],r[f]))return!1}return!0;case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==""+r;case"[object Map]":case"[object Set]":if(t.size!==r.size)break;if(h(t,r))return!0;for(var m=t.entries(),g="[object Map]"===n;;){var v=m.next();if(v.done)break;var y=v.value,b=y[0],w=y[1];if(!r.has(b)||g&&!e(w,r.get(b)))return!1}return!0;case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":var k=t.byteLength;if(k===r.byteLength)for(;k--&&t[k]===r[k];);return -1===k;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var x,_=a.call(t);if(_!==a.call(r))break;return!((x=_.length-d.length)>=0)||_.indexOf(d,x)!==x}return!1}(e,t)}finally{s.clear()}}function l(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}var d="{ [native code] }";function h(e,t){var r=s.get(e);if(r){if(r.has(t))return!0}else s.set(e,r=new Set);return r.add(t),!1}},3985:function(e,t,r){"use strict";r.d(t,{B:function(){return s}});var n=function(){return Object.create(null)},i=Array.prototype,o=i.forEach,a=i.slice,s=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=n),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return o.call(e,function(e){return t=t.getChildTrie(e)}),t.data||(t.data=this.makeData(a.call(e)))},e.prototype.getChildTrie=function(t){var r=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),n=r.get(t);return n||r.set(t,n=new e(this.weakness,this.makeData)),n},e}()},49732:function(e,t,r){"use strict";r.d(t,{Ry:function(){return l}});var n=new WeakMap,i=new WeakMap,o={},a=0,s=function(e){return e&&(e.host||s(e.parentNode))},u=function(e,t,r,u){var l=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=s(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});o[r]||(o[r]=new WeakMap);var c=o[r],d=[],h=new Set,p=new Set(l),f=function(e){!e||h.has(e)||(h.add(e),f(e.parentNode))};l.forEach(f);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(h.has(e))m(e);else{var t=e.getAttribute(u),o=null!==t&&"false"!==t,a=(n.get(e)||0)+1,s=(c.get(e)||0)+1;n.set(e,a),c.set(e,s),d.push(e),1===a&&o&&i.set(e,!0),1===s&&e.setAttribute(r,"true"),o||e.setAttribute(u,"true")}})};return m(t),h.clear(),a++,function(){d.forEach(function(e){var t=n.get(e)-1,o=c.get(e)-1;n.set(e,t),c.set(e,o),t||(i.has(e)||e.removeAttribute(u),i.delete(e)),o||e.removeAttribute(r)}),--a||(n=new WeakMap,n=new WeakMap,i=new WeakMap,o={})}},l=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),u(n,i,r,"aria-hidden")):function(){return null}}},82294:function(e){"use strict";function t(e,t,i){e instanceof RegExp&&(e=r(e,i)),t instanceof RegExp&&(t=r(t,i));var o=n(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function r(e,t){var r=t.match(e);return r?r[0]:null}function n(e,t,r){var n,i,o,a,s,u=r.indexOf(e),l=r.indexOf(t,u+1),c=u;if(u>=0&&l>0){for(n=[],o=r.length;c>=0&&!s;)c==u?(n.push(c),u=r.indexOf(e,c+1)):1==n.length?s=[n.pop(),l]:((i=n.pop())<o&&(o=i,a=l),l=r.indexOf(t,c+1)),c=u<l&&u>=0?u:l;n.length&&(s=[o,a])}return s}e.exports=t,t.range=n},95766:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=u(e),a=o[0],s=o[1],l=new i((a+s)*3/4-s),c=0,d=s>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(e,t,n){for(var i,o=[],a=t;a<n;a+=3)o.push(r[(i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48834:function(e,t,r){"use strict";var n=r(95766),i=r(62333),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|f(e,t),n=a(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(O(e,Uint8Array)){var t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return s.from(n,t,r);var i=function(e){if(s.isBuffer(e)){var t,r=0|p(e.length),n=a(r);return 0===n.length||e.copy(n,0,0,r),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return l(e),a(e<0?0:0|p(e))}function d(e){for(var t=e.length<0?0:0|p(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}function p(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function f(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(e).length;default:if(i)return n?-1:D(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,r){var i,o,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=T[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=t,o=r,0===i&&o===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(i,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,u/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var d=!0,h=0;h<u;h++)if(l(e,o+h)!==l(t,h)){d=!1;break}if(d)return o}return -1}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,u,l=e[i],c=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r)switch(d){case 1:l<128&&(c=l);break;case 2:(192&(o=e[i+1]))==128&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function w(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function k(e,t,r,n,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function x(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function _(e,t,r,n,o){return t=+t,r>>>=0,o||x(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,o){return t=+t,r>>>=0,o||x(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(l(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(O(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),O(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(O(o,Uint8Array))i+o.length>n.length?s.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else if(s.isBuffer(o))o.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return n},s.byteLength=f,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(O(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,u=Math.min(o,a),l=this.slice(n,i),c=e.slice(t,r),d=0;d<u;++d)if(l[d]!==c[d]){o=l[d],a=c[d];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,u,l,c,d,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(s!=s)break;e[r+a]=s}return a}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,j(D(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,s=r,j(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,s);case"base64":return u=t,l=r,j(C(e),this,u,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=r,j(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,d);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;k(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;k(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);k(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);k(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||k(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),u=a.length;if(0===u)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%u]}return this};var E=/[^+/0-9A-Za-z-_]/g;function D(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function C(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(E,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function j(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function O(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var T=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},62680:function(e,t,r){"use strict";var n=r(76672),i=r(89429),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i(r):r}},89429:function(e,t,r){"use strict";var n=r(4090),i=r(76672),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),l=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=s(n,a,arguments);return u&&l&&u(t,"length").configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))}),t};var d=function(){return s(n,o,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d},76672:function(e,t,r){"use strict";var n,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var l=function(){throw new a},c=u?function(){try{return arguments.callee,l}catch(e){try{return u(arguments,"callee").get}catch(e){return l}}}():l,d=r(73025)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?n:h(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},g=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(r=h(i.prototype))}return m[t]=r,r},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(4090),b=r(23198),w=y.call(Function.call,Array.prototype.concat),k=y.call(Function.apply,Array.prototype.splice),x=y.call(Function.call,String.prototype.replace),_=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,D=function(e){var t=_(e,0,1),r=_(e,-1);if("%"===t&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return x(e,S,function(e,t,r,i){n[n.length]=r?x(i,E,"$1"):t||e}),n},C=function(e,t){var r,n=e;if(b(v,n)&&(n="%"+(r=v[n])[0]+"%"),b(m,n)){var o=m[n];if(o===p&&(o=g(n)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=D(e),n=r.length>0?r[0]:"",o=C("%"+n+"%",t),s=o.name,l=o.value,c=!1,d=o.alias;d&&(n=d[0],k(r,w([0,1],d)));for(var h=1,p=!0;h<r.length;h+=1){var f=r[h],g=_(f,0,1),v=_(f,-1);if(('"'===g||"'"===g||"`"===g||'"'===v||"'"===v||"`"===v)&&g!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==f&&p||(c=!0),n+="."+f,b(m,s="%"+n+"%"))l=m[s];else if(null!=l){if(!(f in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&h+1>=r.length){var y=u(l,f);l=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:l[f]}else p=b(l,f),l=l[f];p&&!c&&(m[s]=l)}}return l}},73025:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(73708);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},73708:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},72779:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&e.push(a)}}else if("object"===o){if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0!==(r=(function(){return i}).apply(t,[]))&&(e.exports=r)}()},87582:function(e){function t(e){if(e)return function(e){for(var r in t.prototype)e[r]=t.prototype[r];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<n.length;i++)if((r=n[i])===t||r.fn===t){n.splice(i,1);break}return 0===n.length&&delete this._callbacks["$"+e],this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,i=r.length;n<i;++n)r[n].apply(this,t)}return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},50381:function(e,t,r){"use strict";var n=r(91706),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,o,a,s,u,l,c,d,h=!1;t||(t={}),a=t.debug||!1;try{if(u=n(),l=document.createRange(),c=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(r){if(r.stopPropagation(),t.format){if(r.preventDefault(),void 0===r.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var n=i[t.format]||i.default;window.clipboardData.setData(n,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e)}t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(d),l.selectNodeContents(d),c.addRange(l),!document.execCommand("copy"))throw Error("copy command was unsuccessful");h=!0}catch(n){a&&console.error("unable to copy using execCommand: ",n),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(n){a&&console.error("unable to copy using clipboardData: ",n),a&&console.error("falling back to prompt"),r="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",s=r.replace(/#{\s*key\s*}/g,o),window.prompt(s,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(l):c.removeAllRanges()),d&&document.body.removeChild(d),u()}return h}},16149:function(e,t,r){"use strict";r.d(t,{A8:function(){return a},Qc:function(){return u},Y6:function(){return o},rk:function(){return s}});var n=r(90824),i=r(65960);function o(e){return s(u(e))}function a(e,t){var r=(0,i.Kf)(e,[t[0],t[1]||0,t[2]||0,1],4),n=r[3]||1;return[r[0]/n,r[1]/n,r[2]/n]}function s(e){var t=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return e.forEach(function(e){var r=e.matrixFunction,n=e.functionValue;r&&(t=r(t,n))}),t}function u(e){return((0,n.kJ)(e)?e:(0,n.WE)(e)).map(function(e){var t=(0,n.Le)(e),r=t.prefix,o=t.value,a=null,s=r,u="";if("translate"===r||"translateX"===r||"translate3d"===r){var l=(0,n.W6)(o).map(function(e){return parseFloat(e)}),c=l[0],d=l[1],h=void 0===d?0:d,p=l[2],f=void 0===p?0:p;a=i.z2,u=[c,h,f]}else if("translateY"===r){var h=parseFloat(o);a=i.z2,u=[0,h,0]}else if("translateZ"===r){var f=parseFloat(o);a=i.z2,u=[0,0,f]}else if("scale"===r||"scale3d"===r){var m=(0,n.W6)(o).map(function(e){return parseFloat(e)}),g=m[0],v=m[1],y=void 0===v?g:v,b=m[2],w=void 0===b?1:b;a=i.C7,u=[g,y,w]}else if("scaleX"===r){var g=parseFloat(o);a=i.C7,u=[g,1,1]}else if("scaleY"===r){var y=parseFloat(o);a=i.C7,u=[1,y,1]}else if("scaleZ"===r){var w=parseFloat(o);a=i.C7,u=[1,1,w]}else if("rotate"===r||"rotateZ"===r||"rotateX"===r||"rotateY"===r){var k=(0,n.jL)(o),x=k.unit,_=k.value,S="rad"===x?_:_*Math.PI/180;"rotate"===r||"rotateZ"===r?(s="rotateZ",a=i.a4):"rotateX"===r?a=i.yR:"rotateY"===r&&(a=i.Qm),u=S}else if("matrix3d"===r)a=i.Jp,u=(0,n.W6)(o).map(function(e){return parseFloat(e)});else if("matrix"===r){var E=(0,n.W6)(o).map(function(e){return parseFloat(e)});a=i.Jp,u=[E[0],E[1],0,0,E[2],E[3],0,0,0,0,1,0,E[4],E[5],0,1]}else s="";return{name:r,functionName:s,value:o,matrixFunction:a,functionValue:u}})}},91672:function(e,t){"use strict";var r=Math.PI,n=2*r,i=n-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function a(){return new o}o.prototype=a.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,r,n){this._+="Q"+ +e+","+ +t+","+(this._x1=+r)+","+(this._y1=+n)},bezierCurveTo:function(e,t,r,n,i,o){this._+="C"+ +e+","+ +t+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,n,i,o){e=+e,t=+t,n=+n,i=+i,o=+o;var a=this._x1,s=this._y1,u=n-e,l=i-t,c=a-e,d=s-t,h=c*c+d*d;if(o<0)throw Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6){if(Math.abs(d*u-l*c)>1e-6&&o){var p=n-a,f=i-s,m=u*u+l*l,g=Math.sqrt(m),v=Math.sqrt(h),y=o*Math.tan((r-Math.acos((m+h-(p*p+f*f))/(2*g*v)))/2),b=y/v,w=y/g;Math.abs(b-1)>1e-6&&(this._+="L"+(e+b*c)+","+(t+b*d)),this._+="A"+o+","+o+",0,0,"+ +(d*p>c*f)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t)}},arc:function(e,t,o,a,s,u){e=+e,t=+t,o=+o,u=!!u;var l=o*Math.cos(a),c=o*Math.sin(a),d=e+l,h=t+c,p=1^u,f=u?a-s:s-a;if(o<0)throw Error("negative radius: "+o);null===this._x1?this._+="M"+d+","+h:(Math.abs(this._x1-d)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+d+","+h),o&&(f<0&&(f=f%n+n),f>i?this._+="A"+o+","+o+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+o+","+o+",0,1,"+p+","+(this._x1=d)+","+(this._y1=h):f>1e-6&&(this._+="A"+o+","+o+",0,"+ +(f>=r)+","+p+","+(this._x1=e+o*Math.cos(s))+","+(this._y1=t+o*Math.sin(s))))},rect:function(e,t,r,n){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},toString:function(){return this._}},t.Z=a},22274:function(e,t,r){"use strict";function n(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}r.d(t,{o:function(){return n}})},38764:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(91672),i=r(33554),o=r(15);function a(e){return e.innerRadius}function s(e){return e.outerRadius}function u(e){return e.startAngle}function l(e){return e.endAngle}function c(e){return e&&e.padAngle}function d(e,t,r,n,i,a,s){var u=e-r,l=t-n,c=(s?a:-a)/(0,o._b)(u*u+l*l),d=c*l,h=-c*u,p=e+d,f=t+h,m=r+d,g=n+h,v=(p+m)/2,y=(f+g)/2,b=m-p,w=g-f,k=b*b+w*w,x=i-a,_=p*g-m*f,S=(w<0?-1:1)*(0,o._b)((0,o.Fp)(0,x*x*k-_*_)),E=(_*w-b*S)/k,D=(-_*b-w*S)/k,C=(_*w+b*S)/k,j=(-_*b+w*S)/k,O=E-v,T=D-y,A=C-v,P=j-y;return O*O+T*T>A*A+P*P&&(E=C,D=j),{cx:E,cy:D,x01:-d,y01:-h,x11:E*(i/x-1),y11:D*(i/x-1)}}function h(){var e=a,t=s,r=(0,i.Z)(0),h=null,p=u,f=l,m=c,g=null;function v(){var i,a,s=+e.apply(this,arguments),u=+t.apply(this,arguments),l=p.apply(this,arguments)-o.ou,c=f.apply(this,arguments)-o.ou,v=(0,o.Wn)(c-l),y=c>l;if(g||(g=i=(0,n.Z)()),u<s&&(a=u,u=s,s=a),u>o.Ho){if(v>o.BZ-o.Ho)g.moveTo(u*(0,o.mC)(l),u*(0,o.O$)(l)),g.arc(0,0,u,l,c,!y),s>o.Ho&&(g.moveTo(s*(0,o.mC)(c),s*(0,o.O$)(c)),g.arc(0,0,s,c,l,y));else{var b,w,k=l,x=c,_=l,S=c,E=v,D=v,C=m.apply(this,arguments)/2,j=C>o.Ho&&(h?+h.apply(this,arguments):(0,o._b)(s*s+u*u)),O=(0,o.VV)((0,o.Wn)(u-s)/2,+r.apply(this,arguments)),T=O,A=O;if(j>o.Ho){var P=(0,o.ZR)(j/s*(0,o.O$)(C)),R=(0,o.ZR)(j/u*(0,o.O$)(C));(E-=2*P)>o.Ho?(P*=y?1:-1,_+=P,S-=P):(E=0,_=S=(l+c)/2),(D-=2*R)>o.Ho?(R*=y?1:-1,k+=R,x-=R):(D=0,k=x=(l+c)/2)}var M=u*(0,o.mC)(k),F=u*(0,o.O$)(k),N=s*(0,o.mC)(S),I=s*(0,o.O$)(S);if(O>o.Ho){var L,B=u*(0,o.mC)(x),z=u*(0,o.O$)(x),U=s*(0,o.mC)(_),q=s*(0,o.O$)(_);if(v<o.pi&&(L=function(e,t,r,n,i,a,s,u){var l=r-e,c=n-t,d=s-i,h=u-a,p=h*l-d*c;if(!(p*p<o.Ho))return p=(d*(t-a)-h*(e-i))/p,[e+p*l,t+p*c]}(M,F,U,q,B,z,N,I))){var $=M-L[0],H=F-L[1],V=B-L[0],W=z-L[1],G=1/(0,o.O$)((0,o.Kh)(($*V+H*W)/((0,o._b)($*$+H*H)*(0,o._b)(V*V+W*W)))/2),Y=(0,o._b)(L[0]*L[0]+L[1]*L[1]);T=(0,o.VV)(O,(s-Y)/(G-1)),A=(0,o.VV)(O,(u-Y)/(G+1))}}D>o.Ho?A>o.Ho?(b=d(U,q,M,F,u,A,y),w=d(B,z,N,I,u,A,y),g.moveTo(b.cx+b.x01,b.cy+b.y01),A<O?g.arc(b.cx,b.cy,A,(0,o.fv)(b.y01,b.x01),(0,o.fv)(w.y01,w.x01),!y):(g.arc(b.cx,b.cy,A,(0,o.fv)(b.y01,b.x01),(0,o.fv)(b.y11,b.x11),!y),g.arc(0,0,u,(0,o.fv)(b.cy+b.y11,b.cx+b.x11),(0,o.fv)(w.cy+w.y11,w.cx+w.x11),!y),g.arc(w.cx,w.cy,A,(0,o.fv)(w.y11,w.x11),(0,o.fv)(w.y01,w.x01),!y))):(g.moveTo(M,F),g.arc(0,0,u,k,x,!y)):g.moveTo(M,F),s>o.Ho&&E>o.Ho?T>o.Ho?(b=d(N,I,B,z,s,-T,y),w=d(M,F,U,q,s,-T,y),g.lineTo(b.cx+b.x01,b.cy+b.y01),T<O?g.arc(b.cx,b.cy,T,(0,o.fv)(b.y01,b.x01),(0,o.fv)(w.y01,w.x01),!y):(g.arc(b.cx,b.cy,T,(0,o.fv)(b.y01,b.x01),(0,o.fv)(b.y11,b.x11),!y),g.arc(0,0,s,(0,o.fv)(b.cy+b.y11,b.cx+b.x11),(0,o.fv)(w.cy+w.y11,w.cx+w.x11),y),g.arc(w.cx,w.cy,T,(0,o.fv)(w.y11,w.x11),(0,o.fv)(w.y01,w.x01),!y))):g.arc(0,0,s,S,_,y):g.lineTo(N,I)}}else g.moveTo(0,0);if(g.closePath(),i)return g=null,i+""||null}return v.centroid=function(){var r=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,n=(+p.apply(this,arguments)+ +f.apply(this,arguments))/2-o.pi/2;return[(0,o.mC)(n)*r,(0,o.O$)(n)*r]},v.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),v):e},v.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.Z)(+e),v):t},v.cornerRadius=function(e){return arguments.length?(r="function"==typeof e?e:(0,i.Z)(+e),v):r},v.padRadius=function(e){return arguments.length?(h=null==e?null:"function"==typeof e?e:(0,i.Z)(+e),v):h},v.startAngle=function(e){return arguments.length?(p="function"==typeof e?e:(0,i.Z)(+e),v):p},v.endAngle=function(e){return arguments.length?(f="function"==typeof e?e:(0,i.Z)(+e),v):f},v.padAngle=function(e){return arguments.length?(m="function"==typeof e?e:(0,i.Z)(+e),v):m},v.context=function(e){return arguments.length?(g=null==e?null:e,v):g},v}},33554:function(e,t,r){"use strict";function n(e){return function(){return e}}r.d(t,{Z:function(){return n}})},20651:function(e,t,r){"use strict";function n(e){this._context=e}function i(e){return new n(e)}r.d(t,{Z:function(){return i}}),n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}}},54937:function(e,t,r){"use strict";r.r(t),r.d(t,{arc:function(){return n.Z},area:function(){return l},areaRadial:function(){return g},curveBasis:function(){return K},curveBasisClosed:function(){return X},curveBasisOpen:function(){return ee},curveBundle:function(){return er},curveCardinal:function(){return eo},curveCardinalClosed:function(){return es},curveCardinalOpen:function(){return el},curveCatmullRom:function(){return eh},curveCatmullRomClosed:function(){return ef},curveCatmullRomOpen:function(){return eg},curveLinear:function(){return a.Z},curveLinearClosed:function(){return ey},curveMonotoneX:function(){return eE},curveMonotoneY:function(){return eD},curveNatural:function(){return eO},curveStep:function(){return eA},curveStepAfter:function(){return eR},curveStepBefore:function(){return eP},line:function(){return s.Z},lineRadial:function(){return m},linkHorizontal:function(){return E},linkRadial:function(){return C},linkVertical:function(){return D},pie:function(){return c.Z},pointRadial:function(){return v},radialArea:function(){return g},radialLine:function(){return m},stack:function(){return eI},stackOffsetDiverging:function(){return eB},stackOffsetExpand:function(){return eL},stackOffsetNone:function(){return eM},stackOffsetSilhouette:function(){return ez},stackOffsetWiggle:function(){return eU},stackOrderAppearance:function(){return eq},stackOrderAscending:function(){return eH},stackOrderDescending:function(){return eW},stackOrderInsideOut:function(){return eG},stackOrderNone:function(){return eF},stackOrderReverse:function(){return eY},symbol:function(){return W},symbolCircle:function(){return O},symbolCross:function(){return T},symbolDiamond:function(){return R},symbolSquare:function(){return L},symbolStar:function(){return I},symbolTriangle:function(){return z},symbolWye:function(){return H},symbols:function(){return V}});var n=r(38764),i=r(91672),o=r(33554),a=r(20651),s=r(79767),u=r(11053);function l(){var e=u.x,t=null,r=(0,o.Z)(0),n=u.y,l=(0,o.Z)(!0),c=null,d=a.Z,h=null;function p(o){var a,s,u,p,f,m=o.length,g=!1,v=Array(m),y=Array(m);for(null==c&&(h=d(f=(0,i.Z)())),a=0;a<=m;++a){if(!(a<m&&l(p=o[a],a,o))===g){if(g=!g)s=a,h.areaStart(),h.lineStart();else{for(h.lineEnd(),h.lineStart(),u=a-1;u>=s;--u)h.point(v[u],y[u]);h.lineEnd(),h.areaEnd()}}g&&(v[a]=+e(p,a,o),y[a]=+r(p,a,o),h.point(t?+t(p,a,o):v[a],n?+n(p,a,o):y[a]))}if(f)return h=null,f+""||null}function f(){return(0,s.Z)().defined(l).curve(d).context(c)}return p.x=function(r){return arguments.length?(e="function"==typeof r?r:(0,o.Z)(+r),t=null,p):e},p.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.Z)(+t),p):e},p.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:(0,o.Z)(+e),p):t},p.y=function(e){return arguments.length?(r="function"==typeof e?e:(0,o.Z)(+e),n=null,p):r},p.y0=function(e){return arguments.length?(r="function"==typeof e?e:(0,o.Z)(+e),p):r},p.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:(0,o.Z)(+e),p):n},p.lineX0=p.lineY0=function(){return f().x(e).y(r)},p.lineY1=function(){return f().x(e).y(n)},p.lineX1=function(){return f().x(t).y(r)},p.defined=function(e){return arguments.length?(l="function"==typeof e?e:(0,o.Z)(!!e),p):l},p.curve=function(e){return arguments.length?(d=e,null!=c&&(h=d(c)),p):d},p.context=function(e){return arguments.length?(null==e?c=h=null:h=d(c=e),p):c},p}var c=r(69619),d=p(a.Z);function h(e){this._curve=e}function p(e){function t(t){return new h(e(t))}return t._curve=e,t}function f(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(p(e)):t()._curve},e}function m(){return f((0,s.Z)().curve(d))}function g(){var e=l().curve(d),t=e.curve,r=e.lineX0,n=e.lineX1,i=e.lineY0,o=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return f(r())},delete e.lineX0,e.lineEndAngle=function(){return f(n())},delete e.lineX1,e.lineInnerRadius=function(){return f(i())},delete e.lineY0,e.lineOuterRadius=function(){return f(o())},delete e.lineY1,e.curve=function(e){return arguments.length?t(p(e)):t()._curve},e}function v(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}h.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),-(t*Math.cos(e)))}};var y=Array.prototype.slice;function b(e){return e.source}function w(e){return e.target}function k(e){var t=b,r=w,n=u.x,a=u.y,s=null;function l(){var o,u=y.call(arguments),l=t.apply(this,u),c=r.apply(this,u);if(s||(s=o=(0,i.Z)()),e(s,+n.apply(this,(u[0]=l,u)),+a.apply(this,u),+n.apply(this,(u[0]=c,u)),+a.apply(this,u)),o)return s=null,o+""||null}return l.source=function(e){return arguments.length?(t=e,l):t},l.target=function(e){return arguments.length?(r=e,l):r},l.x=function(e){return arguments.length?(n="function"==typeof e?e:(0,o.Z)(+e),l):n},l.y=function(e){return arguments.length?(a="function"==typeof e?e:(0,o.Z)(+e),l):a},l.context=function(e){return arguments.length?(s=null==e?null:e,l):s},l}function x(e,t,r,n,i){e.moveTo(t,r),e.bezierCurveTo(t=(t+n)/2,r,t,i,n,i)}function _(e,t,r,n,i){e.moveTo(t,r),e.bezierCurveTo(t,r=(r+i)/2,n,r,n,i)}function S(e,t,r,n,i){var o=v(t,r),a=v(t,r=(r+i)/2),s=v(n,r),u=v(n,i);e.moveTo(o[0],o[1]),e.bezierCurveTo(a[0],a[1],s[0],s[1],u[0],u[1])}function E(){return k(x)}function D(){return k(_)}function C(){var e=k(S);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var j=r(15),O={draw:function(e,t){var r=Math.sqrt(t/j.pi);e.moveTo(r,0),e.arc(0,0,r,0,j.BZ)}},T={draw:function(e,t){var r=Math.sqrt(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},A=Math.sqrt(1/3),P=2*A,R={draw:function(e,t){var r=Math.sqrt(t/P),n=r*A;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},M=Math.sin(j.pi/10)/Math.sin(7*j.pi/10),F=Math.sin(j.BZ/10)*M,N=-Math.cos(j.BZ/10)*M,I={draw:function(e,t){var r=Math.sqrt(.8908130915292852*t),n=F*r,i=N*r;e.moveTo(0,-r),e.lineTo(n,i);for(var o=1;o<5;++o){var a=j.BZ*o/5,s=Math.cos(a),u=Math.sin(a);e.lineTo(u*r,-s*r),e.lineTo(s*n-u*i,u*n+s*i)}e.closePath()}},L={draw:function(e,t){var r=Math.sqrt(t),n=-r/2;e.rect(n,n,r,r)}},B=Math.sqrt(3),z={draw:function(e,t){var r=-Math.sqrt(t/(3*B));e.moveTo(0,2*r),e.lineTo(-B*r,-r),e.lineTo(B*r,-r),e.closePath()}},U=Math.sqrt(3)/2,q=1/Math.sqrt(12),$=(q/2+1)*3,H={draw:function(e,t){var r=Math.sqrt(t/$),n=r/2,i=r*q,o=r*q+r,a=-n;e.moveTo(n,i),e.lineTo(n,o),e.lineTo(a,o),e.lineTo(-.5*n-U*i,U*n+-.5*i),e.lineTo(-.5*n-U*o,U*n+-.5*o),e.lineTo(-.5*a-U*o,U*a+-.5*o),e.lineTo(-.5*n+U*i,-.5*i-U*n),e.lineTo(-.5*n+U*o,-.5*o-U*n),e.lineTo(-.5*a+U*o,-.5*o-U*a),e.closePath()}},V=[O,T,R,L,I,z,H];function W(){var e=(0,o.Z)(O),t=(0,o.Z)(64),r=null;function n(){var n;if(r||(r=n=(0,i.Z)()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),n)return r=null,n+""||null}return n.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.Z)(t),n):e},n.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,o.Z)(+e),n):t},n.context=function(e){return arguments.length?(r=null==e?null:e,n):r},n}function G(){}function Y(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function Z(e){this._context=e}function K(e){return new Z(e)}function J(e){this._context=e}function X(e){return new J(e)}function Q(e){this._context=e}function ee(e){return new Q(e)}function et(e,t){this._basis=new Z(e),this._beta=t}Z.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Y(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Y(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},J.prototype={areaStart:G,areaEnd:G,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Y(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Y(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},et.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,r=e.length-1;if(r>0)for(var n,i=e[0],o=t[0],a=e[r]-i,s=t[r]-o,u=-1;++u<=r;)n=u/r,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+n*a),this._beta*t[u]+(1-this._beta)*(o+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var er=function e(t){function r(e){return 1===t?new Z(e):new et(e,t)}return r.beta=function(t){return e(+t)},r}(.85);function en(e,t,r){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-r),e._x2,e._y2)}function ei(e,t){this._context=e,this._k=(1-t)/6}ei.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:en(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:en(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var eo=function e(t){function r(e){return new ei(e,t)}return r.tension=function(t){return e(+t)},r}(0);function ea(e,t){this._context=e,this._k=(1-t)/6}ea.prototype={areaStart:G,areaEnd:G,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:en(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var es=function e(t){function r(e){return new ea(e,t)}return r.tension=function(t){return e(+t)},r}(0);function eu(e,t){this._context=e,this._k=(1-t)/6}eu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:en(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var el=function e(t){function r(e){return new eu(e,t)}return r.tension=function(t){return e(+t)},r}(0);function ec(e,t,r){var n=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>j.Ho){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);n=(n*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>j.Ho){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*l+e._x1*e._l23_2a-t*e._l12_2a)/c,a=(a*l+e._y1*e._l23_2a-r*e._l12_2a)/c}e._context.bezierCurveTo(n,i,o,a,e._x2,e._y2)}function ed(e,t){this._context=e,this._alpha=t}ed.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:ec(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var eh=function e(t){function r(e){return t?new ed(e,t):new ei(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);function ep(e,t){this._context=e,this._alpha=t}ep.prototype={areaStart:G,areaEnd:G,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:ec(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ef=function e(t){function r(e){return t?new ep(e,t):new ea(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);function em(e,t){this._context=e,this._alpha=t}em.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ec(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var eg=function e(t){function r(e){return t?new em(e,t):new eu(e,0)}return r.alpha=function(t){return e(+t)},r}(.5);function ev(e){this._context=e}function ey(e){return new ev(e)}function eb(e,t,r){var n=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(n||i<0&&-0),a=(r-e._y1)/(i||n<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*n)/(n+i)))||0}function ew(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function ek(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-n)/3;e._context.bezierCurveTo(n+s,i+s*t,o-s,a-s*r,o,a)}function ex(e){this._context=e}function e_(e){this._context=new eS(e)}function eS(e){this._context=e}function eE(e){return new ex(e)}function eD(e){return new e_(e)}function eC(e){this._context=e}function ej(e){var t,r,n=e.length-1,i=Array(n),o=Array(n),a=Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(t=0,o[n-1]=(e[n]+i[n-1])/2;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function eO(e){return new eC(e)}function eT(e,t){this._context=e,this._t=t}function eA(e){return new eT(e,.5)}function eP(e){return new eT(e,0)}function eR(e){return new eT(e,1)}function eM(e,t){if((i=e.length)>1)for(var r,n,i,o=1,a=e[t[0]],s=a.length;o<i;++o)for(n=a,a=e[t[o]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function eF(e){for(var t=e.length,r=Array(t);--t>=0;)r[t]=t;return r}function eN(e,t){return e[t]}function eI(){var e=(0,o.Z)([]),t=eF,r=eM,n=eN;function i(i){var o,a,s=e.apply(this,arguments),u=i.length,l=s.length,c=Array(l);for(o=0;o<l;++o){for(var d,h=s[o],p=c[o]=Array(u),f=0;f<u;++f)p[f]=d=[0,+n(i[f],h,f,i)],d.data=i[f];p.key=h}for(o=0,a=t(c);o<l;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:(0,o.Z)(y.call(t)),i):e},i.value=function(e){return arguments.length?(n="function"==typeof e?e:(0,o.Z)(+e),i):n},i.order=function(e){return arguments.length?(t=null==e?eF:"function"==typeof e?e:(0,o.Z)(y.call(e)),i):t},i.offset=function(e){return arguments.length?(r=null==e?eM:e,i):r},i}function eL(e,t){if((n=e.length)>0){for(var r,n,i,o=0,a=e[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=e[r][o][1]||0;if(i)for(r=0;r<n;++r)e[r][o][1]/=i}eM(e,t)}}function eB(e,t){if((s=e.length)>0)for(var r,n,i,o,a,s,u=0,l=e[t[0]].length;u<l;++u)for(o=a=0,r=0;r<s;++r)(i=(n=e[t[r]][u])[1]-n[0])>0?(n[0]=o,n[1]=o+=i):i<0?(n[1]=a,n[0]=a+=i):(n[0]=0,n[1]=i)}function ez(e,t){if((r=e.length)>0){for(var r,n=0,i=e[t[0]],o=i.length;n<o;++n){for(var a=0,s=0;a<r;++a)s+=e[a][n][1]||0;i[n][1]+=i[n][0]=-s/2}eM(e,t)}}function eU(e,t){if((i=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var s=0,u=0,l=0;s<i;++s){for(var c=e[t[s]],d=c[a][1]||0,h=(d-(c[a-1][1]||0))/2,p=0;p<s;++p){var f=e[t[p]];h+=(f[a][1]||0)-(f[a-1][1]||0)}u+=d,l+=h*d}r[a-1][1]+=r[a-1][0]=o,u&&(o-=l/u)}r[a-1][1]+=r[a-1][0]=o,eM(e,t)}}function eq(e){var t=e.map(e$);return eF(e).sort(function(e,r){return t[e]-t[r]})}function e$(e){for(var t,r=-1,n=0,i=e.length,o=-1/0;++r<i;)(t=+e[r][1])>o&&(o=t,n=r);return n}function eH(e){var t=e.map(eV);return eF(e).sort(function(e,r){return t[e]-t[r]})}function eV(e){for(var t,r=0,n=-1,i=e.length;++n<i;)(t=+e[n][1])&&(r+=t);return r}function eW(e){return eH(e).reverse()}function eG(e){var t,r,n=e.length,i=e.map(eV),o=eq(e),a=0,s=0,u=[],l=[];for(t=0;t<n;++t)r=o[t],a<s?(a+=i[r],u.push(r)):(s+=i[r],l.push(r));return l.reverse().concat(u)}function eY(e){return eF(e).reverse()}ev.prototype={areaStart:G,areaEnd:G,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},ex.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ek(this,this._t0,ew(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,ek(this,ew(this,r=eb(this,e,t)),r);break;default:ek(this,this._t0,r=eb(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(e_.prototype=Object.create(ex.prototype)).point=function(e,t){ex.prototype.point.call(this,t,e)},eS.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,o){this._context.bezierCurveTo(t,e,n,r,o,i)}},eC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=ej(e),i=ej(t),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],e[a],t[a])}(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},eT.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}}},79767:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(91672),i=r(33554),o=r(20651),a=r(11053);function s(){var e=a.x,t=a.y,r=(0,i.Z)(!0),s=null,u=o.Z,l=null;function c(i){var o,a,c,d=i.length,h=!1;for(null==s&&(l=u(c=(0,n.Z)())),o=0;o<=d;++o)!(o<d&&r(a=i[o],o,i))===h&&((h=!h)?l.lineStart():l.lineEnd()),h&&l.point(+e(a,o,i),+t(a,o,i));if(c)return l=null,c+""||null}return c.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),c):e},c.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.Z)(+e),c):t},c.defined=function(e){return arguments.length?(r="function"==typeof e?e:(0,i.Z)(!!e),c):r},c.curve=function(e){return arguments.length?(u=e,null!=s&&(l=u(s)),c):u},c.context=function(e){return arguments.length?(null==e?s=l=null:l=u(s=e),c):s},c}},15:function(e,t,r){"use strict";r.d(t,{BZ:function(){return p},Fp:function(){return a},Ho:function(){return c},Kh:function(){return f},O$:function(){return u},VV:function(){return s},Wn:function(){return n},ZR:function(){return m},_b:function(){return l},fv:function(){return i},mC:function(){return o},ou:function(){return h},pi:function(){return d}});var n=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,s=Math.min,u=Math.sin,l=Math.sqrt,c=1e-12,d=Math.PI,h=d/2,p=2*d;function f(e){return e>1?0:e<-1?d:Math.acos(e)}function m(e){return e>=1?h:e<=-1?-h:Math.asin(e)}},69619:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(33554);function i(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function o(e){return e}var a=r(15);function s(){var e=o,t=i,r=null,s=(0,n.Z)(0),u=(0,n.Z)(a.BZ),l=(0,n.Z)(0);function c(n){var i,o,c,d,h,p=n.length,f=0,m=Array(p),g=Array(p),v=+s.apply(this,arguments),y=Math.min(a.BZ,Math.max(-a.BZ,u.apply(this,arguments)-v)),b=Math.min(Math.abs(y)/p,l.apply(this,arguments)),w=b*(y<0?-1:1);for(i=0;i<p;++i)(h=g[m[i]=i]=+e(n[i],i,n))>0&&(f+=h);for(null!=t?m.sort(function(e,r){return t(g[e],g[r])}):null!=r&&m.sort(function(e,t){return r(n[e],n[t])}),i=0,c=f?(y-p*w)/f:0;i<p;++i,v=d)d=v+((h=g[o=m[i]])>0?h*c:0)+w,g[o]={data:n[o],index:i,value:h,startAngle:v,endAngle:d,padAngle:b};return g}return c.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,n.Z)(+t),c):e},c.sortValues=function(e){return arguments.length?(t=e,r=null,c):t},c.sort=function(e){return arguments.length?(r=e,t=null,c):r},c.startAngle=function(e){return arguments.length?(s="function"==typeof e?e:(0,n.Z)(+e),c):s},c.endAngle=function(e){return arguments.length?(u="function"==typeof e?e:(0,n.Z)(+e),c):u},c.padAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,n.Z)(+e),c):l},c}},11053:function(e,t,r){"use strict";function n(e){return e[0]}function i(e){return e[1]}r.d(t,{x:function(){return n},y:function(){return i}})},35368:function(e){var t;t=function(){"use strict";function e(t){return(e="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})(t)}function t(e,r){return(t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,r)}function r(e,n,i){return(r=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?function(e,r,n){var i=[null];i.push.apply(i,r);var o=new(Function.bind.apply(e,i));return n&&t(o,n.prototype),o}:Reflect.construct).apply(null,arguments)}function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var a,s=Object.entries,u=Object.setPrototypeOf,l=Object.isFrozen,c=Object.getPrototypeOf,d=Object.getOwnPropertyDescriptor,h=Object.freeze,p=Object.seal,f=Object.create,m="undefined"!=typeof Reflect&&Reflect,g=m.apply,v=m.construct;g||(g=function(e,t,r){return e.apply(t,r)}),h||(h=function(e){return e}),p||(p=function(e){return e}),v||(v=function(e,t){return r(e,n(t))});var y=O(Array.prototype.forEach),b=O(Array.prototype.pop),w=O(Array.prototype.push),k=O(String.prototype.toLowerCase),x=O(String.prototype.toString),_=O(String.prototype.match),S=O(String.prototype.replace),E=O(String.prototype.indexOf),D=O(String.prototype.trim),C=O(RegExp.prototype.test),j=(a=TypeError,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return v(a,t)});function O(e){return function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return g(e,t,n)}}function T(e,t,r){r=r||k,u&&u(e,null);for(var n=t.length;n--;){var i=t[n];if("string"==typeof i){var o=r(i);o!==i&&(l(t)||(t[n]=o),i=o)}e[i]=!0}return e}function A(e){var t,r=f(null),n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=i(e))){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}(s(e));try{for(n.s();!(t=n.n()).done;){var o,a=(o=t.value,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),2!==o.length);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(o,2)||i(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=a[0],l=a[1];r[u]=l}}catch(e){n.e(e)}finally{n.f()}return r}function P(e,t){for(;null!==e;){var r=d(e,t);if(r){if(r.get)return O(r.get);if("function"==typeof r.value)return O(r.value)}e=c(e)}return function(e){return console.warn("fallback value for",e),null}}var R=h(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),M=h(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),F=h(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),N=h(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=h(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),L=h(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),B=h(["#text"]),z=h(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),U=h(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),q=h(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),$=h(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=p(/\{\{[\w\W]*|[\w\W]*\}\}/gm),V=p(/<%[\w\W]*|[\w\W]*%>/gm),W=p(/\${[\w\W]*}/gm),G=p(/^data-[\-\w.\u00B7-\uFFFF]/),Y=p(/^aria-[\-\w]+$/),Z=p(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=p(/^(?:\w+script|data):/i),J=p(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=p(/^html$/i),Q=function(t,r){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var n=null,i="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(i)&&(n=r.currentScript.getAttribute(i));var o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};return function t(){var r,i,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,a=function(e){return t(e)};if(a.version="3.0.0",a.removed=[],!o||!o.document||9!==o.document.nodeType)return a.isSupported=!1,a;var u=o.document,l=o.document,c=o.DocumentFragment,d=o.HTMLTemplateElement,p=o.Node,f=o.Element,m=o.NodeFilter,g=o.NamedNodeMap,v=void 0===g?o.NamedNodeMap||o.MozNamedAttrMap:g,O=o.HTMLFormElement,ee=o.DOMParser,et=o.trustedTypes,er=f.prototype,en=P(er,"cloneNode"),ei=P(er,"nextSibling"),eo=P(er,"childNodes"),ea=P(er,"parentNode");if("function"==typeof d){var es=l.createElement("template");es.content&&es.content.ownerDocument&&(l=es.content.ownerDocument)}var eu=Q(et,u),el=eu?eu.createHTML(""):"",ec=l,ed=ec.implementation,eh=ec.createNodeIterator,ep=ec.createDocumentFragment,ef=ec.getElementsByTagName,em=u.importNode,eg={};a.isSupported="function"==typeof s&&"function"==typeof ea&&ed&&void 0!==ed.createHTMLDocument;var ev=Z,ey=null,eb=T({},[].concat(n(R),n(M),n(F),n(I),n(B))),ew=null,ek=T({},[].concat(n(z),n(U),n(q),n($))),ex=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),e_=null,eS=null,eE=!0,eD=!0,eC=!1,ej=!0,eO=!1,eT=!1,eA=!1,eP=!1,eR=!1,eM=!1,eF=!1,eN=!0,eI=!1,eL=!0,eB=!1,ez={},eU=null,eq=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),e$=null,eH=T({},["audio","video","img","source","image","track"]),eV=null,eW=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eG="http://www.w3.org/1998/Math/MathML",eY="http://www.w3.org/2000/svg",eZ="http://www.w3.org/1999/xhtml",eK=eZ,eJ=!1,eX=null,eQ=T({},[eG,eY,eZ],x),e0=["application/xhtml+xml","text/html"],e1=null,e2=l.createElement("form"),e3=function(e){return e instanceof RegExp||e instanceof Function},e5=function(t){e1&&e1===t||(t&&"object"===e(t)||(t={}),t=A(t),i="application/xhtml+xml"===(r=r=-1===e0.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?x:k,ey="ALLOWED_TAGS"in t?T({},t.ALLOWED_TAGS,i):eb,ew="ALLOWED_ATTR"in t?T({},t.ALLOWED_ATTR,i):ek,eX="ALLOWED_NAMESPACES"in t?T({},t.ALLOWED_NAMESPACES,x):eQ,eV="ADD_URI_SAFE_ATTR"in t?T(A(eW),t.ADD_URI_SAFE_ATTR,i):eW,e$="ADD_DATA_URI_TAGS"in t?T(A(eH),t.ADD_DATA_URI_TAGS,i):eH,eU="FORBID_CONTENTS"in t?T({},t.FORBID_CONTENTS,i):eq,e_="FORBID_TAGS"in t?T({},t.FORBID_TAGS,i):{},eS="FORBID_ATTR"in t?T({},t.FORBID_ATTR,i):{},ez="USE_PROFILES"in t&&t.USE_PROFILES,eE=!1!==t.ALLOW_ARIA_ATTR,eD=!1!==t.ALLOW_DATA_ATTR,eC=t.ALLOW_UNKNOWN_PROTOCOLS||!1,ej=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,eO=t.SAFE_FOR_TEMPLATES||!1,eT=t.WHOLE_DOCUMENT||!1,eR=t.RETURN_DOM||!1,eM=t.RETURN_DOM_FRAGMENT||!1,eF=t.RETURN_TRUSTED_TYPE||!1,eP=t.FORCE_BODY||!1,eN=!1!==t.SANITIZE_DOM,eI=t.SANITIZE_NAMED_PROPS||!1,eL=!1!==t.KEEP_CONTENT,eB=t.IN_PLACE||!1,ev=t.ALLOWED_URI_REGEXP||ev,eK=t.NAMESPACE||eZ,t.CUSTOM_ELEMENT_HANDLING&&e3(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ex.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&e3(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ex.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ex.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eO&&(eD=!1),eM&&(eR=!0),ez&&(ey=T({},n(B)),ew=[],!0===ez.html&&(T(ey,R),T(ew,z)),!0===ez.svg&&(T(ey,M),T(ew,U),T(ew,$)),!0===ez.svgFilters&&(T(ey,F),T(ew,U),T(ew,$)),!0===ez.mathMl&&(T(ey,I),T(ew,q),T(ew,$))),t.ADD_TAGS&&(ey===eb&&(ey=A(ey)),T(ey,t.ADD_TAGS,i)),t.ADD_ATTR&&(ew===ek&&(ew=A(ew)),T(ew,t.ADD_ATTR,i)),t.ADD_URI_SAFE_ATTR&&T(eV,t.ADD_URI_SAFE_ATTR,i),t.FORBID_CONTENTS&&(eU===eq&&(eU=A(eU)),T(eU,t.FORBID_CONTENTS,i)),eL&&(ey["#text"]=!0),eT&&T(ey,["html","head","body"]),ey.table&&(T(ey,["tbody"]),delete e_.tbody),h&&h(t),e1=t)},e4=T({},["mi","mo","mn","ms","mtext"]),e6=T({},["foreignobject","desc","title","annotation-xml"]),e8=T({},["title","style","font","a","script"]),e9=T({},M);T(e9,F),T(e9,N);var e7=T({},I);T(e7,L);var te=function(e){var t=ea(e);t&&t.tagName||(t={namespaceURI:eK,tagName:"template"});var n=k(e.tagName),i=k(t.tagName);return!!eX[e.namespaceURI]&&(e.namespaceURI===eY?t.namespaceURI===eZ?"svg"===n:t.namespaceURI===eG?"svg"===n&&("annotation-xml"===i||e4[i]):!!e9[n]:e.namespaceURI===eG?t.namespaceURI===eZ?"math"===n:t.namespaceURI===eY?"math"===n&&e6[i]:!!e7[n]:e.namespaceURI===eZ?(t.namespaceURI!==eY||!!e6[i])&&(t.namespaceURI!==eG||!!e4[i])&&!e7[n]&&(e8[n]||!e9[n]):"application/xhtml+xml"===r&&!!eX[e.namespaceURI])},tt=function(e){w(a.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},tr=function(e,t){try{w(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){w(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ew[e]){if(eR||eM)try{tt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},tn=function(e){if(eP)e="<remove></remove>"+e;else{var t,n,i=_(e,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===r&&eK===eZ&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=eu?eu.createHTML(e):e;if(eK===eZ)try{t=new ee().parseFromString(o,r)}catch(e){}if(!t||!t.documentElement){t=ed.createDocument(eK,"template",null);try{t.documentElement.innerHTML=eJ?el:o}catch(e){}}var a=t.body||t.documentElement;return(e&&n&&a.insertBefore(l.createTextNode(n),a.childNodes[0]||null),eK===eZ)?ef.call(t,eT?"html":"body")[0]:eT?t.documentElement:a},ti=function(e){return eh.call(e.ownerDocument||e,e,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT,null,!1)},to=function(t){return"object"===e(p)?t instanceof p:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},ta=function(e,t,r){eg[e]&&y(eg[e],function(e){e.call(a,t,r,e1)})},ts=function(e){if(ta("beforeSanitizeElements",e,null),e instanceof O&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof v)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes))return tt(e),!0;var t,r=i(e.nodeName);if(ta("uponSanitizeElement",e,{tagName:r,allowedTags:ey}),e.hasChildNodes()&&!to(e.firstElementChild)&&(!to(e.content)||!to(e.content.firstElementChild))&&C(/<[/\w]/g,e.innerHTML)&&C(/<[/\w]/g,e.textContent))return tt(e),!0;if(!ey[r]||e_[r]){if(!e_[r]&&tl(r)&&(ex.tagNameCheck instanceof RegExp&&C(ex.tagNameCheck,r)||ex.tagNameCheck instanceof Function&&ex.tagNameCheck(r)))return!1;if(eL&&!eU[r]){var n=ea(e)||e.parentNode,o=eo(e)||e.childNodes;if(o&&n)for(var s=o.length,u=s-1;u>=0;--u)n.insertBefore(en(o[u],!0),ei(e))}return tt(e),!0}return e instanceof f&&!te(e)||("noscript"===r||"noembed"===r)&&C(/<\/no(script|embed)/i,e.innerHTML)?(tt(e),!0):(eO&&3===e.nodeType&&(t=S(t=e.textContent,H," "),t=S(t,V," "),t=S(t,W," "),e.textContent!==t&&(w(a.removed,{element:e.cloneNode()}),e.textContent=t)),ta("afterSanitizeElements",e,null),!1)},tu=function(e,t,r){if(eN&&("id"===t||"name"===t)&&(r in l||r in e2))return!1;if(eD&&!eS[t]&&C(G,t));else if(eE&&C(Y,t));else if(!ew[t]||eS[t]){if(!(tl(e)&&(ex.tagNameCheck instanceof RegExp&&C(ex.tagNameCheck,e)||ex.tagNameCheck instanceof Function&&ex.tagNameCheck(e))&&(ex.attributeNameCheck instanceof RegExp&&C(ex.attributeNameCheck,t)||ex.attributeNameCheck instanceof Function&&ex.attributeNameCheck(t))||"is"===t&&ex.allowCustomizedBuiltInElements&&(ex.tagNameCheck instanceof RegExp&&C(ex.tagNameCheck,r)||ex.tagNameCheck instanceof Function&&ex.tagNameCheck(r))))return!1}else if(eV[t]);else if(C(ev,S(r,J,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===E(r,"data:")&&e$[e]);else if(eC&&!C(K,S(r,J,"")));else if(r)return!1;return!0},tl=function(e){return e.indexOf("-")>0},tc=function(t){ta("beforeSanitizeAttributes",t,null);var r,n,o,s,u=t.attributes;if(u){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ew};for(s=u.length;s--;){var c=(r=u[s]).name,d=r.namespaceURI;if(n="value"===c?r.value:D(r.value),o=i(c),l.attrName=o,l.attrValue=n,l.keepAttr=!0,l.forceKeepAttr=void 0,ta("uponSanitizeAttribute",t,l),n=l.attrValue,!l.forceKeepAttr&&(tr(c,t),l.keepAttr)){if(!ej&&C(/\/>/i,n)){tr(c,t);continue}eO&&(n=S(n,H," "),n=S(n,V," "),n=S(n,W," "));var h=i(t.nodeName);if(tu(h,o,n)){if(eI&&("id"===o||"name"===o)&&(tr(c,t),n="user-content-"+n),eu&&"object"===e(et)&&"function"==typeof et.getAttributeType){if(d);else switch(et.getAttributeType(h,o)){case"TrustedHTML":n=eu.createHTML(n);break;case"TrustedScriptURL":n=eu.createScriptURL(n)}}try{d?t.setAttributeNS(d,c,n):t.setAttribute(c,n),b(a.removed)}catch(e){}}}}ta("afterSanitizeAttributes",t,null)}},td=function e(t){var r,n=ti(t);for(ta("beforeSanitizeShadowDOM",t,null);r=n.nextNode();)ta("uponSanitizeShadowNode",r,null),ts(r)||(r.content instanceof c&&e(r.content),tc(r));ta("afterSanitizeShadowDOM",t,null)};return a.sanitize=function(e){var t,r,n,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((eJ=!e)&&(e="<!-->"),"string"!=typeof e&&!to(e)){if("function"!=typeof e.toString)throw j("toString is not a function");if("string"!=typeof(e=e.toString()))throw j("dirty is not a string, aborting")}if(!a.isSupported)return e;if(eA||e5(s),a.removed=[],"string"==typeof e&&(eB=!1),eB){if(e.nodeName){var l=i(e.nodeName);if(!ey[l]||e_[l])throw j("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof p)1===(r=(t=tn("<!---->")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===r.nodeName?t=r:"HTML"===r.nodeName?t=r:t.appendChild(r);else{if(!eR&&!eO&&!eT&&-1===e.indexOf("<"))return eu&&eF?eu.createHTML(e):e;if(!(t=tn(e)))return eR?null:eF?el:""}t&&eP&&tt(t.firstChild);for(var d=ti(eB?e:t);n=d.nextNode();)ts(n)||(n.content instanceof c&&td(n.content),tc(n));if(eB)return e;if(eR){if(eM)for(o=ep.call(t.ownerDocument);t.firstChild;)o.appendChild(t.firstChild);else o=t;return(ew.shadowroot||ew.shadowrootmod)&&(o=em.call(u,o,!0)),o}var h=eT?t.outerHTML:t.innerHTML;return eT&&ey["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&C(X,t.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+t.ownerDocument.doctype.name+">\n"+h),eO&&(h=S(h,H," "),h=S(h,V," "),h=S(h,W," ")),eu&&eF?eu.createHTML(h):h},a.setConfig=function(e){e5(e),eA=!0},a.clearConfig=function(){e1=null,eA=!1},a.isValidAttribute=function(e,t,r){return e1||e5({}),tu(i(e),i(t),r)},a.addHook=function(e,t){"function"==typeof t&&(eg[e]=eg[e]||[],w(eg[e],t))},a.removeHook=function(e){if(eg[e])return b(eg[e])},a.removeHooks=function(e){eg[e]&&(eg[e]=[])},a.removeAllHooks=function(){eg={}},a}()},e.exports=t()},56230:function(e){e.exports=()=>/(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDD-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF6](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC2\uDED0-\uDED9\uDEE0-\uDEE7]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/g},22699:function(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(r,n){var i;function o(r){e.removeListener(t,a),n(r)}function a(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}m(e,t,a,{once:!0}),"error"!==t&&(i={once:!0},"function"==typeof e.on&&m(e,"error",o,i))})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){if(s(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var i,o,a,l=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=c.bind(n);return i.listener=r,n.wrapFn=i,i}function h(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):f(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function f(e,t){for(var r=Array(t),n=0;n<t;++n)r[n]=e[n];return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else if("function"==typeof e.addEventListener)e.addEventListener(t,function i(o){n.once&&e.removeEventListener(t,i),r(o)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)n(u,this,t);else for(var l=u.length,c=f(u,l),r=0;r<l;++r)n(c[r],this,t);return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,a;if(s(t),void 0===(n=this._events)||void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0==arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},85978:function(e,t,r){var n,i,o;o={canUseDOM:i=!!("undefined"!=typeof window&&window.document&&window.document.createElement),canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!!(window.addEventListener||window.attachEvent),canUseViewport:i&&!!window.screen},void 0!==(n=(function(){return o}).call(t,r,t,e))&&(e.exports=n)},69378:function(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!=i--;){var n,i,o,a=o[i];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},6238:function(e){function t(e,t,r,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function r(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function n(){return JSON.stringify(arguments)}function i(){this.cache=Object.create(null)}i.prototype.has=function(e){return e in this.cache},i.prototype.get=function(e){return this.cache[e]},i.prototype.set=function(e,t){this.cache[e]=t};var o={create:function(){return new i}};e.exports=function(e,i){var a=i&&i.cache?i.cache:o,s=i&&i.serializer?i.serializer:n;return(i&&i.strategy?i.strategy:function(e,n){var i,o,a=1===e.length?t:r;return i=n.cache.create(),o=n.serializer,a.bind(this,e,i,o)})(e,{cache:a,serializer:s})},e.exports.strategies={variadic:function(e,t){var n,i;return n=t.cache.create(),i=t.serializer,r.bind(this,e,n,i)},monadic:function(e,r){var n,i;return n=r.cache.create(),i=r.serializer,t.bind(this,e,n,i)}}},77847:function(e){e.exports=a,a.default=a,a.stable=l,a.stableStringify=l;var t="[...]",r="[Circular]",n=[],i=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(e,a,u,l){void 0===l&&(l=o()),function e(n,i,o,a,u,l,c){if(l+=1,"object"==typeof n&&null!==n){for(d=0;d<a.length;d++)if(a[d]===n){s(r,n,i,u);return}if(void 0!==c.depthLimit&&l>c.depthLimit||void 0!==c.edgesLimit&&o+1>c.edgesLimit){s(t,n,i,u);return}if(a.push(n),Array.isArray(n))for(d=0;d<n.length;d++)e(n[d],d,d,a,n,l,c);else{var d,h=Object.keys(n);for(d=0;d<h.length;d++){var p=h[d];e(n[p],p,d,a,n,l,c)}}a.pop()}}(e,"",0,[],void 0,0,l);try{d=0===i.length?JSON.stringify(e,a,u):JSON.stringify(e,c(a),u)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var d,h=n.pop();4===h.length?Object.defineProperty(h[0],h[1],h[3]):h[0][h[1]]=h[2]}}return d}function s(e,t,r,o){var a=Object.getOwnPropertyDescriptor(o,r);void 0!==a.get?a.configurable?(Object.defineProperty(o,r,{value:e}),n.push([o,r,t,a])):i.push([t,r,e]):(o[r]=e,n.push([o,r,t]))}function u(e,t){return e<t?-1:e>t?1:0}function l(e,a,l,d){void 0===d&&(d=o());var h,p=function e(i,o,a,l,c,d,h){if(d+=1,"object"==typeof i&&null!==i){for(p=0;p<l.length;p++)if(l[p]===i){s(r,i,o,c);return}try{if("function"==typeof i.toJSON)return}catch(e){return}if(void 0!==h.depthLimit&&d>h.depthLimit||void 0!==h.edgesLimit&&a+1>h.edgesLimit){s(t,i,o,c);return}if(l.push(i),Array.isArray(i))for(p=0;p<i.length;p++)e(i[p],p,p,l,i,d,h);else{var p,f={},m=Object.keys(i).sort(u);for(p=0;p<m.length;p++){var g=m[p];e(i[g],g,p,l,i,d,h),f[g]=i[g]}if(void 0===c)return f;n.push([c,o,i]),c[o]=f}l.pop()}}(e,"",0,[],void 0,0,d)||e;try{h=0===i.length?JSON.stringify(p,a,l):JSON.stringify(p,c(a),l)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var f=n.pop();4===f.length?Object.defineProperty(f[0],f[1],f[3]):f[0][f[1]]=f[2]}}return h}function c(e){return e=void 0!==e?e:function(e,t){return t},function(t,r){if(i.length>0)for(var n=0;n<i.length;n++){var o=i[n];if(o[1]===t&&o[0]===r){r=o[2],i.splice(n,1);break}}return e.call(this,t,r)}}},46442:function(e,t){var r,n,i,o,a;r=t,i=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,o=new WeakMap,a=(n=function(e,t){return o.set(e,t),t},function(e){var t=o.get(e),r=void 0===t?e.size:t<1073741824?t+1:0;if(!e.has(r))return n(e,r);if(e.size<536870912){for(;e.has(r);)r=Math.floor(1073741824*Math.random());return n(e,r)}if(e.size>i)throw Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;e.has(r);)r=Math.floor(Math.random()*i);return n(e,r)}),r.addUniqueNumber=function(e){var t=a(e);return e.add(t),t},r.generateUniqueNumber=a,Object.defineProperty(r,"__esModule",{value:!0})},22989:function(e,t,r){"use strict";function n(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.map(function(t){return t.split(" ").map(function(t){return t?""+e+t:""}).join(" ")}).join(" ")}function i(e,t){return t.replace(/([^}{]*){/gm,function(t,r){return r.replace(/\.([^{,\s\d.]+)/g,"."+e+"$1")+"{"})}function o(e,t){return function(r){r&&(e[t]=r)}}function a(e,t,r){return function(n){n&&(e[t][r]=n)}}function s(e,t){return void 0===t&&(t={}),function(r,n){e.forEach(function(e){var i=t[e]||e;i in r||(r[i]=function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=(t=this[n])[e].apply(t,r);return o===this[n]?this:o})})}}r.d(t,{$i:function(){return i},iH:function(){return o},qE:function(){return s},tI:function(){return n},xL:function(){return a}})},37795:function(e){"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n,i=this;if("function"!=typeof i||"[object Function]"!==r.call(i))throw TypeError("Function.prototype.bind called on incompatible "+i);for(var o=t.call(arguments,1),a=Math.max(0,i.length-o.length),s=[],u=0;u<a;u++)s.push("$"+u);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(!(this instanceof n))return i.apply(e,o.concat(t.call(arguments)));var r=i.apply(this,o.concat(t.call(arguments)));return Object(r)===r?r:this}),i.prototype){var l=function(){};l.prototype=i.prototype,n.prototype=new l,l.prototype=null}return n}},4090:function(e,t,r){"use strict";var n=r(37795);e.exports=Function.prototype.bind||n},5676:function(e,t,r){"use strict";var n=r(23949),i=r(90824),o=function(e,t){return(o=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])})(e,t)},a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e){var t,r,n,i;return t=[e[0].clientX,e[0].clientY],n=(r=[e[1].clientX,e[1].clientY])[0]-t[0],((i=Math.atan2(r[1]-t[1],n))>=0?i:i+2*Math.PI)/Math.PI*180}function u(e){return e.touches?function(e){for(var t=Math.min(e.length,2),r=[],n=0;n<t;++n)r.push(d(e[n]));return r}(e.touches):[d(e)]}function l(e,t,r){var n=r.length,i=h(e,n),o=i.clientX,a=i.clientY,s=i.originalClientX,u=i.originalClientY,l=h(t,n),c=l.clientX,d=l.clientY,p=h(r,n);return{clientX:s,clientY:u,deltaX:o-c,deltaY:a-d,distX:o-p.clientX,distY:a-p.clientY}}function c(e){return Math.sqrt(Math.pow(e[0].clientX-e[1].clientX,2)+Math.pow(e[0].clientY-e[1].clientY,2))}function d(e){return{clientX:e.clientX,clientY:e.clientY}}function h(e,t){void 0===t&&(t=e.length);for(var r={clientX:0,clientY:0,originalClientX:0,originalClientY:0},n=0;n<t;++n){var i=e[n];r.originalClientX+="originalClientX"in i?i.originalClientX:i.clientX,r.originalClientY+="originalClientY"in i?i.originalClientY:i.clientY,r.clientX+=i.clientX,r.clientY+=i.clientY}return t?{clientX:r.clientX/t,clientY:r.clientY/t,originalClientX:r.originalClientX/t,originalClientY:r.originalClientY/t}:r}var p=function(){function e(e){this.prevClients=[],this.startClients=[],this.movement=0,this.length=0,this.startClients=e,this.prevClients=e,this.length=e.length}var t=e.prototype;return t.getAngle=function(e){return void 0===e&&(e=this.prevClients),s(e)},t.getRotation=function(e){return void 0===e&&(e=this.prevClients),s(e)-s(this.startClients)},t.getPosition=function(e,t){void 0===e&&(e=this.prevClients);var r=l(e||this.prevClients,this.prevClients,this.startClients),n=r.deltaX,i=r.deltaY;return this.movement+=Math.sqrt(n*n+i*i),this.prevClients=e,r},t.getPositions=function(e){void 0===e&&(e=this.prevClients);var t=this.prevClients;return this.startClients.map(function(r,n){return l([e[n]],[t[n]],[r])})},t.getMovement=function(e){var t=this.movement;if(!e)return t;var r=h(e,this.length),n=h(this.prevClients,this.length),i=r.clientX-n.clientX,o=r.clientY-n.clientY;return Math.sqrt(i*i+o*o)+t},t.getDistance=function(e){return void 0===e&&(e=this.prevClients),c(e)},t.getScale=function(e){return void 0===e&&(e=this.prevClients),c(e)/c(this.startClients)},t.move=function(e,t){this.startClients.forEach(function(r){r.clientX-=e,r.clientY-=t})},e}(),f=["textarea","input"],m=function(e){function t(t,r){void 0===r&&(r={});var n=e.call(this)||this;n.options={},n.flag=!1,n.pinchFlag=!1,n.datas={},n.isDrag=!1,n.isPinch=!1,n.isMouse=!1,n.isTouch=!1,n.clientStores=[],n.targets=[],n.prevTime=0,n.doubleFlag=!1,n._dragFlag=!1,n.onDragStart=function(e,t){if(void 0===t&&(t=!0),n.flag||!1!==e.cancelable){var r,o=n.options,s=o.container,l=o.pinchOutside,c=o.preventRightClick,d=o.preventDefault,h=o.checkInput,m=n.isTouch,g=!n.flag;if(g){var v=document.activeElement,y=e.target,b=y.tagName.toLowerCase(),w=f.indexOf(b)>-1,k=y.isContentEditable;if(w||k){if(h||v===y||v&&k&&v.isContentEditable&&v.contains(y))return!1}else if((d||"touchstart"===e.type)&&v){var x=v.tagName;(v.isContentEditable||f.indexOf(x)>-1)&&v.blur()}if(n.clientStores=[new p(u(e))],n.flag=!0,n.isDrag=!1,n._dragFlag=!0,n.datas={},c&&(3===e.which||2===e.button))return n.initDrag(),!1;n.doubleFlag=(0,i.zO)()-n.prevTime<200,!1===n.emit("dragStart",a({datas:n.datas,inputEvent:e,isTrusted:t,isDouble:n.doubleFlag},n.getCurrentStore().getPosition(),{preventDefault:function(){e.preventDefault()},preventDrag:function(){n._dragFlag=!1}}))&&n.initDrag(),n.flag&&d&&e.preventDefault()}if(!n.flag)return!1;var _=0;if(g&&m&&l&&(_=setTimeout(function(){(0,i.vP)(s,"touchstart",n.onDragStart,{passive:!1})})),!g&&m&&l&&(0,i.xC)(s,"touchstart",n.onDragStart),n.flag&&(r=e).touches&&r.touches.length>=2){if(clearTimeout(_),g&&e.touches.length!==e.changedTouches.length)return;n.pinchFlag||n.onPinchStart(e)}}},n.onDrag=function(e,t){if(n.flag){var r=u(e),i=n.moveClients(r,e,!1);if(n._dragFlag){if((n.pinchFlag||i.deltaX||i.deltaY)&&!1===n.emit("drag",a({},i,{isScroll:!!t,inputEvent:e}))){n.stop();return}n.pinchFlag&&n.onPinch(e,r)}n.getCurrentStore().getPosition(r,!0)}},n.onDragEnd=function(e){if(n.flag){var t=n.options,r=t.pinchOutside,o=t.container;n.isTouch&&r&&(0,i.xC)(o,"touchstart",n.onDragStart),n.pinchFlag&&n.onPinchEnd(e);var s=u(e);0!==s.length&&n.options.keepDragging?n._addStore(new p(s)):n.flag=!1;var l=n._getPosition(),c=(0,i.zO)(),d=!n.isDrag&&n.doubleFlag;n.prevTime=n.isDrag||d?0:c,n.flag||(n.emit("dragEnd",a({datas:n.datas,isDouble:d,isDrag:n.isDrag,isClick:!n.isDrag,inputEvent:e},l)),n.clientStores=[])}},n.onBlur=function(){n.onDragEnd()};var o=[].concat(t);n.options=a({checkInput:!1,container:o.length>1?window:o[0],preventRightClick:!0,preventDefault:!0,checkWindowBlur:!1,keepDragging:!1,pinchThreshold:0,events:["touch","mouse"]},r);var s=n.options,l=s.container,c=s.events,d=s.checkWindowBlur;if(n.isTouch=c.indexOf("touch")>-1,n.isMouse=c.indexOf("mouse")>-1,n.targets=o,n.isMouse&&(o.forEach(function(e){(0,i.vP)(e,"mousedown",n.onDragStart)}),(0,i.vP)(l,"mousemove",n.onDrag),(0,i.vP)(l,"mouseup",n.onDragEnd),(0,i.vP)(l,"contextmenu",n.onDragEnd)),d&&(0,i.vP)(window,"blur",n.onBlur),n.isTouch){var h={passive:!1};o.forEach(function(e){(0,i.vP)(e,"touchstart",n.onDragStart,h)}),(0,i.vP)(l,"touchmove",n.onDrag,h),(0,i.vP)(l,"touchend",n.onDragEnd,h),(0,i.vP)(l,"touchcancel",n.onDragEnd,h)}return n}!function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e);var r=t.prototype;return r.stop=function(){this.isDrag=!1,this.flag=!1,this.clientStores=[],this.datas={}},r.getMovement=function(e){return this.getCurrentStore().getMovement(e)+this.clientStores.slice(1).reduce(function(e,t){return e+t.movement},0)},r.isDragging=function(){return this.isDrag},r.isFlag=function(){return this.flag},r.isPinchFlag=function(){return this.pinchFlag},r.isDoubleFlag=function(){return this.doubleFlag},r.isPinching=function(){return this.isPinch},r.scrollBy=function(e,t,r,n){void 0===n&&(n=!0),this.flag&&(this.clientStores[0].move(e,t),n&&this.onDrag(r,!0))},r.move=function(e,t){var r=e[0],n=e[1],i=this.getCurrentStore().prevClients;return this.moveClients(i.map(function(e){var t=e.clientX,i=e.clientY;return{clientX:t+r,clientY:i+n,originalClientX:t,originalClientY:i}}),t,!0)},r.triggerDragStart=function(e){this.onDragStart(e,!1)},r.setEventDatas=function(e){var t=this.datas;for(var r in e)t[r]=e[r];return this},r.getCurrentEvent=function(e){return a({datas:this.datas},this._getPosition(),{movement:this.getMovement(),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:e})},r.getEventDatas=function(){return this.datas},r.unset=function(){var e=this,t=this.targets,r=this.options.container;this.off(),(0,i.xC)(window,"blur",this.onBlur),this.isMouse&&(t.forEach(function(t){(0,i.xC)(t,"mousedown",e.onDragStart)}),(0,i.xC)(r,"mousemove",this.onDrag),(0,i.xC)(r,"mouseup",this.onDragEnd),(0,i.xC)(r,"contextmenu",this.onDragEnd)),this.isTouch&&(t.forEach(function(t){(0,i.xC)(t,"touchstart",e.onDragStart)}),(0,i.xC)(r,"touchstart",this.onDragStart),(0,i.xC)(r,"touchmove",this.onDrag),(0,i.xC)(r,"touchend",this.onDragEnd),(0,i.xC)(r,"touchcancel",this.onDragEnd))},r.onPinchStart=function(e){var t=this.options.pinchThreshold;if(!(this.isDrag&&this.getMovement()>t)){var r=new p(u(e));this.pinchFlag=!0,this._addStore(r),!1===this.emit("pinchStart",a({datas:this.datas,angle:r.getAngle(),touches:this.getCurrentStore().getPositions()},r.getPosition(),{inputEvent:e}))&&(this.pinchFlag=!1)}},r.onPinch=function(e,t){if(this.flag&&this.pinchFlag&&!(t.length<2)){var r=this.getCurrentStore();this.isPinch=!0,this.emit("pinch",a({datas:this.datas,movement:this.getMovement(t),angle:r.getAngle(t),rotation:r.getRotation(t),touches:r.getPositions(t),scale:r.getScale(t),distance:r.getDistance(t)},r.getPosition(t),{inputEvent:e}))}},r.onPinchEnd=function(e){if(this.pinchFlag){var t=this.isPinch;this.isPinch=!1,this.pinchFlag=!1;var r=this.getCurrentStore();this.emit("pinchEnd",a({datas:this.datas,isPinch:t,touches:r.getPositions()},r.getPosition(),{inputEvent:e}))}},r.initDrag=function(){this.clientStores=[],this.pinchFlag=!1,this.doubleFlag=!1,this.prevTime=0,this.flag=!1},r.getCurrentStore=function(){return this.clientStores[0]},r.moveClients=function(e,t,r){var n=this._getPosition(e,r);return(n.deltaX||n.deltaY)&&(this.isDrag=!0),a({datas:this.datas},n,{movement:this.getMovement(e),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:t})},r._addStore=function(e){this.clientStores.splice(0,0,e)},r._getPosition=function(e,t){var r=this.getCurrentStore().getPosition(e,t),n=this.clientStores.slice(1).reduce(function(e,t){var r=t.getPosition();return e.distX+=r.distX,e.distY+=r.distY,e},r),i=n.distX,o=n.distY;return a({},r,{distX:i,distY:o})},t}(n.Z);t.Z=m},23198:function(e,t,r){"use strict";var n=r(4090);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},9340:function(e,t,r){"use strict";r.d(t,{K:function(){return n},k:function(){return i}});var n=function(){},i=function(){}},73463:function(e,t,r){"use strict";var n=r(73887),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var i=p(r);i&&i!==f&&e(t,i,n)}var a=c(r);d&&(a=a.concat(d(r)));for(var s=u(t),m=u(r),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&!(n&&n[v])&&!(m&&m[v])&&!(s&&s[v])){var y=h(r,v);try{l(t,v,y)}catch(e){}}}}return t}},43459:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case l:case h:case g:case m:case u:return e;default:return t}}case i:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=n,t.ForwardRef=h,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===l},t.isContextProvider=function(e){return k(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return k(e)===h},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===i},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===a},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===h||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=k},73887:function(e,t,r){"use strict";e.exports=r(43459)},62333:function(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,l=u>>1,c=-7,d=r?i-1:0,h=r?-1:1,p=e[t+d];for(d+=h,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=l}return(p?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,d=c>>1,h=23===i?5960464477539062e-23:0,p=n?0:o-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+d>=1?t+=h/u:t+=h*Math.pow(2,1-d),t*u>=2&&(a++,u/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&s,p+=f,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[r+p]=255&a,p+=f,a/=256,l-=8);e[r+p-f]|=128*m}},91285:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},77481:function(e,t,r){"use strict";r.d(t,{C:function(){return u}});var n=r(5163),i=r(82614),o=r(75413),a=r(30087);function s(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}var u=function(){function e(t,r,i,u){void 0===r&&(r=e.defaultLocale);var l,c,d=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=d.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&t.type===a.du.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return(0,a.FK)(d.ast,d.locales,d.formatters,d.formats,e,void 0,d.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=d.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(d.locales)[0]}},this.getAst=function(){return d.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==u?void 0:u.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(l=e.formats,i?Object.keys(l).reduce(function(e,t){var r,o;return e[t]=(r=l[t],(o=i[t])?(0,n.pi)((0,n.pi)((0,n.pi)({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=(0,n.pi)((0,n.pi)({},r[t]),o[t]||{}),e},{})):r),e},(0,n.pi)({},l)):l),this.formatters=u&&u.formatters||(void 0===(c=this.formatterCache)&&(c={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,o.Z)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,n.ev)([void 0],t,!1)))},{cache:s(c.number),strategy:o.A.variadic}),getDateTimeFormat:(0,o.Z)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,n.ev)([void 0],t,!1)))},{cache:s(c.dateTime),strategy:o.A.variadic}),getPluralRules:(0,o.Z)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,n.ev)([void 0],t,!1)))},{cache:s(c.pluralRules),strategy:o.A.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=i.Qc,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},56313:function(e,t,r){"use strict";r.d(t,{C8:function(){return s},HR:function(){return l},YR:function(){return u},jK:function(){return i},u_:function(){return a}});var n,i,o=r(5163);(n=i||(i={})).MISSING_VALUE="MISSING_VALUE",n.INVALID_VALUE="INVALID_VALUE",n.MISSING_INTL_API="MISSING_INTL_API";var a=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return(0,o.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),s=function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),i.INVALID_VALUE,o)||this}return(0,o.ZT)(t,e),t}(a),u=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),i.INVALID_VALUE,n)||this}return(0,o.ZT)(t,e),t}(a),l=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),i.MISSING_VALUE,r)||this}return(0,o.ZT)(t,e),t}(a)},30087:function(e,t,r){"use strict";r.d(t,{FK:function(){return function e(t,r,n,u,l,c,d){if(1===t.length&&(0,o.O4)(t[0]))return[{type:i.literal,value:t[0].value}];for(var h=[],p=0;p<t.length;p++){var f=t[p];if((0,o.O4)(f)){h.push({type:i.literal,value:f.value});continue}if((0,o.yx)(f)){"number"==typeof c&&h.push({type:i.literal,value:n.getNumberFormat(r).format(c)});continue}var m=f.value;if(!(l&&m in l))throw new a.HR(m,d);var g=l[m];if((0,o.VG)(f)){g&&"string"!=typeof g&&"number"!=typeof g||(g="string"==typeof g||"number"==typeof g?String(g):""),h.push({type:"string"==typeof g?i.literal:i.object,value:g});continue}if((0,o.rp)(f)){var v="string"==typeof f.style?u.date[f.style]:(0,o.Ii)(f.style)?f.style.parsedOptions:void 0;h.push({type:i.literal,value:n.getDateTimeFormat(r,v).format(g)});continue}if((0,o.pe)(f)){var v="string"==typeof f.style?u.time[f.style]:(0,o.Ii)(f.style)?f.style.parsedOptions:u.time.medium;h.push({type:i.literal,value:n.getDateTimeFormat(r,v).format(g)});continue}if((0,o.uf)(f)){var v="string"==typeof f.style?u.number[f.style]:(0,o.Wh)(f.style)?f.style.parsedOptions:void 0;v&&v.scale&&(g*=v.scale||1),h.push({type:i.literal,value:n.getNumberFormat(r,v).format(g)});continue}if((0,o.HI)(f)){var y=f.children,b=f.value,w=l[b];if(!s(w))throw new a.YR(b,"function",d);var k=w(e(y,r,n,u,l,c).map(function(e){return e.value}));Array.isArray(k)||(k=[k]),h.push.apply(h,k.map(function(e){return{type:"string"==typeof e?i.literal:i.object,value:e}}))}if((0,o.Wi)(f)){var x=f.options[g]||f.options.other;if(!x)throw new a.C8(f.value,g,Object.keys(f.options),d);h.push.apply(h,e(x.value,r,n,u,l));continue}if((0,o.Jo)(f)){var x=f.options["=".concat(g)];if(!x){if(!Intl.PluralRules)throw new a.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',a.jK.MISSING_INTL_API,d);var _=n.getPluralRules(r,{type:f.pluralType}).select(g-(f.offset||0));x=f.options[_]||f.options.other}if(!x)throw new a.C8(f.value,g,Object.keys(f.options),d);h.push.apply(h,e(x.value,r,n,u,l,g-(f.offset||0)));continue}}return h.length<2?h:h.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===i.literal&&t.type===i.literal?r.value+=t.value:e.push(t),e},[])}},Gt:function(){return s},du:function(){return i}});var n,i,o=r(82614),a=r(56313);function s(e){return"function"==typeof e}(n=i||(i={}))[n.literal=0]="literal",n[n.object=1]="object"},87202:function(e,t){"use strict";for(var r="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),n={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},o={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)o["f"+a]=111+a;function s(e,t,r){!t||"byKey"in t||(r=t,t=null),Array.isArray(e)||(e=[e]);var a=e.map(function(e){return function(e,t){var r=t&&t.byKey,a={},s=(e=e.replace("++","+add")).split("+"),l=s.length;for(var c in n)a[n[c]]=!1;var d=!0,h=!1,p=void 0;try{for(var f,m=s[Symbol.iterator]();!(d=(f=m.next()).done);d=!0){var g,v=f.value,y=v.endsWith("?")&&v.length>1;y&&(v=v.slice(0,-1));var b=u(v),w=n[b];if(v.length>1&&!w&&!i[v]&&!o[b])throw TypeError('Unknown modifier: "'+v+'"');1!==l&&w||(r?a.key=b:a.which=(g=v,o[g=u(g)]||g.toUpperCase().charCodeAt(0))),w&&(a[w]=!y||null)}}catch(e){h=!0,p=e}finally{try{!d&&m.return&&m.return()}finally{if(h)throw p}}return a}(e,t)}),s=function(e){return a.some(function(t){return function(e,t){for(var r in e){var n=e[r],i=void 0;if(null!=n&&(null!=(i="key"===r&&null!=t.key?t.key.toLowerCase():"which"===r?91===n&&93===t.which?91:t.which:t[r])||!1!==n)&&i!==n)return!1}return!0}(t,e)})};return null==r?s:s(r)}function u(e){return e=i[e=e.toLowerCase()]||e}t.ZP=s,t.P6=s},98843:function(e){e.exports=function(e,t){if(e===t)return!0;for(var r in e)if(!(r in t))return!1;for(var r in t)if(e[r]!==t[r])return!1;return!0}},14304:function(e,t,r){e.exports=window.DOMPurify||(window.DOMPurify=r(35368).default||r(35368))},11597:function(e,t,r){"use strict";function n(e){function t(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.message=e,this.code=t}return t.prototype=Error(),t.prototype.name=e,t.prototype.constructor=t,t}let i=n("LaunchDarklyUnexpectedResponseError"),o=n("LaunchDarklyInvalidEnvironmentIdError"),a=n("LaunchDarklyInvalidUserError"),s=n("LaunchDarklyInvalidEventKeyError"),u=n("LaunchDarklyInvalidArgumentError"),l=n("LaunchDarklyFlagFetchError");for(var c={LDUnexpectedResponseError:i,LDInvalidEnvironmentIdError:o,LDInvalidUserError:a,LDInvalidEventKeyError:s,LDInvalidArgumentError:u,LDInvalidDataError:n("LaunchDarklyInvalidDataError"),LDFlagFetchError:l,isHttpErrorRecoverable:function(e){return!(e>=400&&e<500)||400===e||408===e||429===e}},d=[],h=[],p=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),f=0,m=p.length;f<m;++f)d[f]=p[f],h[p.charCodeAt(f)]=f;h["-".charCodeAt(0)]=62,h["_".charCodeAt(0)]=63;var g=function(e){for(var t,r=e.length,n=r%3,i=[],o=0,a=r-n;o<a;o+=16383)i.push(function(e,t,r){for(var n,i=[],o=t;o<r;o+=3)i.push(d[(n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]))>>18&63]+d[n>>12&63]+d[n>>6&63]+d[63&n]);return i.join("")}(e,o,o+16383>a?a:o+16383));return 1===n?i.push(d[(t=e[r-1])>>2]+d[t<<4&63]+"=="):2===n&&i.push(d[(t=(e[r-2]<<8)+e[r-1])>>10]+d[t>>4&63]+d[t<<2&63]+"="),i.join("")},v=Array.isArray,y=Object.keys,b=Object.prototype.hasOwnProperty,w=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){var n,i,o,a=v(t),s=v(r);if(a&&s){if((i=t.length)!=r.length)return!1;for(n=i;0!=n--;)if(!e(t[n],r[n]))return!1;return!0}if(a!=s)return!1;var u=t instanceof Date,l=r instanceof Date;if(u!=l)return!1;if(u&&l)return t.getTime()==r.getTime();var c=t instanceof RegExp,d=r instanceof RegExp;if(c!=d)return!1;if(c&&d)return t.toString()==r.toString();var h=y(t);if((i=h.length)!==y(r).length)return!1;for(n=i;0!=n--;)if(!b.call(r,h[n]))return!1;for(n=i;0!=n--;)if(!e(t[o=h[n]],r[o]))return!1;return!0}return t!=t&&r!=r};let k=["key","ip","country","email","firstName","lastName","avatar","name"];function x(e){return g(function(e){let t=[];for(let r=0;r<e.length;r++)t.push(e.charCodeAt(r));return t}(unescape(encodeURIComponent(e))))}function _(e){return x(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var E,D={appendUrlPath:function(e,t){return(e.endsWith("/")?e.substring(0,e.length-1):e)+(t.startsWith("/")?"":"/")+t},base64URLEncode:_,btoa:x,chunkEventsForUrl:function(e,t){let r=t.slice(0),n=[],i,o=e;for(;r.length>0;){for(i=[];o>0;){let e=r.shift();if(!e)break;(o-=_(JSON.stringify(e)).length)<0&&i.length>0?r.unshift(e):i.push(e)}o=e,n.push(i)}return n},clone:function(e){return JSON.parse(JSON.stringify(e))},deepEquals:function(e,t){return w(e,t)},extend:function(...e){return e.reduce((e,t)=>({...e,...t}),{})},getLDUserAgentString:function(e){let t=e.version||"?";return e.userAgent+"/"+t},objectHasOwnProperty:S,onNextTick:function(e){setTimeout(e,0)},sanitizeContext:function(e){let t;return e?(null!==e.kind&&void 0!==e.kind||k.forEach(r=>{let n=e[r];void 0!==n&&"string"!=typeof n&&((t=t||{...e})[r]=String(n))}),t||e):e},transformValuesToVersionedValues:function(e){let t={};for(let r in e)S(e,r)&&(t[r]={value:e[r],version:0});return t},transformVersionedValuesToValues:function(e){let t={};for(let r in e)S(e,r)&&(t[r]=e[r].value);return t},wrapPromiseCallback:function(e,t){let r=e.then(e=>(t&&setTimeout(()=>{t(null,e)},0),e),e=>{if(!t)return Promise.reject(e);setTimeout(()=>{t(e,null)},0)});return t?void 0:r}},C=new Uint8Array(16);function j(){if(!E&&!(E="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return E(C)}var O=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function T(e){return"string"==typeof e&&O.test(e)}for(var A,P,R=[],M=0;M<256;++M)R.push((M+256).toString(16).substr(1));function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(R[e[t+0]]+R[e[t+1]]+R[e[t+2]]+R[e[t+3]]+"-"+R[e[t+4]]+R[e[t+5]]+"-"+R[e[t+6]]+R[e[t+7]]+"-"+R[e[t+8]]+R[e[t+9]]+"-"+R[e[t+10]]+R[e[t+11]]+R[e[t+12]]+R[e[t+13]]+R[e[t+14]]+R[e[t+15]]).toLowerCase();if(!T(r))throw TypeError("Stringified UUID is invalid");return r}var N=0,I=0;function L(e){if(!T(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}function B(e,t,r){function n(e,n,i,o){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof n&&(n=L(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(n),a.set(e,n.length),(a=r(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,i){o=o||0;for(var s=0;s<16;++s)i[o+s]=a[s];return i}return F(a)}try{n.name=e}catch(e){}return n.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",n.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",n}function z(e){return 14+(e+64>>>9<<4)+1}function U(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function q(e,t,r,n,i,o){var a;return U((a=U(U(t,e),U(n,o)))<<i|a>>>32-i,r)}function $(e,t,r,n,i,o,a){return q(t&r|~t&n,e,t,i,o,a)}function H(e,t,r,n,i,o,a){return q(t&n|r&~n,e,t,i,o,a)}function V(e,t,r,n,i,o,a){return q(t^r^n,e,t,i,o,a)}function W(e,t,r,n,i,o,a){return q(r^(t|~n),e,t,i,o,a)}function G(e,t){return e<<t|e>>>32-t}var Y=Object.freeze({__proto__:null,v1:function(e,t,r){var n=t&&r||0,i=t||Array(16),o=(e=e||{}).node||A,a=void 0!==e.clockseq?e.clockseq:P;if(null==o||null==a){var s=e.random||(e.rng||j)();null==o&&(o=A=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=P=16383&(s[6]<<8|s[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),l=void 0!==e.nsecs?e.nsecs:I+1,c=u-N+(l-I)/1e4;if(c<0&&void 0===e.clockseq&&(a=a+1&16383),(c<0||u>N)&&void 0===e.nsecs&&(l=0),l>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");N=u,I=l,P=a;var d=(1e4*(268435455&(u+=122192928e5))+l)%4294967296;i[n++]=d>>>24&255,i[n++]=d>>>16&255,i[n++]=d>>>8&255,i[n++]=255&d;var h=u/4294967296*1e4&268435455;i[n++]=h>>>8&255,i[n++]=255&h,i[n++]=h>>>24&15|16,i[n++]=h>>>16&255,i[n++]=a>>>8|128,i[n++]=255&a;for(var p=0;p<6;++p)i[n+p]=o[p];return t||F(i)},v3:B("v3",48,function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){for(var t=[],r=32*e.length,n="0123456789abcdef",i=0;i<r;i+=8){var o=e[i>>5]>>>i%32&255,a=parseInt(n.charAt(o>>>4&15)+n.charAt(15&o),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[z(t)-1]=t;for(var r=1732584193,n=-271733879,i=-1732584194,o=271733878,a=0;a<e.length;a+=16){var s=r,u=n,l=i,c=o;r=$(r,n,i,o,e[a],7,-680876936),o=$(o,r,n,i,e[a+1],12,-389564586),i=$(i,o,r,n,e[a+2],17,606105819),n=$(n,i,o,r,e[a+3],22,-1044525330),r=$(r,n,i,o,e[a+4],7,-176418897),o=$(o,r,n,i,e[a+5],12,1200080426),i=$(i,o,r,n,e[a+6],17,-1473231341),n=$(n,i,o,r,e[a+7],22,-45705983),r=$(r,n,i,o,e[a+8],7,1770035416),o=$(o,r,n,i,e[a+9],12,-1958414417),i=$(i,o,r,n,e[a+10],17,-42063),n=$(n,i,o,r,e[a+11],22,-1990404162),r=$(r,n,i,o,e[a+12],7,1804603682),o=$(o,r,n,i,e[a+13],12,-40341101),i=$(i,o,r,n,e[a+14],17,-1502002290),r=H(r,n=$(n,i,o,r,e[a+15],22,1236535329),i,o,e[a+1],5,-165796510),o=H(o,r,n,i,e[a+6],9,-1069501632),i=H(i,o,r,n,e[a+11],14,643717713),n=H(n,i,o,r,e[a],20,-373897302),r=H(r,n,i,o,e[a+5],5,-701558691),o=H(o,r,n,i,e[a+10],9,38016083),i=H(i,o,r,n,e[a+15],14,-660478335),n=H(n,i,o,r,e[a+4],20,-405537848),r=H(r,n,i,o,e[a+9],5,568446438),o=H(o,r,n,i,e[a+14],9,-1019803690),i=H(i,o,r,n,e[a+3],14,-187363961),n=H(n,i,o,r,e[a+8],20,1163531501),r=H(r,n,i,o,e[a+13],5,-1444681467),o=H(o,r,n,i,e[a+2],9,-51403784),i=H(i,o,r,n,e[a+7],14,1735328473),r=V(r,n=H(n,i,o,r,e[a+12],20,-1926607734),i,o,e[a+5],4,-378558),o=V(o,r,n,i,e[a+8],11,-2022574463),i=V(i,o,r,n,e[a+11],16,1839030562),n=V(n,i,o,r,e[a+14],23,-35309556),r=V(r,n,i,o,e[a+1],4,-1530992060),o=V(o,r,n,i,e[a+4],11,1272893353),i=V(i,o,r,n,e[a+7],16,-155497632),n=V(n,i,o,r,e[a+10],23,-1094730640),r=V(r,n,i,o,e[a+13],4,681279174),o=V(o,r,n,i,e[a],11,-358537222),i=V(i,o,r,n,e[a+3],16,-722521979),n=V(n,i,o,r,e[a+6],23,76029189),r=V(r,n,i,o,e[a+9],4,-640364487),o=V(o,r,n,i,e[a+12],11,-421815835),i=V(i,o,r,n,e[a+15],16,530742520),r=W(r,n=V(n,i,o,r,e[a+2],23,-995338651),i,o,e[a],6,-198630844),o=W(o,r,n,i,e[a+7],10,1126891415),i=W(i,o,r,n,e[a+14],15,-1416354905),n=W(n,i,o,r,e[a+5],21,-57434055),r=W(r,n,i,o,e[a+12],6,1700485571),o=W(o,r,n,i,e[a+3],10,-1894986606),i=W(i,o,r,n,e[a+10],15,-1051523),n=W(n,i,o,r,e[a+1],21,-2054922799),r=W(r,n,i,o,e[a+8],6,1873313359),o=W(o,r,n,i,e[a+15],10,-30611744),i=W(i,o,r,n,e[a+6],15,-1560198380),n=W(n,i,o,r,e[a+13],21,1309151649),r=W(r,n,i,o,e[a+4],6,-145523070),o=W(o,r,n,i,e[a+11],10,-1120210379),i=W(i,o,r,n,e[a+2],15,718787259),n=W(n,i,o,r,e[a+9],21,-343485551),r=U(r,s),n=U(n,u),i=U(i,l),o=U(o,c)}return[r,n,i,o]}(function(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(z(t)),n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))}),v4:function(e,t,r){var n=(e=e||{}).random||(e.rng||j)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var i=0;i<16;++i)t[r+i]=n[i];return t}return F(n)},v5:B("v5",80,function(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var i=0;i<n.length;++i)e.push(n.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,a=Math.ceil(o/16),s=Array(a),u=0;u<a;++u){for(var l=new Uint32Array(16),c=0;c<16;++c)l[c]=e[64*u+4*c]<<24|e[64*u+4*c+1]<<16|e[64*u+4*c+2]<<8|e[64*u+4*c+3];s[u]=l}s[a-1][14]=8*(e.length-1)/4294967296,s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<a;++d){for(var h=new Uint32Array(80),p=0;p<16;++p)h[p]=s[d][p];for(var f=16;f<80;++f)h[f]=G(h[f-3]^h[f-8]^h[f-14]^h[f-16],1);for(var m=r[0],g=r[1],v=r[2],y=r[3],b=r[4],w=0;w<80;++w){var k=Math.floor(w/20),x=G(m,5)+function(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}(k,g,v,y)+b+t[k]+h[w]>>>0;b=y,y=v,v=G(g,30)>>>0,g=m,m=x}r[0]=r[0]+m>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+v>>>0,r[3]=r[3]+y>>>0,r[4]=r[4]+b>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}),NIL:"00000000-0000-0000-0000-000000000000",version:function(e){if(!T(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)},validate:T,stringify:F,parse:L});let Z=["debug","info","warn","error","none"];var K={commonBasicLogger:function(e,t){if(e&&e.destination&&"function"!=typeof e.destination)throw Error("destination for basicLogger was set to a non-function");function r(e){return function(t){console&&console[e]&&console[e].call(console,t)}}let n=e&&e.destination?[e.destination,e.destination,e.destination,e.destination]:[r("log"),r("info"),r("warn"),r("error")],i=!(!e||!e.destination),o=e&&void 0!==e.prefix&&null!==e.prefix?e.prefix:"[LaunchDarkly] ",a=1;if(e&&e.level)for(let t=0;t<Z.length;t++)Z[t]===e.level&&(a=t);let s={};for(let e=0;e<Z.length;e++){let r=Z[e];if("none"!==r){if(e<a)s[r]=()=>{};else{let a=e;s[r]=function(){!function(e,r,a){let s;if(a.length<1)return;let u=i?r+": "+o:o;if(1!==a.length&&t){let e=[...a];e[0]=u+e[0],s=t(...e)}else s=u+a[0];try{n[e](s)}catch(e){console&&console.log&&console.log("[LaunchDarkly] Configured logger's "+r+" method threw an exception: "+e)}}(a,r,arguments)}}}}return s},validateLogger:function(e){Z.forEach(t=>{if("none"!==t&&(!e[t]||"function"!=typeof e[t]))throw Error("Provided logger instance must support logger."+t+"(...) method")})}};function J(e){return e&&e.message?e.message:"string"==typeof e||e instanceof String?e:JSON.stringify(e)}let X=" Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initializing-the-client for instructions on SDK initialization.";var Q={debugPostingDiagnosticEvent:function(e){return"sending diagnostic event ("+e.kind+")"},debugPostingEvents:function(e){return"sending "+e+" events"},debugPolling:function(e){return"polling for feature flags at "+e},deprecated:function(e,t){return t?'"'+e+'" is deprecated, please use "'+t+'"':'"'+e+'" is deprecated'},environmentNotFound:function(){return"Environment not found. Double check that you specified a valid environment/client-side ID."+X},errorFetchingFlags:function(e){return"Error fetching flag settings: "+J(e)},eventCapacityExceeded:function(){return"Exceeded event queue capacity. Increase capacity to avoid dropping events."},httpErrorMessage:function(e,t,r){return"Received error "+e+(401===e?" (invalid SDK key)":"")+" for "+t+" - "+(c.isHttpErrorRecoverable(e)?r:"giving up permanently")},httpUnavailable:function(){return"Cannot make HTTP requests in this environment."+X},inspectorMethodError:(e,t)=>`an inspector: "${t}" of type: "${e}" generated an exception`,invalidContentType:function(e){return'Expected application/json content type but got "'+e+'"'},invalidInspector:(e,t)=>`an inspector: "${t}" of an invalid type (${e}) was configured`,invalidContext:function(){return"Invalid context specified."+X},invalidTagValue:e=>`Config option "${e}" must only contain letters, numbers, ., _ or -.`,localStorageUnavailable:function(e){return"local storage is unavailable: "+J(e)},networkError:e=>"network error"+(e?" ("+e+")":""),optionBelowMinimum:(e,t,r)=>'Config option "'+e+'" was set to '+t+", changing to minimum value of "+r,streamClosing:function(){return"Closing stream connection"},streamConnecting:function(e){return"Opening stream connection to "+e},streamError:function(e,t){return"Error on stream connection: "+J(e)+", will continue retrying after "+t+" milliseconds."},tagValueTooLong:e=>`Value of "${e}" was longer than 64 characters and was discarded.`,unknownOption:e=>'Ignoring unknown config option "'+e+'"',contextNotSpecified:function(){return"No context specified."+X},unrecoverableStreamError:e=>`Error on stream connection ${J(e)}, giving up permanently`,wrongOptionType:(e,t,r)=>'Config option "'+e+'" should be of type '+t+", got "+r+", using default value",wrongOptionTypeBoolean:(e,t)=>'Config option "'+e+'" should be a boolean, got '+t+", converting to boolean"};let{validateLogger:ee}=K,et={baseUrl:{default:"https://app.launchdarkly.com"},streamUrl:{default:"https://clientstream.launchdarkly.com"},eventsUrl:{default:"https://events.launchdarkly.com"},sendEvents:{default:!0},streaming:{type:"boolean"},sendLDHeaders:{default:!0},requestHeaderTransform:{type:"function"},sendEventsOnlyForVariation:{default:!1},useReport:{default:!1},evaluationReasons:{default:!1},eventCapacity:{default:100,minimum:1},flushInterval:{default:2e3,minimum:2e3},samplingInterval:{default:0,minimum:0},streamReconnectDelay:{default:1e3,minimum:0},allAttributesPrivate:{default:!1},privateAttributes:{default:[]},bootstrap:{type:"string|object"},diagnosticRecordingInterval:{default:9e5,minimum:2e3},diagnosticOptOut:{default:!1},wrapperName:{type:"string"},wrapperVersion:{type:"string"},stateProvider:{type:"object"},application:{validator:function(e,t,r){let n={};return t.id&&(n.id=ei(`${e}.id`,t.id,r)),t.version&&(n.version=ei(`${e}.version`,t.version,r)),n}},inspectors:{default:[]}},er=/^(\w|\.|-)+$/;function en(e){return e?.replace(/\/+$/,"")}function ei(e,t,r){if("string"==typeof t&&t.match(er)){if(!(t.length>64))return t;r.warn(Q.tagValueTooLong(e))}else r.warn(Q.invalidTagValue(e))}var eo={baseOptionDefs:et,validate:function(e,t,r,n){var i;let o=D.extend({logger:{default:n}},et,r),a={};function s(e){D.onNextTick(()=>{t&&t.maybeReportError(new c.LDInvalidArgumentError(e))})}let u=D.extend({},e||{});return i=u,Object.keys(a).forEach(e=>{if(void 0!==i[e]){let t=a[e];n&&n.warn(Q.deprecated(e,t)),t&&(void 0===i[t]&&(i[t]=i[e]),delete i[e])}}),ee((u=function(e){let t=D.extend({},e),r=e=>{if(null===e)return"any";if(void 0===e)return;if(Array.isArray(e))return"array";let t=typeof e;return"boolean"===t||"string"===t||"number"===t||"function"===t?t:"object"};return Object.keys(e).forEach(i=>{let a=e[i];if(null!=a){let u=o[i];if(void 0===u)s(Q.unknownOption(i));else{let o=u.type||r(u.default),l=u.validator;if(l){let r=l(i,e[i],n);void 0!==r?t[i]=r:delete t[i]}else if("any"!==o){let e=o.split("|"),n=r(a);0>e.indexOf(n)?"boolean"===o?(t[i]=!!a,s(Q.wrongOptionTypeBoolean(i,n))):(s(Q.wrongOptionType(i,o,n)),t[i]=u.default):"number"===n&&void 0!==u.minimum&&a<u.minimum&&(s(Q.optionBelowMinimum(i,a,u.minimum)),t[i]=u.minimum)}}}}),t.baseUrl=en(t.baseUrl),t.streamUrl=en(t.streamUrl),t.eventsUrl=en(t.eventsUrl),t}(u=function(e){let t=D.extend({},e);return Object.keys(o).forEach(e=>{void 0!==t[e]&&null!==t[e]||(t[e]=o[e]&&o[e].default)}),t}(u))).logger),u},getTags:function(e){let t={};return e&&(e.application&&void 0!==e.application.id&&null!==e.application.id&&(t["application-id"]=[e.application.id]),e.application&&void 0!==e.application.version&&null!==e.application.id&&(t["application-version"]=[e.application.version])),t}};let{getLDUserAgentString:ea}=D;var es={getLDHeaders:function(e,t){if(t&&!t.sendLDHeaders)return{};let r={};r[e.userAgentHeaderName||"User-Agent"]=ea(e),t&&t.wrapperName&&(r["X-LaunchDarkly-Wrapper"]=t.wrapperVersion?t.wrapperName+"/"+t.wrapperVersion:t.wrapperName);let n=eo.getTags(t),i=Object.keys(n);return i.length&&(r["x-launchdarkly-tags"]=i.sort().map(e=>Array.isArray(n[e])?n[e].sort().map(t=>`${e}/${t}`):[`${e}/${n[e]}`]).reduce((e,t)=>e.concat(t),[]).join(" ")),r},transformHeaders:function(e,t){return t&&t.requestHeaderTransform?t.requestHeaderTransform({...e}):e}};let{v1:eu}=Y,{getLDHeaders:el,transformHeaders:ec}=es;var ed=function(e,t,r){let n="/a/"+t+".gif",i=D.extend({"Content-Type":"application/json"},el(e,r)),o=e.httpFallbackPing,a={};return a.sendChunk=(t,a,s,u)=>{let l=JSON.stringify(t),d=s?null:eu();return u?(function t(n){let o=s?i:D.extend({},i,{"X-LaunchDarkly-Event-Schema":"4","X-LaunchDarkly-Payload-ID":d});return e.httpRequest("POST",a,ec(o,r),l).promise.then(e=>{if(e)return e.status>=400&&c.isHttpErrorRecoverable(e.status)&&n?t(!1):function(e){let t={status:e.status},r=e.header("date");if(r){let e=Date.parse(r);e&&(t.serverTime=e)}return t}(e)}).catch(()=>n?t(!1):Promise.reject())})(!0).catch(()=>{}):(o&&o(a+n+"?d="+D.base64URLEncode(l)),Promise.resolve())},a.sendEvents=function(t,r,n){let i;if(!e.httpRequest)return Promise.resolve();let o=e.httpAllowsPost();i=o?[t]:D.chunkEventsForUrl(2e3-r.length,t);let s=[];for(let e=0;e<i.length;e++)s.push(a.sendChunk(i[e],r,n,o));return Promise.all(s)},a};let{commonBasicLogger:eh}=K;function ep(e){return"string"==typeof e&&"kind"!==e&&e.match(/^(\w|\.|-)+$/)}function ef(e){return e.includes("%")||e.includes(":")?e.replace(/%/g,"%25").replace(/:/g,"%3A"):e}var em={checkContext:function(e,t){if(e){if(t&&(void 0===e.kind||null===e.kind))return void 0!==e.key&&null!==e.key;let r=e.key,n=void 0===e.kind?"user":e.kind,i=ep(n),o="multi"===n||null!=r&&""!==r;if("multi"===n){let t=Object.keys(e).filter(e=>"kind"!==e);return o&&t.every(e=>ep(e))&&t.every(t=>{let r=e[t].key;return null!=r&&""!==r})}return o&&i}return!1},getContextKeys:function(e,t=eh()){if(!e)return;let r={},{kind:n,key:i}=e;switch(n){case void 0:r.user=`${i}`;break;case"multi":Object.entries(e).filter(([e])=>"kind"!==e).forEach(([e,t])=>{t?.key&&(r[e]=t.key)});break;case null:t.warn(`null is not a valid context kind: ${e}`);break;case"":t.warn(`'' is not a valid context kind: ${e}`);break;default:r[n]=`${i}`}return r},getContextKinds:function(e){return e?null===e.kind||void 0===e.kind?["user"]:"multi"!==e.kind?[e.kind]:Object.keys(e).filter(e=>"kind"!==e):[]},getCanonicalKey:function(e){if(e){if((void 0===e.kind||null===e.kind||"user"===e.kind)&&e.key)return e.key;if("multi"!==e.kind&&e.key)return`${e.kind}:${ef(e.key)}`;if("multi"===e.kind)return Object.keys(e).sort().filter(e=>"kind"!==e).map(t=>`${t}:${ef(e[t].key)}`).join(":")}}};let{getContextKinds:eg}=em;var ev=function(){let e={},t=0,r=0,n={},i={};return e.summarizeEvent=e=>{if("feature"===e.kind){let o=e.key+":"+(null!==e.variation&&void 0!==e.variation?e.variation:"")+":"+(null!==e.version&&void 0!==e.version?e.version:""),a=n[o],s=i[e.key];s||(s=new Set,i[e.key]=s),(e.context?eg(e.context):e.contextKeys?Object.keys(e.contextKeys):[]).forEach(e=>s.add(e)),a?a.count=a.count+1:n[o]={count:1,key:e.key,version:e.version,variation:e.variation,value:e.value,default:e.default},(0===t||e.creationDate<t)&&(t=e.creationDate),e.creationDate>r&&(r=e.creationDate)}},e.getSummary=()=>{let e={},o=!0;for(let t of Object.values(n)){let r=e[t.key];r||(r={default:t.default,counters:[],contextKinds:[...i[t.key]]},e[t.key]=r);let n={value:t.value,count:t.count};void 0!==t.variation&&null!==t.variation&&(n.variation=t.variation),void 0!==t.version&&null!==t.version?n.version=t.version:n.unknown=!0,r.counters.push(n),o=!1}return o?null:{startDate:t,endDate:r,features:e}},e.clearSummary=()=>{t=0,r=0,n={},i={}},e};function ey(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function eb(e){return(e.startsWith("/")?e.substring(1):e).split("/").map(e=>e.indexOf("~")>=0?e.replace(/~1/g,"/").replace(/~0/g,"~"):e)}function ew(e){return!e.startsWith("/")}function ek(e,t){let r=ew(e),n=ew(t);if(r&&n)return e===t;if(r){let r=eb(t);return 1===r.length&&e===r[0]}if(n){let r=eb(e);return 1===r.length&&t===r[0]}return e===t}function ex(e){return`/${ey(e)}`}var e_={cloneExcluding:function(e,t){let r=[],n={},i=[];for(r.push(...Object.keys(e).map(t=>({key:t,ptr:ex(t),source:e,parent:n,visited:[e]})));r.length;){let e=r.pop();if(t.some(t=>ek(t,e.ptr)))i.push(e.ptr);else{let t=e.source[e.key];if(null===t)e.parent[e.key]=t;else if(Array.isArray(t))e.parent[e.key]=[...t];else if("object"==typeof t){if(e.visited.includes(t))continue;e.parent[e.key]={},r.push(...Object.keys(t).map(r=>{var n,i;return{key:r,ptr:(n=e.ptr,i=ey(r),`${n}/${i}`),source:t,parent:e.parent[e.key],visited:[...e.visited,t]}}))}else e.parent[e.key]=t}}return{cloned:n,excluded:i.sort()}},compare:ek,literalToReference:ex},eS=function(e){let t={},r=e.allAttributesPrivate,n=e.privateAttributes||[],i=["key","kind","_meta","anonymous"],o=["name","ip","firstName","lastName","email","avatar","country"],a=e=>{if("object"!=typeof e||null===e||Array.isArray(e))return;let{cloned:t,excluded:o}=e_.cloneExcluding(e,(r?Object.keys(e):[...n,...e._meta&&e._meta.privateAttributes||[]]).filter(e=>!i.some(t=>e_.compare(e,t))));return t.key=String(t.key),o.length&&(t._meta||(t._meta={}),t._meta.redactedAttributes=o),t._meta&&(delete t._meta.privateAttributes,0===Object.keys(t._meta).length&&delete t._meta),void 0!==t.anonymous&&(t.anonymous=!!t.anonymous),t};return t.filter=e=>void 0===e.kind||null===e.kind?a((e=>{let t={...e.custom||{},kind:"user",key:e.key};for(let r of(void 0!==e.anonymous&&(t.anonymous=!!e.anonymous),o))delete t[r],void 0!==e[r]&&null!==e[r]&&(t[r]=String(e[r]));return void 0!==e.privateAttributeNames&&null!==e.privateAttributeNames&&(t._meta=t._meta||{},t._meta.privateAttributes=e.privateAttributeNames.map(e=>e.startsWith("/")?e_.literalToReference(e):e)),t})(e)):"multi"===e.kind?(e=>{let t={kind:e.kind};for(let r of Object.keys(e))if("kind"!==r){let n=a(e[r]);n&&(t[r]=n)}return t})(e):a(e),t};let{getContextKeys:eE}=em,eD="ready",eC="initialized",ej="failed",{appendUrlPath:eO,base64URLEncode:eT,objectHasOwnProperty:eA}=D,{getLDHeaders:eP,transformHeaders:eR}=es,{isHttpErrorRecoverable:eM}=c;var eF=function(e){let t,r,n,i;let o={addPromise:(o,a)=>{t=o,r&&r(),r=a,o.then(r=>{t===o&&(n(r),e&&e())},r=>{t===o&&(i(r),e&&e())})}};return o.resultPromise=new Promise((e,t)=>{n=e,i=t}),o};let{transformHeaders:eN,getLDHeaders:eI}=es,eL="application/json",{v1:eB}=Y,{getContextKinds:ez}=em,{v1:eU}=Y,{baseOptionDefs:eq}=eo,{appendUrlPath:e$}=D;var eH=function(e,t){let r=!1,n={type:e.type,name:e.name,method:(...i)=>{try{e.method(...i)}catch{r||(r=!0,t.warn(Q.inspectorMethodError(n.type,n.name)))}}};return n};let{onNextTick:eV}=D,eW={flagUsed:"flag-used",flagDetailsChanged:"flag-details-changed",flagDetailChanged:"flag-detail-changed",clientIdentityChanged:"client-identity-changed"};Object.freeze(eW);let{commonBasicLogger:eG}=K,{checkContext:eY,getContextKeys:eZ}=em,{InspectorTypes:eK,InspectorManager:eJ}={InspectorTypes:eW,InspectorManager:function(e,t){let r={},n={[eW.flagUsed]:[],[eW.flagDetailsChanged]:[],[eW.flagDetailChanged]:[],[eW.clientIdentityChanged]:[]};return(e?.map(e=>eH(e,t))).forEach(e=>{Object.prototype.hasOwnProperty.call(n,e.type)?n[e.type].push(e):t.warn(Q.invalidInspector(e.type,e.name))}),r.hasListeners=e=>n[e]?.length,r.onFlagUsed=(e,t,r)=>{n[eW.flagUsed].length&&eV(()=>{n[eW.flagUsed].forEach(n=>n.method(e,t,r))})},r.onFlags=e=>{n[eW.flagDetailsChanged].length&&eV(()=>{n[eW.flagDetailsChanged].forEach(t=>t.method(e))})},r.onFlagChanged=(e,t)=>{n[eW.flagDetailChanged].length&&eV(()=>{n[eW.flagDetailChanged].forEach(r=>r.method(e,t))})},r.onIdentityChanged=e=>{n[eW.clientIdentityChanged].length&&eV(()=>{n[eW.clientIdentityChanged].forEach(t=>t.method(e))})},r}};Promise.resolve({status:200,header:function(){return null},body:null})},3349:function(e,t,r){"use strict";var n=r(34406),i=r(139),o=r(38398),a=r(15153),s=r(22699);function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=u(i),c=u(o),d=u(a),h=Object.prototype.hasOwnProperty,p=Object.prototype.toString,f=Object.defineProperty,m=Object.getOwnPropertyDescriptor,g=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===p.call(e)},v=function(e){if(!e||"[object Object]"!==p.call(e))return!1;var t,r=h.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&h.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!n)return!1;for(t in e);return void 0===t||h.call(e,t)},y=function(e,t){f&&"__proto__"===t.name?f(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},b=function(e,t){if("__proto__"===t){if(!h.call(e,t))return;if(m)return m(e,t).value}return e[t]},w=function e(){var t,r,n,i,o,a,s=arguments[0],u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},u=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});u<l;++u)if(t=arguments[u],null!=t)for(r in t)n=b(s,r),s!==(i=b(t,r))&&(c&&i&&(v(i)||(o=g(i)))?(o?(o=!1,a=n&&g(n)?n:[]):a=n&&v(n)?n:{},y(s,{name:r,newValue:e(c,a,i)})):void 0!==i&&y(s,{name:r,newValue:i}));return s},k=c.default,x=d.default,_=function(){var e,t,r=Array.prototype.slice.call(arguments),n={};return r.length?1===r.length?r[0]:(t=r.map(function(t){var r="function"==typeof t?t():String(t||"");if(!r)return"";var i=k.parse(r,!0);return!e&&i&&(e=i),w(n,i.query),i.pathname}).filter(function(e){return!!e}),delete e.search,e.query=n,e.pathname=x.join.apply(x,t).replace(RegExp("\\"+x.sep,"g"),"/"),k.format(e)):""};let S="libhoney-js/3.0.0",E="undefined"!=typeof window?window:void 0!==r.g?r.g:void 0,D=function(){},C=(e,t)=>e.reduce((e,r)=>e.then(()=>t(r)),Promise.resolve()),j=(e,t,r,n)=>{let i=Object.create(null);return e.forEach(e=>{let o=t(e);i[o]?n(i[o],e):i[o]=r(e)}),i};class O{constructor(e){this.batches=j(e,e=>`${e.apiHost}_${e.writeKey}_${e.dataset}`,e=>({apiHost:e.apiHost,writeKey:e.writeKey,dataset:e.dataset,events:[e]}),(e,t)=>e.events.push(t))}encodeBatchEvents(e){let t=!0,r=0;return{encoded:"["+e.reduce((e,n)=>{try{let i=JSON.stringify(n);r++;let o=e+(t?"":",")+i;return t=!1,o}catch(t){return n.encodeError=t,e}},"")+"]",numEncoded:r}}}class T{constructor({timestamp:e,apiHost:t,postData:r,writeKey:n,dataset:i,sampleRate:o,metadata:a}){this.timestamp=e,this.apiHost=t,this.postData=r,this.writeKey=n,this.dataset=i,this.sampleRate=o,this.metadata=a}toJSON(){let e={};return this.timestamp&&(e.time=this.timestamp),this.sampleRate&&(e.samplerate=this.sampleRate),this.postData&&(e.data=this.postData),e}toBrokenJSON(){let e=[];return this.timestamp&&e.push(`"time":${JSON.stringify(this.timestamp)}`),this.sampleRate&&e.push(`"samplerate":${JSON.stringify(this.sampleRate)}`),this.postData&&e.push(`"data":${JSON.stringify(this.postData)}`),`{${e.join(",")}}`}}class A{constructor(e){this.constructorArg=e,this.events=[]}sendEvent(e){this.events.push(e)}sendPresampledEvent(e){this.events.push(e)}reset(){this.constructorArg=null,this.events=[]}}class P{sendEvent(e){console.log(JSON.stringify(e.toBrokenJSON()))}sendPresampledEvent(e){console.log(JSON.stringify(e.toBrokenJSON()))}}class R{sendEvent(e){console.log(JSON.stringify(e))}sendPresampledEvent(e){console.log(JSON.stringify(e))}}class M{sendEvent(e){n.stdout.write(JSON.stringify(e)+"\n")}sendPresampledEvent(e){n.stdout.write(JSON.stringify(e)+"\n")}}class F{sendEvent(e){}sendPresampledEvent(e){}}class N{constructor(e){this._responseCallback=D,this._batchSizeTrigger=50,this._batchTimeTrigger=100,this._maxConcurrentBatches=10,this._pendingWorkCapacity=1e4,this._timeout=6e4,this._sendTimeoutId=-1,this._eventQueue=[],this._batchCount=0,"function"==typeof e.responseCallback&&(this._responseCallback=e.responseCallback),"number"==typeof e.batchSizeTrigger&&(this._batchSizeTrigger=Math.max(e.batchSizeTrigger,1)),"number"==typeof e.batchTimeTrigger&&(this._batchTimeTrigger=e.batchTimeTrigger),"number"==typeof e.maxConcurrentBatches&&(this._maxConcurrentBatches=e.maxConcurrentBatches),"number"==typeof e.pendingWorkCapacity&&(this._pendingWorkCapacity=e.pendingWorkCapacity),"number"==typeof e.timeout&&(this._timeout=e.timeout),this._userAgentAddition=e.userAgentAddition||"",this._proxy=e.proxy,this._randomFn=Math.random}_droppedCallback(e,t){this._responseCallback([{metadata:e.metadata,error:Error(t)}])}sendEvent(e){if(!this._shouldSendEvent(e)){this._droppedCallback(e,"event dropped due to sampling");return}this.sendPresampledEvent(e)}sendPresampledEvent(e){if(this._eventQueue.length>=this._pendingWorkCapacity){this._droppedCallback(e,"queue overflow");return}this._eventQueue.push(e),this._eventQueue.length>=this._batchSizeTrigger?this._sendBatch():this._ensureSendTimeout()}flush(){return 0===this._eventQueue.length&&0===this._batchCount?Promise.resolve():new Promise(e=>{this.flushCallback=()=>{this.flushCallback=null,e()}})}_sendBatch(){if(10===this._batchCount)return;this._clearSendTimeout(),this._batchCount++;let e=new O(this._eventQueue.splice(0,this._batchSizeTrigger)),t=()=>{this._batchCount--;let e=this._eventQueue.length;if(e>0){e>=this._batchSizeTrigger?this._sendBatch():this._ensureSendTimeout();return}0===this._batchCount&&this.flushCallback&&this.flushCallback()};C(Object.keys(e.batches).map(t=>e.batches[t]),t=>{let r,n=_(t.apiHost,"/1/batch",t.dataset);r=Promise.resolve({req:l.default.post(n)});let{encoded:i,numEncoded:o}=e.encodeBatchEvents(t.events);return r.then(({req:e})=>new Promise(r=>{if(0===o){this._responseCallback(t.events.map(e=>({metadata:e.metadata,error:e.encodeError}))),r();return}let n=S,a=this._userAgentAddition.trim();a&&(n=`${S} ${a}`);let s=Date.now();e.set("X-Honeycomb-Team",t.writeKey).set("X-Honeycomb-UserAgent",n).type("json").timeout(this._timeout).send(i).end((e,n)=>{let i=Date.now();if(e)this._responseCallback(t.events.map(t=>({status_code:t.encodeError?void 0:e.status,duration:i-s,metadata:t.metadata,error:t.encodeError||e})));else{let e=JSON.parse(n.text),r=0;this._responseCallback(t.events.map(t=>{if(t.encodeError)return{duration:i-s,metadata:t.metadata,error:t.encodeError};{let n=e[r++];return{status_code:n.status,duration:i-s,metadata:t.metadata,error:n.err}}}))}r()})}))}).then(t).catch(t)}_shouldSendEvent(e){let{sampleRate:t}=e;return t<=1||this._randomFn()<1/t}_ensureSendTimeout(){-1===this._sendTimeoutId&&(this._sendTimeoutId=E.setTimeout(()=>this._sendBatch(),this._batchTimeTrigger))}_clearSendTimeout(){-1!==this._sendTimeoutId&&(E.clearTimeout(this._sendTimeoutId),this._sendTimeoutId=-1)}}function I(e,t){e&&(e instanceof Map?e.forEach(t):Object.getOwnPropertyNames(e).forEach(r=>t(e[r],r)))}class L{constructor(e,t,r){this.data=Object.create(null),this.metadata=null,this.apiHost="",this.writeKey="",this.dataset="",this.sampleRate=1,this.timestamp=null,I(t,(e,t)=>this.addField(t,e)),I(r,(e,t)=>this.addField(t,e())),this._libhoney=e}add(e){return I(e,(e,t)=>this.addField(t,e)),this}addField(e,t){return void 0===t?this.data[e]=null:this.data[e]=t,this}addMetadata(e){return this.metadata=e,this}send(){this._libhoney.sendEvent(this)}sendPresampled(){this._libhoney.sendPresampledEvent(this)}}class B{constructor(e,t,r){this._libhoney=e,this._fields=Object.create(null),this._dynFields=Object.create(null),this.apiHost="",this.writeKey="",this.dataset="",this.sampleRate=1,I(t,(e,t)=>this.addField(t,e)),I(r,(e,t)=>this.addDynamicField(t,e))}add(e){return I(e,(e,t)=>this.addField(t,e)),this}addField(e,t){return void 0===t?this._fields[e]=null:this._fields[e]=t,this}addDynamicField(e,t){return this._dynFields[e]=t,this}sendNow(e){let t=this.newEvent();t.add(e),t.send()}newEvent(){let e=new L(this._libhoney,this._fields,this._dynFields);return e.apiHost=this.apiHost,e.writeKey=this.writeKey,e.dataset=this.dataset,e.sampleRate=this.sampleRate,e}newBuilder(e,t){let r=new B(this._libhoney,this._fields,this._dynFields);return I(e,(e,t)=>r.addField(t,e)),I(t,(e,t)=>r.addDynamicField(t,e)),r.apiHost=this.apiHost,r.writeKey=this.writeKey,r.dataset=this.dataset,r.sampleRate=this.sampleRate,r}}let z=Object.freeze({apiHost:"https://api.honeycomb.io/",proxy:void 0,sampleRate:1,transmission:"base",batchSizeTrigger:50,batchTimeTrigger:100,maxConcurrentBatches:10,pendingWorkCapacity:1e4,maxResponseQueueSize:1e3,timeout:6e4,disabled:!1,userAgentAddition:""});class U extends s.EventEmitter{constructor(e){super(),this._options=Object.assign({responseCallback:this._responseCallback.bind(this)},z,e),this._transmission=$(this._options.transmission,this._options),this._usable=null!==this._transmission,this._builder=new B(this),this._builder.apiHost=this._options.apiHost,this._builder.writeKey=this._options.writeKey,this._builder.dataset=this._options.dataset,this._builder.sampleRate=this._options.sampleRate,this._responseQueue=[]}_responseCallback(e){let[t,r]=[this._responseQueue,this._options.maxResponseQueueSize];this._responseQueue=function(e,t,r){if(e.length>=r)return e.slice(0,r);if(e.length+t.length>r){let n=r-e.length,i=t.slice(0,n);return e.concat(i)}return e.concat(t)}(t,e,r),this.emit("response",this._responseQueue)}get transmission(){return this._transmission}set apiHost(e){this._builder.apiHost=e}get apiHost(){return this._builder.apiHost}set writeKey(e){this._builder.writeKey=e}get writeKey(){return this._builder.writeKey}set dataset(e){this._builder.dataset=e}get dataset(){return this._builder.dataset}set sampleRate(e){this._builder.sampleRate=e}get sampleRate(){return this._builder.sampleRate}sendEvent(e){let t=this.validateEvent(e);t&&this._transmission.sendEvent(t)}sendPresampledEvent(e){let t=this.validateEvent(e);t&&this._transmission.sendPresampledEvent(t)}validateEvent(e){let t;if(!this._usable)return null;let r=e.timestamp||Date.now();if(("string"==typeof r||"number"==typeof r)&&(r=new Date(r)),"object"!=typeof e.data||null===e.data)return console.error(".data must be an object"),null;try{t=JSON.parse(JSON.stringify(e.data))}catch(e){return console.error("error cloning event data: "+e),null}let n=e.apiHost;if("string"!=typeof n||""===n)return console.error(".apiHost must be a non-empty string"),null;let i=e.writeKey;if("string"!=typeof i||""===i)return console.error(".writeKey must be a non-empty string"),null;let o=e.dataset;if("string"!=typeof o||""===o)return console.error(".dataset must be a non-empty string"),null;let a=e.sampleRate;return"number"!=typeof a?(console.error(".sampleRate must be a number"),null):new T({timestamp:r,apiHost:n,postData:t,writeKey:i,dataset:o,sampleRate:a,metadata:e.metadata})}add(e){return this._builder.add(e),this}addField(e,t){return this._builder.addField(e,t),this}addDynamicField(e,t){return this._builder.addDynamicField(e,t),this}sendNow(e){return this._builder.sendNow(e)}newEvent(){return this._builder.newEvent()}newBuilder(e,t){return this._builder.newBuilder(e,t)}flush(){let e=this._transmission;return this._transmission=$(this._options.transmission,this._options),e.flush()}}let q=e=>{switch(e){case"base":return N;case"mock":return A;case"null":return F;case"worker":return console.warn("worker implementation not ready yet.  using base implementation"),N;case"writer":return console.warn("writer implementation is deprecated.  Please switch to console implementation."),P;case"console":return R;case"stdout":return M;default:throw Error(`unknown transmission implementation "${e}".`)}};function $(e,t){if(t.disabled)return null;if("string"==typeof e)return new(q(e))(t);if("function"!=typeof e)throw Error(".transmission must be one of 'base'/'worker'/'mock'/'writer'/'console'/'stdout'/'null' or a constructor.");try{return new e(t)}catch(r){if(e===N)throw Error("unable to initialize base transmission implementation.",r);console.warn("failed to initialize transmission, falling back to base implementation.");try{return new N(t)}catch(e){throw Error("unable to initialize base transmission implementation.",e)}}}e.exports=U},80594:function(e,t,r){var n=0/0,i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=l||c||Function("return this")(),h=Object.prototype.toString,p=Math.max,f=Math.min,m=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==h.call(t))return n;if(g(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=g(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var l=a.test(e);return l||s.test(e)?u(e.slice(2),l?2:8):o.test(e)?n:+e}e.exports=function(e,t,r){var n,i,o,a,s,u,l=0,c=!1,d=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var r=n,o=i;return n=i=void 0,l=t,a=e.apply(o,r)}function b(e){var r=e-u,n=e-l;return void 0===u||r>=t||r<0||d&&n>=o}function w(){var e,r,n,i=m();if(b(i))return k(i);s=setTimeout(w,(e=i-u,r=i-l,n=t-e,d?f(n,o-r):n))}function k(e){return(s=void 0,h&&n)?y(e):(n=i=void 0,a)}function x(){var e,r=m(),o=b(r);if(n=arguments,i=this,u=r,o){if(void 0===s)return l=e=u,s=setTimeout(w,t),c?y(e):a;if(d)return s=setTimeout(w,t),y(u)}return void 0===s&&(s=setTimeout(w,t)),a}return t=v(t)||0,g(r)&&(c=!!r.leading,o=(d="maxWait"in r)?p(v(r.maxWait)||0,t):o,h="trailing"in r?!!r.trailing:h),x.cancel=function(){void 0!==s&&clearTimeout(s),l=0,n=u=i=s=void 0},x.flush=function(){return void 0===s?a:k(m())},x}},63637:function(e,t,r){e=r.nmd(e);var n,i,o,a,s,u,l,c,d,h,p,f="__lodash_hash_undefined__",m="[object Arguments]",g="[object Function]",v="[object Object]",y=/^\[object .+?Constructor\]$/,b=/^(?:0|[1-9]\d*)$/,w={};w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w[m]=w["[object Array]"]=w["[object ArrayBuffer]"]=w["[object Boolean]"]=w["[object DataView]"]=w["[object Date]"]=w["[object Error]"]=w[g]=w["[object Map]"]=w["[object Number]"]=w[v]=w["[object RegExp]"]=w["[object Set]"]=w["[object String]"]=w["[object WeakMap]"]=!1;var k="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,x="object"==typeof self&&self&&self.Object===Object&&self,_=k||x||Function("return this")(),S=t&&!t.nodeType&&t,E=S&&e&&!e.nodeType&&e,D=E&&E.exports===S,C=D&&k.process,j=function(){try{var e=E&&E.require&&E.require("util").types;if(e)return e;return C&&C.binding&&C.binding("util")}catch(e){}}(),O=j&&j.isTypedArray,T=Array.prototype,A=Function.prototype,P=Object.prototype,R=_["__core-js_shared__"],M=A.toString,F=P.hasOwnProperty,N=(l=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",I=P.toString,L=M.call(Object),B=RegExp("^"+M.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=D?_.Buffer:void 0,U=_.Symbol,q=_.Uint8Array,$=z?z.allocUnsafe:void 0,H=(c=Object.getPrototypeOf,d=Object,function(e){return c(d(e))}),V=Object.create,W=P.propertyIsEnumerable,G=T.splice,Y=U?U.toStringTag:void 0,Z=function(){try{var e=ep(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),K=z?z.isBuffer:void 0,J=Math.max,X=Date.now,Q=ep(_,"Map"),ee=ep(Object,"create"),et=function(){function e(){}return function(t){if(!eE(t))return{};if(V)return V(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function er(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function en(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ei(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eo(e){var t=this.__data__=new en(e);this.size=t.size}function ea(e,t,r){(void 0===r||ey(e[t],r))&&(void 0!==r||t in e)||eu(e,t,r)}function es(e,t){for(var r=e.length;r--;)if(ey(e[r][0],t))return r;return -1}function eu(e,t,r){"__proto__"==t&&Z?Z(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}er.prototype.clear=function(){this.__data__=ee?ee(null):{},this.size=0},er.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},er.prototype.get=function(e){var t=this.__data__;if(ee){var r=t[e];return r===f?void 0:r}return F.call(t,e)?t[e]:void 0},er.prototype.has=function(e){var t=this.__data__;return ee?void 0!==t[e]:F.call(t,e)},er.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ee&&void 0===t?f:t,this},en.prototype.clear=function(){this.__data__=[],this.size=0},en.prototype.delete=function(e){var t=this.__data__,r=es(t,e);return!(r<0)&&(r==t.length-1?t.pop():G.call(t,r,1),--this.size,!0)},en.prototype.get=function(e){var t=this.__data__,r=es(t,e);return r<0?void 0:t[r][1]},en.prototype.has=function(e){return es(this.__data__,e)>-1},en.prototype.set=function(e,t){var r=this.__data__,n=es(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},ei.prototype.clear=function(){this.size=0,this.__data__={hash:new er,map:new(Q||en),string:new er}},ei.prototype.delete=function(e){var t=eh(this,e).delete(e);return this.size-=t?1:0,t},ei.prototype.get=function(e){return eh(this,e).get(e)},ei.prototype.has=function(e){return eh(this,e).has(e)},ei.prototype.set=function(e,t){var r=eh(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},eo.prototype.clear=function(){this.__data__=new en,this.size=0},eo.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},eo.prototype.get=function(e){return this.__data__.get(e)},eo.prototype.has=function(e){return this.__data__.has(e)},eo.prototype.set=function(e,t){var r=this.__data__;if(r instanceof en){var n=r.__data__;if(!Q||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ei(n)}return r.set(e,t),this.size=r.size,this};var el=function(e,t,r){for(var n=-1,i=Object(e),o=r(e),a=o.length;a--;){var s=o[++n];if(!1===t(i[s],s,i))break}return e};function ec(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Y&&Y in Object(e)?function(e){var t=F.call(e,Y),r=e[Y];try{e[Y]=void 0;var n=!0}catch(e){}var i=I.call(e);return n&&(t?e[Y]=r:delete e[Y]),i}(e):I.call(e)}function ed(e){return eD(e)&&ec(e)==m}function eh(e,t){var r,n=e.__data__;return("string"==(r=typeof t)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?n["string"==typeof t?"string":"hash"]:n.map}function ep(e,t){var r=null==e?void 0:e[t];return!(!eE(r)||N&&N in r)&&(e_(r)?B:y).test(function(e){if(null!=e){try{return M.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(r))?r:void 0}function ef(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&b.test(e))&&e>-1&&e%1==0&&e<t}function em(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||P)}function eg(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ev=(n=Z?function(e,t){return Z(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:eT,i=0,o=0,function(){var e=X(),t=16-(e-o);if(o=e,t>0){if(++i>=800)return arguments[0]}else i=0;return n.apply(void 0,arguments)});function ey(e,t){return e===t||e!=e&&t!=t}var eb=ed(function(){return arguments}())?ed:function(e){return eD(e)&&F.call(e,"callee")&&!W.call(e,"callee")},ew=Array.isArray;function ek(e){return null!=e&&eS(e.length)&&!e_(e)}var ex=K||function(){return!1};function e_(e){if(!eE(e))return!1;var t=ec(e);return t==g||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eS(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function eE(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eD(e){return null!=e&&"object"==typeof e}var eC=O?function(e){return O(e)}:function(e){return eD(e)&&eS(e.length)&&!!w[ec(e)]};function ej(e){return ek(e)?function(e,t){var r=ew(e),n=!r&&eb(e),i=!r&&!n&&ex(e),o=!r&&!n&&!i&&eC(e),a=r||n||i||o,s=a?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],u=s.length;for(var l in e)(t||F.call(e,l))&&!(a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ef(l,u)))&&s.push(l);return s}(e,!0):function(e){if(!eE(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=em(e),r=[];for(var n in e)"constructor"==n&&(t||!F.call(e,n))||r.push(n);return r}(e)}var eO=(h=function(e,t,r,n){!function e(t,r,n,i,o){t!==r&&el(r,function(a,s){if(o||(o=new eo),eE(a))(function(e,t,r,n,i,o,a){var s=eg(e,r),u=eg(t,r),l=a.get(u);if(l){ea(e,r,l);return}var c=o?o(s,u,r+"",e,t,a):void 0,d=void 0===c;if(d){var h,p,f,m=ew(u),g=!m&&ex(u),y=!m&&!g&&eC(u);c=u,m||g||y?ew(s)?c=s:eD(s)&&ek(s)?c=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}(s):g?(d=!1,c=function(e,t){if(t)return e.slice();var r=e.length,n=$?$(r):new e.constructor(r);return e.copy(n),n}(u,!0)):y?(d=!1,new q(p=new(h=u.buffer).constructor(h.byteLength)).set(new q(h)),f=p,c=new u.constructor(f,u.byteOffset,u.length)):c=[]:function(e){if(!eD(e)||ec(e)!=v)return!1;var t=H(e);if(null===t)return!0;var r=F.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&M.call(r)==L}(u)||eb(u)?(c=s,eb(s)?c=function(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],u=void 0;void 0===u&&(u=e[s]),i?eu(r,s,u):function(e,t,r){var n=e[t];F.call(e,t)&&ey(n,r)&&(void 0!==r||t in e)||eu(e,t,r)}(r,s,u)}return r}(s,ej(s)):(!eE(s)||e_(s))&&(c="function"!=typeof u.constructor||em(u)?{}:et(H(u)))):d=!1}d&&(a.set(u,c),i(c,u,n,o,a),a.delete(u)),ea(e,r,c)})(t,r,s,n,e,i,o);else{var u=i?i(eg(t,s),a,s+"",t,r,o):void 0;void 0===u&&(u=a),ea(t,s,u)}},ej)}(e,t,r,n)},ev((a=p=function(e,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(i=h.length>3&&"function"==typeof i?(n--,i):void 0,o&&function(e,t,r){if(!eE(r))return!1;var n=typeof t;return("number"==n?!!(ek(r)&&ef(t,r.length)):"string"==n&&(t in r))&&ey(r[t],e)}(t[0],t[1],o)&&(i=n<3?void 0:i,n=1),e=Object(e);++r<n;){var a=t[r];a&&h(e,a,r,i)}return e},s=void 0,u=eT,s=J(void 0===s?a.length-1:s,0),function(){for(var e=arguments,t=-1,r=J(e.length-s,0),n=Array(r);++t<r;)n[t]=e[s+t];t=-1;for(var i=Array(s+1);++t<s;)i[t]=e[t];return i[s]=u(n),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(a,this,i)}),p+""));function eT(e){return e}e.exports=eO},98357:function(e,t,r){var n="Expected a function",i=0/0,o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,d="object"==typeof self&&self&&self.Object===Object&&self,h=c||d||Function("return this")(),p=Object.prototype.toString,f=Math.max,m=Math.min,g=function(){return h.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==p.call(t))return i;if(v(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=v(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?i:+e}e.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw TypeError(n);return v(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),function(e,t,r){var i,o,a,s,u,l,c=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw TypeError(n);function b(t){var r=i,n=o;return i=o=void 0,c=t,s=e.apply(n,r)}function w(e){var r=e-l,n=e-c;return void 0===l||r>=t||r<0||h&&n>=a}function k(){var e,r,n,i=g();if(w(i))return x(i);u=setTimeout(k,(e=i-l,r=i-c,n=t-e,h?m(n,a-r):n))}function x(e){return(u=void 0,p&&i)?b(e):(i=o=void 0,s)}function _(){var e,r=g(),n=w(r);if(i=arguments,o=this,l=r,n){if(void 0===u)return c=e=l,u=setTimeout(k,t),d?b(e):s;if(h)return u=setTimeout(k,t),b(l)}return void 0===u&&(u=setTimeout(k,t)),s}return t=y(t)||0,v(r)&&(d=!!r.leading,a=(h="maxWait"in r)?f(y(r.maxWait)||0,t):a,p="trailing"in r?!!r.trailing:p),_.cancel=function(){void 0!==u&&clearTimeout(u),c=0,i=l=o=u=void 0},_.flush=function(){return void 0===u?s:x(g())},_}(e,t,{leading:i,maxWait:t,trailing:o})}},39515:function(e,t,r){var n=r(38761)(r(37772),"DataView");e.exports=n},89612:function(e,t,r){var n=r(52118),i=r(96909),o=r(98138),a=r(4174),s=r(7942);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},80235:function(e,t,r){var n=r(3945),i=r(21846),o=r(88028),a=r(72344),s=r(94769);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},10326:function(e,t,r){var n=r(38761)(r(37772),"Map");e.exports=n},96738:function(e,t,r){var n=r(92411),i=r(36417),o=r(86928),a=r(79493),s=r(24150);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},52760:function(e,t,r){var n=r(38761)(r(37772),"Promise");e.exports=n},2143:function(e,t,r){var n=r(38761)(r(37772),"Set");e.exports=n},45386:function(e,t,r){var n=r(96738),i=r(52842),o=r(52482);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},86571:function(e,t,r){var n=r(80235),i=r(15243),o=r(72858),a=r(4417),s=r(8605),u=r(71418);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},50857:function(e,t,r){var n=r(37772).Symbol;e.exports=n},79162:function(e,t,r){var n=r(37772).Uint8Array;e.exports=n},93215:function(e,t,r){var n=r(38761)(r(37772),"WeakMap");e.exports=n},49432:function(e){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},65338:function(e){e.exports=function(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(n,a,r(a),e)}return n}},72517:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},67552:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}},38333:function(e,t,r){var n=r(77832);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},34893:function(e){e.exports=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}},1634:function(e,t,r){var n=r(36473),i=r(79631),o=r(86152),a=r(73226),s=r(39045),u=r(77598),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),c=!r&&i(e),d=!r&&!c&&a(e),h=!r&&!c&&!d&&u(e),p=r||c||d||h,f=p?n(e.length,String):[],m=f.length;for(var g in e)(t||l.call(e,g))&&!(p&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m)))&&f.push(g);return f}},50343:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},65067:function(e){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},33977:function(e,t,r){var n=r(5809);e.exports=function(e){var t=e.length;return t?e[n(0,t-1)]:void 0}},69918:function(e,t,r){var n=r(51522),i=r(85876);e.exports=function(e){return i(n(e))}},87064:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},8589:function(e,t,r){var n=r(20256)("length");e.exports=n},50217:function(e){e.exports=function(e){return e.split("")}},45981:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},28582:function(e,t,r){var n=r(13940),i=r(41225);e.exports=function(e,t,r){(void 0===r||i(e[t],r))&&(void 0!==r||t in e)||n(e,t,r)}},60091:function(e,t,r){var n=r(13940),i=r(41225),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];o.call(e,t)&&i(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},22218:function(e,t,r){var n=r(41225);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return -1}},12825:function(e,t,r){var n=r(24303);e.exports=function(e,t,r,i){return n(e,function(e,n,o){t(i,e,r(e),o)}),i}},67993:function(e,t,r){var n=r(752),i=r(90249);e.exports=function(e,t){return e&&n(t,i(t),e)}},55906:function(e,t,r){var n=r(752),i=r(18582);e.exports=function(e,t){return e&&n(t,i(t),e)}},13940:function(e,t,r){var n=r(83043);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},14034:function(e){e.exports=function(e,t,r){return e==e&&(void 0!==r&&(e=e<=r?e:r),void 0!==t&&(e=e>=t?e:t)),e}},18874:function(e,t,r){var n=r(86571),i=r(72517),o=r(60091),a=r(67993),s=r(55906),u=r(92175),l=r(51522),c=r(7680),d=r(19987),h=r(13483),p=r(76939),f=r(70940),m=r(99917),g=r(8222),v=r(78725),y=r(86152),b=r(73226),w=r(4714),k=r(29259),x=r(30194),_=r(90249),S=r(18582),E="[object Arguments]",D="[object Function]",C="[object Object]",j={};j[E]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object DataView]"]=j["[object Boolean]"]=j["[object Date]"]=j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Map]"]=j["[object Number]"]=j[C]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object Symbol]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Error]"]=j[D]=j["[object WeakMap]"]=!1,e.exports=function e(t,r,O,T,A,P){var R,M=1&r,F=2&r,N=4&r;if(O&&(R=A?O(t,T,A,P):O(t)),void 0!==R)return R;if(!k(t))return t;var I=y(t);if(I){if(R=m(t),!M)return l(t,R)}else{var L=f(t),B=L==D||"[object GeneratorFunction]"==L;if(b(t))return u(t,M);if(L==C||L==E||B&&!A){if(R=F||B?{}:v(t),!M)return F?d(t,s(R,t)):c(t,a(R,t))}else{if(!j[L])return A?t:{};R=g(t,L,M)}}P||(P=new n);var z=P.get(t);if(z)return z;P.set(t,R),x(t)?t.forEach(function(n){R.add(e(n,r,O,n,t,P))}):w(t)&&t.forEach(function(n,i){R.set(i,e(n,r,O,i,t,P))});var U=N?F?p:h:F?S:_,q=I?void 0:U(t);return i(q||t,function(n,i){q&&(n=t[i=n]),o(R,i,e(n,r,O,i,t,P))}),R}},39413:function(e,t,r){var n=r(29259),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},85246:function(e,t,r){var n=r(45386),i=r(38333),o=r(34893),a=r(50343),s=r(47826),u=r(59950);e.exports=function(e,t,r,l){var c=-1,d=i,h=!0,p=e.length,f=[],m=t.length;if(!p)return f;r&&(t=a(t,s(r))),l?(d=o,h=!1):t.length>=200&&(d=u,h=!1,t=new n(t));t:for(;++c<p;){var g=e[c],v=null==r?g:r(g);if(g=l||0!==g?g:0,h&&v==v){for(var y=m;y--;)if(t[y]===v)continue t;f.push(g)}else d(t,v,l)||f.push(g)}return f}},24303:function(e,t,r){var n=r(26548),i=r(92019)(n);e.exports=i},2229:function(e,t,r){var n=r(4795);e.exports=function(e,t,r){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(void 0===u?s==s&&!n(s):r(s,u)))var u=s,l=a}return l}},21359:function(e){e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return -1}},62034:function(e,t,r){var n=r(65067),i=r(95882);e.exports=function e(t,r,o,a,s){var u=-1,l=t.length;for(o||(o=i),s||(s=[]);++u<l;){var c=t[u];r>0&&o(c)?r>1?e(c,r-1,o,a,s):n(s,c):a||(s[s.length]=c)}return s}},15308:function(e,t,r){var n=r(55463)();e.exports=n},26548:function(e,t,r){var n=r(15308),i=r(90249);e.exports=function(e,t){return e&&n(e,t,i)}},13324:function(e,t,r){var n=r(17297),i=r(33812);e.exports=function(e,t){t=n(t,e);for(var r=0,o=t.length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},1897:function(e,t,r){var n=r(65067),i=r(86152);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},53366:function(e,t,r){var n=r(50857),i=r(62107),o=r(37157),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},84134:function(e){e.exports=function(e,t){return e>t}},32726:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,r){return null!=e&&t.call(e,r)}},20187:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},77832:function(e,t,r){var n=r(21359),i=r(22195),o=r(66024);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},84190:function(e){e.exports=function(e,t,r,n){for(var i=r-1,o=e.length;++i<o;)if(n(e[i],t))return i;return -1}},15183:function(e,t,r){var n=r(53366),i=r(15125);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},88746:function(e,t,r){var n=r(51952),i=r(15125);e.exports=function e(t,r,o,a,s){return t===r||(null!=t&&null!=r&&(i(t)||i(r))?n(t,r,o,a,e,s):t!=t&&r!=r)}},51952:function(e,t,r){var n=r(86571),i=r(74871),o=r(11491),a=r(17416),s=r(70940),u=r(86152),l=r(73226),c=r(77598),d="[object Arguments]",h="[object Array]",p="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,g,v){var y=u(e),b=u(t),w=y?h:s(e),k=b?h:s(t);w=w==d?p:w,k=k==d?p:k;var x=w==p,_=k==p,S=w==k;if(S&&l(e)){if(!l(t))return!1;y=!0,x=!1}if(S&&!x)return v||(v=new n),y||c(e)?i(e,t,r,m,g,v):o(e,t,w,r,m,g,v);if(!(1&r)){var E=x&&f.call(e,"__wrapped__"),D=_&&f.call(t,"__wrapped__");if(E||D){var C=E?e.value():e,j=D?t.value():t;return v||(v=new n),g(C,j,r,m,v)}}return!!S&&(v||(v=new n),a(e,t,r,m,g,v))}},74511:function(e,t,r){var n=r(70940),i=r(15125);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},37036:function(e,t,r){var n=r(86571),i=r(88746);e.exports=function(e,t,r,o){var a=r.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var l=r[a];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var c=(l=r[a])[0],d=e[c],h=l[1];if(u&&l[2]){if(void 0===d&&!(c in e))return!1}else{var p=new n;if(o)var f=o(d,h,c,e,t,p);if(!(void 0===f?i(h,d,3,o,p):f))return!1}}return!0}},22195:function(e){e.exports=function(e){return e!=e}},6840:function(e,t,r){var n=r(61049),i=r(47394),o=r(29259),a=r(87035),s=/^\[object .+?Constructor\]$/,u=Object.prototype,l=Function.prototype.toString,c=u.hasOwnProperty,d=RegExp("^"+l.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?d:s).test(a(e))}},24333:function(e,t,r){var n=r(53366),i=r(15125);e.exports=function(e){return i(e)&&"[object RegExp]"==n(e)}},8109:function(e,t,r){var n=r(70940),i=r(15125);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},35522:function(e,t,r){var n=r(53366),i=r(61158),o=r(15125),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[n(e)]}},68286:function(e,t,r){var n=r(26423),i=r(74716),o=r(23059),a=r(86152),s=r(65798);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},86411:function(e,t,r){var n=r(16001),i=r(54248),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},18390:function(e,t,r){var n=r(29259),i=r(16001),o=r(62966),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(e),r=[];for(var s in e)"constructor"==s&&(t||!a.call(e,s))||r.push(s);return r}},93401:function(e,t,r){var n=r(24303),i=r(67878);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,function(e,n,i){o[++r]=t(e,n,i)}),o}},26423:function(e,t,r){var n=r(37036),i=r(49882),o=r(73477);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},74716:function(e,t,r){var n=r(88746),i=r(72579),o=r(95041),a=r(21401),s=r(28792),u=r(73477),l=r(33812);e.exports=function(e,t){return a(e)&&s(t)?u(l(e),t):function(r){var a=i(r,e);return void 0===a&&a===t?o(r,e):n(t,a,3)}}},84565:function(e,t,r){var n=r(86571),i=r(28582),o=r(15308),a=r(25561),s=r(29259),u=r(18582),l=r(52434);e.exports=function e(t,r,c,d,h){t!==r&&o(r,function(o,u){if(h||(h=new n),s(o))a(t,r,u,c,e,d,h);else{var p=d?d(l(t,u),o,u+"",t,r,h):void 0;void 0===p&&(p=o),i(t,u,p)}},u)}},25561:function(e,t,r){var n=r(28582),i=r(92175),o=r(6190),a=r(51522),s=r(78725),u=r(79631),l=r(86152),c=r(93746),d=r(73226),h=r(61049),p=r(29259),f=r(97030),m=r(77598),g=r(52434),v=r(63329);e.exports=function(e,t,r,y,b,w,k){var x=g(e,r),_=g(t,r),S=k.get(_);if(S){n(e,r,S);return}var E=w?w(x,_,r+"",e,t,k):void 0,D=void 0===E;if(D){var C=l(_),j=!C&&d(_),O=!C&&!j&&m(_);E=_,C||j||O?l(x)?E=x:c(x)?E=a(x):j?(D=!1,E=i(_,!0)):O?(D=!1,E=o(_,!0)):E=[]:f(_)||u(_)?(E=x,u(x)?E=v(x):(!p(x)||h(x))&&(E=s(_))):D=!1}D&&(k.set(_,E),b(E,_,y,w,k),k.delete(_)),n(e,r,E)}},23813:function(e,t,r){var n=r(50343),i=r(13324),o=r(68286),a=r(93401),s=r(27095),u=r(47826),l=r(18477),c=r(23059),d=r(86152);e.exports=function(e,t,r){t=t.length?n(t,function(e){return d(e)?function(t){return i(t,1===e.length?e[0]:e)}:e}):[c];var h=-1;return t=n(t,u(o)),s(a(e,function(e,r,i){return{criteria:n(t,function(t){return t(e)}),index:++h,value:e}}),function(e,t){return l(e,t,r)})}},20256:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},82952:function(e,t,r){var n=r(13324);e.exports=function(e){return function(t){return n(t,e)}}},45169:function(e,t,r){var n=r(50343),i=r(77832),o=r(84190),a=r(47826),s=r(51522),u=Array.prototype.splice;e.exports=function(e,t,r,l){var c=l?o:i,d=-1,h=t.length,p=e;for(e===t&&(t=s(t)),r&&(p=n(e,a(r)));++d<h;)for(var f=0,m=t[d],g=r?r(m):m;(f=c(p,g,f,l))>-1;)p!==e&&u.call(p,f,1),u.call(e,f,1);return e}},5809:function(e){var t=Math.floor,r=Math.random;e.exports=function(e,n){return e+t(r()*(n-e+1))}},93228:function(e){var t=Math.ceil,r=Math.max;e.exports=function(e,n,i,o){for(var a=-1,s=r(t((n-e)/(i||1)),0),u=Array(s);s--;)u[o?s:++a]=e,e+=i;return u}},36060:function(e,t,r){var n=r(23059),i=r(43114),o=r(75251);e.exports=function(e,t){return o(i(e,t,n),e+"")}},46543:function(e,t,r){var n=r(33977),i=r(98346);e.exports=function(e){return n(i(e))}},82857:function(e,t,r){var n=r(60091),i=r(17297),o=r(39045),a=r(29259),s=r(33812);e.exports=function(e,t,r,u){if(!a(e))return e;t=i(t,e);for(var l=-1,c=t.length,d=c-1,h=e;null!=h&&++l<c;){var p=s(t[l]),f=r;if("__proto__"===p||"constructor"===p||"prototype"===p)break;if(l!=d){var m=h[p];void 0===(f=u?u(m,p,h):void 0)&&(f=a(m)?m:o(t[l+1])?[]:{})}n(h,p,f),h=h[p]}return e}},86532:function(e,t,r){var n=r(86874),i=r(83043),o=r(23059),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=a},12682:function(e,t,r){var n=r(85876),i=r(98346);e.exports=function(e){return n(i(e))}},39872:function(e){e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},27095:function(e){e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},36473:function(e){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},1054:function(e,t,r){var n=r(50857),i=r(50343),o=r(86152),a=r(4795),s=1/0,u=n?n.prototype:void 0,l=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-s?"-0":r}},51704:function(e,t,r){var n=r(52153),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},47826:function(e){e.exports=function(e){return function(t){return e(t)}}},67326:function(e,t,r){var n=r(45386),i=r(38333),o=r(34893),a=r(59950),s=r(78803),u=r(16909);e.exports=function(e,t,r){var l=-1,c=i,d=e.length,h=!0,p=[],f=p;if(r)h=!1,c=o;else if(d>=200){var m=t?null:s(e);if(m)return u(m);h=!1,c=a,f=new n}else f=t?[]:p;t:for(;++l<d;){var g=e[l],v=t?t(g):g;if(g=r||0!==g?g:0,h&&v==v){for(var y=f.length;y--;)if(f[y]===v)continue t;t&&f.push(v),p.push(g)}else c(f,v,r)||(f!==p&&f.push(v),p.push(g))}return p}},29078:function(e,t,r){var n=r(17297),i=r(56974),o=r(62721),a=r(33812);e.exports=function(e,t){return t=n(t,e),null==(e=o(e,t))||delete e[a(i(t))]}},50753:function(e,t,r){var n=r(50343);e.exports=function(e,t){return n(t,function(t){return e[t]})}},59950:function(e){e.exports=function(e,t){return e.has(t)}},17297:function(e,t,r){var n=r(86152),i=r(21401),o=r(54452),a=r(66188);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},23895:function(e,t,r){var n=r(39872);e.exports=function(e,t,r){var i=e.length;return r=void 0===r?i:r,!t&&r>=i?e:n(e,t,r)}},79882:function(e,t,r){var n=r(79162);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},92175:function(e,t,r){e=r.nmd(e);var n=r(37772),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}},34727:function(e,t,r){var n=r(79882);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},96058:function(e){var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},70169:function(e,t,r){var n=r(50857),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},6190:function(e,t,r){var n=r(79882);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},27520:function(e,t,r){var n=r(4795);e.exports=function(e,t){if(e!==t){var r=void 0!==e,i=null===e,o=e==e,a=n(e),s=void 0!==t,u=null===t,l=t==t,c=n(t);if(!u&&!c&&!a&&e>t||a&&s&&l&&!u&&!c||i&&s&&l||!r&&l||!o)return 1;if(!i&&!a&&!c&&e<t||c&&r&&o&&!i&&!a||u&&r&&o||!s&&o||!l)return -1}return 0}},18477:function(e,t,r){var n=r(27520);e.exports=function(e,t,r){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,u=r.length;++i<s;){var l=n(o[i],a[i]);if(l){if(i>=u)return l;return l*("desc"==r[i]?-1:1)}}return e.index-t.index}},51522:function(e){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},752:function(e,t,r){var n=r(60091),i=r(13940);e.exports=function(e,t,r,o){var a=!r;r||(r={});for(var s=-1,u=t.length;++s<u;){var l=t[s],c=o?o(r[l],e[l],l,r,e):void 0;void 0===c&&(c=e[l]),a?i(r,l,c):n(r,l,c)}return r}},7680:function(e,t,r){var n=r(752),i=r(80633);e.exports=function(e,t){return n(e,i(e),t)}},19987:function(e,t,r){var n=r(752),i=r(12680);e.exports=function(e,t){return n(e,i(e),t)}},24019:function(e,t,r){var n=r(37772)["__core-js_shared__"];e.exports=n},36740:function(e,t,r){var n=r(65338),i=r(12825),o=r(68286),a=r(86152);e.exports=function(e,t){return function(r,s){var u=a(r)?n:i,l=t?t():{};return u(r,e,o(s,2),l)}}},97263:function(e,t,r){var n=r(36060),i=r(82406);e.exports=function(e){return n(function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++n<o;){var u=r[n];u&&e(t,u,n,a)}return t})}},92019:function(e,t,r){var n=r(67878);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,a=t?o:-1,s=Object(r);(t?a--:++a<o)&&!1!==i(s[a],a,s););return r}}},55463:function(e){e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===r(o[u],u,o))break}return t}}},83126:function(e,t,r){var n=r(23895),i=r(33880),o=r(8435),a=r(66188);e.exports=function(e){return function(t){var r=i(t=a(t))?o(t):void 0,s=r?r[0]:t.charAt(0),u=r?n(r,1).join(""):t.slice(1);return s[e]()+u}}},82941:function(e,t,r){var n=r(93228),i=r(82406),o=r(5707);e.exports=function(e){return function(t,r,a){return a&&"number"!=typeof a&&i(t,r,a)&&(r=a=void 0),t=o(t),void 0===r?(r=t,t=0):r=o(r),a=void 0===a?t<r?1:-1:o(a),n(t,r,a,e)}}},67320:function(e,t,r){var n=r(37772),i=r(38101),o=r(7642),a=r(66188),s=n.isFinite,u=Math.min;e.exports=function(e){var t=Math[e];return function(e,r){if(e=o(e),(r=null==r?0:u(i(r),292))&&s(e)){var n=(a(e)+"e").split("e");return+((n=(a(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}},78803:function(e,t,r){var n=r(2143),i=r(34291),o=r(16909),a=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=a},48642:function(e,t,r){var n=r(97030);e.exports=function(e){return n(e)?void 0:e}},83043:function(e,t,r){var n=r(38761),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},74871:function(e,t,r){var n=r(45386),i=r(87064),o=r(59950);e.exports=function(e,t,r,a,s,u){var l=1&r,c=e.length,d=t.length;if(c!=d&&!(l&&d>c))return!1;var h=u.get(e),p=u.get(t);if(h&&p)return h==t&&p==e;var f=-1,m=!0,g=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++f<c;){var v=e[f],y=t[f];if(a)var b=l?a(y,v,f,t,e,u):a(v,y,f,e,t,u);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!i(t,function(e,t){if(!o(g,t)&&(v===e||s(v,e,r,a,u)))return g.push(t)})){m=!1;break}}else if(!(v===y||s(v,y,r,a,u))){m=!1;break}}return u.delete(e),u.delete(t),m}},11491:function(e,t,r){var n=r(50857),i=r(79162),o=r(41225),a=r(74871),s=r(75179),u=r(16909),l=n?n.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,r,n,l,d,h){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var f=1&n;if(p||(p=u),e.size!=t.size&&!f)break;var m=h.get(e);if(m)return m==t;n|=2,h.set(e,t);var g=a(p(e),p(t),n,l,d,h);return h.delete(e),g;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},17416:function(e,t,r){var n=r(13483),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,s){var u=1&r,l=n(e),c=l.length;if(c!=n(t).length&&!u)return!1;for(var d=c;d--;){var h=l[d];if(!(u?h in t:i.call(t,h)))return!1}var p=s.get(e),f=s.get(t);if(p&&f)return p==t&&f==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=u;++d<c;){var v=e[h=l[d]],y=t[h];if(o)var b=u?o(y,v,h,t,e,s):o(v,y,h,e,t,s);if(!(void 0===b?v===y||a(v,y,r,o,s):b)){m=!1;break}g||(g="constructor"==h)}if(m&&!g){var w=e.constructor,k=t.constructor;w!=k&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof k&&k instanceof k)&&(m=!1)}return s.delete(e),s.delete(t),m}},29097:function(e,t,r){var n=r(35676),i=r(43114),o=r(75251);e.exports=function(e){return o(i(e,void 0,n),e+"")}},51242:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},13483:function(e,t,r){var n=r(1897),i=r(80633),o=r(90249);e.exports=function(e){return n(e,o,i)}},76939:function(e,t,r){var n=r(1897),i=r(12680),o=r(18582);e.exports=function(e){return n(e,o,i)}},27937:function(e,t,r){var n=r(98304);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},49882:function(e,t,r){var n=r(28792),i=r(90249);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,n(a)]}return t}},38761:function(e,t,r){var n=r(6840),i=r(98109);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},47353:function(e,t,r){var n=r(60241)(Object.getPrototypeOf,Object);e.exports=n},62107:function(e,t,r){var n=r(50857),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},80633:function(e,t,r){var n=r(67552),i=r(30981),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:n(a(e=Object(e)),function(t){return o.call(e,t)})}:i;e.exports=s},12680:function(e,t,r){var n=r(65067),i=r(47353),o=r(80633),a=r(30981),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:a;e.exports=s},70940:function(e,t,r){var n=r(39515),i=r(10326),o=r(52760),a=r(2143),s=r(93215),u=r(53366),l=r(87035),c="[object Map]",d="[object Promise]",h="[object Set]",p="[object WeakMap]",f="[object DataView]",m=l(n),g=l(i),v=l(o),y=l(a),b=l(s),w=u;(n&&w(new n(new ArrayBuffer(1)))!=f||i&&w(new i)!=c||o&&w(o.resolve())!=d||a&&w(new a)!=h||s&&w(new s)!=p)&&(w=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case m:return f;case g:return c;case v:return d;case y:return h;case b:return p}return t}),e.exports=w},98109:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1369:function(e,t,r){var n=r(17297),i=r(79631),o=r(86152),a=r(39045),s=r(61158),u=r(33812);e.exports=function(e,t,r){t=n(t,e);for(var l=-1,c=t.length,d=!1;++l<c;){var h=u(t[l]);if(!(d=null!=e&&r(e,h)))break;e=e[h]}return d||++l!=c?d:!!(c=null==e?0:e.length)&&s(c)&&a(h,c)&&(o(e)||i(e))}},33880:function(e){var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},83559:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},52118:function(e,t,r){var n=r(99191);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},96909:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},98138:function(e,t,r){var n=r(99191),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},4174:function(e,t,r){var n=r(99191),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},7942:function(e,t,r){var n=r(99191);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},99917:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},8222:function(e,t,r){var n=r(79882),i=r(34727),o=r(96058),a=r(70169),s=r(6190);e.exports=function(e,t,r){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return i(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},78725:function(e,t,r){var n=r(39413),i=r(47353),o=r(16001);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},95882:function(e,t,r){var n=r(50857),i=r(79631),o=r(86152),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},39045:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},82406:function(e,t,r){var n=r(41225),i=r(67878),o=r(39045),a=r(29259);e.exports=function(e,t,r){if(!a(r))return!1;var s=typeof t;return("number"==s?!!(i(r)&&o(t,r.length)):"string"==s&&t in r)&&n(r[t],e)}},21401:function(e,t,r){var n=r(86152),i=r(4795),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},98304:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},47394:function(e,t,r){var n,i=r(24019),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},16001:function(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},28792:function(e,t,r){var n=r(29259);e.exports=function(e){return e==e&&!n(e)}},3945:function(e){e.exports=function(){this.__data__=[],this.size=0}},21846:function(e,t,r){var n=r(22218),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},88028:function(e,t,r){var n=r(22218);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},72344:function(e,t,r){var n=r(22218);e.exports=function(e){return n(this.__data__,e)>-1}},94769:function(e,t,r){var n=r(22218);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},92411:function(e,t,r){var n=r(89612),i=r(80235),o=r(10326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},36417:function(e,t,r){var n=r(27937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},86928:function(e,t,r){var n=r(27937);e.exports=function(e){return n(this,e).get(e)}},79493:function(e,t,r){var n=r(27937);e.exports=function(e){return n(this,e).has(e)}},24150:function(e,t,r){var n=r(27937);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},75179:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},73477:function(e){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},77777:function(e,t,r){var n=r(30733);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},99191:function(e,t,r){var n=r(38761)(Object,"create");e.exports=n},54248:function(e,t,r){var n=r(60241)(Object.keys,Object);e.exports=n},62966:function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},4146:function(e,t,r){e=r.nmd(e);var n=r(51242),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},37157:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},60241:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},43114:function(e,t,r){var n=r(49432),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),u=Array(s);++a<s;)u[a]=o[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=o[a];return l[t]=r(u),n(e,this,l)}}},62721:function(e,t,r){var n=r(13324),i=r(39872);e.exports=function(e,t){return t.length<2?e:n(e,i(t,0,-1))}},37772:function(e,t,r){var n=r(51242),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},52434:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},52842:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},52482:function(e){e.exports=function(e){return this.__data__.has(e)}},16909:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},75251:function(e,t,r){var n=r(86532),i=r(97787)(n);e.exports=i},97787:function(e){var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},85876:function(e,t,r){var n=r(5809);e.exports=function(e,t){var r=-1,i=e.length,o=i-1;for(t=void 0===t?i:t;++r<t;){var a=n(r,o),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}},15243:function(e,t,r){var n=r(80235);e.exports=function(){this.__data__=new n,this.size=0}},72858:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},4417:function(e){e.exports=function(e){return this.__data__.get(e)}},8605:function(e){e.exports=function(e){return this.__data__.has(e)}},71418:function(e,t,r){var n=r(80235),i=r(10326),o=r(96738);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(e,t),this.size=r.size,this}},66024:function(e){e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return -1}},82302:function(e,t,r){var n=r(8589),i=r(33880),o=r(35555);e.exports=function(e){return i(e)?o(e):n(e)}},8435:function(e,t,r){var n=r(50217),i=r(33880),o=r(63344);e.exports=function(e){return i(e)?o(e):n(e)}},54452:function(e,t,r){var n=r(77777),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)}),t});e.exports=a},33812:function(e,t,r){var n=r(4795),i=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},87035:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},52153:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},35555:function(e){var t="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",i="[^"+t+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+r+"|"+n+")?",u="[\\ufe0e\\ufe0f]?",l="(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*",c=RegExp(n+"(?="+n+")|(?:"+[i+r+"?",r,o,a,"["+t+"]"].join("|")+")"+(u+s+l),"g");e.exports=function(e){for(var t=c.lastIndex=0;c.test(e);)++t;return t}},63344:function(e){var t="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",i="[^"+t+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+r+"|"+n+")?",u="[\\ufe0e\\ufe0f]?",l="(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*",c=RegExp(n+"(?="+n+")|(?:"+[i+r+"?",r,o,a,"["+t+"]"].join("|")+")"+(u+s+l),"g");e.exports=function(e){return e.match(c)||[]}},75304:function(e){var t="\ud800-\udfff",r="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="['’]",s="["+o+"]",u="["+n+"]",l="[^"+t+o+"\\d+"+r+n+i+"]",c="(?:\ud83c[\udde6-\uddff]){2}",d="[\ud800-\udbff][\udc00-\udfff]",h="["+i+"]",p="(?:"+u+"|"+l+")",f="(?:"+a+"(?:d|ll|m|re|s|t|ve))?",m="(?:"+a+"(?:D|LL|M|RE|S|T|VE))?",g="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",v="[\\ufe0e\\ufe0f]?",y="(?:\\u200d(?:"+["[^"+t+"]",c,d].join("|")+")"+v+g+")*",b="(?:"+["["+r+"]",c,d].join("|")+")"+(v+g+y),w=RegExp([h+"?"+u+"+"+f+"(?="+[s,h,"$"].join("|")+")","(?:"+h+"|"+l+")+"+m+"(?="+[s,h+p,"$"].join("|")+")",h+"?"+p+"+"+f,h+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",b].join("|"),"g");e.exports=function(e){return e.match(w)||[]}},82108:function(e,t,r){var n=r(66188),i=r(23779);e.exports=function(e){return i(n(e).toLowerCase())}},27875:function(e,t,r){var n=r(14034),i=r(7642);e.exports=function(e,t,r){return void 0===r&&(r=t,t=void 0),void 0!==r&&(r=(r=i(r))==r?r:0),void 0!==t&&(t=(t=i(t))==t?t:0),n(i(e),t,r)}},54004:function(e,t,r){var n=r(18874);e.exports=function(e){return n(e,4)}},9850:function(e,t,r){var n=r(18874);e.exports=function(e){return n(e,5)}},86874:function(e){e.exports=function(e){return function(){return e}}},54073:function(e,t,r){var n=r(29259),i=r(61100),o=r(7642),a=Math.max,s=Math.min;e.exports=function(e,t,r){var u,l,c,d,h,p,f=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var r=u,n=l;return u=l=void 0,f=t,d=e.apply(n,r)}function b(e){var r=e-p,n=e-f;return void 0===p||r>=t||r<0||g&&n>=c}function w(){var e,r,n,o=i();if(b(o))return k(o);h=setTimeout(w,(e=o-p,r=o-f,n=t-e,g?s(n,c-r):n))}function k(e){return(h=void 0,v&&u)?y(e):(u=l=void 0,d)}function x(){var e,r=i(),n=b(r);if(u=arguments,l=this,p=r,n){if(void 0===h)return f=e=p,h=setTimeout(w,t),m?y(e):d;if(g)return clearTimeout(h),h=setTimeout(w,t),y(p)}return void 0===h&&(h=setTimeout(w,t)),d}return t=o(t)||0,n(r)&&(m=!!r.leading,c=(g="maxWait"in r)?a(o(r.maxWait)||0,t):c,v="trailing"in r?!!r.trailing:v),x.cancel=function(){void 0!==h&&clearTimeout(h),f=0,u=p=l=h=void 0},x.flush=function(){return void 0===h?d:k(i())},x}},41225:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},12982:function(e,t,r){var n=r(21359),i=r(68286),o=r(38101),a=Math.max;e.exports=function(e,t,r){var s=null==e?0:e.length;if(!s)return -1;var u=null==r?0:o(r);return u<0&&(u=a(s+u,0)),n(e,i(t,3),u)}},35838:function(e,t,r){var n=r(62034),i=r(16760);e.exports=function(e,t){return n(i(e,t),1)}},35676:function(e,t,r){var n=r(62034);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},72579:function(e,t,r){var n=r(13324);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},3440:function(e,t,r){var n=r(13940),i=r(36740),o=Object.prototype.hasOwnProperty,a=i(function(e,t,r){o.call(e,r)?e[r].push(t):n(e,r,[t])});e.exports=a},93352:function(e,t,r){var n=r(32726),i=r(1369);e.exports=function(e,t){return null!=e&&i(e,t,n)}},95041:function(e,t,r){var n=r(20187),i=r(1369);e.exports=function(e,t){return null!=e&&i(e,t,n)}},23059:function(e){e.exports=function(e){return e}},93493:function(e,t,r){var n=r(77832),i=r(38101),o=Math.max;e.exports=function(e,t,r){var a=null==e?0:e.length;if(!a)return -1;var s=null==r?0:i(r);return s<0&&(s=o(a+s,0)),n(e,t,s)}},79631:function(e,t,r){var n=r(15183),i=r(15125),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},86152:function(e){var t=Array.isArray;e.exports=t},67878:function(e,t,r){var n=r(61049),i=r(61158);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},93746:function(e,t,r){var n=r(67878),i=r(15125);e.exports=function(e){return i(e)&&n(e)}},73226:function(e,t,r){e=r.nmd(e);var n=r(37772),i=r(36330),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,u=s?s.isBuffer:void 0;e.exports=u||i},18149:function(e,t,r){var n=r(88746);e.exports=function(e,t){return n(e,t)}},61049:function(e,t,r){var n=r(53366),i=r(29259);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},61158:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},4714:function(e,t,r){var n=r(74511),i=r(47826),o=r(4146),a=o&&o.isMap,s=a?i(a):n;e.exports=s},55461:function(e,t,r){var n=r(37036),i=r(49882);e.exports=function(e,t,r){return r="function"==typeof r?r:void 0,n(e,t,i(t),r)}},1842:function(e){e.exports=function(e){return null==e}},29259:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},97030:function(e,t,r){var n=r(53366),i=r(47353),o=r(15125),a=Object.prototype,s=Function.prototype.toString,u=a.hasOwnProperty,l=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==l}},40859:function(e,t,r){var n=r(24333),i=r(47826),o=r(4146),a=o&&o.isRegExp,s=a?i(a):n;e.exports=s},30194:function(e,t,r){var n=r(8109),i=r(47826),o=r(4146),a=o&&o.isSet,s=a?i(a):n;e.exports=s},4795:function(e,t,r){var n=r(53366),i=r(15125);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},77598:function(e,t,r){var n=r(35522),i=r(47826),o=r(4146),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},87622:function(e,t,r){var n=r(13940),i=r(36740)(function(e,t,r){n(e,r,t)});e.exports=i},90249:function(e,t,r){var n=r(1634),i=r(86411),o=r(67878);e.exports=function(e){return o(e)?n(e):i(e)}},18582:function(e,t,r){var n=r(1634),i=r(18390),o=r(67878);e.exports=function(e){return o(e)?n(e,!0):i(e)}},56974:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},16760:function(e,t,r){var n=r(50343),i=r(68286),o=r(93401),a=r(86152);e.exports=function(e,t){return(a(e)?n:o)(e,i(t,3))}},71644:function(e,t,r){var n=r(2229),i=r(84134),o=r(23059);e.exports=function(e){return e&&e.length?n(e,o,i):void 0}},30733:function(e,t,r){var n=r(96738);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},98537:function(e,t,r){var n=r(84565),i=r(97263)(function(e,t,r){n(e,t,r)});e.exports=i},34291:function(e){e.exports=function(){}},61100:function(e,t,r){var n=r(37772);e.exports=function(){return n.Date.now()}},17620:function(e,t,r){var n=r(50343),i=r(18874),o=r(29078),a=r(17297),s=r(752),u=r(48642),l=r(29097),c=r(76939),d=l(function(e,t){var r={};if(null==e)return r;var l=!1;t=n(t,function(t){return t=a(t,e),l||(l=t.length>1),t}),s(e,c(e),r),l&&(r=i(r,7,u));for(var d=t.length;d--;)o(r,t[d]);return r});e.exports=d},34498:function(e,t,r){var n=r(23813),i=r(86152);e.exports=function(e,t,r,o){return null==e?[]:(i(t)||(t=null==t?[]:[t]),i(r=o?void 0:r)||(r=null==r?[]:[r]),n(e,t,r))}},65798:function(e,t,r){var n=r(20256),i=r(82952),o=r(21401),a=r(33812);e.exports=function(e){return o(e)?n(a(e)):i(e)}},2284:function(e,t,r){var n=r(36060)(r(78911));e.exports=n},78911:function(e,t,r){var n=r(45169);e.exports=function(e,t){return e&&e.length&&t&&t.length?n(e,t):e}},62349:function(e,t,r){var n=r(5809),i=r(82406),o=r(5707),a=parseFloat,s=Math.min,u=Math.random;e.exports=function(e,t,r){if(r&&"boolean"!=typeof r&&i(e,t,r)&&(t=r=void 0),void 0===r&&("boolean"==typeof t?(r=t,t=void 0):"boolean"==typeof e&&(r=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=o(e),void 0===t?(t=e,e=0):t=o(t)),e>t){var l=e;e=t,t=l}if(r||e%1||t%1){var c=u();return s(e+c*(t-e+a("1e-"+((c+"").length-1))),t)}return n(e,t)}},2689:function(e,t,r){var n=r(82941)();e.exports=n},68015:function(e,t,r){var n=r(67320)("round");e.exports=n},4742:function(e,t,r){var n=r(33977),i=r(46543),o=r(86152);e.exports=function(e){return(o(e)?n:i)(e)}},16765:function(e,t,r){var n=r(82857);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},46152:function(e,t,r){var n=r(69918),i=r(12682),o=r(86152);e.exports=function(e){return(o(e)?n:i)(e)}},829:function(e,t,r){var n=r(62034),i=r(23813),o=r(36060),a=r(82406),s=o(function(e,t){if(null==e)return[];var r=t.length;return r>1&&a(e,t[0],t[1])?t=[]:r>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,n(t,1),[])});e.exports=s},30981:function(e){e.exports=function(){return[]}},36330:function(e){e.exports=function(){return!1}},12436:function(e,t,r){var n=r(54073),i=r(29259);e.exports=function(e,t,r){var o=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:o,maxWait:t,trailing:a})}},5707:function(e,t,r){var n=r(7642),i=1/0;e.exports=function(e){return e?(e=n(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},38101:function(e,t,r){var n=r(5707);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},7642:function(e,t,r){var n=r(51704),i=r(29259),o=r(4795),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=u.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):s.test(e)?a:+e}},63329:function(e,t,r){var n=r(752),i=r(18582);e.exports=function(e){return n(e,i(e))}},66188:function(e,t,r){var n=r(1054);e.exports=function(e){return null==e?"":n(e)}},36585:function(e,t,r){var n=r(1054),i=r(23895),o=r(33880),a=r(29259),s=r(40859),u=r(82302),l=r(8435),c=r(38101),d=r(66188),h=/\w*$/;e.exports=function(e,t){var r=30,p="...";if(a(t)){var f="separator"in t?t.separator:f;r="length"in t?c(t.length):r,p="omission"in t?n(t.omission):p}var m=(e=d(e)).length;if(o(e)){var g=l(e);m=g.length}if(r>=m)return e;var v=r-u(p);if(v<1)return p;var y=g?i(g,0,v).join(""):e.slice(0,v);if(void 0===f)return y+p;if(g&&(v+=y.length-v),s(f)){if(e.slice(v).search(f)){var b,w=y;for(f.global||(f=RegExp(f.source,d(h.exec(f))+"g")),f.lastIndex=0;b=f.exec(w);)var k=b.index;y=y.slice(0,void 0===k?v:k)}}else if(e.indexOf(n(f),v)!=v){var x=y.lastIndexOf(f);x>-1&&(y=y.slice(0,x))}return y+p}},75652:function(e,t,r){var n=r(67326);e.exports=function(e){return e&&e.length?n(e):[]}},84636:function(e,t,r){var n=r(68286),i=r(67326);e.exports=function(e,t){return e&&e.length?i(e,n(t,2)):[]}},17195:function(e,t,r){var n=r(29078);e.exports=function(e,t){return null==e||n(e,t)}},23779:function(e,t,r){var n=r(83126)("toUpperCase");e.exports=n},98346:function(e,t,r){var n=r(50753),i=r(90249);e.exports=function(e){return null==e?[]:n(e,i(e))}},67304:function(e,t,r){var n=r(85246),i=r(36060),o=r(93746),a=i(function(e,t){return o(e)?n(e,t):[]});e.exports=a},11618:function(e,t,r){var n=r(45981),i=r(83559),o=r(66188),a=r(75304);e.exports=function(e,t,r){return(e=o(e),void 0===(t=r?void 0:t))?i(e)?a(e):n(e):e.match(t)||[]}},53207:function(e,t,r){var n=r(96570);n.prototype.formulaEval=function(){"use strict";for(var e,t,r,n=[],i=this.value,o=0;o<i.length;o++)1===i[o].type||3===i[o].type?n.push({value:3===i[o].type?i[o].show:i[o].value,type:1}):13===i[o].type?n.push({value:i[o].show,type:1}):0===i[o].type?n[n.length-1]={value:i[o].show+("-"!=i[o].show?"(":"")+n[n.length-1].value+("-"!=i[o].show?")":""),type:0}:7===i[o].type?n[n.length-1]={value:(1!=n[n.length-1].type?"(":"")+n[n.length-1].value+(1!=n[n.length-1].type?")":"")+i[o].show,type:7}:10===i[o].type?(e=n.pop(),t=n.pop(),"P"===i[o].show||"C"===i[o].show?n.push({value:"<sup>"+t.value+"</sup>"+i[o].show+"<sub>"+e.value+"</sub>",type:10}):n.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+"<sup>"+e.value+"</sup>",type:1})):2===i[o].type||9===i[o].type?(e=n.pop(),t=n.pop(),n.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+i[o].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:i[o].type})):12===i[o].type&&(e=n.pop(),t=n.pop(),r=n.pop(),n.push({value:i[o].show+"("+r.value+","+t.value+","+e.value+")",type:12}));return n[0].value},e.exports=n},66655:function(e,t,r){"use strict";var n=r(72346);function i(e,t){for(var r=0;r<e.length;r++)e[r]+=t;return e}for(var o=[{token:"sin",show:"sin",type:0,value:n.math.sin},{token:"cos",show:"cos",type:0,value:n.math.cos},{token:"tan",show:"tan",type:0,value:n.math.tan},{token:"pi",show:"&pi;",type:3,value:"PI"},{token:"(",show:"(",type:4,value:"("},{token:")",show:")",type:5,value:")"},{token:"P",show:"P",type:10,value:n.math.P},{token:"C",show:"C",type:10,value:n.math.C},{token:" ",show:" ",type:14,value:" ".anchor},{token:"asin",show:"asin",type:0,value:n.math.asin},{token:"acos",show:"acos",type:0,value:n.math.acos},{token:"atan",show:"atan",type:0,value:n.math.atan},{token:"7",show:"7",type:1,value:"7"},{token:"8",show:"8",type:1,value:"8"},{token:"9",show:"9",type:1,value:"9"},{token:"int",show:"Int",type:0,value:Math.floor},{token:"cosh",show:"cosh",type:0,value:n.math.cosh},{token:"acosh",show:"acosh",type:0,value:n.math.acosh},{token:"ln",show:" ln",type:0,value:Math.log},{token:"^",show:"^",type:10,value:Math.pow},{token:"root",show:"root",type:0,value:Math.sqrt},{token:"4",show:"4",type:1,value:"4"},{token:"5",show:"5",type:1,value:"5"},{token:"6",show:"6",type:1,value:"6"},{token:"/",show:"&divide;",type:2,value:n.math.div},{token:"!",show:"!",type:7,value:n.math.fact},{token:"tanh",show:"tanh",type:0,value:n.math.tanh},{token:"atanh",show:"atanh",type:0,value:n.math.atanh},{token:"Mod",show:" Mod ",type:2,value:n.math.mod},{token:"1",show:"1",type:1,value:"1"},{token:"2",show:"2",type:1,value:"2"},{token:"3",show:"3",type:1,value:"3"},{token:"*",show:"&times;",type:2,value:n.math.mul},{token:"sinh",show:"sinh",type:0,value:n.math.sinh},{token:"asinh",show:"asinh",type:0,value:n.math.asinh},{token:"e",show:"e",type:3,value:"E"},{token:"log",show:" log",type:0,value:n.math.log},{token:"0",show:"0",type:1,value:"0"},{token:".",show:".",type:6,value:"."},{token:"+",show:"+",type:9,value:n.math.add},{token:"-",show:"-",type:9,value:n.math.sub},{token:",",show:",",type:11,value:","},{token:"Sigma",show:"&Sigma;",type:12,value:n.math.sigma},{token:"n",show:"n",type:13,value:"n"},{token:"Pi",show:"&Pi;",type:12,value:n.math.Pi},{token:"pow",show:"pow",type:8,value:Math.pow,numberOfArguments:2},{token:"&",show:"&",type:9,value:n.math.and}],a={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0,14:-1,15:11},s=0;s<o.length;s++)o[s].precedence=a[o[s].type];var u={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0,15:!0},l={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0,15:!0},c={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0,15:!0},d={},h={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0,15:!0},p={1:!0},f=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function m(e,t){for(var r=0;r<t.length;r++)if(t[r].token===e)return r;return -1}n.tokenTypes={FUNCTION_WITH_ONE_ARG:0,NUMBER:1,BINARY_OPERATOR_HIGH_PRECENDENCE:2,CONSTANT:3,OPENING_PARENTHESIS:4,CLOSING_PARENTHESIS:5,DECIMAL:6,POSTFIX_FUNCTION_WITH_ONE_ARG:7,FUNCTION_WITH_N_ARGS:8,BINARY_OPERATOR_LOW_PRECENDENCE:9,BINARY_OPERATOR_PERMUTATION:10,COMMA:11,EVALUATED_FUNCTION:12,EVALUATED_FUNCTION_PARAMETER:13,SPACE:14},n.addToken=function(e){for(var t=0;t<e.length;t++){var r=e[t].token.length,i=-1;e[t].type===n.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===e[t].numberOfArguments&&(e[t].numberOfArguments=2),f[r]=f[r]||[];for(var s=0;s<f[r].length;s++)if(e[t].token===f[r][s]){i=m(f[r][s],o);break}-1===i?(o.push(e[t]),e[t].precedence=a[e[t].type],f.length<=e[t].token.length&&(f[e[t].token.length]=[]),f[e[t].token.length].push(e[t].token)):(o[i]=e[t],e[t].precedence=a[e[t].type])}};var g={value:n.math.changeSign,type:0,pre:21,show:"-"},v={value:")",show:")",type:5,pre:0},y={value:"(",type:4,pre:0,show:"("};n.lex=function(e,t){var r=[y],a=[],s=u,b=0,w=d,k="";void 0!==t&&n.addToken(t);var x={},_=function(e){for(var t,r,i,a=[],s=e.length,u=0;u<s;u++)if(!(u<s-1)||" "!==e[u]||" "!==e[u+1]){for(t="",r=e.length-u>f.length-2?f.length-1:e.length-u;r>0;r--)if(void 0!==f[r])for(i=0;i<f[r].length;i++)(function(e,t,r,n){for(var i=0;i<n;i++)if(e[r+i]!==t[i])return!1;return!0})(e,f[r][i],u,r)&&(t=f[r][i],i=f[r].length,r=0);if(u+=t.length-1,""===t)throw new n.Exception("Can't understand after "+e.slice(u));a.push(o[m(t,o)])}return a}(e);for(S=0;S<_.length;S++){var S,E,D=_[S];if(14===D.type){if(S>0&&S<_.length-1&&1===_[S+1].type&&(1===_[S-1].type||6===_[S-1].type))throw new n.Exception("Unexpected Space");continue}var C=D.token,j=D.type,O=D.value,T=D.precedence,A=D.show,P=r[r.length-1];for(E=a.length;E--&&0===a[E];)if(-1!==[0,2,3,4,5,9,11,12,13].indexOf(j)){if(!0!==s[j])throw new n.Exception(C+" is not allowed after "+k);r.push(v),s=l,w=h,a.pop()}if(!0!==s[j])throw new n.Exception(C+" is not allowed after "+k);if(!0===w[j]&&(j=2,O=n.math.mul,A="&times;",T=3,S-=1),x={value:O,type:j,pre:T,show:A,numberOfArguments:D.numberOfArguments},0===j)s=u,w=d,i(a,2),r.push(x),4!==_[S+1].type&&(r.push(y),a.push(2));else if(1===j)1===P.type?(P.value+=O,i(a,1)):r.push(x),s=l,w=c;else if(2===j)s=u,w=d,i(a,2),r.push(x);else if(3===j)r.push(x),s=l,w=h;else if(4===j)i(a,1),b++,s=u,w=d,r.push(x);else if(5===j){if(!b)throw new n.Exception("Closing parenthesis are more than opening one, wait What!!!");b--,s=l,w=h,r.push(x),i(a,1)}else if(6===j){if(P.hasDec)throw new n.Exception("Two decimals are not allowed in one number");1!==P.type&&(P={value:0,type:1,pre:0},r.push(P)),s=p,i(a,1),w=d,P.value+=O,P.hasDec=!0}else 7===j&&(s=l,w=h,i(a,1),r.push(x));8===j?(s=u,w=d,i(a,D.numberOfArguments+2),r.push(x),4!==_[S+1].type&&(r.push(y),a.push(D.numberOfArguments+2))):9===j?(9===P.type?P.value===n.math.add?(P.value=O,P.show=A,i(a,1)):P.value===n.math.sub&&"-"===A&&(P.value=n.math.add,P.show="+",i(a,1)):5!==P.type&&7!==P.type&&1!==P.type&&3!==P.type&&13!==P.type?"-"===C&&(s=u,w=d,i(a,2).push(2),r.push(g),r.push(y)):(r.push(x),i(a,2)),s=u,w=d):10===j?(s=u,w=d,i(a,2),r.push(x)):11===j?(s=u,w=d,r.push(x)):12===j?(s=u,w=d,i(a,6),r.push(x),4!==_[S+1].type&&(r.push(y),a.push(6))):13===j&&(s=l,w=h,r.push(x)),i(a,-1),k=C}for(E=a.length;E--;)r.push(v);if(!0!==s[5])throw new n.Exception("complete the expression");for(;b--;)r.push(v);return r.push(v),new n(r)},e.exports=n},72346:function(e){"use strict";var t=function(e){this.value=e};t.math={isDegree:!0,acos:function(e){return t.math.isDegree?180/Math.PI*Math.acos(e):Math.acos(e)},add:function(e,t){return e+t},asin:function(e){return t.math.isDegree?180/Math.PI*Math.asin(e):Math.asin(e)},atan:function(e){return t.math.isDegree?180/Math.PI*Math.atan(e):Math.atan(e)},acosh:function(e){return Math.log(e+Math.sqrt(e*e-1))},asinh:function(e){return Math.log(e+Math.sqrt(e*e+1))},atanh:function(e){return Math.log((1+e)/(1-e))},C:function(e,r){var n=1,i=e-r,o=r;o<i&&(o=i,i=r);for(var a=o+1;a<=e;a++)n*=a;return n/t.math.fact(i)},changeSign:function(e){return-e},cos:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.cos(e)},cosh:function(e){return(Math.pow(Math.E,e)+Math.pow(Math.E,-1*e))/2},div:function(e,t){return e/t},fact:function(e){if(e%1!=0)return"NaN";for(var t=1,r=2;r<=e;r++)t*=r;return t},inverse:function(e){return 1/e},log:function(e){return Math.log(e)/Math.log(10)},mod:function(e,t){return e%t},mul:function(e,t){return e*t},P:function(e,t){for(var r=1,n=Math.floor(e)-Math.floor(t)+1;n<=Math.floor(e);n++)r*=n;return r},Pi:function(e,t,r){for(var n=1,i=e;i<=t;i++)n*=Number(r.postfixEval({n:i}));return n},pow10x:function(e){for(var t=1;e--;)t*=10;return t},sigma:function(e,t,r){for(var n=0,i=e;i<=t;i++)n+=Number(r.postfixEval({n:i}));return n},sin:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.sin(e)},sinh:function(e){return(Math.pow(Math.E,e)-Math.pow(Math.E,-1*e))/2},sub:function(e,t){return e-t},tan:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.tan(e)},tanh:function(e){return t.sinha(e)/t.cosha(e)},toRadian:function(e){return e*Math.PI/180},and:function(e,t){return e&t}},t.Exception=function(e){this.message=e},e.exports=t},84692:function(e,t,r){var n=r(66655);n.prototype.toPostfix=function(){"use strict";for(var e,t,r,i,o,a=[],s=[{value:"(",type:4,pre:0}],u=this.value,l=1;l<u.length;l++)if(1===u[l].type||3===u[l].type||13===u[l].type)1===u[l].type&&(u[l].value=Number(u[l].value)),a.push(u[l]);else if(4===u[l].type)s.push(u[l]);else if(5===u[l].type)for(;4!==(t=s.pop()).type;)a.push(t);else if(11===u[l].type){for(;4!==(t=s.pop()).type;)a.push(t);s.push(t)}else{i=(e=u[l]).pre,r=(o=s[s.length-1]).pre;var c="Math.pow"==o.value&&"Math.pow"==e.value;if(i>r)s.push(e);else{for(;r>=i&&!c||c&&i<r;)t=s.pop(),o=s[s.length-1],a.push(t),r=o.pre,c="Math.pow"==e.value&&"Math.pow"==o.value;s.push(e)}}return new n(a)},e.exports=n},96570:function(e,t,r){var n=r(84692);n.prototype.postfixEval=function(e){"use strict";(e=e||{}).PI=Math.PI,e.E=Math.E;for(var t,r,i,o=[],a=this.value,s=void 0!==e.n,u=0;u<a.length;u++)if(1===a[u].type)o.push({value:a[u].value,type:1});else if(3===a[u].type)o.push({value:e[a[u].value],type:1});else if(0===a[u].type)void 0===o[o.length-1].type?o[o.length-1].value.push(a[u]):o[o.length-1].value=a[u].value(o[o.length-1].value);else if(7===a[u].type)void 0===o[o.length-1].type?o[o.length-1].value.push(a[u]):o[o.length-1].value=a[u].value(o[o.length-1].value);else if(8===a[u].type){for(var l=[],c=0;c<a[u].numberOfArguments;c++)l.push(o.pop().value);o.push({type:1,value:a[u].value.apply(a[u],l.reverse())})}else 10===a[u].type?(t=o.pop(),void 0===(r=o.pop()).type?(r.value=r.concat(t),r.value.push(a[u]),o.push(r)):void 0===t.type?(t.unshift(r),t.push(a[u]),o.push(t)):o.push({type:1,value:a[u].value(r.value,t.value)})):2===a[u].type||9===a[u].type?(t=o.pop(),void 0===(r=o.pop()).type?((r=r.concat(t)).push(a[u]),o.push(r)):void 0===t.type?(t.unshift(r),t.push(a[u]),o.push(t)):o.push({type:1,value:a[u].value(r.value,t.value)})):12===a[u].type?(void 0!==(t=o.pop()).type&&(t=[t]),r=o.pop(),i=o.pop(),o.push({type:1,value:a[u].value(i.value,r.value,new n(t))})):13===a[u].type&&(s?o.push({value:e[a[u].value],type:3}):o.push([a[u]]));if(o.length>1)throw new n.Exception("Uncaught Syntax error");return o[0].value>1e15?"Infinity":parseFloat(o[0].value.toFixed(15))},n.eval=function(e,t,r){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0!==r?this.lex(e,t).toPostfix().postfixEval(r):void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t)},e.exports=n},34752:function(e,t,r){var n=r(78477),i=/[\/\+\.]/;e.exports=function(e,t){function r(t){var r=n(t,e,i);return r&&r.length>=2}return t?r(t.split(";")[0]):r}},5450:function(e){e.exports=function(){var e={},t=e._fns={};return e.emit=function(e,r,n,i,o,a,s){var u=function(e){for(var r=t[e]?t[e]:[],n=e.indexOf(":"),i=-1===n?[e]:[e.substring(0,n),e.substring(n+1)],o=Object.keys(t),a=0,s=o.length;a<s;a++){var u=o[a];if("*"===u&&(r=r.concat(t[u])),2===i.length&&i[0]===u){r=r.concat(t[u]);break}}return r}(e);u.length&&function(e,t,r){for(var n=0,i=t.length;n<i&&t[n];n++)t[n].event=e,t[n].apply(t[n],r)}(e,u,[r,n,i,o,a,s])},e.on=function(e,r){t[e]||(t[e]=[]),t[e].push(r)},e.once=function(t,r){this.on(t,function n(){r.apply(this,arguments),e.off(t,n)})},e.off=function(e,t){var r=[];if(e&&t)for(var n=this._fns[e],i=0,o=n?n.length:0;i<o;i++)n[i]!==t&&r.push(n[i]);r.length?this._fns[e]=r:delete this._fns[e]},e}},55870:function(e,t,r){"use strict";var n=r(88264),i=r(75228),o=r(46076),a=Object.prototype.toString;e.exports=function(e){return"[object Date]"===a.call(e)?e:"[object Number]"===a.call(e)?new Date(e<315576e5?1e3*e:e):n.is(e)?n.parse(e):i.is(e)?i.parse(e):o.is(e)?o.parse(e):new Date(e)}},75228:function(e,t){"use strict";var r=/\d{13}/;t.is=function(e){return r.test(e)},t.parse=function(e){return new Date(e=parseInt(e,10))}},46076:function(e,t){"use strict";var r=/\d{10}/;t.is=function(e){return r.test(e)},t.parse=function(e){return new Date(1e3*parseInt(e,10))}},70314:function(e,t,r){e.exports=r(94234)},26528:function(e){"use strict";let t=self.fetch.bind(self);e.exports=t,e.exports.default=e.exports},82595:function(e,t,r){"use strict";function n(e){return function(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var r in t=t||{})t.hasOwnProperty(r)&&(e[r]=t[r]);return e}({},e)}r.d(t,{Z:function(){return n}})},26505:function(e,t,r){"use strict";function n(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}r.d(t,{Z:function(){return n}})},23160:function(e,t,r){"use strict";function n(e,t){if(t.length<e)throw TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}r.d(t,{Z:function(){return n}})},49152:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(79151),i=r(18e3),o=r(23160);function a(e,t){(0,o.Z)(1,arguments);var r=t||{},a=r.locale,s=a&&a.options&&a.options.weekStartsOn,u=null==s?0:(0,n.Z)(s),l=null==r.weekStartsOn?u:(0,n.Z)(r.weekStartsOn);if(!(l>=0&&l<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=(0,i.Z)(e),d=c.getUTCDay();return c.setUTCDate(c.getUTCDate()-((d<l?7:0)+d-l)),c.setUTCHours(0,0,0,0),c}},79151:function(e,t,r){"use strict";function n(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}r.d(t,{Z:function(){return n}})},77154:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(18e3),i=r(23160);function o(e,t){(0,i.Z)(2,arguments);var r=(0,n.Z)(e),o=(0,n.Z)(t),a=r.getTime()-o.getTime();return a<0?-1:a>0?1:a}},32895:function(e,t,r){"use strict";r.d(t,{Z:function(){return A}});var n=r(18e3),i=r(23160),o=r(41173),a=r(54806);function s(e,t){for(var r=Math.abs(e).toString();r.length<t;)r="0"+r;return(e<0?"-":"")+r}var u={y:function(e,t){var r=e.getUTCFullYear(),n=r>0?r:1-r;return s("yy"===t?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):s(r+1,2)},d:function(e,t){return s(e.getUTCDate(),t.length)},h:function(e,t){return s(e.getUTCHours()%12||12,t.length)},H:function(e,t){return s(e.getUTCHours(),t.length)},m:function(e,t){return s(e.getUTCMinutes(),t.length)},s:function(e,t){return s(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length;return s(Math.floor(e.getUTCMilliseconds()*Math.pow(10,r-3)),t.length)}};function l(e){(0,i.Z)(1,arguments);var t=(0,n.Z)(e),r=t.getUTCDay();return t.setUTCDate(t.getUTCDate()-((r<1?7:0)+r-1)),t.setUTCHours(0,0,0,0),t}function c(e){(0,i.Z)(1,arguments);var t=(0,n.Z)(e),r=t.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(r+1,0,4),o.setUTCHours(0,0,0,0);var a=l(o),s=new Date(0);s.setUTCFullYear(r,0,4),s.setUTCHours(0,0,0,0);var u=l(s);return t.getTime()>=a.getTime()?r+1:t.getTime()>=u.getTime()?r:r-1}var d=r(49152),h=r(79151);function p(e,t){(0,i.Z)(1,arguments);var r=(0,n.Z)(e,t),o=r.getUTCFullYear(),a=t||{},s=a.locale,u=s&&s.options&&s.options.firstWeekContainsDate,l=null==u?1:(0,h.Z)(u),c=null==a.firstWeekContainsDate?l:(0,h.Z)(a.firstWeekContainsDate);if(!(c>=1&&c<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(o+1,0,c),p.setUTCHours(0,0,0,0);var f=(0,d.Z)(p,t),m=new Date(0);m.setUTCFullYear(o,0,c),m.setUTCHours(0,0,0,0);var g=(0,d.Z)(m,t);return r.getTime()>=f.getTime()?o+1:r.getTime()>=g.getTime()?o:o-1}var f={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function m(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),o=n%60;return 0===o?r+String(i):r+String(i)+(t||"")+s(o,2)}function g(e,t){return e%60==0?(e>0?"-":"+")+s(Math.abs(e)/60,2):v(e,t)}function v(e,t){var r=Math.abs(e);return(e>0?"-":"+")+s(Math.floor(r/60),2)+(t||"")+s(r%60,2)}var y={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){var n=e.getUTCFullYear();return r.ordinalNumber(n>0?n:1-n,{unit:"year"})}return u.y(e,t)},Y:function(e,t,r,n){var i=p(e,n),o=i>0?i:1-i;return"YY"===t?s(o%100,2):"Yo"===t?r.ordinalNumber(o,{unit:"year"}):s(o,t.length)},R:function(e,t){return s(c(e),t.length)},u:function(e,t){return s(e.getUTCFullYear(),t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return s(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return s(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return u.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return s(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,o){var a=function(e,t){(0,i.Z)(1,arguments);var r=(0,n.Z)(e);return Math.round(((0,d.Z)(r,t).getTime()-(function(e,t){(0,i.Z)(1,arguments);var r=t||{},n=r.locale,o=n&&n.options&&n.options.firstWeekContainsDate,a=null==o?1:(0,h.Z)(o),s=null==r.firstWeekContainsDate?a:(0,h.Z)(r.firstWeekContainsDate),u=p(e,t),l=new Date(0);return l.setUTCFullYear(u,0,s),l.setUTCHours(0,0,0,0),(0,d.Z)(l,t)})(r,t).getTime())/6048e5)+1}(e,o);return"wo"===t?r.ordinalNumber(a,{unit:"week"}):s(a,t.length)},I:function(e,t,r){var o=function(e){(0,i.Z)(1,arguments);var t=(0,n.Z)(e);return Math.round((l(t).getTime()-(function(e){(0,i.Z)(1,arguments);var t=c(e),r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),l(r)})(t).getTime())/6048e5)+1}(e);return"Io"===t?r.ordinalNumber(o,{unit:"week"}):s(o,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):u.d(e,t)},D:function(e,t,r){var o=function(e){(0,i.Z)(1,arguments);var t=(0,n.Z)(e),r=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((r-t.getTime())/864e5)+1}(e);return"Do"===t?r.ordinalNumber(o,{unit:"dayOfYear"}):s(o,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){var i=e.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return s(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){var i=e.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return s(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){var n=e.getUTCDay(),i=0===n?7:n;switch(t){case"i":return String(i);case"ii":return s(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){var n,i=e.getUTCHours();switch(n=12===i?f.noon:0===i?f.midnight:i/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){var n,i=e.getUTCHours();switch(n=i>=17?f.evening:i>=12?f.afternoon:i>=4?f.morning:f.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return u.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):u.H(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):s(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return(0===n&&(n=24),"ko"===t)?r.ordinalNumber(n,{unit:"hour"}):s(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):u.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):u.s(e,t)},S:function(e,t){return u.S(e,t)},X:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return g(i);case"XXXX":case"XX":return v(i);default:return v(i,":")}},x:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return g(i);case"xxxx":case"xx":return v(i);default:return v(i,":")}},O:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+m(i,":");default:return"GMT"+v(i,":")}},z:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+m(i,":");default:return"GMT"+v(i,":")}},t:function(e,t,r,n){return s(Math.floor((n._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,r,n){return s((n._originalDate||e).getTime(),t.length)}};function b(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function w(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var k={p:w,P:function(e,t){var r,n=e.match(/(P+)(p+)?/),i=n[1],o=n[2];if(!o)return b(e,t);switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",b(i,t)).replace("{{time}}",w(o,t))}},x=r(26505),_=["D","DD"],S=["YY","YYYY"];function E(e,t,r){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"))}var D=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,C=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,j=/^'([^]*?)'?$/,O=/''/g,T=/[a-zA-Z]/;function A(e,t,r){(0,i.Z)(2,arguments);var s=String(t),u=r||{},l=u.locale||o.Z,c=l.options&&l.options.firstWeekContainsDate,d=null==c?1:(0,h.Z)(c),p=null==u.firstWeekContainsDate?d:(0,h.Z)(u.firstWeekContainsDate);if(!(p>=1&&p<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=l.options&&l.options.weekStartsOn,m=null==f?0:(0,h.Z)(f),g=null==u.weekStartsOn?m:(0,h.Z)(u.weekStartsOn);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!l.localize)throw RangeError("locale must contain localize property");if(!l.formatLong)throw RangeError("locale must contain formatLong property");var v=(0,n.Z)(e);if(!function(e){return(0,i.Z)(1,arguments),!isNaN((0,n.Z)(e))}(v))throw RangeError("Invalid time value");var b=(0,x.Z)(v),w=(0,a.Z)(v,b),A={firstWeekContainsDate:p,weekStartsOn:g,locale:l,_originalDate:v};return s.match(C).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,k[t])(e,l.formatLong,A):e}).join("").match(D).map(function(r){if("''"===r)return"'";var n=r[0];if("'"===n)return r.match(j)[1].replace(O,"'");var i=y[n];if(i)return u.useAdditionalWeekYearTokens||-1===S.indexOf(r)||E(r,t,e),u.useAdditionalDayOfYearTokens||-1===_.indexOf(r)||E(r,t,e),i(w,r,l.localize,A);if(n.match(T))throw RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");return r}).join("")}},14292:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(77154),i=r(18e3),o=r(23160),a=r(41173),s=r(82595),u=r(26505);function l(e,t){var r,l,c,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.Z)(2,arguments);var h=d.locale||a.Z;if(!h.formatDistance)throw RangeError("locale must contain formatDistance property");var p=(0,n.Z)(e,t);if(isNaN(p))throw RangeError("Invalid time value");var f=(0,s.Z)(d);f.addSuffix=!!d.addSuffix,f.comparison=p,p>0?(r=(0,i.Z)(t),l=(0,i.Z)(e)):(r=(0,i.Z)(e),l=(0,i.Z)(t));var m=function(e,t){(0,o.Z)(2,arguments);var r=function(e,t){(0,o.Z)(2,arguments);var r=(0,i.Z)(e),n=(0,i.Z)(t);return r.getTime()-n.getTime()}(e,t)/1e3;return r>0?Math.floor(r):Math.ceil(r)}(l,r),g=Math.round((m-((0,u.Z)(l)-(0,u.Z)(r))/1e3)/60);if(g<2){if(d.includeSeconds){if(m<5)return h.formatDistance("lessThanXSeconds",5,f);if(m<10)return h.formatDistance("lessThanXSeconds",10,f);if(m<20)return h.formatDistance("lessThanXSeconds",20,f);if(m<40)return h.formatDistance("halfAMinute",null,f);else if(m<60)return h.formatDistance("lessThanXMinutes",1,f);else return h.formatDistance("xMinutes",1,f)}return 0===g?h.formatDistance("lessThanXMinutes",1,f):h.formatDistance("xMinutes",g,f)}if(g<45)return h.formatDistance("xMinutes",g,f);if(g<90)return h.formatDistance("aboutXHours",1,f);if(g<1440){var v=Math.round(g/60);return h.formatDistance("aboutXHours",v,f)}if(g<2520)return h.formatDistance("xDays",1,f);if(g<43200){var y=Math.round(g/1440);return h.formatDistance("xDays",y,f)}if(g<86400)return c=Math.round(g/43200),h.formatDistance("aboutXMonths",c,f);if((c=function(e,t){(0,o.Z)(2,arguments);var r,a=(0,i.Z)(e),s=(0,i.Z)(t),u=(0,n.Z)(a,s),l=Math.abs(function(e,t){(0,o.Z)(2,arguments);var r=(0,i.Z)(e),n=(0,i.Z)(t);return 12*(r.getFullYear()-n.getFullYear())+(r.getMonth()-n.getMonth())}(a,s));if(l<1)r=0;else{1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-u*l);var c=(0,n.Z)(a,s)===-u;(function(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e);return(function(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e);return t.setHours(23,59,59,999),t})(t).getTime()===(function(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t})(t).getTime()})((0,i.Z)(e))&&1===l&&1===(0,n.Z)(e,s)&&(c=!1),r=u*(l-Number(c))}return 0===r?0:r}(l,r))<12){var b=Math.round(g/43200);return h.formatDistance("xMonths",b,f)}var w=c%12,k=Math.floor(c/12);return w<3?h.formatDistance("aboutXYears",k,f):w<9?h.formatDistance("overXYears",k,f):h.formatDistance("almostXYears",k+1,f)}},96301:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(26505),i=r(77154),o=r(18e3),a=r(82595),s=r(41173),u=r(23160);function l(e,t){return(0,u.Z)(1,arguments),function(e,t){var r,l,c,d,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,u.Z)(2,arguments);var p=h.locale||s.Z;if(!p.formatDistance)throw RangeError("locale must contain localize.formatDistance property");var f=(0,i.Z)(e,t);if(isNaN(f))throw RangeError("Invalid time value");var m=(0,a.Z)(h);m.addSuffix=!!h.addSuffix,m.comparison=f,f>0?(r=(0,o.Z)(t),l=(0,o.Z)(e)):(r=(0,o.Z)(e),l=(0,o.Z)(t));var g=null==h.roundingMethod?"round":String(h.roundingMethod);if("floor"===g)c=Math.floor;else if("ceil"===g)c=Math.ceil;else if("round"===g)c=Math.round;else throw RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var v=l.getTime()-r.getTime(),y=v/6e4,b=(v-((0,n.Z)(l)-(0,n.Z)(r)))/6e4;if("second"===(d=null==h.unit?y<1?"second":y<60?"minute":y<1440?"hour":b<43200?"day":b<525600?"month":"year":String(h.unit))){var w=c(v/1e3);return p.formatDistance("xSeconds",w,m)}if("minute"===d){var k=c(y);return p.formatDistance("xMinutes",k,m)}if("hour"===d){var x=c(y/60);return p.formatDistance("xHours",x,m)}if("day"===d){var _=c(b/1440);return p.formatDistance("xDays",_,m)}if("month"===d){var S=c(b/43200);return 12===S&&"month"!==h.unit?p.formatDistance("xYears",1,m):p.formatDistance("xMonths",S,m)}if("year"===d){var E=c(b/525600);return p.formatDistance("xYears",E,m)}throw RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}(e,Date.now(),t)}},74820:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(26505),i=r(28484),o=r(23160),a=r(32895),s=r(41173),u=r(54806),l=r(18e3);function c(e,t,r){(0,o.Z)(2,arguments);var c,d=(0,l.Z)(e),h=(0,l.Z)(t),p=r||{},f=p.locale,m=void 0===f?s.Z:f,g=p.weekStartsOn,v=void 0===g?0:g;if(!m.localize)throw RangeError("locale must contain localize property");if(!m.formatLong)throw RangeError("locale must contain formatLong property");if(!m.formatRelative)throw RangeError("locale must contain formatRelative property");var y=function(e,t){(0,o.Z)(2,arguments);var r=(0,i.Z)(e),a=(0,i.Z)(t);return Math.round((r.getTime()-(0,n.Z)(r)-(a.getTime()-(0,n.Z)(a)))/864e5)}(d,h);if(isNaN(y))throw RangeError("Invalid time value");c=y<-6?"other":y<-1?"lastWeek":y<0?"yesterday":y<1?"today":y<2?"tomorrow":y<7?"nextWeek":"other";var b=(0,u.Z)(d,(0,n.Z)(d)),w=(0,u.Z)(h,(0,n.Z)(h)),k=m.formatRelative(c,b,w,{locale:m,weekStartsOn:v});return(0,a.Z)(d,k,{locale:m,weekStartsOn:v})}},44375:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(28484),i=r(23160);function o(e,t){(0,i.Z)(2,arguments);var r=(0,n.Z)(e),o=(0,n.Z)(t);return r.getTime()===o.getTime()}},97495:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(44375),i=r(23160);function o(e){return(0,i.Z)(1,arguments),(0,n.Z)(e,Date.now())}},85037:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(44375),i=r(38322),o=r(23160);function a(e){return(0,o.Z)(1,arguments),(0,n.Z)(e,(0,i.Z)(Date.now(),1))}},38591:function(e,t,r){"use strict";function n(e){return function(t){var r=t||{},n=r.width?String(r.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}r.d(t,{Z:function(){return n}})},23275:function(e,t,r){"use strict";function n(e){return function(t,r){var n,i=r||{};if("formatting"===(i.context?String(i.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=i.width?String(i.width):o;n=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,u=i.width?String(i.width):e.defaultWidth;n=e.values[u]||e.values[s]}return n[e.argumentCallback?e.argumentCallback(t):t]}}r.d(t,{Z:function(){return n}})},13284:function(e,t,r){"use strict";function n(e){return function(t,r){var n,i=String(t),o=r||{},a=o.width,s=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],u=i.match(s);if(!u)return null;var l=u[0],c=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth];return n="[object Array]"===Object.prototype.toString.call(c)?function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}(c,function(e){return e.test(l)}):function(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}(c,function(e){return e.test(l)}),n=e.valueCallback?e.valueCallback(n):n,{value:n=o.valueCallback?o.valueCallback(n):n,rest:i.slice(l.length)}}}r.d(t,{Z:function(){return n}})},22426:function(e,t,r){"use strict";function n(e){return function(t,r){var n=String(t),i=r||{},o=n.match(e.matchPattern);if(!o)return null;var a=o[0],s=n.match(e.parsePattern);if(!s)return null;var u=e.valueCallback?e.valueCallback(s[0]):s[0];return{value:u=i.valueCallback?i.valueCallback(u):u,rest:n.slice(a.length)}}}r.d(t,{Z:function(){return n}})},41173:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=r(38591),o={date:(0,i.Z)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},s=r(23275),u={ordinalNumber:function(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:(0,s.Z)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,s.Z)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.Z)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,s.Z)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,s.Z)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},l=r(22426),c=r(13284),d={code:"en-US",formatDistance:function(e,t,r){var i;return(r=r||{},i="string"==typeof n[e]?n[e]:1===t?n[e].one:n[e].other.replace("{{count}}",t),r.addSuffix)?r.comparison>0?"in "+i:i+" ago":i},formatLong:o,formatRelative:function(e,t,r,n){return a[e]},localize:u,match:{ordinalNumber:(0,l.Z)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.Z)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,c.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.Z)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.Z)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.Z)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},68630:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 d\xeda",other:"{{count}} d\xedas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 a\xf1o",other:"alrededor de {{count}} a\xf1os"},xYears:{one:"1 a\xf1o",other:"{{count}} a\xf1os"},overXYears:{one:"m\xe1s de 1 a\xf1o",other:"m\xe1s de {{count}} a\xf1os"},almostXYears:{one:"casi 1 a\xf1o",other:"casi {{count}} a\xf1os"}},i=r(38591),o={date:(0,i.Z)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'el' eeee 'pasado a la' LT",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'ma\xf1ana a la' p",nextWeek:"eeee 'a la' p",other:"P"},s={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'ma\xf1ana a las' p",nextWeek:"eeee 'a las' p",other:"P"},u=r(23275),l={ordinalNumber:function(e){return Number(e)+"\xba"},era:(0,u.Z)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despu\xe9s de cristo"]},defaultWidth:"wide"}),quarter:(0,u.Z)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xba trimestre","2\xba trimestre","3\xba trimestre","4\xba trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,u.Z)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:(0,u.Z)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sa"],abbreviated:["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],wide:["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"]},defaultWidth:"wide"}),dayPeriod:(0,u.Z)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},c=r(22426),d=r(13284),h={code:"es",formatDistance:function(e,t,r){var i;return(r=r||{},i="string"==typeof n[e]?n[e]:1===t?n[e].one:n[e].other.replace("{{count}}",t),r.addSuffix)?r.comparison>0?"en "+i:"hace "+i:i},formatLong:o,formatRelative:function(e,t,r,n){return 1!==t.getUTCHours()?s[e]:a[e]},localize:l,match:{ordinalNumber:(0,c.Z)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,d.Z)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,d.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,d.Z)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:(0,d.Z)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|sa)/i,abbreviated:/^(dom|lun|mar|mie|jue|vie|sab)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.Z)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},75568:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},i=r(38591),o={date:(0,i.Z)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} '\xe0' {{time}}",long:"{{date}} '\xe0' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'dernier \xe0' p",yesterday:"'hier \xe0' p",today:"'aujourd’hui \xe0' p",tomorrow:"'demain \xe0' p'",nextWeek:"eeee 'prochain \xe0' p",other:"P"},s=r(23275),u={ordinalNumber:function(e,t){var r,n=Number(e),i=String((t||{}).unit);return 0===n?n:(r="year"===i||"hour"===i||"week"===i?1===n?"\xe8re":"\xe8me":1===n?"er":"\xe8me",n+r)},era:(0,s.Z)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]},defaultWidth:"wide"}),quarter:(0,s.Z)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2\xe8me trim.","3\xe8me trim.","4\xe8me trim."],wide:["1er trimestre","2\xe8me trimestre","3\xe8me trimestre","4\xe8me trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.Z)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],wide:["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]},defaultWidth:"wide"}),day:(0,s.Z)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,s.Z)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"apr\xe8s-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’apr\xe8s-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})},l=r(22426),c=r(13284),d={code:"fr",formatDistance:function(e,t,r){var i;return(r=r||{},i="string"==typeof n[e]?n[e]:1===t?n[e].one:n[e].other.replace("{{count}}",t),r.addSuffix)?r.comparison>0?"dans "+i:"il y a "+i:i},formatLong:o,formatRelative:function(e,t,r,n){return a[e]},localize:u,match:{ordinalNumber:(0,l.Z)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.Z)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,c.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.Z)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.Z)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.Z)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},27248:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},i=r(38591),o={date:(0,i.Z)({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},s=r(23275),u={ordinalNumber:function(e,t){var r=Number(e),n=String((t||{}).unit);return"date"===n?r+"日":"year"===n?r+"年":r},era:(0,s.Z)({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:(0,s.Z)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.Z)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:(0,s.Z)({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:(0,s.Z)({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})},l=r(22426),c=r(13284),d={code:"ja",formatDistance:function(e,t,r){var i;return(r=r||{},i="string"==typeof n[e]?n[e]:1===t?r.addSuffix&&n[e].oneWithSuffix?n[e].oneWithSuffix:n[e].one:r.addSuffix&&n[e].otherWithSuffix?n[e].otherWithSuffix.replace("{{count}}",t):n[e].other.replace("{{count}}",t),r.addSuffix)?r.comparison>0?i+"後":i+"前":i},formatLong:o,formatRelative:function(e,t,r,n){return a[e]},localize:u,match:{ordinalNumber:(0,l.Z)({matchPattern:/^第?\d+(日)?(年)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.Z)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:(0,c.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四１２３４]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|１)/i,/(2|二|２)/i,/(3|三|３)/i,/(4|四|４)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.Z)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,c.Z)({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:(0,c.Z)({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},58563:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},i=r(38591),o={date:(0,i.Z)({formats:{full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},s=r(23275),u={ordinalNumber:function(e,t){var r=Number(e);switch(String((t||{}).unit)){case"minute":case"second":return r;case"date":return r+"일";default:return r+"번째"}},era:(0,s.Z)({values:{narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},defaultWidth:"wide"}),quarter:(0,s.Z)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.Z)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},defaultWidth:"wide"}),day:(0,s.Z)({values:{narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},defaultWidth:"wide"}),dayPeriod:(0,s.Z)({values:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},defaultWidth:"wide",formattingValues:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},defaultFormattingWidth:"wide"})},l=r(22426),c=r(13284),d={code:"ko",formatDistance:function(e,t,r){var i;return(r=r||{},i="string"==typeof n[e]?n[e]:1===t?n[e].one:n[e].other.replace("{{count}}",t),r.addSuffix)?r.comparison>0?i+" 후":i+" 전":i},formatLong:o,formatRelative:function(e,t,r,n){return a[e]},localize:u,match:{ordinalNumber:(0,l.Z)({matchPattern:/^(\d+)(일|번째)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.Z)({matchPatterns:{narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(bc|기원전)/i,/^(ad|서기)/i]},defaultParseWidth:"any"}),quarter:(0,c.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.Z)({matchPatterns:{narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,c.Z)({matchPatterns:{narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},defaultMatchWidth:"wide",parsePatterns:{any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},defaultParseWidth:"any"}),dayPeriod:(0,c.Z)({matchPatterns:{any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},24537:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 m\xeas",other:"cerca de {{count}} meses"},xMonths:{one:"1 m\xeas",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},i=r(38591),o={date:(0,i.Z)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} '\xe0s' {{time}}",long:"{{date}} '\xe0s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:function(e,t,r){var n=e.getUTCDay();return"'"+(0===n||6===n?"\xfaltimo":"\xfaltima")+"' eeee '\xe0s' p"},yesterday:"'ontem \xe0s' p",today:"'hoje \xe0s' p",tomorrow:"'amanh\xe3 \xe0s' p",nextWeek:"eeee '\xe0s' p",other:"P"},s=r(23275),u={ordinalNumber:function(e,t){var r=Number(e),n=String((t||{}).unit);return"week"===n||"isoWeek"===n?r+"\xaa":r+"\xba"},era:(0,s.Z)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},defaultWidth:"wide"}),quarter:(0,s.Z)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xba trimestre","2\xba trimestre","3\xba trimestre","4\xba trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.Z)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:(0,s.Z)({values:{narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","ter\xe7a","quarta","quinta","sexta","s\xe1bado"],wide:["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"]},defaultWidth:"wide"}),dayPeriod:(0,s.Z)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},defaultFormattingWidth:"wide"})},l=r(13284),c={code:"pt-BR",formatDistance:function(e,t,r){var i;return(r=r||{},i="string"==typeof n[e]?n[e]:1===t?n[e].one:n[e].other.replace("{{count}}",t),r.addSuffix)?r.comparison>0?"em "+i:"h\xe1 "+i:i},formatLong:o,formatRelative:function(e,t,r,n){var i=a[e];return"function"==typeof i?i(t,r,n):i},localize:u,match:{ordinalNumber:(0,r(22426).Z)({matchPattern:/^(\d+)[ºªo]?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,l.Z)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},defaultParseWidth:"any"}),quarter:(0,l.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,l.Z)({matchPatterns:{narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},defaultParseWidth:"any"}),day:(0,l.Z)({matchPatterns:{narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},defaultMatchWidth:"wide",parsePatterns:{short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.Z)({matchPatterns:{narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},43104:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},i=r(38591),o={date:(0,i.Z)({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a=r(49152),s=r(23160);function u(e,t,r,n){return!function(e,t,r){(0,s.Z)(2,arguments);var n=(0,a.Z)(e,r),i=(0,a.Z)(t,r);return n.getTime()===i.getTime()}(e,t,r)?e.getTime()>t.getTime()?"'下个'"+n:"'上个'"+n:n}var l={lastWeek:u,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:u,other:"PP p"},c=r(23275),d={ordinalNumber:function(e,t){var r=Number(e);switch(String((t||{}).unit)){case"date":return r.toString()+"日";case"hour":return r.toString()+"时";case"minute":return r.toString()+"分";case"second":return r.toString()+"秒";default:return"第 "+r.toString()}},era:(0,c.Z)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,c.Z)({values:{narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻钟","第二刻钟","第三刻钟","第四刻钟"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,c.Z)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,c.Z)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,c.Z)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})},h=r(22426),p=r(13284),f={code:"zh-CN",formatDistance:function(e,t,r){var i;return(r=r||{},i="string"==typeof n[e]?n[e]:1===t?n[e].one:n[e].other.replace("{{count}}",t),r.addSuffix)?r.comparison>0?i+"内":i+"前":i},formatLong:o,formatRelative:function(e,t,r,n){var i=l[e];return"function"==typeof i?i(t,r,n,"eeee p"):i},localize:d,match:{ordinalNumber:(0,h.Z)({matchPattern:/^(第\s*)?\d+(日|时|分|秒)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,p.Z)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,p.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,p.Z)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:(0,p.Z)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,p.Z)({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},16890:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},i=r(38591),o={date:(0,i.Z)({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},s=r(23275),u={ordinalNumber:function(e,t){var r=Number(e);switch(String((t||{}).unit)){case"date":return r.toString()+"日";case"hour":return r.toString()+"時";case"minute":return r.toString()+"分";case"second":return r.toString()+"秒";default:return"第 "+r.toString()}},era:(0,s.Z)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,s.Z)({values:{narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.Z)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,s.Z)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,s.Z)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultFormattingWidth:"wide"})},l=r(22426),c=r(13284),d={code:"zh-TW",formatDistance:function(e,t,r){var i;return(r=r||{},i="string"==typeof n[e]?n[e]:1===t?n[e].one:n[e].other.replace("{{count}}",t),r.addSuffix)?r.comparison>0?i+"內":i+"前":i},formatLong:o,formatRelative:function(e,t,r,n){return a[e]},localize:u,match:{ordinalNumber:(0,l.Z)({matchPattern:/^(第\s*)?\d+(日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.Z)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,c.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.Z)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:(0,c.Z)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.Z)({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},1997:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(79151),i=r(23160),o={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},a=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,s=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function l(e,t){(0,i.Z)(1,arguments);var r,l,f=t||{},m=null==f.additionalDigits?2:(0,n.Z)(f.additionalDigits);if(2!==m&&1!==m&&0!==m)throw RangeError("additionalDigits must be 0, 1 or 2");if(!("string"==typeof e||"[object String]"===Object.prototype.toString.call(e)))return new Date(NaN);var g=function(e){var t,r={},n=e.split(o.dateTimeDelimiter);if(n.length>2)return r;if(/:/.test(n[0])?(r.date=null,t=n[0]):(r.date=n[0],t=n[1],o.timeZoneDelimiter.test(r.date)&&(r.date=e.split(o.timeZoneDelimiter)[0],t=e.substr(r.date.length,e.length))),t){var i=o.timezone.exec(t);i?(r.time=t.replace(i[1],""),r.timezone=i[1]):r.time=t}return r}(e);if(g.date){var v=function(e,t){var r=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:null};var i=n[1]&&parseInt(n[1]),o=n[2]&&parseInt(n[2]);return{year:null==o?i:100*o,restDateString:e.slice((n[1]||n[2]).length)}}(g.date,m);r=function(e,t){if(null===t)return null;var r,n,i=e.match(a);if(!i)return null;var o=!!i[4],s=c(i[1]),u=c(i[2])-1,l=c(i[3]),d=c(i[4]),f=c(i[5])-1;if(o)return d>=1&&d<=53&&f>=0&&f<=6?((r=new Date(0)).setUTCFullYear(t,0,4),n=r.getUTCDay()||7,r.setUTCDate(r.getUTCDate()+((d-1)*7+f+1-n)),r):new Date(NaN);var m=new Date(0);return u>=0&&u<=11&&l>=1&&l<=(h[u]||(p(t)?29:28))&&s>=1&&s<=(p(t)?366:365)?(m.setUTCFullYear(t,u,Math.max(s,l)),m):new Date(NaN)}(v.restDateString,v.year)}if(isNaN(r)||!r)return new Date(NaN);var y=r.getTime(),b=0;if(g.time&&(isNaN(b=function(e){var t=e.match(s);if(!t)return null;var r=d(t[1]),n=d(t[2]),i=d(t[3]);return(24===r?0===n&&0===i:i>=0&&i<60&&n>=0&&n<60&&r>=0&&r<25)?36e5*r+6e4*n+1e3*i:NaN}(g.time))||null===b))return new Date(NaN);if(g.timezone){if(isNaN(l=function(e){if("Z"===e)return 0;var t=e.match(u);if(!t)return 0;var r="+"===t[1]?-1:1,n=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return i>=0&&i<=59?r*(36e5*n+6e4*i):NaN}(g.timezone)))return new Date(NaN)}else{var w=new Date(y+b),k=new Date(0);return k.setFullYear(w.getUTCFullYear(),w.getUTCMonth(),w.getUTCDate()),k.setHours(w.getUTCHours(),w.getUTCMinutes(),w.getUTCSeconds(),w.getUTCMilliseconds()),k}return new Date(y+b+l)}function c(e){return e?parseInt(e):1}function d(e){return e&&parseFloat(e.replace(",","."))||0}var h=[31,null,31,30,31,30,31,31,30,31,30,31];function p(e){return e%400==0||e%4==0&&e%100}},28484:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(18e3),i=r(23160);function o(e){(0,i.Z)(1,arguments);var t=(0,n.Z)(e);return t.setHours(0,0,0,0),t}},38322:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(79151),i=r(18e3),o=r(23160);function a(e,t){return(0,o.Z)(2,arguments),function(e,t){(0,o.Z)(2,arguments);var r=(0,i.Z)(e),a=(0,n.Z)(t);return isNaN(a)?new Date(NaN):(a&&r.setDate(r.getDate()+a),r)}(e,-(0,n.Z)(t))}},54806:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(79151),i=r(18e3),o=r(23160);function a(e,t){return(0,o.Z)(2,arguments),function(e,t){return(0,o.Z)(2,arguments),new Date((0,i.Z)(e).getTime()+(0,n.Z)(t))}(e,-(0,n.Z)(t))}},18e3:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(23160);function i(e){(0,n.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(Error().stack)),new Date(NaN))}},96798:function(e,t){"use strict";var r,n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return h},ACTION_SERVER_PATCH:function(){return l},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return p}});let a="refresh",s="navigate",u="restore",l="server-patch",c="prefetch",d="fast-refresh",h="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=r||(r={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(o=n||(n={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49056:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(65265),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64345:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});let n=r(43219),i=r(16794),o=r(52322),a=i._(r(2784)),s=n._(r(3613)),u=r(82246),l=r(96914),c=r(59789);r(37857);let d=r(65265);function h(e){return"/"===e[0]?e.slice(1):e}let p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},f=new Set,m="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",g=new Map([["default",function(e){let{config:t,src:r,width:n,quality:i}=e;return r.endsWith(".svg")&&!t.dangerouslyAllowSVG?r:(0,d.normalizePathTrailingSlash)(t.path)+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(i||75)}],["imgix",function(e){let{config:t,src:r,width:n,quality:i}=e,o=new URL(""+t.path+h(r)),a=o.searchParams;return a.set("auto",a.getAll("auto").join(",")||"format"),a.set("fit",a.get("fit")||"max"),a.set("w",a.get("w")||n.toString()),i&&a.set("q",i.toString()),o.href}],["cloudinary",function(e){let{config:t,src:r,width:n,quality:i}=e,o=["f_auto","c_limit","w_"+n,"q_"+(i||"auto")].join(",")+"/";return""+t.path+o+h(r)}],["akamai",function(e){let{config:t,src:r,width:n}=e;return""+t.path+h(r)+"?imwidth="+n}],["custom",function(e){let{src:t}=e;throw Error('Image with src "'+t+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}]]);function v(e){return void 0!==e.default}function y(e){let{config:t,src:r,unoptimized:n,layout:i,width:o,quality:a,sizes:s,loader:u}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=function(e,t,r,n){let{deviceSizes:i,allSizes:o}=e;if(n&&("fill"===r||"responsive"===r)){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=i[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t||"fill"===r||"responsive"===r?{widths:i,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,i,s),d=l.length-1;return{sizes:s||"w"!==c?s:"100vw",srcSet:l.map((e,n)=>u({config:t,src:r,quality:a,width:e})+" "+("w"===c?e:n+1)+c).join(", "),src:u({config:t,src:r,quality:a,width:l[d]})}}function b(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function w(e){var t;let r=(null==(t=e.config)?void 0:t.loader)||"default",n=g.get(r);if(n)return n(e);throw Error('Unknown "loader" found in "next.config.js". Expected: '+u.VALID_LOADERS.join(", ")+". Received: "+r)}function k(e,t,r,n,i,o){e&&e.src!==m&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentNode&&(f.add(t),"blur"===n&&o(!0),null==i?void 0:i.current)){let{naturalWidth:t,naturalHeight:r}=e;i.current({naturalWidth:t,naturalHeight:r})}}))}let x=e=>{let{imgAttributes:t,heightInt:r,widthInt:n,qualityInt:i,layout:s,className:u,imgStyle:l,blurStyle:c,isLazy:d,placeholder:h,loading:p,srcString:f,config:m,unoptimized:g,loader:v,onLoadingCompleteRef:b,setBlurComplete:w,setIntersection:x,onLoad:_,onError:S,isVisible:E,noscriptSizes:D,...C}=e;return p=d?"lazy":p,(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("img",{...C,...t,decoding:"async","data-nimg":s,className:u,style:{...l,...c},ref:(0,a.useCallback)(e=>{x(e),(null==e?void 0:e.complete)&&k(e,f,s,h,b,w)},[x,f,s,h,b,w]),onLoad:e=>{k(e.currentTarget,f,s,h,b,w),_&&_(e)},onError:e=>{"blur"===h&&w(!0),S&&S(e)}}),(d||"blur"===h)&&(0,o.jsx)("noscript",{children:(0,o.jsx)("img",{...C,loading:p,decoding:"async","data-nimg":s,style:l,className:u,...y({config:m,src:f,unoptimized:g,layout:s,width:n,quality:i,sizes:D,loader:v})})})]})};function _(e){var t;let r,{src:n,sizes:i,unoptimized:d=!1,priority:h=!1,loading:g,lazyRoot:k=null,lazyBoundary:_,className:S,quality:E,width:D,height:C,style:j,objectFit:O,objectPosition:T,onLoadingComplete:A,placeholder:P="empty",blurDataURL:R,...M}=e,F=(0,a.useContext)(c.ImageConfigContext),N=(0,a.useMemo)(()=>{let e=p||F||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[F]),I=i?"responsive":"intrinsic";"layout"in M&&(M.layout&&(I=M.layout),delete M.layout);let L=w;if("loader"in M){if(M.loader){let e=M.loader;L=t=>{let{config:r,...n}=t;return e(n)}}delete M.loader}let B="";if("object"==typeof(t=n)&&(v(t)||void 0!==t.src)){let e=v(n)?n.default:n;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(R=R||e.blurDataURL,B=e.src,(!I||"fill"!==I)&&(C=C||e.height,D=D||e.width,!e.height||!e.width))throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e))}let z=!h&&("lazy"===g||void 0===g);((n="string"==typeof n?n:B).startsWith("data:")||n.startsWith("blob:"))&&(d=!0,z=!1),f.has(n)&&(z=!1),N.unoptimized&&(d=!0);let[U,q]=(0,a.useState)(!1),[$,H,V]=(0,l.useIntersection)({rootRef:k,rootMargin:_||"200px",disabled:!z}),W=!z||H,G={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},Y={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},Z=!1,K=b(D),J=b(C),X=b(E),Q=Object.assign({},j,{position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:O,objectPosition:T}),ee="blur"!==P||U?{}:{backgroundSize:O||"cover",backgroundPosition:T||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'+R+'")'};if("fill"===I)G.display="block",G.position="absolute",G.top=0,G.left=0,G.bottom=0,G.right=0;else if(void 0!==K&&void 0!==J){let e=J/K,t=isNaN(e)?"100%":""+100*e+"%";"responsive"===I?(G.display="block",G.position="relative",Z=!0,Y.paddingTop=t):"intrinsic"===I?(G.display="inline-block",G.position="relative",G.maxWidth="100%",Z=!0,Y.maxWidth="100%",r="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27"+K+"%27%20height=%27"+J+"%27/%3e"):"fixed"===I&&(G.display="inline-block",G.position="relative",G.width=K,G.height=J)}let et={src:m,srcSet:void 0,sizes:void 0};W&&(et=y({config:N,src:n,unoptimized:d,layout:I,width:K,quality:X,sizes:i,loader:L}));let er=n,en={imageSrcSet:et.srcSet,imageSizes:et.sizes,crossOrigin:M.crossOrigin,referrerPolicy:M.referrerPolicy},ei=a.default.useLayoutEffect,eo=(0,a.useRef)(A),ea=(0,a.useRef)(n);(0,a.useEffect)(()=>{eo.current=A},[A]),ei(()=>{ea.current!==n&&(V(),ea.current=n)},[V,n]);let es={isLazy:z,imgAttributes:et,heightInt:J,widthInt:K,qualityInt:X,layout:I,className:S,imgStyle:Q,blurStyle:ee,loading:g,config:N,unoptimized:d,placeholder:P,loader:L,srcString:er,onLoadingCompleteRef:eo,setBlurComplete:q,setIntersection:$,isVisible:W,noscriptSizes:i,...M};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("span",{style:G,children:[Z?(0,o.jsx)("span",{style:Y,children:r?(0,o.jsx)("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:r}):null}):null,(0,o.jsx)(x,{...es})]}),h?(0,o.jsx)(s.default,{children:(0,o.jsx)("link",{rel:"preload",as:"image",href:et.srcSet?void 0:et.src,...en},"__nimg-"+et.src+et.srcSet+et.sizes)}):null]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91425:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let n=r(43219),i=r(52322),o=n._(r(2784)),a=r(97942),s=r(40353),u=r(73828),l=r(58244),c=r(84515),d=r(35274),h=r(31011),p=r(96914),f=r(49056),m=r(98622),g=r(96798),v=new Set;function y(e,t,r,n,i,o){if(o||(0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(v.has(i))return;v.add(i)}(async()=>o?e.prefetch(t,i):e.prefetch(t,r,n))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let w=o.default.forwardRef(function(e,t){let r,n;let{href:u,as:v,children:w,prefetch:k=null,passHref:x,replace:_,shallow:S,scroll:E,locale:D,onClick:C,onMouseEnter:j,onTouchStart:O,legacyBehavior:T=!1,...A}=e;r=w,T&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let P=o.default.useContext(d.RouterContext),R=o.default.useContext(h.AppRouterContext),M=null!=P?P:R,F=!P,N=!1!==k,I=null===k?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:L,as:B}=o.default.useMemo(()=>{if(!P){let e=b(u);return{href:e,as:v?b(v):e}}let[e,t]=(0,a.resolveHref)(P,u,!0);return{href:e,as:v?(0,a.resolveHref)(P,v):t||e}},[P,u,v]),z=o.default.useRef(L),U=o.default.useRef(B);T&&(n=o.default.Children.only(r));let q=T?n&&"object"==typeof n&&n.ref:t,[$,H,V]=(0,p.useIntersection)({rootMargin:"200px"}),W=o.default.useCallback(e=>{(U.current!==B||z.current!==L)&&(V(),U.current=B,z.current=L),$(e),q&&("function"==typeof q?q(e):"object"==typeof q&&(q.current=e))},[B,q,L,V,$]);o.default.useEffect(()=>{M&&H&&N&&y(M,L,B,{locale:D},{kind:I},F)},[B,L,H,D,N,null==P?void 0:P.locale,M,F,I]);let G={ref:W,onClick(e){T||"function"!=typeof C||C(e),T&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),M&&!e.defaultPrevented&&function(e,t,r,n,i,a,u,l,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let h=()=>{let e=null==u||u;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:a,locale:l,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})};c?o.default.startTransition(h):h()}(e,M,L,B,_,S,E,D,F)},onMouseEnter(e){T||"function"!=typeof j||j(e),T&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),M&&(N||!F)&&y(M,L,B,{locale:D,priority:!0,bypassPrefetchedCheck:!0},{kind:I},F)},onTouchStart:function(e){T||"function"!=typeof O||O(e),T&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),M&&(N||!F)&&y(M,L,B,{locale:D,priority:!0,bypassPrefetchedCheck:!0},{kind:I},F)}};if((0,l.isAbsoluteUrl)(B))G.href=B;else if(!T||x||"a"===n.type&&!("href"in n.props)){let e=void 0!==D?D:null==P?void 0:P.locale,t=(null==P?void 0:P.isLocaleDomain)&&(0,f.getDomainLocale)(B,e,null==P?void 0:P.locales,null==P?void 0:P.domainLocales);G.href=t||(0,m.addBasePath)((0,c.addLocale)(B,e,null==P?void 0:P.defaultLocale))}return T?o.default.cloneElement(n,G):(0,i.jsx)("a",{...A,...G,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96914:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(2784),i=r(88435),o="function"==typeof IntersectionObserver,a=new Map,s=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,l=u||!o,[c,d]=(0,n.useState)(!1),h=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{h.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(l||c)return;let e=h.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:o}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),a.set(r,t),t}(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[l,r,t,c,h.current]),[p,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},59246:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return s},noSSR:function(){return a}});let n=r(43219);r(52322),r(2784);let i=n._(r(84204));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let r=i.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let s=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=s?s().then(o):Promise.resolve(o(()=>null))}):(delete n.webpack,delete n.modules,a(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57604:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(43219)._(r(2784)).default.createContext(null)},84204:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let n=r(43219)._(r(2784)),i=r(57604),o=[],a=[],s=!1;function u(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class l{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function u(){if(!o){let t=new l(e,r);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!s){let e=r.webpack?r.webpack():r.modules;e&&a.push(t=>{for(let r of e)if(t.includes(r))return u()})}function c(e,t){!function(){u();let e=n.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let a=n.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),n.default.useMemo(()=>{var t;return a.loading||a.error?n.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:o.retry}):a.loaded?n.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return c.preload=()=>u(),c.displayName="LoadableComponent",n.default.forwardRef(c)}(u,e)}function d(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return d(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{d(o).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(s=!0,t());d(a,e).then(r,r)})),window.__NEXT_PRELOADREADY=c.preloadReady;let h=c},88343:function(e,t,r){"use strict";r.d(t,{w_:function(){return u}});var n=r(2784),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=n.createContext&&n.createContext(i),a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};function u(e){return function(t){return n.createElement(l,a({attr:a({},e.attr)},t),function e(t){return t&&t.map(function(t,r){return n.createElement(t.tag,a({key:r},t.attr),e(t.child))})}(e.child))}}function l(e){var t=function(t){var r,i=e.attr,o=e.size,u=e.title,l=s(e,["attr","size","title"]),c=o||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,l,{className:r,style:a(a({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),u&&n.createElement("title",null,u),e.children)};return void 0!==o?n.createElement(o.Consumer,null,function(e){return t(e)}):t(i)}},61036:function(){},65331:function(){},41779:function(){},89902:function(){},38398:function(e,t,r){!function(){var t={452:function(e){"use strict";e.exports=r(50176)}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab="//";var o={};!function(){var e,t=(e=i(452))&&"object"==typeof e&&"default"in e?e.default:e,r=/https?|ftp|gopher|file/;function n(e){"string"==typeof e&&(e=v(e));var n,i,o,a,s,u,l,c,d,h=(i=(n=e).auth,o=n.hostname,a=n.protocol||"",s=n.pathname||"",u=n.hash||"",l=n.query||"",c=!1,i=i?encodeURIComponent(i).replace(/%3A/i,":")+"@":"",n.host?c=i+n.host:o&&(c=i+(~o.indexOf(":")?"["+o+"]":o),n.port&&(c+=":"+n.port)),l&&"object"==typeof l&&(l=t.encode(l)),d=n.search||l&&"?"+l||"",a&&":"!==a.substr(-1)&&(a+=":"),n.slashes||(!a||r.test(a))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),u&&"#"!==u[0]&&(u="#"+u),d&&"?"!==d[0]&&(d="?"+d),{protocol:a,host:c,pathname:s=s.replace(/[?#]/g,encodeURIComponent),search:d=d.replace("#","%23"),hash:u});return""+h.protocol+h.host+h.pathname+h.search+h.hash}var a="http://",s=a+"w.w",u=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,l=/https?|ftp|gopher|file/;function c(e,t){var r="string"==typeof e?v(e):e;e="object"==typeof e?n(e):e;var i=v(t),o="";r.protocol&&!r.slashes&&(o=r.protocol,e=e.replace(r.protocol,""),o+="/"===t[0]||"/"===e[0]?"/":""),o&&i.protocol&&(o="",i.slashes||(o=i.protocol,t=t.replace(i.protocol,"")));var c=e.match(u);c&&!i.protocol&&(e=e.substr((o=c[1]+(c[2]||"")).length),/^\/\/[^/]/.test(t)&&(o=o.slice(0,-1)));var d=new URL(e,s+"/"),h=new URL(t,d).toString().replace(s,""),p=i.protocol||r.protocol;return p+=r.slashes||i.slashes?"//":"",!o&&p?h=h.replace(a,p):o&&(h=h.replace(a,"")),l.test(h)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==h.slice(-1)||(h=h.slice(0,-1)),o&&(h=o+("/"===h[0]?h.substr(1):h)),h}function d(){}d.prototype.parse=v,d.prototype.format=n,d.prototype.resolve=c,d.prototype.resolveObject=c;var h=/^https?|ftp|gopher|file/,p=/^(.*?)([#?].*)/,f=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,m=/^([a-z0-9.+-]*:)?\/\/\/*/i,g=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function v(e,r,i){if(void 0===r&&(r=!1),void 0===i&&(i=!1),e&&"object"==typeof e&&e instanceof d)return e;var o=(e=e.trim()).match(p);e=o?o[1].replace(/\\/g,"/")+o[2]:e.replace(/\\/g,"/"),g.test(e)&&"/"!==e.slice(-1)&&(e+="/");var a=!/(^javascript)/.test(e)&&e.match(f),u=m.test(e),l="";a&&(h.test(a[1])||(l=a[1].toLowerCase(),e=""+a[2]+a[3]),a[2]||(u=!1,h.test(a[1])?(l=a[1],e=""+a[3]):e="//"+a[3]),3!==a[2].length&&1!==a[2].length||(l=a[1],e="/"+a[3]));var c,v=(o?o[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),y=v&&v[1],b=new d,w="",k="";try{c=new URL(e)}catch(t){w=t,l||i||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(k="/",e=e.substr(1));try{c=new URL(e,s)}catch(e){return b.protocol=l,b.href=l,b}}b.slashes=u&&!k,b.host="w.w"===c.host?"":c.host,b.hostname="w.w"===c.hostname?"":c.hostname.replace(/(\[|\])/g,""),b.protocol=w?l||null:c.protocol,b.search=c.search.replace(/\\/g,"%5C"),b.hash=c.hash.replace(/\\/g,"%5C");var x=e.split("#");!b.search&&~x[0].indexOf("?")&&(b.search="?"),b.hash||""!==x[1]||(b.hash="#"),b.query=r?t.decode(c.search.substr(1)):b.search.substr(1),b.pathname=k+(a?c.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):c.pathname),"about:"===b.protocol&&"blank"===b.pathname&&(b.protocol="",b.pathname=""),w&&"/"!==e[0]&&(b.pathname=b.pathname.substr(1)),l&&!h.test(l)&&"/"!==e.slice(-1)&&"/"===b.pathname&&(b.pathname=""),b.path=b.pathname+b.search,b.auth=[c.username,c.password].map(decodeURIComponent).filter(Boolean).join(":"),b.port=c.port,y&&!b.host.endsWith(y)&&(b.host+=y,b.port=y.slice(1)),b.href=k?""+b.pathname+b.search+b.hash:n(b);var _=/^(file)/.test(b.href)?["host","hostname"]:[];return Object.keys(b).forEach(function(e){~_.indexOf(e)||(b[e]=b[e]||null)}),b}o.parse=v,o.format=n,o.resolve=c,o.resolveObject=function(e,t){return v(c(e,t))},o.Url=d}(),e.exports=o}()},15153:function(e){!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else if(47===r)break;else r=47;if(47===r){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2)){if(n.length>2){var u=n.lastIndexOf("/");if(u!==n.length-1){-1===u?(n="",i=0):i=(n=n.slice(0,u)).length-1-n.lastIndexOf("/"),o=s,a=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=s,a=0;continue}}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,s):n=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===r&&-1!==a?++a:a=-1}return n}var n={resolve:function(){for(var e,n,i="",o=!1,a=arguments.length-1;a>=-1&&!o;a--)a>=0?n=arguments[a]:(void 0===e&&(e=""),n=e),t(n),0!==n.length&&(i=n+"/"+i,o=47===n.charCodeAt(0));return(i=r(i,!o),o)?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=n.resolve(e))===(r=n.resolve(r)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,a=o-i,s=1;s<r.length&&47===r.charCodeAt(s);++s);for(var u=r.length-s,l=a<u?a:u,c=-1,d=0;d<=l;++d){if(d===l){if(u>l){if(47===r.charCodeAt(s+d))return r.slice(s+d+1);if(0===d)return r.slice(s+d)}else a>l&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var h=e.charCodeAt(i+d);if(h!==r.charCodeAt(s+d))break;47===h&&(c=d)}var p="";for(d=i+c+1;d<=o;++d)(d===o||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+r.slice(s+c):(s+=c,47===r.charCodeAt(s)&&++s,r.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(r=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return -1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,i=0,o=-1,a=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var s=r.length-1,u=-1;for(n=e.length-1;n>=0;--n){var l=e.charCodeAt(n);if(47===l){if(!a){i=n+1;break}}else -1===u&&(a=!1,u=n+1),s>=0&&(l===r.charCodeAt(s)?-1==--s&&(o=n):(s=-1,o=u))}return i===o?o=u:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){i=n+1;break}}else -1===o&&(a=!1,o=n+1);return -1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(47===u){if(!o){n=s+1;break}continue}-1===i&&(o=!1,i=s+1),46===u?-1===r?r=s:1!==a&&(a=1):-1!==r&&(a=-1)}return -1===r||-1===i||0===a||1===a&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){var t,r;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+r:t+"/"+r:r},parse:function(e){t(e);var r,n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,u=-1,l=!0,c=e.length-1,d=0;c>=r;--c){if(47===(i=e.charCodeAt(c))){if(!l){s=c+1;break}continue}-1===u&&(l=!1,u=c+1),46===i?-1===a?a=c:1!==d&&(d=1):-1!==a&&(d=-1)}return -1===a||-1===u||0===d||1===d&&a===u-1&&a===s+1?-1!==u&&(0===s&&o?n.base=n.name=e.slice(1,u):n.base=n.name=e.slice(s,u)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,u)):(n.name=e.slice(s,a),n.base=e.slice(s,u)),n.ext=e.slice(a,u)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i=n(114);e.exports=i}()},50176:function(e){!function(){"use strict";var t={815:function(e){e.exports=function(e,r,n,i){r=r||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(r);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var l=0;l<u;++l){var c,d,h,p,f=e[l].replace(a,"%20"),m=f.indexOf(n);(m>=0?(c=f.substr(0,m),d=f.substr(m+1)):(c=f,d=""),h=decodeURIComponent(c),p=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(o,h))?t(o[h])?o[h].push(p):o[h]=[o[h],p]:o[h]=p}return o};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,a,s){return(o=o||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?n(i(e),function(i){var s=encodeURIComponent(t(i))+a;return r(e[i])?n(e[i],function(e){return s+encodeURIComponent(t(e))}).join(o):s+encodeURIComponent(t(e[i]))}).join(o):s?encodeURIComponent(t(s))+a+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i={};i.decode=i.parse=n(815),i.encode=i.stringify=n(577),e.exports=i}()},25237:function(e,t,r){e.exports=r(59246)},97729:function(e,t,r){e.exports=r(3613)},38421:function(e,t,r){e.exports=r(64345)},39097:function(e,t,r){e.exports=r(91425)},5632:function(e,t,r){e.exports=r(9351)},70325:function(e){function t(e){return function(t,r,n,o){var a,s=o&&"function"==typeof o.normalizer?o.normalizer:i;r=s(r);for(var u=!1;!u;)!function(){for(a in t){var e=s(a);if(0===r.indexOf(e)){var n=r.substr(e.length);if("."===n.charAt(0)||0===n.length){r=n.substr(1);var i=t[a];if(null==i||!r.length){u=!0;return}t=i;return}}}a=void 0,u=!0}();if(a)return null==t?t:e(t,a,n)}}function r(e,t){return e.hasOwnProperty(t)&&delete e[t],e}function n(e,t,r){return e.hasOwnProperty(t)&&(e[t]=r),e}function i(e){return e.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}e.exports=t(function(e,t){if(e.hasOwnProperty(t))return e[t]}),e.exports.find=e.exports,e.exports.replace=function(e,r,i,o){return t(n).call(this,e,r,i,o),e},e.exports.del=function(e,n,i){return t(r).call(this,e,n,null,i),e}},99500:function(e,t,r){var n="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=n&&i&&"function"==typeof i.get?i.get:null,a=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&"function"==typeof u.get?u.get:null,c=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,k=String.prototype.toLowerCase,x=RegExp.prototype.test,_=Array.prototype.concat,S=Array.prototype.join,E=Array.prototype.slice,D=Math.floor,C="function"==typeof BigInt?BigInt.prototype.valueOf:null,j=Object.getOwnPropertySymbols,O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T?"object":"symbol")?Symbol.toStringTag:null,P=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-D(-e):D(e);if(n!==e){var i=String(n),o=y.call(t,i.length+1);return b.call(i,r,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var F=r(53260).custom,N=F&&B(F)?F:null;function I(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function L(e){return"[object Array]"===q(e)&&(!A||!("object"==typeof e&&A in e))}function B(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!O)return!1;try{return O.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,n,i){var s=r||{};if(U(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(U(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!U(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(U(s,"indent")&&null!==s.indent&&"	"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(U(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,r){if(t.length>r.maxStringLength){var n=t.length-r.maxStringLength;return e(y.call(t,0,r.maxStringLength),r)+"... "+n+" more character"+(n>1?"s":"")}return I(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,H),"single",r)}(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return m?M(t,w):w}if("bigint"==typeof t){var x=String(t)+"n";return m?M(t,x):x}var D=void 0===s.depth?5:s.depth;if(void 0===n&&(n=0),n>=D&&D>0&&"object"==typeof t)return L(t)?"[Array]":"[Object]";var j=function(e,t){var r;if("	"===e.indent)r="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=S.call(Array(e.indent+1)," ")}return{base:r,prev:S.call(Array(t+1),r)}}(s,n);if(void 0===i)i=[];else if($(i,t)>=0)return"[Circular]";function F(t,r,o){if(r&&(i=E.call(i)).push(r),o){var a={depth:s.depth};return U(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,n+1,i)}return e(t,s,n+1,i)}if("function"==typeof t){var z=function(e){if(e.name)return e.name;var t=v.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),K=Z(t,F);return"[Function"+(z?": "+z:" (anonymous)")+"]"+(K.length>0?" { "+S.call(K,", ")+" }":"")}if(B(t)){var J=T?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!=typeof t||T?J:V(J)}if(t&&"object"==typeof t&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)){for(var X,Q="<"+k.call(String(t.nodeName)),ee=t.attributes||[],et=0;et<ee.length;et++)Q+=" "+ee[et].name+"="+I((X=ee[et].value,b.call(String(X),/"/g,"&quot;")),"double",s);return Q+=">",t.childNodes&&t.childNodes.length&&(Q+="..."),Q+="</"+k.call(String(t.nodeName))+">"}if(L(t)){if(0===t.length)return"[]";var er=Z(t,F);return j&&!function(e){for(var t=0;t<e.length;t++)if($(e[t],"\n")>=0)return!1;return!0}(er)?"["+Y(er,j)+"]":"[ "+S.call(er,", ")+" ]"}if("[object Error]"===q(t)&&(!A||!("object"==typeof t&&A in t))){var en=Z(t,F);return"cause"in t&&!P.call(t,"cause")?"{ ["+String(t)+"] "+S.call(_.call("[cause]: "+F(t.cause),en),", ")+" }":0===en.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(en,", ")+" }"}if("object"==typeof t&&u){if(N&&"function"==typeof t[N])return t[N]();if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ei=[];return a.call(t,function(e,r){ei.push(F(r,t,!0)+" => "+F(e,t))}),G("Map",o.call(t),ei,j)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var eo=[];return c.call(t,function(e){eo.push(F(e,t))}),G("Set",l.call(t),eo,j)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return W("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return W("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return W("WeakRef");if("[object Number]"===q(t)&&(!A||!("object"==typeof t&&A in t)))return V(F(Number(t)));if(function(e){if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(t))return V(F(C.call(t)));if("[object Boolean]"===q(t)&&(!A||!("object"==typeof t&&A in t)))return V(f.call(t));if("[object String]"===q(t)&&(!A||!("object"==typeof t&&A in t)))return V(F(String(t)));if(!("[object Date]"===q(t)&&(!A||!("object"==typeof t&&A in t)))&&!("[object RegExp]"===q(t)&&(!A||!("object"==typeof t&&A in t)))){var ea=Z(t,F),es=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,eu=t instanceof Object?"":"null prototype",el=!es&&A&&Object(t)===t&&A in t?y.call(q(t),8,-1):eu?"Object":"",ec=(es||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(el||eu?"["+S.call(_.call([],el||[],eu||[]),": ")+"] ":"");return 0===ea.length?ec+"{}":j?ec+"{"+Y(ea,j)+"}":ec+"{ "+S.call(ea,", ")+" }"}return String(t)};var z=Object.prototype.hasOwnProperty||function(e){return e in this};function U(e,t){return z.call(e,t)}function q(e){return m.call(e)}function $(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}function H(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function V(e){return"Object("+e+")"}function W(e){return e+" { ? }"}function G(e,t,r,n){return e+" ("+t+") {"+(n?Y(r,n):S.call(r,", "))+"}"}function Y(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+S.call(e,","+r)+"\n"+t.prev}function Z(e,t){var r,n=L(e),i=[];if(n){i.length=e.length;for(var o=0;o<e.length;o++)i[o]=U(e,o)?t(e[o],e):""}var a="function"==typeof j?j(e):[];if(T){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=a[s]}for(var u in e)U(e,u)&&(!n||String(Number(u))!==u||!(u<e.length))&&(T&&r["$"+u]instanceof Symbol||(x.call(/[^\w$]/,u)?i.push(t(u,e)+": "+t(e[u],e)):i.push(u+": "+t(e[u],e))));if("function"==typeof j)for(var l=0;l<a.length;l++)P.call(e,a[l])&&i.push("["+t(a[l])+"]: "+t(e[a[l]],e));return i}},88438:function(e,t,r){"use strict";r.d(t,{dP:function(){return D},re:function(){return O}});var n,i=r(3985),o=r(62139);function a(){}var s=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=a),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var r=t.older,n=t.newer;n&&(n.older=r),r&&(r.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t},e.prototype.set=function(e,t){var r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),u=new o.g7,l=Object.prototype.hasOwnProperty,c=void 0===(n=Array.from)?function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t}:n;function d(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var h=[];function p(e,t){if(!e)throw Error(t||"assertion failure")}function f(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var m=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!y(this))return g(this),this.value[0]},e.prototype.recompute=function(e){var t;return p(!this.recomputing,"already recomputing"),g(this),y(this)&&(_(this),u.withValue(this,v,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{d(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,y(this)||(t=this,b(t,k)))),f(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,b(this,w),d(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),_(this),b(this,function(t,r){t.setDirty(),S(t,e)})},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=h.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(c(this.deps).forEach(function(t){return t.delete(e)}),this.deps.clear(),h.push(this.deps),this.deps=null)},e.count=0,e}();function g(e){var t=u.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),y(e)?w(t,e):k(t,e),t}function v(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function y(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function b(e,t){var r=e.parents.size;if(r)for(var n=c(e.parents),i=0;i<r;++i)t(n[i],e)}function w(e,t){p(e.childValues.has(t)),p(y(t));var r=!y(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=h.pop()||new Set;e.dirtyChildren.add(t),r&&b(e,w)}function k(e,t){p(e.childValues.has(t)),p(!y(t));var r,n,i=e.childValues.get(t);0===i.length?e.childValues.set(t,t.value.slice(0)):(r=t.value,(n=i.length)>0&&n===r.length&&i[n-1]===r[n-1]||e.setDirty()),x(e,t),y(e)||b(e,k)}function x(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(h.length<100&&h.push(r),e.dirtyChildren=null))}function _(e){e.childValues.size>0&&e.childValues.forEach(function(t,r){S(e,r)}),e.forgetDeps(),p(null===e.dirtyChildren)}function S(e,t){t.parents.delete(e),e.childValues.delete(t),x(e,t)}var E={setDirty:!0,dispose:!0,forget:!0};function D(e){var t=new Map,r=e&&e.subscribe;function n(e){var n=u.getValue();if(n){var i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(d(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){var n=t.get(e);if(n){var i=r&&l.call(E,r)?r:"setDirty";c(n).forEach(function(e){return e[i]()}),t.delete(e),d(n)}},n}function C(){var e=new i.B("function"==typeof WeakMap);return function(){return e.lookupArray(arguments)}}C();var j=new Set;function O(e,t){void 0===t&&(t=Object.create(null));var r=new s(t.max||65536,function(e){return e.dispose()}),n=t.keyArgs,i=t.makeCacheKey||C(),o=function(){var o=i.apply(null,n?n.apply(null,arguments):arguments);if(void 0===o)return e.apply(null,arguments);var a=r.get(o);a||(r.set(o,a=new m(e)),a.subscribe=t.subscribe,a.forget=function(){return r.delete(o)});var s=a.recompute(Array.prototype.slice.call(arguments));return r.set(o,a),j.add(r),u.hasValue()||(j.forEach(function(e){return e.clean()}),j.clear()),s};function a(e){var t=r.get(e);t&&t.setDirty()}function l(e){var t=r.get(e);if(t)return t.peek()}function c(e){return r.delete(e)}return Object.defineProperty(o,"size",{get:function(){return r.map.size},configurable:!1,enumerable:!1}),o.dirtyKey=a,o.dirty=function(){a(i.apply(null,arguments))},o.peekKey=l,o.peek=function(){return l(i.apply(null,arguments))},o.forgetKey=c,o.forget=function(){return c(i.apply(null,arguments))},o.makeCacheKey=i,o.getKey=n?function(){return i.apply(null,n.apply(null,arguments))}:i,Object.freeze(o)}},23222:function(e,t,r){"use strict";r.d(t,{IW:function(){return h},V0:function(){return s},aD:function(){return o},i$:function(){return a},tB:function(){return i}});var n=r(90824);function i(e){return e.length<3?0:Math.abs((0,n.Sm)(e.map(function(t,r){var n=e[r+1]||e[0];return t[0]*n[1]-n[0]*t[1]})))/2}function o(e,t){var r=t.width,n=t.height,i=t.left,o=t.top,s=a(e),u=s.minX,l=s.minY,c=s.maxX,d=s.maxY,h=r/(c-u),p=n/(d-l);return e.map(function(e){return[i+(e[0]-u)*h,o+(e[1]-l)*p]})}function a(e){var t=e.map(function(e){return e[0]}),r=e.map(function(e){return e[1]});return{minX:Math.min.apply(Math,t),minY:Math.min.apply(Math,r),maxX:Math.max.apply(Math,t),maxY:Math.max.apply(Math,r)}}function s(e,t,r){var i=e[0],o=e[1],s=a(t),h=s.minX,p=s.minY,f=s.maxX,m=s.maxY,g=[[h,o],[f,o]],v=[[i,p],[i,m]],y=u(g[0],g[1]),b=u(v[0],v[1]),w=d(t),k=[],x=[];return w.forEach(function(e){var t=u(e[0],e[1]),r=c(l(y,t),[g,e]),n=c(l(b,t),[v,e]);(1!==r.length||e[0][1]!==o)&&k.push.apply(k,r),(1!==n.length||e[0][0]!==i)&&x.push.apply(x,n),t[0]||k.push.apply(k,r),t[1]||x.push.apply(x,n)}),!!(!r&&((0,n.cx)(k,function(e){return e[0]===i})>-1||(0,n.cx)(x,function(e){return e[1]===o})>-1))||!!(k.filter(function(e){return e[0]>i}).length%2)&&!!(x.filter(function(e){return e[1]>o}).length%2)}function u(e,t){var r=e[0],n=e[1],i=t[0],o=t[1];if(r===i&&n===o)return[0,0,0];if(r===i)return[1,0,-r];if(n===o)return[0,1,-n];var a=(i-r)/(n-o);return[1,a,-r-a*n]}function l(e,t){var r=e[0],n=e[1],i=e[2],o=t[0],a=t[1],s=t[2],u=0===r&&0===o,l=0===n&&0===a;if(u&&l)return[];if(u){var c=-i/n;return c!==-s/a?[]:[[-1/0,c],[1/0,c]]}if(l){var d=-i/r;return d!==-s/o?[]:[[d,-1/0],[d,1/0]]}if(0===r){var h=-i/n,p=-(a*h+s)/o;return[[p,h]]}if(0===o){var h=-s/a,p=-(n*h+i)/r;return[[p,h]]}if(0===n){var p=-i/r,h=-(o*p+s)/a;return[[p,h]]}if(0===a){var p=-s/o,h=-(r*p+i)/n;return[[p,h]]}else{var p=(n*s-a*i)/(a*r-n*o),h=-(r*p+i)/n;return[[p,h]]}}function c(e,t){var r=t.map(function(e){return[0,1].map(function(t){return[Math.min(e[0][t],e[1][t]),Math.max(e[0][t],e[1][t])]})});if(2===e.length){var n=e[0],i=n[0],o=n[1];if(i===e[1][0]){var a=Math.max.apply(Math,r.map(function(e){return e[1][0]})),s=Math.min.apply(Math,r.map(function(e){return e[1][1]}));return a>s?[]:[[i,a],[i,s]]}if(o===e[1][1]){var u=Math.max.apply(Math,r.map(function(e){return e[0][0]})),l=Math.min.apply(Math,r.map(function(e){return e[0][1]}));return u>l?[]:[[u,o],[l,o]]}}return e.filter(function(e){return r.every(function(t){return t[0][0]<=e[0]&&e[0]<=t[0][1]&&t[1][0]<=e[1]&&e[1]<=t[1][1]})})}function d(e){return(function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n})(e.slice(1),[e[0]]).map(function(t,r){return[e[r],t]})}function h(e,t){var r,o,a,h,p,f,m,g,v;return i((r=e.slice(),o=t.slice(),-1===(0,n.c4)(r)&&r.reverse(),-1===(0,n.c4)(o)&&o.reverse(),a=d(r),h=d(o),p=a.map(function(e){return u(e[0],e[1])}),f=h.map(function(e){return u(e[0],e[1])}),m=[],p.forEach(function(e,t){var r=a[t],i=[];f.forEach(function(n,o){var a=c(l(e,n),[r,h[o]]);i.push.apply(i,a.map(function(e){return{index1:t,index2:o,pos:e}}))}),i.sort(function(e,t){return(0,n.zt)(r[0],e.pos)-(0,n.zt)(r[0],t.pos)}),m.push.apply(m,i),s(r[1],o)&&m.push({index1:t,index2:-1,pos:r[1]})}),h.forEach(function(e,t){if(s(e[1],r)){var i=!1,o=(0,n.cx)(m,function(e){return e.index2===t?(i=!0,!1):!!i});-1===o&&(i=!1,o=(0,n.cx)(m,function(e){var r=e.index1,n=e.index2;return -1===r&&n+1===t?(i=!0,!1):!!i})),-1===o?m.push({index1:-1,index2:t,pos:e[1]}):m.splice(o,0,{index1:-1,index2:t,pos:e[1]})}}),g=m.map(function(e){return e.pos}),v={},g.filter(function(e){var t=e[0]+"x"+e[1];return!v[t]&&(v[t]=!0,!0)})))}},24580:function(e,t,r){"use strict";function n(e,t,r,n=e=>e){return e*n(.5-t*(.5-r))}function i(e,t){return[e[0]+t[0],e[1]+t[1]]}function o(e,t){return[e[0]-t[0],e[1]-t[1]]}function a(e,t){return[e[0]*t,e[1]*t]}function s(e){return[e[1],-e[0]]}function u(e,t){return e[0]*t[0]+e[1]*t[1]}function l(e,t){var r;return(r=o(e,t))[0]*r[0]+r[1]*r[1]}function c(e){var t;return t=Math.hypot(e[0],e[1]),[e[0]/t,e[1]/t]}function d(e,t,r){let n=Math.sin(r),i=Math.cos(r),o=e[0]-t[0],a=e[1]-t[1];return[o*i-a*n+t[0],o*n+a*i+t[1]]}function h(e,t,r){return i(e,a(o(t,e),r))}r.d(t,{ZP:function(){return y},ib:function(){return g},tt:function(){return v}});var{min:p,PI:f}=Math,m=f+1e-4;function g(e,t={}){var r,f;let{size:g=16,smoothing:v=.5,thinning:y=.5,simulatePressure:b=!0,easing:w=e=>e,start:k={},end:x={},last:_=!1}=t,{cap:S=!0,easing:E=e=>e*(2-e)}=k,{cap:D=!0,easing:C=e=>--e*e*e+1}=x;if(0===e.length||g<=0)return[];let j=e[e.length-1].runningLength,O=!1===k.taper?0:!0===k.taper?Math.max(g,j):k.taper,T=!1===x.taper?0:!0===x.taper?Math.max(g,j):x.taper,A=Math.pow(g*v,2),P=[],R=[],M=e.slice(0,10).reduce((e,t)=>{let r=t.pressure;if(b){let n=p(1,t.distance/g),i=p(1,1-n);r=p(1,e+.275*n*(i-e))}return(e+r)/2},e[0].pressure),F=n(g,y,e[e.length-1].pressure,w),N,I=e[0].vector,L=e[0].point,B=L,z=L,U=B,q=!1;for(let t=0;t<e.length;t++){let{pressure:r}=e[t],{point:c,vector:f,distance:v,runningLength:k}=e[t];if(t<e.length-1&&j-k<3)continue;if(y){if(b){let e=p(1,v/g),t=p(1,1-e);r=p(1,M+.275*e*(t-M))}F=n(g,y,r,w)}else F=g/2;void 0===N&&(N=F),F=Math.max(.01,F*Math.min(k<O?E(k/O):1,j-k<T?C((j-k)/T):1));let x=(t<e.length-1?e[t+1]:e[t]).vector,_=t<e.length-1?u(f,x):1,S=0>u(f,I)&&!q,D=null!==_&&_<0;if(S||D){let e=a(s(I),F);for(let t=1/13,r=0;r<=1;r+=t)z=d(o(c,e),c,m*r),P.push(z),U=d(i(c,e),c,-(m*r)),R.push(U);L=z,B=U,D&&(q=!0);continue}if(q=!1,t===e.length-1){let e=a(s(f),F);P.push(o(c,e)),R.push(i(c,e));continue}let $=a(s(h(x,f,_)),F);z=o(c,$),(t<=1||l(L,z)>A)&&(P.push(z),L=z),U=i(c,$),(t<=1||l(B,U)>A)&&(R.push(U),B=U),M=r,I=f}let $=e[0].point.slice(0,2),H=e.length>1?e[e.length-1].point.slice(0,2):i(e[0].point,[1,1]),V=[],W=[];if(1===e.length){if(!(O||T)||_){let e=(r=c(s(o($,H))),i($,a(r,-(N||F)))),t=[];for(let r=1/13,n=r;n<=1;n+=r)t.push(d(e,$,2*m*n));return t}}else{if(!(O||T&&1===e.length)){if(S)for(let e=1/13,t=e;t<=1;t+=e){let e=d(R[0],$,m*t);V.push(e)}else{let e=o(P[0],R[0]),t=a(e,.5),r=a(e,.51);V.push(o($,t),o($,r),i($,r),i($,t))}}let t=s([-(f=e[e.length-1].vector)[0],-f[1]]);if(T||O&&1===e.length)W.push(H);else if(D){let e=i(H,a(t,F));for(let t=1/29,r=t;r<1;r+=t)W.push(d(e,H,3*m*r))}else W.push(i(H,a(t,F)),i(H,a(t,.99*F)),o(H,a(t,.99*F)),o(H,a(t,F)))}return P.concat(W,R.reverse(),V)}function v(e,t={}){var r,n,a;let{streamline:s=.5,size:u=16,last:l=!1}=t;if(0===e.length)return[];let d=.15+(1-s)*.85,p=Array.isArray(e[0])?e:e.map(({x:e,y:t,pressure:r=.5})=>[e,t,r]);if(2===p.length){let e=p[1];p=p.slice(0,-1);for(let t=1;t<5;t++)p.push(h(p[0],e,t/4))}1===p.length&&(p=[...p,[...i(p[0],[1,1]),...p[0].slice(2)]]);let f=[{point:[p[0][0],p[0][1]],pressure:p[0][2]>=0?p[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],m=!1,g=0,v=f[0],y=p.length-1;for(let e=1;e<p.length;e++){let t=l&&e===y?p[e].slice(0,2):h(v.point,p[e],d);if((n=v.point)[0]===t[0]&&n[1]===t[1])continue;let r=(a=v.point,Math.hypot(t[1]-a[1],t[0]-a[0]));if(g+=r,e<y&&!m){if(g<u)continue;m=!0}v={point:t,pressure:p[e][2]>=0?p[e][2]:.5,vector:c(o(v.point,t)),distance:r,runningLength:g},f.push(v)}return f[0].vector=(null==(r=f[1])?void 0:r.vector)||[0,0],f}var y=function(e,t={}){return g(v(e,t),t)}},33847:function(e,t,r){"use strict";r.d(t,{HY:function(){return v},Tm:function(){return R},Vf:function(){return g},bR:function(){return function e(t,r){return r=r||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some(function(t){e(t,r)}):r.push(t)),r}},h:function(){return f},sY:function(){return P},wA:function(){return y}});var n,i,o,a,s,u,l={},c=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(e,t){for(var r in t)e[r]=t[r];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function f(e,t,r){var i,o,a,s={};for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return m(e,s,i,o,null)}function m(e,t,r,n,a){var s={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=i.vnode&&i.vnode(s),s}function g(){return{current:null}}function v(e){return e.children}function y(e,t){this.props=e,this.context=t}function b(e,t){if(null==t)return e.__?b(e.__,e.__.__k.indexOf(e)+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?b(e):null}function w(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!k.__r++||u!==i.debounceRendering)&&((u=i.debounceRendering)||s)(k)}function k(){for(var e;k.__r=a.length;)e=a.sort(function(e,t){return e.__v.__b-t.__v.__b}),a=[],e.some(function(e){var t,r,n,i,o;e.__d&&(i=(n=e.__v).__e,(o=e.__P)&&(t=[],(r=h({},n)).__v=n.__v+1,j(o,n,r,e.__n,void 0!==o.ownerSVGElement,null!=n.__h?[i]:null,t,null==i?b(n):i,n.__h),O(t,n),n.__e!=i&&function e(t){var r,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,r=0;r<t.__k.length;r++)if(null!=(n=t.__k[r])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return e(t)}}(n)))})}function x(e,t,r,n,o,a,s,u,d,h){var f,g,y,w,k,x,S,E=n&&n.__k||c,D=E.length;for(r.__k=[],f=0;f<t.length;f++)if(null!=(w=r.__k[f]=null==(w=t[f])||"boolean"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?m(null,w,null,null,w):Array.isArray(w)?m(v,{children:w},null,null,null):w.__b>0?m(w.type,w.props,w.key,null,w.__v):w)){if(w.__=r,w.__b=r.__b+1,null===(y=E[f])||y&&w.key==y.key&&w.type===y.type)E[f]=void 0;else for(g=0;g<D;g++){if((y=E[g])&&w.key==y.key&&w.type===y.type){E[g]=void 0;break}y=null}j(e,w,y=y||l,o,a,s,u,d,h),k=w.__e,(g=w.ref)&&y.ref!=g&&(S||(S=[]),y.ref&&S.push(y.ref,null,w),S.push(g,w.__c||k,w)),null!=k?(null==x&&(x=k),"function"==typeof w.type&&w.__k===y.__k?w.__d=d=function e(t,r,n){for(var i,o=t.__k,a=0;o&&a<o.length;a++)(i=o[a])&&(i.__=t,r="function"==typeof i.type?e(i,r,n):_(n,i,i,o,i.__e,r));return r}(w,d,e):d=_(e,w,y,E,k,d),"function"==typeof r.type&&(r.__d=d)):d&&y.__e==d&&d.parentNode!=e&&(d=b(y))}for(r.__e=x,f=D;f--;)null!=E[f]&&("function"==typeof r.type&&null!=E[f].__e&&E[f].__e==r.__d&&(r.__d=b(n,f+1)),function e(t,r,n){var o,a;if(i.unmount&&i.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||T(o,null,r)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){i.__e(e,r)}o.base=o.__P=null}if(o=t.__k)for(a=0;a<o.length;a++)o[a]&&e(o[a],r,"function"!=typeof t.type);n||null==t.__e||p(t.__e),t.__e=t.__d=void 0}(E[f],E[f]));if(S)for(f=0;f<S.length;f++)T(S[f],S[++f],S[++f])}function _(e,t,r,n,i,o){var a,s,u;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==r||i!=o||null==i.parentNode)r:if(null==o||o.parentNode!==e)e.appendChild(i),a=null;else{for(s=o,u=0;(s=s.nextSibling)&&u<n.length;u+=2)if(s==i)break r;e.insertBefore(i,o),a=o}return void 0!==a?a:i.nextSibling}function S(e,t,r){"-"===t[0]?e.setProperty(t,r):e[t]=null==r?"":"number"!=typeof r||d.test(t)?r:r+"px"}function E(e,t,r,n,i){var o;r:if("style"===t){if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||S(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||S(e.style,t,r[t])}}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase() in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n||e.addEventListener(t,o?C:D,o):e.removeEventListener(t,o?C:D,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==r?"":r;break r}catch(e){}"function"==typeof r||(null!=r&&(!1!==r||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,r):e.removeAttribute(t))}}function D(e){this.l[e.type+!1](i.event?i.event(e):e)}function C(e){this.l[e.type+!0](i.event?i.event(e):e)}function j(e,t,r,o,a,s,u,c,d){var f,m,g,w,k,_,S,D,C,j,O,T,P,R=t.type;if(void 0!==t.constructor)return null;null!=r.__h&&(d=r.__h,c=t.__e=r.__e,t.__h=null,s=[c]),(f=i.__b)&&f(t);try{r:if("function"==typeof R){if(D=t.props,C=(f=R.contextType)&&o[f.__c],j=f?C?C.props.value:f.__:o,r.__c?S=(m=t.__c=r.__c).__=m.__E:("prototype"in R&&R.prototype.render?t.__c=m=new R(D,j):(t.__c=m=new y(D,j),m.constructor=R,m.render=A),C&&C.sub(m),m.props=D,m.state||(m.state={}),m.context=j,m.__n=o,g=m.__d=!0,m.__h=[]),null==m.__s&&(m.__s=m.state),null!=R.getDerivedStateFromProps&&(m.__s==m.state&&(m.__s=h({},m.__s)),h(m.__s,R.getDerivedStateFromProps(D,m.__s))),w=m.props,k=m.state,g)null==R.getDerivedStateFromProps&&null!=m.componentWillMount&&m.componentWillMount(),null!=m.componentDidMount&&m.__h.push(m.componentDidMount);else{if(null==R.getDerivedStateFromProps&&D!==w&&null!=m.componentWillReceiveProps&&m.componentWillReceiveProps(D,j),!m.__e&&null!=m.shouldComponentUpdate&&!1===m.shouldComponentUpdate(D,m.__s,j)||t.__v===r.__v){m.props=D,m.state=m.__s,t.__v!==r.__v&&(m.__d=!1),m.__v=t,t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(e){e&&(e.__=t)}),m.__h.length&&u.push(m);break r}null!=m.componentWillUpdate&&m.componentWillUpdate(D,m.__s,j),null!=m.componentDidUpdate&&m.__h.push(function(){m.componentDidUpdate(w,k,_)})}if(m.context=j,m.props=D,m.__v=t,m.__P=e,O=i.__r,T=0,"prototype"in R&&R.prototype.render)m.state=m.__s,m.__d=!1,O&&O(t),f=m.render(m.props,m.state,m.context);else do m.__d=!1,O&&O(t),f=m.render(m.props,m.state,m.context),m.state=m.__s;while(m.__d&&++T<25);m.state=m.__s,null!=m.getChildContext&&(o=h(h({},o),m.getChildContext())),g||null==m.getSnapshotBeforeUpdate||(_=m.getSnapshotBeforeUpdate(w,k)),P=null!=f&&f.type===v&&null==f.key?f.props.children:f,x(e,Array.isArray(P)?P:[P],t,r,o,a,s,u,c,d),m.base=t.__e,t.__h=null,m.__h.length&&u.push(m),S&&(m.__E=m.__=null),m.__e=!1}else null==s&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=function(e,t,r,i,o,a,s,u){var c,d,h,f=r.props,m=t.props,g=t.type,v=0;if("svg"===g&&(o=!0),null!=a){for(;v<a.length;v++)if((c=a[v])&&"setAttribute"in c==!!g&&(g?c.localName===g:3===c.nodeType)){e=c,a[v]=null;break}}if(null==e){if(null===g)return document.createTextNode(m);e=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),a=null,u=!1}if(null===g)f===m||u&&e.data===m||(e.data=m);else{if(a=a&&n.call(e.childNodes),d=(f=r.props||l).dangerouslySetInnerHTML,h=m.dangerouslySetInnerHTML,!u){if(null!=a)for(f={},v=0;v<e.attributes.length;v++)f[e.attributes[v].name]=e.attributes[v].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===e.innerHTML)||(e.innerHTML=h&&h.__html||""))}if(function(e,t,r,n,i){var o;for(o in r)"children"===o||"key"===o||o in t||E(e,o,null,r[o],n);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||r[o]===t[o]||E(e,o,t[o],r[o],n)}(e,m,f,o,u),h)t.__k=[];else if(x(e,Array.isArray(v=t.props.children)?v:[v],t,r,i,o&&"foreignObject"!==g,a,s,a?a[0]:r.__k&&b(r,0),u),null!=a)for(v=a.length;v--;)null!=a[v]&&p(a[v]);u||("value"in m&&void 0!==(v=m.value)&&(v!==e.value||"progress"===g&&!v||"option"===g&&v!==f.value)&&E(e,"value",v,f.value,!1),"checked"in m&&void 0!==(v=m.checked)&&v!==e.checked&&E(e,"checked",v,f.checked,!1))}return e}(r.__e,t,r,o,a,s,u,d);(f=i.diffed)&&f(t)}catch(e){t.__v=null,(d||null!=s)&&(t.__e=c,t.__h=!!d,s[s.indexOf(c)]=null),i.__e(e,t,r)}}function O(e,t){i.__c&&i.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){i.__e(e,t.__v)}})}function T(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){i.__e(e,r)}}function A(e,t,r){return this.constructor(e,r)}function P(e,t,r){var o,a,s;i.__&&i.__(e,t),a=(o="function"==typeof r)?null:r&&r.__k||t.__k,s=[],j(t,e=(!o&&r||t).__k=f(v,null,[e]),a||l,l,void 0!==t.ownerSVGElement,!o&&r?[r]:a?null:t.firstChild?n.call(t.childNodes):null,s,!o&&r?r:a?a.__e:t.firstChild,o),O(s,e)}function R(e,t,r){var i,o,a,s=h({},e.props);for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:s[a]=t[a];return arguments.length>2&&(s.children=arguments.length>3?n.call(arguments,2):r),m(e.type,s,i||e.key,o||e.ref,null)}n=c.slice,i={__e:function(e,t,r,n){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,n||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},o=0,y.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},r),this.props)),e&&h(r,e),null!=e&&this.__v&&(t&&this.__h.push(t),w(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},y.prototype.render=v,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,k.__r=0},34406:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(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(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u=[],l=!1,c=-1;function d(){l&&n&&(l=!1,n.length?u=n.concat(u):c=-1,u.length&&h())}function h(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(n=u,u=[];++c<t;)n&&n[c].run();c=-1,t=u.length}n=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||l||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},68262:function(e,t,r){"use strict";var n=r(23586);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={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:o,resetWarningCache:i};return r.PropTypes=r,r}},13980:function(e,t,r){e.exports=r(68262)()},23586:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},97375:function(e,t){"use strict";var r,n=Object.prototype.hasOwnProperty;function i(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){var i,a,s=[];for(a in"string"!=typeof(t=t||"")&&(t="?"),e)if(n.call(e,a)){if(!(i=e[a])&&(null===i||i===r||isNaN(i))&&(i=""),a=o(a),i=o(i),null===a||null===i)continue;s.push(a+"="+i)}return s.length?t+s.join("&"):""},t.parse=function(e){for(var t,r=/([^=?#&]+)=?([^&]*)/g,n={};t=r.exec(e);){var o=i(t[1]),a=i(t[2]);null===o||null===a||o in n||(n[o]=a)}return n}},77728:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(90824),i=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},o=function(e){var t,r="rCS"+i(e).toString(36),o=0;return{className:r,inject:function(i,a){void 0===a&&(a={});var s,u,l,c=function(e){if(e&&e.getRootNode){var t=e.getRootNode();if(11===t.nodeType)return t}}(i),d=0===o;return(c||d)&&(s=a,(u=document.createElement("style")).setAttribute("type","text/css"),u.setAttribute("data-styled-id",r),s.nonce&&u.setAttribute("nonce",s.nonce),u.innerHTML=s.original?e:e.replace(/([^};{\s}][^};{]*|^\s*){/mg,function(e,t){var i=t.trim();return(i?(0,n.W6)(i):[""]).map(function(e){var t=e.trim();return 0===t.indexOf("@")?t:t.indexOf(":global")>-1?t.replace(/\:global/g,""):t.indexOf(":host")>-1?""+t.replace(/\:host/g,"."+r):t?"."+r+" "+t:"."+r}).join(", ")+" {"}),(c||document.head||document.body).appendChild(u),l=u),d&&(t=l),!c&&++o,{destroy:function(){c?(i.removeChild(l),l=null):(o>0&&--o,0===o&&t&&(t.parentNode.removeChild(t),t=null))}}}}},a=r(2784),s=r(22989),u=function(e,t){return(u=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])})(e,t)};function l(e,t){function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.injectResult=null,t.tag="div",t}l(t,e);var r=t.prototype;return r.render=function(){var e=this.props,t=e.className,r=(e.cspNonce,e.portalContainer),n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}(e,["className","cspNonce","portalContainer"]),i=this.injector.className,o=this.tag,u={};return(a.version||"").indexOf("simple")>-1&&r&&(u={portalContainer:r}),(0,a.createElement)(o,c({ref:(0,s.iH)(this,"element"),"data-styled-id":i,className:(void 0===t?"":t)+" "+i},u,n))},r.componentDidMount=function(){this.injectResult=this.injector.inject(this.element,{nonce:this.props.cspNonce})},r.componentWillUnmount=function(){this.injectResult.destroy(),this.injectResult=null},r.getElement=function(){return this.element},t}(a.Component),h=function(e,t){var r=o(t);return function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.injector=r,n.tag=e,n}return l(n,t),n}(d)}},80589:function(e,t,r){!function(e,t){"use strict";var r=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}(t);function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i={error:null},o=function(e){function t(){for(var t,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).state=i,t.resetErrorBoundary=function(){for(var e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];null==t.props.onReset||(e=t.props).onReset.apply(e,n),t.reset()},t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,n(t,e),t.getDerivedStateFromError=function(e){return{error:e}};var o=t.prototype;return o.reset=function(){this.setState(i)},o.componentDidCatch=function(e,t){var r,n;null==(r=(n=this.props).onError)||r.call(n,e,t)},o.componentDidUpdate=function(e,t){var r,n,i,o,a=this.state.error,s=this.props.resetKeys;null!==a&&null!==t.error&&(void 0===(r=e.resetKeys)&&(r=[]),void 0===(n=s)&&(n=[]),r.length!==n.length||r.some(function(e,t){return!Object.is(e,n[t])}))&&(null==(i=(o=this.props).onResetKeysChange)||i.call(o,e.resetKeys,s),this.reset())},o.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,i=t.FallbackComponent,o=t.fallback;if(null!==e){var a={error:e,resetErrorBoundary:this.resetErrorBoundary};if(r.isValidElement(o))return o;if("function"==typeof n)return n(a);if(i)return r.createElement(i,a);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(r.Component);e.ErrorBoundary=o,e.useErrorHandler=function(e){var t=r.useState(null),n=t[0],i=t[1];if(null!=e)throw e;if(null!=n)throw n;return i},e.withErrorBoundary=function(e,t){var n=function(n){return r.createElement(o,t,r.createElement(e,n))},i=e.displayName||e.name||"Unknown";return n.displayName="withErrorBoundary("+i+")",n},Object.defineProperty(e,"__esModule",{value:!0})}(t,r(2784))},78435:function(e){var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,u,l,c;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((s=o.length)!=a.length)return!1;for(u=s;0!=u--;)if(!e(o[u],a[u]))return!1;return!0}if(r&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(c=o.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;for(c=o.entries();!(u=c.next()).done;)if(!e(u.value[1],a.get(u.value[0])))return!1;return!0}if(n&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(c=o.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((s=o.length)!=a.length)return!1;for(u=s;0!=u--;)if(o[u]!==a[u])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof a.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof a.toString)return o.toString()===a.toString();if((s=(l=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,l[u]))return!1;if(t&&o instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!o.$$typeof)&&!e(o[l[u]],a[l[u]]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},92613:function(e,t,r){"use strict";r.d(t,{y1:function(){return O}});var n="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function i(e,t,r,n){e.addEventListener?e.addEventListener(t,r,n):e.attachEvent&&e.attachEvent("on".concat(t),function(){r(window.event)})}function o(e,t){for(var r=t.slice(0,t.length-1),n=0;n<r.length;n++)r[n]=e[r[n].toLowerCase()];return r}function a(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),r=t.lastIndexOf("");r>=0;)t[r-1]+=",",t.splice(r,1),r=t.lastIndexOf("");return t}for(var s={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":n?173:189,"=":n?61:187,";":n?59:186,"'":222,"[":219,"]":221,"\\":220},u={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},l={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},c={16:!1,18:!1,17:!1,91:!1},d={},h=1;h<20;h++)s["f".concat(h)]=111+h;var p=[],f=!1,m="all",g=[],v=function(e){return s[e.toLowerCase()]||u[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function y(e){m=e||"all"}function b(){return m||"all"}var w=function(e){var t=e.key,r=e.scope,n=e.method,i=e.splitKey,s=void 0===i?"+":i;a(t).forEach(function(e){var t=e.split(s),i=t.length,a=t[i-1],l="*"===a?"*":v(a);if(d[l]){r||(r=b());var c=i>1?o(u,t):[];d[l]=d[l].filter(function(e){return!((!n||e.method===n)&&e.scope===r&&function(e,t){for(var r=e.length>=t.length?e:t,n=e.length>=t.length?t:e,i=!0,o=0;o<r.length;o++)-1===n.indexOf(r[o])&&(i=!1);return i}(e.mods,c))})}})};function k(e,t,r,n){var i;if(t.element===n&&(t.scope===r||"all"===t.scope)){for(var o in i=t.mods.length>0,c)Object.prototype.hasOwnProperty.call(c,o)&&(!c[o]&&t.mods.indexOf(+o)>-1||c[o]&&-1===t.mods.indexOf(+o))&&(i=!1);(0!==t.mods.length||c[16]||c[18]||c[17]||c[91])&&!i&&"*"!==t.shortcut||!1!==t.method(e,t)||(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function x(e,t){var r=d["*"],n=e.keyCode||e.which||e.charCode;if(_.filter.call(this,e)){if((93===n||224===n)&&(n=91),-1===p.indexOf(n)&&229!==n&&p.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(t){var r=l[t];e[t]&&-1===p.indexOf(r)?p.push(r):!e[t]&&p.indexOf(r)>-1?p.splice(p.indexOf(r),1):"metaKey"===t&&e[t]&&3===p.length&&!(e.ctrlKey||e.shiftKey||e.altKey)&&(p=p.slice(p.indexOf(r)))}),n in c){for(var i in c[n]=!0,u)u[i]===n&&(_[i]=!0);if(!r)return}for(var o in c)Object.prototype.hasOwnProperty.call(c,o)&&(c[o]=e[l[o]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),c[17]=!0,c[18]=!0);var a=b();if(r)for(var s=0;s<r.length;s++)r[s].scope===a&&("keydown"===e.type&&r[s].keydown||"keyup"===e.type&&r[s].keyup)&&k(e,r[s],a,t);if(n in d){for(var h=0;h<d[n].length;h++)if(("keydown"===e.type&&d[n][h].keydown||"keyup"===e.type&&d[n][h].keyup)&&d[n][h].key){for(var f=d[n][h],m=f.splitKey,g=f.key.split(m),y=[],w=0;w<g.length;w++)y.push(v(g[w]));y.sort().join("")===p.sort().join("")&&k(e,f,a,t)}}}}function _(e,t,r){p=[];var n,s=a(e),l=[],h="all",m=document,y=0,b=!1,w=!0,k="+",S=!1;for(void 0===r&&"function"==typeof t&&(r=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(h=t.scope),t.element&&(m=t.element),t.keyup&&(b=t.keyup),void 0!==t.keydown&&(w=t.keydown),void 0!==t.capture&&(S=t.capture),"string"==typeof t.splitKey&&(k=t.splitKey)),"string"==typeof t&&(h=t);y<s.length;y++)e=s[y].split(k),l=[],e.length>1&&(l=o(u,e)),(e="*"===(e=e[e.length-1])?"*":v(e))in d||(d[e]=[]),d[e].push({keyup:b,keydown:w,scope:h,mods:l,shortcut:s[y],method:r,key:s[y],splitKey:k,element:m});void 0!==m&&(n=m,!(g.indexOf(n)>-1))&&window&&(g.push(m),i(m,"keydown",function(e){x(e,m)},S),f||(f=!0,i(window,"focus",function(){p=[]},S)),i(m,"keyup",function(e){x(e,m),function(e){var t=e.keyCode||e.which||e.charCode,r=p.indexOf(t);if(r>=0&&p.splice(r,1),e.key&&"meta"===e.key.toLowerCase()&&p.splice(0,p.length),(93===t||224===t)&&(t=91),t in c)for(var n in c[t]=!1,u)u[n]===t&&(_[n]=!1)}(e)},S))}var S={setScope:y,getScope:b,deleteScope:function(e,t){var r,n;for(var i in e||(e=b()),d)if(Object.prototype.hasOwnProperty.call(d,i))for(n=0,r=d[i];n<r.length;)r[n].scope===e?r.splice(n,1):n++;b()===e&&y(t||"all")},getPressedKeyCodes:function(){return p.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=v(e)),-1!==p.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,r=t.tagName,n=!0;return(t.isContentEditable||("INPUT"===r||"TEXTAREA"===r||"SELECT"===r)&&!t.readOnly)&&(n=!1),n},trigger:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(d).forEach(function(r){var n=d[r].find(function(r){return r.scope===t&&r.shortcut===e});n&&n.method&&n.method()})},unbind:function(e){if(void 0===e)Object.keys(d).forEach(function(e){return delete d[e]});else if(Array.isArray(e))e.forEach(function(e){e.key&&w(e)});else if("object"==typeof e)e.key&&w(e);else if("string"==typeof e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=r[0],o=r[1];"function"==typeof i&&(o=i,i=""),w({key:e,scope:i,method:o,splitKey:"+"})}},keyMap:s,modifier:u,modifierMap:l};for(var E in S)Object.prototype.hasOwnProperty.call(S,E)&&(_[E]=S[E]);if("undefined"!=typeof window){var D=window.hotkeys;_.noConflict=function(e){return e&&window.hotkeys===_&&(window.hotkeys=D),_},window.hotkeys=_}var C=r(2784);_.filter=function(){return!0};var j=function(e,t){var r=e.target,n=r&&r.tagName;return!!(n&&t&&t.includes(n))};function O(e,t,r,n){r instanceof Array&&(n=r,r=void 0);var i=r||{},o=i.enableOnTags,a=i.filter,s=i.keyup,u=i.keydown,l=i.filterPreventDefault,c=void 0===l||l,d=i.enabled,h=void 0===d||d,p=i.enableOnContentEditable,f=void 0!==p&&p,m=(0,C.useRef)(null),g=(0,C.useCallback)(function(e,r){var n,i;return a&&!a(e)?!c:!!j(e,["INPUT","TEXTAREA","SELECT"])&&!j(e,o)||null!=(n=e.target)&&!!n.isContentEditable&&!f||!!(null===m.current||document.activeElement===m.current||null!=(i=m.current)&&i.contains(document.activeElement))&&(t(e,r),!0)},n?[m,o,a].concat(n):[m,o,a]);return(0,C.useEffect)(function(){if(!h){_.unbind(e,g);return}return s&&!0!==u&&(r.keydown=!1),_(e,r||{},g),function(){return _.unbind(e,g)}},[g,e,h]),m}_.isPressed},94804:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var n,i=r(2784),o=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},a=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],s={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"},u=function(){return(u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},l=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=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};function d(e,t){if(void 0===t&&(t={}),!e||!(e instanceof Node))return null;var r,n,h,p,f,m=t.actions,g=void 0===m?[]:m,v=t.index,y=t.level,b=void 0===y?0:y,w=t.randomKey,k=e,x="".concat(b,"-").concat(void 0===v?0:v),_=[];if(w&&0===b&&(x="".concat(function(e){void 0===e&&(e=6);for(var t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",r="",n=e;n>0;--n)r+=t[Math.round(Math.random()*(t.length-1))];return r}(),"-").concat(x)),Array.isArray(g)&&g.forEach(function(t){t.condition(k,x,b)&&("function"!=typeof t.pre||(k=t.pre(k,x,b))instanceof Node||(k=e),"function"==typeof t.post&&_.push(t.post(k,x,b)))}),_.length)return _;switch(k.nodeType){case 1:return i.createElement((r=k.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(r)?r:r.toLowerCase()),function(e,t){var r={key:t};if(e instanceof Element){var n=e.getAttribute("class");n&&(r.className=n),c([],l(e.attributes),!1).forEach(function(e){switch(e.name){case"class":break;case"style":r[e.name]=e.value.split(/ ?; ?/).reduce(function(e,t){var r=o(t.split(/ ?: ?/),2),n=r[0],i=r[1];return n&&i&&(e[n.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})]=Number.isNaN(Number(i))?i:Number(i)),e},{});break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":r[s[e.name]||e.name]=!0;break;default:r[s[e.name]||e.name]=e.value}})}return r}(k,x),(n=k.childNodes,h=t,(p=c([],l(n),!1).map(function(e,t){return d(e,u(u({},h),{index:t,level:b+1}))}).filter(Boolean)).length?p:null));case 3:var S=(null===(f=k.nodeValue)||void 0===f?void 0:f.toString())||"";if(/^\s+$/.test(S)&&!/[\u00A0\u202F]/.test(S))return null;if(!k.parentNode)return S;var E=k.parentNode.nodeName.toLowerCase();if(a.includes(E))return/\S/.test(S)&&console.warn("A textNode is not allowed inside '".concat(E,"'. Your text \"").concat(S,'" will be ignored')),null;return S;default:return null}}function h(e,t){return(void 0===t&&(t={}),"string"==typeof e)?function(e,t){if(void 0===t&&(t={}),!e||"string"!=typeof e)return null;var r=t.nodeOnly,n=t.selector,i=t.type;try{var o=new DOMParser().parseFromString(e,void 0===i?"text/html":i).querySelector(void 0===n?"body > *":n);if(!(o instanceof Node))throw TypeError("Error parsing input");if(void 0!==r&&r)return o;return d(o,t)}catch(e){}return null}(e,t):e instanceof Node?d(e,t):null}var p=r(85978),f={FAILED:"failed",LOADED:"loaded",LOADING:"loading",PENDING:"pending",READY:"ready",UNSUPPORTED:"unsupported"};function m(){return p.canUseDOM}var g=(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)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),v=function(){return(v=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},y=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},b=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},w=Object.create(null),k=function(e){function t(t){var r=e.call(this,t)||this;return Object.defineProperty(r,"isInitialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(r,"isActive",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(r,"hash",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"handleLoad",{enumerable:!0,configurable:!0,writable:!0,value:function(e){r.isActive&&r.setState({content:e,status:f.LOADED},r.getElement)}}),Object.defineProperty(r,"handleError",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=r.props.onError,n="Browser does not support SVG"===e.message?f.UNSUPPORTED:f.FAILED;r.isActive&&r.setState({status:n},function(){"function"==typeof t&&t(e)})}}),Object.defineProperty(r,"request",{enumerable:!0,configurable:!0,writable:!0,value:function(){var e=r.props,t=e.cacheRequests,n=e.fetchOptions,i=e.src;try{return t&&(w[i]={content:"",status:f.LOADING}),fetch(i,n).then(function(e){var t=e.headers.get("content-type"),r=y((t||"").split(/ ?; ?/),1)[0];if(e.status>299)throw Error("Not found");if(!["image/svg+xml","text/plain"].some(function(e){return r.includes(e)}))throw Error("Content type isn't valid: ".concat(r));return e.text()}).then(function(e){var n=r.props.src;if(i!==n){w[i].status===f.LOADING&&delete w[i];return}if(r.handleLoad(e),t){var o=w[i];o&&(o.content=e,o.status=f.LOADED)}}).catch(function(e){r.handleError(e),t&&w[i]&&delete w[i]})}catch(e){return r.handleError(Error(e.message))}}}),r.state={content:"",element:null,hasCache:!!t.cacheRequests&&!!w[t.src],status:f.PENDING},r.hash=t.uniqueHash||function(e){for(var t="abcdefghijklmnopqrstuvwxyz",r="".concat(t).concat(t.toUpperCase()).concat("1234567890"),n="",i=0;i<8;i++)n+=r[Math.floor(Math.random()*r.length)];return n}(0),r}return g(t,e),Object.defineProperty(t.prototype,"componentDidMount",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.isActive=!0,m()&&!this.isInitialized){var e=this.state.status,t=this.props.src;try{if(e===f.PENDING){if(!(function(){if(!document)return!1;var e=document.createElement("div");e.innerHTML="<svg />";var t=e.firstChild;return!!t&&"http://www.w3.org/2000/svg"===t.namespaceURI}()&&"undefined"!=typeof window&&null!==window))throw Error("Browser does not support SVG");if(!t)throw Error("Missing src");this.load()}}catch(e){this.handleError(e)}this.isInitialized=!0}}}),Object.defineProperty(t.prototype,"componentDidUpdate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(m()){var r=this.state,n=r.hasCache,i=r.status,o=this.props,a=o.onLoad,s=o.src;if(t.status!==f.READY&&i===f.READY&&a&&a(s,n),e.src!==s){if(!s){this.handleError(Error("Missing src"));return}this.load()}}}}),Object.defineProperty(t.prototype,"componentWillUnmount",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.isActive=!1}}),Object.defineProperty(t.prototype,"getNode",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.props,t=e.description,r=e.title;try{var n=this.processSVG(),i=h(n,{nodeOnly:!0});if(!i||!(i instanceof SVGSVGElement))throw Error("Could not convert the src to a DOM Node");var o=this.updateSVGAttributes(i);if(t){var a=o.querySelector("desc");a&&a.parentNode&&a.parentNode.removeChild(a);var s=document.createElement("desc");s.innerHTML=t,o.prepend(s)}if(r){var u=o.querySelector("title");u&&u.parentNode&&u.parentNode.removeChild(u);var l=document.createElement("title");l.innerHTML=r,o.prepend(l)}return o}catch(e){return this.handleError(e)}}}),Object.defineProperty(t.prototype,"getElement",{enumerable:!1,configurable:!0,writable:!0,value:function(){try{var e=this.getNode(),t=h(e);if(!t||!i.isValidElement(t))throw Error("Could not convert the src to a React element");this.setState({element:t,status:f.READY})}catch(e){this.handleError(Error(e.message))}}}),Object.defineProperty(t.prototype,"load",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this.isActive&&this.setState({content:"",element:null,status:f.LOADING},function(){var t,r=e.props,n=r.cacheRequests,i=r.src,o=n&&w[i];if(o&&o.status===f.LOADED){e.handleLoad(o.content);return}var a=i.match(/data:image\/svg[^,]*?(;base64)?,(.*)/);if(a?t=a[1]?window.atob(a[2]):decodeURIComponent(a[2]):i.includes("<svg")&&(t=i),t){e.handleLoad(t);return}e.request()})}}),Object.defineProperty(t.prototype,"updateSVGAttributes",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,r=this.props,n=r.baseURL,i=void 0===n?"":n,o=r.uniquifyIDs,a=["id","href","xlink:href","xlink:role","xlink:arcrole"],s=["href","xlink:href"];return o&&b([],y(e.children),!1).map(function(e){if(e.attributes&&e.attributes.length){var r=Object.values(e.attributes).map(function(e){var r=e.value.match(/url\((.*?)\)/);return r&&r[1]&&(e.value=e.value.replace(r[0],"url(".concat(i).concat(r[1],"__").concat(t.hash,")"))),e});a.forEach(function(e){var n,i=r.find(function(t){return t.name===e});i&&(n=i.value,!s.includes(e)||!n||n.includes("#"))&&(i.value="".concat(i.value,"__").concat(t.hash))})}return e.children.length?t.updateSVGAttributes(e):e}),e}}),Object.defineProperty(t.prototype,"processSVG",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.state.content,t=this.props.preProcessor;return t?t(e):e}}),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.state,t=e.element,r=e.status,n=this.props,o=n.children,a=n.innerRef,s=n.loader,u=void 0===s?null:s,l=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n={};for(var i in e)({}).hasOwnProperty.call(e,i)&&!t.includes(i)&&(n[i]=e[i]);return n}(this.props,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return m()?t?i.cloneElement(t,v({ref:a},l)):[f.UNSUPPORTED,f.FAILED].includes(r)?void 0===o?null:o:u:u}}),Object.defineProperty(t,"defaultProps",{enumerable:!0,configurable:!0,writable:!0,value:{cacheRequests:!0,uniquifyIDs:!1}}),t}(i.PureComponent)},89274:function(e,t,r){"use strict";r.d(t,{_y:function(){return a},zt:function(){return o}});var n=r(2784);r(73463);var i=n.createContext(null);i.Consumer;var o=i.Provider,a=i},67149:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(5163),i=r(2784),o=r(89274),a=r(87576);function s(e){var t,r=(t=i.useContext(o._y),(0,a.lq)(t),t),n=r.formatMessage,s=r.textComponent,u=void 0===s?i.Fragment:s,l=e.id,c=e.description,d=e.defaultMessage,h=e.values,p=e.children,f=e.tagName,m=void 0===f?u:f,g=n({id:l,description:c,defaultMessage:d},h,{ignoreTag:e.ignoreTag});return"function"==typeof p?p(Array.isArray(g)?g:[g]):m?i.createElement(m,null,i.Children.toArray(g)):i.createElement(i.Fragment,null,g)}s.displayName="FormattedMessage";var u=i.memo(s,function(e,t){var r=e.values,i=(0,n._T)(e,["values"]),o=t.values,s=(0,n._T)(t,["values"]);return(0,a.wU)(o,r)&&(0,a.wU)(i,s)});u.displayName="MemoizedFormattedMessage";var l=u},52005:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(5163),i=r(2784),o=r(89274),a=r(87576),s=r(73731),u=r(77481),l=r(40283),c=r(82614);function d(e,t){return Object.keys(e).reduce(function(r,i){return r[i]=(0,n.pi)({timeZone:t},e[i]),r},{})}function h(e,t){return Object.keys((0,n.pi)((0,n.pi)({},e),t)).reduce(function(r,i){return r[i]=(0,n.pi)((0,n.pi)({},e[i]||{}),t[i]||{}),r},{})}function p(e,t){if(!t)return e;var r=u.C.formats;return(0,n.pi)((0,n.pi)((0,n.pi)({},r),e),{date:h(d(r.date,t),d(e.date||{},t)),time:h(d(r.time,t),d(e.time||{},t))})}var f=function(e,t,r,i,o){var a=e.locale,u=e.formats,d=e.messages,h=e.defaultLocale,f=e.defaultFormats,m=e.fallbackOnEmptyString,g=e.onError,v=e.timeZone,y=e.defaultRichTextElements;void 0===r&&(r={id:""});var b=r.id,w=r.defaultMessage;(0,s.kG)(!!b,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var k=String(b),x=d&&Object.prototype.hasOwnProperty.call(d,k)&&d[k];if(Array.isArray(x)&&1===x.length&&x[0].type===c.wD.literal)return x[0].value;if(!i&&x&&"string"==typeof x&&!y)return x.replace(/'\{(.*?)\}'/gi,"{$1}");if(i=(0,n.pi)((0,n.pi)({},y),i||{}),u=p(u,v),f=p(f,v),!x){if(!1===m&&""===x)return x;if((!w||a&&a.toLowerCase()!==h.toLowerCase())&&g(new l.$6(r,a)),w)try{var _=t.getMessageFormat(w,h,f,o);return _.format(i)}catch(e){return g(new l.X9('Error formatting default message for: "'.concat(k,'", rendering default message verbatim'),a,r,e)),"string"==typeof w?w:k}return k}try{var _=t.getMessageFormat(x,a,u,(0,n.pi)({formatters:t},o||{}));return _.format(i)}catch(e){g(new l.X9('Error formatting message: "'.concat(k,'", using ').concat(w?"default message":"id"," as fallback."),a,r,e))}if(w)try{var _=t.getMessageFormat(w,h,f,o);return _.format(i)}catch(e){g(new l.X9('Error formatting the default message for: "'.concat(k,'", rendering message verbatim'),a,r,e))}return"string"==typeof x?x:"string"==typeof w?w:k},m=r(32428),g=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function v(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=a&&(0,m.TB)(i,"number",a,o)||{};return t(n,(0,m.L6)(r,g,s))}function y(e,t,r,n){void 0===n&&(n={});try{return v(e,t,n).format(r)}catch(t){e.onError(new l.Rw(l.bc.FORMAT_ERROR,"Error formatting number.",t))}return String(r)}function b(e,t,r,n){void 0===n&&(n={});try{return v(e,t,n).formatToParts(r)}catch(t){e.onError(new l.Rw(l.bc.FORMAT_ERROR,"Error formatting number.",t))}return[]}var w=r(56313),k=["numeric","style"];function x(e,t,r,n,i){void 0===i&&(i={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new w.u_('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',w.jK.MISSING_INTL_API));try{var o,a,s,u,c,d;return(o=i,a=e.locale,s=e.formats,u=e.onError,void 0===o&&(o={}),d=!!(c=o.format)&&(0,m.TB)(s,"relative",c,u)||{},t(a,(0,m.L6)(o,k,d))).format(r,n)}catch(t){e.onError(new l.Qe("Error formatting relative time.",e.locale,t))}return String(r)}var _=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function S(e,t,r,i){var o=e.locale,a=e.formats,s=e.onError,u=e.timeZone;void 0===i&&(i={});var l=i.format,c=(0,n.pi)((0,n.pi)({},u&&{timeZone:u}),l&&(0,m.TB)(a,t,l,s)),d=(0,m.L6)(i,_,c);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=(0,n.pi)((0,n.pi)({},d),{hour:"numeric",minute:"numeric"})),r(o,d)}function E(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a="string"==typeof i?new Date(i||0):i;try{return S(e,"date",t,void 0===o?{}:o).format(a)}catch(t){e.onError(new l.Rw(l.bc.FORMAT_ERROR,"Error formatting date.",t))}return String(a)}function D(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a="string"==typeof i?new Date(i||0):i;try{return S(e,"time",t,void 0===o?{}:o).format(a)}catch(t){e.onError(new l.Rw(l.bc.FORMAT_ERROR,"Error formatting time.",t))}return String(a)}function C(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=r[2],s=e.timeZone,u=e.locale,c=e.onError,d=(0,m.L6)(void 0===a?{}:a,_,s?{timeZone:s}:{});try{return t(u,d).formatRange(i,o)}catch(e){c(new l.Rw(l.bc.FORMAT_ERROR,"Error formatting date time range.",e))}return String(i)}function j(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a="string"==typeof i?new Date(i||0):i;try{return S(e,"date",t,void 0===o?{}:o).formatToParts(a)}catch(t){e.onError(new l.Rw(l.bc.FORMAT_ERROR,"Error formatting date.",t))}return[]}function O(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a="string"==typeof i?new Date(i||0):i;try{return S(e,"time",t,void 0===o?{}:o).formatToParts(a)}catch(t){e.onError(new l.Rw(l.bc.FORMAT_ERROR,"Error formatting time.",t))}return[]}var T=["type"];function A(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.PluralRules||o(new w.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',w.jK.MISSING_INTL_API));var a=(0,m.L6)(n,T);try{return t(i,a).select(r)}catch(e){o(new l.Qe("Error formatting plural.",i,e))}return"other"}var P=["type","style"],R=Date.now();function M(e,t,r,n){void 0===n&&(n={});var i=F(e,t,r,n).reduce(function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e},[]);return 1===i.length?i[0]:0===i.length?"":i}function F(e,t,r,i){var o=e.locale,a=e.onError;void 0===i&&(i={}),Intl.ListFormat||a(new w.u_('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',w.jK.MISSING_INTL_API));var s=(0,m.L6)(i,P);try{var u={},c=r.map(function(e,t){if("object"==typeof e){var r="".concat(R,"_").concat(t,"_").concat(R);return u[r]=e,r}return String(e)});return t(o,s).formatToParts(c).map(function(e){return"literal"===e.type?e:(0,n.pi)((0,n.pi)({},e),{value:u[e.value]||e.value})})}catch(e){a(new l.Rw(l.bc.FORMAT_ERROR,"Error formatting list.",e))}return r}var N=["style","type","fallback"];function I(e,t,r,n){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new w.u_('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',w.jK.MISSING_INTL_API));var a=(0,m.L6)(n,N);try{return t(i,a).of(r)}catch(e){o(new l.Rw(l.bc.FORMAT_ERROR,"Error formatting display name.",e))}}var L=r(30087);function B(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function z(e){return e?Object.keys(e).reduce(function(t,r){var n=e[r];return t[r]=(0,L.Gt)(n)?(0,a.dt)(n):n,t},{}):e}var U=function(e,t,r,o){for(var a=[],s=4;s<arguments.length;s++)a[s-4]=arguments[s];var u=z(o),l=f.apply(void 0,(0,n.ev)([e,t,r,u],a,!1));return Array.isArray(l)?i.Children.toArray(l):l},q=function(e,t){var r,i,o,s,u,c,d,h=e.defaultRichTextElements,p=(0,n._T)(e,["defaultRichTextElements"]),g=z(h),v=(i=(0,n.pi)((0,n.pi)((0,n.pi)({},a.Z0),p),{defaultRichTextElements:g}),o=(0,m.ax)(t),u=(s=(0,n.pi)((0,n.pi)({},m.Z0),i)).locale,c=s.defaultLocale,d=s.onError,u?!Intl.NumberFormat.supportedLocalesOf(u).length&&d?d(new l.gb('Missing locale data for locale: "'.concat(u,'" in Intl.NumberFormat. Using default locale: "').concat(c,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(u).length&&d&&d(new l.gb('Missing locale data for locale: "'.concat(u,'" in Intl.DateTimeFormat. Using default locale: "').concat(c,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(d&&d(new l.OV('"locale" was not configured, using "'.concat(c,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),s.locale=s.defaultLocale||"en"),s.onWarn&&s.defaultRichTextElements&&"string"==typeof(r=s.messages||{})[Object.keys(r)[0]]&&s.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution'),(0,n.pi)((0,n.pi)({},s),{formatters:o,formatNumber:y.bind(null,s,o.getNumberFormat),formatNumberToParts:b.bind(null,s,o.getNumberFormat),formatRelativeTime:x.bind(null,s,o.getRelativeTimeFormat),formatDate:E.bind(null,s,o.getDateTimeFormat),formatDateToParts:j.bind(null,s,o.getDateTimeFormat),formatTime:D.bind(null,s,o.getDateTimeFormat),formatDateTimeRange:C.bind(null,s,o.getDateTimeFormat),formatTimeToParts:O.bind(null,s,o.getDateTimeFormat),formatPlural:A.bind(null,s,o.getPluralRules),formatMessage:f.bind(null,s,o),$t:f.bind(null,s,o),formatList:M.bind(null,s,o.getListFormat),formatListToParts:F.bind(null,s,o.getListFormat),formatDisplayName:I.bind(null,s,o.getDisplayNames)})),w={locale:v.locale,timeZone:v.timeZone,fallbackOnEmptyString:v.fallbackOnEmptyString,formats:v.formats,defaultLocale:v.defaultLocale,defaultFormats:v.defaultFormats,messages:v.messages,onError:v.onError,defaultRichTextElements:g};return(0,n.pi)((0,n.pi)({},v),{formatMessage:U.bind(null,w,v.formatters),$t:U.bind(null,w,v.formatters)})},$=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache=(0,m.Sn)(),t.state={cache:t.cache,intl:q(B(t.props),t.cache),prevConfig:B(t.props)},t}return(0,n.ZT)(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,i=B(e);return(0,a.wU)(r,i)?null:{intl:q(i,n),prevConfig:i}},t.prototype.render=function(){return(0,a.lq)(this.state.intl),i.createElement(o.zt,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=a.Z0,t}(i.PureComponent)},87576:function(e,t,r){"use strict";r.d(t,{Z0:function(){return u},dt:function(){return l},lq:function(){return s},wU:function(){return c}});var n=r(5163),i=r(2784),o=r(73731),a=r(32428);function s(e){(0,o.kG)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var u=(0,n.pi)((0,n.pi)({},a.Z0),{textComponent:i.Fragment});function l(e){return function(t){return e(i.Children.toArray(t))}}function c(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var a=r[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},66866:function(e,t){"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.module.reference")},48570:function(e,t,r){"use strict";r(66866)},35741:function(e,t,r){"use strict";r.d(t,{D:function(){return c}});var n=r(2784),i=r(62465),o=r(26503),a=r.n(o),s=function(e){return e.reduce(function(e,t){var r=t[0],n=t[1];return e[r]=n,e},{})},u="undefined"!=typeof window&&window.document&&window.document.createElement?n.useLayoutEffect:n.useEffect,l=[],c=function(e,t,r){void 0===r&&(r={});var o=n.useRef(null),c={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||l},d=n.useState({styles:{popper:{position:c.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),h=d[0],p=d[1],f=n.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,r=Object.keys(t.elements);p({styles:s(r.map(function(e){return[e,t.styles[e]||{}]})),attributes:s(r.map(function(e){return[e,t.attributes[e]]}))})},requires:["computeStyles"]}},[]),m=n.useMemo(function(){var e={onFirstUpdate:c.onFirstUpdate,placement:c.placement,strategy:c.strategy,modifiers:[].concat(c.modifiers,[f,{name:"applyStyles",enabled:!1}])};return a()(o.current,e)?o.current||e:(o.current=e,e)},[c.onFirstUpdate,c.placement,c.strategy,c.modifiers,f]),g=n.useRef();return u(function(){g.current&&g.current.setOptions(m)},[m]),u(function(){if(null!=e&&null!=t){var n=(r.createPopper||i.fi)(e,t,m);return g.current=n,function(){n.destroy(),g.current=null}}},[e,t,r.createPopper]),{state:g.current?g.current.state:null,styles:h.styles,attributes:h.attributes,update:g.current?g.current.update:null,forceUpdate:g.current?g.current.forceUpdate:null}}},26503:function(e){var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,u,l,c;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((s=o.length)!=a.length)return!1;for(u=s;0!=u--;)if(!e(o[u],a[u]))return!1;return!0}if(r&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(c=o.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;for(c=o.entries();!(u=c.next()).done;)if(!e(u.value[1],a.get(u.value[0])))return!1;return!0}if(n&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(c=o.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((s=o.length)!=a.length)return!1;for(u=s;0!=u--;)if(o[u]!==a[u])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===a.toString();if((s=(l=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,l[u]))return!1;if(t&&o instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!o.$$typeof)&&!e(o[l[u]],a[l[u]]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},43997:function(e,t,r){"use strict";r.d(t,{zt:function(){return g},I0:function(){return b},v9:function(){return p},oR:function(){return y}});var n=r(43100),i=r(41110),o=r(28316);let a=function(e){e()},s=()=>a;var u=r(2784);let l=u.createContext(null);function c(){return(0,u.useContext)(l)}let d=()=>{throw Error("uSES not initialized!")},h=(e,t)=>e===t,p=function(e=l){let t=e===l?c:()=>(0,u.useContext)(e);return function(e,r=h){let{store:n,subscription:i,getServerState:o}=t(),a=d(i.addNestedSub,n.getState,o||n.getState,e,r);return(0,u.useDebugValue)(a),a}}();r(73463),r(48570);let f={notify(){},get:()=>[]},m="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?u.useLayoutEffect:u.useEffect;var g=function({store:e,context:t,children:r,serverState:n}){let i=(0,u.useMemo)(()=>{let t=function(e,t){let r;let n=f;function i(){a.onStateChange&&a.onStateChange()}function o(){r||(r=e.subscribe(i),n=function(){let e=s(),t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let e=t;for(;e;)e.callback(),e=e.next})},get(){let e=[],r=t;for(;r;)e.push(r),r=r.next;return e},subscribe(e){let n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}let a={addNestedSub:function(e){return o(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return!!r},trySubscribe:o,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=f)},getListeners:()=>n};return a}(e);return{store:e,subscription:t,getServerState:n?()=>n:void 0}},[e,n]),o=(0,u.useMemo)(()=>e.getState(),[e]);m(()=>{let{subscription:t}=i;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),o!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}},[i,o]);let a=t||l;return u.createElement(a.Provider,{value:i},r)};function v(e=l){let t=e===l?c:()=>(0,u.useContext)(e);return function(){let{store:e}=t();return e}}let y=v(),b=function(e=l){let t=e===l?y:v(e);return function(){return t().dispatch}}();d=i.useSyncExternalStoreWithSelector,n.useSyncExternalStore,a=o.unstable_batchedUpdates},95346:function(e,t,r){"use strict";r.d(t,{Av:function(){return a},pF:function(){return n},xv:function(){return o},zi:function(){return i}});var n="right-scroll-bar-position",i="width-before-scroll-bar",o="with-scroll-bars-hidden",a="--removed-body-scroll-bar-size"},181:function(e,t,r){"use strict";r.d(t,{jp:function(){return h}});var n=r(2784),i=r(33225),o=r(95346),a={left:0,top:0,right:0,gap:0},s=function(e){return parseInt(e||"",10)||0},u=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[s(r),s(n),s(i)]},l=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return a;var t=u(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},c=(0,i.Ws)(),d=function(e,t,r,n){var i=e.left,a=e.top,s=e.right,u=e.gap;return void 0===r&&(r="margin"),"\n  .".concat(o.xv," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(u,"px ").concat(n,";\n  }\n  body {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(u,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(o.pF," {\n    right: ").concat(u,"px ").concat(n,";\n  }\n  \n  .").concat(o.zi," {\n    margin-right: ").concat(u,"px ").concat(n,";\n  }\n  \n  .").concat(o.pF," .").concat(o.pF," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(o.zi," .").concat(o.zi," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body {\n    ").concat(o.Av,": ").concat(u,"px;\n  }\n")},h=function(e){var t=e.noRelative,r=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i,a=n.useMemo(function(){return l(o)},[o]);return n.createElement(c,{styles:d(a,!t,o,r?"":"!important")})}},75641:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(2784);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){function t(){return e.apply(this,arguments)||this}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var r=t.prototype;return r.getColumns=function(){var e=this.props,t=e.children,r=e.columnsCount,i=Array.from({length:r},function(){return[]});return n.Children.forEach(t,function(e,t){e&&n.isValidElement(e)&&i[t%r].push(e)}),i},r.renderColumns=function(){var e=this.props.gutter;return this.getColumns().map(function(t,r){return n.createElement("div",{key:r,style:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignContent:"stretch",flex:1,width:0,gap:e}},t.map(function(e){return e}))})},r.render=function(){var e=this.props,t=e.gutter,r=e.className,o=e.style;return n.createElement("div",{style:i({display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"stretch",boxSizing:"border-box",width:"100%",gap:t},o),className:r},this.renderColumns())},t}(n.Component);a.propTypes={},a.defaultProps={columnsCount:3,gutter:"0",className:null,style:{}};var s="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,u=a},33225:function(e,t,r){"use strict";r.d(t,{Ws:function(){return s}});var n,i=r(2784),o=function(){var e=0,t=null;return{add:function(i){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n||r.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=i:o.appendChild(document.createTextNode(i)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},a=function(){var e=o();return function(t,r){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},s=function(){var e=a();return function(t){return e(t.styles,t.dynamic),null}}},32718:function(e,t,r){var n,i=r(58085),o=r(41964),a=r(53207),s=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;e.exports=function(e,t){return n=0,t=Math.pow(10,void 0===t?5:t),o(e=e.replace(/\n+/g," "),/((?:\-[a-z]+\-)?calc)\(/,function e(r,o,u){if(n++>100)throw n=0,Error("Call stack overflow for "+u);if(""===r)throw Error(o+"(): '"+u+"' must contain a non-whitespace string");var l,c=function(e){for(var t=[],r=[],n=/[\.0-9]([%a-z]+)/gi,i=n.exec(e);i;)i&&i[1]&&(-1===r.indexOf(i[1].toLowerCase())&&(t.push(i[1]),r.push(i[1].toLowerCase())),i=n.exec(e));return t}(r=function(t,r){t=t.replace(/((?:\-[a-z]+\-)?calc)/g,"");for(var n,o="",a=t;n=s.exec(a);){n[0].index>0&&(o+=a.substring(0,n[0].index));var u=i("(",")",a.substring([0].index));if(""===u.body)throw Error("'"+t+"' must contain a non-whitespace string");var l=e(u.body,"",r);o+=u.pre+l,a=u.post}return o+a}(r,u));if(c.length>1||r.indexOf("var(")>-1)return o+"("+r+")";var d=c[0]||"";"%"===d&&(r=r.replace(/\b[0-9\.]+%/g,function(e){return .01*parseFloat(e.slice(0,-1))}));var h=r.replace(RegExp(d,"gi"),"");try{l=a.eval(h)}catch(e){return o+"("+r+")"}return"%"===d&&(l*=100),(o.length||"%"===d)&&(l=Math.round(l*t)/t),l+=d})}},58085:function(e){function t(e,t,i){e instanceof RegExp&&(e=r(e,i)),t instanceof RegExp&&(t=r(t,i));var o=n(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function r(e,t){var r=t.match(e);return r?r[0]:null}function n(e,t,r){var n,i,o,a,s,u=r.indexOf(e),l=r.indexOf(t,u+1),c=u;if(u>=0&&l>0){for(n=[],o=r.length;c>=0&&!s;)c==u?(n.push(c),u=r.indexOf(e,c+1)):1==n.length?s=[n.pop(),l]:((i=n.pop())<o&&(o=i,a=l),l=r.indexOf(t,c+1)),c=u<l&&u>=0?u:l;n.length&&(s=[o,a])}return s}e.exports=t,t.range=n},41964:function(e,t,r){var n=r(82294);e.exports=function e(t,r,i){return(function(e,t){var r=[],i="string"==typeof t?RegExp("\\b("+t+")\\("):t;do{var o=i.exec(e);if(!o)break;if(void 0===o[1])throw Error("Missing the first couple of parenthesis to get the function identifier in "+t);var a=o[1],s=o.index,u=n("(",")",e.substring(s));if(!u||u.start!==o[0].length-1)throw SyntaxError(a+"(): missing closing ')' in the value '"+e+"'");r.push({matches:u,functionIdentifier:a}),e=u.post}while(i.test(e));return r})(t,r).reduce(function(n,o){var a,s;return n.replace(o.functionIdentifier+"("+o.matches.body+")",(a=o.matches.body,s=o.functionIdentifier,i(e(a,r,i),s,t)))},t)}},38726:function(e,t,r){"use strict";r.d(t,{md:function(){return p},UY:function(){return d},qC:function(){return h},MT:function(){return c}});var n=r(56666);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"==typeof Symbol&&Symbol.observable||"@@observable",u=function(){return Math.random().toString(36).substring(7).split("").join(".")},l={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}};function c(e,t,r){if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(a(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw Error(a(1));return r(c)(e,t)}if("function"!=typeof e)throw Error(a(2));var n,i=e,o=t,u=[],d=u,h=!1;function p(){d===u&&(d=u.slice())}function f(){if(h)throw Error(a(3));return o}function m(e){if("function"!=typeof e)throw Error(a(4));if(h)throw Error(a(5));var t=!0;return p(),d.push(e),function(){if(t){if(h)throw Error(a(6));t=!1,p();var r=d.indexOf(e);d.splice(r,1),u=null}}}function g(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw Error(a(7));if(void 0===e.type)throw Error(a(8));if(h)throw Error(a(9));try{h=!0,o=i(o,e)}finally{h=!1}for(var t=u=d,r=0;r<t.length;r++)(0,t[r])();return e}return g({type:l.INIT}),(n={dispatch:g,subscribe:m,getState:f,replaceReducer:function(e){if("function"!=typeof e)throw Error(a(10));i=e,g({type:l.REPLACE})}})[s]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(a(11));function t(){e.next&&e.next(f())}return t(),{unsubscribe:m(t)}}})[s]=function(){return this},e},n}function d(e){for(var t,r=Object.keys(e),n={},i=0;i<r.length;i++){var o=r[i];"function"==typeof e[o]&&(n[o]=e[o])}var s=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var r=e[t];if(void 0===r(void 0,{type:l.INIT}))throw Error(a(12));if(void 0===r(void 0,{type:l.PROBE_UNKNOWN_ACTION()}))throw Error(a(13))})}(n)}catch(e){t=e}return function(e,r){if(void 0===e&&(e={}),t)throw t;for(var i=!1,o={},u=0;u<s.length;u++){var l=s[u],c=n[l],d=e[l],h=c(d,r);if(void 0===h)throw r&&r.type,Error(a(14));o[l]=h,i=i||h!==d}return(i=i||s.length!==Object.keys(e).length)?o:e}}function h(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function p(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw Error(a(15))},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},s=t.map(function(e){return e(i)});return n=h.apply(void 0,s)(r.dispatch),o(o({},r),{},{dispatch:n})}}}},57245:function(e){"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},1313:function(e,t,r){var n=r(88421),i=r(12824),o=r(244),a=r(10330),s=r(45028),u=r(33929),l=r(53154);l.alea=n,l.xor128=i,l.xorwow=o,l.xorshift7=a,l.xor4096=s,l.tychei=u,e.exports=l},88421:function(e,t,r){var n;!function(e,i,o){function a(e){var t,r=this,n=(t=4022871197,function(e){e=String(e);for(var r=0;r<e.length;r++){var n=.02519603282416938*(t+=e.charCodeAt(r));t=n>>>0,n-=t,n*=t,t=n>>>0,n-=t,t+=4294967296*n}return(t>>>0)*23283064365386963e-26});r.next=function(){var e=2091639*r.s0+23283064365386963e-26*r.c;return r.s0=r.s1,r.s1=r.s2,r.s2=e-(r.c=0|e)},r.c=1,r.s0=n(" "),r.s1=n(" "),r.s2=n(" "),r.s0-=n(e),r.s0<0&&(r.s0+=1),r.s1-=n(e),r.s1<0&&(r.s1+=1),r.s2-=n(e),r.s2<0&&(r.s2+=1)}function s(e,t){return t.c=e.c,t.s0=e.s0,t.s1=e.s1,t.s2=e.s2,t}function u(e,t){var r=new a(e),n=t&&t.state,i=r.next;return i.int32=function(){return 4294967296*r.next()|0},i.double=function(){return i()+(2097152*i()|0)*11102230246251565e-32},i.quick=i,n&&("object"==typeof n&&s(n,r),i.state=function(){return s(r,{})}),i}i&&i.exports?i.exports=u:r.amdD&&r.amdO?void 0!==(n=(function(){return u}).call(t,r,t,i))&&(i.exports=n):this.alea=u}(0,e=r.nmd(e),r.amdD)},33929:function(e,t,r){var n;!function(e,i,o){function a(e){var t=this,r="";t.next=function(){var e=t.b,r=t.c,n=t.d,i=t.a;return e=e<<25^e>>>7^r,r=r-n|0,n=n<<24^n>>>8^i,i=i-e|0,t.b=e=e<<20^e>>>12^r,t.c=r=r-n|0,t.d=n<<16^r>>>16^i,t.a=i-e|0},t.a=0,t.b=0,t.c=-1640531527,t.d=1367130551,e===Math.floor(e)?(t.a=e/4294967296|0,t.b=0|e):r+=e;for(var n=0;n<r.length+20;n++)t.b^=0|r.charCodeAt(n),t.next()}function s(e,t){return t.a=e.a,t.b=e.b,t.c=e.c,t.d=e.d,t}function u(e,t){var r=new a(e),n=t&&t.state,i=function(){return(r.next()>>>0)/4294967296};return i.double=function(){do var e=((r.next()>>>11)+(r.next()>>>0)/4294967296)/2097152;while(0===e);return e},i.int32=r.next,i.quick=i,n&&("object"==typeof n&&s(n,r),i.state=function(){return s(r,{})}),i}i&&i.exports?i.exports=u:r.amdD&&r.amdO?void 0!==(n=(function(){return u}).call(t,r,t,i))&&(i.exports=n):this.tychei=u}(0,e=r.nmd(e),r.amdD)},12824:function(e,t,r){var n;!function(e,i,o){function a(e){var t=this,r="";t.x=0,t.y=0,t.z=0,t.w=0,t.next=function(){var e=t.x^t.x<<11;return t.x=t.y,t.y=t.z,t.z=t.w,t.w^=t.w>>>19^e^e>>>8},e===(0|e)?t.x=e:r+=e;for(var n=0;n<r.length+64;n++)t.x^=0|r.charCodeAt(n),t.next()}function s(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t}function u(e,t){var r=new a(e),n=t&&t.state,i=function(){return(r.next()>>>0)/4294967296};return i.double=function(){do var e=((r.next()>>>11)+(r.next()>>>0)/4294967296)/2097152;while(0===e);return e},i.int32=r.next,i.quick=i,n&&("object"==typeof n&&s(n,r),i.state=function(){return s(r,{})}),i}i&&i.exports?i.exports=u:r.amdD&&r.amdO?void 0!==(n=(function(){return u}).call(t,r,t,i))&&(i.exports=n):this.xor128=u}(0,e=r.nmd(e),r.amdD)},45028:function(e,t,r){var n;!function(e,i,o){function a(e){var t=this;t.next=function(){var e,r,n=t.w,i=t.X,o=t.i;return t.w=n=n+1640531527|0,r=i[o+34&127],e=i[o=o+1&127],r^=r<<13,e^=e<<17,r^=r>>>15,e^=e>>>12,r=i[o]=r^e,t.i=o,r+(n^n>>>16)|0},function(e,t){var r,n,i,o,a,s=[],u=128;for(t===(0|t)?(n=t,t=null):(t+="\0",n=0,u=Math.max(u,t.length)),i=0,o=-32;o<u;++o)t&&(n^=t.charCodeAt((o+32)%t.length)),0===o&&(a=n),n^=n<<10,n^=n>>>15,n^=n<<4,n^=n>>>13,o>=0&&(a=a+1640531527|0,i=0==(r=s[127&o]^=n+a)?i+1:0);for(i>=128&&(s[127&(t&&t.length||0)]=-1),i=127,o=512;o>0;--o)n=s[i+34&127],r=s[i=i+1&127],n^=n<<13,r^=r<<17,n^=n>>>15,r^=r>>>12,s[i]=n^r;e.w=a,e.X=s,e.i=i}(t,e)}function s(e,t){return t.i=e.i,t.w=e.w,t.X=e.X.slice(),t}function u(e,t){null==e&&(e=+new Date);var r=new a(e),n=t&&t.state,i=function(){return(r.next()>>>0)/4294967296};return i.double=function(){do var e=((r.next()>>>11)+(r.next()>>>0)/4294967296)/2097152;while(0===e);return e},i.int32=r.next,i.quick=i,n&&(n.X&&s(n,r),i.state=function(){return s(r,{})}),i}i&&i.exports?i.exports=u:r.amdD&&r.amdO?void 0!==(n=(function(){return u}).call(t,r,t,i))&&(i.exports=n):this.xor4096=u}(0,e=r.nmd(e),r.amdD)},10330:function(e,t,r){var n;!function(e,i,o){function a(e){var t=this;t.next=function(){var e,r,n=t.x,i=t.i;return e=n[i],e^=e>>>7,r=e^e<<24^((e=n[i+1&7])^e>>>10)^((e=n[i+3&7])^e>>>3)^((e=n[i+4&7])^e<<7),e=n[i+7&7],e^=e<<13,r^=e^e<<9,n[i]=r,t.i=i+1&7,r},function(e,t){var r,n=[];if(t===(0|t))n[0]=t;else for(r=0,t=""+t;r<t.length;++r)n[7&r]=n[7&r]<<15^t.charCodeAt(r)+n[r+1&7]<<13;for(;n.length<8;)n.push(0);for(r=0;r<8&&0===n[r];++r);for(8==r?n[7]=-1:n[r],e.x=n,e.i=0,r=256;r>0;--r)e.next()}(t,e)}function s(e,t){return t.x=e.x.slice(),t.i=e.i,t}function u(e,t){null==e&&(e=+new Date);var r=new a(e),n=t&&t.state,i=function(){return(r.next()>>>0)/4294967296};return i.double=function(){do var e=((r.next()>>>11)+(r.next()>>>0)/4294967296)/2097152;while(0===e);return e},i.int32=r.next,i.quick=i,n&&(n.x&&s(n,r),i.state=function(){return s(r,{})}),i}i&&i.exports?i.exports=u:r.amdD&&r.amdO?void 0!==(n=(function(){return u}).call(t,r,t,i))&&(i.exports=n):this.xorshift7=u}(0,e=r.nmd(e),r.amdD)},244:function(e,t,r){var n;!function(e,i,o){function a(e){var t=this,r="";t.next=function(){var e=t.x^t.x>>>2;return t.x=t.y,t.y=t.z,t.z=t.w,t.w=t.v,(t.d=t.d+362437|0)+(t.v=t.v^t.v<<4^(e^e<<1))|0},t.x=0,t.y=0,t.z=0,t.w=0,t.v=0,e===(0|e)?t.x=e:r+=e;for(var n=0;n<r.length+64;n++)t.x^=0|r.charCodeAt(n),n==r.length&&(t.d=t.x<<10^t.x>>>4),t.next()}function s(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t.v=e.v,t.d=e.d,t}function u(e,t){var r=new a(e),n=t&&t.state,i=function(){return(r.next()>>>0)/4294967296};return i.double=function(){do var e=((r.next()>>>11)+(r.next()>>>0)/4294967296)/2097152;while(0===e);return e},i.int32=r.next,i.quick=i,n&&("object"==typeof n&&s(n,r),i.state=function(){return s(r,{})}),i}i&&i.exports?i.exports=u:r.amdD&&r.amdO?void 0!==(n=(function(){return u}).call(t,r,t,i))&&(i.exports=n):this.xorwow=u}(0,e=r.nmd(e),r.amdD)},53154:function(e,t,r){var n;!function(i,o,a){var s,u=a.pow(256,6),l=a.pow(2,52),c=2*l;function d(e,t,r){var n=[],d=f(function e(t,r){var n,i=[],o=typeof t;if(r&&"object"==o)for(n in t)try{i.push(e(t[n],r-1))}catch(e){}return i.length?i:"string"==o?t:t+"\0"}((t=!0==t?{entropy:!0}:t||{}).entropy?[e,m(o)]:null==e?function(){try{var e;return s&&(e=s.randomBytes)?e=e(256):(e=new Uint8Array(256),(i.crypto||i.msCrypto).getRandomValues(e)),m(e)}catch(e){var t=i.navigator,r=t&&t.plugins;return[+new Date,i,r,i.screen,m(o)]}}():e,3),n),g=new h(n),v=function(){for(var e=g.g(6),t=u,r=0;e<l;)e=(e+r)*256,t*=256,r=g.g(1);for(;e>=c;)e/=2,t/=2,r>>>=1;return(e+r)/t};return v.int32=function(){return 0|g.g(4)},v.quick=function(){return g.g(4)/4294967296},v.double=v,f(m(g.S),o),(t.pass||r||function(e,t,r,n){return(n&&(n.S&&p(n,g),e.state=function(){return p(g,{})}),r)?(a.random=e,t):e})(v,d,"global"in t?t.global:this==a,t.state)}function h(e){var t,r=e.length,n=this,i=0,o=n.i=n.j=0,a=n.S=[];for(r||(e=[r++]);i<256;)a[i]=i++;for(i=0;i<256;i++)a[i]=a[o=255&o+e[i%r]+(t=a[i])],a[o]=t;(n.g=function(e){for(var t,r=0,i=n.i,o=n.j,a=n.S;e--;)t=a[i=255&i+1],r=256*r+a[255&(a[i]=a[o=255&o+t])+(a[o]=t)];return n.i=i,n.j=o,r})(256)}function p(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function f(e,t){for(var r,n=e+"",i=0;i<n.length;)t[255&i]=255&(r^=19*t[255&i])+n.charCodeAt(i++);return m(t)}function m(e){return String.fromCharCode.apply(0,e)}if(f(a.random(),o),e.exports){e.exports=d;try{s=r(80660)}catch(e){}}else void 0!==(n=(function(){return d}).call(t,r,t,e))&&(e.exports=n)}("undefined"!=typeof self?self:this,[],Math)},74294:function(e,t,r){"use strict";var n=r(39225),i=r(62680),o=r(99500),a=n("%TypeError%"),s=n("%WeakMap%",!0),u=n("%Map%",!0),l=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),h=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},g=function(e,t){var r=m(e,t);return r&&r.value},v=function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+o(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return l(e,n)}else if(u){if(t)return h(t,n)}else if(r)return g(r,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return d(e,n)}else if(u){if(t)return f(t,n)}else if(r)return!!m(r,n);return!1},set:function(n,i){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),c(e,n,i)):u?(t||(t=new u),p(t,n,i)):(r||(r={key:{},next:null}),v(r,n,i))}};return n}},39225:function(e,t,r){"use strict";var n,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var l=function(){throw new a},c=u?function(){try{return arguments.callee,l}catch(e){try{return u(arguments,"callee").get}catch(e){return l}}}():l,d=r(39808)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?n:h(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?h(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?h(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):n,"%Symbol%":d?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},g=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(r=h(i.prototype))}return m[t]=r,r},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=r(4090),b=r(23198),w=y.call(Function.call,Array.prototype.concat),k=y.call(Function.apply,Array.prototype.splice),x=y.call(Function.call,String.prototype.replace),_=y.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,D=function(e){var t=_(e,0,1),r=_(e,-1);if("%"===t&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return x(e,S,function(e,t,r,i){n[n.length]=r?x(i,E,"$1"):t||e}),n},C=function(e,t){var r,n=e;if(b(v,n)&&(n="%"+(r=v[n])[0]+"%"),b(m,n)){var o=m[n];if(o===p&&(o=g(n)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var r=D(e),n=r.length>0?r[0]:"",o=C("%"+n+"%",t),s=o.name,l=o.value,c=!1,d=o.alias;d&&(n=d[0],k(r,w([0,1],d)));for(var h=1,p=!0;h<r.length;h+=1){var f=r[h],g=_(f,0,1),v=_(f,-1);if(('"'===g||"'"===g||"`"===g||'"'===v||"'"===v||"`"===v)&&g!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==f&&p||(c=!0),n+="."+f,b(m,s="%"+n+"%"))l=m[s];else if(null!=l){if(!(f in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&h+1>=r.length){var y=u(l,f);l=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:l[f]}else p=b(l,f),l=l[f];p&&!c&&(m[s]=l)}}return l}},39808:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(17802);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},17802:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},84791:function(e){var t;t=function(e){"use strict";var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(e,t){var r=e[0],n=e[1],i=e[2],o=e[3];r+=(n&i|~n&o)+t[0]-680876936|0,o+=((r=(r<<7|r>>>25)+n|0)&n|~r&i)+t[1]-389564586|0,i+=((o=(o<<12|o>>>20)+r|0)&r|~o&n)+t[2]+606105819|0,n+=((i=(i<<17|i>>>15)+o|0)&o|~i&r)+t[3]-1044525330|0,r+=((n=(n<<22|n>>>10)+i|0)&i|~n&o)+t[4]-176418897|0,o+=((r=(r<<7|r>>>25)+n|0)&n|~r&i)+t[5]+1200080426|0,i+=((o=(o<<12|o>>>20)+r|0)&r|~o&n)+t[6]-1473231341|0,n+=((i=(i<<17|i>>>15)+o|0)&o|~i&r)+t[7]-45705983|0,r+=((n=(n<<22|n>>>10)+i|0)&i|~n&o)+t[8]+1770035416|0,o+=((r=(r<<7|r>>>25)+n|0)&n|~r&i)+t[9]-1958414417|0,i+=((o=(o<<12|o>>>20)+r|0)&r|~o&n)+t[10]-42063|0,n+=((i=(i<<17|i>>>15)+o|0)&o|~i&r)+t[11]-1990404162|0,r+=((n=(n<<22|n>>>10)+i|0)&i|~n&o)+t[12]+1804603682|0,o+=((r=(r<<7|r>>>25)+n|0)&n|~r&i)+t[13]-40341101|0,i+=((o=(o<<12|o>>>20)+r|0)&r|~o&n)+t[14]-1502002290|0,n+=((i=(i<<17|i>>>15)+o|0)&o|~i&r)+t[15]+1236535329|0,r+=((n=(n<<22|n>>>10)+i|0)&o|i&~o)+t[1]-165796510|0,o+=((r=(r<<5|r>>>27)+n|0)&i|n&~i)+t[6]-1069501632|0,i+=((o=(o<<9|o>>>23)+r|0)&n|r&~n)+t[11]+643717713|0,n+=((i=(i<<14|i>>>18)+o|0)&r|o&~r)+t[0]-373897302|0,r+=((n=(n<<20|n>>>12)+i|0)&o|i&~o)+t[5]-701558691|0,o+=((r=(r<<5|r>>>27)+n|0)&i|n&~i)+t[10]+38016083|0,i+=((o=(o<<9|o>>>23)+r|0)&n|r&~n)+t[15]-660478335|0,n+=((i=(i<<14|i>>>18)+o|0)&r|o&~r)+t[4]-405537848|0,r+=((n=(n<<20|n>>>12)+i|0)&o|i&~o)+t[9]+568446438|0,o+=((r=(r<<5|r>>>27)+n|0)&i|n&~i)+t[14]-1019803690|0,i+=((o=(o<<9|o>>>23)+r|0)&n|r&~n)+t[3]-187363961|0,n+=((i=(i<<14|i>>>18)+o|0)&r|o&~r)+t[8]+1163531501|0,r+=((n=(n<<20|n>>>12)+i|0)&o|i&~o)+t[13]-1444681467|0,o+=((r=(r<<5|r>>>27)+n|0)&i|n&~i)+t[2]-51403784|0,i+=((o=(o<<9|o>>>23)+r|0)&n|r&~n)+t[7]+1735328473|0,n+=((i=(i<<14|i>>>18)+o|0)&r|o&~r)+t[12]-1926607734|0,r+=((n=(n<<20|n>>>12)+i|0)^i^o)+t[5]-378558|0,o+=((r=(r<<4|r>>>28)+n|0)^n^i)+t[8]-2022574463|0,i+=((o=(o<<11|o>>>21)+r|0)^r^n)+t[11]+1839030562|0,n+=((i=(i<<16|i>>>16)+o|0)^o^r)+t[14]-35309556|0,r+=((n=(n<<23|n>>>9)+i|0)^i^o)+t[1]-1530992060|0,o+=((r=(r<<4|r>>>28)+n|0)^n^i)+t[4]+1272893353|0,i+=((o=(o<<11|o>>>21)+r|0)^r^n)+t[7]-155497632|0,n+=((i=(i<<16|i>>>16)+o|0)^o^r)+t[10]-1094730640|0,r+=((n=(n<<23|n>>>9)+i|0)^i^o)+t[13]+681279174|0,o+=((r=(r<<4|r>>>28)+n|0)^n^i)+t[0]-358537222|0,i+=((o=(o<<11|o>>>21)+r|0)^r^n)+t[3]-722521979|0,n+=((i=(i<<16|i>>>16)+o|0)^o^r)+t[6]+76029189|0,r+=((n=(n<<23|n>>>9)+i|0)^i^o)+t[9]-640364487|0,o+=((r=(r<<4|r>>>28)+n|0)^n^i)+t[12]-421815835|0,i+=((o=(o<<11|o>>>21)+r|0)^r^n)+t[15]+530742520|0,n+=((i=(i<<16|i>>>16)+o|0)^o^r)+t[2]-995338651|0,n=(n<<23|n>>>9)+i|0,r+=(i^(n|~o))+t[0]-198630844|0,r=(r<<6|r>>>26)+n|0,o+=(n^(r|~i))+t[7]+1126891415|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~n))+t[14]-1416354905|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~r))+t[5]-57434055|0,n=(n<<21|n>>>11)+i|0,r+=(i^(n|~o))+t[12]+1700485571|0,r=(r<<6|r>>>26)+n|0,o+=(n^(r|~i))+t[3]-1894986606|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~n))+t[10]-1051523|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~r))+t[1]-2054922799|0,n=(n<<21|n>>>11)+i|0,r+=(i^(n|~o))+t[8]+1873313359|0,r=(r<<6|r>>>26)+n|0,o+=(n^(r|~i))+t[15]-30611744|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~n))+t[6]-1560198380|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~r))+t[13]+1309151649|0,n=(n<<21|n>>>11)+i|0,r+=(i^(n|~o))+t[4]-145523070|0,r=(r<<6|r>>>26)+n|0,o+=(n^(r|~i))+t[11]-1120210379|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~n))+t[2]+718787259|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~r))+t[9]-343485551|0,n=(n<<21|n>>>11)+i|0,e[0]=r+e[0]|0,e[1]=n+e[1]|0,e[2]=i+e[2]|0,e[3]=o+e[3]|0}function n(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}function i(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return r}function o(e){var t,i,o,a,s,u,l=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=l;t+=64)r(c,n(e.substring(t-64,t)));for(i=(e=e.substring(t-64)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<i;t+=1)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(r(c,o),t=0;t<16;t+=1)o[t]=0;return s=parseInt((a=(a=8*l).toString(16).match(/(.*?)(.{0,8})$/))[2],16),u=parseInt(a[1],16)||0,o[14]=s,o[15]=u,r(c,o),c}function a(e){var r;for(r=0;r<e.length;r+=1)e[r]=function(e){var r,n="";for(r=0;r<4;r+=1)n+=t[e>>8*r+4&15]+t[e>>8*r&15];return n}(e[r]);return e.join("")}function s(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function u(e){var t,r=[],n=e.length;for(t=0;t<n-1;t+=2)r.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,r)}function l(){this.reset()}return a(o("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(r,n){var i,o,a,s,u=this.byteLength,l=t(r,u),c=u;return(e!==n&&(c=t(n,u)),l>c)?new ArrayBuffer(0):(a=new Uint8Array(o=new ArrayBuffer(i=c-l)),s=new Uint8Array(this,l,i),a.set(s),o)}}(),l.prototype.append=function(e){return this.appendBinary(s(e)),this},l.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,i=this._buff.length;for(t=64;t<=i;t+=64)r(this._hash,n(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},l.prototype.end=function(e){var t,r,n=this._buff,i=n.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=n.charCodeAt(t)<<(t%4<<3);return this._finish(o,i),r=a(this._hash),e&&(r=u(r)),this.reset(),r},l.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},l.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},l.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},l.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},l.prototype._finish=function(e,t){var n,i,o,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(r(this._hash,e),a=0;a<16;a+=1)e[a]=0;i=parseInt((n=(n=8*this._length).toString(16).match(/(.*?)(.{0,8})$/))[2],16),o=parseInt(n[1],16)||0,e[14]=i,e[15]=o,r(this._hash,e)},l.hash=function(e,t){return l.hashBinary(s(e),t)},l.hashBinary=function(e,t){var r=a(o(e));return t?u(r):r},l.ArrayBuffer=function(){this.reset()},l.ArrayBuffer.prototype.append=function(e){var t,n,o,a=((n=new Uint8Array((t=this._buff.buffer).byteLength+e.byteLength)).set(new Uint8Array(t)),n.set(new Uint8Array(e),t.byteLength),n),s=a.length;for(this._length+=e.byteLength,o=64;o<=s;o+=64)r(this._hash,i(a.subarray(o-64,o)));return this._buff=new Uint8Array(o-64<s?a.buffer.slice(o-64):0),this},l.ArrayBuffer.prototype.end=function(e){var t,r,n=this._buff,i=n.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=n[t]<<(t%4<<3);return this._finish(o,i),r=a(this._hash),e&&(r=u(r)),this.reset(),r},l.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},l.ArrayBuffer.prototype.getState=function(){var e,t=l.prototype.getState.call(this);return t.buff=(e=t.buff,String.fromCharCode.apply(null,new Uint8Array(e))),t},l.ArrayBuffer.prototype.setState=function(e){return e.buff=function(e,t){var r,n=e.length,i=new ArrayBuffer(n),o=new Uint8Array(i);for(r=0;r<n;r+=1)o[r]=e.charCodeAt(r);return t?o:i}(e.buff,!0),l.prototype.setState.call(this,e)},l.ArrayBuffer.prototype.destroy=l.prototype.destroy,l.ArrayBuffer.prototype._finish=l.prototype._finish,l.ArrayBuffer.hash=function(e,t){var n=a(function(e){var t,n,o,a,s,u,l=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=l;t+=64)r(c,i(e.subarray(t-64,t)));for(n=(e=t-64<l?e.subarray(t-64):new Uint8Array(0)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<n;t+=1)o[t>>2]|=e[t]<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(r(c,o),t=0;t<16;t+=1)o[t]=0;return s=parseInt((a=(a=8*l).toString(16).match(/(.*?)(.{0,8})$/))[2],16),u=parseInt(a[1],16)||0,o[14]=s,o[15]=u,r(c,o),c}(new Uint8Array(e)));return t?u(n):n},l},e.exports=t()},66545:function(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function r(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach(function(e){r.prototype[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this._defaults.push({fn:e,args:r}),this}}),r.prototype._setDefaults=function(e){this._defaults.forEach(function(r){var n;e[r.fn].apply(e,function(e){if(Array.isArray(e))return t(e)}(n=r.args)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(n)||function(e,r){if(e){if("string"==typeof e)return t(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,void 0)}}(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())})},e.exports=r},139:function(e,t,r){"use strict";function n(e){return(n="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})(e)}"undefined"!=typeof window?i=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),i=void 0):i=self;var i,o=r(87582),a=r(77847),s=r(2934),u=r(2474),l=r(73354),c=r(99228),d=r(66545);function h(){}e.exports=function(e,r){return"function"==typeof r?new t.Request("GET",e).end(r):1==arguments.length?new t.Request("GET",e):new t.Request(e,r)};var p=t=e.exports;t.Request=b,p.getXHR=function(){if(i.XMLHttpRequest&&(!i.location||"file:"!==i.location.protocol||!i.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only version of superagent could not find XHR")};var f="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function m(e){if(!l(e))return e;var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&function e(t,r,n){if(void 0!==n){if(null===n){t.push(encodeURI(r));return}if(Array.isArray(n))n.forEach(function(n){e(t,r,n)});else if(l(n))for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&e(t,"".concat(r,"[").concat(i,"]"),n[i]);else t.push(encodeURI(r)+"="+encodeURIComponent(n))}}(t,r,e[r]);return t.join("&")}function g(e){for(var t,r,n={},i=e.split("&"),o=0,a=i.length;o<a;++o)-1===(r=(t=i[o]).indexOf("="))?n[decodeURIComponent(t)]="":n[decodeURIComponent(t.slice(0,r))]=decodeURIComponent(t.slice(r+1));return n}function v(e){return/[/+]json($|[^-\w])/i.test(e)}function y(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.headers=function(e){for(var t,r,n,i,o=e.split(/\r?\n/),a={},s=0,u=o.length;s<u;++s)-1!==(t=(r=o[s]).indexOf(":"))&&(n=r.slice(0,t).toLowerCase(),i=f(r.slice(t+1)),a[n]=i);return a}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function b(e,t){var r=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e,t=null,n=null;try{n=new y(r)}catch(e){return(t=Error("Parser is unable to parse the response")).parse=!0,t.original=e,r.xhr?(t.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,t.status=r.xhr.status?r.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),r.callback(t)}r.emit("response",n);try{r._isResponseOK(n)||(e=Error(n.statusText||n.text||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=n,e.status=n.status,r.callback(e,n)):r.callback(null,n)})}function w(e,t,r){var n=p("DELETE",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n}p.serializeObject=m,p.parseString=g,p.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},p.serialize={"application/x-www-form-urlencoded":s.stringify,"application/json":a},p.parse={"application/x-www-form-urlencoded":g,"application/json":JSON.parse},c(y.prototype),y.prototype._parseBody=function(e){var t=p.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&v(this.type)&&(t=p.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},y.prototype.toError=function(){var e=this.req,t=e.method,r=e.url,n=Error("cannot ".concat(t," ").concat(r," (").concat(this.status,")"));return n.status=this.status,n.method=t,n.url=r,n},p.Response=y,o(b.prototype),u(b.prototype),b.prototype.type=function(e){return this.set("Content-Type",p.types[e]||e),this},b.prototype.accept=function(e){return this.set("Accept",p.types[e]||e),this},b.prototype.auth=function(e,t,r){return 1==arguments.length&&(t=""),"object"===n(t)&&null!==t&&(r=t,t=""),r||(r={type:"function"==typeof btoa?"basic":"auto"}),this._auth(e,t,r,function(e){if("function"==typeof btoa)return btoa(e);throw Error("Cannot use basic auth, btoa is not a function")})},b.prototype.query=function(e){return"string"!=typeof e&&(e=m(e)),e&&this._query.push(e),this},b.prototype.attach=function(e,t,r){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,r||t.name)}return this},b.prototype._getFormData=function(){return this._formData||(this._formData=new i.FormData),this._formData},b.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var r=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),r(e,t)},b.prototype.crossDomainError=function(){var e=Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},b.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},b.prototype.ca=b.prototype.agent,b.prototype.buffer=b.prototype.ca,b.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},b.prototype.pipe=b.prototype.write,b.prototype._isHost=function(e){return e&&"object"===n(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},b.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||h,this._finalizeQueryString(),this._end()},b.prototype._setUploadTimeout=function(){var e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout(function(){e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")},this._uploadTimeout))},b.prototype._end=function(){if(this._aborted)return this.callback(Error("The request has been aborted even before .end() was called"));var e=this;this.xhr=p.getXHR();var t=this.xhr,r=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var r,n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4===n){try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var n=function(t,r){r.total>0&&(r.percent=r.loaded/r.total*100,100===r.percent&&clearTimeout(e._uploadTimeoutTimer)),r.direction=t,e.emit("progress",r)};if(this.hasListeners("progress"))try{t.addEventListener("progress",n.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",n.bind(null,"upload"))}catch(e){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof r&&!this._isHost(r)){var i=this._header["content-type"],o=this._serializer||p.serialize[i?i.split(";")[0]:""];!o&&v(i)&&(o=p.serialize["application/json"]),o&&(r=o(r))}for(var a in this.header)null!==this.header[a]&&Object.prototype.hasOwnProperty.call(this.header,a)&&t.setRequestHeader(a,this.header[a]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===r?null:r)},p.agent=function(){return new d},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach(function(e){d.prototype[e.toLowerCase()]=function(t,r){var n=new p.Request(e,t);return this._setDefaults(n),r&&n.end(r),n}}),d.prototype.del=d.prototype.delete,p.get=function(e,t,r){var n=p("GET",e);return"function"==typeof t&&(r=t,t=null),t&&n.query(t),r&&n.end(r),n},p.head=function(e,t,r){var n=p("HEAD",e);return"function"==typeof t&&(r=t,t=null),t&&n.query(t),r&&n.end(r),n},p.options=function(e,t,r){var n=p("OPTIONS",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},p.del=w,p.delete=w,p.patch=function(e,t,r){var n=p("PATCH",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},p.post=function(e,t,r){var n=p("POST",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},p.put=function(e,t,r){var n=p("PUT",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n}},73354:function(e){"use strict";function t(e){return(t="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})(e)}e.exports=function(e){return null!==e&&"object"===t(e)}},2474:function(e,t,r){"use strict";function n(e){return(n="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})(e)}var i=r(73354);function o(e){if(e)return function(e){for(var t in o.prototype)Object.prototype.hasOwnProperty.call(o.prototype,t)&&(e[t]=o.prototype[t]);return e}(e)}e.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!==n(e))return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return(0==arguments.length||!0===e)&&(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var a=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),s=new Set([408,413,429,500,502,503,504,521,522,524]);o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var r=this._retryCallback(e,t);if(!0===r)return!0;if(!1===r)return!1}catch(e){console.error(e)}return!!(t&&t.status&&s.has(t.status)||e&&(e.code&&a.has(e.code)||e.timeout&&"ECONNABORTED"===e.code||e.crossDomain))},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},o.prototype.then=function(e,t){var r=this;if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(e,t){n.on("abort",function(){if(!r._maxRetries||!(r._maxRetries>r._retries)){if(r.timedout&&r.timedoutError){t(r.timedoutError);return}var e=Error("Aborted");e.code="ABORTED",e.status=r.status,e.method=r.method,e.url=r.url,t(e)}}),n.end(function(r,n){r?t(r):e(n)})})}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(i(e)){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&this.set(r,e[r]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw Error(".field(name, val) name can not be empty");if(this._data)throw Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(i(e)){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&this.field(r,e[r]);return this}if(Array.isArray(t)){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&this.field(e,t[n]);return this}if(null==t)throw Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=String(t)),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,r,n){switch(r.type){case"basic":this.set("Authorization","Basic ".concat(n("".concat(e,":").concat(t))));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},o.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=i(e),r=this._header["content-type"];if(this._formData)throw Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&i(this._data))for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(this._data[n]=e[n]);else"string"==typeof e?(r||this.type("form"),(r=this._header["content-type"])&&(r=r.toLowerCase().trim()),"application/x-www-form-urlencoded"===r?this._data=this._data?"".concat(this._data,"&").concat(e):e:this._data=(this._data||"")+e):this._data=e;return!t||this._isHost(e)||r||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.includes("?")?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var r=this.url.slice(t+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.slice(0,t)+"?"+r.join("&")}}},o.prototype._appendQueryString=function(){console.warn("Unsupported")},o.prototype._timeoutError=function(e,t,r){if(!this._aborted){var n=Error("".concat(e+t,"ms exceeded"));n.timeout=t,n.code="ECONNABORTED",n.errno=r,this.timedout=!0,this.timedoutError=n,this.abort(),this.callback(n)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")},this._responseTimeout))}},99228:function(e,t,r){"use strict";var n=r(62433);function i(e){if(e)return function(e){for(var t in i.prototype)Object.prototype.hasOwnProperty.call(i.prototype,t)&&(e[t]=i.prototype[t]);return e}(e)}e.exports=i,i.prototype.get=function(e){return this.header[e.toLowerCase()]},i.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=n.type(t);var r=n.params(t);for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(this[i]=r[i]);this.links={};try{e.link&&(this.links=n.parseLinks(e.link))}catch(e){}},i.prototype._setStatusProperties=function(e){var t=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1===t,this.ok=2===t,this.redirect=3===t,this.clientError=4===t,this.serverError=5===t,this.error=(4===t||5===t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e}},62433:function(e,t){"use strict";function r(e,t){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(o=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){o&&(e=o);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,s=!0,u=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==o.return||o.return()}finally{if(u)throw a}}}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){var t,n={},i=r(e.split(/ *; */));try{for(i.s();!(t=i.n()).done;){var o=t.value.split(/ *= */),a=o.shift(),s=o.shift();a&&s&&(n[a]=s)}}catch(e){i.e(e)}finally{i.f()}return n},t.parseLinks=function(e){var t,n={},i=r(e.split(/ *, */));try{for(i.s();!(t=i.n()).done;){var o=t.value.split(/ *; */),a=o[0].slice(1,-1);n[o[1].split(/ *= */)[1].slice(1,-1)]=a}}catch(e){i.e(e)}finally{i.f()}return n},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},46803:function(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},2934:function(e,t,r){"use strict";var n=r(32620),i=r(8440),o=r(46803);e.exports={formats:o,parse:i,stringify:n}},8440:function(e,t,r){"use strict";var n=r(72663),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t){var r={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,c=u.split(t.delimiter,l),d=-1,h=t.charset;if(t.charsetSentinel)for(p=0;p<c.length;++p)0===c[p].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[p]?h="utf-8":"utf8=%26%2310003%3B"===c[p]&&(h="iso-8859-1"),d=p,p=c.length);for(p=0;p<c.length;++p)if(p!==d){var p,f,m,g=c[p],v=g.indexOf("]="),y=-1===v?g.indexOf("="):v+1;-1===y?(f=t.decoder(g,a.decoder,h,"key"),m=t.strictNullHandling?null:""):(f=t.decoder(g.slice(0,y),a.decoder,h,"key"),m=n.maybeMap(s(g.slice(y+1),t),function(e){return t.decoder(e,a.decoder,h,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=m.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),g.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(r,f)?r[f]=n.combine(r[f],m):r[f]=m}return r},l=function(e,t,r,n){for(var i=n?t:s(t,r),o=e.length-1;o>=0;--o){var a,u=e[o];if("[]"===u&&r.parseArrays)a=[].concat(i);else{a=r.plainObjects?Object.create(null):{};var l="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,c=parseInt(l,10);r.parseArrays||""!==l?!isNaN(c)&&u!==l&&String(c)===l&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=i:a[l]=i:a={0:i}}i=a}return i},c=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(o),u=s?o.slice(0,s.index):o,c=[];if(u){if(!r.plainObjects&&i.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var d=0;r.depth>0&&null!==(s=a.exec(o))&&d<r.depth;){if(d+=1,!r.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+o.slice(s.index)+"]"),l(c,t,r,n)}},d=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}};e.exports=function(e,t){var r=d(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var i="string"==typeof e?u(e,r):e,o=r.plainObjects?Object.create(null):{},a=Object.keys(i),s=0;s<a.length;++s){var l=a[s],h=c(l,i[l],r,"string"==typeof e);o=n.merge(o,h,r)}return!0===r.allowSparse?o:n.compact(o)}},32620:function(e,t,r){"use strict";var n=r(74294),i=r(72663),o=r(46803),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,l=Array.prototype.push,c=function(e,t){l.apply(e,u(t)?t:[t])},d=Date.prototype.toISOString,h=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:h,formatter:o.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},f=function e(t,r,o,a,s,l,d,h,f,m,g,v,y,b,w){var k,x,_=t;if(w.has(t))throw RangeError("Cyclic object value");if("function"==typeof d?_=d(r,_):_ instanceof Date?_=m(_):"comma"===o&&u(_)&&(_=i.maybeMap(_,function(e){return e instanceof Date?m(e):e})),null===_){if(a)return l&&!y?l(r,p.encoder,b,"key",g):r;_=""}if("string"==typeof(k=_)||"number"==typeof k||"boolean"==typeof k||"symbol"==typeof k||"bigint"==typeof k||i.isBuffer(_))return l?[v(y?r:l(r,p.encoder,b,"key",g))+"="+v(l(_,p.encoder,b,"value",g))]:[v(r)+"="+v(String(_))];var S=[];if(void 0===_)return S;if("comma"===o&&u(_))x=[{value:_.length>0?_.join(",")||null:void 0}];else if(u(d))x=d;else{var E=Object.keys(_);x=h?E.sort(h):E}for(var D=0;D<x.length;++D){var C=x[D],j="object"==typeof C&&void 0!==C.value?C.value:_[C];if(!s||null!==j){var O=u(_)?"function"==typeof o?o(r,C):r:r+(f?"."+C:"["+C+"]");w.set(t,!0),c(S,e(j,O,o,a,s,l,d,h,f,m,g,v,y,b,n()))}}return S},m=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw TypeError("Unknown format option provided.");r=e.format}var n=o.formatters[r],i=p.filter;return("function"==typeof e.filter||u(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:i,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var r,i,o=e,a=m(t);"function"==typeof a.filter?o=(0,a.filter)("",o):u(a.filter)&&(r=a.filter);var l=[];if("object"!=typeof o||null===o)return"";i=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=s[i];r||(r=Object.keys(o)),a.sort&&r.sort(a.sort);for(var h=n(),p=0;p<r.length;++p){var g=r[p];a.skipNulls&&null===o[g]||c(l,f(o[g],g,d,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,h))}var v=l.join(a.delimiter),y=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""}},72663:function(e,t,r){"use strict";var n=r(46803),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],i=0;i<r.length;++i)void 0!==r[i]&&n.push(r[i]);t.obj[t.prop]=n}}},u=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:u,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var i=t[n],o=i.obj[i.prop],a=Object.keys(o),u=0;u<a.length;++u){var l=a[u],c=o[l];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:o,prop:l}),r.push(c))}return s(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var u="",l=0;l<s.length;++l){var c=s.charCodeAt(l);if(45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===n.RFC1738&&(40===c||41===c)){u+=s.charAt(l);continue}if(c<128){u+=a[c];continue}if(c<2048){u+=a[192|c>>6]+a[128|63&c];continue}if(c<55296||c>=57344){u+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c];continue}l+=1,u+=a[240|(c=65536+((1023&c)<<10|1023&s.charCodeAt(l)))>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c]}return u},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return(o(t)&&!o(r)&&(a=u(t,n)),o(t)&&o(r))?(r.forEach(function(r,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&r&&"object"==typeof r?t[o]=e(a,r,n):t.push(r)}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var a=r[o];return i.call(t,o)?t[o]=e(t[o],a,n):t[o]=a,t},a)}}},98621:function(e,t,r){var n;!function(i){var o,a,s,u=/^\s+/,l=/\s+$/,c=0,d=i.round,h=i.min,p=i.max,f=i.random;function m(e,t){if(t=t||{},(e=e||"")instanceof m)return e;if(!(this instanceof m))return new m(e,t);var r,n,o,a,s,f,g,v,y,b,w,k,x,_,S,E,D,C,j,O,T=(n={r:0,g:0,b:0},o=1,a=null,s=null,f=null,g=!1,v=!1,"string"==typeof(r=e)&&(r=function(e){e=e.replace(u,"").replace(l,"").toLowerCase();var t,r=!1;if(R[e])e=R[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=q.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=q.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=q.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=q.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=q.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=q.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=q.hex8.exec(e))?{r:L(t[1]),g:L(t[2]),b:L(t[3]),a:L(t[4])/255,format:r?"name":"hex8"}:(t=q.hex6.exec(e))?{r:L(t[1]),g:L(t[2]),b:L(t[3]),format:r?"name":"hex"}:(t=q.hex4.exec(e))?{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),a:L(t[4]+""+t[4])/255,format:r?"name":"hex8"}:!!(t=q.hex3.exec(e))&&{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),format:r?"name":"hex"}}(r)),"object"==typeof r&&($(r.r)&&$(r.g)&&$(r.b)?(y=r.r,b=r.g,w=r.b,n={r:255*N(y,255),g:255*N(b,255),b:255*N(w,255)},g=!0,v="%"===String(r.r).substr(-1)?"prgb":"rgb"):$(r.h)&&$(r.s)&&$(r.v)?(a=z(r.s),s=z(r.v),k=r.h,x=a,_=s,k=6*N(k,360),x=N(x,100),_=N(_,100),S=i.floor(k),E=k-S,D=_*(1-x),C=_*(1-E*x),j=_*(1-(1-E)*x),n={r:255*[_,C,D,D,j,_][O=S%6],g:255*[j,_,_,C,D,D][O],b:255*[D,D,j,_,_,C][O]},g=!0,v="hsv"):$(r.h)&&$(r.s)&&$(r.l)&&(a=z(r.s),f=z(r.l),n=function(e,t,r){var n,i,o;function a(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=i=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,u=2*r-s;n=a(u,s,e+1/3),i=a(u,s,e),o=a(u,s,e-1/3)}return{r:255*n,g:255*i,b:255*o}}(r.h,a,f),g=!0,v="hsl"),r.hasOwnProperty("a")&&(o=r.a)),o=F(o),{ok:g,format:r.format||v,r:h(255,p(n.r,0)),g:h(255,p(n.g,0)),b:h(255,p(n.b,0)),a:o});this._originalInput=e,this._r=T.r,this._g=T.g,this._b=T.b,this._a=T.a,this._roundA=d(100*this._a)/100,this._format=t.format||T.format,this._gradientType=t.gradientType,this._r<1&&(this._r=d(this._r)),this._g<1&&(this._g=d(this._g)),this._b<1&&(this._b=d(this._b)),this._ok=T.ok,this._tc_id=c++}function g(e,t,r){var n,i,o=p(e=N(e,255),t=N(t,255),r=N(r,255)),a=h(e,t,r),s=(o+a)/2;if(o==a)n=i=0;else{var u=o-a;switch(i=s>.5?u/(2-o-a):u/(o+a),o){case e:n=(t-r)/u+(t<r?6:0);break;case t:n=(r-e)/u+2;break;case r:n=(e-t)/u+4}n/=6}return{h:n,s:i,l:s}}function v(e,t,r){var n,i,o=p(e=N(e,255),t=N(t,255),r=N(r,255)),a=h(e,t,r),s=o-a;if(i=0===o?0:s/o,o==a)n=0;else{switch(o){case e:n=(t-r)/s+(t<r?6:0);break;case t:n=(r-e)/s+2;break;case r:n=(e-t)/s+4}n/=6}return{h:n,s:i,v:o}}function y(e,t,r,n){var i=[B(d(e).toString(16)),B(d(t).toString(16)),B(d(r).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function b(e,t,r,n){return[B(U(n)),B(d(e).toString(16)),B(d(t).toString(16)),B(d(r).toString(16))].join("")}function w(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.s-=t/100,r.s=I(r.s),m(r)}function k(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.s+=t/100,r.s=I(r.s),m(r)}function x(e){return m(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.l+=t/100,r.l=I(r.l),m(r)}function S(e,t){t=0===t?0:t||10;var r=m(e).toRgb();return r.r=p(0,h(255,r.r-d(-(t/100*255)))),r.g=p(0,h(255,r.g-d(-(t/100*255)))),r.b=p(0,h(255,r.b-d(-(t/100*255)))),m(r)}function E(e,t){t=0===t?0:t||10;var r=m(e).toHsl();return r.l-=t/100,r.l=I(r.l),m(r)}function D(e,t){var r=m(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,m(r)}function C(e){var t=m(e).toHsl();return t.h=(t.h+180)%360,m(t)}function j(e){var t=m(e).toHsl(),r=t.h;return[m(e),m({h:(r+120)%360,s:t.s,l:t.l}),m({h:(r+240)%360,s:t.s,l:t.l})]}function O(e){var t=m(e).toHsl(),r=t.h;return[m(e),m({h:(r+90)%360,s:t.s,l:t.l}),m({h:(r+180)%360,s:t.s,l:t.l}),m({h:(r+270)%360,s:t.s,l:t.l})]}function T(e){var t=m(e).toHsl(),r=t.h;return[m(e),m({h:(r+72)%360,s:t.s,l:t.l}),m({h:(r+216)%360,s:t.s,l:t.l})]}function A(e,t,r){t=t||6,r=r||30;var n=m(e).toHsl(),i=360/r,o=[m(e)];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(m(n));return o}function P(e,t){t=t||6;for(var r=m(e).toHsv(),n=r.h,i=r.s,o=r.v,a=[],s=1/t;t--;)a.push(m({h:n,s:i,v:o})),o=(o+s)%1;return a}m.prototype={isDark:function(){return 128>this.getBrightness()},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:i.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=F(e),this._roundA=d(100*this._a)/100,this},toHsv:function(){var e=v(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=v(this._r,this._g,this._b),t=d(360*e.h),r=d(100*e.s),n=d(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=g(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=g(this._r,this._g,this._b),t=d(360*e.h),r=d(100*e.s),n=d(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return y(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){var t,r,n,i,o;return t=this._r,r=this._g,n=this._b,i=this._a,o=[B(d(t).toString(16)),B(d(r).toString(16)),B(d(n).toString(16)),B(U(i))],e&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:d(this._r),g:d(this._g),b:d(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+d(this._r)+", "+d(this._g)+", "+d(this._b)+")":"rgba("+d(this._r)+", "+d(this._g)+", "+d(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:d(100*N(this._r,255))+"%",g:d(100*N(this._g,255))+"%",b:d(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+d(100*N(this._r,255))+"%, "+d(100*N(this._g,255))+"%, "+d(100*N(this._b,255))+"%)":"rgba("+d(100*N(this._r,255))+"%, "+d(100*N(this._g,255))+"%, "+d(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(M[y(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+b(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var i=m(e);r="#"+b(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return!t&&n&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e)?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return m(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(S,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(k,arguments)},greyscale:function(){return this._applyModification(x,arguments)},spin:function(){return this._applyModification(D,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(A,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(j,arguments)},tetrad:function(){return this._applyCombination(O,arguments)}},m.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&("a"===n?r[n]=e[n]:r[n]=z(e[n]));e=r}return m(e,t)},m.equals=function(e,t){return!!e&&!!t&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:f(),g:f(),b:f()})},m.mix=function(e,t,r){r=0===r?0:r||50;var n=m(e).toRgb(),i=m(t).toRgb(),o=r/100;return m({r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a})},m.readability=function(e,t){var r=m(e),n=m(t);return(i.max(r.getLuminance(),n.getLuminance())+.05)/(i.min(r.getLuminance(),n.getLuminance())+.05)},m.isReadable=function(e,t,r){var n,i,o,a,s,u=m.readability(e,t);switch(s=!1,(i=((n=(n=r)||{level:"AA",size:"small"}).level||"AA").toUpperCase(),o=(n.size||"small").toLowerCase(),"AA"!==i&&"AAA"!==i&&(i="AA"),"small"!==o&&"large"!==o&&(o="small"),a={level:i,size:o}).level+a.size){case"AAsmall":case"AAAlarge":s=u>=4.5;break;case"AAlarge":s=u>=3;break;case"AAAsmall":s=u>=7}return s},m.mostReadable=function(e,t,r){var n,i,o,a,s=null,u=0;i=(r=r||{}).includeFallbackColors,o=r.level,a=r.size;for(var l=0;l<t.length;l++)(n=m.readability(e,t[l]))>u&&(u=n,s=m(t[l]));return m.isReadable(e,s,{level:o,size:a})||!i?s:(r.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],r))};var R=m.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",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",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",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:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},M=m.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(R);function F(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function N(e,t){"string"==typeof(r=e)&&-1!=r.indexOf(".")&&1===parseFloat(r)&&(e="100%");var r,n,o="string"==typeof(n=e)&&-1!=n.indexOf("%");return(e=h(t,p(0,parseFloat(e))),o&&(e=parseInt(e*t,10)/100),1e-6>i.abs(e-t))?1:e%t/parseFloat(t)}function I(e){return h(1,p(0,e))}function L(e){return parseInt(e,16)}function B(e){return 1==e.length?"0"+e:""+e}function z(e){return e<=1&&(e=100*e+"%"),e}function U(e){return i.round(255*parseFloat(e)).toString(16)}var q=(a="[\\s|\\(]+("+(o="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+o+")[,|\\s]+("+o+")\\s*\\)?",s="[\\s|\\(]+("+o+")[,|\\s]+("+o+")[,|\\s]+("+o+")[,|\\s]+("+o+")\\s*\\)?",{CSS_UNIT:new RegExp(o),rgb:RegExp("rgb"+a),rgba:RegExp("rgba"+s),hsl:RegExp("hsl"+a),hsla:RegExp("hsla"+s),hsv:RegExp("hsv"+a),hsva:RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function $(e){return!!q.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0!==(n=(function(){return m}).call(t,r,t,e))&&(e.exports=n)}(Math)},55079:function(e,t,r){"use strict";var n=r(62465),i=r(51414),o="tippy-content",a="tippy-arrow",s="tippy-svg-arrow",u={passive:!0,capture:!0},l=function(){return document.body};function c(e,t,r){if(Array.isArray(e)){var n=e[t];return null==n?Array.isArray(r)?r[t]:r:n}return e}function d(e,t){var r=({}).toString.call(e);return 0===r.indexOf("[object")&&r.indexOf(t+"]")>-1}function h(e,t){return"function"==typeof e?e.apply(void 0,t):e}function p(e,t){var r;return 0===t?e:function(n){clearTimeout(r),r=setTimeout(function(){e(n)},t)}}function f(e){return[].concat(e)}function m(e,t){-1===e.indexOf(t)&&e.push(t)}function g(e){return[].slice.call(e)}function v(e){return Object.keys(e).reduce(function(t,r){return void 0!==e[r]&&(t[r]=e[r]),t},{})}function y(){return document.createElement("div")}function b(e){return["Element","Fragment"].some(function(t){return d(e,t)})}function w(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function k(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function x(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[n](t,r)})}function _(e,t){for(var r,n=t;n;){if(e.contains(n))return!0;n=null==n.getRootNode?void 0:null==(r=n.getRootNode())?void 0:r.host}return!1}var S={isTouch:!1},E=0;function D(){!S.isTouch&&(S.isTouch=!0,window.performance&&document.addEventListener("mousemove",C))}function C(){var e=performance.now();e-E<20&&(S.isTouch=!1,document.removeEventListener("mousemove",C)),E=e}function j(){var e=document.activeElement;if(e&&e._tippy&&e._tippy.reference===e){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var O=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,T=Object.assign({appendTo:l,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),A=Object.keys(T);function P(e){var t=(e.plugins||[]).reduce(function(t,r){var n,i=r.name,o=r.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(n=T[i])?n:o),t},{});return Object.assign({},e,t)}function R(e,t){var r,n=Object.assign({},t,{content:h(t.content,[e])},t.ignoreAttributes?{}:((r=t.plugins)?Object.keys(P(Object.assign({},T,{plugins:r}))):A).reduce(function(t,r){var n=(e.getAttribute("data-tippy-"+r)||"").trim();if(!n)return t;if("content"===r)t[r]=n;else try{t[r]=JSON.parse(n)}catch(e){t[r]=n}return t},{}));return n.aria=Object.assign({},T.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function M(e,t){e.innerHTML=t}function F(e){var t=y();return!0===e?t.className=a:(t.className=s,b(e)?t.appendChild(e):M(t,e)),t}function N(e,t){b(t.content)?(M(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?M(e,t.content):e.textContent=t.content)}function I(e){var t=e.firstElementChild,r=g(t.children);return{box:t,content:r.find(function(e){return e.classList.contains(o)}),arrow:r.find(function(e){return e.classList.contains(a)||e.classList.contains(s)}),backdrop:r.find(function(e){return e.classList.contains("tippy-backdrop")})}}function L(e){var t=y(),r=y();r.className="tippy-box",r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=y();function i(r,n){var i=I(t),o=i.box,a=i.content,s=i.arrow;n.theme?o.setAttribute("data-theme",n.theme):o.removeAttribute("data-theme"),"string"==typeof n.animation?o.setAttribute("data-animation",n.animation):o.removeAttribute("data-animation"),n.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof n.maxWidth?n.maxWidth+"px":n.maxWidth,n.role?o.setAttribute("role",n.role):o.removeAttribute("role"),(r.content!==n.content||r.allowHTML!==n.allowHTML)&&N(a,e.props),n.arrow?s?r.arrow!==n.arrow&&(o.removeChild(s),o.appendChild(F(n.arrow))):o.appendChild(F(n.arrow)):s&&o.removeChild(s)}return n.className=o,n.setAttribute("data-state","hidden"),N(n,e.props),t.appendChild(r),r.appendChild(n),i(e.props,e.props),{popper:t,onUpdate:i}}L.$$tippy=!0;var B=1,z=[],U=[];function q(e,t){void 0===t&&(t={});var r=T.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",D,u),window.addEventListener("blur",j);var i=Object.assign({},t,{plugins:r}),o=(b(e)?[e]:d(e,"NodeList")?g(e):Array.isArray(e)?e:g(document.querySelectorAll(e))).reduce(function(e,t){var r=t&&function(e,t){var r,i,o,a,s,b,E,D,C=R(e,Object.assign({},T,P(v(t)))),j=!1,A=!1,M=!1,F=!1,N=[],L=p(eg,C.interactiveDebounce),q=B++,$=(r=C.plugins).filter(function(e,t){return r.indexOf(e)===t}),H={id:q,reference:e,popper:y(),popperInstance:null,props:C,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:$,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(a)},setProps:function(t){if(!H.state.isDestroyed){er("onBeforeUpdate",[H,t]),ef();var r=H.props,n=R(e,Object.assign({},r,v(t),{ignoreAttributes:!0}));H.props=n,ep(),r.interactiveDebounce!==n.interactiveDebounce&&(eo(),L=p(eg,n.interactiveDebounce)),r.triggerTarget&&!n.triggerTarget?f(r.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):n.triggerTarget&&e.removeAttribute("aria-expanded"),ei(),et(),G&&G(r,n),H.popperInstance&&(ew(),ex().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),er("onAfterUpdate",[H,t])}},setContent:function(e){H.setProps({content:e})},show:function(){var t,r,n,i=H.state.isVisible,o=H.state.isDestroyed,a=!H.state.isEnabled,s=S.isTouch&&!H.props.touch,u=c(H.props.duration,0,T.duration);if(!(i||o||a||s||(D||e).hasAttribute("disabled"))&&(er("onShow",[H],!1),!1!==H.props.onShow(H))){if(H.state.isVisible=!0,X()&&(W.style.visibility="visible"),et(),el(),H.state.isMounted||(W.style.transition="none"),X()){var d=I(W);w([d.box,d.content],0)}E=function(){var e;if(H.state.isVisible&&!F){if(F=!0,W.offsetHeight,W.style.transition=H.props.moveTransition,X()&&H.props.animation){var t=I(W),r=t.box,n=t.content;w([r,n],u),k([r,n],"visible")}en(),ei(),m(U,H),null==(e=H.popperInstance)||e.forceUpdate(),er("onMount",[H]),H.props.animation&&X()&&ed(u,function(){H.state.isShown=!0,er("onShown",[H])})}},r=H.props.appendTo,n=D||e,(t=H.props.interactive&&r===l||"parent"===r?n.parentNode:h(r,[n])).contains(W)||t.appendChild(W),H.state.isMounted=!0,ew()}},hide:function(){var e,t=!H.state.isVisible,r=H.state.isDestroyed,n=!H.state.isEnabled,i=c(H.props.duration,1,T.duration);if(!t&&!r&&!n&&(er("onHide",[H],!1),!1!==H.props.onHide(H))){if(H.state.isVisible=!1,H.state.isShown=!1,F=!1,j=!1,X()&&(W.style.visibility="hidden"),eo(),ec(),et(!0),X()){var o=I(W),a=o.box,s=o.content;H.props.animation&&(w([a,s],i),k([a,s],"hidden"))}(en(),ei(),H.props.animation)?X()&&(e=H.unmount,ed(i,function(){!H.state.isVisible&&W.parentNode&&W.parentNode.contains(W)&&e()})):H.unmount()}},hideWithInteractivity:function(e){Q().addEventListener("mousemove",L),m(z,L),L(e)},enable:function(){H.state.isEnabled=!0},disable:function(){H.hide(),H.state.isEnabled=!1},unmount:function(){H.state.isVisible&&H.hide(),H.state.isMounted&&(ek(),ex().forEach(function(e){e._tippy.unmount()}),W.parentNode&&W.parentNode.removeChild(W),U=U.filter(function(e){return e!==H}),H.state.isMounted=!1,er("onHidden",[H]))},destroy:function(){H.state.isDestroyed||(H.clearDelayTimeouts(),H.unmount(),ef(),delete e._tippy,H.state.isDestroyed=!0,er("onDestroy",[H]))}};if(!C.render)return H;var V=C.render(H),W=V.popper,G=V.onUpdate;W.setAttribute("data-tippy-root",""),W.id="tippy-"+H.id,H.popper=W,e._tippy=H,W._tippy=H;var Y=$.map(function(e){return e.fn(H)}),Z=e.hasAttribute("aria-expanded");return ep(),ei(),et(),er("onCreate",[H]),C.showOnCreate&&e_(),W.addEventListener("mouseenter",function(){H.props.interactive&&H.state.isVisible&&H.clearDelayTimeouts()}),W.addEventListener("mouseleave",function(){H.props.interactive&&H.props.trigger.indexOf("mouseenter")>=0&&Q().addEventListener("mousemove",L)}),H;function K(){var e=H.props.touch;return Array.isArray(e)?e:[e,0]}function J(){return"hold"===K()[0]}function X(){var e;return!!(null!=(e=H.props.render)&&e.$$tippy)}function Q(){var t,r,n=(D||e).parentNode;return n&&null!=(r=f(n)[0])&&null!=(t=r.ownerDocument)&&t.body?r.ownerDocument:document}function ee(e){return H.state.isMounted&&!H.state.isVisible||S.isTouch||s&&"focus"===s.type?0:c(H.props.delay,e?0:1,T.delay)}function et(e){void 0===e&&(e=!1),W.style.pointerEvents=H.props.interactive&&!e?"":"none",W.style.zIndex=""+H.props.zIndex}function er(e,t,r){if(void 0===r&&(r=!0),Y.forEach(function(r){r[e]&&r[e].apply(r,t)}),r){var n;(n=H.props)[e].apply(n,t)}}function en(){var t=H.props.aria;if(t.content){var r="aria-"+t.content,n=W.id;f(H.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(r);if(H.state.isVisible)e.setAttribute(r,t?t+" "+n:n);else{var i=t&&t.replace(n,"").trim();i?e.setAttribute(r,i):e.removeAttribute(r)}})}}function ei(){!Z&&H.props.aria.expanded&&f(H.props.triggerTarget||e).forEach(function(t){H.props.interactive?t.setAttribute("aria-expanded",H.state.isVisible&&t===(D||e)?"true":"false"):t.removeAttribute("aria-expanded")})}function eo(){Q().removeEventListener("mousemove",L),z=z.filter(function(e){return e!==L})}function ea(t){if(!S.isTouch||!M&&"mousedown"!==t.type){var r=t.composedPath&&t.composedPath()[0]||t.target;if(!(H.props.interactive&&_(W,r))){if(f(H.props.triggerTarget||e).some(function(e){return _(e,r)})){if(S.isTouch||H.state.isVisible&&H.props.trigger.indexOf("click")>=0)return}else er("onClickOutside",[H,t]);!0!==H.props.hideOnClick||(H.clearDelayTimeouts(),H.hide(),A=!0,setTimeout(function(){A=!1}),H.state.isMounted||ec())}}}function es(){M=!0}function eu(){M=!1}function el(){var e=Q();e.addEventListener("mousedown",ea,!0),e.addEventListener("touchend",ea,u),e.addEventListener("touchstart",eu,u),e.addEventListener("touchmove",es,u)}function ec(){var e=Q();e.removeEventListener("mousedown",ea,!0),e.removeEventListener("touchend",ea,u),e.removeEventListener("touchstart",eu,u),e.removeEventListener("touchmove",es,u)}function ed(e,t){var r=I(W).box;function n(e){e.target===r&&(x(r,"remove",n),t())}if(0===e)return t();x(r,"remove",b),x(r,"add",n),b=n}function eh(t,r,n){void 0===n&&(n=!1),f(H.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,r,n),N.push({node:e,eventType:t,handler:r,options:n})})}function ep(){J()&&(eh("touchstart",em,{passive:!0}),eh("touchend",ev,{passive:!0})),H.props.trigger.split(/\s+/).filter(Boolean).forEach(function(e){if("manual"!==e)switch(eh(e,em),e){case"mouseenter":eh("mouseleave",ev);break;case"focus":eh(O?"focusout":"blur",ey);break;case"focusin":eh("focusout",ey)}})}function ef(){N.forEach(function(e){var t=e.node,r=e.eventType,n=e.handler,i=e.options;t.removeEventListener(r,n,i)}),N=[]}function em(e){var t,r=!1;if(!(!H.state.isEnabled||eb(e))&&!A){var n=(null==(t=s)?void 0:t.type)==="focus";s=e,D=e.currentTarget,ei(),!H.state.isVisible&&d(e,"MouseEvent")&&z.forEach(function(t){return t(e)}),"click"===e.type&&(0>H.props.trigger.indexOf("mouseenter")||j)&&!1!==H.props.hideOnClick&&H.state.isVisible?r=!0:e_(e),"click"===e.type&&(j=!r),r&&!n&&eS(e)}}function eg(t){var r,n,i,o=t.target,a=(D||e).contains(o)||W.contains(o);("mousemove"!==t.type||!a)&&(r=ex().concat(W).map(function(e){var t,r=null==(t=e._tippy.popperInstance)?void 0:t.state;return r?{popperRect:e.getBoundingClientRect(),popperState:r,props:C}:null}).filter(Boolean),n=t.clientX,i=t.clientY,r.every(function(e){var t=e.popperRect,r=e.popperState,o=e.props.interactiveBorder,a=r.placement.split("-")[0],s=r.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,l="top"===a?s.bottom.y:0,c="right"===a?s.left.x:0,d="left"===a?s.right.x:0,h=t.top-i+u>o,p=i-t.bottom-l>o,f=t.left-n+c>o,m=n-t.right-d>o;return h||p||f||m})&&(eo(),eS(t)))}function ev(e){if(!(eb(e)||H.props.trigger.indexOf("click")>=0&&j)){if(H.props.interactive){H.hideWithInteractivity(e);return}eS(e)}}function ey(t){0>H.props.trigger.indexOf("focusin")&&t.target!==(D||e)||H.props.interactive&&t.relatedTarget&&W.contains(t.relatedTarget)||eS(t)}function eb(e){return!!S.isTouch&&J()!==e.type.indexOf("touch")>=0}function ew(){ek();var t=H.props,r=t.popperOptions,i=t.placement,o=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,u=X()?I(W).arrow:null,l=a?{getBoundingClientRect:a,contextElement:a.contextElement||D||e}:e,c=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(X()){var r=I(W).box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?r.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?r.setAttribute("data-"+e,""):r.removeAttribute("data-"+e)}),t.attributes.popper={}}}}];X()&&u&&c.push({name:"arrow",options:{element:u,padding:3}}),c.push.apply(c,(null==r?void 0:r.modifiers)||[]),H.popperInstance=(0,n.fi)(l,W,Object.assign({},r,{placement:i,onFirstUpdate:E,modifiers:c}))}function ek(){H.popperInstance&&(H.popperInstance.destroy(),H.popperInstance=null)}function ex(){return g(W.querySelectorAll("[data-tippy-root]"))}function e_(e){H.clearDelayTimeouts(),e&&er("onTrigger",[H,e]),el();var t=ee(!0),r=K(),n=r[0],o=r[1];S.isTouch&&"hold"===n&&o&&(t=o),t?i=setTimeout(function(){H.show()},t):H.show()}function eS(e){if(H.clearDelayTimeouts(),er("onUntrigger",[H,e]),!H.state.isVisible){ec();return}if(!(H.props.trigger.indexOf("mouseenter")>=0&&H.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0)||!j){var t=ee(!1);t?o=setTimeout(function(){H.state.isVisible&&H.hide()},t):a=requestAnimationFrame(function(){H.hide()})}}}(t,i);return r&&e.push(r),e},[]);return b(e)?o[0]:o}q.defaultProps=T,q.setDefaultProps=function(e){Object.keys(e).forEach(function(t){T[t]=e[t]})},q.currentInput=S,Object.assign({},i.Z,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}}),q.setDefaultProps({render:L}),t.ZP=q},48943:function(e,t,r){"use strict";var n=r(38398),i=null,o=function(e,t){let n=t&&t.allowPrivateTLD||!1,o=t&&t.allowUnknownTLD||!1,a=t&&t.allowDotlessTLD||!1;i||((i=r(20693)).combined=Object.assign({},i.icann,i.private));for(var s,u=e.split("."),l="",c=-1,d=n?i.combined:i.icann,h=u.length-1;h>=0;h--)s=u[h],d[l=l?s+"."+l:s]&&(c=d[l]);if(-1==c&&o&&(c=1),(u.length<=c||-1==c)&&!(u.length==c&&a))throw Error("Invalid TLD "+JSON.stringify({parts:u,tld_level:c,allowUnknownTLD:o}));return{tld:u.slice(-c).join("."),domain:u.slice(-c-1).join("."),sub:u.slice(0,-c-1).join(".")}};e.exports=function(e,t){return"string"==typeof e&&(e=n.parse(e)),o(e.hostname,t)},e.exports.parse_host=o},91706:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},5163:function(e,t,r){"use strict";r.d(t,{CR:function(){return l},Jh:function(){return u},ZT:function(){return i},_T:function(){return a},ev:function(){return c},mG:function(){return s},pi:function(){return o}});var 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)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function u(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function l(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}function c(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}},6382:function(e,t){"use strict";function r(e,t){return Array(t+1).join(e)}var n,i,o=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function a(e){return c(e,o)}var s=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function u(e){return c(e,s)}var l=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function c(e,t){return t.indexOf(e.nodeName)>=0}function d(e,t){return e.getElementsByTagName&&t.some(function(t){return e.getElementsByTagName(t).length})}var h={};function p(e){return e?e.replace(/(\n+\s*)+/g,"\n"):""}function f(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}function m(e,t,r){for(var n=0;n<e.length;n++){var i=e[n];if(function(e,t,r){var n=e.filter;if("string"==typeof n){if(n===t.nodeName.toLowerCase())return!0}else if(Array.isArray(n)){if(n.indexOf(t.nodeName.toLowerCase())>-1)return!0}else if("function"==typeof n){if(n.call(e,t,r))return!0}else throw TypeError("`filter` needs to be a string, array, or function")}(i,t,r))return i}}function g(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function v(e,t,r){return e&&e.parentNode===t||r(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}h.paragraph={filter:"p",replacement:function(e){return"\n\n"+e+"\n\n"}},h.lineBreak={filter:"br",replacement:function(e,t,r){return r.br+"\n"}},h.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,n){var i=Number(t.nodeName.charAt(1));if("setext"!==n.headingStyle||!(i<3))return"\n\n"+r("#",i)+" "+e+"\n\n";var o=r(1===i?"=":"-",e.length);return"\n\n"+e+"\n"+o+"\n\n"}},h.blockquote={filter:"blockquote",replacement:function(e){return"\n\n"+(e=(e=e.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},h.list={filter:["ul","ol"],replacement:function(e,t){var r=t.parentNode;return"LI"===r.nodeName&&r.lastElementChild===t?"\n"+e:"\n\n"+e+"\n\n"}},h.listItem={filter:"li",replacement:function(e,t,r){e=e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n    ");var n=r.bulletListMarker+"   ",i=t.parentNode;if("OL"===i.nodeName){var o=i.getAttribute("start"),a=Array.prototype.indexOf.call(i.children,t);n=(o?Number(o)+a:a+1)+".  "}return n+e+(t.nextSibling&&!/\n$/.test(e)?"\n":"")}},h.indentedCodeBlock={filter:function(e,t){return"indented"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,r){return"\n\n    "+t.firstChild.textContent.replace(/\n/g,"\n    ")+"\n\n"}},h.fencedCodeBlock={filter:function(e,t){return"fenced"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){for(var i,o=((t.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],a=t.firstChild.textContent,s=n.fence.charAt(0),u=3,l=RegExp("^"+s+"{3,}","gm");i=l.exec(a);)i[0].length>=u&&(u=i[0].length+1);var c=r(s,u);return"\n\n"+c+o+"\n"+a.replace(/\n$/,"")+"\n"+c+"\n\n"}},h.horizontalRule={filter:"hr",replacement:function(e,t,r){return"\n\n"+r.hr+"\n\n"}},h.inlineLink={filter:function(e,t){return"inlined"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t){var r=t.getAttribute("href"),n=p(t.getAttribute("title"));return n&&(n=' "'+n+'"'),"["+e+"]("+r+n+")"}},h.referenceLink={filter:function(e,t){return"referenced"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t,r){var n,i,o=t.getAttribute("href"),a=p(t.getAttribute("title"));switch(a&&(a=' "'+a+'"'),r.linkReferenceStyle){case"collapsed":n="["+e+"][]",i="["+e+"]: "+o+a;break;case"shortcut":n="["+e+"]",i="["+e+"]: "+o+a;break;default:var s=this.references.length+1;n="["+e+"]["+s+"]",i="["+s+"]: "+o+a}return this.references.push(i),n},references:[],append:function(e){var t="";return this.references.length&&(t="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),t}},h.emphasis={filter:["em","i"],replacement:function(e,t,r){return e.trim()?r.emDelimiter+e+r.emDelimiter:""}},h.strong={filter:["strong","b"],replacement:function(e,t,r){return e.trim()?r.strongDelimiter+e+r.strongDelimiter:""}},h.code={filter:function(e){var t=e.previousSibling||e.nextSibling,r="PRE"===e.parentNode.nodeName&&!t;return"CODE"===e.nodeName&&!r},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",r="`",n=e.match(/`+/gm)||[];-1!==n.indexOf(r);)r+="`";return r+t+e+t+r}},h.image={filter:"img",replacement:function(e,t){var r=p(t.getAttribute("alt")),n=t.getAttribute("src")||"",i=p(t.getAttribute("title"));return n?"!["+r+"]("+n+(i?' "'+i+'"':"")+")":""}},f.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){var t;return e.isBlank?this.blankRule:(t=m(this.array,e,this.options))||(t=m(this._keep,e,this.options))||(t=m(this._remove,e,this.options))?t:this.defaultRule},forEach:function(e){for(var t=0;t<this.array.length;t++)e(this.array[t],t)}};var y="undefined"!=typeof window?window:{},b=!function(){var e=y.DOMParser,t=!1;try{new e().parseFromString("","text/html")&&(t=!0)}catch(e){}return t}()?(n=function(){},!function(){var e=!1;try{document.implementation.createHTMLDocument("").open()}catch(t){window.ActiveXObject&&(e=!0)}return e}()?n.prototype.parseFromString=function(e){var t=document.implementation.createHTMLDocument("");return t.open(),t.write(e),t.close(),t}:n.prototype.parseFromString=function(e){var t=new window.ActiveXObject("htmlfile");return t.designMode="on",t.open(),t.write(e),t.close(),t},n):y.DOMParser;function w(e,t){var r;return!function(e){var t=e.element,r=e.isBlock,n=e.isVoid,i=e.isPre||function(e){return"PRE"===e.nodeName};if(!(!t.firstChild||i(t))){for(var o=null,a=!1,s=null,u=v(null,t,i);u!==t;){if(3===u.nodeType||4===u.nodeType){var l=u.data.replace(/[ \r\n\t]+/g," ");if((!o||/ $/.test(o.data))&&!a&&" "===l[0]&&(l=l.substr(1)),!l){u=g(u);continue}u.data=l,o=u}else if(1===u.nodeType)r(u)||"BR"===u.nodeName?(o&&(o.data=o.data.replace(/ $/,"")),o=null,a=!1):n(u)||i(u)?(o=null,a=!0):o&&(a=!1);else{u=g(u);continue}var c=v(s,u,i);s=u,u=c}o&&(o.data=o.data.replace(/ $/,""),o.data||g(o))}}({element:r="string"==typeof e?(i=i||new b).parseFromString('<x-turndown id="turndown-root">'+e+"</x-turndown>","text/html").getElementById("turndown-root"):e.cloneNode(!0),isBlock:a,isVoid:u,isPre:t.preformattedCode?k:null}),r}function k(e){return"PRE"===e.nodeName||"CODE"===e.nodeName}function x(e,t){return e.isBlock=a(e),e.isCode="CODE"===e.nodeName||e.parentNode.isCode,e.isBlank=!u(e)&&!c(e,l)&&/^\s*$/i.test(e.textContent)&&!d(e,s)&&!d(e,l),e.flankingWhitespace=function(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var r,n={leading:(r=e.textContent.match(/^(([ \t\r\n]*)(\s*))[\s\S]*?((\s*?)([ \t\r\n]*))$/))[1],leadingAscii:r[2],leadingNonAscii:r[3],trailing:r[4],trailingNonAscii:r[5],trailingAscii:r[6]};return n.leadingAscii&&_("left",e,t)&&(n.leading=n.leadingNonAscii),n.trailingAscii&&_("right",e,t)&&(n.trailing=n.trailingNonAscii),{leading:n.leading,trailing:n.trailing}}(e,t),e}function _(e,t,r){var n,i,o;return"left"===e?(n=t.previousSibling,i=/ $/):(n=t.nextSibling,i=/^ /),n&&(3===n.nodeType?o=i.test(n.nodeValue):r.preformattedCode&&"CODE"===n.nodeName?o=!1:1!==n.nodeType||a(n)||(o=i.test(n.textContent))),o}var S=Array.prototype.reduce,E=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function D(e){if(!(this instanceof D))return new D(e);this.options=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}return e}({},{rules:h,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:"  ",preformattedCode:!1,blankReplacement:function(e,t){return t.isBlock?"\n\n":""},keepReplacement:function(e,t){return t.isBlock?"\n\n"+t.outerHTML+"\n\n":t.outerHTML},defaultReplacement:function(e,t){return t.isBlock?"\n\n"+e+"\n\n":e}},e),this.rules=new f(this.options)}function C(e){var t=this;return S.call(e.childNodes,function(e,r){r=new x(r,t.options);var n="";return 3===r.nodeType?n=r.isCode?r.nodeValue:t.escape(r.nodeValue):1===r.nodeType&&(n=O.call(t,r)),T(e,n)},"")}function j(e){var t=this;return this.rules.forEach(function(r){"function"==typeof r.append&&(e=T(e,r.append(t.options)))}),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function O(e){var t=this.rules.forNode(e),r=C.call(this,e),n=e.flankingWhitespace;return(n.leading||n.trailing)&&(r=r.trim()),n.leading+t.replacement(r,e,this.options)+n.trailing}function T(e,t){var r=function(e){for(var t=e.length;t>0&&"\n"===e[t-1];)t--;return e.substring(0,t)}(e),n=t.replace(/^\n*/,""),i=Math.max(e.length-r.length,t.length-n.length);return r+"\n\n".substring(0,i)+n}D.prototype={turndown:function(e){if(!(null!=e&&("string"==typeof e||e.nodeType&&(1===e.nodeType||9===e.nodeType||11===e.nodeType))))throw TypeError(e+" is not a string, or an element/document/fragment node.");return""===e?"":j.call(this,C.call(this,new w(e,this.options)))},use:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.use(e[t]);else if("function"==typeof e)e(this);else throw TypeError("plugin must be a Function or an Array of Functions");return this},addRule:function(e,t){return this.rules.add(e,t),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return E.reduce(function(e,t){return e.replace(t[0],t[1])},e)}},t.Z=D},46353:function(e,t,r){var n;!function(i,o){"use strict";var a="function",s="undefined",u="object",l="string",c="model",d="name",h="type",p="vendor",f="version",m="architecture",g="console",v="mobile",y="tablet",b="smarttv",w="wearable",k="embedded",x={extend:function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},has:function(e,t){return typeof e===l&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===l?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e,t){return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),typeof t===s?e:e.substring(0,255)}},_={rgx:function(e,t){for(var r,n,i,s,l,c,d=0;d<t.length&&!l;){var h=t[d],p=t[d+1];for(r=n=0;r<h.length&&!l;)if(l=h[r++].exec(e))for(i=0;i<p.length;i++)c=l[++n],typeof(s=p[i])===u&&s.length>0?2==s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3==s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):void 0:this[s[0]]=c?s[1].call(this,c,s[2]):void 0:4==s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):o):this[s]=c||o;d+=2}},str:function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(x.has(t[r][n],e))return"?"===r?o:r}else if(x.has(t[r],e))return"?"===r?o:r;return e}},S={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},E={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[d,"Edge"]],[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6})\b.+version\/([\w\.-]+)/i,/(opera)(?:.+version\/|[\/\s]+)([\w\.]+)/i],[d,f],[/opios[\/\s]+([\w\.]+)/i],[f,[d,"Opera Mini"]],[/\sopr\/([\w\.]+)/i],[f,[d,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(ba?idubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i,/(rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i,/(weibo)__([\d\.]+)/i],[d,f],[/(?:[\s\/]uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[f,[d,"UCBrowser"]],[/(?:windowswechat)?\sqbcore\/([\w\.]+)\b.*(?:windowswechat)?/i],[f,[d,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[d,"Konqueror"]],[/trident.+rv[:\s]([\w\.]{1,9})\b.+like\sgecko/i],[f,[d,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[d,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure Browser"],f],[/focus\/([\w\.]+)/i],[f,[d,"Firefox Focus"]],[/opt\/([\w\.]+)/i],[f,[d,"Opera Touch"]],[/coc_coc_browser\/([\w\.]+)/i],[f,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[d,"Opera Coast"]],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[f,[d,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[f,[d,"Firefox"]],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[d,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],f],[/\s(electron)\/([\w\.]+)\ssafari/i,/(tesla)(?:\sqtcarbrowser|\/(20[12]\d\.[\w\.-]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[d,f],[/(MetaSr)[\/\s]?([\w\.]+)/i,/(LBBROWSER)/i],[d],[/;fbav\/([\w\.]+);/i],[f,[d,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[d,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/\s]([\w\.-]+)/i],[d,f],[/\bgsa\/([\w\.]+)\s.*safari\//i],[f,[d,"GSA"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[f,[d,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[d,"Chrome WebView"],f],[/droid.+\sversion\/([\w\.]+)\b.+(?:mobile\ssafari|safari)/i],[f,[d,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[d,f],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[f,[d,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[f,d],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[d,[f,_.str,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,f],[/(navigator|netscape)\/([\w\.-]+)/i],[[d,"Netscape"],f],[/ile\svr;\srv:([\w\.]+)\).+firefox/i],[f,[d,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[d,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,x.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|armv?8e?l?)\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows\s(ce|mobile);\sppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[m,/ower/,"",x.lowerize]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?:64|(?=v(?:[1-7]|[5-7]1)l?|;|eabi))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,x.lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus\s10)/i],[c,[p,"Samsung"],[h,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy\snexus)/i,/\ssamsung[\s-]([\w-]+)/i,/sec-(sgh\w+)/i],[c,[p,"Samsung"],[h,v]],[/\((ip(?:hone|od)[\s\w]*);/i],[c,[p,"Apple"],[h,v]],[/\((ipad);[\w\s\),;-]+apple/i,/applecoremedia\/[\w\.]+\s\((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[p,"Apple"],[h,y]],[/\b((?:agr|ags[23]|bah2?|sht?)-a?[lw]\d{2})/i],[c,[p,"Huawei"],[h,y]],[/d\/huawei([\w\s-]+)[;\)]/i,/\b(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?|ele-l\d\d)/i,/\b(\w{2,4}-[atu][ln][01259][019])[;\)\s]/i],[c,[p,"Huawei"],[h,v]],[/\b(poco[\s\w]+)(?:\sbuild|\))/i,/\b;\s(\w+)\sbuild\/hm\1/i,/\b(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/\b(redmi[\s\-_]?(?:note|k)?[\w\s_]+)(?:\sbuild|\))/i,/\b(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[c,/_/g," "],[p,"Xiaomi"],[h,v]],[/\b(mi[\s\-_]?(?:pad)(?:[\w\s_]+))(?:\sbuild|\))/i],[[c,/_/g," "],[p,"Xiaomi"],[h,y]],[/;\s(\w+)\sbuild.+\soppo/i,/\s(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[c,[p,"OPPO"],[h,v]],[/\svivo\s(\w+)(?:\sbuild|\))/i,/\s(v[12]\d{3}\w?[at])(?:\sbuild|;)/i],[c,[p,"Vivo"],[h,v]],[/\s(rmx[12]\d{3})(?:\sbuild|;)/i],[c,[p,"Realme"],[h,v]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)\b[\w\s]+build\//i,/\smot(?:orola)?[\s-](\w*)/i,/((?:moto[\s\w\(\)]+|xt\d{3,4}|nexus\s6)(?=\sbuild|\)))/i],[c,[p,"Motorola"],[h,v]],[/\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[c,[p,"Motorola"],[h,y]],[/((?=lg)?[vl]k\-?\d{3})\sbuild|\s3\.[\s\w;-]{10}lg?-([06cv9]{3,4})/i],[c,[p,"LG"],[h,y]],[/(lm-?f100[nv]?|nexus\s[45])/i,/lg[e;\s\/-]+((?!browser|netcast)\w+)/i,/\blg(\-?[\d\w]+)\sbuild/i],[c,[p,"LG"],[h,v]],[/(ideatab[\w\-\s]+)/i,/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|yt[\d\w-]{6}|tb[\d\w-]{6})/i],[c,[p,"Lenovo"],[h,y]],[/(?:maemo|nokia).*(n900|lumia\s\d+)/i,/nokia[\s_-]?([\w\.-]*)/i],[[c,/_/g," "],[p,"Nokia"],[h,v]],[/droid.+;\s(pixel\sc)[\s)]/i],[c,[p,"Google"],[h,y]],[/droid.+;\s(pixel[\s\daxl]{0,6})(?:\sbuild|\))/i],[c,[p,"Google"],[h,v]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[p,"Sony"],[h,v]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[c,"Xperia Tablet"],[p,"Sony"],[h,y]],[/\s(kb2005|in20[12]5|be20[12][59])\b/i,/\ba000(1)\sbuild/i,/\boneplus\s(a\d{4})[\s)]/i],[c,[p,"OnePlus"],[h,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi)(\sbuild\/|\))/i,/(kf[a-z]+)(\sbuild\/|\)).+silk\//i],[c,[p,"Amazon"],[h,y]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[c,"Fire Phone"],[p,"Amazon"],[h,v]],[/\((playbook);[\w\s\),;-]+(rim)/i],[c,p,[h,y]],[/((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10;\s(\w+)/i],[c,[p,"BlackBerry"],[h,v]],[/(?:\b|asus_)(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus\s7|padfone|p00[cj])/i],[c,[p,"ASUS"],[h,y]],[/\s(z[es]6[027][01][km][ls]|zenfone\s\d\w?)\b/i],[c,[p,"ASUS"],[h,v]],[/(nexus\s9)/i],[c,[p,"HTC"],[h,y]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[p,[c,/_/g," "],[h,v]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[c,[p,"Acer"],[h,y]],[/droid.+;\s(m[1-5]\snote)\sbuild/i,/\bmz-([\w-]{2,})/i],[c,[p,"Meizu"],[h,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i,/(microsoft);\s(lumia[\s\w]+)/i,/(lenovo)[_\s-]?([\w-]+)/i,/linux;.+(jolla);/i,/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[p,c,[h,v]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i,/[;\/]\s?(le[\s\-]+pan)[\s\-]+(\w{1,9})\sbuild/i,/[;\/]\s?(trinity)[\-\s]*(t\d{3})\sbuild/i,/\b(gigaset)[\s\-]+(q\w{1,9})\sbuild/i,/\b(vodafone)\s([\w\s]+)(?:\)|\sbuild)/i],[p,c,[h,y]],[/\s(surface\sduo)\s/i],[c,[p,"Microsoft"],[h,y]],[/droid\s[\d\.]+;\s(fp\du?)\sbuild/i],[c,[p,"Fairphone"],[h,v]],[/\s(u304aa)\sbuild/i],[c,[p,"AT&T"],[h,v]],[/sie-(\w*)/i],[c,[p,"Siemens"],[h,v]],[/[;\/]\s?(rct\w+)\sbuild/i],[c,[p,"RCA"],[h,y]],[/[;\/\s](venue[\d\s]{2,7})\sbuild/i],[c,[p,"Dell"],[h,y]],[/[;\/]\s?(q(?:mv|ta)\w+)\sbuild/i],[c,[p,"Verizon"],[h,y]],[/[;\/]\s(?:barnes[&\s]+noble\s|bn[rt])([\w\s\+]*)\sbuild/i],[c,[p,"Barnes & Noble"],[h,y]],[/[;\/]\s(tm\d{3}\w+)\sbuild/i],[c,[p,"NuVision"],[h,y]],[/;\s(k88)\sbuild/i],[c,[p,"ZTE"],[h,y]],[/;\s(nx\d{3}j)\sbuild/i],[c,[p,"ZTE"],[h,v]],[/[;\/]\s?(gen\d{3})\sbuild.*49h/i],[c,[p,"Swiss"],[h,v]],[/[;\/]\s?(zur\d{3})\sbuild/i],[c,[p,"Swiss"],[h,y]],[/[;\/]\s?((zeki)?tb.*\b)\sbuild/i],[c,[p,"Zeki"],[h,y]],[/[;\/]\s([yr]\d{2})\sbuild/i,/[;\/]\s(dragon[\-\s]+touch\s|dt)(\w{5})\sbuild/i],[[p,"Dragon Touch"],c,[h,y]],[/[;\/]\s?(ns-?\w{0,9})\sbuild/i],[c,[p,"Insignia"],[h,y]],[/[;\/]\s?((nxa|Next)-?\w{0,9})\sbuild/i],[c,[p,"NextBook"],[h,y]],[/[;\/]\s?(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05]))\sbuild/i],[[p,"Voice"],c,[h,v]],[/[;\/]\s?(lvtel\-)?(v1[12])\sbuild/i],[[p,"LvTel"],c,[h,v]],[/;\s(ph-1)\s/i],[c,[p,"Essential"],[h,v]],[/[;\/]\s?(v(100md|700na|7011|917g).*\b)\sbuild/i],[c,[p,"Envizen"],[h,y]],[/[;\/]\s?(trio[\s\w\-\.]+)\sbuild/i],[c,[p,"MachSpeed"],[h,y]],[/[;\/]\s?tu_(1491)\sbuild/i],[c,[p,"Rotor"],[h,y]],[/(shield[\w\s]+)\sbuild/i],[c,[p,"Nvidia"],[h,y]],[/(sprint)\s(\w+)/i],[p,c,[h,v]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[p,"Microsoft"],[h,v]],[/droid\s[\d\.]+;\s(cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[p,"Zebra"],[h,y]],[/droid\s[\d\.]+;\s(ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[p,"Zebra"],[h,v]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[p,c,[h,g]],[/droid.+;\s(shield)\sbuild/i],[c,[p,"Nvidia"],[h,g]],[/(playstation\s[345portablevi]+)/i],[c,[p,"Sony"],[h,g]],[/[\s\(;](xbox(?:\sone)?(?!;\sxbox))[\s\);]/i],[c,[p,"Microsoft"],[h,g]],[/smart-tv.+(samsung)/i],[p,[h,b]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[p,"Samsung"],[h,b]],[/(?:linux;\snetcast.+smarttv|lg\snetcast\.tv-201\d)/i],[[p,"LG"],[h,b]],[/(apple)\s?tv/i],[p,[c,"Apple TV"],[h,b]],[/crkey/i],[[c,"Chromecast"],[p,"Google"],[h,b]],[/droid.+aft([\w])(\sbuild\/|\))/i],[c,[p,"Amazon"],[h,b]],[/\(dtv[\);].+(aquos)/i],[c,[p,"Sharp"],[h,b]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[p,x.trim],[c,x.trim],[h,b]],[/[\s\/\(](android\s|smart[-\s]?|opera\s)tv[;\)\s]/i],[[h,b]],[/((pebble))app\/[\d\.]+\s/i],[p,c,[h,w]],[/droid.+;\s(glass)\s\d/i],[c,[p,"Google"],[h,w]],[/droid\s[\d\.]+;\s(wt63?0{2,3})\)/i],[c,[p,"Zebra"],[h,w]],[/(tesla)(?:\sqtcarbrowser|\/20[12]\d\.[\w\.-]+)/i],[p,[h,k]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[c,[h,v]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[c,[h,y]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[h,x.lowerize]],[/(android[\w\.\s\-]{0,9});.+build/i],[c,[p,"Generic"]],[/(phone)/i],[[h,v]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[f,[d,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[d,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,d]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[d,f],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)(?!.+xbox)/i],[d,[f,_.str,S]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[d,"Windows"],[f,_.str,S]],[/ip[honead]{2,4}\b(?:.*os\s([\w]+)\slike\smac|;\sopera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[d,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)(?!.+haiku)/i],[[d,"Mac OS"],[f,/_/g,"."]],[/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/\((series40);/i],[d,f],[/\(bb(10);/i],[f,[d,"BlackBerry"]],[/(?:symbian\s?os|symbos|s60(?=;)|series60)[\/\s-]?([\w\.]*)/i],[f,[d,"Symbian"]],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[d,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[d,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[d,"Chromecast"]],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[d,"Chromium OS"],f],[/(nintendo|playstation)\s([wids345portablevuch]+)/i,/(xbox);\s+xbox\s([^\);]+)/i,/(mint)[\/\s\(\)]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?=\slinux)|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus|raspbian)(?:\sgnu\/linux)?(?:\slinux)?[\/\s-]?(?!chrom|package)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i,/\s([frentopc-]{0,4}bsd|dragonfly)\s?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku)\s(\w+)/i],[d,f],[/(sunos)\s?([\w\.\d]*)/i],[[d,"Solaris"],f],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[d,f]]},D=function(e,t){if("object"==typeof e&&(t=e,e=o),!(this instanceof D))return new D(e,t).getResult();var r=e||(void 0!==i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),n=t?x.extend(E,t):E;return this.getBrowser=function(){var e={name:o,version:o};return _.rgx.call(e,r,n.browser),e.major=x.major(e.version),e},this.getCPU=function(){var e={architecture:o};return _.rgx.call(e,r,n.cpu),e},this.getDevice=function(){var e={vendor:o,model:o,type:o};return _.rgx.call(e,r,n.device),e},this.getEngine=function(){var e={name:o,version:o};return _.rgx.call(e,r,n.engine),e},this.getOS=function(){var e={name:o,version:o};return _.rgx.call(e,r,n.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===l&&e.length>255?x.trim(e,255):e,this},this.setUA(r),this};D.VERSION="0.7.28",D.BROWSER={NAME:d,MAJOR:"major",VERSION:f},D.CPU={ARCHITECTURE:m},D.DEVICE={MODEL:c,VENDOR:p,TYPE:h,CONSOLE:g,MOBILE:v,SMARTTV:b,TABLET:y,WEARABLE:w,EMBEDDED:k},D.ENGINE={NAME:d,VERSION:f},D.OS={NAME:d,VERSION:f},typeof t!==s?(e.exports&&(t=e.exports=D),t.UAParser=D):o!==(n=(function(){return D}).call(t,r,t,e))&&(e.exports=n);var C=void 0!==i&&(i.jQuery||i.Zepto);if(C&&!C.ua){var j=new D;C.ua=j.getResult(),C.ua.get=function(){return j.getUA()},C.ua.set=function(e){j.setUA(e);var t=j.getResult();for(var r in t)C.ua[r]=t[r]}}}("object"==typeof window?window:this)},42396:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.errorMessages=t.ErrorType=void 0,(n=r=t.ErrorType||(t.ErrorType={})).MalformedUnicode="MALFORMED_UNICODE",n.MalformedHexadecimal="MALFORMED_HEXADECIMAL",n.CodePointLimit="CODE_POINT_LIMIT",n.OctalDeprecation="OCTAL_DEPRECATION",n.EndOfString="END_OF_STRING",t.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},62770:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unraw=t.errorMessages=t.ErrorType=void 0;let n=r(42396);function i(e,t,r){let i=e.match(/[^a-f0-9]/i)?NaN:parseInt(e,16);if(Number.isNaN(i)||void 0!==r&&r!==e.length)throw SyntaxError(n.errorMessages.get(t));return i}function o(e,t){let r=i(e,n.ErrorType.MalformedUnicode,4);return void 0!==t?String.fromCharCode(r,i(t,n.ErrorType.MalformedUnicode,4)):String.fromCharCode(r)}Object.defineProperty(t,"ErrorType",{enumerable:!0,get:function(){return n.ErrorType}}),Object.defineProperty(t,"errorMessages",{enumerable:!0,get:function(){return n.errorMessages}});let a=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","	"],["v","\v"],["0","\0"]]),s=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function u(e,t=!1){return e.replace(s,function(e,r,s,u,l,c,d,h,p){if(void 0!==r)return"\\";if(void 0!==s)return String.fromCharCode(i(s,n.ErrorType.MalformedHexadecimal,2));if(void 0!==u)return function(e){if(!("{"===e.charAt(0)&&"}"===e.charAt(e.length-1)))throw SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));let t=i(e.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(t)}catch(e){throw e instanceof RangeError?SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):e}}(u);if(void 0!==l)return o(l,c);if(void 0!==d)return o(d);if("0"===h)return"\0";if(void 0!==h)return function(e,t=!1){if(t)throw SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));return String.fromCharCode(parseInt(e,8))}(h,!t);if(void 0!==p)return a.get(p)||p;throw SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))})}t.unraw=u,t.default=u},64846:function(e,t,r){"use strict";var n=r(57245),i=r(97375),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,u=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function d(e){return(e||"").toString().replace(o,"")}var h=[["#","hash"],["?","query"],function(e,t){return m(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function f(e){"undefined"!=typeof window?t=window:void 0!==r.g?t=r.g:"undefined"!=typeof self?t=self:t={};var t,n,i=t.location||{},o={},a=typeof(e=e||i);if("blob:"===e.protocol)o=new v(unescape(e.pathname),{});else if("string"===a)for(n in o=new v(e,{}),p)delete o[n];else if("object"===a){for(n in e)n in p||(o[n]=e[n]);void 0===o.slashes&&(o.slashes=s.test(e.href))}return o}function m(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function g(e,t){e=(e=d(e)).replace(a,""),t=t||{};var r,n=l.exec(e),i=n[1]?n[1].toLowerCase():"",o=!!n[2],s=!!n[3],u=0;return o?s?(r=n[2]+n[3]+n[4],u=n[2].length+n[3].length):(r=n[2]+n[4],u=n[2].length):s?(r=n[3]+n[4],u=n[3].length):r=n[4],"file:"===i?u>=2&&(r=r.slice(2)):m(i)?r=n[4]:i?o&&(r=r.slice(2)):u>=2&&m(t.protocol)&&(r=n[4]),{protocol:i,slashes:o||m(i),slashesCount:u,rest:r}}function v(e,t,r){if(e=(e=d(e)).replace(a,""),!(this instanceof v))return new v(e,t,r);var o,s,u,l,p,y,b=h.slice(),w=typeof t,k=0;for("object"!==w&&"string"!==w&&(r=t,t=null),r&&"function"!=typeof r&&(r=i.parse),o=!(s=g(e||"",t=f(t))).protocol&&!s.slashes,this.slashes=s.slashes||o&&t.slashes,this.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||c.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!m(this.protocol)))&&(b[3]=[/(.*)/,"pathname"]);k<b.length;k++){if("function"==typeof(l=b[k])){e=l(e,this);continue}u=l[0],y=l[1],u!=u?this[y]=e:"string"==typeof u?~(p="@"===u?e.lastIndexOf(u):e.indexOf(u))&&("number"==typeof l[2]?(this[y]=e.slice(0,p),e=e.slice(p+l[2])):(this[y]=e.slice(p),e=e.slice(0,p))):(p=u.exec(e))&&(this[y]=p[1],e=e.slice(0,p.index)),this[y]=this[y]||o&&l[3]&&t[y]||"",l[4]&&(this[y]=this[y].toLowerCase())}r&&(this.query=r(this.query)),o&&t.slashes&&"/"!==this.pathname.charAt(0)&&(""!==this.pathname||""!==t.pathname)&&(this.pathname=function(e,t){if(""===e)return t;for(var r=(t||"/").split("/").slice(0,-1).concat(e.split("/")),n=r.length,i=r[n-1],o=!1,a=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),a++):a&&(0===n&&(o=!0),r.splice(n,1),a--);return o&&r.unshift(""),("."===i||".."===i)&&r.push(""),r.join("/")}(this.pathname,t.pathname)),"/"!==this.pathname.charAt(0)&&m(this.protocol)&&(this.pathname="/"+this.pathname),n(this.port,this.protocol)||(this.host=this.hostname,this.port=""),this.username=this.password="",this.auth&&(~(p=this.auth.indexOf(":"))?(this.username=this.auth.slice(0,p),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=this.auth.slice(p+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(this.auth)),this.auth=this.password?this.username+":"+this.password:this.username),this.origin="file:"!==this.protocol&&m(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString()}v.prototype={set:function(e,t,r){switch(e){case"query":"string"==typeof t&&t.length&&(t=(r||i.parse)(t)),this[e]=t;break;case"port":this[e]=t,n(t,this.protocol)?t&&(this.host=this.hostname+":"+t):(this.host=this.hostname,this[e]="");break;case"hostname":this[e]=t,this.port&&(t+=":"+this.port),this.host=t;break;case"host":this[e]=t,u.test(t)?(t=t.split(":"),this.port=t.pop(),this.hostname=t.join(":")):(this.hostname=t,this.port="");break;case"protocol":this.protocol=t.toLowerCase(),this.slashes=!r;break;case"pathname":case"hash":if(t){var o="pathname"===e?"/":"#";this[e]=t.charAt(0)!==o?o+t:t}else this[e]=t;break;case"username":case"password":this[e]=encodeURIComponent(t);break;case"auth":var a=t.indexOf(":");~a?(this.username=t.slice(0,a),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=t.slice(a+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(t))}for(var s=0;s<h.length;s++){var l=h[s];l[4]&&(this[l[1]]=this[l[1]].toLowerCase())}return this.auth=this.password?this.username+":"+this.password:this.username,this.origin="file:"!==this.protocol&&m(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString(),this},toString:function(e){e&&"function"==typeof e||(e=i.stringify);var t,r=this.host,n=this.protocol;n&&":"!==n.charAt(n.length-1)&&(n+=":");var o=n+(this.protocol&&this.slashes||m(this.protocol)?"//":"");return this.username?(o+=this.username,this.password&&(o+=":"+this.password),o+="@"):this.password?o+=":"+this.password+"@":"file:"!==this.protocol&&m(this.protocol)&&!r&&"/"!==this.pathname&&(o+="@"),(":"===r[r.length-1]||u.test(this.hostname)&&!this.port)&&(r+=":"),o+=r+this.pathname,(t="object"==typeof this.query?e(this.query):this.query)&&(o+="?"!==t.charAt(0)?"?"+t:t),this.hash&&(o+=this.hash),o}},v.extractProtocol=g,v.location=f,v.trimLeft=d,v.qs=i,e.exports=v},22442:function(e,t,r){"use strict";r.d(t,{q:function(){return i}});var n=r(2784);function i(e,t){var r,i,o;return r=t||null,i=function(t){return e.forEach(function(e){return"function"==typeof e?e(t):e&&(e.current=t),e})},(o=(0,n.useState)(function(){return{value:r,callback:i,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=i,o.facade}},57758:function(e,t,r){"use strict";r.d(t,{L:function(){return a}});var n=r(5163),i=r(2784),o=function(e){var t=e.sideCar,r=(0,n._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw Error("Sidecar medium not found");return i.createElement(o,(0,n.pi)({},r))};function a(e,t){return e.useMedium(t),o}o.isSideCarExport=!0},64597:function(e,t,r){"use strict";r.d(t,{_:function(){return s},s:function(){return a}});var n=r(5163);function i(e){return e}function o(e,t){void 0===t&&(t=i);var r=[],n=!1;return{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var i=t(e,n);return r.push(i),function(){r=r.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var i=r;r=[],i.forEach(e),t=r}var o=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}}function a(e,t){return void 0===t&&(t=i),o(e,t)}function s(e){void 0===e&&(e={});var t=o(null);return t.options=(0,n.pi)({async:!0,ssr:!1},e),t}},20452:function(e,t,r){"use strict";var n=r(2784),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,a=n.useEffect,s=n.useLayoutEffect,u=n.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return s(function(){i.value=r,i.getSnapshot=t,l(i)&&c({inst:i})},[e,r,t]),a(function(){return l(i)&&c({inst:i}),e(function(){l(i)&&c({inst:i})})},[e]),u(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},80402:function(e,t,r){"use strict";var n=r(2784),i=r(43100),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=n.useRef,u=n.useEffect,l=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var d=s(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;var p=a(e,(d=l(function(){function e(e){if(!u){if(u=!0,a=e,e=n(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var r=n(e);return void 0!==i&&i(t,r)?t:(a=e,s=r)}var a,s,u=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,n,i]))[0],d[1]);return u(function(){h.hasValue=!0,h.value=p},[p]),c(p),p}},43100:function(e,t,r){"use strict";e.exports=r(20452)},41110:function(e,t,r){"use strict";e.exports=r(80402)},70681:function(e,t,r){!function(e){"use strict";let t;let n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol:e=>`Symbol(${e})`;function i(){}let o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:void 0;function a(e){return"object"==typeof e&&null!==e||"function"==typeof e}let s=Promise,u=Promise.prototype.then,l=Promise.resolve.bind(s),c=Promise.reject.bind(s);function d(e){return new s(e)}function h(e,t,r){return u.call(e,t,r)}function p(e,t,r){h(h(e,t,r),void 0,i)}function f(e,t){p(e,void 0,t)}function m(e){h(e,void 0,i)}let g=(()=>{let e=o&&o.queueMicrotask;if("function"==typeof e)return e;let t=l(void 0);return e=>h(t,e)})();function v(e,t,r){if("function"!=typeof e)throw TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function y(e,t,r){try{var n;return n=v(e,t,r),l(n)}catch(e){return c(e)}}class b{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(e){let t=this._back,r=t;16383===t._elements.length&&(r={_elements:[],_next:void 0}),t._elements.push(e),r!==t&&(this._back=r,t._next=r),++this._size}shift(){let e=this._front,t=e,r=this._cursor,n=r+1,i=e._elements,o=i[r];return 16384===n&&(t=e._next,n=0),--this._size,this._cursor=n,e!==t&&(this._front=t),i[r]=void 0,o}forEach(e){let t=this._cursor,r=this._front,n=r._elements;for(;!(t===n.length&&void 0===r._next||t===n.length&&(n=(r=r._next)._elements,t=0,0===n.length));)e(n[t]),++t}peek(){let e=this._front,t=this._cursor;return e._elements[t]}}function w(e,t){var r;e._ownerReadableStream=t,t._reader=e,"readable"===t._state?S(e):"closed"===t._state?(S(e),D(e)):(r=t._storedError,S(e),E(e,r))}function k(e,t){return t$(e._ownerReadableStream,t)}function x(e){var t;"readable"===e._ownerReadableStream._state?E(e,TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):(t=TypeError("Reader was released and can no longer be used to monitor the stream's closedness"),S(e),E(e,t)),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function _(e){return TypeError("Cannot "+e+" a stream using a released reader")}function S(e){e._closedPromise=d((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r})}function E(e,t){void 0!==e._closedPromise_reject&&(m(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function D(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}let C=n("[[AbortSteps]]"),j=n("[[ErrorSteps]]"),O=n("[[CancelSteps]]"),T=n("[[PullSteps]]"),A=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},P=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function R(e,t){if(void 0!==e&&"object"!=typeof e&&"function"!=typeof e)throw TypeError(`${t} is not an object.`)}function M(e,t){if("function"!=typeof e)throw TypeError(`${t} is not a function.`)}function F(e,t){if(!("object"==typeof e&&null!==e||"function"==typeof e))throw TypeError(`${t} is not an object.`)}function N(e,t,r){if(void 0===e)throw TypeError(`Parameter ${t} is required in '${r}'.`)}function I(e,t,r){if(void 0===e)throw TypeError(`${t} is required in '${r}'.`)}function L(e){return Number(e)}function B(e,t){var r,n;let i=Number.MAX_SAFE_INTEGER,o=Number(e);if(!A(o=0===(r=o)?0:r))throw TypeError(`${t} is not a finite number`);if((o=0===(n=P(o))?0:n)<0||o>i)throw TypeError(`${t} is outside the accepted range of 0 to ${i}, inclusive`);return A(o)&&0!==o?o:0}function z(e,t){if(!tU(e))throw TypeError(`${t} is not a ReadableStream.`)}function U(e){return new W(e)}function q(e,t){e._reader._readRequests.push(t)}function $(e,t,r){let n=e._reader._readRequests.shift();r?n._closeSteps():n._chunkSteps(t)}function H(e){return e._reader._readRequests.length}function V(e){let t=e._reader;return void 0!==t&&!!G(t)}class W{constructor(e){if(N(e,1,"ReadableStreamDefaultReader"),z(e,"First parameter"),tq(e))throw TypeError("This stream has already been locked for exclusive reading by another reader");w(this,e),this._readRequests=new b}get closed(){return G(this)?this._closedPromise:c(Z("closed"))}cancel(e){return G(this)?void 0===this._ownerReadableStream?c(_("cancel")):k(this,e):c(Z("cancel"))}read(){let e,t;if(!G(this))return c(Z("read"));if(void 0===this._ownerReadableStream)return c(_("read from"));let r=d((r,n)=>{e=r,t=n});return Y(this,{_chunkSteps:t=>e({value:t,done:!1}),_closeSteps:()=>e({value:void 0,done:!0}),_errorSteps:e=>t(e)}),r}releaseLock(){if(!G(this))throw Z("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");x(this)}}}function G(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")&&e instanceof W}function Y(e,t){let r=e._ownerReadableStream;r._disturbed=!0,"closed"===r._state?t._closeSteps():"errored"===r._state?t._errorSteps(r._storedError):r._readableStreamController[T](t)}function Z(e){return TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}Object.defineProperties(W.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(W.prototype,n.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0}),"symbol"==typeof n.asyncIterator&&Object.defineProperty(t={[n.asyncIterator](){return this}},n.asyncIterator,{enumerable:!1});class K{constructor(e,t){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=e,this._preventCancel=t}next(){let e=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?h(this._ongoingPromise,e,e):e(),this._ongoingPromise}return(e){let t=()=>this._returnSteps(e);return this._ongoingPromise?h(this._ongoingPromise,t,t):t()}_nextSteps(){let e,t;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let r=this._reader;if(void 0===r._ownerReadableStream)return c(_("iterate"));let n=d((r,n)=>{e=r,t=n});return Y(r,{_chunkSteps:t=>{this._ongoingPromise=void 0,g(()=>e({value:t,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,x(r),e({value:void 0,done:!0})},_errorSteps:e=>{this._ongoingPromise=void 0,this._isFinished=!0,x(r),t(e)}}),n}_returnSteps(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;let t=this._reader;if(void 0===t._ownerReadableStream)return c(_("finish iterating"));if(!this._preventCancel){let r=k(t,e);return x(t),h(r,()=>({value:e,done:!0}),void 0)}return x(t),l({value:e,done:!0})}}let J={next(){return X(this)?this._asyncIteratorImpl.next():c(Q("next"))},return(e){return X(this)?this._asyncIteratorImpl.return(e):c(Q("return"))}};function X(e){if(!a(e)||!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof K}catch(e){return!1}}function Q(e){return TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`)}void 0!==t&&Object.setPrototypeOf(J,t);let ee=Number.isNaN||function(e){return e!=e};function et(e){return e.slice()}function er(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)}function en(e,t,r){if(e.slice)return e.slice(t,r);let n=r-t,i=new ArrayBuffer(n);return er(i,0,e,t,n),i}function ei(e){return new Uint8Array(en(e.buffer,e.byteOffset,e.byteOffset+e.byteLength))}function eo(e){let t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function ea(e,t,r){if("number"!=typeof r||ee(r)||r<0||r===1/0)throw RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function es(e){e._queue=new b,e._queueTotalSize=0}class eu{constructor(){throw TypeError("Illegal constructor")}get view(){if(!ed(this))throw eR("view");return this._view}respond(e){if(!ed(this))throw eR("respond");if(N(e,1,"respond"),e=B(e,"First parameter"),void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");this._view.buffer,eT(this._associatedReadableByteStreamController,e)}respondWithNewView(e){if(!ed(this))throw eR("respondWithNewView");if(N(e,1,"respondWithNewView"),!ArrayBuffer.isView(e))throw TypeError("You can only respond with array buffer views");if(void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");e.buffer,eA(this._associatedReadableByteStreamController,e)}}Object.defineProperties(eu.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(eu.prototype,n.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});class el{constructor(){throw TypeError("Illegal constructor")}get byobRequest(){if(!ec(this))throw eM("byobRequest");return ej(this)}get desiredSize(){if(!ec(this))throw eM("desiredSize");return eO(this)}close(){if(!ec(this))throw eM("close");if(this._closeRequested)throw TypeError("The stream has already been closed; do not close it again!");let e=this._controlledReadableByteStream._state;if("readable"!==e)throw TypeError(`The stream (in ${e} state) is not in the readable state and cannot be closed`);eE(this)}enqueue(e){if(!ec(this))throw eM("enqueue");if(N(e,1,"enqueue"),!ArrayBuffer.isView(e))throw TypeError("chunk must be an array buffer view");if(0===e.byteLength)throw TypeError("chunk must have non-zero byteLength");if(0===e.buffer.byteLength)throw TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw TypeError("stream is closed or draining");let t=this._controlledReadableByteStream._state;if("readable"!==t)throw TypeError(`The stream (in ${t} state) is not in the readable state and cannot be enqueued to`);eD(this,e)}error(e){if(!ec(this))throw eM("error");eC(this,e)}[O](e){ep(this),es(this);let t=this._cancelAlgorithm(e);return eS(this),t}[T](e){let t=this._controlledReadableByteStream;if(this._queueTotalSize>0){let t=this._queue.shift();this._queueTotalSize-=t.byteLength,eb(this);let r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);return void e._chunkSteps(r)}let r=this._autoAllocateChunkSize;if(void 0!==r){let t;try{t=new ArrayBuffer(r)}catch(t){return void e._errorSteps(t)}let n={buffer:t,bufferByteLength:r,byteOffset:0,byteLength:r,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(n)}q(t,e),eh(this)}}function ec(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")&&e instanceof el}function ed(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")&&e instanceof eu}function eh(e){if(function(e){let t=e._controlledReadableByteStream;return"readable"===t._state&&!e._closeRequested&&!!e._started&&!!(V(t)&&H(t)>0||eI(t)&&eN(t)>0||eO(e)>0)}(e)){if(e._pulling)return void(e._pullAgain=!0);e._pulling=!0,p(e._pullAlgorithm(),()=>{e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,eh(e))},t=>{eC(e,t)})}}function ep(e){ew(e),e._pendingPullIntos=new b}function ef(e,t){let r=!1;"closed"===e._state&&(r=!0);let n=em(t);"default"===t.readerType?$(e,n,r):function(e,t,r){let n=e._reader._readIntoRequests.shift();r?n._closeSteps(t):n._chunkSteps(t)}(e,n,r)}function em(e){let t=e.bytesFilled,r=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/r)}function eg(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function ev(e,t){let r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),o=t.bytesFilled+i,a=o-o%r,s=i,u=!1;a>n&&(s=a-t.bytesFilled,u=!0);let l=e._queue;for(;s>0;){let r=l.peek(),n=Math.min(s,r.byteLength),i=t.byteOffset+t.bytesFilled;er(t.buffer,i,r.buffer,r.byteOffset,n),r.byteLength===n?l.shift():(r.byteOffset+=n,r.byteLength-=n),e._queueTotalSize-=n,ey(e,n,t),s-=n}return u}function ey(e,t,r){r.bytesFilled+=t}function eb(e){0===e._queueTotalSize&&e._closeRequested?(eS(e),tH(e._controlledReadableByteStream)):eh(e)}function ew(e){null!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function ek(e){for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;let t=e._pendingPullIntos.peek();ev(e,t)&&(e_(e),ef(e._controlledReadableByteStream,t))}}function ex(e,t){let r=e._pendingPullIntos.peek();ew(e),"closed"===e._controlledReadableByteStream._state?function(e,t){let r=e._controlledReadableByteStream;if(eI(r))for(;eN(r)>0;)ef(r,e_(e))}(e):function(e,t,r){if(ey(0,t,r),r.bytesFilled<r.elementSize)return;e_(e);let n=r.bytesFilled%r.elementSize;if(n>0){let t=r.byteOffset+r.bytesFilled,i=en(r.buffer,t-n,t);eg(e,i,0,i.byteLength)}r.bytesFilled-=n,ef(e._controlledReadableByteStream,r),ek(e)}(e,t,r),eh(e)}function e_(e){return e._pendingPullIntos.shift()}function eS(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function eE(e){let t=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===t._state){if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0&&e._pendingPullIntos.peek().bytesFilled>0){let t=TypeError("Insufficient bytes to fill elements in the given buffer");throw eC(e,t),t}eS(e),tH(t)}}}function eD(e,t){let r=e._controlledReadableByteStream;if(e._closeRequested||"readable"!==r._state)return;let n=t.buffer,i=t.byteOffset,o=t.byteLength;if(e._pendingPullIntos.length>0){let t=e._pendingPullIntos.peek();t.buffer,t.buffer=t.buffer}(ew(e),V(r))?0===H(r)?eg(e,n,i,o):(e._pendingPullIntos.length>0&&e_(e),$(r,new Uint8Array(n,i,o),!1)):eI(r)?(eg(e,n,i,o),ek(e)):eg(e,n,i,o),eh(e)}function eC(e,t){let r=e._controlledReadableByteStream;"readable"===r._state&&(ep(e),es(e),eS(e),tV(r,t))}function ej(e){if(null===e._byobRequest&&e._pendingPullIntos.length>0){let t=e._pendingPullIntos.peek(),r=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),n=Object.create(eu.prototype);n._associatedReadableByteStreamController=e,n._view=r,e._byobRequest=n}return e._byobRequest}function eO(e){let t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function eT(e,t){let r=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t)throw TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(0===t)throw TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(r.bytesFilled+t>r.byteLength)throw RangeError("bytesWritten out of range")}r.buffer=r.buffer,ex(e,t)}function eA(e,t){let r=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t.byteLength)throw TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(0===t.byteLength)throw TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw RangeError("The region specified by view does not match byobRequest");if(r.bufferByteLength!==t.buffer.byteLength)throw RangeError("The buffer of view has different capacity than byobRequest");if(r.bytesFilled+t.byteLength>r.byteLength)throw RangeError("The region specified by view is larger than byobRequest");let n=t.byteLength;r.buffer=t.buffer,ex(e,n)}function eP(e,t,r,n,i,o,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,es(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=o,t._pullAlgorithm=n,t._cancelAlgorithm=i,t._autoAllocateChunkSize=a,t._pendingPullIntos=new b,e._readableStreamController=t,p(l(r()),()=>{t._started=!0,eh(t)},e=>{eC(t,e)})}function eR(e){return TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function eM(e){return TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}function eF(e,t){e._reader._readIntoRequests.push(t)}function eN(e){return e._reader._readIntoRequests.length}function eI(e){let t=e._reader;return void 0!==t&&!!eB(t)}Object.defineProperties(el.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(el.prototype,n.toStringTag,{value:"ReadableByteStreamController",configurable:!0});class eL{constructor(e){if(N(e,1,"ReadableStreamBYOBReader"),z(e,"First parameter"),tq(e))throw TypeError("This stream has already been locked for exclusive reading by another reader");if(!ec(e._readableStreamController))throw TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");w(this,e),this._readIntoRequests=new b}get closed(){return eB(this)?this._closedPromise:c(eU("closed"))}cancel(e){return eB(this)?void 0===this._ownerReadableStream?c(_("cancel")):k(this,e):c(eU("cancel"))}read(e){let t,r;if(!eB(this))return c(eU("read"));if(!ArrayBuffer.isView(e))return c(TypeError("view must be an array buffer view"));if(0===e.byteLength)return c(TypeError("view must have non-zero byteLength"));if(0===e.buffer.byteLength)return c(TypeError("view's buffer must have non-zero byteLength"));if(e.buffer,void 0===this._ownerReadableStream)return c(_("read from"));let n=d((e,n)=>{t=e,r=n});return ez(this,e,{_chunkSteps:e=>t({value:e,done:!1}),_closeSteps:e=>t({value:e,done:!0}),_errorSteps:e=>r(e)}),n}releaseLock(){if(!eB(this))throw eU("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");x(this)}}}function eB(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")&&e instanceof eL}function ez(e,t,r){let n=e._ownerReadableStream;n._disturbed=!0,"errored"===n._state?r._errorSteps(n._storedError):function(e,t,r){let n=e._controlledReadableByteStream,i=1;t.constructor!==DataView&&(i=t.constructor.BYTES_PER_ELEMENT);let o=t.constructor,a=t.buffer,s={buffer:a,bufferByteLength:a.byteLength,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:i,viewConstructor:o,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(s),void eF(n,r);if("closed"!==n._state){if(e._queueTotalSize>0){if(ev(e,s)){let t=em(s);return eb(e),void r._chunkSteps(t)}if(e._closeRequested){let t=TypeError("Insufficient bytes to fill elements in the given buffer");return eC(e,t),void r._errorSteps(t)}}e._pendingPullIntos.push(s),eF(n,r),eh(e)}else{let e=new o(s.buffer,s.byteOffset,0);r._closeSteps(e)}}(n._readableStreamController,t,r)}function eU(e){return TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function eq(e,t){let{highWaterMark:r}=e;if(void 0===r)return t;if(ee(r)||r<0)throw RangeError("Invalid highWaterMark");return r}function e$(e){let{size:t}=e;return t||(()=>1)}function eH(e,t){R(e,t);let r=null==e?void 0:e.highWaterMark,n=null==e?void 0:e.size;return{highWaterMark:void 0===r?void 0:L(r),size:void 0===n?void 0:(M(n,`${t} has member 'size' that`),e=>L(n(e)))}}function eV(e,t){if(!eZ(e))throw TypeError(`${t} is not a WritableStream.`)}Object.defineProperties(eL.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(eL.prototype,n.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});let eW="function"==typeof AbortController;class eG{constructor(e={},t={}){void 0===e?e=null:F(e,"First parameter");let r=eH(t,"Second parameter"),n=function(e,t){R(e,t);let r=null==e?void 0:e.abort,n=null==e?void 0:e.close,i=null==e?void 0:e.start,o=null==e?void 0:e.type,a=null==e?void 0:e.write;return{abort:void 0===r?void 0:(M(r,`${t} has member 'abort' that`),t=>y(r,e,[t])),close:void 0===n?void 0:(M(n,`${t} has member 'close' that`),()=>y(n,e,[])),start:void 0===i?void 0:(M(i,`${t} has member 'start' that`),t=>v(i,e,[t])),write:void 0===a?void 0:(M(a,`${t} has member 'write' that`),(t,r)=>y(a,e,[t,r])),type:o}}(e,"First parameter");if(eY(this),void 0!==n.type)throw RangeError("Invalid type is specified");let i=e$(r);!function(e,t,r,n){let i=Object.create(tr.prototype),o=()=>{},a=()=>l(void 0),s=()=>l(void 0),u=()=>l(void 0);void 0!==t.start&&(o=()=>t.start(i)),void 0!==t.write&&(a=e=>t.write(e,i)),void 0!==t.close&&(s=()=>t.close()),void 0!==t.abort&&(u=e=>t.abort(e)),ti(e,i,o,a,s,u,r,n)}(this,n,eq(r,1),i)}get locked(){if(!eZ(this))throw tc("locked");return eK(this)}abort(e){return eZ(this)?eK(this)?c(TypeError("Cannot abort a stream that already has a writer")):eJ(this,e):c(tc("abort"))}close(){return eZ(this)?eK(this)?c(TypeError("Cannot close a stream that already has a writer")):e2(this)?c(TypeError("Cannot close an already-closing stream")):eX(this):c(tc("close"))}getWriter(){if(!eZ(this))throw tc("getWriter");return new e4(this)}}function eY(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new b,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function eZ(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")&&e instanceof eG}function eK(e){return void 0!==e._writer}function eJ(e,t){var r;if("closed"===e._state||"errored"===e._state)return l(void 0);e._writableStreamController._abortReason=t,null===(r=e._writableStreamController._abortController)||void 0===r||r.abort();let n=e._state;if("closed"===n||"errored"===n)return l(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;let i=!1;"erroring"===n&&(i=!0,t=void 0);let o=d((r,n)=>{e._pendingAbortRequest={_promise:void 0,_resolve:r,_reject:n,_reason:t,_wasAlreadyErroring:i}});return e._pendingAbortRequest._promise=o,i||e0(e,t),o}function eX(e){var t;let r=e._state;if("closed"===r||"errored"===r)return c(TypeError(`The stream (in ${r} state) is not in the writable state and cannot be closed`));let n=d((t,r)=>{e._closeRequest={_resolve:t,_reject:r}}),i=e._writer;return void 0!==i&&e._backpressure&&"writable"===r&&tw(i),ea(t=e._writableStreamController,tt,0),ts(t),n}function eQ(e,t){"writable"!==e._state?e1(e):e0(e,t)}function e0(e,t){let r=e._writableStreamController;e._state="erroring",e._storedError=t;let n=e._writer;void 0!==n&&e9(n,t),!(void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest)&&r._started&&e1(e)}function e1(e){e._state="errored",e._writableStreamController[j]();let t=e._storedError;if(e._writeRequests.forEach(e=>{e._reject(t)}),e._writeRequests=new b,void 0===e._pendingAbortRequest)return void e3(e);let r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,r._wasAlreadyErroring)return r._reject(t),void e3(e);p(e._writableStreamController[C](r._reason),()=>{r._resolve(),e3(e)},t=>{r._reject(t),e3(e)})}function e2(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function e3(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);let t=e._writer;void 0!==t&&tm(t,e._storedError)}function e5(e,t){let r=e._writer;void 0!==r&&t!==e._backpressure&&(t?tv(r):tw(r)),e._backpressure=t}Object.defineProperties(eG.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(eG.prototype,n.toStringTag,{value:"WritableStream",configurable:!0});class e4{constructor(e){if(N(e,1,"WritableStreamDefaultWriter"),eV(e,"First parameter"),eK(e))throw TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;let t=e._state;if("writable"===t)!e2(e)&&e._backpressure?tv(this):(tv(this),tw(this)),tf(this);else if("erroring"===t)ty(this,e._storedError),tf(this);else if("closed"===t)tv(this),tw(this),tf(this),tg(this);else{let t=e._storedError;ty(this,t),tf(this),tm(this,t)}}get closed(){return e6(this)?this._closedPromise:c(th("closed"))}get desiredSize(){if(!e6(this))throw th("desiredSize");if(void 0===this._ownerWritableStream)throw tp("desiredSize");return function(e){let t=e._ownerWritableStream,r=t._state;return"errored"===r||"erroring"===r?null:"closed"===r?0:ta(t._writableStreamController)}(this)}get ready(){return e6(this)?this._readyPromise:c(th("ready"))}abort(e){return e6(this)?void 0===this._ownerWritableStream?c(tp("abort")):eJ(this._ownerWritableStream,e):c(th("abort"))}close(){if(!e6(this))return c(th("close"));let e=this._ownerWritableStream;return void 0===e?c(tp("close")):e2(e)?c(TypeError("Cannot close an already-closing stream")):e8(this)}releaseLock(){if(!e6(this))throw th("releaseLock");void 0!==this._ownerWritableStream&&e7(this)}write(e){return e6(this)?void 0===this._ownerWritableStream?c(tp("write to")):te(this,e):c(th("write"))}}function e6(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")&&e instanceof e4}function e8(e){return eX(e._ownerWritableStream)}function e9(e,t){"pending"===e._readyPromiseState?tb(e,t):ty(e,t)}function e7(e){let t=e._ownerWritableStream,r=TypeError("Writer was released and can no longer be used to monitor the stream's closedness");e9(e,r),"pending"===e._closedPromiseState||tf(e),tm(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function te(e,t){let r=e._ownerWritableStream,n=r._writableStreamController,i=function(e,t){try{return e._strategySizeAlgorithm(t)}catch(t){return tu(e,t),1}}(n,t);if(r!==e._ownerWritableStream)return c(tp("write to"));let o=r._state;if("errored"===o)return c(r._storedError);if(e2(r)||"closed"===o)return c(TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===o)return c(r._storedError);let a=d((e,t)=>{r._writeRequests.push({_resolve:e,_reject:t})});return function(e,t,r){try{ea(e,t,r)}catch(t){return void tu(e,t)}let n=e._controlledWritableStream;e2(n)||"writable"!==n._state||e5(n,0>=ta(e)),ts(e)}(n,t,i),a}Object.defineProperties(e4.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(e4.prototype,n.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});let tt={};class tr{constructor(){throw TypeError("Illegal constructor")}get abortReason(){if(!tn(this))throw td("abortReason");return this._abortReason}get signal(){if(!tn(this))throw td("signal");if(void 0===this._abortController)throw TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(e){if(!tn(this))throw td("error");"writable"===this._controlledWritableStream._state&&tl(this,e)}[C](e){let t=this._abortAlgorithm(e);return to(this),t}[j](){es(this)}}function tn(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")&&e instanceof tr}function ti(e,t,r,n,i,o,a,s){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,es(t),t._abortReason=void 0,t._abortController=function(){if(eW)return new AbortController}(),t._started=!1,t._strategySizeAlgorithm=s,t._strategyHWM=a,t._writeAlgorithm=n,t._closeAlgorithm=i,t._abortAlgorithm=o,e5(e,0>=ta(t)),p(l(r()),()=>{t._started=!0,ts(t)},r=>{t._started=!0,eQ(e,r)})}function to(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function ta(e){return e._strategyHWM-e._queueTotalSize}function ts(e){let t=e._controlledWritableStream;if(!e._started||void 0!==t._inFlightWriteRequest)return;if("erroring"===t._state)return void e1(t);if(0===e._queue.length)return;let r=e._queue.peek().value;r===tt?function(e){let t=e._controlledWritableStream;t._inFlightCloseRequest=t._closeRequest,t._closeRequest=void 0,eo(e);let r=e._closeAlgorithm();to(e),p(r,()=>{!function(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,"erroring"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";let t=e._writer;void 0!==t&&tg(t)}(t)},e=>{t._inFlightCloseRequest._reject(e),t._inFlightCloseRequest=void 0,void 0!==t._pendingAbortRequest&&(t._pendingAbortRequest._reject(e),t._pendingAbortRequest=void 0),eQ(t,e)})}(e):function(e,t){let r=e._controlledWritableStream;r._inFlightWriteRequest=r._writeRequests.shift(),p(e._writeAlgorithm(t),()=>{r._inFlightWriteRequest._resolve(void 0),r._inFlightWriteRequest=void 0;let t=r._state;eo(e),e2(r)||"writable"!==t||e5(r,0>=ta(e)),ts(e)},t=>{"writable"===r._state&&to(e),r._inFlightWriteRequest._reject(t),r._inFlightWriteRequest=void 0,eQ(r,t)})}(e,r)}function tu(e,t){"writable"===e._controlledWritableStream._state&&tl(e,t)}function tl(e,t){let r=e._controlledWritableStream;to(e),e0(r,t)}function tc(e){return TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function td(e){return TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`)}function th(e){return TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function tp(e){return TypeError("Cannot "+e+" a stream using a released writer")}function tf(e){e._closedPromise=d((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function tm(e,t){void 0!==e._closedPromise_reject&&(m(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function tg(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved")}function tv(e){e._readyPromise=d((t,r)=>{e._readyPromise_resolve=t,e._readyPromise_reject=r}),e._readyPromiseState="pending"}function ty(e,t){tv(e),tb(e,t)}function tb(e,t){void 0!==e._readyPromise_reject&&(m(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function tw(e){void 0!==e._readyPromise_resolve&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}Object.defineProperties(tr.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(tr.prototype,n.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});let tk="undefined"!=typeof DOMException?DOMException:void 0,tx=!function(e){if("function"!=typeof e&&"object"!=typeof e)return!1;try{return new e,!0}catch(e){return!1}}(tk)?function(){let e=function(e,t){this.message=e||"",this.name=t||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return e.prototype=Object.create(Error.prototype),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,configurable:!0}),e}():tk;function t_(e,t,r,n,o,a){let s=U(e),u=new e4(t);e._disturbed=!0;let g=!1,v=l(void 0);return d((y,b)=>{var w,k;let _;if(void 0!==a){if(_=()=>{let r=new tx("Aborted","AbortError"),i=[];n||i.push(()=>"writable"===t._state?eJ(t,r):l(void 0)),o||i.push(()=>"readable"===e._state?t$(e,r):l(void 0)),D(()=>Promise.all(i.map(e=>e())),!0,r)},a.aborted)return void _();a.addEventListener("abort",_)}if(E(e,s._closedPromise,e=>{n?C(!0,e):D(()=>eJ(t,e),!0,e)}),E(t,u._closedPromise,t=>{o?C(!0,t):D(()=>t$(e,t),!0,t)}),w=s._closedPromise,k=()=>{r?C():D(()=>(function(e){let t=e._ownerWritableStream,r=t._state;return e2(t)||"closed"===r?l(void 0):"errored"===r?c(t._storedError):e8(e)})(u))},"closed"===e._state?k():p(w,k),e2(t)||"closed"===t._state){let t=TypeError("the destination writable stream closed before all data could be piped to it");o?C(!0,t):D(()=>t$(e,t),!0,t)}function S(){let e=v;return h(v,()=>e!==v?S():void 0)}function E(e,t,r){"errored"===e._state?r(e._storedError):f(t,r)}function D(e,r,n){function i(){p(e(),()=>j(r,n),e=>j(!0,e))}g||(g=!0,"writable"!==t._state||e2(t)?i():p(S(),i))}function C(e,r){g||(g=!0,"writable"!==t._state||e2(t)?j(e,r):p(S(),()=>j(e,r)))}function j(e,t){e7(u),x(s),void 0!==a&&a.removeEventListener("abort",_),e?b(t):y(void 0)}m(d((e,t)=>{!function r(n){n?e():h(g?l(!0):h(u._readyPromise,()=>d((e,t)=>{Y(s,{_chunkSteps:t=>{v=h(te(u,t),void 0,i),e(!1)},_closeSteps:()=>e(!0),_errorSteps:t})})),r,t)}(!1)}))})}class tS{constructor(){throw TypeError("Illegal constructor")}get desiredSize(){if(!tE(this))throw tF("desiredSize");return tP(this)}close(){if(!tE(this))throw tF("close");if(!tR(this))throw TypeError("The stream is not in a state that permits close");tO(this)}enqueue(e){if(!tE(this))throw tF("enqueue");if(!tR(this))throw TypeError("The stream is not in a state that permits enqueue");return tT(this,e)}error(e){if(!tE(this))throw tF("error");tA(this,e)}[O](e){es(this);let t=this._cancelAlgorithm(e);return tj(this),t}[T](e){let t=this._controlledReadableStream;if(this._queue.length>0){let r=eo(this);this._closeRequested&&0===this._queue.length?(tj(this),tH(t)):tD(this),e._chunkSteps(r)}else q(t,e),tD(this)}}function tE(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")&&e instanceof tS}function tD(e){if(tC(e)){if(e._pulling)return void(e._pullAgain=!0);e._pulling=!0,p(e._pullAlgorithm(),()=>{e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,tD(e))},t=>{tA(e,t)})}}function tC(e){let t=e._controlledReadableStream;return!!tR(e)&&!!e._started&&(!!(tq(t)&&H(t)>0)||tP(e)>0)}function tj(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function tO(e){if(!tR(e))return;let t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(tj(e),tH(t))}function tT(e,t){if(!tR(e))return;let r=e._controlledReadableStream;if(tq(r)&&H(r)>0)$(r,t,!1);else{let r;try{r=e._strategySizeAlgorithm(t)}catch(t){throw tA(e,t),t}try{ea(e,t,r)}catch(t){throw tA(e,t),t}}tD(e)}function tA(e,t){let r=e._controlledReadableStream;"readable"===r._state&&(es(e),tj(e),tV(r,t))}function tP(e){let t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function tR(e){let t=e._controlledReadableStream._state;return!e._closeRequested&&"readable"===t}function tM(e,t,r,n,i,o,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,es(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=o,t._pullAlgorithm=n,t._cancelAlgorithm=i,e._readableStreamController=t,p(l(r()),()=>{t._started=!0,tD(t)},e=>{tA(t,e)})}function tF(e){return TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function tN(e,t){R(e,t);let r=null==e?void 0:e.preventAbort,n=null==e?void 0:e.preventCancel,i=null==e?void 0:e.preventClose,o=null==e?void 0:e.signal;return void 0!==o&&function(e,t){if(!function(e){if("object"!=typeof e||null===e)return!1;try{return"boolean"==typeof e.aborted}catch(e){return!1}}(e))throw TypeError(`${t} is not an AbortSignal.`)}(o,`${t} has member 'signal' that`),{preventAbort:!!r,preventCancel:!!n,preventClose:!!i,signal:o}}Object.defineProperties(tS.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(tS.prototype,n.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});class tI{constructor(e={},t={}){void 0===e?e=null:F(e,"First parameter");let r=eH(t,"Second parameter"),n=function(e,t){R(e,t);let r=null==e?void 0:e.autoAllocateChunkSize,n=null==e?void 0:e.cancel,i=null==e?void 0:e.pull,o=null==e?void 0:e.start,a=null==e?void 0:e.type;return{autoAllocateChunkSize:void 0===r?void 0:B(r,`${t} has member 'autoAllocateChunkSize' that`),cancel:void 0===n?void 0:(M(n,`${t} has member 'cancel' that`),t=>y(n,e,[t])),pull:void 0===i?void 0:(M(i,`${t} has member 'pull' that`),t=>y(i,e,[t])),start:void 0===o?void 0:(M(o,`${t} has member 'start' that`),t=>v(o,e,[t])),type:void 0===a?void 0:function(e,t){if("bytes"!=(e=`${e}`))throw TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);return e}(a,`${t} has member 'type' that`)}}(e,"First parameter");if(tz(this),"bytes"===n.type){if(void 0!==r.size)throw RangeError("The strategy for a byte stream cannot have a size function");!function(e,t,r){let n=Object.create(el.prototype),i=()=>{},o=()=>l(void 0),a=()=>l(void 0);void 0!==t.start&&(i=()=>t.start(n)),void 0!==t.pull&&(o=()=>t.pull(n)),void 0!==t.cancel&&(a=e=>t.cancel(e));let s=t.autoAllocateChunkSize;if(0===s)throw TypeError("autoAllocateChunkSize must be greater than 0");eP(e,n,i,o,a,r,s)}(this,n,eq(r,0))}else{let e=e$(r);!function(e,t,r,n){let i=Object.create(tS.prototype),o=()=>{},a=()=>l(void 0),s=()=>l(void 0);void 0!==t.start&&(o=()=>t.start(i)),void 0!==t.pull&&(a=()=>t.pull(i)),void 0!==t.cancel&&(s=e=>t.cancel(e)),tM(e,i,o,a,s,r,n)}(this,n,eq(r,1),e)}}get locked(){if(!tU(this))throw tW("locked");return tq(this)}cancel(e){return tU(this)?tq(this)?c(TypeError("Cannot cancel a stream that already has a reader")):t$(this,e):c(tW("cancel"))}getReader(e){if(!tU(this))throw tW("getReader");return void 0===function(e,t){R(e,t);let r=null==e?void 0:e.mode;return{mode:void 0===r?void 0:function(e,t){if("byob"!=(e=`${e}`))throw TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);return e}(r,`${t} has member 'mode' that`)}}(e,"First parameter").mode?U(this):new eL(this)}pipeThrough(e,t={}){if(!tU(this))throw tW("pipeThrough");N(e,1,"pipeThrough");let r=function(e,t){R(e,t);let r=null==e?void 0:e.readable;I(r,"readable","ReadableWritablePair"),z(r,`${t} has member 'readable' that`);let n=null==e?void 0:e.writable;return I(n,"writable","ReadableWritablePair"),eV(n,`${t} has member 'writable' that`),{readable:r,writable:n}}(e,"First parameter"),n=tN(t,"Second parameter");if(tq(this))throw TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(eK(r.writable))throw TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return m(t_(this,r.writable,n.preventClose,n.preventAbort,n.preventCancel,n.signal)),r.readable}pipeTo(e,t={}){let r;if(!tU(this))return c(tW("pipeTo"));if(void 0===e)return c("Parameter 1 is required in 'pipeTo'.");if(!eZ(e))return c(TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));try{r=tN(t,"Second parameter")}catch(e){return c(e)}return tq(this)?c(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):eK(e)?c(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):t_(this,e,r.preventClose,r.preventAbort,r.preventCancel,r.signal)}tee(){if(!tU(this))throw tW("tee");return et(ec(this._readableStreamController)?function(e){let t,r,n,i,o,a=U(e),s=!1,u=!1,c=!1,h=!1,p=!1,m=d(e=>{o=e});function v(e){f(e._closedPromise,t=>{e===a&&(eC(n._readableStreamController,t),eC(i._readableStreamController,t),h&&p||o(void 0))})}function y(){eB(a)&&(x(a),v(a=U(e))),Y(a,{_chunkSteps:t=>{g(()=>{u=!1,c=!1;let r=t;if(!h&&!p)try{r=ei(t)}catch(t){return eC(n._readableStreamController,t),eC(i._readableStreamController,t),void o(t$(e,t))}h||eD(n._readableStreamController,t),p||eD(i._readableStreamController,r),s=!1,u?w():c&&k()})},_closeSteps:()=>{s=!1,h||eE(n._readableStreamController),p||eE(i._readableStreamController),n._readableStreamController._pendingPullIntos.length>0&&eT(n._readableStreamController,0),i._readableStreamController._pendingPullIntos.length>0&&eT(i._readableStreamController,0),h&&p||o(void 0)},_errorSteps:()=>{s=!1}})}function b(t,r){G(a)&&(x(a),v(a=new eL(e)));let l=r?i:n,d=r?n:i;ez(a,t,{_chunkSteps:t=>{g(()=>{u=!1,c=!1;let n=r?p:h;if(r?h:p)n||eA(l._readableStreamController,t);else{let r;try{r=ei(t)}catch(t){return eC(l._readableStreamController,t),eC(d._readableStreamController,t),void o(t$(e,t))}n||eA(l._readableStreamController,t),eD(d._readableStreamController,r)}s=!1,u?w():c&&k()})},_closeSteps:e=>{s=!1;let t=r?p:h,n=r?h:p;t||eE(l._readableStreamController),n||eE(d._readableStreamController),void 0!==e&&(t||eA(l._readableStreamController,e),!n&&d._readableStreamController._pendingPullIntos.length>0&&eT(d._readableStreamController,0)),t&&n||o(void 0)},_errorSteps:()=>{s=!1}})}function w(){if(s)return u=!0,l(void 0);s=!0;let e=ej(n._readableStreamController);return null===e?y():b(e._view,!1),l(void 0)}function k(){if(s)return c=!0,l(void 0);s=!0;let e=ej(i._readableStreamController);return null===e?y():b(e._view,!0),l(void 0)}function _(){}return n=tB(_,w,function(n){if(h=!0,t=n,p){let n=t$(e,et([t,r]));o(n)}return m}),i=tB(_,k,function(n){if(p=!0,r=n,h){let n=t$(e,et([t,r]));o(n)}return m}),v(a),[n,i]}(this):function(e,t){let r=U(e),n,i,o,a,s,u=!1,c=!1,h=!1,p=!1,m=d(e=>{s=e});function v(){return u?c=!0:(u=!0,Y(r,{_chunkSteps:e=>{g(()=>{c=!1,h||tT(o._readableStreamController,e),p||tT(a._readableStreamController,e),u=!1,c&&v()})},_closeSteps:()=>{u=!1,h||tO(o._readableStreamController),p||tO(a._readableStreamController),h&&p||s(void 0)},_errorSteps:()=>{u=!1}})),l(void 0)}function y(){}return o=tL(y,v,function(t){if(h=!0,n=t,p){let t=t$(e,et([n,i]));s(t)}return m}),a=tL(y,v,function(t){if(p=!0,i=t,h){let t=t$(e,et([n,i]));s(t)}return m}),f(r._closedPromise,e=>{tA(o._readableStreamController,e),tA(a._readableStreamController,e),h&&p||s(void 0)}),[o,a]}(this))}values(e){if(!tU(this))throw tW("values");return function(e,t){let r=new K(U(e),t),n=Object.create(J);return n._asyncIteratorImpl=r,n}(this,(R(e,"First parameter"),{preventCancel:!!(null==e?void 0:e.preventCancel)}).preventCancel)}}function tL(e,t,r,n=1,i=()=>1){let o=Object.create(tI.prototype);return tz(o),tM(o,Object.create(tS.prototype),e,t,r,n,i),o}function tB(e,t,r){let n=Object.create(tI.prototype);return tz(n),eP(n,Object.create(el.prototype),e,t,r,0,void 0),n}function tz(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function tU(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")&&e instanceof tI}function tq(e){return void 0!==e._reader}function t$(e,t){if(e._disturbed=!0,"closed"===e._state)return l(void 0);if("errored"===e._state)return c(e._storedError);tH(e);let r=e._reader;return void 0!==r&&eB(r)&&(r._readIntoRequests.forEach(e=>{e._closeSteps(void 0)}),r._readIntoRequests=new b),h(e._readableStreamController[O](t),i,void 0)}function tH(e){e._state="closed";let t=e._reader;void 0!==t&&(D(t),G(t)&&(t._readRequests.forEach(e=>{e._closeSteps()}),t._readRequests=new b))}function tV(e,t){e._state="errored",e._storedError=t;let r=e._reader;void 0!==r&&(E(r,t),G(r)?(r._readRequests.forEach(e=>{e._errorSteps(t)}),r._readRequests=new b):(r._readIntoRequests.forEach(e=>{e._errorSteps(t)}),r._readIntoRequests=new b))}function tW(e){return TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function tG(e,t){R(e,t);let r=null==e?void 0:e.highWaterMark;return I(r,"highWaterMark","QueuingStrategyInit"),{highWaterMark:L(r)}}Object.defineProperties(tI.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(tI.prototype,n.toStringTag,{value:"ReadableStream",configurable:!0}),"symbol"==typeof n.asyncIterator&&Object.defineProperty(tI.prototype,n.asyncIterator,{value:tI.prototype.values,writable:!0,configurable:!0});let tY=e=>e.byteLength;try{Object.defineProperty(tY,"name",{value:"size",configurable:!0})}catch(e){}class tZ{constructor(e){N(e,1,"ByteLengthQueuingStrategy"),e=tG(e,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!tJ(this))throw tK("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!tJ(this))throw tK("size");return tY}}function tK(e){return TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`)}function tJ(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")&&e instanceof tZ}Object.defineProperties(tZ.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(tZ.prototype,n.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});let tX=()=>1;try{Object.defineProperty(tX,"name",{value:"size",configurable:!0})}catch(e){}class tQ{constructor(e){N(e,1,"CountQueuingStrategy"),e=tG(e,"First parameter"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!t1(this))throw t0("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!t1(this))throw t0("size");return tX}}function t0(e){return TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`)}function t1(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")&&e instanceof tQ}Object.defineProperties(tQ.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(tQ.prototype,n.toStringTag,{value:"CountQueuingStrategy",configurable:!0});class t2{constructor(e={},t={},r={}){let n;void 0===e&&(e=null);let i=eH(t,"Second parameter"),o=eH(r,"Third parameter"),a=function(e,t){R(e,t);let r=null==e?void 0:e.flush,n=null==e?void 0:e.readableType,i=null==e?void 0:e.start,o=null==e?void 0:e.transform,a=null==e?void 0:e.writableType;return{flush:void 0===r?void 0:(M(r,`${t} has member 'flush' that`),t=>y(r,e,[t])),readableType:n,start:void 0===i?void 0:(M(i,`${t} has member 'start' that`),t=>v(i,e,[t])),transform:void 0===o?void 0:(M(o,`${t} has member 'transform' that`),(t,r)=>y(o,e,[t,r])),writableType:a}}(e,"First parameter");if(void 0!==a.readableType)throw RangeError("Invalid readableType specified");if(void 0!==a.writableType)throw RangeError("Invalid writableType specified");let s=eq(o,0),u=e$(o),p=eq(i,1),f=e$(i);(function(e,t,r,n,i,o){function a(){return t}e._writable=function(e,t,r,n,i=1,o=()=>1){let a=Object.create(eG.prototype);return eY(a),ti(a,Object.create(tr.prototype),e,t,r,n,i,o),a}(a,function(t){return function(e,t){let r=e._transformStreamController;return e._backpressure?h(e._backpressureChangePromise,()=>{let n=e._writable;if("erroring"===n._state)throw n._storedError;return rt(r,t)},void 0):rt(r,t)}(e,t)},function(){return function(e){let t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return t7(r),h(n,()=>{if("errored"===t._state)throw t._storedError;tO(t._readableStreamController)},r=>{throw t5(e,r),t._storedError})}(e)},function(t){return t5(e,t),l(void 0)},r,n),e._readable=tL(a,function(){return t6(e,!1),e._backpressureChangePromise},function(t){return t4(e,t),l(void 0)},i,o),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,t6(e,!0),e._transformStreamController=void 0})(this,d(e=>{n=e}),p,f,s,u),function(e,t){var r,n;let i=Object.create(t8.prototype),o=e=>{try{var t;return re(i,e),t=void 0,l(t)}catch(e){return c(e)}},a=()=>l(void 0);void 0!==t.transform&&(o=e=>t.transform(e,i)),void 0!==t.flush&&(a=()=>t.flush(i)),r=o,n=a,i._controlledTransformStream=e,e._transformStreamController=i,i._transformAlgorithm=r,i._flushAlgorithm=n}(this,a),void 0!==a.start?n(a.start(this._transformStreamController)):n(void 0)}get readable(){if(!t3(this))throw rn("readable");return this._readable}get writable(){if(!t3(this))throw rn("writable");return this._writable}}function t3(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")&&e instanceof t2}function t5(e,t){tA(e._readable._readableStreamController,t),t4(e,t)}function t4(e,t){t7(e._transformStreamController),tu(e._writable._writableStreamController,t),e._backpressure&&t6(e,!1)}function t6(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=d(t=>{e._backpressureChangePromise_resolve=t}),e._backpressure=t}Object.defineProperties(t2.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(t2.prototype,n.toStringTag,{value:"TransformStream",configurable:!0});class t8{constructor(){throw TypeError("Illegal constructor")}get desiredSize(){if(!t9(this))throw rr("desiredSize");return tP(this._controlledTransformStream._readable._readableStreamController)}enqueue(e){if(!t9(this))throw rr("enqueue");re(this,e)}error(e){if(!t9(this))throw rr("error");t5(this._controlledTransformStream,e)}terminate(){if(!t9(this))throw rr("terminate");!function(e){let t=e._controlledTransformStream;tO(t._readable._readableStreamController),t4(t,TypeError("TransformStream terminated"))}(this)}}function t9(e){return!!a(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")&&e instanceof t8}function t7(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function re(e,t){let r=e._controlledTransformStream,n=r._readable._readableStreamController;if(!tR(n))throw TypeError("Readable side is not in a state that permits enqueue");try{tT(n,t)}catch(e){throw t4(r,e),r._readable._storedError}!tC(n)!==r._backpressure&&t6(r,!0)}function rt(e,t){return h(e._transformAlgorithm(t),void 0,t=>{throw t5(e._controlledTransformStream,t),t})}function rr(e){return TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`)}function rn(e){return TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}Object.defineProperties(t8.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof n.toStringTag&&Object.defineProperty(t8.prototype,n.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});let ri={ReadableStream:tI,ReadableStreamDefaultController:tS,ReadableByteStreamController:el,ReadableStreamBYOBRequest:eu,ReadableStreamDefaultReader:W,ReadableStreamBYOBReader:eL,WritableStream:eG,WritableStreamDefaultController:tr,WritableStreamDefaultWriter:e4,ByteLengthQueuingStrategy:tZ,CountQueuingStrategy:tQ,TransformStream:t2,TransformStreamDefaultController:t8};if(void 0!==o)for(let e in ri)Object.prototype.hasOwnProperty.call(ri,e)&&Object.defineProperty(o,e,{value:ri[e],writable:!0,configurable:!0});e.ByteLengthQueuingStrategy=tZ,e.CountQueuingStrategy=tQ,e.ReadableByteStreamController=el,e.ReadableStream=tI,e.ReadableStreamBYOBReader=eL,e.ReadableStreamBYOBRequest=eu,e.ReadableStreamDefaultController=tS,e.ReadableStreamDefaultReader=W,e.TransformStream=t2,e.TransformStreamDefaultController=t8,e.WritableStream=eG,e.WritableStreamDefaultController=tr,e.WritableStreamDefaultWriter=e4,Object.defineProperty(e,"__esModule",{value:!0})}(t)},78477:function(e){"use strict";function t(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}t.prototype.match=function(e){var t,r,n=!0,i=this.parts,o=i.length;if("string"==typeof e||e instanceof String){if(this.hasWild||this.text==e){for(t=0,r=(e||"").split(this.separator);n&&t<o;t++)"*"!==i[t]&&(n=t<r.length&&i[t]===r[t]);n=n&&r}else n=!1}else if("function"==typeof e.splice)for(n=[],t=e.length;t--;)this.match(e[t])&&(n[n.length]=e[t]);else if("object"==typeof e)for(var a in n={},e)this.match(a)&&(n[a]=e[a]);return n},e.exports=function(e,r,n){var i=new t(e,n||/[\/\.]/);return void 0!==r?i.match(r):i}},91760:function(e,t,r){"use strict";let n,i;var o=r(46442);let a=e=>void 0!==e.method&&"call"===e.method,s=e=>null===e.error&&"number"==typeof e.id,u=null;n=e=>{let t=new Map([[0,()=>{}]]),r=new Map([[0,()=>{}]]),n=new Map,i=new Worker(e);return i.addEventListener("message",({data:e})=>{if(a(e)){let{params:{timerId:i,timerType:o}}=e;if("interval"===o){let e=t.get(i);if("number"==typeof e){let t=n.get(e);if(void 0===t||t.timerId!==i||t.timerType!==o)throw Error("The timer is in an undefined state.")}else if(void 0!==e)e();else throw Error("The timer is in an undefined state.")}else if("timeout"===o){let e=r.get(i);if("number"==typeof e){let t=n.get(e);if(void 0===t||t.timerId!==i||t.timerType!==o)throw Error("The timer is in an undefined state.")}else if(void 0!==e)e(),r.delete(i);else throw Error("The timer is in an undefined state.")}}else if(s(e)){let{id:i}=e,o=n.get(i);if(void 0===o)throw Error("The timer is in an undefined state.");let{timerId:a,timerType:s}=o;n.delete(i),"interval"===s?t.delete(a):r.delete(a)}else{let{error:{message:t}}=e;throw Error(t)}}),{clearInterval:e=>{let r=(0,o.generateUniqueNumber)(n);n.set(r,{timerId:e,timerType:"interval"}),t.set(e,r),i.postMessage({id:r,method:"clear",params:{timerId:e,timerType:"interval"}})},clearTimeout:e=>{let t=(0,o.generateUniqueNumber)(n);n.set(t,{timerId:e,timerType:"timeout"}),r.set(e,t),i.postMessage({id:t,method:"clear",params:{timerId:e,timerType:"timeout"}})},setInterval:(e,r)=>{let n=(0,o.generateUniqueNumber)(t);return t.set(n,()=>{e(),"function"==typeof t.get(n)&&i.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:n,timerType:"interval"}})}),i.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:n,timerType:"interval"}}),n},setTimeout:(e,t)=>{let n=(0,o.generateUniqueNumber)(r);return r.set(n,e),i.postMessage({id:null,method:"set",params:{delay:t,now:performance.now(),timerId:n,timerType:"timeout"}}),n}}},i='(()=>{"use strict";const e=new Map,t=new Map,r=(e,t)=>{let r,o;const i=performance.now();r=i,o=e-Math.max(0,i-t);return{expected:r+o,remainingDelay:o}},o=(e,t,r,i)=>{const s=performance.now();s>r?postMessage({id:null,method:"call",params:{timerId:t,timerType:i}}):e.set(t,setTimeout(o,r-s,e,t,r,i))};addEventListener("message",(({data:i})=>{try{if("clear"===i.method){const{id:r,params:{timerId:o,timerType:s}}=i;if("interval"===s)(t=>{const r=e.get(t);if(void 0===r)throw new Error(\'There is no interval scheduled with the given id "\'.concat(t,\'".\'));clearTimeout(r),e.delete(t)})(o),postMessage({error:null,id:r});else{if("timeout"!==s)throw new Error(\'The given type "\'.concat(s,\'" is not supported\'));(e=>{const r=t.get(e);if(void 0===r)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(r),t.delete(e)})(o),postMessage({error:null,id:r})}}else{if("set"!==i.method)throw new Error(\'The given method "\'.concat(i.method,\'" is not supported\'));{const{params:{delay:s,now:n,timerId:a,timerType:d}}=i;if("interval"===d)((t,i,s)=>{const{expected:n,remainingDelay:a}=r(t,s);e.set(i,setTimeout(o,a,e,i,n,"interval"))})(s,a,n);else{if("timeout"!==d)throw new Error(\'The given type "\'.concat(d,\'" is not supported\'));((e,i,s)=>{const{expected:n,remainingDelay:a}=r(e,s);t.set(i,setTimeout(o,a,t,i,n,"timeout"))})(s,a,n)}}}}catch(e){postMessage({error:{message:e.message},id:i.id,result:null})}}))})();',()=>{if(null!==u)return u;let e=new Blob([i],{type:"application/javascript; charset=utf-8"}),t=URL.createObjectURL(e);return(u=n(t)).setTimeout(()=>URL.revokeObjectURL(t),0),u}},45526:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){Object.keys(e).filter(e=>"default"!==e&&"__esModule"!==e).forEach(r=>{t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e[r]})})}(r(25420))},36990:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){Object.keys(e).filter(e=>"default"!==e&&"__esModule"!==e).forEach(r=>{t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e[r]})})}(r(34331))},14808:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){Object.keys(e).filter(e=>"default"!==e&&"__esModule"!==e).forEach(r=>{t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e[r]})})}(r(1109))},2370:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){Object.keys(e).filter(e=>"default"!==e&&"__esModule"!==e).forEach(r=>{t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e[r]})})}(r(151))},66191:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){Object.keys(e).filter(e=>"default"!==e&&"__esModule"!==e).forEach(r=>{t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e[r]})})}(r(22765))},45248:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){Object.keys(e).filter(e=>"default"!==e&&"__esModule"!==e).forEach(r=>{t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e[r]})})}(r(61563))},55165:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){Object.keys(e).filter(e=>"default"!==e&&"__esModule"!==e).forEach(r=>{t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e[r]})})}(r(27743))},80909:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e,t){this.operator=e,this.value=t,Object.defineProperty(this,"t",{writable:!0})}get notes(){return this.t}addNote(e){this.t=this.t||[],this.t.push(e)}}class n extends r{}class i extends n{constructor(e,t){if(!Array.isArray(t))throw Error(`"${e}" operator expects to receive an array of conditions`);super(e,t)}}class o extends r{constructor(e,t,r){super(e,r),this.field=t}}let a=new n("__null__",null),s=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);function u(e,t){return t instanceof i&&t.operator===e}function l(e,t){return 1===t.length?t[0]:new i(e,function e(t,r,n){let i=n||[];for(let n=0,o=r.length;n<o;n++){let o=r[n];u(t,o)?e(t,o.value,i):i.push(o)}return i}(e,t))}let c=e=>e,d=()=>Object.create(null),h=Object.defineProperty(d(),"__@type@__",{value:"ignore value"});function p(e,t,r=!1){if(!e||e&&e.constructor!==Object)return!1;for(let n in e)if(s(e,n)&&s(t,n)&&(!r||e[n]!==h))return!0;return!1}function f(e){let t=[];for(let r in e)s(e,r)&&e[r]!==h&&t.push(r);return t}function m(e,t){t!==a&&e.push(t)}let g=e=>l("and",e),v={compound(e,t,r){let n=(Array.isArray(t)?t:[t]).map(e=>r.parse(e));return new i(e.name,n)},field:(e,t,r)=>new o(e.name,r.field,t),document:(e,t)=>new n(e.name,t)};class y{constructor(e,t=d()){this.o=void 0,this.s=void 0,this.i=void 0,this.u=void 0,this.h=void 0,this.parse=this.parse.bind(this),this.u={operatorToConditionName:t.operatorToConditionName||c,defaultOperatorName:t.defaultOperatorName||"eq",mergeFinalConditions:t.mergeFinalConditions||g},this.o=Object.keys(e).reduce((t,r)=>(t[r]=Object.assign({name:this.u.operatorToConditionName(r)},e[r]),t),{}),this.s=Object.assign({},t.fieldContext,{field:"",query:{},parse:this.parse,hasOperators:e=>p(e,this.o,t.useIgnoreValue)}),this.i=Object.assign({},t.documentContext,{parse:this.parse,query:{}}),this.h=t.useIgnoreValue?f:Object.keys}setParse(e){this.parse=e,this.s.parse=e,this.i.parse=e}parseField(e,t,r,n){let i=this.o[t];if(!i)throw Error(`Unsupported operator "${t}"`);if("field"!==i.type)throw Error(`Unexpected ${i.type} operator "${t}" at field level`);return this.s.field=e,this.s.query=n,this.parseInstruction(i,r,this.s)}parseInstruction(e,t,r){return"function"==typeof e.validate&&e.validate(e,t),(e.parse||v[e.type])(e,t,r)}parseFieldOperators(e,t){let r=[],n=this.h(t);for(let i=0,o=n.length;i<o;i++){let o=n[i];if(!this.o[o])throw Error(`Field query for "${e}" may contain only operators or a plain object as a value`);m(r,this.parseField(e,o,t[o],t))}return r}parse(e){let t=[],r=this.h(e);this.i.query=e;for(let n=0,i=r.length;n<i;n++){let i=r[n],o=e[i],a=this.o[i];if(a){if("document"!==a.type&&"compound"!==a.type)throw Error(`Cannot use parsing instruction for operator "${i}" in "document" context as it is supposed to be used in  "${a.type}" context`);m(t,this.parseInstruction(a,o,this.i))}else this.s.hasOperators(o)?t.push(...this.parseFieldOperators(i,o)):m(t,this.parseField(i,this.u.defaultOperatorName,o,e))}return this.u.mergeFinalConditions(t)}}function b(e,t){let r=e[t];if("function"!=typeof r)throw Error(`Unable to interpret "${t}" condition. Did you forget to register interpreter for it?`);return r}function w(e){return e.operator}let k=y.prototype.parseInstruction;t.CompoundCondition=i,t.Condition=r,t.DocumentCondition=n,t.FieldCondition=o,t.ITSELF="__itself__",t.NULL_CONDITION=a,t.ObjectQueryParser=y,t.buildAnd=g,t.buildOr=e=>l("or",e),t.createInterpreter=function(e,t){let r;let n=t&&t.getInterpreterName||w;switch(t?t.numberOfArguments:0){case 1:r=r=>b(e,n(r,t))(r,i);break;case 3:r=(r,o,a)=>b(e,n(r,t))(r,o,a,i);break;default:r=(r,o)=>b(e,n(r,t))(r,o,i)}let i=Object.assign({},t,{interpret:r});return i.interpret},t.createTranslatorFactory=function(e,t){return(r,...n)=>{let i=e(r,...n),o=t.bind(null,i);return o.ast=i,o}},t.defaultInstructionParsers=v,t.hasOperators=p,t.identity=c,t.ignoreValue=h,t.isCompound=u,t.object=d,t.optimizedCompoundCondition=l,t.parseInstruction=k},46401:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(80909);function i(e,t,r){for(let n=0,i=e.length;n<i;n++)if(0===r(e[n],t))return!0;return!1}function o(e,t){return Array.isArray(e)&&Number.isNaN(Number(t))}function a(e,t,r){if(!o(e,t))return r(e,t);let n=[];for(let i=0;i<e.length;i++){let o=r(e[i],t);void 0!==o&&(n=n.concat(o))}return n}function s(e){return(t,r,n)=>{let i=n.get(r,t.field);return Array.isArray(i)?i.some(r=>e(t,r,n)):e(t,i,n)}}let u=(e,t)=>e[t];function l(e,t,r){let n=t.lastIndexOf(".");return -1===n?[e,t]:[r(e,t.slice(0,n)),t.slice(n+1)]}function c(e,t,r=u){if(t===n.ITSELF)return e;if(!e)throw Error(`Unable to get field "${t}" out of ${String(e)}.`);return function(e,t,r){if(-1===t.indexOf("."))return a(e,t,r);let n=t.split("."),i=e;for(let e=0,t=n.length;e<t&&(i=a(i,n[e],r))&&"object"==typeof i;e++);return i}(e,t,r)}function d(e,t){return e===t?0:e>t?1:-1}function h(e,t={}){return n.createInterpreter(e,Object.assign({get:c,compare:d},t))}let p=(e,t,{interpret:r})=>e.value.some(e=>r(e,t)),f=(e,t,r)=>!p(e,t,r),m=(e,t,{interpret:r})=>e.value.every(e=>r(e,t)),g=(e,t,{interpret:r})=>!r(e.value[0],t),v=(e,t,{compare:r,get:n})=>{let o=n(t,e.field);return Array.isArray(o)&&!Array.isArray(e.value)?i(o,e.value,r):0===r(o,e.value)},y=(e,t,r)=>!v(e,t,r),b=s((e,t,r)=>{let n=r.compare(t,e.value);return 0===n||-1===n}),w=s((e,t,r)=>-1===r.compare(t,e.value)),k=s((e,t,r)=>1===r.compare(t,e.value)),x=s((e,t,r)=>{let n=r.compare(t,e.value);return 0===n||1===n}),_=(e,t,{get:r})=>{if(e.field===n.ITSELF)return void 0!==t;let[i,a]=l(t,e.field,r),s=t=>!!t&&t.hasOwnProperty(a)===e.value;return o(i,a)?i.some(s):s(i)},S=s((e,t)=>"number"==typeof t&&t%e.value[0]===e.value[1]),E=(e,t,{get:r})=>{let[i,a]=l(t,e.field,r),s=t=>{let n=r(t,a);return Array.isArray(n)&&n.length===e.value};return e.field!==n.ITSELF&&o(i,a)?i.some(s):s(i)},D=s((e,t)=>"string"==typeof t&&e.value.test(t)),C=s((e,t,{compare:r})=>i(e.value,t,r)),j=(e,t,r)=>!C(e,t,r),O=(e,t,{compare:r,get:n})=>{let o=n(t,e.field);return Array.isArray(o)&&e.value.every(e=>i(o,e,r))},T=(e,t,{interpret:r,get:n})=>{let i=n(t,e.field);return Array.isArray(i)&&i.some(t=>r(e.value,t))},A=(e,t)=>e.value.call(t),P=Object.assign({},Object.freeze({__proto__:null,or:p,nor:f,and:m,not:g,eq:v,ne:y,lte:b,lt:w,gt:k,gte:x,exists:_,mod:S,size:E,regex:D,within:C,nin:j,all:O,elemMatch:T,where:A}),{in:C}),R=h(P);t.all=O,t.allInterpreters=P,t.and=m,t.compare=d,t.createGetter=function(e){return(t,r)=>c(t,r,e)},t.createJsInterpreter=h,t.elemMatch=T,t.eq=v,t.exists=_,t.getObjectField=c,t.getObjectFieldCursor=l,t.gt=k,t.gte=x,t.interpret=R,t.lt=w,t.lte=b,t.mod=S,t.ne=y,t.nin=j,t.nor=f,t.not=g,t.or=p,t.regex=D,t.size=E,t.where=A,t.within=C},73503:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(80909);function i(e,t){if(!Array.isArray(t))throw Error(`"${e.name}" expects value to be an array`)}function o(e,t){if(i(e,t),!t.length)throw Error(`"${e.name}" expects to have at least one element in array`)}let a=e=>(t,r)=>{if(typeof r!==e)throw Error(`"${t.name}" expects value to be a "${e}"`)},s={type:"compound",validate:o,parse(e,t,{parse:r}){let i=t.map(e=>r(e));return n.optimizedCompoundCondition(e.name,i)}},u={type:"compound",validate:o},l={type:"field",validate(e,t){if(!(t&&(t instanceof RegExp||t.constructor===Object)))throw Error(`"${e.name}" expects to receive either regular expression or object of field operators`)},parse(e,t,r){let i=t instanceof RegExp?new n.FieldCondition("regex",r.field,t):r.parse(t,r);return new n.CompoundCondition(e.name,[i])}},c={type:"field",validate(e,t){if(!t||t.constructor!==Object)throw Error(`"${e.name}" expects to receive an object with nested query or field level operators`)},parse(e,t,{parse:r,field:i,hasOperators:o}){let a=o(t)?r(t,{field:n.ITSELF}):r(t);return new n.FieldCondition(e.name,i,a)}},d={type:"field",validate:a("number")},h={type:"field",validate:i},p={type:"field",validate(e,t){if(!Array.isArray(t)||2!==t.length)throw Error(`"${e.name}" expects an array with 2 numeric elements`)}},f={type:"field",validate:a("boolean")},m={type:"field",validate:function(e,t){if(!("string"==typeof t||"number"==typeof t||t instanceof Date))throw Error(`"${e.name}" expects value to be comparable (i.e., string, number or date)`)}},g={type:"field"},v={type:"field",validate(e,t){if(!(t instanceof RegExp)&&"string"!=typeof t)throw Error(`"${e.name}" expects value to be a regular expression or a string that represents regular expression`)},parse(e,t,r){let i="string"==typeof t?new RegExp(t,r.query.$options||""):t;return new n.FieldCondition(e.name,r.field,i)}},y={type:"field",parse:()=>n.NULL_CONDITION},b={type:"document",validate:a("function")};var w=Object.freeze({__proto__:null,$and:s,$or:s,$nor:u,$not:l,$elemMatch:c,$size:d,$in:h,$nin:h,$all:h,$mod:p,$exists:f,$gte:m,$gt:m,$lt:m,$lte:m,$eq:g,$ne:g,$regex:v,$options:y,$where:b});class k extends n.ObjectQueryParser{constructor(e){super(e,{defaultOperatorName:"$eq",operatorToConditionName:e=>e.slice(1)})}parse(e,t){return t&&t.field?n.buildAnd(this.parseFieldOperators(t.field,e)):super.parse(e)}}Object.defineProperty(t,"defaultParsers",{enumerable:!0,get:function(){return n.defaultInstructionParsers}}),t.$all=h,t.$and=s,t.$elemMatch=c,t.$eq=g,t.$exists=f,t.$gt=m,t.$gte=m,t.$in=h,t.$lt=m,t.$lte=m,t.$mod=p,t.$ne=g,t.$nin=h,t.$nor=u,t.$not=l,t.$options=y,t.$or=s,t.$regex=v,t.$size=d,t.$where=b,t.MongoQueryParser=k,t.allParsingInstructions=w},85645:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(80909),i=r(73503),o=r(46401);function a(e){return e instanceof Date?e.getTime():e&&"function"==typeof e.toJSON?e.toJSON():e}let s=(e,t)=>o.compare(a(e),a(t));function u(e,t,r){let a=new i.MongoQueryParser(e),u=o.createJsInterpreter(t,Object.assign({compare:s},r));if(r&&r.forPrimitives){let e={field:n.ITSELF},t=a.parse;a.setParse(r=>t(r,e))}return n.createTranslatorFactory(a.parse,u)}let l=u(i.allParsingInstructions,o.allInterpreters),c=u(["$and","$or"].reduce((e,t)=>(e[t]=Object.assign({},e[t],{type:"field"}),e),Object.assign({},i.allParsingInstructions,{$nor:Object.assign({},i.allParsingInstructions.$nor,{type:"field",parse:i.defaultParsers.compound})})),o.allInterpreters,{forPrimitives:!0});Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),Object.keys(i).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})}),Object.keys(o).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),t.createFactory=u,t.filter=l,t.guard=l,t.squire=c},92778:function(e){"use strict";function t(e){this.content=e}t.prototype={constructor:t,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return -1},get:function(e){var t=this.find(e);return -1==t?void 0:this.content[t+1]},update:function(e,r,n){var i=n&&n!=e?this.remove(n):this,o=i.find(e),a=i.content.slice();return -1==o?a.push(n||e,r):(a[o+1]=r,n&&(a[o]=n)),new t(a)},remove:function(e){var r=this.find(e);if(-1==r)return this;var n=this.content.slice();return n.splice(r,2),new t(n)},addToStart:function(e,r){return new t([e,r].concat(this.remove(e).content))},addToEnd:function(e,r){var n=this.remove(e).content.slice();return n.push(e,r),new t(n)},addBefore:function(e,r,n){var i=this.remove(r),o=i.content.slice(),a=i.find(e);return o.splice(-1==a?o.length:a,0,r,n),new t(o)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=t.from(e)).size?new t(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=t.from(e)).size?new t(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var r=this;e=t.from(e);for(var n=0;n<e.content.length;n+=2)r=r.remove(e.content[n]);return r},get size(){return this.content.length>>1}},t.from=function(e){if(e instanceof t)return e;var r=[];if(e)for(var n in e)r.push(n,e[n]);return new t(r)},e.exports=t},25420:function(e,t,r){"use strict";var n=r(61563),i=r(1109),o=r(22765),a=function(e,t){return!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0)};function s(e,t){var r=e.selection.$cursor;return r&&(t?t.endOfTextblock("backward",e):!(r.parentOffset>0))?r:null}var u=function(e,t,r){var a=s(e,r);if(!a)return!1;var u=h(a);if(!u){var l=a.blockRange(),d=l&&n.liftTarget(l);return null!=d&&(t&&t(e.tr.lift(l,d).scrollIntoView()),!0)}var p=u.nodeBefore;if(E(e,u,t,-1))return!0;if(0==a.parent.content.size&&(c(p,"end")||o.NodeSelection.isSelectable(p)))for(var f=a.depth;;f--){var m=n.replaceStep(e.doc,a.before(f),a.after(f),i.Slice.empty);if(m&&m.slice.size<m.to-m.from){if(t){var g=e.tr.step(m);g.setSelection(c(p,"end")?o.Selection.findFrom(g.doc.resolve(g.mapping.map(u.pos,-1)),-1):o.NodeSelection.create(g.doc,u.pos-p.nodeSize)),t(g.scrollIntoView())}return!0}if(1==f||a.node(f-1).childCount>1)break}return!!p.isAtom&&u.depth==a.depth-1&&(t&&t(e.tr.delete(u.pos-p.nodeSize,u.pos).scrollIntoView()),!0)};function l(e,t,r){for(var a=t.nodeBefore,s=t.pos-1;!a.isTextblock;s--){if(a.type.spec.isolating)return!1;var u=a.lastChild;if(!u)return!1;a=u}for(var l=t.nodeAfter,c=t.pos+1;!l.isTextblock;c++){if(l.type.spec.isolating)return!1;var d=l.firstChild;if(!d)return!1;l=d}var h=n.replaceStep(e.doc,s,c,i.Slice.empty);if(!h||h.from!=s||h instanceof n.ReplaceStep&&h.slice.size>=c-s)return!1;if(r){var p=e.tr.step(h);p.setSelection(o.TextSelection.create(p.doc,s)),r(p.scrollIntoView())}return!0}function c(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e;n;n="start"==t?n.firstChild:n.lastChild){if(n.isTextblock)return!0;if(r&&1!=n.childCount)break}return!1}var d=function(e,t,r){var n=e.selection,i=n.$head,a=n.empty,s=i;if(!a)return!1;if(i.parent.isTextblock){if(r?!r.endOfTextblock("backward",e):i.parentOffset>0)return!1;s=h(i)}var u=s&&s.nodeBefore;return!!(u&&o.NodeSelection.isSelectable(u))&&(t&&t(e.tr.setSelection(o.NodeSelection.create(e.doc,s.pos-u.nodeSize)).scrollIntoView()),!0)};function h(e){if(!e.parent.type.spec.isolating)for(var t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function p(e,t){var r=e.selection.$cursor;return r&&(t?t.endOfTextblock("forward",e):!(r.parentOffset<r.parent.content.size))?r:null}var f=function(e,t,r){var a=p(e,r);if(!a)return!1;var s=g(a);if(!s)return!1;var u=s.nodeAfter;if(E(e,s,t,1))return!0;if(0==a.parent.content.size&&(c(u,"start")||o.NodeSelection.isSelectable(u))){var l=n.replaceStep(e.doc,a.before(),a.after(),i.Slice.empty);if(l&&l.slice.size<l.to-l.from){if(t){var d=e.tr.step(l);d.setSelection(c(u,"start")?o.Selection.findFrom(d.doc.resolve(d.mapping.map(s.pos)),1):o.NodeSelection.create(d.doc,d.mapping.map(s.pos))),t(d.scrollIntoView())}return!0}}return!!u.isAtom&&s.depth==a.depth-1&&(t&&t(e.tr.delete(s.pos,s.pos+u.nodeSize).scrollIntoView()),!0)},m=function(e,t,r){var n=e.selection,i=n.$head,a=n.empty,s=i;if(!a)return!1;if(i.parent.isTextblock){if(r?!r.endOfTextblock("forward",e):i.parentOffset<i.parent.content.size)return!1;s=g(i)}var u=s&&s.nodeAfter;return!!(u&&o.NodeSelection.isSelectable(u))&&(t&&t(e.tr.setSelection(o.NodeSelection.create(e.doc,s.pos)).scrollIntoView()),!0)};function g(e){if(!e.parent.type.spec.isolating)for(var t=e.depth-1;t>=0;t--){var r=e.node(t);if(e.index(t)+1<r.childCount)return e.doc.resolve(e.after(t+1));if(r.type.spec.isolating)break}return null}var v=function(e,t){var r=e.selection,n=r.$head,i=r.$anchor;return!!(n.parent.type.spec.code&&n.sameParent(i))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)};function y(e){for(var t=0;t<e.edgeCount;t++){var r=e.edge(t).type;if(r.isTextblock&&!r.hasRequiredAttrs())return r}return null}var b=function(e,t){var r=e.selection,n=r.$head,i=r.$anchor;if(!n.parent.type.spec.code||!n.sameParent(i))return!1;var a=n.node(-1),s=n.indexAfter(-1),u=y(a.contentMatchAt(s));if(!u||!a.canReplaceWith(s,s,u))return!1;if(t){var l=n.after(),c=e.tr.replaceWith(l,l,u.createAndFill());c.setSelection(o.Selection.near(c.doc.resolve(l),1)),t(c.scrollIntoView())}return!0},w=function(e,t){var r=e.selection,n=r.$from,i=r.$to;if(r instanceof o.AllSelection||n.parent.inlineContent||i.parent.inlineContent)return!1;var a=y(i.parent.contentMatchAt(i.indexAfter()));if(!a||!a.isTextblock)return!1;if(t){var s=(!n.parentOffset&&i.index()<i.parent.childCount?n:i).pos,u=e.tr.insert(s,a.createAndFill());u.setSelection(o.TextSelection.create(u.doc,s+1)),t(u.scrollIntoView())}return!0},k=function(e,t){var r=e.selection.$cursor;if(!r||r.parent.content.size)return!1;if(r.depth>1&&r.after()!=r.end(-1)){var i=r.before();if(n.canSplit(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}var o=r.blockRange(),a=o&&n.liftTarget(o);return null!=a&&(t&&t(e.tr.lift(o,a).scrollIntoView()),!0)};function x(e){return function(t,r){var i=t.selection,a=i.$from,s=i.$to;if(t.selection instanceof o.NodeSelection&&t.selection.node.isBlock)return!!(a.parentOffset&&n.canSplit(t.doc,a.pos))&&(r&&r(t.tr.split(a.pos).scrollIntoView()),!0);if(!a.parent.isBlock)return!1;if(r){var u=s.parentOffset==s.parent.content.size,l=t.tr;(t.selection instanceof o.TextSelection||t.selection instanceof o.AllSelection)&&l.deleteSelection();var c=0==a.depth?null:y(a.node(-1).contentMatchAt(a.indexAfter(-1))),d=e&&e(s.parent,u,a),h=d?[d]:u&&c?[{type:c}]:void 0,p=n.canSplit(l.doc,l.mapping.map(a.pos),1,h);if(!h&&!p&&n.canSplit(l.doc,l.mapping.map(a.pos),1,c?[{type:c}]:void 0)&&(c&&(h=[{type:c}]),p=!0),p&&(l.split(l.mapping.map(a.pos),1,h),!u&&!a.parentOffset&&a.parent.type!=c)){var f=l.mapping.map(a.before()),m=l.doc.resolve(f);c&&a.node(-1).canReplaceWith(m.index(),m.index()+1,c)&&l.setNodeMarkup(l.mapping.map(a.before()),c)}r(l.scrollIntoView())}return!0}}var _=x(),S=function(e,t){return t&&t(e.tr.setSelection(new o.AllSelection(e.doc))),!0};function E(e,t,r,a){var s,u,l,d,h,p=t.nodeBefore,f=t.nodeAfter,m=p.type.spec.isolating||f.type.spec.isolating;if(!m&&(s=t.nodeBefore,u=t.nodeAfter,l=t.index(),s&&u&&s.type.compatibleContent(u.type)&&(!s.content.size&&t.parent.canReplace(l-1,l)?(r&&r(e.tr.delete(t.pos-s.nodeSize,t.pos).scrollIntoView()),!0):!!(t.parent.canReplace(l,l+1)&&(u.isTextblock||n.canJoin(e.doc,t.pos)))&&(r&&r(e.tr.clearIncompatible(t.pos,s.type,s.contentMatchAt(s.childCount)).join(t.pos).scrollIntoView()),!0))))return!0;var g=!m&&t.parent.canReplace(t.index(),t.index()+1);if(g&&(d=(h=p.contentMatchAt(p.childCount)).findWrapping(f.type))&&h.matchType(d[0]||f.type).validEnd){if(r){for(var v=t.pos+f.nodeSize,y=i.Fragment.empty,b=d.length-1;b>=0;b--)y=i.Fragment.from(d[b].create(null,y));y=i.Fragment.from(p.copy(y));var w=e.tr.step(new n.ReplaceAroundStep(t.pos-1,v,t.pos,v,new i.Slice(y,1,0),d.length,!0)),k=v+2*d.length;n.canJoin(w.doc,k)&&w.join(k),r(w.scrollIntoView())}return!0}var x=f.type.spec.isolating||a>0&&m?null:o.Selection.findFrom(t,1),_=x&&x.$from.blockRange(x.$to),S=_&&n.liftTarget(_);if(null!=S&&S>=t.depth)return r&&r(e.tr.lift(_,S).scrollIntoView()),!0;if(g&&c(f,"start",!0)&&c(p,"end")){for(var E=p,D=[];D.push(E),!E.isTextblock;)E=E.lastChild;for(var C=f,j=1;!C.isTextblock;C=C.firstChild)j++;if(E.canReplace(E.childCount,E.childCount,C.content)){if(r){for(var O=i.Fragment.empty,T=D.length-1;T>=0;T--)O=i.Fragment.from(D[T].copy(O));r(e.tr.step(new n.ReplaceAroundStep(t.pos-D.length,t.pos+f.nodeSize,t.pos+j,t.pos+f.nodeSize-j,new i.Slice(O,D.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function D(e){return function(t,r){for(var n=t.selection,i=e<0?n.$from:n.$to,a=i.depth;i.node(a).isInline;){if(!a)return!1;a--}return!!i.node(a).isTextblock&&(r&&r(t.tr.setSelection(o.TextSelection.create(t.doc,e<0?i.start(a):i.end(a)))),!0)}}var C=D(-1),j=D(1);function O(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r,n){for(var i=0;i<t.length;i++)if(t[i](e,r,n))return!0;return!1}}var T=O(a,u,d),A=O(a,f,m),P={Enter:O(v,w,k,_),"Mod-Enter":b,Backspace:T,"Mod-Backspace":T,"Shift-Backspace":T,Delete:A,"Mod-Delete":A,"Mod-a":S},R={"Ctrl-h":P.Backspace,"Alt-Backspace":P["Mod-Backspace"],"Ctrl-d":P.Delete,"Ctrl-Alt-Backspace":P["Mod-Delete"],"Alt-Delete":P["Mod-Delete"],"Alt-d":P["Mod-Delete"],"Ctrl-a":C,"Ctrl-e":j};for(var M in P)R[M]=P[M];var F="undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&!!os.platform&&"darwin"==os.platform();t.autoJoin=function(e,t){var r=Array.isArray(t)?function(e){return t.indexOf(e.type.name)>-1}:t;return function(t,i,o){return e(t,i&&function(e){if(!e.isGeneric)return i(e);for(var t=[],o=0;o<e.mapping.maps.length;o++){for(var a=e.mapping.maps[o],s=0;s<t.length;s++)t[s]=a.map(t[s]);a.forEach(function(e,r,n,i){return t.push(n,i)})}for(var u=[],l=0;l<t.length;l+=2)for(var c=t[l],d=t[l+1],h=e.doc.resolve(c),p=h.sharedDepth(d),f=h.node(p),m=h.indexAfter(p),g=h.after(p+1);g<=d;++m){var v=f.maybeChild(m);if(!v)break;if(m&&-1==u.indexOf(g)){var y=f.child(m-1);y.type==v.type&&r(y,v)&&u.push(g)}g+=v.nodeSize}u.sort(function(e,t){return e-t});for(var b=u.length-1;b>=0;b--)n.canJoin(e.doc,u[b])&&e.join(u[b]);i(e)},o)}},t.baseKeymap=F?R:P,t.chainCommands=O,t.createParagraphNear=w,t.deleteSelection=a,t.exitCode=b,t.joinBackward=u,t.joinDown=function(e,t){var r,i=e.selection;if(i instanceof o.NodeSelection){if(i.node.isTextblock||!n.canJoin(e.doc,i.to))return!1;r=i.to}else if(null==(r=n.joinPoint(e.doc,i.to,1)))return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},t.joinForward=f,t.joinTextblockBackward=function(e,t,r){var n=s(e,r);if(!n)return!1;var i=h(n);return!!i&&l(e,i,t)},t.joinTextblockForward=function(e,t,r){var n=p(e,r);if(!n)return!1;var i=g(n);return!!i&&l(e,i,t)},t.joinUp=function(e,t){var r,i=e.selection,a=i instanceof o.NodeSelection;if(a){if(i.node.isTextblock||!n.canJoin(e.doc,i.from))return!1;r=i.from}else if(null==(r=n.joinPoint(e.doc,i.from,-1)))return!1;if(t){var s=e.tr.join(r);a&&s.setSelection(o.NodeSelection.create(s.doc,r-e.doc.resolve(r).nodeBefore.nodeSize)),t(s.scrollIntoView())}return!0},t.lift=function(e,t){var r=e.selection,i=r.$from,o=r.$to,a=i.blockRange(o),s=a&&n.liftTarget(a);return null!=s&&(t&&t(e.tr.lift(a,s).scrollIntoView()),!0)},t.liftEmptyBlock=k,t.macBaseKeymap=R,t.newlineInCode=v,t.pcBaseKeymap=P,t.selectAll=S,t.selectNodeBackward=d,t.selectNodeForward=m,t.selectParentNode=function(e,t){var r,n=e.selection,i=n.$from,a=n.to,s=i.sharedDepth(a);return 0!=s&&(r=i.before(s),t&&t(e.tr.setSelection(o.NodeSelection.create(e.doc,r))),!0)},t.selectTextblockEnd=j,t.selectTextblockStart=C,t.setBlockType=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r,n){for(var i=!1,o=0;o<r.selection.ranges.length&&!i;o++){var a=r.selection.ranges[o],s=a.$from.pos,u=a.$to.pos;r.doc.nodesBetween(s,u,function(n,o){if(i)return!1;if(!(!n.isTextblock||n.hasMarkup(e,t))){if(n.type==e)i=!0;else{var a=r.doc.resolve(o),s=a.index();i=a.parent.canReplaceWith(s,s+1,e)}}})}if(!i)return!1;if(n){for(var l=r.tr,c=0;c<r.selection.ranges.length;c++){var d=r.selection.ranges[c],h=d.$from.pos,p=d.$to.pos;l.setBlockType(h,p,e,t)}n(l.scrollIntoView())}return!0}},t.splitBlock=_,t.splitBlockAs=x,t.splitBlockKeepMarks=function(e,t){return _(e,t&&function(r){var n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();n&&r.ensureMarks(n),t(r)})},t.toggleMark=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n=!1!==(r&&r.removeWhenPresent),i=!1!==(r&&r.enterInlineAtoms);return function(r,a){var s=r.selection,u=s.empty,l=s.$cursor,c=s.ranges;if(u&&!l||!function(e,t,r,n){for(var i,o=0;o<t.length;o++)if(i=function(){var i=t[o],a=i.$from,s=i.$to,u=0==a.depth&&e.inlineContent&&e.type.allowsMarkType(r);if(e.nodesBetween(a.pos,s.pos,function(e,t){if(u||!n&&e.isAtom&&e.isInline&&t>=a.pos&&t+e.nodeSize<=s.pos)return!1;u=e.inlineContent&&e.type.allowsMarkType(r)}),u)return{v:!0}}())return i.v;return!1}(r.doc,c,e,i))return!1;if(a){if(l)a(e.isInSet(r.storedMarks||l.marks())?r.tr.removeStoredMark(e):r.tr.addStoredMark(e.create(t)));else{var d,h=r.tr;i||(c=function(e){for(var t=[],r=0;r<e.length;r++)!function(){var n=e[r],i=n.$from,a=n.$to;i.doc.nodesBetween(i.pos,a.pos,function(e,r){if(e.isAtom&&e.content.size&&e.isInline&&r>=i.pos&&r+e.nodeSize<=a.pos)return r+1>i.pos&&t.push(new o.SelectionRange(i,i.doc.resolve(r+1))),i=i.doc.resolve(r+1+e.content.size),!1}),i.pos<a.pos&&t.push(new o.SelectionRange(i,a))}();return t}(c)),d=n?!c.some(function(t){return r.doc.rangeHasMark(t.$from.pos,t.$to.pos,e)}):!c.every(function(t){var r=!1;return h.doc.nodesBetween(t.$from.pos,t.$to.pos,function(n,i,o){if(r)return!1;r=!e.isInSet(n.marks)&&!!o&&o.type.allowsMarkType(e)&&!(n.isText&&/^\s*$/.test(n.textBetween(Math.max(0,t.$from.pos-i),Math.min(n.nodeSize,t.$to.pos-i))))}),!r});for(var p=0;p<c.length;p++){var f=c[p],m=f.$from,g=f.$to;if(d){var v=m.pos,y=g.pos,b=m.nodeAfter,w=g.nodeBefore,k=b&&b.isText?/^\s*/.exec(b.text)[0].length:0,x=w&&w.isText?/\s*$/.exec(w.text)[0].length:0;v+k<y&&(v+=k,y-=x),h.addMark(v,y,e.create(t))}else h.removeMark(m.pos,g.pos,e)}a(h.scrollIntoView())}}return!0}},t.wrapIn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r,i){var o=r.selection,a=o.$from,s=o.$to,u=a.blockRange(s),l=u&&n.findWrapping(u,e,t);return!!l&&(i&&i(r.tr.wrap(u,l).scrollIntoView()),!0)}}},34331:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(78033),i=r(22765),o="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function a(e,t){var r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),r&&t.shiftKey&&(e="Shift-"+e),e}function s(e){var t=function(e){var t=Object.create(null);for(var r in e)t[function(e){var t,r,n,i,a=e.split(/-(?!$)/),s=a[a.length-1];"Space"==s&&(s=" ");for(var u=0;u<a.length-1;u++){var l=a[u];if(/^(cmd|meta|m)$/i.test(l))i=!0;else if(/^a(lt)?$/i.test(l))t=!0;else if(/^(c|ctrl|control)$/i.test(l))r=!0;else if(/^s(hift)?$/i.test(l))n=!0;else if(/^mod$/i.test(l))o?i=!0:r=!0;else throw Error("Unrecognized modifier name: "+l)}return t&&(s="Alt-"+s),r&&(s="Ctrl-"+s),i&&(s="Meta-"+s),n&&(s="Shift-"+s),s}(r)]=e[r];return t}(e);return function(e,r){var i,o=n.keyName(r),s=t[a(o,r)];if(s&&s(e.state,e.dispatch,e))return!0;if(1==o.length&&" "!=o){if(r.shiftKey){var u=t[a(o,r,!1)];if(u&&u(e.state,e.dispatch,e))return!0}if((r.shiftKey||r.altKey||r.metaKey||o.charCodeAt(0)>127)&&(i=n.base[r.keyCode])&&i!=o){var l=t[a(i,r)];if(l&&l(e.state,e.dispatch,e))return!0}}return!1}}t.keydownHandler=s,t.keymap=function(e){return new i.Plugin({props:{handleKeyDown:s(e)}})}},1109:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function o(e,t){if("function"!=typeof t&&null!==t)throw 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&&c(e,t)}function a(e){var t=l();return function(){var r,n=d(e);return r=t?Reflect.construct(n,arguments,d(this).constructor):n.apply(this,arguments),function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function s(e){var t="function"==typeof Map?new Map:void 0;return(s=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)})(e)}function u(e,t,r){return(u=l()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&c(i,r.prototype),i}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){return(h="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})(e)}function p(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!==h(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===h(t)?t:String(t)}(n.key),n)}}function m(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var g=r(92778),v=function(){function e(t,r){if(p(this,e),this.content=t,this.size=r||0,null==r)for(var n=0;n<t.length;n++)this.size+=t[n].nodeSize}return m(e,[{key:"nodesBetween",value:function(e,t,r){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4?arguments[4]:void 0,o=0,a=0;a<t;o++){var s=this.content[o],u=a+s.nodeSize;if(u>e&&!1!==r(s,n+a,i||null,o)&&s.content.size){var l=a+1;s.nodesBetween(Math.max(0,e-l),Math.min(s.content.size,t-l),r,n+l)}a=u}}},{key:"descendants",value:function(e){this.nodesBetween(0,this.size,e)}},{key:"textBetween",value:function(e,t,r,n){var i="",o=!0;return this.nodesBetween(e,t,function(a,s){var u=a.isText?a.text.slice(Math.max(e,s)-s,t-s):a.isLeaf?n?"function"==typeof n?n(a):n:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&u||a.isTextblock)&&r&&(o?o=!1:i+=r),i+=u},0),i}},{key:"append",value:function(t){if(!t.size)return this;if(!this.size)return t;var r=this.lastChild,n=t.firstChild,i=this.content.slice(),o=0;for(r.isText&&r.sameMarkup(n)&&(i[i.length-1]=r.withText(r.text+n.text),o=1);o<t.content.length;o++)i.push(t.content[o]);return new e(i,this.size+t.size)}},{key:"cut",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.size;if(0==t&&r==this.size)return this;var n=[],i=0;if(r>t)for(var o=0,a=0;a<r;o++){var s=this.content[o],u=a+s.nodeSize;u>t&&((a<t||u>r)&&(s=s.isText?s.cut(Math.max(0,t-a),Math.min(s.text.length,r-a)):s.cut(Math.max(0,t-a-1),Math.min(s.content.size,r-a-1))),n.push(s),i+=s.nodeSize),a=u}return new e(n,i)}},{key:"cutByIndex",value:function(t,r){return t==r?e.empty:0==t&&r==this.content.length?this:new e(this.content.slice(t,r))}},{key:"replaceChild",value:function(t,r){var n=this.content[t];if(n==r)return this;var i=this.content.slice(),o=this.size+r.nodeSize-n.nodeSize;return i[t]=r,new e(i,o)}},{key:"addToStart",value:function(t){return new e([t].concat(this.content),this.size+t.nodeSize)}},{key:"addToEnd",value:function(t){return new e(this.content.concat(t),this.size+t.nodeSize)}},{key:"eq",value:function(e){if(this.content.length!=e.content.length)return!1;for(var t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}},{key:"firstChild",get:function(){return this.content.length?this.content[0]:null}},{key:"lastChild",get:function(){return this.content.length?this.content[this.content.length-1]:null}},{key:"childCount",get:function(){return this.content.length}},{key:"child",value:function(e){var t=this.content[e];if(!t)throw RangeError("Index "+e+" out of range for "+this);return t}},{key:"maybeChild",value:function(e){return this.content[e]||null}},{key:"forEach",value:function(e){for(var t=0,r=0;t<this.content.length;t++){var n=this.content[t];e(n,r,t),r+=n.nodeSize}}},{key:"findDiffStart",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function e(t,r,n){for(var i=0;;i++){if(i==t.childCount||i==r.childCount)return t.childCount==r.childCount?null:n;var o=t.child(i),a=r.child(i);if(o==a){n+=o.nodeSize;continue}if(!o.sameMarkup(a))return n;if(o.isText&&o.text!=a.text){for(var s=0;o.text[s]==a.text[s];s++)n++;return n}if(o.content.size||a.content.size){var u=e(o.content,a.content,n+1);if(null!=u)return u}n+=o.nodeSize}}(this,e,t)}},{key:"findDiffEnd",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.size,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.size;return function e(t,r,n,i){for(var o=t.childCount,a=r.childCount;;){if(0==o||0==a)return o==a?null:{a:n,b:i};var s=t.child(--o),u=r.child(--a),l=s.nodeSize;if(s==u){n-=l,i-=l;continue}if(!s.sameMarkup(u))return{a:n,b:i};if(s.isText&&s.text!=u.text){for(var c=0,d=Math.min(s.text.length,u.text.length);c<d&&s.text[s.text.length-c-1]==u.text[u.text.length-c-1];)c++,n--,i--;return{a:n,b:i}}if(s.content.size||u.content.size){var h=e(s.content,u.content,n-1,i-1);if(h)return h}n-=l,i-=l}}(this,e,t,r)}},{key:"findIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(0==e)return b(0,e);if(e==this.size)return b(this.content.length,e);if(e>this.size||e<0)throw RangeError("Position ".concat(e," outside of fragment (").concat(this,")"));for(var r=0,n=0;;r++){var i=n+this.child(r).nodeSize;if(i>=e){if(i==e||t>0)return b(r+1,i);return b(r,n)}n=i}}},{key:"toString",value:function(){return"<"+this.toStringInner()+">"}},{key:"toStringInner",value:function(){return this.content.join(", ")}},{key:"toJSON",value:function(){return this.content.length?this.content.map(function(e){return e.toJSON()}):null}}],[{key:"fromJSON",value:function(t,r){if(!r)return e.empty;if(!Array.isArray(r))throw RangeError("Invalid input for Fragment.fromJSON");return new e(r.map(t.nodeFromJSON))}},{key:"fromArray",value:function(t){if(!t.length)return e.empty;for(var r,n=0,i=0;i<t.length;i++){var o=t[i];n+=o.nodeSize,i&&o.isText&&t[i-1].sameMarkup(o)?(r||(r=t.slice(0,i)),r[r.length-1]=o.withText(r[r.length-1].text+o.text)):r&&r.push(o)}return new e(r||t,n)}},{key:"from",value:function(t){if(!t)return e.empty;if(t instanceof e)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new e([t],t.nodeSize);throw RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}]),e}();v.empty=new v([],0);var y={index:0,offset:0};function b(e,t){return y.index=e,y.offset=t,y}function w(e,t){if(e===t)return!0;if(!(e&&"object"==h(e))||!(t&&"object"==h(t)))return!1;var r=Array.isArray(e);if(Array.isArray(t)!=r)return!1;if(r){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!w(e[n],t[n]))return!1}else{for(var i in e)if(!(i in t)||!w(e[i],t[i]))return!1;for(var o in t)if(!(o in e))return!1}return!0}var k=function(){function e(t,r){p(this,e),this.type=t,this.attrs=r}return m(e,[{key:"addToSet",value:function(e){for(var t,r=!1,n=0;n<e.length;n++){var i=e[n];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,n));else{if(i.type.excludes(this.type))return e;!r&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,n)),t.push(this),r=!0),t&&t.push(i)}}return t||(t=e.slice()),r||t.push(this),t}},{key:"removeFromSet",value:function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}},{key:"isInSet",value:function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}},{key:"eq",value:function(e){return this==e||this.type==e.type&&w(this.attrs,e.attrs)}},{key:"toJSON",value:function(){var e={type:this.type.name};for(var t in this.attrs){e.attrs=this.attrs;break}return e}}],[{key:"fromJSON",value:function(e,t){if(!t)throw RangeError("Invalid input for Mark.fromJSON");var r=e.marks[t.type];if(!r)throw RangeError("There is no mark type ".concat(t.type," in this schema"));var n=r.create(t.attrs);return r.checkAttrs(n.attrs),n}},{key:"sameSet",value:function(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(!e[r].eq(t[r]))return!1;return!0}},{key:"setFrom",value:function(t){if(!t||Array.isArray(t)&&0==t.length)return e.none;if(t instanceof e)return[t];var r=t.slice();return r.sort(function(e,t){return e.type.rank-t.type.rank}),r}}]),e}();k.none=[];var x=function(e){o(r,e);var t=a(r);function r(){return p(this,r),t.apply(this,arguments)}return m(r)}(s(Error)),_=function(){function e(t,r,n){p(this,e),this.content=t,this.openStart=r,this.openEnd=n}return m(e,[{key:"size",get:function(){return this.content.size-this.openStart-this.openEnd}},{key:"insertAt",value:function(t,r){var n=function e(t,r,n,i){var o=t.findIndex(r),a=o.index,s=o.offset,u=t.maybeChild(a);if(s==r||u.isText)return i&&!i.canReplace(a,a,n)?null:t.cut(0,r).append(n).append(t.cut(r));var l=e(u.content,r-s-1,n);return l&&t.replaceChild(a,u.copy(l))}(this.content,t+this.openStart,r);return n&&new e(n,this.openStart,this.openEnd)}},{key:"removeBetween",value:function(t,r){return new e(function e(t,r,n){var i=t.findIndex(r),o=i.index,a=i.offset,s=t.maybeChild(o),u=t.findIndex(n),l=u.index,c=u.offset;if(a==r||s.isText){if(c!=n&&!t.child(l).isText)throw RangeError("Removing non-flat range");return t.cut(0,r).append(t.cut(n))}if(o!=l)throw RangeError("Removing non-flat range");return t.replaceChild(o,s.copy(e(s.content,r-a-1,n-a-1)))}(this.content,t+this.openStart,r+this.openStart),this.openStart,this.openEnd)}},{key:"eq",value:function(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}},{key:"toString",value:function(){return this.content+"("+this.openStart+","+this.openEnd+")"}},{key:"toJSON",value:function(){if(!this.content.size)return null;var e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}}],[{key:"fromJSON",value:function(t,r){if(!r)return e.empty;var n=r.openStart||0,i=r.openEnd||0;if("number"!=typeof n||"number"!=typeof i)throw RangeError("Invalid input for Slice.fromJSON");return new e(v.fromJSON(t,r.content),n,i)}},{key:"maxOpen",value:function(t){for(var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=0,i=0,o=t.firstChild;o&&!o.isLeaf&&(r||!o.type.spec.isolating);o=o.firstChild)n++;for(var a=t.lastChild;a&&!a.isLeaf&&(r||!a.type.spec.isolating);a=a.lastChild)i++;return new e(t,n,i)}}]),e}();function S(e,t){if(!t.type.compatibleContent(e.type))throw new x("Cannot join "+t.type.name+" onto "+e.type.name)}function E(e,t,r){var n=e.node(r);return S(n,t.node(r)),n}function D(e,t){var r=t.length-1;r>=0&&e.isText&&e.sameMarkup(t[r])?t[r]=e.withText(t[r].text+e.text):t.push(e)}function C(e,t,r,n){var i=(t||e).node(r),o=0,a=t?t.index(r):i.childCount;e&&(o=e.index(r),e.depth>r?o++:e.textOffset&&(D(e.nodeAfter,n),o++));for(var s=o;s<a;s++)D(i.child(s),n);t&&t.depth==r&&t.textOffset&&D(t.nodeBefore,n)}function j(e,t){return e.type.checkContent(t),e.copy(t)}function O(e,t,r){var n=[];return C(null,e,r,n),e.depth>r&&D(j(E(e,t,r+1),O(e,t,r+1)),n),C(t,null,r,n),new v(n)}_.empty=new _(v.empty,0,0);var T=function(){function e(t,r,n){p(this,e),this.pos=t,this.path=r,this.parentOffset=n,this.depth=r.length/3-1}return m(e,[{key:"resolveDepth",value:function(e){return null==e?this.depth:e<0?this.depth+e:e}},{key:"parent",get:function(){return this.node(this.depth)}},{key:"doc",get:function(){return this.node(0)}},{key:"node",value:function(e){return this.path[3*this.resolveDepth(e)]}},{key:"index",value:function(e){return this.path[3*this.resolveDepth(e)+1]}},{key:"indexAfter",value:function(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}},{key:"start",value:function(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}},{key:"end",value:function(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}},{key:"before",value:function(e){if(!(e=this.resolveDepth(e)))throw RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}},{key:"after",value:function(e){if(!(e=this.resolveDepth(e)))throw RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}},{key:"textOffset",get:function(){return this.pos-this.path[this.path.length-1]}},{key:"nodeAfter",get:function(){var e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;var r=this.pos-this.path[this.path.length-1],n=e.child(t);return r?e.child(t).cut(r):n}},{key:"nodeBefore",get:function(){var e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}},{key:"posAtIndex",value:function(e,t){t=this.resolveDepth(t);for(var r=this.path[3*t],n=0==t?0:this.path[3*t-1]+1,i=0;i<e;i++)n+=r.child(i).nodeSize;return n}},{key:"marks",value:function(){var e=this.parent,t=this.index();if(0==e.content.size)return k.none;if(this.textOffset)return e.child(t).marks;var r=e.maybeChild(t-1),n=e.maybeChild(t);if(!r){var i=r;r=n,n=i}for(var o=r.marks,a=0;a<o.length;a++)!1!==o[a].type.spec.inclusive||n&&o[a].isInSet(n.marks)||(o=o[a--].removeFromSet(o));return o}},{key:"marksAcross",value:function(e){var t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;for(var r=t.marks,n=e.parent.maybeChild(e.index()),i=0;i<r.length;i++)!1!==r[i].type.spec.inclusive||n&&r[i].isInSet(n.marks)||(r=r[i--].removeFromSet(r));return r}},{key:"sharedDepth",value:function(e){for(var t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}},{key:"blockRange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=arguments.length>1?arguments[1]:void 0;if(e.pos<this.pos)return e.blockRange(this);for(var r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new M(this,e,r);return null}},{key:"sameParent",value:function(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}},{key:"max",value:function(e){return e.pos>this.pos?e:this}},{key:"min",value:function(e){return e.pos<this.pos?e:this}},{key:"toString",value:function(){for(var e="",t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}}],[{key:"resolve",value:function(t,r){if(!(r>=0&&r<=t.content.size))throw RangeError("Position "+r+" out of range");for(var n=[],i=0,o=r,a=t;;){var s=a.content.findIndex(o),u=s.index,l=s.offset,c=o-l;if(n.push(a,u,i+l),!c||(a=a.child(u)).isText)break;o=c-1,i+=l+1}return new e(r,n,o)}},{key:"resolveCached",value:function(t,r){var n=R.get(t);if(n)for(var i=0;i<n.elts.length;i++){var o=n.elts[i];if(o.pos==r)return o}else R.set(t,n=new A);var a=n.elts[n.i]=e.resolve(t,r);return n.i=(n.i+1)%P,a}}]),e}(),A=m(function e(){p(this,e),this.elts=[],this.i=0}),P=12,R=new WeakMap,M=function(){function e(t,r,n){p(this,e),this.$from=t,this.$to=r,this.depth=n}return m(e,[{key:"start",get:function(){return this.$from.before(this.depth+1)}},{key:"end",get:function(){return this.$to.after(this.depth+1)}},{key:"parent",get:function(){return this.$from.node(this.depth)}},{key:"startIndex",get:function(){return this.$from.index(this.depth)}},{key:"endIndex",get:function(){return this.$to.indexAfter(this.depth)}}]),e}(),F=Object.create(null),N=function(){function e(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:k.none;p(this,e),this.type=t,this.attrs=r,this.marks=i,this.content=n||v.empty}return m(e,[{key:"nodeSize",get:function(){return this.isLeaf?1:2+this.content.size}},{key:"childCount",get:function(){return this.content.childCount}},{key:"child",value:function(e){return this.content.child(e)}},{key:"maybeChild",value:function(e){return this.content.maybeChild(e)}},{key:"forEach",value:function(e){this.content.forEach(e)}},{key:"nodesBetween",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;this.content.nodesBetween(e,t,r,n,this)}},{key:"descendants",value:function(e){this.nodesBetween(0,this.content.size,e)}},{key:"textContent",get:function(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}},{key:"textBetween",value:function(e,t,r,n){return this.content.textBetween(e,t,r,n)}},{key:"firstChild",get:function(){return this.content.firstChild}},{key:"lastChild",get:function(){return this.content.lastChild}},{key:"eq",value:function(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}},{key:"sameMarkup",value:function(e){return this.hasMarkup(e.type,e.attrs,e.marks)}},{key:"hasMarkup",value:function(e,t,r){return this.type==e&&w(this.attrs,t||e.defaultAttrs||F)&&k.sameSet(this.marks,r||k.none)}},{key:"copy",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}},{key:"mark",value:function(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}},{key:"cut",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.content.size;return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}},{key:"slice",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.content.size,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e==t)return _.empty;var n=this.resolve(e),i=this.resolve(t),o=r?0:n.sharedDepth(t),a=n.start(o);return new _(n.node(o).content.cut(n.pos-a,i.pos-a),n.depth-o,i.depth-o)}},{key:"replace",value:function(e,t,r){return function(e,t,r){if(r.openStart>e.depth)throw new x("Inserted content deeper than insertion position");if(e.depth-r.openStart!=t.depth-r.openEnd)throw new x("Inconsistent open depths");return function e(t,r,n,i){var o=t.index(i),a=t.node(i);if(o==r.index(i)&&i<t.depth-n.openStart){var s=e(t,r,n,i+1);return a.copy(a.content.replaceChild(o,s))}if(!n.content.size)return j(a,O(t,r,i));if(n.openStart||n.openEnd||t.depth!=i||r.depth!=i){var u=function(e,t){for(var r=t.depth-e.openStart,n=t.node(r).copy(e.content),i=r-1;i>=0;i--)n=t.node(i).copy(v.from(n));return{start:n.resolveNoCache(e.openStart+r),end:n.resolveNoCache(n.content.size-e.openEnd-r)}}(n,t);return j(a,function e(t,r,n,i,o){var a=t.depth>o&&E(t,r,o+1),s=i.depth>o&&E(n,i,o+1),u=[];return C(null,t,o,u),a&&s&&r.index(o)==n.index(o)?(S(a,s),D(j(a,e(t,r,n,i,o+1)),u)):(a&&D(j(a,O(t,r,o+1)),u),C(r,n,o,u),s&&D(j(s,O(n,i,o+1)),u)),C(i,null,o,u),new v(u)}(t,u.start,u.end,r,i))}var l=t.parent,c=l.content;return j(l,c.cut(0,t.parentOffset).append(n.content).append(c.cut(r.parentOffset)))}(e,t,r,0)}(this.resolve(e),this.resolve(t),r)}},{key:"nodeAt",value:function(e){for(var t=this;;){var r=t.content.findIndex(e),n=r.index,i=r.offset;if(!(t=t.maybeChild(n)))return null;if(i==e||t.isText)return t;e-=i+1}}},{key:"childAfter",value:function(e){var t=this.content.findIndex(e),r=t.index,n=t.offset;return{node:this.content.maybeChild(r),index:r,offset:n}}},{key:"childBefore",value:function(e){if(0==e)return{node:null,index:0,offset:0};var t=this.content.findIndex(e),r=t.index,n=t.offset;if(n<e)return{node:this.content.child(r),index:r,offset:n};var i=this.content.child(r-1);return{node:i,index:r-1,offset:n-i.nodeSize}}},{key:"resolve",value:function(e){return T.resolveCached(this,e)}},{key:"resolveNoCache",value:function(e){return T.resolve(this,e)}},{key:"rangeHasMark",value:function(e,t,r){var n=!1;return t>e&&this.nodesBetween(e,t,function(e){return r.isInSet(e.marks)&&(n=!0),!n}),n}},{key:"isBlock",get:function(){return this.type.isBlock}},{key:"isTextblock",get:function(){return this.type.isTextblock}},{key:"inlineContent",get:function(){return this.type.inlineContent}},{key:"isInline",get:function(){return this.type.isInline}},{key:"isText",get:function(){return this.type.isText}},{key:"isLeaf",get:function(){return this.type.isLeaf}},{key:"isAtom",get:function(){return this.type.isAtom}},{key:"toString",value:function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),L(this.marks,e)}},{key:"contentMatchAt",value:function(e){var t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw Error("Called contentMatchAt on a node with invalid content");return t}},{key:"canReplace",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.empty,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.childCount,o=this.contentMatchAt(e).matchFragment(r,n,i),a=o&&o.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(var s=n;s<i;s++)if(!this.type.allowsMarks(r.child(s).marks))return!1;return!0}},{key:"canReplaceWith",value:function(e,t,r,n){if(n&&!this.type.allowsMarks(n))return!1;var i=this.contentMatchAt(e).matchType(r),o=i&&i.matchFragment(this.content,t);return!!o&&o.validEnd}},{key:"canAppend",value:function(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}},{key:"check",value:function(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);for(var e=k.none,t=0;t<this.marks.length;t++){var r=this.marks[t];r.type.checkAttrs(r.attrs),e=r.addToSet(e)}if(!k.sameSet(e,this.marks))throw RangeError("Invalid collection of marks for node ".concat(this.type.name,": ").concat(this.marks.map(function(e){return e.type.name})));this.content.forEach(function(e){return e.check()})}},{key:"toJSON",value:function(){var e={type:this.type.name};for(var t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(function(e){return e.toJSON()})),e}}],[{key:"fromJSON",value:function(e,t){if(!t)throw RangeError("Invalid input for Node.fromJSON");var r=void 0;if(t.marks){if(!Array.isArray(t.marks))throw RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw RangeError("Invalid text node in JSON");return e.text(t.text,r)}var n=v.fromJSON(e,t.content),i=e.nodeType(t.type).create(t.attrs,n,r);return i.type.checkAttrs(i.attrs),i}}]),e}();N.prototype.text=void 0;var I=function(e){o(r,e);var t=a(r);function r(e,n,i,o){var a;if(p(this,r),a=t.call(this,e,n,null,o),!i)throw RangeError("Empty text nodes are not allowed");return a.text=i,a}return m(r,[{key:"toString",value:function(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):L(this.marks,JSON.stringify(this.text))}},{key:"textContent",get:function(){return this.text}},{key:"textBetween",value:function(e,t){return this.text.slice(e,t)}},{key:"nodeSize",get:function(){return this.text.length}},{key:"mark",value:function(e){return e==this.marks?this:new r(this.type,this.attrs,this.text,e)}},{key:"withText",value:function(e){return e==this.text?this:new r(this.type,this.attrs,e,this.marks)}},{key:"cut",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.text.length;return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}},{key:"eq",value:function(e){return this.sameMarkup(e)&&this.text==e.text}},{key:"toJSON",value:function(){var e=i(d(r.prototype),"toJSON",this).call(this);return e.text=this.text,e}}]),r}(N);function L(e,t){for(var r=e.length-1;r>=0;r--)t=e[r].type.name+"("+t+")";return t}var B=function(){function e(t){p(this,e),this.validEnd=t,this.next=[],this.wrapCache=[]}return m(e,[{key:"matchType",value:function(e){for(var t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}},{key:"matchFragment",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.childCount,n=this,i=t;n&&i<r;i++)n=n.matchType(e.child(i).type);return n}},{key:"inlineContent",get:function(){return 0!=this.next.length&&this.next[0].type.isInline}},{key:"defaultType",get:function(){for(var e=0;e<this.next.length;e++){var t=this.next[e].type;if(!(t.isText||t.hasRequiredAttrs()))return t}return null}},{key:"compatible",value:function(e){for(var t=0;t<this.next.length;t++)for(var r=0;r<e.next.length;r++)if(this.next[t].type==e.next[r].type)return!0;return!1}},{key:"fillBefore",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[this];return function i(o,a){var s=o.matchFragment(e,r);if(s&&(!t||s.validEnd))return v.from(a.map(function(e){return e.createAndFill()}));for(var u=0;u<o.next.length;u++){var l=o.next[u],c=l.type,d=l.next;if(!(c.isText||c.hasRequiredAttrs())&&-1==n.indexOf(d)){n.push(d);var h=i(d,a.concat(c));if(h)return h}}return null}(this,[])}},{key:"findWrapping",value:function(e){for(var t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];var r=this.computeWrapping(e);return this.wrapCache.push(e,r),r}},{key:"computeWrapping",value:function(e){for(var t=Object.create(null),r=[{match:this,type:null,via:null}];r.length;){var n=r.shift(),i=n.match;if(i.matchType(e)){for(var o=[],a=n;a.type;a=a.via)o.push(a.type);return o.reverse()}for(var s=0;s<i.next.length;s++){var u=i.next[s],l=u.type,c=u.next;l.isLeaf||l.hasRequiredAttrs()||l.name in t||n.type&&!c.validEnd||(r.push({match:l.contentMatch,type:l,via:n}),t[l.name]=!0)}}return null}},{key:"edgeCount",get:function(){return this.next.length}},{key:"edge",value:function(e){if(e>=this.next.length)throw RangeError("There's no ".concat(e,"th edge in this content match"));return this.next[e]}},{key:"toString",value:function(){var e=[];return function t(r){e.push(r);for(var n=0;n<r.next.length;n++)-1==e.indexOf(r.next[n].next)&&t(r.next[n].next)}(this),e.map(function(t,r){for(var n=r+(t.validEnd?"*":" ")+" ",i=0;i<t.next.length;i++)n+=(i?", ":"")+t.next[i].type.name+"->"+e.indexOf(t.next[i].next);return n}).join("\n")}}],[{key:"parse",value:function(t,r){var n,i,o=new z(t,r);if(null==o.next)return e.empty;var a=function e(t){var r=[];do r.push(function(t){var r=[];do r.push(function(t){for(var r=function(t){if(t.eat("(")){var r=e(t);return t.eat(")")||t.err("Missing closing paren"),r}if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{var n=(function(e,t){var r=e.nodeTypes,n=r[t];if(n)return[n];var i=[];for(var o in r){var a=r[o];a.groups.indexOf(t)>-1&&i.push(a)}return 0==i.length&&e.err("No node type or group '"+t+"' found"),i})(t,t.next).map(function(e){return null==t.inline?t.inline=e.isInline:t.inline!=e.isInline&&t.err("Mixing inline and block content"),{type:"name",value:e}});return t.pos++,1==n.length?n[0]:{type:"choice",exprs:n}}}(t);;)if(t.eat("+"))r={type:"plus",expr:r};else if(t.eat("*"))r={type:"star",expr:r};else if(t.eat("?"))r={type:"opt",expr:r};else if(t.eat("{"))r=function(e,t){var r=U(e),n=r;return e.eat(",")&&(n="}"!=e.next?U(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:r,max:n,expr:t}}(t,r);else break;return r}(t));while(t.next&&")"!=t.next&&"|"!=t.next);return 1==r.length?r[0]:{type:"seq",exprs:r}}(t));while(t.eat("|"));return 1==r.length?r[0]:{type:"choice",exprs:r}}(o);o.next&&o.err("Unexpected trailing text");var s=(n=function(e){var t=[[]];return i(function e(t,o){if("choice"==t.type)return t.exprs.reduce(function(t,r){return t.concat(e(r,o))},[]);if("seq"==t.type)for(var a=0;;a++){var s=e(t.exprs[a],o);if(a==t.exprs.length-1)return s;i(s,o=r())}else if("star"==t.type){var u=r();return n(o,u),i(e(t.expr,u),u),[n(u)]}else if("plus"==t.type){var l=r();return i(e(t.expr,o),l),i(e(t.expr,l),l),[n(l)]}else if("opt"==t.type)return[n(o)].concat(e(t.expr,o));else if("range"==t.type){for(var c=o,d=0;d<t.min;d++){var h=r();i(e(t.expr,c),h),c=h}if(-1==t.max)i(e(t.expr,c),c);else for(var p=t.min;p<t.max;p++){var f=r();n(c,f),i(e(t.expr,c),f),c=f}return[n(c)]}else if("name"==t.type)return[n(o,void 0,t.value)];else throw Error("Unknown expr type")}(e,0),r()),t;function r(){return t.push([])-1}function n(e,r,n){var i={term:n,to:r};return t[e].push(i),i}function i(e,t){e.forEach(function(e){return e.to=t})}}(a),i=Object.create(null),function e(t){var r=[];t.forEach(function(e){n[e].forEach(function(e){var t,i=e.term,o=e.to;if(i){for(var a=0;a<r.length;a++)r[a][0]==i&&(t=r[a][1]);$(n,o).forEach(function(e){t||r.push([i,t=[]]),-1==t.indexOf(e)&&t.push(e)})}})});for(var o=i[t.join(",")]=new B(t.indexOf(n.length-1)>-1),a=0;a<r.length;a++){var s=r[a][1].sort(q);o.next.push({type:r[a][0],next:i[s.join(",")]||e(s)})}return o}($(n,0)));return function(e,t){for(var r=0,n=[e];r<n.length;r++){for(var i=n[r],o=!i.validEnd,a=[],s=0;s<i.next.length;s++){var u=i.next[s],l=u.type,c=u.next;a.push(l.name),o&&!(l.isText||l.hasRequiredAttrs())&&(o=!1),-1==n.indexOf(c)&&n.push(c)}o&&t.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(s,o),s}}]),e}();B.empty=new B(!0);var z=function(){function e(t,r){p(this,e),this.string=t,this.nodeTypes=r,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}return m(e,[{key:"next",get:function(){return this.tokens[this.pos]}},{key:"eat",value:function(e){return this.next==e&&(this.pos++||!0)}},{key:"err",value:function(e){throw SyntaxError(e+" (in content expression '"+this.string+"')")}}]),e}();function U(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");var t=Number(e.next);return e.pos++,t}function q(e,t){return t-e}function $(e,t){var r=[];return function t(n){var i=e[n];if(1==i.length&&!i[0].term)return t(i[0].to);r.push(n);for(var o=0;o<i.length;o++){var a=i[o],s=a.term,u=a.to;s||-1!=r.indexOf(u)||t(u)}}(t),r.sort(q)}function H(e){var t=Object.create(null);for(var r in e){var n=e[r];if(!n.hasDefault)return null;t[r]=n.default}return t}function V(e,t){var r=Object.create(null);for(var n in e){var i=t&&t[n];if(void 0===i){var o=e[n];if(o.hasDefault)i=o.default;else throw RangeError("No value supplied for attribute "+n)}r[n]=i}return r}function W(e,t,r,n){for(var i in t)if(!(i in e))throw RangeError("Unsupported attribute ".concat(i," for ").concat(r," of type ").concat(i));for(var o in e){var a=e[o];a.validate&&a.validate(t[o])}}function G(e,t){var r=Object.create(null);if(t)for(var n in t)r[n]=new Z(e,n,t[n]);return r}var Y=function(){function e(t,r,n){p(this,e),this.name=t,this.schema=r,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=G(t,n.attrs),this.defaultAttrs=H(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==t),this.isText="text"==t}return m(e,[{key:"isInline",get:function(){return!this.isBlock}},{key:"isTextblock",get:function(){return this.isBlock&&this.inlineContent}},{key:"isLeaf",get:function(){return this.contentMatch==B.empty}},{key:"isAtom",get:function(){return this.isLeaf||!!this.spec.atom}},{key:"whitespace",get:function(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}},{key:"hasRequiredAttrs",value:function(){for(var e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}},{key:"compatibleContent",value:function(e){return this==e||this.contentMatch.compatible(e.contentMatch)}},{key:"computeAttrs",value:function(e){return!e&&this.defaultAttrs?this.defaultAttrs:V(this.attrs,e)}},{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;if(this.isText)throw Error("NodeType.create can't construct text nodes");return new N(this,this.computeAttrs(e),v.from(t),k.setFrom(r))}},{key:"createChecked",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return t=v.from(t),this.checkContent(t),new N(this,this.computeAttrs(e),t,k.setFrom(r))}},{key:"createAndFill",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;if(e=this.computeAttrs(e),(t=v.from(t)).size){var n=this.contentMatch.fillBefore(t);if(!n)return null;t=n.append(t)}var i=this.contentMatch.matchFragment(t),o=i&&i.fillBefore(v.empty,!0);return o?new N(this,e,t.append(o),k.setFrom(r)):null}},{key:"validContent",value:function(e){var t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(var r=0;r<e.childCount;r++)if(!this.allowsMarks(e.child(r).marks))return!1;return!0}},{key:"checkContent",value:function(e){if(!this.validContent(e))throw RangeError("Invalid content for node ".concat(this.name,": ").concat(e.toString().slice(0,50)))}},{key:"checkAttrs",value:function(e){W(this.attrs,e,"node",this.name)}},{key:"allowsMarkType",value:function(e){return null==this.markSet||this.markSet.indexOf(e)>-1}},{key:"allowsMarks",value:function(e){if(null==this.markSet)return!0;for(var t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}},{key:"allowedMarks",value:function(e){if(null==this.markSet)return e;for(var t,r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?t&&t.push(e[r]):t||(t=e.slice(0,r));return t?t.length?t:k.none:e}}],[{key:"compile",value:function(t,r){var n=Object.create(null);t.forEach(function(t,i){return n[t]=new e(t,r,i)});var i=r.spec.topNode||"doc";if(!n[i])throw RangeError("Schema is missing its top node type ('"+i+"')");if(!n.text)throw RangeError("Every schema needs a 'text' type");for(var o in n.text.attrs)throw RangeError("The text node type should not have attributes");return n}}]),e}(),Z=function(){function e(t,r,n){var i;p(this,e),this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?(i=n.validate.split("|"),function(e){var n=null===e?"null":h(e);if(0>i.indexOf(n))throw RangeError("Expected value of type ".concat(i," for attribute ").concat(r," on type ").concat(t,", got ").concat(n))}):n.validate}return m(e,[{key:"isRequired",get:function(){return!this.hasDefault}}]),e}(),K=function(){function e(t,r,n,i){p(this,e),this.name=t,this.rank=r,this.schema=n,this.spec=i,this.attrs=G(t,i.attrs),this.excluded=null;var o=H(this.attrs);this.instance=o?new k(this,o):null}return m(e,[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!e&&this.instance?this.instance:new k(this,V(this.attrs,e))}},{key:"removeFromSet",value:function(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}},{key:"isInSet",value:function(e){for(var t=0;t<e.length;t++)if(e[t].type==this)return e[t]}},{key:"checkAttrs",value:function(e){W(this.attrs,e,"mark",this.name)}},{key:"excludes",value:function(e){return this.excluded.indexOf(e)>-1}}],[{key:"compile",value:function(t,r){var n=Object.create(null),i=0;return t.forEach(function(t,o){return n[t]=new e(t,i++,r,o)}),n}}]),e}(),J=function(){function e(t){p(this,e),this.linebreakReplacement=null,this.cached=Object.create(null);var r=this.spec={};for(var n in t)r[n]=t[n];r.nodes=g.from(t.nodes),r.marks=g.from(t.marks||{}),this.nodes=Y.compile(this.spec.nodes,this),this.marks=K.compile(this.spec.marks,this);var i=Object.create(null);for(var o in this.nodes){if(o in this.marks)throw RangeError(o+" can not be both a node and a mark");var a=this.nodes[o],s=a.spec.content||"",u=a.spec.marks;if(a.contentMatch=i[s]||(i[s]=B.parse(s,this.nodes)),a.inlineContent=a.contentMatch.inlineContent,a.spec.linebreakReplacement){if(this.linebreakReplacement)throw RangeError("Multiple linebreak nodes defined");if(!a.isInline||!a.isLeaf)throw RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=a}a.markSet="_"==u?null:u?X(this,u.split(" ")):""!=u&&a.inlineContent?null:[]}for(var l in this.marks){var c=this.marks[l],d=c.spec.excludes;c.excluded=null==d?[c]:""==d?[]:X(this,d.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}return m(e,[{key:"node",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if("string"==typeof e)e=this.nodeType(e);else if(e instanceof Y){if(e.schema!=this)throw RangeError("Node type from different schema used ("+e.name+")")}else throw RangeError("Invalid node type: "+e);return e.createChecked(t,r,n)}},{key:"text",value:function(e,t){var r=this.nodes.text;return new I(r,r.defaultAttrs,e,k.setFrom(t))}},{key:"mark",value:function(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}},{key:"nodeFromJSON",value:function(e){return N.fromJSON(this,e)}},{key:"markFromJSON",value:function(e){return k.fromJSON(this,e)}},{key:"nodeType",value:function(e){var t=this.nodes[e];if(!t)throw RangeError("Unknown node type: "+e);return t}}]),e}();function X(e,t){for(var r=[],n=0;n<t.length;n++){var i=t[n],o=e.marks[i],a=o;if(o)r.push(o);else for(var s in e.marks){var u=e.marks[s];("_"==i||u.spec.group&&u.spec.group.split(" ").indexOf(i)>-1)&&r.push(a=u)}if(!a)throw SyntaxError("Unknown mark type: '"+t[n]+"'")}return r}var Q=function(){function e(t,r){var n=this;p(this,e),this.schema=t,this.rules=r,this.tags=[],this.styles=[];var i=this.matchedStyles=[];r.forEach(function(e){if(null!=e.tag)n.tags.push(e);else if(null!=e.style){var t=/[^=]*/.exec(e.style)[0];0>i.indexOf(t)&&i.push(t),n.styles.push(e)}}),this.normalizeLists=!this.tags.some(function(e){if(!/^(ul|ol)\b/.test(e.tag)||!e.node)return!1;var r=t.nodes[e.node];return r.contentMatch.matchType(r)})}return m(e,[{key:"parse",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new eo(this,t,!1);return r.addAll(e,k.none,t.from,t.to),r.finish()}},{key:"parseSlice",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new eo(this,t,!0);return r.addAll(e,k.none,t.from,t.to),_.maxOpen(r.finish())}},{key:"matchTag",value:function(e,t,r){for(var n=r?this.tags.indexOf(r)+1:0;n<this.tags.length;n++){var i,o=this.tags[n];if(i=o.tag,(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,i)&&(void 0===o.namespace||e.namespaceURI==o.namespace)&&(!o.context||t.matchesContext(o.context))){if(o.getAttrs){var a=o.getAttrs(e);if(!1===a)continue;o.attrs=a||void 0}return o}}}},{key:"matchStyle",value:function(e,t,r,n){for(var i=n?this.styles.indexOf(n)+1:0;i<this.styles.length;i++){var o=this.styles[i],a=o.style;if(0==a.indexOf(e)&&(!o.context||r.matchesContext(o.context))&&(!(a.length>e.length)||61==a.charCodeAt(e.length)&&a.slice(e.length+1)==t)){if(o.getAttrs){var s=o.getAttrs(t);if(!1===s)continue;o.attrs=s||void 0}return o}}}}],[{key:"schemaRules",value:function(e){var t=[];function r(e){for(var r=null==e.priority?50:e.priority,n=0;n<t.length;n++){var i=t[n];if((null==i.priority?50:i.priority)<r)break}t.splice(n,0,e)}var n=function(t){var n=e.marks[t].spec.parseDOM;n&&n.forEach(function(e){r(e=ea(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)})};for(var i in e.marks)n(i);var o=function(t){var n=e.nodes[t].spec.parseDOM;n&&n.forEach(function(e){r(e=ea(e)),e.node||e.ignore||e.mark||(e.node=t)})};for(var a in e.nodes)o(a);return t}},{key:"fromSchema",value:function(t){return t.cached.domParser||(t.cached.domParser=new e(t,e.schemaRules(t)))}}]),e}(),ee={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},et={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},er={ol:!0,ul:!0};function en(e,t,r){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&r}var ei=function(){function e(t,r,n,i,o,a){p(this,e),this.type=t,this.attrs=r,this.marks=n,this.solid=i,this.options=a,this.content=[],this.activeMarks=k.none,this.match=o||(4&a?null:t.contentMatch)}return m(e,[{key:"findWrapping",value:function(e){if(!this.match){if(!this.type)return[];var t=this.type.contentMatch.fillBefore(v.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{var r,n=this.type.contentMatch;return(r=n.findWrapping(e.type))?(this.match=n,r):null}}return this.match.findWrapping(e.type)}},{key:"finish",value:function(e){if(!(1&this.options)){var t,r=this.content[this.content.length-1];r&&r.isText&&(t=/[ \t\r\n\u000c]+$/.exec(r.text))&&(r.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=r.withText(r.text.slice(0,r.text.length-t[0].length)))}var n=v.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(v.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}},{key:"inlineContext",value:function(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!ee.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}]),e}(),eo=function(){function e(t,r,n){p(this,e),this.parser=t,this.options=r,this.isOpen=n,this.open=0;var i,o=r.topNode,a=en(null,r.preserveWhitespace,0)|(n?4:0);i=o?new ei(o.type,o.attrs,k.none,!0,r.topMatch||o.type.contentMatch,a):n?new ei(null,null,k.none,!0,null,a):new ei(t.schema.topNodeType,null,k.none,!0,null,a),this.nodes=[i],this.find=r.findPositions,this.needsBlock=!1}return m(e,[{key:"top",get:function(){return this.nodes[this.open]}},{key:"addDOM",value:function(e,t){3==e.nodeType?this.addTextNode(e,t):1==e.nodeType&&this.addElement(e,t)}},{key:"addTextNode",value:function(e,t){var r=e.nodeValue,n=this.top;if(2&n.options||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(1&n.options)r=2&n.options?r.replace(/\r\n?/g,"\n"):r.replace(/\r?\n|\r/g," ");else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){var i=n.content[n.content.length-1],o=e.previousSibling;(!i||o&&"BR"==o.nodeName||i.isText&&/[ \t\r\n\u000c]$/.test(i.text))&&(r=r.slice(1))}r&&this.insertNode(this.parser.schema.text(r),t),this.findInText(e)}else this.findInside(e)}},{key:"addElement",value:function(e,t,r){var n,i=e.nodeName.toLowerCase();er.hasOwnProperty(i)&&this.parser.normalizeLists&&function(e){for(var t=e.firstChild,r=null;t;t=t.nextSibling){var n=1==t.nodeType?t.nodeName.toLowerCase():null;n&&er.hasOwnProperty(n)&&r?(r.appendChild(t),t=r):"li"==n?r=t:n&&(r=null)}}(e);var o=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(n=this.parser.matchTag(e,this,r));if(o?o.ignore:et.hasOwnProperty(i))this.findInside(e),this.ignoreFallback(e,t);else if(!o||o.skip||o.closeParent){o&&o.closeParent?this.open=Math.max(0,this.open-1):o&&o.skip.nodeType&&(e=o.skip);var a,s=this.top,u=this.needsBlock;if(ee.hasOwnProperty(i))s.content.length&&s.content[0].isInline&&this.open&&(this.open--,s=this.top),a=!0,s.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);return}var l=o&&o.skip?t:this.readStyles(e,t);l&&this.addAll(e,l),a&&this.sync(s),this.needsBlock=u}else{var c=this.readStyles(e,t);c&&this.addElementByRule(e,o,c,!1===o.consuming?n:void 0)}}},{key:"leafFallback",value:function(e,t){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"),t)}},{key:"ignoreFallback",value:function(e,t){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"),t)}},{key:"readStyles",value:function(e,t){var r=this,n=e.style;if(n&&n.length)for(var i=0;i<this.parser.matchedStyles.length;i++){var o=this.parser.matchedStyles[i],a=n.getPropertyValue(o);if(a){for(var s,u=void 0;0!==(s=function(e){var n=r.parser.matchStyle(o,a,r,e);return n?n.ignore?{v:null}:(t=n.clearMark?t.filter(function(e){return!n.clearMark(e)}):t.concat(r.parser.schema.marks[n.mark].create(n.attrs)),!1!==n.consuming)?(u=e,0):void(u=e=n):(u=e,0)}(u));)if(s)return s.v}}return t}},{key:"addElementByRule",value:function(e,t,r,n){var i,o,a=this;if(t.node){if((o=this.parser.schema.nodes[t.node]).isLeaf)this.insertNode(o.create(t.attrs),r)||this.leafFallback(e,r);else{var s=this.enter(o,t.attrs||null,r,t.preserveWhitespace);s&&(i=!0,r=s)}}else{var u=this.parser.schema.marks[t.mark];r=r.concat(u.create(t.attrs))}var l=this.top;if(o&&o.isLeaf)this.findInside(e);else if(n)this.addElement(e,r,n);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(function(e){return a.insertNode(e,r)});else{var c=e;"string"==typeof t.contentElement?c=e.querySelector(t.contentElement):"function"==typeof t.contentElement?c=t.contentElement(e):t.contentElement&&(c=t.contentElement),this.findAround(e,c,!0),this.addAll(c,r)}i&&this.sync(l)&&this.open--}},{key:"addAll",value:function(e,t,r,n){for(var i=r||0,o=r?e.childNodes[r]:e.firstChild,a=null==n?null:e.childNodes[n];o!=a;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o,t);this.findAtPoint(e,i)}},{key:"findPlace",value:function(e,t){for(var r,n,i=this.open;i>=0;i--){var o=this.nodes[i],a=o.findWrapping(e);if(a&&(!r||r.length>a.length)&&(r=a,n=o,!a.length)||o.solid)break}if(!r)return null;this.sync(n);for(var s=0;s<r.length;s++)t=this.enterInner(r[s],null,t,!1);return t}},{key:"insertNode",value:function(e,t){if(e.isInline&&this.needsBlock&&!this.top.type){var r=this.textblockFromContext();r&&(t=this.enterInner(r,null,t))}var i=this.findPlace(e,t);if(i){this.closeExtra();var o=this.top;o.match&&(o.match=o.match.matchType(e.type));var a,s=k.none,u=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,void 0)}}(e))){r&&(e=r);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}(i.concat(e.marks));try{for(u.s();!(a=u.n()).done;){var l=a.value;(o.type?o.type.allowsMarkType(l.type):es(l.type,e.type))&&(s=l.addToSet(s))}}catch(e){u.e(e)}finally{u.f()}return o.content.push(e.mark(s)),!0}return!1}},{key:"enter",value:function(e,t,r,n){var i=this.findPlace(e.create(t),r);return i&&(i=this.enterInner(e,t,r,!0,n)),i}},{key:"enterInner",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;this.closeExtra();var o=this.top;o.match=o.match&&o.match.matchType(e);var a=en(e,i,o.options);4&o.options&&0==o.content.length&&(a|=4);var s=k.none;return r=r.filter(function(t){return(o.type?!o.type.allowsMarkType(t.type):!es(t.type,e))||(s=t.addToSet(s),!1)}),this.nodes.push(new ei(e,t,s,n,null,a)),this.open++,r}},{key:"closeExtra",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}},{key:"finish",value:function(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}},{key:"sync",value:function(e){for(var t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}},{key:"currentPos",get:function(){this.closeExtra();for(var e=0,t=this.open;t>=0;t--){for(var r=this.nodes[t].content,n=r.length-1;n>=0;n--)e+=r[n].nodeSize;t&&e++}return e}},{key:"findAtPoint",value:function(e,t){if(this.find)for(var r=0;r<this.find.length;r++)this.find[r].node==e&&this.find[r].offset==t&&(this.find[r].pos=this.currentPos)}},{key:"findInside",value:function(e){if(this.find)for(var t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}},{key:"findAround",value:function(e,t,r){if(e!=t&&this.find)for(var n=0;n<this.find.length;n++)null==this.find[n].pos&&1==e.nodeType&&e.contains(this.find[n].node)&&t.compareDocumentPosition(this.find[n].node)&(r?2:4)&&(this.find[n].pos=this.currentPos)}},{key:"findInText",value:function(e){if(this.find)for(var t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}},{key:"matchesContext",value:function(e){var t=this;if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);var r=e.split("/"),n=this.options.context,i=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),o=-(n?n.depth+1:0)+(i?0:1);return function e(a,s){for(;a>=0;a--){var u=r[a];if(""==u){if(a==r.length-1||0==a)continue;for(;s>=o;s--)if(e(a-1,s))return!0;return!1}var l=s>0||0==s&&i?t.nodes[s].type:n&&s>=o?n.node(s-o).type:null;if(!l||l.name!=u&&-1==l.groups.indexOf(u))return!1;s--}return!0}(r.length-1,this.open)}},{key:"textblockFromContext",value:function(){var e=this.options.context;if(e)for(var t=e.depth;t>=0;t--){var r=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(var n in this.parser.schema.nodes){var i=this.parser.schema.nodes[n];if(i.isTextblock&&i.defaultAttrs)return i}}}]),e}();function ea(e){var t={};for(var r in e)t[r]=e[r];return t}function es(e,t){var r,n=t.schema.nodes;for(var i in n)if(0!==(r=function(){var r=n[i];if(!r.allowsMarkType(e))return 0;var o=[];if(function e(r){o.push(r);for(var n=0;n<r.edgeCount;n++){var i=r.edge(n),a=i.type,s=i.next;if(a==t||0>o.indexOf(s)&&e(s))return!0}}(r.contentMatch))return{v:!0}}())&&r)return r.v}var eu=function(){function e(t,r){p(this,e),this.nodes=t,this.marks=r}return m(e,[{key:"serializeFragment",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;n||(n=ec(r).createDocumentFragment());var i=n,o=[];return e.forEach(function(e){if(o.length||e.marks.length){for(var n=0,a=0;n<o.length&&a<e.marks.length;){var s=e.marks[a];if(!t.marks[s.type.name]){a++;continue}if(!s.eq(o[n][0])||!1===s.type.spec.spanning)break;n++,a++}for(;n<o.length;)i=o.pop()[1];for(;a<e.marks.length;){var u=e.marks[a++],l=t.serializeMark(u,e.isInline,r);l&&(o.push([u,i]),i.appendChild(l.dom),i=l.contentDOM||l.dom)}}i.appendChild(t.serializeNodeInner(e,r))}),n}},{key:"serializeNodeInner",value:function(e,t){var r=eh(ec(t),this.nodes[e.type.name](e),null,e.attrs),n=r.dom,i=r.contentDOM;if(i){if(e.isLeaf)throw RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,i)}return n}},{key:"serializeNode",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.serializeNodeInner(e,t),n=e.marks.length-1;n>=0;n--){var i=this.serializeMark(e.marks[n],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}},{key:"serializeMark",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.marks[e.type.name];return n&&eh(ec(r),n(e,t),null,e.attrs)}}],[{key:"renderSpec",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;return eh(e,t,r,n)}},{key:"fromSchema",value:function(t){return t.cached.domSerializer||(t.cached.domSerializer=new e(this.nodesFromSchema(t),this.marksFromSchema(t)))}},{key:"nodesFromSchema",value:function(e){var t=el(e.nodes);return t.text||(t.text=function(e){return e.text}),t}},{key:"marksFromSchema",value:function(e){return el(e.marks)}}]),e}();function el(e){var t={};for(var r in e){var n=e[r].spec.toDOM;n&&(t[r]=n)}return t}function ec(e){return e.document||window.document}var ed=new WeakMap;function eh(e,t,r,n){if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;var i,o,a,s,u=t[0];if("string"!=typeof u)throw RangeError("Invalid array passed to renderSpec");if(n&&(void 0===(o=ed.get(n))&&ed.set(n,(i=null,function e(t){if(t&&"object"==h(t)){if(Array.isArray(t)){if("string"==typeof t[0])i||(i=[]),i.push(t);else for(var r=0;r<t.length;r++)e(t[r])}else for(var n in t)e(t[n])}}(n),o=i)),s=o)&&s.indexOf(t)>-1)throw RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");var l=u.indexOf(" ");l>0&&(r=u.slice(0,l),u=u.slice(l+1));var c=r?e.createElementNS(r,u):e.createElement(u),d=t[1],p=1;if(d&&"object"==h(d)&&null==d.nodeType&&!Array.isArray(d)){for(var f in p=2,d)if(null!=d[f]){var m=f.indexOf(" ");m>0?c.setAttributeNS(f.slice(0,m),f.slice(m+1),d[f]):c.setAttribute(f,d[f])}}for(var g=p;g<t.length;g++){var v=t[g];if(0===v){if(g<t.length-1||g>p)throw RangeError("Content hole must be the only child of its parent node");return{dom:c,contentDOM:c}}var y=eh(e,v,r,n),b=y.dom,w=y.contentDOM;if(c.appendChild(b),w){if(a)throw RangeError("Multiple content holes");a=w}}return{dom:c,contentDOM:a}}t.ContentMatch=B,t.DOMParser=Q,t.DOMSerializer=eu,t.Fragment=v,t.Mark=k,t.MarkType=K,t.Node=N,t.NodeRange=M,t.NodeType=Y,t.ReplaceError=x,t.ResolvedPos=T,t.Schema=J,t.Slice=_},151:function(e,t,r){"use strict";var n=r(61563),i=r(1109),o=r(22765),a=["ol",0],s=["ul",0],u=["li",0],l={attrs:{order:{default:1}},parseDOM:[{tag:"ol",getAttrs:function(e){return{order:e.hasAttribute("start")?+e.getAttribute("start"):1}}}],toDOM:function(e){return 1==e.attrs.order?a:["ol",{start:e.attrs.order},0]}},c={parseDOM:[{tag:"ul"}],toDOM:function(){return s}},d={parseDOM:[{tag:"li"}],toDOM:function(){return u},defining:!0};function h(e,t){var r={};for(var n in e)r[n]=e[n];for(var i in t)r[i]=t[i];return r}function p(e,t){return function(r,a){var s=r.selection,u=s.$from,l=s.$to,c=s.node;if(c&&c.isBlock||u.depth<2||!u.sameParent(l))return!1;var d=u.node(-1);if(d.type!=e)return!1;if(0==u.parent.content.size&&u.node(-1).childCount==u.indexAfter(-1)){if(3==u.depth||u.node(-3).type!=e||u.index(-2)!=u.node(-2).childCount-1)return!1;if(a){for(var h=i.Fragment.empty,p=u.index(-1)?1:u.index(-2)?2:3,f=u.depth-p;f>=u.depth-3;f--)h=i.Fragment.from(u.node(f).copy(h));var m=u.indexAfter(-1)<u.node(-2).childCount?1:u.indexAfter(-2)<u.node(-3).childCount?2:3;h=h.append(i.Fragment.from(e.createAndFill()));var g=u.before(u.depth-(p-1)),v=r.tr.replace(g,u.after(-m),new i.Slice(h,4-p,0)),y=-1;v.doc.nodesBetween(g,v.doc.content.size,function(e,t){if(y>-1)return!1;e.isTextblock&&0==e.content.size&&(y=t+1)}),y>-1&&v.setSelection(o.Selection.near(v.doc.resolve(y))),a(v.scrollIntoView())}return!0}var b=l.pos==u.end()?d.contentMatchAt(0).defaultType:null,w=r.tr.delete(u.pos,l.pos),k=b?[t?{type:e,attrs:t}:null,{type:b}]:void 0;return!!n.canSplit(w.doc,u.pos,2,k)&&(a&&a(w.split(u.pos,2,k).scrollIntoView()),!0)}}t.addListNodes=function(e,t,r){return e.append({ordered_list:h(l,{content:"list_item+",group:r}),bullet_list:h(c,{content:"list_item+",group:r}),list_item:h(d,{content:t})})},t.bulletList=c,t.liftListItem=function(e){return function(t,r){var o=t.selection,a=o.$from,s=o.$to,u=a.blockRange(s,function(t){return t.childCount>0&&t.firstChild.type==e});return!!u&&(!r||(a.node(u.depth-1).type==e?function(e,t,r,o){var a=e.tr,s=o.end,u=o.$to.end(o.depth);s<u&&(a.step(new n.ReplaceAroundStep(s-1,u,s,u,new i.Slice(i.Fragment.from(r.create(null,o.parent.copy())),1,0),1,!0)),o=new i.NodeRange(a.doc.resolve(o.$from.pos),a.doc.resolve(u),o.depth));var l=n.liftTarget(o);if(null==l)return!1;a.lift(o,l);var c=a.mapping.map(s,-1)-1;return n.canJoin(a.doc,c)&&a.join(c),t(a.scrollIntoView()),!0}(t,r,e,u):function(e,t,r){for(var o=e.tr,a=r.parent,s=r.end,u=r.endIndex-1,l=r.startIndex;u>l;u--)s-=a.child(u).nodeSize,o.delete(s-1,s+1);var c=o.doc.resolve(r.start),d=c.nodeAfter;if(o.mapping.map(r.end)!=r.start+c.nodeAfter.nodeSize)return!1;var h=0==r.startIndex,p=r.endIndex==a.childCount,f=c.node(-1),m=c.index(-1);if(!f.canReplace(m+(h?0:1),m+1,d.content.append(p?i.Fragment.empty:i.Fragment.from(a))))return!1;var g=c.pos,v=g+d.nodeSize;return o.step(new n.ReplaceAroundStep(g-(h?1:0),v+(p?1:0),g+1,v-1,new i.Slice((h?i.Fragment.empty:i.Fragment.from(a.copy(i.Fragment.empty))).append(p?i.Fragment.empty:i.Fragment.from(a.copy(i.Fragment.empty))),h?0:1,p?0:1),h?0:1)),t(o.scrollIntoView()),!0}(t,r,u)))}},t.listItem=d,t.orderedList=l,t.sinkListItem=function(e){return function(t,r){var o=t.selection,a=o.$from,s=o.$to,u=a.blockRange(s,function(t){return t.childCount>0&&t.firstChild.type==e});if(!u)return!1;var l=u.startIndex;if(0==l)return!1;var c=u.parent,d=c.child(l-1);if(d.type!=e)return!1;if(r){var h=d.lastChild&&d.lastChild.type==c.type,p=i.Fragment.from(h?e.create():null),f=new i.Slice(i.Fragment.from(e.create(null,i.Fragment.from(c.type.create(null,p)))),h?3:1,0),m=u.start,g=u.end;r(t.tr.step(new n.ReplaceAroundStep(m-(h?3:1),g,m,g,f,1,!0)).scrollIntoView())}return!0}},t.splitListItem=p,t.splitListItemKeepMarks=function(e,t){var r=p(e,t);return function(e,t){return r(e,t&&function(r){var n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();n&&r.ensureMarks(n),t(r)})}},t.wrapInList=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r,o){var a=r.selection,s=a.$from,u=a.$to,l=s.blockRange(u),c=!1,d=l;if(!l)return!1;if(l.depth>=2&&s.node(l.depth-1).type.compatibleContent(e)&&0==l.startIndex){if(0==s.index(l.depth-1))return!1;var h=r.doc.resolve(l.start-2);d=new i.NodeRange(h,h,l.depth),l.endIndex<l.parent.childCount&&(l=new i.NodeRange(s,r.doc.resolve(u.end(l.depth)),l.depth)),c=!0}var p=n.findWrapping(d,e,t,l);return!!p&&(o&&o((function(e,t,r,o,a){for(var s=i.Fragment.empty,u=r.length-1;u>=0;u--)s=i.Fragment.from(r[u].type.create(r[u].attrs,s));e.step(new n.ReplaceAroundStep(t.start-(o?2:0),t.end,t.start,t.end,new i.Slice(s,0,0),r.length,!0));for(var l=0,c=0;c<r.length;c++)r[c].type==a&&(l=c+1);for(var d=r.length-l,h=t.start+r.length-(o?2:0),p=t.parent,f=t.startIndex,m=t.endIndex,g=!0;f<m;f++,g=!1)!g&&n.canSplit(e.doc,h,d)&&(e.split(h,d),h+=2*d),h+=p.child(f).nodeSize;return e})(r.tr,l,p,c,e).scrollIntoView()),!0)}}},22765:function(e,t,r){"use strict";function n(e){return(n="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})(e)}function i(){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}}).apply(this,arguments)}function o(e,t){if("function"!=typeof t&&null!==t)throw 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&&a(e,t)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,i=u(e);return r=t?Reflect.construct(i,arguments,u(this).constructor):i.apply(this,arguments),function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}Object.defineProperty(t,"__esModule",{value:!0});var h=r(1109),p=r(61563),f=Object.create(null),m=function(){function e(t,r,n){l(this,e),this.$anchor=t,this.$head=r,this.ranges=n||[new g(t.min(r),t.max(r))]}return d(e,[{key:"anchor",get:function(){return this.$anchor.pos}},{key:"head",get:function(){return this.$head.pos}},{key:"from",get:function(){return this.$from.pos}},{key:"to",get:function(){return this.$to.pos}},{key:"$from",get:function(){return this.ranges[0].$from}},{key:"$to",get:function(){return this.ranges[0].$to}},{key:"empty",get:function(){for(var e=this.ranges,t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}},{key:"content",value:function(){return this.$from.doc.slice(this.from,this.to,!0)}},{key:"replace",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.Slice.empty,r=t.content.lastChild,n=null,i=0;i<t.openEnd;i++)n=r,r=r.lastChild;for(var o=e.steps.length,a=this.ranges,s=0;s<a.length;s++){var u=a[s],l=u.$from,c=u.$to,d=e.mapping.slice(o);e.replaceRange(d.map(l.pos),d.map(c.pos),s?h.Slice.empty:t),0==s&&D(e,o,(r?r.isInline:n&&n.isTextblock)?-1:1)}}},{key:"replaceWith",value:function(e,t){for(var r=e.steps.length,n=this.ranges,i=0;i<n.length;i++){var o=n[i],a=o.$from,s=o.$to,u=e.mapping.slice(r),l=u.map(a.pos),c=u.map(s.pos);i?e.deleteRange(l,c):(e.replaceRangeWith(l,c,t),D(e,r,t.isInline?-1:1))}}},{key:"getBookmark",value:function(){return b.between(this.$anchor,this.$head).getBookmark()}}],[{key:"findFrom",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.parent.inlineContent?new b(e):E(e.node(0),e.parent,e.pos,e.index(),t,r);if(n)return n;for(var i=e.depth-1;i>=0;i--){var o=t<0?E(e.node(0),e.node(i),e.before(i+1),e.index(i),t,r):E(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,r);if(o)return o}return null}},{key:"near",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.findFrom(e,t)||this.findFrom(e,-t)||new _(e.node(0))}},{key:"atStart",value:function(e){return E(e,e,0,0,1)||new _(e)}},{key:"atEnd",value:function(e){return E(e,e,e.content.size,e.childCount,-1)||new _(e)}},{key:"fromJSON",value:function(e,t){if(!t||!t.type)throw RangeError("Invalid input for Selection.fromJSON");var r=f[t.type];if(!r)throw RangeError("No selection type ".concat(t.type," defined"));return r.fromJSON(e,t)}},{key:"jsonID",value:function(e,t){if(e in f)throw RangeError("Duplicate use of selection JSON ID "+e);return f[e]=t,t.prototype.jsonID=e,t}}]),e}();m.prototype.visible=!0;var g=d(function e(t,r){l(this,e),this.$from=t,this.$to=r}),v=!1;function y(e){v||e.parent.inlineContent||(v=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}var b=function(e){o(r,e);var t=s(r);function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return l(this,r),y(e),y(n),t.call(this,e,n)}return d(r,[{key:"$cursor",get:function(){return this.$anchor.pos==this.$head.pos?this.$head:null}},{key:"map",value:function(e,t){var n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return m.near(n);var i=e.resolve(t.map(this.anchor));return new r(i.parent.inlineContent?i:n,n)}},{key:"replace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.Slice.empty;if(i(u(r.prototype),"replace",this).call(this,e,t),t==h.Slice.empty){var n=this.$from.marksAcross(this.$to);n&&e.ensureMarks(n)}}},{key:"eq",value:function(e){return e instanceof r&&e.anchor==this.anchor&&e.head==this.head}},{key:"getBookmark",value:function(){return new w(this.anchor,this.head)}},{key:"toJSON",value:function(){return{type:"text",anchor:this.anchor,head:this.head}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw RangeError("Invalid input for TextSelection.fromJSON");return new r(e.resolve(t.anchor),e.resolve(t.head))}},{key:"create",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=e.resolve(t);return new this(n,r==t?n:e.resolve(r))}},{key:"between",value:function(e,t,n){var i=e.pos-t.pos;if((!n||i)&&(n=i>=0?1:-1),!t.parent.inlineContent){var o=m.findFrom(t,n,!0)||m.findFrom(t,-n,!0);if(!o)return m.near(t,n);t=o.$head}return e.parent.inlineContent||(0==i?e=t:(e=(m.findFrom(e,-n,!0)||m.findFrom(e,n,!0)).$anchor).pos<t.pos==i<0||(e=t)),new r(e,t)}}]),r}(m);m.jsonID("text",b);var w=function(){function e(t,r){l(this,e),this.anchor=t,this.head=r}return d(e,[{key:"map",value:function(t){return new e(t.map(this.anchor),t.map(this.head))}},{key:"resolve",value:function(e){return b.between(e.resolve(this.anchor),e.resolve(this.head))}}]),e}(),k=function(e){o(r,e);var t=s(r);function r(e){l(this,r);var n,i=e.nodeAfter,o=e.node(0).resolve(e.pos+i.nodeSize);return(n=t.call(this,e,o)).node=i,n}return d(r,[{key:"map",value:function(e,t){var n=t.mapResult(this.anchor),i=n.deleted,o=n.pos,a=e.resolve(o);return i?m.near(a):new r(a)}},{key:"content",value:function(){return new h.Slice(h.Fragment.from(this.node),0,0)}},{key:"eq",value:function(e){return e instanceof r&&e.anchor==this.anchor}},{key:"toJSON",value:function(){return{type:"node",anchor:this.anchor}}},{key:"getBookmark",value:function(){return new x(this.anchor)}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.anchor)throw RangeError("Invalid input for NodeSelection.fromJSON");return new r(e.resolve(t.anchor))}},{key:"create",value:function(e,t){return new r(e.resolve(t))}},{key:"isSelectable",value:function(e){return!e.isText&&!1!==e.type.spec.selectable}}]),r}(m);k.prototype.visible=!1,m.jsonID("node",k);var x=function(){function e(t){l(this,e),this.anchor=t}return d(e,[{key:"map",value:function(t){var r=t.mapResult(this.anchor),n=r.deleted,i=r.pos;return n?new w(i,i):new e(i)}},{key:"resolve",value:function(e){var t=e.resolve(this.anchor),r=t.nodeAfter;return r&&k.isSelectable(r)?new k(t):m.near(t)}}]),e}(),_=function(e){o(r,e);var t=s(r);function r(e){return l(this,r),t.call(this,e.resolve(0),e.resolve(e.content.size))}return d(r,[{key:"replace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.Slice.empty;if(t==h.Slice.empty){e.delete(0,e.doc.content.size);var n=m.atStart(e.doc);n.eq(e.selection)||e.setSelection(n)}else i(u(r.prototype),"replace",this).call(this,e,t)}},{key:"toJSON",value:function(){return{type:"all"}}},{key:"map",value:function(e){return new r(e)}},{key:"eq",value:function(e){return e instanceof r}},{key:"getBookmark",value:function(){return S}}],[{key:"fromJSON",value:function(e){return new r(e)}}]),r}(m);m.jsonID("all",_);var S={map:function(){return this},resolve:function(e){return new _(e)}};function E(e,t,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(t.inlineContent)return b.create(e,r);for(var a=n-(i>0?0:1);i>0?a<t.childCount:a>=0;a+=i){var s=t.child(a);if(s.isAtom){if(!o&&k.isSelectable(s))return k.create(e,r-(i<0?s.nodeSize:0))}else{var u=E(e,s,r+i,i<0?s.childCount:0,i,o);if(u)return u}r+=s.nodeSize*i}return null}function D(e,t,r){var n,i=e.steps.length-1;if(!(i<t)){var o=e.steps[i];(o instanceof p.ReplaceStep||o instanceof p.ReplaceAroundStep)&&(e.mapping.maps[i].forEach(function(e,t,r,i){null==n&&(n=i)}),e.setSelection(m.near(e.doc.resolve(n),r)))}}var C=function(e){o(r,e);var t=s(r);function r(e){var n;return l(this,r),(n=t.call(this,e.doc)).curSelectionFor=0,n.updated=0,n.meta=Object.create(null),n.time=Date.now(),n.curSelection=e.selection,n.storedMarks=e.storedMarks,n}return d(r,[{key:"selection",get:function(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}},{key:"setSelection",value:function(e){if(e.$from.doc!=this.doc)throw RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(1|this.updated)&-3,this.storedMarks=null,this}},{key:"selectionSet",get:function(){return(1&this.updated)>0}},{key:"setStoredMarks",value:function(e){return this.storedMarks=e,this.updated|=2,this}},{key:"ensureMarks",value:function(e){return h.Mark.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}},{key:"addStoredMark",value:function(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}},{key:"removeStoredMark",value:function(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}},{key:"storedMarksSet",get:function(){return(2&this.updated)>0}},{key:"addStep",value:function(e,t){i(u(r.prototype),"addStep",this).call(this,e,t),this.updated=-3&this.updated,this.storedMarks=null}},{key:"setTime",value:function(e){return this.time=e,this}},{key:"replaceSelection",value:function(e){return this.selection.replace(this,e),this}},{key:"replaceSelectionWith",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=this.selection;return t&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||h.Mark.none))),r.replaceWith(this,e),this}},{key:"deleteSelection",value:function(){return this.selection.replace(this),this}},{key:"insertText",value:function(e,t,r){var n=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(n.text(e),!0):this.deleteSelection();if(null==r&&(r=t),r=null==r?t:r,!e)return this.deleteRange(t,r);var i=this.storedMarks;if(!i){var o=this.doc.resolve(t);i=r==t?o.marks():o.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(t,r,n.text(e,i)),this.selection.empty||this.setSelection(m.near(this.selection.$to)),this}},{key:"setMeta",value:function(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}},{key:"getMeta",value:function(e){return this.meta["string"==typeof e?e:e.key]}},{key:"isGeneric",get:function(){for(var e in this.meta)return!1;return!0}},{key:"scrollIntoView",value:function(){return this.updated|=4,this}},{key:"scrolledIntoView",get:function(){return(4&this.updated)>0}}]),r}(p.Transform);function j(e,t){return t&&e?e.bind(t):e}var O=d(function e(t,r,n){l(this,e),this.name=t,this.init=j(r.init,n),this.apply=j(r.apply,n)}),T=[new O("doc",{init:function(e){return e.doc||e.schema.topNodeType.createAndFill()},apply:function(e){return e.doc}}),new O("selection",{init:function(e,t){return e.selection||m.atStart(t.doc)},apply:function(e){return e.selection}}),new O("storedMarks",{init:function(e){return e.storedMarks||null},apply:function(e,t,r,n){return n.selection.$cursor?e.storedMarks:null}}),new O("scrollToSelection",{init:function(){return 0},apply:function(e,t){return e.scrolledIntoView?t+1:t}})],A=d(function e(t,r){var n=this;l(this,e),this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=T.slice(),r&&r.forEach(function(e){if(n.pluginsByKey[e.key])throw RangeError("Adding different instances of a keyed plugin ("+e.key+")");n.plugins.push(e),n.pluginsByKey[e.key]=e,e.spec.state&&n.fields.push(new O(e.key,e.spec.state,e))})}),P=function(){function e(t){l(this,e),this.config=t}return d(e,[{key:"schema",get:function(){return this.config.schema}},{key:"plugins",get:function(){return this.config.plugins}},{key:"apply",value:function(e){return this.applyTransaction(e).state}},{key:"filterTransaction",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=0;r<this.config.plugins.length;r++)if(r!=t){var n=this.config.plugins[r];if(n.spec.filterTransaction&&!n.spec.filterTransaction.call(n,e,this))return!1}return!0}},{key:"applyTransaction",value:function(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};for(var t=[e],r=this.applyInner(e),n=null;;){for(var i=!1,o=0;o<this.config.plugins.length;o++){var a=this.config.plugins[o];if(a.spec.appendTransaction){var s=n?n[o].n:0,u=n?n[o].state:this,l=s<t.length&&a.spec.appendTransaction.call(a,s?t.slice(s):t,u,r);if(l&&r.filterTransaction(l,o)){if(l.setMeta("appendedTransaction",e),!n){n=[];for(var c=0;c<this.config.plugins.length;c++)n.push(c<o?{state:r,n:t.length}:{state:this,n:0})}t.push(l),r=r.applyInner(l),i=!0}n&&(n[o]={state:r,n:t.length})}}if(!i)return{state:r,transactions:t}}}},{key:"applyInner",value:function(t){if(!t.before.eq(this.doc))throw RangeError("Applying a mismatched transaction");for(var r=new e(this.config),n=this.config.fields,i=0;i<n.length;i++){var o=n[i];r[o.name]=o.apply(t,this[o.name],this,r)}return r}},{key:"tr",get:function(){return new C(this)}},{key:"reconfigure",value:function(t){for(var r=new A(this.schema,t.plugins),n=r.fields,i=new e(r),o=0;o<n.length;o++){var a=n[o].name;i[a]=this.hasOwnProperty(a)?this[a]:n[o].init(t,i)}return i}},{key:"toJSON",value:function(e){var t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(function(e){return e.toJSON()})),e&&"object"==n(e))for(var r in e){if("doc"==r||"selection"==r)throw RangeError("The JSON fields `doc` and `selection` are reserved");var i=e[r],o=i.spec.state;o&&o.toJSON&&(t[r]=o.toJSON.call(i,this[i.key]))}return t}}],[{key:"create",value:function(t){for(var r=new A(t.doc?t.doc.type.schema:t.schema,t.plugins),n=new e(r),i=0;i<r.fields.length;i++)n[r.fields[i].name]=r.fields[i].init(t,n);return n}},{key:"fromJSON",value:function(t,r,n){if(!r)throw RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw RangeError("Required config field 'schema' missing");var i=new A(t.schema,t.plugins),o=new e(i);return i.fields.forEach(function(e){if("doc"==e.name)o.doc=h.Node.fromJSON(t.schema,r.doc);else if("selection"==e.name)o.selection=m.fromJSON(o.doc,r.selection);else if("storedMarks"==e.name)r.storedMarks&&(o.storedMarks=r.storedMarks.map(t.schema.markFromJSON));else{if(n)for(var i in n){var a=n[i],s=a.spec.state;if(a.key==e.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(r,i)){o[e.name]=s.fromJSON.call(a,t,r[i],o);return}}o[e.name]=e.init(t,o)}}),o}}]),e}(),R=function(){function e(t){l(this,e),this.spec=t,this.props={},t.props&&function e(t,r,n){for(var i in t){var o=t[i];o instanceof Function?o=o.bind(r):"handleDOMEvents"==i&&(o=e(o,r,{})),n[i]=o}return n}(t.props,this,this.props),this.key=t.key?t.key.key:F("plugin")}return d(e,[{key:"getState",value:function(e){return e[this.key]}}]),e}(),M=Object.create(null);function F(e){return e in M?e+"$"+ ++M[e]:(M[e]=0,e+"$")}var N=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"key";l(this,e),this.key=F(t)}return d(e,[{key:"get",value:function(e){return e.config.pluginsByKey[this.key]}},{key:"getState",value:function(e){return e[this.key]}}]),e}();t.AllSelection=_,t.EditorState=P,t.NodeSelection=k,t.Plugin=R,t.PluginKey=N,t.Selection=m,t.SelectionRange=g,t.TextSelection=b,t.Transaction=C},61563:function(e,t,r){"use strict";function n(e){var t="function"==typeof Map?new Map:void 0;return(n=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return i(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,e)})(e)}function i(e,t,r){return(i=u()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&a(i,r.prototype),i}).apply(null,arguments)}function o(e,t){if("function"!=typeof t&&null!==t)throw 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&&a(e,t)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=u();return function(){var r,n=l(e);return r=t?Reflect.construct(n,arguments,l(this).constructor):n.apply(this,arguments),function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function u(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){return(c="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})(e)}function d(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}(n.key),n)}}function p(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var f=r(1109),m=function(){function e(t,r,n){d(this,e),this.pos=t,this.delInfo=r,this.recover=n}return p(e,[{key:"deleted",get:function(){return(8&this.delInfo)>0}},{key:"deletedBefore",get:function(){return(5&this.delInfo)>0}},{key:"deletedAfter",get:function(){return(6&this.delInfo)>0}},{key:"deletedAcross",get:function(){return(4&this.delInfo)>0}}]),e}(),g=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(d(this,e),this.ranges=t,this.inverted=r,!t.length&&e.empty)return e.empty}return p(e,[{key:"recover",value:function(e){var t=0,r=65535&e;if(!this.inverted)for(var n=0;n<r;n++)t+=this.ranges[3*n+2]-this.ranges[3*n+1];return this.ranges[3*r]+t+(e-(65535&e))/65536}},{key:"mapResult",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this._map(e,t,!1)}},{key:"map",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this._map(e,t,!0)}},{key:"_map",value:function(e,t,r){for(var n=0,i=this.inverted?2:1,o=this.inverted?1:2,a=0;a<this.ranges.length;a+=3){var s=this.ranges[a]-(this.inverted?n:0);if(s>e)break;var u=this.ranges[a+i],l=this.ranges[a+o],c=s+u;if(e<=c){var d=u?e==s?-1:e==c?1:t:t,h=s+n+(d<0?0:l);if(r)return h;var p=e==(t<0?s:c)?null:a/3+(e-s)*65536,f=e==s?2:e==c?1:4;return(t<0?e!=s:e!=c)&&(f|=8),new m(h,f,p)}n+=l-u}return r?e+n:new m(e+n,0,null)}},{key:"touches",value:function(e,t){for(var r=0,n=65535&t,i=this.inverted?2:1,o=this.inverted?1:2,a=0;a<this.ranges.length;a+=3){var s=this.ranges[a]-(this.inverted?r:0);if(s>e)break;var u=this.ranges[a+i];if(e<=s+u&&a==3*n)return!0;r+=this.ranges[a+o]-u}return!1}},{key:"forEach",value:function(e){for(var t=this.inverted?2:1,r=this.inverted?1:2,n=0,i=0;n<this.ranges.length;n+=3){var o=this.ranges[n],a=o-(this.inverted?i:0),s=o+(this.inverted?0:i),u=this.ranges[n+t],l=this.ranges[n+r];e(a,a+u,s,s+l),i+=l-u}}},{key:"invert",value:function(){return new e(this.ranges,!this.inverted)}},{key:"toString",value:function(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}}],[{key:"offset",value:function(t){return 0==t?e.empty:new e(t<0?[0,-t,0]:[0,0,t])}}]),e}();g.empty=new g([]);var v=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;d(this,e),this.maps=t,this.mirror=r,this.from=n,this.to=i}return p(e,[{key:"slice",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.maps.length;return new e(this.maps,this.mirror,t,r)}},{key:"copy",value:function(){return new e(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}},{key:"appendMap",value:function(e,t){this.to=this.maps.push(e),null!=t&&this.setMirror(this.maps.length-1,t)}},{key:"appendMapping",value:function(e){for(var t=0,r=this.maps.length;t<e.maps.length;t++){var n=e.getMirror(t);this.appendMap(e.maps[t],null!=n&&n<t?r+n:void 0)}}},{key:"getMirror",value:function(e){if(this.mirror){for(var t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}},{key:"setMirror",value:function(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}},{key:"appendMappingInverted",value:function(e){for(var t=e.maps.length-1,r=this.maps.length+e.maps.length;t>=0;t--){var n=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=n&&n>t?r-n-1:void 0)}}},{key:"invert",value:function(){var t=new e;return t.appendMappingInverted(this),t}},{key:"map",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(this.mirror)return this._map(e,t,!0);for(var r=this.from;r<this.to;r++)e=this.maps[r].map(e,t);return e}},{key:"mapResult",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this._map(e,t,!1)}},{key:"_map",value:function(e,t,r){for(var n=0,i=this.from;i<this.to;i++){var o=this.maps[i].mapResult(e,t);if(null!=o.recover){var a=this.getMirror(i);if(null!=a&&a>i&&a<this.to){i=a,e=this.maps[a].recover(o.recover);continue}}n|=o.delInfo,e=o.pos}return r?e:new m(e,n,null)}}]),e}(),y=Object.create(null),b=function(){function e(){d(this,e)}return p(e,[{key:"getMap",value:function(){return g.empty}},{key:"merge",value:function(e){return null}}],[{key:"fromJSON",value:function(e,t){if(!t||!t.stepType)throw RangeError("Invalid input for Step.fromJSON");var r=y[t.stepType];if(!r)throw RangeError("No step type ".concat(t.stepType," defined"));return r.fromJSON(e,t)}},{key:"jsonID",value:function(e,t){if(e in y)throw RangeError("Duplicate use of step JSON ID "+e);return y[e]=t,t.prototype.jsonID=e,t}}]),e}(),w=function(){function e(t,r){d(this,e),this.doc=t,this.failed=r}return p(e,null,[{key:"ok",value:function(t){return new e(t,null)}},{key:"fail",value:function(t){return new e(null,t)}},{key:"fromReplace",value:function(t,r,n,i){try{return e.ok(t.replace(r,n,i))}catch(t){if(t instanceof f.ReplaceError)return e.fail(t.message);throw t}}}]),e}();function k(e,t,r){for(var n=[],i=0;i<e.childCount;i++){var o=e.child(i);o.content.size&&(o=o.copy(k(o.content,t,o))),o.isInline&&(o=t(o,r,i)),n.push(o)}return f.Fragment.fromArray(n)}var x=function(e){o(r,e);var t=s(r);function r(e,n,i){var o;return d(this,r),(o=t.call(this)).from=e,o.to=n,o.mark=i,o}return p(r,[{key:"apply",value:function(e){var t=this,r=e.slice(this.from,this.to),n=e.resolve(this.from),i=n.node(n.sharedDepth(this.to)),o=new f.Slice(k(r.content,function(e,r){return e.isAtom&&r.type.allowsMarkType(t.mark.type)?e.mark(t.mark.addToSet(e.marks)):e},i),r.openStart,r.openEnd);return w.fromReplace(e,this.from,this.to,o)}},{key:"invert",value:function(){return new _(this.from,this.to,this.mark)}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new r(t.pos,n.pos,this.mark)}},{key:"merge",value:function(e){return e instanceof r&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new r(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}},{key:"toJSON",value:function(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw RangeError("Invalid input for AddMarkStep.fromJSON");return new r(t.from,t.to,e.markFromJSON(t.mark))}}]),r}(b);b.jsonID("addMark",x);var _=function(e){o(r,e);var t=s(r);function r(e,n,i){var o;return d(this,r),(o=t.call(this)).from=e,o.to=n,o.mark=i,o}return p(r,[{key:"apply",value:function(e){var t=this,r=e.slice(this.from,this.to),n=new f.Slice(k(r.content,function(e){return e.mark(t.mark.removeFromSet(e.marks))},e),r.openStart,r.openEnd);return w.fromReplace(e,this.from,this.to,n)}},{key:"invert",value:function(){return new x(this.from,this.to,this.mark)}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new r(t.pos,n.pos,this.mark)}},{key:"merge",value:function(e){return e instanceof r&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new r(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}},{key:"toJSON",value:function(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw RangeError("Invalid input for RemoveMarkStep.fromJSON");return new r(t.from,t.to,e.markFromJSON(t.mark))}}]),r}(b);b.jsonID("removeMark",_);var S=function(e){o(r,e);var t=s(r);function r(e,n){var i;return d(this,r),(i=t.call(this)).pos=e,i.mark=n,i}return p(r,[{key:"apply",value:function(e){var t=e.nodeAt(this.pos);if(!t)return w.fail("No node at mark step's position");var r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return w.fromReplace(e,this.pos,this.pos+1,new f.Slice(f.Fragment.from(r),0,t.isLeaf?0:1))}},{key:"invert",value:function(e){var t=e.nodeAt(this.pos);if(t){var n=this.mark.addToSet(t.marks);if(n.length==t.marks.length){for(var i=0;i<t.marks.length;i++)if(!t.marks[i].isInSet(n))return new r(this.pos,t.marks[i]);return new r(this.pos,this.mark)}}return new E(this.pos,this.mark)}},{key:"map",value:function(e){var t=e.mapResult(this.pos,1);return t.deletedAfter?null:new r(t.pos,this.mark)}},{key:"toJSON",value:function(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.pos)throw RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new r(t.pos,e.markFromJSON(t.mark))}}]),r}(b);b.jsonID("addNodeMark",S);var E=function(e){o(r,e);var t=s(r);function r(e,n){var i;return d(this,r),(i=t.call(this)).pos=e,i.mark=n,i}return p(r,[{key:"apply",value:function(e){var t=e.nodeAt(this.pos);if(!t)return w.fail("No node at mark step's position");var r=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return w.fromReplace(e,this.pos,this.pos+1,new f.Slice(f.Fragment.from(r),0,t.isLeaf?0:1))}},{key:"invert",value:function(e){var t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new S(this.pos,this.mark):this}},{key:"map",value:function(e){var t=e.mapResult(this.pos,1);return t.deletedAfter?null:new r(t.pos,this.mark)}},{key:"toJSON",value:function(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.pos)throw RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new r(t.pos,e.markFromJSON(t.mark))}}]),r}(b);b.jsonID("removeNodeMark",E);var D=function(e){o(r,e);var t=s(r);function r(e,n,i){var o,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return d(this,r),(o=t.call(this)).from=e,o.to=n,o.slice=i,o.structure=a,o}return p(r,[{key:"apply",value:function(e){return this.structure&&j(e,this.from,this.to)?w.fail("Structure replace would overwrite content"):w.fromReplace(e,this.from,this.to,this.slice)}},{key:"getMap",value:function(){return new g([this.from,this.to-this.from,this.slice.size])}},{key:"invert",value:function(e){return new r(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deletedAcross&&n.deletedAcross?null:new r(t.pos,Math.max(t.pos,n.pos),this.slice)}},{key:"merge",value:function(e){if(!(e instanceof r)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;var t=this.slice.size+e.slice.size==0?f.Slice.empty:new f.Slice(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new r(e.from,this.to,t,this.structure)}var n=this.slice.size+e.slice.size==0?f.Slice.empty:new f.Slice(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new r(this.from,this.to+(e.to-e.from),n,this.structure)}},{key:"toJSON",value:function(){var e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw RangeError("Invalid input for ReplaceStep.fromJSON");return new r(t.from,t.to,f.Slice.fromJSON(e,t.slice),!!t.structure)}}]),r}(b);b.jsonID("replace",D);var C=function(e){o(r,e);var t=s(r);function r(e,n,i,o,a,s){var u,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return d(this,r),(u=t.call(this)).from=e,u.to=n,u.gapFrom=i,u.gapTo=o,u.slice=a,u.insert=s,u.structure=l,u}return p(r,[{key:"apply",value:function(e){if(this.structure&&(j(e,this.from,this.gapFrom)||j(e,this.gapTo,this.to)))return w.fail("Structure gap-replace would overwrite content");var t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return w.fail("Gap is not a flat range");var r=this.slice.insertAt(this.insert,t.content);return r?w.fromReplace(e,this.from,this.to,r):w.fail("Content does not fit in gap")}},{key:"getMap",value:function(){return new g([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}},{key:"invert",value:function(e){var t=this.gapTo-this.gapFrom;return new r(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),i=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),o=this.to==this.gapTo?n.pos:e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||i<t.pos||o>n.pos?null:new r(t.pos,n.pos,i,o,this.slice,this.insert,this.structure)}},{key:"toJSON",value:function(){var e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new r(t.from,t.to,t.gapFrom,t.gapTo,f.Slice.fromJSON(e,t.slice),t.insert,!!t.structure)}}]),r}(b);function j(e,t,r){for(var n=e.resolve(t),i=r-t,o=n.depth;i>0&&o>0&&n.indexAfter(o)==n.node(o).childCount;)o--,i--;if(i>0)for(var a=n.node(o).maybeChild(n.indexAfter(o));i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}return!1}function O(e,t,r){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.contentMatch,i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=e.doc.nodeAt(t),a=[],s=t+1,u=0;u<o.childCount;u++){var l=o.child(u),c=s+l.nodeSize,d=n.matchType(l.type);if(d){n=d;for(var h=0;h<l.marks.length;h++)r.allowsMarkType(l.marks[h].type)||e.step(new _(s,c,l.marks[h]));if(i&&l.isText&&"pre"!=r.whitespace)for(var p=void 0,m=/\r?\n|\r/g,g=void 0;p=m.exec(l.text);)g||(g=new f.Slice(f.Fragment.from(r.schema.text(" ",r.allowedMarks(l.marks))),0,0)),a.push(new D(s+p.index,s+p.index+p[0].length,g))}else a.push(new D(s,c,f.Slice.empty));s=c}if(!n.validEnd){var v=n.fillBefore(f.Fragment.empty,!0);e.replace(s,s,new f.Slice(v,0,0))}for(var y=a.length-1;y>=0;y--)e.step(a[y])}function T(e){return{type:e,attrs:null}}function A(e,t){return!!(e&&t&&!e.isLeaf&&e.canAppend(t))}function P(e,t,r){var n=e.resolve(t);if(n.parent.canReplaceWith(n.index(),n.index(),r))return t;if(0==n.parentOffset)for(var i=n.depth-1;i>=0;i--){var o=n.index(i);if(n.node(i).canReplaceWith(o,o,r))return n.before(i+1);if(o>0)return null}if(n.parentOffset==n.parent.content.size)for(var a=n.depth-1;a>=0;a--){var s=n.indexAfter(a);if(n.node(a).canReplaceWith(s,s,r))return n.after(a+1);if(s<n.node(a).childCount)break}return null}function R(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:f.Slice.empty;if(t==r&&!n.size)return null;var i=e.resolve(t),o=e.resolve(r);return M(i,o,n)?new D(t,r,n):new F(i,o,n).fit()}function M(e,t,r){return!r.openStart&&!r.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),r.content)}b.jsonID("replaceAround",C);var F=function(){function e(t,r,n){d(this,e),this.$from=t,this.$to=r,this.unplaced=n,this.frontier=[],this.placed=f.Fragment.empty;for(var i=0;i<=t.depth;i++){var o=t.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(t.indexAfter(i))})}for(var a=t.depth;a>0;a--)this.placed=f.Fragment.from(t.node(a).copy(this.placed))}return p(e,[{key:"depth",get:function(){return this.frontier.length-1}},{key:"fit",value:function(){for(;this.unplaced.size;){var e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}var t=this.mustMoveInline(),r=this.placed.size-this.depth-this.$from.depth,n=this.$from,i=this.close(t<0?this.$to:n.doc.resolve(t));if(!i)return null;for(var o=this.placed,a=n.depth,s=i.depth;a&&s&&1==o.childCount;)o=o.firstChild.content,a--,s--;var u=new f.Slice(o,a,s);return t>-1?new C(n.pos,t,this.$to.pos,this.$to.end(),u,r):u.size||n.pos!=this.$to.pos?new D(n.pos,i.pos,u):null}},{key:"findFittable",value:function(){for(var e=this.unplaced.openStart,t=this.unplaced.content,r=0,n=this.unplaced.openEnd;r<e;r++){var i=t.firstChild;if(t.childCount>1&&(n=0),i.type.spec.isolating&&n<=r){e=r;break}t=i.content}for(var o=1;o<=2;o++)for(var a=1==o?e:this.unplaced.openStart;a>=0;a--)for(var s=null,u=(a?(s=L(this.unplaced.content,a-1).firstChild).content:this.unplaced.content).firstChild,l=this.depth;l>=0;l--){var c=this.frontier[l],d=c.type,h=c.match,p=void 0,m=null;if(1==o&&(u?h.matchType(u.type)||(m=h.fillBefore(f.Fragment.from(u),!1)):s&&d.compatibleContent(s.type)))return{sliceDepth:a,frontierDepth:l,parent:s,inject:m};if(2==o&&u&&(p=h.findWrapping(u.type)))return{sliceDepth:a,frontierDepth:l,parent:s,wrap:p};if(s&&h.matchType(s.type))break}}},{key:"openMore",value:function(){var e=this.unplaced,t=e.content,r=e.openStart,n=e.openEnd,i=L(t,r);return!!i.childCount&&!i.firstChild.isLeaf&&(this.unplaced=new f.Slice(t,r+1,Math.max(n,i.size+r>=t.size-n?r+1:0)),!0)}},{key:"dropNode",value:function(){var e=this.unplaced,t=e.content,r=e.openStart,n=e.openEnd,i=L(t,r);if(i.childCount<=1&&r>0){var o=t.size-r<=r+i.size;this.unplaced=new f.Slice(N(t,r-1,1),r-1,o?r-1:n)}else this.unplaced=new f.Slice(N(t,r,1),r,n)}},{key:"placeNodes",value:function(e){for(var t=e.sliceDepth,r=e.frontierDepth,n=e.parent,i=e.inject,o=e.wrap;this.depth>r;)this.closeFrontierNode();if(o)for(var a=0;a<o.length;a++)this.openFrontierNode(o[a]);var s=this.unplaced,u=n?n.content:s.content,l=s.openStart-t,c=0,d=[],h=this.frontier[r],p=h.match,m=h.type;if(i){for(var g=0;g<i.childCount;g++)d.push(i.child(g));p=p.matchFragment(i)}for(var v=u.size+t-(s.content.size-s.openEnd);c<u.childCount;){var y=u.child(c),b=p.matchType(y.type);if(!b)break;(++c>1||0==l||y.content.size)&&(p=b,d.push(function e(t,r,n){if(r<=0)return t;var i=t.content;return r>1&&(i=i.replaceChild(0,e(i.firstChild,r-1,1==i.childCount?n-1:0))),r>0&&(i=t.type.contentMatch.fillBefore(i).append(i),n<=0&&(i=i.append(t.type.contentMatch.matchFragment(i).fillBefore(f.Fragment.empty,!0)))),t.copy(i)}(y.mark(m.allowedMarks(y.marks)),1==c?l:0,c==u.childCount?v:-1)))}var w=c==u.childCount;w||(v=-1),this.placed=I(this.placed,r,f.Fragment.from(d)),this.frontier[r].match=p,w&&v<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(var k=0,x=u;k<v;k++){var _=x.lastChild;this.frontier.push({type:_.type,match:_.contentMatchAt(_.childCount)}),x=_.content}this.unplaced=w?0==t?f.Slice.empty:new f.Slice(N(s.content,t-1,1),t-1,v<0?s.openEnd:t-1):new f.Slice(N(s.content,t,c),s.openStart,s.openEnd)}},{key:"mustMoveInline",value:function(){if(!this.$to.parent.isTextblock)return -1;var e,t=this.frontier[this.depth];if(!t.type.isTextblock||!B(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return -1;for(var r=this.$to.depth,n=this.$to.after(r);r>1&&n==this.$to.end(--r);)++n;return n}},{key:"findCloseLevel",value:function(e){n:for(var t=Math.min(this.depth,e.depth);t>=0;t--){var r=this.frontier[t],n=r.match,i=r.type,o=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),a=B(e,t,i,n,o);if(a){for(var s=t-1;s>=0;s--){var u=this.frontier[s],l=u.match,c=B(e,s,u.type,l,!0);if(!c||c.childCount)continue n}return{depth:t,fit:a,move:o?e.doc.resolve(e.after(t+1)):e}}}}},{key:"close",value:function(e){var t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=I(this.placed,t.depth,t.fit)),e=t.move;for(var r=t.depth+1;r<=e.depth;r++){var n=e.node(r),i=n.type.contentMatch.fillBefore(n.content,!0,e.index(r));this.openFrontierNode(n.type,n.attrs,i)}return e}},{key:"openFrontierNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0,n=this.frontier[this.depth];n.match=n.match.matchType(e),this.placed=I(this.placed,this.depth,f.Fragment.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})}},{key:"closeFrontierNode",value:function(){var e=this.frontier.pop().match.fillBefore(f.Fragment.empty,!0);e.childCount&&(this.placed=I(this.placed,this.frontier.length,e))}}]),e}();function N(e,t,r){return 0==t?e.cutByIndex(r,e.childCount):e.replaceChild(0,e.firstChild.copy(N(e.firstChild.content,t-1,r)))}function I(e,t,r){return 0==t?e.append(r):e.replaceChild(e.childCount-1,e.lastChild.copy(I(e.lastChild.content,t-1,r)))}function L(e,t){for(var r=0;r<t;r++)e=e.firstChild.content;return e}function B(e,t,r,n,i){var o=e.node(t),a=i?e.indexAfter(t):e.index(t);if(a==o.childCount&&!r.compatibleContent(o.type))return null;var s=n.fillBefore(o.content,!0,a);return s&&!function(e,t,r){for(var n=r;n<t.childCount;n++)if(!e.allowsMarks(t.child(n).marks))return!0;return!1}(r,o.content,a)?s:null}function z(e,t){for(var r=[],n=Math.min(e.depth,t.depth),i=n;i>=0;i--){var o=e.start(i);if(o<e.pos-(e.depth-i)||t.end(i)>t.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(o==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==o-1)&&r.push(i)}return r}var U=function(e){o(r,e);var t=s(r);function r(e,n,i){var o;return d(this,r),(o=t.call(this)).pos=e,o.attr=n,o.value=i,o}return p(r,[{key:"apply",value:function(e){var t=e.nodeAt(this.pos);if(!t)return w.fail("No node at attribute step's position");var r=Object.create(null);for(var n in t.attrs)r[n]=t.attrs[n];r[this.attr]=this.value;var i=t.type.create(r,null,t.marks);return w.fromReplace(e,this.pos,this.pos+1,new f.Slice(f.Fragment.from(i),0,t.isLeaf?0:1))}},{key:"getMap",value:function(){return g.empty}},{key:"invert",value:function(e){return new r(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}},{key:"map",value:function(e){var t=e.mapResult(this.pos,1);return t.deletedAfter?null:new r(t.pos,this.attr,this.value)}},{key:"toJSON",value:function(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw RangeError("Invalid input for AttrStep.fromJSON");return new r(t.pos,t.attr,t.value)}}]),r}(b);b.jsonID("attr",U);var q=function(e){o(r,e);var t=s(r);function r(e,n){var i;return d(this,r),(i=t.call(this)).attr=e,i.value=n,i}return p(r,[{key:"apply",value:function(e){var t=Object.create(null);for(var r in e.attrs)t[r]=e.attrs[r];t[this.attr]=this.value;var n=e.type.create(t,e.content,e.marks);return w.ok(n)}},{key:"getMap",value:function(){return g.empty}},{key:"invert",value:function(e){return new r(this.attr,e.attrs[this.attr])}},{key:"map",value:function(e){return this}},{key:"toJSON",value:function(){return{stepType:"docAttr",attr:this.attr,value:this.value}}}],[{key:"fromJSON",value:function(e,t){if("string"!=typeof t.attr)throw RangeError("Invalid input for DocAttrStep.fromJSON");return new r(t.attr,t.value)}}]),r}(b);b.jsonID("docAttr",q),t.TransformError=function(e){o(r,e);var t=s(r);function r(){return d(this,r),t.apply(this,arguments)}return p(r)}(n(Error)),t.TransformError=function e(t){var r=Error.call(this,t);return r.__proto__=e.prototype,r},t.TransformError.prototype=Object.create(Error.prototype),t.TransformError.prototype.constructor=t.TransformError,t.TransformError.prototype.name="TransformError";var $=function(){function e(t){d(this,e),this.doc=t,this.steps=[],this.docs=[],this.mapping=new v}return p(e,[{key:"before",get:function(){return this.docs.length?this.docs[0]:this.doc}},{key:"step",value:function(e){var r=this.maybeStep(e);if(r.failed)throw new t.TransformError(r.failed);return this}},{key:"maybeStep",value:function(e){var t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}},{key:"docChanged",get:function(){return this.steps.length>0}},{key:"addStep",value:function(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}},{key:"replace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.Slice.empty,n=R(this.doc,e,t,r);return n&&this.step(n),this}},{key:"replaceWith",value:function(e,t,r){return this.replace(e,t,new f.Slice(f.Fragment.from(r),0,0))}},{key:"delete",value:function(e,t){return this.replace(e,t,f.Slice.empty)}},{key:"insert",value:function(e,t){return this.replaceWith(e,e,t)}},{key:"replaceRange",value:function(e,t,r){return function(e,t,r,n){if(!n.size)return e.deleteRange(t,r);var i=e.doc.resolve(t),o=e.doc.resolve(r);if(M(i,o,n))return e.step(new D(t,r,n));var a=z(i,e.doc.resolve(r));0==a[a.length-1]&&a.pop();var s=-(i.depth+1);a.unshift(s);for(var u=i.depth,l=i.pos-1;u>0;u--,l--){var c=i.node(u).type.spec;if(c.defining||c.definingAsContext||c.isolating)break;a.indexOf(u)>-1?s=u:i.before(u)==l&&a.splice(1,0,-u)}for(var d=a.indexOf(s),h=[],p=n.openStart,m=n.content,g=0;;g++){var v=m.firstChild;if(h.push(v),g==n.openStart)break;m=v.content}for(var y=p-1;y>=0;y--){var b,w=h[y],k=(b=w.type).spec.defining||b.spec.definingForContent;if(k&&!w.sameMarkup(i.node(Math.abs(s)-1)))p=y;else if(k||!w.type.isTextblock)break}for(var x=n.openStart;x>=0;x--){var _=(x+p+1)%(n.openStart+1),S=h[_];if(S)for(var E=0;E<a.length;E++){var C=a[(E+d)%a.length],j=!0;C<0&&(j=!1,C=-C);var O=i.node(C-1),T=i.index(C-1);if(O.canReplaceWith(T,T,S.type,S.marks))return e.replace(i.before(C),j?o.after(C):r,new f.Slice(function e(t,r,n,i,o){if(r<n){var a=t.firstChild;t=t.replaceChild(0,a.copy(e(a.content,r+1,n,i,a)))}if(r>i){var s=o.contentMatchAt(0),u=s.fillBefore(t).append(t);t=u.append(s.matchFragment(u).fillBefore(f.Fragment.empty,!0))}return t}(n.content,0,n.openStart,_),_,n.openEnd))}}for(var A=e.steps.length,P=a.length-1;P>=0&&(e.replace(t,r,n),!(e.steps.length>A));P--){var R=a[P];R<0||(t=i.before(R),r=o.after(R))}}(this,e,t,r),this}},{key:"replaceRangeWith",value:function(e,t,r){return function(e,t,r,n){if(!n.isInline&&t==r&&e.doc.resolve(t).parent.content.size){var i=P(e.doc,t,n.type);null!=i&&(t=r=i)}e.replaceRange(t,r,new f.Slice(f.Fragment.from(n),0,0))}(this,e,t,r),this}},{key:"deleteRange",value:function(e,t){return function(e,t,r){for(var n=e.doc.resolve(t),i=e.doc.resolve(r),o=z(n,i),a=0;a<o.length;a++){var s=o[a],u=a==o.length-1;if(u&&0==s||n.node(s).type.contentMatch.validEnd)return e.delete(n.start(s),i.end(s));if(s>0&&(u||n.node(s-1).canReplace(n.index(s-1),i.indexAfter(s-1))))return e.delete(n.before(s),i.after(s))}for(var l=1;l<=n.depth&&l<=i.depth;l++)if(t-n.start(l)==n.depth-l&&r>n.end(l)&&i.end(l)-r!=i.depth-l)return e.delete(n.before(l),r);e.delete(t,r)}(this,e,t),this}},{key:"lift",value:function(e,t){return function(e,t,r){for(var n=t.$from,i=t.$to,o=t.depth,a=n.before(o+1),s=i.after(o+1),u=a,l=s,c=f.Fragment.empty,d=0,h=o,p=!1;h>r;h--)p||n.index(h)>0?(p=!0,c=f.Fragment.from(n.node(h).copy(c)),d++):u--;for(var m=f.Fragment.empty,g=0,v=o,y=!1;v>r;v--)y||i.after(v+1)<i.end(v)?(y=!0,m=f.Fragment.from(i.node(v).copy(m)),g++):l++;e.step(new C(u,l,a,s,new f.Slice(c.append(m),d,g),c.size-d,!0))}(this,e,t),this}},{key:"join",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(e,t,r){var n=new D(t-r,t+r,f.Slice.empty,!0);e.step(n)}(this,e,t),this}},{key:"wrap",value:function(e,t){return function(e,t,r){for(var n=f.Fragment.empty,i=r.length-1;i>=0;i--){if(n.size){var o=r[i].type.contentMatch.matchFragment(n);if(!o||!o.validEnd)throw RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}n=f.Fragment.from(r[i].type.create(r[i].attrs,n))}var a=t.start,s=t.end;e.step(new C(a,s,a,s,new f.Slice(n,0,0),r.length,!0))}(this,e,t),this}},{key:"setBlockType",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return function(e,t,r,n,i){if(!n.isTextblock)throw RangeError("Type given to setBlockType should be a textblock");var o=e.steps.length;e.doc.nodesBetween(t,r,function(t,r){var a,s,u,l,c="function"==typeof i?i(t):i;if(t.isTextblock&&!t.hasMarkup(n,c)&&(a=e.doc,s=e.mapping.slice(o).map(r),l=(u=a.resolve(s)).index(),u.parent.canReplaceWith(l,l+1,n))){var d=null;if(n.schema.linebreakReplacement){var h="pre"==n.whitespace,p=!!n.contentMatch.matchType(n.schema.linebreakReplacement);h&&!p?d=!1:!h&&p&&(d=!0)}!1===d&&function(e,t,r,n){t.forEach(function(i,o){if(i.type==i.type.schema.linebreakReplacement){var a=e.mapping.slice(n).map(r+1+o);e.replaceWith(a,a+1,t.type.schema.text("\n"))}})}(e,t,r,o),O(e,e.mapping.slice(o).map(r,1),n,void 0,null===d);var m=e.mapping.slice(o),g=m.map(r,1),v=m.map(r+t.nodeSize,1);return e.step(new C(g,v,g+1,v-1,new f.Slice(f.Fragment.from(n.create(c,null,t.marks)),0,0),1,!0)),!0===d&&function(e,t,r,n){t.forEach(function(i,o){if(i.isText)for(var a,s=/\r?\n|\r/g;a=s.exec(i.text);){var u=e.mapping.slice(n).map(r+1+o+a.index);e.replaceWith(u,u+1,t.type.schema.linebreakReplacement.create())}})}(e,t,r,o),!1}})}(this,e,t,r,n),this}},{key:"setNodeMarkup",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;return function(e,t,r,n,i){var o=e.doc.nodeAt(t);if(!o)throw RangeError("No node at given position");r||(r=o.type);var a=r.create(n,null,i||o.marks);if(o.isLeaf)return e.replaceWith(t,t+o.nodeSize,a);if(!r.validContent(o.content))throw RangeError("Invalid content for node type "+r.name);e.step(new C(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new f.Slice(f.Fragment.from(a),0,0),1,!0))}(this,e,t,r,n),this}},{key:"setNodeAttribute",value:function(e,t,r){return this.step(new U(e,t,r)),this}},{key:"setDocAttribute",value:function(e,t){return this.step(new q(e,t)),this}},{key:"addNodeMark",value:function(e,t){return this.step(new S(e,t)),this}},{key:"removeNodeMark",value:function(e,t){if(!(t instanceof f.Mark)){var r=this.doc.nodeAt(e);if(!r)throw RangeError("No node at position "+e);if(!(t=t.isInSet(r.marks)))return this}return this.step(new E(e,t)),this}},{key:"split",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0;return function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3?arguments[3]:void 0,i=e.doc.resolve(t),o=f.Fragment.empty,a=f.Fragment.empty,s=i.depth,u=i.depth-r,l=r-1;s>u;s--,l--){o=f.Fragment.from(i.node(s).copy(o));var c=n&&n[l];a=f.Fragment.from(c?c.type.create(c.attrs,a):i.node(s).copy(a))}e.step(new D(t,t,new f.Slice(o.append(a),r,r),!0))}(this,e,t,r),this}},{key:"addMark",value:function(e,t,r){var n,i,o,a,s;return n=this,a=[],s=[],n.doc.nodesBetween(e,t,function(n,u,l){if(n.isInline){var c=n.marks;if(!r.isInSet(c)&&l.type.allowsMarkType(r.type)){for(var d=Math.max(u,e),h=Math.min(u+n.nodeSize,t),p=r.addToSet(c),f=0;f<c.length;f++)c[f].isInSet(p)||(i&&i.to==d&&i.mark.eq(c[f])?i.to=h:a.push(i=new _(d,h,c[f])));o&&o.to==d?o.to=h:s.push(o=new x(d,h,r))}}}),a.forEach(function(e){return n.step(e)}),s.forEach(function(e){return n.step(e)}),this}},{key:"removeMark",value:function(e,t,r){var n,i,o;return n=this,i=[],o=0,n.doc.nodesBetween(e,t,function(n,a){if(n.isInline){o++;var s=null;if(r instanceof f.MarkType)for(var u,l=n.marks;u=r.isInSet(l);)(s||(s=[])).push(u),l=u.removeFromSet(l);else r?r.isInSet(n.marks)&&(s=[r]):s=n.marks;if(s&&s.length)for(var c=Math.min(a+n.nodeSize,t),d=0;d<s.length;d++){for(var h=s[d],p=void 0,m=0;m<i.length;m++){var g=i[m];g.step==o-1&&h.eq(i[m].style)&&(p=g)}p?(p.to=c,p.step=o):i.push({style:h,from:Math.max(a,e),to:c,step:o})}}}),i.forEach(function(e){return n.step(new _(e.from,e.to,e.style))}),this}},{key:"clearIncompatible",value:function(e,t,r){return O(this,e,t,r),this}}]),e}();t.AddMarkStep=x,t.AddNodeMarkStep=S,t.AttrStep=U,t.DocAttrStep=q,t.MapResult=m,t.Mapping=v,t.RemoveMarkStep=_,t.RemoveNodeMarkStep=E,t.ReplaceAroundStep=C,t.ReplaceStep=D,t.Step=b,t.StepMap=g,t.StepResult=w,t.Transform=$,t.canJoin=function(e,t){var r=e.resolve(t),n=r.index();return A(r.nodeBefore,r.nodeAfter)&&r.parent.canReplace(n,n+1)},t.canSplit=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3?arguments[3]:void 0,i=e.resolve(t),o=i.depth-r,a=n&&n[n.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(var s=i.depth-1,u=r-2;s>o;s--,u--){var l=i.node(s),c=i.index(s);if(l.type.spec.isolating)return!1;var d=l.content.cutByIndex(c,l.childCount),h=n&&n[u+1];h&&(d=d.replaceChild(0,h.type.create(h.attrs)));var p=n&&n[u]||l;if(!l.canReplace(c+1,l.childCount)||!p.type.validContent(d))return!1}var f=i.indexAfter(o),m=n&&n[0];return i.node(o).canReplaceWith(f,f,m?m.type:i.node(o+1).type)},t.dropPoint=function(e,t,r){var n=e.resolve(t);if(!r.content.size)return t;for(var i=r.content,o=0;o<r.openStart;o++)i=i.firstChild.content;for(var a=1;a<=(0==r.openStart&&r.size?2:1);a++)for(var s=n.depth;s>=0;s--){var u=s==n.depth?0:n.pos<=(n.start(s+1)+n.end(s+1))/2?-1:1,l=n.index(s)+(u>0?1:0),c=n.node(s),d=!1;if(1==a)d=c.canReplace(l,l,i);else{var h=c.contentMatchAt(l).findWrapping(i.firstChild.type);d=h&&c.canReplaceWith(l,l,h[0])}if(d)return 0==u?n.pos:u<0?n.before(s+1):n.after(s+1)}return null},t.findWrapping=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,i=function(e,t){var r=e.parent,n=e.startIndex,i=e.endIndex,o=r.contentMatchAt(n).findWrapping(t);if(!o)return null;var a=o.length?o[0]:t;return r.canReplaceWith(n,i,a)?o:null}(e,t),o=i&&function(e,t){var r=e.parent,n=e.startIndex,i=e.endIndex,o=r.child(n),a=t.contentMatch.findWrapping(o.type);if(!a)return null;for(var s=(a.length?a[a.length-1]:t).contentMatch,u=n;s&&u<i;u++)s=s.matchType(r.child(u).type);return s&&s.validEnd?a:null}(n,t);return o?i.map(T).concat({type:t,attrs:r}).concat(o.map(T)):null},t.insertPoint=P,t.joinPoint=function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,n=e.resolve(t),i=n.depth;;i--){var o=void 0,a=void 0,s=n.index(i);if(i==n.depth?(o=n.nodeBefore,a=n.nodeAfter):r>0?(o=n.node(i+1),s++,a=n.node(i).maybeChild(s)):(o=n.node(i).maybeChild(s-1),a=n.node(i+1)),o&&!o.isTextblock&&A(o,a)&&n.node(i).canReplace(s,s+1))return t;if(0==i)break;t=r<0?n.before(i):n.after(i)}},t.liftTarget=function(e){for(var t=e.parent.content.cutByIndex(e.startIndex,e.endIndex),r=e.depth;;--r){var n=e.$from.node(r),i=e.$from.index(r),o=e.$to.indexAfter(r);if(r<e.depth&&n.canReplace(i,o,t))return r;if(0==r||n.type.spec.isolating||!((0==i||n.canReplace(i,n.childCount))&&(o==n.childCount||n.canReplace(0,o))))break}return null},t.replaceStep=R},78033:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",229:"q"},n={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},i="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),o="undefined"!=typeof navigator&&/Apple Computer/.test(navigator.vendor),a="undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),s="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),u="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),l=i&&(s||57>+i[1])||a&&s,c=0;c<10;c++)r[48+c]=r[96+c]=String(c);for(var c=1;c<=24;c++)r[c+111]="F"+c;for(var c=65;c<=90;c++)r[c]=String.fromCharCode(c+32),n[c]=String.fromCharCode(c);for(var d in r)n.hasOwnProperty(d)||(n[d]=r[d]);t.base=r,t.keyName=function(e){var t=!(l&&(e.ctrlKey||e.altKey||e.metaKey)||(o||u)&&e.shiftKey&&e.key&&1==e.key.length)&&e.key||(e.shiftKey?n:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t},t.shift=n},15397:function(e,t,r){"use strict";r.d(t,{$O:function(){return f},E_:function(){return m},RC:function(){return function e(t,r,n){return!!(0,o.s)(r)&&(y(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,i.My)(t)&&(0,a.LZ)(t,n)){var o=(0,i.u2)(t);return u.call(r,o)&&(!t.selectionSet||e(t.selectionSet,r[o],n))}return!0}))}},RI:function(){return u},ig:function(){return v},j:function(){return g},jS:function(){return d},jp:function(){return p},kJ:function(){return y},lg:function(){return h},uG:function(){return l}});var n=r(9428),i=r(72),o=r(45931),a=r(9572),s=r(34529),u=Object.prototype.hasOwnProperty;function l(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=void 0!==n?{id:n}:void 0!==i?{_id:i}:void 0),void 0===n&&(n=i),void 0!==n))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var c={dataIdFromObject:l,addTypename:!0,resultCaching:!0,canonizeResults:!1};function d(e){return(0,n.o)(c,e)}function h(e){var t=e.canonizeResults;return void 0===t?c.canonizeResults:t}function p(e,t){return(0,i.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var f=/^[_a-z][_0-9a-z]*/i;function m(e){var t=e.match(f);return t?t[0]:e}function g(e){return(0,o.s)(e)&&!(0,i.Yk)(e)&&!y(e)}function v(){return new s.w0}var y=function(e){return Array.isArray(e)}},78405:function(e,t,r){"use strict";r.d(t,{h:function(){return el}});var n,i,o=r(5163),a=r(19563),s=r(88438),u=r(38229),l=r(18001),c=function(){function e(){this.getFragmentDoc=(0,s.re)(l.Yk)}return e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,o.pi)((0,o.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,o.pi)((0,o.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=(0,o._T)(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,i=e.fragmentName,a=(0,o._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(n,i),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var n=r.readQuery(e),i=t(n);return null==i?n:(r.writeQuery((0,o.pi)((0,o.pi)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var n=r.readFragment(e),i=t(n);return null==i?n:(r.writeFragment((0,o.pi)((0,o.pi)({},e),{data:i})),i)}})},e}(),d=function(e,t,r,n){this.message=e,this.path=t,this.query=r,this.variables=n},h=r(72),p=r(77488),f=r(43869),m=r(9428),g=r(86607),v=r(34529),y=r(9572),b=r(23180),w=r(45931),k=r(3985),x=r(15397),_=Object.create(null),S=function(){return _},E=Object.create(null),D=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,b.J)((0,h.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,h.Yk)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,h.kQ)(e);if((0,h.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,h.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,o.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),x.RI.call(this.data,e)){var r=this.data[e];if(r&&x.RI.call(r,t))return r[t]}return"__typename"===t&&x.RI.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof O?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),x.RI.call(this.data,e))?this.data[e]:this instanceof O?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,h.Yk)(e)&&(e=e.__ref),(0,h.Yk)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){__DEV__?(0,a.kG)("string"==typeof r,"store.merge expects a string ID"):(0,a.kG)("string"==typeof r,1);var s=new v.w0(A).merge(i,o);if(this.data[r]=s,s!==i&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);i||(u.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==s[e]){u[e]=1;var t=(0,x.E_)(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof O||delete s[e]}}),u.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),a=!1,s=!0,u={DELETE:_,INVALIDATE:E,isReference:h.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,h.kQ)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(l){var c=(0,x.E_)(l),d=n[l];if(void 0!==d){var h="function"==typeof t?t:t[l]||t[c];if(h){var p=h===S?_:h((0,b.J)(d),(0,o.pi)((0,o.pi)({},u),{fieldName:c,storeFieldName:l,storage:r.getStorage(e,l)}));p===E?r.group.dirty(e,l):(p===_&&(p=void 0),p!==d&&(i[l]=p,a=!0,d=p))}void 0!==d&&(s=!1)}}),a)return this.merge(e,i),s&&(this instanceof O?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=S,n):S)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(x.RI.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof O&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){x.RI.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&x.RI.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,o._T)(e,["__META"]);Object.keys(n).forEach(function(e){t.merge(e,n[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof O?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){x.RI.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof O;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!x.RI.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,h.Yk)(e)&&(t[e.__ref]=!0),(0,w.s)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,w.s)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),C=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,s.dP)():null,this.keyMaker=new k.B(f.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=(0,x.E_)(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function j(e,t){P(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new C(void 0===n||n))||this;return o.stump=new T(o),o.storageTrie=new k.B(f.mr),i&&o.replace(i),o}return(0,o.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(n=D||(D={})),n.Root=i;var O=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,o.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,u.D)(n[r],i[r])||t.group.dirty(e,r)}):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,o.pi)((0,o.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return x.RI.call(this.data,t)?(0,o.pi)((0,o.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(D),T=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new C(t.group.caching,t.group))||this}return(0,o.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(O);function A(e,t,r){var n=e[r],i=t[r];return(0,u.D)(n,i)?n:i}function P(e){return!!(e instanceof D&&e.group.caching)}var R=r(51420);function M(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var F=function(){function e(e){var t=this;this.knownResults=new(f.mr?WeakMap:Map),this.config=(0,m.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,x.lg)(e)}),this.canon=e.canon||new R.h,this.executeSelectionSet=(0,s.re)(function(e){var r,n=e.context.canonizeResults,i=M(e);i[3]=!n;var a=(r=t.executeSelectionSet).peek.apply(r,i);return a?n?(0,o.pi)((0,o.pi)({},a),{result:t.canon.admit(a.result)}):a:(j(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize,keyArgs:M,makeCacheKey:function(e,t,r,n){if(P(r.store))return r.store.makeCacheKey(e,(0,h.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,s.re)(function(e){return j(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(P(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new R.h},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,a=e.variables,s=e.returnPartialData,u=e.canonizeResults,c=void 0===u?this.config.canonizeResults:u,p=this.config.cache.policies;a=(0,o.pi)((0,o.pi)({},(0,g.O4)((0,g.iW)(n))),a);var f=(0,h.kQ)(void 0===i?"ROOT_QUERY":i),m=this.executeSelectionSet({selectionSet:(0,g.p$)(n).selectionSet,objectOrReference:f,enclosingRef:f,context:{store:r,query:n,policies:p,variables:a,varString:(0,R.B)(a),canonizeResults:c,fragmentMap:(0,l.F)((0,g.kU)(n))}});if(m.missing&&(t=[new d(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(m.missing),m.missing,n,a)],!(void 0===s||s)))throw t[0];return{result:m.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(P(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,a=e.context;if((0,h.Yk)(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,u=a.policies,c=a.store.getFieldValue(i,"__typename"),d=[],f=new v.w0;function m(e,r){var n;return e.missing&&(t=f.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof c&&!u.rootIdsByTypename[c]&&d.push({__typename:c});var g=new Set(n.selections);g.forEach(function(e){var n,v;if((0,y.LZ)(e,s)){if((0,h.My)(e)){var b=u.readField({fieldName:e.name.value,field:e,variables:a.variables,from:i},a),w=(0,h.u2)(e);void 0===b?p.Gw.added(e)||(t=f.merge(t,((n={})[w]="Can't find field '".concat(e.name.value,"' on ").concat((0,h.Yk)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,x.kJ)(b)?b=m(r.executeSubSelectedArray({field:e,array:b,enclosingRef:o,context:a}),w):e.selectionSet?null!=b&&(b=m(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,h.Yk)(b)?b:o,context:a}),w)):a.canonizeResults&&(b=r.canon.pass(b)),void 0!==b&&d.push(((v={})[w]=b,v))}else{var k=(0,l.hi)(e,a.fragmentMap);k&&u.fragmentMatches(k,c)&&k.selectionSet.selections.forEach(g.add,g)}}});var w={result:(0,v.bw)(d),missing:t},k=a.canonizeResults?this.canon.admit(w):(0,b.J)(w);return k.result&&this.knownResults.set(k.result,n),k},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,s=e.context,u=new v.w0;function l(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(s.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,x.kJ)(e)?l(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:s}),t):n.selectionSet?l(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,h.Yk)(e)?e:o,context:s}),t):(__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,w.s)(r)&&(__DEV__?(0,a.kG)(!(0,h.Yk)(r),"Missing selection set for object of type ".concat((0,x.jp)(e,r)," returned for query field ").concat(t.name.value)):(0,a.kG)(!(0,h.Yk)(r),5),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),N=r(89732),I=r(43056),L=r(99635),B=r(17600),z=Object.create(null);function U(e){var t=JSON.stringify(e);return z[t]||(z[t]=Object.create(null))}function q(e){var t=U(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=H(e,function(e){var i=W(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&x.RI.call(t,e[0])&&(i=W(t,e,V)),__DEV__?(0,a.kG)(void 0!==i,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):(0,a.kG)(void 0!==i,2),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function $(e){var t=U(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(H(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,I.O)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),u=s&&(0,h.NC)(s,i);return u&&W(u,e.slice(1))}return}if("$"===o){var l=r.slice(1);if(i&&x.RI.call(i,l)){var c=e.slice(0);return c[0]=l,W(i,c)}return}if(t)return W(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function H(e,t){var r=new v.w0;return(function e(t){var r=U(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,x.kJ)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,x.kJ)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function V(e,t){return e[t]}function W(e,t,r){return r=r||V,function e(t){return(0,w.s)(t)?(0,x.kJ)(t)?t.map(e):H(Object.keys(t).sort(),function(e){return W(t,e)}):t}(t.reduce(function e(t,n){return(0,x.kJ)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function G(e){return void 0!==e.args?e.args:e.field?(0,h.NC)(e.field,e.variables):null}h.PT.setStringify(R.B);var Y=function(){},Z=function(e,t){return t.fieldName},K=function(e,t,r){return(0,r.mergeObjects)(e,t)},J=function(e,t){return t},X=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,o.pi)({dataIdFromObject:x.uG},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,n,i=this,a=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s=t&&t.storeObject||e,u=(0,o.pi)((0,o.pi)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=ee(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),l=a&&this.getTypePolicy(a),c=l&&l.keyFn||this.config.dataIdFromObject;c;){var d=c(e,u);if((0,x.kJ)(d))c=q(d);else{n=d;break}}return n=n?String(n):void 0,u.keyObject?[n,u.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,a=n.mutationType,s=n.subscriptionType,u=(0,o._T)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),x.RI.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?K:!1===t?J:e.merge}a(n,t.merge),n.keyFn=!1===i?Y:(0,x.kJ)(i)?q(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,l=i.merge;n.keyFn=!1===s?Z:(0,x.kJ)(s)?$(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,l)}n.read&&n.merge&&(n.keyFn=n.keyFn||Z)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&(__DEV__?(0,a.kG)(!n||n===e,"Cannot change root ".concat(e," __typename more than once")):(0,a.kG)(!n||n===e,3),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(x.$O);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!x.RI.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),i=n.fields;Object.assign(r,(0,o._T)(n,["fields"])),Object.assign(r.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var s=this.getSupertypeSet(t,!0),u=[s],l=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>u.indexOf(t)&&u.push(t)},c=!!(r&&this.fuzzySubtypes.size),d=!1,h=0;h<u.length;++h){var p=u[h];if(p.has(o))return s.has(o)||(d&&__DEV__&&a.kG.warn("Inferring subtype ".concat(t," of supertype ").concat(o)),s.add(o)),!0;p.forEach(l),c&&h===u.length-1&&(0,x.RC)(e.selectionSet,r,n)&&(c=!1,d=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&l(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=G(e);o;){var u=o(s,a);if((0,x.kJ)(u))o=$(u);else{t=u||n;break}}return(void 0===t&&(t=e.field?(0,h.vf)(e.field,e.variables):(0,h.PT)(n,G(e))),!1===t)?n:n===(0,x.E_)(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=(0,x.E_)(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var l=Q(this,r,e,t,t.store.getStorage((0,h.Yk)(r)?r.__ref:r,i));return B.ab.withValue(this.cache,u,[a,l])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===K?et(n.store)(e,t):s===J?t:(n.overwrite&&(e=void 0),s(e,t,Q(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function Q(e,t,r,n,i){var o=e.getStoreFieldName(r),a=(0,x.E_)(o),s=r.variables||n.variables,u=n.store,l=u.toReference,c=u.canRead;return{args:G(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:h.Yk,toReference:l,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(ee(arguments,t,s),n)},mergeObjects:et(n.store)}}function ee(e,t,r){var n,i,s,u=e[0],l=e[1],c=e.length;return"string"==typeof u?s={fieldName:u,from:c>1?l:t}:(s=(0,o.pi)({},u),x.RI.call(s,"from")||(s.from=t)),__DEV__&&void 0===s.from&&__DEV__&&a.kG.warn("Undefined 'from' passed to readField with arguments ".concat((n=Array.from(e),i=(0,L.X)("stringifyForDisplay"),JSON.stringify(n,function(e,t){return void 0===t?i:t}).split(JSON.stringify(i)).join("<undefined>")))),void 0===s.variables&&(s.variables=r),s}function et(e){return function(t,r){if((0,x.kJ)(t)||(0,x.kJ)(r))throw __DEV__?new a.ej("Cannot automatically merge arrays"):new a.ej(4);if((0,w.s)(t)&&(0,w.s)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if((0,h.Yk)(t)&&(0,x.j)(r))return e.merge(t.__ref,r),t;if((0,x.j)(t)&&(0,h.Yk)(r))return e.merge(t,r.__ref),r;if((0,x.j)(t)&&(0,x.j)(r))return(0,o.pi)((0,o.pi)({},t),r)}return r}}function er(e,t,r){var n="".concat(t).concat(r),i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:(0,o.pi)((0,o.pi)({},e),{clientOnly:t,deferred:r})),i}var en=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,i=t.result,s=t.dataId,c=t.variables,d=t.overwrite,p=(0,g.$H)(n),f=(0,x.ig)();c=(0,o.pi)((0,o.pi)({},(0,g.O4)(p)),c);var m={store:e,written:Object.create(null),merge:function(e,t){return f.merge(e,t)},variables:c,varString:(0,R.B)(c),fragmentMap:(0,l.F)((0,g.kU)(n)),overwrite:!!d,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},v=this.processSelectionSet({result:i||Object.create(null),dataId:s,selectionSet:p.selectionSet,mergeTree:{map:new Map},context:m});if(!(0,h.Yk)(v))throw __DEV__?new a.ej("Could not identify object ".concat(JSON.stringify(i))):new a.ej(6);return m.incomingById.forEach(function(t,n){var i=t.storeObject,o=t.mergeTree,s=t.fieldNodeSet,l=(0,h.kQ)(n);if(o&&o.map.size){var c=r.applyMerges(o,l,i,m);if((0,h.Yk)(c))return;i=c}if(__DEV__&&!m.overwrite){var d=Object.create(null);s.forEach(function(e){e.selectionSet&&(d[e.name.value]=!0)});var p=function(e){var t=o&&o.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==d[(0,x.E_)(e)]||p(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},o=i(e);if(o){var s=i(t);if(!(!s||(0,h.Yk)(o)||(0,u.D)(o,s)||Object.keys(o).every(function(e){return void 0!==n.getFieldValue(s,e)}))){var l=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),c=(0,x.E_)(r),d="".concat(l,".").concat(c);if(!eu.has(d)){eu.add(d);var p=[];(0,x.kJ)(o)||(0,x.kJ)(s)||[o,s].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||p.includes(t)||p.push(t)}),__DEV__&&a.kG.warn("Cache data may be lost when replacing the ".concat(c," field of a ").concat(l," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(d," field, so InMemoryCache can safely merge these objects:\n\n  existing: ").concat(JSON.stringify(o).slice(0,1e3),"\n  incoming: ").concat(JSON.stringify(s).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n  * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n  * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}}}}(l,i,e,m.store)})}e.merge(n,i)}),e.retain(v.__ref),v},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,s=e.context,u=e.mergeTree,l=this.cache.policies,c=Object.create(null),d=r&&l.rootTypenamesById[r]||(0,h.qw)(n,i,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof d&&(c.__typename=d);var f=function(){var e=ee(arguments,c,s.variables);if((0,h.Yk)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=l.readField((0,o.pi)((0,o.pi)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return l.readField(e,s)},m=new Set;this.flattenFields(i,n,s,d).forEach(function(e,r){var i,o=n[(0,h.u2)(r)];if(m.add(r),void 0!==o){var s=l.getStoreFieldName({typename:d,fieldName:r.name.value,field:r,variables:e.variables}),g=eo(u,s),v=t.processFieldValue(o,r,r.selectionSet?er(e,!1,!1):e,g),y=void 0;r.selectionSet&&((0,h.Yk)(v)||(0,x.j)(v))&&(y=f("__typename",v));var b=l.getMergeFunction(d,r.name.value,y);b?g.info={field:r,typename:d,merge:b}:es(u,s),c=e.merge(c,((i={})[s]=v,i))}else __DEV__&&!e.clientOnly&&!e.deferred&&!p.Gw.added(r)&&!l.getReadFunction(d,r.name.value)&&__DEV__&&a.kG.error("Missing field '".concat((0,h.u2)(r),"' while writing result ").concat(JSON.stringify(n,null,2)).substring(0,1e3))});try{var g=l.identify(n,{typename:d,selectionSet:i,fragmentMap:s.fragmentMap,storeObject:c,readField:f}),v=g[0],y=g[1];r=r||v,y&&(c=s.merge(c,y))}catch(e){if(!r)throw e}if("string"==typeof r){var b=(0,h.kQ)(r),w=s.written[r]||(s.written[r]=[]);if(w.indexOf(i)>=0||(w.push(i),this.reader&&this.reader.isFresh(n,b,i,s)))return b;var k=s.incomingById.get(r);return k?(k.storeObject=s.merge(k.storeObject,c),k.mergeTree=function e(t,r){if(t===r||!r||ea(r))return t;if(!t||ea(t))return r;var n=t.info&&r.info?(0,o.pi)((0,o.pi)({},t.info),r.info):t.info||r.info,i=t.map.size&&r.map.size,a={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(k.mergeTree,u),m.forEach(function(e){return k.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:c,mergeTree:ea(u)?void 0:u,fieldNodeSet:m}),b}return c},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,x.kJ)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,eo(n,o));return es(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):__DEV__?(0,N.X)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,h.qw)(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,a=new k.B(!1);return function e(s,u){var c=a.lookup(s,u.clientOnly,u.deferred);c.visited||(c.visited=!0,s.selections.forEach(function(a){if((0,y.LZ)(a,r.variables)){var s=u.clientOnly,c=u.deferred;if(!(s&&c)&&(0,I.O)(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=(0,h.NC)(e,r.variables);n&&!1===n.if||(c=!0)}}),(0,h.My)(a)){var d=i.get(a);d&&(s=s&&d.clientOnly,c=c&&d.deferred),i.set(a,er(r,s,c))}else{var p=(0,l.hi)(a,r.fragmentMap);p&&o.fragmentMatches(p,n,t,r.variables)&&e(p.selectionSet,er(r,s,c))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var s=this;if(e.map.size&&!(0,h.Yk)(r)){var u,l,c=!(0,x.kJ)(r)&&((0,h.Yk)(t)||(0,x.j)(t))?t:void 0,d=r;c&&!i&&(i=[(0,h.Yk)(c)?c.__ref:c]);var p=function(e,t){return(0,x.kJ)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=p(c,t),o=p(d,t);if(void 0!==o){i&&i.push(t);var u=s.applyMerges(e,r,o,n,i);u!==o&&(l=l||new Map).set(t,u),i&&(0,a.kG)(i.pop()===t)}}),l&&(r=(0,x.kJ)(d)?d.slice(0):(0,o.pi)({},d),l.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(u=n.store).getStorage.apply(u,i)):r},e}(),ei=[];function eo(e,t){var r=e.map;return r.has(t)||r.set(t,ei.pop()||{map:new Map}),r.get(t)}function ea(e){return!e||!(e.info||e.map.size)}function es(e,t){var r=e.map,n=r.get(t);n&&ea(n)&&(ei.push(n),r.delete(t))}var eu=new Set,el=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.typenameDocumentCache=new Map,r.makeVar=B.QS,r.txCount=0,r.config=(0,x.jS)(t),r.addTypename=!!r.config.addTypename,r.policies=new X({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,o.ZT)(t,e),t.prototype.init=function(){var e=this.data=new D.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader;this.storeWriter=new en(this,this.storeReader=new F({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,x.lg)(this.config),canon:e?void 0:r&&r.canon})),this.maybeBroadcastWatch=(0,s.re)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(P(r)){var n=e.optimistic,i=e.rootId,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,R.B)({optimistic:n,rootId:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof d)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(x.RI.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,B._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,B.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){R.B.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,h.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){__DEV__&&a.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(x.RI.call(e,"id"))return!1;e=(0,o.pi)((0,o.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),R.B.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,B.li)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,n=e.update,i=e.optimistic,a=void 0===i||i,s=e.removeOptimistic,u=e.onWatchUpdated,l=function(e){var i=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=o}},c=new Set;return u&&!this.txCount&&this.broadcastWatches((0,o.pi)((0,o.pi)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,l):!1===a?l(this.data):l(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&c.size?(this.broadcastWatches((0,o.pi)((0,o.pi)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&c.delete(e),r}})),c.size&&c.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=(0,p.Gw)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,u.D)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(c)},51420:function(e,t,r){"use strict";r.d(t,{B:function(){return d},h:function(){return c}});var n,i,o=r(5163);r(19563);var a=r(3985),s=r(45931),u=r(43869),l=r(15397),c=function(){function e(){this.known=new(u.sy?WeakSet:Set),this.pool=new a.B(u.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,s.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,s.s)(e)){var t=(0,s.s)(e)?(0,l.kJ)(e)?e.slice(0):(0,o.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,s.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return!i.array&&(this.known.add(i.array=n),__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],u=this.sortedKeys(e);a.push(u.json);var l=a.length;u.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var c=i.object=Object.create(o);this.known.add(c),u.sorted.forEach(function(e,t){c[e]=a[l+t]}),__DEV__&&Object.freeze(c)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}(),d=Object.assign(function(e){if((0,s.s)(e)){void 0===n&&h();var t=n.admit(e),r=i.get(t);return void 0===r&&i.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)},{reset:h});function h(){n=new c,i=new(u.mr?WeakMap:Map)}},17600:function(e,t,r){"use strict";r.d(t,{QS:function(){return l},_v:function(){return u},ab:function(){return i},li:function(){return s}});var n=r(88438),i=new(r(62139)).g7,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dP)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function u(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function l(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){a(e).dep.dirty(n),e.broadcastWatches&&e.broadcastWatches()});var u=Array.from(r);r.clear(),u.forEach(function(t){return t(e)})}}else{var l=i.getValue();l&&(o(l),a(l).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},42750:function(e,t,r){"use strict";r.d(t,{f:function(){return K}});var n=r(5163),i=r(19563),o=r(33957),a=o.i.execute,s=r(81387),u=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,(0,s.L)(t).request)||this;return r.options=t,r}return(0,n.ZT)(t,e),t}(o.i),l=r(38229),c=r(51420),d=r(43869),h=r(12129);function p(e,t,r){return new h.y(function(n){var i=n.next,o=n.error,a=n.complete,s=0,u=!1,l={then:function(e){return new Promise(function(t){return t(e())})}};function c(e,t){return e?function(t){++s;var r=function(){return e(t)};l=l.then(r,r).then(function(e){--s,i&&i.call(n,e),u&&d.complete()},function(e){throw--s,e}).catch(function(e){o&&o.call(n,e)})}:function(e){return t&&t.call(n,e)}}var d={next:c(t,i),error:c(r,o),complete:function(){u=!0,!s&&a&&a.call(n)}},h=e.subscribe(d);return function(){return h.unsubscribe()}})}function f(e){return e.errors&&e.errors.length>0||!1}var m=r(86607),g=r(77488),v=r(9572),y=r(72),b=r(45931),w=r(99635);function k(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}function x(e){function t(t){Object.defineProperty(e,t,{value:h.y})}return d.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function _(e){return e&&"function"==typeof e.then}var S=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.addCount=0,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],k(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),k(r.observers,"error",e))},complete:function(){var e=r.sub;if(null!==e){var t=r.sources.shift();t?_(t)?t.then(function(e){return r.sub=e.subscribe(r.handlers)}):r.sub=t.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),k(r.observers,"complete"))}}},r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new h.y(t)]),_(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,n.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){!this.observers.has(e)&&(this.deliverLastMessage(e),this.observers.add(e),++this.addCount)},t.prototype.removeObserver=function(e,t){this.observers.delete(e)&&--this.addCount<1&&!t&&this.handlers.complete()},t.prototype.cleanup=function(e){var t=this,r=!1,n=function(){r||(r=!0,t.observers.delete(i),e())},i={next:n,error:n,complete:n},o=this.addCount;this.addObserver(i),this.addCount=o},t}(h.y);x(S);var E=r(43056),D=r(45832),C=r(64368),j=r(89732),O=r(9428),T=Object.assign,A=Object.hasOwnProperty,P=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,o=t.options,a=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=M)}catch(e){}var r=!a.observers.size;a.observers.add(e);var n=a.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(n.result),r&&a.reobserve().catch(function(){}),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=r,a.isTornDown=!1;var s=r.defaultOptions.watchQuery,u=(void 0===s?{}:s).fetchPolicy,l=void 0===u?"cache-first":u,c=o.fetchPolicy,d=void 0===c?l:c,h=o.initialFetchPolicy,p=void 0===h?"standby"===d?l:d:h;a.options=(0,n.pi)((0,n.pi)({},o),{initialFetchPolicy:p,fetchPolicy:d}),a.queryId=i.queryId||r.generateQueryId();var f=(0,m.$H)(a.query);return a.queryName=f&&f.name&&f.name.value,a}return(0,n.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||C.I.ready,i=(0,n.pi)((0,n.pi)({},t),{loading:(0,C.O)(r),networkStatus:r}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if("network-only"===a||"no-cache"===a||"standby"===a||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,l.D)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,s.complete&&i.networkStatus===C.I.loading&&("cache-first"===a||"cache-only"===a)&&(i.networkStatus=C.I.ready,i.loading=!1)):i.partial=!0,!__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||F(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e){return!this.last||!(0,l.D)(this.last.result,e)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,l.D)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},o=this.options.fetchPolicy;if("cache-and-network"===o?r.fetchPolicy=o:"no-cache"===o?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",__DEV__&&e&&A.call(e,"variables")){var a=(0,m.iW)(this.query),s=a.variableDefinitions;(!s||!s.some(function(e){return"variables"===e.variable.name.value}))&&__DEV__&&i.kG.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=a.name)||void 0===t?void 0:t.value)||JSON.stringify(a),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!(0,l.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.pi)((0,n.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,C.I.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.pi)((0,n.pi)({},e.query?e:(0,n.pi)((0,n.pi)((0,n.pi)((0,n.pi)({},this.options),{query:this.query}),e),{variables:(0,n.pi)((0,n.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId(),o=this.queryInfo,a=o.networkStatus;o.networkStatus=C.I.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var s=new Set;return this.queryManager.fetchQuery(i,r,C.I.fetchMore).then(function(n){return t.queryManager.removeQuery(i),o.networkStatus===C.I.fetchMore&&(o.networkStatus=a),t.queryManager.cache.batch({update:function(i){var o=e.updateQuery;o?i.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:n.data,variables:r.variables})}):i.writeQuery({query:r.query,variables:r.variables,data:n.data})},onWatchUpdated:function(e){s.add(e.query)}}),n}).finally(function(){s.has(t.query)||R(t)})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery(function(e,t){return n(e,{subscriptionData:r,variables:t.variables})})},error:function(t){if(e.onError){e.onError(t);return}__DEV__&&i.kG.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return(0,l.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},C.I.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){__DEV__?(0,i.kG)(r,"Attempted to start a polling query without a polling interval."):(0,i.kG)(r,10),(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&((0,C.O)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"network-only"},C.I.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=(0,n.pi)((0,n.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?e:(0,j.X)(e),variables:t}),(0,E.O)(e.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(e,t){var r=this;this.isTornDown=!1;var i=t===C.I.refetch||t===C.I.fetchMore||t===C.I.poll,o=this.options.variables,a=this.options.fetchPolicy,s=(0,O.o)(this.options,e||{}),u=i?s:T(this.options,s);!i&&(this.updatePolling(),e&&e.variables&&!(0,l.D)(e.variables,o)&&"standby"!==u.fetchPolicy&&u.fetchPolicy===a&&(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=C.I.setVariables)));var c=u.variables&&(0,n.pi)({},u.variables),d=this.fetch(u,t),h={next:function(e){r.reportResult(e,c)},error:function(e){r.reportError(e,c)}};return i||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=h),d.addObserver(h),d.promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError();(r||this.isDifferentFromLastResult(e))&&((r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),k(this.observers,"next",e))},t.prototype.reportError=function(e,t){var r=(0,n.pi)((0,n.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:C.I.error,loading:!1});this.updateLastResult(r,t),k(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(h.y);function R(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return(this.nextFetchPolicy=n,"function"==typeof n)?n.apply(this,arguments):r}}):e.reobserve()}function M(e){__DEV__&&i.kG.error("Unhandled error",e.message,e.stack)}function F(e){__DEV__&&e&&__DEV__&&i.kG.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}x(P);var N=r(58867),I=r(34529),L=r(18001),B=r(17600),z=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,I.Ee)(t.resolvers,e)}):this.resolvers=(0,I.Ee)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return(0,n.pi)((0,n.pi)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,v.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,g.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.pi)((0,n.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.mG)(this,void 0,void 0,function(){return(0,n.Jh)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,n.pi)((0,n.pi)({},t),e.exportedVariables)})]:[2,(0,n.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,N.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return N.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,g.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,i,o,a){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.mG)(this,void 0,void 0,function(){var s,u,l,c,d,h,p,f,g;return(0,n.Jh)(this,function(v){return s=(0,m.p$)(e),u=(0,m.kU)(e),l=(0,L.F)(u),d=(c=s.operation)?c.charAt(0).toUpperCase()+c.slice(1):"Query",h=this,p=h.cache,f=h.client,g={fragmentMap:l,context:(0,n.pi)((0,n.pi)({},r),{cache:p,client:f}),variables:i,fragmentMatcher:o,defaultOperationType:d,exportedVariables:{},onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,t,g).then(function(e){return{result:e,exportedVariables:g.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r){return(0,n.mG)(this,void 0,void 0,function(){var o,a,s,u,l,c=this;return(0,n.Jh)(this,function(d){return o=r.fragmentMap,a=r.context,s=r.variables,u=[t],l=function(e){return(0,n.mG)(c,void 0,void 0,function(){var l,c;return(0,n.Jh)(this,function(n){return(0,v.LZ)(e,s)?(0,y.My)(e)?[2,this.resolveField(e,t,r).then(function(t){var r;void 0!==t&&u.push(((r={})[(0,y.u2)(e)]=t,r))})]:((0,y.Ao)(e)?l=e:(l=o[e.name.value],__DEV__?(0,i.kG)(l,"No fragment named ".concat(e.name.value)):(0,i.kG)(l,9)),l&&l.typeCondition&&(c=l.typeCondition.name.value,r.fragmentMatcher(t,c,a)))?[2,this.resolveSelectionSet(l.selectionSet,t,r).then(function(e){u.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return(0,I.bw)(u)})]})})},e.prototype.resolveField=function(e,t,r){return(0,n.mG)(this,void 0,void 0,function(){var i,o,a,s,u,l,c,d,h,p=this;return(0,n.Jh)(this,function(n){return i=r.variables,s=(o=e.name.value)!==(a=(0,y.u2)(e)),l=Promise.resolve(u=t[a]||t[o]),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(c=t.__typename||r.defaultOperationType,(d=this.resolvers&&this.resolvers[c])&&(h=d[s?o:a])&&(l=Promise.resolve(B.ab.withValue(this.cache,h,[t,(0,y.NC)(e,i),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,l.then(function(t){return(void 0===t&&(t=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)})}),e.selectionSet&&null!=t)?Array.isArray(t)?p.resolveSubSelectedArray(e,t,r):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,r):void 0:t})]})})},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map(function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0}))},e}(),U=new(d.mr?WeakMap:Map);function q(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return U.set(e,(U.get(e)+1)%1e15),r.apply(this,arguments)})}function $(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var H=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;U.has(r)||(U.set(r,0),q(r,"evict"),q(r,"modify"),q(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||C.I.loading;return this.variables&&this.networkStatus!==C.I.loading&&!(0,l.D)(this.variables,e.variables)&&(t=C.I.setVariables),(0,l.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){$(this),this.lastDiff=void 0,this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,l.D)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(t);return this.updateLastDiff(n,t),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,l.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return t.notify()},0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():R(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;$(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,C.O)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach(function(e){return e.unsubscribe()});var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.pi)((0,n.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,l.D)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===U.get(this.cache)&&(0,l.D)(t,r.variables)&&(0,l.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r){var n=this;this.graphQLErrors=(0,E.O)(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(t.variables)):0!==r&&(V(e,t.errorPolicy)?this.cache.performTransaction(function(i){if(n.shouldWrite(e,t.variables))i.writeQuery({query:n.document,data:e.data,variables:t.variables,overwrite:1===r}),n.lastWrite={result:e,variables:t.variables,dmCount:U.get(n.cache)};else if(n.lastDiff&&n.lastDiff.diff.complete){e.data=n.lastDiff.diff.result;return}var o=n.getDiffOptions(t.variables),a=i.diff(o);n.stopped||n.updateWatch(t.variables),n.updateLastDiff(a,o),a.complete&&(e.data=a.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=C.I.ready},e.prototype.markError=function(e){return this.networkStatus=C.I.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function V(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!f(e);return!n&&r&&e.data&&(n=!0),n}var W=Object.prototype.hasOwnProperty,G=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,i=e.queryDeduplication,o=e.onBroadcast,a=e.ssrMode,s=e.clientAwareness,u=e.localState,l=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(d.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=void 0!==i&&i,this.clientAwareness=void 0===s?{}:s,this.localState=u||new z({cache:t}),this.ssrMode=void 0!==a&&a,this.assumeImmutableResults=!!l,(this.onBroadcast=o)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches(__DEV__?new i.ej("QueryManager stopped while query was in flight"):new i.ej(11))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,o=e.mutation,a=e.variables,s=e.optimisticResponse,u=e.updateQueries,l=e.refetchQueries,c=void 0===l?[]:l,d=e.awaitRefetchQueries,h=void 0!==d&&d,m=e.update,g=e.onQueryUpdated,v=e.fetchPolicy,y=void 0===v?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":v,b=e.errorPolicy,w=void 0===b?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":b,k=e.keepRootFields,x=e.context;return(0,n.mG)(this,void 0,void 0,function(){var e,t,r;return(0,n.Jh)(this,function(l){switch(l.label){case 0:if(__DEV__?(0,i.kG)(o,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,i.kG)(o,12),__DEV__?(0,i.kG)("network-only"===y||"no-cache"===y,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,i.kG)("network-only"===y||"no-cache"===y,13),e=this.generateMutationId(),o=this.transform(o).document,a=this.getVariables(o,a),!this.transform(o).hasClientExports)return[3,2];return[4,this.localState.addExportedVariables(o,a,x)];case 1:a=l.sent(),l.label=2;case 2:return t=this.mutationStore&&(this.mutationStore[e]={mutation:o,variables:a,loading:!0,error:null}),s&&this.markMutationOptimistic(s,{mutationId:e,document:o,variables:a,fetchPolicy:y,errorPolicy:w,context:x,updateQueries:u,update:m,keepRootFields:k}),this.broadcastQueries(),r=this,[2,new Promise(function(i,l){return p(r.getObservableFromLink(o,(0,n.pi)((0,n.pi)({},x),{optimisticResponse:s}),a,!1),function(i){if(f(i)&&"none"===w)throw new D.c({graphQLErrors:i.errors});t&&(t.loading=!1,t.error=null);var l=(0,n.pi)({},i);return"function"==typeof c&&(c=c(l)),"ignore"===w&&f(l)&&delete l.errors,r.markMutationResult({mutationId:e,result:l,document:o,variables:a,fetchPolicy:y,errorPolicy:w,context:x,update:m,updateQueries:u,awaitRefetchQueries:h,refetchQueries:c,removeOptimistic:s?e:void 0,onQueryUpdated:g,keepRootFields:k})}).subscribe({next:function(e){r.broadcastQueries(),i(e)},error:function(n){t&&(t.loading=!1,t.error=n),s&&r.cache.removeOptimistic(e),r.broadcastQueries(),l(n instanceof D.c?n:new D.c({networkError:n}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&V(i,e.errorPolicy)){o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables});var s=e.updateQueries;s&&this.queries.forEach(function(e,n){var a=e.observableQuery,u=a&&a.queryName;if(u&&W.call(s,u)){var l=s[u],c=r.queries.get(n),d=c.document,h=c.variables,p=t.diff({query:d,variables:h,returnPartialData:!0,optimistic:!1}),f=p.result;if(p.complete&&f){var g=l(f,{mutationResult:i,queryName:d&&(0,m.rY)(d)||void 0,queryVariables:h});g&&o.push({result:g,dataId:"ROOT_QUERY",query:d,variables:h})}}})}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update;if(s){if(!a){var u=t.diff({id:"ROOT_MUTATION",query:r.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&(i=(0,n.pi)((0,n.pi)({},i),{data:u.result}))}s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return u.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,o="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,n.pi)((0,n.pi)({},t),{result:{data:o}}),e)}catch(e){__DEV__&&i.kG.error(e)}},t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchQueryObservable(e,t,r).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.cache.transformDocument(e),i=(0,g.Fo)(this.cache.transformForLink(r)),o=this.localState.clientQuery(r),a=i&&this.localState.serverQuery(i),s={document:r,hasClientExports:(0,v.mj)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:o,serverQuery:a,defaultVars:(0,m.O4)((0,m.$H)(r)),asQuery:(0,n.pi)((0,n.pi)({},r),{definitions:r.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.pi)((0,n.pi)({},e),{operation:"query"}):e})})},u=function(e){e&&!t.has(e)&&t.set(e,s)};u(e),u(r),u(o),u(a)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.pi)((0,n.pi)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){void 0===(e=(0,n.pi)((0,n.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new H(this),r=new P({queryManager:this,queryInfo:t,options:e});return this.queries.set(r.queryId,t),t.init({document:r.query,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?(0,i.kG)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,i.kG)(e.query,14),__DEV__?(0,i.kG)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,i.kG)("Document"===e.query.kind,15),__DEV__?(0,i.kG)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,i.kG)(!e.returnPartialData,16),__DEV__?(0,i.kG)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,i.kG)(!e.pollInterval,17),this.fetchQuery(t,e).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new i.ej("Store reset while query was in flight (not completed in link chain)"):new i.ej(18)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=C.I.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,a=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?o.set(e,!1):(0,y.JW)(e)?o.set(t.transform(e).document,!1):(0,b.s)(e)&&e.query&&a.add(e)}),this.queries.forEach(function(t,n){var i=t.observableQuery,a=t.document;if(i){if("all"===e){r.set(n,i);return}var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(a))&&(r.set(n,i),s&&o.set(s,!0),a&&o.set(a,!0))}}),a.size&&a.forEach(function(e){var o=(0,w.X)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new P({queryManager:t,queryInfo:a,options:(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)}),__DEV__&&o.size&&o.forEach(function(e,t){!e&&__DEV__&&i.kG.warn("Unknown query ".concat("string"==typeof t?"named ":"").concat(JSON.stringify(t,null,2)," requested in refetchQueries options.include array"))}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,o=e.variables,a=e.context,s=void 0===a?{}:a;r=this.transform(r).document,o=this.getVariables(r,o);var u=function(e){return t.getObservableFromLink(r,s,e).map(function(o){if("no-cache"!==n&&(V(o,i)&&t.cache.write({query:r,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),f(o))throw new D.c({graphQLErrors:o.errors});return o})};if(this.transform(r).hasClientExports){var l=this.localState.addExportedVariables(r,o,s).then(u);return new h.y(function(e){var t=null;return l.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return u(o)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i){var o,s,u=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var l=this.transform(e).serverQuery;if(l){var d=this.inFlightLinkObservables,f=this.link,g={query:l,variables:r,operationName:(0,m.rY)(l)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},t),{forceFetch:!i}))};if(t=g.context,i){var v=d.get(l)||new Map;d.set(l,v);var y=(0,c.B)(r);if(!(s=v.get(y))){var b=new S([a(f,g)]);v.set(y,s=b),b.cleanup(function(){v.delete(y)&&v.size<1&&d.delete(l)})}}else s=new S([a(f,g)])}else s=new S([h.y.of({data:{}})]),t=this.prepareContext(t);var w=this.transform(e).clientQuery;return w&&(s=p(s,function(e){return u.localState.runResolvers({document:w,remoteResult:e,context:t,variables:r})})),s},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId();return p(this.getObservableFromLink(e.document,r.context,r.variables),function(i){var o=(0,E.O)(i.errors);if(n>=e.lastRequestId){if(o&&"none"===r.errorPolicy)throw e.markError(new D.c({graphQLErrors:i.errors}));e.markResult(i,r,t),e.markReady()}var a={data:i.data,loading:!1,networkStatus:C.I.ready};return o&&"ignore"!==r.errorPolicy&&(a.errors=i.errors,a.networkStatus=C.I.error),a},function(t){var r=(0,D.M)(t)?t:new D.c({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchQueryObservable=function(e,t,r){var n=this;void 0===r&&(r=C.I.loading);var i=this.transform(t.query).document,o=this.getVariables(i,t.variables),a=this.getQuery(e),s=this.defaultOptions.watchQuery,u=t.fetchPolicy,l=void 0===u?s&&s.fetchPolicy||"cache-first":u,c=t.errorPolicy,d=void 0===c?s&&s.errorPolicy||"none":c,h=t.returnPartialData,p=t.notifyOnNetworkStatusChange,f=t.context,m=Object.assign({},t,{query:i,variables:o,fetchPolicy:l,errorPolicy:d,returnPartialData:void 0!==h&&h,notifyOnNetworkStatusChange:void 0!==p&&p,context:void 0===f?{}:f}),g=function(e){m.variables=e;var i=n.fetchQueryByPolicy(a,m,r);return"standby"!==m.fetchPolicy&&i.length>0&&a.observableQuery&&a.observableQuery.applyNextFetchPolicy("after-fetch",t),i},v=function(){return n.fetchCancelFns.delete(e)};this.fetchCancelFns.set(e,function(e){v(),setTimeout(function(){return y.cancel(e)})});var y=new S(this.transform(m.query).hasClientExports?this.localState.addExportedVariables(m.query,m.variables,m.context).then(g):g(m.variables));return y.promise.then(v,v),y},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,w.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,l=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){l.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var c=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof H&&e.watcher.observableQuery;if(n){if(u){l.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&c.set(n,i),i}null!==u&&l.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),l.size&&l.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=u(i,a,o)}u&&!0!==n||(n=i.refetch()),!1!==n&&c.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),c},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,c=t.errorPolicy,d=t.returnPartialData,p=t.context,f=t.notifyOnNetworkStatusChange,m=e.networkStatus;e.init({document:this.transform(o).document,variables:a,networkStatus:r});var g=function(){return e.getDiff(a)},v=function(t,r){void 0===r&&(r=e.networkStatus||C.I.loading);var s=t.result;!__DEV__||d||(0,l.D)(s,{})||F(t.missing);var u=function(e){return h.y.of((0,n.pi)({data:e,loading:(0,C.O)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.transform(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:p,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):u(s)},y="no-cache"===s?0:r===C.I.refetch&&"merge"!==u?1:2,b=function(){return i.getResultsFromLink(e,y,{variables:a,context:p,fetchPolicy:s,errorPolicy:c})},w=f&&"number"==typeof m&&m!==r&&(0,C.O)(r);switch(s){default:case"cache-first":var k=g();if(k.complete)return[v(k,e.markReady())];if(d||w)return[v(k),b()];return[b()];case"cache-and-network":var k=g();if(k.complete||d||w)return[v(k),b()];return[b()];case"cache-only":return[v(g(),e.markReady())];case"network-only":if(w)return[v(g()),b()];return[b()];case"no-cache":if(w)return[v(e.getDiff()),b()];return[b()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new H(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.pi)((0,n.pi)({},t),{clientAwareness:this.clientAwareness})},e}(),Y=r(58769),Z=!1,K=function(){function e(e){var t=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,n=e.credentials,a=e.headers,s=e.cache,l=e.ssrMode,c=void 0!==l&&l,d=e.ssrForceFetchDelay,h=void 0===d?0:d,p=e.connectToDevTools,f=void 0===p?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:p,m=e.queryDeduplication,g=void 0===m||m,v=e.defaultOptions,y=e.assumeImmutableResults,b=e.resolvers,w=e.typeDefs,k=e.fragmentMatcher,x=e.name,_=e.version,S=e.link;if(S||(S=r?new u({uri:r,credentials:n,headers:a}):o.i.empty()),!s)throw __DEV__?new i.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new i.ej(7);if(this.link=S,this.cache=s,this.disableNetworkFetches=c||h>0,this.queryDeduplication=g,this.defaultOptions=v||Object.create(null),this.typeDefs=w,h&&setTimeout(function(){return t.disableNetworkFetches=!1},h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),f&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!Z&&__DEV__&&(Z=!0,"undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var E=window.navigator,D=E&&E.userAgent,C=void 0;"string"==typeof D&&(D.indexOf("Chrome/")>-1?C="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":D.indexOf("Firefox/")>-1&&(C="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),C&&__DEV__&&i.kG.log("Download the Apollo DevTools for a better development experience: "+C)}this.version="3.6.9",this.localState=new z({cache:s,client:this,resolvers:b,fragmentMatcher:k}),this.queryManager=new G({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:g,ssrMode:c,clientAwareness:{name:x,version:_},localState:this.localState,assumeImmutableResults:void 0!==y&&y,onBroadcast:f?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,Y.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,Y.J)(this.defaultOptions.query,e)),__DEV__?(0,i.kG)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,i.kG)("cache-and-network"!==e.fetchPolicy,8),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,Y.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return a(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var o=Promise.all(n);return o.queries=r,o.results=n,o.catch(function(e){__DEV__&&i.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))}),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}()},64368:function(e,t,r){"use strict";var n,i;function o(e){return!!e&&e<7}r.d(t,{I:function(){return n},O:function(){return o}}),(i=n||(n={}))[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error"},45832:function(e,t,r){"use strict";r.d(t,{M:function(){return o},c:function(){return s}});var n=r(5163);r(19563);var i=r(43056);function o(e){return e.hasOwnProperty("graphQLErrors")}var a=function(e){var t="";return((0,i.O)(e.graphQLErrors)||(0,i.O)(e.clientErrors))&&(e.graphQLErrors||[]).concat(e.clientErrors||[]).forEach(function(e){var r=e?e.message:"Error message not found.";t+="".concat(r,"\n")}),e.networkError&&(t+="".concat(e.networkError.message,"\n")),t=t.replace(/\n$/,"")},s=function(e){function t(r){var n=r.graphQLErrors,i=r.clientErrors,o=r.networkError,s=r.errorMessage,u=r.extraInfo,l=e.call(this,s)||this;return l.graphQLErrors=n||[],l.clientErrors=i||[],l.networkError=o||null,l.message=s||a(l),l.extraInfo=u,l.__proto__=t.prototype,l}return(0,n.ZT)(t,e),t}(Error)},33957:function(e,t,r){"use strict";r.d(t,{i:function(){return d}});var n=r(5163),i=r(19563),o=r(12129),a=r(86607);function s(e,t){return t?t(e):o.y.of()}function u(e){return"function"==typeof e?new d(e):e}function l(e){return e.request.length<=1}var c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.link=r,n}return(0,n.ZT)(t,e),t}(Error),d=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return o.y.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=u(r),a=u(n||new e(s));return new e(l(i)&&l(a)?function(e){return t(e)?i.request(e)||o.y.of():a.request(e)||o.y.of()}:function(e,r){return t(e)?i.request(e,r)||o.y.of():a.request(e,r)||o.y.of()})},e.execute=function(e,t){var r,s,u,l;return e.request((u=t.context,(s={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];if(0>t.indexOf(o))throw __DEV__?new i.ej("illegal argument: ".concat(o)):new i.ej(24)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.rY)(s.query)||void 0:""),l=(0,n.pi)({},u),Object.defineProperty(s,"setContext",{enumerable:!1,value:function(e){l="function"==typeof e?(0,n.pi)((0,n.pi)({},l),e(l)):(0,n.pi)((0,n.pi)({},l),e)}}),Object.defineProperty(s,"getContext",{enumerable:!1,value:function(){return(0,n.pi)({},l)}}),s))||o.y.of()},e.concat=function(t,r){var n=u(t);if(l(n))return __DEV__&&i.kG.warn(new c("You are calling concat on a terminating link, which will have no effect",n)),n;var a=u(r);return new e(l(a)?function(e){return n.request(e,function(e){return a.request(e)||o.y.of()})||o.y.of()}:function(e,t){return n.request(e,function(e){return a.request(e,t)||o.y.of()})||o.y.of()})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw __DEV__?new i.ej("request is not implemented"):new i.ej(19)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},11485:function(e,t,r){"use strict";r.d(t,{V:function(){return n}});var n=r(33957).i.split},81387:function(e,t,r){"use strict";r.d(t,{L:function(){return C}});var n=r(5163),i=r(19563),o=r(58867),a=r(33957),s=r(12129),u=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=__DEV__?new i.ej("Network request failed. ".concat(t," is not serializable: ").concat(e.message)):new i.ej(21);throw n.parseError=e,n}return r},l=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},c=Object.prototype.hasOwnProperty,d=function(e){if(!e&&"undefined"==typeof fetch)throw __DEV__?new i.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n  link: new HttpLink({ uri: '/graphql', fetch })\n});\n    "):new i.ej(20)},h=r(85717);function p(e){return(0,o.Vn)(e,{leave:f})}var f={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return g(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=y("(",g(e.variableDefinitions,", "),")"),i=g(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?g([t,g([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+y(" = ",n)+y(" ",g(i," "))},SelectionSet:function(e){return v(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet,a=y("",t,": ")+r,s=a+y("(",g(n,", "),")");return s.length>80&&(s=a+y("(\n",b(g(n,"\n")),"\n)")),g([s,g(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+y(" ",g(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return g(["...",y("on ",t),g(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(y("(",g(n,", "),")")," ")+"on ".concat(r," ").concat(y("",g(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?(0,h.LZ)(r,"description"===t?"":"  "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+g(e.values,", ")+"]"},ObjectValue:function(e){return"{"+g(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+y("(",g(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:m(function(e){var t=e.directives,r=e.operationTypes;return g(["schema",g(t," "),v(r)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:m(function(e){return g(["scalar",e.name,g(e.directives," ")]," ")}),ObjectTypeDefinition:m(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return g(["type",t,y("implements ",g(r," & ")),g(n," "),v(i)]," ")}),FieldDefinition:m(function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(k(r)?y("(\n",b(g(r,"\n")),"\n)"):y("(",g(r,", "),")"))+": "+n+y(" ",g(i," "))}),InputValueDefinition:m(function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return g([t+": "+r,y("= ",n),g(i," ")]," ")}),InterfaceTypeDefinition:m(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return g(["interface",t,y("implements ",g(r," & ")),g(n," "),v(i)]," ")}),UnionTypeDefinition:m(function(e){var t=e.name,r=e.directives,n=e.types;return g(["union",t,g(r," "),n&&0!==n.length?"= "+g(n," | "):""]," ")}),EnumTypeDefinition:m(function(e){var t=e.name,r=e.directives,n=e.values;return g(["enum",t,g(r," "),v(n)]," ")}),EnumValueDefinition:m(function(e){return g([e.name,g(e.directives," ")]," ")}),InputObjectTypeDefinition:m(function(e){var t=e.name,r=e.directives,n=e.fields;return g(["input",t,g(r," "),v(n)]," ")}),DirectiveDefinition:m(function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(k(r)?y("(\n",b(g(r,"\n")),"\n)"):y("(",g(r,", "),")"))+(n?" repeatable":"")+" on "+g(i," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return g(["extend schema",g(t," "),v(r)]," ")},ScalarTypeExtension:function(e){return g(["extend scalar",e.name,g(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return g(["extend type",t,y("implements ",g(r," & ")),g(n," "),v(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return g(["extend interface",t,y("implements ",g(r," & ")),g(n," "),v(i)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return g(["extend union",t,g(r," "),n&&0!==n.length?"= "+g(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return g(["extend enum",t,g(r," "),v(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return g(["extend input",t,g(r," "),v(n)]," ")}};function m(e){return function(t){return g([t.description,e(t)],"\n")}}function g(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter(function(e){return e}).join(r))&&void 0!==t?t:""}function v(e){return y("{\n",b(g(e,"\n")),"\n}")}function y(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+r:""}function b(e){return y("  ",e.replace(/\n/g,"\n  "))}function w(e){return -1!==e.indexOf("\n")}function k(e){return null!=e&&e.some(w)}var x={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},_=function(e,t){return t(e)},S=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}};function E(e){return new s.y(function(t){t.error(e)})}var D=(0,i.wY)(function(){return fetch}),C=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,h=e.fetch,f=e.print,m=void 0===f?_:f,g=e.includeExtensions,v=e.useGETForQueries,y=e.includeUnusedVariables,b=void 0!==y&&y,w=(0,n._T)(e,["uri","fetch","print","includeExtensions","useGETForQueries","includeUnusedVariables"]);__DEV__&&d(h||D);var k={http:{includeExtensions:g},options:w.fetchOptions,credentials:w.credentials,headers:w.headers};return new a.i(function(e){var t,a,d,f=(t=e,a=r,t.getContext().uri||("function"==typeof a?a(t):a||"/graphql")),g=e.getContext(),y={};if(g.clientAwareness){var w=g.clientAwareness,_=w.name,C=w.version;_&&(y["apollographql-client-name"]=_),C&&(y["apollographql-client-version"]=C)}var j=(0,n.pi)((0,n.pi)({},y),g.headers),O=function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o={},a={};r.forEach(function(e){o=(0,n.pi)((0,n.pi)((0,n.pi)({},o),e.options),{headers:(0,n.pi)((0,n.pi)({},o.headers),function(e){if(e){var t=Object.create(null);return Object.keys(Object(e)).forEach(function(r){t[r.toLowerCase()]=e[r]}),t}return e}(e.headers))}),e.credentials&&(o.credentials=e.credentials),a=(0,n.pi)((0,n.pi)({},a),e.http)});var s=e.operationName,u=e.extensions,l=e.variables,c=e.query,d={operationName:s,variables:l};return a.includeExtensions&&(d.extensions=u),a.includeQuery&&(d.query=t(c,p)),{options:o,body:d}}(e,m,x,k,{http:g.http,options:g.fetchOptions,credentials:g.credentials,headers:j}),T=O.options,A=O.body;if(A.variables&&!b){var P=new Set(Object.keys(A.variables));(0,o.Vn)(e.query,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&P.delete(e.name.value)}}),P.size&&(A.variables=(0,n.pi)({},A.variables),P.forEach(function(e){delete A.variables[e]}))}if(!T.signal){var R=S(),M=R.controller,F=R.signal;(d=M)&&(T.signal=F)}if(v&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(T.method="GET"),"GET"===T.method){var N=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=u(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=u(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,l=e.indexOf("#");-1!==l&&(a=e.substr(l),s=e.substr(0,l));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+r.join("&")+a}}(f,A),I=N.newURI,L=N.parseError;if(L)return E(L);f=I}else try{T.body=u(A,"Payload")}catch(e){return E(e)}return new s.y(function(t){return(h||(0,i.wY)(function(){return fetch})||D)(f,T).then(function(t){return e.setContext({response:t}),t}).then(function(t){return t.text().then(function(e){try{return JSON.parse(e)}catch(r){throw r.name="ServerParseError",r.response=t,r.statusCode=t.status,r.bodyText=e,r}}).then(function(r){return t.status>=300&&l(t,r,"Response not successful: Received status code ".concat(t.status)),Array.isArray(r)||c.call(r,"data")||c.call(r,"errors")||l(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})}).then(function(e){return t.next(e),t.complete(),e}).catch(function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e))}),function(){d&&d.abort()}})})}},42370:function(e,t,r){"use strict";r.d(t,{K:function(){return o}});var n=r(2784),i=r(43869).aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function o(){var e=n.createContext[i];return e||(Object.defineProperty(n.createContext,i,{value:e=n.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},55671:function(e,t,r){"use strict";r.d(t,{e:function(){return a}});var n=r(19563),i=r(2784),o=r(42370),a=function(e){var t=e.client,r=e.children,a=(0,o.K)();return i.createElement(a.Consumer,null,function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?(0,n.kG)(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):(0,n.kG)(e.client,26),i.createElement(a.Provider,{value:e},r)})}},56675:function(e,t,r){"use strict";r.d(t,{x:function(){return a}});var n=r(19563),i=r(2784),o=r(42370);function a(e){var t=(0,i.useContext)((0,o.K)()),r=e||t.client;return __DEV__?(0,n.kG)(!!r,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):(0,n.kG)(!!r,29),r}},3842:function(e,t,r){"use strict";r.d(t,{t:function(){return l}});var n=r(5163),i=r(2784),o=r(58769),a=r(40794),s=r(56675),u=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function l(e,t){var r=(0,a.A)((0,s.x)(t&&t.client),e),l=(0,i.useRef)(),c=l.current?(0,o.J)(t,l.current):t,d=r.useQuery((0,n.pi)((0,n.pi)({},c),{skip:!l.current})),h=d.observable.options.initialFetchPolicy||r.getDefaultFetchPolicy(),p=Object.assign(d,{called:!!l.current}),f=(0,i.useMemo)(function(){for(var e={},t=0;t<u.length;t++)!function(t){var n=p[t];e[t]=function(){return l.current||(l.current=Object.create(null),r.forceUpdate()),n.apply(this,arguments)}}(u[t]);return e},[]);return Object.assign(p,f),[(0,i.useCallback)(function(e){l.current=e?(0,n.pi)((0,n.pi)({},e),{fetchPolicy:e.fetchPolicy||h}):{fetchPolicy:h};var t=r.asyncUpdate().then(function(e){return Object.assign(e,f)});return t.catch(function(){}),t},[]),p]}},33379:function(e,t,r){"use strict";r.d(t,{D:function(){return c}});var n=r(5163),i=r(2784),o=r(58769),a=r(38229),s=r(87274),u=r(45832),l=r(56675);function c(e,t){var r=(0,l.x)(null==t?void 0:t.client);(0,s.Vp)(e,s.n_.Mutation);var c=(0,i.useState)({called:!1,loading:!1,client:r}),d=c[0],h=c[1],p=(0,i.useRef)({result:d,mutationId:0,isMounted:!0,client:r,mutation:e,options:t});Object.assign(p.current,{client:r,options:t,mutation:e});var f=(0,i.useCallback)(function(e){void 0===e&&(e={});var t=p.current,r=t.client,i=t.options,s=t.mutation,l=(0,n.pi)((0,n.pi)({},i),{mutation:s});p.current.result.loading||l.ignoreResults||h(p.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:r});var c=++p.current.mutationId,d=(0,o.J)(l,e);return r.mutate(d).then(function(t){var n,i,o,s=t.data,l=t.errors,f=l&&l.length>0?new u.c({graphQLErrors:l}):void 0;if(c===p.current.mutationId&&!d.ignoreResults){var m={called:!0,loading:!1,data:s,error:f,client:r};p.current.isMounted&&!(0,a.D)(p.current.result,m)&&h(p.current.result=m)}return null===(i=null===(n=p.current.options)||void 0===n?void 0:n.onCompleted)||void 0===i||i.call(n,t.data),null===(o=e.onCompleted)||void 0===o||o.call(e,t.data),t}).catch(function(t){var n,i,o,s;if(c===p.current.mutationId&&p.current.isMounted){var u={loading:!1,error:t,data:void 0,called:!0,client:r};(0,a.D)(p.current.result,u)||h(p.current.result=u)}if((null===(n=p.current.options)||void 0===n?void 0:n.onError)||d.onError)return null===(o=null===(i=p.current.options)||void 0===i?void 0:i.onError)||void 0===o||o.call(i,t),null===(s=e.onError)||void 0===s||s.call(e,t),{data:void 0,errors:t};throw t})},[]),m=(0,i.useCallback)(function(){h({called:!1,loading:!1,client:r})},[]);return(0,i.useEffect)(function(){return p.current.isMounted=!0,function(){p.current.isMounted=!1}},[]),[f,(0,n.pi)({reset:m},d)]}},40794:function(e,t,r){"use strict";r.d(t,{A:function(){return _},a:function(){return x}});var n=r(5163),i=r(19563),o=r(2784),a=r.t(o,2),s=r(43869),u=!1,l=a.useSyncExternalStore||function(e,t,r){var n=t();__DEV__&&!u&&n!==t()&&(u=!0,__DEV__&&i.kG.error("The result of getSnapshot should be cached to avoid an infinite loop"));var a=o.useState({inst:{value:n,getSnapshot:t}}),l=a[0].inst,d=a[1];return s.JC?o.useLayoutEffect(function(){Object.assign(l,{value:n,getSnapshot:t}),c(l)&&d({inst:l})},[e,n,t]):Object.assign(l,{value:n,getSnapshot:t}),o.useEffect(function(){return c(l)&&d({inst:l}),e(function(){c(l)&&d({inst:l})})},[e]),n};function c(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}var d=r(38229),h=r(58769),p=r(42370),f=r(45832),m=r(64368),g=r(87274),v=r(56675),y=r(23180),b=r(9428),w=r(43056),k=Object.prototype.hasOwnProperty;function x(e,t){return void 0===t&&(t=Object.create(null)),_((0,v.x)(t.client),e).useQuery(t)}function _(e,t){var r=(0,o.useRef)();r.current&&e===r.current.client&&t===r.current.query||(r.current=new S(e,t,r.current));var n=r.current,i=(0,o.useState)(0),a=(i[0],i[1]);return n.forceUpdate=function(){a(function(e){return e+1})},n}var S=function(){function e(e,t,r){this.client=e,this.query=t,this.asyncResolveFns=new Set,this.optionsToIgnoreOnce=new(s.sy?WeakSet:Set),this.ssrDisabledResult=(0,y.J)({loading:!0,data:void 0,error:void 0,networkStatus:m.I.loading}),this.skipStandbyResult=(0,y.J)({loading:!1,data:void 0,error:void 0,networkStatus:m.I.ready}),this.toQueryResultCache=new(s.mr?WeakMap:Map),(0,g.Vp)(t,g.n_.Query);var n=r&&r.result,i=n&&n.data;i&&(this.previousData=i)}return e.prototype.forceUpdate=function(){__DEV__&&i.kG.warn("Calling default no-op implementation of InternalState#forceUpdate")},e.prototype.asyncUpdate=function(){var e=this;return new Promise(function(t){e.asyncResolveFns.add(t),e.optionsToIgnoreOnce.add(e.watchQueryOptions),e.forceUpdate()})},e.prototype.useQuery=function(e){var t=this;this.renderPromises=(0,o.useContext)((0,p.K)()).renderPromises,this.useOptions(e);var r=this.useObservableQuery(),n=l((0,o.useCallback)(function(){if(t.renderPromises)return function(){};var e=function(){var e=t.result,n=r.getCurrentResult();e&&e.loading===n.loading&&e.networkStatus===n.networkStatus&&(0,d.D)(e.data,n.data)||t.setResult(n)},n=function(o){var a=r.last;i.unsubscribe();try{r.resetLastResults(),i=r.subscribe(e,n)}finally{r.last=a}if(!k.call(o,"graphQLErrors"))throw o;var s=t.result;(!s||s&&s.loading||!(0,d.D)(o,s.error))&&t.setResult({data:s&&s.data,error:o,loading:!1,networkStatus:m.I.error})},i=r.subscribe(e,n);return function(){return i.unsubscribe()}},[r,this.renderPromises,this.client.disableNetworkFetches]),function(){return t.getCurrentResult()},function(){return t.getCurrentResult()});this.unsafeHandlePartialRefetch(n);var i=this.toQueryResult(n);return!i.loading&&this.asyncResolveFns.size&&(this.asyncResolveFns.forEach(function(e){return e(i)}),this.asyncResolveFns.clear()),i},e.prototype.useOptions=function(t){var r,n=this.createWatchQueryOptions(this.queryHookOptions=t),i=this.watchQueryOptions;(this.optionsToIgnoreOnce.has(i)||!(0,d.D)(n,i))&&(this.watchQueryOptions=n,i&&this.observable&&(this.optionsToIgnoreOnce.delete(i),this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(r=this.result)||void 0===r?void 0:r.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,(this.renderPromises||this.client.disableNetworkFetches)&&!1===this.queryHookOptions.ssr&&!this.queryHookOptions.skip?this.result=this.ssrDisabledResult:this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:(this.result===this.ssrDisabledResult||this.result===this.skipStandbyResult)&&(this.result=void 0)},e.prototype.getObsQueryOptions=function(){var e=[],t=this.client.defaultOptions.watchQuery;return t&&e.push(t),this.queryHookOptions.defaultOptions&&e.push(this.queryHookOptions.defaultOptions),e.push((0,b.o)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(h.J)},e.prototype.createWatchQueryOptions=function(e){void 0===e&&(e={});var t,r=e.skip,i=Object.assign((e.ssr,e.onCompleted,e.onError,e.displayName,e.defaultOptions,(0,n._T)(e,["skip","ssr","onCompleted","onError","displayName","defaultOptions"])),{query:this.query});if(this.renderPromises&&("network-only"===i.fetchPolicy||"cache-and-network"===i.fetchPolicy)&&(i.fetchPolicy="cache-first"),i.variables||(i.variables={}),r){var o=i.fetchPolicy,a=void 0===o?this.getDefaultFetchPolicy():o,s=i.initialFetchPolicy;Object.assign(i,{initialFetchPolicy:void 0===s?a:s,fetchPolicy:"standby"})}else i.fetchPolicy||(i.fetchPolicy=(null===(t=this.observable)||void 0===t?void 0:t.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return i},e.prototype.getDefaultFetchPolicy=function(){var e,t;return(null===(e=this.queryHookOptions.defaultOptions)||void 0===e?void 0:e.fetchPolicy)||(null===(t=this.client.defaultOptions.watchQuery)||void 0===t?void 0:t.fetchPolicy)||"cache-first"},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=(0,o.useMemo)(function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[e]);var t=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&t&&(this.renderPromises.registerSSRObservable(e),e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e)),e},e.prototype.setResult=function(e){var t=this.result;t&&t.data&&(this.previousData=t.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e)},e.prototype.handleErrorOrCompleted=function(e){!e.loading&&(e.error?this.onError(e.error):e.data&&this.onCompleted(e.data))},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var t=this.toQueryResultCache.get(e);if(t)return t;var r=e.data,i=(e.partial,(0,n._T)(e,["data","partial"]));return this.toQueryResultCache.set(e,t=(0,n.pi)((0,n.pi)((0,n.pi)({data:r},i),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!t.error&&(0,w.O)(e.errors)&&(t.error=new f.c({graphQLErrors:e.errors})),t},e.prototype.unsafeHandlePartialRefetch=function(e){e.partial&&this.queryHookOptions.partialRefetch&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==this.observable.options.fetchPolicy&&(Object.assign(e,{loading:!0,networkStatus:m.I.refetch}),this.observable.refetch())},e}()},87274:function(e,t,r){"use strict";r.d(t,{Vp:function(){return u},n_:function(){return i}});var n,i,o=r(19563);(n=i||(i={}))[n.Query=0]="Query",n[n.Mutation=1]="Mutation",n[n.Subscription=2]="Subscription";var a=new Map;function s(e){var t;switch(e){case i.Query:t="Query";break;case i.Mutation:t="Mutation";break;case i.Subscription:t="Subscription"}return t}function u(e,t){var r=function(e){var t,r,n=a.get(e);if(n)return n;__DEV__?(0,o.kG)(!!e&&!!e.kind,"Argument of ".concat(e," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):(0,o.kG)(!!e&&!!e.kind,30);for(var s=[],u=[],l=[],c=[],d=0,h=e.definitions;d<h.length;d++){var p=h[d];if("FragmentDefinition"===p.kind){s.push(p);continue}if("OperationDefinition"===p.kind)switch(p.operation){case"query":u.push(p);break;case"mutation":l.push(p);break;case"subscription":c.push(p)}}__DEV__?(0,o.kG)(!s.length||u.length||l.length||c.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,o.kG)(!s.length||u.length||l.length||c.length,31),__DEV__?(0,o.kG)(u.length+l.length+c.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(e," had ").concat(u.length," queries, ").concat(c.length," ")+"subscriptions and ".concat(l.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):(0,o.kG)(u.length+l.length+c.length<=1,32),r=u.length?i.Query:i.Mutation,u.length||l.length||(r=i.Subscription);var f=u.length?u:l.length?l:c;__DEV__?(0,o.kG)(1===f.length,"react-apollo only supports one definition per HOC. ".concat(e," had ")+"".concat(f.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):(0,o.kG)(1===f.length,33);var m=f[0];t=m.variableDefinitions||[];var g={name:m.name&&"Name"===m.name.kind?m.name.value:"data",type:r,variables:t};return a.set(e,g),g}(e),n=s(t),u=s(r.type);__DEV__?(0,o.kG)(r.type===t,"Running a ".concat(n," requires a graphql ")+"".concat(n,", but a ").concat(u," was used instead.")):(0,o.kG)(r.type===t,34)}},43056:function(e,t,r){"use strict";function n(e){return Array.isArray(e)&&e.length>0}r.d(t,{O:function(){return n}})},43869:function(e,t,r){"use strict";r.d(t,{JC:function(){return l},aS:function(){return a},mr:function(){return i},sy:function(){return o}});var n=r(19563),i="function"==typeof WeakMap&&"ReactNative"!==(0,n.wY)(function(){return navigator.product}),o="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,s="function"==typeof(0,n.wY)(function(){return window.document.createElement}),u=(0,n.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,l=s&&!u},89732:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},9428:function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:function(){return n}})},99635:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},23180:function(e,t,r){"use strict";r.d(t,{J:function(){return i}}),r(19563);var n=r(45931);function i(e){if(__DEV__){var t;(t=new Set([e])).forEach(function(e){(0,n.s)(e)&&function(e){if(__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.s)(e[r])&&t.add(e[r])})})}return e}},34529:function(e,t,r){"use strict";r.d(t,{Ee:function(){return a},bw:function(){return s},w0:function(){return l}});var n=r(5163),i=r(45931),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new l,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var u=function(e,t,r){return this.merge(e[r],t[r])},l=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.s)(t)&&(0,i.s)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=r.reconciler.apply(r,(0,n.ev)([e,t,i],a,!1));u!==s&&((e=r.shallowCopyForMerge(e))[i]=u)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},58769:function(e,t,r){"use strict";r.d(t,{J:function(){return o}});var n=r(5163),i=r(9428);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,n.pi)((0,n.pi)({},e&&e.variables),t.variables)})}},45931:function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{s:function(){return n}})},19563:function(e,t,r){"use strict";r.d(t,{ej:function(){return u},kG:function(){return l},wY:function(){return p}});var n,i=r(5163),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,u=function(e){function t(r){void 0===r&&(r=o);var n=e.call(this,"number"==typeof r?o+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=o,s(n,t.prototype),n}return(0,i.ZT)(t,e),t}(Error);function l(e,t){if(!e)throw new u(t)}var c=["debug","log","warn","error","silent"],d=c.indexOf("log");function h(e){return function(){if(c.indexOf(e)>=d)return(console[e]||console.log).apply(console,arguments)}}function p(e){try{return e()}catch(e){}}(n=l||(l={})).debug=h("debug"),n.log=h("log"),n.warn=h("warn"),n.error=h("error");var f=p(function(){return globalThis})||p(function(){return window})||p(function(){return self})||p(function(){return global})||p(function(){return p.constructor("return this")()}),m="__DEV__",g=function(){try{return!!__DEV__}catch(e){return Object.defineProperty(f,m,{value:"production"!==p(function(){return"production"}),enumerable:!1,configurable:!0,writable:!0}),f[m]}}(),v=r(34406);function y(e){try{return e()}catch(e){}}var b=y(function(){return globalThis})||y(function(){return window})||y(function(){return self})||y(function(){return global})||y(function(){return y.constructor("return this")()}),w=!1;!b||y(function(){return"production"})||y(function(){return v})||(Object.defineProperty(b,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),w=!0),r(75899).H,w&&(delete b.process,w=!1),__DEV__?l("boolean"==typeof g,g):l("boolean"==typeof g,36)},9572:function(e,t,r){"use strict";r.d(t,{FS:function(){return a},LZ:function(){return o},mj:function(){return s}});var n=r(19563),i=r(58867);function o(e,t){var r,i=e.directives;return!i||!i.length||(r=[],i&&i.length&&i.forEach(function(e){var t;if(!("skip"!==(t=e.name.value)&&"include"!==t)){var i=e.arguments,o=e.name.value;__DEV__?(0,n.kG)(i&&1===i.length,"Incorrect number of arguments for the @".concat(o," directive.")):(0,n.kG)(i&&1===i.length,38);var a=i[0];__DEV__?(0,n.kG)(a.name&&"if"===a.name.value,"Invalid argument for the @".concat(o," directive.")):(0,n.kG)(a.name&&"if"===a.name.value,39);var s=a.value;__DEV__?(0,n.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),"Argument for the @".concat(o," directive must be a variable or a boolean value.")):(0,n.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),40),r.push({directive:e,ifArgument:a})}}),r).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],__DEV__?(0,n.kG)(void 0!==o,"Invalid variable referenced in @".concat(r.name.value," directive.")):(0,n.kG)(void 0!==o,37)):o=i.value.value,"skip"===r.name.value?!o:o})}function a(e,t){var r;return(r=[],(0,i.Vn)(t,{Directive:function(e){r.push(e.name.value)}}),r).some(function(t){return e.indexOf(t)>-1})}function s(e){return e&&a(["client"],e)&&a(["export"],e)}},18001:function(e,t,r){"use strict";r.d(t,{F:function(){return a},Yk:function(){return o},hi:function(){return s}});var n=r(5163),i=r(19563);function o(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw __DEV__?new i.ej("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new i.ej(41);"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&(__DEV__?(0,i.kG)(1===o.length,"Found ".concat(o.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,i.kG)(1===o.length,42),r=o[0].name.value),(0,n.pi)((0,n.pi)({},e),{definitions:(0,n.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function a(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function s(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=t&&t[e.name.value];return __DEV__?(0,i.kG)(r,"No fragment named ".concat(e.name.value,".")):(0,i.kG)(r,43),r;default:return null}}},86607:function(e,t,r){"use strict";r.d(t,{$H:function(){return a},A$:function(){return o},O4:function(){return h},iW:function(){return l},kU:function(){return u},p$:function(){return d},pD:function(){return c},rY:function(){return s}});var n=r(19563),i=r(72);function o(e){__DEV__?(0,n.kG)(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,n.kG)(e&&"Document"===e.kind,44);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new n.ej('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new n.ej(45);return e});return __DEV__?(0,n.kG)(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):(0,n.kG)(t.length<=1,46),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function l(e){var t=a(e);return __DEV__?(0,n.kG)(t&&"query"===t.operation,"Must contain a query definition."):(0,n.kG)(t&&"query"===t.operation,47),t}function c(e){__DEV__?(0,n.kG)("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,n.kG)("Document"===e.kind,48),__DEV__?(0,n.kG)(e.definitions.length<=1,"Fragment must have exactly one definition."):(0,n.kG)(e.definitions.length<=1,49);var t=e.definitions[0];return __DEV__?(0,n.kG)("FragmentDefinition"===t.kind,"Must be a fragment definition."):(0,n.kG)("FragmentDefinition"===t.kind,50),t}function d(e){o(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw __DEV__?new n.ej("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new n.ej(51)}function h(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)}),t}},72:function(e,t,r){"use strict";r.d(t,{Ao:function(){return y},JW:function(){return u},My:function(){return v},NC:function(){return m},PT:function(){return h},Yk:function(){return s},kQ:function(){return a},qw:function(){return function e(t,r,n){if("string"==typeof t.__typename)return t.__typename;for(var i=0,a=r.selections;i<a.length;i++){var s=a[i];if(v(s)){if("__typename"===s.name.value)return t[g(s)]}else{var u=e(t,(0,o.hi)(s,n).selectionSet,n);if("string"==typeof u)return u}}}},u2:function(){return g},vb:function(){return l},vf:function(){return c}});var n=r(19563),i=r(45931),o=r(18001);function a(e){return{__ref:String(e)}}function s(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function u(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return l(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return l(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw __DEV__?new n.ej('The inline argument "'.concat(t.value,'" of kind "').concat(r.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new n.ej(52)}function c(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return l(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return l(n,r,i,t)})),h(e.name.value,n,r)}var d=["connection","include","skip","client","rest","export"],h=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(p(i),")")}var o=e;if(t){var a=p(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===d.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(p(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=p;return p=e,t}}),p=function(e){return JSON.stringify(e,f)};function f(e,t){return(0,i.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(e,r){return e[r]=t[r],e},{})),t}function m(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return l(r,e.name,e.value,t)}),r}return null}function g(e){return e.alias?e.alias.value:e.name.value}function v(e){return"Field"===e.kind}function y(e){return"InlineFragment"===e.kind}},77488:function(e,t,r){"use strict";r.d(t,{Gw:function(){return f},aL:function(){return v},ob:function(){return y},Fo:function(){return g}});var n=r(5163),i=r(19563),o=r(58867),a=r(86607);function s(e,t,r){var n=0;return e.forEach(function(r,i){t.call(this,r,i,e)&&(e[n++]=r)},r),e.length=n,e}var u=r(72),l=r(18001),c={kind:"Field",name:{kind:"Name",value:"__typename"}};function d(e){return!function e(t,r){return t.selectionSet.selections.every(function(t){return"FragmentSpread"===t.kind&&e(r[t.name.value],r)})}((0,a.$H)(e)||(0,a.pD)(e),(0,l.F)((0,a.kU)(e)))?e:null}function h(e){return function(t){return e.some(function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)})}}function p(e,t){var r,i,a,l=Object.create(null),c=[],p=Object.create(null),f=[],m=d((0,o.Vn)(t,{Variable:{enter:function(e,t,r){"VariableDefinition"!==r.kind&&(l[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&e.some(function(e){return e.remove})&&t.directives&&t.directives.some(h(e)))return t.arguments&&t.arguments.forEach(function(e){"Variable"===e.value.kind&&c.push({name:e.value.name.value})}),t.selectionSet&&(function e(t){var r=[];return t.selections.forEach(function(t){((0,u.My)(t)||(0,u.Ao)(t))&&t.selectionSet?e(t.selectionSet).forEach(function(e){return r.push(e)}):"FragmentSpread"===t.kind&&r.push(t)}),r})(t.selectionSet).forEach(function(e){f.push({name:e.name.value})}),null}},FragmentSpread:{enter:function(e){p[e.name.value]=!0}},Directive:{enter:function(t){if(h(e)(t))return null}}}));return m&&s(c,function(e){return!!e.name&&!l[e.name]}).length&&(r=c,i=m,a=function(e){return r.some(function(t){return e.value&&"Variable"===e.value.kind&&e.value.name&&(t.name===e.value.name.value||t.test&&t.test(e))})},m=d((0,o.Vn)(i,{OperationDefinition:{enter:function(e){return(0,n.pi)((0,n.pi)({},e),{variableDefinitions:e.variableDefinitions?e.variableDefinitions.filter(function(e){return!r.some(function(t){return t.name===e.variable.name.value})}):[]})}},Field:{enter:function(e){if(r.some(function(e){return e.remove})){var t=0;if(e.arguments&&e.arguments.forEach(function(e){a(e)&&(t+=1)}),1===t)return null}}},Argument:{enter:function(e){if(a(e))return null}}}))),m&&s(f,function(e){return!!e.name&&!p[e.name]}).length&&(m=function(e,t){function r(t){if(e.some(function(e){return e.name===t.name.value}))return null}return d((0,o.Vn)(t,{FragmentSpread:{enter:r},FragmentDefinition:{enter:r}}))}(f,m)),m}var f=Object.assign(function(e){return(0,o.Vn)(e,{SelectionSet:{enter:function(e,t,r){if(!r||"OperationDefinition"!==r.kind){var i=e.selections;if(!(!i||i.some(function(e){return(0,u.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,u.My)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.pi)((0,n.pi)({},e),{selections:(0,n.ev)((0,n.ev)([],i,!0),[c],!1)})}}}})},{added:function(e){return e===c}}),m={test:function(e){var t="connection"===e.name.value;return t&&(!e.arguments||!e.arguments.some(function(e){return"key"===e.name.value}))&&__DEV__&&i.kG.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key."),t}};function g(e){return p([m],(0,a.A$)(e))}function v(e){return"query"===(0,a.p$)(e).operation?e:(0,o.Vn)(e,{OperationDefinition:{enter:function(e){return(0,n.pi)((0,n.pi)({},e),{operation:"query"})}}})}function y(e){(0,a.A$)(e);var t=p([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=(0,o.Vn)(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every(function(e){return(0,u.My)(e)&&"__typename"===e.name.value}))return null}}})),t}},90019:function(e,t,r){"use strict";r.d(t,{ZB:function(){return o}});var n=r(5163),i=r(34529);function o(e){return void 0===e&&(e=!1),{keyArgs:e,read:function(e,t){var r=t.canRead,i=t.readField;if(!e)return e;var o=[],s="",u="";e.edges.forEach(function(e){r(i("node",e))&&(o.push(e),e.cursor&&(s=s||e.cursor||"",u=e.cursor||u))});var l=e.pageInfo||{},c=l.startCursor,d=l.endCursor;return(0,n.pi)((0,n.pi)({},a(e)),{edges:o,pageInfo:(0,n.pi)((0,n.pi)({},e.pageInfo),{startCursor:c||s,endCursor:d||u})})},merge:function(e,t,r){var o=r.args,s=r.isReference,u=r.readField;if(e||(e={edges:[],pageInfo:{hasPreviousPage:!1,hasNextPage:!0,startCursor:"",endCursor:""}}),!t)return e;var l=t.edges?t.edges.map(function(e){return s(e=(0,n.pi)({},e))&&(e.cursor=u("cursor",e)),e}):[];if(t.pageInfo){var c=t.pageInfo,d=c.startCursor,h=c.endCursor,p=l[0],f=l[l.length-1];p&&d&&(p.cursor=d),f&&h&&(f.cursor=h);var m=p&&p.cursor;m&&!d&&(t=(0,i.Ee)(t,{pageInfo:{startCursor:m}}));var g=f&&f.cursor;g&&!h&&(t=(0,i.Ee)(t,{pageInfo:{endCursor:g}}))}var v=e.edges,y=[];if(o&&o.after){var b=v.findIndex(function(e){return e.cursor===o.after});b>=0&&(v=v.slice(0,b+1))}else if(o&&o.before){var b=v.findIndex(function(e){return e.cursor===o.before});y=b<0?v:v.slice(b),v=[]}else t.edges&&(v=[]);var w=(0,n.ev)((0,n.ev)((0,n.ev)([],v,!0),l,!0),y,!0),k=(0,n.pi)((0,n.pi)({},t.pageInfo),e.pageInfo);if(t.pageInfo){var x=t.pageInfo,_=x.hasPreviousPage,S=x.hasNextPage,d=x.startCursor,h=x.endCursor;Object.assign(k,(0,n._T)(x,["hasPreviousPage","hasNextPage","startCursor","endCursor"])),v.length||(void 0!==_&&(k.hasPreviousPage=_),void 0===d||(k.startCursor=d)),y.length||(void 0!==S&&(k.hasNextPage=S),void 0===h||(k.endCursor=h))}return(0,n.pi)((0,n.pi)((0,n.pi)({},a(e)),a(t)),{edges:w,pageInfo:k})}}}var a=function(e){return(0,n._T)(e,s)},s=["edges","pageInfo"]},56666:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{Z:function(){return n}})},7896:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,{Z:function(){return n}})},96581:function(e,t,r){"use strict";r.d(t,{M4:function(){return s},we:function(){return u}});var n=r(2784);let i=()=>{},o=n.Fragment?e=>e?e.length>1?(0,n.createElement)(n.Fragment,null,...e):n.Children.only(e):null:n.Children.only;class a extends n.PureComponent{constructor(...e){super(...e),this.t=!1,this.i=null,this.o=i}componentWillUnmount(){this.o()}u(e){e!==this.i&&(this.o(),this.i=null,e&&(this.i=e,this.o=e.on("updated",()=>this.forceUpdate())))}get allowed(){return this.t}l(){let e=this.props,t=e.of||e.a||e.an||e.this||e.on,r=e.not?"cannot":"can";return e.ability[r](e.I||e.do,t,e.field)}render(){return this.u(this.props.ability),this.t=this.l(),this.props.passThrough||this.t?this.h():null}h(){let{children:e,ability:t}=this.props;return o("function"==typeof e?e(this.t,t):e)}}function s(e){return t=>(0,n.createElement)(e,null,e=>(0,n.createElement)(a,Object.assign({ability:e},t)))}function u(e){let t=n.useContext(e),[r,i]=n.useState();return n.useEffect(()=>t.on("updated",e=>{e.rules!==r&&i(e.rules)}),[]),t}},11121:function(e,t,r){"use strict";r.d(t,{H:function(){return c}});var n=r(21901),i=r(24735),o=r(29058),a=r(59576),s=r(87651),u=r(31053),l=r(52322),c=(0,o.G)(function(e,t){let{className:r,motionProps:o,...c}=e,{reduceMotion:d}=(0,n.EF)(),{getPanelProps:h,isOpen:p}=(0,i.bB)(),f=h(c,t),m=(0,u.cx)("chakra-accordion__panel",r),g=(0,i.YO)();d||delete f.hidden;let v=(0,l.jsx)(a.m.div,{...f,__css:g.panel,className:m});return d?v:(0,l.jsx)(s.U,{in:p,...o,children:v})});c.displayName="AccordionPanel"},21901:function(e,t,r){"use strict";r.d(t,{As:function(){return l},EF:function(){return d},Zl:function(){return h},a2:function(){return c}});var n=r(24735),i=r(9165),o=r(59572),a=r(85244),s=r(31053),u=r(2784);function l(e){let{onChange:t,defaultIndex:r,index:i,allowMultiple:a,allowToggle:l,...c}=e;(function(e){let t=e.index||e.defaultIndex,r=null!=t&&!Array.isArray(t)&&e.allowMultiple;(0,s.ZK)({condition:!!r,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})})(e),(0,s.ZK)({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"});let d=(0,n._v)(),[h,p]=(0,u.useState)(-1);(0,u.useEffect)(()=>()=>{p(-1)},[]);let[f,m]=(0,o.T)({value:i,defaultValue:()=>a?null!=r?r:[]:null!=r?r:-1,onChange:t});return{index:f,setIndex:m,htmlProps:c,getAccordionItemProps:e=>{let t=!1;return null!==e&&(t=Array.isArray(f)?f.includes(e):f===e),{isOpen:t,onChange:t=>{null!==e&&(a&&Array.isArray(f)?m(t?f.concat(e):f.filter(t=>t!==e)):t?m(e):l&&m(-1))}}},focusedIndex:h,setFocusedIndex:p,descendants:d}}var[c,d]=(0,i.k)({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function h(e){var t;let{isDisabled:r,isFocusable:i,id:o,...l}=e,{getAccordionItemProps:c,setFocusedIndex:h}=d(),p=(0,u.useRef)(null),f=(0,u.useId)(),m=null!=o?o:f,g=`accordion-button-${m}`,v=`accordion-panel-${m}`;(0,s.ZK)({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.
    `});let{register:y,index:b,descendants:w}=(0,n.mc)({disabled:r&&!i}),{isOpen:k,onChange:x}=c(-1===b?null:b);t={isOpen:k,isDisabled:r},(0,s.ZK)({condition:t.isOpen&&!!t.isDisabled,message:"Cannot open a disabled accordion item"});let _=(0,u.useCallback)(()=>{null==x||x(!k),h(b)},[b,h,k,x]),S=(0,u.useCallback)(e=>{let t={ArrowDown:()=>{let e=w.nextEnabled(b);null==e||e.node.focus()},ArrowUp:()=>{let e=w.prevEnabled(b);null==e||e.node.focus()},Home:()=>{let e=w.firstEnabled();null==e||e.node.focus()},End:()=>{let e=w.lastEnabled();null==e||e.node.focus()}}[e.key];t&&(e.preventDefault(),t(e))},[w,b]),E=(0,u.useCallback)(()=>{h(b)},[h,b]),D=(0,u.useCallback)(function(e={},t=null){return{...e,type:"button",ref:(0,a.lq)(y,p,t),id:g,disabled:!!r,"aria-expanded":!!k,"aria-controls":v,onClick:(0,s.v0)(e.onClick,_),onFocus:(0,s.v0)(e.onFocus,E),onKeyDown:(0,s.v0)(e.onKeyDown,S)}},[g,r,k,_,E,S,v,y]),C=(0,u.useCallback)(function(e={},t=null){return{...e,ref:t,role:"region",id:v,"aria-labelledby":g,hidden:!k}},[g,k,v]);return{isOpen:k,isDisabled:r,isFocusable:i,onOpen:()=>{null==x||x(!0)},onClose:()=>{null==x||x(!1)},getButtonProps:D,getPanelProps:C,htmlProps:l}}},49259:function(e,t,r){"use strict";r.d(t,{U:function(){return h}});var n=r(21901),i=r(24735),o=r(29058),a=r(91982),s=r(84586),u=r(59576),l=r(31053),c=r(2784),d=r(52322),h=(0,o.G)(function({children:e,reduceMotion:t,...r},o){let h=(0,a.jC)("Accordion",r),p=(0,s.Lr)(r),{htmlProps:f,descendants:m,...g}=(0,n.As)(p),v=(0,c.useMemo)(()=>({...g,reduceMotion:!!t}),[g,t]);return(0,d.jsx)(i.di,{value:m,children:(0,d.jsx)(n.a2,{value:v,children:(0,d.jsx)(i.lh,{value:h,children:(0,d.jsx)(u.m.div,{ref:o,...f,className:(0,l.cx)("chakra-accordion",r.className),__css:h.root,children:e})})})})});h.displayName="Accordion"},87436:function(e,t,r){"use strict";r.d(t,{Q:function(){return c}});var n=r(21901),i=r(24735),o=r(29058),a=r(59576),s=r(31053),u=r(2784),l=r(52322),c=(0,o.G)(function(e,t){let{children:r,className:o}=e,{htmlProps:c,...d}=(0,n.Zl)(e),h={...(0,i.YO)().container,overflowAnchor:"none"},p=(0,u.useMemo)(()=>d,[d]);return(0,l.jsx)(i.ec,{value:p,children:(0,l.jsx)(a.m.div,{ref:t,...c,className:(0,s.cx)("chakra-accordion__item",o),__css:h,children:"function"==typeof r?r({isExpanded:!!d.isOpen,isDisabled:!!d.isDisabled}):r})})});c.displayName="AccordionItem"},95897:function(e,t,r){"use strict";r.d(t,{K:function(){return u}});var n=r(24735),i=r(29058),o=r(59576),a=r(31053),s=r(52322),u=(0,i.G)(function(e,t){let{getButtonProps:r}=(0,n.bB)(),i=r(e,t),u={display:"flex",alignItems:"center",width:"100%",outline:0,...(0,n.YO)().button};return(0,s.jsx)(o.m.button,{...i,className:(0,a.cx)("chakra-accordion__button",e.className),__css:u})});u.displayName="AccordionButton"},24735:function(e,t,r){"use strict";r.d(t,{YO:function(){return a},_v:function(){return d},bB:function(){return u},di:function(){return l},ec:function(){return s},lh:function(){return o},mc:function(){return h}});var n=r(81550),i=r(9165),[o,a]=(0,i.k)({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:"<Accordion />"}),[s,u]=(0,i.k)({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItem />"}),[l,c,d,h]=(0,n.n)()},89511:function(e,t,r){"use strict";r.d(t,{X:function(){return u}});var n=r(21901),i=r(24735),o=r(62929),a=r(31053),s=r(52322);function u(e){let{isOpen:t,isDisabled:r}=(0,i.bB)(),{reduceMotion:u}=(0,n.EF)(),l=(0,a.cx)("chakra-accordion__icon",e.className),c={opacity:r?.4:1,transform:t?"rotate(-180deg)":void 0,transition:u?void 0:"transform 0.2s",transformOrigin:"center",...(0,i.YO)().icon};return(0,s.jsx)(o.J,{viewBox:"0 0 24 24","aria-hidden":!0,className:l,__css:c,...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}u.displayName="AccordionIcon"},47443:function(e,t,r){"use strict";r.d(t,{b:function(){return c}});var n=r(35824),i=r(31053),o=r(29058),a=r(84586),s=r(91982),u=r(59576),l=r(52322),c=(0,o.G)(function(e,t){var r;let{status:o="info",addRole:c=!0,...d}=(0,a.Lr)(e),h=null!=(r=e.colorScheme)?r:(0,n.TR)(o),p=(0,s.jC)("Alert",{...e,colorScheme:h}),f={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...p.container};return(0,l.jsx)(n.uZ,{value:{status:o},children:(0,l.jsx)(n.Hm,{value:p,children:(0,l.jsx)(u.m.div,{"data-status":o,role:c?"alert":void 0,ref:t,...d,className:(0,i.cx)("chakra-alert",e.className),__css:f})})})});c.displayName="Alert"},52929:function(e,t,r){"use strict";r.d(t,{z:function(){return s}});var n=r(35824),i=r(31053),o=r(59576),a=r(52322);function s(e){let{status:t}=(0,n.oX)(),r=(0,n.XO)(t),s=(0,n.uL)(),u="loading"===t?s.spinner:s.icon;return(0,a.jsx)(o.m.span,{display:"inherit","data-status":t,...e,className:(0,i.cx)("chakra-alert__icon",e.className),__css:u,children:e.children||(0,a.jsx)(r,{h:"100%",w:"100%"})})}s.displayName="AlertIcon"},74444:function(e,t,r){"use strict";r.d(t,{X:function(){return u}});var n=r(35824),i=r(31053),o=r(29058),a=r(59576),s=r(52322),u=(0,o.G)(function(e,t){let r=(0,n.uL)(),{status:o}=(0,n.oX)(),u={display:"inline",...r.description};return(0,s.jsx)(a.m.div,{ref:t,"data-status":o,...e,className:(0,i.cx)("chakra-alert__desc",e.className),__css:u})});u.displayName="AlertDescription"},80877:function(e,t,r){"use strict";r.d(t,{C:function(){return u}});var n=r(35824),i=r(31053),o=r(29058),a=r(59576),s=r(52322),u=(0,o.G)(function(e,t){let r=(0,n.uL)(),{status:o}=(0,n.oX)();return(0,s.jsx)(a.m.div,{ref:t,"data-status":o,...e,className:(0,i.cx)("chakra-alert__title",e.className),__css:r.title})});u.displayName="AlertTitle"},35824:function(e,t,r){"use strict";r.d(t,{uZ:function(){return u},Hm:function(){return c},TR:function(){return p},XO:function(){return f},oX:function(){return l},uL:function(){return d}});var n=r(62929),i=r(52322);function o(e){return(0,i.jsx)(n.J,{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var a=r(9165),s=r(81540),[u,l]=(0,a.k)({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[c,d]=(0,a.k)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),h={info:{icon:function(e){return(0,i.jsx)(n.J,{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:o,colorScheme:"orange"},success:{icon:function(e){return(0,i.jsx)(n.J,{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:o,colorScheme:"red"},loading:{icon:s.$,colorScheme:"blue"}};function p(e){return h[e].colorScheme}function f(e){return h[e].icon}},93274:function(e,t,r){"use strict";r.d(t,{H:function(){return h}});var n=r(109),i=r(29058),o=r(91982),a=r(84586),s=r(59576),u=r(31053),l=r(25578),c=r(2784),d=r(52322),h=(0,i.G)(function(e,t){let r=(0,o.jC)("Avatar",e),{children:i,borderColor:h,max:p,spacing:f="-0.75rem",borderRadius:m="full",...g}=(0,a.Lr)(e),v=(0,l.W)(i),y=null!=p?v.slice(0,p):v,b=null!=p?v.length-p:0,w=y.reverse().map((t,r)=>{var n;let i={marginEnd:0===r?0:f,size:e.size,borderColor:null!=(n=t.props.borderColor)?n:h,showBorder:!0};return(0,c.cloneElement)(t,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}(i))}),k={display:"flex",alignItems:"center",justifyContent:"flex-end",flexDirection:"row-reverse",...r.group},x={borderRadius:m,marginStart:f,...n.O,...r.excessLabel};return(0,d.jsxs)(s.m.div,{ref:t,role:"group",__css:k,...g,className:(0,u.cx)("chakra-avatar__group",e.className),children:[b>0&&(0,d.jsx)(s.m.span,{className:"chakra-avatar__excess",__css:x,children:`+${b}`}),w]})});h.displayName="AvatarGroup"},31584:function(e,t,r){"use strict";r.d(t,{M:function(){return l}});var n=r(2605),i=r(29058),o=r(59576),a=r(31053),s=r(52322),u={"top-start":{top:"0",insetStart:"0",transform:"translate(-25%, -25%)"},"top-end":{top:"0",insetEnd:"0",transform:"translate(25%, -25%)"},"bottom-start":{bottom:"0",insetStart:"0",transform:"translate(-25%, 25%)"},"bottom-end":{bottom:"0",insetEnd:"0",transform:"translate(25%, 25%)"}},l=(0,i.G)(function(e,t){let{placement:r="bottom-end",className:i,...l}=e,c=(0,n.d)(),d={position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",...u[r],...c.badge};return(0,s.jsx)(o.m.div,{ref:t,...l,className:(0,a.cx)("chakra-avatar__badge",i),__css:d})});l.displayName="AvatarBadge"},2605:function(e,t,r){"use strict";r.d(t,{Z:function(){return n},d:function(){return i}});var[n,i]=(0,r(9165).k)({name:"AvatarStylesContext",hookName:"useAvatarStyles",providerName:"<Avatar/>"})},109:function(e,t,r){"use strict";r.d(t,{q:function(){return v},O:function(){return g}});var n=r(2605),i=r(59576),o=r(52322);function a(e){var t;let r=e.split(" "),n=null!=(t=r[0])?t:"",i=r.length>1?r[r.length-1]:"";return n&&i?`${n.charAt(0)}${i.charAt(0)}`:n.charAt(0)}function s(e){let{name:t,getInitials:r,...a}=e,s=(0,n.d)();return(0,o.jsx)(i.m.div,{role:"img","aria-label":t,...a,__css:s.label,children:t?null==r?void 0:r(t):null})}s.displayName="AvatarName";var u=e=>(0,o.jsxs)(i.m.svg,{viewBox:"0 0 128 128",color:"#fff",width:"100%",height:"100%",className:"chakra-avatar__svg",...e,children:[(0,o.jsx)("path",{fill:"currentColor",d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),(0,o.jsx)("path",{fill:"currentColor",d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"})]}),l=r(15596),c=r(2784);function d(e){let{src:t,srcSet:r,onError:n,onLoad:a,getInitials:d,name:h,borderRadius:p,loading:f,iconLabel:m,icon:g=(0,o.jsx)(u,{}),ignoreFallback:v,referrerPolicy:y,crossOrigin:b}=e,w=(0,l.d)({src:t,onError:n,crossOrigin:b,ignoreFallback:v});return t&&"loaded"===w?(0,o.jsx)(i.m.img,{src:t,srcSet:r,alt:h,onLoad:a,referrerPolicy:y,crossOrigin:null!=b?b:void 0,className:"chakra-avatar__img",loading:f,__css:{width:"100%",height:"100%",objectFit:"cover",borderRadius:p}}):h?(0,o.jsx)(s,{className:"chakra-avatar__initials",getInitials:d,name:h}):(0,c.cloneElement)(g,{role:"img","aria-label":m})}d.displayName="AvatarImage";var h=r(29058),p=r(91982),f=r(84586),m=r(31053),g={display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",textTransform:"uppercase",fontWeight:"medium",position:"relative",flexShrink:0},v=(0,h.G)((e,t)=>{let r=(0,p.jC)("Avatar",e),[s,l]=(0,c.useState)(!1),{src:h,srcSet:v,name:y,showBorder:b,borderRadius:w="full",onError:k,onLoad:x,getInitials:_=a,icon:S=(0,o.jsx)(u,{}),iconLabel:E=" avatar",loading:D,children:C,borderColor:j,ignoreFallback:O,crossOrigin:T,referrerPolicy:A,...P}=(0,f.Lr)(e),R={borderRadius:w,borderWidth:b?"2px":void 0,...g,...r.container};return j&&(R.borderColor=j),(0,o.jsx)(i.m.span,{ref:t,...P,className:(0,m.cx)("chakra-avatar",e.className),"data-loaded":(0,m.PB)(s),__css:R,children:(0,o.jsxs)(n.Z,{value:r,children:[(0,o.jsx)(d,{src:h,srcSet:v,loading:D,onLoad:(0,m.v0)(x,()=>{l(!0)}),onError:k,getInitials:_,name:y,borderRadius:w,icon:S,iconLabel:E,ignoreFallback:O,crossOrigin:T,referrerPolicy:A}),C]})})});v.displayName="Avatar"},49456:function(e,t,r){"use strict";r.d(t,{AV:function(){return i},XQ:function(){return o},Yq:function(){return a}});var n=r(31053),i=Object.freeze(["base","sm","md","lg","xl","2xl"]);function o(e,t){return Array.isArray(e)?e.map(e=>null===e?null:t(e)):(0,n.Kn)(e)?Object.keys(e).reduce((r,n)=>(r[n]=t(e[n]),r),{}):null!=e?t(e):null}function a(e,t=i){let r={};return e.forEach((e,n)=>{let i=t[n];null!=e&&(r[i]=e)}),r}},32899:function(e,t,r){"use strict";r.d(t,{h:function(){return s}});var n=r(62614),i=r(29058),o=r(2784),a=r(52322),s=(0,i.G)((e,t)=>{let{icon:r,children:i,isRound:s,"aria-label":u,...l}=e,c=r||i,d=(0,o.isValidElement)(c)?(0,o.cloneElement)(c,{"aria-hidden":!0,focusable:!1}):null;return(0,a.jsx)(n.z,{padding:"0",borderRadius:s?"full":void 0,ref:t,"aria-label":u,...l,children:d})});s.displayName="IconButton"},75768:function(e,t,r){"use strict";r.d(t,{h:function(){return d}});var n=r(68843),i=r(29058),o=r(59576),a=r(31053),s=r(2784),u=r(52322),l={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},c={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},d=(0,i.G)(function(e,t){let{size:r,colorScheme:i,variant:d,className:h,spacing:p="0.5rem",isAttached:f,isDisabled:m,orientation:g="horizontal",...v}=e,y=(0,a.cx)("chakra-button__group",h),b=(0,s.useMemo)(()=>({size:r,colorScheme:i,variant:d,isDisabled:m}),[r,i,d,m]),w={display:"inline-flex",...f?l[g]:c[g](p)},k="vertical"===g;return(0,u.jsx)(n.D,{value:b,children:(0,u.jsx)(o.m.div,{ref:t,role:"group",__css:w,className:y,"data-attached":f?"":void 0,"data-orientation":g,flexDir:k?"column":void 0,...v})})});d.displayName="ButtonGroup"},68843:function(e,t,r){"use strict";r.d(t,{D:function(){return n},i:function(){return i}});var[n,i]=(0,r(9165).k)({strict:!1,name:"ButtonGroupContext"})},62614:function(e,t,r){"use strict";r.d(t,{z:function(){return m}});var n=r(2784),i=r(68843),o=r(59576),a=r(31053),s=r(52322);function u(e){let{children:t,className:r,...i}=e,u=(0,n.isValidElement)(t)?(0,n.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,l=(0,a.cx)("chakra-button__icon",r);return(0,s.jsx)(o.m.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...i,className:l,children:u})}u.displayName="ButtonIcon";var l=r(81540);function c(e){let{label:t,placement:r,spacing:i="0.5rem",children:u=(0,s.jsx)(l.$,{color:"currentColor",width:"1em",height:"1em"}),className:c,__css:d,...h}=e,p=(0,a.cx)("chakra-button__spinner",c),f="start"===r?"marginEnd":"marginStart",m=(0,n.useMemo)(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[f]:t?i:0,fontSize:"1em",lineHeight:"normal",...d}),[d,t,f,i]);return(0,s.jsx)(o.m.div,{className:p,...h,__css:m,children:u})}c.displayName="ButtonSpinner";var d=r(85244),h=r(29058),p=r(91982),f=r(84586),m=(0,h.G)((e,t)=>{let r=(0,i.i)(),u=(0,p.mq)("Button",{...r,...e}),{isDisabled:l=null==r?void 0:r.isDisabled,isLoading:h,isActive:m,children:v,leftIcon:y,rightIcon:b,loadingText:w,iconSpacing:k="0.5rem",type:x,spinner:_,spinnerPlacement:S="start",className:E,as:D,...C}=(0,f.Lr)(e),j=(0,n.useMemo)(()=>{let e={...null==u?void 0:u._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...u,...!!r&&{_focus:e}}},[u,r]),{ref:O,type:T}=function(e){let[t,r]=(0,n.useState)(!e);return{ref:(0,n.useCallback)(e=>{e&&r("BUTTON"===e.tagName)},[]),type:t?"button":void 0}}(D),A={rightIcon:b,leftIcon:y,iconSpacing:k,children:v};return(0,s.jsxs)(o.m.button,{ref:(0,d.qq)(t,O),as:D,type:null!=x?x:T,"data-active":(0,a.PB)(m),"data-loading":(0,a.PB)(h),__css:j,className:(0,a.cx)("chakra-button",E),...C,disabled:l||h,children:[h&&"start"===S&&(0,s.jsx)(c,{className:"chakra-button__spinner--start",label:w,placement:"start",spacing:k,children:_}),h?w||(0,s.jsx)(o.m.span,{opacity:0,children:(0,s.jsx)(g,{...A})}):(0,s.jsx)(g,{...A}),h&&"end"===S&&(0,s.jsx)(c,{className:"chakra-button__spinner--end",label:w,placement:"end",spacing:k,children:_})]})});function g(e){let{leftIcon:t,rightIcon:r,children:n,iconSpacing:i}=e;return(0,s.jsxs)(s.Fragment,{children:[t&&(0,s.jsx)(u,{marginEnd:i,children:t}),n,r&&(0,s.jsx)(u,{marginStart:i,children:r})]})}m.displayName="Button"},28448:function(e,t,r){"use strict";r.d(t,{O:function(){return h}});var n=r(76874),i=r(36140),o=r(3171),a=r(90359),s=r(85244),u=r(31053),l=r(51679),c=r(67274),d=r(2784);function h(e={}){let{isDisabled:t,isReadOnly:r,isRequired:h,isInvalid:f,id:m,onBlur:g,onFocus:v,"aria-describedby":y}=(0,n.K)(e),{defaultChecked:b,isChecked:w,isFocusable:k,onChange:x,isIndeterminate:_,name:S,value:E,tabIndex:D,"aria-label":C,"aria-labelledby":j,"aria-invalid":O,...T}=e,A=function(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}(T,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),P=(0,a.W)(x),R=(0,a.W)(g),M=(0,a.W)(v),[F,N]=(0,d.useState)(!1),[I,L]=(0,d.useState)(!1),[B,z]=(0,d.useState)(!1),[U,q]=(0,d.useState)(!1);(0,d.useEffect)(()=>(0,c.BT)(N),[]);let $=(0,d.useRef)(null),[H,V]=(0,d.useState)(!0),[W,G]=(0,d.useState)(!!b),Y=void 0!==w,Z=Y?w:W,K=(0,d.useCallback)(e=>{if(r||t){e.preventDefault();return}Y||(Z?G(e.target.checked):G(!!_||e.target.checked)),null==P||P(e)},[r,t,Z,Y,_,P]);(0,i.G)(()=>{$.current&&($.current.indeterminate=!!_)},[_]),(0,o.r)(()=>{t&&L(!1)},[t,L]),(0,i.G)(()=>{let e=$.current;if(!(null==e?void 0:e.form))return;let t=()=>{G(!!b)};return e.form.addEventListener("reset",t),()=>{var r;return null==(r=e.form)?void 0:r.removeEventListener("reset",t)}},[]);let J=t&&!k,X=(0,d.useCallback)(e=>{" "===e.key&&q(!0)},[q]),Q=(0,d.useCallback)(e=>{" "===e.key&&q(!1)},[q]);(0,i.G)(()=>{$.current&&$.current.checked!==Z&&G($.current.checked)},[$.current]);let ee=(0,d.useCallback)((e={},n=null)=>({...e,ref:n,"data-active":(0,u.PB)(U),"data-hover":(0,u.PB)(B),"data-checked":(0,u.PB)(Z),"data-focus":(0,u.PB)(I),"data-focus-visible":(0,u.PB)(I&&F),"data-indeterminate":(0,u.PB)(_),"data-disabled":(0,u.PB)(t),"data-invalid":(0,u.PB)(f),"data-readonly":(0,u.PB)(r),"aria-hidden":!0,onMouseDown:(0,u.v0)(e.onMouseDown,e=>{I&&e.preventDefault(),q(!0)}),onMouseUp:(0,u.v0)(e.onMouseUp,()=>q(!1)),onMouseEnter:(0,u.v0)(e.onMouseEnter,()=>z(!0)),onMouseLeave:(0,u.v0)(e.onMouseLeave,()=>z(!1))}),[U,Z,t,I,F,B,_,f,r]),et=(0,d.useCallback)((e={},n=null)=>({...e,ref:n,"data-active":(0,u.PB)(U),"data-hover":(0,u.PB)(B),"data-checked":(0,u.PB)(Z),"data-focus":(0,u.PB)(I),"data-focus-visible":(0,u.PB)(I&&F),"data-indeterminate":(0,u.PB)(_),"data-disabled":(0,u.PB)(t),"data-invalid":(0,u.PB)(f),"data-readonly":(0,u.PB)(r)}),[U,Z,t,I,F,B,_,f,r]),er=(0,d.useCallback)((e={},r=null)=>({...A,...e,ref:(0,s.lq)(r,e=>{e&&V("LABEL"===e.tagName)}),onClick:(0,u.v0)(e.onClick,()=>{var e;H||(null==(e=$.current)||e.click(),requestAnimationFrame(()=>{var e;null==(e=$.current)||e.focus({preventScroll:!0})}))}),"data-disabled":(0,u.PB)(t),"data-checked":(0,u.PB)(Z),"data-invalid":(0,u.PB)(f)}),[A,t,Z,f,H]),en=(0,d.useCallback)((e={},n=null)=>({...e,ref:(0,s.lq)($,n),type:"checkbox",name:S,value:E,id:m,tabIndex:D,onChange:(0,u.v0)(e.onChange,K),onBlur:(0,u.v0)(e.onBlur,R,()=>L(!1)),onFocus:(0,u.v0)(e.onFocus,M,()=>L(!0)),onKeyDown:(0,u.v0)(e.onKeyDown,X),onKeyUp:(0,u.v0)(e.onKeyUp,Q),required:h,checked:Z,disabled:J,readOnly:r,"aria-label":C,"aria-labelledby":j,"aria-invalid":O?!!O:f,"aria-describedby":y,"aria-disabled":t,style:l.N}),[S,E,m,K,R,M,X,Q,h,Z,J,r,C,j,O,f,y,t,D]),ei=(0,d.useCallback)((e={},r=null)=>({...e,ref:r,onMouseDown:(0,u.v0)(e.onMouseDown,p),"data-disabled":(0,u.PB)(t),"data-checked":(0,u.PB)(Z),"data-invalid":(0,u.PB)(f)}),[Z,t,f]);return{state:{isInvalid:f,isFocused:I,isChecked:Z,isActive:U,isHovered:B,isIndeterminate:_,isDisabled:t,isReadOnly:r,isRequired:h},getRootProps:er,getCheckboxProps:ee,getIndicatorProps:et,getInputProps:en,getLabelProps:ei,htmlProps:A}}function p(e){e.preventDefault(),e.stopPropagation()}},82713:function(e,t,r){"use strict";r.d(t,{X:function(){return x}});var n=r(2784),[i,o]=(0,r(9165).k)({name:"CheckboxGroupContext",strict:!1}),a=r(59576),s=r(52322);function u(e){return(0,s.jsx)(a.m.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:(0,s.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function l(e){return(0,s.jsx)(a.m.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,s.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function c(e){let{isIndeterminate:t,isChecked:r,...n}=e;return r||t?(0,s.jsx)(a.m.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,s.jsx)(t?l:u,{...n})}):null}var d=r(28448),h=r(31053),p=r(28165),f=r(29058),m=r(91982),g=r(84586),v={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},y={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},b=(0,p.F4)({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),w=(0,p.F4)({from:{opacity:0},to:{opacity:1}}),k=(0,p.F4)({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),x=(0,f.G)(function(e,t){let r=o(),i={...r,...e},u=(0,m.jC)("Checkbox",i),l=(0,g.Lr)(e),{spacing:p="0.5rem",className:f,children:x,iconColor:_,iconSize:S,icon:E=(0,s.jsx)(c,{}),isChecked:D,isDisabled:C=null==r?void 0:r.isDisabled,onChange:j,inputProps:O,...T}=l,A=D;(null==r?void 0:r.value)&&l.value&&(A=r.value.includes(l.value));let P=j;(null==r?void 0:r.onChange)&&l.value&&(P=(0,h.PP)(r.onChange,j));let{state:R,getInputProps:M,getCheckboxProps:F,getLabelProps:N,getRootProps:I}=(0,d.O)({...T,isDisabled:C,isChecked:A,onChange:P}),L=function(e){let[t,r]=(0,n.useState)(e),[i,o]=(0,n.useState)(!1);return e!==t&&(o(!0),r(e)),i}(R.isChecked),B=(0,n.useMemo)(()=>({animation:L?R.isIndeterminate?`${w} 20ms linear, ${k} 200ms linear`:`${b} 200ms linear`:void 0,fontSize:S,color:_,...u.icon}),[_,S,L,R.isIndeterminate,u.icon]),z=(0,n.cloneElement)(E,{__css:B,isIndeterminate:R.isIndeterminate,isChecked:R.isChecked});return(0,s.jsxs)(a.m.label,{__css:{...y,...u.container},className:(0,h.cx)("chakra-checkbox",f),...I(),children:[(0,s.jsx)("input",{className:"chakra-checkbox__input",...M(O,t)}),(0,s.jsx)(a.m.span,{__css:{...v,...u.control},className:"chakra-checkbox__control",...F(),children:z}),x&&(0,s.jsx)(a.m.span,{className:"chakra-checkbox__label",...N(),__css:{marginStart:p,...u.label},children:x})]})});x.displayName="Checkbox"},30350:function(e,t,r){"use strict";r.d(t,{h:function(){return s}});var n=r(2784),i=r(31053),o=r(85244);function a(e){let{tagName:t,isContentEditable:r}=e.target;return"INPUT"!==t&&"TEXTAREA"!==t&&!0!==r}function s(e={}){let{ref:t,isDisabled:r,isFocusable:s,clickOnEnter:u=!0,clickOnSpace:l=!0,onMouseDown:c,onMouseUp:d,onClick:h,onKeyDown:p,onKeyUp:f,tabIndex:m,onMouseOver:g,onMouseLeave:v,...y}=e,[b,w]=(0,n.useState)(!0),[k,x]=(0,n.useState)(!1),_=function(){let e=(0,n.useRef)(new Map),t=e.current,r=(0,n.useCallback)((t,r,n,i)=>{e.current.set(n,{type:r,el:t,options:i}),t.addEventListener(r,n,i)},[]),i=(0,n.useCallback)((t,r,n,i)=>{t.removeEventListener(r,n,i),e.current.delete(n)},[]);return(0,n.useEffect)(()=>()=>{t.forEach((e,t)=>{i(e.el,e.type,t,e.options)})},[i,t]),{add:r,remove:i}}(),S=b?m:m||0,E=r&&!s,D=(0,n.useCallback)(e=>{if(r){e.stopPropagation(),e.preventDefault();return}e.currentTarget.focus(),null==h||h(e)},[r,h]),C=(0,n.useCallback)(e=>{k&&a(e)&&(e.preventDefault(),e.stopPropagation(),x(!1),_.remove(document,"keyup",C,!1))},[k,_]),j=(0,n.useCallback)(e=>{if(null==p||p(e),r||e.defaultPrevented||e.metaKey||!a(e.nativeEvent)||b)return;let t=u&&"Enter"===e.key;l&&" "===e.key&&(e.preventDefault(),x(!0)),t&&(e.preventDefault(),e.currentTarget.click()),_.add(document,"keyup",C,!1)},[r,b,p,u,l,_,C]),O=(0,n.useCallback)(e=>{null==f||f(e),!r&&!e.defaultPrevented&&!e.metaKey&&a(e.nativeEvent)&&!b&&l&&" "===e.key&&(e.preventDefault(),x(!1),e.currentTarget.click())},[l,b,r,f]),T=(0,n.useCallback)(e=>{0===e.button&&(x(!1),_.remove(document,"mouseup",T,!1))},[_]),A=(0,n.useCallback)(e=>{if(0===e.button){if(r){e.stopPropagation(),e.preventDefault();return}b||x(!0),e.currentTarget.focus({preventScroll:!0}),_.add(document,"mouseup",T,!1),null==c||c(e)}},[r,b,c,_,T]),P=(0,n.useCallback)(e=>{0===e.button&&(b||x(!1),null==d||d(e))},[d,b]),R=(0,n.useCallback)(e=>{if(r){e.preventDefault();return}null==g||g(e)},[r,g]),M=(0,n.useCallback)(e=>{k&&(e.preventDefault(),x(!1)),null==v||v(e)},[k,v]),F=(0,o.lq)(t,e=>{e&&"BUTTON"!==e.tagName&&w(!1)});return b?{...y,ref:F,type:"button","aria-disabled":E?void 0:r,disabled:E,onClick:D,onMouseDown:c,onMouseUp:d,onKeyUp:f,onKeyDown:p,onMouseOver:g,onMouseLeave:v}:{...y,ref:F,role:"button","data-active":(0,i.PB)(k),"aria-disabled":r?"true":void 0,tabIndex:E?void 0:S,onClick:D,onMouseDown:A,onMouseUp:P,onKeyUp:O,onKeyDown:j,onMouseOver:R,onMouseLeave:M}}},81672:function(e,t,r){"use strict";r.d(t,{P:function(){return c}});var n=r(62929),i=r(29058),o=r(91982),a=r(84586),s=r(59576),u=r(52322);function l(e){return(0,u.jsx)(n.J,{focusable:"false","aria-hidden":!0,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}var c=(0,i.G)(function(e,t){let r=(0,o.mq)("CloseButton",e),{children:n,isDisabled:i,__css:c,...d}=(0,a.Lr)(e);return(0,u.jsx)(s.m.button,{type:"button","aria-label":"Close",ref:t,disabled:i,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...c},...d,children:n||(0,u.jsx)(l,{width:"1em",height:"1em"})})});c.displayName="CloseButton"},50019:function(e,t,r){"use strict";r.d(t,{If:function(){return o},ff:function(){return a},kc:function(){return i}});var n=r(2784),i=(0,n.createContext)({});function o(){let e=(0,n.useContext)(i);if(void 0===e)throw Error("useColorMode must be used within a ColorModeProvider");return e}function a(e,t){let{colorMode:r}=o();return"dark"===r?t:e}i.displayName="ColorModeContext"},81550:function(e,t,r){"use strict";r.d(t,{n:function(){return y}});var n=r(2784),i=Object.defineProperty,o=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,a=(e,t,r)=>(o(e,"symbol"!=typeof t?t+"":t,r),r);function s(e){return e.sort((e,t)=>{let r=e.compareDocumentPosition(t);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return -1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(!(r&Node.DOCUMENT_POSITION_DISCONNECTED)&&!(r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC))return 0;throw Error("Cannot sort the given nodes.")})}var u=e=>"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function l(e,t,r){let n=e+1;return r&&n>=t&&(n=0),n}function c(e,t,r){let n=e-1;return r&&n<0&&(n=t),n}var d="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,h=e=>e,p=class{constructor(){a(this,"descendants",new Map),a(this,"register",e=>{if(null!=e)return u(e)?this.registerNode(e):t=>{this.registerNode(t,e)}}),a(this,"unregister",e=>{this.descendants.delete(e);let t=s(Array.from(this.descendants.keys()));this.assignIndex(t)}),a(this,"destroy",()=>{this.descendants.clear()}),a(this,"assignIndex",e=>{this.descendants.forEach(t=>{let r=e.indexOf(t.node);t.index=r,t.node.dataset.index=t.index.toString()})}),a(this,"count",()=>this.descendants.size),a(this,"enabledCount",()=>this.enabledValues().length),a(this,"values",()=>Array.from(this.descendants.values()).sort((e,t)=>e.index-t.index)),a(this,"enabledValues",()=>this.values().filter(e=>!e.disabled)),a(this,"item",e=>{if(0!==this.count())return this.values()[e]}),a(this,"enabledItem",e=>{if(0!==this.enabledCount())return this.enabledValues()[e]}),a(this,"first",()=>this.item(0)),a(this,"firstEnabled",()=>this.enabledItem(0)),a(this,"last",()=>this.item(this.descendants.size-1)),a(this,"lastEnabled",()=>{let e=this.enabledValues().length-1;return this.enabledItem(e)}),a(this,"indexOf",e=>{var t,r;return e&&null!=(r=null==(t=this.descendants.get(e))?void 0:t.index)?r:-1}),a(this,"enabledIndexOf",e=>null==e?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e))),a(this,"next",(e,t=!0)=>{let r=l(e,this.count(),t);return this.item(r)}),a(this,"nextEnabled",(e,t=!0)=>{let r=this.item(e);if(!r)return;let n=l(this.enabledIndexOf(r.node),this.enabledCount(),t);return this.enabledItem(n)}),a(this,"prev",(e,t=!0)=>{let r=c(e,this.count()-1,t);return this.item(r)}),a(this,"prevEnabled",(e,t=!0)=>{let r=this.item(e);if(!r)return;let n=c(this.enabledIndexOf(r.node),this.enabledCount()-1,t);return this.enabledItem(n)}),a(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;let r=s(Array.from(this.descendants.keys()).concat(e));(null==t?void 0:t.disabled)&&(t.disabled=!!t.disabled);let n={node:e,index:-1,...t};this.descendants.set(e,n),this.assignIndex(r)})}},f=r(9165),m=r(85244),[g,v]=(0,f.k)({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function y(){return[h(g),()=>h(v()),()=>(function(){let e=(0,n.useRef)(new p);return d(()=>()=>e.current.destroy()),e.current})(),e=>(function(e){let t=v(),[r,i]=(0,n.useState)(-1),o=(0,n.useRef)(null);d(()=>()=>{o.current&&t.unregister(o.current)},[]),d(()=>{if(!o.current)return;let e=Number(o.current.dataset.index);r==e||Number.isNaN(e)||i(e)});let a=e?h(t.register(e)):h(t.register);return{descendants:t,index:r,enabledIndex:t.enabledIndexOf(o.current),register:(0,m.lq)(a,o)}})(e)]}},75800:function(e,t,r){"use strict";function n(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function i(e){var t;if(!n(e))return!1;let r=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof r.HTMLElement}function o(e){var t,r;return null!=(r=null==(t=a(e))?void 0:t.defaultView)?r:window}function a(e){return n(e)?e.ownerDocument:document}function s(e){return a(e).activeElement}r.d(t,{Re:function(){return i},kR:function(){return o},vY:function(){return s}})},41741:function(e,t,r){"use strict";r.d(t,{EB:function(){return a},Wq:function(){return s}});var n=r(75800),i=e=>e.hasAttribute("tabindex"),o=e=>i(e)&&-1===e.tabIndex;function a(e){var t;if(!(0,n.Re)(e)||function e(t){return!!(t.parentElement&&e(t.parentElement))||t.hidden}(e)||!0==!!(t=e).getAttribute("disabled")||!0==!!t.getAttribute("aria-disabled"))return!1;let{localName:r}=e;if(["input","select","textarea","button"].indexOf(r)>=0)return!0;let o={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return r in o?o[r]():!!function(e){let t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||i(e)}function s(e){return!!e&&(0,n.Re)(e)&&a(e)&&!o(e)}},51905:function(e,t,r){"use strict";r.d(t,{t5:function(){return o}});var n=r(41741),i=e=>e.offsetWidth>0&&e.offsetHeight>0;function o(e){let t=Array.from(e.querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"));return t.unshift(e),t.filter(e=>(0,n.EB)(e)&&i(e))}},37285:function(e,t,r){"use strict";r.d(t,{i:function(){return n}});var n={fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent"}},64951:function(e,t,r){"use strict";r.d(t,{V:function(){return l}});var n=r(37285),i=r(95083),o=r(29058),a=r(59576),s=r(31053),u=r(52322),l=(0,o.G)(function(e,t){let{getInputProps:r}=(0,i.V)(),o=(0,i.d4)(),l=r(e,t),c=(0,s.cx)("chakra-editable__input",e.className);return(0,u.jsx)(a.m.input,{...l,__css:{outline:0,...n.i,...o.input},className:c})});l.displayName="EditableInput"},58905:function(e,t,r){"use strict";r.d(t,{C:function(){return y}});var n=r(76294),i=r(36140),o=r(3171),a=r(59572),s=r(85244),u=r(90359),l=r(31053),c=r(2784);function d(e,t){return!!e&&(e===t||e.contains(t))}var h=r(95083),p=r(29058),f=r(91982),m=r(84586),g=r(59576),v=r(52322),y=(0,p.G)(function(e,t){let r=(0,f.jC)("Editable",e),{htmlProps:p,...y}=function(e={}){let{onChange:t,onCancel:r,onSubmit:h,onBlur:p,value:f,isDisabled:m,defaultValue:g,startWithEditView:v,isPreviewFocusable:y=!0,submitOnBlur:b=!0,selectAllOnFocus:w=!0,placeholder:k,onEdit:x,finalFocusRef:_,...S}=e,E=(0,u.W)(x),D=!!(v&&!m),[C,j]=(0,c.useState)(D),[O,T]=(0,a.T)({defaultValue:g||"",value:f,onChange:t}),[A,P]=(0,c.useState)(O),R=(0,c.useRef)(null),M=(0,c.useRef)(null),F=(0,c.useRef)(null),N=(0,c.useRef)(null),I=(0,c.useRef)(null);(0,n.s)({ref:R,enabled:C,elements:[N,I]});let L=!C&&!m;(0,i.G)(()=>{var e,t;C&&(null==(e=R.current)||e.focus(),w&&(null==(t=R.current)||t.select()))},[]),(0,o.r)(()=>{var e,t,r,n;if(!C){_?null==(e=_.current)||e.focus():null==(t=F.current)||t.focus();return}null==(r=R.current)||r.focus(),w&&(null==(n=R.current)||n.select()),null==E||E()},[C,E,w]);let B=(0,c.useCallback)(()=>{L&&j(!0)},[L]),z=(0,c.useCallback)(()=>{P(O)},[O]),U=(0,c.useCallback)(()=>{j(!1),T(A),null==r||r(A),null==p||p(A)},[r,p,T,A]),q=(0,c.useCallback)(()=>{j(!1),P(O),null==h||h(O),null==p||p(A)},[O,h,p,A]);(0,c.useEffect)(()=>{if(C)return;let e=R.current;(null==e?void 0:e.ownerDocument.activeElement)===e&&(null==e||e.blur())},[C]);let $=(0,c.useCallback)(e=>{T(e.currentTarget.value)},[T]),H=(0,c.useCallback)(e=>{let t={Escape:U,Enter:e=>{e.shiftKey||e.metaKey||q()}}[e.key];t&&(e.preventDefault(),t(e))},[U,q]),V=(0,c.useCallback)(e=>{let t={Escape:U}[e.key];t&&(e.preventDefault(),t(e))},[U]),W=0===O.length,G=(0,c.useCallback)(e=>{var t;if(!C)return;let r=e.currentTarget.ownerDocument,n=null!=(t=e.relatedTarget)?t:r.activeElement,i=d(N.current,n),o=d(I.current,n);i||o||(b?q():U())},[b,q,U,C]),Y=(0,c.useCallback)((e={},t=null)=>{let r=L&&y?0:void 0;return{...e,ref:(0,s.lq)(t,M),children:W?k:O,hidden:C,"aria-disabled":(0,l.Qm)(m),tabIndex:r,onFocus:(0,l.v0)(e.onFocus,B,z)}},[m,C,L,y,W,B,z,k,O]),Z=(0,c.useCallback)((e={},t=null)=>({...e,hidden:!C,placeholder:k,ref:(0,s.lq)(t,R),disabled:m,"aria-disabled":(0,l.Qm)(m),value:O,onBlur:(0,l.v0)(e.onBlur,G),onChange:(0,l.v0)(e.onChange,$),onKeyDown:(0,l.v0)(e.onKeyDown,H),onFocus:(0,l.v0)(e.onFocus,z)}),[m,C,G,$,H,z,k,O]),K=(0,c.useCallback)((e={},t=null)=>({...e,hidden:!C,placeholder:k,ref:(0,s.lq)(t,R),disabled:m,"aria-disabled":(0,l.Qm)(m),value:O,onBlur:(0,l.v0)(e.onBlur,G),onChange:(0,l.v0)(e.onChange,$),onKeyDown:(0,l.v0)(e.onKeyDown,V),onFocus:(0,l.v0)(e.onFocus,z)}),[m,C,G,$,V,z,k,O]),J=(0,c.useCallback)((e={},t=null)=>({"aria-label":"Edit",...e,type:"button",onClick:(0,l.v0)(e.onClick,B),ref:(0,s.lq)(t,F),disabled:m}),[B,m]),X=(0,c.useCallback)((e={},t=null)=>({...e,"aria-label":"Submit",ref:(0,s.lq)(I,t),type:"button",onClick:(0,l.v0)(e.onClick,q),disabled:m}),[q,m]),Q=(0,c.useCallback)((e={},t=null)=>({"aria-label":"Cancel",id:"cancel",...e,ref:(0,s.lq)(N,t),type:"button",onClick:(0,l.v0)(e.onClick,U),disabled:m}),[U,m]);return{isEditing:C,isDisabled:m,isValueEmpty:W,value:O,onEdit:B,onCancel:U,onSubmit:q,getPreviewProps:Y,getInputProps:Z,getTextareaProps:K,getEditButtonProps:J,getSubmitButtonProps:X,getCancelButtonProps:Q,htmlProps:S}}((0,m.Lr)(e)),{isEditing:b,onSubmit:w,onCancel:k,onEdit:x}=y,_=(0,l.cx)("chakra-editable",e.className),S=(0,l.Pu)(e.children,{isEditing:b,onSubmit:w,onCancel:k,onEdit:x});return(0,v.jsx)(h.ZQ,{value:y,children:(0,v.jsx)(h.Me,{value:r,children:(0,v.jsx)(g.m.div,{ref:t,...p,className:_,children:S})})})});y.displayName="Editable"},75230:function(e,t,r){"use strict";r.d(t,{w:function(){return l}});var n=r(37285),i=r(95083),o=r(29058),a=r(59576),s=r(31053),u=r(52322),l=(0,o.G)(function(e,t){let{getPreviewProps:r}=(0,i.V)(),o=(0,i.d4)(),l=r(e,t),c=(0,s.cx)("chakra-editable__preview",e.className);return(0,u.jsx)(a.m.span,{...l,__css:{cursor:"text",display:"inline-block",...n.i,...o.preview},className:c})});l.displayName="EditablePreview"},95083:function(e,t,r){"use strict";r.d(t,{Me:function(){return i},V:function(){return s},ZQ:function(){return a},d4:function(){return o}});var n=r(9165),[i,o]=(0,n.k)({name:"EditableStylesContext",errorMessage:"useEditableStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Editable />\" "}),[a,s]=(0,n.k)({name:"EditableContext",errorMessage:"useEditableContext: context is undefined. Seems you forgot to wrap the editable components in `<Editable />`"})},76874:function(e,t,r){"use strict";r.d(t,{K:function(){return a},Y:function(){return o}});var n=r(35183),i=r(31053);function o(e){let{isDisabled:t,isInvalid:r,isReadOnly:n,isRequired:o,...s}=a(e);return{...s,disabled:t,readOnly:n,required:o,"aria-invalid":(0,i.Qm)(r),"aria-required":(0,i.Qm)(o),"aria-readonly":(0,i.Qm)(n)}}function a(e){var t,r,o;let a=(0,n.NJ)(),{id:s,disabled:u,readOnly:l,required:c,isRequired:d,isInvalid:h,isReadOnly:p,isDisabled:f,onFocus:m,onBlur:g,...v}=e,y=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==a?void 0:a.hasFeedbackText)&&(null==a?void 0:a.isInvalid)&&y.push(a.feedbackId),(null==a?void 0:a.hasHelpText)&&y.push(a.helpTextId),{...v,"aria-describedby":y.join(" ")||void 0,id:null!=s?s:null==a?void 0:a.id,isDisabled:null!=(t=null!=u?u:f)?t:null==a?void 0:a.isDisabled,isReadOnly:null!=(r=null!=l?l:p)?r:null==a?void 0:a.isReadOnly,isRequired:null!=(o=null!=c?c:d)?o:null==a?void 0:a.isRequired,isInvalid:null!=h?h:null==a?void 0:a.isInvalid,onFocus:(0,i.v0)(null==a?void 0:a.onFocus,m),onBlur:(0,i.v0)(null==a?void 0:a.onBlur,g)}}},35183:function(e,t,r){"use strict";r.d(t,{NI:function(){return g},NJ:function(){return m},e:function(){return p}});var n=r(9165),i=r(85244),o=r(29058),a=r(91982),s=r(84586),u=r(59576),l=r(31053),c=r(2784),d=r(52322),[h,p]=(0,n.k)({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[f,m]=(0,n.k)({strict:!1,name:"FormControlContext"}),g=(0,o.G)(function(e,t){let r=(0,a.jC)("Form",e),{getRootProps:n,htmlProps:o,...p}=function(e){let{id:t,isRequired:r,isInvalid:n,isDisabled:o,isReadOnly:a,...s}=e,u=(0,c.useId)(),d=t||`field-${u}`,h=`${d}-label`,p=`${d}-feedback`,f=`${d}-helptext`,[m,g]=(0,c.useState)(!1),[v,y]=(0,c.useState)(!1),[b,w]=(0,c.useState)(!1),k=(0,c.useCallback)((e={},t=null)=>({id:f,...e,ref:(0,i.lq)(t,e=>{e&&y(!0)})}),[f]),x=(0,c.useCallback)((e={},t=null)=>({...e,ref:t,"data-focus":(0,l.PB)(b),"data-disabled":(0,l.PB)(o),"data-invalid":(0,l.PB)(n),"data-readonly":(0,l.PB)(a),id:void 0!==e.id?e.id:h,htmlFor:void 0!==e.htmlFor?e.htmlFor:d}),[d,o,b,n,a,h]),_=(0,c.useCallback)((e={},t=null)=>({id:p,...e,ref:(0,i.lq)(t,e=>{e&&g(!0)}),"aria-live":"polite"}),[p]),S=(0,c.useCallback)((e={},t=null)=>({...e,...s,ref:t,role:"group","data-focus":(0,l.PB)(b),"data-disabled":(0,l.PB)(o),"data-invalid":(0,l.PB)(n),"data-readonly":(0,l.PB)(a)}),[s,o,b,n,a]);return{isRequired:!!r,isInvalid:!!n,isReadOnly:!!a,isDisabled:!!o,isFocused:!!b,onFocus:()=>w(!0),onBlur:()=>w(!1),hasFeedbackText:m,setHasFeedbackText:g,hasHelpText:v,setHasHelpText:y,id:d,labelId:h,feedbackId:p,helpTextId:f,htmlProps:s,getHelpTextProps:k,getErrorMessageProps:_,getRootProps:S,getLabelProps:x,getRequiredIndicatorProps:(0,c.useCallback)((e={},t=null)=>({...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"}),[])}}((0,s.Lr)(e)),m=(0,l.cx)("chakra-form-control",e.className);return(0,d.jsx)(f,{value:p,children:(0,d.jsx)(h,{value:r,children:(0,d.jsx)(u.m.div,{...n({},t),className:m,__css:r.container})})})});g.displayName="FormControl",(0,o.G)(function(e,t){let r=m(),n=p(),i=(0,l.cx)("chakra-form__helper-text",e.className);return(0,d.jsx)(u.m.div,{...null==r?void 0:r.getHelpTextProps(e,t),__css:n.helperText,className:i})}).displayName="FormHelperText"},97166:function(e,t,r){"use strict";r.d(t,{l:function(){return c}});var n=r(35183),i=r(29058),o=r(91982),a=r(84586),s=r(59576),u=r(31053),l=r(52322),c=(0,i.G)(function(e,t){var r;let i=(0,o.mq)("FormLabel",e),c=(0,a.Lr)(e),{className:h,children:p,requiredIndicator:f=(0,l.jsx)(d,{}),optionalIndicator:m=null,...g}=c,v=(0,n.NJ)(),y=null!=(r=null==v?void 0:v.getLabelProps(g,t))?r:{ref:t,...g};return(0,l.jsxs)(s.m.label,{...y,className:(0,u.cx)("chakra-form__label",c.className),__css:{display:"block",textAlign:"start",...i},children:[p,(null==v?void 0:v.isRequired)?f:m]})});c.displayName="FormLabel";var d=(0,i.G)(function(e,t){let r=(0,n.NJ)(),i=(0,n.e)();if(!(null==r?void 0:r.isRequired))return null;let o=(0,u.cx)("chakra-form__required-indicator",e.className);return(0,l.jsx)(s.m.span,{...null==r?void 0:r.getRequiredIndicatorProps(e,t),__css:i.requiredIndicator,className:o})});d.displayName="RequiredIndicator"},96860:function(e,t,r){"use strict";r.d(t,{Me:function(){return i}});var n=r(2784);function i(e,t){let r=(0,n.useId)();return(0,n.useMemo)(()=>e||[t,r].filter(Boolean).join("-"),[e,t,r])}},65610:function(e,t,r){"use strict";r.d(t,{r:function(){return i}});var n=r(2784),i=(e,t)=>{let r=(0,n.useRef)(!1),i=(0,n.useRef)(!1);(0,n.useEffect)(()=>{if(r.current&&i.current)return e();i.current=!0},t),(0,n.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])}},18292:function(e,t,r){"use strict";r.d(t,{q:function(){return s}});var n=r(96860),i=r(2784),o=r(33154),a=r(79729);function s(e={}){let{onClose:t,onOpen:r,isOpen:s,id:u}=e,l=(0,o.W)(r),c=(0,o.W)(t),[d,h]=(0,i.useState)(e.defaultIsOpen||!1),[p,f]=function(e,t){let r=void 0!==e;return[r,r&&void 0!==e?e:t]}(s,d),m=(0,n.Me)(u,"disclosure"),g=(0,i.useCallback)(()=>{p||h(!1),null==c||c()},[p,c]),v=(0,i.useCallback)(()=>{p||h(!0),null==l||l()},[p,l]),y=(0,i.useCallback)(()=>{(f?g:v)()},[f,v,g]);return{isOpen:!!f,onOpen:v,onClose:g,onToggle:y,isControlled:p,getButtonProps:(e={})=>({...e,"aria-expanded":f,"aria-controls":m,onClick:(0,a.v0)(e.onClick,y)}),getDisclosureProps:(e={})=>({...e,hidden:!f,id:m})}}},40853:function(e,t,r){"use strict";r.d(t,{O:function(){return a}});var n=r(33154),i=r(79729),o=r(2784);function a(e,t,r,a){let s=(0,n.W)(t);return(0,o.useEffect)(()=>{var n;let o=null!=(n=(0,i.Pu)(r))?n:document;if(t)return o.addEventListener(e,s,a),()=>{o.removeEventListener(e,s,a)}},[e,r,a,s,t]),()=>{var t;(null!=(t=(0,i.Pu)(r))?t:document).removeEventListener(e,s,a)}}},27988:function(e,t,r){"use strict";r.d(t,{q:function(){return i}});var n=r(2784);function i(...e){return(0,n.useMemo)(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{e&&function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(r){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}(e,t)})},e)}},33154:function(e,t,r){"use strict";r.d(t,{W:function(){return a}});var n=r(73200),i=r(2784),o=n.jU?i.useLayoutEffect:i.useEffect;function a(e,t=[]){let r=(0,i.useRef)(e);return o(()=>{r.current=e}),(0,i.useCallback)((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)},t)}},26284:function(e,t,r){"use strict";r.d(t,{V:function(){return o}});var n=r(2784),i=r(50381);function o(e,t={}){let[r,o]=(0,n.useState)(!1),[a,s]=(0,n.useState)(e);(0,n.useEffect)(()=>s(e),[e]);let{timeout:u=1500,...l}="number"==typeof t?{timeout:t}:t,c=(0,n.useCallback)(()=>{o(i(a,l))},[a,l]);return(0,n.useEffect)(()=>{let e=null;return r&&(e=window.setTimeout(()=>{o(!1)},u)),()=>{e&&window.clearTimeout(e)}},[u,r]),{value:a,setValue:s,onCopy:c,hasCopied:r}}},76643:function(e,t,r){"use strict";r.d(t,{O:function(){return a}});var n=r(33154),i=r(73200),o=r(2784);function a(e){let{ref:t,handler:r,enabled:a=!0}=e,u=(0,n.W)(r),l=(0,o.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,o.useEffect)(()=>{if(!a)return;let e=e=>{s(e,t)&&(l.isPointerDown=!0)},n=e=>{if(l.ignoreEmulatedMouseEvents){l.ignoreEmulatedMouseEvents=!1;return}l.isPointerDown&&r&&s(e,t)&&(l.isPointerDown=!1,u(e))},o=e=>{l.ignoreEmulatedMouseEvents=!0,r&&l.isPointerDown&&s(e,t)&&(l.isPointerDown=!1,u(e))},c=(0,i.lZ)(t.current);return c.addEventListener("mousedown",e,!0),c.addEventListener("mouseup",n,!0),c.addEventListener("touchstart",e,!0),c.addEventListener("touchend",o,!0),()=>{c.removeEventListener("mousedown",e,!0),c.removeEventListener("mouseup",n,!0),c.removeEventListener("touchstart",e,!0),c.removeEventListener("touchend",o,!0)}},[r,t,u,l,a])}function s(e,t){var r;let n=e.target;return(!n||!!(0,i.lZ)(n).contains(n))&&!(null==(r=t.current)?void 0:r.contains(n))}},62929:function(e,t,r){"use strict";r.d(t,{J:function(){return l}});var n=r(29058),i=r(91982),o=r(59576),a=r(31053),s=r(52322),u={path:(0,s.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,s.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,s.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,s.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},l=(0,n.G)((e,t)=>{let{as:r,viewBox:n,color:l="currentColor",focusable:c=!1,children:d,className:h,__css:p,...f}=e,m=(0,a.cx)("chakra-icon",h),g=(0,i.mq)("Icon",e),v={ref:t,focusable:c,className:m,__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:l,...p,...g}},y=null!=n?n:u.viewBox;if(r&&"string"!=typeof r)return(0,s.jsx)(o.m.svg,{as:r,...v,...f});let b=null!=d?d:u.path;return(0,s.jsx)(o.m.svg,{verticalAlign:"middle",viewBox:y,...v,...f,children:b})});l.displayName="Icon"},29705:function(e,t,r){"use strict";r.d(t,{h:function(){return o}});var n=r(67012),i=r(52322),o=(0,n.I)({displayName:"ExternalLinkIcon",path:(0,i.jsxs)("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",children:[(0,i.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,i.jsx)("path",{d:"M15 3h6v6"}),(0,i.jsx)("path",{d:"M10 14L21 3"})]})})},82642:function(e,t,r){"use strict";r.d(t,{T:function(){return n}});var n=(0,r(67012).I)({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})},33570:function(e,t,r){"use strict";r.d(t,{X:function(){return n}});var n=(0,r(67012).I)({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"})},56581:function(e,t,r){"use strict";r.d(t,{n:function(){return o}});var n=r(67012),i=r(52322),o=(0,n.I)({viewBox:"0 0 14 14",path:(0,i.jsx)("g",{fill:"currentColor",children:(0,i.jsx)("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})})})},83906:function(e,t,r){"use strict";r.d(t,{v:function(){return n}});var n=(0,r(67012).I)({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})},46949:function(e,t,r){"use strict";r.d(t,{W:function(){return n}});var n=(0,r(67012).I)({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"})},69339:function(e,t,r){"use strict";r.d(t,{w:function(){return n}});var n=(0,r(67012).I)({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"})},67012:function(e,t,r){"use strict";r.d(t,{I:function(){return d}});var n=r(29058),i=r(91982),o=r(59576),a=r(31053),s=r(52322),u={path:(0,s.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,s.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,s.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,s.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},l=(0,n.G)((e,t)=>{let{as:r,viewBox:n,color:l="currentColor",focusable:c=!1,children:d,className:h,__css:p,...f}=e,m=(0,a.cx)("chakra-icon",h),g=(0,i.mq)("Icon",e),v={ref:t,focusable:c,className:m,__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:l,...p,...g}},y=null!=n?n:u.viewBox;if(r&&"string"!=typeof r)return(0,s.jsx)(o.m.svg,{as:r,...v,...f});let b=null!=d?d:u.path;return(0,s.jsx)(o.m.svg,{verticalAlign:"middle",viewBox:y,...v,...f,children:b})});l.displayName="Icon";var c=r(2784);function d(e){let{viewBox:t="0 0 24 24",d:r,displayName:i,defaultProps:o={}}=e,a=c.Children.toArray(e.path),u=(0,n.G)((e,n)=>(0,s.jsx)(l,{ref:n,viewBox:t,...o,...e,children:a.length?a:(0,s.jsx)("path",{fill:"currentColor",d:r})}));return u.displayName=i,u}},75009:function(e,t,r){"use strict";r.d(t,{E:function(){return u}});var n=r(29058),i=r(52322),o=(0,n.G)(function(e,t){let{htmlWidth:r,htmlHeight:n,alt:o,...a}=e;return(0,i.jsx)("img",{width:r,height:n,ref:t,alt:o,...a})});o.displayName="NativeImage";var a=r(15596),s=r(59576),u=(0,n.G)(function(e,t){let{fallbackSrc:r,fallback:n,src:u,srcSet:l,align:c,fit:d,loading:h,ignoreFallback:p,crossOrigin:f,fallbackStrategy:m="beforeLoadOrError",referrerPolicy:g,...v}=e,y=void 0!==r||void 0!==n,b=null!=h||p||!y,w=(0,a.d)({...e,crossOrigin:f,ignoreFallback:b}),k=(0,a.z)(w,m),x={ref:t,objectFit:d,objectPosition:c,...b?v:function(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}(v,["onError","onLoad"])};return k?n||(0,i.jsx)(s.m.img,{as:o,className:"chakra-image__placeholder",src:r,...x}):(0,i.jsx)(s.m.img,{as:o,src:u,srcSet:l,crossOrigin:f,loading:h,referrerPolicy:g,className:"chakra-image",...x})});u.displayName="Image"},15596:function(e,t,r){"use strict";r.d(t,{d:function(){return o},z:function(){return a}});var n=r(36140),i=r(2784);function o(e){let{loading:t,src:r,srcSet:o,onLoad:a,onError:s,crossOrigin:u,sizes:l,ignoreFallback:c}=e,[d,h]=(0,i.useState)("pending");(0,i.useEffect)(()=>{h(r?"loading":"pending")},[r]);let p=(0,i.useRef)(),f=(0,i.useCallback)(()=>{if(!r)return;m();let e=new Image;e.src=r,u&&(e.crossOrigin=u),o&&(e.srcset=o),l&&(e.sizes=l),t&&(e.loading=t),e.onload=e=>{m(),h("loaded"),null==a||a(e)},e.onerror=e=>{m(),h("failed"),null==s||s(e)},p.current=e},[r,u,o,l,a,s,t]),m=()=>{p.current&&(p.current.onload=null,p.current.onerror=null,p.current=null)};return(0,n.G)(()=>{if(!c)return"loading"===d&&f(),()=>{m()}},[d,f,c]),c?"loaded":d}var a=(e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t},20816:function(e,t,r){"use strict";r.d(t,{Z:function(){return c},x:function(){return d}});var n=r(74105),i=r(59576),o=r(29058),a=r(31053),s=r(52322),u=(0,i.m)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),l=(0,o.G)(function(e,t){var r,i;let{placement:o="left",...a}=e,l=(0,n.m)(),c=l.field,d={["left"===o?"insetStart":"insetEnd"]:"0",width:null!=(r=null==c?void 0:c.height)?r:null==c?void 0:c.h,height:null!=(i=null==c?void 0:c.height)?i:null==c?void 0:c.h,fontSize:null==c?void 0:c.fontSize,...l.element};return(0,s.jsx)(u,{ref:t,__css:d,...a})});l.id="InputElement",l.displayName="InputElement";var c=(0,o.G)(function(e,t){let{className:r,...n}=e,i=(0,a.cx)("chakra-input__left-element",r);return(0,s.jsx)(l,{ref:t,placement:"left",className:i,...n})});c.id="InputLeftElement",c.displayName="InputLeftElement";var d=(0,o.G)(function(e,t){let{className:r,...n}=e,i=(0,a.cx)("chakra-input__right-element",r);return(0,s.jsx)(l,{ref:t,placement:"right",className:i,...n})});d.id="InputRightElement",d.displayName="InputRightElement"},85573:function(e,t,r){"use strict";r.d(t,{I:function(){return c}});var n=r(76874),i=r(29058),o=r(91982),a=r(84586),s=r(59576),u=r(31053),l=r(52322),c=(0,i.G)(function(e,t){let{htmlSize:r,...i}=e,c=(0,o.jC)("Input",i),d=(0,a.Lr)(i),h=(0,n.Y)(d),p=(0,u.cx)("chakra-input",e.className);return(0,l.jsx)(s.m.input,{size:r,...h,__css:c.field,ref:t,className:p})});c.displayName="Input",c.id="Input"},92768:function(e,t,r){"use strict";r.d(t,{xW:function(){return h}});var n=r(74105),i=r(59576),o=r(29058),a=r(31053),s=r(52322),u={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},l=(0,i.m)("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),c=(0,o.G)(function(e,t){var r;let{placement:i="left",...o}=e,a=null!=(r=u[i])?r:{},c=(0,n.m)();return(0,s.jsx)(l,{ref:t,...o,__css:{...c.addon,...a}})});c.displayName="InputAddon";var d=(0,o.G)(function(e,t){return(0,s.jsx)(c,{ref:t,placement:"left",...e,className:(0,a.cx)("chakra-input__left-addon",e.className)})});d.displayName="InputLeftAddon",d.id="InputLeftAddon";var h=(0,o.G)(function(e,t){return(0,s.jsx)(c,{ref:t,placement:"right",...e,className:(0,a.cx)("chakra-input__right-addon",e.className)})});h.displayName="InputRightAddon",h.id="InputRightAddon"},74105:function(e,t,r){"use strict";r.d(t,{B:function(){return m},m:function(){return f}});var n=r(9165),i=r(25578),o=r(29058),a=r(91982),s=r(84586),u=r(59576),l=r(31053),c=r(49),d=r(2784),h=r(52322),[p,f]=(0,n.k)({name:"InputGroupStylesContext",errorMessage:"useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<InputGroup />\" "}),m=(0,o.G)(function(e,t){let r=(0,a.jC)("Input",e),{children:n,className:o,...f}=(0,s.Lr)(e),m=(0,l.cx)("chakra-input__group",o),g={},v=(0,i.W)(n),y=r.field;v.forEach(e=>{var t,n;r&&(y&&"InputLeftElement"===e.type.id&&(g.paddingStart=null!=(t=y.height)?t:y.h),y&&"InputRightElement"===e.type.id&&(g.paddingEnd=null!=(n=y.height)?n:y.h),"InputRightAddon"===e.type.id&&(g.borderEndRadius=0),"InputLeftAddon"===e.type.id&&(g.borderStartRadius=0))});let b=v.map(t=>{var r,n;let i=(0,c.o)({size:(null==(r=t.props)?void 0:r.size)||e.size,variant:(null==(n=t.props)?void 0:n.variant)||e.variant});return"Input"!==t.type.id?(0,d.cloneElement)(t,i):(0,d.cloneElement)(t,Object.assign(i,g,t.props))});return(0,h.jsx)(u.m.div,{className:m,ref:t,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate",...r.group},"data-group":!0,...f,children:(0,h.jsx)(p,{value:r,children:b})})});m.displayName="InputGroup"},77533:function(e,t,r){"use strict";r.d(t,{x:function(){return c}});var n=r(29058),i=r(91982),o=r(84586),a=r(59576),s=r(31053),u=r(49),l=r(52322),c=(0,n.G)(function(e,t){let r=(0,i.mq)("Text",e),{className:n,align:c,decoration:d,casing:h,...p}=(0,o.Lr)(e),f=(0,u.o)({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,l.jsx)(a.m.p,{ref:t,className:(0,s.cx)("chakra-text",e.className),...f,...p,__css:r})});c.displayName="Text"},29117:function(e,t,r){"use strict";r.d(t,{U:function(){return a}});var n=r(43297),i=r(29058),o=r(52322),a=(0,i.G)((e,t)=>(0,o.jsx)(n.K,{align:"center",...e,direction:"row",ref:t}));a.displayName="HStack"},97010:function(e,t,r){"use strict";r.d(t,{HC:function(){return m},QI:function(){return f},aV:function(){return p}});var n=r(62929),i=r(9165),o=r(25578),a=r(29058),s=r(91982),u=r(84586),l=r(59576),c=r(52322),[d,h]=(0,i.k)({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<List />\" "}),p=(0,a.G)(function(e,t){let r=(0,s.jC)("List",e),{children:n,styleType:i="none",stylePosition:a,spacing:h,...p}=(0,u.Lr)(e),f=(0,o.W)(n);return(0,c.jsx)(d,{value:r,children:(0,c.jsx)(l.m.ul,{ref:t,listStyleType:i,listStylePosition:a,role:"list",__css:{...r.container,...h?{"& > *:not(style) ~ *:not(style)":{mt:h}}:{}},...p,children:f})})});p.displayName="List",(0,a.G)((e,t)=>{let{as:r,...n}=e;return(0,c.jsx)(p,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...n})}).displayName="OrderedList";var f=(0,a.G)(function(e,t){let{as:r,...n}=e;return(0,c.jsx)(p,{ref:t,as:"ul",styleType:"initial",marginStart:"1em",...n})});f.displayName="UnorderedList";var m=(0,a.G)(function(e,t){let r=h();return(0,c.jsx)(l.m.li,{ref:t,...e,__css:r.item})});m.displayName="ListItem",(0,a.G)(function(e,t){let r=h();return(0,c.jsx)(n.J,{ref:t,role:"presentation",...e,__css:r.icon})}).displayName="ListIcon"},17190:function(e,t,r){"use strict";r.d(t,{W:function(){return l}});var n=r(29058),i=r(84586),o=r(91982),a=r(59576),s=r(31053),u=r(52322),l=(0,n.G)(function(e,t){let{className:r,centerContent:n,...l}=(0,i.Lr)(e),c=(0,o.mq)("Container",e);return(0,u.jsx)(a.m.div,{ref:t,className:(0,s.cx)("chakra-container",r),...l,__css:{...c,...n&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});l.displayName="Container"},89099:function(e,t,r){"use strict";r.d(t,{E:function(){return u},U:function(){return l}});var n=r(31053),i=r(29058),o=r(59576),a=r(2784),s=r(52322),u=(0,i.G)(function(e,t){let{spacing:r="0.5rem",spacingX:i,spacingY:u,children:c,justify:d,direction:h,align:p,className:f,shouldWrapChildren:m,...g}=e,v=(0,a.useMemo)(()=>m?a.Children.map(c,(e,t)=>(0,s.jsx)(l,{children:e},t)):c,[c,m]);return(0,s.jsx)(o.m.div,{ref:t,className:(0,n.cx)("chakra-wrap",f),...g,children:(0,s.jsx)(o.m.ul,{className:"chakra-wrap__list",__css:{display:"flex",flexWrap:"wrap",justifyContent:d,alignItems:p,flexDirection:h,listStyleType:"none",gap:r,columnGap:i,rowGap:u,padding:"0"},children:v})})});u.displayName="Wrap";var l=(0,i.G)(function(e,t){let{className:r,...i}=e;return(0,s.jsx)(o.m.li,{ref:t,__css:{display:"flex",alignItems:"flex-start"},className:(0,n.cx)("chakra-wrap__listitem",r),...i})});l.displayName="WrapItem"},74409:function(e,t,r){"use strict";r.d(t,{X:function(){return l}});var n=r(29058),i=r(91982),o=r(84586),a=r(59576),s=r(31053),u=r(52322),l=(0,n.G)(function(e,t){let r=(0,i.mq)("Heading",e),{className:n,...l}=(0,o.Lr)(e);return(0,u.jsx)(a.m.h2,{ref:t,className:(0,s.cx)("chakra-heading",e.className),...l,__css:r})});l.displayName="Heading"},36474:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});var n=(0,r(59576).m)("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});n.displayName="Spacer"},5740:function(e,t,r){"use strict";r.d(t,{T:function(){return l}});var n=r(29058),i=r(91982),o=r(84586),a=r(59576),s=r(31053),u=r(52322),l=(0,n.G)(function(e,t){let r=(0,i.mq)("Kbd",e),{className:n,...l}=(0,o.Lr)(e);return(0,u.jsx)(a.m.kbd,{ref:t,className:(0,s.cx)("chakra-kbd",n),...l,__css:{fontFamily:"mono",...r}})});l.displayName="Kbd"},42822:function(e,t,r){"use strict";r.d(t,{M:function(){return a}});var n=r(59576),i=r(29058),o=r(52322),a=(0,n.m)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});a.displayName="Center";var s={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};(0,i.G)(function(e,t){let{axis:r="both",...i}=e;return(0,o.jsx)(n.m.div,{ref:t,__css:s[r],...i,position:"absolute"})})},69251:function(e,t,r){"use strict";r.d(t,{r:function(){return a}});var n=r(29058),i=r(59576),o=r(52322),a=(0,n.G)(function(e,t){let{templateAreas:r,gap:n,rowGap:a,columnGap:s,column:u,row:l,autoFlow:c,autoRows:d,templateRows:h,autoColumns:p,templateColumns:f,...m}=e;return(0,o.jsx)(i.m.div,{ref:t,__css:{display:"grid",gridTemplateAreas:r,gridGap:n,gridRowGap:a,gridColumnGap:s,gridAutoColumns:p,gridColumn:u,gridRow:l,gridAutoFlow:c,gridAutoRows:d,gridTemplateRows:h,gridTemplateColumns:f},...m})});a.displayName="Grid"},11082:function(e,t,r){"use strict";r.d(t,{r:function(){return l}});var n=r(29058),i=r(91982),o=r(84586),a=r(59576),s=r(31053),u=r(52322),l=(0,n.G)(function(e,t){let r=(0,i.mq)("Link",e),{className:n,isExternal:l,...c}=(0,o.Lr)(e);return(0,u.jsx)(a.m.a,{target:l?"_blank":void 0,rel:l?"noopener":void 0,ref:t,className:(0,s.cx)("chakra-link",n),...c,__css:r})});l.displayName="Link"},38035:function(e,t,r){"use strict";r.d(t,{k:function(){return a}});var n=r(29058),i=r(59576),o=r(52322),a=(0,n.G)(function(e,t){let{direction:r,align:n,justify:a,wrap:s,basis:u,grow:l,shrink:c,...d}=e;return(0,o.jsx)(i.m.div,{ref:t,__css:{display:"flex",flexDirection:r,alignItems:n,justifyContent:a,flexWrap:s,flexBasis:u,flexGrow:l,flexShrink:c},...d})});a.displayName="Flex"},62453:function(e,t,r){"use strict";r.d(t,{c:function(){return o}});var n=r(59576),i=r(52322),o=e=>(0,i.jsx)(n.m.div,{className:"chakra-stack__divider",...e,__css:{...e.__css,borderWidth:0,alignSelf:"stretch",borderColor:"inherit",width:"auto",height:"auto"}});o.displayName="StackDivider"},44438:function(e,t,r){"use strict";r.d(t,{E:function(){return l}});var n=r(29058),i=r(91982),o=r(84586),a=r(59576),s=r(31053),u=r(52322),l=(0,n.G)(function(e,t){let r=(0,i.mq)("Code",e),{className:n,...l}=(0,o.Lr)(e);return(0,u.jsx)(a.m.code,{ref:t,className:(0,s.cx)("chakra-code",e.className),...l,__css:{display:"inline-block",...r}})});l.displayName="Code"},20437:function(e,t,r){"use strict";r.d(t,{M:function(){return l}});var n=r(69251),i=r(29058),o=r(91148),a=r(48929),s=r(49456),u=r(52322),l=(0,i.G)(function(e,t){let{columns:r,spacingX:i,spacingY:l,spacing:c,minChildWidth:d,...h}=e,p=(0,o.F)(),f=d?(0,s.XQ)(d,e=>{let t=(0,a.LP)("sizes",e,"number"==typeof e?`${e}px`:e)(p);return null===e?null:`repeat(auto-fit, minmax(${t}, 1fr))`}):(0,s.XQ)(r,e=>null===e?null:`repeat(${e}, minmax(0, 1fr))`);return(0,u.jsx)(n.r,{ref:t,gap:c,columnGap:i,rowGap:l,templateColumns:f,...h})});l.displayName="SimpleGrid"},11881:function(e,t,r){"use strict";r.d(t,{A:function(){return s},f:function(){return u}});var n=r(29058),i=r(59576),o=r(31053),a=r(52322),s=(0,n.G)(function(e,t){let{isExternal:r,target:n,rel:s,className:u,...l}=e;return(0,a.jsx)(i.m.a,{...l,ref:t,className:(0,o.cx)("chakra-linkbox__overlay",u),rel:r?"noopener noreferrer":s,target:r?"_blank":n,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})}),u=(0,n.G)(function(e,t){let{className:r,...n}=e;return(0,a.jsx)(i.m.div,{ref:t,position:"relative",...n,className:(0,o.cx)("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})})},17993:function(e,t,r){"use strict";r.d(t,{g:function(){return a}});var n=r(43297),i=r(29058),o=r(52322),a=(0,i.G)((e,t)=>(0,o.jsx)(n.K,{align:"center",...e,direction:"column",ref:t}));a.displayName="VStack"},28535:function(e,t,r){"use strict";r.d(t,{Cd:function(){return u},xu:function(){return a}});var n=r(59576),i=r(29058),o=r(52322),a=(0,n.m)("div");a.displayName="Box";var s=(0,i.G)(function(e,t){let{size:r,centerContent:n=!0,...i}=e;return(0,o.jsx)(a,{ref:t,boxSize:r,__css:{...n?{display:"flex",alignItems:"center",justifyContent:"center"}:{},flexShrink:0,flexGrow:0},...i})});s.displayName="Square";var u=(0,i.G)(function(e,t){let{size:r,...n}=e;return(0,o.jsx)(s,{size:r,ref:t,borderRadius:"9999px",...n})});u.displayName="Circle"},74008:function(e,t,r){"use strict";r.d(t,{i:function(){return l}});var n=r(29058),i=r(91982),o=r(84586),a=r(59576),s=r(31053),u=r(52322),l=(0,n.G)(function(e,t){let{borderLeftWidth:r,borderBottomWidth:n,borderTopWidth:l,borderRightWidth:c,borderWidth:d,borderStyle:h,borderColor:p,...f}=(0,i.mq)("Divider",e),{className:m,orientation:g="horizontal",__css:v,...y}=(0,o.Lr)(e);return(0,u.jsx)(a.m.hr,{ref:t,"aria-orientation":g,...y,__css:{...f,border:"0",borderColor:p,borderStyle:h,...{vertical:{borderLeftWidth:r||c||d||"1px",height:"100%"},horizontal:{borderBottomWidth:n||l||d||"1px",width:"100%"}}[g],...v},className:(0,s.cx)("chakra-divider",m)})});l.displayName="Divider"},82554:function(e,t,r){"use strict";r.d(t,{C:function(){return l}});var n=r(29058),i=r(91982),o=r(84586),a=r(59576),s=r(31053),u=r(52322),l=(0,n.G)(function(e,t){let r=(0,i.mq)("Badge",e),{className:n,...l}=(0,o.Lr)(e);return(0,u.jsx)(a.m.span,{ref:t,className:(0,s.cx)("chakra-badge",e.className),...l,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});l.displayName="Badge"},43297:function(e,t,r){"use strict";r.d(t,{K:function(){return d}});var n=r(59576),i=r(52322),o=e=>(0,i.jsx)(n.m.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});o.displayName="StackItem";var a=r(49456),s=r(25578),u=r(31053),l=r(29058),c=r(2784),d=(0,l.G)((e,t)=>{let{isInline:r,direction:l,align:d,justify:h,spacing:p="0.5rem",wrap:f,children:m,divider:g,className:v,shouldWrapChildren:y,...b}=e,w=r?"row":null!=l?l:"column",k=(0,c.useMemo)(()=>(function(e){let{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(0,a.XQ)(r,e=>n[e])}})({spacing:p,direction:w}),[p,w]),x=!!g,_=!y&&!x,S=(0,c.useMemo)(()=>{let e=(0,s.W)(m);return _?e:e.map((t,r)=>{let n=void 0!==t.key?t.key:r,a=r+1===e.length,s=(0,i.jsx)(o,{children:t},n),u=y?s:t;if(!x)return u;let l=(0,c.cloneElement)(g,{__css:k});return(0,i.jsxs)(c.Fragment,{children:[u,a?null:l]},n)})},[g,k,x,_,y,m]),E=(0,u.cx)("chakra-stack",v);return(0,i.jsx)(n.m.div,{ref:t,display:"flex",alignItems:d,justifyContent:h,flexDirection:w,flexWrap:f,gap:x?void 0:p,className:E,...b,children:S})});d.displayName="Stack"},30523:function(e,t,r){"use strict";r.d(t,{P:function(){return l}});var n=r(29058),i=r(59576),o=r(49),a=r(49456),s=r(52322);function u(e){return(0,a.XQ)(e,e=>"auto"===e?"auto":`span ${e}/span ${e}`)}var l=(0,n.G)(function(e,t){let{area:r,colSpan:n,colStart:a,colEnd:l,rowEnd:c,rowSpan:d,rowStart:h,...p}=e,f=(0,o.o)({gridArea:r,gridColumn:u(n),gridRow:u(d),gridColumnStart:a,gridColumnEnd:l,gridRowStart:h,gridRowEnd:c});return(0,s.jsx)(i.m.div,{ref:t,__css:f,...p})});l.displayName="GridItem"},82729:function(e,t,r){"use strict";r.d(t,{o:function(){return l}});var n=r(29058),i=r(59576),o=r(49456),a=r(31053),s=r(2784),u=r(52322),l=(0,n.G)(function(e,t){let{ratio:r=4/3,children:n,className:l,...c}=e,d=s.Children.only(n),h=(0,a.cx)("chakra-aspect-ratio",l);return(0,u.jsx)(i.m.div,{ref:t,position:"relative",className:h,_before:{height:0,content:'""',display:"block",paddingBottom:(0,o.XQ)(r,e=>`${1/e*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...c,children:d})});l.displayName="AspectRatio"},4028:function(e,t,r){"use strict";function n(e){let{wasSelected:t,enabled:r,isSelected:n,mode:i="unmount"}=e;return!r||!!n||"keepMounted"===i&&!!t}r.d(t,{k:function(){return n}})},94207:function(e,t,r){"use strict";r.d(t,{a:function(){return o}});var n=r(38317),i=r(2784);function o(e,t={}){let{ssr:r=!0,fallback:o}=t,{getWindow:a}=(0,n.O)(),s=Array.isArray(e)?e:[e],u=Array.isArray(o)?o:[o];u=u.filter(e=>null!=e);let[l,c]=(0,i.useState)(()=>s.map((e,t)=>({media:e,matches:r?!!u[t]:a().matchMedia(e).matches})));return(0,i.useEffect)(()=>{let e=a();c(s.map(t=>({media:t,matches:e.matchMedia(t).matches})));let t=s.map(t=>e.matchMedia(t)),r=e=>{c(t=>t.slice().map(t=>t.media===e.media?{...t,matches:e.matches}:t))};return t.forEach(e=>{"function"==typeof e.addListener?e.addListener(r):e.addEventListener("change",r)}),()=>{t.forEach(e=>{"function"==typeof e.removeListener?e.removeListener(r):e.removeEventListener("change",r)})}},[a]),l.map(e=>e.matches)}},24772:function(e,t,r){"use strict";r.d(t,{S:function(){return s}});var n=r(49456),i=r(94207),o=r(91148),a=r(31053);function s(e,t){var r;let s=function(e){var t,r;let n=(0,a.Kn)(e)?e:{fallback:null!=e?e:"base"},s=(0,o.F)().__breakpoints.details.map(({minMaxQuery:e,breakpoint:t})=>({breakpoint:t,query:e.replace("@media screen and ","")})),u=s.map(e=>e.breakpoint===n.fallback),l=(0,i.a)(s.map(e=>e.query),{fallback:u,ssr:n.ssr}).findIndex(e=>!0==e);return null!=(r=null==(t=s[l])?void 0:t.breakpoint)?r:n.fallback}((0,a.Kn)(t)?t:{fallback:null!=t?t:"base"}),u=(0,o.F)();if(!s)return;let l=Array.from((null==(r=u.__breakpoints)?void 0:r.keys)||[]);return function(e,t,r=n.AV){let i=Object.keys(e).indexOf(t);if(-1!==i)return e[t];let o=r.indexOf(t);for(;o>=0;){let t=r[o];if(e.hasOwnProperty(t)){i=o;break}o-=1}if(-1!==i)return e[r[i]]}(Array.isArray(e)?Object.fromEntries(Object.entries((0,n.Yq)(e,l)).map(([e,t])=>[e,t])):e,s,l)}},25481:function(e,t,r){"use strict";r.d(t,{s:function(){return h}});var n=r(10625),i=r(29058),o=r(59576),a=r(52322),s=(0,i.G)((e,t)=>{let r=(0,n.x)();return(0,a.jsx)(o.m.span,{ref:t,...e,__css:r.command,className:"chakra-menu__command"})});s.displayName="MenuCommand";var u=r(57442),l=r(32509),c=r(35743),d=r(31053),h=(0,i.G)((e,t)=>{let{icon:r,iconSpacing:n="0.75rem",command:i,commandSpacing:o="0.75rem",children:h,...p}=e,f=(0,c.iX)(p,t),m=r||i?(0,a.jsx)("span",{style:{pointerEvents:"none",flex:1},children:h}):h;return(0,a.jsxs)(u.C,{...f,className:(0,d.cx)("chakra-menu__menuitem",f.className),children:[r&&(0,a.jsx)(l.O,{fontSize:"0.8em",marginEnd:n,children:r}),m,i&&(0,a.jsx)(s,{marginStart:o,children:i})]})});h.displayName="MenuItem"},99058:function(e,t,r){"use strict";r.d(t,{q:function(){return h}});var n=r(10625),i=r(35743),o=r(31053),a=r(59576),s=r(29058),u=r(7165),l=r(52322),c={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},d=(0,a.m)(u.E.div),h=(0,s.G)(function(e,t){var r,s;let{rootProps:u,motionProps:h,...p}=e,{isOpen:f,onTransitionEnd:m,unstable__animationState:g}=(0,i.Xh)(),v=(0,i._l)(p,t),y=(0,i.Qh)(u),b=(0,n.x)();return(0,l.jsx)(a.m.div,{...y,__css:{zIndex:null!=(s=e.zIndex)?s:null==(r=b.list)?void 0:r.zIndex},children:(0,l.jsx)(d,{variants:c,initial:!1,animate:f?"enter":"exit",__css:{outline:0,...b.list},...h,className:(0,o.cx)("chakra-menu__menu-list",v.className),...v,onUpdate:m,onAnimationComplete:(0,o.PP)(g.onComplete,v.onAnimationComplete)})})});h.displayName="MenuList"},39237:function(e,t,r){"use strict";r.d(t,{i:function(){return c}});var n=r(57442),i=r(32509),o=r(35743),a=r(29058),s=r(31053),u=r(52322),l=e=>(0,u.jsx)("svg",{viewBox:"0 0 14 14",width:"1em",height:"1em",...e,children:(0,u.jsx)("polygon",{fill:"currentColor",points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})}),c=(0,a.G)((e,t)=>{let{icon:r,iconSpacing:a="0.75rem",...c}=e,d=(0,o.gO)(c,t);return(0,u.jsxs)(n.C,{...d,className:(0,s.cx)("chakra-menu__menuitem-option",c.className),children:[null!==r&&(0,u.jsx)(i.O,{fontSize:"0.8em",marginEnd:a,opacity:e.isChecked?1:0,children:r||(0,u.jsx)(l,{})}),(0,u.jsx)("span",{style:{flex:1},children:d.children})]})});c.id="MenuItemOption",c.displayName="MenuItemOption"},27599:function(e,t,r){"use strict";r.d(t,{R:function(){return s}});var n=r(10625),i=r(59576),o=r(31053),a=r(52322),s=e=>{let{className:t,...r}=e,s=(0,n.x)();return(0,a.jsx)(i.m.hr,{"aria-orientation":"horizontal",className:(0,o.cx)("chakra-menu__divider",t),...r,__css:s.divider})};s.displayName="MenuDivider"},32509:function(e,t,r){"use strict";r.d(t,{O:function(){return u}});var n=r(10625),i=r(59576),o=r(31053),a=r(2784),s=r(52322),u=e=>{let{className:t,children:r,...u}=e,l=(0,n.x)(),c=a.Children.only(r),d=(0,a.isValidElement)(c)?(0,a.cloneElement)(c,{focusable:"false","aria-hidden":!0,className:(0,o.cx)("chakra-menu__icon",c.props.className)}):null,h=(0,o.cx)("chakra-menu__icon-wrapper",t);return(0,s.jsx)(i.m.span,{className:h,...u,__css:l.icon,children:d})};u.displayName="MenuIcon"},44035:function(e,t,r){"use strict";r.d(t,{_:function(){return s}});var n=r(69024),i=r(35743),o=r(31053),a=r(52322),s=e=>{let{className:t,title:r,...s}=e,u=(0,i.Vg)(s);return(0,a.jsx)(n.k,{title:r,className:(0,o.cx)("chakra-menu__option-group",t),...u})};s.displayName="MenuOptionGroup"},57442:function(e,t,r){"use strict";r.d(t,{C:function(){return u}});var n=r(10625),i=r(29058),o=r(59576),a=r(2784),s=r(52322),u=(0,i.G)((e,t)=>{let{type:r,...i}=e,u=(0,n.x)(),l=i.as||r?null!=r?r:void 0:"button",c=(0,a.useMemo)(()=>({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0,...u.item}),[u.item]);return(0,s.jsx)(o.m.button,{ref:t,type:l,...i,__css:c})})},69024:function(e,t,r){"use strict";r.d(t,{k:function(){return u}});var n=r(10625),i=r(29058),o=r(59576),a=r(31053),s=r(52322),u=(0,i.G)((e,t)=>{let{title:r,children:i,className:u,...l}=e,c=(0,a.cx)("chakra-menu__group__title",u),d=(0,n.x)();return(0,s.jsxs)("div",{ref:t,className:"chakra-menu__group",role:"group",children:[r&&(0,s.jsx)(o.m.p,{className:c,...l,__css:d.groupTitle,children:r}),i]})});u.displayName="MenuGroup"},35743:function(e,t,r){"use strict";r.d(t,{wN:function(){return w},Kb:function(){return S},H9:function(){return j},zZ:function(){return O},Xh:function(){return E},iX:function(){return R},_l:function(){return A},gO:function(){return M},Vg:function(){return F},Qh:function(){return P}});var n=r(2784),i=r(30350),o=r(81550),a=r(23964),s=r(70339),u=r(36502),l=r(90359);function c(e,t){var r;let n=e.target;return(!n||!!d(n).contains(n))&&!(null==(r=t.current)?void 0:r.contains(n))}function d(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}var h=r(87053),p=r(9165),f=r(25578),m=r(59572),g=r(3171),v=r(85244),y=r(31053),b=r(4028),[w,k,x,_]=(0,o.n)(),[S,E]=(0,p.k)({strict:!1,name:"MenuContext"});function D(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}function C(e){return D(e).activeElement===e}function j(e={}){let{id:t,closeOnSelect:r=!0,closeOnBlur:i=!0,initialFocusRef:o,autoSelect:p=!0,isLazy:f,isOpen:m,defaultIsOpen:v,onClose:y,onOpen:b,placement:w="bottom-start",lazyBehavior:k="unmount",direction:_,computePositionOnMount:S=!1,...E}=e,C=(0,n.useRef)(null),j=(0,n.useRef)(null),O=x(),T=(0,n.useCallback)(()=>{requestAnimationFrame(()=>{var e;null==(e=C.current)||e.focus({preventScroll:!1})})},[]),A=(0,n.useCallback)(()=>{let e=setTimeout(()=>{var e;if(o)null==(e=o.current)||e.focus();else{let e=O.firstEnabled();e&&z(e.index)}});V.current.add(e)},[O,o]),P=(0,n.useCallback)(()=>{let e=setTimeout(()=>{let e=O.lastEnabled();e&&z(e.index)});V.current.add(e)},[O]),R=(0,n.useCallback)(()=>{null==b||b(),p?A():T()},[p,A,T,b]),{isOpen:M,onOpen:F,onClose:N,onToggle:I}=(0,u.q)({isOpen:m,defaultIsOpen:v,onClose:y,onOpen:R});!function(e){let{ref:t,handler:r,enabled:i=!0}=e,o=(0,l.W)(r),a=(0,n.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,n.useEffect)(()=>{if(!i)return;let e=e=>{c(e,t)&&(a.isPointerDown=!0)},n=e=>{if(a.ignoreEmulatedMouseEvents){a.ignoreEmulatedMouseEvents=!1;return}a.isPointerDown&&r&&c(e,t)&&(a.isPointerDown=!1,o(e))},s=e=>{a.ignoreEmulatedMouseEvents=!0,r&&a.isPointerDown&&c(e,t)&&(a.isPointerDown=!1,o(e))},u=d(t.current);return u.addEventListener("mousedown",e,!0),u.addEventListener("mouseup",n,!0),u.addEventListener("touchstart",e,!0),u.addEventListener("touchend",s,!0),()=>{u.removeEventListener("mousedown",e,!0),u.removeEventListener("mouseup",n,!0),u.removeEventListener("touchstart",e,!0),u.removeEventListener("touchend",s,!0)}},[r,t,o,a,i])}({enabled:M&&i,ref:C,handler:e=>{var t;(null==(t=j.current)?void 0:t.contains(e.target))||N()}});let L=(0,s.D)({...E,enabled:M||S,placement:w,direction:_}),[B,z]=(0,n.useState)(-1);(0,g.r)(()=>{M||z(-1)},[M]),(0,a.C)(C,{focusRef:j,visible:M,shouldFocus:!0});let U=(0,h.h)({isOpen:M,ref:C}),[q,$]=function(e,...t){let r=(0,n.useId)(),i=e||r;return(0,n.useMemo)(()=>t.map(e=>`${e}-${i}`),[i,t])}(t,"menu-button","menu-list"),H=(0,n.useCallback)(()=>{F(),T()},[F,T]),V=(0,n.useRef)(new Set([]));(0,n.useEffect)(()=>{let e=V.current;return()=>{e.forEach(e=>clearTimeout(e)),e.clear()}},[]);let W=(0,n.useCallback)(()=>{F(),A()},[A,F]),G=(0,n.useCallback)(()=>{F(),P()},[F,P]),Y=(0,n.useCallback)(()=>{var e,t;let r=D(C.current),n=null==(e=C.current)?void 0:e.contains(r.activeElement);if(!(M&&!n))return;let i=null==(t=O.item(B))?void 0:t.node;null==i||i.focus({preventScroll:!0})},[M,B,O]),Z=(0,n.useRef)(null);return{openAndFocusMenu:H,openAndFocusFirstItem:W,openAndFocusLastItem:G,onTransitionEnd:Y,unstable__animationState:U,descendants:O,popper:L,buttonId:q,menuId:$,forceUpdate:L.forceUpdate,orientation:"vertical",isOpen:M,onToggle:I,onOpen:F,onClose:N,menuRef:C,buttonRef:j,focusedIndex:B,closeOnSelect:r,closeOnBlur:i,autoSelect:p,setFocusedIndex:z,isLazy:f,lazyBehavior:k,initialFocusRef:o,rafId:Z}}function O(e={},t=null){let r=E(),{onToggle:i,popper:o,openAndFocusFirstItem:a,openAndFocusLastItem:s}=r,u=(0,n.useCallback)(e=>{let t={Enter:a,ArrowDown:a,ArrowUp:s}[e.key];t&&(e.preventDefault(),e.stopPropagation(),t(e))},[a,s]);return{...e,ref:(0,v.lq)(r.buttonRef,t,o.referenceRef),id:r.buttonId,"data-active":(0,y.PB)(r.isOpen),"aria-expanded":r.isOpen,"aria-haspopup":"menu","aria-controls":r.menuId,onClick:(0,y.v0)(e.onClick,i),onKeyDown:(0,y.v0)(e.onKeyDown,u)}}function T(e){var t;return function(e){var t;if(!(null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE))return!1;let r=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof r.HTMLElement}(e)&&!!(null==(t=null==e?void 0:e.getAttribute("role"))?void 0:t.startsWith("menuitem"))}function A(e={},t=null){let r=E();if(!r)throw Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");let{focusedIndex:i,setFocusedIndex:o,menuRef:a,isOpen:s,onClose:u,menuId:l,isLazy:c,lazyBehavior:d,unstable__animationState:h}=r,p=k(),f=function(e={}){let{timeout:t=300,preventDefault:r=()=>!0}=e,[i,o]=(0,n.useState)([]),a=(0,n.useRef)(),s=()=>{a.current&&(clearTimeout(a.current),a.current=null)},u=()=>{s(),a.current=setTimeout(()=>{o([]),a.current=null},t)};return(0,n.useEffect)(()=>s,[]),function(e){return t=>{if("Backspace"===t.key){let e=[...i];e.pop(),o(e);return}if(function(e){let{key:t}=e;return 1===t.length||t.length>1&&/[^a-zA-Z0-9]/.test(t)}(t)){let n=i.concat(t.key);r(t)&&(t.preventDefault(),t.stopPropagation()),o(n),e(n.join("")),u()}}}}({preventDefault:e=>" "!==e.key&&T(e.target)}),m=(0,n.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t={Tab:e=>e.preventDefault(),Escape:u,ArrowDown:()=>{let e=p.nextEnabled(i);e&&o(e.index)},ArrowUp:()=>{let e=p.prevEnabled(i);e&&o(e.index)}}[e.key];if(t){e.preventDefault(),t(e);return}let r=f(e=>{let t=function(e,t,r,n){if(null==t)return n;if(!n)return e.find(e=>r(e).toLowerCase().startsWith(t.toLowerCase()));let i=e.filter(e=>r(e).toLowerCase().startsWith(t.toLowerCase()));if(i.length>0){let t;return i.includes(n)?((t=i.indexOf(n)+1)===i.length&&(t=0),i[t]):(t=e.indexOf(i[0]),e[t])}return n}(p.values(),e,e=>{var t,r;return null!=(r=null==(t=null==e?void 0:e.node)?void 0:t.textContent)?r:""},p.item(i));t&&o(p.indexOf(t.node))});T(e.target)&&r(e)},[p,i,f,u,o]),g=(0,n.useRef)(!1);s&&(g.current=!0);let w=(0,b.k)({wasSelected:g.current,enabled:c,mode:d,isSelected:h.present});return{...e,ref:(0,v.lq)(a,t),children:w?e.children:null,tabIndex:-1,role:"menu",id:l,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:(0,y.v0)(e.onKeyDown,m)}}function P(e={}){let{popper:t,isOpen:r}=E();return t.getPopperProps({...e,style:{visibility:r?"visible":"hidden",...e.style}})}function R(e={},t=null){let{onMouseEnter:r,onMouseMove:o,onMouseLeave:a,onClick:s,onFocus:u,isDisabled:l,isFocusable:c,closeOnSelect:d,type:h,...p}=e,{setFocusedIndex:f,focusedIndex:m,closeOnSelect:y,onClose:b,menuRef:w,isOpen:k,menuId:x,rafId:S}=E(),D=(0,n.useRef)(null),j=`${x}-menuitem-${(0,n.useId)()}`,{index:O,register:A}=_({disabled:l&&!c}),P=(0,n.useCallback)(e=>{null==r||r(e),l||f(O)},[f,O,l,r]),R=(0,n.useCallback)(e=>{null==o||o(e),D.current&&!C(D.current)&&P(e)},[P,o]),M=(0,n.useCallback)(e=>{null==a||a(e),l||f(-1)},[f,l,a]),F=(0,n.useCallback)(e=>{null==s||s(e),T(e.currentTarget)&&(null!=d?d:y)&&b()},[b,s,y,d]),N=(0,n.useCallback)(e=>{null==u||u(e),f(O)},[f,u,O]),I=O===m,L=l&&!c;(0,g.r)(()=>{if(k)return I&&!L&&D.current?(S.current&&cancelAnimationFrame(S.current),S.current=requestAnimationFrame(()=>{var e;null==(e=D.current)||e.focus({preventScroll:!0}),S.current=null})):w.current&&!C(w.current)&&w.current.focus({preventScroll:!0}),()=>{S.current&&cancelAnimationFrame(S.current)}},[I,L,w,k]);let B=(0,i.h)({onClick:F,onFocus:N,onMouseEnter:P,onMouseMove:R,onMouseLeave:M,ref:(0,v.lq)(A,D,t),isDisabled:l,isFocusable:c});return{...p,...B,type:null!=h?h:B.type,id:j,role:"menuitem",tabIndex:I?0:-1}}function M(e={},t=null){let{type:r="radio",isChecked:n,...i}=e;return{...R(i,t),role:`menuitem${r}`,"aria-checked":n}}function F(e={}){let{children:t,type:r="radio",value:i,defaultValue:o,onChange:a,...s}=e,u="radio"===r,[l,c]=(0,m.T)({defaultValue:null!=o?o:u?"":[],value:i,onChange:a}),d=(0,n.useCallback)(e=>{"radio"===r&&"string"==typeof l&&c(e),"checkbox"===r&&Array.isArray(l)&&c(l.includes(e)?l.filter(t=>t!==e):l.concat(e))},[l,c,r]),h=(0,f.W)(t).map(e=>{if("MenuItemOption"!==e.type.id)return e;let t="radio"===r?e.props.value===l:l.includes(e.props.value);return(0,n.cloneElement)(e,{type:r,onClick:t=>{var r,n;d(e.props.value),null==(n=(r=e.props).onClick)||n.call(r,t)},isChecked:t})});return{...s,children:h}}},10625:function(e,t,r){"use strict";r.d(t,{v:function(){return p},x:function(){return h}});var n=r(35743),i=r(9165),o=r(91982),a=r(84586),s=r(91148),u=r(31053),l=r(2784),c=r(52322),[d,h]=(0,i.k)({name:"MenuStylesContext",errorMessage:"useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Menu />\" "}),p=e=>{let{children:t}=e,r=(0,o.jC)("Menu",e),i=(0,a.Lr)(e),{direction:h}=(0,s.F)(),{descendants:p,...f}=(0,n.H9)({...i,direction:h}),m=(0,l.useMemo)(()=>f,[f]),{isOpen:g,onClose:v,forceUpdate:y}=m;return(0,c.jsx)(n.wN,{value:p,children:(0,c.jsx)(n.Kb,{value:m,children:(0,c.jsx)(d,{value:r,children:(0,u.Pu)(t,{isOpen:g,onClose:v,forceUpdate:y})})})})};p.displayName="Menu"},67046:function(e,t,r){"use strict";r.d(t,{j:function(){return c}});var n=r(10625),i=r(35743),o=r(29058),a=r(59576),s=r(31053),u=r(52322),l=(0,o.G)((e,t)=>{let r=(0,n.x)();return(0,u.jsx)(a.m.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...r.button}})}),c=(0,o.G)((e,t)=>{let{children:r,as:n,...o}=e,c=(0,i.zZ)(o,t),d=n||l;return(0,u.jsx)(d,{...c,className:(0,s.cx)("chakra-menu__menu-button",e.className),children:(0,u.jsx)(a.m.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})});c.displayName="MenuButton"},2338:function(e,t,r){"use strict";r.d(t,{o:function(){return u}});var n=r(92850),i=r(81672),o=r(31053),a=r(29058),s=r(52322),u=(0,a.G)((e,t)=>{let{onClick:r,className:a,...u}=e,{onClose:l}=(0,n.vR)(),c=(0,o.cx)("chakra-modal__close-btn",a),d=(0,n.I_)();return(0,s.jsx)(i.P,{ref:t,__css:d.closeButton,className:c,onClick:(0,o.v0)(r,e=>{e.stopPropagation(),l()}),...u})});u.displayName="ModalCloseButton"},54326:function(e,t,r){"use strict";r.d(t,{x:function(){return l}});var n=r(92850),i=r(31053),o=r(29058),a=r(59576),s=r(2784),u=r(52322),l=(0,o.G)((e,t)=>{let{className:r,...o}=e,{headerId:l,setHeaderMounted:c}=(0,n.vR)();(0,s.useEffect)(()=>(c(!0),()=>c(!1)),[c]);let d=(0,i.cx)("chakra-modal__header",r),h={flex:0,...(0,n.I_)().header};return(0,u.jsx)(a.m.header,{ref:t,className:d,id:l,...o,__css:h})});l.displayName="ModalHeader"},73751:function(e,t,r){"use strict";r.d(t,{s:function(){return h}});var n=r(32981),i=r(88422),o=r(92850),a=r(31053),s=r(59576),u=r(29058),l=r(55070),c=r(52322),d=(0,s.m)(l.M),h=(0,u.G)((e,t)=>{let{className:r,children:u,motionProps:l,containerProps:h,...p}=e,{getDialogProps:f,getDialogContainerProps:m,isOpen:g}=(0,o.vR)(),v=f(p,t),y=m(h),b=(0,a.cx)("chakra-modal__content",r),w=(0,o.I_)(),k={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...w.dialog},x={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...w.dialogContainer},{placement:_}=(0,n.M)();return(0,c.jsx)(i.M,{children:(0,c.jsx)(s.m.div,{...y,className:"chakra-modal__content-container",__css:x,children:(0,c.jsx)(d,{motionProps:l,direction:_,in:g,className:b,...v,__css:k,children:u})})})});h.displayName="DrawerContent"},76220:function(e,t,r){"use strict";r.d(t,{m:function(){return s},$:function(){return u}});var n=Object.defineProperty,i=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,o=(e,t,r)=>(i(e,"symbol"!=typeof t?t+"":t,r),r),a=r(2784),s=new class{constructor(){o(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return!!e&&this.modals.get(e)===this.modals.size}};function u(e,t){let[r,n]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let r=e.current;if(r)return t&&n(s.add(r)),()=>{s.remove(r),n(0)}},[t,e]),r}},55199:function(e,t,r){"use strict";r.d(t,{h:function(){return y}});var n=r(59576),i=r(41914),o=r(31053),a=r(88241),s=r(7165),u=r(2784),l=r(52322),c={initial:"initial",animate:"enter",exit:"exit",variants:{initial:({offsetX:e,offsetY:t,transition:r,transitionEnd:n,delay:o})=>{var a;return{opacity:0,x:e,y:t,transition:null!=(a=null==r?void 0:r.exit)?a:i.p$.exit(i.Sh.exit,o),transitionEnd:null==n?void 0:n.exit}},enter:({transition:e,transitionEnd:t,delay:r})=>{var n;return{opacity:1,x:0,y:0,transition:null!=(n=null==e?void 0:e.enter)?n:i.p$.enter(i.Sh.enter,r),transitionEnd:null==t?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:r,transitionEnd:n,reverse:o,delay:a})=>{var s;let u={x:t,y:e};return{opacity:0,transition:null!=(s=null==r?void 0:r.exit)?s:i.p$.exit(i.Sh.exit,a),...o?{...u,transitionEnd:null==n?void 0:n.exit}:{transitionEnd:{...u,...null==n?void 0:n.exit}}}}}};(0,u.forwardRef)(function(e,t){let{unmountOnExit:r,in:n,reverse:i=!0,className:u,offsetX:d=0,offsetY:h=8,transition:p,transitionEnd:f,delay:m,...g}=e,v=!r||n&&r,y=n||r?"enter":"exit",b={offsetX:d,offsetY:h,reverse:i,transition:p,transitionEnd:f,delay:m};return(0,l.jsx)(a.M,{custom:b,children:v&&(0,l.jsx)(s.E.div,{ref:t,className:(0,o.cx)("chakra-offset-slide",u),custom:b,...c,animate:y,...g})})}).displayName="SlideFade";var d={initial:"exit",animate:"enter",exit:"exit",variants:{exit:({reverse:e,initialScale:t,transition:r,transitionEnd:n,delay:o})=>{var a;return{opacity:0,...e?{scale:t,transitionEnd:null==n?void 0:n.exit}:{transitionEnd:{scale:t,...null==n?void 0:n.exit}},transition:null!=(a=null==r?void 0:r.exit)?a:i.p$.exit(i.Sh.exit,o)}},enter:({transitionEnd:e,transition:t,delay:r})=>{var n;return{opacity:1,scale:1,transition:null!=(n=null==t?void 0:t.enter)?n:i.p$.enter(i.Sh.enter,r),transitionEnd:null==e?void 0:e.enter}}}};(0,u.forwardRef)(function(e,t){let{unmountOnExit:r,in:n,reverse:i=!0,initialScale:u=.95,className:c,transition:h,transitionEnd:p,delay:f,...m}=e,g=!r||n&&r,v=n||r?"enter":"exit",y={initialScale:u,reverse:i,transition:h,transitionEnd:p,delay:f};return(0,l.jsx)(a.M,{custom:y,children:g&&(0,l.jsx)(s.E.div,{ref:t,className:(0,o.cx)("chakra-offset-slide",c),...d,animate:v,custom:y,...m})})}).displayName="ScaleFade";var h={slideInBottom:{...c,custom:{offsetY:16,reverse:!0}},slideInRight:{...c,custom:{offsetX:16,reverse:!0}},slideInTop:{...c,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...c,custom:{offsetX:-16,reverse:!0}},scale:{...d,custom:{initialScale:.95,reverse:!0}},none:{}},p=(0,n.m)(s.E.section),f=e=>h[e||"none"],m=(0,u.forwardRef)((e,t)=>{let{preset:r,motionProps:n=f(r),...i}=e;return(0,l.jsx)(p,{ref:t,...n,...i})});m.displayName="ModalTransition";var g=r(88422),v=r(92850),y=(0,r(29058).G)((e,t)=>{let{className:r,children:i,containerProps:a,motionProps:s,...u}=e,{getDialogProps:c,getDialogContainerProps:d}=(0,v.vR)(),h=c(u,t),p=d(a),f=(0,o.cx)("chakra-modal__content",r),y=(0,v.I_)(),b={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...y.dialog},w={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...y.dialogContainer},{motionPreset:k}=(0,v.vR)();return(0,l.jsx)(g.M,{children:(0,l.jsx)(n.m.div,{...p,className:"chakra-modal__content-container",tabIndex:-1,__css:w,children:(0,l.jsx)(m,{preset:k,motionProps:s,className:f,...h,__css:b,children:i})})})});y.displayName="ModalContent"},26468:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(92850),i=r(31053),o=r(59576),a=r(29058),s=r(78071),u=r(7165),l=r(52322),c=(0,o.m)(u.E.div),d=(0,a.G)((e,t)=>{let{className:r,transition:o,motionProps:a,...u}=e,d=(0,i.cx)("chakra-modal__overlay",r),h={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...(0,n.I_)().overlay},{motionPreset:p}=(0,n.vR)(),f="none"===p?{}:s.u;return(0,l.jsx)(c,{...a||f,__css:h,ref:t,className:d,...u})});d.displayName="ModalOverlay"},32981:function(e,t,r){"use strict";r.d(t,{M:function(){return u},d:function(){return c}});var n=r(92850),i=r(9165),o=r(91148),a=r(52322),[s,u]=(0,i.k)(),l={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function c(e){var t;let{isOpen:r,onClose:i,placement:u="right",children:c,...d}=e,h=(0,o.F)(),p=null==(t=h.components)?void 0:t.Drawer,f=function(e,t){var r,n;if(e)return null!=(n=null==(r=l[e])?void 0:r[t])?n:e}(u,h.direction);return(0,a.jsx)(s,{value:{placement:f},children:(0,a.jsx)(n.u_,{isOpen:r,onClose:i,styleConfig:p,...d,children:c})})}},92850:function(e,t,r){"use strict";r.d(t,{u_:function(){return v},vR:function(){return g},I_:function(){return f}});var n=r(76220),i=r(31053),o=r(85244),a=r(49732),s=r(2784),u=r(332),l=r(9165),c=r(91982),d=r(88241),h=r(52322),[p,f]=(0,l.k)({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[m,g]=(0,l.k)({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),v=e=>{let t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:r,children:l,autoFocus:f,trapFocus:g,initialFocusRef:v,finalFocusRef:y,returnFocusOnClose:b,blockScrollOnMount:w,allowPinchZoom:k,preserveScrollBarGap:x,motionPreset:_,lockFocusAcrossFrames:S,onCloseComplete:E}=t,D=(0,c.jC)("Modal",t),C={...function(e){let{isOpen:t,onClose:r,id:u,closeOnOverlayClick:l=!0,closeOnEsc:c=!0,useInert:d=!0,onOverlayClick:h,onEsc:p}=e,f=(0,s.useRef)(null),m=(0,s.useRef)(null),[g,v,y]=function(e,...t){let r=(0,s.useId)(),n=e||r;return(0,s.useMemo)(()=>t.map(e=>`${e}-${n}`),[n,t])}(u,"chakra-modal","chakra-modal--header","chakra-modal--body");!function(e,t){let r=e.current;(0,s.useEffect)(()=>{if(e.current&&t)return(0,a.Ry)(e.current)},[t,e,r])}(f,t&&d);let b=(0,n.$)(f,t),w=(0,s.useRef)(null),k=(0,s.useCallback)(e=>{w.current=e.target},[]),x=(0,s.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),c&&(null==r||r()),null==p||p())},[c,r,p]),[_,S]=(0,s.useState)(!1),[E,D]=(0,s.useState)(!1),C=(0,s.useCallback)((e={},t=null)=>({role:"dialog",...e,ref:(0,o.lq)(t,f),id:g,tabIndex:-1,"aria-modal":!0,"aria-labelledby":_?v:void 0,"aria-describedby":E?y:void 0,onClick:(0,i.v0)(e.onClick,e=>e.stopPropagation())}),[y,E,g,v,_]),j=(0,s.useCallback)(e=>{e.stopPropagation(),w.current===e.target&&n.m.isTopModal(f.current)&&(l&&(null==r||r()),null==h||h())},[r,l,h]),O=(0,s.useCallback)((e={},t=null)=>({...e,ref:(0,o.lq)(t,m),onClick:(0,i.v0)(e.onClick,j),onKeyDown:(0,i.v0)(e.onKeyDown,x),onMouseDown:(0,i.v0)(e.onMouseDown,k)}),[x,k,j]);return{isOpen:t,onClose:r,headerId:v,bodyId:y,setBodyMounted:D,setHeaderMounted:S,dialogRef:f,overlayRef:m,getDialogProps:C,getDialogContainerProps:O,index:b}}(t),autoFocus:f,trapFocus:g,initialFocusRef:v,finalFocusRef:y,returnFocusOnClose:b,blockScrollOnMount:w,allowPinchZoom:k,preserveScrollBarGap:x,motionPreset:_,lockFocusAcrossFrames:S};return(0,h.jsx)(m,{value:C,children:(0,h.jsx)(p,{value:D,children:(0,h.jsx)(d.M,{onExitComplete:E,children:C.isOpen&&(0,h.jsx)(u.h,{...r,children:l})})})})};v.displayName="Modal"},88422:function(e,t,r){"use strict";r.d(t,{M:function(){return tt}});var n,i,o,a=r(92850),s=r(76220),u=r(7896),l=r(2784),c="data-focus-lock",d="data-focus-lock-disabled",h=r(22442),p={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},f=r(64597),m=(0,f.s)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),g=(0,f.s)(),v=(0,f.s)(),y=(0,f._)({async:!0}),b=[],w=l.forwardRef(function(e,t){var r,n=l.useState(),i=n[0],o=n[1],a=l.useRef(),s=l.useRef(!1),f=l.useRef(null),v=e.children,w=e.disabled,k=void 0!==w&&w,x=e.noFocusGuards,_=void 0!==x&&x,S=e.persistentFocus,E=e.crossFrame,D=e.autoFocus,C=(e.allowTextSelection,e.group),j=e.className,O=e.whiteList,T=e.hasPositiveIndices,A=e.shards,P=void 0===A?b:A,R=e.as,M=e.lockProps,F=e.sideCar,N=e.returnFocus,I=void 0!==N&&N,L=e.focusOptions,B=e.onActivation,z=e.onDeactivation,U=l.useState({})[0],q=l.useCallback(function(){f.current=f.current||document&&document.activeElement,a.current&&B&&B(a.current),s.current=!0},[B]),$=l.useCallback(function(){s.current=!1,z&&z(a.current)},[z]);(0,l.useEffect)(function(){k||(f.current=null)},[]);var H=l.useCallback(function(e){var t=f.current;if(t&&t.focus){var r="function"==typeof I?I(t):I;if(r){var n="object"==typeof r?r:void 0;f.current=null,e?Promise.resolve().then(function(){return t.focus(n)}):t.focus(n)}}},[I]),V=l.useCallback(function(e){s.current&&m.useMedium(e)},[]),W=g.useMedium,G=l.useCallback(function(e){a.current!==e&&(a.current=e,o(e))},[]),Y=(0,u.Z)(((r={})[d]=k&&"disabled",r[c]=C,r),void 0===M?{}:M),Z=!0!==_,K=Z&&"tail"!==_,J=(0,h.q)([t,G]);return l.createElement(l.Fragment,null,Z&&[l.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:k?-1:0,style:p}),T?l.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:k?-1:1,style:p}):null],!k&&l.createElement(F,{id:U,sideCar:y,observed:i,disabled:k,persistentFocus:void 0!==S&&S,crossFrame:void 0===E||E,autoFocus:void 0===D||D,whiteList:O,shards:P,onActivation:q,onDeactivation:$,returnFocus:H,focusOptions:L}),l.createElement(void 0===R?"div":R,(0,u.Z)({ref:J},Y,{className:j,onBlur:W,onFocus:V}),v),K&&l.createElement("div",{"data-focus-guard":!0,tabIndex:k?-1:0,style:p}))});function k(e,t){return(k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}w.propTypes={};var x=r(56666),_=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},S=function(e){return Array.isArray(e)?e:[e]},E=function(e){return Array.isArray(e)?e[0]:e},D=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},C=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},j=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},O=function(e,t){var r,n=e.get(t);if(void 0!==n)return n;var i=(r=O.bind(void 0,e),!t||j(t)||!D(t)&&r(C(t)));return e.set(t,i),i},T=function(e,t){var r,n=e.get(t);if(void 0!==n)return n;var i=(r=T.bind(void 0,e),!t||!!j(t)||!!M(t)&&r(C(t)));return e.set(t,i),i},A=function(e){return e.dataset},P=function(e){return"INPUT"===e.tagName},R=function(e){return P(e)&&"radio"===e.type},M=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},F=function(e){var t;return!!(e&&(null===(t=A(e))||void 0===t?void 0:t.focusGuard))},N=function(e){return!F(e)},I=function(e){return!!e},L=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return -1}return r||n},B=function(e,t,r){return _(e).map(function(e,t){return{node:e,index:t,tabIndex:r&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}}).filter(function(e){return!t||e.tabIndex>=0}).sort(L)},z="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",U="".concat(z,", [data-focus-guard]"),q=function(e,t){return _((e.shadowRoot||e).children).reduce(function(e,r){return e.concat(r.matches(t?U:z)?[r]:[],q(r))},[])},$=function(e,t){var r;return e instanceof HTMLIFrameElement&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?H([e.contentDocument.body],t):[e]},H=function(e,t){return e.reduce(function(e,r){var n,i=q(r,t),o=(n=[]).concat.apply(n,i.map(function(e){return $(e,t)}));return e.concat(o,r.parentNode?_(r.parentNode.querySelectorAll(z)).filter(function(e){return e===r}):[])},[])},V=function(e,t){return _(e).filter(function(e){return O(t,e)}).filter(function(e){return!((P(e)||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))})},W=function(e,t){return void 0===t&&(t=new Map),_(e).filter(function(e){return T(t,e)})},G=function(e,t,r){return B(V(H(e,r),t),!0,r)},Y=function(e,t){return B(V(H(e),t),!1)},Z=function(e,t){return e.shadowRoot?Z(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||_(e.children).some(function(e){var r;if(e instanceof HTMLIFrameElement){var n=null===(r=e.contentDocument)||void 0===r?void 0:r.body;return!!n&&Z(n,t)}return Z(e,t)})},K=function(e){try{return e()}catch(e){return}},J=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?J(t.shadowRoot):t instanceof HTMLIFrameElement&&K(function(){return t.contentWindow.document})?J(t.contentWindow.document):t}},X=function(e){void 0===e&&(e=document);var t=J(e);return!!t&&_(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return Z(e,t)})},Q=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var i=n+1;i<r;i+=1){var o=e[n].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(e,r){return!t.has(r)})},ee=function(e){return e.parentNode?ee(e.parentNode):e},et=function(e){return S(e).filter(Boolean).reduce(function(e,t){var r=t.getAttribute(c);return e.push.apply(e,r?Q(_(ee(t).querySelectorAll("[".concat(c,'="').concat(r,'"]:not([').concat(d,'="disabled"])')))):[t]),e},[])},er=function(e,t){return void 0===t&&(t=J(E(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&et(e).some(function(e){var r;return Z(e,t)||(r=t,!!_(e.querySelectorAll("iframe")).some(function(e){return e===r}))})},en=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},ei=function(e,t){return R(e)&&e.name&&t.filter(R).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},eo=function(e){var t=new Set;return e.forEach(function(r){return t.add(ei(r,e))}),e.filter(function(e){return t.has(e)})},ea=function(e){return e[0]&&e.length>1?ei(e[0],e):e[0]},es=function(e,t){return e.length>1?e.indexOf(ei(e[t],e)):t},eu="NEW_FOCUS",el=function(e,t,r,n){var i=e.length,o=e[0],a=e[i-1],s=F(r);if(!(r&&e.indexOf(r)>=0)){var u=void 0!==r?t.indexOf(r):-1,l=n?t.indexOf(n):u,c=n?e.indexOf(n):-1,d=u-l,h=t.indexOf(o),p=t.indexOf(a),f=eo(t),m=(void 0!==r?f.indexOf(r):-1)-(n?f.indexOf(n):u),g=es(e,0),v=es(e,i-1);if(-1===u||-1===c)return eu;if(!d&&c>=0)return c;if(u<=h&&s&&Math.abs(d)>1)return v;if(u>=p&&s&&Math.abs(d)>1)return g;if(d&&Math.abs(m)>1)return c;if(u<=h)return v;if(u>p)return g;if(d)return Math.abs(d)>1?c:(i+c+d)%i}},ec=function(e,t,r){var n=W(e.map(function(e){return e.node}).filter(function(e){var t,n=null===(t=A(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0}));return n&&n.length?ea(n):ea(W(t))},ed=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&ed(e.parentNode.host||e.parentNode,t),t},eh=function(e,t){for(var r=ed(e),n=ed(t),i=0;i<r.length;i+=1){var o=r[i];if(n.indexOf(o)>=0)return o}return!1},ep=function(e,t,r){var n=S(e),i=S(t),o=n[0],a=!1;return i.filter(Boolean).forEach(function(e){a=eh(a||e,e)||a,r.filter(Boolean).forEach(function(e){var t=eh(o,e);t&&(a=!a||Z(t,a)?t:eh(t,a))})}),a},ef=function(e,t){var r=new Map;return t.forEach(function(e){return r.set(e.node,e)}),e.map(function(e){return r.get(e)}).filter(I)},em=function(e,t){var r=J(S(e).length>0?document:E(e).ownerDocument),n=et(e).filter(N),i=ep(r||e,e,n),o=new Map,a=Y(n,o),s=G(n,o).filter(function(e){return N(e.node)});if(s[0]||(s=a)[0]){var u=Y([i],o).map(function(e){return e.node}),l=ef(u,s),c=l.map(function(e){return e.node}),d=el(c,u,r,t);if(d===eu){var h=ec(a,c,n.reduce(function(e,t){return e.concat(V(_(t.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return H([e])}).reduce(function(e,t){return e.concat(t)},[]),o))},[]));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===d?d:l[d]}},eg=0,ev=!1,ey=function(e,t,r){void 0===r&&(r={});var n=em(e,t);if(!ev&&n){if(eg>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ev=!0,setTimeout(function(){ev=!1},1);return}eg++,en(n.node,r.focusOptions),eg--}},eb=function(e){var t=et(e).filter(N),r=ep(e,e,t),n=new Map,i=G([r],n,!0),o=G(t,n).filter(function(e){return N(e.node)}).map(function(e){return e.node});return i.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:F(t)}})};function ew(e){setTimeout(e,1)}var ek=null,ex=null,e_=null,eS=!1,eE=function(e,t){e_={observerNode:e,portaledElement:t}};function eD(e,t,r,n){var i=null,o=e;do{var a=n[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=r)!==t);i&&(i.node.tabIndex=0)}var eC=function(e){return e&&"current"in e?e.current:e},ej=function(){var e=!1;if(ek){var t=ek,r=t.observed,n=t.persistentFocus,i=t.autoFocus,o=t.shards,a=t.crossFrame,s=t.focusOptions,u=r||e_&&e_.portaledElement,l=document&&document.activeElement;if(u){var c=[u].concat(o.map(eC).filter(Boolean));if((!l||(ek.whiteList||function(){return!0})(l))&&(n||(a?!!eS:"meanwhile"===eS)||!(document&&document.activeElement===document.body||X())||!ex&&i)&&(u&&!(er(c)||l&&c.some(function(e){return function e(t,r,n){return r&&(r.host===t&&(!r.activeElement||n.contains(r.activeElement))||r.parentNode&&e(t,r.parentNode,n))}(l,e,e)})||e_&&e_.portaledElement===l)&&(document&&!ex&&l&&!i?(l.blur&&l.blur(),document.body.focus()):(e=ey(c,ex,{focusOptions:s}),e_={})),eS=!1,ex=document&&document.activeElement),document){var d=document&&document.activeElement,h=eb(c),p=h.map(function(e){return e.node}).indexOf(d);p>-1&&(h.filter(function(e){var t=e.guard,r=e.node;return t&&r.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eD(p,h.length,1,h),eD(p,-1,-1,h))}}}return e},eO=function(e){ej()&&e&&(e.stopPropagation(),e.preventDefault())},eT=function(){return ew(ej)},eA=function(){eS="just",ew(function(){eS="meanwhile"})},eP=function(){document.addEventListener("focusin",eO),document.addEventListener("focusout",eT),window.addEventListener("blur",eA)},eR=function(){document.removeEventListener("focusin",eO),document.removeEventListener("focusout",eT),window.removeEventListener("blur",eA)};m.assignSyncMedium(function(e){var t=e.target,r=e.currentTarget;r.contains(t)||eE(r,t)}),g.assignMedium(eT),v.assignMedium(function(e){return e({moveFocusInside:ey,focusInside:er})});var eM=(n=function(e){return e.filter(function(e){return!e.disabled})},i=function(e){var t=e.slice(-1)[0];t&&!ek&&eP();var r=ek,n=r&&t&&t.id===r.id;ek=t,!r||n||(r.onDeactivation(),e.filter(function(e){return e.id===r.id}).length||r.returnFocus(!t)),t?(ex=null,n&&r.observed===t.observed||t.onActivation(),ej(!0),ew(ej)):(eR(),ex=null)},function(e){var t,r=[];function o(){i(t=n(r.map(function(e){return e.props})))}var a=function(n){function i(){return n.apply(this,arguments)||this}i.prototype=Object.create(n.prototype),i.prototype.constructor=i,k(i,n),i.peek=function(){return t};var a=i.prototype;return a.componentDidMount=function(){r.push(this),o()},a.componentDidUpdate=function(){o()},a.componentWillUnmount=function(){var e=r.indexOf(this);r.splice(e,1),o()},a.render=function(){return l.createElement(e,this.props)},i}(l.PureComponent);return(0,x.Z)(a,"displayName","SideEffect("+(e.displayName||e.name||"Component")+")"),a})(function(){return null}),eF=l.forwardRef(function(e,t){return l.createElement(w,(0,u.Z)({sideCar:eM,ref:t},e))}),eN=w.propTypes||{};eN.sideCar,function(e,t){if(null!=e){var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r])}}(eN,["sideCar"]),eF.propTypes={};var eI=r(51905),eL=r(52322),eB=null!=(o=eF.default)?o:eF,ez=e=>{let{initialFocusRef:t,finalFocusRef:r,contentRef:n,restoreFocus:i,children:o,isDisabled:a,autoFocus:s,persistentFocus:u,lockFocusAcrossFrames:c}=e,d=(0,l.useCallback)(()=>{(null==t?void 0:t.current)?t.current.focus():(null==n?void 0:n.current)&&0===(0,eI.t5)(n.current).length&&requestAnimationFrame(()=>{var e;null==(e=n.current)||e.focus()})},[t,n]),h=(0,l.useCallback)(()=>{var e;null==(e=null==r?void 0:r.current)||e.focus()},[r]),p=i&&!r;return(0,eL.jsx)(eB,{crossFrame:c,persistentFocus:u,autoFocus:s,disabled:a,onActivation:d,onDeactivation:h,returnFocus:p,children:o})};ez.displayName="FocusLock";var eU=r(58175),eq=r(5163),e$=r(95346),eH=(0,f._)(),eV=function(){},eW=l.forwardRef(function(e,t){var r=l.useRef(null),n=l.useState({onScrollCapture:eV,onWheelCapture:eV,onTouchMoveCapture:eV}),i=n[0],o=n[1],a=e.forwardProps,s=e.children,u=e.className,c=e.removeScrollBar,d=e.enabled,p=e.shards,f=e.sideCar,m=e.noIsolation,g=e.inert,v=e.allowPinchZoom,y=e.as,b=e.gapMode,w=(0,eq._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=(0,h.q)([r,t]),x=(0,eq.pi)((0,eq.pi)({},w),i);return l.createElement(l.Fragment,null,d&&l.createElement(f,{sideCar:eH,removeScrollBar:c,shards:p,noIsolation:m,inert:g,setCallbacks:o,allowPinchZoom:!!v,lockRef:r,gapMode:b}),a?l.cloneElement(l.Children.only(s),(0,eq.pi)((0,eq.pi)({},x),{ref:k})):l.createElement(void 0===y?"div":y,(0,eq.pi)({},x,{className:u,ref:k}),s))});eW.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eW.classNames={fullWidth:e$.zi,zeroRight:e$.pF};var eG=r(57758),eY=r(181),eZ=r(33225),eK=!1;if("undefined"!=typeof window)try{var eJ=Object.defineProperty({},"passive",{get:function(){return eK=!0,!0}});window.addEventListener("test",eJ,eJ),window.removeEventListener("test",eJ,eJ)}catch(e){eK=!1}var eX=!!eK&&{passive:!1},eQ=function(e,t){var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},e0=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),e1(e,n)){var i=e2(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},e1=function(e,t){return"v"===e?eQ(t,"overflowY"):eQ(t,"overflowX")},e2=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},e3=function(e,t,r,n,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*n,u=r.target,l=t.contains(u),c=!1,d=s>0,h=0,p=0;do{var f=e2(e,u),m=f[0],g=f[1]-f[2]-a*m;(m||g)&&e1(e,u)&&(h+=g,p+=m),u instanceof ShadowRoot?u=u.host:u=u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return d&&(i&&1>Math.abs(h)||!i&&s>h)?c=!0:!d&&(i&&1>Math.abs(p)||!i&&-s>p)&&(c=!0),c},e5=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},e4=function(e){return[e.deltaX,e.deltaY]},e6=function(e){return e&&"current"in e?e.current:e},e8=0,e9=[],e7=(0,eG.L)(eH,function(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),i=l.useState(e8++)[0],o=l.useState(eZ.Ws)[0],a=l.useRef(e);l.useEffect(function(){a.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,eq.ev)([e.lockRef.current],(e.shards||[]).map(e6),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var i,o=e5(e),s=r.current,u="deltaX"in e?e.deltaX:s[0]-o[0],l="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var h=e0(d,c);if(!h)return!0;if(h?i=d:(i="v"===d?"h":"v",h=e0(d,c)),!h)return!1;if(!n.current&&"changedTouches"in e&&(u||l)&&(n.current=i),!i)return!0;var p=n.current||i;return e3(p,t,e,"h"===p?u:l,!0)},[]),u=l.useCallback(function(e){if(e9.length&&e9[e9.length-1]===o){var r="deltaY"in e?e4(e):e5(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(a.current.shards||[]).map(e6).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=l.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=l.useCallback(function(e){r.current=e5(e),n.current=void 0},[]),h=l.useCallback(function(t){c(t.type,e4(t),t.target,s(t,e.lockRef.current))},[]),p=l.useCallback(function(t){c(t.type,e5(t),t.target,s(t,e.lockRef.current))},[]);l.useEffect(function(){return e9.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",u,eX),document.addEventListener("touchmove",u,eX),document.addEventListener("touchstart",d,eX),function(){e9=e9.filter(function(e){return e!==o}),document.removeEventListener("wheel",u,eX),document.removeEventListener("touchmove",u,eX),document.removeEventListener("touchstart",d,eX)}},[]);var f=e.removeScrollBar,m=e.inert;return l.createElement(l.Fragment,null,m?l.createElement(o,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,f?l.createElement(eY.jp,{gapMode:e.gapMode}):null)}),te=l.forwardRef(function(e,t){return l.createElement(eW,(0,eq.pi)({},e,{ref:t,sideCar:e7}))});function tt(e){let{autoFocus:t,trapFocus:r,dialogRef:n,initialFocusRef:i,blockScrollOnMount:o,allowPinchZoom:u,finalFocusRef:c,returnFocusOnClose:d,preserveScrollBarGap:h,lockFocusAcrossFrames:p,isOpen:f}=(0,a.vR)(),[m,g]=(0,eU.oO)();(0,l.useEffect)(()=>{!m&&g&&setTimeout(g)},[m,g]);let v=(0,s.$)(n,f);return(0,eL.jsx)(ez,{autoFocus:t,isDisabled:!r,initialFocusRef:i,finalFocusRef:c,restoreFocus:d,contentRef:n,lockFocusAcrossFrames:p,children:(0,eL.jsx)(te,{removeScrollBar:!h,allowPinchZoom:u,enabled:1===v&&o,forwardProps:!0,children:e.children})})}te.classNames=eW.classNames},97217:function(e,t,r){"use strict";r.d(t,{f:function(){return l}});var n=r(92850),i=r(31053),o=r(29058),a=r(59576),s=r(2784),u=r(52322),l=(0,o.G)((e,t)=>{let{className:r,...o}=e,{bodyId:l,setBodyMounted:c}=(0,n.vR)();(0,s.useEffect)(()=>(c(!0),()=>c(!1)),[c]);let d=(0,i.cx)("chakra-modal__body",r),h=(0,n.I_)();return(0,u.jsx)(a.m.div,{ref:t,className:d,id:l,...o,__css:h.body})});l.displayName="ModalBody"},50250:function(e,t,r){"use strict";r.d(t,{m:function(){return u}});var n=r(92850),i=r(31053),o=r(29058),a=r(59576),s=r(52322),u=(0,o.G)((e,t)=>{let{className:r,...o}=e,u=(0,i.cx)("chakra-modal__footer",r),l={display:"flex",alignItems:"center",justifyContent:"flex-end",...(0,n.I_)().footer};return(0,s.jsx)(a.m.footer,{ref:t,...o,__css:l,className:u})});u.displayName="ModalFooter"},63176:function(e,t,r){"use strict";r.d(t,{Y2:function(){return A},zu:function(){return P}});var n=r(62929),i=r(52322),o=e=>(0,i.jsx)(n.J,{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})}),a=e=>(0,i.jsx)(n.J,{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"})}),s=r(2784);function u(e,t,r,n){(0,s.useEffect)(()=>{var i;if(!e.current||!n)return;let o=null!=(i=e.current.ownerDocument.defaultView)?i:window,a=Array.isArray(t)?t:[t],s=new o.MutationObserver(e=>{for(let t of e)"attributes"===t.type&&t.attributeName&&a.includes(t.attributeName)&&r(t)});return s.observe(e.current,{attributes:!0,attributeFilter:a}),()=>s.disconnect()})}var l=r(90359),c=r(56372);function d(e){return parseFloat(e.toString().replace(/[^\w.-]+/g,""))}function h(e,t){return Math.max((0,c.vk)(t),(0,c.vk)(e))}function p(e,t,r){let n=d(e);if(Number.isNaN(n))return;let i=h(n,t);return(0,c.Zd)(n,null!=r?r:i)}var f=r(32465),m=r(3171),g=r(36140),v=r(85244),y=r(31053),b=/^[Ee0-9+\-.]$/;function w(e){return b.test(e)}var k=r(76874),x=r(9165),_=r(29058),S=r(91982),E=r(84586),D=r(59576),[C,j]=(0,x.k)({name:"NumberInputStylesContext",errorMessage:"useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<NumberInput />\" "}),[O,T]=(0,x.k)({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within <NumberInput />"}),A=(0,_.G)(function(e,t){let r=(0,S.jC)("NumberInput",e),n=(0,E.Lr)(e),{htmlProps:o,...a}=function(e={}){let{focusInputOnChange:t=!0,clampValueOnBlur:r=!0,keepWithinRange:n=!0,min:i=Number.MIN_SAFE_INTEGER,max:o=Number.MAX_SAFE_INTEGER,step:a=1,isReadOnly:b,isDisabled:k,isRequired:x,isInvalid:_,pattern:S="[0-9]*(.[0-9]+)?",inputMode:E="decimal",allowMouseWheel:D,id:C,onChange:j,precision:O,name:T,"aria-describedby":A,"aria-label":P,"aria-labelledby":R,onFocus:M,onBlur:F,onInvalid:N,getAriaValueText:I,isValidCharacter:L,format:B,parse:z,...U}=e,q=(0,l.W)(M),$=(0,l.W)(F),H=(0,l.W)(N),V=(0,l.W)(null!=L?L:w),W=(0,l.W)(I),G=function(e={}){let{onChange:t,precision:r,defaultValue:n,value:i,step:o=1,min:a=Number.MIN_SAFE_INTEGER,max:u=Number.MAX_SAFE_INTEGER,keepWithinRange:f=!0}=e,m=(0,l.W)(t),[g,v]=(0,s.useState)(()=>{var e;return null==n?"":null!=(e=p(n,o,r))?e:""}),y=void 0!==i,b=y?i:g,w=h(d(b),o),k=null!=r?r:w,x=(0,s.useCallback)(e=>{e!==b&&(y||v(e.toString()),null==m||m(e.toString(),d(e)))},[m,y,b]),_=(0,s.useCallback)(e=>{let t=e;return f&&(t=(0,c.HU)(t,a,u)),(0,c.Zd)(t,k)},[k,f,u,a]),S=(0,s.useCallback)((e=o)=>{x(_(""===b?d(e):d(b)+e))},[_,o,x,b]),E=(0,s.useCallback)((e=o)=>{x(_(""===b?d(-e):d(b)-e))},[_,o,x,b]),D=(0,s.useCallback)(()=>{var e;x(null==n?"":null!=(e=p(n,o,r))?e:a)},[n,r,o,x,a]),C=(0,s.useCallback)(e=>{var t;x(null!=(t=p(e,o,k))?t:a)},[k,o,x,a]),j=d(b);return{isOutOfRange:j>u||j<a,isAtMax:j===u,isAtMin:j===a,precision:k,value:b,valueAsNumber:j,update:x,reset:D,increment:S,decrement:E,clamp:_,cast:C,setValue:v}}(e),{update:Y,increment:Z,decrement:K}=G,[J,X]=(0,s.useState)(!1),Q=!(b||k),ee=(0,s.useRef)(null),et=(0,s.useRef)(null),er=(0,s.useRef)(null),en=(0,s.useRef)(null),ei=(0,s.useCallback)(e=>e.split("").filter(V).join(""),[V]),eo=(0,s.useCallback)(e=>{var t;return null!=(t=null==z?void 0:z(e))?t:e},[z]),ea=(0,s.useCallback)(e=>{var t;return(null!=(t=null==B?void 0:B(e))?t:e).toString()},[B]);(0,m.r)(()=>{G.valueAsNumber>o?null==H||H("rangeOverflow",ea(G.value),G.valueAsNumber):G.valueAsNumber<i&&(null==H||H("rangeOverflow",ea(G.value),G.valueAsNumber))},[G.valueAsNumber,G.value,ea,H]),(0,g.G)(()=>{if(ee.current&&ee.current.value!=G.value){let e=eo(ee.current.value);G.setValue(ei(e))}},[eo,ei]);let es=(0,s.useCallback)((e=a)=>{Q&&Z(e)},[Z,Q,a]),eu=(0,s.useCallback)((e=a)=>{Q&&K(e)},[K,Q,a]),el=function(e,t){let[r,n]=(0,s.useState)(!1),[i,o]=(0,s.useState)(null),[a,u]=(0,s.useState)(!0),c=(0,s.useRef)(null),d=()=>clearTimeout(c.current);!function(e,t){let r=(0,l.W)(e);(0,s.useEffect)(()=>{let e=null;return null!==t&&(e=window.setInterval(()=>r(),t)),()=>{e&&window.clearInterval(e)}},[t,r])}(()=>{"increment"===i&&e(),"decrement"===i&&t()},r?50:null);let h=(0,s.useCallback)(()=>{a&&e(),c.current=setTimeout(()=>{u(!1),n(!0),o("increment")},300)},[e,a]),p=(0,s.useCallback)(()=>{a&&t(),c.current=setTimeout(()=>{u(!1),n(!0),o("decrement")},300)},[t,a]),f=(0,s.useCallback)(()=>{u(!0),n(!1),d()},[]);return(0,s.useEffect)(()=>()=>d(),[]),{up:h,down:p,stop:f,isSpinning:r}}(es,eu);u(er,"disabled",el.stop,el.isSpinning),u(en,"disabled",el.stop,el.isSpinning);let ec=(0,s.useCallback)(e=>{e.nativeEvent.isComposing||(Y(ei(eo(e.currentTarget.value))),et.current={start:e.currentTarget.selectionStart,end:e.currentTarget.selectionEnd})},[Y,ei,eo]),ed=(0,s.useCallback)(e=>{var t,r,n;null==q||q(e),et.current&&(e.target.selectionStart=null!=(r=et.current.start)?r:null==(t=e.currentTarget.value)?void 0:t.length,e.currentTarget.selectionEnd=null!=(n=et.current.end)?n:e.currentTarget.selectionStart)},[q]),eh=(0,s.useCallback)(e=>{if(e.nativeEvent.isComposing)return;!function(e,t){if(null==e.key)return!0;let r=e.ctrlKey||e.altKey||e.metaKey;return 1!==e.key.length||!!r||t(e.key)}(e,V)&&e.preventDefault();let t=ep(e)*a,r={ArrowUp:()=>es(t),ArrowDown:()=>eu(t),Home:()=>Y(i),End:()=>Y(o)}[e.key];r&&(e.preventDefault(),r(e))},[V,a,es,eu,Y,i,o]),ep=e=>{let t=1;return(e.metaKey||e.ctrlKey)&&(t=.1),e.shiftKey&&(t=10),t},ef=(0,s.useMemo)(()=>{let e=null==W?void 0:W(G.value);return null!=e?e:G.value.toString()||void 0},[G.value,W]),em=(0,s.useCallback)(()=>{let e=G.value;""!==G.value&&(/^[eE]/.test(G.value.toString())?G.setValue(""):(G.valueAsNumber<i&&(e=i),G.valueAsNumber>o&&(e=o),G.cast(e)))},[G,o,i]),eg=(0,s.useCallback)(()=>{X(!1),r&&em()},[r,X,em]),ev=(0,s.useCallback)(()=>{t&&requestAnimationFrame(()=>{var e;null==(e=ee.current)||e.focus()})},[t]),ey=(0,s.useCallback)(e=>{e.preventDefault(),el.up(),ev()},[ev,el]),eb=(0,s.useCallback)(e=>{e.preventDefault(),el.down(),ev()},[ev,el]);(0,f.O)(()=>ee.current,"wheel",e=>{var t,r;let n=(null!=(r=null==(t=ee.current)?void 0:t.ownerDocument)?r:document).activeElement===ee.current;if(!D||!n)return;e.preventDefault();let i=ep(e)*a,o=Math.sign(e.deltaY);-1===o?es(i):1===o&&eu(i)},{passive:!1});let ew=(0,s.useCallback)((e={},t=null)=>{let r=k||n&&G.isAtMax;return{...e,ref:(0,v.lq)(t,er),role:"button",tabIndex:-1,onPointerDown:(0,y.v0)(e.onPointerDown,e=>{0!==e.button||r||ey(e)}),onPointerLeave:(0,y.v0)(e.onPointerLeave,el.stop),onPointerUp:(0,y.v0)(e.onPointerUp,el.stop),disabled:r,"aria-disabled":(0,y.Qm)(r)}},[G.isAtMax,n,ey,el.stop,k]),ek=(0,s.useCallback)((e={},t=null)=>{let r=k||n&&G.isAtMin;return{...e,ref:(0,v.lq)(t,en),role:"button",tabIndex:-1,onPointerDown:(0,y.v0)(e.onPointerDown,e=>{0!==e.button||r||eb(e)}),onPointerLeave:(0,y.v0)(e.onPointerLeave,el.stop),onPointerUp:(0,y.v0)(e.onPointerUp,el.stop),disabled:r,"aria-disabled":(0,y.Qm)(r)}},[G.isAtMin,n,eb,el.stop,k]),ex=(0,s.useCallback)((e={},t=null)=>{var r,n,a,s;return{name:T,inputMode:E,type:"text",pattern:S,"aria-labelledby":R,"aria-label":P,"aria-describedby":A,id:C,disabled:k,...e,readOnly:null!=(r=e.readOnly)?r:b,"aria-readonly":null!=(n=e.readOnly)?n:b,"aria-required":null!=(a=e.required)?a:x,required:null!=(s=e.required)?s:x,ref:(0,v.lq)(ee,t),value:ea(G.value),role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":Number.isNaN(G.valueAsNumber)?void 0:G.valueAsNumber,"aria-invalid":(0,y.Qm)(null!=_?_:G.isOutOfRange),"aria-valuetext":ef,autoComplete:"off",autoCorrect:"off",onChange:(0,y.v0)(e.onChange,ec),onKeyDown:(0,y.v0)(e.onKeyDown,eh),onFocus:(0,y.v0)(e.onFocus,ed,()=>X(!0)),onBlur:(0,y.v0)(e.onBlur,$,eg)}},[T,E,S,R,P,ea,A,C,k,x,b,_,G.value,G.valueAsNumber,G.isOutOfRange,i,o,ef,ec,eh,ed,$,eg]);return{value:ea(G.value),valueAsNumber:G.valueAsNumber,isFocused:J,isDisabled:k,isReadOnly:b,getIncrementButtonProps:ew,getDecrementButtonProps:ek,getInputProps:ex,htmlProps:U}}((0,k.K)(n)),b=(0,s.useMemo)(()=>a,[a]);return(0,i.jsx)(O,{value:b,children:(0,i.jsx)(C,{value:r,children:(0,i.jsx)(D.m.div,{...o,ref:t,className:(0,y.cx)("chakra-numberinput",e.className),__css:{position:"relative",zIndex:0,...r.root}})})})});A.displayName="NumberInput",(0,_.G)(function(e,t){let r=j();return(0,i.jsx)(D.m.div,{"aria-hidden":!0,ref:t,...e,__css:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1,...r.stepperGroup}})}).displayName="NumberInputStepper";var P=(0,_.G)(function(e,t){let{getInputProps:r}=T(),n=r(e,t),o=j();return(0,i.jsx)(D.m.input,{...n,className:(0,y.cx)("chakra-numberinput__field",e.className),__css:{width:"100%",...o.field}})});P.displayName="NumberInputField";var R=(0,D.m)("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}});(0,_.G)(function(e,t){var r;let n=j(),{getDecrementButtonProps:a}=T(),s=a(e,t);return(0,i.jsx)(R,{...s,__css:n.stepper,children:null!=(r=e.children)?r:(0,i.jsx)(o,{})})}).displayName="NumberDecrementStepper",(0,_.G)(function(e,t){var r;let{getIncrementButtonProps:n}=T(),o=n(e,t),s=j();return(0,i.jsx)(R,{...o,__css:s.stepper,children:null!=(r=e.children)?r:(0,i.jsx)(a,{})})}).displayName="NumberIncrementStepper"},56372:function(e,t,r){"use strict";function n(e,t){let r=function(e){let t=parseFloat(e);return"number"!=typeof t||Number.isNaN(t)?0:t}(e),n=10**(null!=t?t:10);return r=Math.round(r*n)/n,t?r.toFixed(t):r.toString()}function i(e){if(!Number.isFinite(e))return 0;let t=1,r=0;for(;Math.round(e*t)/t!==e;)t*=10,r+=1;return r}function o(e,t,r){return(e-t)*100/(r-t)}function a(e,t,r){return(r-t)*e+t}function s(e,t,r){return n(Math.round((e-t)/r)*r+t,i(r))}function u(e,t,r){return null==e?e:(r<t&&console.warn("clamp: max cannot be less than min"),Math.min(Math.max(e,t),r))}r.d(t,{HU:function(){return u},Rg:function(){return o},WP:function(){return s},WS:function(){return a},Zd:function(){return n},vk:function(){return i}})},49:function(e,t,r){"use strict";function n(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}r.d(t,{o:function(){return n}})},39429:function(e,t,r){"use strict";r.d(t,{y:function(){return h}});var n=r(83118),i=r(59576),o=r(29058),a=r(7165),s=r(52322),u={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},l=(0,i.m)(a.E.section),c=(0,o.G)(function(e,t){let{variants:r=u,...i}=e,{isOpen:o}=(0,n.lp)();return(0,s.jsx)(l,{ref:t,variants:function(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}(r),initial:!1,animate:o?"enter":"exit",...i})});c.displayName="PopoverTransition";var d=r(31053),h=(0,o.G)(function(e,t){let{rootProps:r,motionProps:o,...a}=e,{getPopoverProps:u,getPopoverPositionerProps:l,onAnimationComplete:h}=(0,n.lp)(),p=(0,n.SV)(),f={position:"relative",display:"flex",flexDirection:"column",...p.content};return(0,s.jsx)(i.m.div,{...l(r),__css:p.popper,className:"chakra-popover__popper",children:(0,s.jsx)(c,{...o,...u(a,t),onAnimationComplete:(0,d.PP)(h,a.onAnimationComplete),className:(0,d.cx)("chakra-popover__content",e.className),__css:f})})});h.displayName="PopoverContent"},43679:function(e,t,r){"use strict";r.d(t,{J:function(){return k}});var n=r(87053),i=r(76294),o=r(23964),a=r(36502),s=r(70339),u=r(79626),l=r(85244),c=r(31053),d=r(4028),h=r(2784),p={click:"click",hover:"hover"};function f(e,t){return e===t||(null==e?void 0:e.contains(t))}function m(e){var t;let r=e.currentTarget.ownerDocument.activeElement;return null!=(t=e.relatedTarget)?t:r}var g=r(83118),v=r(91982),y=r(84586),b=r(91148),w=r(52322);function k(e){let t=(0,v.jC)("Popover",e),{children:r,...k}=(0,y.Lr)(e),x=(0,b.F)(),_=function(e={}){let{closeOnBlur:t=!0,closeOnEsc:r=!0,initialFocusRef:g,id:v,returnFocusOnClose:y=!0,autoFocus:b=!0,arrowSize:w,arrowShadowColor:k,trigger:x=p.click,openDelay:_=200,closeDelay:S=200,isLazy:E,lazyBehavior:D="unmount",computePositionOnMount:C,...j}=e,{isOpen:O,onClose:T,onOpen:A,onToggle:P}=(0,a.q)(e),R=(0,h.useRef)(null),M=(0,h.useRef)(null),F=(0,h.useRef)(null),N=(0,h.useRef)(!1),I=(0,h.useRef)(!1);O&&(I.current=!0);let[L,B]=(0,h.useState)(!1),[z,U]=(0,h.useState)(!1),q=(0,h.useId)(),$=null!=v?v:q,[H,V,W,G]=["popover-trigger","popover-content","popover-header","popover-body"].map(e=>`${e}-${$}`),{referenceRef:Y,getArrowProps:Z,getPopperProps:K,getArrowInnerProps:J,forceUpdate:X}=(0,s.D)({...j,enabled:O||!!C}),Q=(0,n.h)({isOpen:O,ref:F});(0,i.s)({enabled:O,ref:M}),(0,o.C)(F,{focusRef:M,visible:O,shouldFocus:y&&x===p.click}),(0,o.G)(F,{focusRef:g,visible:O,shouldFocus:b&&x===p.click});let ee=(0,d.k)({wasSelected:I.current,enabled:E,mode:D,isSelected:Q.present}),et=(0,h.useCallback)((e={},n=null)=>{let i={...e,style:{...e.style,transformOrigin:u.Dq.transformOrigin.varRef,[u.Dq.arrowSize.var]:w?`${w}px`:void 0,[u.Dq.arrowShadowColor.var]:k},ref:(0,l.lq)(F,n),children:ee?e.children:null,id:V,tabIndex:-1,role:"dialog",onKeyDown:(0,c.v0)(e.onKeyDown,e=>{r&&"Escape"===e.key&&T()}),onBlur:(0,c.v0)(e.onBlur,e=>{let r=m(e),n=f(F.current,r),i=f(M.current,r);O&&t&&!n&&!i&&T()}),"aria-labelledby":L?W:void 0,"aria-describedby":z?G:void 0};return x===p.hover&&(i.role="tooltip",i.onMouseEnter=(0,c.v0)(e.onMouseEnter,()=>{N.current=!0}),i.onMouseLeave=(0,c.v0)(e.onMouseLeave,e=>{null!==e.nativeEvent.relatedTarget&&(N.current=!1,setTimeout(()=>T(),S))})),i},[ee,V,L,W,z,G,x,r,T,O,t,S,k,w]),er=(0,h.useCallback)((e={},t=null)=>K({...e,style:{visibility:O?"visible":"hidden",...e.style}},t),[O,K]),en=(0,h.useCallback)((e,t=null)=>({...e,ref:(0,l.lq)(t,R,Y)}),[R,Y]),ei=(0,h.useRef)(),eo=(0,h.useRef)(),ea=(0,h.useCallback)(e=>{null==R.current&&Y(e)},[Y]),es=(0,h.useCallback)((e={},r=null)=>{let n={...e,ref:(0,l.lq)(M,r,ea),id:H,"aria-haspopup":"dialog","aria-expanded":O,"aria-controls":V};return x===p.click&&(n.onClick=(0,c.v0)(e.onClick,P)),x===p.hover&&(n.onFocus=(0,c.v0)(e.onFocus,()=>{void 0===ei.current&&A()}),n.onBlur=(0,c.v0)(e.onBlur,e=>{let r=m(e),n=!f(F.current,r);O&&t&&n&&T()}),n.onKeyDown=(0,c.v0)(e.onKeyDown,e=>{"Escape"===e.key&&T()}),n.onMouseEnter=(0,c.v0)(e.onMouseEnter,()=>{N.current=!0,ei.current=window.setTimeout(()=>A(),_)}),n.onMouseLeave=(0,c.v0)(e.onMouseLeave,()=>{N.current=!1,ei.current&&(clearTimeout(ei.current),ei.current=void 0),eo.current=window.setTimeout(()=>{!1===N.current&&T()},S)})),n},[H,O,V,x,ea,P,A,t,T,_,S]);(0,h.useEffect)(()=>()=>{ei.current&&clearTimeout(ei.current),eo.current&&clearTimeout(eo.current)},[]);let eu=(0,h.useCallback)((e={},t=null)=>({...e,id:W,ref:(0,l.lq)(t,e=>{B(!!e)})}),[W]),el=(0,h.useCallback)((e={},t=null)=>({...e,id:G,ref:(0,l.lq)(t,e=>{U(!!e)})}),[G]);return{forceUpdate:X,isOpen:O,onAnimationComplete:Q.onComplete,onClose:T,getAnchorProps:en,getArrowProps:Z,getArrowInnerProps:J,getPopoverPositionerProps:er,getPopoverProps:et,getTriggerProps:es,getHeaderProps:eu,getBodyProps:el}}({...k,direction:x.direction});return(0,w.jsx)(g.H2,{value:_,children:(0,w.jsx)(g.WG,{value:t,children:(0,c.Pu)(r,{isOpen:_.isOpen,onClose:_.onClose,forceUpdate:_.forceUpdate})})})}k.displayName="Popover"},47154:function(e,t,r){"use strict";r.d(t,{Y:function(){return u}});var n=r(83118),i=r(29058),o=r(59576),a=r(31053),s=r(52322),u=(0,i.G)(function(e,t){let{getHeaderProps:r}=(0,n.lp)(),i=(0,n.SV)();return(0,s.jsx)(o.m.header,{...r(e,t),className:(0,a.cx)("chakra-popover__header",e.className),__css:i.header})});u.displayName="PopoverHeader"},11284:function(e,t,r){"use strict";r.d(t,{t:function(){return o}});var n=r(83118),i=r(2784);function o(e){let t=i.Children.only(e.children),{getAnchorProps:r}=(0,n.lp)();return(0,i.cloneElement)(t,r(t.props,t.ref))}o.displayName="PopoverAnchor"},89833:function(e,t,r){"use strict";r.d(t,{u:function(){return u}});var n=r(83118),i=r(81672),o=r(29058),a=r(31053),s=r(52322),u=(0,o.G)(function(e,t){let{onClose:r}=(0,n.lp)(),o=(0,n.SV)();return(0,s.jsx)(i.P,{size:"sm",onClick:r,className:(0,a.cx)("chakra-popover__close-btn",e.className),__css:o.closeButton,ref:t,...e})});u.displayName="PopoverCloseButton"},34071:function(e,t,r){"use strict";r.d(t,{x:function(){return o}});var n=r(83118),i=r(2784);function o(e){let t=i.Children.only(e.children),{getTriggerProps:r}=(0,n.lp)();return(0,i.cloneElement)(t,r(t.props,t.ref))}o.displayName="PopoverTrigger"},48394:function(e,t,r){"use strict";r.d(t,{b:function(){return u}});var n=r(83118),i=r(29058),o=r(59576),a=r(31053),s=r(52322),u=(0,i.G)(function(e,t){let{getBodyProps:r}=(0,n.lp)(),i=(0,n.SV)();return(0,s.jsx)(o.m.div,{...r(e,t),className:(0,a.cx)("chakra-popover__body",e.className),__css:i.body})});u.displayName="PopoverBody"},46164:function(e,t,r){"use strict";r.d(t,{Q:function(){return u}});var n=r(83118),i=r(59576),o=r(31053),a=r(52322),s=(e,t)=>t?`${e}.${t}, ${t}`:void 0;function u(e){var t;let{bg:r,bgColor:u,backgroundColor:l,shadow:c,boxShadow:d,shadowColor:h}=e,{getArrowProps:p,getArrowInnerProps:f}=(0,n.lp)(),m=(0,n.SV)(),g=null!=(t=null!=r?r:u)?t:l;return(0,a.jsx)(i.m.div,{...p(),className:"chakra-popover__arrow-positioner",children:(0,a.jsx)(i.m.div,{className:(0,o.cx)("chakra-popover__arrow",e.className),...f(e),__css:{"--popper-arrow-shadow-color":s("colors",h),"--popper-arrow-bg":s("colors",g),"--popper-arrow-shadow":s("shadows",null!=c?c:d),...m.arrow}})})}u.displayName="PopoverArrow"},83118:function(e,t,r){"use strict";r.d(t,{H2:function(){return i},SV:function(){return s},WG:function(){return a},lp:function(){return o}});var n=r(9165),[i,o]=(0,n.k)({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"}),[a,s]=(0,n.k)({name:"PopoverStylesContext",errorMessage:"usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Popover />\" "})},79626:function(e,t,r){"use strict";r.d(t,{$B:function(){return l},Dq:function(){return i},Ke:function(){return o},mv:function(){return s}});var n=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),i={arrowShadowColor:n("--popper-arrow-shadow-color"),arrowSize:n("--popper-arrow-size","8px"),arrowSizeHalf:n("--popper-arrow-size-half"),arrowBg:n("--popper-arrow-bg"),transformOrigin:n("--popper-transform-origin"),arrowOffset:n("--popper-arrow-offset")};function o(e){return e.includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0}var a={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},s=e=>a[e],u={scroll:!0,resize:!0};function l(e){return"object"==typeof e?{enabled:!0,options:{...u,...e}}:{enabled:e,options:u}}},70339:function(e,t,r){"use strict";r.d(t,{D:function(){return v}});var n=r(79626),i={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{let t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},o={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{a(e)},effect:({state:e})=>()=>{a(e)}},a=e=>{e.elements.popper.style.setProperty(n.Dq.transformOrigin.var,(0,n.mv)(e.placement))},s={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{u(e)}},u=e=>{var t;if(!e.placement)return;let r=l(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&r){Object.assign(e.elements.arrow.style,{[r.property]:r.value,width:n.Dq.arrowSize.varRef,height:n.Dq.arrowSize.varRef,zIndex:-1});let t={[n.Dq.arrowSizeHalf.var]:`calc(${n.Dq.arrowSize.varRef} / 2 - 1px)`,[n.Dq.arrowOffset.var]:`calc(${n.Dq.arrowSizeHalf.varRef} * -1)`};for(let r in t)e.elements.arrow.style.setProperty(r,t[r])}},l=e=>e.startsWith("top")?{property:"bottom",value:n.Dq.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:n.Dq.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:n.Dq.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:n.Dq.arrowOffset.varRef}:void 0,c={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{d(e)},effect:({state:e})=>()=>{d(e)}},d=e=>{if(!e.elements.arrow)return;let t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;let r=(0,n.Ke)(e.placement);r&&t.style.setProperty("--popper-arrow-default-shadow",r),Object.assign(t.style,{transform:"rotate(45deg)",background:n.Dq.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},h={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},p={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"},f=r(85244),m=r(62465),g=r(2784);function v(e={}){let{enabled:t=!0,modifiers:r,placement:a="bottom",strategy:u="absolute",arrowPadding:l=8,eventListeners:d=!0,offset:v,gutter:y=8,flip:b=!0,boundary:w="clippingParents",preventOverflow:k=!0,matchWidth:x,direction:_="ltr"}=e,S=(0,g.useRef)(null),E=(0,g.useRef)(null),D=(0,g.useRef)(null),C=function(e,t="ltr"){var r,n;let i=(null==(r=h[e])?void 0:r[t])||e;return"ltr"===t?i:null!=(n=p[e])?n:i}(a,_),j=(0,g.useRef)(()=>{}),O=(0,g.useCallback)(()=>{var e;t&&S.current&&E.current&&(null==(e=j.current)||e.call(j),D.current=(0,m.fi)(S.current,E.current,{placement:C,modifiers:[c,s,o,{...i,enabled:!!x},{name:"eventListeners",...(0,n.$B)(d)},{name:"arrow",options:{padding:l}},{name:"offset",options:{offset:null!=v?v:[0,y]}},{name:"flip",enabled:!!b,options:{padding:8}},{name:"preventOverflow",enabled:!!k,options:{boundary:w}},...null!=r?r:[]],strategy:u}),D.current.forceUpdate(),j.current=D.current.destroy)},[C,t,r,x,d,l,v,y,b,k,w,u]);(0,g.useEffect)(()=>()=>{var e;S.current||E.current||(null==(e=D.current)||e.destroy(),D.current=null)},[]);let T=(0,g.useCallback)(e=>{S.current=e,O()},[O]),A=(0,g.useCallback)((e={},t=null)=>({...e,ref:(0,f.lq)(T,t)}),[T]),P=(0,g.useCallback)(e=>{E.current=e,O()},[O]),R=(0,g.useCallback)((e={},t=null)=>({...e,ref:(0,f.lq)(P,t),style:{...e.style,position:u,minWidth:x?void 0:"max-content",inset:"0 auto auto 0"}}),[u,P,x]),M=(0,g.useCallback)((e={},t=null)=>{let{size:r,shadowColor:n,bg:i,style:o,...a}=e;return{...a,ref:t,"data-popper-arrow":"",style:function(e){let{size:t,shadowColor:r,bg:n,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),r&&(o["--popper-arrow-shadow-color"]=r),n&&(o["--popper-arrow-bg"]=n),o}(e)}},[]),F=(0,g.useCallback)((e={},t=null)=>({...e,ref:t,"data-popper-arrow-inner":""}),[]);return{update(){var e;null==(e=D.current)||e.update()},forceUpdate(){var e;null==(e=D.current)||e.forceUpdate()},transformOrigin:n.Dq.transformOrigin.varRef,referenceRef:T,popperRef:P,getPopperProps:R,getArrowProps:M,getArrowInnerProps:F,getReferenceProps:A}}},332:function(e,t,r){"use strict";r.d(t,{h:function(){return m}});var n=r(45493),i=r(36140),o=r(9165),a=r(28316),s=r(2784),u=r(52322),[l,c]=(0,o.k)({strict:!1,name:"PortalContext"}),d="chakra-portal",h=e=>(0,u.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),p=e=>{let{appendToParentPortal:t,children:r}=e,[o,p]=(0,s.useState)(null),f=(0,s.useRef)(null),[,m]=(0,s.useState)({});(0,s.useEffect)(()=>m({}),[]);let g=c(),v=(0,n.L)();(0,i.G)(()=>{if(!o)return;let e=o.ownerDocument,r=t&&null!=g?g:e.body;if(!r)return;f.current=e.createElement("div"),f.current.className=d,r.appendChild(f.current),m({});let n=f.current;return()=>{r.contains(n)&&r.removeChild(n)}},[o]);let y=(null==v?void 0:v.zIndex)?(0,u.jsx)(h,{zIndex:null==v?void 0:v.zIndex,children:r}):r;return f.current?(0,a.createPortal)((0,u.jsx)(l,{value:f.current,children:y}),f.current):(0,u.jsx)("span",{ref:e=>{e&&p(e)}})},f=e=>{let{children:t,containerRef:r,appendToParentPortal:n}=e,o=r.current,c=null!=o?o:"undefined"!=typeof window?document.body:void 0,h=(0,s.useMemo)(()=>{let e=null==o?void 0:o.ownerDocument.createElement("div");return e&&(e.className=d),e},[o]),[,p]=(0,s.useState)({});return((0,i.G)(()=>p({}),[]),(0,i.G)(()=>{if(h&&c)return c.appendChild(h),()=>{c.removeChild(h)}},[h,c]),c&&h)?(0,a.createPortal)((0,u.jsx)(l,{value:n?h:null,children:t}),h):null};function m(e){let{containerRef:t,...r}={appendToParentPortal:!0,...e};return t?(0,u.jsx)(f,{containerRef:t,...r}):(0,u.jsx)(p,{...r})}m.className=d,m.selector=".chakra-portal",m.displayName="Portal"},45493:function(e,t,r){"use strict";r.d(t,{L:function(){return a},h:function(){return s}});var n=r(9165),i=r(52322),[o,a]=(0,n.k)({strict:!1,name:"PortalManagerContext"});function s(e){let{children:t,zIndex:r}=e;return(0,i.jsx)(o,{value:{zIndex:r},children:t})}s.displayName="PortalManager"},35297:function(e,t,r){"use strict";r.d(t,{E:function(){return h},X:function(){return d}});var n=r(31053),i=r(85244),o=r(2784),a=r(29058),s=r(59576),u=r(9165),l=r(52322),[c,d]=(0,u.k)({name:"RadioGroupContext",strict:!1}),h=(0,a.G)((e,t)=>{let{colorScheme:r,size:a,variant:u,children:d,className:h,isDisabled:p,isFocusable:f,...m}=e,{value:g,onChange:v,getRootProps:y,name:b,htmlProps:w}=function(e={}){let{onChange:t,value:r,defaultValue:a,name:s,isDisabled:u,isFocusable:l,isNative:c,...d}=e,[h,p]=(0,o.useState)(a||""),f=void 0!==r,m=f?r:h,g=(0,o.useRef)(null),v=(0,o.useCallback)(()=>{let e=g.current;if(!e)return;let t="input:not(:disabled):checked",r=e.querySelector(t);if(r){r.focus();return}t="input:not(:disabled)";let n=e.querySelector(t);null==n||n.focus()},[]),y=(0,o.useId)(),b=`radio-${y}`,w=s||b,k=(0,o.useCallback)(e=>{let r=e&&(0,n.Kn)(e)&&(0,n.Kn)(e.target)?e.target.value:e;f||p(r),null==t||t(String(r))},[t,f]);return{getRootProps:(0,o.useCallback)((e={},t=null)=>({...e,ref:(0,i.lq)(t,g),role:"radiogroup"}),[]),getRadioProps:(0,o.useCallback)((e={},t=null)=>{let r=c?"checked":"isChecked";return{...e,ref:t,name:w,[r]:null!=m?e.value===m:void 0,onChange(e){k(e)},"data-radiogroup":!0}},[c,w,k,m]),name:w,ref:g,focus:v,setValue:p,value:m,onChange:k,isDisabled:u,isFocusable:l,htmlProps:d}}(m),k=(0,o.useMemo)(()=>({name:b,size:a,onChange:v,colorScheme:r,value:g,variant:u,isDisabled:p,isFocusable:f}),[b,a,v,r,g,u,p,f]);return(0,l.jsx)(c,{value:k,children:(0,l.jsx)(s.m.div,{...y(w,t),className:(0,n.cx)("chakra-radio-group",h),children:d})})});h.displayName="RadioGroup"},59669:function(e,t,r){"use strict";r.d(t,{Y:function(){return m}});var n=r(35297),i=r(35183),o=r(31053),a=r(67274),s=r(2784),u={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function l(e){e.preventDefault(),e.stopPropagation()}var c=r(29058),d=r(91982),h=r(84586),p=r(59576),f=r(52322),m=(0,c.G)((e,t)=>{var r;let c=(0,n.X)(),{onChange:m,value:g}=e,v=(0,d.jC)("Radio",{...c,...e}),{spacing:y="0.5rem",children:b,isDisabled:w=null==c?void 0:c.isDisabled,isFocusable:k=null==c?void 0:c.isFocusable,inputProps:x,..._}=(0,h.Lr)(e),S=e.isChecked;(null==c?void 0:c.value)!=null&&null!=g&&(S=c.value===g);let E=m;(null==c?void 0:c.onChange)&&null!=g&&(E=(0,o.PP)(c.onChange,m));let D=null!=(r=null==e?void 0:e.name)?r:null==c?void 0:c.name,{getInputProps:C,getCheckboxProps:j,getLabelProps:O,getRootProps:T,htmlProps:A}=function(e={}){let{defaultChecked:t,isChecked:r,isFocusable:c,isDisabled:d,isReadOnly:h,isRequired:p,onChange:f,isInvalid:m,name:g,value:v,id:y,"data-radiogroup":b,"aria-describedby":w,...k}=e,x=`radio-${(0,s.useId)()}`,_=(0,i.NJ)(),S=(0,n.X)(),E=_&&!(S||b)?_.id:x;E=null!=y?y:E;let D=null!=d?d:null==_?void 0:_.isDisabled,C=null!=h?h:null==_?void 0:_.isReadOnly,j=null!=p?p:null==_?void 0:_.isRequired,O=null!=m?m:null==_?void 0:_.isInvalid,[T,A]=(0,s.useState)(!1),[P,R]=(0,s.useState)(!1),[M,F]=(0,s.useState)(!1),[N,I]=(0,s.useState)(!1),[L,B]=(0,s.useState)(!!t),z=void 0!==r,U=z?r:L;(0,s.useEffect)(()=>(0,a.BT)(A),[]);let q=(0,s.useCallback)(e=>{if(C||D){e.preventDefault();return}z||B(e.target.checked),null==f||f(e)},[z,D,C,f]),$=(0,s.useCallback)(e=>{" "===e.key&&I(!0)},[I]),H=(0,s.useCallback)(e=>{" "===e.key&&I(!1)},[I]),V=(0,s.useCallback)((e={},t=null)=>({...e,ref:t,"data-active":(0,o.PB)(N),"data-hover":(0,o.PB)(M),"data-disabled":(0,o.PB)(D),"data-invalid":(0,o.PB)(O),"data-checked":(0,o.PB)(U),"data-focus":(0,o.PB)(P),"data-focus-visible":(0,o.PB)(P&&T),"data-readonly":(0,o.PB)(C),"aria-hidden":!0,onMouseDown:(0,o.v0)(e.onMouseDown,()=>I(!0)),onMouseUp:(0,o.v0)(e.onMouseUp,()=>I(!1)),onMouseEnter:(0,o.v0)(e.onMouseEnter,()=>F(!0)),onMouseLeave:(0,o.v0)(e.onMouseLeave,()=>F(!1))}),[N,M,D,O,U,P,C,T]),{onFocus:W,onBlur:G}=null!=_?_:{},Y=(0,s.useCallback)((e={},t=null)=>{let r=D&&!c;return{...e,id:E,ref:t,type:"radio",name:g,value:v,onChange:(0,o.v0)(e.onChange,q),onBlur:(0,o.v0)(G,e.onBlur,()=>R(!1)),onFocus:(0,o.v0)(W,e.onFocus,()=>R(!0)),onKeyDown:(0,o.v0)(e.onKeyDown,$),onKeyUp:(0,o.v0)(e.onKeyUp,H),checked:U,disabled:r,readOnly:C,required:j,"aria-invalid":(0,o.Qm)(O),"aria-disabled":(0,o.Qm)(r),"aria-required":(0,o.Qm)(j),"data-readonly":(0,o.PB)(C),"aria-describedby":w,style:u}},[D,c,E,g,v,q,G,W,$,H,U,C,j,O,w]);return{state:{isInvalid:O,isFocused:P,isChecked:U,isActive:N,isHovered:M,isDisabled:D,isReadOnly:C,isRequired:j},getCheckboxProps:V,getRadioProps:V,getInputProps:Y,getLabelProps:(e={},t=null)=>({...e,ref:t,onMouseDown:(0,o.v0)(e.onMouseDown,l),"data-disabled":(0,o.PB)(D),"data-checked":(0,o.PB)(U),"data-invalid":(0,o.PB)(O)}),getRootProps:(e,t=null)=>({...e,ref:t,"data-disabled":(0,o.PB)(D),"data-checked":(0,o.PB)(U),"data-invalid":(0,o.PB)(O)}),htmlProps:k}}({..._,isChecked:S,isFocusable:k,isDisabled:w,onChange:E,name:D}),[P,R]=function(e,t){let r={},n={};for(let[i,o]of Object.entries(e))t.includes(i)?r[i]=o:n[i]=o;return[r,n]}(A,h.oE),M=j(R),F=C(x,t),N=O(),I=Object.assign({},P,T()),L={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...v.container},B={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...v.control},z={userSelect:"none",marginStart:y,...v.label};return(0,f.jsxs)(p.m.label,{className:"chakra-radio",...I,__css:L,children:[(0,f.jsx)("input",{className:"chakra-radio__input",...F}),(0,f.jsx)(p.m.span,{className:"chakra-radio__control",...M,__css:B}),b&&(0,f.jsx)(p.m.span,{className:"chakra-radio__label",...N,__css:z,children:b})]})});m.displayName="Radio"},25578:function(e,t,r){"use strict";r.d(t,{W:function(){return i}});var n=r(2784);function i(e){return n.Children.toArray(e).filter(e=>(0,n.isValidElement)(e))}},9165:function(e,t,r){"use strict";r.d(t,{k:function(){return i}});var n=r(2784);function i(e={}){let{name:t,strict:r=!0,hookName:i="useContext",providerName:o="Provider",errorMessage:a,defaultValue:s}=e,u=(0,n.createContext)(s);return u.displayName=t,[u.Provider,function e(){var t;let s=(0,n.useContext)(u);if(!s&&r){let r=Error(null!=a?a:`${i} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw r.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,r,e),r}return s},u]}},38317:function(e,t,r){"use strict";r.d(t,{O:function(){return s},u:function(){return u}});var n=r(36140),i=r(2784),o=r(52322),a=(0,i.createContext)({getDocument:()=>document,getWindow:()=>window});function s({defer:e}={}){let[,t]=(0,i.useReducer)(e=>e+1,0);return(0,n.G)(()=>{e&&t()},[e]),(0,i.useContext)(a)}function u(e){let{children:t,environment:r,disabled:n}=e,s=(0,i.useRef)(null),u=(0,i.useMemo)(()=>r||{getDocument:()=>{var e,t;return null!=(t=null==(e=s.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=s.current)?void 0:e.ownerDocument.defaultView)?t:window}},[r]),l=!n||!r;return(0,o.jsxs)(a.Provider,{value:u,children:[t,l&&(0,o.jsx)("span",{id:"__chakra_env",hidden:!0,ref:s})]})}a.displayName="EnvironmentContext",u.displayName="EnvironmentProvider"},87053:function(e,t,r){"use strict";r.d(t,{h:function(){return a}});var n=r(2784),i=r(32465),o=r(75800);function a(e){let{isOpen:t,ref:r}=e,[a,s]=(0,n.useState)(t),[u,l]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{u||(s(t),l(!0))},[t,u,a]),(0,i.O)(()=>r.current,"animationend",()=>{s(t)}),{present:!(!t&&!a),onComplete(){var e;let t=new((0,o.kR)(r.current)).CustomEvent("animationend",{bubbles:!0});null==(e=r.current)||e.dispatchEvent(t)}}}},90359:function(e,t,r){"use strict";r.d(t,{W:function(){return i}});var n=r(2784);function i(e,t=[]){let r=(0,n.useRef)(e);return(0,n.useEffect)(()=>{r.current=e}),(0,n.useCallback)((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)},t)}},59572:function(e,t,r){"use strict";r.d(t,{T:function(){return o}});var n=r(2784),i=r(90359);function o(e){let{value:t,defaultValue:r,onChange:o,shouldUpdate:a=(e,t)=>e!==t}=e,s=(0,i.W)(o),u=(0,i.W)(a),[l,c]=(0,n.useState)(r),d=void 0!==t,h=d?t:l,p=(0,i.W)(e=>{let t="function"==typeof e?e(h):e;u(h,t)&&(d||c(t),s(t))},[d,s,h,u]);return[h,p]}},36502:function(e,t,r){"use strict";r.d(t,{q:function(){return o}});var n=r(90359),i=r(2784);function o(e={}){let{onClose:t,onOpen:r,isOpen:o,id:a}=e,s=(0,n.W)(r),u=(0,n.W)(t),[l,c]=(0,i.useState)(e.defaultIsOpen||!1),d=void 0!==o?o:l,h=void 0!==o,p=(0,i.useId)(),f=null!=a?a:`disclosure-${p}`,m=(0,i.useCallback)(()=>{h||c(!1),null==u||u()},[h,u]),g=(0,i.useCallback)(()=>{h||c(!0),null==s||s()},[h,s]),v=(0,i.useCallback)(()=>{d?m():g()},[d,g,m]);return{isOpen:d,onOpen:g,onClose:m,onToggle:v,isControlled:h,getButtonProps:function(e={}){return{...e,"aria-expanded":d,"aria-controls":f,onClick(t){var r;null==(r=e.onClick)||r.call(e,t),v()}}},getDisclosureProps:function(e={}){return{...e,hidden:!d,id:f}}}}},32465:function(e,t,r){"use strict";r.d(t,{O:function(){return o}});var n=r(2784),i=r(90359);function o(e,t,r,o){let a=(0,i.W)(r);return(0,n.useEffect)(()=>{let n="function"==typeof e?e():null!=e?e:document;if(r&&n)return n.addEventListener(t,a,o),()=>{n.removeEventListener(t,a,o)}},[t,e,o,a,r]),()=>{let r="function"==typeof e?e():null!=e?e:document;null==r||r.removeEventListener(t,a,o)}}},23964:function(e,t,r){"use strict";r.d(t,{C:function(){return c},G:function(){return h}});var n=r(75800),i=r(41741),o=r(51905),a=r(32465),s=r(36140),u=r(3171),l=r(2784);function c(e,t){let{shouldFocus:r,visible:o,focusRef:a}=t,s=r&&!o;(0,u.r)(()=>{let t;if(!s||function(e){let t=e.current;if(!t)return!1;let r=(0,n.vY)(t);return!(!r||t.contains(r))&&!!(0,i.Wq)(r)}(e))return;let r=(null==a?void 0:a.current)||e.current;if(r)return t=requestAnimationFrame(()=>{r.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(t)}},[s,e,a])}var d={preventScroll:!0,shouldFocus:!1};function h(e,t=d){let{focusRef:r,preventScroll:n,shouldFocus:i,visible:c}=t,h="current"in e?e.current:e,p=i&&c,f=(0,l.useRef)(p),m=(0,l.useRef)(c);(0,s.G)(()=>{!m.current&&c&&(f.current=p),m.current=c},[c,p]);let g=(0,l.useCallback)(()=>{if(c&&h&&f.current&&(f.current=!1,!h.contains(document.activeElement))){if(null==r?void 0:r.current)requestAnimationFrame(()=>{var e;null==(e=r.current)||e.focus({preventScroll:n})});else{let e=(0,o.t5)(h);e.length>0&&requestAnimationFrame(()=>{e[0].focus({preventScroll:n})})}}},[c,n,h,r]);(0,u.r)(()=>{g()},[g]),(0,a.O)(h,"transitionend",g)}},76294:function(e,t,r){"use strict";r.d(t,{s:function(){return l}});var n=r(32465),i=()=>"undefined"!=typeof window,o=e=>i()&&e.test(navigator.vendor),a=e=>i()&&e.test(function(){var e;let t=navigator.userAgentData;return null!=(e=null==t?void 0:t.platform)?e:navigator.platform}()),s=()=>a(/mac|iphone|ipad|ipod/i),u=()=>s()&&o(/apple/i);function l(e){let{ref:t,elements:r,enabled:i}=e,o=()=>{var e,r;return null!=(r=null==(e=t.current)?void 0:e.ownerDocument)?r:document};(0,n.O)(o,"pointerdown",e=>{if(!u()||!i)return;let n=e.target,a=(null!=r?r:[t]).some(e=>{let t="current"in e?e.current:e;return(null==t?void 0:t.contains(n))||t===n});o().activeElement!==n&&a&&(e.preventDefault(),n.focus())})}},85244:function(e,t,r){"use strict";r.d(t,{lq:function(){return i},qq:function(){return o}});var n=r(2784);function i(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(r){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}(e,t)})}}function o(...e){return(0,n.useMemo)(()=>i(...e),e)}},36140:function(e,t,r){"use strict";r.d(t,{G:function(){return i}});var n=r(2784),i=(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:n.useEffect},3171:function(e,t,r){"use strict";r.d(t,{r:function(){return i}});var n=r(2784);function i(e,t){let r=(0,n.useRef)(!1),i=(0,n.useRef)(!1);(0,n.useEffect)(()=>{if(r.current&&i.current)return e();i.current=!0},t),(0,n.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])}},21898:function(e,t,r){"use strict";r.d(t,{l:function(){return i}});var n=r(93429);function i(...e){return t=>{e.forEach(e=>(function(e,t){if(null!=e){if((0,n.mf)(e)){e(t);return}try{e.current=t}catch(r){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}})(e,t))}}},81821:function(e,t,r){"use strict";r.d(t,{k:function(){return i}});var n=r(2784);function i(e={}){let{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:i}=e,o=(0,n.createContext)(void 0);return o.displayName=i,[o.Provider,function e(){var i;let a=(0,n.useContext)(o);if(!a&&t){let t=Error(r);throw t.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,t,e),t}return a},o]}},18200:function(e,t,r){"use strict";r.d(t,{x:function(){return E}});var n=r(28165),i=r(52322),o=String.raw,a=o`
  :root,
  :host {
    --chakra-vh: 100vh;
  }

  @supports (height: -webkit-fill-available) {
    :root,
    :host {
      --chakra-vh: -webkit-fill-available;
    }
  }

  @supports (height: -moz-fill-available) {
    :root,
    :host {
      --chakra-vh: -moz-fill-available;
    }
  }

  @supports (height: 100dvh) {
    :root,
    :host {
      --chakra-vh: 100dvh;
    }
  }
`,s=()=>(0,i.jsx)(n.xB,{styles:a}),u=({scope:e=""})=>(0,i.jsx)(n.xB,{styles:o`
      html {
        line-height: 1.5;
        -webkit-text-size-adjust: 100%;
        font-family: system-ui, sans-serif;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        -moz-osx-font-smoothing: grayscale;
        touch-action: manipulation;
      }

      body {
        position: relative;
        min-height: 100%;
        margin: 0;
        font-feature-settings: "kern";
      }

      ${e} :where(*, *::before, *::after) {
        border-width: 0;
        border-style: solid;
        box-sizing: border-box;
        word-wrap: break-word;
      }

      main {
        display: block;
      }

      ${e} hr {
        border-top-width: 1px;
        box-sizing: content-box;
        height: 0;
        overflow: visible;
      }

      ${e} :where(pre, code, kbd,samp) {
        font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 1em;
      }

      ${e} a {
        background-color: transparent;
        color: inherit;
        text-decoration: inherit;
      }

      ${e} abbr[title] {
        border-bottom: none;
        text-decoration: underline;
        -webkit-text-decoration: underline dotted;
        text-decoration: underline dotted;
      }

      ${e} :where(b, strong) {
        font-weight: bold;
      }

      ${e} small {
        font-size: 80%;
      }

      ${e} :where(sub,sup) {
        font-size: 75%;
        line-height: 0;
        position: relative;
        vertical-align: baseline;
      }

      ${e} sub {
        bottom: -0.25em;
      }

      ${e} sup {
        top: -0.5em;
      }

      ${e} img {
        border-style: none;
      }

      ${e} :where(button, input, optgroup, select, textarea) {
        font-family: inherit;
        font-size: 100%;
        line-height: 1.15;
        margin: 0;
      }

      ${e} :where(button, input) {
        overflow: visible;
      }

      ${e} :where(button, select) {
        text-transform: none;
      }

      ${e} :where(
          button::-moz-focus-inner,
          [type="button"]::-moz-focus-inner,
          [type="reset"]::-moz-focus-inner,
          [type="submit"]::-moz-focus-inner
        ) {
        border-style: none;
        padding: 0;
      }

      ${e} fieldset {
        padding: 0.35em 0.75em 0.625em;
      }

      ${e} legend {
        box-sizing: border-box;
        color: inherit;
        display: table;
        max-width: 100%;
        padding: 0;
        white-space: normal;
      }

      ${e} progress {
        vertical-align: baseline;
      }

      ${e} textarea {
        overflow: auto;
      }

      ${e} :where([type="checkbox"], [type="radio"]) {
        box-sizing: border-box;
        padding: 0;
      }

      ${e} input[type="number"]::-webkit-inner-spin-button,
      ${e} input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none !important;
      }

      ${e} input[type="number"] {
        -moz-appearance: textfield;
      }

      ${e} input[type="search"] {
        -webkit-appearance: textfield;
        outline-offset: -2px;
      }

      ${e} input[type="search"]::-webkit-search-decoration {
        -webkit-appearance: none !important;
      }

      ${e} ::-webkit-file-upload-button {
        -webkit-appearance: button;
        font: inherit;
      }

      ${e} details {
        display: block;
      }

      ${e} summary {
        display: list-item;
      }

      template {
        display: none;
      }

      [hidden] {
        display: none !important;
      }

      ${e} :where(
          blockquote,
          dl,
          dd,
          h1,
          h2,
          h3,
          h4,
          h5,
          h6,
          hr,
          figure,
          p,
          pre
        ) {
        margin: 0;
      }

      ${e} button {
        background: transparent;
        padding: 0;
      }

      ${e} fieldset {
        margin: 0;
        padding: 0;
      }

      ${e} :where(ol, ul) {
        margin: 0;
        padding: 0;
      }

      ${e} textarea {
        resize: vertical;
      }

      ${e} :where(button, [role="button"]) {
        cursor: pointer;
      }

      ${e} button::-moz-focus-inner {
        border: 0 !important;
      }

      ${e} table {
        border-collapse: collapse;
      }

      ${e} :where(h1, h2, h3, h4, h5, h6) {
        font-size: inherit;
        font-weight: inherit;
      }

      ${e} :where(button, input, optgroup, select, textarea) {
        padding: 0;
        line-height: inherit;
        color: inherit;
      }

      ${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
        display: block;
      }

      ${e} :where(img, video) {
        max-width: 100%;
        height: auto;
      }

      [data-js-focus-visible]
        :focus:not([data-focus-visible-added]):not(
          [data-focus-visible-disabled]
        ) {
        outline: none;
        box-shadow: none;
      }

      ${e} select::-ms-expand {
        display: none;
      }

      ${a}
    `}),l=r(45493),c=r(15706),d=r(50019),h={light:"chakra-ui-light",dark:"chakra-ui-dark"},p="chakra-ui-color-mode",f={ssr:!1,type:"localStorage",get(e){let t;if(!(null==globalThis?void 0:globalThis.document))return e;try{t=localStorage.getItem(p)||e}catch(e){}return t||e},set(e){try{localStorage.setItem(p,e)}catch(e){}}},m=r(36140),g=r(2784),v=()=>{};function y(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function b(e){let{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:o,disableTransitionOnChange:a}={},colorModeManager:s=f}=e,u="dark"===o?"dark":"light",[l,c]=(0,g.useState)(()=>y(s,u)),[p,b]=(0,g.useState)(()=>y(s)),{getSystemTheme:w,setClassName:k,setDataset:x,addListener:_}=(0,g.useMemo)(()=>(function(e={}){let{preventTransition:t=!0}=e,r={setDataset:e=>{let n=t?r.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==n||n()},setClassName(e){document.body.classList.add(e?h.dark:h.light),document.body.classList.remove(e?h.light:h.dark)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=r.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){let t=r.query(),n=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},preventTransition(){let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}};return r})({preventTransition:a}),[a]),S="system"!==o||l?l:p,E=(0,g.useCallback)(e=>{let t="system"===e?w():e;c(t),k("dark"===t),x(t),s.set(t)},[s,w,k,x]);(0,m.G)(()=>{"system"===o&&b(w())},[]),(0,g.useEffect)(()=>{let e=s.get();if(e){E(e);return}if("system"===o){E("system");return}E(u)},[s,u,o,E]);let D=(0,g.useCallback)(()=>{E("dark"===S?"light":"dark")},[S,E]);(0,g.useEffect)(()=>{if(n)return _(E)},[n,_,E]);let C=(0,g.useMemo)(()=>({colorMode:null!=t?t:S,toggleColorMode:t?v:D,setColorMode:t?v:E,forced:void 0!==t}),[S,D,E,t]);return(0,i.jsx)(d.kc.Provider,{value:C,children:r})}b.displayName="ColorModeProvider";var w=r(38317),k=e=>{let{children:t,colorModeManager:r,portalZIndex:n,resetScope:o,resetCSS:a=!0,theme:d={},environment:h,cssVarsRoot:p,disableEnvironment:f,disableGlobalStyle:m}=e,g=(0,i.jsx)(w.u,{environment:h,disabled:f,children:t});return(0,i.jsx)(c.f6,{theme:d,cssVarsRoot:p,children:(0,i.jsxs)(b,{colorModeManager:r,options:d.config,children:[a?(0,i.jsx)(u,{scope:o}):(0,i.jsx)(s,{}),!m&&(0,i.jsx)(c.ZL,{}),n?(0,i.jsx)(l.h,{zIndex:n,children:g}):g]})})},x=r(48696),_=r(64836),S=e=>function({children:t,theme:r=e,toastOptions:n,...o}){return(0,i.jsxs)(k,{theme:r,...o,children:[(0,i.jsx)(_.Qi,{value:null==n?void 0:n.defaultOptions,children:t}),(0,i.jsx)(_.VW,{...n})]})},E=S(x.rS);S(x.wE)},31053:function(e,t,r){"use strict";r.d(t,{Kn:function(){return i},PB:function(){return u},PP:function(){return d},Pu:function(){return a},Qm:function(){return l},ZK:function(){return o},cx:function(){return n},v0:function(){return c}});var n=(...e)=>e.filter(Boolean).join(" ");function i(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}var o=e=>{let{condition:t,message:r}=e};function a(e,...t){return s(e)?e(...t):e}var s=e=>"function"==typeof e,u=e=>e?"":void 0,l=e=>!!e||void 0;function c(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function d(...e){return function(t){e.forEach(e=>{null==e||e(t)})}}},67109:function(e,t,r){"use strict";r.d(t,{O:function(){return v}});var n=r(2784),i=r(31053),o=r(59576),a=r(84586),s=r(28165),u=r(29058),l=r(91982),c=r(48929),d=r(52322),h=(0,o.m)("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),p=(0,a.gJ)("skeleton-start-color"),f=(0,a.gJ)("skeleton-end-color"),m=(0,s.F4)({from:{opacity:0},to:{opacity:1}}),g=(0,s.F4)({from:{borderColor:p.reference,background:p.reference},to:{borderColor:f.reference,background:f.reference}}),v=(0,u.G)((e,t)=>{let r={...e,fadeDuration:"number"==typeof e.fadeDuration?e.fadeDuration:.4,speed:"number"==typeof e.speed?e.speed:.8},s=(0,l.mq)("Skeleton",r),u=function(){let e=(0,n.useRef)(!0);return(0,n.useEffect)(()=>{e.current=!1},[]),e.current}(),{startColor:v="",endColor:y="",isLoaded:b,fadeDuration:w,speed:k,className:x,fitContent:_,...S}=(0,a.Lr)(r),[E,D]=(0,c.dQ)("colors",[v,y]),C=function(e){let t=(0,n.useRef)();return(0,n.useEffect)(()=>{t.current=e},[e]),t.current}(b),j=(0,i.cx)("chakra-skeleton",x),O={...E&&{[p.variable]:E},...D&&{[f.variable]:D}};if(b){let e=u||C?"none":`${m} ${w}s`;return(0,d.jsx)(o.m.div,{ref:t,className:j,__css:{animation:e},...S})}return(0,d.jsx)(h,{ref:t,className:j,...S,__css:{width:_?"fit-content":void 0,...s,...O,_dark:{...s._dark,...O},animation:`${k}s linear infinite alternate ${g}`}})});v.displayName="Skeleton"},84010:function(e,t,r){"use strict";r.d(t,{N:function(){return u}});var n=r(67109),i=r(24772),o=r(59576),a=r(31053),s=r(52322),u=e=>{let{noOfLines:t=3,spacing:r="0.5rem",skeletonHeight:u="0.5rem",className:l,startColor:c,endColor:d,isLoaded:h,fadeDuration:p,speed:f,variant:m,size:g,colorScheme:v,children:y,...b}=e,w=(0,i.S)("number"==typeof t?[t]:t)||3,k=Array(w).fill(1).map((e,t)=>t+1),x=e=>w>1&&e===k.length?"80%":"100%",_=(0,a.cx)("chakra-skeleton__group",l);return(0,s.jsx)(o.m.div,{className:_,...b,children:k.map((e,t)=>{if(h&&t>0)return null;let i=h?null:{mb:e===k.length?"0":r,width:x(e),height:u};return(0,s.jsx)(n.O,{startColor:c,endColor:d,isLoaded:h,fadeDuration:p,speed:f,variant:m,size:g,colorScheme:v,...i,children:0===t?y:void 0},k.length.toString()+e)})})};u.displayName="SkeletonText"},55233:function(e,t,r){"use strict";r.d(t,{iR:function(){return et},Ms:function(){return ei},gs:function(){return er},Uj:function(){return en}});var n=e=>e?"":void 0,i=e=>!!e||void 0,o=(...e)=>e.filter(Boolean).join(" ");function a(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function s(e){let{orientation:t,vertical:r,horizontal:n}=e;return"vertical"===t?r:n}var u={width:0,height:0},l=e=>e||u;function c(e,t="page"){return e.touches?function(e,t="page"){let r=e.touches[0]||e.changedTouches[0];return{x:r[`${t}X`],y:r[`${t}Y`]}}(e,t):function(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}(e,t)}function d(e,t,r,n){var i;return i=function(e,t=!1){function r(t){e(t,{point:c(t)})}return t?e=>{let t=function(e){var t;let r=null!=(t=e.view)?t:window;return void 0!==r.PointerEvent&&e instanceof r.PointerEvent?!("mouse"!==e.pointerType):e instanceof r.MouseEvent}(e);(!t||t&&0===e.button)&&r(e)}:r}(r,"pointerdown"===t),e.addEventListener(t,i,n),()=>{e.removeEventListener(t,i,n)}}let h=1/60*1e3,p="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),f="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(p()),h),m=!0,g=!1,v=!1,y={delta:0,timestamp:0},b=["read","update","preRender","render","postRender"],w=b.reduce((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,i=!1,o=!1,a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{let u=s&&i,l=u?t:r;return o&&a.add(e),-1===l.indexOf(e)&&(l.push(e),u&&i&&(n=t.length)),e},cancel:e=>{let t=r.indexOf(e);-1!==t&&r.splice(t,1),a.delete(e)},process:u=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length)for(let r=0;r<n;r++){let n=t[r];n(u),a.has(n)&&(s.schedule(n),e())}i=!1,o&&(o=!1,s.process(u))}};return s}(()=>g=!0),e),{}),k=b.reduce((e,t)=>{let r=w[t];return e[t]=(e,t=!1,n=!1)=>(g||E(),r.schedule(e,t,n)),e},{}),x=b.reduce((e,t)=>(e[t]=w[t].cancel,e),{});b.reduce((e,t)=>(e[t]=()=>w[t].process(y),e),{});let _=e=>w[e].process(y),S=e=>{g=!1,y.delta=m?h:Math.max(Math.min(e-y.timestamp,40),1),y.timestamp=e,v=!0,b.forEach(_),v=!1,g&&(m=!1,f(S))},E=()=>{g=!0,m=!0,v||f(S)},D=()=>y;var C=Object.defineProperty,j=(e,t,r)=>t in e?C(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,O=(e,t,r)=>(j(e,"symbol"!=typeof t?t+"":t,r),r),T=class{constructor(e,t,r){var n;if(O(this,"history",[]),O(this,"startEvent",null),O(this,"lastEvent",null),O(this,"lastEventInfo",null),O(this,"handlers",{}),O(this,"removeListeners",()=>{}),O(this,"threshold",3),O(this,"win"),O(this,"updatePoint",()=>{var e,t;if(!(this.lastEvent&&this.lastEventInfo))return;let r=P(this.lastEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},(F(e)&&F(t)?Math.sqrt(M(e.x,t.x)**2+M(e.y,t.y)**2):0)>=this.threshold);if(!n&&!i)return;let{timestamp:o}=D();this.history.push({...r.point,timestamp:o});let{onStart:a,onMove:s}=this.handlers;n||(null==a||a(this.lastEvent,r),this.startEvent=this.lastEvent),null==s||s(this.lastEvent,r)}),O(this,"onPointerMove",(e,t)=>{this.lastEvent=e,this.lastEventInfo=t,k.update(this.updatePoint,!0)}),O(this,"onPointerUp",(e,t)=>{let r=P(t,this.history),{onEnd:n,onSessionEnd:i}=this.handlers;null==i||i(e,r),this.end(),n&&this.startEvent&&(null==n||n(e,r))}),this.win=null!=(n=e.view)?n:window,e.touches&&e.touches.length>1)return;this.handlers=t,r&&(this.threshold=r),e.stopPropagation(),e.preventDefault();let i={point:c(e)},{timestamp:o}=D();this.history=[{...i.point,timestamp:o}];let{onSessionStart:a}=t;null==a||a(e,P(i,this.history)),this.removeListeners=function(...e){return t=>e.reduce((e,t)=>t(e),t)}(d(this.win,"pointermove",this.onPointerMove),d(this.win,"pointerup",this.onPointerUp),d(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;null==(e=this.removeListeners)||e.call(this),x.update(this.updatePoint)}};function A(e,t){return{x:e.x-t.x,y:e.y-t.y}}function P(e,t){return{point:e.point,delta:A(e.point,t[t.length-1]),offset:A(e.point,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=e[e.length-1];for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>R(.1)));)r--;if(!n)return{x:0,y:0};let o=(i.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}var R=e=>1e3*e;function M(e,t){return Math.abs(e-t)}function F(e){return"x"in e&&"y"in e}var N=r(2784);function I(e){let t=(0,N.useRef)(null);return t.current=e,t}var L=r(90359),B=r(3171),z=r(59572),U=(null==globalThis?void 0:globalThis.document)?N.useLayoutEffect:N.useEffect,q=r(85244),$=r(56372),H=r(9165),V=r(29058),W=r(91982),G=r(84586),Y=r(91148),Z=r(59576),K=r(52322),[J,X]=(0,H.k)({name:"SliderContext",hookName:"useSliderContext",providerName:"<Slider />"}),[Q,ee]=(0,H.k)({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:"<Slider />"}),et=(0,V.G)((e,t)=>{var r;let c={...e,orientation:null!=(r=null==e?void 0:e.orientation)?r:"horizontal"},h=(0,W.jC)("Slider",c),p=(0,G.Lr)(c),{direction:f}=(0,Y.F)();p.direction=f;let{getInputProps:m,getRootProps:g,...v}=function(e){var t;let{min:r=0,max:o=100,onChange:c,value:h,defaultValue:p,isReversed:f,direction:m="ltr",orientation:g="horizontal",id:v,isDisabled:y,isReadOnly:b,onChangeStart:w,onChangeEnd:k,step:x=1,getAriaValueText:_,"aria-valuetext":S,"aria-label":E,"aria-labelledby":D,name:C,focusThumbOnChange:j=!0,...O}=e,A=(0,L.W)(w),P=(0,L.W)(k),R=(0,L.W)(_),M=function(e){let{isReversed:t,direction:r,orientation:n}=e;return"ltr"===r||"vertical"===n?t:!t}({isReversed:f,direction:m,orientation:g}),[F,H]=(0,z.T)({value:h,defaultValue:null!=p?p:o<r?r:r+(o-r)/2,onChange:c}),[V,W]=(0,N.useState)(!1),[G,Y]=(0,N.useState)(!1),Z=!(y||b),K=(o-r)/10,J=x||(o-r)/100,X=(0,$.HU)(F,r,o),Q=o-X+r,ee=M?Q:X,et=(0,$.Rg)(ee,r,o),er="vertical"===g,en=I({min:r,max:o,step:x,isDisabled:y,value:X,isInteractive:Z,isReversed:M,isVertical:er,eventSource:null,focusThumbOnChange:j,orientation:g}),ei=(0,N.useRef)(null),eo=(0,N.useRef)(null),ea=(0,N.useRef)(null),es=(0,N.useId)(),eu=null!=v?v:es,[el,ec]=[`slider-thumb-${eu}`,`slider-track-${eu}`],ed=(0,N.useCallback)(e=>{var t,r;if(!ei.current)return;let n=en.current;n.eventSource="pointer";let i=ei.current.getBoundingClientRect(),{clientX:o,clientY:a}=null!=(r=null==(t=e.touches)?void 0:t[0])?r:e,s=(er?i.bottom-a:o-i.left)/(er?i.height:i.width);M&&(s=1-s);let u=(0,$.WS)(s,n.min,n.max);return n.step&&(u=parseFloat((0,$.WP)(u,n.min,n.step))),u=(0,$.HU)(u,n.min,n.max)},[er,M,en]),eh=(0,N.useCallback)(e=>{let t=en.current;t.isInteractive&&(e=parseFloat((0,$.WP)(e,t.min,J)),H(e=(0,$.HU)(e,t.min,t.max)))},[J,H,en]),ep=(0,N.useMemo)(()=>({stepUp(e=J){eh(M?X-e:X+e)},stepDown(e=J){eh(M?X+e:X-e)},reset(){eh(p||0)},stepTo(e){eh(e)}}),[eh,M,X,J,p]),ef=(0,N.useCallback)(e=>{let t=en.current,r={ArrowRight:()=>ep.stepUp(),ArrowUp:()=>ep.stepUp(),ArrowLeft:()=>ep.stepDown(),ArrowDown:()=>ep.stepDown(),PageUp:()=>ep.stepUp(K),PageDown:()=>ep.stepDown(K),Home:()=>eh(t.min),End:()=>eh(t.max)}[e.key];r&&(e.preventDefault(),e.stopPropagation(),r(e),t.eventSource="keyboard")},[ep,eh,K,en]),em=null!=(t=null==R?void 0:R(X))?t:S,eg=function(e){let[t]=function({getNodes:e,observeMutation:t=!0}){let[r,n]=(0,N.useState)([]),[i,o]=(0,N.useState)(0);return U(()=>{let r=e(),i=r.map((e,t)=>(function(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});let r=new(e.ownerDocument.defaultView??window).ResizeObserver(r=>{let n,i;if(!Array.isArray(r)||!r.length)return;let[o]=r;if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;t({width:n,height:i})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)})(e,e=>{n(r=>[...r.slice(0,t),e,...r.slice(t+1)])}));if(t){let e=r[0];i.push(function(e,t){var r,n;if(!e||!e.parentElement)return;let i=new(null!=(n=null==(r=e.ownerDocument)?void 0:r.defaultView)?n:window).MutationObserver(()=>{t()});return i.observe(e.parentElement,{childList:!0}),()=>{i.disconnect()}}(e,()=>{o(e=>e+1)}))}return()=>{i.forEach(e=>{null==e||e()})}},[i]),r}({observeMutation:!1,getNodes:()=>["object"==typeof e&&null!==e&&"current"in e?e.current:e]});return t}(eo),{getThumbStyle:ev,rootStyle:ey,trackStyle:eb,innerTrackStyle:ew}=(0,N.useMemo)(()=>{let e=en.current,t=null!=eg?eg:{width:0,height:0};return function(e){let{orientation:t,thumbPercents:r,thumbRects:n,isReversed:i}=e,o="vertical"===t?n.reduce((e,t)=>l(e).height>l(t).height?e:t,u):n.reduce((e,t)=>l(e).width>l(t).width?e:t,u),a={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...s({orientation:t,vertical:o?{paddingLeft:o.width/2,paddingRight:o.width/2}:{},horizontal:o?{paddingTop:o.height/2,paddingBottom:o.height/2}:{}})},c={position:"absolute",...s({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},d=1===r.length,h=[0,i?100-r[0]:r[0]],p=d?h:r,f=p[0];!d&&i&&(f=100-f);let m=Math.abs(p[p.length-1]-p[0]),g={...c,...s({orientation:t,vertical:i?{height:`${m}%`,top:`${f}%`}:{height:`${m}%`,bottom:`${f}%`},horizontal:i?{width:`${m}%`,right:`${f}%`}:{width:`${m}%`,left:`${f}%`}})};return{trackStyle:c,innerTrackStyle:g,rootStyle:a,getThumbStyle:e=>{var i;let o=null!=(i=n[e])?i:u;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...s({orientation:t,vertical:{bottom:`calc(${r[e]}% - ${o.height/2}px)`},horizontal:{left:`calc(${r[e]}% - ${o.width/2}px)`}})}}}}({isReversed:M,orientation:e.orientation,thumbRects:[t],thumbPercents:[et]})},[M,eg,et,en]),ek=(0,N.useCallback)(()=>{en.current.focusThumbOnChange&&setTimeout(()=>{var e;return null==(e=eo.current)?void 0:e.focus()})},[en]);function ex(e){let t=ed(e);null!=t&&t!==en.current.value&&H(t)}(0,B.r)(()=>{let e=en.current;ek(),"keyboard"===e.eventSource&&(null==P||P(e.value))},[X,P]),function(e,t){let{onPan:r,onPanStart:n,onPanEnd:i,onPanSessionStart:o,onPanSessionEnd:a,threshold:s}=t,u=!!(r||n||i||o||a),l=(0,N.useRef)(null),c=I({onSessionStart:o,onSessionEnd:a,onStart:n,onMove:r,onEnd(e,t){l.current=null,null==i||i(e,t)}});(0,N.useEffect)(()=>{var e;null==(e=l.current)||e.updateHandlers(c.current)}),(0,N.useEffect)(()=>{let t=e.current;if(t&&u)return d(t,"pointerdown",function(e){l.current=new T(e,c.current,s)})},[e,u,c,s]),(0,N.useEffect)(()=>()=>{var e;null==(e=l.current)||e.end(),l.current=null},[])}(ea,{onPanSessionStart(e){let t=en.current;t.isInteractive&&(W(!0),ek(),ex(e),null==A||A(t.value))},onPanSessionEnd(){let e=en.current;e.isInteractive&&(W(!1),null==P||P(e.value))},onPan(e){en.current.isInteractive&&ex(e)}});let e_=(0,N.useCallback)((e={},t=null)=>({...e,...O,ref:(0,q.lq)(t,ea),tabIndex:-1,"aria-disabled":i(y),"data-focused":n(G),style:{...e.style,...ey}}),[O,y,G,ey]),eS=(0,N.useCallback)((e={},t=null)=>({...e,ref:(0,q.lq)(t,ei),id:ec,"data-disabled":n(y),style:{...e.style,...eb}}),[y,ec,eb]),eE=(0,N.useCallback)((e={},t=null)=>({...e,ref:t,style:{...e.style,...ew}}),[ew]),eD=(0,N.useCallback)((e={},t=null)=>({...e,ref:(0,q.lq)(t,eo),role:"slider",tabIndex:Z?0:void 0,id:el,"data-active":n(V),"aria-valuetext":em,"aria-valuemin":r,"aria-valuemax":o,"aria-valuenow":X,"aria-orientation":g,"aria-disabled":i(y),"aria-readonly":i(b),"aria-label":E,"aria-labelledby":E?void 0:D,style:{...e.style,...ev(0)},onKeyDown:a(e.onKeyDown,ef),onFocus:a(e.onFocus,()=>Y(!0)),onBlur:a(e.onBlur,()=>Y(!1))}),[Z,el,V,em,r,o,X,g,y,b,E,D,ev,ef]),eC=(0,N.useCallback)((e,t=null)=>{let i=!(e.value<r||e.value>o),a=X>=e.value,s=(0,$.Rg)(e.value,r,o),u={position:"absolute",pointerEvents:"none",...function(e){let{orientation:t,vertical:r,horizontal:n}=e;return"vertical"===t?r:n}({orientation:g,vertical:{bottom:M?`${100-s}%`:`${s}%`},horizontal:{left:M?`${100-s}%`:`${s}%`}})};return{...e,ref:t,role:"presentation","aria-hidden":!0,"data-disabled":n(y),"data-invalid":n(!i),"data-highlighted":n(a),style:{...e.style,...u}}},[y,M,o,r,g,X]),ej=(0,N.useCallback)((e={},t=null)=>({...e,ref:t,type:"hidden",value:X,name:C}),[C,X]);return{state:{value:X,isFocused:G,isDragging:V},actions:ep,getRootProps:e_,getTrackProps:eS,getInnerTrackProps:eE,getThumbProps:eD,getMarkerProps:eC,getInputProps:ej}}(p),y=g(),b=m({},t);return(0,K.jsx)(J,{value:v,children:(0,K.jsx)(Q,{value:h,children:(0,K.jsxs)(Z.m.div,{...y,className:o("chakra-slider",c.className),__css:h.container,children:[c.children,(0,K.jsx)("input",{...b})]})})})});et.displayName="Slider";var er=(0,V.G)((e,t)=>{let{getThumbProps:r}=X(),n=ee(),i=r(e,t);return(0,K.jsx)(Z.m.div,{...i,className:o("chakra-slider__thumb",e.className),__css:n.thumb})});er.displayName="SliderThumb";var en=(0,V.G)((e,t)=>{let{getTrackProps:r}=X(),n=ee(),i=r(e,t);return(0,K.jsx)(Z.m.div,{...i,className:o("chakra-slider__track",e.className),__css:n.track})});en.displayName="SliderTrack";var ei=(0,V.G)((e,t)=>{let{getInnerTrackProps:r}=X(),n=ee(),i=r(e,t);return(0,K.jsx)(Z.m.div,{...i,className:o("chakra-slider__filled-track",e.className),__css:n.filledTrack})});ei.displayName="SliderFilledTrack",(0,V.G)((e,t)=>{let{getMarkerProps:r}=X(),n=ee(),i=r(e,t);return(0,K.jsx)(Z.m.div,{...i,className:o("chakra-slider__marker",e.className),__css:n.mark})}).displayName="SliderMark"},81540:function(e,t,r){"use strict";r.d(t,{$:function(){return d}});var n=r(28165),i=r(29058),o=r(91982),a=r(84586),s=r(59576),u=r(31053),l=r(52322),c=(0,n.F4)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),d=(0,i.G)((e,t)=>{let r=(0,o.mq)("Spinner",e),{label:n="Loading...",thickness:i="2px",speed:d="0.45s",emptyColor:h="transparent",className:p,...f}=(0,a.Lr)(e),m=(0,u.cx)("chakra-spinner",p),g={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:h,borderLeftColor:h,animation:`${c} ${d} linear infinite`,...r};return(0,l.jsx)(s.m.div,{ref:t,__css:g,className:m,...f,children:n&&(0,l.jsx)(s.m.span,{srOnly:!0,children:n})})});d.displayName="Spinner"},84586:function(e,t,r){"use strict";r.d(t,{D:function(){return eL},Lr:function(){return ez},Ud:function(){return eB},ZR:function(){return eA},_6:function(){return er},c0:function(){return eD},cC:function(){return eO},fj:function(){return eI},gJ:function(){return et},iv:function(){return eF},k0:function(){return eN},oE:function(){return ej}});var n=r(31053),i=r(63637),o=e=>/!(important)?$/.test(e),a=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,s=(e,t)=>r=>{let i=String(t),s=o(i),u=a(i),l=e?`${e}.${u}`:u,c=(0,n.Kn)(r.__cssMap)&&l in r.__cssMap?r.__cssMap[l].varRef:t;return c=a(c),s?`${c} !important`:c};function u(e){let{scale:t,transform:r,compose:n}=e;return(e,i)=>{var o;let a=s(t,e)(i),u=null!=(o=null==r?void 0:r(a,i))?o:a;return n&&(u=n(u,i)),u}}var l=(...e)=>t=>e.reduce((e,t)=>t(e),t);function c(e,t){return r=>{let n={property:r,scale:e};return n.transform=u({scale:e,transform:t}),n}}var d=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t,h=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"],p={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:"var(--chakra-blur) var(--chakra-brightness) var(--chakra-contrast) var(--chakra-grayscale) var(--chakra-hue-rotate) var(--chakra-invert) var(--chakra-saturate) var(--chakra-sepia) var(--chakra-drop-shadow)"},f={backdropFilter:"var(--chakra-backdrop-blur) var(--chakra-backdrop-brightness) var(--chakra-backdrop-contrast) var(--chakra-backdrop-grayscale) var(--chakra-backdrop-hue-rotate) var(--chakra-backdrop-invert) var(--chakra-backdrop-opacity) var(--chakra-backdrop-saturate) var(--chakra-backdrop-sepia)","--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"},m={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},g={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},v=new Set(Object.values(g)),y=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),b=e=>e.trim(),w=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),k=e=>{let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}},x=e=>t=>`${e}(${t})`,_={filter:e=>"auto"!==e?e:p,backdropFilter:e=>"auto"!==e?e:f,ring:e=>({"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":_.px(e),boxShadow:"var(--chakra-ring-offset-shadow), var(--chakra-ring-shadow), var(--chakra-shadow, 0 0 #0000)"}),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...h].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...h].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;let{unitless:t}=k(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:`${100*e}%`,float:(e,t)=>"rtl"===t.direction?({left:"right",right:"left"})[e]:e,degree(e){if(/^var\(--.+\)$/.test(e)||null==e)return e;let t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>(function(e,t){if(null==e||y.has(e))return e;if(!(w(e)||y.has(e)))return`url('${e}')`;let r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==r?void 0:r[1],i=null==r?void 0:r[2];if(!n||!i)return e;let o=n.includes("-gradient")?n:`${n}-gradient`,[a,...s]=i.split(",").map(b).filter(Boolean);if((null==s?void 0:s.length)===0)return e;let u=a in g?g[a]:a;s.unshift(u);let l=s.map(e=>{if(v.has(e))return e;let r=e.indexOf(" "),[n,i]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],o=w(i)?i:i&&i.split(" "),a=`colors.${n}`,s=a in t.__cssMap?t.__cssMap[a].varRef:n;return o?[s,...Array.isArray(o)?o:[o]].join(" "):s});return`${o}(${l.join(", ")})`})(e,null!=t?t:{}),blur:x("blur"),opacity:x("opacity"),brightness:x("brightness"),contrast:x("contrast"),dropShadow:x("drop-shadow"),grayscale:x("grayscale"),hueRotate:e=>x("hue-rotate")(_.degree(e)),invert:x("invert"),saturate:x("saturate"),sepia:x("sepia"),bgImage:e=>null==e?e:w(e)||y.has(e)?e:`url(${e})`,outline(e){let t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;let{space:r,divide:n}=null!=(t=m[e])?t:{},i={flexDirection:e};return r&&(i[r]=1),n&&(i[n]=1),i}},S={borderWidths:c("borderWidths"),borderStyles:c("borderStyles"),colors:c("colors"),borders:c("borders"),gradients:c("gradients",_.gradient),radii:c("radii",_.px),space:c("space",l(_.vh,_.px)),spaceT:c("space",l(_.vh,_.px)),degreeT:e=>({property:e,transform:_.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:u({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:c("sizes",l(_.vh,_.px)),sizesT:c("sizes",l(_.vh,_.fraction)),shadows:c("shadows"),logical:function(e){let{property:t,scale:r,transform:n}=e;return{scale:r,property:d(t),transform:r?u({scale:r,compose:n}):n}},blur:c("blur",_.blur)},E={background:S.colors("background"),backgroundColor:S.colors("backgroundColor"),backgroundImage:S.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:_.bgClip},bgSize:S.prop("backgroundSize"),bgPosition:S.prop("backgroundPosition"),bg:S.colors("background"),bgColor:S.colors("backgroundColor"),bgPos:S.prop("backgroundPosition"),bgRepeat:S.prop("backgroundRepeat"),bgAttachment:S.prop("backgroundAttachment"),bgGradient:S.gradients("backgroundImage"),bgClip:{transform:_.bgClip}};Object.assign(E,{bgImage:E.backgroundImage,bgImg:E.backgroundImage});var D={border:S.borders("border"),borderWidth:S.borderWidths("borderWidth"),borderStyle:S.borderStyles("borderStyle"),borderColor:S.colors("borderColor"),borderRadius:S.radii("borderRadius"),borderTop:S.borders("borderTop"),borderBlockStart:S.borders("borderBlockStart"),borderTopLeftRadius:S.radii("borderTopLeftRadius"),borderStartStartRadius:S.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:S.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:S.radii("borderTopRightRadius"),borderStartEndRadius:S.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:S.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:S.borders("borderRight"),borderInlineEnd:S.borders("borderInlineEnd"),borderBottom:S.borders("borderBottom"),borderBlockEnd:S.borders("borderBlockEnd"),borderBottomLeftRadius:S.radii("borderBottomLeftRadius"),borderBottomRightRadius:S.radii("borderBottomRightRadius"),borderLeft:S.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:S.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:S.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:S.borders(["borderLeft","borderRight"]),borderInline:S.borders("borderInline"),borderY:S.borders(["borderTop","borderBottom"]),borderBlock:S.borders("borderBlock"),borderTopWidth:S.borderWidths("borderTopWidth"),borderBlockStartWidth:S.borderWidths("borderBlockStartWidth"),borderTopColor:S.colors("borderTopColor"),borderBlockStartColor:S.colors("borderBlockStartColor"),borderTopStyle:S.borderStyles("borderTopStyle"),borderBlockStartStyle:S.borderStyles("borderBlockStartStyle"),borderBottomWidth:S.borderWidths("borderBottomWidth"),borderBlockEndWidth:S.borderWidths("borderBlockEndWidth"),borderBottomColor:S.colors("borderBottomColor"),borderBlockEndColor:S.colors("borderBlockEndColor"),borderBottomStyle:S.borderStyles("borderBottomStyle"),borderBlockEndStyle:S.borderStyles("borderBlockEndStyle"),borderLeftWidth:S.borderWidths("borderLeftWidth"),borderInlineStartWidth:S.borderWidths("borderInlineStartWidth"),borderLeftColor:S.colors("borderLeftColor"),borderInlineStartColor:S.colors("borderInlineStartColor"),borderLeftStyle:S.borderStyles("borderLeftStyle"),borderInlineStartStyle:S.borderStyles("borderInlineStartStyle"),borderRightWidth:S.borderWidths("borderRightWidth"),borderInlineEndWidth:S.borderWidths("borderInlineEndWidth"),borderRightColor:S.colors("borderRightColor"),borderInlineEndColor:S.colors("borderInlineEndColor"),borderRightStyle:S.borderStyles("borderRightStyle"),borderInlineEndStyle:S.borderStyles("borderInlineEndStyle"),borderTopRadius:S.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:S.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:S.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:S.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(D,{rounded:D.borderRadius,roundedTop:D.borderTopRadius,roundedTopLeft:D.borderTopLeftRadius,roundedTopRight:D.borderTopRightRadius,roundedTopStart:D.borderStartStartRadius,roundedTopEnd:D.borderStartEndRadius,roundedBottom:D.borderBottomRadius,roundedBottomLeft:D.borderBottomLeftRadius,roundedBottomRight:D.borderBottomRightRadius,roundedBottomStart:D.borderEndStartRadius,roundedBottomEnd:D.borderEndEndRadius,roundedLeft:D.borderLeftRadius,roundedRight:D.borderRightRadius,roundedStart:D.borderInlineStartRadius,roundedEnd:D.borderInlineEndRadius,borderStart:D.borderInlineStart,borderEnd:D.borderInlineEnd,borderTopStartRadius:D.borderStartStartRadius,borderTopEndRadius:D.borderStartEndRadius,borderBottomStartRadius:D.borderEndStartRadius,borderBottomEndRadius:D.borderEndEndRadius,borderStartRadius:D.borderInlineStartRadius,borderEndRadius:D.borderInlineEndRadius,borderStartWidth:D.borderInlineStartWidth,borderEndWidth:D.borderInlineEndWidth,borderStartColor:D.borderInlineStartColor,borderEndColor:D.borderInlineEndColor,borderStartStyle:D.borderInlineStartStyle,borderEndStyle:D.borderInlineEndStyle});var C={color:S.colors("color"),textColor:S.colors("color"),fill:S.colors("fill"),stroke:S.colors("stroke")},j={boxShadow:S.shadows("boxShadow"),mixBlendMode:!0,blendMode:S.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:S.prop("backgroundBlendMode"),opacity:!0};Object.assign(j,{shadow:j.boxShadow});var O={filter:{transform:_.filter},blur:S.blur("--chakra-blur"),brightness:S.propT("--chakra-brightness",_.brightness),contrast:S.propT("--chakra-contrast",_.contrast),hueRotate:S.propT("--chakra-hue-rotate",_.hueRotate),invert:S.propT("--chakra-invert",_.invert),saturate:S.propT("--chakra-saturate",_.saturate),dropShadow:S.propT("--chakra-drop-shadow",_.dropShadow),backdropFilter:{transform:_.backdropFilter},backdropBlur:S.blur("--chakra-backdrop-blur"),backdropBrightness:S.propT("--chakra-backdrop-brightness",_.brightness),backdropContrast:S.propT("--chakra-backdrop-contrast",_.contrast),backdropHueRotate:S.propT("--chakra-backdrop-hue-rotate",_.hueRotate),backdropInvert:S.propT("--chakra-backdrop-invert",_.invert),backdropSaturate:S.propT("--chakra-backdrop-saturate",_.saturate)},T={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:_.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:S.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:S.space("gap"),rowGap:S.space("rowGap"),columnGap:S.space("columnGap")};Object.assign(T,{flexDir:T.flexDirection});var A={gridGap:S.space("gridGap"),gridColumnGap:S.space("gridColumnGap"),gridRowGap:S.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},P={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:_.outline},outlineOffset:!0,outlineColor:S.colors("outlineColor")},R={width:S.sizesT("width"),inlineSize:S.sizesT("inlineSize"),height:S.sizes("height"),blockSize:S.sizes("blockSize"),boxSize:S.sizes(["width","height"]),minWidth:S.sizes("minWidth"),minInlineSize:S.sizes("minInlineSize"),minHeight:S.sizes("minHeight"),minBlockSize:S.sizes("minBlockSize"),maxWidth:S.sizes("maxWidth"),maxInlineSize:S.sizes("maxInlineSize"),maxHeight:S.sizes("maxHeight"),maxBlockSize:S.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,n,i;let o=null!=(i=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.minW)?i:e;return{[`@media screen and (min-width: ${o})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n,i;let o=null!=(i=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n._minW)?i:e;return{[`@media screen and (max-width: ${o})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:S.propT("float",_.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(R,{w:R.width,h:R.height,minW:R.minWidth,maxW:R.maxWidth,minH:R.minHeight,maxH:R.maxHeight,overscroll:R.overscrollBehavior,overscrollX:R.overscrollBehaviorX,overscrollY:R.overscrollBehaviorY});var M={listStyleType:!0,listStylePosition:!0,listStylePos:S.prop("listStylePosition"),listStyleImage:!0,listStyleImg:S.prop("listStyleImage")},F=(e=>{let t=new WeakMap;return(r,n,i,o)=>{if(void 0===r)return e(r,n,i);t.has(r)||t.set(r,new Map);let a=t.get(r);if(a.has(n))return a.get(n);let s=e(r,n,i,o);return a.set(n,s),s}})(function(e,t,r,n){let i="string"==typeof t?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return void 0===e?r:e}),N={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},I={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},L=(e,t,r)=>{let n={},i=F(e,t,{});for(let e in i)e in r&&null!=r[e]||(n[e]=i[e]);return n},B={position:!0,pos:S.prop("position"),zIndex:S.prop("zIndex","zIndices"),inset:S.spaceT("inset"),insetX:S.spaceT(["left","right"]),insetInline:S.spaceT("insetInline"),insetY:S.spaceT(["top","bottom"]),insetBlock:S.spaceT("insetBlock"),top:S.spaceT("top"),insetBlockStart:S.spaceT("insetBlockStart"),bottom:S.spaceT("bottom"),insetBlockEnd:S.spaceT("insetBlockEnd"),left:S.spaceT("left"),insetInlineStart:S.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:S.spaceT("right"),insetInlineEnd:S.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(B,{insetStart:B.insetInlineStart,insetEnd:B.insetInlineEnd});var z={ring:{transform:_.ring},ringColor:S.colors("--chakra-ring-color"),ringOffset:S.prop("--chakra-ring-offset-width"),ringOffsetColor:S.colors("--chakra-ring-offset-color"),ringInset:S.prop("--chakra-ring-inset")},U={margin:S.spaceT("margin"),marginTop:S.spaceT("marginTop"),marginBlockStart:S.spaceT("marginBlockStart"),marginRight:S.spaceT("marginRight"),marginInlineEnd:S.spaceT("marginInlineEnd"),marginBottom:S.spaceT("marginBottom"),marginBlockEnd:S.spaceT("marginBlockEnd"),marginLeft:S.spaceT("marginLeft"),marginInlineStart:S.spaceT("marginInlineStart"),marginX:S.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:S.spaceT("marginInline"),marginY:S.spaceT(["marginTop","marginBottom"]),marginBlock:S.spaceT("marginBlock"),padding:S.space("padding"),paddingTop:S.space("paddingTop"),paddingBlockStart:S.space("paddingBlockStart"),paddingRight:S.space("paddingRight"),paddingBottom:S.space("paddingBottom"),paddingBlockEnd:S.space("paddingBlockEnd"),paddingLeft:S.space("paddingLeft"),paddingInlineStart:S.space("paddingInlineStart"),paddingInlineEnd:S.space("paddingInlineEnd"),paddingX:S.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:S.space("paddingInline"),paddingY:S.space(["paddingTop","paddingBottom"]),paddingBlock:S.space("paddingBlock")};Object.assign(U,{m:U.margin,mt:U.marginTop,mr:U.marginRight,me:U.marginInlineEnd,marginEnd:U.marginInlineEnd,mb:U.marginBottom,ml:U.marginLeft,ms:U.marginInlineStart,marginStart:U.marginInlineStart,mx:U.marginX,my:U.marginY,p:U.padding,pt:U.paddingTop,py:U.paddingY,px:U.paddingX,pb:U.paddingBottom,pl:U.paddingLeft,ps:U.paddingInlineStart,paddingStart:U.paddingInlineStart,pr:U.paddingRight,pe:U.paddingInlineEnd,paddingEnd:U.paddingInlineEnd});var q={textDecorationColor:S.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:S.shadows("textShadow")},$={clipPath:!0,transform:S.propT("transform",_.transform),transformOrigin:!0,translateX:S.spaceT("--chakra-translate-x"),translateY:S.spaceT("--chakra-translate-y"),skewX:S.degreeT("--chakra-skew-x"),skewY:S.degreeT("--chakra-skew-y"),scaleX:S.prop("--chakra-scale-x"),scaleY:S.prop("--chakra-scale-y"),scale:S.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:S.degreeT("--chakra-rotate")},H={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:S.prop("transitionDuration","transition.duration"),transitionProperty:S.prop("transitionProperty","transition.property"),transitionTimingFunction:S.prop("transitionTimingFunction","transition.easing")},V={fontFamily:S.prop("fontFamily","fonts"),fontSize:S.prop("fontSize","fontSizes",_.px),fontWeight:S.prop("fontWeight","fontWeights"),lineHeight:S.prop("lineHeight","lineHeights"),letterSpacing:S.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},W={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:S.spaceT("scrollMargin"),scrollMarginTop:S.spaceT("scrollMarginTop"),scrollMarginBottom:S.spaceT("scrollMarginBottom"),scrollMarginLeft:S.spaceT("scrollMarginLeft"),scrollMarginRight:S.spaceT("scrollMarginRight"),scrollMarginX:S.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:S.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:S.spaceT("scrollPadding"),scrollPaddingTop:S.spaceT("scrollPaddingTop"),scrollPaddingBottom:S.spaceT("scrollPaddingBottom"),scrollPaddingLeft:S.spaceT("scrollPaddingLeft"),scrollPaddingRight:S.spaceT("scrollPaddingRight"),scrollPaddingX:S.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:S.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function G(e){return(0,n.Kn)(e)&&e.reference?e.reference:String(e)}var Y=(e,...t)=>t.map(G).join(` ${e} `).replace(/calc/g,""),Z=(...e)=>`calc(${Y("+",...e)})`,K=(...e)=>`calc(${Y("-",...e)})`,J=(...e)=>`calc(${Y("*",...e)})`,X=(...e)=>`calc(${Y("/",...e)})`,Q=e=>{let t=G(e);return null==t||Number.isNaN(parseFloat(t))?J(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ee=Object.assign(e=>({add:(...t)=>ee(Z(e,...t)),subtract:(...t)=>ee(K(e,...t)),multiply:(...t)=>ee(J(e,...t)),divide:(...t)=>ee(X(e,...t)),negate:()=>ee(Q(e)),toString:()=>e.toString()}),{add:Z,subtract:K,multiply:J,divide:X,negate:Q});function et(e,t,r){let n=function(e,t=""){var r;return((r=function(e,t="-"){return e.replace(/\s+/g,t)}(`--${(function(e,t=""){return[t,e].filter(Boolean).join("-")})(e,t)}`.toString())).includes("\\.")?r:Number.isInteger(parseFloat(r.toString()))?r:r.replace(".","\\.")).replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(e,r);return{variable:n,reference:`var(${n}${t?`, ${t}`:""})`}}function er(e,t){let r={};for(let n of t){if(Array.isArray(n)){let[t,i]=n;r[t]=et(`${e}-${t}`,i);continue}r[n]=et(`${e}-${n}`)}return r}function en(e){if(null==e)return e;let{unitless:t}=function(e){let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||"number"==typeof e?`${e}px`:e}var ei=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,eo=e=>Object.fromEntries(Object.entries(e).sort(ei));function ea(e){let t=eo(e);return Object.assign(Object.values(t),t)}function es(e){var t;return e?"number"==typeof(e=null!=(t=en(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`):e}function eu(e,t){let r=["@media screen"];return e&&r.push("and",`(min-width: ${en(e)})`),t&&r.push("and",`(max-width: ${en(t)})`),r.join(" ")}var el=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,ec=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,ed=(e,t)=>`${e}:focus-visible ${t}`,eh=(e,t)=>`${e}:focus-within ${t}`,ep=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,ef=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,em=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,eg=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,ev=e=>eb(t=>e(t,"&"),"[role=group]","[data-group]",".group"),ey=e=>eb(t=>e(t,"~ &"),"[data-peer]",".peer"),eb=(e,...t)=>t.map(e).join(", "),ew={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:ev(el),_peerHover:ey(el),_groupFocus:ev(ec),_peerFocus:ey(ec),_groupFocusVisible:ev(ed),_peerFocusVisible:ey(ed),_groupActive:ev(ep),_peerActive:ey(ep),_groupDisabled:ev(ef),_peerDisabled:ey(ef),_groupInvalid:ev(em),_peerInvalid:ey(em),_groupChecked:ev(eg),_peerChecked:ey(eg),_groupFocusWithin:ev(eh),_peerFocusWithin:ey(eh),_peerPlaceholderShown:ey((e,t)=>`${e}:placeholder-shown ${t}`),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},ek=Object.keys(ew);function ex(e,t){return et(String(e).replace(/\./g,"-"),void 0,t)}function e_(e,t,r={}){let{stop:n,getKey:i}=r;return function e(r,o=[]){var a;if("object"==typeof r&&null!=r&&!Array.isArray(r)||Array.isArray(r)){let s={};for(let[u,l]of Object.entries(r)){let c=null!=(a=null==i?void 0:i(u))?a:u,d=[...o,c];if(null==n?void 0:n(r,d))return t(r,o);s[c]=e(l,d)}return s}return t(r,o)}(e)}var eS=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"],eE=e=>ek.includes(e)||"default"===e;function eD(e){var t;let r=function(e){let{__cssMap:t,__cssVars:r,__breakpoints:n,...i}=e;return i}(e),{cssMap:o,cssVars:a}=function(e,t){let r={},o={};for(let[a,s]of Object.entries(e)){let{isSemantic:u,value:l}=s,{variable:c,reference:d}=ex(a,null==t?void 0:t.cssVarPrefix);if(!u){if(a.startsWith("space")){let[e,...t]=a.split("."),r=`${e}.-${t.join(".")}`,n=ee.negate(l),i=ee.negate(d);o[r]={value:n,var:c,varRef:i}}r[c]=l,o[a]={value:l,var:c,varRef:d};continue}let h=r=>{let n=[String(a).split(".")[0],r].join(".");if(!e[n])return r;let{reference:i}=ex(n,null==t?void 0:t.cssVarPrefix);return i};r=i(r,Object.entries((0,n.Kn)(l)?l:{default:l}).reduce((e,[t,r])=>{var n;if(!r)return e;let i=h(`${r}`);return"default"===t?e[c]=i:e[null!=(n=null==ew?void 0:ew[t])?n:t]={[c]:i},e},{})),o[a]={value:d,var:c,varRef:d}}return{cssVars:r,cssMap:o}}(function({tokens:e,semanticTokens:t}){let r={};return e_(e,(e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!1,value:e})}),e_(t,(e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!0,value:e})},{stop:e=>Object.keys(e).every(eE)}),r}({tokens:function(e,t){let r={};for(let n of t)n in e&&(r[n]=e[n]);return r}(r,eS),semanticTokens:r.semanticTokens}),{cssVarPrefix:null==(t=r.config)?void 0:t.cssVarPrefix});return Object.assign(r,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...a},__cssMap:o,__breakpoints:function(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";let r=ea(e),i=Object.entries(e).sort(ei).map(([e,t],r,n)=>{var i;let[,o]=null!=(i=n[r+1])?i:[];return o=parseFloat(o)>0?es(o):void 0,{_minW:es(t),breakpoint:e,minW:t,maxW:o,maxWQuery:eu(null,o),minWQuery:eu(t),minMaxQuery:eu(t,o)}}),o=new Set(Object.keys(eo(e))),a=Array.from(o.values());return{keys:o,normalized:r,isResponsive(e){let t=Object.keys(e);return t.length>0&&t.every(e=>o.has(e))},asObject:eo(e),asArray:ea(e),details:i,get:e=>i.find(t=>t.breakpoint===e),media:[null,...r.map(e=>eu(e)).slice(1)],toArrayValue(e){if(!(0,n.Kn)(e))throw Error("toArrayValue: value must be an object");let t=a.map(t=>{var r;return null!=(r=e[t])?r:null});for(;null===function(e){let t=null==e?0:e.length;return t?e[t-1]:void 0}(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw Error("toObjectValue: value must be an array");return e.reduce((e,t,r)=>{let n=a[r];return null!=n&&null!=t&&(e[n]=t),e},{})}}}(r.breakpoints)}),r}var eC=i({},E,D,C,T,R,O,z,P,A,{srOnly:{transform:e=>!0===e?N:"focusable"===e?I:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>L(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>L(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>L(t,e,r)}},B,j,U,W,V,q,$,M,H),ej=Object.keys(Object.assign({},U,R,T,A,B)),eO=[...Object.keys(eC),...ek],eT={...eC,...ew},eA=e=>e in eT,eP=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:r,toArrayValue:i,media:o}=t.__breakpoints,a={};for(let s in e){let u=(0,n.Pu)(e[s],t);if(null==u)continue;if(!Array.isArray(u=(0,n.Kn)(u)&&r(u)?i(u):u)){a[s]=u;continue}let l=u.slice(0,o.length).length;for(let e=0;e<l;e+=1){let t=null==o?void 0:o[e];if(!t){a[s]=u[e];continue}a[t]=a[t]||{},null!=u[e]&&(a[t][s]=u[e])}}return a},eR=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!/^var\(--.+\)$/.test(t),eM=(e,t)=>{var r,n;if(null==t)return t;let i=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.varRef},o=e=>{var t;return null!=(t=i(e))?t:e},[a,s]=function(e){let t=[],r="",n=!1;for(let i=0;i<e.length;i++){let o=e[i];"("===o?(n=!0,r+=o):")"===o?(n=!1,r+=o):","!==o||n?r+=o:(t.push(r),r="")}return(r=r.trim())&&t.push(r),t}(t);return t=null!=(n=null!=(r=i(a))?r:o(s))?n:o(t)},eF=e=>t=>(function(e){let{configs:t={},pseudos:r={},theme:o}=e,a=(e,s=!1)=>{var u,l,c;let d=(0,n.Pu)(e,o),h=eP(d)(o),p={};for(let e in h){let f=h[e],m=(0,n.Pu)(f,o);e in r&&(e=r[e]),eR(e,m)&&(m=eM(o,m));let g=t[e];if(!0===g&&(g={property:e}),(0,n.Kn)(m)){p[e]=null!=(u=p[e])?u:{},p[e]=i({},p[e],a(m,!0));continue}let v=null!=(c=null==(l=null==g?void 0:g.transform)?void 0:l.call(g,m,o,d))?c:m;v=(null==g?void 0:g.processResult)?a(v,!0):v;let y=(0,n.Pu)(null==g?void 0:g.property,o);if(!s&&(null==g?void 0:g.static)&&(p=i({},p,(0,n.Pu)(g.static,o))),y&&Array.isArray(y)){for(let e of y)p[e]=v;continue}if(y){"&"===y&&(0,n.Kn)(v)?p=i({},p,v):p[y]=v;continue}if((0,n.Kn)(v)){p=i({},p,v);continue}p[e]=v}return p};return a})({theme:t,pseudos:ew,configs:eC})(e);function eN(e){return e}function eI(e){return e}function eL(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function eB(e){return t=>{var r;let{variant:o,size:a,theme:s}=t,u=function(e){let t=e.__breakpoints;return function(e,r,o,a){var s,u,l;if(!t)return;let c={},d=(l=t.toArrayValue,Array.isArray(o)?o:(0,n.Kn)(o)?l(o):null!=o?[o]:void 0);if(!d)return c;let h=d.length,p=1===h,f=!!e.parts;for(let o=0;o<h;o++){let l=t.details[o],h=t.details[function(e,t){for(let r=t+1;r<e.length;r++)if(null!=e[r])return r;return -1}(d,o)],m=eu(l.minW,null==h?void 0:h._minW),g=(0,n.Pu)(null==(s=e[r])?void 0:s[d[o]],a);if(g){if(f){null==(u=e.parts)||u.forEach(e=>{i(c,{[e]:p?g[e]:{[m]:g[e]}})});continue}if(!f){p?i(c,g):c[m]=g;continue}c[m]=g}}return c}}(s);return i({},(0,n.Pu)(null!=(r=e.baseStyle)?r:{},t),u(e,"sizes",a,t),u(e,"variants",o,t))}}function ez(e){return function(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}(e,["styleConfig","size","variant","colorScheme"])}},41098:function(e,t,r){"use strict";r.d(t,{r:function(){return d}});var n=r(28448),i=r(31053),o=r(29058),a=r(91982),s=r(84586),u=r(59576),l=r(2784),c=r(52322),d=(0,o.G)(function(e,t){let r=(0,a.jC)("Switch",e),{spacing:o="0.5rem",children:d,...h}=(0,s.Lr)(e),{getIndicatorProps:p,getInputProps:f,getCheckboxProps:m,getRootProps:g,getLabelProps:v}=(0,n.O)(h),y=(0,l.useMemo)(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),b=(0,l.useMemo)(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),w=(0,l.useMemo)(()=>({userSelect:"none",marginStart:o,...r.label}),[o,r.label]);return(0,c.jsxs)(u.m.label,{...g(),className:(0,i.cx)("chakra-switch",e.className),__css:y,children:[(0,c.jsx)("input",{className:"chakra-switch__input",...f({},t)}),(0,c.jsx)(u.m.span,{...m(),className:"chakra-switch__track",__css:b,children:(0,c.jsx)(u.m.span,{__css:r.thumb,className:"chakra-switch__thumb",...p()})}),d&&(0,c.jsx)(u.m.span,{className:"chakra-switch__label",...v(),__css:w,children:d})]})});d.displayName="Switch"},48929:function(e,t,r){"use strict";r.d(t,{LP:function(){return s},dQ:function(){return a},uP:function(){return o}});var n=r(91148),i=r(50019);function o(){let e=(0,i.If)(),t=(0,n.F)();return{...e,theme:t}}function a(e,t,r){let i=(0,n.F)();return s(e,t,r)(i)}function s(e,t,r){let n=Array.isArray(t)?t:[t],i=Array.isArray(r)?r:[r];return r=>{let o=i.filter(Boolean),a=n.map((t,n)=>{var i,a;return"breakpoints"===e?function(e,t,r){var n,i;if(null==t)return t;let o=t=>{var r,n;return null==(n=null==(r=e.__breakpoints)?void 0:r.asArray)?void 0:n[t]};return null!=(i=null!=(n=o(t))?n:o(r))?i:r}(r,t,null!=(i=o[n])?i:t):function(e,t,r){var n,i;if(null==t)return t;let o=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.value};return null!=(i=null!=(n=o(t))?n:o(r))?i:r}(r,`${e}.${t}`,null!=(a=o[n])?a:t)});return Array.isArray(t)?a:a[0]}}},91982:function(e,t,r){"use strict";r.d(t,{jC:function(){return d},mq:function(){return c}});var n=r(48929),i=r(84586),o=r(82115),a=r(63637),s=r(2784),u=r(78435);function l(e,t={}){var r;let{styleConfig:l,...c}=t,{theme:d,colorMode:h}=(0,n.uP)(),p=e?(0,o.Wf)(d,`components.${e}`):void 0,f=l||p,m=a({theme:d,colorMode:h},null!=(r=null==f?void 0:f.defaultProps)?r:{},(0,o.YU)((0,o.CE)(c,["children"]))),g=(0,s.useRef)({});if(f){let e=(0,i.Ud)(f)(m);u(g.current,e)||(g.current=e)}return g.current}function c(e,t={}){return l(e,t)}function d(e,t={}){return l(e,t)}},8989:function(e,t,r){"use strict";r.d(t,{x:function(){return o}});var n=new Set([...r(84586).cC,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),i=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function o(e){return i.has(e)||!n.has(e)}},15706:function(e,t,r){"use strict";r.d(t,{ZL:function(){return g},f6:function(){return h}});var n=r(50019),i=r(81821),o=r(84586),a=r(82115),s=r(79729),u=r(94281),l=r(28165),c=r(2784),d=r(52322);function h(e){let{cssVarsRoot:t,theme:r,children:n}=e,i=(0,c.useMemo)(()=>(0,o.c0)(r),[r]);return(0,d.jsxs)(u.a,{theme:i,children:[(0,d.jsx)(p,{root:t}),n]})}function p({root:e=":host, :root"}){let t=[e,"[data-theme]"].join(",");return(0,d.jsx)(l.xB,{styles:e=>({[t]:e.__cssVars})})}var[f,m]=(0,i.k)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function g(){let{colorMode:e}=(0,n.If)();return(0,d.jsx)(l.xB,{styles:t=>{let r=(0,a.Wf)(t,"styles.global"),n=(0,s.Pu)(r,{theme:t,colorMode:e});if(n)return(0,o.iv)(n)(t)}})}},91148:function(e,t,r){"use strict";r.d(t,{F:function(){return o}});var n=r(94281),i=r(2784);function o(){let e=(0,i.useContext)(n.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}},59576:function(e,t,r){"use strict";r.d(t,{m:function(){return I}});var n,i,o=r(8989),a=r(50019),s=r(84586),u=r(82115),l=r(79729),c=r(2784);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var h=r(86894),p=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,f=(0,h.Z)(function(e){return p.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),m=r(94281),g=r(82792),v=r(79003),y=r(69409),b=/[A-Z]|^ms/g,w=/_EMO_([^_]+?)_([^]*?)_EMO_/g,k=function(e){return 45===e.charCodeAt(1)},x=function(e){return null!=e&&"boolean"!=typeof e},_=(0,h.Z)(function(e){return k(e)?e:e.replace(b,"-$&").toLowerCase()}),S=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(w,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===y.Z[e]||k(e)||"number"!=typeof t||0===t?t:t+"px"};function E(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)n={name:i.name,styles:i.styles,next:n},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=E(e,t,r[i])+";";else for(var o in r){var a=r[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":x(a)&&(n+=_(o)+":"+S(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)x(a[s])&&(n+=_(o)+":"+S(o,a[s])+";");else{var u=E(e,t,a);switch(o){case"animation":case"animationName":n+=_(o)+":"+u+";";break;default:n+=o+"{"+u+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var o=n,a=r(e);return n=o,E(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var D=/label:\s*([^\s;\n{]+)\s*(;|$)/g,C=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i,o=!0,a="";n=void 0;var s=e[0];null==s||void 0===s.raw?(o=!1,a+=E(r,t,s)):a+=s[0];for(var u=1;u<e.length;u++)a+=E(r,t,e[u]),o&&(a+=s[u]);D.lastIndex=0;for(var l="";null!==(i=D.exec(a));)l+="-"+i[1];return{name:(0,v.Z)(a)+l,styles:a,next:n}},j=r(82668),O=function(e){return"theme"!==e},T=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?f:O},A=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},P=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,g.hC)(t,r,n),(0,j.L)(function(){return(0,g.My)(t,r,n)}),null},R=(function e(t,r){var n,i,o=t.__emotion_real===t,a=o&&t.__emotion_base||t;void 0!==r&&(n=r.label,i=r.target);var s=A(t,r,o),u=s||T(a),l=!u("as");return function(){var h=arguments,p=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&p.push("label:"+n+";"),null==h[0]||void 0===h[0].raw)p.push.apply(p,h);else{p.push(h[0][0]);for(var f=h.length,v=1;v<f;v++)p.push(h[v],h[0][v])}var y=(0,m.w)(function(e,t,r){var n=l&&e.as||a,o="",d=[],h=e;if(null==e.theme){for(var f in h={},e)h[f]=e[f];h.theme=(0,c.useContext)(m.T)}"string"==typeof e.className?o=(0,g.fp)(t.registered,d,e.className):null!=e.className&&(o=e.className+" ");var v=C(p.concat(d),t.registered,h);o+=t.key+"-"+v.name,void 0!==i&&(o+=" "+i);var y=l&&void 0===s?T(n):u,b={};for(var w in e)(!l||"as"!==w)&&y(w)&&(b[w]=e[w]);return b.className=o,b.ref=r,(0,c.createElement)(c.Fragment,null,(0,c.createElement)(P,{cache:t,serialized:v,isStringTag:"string"==typeof n}),(0,c.createElement)(n,b))});return y.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=a,y.__emotion_styles=p,y.__emotion_forwardProp=s,Object.defineProperty(y,"toString",{value:function(){return"."+i}}),y.withComponent=function(t,n){return e(t,d({},r,n,{shouldForwardProp:A(y,n,!0)})).apply(void 0,p)},y}}).bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){R[e]=R(e)});var M=null!=(i=R.default)?i:R,F=({baseStyle:e})=>t=>{let{theme:r,css:n,__css:i,sx:o,...a}=t,c=(0,u.lw)(a,(e,t)=>(0,s.ZR)(t)),d=function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");let r={...e};for(let e of t)if(null!=e)for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in r&&delete r[t],r[t]=e[t]);return r}({},i,(0,l.Pu)(e,t),(0,u.YU)(c),o),h=(0,s.iv)(d)(t.theme);return n?[h,n]:h};function N(e,t){let{baseStyle:r,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=o.x);let i=F({baseStyle:r}),s=M(e,n)(i);return c.forwardRef(function(e,t){let{colorMode:r,forced:n}=(0,a.If)();return c.createElement(s,{ref:t,"data-theme":n?r:void 0,...e})})}var I=function(){let e=new Map;return new Proxy(N,{apply:(e,t,r)=>N(...r),get:(t,r)=>(e.has(r)||e.set(r,N(r)),e.get(r))})}()},29058:function(e,t,r){"use strict";r.d(t,{G:function(){return i}});var n=r(2784);function i(e){return(0,n.forwardRef)(e)}},70189:function(e,t,r){"use strict";r.d(t,{i:function(){return h},p:function(){return d}});var n=r(29058),i=r(91982),o=r(84586),a=r(59576),s=r(31053),u=r(9165),l=r(52322),[c,d]=(0,u.k)({name:"TableStylesContext",errorMessage:"useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Table />\" "}),h=(0,n.G)((e,t)=>{let r=(0,i.jC)("Table",e),{className:n,layout:u,...d}=(0,o.Lr)(e);return(0,l.jsx)(c,{value:r,children:(0,l.jsx)(a.m.table,{ref:t,__css:{tableLayout:u,...r.table},className:(0,s.cx)("chakra-table",n),...d})})});h.displayName="Table"},80774:function(e,t,r){"use strict";r.d(t,{Tr:function(){return s}});var n=r(70189),i=r(29058),o=r(59576),a=r(52322),s=(0,i.G)((e,t)=>{let r=(0,n.p)();return(0,a.jsx)(o.m.tr,{...e,ref:t,__css:r.tr})})},66983:function(e,t,r){"use strict";r.d(t,{p:function(){return s}});var n=r(70189),i=r(29058),o=r(59576),a=r(52322),s=(0,i.G)((e,t)=>{let r=(0,n.p)();return(0,a.jsx)(o.m.tbody,{...e,ref:t,__css:r.tbody})})},64565:function(e,t,r){"use strict";r.d(t,{x:function(){return s}});var n=r(29058),i=r(59576),o=r(31053),a=r(52322),s=(0,n.G)((e,t)=>{var r;let{overflow:n,overflowX:s,className:u,...l}=e;return(0,a.jsx)(i.m.div,{ref:t,className:(0,o.cx)("chakra-table__container",u),...l,__css:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflowX:null!=(r=null!=n?n:s)?r:"auto",overflowY:"hidden",maxWidth:"100%"}})})},79443:function(e,t,r){"use strict";r.d(t,{Td:function(){return s}});var n=r(70189),i=r(29058),o=r(59576),a=r(52322),s=(0,i.G)(({isNumeric:e,...t},r)=>{let i=(0,n.p)();return(0,a.jsx)(o.m.td,{...t,ref:r,__css:i.td,"data-is-numeric":e})})},3181:function(e,t,r){"use strict";r.d(t,{n:function(){return l}});var n=r(36371),i=r(35286),o=r(31053),a=r(29058),s=r(59576),u=r(52322),l=(0,a.G)(function(e,t){let r=(0,i.bt)(e),a=(0,n.s)();return(0,u.jsx)(s.m.div,{...r,width:"100%",ref:t,className:(0,o.cx)("chakra-tabs__tab-panels",e.className),__css:a.tabpanels})});l.displayName="TabPanels"},73582:function(e,t,r){"use strict";r.d(t,{t:function(){return l}});var n=r(36371),i=r(35286),o=r(31053),a=r(29058),s=r(59576),u=r(52322),l=(0,a.G)(function(e,t){let r=(0,i.hp)({...e,ref:t}),a={display:"flex",...(0,n.s)().tablist};return(0,u.jsx)(s.m.div,{...r,className:(0,o.cx)("chakra-tabs__tablist",e.className),__css:a})});l.displayName="TabList"},36371:function(e,t,r){"use strict";r.d(t,{m:function(){return f},s:function(){return p}});var n=r(35286),i=r(9165),o=r(29058),a=r(91982),s=r(84586),u=r(59576),l=r(31053),c=r(2784),d=r(52322),[h,p]=(0,i.k)({name:"TabsStylesContext",errorMessage:"useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tabs />\" "}),f=(0,o.G)(function(e,t){let r=(0,a.jC)("Tabs",e),{children:i,className:o,...p}=(0,s.Lr)(e),{htmlProps:f,descendants:m,...g}=(0,n.YE)(p),v=(0,c.useMemo)(()=>g,[g]),{isFitted:y,...b}=f,w={position:"relative",...r.root};return(0,d.jsx)(n.mE,{value:m,children:(0,d.jsx)(n.X,{value:v,children:(0,d.jsx)(h,{value:r,children:(0,d.jsx)(u.m.div,{className:(0,l.cx)("chakra-tabs",o),ref:t,...b,__css:w,children:i})})})})});f.displayName="Tabs"},2969:function(e,t,r){"use strict";r.d(t,{O:function(){return l}});var n=r(36371),i=r(35286),o=r(31053),a=r(29058),s=r(59576),u=r(52322),l=(0,a.G)(function(e,t){let r=(0,n.s)(),a=(0,i.xD)({...e,ref:t}),l={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return(0,u.jsx)(s.m.button,{...a,className:(0,o.cx)("chakra-tabs__tab",e.className),__css:l})});l.displayName="Tab"},13272:function(e,t,r){"use strict";r.d(t,{x:function(){return l}});var n=r(36371),i=r(35286),o=r(31053),a=r(29058),s=r(59576),u=r(52322),l=(0,a.G)(function(e,t){let r=(0,i.WE)({...e,ref:t}),a=(0,n.s)();return(0,u.jsx)(s.m.div,{outline:"0",...r,className:(0,o.cx)("chakra-tabs__tab-panel",e.className),__css:a.tabpanel})});l.displayName="TabPanel"},35286:function(e,t,r){"use strict";r.d(t,{WE:function(){return S},X:function(){return v},YE:function(){return g},bt:function(){return _},hp:function(){return b},mE:function(){return h},xD:function(){return w}});var n=r(30350),i=r(81550),o=r(9165),a=r(59572),s=r(25578),u=r(85244),l=r(4028),c=r(31053),d=r(2784),[h,p,f,m]=(0,i.n)();function g(e){var t;let{defaultIndex:r,onChange:n,index:i,isManual:o,isLazy:s,lazyBehavior:u="unmount",orientation:l="horizontal",direction:c="ltr",...h}=e,[p,m]=(0,d.useState)(null!=r?r:0),[g,v]=(0,a.T)({defaultValue:null!=r?r:0,value:i,onChange:n});(0,d.useEffect)(()=>{null!=i&&m(i)},[i]);let y=f(),b=(0,d.useId)(),w=null!=(t=e.id)?t:b;return{id:`tabs-${w}`,selectedIndex:g,focusedIndex:p,setSelectedIndex:v,setFocusedIndex:m,isManual:o,isLazy:s,lazyBehavior:u,orientation:l,descendants:y,direction:c,htmlProps:h}}var[v,y]=(0,o.k)({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function b(e){let{focusedIndex:t,orientation:r,direction:n}=y(),i=p(),o=(0,d.useCallback)(e=>{let o=()=>{var e;let r=i.nextEnabled(t);r&&(null==(e=r.node)||e.focus())},a=()=>{var e;let r=i.prevEnabled(t);r&&(null==(e=r.node)||e.focus())},s="horizontal"===r,u="vertical"===r,l={["ltr"===n?"ArrowLeft":"ArrowRight"]:()=>s&&a(),["ltr"===n?"ArrowRight":"ArrowLeft"]:()=>s&&o(),ArrowDown:()=>u&&o(),ArrowUp:()=>u&&a(),Home:()=>{var e;let t=i.firstEnabled();t&&(null==(e=t.node)||e.focus())},End:()=>{var e;let t=i.lastEnabled();t&&(null==(e=t.node)||e.focus())}}[e.key];l&&(e.preventDefault(),l(e))},[i,t,r,n]);return{...e,role:"tablist","aria-orientation":r,onKeyDown:(0,c.v0)(e.onKeyDown,o)}}function w(e){let{isDisabled:t=!1,isFocusable:r=!1,...i}=e,{setSelectedIndex:o,isManual:a,id:s,setFocusedIndex:l,selectedIndex:d}=y(),{index:h,register:p}=m({disabled:t&&!r}),f=h===d;return{...(0,n.h)({...i,ref:(0,u.lq)(p,e.ref),isDisabled:t,isFocusable:r,onClick:(0,c.v0)(e.onClick,()=>{o(h)})}),id:E(s,h),role:"tab",tabIndex:f?0:-1,type:"button","aria-selected":f,"aria-controls":D(s,h),onFocus:t?void 0:(0,c.v0)(e.onFocus,()=>{l(h);let e=t&&r;a||e||o(h)})}}var[k,x]=(0,o.k)({});function _(e){let{id:t,selectedIndex:r}=y(),n=(0,s.W)(e.children).map((e,n)=>(0,d.createElement)(k,{key:n,value:{isSelected:n===r,id:D(t,n),tabId:E(t,n),selectedIndex:r}},e));return{...e,children:n}}function S(e){let{children:t,...r}=e,{isLazy:n,lazyBehavior:i}=y(),{isSelected:o,id:a,tabId:s}=x(),u=(0,d.useRef)(!1);o&&(u.current=!0);let c=(0,l.k)({wasSelected:u.current,isSelected:o,enabled:n,mode:i});return{tabIndex:0,...r,children:c?t:null,role:"tabpanel","aria-labelledby":s,hidden:!o,id:a}}function E(e,t){return`${e}--tab-${t}`}function D(e,t){return`${e}--tabpanel-${t}`}},16556:function(e,t,r){"use strict";r.d(t,{AD:function(){return f},Sn:function(){return p},Vp:function(){return h}});var n=r(62929),i=r(9165),o=r(29058),a=r(91982),s=r(84586),u=r(59576),l=r(52322),[c,d]=(0,i.k)({name:"TagStylesContext",errorMessage:"useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tag />\" "}),h=(0,o.G)((e,t)=>{let r=(0,a.jC)("Tag",e),n=(0,s.Lr)(e),i={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...r.container};return(0,l.jsx)(c,{value:r,children:(0,l.jsx)(u.m.span,{ref:t,...n,__css:i})})});h.displayName="Tag";var p=(0,o.G)((e,t)=>{let r=d();return(0,l.jsx)(u.m.span,{ref:t,noOfLines:1,...e,__css:r.label})});p.displayName="TagLabel";var f=(0,o.G)((e,t)=>(0,l.jsx)(n.J,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}));f.displayName="TagLeftIcon",(0,o.G)((e,t)=>(0,l.jsx)(n.J,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e})).displayName="TagRightIcon";var m=e=>(0,l.jsx)(n.J,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:(0,l.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});m.displayName="TagCloseIcon",(0,o.G)((e,t)=>{let{isDisabled:r,children:n,...i}=e,o={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...d().closeButton};return(0,l.jsx)(u.m.button,{ref:t,"aria-label":"close",...i,type:"button",disabled:r,__css:o,children:n||(0,l.jsx)(m,{})})}).displayName="TagCloseButton"},29494:function(e,t,r){"use strict";r.d(t,{g:function(){return d}});var n=r(76874),i=r(29058),o=r(91982),a=r(84586),s=r(59576),u=r(31053),l=r(52322),c=["h","minH","height","minHeight"],d=(0,i.G)((e,t)=>{let r=(0,o.mq)("Textarea",e),{className:i,rows:d,...h}=(0,a.Lr)(e),p=(0,n.Y)(h),f=d?function(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}(r,c):r;return(0,l.jsx)(s.m.textarea,{ref:t,rows:d,...p,className:(0,u.cx)("chakra-textarea",i),__css:f})});d.displayName="Textarea"},39279:function(e,t,r){"use strict";function n(e,t){return r=>"dark"===r.colorMode?t:e}function i(e){let{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}r.d(t,{f:function(){return i},x:function(){return n}})},10868:function(e,t,r){"use strict";r.d(t,{n:function(){return o}});var n=r(62202),i=r(31053);function o({variant:e,components:t}){return r=>{let o=Object.keys(r.components||{});return Array.isArray(t)?o=t:(0,i.Kn)(t)&&(o=Object.keys(t)),(0,n.Pv)(r,{components:Object.fromEntries(o.map(t=>[t,{defaultProps:{variant:e}}]))})}}},15193:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});var n=r(62202),i=r(31053);function o({colorScheme:e,components:t}){return r=>{let o=Object.keys(r.components||{});return Array.isArray(t)?o=t:(0,i.Kn)(t)&&(o=Object.keys(t)),(0,n.Pv)(r,{components:Object.fromEntries(o.map(t=>[t,{defaultProps:{colorScheme:e}}]))})}}},62202:function(e,t,r){"use strict";r.d(t,{B1:function(){return l},Pv:function(){return c}});var n=r(31053),i=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"],o=r(48696),a=r(63637);function s(e){return"function"==typeof e}var u=e=>function(...t){var r;let o=[...t],a=t[t.length-1];return(r=a,(0,n.Kn)(r)&&i.every(e=>Object.prototype.hasOwnProperty.call(r,e))&&o.length>1)?o=o.slice(0,o.length-1):a=e,(function(...e){return t=>e.reduce((e,t)=>t(e),t)})(...o.map(e=>t=>s(e)?e(t):c(t,e)))(a)},l=u(o.rS);function c(...e){return a({},...e,d)}function d(e,t,r,n){if((s(e)||s(t))&&Object.prototype.hasOwnProperty.call(n,r))return(...r)=>a({},s(e)?e(...r):e,s(t)?t(...r):t,d)}u(o.wE)},48696:function(e,t,r){"use strict";r.d(t,{wE:function(){return i0},rS:function(){return iQ}});var n,i,o,a,s,u,l,c,d,h,p,f,m,g,v,y,b,w,k,x,_,S,E,D={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},C={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},j={...C,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},O={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...D,sizes:j,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:C,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},T=r(84586),{defineMultiStyleConfig:A,definePartsStyle:P}=(0,T.D)(["stepper","step","title","description","indicator","separator","icon","number"]),R=(0,T.gJ)("stepper-indicator-size"),M=(0,T.gJ)("stepper-icon-size"),F=(0,T.gJ)("stepper-title-font-size"),N=(0,T.gJ)("stepper-description-font-size"),I=(0,T.gJ)("stepper-accent-color"),L=A({baseStyle:P(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[I.variable]:`colors.${e}.500`,_dark:{[I.variable]:`colors.${e}.200`}},title:{fontSize:F.reference,fontWeight:"medium"},description:{fontSize:N.reference,color:"chakra-subtle-text"},number:{fontSize:F.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:M.reference,height:M.reference},indicator:{flexShrink:0,borderRadius:"full",width:R.reference,height:R.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:I.reference},"&[data-status=complete]":{bg:I.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:I.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${R.reference} - 8px)`,top:`calc(${R.reference} + 4px)`,insetStart:`calc(${R.reference} / 2 - 1px)`}}})),sizes:{xs:P({stepper:{[R.variable]:"sizes.4",[M.variable]:"sizes.3",[F.variable]:"fontSizes.xs",[N.variable]:"fontSizes.xs"}}),sm:P({stepper:{[R.variable]:"sizes.6",[M.variable]:"sizes.4",[F.variable]:"fontSizes.sm",[N.variable]:"fontSizes.xs"}}),md:P({stepper:{[R.variable]:"sizes.8",[M.variable]:"sizes.5",[F.variable]:"fontSizes.md",[N.variable]:"fontSizes.sm"}}),lg:P({stepper:{[R.variable]:"sizes.10",[M.variable]:"sizes.6",[F.variable]:"fontSizes.lg",[N.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function B(e,t={}){let r=!1;function n(t){let r=(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__"),n=`chakra-${r}`;return{className:n,selector:`.${n}`,toString:()=>t}}return{parts:function(...i){for(let e of(!function(){if(!r){r=!0;return}throw Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}(),i))t[e]=n(e);return B(e,t)},toPart:n,extend:function(...r){for(let e of r)e in t||(t[e]=n(e));return B(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.selector]))},classnames:function(){return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.className]))},get keys(){return Object.keys(t)},__type:{}}}var z=B("accordion").parts("root","container","button","panel").extend("icon"),U=B("alert").parts("title","description","container").extend("icon","spinner"),q=B("avatar").parts("label","badge","container").extend("excessLabel","group"),$=B("breadcrumb").parts("link","item","container").extend("separator");B("button").parts();var H=B("checkbox").parts("control","icon","container").extend("label");B("progress").parts("track","filledTrack").extend("label");var V=B("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),W=B("editable").parts("preview","input","textarea"),G=B("form").parts("container","requiredIndicator","helperText"),Y=B("formError").parts("text","icon"),Z=B("input").parts("addon","field","element","group"),K=B("list").parts("container","item","icon"),J=B("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),X=B("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Q=B("numberinput").parts("root","field","stepperGroup","stepper");B("pininput").parts("field");var ee=B("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),et=B("progress").parts("label","filledTrack","track"),er=B("radio").parts("container","control","label"),en=B("select").parts("field","icon"),ei=B("slider").parts("container","track","thumb","filledTrack","mark"),eo=B("stat").parts("container","label","helpText","number","icon"),ea=B("switch").parts("container","track","thumb","label"),es=B("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),eu=B("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),el=B("tag").parts("container","label","closeButton"),ec=B("card").parts("container","header","body","footer");function ed(e){let t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:Number.isInteger(parseFloat(e.toString()))?e:t.replace(".","\\.")}function eh(e,t){var r,n;let i=function(e,t=""){return`--${function(e,t=""){return[t,ed(e)].filter(Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:i,reference:(r="string"==typeof(n=null==t?void 0:t.fallback)?n:null==n?void 0:n.reference,`var(${ed(i)}${r?`, ${r}`:""})`)}}B("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var ep=r(31053);function ef(e){return(0,ep.Kn)(e)&&e.reference?e.reference:String(e)}var em=(e,...t)=>t.map(ef).join(` ${e} `).replace(/calc/g,""),eg=(...e)=>`calc(${em("+",...e)})`,ev=(...e)=>`calc(${em("-",...e)})`,ey=(...e)=>`calc(${em("*",...e)})`,eb=(...e)=>`calc(${em("/",...e)})`,ew=e=>{let t=ef(e);return null==t||Number.isNaN(parseFloat(t))?ey(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ek=Object.assign(e=>({add:(...t)=>ek(eg(e,...t)),subtract:(...t)=>ek(ev(e,...t)),multiply:(...t)=>ek(ey(e,...t)),divide:(...t)=>ek(eb(e,...t)),negate:()=>ek(ew(e)),toString:()=>e.toString()}),{add:eg,subtract:ev,multiply:ey,divide:eb,negate:ew}),{defineMultiStyleConfig:ex,definePartsStyle:e_}=(0,T.D)(ea.keys),eS=eh("switch-track-width"),eE=eh("switch-track-height"),eD=eh("switch-track-diff"),eC=ek.subtract(eS,eE),ej=eh("switch-thumb-x"),eO=eh("switch-bg"),eT=(0,T.k0)(e=>{let{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[eS.reference],height:[eE.reference],transitionProperty:"common",transitionDuration:"fast",[eO.variable]:"colors.gray.300",_dark:{[eO.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[eO.variable]:`colors.${t}.500`,_dark:{[eO.variable]:`colors.${t}.200`}},bg:eO.reference}}),eA=(0,T.k0)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[eE.reference],height:[eE.reference],_checked:{transform:`translateX(${ej.reference})`}}),eP=ex({baseStyle:e_(e=>({container:{[eD.variable]:eC,[ej.variable]:eD.reference,_rtl:{[ej.variable]:ek(eD).negate().toString()}},track:eT(e),thumb:eA})),sizes:{sm:e_({container:{[eS.variable]:"1.375rem",[eE.variable]:"sizes.3"}}),md:e_({container:{[eS.variable]:"1.875rem",[eE.variable]:"sizes.4"}}),lg:e_({container:{[eS.variable]:"2.875rem",[eE.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}}),eR=r(39279),{defineMultiStyleConfig:eM,definePartsStyle:eF}=(0,T.D)(es.keys),eN=eF({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),eI=(0,T.k0)({"&[data-is-numeric=true]":{textAlign:"end"}}),eL=eM({baseStyle:eN,variants:{simple:eF(e=>{let{colorScheme:t}=e;return{th:{color:(0,eR.x)("gray.600","gray.400")(e),borderBottom:"1px",borderColor:(0,eR.x)(`${t}.100`,`${t}.700`)(e),...eI},td:{borderBottom:"1px",borderColor:(0,eR.x)(`${t}.100`,`${t}.700`)(e),...eI},caption:{color:(0,eR.x)("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:eF(e=>{let{colorScheme:t}=e;return{th:{color:(0,eR.x)("gray.600","gray.400")(e),borderBottom:"1px",borderColor:(0,eR.x)(`${t}.100`,`${t}.700`)(e),...eI},td:{borderBottom:"1px",borderColor:(0,eR.x)(`${t}.100`,`${t}.700`)(e),...eI},caption:{color:(0,eR.x)("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:(0,eR.x)(`${t}.100`,`${t}.700`)(e)},td:{background:(0,eR.x)(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:(0,T.k0)({})},sizes:{sm:eF({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:eF({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:eF({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function eB(e,t,r){return Math.min(Math.max(e,r),t)}class ez extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}function eU(e){if("string"!=typeof e)throw new ez(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=eZ.test(e)?function(e){let t=e$[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(e.toLowerCase().trim())];if(!t)throw new ez(e);return`#${t}`}(e):e;let r=eV.exec(t);if(r){let e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(eH(e,2),16)),parseInt(eH(e[3]||"f",2),16)/255]}let n=eW.exec(t);if(n){let e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}let i=eG.exec(t);if(i){let e=Array.from(i).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,10)),parseFloat(e[3]||"1")]}let o=eY.exec(t);if(o){let[t,r,n,i]=Array.from(o).slice(1).map(parseFloat);if(eB(0,100,r)!==r||eB(0,100,n)!==n)throw new ez(e);return[...eJ(t,r,n),Number.isNaN(i)?1:i]}throw new ez(e)}let eq=e=>parseInt(e.replace(/_/g,""),36),e$="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let r=eq(t.substring(0,3)),n=eq(t.substring(3)).toString(16),i="";for(let e=0;e<6-n.length;e++)i+="0";return e[r]=`${i}${n}`,e},{}),eH=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),eV=RegExp(`^#${eH("([a-f0-9])",3)}([a-f0-9])?$`,"i"),eW=RegExp(`^#${eH("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),eG=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${eH(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),eY=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,eZ=/^[a-z]+$/i,eK=e=>Math.round(255*e),eJ=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(eK);let i=(e%360+360)%360/60,o=t/100*(1-Math.abs(2*n-1)),a=o*(1-Math.abs(i%2-1)),s=0,u=0,l=0;i>=0&&i<1?(s=o,u=a):i>=1&&i<2?(s=a,u=o):i>=2&&i<3?(u=o,l=a):i>=3&&i<4?(u=a,l=o):i>=4&&i<5?(s=a,l=o):i>=5&&i<6&&(s=o,l=a);let c=n-o/2;return[s+c,u+c,l+c].map(eK)};var eX=e=>0===Object.keys(e).length,eQ=(e,t,r)=>{let n=function(e,t,r,n,i){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:void 0;return void 0===e?r:e}(e,`colors.${t}`,t);try{return!function(e){let[t,r,n,i]=eU(e),o=e=>{let t=eB(0,255,e).toString(16);return 1===t.length?`0${t}`:t};o(t),o(r),o(n),i<1&&o(Math.round(255*i))}(n),n}catch{return null!=r?r:"#000000"}},e0=e=>{let[t,r,n]=eU(e);return(299*t+587*r+114*n)/1e3},e1=e=>t=>128>e0(eQ(t,e))?"dark":"light",e2=e=>t=>"dark"===e1(e)(t),e3=(e,t)=>r=>(function(e,t){var r;let[n,i,o,a]=eU(e);return r=a-t,`rgba(${eB(0,255,n).toFixed()}, ${eB(0,255,i).toFixed()}, ${eB(0,255,o).toFixed()}, ${parseFloat(eB(0,1,r).toFixed(3))})`})(eQ(r,e),1-t);function e5(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
    45deg,
    ${t} 25%,
    transparent 25%,
    transparent 50%,
    ${t} 50%,
    ${t} 75%,
    transparent 75%,
    transparent
  )`,backgroundSize:`${e} ${e}`}}var e4=()=>`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`,e6=(0,T.gJ)("tabs-color"),e8=(0,T.gJ)("tabs-bg"),e9=(0,T.gJ)("tabs-border-color"),{defineMultiStyleConfig:e7,definePartsStyle:te}=(0,T.D)(eu.keys),tt=(0,T.k0)(e=>{let{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}}),tr=(0,T.k0)(e=>{let{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}}),tn=(0,T.k0)(e=>{let{align:t="start",orientation:r}=e;return{justifyContent:({end:"flex-end",center:"center",start:"flex-start"})[t],flexDirection:"vertical"===r?"column":"row"}}),ti=(0,T.k0)({p:4}),to=e7({baseStyle:te(e=>({root:tt(e),tab:tr(e),tablist:tn(e),tabpanel:ti})),sizes:{sm:te({tab:{py:1,px:4,fontSize:"sm"}}),md:te({tab:{fontSize:"md",py:2,px:4}}),lg:te({tab:{fontSize:"lg",py:3,px:4}})},variants:{line:te(e=>{let{colorScheme:t,orientation:r}=e,n="vertical"===r,i=n?"borderStart":"borderBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[n?"marginStart":"marginBottom"]:"-2px",_selected:{[e6.variable]:`colors.${t}.600`,_dark:{[e6.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[e8.variable]:"colors.gray.200",_dark:{[e8.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:e6.reference,bg:e8.reference}}}),enclosed:te(e=>{let{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[e9.variable]:"transparent",_selected:{[e6.variable]:`colors.${t}.600`,[e9.variable]:"colors.white",_dark:{[e6.variable]:`colors.${t}.300`,[e9.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:e9.reference},color:e6.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"enclosed-colored":te(e=>{let{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[e8.variable]:"colors.gray.50",_dark:{[e8.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[e8.variable]:"colors.white",[e6.variable]:`colors.${t}.600`,_dark:{[e8.variable]:"colors.gray.800",[e6.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:e6.reference,bg:e8.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"soft-rounded":te(e=>{let{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:eQ(r,`${t}.700`),bg:eQ(r,`${t}.100`)}}}}),"solid-rounded":te(e=>{let{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[e6.variable]:"colors.gray.600",_dark:{[e6.variable]:"inherit"},_selected:{[e6.variable]:"colors.white",[e8.variable]:`colors.${t}.600`,_dark:{[e6.variable]:"colors.gray.800",[e8.variable]:`colors.${t}.300`}},color:e6.reference,bg:e8.reference}}}),unstyled:te({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),ta=(0,T._6)("badge",["bg","color","shadow"]),ts=(0,T.k0)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:ta.bg.reference,color:ta.color.reference,boxShadow:ta.shadow.reference}),tu=(0,T.k0)(e=>{let{colorScheme:t,theme:r}=e,n=e3(`${t}.500`,.6)(r);return{[ta.bg.variable]:`colors.${t}.500`,[ta.color.variable]:"colors.white",_dark:{[ta.bg.variable]:n,[ta.color.variable]:"colors.whiteAlpha.800"}}}),tl=(0,T.k0)(e=>{let{colorScheme:t,theme:r}=e,n=e3(`${t}.200`,.16)(r);return{[ta.bg.variable]:`colors.${t}.100`,[ta.color.variable]:`colors.${t}.800`,_dark:{[ta.bg.variable]:n,[ta.color.variable]:`colors.${t}.200`}}}),tc=(0,T.k0)(e=>{let{colorScheme:t,theme:r}=e,n=e3(`${t}.200`,.8)(r);return{[ta.color.variable]:`colors.${t}.500`,_dark:{[ta.color.variable]:n},[ta.shadow.variable]:`inset 0 0 0px 1px ${ta.color.reference}`}}),td=(0,T.fj)({baseStyle:ts,variants:{solid:tu,subtle:tl,outline:tc},defaultProps:{variant:"subtle",colorScheme:"gray"}}),{defineMultiStyleConfig:th,definePartsStyle:tp}=(0,T.D)(el.keys),tf=(0,T.gJ)("tag-bg"),tm=(0,T.gJ)("tag-color"),tg=(0,T.gJ)("tag-shadow"),tv=(0,T.gJ)("tag-min-height"),ty=(0,T.gJ)("tag-min-width"),tb=(0,T.gJ)("tag-font-size"),tw=(0,T.gJ)("tag-padding-inline"),tk=tp({container:(0,T.k0)({fontWeight:"medium",lineHeight:1.2,outline:0,[tm.variable]:ta.color.reference,[tf.variable]:ta.bg.reference,[tg.variable]:ta.shadow.reference,color:tm.reference,bg:tf.reference,boxShadow:tg.reference,borderRadius:"md",minH:tv.reference,minW:ty.reference,fontSize:tb.reference,px:tw.reference,_focusVisible:{[tg.variable]:"shadows.outline"}}),label:(0,T.k0)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,T.k0)({fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}})}),tx={sm:tp({container:{[tv.variable]:"sizes.5",[ty.variable]:"sizes.5",[tb.variable]:"fontSizes.xs",[tw.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:tp({container:{[tv.variable]:"sizes.6",[ty.variable]:"sizes.6",[tb.variable]:"fontSizes.sm",[tw.variable]:"space.2"}}),lg:tp({container:{[tv.variable]:"sizes.8",[ty.variable]:"sizes.8",[tb.variable]:"fontSizes.md",[tw.variable]:"space.3"}})},t_=th({variants:{subtle:tp(e=>{var t;return{container:null==(t=td.variants)?void 0:t.subtle(e)}}),solid:tp(e=>{var t;return{container:null==(t=td.variants)?void 0:t.solid(e)}}),outline:tp(e=>{var t;return{container:null==(t=td.variants)?void 0:t.outline(e)}})},baseStyle:tk,sizes:tx,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:tS,defineMultiStyleConfig:tE}=(0,T.D)(Z.keys),tD=(0,T.gJ)("input-height"),tC=(0,T.gJ)("input-font-size"),tj=(0,T.gJ)("input-padding"),tO=(0,T.gJ)("input-border-radius"),tT=tS({addon:{height:tD.reference,fontSize:tC.reference,px:tj.reference,borderRadius:tO.reference},field:{width:"100%",height:tD.reference,fontSize:tC.reference,px:tj.reference,borderRadius:tO.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),tA={lg:(0,T.k0)({[tC.variable]:"fontSizes.lg",[tj.variable]:"space.4",[tO.variable]:"radii.md",[tD.variable]:"sizes.12"}),md:(0,T.k0)({[tC.variable]:"fontSizes.md",[tj.variable]:"space.4",[tO.variable]:"radii.md",[tD.variable]:"sizes.10"}),sm:(0,T.k0)({[tC.variable]:"fontSizes.sm",[tj.variable]:"space.3",[tO.variable]:"radii.sm",[tD.variable]:"sizes.8"}),xs:(0,T.k0)({[tC.variable]:"fontSizes.xs",[tj.variable]:"space.2",[tO.variable]:"radii.sm",[tD.variable]:"sizes.6"})};function tP(e){let{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||(0,eR.x)("blue.500","blue.300")(e),errorBorderColor:r||(0,eR.x)("red.500","red.300")(e)}}var tR=tE({baseStyle:tT,sizes:{lg:tS({field:tA.lg,group:tA.lg}),md:tS({field:tA.md,group:tA.md}),sm:tS({field:tA.sm,group:tA.sm}),xs:tS({field:tA.xs,group:tA.xs})},variants:{outline:tS(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=tP(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:(0,eR.x)("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:eQ(t,n),boxShadow:`0 0 0 1px ${eQ(t,n)}`},_focusVisible:{zIndex:1,borderColor:eQ(t,r),boxShadow:`0 0 0 1px ${eQ(t,r)}`}},addon:{border:"1px solid",borderColor:(0,eR.x)("inherit","whiteAlpha.50")(e),bg:(0,eR.x)("gray.100","whiteAlpha.300")(e)}}}),filled:tS(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=tP(e);return{field:{border:"2px solid",borderColor:"transparent",bg:(0,eR.x)("gray.100","whiteAlpha.50")(e),_hover:{bg:(0,eR.x)("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:eQ(t,n)},_focusVisible:{bg:"transparent",borderColor:eQ(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:(0,eR.x)("gray.100","whiteAlpha.50")(e)}}}),flushed:tS(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=tP(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:eQ(t,n),boxShadow:`0px 1px 0px 0px ${eQ(t,n)}`},_focusVisible:{borderColor:eQ(t,r),boxShadow:`0px 1px 0px 0px ${eQ(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),unstyled:tS({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),tM=(0,T.k0)({...null==(n=tR.baseStyle)?void 0:n.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),tF={outline:(0,T.k0)(e=>{var t,r;return null!=(r=null==(t=tR.variants)?void 0:t.outline(e).field)?r:{}}),flushed:(0,T.k0)(e=>{var t,r;return null!=(r=null==(t=tR.variants)?void 0:t.flushed(e).field)?r:{}}),filled:(0,T.k0)(e=>{var t,r;return null!=(r=null==(t=tR.variants)?void 0:t.filled(e).field)?r:{}}),unstyled:null!=(o=null==(i=tR.variants)?void 0:i.unstyled.field)?o:{}},tN={xs:null!=(s=null==(a=tR.sizes)?void 0:a.xs.field)?s:{},sm:null!=(l=null==(u=tR.sizes)?void 0:u.sm.field)?l:{},md:null!=(d=null==(c=tR.sizes)?void 0:c.md.field)?d:{},lg:null!=(p=null==(h=tR.sizes)?void 0:h.lg.field)?p:{}},tI=(0,T.fj)({baseStyle:tM,sizes:tN,variants:tF,defaultProps:{size:"md",variant:"outline"}}),tL=eh("tooltip-bg"),tB=eh("tooltip-fg"),tz=eh("popper-arrow-bg"),tU=(0,T.k0)({bg:tL.reference,color:tB.reference,[tL.variable]:"colors.gray.700",[tB.variable]:"colors.whiteAlpha.900",_dark:{[tL.variable]:"colors.gray.300",[tB.variable]:"colors.gray.900"},[tz.variable]:tL.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}),tq=(0,T.fj)({baseStyle:tU}),{defineMultiStyleConfig:t$,definePartsStyle:tH}=(0,T.D)(et.keys),tV=(0,T.k0)(e=>{let{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:i}=e,o=(0,eR.x)(e5(),e5("1rem","rgba(0,0,0,0.1)"))(e),a=(0,eR.x)(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(
    to right,
    transparent 0%,
    ${eQ(r,a)} 50%,
    transparent 100%
  )`;return{...!n&&i&&o,...n?{bgImage:s}:{bgColor:a}}}),tW=(0,T.k0)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),tG=(0,T.k0)(e=>({bg:(0,eR.x)("gray.100","whiteAlpha.300")(e)})),tY=(0,T.k0)(e=>({transitionProperty:"common",transitionDuration:"slow",...tV(e)})),tZ=tH(e=>({label:tW,filledTrack:tY(e),track:tG(e)})),tK=t$({sizes:{xs:tH({track:{h:"1"}}),sm:tH({track:{h:"2"}}),md:tH({track:{h:"3"}}),lg:tH({track:{h:"4"}})},baseStyle:tZ,defaultProps:{size:"md",colorScheme:"blue"}}),tJ=e=>"function"==typeof e;function tX(e,...t){return tJ(e)?e(...t):e}var{definePartsStyle:tQ,defineMultiStyleConfig:t0}=(0,T.D)(H.keys),t1=(0,T.gJ)("checkbox-size"),t2=(0,T.k0)(e=>{let{colorScheme:t}=e;return{w:t1.reference,h:t1.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:(0,eR.x)(`${t}.500`,`${t}.200`)(e),borderColor:(0,eR.x)(`${t}.500`,`${t}.200`)(e),color:(0,eR.x)("white","gray.900")(e),_hover:{bg:(0,eR.x)(`${t}.600`,`${t}.300`)(e),borderColor:(0,eR.x)(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:(0,eR.x)("gray.200","transparent")(e),bg:(0,eR.x)("gray.200","whiteAlpha.300")(e),color:(0,eR.x)("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:(0,eR.x)(`${t}.500`,`${t}.200`)(e),borderColor:(0,eR.x)(`${t}.500`,`${t}.200`)(e),color:(0,eR.x)("white","gray.900")(e)},_disabled:{bg:(0,eR.x)("gray.100","whiteAlpha.100")(e),borderColor:(0,eR.x)("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:(0,eR.x)("red.500","red.300")(e)}}}),t3=(0,T.k0)({_disabled:{cursor:"not-allowed"}}),t5=(0,T.k0)({userSelect:"none",_disabled:{opacity:.4}}),t4=(0,T.k0)({transitionProperty:"transform",transitionDuration:"normal"}),t6=t0({baseStyle:tQ(e=>({icon:t4,container:t3,control:tX(t2,e),label:t5})),sizes:{sm:tQ({control:{[t1.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:tQ({control:{[t1.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:tQ({control:{[t1.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:t8,definePartsStyle:t9}=(0,T.D)(er.keys),t7=(0,T.k0)(e=>{var t;let r=null==(t=tX(t6.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}}),re=t8({baseStyle:t9(e=>{var t,r;return{label:null==(t=t6.baseStyle)?void 0:t.call(t6,e).label,container:null==(r=t6.baseStyle)?void 0:r.call(t6,e).container,control:t7(e)}}),sizes:{md:t9({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:t9({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:t9({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:rt,definePartsStyle:rr}=(0,T.D)(en.keys),rn=(0,T.gJ)("select-bg"),ri=rr({field:(0,T.k0)({...null==(f=tR.baseStyle)?void 0:f.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:rn.reference,[rn.variable]:"colors.white",_dark:{[rn.variable]:"colors.gray.700"},"> option, > optgroup":{bg:rn.reference}}),icon:(0,T.k0)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),ro=(0,T.k0)({paddingInlineEnd:"8"}),ra=rt({baseStyle:ri,sizes:{lg:{...null==(m=tR.sizes)?void 0:m.lg,field:{...null==(g=tR.sizes)?void 0:g.lg.field,...ro}},md:{...null==(v=tR.sizes)?void 0:v.md,field:{...null==(y=tR.sizes)?void 0:y.md.field,...ro}},sm:{...null==(b=tR.sizes)?void 0:b.sm,field:{...null==(w=tR.sizes)?void 0:w.sm.field,...ro}},xs:{...null==(k=tR.sizes)?void 0:k.xs,field:{...null==(x=tR.sizes)?void 0:x.xs.field,...ro},icon:{insetEnd:"1"}}},variants:tR.variants,defaultProps:tR.defaultProps}),rs=(0,T.gJ)("skeleton-start-color"),ru=(0,T.gJ)("skeleton-end-color"),rl=(0,T.k0)({[rs.variable]:"colors.gray.100",[ru.variable]:"colors.gray.400",_dark:{[rs.variable]:"colors.gray.800",[ru.variable]:"colors.gray.600"},background:rs.reference,borderColor:ru.reference,opacity:.7,borderRadius:"sm"}),rc=(0,T.fj)({baseStyle:rl}),rd=(0,T.gJ)("skip-link-bg"),rh=(0,T.k0)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[rd.variable]:"colors.white",_dark:{[rd.variable]:"colors.gray.700"},bg:rd.reference}}),rp=(0,T.fj)({baseStyle:rh}),{defineMultiStyleConfig:rf,definePartsStyle:rm}=(0,T.D)(ei.keys),rg=(0,T.gJ)("slider-thumb-size"),rv=(0,T.gJ)("slider-track-size"),ry=(0,T.gJ)("slider-bg"),rb=(0,T.k0)(e=>{let{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...(0,eR.f)({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}}),rw=(0,T.k0)(e=>({...(0,eR.f)({orientation:e.orientation,horizontal:{h:rv.reference},vertical:{w:rv.reference}}),overflow:"hidden",borderRadius:"sm",[ry.variable]:"colors.gray.200",_dark:{[ry.variable]:"colors.whiteAlpha.200"},_disabled:{[ry.variable]:"colors.gray.300",_dark:{[ry.variable]:"colors.whiteAlpha.300"}},bg:ry.reference})),rk=(0,T.k0)(e=>{let{orientation:t}=e;return{...(0,eR.f)({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:rg.reference,h:rg.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}}),rx=(0,T.k0)(e=>{let{colorScheme:t}=e;return{width:"inherit",height:"inherit",[ry.variable]:`colors.${t}.500`,_dark:{[ry.variable]:`colors.${t}.200`},bg:ry.reference}}),r_=rf({baseStyle:rm(e=>({container:rb(e),track:rw(e),thumb:rk(e),filledTrack:rx(e)})),sizes:{lg:rm({container:{[rg.variable]:"sizes.4",[rv.variable]:"sizes.1"}}),md:rm({container:{[rg.variable]:"sizes.3.5",[rv.variable]:"sizes.1"}}),sm:rm({container:{[rg.variable]:"sizes.2.5",[rv.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),rS=eh("spinner-size"),rE=(0,T.k0)({width:[rS.reference],height:[rS.reference]}),rD={xs:(0,T.k0)({[rS.variable]:"sizes.3"}),sm:(0,T.k0)({[rS.variable]:"sizes.4"}),md:(0,T.k0)({[rS.variable]:"sizes.6"}),lg:(0,T.k0)({[rS.variable]:"sizes.8"}),xl:(0,T.k0)({[rS.variable]:"sizes.12"})},rC=(0,T.fj)({baseStyle:rE,sizes:rD,defaultProps:{size:"md"}}),{defineMultiStyleConfig:rj,definePartsStyle:rO}=(0,T.D)(eo.keys),rT=rj({baseStyle:rO({container:{},label:(0,T.k0)({fontWeight:"medium"}),helpText:(0,T.k0)({opacity:.8,marginBottom:"2"}),number:(0,T.k0)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,T.k0)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:rO({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),rA=(0,T.gJ)("kbd-bg"),rP=(0,T.k0)({[rA.variable]:"colors.gray.100",_dark:{[rA.variable]:"colors.whiteAlpha.100"},bg:rA.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),rR=(0,T.fj)({baseStyle:rP}),rM=(0,T.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),rF=(0,T.fj)({baseStyle:rM}),{defineMultiStyleConfig:rN,definePartsStyle:rI}=(0,T.D)(K.keys),rL=rN({baseStyle:rI({icon:(0,T.k0)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:rB,definePartsStyle:rz}=(0,T.D)(J.keys),rU=(0,T.gJ)("menu-bg"),rq=(0,T.gJ)("menu-shadow"),r$=(0,T.k0)({[rU.variable]:"#fff",[rq.variable]:"shadows.sm",_dark:{[rU.variable]:"colors.gray.700",[rq.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:rU.reference,boxShadow:rq.reference}),rH=(0,T.k0)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[rU.variable]:"colors.gray.100",_dark:{[rU.variable]:"colors.whiteAlpha.100"}},_active:{[rU.variable]:"colors.gray.200",_dark:{[rU.variable]:"colors.whiteAlpha.200"}},_expanded:{[rU.variable]:"colors.gray.100",_dark:{[rU.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:rU.reference}),rV=(0,T.k0)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),rW=(0,T.k0)({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),rG=(0,T.k0)({opacity:.6}),rY=(0,T.k0)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),rZ=rB({baseStyle:rz({button:(0,T.k0)({transitionProperty:"common",transitionDuration:"normal"}),list:r$,item:rH,groupTitle:rV,icon:rW,command:rG,divider:rY})}),{defineMultiStyleConfig:rK,definePartsStyle:rJ}=(0,T.D)(X.keys),rX=(0,T.gJ)("modal-bg"),rQ=(0,T.gJ)("modal-shadow"),r0=(0,T.k0)({bg:"blackAlpha.600",zIndex:"modal"}),r1=(0,T.k0)(e=>{let{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}}),r2=(0,T.k0)(e=>{let{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[rX.variable]:"colors.white",[rQ.variable]:"shadows.lg",_dark:{[rX.variable]:"colors.gray.700",[rQ.variable]:"shadows.dark-lg"},bg:rX.reference,boxShadow:rQ.reference}}),r3=(0,T.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),r5=(0,T.k0)({position:"absolute",top:"2",insetEnd:"3"}),r4=(0,T.k0)(e=>{let{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}}),r6=(0,T.k0)({px:"6",py:"4"});function r8(e){return"full"===e?rJ({dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}):rJ({dialog:{maxW:e}})}var r9=rK({baseStyle:rJ(e=>({overlay:r0,dialogContainer:tX(r1,e),dialog:tX(r2,e),header:r3,closeButton:r5,body:tX(r4,e),footer:r6})),sizes:{xs:r8("xs"),sm:r8("sm"),md:r8("md"),lg:r8("lg"),xl:r8("xl"),"2xl":r8("2xl"),"3xl":r8("3xl"),"4xl":r8("4xl"),"5xl":r8("5xl"),"6xl":r8("6xl"),full:r8("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:r7,definePartsStyle:ne}=(0,T.D)(Q.keys),nt=eh("number-input-stepper-width"),nr=eh("number-input-input-padding"),nn=ek(nt).add("0.5rem").toString(),ni=eh("number-input-bg"),no=eh("number-input-color"),na=eh("number-input-border-color"),ns=(0,T.k0)({[nt.variable]:"sizes.6",[nr.variable]:nn}),nu=(0,T.k0)(e=>{var t,r;return null!=(r=null==(t=tX(tR.baseStyle,e))?void 0:t.field)?r:{}}),nl=(0,T.k0)({width:nt.reference}),nc=(0,T.k0)({borderStart:"1px solid",borderStartColor:na.reference,color:no.reference,bg:ni.reference,[no.variable]:"colors.chakra-body-text",[na.variable]:"colors.chakra-border-color",_dark:{[no.variable]:"colors.whiteAlpha.800",[na.variable]:"colors.whiteAlpha.300"},_active:{[ni.variable]:"colors.gray.200",_dark:{[ni.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}});function nd(e){var t,r,n;let i=null==(t=tR.sizes)?void 0:t[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(n=null==(r=i.field)?void 0:r.fontSize)?n:"md",s=D.fontSizes[a];return ne({field:{...i.field,paddingInlineEnd:nr.reference,verticalAlign:"top"},stepper:{fontSize:ek(s).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var nh=r7({baseStyle:ne(e=>{var t;return{root:ns,field:null!=(t=tX(nu,e))?t:{},stepperGroup:nl,stepper:nc}}),sizes:{xs:nd("xs"),sm:nd("sm"),md:nd("md"),lg:nd("lg")},variants:tR.variants,defaultProps:tR.defaultProps}),np=(0,T.k0)({...null==(_=tR.baseStyle)?void 0:_.field,textAlign:"center"}),nf={lg:(0,T.k0)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,T.k0)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,T.k0)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,T.k0)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},nm={outline:(0,T.k0)(e=>{var t,r,n;return null!=(n=null==(r=tX(null==(t=tR.variants)?void 0:t.outline,e))?void 0:r.field)?n:{}}),flushed:(0,T.k0)(e=>{var t,r,n;return null!=(n=null==(r=tX(null==(t=tR.variants)?void 0:t.flushed,e))?void 0:r.field)?n:{}}),filled:(0,T.k0)(e=>{var t,r,n;return null!=(n=null==(r=tX(null==(t=tR.variants)?void 0:t.filled,e))?void 0:r.field)?n:{}}),unstyled:null!=(E=null==(S=tR.variants)?void 0:S.unstyled.field)?E:{}},ng=(0,T.fj)({baseStyle:np,sizes:nf,variants:nm,defaultProps:tR.defaultProps}),{defineMultiStyleConfig:nv,definePartsStyle:ny}=(0,T.D)(ee.keys),nb=eh("popper-bg"),nw=eh("popper-arrow-bg"),nk=eh("popper-arrow-shadow-color"),nx=nv({baseStyle:ny({popper:(0,T.k0)({zIndex:10}),content:(0,T.k0)({[nb.variable]:"colors.white",bg:nb.reference,[nw.variable]:nb.reference,[nk.variable]:"colors.gray.200",_dark:{[nb.variable]:"colors.gray.700",[nk.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,T.k0)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,T.k0)({px:3,py:2}),footer:(0,T.k0)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,T.k0)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{definePartsStyle:n_,defineMultiStyleConfig:nS}=(0,T.D)(V.keys),nE=(0,T.gJ)("drawer-bg"),nD=(0,T.gJ)("drawer-box-shadow");function nC(e){return"full"===e?n_({dialog:{maxW:"100vw",h:"100vh"}}):n_({dialog:{maxW:e}})}var nj=(0,T.k0)({bg:"blackAlpha.600",zIndex:"modal"}),nO=(0,T.k0)({display:"flex",zIndex:"modal",justifyContent:"center"}),nT=(0,T.k0)(e=>{let{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[nE.variable]:"colors.white",[nD.variable]:"shadows.lg",_dark:{[nE.variable]:"colors.gray.700",[nD.variable]:"shadows.dark-lg"},bg:nE.reference,boxShadow:nD.reference}}),nA=(0,T.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),nP=(0,T.k0)({position:"absolute",top:"2",insetEnd:"3"}),nR=(0,T.k0)({px:"6",py:"2",flex:"1",overflow:"auto"}),nM=(0,T.k0)({px:"6",py:"4"}),nF=nS({baseStyle:n_(e=>({overlay:nj,dialogContainer:nO,dialog:tX(nT,e),header:nA,closeButton:nP,body:nR,footer:nM})),sizes:{xs:nC("xs"),sm:nC("md"),md:nC("lg"),lg:nC("2xl"),xl:nC("4xl"),full:nC("full")},defaultProps:{size:"xs"}}),{definePartsStyle:nN,defineMultiStyleConfig:nI}=(0,T.D)(W.keys),nL=nI({baseStyle:nN({preview:(0,T.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,T.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,T.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:nB,defineMultiStyleConfig:nz}=(0,T.D)(G.keys),nU=(0,T.gJ)("form-control-color"),nq=nz({baseStyle:nB({container:{width:"100%",position:"relative"},requiredIndicator:(0,T.k0)({marginStart:"1",[nU.variable]:"colors.red.500",_dark:{[nU.variable]:"colors.red.300"},color:nU.reference}),helperText:(0,T.k0)({mt:"2",[nU.variable]:"colors.gray.600",_dark:{[nU.variable]:"colors.whiteAlpha.600"},color:nU.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:n$,defineMultiStyleConfig:nH}=(0,T.D)(Y.keys),nV=(0,T.gJ)("form-error-color"),nW=nH({baseStyle:n$({text:(0,T.k0)({[nV.variable]:"colors.red.500",_dark:{[nV.variable]:"colors.red.300"},color:nV.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,T.k0)({marginEnd:"0.5em",[nV.variable]:"colors.red.500",_dark:{[nV.variable]:"colors.red.300"},color:nV.reference})})}),nG=(0,T.k0)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),nY=(0,T.fj)({baseStyle:nG}),nZ=(0,T.k0)({fontFamily:"heading",fontWeight:"bold"}),nK={"4xl":(0,T.k0)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,T.k0)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,T.k0)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,T.k0)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,T.k0)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,T.k0)({fontSize:"xl",lineHeight:1.2}),sm:(0,T.k0)({fontSize:"md",lineHeight:1.2}),xs:(0,T.k0)({fontSize:"sm",lineHeight:1.2})},nJ=(0,T.fj)({baseStyle:nZ,sizes:nK,defaultProps:{size:"xl"}}),{defineMultiStyleConfig:nX,definePartsStyle:nQ}=(0,T.D)($.keys),n0=(0,T.gJ)("breadcrumb-link-decor"),n1=nX({baseStyle:nQ({link:(0,T.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:n0.reference,[n0.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[n0.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}})})}),n2=(0,T.k0)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),n3=(0,T.k0)(e=>{let{colorScheme:t,theme:r}=e;if("gray"===t)return{color:(0,eR.x)("gray.800","whiteAlpha.900")(e),_hover:{bg:(0,eR.x)("gray.100","whiteAlpha.200")(e)},_active:{bg:(0,eR.x)("gray.200","whiteAlpha.300")(e)}};let n=e3(`${t}.200`,.12)(r),i=e3(`${t}.200`,.24)(r);return{color:(0,eR.x)(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:(0,eR.x)(`${t}.50`,n)(e)},_active:{bg:(0,eR.x)(`${t}.100`,i)(e)}}}),n5=(0,T.k0)(e=>{let{colorScheme:t}=e,r=(0,eR.x)("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...tX(n3,e)}}),n4={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},n6=(0,T.k0)(e=>{var t;let{colorScheme:r}=e;if("gray"===r){let t=(0,eR.x)("gray.100","whiteAlpha.200")(e);return{bg:t,color:(0,eR.x)("gray.800","whiteAlpha.900")(e),_hover:{bg:(0,eR.x)("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:(0,eR.x)("gray.300","whiteAlpha.400")(e)}}}let{bg:n=`${r}.500`,color:i="white",hoverBg:o=`${r}.600`,activeBg:a=`${r}.700`}=null!=(t=n4[r])?t:{},s=(0,eR.x)(n,`${r}.200`)(e);return{bg:s,color:(0,eR.x)(i,"gray.800")(e),_hover:{bg:(0,eR.x)(o,`${r}.300`)(e),_disabled:{bg:s}},_active:{bg:(0,eR.x)(a,`${r}.400`)(e)}}}),n8=(0,T.k0)(e=>{let{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:(0,eR.x)(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:(0,eR.x)(`${t}.700`,`${t}.500`)(e)}}}),n9=(0,T.k0)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),n7={lg:(0,T.k0)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,T.k0)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,T.k0)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,T.k0)({h:"6",minW:"6",fontSize:"xs",px:"2"})},ie=(0,T.fj)({baseStyle:n2,variants:{ghost:n3,outline:n5,solid:n6,link:n8,unstyled:n9},sizes:n7,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:it,defineMultiStyleConfig:ir}=(0,T.D)(ec.keys),ii=(0,T.gJ)("card-bg"),io=(0,T.gJ)("card-padding"),ia=(0,T.gJ)("card-shadow"),is=(0,T.gJ)("card-radius"),iu=(0,T.gJ)("card-border-width","0"),il=(0,T.gJ)("card-border-color"),ic=it({container:{[ii.variable]:"colors.chakra-body-bg",backgroundColor:ii.reference,boxShadow:ia.reference,borderRadius:is.reference,color:"chakra-body-text",borderWidth:iu.reference,borderColor:il.reference},body:{padding:io.reference,flex:"1 1 0%"},header:{padding:io.reference},footer:{padding:io.reference}}),id={sm:it({container:{[is.variable]:"radii.base",[io.variable]:"space.3"}}),md:it({container:{[is.variable]:"radii.md",[io.variable]:"space.5"}}),lg:it({container:{[is.variable]:"radii.xl",[io.variable]:"space.7"}})},ih=ir({baseStyle:ic,variants:{elevated:it({container:{[ia.variable]:"shadows.base",_dark:{[ii.variable]:"colors.gray.700"}}}),outline:it({container:{[iu.variable]:"1px",[il.variable]:"colors.chakra-border-color"}}),filled:it({container:{[ii.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[io.variable]:0},header:{[io.variable]:0},footer:{[io.variable]:0}}},sizes:id,defaultProps:{variant:"elevated",size:"md"}}),ip=eh("close-button-size"),im=eh("close-button-bg"),ig=(0,T.k0)({w:[ip.reference],h:[ip.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[im.variable]:"colors.blackAlpha.100",_dark:{[im.variable]:"colors.whiteAlpha.100"}},_active:{[im.variable]:"colors.blackAlpha.200",_dark:{[im.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:im.reference}),iv={lg:(0,T.k0)({[ip.variable]:"sizes.10",fontSize:"md"}),md:(0,T.k0)({[ip.variable]:"sizes.8",fontSize:"xs"}),sm:(0,T.k0)({[ip.variable]:"sizes.6",fontSize:"2xs"})},iy=(0,T.fj)({baseStyle:ig,sizes:iv,defaultProps:{size:"md"}}),{variants:ib,defaultProps:iw}=td,ik=(0,T.k0)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:ta.bg.reference,color:ta.color.reference,boxShadow:ta.shadow.reference}),ix=(0,T.fj)({baseStyle:ik,variants:ib,defaultProps:iw}),i_=(0,T.k0)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),iS=(0,T.fj)({baseStyle:i_}),iE=(0,T.k0)({opacity:.6,borderColor:"inherit"}),iD=(0,T.k0)({borderStyle:"solid"}),iC=(0,T.k0)({borderStyle:"dashed"}),ij=(0,T.fj)({baseStyle:iE,variants:{solid:iD,dashed:iC},defaultProps:{variant:"solid"}}),{definePartsStyle:iO,defineMultiStyleConfig:iT}=(0,T.D)(z.keys),iA=iT({baseStyle:iO({container:(0,T.k0)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,T.k0)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,T.k0)({pt:"2",px:"4",pb:"5"}),icon:(0,T.k0)({fontSize:"1.25em"})})}),{definePartsStyle:iP,defineMultiStyleConfig:iR}=(0,T.D)(U.keys),iM=(0,T.gJ)("alert-fg"),iF=(0,T.gJ)("alert-bg");function iN(e){let{theme:t,colorScheme:r}=e,n=e3(`${r}.200`,.16)(t);return{light:`colors.${r}.100`,dark:n}}var iI=iR({baseStyle:iP({container:{bg:iF.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:iM.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:iM.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:iP(e=>{let{colorScheme:t}=e,r=iN(e);return{container:{[iM.variable]:`colors.${t}.600`,[iF.variable]:r.light,_dark:{[iM.variable]:`colors.${t}.200`,[iF.variable]:r.dark}}}}),"left-accent":iP(e=>{let{colorScheme:t}=e,r=iN(e);return{container:{[iM.variable]:`colors.${t}.600`,[iF.variable]:r.light,_dark:{[iM.variable]:`colors.${t}.200`,[iF.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:iM.reference}}}),"top-accent":iP(e=>{let{colorScheme:t}=e,r=iN(e);return{container:{[iM.variable]:`colors.${t}.600`,[iF.variable]:r.light,_dark:{[iM.variable]:`colors.${t}.200`,[iF.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:iM.reference}}}),solid:iP(e=>{let{colorScheme:t}=e;return{container:{[iM.variable]:"colors.white",[iF.variable]:`colors.${t}.600`,_dark:{[iM.variable]:"colors.gray.900",[iF.variable]:`colors.${t}.200`},color:iM.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:iL,defineMultiStyleConfig:iB}=(0,T.D)(q.keys),iz=(0,T.gJ)("avatar-border-color"),iU=(0,T.gJ)("avatar-bg"),iq=(0,T.gJ)("avatar-font-size"),i$=(0,T.gJ)("avatar-size"),iH=(0,T.k0)({borderRadius:"full",border:"0.2em solid",borderColor:iz.reference,[iz.variable]:"white",_dark:{[iz.variable]:"colors.gray.800"}}),iV=(0,T.k0)({bg:iU.reference,fontSize:iq.reference,width:i$.reference,height:i$.reference,lineHeight:"1",[iU.variable]:"colors.gray.200",_dark:{[iU.variable]:"colors.whiteAlpha.400"}}),iW=(0,T.k0)(e=>{let{name:t,theme:r}=e,n=t?function(e){var t;let r=e4();return!e||eX(e)?r:e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r&=r;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t&=t;let r="#";for(let e=0;e<3;e+=1){let n=t>>8*e&255;r+=`00${n.toString(16)}`.substr(-2)}return r}(e.string):e.colors&&!e.string?(t=e.colors)[Math.floor(Math.random()*t.length)]:r}({string:t}):"colors.gray.400",i=e2(n)(r),o="white";return i||(o="gray.800"),{bg:iU.reference,fontSize:iq.reference,color:o,borderColor:iz.reference,verticalAlign:"top",width:i$.reference,height:i$.reference,"&:not([data-loaded])":{[iU.variable]:n},[iz.variable]:"colors.white",_dark:{[iz.variable]:"colors.gray.800"}}}),iG=(0,T.k0)({fontSize:iq.reference,lineHeight:"1"});function iY(e){let t="100%"!==e?j[e]:void 0;return iL({container:{[i$.variable]:null!=t?t:e,[iq.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[i$.variable]:null!=t?t:e,[iq.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var iZ=iB({baseStyle:iL(e=>({badge:tX(iH,e),excessLabel:tX(iV,e),container:tX(iW,e),label:iG})),sizes:{"2xs":iY(4),xs:iY(6),sm:iY(8),md:iY(12),lg:iY(16),xl:iY(24),"2xl":iY(32),full:iY("100%")},defaultProps:{size:"md"}}),iK={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},iJ={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},iX={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},iQ={semanticTokens:iK,direction:"ltr",...O,components:{Accordion:iA,Alert:iI,Avatar:iZ,Badge:td,Breadcrumb:n1,Button:ie,Checkbox:t6,CloseButton:iy,Code:ix,Container:iS,Divider:ij,Drawer:nF,Editable:nL,Form:nq,FormError:nW,FormLabel:nY,Heading:nJ,Input:tR,Kbd:rR,Link:rF,List:rL,Menu:rZ,Modal:r9,NumberInput:nh,PinInput:ng,Popover:nx,Progress:tK,Radio:re,Select:ra,Skeleton:rc,SkipLink:rp,Slider:r_,Spinner:rC,Stat:rT,Switch:eP,Table:eL,Tabs:to,Tag:t_,Textarea:tI,Tooltip:tq,Card:ih,Stepper:L},styles:iJ,config:iX},i0={semanticTokens:iK,direction:"ltr",components:{},...O,styles:iJ,config:iX}},64836:function(e,t,r){"use strict";r.d(t,{Qi:function(){return v},VW:function(){return b},OX:function(){return y}});var n=r(28347),i=r(2784),o=r(90359),a=r(3171),s=r(31053),u=r(58175),l=r(7165),c=r(59576),d=r(52322),h={initial:e=>{let{position:t}=e,r=["top","bottom"].includes(t)?"y":"x",n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},p=(0,i.memo)(e=>{let{id:t,message:r,onCloseComplete:p,onRequestRemove:f,requestClose:m=!1,position:g="bottom",duration:v=5e3,containerStyle:y,motionVariants:b=h,toastSpacing:w="0.5rem"}=e,[k,x]=(0,i.useState)(v),_=(0,u.hO)();(0,a.r)(()=>{_||null==p||p()},[_]),(0,a.r)(()=>{x(v)},[v]);let S=()=>{_&&f()};(0,i.useEffect)(()=>{_&&m&&f()},[_,m,f]),function(e,t){let r=(0,o.W)(e);(0,i.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{r()},t),()=>{e&&window.clearTimeout(e)}},[t,r])}(S,k);let E=(0,i.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:w,...y}),[y,w]),D=(0,i.useMemo)(()=>(0,n.sv)(g),[g]);return(0,d.jsx)(l.E.div,{layout:!0,className:"chakra-toast",variants:b,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>x(null),onHoverEnd:()=>x(v),custom:{position:g},style:D,children:(0,d.jsx)(c.m.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:E,children:(0,s.Pu)(r,{id:t,onClose:S})})})});p.displayName="ToastComponent";var f=r(13905),m=r(88241),g=r(332),[v,y]=(0,r(9165).k)({name:"ToastOptionsContext",strict:!1}),b=e=>{let t=(0,i.useSyncExternalStore)(f.fp.subscribe,f.fp.getState,f.fp.getState),{motionVariants:r,component:o=p,portalProps:a}=e,s=Object.keys(t).map(e=>{let i=t[e];return(0,d.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:(0,n.IW)(e),children:(0,d.jsx)(m.M,{initial:!1,children:i.map(e=>(0,d.jsx)(o,{motionVariants:r,...e},e.id))})},e)});return(0,d.jsx)(g.h,{...a,children:s})}},70065:function(e,t,r){"use strict";r.d(t,{p:function(){return s}});var n=r(64836),i=r(13905),o=r(48929),a=r(2784);function s(e){let{theme:t}=(0,o.uP)(),r=(0,n.OX)();return(0,a.useMemo)(()=>(0,i.Cj)(t.direction,{...r,...e}),[e,t.direction,r])}},54839:function(e,t,r){"use strict";r.d(t,{I:function(){return c}});var n=r(64836),i=r(13905),o=r(15706),a=r(50019),s=r(48696),u=r(52322),l={theme:s.rS,colorMode:"light",toggleColorMode:()=>{},setColorMode:()=>{},defaultOptions:{duration:5e3,variant:"solid"},forced:!1};function c({theme:e=l.theme,colorMode:t=l.colorMode,toggleColorMode:r=l.toggleColorMode,setColorMode:s=l.setColorMode,defaultOptions:c=l.defaultOptions,motionVariants:d,toastSpacing:h,component:p,forced:f}=l){let m={colorMode:t,setColorMode:s,toggleColorMode:r,forced:f};return{ToastContainer:()=>(0,u.jsx)(o.f6,{theme:e,children:(0,u.jsx)(a.kc.Provider,{value:m,children:(0,u.jsx)(n.VW,{defaultOptions:c,motionVariants:d,toastSpacing:h,component:p})})}),toast:(0,i.Cj)(e.direction,c)}}},13905:function(e,t,r){"use strict";r.d(t,{Cj:function(){return g},fp:function(){return h}});var n=r(28347),i=r(47443),o=r(52929),a=r(80877),s=r(74444),u=r(59576),l=r(81672),c=r(31053),d=r(52322),h=function(e){let t=e,r=new Set,i=e=>{t=e(t),r.forEach(e=>e())};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{i(()=>e),r.delete(t)}),removeToast:(e,t)=>{i(r=>({...r,[t]:r[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{let r=function(e,t={}){var r,n;p+=1;let i=null!=(r=t.id)?r:p,o=null!=(n=t.position)?n:"bottom";return{id:i,message:e,position:o,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>h.removeToast(String(i),o),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:n,id:o}=r;return i(e=>{var t,i;let o=n.includes("top")?[r,...null!=(t=e[n])?t:[]]:[...null!=(i=e[n])?i:[],r];return{...e,[n]:o}}),o},update:(e,t)=>{e&&i(r=>{let i={...r},{position:o,index:a}=(0,n.Dn)(i,e);return o&&-1!==a&&(i[o][a]={...i[o][a],...t,message:m(t)}),i})},closeAll:({positions:e}={})=>{i(t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,r)=>(e[r]=t[r].map(e=>({...e,requestClose:!0})),e),{...t}))},close:e=>{i(t=>{let r=(0,n.ym)(t,e);return r?{...t,[r]:t[r].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>!!(0,n.Dn)(h.getState(),e).position}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),p=0,f=e=>{let{status:t,variant:r="solid",id:n,title:c,isClosable:h,onClose:p,description:f,colorScheme:m,icon:g}=e,v=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,d.jsxs)(i.b,{addRole:!1,status:t,variant:r,id:null==v?void 0:v.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:m,children:[(0,d.jsx)(o.z,{children:g}),(0,d.jsxs)(u.m.div,{flex:"1",maxWidth:"100%",children:[c&&(0,d.jsx)(a.C,{id:null==v?void 0:v.title,children:c}),f&&(0,d.jsx)(s.X,{id:null==v?void 0:v.description,display:"block",children:f})]}),h&&(0,d.jsx)(l.P,{size:"sm",onClick:p,position:"absolute",insetEnd:1,top:1})]})};function m(e={}){let{render:t,toastComponent:r=f}=e;return n=>"function"==typeof t?t({...n,...e}):(0,d.jsx)(r,{...n,...e})}function g(e,t){let r=r=>{var n;return{...t,...r,position:function(e,t){var r;let n=null!=e?e:"bottom",i={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return null!=(r=null==i?void 0:i[t])?r:n}(null!=(n=null==r?void 0:r.position)?n:null==t?void 0:t.position,e)}},n=e=>{let t=r(e),n=m(t);return h.notify(n,t)};return n.update=(e,t)=>{h.update(e,r(t))},n.promise=(e,t)=>{let r=n({...t.loading,status:"loading",duration:null});e.then(e=>n.update(r,{status:"success",duration:5e3,...(0,c.Pu)(t.success,e)})).catch(e=>n.update(r,{status:"error",duration:5e3,...(0,c.Pu)(t.error,e)}))},n.closeAll=h.closeAll,n.close=h.close,n.isActive=h.isActive,n}},28347:function(e,t,r){"use strict";r.d(t,{Dn:function(){return i},IW:function(){return s},sv:function(){return a},ym:function(){return o}});var n=(e,t)=>e.find(e=>e.id===t);function i(e,t){let r=o(e,t),n=r?e[r].findIndex(e=>e.id===t):-1;return{position:r,index:n}}function o(e,t){for(let[r,i]of Object.entries(e))if(n(i,t))return r}function a(e){let t=e.includes("right"),r=e.includes("left"),n="center";return t&&(n="flex-end"),r&&(n="flex-start"),{display:"flex",flexDirection:"column",alignItems:n}}function s(e){let t=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,r=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,n=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",i=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:t,bottom:r,right:n,left:i}}},41914:function(e,t,r){"use strict";r.d(t,{Lj:function(){return n},Sh:function(){return a},js:function(){return o},p$:function(){return s}});var n={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},i={slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function o(e){var t;switch(null!=(t=null==e?void 0:e.direction)?t:"right"){case"right":default:return i.slideRight;case"left":return i.slideLeft;case"bottom":return i.slideDown;case"top":return i.slideUp}}var a={enter:{duration:.2,ease:n.easeOut},exit:{duration:.1,ease:n.easeIn}},s={enter:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.enter}),exit:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.exit})}},55070:function(e,t,r){"use strict";r.d(t,{M:function(){return d}});var n=r(41914),i=r(31053),o=r(88241),a=r(7165),s=r(2784),u=r(52322),l={exit:{duration:.15,ease:n.Lj.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},c={exit:({direction:e,transition:t,transitionEnd:r,delay:i})=>{var o;let{exit:a}=(0,n.js)({direction:e});return{...a,transition:null!=(o=null==t?void 0:t.exit)?o:n.p$.exit(l.exit,i),transitionEnd:null==r?void 0:r.exit}},enter:({direction:e,transitionEnd:t,transition:r,delay:i})=>{var o;let{enter:a}=(0,n.js)({direction:e});return{...a,transition:null!=(o=null==r?void 0:r.enter)?o:n.p$.enter(l.enter,i),transitionEnd:null==t?void 0:t.enter}}},d=(0,s.forwardRef)(function(e,t){let{direction:r="right",style:s,unmountOnExit:l,in:d,className:h,transition:p,transitionEnd:f,delay:m,motionProps:g,...v}=e,y=Object.assign({position:"fixed"},(0,n.js)({direction:r}).position,s),b=!l||d&&l,w=d||l?"enter":"exit",k={transitionEnd:f,transition:p,direction:r,delay:m};return(0,u.jsx)(o.M,{custom:k,children:b&&(0,u.jsx)(a.E.div,{...v,ref:t,initial:"exit",className:(0,i.cx)("chakra-slide",h),animate:w,exit:"exit",custom:k,variants:c,style:y,...g})})});d.displayName="Slide"},87651:function(e,t,r){"use strict";r.d(t,{U:function(){return h}});var n=r(41914),i=r(31053),o=r(88241),a=r(7165),s=r(2784),u=r(52322),l=e=>null!=e&&parseInt(e.toString(),10)>0,c={exit:{height:{duration:.2,ease:n.Lj.ease},opacity:{duration:.3,ease:n.Lj.ease}},enter:{height:{duration:.3,ease:n.Lj.ease},opacity:{duration:.4,ease:n.Lj.ease}}},d={exit:({animateOpacity:e,startingHeight:t,transition:r,transitionEnd:i,delay:o})=>{var a;return{...e&&{opacity:l(t)?1:0},height:t,transitionEnd:null==i?void 0:i.exit,transition:null!=(a=null==r?void 0:r.exit)?a:n.p$.exit(c.exit,o)}},enter:({animateOpacity:e,endingHeight:t,transition:r,transitionEnd:i,delay:o})=>{var a;return{...e&&{opacity:1},height:t,transitionEnd:null==i?void 0:i.enter,transition:null!=(a=null==r?void 0:r.enter)?a:n.p$.enter(c.enter,o)}}},h=(0,s.forwardRef)((e,t)=>{let{in:r,unmountOnExit:n,animateOpacity:l=!0,startingHeight:c=0,endingHeight:h="auto",style:p,className:f,transition:m,transitionEnd:g,...v}=e,[y,b]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=setTimeout(()=>{b(!0)});return()=>clearTimeout(e)},[]),(0,i.ZK)({condition:Number(c)>0&&!!n,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});let w=parseFloat(c.toString())>0,k={startingHeight:c,endingHeight:h,animateOpacity:l,transition:y?m:{enter:{duration:0}},transitionEnd:{enter:null==g?void 0:g.enter,exit:n?null==g?void 0:g.exit:{...null==g?void 0:g.exit,display:w?"block":"none"}}},x=!n||r,_=r||n?"enter":"exit";return(0,u.jsx)(o.M,{initial:!1,custom:k,children:x&&(0,u.jsx)(a.E.div,{ref:t,...v,className:(0,i.cx)("chakra-collapse",f),style:{overflow:"hidden",display:"block",...p},custom:k,variants:d,initial:!!n&&"exit",animate:_,exit:"exit"})})});h.displayName="Collapse"},78071:function(e,t,r){"use strict";r.d(t,{p:function(){return c},u:function(){return l}});var n=r(41914),i=r(31053),o=r(88241),a=r(7165),s=r(2784),u=r(52322),l={initial:"exit",animate:"enter",exit:"exit",variants:{enter:({transition:e,transitionEnd:t,delay:r}={})=>{var i;return{opacity:1,transition:null!=(i=null==e?void 0:e.enter)?i:n.p$.enter(n.Sh.enter,r),transitionEnd:null==t?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:r}={})=>{var i;return{opacity:0,transition:null!=(i=null==e?void 0:e.exit)?i:n.p$.exit(n.Sh.exit,r),transitionEnd:null==t?void 0:t.exit}}}},c=(0,s.forwardRef)(function(e,t){let{unmountOnExit:r,in:n,className:s,transition:c,transitionEnd:d,delay:h,...p}=e,f=n||r?"enter":"exit",m=!r||n&&r,g={transition:c,transitionEnd:d,delay:h};return(0,u.jsx)(o.M,{custom:g,children:m&&(0,u.jsx)(a.E.div,{ref:t,className:(0,i.cx)("chakra-fade",s),custom:g,...l,animate:f,...p})})});c.displayName="Fade"},26847:function(e,t,r){"use strict";r.d(t,{t5:function(){return o}});var n=r(4428),i=e=>e.offsetWidth>0&&e.offsetHeight>0;function o(e){let t=Array.from(e.querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"));return t.unshift(e),t.filter(e=>(0,n.EB)(e)&&i(e))}},2208:function(e,t,r){"use strict";r.d(t,{y:function(){return d},px:function(){return o}});var n=r(82115),i=r(93429);function o(e){if(null==e)return e;let{unitless:t}=function(e){let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||(0,i.hj)(e)?`${e}px`:e}var a=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,s=e=>(0,n.sq)(Object.entries(e).sort(a));function u(e){let t=s(e);return Object.assign(Object.values(t),t)}function l(e){var t;if(!e)return e;let r=(e=null!=(t=o(e))?t:e).endsWith("px")?-.02:-.01;return(0,i.hj)(e)?`${e+r}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+r}`)}function c(e,t){let r=["@media screen"];return e&&r.push("and",`(min-width: ${o(e)})`),t&&r.push("and",`(max-width: ${o(t)})`),r.join(" ")}function d(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";let r=u(e),n=Object.entries(e).sort(a).map(([e,t],r,n)=>{var i;let[,o]=null!=(i=n[r+1])?i:[];return o=parseFloat(o)>0?l(o):void 0,{_minW:l(t),breakpoint:e,minW:t,maxW:o,maxWQuery:c(null,o),minWQuery:c(t),minMaxQuery:c(t,o)}}),o=new Set(Object.keys(s(e))),d=Array.from(o.values());return{keys:o,normalized:r,isResponsive(e){let t=Object.keys(e);return t.length>0&&t.every(e=>o.has(e))},asObject:s(e),asArray:u(e),details:n,media:[null,...r.map(e=>c(e)).slice(1)],toArrayValue(e){if(!(0,i.Kn)(e))throw Error("toArrayValue: value must be an object");let t=d.map(t=>{var r;return null!=(r=e[t])?r:null});for(;null===function(e){let t=null==e?0:e.length;return t?e[t-1]:void 0}(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw Error("toObjectValue: value must be an array");return e.reduce((e,t,r)=>{let n=d[r];return null!=n&&null!=t&&(e[n]=t),e},{})}}}},85642:function(e,t,r){"use strict";r.d(t,{Yq:function(){return i}});var n=Object.freeze(["base","sm","md","lg","xl","2xl"]);function i(e,t=n){let r={};return e.forEach((e,n)=>{let i=t[n];null!=e&&(r[i]=e)}),r}},79729:function(e,t,r){"use strict";let n;r.d(t,{Pu:function(){return a},ZK:function(){return l},ZT:function(){return u},v0:function(){return s}});var i,o=r(93429);function a(e,...t){return(0,o.mf)(e)?e(...t):e}function s(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}var u=()=>{},l=(i=e=>()=>{let{condition:t,message:r}=e;t&&o.Ts&&console.warn(r)},function(...e){return i&&(n=i.apply(this,e),i=null),n})},73200:function(e,t,r){"use strict";function n(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function i(e){var t;if(!n(e))return!1;let r=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof r.HTMLElement}function o(e){var t;return n(e)&&null!=(t=e.ownerDocument)?t:document}r.d(t,{Re:function(){return i},cx:function(){return s},jU:function(){return a},lZ:function(){return o}});var a=!!("undefined"!=typeof window&&window.document&&window.document.createElement),s=(...e)=>e.filter(Boolean).join(" ")},4428:function(e,t,r){"use strict";r.d(t,{EB:function(){return s},H9:function(){return a},cK:function(){return o}});var n=r(73200),i=e=>e.hasAttribute("tabindex");function o(e){return(0,n.Re)(e)&&"input"===e.localName&&"select"in e}function a(e){return((0,n.Re)(e)?(0,n.lZ)(e):document).activeElement===e}function s(e){var t;if(!(0,n.Re)(e)||function e(t){return!!(t.parentElement&&e(t.parentElement))||t.hidden}(e)||!0==!!(t=e).getAttribute("disabled")||!0==!!t.getAttribute("aria-disabled"))return!1;let{localName:r}=e;if(["input","select","textarea","button"].indexOf(r)>=0)return!0;let o={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return r in o?o[r]():!!function(e){let t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||i(e)}},99903:function(e,t,r){"use strict";r.d(t,{T:function(){return a}});var n=r(4428),i=r(73200),o=r(79729);function a(e,t={}){let{isActive:r=n.H9,nextTick:a,preventScroll:u=!0,selectTextIfInput:l=!0}=t;if(!e||r(e))return -1;function c(){if(!e){(0,o.ZK)({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"});return}!function(){if(null==s){s=!1;try{document.createElement("div").focus({get preventScroll(){return s=!0,!0}})}catch(e){}}return s}()?(e.focus(),u&&function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(function(e){var t;let r=(0,i.lZ)(e),n=null!=(t=r.defaultView)?t:window,o=e.parentNode,a=[],s=r.scrollingElement||r.documentElement;for(;o instanceof n.HTMLElement&&o!==s;)(o.offsetHeight<o.scrollHeight||o.offsetWidth<o.scrollWidth)&&a.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),o=o.parentNode;return s instanceof n.HTMLElement&&a.push({element:s,scrollTop:s.scrollTop,scrollLeft:s.scrollLeft}),a}(e))):e.focus({preventScroll:u}),l&&((0,n.cK)(e)?e.select():"setSelectionRange"in e&&e.setSelectionRange(e.value.length,e.value.length))}return a?requestAnimationFrame(c):(c(),-1)}var s=null},93429:function(e,t,r){"use strict";function n(e){return"number"==typeof e}function i(e){return"function"==typeof e}function o(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function a(e){return"[object String]"===Object.prototype.toString.call(e)}r.d(t,{HD:function(){return a},Kn:function(){return o},Ts:function(){return s},hj:function(){return n},mf:function(){return i}});var s=!1},82115:function(e,t,r){"use strict";function n(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}function i(e,t){let r={};return t.forEach(t=>{t in e&&(r[t]=e[t])}),r}r.d(t,{CE:function(){return n},K1:function(){return l},Wf:function(){return o},YU:function(){return s},ei:function(){return i},lw:function(){return a},sq:function(){return u}}),r(63637);var o=(e=>{let t=new WeakMap;return(r,n,i,o)=>{if(void 0===r)return e(r,n,i);t.has(r)||t.set(r,new Map);let a=t.get(r);if(a.has(n))return a.get(n);let s=e(r,n,i,o);return a.set(n,s),s}})(function(e,t,r,n){let i="string"==typeof t?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return void 0===e?r:e});function a(e,t){let r={};return Object.keys(e).forEach(n=>{let i=e[n];t(i,n,e)&&(r[n]=i)}),r}var s=e=>a(e,e=>null!=e),u=e=>e.reduce((e,[t,r])=>(e[t]=r,e),{}),l=(e,t,r)=>{var n,i,o;return null!=(o=null==(i=null==(n=e.__cssMap)?void 0:n[`${t}.${r}`])?void 0:i.varRef)?o:r}},51679:function(e,t,r){"use strict";r.d(t,{N:function(){return n}});var n={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"}},50423:function(e,t,r){"use strict";r.d(t,{TX:function(){return o}});var n=r(51679),i=r(59576),o=(0,i.m)("span",{baseStyle:n.N});o.displayName="VisuallyHidden",(0,i.m)("input",{baseStyle:n.N}).displayName="VisuallyHiddenInput"},81674:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e){return(o="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})(e)}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||l(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Qc:function(){return tF},qv:function(){return tN},vc:function(){return tM}});var d,h,p,f,m,g,v,y,b=function(){},w={},k={},x=null,_={mark:b,measure:b};try{"undefined"!=typeof window&&(w=window),"undefined"!=typeof document&&(k=document),"undefined"!=typeof MutationObserver&&(x=MutationObserver),"undefined"!=typeof performance&&(_=performance)}catch(e){}var S=(w.navigator||{}).userAgent,E=void 0===S?"":S,D=w,C=k,j=x,O=_;D.document;var T=!!C.documentElement&&!!C.head&&"function"==typeof C.addEventListener&&"function"==typeof C.createElement,A=~E.indexOf("MSIE")||~E.indexOf("Trident/"),P="___FONT_AWESOME___",R="svg-inline--fa",M="data-fa-i2svg",F="data-fa-pseudo-element",N="data-prefix",I="data-icon",L="fontawesome-i2svg",B=["HTML","HEAD","STYLE","SCRIPT"],z=function(){try{return!0}catch(e){return!1}}(),U="classic",q="sharp",$=[U,q];function H(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[U]}})}var V=H((a(d={},U,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),a(d,q,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),d)),W=H((a(h={},U,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),a(h,q,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),h)),G=H((a(p={},U,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),a(p,q,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),p)),Y=H((a(f={},U,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),a(f,q,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),f)),Z=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,K="fa-layers-text",J=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,X=H((a(m={},U,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),a(m,q,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),m)),Q=[1,2,3,4,5,6,7,8,9,10],ee=Q.concat([11,12,13,14,15,16,17,18,19,20]),et=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],er={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},en=new Set;Object.keys(W[U]).map(en.add.bind(en)),Object.keys(W[q]).map(en.add.bind(en));var ei=[].concat($,u(en),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",er.GROUP,er.SWAP_OPACITY,er.PRIMARY,er.SECONDARY]).concat(Q.map(function(e){return"".concat(e,"x")})).concat(ee.map(function(e){return"w-".concat(e)})),eo=D.FontAwesomeConfig||{};C&&"function"==typeof C.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t,r=s(e,2),n=r[0],i=r[1],o=""===(t=function(e){var t=C.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n))||"false"!==t&&("true"===t||t);null!=o&&(eo[i]=o)});var ea={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:R,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};eo.familyPrefix&&(eo.cssPrefix=eo.familyPrefix);var es=i(i({},ea),eo);es.autoReplaceSvg||(es.observeMutations=!1);var eu={};Object.keys(ea).forEach(function(e){Object.defineProperty(eu,e,{enumerable:!0,set:function(t){es[e]=t,el.forEach(function(e){return e(eu)})},get:function(){return es[e]}})}),Object.defineProperty(eu,"familyPrefix",{enumerable:!0,set:function(e){es.cssPrefix=e,el.forEach(function(e){return e(eu)})},get:function(){return es.cssPrefix}}),D.FontAwesomeConfig=eu;var el=[],ec={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ed(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function eh(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function ep(e){return e.classList?eh(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function ef(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function em(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function eg(e){return e.size!==ec.size||e.x!==ec.x||e.y!==ec.y||e.rotate!==ec.rotate||e.flipX||e.flipY}function ev(){var e=eu.cssPrefix,t=eu.replacementClass,r=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n          transform: scale(var(--fa-counter-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(var(--fa-li-width, 2em) * -1);\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  -webkit-animation-name: fa-beat;\n          animation-name: fa-beat;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  -webkit-animation-name: fa-bounce;\n          animation-name: fa-bounce;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  -webkit-animation-name: fa-fade;\n          animation-name: fa-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  -webkit-animation-name: fa-beat-fade;\n          animation-name: fa-beat-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  -webkit-animation-name: fa-flip;\n          animation-name: fa-flip;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  -webkit-animation-name: fa-shake;\n          animation-name: fa-shake;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 2s);\n          animation-duration: var(--fa-animation-duration, 2s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n          animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    -webkit-animation-delay: -1ms;\n            animation-delay: -1ms;\n    -webkit-animation-duration: 1ms;\n            animation-duration: 1ms;\n    -webkit-animation-iteration-count: 1;\n            animation-iteration-count: 1;\n    -webkit-transition-delay: 0s;\n            transition-delay: 0s;\n    -webkit-transition-duration: 0s;\n            transition-duration: 0s;\n  }\n}\n@-webkit-keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@-webkit-keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@-webkit-keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@-webkit-keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@-webkit-keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@-webkit-keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n          transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';if("fa"!==e||t!==R){var n=RegExp("\\.".concat("fa","\\-"),"g"),i=RegExp("\\--".concat("fa","\\-"),"g"),o=RegExp("\\.".concat(R),"g");r=r.replace(n,".".concat(e,"-")).replace(i,"--".concat(e,"-")).replace(o,".".concat(t))}return r}var ey=!1;function eb(){eu.autoAddCss&&!ey&&(!function(e){if(e&&T){var t=C.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=C.head.childNodes,n=null,i=r.length-1;i>-1;i--){var o=r[i];["STYLE","LINK"].indexOf((o.tagName||"").toUpperCase())>-1&&(n=o)}C.head.insertBefore(t,n)}}(ev()),ey=!0)}var ew=D||{};ew[P]||(ew[P]={}),ew[P].styles||(ew[P].styles={}),ew[P].hooks||(ew[P].hooks={}),ew[P].shims||(ew[P].shims=[]);var ek=ew[P],ex=[],e_=!1;function eS(e){var t,r=e.tag,n=e.attributes,i=e.children;return"string"==typeof e?ef(e):"<".concat(r," ").concat(Object.keys((t=void 0===n?{}:n)||{}).reduce(function(e,r){return e+"".concat(r,'="').concat(ef(t[r]),'" ')},"").trim(),">").concat((void 0===i?[]:i).map(eS).join(""),"</").concat(r,">")}function eE(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}!T||(e_=(C.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(C.readyState))||C.addEventListener("DOMContentLoaded",function e(){C.removeEventListener("DOMContentLoaded",e),e_=1,ex.map(function(e){return e()})});var eD=function(e,t,r,n){var i,o,a,s=Object.keys(e),u=s.length,l=void 0!==n?function(e,r,i,o){return t.call(n,e,r,i,o)}:t;for(void 0===r?(i=1,a=e[s[0]]):(i=0,a=r);i<u;i++)a=l(a,e[o=s[i]],o,e);return a};function eC(e){var t=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);(64512&o)==56320?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function ej(e){return Object.keys(e).reduce(function(t,r){var n=e[r];return n.icon?t[n.iconName]=n.icon:t[r]=n,t},{})}function eO(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.skipHooks,o=ej(t);"function"!=typeof ek.hooks.addPack||void 0!==n&&n?ek.styles[e]=i(i({},ek.styles[e]||{}),o):ek.hooks.addPack(e,ej(t)),"fas"===e&&eO("fa",t)}var eT=ek.styles,eA=ek.shims,eP=(a(g={},U,Object.values(G[U])),a(g,q,Object.values(G[q])),g),eR=null,eM={},eF={},eN={},eI={},eL={},eB=(a(v={},U,Object.keys(V[U])),a(v,q,Object.keys(V[q])),v),ez=function(){var e=function(e){return eD(eT,function(t,r,n){return t[n]=eD(r,e,{}),t},{})};eM=e(function(e,t,r){return t[3]&&(e[t[3]]=r),t[2]&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=r}),e}),eF=e(function(e,t,r){return e[r]=r,t[2]&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=r}),e}),eL=e(function(e,t,r){var n=t[2];return e[r]=r,n.forEach(function(t){e[t]=r}),e});var t="far"in eT||eu.autoFetchSvg,r=eD(eA,function(e,r){var n=r[0],i=r[1],o=r[2];return"far"!==i||t||(i="fas"),"string"==typeof n&&(e.names[n]={prefix:i,iconName:o}),"number"==typeof n&&(e.unicodes[n.toString(16)]={prefix:i,iconName:o}),e},{names:{},unicodes:{}});eN=r.names,eI=r.unicodes,eR=eV(eu.styleDefault,{family:eu.familyDefault})};function eU(e,t){return(eM[e]||{})[t]}function eq(e,t){return(eL[e]||{})[t]}function e$(e){return eN[e]||{prefix:null,iconName:null}}el.push(function(e){eR=eV(e.styleDefault,{family:eu.familyDefault})}),ez();var eH=function(){return{prefix:null,iconName:null,rest:[]}};function eV(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.family,n=void 0===r?U:r,i=V[n][e],o=W[n][e]||W[n][i],a=e in ek.styles?e:null;return o||a||null}var eW=(a(y={},U,Object.keys(G[U])),a(y,q,Object.keys(G[q])),y);function eG(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.skipLookups,i=void 0!==n&&n,o=(a(t={},U,"".concat(eu.cssPrefix,"-").concat(U)),a(t,q,"".concat(eu.cssPrefix,"-").concat(q)),t),s=null,u=U;(e.includes(o[U])||e.some(function(e){return eW[U].includes(e)}))&&(u=U),(e.includes(o[q])||e.some(function(e){return eW[q].includes(e)}))&&(u=q);var l=e.reduce(function(e,t){var r,n,a,l,c=(r=eu.cssPrefix,a=(n=t.split("-"))[0],l=n.slice(1).join("-"),a!==r||""===l||~ei.indexOf(l)?null:l);if(eT[t]?(s=t=eP[u].includes(t)?Y[u][t]:t,e.prefix=t):eB[u].indexOf(t)>-1?(s=t,e.prefix=eV(t,{family:u})):c?e.iconName=c:t!==eu.replacementClass&&t!==o[U]&&t!==o[q]&&e.rest.push(t),!i&&e.prefix&&e.iconName){var d="fa"===s?e$(e.iconName):{},h=eq(e.prefix,e.iconName);d.prefix&&(s=null),e.iconName=d.iconName||h||e.iconName,e.prefix=d.prefix||e.prefix,"far"!==e.prefix||eT.far||!eT.fas||eu.autoFetchSvg||(e.prefix="fas")}return e},eH());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&u===q&&(eT.fass||eu.autoFetchSvg)&&(l.prefix="fass",l.iconName=eq(l.prefix,l.iconName)||l.iconName),("fa"===l.prefix||"fa"===s)&&(l.prefix=eR||"fas"),l}var eY=function(){var e;function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}return e=[{key:"add",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(t){e.definitions[t]=i(i({},e.definitions[t]||{}),o[t]),eO(t,o[t]);var r=G[U][t];r&&eO(r,o[t]),ez()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var r=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(r).map(function(t){var n=r[t],i=n.prefix,o=n.iconName,a=n.icon,s=a[2];e[i]||(e[i]={}),s.length>0&&s.forEach(function(t){"string"==typeof t&&(e[i][t]=a)}),e[i][o]=a}),e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(),eZ=[],eK={},eJ={},eX=Object.keys(eJ);function eQ(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return(eK[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(n))}),t}function e0(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];(eK[e]||[]).forEach(function(e){e.apply(null,r)})}function e1(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return eJ[e]?eJ[e].apply(null,t):void 0}function e2(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,r=e.prefix||eR;if(t)return t=eq(r,t)||t,eE(e3.definitions,r,t)||eE(ek.styles,r,t)}var e3=new eY,e5={noAuto:function(){eu.autoReplaceSvg=!1,eu.observeMutations=!1,e0("noAuto")},config:eu,dom:{i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return T?(e0("beforeI2svg",e),e1("pseudoElements2svg",e),e1("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.autoReplaceSvgRoot;!1===eu.autoReplaceSvg&&(eu.autoReplaceSvg=!0),eu.observeMutations=!0,e=function(){e4({autoReplaceSvgRoot:r}),e0("watch",t)},T&&(e_?setTimeout(e,0):ex.push(e))}},parse:{icon:function(e){if(null===e)return null;if("object"===o(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:eq(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],r=eV(e[0]);return{prefix:r,iconName:eq(r,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(eu.cssPrefix,"-"))>-1||e.match(Z))){var n=eG(e.split(" "),{skipLookups:!0});return{prefix:n.prefix||eR,iconName:eq(n.prefix,n.iconName)||n.iconName}}if("string"==typeof e){var i=eR;return{prefix:i,iconName:eq(i,e)||e}}}},library:e3,findIconDefinition:e2,toHtml:eS},e4=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,r=void 0===t?C:t;(Object.keys(ek.styles).length>0||eu.autoFetchSvg)&&T&&eu.autoReplaceSvg&&e5.dom.i2svg({node:r})};function e6(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return eS(e)})}}),Object.defineProperty(e,"node",{get:function(){if(T){var t=C.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function e8(e){var t,r,n,o,a,s,u=e.icons,l=u.main,c=u.mask,d=e.prefix,h=e.iconName,p=e.transform,f=e.symbol,m=e.title,g=e.maskId,v=e.titleId,y=e.extra,b=e.watchable,w=c.found?c:l,k=w.width,x=w.height,_="fak"===d,S=[eu.replacementClass,h?"".concat(eu.cssPrefix,"-").concat(h):""].filter(function(e){return -1===y.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(y.classes).join(" "),E={children:[],attributes:i(i({},y.attributes),{},{"data-prefix":d,"data-icon":h,class:S,role:y.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(k," ").concat(x)})},D=_&&!~y.classes.indexOf("fa-fw")?{width:"".concat(k/x*1,"em")}:{};void 0!==b&&b&&(E.attributes[M]=""),m&&(E.children.push({tag:"title",attributes:{id:E.attributes["aria-labelledby"]||"title-".concat(v||ed())},children:[m]}),delete E.attributes.title);var C=i(i({},E),{},{prefix:d,iconName:h,main:l,mask:c,maskId:g,transform:p,symbol:f,styles:i(i({},D),y.styles)}),j=c.found&&l.found?e1("generateAbstractMask",C)||{children:[],attributes:{}}:e1("generateAbstractIcon",C)||{children:[],attributes:{}},O=j.children,T=j.attributes;return(C.children=O,C.attributes=T,f)?(t=C.prefix,r=C.iconName,n=C.children,o=C.attributes,s=!0===(a=C.symbol)?"".concat(t,"-").concat(eu.cssPrefix,"-").concat(r):a,[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:i(i({},o),{},{id:s}),children:n}]}]):function(e){var t=e.children,r=e.main,n=e.mask,o=e.attributes,a=e.styles,s=e.transform;if(eg(s)&&r.found&&!n.found){var u={x:r.width/r.height/2,y:.5};o.style=em(i(i({},a),{},{"transform-origin":"".concat(u.x+s.x/16,"em ").concat(u.y+s.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(C)}function e9(e){var t,r,n,o,a,s,u,l=e.content,c=e.width,d=e.height,h=e.transform,p=e.title,f=e.extra,m=e.watchable,g=i(i(i({},f.attributes),p?{title:p}:{}),{},{class:f.classes.join(" ")});void 0!==m&&m&&(g[M]="");var v=i({},f.styles);eg(h)&&(v.transform=(r=(t={transform:h,startCentered:!0,width:c,height:d}).transform,n=t.width,o=t.height,s=void 0!==(a=t.startCentered)&&a,u="",s&&A?u+="translate(".concat(r.x/16-(void 0===n?16:n)/2,"em, ").concat(r.y/16-(void 0===o?16:o)/2,"em) "):s?u+="translate(calc(-50% + ".concat(r.x/16,"em), calc(-50% + ").concat(r.y/16,"em)) "):u+="translate(".concat(r.x/16,"em, ").concat(r.y/16,"em) "),u+="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") ")+"rotate(".concat(r.rotate,"deg) ")),v["-webkit-transform"]=v.transform);var y=em(v);y.length>0&&(g.style=y);var b=[];return b.push({tag:"span",attributes:g,children:[l]}),p&&b.push({tag:"span",attributes:{class:"sr-only"},children:[p]}),b}var e7=ek.styles;function te(e){var t=e[0],r=e[1],n=s(e.slice(4),1)[0];return{found:!0,width:t,height:r,icon:Array.isArray(n)?{tag:"g",attributes:{class:"".concat(eu.cssPrefix,"-").concat(er.GROUP)},children:[{tag:"path",attributes:{class:"".concat(eu.cssPrefix,"-").concat(er.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(eu.cssPrefix,"-").concat(er.PRIMARY),fill:"currentColor",d:n[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:n}}}}var tt={found:!1,width:512,height:512};function tr(e,t){var r=t;return"fa"===t&&null!==eu.styleDefault&&(t=eR),new Promise(function(n,o){if(e1("missingIconAbstract"),"fa"===r){var a,s,u=e$(e)||{};e=u.iconName||e,t=u.prefix||t}if(e&&t&&e7[t]&&e7[t][e])return n(te(e7[t][e]));a=e,s=t,z||eu.showMissingIcons||!a||console.error('Icon with name "'.concat(a,'" and prefix "').concat(s,'" is missing.')),n(i(i({},tt),{},{icon:eu.showMissingIcons&&e&&e1("missingIconAbstract")||{}}))})}var tn=function(){},ti=eu.measurePerformance&&O&&O.mark&&O.measure?O:{mark:tn,measure:tn},to='FA "6.5.2"',ta=function(e){ti.mark("".concat(to," ").concat(e," ends")),ti.measure("".concat(to," ").concat(e),"".concat(to," ").concat(e," begins"),"".concat(to," ").concat(e," ends"))},ts={begin:function(e){return ti.mark("".concat(to," ").concat(e," begins")),function(){return ta(e)}}},tu=function(){};function tl(e){return"string"==typeof(e.getAttribute?e.getAttribute(M):null)}function tc(e){return C.createElementNS("http://www.w3.org/2000/svg",e)}function td(e){return C.createElement(e)}var th={replace:function(e){var t=e[0];if(t.parentNode){if(e[1].forEach(function(e){t.parentNode.insertBefore(function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.ceFn,i=void 0===n?"svg"===t.tag?tc:td:n;if("string"==typeof t)return C.createTextNode(t);var o=i(t.tag);return Object.keys(t.attributes||[]).forEach(function(e){o.setAttribute(e,t.attributes[e])}),(t.children||[]).forEach(function(t){o.appendChild(e(t,{ceFn:i}))}),o}(e),t)}),null===t.getAttribute(M)&&eu.keepOriginalSource){var r,n=C.createComment((r=" ".concat(t.outerHTML," "),r="".concat(r,"Font Awesome fontawesome.com ")));t.parentNode.replaceChild(n,t)}else t.remove()}},nest:function(e){var t=e[0],r=e[1];if(~ep(t).indexOf(eu.replacementClass))return th.replace(e);var n=new RegExp("".concat(eu.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var i=r[0].attributes.class.split(" ").reduce(function(e,t){return t===eu.replacementClass||t.match(n)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=r.map(function(e){return eS(e)}).join("\n");t.setAttribute(M,""),t.innerHTML=o}};function tp(e){e()}function tf(e,t){var r="function"==typeof t?t:tu;if(0===e.length)r();else{var n=tp;"async"===eu.mutateApproach&&(n=D.requestAnimationFrame||tp),n(function(){var t=!0===eu.autoReplaceSvg?th.replace:th[eu.autoReplaceSvg]||th.replace,n=ts.begin("mutate");e.map(t),n(),r()})}}var tm=!1,tg=null;function tv(e){if(j&&eu.observeMutations){var t=e.treeCallback,r=void 0===t?tu:t,n=e.nodeCallback,i=void 0===n?tu:n,o=e.pseudoElementsCallback,a=void 0===o?tu:o,s=e.observeMutationsRoot,u=void 0===s?C:s;tg=new j(function(e){if(!tm){var t=eR;eh(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!tl(e.addedNodes[0])&&(eu.searchPseudoElements&&a(e.target),r(e.target)),"attributes"===e.type&&e.target.parentNode&&eu.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&tl(e.target)&&~et.indexOf(e.attributeName)){if("class"===e.attributeName&&(o=(n=e.target).getAttribute?n.getAttribute(N):null,s=n.getAttribute?n.getAttribute(I):null,o&&s)){var n,o,s,u,l=eG(ep(e.target)),c=l.prefix,d=l.iconName;e.target.setAttribute(N,c||t),d&&e.target.setAttribute(I,d)}else(u=e.target)&&u.classList&&u.classList.contains&&u.classList.contains(eu.replacementClass)&&i(e.target)}})}}),T&&tg.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ty(e){var t,r,n,o,a,s,u,l,c,d,h,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},f=(n=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),a=void 0!==e.innerText?e.innerText.trim():"",(s=eG(ep(e))).prefix||(s.prefix=eR),n&&o&&(s.prefix=n,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&a.length>0&&(s.iconName=(t=s.prefix,r=e.innerText,(eF[t]||{})[r]||eU(s.prefix,eC(e.innerText)))),!s.iconName&&eu.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s),m=f.iconName,g=f.prefix,v=f.rest,y=(u=eh(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{}),l=e.getAttribute("title"),c=e.getAttribute("data-fa-title-id"),eu.autoA11y&&(l?u["aria-labelledby"]="".concat(eu.replacementClass,"-title-").concat(c||ed()):(u["aria-hidden"]="true",u.focusable="false")),u),b=eQ("parseNodeAttributes",{},e),w=p.styleParser?(d=e.getAttribute("style"),h=[],d&&(h=d.split(";").reduce(function(e,t){var r=t.split(":"),n=r[0],i=r.slice(1);return n&&i.length>0&&(e[n]=i.join(":").trim()),e},{})),h):[];return i({iconName:m,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:g,transform:ec,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:v,styles:w,attributes:y}},b)}var tb=ek.styles;function tw(e){var t="nest"===eu.autoReplaceSvg?ty(e,{styleParser:!1}):ty(e);return~t.extra.classes.indexOf(K)?e1("generateLayersText",e,t):e1("generateSvgReplacementMutation",e,t)}var tk=new Set;function tx(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!T)return Promise.resolve();var r=C.documentElement.classList,n=function(e){return r.add("".concat(L,"-").concat(e))},i=function(e){return r.remove("".concat(L,"-").concat(e))},o=eu.autoFetchSvg?tk:$.map(function(e){return"fa-".concat(e)}).concat(Object.keys(tb));o.includes("fa")||o.push("fa");var a=[".".concat(K,":not([").concat(M,"])")].concat(o.map(function(e){return".".concat(e,":not([").concat(M,"])")})).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=eh(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();n("pending"),i("complete");var u=ts.begin("onTree"),l=s.reduce(function(e,t){try{var r=tw(t);r&&e.push(r)}catch(e){z||"MissingIcon"!==e.name||console.error(e)}return e},[]);return new Promise(function(e,r){Promise.all(l).then(function(r){tf(r,function(){n("active"),n("complete"),i("pending"),"function"==typeof t&&t(),u(),e()})}).catch(function(e){u(),r(e)})})}function t_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;tw(e).then(function(e){e&&tf([e],t)})}$.map(function(e){tk.add("fa-".concat(e))}),Object.keys(V[U]).map(tk.add.bind(tk)),Object.keys(V[q]).map(tk.add.bind(tk)),tk=u(tk);var tS=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.transform,n=void 0===r?ec:r,o=t.symbol,a=void 0!==o&&o,s=t.mask,u=void 0===s?null:s,l=t.maskId,c=void 0===l?null:l,d=t.title,h=void 0===d?null:d,p=t.titleId,f=void 0===p?null:p,m=t.classes,g=void 0===m?[]:m,v=t.attributes,y=void 0===v?{}:v,b=t.styles,w=void 0===b?{}:b;if(e){var k=e.prefix,x=e.iconName,_=e.icon;return e6(i({type:"icon"},e),function(){return e0("beforeDOMElementCreation",{iconDefinition:e,params:t}),eu.autoA11y&&(h?y["aria-labelledby"]="".concat(eu.replacementClass,"-title-").concat(f||ed()):(y["aria-hidden"]="true",y.focusable="false")),e8({icons:{main:te(_),mask:u?te(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:k,iconName:x,transform:i(i({},ec),n),symbol:a,title:h,maskId:c,titleId:f,extra:{attributes:y,styles:w,classes:g}})})}},tE=RegExp('"',"ug");function tD(e,t){var r="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(n,o){if(null!==e.getAttribute(r))return n();var a=eh(e.children).filter(function(e){return e.getAttribute(F)===t})[0],s=D.getComputedStyle(e,t),u=s.getPropertyValue("font-family").match(J),l=s.getPropertyValue("font-weight"),c=s.getPropertyValue("content");if(a&&!u)return e.removeChild(a),n();if(u&&"none"!==c&&""!==c){var d=s.getPropertyValue("content"),h=~["Sharp"].indexOf(u[2])?q:U,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?W[h][u[2].toLowerCase()]:X[h][l],f=(_=(k=w=d.replace(tE,"")).length,E=(S=k.charCodeAt(0))>=55296&&S<=56319&&_>1&&(x=k.charCodeAt(1))>=56320&&x<=57343?(S-55296)*1024+x-56320+65536:S,{value:(j=2===w.length&&w[0]===w[1])?eC(w[0]):eC(w),isSecondary:E>=1105920&&E<=1112319||j}),m=f.value,g=f.isSecondary,v=u[0].startsWith("FontAwesome"),y=eU(p,m),b=y;if(v){var w,k,x,_,S,E,j,O,T,A=(O=eI[m],T=eU("fas",m),O||(T?{prefix:"fas",iconName:T}:null)||{prefix:null,iconName:null});A.iconName&&A.prefix&&(y=A.iconName,p=A.prefix)}if(!y||g||a&&a.getAttribute(N)===p&&a.getAttribute(I)===b)n();else{e.setAttribute(r,b),a&&e.removeChild(a);var P={iconName:null,title:null,titleId:null,prefix:null,transform:ec,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},R=P.extra;R.attributes[F]=t,tr(y,p).then(function(o){var a=e8(i(i({},P),{},{icons:{main:o,mask:eH()},prefix:p,iconName:b,extra:R,watchable:!0})),s=C.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=a.map(function(e){return eS(e)}).join("\n"),e.removeAttribute(r),n()}).catch(o)}}else n()})}function tC(e){return Promise.all([tD(e,"::before"),tD(e,"::after")])}function tj(e){return e.parentNode!==document.head&&!~B.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(F)&&(!e.parentNode||"svg"!==e.parentNode.tagName)}function tO(e){if(T)return new Promise(function(t,r){var n=eh(e.querySelectorAll("*")).filter(tj).map(tC),i=ts.begin("searchPseudoElements");tm=!0,Promise.all(n).then(function(){i(),tm=!1,t()}).catch(function(){i(),tm=!1,r()})})}var tT=!1,tA=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var r=t.toLowerCase().split("-"),n=r[0],i=r.slice(1).join("-");if(n&&"h"===i)return e.flipX=!0,e;if(n&&"v"===i)return e.flipY=!0,e;if(isNaN(i=parseFloat(i)))return e;switch(n){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},tP={x:0,y:0,width:"100%",height:"100%"};function tR(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}eZ=[{mixout:function(){return{dom:{css:ev,insertCss:eb}}},hooks:function(){return{beforeDOMElementCreation:function(){eb()},beforeI2svg:function(){eb()}}}},{mixout:function(){return{icon:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(e||{}).icon?e:e2(e||{}),n=t.mask;return n&&(n=(n||{}).icon?n:e2(n||{})),tS(r,i(i({},t),{},{mask:n}))}}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=tx,e.nodeCallback=t_,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,r=void 0===t?C:t,n=e.callback;return tx(r,void 0===n?function(){}:n)},e.generateSvgReplacementMutation=function(e,t){var r=t.iconName,n=t.title,i=t.titleId,o=t.prefix,a=t.transform,u=t.symbol,l=t.mask,c=t.maskId,d=t.extra;return new Promise(function(t,h){Promise.all([tr(r,o),l.iconName?tr(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(l){var h=s(l,2);t([e,e8({icons:{main:h[0],mask:h[1]},prefix:o,iconName:r,transform:a,symbol:u,maskId:c,title:n,titleId:i,extra:d,watchable:!0})])}).catch(h)})},e.generateAbstractIcon=function(e){var t,r=e.children,n=e.attributes,i=e.main,o=e.transform,a=em(e.styles);return a.length>0&&(n.style=a),eg(o)&&(t=e1("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),r.push(t||i.icon),{children:r,attributes:n}}}},{mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.classes,n=void 0===r?[]:r;return e6({type:"layer"},function(){e0("beforeDOMElementCreation",{assembler:e,params:t});var r=[];return e(function(e){Array.isArray(e)?e.map(function(e){r=r.concat(e.abstract)}):r=r.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(eu.cssPrefix,"-layers")].concat(u(n)).join(" ")},children:r}]})}}}},{mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.title,n=void 0===r?null:r,o=t.classes,a=void 0===o?[]:o,s=t.attributes,l=void 0===s?{}:s,c=t.styles,d=void 0===c?{}:c;return e6({type:"counter",content:e},function(){var r,o,s,c,h,p,f;return e0("beforeDOMElementCreation",{content:e,params:t}),o=(r={content:e.toString(),title:n,extra:{attributes:l,styles:d,classes:["".concat(eu.cssPrefix,"-layers-counter")].concat(u(a))}}).content,s=r.title,h=i(i(i({},(c=r.extra).attributes),s?{title:s}:{}),{},{class:c.classes.join(" ")}),(p=em(c.styles)).length>0&&(h.style=p),(f=[]).push({tag:"span",attributes:h,children:[o]}),s&&f.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),f})}}}},{mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.transform,n=void 0===r?ec:r,o=t.title,a=void 0===o?null:o,s=t.classes,l=void 0===s?[]:s,c=t.attributes,d=void 0===c?{}:c,h=t.styles,p=void 0===h?{}:h;return e6({type:"text",content:e},function(){return e0("beforeDOMElementCreation",{content:e,params:t}),e9({content:e,transform:i(i({},ec),n),title:a,extra:{attributes:d,styles:p,classes:["".concat(eu.cssPrefix,"-layers-text")].concat(u(l))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var r=t.title,n=t.transform,i=t.extra,o=null,a=null;if(A){var s=parseInt(getComputedStyle(e).fontSize,10),u=e.getBoundingClientRect();o=u.width/s,a=u.height/s}return eu.autoA11y&&!r&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,e9({content:e.innerHTML,width:o,height:a,transform:n,title:r,extra:i,watchable:!0})])}}},{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=tO,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,r=void 0===t?C:t;eu.searchPseudoElements&&tO(r)}}},{mixout:function(){return{dom:{unwatch:function(){tm=!0,tT=!0}}}},hooks:function(){return{bootstrap:function(){tv(eQ("mutationObserverCallbacks",{}))},noAuto:function(){tg&&tg.disconnect()},watch:function(e){var t=e.observeMutationsRoot;tT?tm=!1:tv(eQ("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},{mixout:function(){return{parse:{transform:function(e){return tA(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var r=t.getAttribute("data-fa-transform");return r&&(e.transform=tA(r)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,r=e.transform,n=e.containerWidth,o=e.iconWidth,a="translate(".concat(32*r.x,", ").concat(32*r.y,") "),s="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),u="rotate(".concat(r.rotate," 0 0)"),l={transform:"".concat(a," ").concat(s," ").concat(u)},c={outer:{transform:"translate(".concat(n/2," 256)")},inner:l,path:{transform:"translate(".concat(-(o/2*1)," -256)")}};return{tag:"g",attributes:i({},c.outer),children:[{tag:"g",attributes:i({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:i(i({},t.icon.attributes),c.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var r=t.getAttribute("data-fa-mask"),n=r?eG(r.split(" ").map(function(e){return e.trim()})):eH();return n.prefix||(n.prefix=eR),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,r,n,o,a,s,u,l,c=e.children,d=e.attributes,h=e.main,p=e.mask,f=e.maskId,m=e.transform,g=h.width,v=h.icon,y=p.width,b=p.icon,w=(r=(t={transform:m,containerWidth:y,iconWidth:g}).transform,n=t.containerWidth,o=t.iconWidth,a="translate(".concat(32*r.x,", ").concat(32*r.y,") "),s="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),u="rotate(".concat(r.rotate," 0 0)"),l={transform:"".concat(a," ").concat(s," ").concat(u)},{outer:{transform:"translate(".concat(n/2," 256)")},inner:l,path:{transform:"translate(".concat(-(o/2*1)," -256)")}}),k={tag:"rect",attributes:i(i({},tP),{},{fill:"white"})},x=v.children?{children:v.children.map(tR)}:{},_={tag:"g",attributes:i({},w.inner),children:[tR(i({tag:v.tag,attributes:i(i({},v.attributes),w.path)},x))]},S={tag:"g",attributes:i({},w.outer),children:[_]},E="mask-".concat(f||ed()),D="clip-".concat(f||ed()),C={tag:"mask",attributes:i(i({},tP),{},{id:E,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,S]},j={tag:"defs",children:[{tag:"clipPath",attributes:{id:D},children:"g"===b.tag?b.children:[b]},C]};return c.push(j,{tag:"rect",attributes:i({fill:"currentColor","clip-path":"url(#".concat(D,")"),mask:"url(#".concat(E,")")},tP)}),{children:c,attributes:d}}}},{provides:function(e){var t=!1;D.matchMedia&&(t=D.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],r={fill:"currentColor"},n={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:i(i({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=i(i({},n),{},{attributeName:"opacity"}),a={tag:"circle",attributes:i(i({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:i(i({},n),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:i(i({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:i(i({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:i(i({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:i(i({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:i(i({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var r=t.getAttribute("data-fa-symbol");return e.symbol=null!==r&&(""===r||r),e}}}}],eK={},Object.keys(eJ).forEach(function(e){-1===eX.indexOf(e)&&delete eJ[e]}),eZ.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(e5[e]=t[e]),"object"===o(t[e])&&Object.keys(t[e]).forEach(function(r){e5[e]||(e5[e]={}),e5[e][r]=t[e][r]})}),e.hooks){var r=e.hooks();Object.keys(r).forEach(function(e){eK[e]||(eK[e]=[]),eK[e].push(r[e])})}e.provides&&e.provides(eJ)}),e5.noAuto;var tM=e5.config;e5.library,e5.dom;var tF=e5.parse;e5.findIconDefinition,e5.toHtml;var tN=e5.icon;e5.layer,e5.text,e5.counter},857:function(e,t,r){"use strict";r.d(t,{JR:function(){return a},SF:function(){return u}});var n=r(69180);let i=e=>Error(e),o=()=>{throw i("Unexpected case")},a=(e,t,r)=>{if(0===e)return n.w$(t,0);let i=null===t._first?null:t._first.content.type;for(;null!==i&&t!==i;){if(i instanceof n.eI){if(i._length>=e)return n.w$(i,e);if(e-=i._length,null!==i._item&&null!==i._item.next)i=i._item.next.content.type;else{do i=null===i._item?null:i._item.parent,e--;while(i!==t&&null!==i&&null!==i._item&&null===i._item.next);null!==i&&i!==t&&(i=null===i._item?null:i._item.next.content.type)}}else{let o=(r.get(i)||{nodeSize:0}).nodeSize;if(null!==i._first&&e<o)i=i._first.content.type,e--;else{if(1===e&&0===i._length&&o>1)return new n.Zi(null===i._item?null:i._item.id,null===i._item?n.BW(i):null,null);if(e-=o,null!==i._item&&null!==i._item.next)i=i._item.next.content.type;else{if(0===e)return i=null===i._item?i:i._item.parent,new n.Zi(null===i._item?null:i._item.id,null===i._item?n.BW(i):null,null);do i=i._item.parent,e--;while(i!==t&&null===i._item.next);i!==t&&(i=i._item.next.content.type)}}}if(null===i)throw o();if(0===e&&i.constructor!==n.eI&&i!==t)return s(i._item.parent,i._item)}return n.w$(t,t._length)},s=(e,t)=>{let r=null,i=null;return null===e._item?i=n.BW(e):r=n.at(e._item.id.client,e._item.id.clock),new n.Zi(r,i,t.id)},u=(e,t,r,i)=>{let o=n.or(r,e);if(null===o||o.type!==t&&!n.$4(t,o.type._item))return null;let a=o.type,s=0;if(a.constructor===n.eI)s=o.index;else if(null===a._item||!a._item.deleted){let e=a._first,t=0;for(;t<a._length&&t<o.index&&null!==e;){if(!e.deleted){let r=e.content.type;t++,r instanceof n.eI?s+=r._length:s+=i.get(r).nodeSize}e=e.right}s+=1}for(;a!==t&&null!==a._item;){let e=a._item.parent;if(null===e._item||!e._item.deleted){s+=1;let t=e._first;for(;null!==t;){let e=t.content.type;if(e===a)break;t.deleted||(e instanceof n.eI?s+=e._length:s+=i.get(e).nodeSize),t=t.right}}a=e}return s-1}},38564:function(e,t,r){"use strict";r.d(t,{Gk:function(){return o},Gt:function(){return i}});var n=r(27191);let i=new n.H$("y-sync"),o=new n.H$("y-undo");new n.H$("yjs-cursor")},56143:function(e,t,r){"use strict";r.d(t,{Yw:function(){return i}});var n=r(38564);let i=e=>{let t=n.Gk.getState(e).undoManager;if(null!=t)return t.undo(),!0}},87254:function(e,t,r){"use strict";r.d(t,{ag:function(){return E}});var n=r(62770);let i=e=>"string"==typeof e,o=e=>"function"==typeof e,a=new Map;function s(e){return[...Array.isArray(e)?e:[e],"en"]}function u(e,t,r){let n=s(e);return d(()=>h("date",n,r),()=>new Intl.DateTimeFormat(n,r)).format(i(t)?new Date(t):t)}function l(e,t,r){let n=s(e);return d(()=>h("number",n,r),()=>new Intl.NumberFormat(n,r)).format(t)}function c(e,t,r,{offset:n=0,...i}){let o=s(e),a=t?d(()=>h("plural-ordinal",o),()=>new Intl.PluralRules(o,{type:"ordinal"})):d(()=>h("plural-cardinal",o),()=>new Intl.PluralRules(o,{type:"cardinal"}));return i[r]??i[a.select(r-n)]??i.other}function d(e,t){let r=e(),n=a.get(r);return n||(n=t(),a.set(r,n)),n}function h(e,t,r){let n=t.join("-");return`${e}-${n}-${JSON.stringify(r)}`}let p=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/g,f=(e,t,r={})=>{let n=t||e,i=e=>"object"==typeof e?e:r[e]||{style:e},o=(e,t)=>{let o=l(n,e,Object.keys(r).length?i("number"):void 0);return t.replace("#",o)};return{plural:(e,t)=>{let{offset:r=0}=t,i=c(n,!1,e,t);return o(e-r,i)},selectordinal:(e,t)=>{let{offset:r=0}=t,i=c(n,!0,e,t);return o(e-r,i)},select:m,number:(e,t)=>l(n,e,i(t)),date:(e,t)=>u(n,e,i(t)),undefined:g}},m=(e,t)=>t[e]??t.other,g=e=>e;var v=Object.defineProperty,y=(e,t,r)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t,r)=>(y(e,"symbol"!=typeof t?t+"":t,r),r);class w{constructor(){b(this,"_events",{})}on(e,t){var r;return(r=this._events)[e]??(r[e]=[]),this._events[e].push(t),()=>this.removeListener(e,t)}removeListener(e,t){let r=this._getListeners(e);if(!r)return;let n=r.indexOf(t);~n&&r.splice(n,1)}emit(e,...t){let r=this._getListeners(e);r&&r.map(e=>e.apply(this,t))}_getListeners(e){let t=this._events[e];return!!Array.isArray(t)&&t}}var k=Object.defineProperty,x=(e,t,r)=>t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_=(e,t,r)=>(x(e,"symbol"!=typeof t?t+"":t,r),r);class S extends w{constructor(e){super(),_(this,"_locale",""),_(this,"_locales"),_(this,"_localeData",{}),_(this,"_messages",{}),_(this,"_missing"),_(this,"t",this._.bind(this)),null!=e.missing&&(this._missing=e.missing),null!=e.messages&&this.load(e.messages),null!=e.localeData&&this.loadLocaleData(e.localeData),("string"==typeof e.locale||e.locales)&&this.activate(e.locale??"en",e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}get localeData(){return this._localeData[this._locale]??{}}_loadLocaleData(e,t){let r=this._localeData[e];r?Object.assign(r,t):this._localeData[e]=t}loadLocaleData(e,t){null!=t?this._loadLocaleData(e,t):Object.keys(e).forEach(t=>this._loadLocaleData(t,e[t])),this.emit("change")}_load(e,t){let r=this._messages[e];r?Object.assign(r,t):this._messages[e]=t}load(e,t){"string"==typeof e&&"object"==typeof t?this._load(e,t):Object.entries(e).forEach(([e,t])=>this._load(e,t)),this.emit("change")}loadAndActivate({locale:e,locales:t,messages:r}){this._locale=e,this._locales=t||void 0,this._messages[this._locale]=r,this.emit("change")}activate(e,t){this._locale=e,this._locales=t,this.emit("change")}_(e,t,r){var a,s;let u=r?.message;i(e)||(t=e.values||t,u=e.message,e=e.id);let l=this.messages[e],c=void 0===l,d=this._missing;if(d&&c)return o(d)?d(this._locale,e):d;c&&this.emit("missing",{id:e,locale:this._locale});let h=l||u||e;return i(h)&&p.test(h)?JSON.parse(`"${h}"`):i(h)?h:(a=this._locale,s=this._locales,(e={},t)=>{let r=f(a,s,t),o=t=>Array.isArray(t)?t.reduce((t,n)=>{if(i(n))return t+n;let[a,s,u]=n,l={};null!=u&&"object"==typeof u?Object.entries(u).forEach(([e,t])=>{l[e]=o(t)}):l=u;let c=(0,r[s])(e[a],l);return null==c?t:t+c},""):t,u=o(h);return i(u)&&p.test(u)?n(u.trim()):i(u)?u.trim():u?String(u):""})(t,r?.formats)}date(e,t){return u(this._locales||this._locale,e,t)}number(e,t){return l(this._locales||this._locale,e,t)}}let E=function(e={}){return new S(e)}()},5879:function(e,t,r){"use strict";r.d(t,{bd:function(){return h},cC:function(){return p},mV:function(){return d}});var n=r(2784);let i=/<([a-zA-Z0-9]+)>(.*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,o=/(?:\r\n|\r|\n)/g,a={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,menuitem:!0},s=(e=0,t="")=>()=>`${t}_${e++}`;function u(e){let{render:t,component:r,id:u,message:c,formats:d,lingui:{i18n:h,defaultComponent:p}}=e,f={...e.values},m={...e.components};f&&Object.keys(f).forEach(e=>{let t=f[e];if(!(n.isValidElement(t)||Array.isArray(t)&&t.every(n.isValidElement)))return;let r=Object.keys(m).length;m[r]=t,f[e]=`<${r}/>`});let g=h&&"function"==typeof h._?h._(u,f,{message:c,formats:d}):u,v=g?function e(t,r={}){let u=s(0,"$lingui$"),l=t.replace(o,"").split(i);if(1===l.length)return t;let c=[],d=l.shift();for(let[t,i,o]of(d&&c.push(d),function e(t){if(!t.length)return[];let[r,n,i,o]=t.slice(0,4);return[[r||i,n||"",o]].concat(e(t.slice(4,t.length)))}(l))){let s=void 0!==t?r[t]:void 0;(!s||a[s.type]&&i)&&(s?console.error(`${s.type} is a void element tag therefore it must have no children`):console.error(`Can't use element at index '${t}' as it is not declared in the original translation`),s=n.createElement(n.Fragment)),Array.isArray(s)&&(s=n.createElement(n.Fragment,{},s)),c.push(n.cloneElement(s,{key:u()},i?e(i,r):s.props.children)),o&&c.push(o)}return c}(g,m):null;if(null===t||null===r)return v;let y=p||l,b={id:u,message:c,translation:v,isTranslated:u!==v&&c!==v,children:v};if(t&&r)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(t&&"function"!=typeof t)console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${t}`);else if(r&&"function"!=typeof r)return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${r}`),n.createElement(y,b,v);if("function"==typeof t)return t(b);let w=r||y;return n.createElement(w,b,v)}let l=({children:e})=>n.createElement(n.Fragment,null,e),c=n.createContext(null);function d(){return n.useContext(c)}let h=({i18n:e,defaultComponent:t,children:r})=>{let i=n.useRef(e.locale),o=n.useCallback(()=>({i18n:e,defaultComponent:t,_:e.t.bind(e)}),[e,t]),[a,s]=n.useState(o());return(n.useEffect(()=>{let t=()=>{i.current=e.locale,s(o())},r=e.on("change",t);return i.current!==e.locale&&t(),r},[e,o]),i.current)?n.createElement(c.Provider,{value:a},r):null};function p(e){let t=d();return n.createElement(u,{...e,lingui:t})}},17831:function(e,t,r){"use strict";r.d(t,{v4:function(){return a}});for(var n,i=256,o=[];i--;)o[i]=(i+256).toString(16).substring(1);function a(){var e,t=0,r="";if(!n||i+16>256){for(n=Array(t=256);t--;)n[t]=256*Math.random()|0;t=i=0}for(;t<16;t++)e=n[i+t],6==t?r+=o[15&e|64]:8==t?r+=o[63&e|128]:r+=o[e],1&t&&t>1&&t<11&&(r+="-");return i++,r}},54333:function(e,t,r){"use strict";r.d(t,{k:function(){return i}});var n=r(34406);function i(e,t,...r){if(void 0!==n&&void 0===t)throw Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;(e=Error(t.replace(/%s/g,function(){return r[n++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}},72057:function(e,t,r){"use strict";function n(e,t,r,n){let i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;let o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;let s=Object.prototype.hasOwnProperty.bind(t);for(let a=0;a<o.length;a++){let u=o[a];if(!s(u))return!1;let l=e[u],c=t[u];if(!1===(i=r?r.call(n,l,c,u):void 0)||void 0===i&&l!==c)return!1}return!0}r.d(t,{w:function(){return n}})},88762:function(e,t,r){"use strict";r.d(t,{rN:function(){return o}});var n=r(2784);Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var i=n.createContext({isOpen:!1,setIsOpen:()=>!1,currentStep:0,setCurrentStep:()=>0,steps:[],setSteps:()=>[],setMeta:()=>"",disabledActions:!1,setDisabledActions:()=>!1,components:{}});function o(){return(0,n.useContext)(i)}},43866:function(e,t,r){"use strict";r.d(t,{E6:function(){return u},Th:function(){return Q},zo:function(){return et}});var n,i=r(2784),o="colors",a="sizes",s="space",u={gap:s,gridGap:s,columnGap:s,gridColumnGap:s,rowGap:s,gridRowGap:s,inset:s,insetBlock:s,insetBlockEnd:s,insetBlockStart:s,insetInline:s,insetInlineEnd:s,insetInlineStart:s,margin:s,marginTop:s,marginRight:s,marginBottom:s,marginLeft:s,marginBlock:s,marginBlockEnd:s,marginBlockStart:s,marginInline:s,marginInlineEnd:s,marginInlineStart:s,padding:s,paddingTop:s,paddingRight:s,paddingBottom:s,paddingLeft:s,paddingBlock:s,paddingBlockEnd:s,paddingBlockStart:s,paddingInline:s,paddingInlineEnd:s,paddingInlineStart:s,top:s,right:s,bottom:s,left:s,scrollMargin:s,scrollMarginTop:s,scrollMarginRight:s,scrollMarginBottom:s,scrollMarginLeft:s,scrollMarginX:s,scrollMarginY:s,scrollMarginBlock:s,scrollMarginBlockEnd:s,scrollMarginBlockStart:s,scrollMarginInline:s,scrollMarginInlineEnd:s,scrollMarginInlineStart:s,scrollPadding:s,scrollPaddingTop:s,scrollPaddingRight:s,scrollPaddingBottom:s,scrollPaddingLeft:s,scrollPaddingX:s,scrollPaddingY:s,scrollPaddingBlock:s,scrollPaddingBlockEnd:s,scrollPaddingBlockStart:s,scrollPaddingInline:s,scrollPaddingInlineEnd:s,scrollPaddingInlineStart:s,fontSize:"fontSizes",background:o,backgroundColor:o,backgroundImage:o,borderImage:o,border:o,borderBlock:o,borderBlockEnd:o,borderBlockStart:o,borderBottom:o,borderBottomColor:o,borderColor:o,borderInline:o,borderInlineEnd:o,borderInlineStart:o,borderLeft:o,borderLeftColor:o,borderRight:o,borderRightColor:o,borderTop:o,borderTopColor:o,caretColor:o,color:o,columnRuleColor:o,fill:o,outline:o,outlineColor:o,stroke:o,textDecorationColor:o,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:a,minBlockSize:a,maxBlockSize:a,inlineSize:a,minInlineSize:a,maxInlineSize:a,width:a,minWidth:a,maxWidth:a,height:a,minHeight:a,maxHeight:a,flexBasis:a,gridTemplateColumns:a,gridTemplateRows:a,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},l=(e,t)=>"function"==typeof t?{"()":Function.prototype.toString.call(t)}:t,c=()=>{let e=Object.create(null);return(t,r,...n)=>{let i=JSON.stringify(t,l);return i in e?e[i]:e[i]=r(t,...n)}},d=Symbol.for("sxs.internal"),h=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),p=e=>{for(let t in e)return!0;return!1},{hasOwnProperty:f}=Object.prototype,m=e=>e.includes("-")?e:e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),g=/\s+(?![^()]*\))/,v=e=>t=>e(..."string"==typeof t?String(t).split(g):[t]),y={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:v((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:v((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:v((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:v((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:v((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:v((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},b=/([\d.]+)([^]*)/,w=(e,t)=>e.length?e.reduce((e,r)=>(e.push(...t.map(e=>e.includes("&")?e.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(e)?`:is(${r})`:r):r+" "+e)),e),[]):t,k=(e,t)=>e in x&&"string"==typeof t?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(t,r,n,i)=>r+("stretch"===n?`-moz-available${i};${m(e)}:${r}-webkit-fill-available`:`-moz-fit-content${i};${m(e)}:${r}fit-content`)+i):String(t),x={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},_=e=>e?e+"-":"",S=(e,t,r)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(e,n,i,o,a)=>"$"==o==!!i?e:(n||"--"==o?"calc(":"")+"var(--"+("$"===o?_(t)+(a.includes("$")?"":_(r))+a.replace(/\$/g,"-"):a)+")"+(n||"--"==o?"*"+(n||"")+(i||"1")+")":"")),E=/\s*,\s*(?![^()]*\))/,D=Object.prototype.toString,C=(e,t,r,n,i)=>{let o,a,s;let u=(e,t,r)=>{let l,c;let d=e=>{var h;for(l in e){let p=64===l.charCodeAt(0);for(c of p&&Array.isArray(e[l])?e[l]:[e[l]]){let e=/[A-Z]/.test(h=l)?h:h.replace(/-[^]/g,e=>e[1].toUpperCase()),f="object"==typeof c&&c&&c.toString===D&&(!n.utils[e]||!t.length);if(e in n.utils&&!f){let t=n.utils[e];if(t!==a){a=t,d(t(c)),a=null;continue}}else if(e in y){let t=y[e];if(t!==s){s=t,d(t(c)),s=null;continue}}if(p&&(l=(l.slice(1) in n.media?"@media "+n.media[l.slice(1)]:l).replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(e,t,r,n,i,o)=>{let a=b.test(t),s=.0625*(a?-1:1),[u,l]=a?[n,t]:[t,n];return"("+("="===r[0]?"":">"===r[0]===a?"max-":"min-")+u+":"+("="!==r[0]&&1===r.length?l.replace(b,(e,t,n)=>Number(t)+s*(">"===r?1:-1)+n):l)+(i?") and ("+(">"===i[0]?"min-":"max-")+u+":"+(1===i.length?o.replace(b,(e,t,r)=>Number(t)+s*(">"===i?-1:1)+r):o):"")+")"})),f){let e=p?r.concat(l):[...r],n=p?[...t]:w(t,l.split(E));void 0!==o&&i(j(...o)),o=void 0,u(c,n,e)}else void 0===o&&(o=[[],t,r]),l=p||36!==l.charCodeAt(0)?l:`--${_(n.prefix)}${l.slice(1).replace(/\$/g,"-")}`,c=f?c:"number"==typeof c?c&&e in O?String(c)+"px":String(c):S(k(e,null==c?"":c),n.prefix,n.themeMap[e]),o[0].push(`${p?`${l} `:`${m(l)}:`}${c}`)}}};d(e),void 0!==o&&i(j(...o)),o=void 0};u(e,t,r)},j=(e,t,r)=>`${r.map(e=>`${e}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(r.length?r.length+1:0).join("}")}`,O={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},T=e=>String.fromCharCode(e+(e>25?39:97)),A=e=>(e=>{let t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=T(t%52)+r;return T(t%52)+r})(((e,t)=>{let r=t.length;for(;r;)e=33*e^t.charCodeAt(--r);return e})(5381,JSON.stringify(e))>>>0),P=["themed","global","styled","onevar","resonevar","allvar","inline"],R=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(e){return!1}},M=e=>{let t;let r=()=>{let{cssRules:e}=t.sheet;return[].map.call(e,(r,n)=>{let{cssText:i}=r,o="";if(i.startsWith("--sxs"))return"";if(e[n-1]&&(o=e[n-1].cssText).startsWith("--sxs")){if(!r.cssRules.length)return"";for(let e in t.rules)if(t.rules[e].group===r)return`--sxs{--sxs:${[...t.rules[e].cache].join(" ")}}${i}`;return r.cssRules.length?`${o}${i}`:""}return i}).join("")},n=()=>{if(t){let{rules:e,sheet:r}=t;if(!r.deleteRule){for(;3===Object(Object(r.cssRules)[0]).type;)r.cssRules.splice(0,1);r.cssRules=[]}for(let t in e)delete e[t]}for(let i of Object(e).styleSheets||[])if(R(i)){for(let e=0,o=i.cssRules;o[e];++e){let a=Object(o[e]);if(1!==a.type)continue;let s=Object(o[e+1]);if(4!==s.type)continue;++e;let{cssText:u}=a;if(!u.startsWith("--sxs"))continue;let l=u.slice(14,-3).trim().split(/\s+/),c=P[l[0]];c&&(t||(t={sheet:i,reset:n,rules:{},toString:r}),t.rules[c]={group:s,index:e,cache:new Set(l)})}if(t)break}if(!t){let i=(e,t)=>({type:t,cssRules:[],insertRule(e,t){this.cssRules.splice(t,0,i(e,{import:3,undefined:1}[(e.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return"@media{}"===e?`@media{${[].map.call(this.cssRules,e=>e.cssText).join("")}}`:e}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:i("","text/css"),rules:{},reset:n,toString:r}}let{sheet:i,rules:o}=t;for(let e=P.length-1;e>=0;--e){let t=P[e];if(!o[t]){let r=P[e+1],n=o[r]?o[r].index:i.cssRules.length;i.insertRule("@media{}",n),i.insertRule(`--sxs{--sxs:${e}}`,n),o[t]={group:i.cssRules[n+1],index:n,cache:new Set([e])}}F(o[t])}};return n(),t},F=e=>{let t=e.group,r=t.cssRules.length;e.apply=e=>{try{t.insertRule(e,r),++r}catch(e){}}},N=Symbol(),I=c(),L=(e,t)=>I(e,()=>(...r)=>{let n={type:null,composers:new Set};for(let t of r)if(null!=t){if(t[d])for(let e of(null==n.type&&(n.type=t[d].type),t[d].composers))n.composers.add(e);else t.constructor!==Object||t.$$typeof?null==n.type&&(n.type=t):n.composers.add(B(t,e))}return null==n.type&&(n.type="span"),n.composers.size||n.composers.add(["PJLV",{},[],[],{},[]]),z(e,n,t)}),B=({variants:e,compoundVariants:t,defaultVariants:r,...n},i)=>{let o=`${_(i.prefix)}c-${A(n)}`,a=[],s=[],u=Object.create(null),l=[];for(let e in r)u[e]=String(r[e]);if("object"==typeof e&&e)for(let t in e){f.call(u,t)||(u[t]="undefined");let r=e[t];for(let e in r){let n={[t]:String(e)};"undefined"===String(e)&&l.push(t);let i=r[e],o=[n,i,!p(i)];a.push(o)}}if("object"==typeof t&&t)for(let e of t){let{css:t,...r}=e;for(let e in t="object"==typeof t&&t||{},r)r[e]=String(r[e]);let n=[r,t,!p(t)];s.push(n)}return[o,n,a,s,u,l]},z=(e,t,r)=>{let[n,i,o,a]=U(t.composers),s="function"==typeof t.type||t.type.$$typeof?(e=>{function t(){for(let r=0;r<t[N].length;r++){let[n,i]=t[N][r];e.rules[n].apply(i)}return t[N]=[],null}return t[N]=[],t.rules={},P.forEach(e=>t.rules[e]={apply:r=>t[N].push([e,r])}),t})(r):null,u=(s||r).rules,l=`.${n}${i.length>1?`:where(.${i.slice(1).join(".")})`:""}`,c=c=>{let{css:d,...h}=c="object"==typeof c&&c||$,p={};for(let e in o)if(delete h[e],e in c){let t=c[e];"object"==typeof t&&t?p[e]={"@initial":o[e],...t}:(t=String(t),p[e]="undefined"!==t||a.has(e)?t:o[e])}else p[e]=o[e];let f=new Set([...i]);for(let[n,i,o,a]of t.composers){r.rules.styled.cache.has(n)||(r.rules.styled.cache.add(n),C(i,[`.${n}`],[],e,e=>{u.styled.apply(e)}));let t=q(o,p,e.media),s=q(a,p,e.media,!0);for(let i of t)if(void 0!==i)for(let[t,o,a]of i){let i=`${n}-${A(o)}-${t}`;f.add(i);let s=(a?r.rules.resonevar:r.rules.onevar).cache,l=a?u.resonevar:u.onevar;s.has(i)||(s.add(i),C(o,[`.${i}`],[],e,e=>{l.apply(e)}))}for(let t of s)if(void 0!==t)for(let[i,o]of t){let t=`${n}-${A(o)}-${i}`;f.add(t),r.rules.allvar.cache.has(t)||(r.rules.allvar.cache.add(t),C(o,[`.${t}`],[],e,e=>{u.allvar.apply(e)}))}}if("object"==typeof d&&d){let t=`${n}-i${A(d)}-css`;f.add(t),r.rules.inline.cache.has(t)||(r.rules.inline.cache.add(t),C(d,[`.${t}`],[],e,e=>{u.inline.apply(e)}))}for(let e of String(c.className||"").trim().split(/\s+/))e&&f.add(e);let m=h.className=[...f].join(" ");return{type:t.type,className:m,selector:l,props:h,toString:()=>m,deferredInjector:s}};return h(c,{className:n,selector:l,[d]:t,toString:()=>(r.rules.styled.cache.has(n)||c(),n)})},U=e=>{let t="",r=[],n={},i=[];for(let[o,,,,a,s]of e)for(let e in""===t&&(t=o),r.push(o),i.push(...s),a){let t=a[e];(void 0===n[e]||"undefined"!==t||s.includes(t))&&(n[e]=t)}return[t,r,n,new Set(i)]},q=(e,t,r,n)=>{let i=[];i:for(let[o,a,s]of e){if(s)continue;let e,u=0,l=!1;for(e in o){let n=o[e],i=t[e];if(i!==n){if("object"!=typeof i||!i)continue i;{let e,t,o=0;for(let a in i){if(n===String(i[a])){if("@initial"!==a){let e=a.slice(1);(t=t||[]).push(e in r?r[e]:a.replace(/^@media ?/,"")),l=!0}u+=o,e=!0}++o}if(t&&t.length&&(a={["@media "+t.join(", ")]:a}),!e)continue i}}}(i[u]=i[u]||[]).push([n?"cv":`${e}-${o[e]}`,a,l])}return i},$={},H=c(),V=(e,t)=>H(e,()=>(...r)=>{let n=()=>{for(let n of r){let r=A(n="object"==typeof n&&n||{});if(!t.rules.global.cache.has(r)){if(t.rules.global.cache.add(r),"@import"in n){let e=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let r of[].concat(n["@import"]))r=r.includes('"')||r.includes("'")?r:`"${r}"`,t.sheet.insertRule(`@import ${r};`,e++);delete n["@import"]}C(n,[],[],e,e=>{t.rules.global.apply(e)})}}return""};return h(n,{toString:n})}),W=c(),G=(e,t)=>W(e,()=>r=>{let n=`${_(e.prefix)}k-${A(r)}`,i=()=>{if(!t.rules.global.cache.has(n)){t.rules.global.cache.add(n);let i=[];C(r,[],[],e,e=>i.push(e));let o=`@keyframes ${n}{${i.join("")}}`;t.rules.global.apply(o)}return n};return h(i,{get name(){return i()},toString:i})}),Y=class{constructor(e,t,r,n){this.token=null==e?"":String(e),this.value=null==t?"":String(t),this.scale=null==r?"":String(r),this.prefix=null==n?"":String(n)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+_(this.prefix)+_(this.scale)+this.token}toString(){return this.computedValue}},Z=c(),K=(e,t)=>Z(e,()=>(r,n)=>{n="object"==typeof r&&r||Object(n);let i=`.${r=(r="string"==typeof r?r:"")||`${_(e.prefix)}t-${A(n)}`}`,o={},a=[];for(let t in n)for(let r in o[t]={},n[t]){let i=`--${_(e.prefix)}${t}-${r}`,s=S(String(n[t][r]),e.prefix,t);o[t][r]=new Y(r,s,t,e.prefix),a.push(`${i}:${s}`)}let s=()=>{if(a.length&&!t.rules.themed.cache.has(r)){t.rules.themed.cache.add(r);let i=`${n===e.theme?":root,":""}.${r}{${a.join(";")}}`;t.rules.themed.apply(i)}return r};return{...o,get className(){return s()},selector:i,toString:s}}),J=c(),X=c(),Q=e=>{let t=(e=>{let t=!1,r=J(e,e=>{t=!0;let r="prefix"in(e="object"==typeof e&&e||{})?String(e.prefix):"",n="object"==typeof e.media&&e.media||{},i="object"==typeof e.root?e.root||null:globalThis.document||null,o="object"==typeof e.theme&&e.theme||{},a={prefix:r,media:n,theme:o,themeMap:"object"==typeof e.themeMap&&e.themeMap||{...u},utils:"object"==typeof e.utils&&e.utils||{}},s=M(i),l={css:L(a,s),globalCss:V(a,s),keyframes:G(a,s),createTheme:K(a,s),reset(){s.reset(),l.theme.toString()},theme:{},sheet:s,config:a,prefix:r,getCssText:s.toString,toString:s.toString};return String(l.theme=l.createTheme(o)),l});return t||r.reset(),r})(e);return t.styled=(({config:e,sheet:t})=>X(e,()=>{let r=L(e,t);return(...e)=>{let t=r(...e),n=t[d].type,o=i.forwardRef((e,r)=>{let o=e&&e.as||n,{props:a,deferredInjector:s}=t(e);return delete a.as,a.ref=r,s?i.createElement(i.Fragment,null,i.createElement(o,a),i.createElement(s,null)):i.createElement(o,a)});return o.className=t.className,o.displayName=`Styled.${n.displayName||n.name||n}`,o.selector=t.selector,o.toString=()=>t.selector,o[d]=t[d],o}}))(t),t},ee=()=>n||(n=Q()),et=(...e)=>ee().styled(...e)},73235:function(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:function(){return n}})},79609:function(e,t,r){"use strict";r.d(t,{V6:function(){return o},ZP:function(){return o}});var n=r(37243);let i=/^\s*>\s$/,o=n.NB.create({name:"blockquote",addOptions:()=>({HTMLAttributes:{}}),content:"block+",group:"block",defining:!0,parseHTML:()=>[{tag:"blockquote"}],renderHTML({HTMLAttributes:e}){return["blockquote",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[(0,n.S0)({find:i,type:this.type})]}})},86900:function(e,t,r){"use strict";r.d(t,{ZP:function(){return u},d8:function(){return u}});var n=r(37243);let i=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,o=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,a=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,s=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,u=n.vc.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"strong"},{tag:"b",getAttrs:e=>"normal"!==e.style.fontWeight&&null},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}],renderHTML({HTMLAttributes:e}){return["strong",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[(0,n.Cf)({find:i,type:this.type}),(0,n.Cf)({find:a,type:this.type})]},addPasteRules(){return[(0,n.K9)({find:o,type:this.type}),(0,n.K9)({find:s,type:this.type})]}})},25059:function(e,t,r){"use strict";r.d(t,{ZP:function(){return s},dn:function(){return s}});var n=r(37243),i=r(27191);let o=/^```([a-z]+)?[\s\n]$/,a=/^~~~([a-z]+)?[\s\n]$/,s=n.NB.create({name:"codeBlock",addOptions:()=>({languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,HTMLAttributes:{}}),content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:null,parseHTML:e=>{var t;let{languageClassPrefix:r}=this.options;return[...(null===(t=e.firstElementChild)||void 0===t?void 0:t.classList)||[]].filter(e=>e.startsWith(r)).map(e=>e.replace(r,""))[0]||null},rendered:!1}}},parseHTML:()=>[{tag:"pre",preserveWhitespace:"full"}],renderHTML({node:e,HTMLAttributes:t}){return["pre",(0,n.P1)(this.options.HTMLAttributes,t),["code",{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{let{empty:e,$anchor:t}=this.editor.state.selection,r=1===t.pos;return!!e&&t.parent.type.name===this.name&&(!!r||!t.parent.textContent.length)&&this.editor.commands.clearNodes()},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;let{state:t}=e,{selection:r}=t,{$from:n,empty:i}=r;if(!i||n.parent.type!==this.type)return!1;let o=n.parentOffset===n.parent.nodeSize-2,a=n.parent.textContent.endsWith("\n\n");return!!o&&!!a&&e.chain().command(({tr:e})=>(e.delete(n.pos-2,n.pos),!0)).exitCode().run()},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;let{state:t}=e,{selection:r,doc:n}=t,{$from:i,empty:o}=r;if(!o||i.parent.type!==this.type||i.parentOffset!==i.parent.nodeSize-2)return!1;let a=i.after();return!(void 0===a||n.nodeAt(a))&&e.commands.exitCode()}}},addInputRules(){return[(0,n.zK)({find:o,type:this.type,getAttributes:e=>({language:e[1]})}),(0,n.zK)({find:a,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new i.Sy({key:new i.H$("codeBlockVSCodeHandler"),props:{handlePaste:(e,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;let r=t.clipboardData.getData("text/plain"),n=t.clipboardData.getData("vscode-editor-data"),o=n?JSON.parse(n):void 0,a=null==o?void 0:o.mode;if(!r||!a)return!1;let{tr:s}=e.state;return e.state.selection.from===e.state.doc.nodeSize-(1+2*e.state.selection.$to.depth)?s.insert(e.state.selection.from-1,this.type.create({language:a})):s.replaceSelectionWith(this.type.create({language:a})),s.setSelection(i.Bs.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.insertText(r.replace(/\r\n?/g,"\n")),s.setMeta("paste",!0),e.dispatch(s),!0}}})]}})},31187:function(e,t,r){"use strict";r.d(t,{EK:function(){return a},ZP:function(){return a}});var n=r(37243);let i=/(?:^|\s)(`(?!\s+`)((?:[^`]+))`(?!\s+`))$/,o=/(?:^|\s)(`(?!\s+`)((?:[^`]+))`(?!\s+`))/g,a=n.vc.create({name:"code",addOptions:()=>({HTMLAttributes:{}}),excludes:"_",code:!0,exitable:!0,parseHTML:()=>[{tag:"code"}],renderHTML({HTMLAttributes:e}){return["code",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setCode:()=>({commands:e})=>e.setMark(this.name),toggleCode:()=>({commands:e})=>e.toggleMark(this.name),unsetCode:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[(0,n.Cf)({find:i,type:this.type})]},addPasteRules(){return[(0,n.K9)({find:o,type:this.type})]}})},42626:function(e,t,r){"use strict";r.d(t,{B:function(){return n}});let n=r(37243).NB.create({name:"doc",topNode:!0,content:"block+"})},36518:function(e,t,r){"use strict";r.d(t,{f:function(){return o}});var n=r(37243),i=r(3027);let o=n.hj.create({name:"gapCursor",addProseMirrorPlugins:()=>[(0,i.d)()],extendNodeSchema(e){var t;let r={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:null!==(t=(0,n.nU)((0,n.Nl)(e,"allowGapCursor",r)))&&void 0!==t?t:null}}})},39949:function(e,t,r){"use strict";r.d(t,{U:function(){return i}});var n=r(37243);let i=n.NB.create({name:"hardBreak",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:e}){return["br",(0,n.P1)(this.options.HTMLAttributes,e)]},renderText:()=>"\n",addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:r,editor:n})=>e.first([()=>e.exitCode(),()=>e.command(()=>{let{selection:e,storedMarks:i}=r;if(e.$from.parent.type.spec.isolating)return!1;let{keepMarks:o}=this.options,{splittableMarks:a}=n.extensionManager,s=i||e.$to.parentOffset&&e.$from.marks();return t().insertContent({type:this.name}).command(({tr:e,dispatch:t})=>{if(t&&s&&o){let t=s.filter(e=>a.includes(e.type.name));e.ensureMarks(t)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}})},71391:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=r(37243);let i=n.NB.create({name:"heading",addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map(e=>({tag:`h${e}`,attrs:{level:e}}))},renderHTML({node:e,HTMLAttributes:t}){let r=this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0];return[`h${r}`,(0,n.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.setNode(this.name,e),toggleHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return this.options.levels.reduce((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}),{})},addInputRules(){return this.options.levels.map(e=>(0,n.zK)({find:RegExp(`^(#{1,${e}})\\s$`),type:this.type,getAttributes:{level:e}}))}})},6776:function(e,t,r){"use strict";r.d(t,{ZP:function(){return a}});var n=r(37243);let i=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/,o=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g,a=n.vc.create({name:"highlight",addOptions:()=>({multicolor:!1,HTMLAttributes:{}}),addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:e=>e.getAttribute("data-color")||e.style.backgroundColor,renderHTML:e=>e.color?{"data-color":e.color,style:`background-color: ${e.color}; color: inherit`}:{}}}:{}},parseHTML:()=>[{tag:"mark"}],renderHTML({HTMLAttributes:e}){return["mark",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setHighlight:e=>({commands:t})=>t.setMark(this.name,e),toggleHighlight:e=>({commands:t})=>t.toggleMark(this.name,e),unsetHighlight:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[(0,n.Cf)({find:i,type:this.type})]},addPasteRules(){return[(0,n.K9)({find:o,type:this.type})]}})},86509:function(e,t,r){"use strict";r.d(t,{A:function(){return _}});var n=r(37243),i=function(){};i.prototype.append=function(e){return e.length?(e=i.from(e),!this.length&&e||e.length<200&&this.leafAppend(e)||this.length<200&&e.leafPrepend(this)||this.appendInner(e)):this},i.prototype.prepend=function(e){return e.length?i.from(e).append(this):this},i.prototype.appendInner=function(e){return new a(this,e)},i.prototype.slice=function(e,t){return(void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t)?i.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},i.prototype.get=function(e){if(!(e<0)&&!(e>=this.length))return this.getInner(e)},i.prototype.forEach=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=this.length),t<=r?this.forEachInner(e,t,r,0):this.forEachInvertedInner(e,t,r,0)},i.prototype.map=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=this.length);var n=[];return this.forEach(function(t,r){return n.push(e(t,r))},t,r),n},i.from=function(e){return e instanceof i?e:e&&e.length?new o(e):i.empty};var o=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,r){return 0==e&&r==this.length?this:new t(this.values.slice(e,r))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,r,n){for(var i=t;i<r;i++)if(!1===e(this.values[i],n+i))return!1},t.prototype.forEachInvertedInner=function(e,t,r,n){for(var i=t-1;i>=r;i--)if(!1===e(this.values[i],n+i))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=200)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=200)return new t(e.flatten().concat(this.values))},r.length.get=function(){return this.values.length},r.depth.get=function(){return 0},Object.defineProperties(t.prototype,r),t}(i);i.empty=new o([]);var a=function(e){function t(t,r){e.call(this),this.left=t,this.right=r,this.length=t.length+r.length,this.depth=Math.max(t.depth,r.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,r,n){var i=this.left.length;if(t<i&&!1===this.left.forEachInner(e,t,Math.min(r,i),n)||r>i&&!1===this.right.forEachInner(e,Math.max(t-i,0),Math.min(this.length,r)-i,n+i))return!1},t.prototype.forEachInvertedInner=function(e,t,r,n){var i=this.left.length;if(t>i&&!1===this.right.forEachInvertedInner(e,t-i,Math.max(r,i)-i,n+i)||r<i&&!1===this.left.forEachInvertedInner(e,Math.min(t,i),r,n))return!1},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var r=this.left.length;return t<=r?this.left.slice(e,t):e>=r?this.right.slice(e-r,t-r):this.left.slice(e,r).append(this.right.slice(0,t-r))},t.prototype.leafAppend=function(e){var r=this.right.leafAppend(e);if(r)return new t(this.left,r)},t.prototype.leafPrepend=function(e){var r=this.left.leafPrepend(e);if(r)return new t(r,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(i),s=r(26151),u=r(27191);class l{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){let r,n,i,o;if(0==this.eventCount)return null;let a=this.items.length;for(;;a--)if(this.items.get(a-1).selection){--a;break}t&&(n=(r=this.remapping(a,this.items.length)).maps.length);let s=e.tr,u=[],d=[];return this.items.forEach((e,t)=>{if(!e.step){r||(n=(r=this.remapping(a,t+1)).maps.length),n--,d.push(e);return}if(r){d.push(new c(e.map));let t=e.step.map(r.slice(n)),i;t&&s.maybeStep(t).doc&&(i=s.mapping.maps[s.mapping.maps.length-1],u.push(new c(i,void 0,void 0,u.length+d.length))),n--,i&&r.appendMap(i,n)}else s.maybeStep(e.step);if(e.selection)return i=r?e.selection.map(r.slice(n)):e.selection,o=new l(this.items.slice(0,a).append(d.reverse().concat(u)),this.eventCount-1),!1},this.items.length,0),{remaining:o,transform:s,selection:i}}addTransform(e,t,r,n){var i,o;let a,s=[],u=this.eventCount,d=this.items,p=!n&&d.length?d.get(d.length-1):null;for(let r=0;r<e.steps.length;r++){let i=e.steps[r].invert(e.docs[r]),o=new c(e.mapping.maps[r],i,t),a;(a=p&&p.merge(o))&&(o=a,r?s.pop():d=d.slice(0,d.length-1)),s.push(o),t&&(u++,t=void 0),n||(p=o)}let f=u-r.depth;return f>h&&(i=d,o=f,i.forEach((e,t)=>{if(e.selection&&0==o--)return a=t,!1}),d=i.slice(a),u-=f),new l(d.append(s),u)}remapping(e,t){let r=new s.vs;return this.items.forEach((t,n)=>{let i=null!=t.mirrorOffset&&n-t.mirrorOffset>=e?r.maps.length-t.mirrorOffset:void 0;r.appendMap(t.map,i)},e,t),r}addMaps(e){return 0==this.eventCount?this:new l(this.items.append(e.map(e=>new c(e))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let r=[],n=Math.max(0,this.items.length-t),i=e.mapping,o=e.steps.length,a=this.eventCount;this.items.forEach(e=>{e.selection&&a--},n);let s=t;this.items.forEach(t=>{let n=i.getMirror(--s);if(null==n)return;o=Math.min(o,n);let u=i.maps[n];if(t.step){let o=e.steps[n].invert(e.docs[n]),l=t.selection&&t.selection.map(i.slice(s+1,n));l&&a++,r.push(new c(u,o,l))}else r.push(new c(u))},n);let u=[];for(let e=t;e<o;e++)u.push(new c(i.maps[e]));let d=new l(this.items.slice(0,n).append(u).append(r),a);return d.emptyItemCount()>500&&(d=d.compress(this.items.length-r.length)),d}emptyItemCount(){let e=0;return this.items.forEach(t=>{!t.step&&e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),r=t.maps.length,n=[],o=0;return this.items.forEach((i,a)=>{if(a>=e)n.push(i),i.selection&&o++;else if(i.step){let e=i.step.map(t.slice(r)),a=e&&e.getMap();if(r--,a&&t.appendMap(a,r),e){let s=i.selection&&i.selection.map(t.slice(r));s&&o++;let u=new c(a.invert(),e,s),l,d=n.length-1;(l=n.length&&n[d].merge(u))?n[d]=l:n.push(u)}}else i.map&&r--},this.items.length,0),new l(i.from(n.reverse()),o)}}l.empty=new l(i.empty,0);class c{constructor(e,t,r,n){this.map=e,this.step=t,this.selection=r,this.mirrorOffset=n}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new c(t.getMap().invert(),t,this.selection)}}}class d{constructor(e,t,r,n,i){this.done=e,this.undone=t,this.prevRanges=r,this.prevTime=n,this.prevComposition=i}}let h=20;function p(e){let t=[];return e.forEach((e,r,n,i)=>t.push(n,i)),t}function f(e,t){if(!e)return null;let r=[];for(let n=0;n<e.length;n+=2){let i=t.map(e[n],1),o=t.map(e[n+1],-1);i<=o&&r.push(i,o)}return r}let m=!1,g=null;function v(e){let t=e.plugins;if(g!=t){m=!1,g=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){m=!0;break}}return m}let y=new u.H$("history"),b=new u.H$("closeHistory");function w(e,t){return(r,n)=>{let i=y.getState(r);if(!i||0==(e?i.undone:i.done).eventCount)return!1;if(n){let o=function(e,t,r){let n=v(t),i=y.get(t).spec.config,o=(r?e.undone:e.done).popEvent(t,n);if(!o)return null;let a=o.selection.resolve(o.transform.doc),s=(r?e.done:e.undone).addTransform(o.transform,t.selection.getBookmark(),i,n),u=new d(r?s:o.remaining,r?o.remaining:s,null,0,-1);return o.transform.setSelection(a).setMeta(y,{redo:r,historyState:u})}(i,r,e);o&&n(t?o.scrollIntoView():o)}return!0}}let k=w(!1,!0),x=w(!0,!0);w(!1,!1),w(!0,!1);let _=n.hj.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:e,dispatch:t})=>k(e,t),redo:()=>({state:e,dispatch:t})=>x(e,t)}),addProseMirrorPlugins(){return[function(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new u.Sy({key:y,state:{init:()=>new d(l.empty,l.empty,null,0,-1),apply:(t,r,n)=>(function(e,t,r,n){let i=r.getMeta(y),o;if(i)return i.historyState;r.getMeta(b)&&(e=new d(e.done,e.undone,null,0,-1));let a=r.getMeta("appendedTransaction");if(0==r.steps.length)return e;if(a&&a.getMeta(y))return a.getMeta(y).redo?new d(e.done.addTransform(r,void 0,n,v(t)),e.undone,p(r.mapping.maps[r.steps.length-1]),e.prevTime,e.prevComposition):new d(e.done,e.undone.addTransform(r,void 0,n,v(t)),null,e.prevTime,e.prevComposition);if(!1===r.getMeta("addToHistory")||a&&!1===a.getMeta("addToHistory"))return(o=r.getMeta("rebased"))?new d(e.done.rebased(r,o),e.undone.rebased(r,o),f(e.prevRanges,r.mapping),e.prevTime,e.prevComposition):new d(e.done.addMaps(r.mapping.maps),e.undone.addMaps(r.mapping.maps),f(e.prevRanges,r.mapping),e.prevTime,e.prevComposition);{let i=r.getMeta("composition"),o=0==e.prevTime||!a&&e.prevComposition!=i&&(e.prevTime<(r.time||0)-n.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;let r=!1;return e.mapping.maps[0].forEach((e,n)=>{for(let i=0;i<t.length;i+=2)e<=t[i+1]&&n>=t[i]&&(r=!0)}),r}(r,e.prevRanges)),s=a?f(e.prevRanges,r.mapping):p(r.mapping.maps[r.steps.length-1]);return new d(e.done.addTransform(r,o?t.selection.getBookmark():void 0,n,v(t)),l.empty,s,r.time,null==i?e.prevComposition:i)}})(r,n,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let r=t.inputType,n="historyUndo"==r?k:"historyRedo"==r?x:null;return!!n&&(t.preventDefault(),n(e.state,e.dispatch))}}}})}(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}})},24424:function(e,t,r){"use strict";r.d(t,{ZP:function(){return o}});var n=r(37243);let i=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,o=n.NB.create({name:"image",addOptions:()=>({inline:!1,allowBase64:!1,HTMLAttributes:{}}),inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes:()=>({src:{default:null},alt:{default:null},title:{default:null}}),parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:e}){return["img",(0,n.P1)(this.options.HTMLAttributes,e)]},addCommands(){return{setImage:e=>({commands:t})=>t.insertContent({type:this.name,attrs:e})}},addInputRules(){return[(0,n.x2)({find:i,type:this.type,getAttributes:e=>{let[,,t,r,n]=e;return{src:r,alt:t,title:n}}})]}})},9432:function(e,t,r){"use strict";r.d(t,{Tx:function(){return u},ZP:function(){return u}});var n=r(37243);let i=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,o=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,a=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,s=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,u=n.vc.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"em"},{tag:"i",getAttrs:e=>"normal"!==e.style.fontStyle&&null},{style:"font-style=italic"}],renderHTML({HTMLAttributes:e}){return["em",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[(0,n.Cf)({find:i,type:this.type}),(0,n.Cf)({find:a,type:this.type})]},addPasteRules(){return[(0,n.K9)({find:o,type:this.type}),(0,n.K9)({find:s,type:this.type})]}})},70675:function(e,t,r){"use strict";r.d(t,{ZP:function(){return eO}});var n=r(37243);let i=(e,t)=>{for(let r in t)e[r]=t[r];return e},o="numeric",a="ascii",s="alpha",u="asciinumeric",l="alphanumeric",c="domain",d="emoji",h="whitespace";function p(e,t,r){for(let n in t[o]&&(t[u]=!0,t[l]=!0),t[a]&&(t[u]=!0,t[s]=!0),t[u]&&(t[l]=!0),t[s]&&(t[l]=!0),t[l]&&(t[c]=!0),t[d]&&(t[c]=!0),t){let t=(n in r||(r[n]=[]),r[n]);0>t.indexOf(e)&&t.push(e)}}function f(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}f.groups={},f.prototype={accepts(){return!!this.t},go(e){let t=this.j[e];if(t)return t;for(let t=0;t<this.jr.length;t++){let r=this.jr[t][0],n=this.jr[t][1];if(n&&r.test(e))return n}return this.jd},has(e,t){return void 0===t&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,r,n){for(let i=0;i<e.length;i++)this.tt(e[i],t,r,n)},tr(e,t,r,n){let i;return n=n||f.groups,t&&t.j?i=t:(i=new f(t),r&&n&&p(t,r,n)),this.jr.push([e,i]),i},ts(e,t,r,n){let i=this,o=e.length;if(!o)return i;for(let t=0;t<o-1;t++)i=i.tt(e[t]);return i.tt(e[o-1],t,r,n)},tt(e,t,r,n){if(n=n||f.groups,t&&t.j)return this.j[e]=t,t;let o,a=this.go(e);return a?(i((o=new f).j,a.j),o.jr.push.apply(o.jr,a.jr),o.jd=a.jd,o.t=a.t):o=new f,t&&(n&&(o.t&&"string"==typeof o.t?p(t,i(function(e,t){let r={};for(let n in t)t[n].indexOf(e)>=0&&(r[n]=!0);return r}(o.t,n),r),n):r&&p(t,r,n)),o.t=t),this.j[e]=o,o}};let m=(e,t,r,n,i)=>e.ta(t,r,n,i),g=(e,t,r,n,i)=>e.tr(t,r,n,i),v=(e,t,r,n,i)=>e.ts(t,r,n,i),y=(e,t,r,n,i)=>e.tt(t,r,n,i),b="WORD",w="UWORD",k="LOCALHOST",x="UTLD",_="SCHEME",S="SLASH_SCHEME",E="OPENBRACE",D="OPENBRACKET",C="OPENANGLEBRACKET",j="OPENPAREN",O="CLOSEBRACE",T="CLOSEBRACKET",A="CLOSEANGLEBRACKET",P="CLOSEPAREN",R="AMPERSAND",M="APOSTROPHE",F="ASTERISK",N="BACKSLASH",I="BACKTICK",L="CARET",B="COLON",z="COMMA",U="DOLLAR",q="EQUALS",$="EXCLAMATION",H="HYPHEN",V="PERCENT",W="PIPE",G="PLUS",Y="POUND",Z="QUERY",K="QUOTE",J="SEMI",X="SLASH",Q="TILDE",ee="UNDERSCORE",et="EMOJI";var er=Object.freeze({__proto__:null,WORD:b,UWORD:w,LOCALHOST:k,TLD:"TLD",UTLD:x,SCHEME:_,SLASH_SCHEME:S,NUM:"NUM",WS:"WS",NL:"NL",OPENBRACE:E,OPENBRACKET:D,OPENANGLEBRACKET:C,OPENPAREN:j,CLOSEBRACE:O,CLOSEBRACKET:T,CLOSEANGLEBRACKET:A,CLOSEPAREN:P,AMPERSAND:R,APOSTROPHE:M,ASTERISK:F,AT:"AT",BACKSLASH:N,BACKTICK:I,CARET:L,COLON:B,COMMA:z,DOLLAR:U,DOT:"DOT",EQUALS:q,EXCLAMATION:$,HYPHEN:H,PERCENT:V,PIPE:W,PLUS:G,POUND:Y,QUERY:Z,QUOTE:K,SEMI:J,SLASH:X,TILDE:Q,UNDERSCORE:ee,EMOJI:et,SYM:"SYM"});let en=/[a-z]/,ei=/\p{L}/u,eo=/\p{Emoji}/u,ea=/\d/,es=/\s/,eu=null,el=null;function ec(e,t,r,n,i){let o;let a=t.length;for(let r=0;r<a-1;r++){let a=t[r];e.j[a]?o=e.j[a]:((o=new f(n)).jr=i.slice(),e.j[a]=o),e=o}return(o=new f(r)).jr=i.slice(),e.j[t[a-1]]=o,o}function ed(e){let t=[],r=[],n=0;for(;n<e.length;){let i=0;for(;"0123456789".indexOf(e[n+i])>=0;)i++;if(i>0){t.push(r.join(""));let o=parseInt(e.substring(n,n+i),10);for(;o>0;o--)r.pop();n+=i}else"_"===e[n]?t.push(r.join("")):r.push(e[n]),n++}return t}let eh={defaultProtocol:"http",events:null,format:ef,formatHref:ef,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ep(e,t){void 0===t&&(t=null);let r=i({},eh);e&&(r=i(r,e instanceof ep?e.o:e));let n=r.ignoreTags,o=[];for(let e=0;e<n.length;e++)o.push(n[e].toUpperCase());this.o=r,t&&(this.defaultRender=t),this.ignoreTags=o}function ef(e){return e}function em(e,t){this.t="token",this.v=e,this.tk=t}function eg(e,t){class r extends em{constructor(t,r){super(t,r),this.t=e}}for(let e in t)r.prototype[e]=t[e];return r.t=e,r}ep.prototype={o:eh,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,r){let n=null!=t,i=this.o[e];return i&&("object"==typeof i?"function"==typeof(i=r.t in i?i[r.t]:eh[e])&&n&&(i=i(t,r)):"function"==typeof i&&n&&(i=i(t,r.t,r))),i},getObj(e,t,r){let n=this.o[e];return"function"==typeof n&&null!=t&&(n=n(t,r.t,r)),n},render(e){let t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},em.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){let t=this.toString(),r=e.get("truncate",t,this),n=e.get("format",t,this);return r&&n.length>r?n.substring(0,r)+"…":n},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=eh.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){let t=this.toFormattedHref(e),r=e.get("tagName",t,this),n=this.toFormattedString(e),o={},a=e.get("className",t,this),s=e.get("target",t,this),u=e.get("rel",t,this),l=e.getObj("attributes",t,this),c=e.getObj("events",t,this);return o.href=t,a&&(o.class=a),s&&(o.target=s),u&&(o.rel=u),l&&i(o,l),{tagName:r,attributes:o,content:n,eventListeners:c}}};let ev=eg("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),ey=eg("text"),eb=eg("nl"),ew=eg("url",{isLink:!0,toHref(e){return void 0===e&&(e=eh.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){let e=this.tk;return e.length>=2&&e[0].t!==k&&e[1].t===B}}),ek=e=>new f(e);function ex(e,t,r){let n=r[0].s,i=r[r.length-1].e;return new e(t.slice(n,i),r)}let e_="undefined"!=typeof console&&console&&console.warn||(()=>{}),eS={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function eE(e,t){if(void 0===t&&(t=!1),eS.initialized&&e_(`linkifyjs: already initialized - will not register custom scheme "${e}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw Error('linkifyjs: incorrect scheme format.\n 1. Must only contain digits, lowercase ASCII letters or "-"\n 2. Cannot start or end with "-"\n 3. "-" cannot repeat');eS.customSchemes.push([e,t])}function eD(e){return eS.initialized||function(){eS.scanner=function(e){void 0===e&&(e=[]);let t={};f.groups=t;let r=new f;null==eu&&(eu=ed("aaa1rp3barth4b_ott3vie4c1le2ogado5udhabi7c_ademy5centure6ountant_s9o1tor4d_s1ult4e_g1ro2tna4f_l1rica5g_akhan5ency5i_g1rbus3force5tel5kdn3l_faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m_azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o_l2partments8p_le4q_uarelle8r_ab1mco4chi3my2pa2t_e3s_da2ia2sociates9t_hleta5torney7u_ction5di_ble3o3spost5thor3o_s4vianca6w_s2x_a2z_ure5ba_by2idu3namex3narepublic11d1k2r_celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b_c1t1va3cg1n2d1e_ats2uty4er2ntley5rlin4st_buy5t2f1g1h_arti5i_ble3d1ke2ng_o3o1z2j1lack_friday9ockbuster8g1omberg7ue3m_s1w2n_pparibas9o_ats3ehringer8fa2m1nd2o_k_ing5sch2tik2on4t1utique6x2r_adesco6idgestone9oadway5ker3ther5ussels7s1t1uild_ers6siness6y1zz3v1w1y1z_h3ca_b1fe2l_l1vinklein9m_era3p2non3petown5ital_one8r_avan4ds2e_er_s4s2sa1e1h1ino4t_ering5holic7ba1n1re2s2c1d1enter4o1rn3f_a1d2g1h_anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i_priani6rcle4sco3tadel4i_c2y_eats7k1l_aims4eaning6ick2nic1que6othing5ud3ub_med6m1n1o_ach3des3ffee4llege4ogne5m_cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking_channel11l1p2rsica5untry4pon_s4rses6pa2r_edit_card4union9icket5own3s1uise_s6u_isinella9v1w1x1y_mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e_al_er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si_gn4v2hl2iamonds6et2gital5rect_ory7scount3ver5h2y2j1k1m1np2o_cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c_o2deka3u_cation8e1g1mail3erck5nergy4gineer_ing9terprises10pson4quipment8r_icsson6ni3s_q1tate5t_isalat7u_rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n_s2rm_ers5shion4t3edex3edback6rrari3ero6i_at2delity5o2lm2nal1nce1ial7re_stone6mdale6sh_ing5t_ness6j1k1lickr3ghts4r2orist4wers5y2m1o_o_d_network8tball6rd1ex2sale4um3undation8x2r_ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n_d2rniture7tbol5yi3ga_l_lery3o1up4me_s3p1rden4y2b_iz3d_n2e_a1nt_ing5orge5f1g_ee3h1i_ft_s3ves2ing5l_ass3e1obal2o4m_ail3bh2o1x2n1odaddy5ld_point6f2o_dyear5g_le4p1t1v2p1q1r_ainger5phics5tis4een3ipe3ocery4up4s1t1u_ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc_bank7ealth_care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k_t2m1n1ockey4ldings5iday5medepot5goods5s_ense7nda3rse3spital5t_ing5t_eles2s3mail5use3w2r1sbc3t1u_ghes5yatt3undai7ibm2cbc2e1u2d1e_ee3fm2kano4l1m_amat4db2mo_bilien9n_c1dustries8finiti5o2g1k1stitute6urance4e4t_ernational10uit4vestments10o1piranga7q1r_ish4s_maili5t_anbul7t_au2v3jaguar4va3cb2e_ep2tzt3welry6io2ll2m_p2nj2o_bs1urg4t1y2p_morgan6rs3uegos4niper7kaufen5ddi3e_rryhotels6logistics9properties14fh2g1h1i_a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p_mg2n2r_d1ed3uokgroup8w1y_oto4z2la_caixa5mborghini8er3ncaster5ia3d_rover6xess5salle5t_ino3robe5w_yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i_dl2fe_insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan_s3cker3us3l1ndon4tte1o3ve3pl_financial11r1s1t_d_a3u_ndbeck6xe1ury5v1y2ma_cys3drid4if1son4keup4n_agement7go3p1rket_ing3s4riott5shalls7serati6ttel5ba2c_kinsey7d1e_d_ia3et2lbourne7me1orial6n_u2rckmsd7g1h1iami3crosoft7l1ni1t2t_subishi9k1l_b1s2m_a2n1o_bi_le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to_rcycles9v_ie4p1q1r1s_d2t_n1r2u_seum3ic3tual5v1w1x1y1z2na_b1goya4me2tura4vy3ba2c1e_c1t_bank4flix4work5ustar5w_s2xt_direct7us4f_l2g_o2hk2i_co2ke1on3nja3ssan1y5l1o_kia3rthwesternmutual14on4w_ruz3tv4p1r_a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan_group9dnavy5lo3m_ega4ne1g1l_ine5oo2pen3racle3nge4g_anic5igins6saka4tsuka4t2vh3pa_ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e_t2f_izer5g1h_armacy6d1ilips5one2to_graphy6s4ysio5ics1tet2ures6d1n_g1k2oneer5zza4k1l_ace2y_station9umbing5s3m1n_c2ohl2ker3litie5rn2st3r_america6xi3ess3ime3o_d_uctions8f1gressive8mo2perties3y5tection8u_dential9s1t1ub2w_c2y2qa1pon3uebec3st5racing4dio4e_ad1lestate6tor2y4cipes5d_stone5umbrella9hab3ise_n3t2liance6n_t_als5pair3ort3ublican8st_aurant8view_s5xroth6ich_ardli6oh3l1o1p2o_cher3ks3deo3gers4om3s_vp3u_gby3hr2n2w_e2yukyu6sa_arland6fe_ty4kura4le1on3msclub4ung5ndvik_coromant12ofi4p1rl2s1ve2xo3b_i1s2c_a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e_arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x_y3fr2g1h_angrila6rp2w2ell3ia1ksha5oes2p_ping5uji3w_time7i_lk2na1gles5te3j1k_i_n2y_pe4l_ing4m_art3ile4n_cf3o_ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa_ce3ort2t3r_l2s1t_ada2ples4r1tebank4farm7c_group6ockholm6rage3e3ream4udio2y3yle4u_cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y_dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x_i3c_i2d_k2eam2ch_nology8l1masek5nnis4va3f1g1h_d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j_maxx4x2k_maxx5l1m_all4n1o_day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r_ade1ing4ining5vel_channel7ers_insurance16ust3v2t1ube2i1nes3shu4v_s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va_cations7na1guard7c1e_gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i_ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u_elos6wales2mart4ter4ng_gou5tch_es6eather_channel12bcam3er2site5d_ding5ibo2r3f1hoswho6ien2ki2lliamhill9n_dows4e1ners6me2olterskluwer11odside6rk_s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u_tube6t1un3za_ppos4ra3ero3ip2m1one3uerich6w2")),null==el&&(el=ed("ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत_म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里_大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2")),y(r,"'",M),y(r,"{",E),y(r,"[",D),y(r,"<",C),y(r,"(",j),y(r,"}",O),y(r,"]",T),y(r,">",A),y(r,")",P),y(r,"&",R),y(r,"*",F),y(r,"@","AT"),y(r,"`",I),y(r,"^",L),y(r,":",B),y(r,",",z),y(r,"$",U),y(r,".","DOT"),y(r,"=",q),y(r,"!",$),y(r,"-",H),y(r,"%",V),y(r,"|",W),y(r,"+",G),y(r,"#",Y),y(r,"?",Z),y(r,'"',K),y(r,"/",X),y(r,";",J),y(r,"~",Q),y(r,"_",ee),y(r,"\\",N);let n=g(r,ea,"NUM",{[o]:!0});g(n,ea,n);let l=g(r,en,b,{[a]:!0});g(l,en,l);let m=g(r,ei,w,{[s]:!0});g(m,en),g(m,ei,m);let eh=g(r,es,"WS",{[h]:!0});y(r,"\n","NL",{[h]:!0}),y(eh,"\n"),g(eh,es,eh);let ep=g(r,eo,et,{[d]:!0});g(ep,eo,ep),y(ep,"️",ep),g(y(ep,"‍"),eo,ep);let ef=[[en,l]],em=[[en,null],[ei,m]];for(let e=0;e<eu.length;e++)ec(r,eu[e],"TLD",b,ef);for(let e=0;e<el.length;e++)ec(r,el[e],x,w,em);p("TLD",{tld:!0,ascii:!0},t),p(x,{utld:!0,alpha:!0},t),ec(r,"file",_,b,ef),ec(r,"mailto",_,b,ef),ec(r,"http",S,b,ef),ec(r,"https",S,b,ef),ec(r,"ftp",S,b,ef),ec(r,"ftps",S,b,ef),p(_,{scheme:!0,ascii:!0},t),p(S,{slashscheme:!0,ascii:!0},t),e=e.sort((e,t)=>e[0]>t[0]?1:-1);for(let t=0;t<e.length;t++){let n=e[t][0],i=e[t][1]?{scheme:!0}:{slashscheme:!0};n.indexOf("-")>=0?i[c]=!0:en.test(n)?ea.test(n)?i[u]=!0:i[a]=!0:i[o]=!0,v(r,n,n,i)}return v(r,"localhost",k,{ascii:!0}),r.jd=new f("SYM"),{start:r,tokens:i({groups:t},er)}}(eS.customSchemes);for(let e=0;e<eS.tokenQueue.length;e++)eS.tokenQueue[e][1]({scanner:eS.scanner});eS.parser=function(e){let{groups:t}=e,r=t.domain.concat([R,F,"AT",N,I,L,U,q,H,"NUM",V,W,G,Y,X,"SYM",Q,ee]),n=[M,A,O,T,P,B,z,"DOT",$,C,E,D,j,Z,K,J],i=[R,M,F,N,I,L,O,U,q,H,"NUM",E,V,W,G,Y,Z,X,"SYM",Q,ee],o=ek(),a=y(o,Q);m(a,i,a),m(a,t.domain,a);let s=ek(),u=ek(),l=ek();m(o,t.domain,s),m(o,t.scheme,u),m(o,t.slashscheme,l),m(s,i,a),m(s,t.domain,s);let c=y(s,"AT");y(a,"AT",c),y(u,"AT",c),y(l,"AT",c);let d=y(a,"DOT");m(d,i,a),m(d,t.domain,a);let h=ek();m(c,t.domain,h),m(h,t.domain,h);let p=y(h,"DOT");m(p,t.domain,h);let f=ek(ev);m(p,t.tld,f),m(p,t.utld,f),y(c,k,f);let g=y(h,H);m(g,t.domain,h),m(f,t.domain,h),y(f,"DOT",p),y(f,H,g),m(y(f,B),t.numeric,ev);let v=y(s,H),b=y(s,"DOT");m(v,t.domain,s),m(b,i,a),m(b,t.domain,s);let w=ek(ew);m(b,t.tld,w),m(b,t.utld,w),m(w,t.domain,s),m(w,i,a),y(w,"DOT",b),y(w,H,v),y(w,"AT",c);let x=y(w,B),_=ek(ew);m(x,t.numeric,_);let S=ek(ew),et=ek();m(S,r,S),m(S,n,et),m(et,r,S),m(et,n,et),y(w,X,S),y(_,X,S);let en=y(u,B),ei=y(l,B),eo=y(ei,X);y(eo,X,en),m(u,t.domain,s),y(u,"DOT",b),y(u,H,v),m(l,t.domain,s),y(l,"DOT",b),y(l,H,v),m(en,t.domain,S),y(en,X,S);let ea=y(S,E),es=y(S,D),eu=y(S,C),el=y(S,j);y(et,E,ea),y(et,D,es),y(et,C,eu),y(et,j,el),y(ea,O,S),y(es,T,S),y(eu,A,S),y(el,P,S),y(ea,O,S);let ec=ek(ew),ed=ek(ew),eh=ek(ew),ep=ek(ew);m(ea,r,ec),m(es,r,ed),m(eu,r,eh),m(el,r,ep);let ef=ek(),em=ek(),eg=ek(),ey=ek();return m(ea,n),m(es,n),m(eu,n),m(el,n),m(ec,r,ec),m(ed,r,ed),m(eh,r,eh),m(ep,r,ep),m(ec,n,ec),m(ed,n,ed),m(eh,n,eh),m(ep,n,ep),m(ef,r,ef),m(em,r,ed),m(eg,r,eh),m(ey,r,ep),m(ef,n,ef),m(em,n,em),m(eg,n,eg),m(ey,n,ey),y(ed,T,S),y(eh,A,S),y(ep,P,S),y(ec,O,S),y(em,T,S),y(eg,A,S),y(ey,P,S),y(ef,P,S),y(o,k,w),y(o,"NL",eb),{start:o,tokens:er}}(eS.scanner.tokens);for(let e=0;e<eS.pluginQueue.length;e++)eS.pluginQueue[e][1]({scanner:eS.scanner,parser:eS.parser});eS.initialized=!0}(),function(e,t,r){let n=r.length,i=0,o=[],a=[];for(;i<n;){let s=e,u=null,l=null,c=0,d=null,h=-1;for(;i<n&&!(u=s.go(r[i].t));)a.push(r[i++]);for(;i<n&&(l=u||s.go(r[i].t));)u=null,(s=l).accepts()?(h=0,d=s):h>=0&&h++,i++,c++;if(h<0)(i-=c)<n&&(a.push(r[i]),i++);else{a.length>0&&(o.push(ex(ey,t,a)),a=[]),i-=h,c-=h;let e=d.t,n=r.slice(i-c,i);o.push(ex(e,t,n))}}return a.length>0&&o.push(ex(ey,t,a)),o}(eS.parser.start,e,function(e,t){let r=function(e){let t=[],r=e.length,n=0;for(;n<r;){let i,o=e.charCodeAt(n),a=o<55296||o>56319||n+1===r||(i=e.charCodeAt(n+1))<56320||i>57343?e[n]:e.slice(n,n+2);t.push(a),n+=a.length}return t}(t.replace(/[A-Z]/g,e=>e.toLowerCase())),n=r.length,i=[],o=0,a=0;for(;a<n;){let s=e,u=null,l=0,c=null,d=-1,h=-1;for(;a<n&&(u=s.go(r[a]));)(s=u).accepts()?(d=0,h=0,c=s):d>=0&&(d+=r[a].length,h++),l+=r[a].length,o+=r[a].length,a++;o-=d,a-=h,l-=d,i.push({t:c.t,v:t.slice(o-l,o),s:o-l,e:o})}return i}(eS.scanner.start,e))}function eC(e,t,r){if(void 0===t&&(t=null),void 0===r&&(r=null),t&&"object"==typeof t){if(r)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);r=t,t=null}let n=new ep(r),i=eD(e),o=[];for(let e=0;e<i.length;e++){let r=i[e];r.isLink&&(!t||r.t===t)&&o.push(r.toFormattedObject(n))}return o}var ej=r(27191);let eO=n.vc.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(e=>{if("string"==typeof e){eE(e);return}eE(e.scheme,e.optionalSlashes)})},onDestroy(){f.groups={},eS.scanner=null,eS.parser=null,eS.tokenQueue=[],eS.pluginQueue=[],eS.customSchemes=[],eS.initialized=!1},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:void 0}),addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML:()=>[{tag:'a[href]:not([href *= "javascript:" i])'}],renderHTML({HTMLAttributes:e}){var t;return(null===(t=e.href)||void 0===t?void 0:t.startsWith("javascript:"))?["a",(0,n.P1)(this.options.HTMLAttributes,{...e,href:""}),0]:["a",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setLink:e=>({chain:t})=>t().setMark(this.name,e).setMeta("preventAutolink",!0).run(),toggleLink:e=>({chain:t})=>t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[(0,n.K9)({find:e=>{let t=[];if(e){let r=eC(e).filter(e=>e.isLink);r.length&&r.forEach(e=>t.push({text:e.value,data:{href:e.href},index:e.start}))}return t},type:this.type,getAttributes:e=>{var t;return{href:null===(t=e.data)||void 0===t?void 0:t.href}}})]},addProseMirrorPlugins(){var e,t,r;let i=[];return this.options.autolink&&i.push((e={type:this.type,validate:this.options.validate},new ej.Sy({key:new ej.H$("autolink"),appendTransaction:(t,r,i)=>{let o=t.some(e=>e.docChanged)&&!r.doc.eq(i.doc),a=t.some(e=>e.getMeta("preventAutolink"));if(!o||a)return;let{tr:s}=i,u=(0,n.XP)(r.doc,[...t]);if((0,n.QC)(u).forEach(({newRange:t})=>{let r,o;let a=(0,n.b5)(i.doc,t,e=>e.isTextblock);if(a.length>1?(r=a[0],o=i.doc.textBetween(r.pos,r.pos+r.node.nodeSize,void 0," ")):a.length&&i.doc.textBetween(t.from,t.to," "," ").endsWith(" ")&&(r=a[0],o=i.doc.textBetween(r.pos,t.to,void 0," ")),r&&o){let t=o.split(" ").filter(e=>""!==e);if(t.length<=0)return!1;let a=t[t.length-1],u=r.pos+o.lastIndexOf(a);if(!a)return!1;let l=eD(a).map(e=>e.toObject());if(!(1===l.length?l[0].isLink:3===l.length&&!!l[1].isLink&&["()","[]"].includes(l[0].value+l[2].value)))return!1;l.filter(e=>e.isLink).map(e=>({...e,from:u+e.start+1,to:u+e.end+1})).filter(e=>!i.schema.marks.code||!i.doc.rangeHasMark(e.from,e.to,i.schema.marks.code)).filter(t=>!e.validate||e.validate(t.value)).forEach(t=>{(0,n.tI)(t.from,t.to,i.doc).some(t=>t.mark.type===e.type)||s.addMark(t.from,t.to,e.type.create({href:t.href}))})}}),s.steps.length)return s}}))),this.options.openOnClick&&i.push((t={type:this.type,whenNotEditable:"whenNotEditable"===this.options.openOnClick},new ej.Sy({key:new ej.H$("handleClickLink"),props:{handleClick:(e,r,i)=>{var o,a;if(t.whenNotEditable&&e.editable||0!==i.button)return!1;let s=i.target,u=[];for(;"DIV"!==s.nodeName;)u.push(s),s=s.parentNode;if(!u.find(e=>"A"===e.nodeName))return!1;let l=(0,n.u9)(e.state,t.type.name),c=i.target,d=null!==(o=null==c?void 0:c.href)&&void 0!==o?o:l.href,h=null!==(a=null==c?void 0:c.target)&&void 0!==a?a:l.target;return!!c&&!!d&&(window.open(d,h),!0)}}}))),this.options.linkOnPaste&&i.push((r={editor:this.editor,type:this.type},new ej.Sy({key:new ej.H$("handlePasteLink"),props:{handlePaste:(e,t,n)=>{let{state:i}=e,{selection:o}=i,{empty:a}=o;if(a)return!1;let s="";n.content.forEach(e=>{s+=e.textContent});let u=eC(s).find(e=>e.isLink&&e.value===s);return!!s&&!!u&&(r.editor.commands.setMark(r.type,{href:u.href}),!0)}}}))),i}})},38438:function(e,t,r){"use strict";r.d(t,{Z:function(){return i},n:function(){return i}});var n=r(37243);let i=n.NB.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}})},78563:function(e,t,r){"use strict";r.d(t,{Re:function(){return a},ZP:function(){return a}});var n=r(37243);let i=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,o=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,a=n.vc.create({name:"strike",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=>!!e.includes("line-through")&&{}}],renderHTML({HTMLAttributes:e}){return["s",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[(0,n.Cf)({find:i,type:this.type})]},addPasteRules(){return[(0,n.K9)({find:o,type:this.type})]}})},39615:function(e,t,r){"use strict";r.d(t,{x:function(){return n}});let n=r(37243).NB.create({name:"text",group:"inline"})},39475:function(e,t,r){"use strict";r.d(t,{Z:function(){return i},v:function(){return i}});var n=r(37243);let i=n.vc.create({name:"underline",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>!!e.includes("underline")&&{}}],renderHTML({HTMLAttributes:e}){return["u",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}})},85311:function(e,t,r){"use strict";r.d(t,{Z:function(){return A}});var n=r(37243),i=r(79609),o=r(86900);let a=n.NB.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",(0,n.P1)(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),s=n.vc.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:e}){return["span",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:e,commands:t})=>!!Object.entries((0,n.Jo)(e,this.type)).some(([,e])=>!!e)||t.unsetMark(this.name)}}}),u=/^\s*([-+*])\s$/,l=n.NB.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:e}){return["ul",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(a.name,this.editor.getAttributes(s.name)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=(0,n.S0)({find:u,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=(0,n.S0)({find:u,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(s.name),editor:this.editor})),[e]}});var c=r(31187),d=r(25059),h=r(42626),p=r(27191),f=r(26151);class m{constructor(e,t){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(r=t.width)&&void 0!==r?r:1,this.color=!1===t.color?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(t=>{let r=e=>{this[t](e)};return e.dom.addEventListener(t,r),{name:t,handler:r}})}destroy(){this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){null!=this.cursorPos&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,null==e?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e,t,r=this.editorView.state.doc.resolve(this.cursorPos),n=!r.parent.inlineContent,i;if(n){let e=r.nodeBefore,t=r.nodeAfter;if(e||t){let r=this.editorView.nodeDOM(this.cursorPos-(e?e.nodeSize:0));if(r){let n=r.getBoundingClientRect(),o=e?n.bottom:n.top;e&&t&&(o=(o+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),i={left:n.left,right:n.right,top:o-this.width/2,bottom:o+this.width/2}}}}if(!i){let e=this.editorView.coordsAtPos(this.cursorPos);i={left:e.left-this.width/2,right:e.left+this.width/2,top:e.top,bottom:e.bottom}}let o=this.editorView.dom.offsetParent;if(!this.element&&(this.element=o.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n),o&&(o!=document.body||"static"!=getComputedStyle(o).position)){let r=o.getBoundingClientRect();e=r.left-o.scrollLeft,t=r.top-o.scrollTop}else e=-pageXOffset,t=-pageYOffset;this.element.style.left=i.left-e+"px",this.element.style.top=i.top-t+"px",this.element.style.width=i.right-i.left+"px",this.element.style.height=i.bottom-i.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),n=r&&r.type.spec.disableDropCursor,i="function"==typeof n?n(this.editorView,t,e):n;if(t&&!i){let e=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let t=(0,f.nj)(this.editorView.state.doc,e,this.editorView.dragging.slice);null!=t&&(e=t)}this.setCursor(e),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){e.target!=this.editorView.dom&&this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}let g=n.hj.create({name:"dropCursor",addOptions:()=>({color:"currentColor",width:1,class:void 0}),addProseMirrorPlugins(){return[function(e={}){return new p.Sy({view:t=>new m(t,e)})}(this.options)]}});var v=r(36518),y=r(39949),b=r(71391),w=r(86509);let k=n.NB.create({name:"horizontalRule",addOptions:()=>({HTMLAttributes:{}}),group:"block",parseHTML:()=>[{tag:"hr"}],renderHTML({HTMLAttributes:e}){return["hr",(0,n.P1)(this.options.HTMLAttributes,e)]},addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{let{$to:r}=t.selection,n=e();return 0===r.parentOffset?n.insertContentAt(Math.max(r.pos-2,0),{type:this.name}):n.insertContent({type:this.name}),n.command(({tr:e,dispatch:t})=>{var r;if(t){let{$to:t}=e.selection,n=t.end();if(t.nodeAfter)t.nodeAfter.isTextblock?e.setSelection(p.Bs.create(e.doc,t.pos+1)):t.nodeAfter.isBlock?e.setSelection(p.qv.create(e.doc,t.pos)):e.setSelection(p.Bs.create(e.doc,t.pos));else{let i=null===(r=t.parent.type.contentMatch.defaultType)||void 0===r?void 0:r.create();i&&(e.insert(n,i),e.setSelection(p.Bs.create(e.doc,n+1)))}e.scrollIntoView()}return!0}).run()}}},addInputRules(){return[(0,n.x2)({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}});var x=r(9432);let _=n.NB.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",(0,n.P1)(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),S=n.NB.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",(0,n.P1)(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),E=n.vc.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:e}){return["span",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:e,commands:t})=>!!Object.entries((0,n.Jo)(e,this.type)).some(([,e])=>!!e)||t.unsetMark(this.name)}}}),D=/^(\d+)\.\s$/,C=n.NB.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:e}){let{start:t,...r}=e;return 1===t?["ol",(0,n.P1)(this.options.HTMLAttributes,r),0]:["ol",(0,n.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(S.name,this.editor.getAttributes(E.name)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=(0,n.S0)({find:D,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=(0,n.S0)({find:D,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(E.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}});var j=r(38438),O=r(78563),T=r(39615);let A=n.hj.create({name:"starterKit",addExtensions(){var e,t,r,n,a,s,u,p,f,m,S,E,D,A,P,R,M,F;let N=[];return!1!==this.options.blockquote&&N.push(i.V6.configure(null===(e=this.options)||void 0===e?void 0:e.blockquote)),!1!==this.options.bold&&N.push(o.d8.configure(null===(t=this.options)||void 0===t?void 0:t.bold)),!1!==this.options.bulletList&&N.push(l.configure(null===(r=this.options)||void 0===r?void 0:r.bulletList)),!1!==this.options.code&&N.push(c.EK.configure(null===(n=this.options)||void 0===n?void 0:n.code)),!1!==this.options.codeBlock&&N.push(d.dn.configure(null===(a=this.options)||void 0===a?void 0:a.codeBlock)),!1!==this.options.document&&N.push(h.B.configure(null===(s=this.options)||void 0===s?void 0:s.document)),!1!==this.options.dropcursor&&N.push(g.configure(null===(u=this.options)||void 0===u?void 0:u.dropcursor)),!1!==this.options.gapcursor&&N.push(v.f.configure(null===(p=this.options)||void 0===p?void 0:p.gapcursor)),!1!==this.options.hardBreak&&N.push(y.U.configure(null===(f=this.options)||void 0===f?void 0:f.hardBreak)),!1!==this.options.heading&&N.push(b.X.configure(null===(m=this.options)||void 0===m?void 0:m.heading)),!1!==this.options.history&&N.push(w.A.configure(null===(S=this.options)||void 0===S?void 0:S.history)),!1!==this.options.horizontalRule&&N.push(k.configure(null===(E=this.options)||void 0===E?void 0:E.horizontalRule)),!1!==this.options.italic&&N.push(x.Tx.configure(null===(D=this.options)||void 0===D?void 0:D.italic)),!1!==this.options.listItem&&N.push(_.configure(null===(A=this.options)||void 0===A?void 0:A.listItem)),!1!==this.options.orderedList&&N.push(C.configure(null===(P=this.options)||void 0===P?void 0:P.orderedList)),!1!==this.options.paragraph&&N.push(j.n.configure(null===(R=this.options)||void 0===R?void 0:R.paragraph)),!1!==this.options.strike&&N.push(O.Re.configure(null===(M=this.options)||void 0===M?void 0:M.strike)),!1!==this.options.text&&N.push(T.x.configure(null===(F=this.options)||void 0===F?void 0:F.text)),N}})},75054:function(e,t,r){"use strict";let n,i,o,a;r.d(t,{G7:function(){return tj},Th:function(){return tC},gk:function(){return e9},P0:function(){return eH},NI:function(){return tO},cQ:function(){return eY}});var s=r(2784),u=r(51987);let l={toVector:(e,t)=>(void 0===e&&(e=t),Array.isArray(e)?e:[e,e]),add:(e,t)=>[e[0]+t[0],e[1]+t[1]],sub:(e,t)=>[e[0]-t[0],e[1]-t[1]],addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function c(e,t,r){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*r):e*t*r/(t+r*e)}function d(e,t,r,n=.15){return 0===n?Math.max(t,Math.min(e,r)):e<t?-c(t-e,r-t,n)+t:e>r?+c(e-r,r-t,n)+r:e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let m={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function g(e){return e?e[0].toUpperCase()+e.slice(1):""}let v=["enter","leave"],y=["gotpointercapture","lostpointercapture"];function b(e){return"touches"in e}function w(e){return b(e)?"touch":"pointerType"in e?e.pointerType:"mouse"}function k(e){return b(e)?("touchend"===e.type||"touchcancel"===e.type?e.changedTouches:e.targetTouches)[0]:e}function x(e,t){let r=t.clientX-e.clientX,n=t.clientY-e.clientY,i=(t.clientX+e.clientX)/2,o=(t.clientY+e.clientY)/2,a=Math.hypot(r,n);return{angle:-(180*Math.atan2(r,n))/Math.PI,distance:a,origin:[i,o]}}function _(e,t){let[r,n]=Array.from(e.touches).filter(e=>t.includes(e.identifier));return x(r,n)}function S(e){let t=k(e);return b(e)?t.identifier:t.pointerId}function E(e){let t=k(e);return[t.clientX,t.clientY]}function D(e){let{deltaX:t,deltaY:r,deltaMode:n}=e;return 1===n?(t*=40,r*=40):2===n&&(t*=800,r*=800),[t,r]}function C(e,...t){return"function"==typeof e?e(...t):e}function j(){}function O(e,t){return Object.assign({},t,e||{})}class T{constructor(e,t,r){this.ctrl=e,this.args=t,this.key=r,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(e){this.ctrl.state[this.key]=e}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){let{state:e,shared:t,ingKey:r,args:n}=this;t[r]=e._active=e.active=e._blocked=e._force=!1,e._step=[!1,!1],e.intentional=!1,e._movement=[0,0],e._distance=[0,0],e._direction=[0,0],e._delta=[0,0],e._bounds=[[-1/0,1/0],[-1/0,1/0]],e.args=n,e.axis=void 0,e.memo=void 0,e.elapsedTime=0,e.direction=[0,0],e.distance=[0,0],e.overflow=[0,0],e._movementBound=[!1,!1],e.velocity=[0,0],e.movement=[0,0],e.delta=[0,0],e.timeStamp=0}start(e){let t=this.state,r=this.config;t._active||(this.reset(),this.computeInitial(),t._active=!0,t.target=e.target,t.currentTarget=e.currentTarget,t.lastOffset=r.from?C(r.from,t):t.offset,t.offset=t.lastOffset),t.startTime=t.timeStamp=e.timeStamp}computeValues(e){let t=this.state;t._values=e,t.values=this.config.transform(e)}computeInitial(){let e=this.state;e._initial=e._values,e.initial=e.values}compute(e){let{state:t,config:r,shared:n}=this;t.args=this.args;let i=0;if(e&&(t.event=e,r.preventDefault&&e.cancelable&&t.event.preventDefault(),t.type=e.type,n.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,n.locked=!!document.pointerLockElement,Object.assign(n,function(e){let t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){let{shiftKey:r,altKey:n,metaKey:i,ctrlKey:o}=e;Object.assign(t,{shiftKey:r,altKey:n,metaKey:i,ctrlKey:o})}return t}(e)),n.down=n.pressed=n.buttons%2==1||n.touches>0,i=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){let e=t._delta.map(Math.abs);l.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);let[o,a]=t._movement,[s,u]=r.threshold,{_step:c,values:h}=t;if(r.hasCustomTransform?(!1===c[0]&&(c[0]=Math.abs(o)>=s&&h[0]),!1===c[1]&&(c[1]=Math.abs(a)>=u&&h[1])):(!1===c[0]&&(c[0]=Math.abs(o)>=s&&Math.sign(o)*s),!1===c[1]&&(c[1]=Math.abs(a)>=u&&Math.sign(a)*u)),t.intentional=!1!==c[0]||!1!==c[1],!t.intentional)return;let p=[0,0];if(r.hasCustomTransform){let[e,t]=h;p[0]=!1!==c[0]?e-c[0]:0,p[1]=!1!==c[1]?t-c[1]:0}else p[0]=!1!==c[0]?o-c[0]:0,p[1]=!1!==c[1]?a-c[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(p);let f=t.offset,m=t._active&&!t._blocked||t.active;m&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=n[this.ingKey]=t._active,e&&(t.first&&("bounds"in r&&(t._bounds=C(r.bounds,t)),this.setup&&this.setup()),t.movement=p,this.computeOffset()));let[g,v]=t.offset,[[y,b],[w,k]]=t._bounds;t.overflow=[g<y?-1:g>b?1:0,v<w?-1:v>k?1:0],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);let x=t._active&&r.rubberband||[0,0];if(t.offset=function(e,[t,r],[n,i]){let[[o,a],[s,u]]=e;return[d(t,o,a,n),d(r,s,u,i)]}(t._bounds,t.offset,x),t.delta=l.sub(t.offset,f),this.computeMovement(),m&&(!t.last||i>32)){t.delta=l.sub(t.offset,f);let e=t.delta.map(Math.abs);l.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&i>0&&(t.velocity=[e[0]/i,e[1]/i])}}emit(){let e=this.state,t=this.shared,r=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!r.triggerAllEvents)return;let n=this.handler(f(f(f({},t),e),{},{[this.aliasKey]:e.values}));void 0!==n&&(e.memo=n)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class A extends T{constructor(...e){super(...e),h(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=l.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=l.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){let t=this.state,r=this.config;if(!t.axis&&e){let n="object"==typeof r.axisThreshold?r.axisThreshold[w(e)]:r.axisThreshold;t.axis=function([e,t],r){let n=Math.abs(e),i=Math.abs(t);return n>i&&n>r?"x":i>n&&i>r?"y":void 0}(t._movement,n)}t._blocked=(r.lockDirection||!!r.axis)&&!t.axis||!!r.axis&&r.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}let P=e=>e,R={enabled:(e=!0)=>e,eventOptions:(e,t,r)=>f(f({},r.shared.eventOptions),e),preventDefault:(e=!1)=>e,triggerAllEvents:(e=!1)=>e,rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return l.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?l.toVector(e):void 0,transform(e,t,r){let n=e||r.shared.transform;return this.hasCustomTransform=!!n,n||P},threshold:e=>l.toVector(e,0)},M=0,F=f(f({},R),{},{axis(e,t,{axis:r}){if(this.lockDirection="lock"===r,!this.lockDirection)return r},axisThreshold:(e=M)=>e,bounds(e={}){if("function"==typeof e)return t=>F.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;let{left:t=-1/0,right:r=1/0,top:n=-1/0,bottom:i=1/0}=e;return[[t,r],[n,i]]}}),N={ArrowRight:(e=1)=>[10*e,0],ArrowLeft:(e=1)=>[-10*e,0],ArrowUp:(e=1)=>[0,-10*e],ArrowDown:(e=1)=>[0,10*e]};class I extends A{constructor(...e){super(...e),h(this,"ingKey","dragging")}reset(){super.reset();let e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){let e=this.state;if(e._bounds instanceof HTMLElement){let t=e._bounds.getBoundingClientRect(),r=e.currentTarget.getBoundingClientRect(),n={left:t.left-r.left+e.offset[0],right:t.right-r.right+e.offset[0],top:t.top-r.top+e.offset[1],bottom:t.bottom-r.bottom+e.offset[1]};e._bounds=F.bounds(n)}}cancel(){let e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){let t=this.config,r=this.state;if(null!=e.buttons&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(e.buttons):-1!==t.pointerButtons&&t.pointerButtons!==e.buttons))return;let n=this.ctrl.setEventIds(e);t.pointerCapture&&e.target.setPointerCapture(e.pointerId),n&&n.size>1&&r._pointerActive||(this.start(e),this.setupPointer(e),r._pointerId=S(e),r._pointerActive=!0,this.computeValues(E(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==w(e)?(r._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){let t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){let t=this.state,r=this.config;if(!t._pointerActive||t.type===e.type&&e.timeStamp===t.timeStamp)return;let n=S(e);if(void 0!==t._pointerId&&n!==t._pointerId)return;let i=E(e);if(document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=l.sub(i,t._values),this.computeValues(i)),l.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional){this.timeoutStore.remove("dragDelay"),t.active=!1,this.startPointerDrag(e);return}if(r.preventScrollAxis&&!t._preventScroll){if(!t.axis)return;if(t.axis===r.preventScrollAxis||"xy"===r.preventScrollAxis){t._active=!1,this.clean();return}this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(e);return}this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(e){}let t=this.state,r=this.config;if(!t._active||!t._pointerActive)return;let n=S(e);if(void 0!==t._pointerId&&n!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);let[i,o]=t._distance;if(t.tap=i<=r.tapsThreshold&&o<=r.tapsThreshold,t.tap&&r.filterTaps)t._force=!0;else{let[e,n]=t.direction,[i,o]=t.velocity,[a,s]=t.movement,[u,l]=r.swipe.velocity,[c,d]=r.swipe.distance,h=r.swipe.duration;t.elapsedTime<h&&(Math.abs(i)>u&&Math.abs(a)>c&&(t.swipe[0]=e),Math.abs(o)>l&&Math.abs(s)>d&&(t.swipe[1]=n))}this.emit()}pointerClick(e){!this.state.tap&&e.detail>0&&(e.preventDefault(),e.stopPropagation())}setupPointer(e){let t=this.config,r=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,r,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){this.state._preventScroll=!1,"persist"in e&&"function"==typeof e.persist&&e.persist();let t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(e)},this.config.delay)}keyDown(e){let t=N[e.key];if(t){let r=this.state,n=e.shiftKey?10:e.altKey?.1:1;this.start(e),r._delta=t(n),r._keyboardActive=!0,l.addTo(r._movement,r._delta),this.compute(e),this.emit()}}keyUp(e){e.key in N&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){let t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}let L="undefined"!=typeof window&&window.document&&window.document.createElement;function B(){return L&&"ontouchstart"in window||L&&window.navigator.maxTouchPoints>1}let z={isBrowser:L,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:B(),touchscreen:B(),pointer:L&&"onpointerdown"in window,pointerLock:L&&"exitPointerLock"in window.document},U={mouse:0,touch:0,pen:8},q=f(f({},F),{},{device(e,t,{pointer:{touch:r=!1,lock:n=!1,mouse:i=!1}={}}){return(this.pointerLock=n&&z.pointerLock,z.touch&&r)?"touch":this.pointerLock?"mouse":z.pointer&&!i?"pointer":z.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:r}){if(this.preventScrollDelay="number"==typeof r?r:r||void 0===r&&e?250:void 0,z.touchscreen&&!1!==r)return e||(void 0!==r?"y":void 0)},pointerCapture(e,t,{pointer:{capture:r=!0,buttons:n=1}={}}){return this.pointerButtons=n,!this.pointerLock&&"pointer"===this.device&&r},keys:(e=!0)=>e,threshold(e,t,{filterTaps:r=!1,tapsThreshold:n=3,axis:i}){let o=l.toVector(e,r?n:i?1:0);return this.filterTaps=r,this.tapsThreshold=n,o},swipe({velocity:e=.5,distance:t=50,duration:r=250}={}){return{velocity:this.transform(l.toVector(e)),distance:this.transform(l.toVector(t)),duration:r}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?f(f({},U),e):U});class $ extends T{constructor(...e){super(...e),h(this,"ingKey","pinching"),h(this,"aliasKey","da")}init(){this.state.offset=[1,0],this.state.lastOffset=[1,0],this.state._pointerEvents=new Map}reset(){super.reset();let e=this.state;e._touchIds=[],e.canceled=!1,e.cancel=this.cancel.bind(this),e.turns=0}computeOffset(){let{type:e,movement:t,lastOffset:r}=this.state;"wheel"===e?this.state.offset=l.add(t,r):this.state.offset=[(1+t[0])*r[0],t[1]+r[1]]}computeMovement(){let{offset:e,lastOffset:t}=this.state;this.state.movement=[e[0]/t[0],e[1]-t[1]]}axisIntent(){let e=this.state,[t,r]=e._movement;if(!e.axis){let n=30*Math.abs(t)-Math.abs(r);n<0?e.axis="angle":n>0&&(e.axis="scale")}}restrictToAxis(e){this.config.lockDirection&&("scale"===this.state.axis?e[1]=0:"angle"===this.state.axis&&(e[0]=0))}cancel(){let e=this.state;e.canceled||setTimeout(()=>{e.canceled=!0,e._active=!1,this.compute(),this.emit()},0)}touchStart(e){this.ctrl.setEventIds(e);let t=this.state,r=this.ctrl.touchIds;if(t._active&&t._touchIds.every(e=>r.has(e))||r.size<2)return;this.start(e),t._touchIds=Array.from(r).slice(0,2);let n=_(e,t._touchIds);this.pinchStart(e,n)}pointerStart(e){if(null!=e.buttons&&e.buttons%2!=1)return;this.ctrl.setEventIds(e),e.target.setPointerCapture(e.pointerId);let t=this.state,r=t._pointerEvents,n=this.ctrl.pointerIds;if(t._active&&Array.from(r.keys()).every(e=>n.has(e))||(r.size<2&&r.set(e.pointerId,e),t._pointerEvents.size<2))return;this.start(e);let i=x(...Array.from(r.values()));this.pinchStart(e,i)}pinchStart(e,t){this.state.origin=t.origin,this.computeValues([t.distance,t.angle]),this.computeInitial(),this.compute(e),this.emit()}touchMove(e){if(!this.state._active)return;let t=_(e,this.state._touchIds);this.pinchMove(e,t)}pointerMove(e){let t=this.state._pointerEvents;if(t.has(e.pointerId)&&t.set(e.pointerId,e),!this.state._active)return;let r=x(...Array.from(t.values()));this.pinchMove(e,r)}pinchMove(e,t){let r=this.state,n=r._values[1],i=t.angle-n,o=0;Math.abs(i)>270&&(o+=Math.sign(i)),this.computeValues([t.distance,t.angle-360*o]),r.origin=t.origin,r.turns=o,r._movement=[r._values[0]/r._initial[0]-1,r._values[1]-r._initial[1]],this.compute(e),this.emit()}touchEnd(e){this.ctrl.setEventIds(e),this.state._active&&this.state._touchIds.some(e=>!this.ctrl.touchIds.has(e))&&(this.state._active=!1,this.compute(e),this.emit())}pointerEnd(e){let t=this.state;this.ctrl.setEventIds(e);try{e.target.releasePointerCapture(e.pointerId)}catch(e){}t._pointerEvents.has(e.pointerId)&&t._pointerEvents.delete(e.pointerId),t._active&&t._pointerEvents.size<2&&(t._active=!1,this.compute(e),this.emit())}gestureStart(e){e.cancelable&&e.preventDefault();let t=this.state;t._active||(this.start(e),this.computeValues([e.scale,e.rotation]),t.origin=[e.clientX,e.clientY],this.compute(e),this.emit())}gestureMove(e){if(e.cancelable&&e.preventDefault(),!this.state._active)return;let t=this.state;this.computeValues([e.scale,e.rotation]),t.origin=[e.clientX,e.clientY];let r=t._movement;t._movement=[e.scale-1,e.rotation],t._delta=l.sub(t._movement,r),this.compute(e),this.emit()}gestureEnd(e){this.state._active&&(this.state._active=!1,this.compute(e),this.emit())}wheel(e){let t=this.config.modifierKey;(!t||e[t])&&(this.state._active?this.wheelChange(e):this.wheelStart(e),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this)))}wheelStart(e){this.start(e),this.wheelChange(e)}wheelChange(e){"uv"in e||!e.cancelable||e.preventDefault();let t=this.state;t._delta=[-D(e)[1]/100*t.offset[0],0],l.addTo(t._movement,t._delta),this.state.origin=[e.clientX,e.clientY],this.compute(e),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(e){let t=this.config.device;t&&(e(t,"start",this[t+"Start"].bind(this)),e(t,"change",this[t+"Move"].bind(this)),e(t,"end",this[t+"End"].bind(this)),e(t,"cancel",this[t+"End"].bind(this))),e("wheel","",this.wheel.bind(this),{passive:!1})}}let H=f(f({},R),{},{device(e,t,{shared:r,pointer:{touch:n=!1}={}}){if(r.target&&!z.touch&&z.gesture)return"gesture";if(z.touch&&n)return"touch";if(z.touchscreen){if(z.pointer)return"pointer";if(z.touch)return"touch"}},bounds(e,t,{scaleBounds:r={},angleBounds:n={}}){let i=e=>{let t=O(C(r,e),{min:-1/0,max:1/0});return[t.min,t.max]},o=e=>{let t=O(C(n,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof r&&"function"!=typeof n?[i(),o()]:e=>[i(e),o(e)]},threshold(e,t,r){return this.lockDirection="lock"===r.axis,l.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e});class V extends A{constructor(...e){super(...e),h(this,"ingKey","moving")}move(e){this.config.mouseOnly&&"mouse"!==e.pointerType||(this.state._active?this.moveChange(e):this.moveStart(e),this.timeoutStore.add("moveEnd",this.moveEnd.bind(this)))}moveStart(e){this.start(e),this.computeValues(E(e)),this.compute(e),this.computeInitial(),this.emit()}moveChange(e){if(!this.state._active)return;let t=E(e),r=this.state;r._delta=l.sub(t,r._values),l.addTo(r._movement,r._delta),this.computeValues(t),this.compute(e),this.emit()}moveEnd(e){this.state._active&&(this.state._active=!1,this.compute(e),this.emit())}bind(e){e("pointer","change",this.move.bind(this)),e("pointer","leave",this.moveEnd.bind(this))}}let W=f(f({},F),{},{mouseOnly:(e=!0)=>e});class G extends A{constructor(...e){super(...e),h(this,"ingKey","scrolling")}scroll(e){this.state._active||this.start(e),this.scrollChange(e),this.timeoutStore.add("scrollEnd",this.scrollEnd.bind(this))}scrollChange(e){e.cancelable&&e.preventDefault();let t=this.state,r=function(e){var t,r;let{scrollX:n,scrollY:i,scrollLeft:o,scrollTop:a}=e.currentTarget;return[null!==(t=null!=n?n:o)&&void 0!==t?t:0,null!==(r=null!=i?i:a)&&void 0!==r?r:0]}(e);t._delta=l.sub(r,t._values),l.addTo(t._movement,t._delta),this.computeValues(r),this.compute(e),this.emit()}scrollEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(e){e("scroll","",this.scroll.bind(this))}}class Y extends A{constructor(...e){super(...e),h(this,"ingKey","wheeling")}wheel(e){this.state._active||this.start(e),this.wheelChange(e),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(e){let t=this.state;t._delta=D(e),l.addTo(t._movement,t._delta);let[r,n]=t.overflow,[i,o]=t._delta,[a,s]=t._direction;(r<0&&i>0&&a<0||r>0&&i<0&&a>0)&&(t._movement[0]=t._movementBound[0]),(n<0&&o>0&&s<0||n>0&&o<0&&s>0)&&(t._movement[1]=t._movementBound[1]),this.compute(e),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(e){e("wheel","",this.wheel.bind(this))}}class Z extends A{constructor(...e){super(...e),h(this,"ingKey","hovering")}enter(e){this.config.mouseOnly&&"mouse"!==e.pointerType||(this.start(e),this.computeValues(E(e)),this.compute(e),this.emit())}leave(e){if(this.config.mouseOnly&&"mouse"!==e.pointerType)return;let t=this.state;if(!t._active)return;t._active=!1;let r=E(e);t._movement=t._delta=l.sub(r,t._values),this.computeValues(r),this.compute(e),t.delta=t.movement,this.emit()}bind(e){e("pointer","enter",this.enter.bind(this)),e("pointer","leave",this.leave.bind(this))}}let K=f(f({},F),{},{mouseOnly:(e=!0)=>e}),J=new Map,X=new Map;function Q(e){J.set(e.key,e.engine),X.set(e.key,e.resolver)}let ee={key:"drag",engine:I,resolver:q},et={key:"hover",engine:Z,resolver:K},er={key:"move",engine:V,resolver:W},en={key:"pinch",engine:$,resolver:H},ei={key:"scroll",engine:G,resolver:F},eo={key:"wheel",engine:Y,resolver:F},ea={target(e){if(e)return()=>"current"in e?e.current:e},enabled:(e=!0)=>e,window:(e=z.isBrowser?window:void 0)=>e,eventOptions:({passive:e=!0,capture:t=!1}={})=>({passive:e,capture:t}),transform:e=>e},es=["target","eventOptions","window","enabled","transform"];function eu(e={},t){let r={};for(let[n,i]of Object.entries(t))switch(typeof i){case"function":r[n]=i.call(r,e[n],n,e);break;case"object":r[n]=eu(e[n],i);break;case"boolean":i&&(r[n]=e[n])}return r}class el{constructor(e,t){h(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,r,n,i){let o=this._listeners,a=function(e,t=""){let r=m[e];return e+(r&&r[t]||t)}(t,r),s=f(f({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),i);e.addEventListener(a,n,s);let u=()=>{e.removeEventListener(a,n,s),o.delete(u)};return o.add(u),u}clean(){this._listeners.forEach(e=>e()),this._listeners.clear()}}class ec{constructor(){h(this,"_timeouts",new Map)}add(e,t,r=140,...n){this.remove(e),this._timeouts.set(e,window.setTimeout(t,r,...n))}remove(e){let t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach(e=>void window.clearTimeout(e)),this._timeouts.clear()}}class ed{constructor(e){h(this,"gestures",new Set),h(this,"_targetEventStore",new el(this)),h(this,"gestureEventStores",{}),h(this,"gestureTimeoutStores",{}),h(this,"handlers",{}),h(this,"config",{}),h(this,"pointerIds",new Set),h(this,"touchIds",new Set),h(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),e.drag&&eh(this,"drag"),e.wheel&&eh(this,"wheel"),e.scroll&&eh(this,"scroll"),e.move&&eh(this,"move"),e.pinch&&eh(this,"pinch"),e.hover&&eh(this,"hover")}setEventIds(e){return b(e)?(this.touchIds=new Set(Array.from(e.touches).filter(t=>{var r,n;return t.target===e.currentTarget||(null===(r=e.currentTarget)||void 0===r?void 0:null===(n=r.contains)||void 0===n?void 0:n.call(r,t.target))}).map(e=>e.identifier)),this.touchIds):"pointerId"in e?("pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId),this.pointerIds):void 0}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t){let{target:r,eventOptions:n,window:i,enabled:o,transform:a}=e,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,es),u={shared:eu({target:r,eventOptions:n,window:i,enabled:o,transform:a},ea)};if(t){let e=X.get(t);u[t]=eu(f({shared:u.shared},s),e)}else for(let e in s){let t=X.get(e);t&&(u[e]=eu(f({shared:u.shared},s[e]),t))}return u}(e,t)}clean(){for(let e of(this._targetEventStore.clean(),this.gestures))this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){let t;let r=this.config.shared,n={};if(!r.target||(t=r.target())){if(r.enabled){for(let r of this.gestures){let i=this.config[r],o=ep(n,i.eventOptions,!!t);i.enabled&&new(J.get(r))(this,e,r).bind(o)}let i=ep(n,r.eventOptions,!!t);for(let t in this.nativeHandlers)i(t,"",r=>this.nativeHandlers[t](f(f({},this.state.shared),{},{event:r,args:e})),void 0,!0)}for(let e in n)n[e]=function(...e){return 0===e.length?j:1===e.length?e[0]:function(){let t;for(let r of e)t=r.apply(this,arguments)||t;return t}}(...n[e]);if(!t)return n;for(let e in n){let{device:r,capture:i,passive:o}=function(e){let t=e.substring(2).toLowerCase(),r=!!~t.indexOf("passive");r&&(t=t.replace("passive",""));let n=y.includes(t)?"capturecapture":"capture",i=!!~t.indexOf(n);return i&&(t=t.replace("capture","")),{device:t,capture:i,passive:r}}(e);this._targetEventStore.add(t,r,"",n[e],{capture:i,passive:o})}}}}function eh(e,t){e.gestures.add(t),e.gestureEventStores[t]=new el(e,t),e.gestureTimeoutStores[t]=new ec}let ep=(e,t,r)=>(n,i,o,a={},s=!1)=>{var u,l;let c=null!==(u=a.capture)&&void 0!==u?u:t.capture,d=null!==(l=a.passive)&&void 0!==l?l:t.passive,h=s?n:function(e,t="",r=!1){let n=m[e],i=n&&n[t]||t;return"on"+g(e)+g(i)+(!function(e=!1,t){return e&&!v.includes(t)}(r,i)?"":"Capture")}(n,i,c);r&&d&&(h+="Passive"),e[h]=e[h]||[],e[h].push(o)},ef=/^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;function em(e,t,r,n,i,o){if(!e.has(r)||!J.has(n))return;let a=r+"Start",s=r+"End";i[n]=e=>{let n;return e.first&&a in t&&t[a](e),r in t&&(n=t[r](e)),e.last&&s in t&&t[s](e),n},o[n]=o[n]||{}}function eg(e,t,r,n=e=>e){return e*n(.5-t*(.5-r))}function ev(e,t){return[e[0]+t[0],e[1]+t[1]]}function ey(e,t){return[e[0]-t[0],e[1]-t[1]]}function eb(e,t){return[e[0]*t,e[1]*t]}function ew(e){return[e[1],-e[0]]}function ek(e,t){var r;return(r=ey(e,t))[0]*r[0]+r[1]*r[1]}function ex(e){var t;return t=Math.hypot(e[0],e[1]),[e[0]/t,e[1]/t]}function e_(e,t,r){let n=Math.sin(r),i=Math.cos(r),o=e[0]-t[0],a=e[1]-t[1];return[o*i-a*n+t[0],o*n+a*i+t[1]]}function eS(e,t,r){return ev(e,eb(ey(t,e),r))}var{min:eE,PI:eD}=Math,eC=eD+1e-4,ej=r(17947),eO=Object.defineProperty,eT=Object.defineProperties,eA=Object.getOwnPropertyDescriptors,eP=Object.getOwnPropertySymbols,eR=Object.prototype.hasOwnProperty,eM=Object.prototype.propertyIsEnumerable,eF=(e,t,r)=>t in e?eO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eN=(e,t)=>{for(var r in t||(t={}))eR.call(t,r)&&eF(e,r,t[r]);if(eP)for(var r of eP(t))eM.call(t,r)&&eF(e,r,t[r]);return e},eI=(e,t)=>eT(e,eA(t)),eL=(e,t)=>{var r={};for(var n in e)eR.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&eP)for(var n of eP(e))0>t.indexOf(n)&&eM.call(e,n)&&(r[n]=e[n]);return r},eB=(e,t,r)=>(eF(e,"symbol"!=typeof t?t+"":t,r),r),ez=s.createContext({});function eU(){return s.useContext(ez)}var eq=((n=eq||{}).TransformSelected="transform_selected",n.TranslateSelected="translate_selected",n.TransformAll="transform_all",n.TranslateAll="translate_all",n),e$=((i=e$||{}).Top="top_edge",i.Right="right_edge",i.Bottom="bottom_edge",i.Left="left_edge",i),eH=((o=eH||{}).TopLeft="top_left_corner",o.TopRight="top_right_corner",o.BottomRight="bottom_right_corner",o.BottomLeft="bottom_left_corner",o),eV=((a=eV||{}).minX="minX",a.midX="midX",a.maxX="maxX",a.minY="minY",a.midY="midY",a.maxY="maxY",a);String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return"[object regexp]"===Object.prototype.toString.call(e).toLowerCase()?this.replace(e,t):this.replace(RegExp(e,"g"),t)});var eW=2*Math.PI,eG=class{static lerp(e,t,r){return e*(1-(r=eG.clamp(r,0,1)))+t*r}static lerpColor(e,t,r=.5){function n(e){let t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}let i=n(e)||[0,0,0],o=n(t)||[0,0,0],a=i.slice();for(let e=0;e<3;e++)a[e]=Math.round(a[e]+r*(o[e]-i[e]));return"#"+(16777216+(a[0]<<16)+(a[1]<<8)+a[2]).toString(16).slice(1)}static modulate(e,t,r,n=!1){let[i,o]=t,[a,s]=r,u=a+(e-i)/(o-i)*(s-a);return n?a<s?Math.max(Math.min(u,s),a):Math.max(Math.min(u,a),s):u}static clamp(e,t,r){return Math.max(t,void 0!==r?Math.min(e,r):e)}static deepClone(e){if(null===e)return e;if(Array.isArray(e))return[...e];if("object"==typeof e){let t=eN({},e);return Object.keys(t).forEach(r=>t[r]="object"==typeof e[r]?eG.deepClone(e[r]):e[r]),t}return e}static rng(e=""){let t=0,r=0,n=0,i=0;function o(){let e=t^t<<11;return t=r,r=n,n=i,(i^=(i>>>19^e^e>>>8)>>>0)/4294967296}for(let r=0;r<e.length+64;r++)t^=0|e.charCodeAt(r),o();return o}static pointsToLineSegments(e,t=!1){let r=[];for(let t=1;t<e.length;t++)r.push([e[t-1],e[t]]);return t&&r.push([e[e.length-1],e[0]]),r}static getRectangleSides(e,t,r=0){let n=[e[0]+t[0]/2,e[1]+t[1]/2],i=u.B.rotWith(e,n,r),o=u.B.rotWith(u.B.add(e,[t[0],0]),n,r),a=u.B.rotWith(u.B.add(e,t),n,r),s=u.B.rotWith(u.B.add(e,[0,t[1]]),n,r);return[["top",[i,o]],["right",[o,a]],["bottom",[a,s]],["left",[s,i]]]}static circleFromThreePoints(e,t,r){let[n,i]=e,[o,a]=t,[s,u]=r,l=n*(a-u)-i*(o-s)+o*u-s*a,c=-((n*n+i*i)*(u-a)+(o*o+a*a)*(i-u)+(s*s+u*u)*(a-i))/(2*l),d=-((n*n+i*i)*(o-s)+(o*o+a*a)*(s-n)+(s*s+u*u)*(n-o))/(2*l);return[c,d,Math.hypot(c-n,d-i)]}static perimeterOfEllipse(e,t){let r=Math.pow(e-t,2)/Math.pow(e+t,2);return Math.PI*(e+t)*(1+3*r/(10+Math.sqrt(4-3*r)))}static shortAngleDist(e,t){let r=2*Math.PI,n=(t-e)%r;return 2*n%r-n}static longAngleDist(e,t){return 2*Math.PI-eG.shortAngleDist(e,t)}static lerpAngles(e,t,r){return e+eG.shortAngleDist(e,t)*r}static angleDelta(e,t){return eG.shortAngleDist(e,t)}static getSweep(e,t,r){return eG.angleDelta(u.B.angle(e,t),u.B.angle(e,r))}static clampRadians(e){return(2*Math.PI+e)%(2*Math.PI)}static snapAngleToSegments(e,t){let r=2*Math.PI/t;return Math.floor((eG.clampRadians(e)+r/2)/r)*r}static isAngleBetween(e,t,r){if(r===e||r===t)return!0;let n=(t-e+eW)%eW;return n<=Math.PI!=(r-e+eW)%eW>n}static degreesToRadians(e){return e*Math.PI/180}static radiansToDegrees(e){return 180*e/Math.PI}static getArcLength(e,t,r,n){return 2*Math.PI*t*(eG.getSweep(e,r,n)/(2*Math.PI))}static getSweepFlag(e,t,r){let n=u.B.angle(e,r);return(u.B.angle(e,t)-n+3*Math.PI)%(2*Math.PI)-Math.PI>0?0:1}static getLargeArcFlag(e,t,r){let n=u.B.angle(r,e);return Math.abs((u.B.angle(r,t)-n+3*Math.PI)%(2*Math.PI)-Math.PI)>Math.PI/2?0:1}static getArcDashOffset(e,t,r,n,i){let o=eG.getSweepFlag(e,r,n),a=eG.getArcLength(e,t,r,n);return-(o<0?a:2*Math.PI*e[2]-a)/2+i}static getEllipseDashOffset(e,t){return-(2*Math.PI*e[2])/2+-t}static pointInCircle(e,t,r){return u.B.dist(e,t)<=r}static pointInEllipse(e,t,r,n,i=0){let o=Math.cos(i=i||0),a=Math.sin(i),s=u.B.sub(e,t),l=o*s[0]+a*s[1],c=a*s[0]-o*s[1];return l*l/(r*r)+c*c/(n*n)<=1}static pointInRect(e,t){return!(e[0]<t[0]||e[0]>e[0]+t[0]||e[1]<t[1]||e[1]>e[1]+t[1])}static pointInPolygon(e,t){let r=0;return t.forEach((n,i)=>{let o=t[(i+1)%t.length];n[1]<=e[1]?o[1]>e[1]&&u.B.cross(n,o,e)>0&&(r+=1):o[1]<=e[1]&&0>u.B.cross(n,o,e)&&(r-=1)}),0!==r}static pointInBounds(e,t){return!(e[0]<t.minX||e[0]>t.maxX||e[1]<t.minY||e[1]>t.maxY)}static pointInPolyline(e,t,r=3){for(let n=1;n<t.length;n++)if(u.B.distanceToLineSegment(t[n-1],t[n],e)<r)return!0;return!1}static getBoundsSides(e){return this.getRectangleSides([e.minX,e.minY],[e.width,e.height])}static expandBounds(e,t){return{minX:e.minX-t,minY:e.minY-t,maxX:e.maxX+t,maxY:e.maxY+t,width:e.width+2*t,height:e.height+2*t}}static boundsCollide(e,t){return!(e.maxX<t.minX||e.minX>t.maxX||e.maxY<t.minY||e.minY>t.maxY)}static boundsContain(e,t){return e.minX<t.minX&&e.minY<t.minY&&e.maxY>t.maxY&&e.maxX>t.maxX}static boundsContained(e,t){return eG.boundsContain(t,e)}static boundsAreEqual(e,t){return!(t.maxX!==e.maxX||t.minX!==e.minX||t.maxY!==e.maxY||t.minY!==e.minY)}static getBoundsFromPoints(e,t=0){let r=1/0,n=1/0,i=-1/0,o=-1/0;if(e.length<2)r=0,n=0,i=1,o=1;else for(let[t,a]of e)r=Math.min(t,r),n=Math.min(a,n),i=Math.max(t,i),o=Math.max(a,o);return 0!==t?eG.getBoundsFromPoints(e.map(e=>u.B.rotWith(e,[(r+i)/2,(n+o)/2],t))):{minX:r,minY:n,maxX:i,maxY:o,width:Math.max(1,i-r),height:Math.max(1,o-n)}}static centerBounds(e,t){let r=this.getBoundsCenter(e),n=t[0]-r[0],i=t[1]-r[1];return this.translateBounds(e,[n,i])}static snapBoundsToGrid(e,t){let r=Math.round(e.minX/t)*t,n=Math.round(e.minY/t)*t,i=Math.round(e.maxX/t)*t,o=Math.round(e.maxY/t)*t;return{minX:r,minY:n,maxX:i,maxY:o,width:Math.max(1,i-r),height:Math.max(1,o-n)}}static translateBounds(e,t){return{minX:e.minX+t[0],minY:e.minY+t[1],maxX:e.maxX+t[0],maxY:e.maxY+t[1],width:e.width,height:e.height}}static rotateBounds(e,t,r){let[n,i]=u.B.rotWith([e.minX,e.minY],t,r),[o,a]=u.B.rotWith([e.maxX,e.maxY],t,r);return{minX:n,minY:i,maxX:o,maxY:a,width:e.width,height:e.height}}static getRotatedEllipseBounds(e,t,r,n,i=0){let o=Math.cos(i),a=Math.sin(i),s=Math.hypot(r*o,n*a),u=Math.hypot(r*a,n*o);return{minX:e+r-s,minY:t+n-u,maxX:e+r+s,maxY:t+n+u,width:2*s,height:2*u}}static getExpandedBounds(e,t){let r=Math.min(e.minX,t.minX),n=Math.min(e.minY,t.minY),i=Math.max(e.maxX,t.maxX),o=Math.max(e.maxY,t.maxY),a=Math.abs(i-r),s=Math.abs(o-n);return{minX:r,minY:n,maxX:i,maxY:o,width:a,height:s}}static getCommonBounds(e){if(e.length<2)return e[0];let t=e[0];for(let r=1;r<e.length;r++)t=eG.getExpandedBounds(t,e[r]);return t}static getRotatedCorners(e,t=0){let r=[e.minX+e.width/2,e.minY+e.height/2];return[[e.minX,e.minY],[e.maxX,e.minY],[e.maxX,e.maxY],[e.minX,e.maxY]].map(e=>u.B.rotWith(e,r,t))}static getTransformedBoundingBox(e,t,r,n=0,i=!1){let[o,a]=[e.minX,e.minY],[s,l]=[e.maxX,e.maxY],[c,d]=[e.minX,e.minY],[h,p]=[e.maxX,e.maxY];if("center"===t)return{minX:c+r[0],minY:d+r[1],maxX:h+r[0],maxY:p+r[1],width:h-c,height:p-d,scaleX:1,scaleY:1};let[f,m]=u.B.rot(r,-n);switch(t){case"top_edge":case"top_left_corner":case"top_right_corner":d+=m;break;case"bottom_edge":case"bottom_left_corner":case"bottom_right_corner":p+=m}switch(t){case"left_edge":case"top_left_corner":case"bottom_left_corner":c+=f;break;case"right_edge":case"top_right_corner":case"bottom_right_corner":h+=f}let g=s-o,v=l-a,y=(h-c)/g,b=(p-d)/v,w=Math.abs(h-c),k=Math.abs(p-d);if(i){let e=g/v,r=e<w/k,n=w*(b<0?1:-1)*(1/e),i=k*(y<0?1:-1)*e;switch(t){case"top_left_corner":r?d=p+n:c=h+i;break;case"top_right_corner":r?d=p+n:h=c-i;break;case"bottom_right_corner":r?p=d-n:h=c-i;break;case"bottom_left_corner":r?p=d-n:c=h+i;break;case"bottom_edge":case"top_edge":{let t=(c+h)/2,r=k*e;c=t-r/2,h=t+r/2;break}case"left_edge":case"right_edge":{let t=(d+p)/2,r=w/e;d=t-r/2,p=t+r/2}}}if(n%(2*Math.PI)!=0){let e=[0,0],r=u.B.med([o,a],[s,l]),i=u.B.med([c,d],[h,p]);switch(t){case"top_left_corner":e=u.B.sub(u.B.rotWith([h,p],i,n),u.B.rotWith([s,l],r,n));break;case"top_right_corner":e=u.B.sub(u.B.rotWith([c,p],i,n),u.B.rotWith([o,l],r,n));break;case"bottom_right_corner":e=u.B.sub(u.B.rotWith([c,d],i,n),u.B.rotWith([o,a],r,n));break;case"bottom_left_corner":e=u.B.sub(u.B.rotWith([h,d],i,n),u.B.rotWith([s,a],r,n));break;case"top_edge":e=u.B.sub(u.B.rotWith(u.B.med([c,p],[h,p]),i,n),u.B.rotWith(u.B.med([o,l],[s,l]),r,n));break;case"left_edge":e=u.B.sub(u.B.rotWith(u.B.med([h,d],[h,p]),i,n),u.B.rotWith(u.B.med([s,a],[s,l]),r,n));break;case"bottom_edge":e=u.B.sub(u.B.rotWith(u.B.med([c,d],[h,d]),i,n),u.B.rotWith(u.B.med([o,a],[s,a]),r,n));break;case"right_edge":e=u.B.sub(u.B.rotWith(u.B.med([c,d],[c,p]),i,n),u.B.rotWith(u.B.med([o,a],[o,l]),r,n))}[c,d]=u.B.sub([c,d],e),[h,p]=u.B.sub([h,p],e)}return h<c&&([h,c]=[c,h]),p<d&&([p,d]=[d,p]),{minX:c,minY:d,maxX:h,maxY:p,width:h-c,height:p-d,scaleX:(h-c)/(s-o||1)*(y<0?-1:1),scaleY:(p-d)/(l-a||1)*(b<0?-1:1)}}static getTransformAnchor(e,t,r){let n=e;switch(e){case"top_left_corner":n=t&&r?"bottom_right_corner":t?"top_right_corner":r?"bottom_left_corner":"bottom_right_corner";break;case"top_right_corner":n=t&&r?"bottom_left_corner":t?"top_left_corner":r?"bottom_right_corner":"bottom_left_corner";break;case"bottom_right_corner":n=t&&r?"top_left_corner":t?"bottom_left_corner":r?"top_right_corner":"top_left_corner";break;case"bottom_left_corner":n=t&&r?"top_right_corner":t?"bottom_right_corner":r?"top_left_corner":"top_right_corner"}return n}static getRelativeTransformedBoundingBox(e,t,r,n,i){let o=(n?t.maxX-r.maxX:r.minX-t.minX)/t.width,a=(i?t.maxY-r.maxY:r.minY-t.minY)/t.height,s=r.width/t.width,u=r.height/t.height,l=e.minX+e.width*o,c=e.minY+e.height*a,d=e.width*s,h=e.height*u;return{minX:l,minY:c,maxX:l+d,maxY:c+h,width:d,height:h}}static getRotatedSize(e,t){let r=u.B.div(e,2),n=[[0,0],[e[0],0],e,[0,e[1]]].map(e=>u.B.rotWith(e,r,t)),i=eG.getBoundsFromPoints(n);return[i.width,i.height]}static getBoundsCenter(e){return[e.minX+e.width/2,e.minY+e.height/2]}static getBoundsWithCenter(e){let t=eG.getBoundsCenter(e);return eI(eN({},e),{midX:t[0],midY:t[1]})}static getCommonTopLeft(e){let t=[1/0,1/0];return e.forEach(e=>{t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1])}),t}static getFromCache(e,t,r){let n=e.get(t);if(void 0===n&&(e.set(t,r()),void 0===(n=e.get(t))))throw Error("Cache did not include item!");return n}static uniqueId(e=""){return e?((Number(e)^16*Math.random())>>Number(e)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,eG.uniqueId)}static rotateArray(e,t){return e.map((r,n)=>e[(n+t)%e.length])}static debounce(e,t=0){let r;return function(...n){clearTimeout(r),r=setTimeout(()=>e.apply(n),t)}}static getSvgPathFromStroke(e){let t=e.length;if(!t)return"";let r=e[0],n=`M${r[0].toFixed(3)},${r[1].toFixed(3)}Q`;for(let r=0,i=t-1;r<i;r++){let t=e[r],i=e[r+1];n+=`${t[0].toFixed(3)},${t[1].toFixed(3)} ${((t[0]+i[0])/2).toFixed(3)},${((t[1]+i[1])/2).toFixed(3)} `}return n+"Z"}static getSvgPathFromStrokePoints(e){let t=e.length;if(!t)return"";let r=e[0].point,n=`M${r[0].toFixed(3)},${r[1].toFixed(3)}Q`;for(let r=0,i=t-1;r<i;r++){let t=e[r].point,i=e[r+1].point;n+=`${t[0].toFixed(3)},${t[1].toFixed(3)} ${((t[0]+i[0])/2).toFixed(3)},${((t[1]+i[1])/2).toFixed(3)} `}return n}static getPerfectDashProps(e,t,r,n=1,i=!0,o=2){let a,s,u;if("dashed"===r.toLowerCase())a=t*o,u=1,s=i?(a/2).toString():"0";else{if("dotted"!==r.toLowerCase())return{strokeDasharray:"none",strokeDashoffset:"none"};a=t/100,u=100,s="0"}let l=Math.floor(e/a/(2*u));l-=l%n,l=Math.max(l,4);let c=Math.max(a,(e-l*a)/(i?l:l-1));return{strokeDasharray:[a,c].join(" "),strokeDashoffset:s}}static isMobileSafari(){if("undefined"==typeof window)return!1;let e=window.navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),r=!!e.match(/WebKit/i);return t&&r&&!e.match(/CriOS/i)}static throttle(e,t){let r,n;return function(...i){return r||(r=!0,setTimeout(()=>r=!1,t),n=e(...i)),n}}static isDarwin(){return/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)}static metaKey(e){return eG.isDarwin()?e.metaKey:e.ctrlKey}static lns(e){let t=e.split("");return t.push(...t.splice(0,Math.round(t.length/5))),t.push(...t.splice(0,Math.round(t.length/4))),t.push(...t.splice(0,Math.round(t.length/3))),t.push(...t.splice(0,Math.round(t.length/2))),t.reverse().map(e=>+e?5>+e?5+ +e:+e>5?+e-5:e:e).join("")}},eY=eG;eB(eY,"getSnapPoints",(e,t,r)=>{let n=eN({},e),i=[0,0],o=[],a={minX:{id:"minX",isSnapped:!1},midX:{id:"midX",isSnapped:!1},maxX:{id:"maxX",isSnapped:!1},minY:{id:"minY",isSnapped:!1},midY:{id:"midY",isSnapped:!1},maxY:{id:"maxY",isSnapped:!1}},s=["midX","minX","maxX"],u=["midY","minY","maxY"],l=t.map(e=>{let t=s.flatMap((t,r)=>s.map((i,o)=>{let a=n[t]-e[i],s=Math.abs(a);return{f:t,t:i,gap:a,distance:s,isCareful:0===r||r+o===3}})),r=u.flatMap((t,r)=>u.map((i,o)=>{let a=n[t]-e[i],s=Math.abs(a);return{f:t,t:i,gap:a,distance:s,isCareful:0===r||r+o===3}}));return[e,t,r]}),c=1/0,d=1/0,h=1/0,p=1/0;return l.forEach(([e,t,n])=>{t.forEach(e=>{e.distance<r&&e.distance<h&&(h=e.distance,c=e.gap)}),n.forEach(e=>{e.distance<r&&e.distance<p&&(p=e.distance,d=e.gap)})}),l.forEach(([e,t,r])=>{c!==1/0&&t.forEach(t=>{2>Math.abs(t.gap-c)&&(a[t.f]=eI(eN({},a[t.f]),{isSnapped:!0,to:e[t.t],B:e,distance:t.distance}))}),d!==1/0&&r.forEach(t=>{2>Math.abs(t.gap-d)&&(a[t.f]=eI(eN({},a[t.f]),{isSnapped:!0,to:e[t.t],B:e,distance:t.distance}))})}),i[0]=c===1/0?0:c,i[1]=d===1/0?0:d,n.minX-=i[0],n.midX-=i[0],n.maxX-=i[0],n.minY-=i[1],n.midY-=i[1],n.maxY-=i[1],s.forEach(e=>{let t=a[e];if(!t.isSnapped)return;let{id:r,B:i}=t,s=n[r];o.push("minX"===r?[[s,n.midY],[s,i.minY],[s,i.maxY]]:[[s,n.minY],[s,n.maxY],[s,i.minY],[s,i.maxY]])}),u.forEach(e=>{let t=a[e];if(!t.isSnapped)return;let{id:r,B:i}=t,s=n[r];o.push("midY"===r?[[n.midX,s],[i.minX,s],[i.maxX,s]]:[[n.minX,s],[n.maxX,s],[i.minX,s],[i.maxX,s]])}),{offset:i,snapLines:o}}),eB(eY,"deepMerge",(e,t)=>{let r=eN({},e);for(let[e,n]of Object.entries(t))r[e]=n!==Object(n)||Array.isArray(n)?n:eG.deepMerge(r[e],n);return r});var eZ=new Map,eK={accent:"rgb(255, 0, 0)",brushFill:"rgba(0,0,0,.05)",brushStroke:"rgba(0,0,0,.25)",brushDashStroke:"rgba(0,0,0,.6)",selectStroke:"rgb(66, 133, 244)",selectFill:"rgba(65, 132, 244, 0.05)",binding:"rgba(65, 132, 244, 0.12)",background:"rgb(248, 249, 250)",foreground:"rgb(51, 51, 51)",grid:"rgba(144, 144, 144, 1)"},eJ=((e,...t)=>e.reduce((e,r,n)=>e+r+(n<t.length?t[n]:""),""))`
  .tl-container {
    --tl-zoom: 1;
    --tl-scale: calc(1 / var(--tl-zoom));
    --tl-padding: calc(64px * max(1, var(--tl-scale)));
    --tl-performance-all: auto;
    --tl-performance-selected: auto;
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    z-index: 100;
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
    background-color: var(--tl-background);
  }
  .tl-container * {
    box-sizing: border-box;
  }
  .tl-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    touch-action: none;
    pointer-events: none;
  }
  .tl-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    touch-action: none;
    pointer-events: none;
    user-select: none;
  }
  .tl-snap-line {
    stroke: var(--tl-accent);
    stroke-width: calc(1px * var(--tl-scale));
  }
  .tl-snap-point {
    stroke: var(--tl-accent);
    stroke-width: calc(1px * var(--tl-scale));
  }
  .tl-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    touch-action: none;
    pointer-events: all;
    overflow: clip;
  }
  .tl-layer {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 0px;
    width: 0px;
    contain: layout style size;
  }
  .tl-absolute {
    position: absolute;
    top: 0px;
    left: 0px;
    transform-origin: center center;
    contain: layout style size;
  }
  .tl-positioned {
    position: absolute;
    top: 0px;
    left: 0px;
    transform-origin: center center;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    contain: layout style size;
    will-change: var(--tl-performance-all);
  }
  .tl-positioned-svg {
    width: 100%;
    height: 100%;
    overflow: hidden;
    contain: layout style size;
  }
  .tl-positioned-div {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: var(--tl-padding);
    overflow: hidden;
    contain: layout style size;
  }
  .tl-positioned-selected {
    will-change: var(--tl-performance-selected);
  }
  .tl-inner-div {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .tl-stroke-hitarea {
    fill: none;
    stroke: transparent;
    stroke-width: calc(24px * var(--tl-scale));
    pointer-events: stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .tl-fill-hitarea {
    fill: transparent;
    stroke: transparent;
    stroke-width: calc(24px * var(--tl-scale));
    pointer-events: all;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .tl-counter-scaled {
    transform: scale(var(--tl-scale));
  }
  .tl-dashed {
    stroke-dasharray: calc(2px * var(--tl-scale)), calc(2px * var(--tl-scale));
  }
  .tl-transparent {
    fill: transparent;
    stroke: transparent;
  }
  .tl-cursor-ns {
    cursor: ns-resize;
  }
  .tl-cursor-ew {
    cursor: ew-resize;
  }
  .tl-cursor-nesw {
    cursor: nesw-resize;
  }
  .tl-cursor-nwse {
    cursor: nwse-resize;
  }
  .tl-corner-handle {
    stroke: var(--tl-selectStroke);
    fill: var(--tl-background);
    stroke-width: calc(1.5px * var(--tl-scale));
  }
  .tl-rotate-handle {
    stroke: var(--tl-selectStroke);
    fill: var(--tl-background);
    stroke-width: calc(1.5px * var(--tl-scale));
    cursor: grab;
  }
  .tl-binding {
    fill: var(--tl-selectFill);
    stroke: var(--tl-selectStroke);
    stroke-width: calc(1px * var(--tl-scale));
    pointer-events: none;
  }
  .tl-user {
    left: calc(-15px * var(--tl-scale));
    top: calc(-15px * var(--tl-scale));
    height: calc(35px * var(--tl-scale));
    width: calc(35px * var(--tl-scale));
    transform: scale(var(--tl-scale));
    pointer-events: none;
    will-change: transform;
  }
  .tl-animated {
    transition: transform 200ms linear;
  }
  .tl-indicator {
    fill: transparent;
    stroke-width: calc(1.5px * var(--tl-scale));
    pointer-events: none;
  }
  .tl-user-indicator-bounds {
    border-style: solid;
    border-width: calc(1px * var(--tl-scale));
  }
  .tl-hovered {
    stroke: var(--tl-selectStroke);
  }
  .tl-selected {
    stroke: var(--tl-selectStroke);
  }
  .tl-locked {
    stroke-dasharray: calc(3px * var(--tl-scale)) calc(3px * var(--tl-scale));
  }
  .tl-editing {
    stroke-width: calc(2.5px * min(5, var(--tl-scale)));
  }
  .tl-performance {
    will-change: transform, contents;
  }
  .tl-clone-target {
    pointer-events: all;
  }
  .tl-clone-target:hover .tl-clone-button {
    opacity: 1;
  }
  .tl-clone-button-target {
    cursor: pointer;
    pointer-events: all;
  }
  .tl-clone-button-target:hover .tl-clone-button {
    fill: var(--tl-selectStroke);
  }
  .tl-clone-button {
    opacity: 0;
    r: calc(8px * var(--tl-scale));
    stroke-width: calc(1.5px * var(--tl-scale));
    stroke: var(--tl-selectStroke);
    fill: var(--tl-background);
  }
  .tl-bounds {
    pointer-events: none;
    contain: layout style size;
  }
  .tl-bounds-bg {
    stroke: none;
    fill: var(--tl-selectFill);
    pointer-events: all;
    contain: layout style size;
  }
  .tl-bounds-center {
    fill: transparent;
    stroke: var(--tl-selectStroke);
    stroke-width: calc(1.5px * var(--tl-scale));
  }
  .tl-brush {
    fill: var(--tl-brushFill);
    stroke: var(--tl-brushStroke);
    stroke-width: calc(1px * var(--tl-scale));
    pointer-events: none;
    contain: layout style size;
  }
  .tl-dashed-brush-line {
    fill: none;
    stroke: var(--tl-brushDashStroke);
    stroke-width: calc(1px * var(--tl-scale));
    pointer-events: none;
  }
  .tl-brush.dashed {
    stroke: none;
  }
  .tl-handle {
    pointer-events: all;
    cursor: grab;
  }
  .tl-handle:hover .tl-handle-bg {
    fill: var(--tl-selectFill);
  }
  .tl-handle:hover .tl-handle-bg > * {
    stroke: var(--tl-selectFill);
  }
  .tl-handle:active .tl-handle-bg {
    cursor: grabbing;
    fill: var(--tl-selectFill);
  }
  .tl-handle:active .tl-handle-bg > * {
    stroke: var(--tl-selectFill);
  }
  .tl-handle {
    fill: var(--tl-background);
    stroke: var(--tl-selectStroke);
    stroke-width: 1.5px;
  }
  .tl-handle-bg {
    fill: transparent;
    stroke: none;
    pointer-events: all;
    r: calc(16px / max(1, var(--tl-zoom)));
  }
  .tl-binding-indicator {
    fill: transparent;
    stroke: var(--tl-binding);
  }
  .tl-centered-g {
    transform: translate(var(--tl-padding), var(--tl-padding));
  }
  .tl-current-parent > *[data-shy='true'] {
    opacity: 1;
  }
  .tl-binding {
    fill: none;
    stroke: var(--tl-selectStroke);
    stroke-width: calc(2px * var(--tl-scale));
  }
  .tl-grid-dot {
    fill: var(--tl-grid);
  }
  .tl-erase-line {
    stroke-linejoin: round;
    stroke-linecap: round;
    pointer-events: none;
    fill: var(--tl-grid);
    opacity: 0.32;
  }
`;function eX(e){let{callbacks:t,inputs:r}=eU(),n=s.useCallback(n=>{var i,o,a;if(n.dead||(n.dead=!0,!r.pointerIsValid(n)))return;let s=r.pointerDown(n,e);if(2===n.button){null==(i=t.onRightPointBoundsHandle)||i.call(t,s,n);return}0===n.button&&(null==(o=t.onPointBoundsHandle)||o.call(t,s,n)),null==(a=t.onPointerDown)||a.call(t,s,n)},[r,t,e]),i=s.useCallback(n=>{var i,o,a;if(n.dead||(n.dead=!0,2===n.button||!r.pointerIsValid(n)))return;let s=r.pointerUp(n,e),u=r.isDoubleClick();0===n.button&&(u&&!(s.altKey||s.metaKey)&&(null==(i=t.onDoubleClickBoundsHandle)||i.call(t,s,n)),null==(o=t.onReleaseBoundsHandle)||o.call(t,s,n)),null==(a=t.onPointerUp)||a.call(t,s,n)},[r,t,e]),o=s.useCallback(n=>{var i,o;if(n.dead||(n.dead=!0,!r.pointerIsValid(n))||2===n.buttons)return;let a=r.pointerMove(n,e);1===n.buttons&&n.currentTarget.hasPointerCapture(n.pointerId)&&(null==(i=t.onDragBoundsHandle)||i.call(t,a,n)),null==(o=t.onPointerMove)||o.call(t,a,n)},[r,t,e]);return{onPointerDown:n,onPointerUp:i,onPointerEnter:s.useCallback(n=>{var i;r.pointerIsValid(n)&&null!=(i=t.onHoverBoundsHandle)&&i.call(t,r.pointerEnter(n,e),n)},[r,t,e]),onPointerMove:o,onPointerLeave:s.useCallback(n=>{var i;r.pointerIsValid(n)&&null!=(i=t.onUnhoverBoundsHandle)&&i.call(t,r.pointerEnter(n,e),n)},[r,t,e])}}function eQ(e,t){return[(e[0]+t.point[0])*t.zoom,(e[1]+t.point[1])*t.zoom]}function e0(e,t=0){let r=s.useRef(null);return s.useLayoutEffect(()=>{let n=r.current,i=`
    translate(
      calc(${e.minX}px - var(--tl-padding)),
      calc(${e.minY}px - var(--tl-padding))
    )
    rotate(${t+(e.rotation||0)}rad)`;n.style.setProperty("transform",i),n.style.setProperty("width",`calc(${Math.floor(e.width)}px + (var(--tl-padding) * 2))`),n.style.setProperty("height",`calc(${Math.floor(e.height)}px + (var(--tl-padding) * 2))`)},[e,t]),r}var e1=s.memo(function(e){var{id:t,bounds:r,rotation:n=0,isGhost:i=!1,isSelected:o=!1,children:a}=e,u=eL(e,["id","bounds","rotation","isGhost","isSelected","children"]);let l=e0(r,n);return s.createElement("div",eN({id:t,ref:l,className:`tl-positioned${i?" tl-ghost":""}${o?" tl-positioned-selected":""}`,"aria-label":"container","data-testid":"container"},u),a)}),e2=s.memo(function({brush:e,zoom:t,dashed:r}){return s.createElement(e1,{bounds:e,rotation:0},s.createElement(e9,null,s.createElement("rect",{className:"tl-brush"+(r?" dashed":""),opacity:1,x:0,y:0,width:e.width,height:e.height,"aria-label":"brush"}),r&&s.createElement("g",{className:"tl-dashed-brush-line"},s.createElement(e3,{x1:0,y1:0,x2:e.width,y2:0,zoom:t}),s.createElement(e3,{x1:e.width,y1:0,x2:e.width,y2:e.height,zoom:t}),s.createElement(e3,{x1:0,y1:e.height,x2:e.width,y2:e.height,zoom:t}),s.createElement(e3,{x1:0,y1:0,x2:0,y2:e.height,zoom:t}))))});function e3({x1:e,y1:t,x2:r,y2:n,zoom:i}){let o=eY.getPerfectDashProps(Math.hypot(r-e,n-t),1/i,"dashed",1,!0,3);return s.createElement("line",{x1:e,y1:t,x2:r,y2:n,strokeWidth:1/i,strokeDasharray:o.strokeDasharray,strokeDashoffset:o.strokeDashoffset})}var e5=s.memo(function({points:e,zoom:t}){if(0===e.length)return null;let r=eY.getSvgPathFromStroke(function(e,t={}){return function(e,t={}){var r,n;let{size:i=16,smoothing:o=.5,thinning:a=.5,simulatePressure:s=!0,easing:u=e=>e,start:l={},end:c={},last:d=!1}=t,{cap:h=!0,easing:p=e=>e*(2-e)}=l,{cap:f=!0,easing:m=e=>--e*e*e+1}=c;if(0===e.length||i<=0)return[];let g=e[e.length-1].runningLength,v=!1===l.taper?0:!0===l.taper?Math.max(i,g):l.taper,y=!1===c.taper?0:!0===c.taper?Math.max(i,g):c.taper,b=Math.pow(i*o,2),w=[],k=[],x=e.slice(0,10).reduce((e,t)=>{let r=t.pressure;if(s){let n=eE(1,t.distance/i),o=eE(1,1-n);r=eE(1,e+.275*n*(o-e))}return(e+r)/2},e[0].pressure),_=eg(i,a,e[e.length-1].pressure,u),S,E=e[0].vector,D=e[0].point,C=D,j=D,O=C;for(let t=0;t<e.length;t++){let{pressure:r}=e[t],{point:n,vector:o,distance:l,runningLength:c}=e[t];if(t<e.length-1&&g-c<3)continue;if(a){if(s){let e=eE(1,l/i),t=eE(1,1-e);r=eE(1,x+.275*e*(t-x))}_=eg(i,a,r,u)}else _=i/2;if(void 0===S&&(S=_),_=Math.max(.01,_*Math.min(c<v?p(c/v):1,g-c<y?m((g-c)/y):1)),t===e.length-1){let e=eb(ew(o),_);w.push(ey(n,e)),k.push(ev(n,e));continue}let d=e[t+1].vector,h=o[0]*d[0]+o[1]*d[1];if(h<0){let e=eb(ew(E),_);for(let t=1/13,r=0;r<=1;r+=t)j=e_(ey(n,e),n,eC*r),w.push(j),O=e_(ev(n,e),n,-(eC*r)),k.push(O);D=j,C=O;continue}let f=eb(ew(eS(d,o,h)),_);j=ey(n,f),(t<=1||ek(D,j)>b)&&(w.push(j),D=j),O=ev(n,f),(t<=1||ek(C,O)>b)&&(k.push(O),C=O),x=r,E=o}let T=e[0].point.slice(0,2),A=e.length>1?e[e.length-1].point.slice(0,2):ev(e[0].point,[1,1]),P=[],R=[];if(1===e.length){if(!(v||y)||d){let e=(r=ex(ew(ey(T,A))),ev(T,eb(r,-(S||_)))),t=[];for(let r=1/13,n=r;n<=1;n+=r)t.push(e_(e,T,2*eC*n));return t}}else{if(!(v||y&&1===e.length)){if(h)for(let e=1/13,t=e;t<=1;t+=e){let e=e_(k[0],T,eC*t);P.push(e)}else{let e=ey(w[0],k[0]),t=eb(e,.5),r=eb(e,.51);P.push(ey(T,t),ey(T,r),ev(T,r),ev(T,t))}}let t=ew([-(n=e[e.length-1].vector)[0],-n[1]]);if(y||v&&1===e.length)R.push(A);else if(f){let e=ev(A,eb(t,_));for(let t=1/29,r=t;r<1;r+=t)R.push(e_(e,A,3*eC*r))}else R.push(ev(A,eb(t,_)),ev(A,eb(t,.99*_)),ey(A,eb(t,.99*_)),ey(A,eb(t,_)))}return w.concat(R,k.reverse(),P)}(function(e,t={}){var r,n,i;let{streamline:o=.5,size:a=16,last:s=!1}=t;if(0===e.length)return[];let u=.15+(1-o)*.85,l=Array.isArray(e[0])?e:e.map(({x:e,y:t,pressure:r=.5})=>[e,t,r]);if(2===l.length){let e=l[1];l=l.slice(0,-1);for(let t=1;t<5;t++)l.push(eS(l[0],e,t/4))}1===l.length&&(l=[...l,[...ev(l[0],[1,1]),...l[0].slice(2)]]);let c=[{point:[l[0][0],l[0][1]],pressure:l[0][2]>=0?l[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],d=!1,h=0,p=c[0],f=l.length-1;for(let e=1;e<l.length;e++){let t=s&&e===f?l[e].slice(0,2):eS(p.point,l[e],u);if((n=p.point)[0]===t[0]&&n[1]===t[1])continue;let r=(i=p.point,Math.hypot(t[1]-i[1],t[0]-i[0]));if(h+=r,e<f&&!d){if(h<a)continue;d=!0}p={point:t,pressure:l[e][2]>=0?l[e][2]:.5,vector:ex(ey(p.point,t)),distance:r,runningLength:h},c.push(p)}return c[0].vector=(null==(r=c[1])?void 0:r.vector)||[0,0],c}(e,t),t)}(e,{size:16/t,start:{taper:!0}}));return s.createElement("path",{d:r,className:"tl-erase-line"})}),e4=[[-1,.15,64],[.05,.375,16],[.15,1,4],[.7,2.5,1]];function e6({grid:e,camera:t}){return s.createElement("svg",{className:"tl-grid",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s.createElement("defs",null,e4.map(([r,n,i],o)=>{let a=i*e*t.zoom,u=t.point[0]*t.zoom,l=t.point[1]*t.zoom,c=u>0?u%a:a+u%a,d=l>0?l%a:a+l%a,h=t.zoom<n?eY.modulate(t.zoom,[r,n],[0,1]):1;return s.createElement("pattern",{key:`grid-pattern-${o}`,id:`grid-${o}`,width:a,height:a,patternUnits:"userSpaceOnUse"},s.createElement("circle",{className:"tl-grid-dot",cx:c,cy:d,r:1,opacity:h}))})),e4.map((e,t)=>s.createElement("rect",{key:`grid-rect-${t}`,width:"100%",height:"100%",fill:`url(#grid-${t})`})))}var e8=s.memo(function({camera:{zoom:e,point:t},children:r}){let n=2.5/e;return s.createElement("svg",{className:"tl-overlay"},s.createElement("defs",null,s.createElement("g",{id:"tl-snap-point"},s.createElement("path",{className:"tl-snap-point",d:`M ${-n},${-n} L ${n},${n} M ${-n},${n} L ${n},${-n}`}))),s.createElement("g",{transform:`scale(${e}) translate(${t})`},r))}),e9=s.memo(s.forwardRef(function(e,t){var{id:r,className:n="",children:i,shapeStyle:o}=e,a=eL(e,["id","className","children","shapeStyle"]);let u=o?{"data-color":o.color,"data-fill":o.isFilled}:{};return s.createElement("svg",eN({ref:t,className:`tl-positioned-svg ${n}`},a),s.createElement("g",eN({id:r,className:"tl-centered-g"},u),i))})),e7=s.memo(function({bounds:e,isLocked:t,isHidden:r}){return s.createElement("rect",{className:["tl-bounds-center",t?"tl-dashed":""].join(" "),x:-1,y:-1,width:e.width+2,height:e.height+2,opacity:r?0:1,pointerEvents:"none","aria-label":"center handle"})}),te={right:0,bottomRight:45,bottom:90,bottomLeft:135,left:180,topLeft:225,top:270,topRight:315},tt=s.memo(function({bounds:e,side:t,targetSize:r,size:n}){let i=2*r,o={left:-i,topLeft:-i,bottomLeft:-i,right:e.width,topRight:e.width,bottomRight:e.width,top:e.width/2-i/2,bottom:e.width/2-i/2}[t],a={left:e.height/2-i/2,right:e.height/2-i/2,top:-(2*i),topLeft:-i,topRight:-i,bottom:e.height,bottomLeft:e.height,bottomRight:e.height}[t],{callbacks:u,inputs:l}=eU(),c=s.useCallback(e=>{var r;e.stopPropagation();let n=l.pointerDown(e,t);null==(r=u.onShapeClone)||r.call(u,n,e)},[u.onShapeClone]);return s.createElement("g",{className:"tl-clone-target",transform:`translate(${o}, ${a})`,"aria-label":"clone button"},s.createElement("rect",{className:"tl-transparent",width:2*r,height:2*r}),s.createElement("g",{className:"tl-clone-button-target",onPointerDown:c,transform:`translate(${r}, ${r}) rotate(${te[t]})`},s.createElement("circle",{className:"tl-transparent ",r:r}),s.createElement("path",{className:"tl-clone-button",d:`M -${n/2},-${n/2} L ${n/2},0 -${n/2},${n/2} Z`,strokeLinejoin:"round"})))}),tr=s.memo(function({targetSize:e,size:t,bounds:r}){return s.createElement(s.Fragment,null,s.createElement(tt,{targetSize:e,size:t,bounds:r,side:"top"}),s.createElement(tt,{targetSize:e,size:t,bounds:r,side:"right"}),s.createElement(tt,{targetSize:e,size:t,bounds:r,side:"bottom"}),s.createElement(tt,{targetSize:e,size:t,bounds:r,side:"left"}),s.createElement(tt,{targetSize:e,size:t,bounds:r,side:"topLeft"}),s.createElement(tt,{targetSize:e,size:t,bounds:r,side:"topRight"}),s.createElement(tt,{targetSize:e,size:t,bounds:r,side:"bottomLeft"}),s.createElement(tt,{targetSize:e,size:t,bounds:r,side:"bottomRight"}))}),tn={top_left_corner:"tl-cursor-nwse",top_right_corner:"tl-cursor-nesw",bottom_right_corner:"tl-cursor-nwse",bottom_left_corner:"tl-cursor-nesw"},ti=s.memo(function({size:e,targetSize:t,isHidden:r,corner:n,bounds:i}){let o=eX(n),a="top_left_corner"===n||"top_right_corner"===n,u="top_left_corner"===n||"bottom_left_corner"===n;return s.createElement("g",{opacity:r?0:1},s.createElement("rect",eN({className:"tl-transparent "+(r?"":tn[n]),"aria-label":"corner transparent",x:(u?-1:i.width+1)-t,y:(a?-1:i.height+1)-t,width:2*t,height:2*t,pointerEvents:r?"none":"all"},o)),s.createElement("rect",{className:"tl-corner-handle","aria-label":"corner handle",x:(u?-1:i.width+1)-e/2,y:(a?-1:i.height+1)-e/2,width:e,height:e,pointerEvents:"none"}))}),to={top_edge:"tl-cursor-ns",right_edge:"tl-cursor-ew",bottom_edge:"tl-cursor-ns",left_edge:"tl-cursor-ew"},ta=s.memo(function({size:e,isHidden:t,bounds:r,edge:n}){let i=eX(n),o="top_edge"===n||"bottom_edge"===n,a="right_edge"===n||"bottom_edge"===n,{height:u,width:l}=r;return s.createElement("rect",eN({pointerEvents:t?"none":"all",className:"tl-transparent tl-edge-handle "+(t?"":to[n]),"aria-label":`${n} handle`,opacity:t?0:1,x:o?e/2:(a?l+1:-1)-e/2,y:o?(a?u+1:-1)-e/2:e/2,width:o?Math.max(0,l+1-e):e,height:o?e:Math.max(0,u+1-e)},i))}),ts=s.memo(function({size:e,bounds:t,isHidden:r}){let n=eX("left"),i=eX("center"),o=eX("right");return s.createElement("g",{cursor:"grab",transform:`translate(${t.width/2-4*e}, ${t.height+2*e})`,"aria-label":"link handle"},s.createElement("g",{className:"tl-transparent",pointerEvents:r?"none":"all"},s.createElement("rect",eN({x:0,y:0,width:2*e,height:2*e},n)),s.createElement("rect",eN({x:3*e,y:0,width:2*e,height:2*e},i)),s.createElement("rect",eN({x:6*e,y:0,width:2*e,height:2*e},o))),s.createElement("g",{className:"tl-rotate-handle",transform:`translate(${e/2}, ${e/2})`,"aria-label":"link rotate handle"},s.createElement("path",{d:`M 0,${e/2} L ${e},${e} ${e},0 Z`,pointerEvents:"none",opacity:r?0:1}),s.createElement("path",{transform:`translate(${3*e}, 0)`,d:`M 0,0 L ${e},0 ${e/2},${e} Z`,pointerEvents:"none",opacity:r?0:1}),s.createElement("path",{transform:`translate(${6*e}, 0)`,d:`M ${e},${e/2} L 0,0 0,${e} Z`,pointerEvents:"none",opacity:r?0:1})))}),tu=s.memo(function({bounds:e,targetSize:t,size:r,isHidden:n}){let i=eX("rotate");return s.createElement("g",{cursor:"grab",opacity:n?0:1},s.createElement("circle",eN({className:"tl-transparent","aria-label":"rotate handle transparent",cx:e.width/2,cy:-2*r,r:t,pointerEvents:n?"none":"all"},i)),s.createElement("circle",{className:"tl-rotate-handle","aria-label":"rotate handle",cx:e.width/2,cy:-2*r,r:r/2,pointerEvents:"none"}))}),tl=s.memo(function({zoom:e,bounds:t,viewportWidth:r,rotation:n,isHidden:i,isLocked:o,hideCloneHandles:a,hideResizeHandles:u,hideRotateHandle:l,hideBindingHandles:c}){let d=(r<768?16:8)/e,h=8/e,p=Math.min(t.width,t.height)*e,f=!l&&!i&&!o&&p>32,m=!i&&!o&&p>24,g=!i&&!o&&p>20;return s.createElement(e1,{bounds:t,rotation:n},s.createElement(e9,null,s.createElement(e7,{bounds:t,isLocked:o,isHidden:i}),u||o?null:s.createElement(s.Fragment,null,s.createElement(ta,{targetSize:d,size:h,bounds:t,edge:"top_edge",isHidden:!m}),s.createElement(ta,{targetSize:d,size:h,bounds:t,edge:"right_edge",isHidden:!m}),s.createElement(ta,{targetSize:d,size:h,bounds:t,edge:"bottom_edge",isHidden:!m}),s.createElement(ta,{targetSize:d,size:h,bounds:t,edge:"left_edge",isHidden:!m}),s.createElement(ti,{targetSize:d,size:h,bounds:t,isHidden:i||!g,corner:"top_left_corner"}),s.createElement(ti,{targetSize:d,size:h,bounds:t,isHidden:i||!g,corner:"top_right_corner"}),s.createElement(ti,{targetSize:d,size:h,bounds:t,isHidden:i||!g,corner:"bottom_right_corner"}),s.createElement(ti,{targetSize:d,size:h,bounds:t,isHidden:i||!g,corner:"bottom_left_corner"})),f&&s.createElement(tu,{targetSize:d,size:h,bounds:t,isHidden:!m}),!a&&p>24&&s.createElement(tr,{bounds:t,targetSize:d,size:h}),!c&&s.createElement(ts,{targetSize:d,size:h,bounds:t,isHidden:!m})))}),tc=s.memo(function({bounds:e,rotation:t,isHidden:r}){let n=function(){let{callbacks:e,inputs:t}=eU();return s.useMemo(()=>({onPointerDown:r=>{var n,i,o,a;if(r.dead||(r.dead=!0,!t.pointerIsValid(r)))return;if(2===r.button){null==(n=e.onRightPointBounds)||n.call(e,t.pointerDown(r,"bounds"),r);return}let s=t.pointerDown(r,"bounds");null==(i=r.currentTarget)||i.setPointerCapture(r.pointerId),0===r.button&&(null==(o=e.onPointBounds)||o.call(e,s,r)),null==(a=e.onPointerDown)||a.call(e,s,r)},onPointerUp:r=>{var n,i,o,a;if(r.dead||(r.dead=!0,2===r.button)||(t.activePointer=void 0,!t.pointerIsValid(r)))return;let s=t.isDoubleClick(),u=t.pointerUp(r,"bounds");r.currentTarget.hasPointerCapture(r.pointerId)&&(null==(n=r.currentTarget)||n.releasePointerCapture(r.pointerId)),0===r.button&&(s&&!(u.altKey||u.metaKey)&&(null==(i=e.onDoubleClickBounds)||i.call(e,u,r)),null==(o=e.onReleaseBounds)||o.call(e,u,r)),null==(a=e.onPointerUp)||a.call(e,u,r)},onPointerMove:r=>{var n,i;if(r.dead||(r.dead=!0,!t.pointerIsValid(r)))return;1===r.buttons&&r.currentTarget.hasPointerCapture(r.pointerId)&&(null==(n=e.onDragBounds)||n.call(e,t.pointerMove(r,"bounds"),r));let o=t.pointerMove(r,"bounds");null==(i=e.onPointerMove)||i.call(e,o,r)},onPointerEnter:r=>{var n;t.pointerIsValid(r)&&null!=(n=e.onHoverBounds)&&n.call(e,t.pointerEnter(r,"bounds"),r)},onPointerLeave:r=>{var n;t.pointerIsValid(r)&&null!=(n=e.onUnhoverBounds)&&n.call(e,t.pointerEnter(r,"bounds"),r)}}),[t,e])}();return s.createElement(e1,{bounds:e,rotation:t},s.createElement(e9,null,s.createElement("rect",eN({className:"tl-bounds-bg","aria-label":"bounds bg",width:e.width,height:e.height,opacity:r?0:1},n))))}),td=s.memo(function({id:e,point:t}){let r=function(e){let{inputs:t,callbacks:r}=eU();return s.useMemo(()=>({onPointerDown:n=>{var i,o,a;if(n.dead||(n.dead=!0,!t.pointerIsValid(n))||2===n.button)return;null==(i=n.currentTarget)||i.setPointerCapture(n.pointerId);let s=t.pointerDown(n,e);0===n.button&&(null==(o=r.onPointHandle)||o.call(r,s,n)),null==(a=r.onPointerDown)||a.call(r,s,n)},onPointerUp:n=>{var i,o,a,s;if(n.dead||(n.dead=!0,!t.pointerIsValid(n))||2===n.button)return;let u=t.isDoubleClick(),l=t.pointerUp(n,e);n.currentTarget.hasPointerCapture(n.pointerId)&&(null==(i=n.currentTarget)||i.releasePointerCapture(n.pointerId),0===n.button&&(u&&!(l.altKey||l.metaKey)&&(null==(o=r.onDoubleClickHandle)||o.call(r,l,n)),null==(a=r.onReleaseHandle)||a.call(r,l,n))),null==(s=r.onPointerUp)||s.call(r,l,n)},onPointerMove:n=>{var i,o;if(n.dead||(n.dead=!0,!t.pointerIsValid(n))||2===n.buttons)return;let a=t.pointerMove(n,e);1===n.buttons&&n.currentTarget.hasPointerCapture(n.pointerId)&&(null==(i=r.onDragHandle)||i.call(r,a,n)),null==(o=r.onPointerMove)||o.call(r,a,n)},onPointerEnter:n=>{var i;if(!t.pointerIsValid(n))return;let o=t.pointerEnter(n,e);null==(i=r.onHoverHandle)||i.call(r,o,n)},onPointerLeave:n=>{var i;if(!t.pointerIsValid(n))return;let o=t.pointerEnter(n,e);null==(i=r.onUnhoverHandle)||i.call(r,o,n)}}),[t,r,e])}(e);return s.createElement(e1,{bounds:eY.translateBounds({minX:0,minY:0,maxX:0,maxY:0,width:0,height:0},t)},s.createElement(e9,null,s.createElement("g",eN({className:"tl-handle","aria-label":"handle"},r),s.createElement("circle",{className:"tl-handle-bg",pointerEvents:"all"}),s.createElement("circle",{className:"tl-counter-scaled tl-handle",pointerEvents:"none",r:4}))))}),th=s.memo(function({shape:e,zoom:t}){if(void 0===e.handles)return null;let r=null,n=Object.values(e.handles).reduce((n,i)=>{let o=u.B.add(i.point,e.point);return(!r||u.B.dist(o,r)*t>=32)&&(n.push(i),r=o),n},[]);return 1===n.length?null:s.createElement(s.Fragment,null,n.map(t=>s.createElement(td,{key:e.id+"_"+t.id,id:t.id,point:u.B.add(t.point,e.point)})))}),tp=s.memo(function(e){let t=e.utils.getRef(e.shape);return s.createElement(e.utils.Component,eN({ref:t},e))},(e,t)=>e.isHovered===t.isHovered&&e.isSelected===t.isSelected&&e.isEditing===t.isEditing&&e.isBinding===t.isBinding&&e.isGhost===t.isGhost&&e.meta===t.meta&&(t.shape===e.shape||!t.utils.shouldRender(t.shape,e.shape))),tf=s.memo(function(e){var{shape:t,utils:r,meta:n}=e,i=eL(e,["shape","utils","meta"]);let{callbacks:o}=eU(),a=r.getBounds(t),u=function(e){let{rPageState:t,rSelectionBounds:r,callbacks:n,inputs:i}=s.useContext(ez);return s.useMemo(()=>({onPointerDown:o=>{var a,s,u,l,c,d,h;if(o.dead||(o.dead=!0,!i.pointerIsValid(o)))return;if(2===o.button){null==(a=n.onRightPointShape)||a.call(n,i.pointerDown(o,e),o);return}let p=i.pointerDown(o,e);if(null==(s=o.currentTarget)||s.setPointerCapture(o.pointerId),r.current&&eY.pointInBounds(p.point,r.current)&&!t.current.selectedIds.includes(e)){0===o.button&&(null==(u=n.onPointBounds)||u.call(n,i.pointerDown(o,"bounds"),o),null==(l=n.onPointShape)||l.call(n,p,o)),null==(c=n.onPointerDown)||c.call(n,p,o);return}0===o.button&&(null==(d=n.onPointShape)||d.call(n,p,o)),null==(h=n.onPointerDown)||h.call(n,p,o)},onPointerUp:t=>{var r,o,a,s;if(t.dead||(t.dead=!0,!i.pointerIsValid(t))||2===t.button)return;i.activePointer=void 0;let u=i.isDoubleClick(),l=i.pointerUp(t,e);t.pointerId&&t.currentTarget.hasPointerCapture(t.pointerId)&&(null==(r=t.currentTarget)||r.releasePointerCapture(t.pointerId)),0===t.button&&(u&&!(l.altKey||l.metaKey)&&(null==(o=n.onDoubleClickShape)||o.call(n,l,t)),null==(a=n.onReleaseShape)||a.call(n,l,t)),null==(s=n.onPointerUp)||s.call(n,l,t)},onPointerMove:t=>{var r,o;if(t.dead||(t.dead=!0,2===t.buttons||!i.pointerIsValid(t)||i.pointer&&t.pointerId!==i.pointer.pointerId))return;let a=i.pointerMove(t,e);1===t.buttons&&t.currentTarget.hasPointerCapture(t.pointerId)&&(null==(r=n.onDragShape)||r.call(n,a,t)),null==(o=n.onPointerMove)||o.call(n,a,t)},onPointerEnter:t=>{var r;if(!i.pointerIsValid(t))return;let o=i.pointerEnter(t,e);null==(r=n.onHoverShape)||r.call(n,o,t)},onPointerLeave:t=>{var r;if(!i.pointerIsValid(t))return;let o=i.pointerEnter(t,e);null==(r=n.onUnhoverShape)||r.call(n,o,t)}}),[i,n,e])}(t.id);return s.createElement(e1,{id:t.id,bounds:a,rotation:t.rotation,"data-shape":t.type,isGhost:i.isGhost,isSelected:i.isSelected},s.createElement(tp,eN({shape:t,utils:r,meta:n,events:u,bounds:a,onShapeChange:o.onShapeChange,onShapeBlur:o.onShapeBlur},i)))}),tm=s.memo(function(e){var{shape:t,utils:r,meta:n,children:i}=e,o=eL(e,["shape","utils","meta","children"]);return s.createElement(s.Fragment,null,s.createElement(tf,eN({shape:t,utils:r[t.type],meta:n},o)),i&&i.map(e=>s.createElement(tm,eN({key:e.shape.id,utils:r},e))))}),tg=s.memo(function({isHovered:e=!1,isSelected:t=!1,isEditing:r=!1,shape:n,user:i,meta:o}){let{shapeUtils:a}=eU(),u=a[n.type],l=u.getBounds(n),c=e0(l,n.rotation);return s.createElement("div",{ref:c,draggable:!1,className:["tl-indicator","tl-absolute",t&&!i?"tl-selected":"tl-hovered",r?"tl-editing":"",n.isLocked?"tl-locked":""].join(" ")},s.createElement("svg",{width:"100%",height:"100%"},s.createElement("g",{className:"tl-centered-g",stroke:null==i?void 0:i.color},s.createElement(u.Indicator,{shape:n,meta:o,user:i,bounds:l,isSelected:t,isHovered:e}))))}),tv=s.memo(function({page:e,pageState:t,assets:r,hideBounds:n,hideHandles:i,hideIndicators:o,hideBindingHandles:a,hideCloneHandles:l,hideRotateHandle:c,hideResizeHandles:d,meta:h}){let{bounds:p,shapeUtils:f}=eU(),m=function(e,t,r,n){let{callbacks:i,shapeUtils:o,bounds:a}=eU(),l=s.useRef(),c=s.useRef(-1),d=s.useRef(new Set),h=s.useRef(new Set),{selectedIds:p,camera:f}=t,[m,g]=u.B.sub(u.B.div([0,0],f.zoom),f.point),[v,y]=u.B.sub(u.B.div([a.width,a.height],f.zoom),f.point),b={minX:m,minY:g,maxX:v,maxY:y,height:v-m,width:y-g},w=h.current,k=d.current;w.clear(),k.clear(),Object.values(e.shapes).filter(e=>{var t;return o[e.type].isStateful||p.includes(e.id)||(t=o[e.type].getBounds(e),eY.boundsContain(b,t)||eY.boundsCollide(b,t))}).forEach(t=>{if(t.parentId===e.id){k.add(t.id),w.add(t);return}let r=e.shapes[t.parentId];if(void 0===r)throw Error(`A shape (${t.id}) has a parent (${t.parentId}) that does not exist!`);k.add(r.id),w.add(r)}),w.size!==c.current&&(l.current&&clearTimeout(l.current),l.current=requestAnimationFrame(()=>{var e;null==(e=i.onRenderCountChange)||e.call(i,Array.from(k.values()))}),c.current=w.size);let x=t.bindingId?e.bindings[t.bindingId].toId:void 0,_=[];return w.forEach(i=>{if(void 0===i)throw Error("Rendered shapes included a missing shape");(function e(t,r,n,i,o,a=!1,s=!1,u){let l={shape:t,asset:t.assetId?o[t.assetId]:void 0,meta:u,isChildOfSelected:s,isGhost:t.isGhost||a,isEditing:i.editingId===t.id,isBinding:i.bindingTargetId===t.id,isSelected:i.selectedIds.includes(t.id),isHovered:i.hoveredId===t.id||void 0!==t.children&&(i.hoveredId&&t.children.includes(i.hoveredId)||t.children.some(e=>i.selectedIds.includes(e)))};r.push(l),t.children&&(l.children=[],t.children.map(e=>n[e]).filter(e=>n[e.id]).sort((e,t)=>e.childIndex-t.childIndex).forEach(t=>e(t,l.children,n,i,o,l.isGhost,l.isSelected||l.isChildOfSelected,u)))})(i,_,e.shapes,eI(eN({},t),{bindingTargetId:x}),r,i.isGhost,!1,n)}),_.sort((e,t)=>e.shape.childIndex-t.shape.childIndex),_}(e,t,r,h),{bounds:g,isLinked:v,isLocked:y,rotation:b}=function(e,t,r){let{rSelectionBounds:n}=eU(),{selectedIds:i}=t,o=s.useRef(),a,u=0,l=!1,c=!1;if(1===i.length){let t=i[0],n=e.shapes[t];if(!n)throw Error(`selectedIds is set to the id of a shape that doesn't exist: ${t}`);u=n.rotation||0,l=n.isLocked||!1;let o=r[n.type];a=o.hideBounds?void 0:o.getBounds(n)}else if(i.length>1){let t=i.map(t=>e.shapes[t]);u=0,l=t.every(e=>e.isLocked),a=t.reduce((e,t,n)=>0===n?r[t.type].getRotatedBounds(t):eY.getExpandedBounds(e,r[t.type].getRotatedBounds(t)),{})}if(a){let[r,o]=eQ([a.minX,a.minY],t.camera),[s,u]=eQ([a.maxX,a.maxY],t.camera);c=!!Object.values(e.bindings).find(e=>i.includes(e.toId)||i.includes(e.fromId)),n.current={minX:r,minY:o,maxX:s,maxY:u,width:s-r,height:u-o}}else n.current=null;let d=o.current;return d&&a?a&&d.minX===a.minX&&d.minY===a.minY&&d.maxX===a.maxX&&d.maxY===a.maxY&&(a=o.current):o.current=a,{bounds:a,rotation:u,isLocked:l,isLinked:c}}(e,t,f),{selectedIds:w,hoveredId:k,editingId:x,camera:{zoom:_}}=t,S=o,E=!0,D=!1,C,j=w.map(t=>e.shapes[t]);if(1===j.length){let e=j[0];(D=x===e.id)&&(S=!0);let t=f[e.type];E=l||!t.showCloneHandles,void 0===e.handles||D||(C=e)}return s.createElement(s.Fragment,null,g&&s.createElement(tc,{bounds:g,rotation:b,isHidden:n}),m.map(e=>s.createElement(tm,eN({key:e.shape.id,utils:f},e))),!S&&j.map(e=>s.createElement(tg,{key:"selected_"+e.id,shape:e,meta:h,isSelected:!0,isEditing:D})),!S&&k&&k!==x&&s.createElement(tg,{key:"hovered_"+k,shape:e.shapes[k],meta:h,isHovered:!0}),g&&s.createElement(tl,{zoom:_,bounds:g,viewportWidth:p.width,isLocked:y,rotation:b,isHidden:n,hideRotateHandle:c,hideResizeHandles:d,hideBindingHandles:a||!v,hideCloneHandles:E}),!i&&C&&s.createElement(th,{shape:C,zoom:_}))}),ty=s.memo(function({snapLine:e}){let t=eY.getBoundsFromPoints(e);return s.createElement(s.Fragment,null,s.createElement("line",{className:"tl-snap-line",x1:t.minX,y1:t.minY,x2:t.maxX,y2:t.maxY}),e.map(([e,t],r)=>s.createElement("use",{key:r,href:"#tl-snap-point",x:e,y:t})))}),tb=s.memo(function({snapLines:e}){return s.createElement(s.Fragment,null,e.map((e,t)=>s.createElement(ty,{key:t,snapLine:e})))});function tw({user:e}){let t=s.useRef(null);return s.useLayoutEffect(()=>{t.current&&(t.current.style.transform=`translate(${e.point[0]}px, ${e.point[1]}px)`)},[e.point]),s.createElement("svg",{ref:t,className:`tl-absolute tl-user tl-counter-scaled ${e.session?"":"tl-animated"}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35 35",fill:"none",fillRule:"evenodd"},s.createElement("g",{fill:"rgba(0,0,0,.2)",transform:"translate(1,1)"},s.createElement("path",{d:"m12 24.4219v-16.015l11.591 11.619h-6.781l-.411.124z"}),s.createElement("path",{d:"m21.0845 25.0962-3.605 1.535-4.682-11.089 3.686-1.553z"})),s.createElement("g",{fill:"white"},s.createElement("path",{d:"m12 24.4219v-16.015l11.591 11.619h-6.781l-.411.124z"}),s.createElement("path",{d:"m21.0845 25.0962-3.605 1.535-4.682-11.089 3.686-1.553z"})),s.createElement("g",{fill:e.color},s.createElement("path",{d:"m19.751 24.4155-1.844.774-3.1-7.374 1.841-.775z"}),s.createElement("path",{d:"m13 10.814v11.188l2.969-2.866.428-.139h4.768z"})))}function tk({userId:e,users:t}){return s.createElement(s.Fragment,null,Object.values(t).filter(t=>t&&t.id!==e).map(e=>s.createElement(tw,{key:e.id,user:e})))}function tx({userId:e,users:t,meta:r,page:n}){let{shapeUtils:i}=eU();return s.createElement(s.Fragment,null,Object.values(t).filter(Boolean).filter(t=>t.id!==e&&t.selectedIds.length>0).map(e=>{let t=e.selectedIds.map(e=>n.shapes[e]).filter(Boolean);if(0===t.length)return null;let o=eY.getCommonBounds(t.map(e=>i[e.type].getBounds(e)));return s.createElement(s.Fragment,{key:e.id+"_shapes"},s.createElement("div",{className:"tl-absolute tl-user-indicator-bounds",style:{backgroundColor:e.color+"0d",borderColor:e.color+"78",transform:`translate(${o.minX}px, ${o.minY}px)`,width:o.width,height:o.height,pointerEvents:"none"}}),t.map(t=>s.createElement(tg,{key:`${e.id}_${t.id}_indicator`,shape:t,user:e,meta:r,isHovered:!0})))}))}var t_=e=>{let t=e.parentElement;for(;t&&t!==document.body;){let{overflowY:e}=window.getComputedStyle(t);if(t.scrollHeight>t.clientHeight&&("auto"===e||"scroll"===e||"overlay"===e))return t;t=t.parentElement}return document},tS=s.memo(function({id:e,page:t,pageState:r,assets:n,snapLines:i,eraseLine:o,grid:a,users:l,userId:c,meta:d,performanceMode:h,externalContainerRef:p,showDashedBrush:f,hideHandles:m,hideBounds:g,hideIndicators:v,hideBindingHandles:y,hideCloneHandles:b,hideResizeHandles:w,hideRotateHandle:k,hideGrid:x,onBoundsChange:_}){let S,E,D=s.useRef(null),C=s.useRef(r.camera.zoom);C.current=r.camera.zoom,function(e,t){var r,n;let i=s.useRef(void 0),o=s.useRef(void 0),a=s.useRef([0,0]),{inputs:l,bounds:c,callbacks:d}=eU();s.useEffect(()=>{let e=e=>e.preventDefault();return document.addEventListener("gesturestart",e),document.addEventListener("gesturechange",e),()=>{document.removeEventListener("gesturestart",e),document.removeEventListener("gesturechange",e)}},[]),r={onWheel:s.useCallback(({event:e})=>{var t,r,n,i;if(e.preventDefault(),l.isPinching)return;let[o,a,s]=function(e){let{deltaY:t,deltaX:r}=e,n=0;if(e.ctrlKey||e.metaKey){let r=Math.sign(e.deltaY),i=Math.abs(e.deltaY),o=t;i>10&&(o=10*r),n=o}return[r,t,n]}(e);if((e.altKey||e.ctrlKey||e.metaKey)&&0===e.buttons){let i=[...null!=(r=null==(t=l.pointer)?void 0:t.point)?r:[c.width/2,c.height/2],.618*s],o=l.pan(i,e);null==(n=d.onZoom)||n.call(d,eI(eN({},o),{delta:i}),e);return}let h=u.B.mul(e.shiftKey&&!eY.isDarwin?[a,0]:[o,a],.5);if(u.B.isEqual(h,[0,0]))return;let p=l.pan(h,e);null==(i=d.onPan)||i.call(d,p,e)},[d,l,c]),onPinchStart:s.useCallback(({origin:e,event:r})=>{var n;if(r instanceof WheelEvent)return;let s=t.current;if(!s||!(r.target===s||s.contains(r.target)))return;let u=l.pinch(e,e);l.isPinching=!0,null==(n=d.onPinchStart)||n.call(d,u,r),o.current=u.point,i.current=u.origin,a.current=[0,0]},[d,l,c]),onPinch:s.useCallback(({origin:e,offset:r,event:n})=>{var s;if(n instanceof WheelEvent)return;let c=t.current;if(!(n.target===c||(null==c?void 0:c.contains(n.target)))||!i.current)return;let h=l.pinch(e,i.current),p=u.B.sub(h.delta,a.current);a.current=h.delta,null==(s=d.onPinch)||s.call(d,eI(eN({},h),{point:h.point,origin:i.current,delta:[...p,r[0]]}),n),o.current=e},[d,l,c]),onPinchEnd:s.useCallback(({origin:e,event:r})=>{var n;let s=t.current;if(!(r.target===s||(null==s?void 0:s.contains(r.target))))return;let u=l.pinch(e,e);l.isPinching=!1,null==(n=d.onPinchEnd)||n.call(d,u,r),o.current=void 0,i.current=void 0,a.current=[0,0]},[])},n={target:t,eventOptions:{passive:!1},pinch:{from:[e.current,0],scaleBounds:()=>({from:e.current,max:5,min:.1})}},([ee,en,ei,eo,er,et].forEach(Q),function(e,t){let{handlers:r,nativeHandlers:n,config:i}=function(e,t){let[r,n,i]=function(e){let t={},r={},n=new Set;for(let i in e)ef.test(i)?(n.add(RegExp.lastMatch),r[i]=e[i]):t[i]=e[i];return[r,t,n]}(e),o={};return em(i,r,"onDrag","drag",o,t),em(i,r,"onWheel","wheel",o,t),em(i,r,"onScroll","scroll",o,t),em(i,r,"onPinch","pinch",o,t),em(i,r,"onMove","move",o,t),em(i,r,"onHover","hover",o,t),{handlers:o,config:t,nativeHandlers:n}}(e,t||{});return function(e,t={},r,n){let i=s.useMemo(()=>new ed(e),[]);if(i.applyHandlers(e,n),i.applyConfig(t,r),s.useEffect(i.effect.bind(i)),s.useEffect(()=>i.clean.bind(i),[]),void 0===t.target)return i.bind.bind(i)}(r,i,void 0,n)})(r,n||{})}(C,p||D),function(e,t){let{inputs:r,callbacks:n}=eU(),i=s.useRef(!1),o=s.useCallback(()=>{var o,a;if(i.current){let i=null==(o=e.current)?void 0:o.getBoundingClientRect();if(i){let e={minX:i.left,maxX:i.left+i.width,minY:i.top,maxY:i.top+i.height,width:i.width,height:i.height};r.bounds=e,t(e),null==(a=n.onBoundsChange)||a.call(n,e)}}else i.current=!0},[e,r,n.onBoundsChange]);s.useEffect(()=>{let t=e.current?t_(e.current):document,r=eY.debounce(o,100);return t.addEventListener("scroll",r),window.addEventListener("resize",r),()=>{t.removeEventListener("scroll",r),window.removeEventListener("resize",r)}},[]),s.useEffect(()=>{let t=new ResizeObserver(e=>{r.isPinching||e[0].contentRect&&o()});return e.current&&t.observe(e.current),()=>{t.disconnect()}},[e,r]),s.useEffect(()=>{o()},[e])}(D,_),function(){let{callbacks:e}=eU();(0,s.useEffect)(()=>{function t(){var t;null==(t=e.onShapeBlur)||t.call(e)}return eY.isMobileSafari()?(document.addEventListener("focusout",t),()=>document.removeEventListener("focusout",t)):()=>null},[e])}(),function(e){let{bounds:t}=eU();s.useEffect(()=>{let r=e=>{e.preventDefault()},n=e=>{let r=e.touches[0].pageX,n=e.touches[0].radiusX||0;(r-n<10||r+n>t.width-10)&&e.preventDefault()},i=e.current;return i?(i.addEventListener("gestureend",r),i.addEventListener("gesturechange",r),i.addEventListener("gesturestart",r),i.addEventListener("touchstart",n),()=>{i&&(i.removeEventListener("gestureend",r),i.removeEventListener("gesturechange",r),i.removeEventListener("gesturestart",r),i.removeEventListener("touchstart",n))}):()=>{}},[e,t.width])}(D);let j=s.useRef(null),O=s.useRef(null);S=s.useRef(),E=s.useRef(),s.useLayoutEffect(()=>{let{zoom:e,point:t}=r.camera,n=e!==S.current,i=t!==E.current;if(S.current=e,E.current=t,n||i){let r=O.current;if(j&&"current"in j){let i=j.current;n&&i&&i.style.setProperty("--tl-zoom",e.toString()),r&&r.style.setProperty("transform",`scale(${e}) translateX(${t[0]}px) translateY(${t[1]}px)`)}}},[r.camera.zoom,r.camera.point]),s.useLayoutEffect(()=>{if(j&&"current"in j){let e=null==j?void 0:j.current;if(e)switch(h){case"transform_selected":e.style.setProperty("--tl-performance-all","auto"),e.style.setProperty("--tl-performance-selected","transform, contents");break;case"transform_all":e.style.setProperty("--tl-performance-all","transform, contents"),e.style.setProperty("--tl-performance-selected","transform, contents");break;case"translate_selected":e.style.setProperty("--tl-performance-all","auto"),e.style.setProperty("--tl-performance-selected","transform");break;case"translate_all":e.style.setProperty("--tl-performance-all","transform"),e.style.setProperty("--tl-performance-selected","transform");break;default:e.style.setProperty("--tl-performance-all","auto"),e.style.setProperty("--tl-performance-selected","auto")}}},[h]),function(){let{inputs:e,callbacks:t}=eU();s.useEffect(()=>{let r=r=>{var n;null==(n=t.onKeyDown)||n.call(t,r.key,e.keydown(r),r)},n=r=>{var n;e.keyup(r),null==(n=t.onKeyUp)||n.call(t,r.key,e.keyup(r),r)};return window.addEventListener("keydown",r),window.addEventListener("keyup",n),()=>{window.removeEventListener("keydown",r),window.removeEventListener("keyup",n)}},[e,t])}();let T=function(){let{callbacks:e,inputs:t}=eU();return s.useMemo(()=>({onPointerDown:r=>{var n,i;if(r.dead||(r.dead=!0,!t.pointerIsValid(r))||2===r.button)return;r.currentTarget.setPointerCapture(r.pointerId);let o=t.pointerDown(r,"canvas");0===r.button&&(null==(n=e.onPointCanvas)||n.call(e,o,r)),null==(i=e.onPointerDown)||i.call(e,o,r)},onPointerMove:r=>{var n,i;if(r.dead||(r.dead=!0,!t.pointerIsValid(r)))return;let o=t.pointerMove(r,"canvas");1===r.buttons&&r.currentTarget.hasPointerCapture(r.pointerId)&&(null==(n=e.onDragCanvas)||n.call(e,o,r)),null==(i=e.onPointerMove)||i.call(e,o,r)},onPointerUp:r=>{var n,i,o,a;if(r.dead||(r.dead=!0,t.activePointer=void 0,!t.pointerIsValid(r))||2===r.button)return;let s=t.pointerUp(r,"canvas"),u=t.isDoubleClick();r.currentTarget.hasPointerCapture(r.pointerId)&&(null==(n=r.currentTarget)||n.releasePointerCapture(r.pointerId)),0===r.button&&(u&&!(s.altKey||s.metaKey)&&(null==(i=e.onDoubleClickCanvas)||i.call(e,s,r)),null==(o=e.onReleaseCanvas)||o.call(e,s,r)),null==(a=e.onPointerUp)||a.call(e,s,r)},onDrop:e.onDrop,onDragOver:e.onDragOver}),[e,t])}();return s.createElement("div",{id:e,className:"tl-container",ref:j},s.createElement("div",eN({id:"canvas",className:"tl-absolute tl-canvas",ref:D},T),!x&&a&&s.createElement(e6,{grid:a,camera:r.camera}),s.createElement("div",{ref:O,className:"tl-absolute tl-layer","data-testid":"layer"},s.createElement(tv,{page:t,pageState:r,assets:n,hideBounds:g,hideIndicators:v,hideHandles:m,hideBindingHandles:y,hideCloneHandles:b,hideResizeHandles:w,hideRotateHandle:k,meta:d}),l&&c&&s.createElement(tx,{userId:c,users:l,page:t,meta:d}),r.brush&&s.createElement(e2,{brush:r.brush,dashed:f,zoom:r.camera.zoom}),l&&s.createElement(tk,{userId:c,users:l})),s.createElement(e8,{camera:r.camera},o&&s.createElement(e5,{points:o,zoom:r.camera.zoom}),i&&s.createElement(tb,{snapLines:i}))))}),tE=class{constructor(){eB(this,"pointer"),eB(this,"keyboard"),eB(this,"keys",{}),eB(this,"isPinching",!1),eB(this,"bounds",{minX:0,maxX:640,minY:0,maxY:480,width:640,height:480}),eB(this,"pointerUpTime",0),eB(this,"activePointer"),eB(this,"panStart",e=>{var t,r;let{shiftKey:n,ctrlKey:i,metaKey:o,altKey:a}=e,s={target:"wheel",pointerId:(null==(t=this.pointer)?void 0:t.pointerId)||0,origin:(null==(r=this.pointer)?void 0:r.origin)||[0,0],delta:[0,0],pressure:.5,point:tE.getPoint(e,this.bounds),shiftKey:n,ctrlKey:i,metaKey:o,altKey:a,spaceKey:this.keys[" "]};return this.pointer=s,s}),eB(this,"pan",(e,t)=>{if(!this.pointer||"wheel"!==this.pointer.target)return this.panStart(t);let{shiftKey:r,ctrlKey:n,metaKey:i,altKey:o}=t,a=this.pointer,s=tE.getPoint(t,this.bounds),u=eI(eN({},a),{target:"wheel",delta:e,point:s,shiftKey:r,ctrlKey:n,metaKey:i,altKey:o,spaceKey:this.keys[" "]});return this.pointer=u,u}),eB(this,"keydown",e=>{var t,r;let{shiftKey:n,ctrlKey:i,metaKey:o,altKey:a}=e;return this.keys[e.key]=!0,{point:(null==(t=this.pointer)?void 0:t.point)||[0,0],origin:(null==(r=this.pointer)?void 0:r.origin)||[0,0],key:e.key,keys:Object.keys(this.keys),shiftKey:n,ctrlKey:i,metaKey:eY.isDarwin()?o:i,altKey:a}}),eB(this,"keyup",e=>{var t,r;let{shiftKey:n,ctrlKey:i,metaKey:o,altKey:a}=e;return delete this.keys[e.key],{point:(null==(t=this.pointer)?void 0:t.point)||[0,0],origin:(null==(r=this.pointer)?void 0:r.origin)||[0,0],key:e.key,keys:Object.keys(this.keys),shiftKey:n,ctrlKey:i,metaKey:eY.isDarwin()?o:i,altKey:a}})}pointerIsValid(e){if("pointerId"in e&&this.activePointer&&this.activePointer!==e.pointerId)return!1;if("touches"in e){let t=e.changedTouches[0];if(this.activePointer&&this.activePointer!==t.identifier)return!1}return!0}touchStart(e,t){let{shiftKey:r,ctrlKey:n,metaKey:i,altKey:o}=e,a=e.changedTouches[0];this.activePointer=a.identifier;let s={target:t,pointerId:a.identifier,origin:tE.getPoint(a,this.bounds),delta:[0,0],point:tE.getPoint(a,this.bounds),pressure:tE.getPressure(a),shiftKey:r,ctrlKey:n,metaKey:eY.isDarwin()?i:n,altKey:o,spaceKey:this.keys[" "]};return this.pointer=s,s}touchEnd(e,t){let{shiftKey:r,ctrlKey:n,metaKey:i,altKey:o}=e,a=e.changedTouches[0],s={target:t,pointerId:a.identifier,origin:tE.getPoint(a,this.bounds),delta:[0,0],point:tE.getPoint(a,this.bounds),pressure:tE.getPressure(a),shiftKey:r,ctrlKey:n,metaKey:eY.isDarwin()?i:n,altKey:o,spaceKey:this.keys[" "]};return this.pointer=s,this.activePointer=void 0,s}touchMove(e,t){let{shiftKey:r,ctrlKey:n,metaKey:i,altKey:o}=e,a=e.changedTouches[0],s=this.pointer,l=tE.getPoint(a,this.bounds),c=(null==s?void 0:s.point)?u.B.sub(l,s.point):[0,0],d=eI(eN({origin:l},s),{target:t,pointerId:a.identifier,point:l,delta:c,pressure:tE.getPressure(a),shiftKey:r,ctrlKey:n,metaKey:eY.isDarwin()?i:n,altKey:o,spaceKey:this.keys[" "]});return this.pointer=d,d}pointerDown(e,t){let{shiftKey:r,ctrlKey:n,metaKey:i,altKey:o}=e,a=tE.getPoint(e,this.bounds);this.activePointer=e.pointerId;let s={target:t,pointerId:e.pointerId,origin:a,point:a,delta:[0,0],pressure:tE.getPressure(e),shiftKey:r,ctrlKey:n,metaKey:eY.isDarwin()?i:n,altKey:o,spaceKey:this.keys[" "]};return this.pointer=s,s}pointerEnter(e,t){let{shiftKey:r,ctrlKey:n,metaKey:i,altKey:o}=e,a=tE.getPoint(e,this.bounds),s={target:t,pointerId:e.pointerId,origin:a,delta:[0,0],point:a,pressure:tE.getPressure(e),shiftKey:r,ctrlKey:n,metaKey:eY.isDarwin()?i:n,altKey:o,spaceKey:this.keys[" "]};return this.pointer=s,s}pointerMove(e,t){let{shiftKey:r,ctrlKey:n,metaKey:i,altKey:o}=e,a=this.pointer,s=tE.getPoint(e,this.bounds),l=(null==a?void 0:a.point)?u.B.sub(s,a.point):[0,0],c=eI(eN({origin:s},a),{target:t,pointerId:e.pointerId,point:s,delta:l,pressure:tE.getPressure(e),shiftKey:r,ctrlKey:n,metaKey:eY.isDarwin()?i:n,altKey:o,spaceKey:this.keys[" "]});return this.pointer=c,c}pointerUp(e,t){let{shiftKey:r,ctrlKey:n,metaKey:i,altKey:o}=e,a=this.pointer,s=tE.getPoint(e,this.bounds),l=(null==a?void 0:a.point)?u.B.sub(s,a.point):[0,0];this.activePointer=void 0;let c=eI(eN({origin:s},a),{target:t,pointerId:e.pointerId,point:s,delta:l,pressure:tE.getPressure(e),shiftKey:r,ctrlKey:n,metaKey:eY.isDarwin()?i:n,altKey:o,spaceKey:this.keys[" "]});return this.pointer=c,this.pointerUpTime=performance.now(),c}isDoubleClick(){if(!this.pointer)return!1;let{origin:e,point:t}=this.pointer,r=performance.now()-this.pointerUpTime<250&&4>u.B.dist(e,t);return r&&(this.activePointer=void 0),r}clear(){this.pointer=void 0}resetDoubleClick(){this.pointerUpTime=0}pinch(e,t){let{shiftKey:r,ctrlKey:n,metaKey:i,altKey:o}=this.keys,a=u.B.sub(t,e),s={pointerId:0,target:"pinch",origin:t,delta:a,point:u.B.sub(u.B.toFixed(e),[this.bounds.minX,this.bounds.minY]),pressure:.5,shiftKey:r,ctrlKey:n,metaKey:eY.isDarwin()?i:n,altKey:o,spaceKey:this.keys[" "]};return this.pointer=s,s}reset(){this.pointerUpTime=0,this.pointer=void 0,this.keyboard=void 0,this.activePointer=void 0,this.keys={}}static getPoint(e,t){return[+e.clientX.toFixed(2)-t.minX,+e.clientY.toFixed(2)-t.minY]}static getPressure(e){return"pressure"in e&&+e.pressure.toFixed(2)||.5}static commandKey(){return eY.isDarwin()?"⌘":"Ctrl"}};new tE;var tD={},tC=s.memo(function(e){var t,r,{id:n="tl",shapeUtils:i,page:o,pageState:a,assets:u=tD,users:l,userId:c,theme:d,meta:h,snapLines:p,eraseLine:f,grid:m,containerRef:g,performanceMode:v,hideHandles:y=!1,hideIndicators:b=!1,hideCloneHandles:w=!1,hideBindingHandles:k=!1,hideResizeHandles:x=!1,hideRotateHandles:_=!1,hideBounds:S=!1,hideGrid:E=!0,showDashedBrush:D=!1}=e,C=eL(e,["id","shapeUtils","page","pageState","assets","users","userId","theme","meta","snapLines","eraseLine","grid","containerRef","performanceMode","hideHandles","hideIndicators","hideCloneHandles","hideBindingHandles","hideResizeHandles","hideRotateHandles","hideBounds","hideGrid","showDashedBrush"]);t="#"+n,function(e,t,r=":root"){s.useLayoutEffect(()=>{let e=document.createElement("style"),n=Object.keys(t).reduce((e,r)=>{let n=t[r];return n?e+`--tl-${r}: ${n};
`:e},"");return e.setAttribute("id","tl-theme"),e.setAttribute("data-selector",r),e.innerHTML=`
        ${r} {
          ${n}
        }
      `,document.head.appendChild(e),()=>{e&&document.head.contains(e)&&document.head.removeChild(e)}},["tl",t,r])}("tl",s.useMemo(()=>eN(eN({},eK),d),[d]),t),r="tl-canvas",s.useLayoutEffect(()=>{if(eZ.get(r))return()=>{};let e=document.createElement("style");return e.innerHTML=eJ,e.setAttribute("id",r),document.head.appendChild(e),eZ.set(r,e),()=>{e&&document.head.contains(e)&&(document.head.removeChild(e),eZ.delete(r))}},[r,eJ]);let j=s.useRef(null),O=s.useRef(a);s.useEffect(()=>{O.current=a},[a]);let[T,A]=s.useState(()=>({callbacks:C,shapeUtils:i,rSelectionBounds:j,rPageState:O,bounds:{minX:0,minY:0,maxX:1/0,maxY:1/0,width:1/0,height:1/0},inputs:new tE})),P=s.useCallback(e=>{A(t=>eI(eN({},t),{bounds:e}))},[]);return s.createElement(ez.Provider,{value:T},s.createElement(tS,{id:n,page:o,pageState:a,assets:u,snapLines:p,eraseLine:f,grid:m,users:l,userId:c,externalContainerRef:g,hideBounds:S,hideIndicators:b,hideHandles:y,hideCloneHandles:w,hideBindingHandles:k,hideRotateHandle:_,hideResizeHandles:x,hideGrid:E,showDashedBrush:D,onBoundsChange:P,performanceMode:v,meta:h}))}),tj=s.memo(s.forwardRef(function(e,t){var{children:r,className:n=""}=e,i=eL(e,["children","className"]);return s.createElement("div",eN({ref:t,className:`tl-positioned-div ${n}`,draggable:!1},i),s.createElement("div",{className:"tl-inner-div"},r))})),tO=class{constructor(){eB(this,"refMap",new Map),eB(this,"boundsCache",new WeakMap),eB(this,"showCloneHandles",!1),eB(this,"hideBounds",!1),eB(this,"isStateful",!1),eB(this,"shouldRender",(e,t)=>!0),eB(this,"getRef",e=>(this.refMap.has(e.id)||this.refMap.set(e.id,s.createRef()),this.refMap.get(e.id))),eB(this,"hitTestBounds",(e,t)=>{let r=this.getBounds(e),n=eY.getRotatedCorners(r,e.rotation);return n.every(e=>eY.pointInBounds(e,t))||(0,ej.S3)(n,t).length>0}),eB(this,"getRotatedBounds",e=>eY.getBoundsFromPoints(eY.getRotatedCorners(this.getBounds(e),e.rotation)))}};eB(tO,"Component",e=>s.forwardRef(e)),eB(tO,"Indicator",e=>e)},17947:function(e,t,r){"use strict";r.d(t,{Bc:function(){return E},Gc:function(){return _},Rt:function(){return j},S3:function(){return P},Sn:function(){return O},T9:function(){return b},VB:function(){return m},VC:function(){return D},WU:function(){return x},Zz:function(){return v},bO:function(){return C},bW:function(){return y},oA:function(){return g},ou:function(){return A},qx:function(){return k},zb:function(){return T}});var n=r(51987),i=Object.defineProperty,o=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&c(e,r,t[r]);if(s)for(var r of s(t))l.call(t,r)&&c(e,r,t[r]);return e},h=(e,t)=>o(e,a(t));function p(e,...t){return{didIntersect:t.length>0,message:e,points:t}}function f(e,t,r=0){let i=[e[0]+t[0]/2,e[1]+t[1]/2],o=n.B.rotWith(e,i,r),a=n.B.rotWith(n.B.add(e,[t[0],0]),i,r),s=n.B.rotWith(n.B.add(e,t),i,r),u=n.B.rotWith(n.B.add(e,[0,t[1]]),i,r);return[["top",[o,a]],["right",[a,s]],["bottom",[s,u]],["left",[u,o]]]}function m(e,t){let r=n.B.slope(e[0],e[1]),i=n.B.slope(t[0],t[1]);if(r===i)return;if(Number.isNaN(r)&&!Number.isNaN(i))return[e[0][0],(e[0][0]-t[0][0])*i+t[0][1]];if(Number.isNaN(i)&&!Number.isNaN(r))return[t[0][0],(t[0][0]-e[0][0])*r+e[0][1]];let o=(r*e[0][0]-i*t[0][0]+t[0][1]-e[0][1])/(r-i),a=i*(o-t[0][0])+t[0][1];return[o,a]}function g(e,t,r,n){let[i,o]=e,[a,s]=t,[u,l]=r,[c,d]=n;if(s/a!=(d-l)/(c-u)){let e=a*(d-l)-s*(c-u);if(0!==e){let t=((o-l)*(c-u)-(i-u)*(d-l))/e,r=((o-l)*a-(i-u)*s)/e;if(t>=0&&r>=0&&r<=1)return p("intersection",[i+t*a,o+t*s])}}return p("no intersection")}function v(e,t,r,i,o,a){return k(e,n.B.mul(t,999999999),r,i,o,a)}function y(e,t,r,n=0){let{minX:i,minY:o,width:a,height:s}=r;return function(e,t,r,n,i=0){return f(r,n,i).reduce((r,[n,[i,o]])=>{let a=g(e,t,i,o);return a&&r.push(p(n,...a.points)),r},[]).filter(e=>e.didIntersect)}(e,t,[i,o],[a,s],n)}function b(e,t,r,i){let o=n.B.sub(e,r),a=n.B.sub(i,r),s=n.B.sub(t,e),u=a[0]*o[1]-a[1]*o[0],l=s[0]*o[1]-s[1]*o[0],c=a[1]*s[0]-a[0]*s[1];if(0===u||0===l)return p("coincident");if(0===c)return p("parallel");if(0!==c){let t=u/c,r=l/c;if(0<=t&&t<=1&&0<=r&&r<=1)return p("intersection",n.B.add(e,n.B.mul(s,t)))}return p("no intersection")}function w(e,t,r,i){let o=(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]),a=2*((t[0]-e[0])*(e[0]-r[0])+(t[1]-e[1])*(e[1]-r[1])),s=a*a-4*o*(r[0]*r[0]+r[1]*r[1]+e[0]*e[0]+e[1]*e[1]-2*(r[0]*e[0]+r[1]*e[1])-i*i);if(s<0)return p("outside");if(0===s)return p("tangent");let u=Math.sqrt(s),l=(-a+u)/(2*o),c=(-a-u)/(2*o);if((l<0||l>1)&&(c<0||c>1))return l<0&&c<0||l>1&&c>1?p("outside"):p("inside");let d=[];return 0<=l&&l<=1&&d.push(n.B.lrp(e,t,l)),0<=c&&c<=1&&d.push(n.B.lrp(e,t,c)),p("intersection",...d)}function k(e,t,r,i,o,a=0){if(0===i||0===o||n.B.isEqual(e,t))return p("no intersection");i=i<0?i:-i,o=o<0?o:-o,e=n.B.sub(n.B.rotWith(e,r,-a),r),t=n.B.sub(n.B.rotWith(t,r,-a),r);let s=n.B.sub(t,e),u=s[0]*s[0]/i/i+s[1]*s[1]/o/o,l=2*e[0]*s[0]/i/i+2*e[1]*s[1]/o/o,c=e[0]*e[0]/i/i+e[1]*e[1]/o/o-1,d=[],h=l*l-4*u*c;if(0===h)d.push(-l/2/u);else if(h>0){let e=Math.sqrt(h);d.push((-l+e)/2/u),d.push((-l-e)/2/u)}return p("intersection",...d.filter(e=>e>=0&&e<=1).map(i=>n.B.add(r,n.B.add(e,n.B.mul(n.B.sub(t,e),i)))).map(e=>n.B.rotWith(e,r,a)))}function x(e,t,r){return function(e,t,r){let{minX:n,minY:i,width:o,height:a}=e;return S([n,i],[o,a],t,r)}(r,e,t)}function _(e,t,r){let n=[];for(let i=1;i<r.length;i++){let o=b(e,t,r[i-1],r[i]);o&&n.push(...o.points)}return 0===n.length?p("no intersection"):p("intersection",...r)}function S(e,t,r,n){return f(e,t).reduce((e,[t,[i,o]])=>{let a=b(r,n,i,o);return a&&e.push(p(t,...a.points)),e},[]).filter(e=>e.didIntersect)}function E(e,t,r,i,o){let{minX:a,minY:s,width:u,height:l}=o;return f([a,s],[u,l]).reduce((o,[a,[s,u]])=>{let l=function(e,t,r,i,o,a){let s=n.B.angle(r,o),u=n.B.angle(r,a),l=function(e,t,r,n=0,i,o){return t===r?w(i,o,e,t):k(i,o,e,t,r,n)}(r,i,i,0,e,t);if(!l.didIntersect)return p("no intersection");let c=l.points.filter(e=>(function(e,t,r){if(r===e||r===t)return!0;let n=2*Math.PI,i=(t-e+n)%n;return i<=Math.PI!=(r-e+n)%n>i})(s,u,n.B.angle(r,e)));return 0===c.length?p("no intersection"):p("intersection",...c)}(s,u,e,t,r,i);return l&&o.push(h(d({},l),{message:a})),o},[]).filter(e=>e.didIntersect)}function D(e,t,r,n){return w(r,n,e,t)}function C(e,t,r,n){let i=r[0]-e[0],o=r[1]-e[1],a=Math.sqrt(i*i+o*o),s=(a*a-n*n+t*t)/(2*a),u=Math.sqrt(t*t-s*s);return i/=a,o/=a,p("intersection",[e[0]+i*s-o*u,e[1]+o*s+i*u],[e[0]+i*s+o*u,e[1]+o*s-i*u])}function j(e,t,r,n,i){let{minX:o,minY:a,width:s,height:u}=i;return function(e,t,r,n=0,i,o){return t===r?f(i,o).reduce((r,[n,[i,o]])=>{let a=w(i,o,e,t);return a&&r.push(h(d({},a),{message:n})),r},[]).filter(e=>e.didIntersect):function(e,t,r,n,i,o=0){return f(e,t).reduce((e,[t,[a,s]])=>{let u=k(a,s,r,n,i,o);return u&&e.push(h(d({},u),{message:t})),e},[]).filter(e=>e.didIntersect)}(i,o,e,t,r,n)}(e,t,r,n,[o,a],[s,u])}function O(e,t){var r,n,i,o;return r=[e.minX,e.minY],n=[e.width,e.height],i=[t.minX,t.minY],o=[t.width,t.height],f(r,n).reduce((e,[t,[r,n]])=>{let a=S(i,o,r,n);return e.push(...a.map(e=>p(`${t} ${e.message}`,...e.points))),e},[]).filter(e=>e.didIntersect)}function T(e,t){var r,n;return r=t,f([(n=e).minX,n.minY],[n.width,n.height]).reduce((e,[t,[n,i]])=>{let o=_(n,i,r);return o.didIntersect&&e.push(p(t,...o.points)),e},[]).filter(e=>e.didIntersect)}function A(e,t){return P(t,e)}function P(e,t){return f([t.minX,t.minY],[t.width,t.height]).reduce((t,[r,[n,i]])=>{let o=function(e,t,r){let n=[];for(let i=1;i<r.length+1;i++){let o=b(e,t,r[i-1],r[i%r.length]);o&&n.push(...o.points)}return 0===n.length?p("no intersection"):p("intersection",...r)}(n,i,e);return o.didIntersect&&t.push(p(r,...o.points)),t},[]).filter(e=>e.didIntersect)}},51987:function(e,t,r){"use strict";r.d(t,{B:function(){return s},Z:function(){return u}});var n=Object.defineProperty,i=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,o=(e,t,r)=>(i(e,"symbol"!=typeof t?t+"":t,r),r),a=class{static clamp(e,t,r){return Math.max(t,void 0!==r?Math.min(e,r):e)}static clampV(e,t,r){return e.map(e=>r?a.clamp(e,t,r):a.clamp(e,t))}static cross(e,t,r){return(t[0]-e[0])*(r[1]-e[1])-(r[0]-e[0])*(t[1]-e[1])}static snap(e,t=1){return[Math.round(e[0]/t)*t,Math.round(e[1]/t)*t]}},s=a;o(s,"neg",e=>[-e[0],-e[1]]),o(s,"add",(e,t)=>[e[0]+t[0],e[1]+t[1]]),o(s,"addScalar",(e,t)=>[e[0]+t,e[1]+t]),o(s,"sub",(e,t)=>[e[0]-t[0],e[1]-t[1]]),o(s,"subScalar",(e,t)=>[e[0]-t,e[1]-t]),o(s,"vec",(e,t)=>[t[0]-e[0],t[1]-e[1]]),o(s,"mul",(e,t)=>[e[0]*t,e[1]*t]),o(s,"mulV",(e,t)=>[e[0]*t[0],e[1]*t[1]]),o(s,"div",(e,t)=>[e[0]/t,e[1]/t]),o(s,"divV",(e,t)=>[e[0]/t[0],e[1]/t[1]]),o(s,"per",e=>[e[1],-e[0]]),o(s,"dpr",(e,t)=>e[0]*t[0]+e[1]*t[1]),o(s,"cpr",(e,t)=>e[0]*t[1]-t[0]*e[1]),o(s,"len2",e=>e[0]*e[0]+e[1]*e[1]),o(s,"len",e=>Math.hypot(e[0],e[1])),o(s,"pry",(e,t)=>a.dpr(e,t)/a.len(t)),o(s,"uni",e=>a.div(e,a.len(e))),o(s,"normalize",e=>a.uni(e)),o(s,"tangent",(e,t)=>a.uni(a.sub(e,t))),o(s,"dist2",(e,t)=>a.len2(a.sub(e,t))),o(s,"dist",(e,t)=>Math.hypot(e[1]-t[1],e[0]-t[0])),o(s,"fastDist",(e,t)=>{let r=[t[0]-e[0],t[1]-e[1]],n=[Math.abs(r[0]),Math.abs(r[1])],i=1/Math.max(n[0],n[1]);return[r[0]*(i*=1.29289-(n[0]+n[1])*i*.29289),r[1]*i]}),o(s,"ang",(e,t)=>Math.atan2(a.cpr(e,t),a.dpr(e,t))),o(s,"angle",(e,t)=>Math.atan2(t[1]-e[1],t[0]-e[0])),o(s,"med",(e,t)=>a.mul(a.add(e,t),.5)),o(s,"rot",(e,t=0)=>[e[0]*Math.cos(t)-e[1]*Math.sin(t),e[0]*Math.sin(t)+e[1]*Math.cos(t)]),o(s,"rotWith",(e,t,r=0)=>{if(0===r)return e;let n=Math.sin(r),i=Math.cos(r),o=e[0]-t[0],a=e[1]-t[1];return[o*i-a*n+t[0],o*n+a*i+t[1]]}),o(s,"isEqual",(e,t)=>e[0]===t[0]&&e[1]===t[1]),o(s,"lrp",(e,t,r)=>a.add(e,a.mul(a.sub(t,e),r))),o(s,"int",(e,t,r,n,i=1)=>{let o=(a.clamp(r,n)-r)/(n-r);return a.add(a.mul(e,1-o),a.mul(t,i))}),o(s,"ang3",(e,t,r)=>{let n=a.vec(t,e),i=a.vec(t,r);return a.ang(n,i)}),o(s,"abs",e=>[Math.abs(e[0]),Math.abs(e[1])]),o(s,"rescale",(e,t)=>{let r=a.len(e);return[t*e[0]/r,t*e[1]/r]}),o(s,"isLeft",(e,t,r)=>(t[0]-e[0])*(r[1]-e[1])-(r[0]-e[0])*(t[1]-e[1])),o(s,"clockwise",(e,t,r)=>a.isLeft(e,t,r)>0),o(s,"toFixed",e=>e.map(e=>Math.round(100*e)/100)),o(s,"nearestPointOnLineThroughPoint",(e,t,r)=>a.add(e,a.mul(t,a.pry(a.sub(r,e),t)))),o(s,"distanceToLineThroughPoint",(e,t,r)=>a.dist(r,a.nearestPointOnLineThroughPoint(e,t,r))),o(s,"nearestPointOnLineSegment",(e,t,r,n=!0)=>{let i=a.uni(a.sub(t,e)),o=a.add(e,a.mul(i,a.pry(a.sub(r,e),i)));if(n){if(o[0]<Math.min(e[0],t[0]))return e[0]<t[0]?e:t;if(o[0]>Math.max(e[0],t[0]))return e[0]>t[0]?e:t;if(o[1]<Math.min(e[1],t[1]))return e[1]<t[1]?e:t;if(o[1]>Math.max(e[1],t[1]))return e[1]>t[1]?e:t}return o}),o(s,"distanceToLineSegment",(e,t,r,n=!0)=>a.dist(r,a.nearestPointOnLineSegment(e,t,r,n))),o(s,"nearestPointOnBounds",(e,t)=>[a.clamp(t[0],e.minX,e.maxX),a.clamp(t[1],e.minY,e.maxY)]),o(s,"distanceToBounds",(e,t)=>a.dist(t,a.nearestPointOnBounds(e,t))),o(s,"nudge",(e,t,r)=>a.isEqual(e,t)?e:a.add(e,a.mul(a.uni(a.sub(t,e)),r))),o(s,"nudgeAtAngle",(e,t,r)=>[Math.cos(t)*r+e[0],Math.sin(t)*r+e[1]]),o(s,"toPrecision",(e,t=4)=>[+e[0].toPrecision(t),+e[1].toPrecision(t)]),o(s,"pointsBetween",(e,t,r=6)=>Array.from(Array(r)).map((n,i)=>{let o=i/(r-1),s=Math.min(1,.5+Math.abs(.5-o));return[...a.lrp(e,t,o),s]})),o(s,"slope",(e,t)=>e[0]===t[0]?NaN:(e[1]-t[1])/(e[0]-t[0])),o(s,"max",(...e)=>[Math.max(...e.map(e=>e[0])),Math.max(...e.map(e=>e[1]))]),o(s,"min",(...e)=>[Math.min(...e.map(e=>e[0])),Math.min(...e.map(e=>e[1]))]);var u=s},5617:function(e,t,r){"use strict";let n,i,o;r.d(t,{zt:function(){return E},C$:function(){return y},sk:function(){return F}});var a={};r.r(a),r.d(a,{getItem:function(){return x},removeItem:function(){return _},setItem:function(){return k}});var s=r(47491),u=r(75386);class l extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}function c(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var d=0;function h(e){return"__private_"+d+++"_"+e}async function p(e){if(401===e.status)throw new l;let t=e.json();if(e.ok)return t;let r=`Failed request with status: ${e.status}. ${e.statusText}`;try{let e=await t;r=e.message?`${r} message: ${e.message}`:r,r=e.requestId?`${r} request-Id: ${e.requestId}`:r}catch{}throw Error(r)}let f=new Map;var m=h("companionHeaders"),g=h("getUrl"),v=h("request");n=Symbol.for("uppy test: getCompanionHeaders");class y{constructor(e,t){Object.defineProperty(this,v,{value:w}),Object.defineProperty(this,g,{value:b}),Object.defineProperty(this,m,{writable:!0,value:void 0}),this.uppy=e,this.opts=t,this.onReceiveResponse=this.onReceiveResponse.bind(this),c(this,m)[m]=null==t?void 0:t.companionHeaders}setCompanionHeaders(e){c(this,m)[m]=e}[n](){return c(this,m)[m]}get hostname(){let{companion:e}=this.uppy.getState(),t=this.opts.companionUrl;return(e&&e[t]?e[t]:t).replace(/\/$/,"")}async headers(){return{Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${y.VERSION}`,...c(this,m)[m]}}onReceiveResponse(e){let{headers:t}=e,r=this.uppy.getState().companion||{},n=this.opts.companionUrl;t.has("i-am")&&t.get("i-am")!==r[n]&&this.uppy.setState({companion:{...r,[n]:t.get("i-am")}})}async preflight(e){let t=f.get(this.hostname);if(null!=t)return t;let r=["accept","content-type","uppy-auth-token"],n=(async()=>{try{let t=(await fetch(c(this,g)[g](e),{method:"OPTIONS"})).headers.get("access-control-allow-headers");if(null==t||"*"===t)return f.set(this.hostname,r),r;this.uppy.log(`[CompanionClient] adding allowed preflight headers to companion cache: ${this.hostname} ${t}`);let n=t.split(",").map(e=>e.trim().toLowerCase());return f.set(this.hostname,n),n}catch(e){return this.uppy.log(`[CompanionClient] unable to make preflight request ${e}`,"warning"),f.delete(this.hostname),r}})();return f.set(this.hostname,n),n}async preflightAndHeaders(e){let[t,r]=await Promise.all([this.preflight(e),this.headers()]);return Object.fromEntries(Object.entries(r).filter(e=>{let[r]=e;return!!t.includes(r.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${r}`),!1)}))}async get(e,t){return void 0===t&&(t=void 0),"boolean"==typeof t&&(t={skipPostResponse:t}),c(this,v)[v]({...t,path:e})}async post(e,t,r){return void 0===r&&(r=void 0),"boolean"==typeof r&&(r={skipPostResponse:r}),c(this,v)[v]({...r,path:e,method:"POST",data:t})}async delete(e,t,r){return void 0===t&&(t=void 0),"boolean"==typeof r&&(r={skipPostResponse:r}),c(this,v)[v]({...r,path:e,method:"DELETE",data:t})}}function b(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}async function w(e){let{path:t,method:r="GET",data:n,skipPostResponse:i,signal:o}=e;try{let e=await this.preflightAndHeaders(t),a=await (0,s.Z)(c(this,g)[g](t),{method:r,signal:o,headers:e,credentials:this.opts.companionCookiesRule||"same-origin",body:n?JSON.stringify(n):null});return i||this.onReceiveResponse(a),p(a)}catch(e){if(null!=e&&e.isAuthError)throw e;throw new u.Z(`Could not ${r} ${c(this,g)[g](t)}`,{cause:e})}}function k(e,t){return new Promise(r=>{localStorage.setItem(e,t),r()})}function x(e){return Promise.resolve(localStorage.getItem(e))}function _(e){return new Promise(t=>{localStorage.removeItem(e),t()})}y.VERSION="3.1.1";let S=e=>e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ");class E extends y{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||S(this.id),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}async headers(){let[e,t]=await Promise.all([super.headers(),this.getAuthToken()]),r={};return t&&(r["uppy-auth-token"]=t),this.companionKeysParams&&(r["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),{...e,...r}}onReceiveResponse(e){super.onReceiveResponse(e);let t=this.uppy.getPlugin(this.pluginId),r=t.getPluginState().authenticated?401!==e.status:e.status<400;return t.setPluginState({authenticated:r}),e}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}async ensurePreAuth(){if(this.companionKeysParams&&!this.preAuthToken&&(await this.fetchPreAuthToken(),!this.preAuthToken))throw Error("Could not load authentication data required for third-party login. Please try again later.")}authUrl(e){void 0===e&&(e={});let t=new URLSearchParams(e);return this.preAuthToken&&t.set("uppyPreAuthToken",this.preAuthToken),`${this.hostname}/${this.id}/connect?${t}`}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`}async fetchPreAuthToken(){if(this.companionKeysParams)try{let e=await this.post(`${this.id}/preauth/`,{params:this.companionKeysParams});this.preAuthToken=e.token}catch(e){this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,"warning")}}list(e){return this.get(`${this.id}/list/${e||""}`)}logout(){return this.get(`${this.id}/logout`).then(e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(e=>{let[t]=e;return t})}static initPlugin(e,t,r){if(e.type="acquirer",e.files=[],r&&(e.opts={...r,...t}),t.serverUrl||t.serverPattern)throw Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(t.companionAllowedHosts){let r=t.companionAllowedHosts;if("string"!=typeof r&&!Array.isArray(r)&&!(r instanceof RegExp))throw TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=r}else/^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,"")}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||a}}var D=r(5450);function C(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var j=0;function O(e){return"__private_"+j+++"_"+e}var T=O("queued"),A=O("emitter"),P=O("isOpen"),R=O("socket"),M=O("handleMessage");i=Symbol.for("uppy test: getSocket"),o=Symbol.for("uppy test: getQueued");class F{constructor(e){Object.defineProperty(this,T,{writable:!0,value:[]}),Object.defineProperty(this,A,{writable:!0,value:D()}),Object.defineProperty(this,P,{writable:!0,value:!1}),Object.defineProperty(this,R,{writable:!0,value:void 0}),Object.defineProperty(this,M,{writable:!0,value:e=>{try{let t=JSON.parse(e.data);this.emit(t.action,t.payload)}catch(e){console.log(e)}}}),this.opts=e,e&&!1===e.autoOpen||this.open()}get isOpen(){return C(this,P)[P]}[i](){return C(this,R)[R]}[o](){return C(this,T)[T]}open(){C(this,R)[R]=new WebSocket(this.opts.target),C(this,R)[R].onopen=()=>{for(C(this,P)[P]=!0;C(this,T)[T].length>0&&C(this,P)[P];){let e=C(this,T)[T].shift();this.send(e.action,e.payload)}},C(this,R)[R].onclose=()=>{C(this,P)[P]=!1},C(this,R)[R].onmessage=C(this,M)[M]}close(){var e;null==(e=C(this,R)[R])||e.close()}send(e,t){if(!C(this,P)[P]){C(this,T)[T].push({action:e,payload:t});return}C(this,R)[R].send(JSON.stringify({action:e,payload:t}))}on(e,t){C(this,A)[A].on(e,t)}emit(e,t){C(this,A)[A].emit(e,t)}once(e,t){C(this,A)[A].once(e,t)}}},60587:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(6744);class i{constructor(e,t){void 0===t&&(t={}),this.uppy=e,this.opts=t}getPluginState(){let{plugins:e}=this.uppy.getState();return e[this.id]||{}}setPluginState(e){let{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:{...t,[this.id]:{...t[this.id],...e}}})}setOptions(e){this.opts={...this.opts,...e},this.setPluginState(),this.i18nInit()}i18nInit(){let e=new n.Z([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.setPluginState()}addTarget(){throw Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}}},65616:function(e,t,r){"use strict";let n,i;r.d(t,{di:function(){return ey},hS:function(){return el},ZP:function(){return el}});var o=r(6744),a=r(5450);let s=(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t};var u=r(98357);function l(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var c=0;function d(e){return"__private_"+c+++"_"+e}var h=d("callbacks"),p=d("publish");class f{constructor(){Object.defineProperty(this,p,{value:m}),Object.defineProperty(this,h,{writable:!0,value:new Set}),this.state={}}getState(){return this.state}setState(e){let t={...this.state},r={...this.state,...e};this.state=r,l(this,p)[p](t,r,e)}subscribe(e){return l(this,h)[h].add(e),()=>{l(this,h)[h].delete(e)}}}function m(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];l(this,h)[h].forEach(e=>{e(...t)})}function g(e){let t=e.lastIndexOf(".");return -1===t||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)}}f.VERSION="3.0.2";var v=r(13326);function y(e){let t="";return e.replace(/[^A-Z0-9]/ig,e=>(t+=`-${e.charCodeAt(0).toString(32)}`,"/"))+t}function b(e){return e<10?`0${e}`:e.toString()}function w(){let e=new Date,t=b(e.getHours()),r=b(e.getMinutes()),n=b(e.getSeconds());return`${t}:${r}:${n}`}let k={debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error(`[Uppy] [${w()}]`,...t)}},x={debug:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.debug(`[Uppy] [${w()}]`,...t)},warn:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.warn(`[Uppy] [${w()}]`,...t)},error:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error(`[Uppy] [${w()}]`,...t)}};var _=r(39961),S=r(34752);let E={maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]};class D extends Error{constructor(){super(...arguments),this.isRestriction=!0}}class C{constructor(e,t){this.i18n=t,this.getOpts=()=>{let t=e();if(null!=t.restrictions.allowedFileTypes&&!Array.isArray(t.restrictions.allowedFileTypes))throw TypeError("`restrictions.allowedFileTypes` must be an array");return t}}validate(e,t){let{maxFileSize:r,minFileSize:n,maxTotalFileSize:i,maxNumberOfFiles:o,allowedFileTypes:a}=this.getOpts().restrictions;if(o&&t.filter(e=>!e.isGhost).length+1>o)throw new D(`${this.i18n("youCanOnlyUploadX",{smart_count:o})}`);if(a&&!a.some(t=>t.includes("/")?!!e.type&&S(e.type.replace(/;.*?$/,""),t):"."===t[0]&&!!e.extension&&e.extension.toLowerCase()===t.slice(1).toLowerCase())){let e=a.join(", ");throw new D(this.i18n("youCanOnlyUploadFileTypes",{types:e}))}if(i&&null!=e.size&&t.reduce((e,t)=>e+t.size,e.size)>i)throw new D(this.i18n("exceedsSize",{size:_(i),file:e.name}));if(r&&null!=e.size&&e.size>r)throw new D(this.i18n("exceedsSize",{size:_(r),file:e.name}));if(n&&null!=e.size&&e.size<n)throw new D(this.i18n("inferiorSize",{size:_(n)}))}validateMinNumberOfFiles(e){let{minNumberOfFiles:t}=this.getOpts().restrictions;if(Object.keys(e).length<t)throw new D(this.i18n("youHaveToAtLeastSelectX",{smart_count:t}))}getMissingRequiredMetaFields(e){let t=new D(this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})),{requiredMetaFields:r}=this.getOpts().restrictions,n=[];for(let t of r)Object.hasOwn(e.meta,t)&&""!==e.meta[t]||n.push(t);return{missingFields:n,error:t}}}var j={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",search:"Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}};function O(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var T=0;function A(e){return"__private_"+T+++"_"+e}var P=A("plugins"),R=A("restricter"),M=A("storeUnsubscribe"),F=A("emitter"),N=A("preProcessors"),I=A("uploaders"),L=A("postProcessors"),B=A("informAndEmit"),z=A("checkRequiredMetaFieldsOnFile"),U=A("checkRequiredMetaFields"),q=A("assertNewUploadAllowed"),$=A("checkAndCreateFileStateObject"),H=A("startIfAutoProceed"),V=A("addListeners"),W=A("updateOnlineStatus"),G=A("createUpload"),Y=A("getUpload"),Z=A("removeUpload"),K=A("runUpload");n=Symbol.for("uppy test: getPlugins"),i=Symbol.for("uppy test: createUpload");class J{constructor(e){Object.defineProperty(this,K,{value:eu}),Object.defineProperty(this,Z,{value:es}),Object.defineProperty(this,Y,{value:ea}),Object.defineProperty(this,G,{value:eo}),Object.defineProperty(this,V,{value:ei}),Object.defineProperty(this,H,{value:en}),Object.defineProperty(this,$,{value:er}),Object.defineProperty(this,q,{value:et}),Object.defineProperty(this,U,{value:ee}),Object.defineProperty(this,z,{value:Q}),Object.defineProperty(this,B,{value:X}),Object.defineProperty(this,P,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,R,{writable:!0,value:void 0}),Object.defineProperty(this,M,{writable:!0,value:void 0}),Object.defineProperty(this,F,{writable:!0,value:a()}),Object.defineProperty(this,N,{writable:!0,value:new Set}),Object.defineProperty(this,I,{writable:!0,value:new Set}),Object.defineProperty(this,L,{writable:!0,value:new Set}),Object.defineProperty(this,W,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=j;let t={id:"uppy",autoProceed:!1,allowMultipleUploadBatches:!0,debug:!1,restrictions:E,meta:{},onBeforeFileAdded:e=>e,onBeforeUpload:e=>e,store:new f,logger:k,infoTimeout:5e3};this.opts={...t,...e,restrictions:{...t.restrictions,...e&&e.restrictions}},e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e&&e.debug&&(this.opts.logger=x),this.log(`Using Core v${this.constructor.VERSION}`),this.i18nInit(),this.calculateProgress=u(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:function(e){if(null==e&&"undefined"!=typeof navigator&&(e=navigator.userAgent),!e)return!0;let t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;let[r,n]=t[1].split(".");return r=parseInt(r,10),n=parseInt(n,10),r<15||15===r&&n<15063||r>18||18===r&&n>=18218}(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:{...this.opts.meta},info:[],recoveredState:null}),O(this,R)[R]=new C(()=>this.opts,this.i18n),O(this,M)[M]=this.store.subscribe((e,t,r)=>{this.emit("state-update",e,t,r),this.updateAll(t)}),this.opts.debug&&"undefined"!=typeof window&&(window[this.opts.id]=this),O(this,V)[V]()}emit(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];O(this,F)[F].emit(e,...r)}on(e,t){return O(this,F)[F].on(e,t),this}once(e,t){return O(this,F)[F].once(e,t),this}off(e,t){return O(this,F)[F].off(e,t),this}updateAll(e){this.iteratePlugins(t=>{t.update(e)})}setState(e){this.store.setState(e)}getState(){return this.store.getState()}setFileState(e,t){if(!this.getState().files[e])throw Error(`Can’t set state for ${e} (the file could have been removed)`);this.setState({files:{...this.getState().files,[e]:{...this.getState().files[e],...t}}})}i18nInit(){let e=new o.Z([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale}setOptions(e){this.opts={...this.opts,...e,restrictions:{...this.opts.restrictions,...e&&e.restrictions}},e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins(e=>{e.setOptions()}),this.setState()}resetProgress(){let e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},t={...this.getState().files},r={};Object.keys(t).forEach(n=>{let i={...t[n]};i.progress={...i.progress,...e},r[n]=i}),this.setState({files:r,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(e){O(this,N)[N].add(e)}removePreProcessor(e){return O(this,N)[N].delete(e)}addPostProcessor(e){O(this,L)[L].add(e)}removePostProcessor(e){return O(this,L)[L].delete(e)}addUploader(e){O(this,I)[I].add(e)}removeUploader(e){return O(this,I)[I].delete(e)}setMeta(e){let t={...this.getState().meta,...e},r={...this.getState().files};Object.keys(r).forEach(t=>{r[t]={...r[t],meta:{...r[t].meta,...e}}}),this.log("Adding metadata:"),this.log(e),this.setState({meta:t,files:r})}setFileMeta(e,t){let r={...this.getState().files};if(!r[e]){this.log("Was trying to set metadata for a file that has been removed: ",e);return}let n={...r[e].meta,...t};r[e]={...r[e],meta:n},this.setState({files:r})}getFile(e){return this.getState().files[e]}getFiles(){let{files:e}=this.getState();return Object.values(e)}getObjectOfFilesPerState(){let{files:e,totalProgress:t,error:r}=this.getState(),n=Object.values(e),i=n.filter(e=>{let{progress:t}=e;return!t.uploadComplete&&t.uploadStarted}),o=n.filter(e=>!e.progress.uploadStarted),a=n.filter(e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess),s=n.filter(e=>e.progress.uploadStarted),u=n.filter(e=>e.isPaused),l=n.filter(e=>e.progress.uploadComplete),c=n.filter(e=>e.error),d=i.filter(e=>!e.isPaused),h=n.filter(e=>e.progress.preprocess||e.progress.postprocess);return{newFiles:o,startedFiles:a,uploadStartedFiles:s,pausedFiles:u,completeFiles:l,erroredFiles:c,inProgressFiles:i,inProgressNotPausedFiles:d,processingFiles:h,isUploadStarted:s.length>0,isAllComplete:100===t&&l.length===n.length&&0===h.length,isAllErrored:!!r&&c.length===n.length,isAllPaused:0!==i.length&&u.length===i.length,isUploadInProgress:i.length>0,isSomeGhost:n.some(e=>e.isGhost)}}validateRestrictions(e,t){void 0===t&&(t=this.getFiles());try{O(this,R)[R].validate(e,t)}catch(e){return e}return null}checkIfFileAlreadyExists(e){let{files:t}=this.getState();return!!t[e]&&!t[e].isGhost}addFile(e){O(this,q)[q](e);let{files:t}=this.getState(),r=O(this,$)[$](t,e);return t[r.id]&&t[r.id].isGhost&&(r={...t[r.id],data:e.data,isGhost:!1},this.log(`Replaced the blob in the restored ghost file: ${r.name}, ${r.id}`)),this.setState({files:{...t,[r.id]:r}}),this.emit("file-added",r),this.emit("files-added",[r]),this.log(`Added file: ${r.name}, ${r.id}, mime type: ${r.type}`),O(this,H)[H](),r.id}addFiles(e){O(this,q)[q]();let t={...this.getState().files},r=[],n=[];for(let i=0;i<e.length;i++)try{let n=O(this,$)[$](t,e[i]);t[n.id]&&t[n.id].isGhost&&(n={...t[n.id],data:e[i].data,isGhost:!1},this.log(`Replaced blob in a ghost file: ${n.name}, ${n.id}`)),t[n.id]=n,r.push(n)}catch(e){e.isRestriction||n.push(e)}if(this.setState({files:t}),r.forEach(e=>{this.emit("file-added",e)}),this.emit("files-added",r),r.length>5?this.log(`Added batch of ${r.length} files`):Object.keys(r).forEach(e=>{this.log(`Added file: ${r[e].name}
 id: ${r[e].id}
 type: ${r[e].type}`)}),r.length>0&&O(this,H)[H](),n.length>0){let e="Multiple errors occurred while adding files:\n";if(n.forEach(t=>{e+=`
 * ${t.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:n.length}),details:e},"error",this.opts.infoTimeout),"function"==typeof AggregateError)throw AggregateError(n,e);{let t=Error(e);throw t.errors=n,t}}}removeFiles(e,t){let{files:r,currentUploads:n}=this.getState(),i={...r},o={...n},a=Object.create(null);function s(e){return void 0===a[e]}e.forEach(e=>{r[e]&&(a[e]=r[e],delete i[e])}),Object.keys(o).forEach(e=>{let t=n[e].fileIDs.filter(s);if(0===t.length){delete o[e];return}let{capabilities:r}=this.getState();if(t.length!==n[e].fileIDs.length&&!r.individualCancellation)throw Error("individualCancellation is disabled");o[e]={...n[e],fileIDs:t}});let u={currentUploads:o,files:i};0===Object.keys(i).length&&(u.allowNewUpload=!0,u.error=null,u.recoveredState=null),this.setState(u),this.calculateTotalProgress();let l=Object.keys(a);l.forEach(e=>{this.emit("file-removed",a[e],t)}),l.length>5?this.log(`Removed ${l.length} files`):this.log(`Removed files: ${l.join(", ")}`)}removeFile(e,t){void 0===t&&(t=null),this.removeFiles([e],t)}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).uploadComplete)return;let t=!this.getFile(e).isPaused;return this.setFileState(e,{isPaused:t}),this.emit("upload-pause",e,t),t}pauseAll(){let e={...this.getState().files};Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{let r={...e[t],isPaused:!0};e[t]=r}),this.setState({files:e}),this.emit("pause-all")}resumeAll(){let e={...this.getState().files};Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{let r={...e[t],isPaused:!1,error:null};e[t]=r}),this.setState({files:e}),this.emit("resume-all")}retryAll(){let e={...this.getState().files},t=Object.keys(e).filter(t=>e[t].error);if(t.forEach(t=>{let r={...e[t],isPaused:!1,error:null};e[t]=r}),this.setState({files:e,error:null}),this.emit("retry-all",t),0===t.length)return Promise.resolve({successful:[],failed:[]});let r=O(this,G)[G](t,{forceAllowNewUpload:!0});return O(this,K)[K](r)}cancelAll(e){let{reason:t="user"}=void 0===e?{}:e;if(this.emit("cancel-all",{reason:t}),"user"===t){let{files:e}=this.getState(),t=Object.keys(e);t.length&&this.removeFiles(t,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null})}}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit("upload-retry",e);let t=O(this,G)[G]([e],{forceAllowNewUpload:!0});return O(this,K)[K](t)}logout(){this.iteratePlugins(e=>{e.provider&&e.provider.logout&&e.provider.logout()})}calculateProgress(e,t){if(null==e||!this.getFile(e.id)){this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);return}let r=Number.isFinite(t.bytesTotal)&&t.bytesTotal>0;this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,bytesUploaded:t.bytesUploaded,bytesTotal:t.bytesTotal,percentage:r?Math.round(t.bytesUploaded/t.bytesTotal*100):0}}),this.calculateTotalProgress()}calculateTotalProgress(){let e=this.getFiles().filter(e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess);if(0===e.length){this.emit("progress",0),this.setState({totalProgress:0});return}let t=e.filter(e=>null!=e.progress.bytesTotal),r=e.filter(e=>null==e.progress.bytesTotal);if(0===t.length){let t=100*e.length,n=Math.round(r.reduce((e,t)=>e+t.progress.percentage,0)/t*100);this.setState({totalProgress:n});return}let n=t.reduce((e,t)=>e+t.progress.bytesTotal,0),i=n/t.length;n+=i*r.length;let o=0;t.forEach(e=>{o+=e.progress.bytesUploaded}),r.forEach(e=>{o+=i*(e.progress.percentage||0)/100});let a=0===n?0:Math.round(o/n*100);a>100&&(a=100),this.setState({totalProgress:a}),this.emit("progress",a)}updateOnlineStatus(){void 0===window.navigator.onLine||window.navigator.onLine?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}getID(){return this.opts.id}use(e,t){if("function"!=typeof e)throw TypeError(`Expected a plugin class, but got ${null===e?"null":typeof e}. Please verify that the plugin was imported and spelled correctly.`);let r=new e(this,t),n=r.id;if(!n)throw Error("Your plugin must have an id");if(!r.type)throw Error("Your plugin must have a type");let i=this.getPlugin(n);if(i)throw Error(`Already found a plugin named '${i.id}'. Tried to use: '${n}'.
Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`);return e.VERSION&&this.log(`Using ${n} v${e.VERSION}`),r.type in O(this,P)[P]?O(this,P)[P][r.type].push(r):O(this,P)[P][r.type]=[r],r.install(),this}getPlugin(e){for(let t of Object.values(O(this,P)[P])){let r=t.find(t=>t.id===e);if(null!=r)return r}}[n](e){return O(this,P)[P][e]}iteratePlugins(e){Object.values(O(this,P)[P]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();let t=O(this,P)[P][e.type],r=t.findIndex(t=>t.id===e.id);-1!==r&&t.splice(r,1);let n={plugins:{...this.getState().plugins,[e.id]:void 0}};this.setState(n)}close(e){let{reason:t}=void 0===e?{}:e;this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.cancelAll({reason:t}),O(this,M)[M](),this.iteratePlugins(e=>{this.removePlugin(e)}),"undefined"!=typeof window&&window.removeEventListener&&(window.removeEventListener("online",O(this,W)[W]),window.removeEventListener("offline",O(this,W)[W]))}hideInfo(){let{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden")}info(e,t,r){void 0===t&&(t="info"),void 0===r&&(r=3e3);let n="object"==typeof e;this.setState({info:[...this.getState().info,{type:t,message:n?e.message:e,details:n?e.details:null}]}),setTimeout(()=>this.hideInfo(),r),this.emit("info-visible")}log(e,t){let{logger:r}=this.opts;switch(t){case"error":r.error(e);break;case"warning":r.warn(e);break;default:r.debug(e)}}restore(e){return(this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e])?O(this,K)[K](e):(O(this,Z)[Z](e),Promise.reject(Error("Nonexistent upload")))}[i](){return O(this,G)[G](...arguments)}addResultData(e,t){if(!O(this,Y)[Y](e)){this.log(`Not setting result for an upload that has been removed: ${e}`);return}let{currentUploads:r}=this.getState(),n={...r[e],result:{...r[e].result,...t}};this.setState({currentUploads:{...r,[e]:n}})}upload(){var e;null!=(e=O(this,P)[P].uploader)&&e.length||this.log("No uploader type plugins are used","warning");let{files:t}=this.getState(),r=this.opts.onBeforeUpload(t);return!1===r?Promise.reject(Error("Not starting the upload because onBeforeUpload returned false")):(r&&"object"==typeof r&&(t=r,this.setState({files:t})),Promise.resolve().then(()=>O(this,R)[R].validateMinNumberOfFiles(t)).catch(e=>{throw O(this,B)[B](e),e}).then(()=>{if(!O(this,U)[U](t))throw new D(this.i18n("missingRequiredMetaField"))}).catch(e=>{throw e}).then(()=>{let{currentUploads:e}=this.getState(),r=Object.values(e).flatMap(e=>e.fileIDs),n=[];Object.keys(t).forEach(e=>{let t=this.getFile(e);t.progress.uploadStarted||-1!==r.indexOf(e)||n.push(t.id)});let i=O(this,G)[G](n);return O(this,K)[K](i)}).catch(e=>{throw this.emit("error",e),this.log(e,"error"),e}))}}function X(e,t){let{message:r,details:n=""}=e;e.isRestriction?this.emit("restriction-failed",t,e):this.emit("error",e),this.info({message:r,details:n},"error",this.opts.infoTimeout),this.log(e,"warning")}function Q(e){let{missingFields:t,error:r}=O(this,R)[R].getMissingRequiredMetaFields(e);return!(t.length>0)||(this.setFileState(e.id,{missingRequiredMetaFields:t}),this.log(r.message),this.emit("restriction-failed",e,r),!1)}function ee(e){let t=!0;for(let r of Object.values(e))O(this,z)[z](r)||(t=!1);return t}function et(e){let{allowNewUpload:t}=this.getState();if(!1===t){let t=new D(this.i18n("noMoreFilesAllowed"));throw O(this,B)[B](t,e),t}}function er(e,t){var r,n;let i;t instanceof File&&(t={name:t.name,type:t.type,size:t.size,data:t});let o=function(e){var t;if(e.type)return e.type;let r=e.name?null==(t=g(e.name).extension)?void 0:t.toLowerCase():null;return r&&r in v.Z?v.Z[r]:"application/octet-stream"}(t),a=(r=t).name?r.name:"image"===o.split("/")[0]?`${o.split("/")[0]}.${o.split("/")[1]}`:"noname",s=g(a).extension,u=!!t.isRemote,l=(n={...t,type:o},i="uppy","string"==typeof n.name&&(i+=`-${y(n.name.toLowerCase())}`),void 0!==n.type&&(i+=`-${n.type}`),n.meta&&"string"==typeof n.meta.relativePath&&(i+=`-${y(n.meta.relativePath.toLowerCase())}`),void 0!==n.data.size&&(i+=`-${n.data.size}`),void 0!==n.data.lastModified&&(i+=`-${n.data.lastModified}`),i);if(this.checkIfFileAlreadyExists(l)){let e=new D(this.i18n("noDuplicates",{fileName:a}));throw O(this,B)[B](e,t),e}let c=t.meta||{};c.name=a,c.type=o;let d=Number.isFinite(t.data.size)?t.data.size:null,h={source:t.source||"",id:l,name:a,extension:s||"",meta:{...this.getState().meta,...c},type:o,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:d,uploadComplete:!1,uploadStarted:null},size:d,isRemote:u,remote:t.remote||"",preview:t.preview},p=this.opts.onBeforeFileAdded(h,e);if(!1===p){let e=new D("Cannot add the file because onBeforeFileAdded returned false.");throw this.emit("restriction-failed",t,e),e}"object"==typeof p&&null!==p&&(h=p);try{let t=Object.keys(e).map(t=>e[t]);O(this,R)[R].validate(h,t)}catch(e){throw O(this,B)[B](e,h),e}return h}function en(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e)})},4))}function ei(){let e;let t=(e,t,r)=>{let n=e.message||"Unknown error";e.details&&(n+=` ${e.details}`),this.setState({error:n}),null!=t&&t.id in this.getState().files&&this.setFileState(t.id,{error:n,response:r})};this.on("error",t),this.on("upload-error",(e,r,n)=>{if(t(r,e,n),"object"==typeof r&&r.message){let t=Error(r.message);t.details=r.message,r.details&&(t.details+=` ${r.details}`),t.message=this.i18n("failedToUpload",{file:null==e?void 0:e.name}),O(this,B)[B](t)}else O(this,B)[B](r)}),this.on("upload-stalled",(t,r)=>{let{message:n}=t,i=r.map(e=>e.meta.name).join(", ");e||(this.info({message:n,details:i},"warning",this.opts.infoTimeout),e=setTimeout(()=>{e=null},this.opts.infoTimeout)),this.log(`${n} ${i}`.trim(),"warning")}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",e=>{if(null==e||!this.getFile(e.id)){this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);return}this.setFileState(e.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:e.size}})}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(e,t)=>{if(null==e||!this.getFile(e.id)){this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);return}let r=this.getFile(e.id).progress;this.setFileState(e.id,{progress:{...r,postprocess:O(this,L)[L].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:r.bytesTotal},response:t,uploadURL:t.uploadURL,isPaused:!1}),null==e.size&&this.setFileState(e.id,{size:t.bytesUploaded||r.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(e,t)=>{if(null==e||!this.getFile(e.id)){this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);return}this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,preprocess:t}})}),this.on("preprocess-complete",e=>{if(null==e||!this.getFile(e.id)){this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);return}let t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.preprocess,this.setState({files:t})}),this.on("postprocess-progress",(e,t)=>{if(null==e||!this.getFile(e.id)){this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);return}this.setFileState(e.id,{progress:{...this.getState().files[e.id].progress,postprocess:t}})}),this.on("postprocess-complete",e=>{if(null==e||!this.getFile(e.id)){this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);return}let t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.postprocess,this.setState({files:t})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",e=>{e&&O(this,z)[z](e)}),"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("online",O(this,W)[W]),window.addEventListener("offline",O(this,W)[W]),setTimeout(O(this,W)[W],3e3))}function eo(e,t){void 0===t&&(t={});let{forceAllowNewUpload:r=!1}=t,{allowNewUpload:n,currentUploads:i}=this.getState();if(!n&&!r)throw Error("Cannot create a new upload: already uploading.");let o=s();return this.emit("upload",{id:o,fileIDs:e}),this.setState({allowNewUpload:!1!==this.opts.allowMultipleUploadBatches&&!1!==this.opts.allowMultipleUploads,currentUploads:{...i,[o]:{fileIDs:e,step:0,result:{}}}}),o}function ea(e){let{currentUploads:t}=this.getState();return t[e]}function es(e){let t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t})}async function eu(e){let t,{currentUploads:r}=this.getState(),n=r[e],i=n.step||0,o=[...O(this,N)[N],...O(this,I)[I],...O(this,L)[L]];try{for(let t=i;t<o.length&&n;t++){let i=o[t],a={...n,step:t};this.setState({currentUploads:{...r,[e]:a}}),await i(a.fileIDs,e),n=(r=this.getState().currentUploads)[e]}}catch(t){throw O(this,Z)[Z](e),t}if(n){n.fileIDs.forEach(e=>{let t=this.getFile(e);t&&t.progress.postprocess&&this.emit("postprocess-complete",t)});let t=n.fileIDs.map(e=>this.getFile(e)),i=t.filter(e=>!e.error),o=t.filter(e=>e.error);await this.addResultData(e,{successful:i,failed:o,uploadID:e}),n=(r=this.getState().currentUploads)[e]}return n&&(t=n.result,this.emit("complete",t),O(this,Z)[Z](e)),null==t&&this.log(`Not setting result for an upload that has been removed: ${e}`),t}J.VERSION="3.0.6";var el=J,ec=r(33847),ed=r(95444),eh=r(87843),ep=r(60587);function ef(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var em=0,eg="__private_"+em+++"_updateUI";class ev extends ep.Z{constructor(){super(...arguments),Object.defineProperty(this,eg,{writable:!0,value:void 0})}getTargetPlugin(e){let t;return"object"==typeof e&&e instanceof ev?t=e:"function"==typeof e&&this.uppy.iteratePlugins(r=>{r instanceof e&&(t=r)}),t}mount(e,t){var r,n;let i=t.id,o=(void 0===r&&(r=document),"string"==typeof e)?r.querySelector(e):(0,ed.Z)(e)?e:null;if(o){let t,r;this.isTargetDOMEl=!0;let a=document.createElement("div");return a.classList.add("uppy-Root"),ef(this,eg)[eg]=(n=e=>{this.uppy.getPlugin(this.id)&&((0,ec.sY)(this.render(e),a),this.afterUpdate())},t=null,r=null,function(){for(var e=arguments.length,i=Array(e),o=0;o<e;o++)i[o]=arguments[o];return r=i,t||(t=Promise.resolve().then(()=>(t=null,n(...r)))),t}),this.uppy.log(`Installing ${i} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(o.innerHTML=""),(0,ec.sY)(this.render(this.uppy.getState()),a),this.el=a,o.appendChild(a),a.dir=this.opts.direction||(0,eh.Z)(a)||"ltr",this.onMount(),this.el}let a=this.getTargetPlugin(e);if(a)return this.uppy.log(`Installing ${i} to ${a.id}`),this.parent=a,this.el=a.addTarget(t),this.onMount(),this.el;this.uppy.log(`Not installing ${i}`);let s=`Invalid target option given to ${i}.`;throw"function"==typeof e?s+=" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":s+="If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",Error(s)}update(e){if(null!=this.el){var t,r;null==(t=(r=ef(this,eg))[eg])||t.call(r,e)}}unmount(){if(this.isTargetDOMEl){var e;null==(e=this.el)||e.remove()}this.onUnmount()}onMount(){}onUnmount(){}}var ey=ev},91710:function(e,t,r){"use strict";let n;r.d(t,{v0:function(){return r_}});var i=r(2784),o=r(33847),a=r(65616),s=r(87843),u={STATE_ERROR:"error",STATE_WAITING:"waiting",STATE_PREPROCESSING:"preprocessing",STATE_UPLOADING:"uploading",STATE_POSTPROCESSING:"postprocessing",STATE_COMPLETE:"complete"},l=r(72779);function c(e){let t,r;let n=[];for(let{progress:i}of Object.values(e)){let{preprocess:e,postprocess:o}=i;null==r&&(e||o)&&({mode:t,message:r}=e||o),(null==e?void 0:e.mode)==="determinate"&&n.push(e.value),(null==o?void 0:o.mode)==="determinate"&&n.push(o.value)}return{mode:t,message:r,value:n.reduce((e,t)=>e+t/n.length,0)}}var d=r(98357),h=r(39961);let p=`\u00B7`,f=()=>` ${p} `;function m(e){let{newFiles:t,isUploadStarted:r,recoveredState:n,i18n:i,uploadState:a,isSomeGhost:s,startUpload:c}=e,d=l("uppy-u-reset","uppy-c-btn","uppy-StatusBar-actionBtn","uppy-StatusBar-actionBtn--upload",{"uppy-c-btn-primary":a===u.STATE_WAITING},{"uppy-StatusBar-actionBtn--disabled":s}),h=i(t&&r&&!n?"uploadXNewFiles":"uploadXFiles",{smart_count:t});return(0,o.h)("button",{type:"button",className:d,"aria-label":i("uploadXFiles",{smart_count:t}),onClick:c,disabled:s,"data-uppy-super-focusable":!0},h)}function g(e){let{i18n:t,uppy:r}=e;return(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-StatusBar-actionBtn uppy-StatusBar-actionBtn--retry","aria-label":t("retryUpload"),onClick:()=>r.retryAll(),"data-uppy-super-focusable":!0},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"8",height:"10",viewBox:"0 0 8 10"},(0,o.h)("path",{d:"M4 2.408a2.75 2.75 0 1 0 2.75 2.75.626.626 0 0 1 1.25.018v.023a4 4 0 1 1-4-4.041V.25a.25.25 0 0 1 .389-.208l2.299 1.533a.25.25 0 0 1 0 .416l-2.3 1.533A.25.25 0 0 1 4 3.316v-.908z"})),t("retry"))}function v(e){let{i18n:t,uppy:r}=e;return(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-StatusBar-actionCircleBtn",title:t("cancel"),"aria-label":t("cancel"),onClick:()=>r.cancelAll(),"data-cy":"cancel","data-uppy-super-focusable":!0},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"16",height:"16",viewBox:"0 0 16 16"},(0,o.h)("g",{fill:"none",fillRule:"evenodd"},(0,o.h)("circle",{fill:"#888",cx:"8",cy:"8",r:"8"}),(0,o.h)("path",{fill:"#FFF",d:"M9.283 8l2.567 2.567-1.283 1.283L8 9.283 5.433 11.85 4.15 10.567 6.717 8 4.15 5.433 5.433 4.15 8 6.717l2.567-2.567 1.283 1.283z"}))))}function y(e){let{isAllPaused:t,i18n:r,isAllComplete:n,resumableUploads:i,uppy:a}=e,s=r(t?"resume":"pause");return(0,o.h)("button",{title:s,"aria-label":s,className:"uppy-u-reset uppy-StatusBar-actionCircleBtn",type:"button",onClick:function(){return n?null:i?t?a.resumeAll():a.pauseAll():a.cancelAll()},"data-uppy-super-focusable":!0},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"16",height:"16",viewBox:"0 0 16 16"},(0,o.h)("g",{fill:"none",fillRule:"evenodd"},(0,o.h)("circle",{fill:"#888",cx:"8",cy:"8",r:"8"}),(0,o.h)("path",{fill:"#FFF",d:t?"M6 4.25L11.5 8 6 11.75z":"M5 4.5h2v7H5v-7zm4 0h2v7H9v-7z"}))))}function b(e){let{i18n:t,doneButtonHandler:r}=e;return(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-StatusBar-actionBtn uppy-StatusBar-actionBtn--done",onClick:r,"data-uppy-super-focusable":!0},t("done"))}function w(){return(0,o.h)("svg",{className:"uppy-StatusBar-spinner","aria-hidden":"true",focusable:"false",width:"14",height:"14"},(0,o.h)("path",{d:"M13.983 6.547c-.12-2.509-1.64-4.893-3.939-5.936-2.48-1.127-5.488-.656-7.556 1.094C.524 3.367-.398 6.048.162 8.562c.556 2.495 2.46 4.52 4.94 5.183 2.932.784 5.61-.602 7.256-3.015-1.493 1.993-3.745 3.309-6.298 2.868-2.514-.434-4.578-2.349-5.153-4.84a6.226 6.226 0 0 1 2.98-6.778C6.34.586 9.74 1.1 11.373 3.493c.407.596.693 1.282.842 1.988.127.598.073 1.197.161 1.794.078.525.543 1.257 1.15.864.525-.341.49-1.05.456-1.592-.007-.15.02.3 0 0",fillRule:"evenodd"}))}function k(e){let{progress:t}=e,{value:r,mode:n,message:i}=t,a=Math.round(100*r),s=`\u00B7`;return(0,o.h)("div",{className:"uppy-StatusBar-content"},(0,o.h)(w,null),"determinate"===n?`${a}% ${s} `:"",i)}function x(e){let{i18n:t,complete:r,numUploads:n}=e;return(0,o.h)("div",{className:"uppy-StatusBar-statusSecondary"},t("filesUploadedOfTotal",{complete:r,smart_count:n}))}function _(e){let{i18n:t,newFiles:r,startUpload:n}=e,i=l("uppy-u-reset","uppy-c-btn","uppy-StatusBar-actionBtn","uppy-StatusBar-actionBtn--uploadNewlyAdded");return(0,o.h)("div",{className:"uppy-StatusBar-statusSecondary"},(0,o.h)("div",{className:"uppy-StatusBar-statusSecondaryHint"},t("xMoreFilesAdded",{smart_count:r})),(0,o.h)("button",{type:"button",className:i,"aria-label":t("uploadXFiles",{smart_count:r}),onClick:n},t("upload")))}let S=d(function(e){let{numUploads:t,complete:r,totalUploadedSize:n,totalSize:i,totalETA:a,i18n:s}=e,u=t>1;return(0,o.h)("div",{className:"uppy-StatusBar-statusSecondary"},u&&s("filesUploadedOfTotal",{complete:r,smart_count:t}),(0,o.h)("span",{className:"uppy-StatusBar-additionalInfo"},u&&f(),s("dataUploadedOfTotal",{complete:h(n),total:h(i)}),f(),s("xTimeLeft",{time:function(e){var t;let r={hours:Math.floor((t=e)/3600)%24,minutes:Math.floor(t/60)%60,seconds:Math.floor(t%60)},n=0===r.hours?"":`${r.hours}h`,i=0===r.minutes?"":`${0===r.hours?r.minutes:` ${r.minutes.toString(10).padStart(2,"0")}`}m`,o=0!==r.hours?"":`${0===r.minutes?r.seconds:` ${r.seconds.toString(10).padStart(2,"0")}`}s`;return`${n}${i}${o}`}(a)})))},500,{leading:!0,trailing:!0});function E(e){let{i18n:t,supportsUploadProgress:r,totalProgress:n,showProgressDetails:i,isUploadStarted:a,isAllComplete:s,isAllPaused:u,newFiles:l,numUploads:c,complete:d,totalUploadedSize:h,totalSize:p,totalETA:f,startUpload:m}=e,g=l&&a;if(!a||s)return null;let v=t(u?"paused":"uploading");return(0,o.h)("div",{className:"uppy-StatusBar-content","aria-label":v,title:v},u?null:(0,o.h)(w,null),(0,o.h)("div",{className:"uppy-StatusBar-status"},(0,o.h)("div",{className:"uppy-StatusBar-statusPrimary"},r?`${v}: ${n}%`:v),u||g||!i?null:r?(0,o.h)(S,{numUploads:c,complete:d,totalUploadedSize:h,totalSize:p,totalETA:f,i18n:t}):(0,o.h)(x,{i18n:t,complete:d,numUploads:c}),g?(0,o.h)(_,{i18n:t,newFiles:l,startUpload:m}):null))}function D(e){let{i18n:t}=e;return(0,o.h)("div",{className:"uppy-StatusBar-content",role:"status",title:t("complete")},(0,o.h)("div",{className:"uppy-StatusBar-status"},(0,o.h)("div",{className:"uppy-StatusBar-statusPrimary"},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-StatusBar-statusIndicator uppy-c-icon",width:"15",height:"11",viewBox:"0 0 15 11"},(0,o.h)("path",{d:"M.414 5.843L1.627 4.63l3.472 3.472L13.202 0l1.212 1.213L5.1 10.528z"})),t("complete"))))}function C(e){let{error:t,i18n:r,complete:n,numUploads:i}=e;return(0,o.h)("div",{className:"uppy-StatusBar-content",title:r("uploadFailed")},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-StatusBar-statusIndicator uppy-c-icon",width:"11",height:"11",viewBox:"0 0 11 11"},(0,o.h)("path",{d:"M4.278 5.5L0 1.222 1.222 0 5.5 4.278 9.778 0 11 1.222 6.722 5.5 11 9.778 9.778 11 5.5 6.722 1.222 11 0 9.778z"})),(0,o.h)("div",{className:"uppy-StatusBar-status"},(0,o.h)("div",{className:"uppy-StatusBar-statusPrimary"},r("uploadFailed"),(0,o.h)("button",{className:"uppy-u-reset uppy-StatusBar-details","aria-label":r("showErrorDetails"),"data-microtip-position":"top-right","data-microtip-size":"medium",onClick:function(){alert(`${r("uploadFailed")} 

 ${t}`)},type:"button"},"?")),(0,o.h)(x,{i18n:r,complete:n,numUploads:i})))}let{STATE_ERROR:j,STATE_WAITING:O,STATE_PREPROCESSING:T,STATE_UPLOADING:A,STATE_POSTPROCESSING:P,STATE_COMPLETE:R}=u;var M={strings:{uploading:"Uploading",complete:"Complete",uploadFailed:"Upload failed",paused:"Paused",retry:"Retry",cancel:"Cancel",pause:"Pause",resume:"Resume",done:"Done",filesUploadedOfTotal:{0:"%{complete} of %{smart_count} file uploaded",1:"%{complete} of %{smart_count} files uploaded"},dataUploadedOfTotal:"%{complete} of %{total}",xTimeLeft:"%{time} left",uploadXFiles:{0:"Upload %{smart_count} file",1:"Upload %{smart_count} files"},uploadXNewFiles:{0:"Upload +%{smart_count} file",1:"Upload +%{smart_count} files"},upload:"Upload",retryUpload:"Retry upload",xMoreFilesAdded:{0:"%{smart_count} more file added",1:"%{smart_count} more files added"},showErrorDetails:"Show error details"}};class F extends a.di{constructor(e,t){super(e,t),this.startUpload=()=>{let{recoveredState:e}=this.uppy.getState();if(e){this.uppy.emit("restore-confirmed");return}return this.uppy.upload().catch(()=>{})},this.id=this.opts.id||"StatusBar",this.title="StatusBar",this.type="progressindicator",this.defaultLocale=M,this.opts={target:"body",hideUploadButton:!1,hideRetryButton:!1,hidePauseResumeButton:!1,hideCancelButton:!1,showProgressDetails:!1,hideAfterFinish:!0,doneButtonHandler:null,...t},this.i18nInit(),this.render=this.render.bind(this),this.install=this.install.bind(this)}render(e){let{capabilities:t,files:r,allowNewUpload:n,totalProgress:i,error:a,recoveredState:s}=e,{newFiles:d,startedFiles:h,completeFiles:p,inProgressNotPausedFiles:f,isUploadStarted:w,isAllComplete:x,isAllErrored:_,isAllPaused:S,isUploadInProgress:M,isSomeGhost:F}=this.uppy.getObjectOfFilesPerState(),N=s?Object.values(r):d,I=function(e){let t;let r=(t=0,e.forEach(e=>{t+=function(e){if(!e.bytesUploaded)return 0;let t=Date.now()-e.uploadStarted;return e.bytesUploaded/(t/1e3)}(e.progress)}),t);return 0===r?0:Math.round(e.reduce((e,t)=>{var r;return e+((r=t.progress).bytesTotal-r.bytesUploaded)},0)/r*10)/10}(f),L=!!t.resumableUploads,B=!1!==t.uploadProgress,z=0,U=0;return h.forEach(e=>{z+=e.progress.bytesTotal||0,U+=e.progress.bytesUploaded||0}),function(e){let{newFiles:t,allowNewUpload:r,isUploadInProgress:n,isAllPaused:i,resumableUploads:a,error:s,hideUploadButton:u,hidePauseResumeButton:d,hideCancelButton:h,hideRetryButton:p,recoveredState:f,uploadState:w,totalProgress:x,files:_,supportsUploadProgress:S,hideAfterFinish:M,isSomeGhost:F,doneButtonHandler:N,isUploadStarted:I,i18n:L,startUpload:B,uppy:z,isAllComplete:U,showProgressDetails:q,numUploads:$,complete:H,totalSize:V,totalETA:W,totalUploadedSize:G}=e,Y=function(){switch(w){case P:case T:{let e=c(_);if("determinate"===e.mode)return 100*e.value;return x}case j:return null;case A:if(!S)return null;return x;default:return x}}(),Z=function(){if(f)return!1;switch(w){case O:return u||0===t;case R:return M;default:return!1}}(),K=null!=Y?Y:100,J=!s&&t&&!n&&!i&&r&&!u,X=!h&&w!==O&&w!==R,Q=a&&!d&&w===A,ee=s&&!U&&!p,et=N&&w===R,er=l("uppy-StatusBar-progress",{"is-indeterminate":function(){switch(w){case P:case T:{let{mode:e}=c(_);return"indeterminate"===e}case A:if(!S)return!0;return!1;default:return!1}}()}),en=l("uppy-StatusBar",`is-${w}`,{"has-ghosts":F});return(0,o.h)("div",{className:en,"aria-hidden":Z},(0,o.h)("div",{className:er,style:{width:`${K}%`},role:"progressbar","aria-label":`${K}%`,"aria-valuetext":`${K}%`,"aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":Y}),(()=>{switch(w){case T:case P:return(0,o.h)(k,{progress:c(_)});case R:return(0,o.h)(D,{i18n:L});case j:return(0,o.h)(C,{error:s,i18n:L,numUploads:$,complete:H});case A:return(0,o.h)(E,{i18n:L,supportsUploadProgress:S,totalProgress:x,showProgressDetails:q,isUploadStarted:I,isAllComplete:U,isAllPaused:i,newFiles:t,numUploads:$,complete:H,totalUploadedSize:G,totalSize:V,totalETA:W,startUpload:B});default:return null}})(),(0,o.h)("div",{className:"uppy-StatusBar-actions"},f||J?(0,o.h)(m,{newFiles:t,isUploadStarted:I,recoveredState:f,i18n:L,isSomeGhost:F,startUpload:B,uploadState:w}):null,ee?(0,o.h)(g,{i18n:L,uppy:z}):null,Q?(0,o.h)(y,{isAllPaused:i,i18n:L,isAllComplete:U,resumableUploads:a,uppy:z}):null,X?(0,o.h)(v,{i18n:L,uppy:z}):null,et?(0,o.h)(b,{i18n:L,doneButtonHandler:N}):null))}({error:a,uploadState:function(e,t,r,n){if(e&&!t)return u.STATE_ERROR;if(t)return u.STATE_COMPLETE;if(r)return u.STATE_WAITING;let i=u.STATE_WAITING,o=Object.keys(n);for(let e=0;e<o.length;e++){let{progress:t}=n[o[e]];if(t.uploadStarted&&!t.uploadComplete)return u.STATE_UPLOADING;t.preprocess&&i!==u.STATE_UPLOADING&&(i=u.STATE_PREPROCESSING),t.postprocess&&i!==u.STATE_UPLOADING&&i!==u.STATE_PREPROCESSING&&(i=u.STATE_POSTPROCESSING)}return i}(a,x,s,e.files||{}),allowNewUpload:n,totalProgress:i,totalSize:z,totalUploadedSize:U,isAllComplete:!1,isAllPaused:S,isAllErrored:_,isUploadStarted:w,isUploadInProgress:M,isSomeGhost:F,recoveredState:s,complete:p.length,newFiles:N.length,numUploads:h.length,totalETA:I,files:r,i18n:this.i18n,uppy:this.uppy,startUpload:this.startUpload,doneButtonHandler:this.opts.doneButtonHandler,resumableUploads:L,supportsUploadProgress:B,showProgressDetails:this.opts.showProgressDetails,hideUploadButton:this.opts.hideUploadButton,hideRetryButton:this.opts.hideRetryButton,hidePauseResumeButton:this.opts.hidePauseResumeButton,hideCancelButton:this.opts.hideCancelButton,hideAfterFinish:this.opts.hideAfterFinish,isTargetDOMEl:this.isTargetDOMEl})}onMount(){let e=this.el;(0,s.Z)(e)||(e.dir="ltr")}install(){let{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.unmount()}}F.VERSION="3.0.1";class N extends o.wA{constructor(){super(...arguments),this.ref=(0,o.Vf)()}componentWillEnter(e){this.ref.current.style.opacity="1",this.ref.current.style.transform="none",setTimeout(e,300)}componentWillLeave(e){this.ref.current.style.opacity="0",this.ref.current.style.transform="translateY(350%)",setTimeout(e,300)}render(){let{children:e}=this.props;return(0,o.h)("div",{className:"uppy-Informer-animated",ref:this.ref},e)}}function I(e){let t={};for(let r=0;r<e.length;r++)null!=e[r]&&(t[function(e,t){var r;return null!=(r=null==e?void 0:e.key)?r:t}(e[r],r.toString(36))]=e[r]);return t}class L extends o.wA{constructor(e,t){super(e,t),this.refs={},this.state={children:I((0,o.bR)((0,o.bR)(this.props.children))||[])},this.performAppear=this.performAppear.bind(this),this.performEnter=this.performEnter.bind(this),this.performLeave=this.performLeave.bind(this)}componentWillMount(){this.currentlyTransitioningKeys={},this.keysToAbortLeave=[],this.keysToEnter=[],this.keysToLeave=[]}componentDidMount(){let e=this.state.children;for(let t in e)e[t]&&this.performAppear(t)}componentWillReceiveProps(e){let t;let r=I((0,o.bR)(e.children)||[]),n=this.state.children;for(t in this.setState(e=>({children:function(e,t){e=e||{},t=t||{};let r=r=>t.hasOwnProperty(r)?t[r]:e[r],n={},i=[];for(let r in e)t.hasOwnProperty(r)?i.length&&(n[r]=i,i=[]):i.push(r);let o={};for(let e in t){if(n.hasOwnProperty(e))for(let t=0;t<n[e].length;t++){let i=n[e][t];o[n[e][t]]=r(i)}o[e]=r(e)}for(let e=0;e<i.length;e++)o[i[e]]=r(i[e]);return o}(e.children,r)})),r)if(r.hasOwnProperty(t)){let e=n&&n.hasOwnProperty(t);r[t]&&e&&this.currentlyTransitioningKeys[t]?(this.keysToEnter.push(t),this.keysToAbortLeave.push(t)):!r[t]||e||this.currentlyTransitioningKeys[t]||this.keysToEnter.push(t)}for(t in n)if(n.hasOwnProperty(t)){let e=r&&r.hasOwnProperty(t);!n[t]||e||this.currentlyTransitioningKeys[t]||this.keysToLeave.push(t)}}componentDidUpdate(){let{keysToEnter:e}=this;this.keysToEnter=[],e.forEach(this.performEnter);let{keysToLeave:t}=this;this.keysToLeave=[],t.forEach(this.performLeave)}_finishAbort(e){let t=this.keysToAbortLeave.indexOf(e);-1!==t&&this.keysToAbortLeave.splice(t,1)}performAppear(e){this.currentlyTransitioningKeys[e]=!0;let t=this.refs[e];t.componentWillAppear?t.componentWillAppear(this._handleDoneAppearing.bind(this,e)):this._handleDoneAppearing(e)}_handleDoneAppearing(e){let t=this.refs[e];t.componentDidAppear&&t.componentDidAppear(),delete this.currentlyTransitioningKeys[e],this._finishAbort(e);let r=I((0,o.bR)(this.props.children)||[]);r&&r.hasOwnProperty(e)||this.performLeave(e)}performEnter(e){this.currentlyTransitioningKeys[e]=!0;let t=this.refs[e];t.componentWillEnter?t.componentWillEnter(this._handleDoneEntering.bind(this,e)):this._handleDoneEntering(e)}_handleDoneEntering(e){let t=this.refs[e];t.componentDidEnter&&t.componentDidEnter(),delete this.currentlyTransitioningKeys[e],this._finishAbort(e);let r=I((0,o.bR)(this.props.children)||[]);r&&r.hasOwnProperty(e)||this.performLeave(e)}performLeave(e){if(-1!==this.keysToAbortLeave.indexOf(e))return;this.currentlyTransitioningKeys[e]=!0;let t=this.refs[e];t.componentWillLeave?t.componentWillLeave(this._handleDoneLeaving.bind(this,e)):this._handleDoneLeaving(e)}_handleDoneLeaving(e){if(-1!==this.keysToAbortLeave.indexOf(e))return;let t=this.refs[e];t.componentDidLeave&&t.componentDidLeave(),delete this.currentlyTransitioningKeys[e];let r=I((0,o.bR)(this.props.children)||[]);if(r&&r.hasOwnProperty(e))this.performEnter(e);else{let t=Object.assign({},this.state.children);delete t[e],this.setState({children:t})}}render(e,t){let{childFactory:r,transitionLeave:n,transitionName:i,transitionAppear:a,transitionEnter:s,transitionLeaveTimeout:u,transitionEnterTimeout:l,transitionAppearTimeout:c,component:d,...h}=e,{children:p}=t,f=Object.entries(p).map(e=>{let[t,n]=e;if(!n)return;let i=function(e,t){let r=e._ptgLinkedRefs||(e._ptgLinkedRefs={});return r[t]||(r[t]=r=>{e.refs[t]=r})}(this,t);return(0,o.Tm)(r(n),{ref:i,key:t})}).filter(Boolean);return(0,o.h)(d,h,f)}}L.defaultProps={component:"span",childFactory:e=>e};class B extends a.di{constructor(e,t){super(e,t),this.render=e=>(0,o.h)("div",{className:"uppy uppy-Informer"},(0,o.h)(L,null,e.info.map(e=>(0,o.h)(N,{key:e.message},(0,o.h)("p",{role:"alert"},e.message," ",e.details&&(0,o.h)("span",{"aria-label":e.details,"data-microtip-position":"top-left","data-microtip-size":"medium",role:"tooltip",onClick:()=>alert(`${e.message} 

 ${e.details}`)},"?")))))),this.type="progressindicator",this.id=this.opts.id||"Informer",this.title="Informer",this.opts={...t}}install(){let{target:e}=this.opts;e&&this.mount(e,this)}}B.VERSION="3.0.1";let z=/^data:([^/]+\/[^,;]+(?:[^,]*?))(;base64)?,([\s\S]*)$/;function U(e){return e.startsWith("blob:")}function q(e){return!!e&&/^[^/]+\/(jpe?g|gif|png|svg|svg\+xml|bmp|webp|avif)$/.test(e)}var $=r(34406),H=r(48834).lW;function V(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var W="undefined"!=typeof self?self:global;let G="undefined"!=typeof navigator,Y=G&&"undefined"==typeof HTMLImageElement,Z=!("undefined"==typeof global||void 0===$||!$.versions||!$.versions.node),K=W.Buffer,J=!!K,X=e=>void 0!==e;function Q(e){return void 0===e||(e instanceof Map?0===e.size:0===Object.values(e).filter(X).length)}function ee(e){let t=Error(e);throw delete t.stack,t}function et(e){let t;let r=(t=0,e.ifd0.enabled&&(t+=1024),e.exif.enabled&&(t+=2048),e.makerNote&&(t+=2048),e.userComment&&(t+=1024),e.gps.enabled&&(t+=512),e.interop.enabled&&(t+=100),e.ifd1.enabled&&(t+=1024),t+2048);return e.jfif.enabled&&(r+=50),e.xmp.enabled&&(r+=2e4),e.iptc.enabled&&(r+=14e3),e.icc.enabled&&(r+=6e3),r}let er=e=>String.fromCharCode.apply(null,e),en="undefined"!=typeof TextDecoder?new TextDecoder("utf-8"):void 0;class ei{static from(e,t){return e instanceof this&&e.le===t?e:new ei(e,void 0,void 0,t)}constructor(e,t=0,r,n){if("boolean"==typeof n&&(this.le=n),Array.isArray(e)&&(e=new Uint8Array(e)),0===e)this.byteOffset=0,this.byteLength=0;else if(e instanceof ArrayBuffer){void 0===r&&(r=e.byteLength-t);let n=new DataView(e,t,r);this._swapDataView(n)}else if(e instanceof Uint8Array||e instanceof DataView||e instanceof ei){void 0===r&&(r=e.byteLength-t),(t+=e.byteOffset)+r>e.byteOffset+e.byteLength&&ee("Creating view outside of available memory in ArrayBuffer");let n=new DataView(e.buffer,t,r);this._swapDataView(n)}else if("number"==typeof e){let t=new DataView(new ArrayBuffer(e));this._swapDataView(t)}else ee("Invalid input argument for BufferView: "+e)}_swapArrayBuffer(e){this._swapDataView(new DataView(e))}_swapBuffer(e){this._swapDataView(new DataView(e.buffer,e.byteOffset,e.byteLength))}_swapDataView(e){this.dataView=e,this.buffer=e.buffer,this.byteOffset=e.byteOffset,this.byteLength=e.byteLength}_lengthToEnd(e){return this.byteLength-e}set(e,t,r=ei){return e instanceof DataView||e instanceof ei?e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e instanceof ArrayBuffer&&(e=new Uint8Array(e)),e instanceof Uint8Array||ee("BufferView.set(): Invalid data argument."),this.toUint8().set(e,t),new r(this,t,e.byteLength)}subarray(e,t){return t=t||this._lengthToEnd(e),new ei(this,e,t)}toUint8(){return new Uint8Array(this.buffer,this.byteOffset,this.byteLength)}getUint8Array(e,t){return new Uint8Array(this.buffer,this.byteOffset+e,t)}getString(e=0,t=this.byteLength){let r=this.getUint8Array(e,t);return en?en.decode(r):J?H.from(r).toString("utf8"):decodeURIComponent(escape(er(r)))}getLatin1String(e=0,t=this.byteLength){return er(this.getUint8Array(e,t))}getUnicodeString(e=0,t=this.byteLength){let r=[];for(let n=0;n<t&&e+n<this.byteLength;n+=2)r.push(this.getUint16(e+n));return er(r)}getInt8(e){return this.dataView.getInt8(e)}getUint8(e){return this.dataView.getUint8(e)}getInt16(e,t=this.le){return this.dataView.getInt16(e,t)}getInt32(e,t=this.le){return this.dataView.getInt32(e,t)}getUint16(e,t=this.le){return this.dataView.getUint16(e,t)}getUint32(e,t=this.le){return this.dataView.getUint32(e,t)}getFloat32(e,t=this.le){return this.dataView.getFloat32(e,t)}getFloat64(e,t=this.le){return this.dataView.getFloat64(e,t)}getFloat(e,t=this.le){return this.dataView.getFloat32(e,t)}getDouble(e,t=this.le){return this.dataView.getFloat64(e,t)}getUintBytes(e,t,r){switch(t){case 1:return this.getUint8(e,r);case 2:return this.getUint16(e,r);case 4:return this.getUint32(e,r);case 8:return this.getUint64&&this.getUint64(e,r)}}getUint(e,t,r){switch(t){case 8:return this.getUint8(e,r);case 16:return this.getUint16(e,r);case 32:return this.getUint32(e,r);case 64:return this.getUint64&&this.getUint64(e,r)}}toString(e){return this.dataView.toString(e,this.constructor.name)}ensureChunk(){}}function eo(e,t){ee(`${e} '${t}' was not loaded, try using full build of exifr.`)}class ea extends Map{constructor(e){super(),this.kind=e}get(e,t){var r;return this.has(e)||eo(this.kind,e),t&&(e in t||(r=this.kind,ee(`Unknown ${r} '${e}'.`)),t[e].enabled||eo(this.kind,e)),super.get(e)}keyList(){return Array.from(this.keys())}}var es=new ea("file parser"),eu=new ea("segment parser"),el=new ea("file reader");let ec=W.fetch;function ed(e,t){return e.startsWith("data:")||e.length>1e4?ep(e,t,"base64"):Z&&e.includes("://")?eh(e,t,"url",ef):Z?ep(e,t,"fs"):G?eh(e,t,"url",ef):void ee("Invalid input argument")}async function eh(e,t,r,n){return el.has(r)?ep(e,t,r):n?async function(e,t){return new ei(await t(e))}(e,n):void ee(`Parser ${r} is not loaded`)}async function ep(e,t,r){let n=new(el.get(r))(e,t);return await n.read(),n}let ef=e=>ec(e).then(e=>e.arrayBuffer()),em=e=>new Promise((t,r)=>{let n=new FileReader;n.onloadend=()=>t(n.result||new ArrayBuffer),n.onerror=r,n.readAsArrayBuffer(e)});class eg extends Map{get tagKeys(){return this.allKeys||(this.allKeys=Array.from(this.keys())),this.allKeys}get tagValues(){return this.allValues||(this.allValues=Array.from(this.values())),this.allValues}}function ev(e,t,r){let n=new eg;for(let[e,t]of r)n.set(e,t);if(Array.isArray(t))for(let r of t)e.set(r,n);else e.set(t,n);return n}function ey(e,t,r){let n,i=e.get(t);for(n of r)i.set(n[0],n[1])}let eb=new Map,ew=new Map,ek=new Map,ex=["chunked","firstChunkSize","firstChunkSizeNode","firstChunkSizeBrowser","chunkSize","chunkLimit"],e_=["jfif","xmp","icc","iptc","ihdr"],eS=["tiff",...e_],eE=["ifd0","ifd1","exif","gps","interop"],eD=[...eS,...eE],eC=["makerNote","userComment"],ej=["translateKeys","translateValues","reviveValues","multiSegment"],eO=[...ej,"sanitize","mergeOutput","silentErrors"];class eT{get translate(){return this.translateKeys||this.translateValues||this.reviveValues}}class eA extends eT{get needed(){return this.enabled||this.deps.size>0}constructor(e,t,r,n){if(super(),V(this,"enabled",!1),V(this,"skip",new Set),V(this,"pick",new Set),V(this,"deps",new Set),V(this,"translateKeys",!1),V(this,"translateValues",!1),V(this,"reviveValues",!1),this.key=e,this.enabled=t,this.parse=this.enabled,this.applyInheritables(n),this.canBeFiltered=eE.includes(e),this.canBeFiltered&&(this.dict=eb.get(e)),void 0!==r){if(Array.isArray(r))this.parse=this.enabled=!0,this.canBeFiltered&&r.length>0&&this.translateTagSet(r,this.pick);else if("object"==typeof r){if(this.enabled=!0,this.parse=!1!==r.parse,this.canBeFiltered){let{pick:e,skip:t}=r;e&&e.length>0&&this.translateTagSet(e,this.pick),t&&t.length>0&&this.translateTagSet(t,this.skip)}this.applyInheritables(r)}else!0===r||!1===r?this.parse=this.enabled=r:ee(`Invalid options argument: ${r}`)}}applyInheritables(e){let t,r;for(t of ej)void 0!==(r=e[t])&&(this[t]=r)}translateTagSet(e,t){if(this.dict){let r,n,{tagKeys:i,tagValues:o}=this.dict;for(r of e)"string"==typeof r?(-1===(n=o.indexOf(r))&&(n=i.indexOf(Number(r))),-1!==n&&t.add(Number(i[n]))):t.add(r)}else for(let r of e)t.add(r)}finalizeFilters(){!this.enabled&&this.deps.size>0?(this.enabled=!0,eI(this.pick,this.deps)):this.enabled&&this.pick.size>0&&eI(this.pick,this.deps)}}var eP={jfif:!1,tiff:!0,xmp:!1,icc:!1,iptc:!1,ifd0:!0,ifd1:!1,exif:!0,gps:!0,interop:!1,ihdr:void 0,makerNote:!1,userComment:!1,multiSegment:!1,skip:[],pick:[],translateKeys:!0,translateValues:!0,reviveValues:!0,sanitize:!0,mergeOutput:!0,silentErrors:!0,chunked:!0,firstChunkSize:void 0,firstChunkSizeNode:512,firstChunkSizeBrowser:65536,chunkSize:65536,chunkLimit:5},eR=new Map;class eM extends eT{static useCached(e){let t=eR.get(e);return void 0!==t||(t=new this(e),eR.set(e,t)),t}constructor(e){super(),!0===e?this.setupFromTrue():void 0===e?this.setupFromUndefined():Array.isArray(e)?this.setupFromArray(e):"object"==typeof e?this.setupFromObject(e):ee(`Invalid options argument ${e}`),void 0===this.firstChunkSize&&(this.firstChunkSize=G?this.firstChunkSizeBrowser:this.firstChunkSizeNode),this.mergeOutput&&(this.ifd1.enabled=!1),this.filterNestedSegmentTags(),this.traverseTiffDependencyTree(),this.checkLoadedPlugins()}setupFromUndefined(){let e;for(e of ex)this[e]=eP[e];for(e of eO)this[e]=eP[e];for(e of eC)this[e]=eP[e];for(e of eD)this[e]=new eA(e,eP[e],void 0,this)}setupFromTrue(){let e;for(e of ex)this[e]=eP[e];for(e of eO)this[e]=eP[e];for(e of eC)this[e]=!0;for(e of eD)this[e]=new eA(e,!0,void 0,this)}setupFromArray(e){let t;for(t of ex)this[t]=eP[t];for(t of eO)this[t]=eP[t];for(t of eC)this[t]=eP[t];for(t of eD)this[t]=new eA(t,!1,void 0,this);this.setupGlobalFilters(e,void 0,eE)}setupFromObject(e){let t;for(t of(eE.ifd0=eE.ifd0||eE.image,eE.ifd1=eE.ifd1||eE.thumbnail,Object.assign(this,e),ex))this[t]=eN(e[t],eP[t]);for(t of eO)this[t]=eN(e[t],eP[t]);for(t of eC)this[t]=eN(e[t],eP[t]);for(t of eS)this[t]=new eA(t,eP[t],e[t],this);for(t of eE)this[t]=new eA(t,eP[t],e[t],this.tiff);this.setupGlobalFilters(e.pick,e.skip,eE,eD),!0===e.tiff?this.batchEnableWithBool(eE,!0):!1===e.tiff?this.batchEnableWithUserValue(eE,e):Array.isArray(e.tiff)?this.setupGlobalFilters(e.tiff,void 0,eE):"object"==typeof e.tiff&&this.setupGlobalFilters(e.tiff.pick,e.tiff.skip,eE)}batchEnableWithBool(e,t){for(let r of e)this[r].enabled=t}batchEnableWithUserValue(e,t){for(let r of e){let e=t[r];this[r].enabled=!1!==e&&void 0!==e}}setupGlobalFilters(e,t,r,n=r){if(e&&e.length){for(let e of n)this[e].enabled=!1;for(let[t,n]of eF(e,r))eI(this[t].pick,n),this[t].enabled=!0}else if(t&&t.length)for(let[e,n]of eF(t,r))eI(this[e].skip,n)}filterNestedSegmentTags(){let{ifd0:e,exif:t,xmp:r,iptc:n,icc:i}=this;this.makerNote?t.deps.add(37500):t.skip.add(37500),this.userComment?t.deps.add(37510):t.skip.add(37510),r.enabled||e.skip.add(700),n.enabled||e.skip.add(33723),i.enabled||e.skip.add(34675)}traverseTiffDependencyTree(){let{ifd0:e,exif:t,gps:r,interop:n}=this;for(let i of(n.needed&&(t.deps.add(40965),e.deps.add(40965)),t.needed&&e.deps.add(34665),r.needed&&e.deps.add(34853),this.tiff.enabled=eE.some(e=>!0===this[e].enabled)||this.makerNote||this.userComment,eE))this[i].finalizeFilters()}get onlyTiff(){return!e_.map(e=>this[e].enabled).some(e=>!0===e)&&this.tiff.enabled}checkLoadedPlugins(){for(let e of eS)this[e].enabled&&!eu.has(e)&&eo("segment parser",e)}}function eF(e,t){let r,n,i,o,a=[];for(i of t){for(o of(r=eb.get(i),n=[],r))(e.includes(o[0])||e.includes(o[1]))&&n.push(o[0]);n.length&&a.push([i,n])}return a}function eN(e,t){return void 0!==e?e:void 0!==t?t:void 0}function eI(e,t){for(let r of t)e.add(r)}V(eM,"default",eP);class eL{constructor(e){V(this,"parsers",{}),V(this,"output",{}),V(this,"errors",[]),V(this,"pushToErrors",e=>this.errors.push(e)),this.options=eM.useCached(e)}async read(e){var t;this.file=await (t=this.options,"string"==typeof e?ed(e,t):G&&!Y&&e instanceof HTMLImageElement?ed(e.src,t):e instanceof Uint8Array||e instanceof ArrayBuffer||e instanceof DataView?new ei(e):G&&e instanceof Blob?eh(e,t,"blob",em):void ee("Invalid input argument"))}setup(){if(this.fileParser)return;let{file:e}=this,t=e.getUint16(0);for(let[r,n]of es)if(n.canHandle(e,t))return this.fileParser=new n(this.options,this.file,this.parsers),e[r]=!0;this.file.close&&this.file.close(),ee("Unknown file format")}async parse(){let{output:e,errors:t}=this;return this.setup(),this.options.silentErrors?(await this.executeParsers().catch(this.pushToErrors),t.push(...this.fileParser.errors)):await this.executeParsers(),this.file.close&&this.file.close(),this.options.silentErrors&&t.length>0&&(e.errors=t),Q(e)?void 0:e}async executeParsers(){let{output:e}=this;await this.fileParser.parse();let t=Object.values(this.parsers).map(async t=>{let r=await t.parse();t.assignToOutput(e,r)});this.options.silentErrors&&(t=t.map(e=>e.catch(this.pushToErrors))),await Promise.all(t)}async extractThumbnail(){var e;this.setup();let{options:t,file:r}=this,n=eu.get("tiff",t);if(r.tiff?e={start:0,type:"tiff"}:r.jpeg&&(e=await this.fileParser.getOrFindSegment("tiff")),void 0===e)return;let i=await this.fileParser.ensureSegmentChunk(e),o=this.parsers.tiff=new n(i,t,r),a=await o.extractThumbnail();return r.close&&r.close(),a}}async function eB(e,t){let r=new eL(t);return await r.read(e),r.parse()}var ez=Object.freeze({__proto__:null,parse:eB,Exifr:eL,fileParsers:es,segmentParsers:eu,fileReaders:el,tagKeys:eb,tagValues:ew,tagRevivers:ek,createDictionary:ev,extendDictionary:ey,fetchUrlAsArrayBuffer:ef,readBlobAsArrayBuffer:em,chunkedProps:ex,otherSegments:e_,segments:eS,tiffBlocks:eE,segmentsAndBlocks:eD,tiffExtractables:eC,inheritables:ej,allFormatters:eO,Options:eM});class eU{static findPosition(e,t){let r=e.getUint16(t+2)+2,n="function"==typeof this.headerLength?this.headerLength(e,t,r):this.headerLength,i=t+n,o=r-n;return{offset:t,length:r,headerLength:n,start:i,size:o,end:i+o}}static parse(e,t={}){return new this(e,new eM({[this.type]:t}),e).parse()}normalizeInput(e){return e instanceof ei?e:new ei(e)}constructor(e,t={},r){V(this,"errors",[]),V(this,"raw",new Map),V(this,"handleError",e=>{if(!this.options.silentErrors)throw e;this.errors.push(e.message)}),this.chunk=this.normalizeInput(e),this.file=r,this.type=this.constructor.type,this.globalOptions=this.options=t,this.localOptions=t[this.type],this.canTranslate=this.localOptions&&this.localOptions.translate}translate(){this.canTranslate&&(this.translated=this.translateBlock(this.raw,this.type))}get output(){return this.translated?this.translated:this.raw?Object.fromEntries(this.raw):void 0}translateBlock(e,t){let r=ek.get(t),n=ew.get(t),i=eb.get(t),o=this.options[t],a=o.reviveValues&&!!r,s=o.translateValues&&!!n,u=o.translateKeys&&!!i,l={};for(let[t,o]of e)a&&r.has(t)?o=r.get(t)(o):s&&n.has(t)&&(o=this.translateValue(o,n.get(t))),u&&i.has(t)&&(t=i.get(t)||t),l[t]=o;return l}translateValue(e,t){return t[e]||t.DEFAULT||e}assignToOutput(e,t){this.assignObjectToOutput(e,this.constructor.type,t)}assignObjectToOutput(e,t,r){if(this.globalOptions.mergeOutput)return Object.assign(e,r);e[t]?Object.assign(e[t],r):e[t]=r}}V(eU,"headerLength",4),V(eU,"type",void 0),V(eU,"multiSegment",!1),V(eU,"canHandle",()=>!1);class eq extends class{constructor(e,t,r){V(this,"errors",[]),V(this,"ensureSegmentChunk",async e=>{let t=e.start,r=e.size||65536;if(this.file.chunked){if(this.file.available(t,r))e.chunk=this.file.subarray(t,r);else try{e.chunk=await this.file.readChunk(t,r)}catch(t){ee(`Couldn't read segment: ${JSON.stringify(e)}. ${t.message}`)}}else this.file.byteLength>t+r?e.chunk=this.file.subarray(t,r):void 0===e.size?e.chunk=this.file.subarray(t):ee("Segment unreachable: "+JSON.stringify(e));return e.chunk}),this.extendOptions&&this.extendOptions(e),this.options=e,this.file=t,this.parsers=r}injectSegment(e,t){this.options[e].enabled&&this.createParser(e,t)}createParser(e,t){let r=new(eu.get(e))(t,this.options,this.file);return this.parsers[e]=r}createParsers(e){for(let t of e){let{type:e,chunk:r}=t,n=this.options[e];if(n&&n.enabled){let t=this.parsers[e];t&&t.append||t||this.createParser(e,r)}}}async readSegments(e){let t=e.map(this.ensureSegmentChunk);await Promise.all(t)}}{constructor(...e){super(...e),V(this,"appSegments",[]),V(this,"jpegSegments",[]),V(this,"unknownSegments",[])}static canHandle(e,t){return 65496===t}async parse(){await this.findAppSegments(),await this.readSegments(this.appSegments),this.mergeMultiSegments(),this.createParsers(this.mergedAppSegments||this.appSegments)}setupSegmentFinderArgs(e){!0===e?(this.findAll=!0,this.wanted=new Set(eu.keyList())):(e=void 0===e?eu.keyList().filter(e=>this.options[e].enabled):e.filter(e=>this.options[e].enabled&&eu.has(e)),this.findAll=!1,this.remaining=new Set(e),this.wanted=new Set(e)),this.unfinishedMultiSegment=!1}async findAppSegments(e=0,t){this.setupSegmentFinderArgs(t);let{file:r,findAll:n,wanted:i,remaining:o}=this;if(!n&&this.file.chunked&&(n=Array.from(i).some(e=>{let t=eu.get(e),r=this.options[e];return t.multiSegment&&r.multiSegment}))&&await this.file.readWhole(),e=this.findAppSegmentsInRange(e,r.byteLength),!this.options.onlyTiff&&r.chunked){let t=!1;for(;o.size>0&&!t&&(r.canReadNextChunk||this.unfinishedMultiSegment);){let{nextChunkOffset:n}=r,i=this.appSegments.some(e=>!this.file.available(e.offset||e.start,e.length||e.size));if(t=e>n&&!i?!await r.readNextChunk(e):!await r.readNextChunk(n),void 0===(e=this.findAppSegmentsInRange(e,r.byteLength)))return}}}findAppSegmentsInRange(e,t){t-=2;let r,n,i,o,a,s,{file:u,findAll:l,wanted:c,remaining:d,options:h}=this;for(;e<t;e++)if(255===u.getUint8(e)){var p;if((p=r=u.getUint8(e+1))>=224&&p<=239){if(n=u.getUint16(e+2),(i=function(e,t,r){for(let[n,i]of eu)if(i.canHandle(e,t,r))return n}(u,e,n))&&c.has(i)&&(a=(o=eu.get(i)).findPosition(u,e),s=h[i],a.type=i,this.appSegments.push(a),!l&&(o.multiSegment&&s.multiSegment?(this.unfinishedMultiSegment=a.chunkNumber<a.chunkCount,this.unfinishedMultiSegment||d.delete(i)):d.delete(i),0===d.size)))break;h.recordUnknownSegments&&((a=eU.findPosition(u,e)).marker=r,this.unknownSegments.push(a)),e+=n+1}else if(192===r||194===r||196===r||219===r||221===r||218===r||254===r){if(n=u.getUint16(e+2),218===r&&!1!==h.stopAfterSos)return;h.recordJpegSegments&&this.jpegSegments.push({offset:e,length:n,marker:r}),e+=n+1}}return e}mergeMultiSegments(){if(!this.appSegments.some(e=>e.multiSegment))return;let e=function(e,t){let r,n,i,o=new Map;for(let a=0;a<e.length;a++)n=(r=e[a])[t],o.has(n)?i=o.get(n):o.set(n,i=[]),i.push(r);return Array.from(o)}(this.appSegments,"type");this.mergedAppSegments=e.map(([e,t])=>{let r=eu.get(e,this.options);return r.handleMultiSegments?{type:e,chunk:r.handleMultiSegments(t)}:t[0]})}getSegment(e){return this.appSegments.find(t=>t.type===e)}async getOrFindSegment(e){let t=this.getSegment(e);return void 0===t&&(await this.findAppSegments(0,[e]),t=this.getSegment(e)),t}}V(eq,"type","jpeg"),es.set("jpeg",eq);let e$=[void 0,1,1,2,4,8,1,1,2,4,8,4,8,4];class eH extends eU{parseHeader(){var e=this.chunk.getUint16();18761===e?this.le=!0:19789===e&&(this.le=!1),this.chunk.le=this.le,this.headerParsed=!0}parseTags(e,t,r=new Map){let{pick:n,skip:i}=this.options[t],o=(n=new Set(n)).size>0,a=0===i.size,s=this.chunk.getUint16(e);e+=2;for(let u=0;u<s;u++){let s=this.chunk.getUint16(e);if(o){if(n.has(s)&&(r.set(s,this.parseTag(e,s,t)),n.delete(s),0===n.size))break}else!a&&i.has(s)||r.set(s,this.parseTag(e,s,t));e+=12}return r}parseTag(e,t,r){var n;let{chunk:i}=this,o=i.getUint16(e+2),a=i.getUint32(e+4),s=e$[o];if(s*a<=4?e+=8:e=i.getUint32(e+8),(o<1||o>13)&&ee(`Invalid TIFF value type. block: ${r.toUpperCase()}, tag: ${t.toString(16)}, type: ${o}, offset ${e}`),e>i.byteLength&&ee(`Invalid TIFF value offset. block: ${r.toUpperCase()}, tag: ${t.toString(16)}, type: ${o}, offset ${e} is outside of chunk size ${i.byteLength}`),1===o)return i.getUint8Array(e,a);if(2===o)return""===(n=(function(e){for(;e.endsWith("\0");)e=e.slice(0,-1);return e})(n=i.getString(e,a)).trim())?void 0:n;if(7===o)return i.getUint8Array(e,a);if(1===a)return this.parseTagValue(o,e);{let t=new(function(e){switch(e){case 1:return Uint8Array;case 3:return Uint16Array;case 4:return Uint32Array;case 5:case 10:default:return Array;case 6:return Int8Array;case 8:return Int16Array;case 9:return Int32Array;case 11:return Float32Array;case 12:return Float64Array}}(o))(a);for(let r=0;r<a;r++)t[r]=this.parseTagValue(o,e),e+=s;return t}}parseTagValue(e,t){let{chunk:r}=this;switch(e){case 1:return r.getUint8(t);case 3:return r.getUint16(t);case 4:case 13:return r.getUint32(t);case 5:return r.getUint32(t)/r.getUint32(t+4);case 6:return r.getInt8(t);case 8:return r.getInt16(t);case 9:return r.getInt32(t);case 10:return r.getInt32(t)/r.getInt32(t+4);case 11:return r.getFloat(t);case 12:return r.getDouble(t);default:ee(`Invalid tiff type ${e}`)}}}class eV extends eH{static canHandle(e,t){return 225===e.getUint8(t+1)&&1165519206===e.getUint32(t+4)&&0===e.getUint16(t+8)}async parse(){this.parseHeader();let{options:e}=this;return e.ifd0.enabled&&await this.parseIfd0Block(),e.exif.enabled&&await this.safeParse("parseExifBlock"),e.gps.enabled&&await this.safeParse("parseGpsBlock"),e.interop.enabled&&await this.safeParse("parseInteropBlock"),e.ifd1.enabled&&await this.safeParse("parseThumbnailBlock"),this.createOutput()}safeParse(e){let t=this[e]();return void 0!==t.catch&&(t=t.catch(this.handleError)),t}findIfd0Offset(){void 0===this.ifd0Offset&&(this.ifd0Offset=this.chunk.getUint32(4))}findIfd1Offset(){if(void 0===this.ifd1Offset){this.findIfd0Offset();let e=this.chunk.getUint16(this.ifd0Offset),t=this.ifd0Offset+2+12*e;this.ifd1Offset=this.chunk.getUint32(t)}}parseBlock(e,t){let r=new Map;return this[t]=r,this.parseTags(e,t,r),r}async parseIfd0Block(){if(this.ifd0)return;let{file:e}=this;this.findIfd0Offset(),this.ifd0Offset<8&&ee("Malformed EXIF data"),!e.chunked&&this.ifd0Offset>e.byteLength&&ee(`IFD0 offset points to outside of file.
this.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${e.byteLength}`),e.tiff&&await e.ensureChunk(this.ifd0Offset,et(this.options));let t=this.parseBlock(this.ifd0Offset,"ifd0");return 0!==t.size?(this.exifOffset=t.get(34665),this.interopOffset=t.get(40965),this.gpsOffset=t.get(34853),this.xmp=t.get(700),this.iptc=t.get(33723),this.icc=t.get(34675),this.options.sanitize&&(t.delete(34665),t.delete(40965),t.delete(34853),t.delete(700),t.delete(33723),t.delete(34675)),t):void 0}async parseExifBlock(){if(this.exif||(this.ifd0||await this.parseIfd0Block(),void 0===this.exifOffset))return;this.file.tiff&&await this.file.ensureChunk(this.exifOffset,et(this.options));let e=this.parseBlock(this.exifOffset,"exif");return this.interopOffset||(this.interopOffset=e.get(40965)),this.makerNote=e.get(37500),this.userComment=e.get(37510),this.options.sanitize&&(e.delete(40965),e.delete(37500),e.delete(37510)),this.unpack(e,41728),this.unpack(e,41729),e}unpack(e,t){let r=e.get(t);r&&1===r.length&&e.set(t,r[0])}async parseGpsBlock(){if(this.gps||(this.ifd0||await this.parseIfd0Block(),void 0===this.gpsOffset))return;let e=this.parseBlock(this.gpsOffset,"gps");return e&&e.has(2)&&e.has(4)&&(e.set("latitude",eW(...e.get(2),e.get(1))),e.set("longitude",eW(...e.get(4),e.get(3)))),e}async parseInteropBlock(){if(!this.interop&&(this.ifd0||await this.parseIfd0Block(),void 0!==this.interopOffset||this.exif||await this.parseExifBlock(),void 0!==this.interopOffset))return this.parseBlock(this.interopOffset,"interop")}async parseThumbnailBlock(e=!1){if(!this.ifd1&&!this.ifd1Parsed&&(!this.options.mergeOutput||e))return this.findIfd1Offset(),this.ifd1Offset>0&&(this.parseBlock(this.ifd1Offset,"ifd1"),this.ifd1Parsed=!0),this.ifd1}async extractThumbnail(){if(this.headerParsed||this.parseHeader(),this.ifd1Parsed||await this.parseThumbnailBlock(!0),void 0===this.ifd1)return;let e=this.ifd1.get(513),t=this.ifd1.get(514);return this.chunk.getUint8Array(e,t)}get image(){return this.ifd0}get thumbnail(){return this.ifd1}createOutput(){let e,t,r,n={};for(t of eE)if(!Q(e=this[t])){if(r=this.canTranslate?this.translateBlock(e,t):Object.fromEntries(e),this.options.mergeOutput){if("ifd1"===t)continue;Object.assign(n,r)}else n[t]=r}return this.makerNote&&(n.makerNote=this.makerNote),this.userComment&&(n.userComment=this.userComment),n}assignToOutput(e,t){if(this.globalOptions.mergeOutput)Object.assign(e,t);else for(let[r,n]of Object.entries(t))this.assignObjectToOutput(e,r,n)}}function eW(e,t,r,n){var i=e+t/60+r/3600;return"S"!==n&&"W"!==n||(i*=-1),i}V(eV,"type","tiff"),V(eV,"headerLength",10),eu.set("tiff",eV),Object.freeze({__proto__:null,default:ez,Exifr:eL,fileParsers:es,segmentParsers:eu,fileReaders:el,tagKeys:eb,tagValues:ew,tagRevivers:ek,createDictionary:ev,extendDictionary:ey,fetchUrlAsArrayBuffer:ef,readBlobAsArrayBuffer:em,chunkedProps:ex,otherSegments:e_,segments:eS,tiffBlocks:eE,segmentsAndBlocks:eD,tiffExtractables:eC,inheritables:ej,allFormatters:eO,Options:eM,parse:eB});let eG={ifd0:!1,ifd1:!1,exif:!1,gps:!1,interop:!1,sanitize:!1,reviveValues:!0,translateKeys:!1,translateValues:!1,mergeOutput:!1};Object.assign({},eG,{firstChunkSize:4e4,gps:[1,2,3,4]}),Object.assign({},eG,{tiff:!1,ifd1:!0,mergeOutput:!1});let eY=Object.assign({},eG,{firstChunkSize:4e4,ifd0:[274]});async function eZ(e){let t=new eL(eY);await t.read(e);let r=await t.parse();if(r&&r.ifd0)return r.ifd0[274]}let eK=Object.freeze({1:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:0,rad:0},2:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:0,rad:0},3:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:180,rad:180*Math.PI/180},4:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:180,rad:180*Math.PI/180},5:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:90,rad:90*Math.PI/180},6:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:90,rad:90*Math.PI/180},7:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:270,rad:270*Math.PI/180},8:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:270,rad:270*Math.PI/180}}),eJ=!0,eX=!0;if("object"==typeof navigator){let e=navigator.userAgent;if(e.includes("iPad")||e.includes("iPhone")){let t=e.match(/OS (\d+)_(\d+)/);if(t){let[,e,r]=t;eJ=Number(e)+.1*Number(r)<13.4,eX=!1}}else if(e.includes("OS X 10")){let[,t]=e.match(/OS X 10[_.](\d+)/);eJ=eX=15>Number(t)}if(e.includes("Chrome/")){let[,t]=e.match(/Chrome\/(\d+)/);eJ=eX=81>Number(t)}else if(e.includes("Firefox/")){let[,t]=e.match(/Firefox\/(\d+)/);eJ=eX=77>Number(t)}}async function eQ(e){let t=await eZ(e);return Object.assign({canvas:eJ,css:eX},eK[t])}class e0 extends ei{constructor(...e){super(...e),V(this,"ranges",new e1),0!==this.byteLength&&this.ranges.add(0,this.byteLength)}_tryExtend(e,t,r){if(0===e&&0===this.byteLength&&r){let e=new DataView(r.buffer||r,r.byteOffset,r.byteLength);this._swapDataView(e)}else{let r=e+t;if(r>this.byteLength){let{dataView:e}=this._extend(r);this._swapDataView(e)}}}_extend(e){let t;let r=new DataView((t=J?K.allocUnsafe(e):new Uint8Array(e)).buffer,t.byteOffset,t.byteLength);return t.set(new Uint8Array(this.buffer,this.byteOffset,this.byteLength),0),{uintView:t,dataView:r}}subarray(e,t,r=!1){return t=t||this._lengthToEnd(e),r&&this._tryExtend(e,t),this.ranges.add(e,t),super.subarray(e,t)}set(e,t,r=!1){r&&this._tryExtend(t,e.byteLength,e);let n=super.set(e,t);return this.ranges.add(t,n.byteLength),n}async ensureChunk(e,t){this.chunked&&(this.ranges.available(e,t)||await this.readChunk(e,t))}available(e,t){return this.ranges.available(e,t)}}class e1{constructor(){V(this,"list",[])}get length(){return this.list.length}add(e,t,r=0){let n=e+t,i=this.list.filter(t=>{var r,i,o,a,s,u;return r=e,i=t.offset,o=n,r<=i&&i<=o||(a=e,s=t.end,u=n,a<=s&&s<=u)});if(i.length>0){e=Math.min(e,...i.map(e=>e.offset)),t=(n=Math.max(n,...i.map(e=>e.end)))-e;let r=i.shift();r.offset=e,r.length=t,r.end=n,this.list=this.list.filter(e=>!i.includes(e))}else this.list.push({offset:e,length:t,end:n})}available(e,t){let r=e+t;return this.list.some(t=>t.offset<=e&&r<=t.end)}}class e2 extends e0{constructor(e,t){super(0),V(this,"chunksRead",0),this.input=e,this.options=t}async readWhole(){this.chunked=!1,await this.readChunk(this.nextChunkOffset)}async readChunked(){this.chunked=!0,await this.readChunk(0,this.options.firstChunkSize)}async readNextChunk(e=this.nextChunkOffset){if(this.fullyRead)return this.chunksRead++,!1;let t=this.options.chunkSize,r=await this.readChunk(e,t);return!!r&&r.byteLength===t}async readChunk(e,t){if(this.chunksRead++,0!==(t=this.safeWrapAddress(e,t)))return this._readChunk(e,t)}safeWrapAddress(e,t){return void 0!==this.size&&e+t>this.size?Math.max(0,this.size-e):t}get nextChunkOffset(){if(0!==this.ranges.list.length)return this.ranges.list[0].length}get canReadNextChunk(){return this.chunksRead<this.options.chunkLimit}get fullyRead(){return void 0!==this.size&&this.nextChunkOffset===this.size}read(){return this.options.chunked?this.readChunked():this.readWhole()}close(){}}el.set("blob",class extends e2{async readWhole(){this.chunked=!1;let e=await em(this.input);this._swapArrayBuffer(e)}readChunked(){return this.chunked=!0,this.size=this.input.size,super.readChunked()}async _readChunk(e,t){let r=t?e+t:void 0,n=this.input.slice(e,r),i=await em(n);return this.set(i,e,!0)}});var e3={strings:{generatingThumbnails:"Generating thumbnails..."}};class e5 extends a.di{constructor(e,t){if(super(e,t),this.onFileAdded=e=>{!e.preview&&e.data&&q(e.type)&&!e.isRemote&&this.addToQueue(e.id)},this.onCancelRequest=e=>{let t=this.queue.indexOf(e.id);-1!==t&&this.queue.splice(t,1)},this.onFileRemoved=e=>{let t=this.queue.indexOf(e.id);-1!==t&&this.queue.splice(t,1),e.preview&&U(e.preview)&&URL.revokeObjectURL(e.preview)},this.onRestored=()=>{this.uppy.getFiles().filter(e=>e.isRestored).forEach(e=>{(!e.preview||U(e.preview))&&this.addToQueue(e.id)})},this.onAllFilesRemoved=()=>{this.queue=[]},this.waitUntilAllProcessed=e=>{e.forEach(e=>{let t=this.uppy.getFile(e);this.uppy.emit("preprocess-progress",t,{mode:"indeterminate",message:this.i18n("generatingThumbnails")})});let t=()=>{e.forEach(e=>{let t=this.uppy.getFile(e);this.uppy.emit("preprocess-complete",t)})};return new Promise(e=>{this.queueProcessing?this.uppy.once("thumbnail:all-generated",()=>{t(),e()}):(t(),e())})},this.type="modifier",this.id=this.opts.id||"ThumbnailGenerator",this.title="Thumbnail Generator",this.queue=[],this.queueProcessing=!1,this.defaultThumbnailDimension=200,this.thumbnailType=this.opts.thumbnailType||"image/jpeg",this.defaultLocale=e3,this.opts={thumbnailWidth:null,thumbnailHeight:null,waitForThumbnailsBeforeUpload:!1,lazy:!1,...t},this.i18nInit(),this.opts.lazy&&this.opts.waitForThumbnailsBeforeUpload)throw Error("ThumbnailGenerator: The `lazy` and `waitForThumbnailsBeforeUpload` options are mutually exclusive. Please ensure at most one of them is set to `true`.")}createThumbnail(e,t,r){let n=URL.createObjectURL(e.data);return Promise.all([new Promise((e,t)=>{let r=new Image;r.src=n,r.addEventListener("load",()=>{URL.revokeObjectURL(n),e(r)}),r.addEventListener("error",e=>{URL.revokeObjectURL(n),t(e.error||Error("Could not create thumbnail"))})}),eQ(e.data).catch(()=>1)]).then(e=>{let[n,i]=e,o=this.getProportionalDimensions(n,t,r,i.deg),a=function(e,t){let r=e.width,n=e.height;(90===t.deg||270===t.deg)&&(r=e.height,n=e.width);let i=document.createElement("canvas");i.width=r,i.height=n;let o=i.getContext("2d");return o.translate(r/2,n/2),t.canvas&&(o.rotate(t.rad),o.scale(t.scaleX,t.scaleY)),o.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),i}(n,i);return function(e,t,r){try{e.getContext("2d").getImageData(0,0,1,1)}catch(e){if(18===e.code)return Promise.reject(Error("cannot read image, probably an svg with external resources"))}return e.toBlob?new Promise(r=>{e.toBlob(r,t,80)}).then(e=>{if(null===e)throw Error("cannot read image, probably an svg with external resources");return e}):Promise.resolve().then(()=>(function(e,t,r){var n,i;let o;let a=z.exec(e),s=null!=(n=null!=(i=t.mimeType)?i:null==a?void 0:a[1])?n:"plain/text";if(null!=a[2]){let e=atob(decodeURIComponent(a[3])),t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);o=[t]}else o=[decodeURIComponent(a[3])];return new Blob(o,{type:s})})(e.toDataURL(t,80),{})).then(e=>{if(null===e)throw Error("could not extract blob, probably an old browser");return e})}(this.resizeImage(a,o.width,o.height),this.thumbnailType,0)}).then(e=>URL.createObjectURL(e))}getProportionalDimensions(e,t,r,n){let i=e.width/e.height;return((90===n||270===n)&&(i=e.height/e.width),null!=t)?{width:t,height:Math.round(t/i)}:null!=r?{width:Math.round(r*i),height:r}:{width:this.defaultThumbnailDimension,height:Math.round(this.defaultThumbnailDimension/i)}}resizeImage(e,t,r){let n=function(e){let t=e.width/e.height,r=Math.floor(Math.sqrt(5e6*t)),n=Math.floor(5e6/Math.sqrt(5e6*t));if(r>4096&&(n=Math.round((r=4096)/t)),n>4096&&(r=Math.round(t*(n=4096))),e.width>r){let t=document.createElement("canvas");return t.width=r,t.height=n,t.getContext("2d").drawImage(e,0,0,r,n),t}return e}(e),i=Math.ceil(Math.log2(n.width/t));i<1&&(i=1);let o=t*2**(i-1),a=r*2**(i-1);for(;i--;){let e=document.createElement("canvas");e.width=o,e.height=a,e.getContext("2d").drawImage(n,0,0,o,a),n=e,o=Math.round(o/2),a=Math.round(a/2)}return n}setPreviewURL(e,t){this.uppy.setFileState(e,{preview:t})}addToQueue(e){this.queue.push(e),!1===this.queueProcessing&&this.processQueue()}processQueue(){if(this.queueProcessing=!0,this.queue.length>0){let e=this.uppy.getFile(this.queue.shift());return e?this.requestThumbnail(e).catch(()=>{}).then(()=>this.processQueue()):(this.uppy.log("[ThumbnailGenerator] file was removed before a thumbnail could be generated, but not removed from the queue. This is probably a bug","error"),Promise.resolve())}return this.queueProcessing=!1,this.uppy.log("[ThumbnailGenerator] Emptied thumbnail queue"),this.uppy.emit("thumbnail:all-generated"),Promise.resolve()}requestThumbnail(e){return q(e.type)&&!e.isRemote?this.createThumbnail(e,this.opts.thumbnailWidth,this.opts.thumbnailHeight).then(t=>{this.setPreviewURL(e.id,t),this.uppy.log(`[ThumbnailGenerator] Generated thumbnail for ${e.id}`),this.uppy.emit("thumbnail:generated",this.uppy.getFile(e.id),t)}).catch(t=>{this.uppy.log(`[ThumbnailGenerator] Failed thumbnail for ${e.id}:`,"warning"),this.uppy.log(t,"warning"),this.uppy.emit("thumbnail:error",this.uppy.getFile(e.id),t)}):Promise.resolve()}install(){this.uppy.on("file-removed",this.onFileRemoved),this.uppy.on("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.on("thumbnail:request",this.onFileAdded),this.uppy.on("thumbnail:cancel",this.onCancelRequest)):(this.uppy.on("file-added",this.onFileAdded),this.uppy.on("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.addPreProcessor(this.waitUntilAllProcessed)}uninstall(){this.uppy.off("file-removed",this.onFileRemoved),this.uppy.off("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.off("thumbnail:request",this.onFileAdded),this.uppy.off("thumbnail:cancel",this.onCancelRequest)):(this.uppy.off("file-added",this.onFileAdded),this.uppy.off("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.removePreProcessor(this.waitUntilAllProcessed)}}e5.VERSION="3.0.2";var e4=r(95444);function e6(e){if("string"==typeof e){let t=document.querySelectorAll(e);return 0===t.length?null:Array.from(t)}return"object"==typeof e&&(0,e4.Z)(e)?[e]:null}var e8=r(99302);async function*e9(e,t,r){if(void 0===r&&(r=void 0),"file"===e.kind){let n=await e.getFile();null!==n?(n.relativePath=t?`${t}/${e.name}`:null,yield n):null!=r&&(yield r)}else if("directory"===e.kind)for await(let r of e.values())yield*e9(r,`${t}/${e.name}`);else null!=r&&(yield r)}async function*e7(e,t){for(let{lastResortFile:r,entry:n}of(await Promise.all(Array.from(e.items,async e=>{var r;return{lastResortFile:e.getAsFile(),entry:null!=(r=await (null==e.getAsFileSystemHandle?void 0:e.getAsFileSystemHandle()))?r:function e(t,r){return null==t?t:{kind:t.isFile?"file":t.isDirectory?"directory":void 0,name:t.name,getFile:()=>new Promise((e,r)=>t.file(e,r)),async *values(){let n=t.createReader(),i=await new Promise(t=>{!function e(t,r,n,i){let{onSuccess:o}=i;t.readEntries(i=>{let a=[...r,...i];i.length?queueMicrotask(()=>{e(t,a,n,{onSuccess:o})}):o(a)},e=>{n(e),o(r)})}(n,[],r,{onSuccess:n=>t(n.map(t=>e(t,r)))})});yield*i}}}(e.webkitGetAsEntry(),t)}}))))if(null!=n)try{yield*e9(n,"",r)}catch(e){null!=r?yield r:t(e)}else null!=r&&(yield r)}async function te(e,t){let{logDropError:r=()=>{}}=void 0===t?{}:t;try{let t=[];for await(let n of e7(e,r))t.push(n);return t}catch{return Promise.resolve((0,e8.Z)(e.files))}}let tt=(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t};var tr=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function tn(e,t){if(e.length!==t.length)return!1;for(var r,n,i=0;i<e.length;i++)if(!((r=e[i])===(n=t[i])||tr(r)&&tr(n)))return!1;return!0}function ti(e,t){void 0===t&&(t=tn);var r=null;function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&t(n,r.lastArgs))return r.lastResult;var o=e.apply(this,n);return r={lastResult:o,lastArgs:n,lastThis:this},o}return n.clear=function(){r=null},n}var to=['a[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])','area[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])',"input:not([disabled]):not([inert]):not([aria-hidden])","select:not([disabled]):not([inert]):not([aria-hidden])","textarea:not([disabled]):not([inert]):not([aria-hidden])","button:not([disabled]):not([inert]):not([aria-hidden])",'iframe:not([tabindex^="-"]):not([inert]):not([aria-hidden])','object:not([tabindex^="-"]):not([inert]):not([aria-hidden])','embed:not([tabindex^="-"]):not([inert]):not([aria-hidden])','[contenteditable]:not([tabindex^="-"]):not([inert]):not([aria-hidden])','[tabindex]:not([tabindex^="-"]):not([inert]):not([aria-hidden])'];function ta(e,t){if(t){let r=e.querySelector(`[data-uppy-paneltype="${t}"]`);if(r)return r}return e}function ts(e,t){let r=t[0];r&&(r.focus(),e.preventDefault())}function tu(e,t,r){let n=ta(r,t),i=(0,e8.Z)(n.querySelectorAll(to)),o=i.indexOf(document.activeElement);n.contains(document.activeElement)?e.shiftKey&&0===o?function(e,t){let r=t[t.length-1];r&&(r.focus(),e.preventDefault())}(e,i):e.shiftKey||o!==i.length-1||ts(e,i):ts(e,i)}var tl=r(80594);function tc(){let e=document.body;return!!("draggable"in e&&"ondragstart"in e&&"ondrop"in e&&"FormData"in window&&"FileReader"in window)}var td=r(98843);function th(e){let t={color:"#838999",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("g",{fill:"#A7AFB7",fillRule:"nonzero"},(0,o.h)("path",{d:"M5.5 22a.5.5 0 0 1-.5-.5v-18a.5.5 0 0 1 .5-.5h10.719a.5.5 0 0 1 .367.16l3.281 3.556a.5.5 0 0 1 .133.339V21.5a.5.5 0 0 1-.5.5h-14zm.5-1h13V7.25L16 4H6v17z"}),(0,o.h)("path",{d:"M15 4v3a1 1 0 0 0 1 1h3V7h-3V4h-1z"})))};if(!e)return t;let r=e.split("/")[0],n=e.split("/")[1];return"text"===r?{color:"#5a5e69",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("path",{d:"M4.5 7h13a.5.5 0 1 1 0 1h-13a.5.5 0 0 1 0-1zm0 3h15a.5.5 0 1 1 0 1h-15a.5.5 0 1 1 0-1zm0 3h15a.5.5 0 1 1 0 1h-15a.5.5 0 1 1 0-1zm0 3h10a.5.5 0 1 1 0 1h-10a.5.5 0 1 1 0-1z",fill:"#5A5E69",fillRule:"nonzero"}))}:"image"===r?{color:"#686de0",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("g",{fill:"#686DE0",fillRule:"evenodd"},(0,o.h)("path",{d:"M5 7v10h15V7H5zm0-1h15a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z",fillRule:"nonzero"}),(0,o.h)("path",{d:"M6.35 17.172l4.994-5.026a.5.5 0 0 1 .707 0l2.16 2.16 3.505-3.505a.5.5 0 0 1 .707 0l2.336 2.31-.707.72-1.983-1.97-3.505 3.505a.5.5 0 0 1-.707 0l-2.16-2.159-3.938 3.939-1.409.026z",fillRule:"nonzero"}),(0,o.h)("circle",{cx:"7.5",cy:"9.5",r:"1.5"})))}:"audio"===r?{color:"#068dbb",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("path",{d:"M9.5 18.64c0 1.14-1.145 2-2.5 2s-2.5-.86-2.5-2c0-1.14 1.145-2 2.5-2 .557 0 1.079.145 1.5.396V7.25a.5.5 0 0 1 .379-.485l9-2.25A.5.5 0 0 1 18.5 5v11.64c0 1.14-1.145 2-2.5 2s-2.5-.86-2.5-2c0-1.14 1.145-2 2.5-2 .557 0 1.079.145 1.5.396V8.67l-8 2v7.97zm8-11v-2l-8 2v2l8-2zM7 19.64c.855 0 1.5-.484 1.5-1s-.645-1-1.5-1-1.5.484-1.5 1 .645 1 1.5 1zm9-2c.855 0 1.5-.484 1.5-1s-.645-1-1.5-1-1.5.484-1.5 1 .645 1 1.5 1z",fill:"#049BCF",fillRule:"nonzero"}))}:"video"===r?{color:"#19af67",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("path",{d:"M16 11.834l4.486-2.691A1 1 0 0 1 22 10v6a1 1 0 0 1-1.514.857L16 14.167V17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2.834zM15 9H5v8h10V9zm1 4l5 3v-6l-5 3z",fill:"#19AF67",fillRule:"nonzero"}))}:"application"===r&&"pdf"===n?{color:"#e25149",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("path",{d:"M9.766 8.295c-.691-1.843-.539-3.401.747-3.726 1.643-.414 2.505.938 2.39 3.299-.039.79-.194 1.662-.537 3.148.324.49.66.967 1.055 1.51.17.231.382.488.629.757 1.866-.128 3.653.114 4.918.655 1.487.635 2.192 1.685 1.614 2.84-.566 1.133-1.839 1.084-3.416.249-1.141-.604-2.457-1.634-3.51-2.707a13.467 13.467 0 0 0-2.238.426c-1.392 4.051-4.534 6.453-5.707 4.572-.986-1.58 1.38-4.206 4.914-5.375.097-.322.185-.656.264-1.001.08-.353.306-1.31.407-1.737-.678-1.059-1.2-2.031-1.53-2.91zm2.098 4.87c-.033.144-.068.287-.104.427l.033-.01-.012.038a14.065 14.065 0 0 1 1.02-.197l-.032-.033.052-.004a7.902 7.902 0 0 1-.208-.271c-.197-.27-.38-.526-.555-.775l-.006.028-.002-.003c-.076.323-.148.632-.186.8zm5.77 2.978c1.143.605 1.832.632 2.054.187.26-.519-.087-1.034-1.113-1.473-.911-.39-2.175-.608-3.55-.608.845.766 1.787 1.459 2.609 1.894zM6.559 18.789c.14.223.693.16 1.425-.413.827-.648 1.61-1.747 2.208-3.206-2.563 1.064-4.102 2.867-3.633 3.62zm5.345-10.97c.088-1.793-.351-2.48-1.146-2.28-.473.119-.564 1.05-.056 2.405.213.566.52 1.188.908 1.859.18-.858.268-1.453.294-1.984z",fill:"#E2514A",fillRule:"nonzero"}))}:"application"===r&&-1!==["zip","x-7z-compressed","x-rar-compressed","x-tar","x-gzip","x-apple-diskimage"].indexOf(n)?{color:"#00C469",icon:(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"25",height:"25",viewBox:"0 0 25 25"},(0,o.h)("path",{d:"M10.45 2.05h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5V2.55a.5.5 0 0 1 .5-.5zm2.05 1.024h1.05a.5.5 0 0 1 .5.5V3.6a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5v-.001zM10.45 0h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5V.5a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-2.05 3.074h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-2.05 1.024h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm-2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-1.656 3.074l-.82 5.946c.52.302 1.174.458 1.976.458.803 0 1.455-.156 1.975-.458l-.82-5.946h-2.311zm0-1.025h2.312c.512 0 .946.378 1.015.885l.82 5.946c.056.412-.142.817-.501 1.026-.686.398-1.515.597-2.49.597-.974 0-1.804-.199-2.49-.597a1.025 1.025 0 0 1-.5-1.026l.819-5.946c.07-.507.503-.885 1.015-.885zm.545 6.6a.5.5 0 0 1-.397-.561l.143-.999a.5.5 0 0 1 .495-.429h.74a.5.5 0 0 1 .495.43l.143.998a.5.5 0 0 1-.397.561c-.404.08-.819.08-1.222 0z",fill:"#00C469",fillRule:"nonzero"}))}:t}function tp(e){let{file:t}=e;if(t.preview)return(0,o.h)("img",{className:"uppy-Dashboard-Item-previewImg",alt:t.name,src:t.preview});let{color:r,icon:n}=th(t.type);return(0,o.h)("div",{className:"uppy-Dashboard-Item-previewIconWrap"},(0,o.h)("span",{className:"uppy-Dashboard-Item-previewIcon",style:{color:r}},n),(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-Dashboard-Item-previewIconBg",width:"58",height:"76",viewBox:"0 0 58 76"},(0,o.h)("rect",{fill:"#FFF",width:"58",height:"76",rx:"3",fillRule:"evenodd"})))}let tf=(e,t)=>("function"==typeof t?t():t).filter(t=>t.id===e)[0].name;function tm(e){let{file:t,toggleFileCard:r,i18n:n,metaFields:i}=e,{missingRequiredMetaFields:a}=t;if(!(null!=a&&a.length))return null;let s=a.map(e=>tf(e,i)).join(", ");return(0,o.h)("div",{className:"uppy-Dashboard-Item-errorMessage"},n("missingRequiredMetaFields",{smart_count:a.length,fields:s})," ",(0,o.h)("button",{type:"button",class:"uppy-u-reset uppy-Dashboard-Item-errorMessageBtn",onClick:()=>r(!0,t.id)},n("editFile")))}function tg(e){return(0,o.h)("div",{className:"uppy-Dashboard-Item-previewInnerWrap",style:{backgroundColor:th(e.file.type).color}},e.showLinkToFileUploadResult&&e.file.uploadURL&&(0,o.h)("a",{className:"uppy-Dashboard-Item-previewLink",href:e.file.uploadURL,rel:"noreferrer noopener",target:"_blank","aria-label":e.file.meta.name},(0,o.h)("span",{hidden:!0},e.file.meta.name)),(0,o.h)(tp,{file:e.file}),(0,o.h)(tm,{file:e.file,i18n:e.i18n,toggleFileCard:e.toggleFileCard,metaFields:e.metaFields}))}function tv(e){return e.isUploaded?e.i18n("uploadComplete"):e.error?e.i18n("retryUpload"):e.resumableUploads?e.file.isPaused?e.i18n("resumeUpload"):e.i18n("pauseUpload"):e.individualCancellation?e.i18n("cancelUpload"):""}function ty(e){return(0,o.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-progressIndicator",type:"button","aria-label":tv(e),title:tv(e),onClick:()=>(function(e){if(!e.isUploaded){if(e.error&&!e.hideRetryButton){e.uppy.retryUpload(e.file.id);return}e.resumableUploads&&!e.hidePauseResumeButton?e.uppy.pauseResume(e.file.id):e.individualCancellation&&!e.hideCancelButton&&e.uppy.removeFile(e.file.id)}})(e)},e.children))}function tb(e){let{children:t}=e;return(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"70",height:"70",viewBox:"0 0 36 36",className:"uppy-c-icon uppy-Dashboard-Item-progressIcon--circle"},t)}function tw(e){let{progress:t}=e,r=2*Math.PI*15;return(0,o.h)("g",null,(0,o.h)("circle",{className:"uppy-Dashboard-Item-progressIcon--bg",r:"15",cx:"18",cy:"18","stroke-width":"2",fill:"none"}),(0,o.h)("circle",{className:"uppy-Dashboard-Item-progressIcon--progress",r:"15",cx:"18",cy:"18",transform:"rotate(-90, 18, 18)",fill:"none","stroke-width":"2","stroke-dasharray":r,"stroke-dashoffset":r-r/100*t}))}function tk(e){return e.file.progress.uploadStarted?e.isUploaded?(0,o.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,o.h)("div",{className:"uppy-Dashboard-Item-progressIndicator"},(0,o.h)(tb,null,(0,o.h)("circle",{r:"15",cx:"18",cy:"18",fill:"#1bb240"}),(0,o.h)("polygon",{className:"uppy-Dashboard-Item-progressIcon--check",transform:"translate(2, 3)",points:"14 22.5 7 15.2457065 8.99985857 13.1732815 14 18.3547104 22.9729883 9 25 11.1005634"})))):e.recoveredState?void 0:e.error&&!e.hideRetryButton?(0,o.h)(ty,e,(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-Dashboard-Item-progressIcon--retry",width:"28",height:"31",viewBox:"0 0 16 19"},(0,o.h)("path",{d:"M16 11a8 8 0 1 1-8-8v2a6 6 0 1 0 6 6h2z"}),(0,o.h)("path",{d:"M7.9 3H10v2H7.9z"}),(0,o.h)("path",{d:"M8.536.5l3.535 3.536-1.414 1.414L7.12 1.914z"}),(0,o.h)("path",{d:"M10.657 2.621l1.414 1.415L8.536 7.57 7.12 6.157z"}))):e.resumableUploads&&!e.hidePauseResumeButton?(0,o.h)(ty,e,(0,o.h)(tb,null,(0,o.h)(tw,{progress:e.file.progress.percentage}),e.file.isPaused?(0,o.h)("polygon",{className:"uppy-Dashboard-Item-progressIcon--play",transform:"translate(3, 3)",points:"12 20 12 10 20 15"}):(0,o.h)("g",{className:"uppy-Dashboard-Item-progressIcon--pause",transform:"translate(14.5, 13)"},(0,o.h)("rect",{x:"0",y:"0",width:"2",height:"10",rx:"0"}),(0,o.h)("rect",{x:"5",y:"0",width:"2",height:"10",rx:"0"})))):e.resumableUploads||!e.individualCancellation||e.hideCancelButton?(0,o.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,o.h)("div",{className:"uppy-Dashboard-Item-progressIndicator"},(0,o.h)(tb,null,(0,o.h)(tw,{progress:e.file.progress.percentage})))):(0,o.h)(ty,e,(0,o.h)(tb,null,(0,o.h)(tw,{progress:e.file.progress.percentage}),(0,o.h)("polygon",{className:"cancel",transform:"translate(2, 2)",points:"19.8856516 11.0625 16 14.9481516 12.1019737 11.0625 11.0625 12.1143484 14.9481516 16 11.0625 19.8980263 12.1019737 20.9375 16 17.0518484 19.8856516 20.9375 20.9375 19.8980263 17.0518484 16 20.9375 12"}))):null}var tx=r(11987);function t_(e,t){if(0===t)return"";if(e.length<=t)return e;if(t<=4)return`${e.slice(0,t-1)}…`;let r=t-3,n=Math.ceil(r/2),i=Math.floor(r/2);return e.slice(0,n)+"..."+e.slice(-i)}let tS=e=>{let{author:t,name:r}=e.file.meta;return(0,o.h)("div",{className:"uppy-Dashboard-Item-name",title:r},t_(r,e.singleFile?200:e.containerWidth<=352?35:e.containerWidth<=576?60:t?20:30))},tE=e=>{let{author:t}=e.file.meta,{providerName:r}=e.file.remote,n=`\u00B7`;return t?(0,o.h)("div",{className:"uppy-Dashboard-Item-author"},(0,o.h)("a",{href:`${t.url}?utm_source=Companion&utm_medium=referral`,target:"_blank",rel:"noopener noreferrer"},t_(t.name,13)),r?(0,o.h)(o.HY,null,` ${n} `,r,` ${n} `):null):null},tD=e=>e.file.size&&(0,o.h)("div",{className:"uppy-Dashboard-Item-statusSize"},tx(e.file.size)),tC=e=>e.file.isGhost&&(0,o.h)("span",null," • ",(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-reSelect",type:"button",onClick:e.toggleAddFilesPanel},e.i18n("reSelect"))),tj=e=>{let{file:t,onClick:r}=e;return t.error?(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-errorDetails","aria-label":t.error,"data-microtip-position":"bottom","data-microtip-size":"medium",onClick:r,type:"button"},"?"):null};function tO(e){let{file:t}=e;return(0,o.h)("div",{className:"uppy-Dashboard-Item-fileInfo","data-uppy-file-source":t.source},(0,o.h)("div",{className:"uppy-Dashboard-Item-fileName"},tS(e),(0,o.h)(tj,{file:e.file,onClick:()=>alert(e.file.error)})),(0,o.h)("div",{className:"uppy-Dashboard-Item-status"},tE(e),tD(e),tC(e)),(0,o.h)(tm,{file:e.file,i18n:e.i18n,toggleFileCard:e.toggleFileCard,metaFields:e.metaFields}))}function tT(e){let{file:t,uploadInProgressOrComplete:r,metaFields:n,canEditFile:i,i18n:a,onClick:s}=e;return!r&&n&&n.length>0||!r&&i(t)?(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-action uppy-Dashboard-Item-action--edit",type:"button","aria-label":a("editFileWithFilename",{file:t.meta.name}),title:a("editFileWithFilename",{file:t.meta.name}),onClick:()=>s()},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 14"},(0,o.h)("g",{fillRule:"evenodd"},(0,o.h)("path",{d:"M1.5 10.793h2.793A1 1 0 0 0 5 10.5L11.5 4a1 1 0 0 0 0-1.414L9.707.793a1 1 0 0 0-1.414 0l-6.5 6.5A1 1 0 0 0 1.5 8v2.793zm1-1V8L9 1.5l1.793 1.793-6.5 6.5H2.5z",fillRule:"nonzero"}),(0,o.h)("rect",{x:"1",y:"12.293",width:"11",height:"1",rx:".5"}),(0,o.h)("path",{fillRule:"nonzero",d:"M6.793 2.5L9.5 5.207l.707-.707L7.5 1.793z"})))):null}function tA(e){let{i18n:t,onClick:r,file:n}=e;return(0,o.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--remove",type:"button","aria-label":t("removeFile",{file:n.meta.name}),title:t("removeFile",{file:n.meta.name}),onClick:()=>r()},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"18",height:"18",viewBox:"0 0 18 18"},(0,o.h)("path",{d:"M9 0C4.034 0 0 4.034 0 9s4.034 9 9 9 9-4.034 9-9-4.034-9-9-9z"}),(0,o.h)("path",{fill:"#FFF",d:"M13 12.222l-.778.778L9 9.778 5.778 13 5 12.222 8.222 9 5 5.778 5.778 5 9 8.222 12.222 5l.778.778L9.778 9z"})))}let tP=(e,t)=>{var r,n;(r=t.file.uploadURL,void 0===(n=t.i18n("copyLinkToClipboardFallback"))&&(n="Copy the URL below"),new Promise(e=>{let t=document.createElement("textarea");t.setAttribute("style",{position:"fixed",top:0,left:0,width:"2em",height:"2em",padding:0,border:"none",outline:"none",boxShadow:"none",background:"transparent"}),t.value=r,document.body.appendChild(t),t.select();let i=()=>{document.body.removeChild(t),window.prompt(n,r),e()};try{if(!document.execCommand("copy"))return i("copy command unavailable");return document.body.removeChild(t),e()}catch(e){return document.body.removeChild(t),i(e)}})).then(()=>{t.uppy.log("Link copied to clipboard."),t.uppy.info(t.i18n("copyLinkToClipboardSuccess"),"info",3e3)}).catch(t.uppy.log).then(()=>e.target.focus({preventScroll:!0}))};function tR(e){let{i18n:t}=e;return(0,o.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--copyLink",type:"button","aria-label":t("copyLink"),title:t("copyLink"),onClick:t=>tP(t,e)},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 12"},(0,o.h)("path",{d:"M7.94 7.703a2.613 2.613 0 0 1-.626 2.681l-.852.851a2.597 2.597 0 0 1-1.849.766A2.616 2.616 0 0 1 2.764 7.54l.852-.852a2.596 2.596 0 0 1 2.69-.625L5.267 7.099a1.44 1.44 0 0 0-.833.407l-.852.851a1.458 1.458 0 0 0 1.03 2.486c.39 0 .755-.152 1.03-.426l.852-.852c.231-.231.363-.522.406-.824l1.04-1.038zm4.295-5.937A2.596 2.596 0 0 0 10.387 1c-.698 0-1.355.272-1.849.766l-.852.851a2.614 2.614 0 0 0-.624 2.688l1.036-1.036c.041-.304.173-.6.407-.833l.852-.852c.275-.275.64-.426 1.03-.426a1.458 1.458 0 0 1 1.03 2.486l-.852.851a1.442 1.442 0 0 1-.824.406l-1.04 1.04a2.596 2.596 0 0 0 2.683-.628l.851-.85a2.616 2.616 0 0 0 0-3.697zm-6.88 6.883a.577.577 0 0 0 .82 0l3.474-3.474a.579.579 0 1 0-.819-.82L5.355 7.83a.579.579 0 0 0 0 .819z"})))}function tM(e){let{uppy:t,file:r,uploadInProgressOrComplete:n,canEditFile:i,metaFields:a,showLinkToFileUploadResult:s,showRemoveButton:u,i18n:l,toggleFileCard:c,openFileEditor:d}=e;return(0,o.h)("div",{className:"uppy-Dashboard-Item-actionWrapper"},(0,o.h)(tT,{i18n:l,file:r,uploadInProgressOrComplete:n,canEditFile:i,metaFields:a,onClick:()=>{a&&a.length>0?c(!0,r.id):d(r)}}),s&&r.uploadURL?(0,o.h)(tR,{file:r,uppy:t,i18n:l}):null,u?(0,o.h)(tA,{i18n:l,file:r,uppy:t,onClick:()=>e.uppy.removeFile(r.id,"removed-by-user")}):null)}class tF extends o.wA{componentDidMount(){let{file:e}=this.props;e.preview||this.props.handleRequestThumbnail(e)}shouldComponentUpdate(e){return!td(this.props,e)}componentDidUpdate(){let{file:e}=this.props;e.preview||this.props.handleRequestThumbnail(e)}componentWillUnmount(){let{file:e}=this.props;e.preview||this.props.handleCancelThumbnail(e)}render(){let{file:e}=this.props,t=e.progress.preprocess||e.progress.postprocess,r=e.progress.uploadComplete&&!t&&!e.error,n=e.progress.uploadStarted||t,i=e.progress.uploadStarted&&!e.progress.uploadComplete||t,a=e.error||!1,{isGhost:s}=e,u=this.props.individualCancellation?!r:!i&&!r;r&&this.props.showRemoveButtonAfterComplete&&(u=!0);let c=l({"uppy-Dashboard-Item":!0,"is-inprogress":i&&!this.props.recoveredState,"is-processing":t,"is-complete":r,"is-error":!!a,"is-resumable":this.props.resumableUploads,"is-noIndividualCancellation":!this.props.individualCancellation,"is-ghost":s});return(0,o.h)("div",{className:c,id:`uppy_${e.id}`,role:this.props.role},(0,o.h)("div",{className:"uppy-Dashboard-Item-preview"},(0,o.h)(tg,{file:e,showLinkToFileUploadResult:this.props.showLinkToFileUploadResult,i18n:this.props.i18n,toggleFileCard:this.props.toggleFileCard,metaFields:this.props.metaFields}),(0,o.h)(tk,{uppy:this.props.uppy,file:e,error:a,isUploaded:r,hideRetryButton:this.props.hideRetryButton,hideCancelButton:this.props.hideCancelButton,hidePauseResumeButton:this.props.hidePauseResumeButton,recoveredState:this.props.recoveredState,showRemoveButtonAfterComplete:this.props.showRemoveButtonAfterComplete,resumableUploads:this.props.resumableUploads,individualCancellation:this.props.individualCancellation,i18n:this.props.i18n})),(0,o.h)("div",{className:"uppy-Dashboard-Item-fileInfoAndButtons"},(0,o.h)(tO,{file:e,id:this.props.id,acquirers:this.props.acquirers,containerWidth:this.props.containerWidth,i18n:this.props.i18n,toggleAddFilesPanel:this.props.toggleAddFilesPanel,toggleFileCard:this.props.toggleFileCard,metaFields:this.props.metaFields,singleFile:this.props.singleFile}),(0,o.h)(tM,{file:e,metaFields:this.props.metaFields,showLinkToFileUploadResult:this.props.showLinkToFileUploadResult,showRemoveButton:u,canEditFile:this.props.canEditFile,uploadInProgressOrComplete:n,toggleFileCard:this.props.toggleFileCard,openFileEditor:this.props.openFileEditor,uppy:this.props.uppy,i18n:this.props.i18n})))}}function tN(){return(tN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let tI={position:"relative",width:"100%",minHeight:"100%"},tL={position:"absolute",top:0,left:0,width:"100%",overflow:"visible"};class tB extends o.wA{constructor(e){super(e),this.handleScroll=()=>{this.setState({offset:this.base.scrollTop})},this.handleResize=()=>{this.resize()},this.focusElement=null,this.state={offset:0,height:0}}componentDidMount(){this.resize(),window.addEventListener("resize",this.handleResize)}componentWillUpdate(){this.base.contains(document.activeElement)&&(this.focusElement=document.activeElement)}componentDidUpdate(){this.focusElement&&this.focusElement.parentNode&&document.activeElement!==this.focusElement&&this.focusElement.focus(),this.focusElement=null,this.resize()}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}resize(){let{height:e}=this.state;e!==this.base.offsetHeight&&this.setState({height:this.base.offsetHeight})}render(e){let{data:t,rowHeight:r,renderRow:n,overscanCount:i=10,...a}=e,{offset:s,height:u}=this.state,l=Math.floor(s/r),c=Math.floor(u/r);i&&(l=Math.max(0,l-l%i),c+=i);let d=l+c+4,h=t.slice(l,d),p={...tI,height:t.length*r},f={...tL,top:l*r};return(0,o.h)("div",tN({onScroll:this.handleScroll},a),(0,o.h)("div",{role:"presentation",style:p},(0,o.h)("div",{role:"presentation",style:f},h.map(n))))}}function tz(){return(tz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var tU=e=>{let t=1===e.itemsPerRow?71:200,r={id:e.id,error:e.error,i18n:e.i18n,uppy:e.uppy,acquirers:e.acquirers,resumableUploads:e.resumableUploads,individualCancellation:e.individualCancellation,hideRetryButton:e.hideRetryButton,hidePauseResumeButton:e.hidePauseResumeButton,hideCancelButton:e.hideCancelButton,showLinkToFileUploadResult:e.showLinkToFileUploadResult,showRemoveButtonAfterComplete:e.showRemoveButtonAfterComplete,isWide:e.isWide,metaFields:e.metaFields,recoveredState:e.recoveredState,singleFile:e.singleFile,toggleFileCard:e.toggleFileCard,handleRequestThumbnail:e.handleRequestThumbnail,handleCancelThumbnail:e.handleCancelThumbnail},n=Object.keys(e.files);e.recoveredState&&n.sort((t,r)=>e.files[r].isGhost-e.files[t].isGhost);let i=function(e,t){let r=[],n=[];return e.forEach(e=>{n.length<t?n.push(e):(r.push(n),n=[e])}),n.length&&r.push(n),r}(n,e.itemsPerRow),a=t=>(0,o.h)("div",{class:"uppy-Dashboard-filesInner",role:"presentation",key:t[0]},t.map(t=>(0,o.h)(tF,tz({key:t,uppy:e.uppy},r,{role:"listitem",openFileEditor:e.openFileEditor,canEditFile:e.canEditFile,toggleAddFilesPanel:e.toggleAddFilesPanel,file:e.files[t]}))));return e.singleFile?(0,o.h)("div",{class:"uppy-Dashboard-files"},a(i[0])):(0,o.h)(tB,{class:"uppy-Dashboard-files",role:"list",data:i,renderRow:a,rowHeight:t})};n=Symbol.for("uppy test: disable unused locale key warning");class tq extends o.wA{constructor(){super(...arguments),this.triggerFileInputClick=()=>{this.fileInput.click()},this.triggerFolderInputClick=()=>{this.folderInput.click()},this.triggerVideoCameraInputClick=()=>{this.mobileVideoFileInput.click()},this.triggerPhotoCameraInputClick=()=>{this.mobilePhotoFileInput.click()},this.onFileInputChange=e=>{this.props.handleInputChange(e),e.target.value=null},this.renderHiddenInput=(e,t)=>(0,o.h)("input",{className:"uppy-Dashboard-input",hidden:!0,"aria-hidden":"true",tabIndex:-1,webkitdirectory:e,type:"file",name:"files[]",multiple:1!==this.props.maxNumberOfFiles,onChange:this.onFileInputChange,accept:this.props.allowedFileTypes,ref:t}),this.renderHiddenCameraInput=(e,t,r)=>(0,o.h)("input",{className:"uppy-Dashboard-input",hidden:!0,"aria-hidden":"true",tabIndex:-1,type:"file",name:`camera-${e}`,onChange:this.onFileInputChange,capture:t,accept:{photo:"image/*",video:"video/*"}[e],ref:r}),this.renderMyDeviceAcquirer=()=>(0,o.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":"MyDevice"},(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-uppy-super-focusable":!0,onClick:this.triggerFileInputClick},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,o.h)("g",{fill:"none",fillRule:"evenodd"},(0,o.h)("rect",{className:"uppy-ProviderIconBg",width:"32",height:"32",rx:"16",fill:"#2275D7"}),(0,o.h)("path",{d:"M21.973 21.152H9.863l-1.108-5.087h14.464l-1.246 5.087zM9.935 11.37h3.958l.886 1.444a.673.673 0 0 0 .585.316h6.506v1.37H9.935v-3.13zm14.898 3.44a.793.793 0 0 0-.616-.31h-.978v-2.126c0-.379-.275-.613-.653-.613H15.75l-.886-1.445a.673.673 0 0 0-.585-.316H9.232c-.378 0-.667.209-.667.587V14.5h-.782a.793.793 0 0 0-.61.303.795.795 0 0 0-.155.663l1.45 6.633c.078.36.396.618.764.618h13.354c.36 0 .674-.246.76-.595l1.631-6.636a.795.795 0 0 0-.144-.675z",fill:"#FFF"}))),(0,o.h)("div",{className:"uppy-DashboardTab-name"},this.props.i18n("myDevice")))),this.renderPhotoCamera=()=>(0,o.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":"MobilePhotoCamera"},(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-uppy-super-focusable":!0,onClick:this.triggerPhotoCameraInputClick},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,o.h)("g",{fill:"none",fillRule:"evenodd"},(0,o.h)("rect",{className:"uppy-ProviderIconBg",fill:"#03BFEF",width:"32",height:"32",rx:"16"}),(0,o.h)("path",{d:"M22 11c1.133 0 2 .867 2 2v7.333c0 1.134-.867 2-2 2H10c-1.133 0-2-.866-2-2V13c0-1.133.867-2 2-2h2.333l1.134-1.733C13.6 9.133 13.8 9 14 9h4c.2 0 .4.133.533.267L19.667 11H22zm-6 1.533a3.764 3.764 0 0 0-3.8 3.8c0 2.129 1.672 3.801 3.8 3.801s3.8-1.672 3.8-3.8c0-2.13-1.672-3.801-3.8-3.801zm0 6.261c-1.395 0-2.46-1.066-2.46-2.46 0-1.395 1.065-2.461 2.46-2.461s2.46 1.066 2.46 2.46c0 1.395-1.065 2.461-2.46 2.461z",fill:"#FFF",fillRule:"nonzero"}))),(0,o.h)("div",{className:"uppy-DashboardTab-name"},this.props.i18n("takePictureBtn")))),this.renderVideoCamera=()=>(0,o.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":"MobileVideoCamera"},(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-uppy-super-focusable":!0,onClick:this.triggerVideoCameraInputClick},(0,o.h)("svg",{"aria-hidden":"true",width:"32",height:"32",viewBox:"0 0 32 32"},(0,o.h)("rect",{fill:"#1abc9c",width:"32",height:"32",rx:"16"}),(0,o.h)("path",{fill:"#FFF",fillRule:"nonzero",d:"m21.254 14.277 2.941-2.588c.797-.313 1.243.818 1.09 1.554-.01 2.094.02 4.189-.017 6.282-.126.915-1.145 1.08-1.58.34l-2.434-2.142c-.192.287-.504 1.305-.738.468-.104-1.293-.028-2.596-.05-3.894.047-.312.381.823.426 1.069.063-.384.206-.744.362-1.09zm-12.939-3.73c3.858.013 7.717-.025 11.574.02.912.129 1.492 1.237 1.351 2.217-.019 2.412.04 4.83-.03 7.239-.17 1.025-1.166 1.59-2.029 1.429-3.705-.012-7.41.025-11.114-.019-.913-.129-1.492-1.237-1.352-2.217.018-2.404-.036-4.813.029-7.214.136-.82.83-1.473 1.571-1.454z "})),(0,o.h)("div",{className:"uppy-DashboardTab-name"},this.props.i18n("recordVideoBtn")))),this.renderBrowseButton=(e,t)=>{let r=this.props.acquirers.length;return(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-Dashboard-browse",onClick:t,"data-uppy-super-focusable":0===r},e)},this.renderDropPasteBrowseTagline=e=>{let t=this.renderBrowseButton(this.props.i18n("browseFiles"),this.triggerFileInputClick),r=this.renderBrowseButton(this.props.i18n("browseFolders"),this.triggerFolderInputClick),n=this.props.fileManagerSelectionType,i=n.charAt(0).toUpperCase()+n.slice(1);return(0,o.h)("div",{class:"uppy-Dashboard-AddFiles-title"},this.props.disableLocalFiles?this.props.i18n("importFiles"):e>0?this.props.i18nArray(`dropPasteImport${i}`,{browseFiles:t,browseFolders:r,browse:t}):this.props.i18nArray(`dropPaste${i}`,{browseFiles:t,browseFolders:r,browse:t}))},this.renderAcquirer=e=>(0,o.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":e.id},(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-cy":e.id,"aria-controls":`uppy-DashboardContent-panel--${e.id}`,"aria-selected":this.props.activePickerPanel.id===e.id,"data-uppy-super-focusable":!0,onClick:()=>this.props.showPanel(e.id)},e.icon(),(0,o.h)("div",{className:"uppy-DashboardTab-name"},e.name))),this.renderAcquirers=e=>{let t=[...e],r=t.splice(e.length-2,e.length);return(0,o.h)(o.HY,null,t.map(e=>this.renderAcquirer(e)),(0,o.h)("span",{role:"presentation",style:{"white-space":"nowrap"}},r.map(e=>this.renderAcquirer(e))))},this.renderSourcesList=(e,t)=>{let{showNativePhotoCameraButton:r,showNativeVideoCameraButton:n}=this.props,i=[],a="myDevice";!t&&(i.push({key:a,elements:this.renderMyDeviceAcquirer()}),r&&i.push({key:"nativePhotoCameraButton",elements:this.renderPhotoCamera()}),n&&i.push({key:"nativePhotoCameraButton",elements:this.renderVideoCamera()})),i.push(...e.map(e=>({key:e.id,elements:this.renderAcquirer(e)}))),1===i.length&&i[0].key===a&&(i=[]);let s=[...i],u=s.splice(i.length-2,i.length),l=e=>e.map(e=>{let{key:t,elements:r}=e;return(0,o.h)(o.HY,{key:t},r)});return(0,o.h)(o.HY,null,this.renderDropPasteBrowseTagline(i.length),(0,o.h)("div",{className:"uppy-Dashboard-AddFiles-list",role:"tablist"},l(s),(0,o.h)("span",{role:"presentation",style:{"white-space":"nowrap"}},l(u))))}}[n](){this.props.i18nArray("dropPasteBoth"),this.props.i18nArray("dropPasteFiles"),this.props.i18nArray("dropPasteFolders"),this.props.i18nArray("dropPasteImportBoth"),this.props.i18nArray("dropPasteImportFiles"),this.props.i18nArray("dropPasteImportFolders")}renderPoweredByUppy(){let{i18nArray:e}=this.props,t=e("poweredBy",{uppy:(0,o.h)("span",null,(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-Dashboard-poweredByIcon",width:"11",height:"11",viewBox:"0 0 11 11"},(0,o.h)("path",{d:"M7.365 10.5l-.01-4.045h2.612L5.5.806l-4.467 5.65h2.604l.01 4.044h3.718z",fillRule:"evenodd"})),(0,o.h)("span",{className:"uppy-Dashboard-poweredByUppy"},"Uppy"))});return(0,o.h)("a",{tabIndex:"-1",href:"https://uppy.io",rel:"noreferrer noopener",target:"_blank",className:"uppy-Dashboard-poweredBy"},t)}render(){let{showNativePhotoCameraButton:e,showNativeVideoCameraButton:t,nativeCameraFacingMode:r}=this.props;return(0,o.h)("div",{className:"uppy-Dashboard-AddFiles"},this.renderHiddenInput(!1,e=>{this.fileInput=e}),this.renderHiddenInput(!0,e=>{this.folderInput=e}),e&&this.renderHiddenCameraInput("photo",r,e=>{this.mobilePhotoFileInput=e}),t&&this.renderHiddenCameraInput("video",r,e=>{this.mobileVideoFileInput=e}),this.renderSourcesList(this.props.acquirers,this.props.disableLocalFiles),(0,o.h)("div",{className:"uppy-Dashboard-AddFiles-info"},this.props.note&&(0,o.h)("div",{className:"uppy-Dashboard-note"},this.props.note),this.props.proudlyDisplayPoweredByUppy&&this.renderPoweredByUppy(this.props)))}}var t$=e=>(0,o.h)("div",{className:l("uppy-Dashboard-AddFilesPanel",e.className),"data-uppy-panelType":"AddFiles","aria-hidden":e.showAddFilesPanel},(0,o.h)("div",{className:"uppy-DashboardContent-bar"},(0,o.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},e.i18n("addingMoreFiles")),(0,o.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:()=>e.toggleAddFilesPanel(!1)},e.i18n("back"))),(0,o.h)(tq,e)),tH=function(e){let{tagName:t}=e.target;if("INPUT"===t||"TEXTAREA"===t){e.stopPropagation();return}e.preventDefault(),e.stopPropagation()},tV=function(e){let{activePickerPanel:t,className:r,hideAllPanels:n,i18n:i,state:a,uppy:s}=e;return(0,o.h)("div",{className:l("uppy-DashboardContent-panel",r),role:"tabpanel","data-uppy-panelType":"PickerPanel",id:`uppy-DashboardContent-panel--${t.id}`,onDragOver:tH,onDragLeave:tH,onDrop:tH,onPaste:tH},(0,o.h)("div",{className:"uppy-DashboardContent-bar"},(0,o.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},i("importFrom",{name:t.name})),(0,o.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:n},i("cancel"))),(0,o.h)("div",{className:"uppy-DashboardContent-panelBody"},s.getPlugin(t.id).render(a)))},tW=function(e){let t=e.files[e.fileCardFor];return(0,o.h)("div",{className:l("uppy-DashboardContent-panel",e.className),role:"tabpanel","data-uppy-panelType":"FileEditor",id:"uppy-DashboardContent-panel--editor"},(0,o.h)("div",{className:"uppy-DashboardContent-bar"},(0,o.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},e.i18nArray("editing",{file:(0,o.h)("span",{className:"uppy-DashboardContent-titleFile"},t.meta?t.meta.name:t.name)})),(0,o.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:e.hideAllPanels},e.i18n("cancel")),(0,o.h)("button",{className:"uppy-DashboardContent-save",type:"button",onClick:e.saveFileEditor},e.i18n("save"))),(0,o.h)("div",{className:"uppy-DashboardContent-panelBody"},e.editors.map(t=>e.uppy.getPlugin(t.id).render(e.state))))};let tG={STATE_ERROR:"error",STATE_WAITING:"waiting",STATE_PREPROCESSING:"preprocessing",STATE_UPLOADING:"uploading",STATE_POSTPROCESSING:"postprocessing",STATE_COMPLETE:"complete",STATE_PAUSED:"paused"};function tY(e){let{files:t,i18n:r,isAllComplete:n,isAllErrored:i,isAllPaused:o,inProgressNotPausedFiles:a,newFiles:s,processingFiles:u}=e;switch(function(e,t,r,n){if(void 0===n&&(n={}),e)return tG.STATE_ERROR;if(t)return tG.STATE_COMPLETE;if(r)return tG.STATE_PAUSED;let i=tG.STATE_WAITING,o=Object.keys(n);for(let e=0;e<o.length;e++){let{progress:t}=n[o[e]];if(t.uploadStarted&&!t.uploadComplete)return tG.STATE_UPLOADING;t.preprocess&&i!==tG.STATE_UPLOADING&&(i=tG.STATE_PREPROCESSING),t.postprocess&&i!==tG.STATE_UPLOADING&&i!==tG.STATE_PREPROCESSING&&(i=tG.STATE_POSTPROCESSING)}return i}(i,n,o,t)){case"uploading":return r("uploadingXFiles",{smart_count:a.length});case"preprocessing":case"postprocessing":return r("processingXFiles",{smart_count:u.length});case"paused":return r("uploadPaused");case"waiting":return r("xFilesSelected",{smart_count:s.length});case"complete":return r("uploadComplete")}}var tZ=function(e){let{i18n:t,isAllComplete:r,hideCancelButton:n,maxNumberOfFiles:i,toggleAddFilesPanel:a,uppy:s}=e,{allowNewUpload:u}=e;return u&&i&&(u=e.totalFileCount<e.maxNumberOfFiles),(0,o.h)("div",{className:"uppy-DashboardContent-bar"},r||n?(0,o.h)("div",null):(0,o.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:()=>s.cancelAll()},t("cancel")),(0,o.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},(0,o.h)(tY,e)),u?(0,o.h)("button",{className:"uppy-DashboardContent-addMore",type:"button","aria-label":t("addMoreFiles"),title:t("addMoreFiles"),onClick:()=>a(!0)},(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"15",height:"15",viewBox:"0 0 15 15"},(0,o.h)("path",{d:"M8 6.5h6a.5.5 0 0 1 .5.5v.5a.5.5 0 0 1-.5.5H8v6a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V8h-6a.5.5 0 0 1-.5-.5V7a.5.5 0 0 1 .5-.5h6v-6A.5.5 0 0 1 7 0h.5a.5.5 0 0 1 .5.5v6z"})),(0,o.h)("span",{className:"uppy-DashboardContent-addMoreCaption"},t("addMore"))):(0,o.h)("div",null))};class tK extends o.wA{constructor(e){super(e),this.form=document.createElement("form"),this.updateMeta=(e,t)=>{this.setState(r=>{let{formState:n}=r;return{formState:{...n,[t]:e}}})},this.handleSave=e=>{e.preventDefault();let t=this.props.fileCardFor;this.props.saveFileCard(this.state.formState,t)},this.handleCancel=()=>{let e=this.props.files[this.props.fileCardFor];this.props.uppy.emit("file-editor:cancel",e),this.props.toggleFileCard(!1)},this.saveOnEnter=e=>{if(13===e.keyCode){e.stopPropagation(),e.preventDefault();let t=this.props.files[this.props.fileCardFor];this.props.saveFileCard(this.state.formState,t.id)}},this.renderMetaFields=()=>{let e=this.getMetaFields()||[],t={text:"uppy-u-reset uppy-c-textInput uppy-Dashboard-FileCard-input"};return e.map(e=>{let r=`uppy-Dashboard-FileCard-input-${e.id}`,n=this.props.requiredMetaFields.includes(e.id);return(0,o.h)("fieldset",{key:e.id,className:"uppy-Dashboard-FileCard-fieldset"},(0,o.h)("label",{className:"uppy-Dashboard-FileCard-label",htmlFor:r},e.name),void 0!==e.render?e.render({value:this.state.formState[e.id],onChange:t=>this.updateMeta(t,e.id),fieldCSSClasses:t,required:n,form:this.form.id},o.h):(0,o.h)("input",{className:t.text,id:r,form:this.form.id,type:e.type||"text",required:n,value:this.state.formState[e.id],placeholder:e.placeholder,onKeyUp:"form"in HTMLInputElement.prototype?void 0:this.saveOnEnter,onKeyDown:"form"in HTMLInputElement.prototype?void 0:this.saveOnEnter,onKeyPress:"form"in HTMLInputElement.prototype?void 0:this.saveOnEnter,onInput:t=>this.updateMeta(t.target.value,e.id),"data-uppy-super-focusable":!0}))})};let t=this.props.files[this.props.fileCardFor],r=this.getMetaFields()||[],n={};r.forEach(e=>{n[e.id]=t.meta[e.id]||""}),this.state={formState:n},this.form.id=tt()}componentWillMount(){this.form.addEventListener("submit",this.handleSave),document.body.appendChild(this.form)}componentWillUnmount(){this.form.removeEventListener("submit",this.handleSave),document.body.removeChild(this.form)}getMetaFields(){return"function"==typeof this.props.metaFields?this.props.metaFields(this.props.files[this.props.fileCardFor]):this.props.metaFields}render(){let e=this.props.files[this.props.fileCardFor],t=this.props.canEditFile(e);return(0,o.h)("div",{className:l("uppy-Dashboard-FileCard",this.props.className),"data-uppy-panelType":"FileCard",onDragOver:tH,onDragLeave:tH,onDrop:tH,onPaste:tH},(0,o.h)("div",{className:"uppy-DashboardContent-bar"},(0,o.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},this.props.i18nArray("editing",{file:(0,o.h)("span",{className:"uppy-DashboardContent-titleFile"},e.meta?e.meta.name:e.name)})),(0,o.h)("button",{className:"uppy-DashboardContent-back",type:"button",form:this.form.id,title:this.props.i18n("finishEditingFile"),onClick:this.handleCancel},this.props.i18n("cancel"))),(0,o.h)("div",{className:"uppy-Dashboard-FileCard-inner"},(0,o.h)("div",{className:"uppy-Dashboard-FileCard-preview",style:{backgroundColor:th(e.type).color}},(0,o.h)(tp,{file:e}),t&&(0,o.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-Dashboard-FileCard-edit",onClick:t=>{this.handleSave(t),this.props.openFileEditor(e)},form:this.form.id},this.props.i18n("editFile"))),(0,o.h)("div",{className:"uppy-Dashboard-FileCard-info"},this.renderMetaFields()),(0,o.h)("div",{className:"uppy-Dashboard-FileCard-actions"},(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Dashboard-FileCard-actionsBtn",type:"form"in HTMLButtonElement.prototype?"submit":"button",onClick:"form"in HTMLButtonElement.prototype?void 0:this.handleSave,form:this.form.id},this.props.i18n("saveChanges")),(0,o.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-link uppy-Dashboard-FileCard-actionsBtn",type:"button",onClick:this.handleCancel,form:this.form.id},this.props.i18n("cancel")))))}}let tJ="uppy-transition-slideDownUp";class tX extends o.wA{constructor(e){super(e),this.state={cachedChildren:null,className:""}}componentWillUpdate(e){let{cachedChildren:t}=this.state,r=(0,o.bR)(e.children)[0];if(t===r)return null;let n={cachedChildren:r};r&&!t&&(n.className=`${tJ}-enter`,cancelAnimationFrame(this.animationFrame),clearTimeout(this.leaveTimeout),this.leaveTimeout=void 0,this.animationFrame=requestAnimationFrame(()=>{this.setState({className:`${tJ}-enter ${tJ}-enter-active`}),this.enterTimeout=setTimeout(()=>{this.setState({className:""})},250)})),t&&!r&&void 0===this.leaveTimeout&&(n.cachedChildren=t,n.className=`${tJ}-leave`,cancelAnimationFrame(this.animationFrame),clearTimeout(this.enterTimeout),this.enterTimeout=void 0,this.animationFrame=requestAnimationFrame(()=>{this.setState({className:`${tJ}-leave ${tJ}-leave-active`}),this.leaveTimeout=setTimeout(()=>{this.setState({cachedChildren:null,className:""})},250)})),this.setState(n)}render(){let{cachedChildren:e,className:t}=this.state;return e?(0,o.Tm)(e,{className:l(t,e.props.className)}):null}}function tQ(){return(tQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var t0={strings:{closeModal:"Close Modal",addMoreFiles:"Add more files",addingMoreFiles:"Adding more files",importFrom:"Import from %{name}",dashboardWindowTitle:"Uppy Dashboard Window (Press escape to close)",dashboardTitle:"Uppy Dashboard",copyLinkToClipboardSuccess:"Link copied to clipboard.",copyLinkToClipboardFallback:"Copy the URL below",copyLink:"Copy link",back:"Back",removeFile:"Remove file",editFile:"Edit file",editing:"Editing %{file}",finishEditingFile:"Finish editing file",saveChanges:"Save changes",myDevice:"My Device",dropHint:"Drop your files here",uploadComplete:"Upload complete",uploadPaused:"Upload paused",resumeUpload:"Resume upload",pauseUpload:"Pause upload",retryUpload:"Retry upload",cancelUpload:"Cancel upload",xFilesSelected:{0:"%{smart_count} file selected",1:"%{smart_count} files selected"},uploadingXFiles:{0:"Uploading %{smart_count} file",1:"Uploading %{smart_count} files"},processingXFiles:{0:"Processing %{smart_count} file",1:"Processing %{smart_count} files"},poweredBy:"Powered by %{uppy}",addMore:"Add more",editFileWithFilename:"Edit file %{file}",save:"Save",cancel:"Cancel",dropPasteFiles:"Drop files here or %{browseFiles}",dropPasteFolders:"Drop files here or %{browseFolders}",dropPasteBoth:"Drop files here, %{browseFiles} or %{browseFolders}",dropPasteImportFiles:"Drop files here, %{browseFiles} or import from:",dropPasteImportFolders:"Drop files here, %{browseFolders} or import from:",dropPasteImportBoth:"Drop files here, %{browseFiles}, %{browseFolders} or import from:",importFiles:"Import files from:",browseFiles:"browse files",browseFolders:"browse folders",recoveredXFiles:{0:"We could not fully recover 1 file. Please re-select it and resume the upload.",1:"We could not fully recover %{smart_count} files. Please re-select them and resume the upload."},recoveredAllFiles:"We restored all files. You can now resume the upload.",sessionRestored:"Session restored",reSelect:"Re-select",missingRequiredMetaFields:{0:"Missing required meta field: %{fields}.",1:"Missing required meta fields: %{fields}."},takePictureBtn:"Take Picture",recordVideoBtn:"Record Video"}};function t1(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var t2=0;function t3(e){return"__private_"+t2+++"_"+e}let t5=ti.default||ti;function t4(){let e={};return e.promise=new Promise((t,r)=>{e.resolve=t,e.reject=r}),e}function t6(){return(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",width:"30",height:"30",viewBox:"0 0 30 30"},(0,o.h)("path",{d:"M15 30c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15C6.716 0 0 6.716 0 15c0 8.284 6.716 15 15 15zm4.258-12.676v6.846h-8.426v-6.846H5.204l9.82-12.364 9.82 12.364H19.26z"}))}var t8=t3("disabledNodes"),t9=t3("generateLargeThumbnailIfSingleFile"),t7=t3("openFileEditorWhenFilesAdded"),re=t3("attachRenderFunctionToTarget"),rt=t3("isTargetSupported"),rr=t3("getAcquirers"),rn=t3("getProgressIndicators"),ri=t3("getEditors");class ro extends a.di{constructor(e,t){var r;let n;super(e,t),r=this,Object.defineProperty(this,t8,{writable:!0,value:null}),this.removeTarget=e=>{let t=this.getPluginState().targets.filter(t=>t.id!==e.id);this.setPluginState({targets:t})},this.addTarget=e=>{let t=e.id||e.constructor.name,r=e.title||t,n=e.type;if("acquirer"!==n&&"progressindicator"!==n&&"editor"!==n){this.uppy.log("Dashboard: can only be targeted by plugins of types: acquirer, progressindicator, editor","error");return}let i=this.getPluginState().targets.slice();return i.push({id:t,name:r,type:n}),this.setPluginState({targets:i}),this.el},this.hideAllPanels=()=>{let e=this.getPluginState(),t={activePickerPanel:!1,showAddFilesPanel:!1,activeOverlayType:null,fileCardFor:null,showFileEditor:!1};(e.activePickerPanel!==t.activePickerPanel||e.showAddFilesPanel!==t.showAddFilesPanel||e.showFileEditor!==t.showFileEditor||e.activeOverlayType!==t.activeOverlayType)&&this.setPluginState(t)},this.showPanel=e=>{let{targets:t}=this.getPluginState(),r=t.filter(t=>"acquirer"===t.type&&t.id===e)[0];this.setPluginState({activePickerPanel:r,activeOverlayType:"PickerPanel"}),this.uppy.emit("dashboard:show-panel",e)},this.canEditFile=e=>{let{targets:t}=this.getPluginState();return t1(this,ri)[ri](t).some(t=>this.uppy.getPlugin(t.id).canEditFile(e))},this.openFileEditor=e=>{let{targets:t}=this.getPluginState(),r=t1(this,ri)[ri](t);this.setPluginState({showFileEditor:!0,fileCardFor:e.id||null,activeOverlayType:"FileEditor"}),r.forEach(t=>{this.uppy.getPlugin(t.id).selectFile(e)})},this.saveFileEditor=()=>{let{targets:e}=this.getPluginState();t1(this,ri)[ri](e).forEach(e=>{this.uppy.getPlugin(e.id).save()}),this.hideAllPanels()},this.openModal=()=>{let{promise:e,resolve:t}=t4();if(this.savedScrollPosition=window.pageYOffset,this.savedActiveElement=document.activeElement,this.opts.disablePageScrollWhenModalOpen&&document.body.classList.add("uppy-Dashboard-isFixed"),this.opts.animateOpenClose&&this.getPluginState().isClosing){let e=()=>{this.setPluginState({isHidden:!1}),this.el.removeEventListener("animationend",e,!1),t()};this.el.addEventListener("animationend",e,!1)}else this.setPluginState({isHidden:!1}),t();return this.opts.browserBackButtonClose&&this.updateBrowserHistory(),document.addEventListener("keydown",this.handleKeyDownInModal),this.uppy.emit("dashboard:modal-open"),e},this.closeModal=function(e){void 0===e&&(e={});let{manualClose:t=!0}=e,{isHidden:n,isClosing:i}=r.getPluginState();if(n||i)return;let{promise:o,resolve:a}=t4();if(r.opts.disablePageScrollWhenModalOpen&&document.body.classList.remove("uppy-Dashboard-isFixed"),r.opts.animateOpenClose){r.setPluginState({isClosing:!0});let e=()=>{r.setPluginState({isHidden:!0,isClosing:!1}),r.superFocus.cancel(),r.savedActiveElement.focus(),r.el.removeEventListener("animationend",e,!1),a()};r.el.addEventListener("animationend",e,!1)}else r.setPluginState({isHidden:!0}),r.superFocus.cancel(),r.savedActiveElement.focus(),a();if(document.removeEventListener("keydown",r.handleKeyDownInModal),t&&r.opts.browserBackButtonClose){var s;null!=(s=history.state)&&s[r.modalName]&&history.back()}return r.uppy.emit("dashboard:modal-closed"),o},this.isModalOpen=()=>!this.getPluginState().isHidden,this.requestCloseModal=()=>this.opts.onRequestCloseModal?this.opts.onRequestCloseModal():this.closeModal(),this.setDarkModeCapability=e=>{let{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:{...t,darkMode:e}})},this.handleSystemDarkModeChange=e=>{let t=e.matches;this.uppy.log(`[Dashboard] Dark mode is ${t?"on":"off"}`),this.setDarkModeCapability(t)},this.toggleFileCard=(e,t)=>{let r=this.uppy.getFile(t);e?this.uppy.emit("dashboard:file-edit-start",r):this.uppy.emit("dashboard:file-edit-complete",r),this.setPluginState({fileCardFor:e?t:null,activeOverlayType:e?"FileCard":null})},this.toggleAddFilesPanel=e=>{this.setPluginState({showAddFilesPanel:e,activeOverlayType:e?"AddFiles":null})},this.addFiles=e=>{let t=e.map(e=>({source:this.id,name:e.name,type:e.type,data:e,meta:{relativePath:e.relativePath||e.webkitRelativePath||null}}));try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}},this.startListeningToResize=()=>{this.resizeObserver=new ResizeObserver(e=>{let{width:t,height:r}=e[0].contentRect;this.setPluginState({containerWidth:t,containerHeight:r,areInsidesReadyToBeVisible:!0})}),this.resizeObserver.observe(this.el.querySelector(".uppy-Dashboard-inner")),this.makeDashboardInsidesVisibleAnywayTimeout=setTimeout(()=>{let e=this.getPluginState(),t=!this.opts.inline&&e.isHidden;e.areInsidesReadyToBeVisible||t||(this.uppy.log("[Dashboard] resize event didn’t fire on time: defaulted to mobile layout","warning"),this.setPluginState({areInsidesReadyToBeVisible:!0}))},1e3)},this.stopListeningToResize=()=>{this.resizeObserver.disconnect(),clearTimeout(this.makeDashboardInsidesVisibleAnywayTimeout)},this.recordIfFocusedOnUppyRecently=e=>{this.el.contains(e.target)?this.ifFocusedOnUppyRecently=!0:(this.ifFocusedOnUppyRecently=!1,this.superFocus.cancel())},this.disableInteractiveElements=e=>{var t;let r=null!=(t=t1(this,t8)[t8])?t:(0,e8.Z)(this.el.querySelectorAll(["a[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[role="button"]:not([disabled])'])).filter(e=>!e.classList.contains("uppy-Dashboard-close"));for(let t of r)"A"===t.tagName?t.setAttribute("aria-disabled",e):t.disabled=e;e?t1(this,t8)[t8]=r:t1(this,t8)[t8]=null,this.dashboardIsDisabled=e},this.updateBrowserHistory=()=>{var e;null!=(e=history.state)&&e[this.modalName]||history.pushState({...history.state,[this.modalName]:!0},""),window.addEventListener("popstate",this.handlePopState,!1)},this.handlePopState=e=>{var t;!this.isModalOpen()||e.state&&e.state[this.modalName]||this.closeModal({manualClose:!1}),!this.isModalOpen()&&null!=(t=e.state)&&t[this.modalName]&&history.back()},this.handleKeyDownInModal=e=>{27===e.keyCode&&this.requestCloseModal(e),9===e.keyCode&&tu(e,this.getPluginState().activeOverlayType,this.el)},this.handleClickOutside=()=>{this.opts.closeModalOnClickOutside&&this.requestCloseModal()},this.handlePaste=e=>{this.uppy.iteratePlugins(t=>{"acquirer"===t.type&&(null==t.handleRootPaste||t.handleRootPaste(e))});let t=(0,e8.Z)(e.clipboardData.files);t.length>0&&(this.uppy.log("[Dashboard] Files pasted"),this.addFiles(t))},this.handleInputChange=e=>{e.preventDefault();let t=(0,e8.Z)(e.target.files);t.length>0&&(this.uppy.log("[Dashboard] Files selected through input"),this.addFiles(t))},this.handleDragOver=e=>{var t,r;e.preventDefault(),e.stopPropagation();let n=(()=>{let t=!0;return this.uppy.iteratePlugins(r=>{null!=r.canHandleRootDrop&&r.canHandleRootDrop(e)&&(t=!0)}),t})(e),i=(()=>{let{types:t}=e.dataTransfer;return t.some(e=>"Files"===e)})(e);if(!n&&!i||this.opts.disabled||this.opts.disableLocalFiles&&(i||!n)||!this.uppy.getState().allowNewUpload){e.dataTransfer.dropEffect="none",clearTimeout(this.removeDragOverClassTimeout);return}e.dataTransfer.dropEffect="copy",clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!0}),null==(t=(r=this.opts).onDragOver)||t.call(r,e)},this.handleDragLeave=e=>{var t,r;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.removeDragOverClassTimeout=setTimeout(()=>{this.setPluginState({isDraggingOver:!1})},50),null==(t=(r=this.opts).onDragLeave)||t.call(r,e)},this.handleDrop=async e=>{var t,r;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!1}),this.uppy.iteratePlugins(t=>{"acquirer"===t.type&&(null==t.handleRootDrop||t.handleRootDrop(e))});let n=!1,i=await te(e.dataTransfer,{logDropError:e=>{this.uppy.log(e,"error"),n||(this.uppy.info(e.message,"error"),n=!0)}});i.length>0&&(this.uppy.log("[Dashboard] Files dropped"),this.addFiles(i)),null==(t=(r=this.opts).onDrop)||t.call(r,e)},this.handleRequestThumbnail=e=>{this.opts.waitForThumbnailsBeforeUpload||this.uppy.emit("thumbnail:request",e)},this.handleCancelThumbnail=e=>{this.opts.waitForThumbnailsBeforeUpload||this.uppy.emit("thumbnail:cancel",e)},this.handleKeyDownInInline=e=>{if(9===e.keyCode){var t,r;t=this.getPluginState().activeOverlayType,r=this.el,null===t||tu(e,t,r)}},this.handlePasteOnBody=e=>{this.el.contains(document.activeElement)&&this.handlePaste(e)},this.handleComplete=e=>{let{failed:t}=e;this.opts.closeAfterFinish&&0===t.length&&this.requestCloseModal()},this.handleCancelRestore=()=>{this.uppy.emit("restore-canceled")},Object.defineProperty(this,t9,{writable:!0,value:()=>{if(this.opts.disableThumbnailGenerator)return;let e=this.uppy.getFiles();if(1===e.length){let t=this.uppy.getPlugin(`${this.id}:ThumbnailGenerator`);null==t||t.setOptions({thumbnailWidth:600});let r={...e[0],preview:void 0};t.requestThumbnail(r).then(()=>{null==t||t.setOptions({thumbnailWidth:this.opts.thumbnailWidth})})}}}),Object.defineProperty(this,t7,{writable:!0,value:e=>{let t=e[0];this.canEditFile(t)&&this.openFileEditor(t)}}),this.initEvents=()=>{if(this.opts.trigger&&!this.opts.inline){let e=e6(this.opts.trigger);e?e.forEach(e=>e.addEventListener("click",this.openModal)):this.uppy.log("Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options, unless you are planning to call `dashboard.openModal()` method yourself","warning")}this.startListeningToResize(),document.addEventListener("paste",this.handlePasteOnBody),this.uppy.on("plugin-remove",this.removeTarget),this.uppy.on("file-added",this.hideAllPanels),this.uppy.on("dashboard:modal-closed",this.hideAllPanels),this.uppy.on("file-editor:complete",this.hideAllPanels),this.uppy.on("complete",this.handleComplete),this.uppy.on("files-added",t1(this,t9)[t9]),this.uppy.on("file-removed",t1(this,t9)[t9]),document.addEventListener("focus",this.recordIfFocusedOnUppyRecently,!0),document.addEventListener("click",this.recordIfFocusedOnUppyRecently,!0),this.opts.inline&&this.el.addEventListener("keydown",this.handleKeyDownInInline),this.opts.autoOpenFileEditor&&this.uppy.on("files-added",t1(this,t7)[t7])},this.removeEvents=()=>{let e=e6(this.opts.trigger);!this.opts.inline&&e&&e.forEach(e=>e.removeEventListener("click",this.openModal)),this.stopListeningToResize(),document.removeEventListener("paste",this.handlePasteOnBody),window.removeEventListener("popstate",this.handlePopState,!1),this.uppy.off("plugin-remove",this.removeTarget),this.uppy.off("file-added",this.hideAllPanels),this.uppy.off("dashboard:modal-closed",this.hideAllPanels),this.uppy.off("file-editor:complete",this.hideAllPanels),this.uppy.off("complete",this.handleComplete),this.uppy.off("files-added",t1(this,t9)[t9]),this.uppy.off("file-removed",t1(this,t9)[t9]),document.removeEventListener("focus",this.recordIfFocusedOnUppyRecently),document.removeEventListener("click",this.recordIfFocusedOnUppyRecently),this.opts.inline&&this.el.removeEventListener("keydown",this.handleKeyDownInInline),this.opts.autoOpenFileEditor&&this.uppy.off("files-added",t1(this,t7)[t7])},this.superFocusOnEachUpdate=()=>{let e=this.el.contains(document.activeElement),t=document.activeElement===document.body||null===document.activeElement,r=0===this.uppy.getState().info.length,n=!this.opts.inline;r&&(n||e||t&&this.ifFocusedOnUppyRecently)?this.superFocus(this.el,this.getPluginState().activeOverlayType):this.superFocus.cancel()},this.afterUpdate=()=>{if(this.opts.disabled&&!this.dashboardIsDisabled){this.disableInteractiveElements(!0);return}!this.opts.disabled&&this.dashboardIsDisabled&&this.disableInteractiveElements(!1),this.superFocusOnEachUpdate()},this.saveFileCard=(e,t)=>{this.uppy.setFileMeta(t,e),this.toggleFileCard(!1,t)},Object.defineProperty(this,re,{writable:!0,value:e=>{let t=this.uppy.getPlugin(e.id);return{...e,icon:t.icon||this.opts.defaultPickerIcon,render:t.render}}}),Object.defineProperty(this,rt,{writable:!0,value:e=>{let t=this.uppy.getPlugin(e.id);return"function"!=typeof t.isSupported||t.isSupported()}}),Object.defineProperty(this,rr,{writable:!0,value:t5(e=>e.filter(e=>"acquirer"===e.type&&t1(this,rt)[rt](e)).map(t1(this,re)[re]))}),Object.defineProperty(this,rn,{writable:!0,value:t5(e=>e.filter(e=>"progressindicator"===e.type).map(t1(this,re)[re]))}),Object.defineProperty(this,ri,{writable:!0,value:t5(e=>e.filter(e=>"editor"===e.type).map(t1(this,re)[re]))}),this.render=e=>{let t;let r=this.getPluginState(),{files:n,capabilities:i,allowNewUpload:a}=e,{newFiles:s,uploadStartedFiles:u,completeFiles:c,erroredFiles:d,inProgressFiles:h,inProgressNotPausedFiles:p,processingFiles:f,isUploadStarted:m,isAllComplete:g,isAllErrored:v,isAllPaused:y}=this.uppy.getObjectOfFilesPerState(),b=t1(this,rr)[rr](r.targets),w=t1(this,rn)[rn](r.targets),k=t1(this,ri)[ri](r.targets);return t="auto"===this.opts.theme?i.darkMode?"dark":"light":this.opts.theme,0>["files","folders","both"].indexOf(this.opts.fileManagerSelectionType)&&(this.opts.fileManagerSelectionType="files",console.warn(`Unsupported option for "fileManagerSelectionType". Using default of "${this.opts.fileManagerSelectionType}".`)),function(e){let t=0===e.totalFileCount,r=1===e.totalFileCount,n=e.containerWidth>576,i=l({"uppy-Dashboard":!0,"uppy-Dashboard--isDisabled":e.disabled,"uppy-Dashboard--animateOpenClose":e.animateOpenClose,"uppy-Dashboard--isClosing":e.isClosing,"uppy-Dashboard--isDraggingOver":e.isDraggingOver,"uppy-Dashboard--modal":!e.inline,"uppy-size--md":e.containerWidth>576,"uppy-size--lg":e.containerWidth>700,"uppy-size--xl":e.containerWidth>900,"uppy-size--height-md":e.containerHeight>400,"uppy-Dashboard--isAddFilesPanelVisible":e.showAddFilesPanel,"uppy-Dashboard--isInnerWrapVisible":e.areInsidesReadyToBeVisible,"uppy-Dashboard--singleFile":r}),a=1;e.containerWidth>900?a=5:e.containerWidth>700?a=4:e.containerWidth>576&&(a=3);let s=e.showSelectedFiles&&!t,u=e.recoveredState?Object.keys(e.recoveredState.files).length:null,c=e.files?Object.keys(e.files).filter(t=>e.files[t].isGhost).length:null;return(0,o.h)("div",{className:i,"data-uppy-theme":e.theme,"data-uppy-num-acquirers":e.acquirers.length,"data-uppy-drag-drop-supported":!e.disableLocalFiles&&tc(),"aria-hidden":e.inline?"false":e.isHidden,"aria-disabled":e.disabled,"aria-label":e.inline?e.i18n("dashboardTitle"):e.i18n("dashboardWindowTitle"),onPaste:e.handlePaste,onDragOver:e.handleDragOver,onDragLeave:e.handleDragLeave,onDrop:e.handleDrop},(0,o.h)("div",{"aria-hidden":"true",className:"uppy-Dashboard-overlay",tabIndex:-1,onClick:e.handleClickOutside}),(0,o.h)("div",{className:"uppy-Dashboard-inner","aria-modal":!e.inline&&"true",role:!e.inline&&"dialog",style:{width:e.inline&&e.width?e.width:"",height:e.inline&&e.height?e.height:""}},e.inline?null:(0,o.h)("button",{className:"uppy-u-reset uppy-Dashboard-close",type:"button","aria-label":e.i18n("closeModal"),title:e.i18n("closeModal"),onClick:e.closeModal},(0,o.h)("span",{"aria-hidden":"true"},"\xd7")),(0,o.h)("div",{className:"uppy-Dashboard-innerWrap"},(0,o.h)("div",{className:"uppy-Dashboard-dropFilesHereHint"},e.i18n("dropHint")),s&&(0,o.h)(tZ,e),u&&(0,o.h)("div",{className:"uppy-Dashboard-serviceMsg"},(0,o.h)("svg",{className:"uppy-Dashboard-serviceMsg-icon","aria-hidden":"true",focusable:"false",width:"21",height:"16",viewBox:"0 0 24 19"},(0,o.h)("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},(0,o.h)("path",{d:"M12.857 1.43l10.234 17.056A1 1 0 0122.234 20H1.766a1 1 0 01-.857-1.514L11.143 1.429a1 1 0 011.714 0z",fill:"#FFD300"}),(0,o.h)("path",{fill:"#000",d:"M11 6h2l-.3 8h-1.4z"}),(0,o.h)("circle",{fill:"#000",cx:"12",cy:"17",r:"1"}))),(0,o.h)("strong",{className:"uppy-Dashboard-serviceMsg-title"},e.i18n("sessionRestored")),(0,o.h)("div",{className:"uppy-Dashboard-serviceMsg-text"},c>0?e.i18n("recoveredXFiles",{smart_count:c}):e.i18n("recoveredAllFiles"))),s?(0,o.h)(tU,tQ({},e,{singleFile:r,itemsPerRow:a})):(0,o.h)(tq,tQ({},e,{isSizeMD:n})),(0,o.h)(tX,null,e.showAddFilesPanel?(0,o.h)(t$,tQ({key:"AddFiles"},e,{isSizeMD:n})):null),(0,o.h)(tX,null,e.fileCardFor?(0,o.h)(tK,tQ({key:"FileCard"},e)):null),(0,o.h)(tX,null,e.activePickerPanel?(0,o.h)(tV,tQ({key:"Picker"},e)):null),(0,o.h)(tX,null,e.showFileEditor?(0,o.h)(tW,tQ({key:"Editor"},e)):null),(0,o.h)("div",{className:"uppy-Dashboard-progressindicators"},e.progressindicators.map(t=>e.uppy.getPlugin(t.id).render(e.state))))))}({state:e,isHidden:r.isHidden,files:n,newFiles:s,uploadStartedFiles:u,completeFiles:c,erroredFiles:d,inProgressFiles:h,inProgressNotPausedFiles:p,processingFiles:f,isUploadStarted:m,isAllComplete:g,isAllErrored:v,isAllPaused:y,totalFileCount:Object.keys(n).length,totalProgress:e.totalProgress,allowNewUpload:a,acquirers:b,theme:t,disabled:this.opts.disabled,disableLocalFiles:this.opts.disableLocalFiles,direction:this.opts.direction,activePickerPanel:r.activePickerPanel,showFileEditor:r.showFileEditor,saveFileEditor:this.saveFileEditor,disableInteractiveElements:this.disableInteractiveElements,animateOpenClose:this.opts.animateOpenClose,isClosing:r.isClosing,progressindicators:w,editors:k,autoProceed:this.uppy.opts.autoProceed,id:this.id,closeModal:this.requestCloseModal,handleClickOutside:this.handleClickOutside,handleInputChange:this.handleInputChange,handlePaste:this.handlePaste,inline:this.opts.inline,showPanel:this.showPanel,hideAllPanels:this.hideAllPanels,i18n:this.i18n,i18nArray:this.i18nArray,uppy:this.uppy,note:this.opts.note,recoveredState:e.recoveredState,metaFields:r.metaFields,resumableUploads:i.resumableUploads||!1,individualCancellation:i.individualCancellation,isMobileDevice:i.isMobileDevice,fileCardFor:r.fileCardFor,toggleFileCard:this.toggleFileCard,toggleAddFilesPanel:this.toggleAddFilesPanel,showAddFilesPanel:r.showAddFilesPanel,saveFileCard:this.saveFileCard,openFileEditor:this.openFileEditor,canEditFile:this.canEditFile,width:this.opts.width,height:this.opts.height,showLinkToFileUploadResult:this.opts.showLinkToFileUploadResult,fileManagerSelectionType:this.opts.fileManagerSelectionType,proudlyDisplayPoweredByUppy:this.opts.proudlyDisplayPoweredByUppy,hideCancelButton:this.opts.hideCancelButton,hideRetryButton:this.opts.hideRetryButton,hidePauseResumeButton:this.opts.hidePauseResumeButton,showRemoveButtonAfterComplete:this.opts.showRemoveButtonAfterComplete,containerWidth:r.containerWidth,containerHeight:r.containerHeight,areInsidesReadyToBeVisible:r.areInsidesReadyToBeVisible,isTargetDOMEl:this.isTargetDOMEl,parentElement:this.el,allowedFileTypes:this.uppy.opts.restrictions.allowedFileTypes,maxNumberOfFiles:this.uppy.opts.restrictions.maxNumberOfFiles,requiredMetaFields:this.uppy.opts.restrictions.requiredMetaFields,showSelectedFiles:this.opts.showSelectedFiles,showNativePhotoCameraButton:this.opts.showNativePhotoCameraButton,showNativeVideoCameraButton:this.opts.showNativeVideoCameraButton,nativeCameraFacingMode:this.opts.nativeCameraFacingMode,handleCancelRestore:this.handleCancelRestore,handleRequestThumbnail:this.handleRequestThumbnail,handleCancelThumbnail:this.handleCancelThumbnail,isDraggingOver:r.isDraggingOver,handleDragOver:this.handleDragOver,handleDragLeave:this.handleDragLeave,handleDrop:this.handleDrop})},this.discoverProviderPlugins=()=>{this.uppy.iteratePlugins(e=>{e&&!e.target&&e.opts&&e.opts.target===this.constructor&&this.addTarget(e)})},this.install=()=>{this.setPluginState({isHidden:!0,fileCardFor:null,activeOverlayType:null,showAddFilesPanel:!1,activePickerPanel:!1,showFileEditor:!1,metaFields:this.opts.metaFields,targets:[],areInsidesReadyToBeVisible:!1,isDraggingOver:!1});let{inline:e,closeAfterFinish:t}=this.opts;if(e&&t)throw Error("[Dashboard] `closeAfterFinish: true` cannot be used on an inline Dashboard, because an inline Dashboard cannot be closed at all. Either set `inline: false`, or disable the `closeAfterFinish` option.");let{allowMultipleUploads:r,allowMultipleUploadBatches:n}=this.uppy.opts;(r||n)&&t&&this.uppy.log("[Dashboard] When using `closeAfterFinish`, we recommended setting the `allowMultipleUploadBatches` option to `false` in the Uppy constructor. See https://uppy.io/docs/uppy/#allowMultipleUploads-true","warning");let{target:i}=this.opts;i&&this.mount(i,this),(this.opts.plugins||[]).forEach(e=>{let t=this.uppy.getPlugin(e);t&&t.mount(this,t)}),this.opts.disableStatusBar||this.uppy.use(F,{id:`${this.id}:StatusBar`,target:this,hideUploadButton:this.opts.hideUploadButton,hideRetryButton:this.opts.hideRetryButton,hidePauseResumeButton:this.opts.hidePauseResumeButton,hideCancelButton:this.opts.hideCancelButton,showProgressDetails:this.opts.showProgressDetails,hideAfterFinish:this.opts.hideProgressAfterFinish,locale:this.opts.locale,doneButtonHandler:this.opts.doneButtonHandler}),this.opts.disableInformer||this.uppy.use(B,{id:`${this.id}:Informer`,target:this}),this.opts.disableThumbnailGenerator||this.uppy.use(e5,{id:`${this.id}:ThumbnailGenerator`,thumbnailWidth:this.opts.thumbnailWidth,thumbnailHeight:this.opts.thumbnailHeight,thumbnailType:this.opts.thumbnailType,waitForThumbnailsBeforeUpload:this.opts.waitForThumbnailsBeforeUpload,lazy:!this.opts.waitForThumbnailsBeforeUpload}),this.darkModeMediaQuery="undefined"!=typeof window&&window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null;let o=!!this.darkModeMediaQuery&&this.darkModeMediaQuery.matches;this.uppy.log(`[Dashboard] Dark mode is ${o?"on":"off"}`),this.setDarkModeCapability(o),"auto"===this.opts.theme&&this.darkModeMediaQuery.addListener(this.handleSystemDarkModeChange),this.discoverProviderPlugins(),this.initEvents()},this.uninstall=()=>{if(!this.opts.disableInformer){let e=this.uppy.getPlugin(`${this.id}:Informer`);e&&this.uppy.removePlugin(e)}if(!this.opts.disableStatusBar){let e=this.uppy.getPlugin(`${this.id}:StatusBar`);e&&this.uppy.removePlugin(e)}if(!this.opts.disableThumbnailGenerator){let e=this.uppy.getPlugin(`${this.id}:ThumbnailGenerator`);e&&this.uppy.removePlugin(e)}(this.opts.plugins||[]).forEach(e=>{let t=this.uppy.getPlugin(e);t&&t.unmount()}),"auto"===this.opts.theme&&this.darkModeMediaQuery.removeListener(this.handleSystemDarkModeChange),this.unmount(),this.removeEvents()},this.id=this.opts.id||"Dashboard",this.title="Dashboard",this.type="orchestrator",this.modalName=`uppy-Dashboard-${tt()}`,this.defaultLocale=t0,this.opts={target:"body",metaFields:[],trigger:null,inline:!1,width:750,height:550,thumbnailWidth:280,thumbnailType:"image/jpeg",waitForThumbnailsBeforeUpload:!1,defaultPickerIcon:t6,showLinkToFileUploadResult:!1,showProgressDetails:!1,hideUploadButton:!1,hideCancelButton:!1,hideRetryButton:!1,hidePauseResumeButton:!1,hideProgressAfterFinish:!1,doneButtonHandler:()=>{this.uppy.cancelAll(),this.requestCloseModal()},note:null,closeModalOnClickOutside:!1,closeAfterFinish:!1,disableStatusBar:!1,disableInformer:!1,disableThumbnailGenerator:!1,disablePageScrollWhenModalOpen:!0,animateOpenClose:!0,fileManagerSelectionType:"files",proudlyDisplayPoweredByUppy:!0,onRequestCloseModal:()=>this.closeModal(),showSelectedFiles:!0,showRemoveButtonAfterComplete:!1,browserBackButtonClose:!1,showNativePhotoCameraButton:!1,showNativeVideoCameraButton:!1,theme:"light",autoOpenFileEditor:!1,disabled:!1,disableLocalFiles:!1,...t},this.i18nInit(),this.superFocus=(n=!1,tl((e,t)=>{let r=ta(e,t),i=r.contains(document.activeElement);if(i&&n)return;let o=r.querySelector("[data-uppy-super-focusable]");if(!i||o){if(o)o.focus({preventScroll:!0}),n=!0;else{let e=r.querySelector(to);null==e||e.focus({preventScroll:!0}),n=!1}}},260)),this.ifFocusedOnUppyRecently=!1,this.makeDashboardInsidesVisibleAnywayTimeout=null,this.removeDragOverClassTimeout=null}}ro.VERSION="3.2.2";var ra=r(13980);let rs=ra.instanceOf(a.hS),ru=ra.arrayOf(ra.string),rl=ra.shape({strings:ra.object,pluralize:ra.func}),rc=ra.shape({id:ra.string.isRequired,name:ra.string.isRequired,placeholder:ra.string}),rd=ra.oneOfType([ra.arrayOf(rc),ra.func]),rh=ra.oneOfType([ra.string,ra.number]),rp={uppy:rs,inline:ra.bool,plugins:ru,width:rh,height:rh,showProgressDetails:ra.bool,hideUploadButton:ra.bool,hideProgressAfterFinish:ra.bool,note:ra.string,metaFields:rd,proudlyDisplayPoweredByUppy:ra.bool,disableStatusBar:ra.bool,disableInformer:ra.bool,disableThumbnailGenerator:ra.bool,thumbnailWidth:ra.number,locale:rl},rf=["defaultChecked","defaultValue","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML","accessKey","className","contentEditable","contextMenu","dir","draggable","hidden","id","lang","placeholder","slot","spellCheck","style","tabIndex","title","translate","radioGroup","role","about","datatype","inlist","prefix","property","resource","typeof","vocab","autoCapitalize","autoCorrect","autoSave","color","itemProp","itemScope","itemType","itemID","itemRef","results","security","unselectable","inputMode","is","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],rm=/^(aria-|data-)/;var rg=e=>Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return rm.test(t)||rf.includes(t)}));function rv(e,t){return Object.keys(e).some(r=>!Object.hasOwn(e,r)&&e[r]!==t[r])}class ry extends i.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){if(e.uppy!==this.props.uppy)this.uninstallPlugin(e),this.installPlugin();else if(rv(this.props,e)){let e={...this.props,target:this.container};delete e.uppy,this.plugin.setOptions(e)}}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){let{uppy:e}=this.props,t={id:"react:Dashboard",...this.props,target:this.container};delete t.uppy,e.use(ro,t),this.plugin=e.getPlugin(t.id)}uninstallPlugin(e){void 0===e&&(e=this.props);let{uppy:t}=e;t.removePlugin(this.plugin)}render(){return(0,i.createElement)("div",{className:"uppy-Container",ref:e=>{this.container=e},...rg(this.props)})}}ry.propTypes=rp,ry.defaultProps={inline:!0};class rb extends i.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){let{uppy:t,open:r,onRequestClose:n}=this.props;if(e.uppy!==t)this.uninstallPlugin(e),this.installPlugin();else if(rv(this.props,e)){let e={...this.props,onRequestCloseModal:n};delete e.uppy,this.plugin.setOptions(e)}e.open&&!r?this.plugin.closeModal():!e.open&&r&&this.plugin.openModal()}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){let{uppy:e,target:t,open:r,onRequestClose:n,closeModalOnClickOutside:i,disablePageScrollWhenModalOpen:o,inline:a,plugins:s,width:u,height:l,showProgressDetails:c,note:d,metaFields:h,proudlyDisplayPoweredByUppy:p,autoOpenFileEditor:f,animateOpenClose:m,browserBackButtonClose:g,closeAfterFinish:v,disableStatusBar:y,disableInformer:b,disableThumbnailGenerator:w,disableLocalFiles:k,disabled:x,hideCancelButton:_,hidePauseResumeButton:S,hideProgressAfterFinish:E,hideRetryButton:D,hideUploadButton:C,showLinkToFileUploadResult:j,showRemoveButtonAfterComplete:O,showSelectedFiles:T,waitForThumbnailsBeforeUpload:A,fileManagerSelectionType:P,theme:R,thumbnailType:M,thumbnailWidth:F,locale:N}=this.props,I={id:"react:DashboardModal",target:t,closeModalOnClickOutside:i,disablePageScrollWhenModalOpen:o,inline:a,plugins:s,width:u,height:l,showProgressDetails:c,note:d,metaFields:h,proudlyDisplayPoweredByUppy:p,autoOpenFileEditor:f,animateOpenClose:m,browserBackButtonClose:g,closeAfterFinish:v,disableStatusBar:y,disableInformer:b,disableThumbnailGenerator:w,disableLocalFiles:k,disabled:x,hideCancelButton:_,hidePauseResumeButton:S,hideProgressAfterFinish:E,hideRetryButton:D,hideUploadButton:C,showLinkToFileUploadResult:j,showRemoveButtonAfterComplete:O,showSelectedFiles:T,waitForThumbnailsBeforeUpload:A,fileManagerSelectionType:P,theme:R,thumbnailType:M,thumbnailWidth:F,locale:N,onRequestCloseModal:n};I.target||(I.target=this.container),delete I.uppy,e.use(ro,I),this.plugin=e.getPlugin(I.id),r&&this.plugin.openModal()}uninstallPlugin(e){void 0===e&&(e=this.props);let{uppy:t}=e;t.removePlugin(this.plugin)}render(){return(0,i.createElement)("div",{className:"uppy-Container",ref:e=>{this.container=e},...rg(this.props)})}}rb.propTypes={uppy:rs.isRequired,target:"undefined"!=typeof window?ra.instanceOf(window.HTMLElement):ra.any,open:ra.bool,onRequestClose:ra.func,closeModalOnClickOutside:ra.bool,disablePageScrollWhenModalOpen:ra.bool,inline:ra.bool,plugins:ru,width:rh,height:rh,showProgressDetails:ra.bool,note:ra.string,metaFields:rd,proudlyDisplayPoweredByUppy:ra.bool,autoOpenFileEditor:ra.bool,animateOpenClose:ra.bool,browserBackButtonClose:ra.bool,closeAfterFinish:ra.bool,disableStatusBar:ra.bool,disableInformer:ra.bool,disableThumbnailGenerator:ra.bool,disableLocalFiles:ra.bool,disabled:ra.bool,hideCancelButton:ra.bool,hidePauseResumeButton:ra.bool,hideProgressAfterFinish:ra.bool,hideRetryButton:ra.bool,hideUploadButton:ra.bool,showLinkToFileUploadResult:ra.bool,showRemoveButtonAfterComplete:ra.bool,showSelectedFiles:ra.bool,waitForThumbnailsBeforeUpload:ra.bool,fileManagerSelectionType:ra.string,theme:ra.string,thumbnailType:ra.string,thumbnailWidth:ra.number,locale:rl},rb.defaultProps={metaFields:[],plugins:[],inline:!1,width:750,height:550,thumbnailWidth:280,thumbnailType:"image/jpeg",waitForThumbnailsBeforeUpload:!1,showLinkToFileUploadResult:!1,showProgressDetails:!1,hideUploadButton:!1,hideCancelButton:!1,hideRetryButton:!1,hidePauseResumeButton:!1,hideProgressAfterFinish:!1,note:null,closeModalOnClickOutside:!1,closeAfterFinish:!1,disableStatusBar:!1,disableInformer:!1,disableThumbnailGenerator:!1,disablePageScrollWhenModalOpen:!0,animateOpenClose:!0,fileManagerSelectionType:"files",proudlyDisplayPoweredByUppy:!0,showSelectedFiles:!0,showRemoveButtonAfterComplete:!1,browserBackButtonClose:!1,theme:"light",autoOpenFileEditor:!1,disabled:!1,disableLocalFiles:!1,open:void 0,target:void 0,locale:null,onRequestClose:void 0};var rw={strings:{dropHereOr:"Drop here or %{browse}",browse:"browse"}};class rk extends a.di{constructor(e,t){super(e,t),this.handleDrop=async e=>{var t,r;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!1});let n=await te(e.dataTransfer,{logDropError:e=>{this.uppy.log(e,"error")}});n.length>0&&(this.uppy.log("[DragDrop] Files dropped"),this.addFiles(n)),null==(t=(r=this.opts).onDrop)||t.call(r,e)},this.type="acquirer",this.id=this.opts.id||"DragDrop",this.title="Drag & Drop",this.defaultLocale=rw,this.opts={target:null,inputName:"files[]",width:"100%",height:"100%",note:null,...t},this.i18nInit(),this.isDragDropSupported=tc(),this.removeDragOverClassTimeout=null,this.onInputChange=this.onInputChange.bind(this),this.handleDragOver=this.handleDragOver.bind(this),this.handleDragLeave=this.handleDragLeave.bind(this),this.handleDrop=this.handleDrop.bind(this),this.addFiles=this.addFiles.bind(this),this.render=this.render.bind(this)}addFiles(e){let t=e.map(e=>({source:this.id,name:e.name,type:e.type,data:e,meta:{relativePath:e.relativePath||null}}));try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}}onInputChange(e){let t=(0,e8.Z)(e.target.files);t.length>0&&(this.uppy.log("[DragDrop] Files selected through input"),this.addFiles(t)),e.target.value=null}handleDragOver(e){var t,r;e.preventDefault(),e.stopPropagation();let{types:n}=e.dataTransfer,i=n.some(e=>"Files"===e),{allowNewUpload:o}=this.uppy.getState();if(!i||!o){e.dataTransfer.dropEffect="none",clearTimeout(this.removeDragOverClassTimeout);return}e.dataTransfer.dropEffect="copy",clearTimeout(this.removeDragOverClassTimeout),this.setPluginState({isDraggingOver:!0}),null==(t=(r=this.opts).onDragOver)||t.call(r,e)}handleDragLeave(e){var t,r;e.preventDefault(),e.stopPropagation(),clearTimeout(this.removeDragOverClassTimeout),this.removeDragOverClassTimeout=setTimeout(()=>{this.setPluginState({isDraggingOver:!1})},50),null==(t=(r=this.opts).onDragLeave)||t.call(r,e)}renderHiddenFileInput(){let{restrictions:e}=this.uppy.opts;return(0,o.h)("input",{className:"uppy-DragDrop-input",type:"file",hidden:!0,ref:e=>{this.fileInputRef=e},name:this.opts.inputName,multiple:1!==e.maxNumberOfFiles,accept:e.allowedFileTypes,onChange:this.onInputChange})}static renderArrowSvg(){return(0,o.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-DragDrop-arrow",width:"16",height:"16",viewBox:"0 0 16 16"},(0,o.h)("path",{d:"M11 10V0H5v10H2l6 6 6-6h-3zm0 0",fillRule:"evenodd"}))}renderLabel(){return(0,o.h)("div",{className:"uppy-DragDrop-label"},this.i18nArray("dropHereOr",{browse:(0,o.h)("span",{className:"uppy-DragDrop-browse"},this.i18n("browse"))}))}renderNote(){return(0,o.h)("span",{className:"uppy-DragDrop-note"},this.opts.note)}render(){let e=`uppy-u-reset
      uppy-DragDrop-container
      ${this.isDragDropSupported?"uppy-DragDrop--isDragDropSupported":""}
      ${this.getPluginState().isDraggingOver?"uppy-DragDrop--isDraggingOver":""}
    `,t={width:this.opts.width,height:this.opts.height};return(0,o.h)("button",{type:"button",className:e,style:t,onClick:()=>this.fileInputRef.click(),onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},this.renderHiddenFileInput(),(0,o.h)("div",{className:"uppy-DragDrop-inner"},rk.renderArrowSvg(),this.renderLabel(),this.renderNote()))}install(){let{target:e}=this.opts;this.setPluginState({isDraggingOver:!1}),e&&this.mount(e,this)}uninstall(){this.unmount()}}rk.VERSION="3.0.1";class rx extends i.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){if(e.uppy!==this.props.uppy)this.uninstallPlugin(e),this.installPlugin();else if(rv(this.props,e)){let e={...this.props,target:this.container};delete e.uppy,this.plugin.setOptions(e)}}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){let{uppy:e,locale:t,inputName:r,width:n,height:i,note:o}=this.props,a={id:"react:DragDrop",locale:t,inputName:r,width:n,height:i,note:o,target:this.container};delete a.uppy,e.use(rk,a),this.plugin=e.getPlugin(a.id)}uninstallPlugin(e){void 0===e&&(e=this.props);let{uppy:t}=e;t.removePlugin(this.plugin)}render(){return(0,i.createElement)("div",{className:"uppy-Container",ref:e=>{this.container=e},...rg(this.props)})}}rx.propTypes={uppy:rs.isRequired,locale:rl,inputName:ra.string,width:ra.string,height:ra.string,note:ra.string},rx.defaultProps={locale:null,inputName:"files[]",width:"100%",height:"100%",note:null};var r_=rx;class rS extends a.di{constructor(e,t){super(e,t),this.id=this.opts.id||"ProgressBar",this.title="Progress Bar",this.type="progressindicator",this.opts={target:"body",fixed:!1,hideAfterFinish:!0,...t},this.render=this.render.bind(this)}render(e){let t=e.totalProgress||0,r=(0===t||100===t)&&this.opts.hideAfterFinish;return(0,o.h)("div",{className:"uppy uppy-ProgressBar",style:{position:this.opts.fixed?"fixed":"initial"},"aria-hidden":r},(0,o.h)("div",{className:"uppy-ProgressBar-inner",style:{width:`${t}%`}}),(0,o.h)("div",{className:"uppy-ProgressBar-percentage"},t))}install(){let{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.unmount()}}rS.VERSION="3.0.1";class rE extends i.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){if(e.uppy!==this.props.uppy)this.uninstallPlugin(e),this.installPlugin();else if(rv(this.props,e)){let e={...this.props,target:this.container};delete e.uppy,this.plugin.setOptions(e)}}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){let{uppy:e,fixed:t,hideAfterFinish:r}=this.props,n={id:"react:ProgressBar",fixed:t,hideAfterFinish:r,target:this.container};delete n.uppy,e.use(rS,n),this.plugin=e.getPlugin(n.id)}uninstallPlugin(e){void 0===e&&(e=this.props);let{uppy:t}=e;t.removePlugin(this.plugin)}render(){return(0,i.createElement)("div",{className:"uppy-Container",ref:e=>{this.container=e},...rg(this.props)})}}rE.propTypes={uppy:rs.isRequired,fixed:ra.bool,hideAfterFinish:ra.bool},rE.defaultProps={fixed:!1,hideAfterFinish:!0};class rD extends i.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){if(e.uppy!==this.props.uppy)this.uninstallPlugin(e),this.installPlugin();else if(rv(this.props,e)){let e={...this.props,target:this.container};delete e.uppy,this.plugin.setOptions(e)}}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){let{uppy:e,hideUploadButton:t,hideRetryButton:r,hidePauseResumeButton:n,hideCancelButton:i,showProgressDetails:o,hideAfterFinish:a,doneButtonHandler:s}=this.props,u={id:"react:StatusBar",hideUploadButton:t,hideRetryButton:r,hidePauseResumeButton:n,hideCancelButton:i,showProgressDetails:o,hideAfterFinish:a,doneButtonHandler:s,target:this.container};delete u.uppy,e.use(F,u),this.plugin=e.getPlugin(u.id)}uninstallPlugin(e){void 0===e&&(e=this.props);let{uppy:t}=e;t.removePlugin(this.plugin)}render(){return(0,i.createElement)("div",{className:"uppy-Container",ref:e=>{this.container=e},...rg(this.props)})}}rD.propTypes={uppy:rs.isRequired,hideUploadButton:ra.bool,hideRetryButton:ra.bool,hidePauseResumeButton:ra.bool,hideCancelButton:ra.bool,showProgressDetails:ra.bool,hideAfterFinish:ra.bool,doneButtonHandler:ra.func},rD.defaultProps={hideUploadButton:!1,hideRetryButton:!1,hidePauseResumeButton:!1,hideCancelButton:!1,showProgressDetails:!1,hideAfterFinish:!0,doneButtonHandler:null};var rC={strings:{chooseFiles:"Choose files"}};class rj extends a.di{constructor(e,t){super(e,t),this.id=this.opts.id||"FileInput",this.title="File Input",this.type="acquirer",this.defaultLocale=rC,this.opts={target:null,pretty:!0,inputName:"files[]",...t},this.i18nInit(),this.render=this.render.bind(this),this.handleInputChange=this.handleInputChange.bind(this),this.handleClick=this.handleClick.bind(this)}addFiles(e){let t=e.map(e=>({source:this.id,name:e.name,type:e.type,data:e}));try{this.uppy.addFiles(t)}catch(e){this.uppy.log(e)}}handleInputChange(e){this.uppy.log("[FileInput] Something selected through input...");let t=(0,e8.Z)(e.target.files);this.addFiles(t),e.target.value=null}handleClick(){this.input.click()}render(){let{restrictions:e}=this.uppy.opts,t=e.allowedFileTypes?e.allowedFileTypes.join(","):null;return(0,o.h)("div",{className:"uppy-FileInput-container"},(0,o.h)("input",{className:"uppy-FileInput-input",style:this.opts.pretty&&{width:"0.1px",height:"0.1px",opacity:0,overflow:"hidden",position:"absolute",zIndex:-1},type:"file",name:this.opts.inputName,onChange:this.handleInputChange,multiple:1!==e.maxNumberOfFiles,accept:t,ref:e=>{this.input=e}}),this.opts.pretty&&(0,o.h)("button",{className:"uppy-FileInput-btn",type:"button",onClick:this.handleClick},this.i18n("chooseFiles")))}install(){let{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.unmount()}}rj.VERSION="3.0.1";class rO extends i.Component{componentDidMount(){this.installPlugin()}componentDidUpdate(e){e.uppy!==this.props.uppy&&(this.uninstallPlugin(e),this.installPlugin())}componentWillUnmount(){this.uninstallPlugin()}installPlugin(){let{uppy:e,locale:t,pretty:r,inputName:n}=this.props,i={id:"react:FileInput",locale:t,pretty:r,inputName:n,target:this.container};delete i.uppy,e.use(rj,i),this.plugin=e.getPlugin(i.id)}uninstallPlugin(e){void 0===e&&(e=this.props);let{uppy:t}=e;t.removePlugin(this.plugin)}render(){return(0,i.createElement)("div",{className:"uppy-Container",ref:e=>{this.container=e}})}}rO.propTypes={uppy:rs.isRequired,locale:rl,pretty:ra.bool,inputName:ra.string},rO.defaultProps={locale:void 0,pretty:!0,inputName:"files[]"}},48484:function(e,t,r){"use strict";let n;r.d(t,{Zm:function(){return nh},ZP:function(){return nN}});var i,o,a={};r.r(a),r.d(a,{Decoder:function(){return rn},Encoder:function(){return rr},PacketType:function(){return o},protocol:function(){return rt}});var s=r(26204),u=r(75386);function l(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var c=0;function d(e){return"__private_"+c+++"_"+e}function h(e){if(null!=e){let t=()=>this.abort(e.reason);e.addEventListener("abort",t,{once:!0});let r=()=>{e.removeEventListener("abort",t)};this.then(r,r)}return this}var p=d("activeRequests"),f=d("queuedHandlers"),m=d("paused"),g=d("pauseTimer"),v=d("downLimit"),y=d("upperLimit"),b=d("rateLimitingTimer"),w=d("call"),k=d("queueNext"),x=d("next"),_=d("queue"),S=d("dequeue"),E=d("resume"),D=d("increaseLimit");class C{constructor(e){Object.defineProperty(this,S,{value:P}),Object.defineProperty(this,_,{value:A}),Object.defineProperty(this,x,{value:T}),Object.defineProperty(this,k,{value:O}),Object.defineProperty(this,w,{value:j}),Object.defineProperty(this,p,{writable:!0,value:0}),Object.defineProperty(this,f,{writable:!0,value:[]}),Object.defineProperty(this,m,{writable:!0,value:!1}),Object.defineProperty(this,g,{writable:!0,value:void 0}),Object.defineProperty(this,v,{writable:!0,value:1}),Object.defineProperty(this,y,{writable:!0,value:void 0}),Object.defineProperty(this,b,{writable:!0,value:void 0}),Object.defineProperty(this,E,{writable:!0,value:()=>this.resume()}),Object.defineProperty(this,D,{writable:!0,value:()=>{if(l(this,m)[m]){l(this,b)[b]=setTimeout(l(this,D)[D],0);return}l(this,v)[v]=this.limit,this.limit=Math.ceil((l(this,y)[y]+l(this,v)[v])/2);for(let e=l(this,v)[v];e<=this.limit;e++)l(this,k)[k]();l(this,y)[y]-l(this,v)[v]>3?l(this,b)[b]=setTimeout(l(this,D)[D],2e3):l(this,v)[v]=Math.floor(l(this,v)[v]/2)}}),"number"!=typeof e||0===e?this.limit=1/0:this.limit=e}run(e,t){return!l(this,m)[m]&&l(this,p)[p]<this.limit?l(this,w)[w](e):l(this,_)[_](e,t)}wrapPromiseFunction(e,t){var r=this;return function(){let n;for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];let s=new Promise((i,a)=>{n=r.run(()=>{let t,r;try{r=Promise.resolve(e(...o))}catch(e){r=Promise.reject(e)}return r.then(e=>{t?a(t):(n.done(),i(e))},e=>{t?a(t):(n.done(),a(e))}),e=>{t=Error("Cancelled",{cause:e})}},t)});return s.abort=e=>{n.abort(e)},s.abortOn=h,s}}resume(){l(this,m)[m]=!1,clearTimeout(l(this,g)[g]);for(let e=0;e<this.limit;e++)l(this,k)[k]()}pause(e){void 0===e&&(e=null),l(this,m)[m]=!0,clearTimeout(l(this,g)[g]),null!=e&&(l(this,g)[g]=setTimeout(l(this,E)[E],e))}rateLimit(e){clearTimeout(l(this,b)[b]),this.pause(e),this.limit>1&&Number.isFinite(this.limit)&&(l(this,y)[y]=this.limit-1,this.limit=l(this,v)[v],l(this,b)[b]=setTimeout(l(this,D)[D],e))}get isPaused(){return l(this,m)[m]}}function j(e){let t;l(this,p)[p]+=1;let r=!1;try{t=e()}catch(e){throw l(this,p)[p]-=1,e}return{abort:e=>{r||(r=!0,l(this,p)[p]-=1,t(e),l(this,k)[k]())},done:()=>{r||(r=!0,l(this,p)[p]-=1,l(this,k)[k]())}}}function O(){queueMicrotask(()=>l(this,x)[x]())}function T(){if(l(this,m)[m]||l(this,p)[p]>=this.limit||0===l(this,f)[f].length)return;let e=l(this,f)[f].shift(),t=l(this,w)[w](e.fn);e.abort=t.abort,e.done=t.done}function A(e,t){void 0===t&&(t={});let r={fn:e,priority:t.priority||0,abort:()=>{l(this,S)[S](r)},done:()=>{throw Error("Cannot mark a queued request as done: this indicates a bug")}},n=l(this,f)[f].findIndex(e=>r.priority>e.priority);return -1===n?l(this,f)[f].push(r):l(this,f)[f].splice(n,0,r),r}function P(e){let t=l(this,f)[f].indexOf(e);-1!==t&&l(this,f)[f].splice(t,1)}Symbol("__queue");var R=r(60587),M=r(48834).lW;let F="function"==typeof atob,N="function"==typeof btoa,I="function"==typeof M,L="function"==typeof TextDecoder?new TextDecoder:void 0,B="function"==typeof TextEncoder?new TextEncoder:void 0,z=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),U=(n={},z.forEach((e,t)=>n[e]=t),n),q=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,$=String.fromCharCode.bind(String),H="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),V=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),W=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),G=N?e=>btoa(e):I?e=>M.from(e,"binary").toString("base64"):e=>{let t,r,n,i,o="",a=e.length%3;for(let a=0;a<e.length;){if((r=e.charCodeAt(a++))>255||(n=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>255)throw TypeError("invalid character found");o+=z[(t=r<<16|n<<8|i)>>18&63]+z[t>>12&63]+z[t>>6&63]+z[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},Y=I?e=>M.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push($.apply(null,e.subarray(r,r+4096)));return G(t.join(""))},Z=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?$(192|t>>>6)+$(128|63&t):$(224|t>>>12&15)+$(128|t>>>6&63)+$(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return $(240|t>>>18&7)+$(128|t>>>12&63)+$(128|t>>>6&63)+$(128|63&t)},K=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,J=e=>e.replace(K,Z),X=I?e=>M.from(e,"utf8").toString("base64"):B?e=>Y(B.encode(e)):e=>G(J(e)),Q=(e,t=!1)=>t?V(X(e)):X(e),ee=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,et=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return $((t>>>10)+55296)+$((1023&t)+56320);case 3:return $((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return $((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},er=e=>e.replace(ee,et),en=F?e=>atob(W(e)):I?e=>M.from(e,"base64").toString("binary"):e=>{if(e=e.replace(/\s+/g,""),!q.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r="",n,i;for(let o=0;o<e.length;)t=U[e.charAt(o++)]<<18|U[e.charAt(o++)]<<12|(n=U[e.charAt(o++)])<<6|(i=U[e.charAt(o++)]),r+=64===n?$(t>>16&255):64===i?$(t>>16&255,t>>8&255):$(t>>16&255,t>>8&255,255&t);return r},ei=I?e=>H(M.from(e,"base64")):e=>H(en(e).split("").map(e=>e.charCodeAt(0))),eo=I?e=>M.from(e,"base64").toString("utf8"):L?e=>L.decode(ei(e)):e=>er(en(e)),ea=e=>W(e.replace(/[-_]/g,e=>"-"==e?"+":"/"));var es=r(64846),eu=r.n(es);function el(e){return(el="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})(e)}function ec(e){var t="function"==typeof Map?new Map:void 0;return(ec=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return ed(e,arguments,ef(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ep(r,e)})(e)}function ed(e,t,r){return(ed=eh()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&ep(i,r.prototype),i}).apply(null,arguments)}function eh(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ep(e,t){return(ep=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ef(e){return(ef=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var em=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw 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&&ep(e,t)}(n,e);var t,r=(t=eh(),function(){var e,r=ef(n);return e=t?Reflect.construct(r,arguments,ef(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===el(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function n(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),(t=r.call(this,e)).originalRequest=o,t.originalResponse=a,t.causingError=i,null!=i&&(e+=", caused by ".concat(i.toString())),null!=o){var s=o.getHeader("X-Request-ID")||"n/a",u=o.getMethod(),l=o.getURL(),c=a?a.getStatus():"n/a",d=a?a.getBody()||"":"n/a";e+=", originated from request (method: ".concat(u,", url: ").concat(l,", response code: ").concat(c,", response text: ").concat(d,", request id: ").concat(s,")")}return t.message=e,t}return Object.defineProperty(n,"prototype",{writable:!1}),n}(ec(Error));function eg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ev(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ev(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ev(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ey(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ey(Object(r),!0).forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ey(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ew(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var ek=function(){var e,t;function r(e,t){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),"resume"in t&&console.log("tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead."),this.options=t,this.options.chunkSize=Number(this.options.chunkSize),this._urlStorage=this.options.urlStorage,this.file=e,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}return e=[{key:"findPreviousUploads",value:function(){var e=this;return this.options.fingerprint(this.file,this.options).then(function(t){return e._urlStorage.findUploadsByFingerprint(t)})}},{key:"resumeFromPreviousUpload",value:function(e){this.url=e.uploadUrl||null,this._parallelUploadUrls=e.parallelUploadUrls||null,this._urlStorageKey=e.urlStorageKey}},{key:"start",value:function(){var e=this,t=this.file;if(!t){this._emitError(Error("tus: no file or stream to upload provided"));return}if(!this.options.endpoint&&!this.options.uploadUrl&&!this.url){this._emitError(Error("tus: neither an endpoint or an upload URL is provided"));return}var r=this.options.retryDelays;if(null!=r&&"[object Array]"!==Object.prototype.toString.call(r)){this._emitError(Error("tus: the `retryDelays` option must either be an array or null"));return}if(this.options.parallelUploads>1)for(var n=0,i=["uploadUrl","uploadSize","uploadLengthDeferred"];n<i.length;n++){var o=i[n];if(this.options[o]){this._emitError(Error("tus: cannot use the ".concat(o," option when parallelUploads is enabled")));return}}if(this.options.parallelUploadBoundaries){if(this.options.parallelUploads<=1){this._emitError(Error("tus: cannot use the `parallelUploadBoundaries` option when `parallelUploads` is disabled"));return}if(this.options.parallelUploads!==this.options.parallelUploadBoundaries.length){this._emitError(Error("tus: the `parallelUploadBoundaries` must have the same length as the value of `parallelUploads`"));return}}this.options.fingerprint(t,this.options).then(function(r){return(e._fingerprint=r,e._source)?e._source:e.options.fileReader.openFile(t,e.options.chunkSize)}).then(function(t){if(e._source=t,e.options.uploadLengthDeferred)e._size=null;else if(null!=e.options.uploadSize){if(e._size=Number(e.options.uploadSize),Number.isNaN(e._size)){e._emitError(Error("tus: cannot convert `uploadSize` option into a number"));return}}else if(e._size=e._source.size,null==e._size){e._emitError(Error("tus: cannot automatically derive upload's size from input. Specify it manually using the `uploadSize` option or use the `uploadLengthDeferred` option"));return}e.options.parallelUploads>1||null!=e._parallelUploadUrls?e._startParallelUpload():e._startSingleUpload()}).catch(function(t){e._emitError(t)})}},{key:"_startParallelUpload",value:function(){var e,t,n=this,i=this._size,o=0;this._parallelUploads=[];var a=null!=this._parallelUploadUrls?this._parallelUploadUrls.length:this.options.parallelUploads,s=null!==(t=this.options.parallelUploadBoundaries)&&void 0!==t?t:function(e,t){for(var r=Math.floor(e/t),n=[],i=0;i<t;i++)n.push({start:r*i,end:r*(i+1)});return n[t-1].end=e,n}(this._source.size,a);this._parallelUploadUrls&&s.forEach(function(e,t){e.uploadUrl=n._parallelUploadUrls[t]||null}),this._parallelUploadUrls=Array(s.length),Promise.all(s.map(function(e,t){var a=0;return n._source.slice(e.start,e.end).then(function(u){var l=u.value;return new Promise(function(u,c){var d=new r(l,eb(eb({},n.options),{},{uploadUrl:e.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:{},headers:eb(eb({},n.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:u,onError:c,onProgress:function(e){o=o-a+e,a=e,n._emitProgress(o,i)},onUploadUrlAvailable:function(){n._parallelUploadUrls[t]=d.url,n._parallelUploadUrls.filter(function(e){return!!e}).length===s.length&&n._saveUploadInUrlStorage()}}));d.start(),n._parallelUploads.push(d)})})})).then(function(){(e=n._openRequest("POST",n.options.endpoint)).setHeader("Upload-Concat","final;".concat(n._parallelUploadUrls.join(" ")));var t=ex(n.options.metadata);return""!==t&&e.setHeader("Upload-Metadata",t),n._sendRequest(e,null)}).then(function(t){if(!e_(t.getStatus(),200)){n._emitHttpError(e,t,"tus: unexpected response while creating upload");return}var r=t.getHeader("Location");if(null==r){n._emitHttpError(e,t,"tus: invalid or missing Location header");return}n.url=eC(n.options.endpoint,r),n.url,n._emitSuccess()}).catch(function(e){n._emitError(e)})}},{key:"_startSingleUpload",value:function(){if(this._aborted=!1,null!=this.url){this.url,this._resumeUpload();return}if(null!=this.options.uploadUrl){this.options.uploadUrl,this.url=this.options.uploadUrl,this._resumeUpload();return}this._createUpload()}},{key:"abort",value:function(e){var t=this;return(null!=this._parallelUploads&&this._parallelUploads.forEach(function(t){t.abort(e)}),null!==this._req&&this._req.abort(),this._aborted=!0,null!=this._retryTimeout&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),e&&null!=this.url)?r.terminate(this.url,this.options).then(function(){return t._removeFromUrlStorage()}):Promise.resolve()}},{key:"_emitHttpError",value:function(e,t,r,n){this._emitError(new em(r,n,e,t))}},{key:"_emitError",value:function(e){var t=this;if(!this._aborted){if(null!=this.options.retryDelays&&(null!=this._offset&&this._offset>this._offsetBeforeRetry&&(this._retryAttempt=0),eD(e,this._retryAttempt,this.options))){var r=this.options.retryDelays[this._retryAttempt++];this._offsetBeforeRetry=this._offset,this._retryTimeout=setTimeout(function(){t.start()},r);return}if("function"==typeof this.options.onError)this.options.onError(e);else throw e}}},{key:"_emitSuccess",value:function(){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),"function"==typeof this.options.onSuccess&&this.options.onSuccess()}},{key:"_emitProgress",value:function(e,t){"function"==typeof this.options.onProgress&&this.options.onProgress(e,t)}},{key:"_emitChunkComplete",value:function(e,t,r){"function"==typeof this.options.onChunkComplete&&this.options.onChunkComplete(e,t,r)}},{key:"_createUpload",value:function(){var e,t=this;if(!this.options.endpoint){this._emitError(Error("tus: unable to create upload because no endpoint is provided"));return}var r=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?r.setHeader("Upload-Defer-Length",1):r.setHeader("Upload-Length",this._size);var n=ex(this.options.metadata);""!==n&&r.setHeader("Upload-Metadata",n),this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,e=this._addChunkToRequest(r)):e=this._sendRequest(r,null),e.then(function(e){if(!e_(e.getStatus(),200)){t._emitHttpError(r,e,"tus: unexpected response while creating upload");return}var n=e.getHeader("Location");if(null==n){t._emitHttpError(r,e,"tus: invalid or missing Location header");return}if(t.url=eC(t.options.endpoint,n),t.url,"function"==typeof t.options.onUploadUrlAvailable&&t.options.onUploadUrlAvailable(),0===t._size){t._emitSuccess(),t._source.close();return}t._saveUploadInUrlStorage().then(function(){t.options.uploadDataDuringCreation?t._handleUploadResponse(r,e):(t._offset=0,t._performUpload())})}).catch(function(e){t._emitHttpError(r,null,"tus: failed to create upload",e)})}},{key:"_resumeUpload",value:function(){var e=this,t=this._openRequest("HEAD",this.url);this._sendRequest(t,null).then(function(r){var n=r.getStatus();if(!e_(n,200)){if(423===n){e._emitHttpError(t,r,"tus: upload is currently locked; retry later");return}if(e_(n,400)&&e._removeFromUrlStorage(),!e.options.endpoint){e._emitHttpError(t,r,"tus: unable to resume upload (new upload cannot be created without an endpoint)");return}e.url=null,e._createUpload();return}var i=parseInt(r.getHeader("Upload-Offset"),10);if(Number.isNaN(i)){e._emitHttpError(t,r,"tus: invalid or missing offset value");return}var o=parseInt(r.getHeader("Upload-Length"),10);if(Number.isNaN(o)&&!e.options.uploadLengthDeferred){e._emitHttpError(t,r,"tus: invalid or missing length value");return}"function"==typeof e.options.onUploadUrlAvailable&&e.options.onUploadUrlAvailable(),e._saveUploadInUrlStorage().then(function(){if(i===o){e._emitProgress(o,o),e._emitSuccess();return}e._offset=i,e._performUpload()})}).catch(function(r){e._emitHttpError(t,null,"tus: failed to resume upload",r)})}},{key:"_performUpload",value:function(){var e,t=this;this._aborted||(this.options.overridePatchMethod?(e=this._openRequest("POST",this.url)).setHeader("X-HTTP-Method-Override","PATCH"):e=this._openRequest("PATCH",this.url),e.setHeader("Upload-Offset",this._offset),this._addChunkToRequest(e).then(function(r){if(!e_(r.getStatus(),200)){t._emitHttpError(e,r,"tus: unexpected response while uploading chunk");return}t._handleUploadResponse(e,r)}).catch(function(r){t._aborted||t._emitHttpError(e,null,"tus: failed to upload chunk at offset ".concat(t._offset),r)}))}},{key:"_addChunkToRequest",value:function(e){var t=this,r=this._offset,n=this._offset+this.options.chunkSize;return e.setProgressHandler(function(e){t._emitProgress(r+e,t._size)}),e.setHeader("Content-Type","application/offset+octet-stream"),(n===1/0||n>this._size)&&!this.options.uploadLengthDeferred&&(n=this._size),this._source.slice(r,n).then(function(r){var n=r.value,i=r.done;return(t.options.uploadLengthDeferred&&i&&(t._size=t._offset+(n&&n.size?n.size:0),e.setHeader("Upload-Length",t._size)),null===n)?t._sendRequest(e):(t._emitProgress(t._offset,t._size),t._sendRequest(e,n))})}},{key:"_handleUploadResponse",value:function(e,t){var r=parseInt(t.getHeader("Upload-Offset"),10);if(Number.isNaN(r)){this._emitHttpError(e,t,"tus: invalid or missing offset value");return}if(this._emitProgress(r,this._size),this._emitChunkComplete(r-this._offset,r,this._size),this._offset=r,r===this._size){this._emitSuccess(),this._source.close();return}this._performUpload()}},{key:"_openRequest",value:function(e,t){var r=eS(e,t,this.options);return this._req=r,r}},{key:"_removeFromUrlStorage",value:function(){var e=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(t){e._emitError(t)}),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var e=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||null!==this._urlStorageKey)return Promise.resolve();var t={size:this._size,metadata:this.options.metadata,creationTime:new Date().toString()};return this._parallelUploads?t.parallelUploadUrls=this._parallelUploadUrls:t.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,t).then(function(t){e._urlStorageKey=t})}},{key:"_sendRequest",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return eE(e,t,this.options)}}],t=[{key:"terminate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=eS("DELETE",e,t);return eE(n,null,t).then(function(e){if(204!==e.getStatus())throw new em("tus: unexpected response while terminating upload",null,n,e)}).catch(function(i){if(i instanceof em||(i=new em("tus: failed to terminate upload",i,n,null)),!eD(i,0,t))throw i;var o=t.retryDelays[0],a=t.retryDelays.slice(1),s=eb(eb({},t),{},{retryDelays:a});return new Promise(function(e){return setTimeout(e,o)}).then(function(){return r.terminate(e,s)})})}}],e&&ew(r.prototype,e),t&&ew(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();function ex(e){return Object.entries(e).map(function(e){var t=eg(e,2),r=t[0],n=t[1];return"".concat(r," ").concat(Q(String(n)))}).join(",")}function e_(e,t){return e>=t&&e<t+100}function eS(e,t,r){var n=r.httpStack.createRequest(e,t);if(n.setHeader("Tus-Resumable","1.0.0"),Object.entries(r.headers||{}).forEach(function(e){var t=eg(e,2),r=t[0],i=t[1];n.setHeader(r,i)}),r.addRequestId){var i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});n.setHeader("X-Request-ID",i)}return n}function eE(e,t,r){return("function"==typeof r.onBeforeRequest?Promise.resolve(r.onBeforeRequest(e)):Promise.resolve()).then(function(){return e.send(t).then(function(t){return("function"==typeof r.onAfterResponse?Promise.resolve(r.onAfterResponse(e,t)):Promise.resolve()).then(function(){return t})})})}function eD(e,t,r){if(null==r.retryDelays||t>=r.retryDelays.length||null==e.originalRequest)return!1;if(r&&"function"==typeof r.onShouldRetry)return r.onShouldRetry(e,t,r);var n,i=e.originalResponse?e.originalResponse.getStatus():0;return(!e_(i,400)||409===i||423===i)&&(n=!0,"undefined"!=typeof window&&"navigator"in window&&!1===window.navigator.onLine&&(n=!1),n)}function eC(e,t){return new(eu())(t,e).toString()}ek.defaultOptions={endpoint:null,uploadUrl:null,metadata:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:null,chunkSize:1/0,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,parallelUploadBoundaries:null,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null};var ej=function(){var e;function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t)}return e=[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(e){return Promise.resolve([])}},{key:"removeUpload",value:function(e){return Promise.resolve()}},{key:"addUpload",value:function(e,t){return Promise.resolve(null)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(),eO=!1;try{eO="localStorage"in window;var eT="tusSupport",eA=localStorage.getItem(eT);localStorage.setItem(eT,eA),null===eA&&localStorage.removeItem(eT)}catch(e){if(e.code===e.SECURITY_ERR||e.code===e.QUOTA_EXCEEDED_ERR)eO=!1;else throw e}var eP=eO,eR=function(){var e;function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t)}return e=[{key:"findAllUploads",value:function(){return Promise.resolve(this._findEntries("tus::"))}},{key:"findUploadsByFingerprint",value:function(e){return Promise.resolve(this._findEntries("tus::".concat(e,"::")))}},{key:"removeUpload",value:function(e){return localStorage.removeItem(e),Promise.resolve()}},{key:"addUpload",value:function(e,t){var r=Math.round(1e12*Math.random()),n="tus::".concat(e,"::").concat(r);return localStorage.setItem(n,JSON.stringify(t)),Promise.resolve(n)}},{key:"_findEntries",value:function(e){for(var t=[],r=0;r<localStorage.length;r++){var n=localStorage.key(r);if(0===n.indexOf(e))try{var i=JSON.parse(localStorage.getItem(n));i.urlStorageKey=n,t.push(i)}catch(e){}}return t}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();function eM(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function eF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eN(e,t,r){return t&&eF(e.prototype,t),r&&eF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var eI=function(){function e(){eM(this,e)}return eN(e,[{key:"createRequest",value:function(e,t){return new eL(e,t)}},{key:"getName",value:function(){return"XHRHttpStack"}}]),e}(),eL=function(){function e(t,r){eM(this,e),this._xhr=new XMLHttpRequest,this._xhr.open(t,r,!0),this._method=t,this._url=r,this._headers={}}return eN(e,[{key:"getMethod",value:function(){return this._method}},{key:"getURL",value:function(){return this._url}},{key:"setHeader",value:function(e,t){this._xhr.setRequestHeader(e,t),this._headers[e]=t}},{key:"getHeader",value:function(e){return this._headers[e]}},{key:"setProgressHandler",value:function(e){"upload"in this._xhr&&(this._xhr.upload.onprogress=function(t){t.lengthComputable&&e(t.loaded)})}},{key:"send",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new Promise(function(r,n){e._xhr.onload=function(){r(new eB(e._xhr))},e._xhr.onerror=function(e){n(e)},e._xhr.send(t)})}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}(),eB=function(){function e(t){eM(this,e),this._xhr=t}return eN(e,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(e){return this._xhr.getResponseHeader(e)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),e}(),ez=function(){return"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()},eU=function(){var e;function t(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this._file=e,this.size=e.size}return e=[{key:"slice",value:function(e,t){if("undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)){var r;return r=this._file.slice(e,t),new Promise(function(e,t){var n=new FileReader;n.onload=function(){e({value:new Uint8Array(n.result)})},n.onerror=function(e){t(e)},n.readAsArrayBuffer(r)})}return Promise.resolve({value:this._file.slice(e,t)})}},{key:"close",value:function(){}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();function eq(e){return void 0===e?0:void 0!==e.size?e.size:e.length}var e$=function(){var e;function t(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this._buffer=void 0,this._bufferOffset=0,this._reader=e,this._done=!1}return e=[{key:"slice",value:function(e,t){return e<this._bufferOffset?Promise.reject(Error("Requested data is before the reader's current offset")):this._readUntilEnoughDataOrDone(e,t)}},{key:"_readUntilEnoughDataOrDone",value:function(e,t){var r=this,n=t<=this._bufferOffset+eq(this._buffer);if(this._done||n){var i=this._getDataFromBuffer(e,t),o=null==i&&this._done;return Promise.resolve({value:i,done:o})}return this._reader.read().then(function(n){var i=n.value;return n.done?r._done=!0:void 0===r._buffer?r._buffer=i:r._buffer=function(e,t){if(e.concat)return e.concat(t);if(e instanceof Blob)return new Blob([e,t],{type:e.type});if(e.set){var r=new e.constructor(e.length+t.length);return r.set(e),r.set(t,e.length),r}throw Error("Unknown data type")}(r._buffer,i),r._readUntilEnoughDataOrDone(e,t)})}},{key:"_getDataFromBuffer",value:function(e,t){e>this._bufferOffset&&(this._buffer=this._buffer.slice(e-this._bufferOffset),this._bufferOffset=e);var r=0===eq(this._buffer);return this._done&&r?null:this._buffer.slice(0,t-e)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(),eH=function(){var e;function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t)}return e=[{key:"openFile",value:function(e,t){if(ez()&&e&&void 0!==e.uri){var r;return(r=e.uri,new Promise(function(e,t){var n=new XMLHttpRequest;n.responseType="blob",n.onload=function(){e(n.response)},n.onerror=function(e){t(e)},n.open("GET",r),n.send()})).then(function(e){return new eU(e)}).catch(function(e){throw Error("tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. ".concat(e))})}return"function"==typeof e.slice&&void 0!==e.size?Promise.resolve(new eU(e)):"function"==typeof e.read?Number.isFinite(t=Number(t))?Promise.resolve(new e$(e,t)):Promise.reject(Error("cannot create source for stream without a finite value for the `chunkSize` option")):Promise.reject(Error("source object may only be an instance of File, Blob, or Reader in this environment"))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();function eV(e){return(eV="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})(e)}function eW(e,t){return(eW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function eG(e){return(eG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eY(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eZ(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eY(Object(r),!0).forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eY(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var eK=eZ(eZ({},ek.defaultOptions),{},{httpStack:new eI,fileReader:new eH,urlStorage:eP?new eR:new ej,fingerprint:function(e,t){var r;return ez()?Promise.resolve((r=e.exif?function(e){var t=0;if(0===e.length)return t;for(var r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t}(JSON.stringify(e.exif)):"noexif",["tus-rn",e.name||"noname",e.size||"nosize",r,t.endpoint].join("/"))):Promise.resolve(["tus-br",e.name,e.type,e.size,e.lastModified,t.endpoint].join("-"))}}),eJ=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw 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&&eW(e,t)}(n,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=eG(n);return e=t?Reflect.construct(r,arguments,eG(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===eV(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),t=eZ(eZ({},eK),t),r.call(this,e,t)}return function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(n,[{key:"terminate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=eZ(eZ({},eK),t),ek.terminate(e,t)}}]),Object.defineProperty(n,"prototype",{writable:!1}),n}(ek),eX=window,eQ=eX.XMLHttpRequest,e0=eX.Blob;eQ&&e0&&e0.prototype.slice;var e1=r(5617),e2=r(98357)(function(e,t,r){let{progress:n,bytesUploaded:i,bytesTotal:o}=t;n&&(e.uppy.log(`Upload progress: ${n}`),e.uppy.emit("upload-progress",r,{uploader:e,bytesUploaded:i,bytesTotal:o}))},300,{leading:!0,trailing:!0});function e3(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var e5=0;function e4(e){return"__private_"+e5+++"_"+e}var e6=e4("emitter"),e8=e4("events");class e9{constructor(e){Object.defineProperty(this,e6,{writable:!0,value:void 0}),Object.defineProperty(this,e8,{writable:!0,value:[]}),e3(this,e6)[e6]=e}on(e,t){return e3(this,e8)[e8].push([e,t]),e3(this,e6)[e6].on(e,t)}remove(){for(let[e,t]of e3(this,e8)[e8].splice(0))e3(this,e6)[e6].off(e,t)}}var e7=r(82457);function te(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var tt=0;function tr(e){return"__private_"+tt+++"_"+e}let tn={endpoint:"",uploadUrl:null,metadata:{},uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,overridePatchMethod:!1,headers:{},addRequestId:!1,chunkSize:1/0,retryDelays:[100,1e3,3e3,5e3],parallelUploads:1,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1};var ti=tr("retryDelayIterator"),to=tr("queueRequestSocketToken"),ta=tr("requestSocketToken");class ts extends R.Z{constructor(e,t){var r,n;super(e,t),Object.defineProperty(this,ti,{writable:!0,value:void 0}),Object.defineProperty(this,to,{writable:!0,value:void 0}),Object.defineProperty(this,ta,{writable:!0,value:async e=>{let t=new(e.remote.providerOptions.provider?e1.zt:e1.C$)(this.uppy,e.remote.providerOptions),r={...this.opts};return e.tus&&Object.assign(r,e.tus),(await t.post(e.remote.url,{...e.remote.body,endpoint:r.endpoint,uploadUrl:r.uploadUrl,protocol:"tus",size:e.data.size,headers:r.headers,metadata:e.meta})).token}}),this.type="uploader",this.id=this.opts.id||"Tus",this.title="Tus";let i={useFastRemoteRetry:!0,limit:20,retryDelays:tn.retryDelays,withCredentials:!1};if(this.opts={...i,...t},(null==t?void 0:t.allowedMetaFields)===void 0&&"metaFields"in this.opts)throw Error("The `metaFields` option has been renamed to `allowedMetaFields`.");if("autoRetry"in t)throw Error("The `autoRetry` option was deprecated and has been removed.");this.requests=null!=(r=this.opts.rateLimitedQueue)?r:new C(this.opts.limit),te(this,ti)[ti]=null==(n=this.opts.retryDelays)?void 0:n.values(),this.uploaders=Object.create(null),this.uploaderEvents=Object.create(null),this.uploaderSockets=Object.create(null),this.handleResetProgress=this.handleResetProgress.bind(this),this.handleUpload=this.handleUpload.bind(this),te(this,to)[to]=this.requests.wrapPromiseFunction(te(this,ta)[ta],{priority:-1})}handleResetProgress(){let e={...this.uppy.getState().files};Object.keys(e).forEach(t=>{if(e[t].tus&&e[t].tus.uploadUrl){let r={...e[t].tus};delete r.uploadUrl,e[t]={...e[t],tus:r}}}),this.uppy.setState({files:e})}resetUploaderReferences(e,t){if(void 0===t&&(t={}),this.uploaders[e]){let r=this.uploaders[e];r.abort(),t.abort&&r.abort(!0),this.uploaders[e]=null}this.uploaderEvents[e]&&(this.uploaderEvents[e].remove(),this.uploaderEvents[e]=null),this.uploaderSockets[e]&&(this.uploaderSockets[e].close(),this.uploaderSockets[e]=null)}upload(e){var t=this;return this.resetUploaderReferences(e.id),new Promise((r,n)=>{let i,o,a;this.uppy.emit("upload-started",e);let u={...this.opts,...e.tus||{}};"function"==typeof u.headers&&(u.headers=u.headers(e));let l={...tn,...u};l.fingerprint=(t,r)=>"undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)||"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()?eK.fingerprint(t,r):Promise.resolve(["tus",e.id,r.endpoint].join("-")),l.onBeforeRequest=t=>{let r;if(t.getUnderlyingObject().withCredentials=!!u.withCredentials,"function"==typeof u.onBeforeRequest&&(r=u.onBeforeRequest(t,e)),(0,s.Z)(i,"shouldBeRequeued")){let t;if(!i.shouldBeRequeued)return Promise.reject();let n=new Promise(e=>{t=e});return i=this.requests.run(()=>(e.isPaused&&i.abort(),t(),()=>{})),Promise.all([n,r])}return r},l.onError=t=>{var r;this.uppy.log(t);let o=t.originalRequest?t.originalRequest.getUnderlyingObject():null;o&&(0!==o.readyState&&4!==o.readyState||0===o.status)&&(t=new e7.Z(t,o)),this.resetUploaderReferences(e.id),null==(r=i)||r.abort(),this.uppy.emit("upload-error",e,t),n(t)},l.onProgress=(t,r)=>{this.onReceiveUploadUrl(e,a.url),this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t,bytesTotal:r})},l.onSuccess=()=>{let t={uploadURL:a.url};this.resetUploaderReferences(e.id),i.done(),this.uppy.emit("upload-success",e,t),a.url&&this.uppy.log(`Download ${a.file.name} from ${a.url}`),r(a)};let c=e=>{var t,r;let n=null==e?void 0:null==(t=e.originalResponse)?void 0:t.getStatus();if(429===n){if(!this.requests.isPaused){let e=null==(r=te(this,ti)[ti])?void 0:r.next();if(null==e||e.done)return!1;this.requests.rateLimit(e.value)}}else{if(n>400&&n<500&&409!==n)return!1;"undefined"==typeof navigator||!1!==navigator.onLine||this.requests.isPaused||(this.requests.pause(),window.addEventListener("online",()=>{this.requests.resume()},{once:!0}))}return i.abort(),i={shouldBeRequeued:!0,abort(){this.shouldBeRequeued=!1},done(){throw Error("Cannot mark a queued request as done: this indicates a bug")},fn(){throw Error("Cannot run a queued request: this indicates a bug")}},!0};null!=u.onShouldRetry?l.onShouldRetry=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.onShouldRetry(...t,c)}:l.onShouldRetry=c;let d=(e,t,r)=>{(0,s.Z)(e,t)&&!(0,s.Z)(e,r)&&(e[r]=e[t])},h={};(Array.isArray(u.allowedMetaFields)?u.allowedMetaFields:Object.keys(e.meta)).forEach(t=>{h[t]=e.meta[t]}),d(h,"type","filetype"),d(h,"name","filename"),l.metadata=h,a=new eJ(e.data,l),this.uploaders[e.id]=a,this.uploaderEvents[e.id]=new e9(this.uppy),o=()=>(e.isPaused||a.start(),()=>{}),a.findPreviousUploads().then(t=>{let r=t[0];r&&(this.uppy.log(`[Tus] Resuming upload of ${e.id} started at ${r.creationTime}`),a.resumeFromPreviousUpload(r))}),i=this.requests.run(o),this.onFileRemove(e.id,t=>{i.abort(),this.resetUploaderReferences(e.id,{abort:!!a.url}),r(`upload ${t} was removed`)}),this.onPause(e.id,e=>{i.abort(),e?a.abort():i=this.requests.run(o)}),this.onPauseAll(e.id,()=>{i.abort(),a.abort()}),this.onCancelAll(e.id,function(n){let{reason:o}=void 0===n?{}:n;"user"===o&&(i.abort(),t.resetUploaderReferences(e.id,{abort:!!a.url})),r(`upload ${e.id} was canceled`)}),this.onResumeAll(e.id,()=>{i.abort(),e.error&&a.abort(),i=this.requests.run(o)})}).catch(t=>{throw this.uppy.emit("upload-error",e,t),t})}async uploadRemote(e){this.resetUploaderReferences(e.id),e.progress.uploadStarted&&e.isRestored||this.uppy.emit("upload-started",e);try{if(e.serverToken)return this.connectToServerSocket(e);let t=await te(this,to)[to](e);if(!this.uppy.getState().files[e.id])return;return this.uppy.setFileState(e.id,{serverToken:t}),this.connectToServerSocket(this.uppy.getFile(e.id))}catch(t){throw this.uppy.emit("upload-error",e,t),t}}connectToServerSocket(e){var t=this;return new Promise((r,n)=>{let i;let o=e.serverToken,a=function(e){let t=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(e)[1],r=/^http:\/\//i.test(e)?"ws":"wss";return`${r}://${t}`}(e.remote.companionUrl),s=new e1.sk({target:`${a}/api/${o}`});this.uploaderSockets[e.id]=s,this.uploaderEvents[e.id]=new e9(this.uppy),this.onFileRemove(e.id,()=>{i.abort(),s.send("cancel",{}),this.resetUploaderReferences(e.id),r(`upload ${e.id} was removed`)}),this.onPause(e.id,e=>{e?(i.abort(),s.send("pause",{})):(i.abort(),i=this.requests.run(()=>(s.send("resume",{}),()=>{})))}),this.onPauseAll(e.id,()=>{i.abort(),s.send("pause",{})}),this.onCancelAll(e.id,function(n){let{reason:o}=void 0===n?{}:n;"user"===o&&(i.abort(),s.send("cancel",{}),t.resetUploaderReferences(e.id)),r(`upload ${e.id} was canceled`)}),this.onResumeAll(e.id,()=>{i.abort(),e.error&&s.send("pause",{}),i=this.requests.run(()=>(s.send("resume",{}),()=>{}))}),this.onRetry(e.id,()=>{s.isOpen&&(s.send("pause",{}),s.send("resume",{}))}),this.onRetryAll(e.id,()=>{s.isOpen&&(s.send("pause",{}),s.send("resume",{}))}),s.on("progress",t=>e2(this,t,e)),s.on("error",t=>{let{message:r}=t.error,o=Object.assign(Error(r),{cause:t.error});this.opts.useFastRemoteRetry?s.close():(this.resetUploaderReferences(e.id),this.uppy.setFileState(e.id,{serverToken:null})),this.uppy.emit("upload-error",e,o),i.done(),n(o)}),s.on("success",t=>{let n={uploadURL:t.url};this.uppy.emit("upload-success",e,n),this.resetUploaderReferences(e.id),i.done(),r()}),i=this.requests.run(()=>(e.isPaused&&s.send("pause",{}),()=>{}))})}onReceiveUploadUrl(e,t){let r=this.uppy.getFile(e.id);r&&(!r.tus||r.tus.uploadUrl!==t)&&(this.uppy.log("[Tus] Storing upload url"),this.uppy.setFileState(r.id,{tus:{...r.tus,uploadUrl:t}}))}onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",r=>{e===r.id&&t(r.id)})}onPause(e,t){this.uploaderEvents[e].on("upload-pause",(r,n)=>{e===r&&t(n)})}onRetry(e,t){this.uploaderEvents[e].on("upload-retry",r=>{e===r&&t()})}onRetryAll(e,t){this.uploaderEvents[e].on("retry-all",()=>{this.uppy.getFile(e)&&t()})}onPauseAll(e,t){this.uploaderEvents[e].on("pause-all",()=>{this.uppy.getFile(e)&&t()})}onCancelAll(e,t){var r=this;this.uploaderEvents[e].on("cancel-all",function(){r.uppy.getFile(e)&&t(...arguments)})}onResumeAll(e,t){this.uploaderEvents[e].on("resume-all",()=>{this.uppy.getFile(e)&&t()})}uploadFiles(e){return function(e){let t=[],r=[];function n(e){t.push(e)}function i(e){r.push(e)}return Promise.all(e.map(e=>e.then(n,i))).then(()=>({successful:t,failed:r}))}(e.map((t,r)=>{let n=r+1,i=e.length;return"error"in t&&t.error?Promise.reject(Error(t.error)):t.isRemote?(t.progress.uploadStarted&&t.isRestored||this.uppy.emit("upload-started",t),this.uploadRemote(t,n,i)):(t.progress.uploadStarted&&t.isRestored||this.uppy.emit("upload-started",t),this.upload(t,n,i))}))}handleUpload(e){if(0===e.length)return this.uppy.log("[Tus] No files to upload"),Promise.resolve();0===this.opts.limit&&this.uppy.log("[Tus] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/tus/#limit-0","warning"),this.uppy.log("[Tus] Uploading...");let t=e.map(e=>this.uppy.getFile(e));return this.uploadFiles(t).then(()=>null)}install(){this.uppy.setState({capabilities:{...this.uppy.getState().capabilities,resumableUploads:!0}}),this.uppy.addUploader(this.handleUpload),this.uppy.on("reset-progress",this.handleResetProgress)}uninstall(){this.uppy.setState({capabilities:{...this.uppy.getState().capabilities,resumableUploads:!1}}),this.uppy.removeUploader(this.handleUpload)}}ts.VERSION="3.0.5";var tu=r(87582);let tl=Object.create(null);tl.open="0",tl.close="1",tl.ping="2",tl.pong="3",tl.message="4",tl.upgrade="5",tl.noop="6";let tc=Object.create(null);Object.keys(tl).forEach(e=>{tc[tl[e]]=e});let td={type:"error",data:"parser error"},th="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),tp="function"==typeof ArrayBuffer,tf=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,tm=(e,t)=>{let r=new FileReader;return r.onload=function(){t("b"+r.result.split(",")[1])},r.readAsDataURL(e)};var tg=({type:e,data:t},r,n)=>th&&t instanceof Blob?r?n(t):tm(t,n):tp&&(t instanceof ArrayBuffer||tf(t))?r?n(t):tm(new Blob([t]),n):n(tl[e]+(t||""));let tv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ty="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e<tv.length;e++)ty[tv.charCodeAt(e)]=e;let tb=e=>{let t=.75*e.length,r=e.length,n,i=0,o,a,s,u;"="===e[e.length-1]&&(t--,"="===e[e.length-2]&&t--);let l=new ArrayBuffer(t),c=new Uint8Array(l);for(n=0;n<r;n+=4)o=ty[e.charCodeAt(n)],a=ty[e.charCodeAt(n+1)],s=ty[e.charCodeAt(n+2)],u=ty[e.charCodeAt(n+3)],c[i++]=o<<2|a>>4,c[i++]=(15&a)<<4|s>>2,c[i++]=(3&s)<<6|63&u;return l},tw="function"==typeof ArrayBuffer,tk=(e,t)=>tw?tx(tb(e),t):{base64:!0,data:e},tx=(e,t)=>"blob"===t&&e instanceof ArrayBuffer?new Blob([e]):e;var t_=(e,t)=>{if("string"!=typeof e)return{type:"message",data:tx(e,t)};let r=e.charAt(0);return"b"===r?{type:"message",data:tk(e.substring(1),t)}:tc[r]?e.length>1?{type:tc[r],data:e.substring(1)}:{type:tc[r]}:td};let tS=(e,t)=>{let r=e.length,n=Array(r),i=0;e.forEach((e,o)=>{tg(e,!1,e=>{n[o]=e,++i===r&&t(n.join("\x1e"))})})},tE=(e,t)=>{let r=e.split("\x1e"),n=[];for(let e=0;e<r.length;e++){let i=t_(r[e],t);if(n.push(i),"error"===i.type)break}return n};function tD(e){if(e)return function(e){for(var t in tD.prototype)e[t]=tD.prototype[t];return e}(e)}tD.prototype.on=tD.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},tD.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},tD.prototype.off=tD.prototype.removeListener=tD.prototype.removeAllListeners=tD.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<n.length;i++)if((r=n[i])===t||r.fn===t){n.splice(i,1);break}return 0===n.length&&delete this._callbacks["$"+e],this},tD.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,i=r.length;n<i;++n)r[n].apply(this,t)}return this},tD.prototype.emitReserved=tD.prototype.emit,tD.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},tD.prototype.hasListeners=function(e){return!!this.listeners(e).length};let tC="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function tj(e,...t){return t.reduce((t,r)=>(e.hasOwnProperty(r)&&(t[r]=e[r]),t),{})}let tO=setTimeout,tT=clearTimeout;function tA(e,t){t.useNativeTimers?(e.setTimeoutFn=tO.bind(tC),e.clearTimeoutFn=tT.bind(tC)):(e.setTimeoutFn=setTimeout.bind(tC),e.clearTimeoutFn=clearTimeout.bind(tC))}class tP extends Error{constructor(e,t,r){super(e),this.description=t,this.context=r,this.type="TransportError"}}class tR extends tD{constructor(e){super(),this.writable=!1,tA(this,e),this.opts=e,this.query=e.query,this.readyState="",this.socket=e.socket}onError(e,t,r){return super.emitReserved("error",new tP(e,t,r)),this}open(){return("closed"===this.readyState||""===this.readyState)&&(this.readyState="opening",this.doOpen()),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){let t=t_(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}}let tM="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),tF={},tN=0,tI=0,tL;function tB(e){let t="";do t=tM[e%64]+t,e=Math.floor(e/64);while(e>0);return t}function tz(){let e=tB(+new Date);return e!==tL?(tN=0,tL=e):e+"."+tB(tN++)}for(;tI<64;tI++)tF[tM[tI]]=tI;function tU(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}let tq=!1;try{tq="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){}let t$=tq;function tH(e){let t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||t$))return new XMLHttpRequest}catch(e){}if(!t)try{return new tC[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(e){}}function tV(){}let tW=null!=new tH({xdomain:!1}).responseType;class tG extends tR{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){let t="https:"===location.protocol,r=location.port;r||(r=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||r!==e.port,this.xs=e.secure!==t}let t=e&&e.forceBase64;this.supportsBinary=tW&&!t}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";let t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",function(){--e||t()})),this.writable||(e++,this.once("drain",function(){--e||t()}))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){tE(e,this.socket.binaryType).forEach(e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)}),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){let e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,tS(e,e=>{this.doWrite(e,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{},t=this.opts.secure?"https":"http",r="";!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=tz()),this.supportsBinary||e.sid||(e.b64=1),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port);let n=tU(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(n.length?"?"+n:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new tY(this.uri(),e)}doWrite(e,t){let r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",(e,t)=>{this.onError("xhr post error",e,t)})}doPoll(){let e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(e,t)=>{this.onError("xhr poll error",e,t)}),this.pollXhr=e}}class tY extends tD{constructor(e,t){super(),tA(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.create()}create(){let e=tj(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;let t=this.xhr=new tH(e);try{t.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(let e in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&t.setRequestHeader(e,this.opts.extraHeaders[e])}catch(e){}if("POST"===this.method)try{t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(t.timeout=this.opts.requestTimeout),t.onreadystatechange=()=>{4===t.readyState&&(200===t.status||1223===t.status?this.onLoad():this.setTimeoutFn(()=>{this.onError("number"==typeof t.status?t.status:0)},0))},t.send(this.data)}catch(e){this.setTimeoutFn(()=>{this.onError(e)},0);return}"undefined"!=typeof document&&(this.index=tY.requestsCount++,tY.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=tV,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete tY.requests[this.index],this.xhr=null}}onLoad(){let e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}function tZ(){for(let e in tY.requests)tY.requests.hasOwnProperty(e)&&tY.requests[e].abort()}tY.requestsCount=0,tY.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",tZ):"function"==typeof addEventListener&&addEventListener("onpagehide"in tC?"pagehide":"unload",tZ,!1));let tK="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),tJ=tC.WebSocket||tC.MozWebSocket;r(48834).lW;let tX="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class tQ extends tR{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;let e=this.uri(),t=this.opts.protocols,r=tX?{}:tj(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=tX?new tJ(e,t,r):t?new tJ(e,t):new tJ(e)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType||"arraybuffer",this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let r=e[t],n=t===e.length-1;tg(r,this.supportsBinary,e=>{try{this.ws.send(e)}catch(e){}n&&tK(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{},t=this.opts.secure?"wss":"ws",r="";this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=tz()),this.supportsBinary||(e.b64=1);let n=tU(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(n.length?"?"+n:"")}check(){return!!tJ}}let t0={websocket:tQ,polling:tG},t1=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,t2=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function t3(e){let t=e,r=e.indexOf("["),n=e.indexOf("]");-1!=r&&-1!=n&&(e=e.substring(0,r)+e.substring(r,n).replace(/:/g,";")+e.substring(n,e.length));let i=t1.exec(e||""),o={},a=14;for(;a--;)o[t2[a]]=i[a]||"";return -1!=r&&-1!=n&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=function(e,t){let r=t.replace(/\/{2,9}/g,"/").split("/");return("/"==t.substr(0,1)||0===t.length)&&r.splice(0,1),"/"==t.substr(t.length-1,1)&&r.splice(r.length-1,1),r}(0,o.path),o.queryKey=function(e,t){let r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(e,t,n){t&&(r[t]=n)}),r}(0,o.query),o}class t5 extends tD{constructor(e,t={}){super(),e&&"object"==typeof e&&(t=e,e=null),e?(e=t3(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=t3(t.host).host),tA(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},t),this.opts.path=this.opts.path.replace(/\/$/,"")+"/","string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},r=e.split("&");for(let e=0,n=r.length;e<n;e++){let n=r[e].split("=");t[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return t}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&addEventListener("beforeunload",()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},!1),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){let t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);let r=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new t0[e](r)}open(){let e;if(this.opts.rememberUpgrade&&t5.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else if(0===this.transports.length){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch(e){this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){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",e=>this.onClose("transport close",e))}probe(e){let t=this.createTransport(e),r=!1;t5.priorWebsocketSuccess=!1;let n=()=>{r||(t.send([{type:"ping",data:"probe"}]),t.once("packet",e=>{if(!r){if("pong"===e.type&&"probe"===e.data)this.upgrading=!0,this.emitReserved("upgrading",t),t&&(t5.priorWebsocketSuccess="websocket"===t.name,this.transport.pause(()=>{r||"closed"===this.readyState||(l(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}));else{let e=Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}}}))};function i(){r||(r=!0,l(),t.close(),t=null)}let o=e=>{let r=Error("probe error: "+e);r.transport=t.name,i(),this.emitReserved("upgradeError",r)};function a(){o("transport closed")}function s(){o("socket closed")}function u(e){t&&e.name!==t.name&&i()}let l=()=>{t.removeListener("open",n),t.removeListener("error",o),t.removeListener("close",a),this.off("close",s),this.off("upgrading",u)};t.once("open",n),t.once("error",o),t.once("close",a),this.once("close",s),this.once("upgrading",u),t.open()}onOpen(){if(this.readyState="open",t5.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){let e=0,t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(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":let t=Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(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.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){let r=this.writeBuffer[t].data;if(r&&(e+="string"==typeof r?function(e){let t=0,r=0;for(let n=0,i=e.length;n<i;n++)(t=e.charCodeAt(n))<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(n++,r+=4);return r}(r):Math.ceil(1.33*(r.byteLength||r.size))),t>0&&e>this.maxPayload)return this.writeBuffer.slice(0,t);e+=2}return this.writeBuffer}write(e,t,r){return this.sendPacket("message",e,t,r),this}send(e,t,r){return this.sendPacket("message",e,t,r),this}sendPacket(e,t,r,n){if("function"==typeof t&&(n=t,t=void 0),"function"==typeof r&&(n=r,r=null),"closing"===this.readyState||"closed"===this.readyState)return;(r=r||{}).compress=!1!==r.compress;let i={type:e,data:t,options:r};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),n&&this.once("flush",n),this.flush()}close(){let e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},r=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():e()}):this.upgrading?r():e()),this}onError(e){t5.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(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)}filterUpgrades(e){let t=[],r=0,n=e.length;for(;r<n;r++)~this.transports.indexOf(e[r])&&t.push(e[r]);return t}}t5.protocol=4,t5.protocol;let t4="function"==typeof ArrayBuffer,t6=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,t8=Object.prototype.toString,t9="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===t8.call(Blob),t7="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===t8.call(File);function re(e){return t4&&(e instanceof ArrayBuffer||t6(e))||t9&&e instanceof Blob||t7&&e instanceof File}let rt=5;(i=o||(o={}))[i.CONNECT=0]="CONNECT",i[i.DISCONNECT=1]="DISCONNECT",i[i.EVENT=2]="EVENT",i[i.ACK=3]="ACK",i[i.CONNECT_ERROR=4]="CONNECT_ERROR",i[i.BINARY_EVENT=5]="BINARY_EVENT",i[i.BINARY_ACK=6]="BINARY_ACK";class rr{constructor(e){this.replacer=e}encode(e){return(e.type===o.EVENT||e.type===o.ACK)&&function e(t,r){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t)){for(let r=0,n=t.length;r<n;r++)if(e(t[r]))return!0;return!1}if(re(t))return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1==arguments.length)return e(t.toJSON(),!0);for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&e(t[r]))return!0;return!1}(e)?(e.type=e.type===o.EVENT?o.BINARY_EVENT:o.BINARY_ACK,this.encodeAsBinary(e)):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===o.BINARY_EVENT||e.type===o.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,this.replacer)),t}encodeAsBinary(e){let t=function(e){let t=[],r=e.data;return e.data=function e(t,r){if(!t)return t;if(re(t)){let e={_placeholder:!0,num:r.length};return r.push(t),e}if(Array.isArray(t)){let n=Array(t.length);for(let i=0;i<t.length;i++)n[i]=e(t[i],r);return n}if("object"==typeof t&&!(t instanceof Date)){let n={};for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=e(t[i],r));return n}return t}(r,t),e.attachments=t.length,{packet:e,buffers:t}}(e),r=this.encodeAsString(t.packet),n=t.buffers;return n.unshift(r),n}}class rn extends tD{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e)(t=this.decodeString(e)).type===o.BINARY_EVENT||t.type===o.BINARY_ACK?(this.reconstructor=new ri(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t);else if(re(e)||e.base64){if(this.reconstructor)(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw Error("got binary data when not reconstructing a packet")}else throw Error("Unknown type: "+e)}decodeString(e){let t=0,r={type:Number(e.charAt(0))};if(void 0===o[r.type])throw Error("unknown packet type "+r.type);if(r.type===o.BINARY_EVENT||r.type===o.BINARY_ACK){let n=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);let i=e.substring(n,t);if(i!=Number(i)||"-"!==e.charAt(t))throw Error("Illegal attachments");r.attachments=Number(i)}if("/"===e.charAt(t+1)){let n=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);r.nsp=e.substring(n,t)}else r.nsp="/";let n=e.charAt(t+1);if(""!==n&&Number(n)==n){let n=t+1;for(;++t;){let r=e.charAt(t);if(null==r||Number(r)!=r){--t;break}if(t===e.length)break}r.id=Number(e.substring(n,t+1))}if(e.charAt(++t)){let n=this.tryParse(e.substr(t));if(rn.isPayloadValid(r.type,n))r.data=n;else throw Error("invalid payload")}return r}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case o.CONNECT:return"object"==typeof t;case o.DISCONNECT:return void 0===t;case o.CONNECT_ERROR:return"string"==typeof t||"object"==typeof t;case o.EVENT:case o.BINARY_EVENT:return Array.isArray(t)&&t.length>0;case o.ACK:case o.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}class ri{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t,r;let e=(t=this.reconPack,r=this.buffers,t.data=function e(t,r){if(!t)return t;if(t&&t._placeholder)return r[t.num];if(Array.isArray(t))for(let n=0;n<t.length;n++)t[n]=e(t[n],r);else if("object"==typeof t)for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=e(t[n],r));return t}(t.data,r),t.attachments=void 0,t);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function ro(e,t,r){return e.on(t,r),function(){e.off(t,r)}}let ra=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class rs extends tD{constructor(e,t,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let e=this.io;this.subs=[ro(e,"open",this.onopen.bind(this)),ro(e,"packet",this.onpacket.bind(this)),ro(e,"error",this.onerror.bind(this)),ro(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(ra.hasOwnProperty(e))throw Error('"'+e+'" is a reserved event name');t.unshift(e);let r={type:o.EVENT,data:t};if(r.options={},r.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){let e=this.ids++,n=t.pop();this._registerAckCallback(e,n),r.id=e}let n=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return(!this.flags.volatile||n&&this.connected)&&(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(e,t){let r=this.flags.timeout;if(void 0===r){this.acks[e]=t;return}let n=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,Error("operation has timed out"))},r);this.acks[e]=(...e)=>{this.io.clearTimeoutFn(n),t.apply(this,[null,...e])}}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth(e=>{this.packet({type:o.CONNECT,data:e})}):this.packet({type:o.CONNECT,data:this.auth})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(!(e.nsp!==this.nsp))switch(e.type){case o.CONNECT:if(e.data&&e.data.sid){let t=e.data.sid;this.onconnect(t)}else this.emitReserved("connect_error",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 o.EVENT:case o.BINARY_EVENT:this.onevent(e);break;case o.ACK:case o.BINARY_ACK:this.onack(e);break;case o.DISCONNECT:this.ondisconnect();break;case o.CONNECT_ERROR:this.destroy();let t=Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){let t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length)for(let t of this._anyListeners.slice())t.apply(this,e);super.emit.apply(this,e)}ack(e){let t=this,r=!1;return function(...n){r||(r=!0,t.packet({type:o.ACK,id:e,data:n}))}}onack(e){let t=this.acks[e.id];"function"==typeof t&&(t.apply(this,e.data),delete this.acks[e.id])}onconnect(e){this.id=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:o.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){let t=this._anyListeners;for(let r=0;r<t.length;r++)if(e===t[r]){t.splice(r,1);break}}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){let t=this._anyOutgoingListeners;for(let r=0;r<t.length;r++)if(e===t[r]){t.splice(r,1);break}}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length)for(let t of this._anyOutgoingListeners.slice())t.apply(this,e.data)}}function ru(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}ru.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=(1&Math.floor(10*t))==0?e-r:e+r}return 0|Math.min(e,this.max)},ru.prototype.reset=function(){this.attempts=0},ru.prototype.setMin=function(e){this.ms=e},ru.prototype.setMax=function(e){this.max=e},ru.prototype.setJitter=function(e){this.jitter=e};class rl extends tD{constructor(e,t){var r;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,tA(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(r=t.randomizationFactor)&&void 0!==r?r:.5),this.backoff=new ru({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;let n=t.parser||a;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new t5(this.uri,this.opts);let t=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;let n=ro(t,"open",function(){r.onopen(),e&&e()}),i=ro(t,"error",t=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",t),e?e(t):r.maybeReconnectOnOpen()});if(!1!==this._timeout){let e=this._timeout;0===e&&n();let r=this.setTimeoutFn(()=>{n(),t.close(),t.emit("error",Error("timeout"))},e);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}return this.subs.push(n),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let e=this.engine;this.subs.push(ro(e,"ping",this.onping.bind(this)),ro(e,"data",this.ondata.bind(this)),ro(e,"error",this.onerror.bind(this)),ro(e,"close",this.onclose.bind(this)),ro(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){this.decoder.add(e)}ondecoded(e){this.emitReserved("packet",e)}onerror(e){this.emitReserved("error",e)}socket(e,t){let r=this.nsps[e];return r||(r=new rs(this,e,t),this.nsps[e]=r),r}_destroy(e){for(let e of Object.keys(this.nsps))if(this.nsps[e].active)return;this._close()}_packet(e){let t=this.encoder.encode(e);for(let r=0;r<t.length;r++)this.engine.write(t[r],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let t=this.backoff.duration();this._reconnecting=!0;let r=this.setTimeoutFn(()=>{!e.skipReconnect&&(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open(t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()}))},t);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){let e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}let rc={};function rd(e,t){let r;"object"==typeof e&&(t=e,e=void 0);let n=function(e,t="",r){let n=e;r=r||"undefined"!=typeof location&&location,null==e&&(e=r.protocol+"//"+r.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?r.protocol+e:r.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==r?r.protocol+"//"+e:"https://"+e),n=t3(e)),!n.port&&(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";let i=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port+t,n.href=n.protocol+"://"+i+(r&&r.port===n.port?"":":"+n.port),n}(e,(t=t||{}).path||"/socket.io"),i=n.source,o=n.id,a=n.path,s=rc[o]&&a in rc[o].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||s?r=new rl(i,t):(rc[o]||(rc[o]=new rl(i,t)),r=rc[o]),n.query&&!t.query&&(t.query=n.queryKey),r.socket(n.path,t)}Object.assign(rd,{Manager:rl,Socket:rs,io:rd,connect:rd});var rh=r(47491);function rp(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var rf=0;function rm(e){return"__private_"+rf+++"_"+e}let rg="ASSEMBLY_EXECUTING",rv="ASSEMBLY_COMPLETED",ry=["ASSEMBLY_UPLOADING",rg,rv];function rb(e,t){return ry.indexOf(e)>=ry.indexOf(t)}var rw=rm("rateLimitedQueue"),rk=rm("fetchWithNetworkError"),rx=rm("previousFetchStatusStillPending"),r_=rm("onFinished"),rS=rm("connectSocket"),rE=rm("onError"),rD=rm("beginPolling"),rC=rm("fetchStatus"),rj=rm("diffStatus");class rO extends tu{constructor(e,t){super(),Object.defineProperty(this,rj,{value:rF}),Object.defineProperty(this,rC,{value:rM}),Object.defineProperty(this,rD,{value:rR}),Object.defineProperty(this,rE,{value:rP}),Object.defineProperty(this,rS,{value:rA}),Object.defineProperty(this,r_,{value:rT}),Object.defineProperty(this,rw,{writable:!0,value:void 0}),Object.defineProperty(this,rk,{writable:!0,value:void 0}),Object.defineProperty(this,rx,{writable:!0,value:!1}),this.status=e,this.socket=null,this.pollInterval=null,this.closed=!1,rp(this,rw)[rw]=t,rp(this,rk)[rk]=t.wrapPromiseFunction(rh.Z)}connect(){rp(this,rS)[rS](),rp(this,rD)[rD]()}update(){return rp(this,rC)[rC]({diff:!0})}updateStatus(e){rp(this,rj)[rj](this.status,e),this.status=e}close(){this.closed=!0,this.socket&&(this.socket.disconnect(),this.socket=null),clearInterval(this.pollInterval),this.pollInterval=null}}function rT(){this.emit("finished"),this.close()}function rA(){let e=function(e){let t=/^\w+:\/\//.exec(e),r=0;t&&(r=t[0].length+1);let n=e.indexOf("/",r);return -1===n?{origin:e,pathname:"/"}:{origin:e.slice(0,n),pathname:e.slice(n)}}(this.status.websocket_url),t=rd(e.origin,{transports:["websocket"],path:e.pathname});t.on("connect",()=>{t.emit("assembly_connect",{id:this.status.assembly_id}),this.emit("connect")}),t.on("connect_error",()=>{t.disconnect(),this.socket=null}),t.on("assembly_finished",()=>{rp(this,r_)[r_]()}),t.on("assembly_upload_finished",e=>{this.emit("upload",e),this.status.uploads.push(e)}),t.on("assembly_uploading_finished",()=>{this.emit("executing")}),t.on("assembly_upload_meta_data_extracted",()=>{this.emit("metadata"),rp(this,rC)[rC]({diff:!1})}),t.on("assembly_result_finished",(e,t)=>{this.emit("result",e,t),this.status.results[e]||(this.status.results[e]=[]),this.status.results[e].push(t)}),t.on("assembly_error",e=>{rp(this,rE)[rE](e),rp(this,rC)[rC]({diff:!1})}),this.socket=t}function rP(e){this.emit("error",Object.assign(Error(e.message),e)),this.close()}function rR(){this.pollInterval=setInterval(()=>{this.socket&&this.socket.connected||rp(this,rC)[rC]()},2e3)}async function rM(e){let{diff:t=!0}=void 0===e?{}:e;if(!this.closed&&!rp(this,rw)[rw].isPaused&&!rp(this,rx)[rx])try{rp(this,rx)[rx]=!0;let e=await rp(this,rk)[rk](this.status.assembly_ssl_url);if(rp(this,rx)[rx]=!1,this.closed)return;if(429===e.status){rp(this,rw)[rw].rateLimit(2e3);return}if(!e.ok){rp(this,rE)[rE](new e7.Z(e.statusText));return}let r=await e.json();if(this.closed)return;this.emit("status",r),t?this.updateStatus(r):this.status=r}catch(e){rp(this,rE)[rE](e)}}function rF(e,t){let r=e.ok,n=t.ok;if(t.error&&!e.error)return rp(this,rE)[rE](t);let i=rb(n,rg)&&!rb(r,rg);i&&this.emit("executing"),Object.keys(t.uploads).filter(t=>!(0,s.Z)(e.uploads,t)).forEach(e=>{this.emit("upload",t.uploads[e])}),i&&this.emit("metadata"),Object.keys(t.results).forEach(r=>{let n=t.results[r],i=e.results[r];n.filter(e=>!i||!i.some(t=>t.id===e.id)).forEach(e=>{this.emit("result",r,e)})}),rb(n,rv)&&!rb(r,rv)&&this.emit("finished")}function rN(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var rI=0;function rL(e){return"__private_"+rI+++"_"+e}let rB="/assemblies";var rz=rL("headers"),rU=rL("fetchWithNetworkError"),rq=rL("fetchJSON"),r$=rL("reportError");class rH{constructor(e){void 0===e&&(e={}),Object.defineProperty(this,rq,{value:rV}),Object.defineProperty(this,rz,{writable:!0,value:{}}),Object.defineProperty(this,rU,{writable:!0,value:void 0}),Object.defineProperty(this,r$,{writable:!0,value:(e,t)=>{if(!1===this.opts.errorReporting)throw e;let r={type:t.type};throw t.assembly&&(r.assembly=t.assembly.assembly_id,r.instance=t.assembly.instance),t.url&&(r.endpoint=t.url),this.submitError(e,r).catch(()=>{}),e}}),this.opts=e,null!=this.opts.client&&(rN(this,rz)[rz]["Transloadit-Client"]=this.opts.client),rN(this,rU)[rU]=this.opts.rateLimitedQueue.wrapPromiseFunction(rh.Z)}createAssembly(e){let{params:t,fields:r,signature:n,expectedFiles:i}=e,o=new FormData;o.append("params","string"==typeof t?t:JSON.stringify(t)),n&&o.append("signature",n),Object.keys(r).forEach(e=>{o.append(e,r[e])}),o.append("num_expected_upload_files",i);let a=new URL(rB,`${this.opts.service}`).href;return rN(this,rq)[rq](a,{method:"post",headers:rN(this,rz)[rz],body:o}).catch(e=>rN(this,r$)[r$](e,{url:a,type:"API_ERROR"}))}reserveFile(e,t){let r=encodeURIComponent(t.size),n=`${e.assembly_ssl_url}/reserve_file?size=${r}`;return rN(this,rq)[rq](n,{method:"post",headers:rN(this,rz)[rz]}).catch(r=>rN(this,r$)[r$](r,{assembly:e,file:t,url:n,type:"API_ERROR"}))}addFile(e,t){if(!t.uploadURL)return Promise.reject(Error("File does not have an `uploadURL`."));let r=encodeURIComponent(t.size),n=encodeURIComponent(t.uploadURL),i=encodeURIComponent(t.name),o=`size=${r}&filename=${i}&fieldname=file&s3Url=${n}`,a=`${e.assembly_ssl_url}/add_file?${o}`;return rN(this,rq)[rq](a,{method:"post",headers:rN(this,rz)[rz]}).catch(r=>rN(this,r$)[r$](r,{assembly:e,file:t,url:a,type:"API_ERROR"}))}updateNumberOfFilesInAssembly(e,t){let r=new URL(e.assembly_ssl_url);r.pathname="/update_assemblies";let n=JSON.stringify({assembly_updates:[{assembly_id:e.assembly_id,num_expected_upload_files:t}]});return rN(this,rq)[rq](r,{method:"post",headers:rN(this,rz)[rz],body:n}).catch(e=>rN(this,r$)[r$](e,{url:r,type:"API_ERROR"}))}cancelAssembly(e){let t=e.assembly_ssl_url;return rN(this,rq)[rq](t,{method:"delete",headers:rN(this,rz)[rz]}).catch(e=>rN(this,r$)[r$](e,{url:t,type:"API_ERROR"}))}getAssemblyStatus(e){return rN(this,rq)[rq](e,{headers:rN(this,rz)[rz]}).catch(t=>rN(this,r$)[r$](t,{url:e,type:"STATUS_ERROR"}))}submitError(e,t){let{endpoint:r,instance:n,assembly:i}=void 0===t?{}:t,o=e.details?`${e.message} (${e.details})`:e.message;return rN(this,rq)[rq]("https://transloaditstatus.com/client_error",{method:"post",body:JSON.stringify({endpoint:r,instance:n,assembly_id:i,agent:"undefined"!=typeof navigator?navigator.userAgent:"",client:this.opts.client,error:o})})}}function rV(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return rN(this,rU)[rU](...t).then(e=>{if(429===e.status)return this.opts.rateLimitedQueue.rateLimit(2e3),rN(this,rq)[rq](...t);if(!e.ok){let r=Error(e.statusText);return(r.statusCode=e.status,`${t[0]}`.endsWith(rB))?e.json().then(e=>{if(!e.error)throw r;let t=Error(e.error);throw t.details=e.message,t.assembly=e,e.assembly_id&&(t.details+=` Assembly ID: ${e.assembly_id}`),t},e=>{throw e.cause=r,e}):Promise.reject(r)}return e.json()})}function rW(e){if(null==e)throw Error("Transloadit: The `params` option is required.");if("string"==typeof e)try{e=JSON.parse(e)}catch(e){throw new u.Z("Transloadit: The `params` option is a malformed JSON string.",{cause:e})}if(!e.auth||!e.auth.key)throw Error("Transloadit: The `params.auth.key` option is required. You can find your Transloadit API key at https://transloadit.com/c/template-credentials")}function rG(e){let t=Object.create(null);for(let{fileIDs:r,options:n}of e.filter(Boolean)){let e=JSON.stringify(n);e in t?t[e].fileIDArrays.push(r):t[e]={options:n,fileIDArrays:[r]}}return Object.values(t).map(e=>{let{options:t,fileIDArrays:r}=e;return{options:t,fileIDs:r.flat(1)}})}async function rY(e,t){let r="function"==typeof t.assemblyOptions?await t.assemblyOptions(e,t):t.assemblyOptions;return rW(r.params),r}class rZ{constructor(e,t){this.files=e,this.opts=t}async build(){let e=this.opts;if(this.files.length>0)return Promise.all(this.files.map(async t=>{if(null==t)return;let r=await rY(t,e);if(null!=t)return r.fields=function(e,t){let{fields:r}=t;return null==r?{}:Array.isArray(r)?Object.fromEntries(r.map(t=>[t,e.meta[t]])):r}(t,r),{fileIDs:[t.id],options:r}})).then(rG);if(e.alwaysRunAssembly){let t=await rY(null,e);return[{fileIDs:this.files.map(e=>e.id),options:t}]}return[]}}function rK(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var rJ=0;function rX(e){return"__private_"+rJ+++"_"+e}var rQ=rX("assemblyIDs"),r0=rX("reject"),r1=rX("remaining"),r2=rX("resolve"),r3=rX("uppy"),r5=rX("watching"),r4=rX("onAssemblyComplete"),r6=rX("onAssemblyCancel"),r8=rX("onAssemblyError"),r9=rX("onImportError"),r7=rX("checkAllComplete"),ne=rX("removeListeners"),nt=rX("addListeners");class nr extends tu{constructor(e,t){super(),Object.defineProperty(this,nt,{value:na}),Object.defineProperty(this,ne,{value:no}),Object.defineProperty(this,r7,{value:ni}),Object.defineProperty(this,r5,{value:nn}),Object.defineProperty(this,rQ,{writable:!0,value:void 0}),Object.defineProperty(this,r0,{writable:!0,value:void 0}),Object.defineProperty(this,r1,{writable:!0,value:void 0}),Object.defineProperty(this,r2,{writable:!0,value:void 0}),Object.defineProperty(this,r3,{writable:!0,value:void 0}),Object.defineProperty(this,r4,{writable:!0,value:e=>{rK(this,r5)[r5](e.assembly_id)&&(rK(this,r3)[r3].log(`[Transloadit] AssemblyWatcher: Got Assembly finish ${e.assembly_id}`),this.emit("assembly-complete",e.assembly_id),rK(this,r7)[r7]())}}),Object.defineProperty(this,r6,{writable:!0,value:e=>{rK(this,r5)[r5](e.assembly_id)&&rK(this,r7)[r7]()}}),Object.defineProperty(this,r8,{writable:!0,value:(e,t)=>{rK(this,r5)[r5](e.assembly_id)&&(rK(this,r3)[r3].log(`[Transloadit] AssemblyWatcher: Got Assembly error ${e.assembly_id}`),rK(this,r3)[r3].log(t),this.emit("assembly-error",e.assembly_id,t),rK(this,r7)[r7]())}}),Object.defineProperty(this,r9,{writable:!0,value:(e,t,r)=>{rK(this,r5)[r5](e.assembly_id)&&rK(this,r8)[r8](e,r)}}),rK(this,r3)[r3]=e,rK(this,rQ)[rQ]=t,rK(this,r1)[r1]=t.length,this.promise=new Promise((e,t)=>{rK(this,r2)[r2]=e,rK(this,r0)[r0]=t}),rK(this,nt)[nt]()}}function nn(e){return -1!==rK(this,rQ)[rQ].indexOf(e)}function ni(){rK(this,r1)[r1]-=1,0===rK(this,r1)[r1]&&(rK(this,ne)[ne](),rK(this,r2)[r2]())}function no(){rK(this,r3)[r3].off("transloadit:complete",rK(this,r4)[r4]),rK(this,r3)[r3].off("transloadit:assembly-cancel",rK(this,r6)[r6]),rK(this,r3)[r3].off("transloadit:assembly-error",rK(this,r8)[r8]),rK(this,r3)[r3].off("transloadit:import-error",rK(this,r9)[r9])}function na(){rK(this,r3)[r3].on("transloadit:complete",rK(this,r4)[r4]),rK(this,r3)[r3].on("transloadit:assembly-cancel",rK(this,r6)[r6]),rK(this,r3)[r3].on("transloadit:assembly-error",rK(this,r8)[r8]),rK(this,r3)[r3].on("transloadit:import-error",rK(this,r9)[r9])}var ns={strings:{creatingAssembly:"Preparing upload...",creatingAssemblyFailed:"Transloadit: Could not create Assembly",encoding:"Encoding..."}};function nu(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var nl=0;function nc(e){return"__private_"+nl+++"_"+e}let nd=e=>t=>{console.error(new u.Z("Failed to send error to the client",{cause:t}),e)},nh="https://api2.transloadit.com/companion",np=/https?:\/\/api2(?:-\w+)?\.transloadit\.com\/companion/;var nf=nc("rateLimitedQueue"),nm=nc("getClientVersion"),ng=nc("attachAssemblyMetadata"),nv=nc("createAssembly"),ny=nc("createAssemblyWatcher"),nb=nc("shouldWaitAfterUpload"),nw=nc("reserveFiles"),nk=nc("onFileUploadURLAvailable"),nx=nc("findFile"),n_=nc("onFileUploadComplete"),nS=nc("onResult"),nE=nc("onAssemblyFinished"),nD=nc("cancelAssembly"),nC=nc("onCancelAll"),nj=nc("getPersistentData"),nO=nc("onRestored"),nT=nc("connectAssembly"),nA=nc("prepareUpload"),nP=nc("afterUpload"),nR=nc("closeAssemblyIfExists"),nM=nc("onError"),nF=nc("onTusError");class nN extends R.Z{constructor(e,t){var r,n,i;super(e,t),r=this,Object.defineProperty(this,nT,{value:nY}),Object.defineProperty(this,nD,{value:nG}),Object.defineProperty(this,nE,{value:nW}),Object.defineProperty(this,nS,{value:nV}),Object.defineProperty(this,n_,{value:nH}),Object.defineProperty(this,nx,{value:n$}),Object.defineProperty(this,nw,{value:nq}),Object.defineProperty(this,nb,{value:nU}),Object.defineProperty(this,ny,{value:nz}),Object.defineProperty(this,nv,{value:nB}),Object.defineProperty(this,ng,{value:nL}),Object.defineProperty(this,nm,{value:nI}),Object.defineProperty(this,nf,{writable:!0,value:void 0}),Object.defineProperty(this,nk,{writable:!0,value:e=>{var t;let r=this.uppy.getFile(e.id);if(!(null!=r&&null!=(t=r.transloadit)&&t.assembly))return;let{assemblies:n}=this.getPluginState(),i=n[r.transloadit.assembly];this.client.addFile(i,r).catch(e=>{this.uppy.log(e),this.uppy.emit("transloadit:import-error",i,r.id,e)})}}),Object.defineProperty(this,nC,{writable:!0,value:async function(e){let{reason:t}=void 0===e?{}:e;try{if("user"!==t)return;let{uploadsAssemblies:e}=r.getPluginState(),n=Object.values(e).flat(1).map(e=>r.getAssembly(e));await Promise.all(n.map(e=>nu(r,nD)[nD](e)))}catch(e){r.uppy.log(e)}}}),Object.defineProperty(this,nj,{writable:!0,value:e=>{let{assemblies:t,uploadsAssemblies:r}=this.getPluginState();e({[this.id]:{assemblies:t,uploadsAssemblies:r}})}}),Object.defineProperty(this,nO,{writable:!0,value:e=>{let t=e&&e[this.id]?e[this.id]:{},r=t.assemblies||{},n=t.uploadsAssemblies||{};if(0===Object.keys(n).length)return;let i=e=>{let t={},r=[];for(let[n,i]of Object.entries(e)){i.uploads.forEach(e=>{let r=nu(this,nx)[nx](e);t[e.id]={id:r.id,assembly:n,uploadedFile:e}});let e=this.getPluginState();Object.keys(i.results).forEach(t=>{for(let o of i.results[t]){let i=e.files[o.original_id];o.localId=i?i.id:null,r.push({id:o.id,result:o,stepName:t,assembly:n})}})}this.setPluginState({assemblies:e,files:t,results:r,uploadsAssemblies:n})},o=()=>{let{assemblies:e,uploadsAssemblies:t}=this.getPluginState();Object.keys(t).forEach(e=>{let r=t[e];nu(this,ny)[ny](r,e)}),Object.keys(e).forEach(t=>{let r=new rO(e[t],nu(this,nf)[nf]);nu(this,nT)[nT](r)})},a=()=>{let{assemblies:e}=this.getPluginState();return Promise.all(Object.keys(e).map(e=>this.activeAssemblies[e].update()))};this.restored=Promise.resolve().then(()=>(i(r),o(),a())),this.restored.then(()=>{this.restored=null})}}),Object.defineProperty(this,nA,{writable:!0,value:(e,t)=>{let r=e.map(e=>this.uppy.getFile(e)).filter(e=>!e.error&&(this.uppy.emit("preprocess-progress",e,{mode:"indeterminate",message:this.i18n("creatingAssembly")}),!0)),n=async e=>{let{fileIDs:r,options:n}=e;try{let e=await nu(this,nv)[nv](r,t,n);return this.opts.importFromUploadURLs&&await nu(this,nw)[nw](e,r),r.forEach(e=>{let t=this.uppy.getFile(e);this.uppy.emit("preprocess-complete",t)}),e}catch(e){throw r.forEach(t=>{let r=this.uppy.getFile(t);this.uppy.emit("preprocess-complete",r),this.uppy.emit("upload-error",r,e)}),e}},{uploadsAssemblies:i}=this.getPluginState();return this.setPluginState({uploadsAssemblies:{...i,[t]:[]}}),new rZ(r,this.opts).build().then(e=>Promise.all(e.map(n))).then(e=>{let r=e.filter(Boolean),n=r.map(e=>e.status.assembly_id);return nu(this,ny)[ny](n,t),Promise.all(r.map(e=>nu(this,nT)[nT](e)))}).catch(e=>{throw r.forEach(t=>{this.uppy.emit("preprocess-complete",t),this.uppy.emit("upload-error",t,e)}),e})}}),Object.defineProperty(this,nP,{writable:!0,value:(e,t)=>{let r=e.map(e=>this.uppy.getFile(e)),n=r.filter(e=>!e.error).map(e=>e.id),i=this.getPluginState();if(this.restored)return this.restored.then(()=>nu(this,nP)[nP](n,t));let o=i.uploadsAssemblies[t],a=()=>{o.forEach(e=>{this.activeAssemblies[e].close(),delete this.activeAssemblies[e]})};if(!nu(this,nb)[nb]()){a();let e=o.map(e=>this.getAssembly(e));return this.uppy.addResultData(t,{transloadit:e}),Promise.resolve()}return 0===o.length?(this.uppy.addResultData(t,{transloadit:[]}),Promise.resolve()):(r.filter(e=>!(0,s.Z)(this.completedFiles,e.id)).forEach(e=>{this.uppy.emit("postprocess-progress",e,{mode:"indeterminate",message:this.i18n("encoding")})}),this.assemblyWatchers[t].promise.then(()=>{a();let e=o.map(e=>this.getAssembly(e)),r={...this.getPluginState().uploadsAssemblies};delete r[t],this.setPluginState({uploadsAssemblies:r}),this.uppy.addResultData(t,{transloadit:e})}))}}),Object.defineProperty(this,nR,{writable:!0,value:e=>{var t;null==(t=this.activeAssemblies[e])||t.close()}}),Object.defineProperty(this,nM,{writable:!0,value:function(e,t){void 0===e&&(e=null);let n=r.getPluginState().uploadsAssemblies[t];null==n||n.forEach(nu(r,nR)[nR]),r.client.submitError(e).catch(nd(e))}}),Object.defineProperty(this,nF,{writable:!0,value:(e,t)=>{var r,n,i,o;if(nu(this,nR)[nR](null==e?void 0:null==(r=e.transloadit)?void 0:r.assembly),null!=t&&null!=(n=t.message)&&n.startsWith("tus: ")){let e=null==(i=t.originalRequest)?void 0:null==(o=i.getUnderlyingObject())?void 0:o.responseURL;this.client.submitError(t,{endpoint:e,type:"TUS_ERROR"}).catch(nd(t))}}}),this.type="uploader",this.id=this.opts.id||"Transloadit",this.title="Transloadit",this.defaultLocale=ns,this.opts={service:"https://api2.transloadit.com",errorReporting:!0,waitForEncoding:!1,waitForMetadata:!1,alwaysRunAssembly:!1,importFromUploadURLs:!1,signature:null,params:null,fields:null,getAssemblyOptions:null,limit:20,retryDelays:[7e3,1e4,15e3,2e4],...t},null!=(n=this.opts).assemblyOptions||(n.assemblyOptions=null!=(i=this.opts.getAssemblyOptions)?i:{params:this.opts.params,signature:this.opts.signature,fields:this.opts.fields}),(null==t?void 0:t.params)!=null&&null==t.getAssemblyOptions&&null==t.assemblyOptions&&rW(this.opts.assemblyOptions.params),nu(this,nf)[nf]=new C(this.opts.limit),this.i18nInit(),this.client=new rH({service:this.opts.service,client:nu(this,nm)[nm](),errorReporting:this.opts.errorReporting,rateLimitedQueue:nu(this,nf)[nf]}),this.activeAssemblies={},this.assemblyWatchers={},this.completedFiles=Object.create(null)}install(){this.uppy.addPreProcessor(nu(this,nA)[nA]),this.uppy.addPostProcessor(nu(this,nP)[nP]),this.uppy.on("error",nu(this,nM)[nM]),this.uppy.on("cancel-all",nu(this,nC)[nC]),this.uppy.on("upload-error",nu(this,nF)[nF]),this.opts.importFromUploadURLs?this.uppy.on("upload-success",nu(this,nk)[nk]):this.uppy.use(ts,{storeFingerprintForResuming:!1,useFastRemoteRetry:!1,allowedMetaFields:["assembly_url","filename","fieldname"],limit:this.opts.limit,rateLimitedQueue:nu(this,nf)[nf],retryDelays:this.opts.retryDelays}),this.uppy.on("restore:get-data",nu(this,nj)[nj]),this.uppy.on("restored",nu(this,nO)[nO]),this.setPluginState({assemblies:{},uploadsAssemblies:{},files:{},results:[]});let{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!1}})}uninstall(){this.uppy.removePreProcessor(nu(this,nA)[nA]),this.uppy.removePostProcessor(nu(this,nP)[nP]),this.uppy.off("error",nu(this,nM)[nM]),this.opts.importFromUploadURLs&&this.uppy.off("upload-success",nu(this,nk)[nk]);let{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!0}})}getAssembly(e){let{assemblies:t}=this.getPluginState();return t[e]}getAssemblyFiles(e){return this.uppy.getFiles().filter(t=>{var r;return(null==t?void 0:null==(r=t.transloadit)?void 0:r.assembly)===e})}}function nI(){let e=[`uppy-core:${this.uppy.constructor.VERSION}`,`uppy-transloadit:${this.constructor.VERSION}`,`uppy-tus:${ts.VERSION}`],t=(t,r)=>{let n=this.uppy.getPlugin(t);n&&e.push(`${r}:${n.constructor.VERSION}`)};return this.opts.importFromUploadURLs&&(t("XHRUpload","uppy-xhr-upload"),t("AwsS3","uppy-aws-s3"),t("AwsS3Multipart","uppy-aws-s3-multipart")),t("Dropbox","uppy-dropbox"),t("Box","uppy-box"),t("Facebook","uppy-facebook"),t("GoogleDrive","uppy-google-drive"),t("Instagram","uppy-instagram"),t("OneDrive","uppy-onedrive"),t("Zoom","uppy-zoom"),t("Url","uppy-url"),e.join(",")}function nL(e,t){let r={...e.meta,assembly_url:t.assembly_url,filename:e.name,fieldname:"file"},n={...e.tus,endpoint:t.tus_url,addRequestId:!0},{remote:i}=e;if(e.remote&&np.test(e.remote.companionUrl)){let r=t.companion_url.replace(/\/$/,""),n=e.remote.url.replace(e.remote.companionUrl,"").replace(/^\//,"");i={...e.remote,companionUrl:r,url:`${r}/${n}`}}let o={...e,transloadit:{assembly:t.assembly_id}};return this.opts.importFromUploadURLs||Object.assign(o,{meta:r,tus:n,remote:i}),o}function nB(e,t,r){return this.uppy.log("[Transloadit] Create Assembly"),this.client.createAssembly({params:r.params,fields:r.fields,expectedFiles:e.length,signature:r.signature}).then(async r=>{let n=this.uppy.getFiles().filter(t=>{let{id:r}=t;return e.includes(r)});if(n.length!==e.length){if(0===n.length)return await this.client.cancelAssembly(r),null;await this.client.updateNumberOfFilesInAssembly(r,n.length)}let i=new rO(r,nu(this,nf)[nf]),{status:o}=i,a=o.assembly_id,{assemblies:s,uploadsAssemblies:u}=this.getPluginState();this.setPluginState({assemblies:{...s,[a]:o},uploadsAssemblies:{...u,[t]:[...u[t],a]}});let l={};n.forEach(e=>{l[e.id]=nu(this,ng)[ng](e,o)}),this.uppy.setState({files:{...this.uppy.getState().files,...l}});let c=(e,t)=>{if("cancel-all"===t)i.close(),this.uppy.off(c);else if(e.id in l){delete l[e.id];let t=Object.keys(l).length;0===t?(i.close(),nu(this,nD)[nD](r).catch(()=>{}),this.uppy.off(c)):this.client.updateNumberOfFilesInAssembly(r,t).catch(()=>{})}};return this.uppy.on("file-removed",c),this.uppy.emit("transloadit:assembly-created",o,e),this.uppy.log(`[Transloadit] Created Assembly ${a}`),i}).catch(e=>{let t=new u.Z(`${this.i18n("creatingAssemblyFailed")}: ${e.message}`,{cause:e});throw"details"in e&&(t.details=e.details),"assembly"in e&&(t.assembly=e.assembly),t})}function nz(e,t){let r=new nr(this.uppy,e);r.on("assembly-complete",e=>{this.getAssemblyFiles(e).forEach(e=>{this.completedFiles[e.id]=!0,this.uppy.emit("postprocess-complete",e)})}),r.on("assembly-error",(e,t)=>{this.getAssemblyFiles(e).forEach(e=>{this.uppy.emit("upload-error",e,t),this.uppy.emit("postprocess-complete",e)})}),this.assemblyWatchers[t]=r}function nU(){return this.opts.waitForEncoding||this.opts.waitForMetadata}function nq(e,t){return Promise.all(t.map(t=>{let r=this.uppy.getFile(t);return this.client.reserveFile(e.status,r)}))}function n$(e){let t=this.uppy.getFiles();for(let r=0;r<t.length;r++){let n=t[r];if(n.uploadURL===e.tus_upload_url||n.tus&&n.tus.uploadUrl===e.tus_upload_url||!e.is_tus_file&&n.name===e.name&&n.size===e.size)return n}}function nH(e,t){let r=this.getPluginState(),n=nu(this,nx)[nx](t);if(!n){this.uppy.log("[Transloadit] Couldn’t file the file, it was likely removed in the process");return}this.setPluginState({files:{...r.files,[t.id]:{assembly:e,id:n.id,uploadedFile:t}}}),this.uppy.emit("transloadit:upload",t,this.getAssembly(e))}function nV(e,t,r){let n=this.getPluginState(),i=n.files[r.original_id];r.localId=i?i.id:null;let o={result:r,stepName:t,id:r.id,assembly:e};this.setPluginState({results:[...n.results,o]}),this.uppy.emit("transloadit:result",t,r,this.getAssembly(e))}function nW(e){let t=e.assembly_ssl_url;this.client.getAssemblyStatus(t).then(e=>{let t=e.assembly_id,r=this.getPluginState();this.setPluginState({assemblies:{...r.assemblies,[t]:e}}),this.uppy.emit("transloadit:complete",e)})}async function nG(e){await this.client.cancelAssembly(e),this.uppy.emit("transloadit:assembly-cancelled",e)}function nY(e){let{status:t}=e,r=t.assembly_id;return this.activeAssemblies[r]=e,e.on("status",e=>{let{assemblies:t}=this.getPluginState();this.setPluginState({assemblies:{...t,[r]:e}})}),e.on("upload",e=>{nu(this,n_)[n_](r,e)}),e.on("error",t=>{t.assembly=e.status,this.uppy.emit("transloadit:assembly-error",e.status,t)}),e.on("executing",()=>{this.uppy.emit("transloadit:assembly-executing",e.status)}),this.opts.waitForEncoding&&e.on("result",(e,t)=>{nu(this,nS)[nS](r,e,t)}),this.opts.waitForEncoding?e.on("finished",()=>{nu(this,nE)[nE](e.status)}):this.opts.waitForMetadata&&e.on("metadata",()=>{nu(this,nE)[nE](e.status)}),"ASSEMBLY_COMPLETE"===e.ok||e.connect(),e}nN.VERSION="3.1.1",nN.COMPANION=nh,nN.COMPANION_PATTERN=/\.transloadit\.com$/},42340:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(33847),i=r(65616),o=r(5617),a=r(99302);function s(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var u=0;function l(e){return"__private_"+u+++"_"+e}var c=l("handleKeyPress"),d=l("handleSubmit");class h extends n.wA{constructor(){super(...arguments),Object.defineProperty(this,c,{writable:!0,value:e=>{13===e.keyCode&&s(this,d)[d]()}}),Object.defineProperty(this,d,{writable:!0,value:()=>{let{addFile:e}=this.props;e(this.input.value.trim())}})}componentDidMount(){this.input.value=""}render(){let{i18n:e}=this.props;return(0,n.h)("div",{className:"uppy-Url"},(0,n.h)("input",{className:"uppy-u-reset uppy-c-textInput uppy-Url-input",type:"text","aria-label":e("enterUrlToImport"),placeholder:e("enterUrlToImport"),onKeyUp:s(this,c)[c],ref:e=>{this.input=e},"data-uppy-super-focusable":!0}),(0,n.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Url-importButton",type:"button",onClick:s(this,d)[d]},e("import")))}}function p(e,t,r){let n;let i=(0,a.Z)(e.items);switch(t){case"paste":if(i.some(e=>"file"===e.kind))return;n=i.filter(e=>"string"===e.kind&&"text/plain"===e.type);break;case"drop":n=i.filter(e=>"string"===e.kind&&"text/uri-list"===e.type);break;default:throw Error(`isDropOrPaste must be either 'drop' or 'paste', but it's ${t}`)}n.forEach(e=>{e.getAsString(e=>r(e))})}var f={strings:{import:"Import",enterUrlToImport:"Enter URL to import a file",failedToFetch:"Companion failed to fetch this URL, please make sure it’s correct",enterCorrectUrl:"Incorrect URL: Please make sure you are entering a direct link to a file"}};function m(){return(0,n.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,n.h)("g",{fill:"none",fillRule:"evenodd"},(0,n.h)("rect",{className:"uppy-ProviderIconBg",fill:"#FF753E",width:"32",height:"32",rx:"16"}),(0,n.h)("path",{d:"M22.788 15.389l-2.199 2.19a3.184 3.184 0 0 1-.513.437c-.806.584-1.686.876-2.638.876a4.378 4.378 0 0 1-3.519-1.752c-.22-.292-.146-.802.147-1.021.293-.22.806-.146 1.026.146.953 1.313 2.785 1.532 4.105.583a.571.571 0 0 0 .293-.292l2.199-2.189c1.1-1.167 1.1-2.992-.073-4.086a2.976 2.976 0 0 0-4.105 0l-1.246 1.24a.71.71 0 0 1-1.026 0 .703.703 0 0 1 0-1.022l1.246-1.24a4.305 4.305 0 0 1 6.083 0c1.833 1.605 1.906 4.451.22 6.13zm-7.183 5.035l-1.246 1.24a2.976 2.976 0 0 1-4.105 0c-1.172-1.094-1.172-2.991-.073-4.086l2.2-2.19.292-.291c.66-.438 1.393-.657 2.2-.584.805.146 1.465.51 1.905 1.168.22.292.733.365 1.026.146.293-.22.367-.73.147-1.022-.733-.949-1.76-1.532-2.859-1.678-1.1-.22-2.272.073-3.225.802l-.44.438-2.199 2.19c-1.686 1.75-1.612 4.524.074 6.202.88.803 1.979 1.241 3.078 1.241 1.1 0 2.199-.438 3.079-1.24l1.246-1.241a.703.703 0 0 0 0-1.022c-.294-.292-.807-.365-1.1-.073z",fill:"#FFF",fillRule:"nonzero"})))}class g extends i.di{constructor(e,t){if(super(e,t),this.id=this.opts.id||"Url",this.title=this.opts.title||"Link",this.type="acquirer",this.icon=()=>(0,n.h)(m,null),this.defaultLocale=f,this.opts={...t},this.i18nInit(),this.hostname=this.opts.companionUrl,!this.hostname)throw Error("Companion hostname is required, please consult https://uppy.io/docs/companion");this.getMeta=this.getMeta.bind(this),this.addFile=this.addFile.bind(this),this.handleRootDrop=this.handleRootDrop.bind(this),this.handleRootPaste=this.handleRootPaste.bind(this),this.client=new o.C$(e,{companionUrl:this.opts.companionUrl,companionHeaders:this.opts.companionHeaders,companionCookiesRule:this.opts.companionCookiesRule})}getMeta(e){return this.client.post("url/meta",{url:e}).then(e=>{if(e.error)throw this.uppy.log("[URL] Error:"),this.uppy.log(e.error),Error("Failed to fetch the file");return e})}async addFile(e,t){void 0===t&&(t=void 0);let r=/^[a-z0-9]+:\/\//.test(e)?e:"http://"+e;if(!function(e){if(!e)return!1;let t=e.match(/^([a-z0-9]+):\/\//)[1];return"http"===t||"https"===t}(r)){this.uppy.log(`[URL] Incorrect URL entered: ${r}`),this.uppy.info(this.i18n("enterCorrectUrl"),"error",4e3);return}try{let e=await this.getMeta(r),n={meta:t,source:this.id,name:function(e){let{pathname:t}=new URL(e);return t.substring(t.lastIndexOf("/")+1)}(r),type:e.type,data:{size:e.size},isRemote:!0,body:{url:r},remote:{companionUrl:this.opts.companionUrl,url:`${this.hostname}/url/get`,body:{fileId:r,url:r},providerOptions:this.client.opts}};this.uppy.log("[Url] Adding remote file");try{return this.uppy.addFile(n)}catch(e){return e.isRestriction||this.uppy.log(e),e}}catch(e){return this.uppy.log(e),this.uppy.info({message:this.i18n("failedToFetch"),details:e},"error",4e3),e}}handleRootDrop(e){p(e.dataTransfer,"drop",e=>{this.uppy.log(`[URL] Adding file from dropped url: ${e}`),this.addFile(e)})}handleRootPaste(e){p(e.clipboardData,"paste",e=>{this.uppy.log(`[URL] Adding file from pasted url: ${e}`),this.addFile(e)})}render(){return(0,n.h)(h,{i18n:this.i18n,addFile:this.addFile})}install(){let{target:e}=this.opts;e&&this.mount(e,this)}uninstall(){this.unmount()}}g.VERSION="3.1.0",g.prototype.canHandleRootDrop=function(e){return(0,a.Z)(e.dataTransfer.items).filter(e=>"string"===e.kind&&"text/uri-list"===e.type).length>0}},75386:function(e,t,r){"use strict";var n=r(26204);class i extends Error{constructor(e,t){void 0===t&&(t={}),super(e),this.cause=t.cause,this.cause&&(0,n.Z)(this.cause,"isNetworkError")&&(this.isNetworkError=this.cause.isNetworkError)}}t.Z=i},82457:function(e,t){"use strict";class r extends Error{constructor(e,t){void 0===t&&(t=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=t}}t.Z=r},6744:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(26204);function i(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var o=0;function a(e,t){let r=/\$/g,n=[e];if(null==t)return n;for(let e of Object.keys(t))if("_"!==e){let i=t[e];"string"==typeof i&&(i=r[Symbol.replace](i,"$$$$")),n=function(e,t,r){let n=[];return e.forEach(e=>"string"!=typeof e?n.push(e):t[Symbol.split](e).forEach((e,t,i)=>{""!==e&&n.push(e),t<i.length-1&&n.push(r)})),n}(n,RegExp(`%\\{${e}\\}`,"g"),i)}return n}var s="__private_"+o+++"_apply";class u{constructor(e){Object.defineProperty(this,s,{value:l}),this.locale={strings:{},pluralize:e=>1===e?0:1},Array.isArray(e)?e.forEach(i(this,s)[s],this):i(this,s)[s](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){if(!(0,n.Z)(this.locale.strings,e))throw Error(`missing string: ${e}`);let r=this.locale.strings[e];if("object"==typeof r){if(t&&void 0!==t.smart_count)return a(r[this.locale.pluralize(t.smart_count)],t);throw Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return a(r,t)}}function l(e){if(!(null!=e&&e.strings))return;let t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}},47491:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(82457);function i(){return fetch(...arguments).catch(e=>{if("AbortError"===e.name)throw e;throw new n.Z(e)})}},87843:function(e,t){"use strict";t.Z=function(e){for(var t;e&&!e.dir;)e=e.parentNode;return null==(t=e)?void 0:t.dir}},26204:function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.d(t,{Z:function(){return n}})},95444:function(e,t,r){"use strict";function n(e){return(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE}r.d(t,{Z:function(){return n}})},13326:function(e,t){"use strict";t.Z={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",webp:"image/webp",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",dicom:"application/dicom",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"}},99302:function(e,t){"use strict";t.Z=Array.from},67274:function(e,t,r){"use strict";r.d(t,{BT:function(){return v}});var n=()=>"undefined"!=typeof document,i=!1,o=null,a=!1,s=!1,u=new Set;function l(e,t){u.forEach(r=>r(e,t))}var c="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function d(e){a=!0,e.metaKey||!c&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(o="keyboard",l("keyboard",e))}function h(e){if(o="pointer","mousedown"===e.type||"pointerdown"===e.type){a=!0;let t=e.composedPath?e.composedPath()[0]:e.target,r=!1;try{r=t.matches(":focus-visible")}catch{}r||l("pointer",e)}}function p(e){(0===e.mozInputSource&&e.isTrusted||0===e.detail&&!e.pointerType)&&(a=!0,o="virtual")}function f(e){e.target!==window&&e.target!==document&&(a||s||(o="virtual",l("virtual",e)),a=!1,s=!1)}function m(){a=!1,s=!0}function g(){return"pointer"!==o}function v(e){!function(){if(!n()||i)return;let{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...t){a=!0,e.apply(this,t)},document.addEventListener("keydown",d,!0),document.addEventListener("keyup",d,!0),document.addEventListener("click",p,!0),window.addEventListener("focus",f,!0),window.addEventListener("blur",m,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",h,!0),document.addEventListener("pointermove",h,!0),document.addEventListener("pointerup",h,!0)):(document.addEventListener("mousedown",h,!0),document.addEventListener("mousemove",h,!0),document.addEventListener("mouseup",h,!0)),i=!0}(),e(g());let t=()=>e(g());return u.add(t),()=>{u.delete(t)}}},99882:function(e,t,r){"use strict";r.r(t),r.d(t,{directoryOpen:function(){return s},directoryOpenLegacy:function(){return k},directoryOpenModern:function(){return m},fileOpen:function(){return o},fileOpenLegacy:function(){return b},fileOpenModern:function(){return d},fileSave:function(){return l},fileSaveLegacy:function(){return _},fileSaveModern:function(){return v},supported:function(){return n}});let n=(()=>{if("undefined"==typeof self)return!1;if("top"in self&&self!==top)try{top}catch(e){}else if("showOpenFilePicker"in self)return"showOpenFilePicker";return!1})(),i=n?Promise.resolve().then(function(){return h}):Promise.resolve().then(function(){return w});async function o(...e){return(await i).default(...e)}let a=n?Promise.resolve().then(function(){return g}):Promise.resolve().then(function(){return x});async function s(...e){return(await a).default(...e)}let u=n?Promise.resolve().then(function(){return y}):Promise.resolve().then(function(){return S});async function l(...e){return(await u).default(...e)}let c=async e=>{let t=await e.getFile();return t.handle=e,t};var d=async(e=[{}])=>{Array.isArray(e)||(e=[e]);let t=[];e.forEach((e,r)=>{t[r]={description:e.description||"Files",accept:{}},e.mimeTypes?e.mimeTypes.map(n=>{t[r].accept[n]=e.extensions||[]}):t[r].accept["*/*"]=e.extensions||[]});let r=await window.showOpenFilePicker({id:e[0].id,startIn:e[0].startIn,types:t,multiple:e[0].multiple||!1,excludeAcceptAllOption:e[0].excludeAcceptAllOption||!1}),n=await Promise.all(r.map(c));return e[0].multiple?n:n[0]},h={__proto__:null,default:d};function p(e){function t(e){if(Object(e)!==e)return Promise.reject(TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return(p=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new p(e)}let f=async(e,t,r=e.name,n)=>{let i=[],o=[];var a,s=!1,u=!1;try{for(var l,c=function(e){var t,r,n,i=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new p(t.call(e));r="@@asyncIterator",n="@@iterator"}throw TypeError("Object is not async iterable")}(e.values());s=!(l=await c.next()).done;s=!1){let a=l.value,s=`${r}/${a.name}`;"file"===a.kind?o.push(a.getFile().then(t=>(t.directoryHandle=e,t.handle=a,Object.defineProperty(t,"webkitRelativePath",{configurable:!0,enumerable:!0,get:()=>s})))):"directory"!==a.kind||!t||n&&n(a)||i.push(f(a,t,s,n))}}catch(e){u=!0,a=e}finally{try{s&&null!=c.return&&await c.return()}finally{if(u)throw a}}return[...(await Promise.all(i)).flat(),...await Promise.all(o)]};var m=async(e={})=>(e.recursive=e.recursive||!1,e.mode=e.mode||"read",f(await window.showDirectoryPicker({id:e.id,startIn:e.startIn,mode:e.mode}),e.recursive,void 0,e.skipDirectory)),g={__proto__:null,default:m},v=async(e,t=[{}],r=null,n=!1,i=null)=>{Array.isArray(t)||(t=[t]),t[0].fileName=t[0].fileName||"Untitled";let o=[],a=null;if(e instanceof Blob&&e.type?a=e.type:e.headers&&e.headers.get("content-type")&&(a=e.headers.get("content-type")),t.forEach((e,t)=>{o[t]={description:e.description||"Files",accept:{}},e.mimeTypes?(0===t&&a&&e.mimeTypes.push(a),e.mimeTypes.map(r=>{o[t].accept[r]=e.extensions||[]})):a?o[t].accept[a]=e.extensions||[]:o[t].accept["*/*"]=e.extensions||[]}),r)try{await r.getFile()}catch(e){if(r=null,n)throw e}let s=r||await window.showSaveFilePicker({suggestedName:t[0].fileName,id:t[0].id,startIn:t[0].startIn,types:o,excludeAcceptAllOption:t[0].excludeAcceptAllOption||!1});!r&&i&&i(s);let u=await s.createWritable();if("stream"in e){let t=e.stream();return await t.pipeTo(u),s}return"body"in e?await e.body.pipeTo(u):(await u.write(await e),await u.close()),s},y={__proto__:null,default:v},b=async(e=[{}])=>(Array.isArray(e)||(e=[e]),new Promise((t,r)=>{let n=document.createElement("input");n.type="file";let i=[...e.map(e=>e.mimeTypes||[]),...e.map(e=>e.extensions||[])].join();n.multiple=e[0].multiple||!1,n.accept=i||"",n.style.display="none",document.body.append(n);let o=e=>{"function"==typeof a&&a(),t(e)},a=e[0].legacySetup&&e[0].legacySetup(o,()=>a(r),n),s=()=>{window.removeEventListener("focus",s),n.remove()};n.addEventListener("click",()=>{window.addEventListener("focus",s)}),n.addEventListener("change",()=>{window.removeEventListener("focus",s),n.remove(),o(n.multiple?Array.from(n.files):n.files[0])}),n.click()})),w={__proto__:null,default:b},k=async(e=[{}])=>(Array.isArray(e)||(e=[e]),e[0].recursive=e[0].recursive||!1,new Promise((t,r)=>{let n=document.createElement("input");n.type="file",n.webkitdirectory=!0;let i=e=>{"function"==typeof o&&o(),t(e)},o=e[0].legacySetup&&e[0].legacySetup(i,()=>o(r),n);n.addEventListener("change",()=>{let t=Array.from(n.files);e[0].recursive?e[0].recursive&&e[0].skipDirectory&&(t=t.filter(t=>t.webkitRelativePath.split("/").every(t=>!e[0].skipDirectory({name:t,kind:"directory"})))):t=t.filter(e=>2===e.webkitRelativePath.split("/").length),i(t)}),n.click()})),x={__proto__:null,default:k},_=async(e,t={})=>{Array.isArray(t)&&(t=t[0]);let r=document.createElement("a"),n=e;"body"in e&&(n=await async function(e,t){let r=e.getReader(),n=new Response(new ReadableStream({start:e=>(async function t(){return r.read().then(({done:r,value:n})=>{if(!r)return e.enqueue(n),t();e.close()})})()})),i=await n.blob();return r.releaseLock(),new Blob([i],{type:t})}(e.body,e.headers.get("content-type"))),r.download=t.fileName||"Untitled",r.href=URL.createObjectURL(await n);let i=()=>{"function"==typeof o&&o()},o=t.legacySetup&&t.legacySetup(i,()=>o(),r);return r.addEventListener("click",()=>{setTimeout(()=>URL.revokeObjectURL(r.href),3e4),i()}),r.click(),null},S={__proto__:null,default:_}},10380:function(e,t,r){"use strict";function n(e,t,r){t.split&&(t=t.split("."));for(var n,i,o=0,a=t.length,s=e;o<a&&"__proto__"!==(i=t[o++])&&"constructor"!==i&&"prototype"!==i;)s=s[i]=o===a?r:typeof(n=s[i])==typeof t?n:0*t[o]!=0||~(""+t[o]).indexOf(".")?{}:[]}r.d(t,{N:function(){return n}})},51572:function(e,t,r){"use strict";r.d(t,{j:function(){return a}});var n=r(10963),i=r(40226),o=r(15815);function a(e,t,r={}){let a=(0,o.i)(e)?e:(0,i.B)(e);return a.start((0,n.Z)("",a,t,r)),{stop:()=>a.stop(),isAnimating:()=>a.isAnimating()}}},10963:function(e,t,r){"use strict";r.d(t,{Z:function(){return ey}});var n=r(9340),i=r(41429);let o={current:!1};var a=r(58387),s=r(17070),u=r(26574);let l=e=>e*e,c=(0,u.M)(l),d=(0,s.o)(l);var h=r(45982),p=r(51366),f=r(65339);function m(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}var g=r(92395),v=r(56572),y=r(86845);let b=(e,t,r)=>{let n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},w=[g.$,v.m,y.J],k=e=>w.find(t=>t.test(e));function x(e){let t=k(e);(0,n.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===y.J&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;i=m(s,n,e+1/3),o=m(s,n,e),a=m(s,n,e-1/3)}else i=o=a=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(r)),r}let _=(e,t)=>{let r=x(e),n=x(t),i={...r};return e=>(i.red=b(r.red,n.red,e),i.green=b(r.green,n.green,e),i.blue=b(r.blue,n.blue,e),i.alpha=(0,f.C)(r.alpha,n.alpha,e),v.m.transform(i))};var S=r(96953),E=r(76865);function D(e,t){return"number"==typeof e?r=>(0,f.C)(e,t,r):h.$.test(e)?_(e,t):O(e,t)}let C=(e,t)=>{let r=[...e],n=r.length,i=e.map((e,r)=>D(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}},j=(e,t)=>{let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=D(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}},O=(e,t)=>{let r=E.P.createTransformer(t),i=(0,E.V)(e),o=(0,E.V)(t);return i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?(0,S.z)(C(i.values,o.values),r):((0,n.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),r=>`${r>0?t:e}`)};var T=r(17475);let A=(e,t)=>r=>(0,f.C)(e,t,r);function P(e,t,{clamp:r=!0,ease:i,mixer:o}={}){let a=e.length;(0,n.k)(a===t.length,"Both input and output ranges must be the same length"),(0,n.k)(!i||!Array.isArray(i)||i.length===a-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,r){let n=[],i=r||function(e){if("number"==typeof e);else if("string"==typeof e)return h.$.test(e)?_:O;else if(Array.isArray(e))return C;else if("object"==typeof e)return j;return A}(e[0]),o=e.length-1;for(let r=0;r<o;r++){let o=i(e[r],e[r+1]);if(t){let e=Array.isArray(t)?t[r]:t;o=(0,S.z)(e,o)}n.push(o)}return n}(t,i,o),u=s.length,l=t=>{let r=0;if(u>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let n=(0,T.Y)(e[r],e[r+1],t);return s[r](n)};return r?t=>l((0,p.u)(e[0],e[a-1],t)):l}var R=r(50065);let M=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function F(e,t,r,n){if(e===t&&r===n)return R.Z;let i=t=>(function(e,t,r,n,i){let o,a;let s=0;do(o=M(a=t+(r-t)/2,n,i)-e)>0?r=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a})(t,0,1,e,r);return e=>0===e||1===e?e:M(i(e),t,n)}var N=r(41469);let I=F(.33,1.53,.69,.99),L=(0,u.M)(I),B=(0,s.o)(L),z={linear:R.Z,easeIn:l,easeInOut:d,easeOut:c,circIn:N.Z7,circInOut:N.X7,circOut:N.Bn,backIn:L,backInOut:B,backOut:I,anticipate:e=>(e*=2)<1?.5*L(e):.5*(2-Math.pow(2,-10*(e-1)))},U=e=>{if(Array.isArray(e)){(0,n.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,i,o]=e;return F(t,r,i,o)}return"string"==typeof e?((0,n.k)(void 0!==z[e],`Invalid easing type '${e}'`),z[e]):e},q=e=>Array.isArray(e)&&"number"!=typeof e[0];function $({keyframes:e,ease:t=d,times:r,duration:n=300}){e=[...e];let i=$[0],o=q(t)?t.map(U):U(t),a={done:!1,value:i},s=(r&&r.length===$.length?r:function(e){let t=e.length;return e.map((e,r)=>0!==r?r/(t-1):0)}(e)).map(e=>e*n);function u(){var t;return P(s,e,{ease:Array.isArray(o)?o:(t=e).map(()=>o||d).splice(0,t.length-1)})}let l=u();return{next:e=>(a.value=l(e),a.done=e>=n,a),flipTarget:()=>{e.reverse(),l=u()}}}function H(e,t){return e*Math.sqrt(1-t*t)}var V=r(75394);let W=["duration","bounce"],G=["stiffness","damping","mass"];function Y(e,t){return t.some(t=>void 0!==e[t])}function Z({keyframes:e,restSpeed:t=2,restDelta:r=.01,...i}){let o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:u,damping:l,mass:c,velocity:d,duration:h,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Y(e,G)&&Y(e,W)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:i=1}){let o,a;(0,n.K)(e<=1e4,"Spring duration must be 10 seconds or less");let s=1-t;s=(0,p.u)(.05,1,s),e=(0,p.u)(.01,10,e/1e3),s<1?(o=t=>{let n=t*s,i=n*e;return .001-(n-r)/H(t,s)*Math.exp(-i)},a=t=>{let n=t*s*e,i=Math.pow(s,2)*Math.pow(t,2)*e,a=Math.exp(-n),u=H(Math.pow(t,2),s);return(n*r+r-i)*a*(-o(t)+.001>0?-1:1)/u}):(o=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),a=t=>e*e*(r-t)*Math.exp(-t*e));let u=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(o,a,5/e);if(e*=1e3,isNaN(u))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(u,2)*i;return{stiffness:t,damping:2*s*Math.sqrt(i*t),duration:e}}}(e);(t={...t,...r,velocity:0,mass:1}).isResolvedFromDuration=!0}return t}(i),m=K,g=d?-(d/1e3):0,v=l/(2*Math.sqrt(u*c));function y(){let e=a-o,t=Math.sqrt(u/c)/1e3;if(void 0===r&&(r=Math.min(Math.abs(a-o)/100,.4)),v<1){let r=H(t,v);m=n=>a-Math.exp(-v*t*n)*((g+v*t*e)/r*Math.sin(r*n)+e*Math.cos(r*n))}else if(1===v)m=r=>a-Math.exp(-t*r)*(e+(g+t*e)*r);else{let r=t*Math.sqrt(v*v-1);m=n=>{let i=Math.exp(-v*t*n),o=Math.min(r*n,300);return a-i*((g+v*t*e)*Math.sinh(o)+r*e*Math.cosh(o))/r}}}return y(),{next:e=>{let n=m(e);if(f)s.done=e>=h;else{let i=g;if(0!==e){if(v<1){let t=Math.max(0,e-5);i=(0,V.R)(n-m(t),e-t)}else i=0}let o=Math.abs(i)<=t,u=Math.abs(a-n)<=r;s.done=o&&u}return s.value=s.done?a:n,s},flipTarget:()=>{g=-g,[o,a]=[a,o],y()}}}Z.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;let K=e=>0,J={decay:function({keyframes:e=[0],velocity:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:o}){let a=e[0],s={done:!1,value:a},u=r*t,l=a+u,c=void 0===o?l:o(l);return c!==l&&(u=c-a),{next:e=>{let t=-u*Math.exp(-e/n);return s.done=!(t>i||t<-i),s.value=s.done?c:c+t,s},flipTarget:()=>{}}},keyframes:$,tween:$,spring:Z};function X(e,t,r=0){return e-t-r}let Q=e=>{let t=({delta:t})=>e(t);return{start:()=>a.Z_.update(t,!0),stop:()=>a.qY.update(t)}};function ee({duration:e,driver:t=Q,elapsed:r=0,repeat:n=0,repeatType:i="loop",repeatDelay:o=0,keyframes:a,autoplay:s=!0,onPlay:u,onStop:l,onComplete:c,onRepeat:d,onUpdate:h,type:p="keyframes",...f}){var m;let g,v,y;let b=0,w=e,k=!1,x=!0,_=J[a.length>2?"keyframes":p],S=a[0],E=a[a.length-1];(null===(m=_.needsInterpolation)||void 0===m?void 0:m.call(_,S,E))&&(y=P([0,100],[S,E],{clamp:!1}),a=[0,100]);let D=_({...f,duration:e,keyframes:a});return s&&(u&&u(),(g=t(function(e){if(x||(e=-e),r+=e,!k){let e=D.next(Math.max(0,r));v=e.value,y&&(v=y(v)),k=x?e.done:r<=0}if(h&&h(v),k){if(0===b&&(w=void 0!==w?w:r),b<n){var t,a;t=r,a=w,(x?t>=a+o:t<=-o)&&(b++,"reverse"===i?r=function(e,t=0,r=0,n=!0){return n?X(t+-e,t,r):t-(e-t)+r}(r,w,o,x=b%2==0):(r=X(r,w,o),"mirror"===i&&D.flipTarget()),k=!1,d&&d())}else g.stop(),c&&c()}})).start()),{stop:()=>{l&&l(),g.stop()},sample:e=>D.next(Math.max(0,e))}}let et=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,er={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:et([0,.65,.55,1]),circOut:et([.55,0,1,.45]),backIn:et([.31,.01,.66,-.59]),backOut:et([.33,1.53,.69,.99])};var en=r(59803),ei=r(85403);let eo=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),ea=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),es=()=>({type:"keyframes",ease:"linear",duration:.3}),eu={type:"keyframes",duration:.8},el={x:eo,y:eo,z:eo,rotate:eo,rotateX:eo,rotateY:eo,rotateZ:eo,scaleX:ea,scaleY:ea,scale:ea,opacity:es,backgroundColor:es,color:es,default:ea},ec=(e,{keyframes:t})=>t.length>2?eu:(el[e]||el.default)(t[1]),ed=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&E.P.test(t)&&!t.startsWith("url("));var eh=r(91564),ep=r(73172);let ef={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},em={},eg={};for(let e in ef)eg[e]=()=>(void 0===em[e]&&(em[e]=ef[e]()),em[e]);let ev=new Set(["opacity"]),ey=(e,t,r,s={})=>u=>{let l=(0,ep.ev)(s,e)||{},c=l.delay||s.delay||0,{elapsed:d=0}=s;d-=(0,i.w)(c);let h=function(e,t,r,n){let i=ed(t,r),o=void 0!==n.from?n.from:e.get();return("none"===o&&i&&"string"==typeof r?o=(0,eh.T)(t,r):(0,ep.Fr)(o)&&"string"==typeof r?o=(0,ep.GZ)(r):!Array.isArray(r)&&(0,ep.Fr)(r)&&"string"==typeof o&&(r=(0,ep.GZ)(o)),Array.isArray(r))?(null===r[0]&&(r[0]=o),r):[o,r]}(t,e,r,l),p=h[0],f=h[h.length-1],m=ed(e,p),g=ed(e,f);(0,n.K)(m===g,`You are trying to animate ${e} from "${p}" to "${f}". ${p} is not an animatable value - to enable this animation set ${p} to a value animatable to ${f} via the \`style\` property.`);let v={keyframes:h,velocity:t.getVelocity(),...l,elapsed:d,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{u(),l.onComplete&&l.onComplete()}};if(!m||!g||o.current||!1===l.type)return function({keyframes:e,elapsed:t,onUpdate:r,onComplete:n}){let i=()=>(r&&r(e[e.length-1]),n&&n(),()=>{});return t?(0,en.g)(i,-t):i()}(v);if("inertia"===l.type){let e=function({keyframes:e,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:d,onComplete:h,onStop:p}){let f;let m=e[0];function g(e){return void 0!==r&&e<r||void 0!==n&&e>n}function v(e){return void 0===r?n:void 0===n?r:Math.abs(r-e)<Math.abs(n-e)?r:n}function y(e){null==f||f.stop(),f=ee({keyframes:[0,1],velocity:0,...e,driver:c,onUpdate:t=>{var r;null==d||d(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:h,onStop:p})}function b(e){y({type:"spring",stiffness:a,damping:s,restDelta:u,...e})}if(g(m))b({velocity:t,keyframes:[m,v(m)]});else{let e,n,a=i*t+m;void 0!==l&&(a=l(a));let s=v(a),c=s===r?-1:1;y({type:"decay",keyframes:[m,0],velocity:t,timeConstant:o,power:i,restDelta:u,modifyTarget:l,onUpdate:g(a)?r=>{e=n,n=r,t=(0,V.R)(r-e,ei.frameData.delta),(1===c&&r>s||-1===c&&r<s)&&b({keyframes:[r,s],velocity:t})}:void 0})}return{stop:()=>null==f?void 0:f.stop()}}(v);return()=>e.stop()}(0,ep.rw)(l)||(v={...v,...ec(e,v)}),v.duration&&(v.duration=(0,i.w)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,i.w)(v.repeatDelay));let y=t.owner,b=y&&y.current;if(eg.waapi()&&ev.has(e)&&!v.repeatDelay&&"mirror"!==v.repeatType&&0!==v.damping&&y&&b instanceof HTMLElement&&!y.getProps().onUpdate)return function(e,t,{onUpdate:r,onComplete:n,...i}){var o;let{keyframes:s,duration:u=.3,elapsed:l=0,ease:c}=i;if("spring"===i.type||!(!(o=i.ease)||Array.isArray(o)||"string"==typeof o&&er[o])){let e=ee(i),t={done:!1,value:s[0]},r=[],n=0;for(;!t.done;)t=e.sample(n),r.push(t.value),n+=10;s=r,u=n-10,c="linear"}let d=function(e,t,r,{delay:n=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:u}={}){return e.animate({[t]:r,offset:u},{delay:n,duration:i,easing:function(e){if(e)return Array.isArray(e)?et(e):er[e]}(s),fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,s,{...i,delay:-l,duration:u,ease:c});return d.onfinish=()=>{e.set(s[s.length-1]),n&&n()},()=>{let{currentTime:t}=d;if(t){let r=ee(i);e.setWithVelocity(r.sample(t-10).value,r.sample(t).value,10)}a.Z_.update(()=>d.cancel())}}(t,e,v);{let e=ee(v);return()=>e.stop()}}},73172:function(e,t,r){"use strict";r.d(t,{Fr:function(){return o},GZ:function(){return a},ev:function(){return s},rw:function(){return i}});var n=r(91564);function i({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:u,...l}){return!!Object.keys(l).length}function o(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function a(e){return"number"==typeof e?0:(0,n.T)("",e)}function s(e,t){return e[t]||e.default||e}},88241:function(e,t,r){"use strict";r.d(t,{M:function(){return y}});var n=r(2784),i=r(28723),o=r(58387),a=r(23617);function s(){let e=(0,n.useRef)(!1);return(0,a.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var u=r(97967),l=r(3105);class c extends n.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:t}){let r=(0,n.useId)(),i=(0,n.useRef)(null),o=(0,n.useRef)({width:0,height:0,top:0,left:0});return(0,n.useInsertionEffect)(()=>{let{width:e,height:n,top:a,left:s}=o.current;if(t||!i.current||!e||!n)return;i.current.dataset.motionPopId=r;let u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
          [data-motion-pop-id="${r}"] {
            position: absolute !important;
            width: ${e}px !important;
            height: ${n}px !important;
            top: ${a}px !important;
            left: ${s}px !important;
          }
        `),()=>{document.head.removeChild(u)}},[t]),n.createElement(c,{isPresent:t,childRef:i,sizeRef:o},n.cloneElement(e,{ref:i}))}let h=({children:e,initial:t,isPresent:r,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:s})=>{let c=(0,l.h)(p),h=(0,n.useId)(),f=(0,n.useMemo)(()=>({id:h,initial:t,isPresent:r,custom:o,onExitComplete:e=>{for(let t of(c.set(e,!0),c.values()))if(!t)return;i&&i()},register:e=>(c.set(e,!1),()=>c.delete(e))}),a?void 0:[r]);return(0,n.useMemo)(()=>{c.forEach((e,t)=>c.set(t,!1))},[r]),n.useEffect(()=>{r||c.size||!i||i()},[r]),"popLayout"===s&&(e=n.createElement(d,{isPresent:r},e)),n.createElement(u.O.Provider,{value:f},e)};function p(){return new Map}var f=r(3422),m=r(96073),g=r(74963);let v=e=>e.key||"",y=({children:e,custom:t,initial:r=!0,onExitComplete:u,exitBeforeEnter:l,presenceAffectsLayout:c=!0,mode:d="sync"})=>{l&&(d="wait",(0,g.O)(!1,"Replace exitBeforeEnter with mode='wait'"));let[p]=function(){let e=s(),[t,r]=(0,n.useState)(0),i=(0,n.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,n.useCallback)(()=>o.Z_.postRender(i),[i]),t]}(),y=(0,n.useContext)(f.p).forceRender;y&&(p=y);let b=s(),w=function(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}(e),k=w,x=new Set,_=(0,n.useRef)(k),S=(0,n.useRef)(new Map).current,E=(0,n.useRef)(!0);if((0,a.L)(()=>{E.current=!1,function(e,t){e.forEach(e=>{let r=v(e);t.set(r,e)})}(w,S),_.current=k}),(0,m.z)(()=>{E.current=!0,S.clear(),x.clear()}),E.current)return n.createElement(n.Fragment,null,k.map(e=>n.createElement(h,{key:v(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:c,mode:d},e)));k=[...k];let D=_.current.map(v),C=w.map(v),j=D.length;for(let e=0;e<j;e++){let t=D[e];-1===C.indexOf(t)&&x.add(t)}return"wait"===d&&x.size&&(k=[]),x.forEach(e=>{if(-1!==C.indexOf(e))return;let r=S.get(e);if(!r)return;let i=D.indexOf(e);k.splice(i,0,n.createElement(h,{key:v(r),isPresent:!1,onExitComplete:()=>{S.delete(e),x.delete(e);let t=_.current.findIndex(t=>t.key===e);if(_.current.splice(t,1),!x.size){if(_.current=w,!1===b.current)return;p(),u&&u()}},custom:t,presenceAffectsLayout:c,mode:d},r))}),k=k.map(e=>{let t=e.key;return x.has(t)?e:n.createElement(h,{key:v(e),isPresent:!0,presenceAffectsLayout:c,mode:d},e)}),"production"!==i.O&&"wait"===d&&k.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),n.createElement(n.Fragment,null,x.size?k:k.map(e=>(0,n.cloneElement)(e)))}},58175:function(e,t,r){"use strict";r.d(t,{hO:function(){return a},oO:function(){return o}});var n=r(2784),i=r(97967);function o(){let e=(0,n.useContext)(i.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:r,register:o}=e,a=(0,n.useId)();return(0,n.useEffect)(()=>o(a),[]),!t&&r?[!1,()=>r&&r(a)]:[!0]}function a(){var e;return null===(e=(0,n.useContext)(i.O))||e.isPresent}},3422:function(e,t,r){"use strict";r.d(t,{p:function(){return n}});let n=(0,r(2784).createContext)({})},97967:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});let n=(0,r(2784).createContext)(null)},41469:function(e,t,r){"use strict";r.d(t,{Bn:function(){return a},X7:function(){return s},Z7:function(){return o}});var n=r(17070),i=r(26574);let o=e=>1-Math.sin(Math.acos(e)),a=(0,i.M)(o),s=(0,n.o)(a)},17070:function(e,t,r){"use strict";r.d(t,{o:function(){return n}});let n=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},26574:function(e,t,r){"use strict";r.d(t,{M:function(){return n}});let n=e=>t=>1-e(1-t)},85403:function(e,t,r){"use strict";r.d(t,{frameData:function(){return n}});let n={delta:0,timestamp:0}},58387:function(e,t,r){"use strict";r.d(t,{qY:function(){return p},iW:function(){return f},Z_:function(){return h}});let n=1/60*1e3,i="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),o="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(i()),n);var a=r(85403);let s=!0,u=!1,l=!1,c=["read","update","preRender","render","postRender"],d=c.reduce((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,i=!1,o=!1,a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{let u=s&&i,l=u?t:r;return o&&a.add(e),-1===l.indexOf(e)&&(l.push(e),u&&i&&(n=t.length)),e},cancel:e=>{let t=r.indexOf(e);-1!==t&&r.splice(t,1),a.delete(e)},process:u=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length)for(let r=0;r<n;r++){let n=t[r];n(u),a.has(n)&&(s.schedule(n),e())}i=!1,o&&(o=!1,s.process(u))}};return s}(()=>u=!0),e),{}),h=c.reduce((e,t)=>{let r=d[t];return e[t]=(e,t=!1,n=!1)=>(u||v(),r.schedule(e,t,n)),e},{}),p=c.reduce((e,t)=>(e[t]=d[t].cancel,e),{}),f=c.reduce((e,t)=>(e[t]=()=>d[t].process(a.frameData),e),{}),m=e=>d[e].process(a.frameData),g=e=>{u=!1,a.frameData.delta=s?n:Math.max(Math.min(e-a.frameData.timestamp,40),1),a.frameData.timestamp=e,l=!0,c.forEach(m),l=!1,u&&(s=!1,o(g))},v=()=>{u=!0,s=!0,l||o(g)}},7165:function(e,t,r){"use strict";r.d(t,{E:function(){return nk}});var n,i,o,a,s,u=r(2784);let l=(0,u.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),c=(0,u.createContext)({});var d=r(97967),h=r(23617);let p=(0,u.createContext)({strict:!1});function f(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function m(e){return"string"==typeof e||Array.isArray(e)}function g(e){return"object"==typeof e&&"function"==typeof e.start}let v=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function y(e){return g(e.animate)||v.some(t=>m(e[t]))}function b(e){return!!(y(e)||e.variants)}function w(e){return Array.isArray(e)?e.join(" "):e}let k=e=>({isEnabled:t=>e.some(e=>!!t[e])}),x={measureLayout:k(["layout","layoutId","drag"]),animation:k(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:k(["exit"]),drag:k(["drag","dragControls"]),focus:k(["whileFocus"]),hover:k(["whileHover","onHoverStart","onHoverEnd"]),tap:k(["whileTap","onTap","onTapStart","onTapCancel"]),pan:k(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:k(["whileInView","onViewportEnter","onViewportLeave"])};var _=r(33791),S=r(3105);let E={hasAnimatedSinceResize:!0,hasEverUpdated:!1},D=1;var C=r(3422);class j extends u.Component{getSnapshotBeforeUpdate(){let{visualElement:e,props:t}=this.props;return e&&e.setProps(t),null}componentDidUpdate(){}render(){return this.props.children}}let O=(0,u.createContext)({}),T=Symbol.for("motionComponentSymbol"),A=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function P(e){if("string"!=typeof e||e.includes("-"));else if(A.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let R={},M=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],F=new Set(M);function N(e,{layout:t,layoutId:r}){return F.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!R[e]||"opacity"===e)}var I=r(15815);let L={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},B=(e,t)=>M.indexOf(e)-M.indexOf(t);function z(e){return e.startsWith("--")}let U=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var q=r(28073);function $(e,t,r,n){let{style:i,vars:o,transform:a,transformKeys:s,transformOrigin:u}=e;s.length=0;let l=!1,c=!1,d=!0;for(let e in t){let r=t[e];if(z(e)){o[e]=r;continue}let n=q.j[e],h=U(r,n);if(F.has(e)){if(l=!0,a[e]=h,s.push(e),!d)continue;r!==(n.default||0)&&(d=!1)}else e.startsWith("origin")?(c=!0,u[e]=h):i[e]=h}if(!t.transform&&(l||n?i.transform=function({transform:e,transformKeys:t},{enableHardwareAcceleration:r=!0,allowTransformNone:n=!0},i,o){let a="";for(let r of(t.sort(B),t))a+=`${L[r]||r}(${e[r]}) `;return r&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):n&&i&&(a="none"),a}(e,r,d,n):i.transform&&(i.transform="none")),c){let{originX:e="50%",originY:t="50%",originZ:r=0}=u;i.transformOrigin=`${e} ${t} ${r}`}}let H=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function V(e,t,r){for(let n in t)(0,I.i)(t[n])||N(n,r)||(e[n]=t[n])}let W=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd"]);function G(e){return W.has(e)}let Y=e=>!G(e);try{(n=require("@emotion/is-prop-valid").default)&&(Y=e=>e.startsWith("on")?!G(e):n(e))}catch(e){}var Z=r(88772);function K(e,t,r){return"string"==typeof e?e:Z.px.transform(t+r*e)}let J={offset:"stroke-dashoffset",array:"stroke-dasharray"},X={offset:"strokeDashoffset",array:"strokeDasharray"};function Q(e,{attrX:t,attrY:r,originX:n,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...u},l,c,d){if($(e,u,l,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:p,dimensions:f}=e;h.transform&&(f&&(p.transform=h.transform),delete h.transform),f&&(void 0!==n||void 0!==i||p.transform)&&(p.transformOrigin=function(e,t,r){let n=K(t,e.x,e.width),i=K(r,e.y,e.height);return`${n} ${i}`}(f,void 0!==n?n:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==r&&(h.y=r),void 0!==o&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?J:X;e[o.offset]=Z.px.transform(-n);let a=Z.px.transform(t),s=Z.px.transform(r);e[o.array]=`${a} ${s}`}(h,o,a,s,!1)}let ee=()=>({...H(),attrs:{}}),et=e=>"string"==typeof e&&"svg"===e.toLowerCase(),er=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function en(e,{style:t,vars:r},n,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(n)),r)e.style.setProperty(o,r[o])}let ei=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function eo(e,t,r,n){for(let r in en(e,t,void 0,n),t.attrs)e.setAttribute(ei.has(r)?r:er(r),t.attrs[r])}function ea(e){let{style:t}=e,r={};for(let n in t)((0,I.i)(t[n])||N(n,e))&&(r[n]=t[n]);return r}function es(e){let t=ea(e);for(let r in e)(0,I.i)(e[r])&&(t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]);return t}function eu(e,t,r,n={},i={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,i)),t}let el=e=>Array.isArray(e),ec=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),ed=e=>el(e)?e[e.length-1]||0:e;function eh(e){let t=(0,I.i)(e)?e.get():e;return ec(t)?t.toValue():t}let ep=e=>(t,r)=>{let n=(0,u.useContext)(c),i=(0,u.useContext)(d.O),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,o){let a={latestValues:function(e,t,r,n){let i={},o=n(e);for(let e in o)i[e]=eh(o[e]);let{initial:a,animate:s}=e,u=y(e),l=b(e);t&&l&&!u&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===a)?s:a;return d&&"boolean"!=typeof d&&!g(d)&&(Array.isArray(d)?d:[d]).forEach(t=>{let r=eu(e,t);if(!r)return;let{transitionEnd:n,transition:o,...a}=r;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let e in n)i[e]=n[e]}),i}(n,i,o,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a})(e,t,n,i);return r?o():(0,S.h)(o)},ef={useVisualState:ep({scrapeMotionValuesFromProps:es,createRenderState:ee,onMount:(e,t,{renderState:r,latestValues:n})=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}Q(r,n,{enableHardwareAcceleration:!1},et(t.tagName),e.transformTemplate),eo(t,r)}})},em={useVisualState:ep({scrapeMotionValuesFromProps:ea,createRenderState:H})};function eg(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}function ev(e,t,r,n){(0,u.useEffect)(()=>{let i=e.current;if(r&&i)return eg(i,t,r,n)},[e,t,r,n])}function ey(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}(i=a||(a={})).Animate="animate",i.Hover="whileHover",i.Tap="whileTap",i.Drag="whileDrag",i.Focus="whileFocus",i.InView="whileInView",i.Exit="exit";let eb={pageX:0,pageY:0};function ew(e,t="page"){return{point:e.touches?function(e,t="page"){let r=e.touches[0]||e.changedTouches[0]||eb;return{x:r[t+"X"],y:r[t+"Y"]}}(e,t):function(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}(e,t)}}let ek=(e,t=!1)=>{let r=t=>e(t,ew(t));return t?e=>{let t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}:r},ex=()=>_.j&&null===window.onpointerdown,e_=()=>_.j&&null===window.ontouchstart,eS=()=>_.j&&null===window.onmousedown,eE={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},eD={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function eC(e){if(ex());else if(e_())return eD[e];else if(eS())return eE[e];return e}function ej(e,t,r,n){return eg(e,eC(t),ek(r,"pointerdown"===t),n)}function eO(e,t,r,n){return ev(e,eC(t),r&&ek(r,"pointerdown"===t),n)}function eT(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let eA=eT("dragHorizontal"),eP=eT("dragVertical");function eR(e){let t=!1;if("y"===e)t=eP();else if("x"===e)t=eA();else{let e=eA(),r=eP();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}function eM(){let e=eR(!0);return!e||(e(),!1)}function eF(e,t,r){return(n,i)=>{!(!ey(n)||eM())&&(e.animationState&&e.animationState.setActive(a.Hover,t),r&&r(n,i))}}let eN=(e,t)=>!!t&&(e===t||eN(e,t.parentElement));var eI=r(96073),eL=r(96953),eB=r(28723),ez=r(74963);let eU=new WeakMap,eq=new WeakMap,e$=e=>{let t=eU.get(e.target);t&&t(e)},eH=e=>{e.forEach(e$)},eV={some:0,all:1},eW=e=>t=>(e(t),null),eG={inView:eW(function({visualElement:e,whileInView:t,onViewportEnter:r,onViewportLeave:n,viewport:i={}}){let o=(0,u.useRef)({hasEnteredView:!1,isInView:!1}),s=!!(t||r||n);i.once&&o.current.hasEnteredView&&(s=!1),("undefined"==typeof IntersectionObserver?function(e,t,r,{fallback:n=!0}){(0,u.useEffect)(()=>{e&&n&&("production"!==eB.O&&(0,ez.O)(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;let{onViewportEnter:e}=r.getProps();e&&e(null),r.animationState&&r.animationState.setActive(a.InView,!0)}))},[e])}:function(e,t,r,{root:n,margin:i,amount:o="some",once:s}){(0,u.useEffect)(()=>{if(!e||!r.current)return;let u={root:null==n?void 0:n.current,rootMargin:i,threshold:"number"==typeof o?o:eV[o]};return function(e,t,r){let n=function({root:e,...t}){let r=e||document;eq.has(r)||eq.set(r,{});let n=eq.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(eH,{root:e,...t})),n[i]}(t);return eU.set(e,r),n.observe(e),()=>{eU.delete(e),n.unobserve(e)}}(r.current,u,e=>{let{isIntersecting:n}=e;if(t.isInView===n||(t.isInView=n,s&&!n&&t.hasEnteredView))return;n&&(t.hasEnteredView=!0),r.animationState&&r.animationState.setActive(a.InView,n);let i=r.getProps(),o=n?i.onViewportEnter:i.onViewportLeave;o&&o(e)})},[e,n,i,o])})(s,o.current,e,i)}),tap:eW(function({onTap:e,onTapStart:t,onTapCancel:r,whileTap:n,visualElement:i}){let o=e||t||r||n,s=(0,u.useRef)(!1),l=(0,u.useRef)(null),c={passive:!(t||e||r||m)};function d(){l.current&&l.current(),l.current=null}function h(){return d(),s.current=!1,i.animationState&&i.animationState.setActive(a.Tap,!1),!eM()}function p(t,n){h()&&(eN(i.current,t.target)?e&&e(t,n):r&&r(t,n))}function f(e,t){h()&&r&&r(e,t)}function m(e,r){d(),!s.current&&(s.current=!0,l.current=(0,eL.z)(ej(window,"pointerup",p,c),ej(window,"pointercancel",f,c)),i.animationState&&i.animationState.setActive(a.Tap,!0),t&&t(e,r))}eO(i,"pointerdown",o?m:void 0,c),(0,eI.z)(d)}),focus:eW(function({whileFocus:e,visualElement:t}){let{animationState:r}=t;ev(t,"focus",e?()=>{r&&r.setActive(a.Focus,!0)}:void 0),ev(t,"blur",e?()=>{r&&r.setActive(a.Focus,!1)}:void 0)}),hover:eW(function({onHoverStart:e,onHoverEnd:t,whileHover:r,visualElement:n}){eO(n,"pointerenter",e||r?eF(n,!0,e):void 0,{passive:!e}),eO(n,"pointerleave",t||r?eF(n,!1,t):void 0,{passive:!t})})};var eY=r(58175);function eZ(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}let eK=e=>/^\-?\d*\.?\d+$/.test(e),eJ=e=>/^0[^.\s]+$/.test(e);var eX=r(40226),eQ=r(76865),e0=r(91564),e1=r(45982),e2=r(30397);let e3=e=>t=>t.test(e),e5=[e2.Rx,Z.px,Z.aQ,Z.RW,Z.vw,Z.vh,{test:e=>"auto"===e,parse:e=>e}],e4=e=>e5.find(e3(e)),e6=[...e5,e1.$,eQ.P],e8=e=>e6.find(e3(e));function e9(e,t,r){let n=e.getProps();return eu(n,t,void 0!==r?r:n.custom,function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.getVelocity()),t}(e))}function e7(e){return!!((0,I.i)(e)&&e.add)}var te=r(58387);let tt=(e,t)=>`${e}: ${t}`,tr="data-"+er("framerAppearId");var tn=r(10963);function ti(e,t,r={}){var n;let i=e9(e,t,r.custom),{transition:o=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(o=r.transitionOverride);let a=i?()=>to(e,i,r):()=>Promise.resolve(),s=(null===(n=e.variantChildren)||void 0===n?void 0:n.size)?(n=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,r=0,n=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*n,u=1===i?(e=0)=>e*n:(e=0)=>s-e*n;return Array.from(e.variantChildren).sort(ta).forEach((e,n)=>{a.push(ti(e,t,{...o,delay:r+u(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+n,a,s,r)}:()=>Promise.resolve(),{when:u}=o;if(!u)return Promise.all([a(),s(r.delay)]);{let[e,t]="beforeChildren"===u?[a,s]:[s,a];return e().then(t)}}function to(e,t,{delay:r=0,transitionOverride:n,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...u}=e.makeTargetAnimatable(t),l=e.getValue("willChange");n&&(a=n);let c=[],d=i&&(null===(o=e.animationState)||void 0===o?void 0:o.getState()[i]);for(let t in u){let n=e.getValue(t),i=u[t];if(!n||void 0===i||d&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(d,t))continue;let o={delay:r,elapsed:0,...a};if(e.shouldReduceMotion&&F.has(t)&&(o={...o,type:!1,delay:0}),!n.hasAnimated){let r=e.getProps()[tr];r&&(o.elapsed=function(e,t){let{MotionAppearAnimations:r}=window,n=tt(e,F.has(t)?"transform":t),i=r&&r.get(n);return i?(te.Z_.render(()=>{try{i.cancel(),r.delete(n)}catch(e){}}),i.currentTime||0):0}(r,t))}let s=n.start((0,tn.Z)(t,n,i,o));e7(l)&&(l.add(t),s=s.then(()=>l.remove(t))),c.push(s)}return Promise.all(c).then(()=>{s&&function(e,t){let r=e9(e,t),{transitionEnd:n={},transition:i={},...o}=r?e.makeTargetAnimatable(r,!1):{};for(let t in o={...o,...n}){let r=ed(o[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,(0,eX.B)(r))}}(e,s)})}function ta(e,t){return e.sortNodePosition(t)}let ts=[a.Animate,a.InView,a.Focus,a.Hover,a.Tap,a.Drag,a.Exit],tu=[...ts].reverse(),tl=ts.length;function tc(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let td={animation:eW(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>ti(e,t,r)));else if("string"==typeof t)n=ti(e,t,r);else{let i="function"==typeof t?e9(e,t,r.custom):t;n=to(e,i,r)}return n.then(()=>e.notify("AnimationComplete",t))})(e,t,r))),r={[a.Animate]:tc(!0),[a.InView]:tc(),[a.Hover]:tc(),[a.Tap]:tc(),[a.Drag]:tc(),[a.Focus]:tc(),[a.Exit]:tc()},n=!0,i=(t,r)=>{let n=e9(e,r);if(n){let{transition:e,transitionEnd:r,...i}=n;t={...t,...i,...r}}return t};function o(o,a){let s=e.getProps(),u=e.getVariantContext(!0)||{},l=[],c=new Set,d={},h=1/0;for(let t=0;t<tl;t++){var p;let f=tu[t],v=r[f],y=void 0!==s[f]?s[f]:u[f],b=m(y),w=f===a?v.isActive:null;!1===w&&(h=t);let k=y===u[f]&&y!==s[f]&&b;if(k&&n&&e.manuallyAnimateOnMount&&(k=!1),v.protectedKeys={...d},!v.isActive&&null===w||!y&&!v.prevProp||g(y)||"boolean"==typeof y)continue;let x=(p=v.prevProp,"string"==typeof y?y!==p:!!Array.isArray(y)&&!eZ(y,p)),_=x||f===a&&v.isActive&&!k&&b||t>h&&b,S=Array.isArray(y)?y:[y],E=S.reduce(i,{});!1===w&&(E={});let{prevResolvedValues:D={}}=v,C={...D,...E},j=e=>{_=!0,c.delete(e),v.needsAnimating[e]=!0};for(let e in C){let t=E[e],r=D[e];d.hasOwnProperty(e)||(t!==r?el(t)&&el(r)?!eZ(t,r)||x?j(e):v.protectedKeys[e]=!0:void 0!==t?j(e):c.add(e):void 0!==t&&c.has(e)?j(e):v.protectedKeys[e]=!0)}v.prevProp=y,v.prevResolvedValues=E,v.isActive&&(d={...d,...E}),n&&e.blockInitialAnimation&&(_=!1),_&&!k&&l.push(...S.map(e=>({animation:e,options:{type:f,...o}})))}if(c.size){let t={};c.forEach(r=>{let n=e.getBaseTarget(r);void 0!==n&&(t[r]=n)}),l.push({animation:t})}let f=!!l.length;return n&&!1===s.initial&&!e.manuallyAnimateOnMount&&(f=!1),n=!1,f?t(l):Promise.resolve()}return{animateChanges:o,setActive:function(t,n,i){var a;if(r[t].isActive===n)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;let s=o(i,t);for(let e in r)r[e].protectedKeys={};return s},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e)),g(t)&&(0,u.useEffect)(()=>t.subscribe(e),[t])}),exit:eW(e=>{let{custom:t,visualElement:r}=e,[n,i]=(0,eY.oO)(),o=(0,u.useContext)(d.O);(0,u.useEffect)(()=>{r.isPresent=n;let e=r.animationState&&r.animationState.setActive(a.Exit,!n,{custom:o&&o.custom||t});e&&!n&&e.then(i)},[n])})};var th=r(9340),tp=r(41429);let tf=(e,t)=>Math.abs(e-t);var tm=r(85403);class tg{constructor(e,t,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=tb(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(tf(e.x,t.x)**2+tf(e.y,t.y)**2)>=3);if(!n&&!i)return;let{point:o}=r,{timestamp:a}=tm.frameData;this.history.push({...o,timestamp:a});let{onStart:s,onMove:u}=this.handlers;n||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{if(this.lastMoveEvent=e,this.lastMoveEventInfo=tv(t,this.transformPagePoint),ey(e)&&0===e.buttons){this.handlePointerUp(e,t);return}te.Z_.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n}=this.handlers,i=tb(tv(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},e.touches&&e.touches.length>1)return;this.handlers=t,this.transformPagePoint=r;let n=tv(ew(e),this.transformPagePoint),{point:i}=n,{timestamp:o}=tm.frameData;this.history=[{...i,timestamp:o}];let{onSessionStart:a}=t;a&&a(e,tb(n,this.history)),this.removeListeners=(0,eL.z)(ej(window,"pointermove",this.handlePointerMove),ej(window,"pointerup",this.handlePointerUp),ej(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),te.qY.update(this.updatePoint)}}function tv(e,t){return t?{point:t(e.point)}:e}function ty(e,t){return{x:e.x-t.x,y:e.y-t.y}}function tb({point:e},t){return{point:e,delta:ty(e,tw(t)),offset:ty(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=tw(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>(0,tp.w)(.1)));)r--;if(!n)return{x:0,y:0};let o=(i.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function tw(e){return e[e.length-1]}var tk=r(17475),tx=r(65339);function t_(e){return e.max-e.min}function tS(e,t=0,r=.01){return Math.abs(e-t)<=r}function tE(e,t,r,n=.5){e.origin=n,e.originPoint=(0,tx.C)(t.min,t.max,e.origin),e.scale=t_(r)/t_(t),(tS(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=(0,tx.C)(r.min,r.max,e.origin)-e.originPoint,(tS(e.translate)||isNaN(e.translate))&&(e.translate=0)}function tD(e,t,r,n){tE(e.x,t.x,r.x,null==n?void 0:n.originX),tE(e.y,t.y,r.y,null==n?void 0:n.originY)}function tC(e,t,r){e.min=r.min+t.min,e.max=e.min+t_(t)}function tj(e,t,r){e.min=t.min-r.min,e.max=e.min+t_(t)}function tO(e,t,r){tj(e.x,t.x,r.x),tj(e.y,t.y,r.y)}var tT=r(51366);function tA(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function tP(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function tR(e,t,r){return{min:tM(e,t),max:tM(e,r)}}function tM(e,t){return"number"==typeof e?e:e[t]||0}let tF=()=>({translate:0,scale:1,origin:0,originPoint:0}),tN=()=>({x:tF(),y:tF()}),tI=()=>({min:0,max:0}),tL=()=>({x:tI(),y:tI()});function tB(e){return[e("x"),e("y")]}function tz({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function tU(e){return void 0===e||1===e}function tq({scale:e,scaleX:t,scaleY:r}){return!tU(e)||!tU(t)||!tU(r)}function t$(e){return tq(e)||tH(e)||e.z||e.rotate||e.rotateX||e.rotateY}function tH(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function tV(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function tW(e,t=0,r=1,n,i){e.min=tV(e.min,t,r,n,i),e.max=tV(e.max,t,r,n,i)}function tG(e,{x:t,y:r}){tW(e.x,t.translate,t.scale,t.originPoint),tW(e.y,r.translate,r.scale,r.originPoint)}function tY(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function tZ(e,t){e.min=e.min+t,e.max=e.max+t}function tK(e,t,[r,n,i]){let o=void 0!==t[i]?t[i]:.5,a=(0,tx.C)(e.min,e.max,o);tW(e,t[r],t[n],a,t.scale)}let tJ=["x","scaleX","originX"],tX=["y","scaleY","originY"];function tQ(e,t){tK(e.x,t,tJ),tK(e.y,t,tX)}function t0(e,t){return tz(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}let t1=new WeakMap;class t2{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tL(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){!1!==this.visualElement.isPresent&&(this.panSession=new tg(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(ew(e,"page").point)},onStart:(e,t)=>{var r;let{drag:n,dragPropagation:i,onDragStart:o}=this.getProps();(!n||i||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eR(n),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tB(e=>{var t,r;let n=this.getAxisMotionValue(e).get()||0;if(Z.aQ.test(n)){let i=null===(r=null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.layoutBox[e];if(i){let e=t_(i);n=parseFloat(n)/100*e}}this.originPoint[e]=n}),null==o||o(e,t),null===(r=this.visualElement.animationState)||void 0===r||r.setActive(a.Drag,!0))},onMove:(e,t)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:a}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),null!==this.currentDirection&&(null==i||i(this.currentDirection));return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),null==o||o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:i}=this.getProps();null==i||i(e,t)}cancel(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(a.Drag,!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!t3(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?(0,tx.C)(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?(0,tx.C)(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:r}=this.visualElement.projection||{},n=this.constraints;e&&f(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:tA(e.x,r,i),y:tA(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:tR(e,"left","right"),y:tR(e,"top","bottom")}}(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&tB(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!f(t))return!1;let n=t.current;(0,th.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,r){let n=t0(e,r),{scroll:i}=t;return i&&(tZ(n.x,i.offset.x),tZ(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),a={x:tP((e=i.layout.layoutBox).x,o.x),y:tP(e.y,o.y)};if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=tz(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(tB(a=>{if(!t3(a,t,this.currentDirection))return;let u=(null==s?void 0:s[a])||{};o&&(u={min:0,max:0});let l={type:"inertia",velocity:r?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...u};return this.startAxisValueAnimation(a,l)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return r.start((0,tn.Z)(e,r,0,t))}stopAnimation(){tB(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){var t;let r="_drag"+e.toUpperCase();return this.visualElement.getProps()[r]||this.visualElement.getValue(e,(null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])||0)}snapToCursor(e){tB(t=>{let{drag:r}=this.getProps();if(!t3(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t];i.set(e[t]-(0,tx.C)(r,o,.5))}})}scalePositionWithinConstraints(){var e;if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!f(r)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};tB(e=>{let t=this.getAxisMotionValue(e);if(t){let r=t.get();i[e]=function(e,t){let r=.5,n=t_(e),i=t_(t);return i>n?r=(0,tk.Y)(t.min,t.max-n,e.min):n>i&&(r=(0,tk.Y)(e.min,e.max-i,t.min)),(0,tT.u)(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",null===(e=n.root)||void 0===e||e.updateScroll(),n.updateLayout(),this.resolveConstraints(),tB(e=>{if(!t3(e,t,null))return;let r=this.getAxisMotionValue(e),{min:n,max:o}=this.constraints[e];r.set((0,tx.C)(n,o,i[e]))})}addListeners(){var e;if(!this.visualElement.current)return;t1.set(this.visualElement,this);let t=ej(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),r=()=>{let{dragConstraints:e}=this.getProps();f(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",r);n&&!n.layout&&(null===(e=n.root)||void 0===e||e.updateScroll(),n.updateLayout()),r();let o=eg(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(tB(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),null==a||a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function t3(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}let t5={pan:eW(function({onPan:e,onPanStart:t,onPanEnd:r,onPanSessionStart:n,visualElement:i}){let o=(0,u.useRef)(null),{transformPagePoint:a}=(0,u.useContext)(l),s={onSessionStart:n,onStart:t,onMove:e,onEnd:(e,t)=>{o.current=null,r&&r(e,t)}};(0,u.useEffect)(()=>{null!==o.current&&o.current.updateHandlers(s)}),eO(i,"pointerdown",(e||t||r||n)&&function(e){o.current=new tg(e,s,{transformPagePoint:a})}),(0,eI.z)(()=>o.current&&o.current.end())}),drag:eW(function(e){let{dragControls:t,visualElement:r}=e,n=(0,S.h)(()=>new t2(r));(0,u.useEffect)(()=>t&&t.subscribe(n),[n,t]),(0,u.useEffect)(()=>n.addListeners(),[n])})};var t4=r(88434);function t6(e){return"string"==typeof e&&e.startsWith("var(--")}let t8=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function t9(e,t,r=1){(0,th.k)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,i]=function(e){let t=t8.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]}(e);if(!n)return;let o=window.getComputedStyle(t).getPropertyValue(n);return o?o.trim():t6(i)?t9(i,t,r+1):i}let t7=new Set(["width","height","top","left","right","bottom","x","y"]),re=e=>t7.has(e),rt=e=>Object.keys(e).some(re),rr=(e,t)=>{e.set(t,!1),e.set(t)},rn=e=>e===e2.Rx||e===Z.px;(o=s||(s={})).width="width",o.height="height",o.left="left",o.right="right",o.top="top",o.bottom="bottom";let ri=(e,t)=>parseFloat(e.split(", ")[t]),ro=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/);if(i)return ri(i[1],t);{let t=n.match(/^matrix\((.+)\)$/);return t?ri(t[1],e):0}},ra=new Set(["x","y","z"]),rs=M.filter(e=>!ra.has(e)),ru={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ro(4,13),y:ro(5,14)},rl=(e,t,r)=>{let n=t.measureViewportBox(),i=getComputedStyle(t.current),{display:o}=i,a={};"none"===o&&t.setStaticValue("display",e.display||"block"),r.forEach(e=>{a[e]=ru[e](n,i)}),t.render();let s=t.measureViewportBox();return r.forEach(r=>{rr(t.getValue(r),a[r]),e[r]=ru[r](s,i)}),e},rc=(e,t,r={},n={})=>{t={...t},n={...n};let i=Object.keys(t).filter(re),o=[],a=!1,s=[];if(i.forEach(i=>{let u;let l=e.getValue(i);if(!e.hasValue(i))return;let c=r[i],d=e4(c),h=t[i];if(el(h)){let e=h.length,t=null===h[0]?1:0;d=e4(c=h[t]);for(let r=t;r<e;r++)u?(0,th.k)(e4(h[r])===u,"All keyframes must be of the same type"):(u=e4(h[r]),(0,th.k)(u===d||rn(d)&&rn(u),"Keyframes must be of the same dimension as the current value"))}else u=e4(h);if(d!==u){if(rn(d)&&rn(u)){let e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof h?t[i]=parseFloat(h):Array.isArray(h)&&u===Z.px&&(t[i]=h.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==u?void 0:u.transform)&&(0===c||0===h)?0===c?l.set(u.transform(c)):t[i]=d.transform(h):(a||(o=function(e){let t=[];return rs.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(i),n[i]=void 0!==n[i]?n[i]:t[i],rr(l,h))}}),!s.length)return{target:t,transitionEnd:n};{let r=s.indexOf("height")>=0?window.pageYOffset:null,i=rl(t,e,s);return o.length&&o.forEach(([t,r])=>{e.getValue(t).set(r)}),e.render(),_.j&&null!==r&&window.scrollTo({top:r}),{target:i,transitionEnd:n}}},rd=(e,t,r,n)=>{var i,o;let a=function(e,{...t},r){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};for(let i in r&&(r={...r}),e.values.forEach(e=>{let t=e.get();if(!t6(t))return;let r=t9(t,n);r&&e.set(r)}),t){let e=t[i];if(!t6(e))continue;let o=t9(e,n);o&&(t[i]=o,r&&void 0===r[i]&&(r[i]=e))}return{target:t,transitionEnd:r}}(e,t,n);return t=a.target,n=a.transitionEnd,i=t,o=n,rt(i)?rc(e,i,r,o):{target:i,transitionEnd:o}},rh={current:null},rp={current:!1};var rf=r(88069);let rm=Object.keys(x),rg=rm.length,rv=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ry{constructor({parent:e,props:t,reducedMotionConfig:r,visualState:n},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>te.Z_.render(this.render,!1,!0);let{latestValues:o,renderState:a}=n;this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=a,this.parent=e,this.props=t,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.isControllingVariants=y(t),this.isVariantNode=b(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:s,...u}=this.scrapeMotionValuesFromProps(t);for(let e in u){let t=u[e];void 0!==o[e]&&(0,I.i)(t)&&(t.set(o[e],!1),e7(s)&&s.add(e))}}scrapeMotionValuesFromProps(e){return{}}mount(e){var t;this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(t=this.parent)||void 0===t?void 0:t.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),rp.current||function(){if(rp.current=!0,_.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rh.current=e.matches;e.addListener(t),t()}else rh.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rh.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var e,t,r;for(let n in null===(e=this.projection)||void 0===e||e.unmount(),te.qY.update(this.notifyUpdate),te.qY.render(this.render),this.valueSubscriptions.forEach(e=>e()),null===(t=this.removeFromVariantTree)||void 0===t||t.call(this),null===(r=this.parent)||void 0===r||r.children.delete(this),this.events)this.events[n].clear();this.current=null}bindToMotionValue(e,t){let r=F.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&te.Z_.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures(e,t,r,n,i,o){let a=[];"production"!==eB.O&&r&&t&&(0,th.k)(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let t=0;t<rg;t++){let r=rm[t],{isEnabled:n,Component:i}=x[r];n(e)&&i&&a.push((0,u.createElement)(i,{key:r,...e,visualElement:this}))}if(!this.projection&&i){this.projection=new i(n,this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:r,drag:a,dragConstraints:s,layoutScroll:u}=e;this.projection.setOptions({layoutId:t,layout:r,alwaysMeasureLayout:!!a||s&&f(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:o,layoutScroll:u})}return a}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tL()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}setProps(e){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=e;for(let t=0;t<rv.length;t++){let r=rv[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){let{willChange:n}=t;for(let i in t){let o=t[i],a=r[i];if((0,I.i)(o))e.addValue(i,o),e7(n)&&n.add(i);else if((0,I.i)(a))e.addValue(i,(0,eX.B)(o,{owner:e})),e7(n)&&n.remove(i);else if(a!==o){if(e.hasValue(i)){let t=e.getValue(i);t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(i);e.addValue(i,(0,eX.B)(void 0!==t?t:o))}}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e),this.prevMotionValues)}getProps(){return this.props}getVariant(e){var t;return null===(t=this.props.variants)||void 0===t?void 0:t[e]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var e;return this.isVariantNode?this:null===(e=this.parent)||void 0===e?void 0:e.getClosestVariantNode()}getVariantContext(e=!1){var t,r;if(e)return null===(t=this.parent)||void 0===t?void 0:t.getVariantContext();if(!this.isControllingVariants){let e=(null===(r=this.parent)||void 0===r?void 0:r.getVariantContext())||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let n={};for(let e=0;e<rw;e++){let t=rb[e],r=this.props[t];(m(r)||!1===r)&&(n[t]=r)}return n}addVariantChild(e){var t;let r=this.getClosestVariantNode();if(r)return null===(t=r.variantChildren)||void 0===t||t.add(e),()=>r.variantChildren.delete(e)}addValue(e,t){this.hasValue(e)&&this.removeValue(e),this.values.set(e,t),this.latestValues[e]=t.get(),this.bindToMotionValue(e,t)}removeValue(e){var t;this.values.delete(e),null===(t=this.valueSubscriptions.get(e))||void 0===t||t(),this.valueSubscriptions.delete(e),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=(0,eX.B)(t,{owner:this}),this.addValue(e,r)),r}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(t=eu(this.props,r))||void 0===t?void 0:t[e]:void 0;if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||(0,I.i)(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new rf.L),this.events[e].add(t)}notify(e,...t){var r;null===(r=this.events[e])||void 0===r||r.notify(...t)}}let rb=["initial",...ts],rw=rb.length;class rk extends ry{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){var r;return null===(r=e.style)||void 0===r?void 0:r[t]}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},i){let o=function(e,t,r){var n;let i={};for(let o in e){let e=function(e,t){if(t)return(t[e]||t.default||t).from}(o,t);i[o]=void 0!==e?e:null===(n=r.getValue(o))||void 0===n?void 0:n.get()}return i}(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),o&&(o=n(o))),i){!function(e,t,r){var n,i;let o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){let a=o[s],u=t[a],l=null;Array.isArray(u)&&(l=u[0]),null===l&&(l=null!==(i=null!==(n=r[a])&&void 0!==n?n:e.readValue(a))&&void 0!==i?i:t[a]),null!=l&&("string"==typeof l&&(eK(l)||eJ(l))?l=parseFloat(l):!e8(l)&&eQ.P.test(u)&&(l=(0,e0.T)(a,u)),e.addValue(a,(0,eX.B)(l,{owner:e})),void 0===r[a]&&(r[a]=l),null!==l&&e.setBaseTarget(a,l))}}(this,r,o);let e=rd(this,r,o,t);t=e.transitionEnd,r=e.target}return{transition:e,transitionEnd:t,...r}}}class rx extends rk{readValueFromInstance(e,t){if(F.has(t)){let e=(0,t4.A)(t);return e&&e.default||0}{let r=window.getComputedStyle(e),n=(z(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t0(e,t)}build(e,t,r,n){$(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e){return ea(e)}renderInstance(e,t,r,n){en(e,t,r,n)}}class r_ extends rk{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){var r;return F.has(t)?(null===(r=(0,t4.A)(t))||void 0===r?void 0:r.default)||0:(t=ei.has(t)?t:er(t),e.getAttribute(t))}measureInstanceViewportBox(){return tL()}scrapeMotionValuesFromProps(e){return es(e)}build(e,t,r,n){Q(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){eo(e,t,r,n)}mount(e){this.isSVGTag=et(e.tagName),super.mount(e)}}let rS=(e,t)=>P(e)?new r_(t,{enableHardwareAcceleration:!1}):new rx(t,{enableHardwareAcceleration:!0});function rE(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let rD={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Z.px.test(e))return e;e=parseFloat(e)}let r=rE(e,t.target.x),n=rE(e,t.target.y);return`${r}% ${n}%`}},rC="_$css",rj={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,i=e.includes("var("),o=[];i&&(e=e.replace(t8,e=>(o.push(e),rC)));let a=eQ.P.parse(e);if(a.length>5)return n;let s=eQ.P.createTransformer(e),u="number"!=typeof a[0]?1:0,l=r.x.scale*t.x,c=r.y.scale*t.y;a[0+u]/=l,a[1+u]/=c;let d=(0,tx.C)(l,c,.5);"number"==typeof a[2+u]&&(a[2+u]/=d),"number"==typeof a[3+u]&&(a[3+u]/=d);let h=s(a);if(i){let e=0;h=h.replace(rC,()=>{let t=o[e];return e++,t})}return h}};class rO extends u.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;Object.assign(R,rT),i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),E.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,n||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===i||(i?o.promote():o.relegate()||te.Z_.postRender(()=>{var e;(null===(e=o.getStack())||void 0===e?void 0:e.members.length)||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),(null==t?void 0:t.group)&&t.group.remove(n),(null==r?void 0:r.deregister)&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;null==e||e()}render(){return null}}let rT={borderRadius:{...rD,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rD,borderTopRightRadius:rD,borderBottomLeftRadius:rD,borderBottomRightRadius:rD,boxShadow:rj};var rA=r(51572),rP=r(41469),rR=r(50065);let rM=["TopLeft","TopRight","BottomLeft","BottomRight"],rF=rM.length,rN=e=>"string"==typeof e?parseFloat(e):e,rI=e=>"number"==typeof e||Z.px.test(e);function rL(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rB=rU(0,.5,rP.Bn),rz=rU(.5,.95,rR.Z);function rU(e,t,r){return n=>n<e?0:n>t?1:r((0,tk.Y)(e,t,n))}function rq(e,t){e.min=t.min,e.max=t.max}function r$(e,t){rq(e.x,t.x),rq(e.y,t.y)}function rH(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function rV(e,t,[r,n,i],o,a){!function(e,t=0,r=1,n=.5,i,o=e,a=e){if(Z.aQ.test(t)&&(t=parseFloat(t),t=(0,tx.C)(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=(0,tx.C)(o.min,o.max,n);e===o&&(s-=t),e.min=rH(e.min,t,r,s,i),e.max=rH(e.max,t,r,s,i)}(e,t[r],t[n],t[i],t.scale,o,a)}let rW=["x","scaleX","originX"],rG=["y","scaleY","originY"];function rY(e,t,r,n){rV(e.x,t,rW,null==r?void 0:r.x,null==n?void 0:n.x),rV(e.y,t,rG,null==r?void 0:r.y,null==n?void 0:n.y)}var rZ=r(73172);function rK(e){return 0===e.translate&&1===e.scale}function rJ(e){return rK(e.x)&&rK(e.y)}function rX(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function rQ(e){return t_(e.x)/t_(e.y)}var r0=r(44866);class r1{constructor(){this.members=[]}add(e){(0,r0.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,r0.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){var r;let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),(null===(r=e.root)||void 0===r?void 0:r.isUpdating)&&(e.isLayoutDirty=!0);let{crossfade:i}=e.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{var t,r,n,i,o;null===(r=(t=e.options).onExitComplete)||void 0===r||r.call(t),null===(o=null===(n=e.resumingFrom)||void 0===n?void 0:(i=n.options).onExitComplete)||void 0===o||o.call(i)})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function r2(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(n=`translate3d(${i}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:e,rotateX:t,rotateY:i}=r;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),i&&(n+=`rotateY(${i}deg) `)}let a=e.x.scale*t.x,s=e.y.scale*t.y;return(1!==a||1!==s)&&(n+=`scale(${a}, ${s})`),n||"none"}let r3=(e,t)=>e.depth-t.depth;class r5{constructor(){this.children=[],this.isDirty=!1}add(e){(0,r0.y4)(this.children,e),this.isDirty=!0}remove(e){(0,r0.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(r3),this.isDirty=!1,this.children.forEach(e)}}var r4=r(59803);let r6=["","X","Y","Z"],r8=0;function r9({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e,r={},n=null==t?void 0:t()){this.id=r8++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(nt),this.nodes.forEach(na),this.nodes.forEach(ns)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=e,this.latestValues=r,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new r5)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new rf.L),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);null==r||r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}registerPotentialNode(e,t){this.potentialNodes.set(e,t)}mount(t,r=!1){var n;if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),r&&(o||i)&&(this.isLayoutDirty=!0),e){let r;let n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=(0,r4.g)(n,250),E.hasAnimatedSinceResize&&(E.hasAnimatedSinceResize=!1,this.nodes.forEach(no))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{var i,o,s,u,l;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let c=null!==(o=null!==(i=this.options.transition)&&void 0!==i?i:a.getDefaultTransition())&&void 0!==o?o:np,{onLayoutAnimationStart:d,onLayoutAnimationComplete:h}=a.getProps(),p=!this.targetLayout||!rX(this.targetLayout,n)||r,f=!t&&r;if((null===(s=this.resumeFrom)||void 0===s?void 0:s.instance)||f||t&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,f);let t={...(0,rZ.ev)(c,"layout"),onPlay:d,onComplete:h};a.shouldReduceMotion&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||0!==this.animationProgress||no(this),this.isLead()&&(null===(l=(u=this.options).onExitComplete)||void 0===l||l.call(u));this.targetLayout=n})}unmount(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,te.qY.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1}startUpdate(){var e;!this.isUpdateBlocked()&&(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(nu),this.animationId++)}willUpdate(e=!0){var t,r,n;if(this.root.isUpdateBlocked()){null===(r=(t=this.options).onExitComplete)||void 0===r||r.call(t);return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot")}let{layoutId:i,layout:o}=this.options;if(void 0===i&&!o)return;let a=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null==a?void 0:a(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nn);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(nf),this.potentialNodes.clear()),this.nodes.forEach(ni),this.nodes.forEach(r7),this.nodes.forEach(ne),this.clearAllSnapshots(),te.iW.update(),te.iW.preRender(),te.iW.render())}clearAllSnapshots(){this.nodes.forEach(nr),this.sharedNodes.forEach(nl)}scheduleUpdateProjection(){te.Z_.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){te.Z_.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){var e;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=tL(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),null===(e=this.options.visualElement)||void 0===e||e.notify("LayoutMeasure",this.layout.layoutBox,null==t?void 0:t.layoutBox)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){var e;if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,r=this.projectionDelta&&!rJ(this.projectionDelta),n=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==n?void 0:n(this.latestValues,""),a=o!==this.prevTransformTemplateValue;t&&(r||t$(this.latestValues)||a)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),nm((t=n).x),nm(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return tL();let t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(tZ(t.x,r.offset.x),tZ(t.y,r.offset.y)),t}removeElementScroll(e){let t=tL();r$(t,e);for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;if(n!==this.root&&i&&o.layoutScroll){if(i.isRoot){r$(t,e);let{scroll:r}=this.root;r&&(tZ(t.x,-r.offset.x),tZ(t.y,-r.offset.y))}tZ(t.x,i.offset.x),tZ(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){let r=tL();r$(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&tQ(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),t$(n.latestValues)&&tQ(r,n.latestValues)}return t$(this.latestValues)&&tQ(r,this.latestValues),r}removeTransform(e){var t;let r=tL();r$(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!t$(n.latestValues))continue;tq(n.latestValues)&&n.updateSnapshot();let i=tL();r$(i,n.measurePageBox()),rY(r,n.latestValues,null===(t=n.snapshot)||void 0===t?void 0:t.layoutBox,i)}return t$(this.latestValues)&&rY(r,this.latestValues),r}setTargetDelta(e){this.targetDelta=e,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var e,t,r,n;let i=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;let{layout:o,layoutId:a}=this.options;if(this.layout&&(o||a)){if(!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout?(this.relativeParent=e,this.relativeTarget=tL(),this.relativeTargetOrigin=tL(),tO(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),r$(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if((this.relativeTarget||this.targetDelta)&&((this.target||(this.target=tL(),this.targetWithTransforms=tL()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target))?(t=this.target,r=this.relativeTarget,n=this.relativeParent.target,tC(t.x,r.x,n.x),tC(t.y,r.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):r$(this.target,this.layout.layoutBox),tG(this.target,this.targetDelta)):r$(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target?(this.relativeParent=e,this.relativeTarget=tL(),this.relativeTargetOrigin=tL(),tO(this.relativeTargetOrigin,this.target,e.target),r$(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||tq(this.parent.latestValues)||tH(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var e;let{isProjectionDirty:t,isTransformDirty:r}=this;this.isProjectionDirty=this.isTransformDirty=!1;let n=this.getLead(),i=!!this.resumingFrom||this!==n,o=!0;if(t&&(o=!1),i&&r&&(o=!1),o)return;let{layout:a,layoutId:s}=this.options;if(this.isTreeAnimating=!!((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(a||s))return;r$(this.layoutCorrected,this.layout.layoutBox),function(e,t,r,n=!1){var i,o;let a,s;let u=r.length;if(u){t.x=t.y=1;for(let l=0;l<u;l++)s=(a=r[l]).projectionDelta,(null===(o=null===(i=a.instance)||void 0===i?void 0:i.style)||void 0===o?void 0:o.display)!=="contents"&&(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&tQ(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,tG(e,s)),n&&t$(a.latestValues)&&tQ(e,a.latestValues));t.x=tY(t.x),t.y=tY(t.y)}}(this.layoutCorrected,this.treeScale,this.path,i);let{target:u}=n;if(!u)return;this.projectionDelta||(this.projectionDelta=tN(),this.projectionDeltaWithTransform=tN());let l=this.treeScale.x,c=this.treeScale.y,d=this.projectionTransform;tD(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.projectionTransform=r2(this.projectionDelta,this.treeScale),(this.projectionTransform!==d||this.treeScale.x!==l||this.treeScale.y!==c)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t,r,n;null===(r=(t=this.options).scheduleRender)||void 0===r||r.call(t),e&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){var r,n;let i=this.snapshot,o=(null==i?void 0:i.latestValues)||{},a={...this.latestValues},s=tN();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;let u=tL(),l=(null==i?void 0:i.source)!==(null===(r=this.layout)||void 0===r?void 0:r.source),c=1>=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(nh));this.animationProgress=0,this.mixTargetDelta=t=>{var r,n,i;let h=t/1e3;nc(s.x,e.x,h),nc(s.y,e.y,h),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(r=this.relativeParent)||void 0===r?void 0:r.layout)&&(tO(u,this.layout.layoutBox,this.relativeParent.layout.layoutBox),n=this.relativeTarget,i=this.relativeTargetOrigin,nd(n.x,i.x,u.x,h),nd(n.y,i.y,u.y,h)),l&&(this.animationValues=a,function(e,t,r,n,i,o){i?(e.opacity=(0,tx.C)(0,void 0!==r.opacity?r.opacity:1,rB(n)),e.opacityExit=(0,tx.C)(void 0!==t.opacity?t.opacity:1,0,rz(n))):o&&(e.opacity=(0,tx.C)(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let i=0;i<rF;i++){let o=`border${rM[i]}Radius`,a=rL(t,o),s=rL(r,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||rI(a)===rI(s)?(e[o]=Math.max((0,tx.C)(rN(a),rN(s),n),0),(Z.aQ.test(s)||Z.aQ.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=(0,tx.C)(t.rotate||0,r.rotate||0,n))}(a,o,this.latestValues,h,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=h},this.mixTargetDelta(0)}startAnimation(e){var t,r;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(r=this.resumingFrom.currentAnimation)||void 0===r||r.stop()),this.pendingAnimation&&(te.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=te.Z_.update(()=>{E.hasAnimatedSinceResize=!0,this.currentAnimation=(0,rA.j)(0,1e3,{...e,onUpdate:t=>{var r;this.mixTargetDelta(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:()=>{var t;null===(t=e.onComplete)||void 0===t||t.call(e),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&ng(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||tL();let t=t_(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=t_(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}r$(t,r),tQ(t,i),tD(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){var r,n,i;this.sharedNodes.has(e)||this.sharedNodes.set(e,new r1),this.sharedNodes.get(e).add(t),t.promote({transition:null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.transition,preserveFollowOpacity:null===(i=null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(n,t)})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(t=!0),!t)return;let n={};for(let t=0;t<r6.length;t++){let i="rotate"+r6[t];r[i]&&(n[i]=r[i],e.setStaticValue(i,0))}for(let t in null==e||e.render(),n)e.setStaticValue(t,n[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,r,n;let i={};if(!this.instance||this.isSVG)return i;if(!this.isVisible)return{visibility:"hidden"};i.visibility="";let o=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=eh(e.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eh(e.pointerEvents)||""),this.hasProjected&&!t$(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}let s=a.animationValues||a.latestValues;this.applyTransformsToTarget(),i.transform=r2(this.projectionDeltaWithTransform,this.treeScale,s),o&&(i.transform=o(s,i.transform));let{x:u,y:l}=this.projectionDelta;for(let e in i.transformOrigin=`${100*u.origin}% ${100*l.origin}% 0`,a.animationValues?i.opacity=a===this?null!==(n=null!==(r=s.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=a===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,R){if(void 0===s[e])continue;let{correct:t,applyTo:r}=R[e],n=t(s[e],a);if(r){let e=r.length;for(let t=0;t<e;t++)i[r[t]]=n}else i[e]=n}return this.options.layoutId&&(i.pointerEvents=a===this?eh(e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(nn),this.root.sharedNodes.clear()}}}function r7(e){e.updateLayout()}function ne(e){var t,r,n;let i=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:r}=e.layout,{animationType:n}=e.options,o=i.source!==e.layout.source;"size"===n?tB(e=>{let r=o?i.measuredBox[e]:i.layoutBox[e],n=t_(r);r.min=t[e].min,r.max=r.min+n}):ng(n,i.layoutBox,t)&&tB(e=>{let r=o?i.measuredBox[e]:i.layoutBox[e],n=t_(t[e]);r.max=r.min+n});let a=tN();tD(a,t,i.layoutBox);let s=tN();o?tD(s,e.applyTransform(r,!0),i.measuredBox):tD(s,t,i.layoutBox);let u=!rJ(a),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:e,layout:n}=r;if(e&&n){let r=tL();tO(r,i.layoutBox,e.layoutBox);let o=tL();tO(o,t,n.layoutBox),rX(r,o)||(l=!0)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:i,delta:s,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:l})}else e.isLead()&&(null===(n=(r=e.options).onExitComplete)||void 0===n||n.call(r));e.options.transition=void 0}function nt(e){e.isProjectionDirty||(e.isProjectionDirty=!!(e.parent&&e.parent.isProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=!!(e.parent&&e.parent.isTransformDirty))}function nr(e){e.clearSnapshot()}function nn(e){e.clearMeasurements()}function ni(e){let{visualElement:t}=e.options;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function no(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function na(e){e.resolveTargetDelta()}function ns(e){e.calcProjection()}function nu(e){e.resetRotation()}function nl(e){e.removeLeadSnapshot()}function nc(e,t,r){e.translate=(0,tx.C)(t.translate,0,r),e.scale=(0,tx.C)(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function nd(e,t,r,n){e.min=(0,tx.C)(t.min,r.min,n),e.max=(0,tx.C)(t.max,r.max,n)}function nh(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let np={duration:.45,ease:[.4,0,.1,1]};function nf(e,t){let r=e.root;for(let t=e.path.length-1;t>=0;t--)if(e.path[t].instance){r=e.path[t];break}let n=(r&&r!==e.root?r.instance:document).querySelector(`[data-projection-id="${t}"]`);n&&e.mount(n,!0)}function nm(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function ng(e,t,r){return"position"===e||"preserve-aspect"===e&&!tS(rQ(t),rQ(r),.2)}let nv=r9({attachResizeListener:(e,t)=>eg(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ny={current:void 0},nb=r9({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ny.current){let e=new nv(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),ny.current=e}return ny.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),nw={...td,...eG,...t5,measureLayout:function(e){let[t,r]=(0,eY.oO)(),n=(0,u.useContext)(C.p);return u.createElement(rO,{...e,layoutGroup:n,switchLayoutGroup:(0,u.useContext)(O),isPresent:t,safeToRemove:r})}},nk=function(e){function t(t,r={}){return function({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:r,useRender:n,useVisualState:i,Component:o}){e&&function(e){for(let t in e)"projectionNodeConstructor"===t?x.projectionNodeConstructor=e[t]:x[t].Component=e[t]}(e);let a=(0,u.forwardRef)(function(a,s){var g;let v={...(0,u.useContext)(l),...a,layoutId:function({layoutId:e}){let t=(0,u.useContext)(C.p).id;return t&&void 0!==e?t+"-"+e:e}(a)},{isStatic:b}=v,k=null,T=function(e){let{initial:t,animate:r}=function(e,t){if(y(e)){let{initial:t,animate:r}=e;return{initial:!1===t||m(t)?t:void 0,animate:m(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,u.useContext)(c));return(0,u.useMemo)(()=>({initial:t,animate:r}),[w(t),w(r)])}(a),A=b?void 0:(0,S.h)(()=>{if(E.hasEverUpdated)return D++}),P=i(a,b);if(!b&&_.j){T.visualElement=function(e,t,r,n){let i=(0,u.useContext)(c).visualElement,o=(0,u.useContext)(p),a=(0,u.useContext)(d.O),s=(0,u.useContext)(l).reducedMotion,f=(0,u.useRef)();n=n||o.renderer,!f.current&&n&&(f.current=n(e,{visualState:t,parent:i,props:r,presenceId:a?a.id:void 0,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));let m=f.current;return(0,h.L)(()=>{m&&m.render()}),(0,h.L)(()=>{m&&m.animationState&&m.animationState.animateChanges()}),(0,h.L)(()=>()=>m&&m.notify("Unmount"),[]),m}(o,P,v,t);let n=(0,u.useContext)(p).strict,i=(0,u.useContext)(O);T.visualElement&&(k=T.visualElement.loadFeatures(v,n,e,A,r||x.projectionNodeConstructor,i))}return u.createElement(j,{visualElement:T.visualElement,props:v},k,u.createElement(c.Provider,{value:T},n(o,a,A,(g=T.visualElement,(0,u.useCallback)(e=>{e&&P.mount&&P.mount(e),g&&(e?g.mount(e):g.unmount()),s&&("function"==typeof s?s(e):f(s)&&(s.current=e))},[g])),P,b,T.visualElement)))});return a[T]=o,a}(e(t,r))}if("undefined"==typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},r,n,i){return{...P(e)?ef:em,preloadedFeatures:r,useRender:function(e=!1){return(t,r,n,i,{latestValues:o},a)=>{let s=(P(t)?function(e,t,r,n){let i=(0,u.useMemo)(()=>{let r=ee();return Q(r,t,{enableHardwareAcceleration:!1},et(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};V(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t,r){let n={},i=function(e,t,r){let n=e.style||{},i={};return V(i,n,e),Object.assign(i,function({transformTemplate:e},t,r){return(0,u.useMemo)(()=>{let n=H();return $(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),e.transformValues?e.transformValues(i):i}(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),n.style=i,n})(r,o,a,t),l={...function(e,t,r){let n={};for(let i in e)(Y(i)||!0===r&&G(i)||!t&&!G(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(r,"string"==typeof t,e),...s,ref:i};return n&&(l["data-projection-id"]=n),(0,u.createElement)(t,l)}}(t),createVisualElement:n,projectionNodeConstructor:i,Component:e}})(e,t,nw,rS,nb))},91564:function(e,t,r){"use strict";r.d(t,{T:function(){return a}});var n=r(76865),i=r(73764),o=r(88434);function a(e,t){var r;let a=(0,o.A)(e);return a!==i.h&&(a=n.P),null===(r=a.getAnimatableNone)||void 0===r?void 0:r.call(a,t)}},88434:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});var n=r(45982),i=r(73764);let o={...r(28073).j,color:n.$,backgroundColor:n.$,outlineColor:n.$,fill:n.$,stroke:n.$,borderColor:n.$,borderTopColor:n.$,borderRightColor:n.$,borderBottomColor:n.$,borderLeftColor:n.$,filter:i.h,WebkitFilter:i.h},a=e=>o[e]},28073:function(e,t,r){"use strict";r.d(t,{j:function(){return a}});var n=r(30397),i=r(88772);let o={...n.Rx,transform:Math.round},a={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.RW,rotateX:i.RW,rotateY:i.RW,rotateZ:i.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:i.RW,skewX:i.RW,skewY:i.RW,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:n.Fq,originX:i.$C,originY:i.$C,originZ:i.px,zIndex:o,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:o}},44866:function(e,t,r){"use strict";function n(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}r.d(t,{cl:function(){return i},y4:function(){return n}})},51366:function(e,t,r){"use strict";r.d(t,{u:function(){return n}});let n=(e,t,r)=>Math.min(Math.max(r,e),t)},59803:function(e,t,r){"use strict";r.d(t,{g:function(){return i}});var n=r(58387);function i(e,t){let r=performance.now(),i=({timestamp:o})=>{let a=o-r;a>=t&&(n.qY.read(i),e(a-t))};return n.Z_.read(i,!0),()=>n.qY.read(i)}},33791:function(e,t,r){"use strict";r.d(t,{j:function(){return n}});let n="undefined"!=typeof document},65339:function(e,t,r){"use strict";r.d(t,{C:function(){return n}});let n=(e,t,r)=>-r*e+r*t+e},50065:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=e=>e},96953:function(e,t,r){"use strict";r.d(t,{z:function(){return i}});let n=(e,t)=>r=>t(e(r)),i=(...e)=>e.reduce(n)},28723:function(e,t,r){"use strict";r.d(t,{O:function(){return i}});var n=r(34406);let i=(void 0===n||n.env,"production")},17475:function(e,t,r){"use strict";r.d(t,{Y:function(){return n}});let n=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n}},88069:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r(44866);class i{constructor(){this.subscriptions=[]}add(e){return(0,n.y4)(this.subscriptions,e),()=>(0,n.cl)(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},41429:function(e,t,r){"use strict";r.d(t,{w:function(){return n}});let n=e=>1e3*e},3105:function(e,t,r){"use strict";r.d(t,{h:function(){return i}});var n=r(2784);function i(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},23617:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r(2784);let i=r(33791).j?n.useLayoutEffect:n.useEffect},96073:function(e,t,r){"use strict";r.d(t,{z:function(){return i}});var n=r(2784);function i(e){return(0,n.useEffect)(()=>()=>e(),[])}},75394:function(e,t,r){"use strict";function n(e,t){return t?1e3/t*e:0}r.d(t,{R:function(){return n}})},74963:function(e,t,r){"use strict";r.d(t,{O:function(){return i}});let n=new Set;function i(e,t,r){e||n.has(t)||(console.warn(t),r&&console.warn(r),n.add(t))}},40226:function(e,t,r){"use strict";r.d(t,{B:function(){return l}});var n=r(85403),i=r(58387),o=r(88069),a=r(75394);let s=e=>!isNaN(parseFloat(e));class u{constructor(e,t={}){this.version="7.10.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:r,timestamp:o}=n.frameData;this.lastUpdated!==o&&(this.timeDelta=r,this.lastUpdated=o,i.Z_.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>i.Z_.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=s(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){return this.events[e]||(this.events[e]=new o.L),this.events[e].add(t)}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e){this.passiveEffect=e}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,a.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.stopAnimation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.clearListeners(),this.stop()}}function l(e,t){return new u(e,t)}},92395:function(e,t,r){"use strict";r.d(t,{$:function(){return i}});var n=r(56572);let i={test:(0,r(24536).i)("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:n.m.transform}},86845:function(e,t,r){"use strict";r.d(t,{J:function(){return s}});var n=r(30397),i=r(88772),o=r(59747),a=r(24536);let s={test:(0,a.i)("hsl","hue"),parse:(0,a.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:a=1})=>"hsla("+Math.round(e)+", "+i.aQ.transform((0,o.Nw)(t))+", "+i.aQ.transform((0,o.Nw)(r))+", "+(0,o.Nw)(n.Fq.transform(a))+")"}},45982:function(e,t,r){"use strict";r.d(t,{$:function(){return s}});var n=r(59747),i=r(92395),o=r(86845),a=r(56572);let s={test:e=>a.m.test(e)||i.$.test(e)||o.J.test(e),parse:e=>a.m.test(e)?a.m.parse(e):o.J.test(e)?o.J.parse(e):i.$.parse(e),transform:e=>(0,n.HD)(e)?e:e.hasOwnProperty("red")?a.m.transform(e):o.J.transform(e)}},56572:function(e,t,r){"use strict";r.d(t,{m:function(){return l}});var n=r(51366),i=r(30397),o=r(59747),a=r(24536);let s=e=>(0,n.u)(0,255,e),u={...i.Rx,transform:e=>Math.round(s(e))},l={test:(0,a.i)("rgb","red"),parse:(0,a.d)("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+u.transform(e)+", "+u.transform(t)+", "+u.transform(r)+", "+(0,o.Nw)(i.Fq.transform(n))+")"}},24536:function(e,t,r){"use strict";r.d(t,{d:function(){return o},i:function(){return i}});var n=r(59747);let i=(e,t)=>r=>!!((0,n.HD)(r)&&n.mj.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),o=(e,t,r)=>i=>{if(!(0,n.HD)(i))return i;let[o,a,s,u]=i.match(n.KP);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(s),alpha:void 0!==u?parseFloat(u):1}}},73764:function(e,t,r){"use strict";r.d(t,{h:function(){return u}});var n=r(76865),i=r(59747);let o=new Set(["brightness","contrast","saturate","opacity"]);function a(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(i.KP)||[];if(!n)return e;let a=r.replace(n,""),s=o.has(t)?1:0;return n!==r&&(s*=100),t+"("+s+a+")"}let s=/([a-z-]*)\(.*?\)/g,u={...n.P,getAnimatableNone:e=>{let t=e.match(s);return t?t.map(a).join(" "):e}}},76865:function(e,t,r){"use strict";r.d(t,{P:function(){return h},V:function(){return u}});var n=r(45982),i=r(30397),o=r(59747);let a="${c}",s="${n}";function u(e){"number"==typeof e&&(e=`${e}`);let t=[],r=0,u=0,l=e.match(o.dA);l&&(r=l.length,e=e.replace(o.dA,a),t.push(...l.map(n.$.parse)));let c=e.match(o.KP);return c&&(u=c.length,e=e.replace(o.KP,s),t.push(...c.map(i.Rx.parse))),{values:t,numColors:r,numNumbers:u,tokenised:e}}function l(e){return u(e).values}function c(e){let{values:t,numColors:r,tokenised:i}=u(e),l=t.length;return e=>{let t=i;for(let i=0;i<l;i++)t=t.replace(i<r?a:s,i<r?n.$.transform(e[i]):(0,o.Nw)(e[i]));return t}}let d=e=>"number"==typeof e?0:e,h={test:function(e){var t,r;return isNaN(e)&&(0,o.HD)(e)&&((null===(t=e.match(o.KP))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(o.dA))||void 0===r?void 0:r.length)||0)>0},parse:l,createTransformer:c,getAnimatableNone:function(e){let t=l(e);return c(e)(t.map(d))}}},30397:function(e,t,r){"use strict";r.d(t,{Fq:function(){return o},Rx:function(){return i},bA:function(){return a}});var n=r(51366);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...i,transform:e=>(0,n.u)(0,1,e)},a={...i,default:1}},88772:function(e,t,r){"use strict";r.d(t,{$C:function(){return c},RW:function(){return o},aQ:function(){return a},px:function(){return s},vh:function(){return u},vw:function(){return l}});var n=r(59747);let i=e=>({test:t=>(0,n.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=i("deg"),a=i("%"),s=i("px"),u=i("vh"),l=i("vw"),c={...a,parse:e=>a.parse(e)/100,transform:e=>a.transform(100*e)}},59747:function(e,t,r){"use strict";r.d(t,{HD:function(){return s},KP:function(){return i},Nw:function(){return n},dA:function(){return o},mj:function(){return a}});let n=e=>Math.round(1e5*e)/1e5,i=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,a=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function s(e){return"string"==typeof e}},15815:function(e,t,r){"use strict";r.d(t,{i:function(){return n}});let n=e=>!!(null==e?void 0:e.getVelocity)},92277:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(46182);function i(e){return(i="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})(e)}function o(e){return function e(t,r){switch(i(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":if(null===t)return"null";return function(t,r){if(-1!==r.indexOf(t))return"[Circular]";var i,o,a=[].concat(r,[t]),s="function"==typeof(i=t[String(n.Z)])?i:"function"==typeof t.inspect?t.inspect:void 0;if(void 0!==s){var u=s.call(t);if(u!==t)return"string"==typeof u?u:e(u,a)}else if(Array.isArray(t))return function(t,r){if(0===t.length)return"[]";if(r.length>2)return"[Array]";for(var n=Math.min(10,t.length),i=t.length-n,o=[],a=0;a<n;++a)o.push(e(t[a],r));return 1===i?o.push("... 1 more item"):i>1&&o.push("... ".concat(i," more items")),"["+o.join(", ")+"]"}(t,a);return 0===(o=Object.keys(t)).length?"{}":a.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(t)+"]":"{ "+o.map(function(r){var n=e(t[r],a);return r+": "+n}).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}},46182:function(e,t){"use strict";var r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.Z=r},10835:function(e,t,r){"use strict";r.d(t,{Ye:function(){return o},WU:function(){return a},UG:function(){return s}});var n=r(46182);function i(e){var t=e.prototype.toJSON;"function"==typeof t||function(e,t){throw Error("Unexpected invariant triggered.")}(0),e.prototype.inspect=t,n.Z&&(e.prototype[n.Z]=t)}var o=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();i(o);var a=function(){function e(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function s(e){return null!=e&&"string"==typeof e.kind}i(a)},85717:function(e,t,r){"use strict";function n(e){var t=e.split(/\r\n|[\n\r]/g),r=function(e){for(var t,r=!0,n=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:r=!1,n=!0,i=0;break;case 9:case 32:++i;break;default:n&&!r&&(null===o||i<o)&&(o=i),n=!1}return null!==(t=o)&&void 0!==t?t:0}(e);if(0!==r)for(var n=1;n<t.length;n++)t[n]=t[n].slice(r);for(var o=0;o<t.length&&i(t[o]);)++o;for(var a=t.length;a>o&&i(t[a-1]);)--a;return t.slice(o,a).join("\n")}function i(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"	"!==e[t])return!1;return!0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||"	"===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||o||a||r,u="";return s&&!(n&&i)&&(u+="\n"+t),u+=t?e.replace(/\n/g,"\n"+t):e,s&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}r.d(t,{LZ:function(){return o},W7:function(){return n}})},75899:function(e,t,r){"use strict";r.d(t,{H:function(){return a},T:function(){return s}});var n=r(11176),i=r(92277);function o(e,t){if(!e)throw Error(t)}var a=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||o(0,"Body must be a string. Received: ".concat((0,i.Z)(e),".")),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||o(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||o(0,"column in locationOffset is 1-indexed and must be positive.")}return function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,[{key:n.YF,get:function(){return"Source"}}]),e}();function s(e){return e instanceof a}},58867:function(e,t,r){"use strict";r.d(t,{$_:function(){return a},Vn:function(){return s}});var n=r(92277),i=r(10835),o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=Object.freeze({});function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,u=Array.isArray(e),l=[e],c=-1,d=[],h=void 0,p=void 0,f=void 0,m=[],g=[],v=e;do{var y,b=++c===l.length,w=b&&0!==d.length;if(b){if(p=0===g.length?void 0:m[m.length-1],h=f,f=g.pop(),w){if(u)h=h.slice();else{for(var k={},x=0,_=Object.keys(h);x<_.length;x++){var S=_[x];k[S]=h[S]}h=k}for(var E=0,D=0;D<d.length;D++){var C=d[D][0],j=d[D][1];u&&(C-=E),u&&null===j?(h.splice(C,1),E++):h[C]=j}}c=s.index,l=s.keys,d=s.edits,u=s.inArray,s=s.prev}else{if(p=f?u?c:l[c]:void 0,null==(h=f?f[p]:v))continue;f&&m.push(p)}var O=void 0;if(!Array.isArray(h)){if(!(0,i.UG)(h))throw Error("Invalid AST Node: ".concat((0,n.Z)(h),"."));var T=function(e,t,r){var n=e[t];if(n){if(!r&&"function"==typeof n)return n;var i=r?n.leave:n.enter;if("function"==typeof i)return i}else{var o=r?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}(t,h.kind,b);if(T){if((O=T.call(t,h,p,f,m,g))===a)break;if(!1===O){if(!b){m.pop();continue}}else if(void 0!==O&&(d.push([p,O]),!b)){if((0,i.UG)(O))h=O;else{m.pop();continue}}}}void 0===O&&w&&d.push([p,h]),b?m.pop():(s={inArray:u,index:c,keys:l,edits:d,prev:s},l=(u=Array.isArray(h))?h:null!==(y=r[h.kind])&&void 0!==y?y:[],c=-1,d=[],f&&g.push(f),f=h)}while(void 0!==s);return 0!==d.length&&(v=d[d.length-1][1]),v}},11176:function(e,t,r){"use strict";r.d(t,{YF:function(){return n}});var n="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag"},10186:function(e,t,r){"use strict";let n;function i(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function o(){return n||(n=function(e,t){let r=indexedDB.open(e);r.onupgradeneeded=()=>r.result.createObjectStore(t);let n=i(r);return(e,r)=>n.then(n=>r(n.transaction(t,e).objectStore(t)))}("keyval-store","keyval")),n}function a(e,t=o()){return t("readonly",t=>i(t.get(e)))}function s(e,t,r=o()){return r("readwrite",r=>(r.put(t,e),i(r.transaction)))}r.d(t,{U2:function(){return a},t8:function(){return s}})},49431:function(e,t,r){"use strict";r(48834).lW,"function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder&&new TextEncoder,(e=>{let t={};e.forEach((e,r)=>t[e]=r)})([..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="]),String.fromCharCode.bind(String),"function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array)},21805:function(e,t){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var n=function e(t,n){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(n[s]=t.read(a,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){i(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});t.Z=n},93524:function(e,t,r){"use strict";var n={isObject:function(e){return"object"==typeof e&&null!==e},repeat:function(e,t){var r,n="";for(r=0;r<t;r+=1)n+=e;return n},isNegativeZero:function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e}};function i(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+="\n\n"+e.mark.snippet),n+" "+r):n}function o(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=i(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function a(e,t,r,n,i){var o="",a="",s=Math.floor(i/2)-1;return n-t>s&&(t=n-s+(o=" ... ").length),r-n>s&&(r=n+s-(a=" ...").length),{str:o+e.slice(t,r).replace(/\t/g,"→")+a,pos:n-t+o.length}}function s(e,t){return n.repeat(" ",t-e.length)+e}o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o.prototype.toString=function(e){return this.name+": "+i(this,e)};var u=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,i=[0],o=[],u=-1;l=r.exec(e.buffer);)o.push(l.index),i.push(l.index+l[0].length),e.position<=l.index&&u<0&&(u=i.length-2);u<0&&(u=i.length-1);var l,c,d,h="",p=Math.min(e.line+t.linesAfter,o.length).toString().length,f=t.maxLength-(t.indent+p+3);for(c=1;c<=t.linesBefore&&!(u-c<0);c++)d=a(e.buffer,i[u-c],o[u-c],e.position-(i[u]-i[u-c]),f),h=n.repeat(" ",t.indent)+s((e.line-c+1).toString(),p)+" | "+d.str+"\n"+h;for(d=a(e.buffer,i[u],o[u],e.position,f),h+=n.repeat(" ",t.indent)+s((e.line+1).toString(),p)+" | "+d.str+"\n"+n.repeat("-",t.indent+p+3+d.pos)+"^\n",c=1;c<=t.linesAfter&&!(u+c>=o.length);c++)d=a(e.buffer,i[u+c],o[u+c],e.position-(i[u]-i[u+c]),f),h+=n.repeat(" ",t.indent)+s((e.line+c+1).toString(),p)+" | "+d.str+"\n";return h.replace(/\n$/,"")},l=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],c=["scalar","sequence","mapping"],d=function(e,t){var r,n;if(Object.keys(t=t||{}).forEach(function(t){if(-1===l.indexOf(t))throw new o('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=(r=t.styleAliases||null,n={},null!==r&&Object.keys(r).forEach(function(e){r[e].forEach(function(t){n[String(t)]=e})}),n),-1===c.indexOf(this.kind))throw new o('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function h(e,t){var r=[];return e[t].forEach(function(e){var t=r.length;r.forEach(function(r,n){r.tag===e.tag&&r.kind===e.kind&&r.multi===e.multi&&(t=n)}),r[t]=e}),r}function p(e){return this.extend(e)}p.prototype.extend=function(e){var t=[],r=[];if(e instanceof d)r.push(e);else if(Array.isArray(e))r=r.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(r=r.concat(e.explicit));else throw new o("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(e){if(!(e instanceof d))throw new o("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new o("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new o("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(e){if(!(e instanceof d))throw new o("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(p.prototype);return n.implicit=(this.implicit||[]).concat(t),n.explicit=(this.explicit||[]).concat(r),n.compiledImplicit=h(n,"implicit"),n.compiledExplicit=h(n,"explicit"),n.compiledTypeMap=function(){var e,t,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(e){e.multi?(r.multi[e.kind].push(e),r.multi.fallback.push(e)):r[e.kind][e.tag]=r.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(n);return r}(n.compiledImplicit,n.compiledExplicit),n};var f=new p({explicit:[new d("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),new d("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),new d("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})]}),m=new d("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),g=new d("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),v=new d("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n,i,o=e.length,a=0,s=!1;if(!o)return!1;if(("-"===(i=e[a])||"+"===i)&&(i=e[++a]),"0"===i){if(a+1===o)return!0;if("b"===(i=e[++a])){for(a++;a<o;a++)if("_"!==(i=e[a])){if("0"!==i&&"1"!==i)return!1;s=!0}return s&&"_"!==i}if("x"===i){for(a++;a<o;a++)if("_"!==(i=e[a])){if(!(48<=(t=e.charCodeAt(a))&&t<=57||65<=t&&t<=70||97<=t&&t<=102))return!1;s=!0}return s&&"_"!==i}if("o"===i){for(a++;a<o;a++)if("_"!==(i=e[a])){if(!(48<=(r=e.charCodeAt(a))&&r<=55))return!1;s=!0}return s&&"_"!==i}}if("_"===i)return!1;for(;a<o;a++)if("_"!==(i=e[a])){if(!(48<=(n=e.charCodeAt(a))&&n<=57))return!1;s=!0}return!!s&&"_"!==i},construct:function(e){var t,r=e,n=1;if(-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),("-"===(t=r[0])||"+"===t)&&("-"===t&&(n=-1),t=(r=r.slice(1))[0]),"0"===r)return 0;if("0"===t){if("b"===r[1])return n*parseInt(r.slice(2),2);if("x"===r[1])return n*parseInt(r.slice(2),16);if("o"===r[1])return n*parseInt(r.slice(2),8)}return n*parseInt(r,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!n.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),y=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),b=/^[-+]?[0-9]+e/,w=new d("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return!!(null!==e&&y.test(e)&&"_"!==e[e.length-1])},construct:function(e){var t,r;return(r="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t)?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:r*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||n.isNegativeZero(e))},represent:function(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(n.isNegativeZero(e))return"-0.0";return r=e.toString(10),b.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"}),k=f.extend({implicit:[m,g,v,w]}),x=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),S=new d("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==x.exec(e)||null!==_.exec(e))},construct:function(e){var t,r,n,i,o,a,s,u,l=0,c=null;if(null===(t=x.exec(e))&&(t=_.exec(e)),null===t)throw Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(o=+t[4],a=+t[5],s=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l=+l}return t[9]&&(c=(60*+t[10]+ +(t[11]||0))*6e4,"-"===t[9]&&(c=-c)),u=new Date(Date.UTC(r,n,i,o,a,s,l)),c&&u.setTime(u.getTime()-c),u},instanceOf:Date,represent:function(e){return e.toISOString()}}),E=new d("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),D="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",C=new d("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=0,i=e.length;for(r=0;r<i;r++)if(!((t=D.indexOf(e.charAt(r)))>64)){if(t<0)return!1;n+=6}return n%8==0},construct:function(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,o=0,a=[];for(t=0;t<i;t++)t%4==0&&t&&(a.push(o>>16&255),a.push(o>>8&255),a.push(255&o)),o=o<<6|D.indexOf(n.charAt(t));return 0==(r=i%4*6)?(a.push(o>>16&255),a.push(o>>8&255),a.push(255&o)):18===r?(a.push(o>>10&255),a.push(o>>2&255)):12===r&&a.push(o>>4&255),new Uint8Array(a)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,r,n="",i=0,o=e.length;for(t=0;t<o;t++)t%3==0&&t&&(n+=D[i>>18&63]+D[i>>12&63]+D[i>>6&63]+D[63&i]),i=(i<<8)+e[t];return 0==(r=o%3)?n+=D[i>>18&63]+D[i>>12&63]+D[i>>6&63]+D[63&i]:2===r?n+=D[i>>10&63]+D[i>>4&63]+D[i<<2&63]+D[64]:1===r&&(n+=D[i>>2&63]+D[i<<4&63]+D[64]+D[64]),n}}),j=Object.prototype.hasOwnProperty,O=Object.prototype.toString,T=new d("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,r,n,i,o,a=[];for(t=0,r=e.length;t<r;t+=1){if(n=e[t],o=!1,"[object Object]"!==O.call(n))return!1;for(i in n)if(j.call(n,i)){if(o)return!1;o=!0}if(!o||-1!==a.indexOf(i))return!1;a.push(i)}return!0},construct:function(e){return null!==e?e:[]}}),A=Object.prototype.toString,P=new d("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){var t,r,n,i,o;if(null===e)return!0;for(t=0,o=Array(e.length),r=e.length;t<r;t+=1){if(n=e[t],"[object Object]"!==A.call(n)||1!==(i=Object.keys(n)).length)return!1;o[t]=[i[0],n[i[0]]]}return!0},construct:function(e){var t,r,n,i,o;if(null===e)return[];for(t=0,o=Array(e.length),r=e.length;t<r;t+=1)i=Object.keys(n=e[t]),o[t]=[i[0],n[i[0]]];return o}}),R=Object.prototype.hasOwnProperty,M=new d("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){var t;if(null===e)return!0;for(t in e)if(R.call(e,t)&&null!==e[t])return!1;return!0},construct:function(e){return null!==e?e:{}}}),F=k.extend({implicit:[S,E],explicit:[C,T,P,M]}),N=Object.prototype.hasOwnProperty,I=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,L=/[\x85\u2028\u2029]/,B=/[,\[\]\{\}]/,z=/^(?:!|!!|![a-z\-]+!)$/i,U=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function q(e){return Object.prototype.toString.call(e)}function $(e){return 10===e||13===e}function H(e){return 9===e||32===e}function V(e){return 9===e||32===e||10===e||13===e}function W(e){return 44===e||91===e||93===e||123===e||125===e}function G(e){return 48===e?"\0":97===e?"\x07":98===e?"\b":116===e?"	":9===e?"	":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"\x1b":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"\x85":95===e?"\xa0":76===e?"\u2028":80===e?"\u2029":""}for(var Y=Array(256),Z=Array(256),K=0;K<256;K++)Y[K]=G(K)?1:0,Z[K]=G(K);function J(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||F,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function X(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=u(r),new o(t,r)}function Q(e,t){throw X(e,t)}function ee(e,t){e.onWarning&&e.onWarning.call(null,X(e,t))}var et={YAML:function(e,t,r){var n,i,o;null!==e.version&&Q(e,"duplication of %YAML directive"),1!==r.length&&Q(e,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&Q(e,"ill-formed argument of the YAML directive"),i=parseInt(n[1],10),o=parseInt(n[2],10),1!==i&&Q(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&ee(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,i;2!==r.length&&Q(e,"TAG directive accepts exactly two arguments"),n=r[0],i=r[1],z.test(n)||Q(e,"ill-formed tag handle (first argument) of the TAG directive"),N.call(e.tagMap,n)&&Q(e,'there is a previously declared suffix for "'+n+'" tag handle'),U.test(i)||Q(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(t){Q(e,"tag prefix is malformed: "+i)}e.tagMap[n]=i}};function er(e,t,r,n){var i,o,a,s;if(t<r){if(s=e.input.slice(t,r),n)for(i=0,o=s.length;i<o;i+=1)9===(a=s.charCodeAt(i))||32<=a&&a<=1114111||Q(e,"expected valid JSON character");else I.test(s)&&Q(e,"the stream contains non-printable characters");e.result+=s}}function en(e,t,r,i){var o,a,s,u;for(n.isObject(r)||Q(e,"cannot merge mappings; the provided source object is unacceptable"),s=0,u=(o=Object.keys(r)).length;s<u;s+=1)a=o[s],N.call(t,a)||(t[a]=r[a],i[a]=!0)}function ei(e,t,r,n,i,o,a,s,u){var l,c;if(Array.isArray(i))for(l=0,c=(i=Array.prototype.slice.call(i)).length;l<c;l+=1)Array.isArray(i[l])&&Q(e,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===q(i[l])&&(i[l]="[object Object]");if("object"==typeof i&&"[object Object]"===q(i)&&(i="[object Object]"),i=String(i),null===t&&(t={}),"tag:yaml.org,2002:merge"===n){if(Array.isArray(o))for(l=0,c=o.length;l<c;l+=1)en(e,t,o[l],r);else en(e,t,o,r)}else!e.json&&!N.call(r,i)&&N.call(t,i)&&(e.line=a||e.line,e.lineStart=s||e.lineStart,e.position=u||e.position,Q(e,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:o}):t[i]=o,delete r[i];return t}function eo(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):Q(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function ea(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);0!==i;){for(;H(i);)9===i&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&35===i)do i=e.input.charCodeAt(++e.position);while(10!==i&&13!==i&&0!==i);if($(i))for(eo(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return -1!==r&&0!==n&&e.lineIndent<r&&ee(e,"deficient indentation"),n}function es(e){var t,r=e.position;return!!((45===(t=e.input.charCodeAt(r))||46===t)&&t===e.input.charCodeAt(r+1)&&t===e.input.charCodeAt(r+2)&&(r+=3,0===(t=e.input.charCodeAt(r))||V(t)))}function eu(e,t){1===t?e.result+=" ":t>1&&(e.result+=n.repeat("\n",t-1))}function el(e,t){var r,n,i=e.tag,o=e.anchor,a=[],s=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),n=e.input.charCodeAt(e.position);0!==n&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,Q(e,"tab characters must not be used in indentation")),45===n&&V(e.input.charCodeAt(e.position+1)));){if(s=!0,e.position++,ea(e,!0,-1)&&e.lineIndent<=t){a.push(null),n=e.input.charCodeAt(e.position);continue}if(r=e.line,ec(e,t,3,!1,!0),a.push(e.result),ea(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)Q(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!s&&(e.tag=i,e.anchor=o,e.kind="sequence",e.result=a,!0)}function ec(e,t,r,i,o){var a,s,u,l,c,d,h,p,f,m=1,g=!1,v=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=s=u=4===r||3===r,i&&ea(e,!0,-1)&&(g=!0,e.lineIndent>t?m=1:e.lineIndent===t?m=0:e.lineIndent<t&&(m=-1)),1===m)for(;function(e){var t,r,n,i,o=!1,a=!1;if(33!==(i=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&Q(e,"duplication of a tag property"),60===(i=e.input.charCodeAt(++e.position))?(o=!0,i=e.input.charCodeAt(++e.position)):33===i?(a=!0,r="!!",i=e.input.charCodeAt(++e.position)):r="!",t=e.position,o){do i=e.input.charCodeAt(++e.position);while(0!==i&&62!==i);e.position<e.length?(n=e.input.slice(t,e.position),i=e.input.charCodeAt(++e.position)):Q(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!V(i);)33===i&&(a?Q(e,"tag suffix cannot contain exclamation marks"):(r=e.input.slice(t-1,e.position+1),z.test(r)||Q(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),i=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),B.test(n)&&Q(e,"tag suffix cannot contain flow indicator characters")}n&&!U.test(n)&&Q(e,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(t){Q(e,"tag name is malformed: "+n)}return o?e.tag=n:N.call(e.tagMap,r)?e.tag=e.tagMap[r]+n:"!"===r?e.tag="!"+n:"!!"===r?e.tag="tag:yaml.org,2002:"+n:Q(e,'undeclared tag handle "'+r+'"'),!0}(e)||function(e){var t,r;if(38!==(r=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&Q(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!V(r)&&!W(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&Q(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}(e);)ea(e,!0,-1)?(g=!0,u=a,e.lineIndent>t?m=1:e.lineIndent===t?m=0:e.lineIndent<t&&(m=-1)):u=!1;if(u&&(u=g||o),(1===m||4===r)&&(p=1===r||2===r?t:t+1,f=e.position-e.lineStart,1===m?u&&(el(e,f)||function(e,t,r){var n,i,o,a,s,u,l,c=e.tag,d=e.anchor,h={},p=Object.create(null),f=null,m=null,g=null,v=!1,y=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=h),l=e.input.charCodeAt(e.position);0!==l;){if(v||-1===e.firstTabInLine||(e.position=e.firstTabInLine,Q(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),o=e.line,(63===l||58===l)&&V(n))63===l?(v&&(ei(e,h,p,f,m,null,a,s,u),f=m=g=null),y=!0,v=!0,i=!0):v?(v=!1,i=!0):Q(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,l=n;else{if(a=e.line,s=e.lineStart,u=e.position,!ec(e,r,2,!1,!0))break;if(e.line===o){for(l=e.input.charCodeAt(e.position);H(l);)l=e.input.charCodeAt(++e.position);if(58===l)V(l=e.input.charCodeAt(++e.position))||Q(e,"a whitespace character is expected after the key-value separator within a block mapping"),v&&(ei(e,h,p,f,m,null,a,s,u),f=m=g=null),y=!0,v=!1,i=!1,f=e.tag,m=e.result;else{if(!y)return e.tag=c,e.anchor=d,!0;Q(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return e.tag=c,e.anchor=d,!0;Q(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((e.line===o||e.lineIndent>t)&&(v&&(a=e.line,s=e.lineStart,u=e.position),ec(e,t,4,!0,i)&&(v?m=e.result:g=e.result),v||(ei(e,h,p,f,m,g,a,s,u),f=m=g=null),ea(e,!0,-1),l=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>t)&&0!==l)Q(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return v&&ei(e,h,p,f,m,null,a,s,u),y&&(e.tag=c,e.anchor=d,e.kind="mapping",e.result=h),y}(e,f,p))||function(e,t){var r,n,i,o,a,s,u,l,c,d,h,p,f=!0,m=e.tag,g=e.anchor,v=Object.create(null);if(91===(p=e.input.charCodeAt(e.position)))a=93,l=!1,o=[];else{if(123!==p)return!1;a=125,l=!0,o={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=o),p=e.input.charCodeAt(++e.position);0!==p;){if(ea(e,!0,t),(p=e.input.charCodeAt(e.position))===a)return e.position++,e.tag=m,e.anchor=g,e.kind=l?"mapping":"sequence",e.result=o,!0;f?44===p&&Q(e,"expected the node content, but found ','"):Q(e,"missed comma between flow collection entries"),d=c=h=null,s=u=!1,63===p&&V(e.input.charCodeAt(e.position+1))&&(s=u=!0,e.position++,ea(e,!0,t)),r=e.line,n=e.lineStart,i=e.position,ec(e,t,1,!1,!0),d=e.tag,c=e.result,ea(e,!0,t),p=e.input.charCodeAt(e.position),(u||e.line===r)&&58===p&&(s=!0,p=e.input.charCodeAt(++e.position),ea(e,!0,t),ec(e,t,1,!1,!0),h=e.result),l?ei(e,o,v,d,c,h,r,n,i):s?o.push(ei(e,null,v,d,c,h,r,n,i)):o.push(c),ea(e,!0,t),44===(p=e.input.charCodeAt(e.position))?(f=!0,p=e.input.charCodeAt(++e.position)):f=!1}Q(e,"unexpected end of the stream within a flow collection")}(e,p)?v=!0:(s&&function(e,t){var r,i,o,a,s,u=1,l=!1,c=!1,d=t,h=0,p=!1;if(124===(s=e.input.charCodeAt(e.position)))o=!1;else{if(62!==s)return!1;o=!0}for(e.kind="scalar",e.result="";0!==s;)if(43===(s=e.input.charCodeAt(++e.position))||45===s)1===u?u=43===s?3:2:Q(e,"repeat of a chomping mode identifier");else if((a=48<=(r=s)&&r<=57?r-48:-1)>=0)0===a?Q(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?Q(e,"repeat of an indentation width identifier"):(d=t+a-1,c=!0);else break;if(H(s)){do s=e.input.charCodeAt(++e.position);while(H(s));if(35===s)do s=e.input.charCodeAt(++e.position);while(!$(s)&&0!==s)}for(;0!==s;){for(eo(e),e.lineIndent=0,s=e.input.charCodeAt(e.position);(!c||e.lineIndent<d)&&32===s;)e.lineIndent++,s=e.input.charCodeAt(++e.position);if(!c&&e.lineIndent>d&&(d=e.lineIndent),$(s)){h++;continue}if(e.lineIndent<d){3===u?e.result+=n.repeat("\n",l?1+h:h):1===u&&l&&(e.result+="\n");break}for(o?H(s)?(p=!0,e.result+=n.repeat("\n",l?1+h:h)):p?(p=!1,e.result+=n.repeat("\n",h+1)):0===h?l&&(e.result+=" "):e.result+=n.repeat("\n",h):e.result+=n.repeat("\n",l?1+h:h),l=!0,c=!0,h=0,i=e.position;!$(s)&&0!==s;)s=e.input.charCodeAt(++e.position);er(e,i,e.position,!1)}return!0}(e,p)||function(e,t){var r,n,i;if(39!==(r=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(er(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return!0;n=e.position,e.position++,i=e.position}else $(r)?(er(e,n,i,!0),eu(e,ea(e,!1,t)),n=i=e.position):e.position===e.lineStart&&es(e)?Q(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Q(e,"unexpected end of the stream within a single quoted scalar")}(e,p)||function(e,t){var r,n,i,o,a,s,u,l;if(34!==(s=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return er(e,r,e.position,!0),e.position++,!0;if(92===s){if(er(e,r,e.position,!0),$(s=e.input.charCodeAt(++e.position)))ea(e,!1,t);else if(s<256&&Y[s])e.result+=Z[s],e.position++;else if((a=120===(u=s)?2:117===u?4:85===u?8:0)>0){for(i=a,o=0;i>0;i--)(a=function(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}(s=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:Q(e,"expected hexadecimal character");e.result+=(l=o)<=65535?String.fromCharCode(l):String.fromCharCode((l-65536>>10)+55296,(l-65536&1023)+56320),e.position++}else Q(e,"unknown escape sequence");r=n=e.position}else $(s)?(er(e,r,n,!0),eu(e,ea(e,!1,t)),r=n=e.position):e.position===e.lineStart&&es(e)?Q(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Q(e,"unexpected end of the stream within a double quoted scalar")}(e,p)?v=!0:function(e){var t,r,n;if(42!==(n=e.input.charCodeAt(e.position)))return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!V(n)&&!W(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&Q(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),N.call(e.anchorMap,r)||Q(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],ea(e,!0,-1),!0}(e)?(v=!0,(null!==e.tag||null!==e.anchor)&&Q(e,"alias node should not have any properties")):function(e,t,r){var n,i,o,a,s,u,l,c,d=e.kind,h=e.result;if(V(c=e.input.charCodeAt(e.position))||W(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(V(n=e.input.charCodeAt(e.position+1))||r&&W(n)))return!1;for(e.kind="scalar",e.result="",i=o=e.position,a=!1;0!==c;){if(58===c){if(V(n=e.input.charCodeAt(e.position+1))||r&&W(n))break}else if(35===c){if(V(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&es(e)||r&&W(c))break;else if($(c)){if(s=e.line,u=e.lineStart,l=e.lineIndent,ea(e,!1,-1),e.lineIndent>=t){a=!0,c=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=u,e.lineIndent=l;break}a&&(er(e,i,o,!1),eu(e,e.line-s),i=o=e.position,a=!1),H(c)||(o=e.position+1),c=e.input.charCodeAt(++e.position)}return er(e,i,o,!1),!!e.result||(e.kind=d,e.result=h,!1)}(e,p,1===r)&&(v=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===m&&(v=u&&el(e,f))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&Q(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l<c;l+=1)if((h=e.implicitTypes[l]).resolve(e.result)){e.result=h.construct(e.result),e.tag=h.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else if("!"!==e.tag){if(N.call(e.typeMap[e.kind||"fallback"],e.tag))h=e.typeMap[e.kind||"fallback"][e.tag];else for(l=0,h=null,c=(d=e.typeMap.multi[e.kind||"fallback"]).length;l<c;l+=1)if(e.tag.slice(0,d[l].tag.length)===d[l].tag){h=d[l];break}h||Q(e,"unknown tag !<"+e.tag+">"),null!==e.result&&h.kind!==e.kind&&Q(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+h.kind+'", not "'+e.kind+'"'),h.resolve(e.result,e.tag)?(e.result=h.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):Q(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||v}var ed=Object.prototype.toString,eh=Object.prototype.hasOwnProperty,ep={};ep[0]="\\0",ep[7]="\\a",ep[8]="\\b",ep[9]="\\t",ep[10]="\\n",ep[11]="\\v",ep[12]="\\f",ep[13]="\\r",ep[27]="\\e",ep[34]='\\"',ep[92]="\\\\",ep[133]="\\N",ep[160]="\\_",ep[8232]="\\L",ep[8233]="\\P";var ef=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],em=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function eg(e,t){for(var r,i=n.repeat(" ",t),o=0,a=-1,s="",u=e.length;o<u;)-1===(a=e.indexOf("\n",o))?(r=e.slice(o),o=u):(r=e.slice(o,a+1),o=a+1),r.length&&"\n"!==r&&(s+=i),s+=r;return s}function ev(e,t){return"\n"+n.repeat(" ",e.indent*t)}function ey(e){return 32===e||9===e}function eb(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function ew(e){return eb(e)&&65279!==e&&13!==e&&10!==e}function ek(e,t,r){var n=ew(e),i=n&&!ey(e);return(r?n:n&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e)&&35!==e&&!(58===t&&!i)||ew(t)&&!ey(t)&&35===e||58===t&&i}function ex(e,t){var r,n=e.charCodeAt(t);return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1))>=56320&&r<=57343?(n-55296)*1024+r-56320+65536:n}function e_(e){return/^\n* /.test(e)}function eS(e,t){var r=e_(e)?String(t):"",n="\n"===e[e.length-1];return r+(n&&("\n"===e[e.length-2]||"\n"===e)?"+":n?"":"-")+"\n"}function eE(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function eD(e,t){if(""===e||" "===e[0])return e;for(var r,n,i=/ [^ ]/g,o=0,a=0,s=0,u="";r=i.exec(e);)(s=r.index)-o>t&&(n=a>o?a:s,u+="\n"+e.slice(o,n),o=n+1),a=s;return u+="\n",e.length-o>t&&a>o?u+=e.slice(o,a)+"\n"+e.slice(a+1):u+=e.slice(o),u.slice(1)}function eC(e,t,r,n){var i,o,a,s="",u=e.tag;for(i=0,o=r.length;i<o;i+=1)a=r[i],e.replacer&&(a=e.replacer.call(r,String(i),a)),(eO(e,t+1,a,!0,!0,!1,!0)||void 0===a&&eO(e,t+1,null,!0,!0,!1,!0))&&(n&&""===s||(s+=ev(e,t)),e.dump&&10===e.dump.charCodeAt(0)?s+="-":s+="- ",s+=e.dump);e.tag=u,e.dump=s||"[]"}function ej(e,t,r){var n,i,a,s,u,l;for(a=0,s=(i=r?e.explicitTypes:e.implicitTypes).length;a<s;a+=1)if(((u=i[a]).instanceOf||u.predicate)&&(!u.instanceOf||"object"==typeof t&&t instanceof u.instanceOf)&&(!u.predicate||u.predicate(t))){if(r?u.multi&&u.representName?e.tag=u.representName(t):e.tag=u.tag:e.tag="?",u.represent){if(l=e.styleMap[u.tag]||u.defaultStyle,"[object Function]"===ed.call(u.represent))n=u.represent(t,l);else if(eh.call(u.represent,l))n=u.represent[l](t,l);else throw new o("!<"+u.tag+'> tag resolver accepts not "'+l+'" style');e.dump=n}return!0}return!1}function eO(e,t,r,i,a,s,u){e.tag=null,e.dump=r,ej(e,r,!1)||ej(e,r,!0);var l,c=ed.call(e.dump),d=i;i&&(i=e.flowLevel<0||e.flowLevel>t);var h,p,f,m="[object Object]"===c||"[object Array]"===c;if(m&&(f=-1!==(p=e.duplicates.indexOf(r))),(null!==e.tag&&"?"!==e.tag||f||2!==e.indent&&t>0)&&(a=!1),f&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(m&&f&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),"[object Object]"===c)i&&0!==Object.keys(e.dump).length?(!function(e,t,r,n){var i,a,s,u,l,c,d="",h=e.tag,p=Object.keys(r);if(!0===e.sortKeys)p.sort();else if("function"==typeof e.sortKeys)p.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(i=0,a=p.length;i<a;i+=1)c="",n&&""===d||(c+=ev(e,t)),u=r[s=p[i]],e.replacer&&(u=e.replacer.call(r,s,u)),eO(e,t+1,s,!0,!0,!0)&&((l=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&10===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,l&&(c+=ev(e,t)),eO(e,t+1,u,!0,l)&&(e.dump&&10===e.dump.charCodeAt(0)?c+=":":c+=": ",c+=e.dump,d+=c));e.tag=h,e.dump=d||"{}"}(e,t,e.dump,a),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,r){var n,i,o,a,s,u="",l=e.tag,c=Object.keys(r);for(n=0,i=c.length;n<i;n+=1)s="",""!==u&&(s+=", "),e.condenseFlow&&(s+='"'),a=r[o=c[n]],e.replacer&&(a=e.replacer.call(r,o,a)),eO(e,t,o,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),eO(e,t,a,!1,!1)&&(s+=e.dump,u+=s));e.tag=l,e.dump="{"+u+"}"}(e,t,e.dump),f&&(e.dump="&ref_"+p+" "+e.dump));else if("[object Array]"===c)i&&0!==e.dump.length?(e.noArrayIndent&&!u&&t>0?eC(e,t-1,e.dump,a):eC(e,t,e.dump,a),f&&(e.dump="&ref_"+p+e.dump)):(!function(e,t,r){var n,i,o,a="",s=e.tag;for(n=0,i=r.length;n<i;n+=1)o=r[n],e.replacer&&(o=e.replacer.call(r,String(n),o)),(eO(e,t,o,!1,!1)||void 0===o&&eO(e,t,null,!1,!1))&&(""!==a&&(a+=","+(e.condenseFlow?"":" ")),a+=e.dump);e.tag=s,e.dump="["+a+"]"}(e,t,e.dump),f&&(e.dump="&ref_"+p+" "+e.dump));else if("[object String]"===c)"?"!==e.tag&&(l=e.dump,e.dump=function(){if(0===l.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==ef.indexOf(l)||em.test(l)))return 2===e.quotingType?'"'+l+'"':"'"+l+"'";var r=e.indent*Math.max(1,t),i=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-r);switch(function(e,t,r,n,i,o,a,s){var u,l,c,d=0,h=null,p=!1,f=!1,m=-1!==n,g=-1,v=eb(u=ex(e,0))&&65279!==u&&!ey(u)&&45!==u&&63!==u&&58!==u&&44!==u&&91!==u&&93!==u&&123!==u&&125!==u&&35!==u&&38!==u&&42!==u&&33!==u&&124!==u&&61!==u&&62!==u&&39!==u&&34!==u&&37!==u&&64!==u&&96!==u&&!ey(l=ex(e,e.length-1))&&58!==l;if(t||a)for(c=0;c<e.length;d>=65536?c+=2:c++){if(!eb(d=ex(e,c)))return 5;v=v&&ek(d,h,s),h=d}else{for(c=0;c<e.length;d>=65536?c+=2:c++){if(10===(d=ex(e,c)))p=!0,m&&(f=f||c-g-1>n&&" "!==e[g+1],g=c);else if(!eb(d))return 5;v=v&&ek(d,h,s),h=d}f=f||m&&c-g-1>n&&" "!==e[g+1]}return p||f?r>9&&e_(e)?5:a?2===o?5:2:f?4:3:!v||a||i(e)?2===o?5:2:1}(l,s||e.flowLevel>-1&&t>=e.flowLevel,e.indent,i,function(t){return function(e,t){var r,n;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(e.implicitTypes[r].resolve(t))return!0;return!1}(e,t)},e.quotingType,e.forceQuotes&&!s,d)){case 1:return l;case 2:return"'"+l.replace(/'/g,"''")+"'";case 3:return"|"+eS(l,e.indent)+eE(eg(l,r));case 4:return">"+eS(l,e.indent)+eE(eg(function(e,t){for(var r,n,i,o=/(\n+)([^\n]*)/g,a=(r=-1!==(r=e.indexOf("\n"))?r:e.length,o.lastIndex=r,eD(e.slice(0,r),t)),s="\n"===e[0]||" "===e[0];i=o.exec(e);){var u=i[1],l=i[2];n=" "===l[0],a+=u+(s||n||""===l?"":"\n")+eD(l,t),s=n}return a}(l,i),r));case 5:return'"'+function(e){for(var t,r="",i=0,a=0;a<e.length;i>=65536?a+=2:a++)!(t=ep[i=ex(e,a)])&&eb(i)?(r+=e[a],i>=65536&&(r+=e[a+1])):r+=t||function(e){var t,r,i;if(t=e.toString(16).toUpperCase(),e<=255)r="x",i=2;else if(e<=65535)r="u",i=4;else if(e<=4294967295)r="U",i=8;else throw new o("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+n.repeat("0",i-t.length)+t}(i);return r}(l)+'"';default:throw new o("impossible error: invalid scalar style")}}());else{if("[object Undefined]"===c||e.skipInvalid)return!1;throw new o("unacceptable kind of an object to dump "+c)}null!==e.tag&&"?"!==e.tag&&(h=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),h="!"===e.tag[0]?"!"+h:"tag:yaml.org,2002:"===h.slice(0,18)?"!!"+h.slice(18):"!<"+h+">",e.dump=h+" "+e.dump)}return!0}function eT(e,t){return function(){throw Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}eT("safeLoad","load"),eT("safeLoadAll","loadAll"),eT("safeDump","dump")},83571:function(e,t,r){"use strict";function n(e,t,r){if(i())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&c(o,r.prototype),o}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function o(e){return(o="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})(e)}function a(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(n.key),n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return n(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)})(e)}function h(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.r(t),r.d(t,{JSONPath:function(){return y}});var f=Object.prototype.hasOwnProperty;function m(e,t){return(e=e.slice()).push(t),e}function g(e,t){return(t=t.slice()).unshift(e),t}var v=function(e){function t(e){var r,n,o;return a(this,t),o=['JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)'],n=l(n=t),(r=function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(n,o||[],l(this).constructor):n.apply(this,o))).avoidNew=!0,r.value=e,r.name="NewError",r}return!function(e,t){if("function"!=typeof t&&null!==t)throw 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&&c(e,t)}(t,e),u(t)}(d(Error));function y(e,t,r,n,i){if(!(this instanceof y))try{return new y(e,t,r,n,i)}catch(e){if(!e.avoidNew)throw e;return e.value}"string"==typeof e&&(i=n,n=r,r=t,t=e,e=null);var a=e&&"object"===o(e);if(e=e||{},this.json=e.json||r,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!f.call(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.preventEval=e.preventEval||!1,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||n||null,this.otherTypeCallback=e.otherTypeCallback||i||function(){throw TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){var s={path:a?e.path:t};a?"json"in e&&(s.json=e.json):s.json=r;var u=this.evaluate(s);if(!u||"object"!==o(u))throw new v(u);return u}}y.prototype.evaluate=function(e,t,r,n){var i=this,a=this.parent,s=this.parentProperty,u=this.flatten,l=this.wrap;if(this.currResultType=this.resultType,this.currPreventEval=this.preventEval,this.currSandbox=this.sandbox,r=r||this.callback,this.currOtherTypeCallback=n||this.otherTypeCallback,t=t||this.json,(e=e||this.path)&&"object"===o(e)&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!f.call(e,"json"))throw TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');t=e.json,u=f.call(e,"flatten")?e.flatten:u,this.currResultType=f.call(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=f.call(e,"sandbox")?e.sandbox:this.currSandbox,l=f.call(e,"wrap")?e.wrap:l,this.currPreventEval=f.call(e,"preventEval")?e.preventEval:this.currPreventEval,r=f.call(e,"callback")?e.callback:r,this.currOtherTypeCallback=f.call(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,a=f.call(e,"parent")?e.parent:a,s=f.call(e,"parentProperty")?e.parentProperty:s,e=e.path}if(a=a||null,s=s||null,Array.isArray(e)&&(e=y.toPathString(e)),(e||""===e)&&t){var c=y.toPathArray(e);"$"===c[0]&&c.length>1&&c.shift(),this._hasParentSelector=null;var d=this._trace(c,t,["$"],a,s,r).filter(function(e){return e&&!e.isParentSelector});return d.length?l||1!==d.length||d[0].hasArrExpr?d.reduce(function(e,t){var r=i._getPreferredOutput(t);return u&&Array.isArray(r)?e=e.concat(r):e.push(r),e},[]):this._getPreferredOutput(d[0]):l?[]:void 0}},y.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){case"all":var r=Array.isArray(e.path)?e.path:y.toPathArray(e.path);return e.pointer=y.toPointer(r),e.path="string"==typeof e.path?e.path:y.toPathString(e.path),e;case"value":case"parent":case"parentProperty":return e[t];case"path":return y.toPathString(e[t]);case"pointer":return y.toPointer(e.path);default:throw TypeError("Unknown result type")}},y.prototype._handleCallback=function(e,t,r){if(t){var n=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:y.toPathString(e.path),t(n,r,e)}},y.prototype._trace=function(e,t,r,n,i,a,s,u){var l=this;if(!e.length)return _={path:r,value:t,parent:n,parentProperty:i,hasArrExpr:s},this._handleCallback(_,a,"value"),_;var c=e[0],d=e.slice(1),p=[];function v(e){Array.isArray(e)?e.forEach(function(e){p.push(e)}):p.push(e)}if(("string"!=typeof c||u)&&t&&f.call(t,c))v(this._trace(d,t[c],m(r,c),t,c,a,s));else if("*"===c)this._walk(t,function(e){v(l._trace(d,t[e],m(r,e),t,e,a,!0,!0))});else if(".."===c)v(this._trace(d,t,r,n,i,a,s)),this._walk(t,function(n){"object"===o(t[n])&&v(l._trace(e.slice(),t[n],m(r,n),t,n,a,!0))});else if("^"===c)return this._hasParentSelector=!0,{path:r.slice(0,-1),expr:d,isParentSelector:!0};else if("~"===c)return _={path:m(r,c),value:i,parent:n,parentProperty:null},this._handleCallback(_,a,"property"),_;else if("$"===c)v(this._trace(d,t,r,null,null,a,s));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(c))v(this._slice(c,d,t,r,n,i,a));else if(0===c.indexOf("?(")){if(this.currPreventEval)throw Error("Eval [?(expr)] prevented in JSONPath expression.");var y=c.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),b=/@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])?((?:[\0->@-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))(?!(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])\)\])['\]]/g.exec(y);b?this._walk(t,function(e){var o=[b[2]],s=b[1]?t[e][b[1]]:t[e];l._trace(o,s,r,n,i,a,!0).length>0&&v(l._trace(d,t[e],m(r,e),t,e,a,!0))}):this._walk(t,function(e){l._eval(y,t[e],e,r,n,i)&&v(l._trace(d,t[e],m(r,e),t,e,a,!0))})}else if("("===c[0]){if(this.currPreventEval)throw Error("Eval [(expr)] prevented in JSONPath expression.");v(this._trace(g(this._eval(c,t,r[r.length-1],r.slice(0,-1),n,i),d),t,r,n,i,a,s))}else if("@"===c[0]){var w=!1,k=c.slice(1,-2);switch(k){case"scalar":t&&["object","function"].includes(o(t))||(w=!0);break;case"boolean":case"string":case"undefined":case"function":o(t)===k&&(w=!0);break;case"integer":Number.isFinite(t)&&!(t%1)&&(w=!0);break;case"number":Number.isFinite(t)&&(w=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(w=!0);break;case"object":t&&o(t)===k&&(w=!0);break;case"array":Array.isArray(t)&&(w=!0);break;case"other":w=this.currOtherTypeCallback(t,r,n,i);break;case"null":null===t&&(w=!0);break;default:throw TypeError("Unknown value type "+k)}if(w)return _={path:r,value:t,parent:n,parentProperty:i},this._handleCallback(_,a,"value"),_}else if("`"===c[0]&&t&&f.call(t,c.slice(1))){var x=c.slice(1);v(this._trace(d,t[x],m(r,x),t,x,a,s,!0))}else if(c.includes(",")){var _,S,E=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=h(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}(c.split(","));try{for(E.s();!(S=E.n()).done;){var D=S.value;v(this._trace(g(D,d),t,r,n,i,a,!0))}}catch(e){E.e(e)}finally{E.f()}}else!u&&t&&f.call(t,c)&&v(this._trace(d,t[c],m(r,c),t,c,a,s,!0));if(this._hasParentSelector)for(var C=0;C<p.length;C++){var j=p[C];if(j&&j.isParentSelector){var O=this._trace(j.expr,t,j.path,n,i,a,s);if(Array.isArray(O)){p[C]=O[0];for(var T=O.length,A=1;A<T;A++)C++,p.splice(C,0,O[A])}else p[C]=O}}return p},y.prototype._walk=function(e,t){if(Array.isArray(e))for(var r=e.length,n=0;n<r;n++)t(n);else e&&"object"===o(e)&&Object.keys(e).forEach(function(e){t(e)})},y.prototype._slice=function(e,t,r,n,i,o,a){if(Array.isArray(r)){var s=r.length,u=e.split(":"),l=u[2]&&Number.parseInt(u[2])||1,c=u[0]&&Number.parseInt(u[0])||0,d=u[1]&&Number.parseInt(u[1])||s;c=c<0?Math.max(0,c+s):Math.min(s,c),d=d<0?Math.max(0,d+s):Math.min(s,d);for(var h=[],p=c;p<d;p+=l)this._trace(g(p,t),r,n,i,o,a,!0).forEach(function(e){h.push(e)});return h}},y.prototype._eval=function(e,t,r,n,i,o){this.currSandbox._$_parentProperty=o,this.currSandbox._$_parent=i,this.currSandbox._$_property=r,this.currSandbox._$_root=this.json,this.currSandbox._$_v=t;var a=e.includes("@path");a&&(this.currSandbox._$_path=y.toPathString(n.concat([r])));var s="script:"+e;if(!y.cache[s]){var u=e.replace(/@parentProperty/g,"_$_parentProperty").replace(/@parent/g,"_$_parent").replace(/@property/g,"_$_property").replace(/@root/g,"_$_root").replace(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/g,"_$_v$1");a&&(u=u.replace(/@path/g,"_$_path")),y.cache[s]=new this.vm.Script(u)}try{return y.cache[s].runInNewContext(this.currSandbox)}catch(t){throw Error("jsonPath: "+t.message+": "+e)}},y.cache={},y.toPathString=function(e){for(var t=e.length,r="$",n=1;n<t;n++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(e[n])||(r+=/^[\*0-9]+$/.test(e[n])?"["+e[n]+"]":"['"+e[n]+"']");return r},y.toPointer=function(e){for(var t=e.length,r="",n=1;n<t;n++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(e[n])||(r+="/"+e[n].toString().replace(/~/g,"~0").replace(/\//g,"~1"));return r},y.toPathArray=function(e){var t=y.cache;if(t[e])return t[e].concat();var r=[],n=e.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g,";$&;").replace(/['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))['\]](?!(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])\])/g,function(e,t){return"[#"+(r.push(t)-1)+"]"}).replace(/\[["']((?:[\0-&\(-\\\^-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)["']\]/g,function(e,t){return"['"+t.replace(/\./g,"%@%").replace(/~/g,"%%@@%%")+"']"}).replace(/~/g,";~;").replace(/["']?\.["']?(?!(?:[\0-Z\\-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*\])|\[["']?/g,";").replace(/%@%/g,".").replace(/%%@@%%/g,"~").replace(/(?:;)?(\^+)(?:;)?/g,function(e,t){return";"+t.split("").join(";")+";"}).replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,"").split(";").map(function(e){var t=e.match(/#([0-9]+)/);return t&&t[1]?r[t[1]]:e});return t[e]=n,t[e].concat()};var b=function(e,t,r){for(var n=e.length,i=0;i<n;i++)r(e[i])&&t.push(e.splice(i--,1)[0])},w=function(){function e(t){a(this,e),this.code=t}return u(e,[{key:"runInNewContext",value:function(e){var t=this.code,r=Object.keys(e),i=[];b(r,i,function(t){return"function"==typeof e[t]});var o=r.map(function(t){return e[t]});t=i.reduce(function(t,r){var n=e[r].toString();return/function/.test(n)||(n="function "+n),"var "+r+"="+n+";"+t},"")+t,/(["'])use strict\1/.test(t)||r.includes("arguments")||(t="var arguments = undefined;"+t);var a=(t=t.replace(/;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/,"")).lastIndexOf(";"),s=a>-1?t.slice(0,a+1)+" return "+t.slice(a+1):" return "+t;return n(Function,r.concat([s])).apply(void 0,function(e){if(Array.isArray(e))return p(e)}(o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||h(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}]),e}();y.prototype.vm={Script:w}},19870:function(e,t,r){"use strict";function n(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}r.d(t,{TU:function(){return z}});let i=n(),o=/[&<>"']/,a=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},c=e=>l[e];function d(e,t){if(t){if(o.test(e))return e.replace(a,c)}else if(s.test(e))return e.replace(u,c);return e}let h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function p(e){return e.replace(h,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}let f=/(^|[^\[])\^/g;function m(e,t){e="string"==typeof e?e:e.source,t=t||"";let r={replace:(t,n)=>(n=(n=n.source||n).replace(f,"$1"),e=e.replace(t,n),r),getRegex:()=>new RegExp(e,t)};return r}let g=/[^\w:]/g,v=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(e,t,r){if(e){let e;try{e=decodeURIComponent(p(r)).replace(g,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!v.test(r)&&(r=function(e,t){b[" "+e]||(w.test(e)?b[" "+e]=e+"/":b[" "+e]=D(e,"/",!0));let r=-1===(e=b[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(k,"$1")+t:"/"!==t.charAt(0)?e+t:r?t:e.replace(x,"$1")+t}(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(e){return null}return r}let b={},w=/^[^:]+:\/*[^/]*$/,k=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/,_={exec:function(){}};function S(e){let t=1,r,n;for(;t<arguments.length;t++)for(n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e}function E(e,t){let r=e.replace(/\|/g,(e,t,r)=>{let n=!1,i=t;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}).split(/ \|/),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function D(e,t,r){let n=e.length;if(0===n)return"";let i=0;for(;i<n;){let o=e.charAt(n-i-1);if(o!==t||r){if(o!==t&&r)i++;else break}else i++}return e.slice(0,n-i)}function C(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function j(e,t){if(t<1)return"";let r="";for(;t>1;)1&t&&(r+=e),t>>=1,e+=e;return r+e}function O(e,t,r,n){let i=t.href,o=t.title?d(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;let e={type:"link",raw:r,href:i,title:o,text:a,tokens:n.inlineTokens(a,[])};return n.state.inLink=!1,e}return{type:"image",raw:r,href:i,title:o,text:d(a)}}class T{constructor(e){this.options=e||i}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:D(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t){let r=e.match(/^(\s+)(?:```)/);if(null===r)return t;let n=r[1];return t.split("\n").map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[r]=t;return r.length>=n.length?e.slice(n.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim():t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=D(e,"#");this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}let r={type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=t[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(e,[]),text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r,n,i,o,a,s,u,l,c,d,h,p;let f=t[1].trim(),m=f.length>1,g={type:"list",raw:"",ordered:m,start:m?+f.slice(0,-1):"",loose:!1,items:[]};f=m?`\\d{1,9}\\${f.slice(-1)}`:`\\${f}`,this.options.pedantic&&(f=m?f:"[*+-]");let v=RegExp(`^( {0,3}${f})((?:[	 ][^\\n]*)?(?:\\n|$))`);for(;e&&(p=!1,!(!(t=v.exec(e))||this.rules.block.hr.test(e)));){if(r=t[0],e=e.substring(r.length),l=t[2].split("\n",1)[0],c=e.split("\n",1)[0],this.options.pedantic?(o=2,h=l.trimLeft()):(o=(o=t[2].search(/[^ ]/))>4?1:o,h=l.slice(o),o+=t[1].length),s=!1,!l&&/^ *$/.test(c)&&(r+=c+"\n",e=e.substring(c.length+1),p=!0),!p){let t=RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))`),n=RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=RegExp(`^ {0,${Math.min(3,o-1)}}(?:\`\`\`|~~~)`),a=RegExp(`^ {0,${Math.min(3,o-1)}}#`);for(;e&&(l=d=e.split("\n",1)[0],this.options.pedantic&&(l=l.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),!(i.test(l)||a.test(l)||t.test(l)||n.test(e)));){if(l.search(/[^ ]/)>=o||!l.trim())h+="\n"+l.slice(o);else if(s)break;else h+="\n"+l;s||l.trim()||(s=!0),r+=d+"\n",e=e.substring(d.length+1)}}!g.loose&&(u?g.loose=!0:/\n *\n *$/.test(r)&&(u=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(h))&&(i="[ ] "!==n[0],h=h.replace(/^\[[ xX]\] +/,"")),g.items.push({type:"list_item",raw:r,task:!!n,checked:i,loose:!1,text:h}),g.raw+=r}g.items[g.items.length-1].raw=r.trimRight(),g.items[g.items.length-1].text=h.trimRight(),g.raw=g.raw.trimRight();let y=g.items.length;for(a=0;a<y;a++){this.lexer.state.top=!1,g.items[a].tokens=this.lexer.blockTokens(g.items[a].text,[]);let e=g.items[a].tokens.filter(e=>"space"===e.type),t=e.every(e=>{let t=e.raw.split(""),r=0;for(let e of t)if("\n"===e&&(r+=1),r>1)return!0;return!1});!g.loose&&e.length&&t&&(g.loose=!0,g.items[a].loose=!0)}return g}}html(e){let t=this.rules.block.html.exec(e);if(t){let e={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(e.type="paragraph",e.text=this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]),e.tokens=[],this.lexer.inline(e.text,e.tokens)),e}}def(e){let t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}table(e){let t=this.rules.block.table.exec(e);if(t){let e={type:"table",header:E(t[1]).map(e=>({text:e})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){let r,n,i,o;e.raw=t[0];let a=e.align.length;for(r=0;r<a;r++)/^ *-+: *$/.test(e.align[r])?e.align[r]="right":/^ *:-+: *$/.test(e.align[r])?e.align[r]="center":/^ *:-+ *$/.test(e.align[r])?e.align[r]="left":e.align[r]=null;for(r=0,a=e.rows.length;r<a;r++)e.rows[r]=E(e.rows[r],e.header.length).map(e=>({text:e}));for(n=0,a=e.header.length;n<a;n++)e.header[n].tokens=[],this.lexer.inline(e.header[n].text,e.header[n].tokens);for(n=0,a=e.rows.length;n<a;n++)for(i=0,o=e.rows[n];i<o.length;i++)o[i].tokens=[],this.lexer.inline(o[i].text,o[i].tokens);return e}}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}text(e){let t=this.rules.block.text.exec(e);if(t){let e={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:d(t[1])}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]):t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;let t=D(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let r=e.length,n=0,i=0;for(;i<r;i++)if("\\"===e[i])i++;else if("("===e[i])n++;else if(")"===e[i]&&--n<0)return i;return -1}(t[2],"()");if(e>-1){let r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(r=this.options.pedantic&&!/>$/.test(e)?r.slice(1):r.slice(1,-1)),O(t,{href:r?r.replace(this.rules.inline._escapes,"$1"):r,title:n?n.replace(this.rules.inline._escapes,"$1"):n},t[0],this.lexer)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=(r[2]||r[1]).replace(/\s+/g," ");if(!(e=t[e.toLowerCase()])||!e.href){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return O(r,e,r[0],this.lexer)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrong.lDelim.exec(e);if(!n||n[3]&&r.match(/[\p{L}\p{N}]/u))return;let i=n[1]||n[2]||"";if(!i||i&&(""===r||this.rules.inline.punctuation.exec(r))){let r=n[0].length-1,i,o,a=r,s=0,u="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+r);null!=(n=u.exec(t));){if(!(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(o=i.length,n[3]||n[4]){a+=o;continue}if((n[5]||n[6])&&r%3&&!((r+o)%3)){s+=o;continue}if((a-=o)>0)continue;if(Math.min(r,o=Math.min(o,o+a+s))%2){let t=e.slice(1,r+n.index+o);return{type:"em",raw:e.slice(0,r+n.index+o+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}let t=e.slice(2,r+n.index+o-1);return{type:"strong",raw:e.slice(0,r+n.index+o+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," "),r=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return r&&n&&(e=e.substring(1,e.length-1)),e=d(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}autolink(e,t){let r=this.rules.inline.autolink.exec(e);if(r){let e,n;return n="@"===r[2]?"mailto:"+(e=d(this.options.mangle?t(r[1]):r[1])):e=d(r[1]),{type:"link",raw:r[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let r;if(r=this.rules.inline.url.exec(e)){let e,n;if("@"===r[2])n="mailto:"+(e=d(this.options.mangle?t(r[0]):r[0]));else{let t;do t=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0];while(t!==r[0]);e=d(r[0]),n="www."===r[1]?"http://"+e:e}return{type:"link",raw:r[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){let r=this.rules.inline.text.exec(e);if(r){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):d(r[0]):r[0]:d(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:e}}}}let A={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:_,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};A._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,A._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,A.def=m(A.def).replace("label",A._label).replace("title",A._title).getRegex(),A.bullet=/(?:[*+-]|\d{1,9}[.)])/,A.listItemStart=m(/^( *)(bull) */).replace("bull",A.bullet).getRegex(),A.list=m(A.list).replace(/bull/g,A.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+A.def.source+")").getRegex(),A._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",A._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,A.html=m(A.html,"i").replace("comment",A._comment).replace("tag",A._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),A.paragraph=m(A._paragraph).replace("hr",A.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",A._tag).getRegex(),A.blockquote=m(A.blockquote).replace("paragraph",A.paragraph).getRegex(),A.normal=S({},A),A.gfm=S({},A.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),A.gfm.table=m(A.gfm.table).replace("hr",A.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",A._tag).getRegex(),A.gfm.paragraph=m(A._paragraph).replace("hr",A.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",A.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",A._tag).getRegex(),A.pedantic=S({},A.normal,{html:m("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",A._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:_,paragraph:m(A.normal._paragraph).replace("hr",A.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",A.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});let P={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:_,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:_,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function R(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function M(e){let t="",r,n,i=e.length;for(r=0;r<i;r++)n=e.charCodeAt(r),Math.random()>.5&&(n="x"+n.toString(16)),t+="&#"+n+";";return t}P._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",P.punctuation=m(P.punctuation).replace(/punctuation/g,P._punctuation).getRegex(),P.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,P.escapedEmSt=/\\\*|\\_/g,P._comment=m(A._comment).replace("(?:-->|$)","-->").getRegex(),P.emStrong.lDelim=m(P.emStrong.lDelim).replace(/punct/g,P._punctuation).getRegex(),P.emStrong.rDelimAst=m(P.emStrong.rDelimAst,"g").replace(/punct/g,P._punctuation).getRegex(),P.emStrong.rDelimUnd=m(P.emStrong.rDelimUnd,"g").replace(/punct/g,P._punctuation).getRegex(),P._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,P._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,P._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,P.autolink=m(P.autolink).replace("scheme",P._scheme).replace("email",P._email).getRegex(),P._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,P.tag=m(P.tag).replace("comment",P._comment).replace("attribute",P._attribute).getRegex(),P._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,P._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,P._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,P.link=m(P.link).replace("label",P._label).replace("href",P._href).replace("title",P._title).getRegex(),P.reflink=m(P.reflink).replace("label",P._label).replace("ref",A._label).getRegex(),P.nolink=m(P.nolink).replace("ref",A._label).getRegex(),P.reflinkSearch=m(P.reflinkSearch,"g").replace("reflink",P.reflink).replace("nolink",P.nolink).getRegex(),P.normal=S({},P),P.pedantic=S({},P.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:m(/^!?\[(label)\]\((.*?)\)/).replace("label",P._label).getRegex(),reflink:m(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",P._label).getRegex()}),P.gfm=S({},P.normal,{escape:m(P.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),P.gfm.url=m(P.gfm.url,"i").replace("email",P.gfm._extended_email).getRegex(),P.breaks=S({},P.gfm,{br:m(P.br).replace("{2,}","*").getRegex(),text:m(P.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});class F{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||i,this.options.tokenizer=this.options.tokenizer||new T,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={block:A.normal,inline:P.normal};this.options.pedantic?(t.block=A.pedantic,t.inline=P.pedantic):this.options.gfm&&(t.block=A.gfm,this.options.breaks?t.inline=P.breaks:t.inline=P.gfm),this.tokenizer.rules=t}static get rules(){return{block:A,inline:P}}static lex(e,t){return new F(t).lex(e)}static lexInline(e,t){return new F(t).inlineTokens(e)}lex(e){let t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){let r,n,i,o;for(e=this.options.pedantic?e.replace(/\t/g,"    ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(e,t,r)=>t+"    ".repeat(r.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t,r=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach(function(e){"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){n=t[t.length-1],o&&"paragraph"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),o=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r,n,i,o,a,s;let u=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(u));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,o.index)+"["+j("a",o[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,o.index)+"["+j("a",o[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.escapedEmSt.exec(u));)u=u.slice(0,o.index)+"++"+u.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(a||(s=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if((r=this.tokenizer.emStrong(e,u,s))||(r=this.tokenizer.codespan(e))||(r=this.tokenizer.br(e))||(r=this.tokenizer.del(e))||(r=this.tokenizer.autolink(e,M))||!this.state.inLink&&(r=this.tokenizer.url(e,M))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let t,r=1/0,n=e.slice(1);this.options.extensions.startInline.forEach(function(e){"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(r=this.tokenizer.inlineText(i,R)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(s=r.raw.slice(-1)),a=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class N{constructor(e){this.options=e||i}code(e,t,r){let n=(t||"").match(/\S*/)[0];if(this.options.highlight){let t=this.options.highlight(e,n);null!=t&&t!==e&&(r=!0,e=t)}return(e=e.replace(/\n$/,"")+"\n",n)?'<pre><code class="'+this.options.langPrefix+d(n,!0)+'">'+(r?e:d(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:d(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>
${e}</blockquote>
`}html(e){return e}heading(e,t,r,n){if(this.options.headerIds){let i=this.options.headerPrefix+n.slug(r);return`<h${t} id="${i}">${e}</h${t}>
`}return`<h${t}>${e}</h${t}>
`}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,r){let n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+n+">\n"}listitem(e){return`<li>${e}</li>
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return`<p>${e}</p>
`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return`<tr>
${e}</tr>
`}tablecell(e,t){let r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+`</${r}>
`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,t,r){if(null===(e=y(this.options.sanitize,this.options.baseUrl,e)))return r;let n='<a href="'+d(e)+'"';return t&&(n+=' title="'+t+'"'),n+=">"+r+"</a>"}image(e,t,r){if(null===(e=y(this.options.sanitize,this.options.baseUrl,e)))return r;let n=`<img src="${e}" alt="${r}"`;return t&&(n+=` title="${t}"`),n+=this.options.xhtml?"/>":">"}text(e){return e}}class I{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,r){return""+r}image(e,t,r){return""+r}br(){return""}}class L{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let r=e,n=0;if(this.seen.hasOwnProperty(r)){n=this.seen[e];do r=e+"-"+ ++n;while(this.seen.hasOwnProperty(r))}return t||(this.seen[e]=n,this.seen[r]=0),r}slug(e,t={}){let r=this.serialize(e);return this.getNextSafeSlug(r,t.dryrun)}}class B{constructor(e){this.options=e||i,this.options.renderer=this.options.renderer||new N,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new I,this.slugger=new L}static parse(e,t){return new B(t).parse(e)}static parseInline(e,t){return new B(t).parseInline(e)}parse(e,t=!0){let r="",n,i,o,a,s,u,l,c,d,h,f,m,g,v,y,b,w,k,x,_=e.length;for(n=0;n<_;n++){if(h=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[h.type]&&(!1!==(x=this.options.extensions.renderers[h.type].call({parser:this},h))||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(h.type))){r+=x||"";continue}switch(h.type){case"space":continue;case"hr":r+=this.renderer.hr();continue;case"heading":r+=this.renderer.heading(this.parseInline(h.tokens),h.depth,p(this.parseInline(h.tokens,this.textRenderer)),this.slugger);continue;case"code":r+=this.renderer.code(h.text,h.lang,h.escaped);continue;case"table":for(i=0,c="",l="",a=h.header.length;i<a;i++)l+=this.renderer.tablecell(this.parseInline(h.header[i].tokens),{header:!0,align:h.align[i]});for(c+=this.renderer.tablerow(l),d="",a=h.rows.length,i=0;i<a;i++){for(o=0,u=h.rows[i],l="",s=u.length;o<s;o++)l+=this.renderer.tablecell(this.parseInline(u[o].tokens),{header:!1,align:h.align[o]});d+=this.renderer.tablerow(l)}r+=this.renderer.table(c,d);continue;case"blockquote":d=this.parse(h.tokens),r+=this.renderer.blockquote(d);continue;case"list":for(i=0,f=h.ordered,m=h.start,g=h.loose,a=h.items.length,d="";i<a;i++)b=(y=h.items[i]).checked,w=y.task,v="",y.task&&(k=this.renderer.checkbox(b),g?y.tokens.length>0&&"paragraph"===y.tokens[0].type?(y.tokens[0].text=k+" "+y.tokens[0].text,y.tokens[0].tokens&&y.tokens[0].tokens.length>0&&"text"===y.tokens[0].tokens[0].type&&(y.tokens[0].tokens[0].text=k+" "+y.tokens[0].tokens[0].text)):y.tokens.unshift({type:"text",text:k}):v+=k),v+=this.parse(y.tokens,g),d+=this.renderer.listitem(v,w,b);r+=this.renderer.list(d,f,m);continue;case"html":r+=this.renderer.html(h.text);continue;case"paragraph":r+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(d=h.tokens?this.parseInline(h.tokens):h.text;n+1<_&&"text"===e[n+1].type;)d+="\n"+((h=e[++n]).tokens?this.parseInline(h.tokens):h.text);r+=t?this.renderer.paragraph(d):d;continue;default:{let e='Token with "'+h.type+'" type was not found.';if(this.options.silent){console.error(e);return}throw Error(e)}}}return r}parseInline(e,t){t=t||this.renderer;let r="",n,i,o,a=e.length;for(n=0;n<a;n++){if(i=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(!1!==(o=this.options.extensions.renderers[i.type].call({parser:this},i))||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){r+=o||"";continue}switch(i.type){case"escape":case"text":r+=t.text(i.text);break;case"html":r+=t.html(i.text);break;case"link":r+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break;case"image":r+=t.image(i.href,i.title,i.text);break;case"strong":r+=t.strong(this.parseInline(i.tokens,t));break;case"em":r+=t.em(this.parseInline(i.tokens,t));break;case"codespan":r+=t.codespan(i.text);break;case"br":r+=t.br();break;case"del":r+=t.del(this.parseInline(i.tokens,t));break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(e);return}throw Error(e)}}}return r}}function z(e,t,r){if(null==e)throw Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(r=t,t=null),C(t=S({},z.defaults,t||{})),r){let n;let i=t.highlight;try{n=F.lex(e,t)}catch(e){return r(e)}let o=function(e){let o;if(!e)try{t.walkTokens&&z.walkTokens(n,t.walkTokens),o=B.parse(n,t)}catch(t){e=t}return t.highlight=i,e?r(e):r(null,o)};if(!i||i.length<3||(delete t.highlight,!n.length))return o();let a=0;return z.walkTokens(n,function(e){"code"===e.type&&(a++,setTimeout(()=>{i(e.text,e.lang,function(t,r){if(t)return o(t);null!=r&&r!==e.text&&(e.text=r,e.escaped=!0),0==--a&&o()})},0))}),void(0===a&&o())}try{let r=F.lex(e,t);return t.walkTokens&&z.walkTokens(r,t.walkTokens),B.parse(r,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+d(e.message+"",!0)+"</pre>";throw e}}z.options=z.setOptions=function(e){return S(z.defaults,e),i=z.defaults,z},z.getDefaults=n,z.defaults=i,z.use=function(...e){let t;let r=S({},...e),n=z.defaults.extensions||{renderers:{},childTokens:{}};e.forEach(e=>{if(e.extensions&&(t=!0,e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if(e.renderer){let t=n.renderers?n.renderers[e.name]:null;t?n.renderers[e.name]=function(...r){let n=e.renderer.apply(this,r);return!1===n&&(n=t.apply(this,r)),n}:n.renderers[e.name]=e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");n[e.level]?n[e.level].unshift(e.tokenizer):n[e.level]=[e.tokenizer],e.start&&("block"===e.level?n.startBlock?n.startBlock.push(e.start):n.startBlock=[e.start]:"inline"===e.level&&(n.startInline?n.startInline.push(e.start):n.startInline=[e.start]))}e.childTokens&&(n.childTokens[e.name]=e.childTokens)})),e.renderer){let t=z.defaults.renderer||new N;for(let r in e.renderer){let n=t[r];t[r]=(...i)=>{let o=e.renderer[r].apply(t,i);return!1===o&&(o=n.apply(t,i)),o}}r.renderer=t}if(e.tokenizer){let t=z.defaults.tokenizer||new T;for(let r in e.tokenizer){let n=t[r];t[r]=(...i)=>{let o=e.tokenizer[r].apply(t,i);return!1===o&&(o=n.apply(t,i)),o}}r.tokenizer=t}if(e.walkTokens){let t=z.defaults.walkTokens;r.walkTokens=function(r){e.walkTokens.call(this,r),t&&t.call(this,r)}}t&&(r.extensions=n),z.setOptions(r)})},z.walkTokens=function(e,t){for(let r of e)switch(t.call(z,r),r.type){case"table":for(let e of r.header)z.walkTokens(e.tokens,t);for(let e of r.rows)for(let r of e)z.walkTokens(r.tokens,t);break;case"list":z.walkTokens(r.items,t);break;default:z.defaults.extensions&&z.defaults.extensions.childTokens&&z.defaults.extensions.childTokens[r.type]?z.defaults.extensions.childTokens[r.type].forEach(function(e){z.walkTokens(r[e],t)}):r.tokens&&z.walkTokens(r.tokens,t)}},z.parseInline=function(e,t){if(null==e)throw Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");C(t=S({},z.defaults,t||{}));try{let r=F.lexInline(e,t);return t.walkTokens&&z.walkTokens(r,t.walkTokens),B.parseInline(r,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+d(e.message+"",!0)+"</pre>";throw e}},z.Parser=B,z.parser=B.parse,z.Renderer=N,z.TextRenderer=I,z.Lexer=F,z.lexer=F.lex,z.Tokenizer=T,z.Slugger=L,z.parse=z,z.options,z.setOptions,z.use,z.walkTokens,z.parseInline,B.parse,F.lex},37164:function(e,t,r){"use strict";r.d(t,{kP:function(){return o},x0:function(){return a}});let n=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t,r)=>{let n=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*n*t/e.length);return (o=t)=>{let a="";for(;;){let t=r(i),s=i;for(;s--;)if((a+=e[t[s]&n]||"").length===o)return a}}},o=(e,t=21)=>i(e,t,n),a=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"")},60737:function(e,t,r){"use strict";r.d(t,{Ig:function(){return w},MI:function(){return b},N0:function(){return C},NE:function(){return a},QF:function(){return M},QK:function(){return x},U9:function(){return T},X0:function(){return D},Y_:function(){return g},_M:function(){return p},al:function(){return u},cR:function(){return c},mD:function(){return E},nw:function(){return A},o:function(){return v},rr:function(){return l},uJ:function(){return R},uo:function(){return S},xb:function(){return k},ym:function(){return P}});var n=r(26151),i=r(30764),o=r(27191);let a=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function s(e,t){let{$cursor:r}=e.selection;return r&&(t?t.endOfTextblock("backward",e):!(r.parentOffset>0))?r:null}let u=(e,t,r)=>{let a=s(e,r);if(!a)return!1;let u=f(a);if(!u){let r=a.blockRange(),i=r&&(0,n.k9)(r);return null!=i&&(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)}let l=u.nodeBefore;if(j(e,u,t,-1))return!0;if(0==a.parent.content.size&&(h(l,"end")||o.qv.isSelectable(l)))for(let r=a.depth;;r--){let s=(0,n.dR)(e.doc,a.before(r),a.after(r),i.p2.empty);if(s&&s.slice.size<s.to-s.from){if(t){let r=e.tr.step(s);r.setSelection(h(l,"end")?o.Y1.findFrom(r.doc.resolve(r.mapping.map(u.pos,-1)),-1):o.qv.create(r.doc,u.pos-l.nodeSize)),t(r.scrollIntoView())}return!0}if(1==r||a.node(r-1).childCount>1)break}return!!l.isAtom&&u.depth==a.depth-1&&(t&&t(e.tr.delete(u.pos-l.nodeSize,u.pos).scrollIntoView()),!0)},l=(e,t,r)=>{let n=s(e,r);if(!n)return!1;let i=f(n);return!!i&&d(e,i,t)},c=(e,t,r)=>{let n=m(e,r);if(!n)return!1;let i=y(n);return!!i&&d(e,i,t)};function d(e,t,r){let a=t.nodeBefore,s=t.pos-1;for(;!a.isTextblock;s--){if(a.type.spec.isolating)return!1;let e=a.lastChild;if(!e)return!1;a=e}let u=t.nodeAfter,l=t.pos+1;for(;!u.isTextblock;l++){if(u.type.spec.isolating)return!1;let e=u.firstChild;if(!e)return!1;u=e}let c=(0,n.dR)(e.doc,s,l,i.p2.empty);if(!c||c.from!=s||c instanceof n.Pu&&c.slice.size>=l-s)return!1;if(r){let t=e.tr.step(c);t.setSelection(o.Bs.create(t.doc,s)),r(t.scrollIntoView())}return!0}function h(e,t,r=!1){for(let n=e;n;n="start"==t?n.firstChild:n.lastChild){if(n.isTextblock)return!0;if(r&&1!=n.childCount)break}return!1}let p=(e,t,r)=>{let{$head:n,empty:i}=e.selection,a=n;if(!i)return!1;if(n.parent.isTextblock){if(r?!r.endOfTextblock("backward",e):n.parentOffset>0)return!1;a=f(n)}let s=a&&a.nodeBefore;return!!(s&&o.qv.isSelectable(s))&&(t&&t(e.tr.setSelection(o.qv.create(e.doc,a.pos-s.nodeSize)).scrollIntoView()),!0)};function f(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function m(e,t){let{$cursor:r}=e.selection;return r&&(t?t.endOfTextblock("forward",e):!(r.parentOffset<r.parent.content.size))?r:null}let g=(e,t,r)=>{let a=m(e,r);if(!a)return!1;let s=y(a);if(!s)return!1;let u=s.nodeAfter;if(j(e,s,t,1))return!0;if(0==a.parent.content.size&&(h(u,"start")||o.qv.isSelectable(u))){let r=(0,n.dR)(e.doc,a.before(),a.after(),i.p2.empty);if(r&&r.slice.size<r.to-r.from){if(t){let n=e.tr.step(r);n.setSelection(h(u,"start")?o.Y1.findFrom(n.doc.resolve(n.mapping.map(s.pos)),1):o.qv.create(n.doc,n.mapping.map(s.pos))),t(n.scrollIntoView())}return!0}}return!!u.isAtom&&s.depth==a.depth-1&&(t&&t(e.tr.delete(s.pos,s.pos+u.nodeSize).scrollIntoView()),!0)},v=(e,t,r)=>{let{$head:n,empty:i}=e.selection,a=n;if(!i)return!1;if(n.parent.isTextblock){if(r?!r.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)return!1;a=y(n)}let s=a&&a.nodeAfter;return!!(s&&o.qv.isSelectable(s))&&(t&&t(e.tr.setSelection(o.qv.create(e.doc,a.pos)).scrollIntoView()),!0)};function y(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let r=e.node(t);if(e.index(t)+1<r.childCount)return e.doc.resolve(e.after(t+1));if(r.type.spec.isolating)break}return null}let b=(e,t)=>{let r=e.selection,i=r instanceof o.qv,a;if(i){if(r.node.isTextblock||!(0,n.Mn)(e.doc,r.from))return!1;a=r.from}else if(null==(a=(0,n.GJ)(e.doc,r.from,-1)))return!1;if(t){let r=e.tr.join(a);i&&r.setSelection(o.qv.create(r.doc,a-e.doc.resolve(a).nodeBefore.nodeSize)),t(r.scrollIntoView())}return!0},w=(e,t)=>{let r=e.selection,i;if(r instanceof o.qv){if(r.node.isTextblock||!(0,n.Mn)(e.doc,r.to))return!1;i=r.to}else if(null==(i=(0,n.GJ)(e.doc,r.to,1)))return!1;return t&&t(e.tr.join(i).scrollIntoView()),!0},k=(e,t)=>{let{$from:r,$to:i}=e.selection,o=r.blockRange(i),a=o&&(0,n.k9)(o);return null!=a&&(t&&t(e.tr.lift(o,a).scrollIntoView()),!0)},x=(e,t)=>{let{$head:r,$anchor:n}=e.selection;return!!(r.parent.type.spec.code&&r.sameParent(n))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)};function _(e){for(let t=0;t<e.edgeCount;t++){let{type:r}=e.edge(t);if(r.isTextblock&&!r.hasRequiredAttrs())return r}return null}let S=(e,t)=>{let{$head:r,$anchor:n}=e.selection;if(!r.parent.type.spec.code||!r.sameParent(n))return!1;let i=r.node(-1),a=r.indexAfter(-1),s=_(i.contentMatchAt(a));if(!s||!i.canReplaceWith(a,a,s))return!1;if(t){let n=r.after(),i=e.tr.replaceWith(n,n,s.createAndFill());i.setSelection(o.Y1.near(i.doc.resolve(n),1)),t(i.scrollIntoView())}return!0},E=(e,t)=>{let r=e.selection,{$from:n,$to:i}=r;if(r instanceof o.C1||n.parent.inlineContent||i.parent.inlineContent)return!1;let a=_(i.parent.contentMatchAt(i.indexAfter()));if(!a||!a.isTextblock)return!1;if(t){let r=(!n.parentOffset&&i.index()<i.parent.childCount?n:i).pos,s=e.tr.insert(r,a.createAndFill());s.setSelection(o.Bs.create(s.doc,r+1)),t(s.scrollIntoView())}return!0},D=(e,t)=>{let{$cursor:r}=e.selection;if(!r||r.parent.content.size)return!1;if(r.depth>1&&r.after()!=r.end(-1)){let i=r.before();if((0,n.Ax)(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let i=r.blockRange(),o=i&&(0,n.k9)(i);return null!=o&&(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)},C=(e,t)=>{let{$from:r,to:n}=e.selection,i,a=r.sharedDepth(n);return 0!=a&&(i=r.before(a),t&&t(e.tr.setSelection(o.qv.create(e.doc,i))),!0)};function j(e,t,r,a){let s,u,l,c=t.nodeBefore,d=t.nodeAfter,p,f,m=c.type.spec.isolating||d.type.spec.isolating;if(!m&&(s=t.nodeBefore,u=t.nodeAfter,l=t.index(),s&&u&&s.type.compatibleContent(u.type)&&(!s.content.size&&t.parent.canReplace(l-1,l)?(r&&r(e.tr.delete(t.pos-s.nodeSize,t.pos).scrollIntoView()),!0):!!(t.parent.canReplace(l,l+1)&&(u.isTextblock||(0,n.Mn)(e.doc,t.pos)))&&(r&&r(e.tr.clearIncompatible(t.pos,s.type,s.contentMatchAt(s.childCount)).join(t.pos).scrollIntoView()),!0))))return!0;let g=!m&&t.parent.canReplace(t.index(),t.index()+1);if(g&&(p=(f=c.contentMatchAt(c.childCount)).findWrapping(d.type))&&f.matchType(p[0]||d.type).validEnd){if(r){let o=t.pos+d.nodeSize,a=i.HY.empty;for(let e=p.length-1;e>=0;e--)a=i.HY.from(p[e].create(null,a));a=i.HY.from(c.copy(a));let s=e.tr.step(new n.FC(t.pos-1,o,t.pos,o,new i.p2(a,1,0),p.length,!0)),u=o+2*p.length;(0,n.Mn)(s.doc,u)&&s.join(u),r(s.scrollIntoView())}return!0}let v=d.type.spec.isolating||a>0&&m?null:o.Y1.findFrom(t,1),y=v&&v.$from.blockRange(v.$to),b=y&&(0,n.k9)(y);if(null!=b&&b>=t.depth)return r&&r(e.tr.lift(y,b).scrollIntoView()),!0;if(g&&h(d,"start",!0)&&h(c,"end")){let o=c,a=[];for(;a.push(o),!o.isTextblock;)o=o.lastChild;let s=d,u=1;for(;!s.isTextblock;s=s.firstChild)u++;if(o.canReplace(o.childCount,o.childCount,s.content)){if(r){let o=i.HY.empty;for(let e=a.length-1;e>=0;e--)o=i.HY.from(a[e].copy(o));r(e.tr.step(new n.FC(t.pos-a.length,t.pos+d.nodeSize,t.pos+u,t.pos+d.nodeSize-u,new i.p2(o,a.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function O(e){return function(t,r){let n=t.selection,i=e<0?n.$from:n.$to,a=i.depth;for(;i.node(a).isInline;){if(!a)return!1;a--}return!!i.node(a).isTextblock&&(r&&r(t.tr.setSelection(o.Bs.create(t.doc,e<0?i.start(a):i.end(a)))),!0)}}let T=O(-1),A=O(1);function P(e,t=null){return function(r,i){let{$from:o,$to:a}=r.selection,s=o.blockRange(a),u=s&&(0,n.nd)(s,e,t);return!!u&&(i&&i(r.tr.wrap(s,u).scrollIntoView()),!0)}}function R(e,t=null){return function(r,n){let i=!1;for(let n=0;n<r.selection.ranges.length&&!i;n++){let{$from:{pos:o},$to:{pos:a}}=r.selection.ranges[n];r.doc.nodesBetween(o,a,(n,o)=>{if(i)return!1;if(!(!n.isTextblock||n.hasMarkup(e,t))){if(n.type==e)i=!0;else{let t=r.doc.resolve(o),n=t.index();i=t.parent.canReplaceWith(n,n+1,e)}}})}if(!i)return!1;if(n){let i=r.tr;for(let n=0;n<r.selection.ranges.length;n++){let{$from:{pos:o},$to:{pos:a}}=r.selection.ranges[n];i.setBlockType(o,a,e,t)}n(i.scrollIntoView())}return!0}}function M(...e){return function(t,r,n){for(let i=0;i<e.length;i++)if(e[i](t,r,n))return!0;return!1}}let F=M(a,u,p),N=M(a,g,v),I={Enter:M(x,E,D,(e,t)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof o.qv&&e.selection.node.isBlock)return!!(r.parentOffset&&(0,n.Ax)(e.doc,r.pos))&&(t&&t(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(t){let a=i.parentOffset==i.parent.content.size,s=e.tr;(e.selection instanceof o.Bs||e.selection instanceof o.C1)&&s.deleteSelection();let u=0==r.depth?null:_(r.node(-1).contentMatchAt(r.indexAfter(-1))),l,c=l?[l]:a&&u?[{type:u}]:void 0,d=(0,n.Ax)(s.doc,s.mapping.map(r.pos),1,c);if(!c&&!d&&(0,n.Ax)(s.doc,s.mapping.map(r.pos),1,u?[{type:u}]:void 0)&&(u&&(c=[{type:u}]),d=!0),d&&(s.split(s.mapping.map(r.pos),1,c),!a&&!r.parentOffset&&r.parent.type!=u)){let e=s.mapping.map(r.before()),t=s.doc.resolve(e);u&&r.node(-1).canReplaceWith(t.index(),t.index()+1,u)&&s.setNodeMarkup(s.mapping.map(r.before()),u)}t(s.scrollIntoView())}return!0}),"Mod-Enter":S,Backspace:F,"Mod-Backspace":F,"Shift-Backspace":F,Delete:N,"Mod-Delete":N,"Mod-a":(e,t)=>(t&&t(e.tr.setSelection(new o.C1(e.doc))),!0)},L={"Ctrl-h":I.Backspace,"Alt-Backspace":I["Mod-Backspace"],"Ctrl-d":I.Delete,"Ctrl-Alt-Backspace":I["Mod-Delete"],"Alt-Delete":I["Mod-Delete"],"Alt-d":I["Mod-Delete"],"Ctrl-a":T,"Ctrl-e":A};for(let e in I)L[e]=I[e];"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&os.platform&&os.platform()},3027:function(e,t,r){"use strict";r.d(t,{Q:function(){return s},d:function(){return l}});var n=r(59195),i=r(27191),o=r(30764),a=r(52780);class s extends i.Y1{constructor(e){super(e,e)}map(e,t){let r=e.resolve(t.map(this.head));return s.valid(r)?new s(r):i.Y1.near(r)}content(){return o.p2.empty}eq(e){return e instanceof s&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if("number"!=typeof t.pos)throw RangeError("Invalid input for GapCursor.fromJSON");return new s(e.resolve(t.pos))}getBookmark(){return new u(this.anchor)}static valid(e){let t=e.parent;if(t.isTextblock||!function(e){for(let t=e.depth;t>=0;t--){let r=e.index(t),n=e.node(t);if(0==r){if(n.type.spec.isolating)return!0;continue}for(let e=n.child(r-1);;e=e.lastChild){if(0==e.childCount&&!e.inlineContent||e.isAtom||e.type.spec.isolating)return!0;if(e.inlineContent)return!1}}return!0}(e)||!function(e){for(let t=e.depth;t>=0;t--){let r=e.indexAfter(t),n=e.node(t);if(r==n.childCount){if(n.type.spec.isolating)return!0;continue}for(let e=n.child(r);;e=e.firstChild){if(0==e.childCount&&!e.inlineContent||e.isAtom||e.type.spec.isolating)return!0;if(e.inlineContent)return!1}}return!0}(e))return!1;let r=t.type.spec.allowGapCursor;if(null!=r)return r;let n=t.contentMatchAt(e.index()).defaultType;return n&&n.isTextblock}static findGapCursorFrom(e,t,r=!1){o:for(;;){if(!r&&s.valid(e))return e;let n=e.pos,o=null;for(let r=e.depth;;r--){let i=e.node(r);if(t>0?e.indexAfter(r)<i.childCount:e.index(r)>0){o=i.child(t>0?e.indexAfter(r):e.index(r)-1);break}if(0==r)return null;n+=t;let a=e.doc.resolve(n);if(s.valid(a))return a}for(;;){let a=t>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!i.qv.isSelectable(o)){e=e.doc.resolve(n+o.nodeSize*t),r=!1;continue o}break}o=a,n+=t;let u=e.doc.resolve(n);if(s.valid(u))return u}return null}}}s.prototype.visible=!1,s.findFrom=s.findGapCursorFrom,i.Y1.jsonID("gapcursor",s);class u{constructor(e){this.pos=e}map(e){return new u(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return s.valid(t)?new s(t):i.Y1.near(t)}}function l(){return new i.Sy({props:{decorations:f,createSelectionBetween:(e,t,r)=>t.pos==r.pos&&s.valid(r)?new s(r):null,handleClick:h,handleKeyDown:c,handleDOMEvents:{beforeinput:p}}})}let c=(0,n.$)({ArrowLeft:d("horiz",-1),ArrowRight:d("horiz",1),ArrowUp:d("vert",-1),ArrowDown:d("vert",1)});function d(e,t){let r="vert"==e?t>0?"down":"up":t>0?"right":"left";return function(e,n,o){let a=e.selection,u=t>0?a.$to:a.$from,l=a.empty;if(a instanceof i.Bs){if(!o.endOfTextblock(r)||0==u.depth)return!1;l=!1,u=e.doc.resolve(t>0?u.after():u.before())}let c=s.findGapCursorFrom(u,t,l);return!!c&&(n&&n(e.tr.setSelection(new s(c))),!0)}}function h(e,t,r){if(!e||!e.editable)return!1;let n=e.state.doc.resolve(t);if(!s.valid(n))return!1;let o=e.posAtCoords({left:r.clientX,top:r.clientY});return!(o&&o.inside>-1&&i.qv.isSelectable(e.state.doc.nodeAt(o.inside)))&&(e.dispatch(e.state.tr.setSelection(new s(n))),!0)}function p(e,t){if("insertCompositionText"!=t.inputType||!(e.state.selection instanceof s))return!1;let{$from:r}=e.state.selection,n=r.parent.contentMatchAt(r.index()).findWrapping(e.state.schema.nodes.text);if(!n)return!1;let a=o.HY.empty;for(let e=n.length-1;e>=0;e--)a=o.HY.from(n[e].createAndFill(null,a));let u=e.state.tr.replace(r.pos,r.pos,new o.p2(a,0,0));return u.setSelection(i.Bs.near(u.doc.resolve(r.pos+1))),e.dispatch(u),!1}function f(e){if(!(e.selection instanceof s))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",a.EH.create(e.doc,[a.p.widget(e.selection.head,t,{key:"gapcursor"})])}},88892:function(e,t,r){"use strict";r.d(t,{Hw:function(){return o},VK:function(){return i}});var n=r(27191);class i{constructor(e,t,r={}){this.match=e,this.match=e,this.handler="string"==typeof t?function(e,r,n,i){let o=t;if(r[1]){let e=r[0].lastIndexOf(r[1]);o+=r[0].slice(e+r[1].length);let t=(n+=e)-i;t>0&&(o=r[0].slice(e-t,e)+o,n=i)}return e.tr.insertText(o,n,i)}:t,this.undoable=!1!==r.undoable,this.inCode=r.inCode||!1}}function o({rules:e}){let t=new n.Sy({state:{init:()=>null,apply(e,t){return e.getMeta(this)||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:(r,n,i,o)=>a(r,n,i,o,e,t),handleDOMEvents:{compositionend:r=>{setTimeout(()=>{let{$cursor:n}=r.state.selection;n&&a(r,n.pos,n.pos,"",e,t)})}}},isInputRules:!0});return t}function a(e,t,r,n,i,o){if(e.composing)return!1;let a=e.state,s=a.doc.resolve(t),u=s.parent.textBetween(Math.max(0,s.parentOffset-500),s.parentOffset,null,"￼")+n;for(let l=0;l<i.length;l++){let c=i[l];if(s.parent.type.spec.code){if(!c.inCode)continue}else if("only"===c.inCode)continue;let d=c.match.exec(u),h=d&&c.handler(a,d,t-(d[0].length-n.length),r);if(h)return c.undoable&&h.setMeta(o,{transform:h,from:t,to:r,text:n}),e.dispatch(h),!0}return!1}new i(/--$/,"—"),new i(/\.\.\.$/,"…"),new i(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),new i(/"$/,"”"),new i(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),new i(/'$/,"’")},59195:function(e,t,r){"use strict";r.d(t,{$:function(){return v},h:function(){return g}});for(var n={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",229:"q"},i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},o="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),a="undefined"!=typeof navigator&&/Apple Computer/.test(navigator.vendor),s="undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),u="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),l="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),c=o&&(u||57>+o[1])||s&&u,d=0;d<10;d++)n[48+d]=n[96+d]=String(d);for(var d=1;d<=24;d++)n[d+111]="F"+d;for(var d=65;d<=90;d++)n[d]=String.fromCharCode(d+32),i[d]=String.fromCharCode(d);for(var h in n)i.hasOwnProperty(h)||(i[h]=n[h]);var p=r(27191);let f="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function m(e,t,r=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),r&&t.shiftKey&&(e="Shift-"+e),e}function g(e){return new p.Sy({props:{handleKeyDown:v(e)}})}function v(e){let t=function(e){let t=Object.create(null);for(let r in e)t[function(e){let t,r,n,i,o=e.split(/-(?!$)/),a=o[o.length-1];"Space"==a&&(a=" ");for(let e=0;e<o.length-1;e++){let a=o[e];if(/^(cmd|meta|m)$/i.test(a))i=!0;else if(/^a(lt)?$/i.test(a))t=!0;else if(/^(c|ctrl|control)$/i.test(a))r=!0;else if(/^s(hift)?$/i.test(a))n=!0;else if(/^mod$/i.test(a))f?i=!0:r=!0;else throw Error("Unrecognized modifier name: "+a)}return t&&(a="Alt-"+a),r&&(a="Ctrl-"+a),i&&(a="Meta-"+a),n&&(a="Shift-"+a),a}(r)]=e[r];return t}(e);return function(e,r){var o;let s=("Esc"==(o=!(c&&(r.ctrlKey||r.altKey||r.metaKey)||(a||l)&&r.shiftKey&&r.key&&1==r.key.length)&&r.key||(r.shiftKey?i:n)[r.keyCode]||r.key||"Unidentified")&&(o="Escape"),"Del"==o&&(o="Delete"),"Left"==o&&(o="ArrowLeft"),"Up"==o&&(o="ArrowUp"),"Right"==o&&(o="ArrowRight"),"Down"==o&&(o="ArrowDown"),o),u,d=t[m(s,r)];if(d&&d(e.state,e.dispatch,e))return!0;if(1==s.length&&" "!=s){if(r.shiftKey){let n=t[m(s,r,!1)];if(n&&n(e.state,e.dispatch,e))return!0}if((r.shiftKey||r.altKey||r.metaKey||s.charCodeAt(0)>127)&&(u=n[r.keyCode])&&u!=s){let n=t[m(u,r)];if(n&&n(e.state,e.dispatch,e))return!0}}return!1}}},30764:function(e,t,r){"use strict";function n(e){this.content=e}r.d(t,{aw:function(){return z},PW:function(){return Z},HY:function(){return i},vc:function(){return u},ZU:function(){return I},NB:function(){return _},Ts:function(){return k},Jq:function(){return F},e4:function(){return l},V_:function(){return L},p2:function(){return c}}),n.prototype={constructor:n,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return -1},get:function(e){var t=this.find(e);return -1==t?void 0:this.content[t+1]},update:function(e,t,r){var i=r&&r!=e?this.remove(r):this,o=i.find(e),a=i.content.slice();return -1==o?a.push(r||e,t):(a[o+1]=t,r&&(a[o]=r)),new n(a)},remove:function(e){var t=this.find(e);if(-1==t)return this;var r=this.content.slice();return r.splice(t,2),new n(r)},addToStart:function(e,t){return new n([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var r=this.remove(e).content.slice();return r.push(e,t),new n(r)},addBefore:function(e,t,r){var i=this.remove(t),o=i.content.slice(),a=i.find(e);return o.splice(-1==a?o.length:a,0,t,r),new n(o)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=n.from(e)).size?new n(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=n.from(e)).size?new n(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=n.from(e);for(var r=0;r<e.content.length;r+=2)t=t.remove(e.content[r]);return t},get size(){return this.content.length>>1}},n.from=function(e){if(e instanceof n)return e;var t=[];if(e)for(var r in e)t.push(r,e[r]);return new n(t)};class i{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let t=0;t<e.length;t++)this.size+=e[t].nodeSize}nodesBetween(e,t,r,n=0,i){for(let o=0,a=0;a<t;o++){let s=this.content[o],u=a+s.nodeSize;if(u>e&&!1!==r(s,n+a,i||null,o)&&s.content.size){let i=a+1;s.nodesBetween(Math.max(0,e-i),Math.min(s.content.size,t-i),r,n+i)}a=u}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,n){let i="",o=!0;return this.nodesBetween(e,t,(a,s)=>{let u=a.isText?a.text.slice(Math.max(e,s)-s,t-s):a.isLeaf?n?"function"==typeof n?n(a):n:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&u||a.isTextblock)&&r&&(o?o=!1:i+=r),i+=u},0),i}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,r=e.firstChild,n=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(r)&&(n[n.length-1]=t.withText(t.text+r.text),o=1);o<e.content.length;o++)n.push(e.content[o]);return new i(n,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let r=[],n=0;if(t>e)for(let i=0,o=0;o<t;i++){let a=this.content[i],s=o+a.nodeSize;s>e&&((o<e||s>t)&&(a=a.isText?a.cut(Math.max(0,e-o),Math.min(a.text.length,t-o)):a.cut(Math.max(0,e-o-1),Math.min(a.content.size,t-o-1))),r.push(a),n+=a.nodeSize),o=s}return new i(r,n)}cutByIndex(e,t){return e==t?i.empty:0==e&&t==this.content.length?this:new i(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let n=this.content.slice(),o=this.size+t.nodeSize-r.nodeSize;return n[e]=t,new i(n,o)}addToStart(e){return new i([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new i(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,r=0;t<this.content.length;t++){let n=this.content[t];e(n,r,t),r+=n.nodeSize}}findDiffStart(e,t=0){return function e(t,r,n){for(let i=0;;i++){if(i==t.childCount||i==r.childCount)return t.childCount==r.childCount?null:n;let o=t.child(i),a=r.child(i);if(o==a){n+=o.nodeSize;continue}if(!o.sameMarkup(a))return n;if(o.isText&&o.text!=a.text){for(let e=0;o.text[e]==a.text[e];e++)n++;return n}if(o.content.size||a.content.size){let t=e(o.content,a.content,n+1);if(null!=t)return t}n+=o.nodeSize}}(this,e,t)}findDiffEnd(e,t=this.size,r=e.size){return function e(t,r,n,i){for(let o=t.childCount,a=r.childCount;;){if(0==o||0==a)return o==a?null:{a:n,b:i};let s=t.child(--o),u=r.child(--a),l=s.nodeSize;if(s==u){n-=l,i-=l;continue}if(!s.sameMarkup(u))return{a:n,b:i};if(s.isText&&s.text!=u.text){let e=0,t=Math.min(s.text.length,u.text.length);for(;e<t&&s.text[s.text.length-e-1]==u.text[u.text.length-e-1];)e++,n--,i--;return{a:n,b:i}}if(s.content.size||u.content.size){let t=e(s.content,u.content,n-1,i-1);if(t)return t}n-=l,i-=l}}(this,e,t,r)}findIndex(e,t=-1){if(0==e)return a(0,e);if(e==this.size)return a(this.content.length,e);if(e>this.size||e<0)throw RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,n=0;;r++){let i=n+this.child(r).nodeSize;if(i>=e){if(i==e||t>0)return a(r+1,i);return a(r,n)}n=i}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return i.empty;if(!Array.isArray(t))throw RangeError("Invalid input for Fragment.fromJSON");return new i(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return i.empty;let t,r=0;for(let n=0;n<e.length;n++){let i=e[n];r+=i.nodeSize,n&&i.isText&&e[n-1].sameMarkup(i)?(t||(t=e.slice(0,n)),t[t.length-1]=i.withText(t[t.length-1].text+i.text)):t&&t.push(i)}return new i(t||e,r)}static from(e){if(!e)return i.empty;if(e instanceof i)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new i([e],e.nodeSize);throw RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}i.empty=new i([],0);let o={index:0,offset:0};function a(e,t){return o.index=e,o.offset=t,o}function s(e,t){if(e===t)return!0;if(!(e&&"object"==typeof e)||!(t&&"object"==typeof t))return!1;let r=Array.isArray(e);if(Array.isArray(t)!=r)return!1;if(r){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!s(e[r],t[r]))return!1}else{for(let r in e)if(!(r in t)||!s(e[r],t[r]))return!1;for(let r in t)if(!(r in e))return!1}return!0}class u{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,r=!1;for(let n=0;n<e.length;n++){let i=e[n];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,n));else{if(i.type.excludes(this.type))return e;!r&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,n)),t.push(this),r=!0),t&&t.push(i)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&s(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw RangeError("Invalid input for Mark.fromJSON");let r=e.marks[t.type];if(!r)throw RangeError(`There is no mark type ${t.type} in this schema`);let n=r.create(t.attrs);return r.checkAttrs(n.attrs),n}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(t[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&0==e.length)return u.none;if(e instanceof u)return[e];let t=e.slice();return t.sort((e,t)=>e.type.rank-t.type.rank),t}}u.none=[];class l extends Error{}class c{constructor(e,t,r){this.content=e,this.openStart=t,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let r=function e(t,r,n,i){let{index:o,offset:a}=t.findIndex(r),s=t.maybeChild(o);if(a==r||s.isText)return i&&!i.canReplace(o,o,n)?null:t.cut(0,r).append(n).append(t.cut(r));let u=e(s.content,r-a-1,n);return u&&t.replaceChild(o,s.copy(u))}(this.content,e+this.openStart,t);return r&&new c(r,this.openStart,this.openEnd)}removeBetween(e,t){return new c(function e(t,r,n){let{index:i,offset:o}=t.findIndex(r),a=t.maybeChild(i),{index:s,offset:u}=t.findIndex(n);if(o==r||a.isText){if(u!=n&&!t.child(s).isText)throw RangeError("Removing non-flat range");return t.cut(0,r).append(t.cut(n))}if(i!=s)throw RangeError("Removing non-flat range");return t.replaceChild(i,a.copy(e(a.content,r-o-1,n-o-1)))}(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return c.empty;let r=t.openStart||0,n=t.openEnd||0;if("number"!=typeof r||"number"!=typeof n)throw RangeError("Invalid input for Slice.fromJSON");return new c(i.fromJSON(e,t.content),r,n)}static maxOpen(e,t=!0){let r=0,n=0;for(let n=e.firstChild;n&&!n.isLeaf&&(t||!n.type.spec.isolating);n=n.firstChild)r++;for(let r=e.lastChild;r&&!r.isLeaf&&(t||!r.type.spec.isolating);r=r.lastChild)n++;return new c(e,r,n)}}function d(e,t){if(!t.type.compatibleContent(e.type))throw new l("Cannot join "+t.type.name+" onto "+e.type.name)}function h(e,t,r){let n=e.node(r);return d(n,t.node(r)),n}function p(e,t){let r=t.length-1;r>=0&&e.isText&&e.sameMarkup(t[r])?t[r]=e.withText(t[r].text+e.text):t.push(e)}function f(e,t,r,n){let i=(t||e).node(r),o=0,a=t?t.index(r):i.childCount;e&&(o=e.index(r),e.depth>r?o++:e.textOffset&&(p(e.nodeAfter,n),o++));for(let e=o;e<a;e++)p(i.child(e),n);t&&t.depth==r&&t.textOffset&&p(t.nodeBefore,n)}function m(e,t){return e.type.checkContent(t),e.copy(t)}function g(e,t,r){let n=[];return f(null,e,r,n),e.depth>r&&p(m(h(e,t,r+1),g(e,t,r+1)),n),f(t,null,r,n),new i(n)}c.empty=new c(i.empty,0,0);class v{constructor(e,t,r){this.pos=e,this.path=t,this.parentOffset=r,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],n=e.child(t);return r?e.child(t).cut(r):n}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let r=this.path[3*t],n=0==t?0:this.path[3*t-1]+1;for(let t=0;t<e;t++)n+=r.child(t).nodeSize;return n}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return u.none;if(this.textOffset)return e.child(t).marks;let r=e.maybeChild(t-1),n=e.maybeChild(t);if(!r){let e=r;r=n,n=e}let i=r.marks;for(var o=0;o<i.length;o++)!1!==i[o].type.spec.inclusive||n&&i[o].isInSet(n.marks)||(i=i[o--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let r=t.marks,n=e.parent.maybeChild(e.index());for(var i=0;i<r.length;i++)!1!==r[i].type.spec.inclusive||n&&r[i].isInSet(n.marks)||(r=r[i--].removeFromSet(r));return r}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new k(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw RangeError("Position "+t+" out of range");let r=[],n=0,i=t;for(let t=e;;){let{index:e,offset:o}=t.content.findIndex(i),a=i-o;if(r.push(t,e,n+o),!a||(t=t.child(e)).isText)break;i=a-1,n+=o+1}return new v(t,r,i)}static resolveCached(e,t){let r=w.get(e);if(r)for(let e=0;e<r.elts.length;e++){let n=r.elts[e];if(n.pos==t)return n}else w.set(e,r=new y);let n=r.elts[r.i]=v.resolve(e,t);return r.i=(r.i+1)%b,n}}class y{constructor(){this.elts=[],this.i=0}}let b=12,w=new WeakMap;class k{constructor(e,t,r){this.$from=e,this.$to=t,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}let x=Object.create(null);class _{constructor(e,t,r,n=u.none){this.type=e,this.attrs=t,this.marks=n,this.content=r||i.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,r,n=0){this.content.nodesBetween(e,t,r,n,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,r,n){return this.content.textBetween(e,t,r,n)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,r){return this.type==e&&s(this.attrs,t||e.defaultAttrs||x)&&u.sameSet(this.marks,r||u.none)}copy(e=null){return e==this.content?this:new _(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new _(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,r=!1){if(e==t)return c.empty;let n=this.resolve(e),i=this.resolve(t),o=r?0:n.sharedDepth(t),a=n.start(o);return new c(n.node(o).content.cut(n.pos-a,i.pos-a),n.depth-o,i.depth-o)}replace(e,t,r){return function(e,t,r){if(r.openStart>e.depth)throw new l("Inserted content deeper than insertion position");if(e.depth-r.openStart!=t.depth-r.openEnd)throw new l("Inconsistent open depths");return function e(t,r,n,o){let a=t.index(o),s=t.node(o);if(a==r.index(o)&&o<t.depth-n.openStart){let i=e(t,r,n,o+1);return s.copy(s.content.replaceChild(a,i))}if(!n.content.size)return m(s,g(t,r,o));if(n.openStart||n.openEnd||t.depth!=o||r.depth!=o){let{start:e,end:a}=function(e,t){let r=t.depth-e.openStart,n=t.node(r).copy(e.content);for(let e=r-1;e>=0;e--)n=t.node(e).copy(i.from(n));return{start:n.resolveNoCache(e.openStart+r),end:n.resolveNoCache(n.content.size-e.openEnd-r)}}(n,t);return m(s,function e(t,r,n,o,a){let s=t.depth>a&&h(t,r,a+1),u=o.depth>a&&h(n,o,a+1),l=[];return f(null,t,a,l),s&&u&&r.index(a)==n.index(a)?(d(s,u),p(m(s,e(t,r,n,o,a+1)),l)):(s&&p(m(s,g(t,r,a+1)),l),f(r,n,a,l),u&&p(m(u,g(n,o,a+1)),l)),f(o,null,a,l),new i(l)}(t,e,a,r,o))}{let e=t.parent,i=e.content;return m(e,i.cut(0,t.parentOffset).append(n.content).append(i.cut(r.parentOffset)))}}(e,t,r,0)}(this.resolve(e),this.resolve(t),r)}nodeAt(e){for(let t=this;;){let{index:r,offset:n}=t.content.findIndex(e);if(!(t=t.maybeChild(r)))return null;if(n==e||t.isText)return t;e-=n+1}}childAfter(e){let{index:t,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:r}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(t),index:t,offset:r};let n=this.content.child(t-1);return{node:n,index:t-1,offset:r-n.nodeSize}}resolve(e){return v.resolveCached(this,e)}resolveNoCache(e){return v.resolve(this,e)}rangeHasMark(e,t,r){let n=!1;return t>e&&this.nodesBetween(e,t,e=>(r.isInSet(e.marks)&&(n=!0),!n)),n}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),E(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,r=i.empty,n=0,o=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,n,o),s=a&&a.matchFragment(this.content,t);if(!s||!s.validEnd)return!1;for(let e=n;e<o;e++)if(!this.type.allowsMarks(r.child(e).marks))return!1;return!0}canReplaceWith(e,t,r,n){if(n&&!this.type.allowsMarks(n))return!1;let i=this.contentMatchAt(e).matchType(r),o=i&&i.matchFragment(this.content,t);return!!o&&o.validEnd}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=u.none;for(let t=0;t<this.marks.length;t++){let r=this.marks[t];r.type.checkAttrs(r.attrs),e=r.addToSet(e)}if(!u.sameSet(e,this.marks))throw RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(e=>e.toJSON())),e}static fromJSON(e,t){let r;if(!t)throw RangeError("Invalid input for Node.fromJSON");if(t.marks){if(!Array.isArray(t.marks))throw RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw RangeError("Invalid text node in JSON");return e.text(t.text,r)}let n=i.fromJSON(e,t.content),o=e.nodeType(t.type).create(t.attrs,n,r);return o.type.checkAttrs(o.attrs),o}}_.prototype.text=void 0;class S extends _{constructor(e,t,r,n){if(super(e,t,null,n),!r)throw RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):E(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new S(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new S(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function E(e,t){for(let r=e.length-1;r>=0;r--)t=e[r].type.name+"("+t+")";return t}class D{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){var r;let n,i=new C(e,t);if(null==i.next)return D.empty;let o=function e(t){let r=[];do r.push(function(t){let r=[];do r.push(function(t){let r=function(t){if(t.eat("(")){let r=e(t);return t.eat(")")||t.err("Missing closing paren"),r}if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=(function(e,t){let r=e.nodeTypes,n=r[t];if(n)return[n];let i=[];for(let e in r){let n=r[e];n.groups.indexOf(t)>-1&&i.push(n)}return 0==i.length&&e.err("No node type or group '"+t+"' found"),i})(t,t.next).map(e=>(null==t.inline?t.inline=e.isInline:t.inline!=e.isInline&&t.err("Mixing inline and block content"),{type:"name",value:e}));return t.pos++,1==e.length?e[0]:{type:"choice",exprs:e}}}(t);for(;;)if(t.eat("+"))r={type:"plus",expr:r};else if(t.eat("*"))r={type:"star",expr:r};else if(t.eat("?"))r={type:"opt",expr:r};else if(t.eat("{"))r=function(e,t){let r=j(e),n=r;return e.eat(",")&&(n="}"!=e.next?j(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:r,max:n,expr:t}}(t,r);else break;return r}(t));while(t.next&&")"!=t.next&&"|"!=t.next);return 1==r.length?r[0]:{type:"seq",exprs:r}}(t));while(t.eat("|"));return 1==r.length?r[0]:{type:"choice",exprs:r}}(i);i.next&&i.err("Unexpected trailing text");let a=(r=function(e){let t=[[]];return i(function e(t,o){if("choice"==t.type)return t.exprs.reduce((t,r)=>t.concat(e(r,o)),[]);if("seq"==t.type)for(let n=0;;n++){let a=e(t.exprs[n],o);if(n==t.exprs.length-1)return a;i(a,o=r())}else if("star"==t.type){let a=r();return n(o,a),i(e(t.expr,a),a),[n(a)]}else if("plus"==t.type){let a=r();return i(e(t.expr,o),a),i(e(t.expr,a),a),[n(a)]}else if("opt"==t.type)return[n(o)].concat(e(t.expr,o));else if("range"==t.type){let a=o;for(let n=0;n<t.min;n++){let n=r();i(e(t.expr,a),n),a=n}if(-1==t.max)i(e(t.expr,a),a);else for(let o=t.min;o<t.max;o++){let o=r();n(a,o),i(e(t.expr,a),o),a=o}return[n(a)]}else if("name"==t.type)return[n(o,void 0,t.value)];else throw Error("Unknown expr type")}(e,0),r()),t;function r(){return t.push([])-1}function n(e,r,n){let i={term:n,to:r};return t[e].push(i),i}function i(e,t){e.forEach(e=>e.to=t)}}(o),n=Object.create(null),function e(t){let i=[];t.forEach(e=>{r[e].forEach(({term:e,to:t})=>{let n;if(e){for(let t=0;t<i.length;t++)i[t][0]==e&&(n=i[t][1]);T(r,t).forEach(t=>{n||i.push([e,n=[]]),-1==n.indexOf(t)&&n.push(t)})}})});let o=n[t.join(",")]=new D(t.indexOf(r.length-1)>-1);for(let t=0;t<i.length;t++){let r=i[t][1].sort(O);o.next.push({type:i[t][0],next:n[r.join(",")]||e(r)})}return o}(T(r,0)));return function(e,t){for(let r=0,n=[e];r<n.length;r++){let e=n[r],i=!e.validEnd,o=[];for(let t=0;t<e.next.length;t++){let{type:r,next:a}=e.next[t];o.push(r.name),i&&!(r.isText||r.hasRequiredAttrs())&&(i=!1),-1==n.indexOf(a)&&n.push(a)}i&&t.err("Only non-generatable nodes ("+o.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(a,i),a}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,r=e.childCount){let n=this;for(let i=t;n&&i<r;i++)n=n.matchType(e.child(i).type);return n}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let r=0;r<e.next.length;r++)if(this.next[t].type==e.next[r].type)return!0;return!1}fillBefore(e,t=!1,r=0){let n=[this];return function o(a,s){let u=a.matchFragment(e,r);if(u&&(!t||u.validEnd))return i.from(s.map(e=>e.createAndFill()));for(let e=0;e<a.next.length;e++){let{type:t,next:r}=a.next[e];if(!(t.isText||t.hasRequiredAttrs())&&-1==n.indexOf(r)){n.push(r);let e=o(r,s.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let n=r.shift(),i=n.match;if(i.matchType(e)){let e=[];for(let t=n;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<i.next.length;e++){let{type:o,next:a}=i.next[e];o.isLeaf||o.hasRequiredAttrs()||o.name in t||n.type&&!a.validEnd||(r.push({match:o.contentMatch,type:o,via:n}),t[o.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return!function t(r){e.push(r);for(let n=0;n<r.next.length;n++)-1==e.indexOf(r.next[n].next)&&t(r.next[n].next)}(this),e.map((t,r)=>{let n=r+(t.validEnd?"*":" ")+" ";for(let r=0;r<t.next.length;r++)n+=(r?", ":"")+t.next[r].type.name+"->"+e.indexOf(t.next[r].next);return n}).join("\n")}}D.empty=new D(!0);class C{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw SyntaxError(e+" (in content expression '"+this.string+"')")}}function j(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function O(e,t){return t-e}function T(e,t){let r=[];return function t(n){let i=e[n];if(1==i.length&&!i[0].term)return t(i[0].to);r.push(n);for(let e=0;e<i.length;e++){let{term:n,to:o}=i[e];n||-1!=r.indexOf(o)||t(o)}}(t),r.sort(O)}function A(e){let t=Object.create(null);for(let r in e){let n=e[r];if(!n.hasDefault)return null;t[r]=n.default}return t}function P(e,t){let r=Object.create(null);for(let n in e){let i=t&&t[n];if(void 0===i){let t=e[n];if(t.hasDefault)i=t.default;else throw RangeError("No value supplied for attribute "+n)}r[n]=i}return r}function R(e,t,r,n){for(let n in t)if(!(n in e))throw RangeError(`Unsupported attribute ${n} for ${r} of type ${n}`);for(let r in e){let n=e[r];n.validate&&n.validate(t[r])}}function M(e,t){let r=Object.create(null);if(t)for(let n in t)r[n]=new N(e,n,t[n]);return r}class F{constructor(e,t,r){this.name=e,this.schema=t,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=M(e,r.attrs),this.defaultAttrs=A(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==D.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:P(this.attrs,e)}create(e=null,t,r){if(this.isText)throw Error("NodeType.create can't construct text nodes");return new _(this,this.computeAttrs(e),i.from(t),u.setFrom(r))}createChecked(e=null,t,r){return t=i.from(t),this.checkContent(t),new _(this,this.computeAttrs(e),t,u.setFrom(r))}createAndFill(e=null,t,r){if(e=this.computeAttrs(e),(t=i.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let n=this.contentMatch.matchFragment(t),o=n&&n.fillBefore(i.empty,!0);return o?new _(this,e,t.append(o),u.setFrom(r)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let t=0;t<e.childCount;t++)if(!this.allowsMarks(e.child(t).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){R(this.attrs,e,"node",this.name)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)>-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){let t;if(null==this.markSet)return e;for(let r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?t&&t.push(e[r]):t||(t=e.slice(0,r));return t?t.length?t:u.none:e}static compile(e,t){let r=Object.create(null);e.forEach((e,n)=>r[e]=new F(e,t,n));let n=t.spec.topNode||"doc";if(!r[n])throw RangeError("Schema is missing its top node type ('"+n+"')");if(!r.text)throw RangeError("Every schema needs a 'text' type");for(let e in r.text.attrs)throw RangeError("The text node type should not have attributes");return r}}class N{constructor(e,t,r){let n;this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate="string"==typeof r.validate?(n=r.validate.split("|"),r=>{let i=null===r?"null":typeof r;if(0>n.indexOf(i))throw RangeError(`Expected value of type ${n} for attribute ${t} on type ${e}, got ${i}`)}):r.validate}get isRequired(){return!this.hasDefault}}class I{constructor(e,t,r,n){this.name=e,this.rank=t,this.schema=r,this.spec=n,this.attrs=M(e,n.attrs),this.excluded=null;let i=A(this.attrs);this.instance=i?new u(this,i):null}create(e=null){return!e&&this.instance?this.instance:new u(this,P(this.attrs,e))}static compile(e,t){let r=Object.create(null),n=0;return e.forEach((e,i)=>r[e]=new I(e,n++,t,i)),r}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){R(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class L{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let r in e)t[r]=e[r];t.nodes=n.from(e.nodes),t.marks=n.from(e.marks||{}),this.nodes=F.compile(this.spec.nodes,this),this.marks=I.compile(this.spec.marks,this);let r=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw RangeError(e+" can not be both a node and a mark");let t=this.nodes[e],n=t.spec.content||"",i=t.spec.marks;if(t.contentMatch=r[n]||(r[n]=D.parse(n,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.spec.linebreakReplacement){if(this.linebreakReplacement)throw RangeError("Multiple linebreak nodes defined");if(!t.isInline||!t.isLeaf)throw RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=t}t.markSet="_"==i?null:i?B(this,i.split(" ")):""!=i&&t.inlineContent?null:[]}for(let e in this.marks){let t=this.marks[e],r=t.spec.excludes;t.excluded=null==r?[t]:""==r?[]:B(this,r.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,r,n){if("string"==typeof e)e=this.nodeType(e);else if(e instanceof F){if(e.schema!=this)throw RangeError("Node type from different schema used ("+e.name+")")}else throw RangeError("Invalid node type: "+e);return e.createChecked(t,r,n)}text(e,t){let r=this.nodes.text;return new S(r,r.defaultAttrs,e,u.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return _.fromJSON(this,e)}markFromJSON(e){return u.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw RangeError("Unknown node type: "+e);return t}}function B(e,t){let r=[];for(let n=0;n<t.length;n++){let i=t[n],o=e.marks[i],a=o;if(o)r.push(o);else for(let t in e.marks){let n=e.marks[t];("_"==i||n.spec.group&&n.spec.group.split(" ").indexOf(i)>-1)&&r.push(a=n)}if(!a)throw SyntaxError("Unknown mark type: '"+t[n]+"'")}return r}class z{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let r=this.matchedStyles=[];t.forEach(e=>{if(null!=e.tag)this.tags.push(e);else if(null!=e.style){let t=/[^=]*/.exec(e.style)[0];0>r.indexOf(t)&&r.push(t),this.styles.push(e)}}),this.normalizeLists=!this.tags.some(t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let r=e.nodes[t.node];return r.contentMatch.matchType(r)})}parse(e,t={}){let r=new W(this,t,!1);return r.addAll(e,u.none,t.from,t.to),r.finish()}parseSlice(e,t={}){let r=new W(this,t,!0);return r.addAll(e,u.none,t.from,t.to),c.maxOpen(r.finish())}matchTag(e,t,r){for(let i=r?this.tags.indexOf(r)+1:0;i<this.tags.length;i++){var n;let r=this.tags[i];if(n=r.tag,(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,n)&&(void 0===r.namespace||e.namespaceURI==r.namespace)&&(!r.context||t.matchesContext(r.context))){if(r.getAttrs){let t=r.getAttrs(e);if(!1===t)continue;r.attrs=t||void 0}return r}}}matchStyle(e,t,r,n){for(let i=n?this.styles.indexOf(n)+1:0;i<this.styles.length;i++){let n=this.styles[i],o=n.style;if(0==o.indexOf(e)&&(!n.context||r.matchesContext(n.context))&&(!(o.length>e.length)||61==o.charCodeAt(e.length)&&o.slice(e.length+1)==t)){if(n.getAttrs){let e=n.getAttrs(t);if(!1===e)continue;n.attrs=e||void 0}return n}}}static schemaRules(e){let t=[];function r(e){let r=null==e.priority?50:e.priority,n=0;for(;n<t.length;n++){let e=t[n];if((null==e.priority?50:e.priority)<r)break}t.splice(n,0,e)}for(let t in e.marks){let n=e.marks[t].spec.parseDOM;n&&n.forEach(e=>{r(e=G(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)})}for(let t in e.nodes){let n=e.nodes[t].spec.parseDOM;n&&n.forEach(e=>{r(e=G(e)),e.node||e.ignore||e.mark||(e.node=t)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new z(e,z.schemaRules(e)))}}let U={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},q={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},$={ol:!0,ul:!0};function H(e,t,r){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&r}class V{constructor(e,t,r,n,i,o){this.type=e,this.attrs=t,this.marks=r,this.solid=n,this.options=o,this.content=[],this.activeMarks=u.none,this.match=i||(4&o?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(i.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let t=this.type.contentMatch,r;return(r=t.findWrapping(e.type))?(this.match=t,r):null}}return this.match.findWrapping(e.type)}finish(e){if(!(1&this.options)){let e=this.content[this.content.length-1],t;e&&e.isText&&(t=/[ \t\r\n\u000c]+$/.exec(e.text))&&(e.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=e.withText(e.text.slice(0,e.text.length-t[0].length)))}let t=i.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(i.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!U.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class W{constructor(e,t,r){this.parser=e,this.options=t,this.isOpen=r,this.open=0;let n=t.topNode,i,o=H(null,t.preserveWhitespace,0)|(r?4:0);i=n?new V(n.type,n.attrs,u.none,!0,t.topMatch||n.type.contentMatch,o):r?new V(null,null,u.none,!0,null,o):new V(e.schema.topNodeType,null,u.none,!0,null,o),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){3==e.nodeType?this.addTextNode(e,t):1==e.nodeType&&this.addElement(e,t)}addTextNode(e,t){let r=e.nodeValue,n=this.top;if(2&n.options||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(1&n.options)r=2&n.options?r.replace(/\r\n?/g,"\n"):r.replace(/\r?\n|\r/g," ");else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let t=n.content[n.content.length-1],i=e.previousSibling;(!t||i&&"BR"==i.nodeName||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(r=r.slice(1))}r&&this.insertNode(this.parser.schema.text(r),t),this.findInText(e)}else this.findInside(e)}addElement(e,t,r){let n=e.nodeName.toLowerCase(),i;$.hasOwnProperty(n)&&this.parser.normalizeLists&&function(e){for(let t=e.firstChild,r=null;t;t=t.nextSibling){let e=1==t.nodeType?t.nodeName.toLowerCase():null;e&&$.hasOwnProperty(e)&&r?(r.appendChild(t),t=r):"li"==e?r=t:e&&(r=null)}}(e);let o=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(i=this.parser.matchTag(e,this,r));if(o?o.ignore:q.hasOwnProperty(n))this.findInside(e),this.ignoreFallback(e,t);else if(!o||o.skip||o.closeParent){o&&o.closeParent?this.open=Math.max(0,this.open-1):o&&o.skip.nodeType&&(e=o.skip);let r,i=this.top,a=this.needsBlock;if(U.hasOwnProperty(n))i.content.length&&i.content[0].isInline&&this.open&&(this.open--,i=this.top),r=!0,i.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);return}let s=o&&o.skip?t:this.readStyles(e,t);s&&this.addAll(e,s),r&&this.sync(i),this.needsBlock=a}else{let r=this.readStyles(e,t);r&&this.addElementByRule(e,o,r,!1===o.consuming?i:void 0)}}leafFallback(e,t){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"),t)}ignoreFallback(e,t){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"),t)}readStyles(e,t){let r=e.style;if(r&&r.length)for(let e=0;e<this.parser.matchedStyles.length;e++){let n=this.parser.matchedStyles[e],i=r.getPropertyValue(n);if(i)for(let e;;){let r=this.parser.matchStyle(n,i,this,e);if(!r)break;if(r.ignore)return null;if(t=r.clearMark?t.filter(e=>!r.clearMark(e)):t.concat(this.parser.schema.marks[r.mark].create(r.attrs)),!1===r.consuming)e=r;else break}}return t}addElementByRule(e,t,r,n){let i,o;if(t.node){if((o=this.parser.schema.nodes[t.node]).isLeaf)this.insertNode(o.create(t.attrs),r)||this.leafFallback(e,r);else{let e=this.enter(o,t.attrs||null,r,t.preserveWhitespace);e&&(i=!0,r=e)}}else{let e=this.parser.schema.marks[t.mark];r=r.concat(e.create(t.attrs))}let a=this.top;if(o&&o.isLeaf)this.findInside(e);else if(n)this.addElement(e,r,n);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(e=>this.insertNode(e,r));else{let n=e;"string"==typeof t.contentElement?n=e.querySelector(t.contentElement):"function"==typeof t.contentElement?n=t.contentElement(e):t.contentElement&&(n=t.contentElement),this.findAround(e,n,!0),this.addAll(n,r)}i&&this.sync(a)&&this.open--}addAll(e,t,r,n){let i=r||0;for(let o=r?e.childNodes[r]:e.firstChild,a=null==n?null:e.childNodes[n];o!=a;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o,t);this.findAtPoint(e,i)}findPlace(e,t){let r,n;for(let t=this.open;t>=0;t--){let i=this.nodes[t],o=i.findWrapping(e);if(o&&(!r||r.length>o.length)&&(r=o,n=i,!o.length)||i.solid)break}if(!r)return null;this.sync(n);for(let e=0;e<r.length;e++)t=this.enterInner(r[e],null,t,!1);return t}insertNode(e,t){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&(t=this.enterInner(e,null,t))}let r=this.findPlace(e,t);if(r){this.closeExtra();let t=this.top;t.match&&(t.match=t.match.matchType(e.type));let n=u.none;for(let i of r.concat(e.marks))(t.type?t.type.allowsMarkType(i.type):Y(i.type,e.type))&&(n=i.addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,r,n){let i=this.findPlace(e.create(t),r);return i&&(i=this.enterInner(e,t,r,!0,n)),i}enterInner(e,t,r,n=!1,i){this.closeExtra();let o=this.top;o.match=o.match&&o.match.matchType(e);let a=H(e,i,o.options);4&o.options&&0==o.content.length&&(a|=4);let s=u.none;return r=r.filter(t=>(o.type?!o.type.allowsMarkType(t.type):!Y(t.type,e))||(s=t.addToSet(s),!1)),this.nodes.push(new V(e,t,s,n,null,a)),this.open++,r}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let r=this.nodes[t].content;for(let t=r.length-1;t>=0;t--)e+=r[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==e&&this.find[r].offset==t&&(this.find[r].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,r){if(e!=t&&this.find)for(let n=0;n<this.find.length;n++)null==this.find[n].pos&&1==e.nodeType&&e.contains(this.find[n].node)&&t.compareDocumentPosition(this.find[n].node)&(r?2:4)&&(this.find[n].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),r=this.options.context,n=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),i=-(r?r.depth+1:0)+(n?0:1),o=(e,a)=>{for(;e>=0;e--){let s=t[e];if(""==s){if(e==t.length-1||0==e)continue;for(;a>=i;a--)if(o(e-1,a))return!0;return!1}{let e=a>0||0==a&&n?this.nodes[a].type:r&&a>=i?r.node(a-i).type:null;if(!e||e.name!=s&&-1==e.groups.indexOf(s))return!1;a--}}return!0};return o(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let r=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let e in this.parser.schema.nodes){let t=this.parser.schema.nodes[e];if(t.isTextblock&&t.defaultAttrs)return t}}}function G(e){let t={};for(let r in e)t[r]=e[r];return t}function Y(e,t){let r=t.schema.nodes;for(let n in r){let i=r[n];if(!i.allowsMarkType(e))continue;let o=[],a=e=>{o.push(e);for(let r=0;r<e.edgeCount;r++){let{type:n,next:i}=e.edge(r);if(n==t||0>o.indexOf(i)&&a(i))return!0}};if(a(i.contentMatch))return!0}}class Z{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},r){r||(r=J(t).createDocumentFragment());let n=r,i=[];return e.forEach(e=>{if(i.length||e.marks.length){let r=0,o=0;for(;r<i.length&&o<e.marks.length;){let t=e.marks[o];if(!this.marks[t.type.name]){o++;continue}if(!t.eq(i[r][0])||!1===t.type.spec.spanning)break;r++,o++}for(;r<i.length;)n=i.pop()[1];for(;o<e.marks.length;){let r=e.marks[o++],a=this.serializeMark(r,e.isInline,t);a&&(i.push([r,n]),n.appendChild(a.dom),n=a.contentDOM||a.dom)}}n.appendChild(this.serializeNodeInner(e,t))}),r}serializeNodeInner(e,t){let{dom:r,contentDOM:n}=Q(J(t),this.nodes[e.type.name](e),null,e.attrs);if(n){if(e.isLeaf)throw RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,n)}return r}serializeNode(e,t={}){let r=this.serializeNodeInner(e,t);for(let n=e.marks.length-1;n>=0;n--){let i=this.serializeMark(e.marks[n],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}serializeMark(e,t,r={}){let n=this.marks[e.type.name];return n&&Q(J(r),n(e,t),null,e.attrs)}static renderSpec(e,t,r=null,n){return Q(e,t,r,n)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Z(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=K(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return K(e.marks)}}function K(e){let t={};for(let r in e){let n=e[r].spec.toDOM;n&&(t[r]=n)}return t}function J(e){return e.document||window.document}let X=new WeakMap;function Q(e,t,r,n){let i,o,a;if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;let s=t[0],u;if("string"!=typeof s)throw RangeError("Invalid array passed to renderSpec");if(n&&(void 0===(o=X.get(n))&&X.set(n,(a=null,function e(t){if(t&&"object"==typeof t){if(Array.isArray(t)){if("string"==typeof t[0])a||(a=[]),a.push(t);else for(let r=0;r<t.length;r++)e(t[r])}else for(let r in t)e(t[r])}}(n),o=a)),u=o)&&u.indexOf(t)>-1)throw RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let l=s.indexOf(" ");l>0&&(r=s.slice(0,l),s=s.slice(l+1));let c=r?e.createElementNS(r,s):e.createElement(s),d=t[1],h=1;if(d&&"object"==typeof d&&null==d.nodeType&&!Array.isArray(d)){for(let e in h=2,d)if(null!=d[e]){let t=e.indexOf(" ");t>0?c.setAttributeNS(e.slice(0,t),e.slice(t+1),d[e]):c.setAttribute(e,d[e])}}for(let o=h;o<t.length;o++){let a=t[o];if(0===a){if(o<t.length-1||o>h)throw RangeError("Content hole must be the only child of its parent node");return{dom:c,contentDOM:c}}{let{dom:t,contentDOM:o}=Q(e,a,r,n);if(c.appendChild(t),o){if(i)throw RangeError("Multiple content holes");i=o}}}return{dom:c,contentDOM:i}}},71405:function(e,t,r){"use strict";r.d(t,{IB:function(){return a},KI:function(){return o},bw:function(){return s}});var n=r(26151),i=r(30764);function o(e,t=null){return function(r,o){let{$from:a,$to:s}=r.selection,u=a.blockRange(s),l=!1,c=u;if(!u)return!1;if(u.depth>=2&&a.node(u.depth-1).type.compatibleContent(e)&&0==u.startIndex){if(0==a.index(u.depth-1))return!1;let e=r.doc.resolve(u.start-2);c=new i.Ts(e,e,u.depth),u.endIndex<u.parent.childCount&&(u=new i.Ts(a,r.doc.resolve(s.end(u.depth)),u.depth)),l=!0}let d=(0,n.nd)(c,e,t,u);return!!d&&(o&&o((function(e,t,r,o,a){let s=i.HY.empty;for(let e=r.length-1;e>=0;e--)s=i.HY.from(r[e].type.create(r[e].attrs,s));e.step(new n.FC(t.start-(o?2:0),t.end,t.start,t.end,new i.p2(s,0,0),r.length,!0));let u=0;for(let e=0;e<r.length;e++)r[e].type==a&&(u=e+1);let l=r.length-u,c=t.start+r.length-(o?2:0),d=t.parent;for(let r=t.startIndex,i=t.endIndex,o=!0;r<i;r++,o=!1)!o&&(0,n.Ax)(e.doc,c,l)&&(e.split(c,l),c+=2*l),c+=d.child(r).nodeSize;return e})(r.tr,u,d,l,e).scrollIntoView()),!0)}}function a(e){return function(t,r){let{$from:o,$to:a}=t.selection,s=o.blockRange(a,t=>t.childCount>0&&t.firstChild.type==e);return!!s&&(!r||(o.node(s.depth-1).type==e?function(e,t,r,o){let a=e.tr,s=o.end,u=o.$to.end(o.depth);s<u&&(a.step(new n.FC(s-1,u,s,u,new i.p2(i.HY.from(r.create(null,o.parent.copy())),1,0),1,!0)),o=new i.Ts(a.doc.resolve(o.$from.pos),a.doc.resolve(u),o.depth));let l=(0,n.k9)(o);if(null==l)return!1;a.lift(o,l);let c=a.mapping.map(s,-1)-1;return(0,n.Mn)(a.doc,c)&&a.join(c),t(a.scrollIntoView()),!0}(t,r,e,s):function(e,t,r){let o=e.tr,a=r.parent;for(let e=r.end,t=r.endIndex-1,n=r.startIndex;t>n;t--)e-=a.child(t).nodeSize,o.delete(e-1,e+1);let s=o.doc.resolve(r.start),u=s.nodeAfter;if(o.mapping.map(r.end)!=r.start+s.nodeAfter.nodeSize)return!1;let l=0==r.startIndex,c=r.endIndex==a.childCount,d=s.node(-1),h=s.index(-1);if(!d.canReplace(h+(l?0:1),h+1,u.content.append(c?i.HY.empty:i.HY.from(a))))return!1;let p=s.pos,f=p+u.nodeSize;return o.step(new n.FC(p-(l?1:0),f+(c?1:0),p+1,f-1,new i.p2((l?i.HY.empty:i.HY.from(a.copy(i.HY.empty))).append(c?i.HY.empty:i.HY.from(a.copy(i.HY.empty))),l?0:1,c?0:1),l?0:1)),t(o.scrollIntoView()),!0}(t,r,s)))}}function s(e){return function(t,r){let{$from:o,$to:a}=t.selection,s=o.blockRange(a,t=>t.childCount>0&&t.firstChild.type==e);if(!s)return!1;let u=s.startIndex;if(0==u)return!1;let l=s.parent,c=l.child(u-1);if(c.type!=e)return!1;if(r){let o=c.lastChild&&c.lastChild.type==l.type,a=i.HY.from(o?e.create():null),u=new i.p2(i.HY.from(e.create(null,i.HY.from(l.type.create(null,a)))),o?3:1,0),d=s.start,h=s.end;r(t.tr.step(new n.FC(d-(o?3:1),h,d,h,u,1,!0)).scrollIntoView())}return!0}}},27191:function(e,t,r){"use strict";r.d(t,{Bs:function(){return c},C1:function(){return f},H$:function(){return C},Sy:function(){return S},Y1:function(){return a},qv:function(){return h},xm:function(){return s},yy:function(){return _}});var n=r(30764),i=r(26151);let o=Object.create(null);class a{constructor(e,t,r){this.$anchor=e,this.$head=t,this.ranges=r||[new s(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=n.p2.empty){let r=t.content.lastChild,i=null;for(let e=0;e<t.openEnd;e++)i=r,r=r.lastChild;let o=e.steps.length,a=this.ranges;for(let s=0;s<a.length;s++){let{$from:u,$to:l}=a[s],c=e.mapping.slice(o);e.replaceRange(c.map(u.pos),c.map(l.pos),s?n.p2.empty:t),0==s&&v(e,o,(r?r.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(e,t){let r=e.steps.length,n=this.ranges;for(let i=0;i<n.length;i++){let{$from:o,$to:a}=n[i],s=e.mapping.slice(r),u=s.map(o.pos),l=s.map(a.pos);i?e.deleteRange(u,l):(e.replaceRangeWith(u,l,t),v(e,r,t.isInline?-1:1))}}static findFrom(e,t,r=!1){let n=e.parent.inlineContent?new c(e):g(e.node(0),e.parent,e.pos,e.index(),t,r);if(n)return n;for(let n=e.depth-1;n>=0;n--){let i=t<0?g(e.node(0),e.node(n),e.before(n+1),e.index(n),t,r):g(e.node(0),e.node(n),e.after(n+1),e.index(n)+1,t,r);if(i)return i}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new f(e.node(0))}static atStart(e){return g(e,e,0,0,1)||new f(e)}static atEnd(e){return g(e,e,e.content.size,e.childCount,-1)||new f(e)}static fromJSON(e,t){if(!t||!t.type)throw RangeError("Invalid input for Selection.fromJSON");let r=o[t.type];if(!r)throw RangeError(`No selection type ${t.type} defined`);return r.fromJSON(e,t)}static jsonID(e,t){if(e in o)throw RangeError("Duplicate use of selection JSON ID "+e);return o[e]=t,t.prototype.jsonID=e,t}getBookmark(){return c.between(this.$anchor,this.$head).getBookmark()}}a.prototype.visible=!0;class s{constructor(e,t){this.$from=e,this.$to=t}}let u=!1;function l(e){u||e.parent.inlineContent||(u=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class c extends a{constructor(e,t=e){l(e),l(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let r=e.resolve(t.map(this.head));if(!r.parent.inlineContent)return a.near(r);let n=e.resolve(t.map(this.anchor));return new c(n.parent.inlineContent?n:r,r)}replace(e,t=n.p2.empty){if(super.replace(e,t),t==n.p2.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof c&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new d(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw RangeError("Invalid input for TextSelection.fromJSON");return new c(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,r=t){let n=e.resolve(t);return new this(n,r==t?n:e.resolve(r))}static between(e,t,r){let n=e.pos-t.pos;if((!r||n)&&(r=n>=0?1:-1),!t.parent.inlineContent){let e=a.findFrom(t,r,!0)||a.findFrom(t,-r,!0);if(!e)return a.near(t,r);t=e.$head}return e.parent.inlineContent||(0==n?e=t:(e=(a.findFrom(e,-r,!0)||a.findFrom(e,r,!0)).$anchor).pos<t.pos==n<0||(e=t)),new c(e,t)}}a.jsonID("text",c);class d{constructor(e,t){this.anchor=e,this.head=t}map(e){return new d(e.map(this.anchor),e.map(this.head))}resolve(e){return c.between(e.resolve(this.anchor),e.resolve(this.head))}}class h extends a{constructor(e){let t=e.nodeAfter;super(e,e.node(0).resolve(e.pos+t.nodeSize)),this.node=t}map(e,t){let{deleted:r,pos:n}=t.mapResult(this.anchor),i=e.resolve(n);return r?a.near(i):new h(i)}content(){return new n.p2(n.HY.from(this.node),0,0)}eq(e){return e instanceof h&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new p(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw RangeError("Invalid input for NodeSelection.fromJSON");return new h(e.resolve(t.anchor))}static create(e,t){return new h(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}h.prototype.visible=!1,a.jsonID("node",h);class p{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:r}=e.mapResult(this.anchor);return t?new d(r,r):new p(r)}resolve(e){let t=e.resolve(this.anchor),r=t.nodeAfter;return r&&h.isSelectable(r)?new h(t):a.near(t)}}class f extends a{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=n.p2.empty){if(t==n.p2.empty){e.delete(0,e.doc.content.size);let t=a.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new f(e)}map(e){return new f(e)}eq(e){return e instanceof f}getBookmark(){return m}}a.jsonID("all",f);let m={map(){return this},resolve:e=>new f(e)};function g(e,t,r,n,i,o=!1){if(t.inlineContent)return c.create(e,r);for(let a=n-(i>0?0:1);i>0?a<t.childCount:a>=0;a+=i){let n=t.child(a);if(n.isAtom){if(!o&&h.isSelectable(n))return h.create(e,r-(i<0?n.nodeSize:0))}else{let t=g(e,n,r+i,i<0?n.childCount:0,i,o);if(t)return t}r+=n.nodeSize*i}return null}function v(e,t,r){let n,o=e.steps.length-1;if(o<t)return;let s=e.steps[o];(s instanceof i.Pu||s instanceof i.FC)&&(e.mapping.maps[o].forEach((e,t,r,i)=>{null==n&&(n=i)}),e.setSelection(a.near(e.doc.resolve(n),r)))}class y extends i.wx{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(1|this.updated)&-3,this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return n.vc.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(e,t){super.addStep(e,t),this.updated=-3&this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let r=this.selection;return t&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||n.vc.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,r){let n=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(n.text(e),!0):this.deleteSelection();{if(null==r&&(r=t),r=null==r?t:r,!e)return this.deleteRange(t,r);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=r==t?e.marks():e.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(t,r,n.text(e,i)),this.selection.empty||this.setSelection(a.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function b(e,t){return t&&e?e.bind(t):e}class w{constructor(e,t,r){this.name=e,this.init=b(t.init,r),this.apply=b(t.apply,r)}}let k=[new w("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new w("selection",{init:(e,t)=>e.selection||a.atStart(t.doc),apply:e=>e.selection}),new w("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,r,n)=>n.selection.$cursor?e.storedMarks:null}),new w("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];class x{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=k.slice(),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new w(e.key,e.spec.state,e))})}}class _{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let r=0;r<this.config.plugins.length;r++)if(r!=t){let t=this.config.plugins[r];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],r=this.applyInner(e),n=null;for(;;){let i=!1;for(let o=0;o<this.config.plugins.length;o++){let a=this.config.plugins[o];if(a.spec.appendTransaction){let s=n?n[o].n:0,u=n?n[o].state:this,l=s<t.length&&a.spec.appendTransaction.call(a,s?t.slice(s):t,u,r);if(l&&r.filterTransaction(l,o)){if(l.setMeta("appendedTransaction",e),!n){n=[];for(let e=0;e<this.config.plugins.length;e++)n.push(e<o?{state:r,n:t.length}:{state:this,n:0})}t.push(l),r=r.applyInner(l),i=!0}n&&(n[o]={state:r,n:t.length})}}if(!i)return{state:r,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw RangeError("Applying a mismatched transaction");let t=new _(this.config),r=this.config.fields;for(let n=0;n<r.length;n++){let i=r[n];t[i.name]=i.apply(e,this[i.name],this,t)}return t}get tr(){return new y(this)}static create(e){let t=new x(e.doc?e.doc.type.schema:e.schema,e.plugins),r=new _(t);for(let n=0;n<t.fields.length;n++)r[t.fields[n].name]=t.fields[n].init(e,r);return r}reconfigure(e){let t=new x(this.schema,e.plugins),r=t.fields,n=new _(t);for(let t=0;t<r.length;t++){let i=r[t].name;n[i]=this.hasOwnProperty(i)?this[i]:r[t].init(e,n)}return n}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(e=>e.toJSON())),e&&"object"==typeof e)for(let r in e){if("doc"==r||"selection"==r)throw RangeError("The JSON fields `doc` and `selection` are reserved");let n=e[r],i=n.spec.state;i&&i.toJSON&&(t[r]=i.toJSON.call(n,this[n.key]))}return t}static fromJSON(e,t,r){if(!t)throw RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw RangeError("Required config field 'schema' missing");let i=new x(e.schema,e.plugins),o=new _(i);return i.fields.forEach(i=>{if("doc"==i.name)o.doc=n.NB.fromJSON(e.schema,t.doc);else if("selection"==i.name)o.selection=a.fromJSON(o.doc,t.selection);else if("storedMarks"==i.name)t.storedMarks&&(o.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let n in r){let a=r[n],s=a.spec.state;if(a.key==i.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(t,n)){o[i.name]=s.fromJSON.call(a,e,t[n],o);return}}o[i.name]=i.init(e,o)}}),o}}class S{constructor(e){this.spec=e,this.props={},e.props&&function e(t,r,n){for(let i in t){let o=t[i];o instanceof Function?o=o.bind(r):"handleDOMEvents"==i&&(o=e(o,r,{})),n[i]=o}return n}(e.props,this,this.props),this.key=e.key?e.key.key:D("plugin")}getState(e){return e[this.key]}}let E=Object.create(null);function D(e){return e in E?e+"$"+ ++E[e]:(E[e]=0,e+"$")}class C{constructor(e="key"){this.key=D(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}},26151:function(e,t,r){"use strict";r.d(t,{Ax:function(){return x},Cj:function(){return F},FC:function(){return g},GJ:function(){return E},KS:function(){return o},Mn:function(){return _},Pu:function(){return m},WJ:function(){return d},dR:function(){return C},k9:function(){return b},nd:function(){return w},nj:function(){return D},vs:function(){return a},wx:function(){return L},xu:function(){return h}});var n=r(30764);class i{constructor(e,t,r){this.pos=e,this.delInfo=t,this.recover=r}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class o{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&o.empty)return o.empty}recover(e){let t=0,r=65535&e;if(!this.inverted)for(let e=0;e<r;e++)t+=this.ranges[3*e+2]-this.ranges[3*e+1];return this.ranges[3*r]+t+(e-(65535&e))/65536}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,r){let n=0,o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let u=this.ranges[s]-(this.inverted?n:0);if(u>e)break;let l=this.ranges[s+o],c=this.ranges[s+a],d=u+l;if(e<=d){let o=l?e==u?-1:e==d?1:t:t,a=u+n+(o<0?0:c);if(r)return a;let h=e==(t<0?u:d)?null:s/3+(e-u)*65536,p=e==u?2:e==d?1:4;return(t<0?e!=u:e!=d)&&(p|=8),new i(a,p,h)}n+=c-l}return r?e+n:new i(e+n,0,null)}touches(e,t){let r=0,n=65535&t,i=this.inverted?2:1,o=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let a=this.ranges[t]-(this.inverted?r:0);if(a>e)break;let s=this.ranges[t+i];if(e<=a+s&&t==3*n)return!0;r+=this.ranges[t+o]-s}return!1}forEach(e){let t=this.inverted?2:1,r=this.inverted?1:2;for(let n=0,i=0;n<this.ranges.length;n+=3){let o=this.ranges[n],a=o-(this.inverted?i:0),s=o+(this.inverted?0:i),u=this.ranges[n+t],l=this.ranges[n+r];e(a,a+u,s,s+l),i+=l-u}}invert(){return new o(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?o.empty:new o(e<0?[0,-e,0]:[0,0,e])}}o.empty=new o([]);class a{constructor(e=[],t,r=0,n=e.length){this.maps=e,this.mirror=t,this.from=r,this.to=n}slice(e=0,t=this.maps.length){return new a(this.maps,this.mirror,e,t)}copy(){return new a(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,t){this.to=this.maps.push(e),null!=t&&this.setMirror(this.maps.length-1,t)}appendMapping(e){for(let t=0,r=this.maps.length;t<e.maps.length;t++){let n=e.getMirror(t);this.appendMap(e.maps[t],null!=n&&n<t?r+n:void 0)}}getMirror(e){if(this.mirror){for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,r=this.maps.length+e.maps.length;t>=0;t--){let n=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=n&&n>t?r-n-1:void 0)}}invert(){let e=new a;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let r=this.from;r<this.to;r++)e=this.maps[r].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,r){let n=0;for(let r=this.from;r<this.to;r++){let i=this.maps[r].mapResult(e,t);if(null!=i.recover){let t=this.getMirror(r);if(null!=t&&t>r&&t<this.to){r=t,e=this.maps[t].recover(i.recover);continue}}n|=i.delInfo,e=i.pos}return r?e:new i(e,n,null)}}let s=Object.create(null);class u{getMap(){return o.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw RangeError("Invalid input for Step.fromJSON");let r=s[t.stepType];if(!r)throw RangeError(`No step type ${t.stepType} defined`);return r.fromJSON(e,t)}static jsonID(e,t){if(e in s)throw RangeError("Duplicate use of step JSON ID "+e);return s[e]=t,t.prototype.jsonID=e,t}}class l{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new l(e,null)}static fail(e){return new l(null,e)}static fromReplace(e,t,r,i){try{return l.ok(e.replace(t,r,i))}catch(e){if(e instanceof n.e4)return l.fail(e.message);throw e}}}function c(e,t,r){let i=[];for(let n=0;n<e.childCount;n++){let o=e.child(n);o.content.size&&(o=o.copy(c(o.content,t,o))),o.isInline&&(o=t(o,r,n)),i.push(o)}return n.HY.fromArray(i)}class d extends u{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=e.resolve(this.from),i=r.node(r.sharedDepth(this.to)),o=new n.p2(c(t.content,(e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e,i),t.openStart,t.openEnd);return l.fromReplace(e,this.from,this.to,o)}invert(){return new h(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new d(t.pos,r.pos,this.mark)}merge(e){return e instanceof d&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new d(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw RangeError("Invalid input for AddMarkStep.fromJSON");return new d(t.from,t.to,e.markFromJSON(t.mark))}}u.jsonID("addMark",d);class h extends u{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=new n.p2(c(t.content,e=>e.mark(this.mark.removeFromSet(e.marks)),e),t.openStart,t.openEnd);return l.fromReplace(e,this.from,this.to,r)}invert(){return new d(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new h(t.pos,r.pos,this.mark)}merge(e){return e instanceof h&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new h(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw RangeError("Invalid input for RemoveMarkStep.fromJSON");return new h(t.from,t.to,e.markFromJSON(t.mark))}}u.jsonID("removeMark",h);class p extends u{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return l.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return l.fromReplace(e,this.pos,this.pos+1,new n.p2(n.HY.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let r=0;r<t.marks.length;r++)if(!t.marks[r].isInSet(e))return new p(this.pos,t.marks[r]);return new p(this.pos,this.mark)}}return new f(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new p(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new p(t.pos,e.markFromJSON(t.mark))}}u.jsonID("addNodeMark",p);class f extends u{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return l.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return l.fromReplace(e,this.pos,this.pos+1,new n.p2(n.HY.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new p(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new f(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new f(t.pos,e.markFromJSON(t.mark))}}u.jsonID("removeNodeMark",f);class m extends u{constructor(e,t,r,n=!1){super(),this.from=e,this.to=t,this.slice=r,this.structure=n}apply(e){return this.structure&&v(e,this.from,this.to)?l.fail("Structure replace would overwrite content"):l.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new o([this.from,this.to-this.from,this.slice.size])}invert(e){return new m(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deletedAcross&&r.deletedAcross?null:new m(t.pos,Math.max(t.pos,r.pos),this.slice)}merge(e){if(!(e instanceof m)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;{let t=this.slice.size+e.slice.size==0?n.p2.empty:new n.p2(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new m(e.from,this.to,t,this.structure)}}{let t=this.slice.size+e.slice.size==0?n.p2.empty:new n.p2(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new m(this.from,this.to+(e.to-e.from),t,this.structure)}}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw RangeError("Invalid input for ReplaceStep.fromJSON");return new m(t.from,t.to,n.p2.fromJSON(e,t.slice),!!t.structure)}}u.jsonID("replace",m);class g extends u{constructor(e,t,r,n,i,o,a=!1){super(),this.from=e,this.to=t,this.gapFrom=r,this.gapTo=n,this.slice=i,this.insert=o,this.structure=a}apply(e){if(this.structure&&(v(e,this.from,this.gapFrom)||v(e,this.gapTo,this.to)))return l.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return l.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,t.content);return r?l.fromReplace(e,this.from,this.to,r):l.fail("Content does not fit in gap")}getMap(){return new o([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new g(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),n=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),i=this.to==this.gapTo?r.pos:e.map(this.gapTo,1);return t.deletedAcross&&r.deletedAcross||n<t.pos||i>r.pos?null:new g(t.pos,r.pos,n,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new g(t.from,t.to,t.gapFrom,t.gapTo,n.p2.fromJSON(e,t.slice),t.insert,!!t.structure)}}function v(e,t,r){let n=e.resolve(t),i=r-t,o=n.depth;for(;i>0&&o>0&&n.indexAfter(o)==n.node(o).childCount;)o--,i--;if(i>0){let e=n.node(o).maybeChild(n.indexAfter(o));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function y(e,t,r,i=r.contentMatch,o=!0){let a=e.doc.nodeAt(t),s=[],u=t+1;for(let t=0;t<a.childCount;t++){let l=a.child(t),c=u+l.nodeSize,d=i.matchType(l.type);if(d){i=d;for(let t=0;t<l.marks.length;t++)r.allowsMarkType(l.marks[t].type)||e.step(new h(u,c,l.marks[t]));if(o&&l.isText&&"pre"!=r.whitespace){let e,t=/\r?\n|\r/g,i;for(;e=t.exec(l.text);)i||(i=new n.p2(n.HY.from(r.schema.text(" ",r.allowedMarks(l.marks))),0,0)),s.push(new m(u+e.index,u+e.index+e[0].length,i))}}else s.push(new m(u,c,n.p2.empty));u=c}if(!i.validEnd){let t=i.fillBefore(n.HY.empty,!0);e.replace(u,u,new n.p2(t,0,0))}for(let t=s.length-1;t>=0;t--)e.step(s[t])}function b(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let r=e.depth;;--r){let n=e.$from.node(r),i=e.$from.index(r),o=e.$to.indexAfter(r);if(r<e.depth&&n.canReplace(i,o,t))return r;if(0==r||n.type.spec.isolating||!((0==i||n.canReplace(i,n.childCount))&&(o==n.childCount||n.canReplace(0,o))))break}return null}function w(e,t,r=null,n=e){let i=function(e,t){let{parent:r,startIndex:n,endIndex:i}=e,o=r.contentMatchAt(n).findWrapping(t);if(!o)return null;let a=o.length?o[0]:t;return r.canReplaceWith(n,i,a)?o:null}(e,t),o=i&&function(e,t){let{parent:r,startIndex:n,endIndex:i}=e,o=r.child(n),a=t.contentMatch.findWrapping(o.type);if(!a)return null;let s=(a.length?a[a.length-1]:t).contentMatch;for(let e=n;s&&e<i;e++)s=s.matchType(r.child(e).type);return s&&s.validEnd?a:null}(n,t);return o?i.map(k).concat({type:t,attrs:r}).concat(o.map(k)):null}function k(e){return{type:e,attrs:null}}function x(e,t,r=1,n){let i=e.resolve(t),o=i.depth-r,a=n&&n[n.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let e=i.depth-1,t=r-2;e>o;e--,t--){let r=i.node(e),o=i.index(e);if(r.type.spec.isolating)return!1;let a=r.content.cutByIndex(o,r.childCount),s=n&&n[t+1];s&&(a=a.replaceChild(0,s.type.create(s.attrs)));let u=n&&n[t]||r;if(!r.canReplace(o+1,r.childCount)||!u.type.validContent(a))return!1}let s=i.indexAfter(o),u=n&&n[0];return i.node(o).canReplaceWith(s,s,u?u.type:i.node(o+1).type)}function _(e,t){let r=e.resolve(t),n=r.index();return S(r.nodeBefore,r.nodeAfter)&&r.parent.canReplace(n,n+1)}function S(e,t){return!!(e&&t&&!e.isLeaf&&e.canAppend(t))}function E(e,t,r=-1){let n=e.resolve(t);for(let e=n.depth;;e--){let i,o,a=n.index(e);if(e==n.depth?(i=n.nodeBefore,o=n.nodeAfter):r>0?(i=n.node(e+1),a++,o=n.node(e).maybeChild(a)):(i=n.node(e).maybeChild(a-1),o=n.node(e+1)),i&&!i.isTextblock&&S(i,o)&&n.node(e).canReplace(a,a+1))return t;if(0==e)break;t=r<0?n.before(e):n.after(e)}}function D(e,t,r){let n=e.resolve(t);if(!r.content.size)return t;let i=r.content;for(let e=0;e<r.openStart;e++)i=i.firstChild.content;for(let e=1;e<=(0==r.openStart&&r.size?2:1);e++)for(let t=n.depth;t>=0;t--){let r=t==n.depth?0:n.pos<=(n.start(t+1)+n.end(t+1))/2?-1:1,o=n.index(t)+(r>0?1:0),a=n.node(t),s=!1;if(1==e)s=a.canReplace(o,o,i);else{let e=a.contentMatchAt(o).findWrapping(i.firstChild.type);s=e&&a.canReplaceWith(o,o,e[0])}if(s)return 0==r?n.pos:r<0?n.before(t+1):n.after(t+1)}return null}function C(e,t,r=t,i=n.p2.empty){if(t==r&&!i.size)return null;let o=e.resolve(t),a=e.resolve(r);return j(o,a,i)?new m(t,r,i):new O(o,a,i).fit()}function j(e,t,r){return!r.openStart&&!r.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),r.content)}u.jsonID("replaceAround",g);class O{constructor(e,t,r){this.$from=e,this.$to=t,this.unplaced=r,this.frontier=[],this.placed=n.HY.empty;for(let t=0;t<=e.depth;t++){let r=e.node(t);this.frontier.push({type:r.type,match:r.contentMatchAt(e.indexAfter(t))})}for(let t=e.depth;t>0;t--)this.placed=n.HY.from(e.node(t).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let o=this.placed,a=r.depth,s=i.depth;for(;a&&s&&1==o.childCount;)o=o.firstChild.content,a--,s--;let u=new n.p2(o,a,s);return e>-1?new g(r.pos,e,this.$to.pos,this.$to.end(),u,t):u.size||r.pos!=this.$to.pos?new m(r.pos,i.pos,u):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,r=0,n=this.unplaced.openEnd;r<e;r++){let i=t.firstChild;if(t.childCount>1&&(n=0),i.type.spec.isolating&&n<=r){e=r;break}t=i.content}for(let t=1;t<=2;t++)for(let r=1==t?e:this.unplaced.openStart;r>=0;r--){let e=null,i=(r?(e=P(this.unplaced.content,r-1).firstChild).content:this.unplaced.content).firstChild;for(let o=this.depth;o>=0;o--){let{type:a,match:s}=this.frontier[o],u,l=null;if(1==t&&(i?s.matchType(i.type)||(l=s.fillBefore(n.HY.from(i),!1)):e&&a.compatibleContent(e.type)))return{sliceDepth:r,frontierDepth:o,parent:e,inject:l};if(2==t&&i&&(u=s.findWrapping(i.type)))return{sliceDepth:r,frontierDepth:o,parent:e,wrap:u};if(e&&s.matchType(e.type))break}}}openMore(){let{content:e,openStart:t,openEnd:r}=this.unplaced,i=P(e,t);return!!i.childCount&&!i.firstChild.isLeaf&&(this.unplaced=new n.p2(e,t+1,Math.max(r,i.size+t>=e.size-r?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:r}=this.unplaced,i=P(e,t);if(i.childCount<=1&&t>0){let o=e.size-t<=t+i.size;this.unplaced=new n.p2(T(e,t-1,1),t-1,o?t-1:r)}else this.unplaced=new n.p2(T(e,t,1),t,r)}placeNodes({sliceDepth:e,frontierDepth:t,parent:r,inject:i,wrap:o}){for(;this.depth>t;)this.closeFrontierNode();if(o)for(let e=0;e<o.length;e++)this.openFrontierNode(o[e]);let a=this.unplaced,s=r?r.content:a.content,u=a.openStart-e,l=0,c=[],{match:d,type:h}=this.frontier[t];if(i){for(let e=0;e<i.childCount;e++)c.push(i.child(e));d=d.matchFragment(i)}let p=s.size+e-(a.content.size-a.openEnd);for(;l<s.childCount;){let e=s.child(l),t=d.matchType(e.type);if(!t)break;(++l>1||0==u||e.content.size)&&(d=t,c.push(function e(t,r,i){if(r<=0)return t;let o=t.content;return r>1&&(o=o.replaceChild(0,e(o.firstChild,r-1,1==o.childCount?i-1:0))),r>0&&(o=t.type.contentMatch.fillBefore(o).append(o),i<=0&&(o=o.append(t.type.contentMatch.matchFragment(o).fillBefore(n.HY.empty,!0)))),t.copy(o)}(e.mark(h.allowedMarks(e.marks)),1==l?u:0,l==s.childCount?p:-1)))}let f=l==s.childCount;f||(p=-1),this.placed=A(this.placed,t,n.HY.from(c)),this.frontier[t].match=d,f&&p<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=s;e<p;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=f?0==e?n.p2.empty:new n.p2(T(a.content,e-1,1),e-1,p<0?a.openEnd:e-1):new n.p2(T(a.content,e,l),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return -1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!R(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return -1;let{depth:r}=this.$to,n=this.$to.after(r);for(;r>1&&n==this.$to.end(--r);)++n;return n}findCloseLevel(e){n:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:r,type:n}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),o=R(e,t,n,r,i);if(o){for(let r=t-1;r>=0;r--){let{match:t,type:n}=this.frontier[r],i=R(e,r,n,t,!0);if(!i||i.childCount)continue n}return{depth:t,fit:o,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=A(this.placed,t.depth,t.fit)),e=t.move;for(let r=t.depth+1;r<=e.depth;r++){let t=e.node(r),n=t.type.contentMatch.fillBefore(t.content,!0,e.index(r));this.openFrontierNode(t.type,t.attrs,n)}return e}openFrontierNode(e,t=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=A(this.placed,this.depth,n.HY.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(n.HY.empty,!0);e.childCount&&(this.placed=A(this.placed,this.frontier.length,e))}}function T(e,t,r){return 0==t?e.cutByIndex(r,e.childCount):e.replaceChild(0,e.firstChild.copy(T(e.firstChild.content,t-1,r)))}function A(e,t,r){return 0==t?e.append(r):e.replaceChild(e.childCount-1,e.lastChild.copy(A(e.lastChild.content,t-1,r)))}function P(e,t){for(let r=0;r<t;r++)e=e.firstChild.content;return e}function R(e,t,r,n,i){let o=e.node(t),a=i?e.indexAfter(t):e.index(t);if(a==o.childCount&&!r.compatibleContent(o.type))return null;let s=n.fillBefore(o.content,!0,a);return s&&!function(e,t,r){for(let n=r;n<t.childCount;n++)if(!e.allowsMarks(t.child(n).marks))return!0;return!1}(r,o.content,a)?s:null}function M(e,t){let r=[],n=Math.min(e.depth,t.depth);for(let i=n;i>=0;i--){let n=e.start(i);if(n<e.pos-(e.depth-i)||t.end(i)>t.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(n==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==n-1)&&r.push(i)}return r}class F extends u{constructor(e,t,r){super(),this.pos=e,this.attr=t,this.value=r}apply(e){let t=e.nodeAt(this.pos);if(!t)return l.fail("No node at attribute step's position");let r=Object.create(null);for(let e in t.attrs)r[e]=t.attrs[e];r[this.attr]=this.value;let i=t.type.create(r,null,t.marks);return l.fromReplace(e,this.pos,this.pos+1,new n.p2(n.HY.from(i),0,t.isLeaf?0:1))}getMap(){return o.empty}invert(e){return new F(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new F(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw RangeError("Invalid input for AttrStep.fromJSON");return new F(t.pos,t.attr,t.value)}}u.jsonID("attr",F);class N extends u{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let r in e.attrs)t[r]=e.attrs[r];t[this.attr]=this.value;let r=e.type.create(t,e.content,e.marks);return l.ok(r)}getMap(){return o.empty}invert(e){return new N(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw RangeError("Invalid input for DocAttrStep.fromJSON");return new N(t.attr,t.value)}}u.jsonID("docAttr",N);let I=class extends Error{};(I=function e(t){let r=Error.call(this,t);return r.__proto__=e.prototype,r}).prototype=Object.create(Error.prototype),I.prototype.constructor=I,I.prototype.name="TransformError";class L{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new a}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new I(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,r=n.p2.empty){let i=C(this.doc,e,t,r);return i&&this.step(i),this}replaceWith(e,t,r){return this.replace(e,t,new n.p2(n.HY.from(r),0,0))}delete(e,t){return this.replace(e,t,n.p2.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,r){return!function(e,t,r,i){if(!i.size)return e.deleteRange(t,r);let o=e.doc.resolve(t),a=e.doc.resolve(r);if(j(o,a,i))return e.step(new m(t,r,i));let s=M(o,e.doc.resolve(r));0==s[s.length-1]&&s.pop();let u=-(o.depth+1);s.unshift(u);for(let e=o.depth,t=o.pos-1;e>0;e--,t--){let r=o.node(e).type.spec;if(r.defining||r.definingAsContext||r.isolating)break;s.indexOf(e)>-1?u=e:o.before(e)==t&&s.splice(1,0,-e)}let l=s.indexOf(u),c=[],d=i.openStart;for(let e=i.content,t=0;;t++){let r=e.firstChild;if(c.push(r),t==i.openStart)break;e=r.content}for(let e=d-1;e>=0;e--){var h;let t=c[e],r=(h=t.type).spec.defining||h.spec.definingForContent;if(r&&!t.sameMarkup(o.node(Math.abs(u)-1)))d=e;else if(r||!t.type.isTextblock)break}for(let t=i.openStart;t>=0;t--){let u=(t+d+1)%(i.openStart+1),h=c[u];if(h)for(let t=0;t<s.length;t++){let c=s[(t+l)%s.length],d=!0;c<0&&(d=!1,c=-c);let p=o.node(c-1),f=o.index(c-1);if(p.canReplaceWith(f,f,h.type,h.marks))return e.replace(o.before(c),d?a.after(c):r,new n.p2(function e(t,r,i,o,a){if(r<i){let n=t.firstChild;t=t.replaceChild(0,n.copy(e(n.content,r+1,i,o,n)))}if(r>o){let e=a.contentMatchAt(0),r=e.fillBefore(t).append(t);t=r.append(e.matchFragment(r).fillBefore(n.HY.empty,!0))}return t}(i.content,0,i.openStart,u),u,i.openEnd))}}let p=e.steps.length;for(let n=s.length-1;n>=0&&(e.replace(t,r,i),!(e.steps.length>p));n--){let e=s[n];e<0||(t=o.before(e),r=a.after(e))}}(this,e,t,r),this}replaceRangeWith(e,t,r){return!function(e,t,r,i){if(!i.isInline&&t==r&&e.doc.resolve(t).parent.content.size){let n=function(e,t,r){let n=e.resolve(t);if(n.parent.canReplaceWith(n.index(),n.index(),r))return t;if(0==n.parentOffset)for(let e=n.depth-1;e>=0;e--){let t=n.index(e);if(n.node(e).canReplaceWith(t,t,r))return n.before(e+1);if(t>0)return null}if(n.parentOffset==n.parent.content.size)for(let e=n.depth-1;e>=0;e--){let t=n.indexAfter(e);if(n.node(e).canReplaceWith(t,t,r))return n.after(e+1);if(t<n.node(e).childCount)break}return null}(e.doc,t,i.type);null!=n&&(t=r=n)}e.replaceRange(t,r,new n.p2(n.HY.from(i),0,0))}(this,e,t,r),this}deleteRange(e,t){return!function(e,t,r){let n=e.doc.resolve(t),i=e.doc.resolve(r),o=M(n,i);for(let t=0;t<o.length;t++){let r=o[t],a=t==o.length-1;if(a&&0==r||n.node(r).type.contentMatch.validEnd)return e.delete(n.start(r),i.end(r));if(r>0&&(a||n.node(r-1).canReplace(n.index(r-1),i.indexAfter(r-1))))return e.delete(n.before(r),i.after(r))}for(let o=1;o<=n.depth&&o<=i.depth;o++)if(t-n.start(o)==n.depth-o&&r>n.end(o)&&i.end(o)-r!=i.depth-o)return e.delete(n.before(o),r);e.delete(t,r)}(this,e,t),this}lift(e,t){return!function(e,t,r){let{$from:i,$to:o,depth:a}=t,s=i.before(a+1),u=o.after(a+1),l=s,c=u,d=n.HY.empty,h=0;for(let e=a,t=!1;e>r;e--)t||i.index(e)>0?(t=!0,d=n.HY.from(i.node(e).copy(d)),h++):l--;let p=n.HY.empty,f=0;for(let e=a,t=!1;e>r;e--)t||o.after(e+1)<o.end(e)?(t=!0,p=n.HY.from(o.node(e).copy(p)),f++):c++;e.step(new g(l,c,s,u,new n.p2(d.append(p),h,f),d.size-h,!0))}(this,e,t),this}join(e,t=1){return!function(e,t,r){let i=new m(t-r,t+r,n.p2.empty,!0);e.step(i)}(this,e,t),this}wrap(e,t){return!function(e,t,r){let i=n.HY.empty;for(let e=r.length-1;e>=0;e--){if(i.size){let t=r[e].type.contentMatch.matchFragment(i);if(!t||!t.validEnd)throw RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=n.HY.from(r[e].type.create(r[e].attrs,i))}let o=t.start,a=t.end;e.step(new g(o,a,o,a,new n.p2(i,0,0),r.length,!0))}(this,e,t),this}setBlockType(e,t=e,r,i=null){return!function(e,t,r,i,o){if(!i.isTextblock)throw RangeError("Type given to setBlockType should be a textblock");let a=e.steps.length;e.doc.nodesBetween(t,r,(t,r)=>{var s,u;let l,c,d="function"==typeof o?o(t):o;if(t.isTextblock&&!t.hasMarkup(i,d)&&(s=e.doc,u=e.mapping.slice(a).map(r),c=(l=s.resolve(u)).index(),l.parent.canReplaceWith(c,c+1,i))){let o=null;if(i.schema.linebreakReplacement){let e="pre"==i.whitespace,t=!!i.contentMatch.matchType(i.schema.linebreakReplacement);e&&!t?o=!1:!e&&t&&(o=!0)}!1===o&&function(e,t,r,n){t.forEach((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let i=e.mapping.slice(n).map(r+1+o);e.replaceWith(i,i+1,t.type.schema.text("\n"))}})}(e,t,r,a),y(e,e.mapping.slice(a).map(r,1),i,void 0,null===o);let s=e.mapping.slice(a),u=s.map(r,1),l=s.map(r+t.nodeSize,1);return e.step(new g(u,l,u+1,l-1,new n.p2(n.HY.from(i.create(d,null,t.marks)),0,0),1,!0)),!0===o&&function(e,t,r,n){t.forEach((i,o)=>{if(i.isText){let a,s=/\r?\n|\r/g;for(;a=s.exec(i.text);){let i=e.mapping.slice(n).map(r+1+o+a.index);e.replaceWith(i,i+1,t.type.schema.linebreakReplacement.create())}}})}(e,t,r,a),!1}})}(this,e,t,r,i),this}setNodeMarkup(e,t,r=null,i){return!function(e,t,r,i,o){let a=e.doc.nodeAt(t);if(!a)throw RangeError("No node at given position");r||(r=a.type);let s=r.create(i,null,o||a.marks);if(a.isLeaf)return e.replaceWith(t,t+a.nodeSize,s);if(!r.validContent(a.content))throw RangeError("Invalid content for node type "+r.name);e.step(new g(t,t+a.nodeSize,t+1,t+a.nodeSize-1,new n.p2(n.HY.from(s),0,0),1,!0))}(this,e,t,r,i),this}setNodeAttribute(e,t,r){return this.step(new F(e,t,r)),this}setDocAttribute(e,t){return this.step(new N(e,t)),this}addNodeMark(e,t){return this.step(new p(e,t)),this}removeNodeMark(e,t){if(!(t instanceof n.vc)){let r=this.doc.nodeAt(e);if(!r)throw RangeError("No node at position "+e);if(!(t=t.isInSet(r.marks)))return this}return this.step(new f(e,t)),this}split(e,t=1,r){return!function(e,t,r=1,i){let o=e.doc.resolve(t),a=n.HY.empty,s=n.HY.empty;for(let e=o.depth,t=o.depth-r,u=r-1;e>t;e--,u--){a=n.HY.from(o.node(e).copy(a));let t=i&&i[u];s=n.HY.from(t?t.type.create(t.attrs,s):o.node(e).copy(s))}e.step(new m(t,t,new n.p2(a.append(s),r,r),!0))}(this,e,t,r),this}addMark(e,t,r){var n;let i,o,a,s;return n=this,a=[],s=[],n.doc.nodesBetween(e,t,(n,u,l)=>{if(!n.isInline)return;let c=n.marks;if(!r.isInSet(c)&&l.type.allowsMarkType(r.type)){let l=Math.max(u,e),p=Math.min(u+n.nodeSize,t),f=r.addToSet(c);for(let e=0;e<c.length;e++)c[e].isInSet(f)||(i&&i.to==l&&i.mark.eq(c[e])?i.to=p:a.push(i=new h(l,p,c[e])));o&&o.to==l?o.to=p:s.push(o=new d(l,p,r))}}),a.forEach(e=>n.step(e)),s.forEach(e=>n.step(e)),this}removeMark(e,t,r){var i;let o,a;return i=this,o=[],a=0,i.doc.nodesBetween(e,t,(i,s)=>{if(!i.isInline)return;a++;let u=null;if(r instanceof n.ZU){let e=i.marks,t;for(;t=r.isInSet(e);)(u||(u=[])).push(t),e=t.removeFromSet(e)}else r?r.isInSet(i.marks)&&(u=[r]):u=i.marks;if(u&&u.length){let r=Math.min(s+i.nodeSize,t);for(let t=0;t<u.length;t++){let n=u[t],i;for(let e=0;e<o.length;e++){let t=o[e];t.step==a-1&&n.eq(o[e].style)&&(i=t)}i?(i.to=r,i.step=a):o.push({style:n,from:Math.max(s,e),to:r,step:a})}}}),o.forEach(e=>i.step(new h(e.from,e.to,e.style))),this}clearIncompatible(e,t,r){return y(this,e,t,r),this}}},52797:function(e,t,r){"use strict";r.d(t,{PD:function(){return x}});var n={};function i(e){let t=null;return()=>(null==t&&(t=e()),t)}r.r(n),r.d(n,{FILE:function(){return s},HTML:function(){return c},TEXT:function(){return l},URL:function(){return u}});class o{enter(e){let t=this.entered.length;return this.entered=function(e,t){let r=new Set,n=e=>r.add(e);e.forEach(n),t.forEach(n);let i=[];return r.forEach(e=>i.push(e)),i}(this.entered.filter(t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e))),[e]),0===t&&this.entered.length>0}leave(e){let t=this.entered.length;return this.entered=this.entered.filter(this.isNodeInDocument).filter(t=>t!==e),t>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class a{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(r=>{let n=this.config.exposeProperties[r];null!=n&&(t[r]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}let s="__NATIVE_FILE__",u="__NATIVE_URL__",l="__NATIVE_TEXT__",c="__NATIVE_HTML__";function d(e,t,r){let n=t.reduce((t,r)=>t||e.getData(r),"");return null!=n?n:r}let h={[s]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[c]:{exposeProperties:{html:(e,t)=>d(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[u]:{exposeProperties:{urls:(e,t)=>d(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[l]:{exposeProperties:{text:(e,t)=>d(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function p(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(h).filter(e=>{let r=h[e];return null!=r&&!!r.matchesTypes&&r.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}let f=i(()=>/firefox/i.test(navigator.userAgent)),m=i(()=>!!window.safari);class g{interpolate(e){let t;let{xs:r,ys:n,c1s:i,c2s:o,c3s:a}=this,s=r.length-1;if(e===r[s])return n[s];let u=0,l=a.length-1;for(;u<=l;){let i=r[t=Math.floor(.5*(u+l))];if(i<e)u=t+1;else{if(!(i>e))return n[t];l=t-1}}let c=e-r[s=Math.max(0,l)],d=c*c;return n[s]+i[s]*c+o[s]*d+a[s]*c*d}constructor(e,t){let r,n,i;let{length:o}=e,a=[];for(let e=0;e<o;e++)a.push(e);a.sort((t,r)=>e[t]<e[r]?-1:1);let s=[],u=[],l=[];for(let i=0;i<o-1;i++)r=e[i+1]-e[i],n=t[i+1]-t[i],u.push(r),s.push(n),l.push(n/r);let c=[l[0]];for(let e=0;e<u.length-1;e++){let t=l[e],n=l[e+1];if(t*n<=0)c.push(0);else{r=u[e];let i=u[e+1],o=r+i;c.push(3*o/((o+i)/t+(o+r)/n))}}c.push(l[l.length-1]);let d=[],h=[];for(let e=0;e<c.length-1;e++){i=l[e];let t=c[e],r=1/u[e],n=t+c[e+1]-i-i;d.push((i-t-n)*r),h.push(n*r*r)}this.xs=e,this.ys=t,this.c1s=c,this.c2s=d,this.c3s=h}}function v(e){let t=1===e.nodeType?e:e.parentElement;if(!t)return null;let{top:r,left:n}=t.getBoundingClientRect();return{x:n,y:r}}function y(e){return{x:e.clientX,y:e.clientY}}class b{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var e;return(null===(e=this.globalContext)||void 0===e?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null===(e=this.optionsArgs)||void 0===e?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}class k{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(e=this.dragStartSourceIds)||void 0===e?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){let e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){let e=this.rootElement;if(void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var t;null===(t=this.window)||void 0===t||t.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,t,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,r){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);let n=t=>this.handleDragStart(t,e),i=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",n),t.addEventListener("selectstart",i),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",n),t.removeEventListener("selectstart",i),t.setAttribute("draggable","false")}}connectDropTarget(e,t){let r=t=>this.handleDragEnter(t,e),n=t=>this.handleDragOver(t,e),i=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",r),t.addEventListener("dragover",n),t.addEventListener("drop",i),()=>{t.removeEventListener("dragenter",r),t.removeEventListener("dragover",n),t.removeEventListener("drop",i)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return w({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();return w({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(n).some(t=>n[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){let r=h[e];if(!r)throw Error(`native type ${e} has no configuration`);let n=new a(r);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return null===(e=this.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,r){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&v(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>!!(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{let e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;let{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;let r=y(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});let{dataTransfer:n}=e,i=p(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){let e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),i=this.sourcePreviewNodes.get(e)||t;if(i){let{anchorX:e,anchorY:o,offsetX:a,offsetY:s}=this.getCurrentSourcePreviewNodeOptions(),u=function(e,t,r,n,i){var o;let a,s,u;let l="IMG"===t.nodeName&&(f()||!(null===(o=document.documentElement)||void 0===o?void 0:o.contains(t))),c=v(l?e:t),d={x:r.x-c.x,y:r.y-c.y},{offsetWidth:h,offsetHeight:p}=e,{anchorX:y,anchorY:b}=n,{dragPreviewWidth:w,dragPreviewHeight:k}=(a=l?t.width:h,s=l?t.height:p,m()&&l&&(s/=window.devicePixelRatio,a/=window.devicePixelRatio),{dragPreviewWidth:a,dragPreviewHeight:s}),{offsetX:x,offsetY:_}=i;return{x:0===x||x?x:new g([0,.5,1],[d.x,d.x/h*w,d.x+w-h]).interpolate(y),y:0===_||_?_:(u=new g([0,.5,1],[d.y,d.y/p*k,d.y+k-p]).interpolate(b),m()&&l&&(u+=(window.devicePixelRatio-1)*k),u)}}(t,i,r,{anchorX:e,anchorY:o},{offsetX:a,offsetY:s});n.setDragImage(i,u.x,u.y)}}try{null==n||n.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);let{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(i)this.beginDragNativeItem(i);else{if(n&&!n.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var t;null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)}if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;let{dataTransfer:r}=e,n=p(r);n&&this.beginDragNativeItem(n,r)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:y(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)}},this.handleTopDragOver=e=>{let{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none");return}this.altKeyPressed=e.altKey,this.lastClientOffset=y(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)}else p(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:y(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{let t=e.target;"function"!=typeof t.dragDrop||"INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop())},this.options=new b(t,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new o(this.isNodeInDocument)}}let x=function(e,t,r){return new k(e,t,r)}},88225:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});let n=(0,r(2784).createContext)({dragDropManager:void 0})},28846:function(e,t,r){"use strict";r.d(t,{W:function(){return K}});var n,i,o=r(52322),a=r(38726),s=r(54333);function u(e){return"object"==typeof e}let l="dnd-core/INIT_COORDS",c="dnd-core/BEGIN_DRAG",d="dnd-core/PUBLISH_DRAG_SOURCE",h="dnd-core/HOVER",p="dnd-core/DROP",f="dnd-core/END_DRAG";function m(e,t){return{type:l,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}let g={type:l,payload:{clientOffset:null,sourceClientOffset:null}};function v(e,t){return null===t?null===e:Array.isArray(e)?e.some(e=>e===t):e===t}class y{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){var e,t,r,n,i;let o=this,{dispatch:a}=this.store,l={beginDrag:(e=this,function(t=[],r={publishSource:!0}){let{publishSource:n=!0,clientOffset:i,getSourceClientOffset:o}=r,a=e.getMonitor(),l=e.getRegistry();e.dispatch(m(i)),(0,s.k)(!a.isDragging(),"Cannot call beginDrag while dragging."),t.forEach(function(e){(0,s.k)(l.getSource(e),"Expected sourceIds to be registered.")});let d=function(e,t){let r=null;for(let n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}(t,a);if(null==d){e.dispatch(g);return}let h=null;if(i){if(!o)throw Error("getSourceClientOffset must be defined");(0,s.k)("function"==typeof o,"When clientOffset is provided, getSourceClientOffset must be a function."),h=o(d)}e.dispatch(m(i,h));let p=l.getSource(d).beginDrag(a,d);if(null!=p)return(0,s.k)(u(p),"Item must be an object."),l.pinSource(d),{type:c,payload:{itemType:l.getSourceType(d),item:p,sourceId:d,clientOffset:i||null,sourceClientOffset:h||null,isSourcePublic:!!n}}}),publishDragSource:(t=this,function(){if(t.getMonitor().isDragging())return{type:d}}),hover:(r=this,function(e,{clientOffset:t}={}){(0,s.k)(Array.isArray(e),"Expected targetIds to be an array.");let n=e.slice(0),i=r.getMonitor(),o=r.getRegistry();return function(e,t,r){for(let n=e.length-1;n>=0;n--){let i=e[n];v(t.getTargetType(i),r)||e.splice(n,1)}}(n,o,i.getItemType()),function(e,t,r){(0,s.k)(t.isDragging(),"Cannot call hover while not dragging."),(0,s.k)(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){let n=e[t];(0,s.k)(e.lastIndexOf(n)===t,"Expected targetIds to be unique in the passed array.");let i=r.getTarget(n);(0,s.k)(i,"Expected targetIds to be registered.")}}(n,i,o),function(e,t,r){e.forEach(function(e){r.getTarget(e).hover(t,e)})}(n,i,o),{type:h,payload:{targetIds:n,clientOffset:t||null}}}),drop:(n=this,function(e={}){let t=n.getMonitor(),r=n.getRegistry();(0,s.k)(t.isDragging(),"Cannot call drop while not dragging."),(0,s.k)(!t.didDrop(),"Cannot call drop twice during one drag operation."),(function(e){let t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t})(t).forEach((i,o)=>{let a={type:p,payload:{dropResult:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e,function(e,t,r,n){var i;let o=r.getTarget(e),a=o?o.drop(n,e):void 0;return i=a,(0,s.k)(void 0===i||u(i),"Drop result must either be an object or undefined."),void 0===a&&(a=0===t?{}:n.getDropResult()),a}(i,o,r,t))}};n.dispatch(a)})}),endDrag:(i=this,function(){let e=i.getMonitor(),t=i.getRegistry();(0,s.k)(e.isDragging(),"Cannot call endDrag while not dragging.");let r=e.getSourceId();return null!=r&&(t.getSource(r,!0).endDrag(e,r),t.unpinSource()),{type:f}})};return Object.keys(l).reduce((e,t)=>{let r=l[t];return e[t]=(...e)=>{let t=r.apply(o,e);void 0!==t&&a(t)},e},{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{let e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function b(e,t){return{x:e.x-t.x,y:e.y-t.y}}let w=[],k=[];w.__IS_NONE__=!0,k.__IS_ALL__=!0;class x{subscribeToStateChange(e,t={}){let{handlerIds:r}=t;(0,s.k)("function"==typeof e,"listener must be a function."),(0,s.k)(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe(()=>{let t=this.store.getState(),i=t.stateId;try{var o,a;i!==n&&(i!==n+1||(o=t.dirtyHandlerIds,a=r,o!==w&&(o===k||void 0===a||a.filter(e=>o.indexOf(e)>-1).length>0)))&&e()}finally{n=i}})}subscribeToOffsetChange(e){(0,s.k)("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe(()=>{let r=this.store.getState().dragOffset;r!==t&&(t=r,e())})}canDragSource(e){if(!e)return!1;let t=this.registry.getSource(e);return(0,s.k)(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;let t=this.registry.getTarget(e);return(0,s.k)(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&v(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;let t=this.registry.getSource(e,!0);return(0,s.k)(t,`Expected to find a valid source. sourceId=${e}`),!!(this.isDragging()&&this.isSourcePublic())&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e,t={shallow:!1}){if(!e)return!1;let{shallow:r}=t;if(!this.isDragging())return!1;let n=this.registry.getTargetType(e),i=this.getItemType();if(i&&!v(n,i))return!1;let o=this.getTargetIds();if(!o.length)return!1;let a=o.indexOf(e);return r?a===o.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){let{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:n}=e;return t&&r&&n?b({x:t.x+n.x,y:t.y+n.y},r):null}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){let{clientOffset:t,initialClientOffset:r}=e;return t&&r?b(t,r):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}let _="undefined"!=typeof global?global:self,S=_.MutationObserver||_.WebKitMutationObserver;function E(e){return function(){let t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}let D="function"==typeof S?function(e){let t=1,r=new S(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}:E;class C{enqueueTask(e){let{queue:t,requestFlush:r}=this;t.length||(r(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{let{queue:e}=this;for(;this.index<e.length;){let t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,r=e.length-this.index;t<r;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=D(this.flush),this.requestErrorThrow=E(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class j{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}class O{create(e){let t=this.freeTasks,r=t.length?t.pop():new j(this.onError,e=>t[t.length]=e);return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}let T=new C,A=new O(T.registerPendingError),P="dnd-core/ADD_SOURCE",R="dnd-core/ADD_TARGET",M="dnd-core/REMOVE_SOURCE",F="dnd-core/REMOVE_TARGET";function N(e,t){if(t&&Array.isArray(e)){e.forEach(e=>N(e,!1));return}(0,s.k)("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}(n=i||(i={})).SOURCE="SOURCE",n.TARGET="TARGET";let I=0;function L(e){switch(e[0]){case"S":return i.SOURCE;case"T":return i.TARGET;default:throw Error(`Cannot parse handler ID: ${e}`)}}function B(e,t){let r=e.entries(),n=!1;do{let{done:e,value:[,i]}=r.next();if(i===t)return!0;n=!!e}while(!n);return!1}class z{addSource(e,t){N(e),(0,s.k)("function"==typeof t.canDrag,"Expected canDrag to be a function."),(0,s.k)("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),(0,s.k)("function"==typeof t.endDrag,"Expected endDrag to be a function.");let r=this.addHandler(i.SOURCE,e,t);return this.store.dispatch({type:P,payload:{sourceId:r}}),r}addTarget(e,t){N(e,!0),(0,s.k)("function"==typeof t.canDrop,"Expected canDrop to be a function."),(0,s.k)("function"==typeof t.hover,"Expected hover to be a function."),(0,s.k)("function"==typeof t.drop,"Expected beginDrag to be a function.");let r=this.addHandler(i.TARGET,e,t);return this.store.dispatch({type:R,payload:{targetId:r}}),r}containsHandler(e){return B(this.dragSources,e)||B(this.dropTargets,e)}getSource(e,t=!1){return(0,s.k)(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return(0,s.k)(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return(0,s.k)(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return(0,s.k)(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return L(e)===i.SOURCE}isTargetId(e){return L(e)===i.TARGET}removeSource(e){var t;(0,s.k)(this.getSource(e),"Expected an existing source."),this.store.dispatch({type:M,payload:{sourceId:e}}),t=()=>{this.dragSources.delete(e),this.types.delete(e)},T.enqueueTask(A.create(t))}removeTarget(e){(0,s.k)(this.getTarget(e),"Expected an existing target."),this.store.dispatch({type:F,payload:{targetId:e}}),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){let t=this.getSource(e);(0,s.k)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){(0,s.k)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,r){let n=function(e){let t=(I++).toString();switch(e){case i.SOURCE:return`S${t}`;case i.TARGET:return`T${t}`;default:throw Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(n,t),e===i.SOURCE?this.dragSources.set(n,r):e===i.TARGET&&this.dropTargets.set(n,r),n}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}let U=(e,t)=>e===t,q={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}let H={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function V(e={},t){var r;return{dirtyHandlerIds:function(e=w,t){switch(t.type){case h:break;case P:case R:case F:case M:return w;default:return k}let{targetIds:r=[],prevTargetIds:n=[]}=t.payload,i=function(e,t){let r=new Map,n=e=>{r.set(e,r.has(e)?r.get(e)+1:1)};e.forEach(n),t.forEach(n);let i=[];return r.forEach((e,t)=>{1===e&&i.push(t)}),i}(r,n);if(!(i.length>0||!function(e,t,r=U){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}(r,n)))return w;let o=n[n.length-1],a=r[r.length-1];return o!==a&&(o&&i.push(o),a&&i.push(a)),i}(e.dirtyHandlerIds,{type:t.type,payload:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},t.payload,{prevTargetIds:(r=[],"dragOperation.targetIds".split(".").reduce((e,t)=>e&&e[t]?e[t]:r||null,e))})}),dragOffset:function(e=q,t){let{payload:r}=t;switch(t.type){case l:case c:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case h:var n,i;if(n=e.clientOffset,i=r.clientOffset,!n&&!i||n&&i&&n.x===i.x&&n.y===i.y)return e;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e,{clientOffset:r.clientOffset});case f:case p:return q;default:return e}}(e.dragOffset,t),refCount:function(e=0,t){switch(t.type){case P:case R:return e+1;case M:case F:return e-1;default:return e}}(e.refCount,t),dragOperation:function(e=H,t){let{payload:r}=t;switch(t.type){case c:return $({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case d:return $({},e,{isSourcePublic:!0});case h:return $({},e,{targetIds:r.targetIds});case F:var n,i;if(-1===e.targetIds.indexOf(r.targetId))return e;return $({},e,{targetIds:(n=e.targetIds,i=r.targetId,n.filter(e=>e!==i))});case p:return $({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case f:return $({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}(e.dragOperation,t),stateId:function(e=0){return e+1}(e.stateId)}}var W=r(2784),G=r(88225);let Y=0,Z=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var K=(0,W.memo)(function(e){var t,{children:r}=e;let[n,i]="manager"in(t=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["children"]))?[{dragDropManager:t.manager},!1]:[function(e,t=J(),r,n){return t[Z]||(t[Z]={dragDropManager:function(e,t,r={},n=!1){let i=function(e){let t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return(0,a.MT)(V,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(n),o=new x(i,new z(i)),s=new y(i,o),u=e(s,t,r);return s.receiveBackend(u),s}(e,t,r,n)}),t[Z]}(t.backend,t.context,t.options,t.debugMode),!t.context];return(0,W.useEffect)(()=>{if(i){let e=J();return++Y,()=>{0==--Y&&(e[Z]=null)}}},[]),(0,o.jsx)(G.L.Provider,{value:n,children:r})});function J(){return"undefined"!=typeof global?global:window}},95931:function(e,t,r){"use strict";r.d(t,{J:function(){return a}});var n=r(69378),i=r(2784),o=r(22976);function a(e,t,r){return function(e,t,r){let[a,s]=function(e,t,r){let[a,s]=(0,i.useState)(()=>t(e)),u=(0,i.useCallback)(()=>{let i=t(e);!n(a,i)&&(s(i),r&&r())},[a,e,r]);return(0,o.L)(u),[a,u]}(e,t,r);return(0,o.L)(function(){let t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(s,{handlerIds:[t]})},[e,s]),a}(t,e||(()=>({})),()=>r.reconnect())}},92843:function(e,t,r){"use strict";r.d(t,{c:function(){return y}});var n=r(54333),i=r(95931),o=r(22192),a=r(2784),s=r(72057),u=r(17164),l=r(54756);class c{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){let e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){let e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e),t}reconnectDragPreview(e=!1){let t=this.dragPreview,r=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(r&&this.disconnectDragPreview(),this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!(0,s.w)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,s.w)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=(0,l.p)({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,(0,u.d)(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,(0,u.d)(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}var d=r(46402),h=r(22976);let p=!1,f=!1;class m{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){(0,n.k)(!p,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return p=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{p=!1}}isDragging(){if(!this.sourceId)return!1;(0,n.k)(!f,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return f=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{f=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}var g=r(84952);class v{beginDrag(){let e=this.spec,t=this.monitor,r=null;return null!=(r="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{})?r:null}canDrag(){let e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}isDragging(e,t){let r=this.spec,n=this.monitor,{isDragging:i}=r;return i?i(n):t===e.getSourceId()}endDrag(){let e=this.spec,t=this.monitor,r=this.connector,{end:n}=e;n&&n(t.getItem(),t),r.reconnect()}constructor(e,t,r){this.spec=e,this.monitor=t,this.connector=r}}function y(e,t){let r=(0,o.w)(e,t);(0,n.k)(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");let s=function(){let e=(0,d.N)();return(0,a.useMemo)(()=>new m(e),[e])}(),u=function(e,t){let r=(0,d.N)(),n=(0,a.useMemo)(()=>new c(r.getBackend()),[r]);return(0,h.L)(()=>(n.dragSourceOptions=e||null,n.reconnect(),()=>n.disconnectDragSource()),[n,e]),(0,h.L)(()=>(n.dragPreviewOptions=t||null,n.reconnect(),()=>n.disconnectDragPreview()),[n,t]),n}(r.options,r.previewOptions);return!function(e,t,r){let i=(0,d.N)(),o=function(e,t,r){let n=(0,a.useMemo)(()=>new v(e,t,r),[t,r]);return(0,a.useEffect)(()=>{n.spec=e},[e]),n}(e,t,r),s=(0,a.useMemo)(()=>{let t=e.type;return(0,n.k)(null!=t,"spec.type must be defined"),t},[e]);(0,h.L)(function(){if(null!=s){let[e,n]=(0,g.w)(s,o,i);return t.receiveHandlerId(e),r.receiveHandlerId(e),n}},[i,t,r,o,s])}(r,s,u),[(0,i.J)(r.collect,s,u),(0,a.useMemo)(()=>u.hooks.dragSource(),[u]),(0,a.useMemo)(()=>u.hooks.dragPreview(),[u])]}},46402:function(e,t,r){"use strict";r.d(t,{N:function(){return a}});var n=r(54333),i=r(2784),o=r(88225);function a(){let{dragDropManager:e}=(0,i.useContext)(o.L);return(0,n.k)(null!=e,"Expected drag drop context"),e}},20103:function(e,t,r){"use strict";r.d(t,{L:function(){return v}});var n=r(95931),i=r(22192),o=r(2784),a=r(72057),s=r(17164),u=r(54756);class l{get connectTarget(){return this.dropTarget}reconnect(){let e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();let t=this.dropTarget;if(this.handlerId){if(!t){this.lastConnectedDropTarget=t;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions))}}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!(0,a.w)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=(0,u.p)({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,(0,s.d)(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}var c=r(46402),d=r(22976),h=r(54333);let p=!1;class f{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;(0,h.k)(!p,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return p=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{p=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}var m=r(84952);class g{canDrop(){let e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){let e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){let e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function v(e,t){let r=(0,i.w)(e,t),a=function(){let e=(0,c.N)();return(0,o.useMemo)(()=>new f(e),[e])}(),s=function(e){let t=(0,c.N)(),r=(0,o.useMemo)(()=>new l(t.getBackend()),[t]);return(0,d.L)(()=>(r.dropTargetOptions=e||null,r.reconnect(),()=>r.disconnectDropTarget()),[e]),r}(r.options);return!function(e,t,r){let n=(0,c.N)(),i=function(e,t){let r=(0,o.useMemo)(()=>new g(e,t),[t]);return(0,o.useEffect)(()=>{r.spec=e},[e]),r}(e,t),a=function(e){let{accept:t}=e;return(0,o.useMemo)(()=>((0,h.k)(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t]),[t])}(e);(0,d.L)(function(){let[e,o]=(0,m.n)(a,i,n);return t.receiveHandlerId(e),r.receiveHandlerId(e),o},[n,t,i,r,a.map(e=>e.toString()).join("|")])}(r,a,s),[(0,n.J)(r.collect,a,s),(0,o.useMemo)(()=>s.hooks.dropTarget(),[s])]}},22976:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r(2784);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},22192:function(e,t,r){"use strict";r.d(t,{w:function(){return i}});var n=r(2784);function i(e,t){let r=[...t||[]];return null==t&&"function"!=typeof e&&r.push(e),(0,n.useMemo)(()=>"function"==typeof e?e():e,r)}},17164:function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}r.d(t,{d:function(){return n}})},84952:function(e,t,r){"use strict";function n(e,t,r){let n=r.getRegistry(),i=n.addTarget(e,t);return[i,()=>n.removeTarget(i)]}function i(e,t,r){let n=r.getRegistry(),i=n.addSource(e,t);return[i,()=>n.removeSource(i)]}r.d(t,{n:function(){return n},w:function(){return i}})},54756:function(e,t,r){"use strict";r.d(t,{p:function(){return o}});var n=r(54333),i=r(2784);function o(e){let t={};return Object.keys(e).forEach(r=>{let o=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{let e=(e=null,t=null)=>(0,i.isValidElement)(e)?(function(e){if("string"==typeof e.type)return;let t=e.type.displayName||e.type.name||"the component";throw Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${t} into a <div>, or turn it into a drag source or a drop target itself.`)}(e),function(e,t){let r=e.ref;return((0,n.k)("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r)?(0,i.cloneElement)(e,{ref:e=>{a(r,e),a(t,e)}}):(0,i.cloneElement)(e,{ref:t})}(e,t?e=>o(e,t):o)):(o(e,t),e);t[r]=()=>e}}),t}function a(e,t){"function"==typeof e?e(t):e.current=t}},60561:function(e,t,r){"use strict";r.d(t,{Dp:function(){return o},G:function(){return a},Z$:function(){return n},kJ:function(){return s},s7:function(){return i}});let n=e=>e[e.length-1],i=(e,t)=>{for(let r=0;r<t.length;r++)e.push(t[r])},o=Array.from,a=(e,t)=>{for(let r=0;r<e.length;r++)if(t(e[r],r,e))return!0;return!1},s=Array.isArray},81372:function(e,t,r){"use strict";r.d(t,{$2:function(){return d},CY:function(){return o},Ko:function(){return a},Qn:function(){return i},RP:function(){return p},Tg:function(){return f},Vw:function(){return n},cq:function(){return s},jS:function(){return h},kr:function(){return c},rc:function(){return u},x1:function(){return l}});let n=1,i=2,o=4,a=8,s=32,u=64,l=128,c=31,d=63,h=127,p=2147483647,f=4294967295},74321:function(e,t,r){"use strict";r.d(t,{HN:function(){return p},UF:function(){return x},XW:function(){return k},dD:function(){return _},kj:function(){return f},sO:function(){return S},v_:function(){return w},yg:function(){return m}});var n=r(81372),i=r(84130),o=r(37093),a=r(76042),s=r(30838);let u=s.Ue("Unexpected end of array"),l=s.Ue("Integer out of Range");class c{constructor(e){this.arr=e,this.pos=0}}let d=e=>e.pos!==e.arr.length,h=(e,t)=>{let r=new Uint8Array(e.arr.buffer,e.pos+e.arr.byteOffset,t);return e.pos+=t,r},p=e=>h(e,m(e)),f=e=>e.arr[e.pos++],m=e=>{let t=0,r=1,i=e.arr.length;for(;e.pos<i;){let i=e.arr[e.pos++];if(t+=(i&n.jS)*r,r*=128,i<n.x1)return t;if(t>o.YM)throw l}throw u},g=e=>{let t=e.arr[e.pos++],r=t&n.$2,i=64,a=(t&n.rc)>0?-1:1;if((t&n.x1)==0)return a*r;let s=e.arr.length;for(;e.pos<s;){if(r+=((t=e.arr[e.pos++])&n.jS)*i,i*=128,t<n.x1)return a*r;if(r>o.YM)throw l}throw u},v=a.CO?e=>a.CO.decode(p(e)):e=>{let t=m(e);if(0===t)return"";{let r=String.fromCodePoint(f(e));if(--t<100)for(;t--;)r+=String.fromCodePoint(f(e));else for(;t>0;){let n=t<1e4?t:1e4,i=e.arr.subarray(e.pos,e.pos+n);e.pos+=n,r+=String.fromCodePoint.apply(null,i),t-=n}return decodeURIComponent(escape(r))}},y=(e,t)=>{let r=new DataView(e.arr.buffer,e.arr.byteOffset+e.pos,t);return e.pos+=t,r},b=[e=>void 0,e=>null,g,e=>y(e,4).getFloat32(0,!1),e=>y(e,8).getFloat64(0,!1),e=>y(e,8).getBigInt64(0,!1),e=>!1,e=>!0,v,e=>{let t=m(e),r={};for(let n=0;n<t;n++)r[v(e)]=w(e);return r},e=>{let t=m(e),r=[];for(let n=0;n<t;n++)r.push(w(e));return r},p],w=e=>b[127-f(e)](e);class k extends c{constructor(e,t){super(e),this.reader=t,this.s=null,this.count=0}read(){return 0===this.count&&(this.s=this.reader(this),d(this)?this.count=m(this)+1:this.count=-1),this.count--,this.s}}class x extends c{constructor(e){super(e),this.s=0,this.count=0}read(){if(0===this.count){this.s=g(this);let e=i.GR(this.s);this.count=1,e&&(this.s=-this.s,this.count=m(this)+2)}return this.count--,this.s}}class _ extends c{constructor(e){super(e),this.s=0,this.count=0,this.diff=0}read(){if(0===this.count){let e=g(this);this.diff=i.GW(e/2),this.count=1,1&e&&(this.count=m(this)+2)}return this.s+=this.diff,this.count--,this.s}}class S{constructor(e){this.decoder=new x(e),this.str=v(this.decoder),this.spos=0}read(){let e=this.spos+this.decoder.read(),t=this.str.slice(this.spos,e);return this.spos=e,t}}},8758:function(e,t,r){"use strict";r.d(t,{$F:function(){return f},EM:function(){return j},GF:function(){return O},HE:function(){return A},HK:function(){return w},Mf:function(){return l},TS:function(){return M},_f:function(){return d},mP:function(){return k},sX:function(){return R},uE:function(){return m},uw:function(){return b}});var n=r(84130),i=r(37093),o=r(81372),a=r(76042),s=r(60561);class u{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}let l=()=>new u,c=e=>{let t=e.cpos;for(let r=0;r<e.bufs.length;r++)t+=e.bufs[r].length;return t},d=e=>{let t=new Uint8Array(c(e)),r=0;for(let n=0;n<e.bufs.length;n++){let i=e.bufs[n];t.set(i,r),r+=i.length}return t.set(new Uint8Array(e.cbuf.buffer,0,e.cpos),r),t},h=(e,t)=>{let r=e.cbuf.length;r-e.cpos<t&&(e.bufs.push(new Uint8Array(e.cbuf.buffer,0,e.cpos)),e.cbuf=new Uint8Array(2*n.Fp(r,t)),e.cpos=0)},p=(e,t)=>{let r=e.cbuf.length;e.cpos===r&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(2*r),e.cpos=0),e.cbuf[e.cpos++]=t},f=p,m=(e,t)=>{for(;t>o.jS;)p(e,o.x1|o.jS&t),t=n.GW(t/128);p(e,o.jS&t)},g=(e,t)=>{let r=n.GR(t);for(r&&(t=-t),p(e,(t>o.$2?o.x1:0)|(r?o.rc:0)|o.$2&t),t=n.GW(t/64);t>0;)p(e,(t>o.jS?o.x1:0)|o.jS&t),t=n.GW(t/128)},v=new Uint8Array(3e4),y=v.length/3,b=a.YZ&&a.YZ.encodeInto?(e,t)=>{if(t.length<y){let r=a.YZ.encodeInto(t,v).written||0;m(e,r);for(let t=0;t<r;t++)p(e,v[t])}else k(e,a.lz(t))}:(e,t)=>{let r=unescape(encodeURIComponent(t)),n=r.length;m(e,n);for(let t=0;t<n;t++)p(e,r.codePointAt(t))},w=(e,t)=>{let r=e.cbuf.length,i=e.cpos,o=n.VV(r-i,t.length),a=t.length-o;e.cbuf.set(t.subarray(0,o),i),e.cpos+=o,a>0&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(n.Fp(2*r,a)),e.cbuf.set(t.subarray(o)),e.cpos=a)},k=(e,t)=>{m(e,t.byteLength),w(e,t)},x=(e,t)=>{h(e,t);let r=new DataView(e.cbuf.buffer,e.cpos,t);return e.cpos+=t,r},_=(e,t)=>x(e,4).setFloat32(0,t,!1),S=(e,t)=>x(e,8).setFloat64(0,t,!1),E=(e,t)=>x(e,8).setBigInt64(0,t,!1),D=new DataView(new ArrayBuffer(4)),C=e=>(D.setFloat32(0,e),D.getFloat32(0)===e),j=(e,t)=>{switch(typeof t){case"string":p(e,119),b(e,t);break;case"number":i.U(t)&&n.Wn(t)<=o.RP?(p(e,125),g(e,t)):C(t)?(p(e,124),_(e,t)):(p(e,123),S(e,t));break;case"bigint":p(e,122),E(e,t);break;case"object":if(null===t)p(e,126);else if(s.kJ(t)){p(e,117),m(e,t.length);for(let r=0;r<t.length;r++)j(e,t[r])}else if(t instanceof Uint8Array)p(e,116),k(e,t);else{p(e,118);let r=Object.keys(t);m(e,r.length);for(let n=0;n<r.length;n++){let i=r[n];b(e,i),j(e,t[i])}}break;case"boolean":p(e,t?120:121);break;default:p(e,127)}};class O extends u{constructor(e){super(),this.w=e,this.s=null,this.count=0}write(e){this.s===e?this.count++:(this.count>0&&m(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}}let T=e=>{e.count>0&&(g(e.encoder,1===e.count?e.s:-e.s),e.count>1&&m(e.encoder,e.count-2))};class A{constructor(){this.encoder=new u,this.s=0,this.count=0}write(e){this.s===e?this.count++:(T(this),this.count=1,this.s=e)}toUint8Array(){return T(this),d(this.encoder)}}let P=e=>{if(e.count>0){let t=2*e.diff+(1===e.count?0:1);g(e.encoder,t),e.count>1&&m(e.encoder,e.count-2)}};class R{constructor(){this.encoder=new u,this.s=0,this.count=0,this.diff=0}write(e){this.diff===e-this.s?(this.s=e,this.count++):(P(this),this.count=1,this.diff=e-this.s,this.s=e)}toUint8Array(){return P(this),d(this.encoder)}}class M{constructor(){this.sarr=[],this.s="",this.lensE=new A}write(e){this.s+=e,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(e.length)}toUint8Array(){let e=new u;return this.sarr.push(this.s),this.s="",b(e,this.sarr.join("")),w(e,this.lensE.toUint8Array()),d(e)}}},30838:function(e,t,r){"use strict";r.d(t,{Nw:function(){return i},Ue:function(){return n},zR:function(){return o}});let n=e=>Error(e),i=()=>{throw n("Method unimplemented")},o=()=>{throw n("Unexpected case")}},83564:function(e,t,r){"use strict";r.d(t,{PP:function(){return i},gB:function(){return o}});var n=r(60561);let i=(e,t,r=0)=>{try{for(;r<e.length;r++)e[r](...t)}finally{r<e.length&&i(e,t,r+1)}},o=(e,t)=>t.includes(e);n.kJ},71094:function(e,t,r){"use strict";r.d(t,{BG:function(){return i},CA:function(){return o}});let n=e=>({[Symbol.iterator](){return this},next:e}),i=(e,t)=>n(()=>{let r;do r=e.next();while(!r.done&&!t(r.value));return r}),o=(e,t)=>n(()=>{let{done:r,value:n}=e.next();return{done:r,value:r?void 0:t(n)}})},5053:function(e,t,r){"use strict";r.d(t,{Ej:function(){return s},Pl:function(){return o},ZA:function(){return l},s7:function(){return u},ud:function(){return h},Wd:function(){return d},hM:function(){return c},YW:function(){return a},WO:function(){return p},_X:function(){return f}});let n=Symbol;var i=r(78593);let o=n(),a=n(),s=n(),u=n(),l=n(),c=n(),d=n(),h=n(),p=n(),f=e=>{let t=[],r=[],n=0;for(;n<e.length;n++){let i=e[n];i.constructor===String||i.constructor===Number?t.push(i):i.constructor===Object&&r.push(JSON.stringify(i))}return r};i.ZG()},43954:function(e,t,r){"use strict";let n,i;r.d(t,{S0:function(){return j},ZK:function(){return O}});var o=r(47455),a=r(76042);let s=e=>void 0===e?null:e;class u{constructor(){this.map=new Map}setItem(e,t){this.map.set(e,t)}getItem(e){return this.map.get(e)}}let l=new u;try{"undefined"!=typeof localStorage&&localStorage&&(l=localStorage)}catch(e){}let c=l;var d=r(83564),h=r(34406);let p=void 0!==h&&h.release&&/node|io\.js/.test(h.release.name)&&"[object process]"===Object.prototype.toString.call(void 0!==h?h:0);"undefined"!=typeof navigator&&/Mac/.test(navigator.platform);let f=[],m=()=>{if(void 0===n){if(p){n=o.Ue();let e=h.argv,t=null;for(let r=0;r<e.length;r++){let i=e[r];"-"===i[0]?(null!==t&&n.set(t,""),t=i):null!==t?(n.set(t,i),t=null):f.push(i)}null!==t&&n.set(t,"")}else"object"==typeof location?(n=o.Ue(),(location.search||"?").slice(1).split("&").forEach(e=>{if(0!==e.length){let[t,r]=e.split("=");n.set(`--${a.NF(t,"-")}`,r),n.set(`-${a.NF(t,"-")}`,r)}})):n=o.Ue()}return n},g=e=>m().has(e),v=e=>p?s(h.env[e.toUpperCase()]):s(c.getItem(e));g("--"+(i="production"))||v(i);let y=p&&d.gB(h.env.FORCE_COLOR,["true","1","2"]),b=!g("no-colors")&&(!p||h.stdout.isTTY||y)&&(!p||g("color")||y||null!==v("COLORTERM")||(v("TERM")||"").includes("color"));var w=r(30759);class k{constructor(e,t){this.left=e,this.right=t}}let x=(e,t)=>new k(e,t),_="undefined"!=typeof document?document:{};"undefined"!=typeof DOMParser&&new DOMParser;let S=e=>o.UI(e,(e,t)=>`${t}:${e};`).join("");_.ELEMENT_NODE,_.TEXT_NODE,_.CDATA_SECTION_NODE,_.COMMENT_NODE,_.DOCUMENT_NODE,_.DOCUMENT_TYPE_NODE,_.DOCUMENT_FRAGMENT_NODE;var E=r(5053);let D={[E.Pl]:x("font-weight","bold"),[E.YW]:x("font-weight","normal"),[E.Ej]:x("color","blue"),[E.ZA]:x("color","green"),[E.s7]:x("color","grey"),[E.hM]:x("color","red"),[E.Wd]:x("color","purple"),[E.ud]:x("color","orange"),[E.WO]:x("color","black")},C=b?e=>{let t=[],r=[],n=o.Ue(),i=[],a=0;for(;a<e.length;a++){let i=e[a],o=D[i];if(void 0!==o)n.set(o.left,o.right);else if(i.constructor===String||i.constructor===Number){let e=S(n);a>0||e.length>0?(t.push("%c"+i),r.push(e)):t.push(i)}else break}for(a>0&&(i=r).unshift(t.join(""));a<e.length;a++){let t=e[a];t instanceof Symbol||i.push(t)}return i}:E._X,j=(...e)=>{console.log(...C(e)),T.forEach(t=>t.print(e))},O=(...e)=>{console.warn(...C(e)),e.unshift(E.ud),T.forEach(t=>t.print(e))},T=w.Ue()},47455:function(e,t,r){"use strict";r.d(t,{JG:function(){return i},UI:function(){return a},Ue:function(){return n},Yj:function(){return s},Yu:function(){return o}});let n=()=>new Map,i=e=>{let t=n();return e.forEach((e,r)=>{t.set(r,e)}),t},o=(e,t,r)=>{let n=e.get(t);return void 0===n&&e.set(t,n=r()),n},a=(e,t)=>{let r=[];for(let[n,i]of e)r.push(t(i,n));return r},s=(e,t)=>{for(let[r,n]of e)if(t(n,r))return!0;return!1}},84130:function(e,t,r){"use strict";r.d(t,{Fp:function(){return a},GR:function(){return s},GW:function(){return n},VV:function(){return o},Wn:function(){return i}});let n=Math.floor,i=Math.abs,o=(e,t)=>e<t?e:t,a=(e,t)=>e>t?e:t,s=e=>0!==e?e<0:1/e<0},37093:function(e,t,r){"use strict";r.d(t,{U:function(){return a},YM:function(){return o}});var n=r(84130),i=r(81372);let o=Number.MAX_SAFE_INTEGER;i.RP,i.Tg;let a=Number.isInteger||(e=>"number"==typeof e&&isFinite(e)&&n.GW(e)===e)},66392:function(e,t,r){"use strict";r.d(t,{$m:function(){return c},Ed:function(){return o},f0:function(){return n},xb:function(){return s}});let n=Object.assign,i=Object.keys,o=(e,t)=>{for(let r in e)t(e[r],r)},a=e=>i(e).length,s=e=>{for(let t in e)return!1;return!0},u=(e,t)=>{for(let r in e)if(!t(e[r],r))return!1;return!0},l=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c=(e,t)=>e===t||a(e)===a(t)&&u(e,(e,r)=>(void 0!==e||l(t,r))&&t[r]===e)},42108:function(e,t,r){"use strict";r.d(t,{y:function(){return a}});var n=r(47455),i=r(30759),o=r(60561);class a{constructor(){this._observers=n.Ue()}on(e,t){n.Yu(this._observers,e,i.Ue).add(t)}once(e,t){let r=(...n)=>{this.off(e,r),t(...n)};this.on(e,r)}off(e,t){let r=this._observers.get(e);void 0!==r&&(r.delete(t),0===r.size&&this._observers.delete(e))}emit(e,t){return o.Dp((this._observers.get(e)||n.Ue()).values()).forEach(e=>e(...t))}destroy(){this._observers=n.Ue()}}},4018:function(e,t,r){"use strict";r.d(t,{Ue:function(){return n}});let n=e=>new Promise(e);Promise.all.bind(Promise)},82003:function(e,t,r){"use strict";r.d(t,{U7:function(){return i},k$:function(){return o}}),crypto.subtle;let n=crypto.getRandomValues.bind(crypto),i=()=>n(new Uint32Array(1))[0],o=()=>"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^i()&15>>e/4).toString(16))},30759:function(e,t,r){"use strict";r.d(t,{Ue:function(){return n}});let n=()=>new Set},76042:function(e,t,r){"use strict";r.d(t,{CO:function(){return c},NF:function(){return s},YZ:function(){return u},lz:function(){return l}}),(0,String.fromCharCode)(65535);let n=e=>e.toLowerCase(),i=/^\s*/g,o=e=>e.replace(i,""),a=/([A-Z])/g,s=(e,t)=>o(e.replace(a,e=>`${t}${n(e)}`)),u="undefined"!=typeof TextEncoder?new TextEncoder:null,l=u?e=>u.encode(e):e=>{let t=unescape(encodeURIComponent(e)),r=t.length,n=new Uint8Array(r);for(let e=0;e<r;e++)n[e]=t.codePointAt(e);return n},c="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});c&&1===c.decode(new Uint8Array).length&&(c=null)},78593:function(e,t,r){"use strict";r.d(t,{ZG:function(){return n}});let n=Date.now},20223:function(e,t,r){"use strict";r.r(t),r.d(t,{CDATA:function(){return $},VDocType:function(){return ea},VDocument:function(){return eu},VDocumentFragment:function(){return es},VElement:function(){return eo},VHTMLDocument:function(){return el},VNode:function(){return er},VNodeQuery:function(){return ei},VTextNode:function(){return en},createDocument:function(){return ec},createHTMLDocument:function(){return ed},document:function(){return eh},escapeHTML:function(){return L},h:function(){return ep},hArgumentParser:function(){return z},hFactory:function(){return U},handleHTML:function(){return eR},hasOwn:function(){return eb},html:function(){return V},isVDocument:function(){return eg},isVElement:function(){return ef},isVTextElement:function(){return em},parseHTML:function(){return eC},removeBodyContainer:function(){return ev},safeHTML:function(){return eI},serializeMarkdown:function(){return eM},serializePlaintext:function(){return eF},serializeSafeHTML:function(){return eN},tidyDOM:function(){return eA},unescapeHTML:function(){return B},vdom:function(){return eD},xml:function(){return eP}}),(h=f||(f={})).Attribute="attribute",h.Pseudo="pseudo",h.PseudoElement="pseudo-element",h.Tag="tag",h.Universal="universal",h.Adjacent="adjacent",h.Child="child",h.Descendant="descendant",h.Parent="parent",h.Sibling="sibling",h.ColumnCombinator="column-combinator",(p=m||(m={})).Any="any",p.Element="element",p.End="end",p.Equals="equals",p.Exists="exists",p.Hyphen="hyphen",p.Not="not",p.Start="start";let n=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,i=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,o=new Map([[126,m.Element],[94,m.Start],[36,m.End],[42,m.Any],[33,m.Not],[124,m.Hyphen]]),a=new Set(["has","not","matches","is","where","host","host-context"]),s=new Set(["contains","icontains"]);function u(e,t,r){let n=parseInt(t,16)-65536;return n!=n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)}function l(e){return e.replace(i,u)}function c(e){return 39===e||34===e}function d(e){return 32===e||9===e||10===e||12===e||13===e}var h,p,f,m,g=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,v=/[\x01-\x7F]/g,y=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,b=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,w={"\xad":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","	":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp","\xa0":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","‥":"nldr","…":"mldr","\xb7":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","\xb4":"acute","˜":"tilde","^":"Hat","\xaf":"macr","˘":"breve","˙":"dot","\xa8":"die","˚":"ring","˝":"dblac","\xb8":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","€":"euro","\xb9":"sup1","\xbd":"half","⅓":"frac13","\xbc":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","\xb2":"sup2","⅔":"frac23","⅖":"frac25","\xb3":"sup3","\xbe":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","\uD835\uDCB6":"ascr",𝕒:"aopf",𝔞:"afr",𝔸:"Aopf",𝔄:"Afr",𝒜:"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig",𝒷:"bscr",𝕓:"bopf",𝔟:"bfr",𝔹:"Bopf",ℬ:"Bscr",𝔅:"Bfr",𝔠:"cfr",𝒸:"cscr",𝕔:"copf",ℭ:"Cfr",𝒞:"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare",𝔡:"dfr",ⅆ:"dd",𝕕:"dopf",𝒹:"dscr",𝒟:"Dscr",𝔇:"Dfr",ⅅ:"DD",𝔻:"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr",𝔢:"efr",𝕖:"eopf",ℰ:"Escr",𝔈:"Efr",𝔼:"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr",𝔣:"ffr",𝕗:"fopf",𝒻:"fscr",𝔉:"Ffr",𝔽:"Fopf",ℱ:"Fscr",ﬀ:"fflig",ﬃ:"ffilig",ﬄ:"ffllig",ﬁ:"filig",fj:"fjlig",ﬂ:"fllig",ƒ:"fnof",ℊ:"gscr",𝕘:"gopf",𝔤:"gfr",𝒢:"Gscr",𝔾:"Gopf",𝔊:"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil",𝔥:"hfr",ℎ:"planckh",𝒽:"hscr",𝕙:"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok",𝕚:"iopf",𝔦:"ifr",𝒾:"iscr",ⅈ:"ii",𝕀:"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ĳ:"ijlig",Ĳ:"IJlig",ı:"imath",𝒿:"jscr",𝕛:"jopf",𝔧:"jfr",𝒥:"Jscr",𝔍:"Jfr",𝕁:"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath",𝕜:"kopf",𝓀:"kscr",𝔨:"kfr",𝒦:"Kscr",𝕂:"Kopf",𝔎:"Kfr",ķ:"kcedil",Ķ:"Kcedil",𝔩:"lfr",𝓁:"lscr",ℓ:"ell",𝕝:"lopf",ℒ:"Lscr",𝔏:"Lfr",𝕃:"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot",𝔪:"mfr",𝕞:"mopf",𝓂:"mscr",𝔐:"Mfr",𝕄:"Mopf",ℳ:"Mscr",𝔫:"nfr",𝕟:"nopf",𝓃:"nscr",ℕ:"Nopf",𝒩:"Nscr",𝔑:"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG",𝕠:"oopf",𝔬:"ofr",ℴ:"oscr",𝒪:"Oscr",𝔒:"Ofr",𝕆:"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig",𝔭:"pfr",𝓅:"pscr",𝕡:"popf",ℙ:"Popf",𝔓:"Pfr",𝒫:"Pscr",𝕢:"qopf",𝔮:"qfr",𝓆:"qscr",𝒬:"Qscr",𝔔:"Qfr",ℚ:"Qopf",ĸ:"kgreen",𝔯:"rfr",𝕣:"ropf",𝓇:"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil",𝕤:"sopf",𝓈:"sscr",𝔰:"sfr",𝕊:"Sopf",𝔖:"Sfr",𝒮:"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig",𝔱:"tfr",𝓉:"tscr",𝕥:"topf",𝒯:"Tscr",𝔗:"Tfr",𝕋:"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok",𝓊:"uscr",𝕦:"uopf",𝔲:"ufr",𝕌:"Uopf",𝔘:"Ufr",𝒰:"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr",𝔳:"vfr",𝕧:"vopf",𝓋:"vscr",𝔙:"Vfr",𝕍:"Vopf",𝒱:"Vscr",𝕨:"wopf",𝓌:"wscr",𝔴:"wfr",𝒲:"Wscr",𝕎:"Wopf",𝔚:"Wfr",ŵ:"wcirc",Ŵ:"Wcirc",𝔵:"xfr",𝓍:"xscr",𝕩:"xopf",𝕏:"Xopf",𝔛:"Xfr",𝒳:"Xscr",𝔶:"yfr",𝓎:"yscr",𝕪:"yopf",𝒴:"Yscr",𝔜:"Yfr",𝕐:"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml",𝓏:"zscr",𝔷:"zfr",𝕫:"zopf",ℨ:"Zfr",ℤ:"Zopf",𝒵:"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ŉ:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},k=/["&'<>`]/g,x=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,_=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,S=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,E={aacute:"\xe1",Aacute:"\xc1",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"а",Acy:"А",aelig:"\xe6",AElig:"\xc6",af:"⁡",afr:"\uD835\uDD1E",Afr:"\uD835\uDD04",agrave:"\xe0",Agrave:"\xc0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"\uD835\uDD52",Aopf:"\uD835\uDD38",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"\xe5",Aring:"\xc5",ascr:"\uD835\uDCB6",Ascr:"\uD835\uDC9C",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",Bfr:"\uD835\uDD05",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"\uD835\uDD53",Bopf:"\uD835\uDD39",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\uD835\uDD20",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"\uD835\uDD54",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"\xa9",COPY:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"\uD835\uDCB8",Cscr:"\uD835\uDC9E",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",Dfr:"\uD835\uDD07",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",Dopf:"\uD835\uDD3B",dot:"˙",Dot:"\xa8",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",Dscr:"\uD835\uDC9F",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"\xe9",Eacute:"\xc9",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"\xea",Ecirc:"\xca",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",Efr:"\uD835\uDD08",eg:"⪚",egrave:"\xe8",Egrave:"\xc8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"\uD835\uDD56",Eopf:"\uD835\uDD3C",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",ffr:"\uD835\uDD23",Ffr:"\uD835\uDD09",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",Fopf:"\uD835\uDD3D",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",Gfr:"\uD835\uDD0A",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",Gopf:"\uD835\uDD3E",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"\uD835\uDCA2",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"\uD835\uDCBD",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"\xed",Iacute:"\xcd",ic:"⁣",icirc:"\xee",Icirc:"\xce",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",Ifr:"ℑ",igrave:"\xec",Igrave:"\xcc",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ĳ",IJlig:"Ĳ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"\uD835\uDD5A",Iopf:"\uD835\uDD40",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"\xef",Iuml:"\xcf",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"\uD835\uDD27",Jfr:"\uD835\uDD0D",jmath:"ȷ",jopf:"\uD835\uDD5B",Jopf:"\uD835\uDD41",jscr:"\uD835\uDCBF",Jscr:"\uD835\uDCA5",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"\uD835\uDD28",Kfr:"\uD835\uDD0E",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"\uD835\uDD5C",Kopf:"\uD835\uDD42",kscr:"\uD835\uDCC0",Kscr:"\uD835\uDCA6",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",Lfr:"\uD835\uDD0F",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",Lopf:"\uD835\uDD43",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"\uD835\uDD2A",Mfr:"\uD835\uDD10",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",Mopf:"\uD835\uDD44",mp:"∓",mscr:"\uD835\uDCC2",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ŉ",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",Nfr:"\uD835\uDD11",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:"\xa0",nopf:"\uD835\uDD5F",Nopf:"ℕ",not:"\xac",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",Nscr:"\uD835\uDCA9",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"\xf3",Oacute:"\xd3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",Ocirc:"\xd4",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"\uD835\uDD2C",Ofr:"\uD835\uDD12",ogon:"˛",ograve:"\xf2",Ograve:"\xd2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",Oopf:"\uD835\uDD46",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"\uD835\uDCAA",oslash:"\xf8",Oslash:"\xd8",osol:"⊘",otilde:"\xf5",Otilde:"\xd5",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"\xf6",Ouml:"\xd6",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",Pfr:"\uD835\uDD13",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"ℌ",pointint:"⨕",popf:"\uD835\uDD61",Popf:"ℙ",pound:"\xa3",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",Pscr:"\uD835\uDCAB",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"\uD835\uDD2E",Qfr:"\uD835\uDD14",qint:"⨌",qopf:"\uD835\uDD62",Qopf:"ℚ",qprime:"⁗",qscr:"\uD835\uDCC6",Qscr:"\uD835\uDCAC",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",REG:"\xae",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"\uD835\uDCC7",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",Sfr:"\uD835\uDD16",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"\xad",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",Sopf:"\uD835\uDD4A",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",Sscr:"\uD835\uDCAE",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",Tab:"	",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",Tfr:"\uD835\uDD17",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",THORN:"\xde",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",Topf:"\uD835\uDD4B",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",Tscr:"\uD835\uDCAF",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"\xfa",Uacute:"\xda",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"\xfb",Ucirc:"\xdb",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",Ufr:"\uD835\uDD18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"\xa8",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"\uD835\uDD66",Uopf:"\uD835\uDD4C",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"\uD835\uDCCA",Uscr:"\uD835\uDCB0",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",Uuml:"\xdc",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"\uD835\uDD33",Vfr:"\uD835\uDD19",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",Vopf:"\uD835\uDD4D",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",Vscr:"\uD835\uDCB1",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",Wfr:"\uD835\uDD1A",wopf:"\uD835\uDD68",Wopf:"\uD835\uDD4E",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",Wscr:"\uD835\uDCB2",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",Xfr:"\uD835\uDD1B",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",Xopf:"\uD835\uDD4F",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"\uD835\uDCCD",Xscr:"\uD835\uDCB3",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",Yacute:"\xdd",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"\xa5",yfr:"\uD835\uDD36",Yfr:"\uD835\uDD1C",yicy:"ї",YIcy:"Ї",yopf:"\uD835\uDD6A",Yopf:"\uD835\uDD50",yscr:"\uD835\uDCCE",Yscr:"\uD835\uDCB4",yucy:"ю",YUcy:"Ю",yuml:"\xff",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"\uD835\uDD37",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",Zopf:"ℤ",zscr:"\uD835\uDCCF",Zscr:"\uD835\uDCB5",zwj:"‍",zwnj:"‌"},D={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},C={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},j=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],O=String.fromCharCode,T=function(e,t){let r=-1,n=e.length;for(;++r<n;)if(e[r]===t)return!0;return!1};function A(e,t){let r;if(!e)return t;let n={};for(r in t)n[r]=eb(e,r)?e[r]:t[r];return n}var P=function(e,t){let r="";return e>=55296&&e<=57343||e>1114111?(t&&F("character reference outside the permissible Unicode range"),"�"):eb(C,e)?(t&&F("disallowed character reference"),C[e]):(t&&T(j,e)&&F("disallowed character reference"),e>65535&&(e-=65536,r+=O(e>>>10&1023|55296),e=56320|1023&e),r+=O(e))},R=function(e){return`&#x${e.toString(16).toUpperCase()};`},M=function(e){return`&#${e};`};function F(e){throw Error(`Parse error: ${e}`)}var N=function(e,t){(t=A(t,N.options)).strict&&_.test(e)&&F("forbidden code point");let r=t.encodeEverything,n=t.useNamedReferences,i=t.allowUnsafeSymbols,o=t.decimal?M:R,a=function(e){return o(e.charCodeAt(0))};return r?(e=e.replace(v,e=>n&&eb(w,e)?`&${w[e]};`:a(e)),n&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),n&&(e=e.replace(b,e=>`&${w[e]};`))):n?(i||(e=e.replace(k,e=>`&${w[e]};`)),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(b,e=>`&${w[e]};`)):i||(e=e.replace(k,a)),e.replace(g,e=>o((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536)).replace(y,a)};function I(e,t){let r=(t=A(t,I.options)).strict;return r&&x.test(e)&&F("malformed character reference"),e.replace(S,(e,n,i,o,a,s,u,l,c)=>{let d,h;return n?E[h=n]:i?(h=i,o&&t.isAttributeValue)?(r&&"="===o&&F("`&` did not start a character reference"),e):(r&&F("named character reference was not terminated by a semicolon"),D[h]+(o||"")):a?(d=s,r&&!d&&F("character reference was not terminated by a semicolon"),P(Number.parseInt(a,10),r)):u?(d=l,r&&!d&&F("character reference was not terminated by a semicolon"),P(Number.parseInt(u,16),r)):(r&&F("named character reference was not terminated by a semicolon"),e)})}function L(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&apos;").replace(/"/g,"&quot;").replace(/\xA0/g,"&nbsp;").replace(/\xAD/g,"&shy;")}N.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1},I.options={isAttributeValue:!1,strict:!1};var B=e=>I(e);function z(e,t,...r){return"object"==typeof e&&(r=(e="fragment").children,t=e.attrs),Array.isArray(t)?(r=[t],t={}):t?t.attrs&&(t={...t.attrs,...t},delete t.attrs):t={},{tag:e,attrs:t,children:"string"==typeof r[0]?r:r.flat(Number.POSITIVE_INFINITY)}}function U(e){return e.h=function(t,r,...n){let{tag:i,attrs:o,children:a}=z(t,r,n);return function(e,t,r,n){if("function"==typeof t)return t({props:{...r,children:n},attrs:r,children:n,h:e.h,context:e});{let i,o=!0;if(t?"fragment"===t.toLowerCase()?(i=e.document.createDocumentFragment(),o=!1):i=e.document.createElement(t):i=e.document.createElement("div"),r&&o){let e=i;for(let[t,n]of Object.entries(r)){let r=(t=t.toString()).toLowerCase();"classname"===r?e.className=n:"on"===r?Object.entries(n).forEach(([t,r])=>{e.setAttribute(`on${t}`,String(r))}):!1!==n&&null!=n&&(!0===n?e.setAttribute(t,t):e.setAttribute(t,n.toString()))}}if(n)for(let t of n)for(let r of Array.isArray(t)?[...t]:[t])r&&!1!==r&&null!=r&&("object"!=typeof r?i.appendChild(e.document.createTextNode(r.toString())):i.appendChild(r));return i}}(e,i,o,a)},e.h}var q=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr","command"],$=e=>`<![CDATA[${e}]]>`;function H(e,t,r={},n){let i=!("string"==typeof n&&""===n||Array.isArray(n)&&(0===n.length||1===n.length&&""===n[0])||null==n),o=[];if("noop"!==(t=t.replace(/__/g,":"))&&""!==t){for(let e in"cdata"!==t?o.push(`<${t}`):o.push("<![CDATA["),r)if(e&&eb(r,e)){let t=r[e];if("html"===e)continue;"classname"===e.toLowerCase()&&(e="class"),e=e.replace(/__/g,":"),!0===t?o.push(` ${e}`):"style"===e&&"object"==typeof t?o.push(` ${e}="${Object.keys(t).filter(e=>null!=t[e]).map(e=>{let r=t[e];return r="number"==typeof r?`${r}px`:r,`${e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${r}`}).join(";")}"`):!1!==t&&null!=t&&o.push(` ${e}="${L(t.toString())}"`)}if("cdata"!==t){if(e&&!i)return o.push(" />"),o.join("");o.push(">")}if(!e&&q.includes(t))return o.join("")}if(i){if("string"==typeof n)o.push(n);else if(n&&n.length>0){for(let e of n)if(null!=e&&!1!==e)for(let r of(Array.isArray(e)||(e=[e]),e))r.startsWith("<")&&r.endsWith(">")||"script"===t||"style"===t?o.push(r):o.push(L(r.toString()))}}return r.html&&o.push(r.html),"noop"!==t&&""!==t&&("cdata"!==t?o.push(`</${t}>`):o.push("]]>")),o.join("")}function V(e,t,...r){let{tag:n,attrs:i,children:o}=z(e,t,r);return H(!1,n,i,o)}var W=H.bind(null,!1);V.firstLine="<!DOCTYPE html>",V.html=!0;var G={},Y=Symbol.for("nodejs.util.inspect.custom"),Z={fontWeight:"bold"},K={fontStyle:"italic"},J={backgroundColor:"rgb(255, 250, 165)"},X={textDecorations:"underline"},Q={textDecorations:"line-through"},ee={b:Z,strong:Z,em:K,i:K,mark:J,u:X,a:X,s:Q,del:Q,ins:J,strike:Q},et=class e{constructor(){this.append=this.appendChild,this._parentNode=null,this._childNodes=[]}get nodeType(){return console.error("Subclasses should define nodeType!"),0}get nodeName(){return console.error("Subclasses should define nodeName!"),""}get nodeValue(){return null}cloneNode(e=!1){let t=new this.constructor;return e&&(t._childNodes=this._childNodes.map(e=>e.cloneNode(!0)),t._fixChildNodesParent()),t}_fixChildNodesParent(){this._childNodes.forEach(e=>e._parentNode=this)}insertBefore(e,t){if(e!==t){let r=t?this._childNodes.indexOf(t):0;r<0&&(r=0),this._childNodes.splice(r,0,e),this._fixChildNodesParent()}}appendChild(t){if(null!=t){if(t===this){console.warn("Cannot appendChild to self");return}if(t instanceof eu&&console.warn("No defined how to append a document to a node!",t),t instanceof es)for(let e of[...t._childNodes])this.appendChild(e);else if(Array.isArray(t))for(let e of[...t])this.appendChild(e);else if(t instanceof e)t.remove(),this._childNodes.push(t);else try{let e="string"==typeof t?t:JSON.stringify(t,null,2);this._childNodes.push(new en(e))}catch(e){console.error(`The data ${t} to be added to ${this.render()} is problematic: ${e}`)}this._fixChildNodesParent()}}removeChild(e){let t=this._childNodes.indexOf(e);t>=0&&(e._parentNode=null,this._childNodes.splice(t,1),this._fixChildNodesParent())}remove(){return this?.parentNode?.removeChild(this),this}replaceChildren(...e){this._childNodes=e.map(e=>"string"==typeof e?new en(e):e.remove()),this._fixChildNodesParent()}replaceWith(...e){let t=this._parentNode;if(t){let r=this._indexInParent();r>=0&&(e=e.map(e=>"string"==typeof e?new en(e):e.remove()),t._childNodes.splice(r,1,...e),this._parentNode=null,t._fixChildNodesParent())}}_indexInParent(){return this._parentNode?this._parentNode.childNodes.indexOf(this):-1}get parentNode(){return this._parentNode}get childNodes(){return this._childNodes||[]}get children(){return this._childNodes||[]}get firstChild(){return this._childNodes[0]}get lastChild(){return this._childNodes[this._childNodes.length-1]}get nextSibling(){let e=this._indexInParent();return null!=e&&this.parentNode.childNodes[e+1]||null}get previousSibling(){let e=this._indexInParent();return e>0&&this.parentNode.childNodes[e-1]||null}flatten(){let e=[];for(let t of(this instanceof eo&&e.push(this),this._childNodes))e.push(...t.flatten());return e}flattenNodes(){let e=[];for(let t of(e.push(this),this._childNodes))e.push(...t.flattenNodes());return e}render(){return""}get textContent(){return this._childNodes.map(e=>e.textContent).join("")}set textContent(e){this._childNodes=[],e&&this.appendChild(new en(e.toString()))}contains(e){return e===this||this._childNodes.some(t=>t.contains(e))}get ownerDocument(){return this.nodeType===e.DOCUMENT_NODE||this.nodeType===e.DOCUMENT_FRAGMENT_NODE?this:this?._parentNode?.ownerDocument}toString(){return`${this.nodeName}`}[Y](){return`${this.constructor.name} "${this.render()}"`}};et.ELEMENT_NODE=1,et.TEXT_NODE=3,et.CDATA_SECTION_NODE=4,et.PROCESSING_INSTRUCTION_NODE=7,et.COMMENT_NODE=8,et.DOCUMENT_NODE=9,et.DOCUMENT_TYPE_NODE=10,et.DOCUMENT_FRAGMENT_NODE=11;var er=et,en=class extends er{get nodeType(){return er.TEXT_NODE}get nodeName(){return"#text"}get nodeValue(){return this._text||""}get textContent(){return this.nodeValue}constructor(e=""){super(),this._text=e}render(){let e=this.parentNode?.tagName;return"SCRIPT"===e||"STYLE"===e?this._text:L(this._text)}cloneNode(e=!1){let t=super.cloneNode(e);return t._text=this._text,t}},ei=class extends er{getElementById(e){return this.flatten().find(t=>t._attributes.id===e)}getElementsByClassName(e){return this.flatten().filter(t=>t.classList.contains(e))}matches(e){return function(e,t,{debug:r=!1}={}){let i;for(let r of(null==(i=G[e])&&(i=function(e){let t=[],r=function e(t,r,i){let u=[];function h(e){let t=r.slice(i+e).match(n);if(!t)throw Error(`Expected name, found ${r.slice(i)}`);let[o]=t;return i+=e+o.length,l(o)}function p(e){for(i+=e;i<r.length&&d(r.charCodeAt(i));)i++}function g(){let e=i+=1,t=1;for(;t>0&&i<r.length;i++)40!==r.charCodeAt(i)||v(i)?41===r.charCodeAt(i)&&!v(i)&&t--:t++;if(t)throw Error("Parenthesis not matched");return l(r.slice(e,i-1))}function v(e){let t=0;for(;92===r.charCodeAt(--e);)t++;return(1&t)==1}function y(){if(u.length>0&&function(e){switch(e.type){case f.Adjacent:case f.Child:case f.Descendant:case f.Parent:case f.Sibling:case f.ColumnCombinator:return!0;default:return!1}}(u[u.length-1]))throw Error("Did not expect successive traversals.")}function b(e){if(u.length>0&&u[u.length-1].type===f.Descendant){u[u.length-1].type=e;return}y(),u.push({type:e})}function w(e,t){u.push({type:f.Attribute,name:e,action:t,value:h(1),namespace:null,ignoreCase:"quirks"})}function k(){if(u.length&&u[u.length-1].type===f.Descendant&&u.pop(),0===u.length)throw Error("Empty sub-selector");t.push(u)}if(p(0),r.length===i)return i;a:for(;i<r.length;){let t=r.charCodeAt(i);switch(t){case 32:case 9:case 10:case 12:case 13:(0===u.length||u[0].type!==f.Descendant)&&(y(),u.push({type:f.Descendant})),p(1);break;case 62:b(f.Child),p(1);break;case 60:b(f.Parent),p(1);break;case 126:b(f.Sibling),p(1);break;case 43:b(f.Adjacent),p(1);break;case 46:w("class",m.Element);break;case 35:w("id",m.Equals);break;case 91:{let e;p(1);let t=null;124===r.charCodeAt(i)?e=h(1):r.startsWith("*|",i)?(t="*",e=h(2)):(e=h(0),124===r.charCodeAt(i)&&61!==r.charCodeAt(i+1)&&(t=e,e=h(1))),p(0);let n=m.Exists,a=o.get(r.charCodeAt(i));if(a){if(n=a,61!==r.charCodeAt(i+1))throw Error("Expected `=`");p(2)}else 61===r.charCodeAt(i)&&(n=m.Equals,p(1));let s="",g=null;if("exists"!==n){if(c(r.charCodeAt(i))){let e=r.charCodeAt(i),t=i+1;for(;t<r.length&&(r.charCodeAt(t)!==e||v(t));)t+=1;if(r.charCodeAt(t)!==e)throw Error("Attribute value didn't end");s=l(r.slice(i+1,t)),i=t+1}else{let e=i;for(;i<r.length&&(!d(r.charCodeAt(i))&&93!==r.charCodeAt(i)||v(i));)i+=1;s=l(r.slice(e,i))}p(0);let e=32|r.charCodeAt(i);115===e?(g=!1,p(1)):105===e&&(g=!0,p(1))}if(93!==r.charCodeAt(i))throw Error("Attribute selector didn't terminate");i+=1;let y={type:f.Attribute,name:e,action:n,value:s,namespace:t,ignoreCase:g};u.push(y);break}case 58:{if(58===r.charCodeAt(i+1)){u.push({type:f.PseudoElement,name:h(2).toLowerCase(),data:40===r.charCodeAt(i)?g():null});continue}let t=h(1).toLowerCase(),n=null;if(40===r.charCodeAt(i)){if(a.has(t)){if(c(r.charCodeAt(i+1)))throw Error(`Pseudo-selector ${t} cannot be quoted`);if(i=e(n=[],r,i+1),41!==r.charCodeAt(i))throw Error(`Missing closing parenthesis in :${t} (${r})`);i+=1}else{if(n=g(),s.has(t)){let e=n.charCodeAt(0);e===n.charCodeAt(n.length-1)&&c(e)&&(n=n.slice(1,-1))}n=l(n)}}u.push({type:f.Pseudo,name:t,data:n});break}case 44:k(),u=[],p(1);break;default:{let e;if(r.startsWith("/*",i)){let e=r.indexOf("*/",i+2);if(e<0)throw Error("Comment was not terminated");i=e+2,0===u.length&&p(0);break}let o=null;if(42===t)i+=1,e="*";else if(124===t){if(e="",124===r.charCodeAt(i+1)){b(f.ColumnCombinator),p(2);break}}else if(n.test(r.slice(i)))e=h(0);else break a;124===r.charCodeAt(i)&&124!==r.charCodeAt(i+1)&&(o=e,42===r.charCodeAt(i+1)?(e="*",i+=2):e=h(1)),u.push("*"===e?{type:f.Universal,namespace:o}:{type:f.Tag,name:e,namespace:o})}}}return k(),i}(t,`${e}`,0);if(r<e.length)throw Error(`Unmatched selector: ${e.slice(r)}`);return t}(e),G[e]=i),i)){let n=(t,r)=>{let i=!1;for(let o of r){let{type:a,name:s,action:u,value:l,_ignoreCase:c=!0,data:d}=o;if("attribute"===a)"equals"===u?i=t.getAttribute(s)===l:"start"===u?i=!!t.getAttribute(s)?.startsWith(l):"end"===u?i=!!t.getAttribute(s)?.endsWith(l):"element"===u?i="class"===s?t.classList.contains(l):!!t.getAttribute(s)?.includes(l):"exists"===u?i=t.hasAttribute(s):"any"===u?i=!!t.getAttribute(s)?.includes(l):console.warn("Unknown CSS selector action",u);else if("tag"===a)i=t.tagName===s.toUpperCase();else if("universal"===a)i=!0;else if("pseudo"===a){if("not"===s){let e=!0;d.forEach(r=>{n(t,r)||(e=!1)}),i=!e}}else console.warn("Unknown CSS selector type",a,e,r);if(!i)break}return i};if(n(t,r))return!0}return!1}(e,this)}querySelectorAll(e){return this.flatten().filter(t=>t.matches(e))}querySelector(e){return this.flatten().find(t=>t.matches(e))}parent(e){return this.matches(e)?this:null==this.parentNode?null:this.parentNode?.parent(e)}handle(e,t){let r=0;for(let n of this.querySelectorAll(e))t(n,r++)}},eo=class extends ei{get nodeType(){return er.ELEMENT_NODE}get nodeName(){return this._nodeName}constructor(e="div",t={}){super(),this._originalTagName=e,this._nodeName=(e||"").toUpperCase(),this._attributes=t||{},this._styles=null}cloneNode(e=!1){let t=super.cloneNode(e);return t._originalTagName=this._originalTagName,t._nodeName=this._nodeName,t._attributes=Object.assign({},this._attributes),t}get attributes(){return Object.entries(this._attributes).map(([e,t])=>({name:e,value:t}))}get attributesObject(){return{...this._attributes}}_findAttributeName(e){let t=e.toLowerCase();return Object.keys(this._attributes).find(e=>t===e.toLowerCase())||null}setAttribute(e,t){this.removeAttribute(e),this._attributes[e]=t,this._styles=null}getAttribute(e){let t=this._findAttributeName(e),r=t?this._attributes[t]:null;return null==r?null:"string"==typeof r?r:""}removeAttribute(e){this._findAttributeName(String(e))&&delete this._attributes[e]}hasAttribute(e){let t=this._findAttributeName(e);return!!t&&null!=this._attributes[t]}get style(){if(null==this._styles){let e=Object.assign({},ee[this.tagName.toLowerCase()]||{}),t=this.getAttribute("style");if(t){let r;let n=/\s*([\w-]+)\s*:\s*([^;]+)/g;for(;r=n.exec(t);){let t=r[1],n=r[2].trim();e[t]=n,e[t.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g,(e,t)=>t.toUpperCase())]=n}}this._styles=e}return this._styles}get tagName(){return this._nodeName}setTagName(e){this._nodeName=e.toUpperCase()}get id(){return this._attributes.id||null}set id(e){null==e?delete this._attributes.id:this._attributes.id=e}get src(){return this._attributes.src}set src(e){null==e?delete this._attributes.src:this._attributes.src=e}getElementsByTagName(e){e=e.toUpperCase();let t=this.flatten();return"*"!==e?t.filter(t=>t.tagName===e):t}setInnerHTML(e){}get innerHTML(){return this._childNodes.map(e=>e.render(V)).join("")}set innerHTML(e){this.setInnerHTML(e)}get outerHTML(){return this.render(W)}get className(){return this._attributes.class||""}set className(e){Array.isArray(e)?e=e.filter(e=>!!e).join(" "):"object"==typeof e&&(e=Object.entries(e).filter(([e,t])=>!!t).map(([e,t])=>e).join(" ")),this._attributes.class=e}get classList(){let e=String(this.className??"").trim().split(/\s+/g)||[];return{contains:t=>e.includes(t),add:t=>{e.includes(t)||(e.push(t),this.className=e)},remove:t=>{let r=e.indexOf(t);r>=0&&(e.splice(r,1),this.className=e)}}}render(e=W){return e(this._originalTagName||this.tagName,this._attributes,this._childNodes.map(t=>t.render(e)).join(""))}},ea=class e extends er{get nodeName(){return super.nodeName}get nodeValue(){return super.nodeValue}get nodeType(){return e.DOCUMENT_TYPE_NODE}render(){return"<!DOCTYPE html>"}},es=class e extends ei{get nodeType(){return er.DOCUMENT_FRAGMENT_NODE}get nodeName(){return"#document-fragment"}render(e=W){return this._childNodes.map(t=>t.render(e)||[]).join("")}get innerHTML(){return this._childNodes.map(e=>e.render(V)).join("")}createElement(e,t={}){return new eo(e,t)}createDocumentFragment(){return new e}createTextNode(e){return new en(e)}},eu=class extends es{get nodeType(){return er.DOCUMENT_NODE}get nodeName(){return"#document"}get documentElement(){return this.firstChild}render(e=W){let t=super.render(e);return this.docType&&(t=this.docType.render()+t),t}},el=class extends eu{constructor(e=!1){if(super(),this.docType=new ea,!e){let e=new eo("html"),t=new eo("body"),r=new eo("head"),n=new eo("title");e.appendChild(r),r.appendChild(n),e.appendChild(t),this.appendChild(e)}}get body(){let e=this.querySelector("body");if(!e){let t=this.querySelector("html");t||(t=new eo("html"),this.appendChild(t)),e=new eo("body"),t.appendChild(t)}return e}get title(){return this.querySelector("title")?.textContent||""}set title(e){let t=this.querySelector("title");t&&(t.textContent=e)}get head(){let e=this.querySelector("head");if(!e){let t=this.querySelector("html");t||(t=new eo("html"),this.appendChild(t)),e=new eo("head"),t.insertBefore(t)}return e}};function ec(){return new eu}function ed(){return new el}var eh=ec(),ep=U({document:eh});function ef(e){return e.nodeType===er.ELEMENT_NODE}function em(e){return e.nodeType===er.TEXT_NODE}function eg(e){return e.nodeType===er.DOCUMENT_NODE}function ev(e){let t=e.querySelector("head"),r=e.querySelector("body");if(r||t){let e=new es;return t&&e.appendChild(t.childNodes),r&&e.appendChild(r.children),e}return e}var ey={}.hasOwnProperty;function eb(e,t){return ey.call(e,t)}var ew=r(48834).lW,ek=/([^=\s]+)(\s*=\s*(("([^"]*)")|('([^']*)')|[^>\s]+))?/gm,ex=/^<\/([^>\s]+)[^>]*>/m,e_=/^<([^>\s\/]+)((\s+[^=>\s]+(\s*=\s*(("[^"]*")|('[^']*')|[^>\s]+))?)*)\s*\/?\s*>/m,eS=/\s*\/\s*>\s*$/m,eE=class{constructor(e={}){this.attrRe=ek,this.endTagRe=ex,this.startTagRe=e_,this.defaults={ignoreWhitespaceText:!1},e.scanner&&(this.scanner=e.scanner),this.options=Object.assign({},this.defaults,e)}parse(e){let t,r,n,i=!1;for(;e.length;){if("<!--"===e.substring(0,4)?-1!==(t=e.indexOf("-->"))?(this.scanner.comment(e.substring(4,t)),e=e.substring(t+3),i=!1):i=!0:"</"===e.substring(0,2)?(r=this.endTagRe.exec(e))?(e=RegExp.rightContext,i=!1,this.parseEndTag(RegExp.lastMatch,r[1])):i=!0:"<"===e.charAt(0)&&((r=this.startTagRe.exec(e))?(e=RegExp.rightContext,i=!1,this.parseStartTag(RegExp.lastMatch,r[1],r)):i=!0),i){let r=t=e.indexOf("<");0===t&&(t=e.substring(1).indexOf("<"),r+=1),-1===t?(n=e,e=""):(n=e.substring(0,r),e=e.substring(r)),this.options.ignoreWhitespaceText&&/^\s*$/.test(n)||this.scanner.characters(n)}i=!0,r=null}}parseStartTag(e,t,r){let n=eS.test(e),i=r[2];n&&(i=i.replace(/\s*\/\s*$/,""));let o=this.parseAttributes(t,i);this.scanner.startElement(t,o,n,r[0])}parseEndTag(e,t){this.scanner.endElement(t)}parseAttributes(e,t){let r={};return t.replace(this.attrRe,(...e)=>{let[t,n,i,o,a,s,u,l]=e;r[n]=l??s??o??!0}),r}};function eD(e=null){return e instanceof er?e:(e instanceof ew&&(e=e.toString("utf-8")),"string"==typeof e)?eC(e):new es}function eC(e){if("string"!=typeof e)throw console.error("parseHTML requires string, found",e),Error("parseHTML requires string");let t=0===e.indexOf("<!")?new el(!0):new es,r=[t];return new eE({scanner:{startElement(e,n,i){if("!doctype"===e.toLowerCase()){t.docType=new ea;return}for(let e in n)if(eb(n,e)){let t=n[e];"string"==typeof t&&(n[e]=B(t))}let o=r[r.length-1];if(o){let t=eh.createElement(e,n);o.appendChild(t),q.includes(e.toLowerCase())||i||r.push(t)}},endElement(e){r.pop()},characters(e){e=B(e);let t=r[r.length-1];t?.lastChild?.nodeType===er.TEXT_NODE?t.lastChild._text+=e:t&&t.appendChild(new en(e))},comment(e){}}}).parse(e),t}eo.prototype.setInnerHTML=function(e){let t=eC(e);this._childNodes=t._childNodes,this._fixChildNodesParent()};var ej="meta,link,script,p,h1,h2,h3,h4,h5,h6,blockquote,div,ul,ol,li,article,section,footer,head,body,title,nav,hr,form",eO=["PRE","CODE","SCRIPT","STYLE","TT"];function eT(e){let t="";for(;e.parentNode;)t+="  ",e=e.parentNode;return t.substr(2)}function eA(e){e.handle(ej,e=>{let t=e;for(;t;){if(eO.includes(t.tagName))return;t=t.parentNode}let r=e.previousSibling;r&&r.nodeType===er.TEXT_NODE&&r.nodeValue?.endsWith("\n")||e.parentNode?.insertBefore(new en("\n"),e),e.parentNode?.insertBefore(new en(eT(e)),e);let n=e.nextSibling;n&&n.nodeType===er.TEXT_NODE&&n.nodeValue?.startsWith("\n")||(n?e.parentNode?.insertBefore(new en("\n"),n):e.parentNode?.appendChild(new en("\n"))),e.childNodes.length&&(e.firstChild.nodeType===er.TEXT_NODE&&e.insertBefore(new en(`
${eT(e)}  `)),e.appendChild(new en(`
${eT(e)}`)))})}function eP(e,t,...r){let{tag:n,attrs:i,children:o}=z(e,t,r);return H(!0,n,i,o)}function eR(e,t){let r=eC(e);return t(r),r.render()}function eM(e){return`${(function e(t,r={level:0,count:0}){if(t.nodeType===er.DOCUMENT_FRAGMENT_NODE)return t.children.map(t=>e(t,{...r})).join("");if(ef(t)){let n=t.tagName.toLowerCase(),i=n=>t.children.map(t=>e(t,{...r,...n})).join(""),o={b:()=>`**${i()}**`,strong:()=>`**${i()}**`,i:()=>`*${i()}*`,em:()=>`*${i()}*`,u:()=>`<u>${i()}</u>`,mark:()=>`==${i()}==`,tt:()=>`==${i()}==`,code:()=>`==${i()}==`,strike:()=>`~~${i()}~~`,sub:()=>`~${i()}~`,super:()=>`^${i()}^`,sup:()=>`^${i()}^`,li:()=>`- ${i()}
`,br:()=>`${i()}
`,ol:()=>`

${i({level:r.level+1})}

`,ul:()=>`

${i({level:r.level+1})}

`,blockquote:()=>`

> ${i()}

`,pre:()=>`

\`\`\`
${i()}
\`\`\`

`,p:()=>`

${i()}

`,div:()=>`

${i()}

`,h1:()=>`

# ${i()}

`,h2:()=>`

## ${i()}

`,h3:()=>`

### ${i()}

`,h4:()=>`

#### ${i()}

`,h5:()=>`

##### ${i()}

`,h6:()=>`

###### ${i()}

`,hr:()=>`

---

`,a:()=>`[${i()}](${t.getAttribute("href")??"#"})`,img:()=>`![${t.getAttribute("alt")??""}](${t.getAttribute("src")??""})`}[n];return o?o():i()}return t.textContent??""})(e).replace(/\n\n+/gim,"\n\n").trim()}
`}function eF(e){return`${(function e(t,r={level:0,count:0}){if(t.nodeType===er.DOCUMENT_FRAGMENT_NODE)return t.children.map(t=>e(t,{...r})).join("");if(ef(t)){let n=t.tagName.toLowerCase(),i=n=>t.children.map(t=>e(t,{...r,...n})).join(""),o={br:()=>`${i()}
`,title:()=>"",script:()=>"",style:()=>""};ej.split(",").forEach(e=>{o[e]=()=>`

${i().trim()}

`});let a=o[n];return a?a():i()}return t.textContent??""})(e).replace(/\n\n+/gim,"\n\n").trim()}
`}function eN(e){return(function e(t,r={level:0,count:0}){if(t.nodeType===er.DOCUMENT_FRAGMENT_NODE)return t.children.map(t=>e(t,{...r})).join("");if(ef(t)){let n=t.tagName?.toLowerCase(),i=n=>t.children.map(t=>e(t,{...r,...n})).join(""),o={a:()=>`<a href="${L(t.getAttribute("href")??"")}" rel="noopener noreferrer" target="_blank">${i()}</a>`,img:()=>`<img src="${L(t.getAttribute("src")??"")}" alt="${L(t.getAttribute("alt")??"")}">`,br:()=>"<br>",title:()=>"",script:()=>"",style:()=>"",head:()=>""};"p,h1,h2,h3,h4,h5,h6,blockquote,div,ul,ol,li,article,section,footer,nav,hr,form".split(",").forEach(e=>{o[e]=()=>`<${e}>${i().trim()}</${e}>`});let a=o[n];return a?a():i()}return L(t.textContent??"")})(e).trim()}function eI(e){return eN(eC(e))}eP.firstLine='<?xml version="1.0" encoding="utf-8"?>',eP.xml=!0},12129:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{y:function(){return x}});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var l=u("iterator"),c=u("observable"),d=u("species");function h(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function p(e){var t=e.constructor;return void 0!==t&&null===(t=t[d])&&(t=void 0),void 0!==t?t:x}function f(e){f.log?f.log(e):setTimeout(function(){throw e})}function m(e){Promise.resolve().then(function(){try{e()}catch(e){f(e)}})}function g(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var r=h(t,"unsubscribe");r&&r.call(t)}}catch(e){f(e)}}}function v(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function y(e,t,r){e._state="running";var n=e._observer;try{var i=h(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(v(e),i)i.call(n,r);else throw r;break;case"complete":v(e),i&&i.call(n)}}catch(e){f(e)}"closed"===e._state?g(e):"running"===e._state&&(e._state="ready")}function b(e,t,r){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:r});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],m(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(y(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)});return}y(e,t,r)}}var w=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new k(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(v(this),g(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),k=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){b(this._subscription,"next",e)},t.error=function(e){b(this._subscription,"error",e)},t.complete=function(){b(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),x=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new w(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e){n(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=p(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=p(this);return new i(function(t){var n,o=0;return function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=p(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[c]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=h(t,c);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof x&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=h(t,l)))return new r(function(e){m(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,void 0)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){m(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){m(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:d,get:function(){return this}}]),e}();a()&&Object.defineProperty(x,Symbol("extensions"),{value:{symbol:c,hostReportError:f},configurable:!0})},4026:function(e){"use strict";e.exports=JSON.parse('{"search":"Buscar","search_no_results_1":"Vaya!","search_no_results_2":"Ese emoji no se pudo encontrar","pick":"Elige un emoji…","add_custom":"A\xf1adir emoji personalizado","categories":{"activity":"Actividades","custom":"Personalizados","flags":"Banderas","foods":"Comida y Bebida","frequent":"Usados con frecuencia","nature":"Animales y Naturaleza","objects":"Objetos","people":"Emoticonos y Personas","places":"Viajes y Destinos","search":"Resultados de la b\xfasqueda","symbols":"S\xedmbolos"},"skins":{"1":"Sin tono","2":"Claro","3":"Medio-Claro","4":"Medio","5":"Medio-Oscuro","6":"Oscuro","choose":"Elige el tono de piel predeterminado"}}')},33322:function(e){"use strict";e.exports=JSON.parse('{"search":"Rechercher","search_no_results_1":"Oh non!","search_no_results_2":"Cet emoji ne peut \xeatre trouv\xe9","pick":"Choisissez un emoji…","add_custom":"Ajouter un emoji personnalis\xe9","categories":{"activity":"Activit\xe9s","custom":"Personnalis\xe9","flags":"Drapeaux","foods":"Nourriture & Boissons","frequent":"Fr\xe9quemment utilis\xe9","nature":"Animaux & Nature","objects":"Objets","people":"Smileys & Personnes","places":"Voyages & Lieux","search":"R\xe9sultats de recherche","symbols":"Symboles"},"skins":{"1":"D\xe9faut","2":"Clair","3":"Moyen-clair","4":"Moyen","5":"Moyen-fonc\xe9","6":"Fonc\xe9","choose":"Choisissez une couleur de peau"}}')},44797:function(e){"use strict";e.exports=JSON.parse('{"search":"検索","search_no_results_1":"残念！","search_no_results_2":"その絵文字は見つかりませんでした","pick":"絵文字を選択...","add_custom":"絵文字を追加する","categories":{"activity":"アクティビティ","custom":"カスタム","flags":"旗","foods":"フード＆ドリンク","frequent":"よく使う絵文字","nature":"動物＆自然","objects":"オブジェクト","people":"スマイリー＆人","places":"トラベル＆場所","search":"検索結果","symbols":"記号"},"skins":{"1":"標準","2":"明るい肌色","3":"やや明るい肌色","4":"肌色","5":"やや濃い肌色","6":"濃い肌色","choose":"デフォルトの肌の色を選択する"}}')},66941:function(e){"use strict";e.exports=JSON.parse('{"search":"검색","search_no_results_1":"어머나!","search_no_results_2":"결과를 찾을 수 없어요","pick":"이모지 선택하기","add_custom":"이모지 추가하기","categories":{"activity":"활동","custom":"커스텀","flags":"깃발","foods":"음식 및 음료","frequent":"자주 사용하는 항목","nature":"동물 및 자연","objects":"사물","people":"스마일리 및 사람","places":"여행 및 장소","search":"검색 결과","symbols":"기호"},"skins":{"1":"표준","2":"밝은 피부색","3":"약간 밝은 피부색","4":"중간 피부색","5":"약간 어두운 피부색","6":"어두운 피부색","choose":"기준 피부색 선택하기"}}')},96002:function(e){"use strict";e.exports=JSON.parse('{"search":"Procurar","search_no_results_1":"Oh n\xe3o!","search_no_results_2":"Esse emoji n\xe3o foi encontrado","pick":"Escolha um emoji...","add_custom":"Adicione um emoji customizado","categories":{"activity":"Atividade","custom":"Customizado","flags":"Bandeiras","foods":"Comidas & Bebidas","frequent":"Usados recentemente","nature":"Animais & Natureza","objects":"Objetos","people":"Carinhas & Pessoas","places":"Viagens & Lugares","search":"Resultados encontrados","symbols":"S\xedmbolos"},"skins":{"1":"Padr\xe3o","2":"Clara","3":"Morena-Clara","4":"Morena","5":"Morena-Escura","6":"Escura","choose":"Escolha a cor de pele padr\xe3o"}}')},69092:function(e){"use strict";e.exports=JSON.parse('{"search":"搜索","search_no_results_1":"哦不！","search_no_results_2":"没有找到相关表情","pick":"选择一个表情…","add_custom":"添加自定义表情","categories":{"activity":"活动","custom":"自定义","flags":"旗帜","foods":"食物与饮品","frequent":"最近使用","nature":"动物与自然","objects":"物品","people":"表情与角色","places":"旅行与景点","search":"搜索结果","symbols":"符号"},"skins":{"1":"默认","2":"白色","3":"偏白","4":"中等","5":"偏黑","6":"黑色","choose":"选择默认肤色"}}')},20693:function(e){"use strict";e.exports=JSON.parse('{"icann":{"ac":1,"com.ac":2,"edu.ac":2,"gov.ac":2,"net.ac":2,"mil.ac":2,"org.ac":2,"ad":1,"nom.ad":2,"ae":1,"co.ae":2,"net.ae":2,"org.ae":2,"sch.ae":2,"ac.ae":2,"gov.ae":2,"mil.ae":2,"aero":1,"accident-investigation.aero":2,"accident-prevention.aero":2,"aerobatic.aero":2,"aeroclub.aero":2,"aerodrome.aero":2,"agents.aero":2,"aircraft.aero":2,"airline.aero":2,"airport.aero":2,"air-surveillance.aero":2,"airtraffic.aero":2,"air-traffic-control.aero":2,"ambulance.aero":2,"amusement.aero":2,"association.aero":2,"author.aero":2,"ballooning.aero":2,"broker.aero":2,"caa.aero":2,"cargo.aero":2,"catering.aero":2,"certification.aero":2,"championship.aero":2,"charter.aero":2,"civilaviation.aero":2,"club.aero":2,"conference.aero":2,"consultant.aero":2,"consulting.aero":2,"control.aero":2,"council.aero":2,"crew.aero":2,"design.aero":2,"dgca.aero":2,"educator.aero":2,"emergency.aero":2,"engine.aero":2,"engineer.aero":2,"entertainment.aero":2,"equipment.aero":2,"exchange.aero":2,"express.aero":2,"federation.aero":2,"flight.aero":2,"fuel.aero":2,"gliding.aero":2,"government.aero":2,"groundhandling.aero":2,"group.aero":2,"hanggliding.aero":2,"homebuilt.aero":2,"insurance.aero":2,"journal.aero":2,"journalist.aero":2,"leasing.aero":2,"logistics.aero":2,"magazine.aero":2,"maintenance.aero":2,"media.aero":2,"microlight.aero":2,"modelling.aero":2,"navigation.aero":2,"parachuting.aero":2,"paragliding.aero":2,"passenger-association.aero":2,"pilot.aero":2,"press.aero":2,"production.aero":2,"recreation.aero":2,"repbody.aero":2,"res.aero":2,"research.aero":2,"rotorcraft.aero":2,"safety.aero":2,"scientist.aero":2,"services.aero":2,"show.aero":2,"skydiving.aero":2,"software.aero":2,"student.aero":2,"trader.aero":2,"trading.aero":2,"trainer.aero":2,"union.aero":2,"workinggroup.aero":2,"works.aero":2,"af":1,"gov.af":2,"com.af":2,"org.af":2,"net.af":2,"edu.af":2,"ag":1,"com.ag":2,"org.ag":2,"net.ag":2,"co.ag":2,"nom.ag":2,"ai":1,"off.ai":2,"com.ai":2,"net.ai":2,"org.ai":2,"al":1,"com.al":2,"edu.al":2,"gov.al":2,"mil.al":2,"net.al":2,"org.al":2,"am":1,"co.am":2,"com.am":2,"commune.am":2,"net.am":2,"org.am":2,"ao":1,"ed.ao":2,"gv.ao":2,"og.ao":2,"co.ao":2,"pb.ao":2,"it.ao":2,"aq":1,"ar":1,"bet.ar":2,"com.ar":2,"coop.ar":2,"edu.ar":2,"gob.ar":2,"gov.ar":2,"int.ar":2,"mil.ar":2,"musica.ar":2,"mutual.ar":2,"net.ar":2,"org.ar":2,"senasa.ar":2,"tur.ar":2,"arpa":1,"e164.arpa":2,"in-addr.arpa":2,"ip6.arpa":2,"iris.arpa":2,"uri.arpa":2,"urn.arpa":2,"as":1,"gov.as":2,"asia":1,"at":1,"ac.at":2,"co.at":2,"gv.at":2,"or.at":2,"sth.ac.at":3,"au":1,"com.au":2,"net.au":2,"org.au":2,"edu.au":2,"gov.au":2,"asn.au":2,"id.au":2,"info.au":2,"conf.au":2,"oz.au":2,"act.au":2,"nsw.au":2,"nt.au":2,"qld.au":2,"sa.au":2,"tas.au":2,"vic.au":2,"wa.au":2,"act.edu.au":3,"catholic.edu.au":3,"nsw.edu.au":3,"nt.edu.au":3,"qld.edu.au":3,"sa.edu.au":3,"tas.edu.au":3,"vic.edu.au":3,"wa.edu.au":3,"qld.gov.au":3,"sa.gov.au":3,"tas.gov.au":3,"vic.gov.au":3,"wa.gov.au":3,"schools.nsw.edu.au":4,"aw":1,"com.aw":2,"ax":1,"az":1,"com.az":2,"net.az":2,"int.az":2,"gov.az":2,"org.az":2,"edu.az":2,"info.az":2,"pp.az":2,"mil.az":2,"name.az":2,"pro.az":2,"biz.az":2,"ba":1,"com.ba":2,"edu.ba":2,"gov.ba":2,"mil.ba":2,"net.ba":2,"org.ba":2,"bb":1,"biz.bb":2,"co.bb":2,"com.bb":2,"edu.bb":2,"gov.bb":2,"info.bb":2,"net.bb":2,"org.bb":2,"store.bb":2,"tv.bb":2,"bd":2,"be":1,"ac.be":2,"bf":1,"gov.bf":2,"bg":1,"a.bg":2,"b.bg":2,"c.bg":2,"d.bg":2,"e.bg":2,"f.bg":2,"g.bg":2,"h.bg":2,"i.bg":2,"j.bg":2,"k.bg":2,"l.bg":2,"m.bg":2,"n.bg":2,"o.bg":2,"p.bg":2,"q.bg":2,"r.bg":2,"s.bg":2,"t.bg":2,"u.bg":2,"v.bg":2,"w.bg":2,"x.bg":2,"y.bg":2,"z.bg":2,"0.bg":2,"1.bg":2,"2.bg":2,"3.bg":2,"4.bg":2,"5.bg":2,"6.bg":2,"7.bg":2,"8.bg":2,"9.bg":2,"bh":1,"com.bh":2,"edu.bh":2,"net.bh":2,"org.bh":2,"gov.bh":2,"bi":1,"co.bi":2,"com.bi":2,"edu.bi":2,"or.bi":2,"org.bi":2,"biz":1,"bj":1,"asso.bj":2,"barreau.bj":2,"gouv.bj":2,"bm":1,"com.bm":2,"edu.bm":2,"gov.bm":2,"net.bm":2,"org.bm":2,"bn":1,"com.bn":2,"edu.bn":2,"gov.bn":2,"net.bn":2,"org.bn":2,"bo":1,"com.bo":2,"edu.bo":2,"gob.bo":2,"int.bo":2,"org.bo":2,"net.bo":2,"mil.bo":2,"tv.bo":2,"web.bo":2,"academia.bo":2,"agro.bo":2,"arte.bo":2,"blog.bo":2,"bolivia.bo":2,"ciencia.bo":2,"cooperativa.bo":2,"democracia.bo":2,"deporte.bo":2,"ecologia.bo":2,"economia.bo":2,"empresa.bo":2,"indigena.bo":2,"industria.bo":2,"info.bo":2,"medicina.bo":2,"movimiento.bo":2,"musica.bo":2,"natural.bo":2,"nombre.bo":2,"noticias.bo":2,"patria.bo":2,"politica.bo":2,"profesional.bo":2,"plurinacional.bo":2,"pueblo.bo":2,"revista.bo":2,"salud.bo":2,"tecnologia.bo":2,"tksat.bo":2,"transporte.bo":2,"wiki.bo":2,"br":1,"9guacu.br":2,"abc.br":2,"adm.br":2,"adv.br":2,"agr.br":2,"aju.br":2,"am.br":2,"anani.br":2,"aparecida.br":2,"app.br":2,"arq.br":2,"art.br":2,"ato.br":2,"b.br":2,"barueri.br":2,"belem.br":2,"bhz.br":2,"bib.br":2,"bio.br":2,"blog.br":2,"bmd.br":2,"boavista.br":2,"bsb.br":2,"campinagrande.br":2,"campinas.br":2,"caxias.br":2,"cim.br":2,"cng.br":2,"cnt.br":2,"com.br":2,"contagem.br":2,"coop.br":2,"coz.br":2,"cri.br":2,"cuiaba.br":2,"curitiba.br":2,"def.br":2,"des.br":2,"det.br":2,"dev.br":2,"ecn.br":2,"eco.br":2,"edu.br":2,"emp.br":2,"enf.br":2,"eng.br":2,"esp.br":2,"etc.br":2,"eti.br":2,"far.br":2,"feira.br":2,"flog.br":2,"floripa.br":2,"fm.br":2,"fnd.br":2,"fortal.br":2,"fot.br":2,"foz.br":2,"fst.br":2,"g12.br":2,"geo.br":2,"ggf.br":2,"goiania.br":2,"gov.br":2,"ac.gov.br":3,"al.gov.br":3,"am.gov.br":3,"ap.gov.br":3,"ba.gov.br":3,"ce.gov.br":3,"df.gov.br":3,"es.gov.br":3,"go.gov.br":3,"ma.gov.br":3,"mg.gov.br":3,"ms.gov.br":3,"mt.gov.br":3,"pa.gov.br":3,"pb.gov.br":3,"pe.gov.br":3,"pi.gov.br":3,"pr.gov.br":3,"rj.gov.br":3,"rn.gov.br":3,"ro.gov.br":3,"rr.gov.br":3,"rs.gov.br":3,"sc.gov.br":3,"se.gov.br":3,"sp.gov.br":3,"to.gov.br":3,"gru.br":2,"imb.br":2,"ind.br":2,"inf.br":2,"jab.br":2,"jampa.br":2,"jdf.br":2,"joinville.br":2,"jor.br":2,"jus.br":2,"leg.br":2,"lel.br":2,"log.br":2,"londrina.br":2,"macapa.br":2,"maceio.br":2,"manaus.br":2,"maringa.br":2,"mat.br":2,"med.br":2,"mil.br":2,"morena.br":2,"mp.br":2,"mus.br":2,"natal.br":2,"net.br":2,"niteroi.br":2,"nom.br":3,"not.br":2,"ntr.br":2,"odo.br":2,"ong.br":2,"org.br":2,"osasco.br":2,"palmas.br":2,"poa.br":2,"ppg.br":2,"pro.br":2,"psc.br":2,"psi.br":2,"pvh.br":2,"qsl.br":2,"radio.br":2,"rec.br":2,"recife.br":2,"rep.br":2,"ribeirao.br":2,"rio.br":2,"riobranco.br":2,"riopreto.br":2,"salvador.br":2,"sampa.br":2,"santamaria.br":2,"santoandre.br":2,"saobernardo.br":2,"saogonca.br":2,"seg.br":2,"sjc.br":2,"slg.br":2,"slz.br":2,"sorocaba.br":2,"srv.br":2,"taxi.br":2,"tc.br":2,"tec.br":2,"teo.br":2,"the.br":2,"tmp.br":2,"trd.br":2,"tur.br":2,"tv.br":2,"udi.br":2,"vet.br":2,"vix.br":2,"vlog.br":2,"wiki.br":2,"zlg.br":2,"bs":1,"com.bs":2,"net.bs":2,"org.bs":2,"edu.bs":2,"gov.bs":2,"bt":1,"com.bt":2,"edu.bt":2,"gov.bt":2,"net.bt":2,"org.bt":2,"bv":1,"bw":1,"co.bw":2,"org.bw":2,"by":1,"gov.by":2,"mil.by":2,"com.by":2,"of.by":2,"bz":1,"com.bz":2,"net.bz":2,"org.bz":2,"edu.bz":2,"gov.bz":2,"ca":1,"ab.ca":2,"bc.ca":2,"mb.ca":2,"nb.ca":2,"nf.ca":2,"nl.ca":2,"ns.ca":2,"nt.ca":2,"nu.ca":2,"on.ca":2,"pe.ca":2,"qc.ca":2,"sk.ca":2,"yk.ca":2,"gc.ca":2,"cat":1,"cc":1,"cd":1,"gov.cd":2,"cf":1,"cg":1,"ch":1,"ci":1,"org.ci":2,"or.ci":2,"com.ci":2,"co.ci":2,"edu.ci":2,"ed.ci":2,"ac.ci":2,"net.ci":2,"go.ci":2,"asso.ci":2,"a\xe9roport.ci":2,"int.ci":2,"presse.ci":2,"md.ci":2,"gouv.ci":2,"ck":2,"www.ck":1,"cl":1,"co.cl":2,"gob.cl":2,"gov.cl":2,"mil.cl":2,"cm":1,"co.cm":2,"com.cm":2,"gov.cm":2,"net.cm":2,"cn":1,"ac.cn":2,"com.cn":2,"edu.cn":2,"gov.cn":2,"net.cn":2,"org.cn":2,"mil.cn":2,"公司.cn":2,"网络.cn":2,"網絡.cn":2,"ah.cn":2,"bj.cn":2,"cq.cn":2,"fj.cn":2,"gd.cn":2,"gs.cn":2,"gz.cn":2,"gx.cn":2,"ha.cn":2,"hb.cn":2,"he.cn":2,"hi.cn":2,"hl.cn":2,"hn.cn":2,"jl.cn":2,"js.cn":2,"jx.cn":2,"ln.cn":2,"nm.cn":2,"nx.cn":2,"qh.cn":2,"sc.cn":2,"sd.cn":2,"sh.cn":2,"sn.cn":2,"sx.cn":2,"tj.cn":2,"xj.cn":2,"xz.cn":2,"yn.cn":2,"zj.cn":2,"hk.cn":2,"mo.cn":2,"tw.cn":2,"co":1,"arts.co":2,"com.co":2,"edu.co":2,"firm.co":2,"gov.co":2,"info.co":2,"int.co":2,"mil.co":2,"net.co":2,"nom.co":2,"org.co":2,"rec.co":2,"web.co":2,"com":1,"coop":1,"cr":1,"ac.cr":2,"co.cr":2,"ed.cr":2,"fi.cr":2,"go.cr":2,"or.cr":2,"sa.cr":2,"cu":1,"com.cu":2,"edu.cu":2,"org.cu":2,"net.cu":2,"gov.cu":2,"inf.cu":2,"cv":1,"com.cv":2,"edu.cv":2,"int.cv":2,"nome.cv":2,"org.cv":2,"cw":1,"com.cw":2,"edu.cw":2,"net.cw":2,"org.cw":2,"cx":1,"gov.cx":2,"cy":1,"ac.cy":2,"biz.cy":2,"com.cy":2,"ekloges.cy":2,"gov.cy":2,"ltd.cy":2,"mil.cy":2,"net.cy":2,"org.cy":2,"press.cy":2,"pro.cy":2,"tm.cy":2,"cz":1,"de":1,"dj":1,"dk":1,"dm":1,"com.dm":2,"net.dm":2,"org.dm":2,"edu.dm":2,"gov.dm":2,"do":1,"art.do":2,"com.do":2,"edu.do":2,"gob.do":2,"gov.do":2,"mil.do":2,"net.do":2,"org.do":2,"sld.do":2,"web.do":2,"dz":1,"art.dz":2,"asso.dz":2,"com.dz":2,"edu.dz":2,"gov.dz":2,"org.dz":2,"net.dz":2,"pol.dz":2,"soc.dz":2,"tm.dz":2,"ec":1,"com.ec":2,"info.ec":2,"net.ec":2,"fin.ec":2,"k12.ec":2,"med.ec":2,"pro.ec":2,"org.ec":2,"edu.ec":2,"gov.ec":2,"gob.ec":2,"mil.ec":2,"edu":1,"ee":1,"edu.ee":2,"gov.ee":2,"riik.ee":2,"lib.ee":2,"med.ee":2,"com.ee":2,"pri.ee":2,"aip.ee":2,"org.ee":2,"fie.ee":2,"eg":1,"com.eg":2,"edu.eg":2,"eun.eg":2,"gov.eg":2,"mil.eg":2,"name.eg":2,"net.eg":2,"org.eg":2,"sci.eg":2,"er":2,"es":1,"com.es":2,"nom.es":2,"org.es":2,"gob.es":2,"edu.es":2,"et":1,"com.et":2,"gov.et":2,"org.et":2,"edu.et":2,"biz.et":2,"name.et":2,"info.et":2,"net.et":2,"eu":1,"fi":1,"aland.fi":2,"fj":1,"ac.fj":2,"biz.fj":2,"com.fj":2,"gov.fj":2,"info.fj":2,"mil.fj":2,"name.fj":2,"net.fj":2,"org.fj":2,"pro.fj":2,"fk":2,"com.fm":2,"edu.fm":2,"net.fm":2,"org.fm":2,"fm":1,"fo":1,"fr":1,"asso.fr":2,"com.fr":2,"gouv.fr":2,"nom.fr":2,"prd.fr":2,"tm.fr":2,"aeroport.fr":2,"avocat.fr":2,"avoues.fr":2,"cci.fr":2,"chambagri.fr":2,"chirurgiens-dentistes.fr":2,"experts-comptables.fr":2,"geometre-expert.fr":2,"greta.fr":2,"huissier-justice.fr":2,"medecin.fr":2,"notaires.fr":2,"pharmacien.fr":2,"port.fr":2,"veterinaire.fr":2,"ga":1,"gb":1,"edu.gd":2,"gov.gd":2,"gd":1,"ge":1,"com.ge":2,"edu.ge":2,"gov.ge":2,"org.ge":2,"mil.ge":2,"net.ge":2,"pvt.ge":2,"gf":1,"gg":1,"co.gg":2,"net.gg":2,"org.gg":2,"gh":1,"com.gh":2,"edu.gh":2,"gov.gh":2,"org.gh":2,"mil.gh":2,"gi":1,"com.gi":2,"ltd.gi":2,"gov.gi":2,"mod.gi":2,"edu.gi":2,"org.gi":2,"gl":1,"co.gl":2,"com.gl":2,"edu.gl":2,"net.gl":2,"org.gl":2,"gm":1,"gn":1,"ac.gn":2,"com.gn":2,"edu.gn":2,"gov.gn":2,"org.gn":2,"net.gn":2,"gov":1,"gp":1,"com.gp":2,"net.gp":2,"mobi.gp":2,"edu.gp":2,"org.gp":2,"asso.gp":2,"gq":1,"gr":1,"com.gr":2,"edu.gr":2,"net.gr":2,"org.gr":2,"gov.gr":2,"gs":1,"gt":1,"com.gt":2,"edu.gt":2,"gob.gt":2,"ind.gt":2,"mil.gt":2,"net.gt":2,"org.gt":2,"gu":1,"com.gu":2,"edu.gu":2,"gov.gu":2,"guam.gu":2,"info.gu":2,"net.gu":2,"org.gu":2,"web.gu":2,"gw":1,"gy":1,"co.gy":2,"com.gy":2,"edu.gy":2,"gov.gy":2,"net.gy":2,"org.gy":2,"hk":1,"com.hk":2,"edu.hk":2,"gov.hk":2,"idv.hk":2,"net.hk":2,"org.hk":2,"公司.hk":2,"教育.hk":2,"敎育.hk":2,"政府.hk":2,"個人.hk":2,"个人.hk":2,"箇人.hk":2,"網络.hk":2,"网络.hk":2,"组織.hk":2,"網絡.hk":2,"网絡.hk":2,"组织.hk":2,"組織.hk":2,"組织.hk":2,"hm":1,"hn":1,"com.hn":2,"edu.hn":2,"org.hn":2,"net.hn":2,"mil.hn":2,"gob.hn":2,"hr":1,"iz.hr":2,"from.hr":2,"name.hr":2,"com.hr":2,"ht":1,"com.ht":2,"shop.ht":2,"firm.ht":2,"info.ht":2,"adult.ht":2,"net.ht":2,"pro.ht":2,"org.ht":2,"med.ht":2,"art.ht":2,"coop.ht":2,"pol.ht":2,"asso.ht":2,"edu.ht":2,"rel.ht":2,"gouv.ht":2,"perso.ht":2,"hu":1,"co.hu":2,"info.hu":2,"org.hu":2,"priv.hu":2,"sport.hu":2,"tm.hu":2,"2000.hu":2,"agrar.hu":2,"bolt.hu":2,"casino.hu":2,"city.hu":2,"erotica.hu":2,"erotika.hu":2,"film.hu":2,"forum.hu":2,"games.hu":2,"hotel.hu":2,"ingatlan.hu":2,"jogasz.hu":2,"konyvelo.hu":2,"lakas.hu":2,"media.hu":2,"news.hu":2,"reklam.hu":2,"sex.hu":2,"shop.hu":2,"suli.hu":2,"szex.hu":2,"tozsde.hu":2,"utazas.hu":2,"video.hu":2,"id":1,"ac.id":2,"biz.id":2,"co.id":2,"desa.id":2,"go.id":2,"mil.id":2,"my.id":2,"net.id":2,"or.id":2,"ponpes.id":2,"sch.id":2,"web.id":2,"ie":1,"gov.ie":2,"il":1,"ac.il":2,"co.il":2,"gov.il":2,"idf.il":2,"k12.il":2,"muni.il":2,"net.il":2,"org.il":2,"ישראל":1,"אקדמיה.ישראל":2,"ישוב.ישראל":2,"צהל.ישראל":2,"ממשל.ישראל":2,"im":1,"ac.im":2,"co.im":2,"com.im":2,"ltd.co.im":3,"net.im":2,"org.im":2,"plc.co.im":3,"tt.im":2,"tv.im":2,"in":1,"5g.in":2,"6g.in":2,"ac.in":2,"ai.in":2,"am.in":2,"bihar.in":2,"biz.in":2,"business.in":2,"ca.in":2,"cn.in":2,"co.in":2,"com.in":2,"coop.in":2,"cs.in":2,"delhi.in":2,"dr.in":2,"edu.in":2,"er.in":2,"firm.in":2,"gen.in":2,"gov.in":2,"gujarat.in":2,"ind.in":2,"info.in":2,"int.in":2,"internet.in":2,"io.in":2,"me.in":2,"mil.in":2,"net.in":2,"nic.in":2,"org.in":2,"pg.in":2,"post.in":2,"pro.in":2,"res.in":2,"travel.in":2,"tv.in":2,"uk.in":2,"up.in":2,"us.in":2,"info":1,"int":1,"eu.int":2,"io":1,"com.io":2,"iq":1,"gov.iq":2,"edu.iq":2,"mil.iq":2,"com.iq":2,"org.iq":2,"net.iq":2,"ir":1,"ac.ir":2,"co.ir":2,"gov.ir":2,"id.ir":2,"net.ir":2,"org.ir":2,"sch.ir":2,"ایران.ir":2,"ايران.ir":2,"is":1,"net.is":2,"com.is":2,"edu.is":2,"gov.is":2,"org.is":2,"int.is":2,"it":1,"gov.it":2,"edu.it":2,"abr.it":2,"abruzzo.it":2,"aosta-valley.it":2,"aostavalley.it":2,"bas.it":2,"basilicata.it":2,"cal.it":2,"calabria.it":2,"cam.it":2,"campania.it":2,"emilia-romagna.it":2,"emiliaromagna.it":2,"emr.it":2,"friuli-v-giulia.it":2,"friuli-ve-giulia.it":2,"friuli-vegiulia.it":2,"friuli-venezia-giulia.it":2,"friuli-veneziagiulia.it":2,"friuli-vgiulia.it":2,"friuliv-giulia.it":2,"friulive-giulia.it":2,"friulivegiulia.it":2,"friulivenezia-giulia.it":2,"friuliveneziagiulia.it":2,"friulivgiulia.it":2,"fvg.it":2,"laz.it":2,"lazio.it":2,"lig.it":2,"liguria.it":2,"lom.it":2,"lombardia.it":2,"lombardy.it":2,"lucania.it":2,"mar.it":2,"marche.it":2,"mol.it":2,"molise.it":2,"piedmont.it":2,"piemonte.it":2,"pmn.it":2,"pug.it":2,"puglia.it":2,"sar.it":2,"sardegna.it":2,"sardinia.it":2,"sic.it":2,"sicilia.it":2,"sicily.it":2,"taa.it":2,"tos.it":2,"toscana.it":2,"trentin-sud-tirol.it":2,"trentin-s\xfcd-tirol.it":2,"trentin-sudtirol.it":2,"trentin-s\xfcdtirol.it":2,"trentin-sued-tirol.it":2,"trentin-suedtirol.it":2,"trentino-a-adige.it":2,"trentino-aadige.it":2,"trentino-alto-adige.it":2,"trentino-altoadige.it":2,"trentino-s-tirol.it":2,"trentino-stirol.it":2,"trentino-sud-tirol.it":2,"trentino-s\xfcd-tirol.it":2,"trentino-sudtirol.it":2,"trentino-s\xfcdtirol.it":2,"trentino-sued-tirol.it":2,"trentino-suedtirol.it":2,"trentino.it":2,"trentinoa-adige.it":2,"trentinoaadige.it":2,"trentinoalto-adige.it":2,"trentinoaltoadige.it":2,"trentinos-tirol.it":2,"trentinostirol.it":2,"trentinosud-tirol.it":2,"trentinos\xfcd-tirol.it":2,"trentinosudtirol.it":2,"trentinos\xfcdtirol.it":2,"trentinosued-tirol.it":2,"trentinosuedtirol.it":2,"trentinsud-tirol.it":2,"trentins\xfcd-tirol.it":2,"trentinsudtirol.it":2,"trentins\xfcdtirol.it":2,"trentinsued-tirol.it":2,"trentinsuedtirol.it":2,"tuscany.it":2,"umb.it":2,"umbria.it":2,"val-d-aosta.it":2,"val-daosta.it":2,"vald-aosta.it":2,"valdaosta.it":2,"valle-aosta.it":2,"valle-d-aosta.it":2,"valle-daosta.it":2,"valleaosta.it":2,"valled-aosta.it":2,"valledaosta.it":2,"vallee-aoste.it":2,"vall\xe9e-aoste.it":2,"vallee-d-aoste.it":2,"vall\xe9e-d-aoste.it":2,"valleeaoste.it":2,"vall\xe9eaoste.it":2,"valleedaoste.it":2,"vall\xe9edaoste.it":2,"vao.it":2,"vda.it":2,"ven.it":2,"veneto.it":2,"ag.it":2,"agrigento.it":2,"al.it":2,"alessandria.it":2,"alto-adige.it":2,"altoadige.it":2,"an.it":2,"ancona.it":2,"andria-barletta-trani.it":2,"andria-trani-barletta.it":2,"andriabarlettatrani.it":2,"andriatranibarletta.it":2,"ao.it":2,"aosta.it":2,"aoste.it":2,"ap.it":2,"aq.it":2,"aquila.it":2,"ar.it":2,"arezzo.it":2,"ascoli-piceno.it":2,"ascolipiceno.it":2,"asti.it":2,"at.it":2,"av.it":2,"avellino.it":2,"ba.it":2,"balsan-sudtirol.it":2,"balsan-s\xfcdtirol.it":2,"balsan-suedtirol.it":2,"balsan.it":2,"bari.it":2,"barletta-trani-andria.it":2,"barlettatraniandria.it":2,"belluno.it":2,"benevento.it":2,"bergamo.it":2,"bg.it":2,"bi.it":2,"biella.it":2,"bl.it":2,"bn.it":2,"bo.it":2,"bologna.it":2,"bolzano-altoadige.it":2,"bolzano.it":2,"bozen-sudtirol.it":2,"bozen-s\xfcdtirol.it":2,"bozen-suedtirol.it":2,"bozen.it":2,"br.it":2,"brescia.it":2,"brindisi.it":2,"bs.it":2,"bt.it":2,"bulsan-sudtirol.it":2,"bulsan-s\xfcdtirol.it":2,"bulsan-suedtirol.it":2,"bulsan.it":2,"bz.it":2,"ca.it":2,"cagliari.it":2,"caltanissetta.it":2,"campidano-medio.it":2,"campidanomedio.it":2,"campobasso.it":2,"carbonia-iglesias.it":2,"carboniaiglesias.it":2,"carrara-massa.it":2,"carraramassa.it":2,"caserta.it":2,"catania.it":2,"catanzaro.it":2,"cb.it":2,"ce.it":2,"cesena-forli.it":2,"cesena-forl\xec.it":2,"cesenaforli.it":2,"cesenaforl\xec.it":2,"ch.it":2,"chieti.it":2,"ci.it":2,"cl.it":2,"cn.it":2,"co.it":2,"como.it":2,"cosenza.it":2,"cr.it":2,"cremona.it":2,"crotone.it":2,"cs.it":2,"ct.it":2,"cuneo.it":2,"cz.it":2,"dell-ogliastra.it":2,"dellogliastra.it":2,"en.it":2,"enna.it":2,"fc.it":2,"fe.it":2,"fermo.it":2,"ferrara.it":2,"fg.it":2,"fi.it":2,"firenze.it":2,"florence.it":2,"fm.it":2,"foggia.it":2,"forli-cesena.it":2,"forl\xec-cesena.it":2,"forlicesena.it":2,"forl\xeccesena.it":2,"fr.it":2,"frosinone.it":2,"ge.it":2,"genoa.it":2,"genova.it":2,"go.it":2,"gorizia.it":2,"gr.it":2,"grosseto.it":2,"iglesias-carbonia.it":2,"iglesiascarbonia.it":2,"im.it":2,"imperia.it":2,"is.it":2,"isernia.it":2,"kr.it":2,"la-spezia.it":2,"laquila.it":2,"laspezia.it":2,"latina.it":2,"lc.it":2,"le.it":2,"lecce.it":2,"lecco.it":2,"li.it":2,"livorno.it":2,"lo.it":2,"lodi.it":2,"lt.it":2,"lu.it":2,"lucca.it":2,"macerata.it":2,"mantova.it":2,"massa-carrara.it":2,"massacarrara.it":2,"matera.it":2,"mb.it":2,"mc.it":2,"me.it":2,"medio-campidano.it":2,"mediocampidano.it":2,"messina.it":2,"mi.it":2,"milan.it":2,"milano.it":2,"mn.it":2,"mo.it":2,"modena.it":2,"monza-brianza.it":2,"monza-e-della-brianza.it":2,"monza.it":2,"monzabrianza.it":2,"monzaebrianza.it":2,"monzaedellabrianza.it":2,"ms.it":2,"mt.it":2,"na.it":2,"naples.it":2,"napoli.it":2,"no.it":2,"novara.it":2,"nu.it":2,"nuoro.it":2,"og.it":2,"ogliastra.it":2,"olbia-tempio.it":2,"olbiatempio.it":2,"or.it":2,"oristano.it":2,"ot.it":2,"pa.it":2,"padova.it":2,"padua.it":2,"palermo.it":2,"parma.it":2,"pavia.it":2,"pc.it":2,"pd.it":2,"pe.it":2,"perugia.it":2,"pesaro-urbino.it":2,"pesarourbino.it":2,"pescara.it":2,"pg.it":2,"pi.it":2,"piacenza.it":2,"pisa.it":2,"pistoia.it":2,"pn.it":2,"po.it":2,"pordenone.it":2,"potenza.it":2,"pr.it":2,"prato.it":2,"pt.it":2,"pu.it":2,"pv.it":2,"pz.it":2,"ra.it":2,"ragusa.it":2,"ravenna.it":2,"rc.it":2,"re.it":2,"reggio-calabria.it":2,"reggio-emilia.it":2,"reggiocalabria.it":2,"reggioemilia.it":2,"rg.it":2,"ri.it":2,"rieti.it":2,"rimini.it":2,"rm.it":2,"rn.it":2,"ro.it":2,"roma.it":2,"rome.it":2,"rovigo.it":2,"sa.it":2,"salerno.it":2,"sassari.it":2,"savona.it":2,"si.it":2,"siena.it":2,"siracusa.it":2,"so.it":2,"sondrio.it":2,"sp.it":2,"sr.it":2,"ss.it":2,"suedtirol.it":2,"s\xfcdtirol.it":2,"sv.it":2,"ta.it":2,"taranto.it":2,"te.it":2,"tempio-olbia.it":2,"tempioolbia.it":2,"teramo.it":2,"terni.it":2,"tn.it":2,"to.it":2,"torino.it":2,"tp.it":2,"tr.it":2,"trani-andria-barletta.it":2,"trani-barletta-andria.it":2,"traniandriabarletta.it":2,"tranibarlettaandria.it":2,"trapani.it":2,"trento.it":2,"treviso.it":2,"trieste.it":2,"ts.it":2,"turin.it":2,"tv.it":2,"ud.it":2,"udine.it":2,"urbino-pesaro.it":2,"urbinopesaro.it":2,"va.it":2,"varese.it":2,"vb.it":2,"vc.it":2,"ve.it":2,"venezia.it":2,"venice.it":2,"verbania.it":2,"vercelli.it":2,"verona.it":2,"vi.it":2,"vibo-valentia.it":2,"vibovalentia.it":2,"vicenza.it":2,"viterbo.it":2,"vr.it":2,"vs.it":2,"vt.it":2,"vv.it":2,"je":1,"co.je":2,"net.je":2,"org.je":2,"jm":2,"jo":1,"com.jo":2,"org.jo":2,"net.jo":2,"edu.jo":2,"sch.jo":2,"gov.jo":2,"mil.jo":2,"name.jo":2,"jobs":1,"jp":1,"ac.jp":2,"ad.jp":2,"co.jp":2,"ed.jp":2,"go.jp":2,"gr.jp":2,"lg.jp":2,"ne.jp":2,"or.jp":2,"aichi.jp":2,"akita.jp":2,"aomori.jp":2,"chiba.jp":2,"ehime.jp":2,"fukui.jp":2,"fukuoka.jp":2,"fukushima.jp":2,"gifu.jp":2,"gunma.jp":2,"hiroshima.jp":2,"hokkaido.jp":2,"hyogo.jp":2,"ibaraki.jp":2,"ishikawa.jp":2,"iwate.jp":2,"kagawa.jp":2,"kagoshima.jp":2,"kanagawa.jp":2,"kochi.jp":2,"kumamoto.jp":2,"kyoto.jp":2,"mie.jp":2,"miyagi.jp":2,"miyazaki.jp":2,"nagano.jp":2,"nagasaki.jp":2,"nara.jp":2,"niigata.jp":2,"oita.jp":2,"okayama.jp":2,"okinawa.jp":2,"osaka.jp":2,"saga.jp":2,"saitama.jp":2,"shiga.jp":2,"shimane.jp":2,"shizuoka.jp":2,"tochigi.jp":2,"tokushima.jp":2,"tokyo.jp":2,"tottori.jp":2,"toyama.jp":2,"wakayama.jp":2,"yamagata.jp":2,"yamaguchi.jp":2,"yamanashi.jp":2,"栃木.jp":2,"愛知.jp":2,"愛媛.jp":2,"兵庫.jp":2,"熊本.jp":2,"茨城.jp":2,"北海道.jp":2,"千葉.jp":2,"和歌山.jp":2,"長崎.jp":2,"長野.jp":2,"新潟.jp":2,"青森.jp":2,"静岡.jp":2,"東京.jp":2,"石川.jp":2,"埼玉.jp":2,"三重.jp":2,"京都.jp":2,"佐賀.jp":2,"大分.jp":2,"大阪.jp":2,"奈良.jp":2,"宮城.jp":2,"宮崎.jp":2,"富山.jp":2,"山口.jp":2,"山形.jp":2,"山梨.jp":2,"岩手.jp":2,"岐阜.jp":2,"岡山.jp":2,"島根.jp":2,"広島.jp":2,"徳島.jp":2,"沖縄.jp":2,"滋賀.jp":2,"神奈川.jp":2,"福井.jp":2,"福岡.jp":2,"福島.jp":2,"秋田.jp":2,"群馬.jp":2,"香川.jp":2,"高知.jp":2,"鳥取.jp":2,"鹿児島.jp":2,"kawasaki.jp":3,"kitakyushu.jp":3,"kobe.jp":3,"nagoya.jp":3,"sapporo.jp":3,"sendai.jp":3,"yokohama.jp":3,"city.kawasaki.jp":2,"city.kitakyushu.jp":2,"city.kobe.jp":2,"city.nagoya.jp":2,"city.sapporo.jp":2,"city.sendai.jp":2,"city.yokohama.jp":2,"aisai.aichi.jp":3,"ama.aichi.jp":3,"anjo.aichi.jp":3,"asuke.aichi.jp":3,"chiryu.aichi.jp":3,"chita.aichi.jp":3,"fuso.aichi.jp":3,"gamagori.aichi.jp":3,"handa.aichi.jp":3,"hazu.aichi.jp":3,"hekinan.aichi.jp":3,"higashiura.aichi.jp":3,"ichinomiya.aichi.jp":3,"inazawa.aichi.jp":3,"inuyama.aichi.jp":3,"isshiki.aichi.jp":3,"iwakura.aichi.jp":3,"kanie.aichi.jp":3,"kariya.aichi.jp":3,"kasugai.aichi.jp":3,"kira.aichi.jp":3,"kiyosu.aichi.jp":3,"komaki.aichi.jp":3,"konan.aichi.jp":3,"kota.aichi.jp":3,"mihama.aichi.jp":3,"miyoshi.aichi.jp":3,"nishio.aichi.jp":3,"nisshin.aichi.jp":3,"obu.aichi.jp":3,"oguchi.aichi.jp":3,"oharu.aichi.jp":3,"okazaki.aichi.jp":3,"owariasahi.aichi.jp":3,"seto.aichi.jp":3,"shikatsu.aichi.jp":3,"shinshiro.aichi.jp":3,"shitara.aichi.jp":3,"tahara.aichi.jp":3,"takahama.aichi.jp":3,"tobishima.aichi.jp":3,"toei.aichi.jp":3,"togo.aichi.jp":3,"tokai.aichi.jp":3,"tokoname.aichi.jp":3,"toyoake.aichi.jp":3,"toyohashi.aichi.jp":3,"toyokawa.aichi.jp":3,"toyone.aichi.jp":3,"toyota.aichi.jp":3,"tsushima.aichi.jp":3,"yatomi.aichi.jp":3,"akita.akita.jp":3,"daisen.akita.jp":3,"fujisato.akita.jp":3,"gojome.akita.jp":3,"hachirogata.akita.jp":3,"happou.akita.jp":3,"higashinaruse.akita.jp":3,"honjo.akita.jp":3,"honjyo.akita.jp":3,"ikawa.akita.jp":3,"kamikoani.akita.jp":3,"kamioka.akita.jp":3,"katagami.akita.jp":3,"kazuno.akita.jp":3,"kitaakita.akita.jp":3,"kosaka.akita.jp":3,"kyowa.akita.jp":3,"misato.akita.jp":3,"mitane.akita.jp":3,"moriyoshi.akita.jp":3,"nikaho.akita.jp":3,"noshiro.akita.jp":3,"odate.akita.jp":3,"oga.akita.jp":3,"ogata.akita.jp":3,"semboku.akita.jp":3,"yokote.akita.jp":3,"yurihonjo.akita.jp":3,"aomori.aomori.jp":3,"gonohe.aomori.jp":3,"hachinohe.aomori.jp":3,"hashikami.aomori.jp":3,"hiranai.aomori.jp":3,"hirosaki.aomori.jp":3,"itayanagi.aomori.jp":3,"kuroishi.aomori.jp":3,"misawa.aomori.jp":3,"mutsu.aomori.jp":3,"nakadomari.aomori.jp":3,"noheji.aomori.jp":3,"oirase.aomori.jp":3,"owani.aomori.jp":3,"rokunohe.aomori.jp":3,"sannohe.aomori.jp":3,"shichinohe.aomori.jp":3,"shingo.aomori.jp":3,"takko.aomori.jp":3,"towada.aomori.jp":3,"tsugaru.aomori.jp":3,"tsuruta.aomori.jp":3,"abiko.chiba.jp":3,"asahi.chiba.jp":3,"chonan.chiba.jp":3,"chosei.chiba.jp":3,"choshi.chiba.jp":3,"chuo.chiba.jp":3,"funabashi.chiba.jp":3,"futtsu.chiba.jp":3,"hanamigawa.chiba.jp":3,"ichihara.chiba.jp":3,"ichikawa.chiba.jp":3,"ichinomiya.chiba.jp":3,"inzai.chiba.jp":3,"isumi.chiba.jp":3,"kamagaya.chiba.jp":3,"kamogawa.chiba.jp":3,"kashiwa.chiba.jp":3,"katori.chiba.jp":3,"katsuura.chiba.jp":3,"kimitsu.chiba.jp":3,"kisarazu.chiba.jp":3,"kozaki.chiba.jp":3,"kujukuri.chiba.jp":3,"kyonan.chiba.jp":3,"matsudo.chiba.jp":3,"midori.chiba.jp":3,"mihama.chiba.jp":3,"minamiboso.chiba.jp":3,"mobara.chiba.jp":3,"mutsuzawa.chiba.jp":3,"nagara.chiba.jp":3,"nagareyama.chiba.jp":3,"narashino.chiba.jp":3,"narita.chiba.jp":3,"noda.chiba.jp":3,"oamishirasato.chiba.jp":3,"omigawa.chiba.jp":3,"onjuku.chiba.jp":3,"otaki.chiba.jp":3,"sakae.chiba.jp":3,"sakura.chiba.jp":3,"shimofusa.chiba.jp":3,"shirako.chiba.jp":3,"shiroi.chiba.jp":3,"shisui.chiba.jp":3,"sodegaura.chiba.jp":3,"sosa.chiba.jp":3,"tako.chiba.jp":3,"tateyama.chiba.jp":3,"togane.chiba.jp":3,"tohnosho.chiba.jp":3,"tomisato.chiba.jp":3,"urayasu.chiba.jp":3,"yachimata.chiba.jp":3,"yachiyo.chiba.jp":3,"yokaichiba.chiba.jp":3,"yokoshibahikari.chiba.jp":3,"yotsukaido.chiba.jp":3,"ainan.ehime.jp":3,"honai.ehime.jp":3,"ikata.ehime.jp":3,"imabari.ehime.jp":3,"iyo.ehime.jp":3,"kamijima.ehime.jp":3,"kihoku.ehime.jp":3,"kumakogen.ehime.jp":3,"masaki.ehime.jp":3,"matsuno.ehime.jp":3,"matsuyama.ehime.jp":3,"namikata.ehime.jp":3,"niihama.ehime.jp":3,"ozu.ehime.jp":3,"saijo.ehime.jp":3,"seiyo.ehime.jp":3,"shikokuchuo.ehime.jp":3,"tobe.ehime.jp":3,"toon.ehime.jp":3,"uchiko.ehime.jp":3,"uwajima.ehime.jp":3,"yawatahama.ehime.jp":3,"echizen.fukui.jp":3,"eiheiji.fukui.jp":3,"fukui.fukui.jp":3,"ikeda.fukui.jp":3,"katsuyama.fukui.jp":3,"mihama.fukui.jp":3,"minamiechizen.fukui.jp":3,"obama.fukui.jp":3,"ohi.fukui.jp":3,"ono.fukui.jp":3,"sabae.fukui.jp":3,"sakai.fukui.jp":3,"takahama.fukui.jp":3,"tsuruga.fukui.jp":3,"wakasa.fukui.jp":3,"ashiya.fukuoka.jp":3,"buzen.fukuoka.jp":3,"chikugo.fukuoka.jp":3,"chikuho.fukuoka.jp":3,"chikujo.fukuoka.jp":3,"chikushino.fukuoka.jp":3,"chikuzen.fukuoka.jp":3,"chuo.fukuoka.jp":3,"dazaifu.fukuoka.jp":3,"fukuchi.fukuoka.jp":3,"hakata.fukuoka.jp":3,"higashi.fukuoka.jp":3,"hirokawa.fukuoka.jp":3,"hisayama.fukuoka.jp":3,"iizuka.fukuoka.jp":3,"inatsuki.fukuoka.jp":3,"kaho.fukuoka.jp":3,"kasuga.fukuoka.jp":3,"kasuya.fukuoka.jp":3,"kawara.fukuoka.jp":3,"keisen.fukuoka.jp":3,"koga.fukuoka.jp":3,"kurate.fukuoka.jp":3,"kurogi.fukuoka.jp":3,"kurume.fukuoka.jp":3,"minami.fukuoka.jp":3,"miyako.fukuoka.jp":3,"miyama.fukuoka.jp":3,"miyawaka.fukuoka.jp":3,"mizumaki.fukuoka.jp":3,"munakata.fukuoka.jp":3,"nakagawa.fukuoka.jp":3,"nakama.fukuoka.jp":3,"nishi.fukuoka.jp":3,"nogata.fukuoka.jp":3,"ogori.fukuoka.jp":3,"okagaki.fukuoka.jp":3,"okawa.fukuoka.jp":3,"oki.fukuoka.jp":3,"omuta.fukuoka.jp":3,"onga.fukuoka.jp":3,"onojo.fukuoka.jp":3,"oto.fukuoka.jp":3,"saigawa.fukuoka.jp":3,"sasaguri.fukuoka.jp":3,"shingu.fukuoka.jp":3,"shinyoshitomi.fukuoka.jp":3,"shonai.fukuoka.jp":3,"soeda.fukuoka.jp":3,"sue.fukuoka.jp":3,"tachiarai.fukuoka.jp":3,"tagawa.fukuoka.jp":3,"takata.fukuoka.jp":3,"toho.fukuoka.jp":3,"toyotsu.fukuoka.jp":3,"tsuiki.fukuoka.jp":3,"ukiha.fukuoka.jp":3,"umi.fukuoka.jp":3,"usui.fukuoka.jp":3,"yamada.fukuoka.jp":3,"yame.fukuoka.jp":3,"yanagawa.fukuoka.jp":3,"yukuhashi.fukuoka.jp":3,"aizubange.fukushima.jp":3,"aizumisato.fukushima.jp":3,"aizuwakamatsu.fukushima.jp":3,"asakawa.fukushima.jp":3,"bandai.fukushima.jp":3,"date.fukushima.jp":3,"fukushima.fukushima.jp":3,"furudono.fukushima.jp":3,"futaba.fukushima.jp":3,"hanawa.fukushima.jp":3,"higashi.fukushima.jp":3,"hirata.fukushima.jp":3,"hirono.fukushima.jp":3,"iitate.fukushima.jp":3,"inawashiro.fukushima.jp":3,"ishikawa.fukushima.jp":3,"iwaki.fukushima.jp":3,"izumizaki.fukushima.jp":3,"kagamiishi.fukushima.jp":3,"kaneyama.fukushima.jp":3,"kawamata.fukushima.jp":3,"kitakata.fukushima.jp":3,"kitashiobara.fukushima.jp":3,"koori.fukushima.jp":3,"koriyama.fukushima.jp":3,"kunimi.fukushima.jp":3,"miharu.fukushima.jp":3,"mishima.fukushima.jp":3,"namie.fukushima.jp":3,"nango.fukushima.jp":3,"nishiaizu.fukushima.jp":3,"nishigo.fukushima.jp":3,"okuma.fukushima.jp":3,"omotego.fukushima.jp":3,"ono.fukushima.jp":3,"otama.fukushima.jp":3,"samegawa.fukushima.jp":3,"shimogo.fukushima.jp":3,"shirakawa.fukushima.jp":3,"showa.fukushima.jp":3,"soma.fukushima.jp":3,"sukagawa.fukushima.jp":3,"taishin.fukushima.jp":3,"tamakawa.fukushima.jp":3,"tanagura.fukushima.jp":3,"tenei.fukushima.jp":3,"yabuki.fukushima.jp":3,"yamato.fukushima.jp":3,"yamatsuri.fukushima.jp":3,"yanaizu.fukushima.jp":3,"yugawa.fukushima.jp":3,"anpachi.gifu.jp":3,"ena.gifu.jp":3,"gifu.gifu.jp":3,"ginan.gifu.jp":3,"godo.gifu.jp":3,"gujo.gifu.jp":3,"hashima.gifu.jp":3,"hichiso.gifu.jp":3,"hida.gifu.jp":3,"higashishirakawa.gifu.jp":3,"ibigawa.gifu.jp":3,"ikeda.gifu.jp":3,"kakamigahara.gifu.jp":3,"kani.gifu.jp":3,"kasahara.gifu.jp":3,"kasamatsu.gifu.jp":3,"kawaue.gifu.jp":3,"kitagata.gifu.jp":3,"mino.gifu.jp":3,"minokamo.gifu.jp":3,"mitake.gifu.jp":3,"mizunami.gifu.jp":3,"motosu.gifu.jp":3,"nakatsugawa.gifu.jp":3,"ogaki.gifu.jp":3,"sakahogi.gifu.jp":3,"seki.gifu.jp":3,"sekigahara.gifu.jp":3,"shirakawa.gifu.jp":3,"tajimi.gifu.jp":3,"takayama.gifu.jp":3,"tarui.gifu.jp":3,"toki.gifu.jp":3,"tomika.gifu.jp":3,"wanouchi.gifu.jp":3,"yamagata.gifu.jp":3,"yaotsu.gifu.jp":3,"yoro.gifu.jp":3,"annaka.gunma.jp":3,"chiyoda.gunma.jp":3,"fujioka.gunma.jp":3,"higashiagatsuma.gunma.jp":3,"isesaki.gunma.jp":3,"itakura.gunma.jp":3,"kanna.gunma.jp":3,"kanra.gunma.jp":3,"katashina.gunma.jp":3,"kawaba.gunma.jp":3,"kiryu.gunma.jp":3,"kusatsu.gunma.jp":3,"maebashi.gunma.jp":3,"meiwa.gunma.jp":3,"midori.gunma.jp":3,"minakami.gunma.jp":3,"naganohara.gunma.jp":3,"nakanojo.gunma.jp":3,"nanmoku.gunma.jp":3,"numata.gunma.jp":3,"oizumi.gunma.jp":3,"ora.gunma.jp":3,"ota.gunma.jp":3,"shibukawa.gunma.jp":3,"shimonita.gunma.jp":3,"shinto.gunma.jp":3,"showa.gunma.jp":3,"takasaki.gunma.jp":3,"takayama.gunma.jp":3,"tamamura.gunma.jp":3,"tatebayashi.gunma.jp":3,"tomioka.gunma.jp":3,"tsukiyono.gunma.jp":3,"tsumagoi.gunma.jp":3,"ueno.gunma.jp":3,"yoshioka.gunma.jp":3,"asaminami.hiroshima.jp":3,"daiwa.hiroshima.jp":3,"etajima.hiroshima.jp":3,"fuchu.hiroshima.jp":3,"fukuyama.hiroshima.jp":3,"hatsukaichi.hiroshima.jp":3,"higashihiroshima.hiroshima.jp":3,"hongo.hiroshima.jp":3,"jinsekikogen.hiroshima.jp":3,"kaita.hiroshima.jp":3,"kui.hiroshima.jp":3,"kumano.hiroshima.jp":3,"kure.hiroshima.jp":3,"mihara.hiroshima.jp":3,"miyoshi.hiroshima.jp":3,"naka.hiroshima.jp":3,"onomichi.hiroshima.jp":3,"osakikamijima.hiroshima.jp":3,"otake.hiroshima.jp":3,"saka.hiroshima.jp":3,"sera.hiroshima.jp":3,"seranishi.hiroshima.jp":3,"shinichi.hiroshima.jp":3,"shobara.hiroshima.jp":3,"takehara.hiroshima.jp":3,"abashiri.hokkaido.jp":3,"abira.hokkaido.jp":3,"aibetsu.hokkaido.jp":3,"akabira.hokkaido.jp":3,"akkeshi.hokkaido.jp":3,"asahikawa.hokkaido.jp":3,"ashibetsu.hokkaido.jp":3,"ashoro.hokkaido.jp":3,"assabu.hokkaido.jp":3,"atsuma.hokkaido.jp":3,"bibai.hokkaido.jp":3,"biei.hokkaido.jp":3,"bifuka.hokkaido.jp":3,"bihoro.hokkaido.jp":3,"biratori.hokkaido.jp":3,"chippubetsu.hokkaido.jp":3,"chitose.hokkaido.jp":3,"date.hokkaido.jp":3,"ebetsu.hokkaido.jp":3,"embetsu.hokkaido.jp":3,"eniwa.hokkaido.jp":3,"erimo.hokkaido.jp":3,"esan.hokkaido.jp":3,"esashi.hokkaido.jp":3,"fukagawa.hokkaido.jp":3,"fukushima.hokkaido.jp":3,"furano.hokkaido.jp":3,"furubira.hokkaido.jp":3,"haboro.hokkaido.jp":3,"hakodate.hokkaido.jp":3,"hamatonbetsu.hokkaido.jp":3,"hidaka.hokkaido.jp":3,"higashikagura.hokkaido.jp":3,"higashikawa.hokkaido.jp":3,"hiroo.hokkaido.jp":3,"hokuryu.hokkaido.jp":3,"hokuto.hokkaido.jp":3,"honbetsu.hokkaido.jp":3,"horokanai.hokkaido.jp":3,"horonobe.hokkaido.jp":3,"ikeda.hokkaido.jp":3,"imakane.hokkaido.jp":3,"ishikari.hokkaido.jp":3,"iwamizawa.hokkaido.jp":3,"iwanai.hokkaido.jp":3,"kamifurano.hokkaido.jp":3,"kamikawa.hokkaido.jp":3,"kamishihoro.hokkaido.jp":3,"kamisunagawa.hokkaido.jp":3,"kamoenai.hokkaido.jp":3,"kayabe.hokkaido.jp":3,"kembuchi.hokkaido.jp":3,"kikonai.hokkaido.jp":3,"kimobetsu.hokkaido.jp":3,"kitahiroshima.hokkaido.jp":3,"kitami.hokkaido.jp":3,"kiyosato.hokkaido.jp":3,"koshimizu.hokkaido.jp":3,"kunneppu.hokkaido.jp":3,"kuriyama.hokkaido.jp":3,"kuromatsunai.hokkaido.jp":3,"kushiro.hokkaido.jp":3,"kutchan.hokkaido.jp":3,"kyowa.hokkaido.jp":3,"mashike.hokkaido.jp":3,"matsumae.hokkaido.jp":3,"mikasa.hokkaido.jp":3,"minamifurano.hokkaido.jp":3,"mombetsu.hokkaido.jp":3,"moseushi.hokkaido.jp":3,"mukawa.hokkaido.jp":3,"muroran.hokkaido.jp":3,"naie.hokkaido.jp":3,"nakagawa.hokkaido.jp":3,"nakasatsunai.hokkaido.jp":3,"nakatombetsu.hokkaido.jp":3,"nanae.hokkaido.jp":3,"nanporo.hokkaido.jp":3,"nayoro.hokkaido.jp":3,"nemuro.hokkaido.jp":3,"niikappu.hokkaido.jp":3,"niki.hokkaido.jp":3,"nishiokoppe.hokkaido.jp":3,"noboribetsu.hokkaido.jp":3,"numata.hokkaido.jp":3,"obihiro.hokkaido.jp":3,"obira.hokkaido.jp":3,"oketo.hokkaido.jp":3,"okoppe.hokkaido.jp":3,"otaru.hokkaido.jp":3,"otobe.hokkaido.jp":3,"otofuke.hokkaido.jp":3,"otoineppu.hokkaido.jp":3,"oumu.hokkaido.jp":3,"ozora.hokkaido.jp":3,"pippu.hokkaido.jp":3,"rankoshi.hokkaido.jp":3,"rebun.hokkaido.jp":3,"rikubetsu.hokkaido.jp":3,"rishiri.hokkaido.jp":3,"rishirifuji.hokkaido.jp":3,"saroma.hokkaido.jp":3,"sarufutsu.hokkaido.jp":3,"shakotan.hokkaido.jp":3,"shari.hokkaido.jp":3,"shibecha.hokkaido.jp":3,"shibetsu.hokkaido.jp":3,"shikabe.hokkaido.jp":3,"shikaoi.hokkaido.jp":3,"shimamaki.hokkaido.jp":3,"shimizu.hokkaido.jp":3,"shimokawa.hokkaido.jp":3,"shinshinotsu.hokkaido.jp":3,"shintoku.hokkaido.jp":3,"shiranuka.hokkaido.jp":3,"shiraoi.hokkaido.jp":3,"shiriuchi.hokkaido.jp":3,"sobetsu.hokkaido.jp":3,"sunagawa.hokkaido.jp":3,"taiki.hokkaido.jp":3,"takasu.hokkaido.jp":3,"takikawa.hokkaido.jp":3,"takinoue.hokkaido.jp":3,"teshikaga.hokkaido.jp":3,"tobetsu.hokkaido.jp":3,"tohma.hokkaido.jp":3,"tomakomai.hokkaido.jp":3,"tomari.hokkaido.jp":3,"toya.hokkaido.jp":3,"toyako.hokkaido.jp":3,"toyotomi.hokkaido.jp":3,"toyoura.hokkaido.jp":3,"tsubetsu.hokkaido.jp":3,"tsukigata.hokkaido.jp":3,"urakawa.hokkaido.jp":3,"urausu.hokkaido.jp":3,"uryu.hokkaido.jp":3,"utashinai.hokkaido.jp":3,"wakkanai.hokkaido.jp":3,"wassamu.hokkaido.jp":3,"yakumo.hokkaido.jp":3,"yoichi.hokkaido.jp":3,"aioi.hyogo.jp":3,"akashi.hyogo.jp":3,"ako.hyogo.jp":3,"amagasaki.hyogo.jp":3,"aogaki.hyogo.jp":3,"asago.hyogo.jp":3,"ashiya.hyogo.jp":3,"awaji.hyogo.jp":3,"fukusaki.hyogo.jp":3,"goshiki.hyogo.jp":3,"harima.hyogo.jp":3,"himeji.hyogo.jp":3,"ichikawa.hyogo.jp":3,"inagawa.hyogo.jp":3,"itami.hyogo.jp":3,"kakogawa.hyogo.jp":3,"kamigori.hyogo.jp":3,"kamikawa.hyogo.jp":3,"kasai.hyogo.jp":3,"kasuga.hyogo.jp":3,"kawanishi.hyogo.jp":3,"miki.hyogo.jp":3,"minamiawaji.hyogo.jp":3,"nishinomiya.hyogo.jp":3,"nishiwaki.hyogo.jp":3,"ono.hyogo.jp":3,"sanda.hyogo.jp":3,"sannan.hyogo.jp":3,"sasayama.hyogo.jp":3,"sayo.hyogo.jp":3,"shingu.hyogo.jp":3,"shinonsen.hyogo.jp":3,"shiso.hyogo.jp":3,"sumoto.hyogo.jp":3,"taishi.hyogo.jp":3,"taka.hyogo.jp":3,"takarazuka.hyogo.jp":3,"takasago.hyogo.jp":3,"takino.hyogo.jp":3,"tamba.hyogo.jp":3,"tatsuno.hyogo.jp":3,"toyooka.hyogo.jp":3,"yabu.hyogo.jp":3,"yashiro.hyogo.jp":3,"yoka.hyogo.jp":3,"yokawa.hyogo.jp":3,"ami.ibaraki.jp":3,"asahi.ibaraki.jp":3,"bando.ibaraki.jp":3,"chikusei.ibaraki.jp":3,"daigo.ibaraki.jp":3,"fujishiro.ibaraki.jp":3,"hitachi.ibaraki.jp":3,"hitachinaka.ibaraki.jp":3,"hitachiomiya.ibaraki.jp":3,"hitachiota.ibaraki.jp":3,"ibaraki.ibaraki.jp":3,"ina.ibaraki.jp":3,"inashiki.ibaraki.jp":3,"itako.ibaraki.jp":3,"iwama.ibaraki.jp":3,"joso.ibaraki.jp":3,"kamisu.ibaraki.jp":3,"kasama.ibaraki.jp":3,"kashima.ibaraki.jp":3,"kasumigaura.ibaraki.jp":3,"koga.ibaraki.jp":3,"miho.ibaraki.jp":3,"mito.ibaraki.jp":3,"moriya.ibaraki.jp":3,"naka.ibaraki.jp":3,"namegata.ibaraki.jp":3,"oarai.ibaraki.jp":3,"ogawa.ibaraki.jp":3,"omitama.ibaraki.jp":3,"ryugasaki.ibaraki.jp":3,"sakai.ibaraki.jp":3,"sakuragawa.ibaraki.jp":3,"shimodate.ibaraki.jp":3,"shimotsuma.ibaraki.jp":3,"shirosato.ibaraki.jp":3,"sowa.ibaraki.jp":3,"suifu.ibaraki.jp":3,"takahagi.ibaraki.jp":3,"tamatsukuri.ibaraki.jp":3,"tokai.ibaraki.jp":3,"tomobe.ibaraki.jp":3,"tone.ibaraki.jp":3,"toride.ibaraki.jp":3,"tsuchiura.ibaraki.jp":3,"tsukuba.ibaraki.jp":3,"uchihara.ibaraki.jp":3,"ushiku.ibaraki.jp":3,"yachiyo.ibaraki.jp":3,"yamagata.ibaraki.jp":3,"yawara.ibaraki.jp":3,"yuki.ibaraki.jp":3,"anamizu.ishikawa.jp":3,"hakui.ishikawa.jp":3,"hakusan.ishikawa.jp":3,"kaga.ishikawa.jp":3,"kahoku.ishikawa.jp":3,"kanazawa.ishikawa.jp":3,"kawakita.ishikawa.jp":3,"komatsu.ishikawa.jp":3,"nakanoto.ishikawa.jp":3,"nanao.ishikawa.jp":3,"nomi.ishikawa.jp":3,"nonoichi.ishikawa.jp":3,"noto.ishikawa.jp":3,"shika.ishikawa.jp":3,"suzu.ishikawa.jp":3,"tsubata.ishikawa.jp":3,"tsurugi.ishikawa.jp":3,"uchinada.ishikawa.jp":3,"wajima.ishikawa.jp":3,"fudai.iwate.jp":3,"fujisawa.iwate.jp":3,"hanamaki.iwate.jp":3,"hiraizumi.iwate.jp":3,"hirono.iwate.jp":3,"ichinohe.iwate.jp":3,"ichinoseki.iwate.jp":3,"iwaizumi.iwate.jp":3,"iwate.iwate.jp":3,"joboji.iwate.jp":3,"kamaishi.iwate.jp":3,"kanegasaki.iwate.jp":3,"karumai.iwate.jp":3,"kawai.iwate.jp":3,"kitakami.iwate.jp":3,"kuji.iwate.jp":3,"kunohe.iwate.jp":3,"kuzumaki.iwate.jp":3,"miyako.iwate.jp":3,"mizusawa.iwate.jp":3,"morioka.iwate.jp":3,"ninohe.iwate.jp":3,"noda.iwate.jp":3,"ofunato.iwate.jp":3,"oshu.iwate.jp":3,"otsuchi.iwate.jp":3,"rikuzentakata.iwate.jp":3,"shiwa.iwate.jp":3,"shizukuishi.iwate.jp":3,"sumita.iwate.jp":3,"tanohata.iwate.jp":3,"tono.iwate.jp":3,"yahaba.iwate.jp":3,"yamada.iwate.jp":3,"ayagawa.kagawa.jp":3,"higashikagawa.kagawa.jp":3,"kanonji.kagawa.jp":3,"kotohira.kagawa.jp":3,"manno.kagawa.jp":3,"marugame.kagawa.jp":3,"mitoyo.kagawa.jp":3,"naoshima.kagawa.jp":3,"sanuki.kagawa.jp":3,"tadotsu.kagawa.jp":3,"takamatsu.kagawa.jp":3,"tonosho.kagawa.jp":3,"uchinomi.kagawa.jp":3,"utazu.kagawa.jp":3,"zentsuji.kagawa.jp":3,"akune.kagoshima.jp":3,"amami.kagoshima.jp":3,"hioki.kagoshima.jp":3,"isa.kagoshima.jp":3,"isen.kagoshima.jp":3,"izumi.kagoshima.jp":3,"kagoshima.kagoshima.jp":3,"kanoya.kagoshima.jp":3,"kawanabe.kagoshima.jp":3,"kinko.kagoshima.jp":3,"kouyama.kagoshima.jp":3,"makurazaki.kagoshima.jp":3,"matsumoto.kagoshima.jp":3,"minamitane.kagoshima.jp":3,"nakatane.kagoshima.jp":3,"nishinoomote.kagoshima.jp":3,"satsumasendai.kagoshima.jp":3,"soo.kagoshima.jp":3,"tarumizu.kagoshima.jp":3,"yusui.kagoshima.jp":3,"aikawa.kanagawa.jp":3,"atsugi.kanagawa.jp":3,"ayase.kanagawa.jp":3,"chigasaki.kanagawa.jp":3,"ebina.kanagawa.jp":3,"fujisawa.kanagawa.jp":3,"hadano.kanagawa.jp":3,"hakone.kanagawa.jp":3,"hiratsuka.kanagawa.jp":3,"isehara.kanagawa.jp":3,"kaisei.kanagawa.jp":3,"kamakura.kanagawa.jp":3,"kiyokawa.kanagawa.jp":3,"matsuda.kanagawa.jp":3,"minamiashigara.kanagawa.jp":3,"miura.kanagawa.jp":3,"nakai.kanagawa.jp":3,"ninomiya.kanagawa.jp":3,"odawara.kanagawa.jp":3,"oi.kanagawa.jp":3,"oiso.kanagawa.jp":3,"sagamihara.kanagawa.jp":3,"samukawa.kanagawa.jp":3,"tsukui.kanagawa.jp":3,"yamakita.kanagawa.jp":3,"yamato.kanagawa.jp":3,"yokosuka.kanagawa.jp":3,"yugawara.kanagawa.jp":3,"zama.kanagawa.jp":3,"zushi.kanagawa.jp":3,"aki.kochi.jp":3,"geisei.kochi.jp":3,"hidaka.kochi.jp":3,"higashitsuno.kochi.jp":3,"ino.kochi.jp":3,"kagami.kochi.jp":3,"kami.kochi.jp":3,"kitagawa.kochi.jp":3,"kochi.kochi.jp":3,"mihara.kochi.jp":3,"motoyama.kochi.jp":3,"muroto.kochi.jp":3,"nahari.kochi.jp":3,"nakamura.kochi.jp":3,"nankoku.kochi.jp":3,"nishitosa.kochi.jp":3,"niyodogawa.kochi.jp":3,"ochi.kochi.jp":3,"okawa.kochi.jp":3,"otoyo.kochi.jp":3,"otsuki.kochi.jp":3,"sakawa.kochi.jp":3,"sukumo.kochi.jp":3,"susaki.kochi.jp":3,"tosa.kochi.jp":3,"tosashimizu.kochi.jp":3,"toyo.kochi.jp":3,"tsuno.kochi.jp":3,"umaji.kochi.jp":3,"yasuda.kochi.jp":3,"yusuhara.kochi.jp":3,"amakusa.kumamoto.jp":3,"arao.kumamoto.jp":3,"aso.kumamoto.jp":3,"choyo.kumamoto.jp":3,"gyokuto.kumamoto.jp":3,"kamiamakusa.kumamoto.jp":3,"kikuchi.kumamoto.jp":3,"kumamoto.kumamoto.jp":3,"mashiki.kumamoto.jp":3,"mifune.kumamoto.jp":3,"minamata.kumamoto.jp":3,"minamioguni.kumamoto.jp":3,"nagasu.kumamoto.jp":3,"nishihara.kumamoto.jp":3,"oguni.kumamoto.jp":3,"ozu.kumamoto.jp":3,"sumoto.kumamoto.jp":3,"takamori.kumamoto.jp":3,"uki.kumamoto.jp":3,"uto.kumamoto.jp":3,"yamaga.kumamoto.jp":3,"yamato.kumamoto.jp":3,"yatsushiro.kumamoto.jp":3,"ayabe.kyoto.jp":3,"fukuchiyama.kyoto.jp":3,"higashiyama.kyoto.jp":3,"ide.kyoto.jp":3,"ine.kyoto.jp":3,"joyo.kyoto.jp":3,"kameoka.kyoto.jp":3,"kamo.kyoto.jp":3,"kita.kyoto.jp":3,"kizu.kyoto.jp":3,"kumiyama.kyoto.jp":3,"kyotamba.kyoto.jp":3,"kyotanabe.kyoto.jp":3,"kyotango.kyoto.jp":3,"maizuru.kyoto.jp":3,"minami.kyoto.jp":3,"minamiyamashiro.kyoto.jp":3,"miyazu.kyoto.jp":3,"muko.kyoto.jp":3,"nagaokakyo.kyoto.jp":3,"nakagyo.kyoto.jp":3,"nantan.kyoto.jp":3,"oyamazaki.kyoto.jp":3,"sakyo.kyoto.jp":3,"seika.kyoto.jp":3,"tanabe.kyoto.jp":3,"uji.kyoto.jp":3,"ujitawara.kyoto.jp":3,"wazuka.kyoto.jp":3,"yamashina.kyoto.jp":3,"yawata.kyoto.jp":3,"asahi.mie.jp":3,"inabe.mie.jp":3,"ise.mie.jp":3,"kameyama.mie.jp":3,"kawagoe.mie.jp":3,"kiho.mie.jp":3,"kisosaki.mie.jp":3,"kiwa.mie.jp":3,"komono.mie.jp":3,"kumano.mie.jp":3,"kuwana.mie.jp":3,"matsusaka.mie.jp":3,"meiwa.mie.jp":3,"mihama.mie.jp":3,"minamiise.mie.jp":3,"misugi.mie.jp":3,"miyama.mie.jp":3,"nabari.mie.jp":3,"shima.mie.jp":3,"suzuka.mie.jp":3,"tado.mie.jp":3,"taiki.mie.jp":3,"taki.mie.jp":3,"tamaki.mie.jp":3,"toba.mie.jp":3,"tsu.mie.jp":3,"udono.mie.jp":3,"ureshino.mie.jp":3,"watarai.mie.jp":3,"yokkaichi.mie.jp":3,"furukawa.miyagi.jp":3,"higashimatsushima.miyagi.jp":3,"ishinomaki.miyagi.jp":3,"iwanuma.miyagi.jp":3,"kakuda.miyagi.jp":3,"kami.miyagi.jp":3,"kawasaki.miyagi.jp":3,"marumori.miyagi.jp":3,"matsushima.miyagi.jp":3,"minamisanriku.miyagi.jp":3,"misato.miyagi.jp":3,"murata.miyagi.jp":3,"natori.miyagi.jp":3,"ogawara.miyagi.jp":3,"ohira.miyagi.jp":3,"onagawa.miyagi.jp":3,"osaki.miyagi.jp":3,"rifu.miyagi.jp":3,"semine.miyagi.jp":3,"shibata.miyagi.jp":3,"shichikashuku.miyagi.jp":3,"shikama.miyagi.jp":3,"shiogama.miyagi.jp":3,"shiroishi.miyagi.jp":3,"tagajo.miyagi.jp":3,"taiwa.miyagi.jp":3,"tome.miyagi.jp":3,"tomiya.miyagi.jp":3,"wakuya.miyagi.jp":3,"watari.miyagi.jp":3,"yamamoto.miyagi.jp":3,"zao.miyagi.jp":3,"aya.miyazaki.jp":3,"ebino.miyazaki.jp":3,"gokase.miyazaki.jp":3,"hyuga.miyazaki.jp":3,"kadogawa.miyazaki.jp":3,"kawaminami.miyazaki.jp":3,"kijo.miyazaki.jp":3,"kitagawa.miyazaki.jp":3,"kitakata.miyazaki.jp":3,"kitaura.miyazaki.jp":3,"kobayashi.miyazaki.jp":3,"kunitomi.miyazaki.jp":3,"kushima.miyazaki.jp":3,"mimata.miyazaki.jp":3,"miyakonojo.miyazaki.jp":3,"miyazaki.miyazaki.jp":3,"morotsuka.miyazaki.jp":3,"nichinan.miyazaki.jp":3,"nishimera.miyazaki.jp":3,"nobeoka.miyazaki.jp":3,"saito.miyazaki.jp":3,"shiiba.miyazaki.jp":3,"shintomi.miyazaki.jp":3,"takaharu.miyazaki.jp":3,"takanabe.miyazaki.jp":3,"takazaki.miyazaki.jp":3,"tsuno.miyazaki.jp":3,"achi.nagano.jp":3,"agematsu.nagano.jp":3,"anan.nagano.jp":3,"aoki.nagano.jp":3,"asahi.nagano.jp":3,"azumino.nagano.jp":3,"chikuhoku.nagano.jp":3,"chikuma.nagano.jp":3,"chino.nagano.jp":3,"fujimi.nagano.jp":3,"hakuba.nagano.jp":3,"hara.nagano.jp":3,"hiraya.nagano.jp":3,"iida.nagano.jp":3,"iijima.nagano.jp":3,"iiyama.nagano.jp":3,"iizuna.nagano.jp":3,"ikeda.nagano.jp":3,"ikusaka.nagano.jp":3,"ina.nagano.jp":3,"karuizawa.nagano.jp":3,"kawakami.nagano.jp":3,"kiso.nagano.jp":3,"kisofukushima.nagano.jp":3,"kitaaiki.nagano.jp":3,"komagane.nagano.jp":3,"komoro.nagano.jp":3,"matsukawa.nagano.jp":3,"matsumoto.nagano.jp":3,"miasa.nagano.jp":3,"minamiaiki.nagano.jp":3,"minamimaki.nagano.jp":3,"minamiminowa.nagano.jp":3,"minowa.nagano.jp":3,"miyada.nagano.jp":3,"miyota.nagano.jp":3,"mochizuki.nagano.jp":3,"nagano.nagano.jp":3,"nagawa.nagano.jp":3,"nagiso.nagano.jp":3,"nakagawa.nagano.jp":3,"nakano.nagano.jp":3,"nozawaonsen.nagano.jp":3,"obuse.nagano.jp":3,"ogawa.nagano.jp":3,"okaya.nagano.jp":3,"omachi.nagano.jp":3,"omi.nagano.jp":3,"ookuwa.nagano.jp":3,"ooshika.nagano.jp":3,"otaki.nagano.jp":3,"otari.nagano.jp":3,"sakae.nagano.jp":3,"sakaki.nagano.jp":3,"saku.nagano.jp":3,"sakuho.nagano.jp":3,"shimosuwa.nagano.jp":3,"shinanomachi.nagano.jp":3,"shiojiri.nagano.jp":3,"suwa.nagano.jp":3,"suzaka.nagano.jp":3,"takagi.nagano.jp":3,"takamori.nagano.jp":3,"takayama.nagano.jp":3,"tateshina.nagano.jp":3,"tatsuno.nagano.jp":3,"togakushi.nagano.jp":3,"togura.nagano.jp":3,"tomi.nagano.jp":3,"ueda.nagano.jp":3,"wada.nagano.jp":3,"yamagata.nagano.jp":3,"yamanouchi.nagano.jp":3,"yasaka.nagano.jp":3,"yasuoka.nagano.jp":3,"chijiwa.nagasaki.jp":3,"futsu.nagasaki.jp":3,"goto.nagasaki.jp":3,"hasami.nagasaki.jp":3,"hirado.nagasaki.jp":3,"iki.nagasaki.jp":3,"isahaya.nagasaki.jp":3,"kawatana.nagasaki.jp":3,"kuchinotsu.nagasaki.jp":3,"matsuura.nagasaki.jp":3,"nagasaki.nagasaki.jp":3,"obama.nagasaki.jp":3,"omura.nagasaki.jp":3,"oseto.nagasaki.jp":3,"saikai.nagasaki.jp":3,"sasebo.nagasaki.jp":3,"seihi.nagasaki.jp":3,"shimabara.nagasaki.jp":3,"shinkamigoto.nagasaki.jp":3,"togitsu.nagasaki.jp":3,"tsushima.nagasaki.jp":3,"unzen.nagasaki.jp":3,"ando.nara.jp":3,"gose.nara.jp":3,"heguri.nara.jp":3,"higashiyoshino.nara.jp":3,"ikaruga.nara.jp":3,"ikoma.nara.jp":3,"kamikitayama.nara.jp":3,"kanmaki.nara.jp":3,"kashiba.nara.jp":3,"kashihara.nara.jp":3,"katsuragi.nara.jp":3,"kawai.nara.jp":3,"kawakami.nara.jp":3,"kawanishi.nara.jp":3,"koryo.nara.jp":3,"kurotaki.nara.jp":3,"mitsue.nara.jp":3,"miyake.nara.jp":3,"nara.nara.jp":3,"nosegawa.nara.jp":3,"oji.nara.jp":3,"ouda.nara.jp":3,"oyodo.nara.jp":3,"sakurai.nara.jp":3,"sango.nara.jp":3,"shimoichi.nara.jp":3,"shimokitayama.nara.jp":3,"shinjo.nara.jp":3,"soni.nara.jp":3,"takatori.nara.jp":3,"tawaramoto.nara.jp":3,"tenkawa.nara.jp":3,"tenri.nara.jp":3,"uda.nara.jp":3,"yamatokoriyama.nara.jp":3,"yamatotakada.nara.jp":3,"yamazoe.nara.jp":3,"yoshino.nara.jp":3,"aga.niigata.jp":3,"agano.niigata.jp":3,"gosen.niigata.jp":3,"itoigawa.niigata.jp":3,"izumozaki.niigata.jp":3,"joetsu.niigata.jp":3,"kamo.niigata.jp":3,"kariwa.niigata.jp":3,"kashiwazaki.niigata.jp":3,"minamiuonuma.niigata.jp":3,"mitsuke.niigata.jp":3,"muika.niigata.jp":3,"murakami.niigata.jp":3,"myoko.niigata.jp":3,"nagaoka.niigata.jp":3,"niigata.niigata.jp":3,"ojiya.niigata.jp":3,"omi.niigata.jp":3,"sado.niigata.jp":3,"sanjo.niigata.jp":3,"seiro.niigata.jp":3,"seirou.niigata.jp":3,"sekikawa.niigata.jp":3,"shibata.niigata.jp":3,"tagami.niigata.jp":3,"tainai.niigata.jp":3,"tochio.niigata.jp":3,"tokamachi.niigata.jp":3,"tsubame.niigata.jp":3,"tsunan.niigata.jp":3,"uonuma.niigata.jp":3,"yahiko.niigata.jp":3,"yoita.niigata.jp":3,"yuzawa.niigata.jp":3,"beppu.oita.jp":3,"bungoono.oita.jp":3,"bungotakada.oita.jp":3,"hasama.oita.jp":3,"hiji.oita.jp":3,"himeshima.oita.jp":3,"hita.oita.jp":3,"kamitsue.oita.jp":3,"kokonoe.oita.jp":3,"kuju.oita.jp":3,"kunisaki.oita.jp":3,"kusu.oita.jp":3,"oita.oita.jp":3,"saiki.oita.jp":3,"taketa.oita.jp":3,"tsukumi.oita.jp":3,"usa.oita.jp":3,"usuki.oita.jp":3,"yufu.oita.jp":3,"akaiwa.okayama.jp":3,"asakuchi.okayama.jp":3,"bizen.okayama.jp":3,"hayashima.okayama.jp":3,"ibara.okayama.jp":3,"kagamino.okayama.jp":3,"kasaoka.okayama.jp":3,"kibichuo.okayama.jp":3,"kumenan.okayama.jp":3,"kurashiki.okayama.jp":3,"maniwa.okayama.jp":3,"misaki.okayama.jp":3,"nagi.okayama.jp":3,"niimi.okayama.jp":3,"nishiawakura.okayama.jp":3,"okayama.okayama.jp":3,"satosho.okayama.jp":3,"setouchi.okayama.jp":3,"shinjo.okayama.jp":3,"shoo.okayama.jp":3,"soja.okayama.jp":3,"takahashi.okayama.jp":3,"tamano.okayama.jp":3,"tsuyama.okayama.jp":3,"wake.okayama.jp":3,"yakage.okayama.jp":3,"aguni.okinawa.jp":3,"ginowan.okinawa.jp":3,"ginoza.okinawa.jp":3,"gushikami.okinawa.jp":3,"haebaru.okinawa.jp":3,"higashi.okinawa.jp":3,"hirara.okinawa.jp":3,"iheya.okinawa.jp":3,"ishigaki.okinawa.jp":3,"ishikawa.okinawa.jp":3,"itoman.okinawa.jp":3,"izena.okinawa.jp":3,"kadena.okinawa.jp":3,"kin.okinawa.jp":3,"kitadaito.okinawa.jp":3,"kitanakagusuku.okinawa.jp":3,"kumejima.okinawa.jp":3,"kunigami.okinawa.jp":3,"minamidaito.okinawa.jp":3,"motobu.okinawa.jp":3,"nago.okinawa.jp":3,"naha.okinawa.jp":3,"nakagusuku.okinawa.jp":3,"nakijin.okinawa.jp":3,"nanjo.okinawa.jp":3,"nishihara.okinawa.jp":3,"ogimi.okinawa.jp":3,"okinawa.okinawa.jp":3,"onna.okinawa.jp":3,"shimoji.okinawa.jp":3,"taketomi.okinawa.jp":3,"tarama.okinawa.jp":3,"tokashiki.okinawa.jp":3,"tomigusuku.okinawa.jp":3,"tonaki.okinawa.jp":3,"urasoe.okinawa.jp":3,"uruma.okinawa.jp":3,"yaese.okinawa.jp":3,"yomitan.okinawa.jp":3,"yonabaru.okinawa.jp":3,"yonaguni.okinawa.jp":3,"zamami.okinawa.jp":3,"abeno.osaka.jp":3,"chihayaakasaka.osaka.jp":3,"chuo.osaka.jp":3,"daito.osaka.jp":3,"fujiidera.osaka.jp":3,"habikino.osaka.jp":3,"hannan.osaka.jp":3,"higashiosaka.osaka.jp":3,"higashisumiyoshi.osaka.jp":3,"higashiyodogawa.osaka.jp":3,"hirakata.osaka.jp":3,"ibaraki.osaka.jp":3,"ikeda.osaka.jp":3,"izumi.osaka.jp":3,"izumiotsu.osaka.jp":3,"izumisano.osaka.jp":3,"kadoma.osaka.jp":3,"kaizuka.osaka.jp":3,"kanan.osaka.jp":3,"kashiwara.osaka.jp":3,"katano.osaka.jp":3,"kawachinagano.osaka.jp":3,"kishiwada.osaka.jp":3,"kita.osaka.jp":3,"kumatori.osaka.jp":3,"matsubara.osaka.jp":3,"minato.osaka.jp":3,"minoh.osaka.jp":3,"misaki.osaka.jp":3,"moriguchi.osaka.jp":3,"neyagawa.osaka.jp":3,"nishi.osaka.jp":3,"nose.osaka.jp":3,"osakasayama.osaka.jp":3,"sakai.osaka.jp":3,"sayama.osaka.jp":3,"sennan.osaka.jp":3,"settsu.osaka.jp":3,"shijonawate.osaka.jp":3,"shimamoto.osaka.jp":3,"suita.osaka.jp":3,"tadaoka.osaka.jp":3,"taishi.osaka.jp":3,"tajiri.osaka.jp":3,"takaishi.osaka.jp":3,"takatsuki.osaka.jp":3,"tondabayashi.osaka.jp":3,"toyonaka.osaka.jp":3,"toyono.osaka.jp":3,"yao.osaka.jp":3,"ariake.saga.jp":3,"arita.saga.jp":3,"fukudomi.saga.jp":3,"genkai.saga.jp":3,"hamatama.saga.jp":3,"hizen.saga.jp":3,"imari.saga.jp":3,"kamimine.saga.jp":3,"kanzaki.saga.jp":3,"karatsu.saga.jp":3,"kashima.saga.jp":3,"kitagata.saga.jp":3,"kitahata.saga.jp":3,"kiyama.saga.jp":3,"kouhoku.saga.jp":3,"kyuragi.saga.jp":3,"nishiarita.saga.jp":3,"ogi.saga.jp":3,"omachi.saga.jp":3,"ouchi.saga.jp":3,"saga.saga.jp":3,"shiroishi.saga.jp":3,"taku.saga.jp":3,"tara.saga.jp":3,"tosu.saga.jp":3,"yoshinogari.saga.jp":3,"arakawa.saitama.jp":3,"asaka.saitama.jp":3,"chichibu.saitama.jp":3,"fujimi.saitama.jp":3,"fujimino.saitama.jp":3,"fukaya.saitama.jp":3,"hanno.saitama.jp":3,"hanyu.saitama.jp":3,"hasuda.saitama.jp":3,"hatogaya.saitama.jp":3,"hatoyama.saitama.jp":3,"hidaka.saitama.jp":3,"higashichichibu.saitama.jp":3,"higashimatsuyama.saitama.jp":3,"honjo.saitama.jp":3,"ina.saitama.jp":3,"iruma.saitama.jp":3,"iwatsuki.saitama.jp":3,"kamiizumi.saitama.jp":3,"kamikawa.saitama.jp":3,"kamisato.saitama.jp":3,"kasukabe.saitama.jp":3,"kawagoe.saitama.jp":3,"kawaguchi.saitama.jp":3,"kawajima.saitama.jp":3,"kazo.saitama.jp":3,"kitamoto.saitama.jp":3,"koshigaya.saitama.jp":3,"kounosu.saitama.jp":3,"kuki.saitama.jp":3,"kumagaya.saitama.jp":3,"matsubushi.saitama.jp":3,"minano.saitama.jp":3,"misato.saitama.jp":3,"miyashiro.saitama.jp":3,"miyoshi.saitama.jp":3,"moroyama.saitama.jp":3,"nagatoro.saitama.jp":3,"namegawa.saitama.jp":3,"niiza.saitama.jp":3,"ogano.saitama.jp":3,"ogawa.saitama.jp":3,"ogose.saitama.jp":3,"okegawa.saitama.jp":3,"omiya.saitama.jp":3,"otaki.saitama.jp":3,"ranzan.saitama.jp":3,"ryokami.saitama.jp":3,"saitama.saitama.jp":3,"sakado.saitama.jp":3,"satte.saitama.jp":3,"sayama.saitama.jp":3,"shiki.saitama.jp":3,"shiraoka.saitama.jp":3,"soka.saitama.jp":3,"sugito.saitama.jp":3,"toda.saitama.jp":3,"tokigawa.saitama.jp":3,"tokorozawa.saitama.jp":3,"tsurugashima.saitama.jp":3,"urawa.saitama.jp":3,"warabi.saitama.jp":3,"yashio.saitama.jp":3,"yokoze.saitama.jp":3,"yono.saitama.jp":3,"yorii.saitama.jp":3,"yoshida.saitama.jp":3,"yoshikawa.saitama.jp":3,"yoshimi.saitama.jp":3,"aisho.shiga.jp":3,"gamo.shiga.jp":3,"higashiomi.shiga.jp":3,"hikone.shiga.jp":3,"koka.shiga.jp":3,"konan.shiga.jp":3,"kosei.shiga.jp":3,"koto.shiga.jp":3,"kusatsu.shiga.jp":3,"maibara.shiga.jp":3,"moriyama.shiga.jp":3,"nagahama.shiga.jp":3,"nishiazai.shiga.jp":3,"notogawa.shiga.jp":3,"omihachiman.shiga.jp":3,"otsu.shiga.jp":3,"ritto.shiga.jp":3,"ryuoh.shiga.jp":3,"takashima.shiga.jp":3,"takatsuki.shiga.jp":3,"torahime.shiga.jp":3,"toyosato.shiga.jp":3,"yasu.shiga.jp":3,"akagi.shimane.jp":3,"ama.shimane.jp":3,"gotsu.shimane.jp":3,"hamada.shimane.jp":3,"higashiizumo.shimane.jp":3,"hikawa.shimane.jp":3,"hikimi.shimane.jp":3,"izumo.shimane.jp":3,"kakinoki.shimane.jp":3,"masuda.shimane.jp":3,"matsue.shimane.jp":3,"misato.shimane.jp":3,"nishinoshima.shimane.jp":3,"ohda.shimane.jp":3,"okinoshima.shimane.jp":3,"okuizumo.shimane.jp":3,"shimane.shimane.jp":3,"tamayu.shimane.jp":3,"tsuwano.shimane.jp":3,"unnan.shimane.jp":3,"yakumo.shimane.jp":3,"yasugi.shimane.jp":3,"yatsuka.shimane.jp":3,"arai.shizuoka.jp":3,"atami.shizuoka.jp":3,"fuji.shizuoka.jp":3,"fujieda.shizuoka.jp":3,"fujikawa.shizuoka.jp":3,"fujinomiya.shizuoka.jp":3,"fukuroi.shizuoka.jp":3,"gotemba.shizuoka.jp":3,"haibara.shizuoka.jp":3,"hamamatsu.shizuoka.jp":3,"higashiizu.shizuoka.jp":3,"ito.shizuoka.jp":3,"iwata.shizuoka.jp":3,"izu.shizuoka.jp":3,"izunokuni.shizuoka.jp":3,"kakegawa.shizuoka.jp":3,"kannami.shizuoka.jp":3,"kawanehon.shizuoka.jp":3,"kawazu.shizuoka.jp":3,"kikugawa.shizuoka.jp":3,"kosai.shizuoka.jp":3,"makinohara.shizuoka.jp":3,"matsuzaki.shizuoka.jp":3,"minamiizu.shizuoka.jp":3,"mishima.shizuoka.jp":3,"morimachi.shizuoka.jp":3,"nishiizu.shizuoka.jp":3,"numazu.shizuoka.jp":3,"omaezaki.shizuoka.jp":3,"shimada.shizuoka.jp":3,"shimizu.shizuoka.jp":3,"shimoda.shizuoka.jp":3,"shizuoka.shizuoka.jp":3,"susono.shizuoka.jp":3,"yaizu.shizuoka.jp":3,"yoshida.shizuoka.jp":3,"ashikaga.tochigi.jp":3,"bato.tochigi.jp":3,"haga.tochigi.jp":3,"ichikai.tochigi.jp":3,"iwafune.tochigi.jp":3,"kaminokawa.tochigi.jp":3,"kanuma.tochigi.jp":3,"karasuyama.tochigi.jp":3,"kuroiso.tochigi.jp":3,"mashiko.tochigi.jp":3,"mibu.tochigi.jp":3,"moka.tochigi.jp":3,"motegi.tochigi.jp":3,"nasu.tochigi.jp":3,"nasushiobara.tochigi.jp":3,"nikko.tochigi.jp":3,"nishikata.tochigi.jp":3,"nogi.tochigi.jp":3,"ohira.tochigi.jp":3,"ohtawara.tochigi.jp":3,"oyama.tochigi.jp":3,"sakura.tochigi.jp":3,"sano.tochigi.jp":3,"shimotsuke.tochigi.jp":3,"shioya.tochigi.jp":3,"takanezawa.tochigi.jp":3,"tochigi.tochigi.jp":3,"tsuga.tochigi.jp":3,"ujiie.tochigi.jp":3,"utsunomiya.tochigi.jp":3,"yaita.tochigi.jp":3,"aizumi.tokushima.jp":3,"anan.tokushima.jp":3,"ichiba.tokushima.jp":3,"itano.tokushima.jp":3,"kainan.tokushima.jp":3,"komatsushima.tokushima.jp":3,"matsushige.tokushima.jp":3,"mima.tokushima.jp":3,"minami.tokushima.jp":3,"miyoshi.tokushima.jp":3,"mugi.tokushima.jp":3,"nakagawa.tokushima.jp":3,"naruto.tokushima.jp":3,"sanagochi.tokushima.jp":3,"shishikui.tokushima.jp":3,"tokushima.tokushima.jp":3,"wajiki.tokushima.jp":3,"adachi.tokyo.jp":3,"akiruno.tokyo.jp":3,"akishima.tokyo.jp":3,"aogashima.tokyo.jp":3,"arakawa.tokyo.jp":3,"bunkyo.tokyo.jp":3,"chiyoda.tokyo.jp":3,"chofu.tokyo.jp":3,"chuo.tokyo.jp":3,"edogawa.tokyo.jp":3,"fuchu.tokyo.jp":3,"fussa.tokyo.jp":3,"hachijo.tokyo.jp":3,"hachioji.tokyo.jp":3,"hamura.tokyo.jp":3,"higashikurume.tokyo.jp":3,"higashimurayama.tokyo.jp":3,"higashiyamato.tokyo.jp":3,"hino.tokyo.jp":3,"hinode.tokyo.jp":3,"hinohara.tokyo.jp":3,"inagi.tokyo.jp":3,"itabashi.tokyo.jp":3,"katsushika.tokyo.jp":3,"kita.tokyo.jp":3,"kiyose.tokyo.jp":3,"kodaira.tokyo.jp":3,"koganei.tokyo.jp":3,"kokubunji.tokyo.jp":3,"komae.tokyo.jp":3,"koto.tokyo.jp":3,"kouzushima.tokyo.jp":3,"kunitachi.tokyo.jp":3,"machida.tokyo.jp":3,"meguro.tokyo.jp":3,"minato.tokyo.jp":3,"mitaka.tokyo.jp":3,"mizuho.tokyo.jp":3,"musashimurayama.tokyo.jp":3,"musashino.tokyo.jp":3,"nakano.tokyo.jp":3,"nerima.tokyo.jp":3,"ogasawara.tokyo.jp":3,"okutama.tokyo.jp":3,"ome.tokyo.jp":3,"oshima.tokyo.jp":3,"ota.tokyo.jp":3,"setagaya.tokyo.jp":3,"shibuya.tokyo.jp":3,"shinagawa.tokyo.jp":3,"shinjuku.tokyo.jp":3,"suginami.tokyo.jp":3,"sumida.tokyo.jp":3,"tachikawa.tokyo.jp":3,"taito.tokyo.jp":3,"tama.tokyo.jp":3,"toshima.tokyo.jp":3,"chizu.tottori.jp":3,"hino.tottori.jp":3,"kawahara.tottori.jp":3,"koge.tottori.jp":3,"kotoura.tottori.jp":3,"misasa.tottori.jp":3,"nanbu.tottori.jp":3,"nichinan.tottori.jp":3,"sakaiminato.tottori.jp":3,"tottori.tottori.jp":3,"wakasa.tottori.jp":3,"yazu.tottori.jp":3,"yonago.tottori.jp":3,"asahi.toyama.jp":3,"fuchu.toyama.jp":3,"fukumitsu.toyama.jp":3,"funahashi.toyama.jp":3,"himi.toyama.jp":3,"imizu.toyama.jp":3,"inami.toyama.jp":3,"johana.toyama.jp":3,"kamiichi.toyama.jp":3,"kurobe.toyama.jp":3,"nakaniikawa.toyama.jp":3,"namerikawa.toyama.jp":3,"nanto.toyama.jp":3,"nyuzen.toyama.jp":3,"oyabe.toyama.jp":3,"taira.toyama.jp":3,"takaoka.toyama.jp":3,"tateyama.toyama.jp":3,"toga.toyama.jp":3,"tonami.toyama.jp":3,"toyama.toyama.jp":3,"unazuki.toyama.jp":3,"uozu.toyama.jp":3,"yamada.toyama.jp":3,"arida.wakayama.jp":3,"aridagawa.wakayama.jp":3,"gobo.wakayama.jp":3,"hashimoto.wakayama.jp":3,"hidaka.wakayama.jp":3,"hirogawa.wakayama.jp":3,"inami.wakayama.jp":3,"iwade.wakayama.jp":3,"kainan.wakayama.jp":3,"kamitonda.wakayama.jp":3,"katsuragi.wakayama.jp":3,"kimino.wakayama.jp":3,"kinokawa.wakayama.jp":3,"kitayama.wakayama.jp":3,"koya.wakayama.jp":3,"koza.wakayama.jp":3,"kozagawa.wakayama.jp":3,"kudoyama.wakayama.jp":3,"kushimoto.wakayama.jp":3,"mihama.wakayama.jp":3,"misato.wakayama.jp":3,"nachikatsuura.wakayama.jp":3,"shingu.wakayama.jp":3,"shirahama.wakayama.jp":3,"taiji.wakayama.jp":3,"tanabe.wakayama.jp":3,"wakayama.wakayama.jp":3,"yuasa.wakayama.jp":3,"yura.wakayama.jp":3,"asahi.yamagata.jp":3,"funagata.yamagata.jp":3,"higashine.yamagata.jp":3,"iide.yamagata.jp":3,"kahoku.yamagata.jp":3,"kaminoyama.yamagata.jp":3,"kaneyama.yamagata.jp":3,"kawanishi.yamagata.jp":3,"mamurogawa.yamagata.jp":3,"mikawa.yamagata.jp":3,"murayama.yamagata.jp":3,"nagai.yamagata.jp":3,"nakayama.yamagata.jp":3,"nanyo.yamagata.jp":3,"nishikawa.yamagata.jp":3,"obanazawa.yamagata.jp":3,"oe.yamagata.jp":3,"oguni.yamagata.jp":3,"ohkura.yamagata.jp":3,"oishida.yamagata.jp":3,"sagae.yamagata.jp":3,"sakata.yamagata.jp":3,"sakegawa.yamagata.jp":3,"shinjo.yamagata.jp":3,"shirataka.yamagata.jp":3,"shonai.yamagata.jp":3,"takahata.yamagata.jp":3,"tendo.yamagata.jp":3,"tozawa.yamagata.jp":3,"tsuruoka.yamagata.jp":3,"yamagata.yamagata.jp":3,"yamanobe.yamagata.jp":3,"yonezawa.yamagata.jp":3,"yuza.yamagata.jp":3,"abu.yamaguchi.jp":3,"hagi.yamaguchi.jp":3,"hikari.yamaguchi.jp":3,"hofu.yamaguchi.jp":3,"iwakuni.yamaguchi.jp":3,"kudamatsu.yamaguchi.jp":3,"mitou.yamaguchi.jp":3,"nagato.yamaguchi.jp":3,"oshima.yamaguchi.jp":3,"shimonoseki.yamaguchi.jp":3,"shunan.yamaguchi.jp":3,"tabuse.yamaguchi.jp":3,"tokuyama.yamaguchi.jp":3,"toyota.yamaguchi.jp":3,"ube.yamaguchi.jp":3,"yuu.yamaguchi.jp":3,"chuo.yamanashi.jp":3,"doshi.yamanashi.jp":3,"fuefuki.yamanashi.jp":3,"fujikawa.yamanashi.jp":3,"fujikawaguchiko.yamanashi.jp":3,"fujiyoshida.yamanashi.jp":3,"hayakawa.yamanashi.jp":3,"hokuto.yamanashi.jp":3,"ichikawamisato.yamanashi.jp":3,"kai.yamanashi.jp":3,"kofu.yamanashi.jp":3,"koshu.yamanashi.jp":3,"kosuge.yamanashi.jp":3,"minami-alps.yamanashi.jp":3,"minobu.yamanashi.jp":3,"nakamichi.yamanashi.jp":3,"nanbu.yamanashi.jp":3,"narusawa.yamanashi.jp":3,"nirasaki.yamanashi.jp":3,"nishikatsura.yamanashi.jp":3,"oshino.yamanashi.jp":3,"otsuki.yamanashi.jp":3,"showa.yamanashi.jp":3,"tabayama.yamanashi.jp":3,"tsuru.yamanashi.jp":3,"uenohara.yamanashi.jp":3,"yamanakako.yamanashi.jp":3,"yamanashi.yamanashi.jp":3,"ke":1,"ac.ke":2,"co.ke":2,"go.ke":2,"info.ke":2,"me.ke":2,"mobi.ke":2,"ne.ke":2,"or.ke":2,"sc.ke":2,"kg":1,"org.kg":2,"net.kg":2,"com.kg":2,"edu.kg":2,"gov.kg":2,"mil.kg":2,"kh":2,"ki":1,"edu.ki":2,"biz.ki":2,"net.ki":2,"org.ki":2,"gov.ki":2,"info.ki":2,"com.ki":2,"km":1,"org.km":2,"nom.km":2,"gov.km":2,"prd.km":2,"tm.km":2,"edu.km":2,"mil.km":2,"ass.km":2,"com.km":2,"coop.km":2,"asso.km":2,"presse.km":2,"medecin.km":2,"notaires.km":2,"pharmaciens.km":2,"veterinaire.km":2,"gouv.km":2,"kn":1,"net.kn":2,"org.kn":2,"edu.kn":2,"gov.kn":2,"kp":1,"com.kp":2,"edu.kp":2,"gov.kp":2,"org.kp":2,"rep.kp":2,"tra.kp":2,"kr":1,"ac.kr":2,"co.kr":2,"es.kr":2,"go.kr":2,"hs.kr":2,"kg.kr":2,"mil.kr":2,"ms.kr":2,"ne.kr":2,"or.kr":2,"pe.kr":2,"re.kr":2,"sc.kr":2,"busan.kr":2,"chungbuk.kr":2,"chungnam.kr":2,"daegu.kr":2,"daejeon.kr":2,"gangwon.kr":2,"gwangju.kr":2,"gyeongbuk.kr":2,"gyeonggi.kr":2,"gyeongnam.kr":2,"incheon.kr":2,"jeju.kr":2,"jeonbuk.kr":2,"jeonnam.kr":2,"seoul.kr":2,"ulsan.kr":2,"kw":1,"com.kw":2,"edu.kw":2,"emb.kw":2,"gov.kw":2,"ind.kw":2,"net.kw":2,"org.kw":2,"ky":1,"com.ky":2,"edu.ky":2,"net.ky":2,"org.ky":2,"kz":1,"org.kz":2,"edu.kz":2,"net.kz":2,"gov.kz":2,"mil.kz":2,"com.kz":2,"la":1,"int.la":2,"net.la":2,"info.la":2,"edu.la":2,"gov.la":2,"per.la":2,"com.la":2,"org.la":2,"lb":1,"com.lb":2,"edu.lb":2,"gov.lb":2,"net.lb":2,"org.lb":2,"lc":1,"com.lc":2,"net.lc":2,"co.lc":2,"org.lc":2,"edu.lc":2,"gov.lc":2,"li":1,"lk":1,"gov.lk":2,"sch.lk":2,"net.lk":2,"int.lk":2,"com.lk":2,"org.lk":2,"edu.lk":2,"ngo.lk":2,"soc.lk":2,"web.lk":2,"ltd.lk":2,"assn.lk":2,"grp.lk":2,"hotel.lk":2,"ac.lk":2,"lr":1,"com.lr":2,"edu.lr":2,"gov.lr":2,"org.lr":2,"net.lr":2,"ls":1,"ac.ls":2,"biz.ls":2,"co.ls":2,"edu.ls":2,"gov.ls":2,"info.ls":2,"net.ls":2,"org.ls":2,"sc.ls":2,"lt":1,"gov.lt":2,"lu":1,"lv":1,"com.lv":2,"edu.lv":2,"gov.lv":2,"org.lv":2,"mil.lv":2,"id.lv":2,"net.lv":2,"asn.lv":2,"conf.lv":2,"ly":1,"com.ly":2,"net.ly":2,"gov.ly":2,"plc.ly":2,"edu.ly":2,"sch.ly":2,"med.ly":2,"org.ly":2,"id.ly":2,"ma":1,"co.ma":2,"net.ma":2,"gov.ma":2,"org.ma":2,"ac.ma":2,"press.ma":2,"mc":1,"tm.mc":2,"asso.mc":2,"md":1,"me":1,"co.me":2,"net.me":2,"org.me":2,"edu.me":2,"ac.me":2,"gov.me":2,"its.me":2,"priv.me":2,"mg":1,"org.mg":2,"nom.mg":2,"gov.mg":2,"prd.mg":2,"tm.mg":2,"edu.mg":2,"mil.mg":2,"com.mg":2,"co.mg":2,"mh":1,"mil":1,"mk":1,"com.mk":2,"org.mk":2,"net.mk":2,"edu.mk":2,"gov.mk":2,"inf.mk":2,"name.mk":2,"ml":1,"com.ml":2,"edu.ml":2,"gouv.ml":2,"gov.ml":2,"net.ml":2,"org.ml":2,"presse.ml":2,"mm":2,"mn":1,"gov.mn":2,"edu.mn":2,"org.mn":2,"mo":1,"com.mo":2,"net.mo":2,"org.mo":2,"edu.mo":2,"gov.mo":2,"mobi":1,"mp":1,"mq":1,"mr":1,"gov.mr":2,"ms":1,"com.ms":2,"edu.ms":2,"gov.ms":2,"net.ms":2,"org.ms":2,"mt":1,"com.mt":2,"edu.mt":2,"net.mt":2,"org.mt":2,"mu":1,"com.mu":2,"net.mu":2,"org.mu":2,"gov.mu":2,"ac.mu":2,"co.mu":2,"or.mu":2,"museum":1,"academy.museum":2,"agriculture.museum":2,"air.museum":2,"airguard.museum":2,"alabama.museum":2,"alaska.museum":2,"amber.museum":2,"ambulance.museum":2,"american.museum":2,"americana.museum":2,"americanantiques.museum":2,"americanart.museum":2,"amsterdam.museum":2,"and.museum":2,"annefrank.museum":2,"anthro.museum":2,"anthropology.museum":2,"antiques.museum":2,"aquarium.museum":2,"arboretum.museum":2,"archaeological.museum":2,"archaeology.museum":2,"architecture.museum":2,"art.museum":2,"artanddesign.museum":2,"artcenter.museum":2,"artdeco.museum":2,"arteducation.museum":2,"artgallery.museum":2,"arts.museum":2,"artsandcrafts.museum":2,"asmatart.museum":2,"assassination.museum":2,"assisi.museum":2,"association.museum":2,"astronomy.museum":2,"atlanta.museum":2,"austin.museum":2,"australia.museum":2,"automotive.museum":2,"aviation.museum":2,"axis.museum":2,"badajoz.museum":2,"baghdad.museum":2,"bahn.museum":2,"bale.museum":2,"baltimore.museum":2,"barcelona.museum":2,"baseball.museum":2,"basel.museum":2,"baths.museum":2,"bauern.museum":2,"beauxarts.museum":2,"beeldengeluid.museum":2,"bellevue.museum":2,"bergbau.museum":2,"berkeley.museum":2,"berlin.museum":2,"bern.museum":2,"bible.museum":2,"bilbao.museum":2,"bill.museum":2,"birdart.museum":2,"birthplace.museum":2,"bonn.museum":2,"boston.museum":2,"botanical.museum":2,"botanicalgarden.museum":2,"botanicgarden.museum":2,"botany.museum":2,"brandywinevalley.museum":2,"brasil.museum":2,"bristol.museum":2,"british.museum":2,"britishcolumbia.museum":2,"broadcast.museum":2,"brunel.museum":2,"brussel.museum":2,"brussels.museum":2,"bruxelles.museum":2,"building.museum":2,"burghof.museum":2,"bus.museum":2,"bushey.museum":2,"cadaques.museum":2,"california.museum":2,"cambridge.museum":2,"can.museum":2,"canada.museum":2,"capebreton.museum":2,"carrier.museum":2,"cartoonart.museum":2,"casadelamoneda.museum":2,"castle.museum":2,"castres.museum":2,"celtic.museum":2,"center.museum":2,"chattanooga.museum":2,"cheltenham.museum":2,"chesapeakebay.museum":2,"chicago.museum":2,"children.museum":2,"childrens.museum":2,"childrensgarden.museum":2,"chiropractic.museum":2,"chocolate.museum":2,"christiansburg.museum":2,"cincinnati.museum":2,"cinema.museum":2,"circus.museum":2,"civilisation.museum":2,"civilization.museum":2,"civilwar.museum":2,"clinton.museum":2,"clock.museum":2,"coal.museum":2,"coastaldefence.museum":2,"cody.museum":2,"coldwar.museum":2,"collection.museum":2,"colonialwilliamsburg.museum":2,"coloradoplateau.museum":2,"columbia.museum":2,"columbus.museum":2,"communication.museum":2,"communications.museum":2,"community.museum":2,"computer.museum":2,"computerhistory.museum":2,"comunica\xe7\xf5es.museum":2,"contemporary.museum":2,"contemporaryart.museum":2,"convent.museum":2,"copenhagen.museum":2,"corporation.museum":2,"correios-e-telecomunica\xe7\xf5es.museum":2,"corvette.museum":2,"costume.museum":2,"countryestate.museum":2,"county.museum":2,"crafts.museum":2,"cranbrook.museum":2,"creation.museum":2,"cultural.museum":2,"culturalcenter.museum":2,"culture.museum":2,"cyber.museum":2,"cymru.museum":2,"dali.museum":2,"dallas.museum":2,"database.museum":2,"ddr.museum":2,"decorativearts.museum":2,"delaware.museum":2,"delmenhorst.museum":2,"denmark.museum":2,"depot.museum":2,"design.museum":2,"detroit.museum":2,"dinosaur.museum":2,"discovery.museum":2,"dolls.museum":2,"donostia.museum":2,"durham.museum":2,"eastafrica.museum":2,"eastcoast.museum":2,"education.museum":2,"educational.museum":2,"egyptian.museum":2,"eisenbahn.museum":2,"elburg.museum":2,"elvendrell.museum":2,"embroidery.museum":2,"encyclopedic.museum":2,"england.museum":2,"entomology.museum":2,"environment.museum":2,"environmentalconservation.museum":2,"epilepsy.museum":2,"essex.museum":2,"estate.museum":2,"ethnology.museum":2,"exeter.museum":2,"exhibition.museum":2,"family.museum":2,"farm.museum":2,"farmequipment.museum":2,"farmers.museum":2,"farmstead.museum":2,"field.museum":2,"figueres.museum":2,"filatelia.museum":2,"film.museum":2,"fineart.museum":2,"finearts.museum":2,"finland.museum":2,"flanders.museum":2,"florida.museum":2,"force.museum":2,"fortmissoula.museum":2,"fortworth.museum":2,"foundation.museum":2,"francaise.museum":2,"frankfurt.museum":2,"franziskaner.museum":2,"freemasonry.museum":2,"freiburg.museum":2,"fribourg.museum":2,"frog.museum":2,"fundacio.museum":2,"furniture.museum":2,"gallery.museum":2,"garden.museum":2,"gateway.museum":2,"geelvinck.museum":2,"gemological.museum":2,"geology.museum":2,"georgia.museum":2,"giessen.museum":2,"glas.museum":2,"glass.museum":2,"gorge.museum":2,"grandrapids.museum":2,"graz.museum":2,"guernsey.museum":2,"halloffame.museum":2,"hamburg.museum":2,"handson.museum":2,"harvestcelebration.museum":2,"hawaii.museum":2,"health.museum":2,"heimatunduhren.museum":2,"hellas.museum":2,"helsinki.museum":2,"hembygdsforbund.museum":2,"heritage.museum":2,"histoire.museum":2,"historical.museum":2,"historicalsociety.museum":2,"historichouses.museum":2,"historisch.museum":2,"historisches.museum":2,"history.museum":2,"historyofscience.museum":2,"horology.museum":2,"house.museum":2,"humanities.museum":2,"illustration.museum":2,"imageandsound.museum":2,"indian.museum":2,"indiana.museum":2,"indianapolis.museum":2,"indianmarket.museum":2,"intelligence.museum":2,"interactive.museum":2,"iraq.museum":2,"iron.museum":2,"isleofman.museum":2,"jamison.museum":2,"jefferson.museum":2,"jerusalem.museum":2,"jewelry.museum":2,"jewish.museum":2,"jewishart.museum":2,"jfk.museum":2,"journalism.museum":2,"judaica.museum":2,"judygarland.museum":2,"juedisches.museum":2,"juif.museum":2,"karate.museum":2,"karikatur.museum":2,"kids.museum":2,"koebenhavn.museum":2,"koeln.museum":2,"kunst.museum":2,"kunstsammlung.museum":2,"kunstunddesign.museum":2,"labor.museum":2,"labour.museum":2,"lajolla.museum":2,"lancashire.museum":2,"landes.museum":2,"lans.museum":2,"l\xe4ns.museum":2,"larsson.museum":2,"lewismiller.museum":2,"lincoln.museum":2,"linz.museum":2,"living.museum":2,"livinghistory.museum":2,"localhistory.museum":2,"london.museum":2,"losangeles.museum":2,"louvre.museum":2,"loyalist.museum":2,"lucerne.museum":2,"luxembourg.museum":2,"luzern.museum":2,"mad.museum":2,"madrid.museum":2,"mallorca.museum":2,"manchester.museum":2,"mansion.museum":2,"mansions.museum":2,"manx.museum":2,"marburg.museum":2,"maritime.museum":2,"maritimo.museum":2,"maryland.museum":2,"marylhurst.museum":2,"media.museum":2,"medical.museum":2,"medizinhistorisches.museum":2,"meeres.museum":2,"memorial.museum":2,"mesaverde.museum":2,"michigan.museum":2,"midatlantic.museum":2,"military.museum":2,"mill.museum":2,"miners.museum":2,"mining.museum":2,"minnesota.museum":2,"missile.museum":2,"missoula.museum":2,"modern.museum":2,"moma.museum":2,"money.museum":2,"monmouth.museum":2,"monticello.museum":2,"montreal.museum":2,"moscow.museum":2,"motorcycle.museum":2,"muenchen.museum":2,"muenster.museum":2,"mulhouse.museum":2,"muncie.museum":2,"museet.museum":2,"museumcenter.museum":2,"museumvereniging.museum":2,"music.museum":2,"national.museum":2,"nationalfirearms.museum":2,"nationalheritage.museum":2,"nativeamerican.museum":2,"naturalhistory.museum":2,"naturalhistorymuseum.museum":2,"naturalsciences.museum":2,"nature.museum":2,"naturhistorisches.museum":2,"natuurwetenschappen.museum":2,"naumburg.museum":2,"naval.museum":2,"nebraska.museum":2,"neues.museum":2,"newhampshire.museum":2,"newjersey.museum":2,"newmexico.museum":2,"newport.museum":2,"newspaper.museum":2,"newyork.museum":2,"niepce.museum":2,"norfolk.museum":2,"north.museum":2,"nrw.museum":2,"nyc.museum":2,"nyny.museum":2,"oceanographic.museum":2,"oceanographique.museum":2,"omaha.museum":2,"online.museum":2,"ontario.museum":2,"openair.museum":2,"oregon.museum":2,"oregontrail.museum":2,"otago.museum":2,"oxford.museum":2,"pacific.museum":2,"paderborn.museum":2,"palace.museum":2,"paleo.museum":2,"palmsprings.museum":2,"panama.museum":2,"paris.museum":2,"pasadena.museum":2,"pharmacy.museum":2,"philadelphia.museum":2,"philadelphiaarea.museum":2,"philately.museum":2,"phoenix.museum":2,"photography.museum":2,"pilots.museum":2,"pittsburgh.museum":2,"planetarium.museum":2,"plantation.museum":2,"plants.museum":2,"plaza.museum":2,"portal.museum":2,"portland.museum":2,"portlligat.museum":2,"posts-and-telecommunications.museum":2,"preservation.museum":2,"presidio.museum":2,"press.museum":2,"project.museum":2,"public.museum":2,"pubol.museum":2,"quebec.museum":2,"railroad.museum":2,"railway.museum":2,"research.museum":2,"resistance.museum":2,"riodejaneiro.museum":2,"rochester.museum":2,"rockart.museum":2,"roma.museum":2,"russia.museum":2,"saintlouis.museum":2,"salem.museum":2,"salvadordali.museum":2,"salzburg.museum":2,"sandiego.museum":2,"sanfrancisco.museum":2,"santabarbara.museum":2,"santacruz.museum":2,"santafe.museum":2,"saskatchewan.museum":2,"satx.museum":2,"savannahga.museum":2,"schlesisches.museum":2,"schoenbrunn.museum":2,"schokoladen.museum":2,"school.museum":2,"schweiz.museum":2,"science.museum":2,"scienceandhistory.museum":2,"scienceandindustry.museum":2,"sciencecenter.museum":2,"sciencecenters.museum":2,"science-fiction.museum":2,"sciencehistory.museum":2,"sciences.museum":2,"sciencesnaturelles.museum":2,"scotland.museum":2,"seaport.museum":2,"settlement.museum":2,"settlers.museum":2,"shell.museum":2,"sherbrooke.museum":2,"sibenik.museum":2,"silk.museum":2,"ski.museum":2,"skole.museum":2,"society.museum":2,"sologne.museum":2,"soundandvision.museum":2,"southcarolina.museum":2,"southwest.museum":2,"space.museum":2,"spy.museum":2,"square.museum":2,"stadt.museum":2,"stalbans.museum":2,"starnberg.museum":2,"state.museum":2,"stateofdelaware.museum":2,"station.museum":2,"steam.museum":2,"steiermark.museum":2,"stjohn.museum":2,"stockholm.museum":2,"stpetersburg.museum":2,"stuttgart.museum":2,"suisse.museum":2,"surgeonshall.museum":2,"surrey.museum":2,"svizzera.museum":2,"sweden.museum":2,"sydney.museum":2,"tank.museum":2,"tcm.museum":2,"technology.museum":2,"telekommunikation.museum":2,"television.museum":2,"texas.museum":2,"textile.museum":2,"theater.museum":2,"time.museum":2,"timekeeping.museum":2,"topology.museum":2,"torino.museum":2,"touch.museum":2,"town.museum":2,"transport.museum":2,"tree.museum":2,"trolley.museum":2,"trust.museum":2,"trustee.museum":2,"uhren.museum":2,"ulm.museum":2,"undersea.museum":2,"university.museum":2,"usa.museum":2,"usantiques.museum":2,"usarts.museum":2,"uscountryestate.museum":2,"usculture.museum":2,"usdecorativearts.museum":2,"usgarden.museum":2,"ushistory.museum":2,"ushuaia.museum":2,"uslivinghistory.museum":2,"utah.museum":2,"uvic.museum":2,"valley.museum":2,"vantaa.museum":2,"versailles.museum":2,"viking.museum":2,"village.museum":2,"virginia.museum":2,"virtual.museum":2,"virtuel.museum":2,"vlaanderen.museum":2,"volkenkunde.museum":2,"wales.museum":2,"wallonie.museum":2,"war.museum":2,"washingtondc.museum":2,"watchandclock.museum":2,"watch-and-clock.museum":2,"western.museum":2,"westfalen.museum":2,"whaling.museum":2,"wildlife.museum":2,"williamsburg.museum":2,"windmill.museum":2,"workshop.museum":2,"york.museum":2,"yorkshire.museum":2,"yosemite.museum":2,"youth.museum":2,"zoological.museum":2,"zoology.museum":2,"ירושלים.museum":2,"иком.museum":2,"mv":1,"aero.mv":2,"biz.mv":2,"com.mv":2,"coop.mv":2,"edu.mv":2,"gov.mv":2,"info.mv":2,"int.mv":2,"mil.mv":2,"museum.mv":2,"name.mv":2,"net.mv":2,"org.mv":2,"pro.mv":2,"mw":1,"ac.mw":2,"biz.mw":2,"co.mw":2,"com.mw":2,"coop.mw":2,"edu.mw":2,"gov.mw":2,"int.mw":2,"museum.mw":2,"net.mw":2,"org.mw":2,"mx":1,"com.mx":2,"org.mx":2,"gob.mx":2,"edu.mx":2,"net.mx":2,"my":1,"biz.my":2,"com.my":2,"edu.my":2,"gov.my":2,"mil.my":2,"name.my":2,"net.my":2,"org.my":2,"mz":1,"ac.mz":2,"adv.mz":2,"co.mz":2,"edu.mz":2,"gov.mz":2,"mil.mz":2,"net.mz":2,"org.mz":2,"na":1,"info.na":2,"pro.na":2,"name.na":2,"school.na":2,"or.na":2,"dr.na":2,"us.na":2,"mx.na":2,"ca.na":2,"in.na":2,"cc.na":2,"tv.na":2,"ws.na":2,"mobi.na":2,"co.na":2,"com.na":2,"org.na":2,"name":1,"nc":1,"asso.nc":2,"nom.nc":2,"ne":1,"net":1,"nf":1,"com.nf":2,"net.nf":2,"per.nf":2,"rec.nf":2,"web.nf":2,"arts.nf":2,"firm.nf":2,"info.nf":2,"other.nf":2,"store.nf":2,"ng":1,"com.ng":2,"edu.ng":2,"gov.ng":2,"i.ng":2,"mil.ng":2,"mobi.ng":2,"name.ng":2,"net.ng":2,"org.ng":2,"sch.ng":2,"ni":1,"ac.ni":2,"biz.ni":2,"co.ni":2,"com.ni":2,"edu.ni":2,"gob.ni":2,"in.ni":2,"info.ni":2,"int.ni":2,"mil.ni":2,"net.ni":2,"nom.ni":2,"org.ni":2,"web.ni":2,"nl":1,"no":1,"fhs.no":2,"vgs.no":2,"fylkesbibl.no":2,"folkebibl.no":2,"museum.no":2,"idrett.no":2,"priv.no":2,"mil.no":2,"stat.no":2,"dep.no":2,"kommune.no":2,"herad.no":2,"aa.no":2,"ah.no":2,"bu.no":2,"fm.no":2,"hl.no":2,"hm.no":2,"jan-mayen.no":2,"mr.no":2,"nl.no":2,"nt.no":2,"of.no":2,"ol.no":2,"oslo.no":2,"rl.no":2,"sf.no":2,"st.no":2,"svalbard.no":2,"tm.no":2,"tr.no":2,"va.no":2,"vf.no":2,"gs.aa.no":3,"gs.ah.no":3,"gs.bu.no":3,"gs.fm.no":3,"gs.hl.no":3,"gs.hm.no":3,"gs.jan-mayen.no":3,"gs.mr.no":3,"gs.nl.no":3,"gs.nt.no":3,"gs.of.no":3,"gs.ol.no":3,"gs.oslo.no":3,"gs.rl.no":3,"gs.sf.no":3,"gs.st.no":3,"gs.svalbard.no":3,"gs.tm.no":3,"gs.tr.no":3,"gs.va.no":3,"gs.vf.no":3,"akrehamn.no":2,"\xe5krehamn.no":2,"algard.no":2,"\xe5lg\xe5rd.no":2,"arna.no":2,"brumunddal.no":2,"bryne.no":2,"bronnoysund.no":2,"br\xf8nn\xf8ysund.no":2,"drobak.no":2,"dr\xf8bak.no":2,"egersund.no":2,"fetsund.no":2,"floro.no":2,"flor\xf8.no":2,"fredrikstad.no":2,"hokksund.no":2,"honefoss.no":2,"h\xf8nefoss.no":2,"jessheim.no":2,"jorpeland.no":2,"j\xf8rpeland.no":2,"kirkenes.no":2,"kopervik.no":2,"krokstadelva.no":2,"langevag.no":2,"langev\xe5g.no":2,"leirvik.no":2,"mjondalen.no":2,"mj\xf8ndalen.no":2,"mo-i-rana.no":2,"mosjoen.no":2,"mosj\xf8en.no":2,"nesoddtangen.no":2,"orkanger.no":2,"osoyro.no":2,"os\xf8yro.no":2,"raholt.no":2,"r\xe5holt.no":2,"sandnessjoen.no":2,"sandnessj\xf8en.no":2,"skedsmokorset.no":2,"slattum.no":2,"spjelkavik.no":2,"stathelle.no":2,"stavern.no":2,"stjordalshalsen.no":2,"stj\xf8rdalshalsen.no":2,"tananger.no":2,"tranby.no":2,"vossevangen.no":2,"afjord.no":2,"\xe5fjord.no":2,"agdenes.no":2,"al.no":2,"\xe5l.no":2,"alesund.no":2,"\xe5lesund.no":2,"alstahaug.no":2,"alta.no":2,"\xe1lt\xe1.no":2,"alaheadju.no":2,"\xe1laheadju.no":2,"alvdal.no":2,"amli.no":2,"\xe5mli.no":2,"amot.no":2,"\xe5mot.no":2,"andebu.no":2,"andoy.no":2,"and\xf8y.no":2,"andasuolo.no":2,"ardal.no":2,"\xe5rdal.no":2,"aremark.no":2,"arendal.no":2,"\xe5s.no":2,"aseral.no":2,"\xe5seral.no":2,"asker.no":2,"askim.no":2,"askvoll.no":2,"askoy.no":2,"ask\xf8y.no":2,"asnes.no":2,"\xe5snes.no":2,"audnedaln.no":2,"aukra.no":2,"aure.no":2,"aurland.no":2,"aurskog-holand.no":2,"aurskog-h\xf8land.no":2,"austevoll.no":2,"austrheim.no":2,"averoy.no":2,"aver\xf8y.no":2,"balestrand.no":2,"ballangen.no":2,"balat.no":2,"b\xe1l\xe1t.no":2,"balsfjord.no":2,"bahccavuotna.no":2,"b\xe1hccavuotna.no":2,"bamble.no":2,"bardu.no":2,"beardu.no":2,"beiarn.no":2,"bajddar.no":2,"b\xe1jddar.no":2,"baidar.no":2,"b\xe1id\xe1r.no":2,"berg.no":2,"bergen.no":2,"berlevag.no":2,"berlev\xe5g.no":2,"bearalvahki.no":2,"bearalv\xe1hki.no":2,"bindal.no":2,"birkenes.no":2,"bjarkoy.no":2,"bjark\xf8y.no":2,"bjerkreim.no":2,"bjugn.no":2,"bodo.no":2,"bod\xf8.no":2,"badaddja.no":2,"b\xe5d\xe5ddj\xe5.no":2,"budejju.no":2,"bokn.no":2,"bremanger.no":2,"bronnoy.no":2,"br\xf8nn\xf8y.no":2,"bygland.no":2,"bykle.no":2,"barum.no":2,"b\xe6rum.no":2,"bo.telemark.no":3,"b\xf8.telemark.no":3,"bo.nordland.no":3,"b\xf8.nordland.no":3,"bievat.no":2,"biev\xe1t.no":2,"bomlo.no":2,"b\xf8mlo.no":2,"batsfjord.no":2,"b\xe5tsfjord.no":2,"bahcavuotna.no":2,"b\xe1hcavuotna.no":2,"dovre.no":2,"drammen.no":2,"drangedal.no":2,"dyroy.no":2,"dyr\xf8y.no":2,"donna.no":2,"d\xf8nna.no":2,"eid.no":2,"eidfjord.no":2,"eidsberg.no":2,"eidskog.no":2,"eidsvoll.no":2,"eigersund.no":2,"elverum.no":2,"enebakk.no":2,"engerdal.no":2,"etne.no":2,"etnedal.no":2,"evenes.no":2,"evenassi.no":2,"even\xe1šši.no":2,"evje-og-hornnes.no":2,"farsund.no":2,"fauske.no":2,"fuossko.no":2,"fuoisku.no":2,"fedje.no":2,"fet.no":2,"finnoy.no":2,"finn\xf8y.no":2,"fitjar.no":2,"fjaler.no":2,"fjell.no":2,"flakstad.no":2,"flatanger.no":2,"flekkefjord.no":2,"flesberg.no":2,"flora.no":2,"fla.no":2,"fl\xe5.no":2,"folldal.no":2,"forsand.no":2,"fosnes.no":2,"frei.no":2,"frogn.no":2,"froland.no":2,"frosta.no":2,"frana.no":2,"fr\xe6na.no":2,"froya.no":2,"fr\xf8ya.no":2,"fusa.no":2,"fyresdal.no":2,"forde.no":2,"f\xf8rde.no":2,"gamvik.no":2,"gangaviika.no":2,"g\xe1ŋgaviika.no":2,"gaular.no":2,"gausdal.no":2,"gildeskal.no":2,"gildesk\xe5l.no":2,"giske.no":2,"gjemnes.no":2,"gjerdrum.no":2,"gjerstad.no":2,"gjesdal.no":2,"gjovik.no":2,"gj\xf8vik.no":2,"gloppen.no":2,"gol.no":2,"gran.no":2,"grane.no":2,"granvin.no":2,"gratangen.no":2,"grimstad.no":2,"grong.no":2,"kraanghke.no":2,"kr\xe5anghke.no":2,"grue.no":2,"gulen.no":2,"hadsel.no":2,"halden.no":2,"halsa.no":2,"hamar.no":2,"hamaroy.no":2,"habmer.no":2,"h\xe1bmer.no":2,"hapmir.no":2,"h\xe1pmir.no":2,"hammerfest.no":2,"hammarfeasta.no":2,"h\xe1mm\xe1rfeasta.no":2,"haram.no":2,"hareid.no":2,"harstad.no":2,"hasvik.no":2,"aknoluokta.no":2,"\xe1kŋoluokta.no":2,"hattfjelldal.no":2,"aarborte.no":2,"haugesund.no":2,"hemne.no":2,"hemnes.no":2,"hemsedal.no":2,"heroy.more-og-romsdal.no":3,"her\xf8y.m\xf8re-og-romsdal.no":3,"heroy.nordland.no":3,"her\xf8y.nordland.no":3,"hitra.no":2,"hjartdal.no":2,"hjelmeland.no":2,"hobol.no":2,"hob\xf8l.no":2,"hof.no":2,"hol.no":2,"hole.no":2,"holmestrand.no":2,"holtalen.no":2,"holt\xe5len.no":2,"hornindal.no":2,"horten.no":2,"hurdal.no":2,"hurum.no":2,"hvaler.no":2,"hyllestad.no":2,"hagebostad.no":2,"h\xe6gebostad.no":2,"hoyanger.no":2,"h\xf8yanger.no":2,"hoylandet.no":2,"h\xf8ylandet.no":2,"ha.no":2,"h\xe5.no":2,"ibestad.no":2,"inderoy.no":2,"inder\xf8y.no":2,"iveland.no":2,"jevnaker.no":2,"jondal.no":2,"jolster.no":2,"j\xf8lster.no":2,"karasjok.no":2,"karasjohka.no":2,"k\xe1r\xe1šjohka.no":2,"karlsoy.no":2,"galsa.no":2,"g\xe1ls\xe1.no":2,"karmoy.no":2,"karm\xf8y.no":2,"kautokeino.no":2,"guovdageaidnu.no":2,"klepp.no":2,"klabu.no":2,"kl\xe6bu.no":2,"kongsberg.no":2,"kongsvinger.no":2,"kragero.no":2,"krager\xf8.no":2,"kristiansand.no":2,"kristiansund.no":2,"krodsherad.no":2,"kr\xf8dsherad.no":2,"kvalsund.no":2,"rahkkeravju.no":2,"r\xe1hkker\xe1vju.no":2,"kvam.no":2,"kvinesdal.no":2,"kvinnherad.no":2,"kviteseid.no":2,"kvitsoy.no":2,"kvits\xf8y.no":2,"kvafjord.no":2,"kv\xe6fjord.no":2,"giehtavuoatna.no":2,"kvanangen.no":2,"kv\xe6nangen.no":2,"navuotna.no":2,"n\xe1vuotna.no":2,"kafjord.no":2,"k\xe5fjord.no":2,"gaivuotna.no":2,"g\xe1ivuotna.no":2,"larvik.no":2,"lavangen.no":2,"lavagis.no":2,"loabat.no":2,"loab\xe1t.no":2,"lebesby.no":2,"davvesiida.no":2,"leikanger.no":2,"leirfjord.no":2,"leka.no":2,"leksvik.no":2,"lenvik.no":2,"leangaviika.no":2,"leaŋgaviika.no":2,"lesja.no":2,"levanger.no":2,"lier.no":2,"lierne.no":2,"lillehammer.no":2,"lillesand.no":2,"lindesnes.no":2,"lindas.no":2,"lind\xe5s.no":2,"lom.no":2,"loppa.no":2,"lahppi.no":2,"l\xe1hppi.no":2,"lund.no":2,"lunner.no":2,"luroy.no":2,"lur\xf8y.no":2,"luster.no":2,"lyngdal.no":2,"lyngen.no":2,"ivgu.no":2,"lardal.no":2,"lerdal.no":2,"l\xe6rdal.no":2,"lodingen.no":2,"l\xf8dingen.no":2,"lorenskog.no":2,"l\xf8renskog.no":2,"loten.no":2,"l\xf8ten.no":2,"malvik.no":2,"masoy.no":2,"m\xe5s\xf8y.no":2,"muosat.no":2,"muos\xe1t.no":2,"mandal.no":2,"marker.no":2,"marnardal.no":2,"masfjorden.no":2,"meland.no":2,"meldal.no":2,"melhus.no":2,"meloy.no":2,"mel\xf8y.no":2,"meraker.no":2,"mer\xe5ker.no":2,"moareke.no":2,"mo\xe5reke.no":2,"midsund.no":2,"midtre-gauldal.no":2,"modalen.no":2,"modum.no":2,"molde.no":2,"moskenes.no":2,"moss.no":2,"mosvik.no":2,"malselv.no":2,"m\xe5lselv.no":2,"malatvuopmi.no":2,"m\xe1latvuopmi.no":2,"namdalseid.no":2,"aejrie.no":2,"namsos.no":2,"namsskogan.no":2,"naamesjevuemie.no":2,"n\xe5\xe5mesjevuemie.no":2,"laakesvuemie.no":2,"nannestad.no":2,"narvik.no":2,"narviika.no":2,"naustdal.no":2,"nedre-eiker.no":2,"nes.akershus.no":3,"nes.buskerud.no":3,"nesna.no":2,"nesodden.no":2,"nesseby.no":2,"unjarga.no":2,"unj\xe1rga.no":2,"nesset.no":2,"nissedal.no":2,"nittedal.no":2,"nord-aurdal.no":2,"nord-fron.no":2,"nord-odal.no":2,"norddal.no":2,"nordkapp.no":2,"davvenjarga.no":2,"davvenj\xe1rga.no":2,"nordre-land.no":2,"nordreisa.no":2,"raisa.no":2,"r\xe1isa.no":2,"nore-og-uvdal.no":2,"notodden.no":2,"naroy.no":2,"n\xe6r\xf8y.no":2,"notteroy.no":2,"n\xf8tter\xf8y.no":2,"odda.no":2,"oksnes.no":2,"\xf8ksnes.no":2,"oppdal.no":2,"oppegard.no":2,"oppeg\xe5rd.no":2,"orkdal.no":2,"orland.no":2,"\xf8rland.no":2,"orskog.no":2,"\xf8rskog.no":2,"orsta.no":2,"\xf8rsta.no":2,"os.hedmark.no":3,"os.hordaland.no":3,"osen.no":2,"osteroy.no":2,"oster\xf8y.no":2,"ostre-toten.no":2,"\xf8stre-toten.no":2,"overhalla.no":2,"ovre-eiker.no":2,"\xf8vre-eiker.no":2,"oyer.no":2,"\xf8yer.no":2,"oygarden.no":2,"\xf8ygarden.no":2,"oystre-slidre.no":2,"\xf8ystre-slidre.no":2,"porsanger.no":2,"porsangu.no":2,"pors\xe1ŋgu.no":2,"porsgrunn.no":2,"radoy.no":2,"rad\xf8y.no":2,"rakkestad.no":2,"rana.no":2,"ruovat.no":2,"randaberg.no":2,"rauma.no":2,"rendalen.no":2,"rennebu.no":2,"rennesoy.no":2,"rennes\xf8y.no":2,"rindal.no":2,"ringebu.no":2,"ringerike.no":2,"ringsaker.no":2,"rissa.no":2,"risor.no":2,"ris\xf8r.no":2,"roan.no":2,"rollag.no":2,"rygge.no":2,"ralingen.no":2,"r\xe6lingen.no":2,"rodoy.no":2,"r\xf8d\xf8y.no":2,"romskog.no":2,"r\xf8mskog.no":2,"roros.no":2,"r\xf8ros.no":2,"rost.no":2,"r\xf8st.no":2,"royken.no":2,"r\xf8yken.no":2,"royrvik.no":2,"r\xf8yrvik.no":2,"rade.no":2,"r\xe5de.no":2,"salangen.no":2,"siellak.no":2,"saltdal.no":2,"salat.no":2,"s\xe1l\xe1t.no":2,"s\xe1lat.no":2,"samnanger.no":2,"sande.more-og-romsdal.no":3,"sande.m\xf8re-og-romsdal.no":3,"sande.vestfold.no":3,"sandefjord.no":2,"sandnes.no":2,"sandoy.no":2,"sand\xf8y.no":2,"sarpsborg.no":2,"sauda.no":2,"sauherad.no":2,"sel.no":2,"selbu.no":2,"selje.no":2,"seljord.no":2,"sigdal.no":2,"siljan.no":2,"sirdal.no":2,"skaun.no":2,"skedsmo.no":2,"ski.no":2,"skien.no":2,"skiptvet.no":2,"skjervoy.no":2,"skjerv\xf8y.no":2,"skierva.no":2,"skierv\xe1.no":2,"skjak.no":2,"skj\xe5k.no":2,"skodje.no":2,"skanland.no":2,"sk\xe5nland.no":2,"skanit.no":2,"sk\xe1nit.no":2,"smola.no":2,"sm\xf8la.no":2,"snillfjord.no":2,"snasa.no":2,"sn\xe5sa.no":2,"snoasa.no":2,"snaase.no":2,"sn\xe5ase.no":2,"sogndal.no":2,"sokndal.no":2,"sola.no":2,"solund.no":2,"songdalen.no":2,"sortland.no":2,"spydeberg.no":2,"stange.no":2,"stavanger.no":2,"steigen.no":2,"steinkjer.no":2,"stjordal.no":2,"stj\xf8rdal.no":2,"stokke.no":2,"stor-elvdal.no":2,"stord.no":2,"stordal.no":2,"storfjord.no":2,"omasvuotna.no":2,"strand.no":2,"stranda.no":2,"stryn.no":2,"sula.no":2,"suldal.no":2,"sund.no":2,"sunndal.no":2,"surnadal.no":2,"sveio.no":2,"svelvik.no":2,"sykkylven.no":2,"sogne.no":2,"s\xf8gne.no":2,"somna.no":2,"s\xf8mna.no":2,"sondre-land.no":2,"s\xf8ndre-land.no":2,"sor-aurdal.no":2,"s\xf8r-aurdal.no":2,"sor-fron.no":2,"s\xf8r-fron.no":2,"sor-odal.no":2,"s\xf8r-odal.no":2,"sor-varanger.no":2,"s\xf8r-varanger.no":2,"matta-varjjat.no":2,"m\xe1tta-v\xe1rjjat.no":2,"sorfold.no":2,"s\xf8rfold.no":2,"sorreisa.no":2,"s\xf8rreisa.no":2,"sorum.no":2,"s\xf8rum.no":2,"tana.no":2,"deatnu.no":2,"time.no":2,"tingvoll.no":2,"tinn.no":2,"tjeldsund.no":2,"dielddanuorri.no":2,"tjome.no":2,"tj\xf8me.no":2,"tokke.no":2,"tolga.no":2,"torsken.no":2,"tranoy.no":2,"tran\xf8y.no":2,"tromso.no":2,"troms\xf8.no":2,"tromsa.no":2,"romsa.no":2,"trondheim.no":2,"troandin.no":2,"trysil.no":2,"trana.no":2,"tr\xe6na.no":2,"trogstad.no":2,"tr\xf8gstad.no":2,"tvedestrand.no":2,"tydal.no":2,"tynset.no":2,"tysfjord.no":2,"divtasvuodna.no":2,"divttasvuotna.no":2,"tysnes.no":2,"tysvar.no":2,"tysv\xe6r.no":2,"tonsberg.no":2,"t\xf8nsberg.no":2,"ullensaker.no":2,"ullensvang.no":2,"ulvik.no":2,"utsira.no":2,"vadso.no":2,"vads\xf8.no":2,"cahcesuolo.no":2,"č\xe1hcesuolo.no":2,"vaksdal.no":2,"valle.no":2,"vang.no":2,"vanylven.no":2,"vardo.no":2,"vard\xf8.no":2,"varggat.no":2,"v\xe1rgg\xe1t.no":2,"vefsn.no":2,"vaapste.no":2,"vega.no":2,"vegarshei.no":2,"veg\xe5rshei.no":2,"vennesla.no":2,"verdal.no":2,"verran.no":2,"vestby.no":2,"vestnes.no":2,"vestre-slidre.no":2,"vestre-toten.no":2,"vestvagoy.no":2,"vestv\xe5g\xf8y.no":2,"vevelstad.no":2,"vik.no":2,"vikna.no":2,"vindafjord.no":2,"volda.no":2,"voss.no":2,"varoy.no":2,"v\xe6r\xf8y.no":2,"vagan.no":2,"v\xe5gan.no":2,"voagat.no":2,"vagsoy.no":2,"v\xe5gs\xf8y.no":2,"vaga.no":2,"v\xe5g\xe5.no":2,"valer.ostfold.no":3,"v\xe5ler.\xf8stfold.no":3,"valer.hedmark.no":3,"v\xe5ler.hedmark.no":3,"np":2,"nr":1,"biz.nr":2,"info.nr":2,"gov.nr":2,"edu.nr":2,"org.nr":2,"net.nr":2,"com.nr":2,"nu":1,"nz":1,"ac.nz":2,"co.nz":2,"cri.nz":2,"geek.nz":2,"gen.nz":2,"govt.nz":2,"health.nz":2,"iwi.nz":2,"kiwi.nz":2,"maori.nz":2,"mil.nz":2,"māori.nz":2,"net.nz":2,"org.nz":2,"parliament.nz":2,"school.nz":2,"om":1,"co.om":2,"com.om":2,"edu.om":2,"gov.om":2,"med.om":2,"museum.om":2,"net.om":2,"org.om":2,"pro.om":2,"onion":1,"org":1,"pa":1,"ac.pa":2,"gob.pa":2,"com.pa":2,"org.pa":2,"sld.pa":2,"edu.pa":2,"net.pa":2,"ing.pa":2,"abo.pa":2,"med.pa":2,"nom.pa":2,"pe":1,"edu.pe":2,"gob.pe":2,"nom.pe":2,"mil.pe":2,"org.pe":2,"com.pe":2,"net.pe":2,"pf":1,"com.pf":2,"org.pf":2,"edu.pf":2,"pg":2,"ph":1,"com.ph":2,"net.ph":2,"org.ph":2,"gov.ph":2,"edu.ph":2,"ngo.ph":2,"mil.ph":2,"i.ph":2,"pk":1,"com.pk":2,"net.pk":2,"edu.pk":2,"org.pk":2,"fam.pk":2,"biz.pk":2,"web.pk":2,"gov.pk":2,"gob.pk":2,"gok.pk":2,"gon.pk":2,"gop.pk":2,"gos.pk":2,"info.pk":2,"pl":1,"com.pl":2,"net.pl":2,"org.pl":2,"aid.pl":2,"agro.pl":2,"atm.pl":2,"auto.pl":2,"biz.pl":2,"edu.pl":2,"gmina.pl":2,"gsm.pl":2,"info.pl":2,"mail.pl":2,"miasta.pl":2,"media.pl":2,"mil.pl":2,"nieruchomosci.pl":2,"nom.pl":2,"pc.pl":2,"powiat.pl":2,"priv.pl":2,"realestate.pl":2,"rel.pl":2,"sex.pl":2,"shop.pl":2,"sklep.pl":2,"sos.pl":2,"szkola.pl":2,"targi.pl":2,"tm.pl":2,"tourism.pl":2,"travel.pl":2,"turystyka.pl":2,"gov.pl":2,"ap.gov.pl":3,"ic.gov.pl":3,"is.gov.pl":3,"us.gov.pl":3,"kmpsp.gov.pl":3,"kppsp.gov.pl":3,"kwpsp.gov.pl":3,"psp.gov.pl":3,"wskr.gov.pl":3,"kwp.gov.pl":3,"mw.gov.pl":3,"ug.gov.pl":3,"um.gov.pl":3,"umig.gov.pl":3,"ugim.gov.pl":3,"upow.gov.pl":3,"uw.gov.pl":3,"starostwo.gov.pl":3,"pa.gov.pl":3,"po.gov.pl":3,"psse.gov.pl":3,"pup.gov.pl":3,"rzgw.gov.pl":3,"sa.gov.pl":3,"so.gov.pl":3,"sr.gov.pl":3,"wsa.gov.pl":3,"sko.gov.pl":3,"uzs.gov.pl":3,"wiih.gov.pl":3,"winb.gov.pl":3,"pinb.gov.pl":3,"wios.gov.pl":3,"witd.gov.pl":3,"wzmiuw.gov.pl":3,"piw.gov.pl":3,"wiw.gov.pl":3,"griw.gov.pl":3,"wif.gov.pl":3,"oum.gov.pl":3,"sdn.gov.pl":3,"zp.gov.pl":3,"uppo.gov.pl":3,"mup.gov.pl":3,"wuoz.gov.pl":3,"konsulat.gov.pl":3,"oirm.gov.pl":3,"augustow.pl":2,"babia-gora.pl":2,"bedzin.pl":2,"beskidy.pl":2,"bialowieza.pl":2,"bialystok.pl":2,"bielawa.pl":2,"bieszczady.pl":2,"boleslawiec.pl":2,"bydgoszcz.pl":2,"bytom.pl":2,"cieszyn.pl":2,"czeladz.pl":2,"czest.pl":2,"dlugoleka.pl":2,"elblag.pl":2,"elk.pl":2,"glogow.pl":2,"gniezno.pl":2,"gorlice.pl":2,"grajewo.pl":2,"ilawa.pl":2,"jaworzno.pl":2,"jelenia-gora.pl":2,"jgora.pl":2,"kalisz.pl":2,"kazimierz-dolny.pl":2,"karpacz.pl":2,"kartuzy.pl":2,"kaszuby.pl":2,"katowice.pl":2,"kepno.pl":2,"ketrzyn.pl":2,"klodzko.pl":2,"kobierzyce.pl":2,"kolobrzeg.pl":2,"konin.pl":2,"konskowola.pl":2,"kutno.pl":2,"lapy.pl":2,"lebork.pl":2,"legnica.pl":2,"lezajsk.pl":2,"limanowa.pl":2,"lomza.pl":2,"lowicz.pl":2,"lubin.pl":2,"lukow.pl":2,"malbork.pl":2,"malopolska.pl":2,"mazowsze.pl":2,"mazury.pl":2,"mielec.pl":2,"mielno.pl":2,"mragowo.pl":2,"naklo.pl":2,"nowaruda.pl":2,"nysa.pl":2,"olawa.pl":2,"olecko.pl":2,"olkusz.pl":2,"olsztyn.pl":2,"opoczno.pl":2,"opole.pl":2,"ostroda.pl":2,"ostroleka.pl":2,"ostrowiec.pl":2,"ostrowwlkp.pl":2,"pila.pl":2,"pisz.pl":2,"podhale.pl":2,"podlasie.pl":2,"polkowice.pl":2,"pomorze.pl":2,"pomorskie.pl":2,"prochowice.pl":2,"pruszkow.pl":2,"przeworsk.pl":2,"pulawy.pl":2,"radom.pl":2,"rawa-maz.pl":2,"rybnik.pl":2,"rzeszow.pl":2,"sanok.pl":2,"sejny.pl":2,"slask.pl":2,"slupsk.pl":2,"sosnowiec.pl":2,"stalowa-wola.pl":2,"skoczow.pl":2,"starachowice.pl":2,"stargard.pl":2,"suwalki.pl":2,"swidnica.pl":2,"swiebodzin.pl":2,"swinoujscie.pl":2,"szczecin.pl":2,"szczytno.pl":2,"tarnobrzeg.pl":2,"tgory.pl":2,"turek.pl":2,"tychy.pl":2,"ustka.pl":2,"walbrzych.pl":2,"warmia.pl":2,"warszawa.pl":2,"waw.pl":2,"wegrow.pl":2,"wielun.pl":2,"wlocl.pl":2,"wloclawek.pl":2,"wodzislaw.pl":2,"wolomin.pl":2,"wroclaw.pl":2,"zachpomor.pl":2,"zagan.pl":2,"zarow.pl":2,"zgora.pl":2,"zgorzelec.pl":2,"pm":1,"pn":1,"gov.pn":2,"co.pn":2,"org.pn":2,"edu.pn":2,"net.pn":2,"post":1,"pr":1,"com.pr":2,"net.pr":2,"org.pr":2,"gov.pr":2,"edu.pr":2,"isla.pr":2,"pro.pr":2,"biz.pr":2,"info.pr":2,"name.pr":2,"est.pr":2,"prof.pr":2,"ac.pr":2,"pro":1,"aaa.pro":2,"aca.pro":2,"acct.pro":2,"avocat.pro":2,"bar.pro":2,"cpa.pro":2,"eng.pro":2,"jur.pro":2,"law.pro":2,"med.pro":2,"recht.pro":2,"ps":1,"edu.ps":2,"gov.ps":2,"sec.ps":2,"plo.ps":2,"com.ps":2,"org.ps":2,"net.ps":2,"pt":1,"net.pt":2,"gov.pt":2,"org.pt":2,"edu.pt":2,"int.pt":2,"publ.pt":2,"com.pt":2,"nome.pt":2,"pw":1,"co.pw":2,"ne.pw":2,"or.pw":2,"ed.pw":2,"go.pw":2,"belau.pw":2,"py":1,"com.py":2,"coop.py":2,"edu.py":2,"gov.py":2,"mil.py":2,"net.py":2,"org.py":2,"qa":1,"com.qa":2,"edu.qa":2,"gov.qa":2,"mil.qa":2,"name.qa":2,"net.qa":2,"org.qa":2,"sch.qa":2,"re":1,"asso.re":2,"com.re":2,"nom.re":2,"ro":1,"arts.ro":2,"com.ro":2,"firm.ro":2,"info.ro":2,"nom.ro":2,"nt.ro":2,"org.ro":2,"rec.ro":2,"store.ro":2,"tm.ro":2,"www.ro":2,"rs":1,"ac.rs":2,"co.rs":2,"edu.rs":2,"gov.rs":2,"in.rs":2,"org.rs":2,"ru":1,"rw":1,"ac.rw":2,"co.rw":2,"coop.rw":2,"gov.rw":2,"mil.rw":2,"net.rw":2,"org.rw":2,"sa":1,"com.sa":2,"net.sa":2,"org.sa":2,"gov.sa":2,"med.sa":2,"pub.sa":2,"edu.sa":2,"sch.sa":2,"sb":1,"com.sb":2,"edu.sb":2,"gov.sb":2,"net.sb":2,"org.sb":2,"sc":1,"com.sc":2,"gov.sc":2,"net.sc":2,"org.sc":2,"edu.sc":2,"sd":1,"com.sd":2,"net.sd":2,"org.sd":2,"edu.sd":2,"med.sd":2,"tv.sd":2,"gov.sd":2,"info.sd":2,"se":1,"a.se":2,"ac.se":2,"b.se":2,"bd.se":2,"brand.se":2,"c.se":2,"d.se":2,"e.se":2,"f.se":2,"fh.se":2,"fhsk.se":2,"fhv.se":2,"g.se":2,"h.se":2,"i.se":2,"k.se":2,"komforb.se":2,"kommunalforbund.se":2,"komvux.se":2,"l.se":2,"lanbib.se":2,"m.se":2,"n.se":2,"naturbruksgymn.se":2,"o.se":2,"org.se":2,"p.se":2,"parti.se":2,"pp.se":2,"press.se":2,"r.se":2,"s.se":2,"t.se":2,"tm.se":2,"u.se":2,"w.se":2,"x.se":2,"y.se":2,"z.se":2,"sg":1,"com.sg":2,"net.sg":2,"org.sg":2,"gov.sg":2,"edu.sg":2,"per.sg":2,"sh":1,"com.sh":2,"net.sh":2,"gov.sh":2,"org.sh":2,"mil.sh":2,"si":1,"sj":1,"sk":1,"sl":1,"com.sl":2,"net.sl":2,"edu.sl":2,"gov.sl":2,"org.sl":2,"sm":1,"sn":1,"art.sn":2,"com.sn":2,"edu.sn":2,"gouv.sn":2,"org.sn":2,"perso.sn":2,"univ.sn":2,"so":1,"com.so":2,"edu.so":2,"gov.so":2,"me.so":2,"net.so":2,"org.so":2,"sr":1,"ss":1,"biz.ss":2,"com.ss":2,"edu.ss":2,"gov.ss":2,"me.ss":2,"net.ss":2,"org.ss":2,"sch.ss":2,"st":1,"co.st":2,"com.st":2,"consulado.st":2,"edu.st":2,"embaixada.st":2,"mil.st":2,"net.st":2,"org.st":2,"principe.st":2,"saotome.st":2,"store.st":2,"su":1,"sv":1,"com.sv":2,"edu.sv":2,"gob.sv":2,"org.sv":2,"red.sv":2,"sx":1,"gov.sx":2,"sy":1,"edu.sy":2,"gov.sy":2,"net.sy":2,"mil.sy":2,"com.sy":2,"org.sy":2,"sz":1,"co.sz":2,"ac.sz":2,"org.sz":2,"tc":1,"td":1,"tel":1,"tf":1,"tg":1,"th":1,"ac.th":2,"co.th":2,"go.th":2,"in.th":2,"mi.th":2,"net.th":2,"or.th":2,"tj":1,"ac.tj":2,"biz.tj":2,"co.tj":2,"com.tj":2,"edu.tj":2,"go.tj":2,"gov.tj":2,"int.tj":2,"mil.tj":2,"name.tj":2,"net.tj":2,"nic.tj":2,"org.tj":2,"test.tj":2,"web.tj":2,"tk":1,"tl":1,"gov.tl":2,"tm":1,"com.tm":2,"co.tm":2,"org.tm":2,"net.tm":2,"nom.tm":2,"gov.tm":2,"mil.tm":2,"edu.tm":2,"tn":1,"com.tn":2,"ens.tn":2,"fin.tn":2,"gov.tn":2,"ind.tn":2,"info.tn":2,"intl.tn":2,"mincom.tn":2,"nat.tn":2,"net.tn":2,"org.tn":2,"perso.tn":2,"tourism.tn":2,"to":1,"com.to":2,"gov.to":2,"net.to":2,"org.to":2,"edu.to":2,"mil.to":2,"tr":1,"av.tr":2,"bbs.tr":2,"bel.tr":2,"biz.tr":2,"com.tr":2,"dr.tr":2,"edu.tr":2,"gen.tr":2,"gov.tr":2,"info.tr":2,"mil.tr":2,"k12.tr":2,"kep.tr":2,"name.tr":2,"net.tr":2,"org.tr":2,"pol.tr":2,"tel.tr":2,"tsk.tr":2,"tv.tr":2,"web.tr":2,"nc.tr":2,"gov.nc.tr":3,"tt":1,"co.tt":2,"com.tt":2,"org.tt":2,"net.tt":2,"biz.tt":2,"info.tt":2,"pro.tt":2,"int.tt":2,"coop.tt":2,"jobs.tt":2,"mobi.tt":2,"travel.tt":2,"museum.tt":2,"aero.tt":2,"name.tt":2,"gov.tt":2,"edu.tt":2,"tv":1,"tw":1,"edu.tw":2,"gov.tw":2,"mil.tw":2,"com.tw":2,"net.tw":2,"org.tw":2,"idv.tw":2,"game.tw":2,"ebiz.tw":2,"club.tw":2,"網路.tw":2,"組織.tw":2,"商業.tw":2,"tz":1,"ac.tz":2,"co.tz":2,"go.tz":2,"hotel.tz":2,"info.tz":2,"me.tz":2,"mil.tz":2,"mobi.tz":2,"ne.tz":2,"or.tz":2,"sc.tz":2,"tv.tz":2,"ua":1,"com.ua":2,"edu.ua":2,"gov.ua":2,"in.ua":2,"net.ua":2,"org.ua":2,"cherkassy.ua":2,"cherkasy.ua":2,"chernigov.ua":2,"chernihiv.ua":2,"chernivtsi.ua":2,"chernovtsy.ua":2,"ck.ua":2,"cn.ua":2,"cr.ua":2,"crimea.ua":2,"cv.ua":2,"dn.ua":2,"dnepropetrovsk.ua":2,"dnipropetrovsk.ua":2,"donetsk.ua":2,"dp.ua":2,"if.ua":2,"ivano-frankivsk.ua":2,"kh.ua":2,"kharkiv.ua":2,"kharkov.ua":2,"kherson.ua":2,"khmelnitskiy.ua":2,"khmelnytskyi.ua":2,"kiev.ua":2,"kirovograd.ua":2,"km.ua":2,"kr.ua":2,"krym.ua":2,"ks.ua":2,"kv.ua":2,"kyiv.ua":2,"lg.ua":2,"lt.ua":2,"lugansk.ua":2,"lutsk.ua":2,"lv.ua":2,"lviv.ua":2,"mk.ua":2,"mykolaiv.ua":2,"nikolaev.ua":2,"od.ua":2,"odesa.ua":2,"odessa.ua":2,"pl.ua":2,"poltava.ua":2,"rivne.ua":2,"rovno.ua":2,"rv.ua":2,"sb.ua":2,"sebastopol.ua":2,"sevastopol.ua":2,"sm.ua":2,"sumy.ua":2,"te.ua":2,"ternopil.ua":2,"uz.ua":2,"uzhgorod.ua":2,"vinnica.ua":2,"vinnytsia.ua":2,"vn.ua":2,"volyn.ua":2,"yalta.ua":2,"zaporizhzhe.ua":2,"zaporizhzhia.ua":2,"zhitomir.ua":2,"zhytomyr.ua":2,"zp.ua":2,"zt.ua":2,"ug":1,"co.ug":2,"or.ug":2,"ac.ug":2,"sc.ug":2,"go.ug":2,"ne.ug":2,"com.ug":2,"org.ug":2,"uk":1,"ac.uk":2,"co.uk":2,"gov.uk":2,"ltd.uk":2,"me.uk":2,"net.uk":2,"nhs.uk":2,"org.uk":2,"plc.uk":2,"police.uk":2,"sch.uk":3,"us":1,"dni.us":2,"fed.us":2,"isa.us":2,"kids.us":2,"nsn.us":2,"ak.us":2,"al.us":2,"ar.us":2,"as.us":2,"az.us":2,"ca.us":2,"co.us":2,"ct.us":2,"dc.us":2,"de.us":2,"fl.us":2,"ga.us":2,"gu.us":2,"hi.us":2,"ia.us":2,"id.us":2,"il.us":2,"in.us":2,"ks.us":2,"ky.us":2,"la.us":2,"ma.us":2,"md.us":2,"me.us":2,"mi.us":2,"mn.us":2,"mo.us":2,"ms.us":2,"mt.us":2,"nc.us":2,"nd.us":2,"ne.us":2,"nh.us":2,"nj.us":2,"nm.us":2,"nv.us":2,"ny.us":2,"oh.us":2,"ok.us":2,"or.us":2,"pa.us":2,"pr.us":2,"ri.us":2,"sc.us":2,"sd.us":2,"tn.us":2,"tx.us":2,"ut.us":2,"vi.us":2,"vt.us":2,"va.us":2,"wa.us":2,"wi.us":2,"wv.us":2,"wy.us":2,"k12.ak.us":3,"k12.al.us":3,"k12.ar.us":3,"k12.as.us":3,"k12.az.us":3,"k12.ca.us":3,"k12.co.us":3,"k12.ct.us":3,"k12.dc.us":3,"k12.de.us":3,"k12.fl.us":3,"k12.ga.us":3,"k12.gu.us":3,"k12.ia.us":3,"k12.id.us":3,"k12.il.us":3,"k12.in.us":3,"k12.ks.us":3,"k12.ky.us":3,"k12.la.us":3,"k12.ma.us":3,"k12.md.us":3,"k12.me.us":3,"k12.mi.us":3,"k12.mn.us":3,"k12.mo.us":3,"k12.ms.us":3,"k12.mt.us":3,"k12.nc.us":3,"k12.ne.us":3,"k12.nh.us":3,"k12.nj.us":3,"k12.nm.us":3,"k12.nv.us":3,"k12.ny.us":3,"k12.oh.us":3,"k12.ok.us":3,"k12.or.us":3,"k12.pa.us":3,"k12.pr.us":3,"k12.sc.us":3,"k12.tn.us":3,"k12.tx.us":3,"k12.ut.us":3,"k12.vi.us":3,"k12.vt.us":3,"k12.va.us":3,"k12.wa.us":3,"k12.wi.us":3,"k12.wy.us":3,"cc.ak.us":3,"cc.al.us":3,"cc.ar.us":3,"cc.as.us":3,"cc.az.us":3,"cc.ca.us":3,"cc.co.us":3,"cc.ct.us":3,"cc.dc.us":3,"cc.de.us":3,"cc.fl.us":3,"cc.ga.us":3,"cc.gu.us":3,"cc.hi.us":3,"cc.ia.us":3,"cc.id.us":3,"cc.il.us":3,"cc.in.us":3,"cc.ks.us":3,"cc.ky.us":3,"cc.la.us":3,"cc.ma.us":3,"cc.md.us":3,"cc.me.us":3,"cc.mi.us":3,"cc.mn.us":3,"cc.mo.us":3,"cc.ms.us":3,"cc.mt.us":3,"cc.nc.us":3,"cc.nd.us":3,"cc.ne.us":3,"cc.nh.us":3,"cc.nj.us":3,"cc.nm.us":3,"cc.nv.us":3,"cc.ny.us":3,"cc.oh.us":3,"cc.ok.us":3,"cc.or.us":3,"cc.pa.us":3,"cc.pr.us":3,"cc.ri.us":3,"cc.sc.us":3,"cc.sd.us":3,"cc.tn.us":3,"cc.tx.us":3,"cc.ut.us":3,"cc.vi.us":3,"cc.vt.us":3,"cc.va.us":3,"cc.wa.us":3,"cc.wi.us":3,"cc.wv.us":3,"cc.wy.us":3,"lib.ak.us":3,"lib.al.us":3,"lib.ar.us":3,"lib.as.us":3,"lib.az.us":3,"lib.ca.us":3,"lib.co.us":3,"lib.ct.us":3,"lib.dc.us":3,"lib.fl.us":3,"lib.ga.us":3,"lib.gu.us":3,"lib.hi.us":3,"lib.ia.us":3,"lib.id.us":3,"lib.il.us":3,"lib.in.us":3,"lib.ks.us":3,"lib.ky.us":3,"lib.la.us":3,"lib.ma.us":3,"lib.md.us":3,"lib.me.us":3,"lib.mi.us":3,"lib.mn.us":3,"lib.mo.us":3,"lib.ms.us":3,"lib.mt.us":3,"lib.nc.us":3,"lib.nd.us":3,"lib.ne.us":3,"lib.nh.us":3,"lib.nj.us":3,"lib.nm.us":3,"lib.nv.us":3,"lib.ny.us":3,"lib.oh.us":3,"lib.ok.us":3,"lib.or.us":3,"lib.pa.us":3,"lib.pr.us":3,"lib.ri.us":3,"lib.sc.us":3,"lib.sd.us":3,"lib.tn.us":3,"lib.tx.us":3,"lib.ut.us":3,"lib.vi.us":3,"lib.vt.us":3,"lib.va.us":3,"lib.wa.us":3,"lib.wi.us":3,"lib.wy.us":3,"pvt.k12.ma.us":4,"chtr.k12.ma.us":4,"paroch.k12.ma.us":4,"ann-arbor.mi.us":3,"cog.mi.us":3,"dst.mi.us":3,"eaton.mi.us":3,"gen.mi.us":3,"mus.mi.us":3,"tec.mi.us":3,"washtenaw.mi.us":3,"uy":1,"com.uy":2,"edu.uy":2,"gub.uy":2,"mil.uy":2,"net.uy":2,"org.uy":2,"uz":1,"co.uz":2,"com.uz":2,"net.uz":2,"org.uz":2,"va":1,"vc":1,"com.vc":2,"net.vc":2,"org.vc":2,"gov.vc":2,"mil.vc":2,"edu.vc":2,"ve":1,"arts.ve":2,"bib.ve":2,"co.ve":2,"com.ve":2,"e12.ve":2,"edu.ve":2,"firm.ve":2,"gob.ve":2,"gov.ve":2,"info.ve":2,"int.ve":2,"mil.ve":2,"net.ve":2,"nom.ve":2,"org.ve":2,"rar.ve":2,"rec.ve":2,"store.ve":2,"tec.ve":2,"web.ve":2,"vg":1,"vi":1,"co.vi":2,"com.vi":2,"k12.vi":2,"net.vi":2,"org.vi":2,"vn":1,"com.vn":2,"net.vn":2,"org.vn":2,"edu.vn":2,"gov.vn":2,"int.vn":2,"ac.vn":2,"biz.vn":2,"info.vn":2,"name.vn":2,"pro.vn":2,"health.vn":2,"vu":1,"com.vu":2,"edu.vu":2,"net.vu":2,"org.vu":2,"wf":1,"ws":1,"com.ws":2,"net.ws":2,"org.ws":2,"gov.ws":2,"edu.ws":2,"yt":1,"امارات":1,"հայ":1,"বাংলা":1,"бг":1,"البحرين":1,"бел":1,"中国":1,"中國":1,"الجزائر":1,"مصر":1,"ею":1,"ευ":1,"موريتانيا":1,"გე":1,"ελ":1,"香港":1,"公司.香港":2,"教育.香港":2,"政府.香港":2,"個人.香港":2,"網絡.香港":2,"組織.香港":2,"ಭಾರತ":1,"ଭାରତ":1,"ভাৰত":1,"भारतम्":1,"भारोत":1,"ڀارت":1,"ഭാരതം":1,"भारत":1,"بارت":1,"بھارت":1,"భారత్":1,"ભારત":1,"ਭਾਰਤ":1,"ভারত":1,"இந்தியா":1,"ایران":1,"ايران":1,"عراق":1,"الاردن":1,"한국":1,"қаз":1,"ລາວ":1,"ලංකා":1,"இலங்கை":1,"المغرب":1,"мкд":1,"мон":1,"澳門":1,"澳门":1,"مليسيا":1,"عمان":1,"پاکستان":1,"پاكستان":1,"فلسطين":1,"срб":1,"пр.срб":2,"орг.срб":2,"обр.срб":2,"од.срб":2,"упр.срб":2,"ак.срб":2,"рф":1,"قطر":1,"السعودية":1,"السعودیة":1,"السعودیۃ":1,"السعوديه":1,"سودان":1,"新加坡":1,"சிங்கப்பூர்":1,"سورية":1,"سوريا":1,"ไทย":1,"ศึกษา.ไทย":2,"ธุรกิจ.ไทย":2,"รัฐบาล.ไทย":2,"ทหาร.ไทย":2,"เน็ต.ไทย":2,"องค์กร.ไทย":2,"تونس":1,"台灣":1,"台湾":1,"臺灣":1,"укр":1,"اليمن":1,"xxx":1,"ye":1,"com.ye":2,"edu.ye":2,"gov.ye":2,"net.ye":2,"mil.ye":2,"org.ye":2,"ac.za":2,"agric.za":2,"alt.za":2,"co.za":2,"edu.za":2,"gov.za":2,"grondar.za":2,"law.za":2,"mil.za":2,"net.za":2,"ngo.za":2,"nic.za":2,"nis.za":2,"nom.za":2,"org.za":2,"school.za":2,"tm.za":2,"web.za":2,"zm":1,"ac.zm":2,"biz.zm":2,"co.zm":2,"com.zm":2,"edu.zm":2,"gov.zm":2,"info.zm":2,"mil.zm":2,"net.zm":2,"org.zm":2,"sch.zm":2,"zw":1,"ac.zw":2,"co.zw":2,"gov.zw":2,"mil.zw":2,"org.zw":2,"aaa":1,"aarp":1,"abarth":1,"abb":1,"abbott":1,"abbvie":1,"abc":1,"able":1,"abogado":1,"abudhabi":1,"academy":1,"accenture":1,"accountant":1,"accountants":1,"aco":1,"actor":1,"ads":1,"adult":1,"aeg":1,"aetna":1,"afl":1,"africa":1,"agakhan":1,"agency":1,"aig":1,"airbus":1,"airforce":1,"airtel":1,"akdn":1,"alfaromeo":1,"alibaba":1,"alipay":1,"allfinanz":1,"allstate":1,"ally":1,"alsace":1,"alstom":1,"amazon":1,"americanexpress":1,"americanfamily":1,"amex":1,"amfam":1,"amica":1,"amsterdam":1,"analytics":1,"android":1,"anquan":1,"anz":1,"aol":1,"apartments":1,"app":1,"apple":1,"aquarelle":1,"arab":1,"aramco":1,"archi":1,"army":1,"art":1,"arte":1,"asda":1,"associates":1,"athleta":1,"attorney":1,"auction":1,"audi":1,"audible":1,"audio":1,"auspost":1,"author":1,"auto":1,"autos":1,"avianca":1,"aws":1,"axa":1,"azure":1,"baby":1,"baidu":1,"banamex":1,"bananarepublic":1,"band":1,"bank":1,"bar":1,"barcelona":1,"barclaycard":1,"barclays":1,"barefoot":1,"bargains":1,"baseball":1,"basketball":1,"bauhaus":1,"bayern":1,"bbc":1,"bbt":1,"bbva":1,"bcg":1,"bcn":1,"beats":1,"beauty":1,"beer":1,"bentley":1,"berlin":1,"best":1,"bestbuy":1,"bet":1,"bharti":1,"bible":1,"bid":1,"bike":1,"bing":1,"bingo":1,"bio":1,"black":1,"blackfriday":1,"blockbuster":1,"blog":1,"bloomberg":1,"blue":1,"bms":1,"bmw":1,"bnpparibas":1,"boats":1,"boehringer":1,"bofa":1,"bom":1,"bond":1,"boo":1,"book":1,"booking":1,"bosch":1,"bostik":1,"boston":1,"bot":1,"boutique":1,"box":1,"bradesco":1,"bridgestone":1,"broadway":1,"broker":1,"brother":1,"brussels":1,"build":1,"builders":1,"business":1,"buy":1,"buzz":1,"bzh":1,"cab":1,"cafe":1,"cal":1,"call":1,"calvinklein":1,"cam":1,"camera":1,"camp":1,"canon":1,"capetown":1,"capital":1,"capitalone":1,"car":1,"caravan":1,"cards":1,"care":1,"career":1,"careers":1,"cars":1,"casa":1,"case":1,"cash":1,"casino":1,"catering":1,"catholic":1,"cba":1,"cbn":1,"cbre":1,"cbs":1,"center":1,"ceo":1,"cern":1,"cfa":1,"cfd":1,"chanel":1,"channel":1,"charity":1,"chase":1,"chat":1,"cheap":1,"chintai":1,"christmas":1,"chrome":1,"church":1,"cipriani":1,"circle":1,"cisco":1,"citadel":1,"citi":1,"citic":1,"city":1,"cityeats":1,"claims":1,"cleaning":1,"click":1,"clinic":1,"clinique":1,"clothing":1,"cloud":1,"club":1,"clubmed":1,"coach":1,"codes":1,"coffee":1,"college":1,"cologne":1,"comcast":1,"commbank":1,"community":1,"company":1,"compare":1,"computer":1,"comsec":1,"condos":1,"construction":1,"consulting":1,"contact":1,"contractors":1,"cooking":1,"cookingchannel":1,"cool":1,"corsica":1,"country":1,"coupon":1,"coupons":1,"courses":1,"cpa":1,"credit":1,"creditcard":1,"creditunion":1,"cricket":1,"crown":1,"crs":1,"cruise":1,"cruises":1,"cuisinella":1,"cymru":1,"cyou":1,"dabur":1,"dad":1,"dance":1,"data":1,"date":1,"dating":1,"datsun":1,"day":1,"dclk":1,"dds":1,"deal":1,"dealer":1,"deals":1,"degree":1,"delivery":1,"dell":1,"deloitte":1,"delta":1,"democrat":1,"dental":1,"dentist":1,"desi":1,"design":1,"dev":1,"dhl":1,"diamonds":1,"diet":1,"digital":1,"direct":1,"directory":1,"discount":1,"discover":1,"dish":1,"diy":1,"dnp":1,"docs":1,"doctor":1,"dog":1,"domains":1,"dot":1,"download":1,"drive":1,"dtv":1,"dubai":1,"dunlop":1,"dupont":1,"durban":1,"dvag":1,"dvr":1,"earth":1,"eat":1,"eco":1,"edeka":1,"education":1,"email":1,"emerck":1,"energy":1,"engineer":1,"engineering":1,"enterprises":1,"epson":1,"equipment":1,"ericsson":1,"erni":1,"esq":1,"estate":1,"etisalat":1,"eurovision":1,"eus":1,"events":1,"exchange":1,"expert":1,"exposed":1,"express":1,"extraspace":1,"fage":1,"fail":1,"fairwinds":1,"faith":1,"family":1,"fan":1,"fans":1,"farm":1,"farmers":1,"fashion":1,"fast":1,"fedex":1,"feedback":1,"ferrari":1,"ferrero":1,"fiat":1,"fidelity":1,"fido":1,"film":1,"final":1,"finance":1,"financial":1,"fire":1,"firestone":1,"firmdale":1,"fish":1,"fishing":1,"fit":1,"fitness":1,"flickr":1,"flights":1,"flir":1,"florist":1,"flowers":1,"fly":1,"foo":1,"food":1,"foodnetwork":1,"football":1,"ford":1,"forex":1,"forsale":1,"forum":1,"foundation":1,"fox":1,"free":1,"fresenius":1,"frl":1,"frogans":1,"frontdoor":1,"frontier":1,"ftr":1,"fujitsu":1,"fun":1,"fund":1,"furniture":1,"futbol":1,"fyi":1,"gal":1,"gallery":1,"gallo":1,"gallup":1,"game":1,"games":1,"gap":1,"garden":1,"gay":1,"gbiz":1,"gdn":1,"gea":1,"gent":1,"genting":1,"george":1,"ggee":1,"gift":1,"gifts":1,"gives":1,"giving":1,"glass":1,"gle":1,"global":1,"globo":1,"gmail":1,"gmbh":1,"gmo":1,"gmx":1,"godaddy":1,"gold":1,"goldpoint":1,"golf":1,"goo":1,"goodyear":1,"goog":1,"google":1,"gop":1,"got":1,"grainger":1,"graphics":1,"gratis":1,"green":1,"gripe":1,"grocery":1,"group":1,"guardian":1,"gucci":1,"guge":1,"guide":1,"guitars":1,"guru":1,"hair":1,"hamburg":1,"hangout":1,"haus":1,"hbo":1,"hdfc":1,"hdfcbank":1,"health":1,"healthcare":1,"help":1,"helsinki":1,"here":1,"hermes":1,"hgtv":1,"hiphop":1,"hisamitsu":1,"hitachi":1,"hiv":1,"hkt":1,"hockey":1,"holdings":1,"holiday":1,"homedepot":1,"homegoods":1,"homes":1,"homesense":1,"honda":1,"horse":1,"hospital":1,"host":1,"hosting":1,"hot":1,"hoteles":1,"hotels":1,"hotmail":1,"house":1,"how":1,"hsbc":1,"hughes":1,"hyatt":1,"hyundai":1,"ibm":1,"icbc":1,"ice":1,"icu":1,"ieee":1,"ifm":1,"ikano":1,"imamat":1,"imdb":1,"immo":1,"immobilien":1,"inc":1,"industries":1,"infiniti":1,"ing":1,"ink":1,"institute":1,"insurance":1,"insure":1,"international":1,"intuit":1,"investments":1,"ipiranga":1,"irish":1,"ismaili":1,"ist":1,"istanbul":1,"itau":1,"itv":1,"jaguar":1,"java":1,"jcb":1,"jeep":1,"jetzt":1,"jewelry":1,"jio":1,"jll":1,"jmp":1,"jnj":1,"joburg":1,"jot":1,"joy":1,"jpmorgan":1,"jprs":1,"juegos":1,"juniper":1,"kaufen":1,"kddi":1,"kerryhotels":1,"kerrylogistics":1,"kerryproperties":1,"kfh":1,"kia":1,"kids":1,"kim":1,"kinder":1,"kindle":1,"kitchen":1,"kiwi":1,"koeln":1,"komatsu":1,"kosher":1,"kpmg":1,"kpn":1,"krd":1,"kred":1,"kuokgroup":1,"kyoto":1,"lacaixa":1,"lamborghini":1,"lamer":1,"lancaster":1,"lancia":1,"land":1,"landrover":1,"lanxess":1,"lasalle":1,"lat":1,"latino":1,"latrobe":1,"law":1,"lawyer":1,"lds":1,"lease":1,"leclerc":1,"lefrak":1,"legal":1,"lego":1,"lexus":1,"lgbt":1,"lidl":1,"life":1,"lifeinsurance":1,"lifestyle":1,"lighting":1,"like":1,"lilly":1,"limited":1,"limo":1,"lincoln":1,"linde":1,"link":1,"lipsy":1,"live":1,"living":1,"llc":1,"llp":1,"loan":1,"loans":1,"locker":1,"locus":1,"loft":1,"lol":1,"london":1,"lotte":1,"lotto":1,"love":1,"lpl":1,"lplfinancial":1,"ltd":1,"ltda":1,"lundbeck":1,"luxe":1,"luxury":1,"macys":1,"madrid":1,"maif":1,"maison":1,"makeup":1,"man":1,"management":1,"mango":1,"map":1,"market":1,"marketing":1,"markets":1,"marriott":1,"marshalls":1,"maserati":1,"mattel":1,"mba":1,"mckinsey":1,"med":1,"media":1,"meet":1,"melbourne":1,"meme":1,"memorial":1,"men":1,"menu":1,"merckmsd":1,"miami":1,"microsoft":1,"mini":1,"mint":1,"mit":1,"mitsubishi":1,"mlb":1,"mls":1,"mma":1,"mobile":1,"moda":1,"moe":1,"moi":1,"mom":1,"monash":1,"money":1,"monster":1,"mormon":1,"mortgage":1,"moscow":1,"moto":1,"motorcycles":1,"mov":1,"movie":1,"msd":1,"mtn":1,"mtr":1,"music":1,"mutual":1,"nab":1,"nagoya":1,"natura":1,"navy":1,"nba":1,"nec":1,"netbank":1,"netflix":1,"network":1,"neustar":1,"new":1,"news":1,"next":1,"nextdirect":1,"nexus":1,"nfl":1,"ngo":1,"nhk":1,"nico":1,"nike":1,"nikon":1,"ninja":1,"nissan":1,"nissay":1,"nokia":1,"northwesternmutual":1,"norton":1,"now":1,"nowruz":1,"nowtv":1,"nra":1,"nrw":1,"ntt":1,"nyc":1,"obi":1,"observer":1,"office":1,"okinawa":1,"olayan":1,"olayangroup":1,"oldnavy":1,"ollo":1,"omega":1,"one":1,"ong":1,"onl":1,"online":1,"ooo":1,"open":1,"oracle":1,"orange":1,"organic":1,"origins":1,"osaka":1,"otsuka":1,"ott":1,"ovh":1,"page":1,"panasonic":1,"paris":1,"pars":1,"partners":1,"parts":1,"party":1,"passagens":1,"pay":1,"pccw":1,"pet":1,"pfizer":1,"pharmacy":1,"phd":1,"philips":1,"phone":1,"photo":1,"photography":1,"photos":1,"physio":1,"pics":1,"pictet":1,"pictures":1,"pid":1,"pin":1,"ping":1,"pink":1,"pioneer":1,"pizza":1,"place":1,"play":1,"playstation":1,"plumbing":1,"plus":1,"pnc":1,"pohl":1,"poker":1,"politie":1,"porn":1,"pramerica":1,"praxi":1,"press":1,"prime":1,"prod":1,"productions":1,"prof":1,"progressive":1,"promo":1,"properties":1,"property":1,"protection":1,"pru":1,"prudential":1,"pub":1,"pwc":1,"qpon":1,"quebec":1,"quest":1,"racing":1,"radio":1,"read":1,"realestate":1,"realtor":1,"realty":1,"recipes":1,"red":1,"redstone":1,"redumbrella":1,"rehab":1,"reise":1,"reisen":1,"reit":1,"reliance":1,"ren":1,"rent":1,"rentals":1,"repair":1,"report":1,"republican":1,"rest":1,"restaurant":1,"review":1,"reviews":1,"rexroth":1,"rich":1,"richardli":1,"ricoh":1,"ril":1,"rio":1,"rip":1,"rocher":1,"rocks":1,"rodeo":1,"rogers":1,"room":1,"rsvp":1,"rugby":1,"ruhr":1,"run":1,"rwe":1,"ryukyu":1,"saarland":1,"safe":1,"safety":1,"sakura":1,"sale":1,"salon":1,"samsclub":1,"samsung":1,"sandvik":1,"sandvikcoromant":1,"sanofi":1,"sap":1,"sarl":1,"sas":1,"save":1,"saxo":1,"sbi":1,"sbs":1,"sca":1,"scb":1,"schaeffler":1,"schmidt":1,"scholarships":1,"school":1,"schule":1,"schwarz":1,"science":1,"scot":1,"search":1,"seat":1,"secure":1,"security":1,"seek":1,"select":1,"sener":1,"services":1,"ses":1,"seven":1,"sew":1,"sex":1,"sexy":1,"sfr":1,"shangrila":1,"sharp":1,"shaw":1,"shell":1,"shia":1,"shiksha":1,"shoes":1,"shop":1,"shopping":1,"shouji":1,"show":1,"showtime":1,"silk":1,"sina":1,"singles":1,"site":1,"ski":1,"skin":1,"sky":1,"skype":1,"sling":1,"smart":1,"smile":1,"sncf":1,"soccer":1,"social":1,"softbank":1,"software":1,"sohu":1,"solar":1,"solutions":1,"song":1,"sony":1,"soy":1,"spa":1,"space":1,"sport":1,"spot":1,"srl":1,"stada":1,"staples":1,"star":1,"statebank":1,"statefarm":1,"stc":1,"stcgroup":1,"stockholm":1,"storage":1,"store":1,"stream":1,"studio":1,"study":1,"style":1,"sucks":1,"supplies":1,"supply":1,"support":1,"surf":1,"surgery":1,"suzuki":1,"swatch":1,"swiss":1,"sydney":1,"systems":1,"tab":1,"taipei":1,"talk":1,"taobao":1,"target":1,"tatamotors":1,"tatar":1,"tattoo":1,"tax":1,"taxi":1,"tci":1,"tdk":1,"team":1,"tech":1,"technology":1,"temasek":1,"tennis":1,"teva":1,"thd":1,"theater":1,"theatre":1,"tiaa":1,"tickets":1,"tienda":1,"tiffany":1,"tips":1,"tires":1,"tirol":1,"tjmaxx":1,"tjx":1,"tkmaxx":1,"tmall":1,"today":1,"tokyo":1,"tools":1,"top":1,"toray":1,"toshiba":1,"total":1,"tours":1,"town":1,"toyota":1,"toys":1,"trade":1,"trading":1,"training":1,"travel":1,"travelchannel":1,"travelers":1,"travelersinsurance":1,"trust":1,"trv":1,"tube":1,"tui":1,"tunes":1,"tushu":1,"tvs":1,"ubank":1,"ubs":1,"unicom":1,"university":1,"uno":1,"uol":1,"ups":1,"vacations":1,"vana":1,"vanguard":1,"vegas":1,"ventures":1,"verisign":1,"versicherung":1,"vet":1,"viajes":1,"video":1,"vig":1,"viking":1,"villas":1,"vin":1,"vip":1,"virgin":1,"visa":1,"vision":1,"viva":1,"vivo":1,"vlaanderen":1,"vodka":1,"volkswagen":1,"volvo":1,"vote":1,"voting":1,"voto":1,"voyage":1,"vuelos":1,"wales":1,"walmart":1,"walter":1,"wang":1,"wanggou":1,"watch":1,"watches":1,"weather":1,"weatherchannel":1,"webcam":1,"weber":1,"website":1,"wedding":1,"weibo":1,"weir":1,"whoswho":1,"wien":1,"wiki":1,"williamhill":1,"win":1,"windows":1,"wine":1,"winners":1,"wme":1,"wolterskluwer":1,"woodside":1,"work":1,"works":1,"world":1,"wow":1,"wtc":1,"wtf":1,"xbox":1,"xerox":1,"xfinity":1,"xihuan":1,"xin":1,"कॉम":1,"セール":1,"佛山":1,"慈善":1,"集团":1,"在线":1,"点看":1,"คอม":1,"八卦":1,"موقع":1,"公益":1,"公司":1,"香格里拉":1,"网站":1,"移动":1,"我爱你":1,"москва":1,"католик":1,"онлайн":1,"сайт":1,"联通":1,"קום":1,"时尚":1,"微博":1,"淡马锡":1,"ファッション":1,"орг":1,"नेट":1,"ストア":1,"アマゾン":1,"삼성":1,"商标":1,"商店":1,"商城":1,"дети":1,"ポイント":1,"新闻":1,"家電":1,"كوم":1,"中文网":1,"中信":1,"娱乐":1,"谷歌":1,"電訊盈科":1,"购物":1,"クラウド":1,"通販":1,"网店":1,"संगठन":1,"餐厅":1,"网络":1,"ком":1,"亚马逊":1,"食品":1,"飞利浦":1,"手机":1,"ارامكو":1,"العليان":1,"اتصالات":1,"بازار":1,"ابوظبي":1,"كاثوليك":1,"همراه":1,"닷컴":1,"政府":1,"شبكة":1,"بيتك":1,"عرب":1,"机构":1,"组织机构":1,"健康":1,"招聘":1,"рус":1,"大拿":1,"みんな":1,"グーグル":1,"世界":1,"書籍":1,"网址":1,"닷넷":1,"コム":1,"天主教":1,"游戏":1,"verm\xf6gensberater":1,"verm\xf6gensberatung":1,"企业":1,"信息":1,"嘉里大酒店":1,"嘉里":1,"广东":1,"政务":1,"xyz":1,"yachts":1,"yahoo":1,"yamaxun":1,"yandex":1,"yodobashi":1,"yoga":1,"yokohama":1,"you":1,"youtube":1,"yun":1,"zappos":1,"zara":1,"zero":1,"zip":1,"zone":1,"zuerich":1},"private":{"cc.ua":2,"inf.ua":2,"ltd.ua":2,"611.to":2,"graphox.us":2,"devcdnaccesso.com":3,"on-acorn.io":3,"activetrail.biz":2,"adobeaemcloud.com":2,"dev.adobeaemcloud.com":4,"hlx.live":2,"adobeaemcloud.net":2,"hlx.page":2,"hlx3.page":2,"beep.pl":2,"airkitapps.com":2,"airkitapps-au.com":2,"airkitapps.eu":2,"aivencloud.com":2,"barsy.ca":2,"compute.estate":3,"alces.network":3,"kasserver.com":2,"altervista.org":2,"alwaysdata.net":2,"myamaze.net":2,"cloudfront.net":2,"compute.amazonaws.com":4,"compute-1.amazonaws.com":4,"compute.amazonaws.com.cn":5,"us-east-1.amazonaws.com":3,"s3.cn-north-1.amazonaws.com.cn":5,"s3.dualstack.ap-northeast-1.amazonaws.com":5,"s3.dualstack.ap-northeast-2.amazonaws.com":5,"s3.ap-northeast-2.amazonaws.com":4,"s3-website.ap-northeast-2.amazonaws.com":4,"s3.dualstack.ap-south-1.amazonaws.com":5,"s3.ap-south-1.amazonaws.com":4,"s3-website.ap-south-1.amazonaws.com":4,"s3.dualstack.ap-southeast-1.amazonaws.com":5,"s3.dualstack.ap-southeast-2.amazonaws.com":5,"s3.dualstack.ca-central-1.amazonaws.com":5,"s3.ca-central-1.amazonaws.com":4,"s3-website.ca-central-1.amazonaws.com":4,"s3.dualstack.eu-central-1.amazonaws.com":5,"s3.eu-central-1.amazonaws.com":4,"s3-website.eu-central-1.amazonaws.com":4,"s3.dualstack.eu-west-1.amazonaws.com":5,"s3.dualstack.eu-west-2.amazonaws.com":5,"s3.eu-west-2.amazonaws.com":4,"s3-website.eu-west-2.amazonaws.com":4,"s3.dualstack.eu-west-3.amazonaws.com":5,"s3.eu-west-3.amazonaws.com":4,"s3-website.eu-west-3.amazonaws.com":4,"s3.amazonaws.com":3,"s3-ap-northeast-1.amazonaws.com":3,"s3-ap-northeast-2.amazonaws.com":3,"s3-ap-south-1.amazonaws.com":3,"s3-ap-southeast-1.amazonaws.com":3,"s3-ap-southeast-2.amazonaws.com":3,"s3-ca-central-1.amazonaws.com":3,"s3-eu-central-1.amazonaws.com":3,"s3-eu-west-1.amazonaws.com":3,"s3-eu-west-2.amazonaws.com":3,"s3-eu-west-3.amazonaws.com":3,"s3-external-1.amazonaws.com":3,"s3-fips-us-gov-west-1.amazonaws.com":3,"s3-sa-east-1.amazonaws.com":3,"s3-us-east-2.amazonaws.com":3,"s3-us-gov-west-1.amazonaws.com":3,"s3-us-west-1.amazonaws.com":3,"s3-us-west-2.amazonaws.com":3,"s3-website-ap-northeast-1.amazonaws.com":3,"s3-website-ap-southeast-1.amazonaws.com":3,"s3-website-ap-southeast-2.amazonaws.com":3,"s3-website-eu-west-1.amazonaws.com":3,"s3-website-sa-east-1.amazonaws.com":3,"s3-website-us-east-1.amazonaws.com":3,"s3-website-us-west-1.amazonaws.com":3,"s3-website-us-west-2.amazonaws.com":3,"s3.dualstack.sa-east-1.amazonaws.com":5,"s3.dualstack.us-east-1.amazonaws.com":5,"s3.dualstack.us-east-2.amazonaws.com":5,"s3.us-east-2.amazonaws.com":4,"s3-website.us-east-2.amazonaws.com":4,"vfs.cloud9.af-south-1.amazonaws.com":5,"webview-assets.cloud9.af-south-1.amazonaws.com":5,"vfs.cloud9.ap-east-1.amazonaws.com":5,"webview-assets.cloud9.ap-east-1.amazonaws.com":5,"vfs.cloud9.ap-northeast-1.amazonaws.com":5,"webview-assets.cloud9.ap-northeast-1.amazonaws.com":5,"vfs.cloud9.ap-northeast-2.amazonaws.com":5,"webview-assets.cloud9.ap-northeast-2.amazonaws.com":5,"vfs.cloud9.ap-northeast-3.amazonaws.com":5,"webview-assets.cloud9.ap-northeast-3.amazonaws.com":5,"vfs.cloud9.ap-south-1.amazonaws.com":5,"webview-assets.cloud9.ap-south-1.amazonaws.com":5,"vfs.cloud9.ap-southeast-1.amazonaws.com":5,"webview-assets.cloud9.ap-southeast-1.amazonaws.com":5,"vfs.cloud9.ap-southeast-2.amazonaws.com":5,"webview-assets.cloud9.ap-southeast-2.amazonaws.com":5,"vfs.cloud9.ca-central-1.amazonaws.com":5,"webview-assets.cloud9.ca-central-1.amazonaws.com":5,"vfs.cloud9.eu-central-1.amazonaws.com":5,"webview-assets.cloud9.eu-central-1.amazonaws.com":5,"vfs.cloud9.eu-north-1.amazonaws.com":5,"webview-assets.cloud9.eu-north-1.amazonaws.com":5,"vfs.cloud9.eu-south-1.amazonaws.com":5,"webview-assets.cloud9.eu-south-1.amazonaws.com":5,"vfs.cloud9.eu-west-1.amazonaws.com":5,"webview-assets.cloud9.eu-west-1.amazonaws.com":5,"vfs.cloud9.eu-west-2.amazonaws.com":5,"webview-assets.cloud9.eu-west-2.amazonaws.com":5,"vfs.cloud9.eu-west-3.amazonaws.com":5,"webview-assets.cloud9.eu-west-3.amazonaws.com":5,"vfs.cloud9.me-south-1.amazonaws.com":5,"webview-assets.cloud9.me-south-1.amazonaws.com":5,"vfs.cloud9.sa-east-1.amazonaws.com":5,"webview-assets.cloud9.sa-east-1.amazonaws.com":5,"vfs.cloud9.us-east-1.amazonaws.com":5,"webview-assets.cloud9.us-east-1.amazonaws.com":5,"vfs.cloud9.us-east-2.amazonaws.com":5,"webview-assets.cloud9.us-east-2.amazonaws.com":5,"vfs.cloud9.us-west-1.amazonaws.com":5,"webview-assets.cloud9.us-west-1.amazonaws.com":5,"vfs.cloud9.us-west-2.amazonaws.com":5,"webview-assets.cloud9.us-west-2.amazonaws.com":5,"cn-north-1.eb.amazonaws.com.cn":5,"cn-northwest-1.eb.amazonaws.com.cn":5,"elasticbeanstalk.com":2,"ap-northeast-1.elasticbeanstalk.com":3,"ap-northeast-2.elasticbeanstalk.com":3,"ap-northeast-3.elasticbeanstalk.com":3,"ap-south-1.elasticbeanstalk.com":3,"ap-southeast-1.elasticbeanstalk.com":3,"ap-southeast-2.elasticbeanstalk.com":3,"ca-central-1.elasticbeanstalk.com":3,"eu-central-1.elasticbeanstalk.com":3,"eu-west-1.elasticbeanstalk.com":3,"eu-west-2.elasticbeanstalk.com":3,"eu-west-3.elasticbeanstalk.com":3,"sa-east-1.elasticbeanstalk.com":3,"us-east-1.elasticbeanstalk.com":3,"us-east-2.elasticbeanstalk.com":3,"us-gov-west-1.elasticbeanstalk.com":3,"us-west-1.elasticbeanstalk.com":3,"us-west-2.elasticbeanstalk.com":3,"elb.amazonaws.com.cn":5,"elb.amazonaws.com":4,"awsglobalaccelerator.com":2,"eero.online":2,"eero-stage.online":2,"t3l3p0rt.net":2,"tele.amune.org":3,"apigee.io":2,"siiites.com":2,"appspacehosted.com":2,"appspaceusercontent.com":2,"appudo.net":2,"on-aptible.com":2,"user.aseinet.ne.jp":4,"gv.vc":2,"d.gv.vc":3,"user.party.eus":3,"pimienta.org":2,"poivron.org":2,"potager.org":2,"sweetpepper.org":2,"myasustor.com":2,"cdn.prod.atlassian-dev.net":4,"translated.page":2,"myfritz.net":2,"onavstack.net":2,"awdev.ca":3,"advisor.ws":3,"ecommerce-shop.pl":2,"b-data.io":2,"backplaneapp.io":2,"balena-devices.com":2,"rs.ba":2,"banzai.cloud":3,"app.banzaicloud.io":3,"backyards.banzaicloud.io":4,"base.ec":2,"official.ec":2,"buyshop.jp":2,"fashionstore.jp":2,"handcrafted.jp":2,"kawaiishop.jp":2,"supersale.jp":2,"theshop.jp":2,"shopselect.net":2,"base.shop":2,"beagleboard.io":2,"beget.app":3,"betainabox.com":2,"bnr.la":2,"bitbucket.io":2,"blackbaudcdn.net":2,"of.je":2,"bluebite.io":2,"boomla.net":2,"boutir.com":2,"boxfuse.io":2,"square7.ch":2,"bplaced.com":2,"bplaced.de":2,"square7.de":2,"bplaced.net":2,"square7.net":2,"shop.brendly.rs":3,"browsersafetymark.io":2,"uk0.bigv.io":3,"dh.bytemark.co.uk":4,"vm.bytemark.co.uk":4,"cafjs.com":2,"mycd.eu":2,"drr.ac":2,"uwu.ai":2,"carrd.co":2,"crd.co":2,"ju.mp":2,"ae.org":2,"br.com":2,"cn.com":2,"com.de":2,"com.se":2,"de.com":2,"eu.com":2,"gb.net":2,"hu.net":2,"jp.net":2,"jpn.com":2,"mex.com":2,"ru.com":2,"sa.com":2,"se.net":2,"uk.com":2,"uk.net":2,"us.com":2,"za.bz":2,"za.com":2,"ar.com":2,"hu.com":2,"kr.com":2,"no.com":2,"qc.com":2,"uy.com":2,"africa.com":2,"gr.com":2,"in.net":2,"web.in":2,"us.org":2,"co.com":2,"aus.basketball":2,"nz.basketball":2,"radio.am":2,"radio.fm":2,"c.la":2,"certmgr.org":2,"cx.ua":2,"discourse.group":2,"discourse.team":2,"cleverapps.io":2,"clerk.app":2,"clerkstage.app":2,"lcl.dev":3,"lclstage.dev":3,"stg.dev":3,"stgstage.dev":3,"clickrising.net":2,"c66.me":2,"cloud66.ws":2,"cloud66.zone":2,"jdevcloud.com":2,"wpdevcloud.com":2,"cloudaccess.host":2,"freesite.host":2,"cloudaccess.net":2,"cloudcontrolled.com":2,"cloudcontrolapp.com":2,"cloudera.site":3,"cf-ipfs.com":2,"cloudflare-ipfs.com":2,"trycloudflare.com":2,"pages.dev":2,"r2.dev":2,"workers.dev":2,"wnext.app":2,"co.ca":2,"otap.co":3,"co.cz":2,"c.cdn77.org":3,"cdn77-ssl.net":2,"r.cdn77.net":3,"rsc.cdn77.org":3,"ssl.origin.cdn77-secure.org":4,"cloudns.asia":2,"cloudns.biz":2,"cloudns.club":2,"cloudns.cc":2,"cloudns.eu":2,"cloudns.in":2,"cloudns.info":2,"cloudns.org":2,"cloudns.pro":2,"cloudns.pw":2,"cloudns.us":2,"cnpy.gdn":2,"codeberg.page":2,"co.nl":2,"co.no":2,"webhosting.be":2,"hosting-cluster.nl":2,"ac.ru":2,"edu.ru":2,"gov.ru":2,"int.ru":2,"mil.ru":2,"test.ru":2,"dyn.cosidns.de":3,"dynamisches-dns.de":2,"dnsupdater.de":2,"internet-dns.de":2,"l-o-g-i-n.de":2,"dynamic-dns.info":2,"feste-ip.net":2,"knx-server.net":2,"static-access.net":2,"realm.cz":2,"cryptonomic.net":3,"cupcake.is":2,"curv.dev":2,"customer-oci.com":3,"oci.customer-oci.com":4,"ocp.customer-oci.com":4,"ocs.customer-oci.com":4,"cyon.link":2,"cyon.site":2,"fnwk.site":2,"folionetwork.site":2,"platform0.app":2,"daplie.me":2,"localhost.daplie.me":3,"dattolocal.com":2,"dattorelay.com":2,"dattoweb.com":2,"mydatto.com":2,"dattolocal.net":2,"mydatto.net":2,"biz.dk":2,"co.dk":2,"firm.dk":2,"reg.dk":2,"store.dk":2,"dyndns.dappnode.io":3,"dapps.earth":3,"bzz.dapps.earth":4,"builtwithdark.com":2,"demo.datadetect.com":3,"instance.datadetect.com":3,"edgestack.me":2,"ddns5.com":2,"debian.net":2,"deno.dev":2,"deno-staging.dev":2,"dedyn.io":2,"deta.app":2,"deta.dev":2,"rss.my.id":4,"diher.solutions":3,"discordsays.com":2,"discordsez.com":2,"jozi.biz":2,"dnshome.de":2,"online.th":2,"shop.th":2,"drayddns.com":2,"shoparena.pl":2,"dreamhosters.com":2,"mydrobo.com":2,"drud.io":2,"drud.us":2,"duckdns.org":2,"bip.sh":2,"bitbridge.net":2,"dy.fi":2,"tunk.org":2,"dyndns-at-home.com":2,"dyndns-at-work.com":2,"dyndns-blog.com":2,"dyndns-free.com":2,"dyndns-home.com":2,"dyndns-ip.com":2,"dyndns-mail.com":2,"dyndns-office.com":2,"dyndns-pics.com":2,"dyndns-remote.com":2,"dyndns-server.com":2,"dyndns-web.com":2,"dyndns-wiki.com":2,"dyndns-work.com":2,"dyndns.biz":2,"dyndns.info":2,"dyndns.org":2,"dyndns.tv":2,"at-band-camp.net":2,"ath.cx":2,"barrel-of-knowledge.info":2,"barrell-of-knowledge.info":2,"better-than.tv":2,"blogdns.com":2,"blogdns.net":2,"blogdns.org":2,"blogsite.org":2,"boldlygoingnowhere.org":2,"broke-it.net":2,"buyshouses.net":2,"cechire.com":2,"dnsalias.com":2,"dnsalias.net":2,"dnsalias.org":2,"dnsdojo.com":2,"dnsdojo.net":2,"dnsdojo.org":2,"does-it.net":2,"doesntexist.com":2,"doesntexist.org":2,"dontexist.com":2,"dontexist.net":2,"dontexist.org":2,"doomdns.com":2,"doomdns.org":2,"dvrdns.org":2,"dyn-o-saur.com":2,"dynalias.com":2,"dynalias.net":2,"dynalias.org":2,"dynathome.net":2,"dyndns.ws":2,"endofinternet.net":2,"endofinternet.org":2,"endoftheinternet.org":2,"est-a-la-maison.com":2,"est-a-la-masion.com":2,"est-le-patron.com":2,"est-mon-blogueur.com":2,"for-better.biz":2,"for-more.biz":2,"for-our.info":2,"for-some.biz":2,"for-the.biz":2,"forgot.her.name":3,"forgot.his.name":3,"from-ak.com":2,"from-al.com":2,"from-ar.com":2,"from-az.net":2,"from-ca.com":2,"from-co.net":2,"from-ct.com":2,"from-dc.com":2,"from-de.com":2,"from-fl.com":2,"from-ga.com":2,"from-hi.com":2,"from-ia.com":2,"from-id.com":2,"from-il.com":2,"from-in.com":2,"from-ks.com":2,"from-ky.com":2,"from-la.net":2,"from-ma.com":2,"from-md.com":2,"from-me.org":2,"from-mi.com":2,"from-mn.com":2,"from-mo.com":2,"from-ms.com":2,"from-mt.com":2,"from-nc.com":2,"from-nd.com":2,"from-ne.com":2,"from-nh.com":2,"from-nj.com":2,"from-nm.com":2,"from-nv.com":2,"from-ny.net":2,"from-oh.com":2,"from-ok.com":2,"from-or.com":2,"from-pa.com":2,"from-pr.com":2,"from-ri.com":2,"from-sc.com":2,"from-sd.com":2,"from-tn.com":2,"from-tx.com":2,"from-ut.com":2,"from-va.com":2,"from-vt.com":2,"from-wa.com":2,"from-wi.com":2,"from-wv.com":2,"from-wy.com":2,"ftpaccess.cc":2,"fuettertdasnetz.de":2,"game-host.org":2,"game-server.cc":2,"getmyip.com":2,"gets-it.net":2,"go.dyndns.org":3,"gotdns.com":2,"gotdns.org":2,"groks-the.info":2,"groks-this.info":2,"ham-radio-op.net":2,"here-for-more.info":2,"hobby-site.com":2,"hobby-site.org":2,"home.dyndns.org":3,"homedns.org":2,"homeftp.net":2,"homeftp.org":2,"homeip.net":2,"homelinux.com":2,"homelinux.net":2,"homelinux.org":2,"homeunix.com":2,"homeunix.net":2,"homeunix.org":2,"iamallama.com":2,"in-the-band.net":2,"is-a-anarchist.com":2,"is-a-blogger.com":2,"is-a-bookkeeper.com":2,"is-a-bruinsfan.org":2,"is-a-bulls-fan.com":2,"is-a-candidate.org":2,"is-a-caterer.com":2,"is-a-celticsfan.org":2,"is-a-chef.com":2,"is-a-chef.net":2,"is-a-chef.org":2,"is-a-conservative.com":2,"is-a-cpa.com":2,"is-a-cubicle-slave.com":2,"is-a-democrat.com":2,"is-a-designer.com":2,"is-a-doctor.com":2,"is-a-financialadvisor.com":2,"is-a-geek.com":2,"is-a-geek.net":2,"is-a-geek.org":2,"is-a-green.com":2,"is-a-guru.com":2,"is-a-hard-worker.com":2,"is-a-hunter.com":2,"is-a-knight.org":2,"is-a-landscaper.com":2,"is-a-lawyer.com":2,"is-a-liberal.com":2,"is-a-libertarian.com":2,"is-a-linux-user.org":2,"is-a-llama.com":2,"is-a-musician.com":2,"is-a-nascarfan.com":2,"is-a-nurse.com":2,"is-a-painter.com":2,"is-a-patsfan.org":2,"is-a-personaltrainer.com":2,"is-a-photographer.com":2,"is-a-player.com":2,"is-a-republican.com":2,"is-a-rockstar.com":2,"is-a-socialist.com":2,"is-a-soxfan.org":2,"is-a-student.com":2,"is-a-teacher.com":2,"is-a-techie.com":2,"is-a-therapist.com":2,"is-an-accountant.com":2,"is-an-actor.com":2,"is-an-actress.com":2,"is-an-anarchist.com":2,"is-an-artist.com":2,"is-an-engineer.com":2,"is-an-entertainer.com":2,"is-by.us":2,"is-certified.com":2,"is-found.org":2,"is-gone.com":2,"is-into-anime.com":2,"is-into-cars.com":2,"is-into-cartoons.com":2,"is-into-games.com":2,"is-leet.com":2,"is-lost.org":2,"is-not-certified.com":2,"is-saved.org":2,"is-slick.com":2,"is-uberleet.com":2,"is-very-bad.org":2,"is-very-evil.org":2,"is-very-good.org":2,"is-very-nice.org":2,"is-very-sweet.org":2,"is-with-theband.com":2,"isa-geek.com":2,"isa-geek.net":2,"isa-geek.org":2,"isa-hockeynut.com":2,"issmarterthanyou.com":2,"isteingeek.de":2,"istmein.de":2,"kicks-ass.net":2,"kicks-ass.org":2,"knowsitall.info":2,"land-4-sale.us":2,"lebtimnetz.de":2,"leitungsen.de":2,"likes-pie.com":2,"likescandy.com":2,"merseine.nu":2,"mine.nu":2,"misconfused.org":2,"mypets.ws":2,"myphotos.cc":2,"neat-url.com":2,"office-on-the.net":2,"on-the-web.tv":2,"podzone.net":2,"podzone.org":2,"readmyblog.org":2,"saves-the-whales.com":2,"scrapper-site.net":2,"scrapping.cc":2,"selfip.biz":2,"selfip.com":2,"selfip.info":2,"selfip.net":2,"selfip.org":2,"sells-for-less.com":2,"sells-for-u.com":2,"sells-it.net":2,"sellsyourhome.org":2,"servebbs.com":2,"servebbs.net":2,"servebbs.org":2,"serveftp.net":2,"serveftp.org":2,"servegame.org":2,"shacknet.nu":2,"simple-url.com":2,"space-to-rent.com":2,"stuff-4-sale.org":2,"stuff-4-sale.us":2,"teaches-yoga.com":2,"thruhere.net":2,"traeumtgerade.de":2,"webhop.biz":2,"webhop.info":2,"webhop.net":2,"webhop.org":2,"worse-than.tv":2,"writesthisblog.com":2,"ddnss.de":2,"dyn.ddnss.de":3,"dyndns.ddnss.de":3,"dyndns1.de":2,"dyn-ip24.de":2,"home-webserver.de":2,"dyn.home-webserver.de":3,"myhome-server.de":2,"ddnss.org":2,"definima.net":2,"definima.io":2,"ondigitalocean.app":2,"digitaloceanspaces.com":3,"bci.dnstrace.pro":3,"ddnsfree.com":2,"ddnsgeek.com":2,"giize.com":2,"gleeze.com":2,"kozow.com":2,"loseyourip.com":2,"ooguy.com":2,"theworkpc.com":2,"casacam.net":2,"dynu.net":2,"accesscam.org":2,"camdvr.org":2,"freeddns.org":2,"mywire.org":2,"webredirect.org":2,"myddns.rocks":2,"blogsite.xyz":2,"dynv6.net":2,"e4.cz":2,"easypanel.app":2,"easypanel.host":2,"elementor.cloud":2,"elementor.cool":2,"en-root.fr":2,"mytuleap.com":2,"tuleap-partners.com":2,"encr.app":2,"encoreapi.com":2,"onred.one":2,"staging.onred.one":3,"eu.encoway.cloud":3,"eu.org":2,"al.eu.org":3,"asso.eu.org":3,"at.eu.org":3,"au.eu.org":3,"be.eu.org":3,"bg.eu.org":3,"ca.eu.org":3,"cd.eu.org":3,"ch.eu.org":3,"cn.eu.org":3,"cy.eu.org":3,"cz.eu.org":3,"de.eu.org":3,"dk.eu.org":3,"edu.eu.org":3,"ee.eu.org":3,"es.eu.org":3,"fi.eu.org":3,"fr.eu.org":3,"gr.eu.org":3,"hr.eu.org":3,"hu.eu.org":3,"ie.eu.org":3,"il.eu.org":3,"in.eu.org":3,"int.eu.org":3,"is.eu.org":3,"it.eu.org":3,"jp.eu.org":3,"kr.eu.org":3,"lt.eu.org":3,"lu.eu.org":3,"lv.eu.org":3,"mc.eu.org":3,"me.eu.org":3,"mk.eu.org":3,"mt.eu.org":3,"my.eu.org":3,"net.eu.org":3,"ng.eu.org":3,"nl.eu.org":3,"no.eu.org":3,"nz.eu.org":3,"paris.eu.org":3,"pl.eu.org":3,"pt.eu.org":3,"q-a.eu.org":3,"ro.eu.org":3,"ru.eu.org":3,"se.eu.org":3,"si.eu.org":3,"sk.eu.org":3,"tr.eu.org":3,"uk.eu.org":3,"us.eu.org":3,"eurodir.ru":2,"eu-1.evennode.com":3,"eu-2.evennode.com":3,"eu-3.evennode.com":3,"eu-4.evennode.com":3,"us-1.evennode.com":3,"us-2.evennode.com":3,"us-3.evennode.com":3,"us-4.evennode.com":3,"twmail.cc":2,"twmail.net":2,"twmail.org":2,"mymailer.com.tw":3,"url.tw":2,"onfabrica.com":2,"apps.fbsbx.com":3,"ru.net":2,"adygeya.ru":2,"bashkiria.ru":2,"bir.ru":2,"cbg.ru":2,"com.ru":2,"dagestan.ru":2,"grozny.ru":2,"kalmykia.ru":2,"kustanai.ru":2,"marine.ru":2,"mordovia.ru":2,"msk.ru":2,"mytis.ru":2,"nalchik.ru":2,"nov.ru":2,"pyatigorsk.ru":2,"spb.ru":2,"vladikavkaz.ru":2,"vladimir.ru":2,"abkhazia.su":2,"adygeya.su":2,"aktyubinsk.su":2,"arkhangelsk.su":2,"armenia.su":2,"ashgabad.su":2,"azerbaijan.su":2,"balashov.su":2,"bashkiria.su":2,"bryansk.su":2,"bukhara.su":2,"chimkent.su":2,"dagestan.su":2,"east-kazakhstan.su":2,"exnet.su":2,"georgia.su":2,"grozny.su":2,"ivanovo.su":2,"jambyl.su":2,"kalmykia.su":2,"kaluga.su":2,"karacol.su":2,"karaganda.su":2,"karelia.su":2,"khakassia.su":2,"krasnodar.su":2,"kurgan.su":2,"kustanai.su":2,"lenug.su":2,"mangyshlak.su":2,"mordovia.su":2,"msk.su":2,"murmansk.su":2,"nalchik.su":2,"navoi.su":2,"north-kazakhstan.su":2,"nov.su":2,"obninsk.su":2,"penza.su":2,"pokrovsk.su":2,"sochi.su":2,"spb.su":2,"tashkent.su":2,"termez.su":2,"togliatti.su":2,"troitsk.su":2,"tselinograd.su":2,"tula.su":2,"tuva.su":2,"vladikavkaz.su":2,"vladimir.su":2,"vologda.su":2,"channelsdvr.net":2,"u.channelsdvr.net":3,"edgecompute.app":2,"fastly-terrarium.com":2,"fastlylb.net":2,"map.fastlylb.net":3,"freetls.fastly.net":3,"map.fastly.net":3,"a.prod.fastly.net":4,"global.prod.fastly.net":4,"a.ssl.fastly.net":4,"b.ssl.fastly.net":4,"global.ssl.fastly.net":4,"user.fm":3,"fastvps-server.com":2,"fastvps.host":2,"myfast.host":2,"fastvps.site":2,"myfast.space":2,"fedorainfracloud.org":2,"fedorapeople.org":2,"cloud.fedoraproject.org":3,"app.os.fedoraproject.org":4,"app.os.stg.fedoraproject.org":5,"conn.uk":2,"copro.uk":2,"hosp.uk":2,"mydobiss.com":2,"fh-muenster.io":2,"filegear.me":2,"filegear-au.me":2,"filegear-de.me":2,"filegear-gb.me":2,"filegear-ie.me":2,"filegear-jp.me":2,"filegear-sg.me":2,"firebaseapp.com":2,"fireweb.app":2,"flap.id":2,"onflashdrive.app":2,"fldrv.com":2,"fly.dev":2,"edgeapp.net":2,"shw.io":2,"flynnhosting.net":2,"forgeblocks.com":2,"id.forgerock.io":3,"framer.app":2,"framercanvas.com":2,"framer.media":2,"framer.photos":2,"framer.website":2,"framer.wiki":2,"frusky.de":3,"ravpage.co.il":3,"0e.vc":2,"freebox-os.com":2,"freeboxos.com":2,"fbx-os.fr":2,"fbxos.fr":2,"freebox-os.fr":2,"freeboxos.fr":2,"freedesktop.org":2,"freemyip.com":2,"wien.funkfeuer.at":3,"futurecms.at":3,"ex.futurecms.at":4,"in.futurecms.at":4,"futurehosting.at":2,"futuremailing.at":2,"ex.ortsinfo.at":4,"kunden.ortsinfo.at":4,"statics.cloud":3,"independent-commission.uk":2,"independent-inquest.uk":2,"independent-inquiry.uk":2,"independent-panel.uk":2,"independent-review.uk":2,"public-inquiry.uk":2,"royal-commission.uk":2,"campaign.gov.uk":3,"service.gov.uk":3,"api.gov.uk":3,"gehirn.ne.jp":3,"usercontent.jp":2,"gentapps.com":2,"gentlentapis.com":2,"lab.ms":2,"cdn-edges.net":2,"ghost.io":2,"gsj.bz":2,"githubusercontent.com":2,"githubpreview.dev":2,"github.io":2,"gitlab.io":2,"gitapp.si":2,"gitpage.si":2,"glitch.me":2,"nog.community":2,"co.ro":2,"shop.ro":2,"lolipop.io":2,"angry.jp":2,"babyblue.jp":2,"babymilk.jp":2,"backdrop.jp":2,"bambina.jp":2,"bitter.jp":2,"blush.jp":2,"boo.jp":2,"boy.jp":2,"boyfriend.jp":2,"but.jp":2,"candypop.jp":2,"capoo.jp":2,"catfood.jp":2,"cheap.jp":2,"chicappa.jp":2,"chillout.jp":2,"chips.jp":2,"chowder.jp":2,"chu.jp":2,"ciao.jp":2,"cocotte.jp":2,"coolblog.jp":2,"cranky.jp":2,"cutegirl.jp":2,"daa.jp":2,"deca.jp":2,"deci.jp":2,"digick.jp":2,"egoism.jp":2,"fakefur.jp":2,"fem.jp":2,"flier.jp":2,"floppy.jp":2,"fool.jp":2,"frenchkiss.jp":2,"girlfriend.jp":2,"girly.jp":2,"gloomy.jp":2,"gonna.jp":2,"greater.jp":2,"hacca.jp":2,"heavy.jp":2,"her.jp":2,"hiho.jp":2,"hippy.jp":2,"holy.jp":2,"hungry.jp":2,"icurus.jp":2,"itigo.jp":2,"jellybean.jp":2,"kikirara.jp":2,"kill.jp":2,"kilo.jp":2,"kuron.jp":2,"littlestar.jp":2,"lolipopmc.jp":2,"lolitapunk.jp":2,"lomo.jp":2,"lovepop.jp":2,"lovesick.jp":2,"main.jp":2,"mods.jp":2,"mond.jp":2,"mongolian.jp":2,"moo.jp":2,"namaste.jp":2,"nikita.jp":2,"nobushi.jp":2,"noor.jp":2,"oops.jp":2,"parallel.jp":2,"parasite.jp":2,"pecori.jp":2,"peewee.jp":2,"penne.jp":2,"pepper.jp":2,"perma.jp":2,"pigboat.jp":2,"pinoko.jp":2,"punyu.jp":2,"pupu.jp":2,"pussycat.jp":2,"pya.jp":2,"raindrop.jp":2,"readymade.jp":2,"sadist.jp":2,"schoolbus.jp":2,"secret.jp":2,"staba.jp":2,"stripper.jp":2,"sub.jp":2,"sunnyday.jp":2,"thick.jp":2,"tonkotsu.jp":2,"under.jp":2,"upper.jp":2,"velvet.jp":2,"verse.jp":2,"versus.jp":2,"vivian.jp":2,"watson.jp":2,"weblike.jp":2,"whitesnow.jp":2,"zombie.jp":2,"heteml.net":2,"cloudapps.digital":2,"london.cloudapps.digital":3,"pymnt.uk":2,"homeoffice.gov.uk":3,"ro.im":2,"goip.de":2,"run.app":2,"a.run.app":3,"web.app":2,"0emm.com":3,"appspot.com":2,"r.appspot.com":4,"codespot.com":2,"googleapis.com":2,"googlecode.com":2,"pagespeedmobilizer.com":2,"publishproxy.com":2,"withgoogle.com":2,"withyoutube.com":2,"gateway.dev":3,"cloud.goog":2,"translate.goog":2,"usercontent.goog":3,"cloudfunctions.net":2,"blogspot.ae":2,"blogspot.al":2,"blogspot.am":2,"blogspot.ba":2,"blogspot.be":2,"blogspot.bg":2,"blogspot.bj":2,"blogspot.ca":2,"blogspot.cf":2,"blogspot.ch":2,"blogspot.cl":2,"blogspot.co.at":3,"blogspot.co.id":3,"blogspot.co.il":3,"blogspot.co.ke":3,"blogspot.co.nz":3,"blogspot.co.uk":3,"blogspot.co.za":3,"blogspot.com":2,"blogspot.com.ar":3,"blogspot.com.au":3,"blogspot.com.br":3,"blogspot.com.by":3,"blogspot.com.co":3,"blogspot.com.cy":3,"blogspot.com.ee":3,"blogspot.com.eg":3,"blogspot.com.es":3,"blogspot.com.mt":3,"blogspot.com.ng":3,"blogspot.com.tr":3,"blogspot.com.uy":3,"blogspot.cv":2,"blogspot.cz":2,"blogspot.de":2,"blogspot.dk":2,"blogspot.fi":2,"blogspot.fr":2,"blogspot.gr":2,"blogspot.hk":2,"blogspot.hr":2,"blogspot.hu":2,"blogspot.ie":2,"blogspot.in":2,"blogspot.is":2,"blogspot.it":2,"blogspot.jp":2,"blogspot.kr":2,"blogspot.li":2,"blogspot.lt":2,"blogspot.lu":2,"blogspot.md":2,"blogspot.mk":2,"blogspot.mr":2,"blogspot.mx":2,"blogspot.my":2,"blogspot.nl":2,"blogspot.no":2,"blogspot.pe":2,"blogspot.pt":2,"blogspot.qa":2,"blogspot.re":2,"blogspot.ro":2,"blogspot.rs":2,"blogspot.ru":2,"blogspot.se":2,"blogspot.sg":2,"blogspot.si":2,"blogspot.sk":2,"blogspot.sn":2,"blogspot.td":2,"blogspot.tw":2,"blogspot.ug":2,"blogspot.vn":2,"goupile.fr":2,"gov.nl":2,"awsmppl.com":2,"g\xfcnstigbestellen.de":2,"g\xfcnstigliefern.de":2,"fin.ci":2,"free.hr":2,"caa.li":2,"ua.rs":2,"conf.se":2,"hs.zone":2,"hs.run":2,"hashbang.sh":2,"hasura.app":2,"hasura-app.io":2,"pages.it.hs-heilbronn.de":4,"hepforge.org":2,"herokuapp.com":2,"herokussl.com":2,"ravendb.cloud":2,"ravendb.community":2,"ravendb.me":2,"development.run":2,"ravendb.run":2,"homesklep.pl":2,"secaas.hk":2,"hoplix.shop":2,"orx.biz":2,"biz.gl":2,"col.ng":2,"firm.ng":2,"gen.ng":2,"ltd.ng":2,"ngo.ng":2,"edu.scot":2,"sch.so":2,"hostyhosting.io":2,"h\xe4kkinen.fi":2,"moonscale.io":3,"moonscale.net":2,"iki.fi":2,"ibxos.it":2,"iliadboxos.it":2,"impertrixcdn.com":2,"impertrix.com":2,"smushcdn.com":2,"wphostedmail.com":2,"wpmucdn.com":2,"tempurl.host":2,"wpmudev.host":2,"dyn-berlin.de":2,"in-berlin.de":2,"in-brb.de":2,"in-butter.de":2,"in-dsl.de":2,"in-dsl.net":2,"in-dsl.org":2,"in-vpn.de":2,"in-vpn.net":2,"in-vpn.org":2,"biz.at":2,"info.at":2,"info.cx":2,"ac.leg.br":3,"al.leg.br":3,"am.leg.br":3,"ap.leg.br":3,"ba.leg.br":3,"ce.leg.br":3,"df.leg.br":3,"es.leg.br":3,"go.leg.br":3,"ma.leg.br":3,"mg.leg.br":3,"ms.leg.br":3,"mt.leg.br":3,"pa.leg.br":3,"pb.leg.br":3,"pe.leg.br":3,"pi.leg.br":3,"pr.leg.br":3,"rj.leg.br":3,"rn.leg.br":3,"ro.leg.br":3,"rr.leg.br":3,"rs.leg.br":3,"sc.leg.br":3,"se.leg.br":3,"sp.leg.br":3,"to.leg.br":3,"pixolino.com":2,"na4u.ru":2,"iopsys.se":2,"ipifony.net":2,"iservschule.de":2,"mein-iserv.de":2,"schulplattform.de":2,"schulserver.de":2,"test-iserv.de":2,"iserv.dev":2,"iobb.net":2,"mel.cloudlets.com.au":4,"cloud.interhostsolutions.be":3,"users.scale.virtualcloud.com.br":5,"mycloud.by":2,"alp1.ae.flow.ch":4,"appengine.flow.ch":3,"es-1.axarnet.cloud":3,"diadem.cloud":2,"vip.jelastic.cloud":3,"jele.cloud":2,"it1.eur.aruba.jenv-aruba.cloud":5,"it1.jenv-aruba.cloud":3,"keliweb.cloud":2,"cs.keliweb.cloud":3,"oxa.cloud":2,"tn.oxa.cloud":3,"uk.oxa.cloud":3,"primetel.cloud":2,"uk.primetel.cloud":3,"ca.reclaim.cloud":3,"uk.reclaim.cloud":3,"us.reclaim.cloud":3,"ch.trendhosting.cloud":3,"de.trendhosting.cloud":3,"jele.club":2,"amscompute.com":2,"clicketcloud.com":2,"dopaas.com":2,"hidora.com":2,"paas.hosted-by-previder.com":3,"rag-cloud.hosteur.com":3,"rag-cloud-ch.hosteur.com":3,"jcloud.ik-server.com":3,"jcloud-ver-jpc.ik-server.com":3,"demo.jelastic.com":3,"kilatiron.com":2,"paas.massivegrid.com":3,"jed.wafaicloud.com":3,"lon.wafaicloud.com":3,"ryd.wafaicloud.com":3,"j.scaleforce.com.cy":4,"jelastic.dogado.eu":3,"fi.cloudplatform.fi":3,"demo.datacenter.fi":3,"paas.datacenter.fi":3,"jele.host":2,"mircloud.host":2,"paas.beebyte.io":3,"sekd1.beebyteapp.io":3,"jele.io":2,"cloud-fr1.unispace.io":3,"jc.neen.it":3,"cloud.jelastic.open.tim.it":5,"jcloud.kz":2,"upaas.kazteleport.kz":3,"cloudjiffy.net":2,"fra1-de.cloudjiffy.net":3,"west1-us.cloudjiffy.net":3,"jls-sto1.elastx.net":3,"jls-sto2.elastx.net":3,"jls-sto3.elastx.net":3,"faststacks.net":2,"fr-1.paas.massivegrid.net":4,"lon-1.paas.massivegrid.net":4,"lon-2.paas.massivegrid.net":4,"ny-1.paas.massivegrid.net":4,"ny-2.paas.massivegrid.net":4,"sg-1.paas.massivegrid.net":4,"jelastic.saveincloud.net":3,"nordeste-idc.saveincloud.net":3,"j.scaleforce.net":3,"jelastic.tsukaeru.net":3,"sdscloud.pl":2,"unicloud.pl":2,"mircloud.ru":2,"jelastic.regruhosting.ru":3,"enscaled.sg":2,"jele.site":2,"jelastic.team":2,"orangecloud.tn":2,"j.layershift.co.uk":4,"phx.enscaled.us":3,"mircloud.us":2,"myjino.ru":2,"hosting.myjino.ru":4,"landing.myjino.ru":4,"spectrum.myjino.ru":4,"vps.myjino.ru":4,"jotelulu.cloud":2,"triton.zone":3,"cns.joyent.com":4,"js.org":2,"kaas.gg":2,"khplay.nl":2,"ktistory.com":2,"kapsi.fi":2,"keymachine.de":2,"kinghost.net":2,"uni5.net":2,"knightpoint.systems":2,"koobin.events":2,"oya.to":2,"kuleuven.cloud":2,"ezproxy.kuleuven.be":3,"co.krd":2,"edu.krd":2,"krellian.net":2,"webthings.io":2,"git-repos.de":2,"lcube-server.de":2,"svn-repos.de":2,"leadpages.co":2,"lpages.co":2,"lpusercontent.com":2,"lelux.site":2,"co.business":2,"co.education":2,"co.events":2,"co.financial":2,"co.network":2,"co.place":2,"co.technology":2,"app.lmpm.com":3,"linkyard.cloud":2,"linkyard-cloud.ch":2,"members.linode.com":3,"nodebalancer.linode.com":4,"linodeobjects.com":3,"ip.linodeusercontent.com":3,"we.bs":2,"user.localcert.dev":4,"localzone.xyz":2,"loginline.app":2,"loginline.dev":2,"loginline.io":2,"loginline.services":2,"loginline.site":2,"servers.run":2,"lohmus.me":2,"krasnik.pl":2,"leczna.pl":2,"lubartow.pl":2,"lublin.pl":2,"poniatowa.pl":2,"swidnik.pl":2,"glug.org.uk":3,"lug.org.uk":3,"lugs.org.uk":3,"barsy.bg":2,"barsy.co.uk":3,"barsyonline.co.uk":3,"barsycenter.com":2,"barsyonline.com":2,"barsy.club":2,"barsy.de":2,"barsy.eu":2,"barsy.in":2,"barsy.info":2,"barsy.io":2,"barsy.me":2,"barsy.menu":2,"barsy.mobi":2,"barsy.net":2,"barsy.online":2,"barsy.org":2,"barsy.pro":2,"barsy.pub":2,"barsy.ro":2,"barsy.shop":2,"barsy.site":2,"barsy.support":2,"barsy.uk":2,"magentosite.cloud":3,"mayfirst.info":2,"mayfirst.org":2,"hb.cldmail.ru":3,"cn.vu":2,"mazeplay.com":2,"mcpe.me":2,"mcdir.me":2,"mcdir.ru":2,"mcpre.ru":2,"vps.mcdir.ru":3,"mediatech.by":2,"mediatech.dev":2,"hra.health":2,"miniserver.com":2,"memset.net":2,"messerli.app":2,"cloud.metacentrum.cz":4,"custom.metacentrum.cz":3,"flt.cloud.muni.cz":4,"usr.cloud.muni.cz":4,"meteorapp.com":2,"eu.meteorapp.com":3,"co.pl":2,"azurecontainer.io":3,"azurewebsites.net":2,"azure-mobile.net":2,"cloudapp.net":2,"azurestaticapps.net":2,"1.azurestaticapps.net":3,"2.azurestaticapps.net":3,"centralus.azurestaticapps.net":3,"eastasia.azurestaticapps.net":3,"eastus2.azurestaticapps.net":3,"westeurope.azurestaticapps.net":3,"westus2.azurestaticapps.net":3,"csx.cc":2,"mintere.site":2,"forte.id":2,"mozilla-iot.org":2,"bmoattachments.org":2,"net.ru":2,"org.ru":2,"pp.ru":2,"hostedpi.com":2,"customer.mythic-beasts.com":3,"caracal.mythic-beasts.com":3,"fentiger.mythic-beasts.com":3,"lynx.mythic-beasts.com":3,"ocelot.mythic-beasts.com":3,"oncilla.mythic-beasts.com":3,"onza.mythic-beasts.com":3,"sphinx.mythic-beasts.com":3,"vs.mythic-beasts.com":3,"x.mythic-beasts.com":3,"yali.mythic-beasts.com":3,"cust.retrosnub.co.uk":4,"ui.nabu.casa":3,"cloud.nospamproxy.com":3,"netlify.app":2,"4u.com":2,"ngrok.io":2,"nh-serv.co.uk":3,"nfshost.com":2,"developer.app":3,"noop.app":2,"northflank.app":3,"build.run":3,"code.run":3,"database.run":3,"migration.run":3,"noticeable.news":2,"dnsking.ch":2,"mypi.co":2,"n4t.co":2,"001www.com":2,"ddnslive.com":2,"myiphost.com":2,"forumz.info":2,"16-b.it":2,"32-b.it":2,"64-b.it":2,"soundcast.me":2,"tcp4.me":2,"dnsup.net":2,"hicam.net":2,"now-dns.net":2,"ownip.net":2,"vpndns.net":2,"dynserv.org":2,"now-dns.org":2,"x443.pw":2,"now-dns.top":2,"ntdll.top":2,"freeddns.us":2,"crafting.xyz":2,"zapto.xyz":2,"nsupdate.info":2,"nerdpol.ovh":2,"blogsyte.com":2,"brasilia.me":2,"cable-modem.org":2,"ciscofreak.com":2,"collegefan.org":2,"couchpotatofries.org":2,"damnserver.com":2,"ddns.me":2,"ditchyourip.com":2,"dnsfor.me":2,"dnsiskinky.com":2,"dvrcam.info":2,"dynns.com":2,"eating-organic.net":2,"fantasyleague.cc":2,"geekgalaxy.com":2,"golffan.us":2,"health-carereform.com":2,"homesecuritymac.com":2,"homesecuritypc.com":2,"hopto.me":2,"ilovecollege.info":2,"loginto.me":2,"mlbfan.org":2,"mmafan.biz":2,"myactivedirectory.com":2,"mydissent.net":2,"myeffect.net":2,"mymediapc.net":2,"mypsx.net":2,"mysecuritycamera.com":2,"mysecuritycamera.net":2,"mysecuritycamera.org":2,"net-freaks.com":2,"nflfan.org":2,"nhlfan.net":2,"no-ip.ca":2,"no-ip.co.uk":3,"no-ip.net":2,"noip.us":2,"onthewifi.com":2,"pgafan.net":2,"point2this.com":2,"pointto.us":2,"privatizehealthinsurance.net":2,"quicksytes.com":2,"read-books.org":2,"securitytactics.com":2,"serveexchange.com":2,"servehumour.com":2,"servep2p.com":2,"servesarcasm.com":2,"stufftoread.com":2,"ufcfan.org":2,"unusualperson.com":2,"workisboring.com":2,"3utilities.com":2,"bounceme.net":2,"ddns.net":2,"ddnsking.com":2,"gotdns.ch":2,"hopto.org":2,"myftp.biz":2,"myftp.org":2,"myvnc.com":2,"no-ip.biz":2,"no-ip.info":2,"no-ip.org":2,"noip.me":2,"redirectme.net":2,"servebeer.com":2,"serveblog.net":2,"servecounterstrike.com":2,"serveftp.com":2,"servegame.com":2,"servehalflife.com":2,"servehttp.com":2,"serveirc.com":2,"serveminecraft.net":2,"servemp3.com":2,"servepics.com":2,"servequake.com":2,"sytes.net":2,"webhop.me":2,"zapto.org":2,"stage.nodeart.io":3,"pcloud.host":2,"nyc.mn":2,"static.observableusercontent.com":3,"cya.gg":2,"omg.lol":2,"cloudycluster.net":2,"omniwe.site":2,"123hjemmeside.dk":2,"123hjemmeside.no":2,"123homepage.it":2,"123kotisivu.fi":2,"123minsida.se":2,"123miweb.es":2,"123paginaweb.pt":2,"123sait.ru":2,"123siteweb.fr":2,"123webseite.at":2,"123webseite.de":2,"123website.be":2,"123website.ch":2,"123website.lu":2,"123website.nl":2,"service.one":2,"simplesite.com":2,"simplesite.com.br":3,"simplesite.gr":2,"simplesite.pl":2,"nid.io":2,"opensocial.site":2,"opencraft.hosting":2,"orsites.com":2,"operaunite.com":2,"tech.orange":2,"authgear-staging.com":2,"authgearapps.com":2,"skygearapp.com":2,"outsystemscloud.com":2,"webpaas.ovh.net":4,"hosting.ovh.net":4,"ownprovider.com":2,"own.pm":2,"owo.codes":3,"ox.rs":2,"oy.lc":2,"pgfog.com":2,"pagefrontapp.com":2,"pagexl.com":2,"paywhirl.com":3,"bar0.net":2,"bar1.net":2,"bar2.net":2,"rdv.to":2,"art.pl":2,"gliwice.pl":2,"krakow.pl":2,"poznan.pl":2,"wroc.pl":2,"zakopane.pl":2,"pantheonsite.io":2,"gotpantheon.com":2,"mypep.link":2,"perspecta.cloud":2,"lk3.ru":2,"on-web.fr":2,"bc.platform.sh":3,"ent.platform.sh":3,"eu.platform.sh":3,"us.platform.sh":3,"platformsh.site":3,"tst.site":3,"platter-app.com":2,"platter-app.dev":2,"platterp.us":2,"pdns.page":2,"plesk.page":2,"pleskns.com":2,"dyn53.io":2,"onporter.run":2,"co.bn":2,"postman-echo.com":2,"pstmn.io":2,"mock.pstmn.io":3,"httpbin.org":2,"prequalifyme.today":2,"xen.prgmr.com":3,"priv.at":2,"prvcy.page":2,"dweb.link":3,"protonet.io":2,"chirurgiens-dentistes-en-france.fr":2,"byen.site":2,"pubtls.org":2,"pythonanywhere.com":2,"eu.pythonanywhere.com":3,"qoto.io":2,"qualifioapp.com":2,"qbuser.com":2,"cloudsite.builders":2,"instances.spawn.cc":3,"instantcloud.cn":2,"ras.ru":2,"qa2.com":2,"qcx.io":2,"sys.qcx.io":4,"dev-myqnapcloud.com":2,"alpha-myqnapcloud.com":2,"myqnapcloud.com":2,"quipelements.com":3,"vapor.cloud":2,"vaporcloud.io":2,"rackmaze.com":2,"rackmaze.net":2,"g.vbrplsbx.io":3,"on-k3s.io":3,"on-rancher.cloud":3,"on-rio.io":3,"readthedocs.io":2,"rhcloud.com":2,"app.render.com":3,"onrender.com":2,"firewalledreplit.co":2,"id.firewalledreplit.co":3,"repl.co":2,"id.repl.co":3,"repl.run":2,"resindevice.io":2,"devices.resinstaging.io":3,"hzc.io":2,"wellbeingzone.eu":2,"wellbeingzone.co.uk":3,"adimo.co.uk":3,"itcouldbewor.se":2,"git-pages.rit.edu":3,"rocky.page":2,"биз.рус":2,"ком.рус":2,"крым.рус":2,"мир.рус":2,"мск.рус":2,"орг.рус":2,"самара.рус":2,"сочи.рус":2,"спб.рус":2,"я.рус":2,"builder.code.com":4,"dev-builder.code.com":4,"stg-builder.code.com":4,"sandcats.io":2,"logoip.de":2,"logoip.com":2,"fr-par-1.baremetal.scw.cloud":4,"fr-par-2.baremetal.scw.cloud":4,"nl-ams-1.baremetal.scw.cloud":4,"fnc.fr-par.scw.cloud":4,"functions.fnc.fr-par.scw.cloud":5,"k8s.fr-par.scw.cloud":4,"nodes.k8s.fr-par.scw.cloud":5,"s3.fr-par.scw.cloud":4,"s3-website.fr-par.scw.cloud":4,"whm.fr-par.scw.cloud":4,"priv.instances.scw.cloud":4,"pub.instances.scw.cloud":4,"k8s.scw.cloud":3,"k8s.nl-ams.scw.cloud":4,"nodes.k8s.nl-ams.scw.cloud":5,"s3.nl-ams.scw.cloud":4,"s3-website.nl-ams.scw.cloud":4,"whm.nl-ams.scw.cloud":4,"k8s.pl-waw.scw.cloud":4,"nodes.k8s.pl-waw.scw.cloud":5,"s3.pl-waw.scw.cloud":4,"s3-website.pl-waw.scw.cloud":4,"scalebook.scw.cloud":3,"smartlabeling.scw.cloud":3,"dedibox.fr":2,"schokokeks.net":2,"gov.scot":2,"service.gov.scot":3,"scrysec.com":2,"firewall-gateway.com":2,"firewall-gateway.de":2,"my-gateway.de":2,"my-router.de":2,"spdns.de":2,"spdns.eu":2,"firewall-gateway.net":2,"my-firewall.org":2,"myfirewall.org":2,"spdns.org":2,"seidat.net":2,"sellfy.store":2,"senseering.net":2,"minisite.ms":2,"magnet.page":2,"biz.ua":2,"co.ua":2,"pp.ua":2,"shiftcrypto.dev":2,"shiftcrypto.io":2,"shiftedit.io":2,"myshopblocks.com":2,"myshopify.com":2,"shopitsite.com":2,"shopware.store":2,"mo-siemens.io":2,"1kapp.com":2,"appchizi.com":2,"applinzi.com":2,"sinaapp.com":2,"vipsinaapp.com":2,"siteleaf.net":2,"bounty-full.com":2,"alpha.bounty-full.com":3,"beta.bounty-full.com":3,"small-web.org":2,"vp4.me":2,"streamlitapp.com":2,"try-snowplow.com":2,"srht.site":2,"stackhero-network.com":2,"musician.io":2,"novecore.site":2,"static.land":2,"dev.static.land":3,"sites.static.land":3,"storebase.store":2,"vps-host.net":2,"atl.jelastic.vps-host.net":4,"njs.jelastic.vps-host.net":4,"ric.jelastic.vps-host.net":4,"playstation-cloud.com":2,"apps.lair.io":3,"stolos.io":3,"spacekit.io":2,"customer.speedpartner.de":3,"myspreadshop.at":2,"myspreadshop.com.au":3,"myspreadshop.be":2,"myspreadshop.ca":2,"myspreadshop.ch":2,"myspreadshop.com":2,"myspreadshop.de":2,"myspreadshop.dk":2,"myspreadshop.es":2,"myspreadshop.fi":2,"myspreadshop.fr":2,"myspreadshop.ie":2,"myspreadshop.it":2,"myspreadshop.net":2,"myspreadshop.nl":2,"myspreadshop.no":2,"myspreadshop.pl":2,"myspreadshop.se":2,"myspreadshop.co.uk":3,"api.stdlib.com":3,"storj.farm":2,"utwente.io":2,"soc.srcf.net":3,"user.srcf.net":3,"temp-dns.com":2,"supabase.co":2,"supabase.in":2,"supabase.net":2,"su.paba.se":3,"s5y.io":3,"sensiosite.cloud":3,"syncloud.it":2,"dscloud.biz":2,"direct.quickconnect.cn":3,"dsmynas.com":2,"familyds.com":2,"diskstation.me":2,"dscloud.me":2,"i234.me":2,"myds.me":2,"synology.me":2,"dscloud.mobi":2,"dsmynas.net":2,"familyds.net":2,"dsmynas.org":2,"familyds.org":2,"vpnplus.to":2,"direct.quickconnect.to":3,"tabitorder.co.il":3,"mytabit.co.il":3,"mytabit.com":2,"taifun-dns.de":2,"beta.tailscale.net":3,"ts.net":2,"gda.pl":2,"gdansk.pl":2,"gdynia.pl":2,"med.pl":2,"sopot.pl":2,"site.tb-hosting.com":3,"edugit.io":2,"s3.teckids.org":3,"telebit.app":2,"telebit.io":2,"telebit.xyz":3,"firenet.ch":3,"svc.firenet.ch":4,"reservd.com":2,"thingdustdata.com":2,"cust.dev.thingdust.io":4,"cust.disrec.thingdust.io":4,"cust.prod.thingdust.io":4,"cust.testing.thingdust.io":4,"reservd.dev.thingdust.io":4,"reservd.disrec.thingdust.io":4,"reservd.testing.thingdust.io":4,"tickets.io":2,"arvo.network":2,"azimuth.network":2,"tlon.network":2,"torproject.net":2,"pages.torproject.net":3,"bloxcms.com":2,"townnews-staging.com":2,"12hp.at":2,"2ix.at":2,"4lima.at":2,"lima-city.at":2,"12hp.ch":2,"2ix.ch":2,"4lima.ch":2,"lima-city.ch":2,"trafficplex.cloud":2,"de.cool":2,"12hp.de":2,"2ix.de":2,"4lima.de":2,"lima-city.de":2,"1337.pictures":2,"clan.rip":2,"lima-city.rocks":2,"webspace.rocks":2,"lima.zone":2,"transurl.be":3,"transurl.eu":3,"transurl.nl":3,"site.transip.me":3,"tuxfamily.org":2,"dd-dns.de":2,"diskstation.eu":2,"diskstation.org":2,"dray-dns.de":2,"draydns.de":2,"dyn-vpn.de":2,"dynvpn.de":2,"mein-vigor.de":2,"my-vigor.de":2,"my-wan.de":2,"syno-ds.de":2,"synology-diskstation.de":2,"synology-ds.de":2,"typedream.app":2,"pro.typeform.com":3,"uber.space":2,"uberspace.de":3,"hk.com":2,"hk.org":2,"ltd.hk":2,"inc.hk":2,"name.pm":2,"sch.tf":2,"biz.wf":2,"sch.wf":2,"org.yt":2,"virtualuser.de":2,"virtual-user.de":2,"upli.io":2,"urown.cloud":2,"dnsupdate.info":2,"lib.de.us":3,"2038.io":2,"vercel.app":2,"vercel.dev":2,"now.sh":2,"router.management":2,"v-info.info":2,"voorloper.cloud":2,"neko.am":2,"nyaa.am":2,"be.ax":2,"cat.ax":2,"es.ax":2,"eu.ax":2,"gg.ax":2,"mc.ax":2,"us.ax":2,"xy.ax":2,"nl.ci":2,"xx.gl":2,"app.gp":2,"blog.gt":2,"de.gt":2,"to.gt":2,"be.gy":2,"cc.hn":2,"blog.kg":2,"io.kg":2,"jp.kg":2,"tv.kg":2,"uk.kg":2,"us.kg":2,"de.ls":2,"at.md":2,"de.md":2,"jp.md":2,"to.md":2,"indie.porn":2,"vxl.sh":2,"ch.tc":2,"me.tc":2,"we.tc":2,"nyan.to":2,"at.vg":2,"blog.vu":2,"dev.vu":2,"me.vu":2,"v.ua":2,"vultrobjects.com":3,"wafflecell.com":2,"webhare.dev":3,"reserve-online.net":2,"reserve-online.com":2,"bookonline.app":2,"hotelwithflight.com":2,"wedeploy.io":2,"wedeploy.me":2,"wedeploy.sh":2,"remotewd.com":2,"pages.wiardweb.com":3,"wmflabs.org":2,"toolforge.org":2,"wmcloud.org":2,"panel.gg":2,"daemon.panel.gg":3,"messwithdns.com":2,"woltlab-demo.com":2,"myforum.community":2,"community-pro.de":2,"diskussionsbereich.de":2,"community-pro.net":2,"meinforum.net":2,"affinitylottery.org.uk":3,"raffleentry.org.uk":3,"weeklylottery.org.uk":3,"wpenginepowered.com":2,"js.wpenginepowered.com":3,"wixsite.com":2,"editorx.io":2,"half.host":2,"xnbay.com":2,"u2.xnbay.com":3,"u2-local.xnbay.com":3,"cistron.nl":2,"demon.nl":2,"xs4all.space":2,"yandexcloud.net":2,"storage.yandexcloud.net":3,"website.yandexcloud.net":3,"official.academy":2,"yolasite.com":2,"ybo.faith":2,"yombo.me":2,"homelink.one":2,"ybo.party":2,"ybo.review":2,"ybo.science":2,"ybo.trade":2,"ynh.fr":2,"nohost.me":2,"noho.st":2,"za.net":2,"za.org":2,"bss.design":2,"basicserver.io":2,"virtualserver.io":2,"enterprisecloud.nu":2}}')}}]);
//# sourceMappingURL=9212-48f785fd3b8f8aa9.js.map