diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/104.js b/104.js new file mode 100644 index 00000000..3bb8711c --- /dev/null +++ b/104.js @@ -0,0 +1,2 @@ +/*! For license information please see 104.js.LICENSE.txt */ +(self.webpackChunklivesplit=self.webpackChunklivesplit||[]).push([[104],{748:(e,t,r)=>{"use strict";var n,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:i,height:l},c)},p),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},4657:(e,t,r)=>{"use strict";var n,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:i,height:l},c)},p),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},53:(e,t,r)=>{"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to,default:()=>a});const a=o},4986:(e,t,r)=>{"use strict";var n=r(6540),o=r(9023),a=r(9001),i=r(6862),s=r(4049),l={blockquote:"block_quote",thematicbreak:"thematic_break",htmlblock:"html_block",htmlinline:"html_inline",codeblock:"code_block",hardbreak:"linebreak"},u={block_quote:"blockquote",emph:"em",linebreak:"br",image:"img",item:"li",link:"a",paragraph:"p",strong:"strong",thematic_break:"hr",html_block:d,html_inline:d,list:function(e){var t="bullet"===e.type.toLowerCase()?"ul":"ol",r=p(e);return null!==e.start&&1!==e.start&&(r.start=e.start.toString()),b(t,r,e.children)},code_block:function(e){var t=b("code",{className:e.language&&"language-"+e.language},e.literal);return b("pre",p(e),t)},code:function(e){return b("code",p(e),e.children)},heading:function(e){return b("h"+e.level,p(e),e.children)},text:null,softbreak:null},c=Object.keys(u);function p(e){var t=Object.keys(e).filter((function(e){return e.match(/data-.*/g)})),r={key:e.nodeKey,className:e.className},n=t.reduce((function(t,r){var n={};return n[r]=e[r],o(n,t)}),{});return o(n,r)}function f(e){var t=e.toLowerCase(),r=l[t]||t;return void 0!==u[r]?r:e}function d(e){var t=p(e),r=e.escapeHtml?{}:{dangerouslySetInnerHTML:{__html:e.literal}},n=e.escapeHtml?[e.literal]:null;if(e.escapeHtml||!e.skipHtml){var a=o(t,r);return b(e.isBlock?"div":"span",a,n)}}function h(e){var t=e.parent.parent;return t&&"list"===t.type.toLowerCase()&&t.listTight}function g(e,t){var r=e;do{r=r.parent}while(!r.react);r.react.children.push(t)}function b(e,t,r){var o=Array.isArray(r)&&r.reduce(v,[]),a=[e,t].concat(o||r);return n.createElement.apply(n,a)}function v(e,t){var r=e.length-1;return"string"==typeof t&&"string"==typeof e[r]?e[r]+=t:e.push(t),e}function m(e){return[e[0][0],":",e[0][1],"-",e[1][0],":",e[1][1]].map(String).join("")}function y(e,t,r,n){var o,a={key:t};r.sourcePos&&e.sourcepos&&(a["data-sourcepos"]=m(e.sourcepos));var i=f(e.type);switch(i){case"html_inline":case"html_block":a.isBlock="html_block"===i,a.escapeHtml=r.escapeHtml,a.skipHtml=r.skipHtml;break;case"code_block":var s=e.info?e.info.split(/ +/):[];s.length>0&&s[0].length>0&&(a.language=s[0],a.codeinfo=s);break;case"code":a.children=e.literal,a.inline=!0;break;case"heading":a.level=e.level;break;case"softbreak":a.softBreak=r.softBreak;break;case"link":a.href=r.transformLinkUri?r.transformLinkUri(e.destination):e.destination,a.title=e.title||o,r.linkTarget&&(a.target=r.linkTarget);break;case"image":a.src=r.transformImageUri?r.transformImageUri(e.destination):e.destination,a.title=e.title||o,a.alt=e.react.children.join(""),e.react.children=o;break;case"list":a.start=e.listStart,a.type=e.listType,a.tight=e.listTight}"string"!=typeof n&&(a.literal=e.literal);var l=a.children||e.react&&e.react.children;return Array.isArray(l)&&(a.children=l.reduce(v,[])||null),a}function x(e){return e?e.sourcepos?m(e.sourcepos):x(e.parent):null}function w(e){for(var t,r,a,i,l,u,c,p,d,b=e.walker(),v={sourcePos:this.sourcePos,escapeHtml:this.escapeHtml,skipHtml:this.skipHtml,transformLinkUri:this.transformLinkUri,transformImageUri:this.transformImageUri,softBreak:this.softBreak,linkTarget:this.linkTarget},m=0;t=b.next();){var w=x(t.node.sourcepos?t.node:t.node.parent);if(d===w?(c=w+m,m++):(c=w,m=0),d=w,i=!(a=t.entering),l=f((r=t.node).type),p=null,u){if(r!==u&&!("paragraph"===l&&h(r)||this.skipHtml&&("html_block"===l||"html_inline"===l))){var _=r===u,E=-1===this.allowedTypes.indexOf(l),C=!1,k=r.isContainer&&i,A=this.renderers[l];if(this.allowNode&&(k||!r.isContainer)){var O=k?r.react.children:[];p=y(r,c,v,A),C=!this.allowNode({type:s(l),renderer:this.renderers[l],props:p,children:O})}if(_||!C&&!E){if("function"!=typeof A&&"text"!==l&&"softbreak"!==l&&"string"!=typeof A)throw new Error("Renderer for type `"+s(r.type)+"` not defined or is not renderable");if(r.isContainer&&a)r.react={component:A,props:{},children:[]};else{var S=p||y(r,c,v,A);A?(S="string"==typeof A?S:o(S,{nodeKey:S.key}),g(r,n.createElement(A,S))):"text"===l?g(r,r.literal):"softbreak"===l&&g(r,"br"===this.softBreak?n.createElement("br",{key:c}):this.softBreak)}}else!this.unwrapDisallowed&&a&&r.isContainer&&b.resumeAt(r,!1)}}else u=r,r.react={children:[]}}return u.react.children}function _(e){var t=e.replace(/file:\/\//g,"x-file://");return decodeURI(i.uriInDoubleQuotedAttr(t))}function E(e){var t=e||{};if(t.allowedTypes&&t.disallowedTypes)throw new Error("Only one of `allowedTypes` and `disallowedTypes` should be defined");if(t.allowedTypes&&!Array.isArray(t.allowedTypes))throw new Error("`allowedTypes` must be an array");if(t.disallowedTypes&&!Array.isArray(t.disallowedTypes))throw new Error("`disallowedTypes` must be an array");if(t.allowNode&&"function"!=typeof t.allowNode)throw new Error("`allowNode` must be a function");var r=t.transformLinkUri;if(void 0===r)r=_;else if(r&&"function"!=typeof r)throw new Error("`transformLinkUri` must either be a function, or `null` to disable");var n=t.transformImageUri;if(void 0!==n&&"function"!=typeof n)throw new Error("`transformImageUri` must be a function");if(t.renderers&&!a(t.renderers))throw new Error("`renderers` must be a plain object of `Type`: `Renderer` pairs");var i,s=t.allowedTypes&&t.allowedTypes.map(f)||c;if(t.disallowedTypes){var l=t.disallowedTypes.map(f);s=s.filter((function(e){return-1===l.indexOf(e)}))}return{sourcePos:Boolean(t.sourcePos),softBreak:t.softBreak||"\n",renderers:o({},u,(i=t.renderers,Object.keys(i||{}).reduce((function(e,t){return e[f(t)]=i[t],e}),{}))),escapeHtml:Boolean(t.escapeHtml),skipHtml:Boolean(t.skipHtml),transformLinkUri:r,transformImageUri:n,allowNode:t.allowNode,allowedTypes:s,unwrapDisallowed:Boolean(t.unwrapDisallowed),render:w,linkTarget:t.linkTarget||!1}}E.uriTransformer=_,E.types=c.map(s),E.renderers=c.reduce((function(e,t){return e[s(t)]=u[t],e}),{}),e.exports=E},6943:(e,t,r)=>{"use strict";var n=r(3589),o=r(1356).unescapeString,a=r(1356).OPENTAG,i=r(1356).CLOSETAG,s=r(7447),l=[/./,/^<(?:script|pre|style)(?:\s|>|$)/i,/^/,/\?>/,/>/,/\]\]>/],c=/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})[ \t]*$/,p=/^[#`~*+_=<>0-9-]/,f=/[^ \t\f\v\r\n]/,d=/^[*+-]/,h=/^(\d{1,9})([.)])/,g=/^#{1,6}(?:[ \t]+|$)/,b=/^`{3,}(?!.*`)|^~{3,}(?!.*~)/,v=/^(?:`{3,}|~{3,})(?= *$)/,m=/^(?:=+|-+)[ \t]*$/,y=/\r\n|\n|\r/,x=function(e){return 32===e||9===e},w=function(e,t){return t=t._listData.markerOffset+t._listData.padding))return 1;e.advanceOffset(t._listData.markerOffset+t._listData.padding,!0)}return 0},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},heading:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},thematic_break:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},code_block:{continue:function(e,t){var r=e.currentLine,n=e.indent;if(t._isFenced){var o=n<=3&&r.charAt(e.nextNonspace)===t._fenceChar&&r.slice(e.nextNonspace).match(v);if(o&&o[0].length>=t._fenceLength)return e.finalize(t,e.lineNumber),2;for(var a=t._fenceOffset;a>0&&x(w(r,e.offset));)e.advanceOffset(1,!0),a--}else if(n>=4)e.advanceOffset(4,!0);else{if(!e.blank)return 1;e.advanceNextNonspace()}return 0},finalize:function(e,t){if(t._isFenced){var r=t._string_content,n=r.indexOf("\n"),a=r.slice(0,n),i=r.slice(n+1);t.info=o(a.trim()),t._literal=i}else t._literal=t._string_content.replace(/(\n *)+$/,"\n");t._string_content=null},canContain:function(){return!1},acceptsLines:!0},html_block:{continue:function(e,t){return!e.blank||6!==t._htmlBlockType&&7!==t._htmlBlockType?0:1},finalize:function(e,t){t._literal=t._string_content.replace(/(\n *)+$/,""),t._string_content=null},canContain:function(){return!1},acceptsLines:!0},paragraph:{continue:function(e){return e.blank?1:0},finalize:function(e,t){for(var r,n,o=!1;91===w(t._string_content,0)&&(r=e.inlineParser.parseReference(t._string_content,e.refmap));)t._string_content=t._string_content.slice(r),o=!0;o&&(n=t._string_content,!f.test(n))&&t.unlink()},canContain:function(){return!1},acceptsLines:!0}},O=[function(e){return e.indented||62!==w(e.currentLine,e.nextNonspace)?0:(e.advanceNextNonspace(),e.advanceOffset(1,!1),x(w(e.currentLine,e.offset))&&e.advanceOffset(1,!0),e.closeUnmatchedBlocks(),e.addChild("block_quote",e.nextNonspace),1)},function(e){var t;if(!e.indented&&(t=e.currentLine.slice(e.nextNonspace).match(g))){e.advanceNextNonspace(),e.advanceOffset(t[0].length,!1),e.closeUnmatchedBlocks();var r=e.addChild("heading",e.nextNonspace);return r.level=t[0].trim().length,r._string_content=e.currentLine.slice(e.offset).replace(/^ *#+ *$/,"").replace(/ +#+ *$/,""),e.advanceOffset(e.currentLine.length-e.offset),2}return 0},function(e){var t;if(!e.indented&&(t=e.currentLine.slice(e.nextNonspace).match(b))){var r=t[0].length;e.closeUnmatchedBlocks();var n=e.addChild("code_block",e.nextNonspace);return n._isFenced=!0,n._fenceLength=r,n._fenceChar=t[0][0],n._fenceOffset=e.indent,e.advanceNextNonspace(),e.advanceOffset(r,!1),2}return 0},function(e,t){if(!e.indented&&60===w(e.currentLine,e.nextNonspace)){var r,n=e.currentLine.slice(e.nextNonspace);for(r=1;r<=7;r++)if(l[r].test(n)&&(r<7||"paragraph"!==t.type))return e.closeUnmatchedBlocks(),e.addChild("html_block",e.offset)._htmlBlockType=r,2}return 0},function(e,t){var r;if(!e.indented&&"paragraph"===t.type&&(r=e.currentLine.slice(e.nextNonspace).match(m))){e.closeUnmatchedBlocks();var o=new n("heading",t.sourcepos);return o.level="="===r[0][0]?1:2,o._string_content=t._string_content,t.insertAfter(o),t.unlink(),e.tip=o,e.advanceOffset(e.currentLine.length-e.offset,!1),2}return 0},function(e){return!e.indented&&c.test(e.currentLine.slice(e.nextNonspace))?(e.closeUnmatchedBlocks(),e.addChild("thematic_break",e.nextNonspace),e.advanceOffset(e.currentLine.length-e.offset,!1),2):0},function(e,t){var r,n,o;return e.indented&&"list"!==t.type||!(r=function(e,t){var r,n,o,a,i=e.currentLine.slice(e.nextNonspace),s={type:null,tight:!0,bulletChar:null,start:null,delimiter:null,padding:null,markerOffset:e.indent};if(r=i.match(d))s.type="bullet",s.bulletChar=r[0][0];else{if(!(r=i.match(h))||"paragraph"===t.type&&"1"!==r[1])return null;s.type="ordered",s.start=parseInt(r[1]),s.delimiter=r[2]}if(-1!==(n=w(e.currentLine,e.nextNonspace+r[0].length))&&9!==n&&32!==n)return null;if("paragraph"===t.type&&!e.currentLine.slice(e.nextNonspace+r[0].length).match(f))return null;e.advanceNextNonspace(),e.advanceOffset(r[0].length,!0),o=e.column,a=e.offset;do{e.advanceOffset(1,!0),n=w(e.currentLine,e.offset)}while(e.column-o<5&&x(n));var l=-1===w(e.currentLine,e.offset),u=e.column-o;return u>=5||u<1||l?(s.padding=r[0].length+1,e.column=o,e.offset=a,x(w(e.currentLine,e.offset))&&e.advanceOffset(1,!0)):s.padding=r[0].length+u,s}(e,t))?0:(e.closeUnmatchedBlocks(),"list"===e.tip.type&&(o=r,(n=t._listData).type===o.type&&n.delimiter===o.delimiter&&n.bulletChar===o.bulletChar)||((t=e.addChild("list",e.nextNonspace))._listData=r),(t=e.addChild("item",e.nextNonspace))._listData=r,1)},function(e){return e.indented&&"paragraph"!==e.tip.type&&!e.blank?(e.advanceOffset(4,!0),e.closeUnmatchedBlocks(),e.addChild("code_block",e.offset),2):0}],S=function(e,t){for(var r,n,o,a=this.currentLine;e>0&&(o=a[this.offset]);)"\t"===o?(r=4-this.column%4,t?(this.partiallyConsumedTab=r>e,n=r>e?e:r,this.column+=n,this.offset+=this.partiallyConsumedTab?0:1,e-=n):(this.partiallyConsumedTab=!1,this.column+=r,this.offset+=1,e-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,e-=1)},T=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},D=function(){for(var e,t=this.currentLine,r=this.offset,n=this.column;""!==(e=t.charAt(r));)if(" "===e)r++,n++;else{if("\t"!==e)break;r++,n+=4-n%4}this.blank="\n"===e||"\r"===e||""===e,this.nextNonspace=r,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=4},j=function(e){var t,r,n=!0,o=this.doc;for(this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,-1!==e.indexOf("\0")&&(e=e.replace(/\0/g,"�")),this.currentLine=e;(r=o._lastChild)&&r._open;){switch(o=r,this.findNextNonspace(),this.blocks[o.type].continue(this,o)){case 0:break;case 1:n=!1;break;case 2:return void(this.lastLineLength=e.length);default:throw"continue returned illegal value, must be 0, 1, or 2"}if(!n){o=o._parent;break}}this.allClosed=o===this.oldtip,this.lastMatchedContainer=o;for(var a="paragraph"!==o.type&&A[o.type].acceptsLines,i=this.blockStarts,s=i.length;!a;){if(this.findNextNonspace(),!this.indented&&!p.test(e.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var l=0;l=1&&o._htmlBlockType<=5&&u[o._htmlBlockType].test(this.currentLine.slice(this.offset))&&this.finalize(o,this.lineNumber)):this.offset{"use strict";var n=r(3331),o=r(3527),a=r(6246).Gz,i="&(?:#x[a-f0-9]{1,8}|#[0-9]{1,8}|[a-z][a-z0-9]{1,31});",s="[A-Za-z][A-Za-z0-9-]*",l="<"+s+"(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*/?>",u="]",c=new RegExp("^(?:"+l+"|"+u+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|[<][?].*?[?][>]|]*>|)","i"),p=/[\\&]/,f="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",d=new RegExp("\\\\"+f+"|"+i,"gi"),h='[&<>"]',g=new RegExp(h,"g"),b=new RegExp(i+"|"+h,"gi"),v=function(e){return 92===e.charCodeAt(0)?e.charAt(1):a(e)},m=function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}};e.exports={unescapeString:function(e){return p.test(e)?e.replace(d,v):e},normalizeURI:function(e){try{return n(o(e))}catch(t){return e}},escapeXml:function(e,t){return g.test(e)?t?e.replace(b,m):e.replace(g,m):e},reHtmlTag:c,OPENTAG:l,CLOSETAG:u,ENTITY:i,ESCAPABLE:f}},2400:e=>{"use strict";if(String.fromCodePoint)e.exports=function(e){try{return String.fromCodePoint(e)}catch(e){if(e instanceof RangeError)return String.fromCharCode(65533);throw e}};else{var t=String.fromCharCode,r=Math.floor;e.exports=function(){var e,n,o=[],a=-1,i=arguments.length;if(!i)return"";for(var s="";++a1114111||r(l)!==l)return String.fromCharCode(65533);l<=65535?o.push(l):(e=55296+((l-=65536)>>10),n=l%1024+56320,o.push(e,n)),(a+1===i||o.length>16384)&&(s+=t.apply(null,o),o.length=0)}return s}}},8109:(e,t,r)=>{"use strict";r(3589),e.exports.Parser=r(6943),r(1453),r(7096)},7447:(e,t,r)=>{"use strict";var n=r(3589),o=r(1356),a=r(9014),i=o.normalizeURI,s=o.unescapeString,l=r(2400),u=r(6246).Gz;r(4938);var c=o.ESCAPABLE,p="\\\\"+c,f="[^\\\\()\\x00-\\x20]",d="\\(("+f+"|"+p+"|\\\\)*\\)",h=o.ENTITY,g=o.reHtmlTag,b=new RegExp(/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/),v=new RegExp('^(?:"('+p+'|[^"\\x00])*"|\'('+p+"|[^'\\x00])*'|\\(("+p+"|[^)\\x00])*\\))"),m=new RegExp("^(?:[<](?:[^ <>\\t\\n\\\\\\x00]|"+p+"|\\\\)*[>])"),y=new RegExp("^(?:"+f+"+|"+p+"|\\\\|"+d+")*"),x=new RegExp("^"+c),w=new RegExp("^"+h,"i"),_=/`+/,E=/^`+/,C=/\.\.\./g,k=/--+/g,A=/^<([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])?)*)>/,O=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,S=/^ *(?:\n *)?/,T=/^[ \t\n\x0b\x0c\x0d]/,D=/[ \t\n\x0b\x0c\x0d]+/g,j=/^\s/,M=/ *$/,F=/^ */,P=/^ *(?:\n|$)/,L=new RegExp("^\\[(?:[^\\\\\\[\\]]|"+p+"|\\\\){0,1000}\\]"),R=/^[^\n`\[\]\\!<&*_'"]+/m,B=function(e){var t=new n("text");return t._literal=e,t},N=function(e){var t=e.exec(this.subject.slice(this.pos));return null===t?null:(this.pos+=t.index+t[0].length,t[0])},z=function(){return this.pos1001?0:e.length},Z=function(e){var t=this.pos;this.pos+=1;var r=B("[");return e.appendChild(r),this.addBracket(r,t,!1),!0},J=function(e){var t=this.pos;if(this.pos+=1,91===this.peek()){this.pos+=1;var r=B("![");e.appendChild(r),this.addBracket(r,t+1,!0)}else e.appendChild(B("!"));return!0},ee=function(e){var t,r,o,i,s,l,u=!1;if(this.pos+=1,t=this.pos,null===(l=this.brackets))return e.appendChild(B("]")),!0;if(!l.active)return e.appendChild(B("]")),this.removeBracket(),!0;r=l.image;var c=this.pos;if(40===this.peek()&&(this.pos++,this.spnl()&&null!==(o=this.parseLinkDestination())&&this.spnl()&&(T.test(this.subject.charAt(this.pos-1))&&(i=this.parseLinkTitle()),1)&&this.spnl()&&41===this.peek()?(this.pos+=1,u=!0):this.pos=c),!u){var p=this.pos,f=this.parseLinkLabel();if(f>2?s=this.subject.slice(p,p+f):l.bracketAfter||(s=this.subject.slice(l.index,t)),0===f&&(this.pos=c),s){var d=this.refmap[a(s)];d&&(o=d.destination,i=d.title,u=!0)}}if(u){var h,g,b=new n(r?"image":"link");for(b._destination=o,b._title=i||"",h=l.node._next;h;)g=h._next,h.unlink(),b.appendChild(h),h=g;if(e.appendChild(b),this.processEmphasis(l.previousDelimiter),this.removeBracket(),l.node.unlink(),!r)for(l=this.brackets;null!==l;)l.image||(l.active=!1),l=l.previous;return!0}return this.removeBracket(),this.pos=t,e.appendChild(B("]")),!0},te=function(e,t,r){null!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:e,previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:r,active:!0}},re=function(){this.brackets=this.brackets.previous},ne=function(e){var t;return!!(t=this.match(w))&&(e.appendChild(B(u(t))),!0)},oe=function(e){var t;return!!(t=this.match(R))&&(this.options.smart?e.appendChild(B(t.replace(C,"…").replace(k,(function(e){var t=0,r=0;return e.length%3==0?r=e.length/3:e.length%2==0?t=e.length/2:e.length%3==2?(t=1,r=(e.length-2)/3):(t=2,r=(e.length-4)/3),"—".repeat(r)+"–".repeat(t)})))):e.appendChild(B(t)),!0)},ae=function(e){this.pos+=1;var t=e._lastChild;if(t&&"text"===t.type&&" "===t._literal[t._literal.length-1]){var r=" "===t._literal[t._literal.length-2];t._literal=t._literal.replace(M,""),e.appendChild(new n(r?"linebreak":"softbreak"))}else e.appendChild(new n("softbreak"));return this.match(F),!0},ie=function(e,t){var r,n,o,i;this.subject=e,this.pos=0;var s=this.pos;if(0===(i=this.parseLinkLabel()))return 0;if(r=this.subject.substr(0,i),58!==this.peek())return this.pos=s,0;if(this.pos++,this.spnl(),null===(n=this.parseLinkDestination())||0===n.length)return this.pos=s,0;var l=this.pos;this.spnl(),null===(o=this.parseLinkTitle())&&(o="",this.pos=l);var u=!0;if(null===this.match(P)&&(""===o?u=!1:(o="",this.pos=l,u=null!==this.match(P))),!u)return this.pos=s,0;var c=a(r);return""===c?(this.pos=s,0):(t[c]||(t[c]={destination:n,title:o}),this.pos-s)},se=function(e){var t=!1,r=this.peek();if(-1===r)return!1;switch(r){case 10:t=this.parseNewline(e);break;case 92:t=this.parseBackslash(e);break;case 96:t=this.parseBackticks(e);break;case 42:case 95:t=this.handleDelim(r,e);break;case 39:case 34:t=this.options.smart&&this.handleDelim(r,e);break;case 91:t=this.parseOpenBracket(e);break;case 33:t=this.parseBang(e);break;case 93:t=this.parseCloseBracket(e);break;case 60:t=this.parseAutolink(e)||this.parseHtmlTag(e);break;case 38:t=this.parseEntity(e);break;default:t=this.parseString(e)}return t||(this.pos+=1,e.appendChild(B(l(r)))),!0},le=function(e){for(this.subject=e._string_content.trim(),this.pos=0,this.delimiters=null,this.brackets=null;this.parseInline(e););e._string_content=null,this.processEmphasis(null)};e.exports=function(e){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:N,peek:z,spnl:I,parseBackticks:H,parseBackslash:q,parseAutolink:U,parseHtmlTag:X,scanDelims:W,handleDelim:V,parseLinkTitle:Y,parseLinkDestination:Q,parseLinkLabel:K,parseOpenBracket:Z,parseBang:J,parseCloseBracket:ee,addBracket:te,removeBracket:re,parseEntity:ne,parseString:oe,parseNewline:ae,parseReference:ie,parseInline:se,processEmphasis:$,removeDelimiter:G,options:e||{},parse:le}}},3589:e=>{"use strict";function t(e){switch(e._type){case"document":case"block_quote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"link":case"image":case"custom_inline":case"custom_block":return!0;default:return!1}}var r=function(e,t){this.current=e,this.entering=!0===t},n=function(){var e=this.current,r=this.entering;if(null===e)return null;var n=t(e);return r&&n?e._firstChild?(this.current=e._firstChild,this.entering=!0):this.entering=!1:e===this.root?this.current=null:null===e._next?(this.current=e._parent,this.entering=!1):(this.current=e._next,this.entering=!0),{entering:r,node:e}},o=function(e){return{current:e,root:e,entering:!0,next:n,resumeAt:r}},a=function(e,t){this._type=e,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=t,this._lastLineBlank=!1,this._open=!0,this._string_content=null,this._literal=null,this._listData={},this._info=null,this._destination=null,this._title=null,this._isFenced=!1,this._fenceChar=null,this._fenceLength=0,this._fenceOffset=null,this._level=null,this._onEnter=null,this._onExit=null},i=a.prototype;Object.defineProperty(i,"isContainer",{get:function(){return t(this)}}),Object.defineProperty(i,"type",{get:function(){return this._type}}),Object.defineProperty(i,"firstChild",{get:function(){return this._firstChild}}),Object.defineProperty(i,"lastChild",{get:function(){return this._lastChild}}),Object.defineProperty(i,"next",{get:function(){return this._next}}),Object.defineProperty(i,"prev",{get:function(){return this._prev}}),Object.defineProperty(i,"parent",{get:function(){return this._parent}}),Object.defineProperty(i,"sourcepos",{get:function(){return this._sourcepos}}),Object.defineProperty(i,"literal",{get:function(){return this._literal},set:function(e){this._literal=e}}),Object.defineProperty(i,"destination",{get:function(){return this._destination},set:function(e){this._destination=e}}),Object.defineProperty(i,"title",{get:function(){return this._title},set:function(e){this._title=e}}),Object.defineProperty(i,"info",{get:function(){return this._info},set:function(e){this._info=e}}),Object.defineProperty(i,"level",{get:function(){return this._level},set:function(e){this._level=e}}),Object.defineProperty(i,"listType",{get:function(){return this._listData.type},set:function(e){this._listData.type=e}}),Object.defineProperty(i,"listTight",{get:function(){return this._listData.tight},set:function(e){this._listData.tight=e}}),Object.defineProperty(i,"listStart",{get:function(){return this._listData.start},set:function(e){this._listData.start=e}}),Object.defineProperty(i,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(e){this._listData.delimiter=e}}),Object.defineProperty(i,"onEnter",{get:function(){return this._onEnter},set:function(e){this._onEnter=e}}),Object.defineProperty(i,"onExit",{get:function(){return this._onExit},set:function(e){this._onExit=e}}),a.prototype.appendChild=function(e){e.unlink(),e._parent=this,this._lastChild?(this._lastChild._next=e,e._prev=this._lastChild,this._lastChild=e):(this._firstChild=e,this._lastChild=e)},a.prototype.prependChild=function(e){e.unlink(),e._parent=this,this._firstChild?(this._firstChild._prev=e,e._next=this._firstChild,this._firstChild=e):(this._firstChild=e,this._lastChild=e)},a.prototype.unlink=function(){this._prev?this._prev._next=this._next:this._parent&&(this._parent._firstChild=this._next),this._next?this._next._prev=this._prev:this._parent&&(this._parent._lastChild=this._prev),this._parent=null,this._next=null,this._prev=null},a.prototype.insertAfter=function(e){e.unlink(),e._next=this._next,e._next&&(e._next._prev=e),e._prev=this,this._next=e,e._parent=this._parent,e._next||(e._parent._lastChild=e)},a.prototype.insertBefore=function(e){e.unlink(),e._prev=this._prev,e._prev&&(e._prev._next=e),e._next=this,this._prev=e,e._parent=this._parent,e._prev||(e._parent._firstChild=e)},a.prototype.walker=function(){return new o(this)},e.exports=a},9014:e=>{"use strict";var t=/[ \t\r\n]+|[A-Z\xB5\xC0-\xD6\xD8-\xDF\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u0149\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u017F\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C5\u01C7\u01C8\u01CA\u01CB\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F0-\u01F2\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0345\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03AB\u03B0\u03C2\u03CF-\u03D1\u03D5\u03D6\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F0\u03F1\u03F4\u03F5\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u0587\u10A0-\u10C5\u10C7\u10CD\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E96-\u1E9B\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F50\u1F52\u1F54\u1F56\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1F80-\u1FAF\u1FB2-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD2\u1FD3\u1FD6-\u1FDB\u1FE2-\u1FE4\u1FE6-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A\u212B\u2132\u2160-\u216F\u2183\u24B6-\u24CF\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0\uA7B1\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A]|\uD801[\uDC00-\uDC27]|\uD806[\uDCA0-\uDCBF]/g,r={A:"a",B:"b",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",J:"j",K:"k",L:"l",M:"m",N:"n",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",U:"u",V:"v",W:"w",X:"x",Y:"y",Z:"z",µ:"μ",À:"à",Á:"á",Â:"â",Ã:"ã",Ä:"ä",Å:"å",Æ:"æ",Ç:"ç",È:"è",É:"é",Ê:"ê",Ë:"ë",Ì:"ì",Í:"í",Î:"î",Ï:"ï",Ð:"ð",Ñ:"ñ",Ò:"ò",Ó:"ó",Ô:"ô",Õ:"õ",Ö:"ö",Ø:"ø",Ù:"ù",Ú:"ú",Û:"û",Ü:"ü",Ý:"ý",Þ:"þ",Ā:"ā",Ă:"ă",Ą:"ą",Ć:"ć",Ĉ:"ĉ",Ċ:"ċ",Č:"č",Ď:"ď",Đ:"đ",Ē:"ē",Ĕ:"ĕ",Ė:"ė",Ę:"ę",Ě:"ě",Ĝ:"ĝ",Ğ:"ğ",Ġ:"ġ",Ģ:"ģ",Ĥ:"ĥ",Ħ:"ħ",Ĩ:"ĩ",Ī:"ī",Ĭ:"ĭ",Į:"į",IJ:"ij",Ĵ:"ĵ",Ķ:"ķ",Ĺ:"ĺ",Ļ:"ļ",Ľ:"ľ",Ŀ:"ŀ",Ł:"ł",Ń:"ń",Ņ:"ņ",Ň:"ň",Ŋ:"ŋ",Ō:"ō",Ŏ:"ŏ",Ő:"ő",Œ:"œ",Ŕ:"ŕ",Ŗ:"ŗ",Ř:"ř",Ś:"ś",Ŝ:"ŝ",Ş:"ş",Š:"š",Ţ:"ţ",Ť:"ť",Ŧ:"ŧ",Ũ:"ũ",Ū:"ū",Ŭ:"ŭ",Ů:"ů",Ű:"ű",Ų:"ų",Ŵ:"ŵ",Ŷ:"ŷ",Ÿ:"ÿ",Ź:"ź",Ż:"ż",Ž:"ž",ſ:"s",Ɓ:"ɓ",Ƃ:"ƃ",Ƅ:"ƅ",Ɔ:"ɔ",Ƈ:"ƈ",Ɖ:"ɖ",Ɗ:"ɗ",Ƌ:"ƌ",Ǝ:"ǝ",Ə:"ə",Ɛ:"ɛ",Ƒ:"ƒ",Ɠ:"ɠ",Ɣ:"ɣ",Ɩ:"ɩ",Ɨ:"ɨ",Ƙ:"ƙ",Ɯ:"ɯ",Ɲ:"ɲ",Ɵ:"ɵ",Ơ:"ơ",Ƣ:"ƣ",Ƥ:"ƥ",Ʀ:"ʀ",Ƨ:"ƨ",Ʃ:"ʃ",Ƭ:"ƭ",Ʈ:"ʈ",Ư:"ư",Ʊ:"ʊ",Ʋ:"ʋ",Ƴ:"ƴ",Ƶ:"ƶ",Ʒ:"ʒ",Ƹ:"ƹ",Ƽ:"ƽ",DŽ:"dž",Dž:"dž",LJ:"lj",Lj:"lj",NJ:"nj",Nj:"nj",Ǎ:"ǎ",Ǐ:"ǐ",Ǒ:"ǒ",Ǔ:"ǔ",Ǖ:"ǖ",Ǘ:"ǘ",Ǚ:"ǚ",Ǜ:"ǜ",Ǟ:"ǟ",Ǡ:"ǡ",Ǣ:"ǣ",Ǥ:"ǥ",Ǧ:"ǧ",Ǩ:"ǩ",Ǫ:"ǫ",Ǭ:"ǭ",Ǯ:"ǯ",DZ:"dz",Dz:"dz",Ǵ:"ǵ",Ƕ:"ƕ",Ƿ:"ƿ",Ǹ:"ǹ",Ǻ:"ǻ",Ǽ:"ǽ",Ǿ:"ǿ",Ȁ:"ȁ",Ȃ:"ȃ",Ȅ:"ȅ",Ȇ:"ȇ",Ȉ:"ȉ",Ȋ:"ȋ",Ȍ:"ȍ",Ȏ:"ȏ",Ȑ:"ȑ",Ȓ:"ȓ",Ȕ:"ȕ",Ȗ:"ȗ",Ș:"ș",Ț:"ț",Ȝ:"ȝ",Ȟ:"ȟ",Ƞ:"ƞ",Ȣ:"ȣ",Ȥ:"ȥ",Ȧ:"ȧ",Ȩ:"ȩ",Ȫ:"ȫ",Ȭ:"ȭ",Ȯ:"ȯ",Ȱ:"ȱ",Ȳ:"ȳ",Ⱥ:"ⱥ",Ȼ:"ȼ",Ƚ:"ƚ",Ⱦ:"ⱦ",Ɂ:"ɂ",Ƀ:"ƀ",Ʉ:"ʉ",Ʌ:"ʌ",Ɇ:"ɇ",Ɉ:"ɉ",Ɋ:"ɋ",Ɍ:"ɍ",Ɏ:"ɏ","ͅ":"ι",Ͱ:"ͱ",Ͳ:"ͳ",Ͷ:"ͷ",Ϳ:"ϳ",Ά:"ά",Έ:"έ",Ή:"ή",Ί:"ί",Ό:"ό",Ύ:"ύ",Ώ:"ώ",Α:"α",Β:"β",Γ:"γ",Δ:"δ",Ε:"ε",Ζ:"ζ",Η:"η",Θ:"θ",Ι:"ι",Κ:"κ",Λ:"λ",Μ:"μ",Ν:"ν",Ξ:"ξ",Ο:"ο",Π:"π",Ρ:"ρ",Σ:"σ",Τ:"τ",Υ:"υ",Φ:"φ",Χ:"χ",Ψ:"ψ",Ω:"ω",Ϊ:"ϊ",Ϋ:"ϋ",ς:"σ",Ϗ:"ϗ",ϐ:"β",ϑ:"θ",ϕ:"φ",ϖ:"π",Ϙ:"ϙ",Ϛ:"ϛ",Ϝ:"ϝ",Ϟ:"ϟ",Ϡ:"ϡ",Ϣ:"ϣ",Ϥ:"ϥ",Ϧ:"ϧ",Ϩ:"ϩ",Ϫ:"ϫ",Ϭ:"ϭ",Ϯ:"ϯ",ϰ:"κ",ϱ:"ρ",ϴ:"θ",ϵ:"ε",Ϸ:"ϸ",Ϲ:"ϲ",Ϻ:"ϻ",Ͻ:"ͻ",Ͼ:"ͼ",Ͽ:"ͽ",Ѐ:"ѐ",Ё:"ё",Ђ:"ђ",Ѓ:"ѓ",Є:"є",Ѕ:"ѕ",І:"і",Ї:"ї",Ј:"ј",Љ:"љ",Њ:"њ",Ћ:"ћ",Ќ:"ќ",Ѝ:"ѝ",Ў:"ў",Џ:"џ",А:"а",Б:"б",В:"в",Г:"г",Д:"д",Е:"е",Ж:"ж",З:"з",И:"и",Й:"й",К:"к",Л:"л",М:"м",Н:"н",О:"о",П:"п",Р:"р",С:"с",Т:"т",У:"у",Ф:"ф",Х:"х",Ц:"ц",Ч:"ч",Ш:"ш",Щ:"щ",Ъ:"ъ",Ы:"ы",Ь:"ь",Э:"э",Ю:"ю",Я:"я",Ѡ:"ѡ",Ѣ:"ѣ",Ѥ:"ѥ",Ѧ:"ѧ",Ѩ:"ѩ",Ѫ:"ѫ",Ѭ:"ѭ",Ѯ:"ѯ",Ѱ:"ѱ",Ѳ:"ѳ",Ѵ:"ѵ",Ѷ:"ѷ",Ѹ:"ѹ",Ѻ:"ѻ",Ѽ:"ѽ",Ѿ:"ѿ",Ҁ:"ҁ",Ҋ:"ҋ",Ҍ:"ҍ",Ҏ:"ҏ",Ґ:"ґ",Ғ:"ғ",Ҕ:"ҕ",Җ:"җ",Ҙ:"ҙ",Қ:"қ",Ҝ:"ҝ",Ҟ:"ҟ",Ҡ:"ҡ",Ң:"ң",Ҥ:"ҥ",Ҧ:"ҧ",Ҩ:"ҩ",Ҫ:"ҫ",Ҭ:"ҭ",Ү:"ү",Ұ:"ұ",Ҳ:"ҳ",Ҵ:"ҵ",Ҷ:"ҷ",Ҹ:"ҹ",Һ:"һ",Ҽ:"ҽ",Ҿ:"ҿ",Ӏ:"ӏ",Ӂ:"ӂ",Ӄ:"ӄ",Ӆ:"ӆ",Ӈ:"ӈ",Ӊ:"ӊ",Ӌ:"ӌ",Ӎ:"ӎ",Ӑ:"ӑ",Ӓ:"ӓ",Ӕ:"ӕ",Ӗ:"ӗ",Ә:"ә",Ӛ:"ӛ",Ӝ:"ӝ",Ӟ:"ӟ",Ӡ:"ӡ",Ӣ:"ӣ",Ӥ:"ӥ",Ӧ:"ӧ",Ө:"ө",Ӫ:"ӫ",Ӭ:"ӭ",Ӯ:"ӯ",Ӱ:"ӱ",Ӳ:"ӳ",Ӵ:"ӵ",Ӷ:"ӷ",Ӹ:"ӹ",Ӻ:"ӻ",Ӽ:"ӽ",Ӿ:"ӿ",Ԁ:"ԁ",Ԃ:"ԃ",Ԅ:"ԅ",Ԇ:"ԇ",Ԉ:"ԉ",Ԋ:"ԋ",Ԍ:"ԍ",Ԏ:"ԏ",Ԑ:"ԑ",Ԓ:"ԓ",Ԕ:"ԕ",Ԗ:"ԗ",Ԙ:"ԙ",Ԛ:"ԛ",Ԝ:"ԝ",Ԟ:"ԟ",Ԡ:"ԡ",Ԣ:"ԣ",Ԥ:"ԥ",Ԧ:"ԧ",Ԩ:"ԩ",Ԫ:"ԫ",Ԭ:"ԭ",Ԯ:"ԯ",Ա:"ա",Բ:"բ",Գ:"գ",Դ:"դ",Ե:"ե",Զ:"զ",Է:"է",Ը:"ը",Թ:"թ",Ժ:"ժ",Ի:"ի",Լ:"լ",Խ:"խ",Ծ:"ծ",Կ:"կ",Հ:"հ",Ձ:"ձ",Ղ:"ղ",Ճ:"ճ",Մ:"մ",Յ:"յ",Ն:"ն",Շ:"շ",Ո:"ո",Չ:"չ",Պ:"պ",Ջ:"ջ",Ռ:"ռ",Ս:"ս",Վ:"վ",Տ:"տ",Ր:"ր",Ց:"ց",Ւ:"ւ",Փ:"փ",Ք:"ք",Օ:"օ",Ֆ:"ֆ",Ⴀ:"ⴀ",Ⴁ:"ⴁ",Ⴂ:"ⴂ",Ⴃ:"ⴃ",Ⴄ:"ⴄ",Ⴅ:"ⴅ",Ⴆ:"ⴆ",Ⴇ:"ⴇ",Ⴈ:"ⴈ",Ⴉ:"ⴉ",Ⴊ:"ⴊ",Ⴋ:"ⴋ",Ⴌ:"ⴌ",Ⴍ:"ⴍ",Ⴎ:"ⴎ",Ⴏ:"ⴏ",Ⴐ:"ⴐ",Ⴑ:"ⴑ",Ⴒ:"ⴒ",Ⴓ:"ⴓ",Ⴔ:"ⴔ",Ⴕ:"ⴕ",Ⴖ:"ⴖ",Ⴗ:"ⴗ",Ⴘ:"ⴘ",Ⴙ:"ⴙ",Ⴚ:"ⴚ",Ⴛ:"ⴛ",Ⴜ:"ⴜ",Ⴝ:"ⴝ",Ⴞ:"ⴞ",Ⴟ:"ⴟ",Ⴠ:"ⴠ",Ⴡ:"ⴡ",Ⴢ:"ⴢ",Ⴣ:"ⴣ",Ⴤ:"ⴤ",Ⴥ:"ⴥ",Ⴧ:"ⴧ",Ⴭ:"ⴭ",Ḁ:"ḁ",Ḃ:"ḃ",Ḅ:"ḅ",Ḇ:"ḇ",Ḉ:"ḉ",Ḋ:"ḋ",Ḍ:"ḍ",Ḏ:"ḏ",Ḑ:"ḑ",Ḓ:"ḓ",Ḕ:"ḕ",Ḗ:"ḗ",Ḙ:"ḙ",Ḛ:"ḛ",Ḝ:"ḝ",Ḟ:"ḟ",Ḡ:"ḡ",Ḣ:"ḣ",Ḥ:"ḥ",Ḧ:"ḧ",Ḩ:"ḩ",Ḫ:"ḫ",Ḭ:"ḭ",Ḯ:"ḯ",Ḱ:"ḱ",Ḳ:"ḳ",Ḵ:"ḵ",Ḷ:"ḷ",Ḹ:"ḹ",Ḻ:"ḻ",Ḽ:"ḽ",Ḿ:"ḿ",Ṁ:"ṁ",Ṃ:"ṃ",Ṅ:"ṅ",Ṇ:"ṇ",Ṉ:"ṉ",Ṋ:"ṋ",Ṍ:"ṍ",Ṏ:"ṏ",Ṑ:"ṑ",Ṓ:"ṓ",Ṕ:"ṕ",Ṗ:"ṗ",Ṙ:"ṙ",Ṛ:"ṛ",Ṝ:"ṝ",Ṟ:"ṟ",Ṡ:"ṡ",Ṣ:"ṣ",Ṥ:"ṥ",Ṧ:"ṧ",Ṩ:"ṩ",Ṫ:"ṫ",Ṭ:"ṭ",Ṯ:"ṯ",Ṱ:"ṱ",Ṳ:"ṳ",Ṵ:"ṵ",Ṷ:"ṷ",Ṹ:"ṹ",Ṻ:"ṻ",Ṽ:"ṽ",Ṿ:"ṿ",Ẁ:"ẁ",Ẃ:"ẃ",Ẅ:"ẅ",Ẇ:"ẇ",Ẉ:"ẉ",Ẋ:"ẋ",Ẍ:"ẍ",Ẏ:"ẏ",Ẑ:"ẑ",Ẓ:"ẓ",Ẕ:"ẕ",ẛ:"ṡ",Ạ:"ạ",Ả:"ả",Ấ:"ấ",Ầ:"ầ",Ẩ:"ẩ",Ẫ:"ẫ",Ậ:"ậ",Ắ:"ắ",Ằ:"ằ",Ẳ:"ẳ",Ẵ:"ẵ",Ặ:"ặ",Ẹ:"ẹ",Ẻ:"ẻ",Ẽ:"ẽ",Ế:"ế",Ề:"ề",Ể:"ể",Ễ:"ễ",Ệ:"ệ",Ỉ:"ỉ",Ị:"ị",Ọ:"ọ",Ỏ:"ỏ",Ố:"ố",Ồ:"ồ",Ổ:"ổ",Ỗ:"ỗ",Ộ:"ộ",Ớ:"ớ",Ờ:"ờ",Ở:"ở",Ỡ:"ỡ",Ợ:"ợ",Ụ:"ụ",Ủ:"ủ",Ứ:"ứ",Ừ:"ừ",Ử:"ử",Ữ:"ữ",Ự:"ự",Ỳ:"ỳ",Ỵ:"ỵ",Ỷ:"ỷ",Ỹ:"ỹ",Ỻ:"ỻ",Ỽ:"ỽ",Ỿ:"ỿ",Ἀ:"ἀ",Ἁ:"ἁ",Ἂ:"ἂ",Ἃ:"ἃ",Ἄ:"ἄ",Ἅ:"ἅ",Ἆ:"ἆ",Ἇ:"ἇ",Ἐ:"ἐ",Ἑ:"ἑ",Ἒ:"ἒ",Ἓ:"ἓ",Ἔ:"ἔ",Ἕ:"ἕ",Ἠ:"ἠ",Ἡ:"ἡ",Ἢ:"ἢ",Ἣ:"ἣ",Ἤ:"ἤ",Ἥ:"ἥ",Ἦ:"ἦ",Ἧ:"ἧ",Ἰ:"ἰ",Ἱ:"ἱ",Ἲ:"ἲ",Ἳ:"ἳ",Ἴ:"ἴ",Ἵ:"ἵ",Ἶ:"ἶ",Ἷ:"ἷ",Ὀ:"ὀ",Ὁ:"ὁ",Ὂ:"ὂ",Ὃ:"ὃ",Ὄ:"ὄ",Ὅ:"ὅ",Ὑ:"ὑ",Ὓ:"ὓ",Ὕ:"ὕ",Ὗ:"ὗ",Ὠ:"ὠ",Ὡ:"ὡ",Ὢ:"ὢ",Ὣ:"ὣ",Ὤ:"ὤ",Ὥ:"ὥ",Ὦ:"ὦ",Ὧ:"ὧ",Ᾰ:"ᾰ",Ᾱ:"ᾱ",Ὰ:"ὰ",Ά:"ά",ι:"ι",Ὲ:"ὲ",Έ:"έ",Ὴ:"ὴ",Ή:"ή",Ῐ:"ῐ",Ῑ:"ῑ",Ὶ:"ὶ",Ί:"ί",Ῠ:"ῠ",Ῡ:"ῡ",Ὺ:"ὺ",Ύ:"ύ",Ῥ:"ῥ",Ὸ:"ὸ",Ό:"ό",Ὼ:"ὼ",Ώ:"ώ",Ω:"ω",K:"k",Å:"å",Ⅎ:"ⅎ",Ⅰ:"ⅰ",Ⅱ:"ⅱ",Ⅲ:"ⅲ",Ⅳ:"ⅳ",Ⅴ:"ⅴ",Ⅵ:"ⅵ",Ⅶ:"ⅶ",Ⅷ:"ⅷ",Ⅸ:"ⅸ",Ⅹ:"ⅹ",Ⅺ:"ⅺ",Ⅻ:"ⅻ",Ⅼ:"ⅼ",Ⅽ:"ⅽ",Ⅾ:"ⅾ",Ⅿ:"ⅿ",Ↄ:"ↄ","Ⓐ":"ⓐ","Ⓑ":"ⓑ","Ⓒ":"ⓒ","Ⓓ":"ⓓ","Ⓔ":"ⓔ","Ⓕ":"ⓕ","Ⓖ":"ⓖ","Ⓗ":"ⓗ","Ⓘ":"ⓘ","Ⓙ":"ⓙ","Ⓚ":"ⓚ","Ⓛ":"ⓛ","Ⓜ":"ⓜ","Ⓝ":"ⓝ","Ⓞ":"ⓞ","Ⓟ":"ⓟ","Ⓠ":"ⓠ","Ⓡ":"ⓡ","Ⓢ":"ⓢ","Ⓣ":"ⓣ","Ⓤ":"ⓤ","Ⓥ":"ⓥ","Ⓦ":"ⓦ","Ⓧ":"ⓧ","Ⓨ":"ⓨ","Ⓩ":"ⓩ",Ⰰ:"ⰰ",Ⰱ:"ⰱ",Ⰲ:"ⰲ",Ⰳ:"ⰳ",Ⰴ:"ⰴ",Ⰵ:"ⰵ",Ⰶ:"ⰶ",Ⰷ:"ⰷ",Ⰸ:"ⰸ",Ⰹ:"ⰹ",Ⰺ:"ⰺ",Ⰻ:"ⰻ",Ⰼ:"ⰼ",Ⰽ:"ⰽ",Ⰾ:"ⰾ",Ⰿ:"ⰿ",Ⱀ:"ⱀ",Ⱁ:"ⱁ",Ⱂ:"ⱂ",Ⱃ:"ⱃ",Ⱄ:"ⱄ",Ⱅ:"ⱅ",Ⱆ:"ⱆ",Ⱇ:"ⱇ",Ⱈ:"ⱈ",Ⱉ:"ⱉ",Ⱊ:"ⱊ",Ⱋ:"ⱋ",Ⱌ:"ⱌ",Ⱍ:"ⱍ",Ⱎ:"ⱎ",Ⱏ:"ⱏ",Ⱐ:"ⱐ",Ⱑ:"ⱑ",Ⱒ:"ⱒ",Ⱓ:"ⱓ",Ⱔ:"ⱔ",Ⱕ:"ⱕ",Ⱖ:"ⱖ",Ⱗ:"ⱗ",Ⱘ:"ⱘ",Ⱙ:"ⱙ",Ⱚ:"ⱚ",Ⱛ:"ⱛ",Ⱜ:"ⱜ",Ⱝ:"ⱝ",Ⱞ:"ⱞ",Ⱡ:"ⱡ",Ɫ:"ɫ",Ᵽ:"ᵽ",Ɽ:"ɽ",Ⱨ:"ⱨ",Ⱪ:"ⱪ",Ⱬ:"ⱬ",Ɑ:"ɑ",Ɱ:"ɱ",Ɐ:"ɐ",Ɒ:"ɒ",Ⱳ:"ⱳ",Ⱶ:"ⱶ",Ȿ:"ȿ",Ɀ:"ɀ",Ⲁ:"ⲁ",Ⲃ:"ⲃ",Ⲅ:"ⲅ",Ⲇ:"ⲇ",Ⲉ:"ⲉ",Ⲋ:"ⲋ",Ⲍ:"ⲍ",Ⲏ:"ⲏ",Ⲑ:"ⲑ",Ⲓ:"ⲓ",Ⲕ:"ⲕ",Ⲗ:"ⲗ",Ⲙ:"ⲙ",Ⲛ:"ⲛ",Ⲝ:"ⲝ",Ⲟ:"ⲟ",Ⲡ:"ⲡ",Ⲣ:"ⲣ",Ⲥ:"ⲥ",Ⲧ:"ⲧ",Ⲩ:"ⲩ",Ⲫ:"ⲫ",Ⲭ:"ⲭ",Ⲯ:"ⲯ",Ⲱ:"ⲱ",Ⲳ:"ⲳ",Ⲵ:"ⲵ",Ⲷ:"ⲷ",Ⲹ:"ⲹ",Ⲻ:"ⲻ",Ⲽ:"ⲽ",Ⲿ:"ⲿ",Ⳁ:"ⳁ",Ⳃ:"ⳃ",Ⳅ:"ⳅ",Ⳇ:"ⳇ",Ⳉ:"ⳉ",Ⳋ:"ⳋ",Ⳍ:"ⳍ",Ⳏ:"ⳏ",Ⳑ:"ⳑ",Ⳓ:"ⳓ",Ⳕ:"ⳕ",Ⳗ:"ⳗ",Ⳙ:"ⳙ",Ⳛ:"ⳛ",Ⳝ:"ⳝ",Ⳟ:"ⳟ",Ⳡ:"ⳡ",Ⳣ:"ⳣ",Ⳬ:"ⳬ",Ⳮ:"ⳮ",Ⳳ:"ⳳ",Ꙁ:"ꙁ",Ꙃ:"ꙃ",Ꙅ:"ꙅ",Ꙇ:"ꙇ",Ꙉ:"ꙉ",Ꙋ:"ꙋ",Ꙍ:"ꙍ",Ꙏ:"ꙏ",Ꙑ:"ꙑ",Ꙓ:"ꙓ",Ꙕ:"ꙕ",Ꙗ:"ꙗ",Ꙙ:"ꙙ",Ꙛ:"ꙛ",Ꙝ:"ꙝ",Ꙟ:"ꙟ",Ꙡ:"ꙡ",Ꙣ:"ꙣ",Ꙥ:"ꙥ",Ꙧ:"ꙧ",Ꙩ:"ꙩ",Ꙫ:"ꙫ",Ꙭ:"ꙭ",Ꚁ:"ꚁ",Ꚃ:"ꚃ",Ꚅ:"ꚅ",Ꚇ:"ꚇ",Ꚉ:"ꚉ",Ꚋ:"ꚋ",Ꚍ:"ꚍ",Ꚏ:"ꚏ",Ꚑ:"ꚑ",Ꚓ:"ꚓ",Ꚕ:"ꚕ",Ꚗ:"ꚗ",Ꚙ:"ꚙ",Ꚛ:"ꚛ",Ꜣ:"ꜣ",Ꜥ:"ꜥ",Ꜧ:"ꜧ",Ꜩ:"ꜩ",Ꜫ:"ꜫ",Ꜭ:"ꜭ",Ꜯ:"ꜯ",Ꜳ:"ꜳ",Ꜵ:"ꜵ",Ꜷ:"ꜷ",Ꜹ:"ꜹ",Ꜻ:"ꜻ",Ꜽ:"ꜽ",Ꜿ:"ꜿ",Ꝁ:"ꝁ",Ꝃ:"ꝃ",Ꝅ:"ꝅ",Ꝇ:"ꝇ",Ꝉ:"ꝉ",Ꝋ:"ꝋ",Ꝍ:"ꝍ",Ꝏ:"ꝏ",Ꝑ:"ꝑ",Ꝓ:"ꝓ",Ꝕ:"ꝕ",Ꝗ:"ꝗ",Ꝙ:"ꝙ",Ꝛ:"ꝛ",Ꝝ:"ꝝ",Ꝟ:"ꝟ",Ꝡ:"ꝡ",Ꝣ:"ꝣ",Ꝥ:"ꝥ",Ꝧ:"ꝧ",Ꝩ:"ꝩ",Ꝫ:"ꝫ",Ꝭ:"ꝭ",Ꝯ:"ꝯ",Ꝺ:"ꝺ",Ꝼ:"ꝼ",Ᵹ:"ᵹ",Ꝿ:"ꝿ",Ꞁ:"ꞁ",Ꞃ:"ꞃ",Ꞅ:"ꞅ",Ꞇ:"ꞇ",Ꞌ:"ꞌ",Ɥ:"ɥ",Ꞑ:"ꞑ",Ꞓ:"ꞓ",Ꞗ:"ꞗ",Ꞙ:"ꞙ",Ꞛ:"ꞛ",Ꞝ:"ꞝ",Ꞟ:"ꞟ",Ꞡ:"ꞡ",Ꞣ:"ꞣ",Ꞥ:"ꞥ",Ꞧ:"ꞧ",Ꞩ:"ꞩ",Ɦ:"ɦ",Ɜ:"ɜ",Ɡ:"ɡ",Ɬ:"ɬ",Ʞ:"ʞ",Ʇ:"ʇ",A:"a",B:"b",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",J:"j",K:"k",L:"l",M:"m",N:"n",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",U:"u",V:"v",W:"w",X:"x",Y:"y",Z:"z",𐐀:"𐐨",𐐁:"𐐩",𐐂:"𐐪",𐐃:"𐐫",𐐄:"𐐬",𐐅:"𐐭",𐐆:"𐐮",𐐇:"𐐯",𐐈:"𐐰",𐐉:"𐐱",𐐊:"𐐲",𐐋:"𐐳",𐐌:"𐐴",𐐍:"𐐵",𐐎:"𐐶",𐐏:"𐐷",𐐐:"𐐸",𐐑:"𐐹",𐐒:"𐐺",𐐓:"𐐻",𐐔:"𐐼",𐐕:"𐐽",𐐖:"𐐾",𐐗:"𐐿",𐐘:"𐑀",𐐙:"𐑁",𐐚:"𐑂",𐐛:"𐑃",𐐜:"𐑄",𐐝:"𐑅",𐐞:"𐑆",𐐟:"𐑇",𐐠:"𐑈",𐐡:"𐑉",𐐢:"𐑊",𐐣:"𐑋",𐐤:"𐑌",𐐥:"𐑍",𐐦:"𐑎",𐐧:"𐑏",𑢠:"𑣀",𑢡:"𑣁",𑢢:"𑣂",𑢣:"𑣃",𑢤:"𑣄",𑢥:"𑣅",𑢦:"𑣆",𑢧:"𑣇",𑢨:"𑣈",𑢩:"𑣉",𑢪:"𑣊",𑢫:"𑣋",𑢬:"𑣌",𑢭:"𑣍",𑢮:"𑣎",𑢯:"𑣏",𑢰:"𑣐",𑢱:"𑣑",𑢲:"𑣒",𑢳:"𑣓",𑢴:"𑣔",𑢵:"𑣕",𑢶:"𑣖",𑢷:"𑣗",𑢸:"𑣘",𑢹:"𑣙",𑢺:"𑣚",𑢻:"𑣛",𑢼:"𑣜",𑢽:"𑣝",𑢾:"𑣞",𑢿:"𑣟",ß:"ss",İ:"i̇",ʼn:"ʼn",ǰ:"ǰ",ΐ:"ΐ",ΰ:"ΰ",և:"եւ",ẖ:"ẖ",ẗ:"ẗ",ẘ:"ẘ",ẙ:"ẙ",ẚ:"aʾ",ẞ:"ss",ὐ:"ὐ",ὒ:"ὒ",ὔ:"ὔ",ὖ:"ὖ",ᾀ:"ἀι",ᾁ:"ἁι",ᾂ:"ἂι",ᾃ:"ἃι",ᾄ:"ἄι",ᾅ:"ἅι",ᾆ:"ἆι",ᾇ:"ἇι",ᾈ:"ἀι",ᾉ:"ἁι",ᾊ:"ἂι",ᾋ:"ἃι",ᾌ:"ἄι",ᾍ:"ἅι",ᾎ:"ἆι",ᾏ:"ἇι",ᾐ:"ἠι",ᾑ:"ἡι",ᾒ:"ἢι",ᾓ:"ἣι",ᾔ:"ἤι",ᾕ:"ἥι",ᾖ:"ἦι",ᾗ:"ἧι",ᾘ:"ἠι",ᾙ:"ἡι",ᾚ:"ἢι",ᾛ:"ἣι",ᾜ:"ἤι",ᾝ:"ἥι",ᾞ:"ἦι",ᾟ:"ἧι",ᾠ:"ὠι",ᾡ:"ὡι",ᾢ:"ὢι",ᾣ:"ὣι",ᾤ:"ὤι",ᾥ:"ὥι",ᾦ:"ὦι",ᾧ:"ὧι",ᾨ:"ὠι",ᾩ:"ὡι",ᾪ:"ὢι",ᾫ:"ὣι",ᾬ:"ὤι",ᾭ:"ὥι",ᾮ:"ὦι",ᾯ:"ὧι",ᾲ:"ὰι",ᾳ:"αι",ᾴ:"άι",ᾶ:"ᾶ",ᾷ:"ᾶι",ᾼ:"αι",ῂ:"ὴι",ῃ:"ηι",ῄ:"ήι",ῆ:"ῆ",ῇ:"ῆι",ῌ:"ηι",ῒ:"ῒ",ΐ:"ΐ",ῖ:"ῖ",ῗ:"ῗ",ῢ:"ῢ",ΰ:"ΰ",ῤ:"ῤ",ῦ:"ῦ",ῧ:"ῧ",ῲ:"ὼι",ῳ:"ωι",ῴ:"ώι",ῶ:"ῶ",ῷ:"ῶι",ῼ:"ωι",ff:"ff",fi:"fi",fl:"fl",ffi:"ffi",ffl:"ffl",ſt:"st",st:"st",ﬓ:"մն",ﬔ:"մե",ﬕ:"մի",ﬖ:"վն",ﬗ:"մխ"};e.exports=function(e){return e.slice(1,e.length-1).trim().replace(t,(function(e){return r[e]||" "}))}},1453:(e,t,r)=>{"use strict";var n=r(311),o=r(1356).escapeXml,a=/^javascript:|vbscript:|file:|data:/i,i=/^data:image\/(?:png|gif|jpeg|webp)/i,s=function(e){return a.test(e)&&!i.test(e)};function l(e){(e=e||{}).softbreak=e.softbreak||"\n",this.disableTags=0,this.lastOut="\n",this.options=e}l.prototype=Object.create(n.prototype),l.prototype.text=function(e){this.out(e.literal)},l.prototype.html_inline=function(e){this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal)},l.prototype.html_block=function(e){this.cr(),this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal),this.cr()},l.prototype.softbreak=function(){this.lit(this.options.softbreak)},l.prototype.linebreak=function(){this.tag("br",[],!0),this.cr()},l.prototype.link=function(e,t){var r=this.attrs(e);t?(this.options.safe&&s(e.destination)||r.push(["href",o(e.destination,!0)]),e.title&&r.push(["title",o(e.title,!0)]),this.tag("a",r)):this.tag("/a")},l.prototype.image=function(e,t){t?(0===this.disableTags&&(this.options.safe&&s(e.destination)?this.lit(''):this.lit('<img src=')))},l.prototype.emph=function(e,t){this.tag(t?"em":"/em")},l.prototype.strong=function(e,t){this.tag(t?"strong":"/strong")},l.prototype.paragraph=function(e,t){var r=e.parent.parent,n=this.attrs(e);null!==r&&"list"===r.type&&r.listTight||(t?(this.cr(),this.tag("p",n)):(this.tag("/p"),this.cr()))},l.prototype.heading=function(e,t){var r="h"+e.level,n=this.attrs(e);t?(this.cr(),this.tag(r,n)):(this.tag("/"+r),this.cr())},l.prototype.code=function(e){this.tag("code"),this.out(e.literal),this.tag("/code")},l.prototype.code_block=function(e){var t=e.info?e.info.split(/\s+/):[],r=this.attrs(e);t.length>0&&t[0].length>0&&r.push(["class","language-"+o(t[0],!0)]),this.cr(),this.tag("pre"),this.tag("code",r),this.out(e.literal),this.tag("/code"),this.tag("/pre"),this.cr()},l.prototype.thematic_break=function(e){var t=this.attrs(e);this.cr(),this.tag("hr",t,!0),this.cr()},l.prototype.block_quote=function(e,t){var r=this.attrs(e);t?(this.cr(),this.tag("blockquote",r),this.cr()):(this.cr(),this.tag("/blockquote"),this.cr())},l.prototype.list=function(e,t){var r="bullet"===e.listType?"ul":"ol",n=this.attrs(e);if(t){var o=e.listStart;null!==o&&1!==o&&n.push(["start",o.toString()]),this.cr(),this.tag(r,n),this.cr()}else this.cr(),this.tag("/"+r),this.cr()},l.prototype.item=function(e,t){var r=this.attrs(e);t?this.tag("li",r):(this.tag("/li"),this.cr())},l.prototype.custom_inline=function(e,t){t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit)},l.prototype.custom_block=function(e,t){this.cr(),t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit),this.cr()},l.prototype.out=function(e){this.lit(o(e,!1))},l.prototype.tag=function(e,t,r){if(!(this.disableTags>0)){if(this.buffer+="<"+e,t&&t.length>0)for(var n,o=0;void 0!==(n=t[o]);)this.buffer+=" "+n[0]+'="'+n[1]+'"',o++;r&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}},l.prototype.attrs=function(e){var t=[];if(this.options.sourcepos){var r=e.sourcepos;r&&t.push(["data-sourcepos",String(r[0][0])+":"+String(r[0][1])+"-"+String(r[1][0])+":"+String(r[1][1])])}return t},e.exports=l},311:e=>{"use strict";function t(){}t.prototype.render=function(e){var t,r,n=e.walker();for(this.buffer="",this.lastOut="\n";t=n.next();)this[r=t.node.type]&&this[r](t.node,t.entering);return this.buffer},t.prototype.out=function(e){this.lit(e)},t.prototype.lit=function(e){this.buffer+=e,this.lastOut=e},t.prototype.cr=function(){"\n"!==this.lastOut&&this.lit("\n")},e.exports=t},7096:(e,t,r)=>{"use strict";var n=r(1356).escapeXml,o=function(e,t,r){var o="<"+e;if(t&&t.length>0)for(var a,i=0;void 0!==(a=t[i]);)o+=" "+a[0]+'="'+n(a[1])+'"',i++;return r&&(o+=" /"),o+">"},a=function(e){var t,r,n,a,i,s,l,u,c=e.walker(),p="",f="\n",d=0,h=function(e){p+=e,f=e},g=this.escape,b=function(){if("\n"!==f){p+="\n",f="\n";for(var e=d;e>0;e--)p+=" "}},v=this.options;for(v.time&&console.time("rendering"),p+='\n',p+='\n';n=c.next();)if(i=n.entering,u=(a=n.node).type,s=a.isContainer,l="thematic_break"===u||"linebreak"===u||"softbreak"===u,r=u.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase(),i){switch(t=[],u){case"document":t.push(["xmlns","http://commonmark.org/xml/1.0"]);break;case"list":null!==a.listType&&t.push(["type",a.listType.toLowerCase()]),null!==a.listStart&&t.push(["start",String(a.listStart)]),null!==a.listTight&&t.push(["tight",a.listTight?"true":"false"]);var m=a.listDelimiter;if(null!==m){var y;y="."===m?"period":"paren",t.push(["delimiter",y])}break;case"code_block":a.info&&t.push(["info",a.info]);break;case"heading":t.push(["level",String(a.level)]);break;case"link":case"image":t.push(["destination",a.destination]),t.push(["title",a.title]);break;case"custom_inline":case"custom_block":t.push(["on_enter",a.onEnter]),t.push(["on_exit",a.onExit])}if(v.sourcepos){var x=a.sourcepos;x&&t.push(["sourcepos",String(x[0][0])+":"+String(x[0][1])+"-"+String(x[1][0])+":"+String(x[1][1])])}if(b(),h(o(r,t,l)),s)d+=1;else if(!s&&!l){var w=a.literal;w&&h(g(w)),h(o("/"+r))}}else d-=1,b(),h(o("/"+r));return v.time&&console.timeEnd("rendering"),p+="\n"};e.exports=function(e){return{softbreak:"\n",escape:n,options:e||{},render:a}}},8711:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),a=r(6314),i=r.n(a)()(o());i.push([e.id,':root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, 0.7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: 0.2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0, 0, var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translateX(-50%)}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right)}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translateX(-50%)}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right)}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;padding:0;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translateX(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translateX(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}}.Toastify__toast{--y: 0;position:relative;-ms-touch-action:none;touch-action:none;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0px 4px 12px rgba(0,0,0,.1);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);cursor:default;direction:ltr;z-index:0;overflow:hidden}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0, var(--y), 0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g)*1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{margin:auto 0;-ms-flex:1 1 auto;flex:1 1 auto;padding:6px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.Toastify__toast-body>div:last-child{word-break:break-word;-ms-flex:1;flex:1}.Toastify__toast-icon{-webkit-margin-end:10px;margin-inline-end:10px;width:20px;-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width: 480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:rgba(0,0,0,0);outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;-ms-flex-item-align:start;align-self:flex-start;z-index:1}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial;border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp{position:absolute;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;transform:translate3d(3000px, 0, 0)}60%{opacity:1;transform:translate3d(-25px, 0, 0)}75%{transform:translate3d(10px, 0, 0)}90%{transform:translate3d(-5px, 0, 0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px, var(--y), 0)}to{opacity:0;transform:translate3d(2000px, var(--y), 0)}}@keyframes Toastify__bounceInLeft{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;transform:translate3d(-3000px, 0, 0)}60%{opacity:1;transform:translate3d(25px, 0, 0)}75%{transform:translate3d(-10px, 0, 0)}90%{transform:translate3d(5px, 0, 0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px, var(--y), 0)}to{opacity:0;transform:translate3d(-2000px, var(--y), 0)}}@keyframes Toastify__bounceInUp{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;transform:translate3d(0, 3000px, 0)}60%{opacity:1;transform:translate3d(0, -20px, 0)}75%{transform:translate3d(0, 10px, 0)}90%{transform:translate3d(0, -5px, 0)}to{transform:translate3d(0, 0, 0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0, calc(var(--y) - 10px), 0)}40%,45%{opacity:1;transform:translate3d(0, calc(var(--y) + 20px), 0)}to{opacity:0;transform:translate3d(0, -2000px, 0)}}@keyframes Toastify__bounceInDown{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;transform:translate3d(0, -3000px, 0)}60%{opacity:1;transform:translate3d(0, 25px, 0)}75%{transform:translate3d(0, -10px, 0)}90%{transform:translate3d(0, 5px, 0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0, calc(var(--y) - 10px), 0)}40%,45%{opacity:1;transform:translate3d(0, calc(var(--y) + 20px), 0)}to{opacity:0;transform:translate3d(0, 2000px, 0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{from{opacity:0;transform:scale3d(0.3, 0.3, 0.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{from{opacity:1}50%{opacity:0;transform:translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{from{transform:perspective(400px) rotate3d(1, 0, 0, 90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1, 0, 0, -20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1, 0, 0, 10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1, 0, 0, -5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{from{transform:translate3d(0, var(--y), 0) perspective(400px)}30%{transform:translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);opacity:1}to{transform:translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{from{transform:translate3d(110%, 0, 0);visibility:visible}to{transform:translate3d(0, var(--y), 0)}}@keyframes Toastify__slideInLeft{from{transform:translate3d(-110%, 0, 0);visibility:visible}to{transform:translate3d(0, var(--y), 0)}}@keyframes Toastify__slideInUp{from{transform:translate3d(0, 110%, 0);visibility:visible}to{transform:translate3d(0, var(--y), 0)}}@keyframes Toastify__slideInDown{from{transform:translate3d(0, -110%, 0);visibility:visible}to{transform:translate3d(0, var(--y), 0)}}@keyframes Toastify__slideOutRight{from{transform:translate3d(0, var(--y), 0)}to{visibility:hidden;transform:translate3d(110%, var(--y), 0)}}@keyframes Toastify__slideOutLeft{from{transform:translate3d(0, var(--y), 0)}to{visibility:hidden;transform:translate3d(-110%, var(--y), 0)}}@keyframes Toastify__slideOutDown{from{transform:translate3d(0, var(--y), 0)}to{visibility:hidden;transform:translate3d(0, 500px, 0)}}@keyframes Toastify__slideOutUp{from{transform:translate3d(0, var(--y), 0)}to{visibility:hidden;transform:translate3d(0, -500px, 0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}',""]),i.locals={};const s=i},8610:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),a=r(6314),i=r.n(a)()(o());i.push([e.id,".react-toggle{touch-action:pan-x;display:inline-block;position:relative;cursor:pointer;background-color:rgba(0,0,0,0);border:0;padding:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:rgba(0,0,0,0)}.react-toggle-screenreader-only{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.react-toggle--disabled{cursor:not-allowed;opacity:.5;-webkit-transition:opacity .25s;transition:opacity .25s}.react-toggle-track{width:50px;height:24px;padding:0;border-radius:30px;background-color:#4d4d4d;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;transition:all .2s ease}.react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track{background-color:#000}.react-toggle--checked .react-toggle-track{background-color:#19ab27}.react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track{background-color:#128d15}.react-toggle-track-check{position:absolute;width:14px;height:10px;top:0px;bottom:0px;margin-top:auto;margin-bottom:auto;line-height:0;left:8px;opacity:0;-webkit-transition:opacity .25s ease;-moz-transition:opacity .25s ease;transition:opacity .25s ease}.react-toggle--checked .react-toggle-track-check{opacity:1;-webkit-transition:opacity .25s ease;-moz-transition:opacity .25s ease;transition:opacity .25s ease}.react-toggle-track-x{position:absolute;width:10px;height:10px;top:0px;bottom:0px;margin-top:auto;margin-bottom:auto;line-height:0;right:10px;opacity:1;-webkit-transition:opacity .25s ease;-moz-transition:opacity .25s ease;transition:opacity .25s ease}.react-toggle--checked .react-toggle-track-x{opacity:0}.react-toggle-thumb{transition:all .5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;position:absolute;top:1px;left:1px;width:22px;height:22px;border:1px solid #4d4d4d;border-radius:50%;background-color:#fafafa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .25s ease;-moz-transition:all .25s ease;transition:all .25s ease}.react-toggle--checked .react-toggle-thumb{left:27px;border-color:#19ab27}.react-toggle--focus .react-toggle-thumb{-webkit-box-shadow:0px 0px 3px 2px #0099e0;-moz-box-shadow:0px 0px 3px 2px #0099e0;box-shadow:0px 0px 2px 3px #0099e0}.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb{-webkit-box-shadow:0px 0px 5px 5px #0099e0;-moz-box-shadow:0px 0px 5px 5px #0099e0;box-shadow:0px 0px 5px 5px #0099e0}",""]),i.locals={};const s=i},6246:(e,t,r)=>{var n=r(1818),o=r(9878);n.XML,n.HTML,o.XML,t.Gz=o.HTML,o.HTMLStrict,n.escape},9878:(e,t,r)=>{var n=r(5458),o=r(7966),a=r(6982),i=r(5096),s=u(a),l=u(n);function u(e){var t=Object.keys(e).join("|"),r=f(e),n=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(n,r)}}var c=function(){for(var e=Object.keys(o).sort(p),t=Object.keys(n).sort(p),r=0,a=0;r{var n=r(4331);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in n&&(e=n[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},1818:(e,t,r)=>{var n=s(r(6982)),o=l(n);t.XML=d(n,o);var a=s(r(5458)),i=l(a);function s(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function l(e){var t=[],r=[];return Object.keys(e).forEach((function(e){1===e.length?t.push("\\"+e):r.push(e)})),r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.HTML=d(a,i);var u=/[^\0-\x7F]/g,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function p(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function f(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function d(e,t){function r(t){return e[t]}return function(e){return e.replace(t,r).replace(c,f).replace(u,p)}}var h=l(n);t.escape=function(e){return e.replace(h,p).replace(c,f).replace(u,p)}},9023:e=>{var t,r,n=9007199254740991,o="[object Function]",a="[object GeneratorFunction]",i=/^(?:0|[1-9]\d*)$/,s=Object.prototype,l=s.hasOwnProperty,u=s.toString,c=s.propertyIsEnumerable,p=(t=Object.keys,r=Object,function(e){return t(r(e))}),f=Math.max,d=!c.call({valueOf:1},"valueOf");function h(e,t,r){var n=e[t];l.call(e,t)&&v(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function g(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||i.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=n}(e.length)&&!function(e){var t=x(e)?u.call(e):"";return t==o||t==a}(e)}function x(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var w,_=(w=function(e,t){if(d||b(t)||y(t))!function(e,t,r,n){r||(r={});for(var o=-1,a=t.length;++o1?t[n-1]:void 0,a=n>2?t[2]:void 0;for(o=w.length>3&&"function"==typeof o?(n--,o):void 0,a&&function(e,t,r){if(!x(r))return!1;var n=typeof t;return!!("number"==n?y(r)&&g(t,r.length):"string"==n&&t in r)&&v(r[t],e)}(t[0],t[1],a)&&(o=n<3?void 0:o,n=1),e=Object(e);++r{var t,r,n=Function.prototype,o=Object.prototype,a=n.toString,i=o.hasOwnProperty,s=a.call(Object),l=o.toString,u=(t=Object.getPrototypeOf,r=Object,function(e){return t(r(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=l.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=u(e);if(null===t)return!0;var r=i.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&a.call(r)==s}},5580:(e,t,r)=>{var n=r(6110)(r(9325),"DataView");e.exports=n},1549:(e,t,r)=>{var n=r(2032),o=r(3862),a=r(6721),i=r(2749),s=r(5749);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(3702),o=r(80),a=r(4739),i=r(8655),s=r(1175);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(6110)(r(9325),"Map");e.exports=n},3661:(e,t,r)=>{var n=r(3040),o=r(7670),a=r(289),i=r(4509),s=r(2949);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(6110)(r(9325),"Promise");e.exports=n},6545:(e,t,r)=>{var n=r(6110)(r(9325),"Set");e.exports=n},8859:(e,t,r)=>{var n=r(3661),o=r(1380),a=r(1459);function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t{var n=r(79),o=r(1420),a=r(938),i=r(3605),s=r(9817),l=r(945);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=l,e.exports=u},1873:(e,t,r)=>{var n=r(9325).Symbol;e.exports=n},7828:(e,t,r)=>{var n=r(9325).Uint8Array;e.exports=n},8303:(e,t,r)=>{var n=r(6110)(r(9325),"WeakMap");e.exports=n},3729:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r{var n=r(8096),o=r(2428),a=r(6449),i=r(3656),s=r(361),l=r(7167),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=a(e),c=!r&&o(e),p=!r&&!c&&i(e),f=!r&&!c&&!p&&l(e),d=r||c||p||f,h=d?n(e.length,String):[],g=h.length;for(var b in e)!t&&!u.call(e,b)||d&&("length"==b||p&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,g))||h.push(b);return h}},4932:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r{e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r{var n=r(3360),o=r(5288),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var i=e[t];a.call(e,t)&&o(i,r)&&(void 0!==r||t in e)||n(e,t,r)}},6025:(e,t,r)=>{var n=r(5288);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},4733:(e,t,r)=>{var n=r(1791),o=r(5950);e.exports=function(e,t){return e&&n(t,o(t),e)}},3838:(e,t,r)=>{var n=r(1791),o=r(7241);e.exports=function(e,t){return e&&n(t,o(t),e)}},3360:(e,t,r)=>{var n=r(3243);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},9999:(e,t,r)=>{var n=r(7217),o=r(3729),a=r(6547),i=r(4733),s=r(3838),l=r(3290),u=r(3007),c=r(2271),p=r(8948),f=r(2),d=r(3349),h=r(5861),g=r(6189),b=r(7199),v=r(5529),m=r(6449),y=r(3656),x=r(7730),w=r(3805),_=r(8440),E=r(5950),C=r(7241),k="[object Arguments]",A="[object Function]",O="[object Object]",S={};S[k]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S[O]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S[A]=S["[object WeakMap]"]=!1,e.exports=function e(t,r,T,D,j,M){var F,P=1&r,L=2&r,R=4&r;if(T&&(F=j?T(t,D,j,M):T(t)),void 0!==F)return F;if(!w(t))return t;var B=m(t);if(B){if(F=g(t),!P)return u(t,F)}else{var N=h(t),z=N==A||"[object GeneratorFunction]"==N;if(y(t))return l(t,P);if(N==O||N==k||z&&!j){if(F=L||z?{}:v(t),!P)return L?p(t,s(F,t)):c(t,i(F,t))}else{if(!S[N])return j?t:{};F=b(t,N,P)}}M||(M=new n);var I=M.get(t);if(I)return I;M.set(t,F),_(t)?t.forEach((function(n){F.add(e(n,r,T,n,t,M))})):x(t)&&t.forEach((function(n,o){F.set(o,e(n,r,T,o,t,M))}));var H=B?void 0:(R?L?d:f:L?C:E)(t);return o(H||t,(function(n,o){H&&(n=t[o=n]),a(F,o,e(n,r,T,o,t,M))})),F}},9344:(e,t,r)=>{var n=r(3805),o=Object.create,a=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=a},909:(e,t,r)=>{var n=r(641),o=r(8329)(n);e.exports=o},6649:(e,t,r)=>{var n=r(3221)();e.exports=n},641:(e,t,r)=>{var n=r(6649),o=r(5950);e.exports=function(e,t){return e&&n(e,t,o)}},7422:(e,t,r)=>{var n=r(1769),o=r(7797);e.exports=function(e,t){for(var r=0,a=(t=n(t,e)).length;null!=e&&r{var n=r(4528),o=r(6449);e.exports=function(e,t,r){var a=t(e);return o(e)?a:n(a,r(e))}},2552:(e,t,r)=>{var n=r(1873),o=r(659),a=r(9350),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},8077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7534:(e,t,r)=>{var n=r(2552),o=r(346);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},270:(e,t,r)=>{var n=r(7068),o=r(346);e.exports=function e(t,r,a,i,s){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,a,i,e,s))}},7068:(e,t,r)=>{var n=r(7217),o=r(5911),a=r(1986),i=r(689),s=r(5861),l=r(6449),u=r(3656),c=r(7167),p="[object Arguments]",f="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,g,b,v){var m=l(e),y=l(t),x=m?f:s(e),w=y?f:s(t),_=(x=x==p?d:x)==d,E=(w=w==p?d:w)==d,C=x==w;if(C&&u(e)){if(!u(t))return!1;m=!0,_=!1}if(C&&!_)return v||(v=new n),m||c(e)?o(e,t,r,g,b,v):a(e,t,x,r,g,b,v);if(!(1&r)){var k=_&&h.call(e,"__wrapped__"),A=E&&h.call(t,"__wrapped__");if(k||A){var O=k?e.value():e,S=A?t.value():t;return v||(v=new n),b(O,S,r,g,v)}}return!!C&&(v||(v=new n),i(e,t,r,g,b,v))}},9172:(e,t,r)=>{var n=r(5861),o=r(346);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},1799:(e,t,r)=>{var n=r(7217),o=r(270);e.exports=function(e,t,r,a){var i=r.length,s=i,l=!a;if(null==e)return!s;for(e=Object(e);i--;){var u=r[i];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i{var n=r(1882),o=r(7296),a=r(3805),i=r(7473),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,p=u.hasOwnProperty,f=RegExp("^"+c.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(n(e)?f:s).test(i(e))}},6038:(e,t,r)=>{var n=r(5861),o=r(346);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},4901:(e,t,r)=>{var n=r(2552),o=r(294),a=r(346),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[n(e)]}},5389:(e,t,r)=>{var n=r(3663),o=r(7978),a=r(3488),i=r(6449),s=r(583);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):n(e):s(e)}},8984:(e,t,r)=>{var n=r(5527),o=r(3650),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},2903:(e,t,r)=>{var n=r(3805),o=r(5527),a=r(181),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return a(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&r.push(s);return r}},5128:(e,t,r)=>{var n=r(909),o=r(4894);e.exports=function(e,t){var r=-1,a=o(e)?Array(e.length):[];return n(e,(function(e,n,o){a[++r]=t(e,n,o)})),a}},3663:(e,t,r)=>{var n=r(1799),o=r(776),a=r(7197);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},7978:(e,t,r)=>{var n=r(270),o=r(8156),a=r(631),i=r(8586),s=r(756),l=r(7197),u=r(7797);e.exports=function(e,t){return i(e)&&s(t)?l(u(e),t):function(r){var i=o(r,e);return void 0===i&&i===t?a(r,e):n(t,i,3)}}},7237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},7255:(e,t,r)=>{var n=r(7422);e.exports=function(e){return function(t){return n(t,e)}}},8096:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r{var n=r(1873),o=r(4932),a=r(6449),i=r(4394),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return o(t,e)+"";if(i(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},7301:e=>{e.exports=function(e){return function(t){return e(t)}}},9219:e=>{e.exports=function(e,t){return e.has(t)}},4066:(e,t,r)=>{var n=r(3488);e.exports=function(e){return"function"==typeof e?e:n}},1769:(e,t,r)=>{var n=r(6449),o=r(8586),a=r(1802),i=r(3222);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:a(i(e))}},9653:(e,t,r)=>{var n=r(7828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},3290:(e,t,r)=>{e=r.nmd(e);var n=r(9325),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?n.Buffer:void 0,s=i?i.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}},6169:(e,t,r)=>{var n=r(9653);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},3201:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},3736:(e,t,r)=>{var n=r(1873),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},1961:(e,t,r)=>{var n=r(9653);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},3007:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{var n=r(6547),o=r(3360);e.exports=function(e,t,r,a){var i=!r;r||(r={});for(var s=-1,l=t.length;++s{var n=r(1791),o=r(4664);e.exports=function(e,t){return n(e,o(e),t)}},8948:(e,t,r)=>{var n=r(1791),o=r(6375);e.exports=function(e,t){return n(e,o(e),t)}},5481:(e,t,r)=>{var n=r(9325)["__core-js_shared__"];e.exports=n},8329:(e,t,r)=>{var n=r(4894);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var a=r.length,i=t?a:-1,s=Object(r);(t?i--:++i{e.exports=function(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),s=i.length;s--;){var l=i[e?s:++o];if(!1===r(a[l],l,a))break}return t}}},3243:(e,t,r)=>{var n=r(6110),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},5911:(e,t,r)=>{var n=r(8859),o=r(4248),a=r(9219);e.exports=function(e,t,r,i,s,l){var u=1&r,c=e.length,p=t.length;if(c!=p&&!(u&&p>c))return!1;var f=l.get(e),d=l.get(t);if(f&&d)return f==t&&d==e;var h=-1,g=!0,b=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++h{var n=r(1873),o=r(7828),a=r(5288),i=r(5911),s=r(317),l=r(4247),u=n?n.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,p,f){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+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 d=s;case"[object Set]":var h=1&n;if(d||(d=l),e.size!=t.size&&!h)return!1;var g=f.get(e);if(g)return g==t;n|=2,f.set(e,t);var b=i(d(e),d(t),n,u,p,f);return f.delete(e),b;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},689:(e,t,r)=>{var n=r(2),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,a,i,s){var l=1&r,u=n(e),c=u.length;if(c!=n(t).length&&!l)return!1;for(var p=c;p--;){var f=u[p];if(!(l?f in t:o.call(t,f)))return!1}var d=s.get(e),h=s.get(t);if(d&&h)return d==t&&h==e;var g=!0;s.set(e,t),s.set(t,e);for(var b=l;++p{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},2:(e,t,r)=>{var n=r(2199),o=r(4664),a=r(5950);e.exports=function(e){return n(e,a,o)}},3349:(e,t,r)=>{var n=r(2199),o=r(6375),a=r(7241);e.exports=function(e){return n(e,a,o)}},2651:(e,t,r)=>{var n=r(4218);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},776:(e,t,r)=>{var n=r(756),o=r(5950);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var a=t[r],i=e[a];t[r]=[a,i,n(i)]}return t}},6110:(e,t,r)=>{var n=r(5083),o=r(392);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},8879:(e,t,r)=>{var n=r(4335)(Object.getPrototypeOf,Object);e.exports=n},659:(e,t,r)=>{var n=r(1873),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[s]=r:delete e[s]),o}},4664:(e,t,r)=>{var n=r(9770),o=r(3345),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),n(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=s},6375:(e,t,r)=>{var n=r(4528),o=r(8879),a=r(4664),i=r(3345),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,a(e)),e=o(e);return t}:i;e.exports=s},5861:(e,t,r)=>{var n=r(5580),o=r(8223),a=r(2804),i=r(6545),s=r(8303),l=r(2552),u=r(7473),c="[object Map]",p="[object Promise]",f="[object Set]",d="[object WeakMap]",h="[object DataView]",g=u(n),b=u(o),v=u(a),m=u(i),y=u(s),x=l;(n&&x(new n(new ArrayBuffer(1)))!=h||o&&x(new o)!=c||a&&x(a.resolve())!=p||i&&x(new i)!=f||s&&x(new s)!=d)&&(x=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case g:return h;case b:return c;case v:return p;case m:return f;case y:return d}return t}),e.exports=x},392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},9326:(e,t,r)=>{var n=r(1769),o=r(2428),a=r(6449),i=r(361),s=r(294),l=r(7797);e.exports=function(e,t,r){for(var u=-1,c=(t=n(t,e)).length,p=!1;++u{var n=r(1042);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},3862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6721:(e,t,r)=>{var n=r(1042),o=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 o.call(t,e)?t[e]:void 0}},2749:(e,t,r)=>{var n=r(1042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},5749:(e,t,r)=>{var n=r(1042);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}},6189: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}},7199:(e,t,r)=>{var n=r(9653),o=r(6169),a=r(3201),i=r(3736),s=r(1961);e.exports=function(e,t,r){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(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 l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return a(e);case"[object Symbol]":return i(e)}}},5529:(e,t,r)=>{var n=r(9344),o=r(8879),a=r(5527);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:n(o(e))}},361: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{var n=r(6449),o=r(4394),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||i.test(e)||!a.test(e)||null!=t&&e in Object(t)}},4218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7296:(e,t,r)=>{var n,o=r(5481),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!a&&a in e}},5527:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},756:(e,t,r)=>{var n=r(3805);e.exports=function(e){return e==e&&!n(e)}},3702:e=>{e.exports=function(){this.__data__=[],this.size=0}},80:(e,t,r)=>{var n=r(6025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},4739:(e,t,r)=>{var n=r(6025);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},8655:(e,t,r)=>{var n=r(6025);e.exports=function(e){return n(this.__data__,e)>-1}},1175:(e,t,r)=>{var n=r(6025);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},3040:(e,t,r)=>{var n=r(1549),o=r(79),a=r(8223);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7670:(e,t,r)=>{var n=r(2651);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},289:(e,t,r)=>{var n=r(2651);e.exports=function(e){return n(this,e).get(e)}},4509:(e,t,r)=>{var n=r(2651);e.exports=function(e){return n(this,e).has(e)}},2949:(e,t,r)=>{var n=r(2651);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},317:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},7197:e=>{e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},2224:(e,t,r)=>{var n=r(104);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},1042:(e,t,r)=>{var n=r(6110)(Object,"create");e.exports=n},3650:(e,t,r)=>{var n=r(4335)(Object.keys,Object);e.exports=n},181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},6009:(e,t,r)=>{e=r.nmd(e);var n=r(4840),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&n.process,s=function(){try{return a&&a.require&&a.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s},9350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},4335:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},9325:(e,t,r)=>{var n=r(4840),o="object"==typeof self&&self&&self.Object===Object&&self,a=n||o||Function("return this")();e.exports=a},1380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1459:e=>{e.exports=function(e){return this.__data__.has(e)}},4247:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},1420:(e,t,r)=>{var n=r(79);e.exports=function(){this.__data__=new n,this.size=0}},938:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},3605:e=>{e.exports=function(e){return this.__data__.get(e)}},9817:e=>{e.exports=function(e){return this.__data__.has(e)}},945:(e,t,r)=>{var n=r(79),o=r(8223),a=r(3661);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(e,t),this.size=r.size,this}},1802:(e,t,r)=>{var n=r(2224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(a,"$1"):r||e)})),t}));e.exports=i},7797:(e,t,r)=>{var n=r(4394);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},7473: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""}},8055:(e,t,r)=>{var n=r(9999);e.exports=function(e){return n(e,5)}},5288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3215:(e,t,r)=>{var n=r(641),o=r(4066);e.exports=function(e,t){return e&&n(e,o(t))}},8156:(e,t,r)=>{var n=r(7422);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},631:(e,t,r)=>{var n=r(8077),o=r(9326);e.exports=function(e,t){return null!=e&&o(e,t,n)}},3488:e=>{e.exports=function(e){return e}},2428:(e,t,r)=>{var n=r(7534),o=r(346),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},6449:e=>{var t=Array.isArray;e.exports=t},4894:(e,t,r)=>{var n=r(1882),o=r(294);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},3656:(e,t,r)=>{e=r.nmd(e);var n=r(9325),o=r(9935),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,s=i&&i.exports===a?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},1882:(e,t,r)=>{var n=r(2552),o=r(3805);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7730:(e,t,r)=>{var n=r(9172),o=r(7301),a=r(6009),i=a&&a.isMap,s=i?o(i):n;e.exports=s},3805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},1331:(e,t,r)=>{var n=r(2552),o=r(8879),a=r(346),i=Function.prototype,s=Object.prototype,l=i.toString,u=s.hasOwnProperty,c=l.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==c}},8440:(e,t,r)=>{var n=r(6038),o=r(7301),a=r(6009),i=a&&a.isSet,s=i?o(i):n;e.exports=s},5015:(e,t,r)=>{var n=r(2552),o=r(6449),a=r(346);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==n(e)}},4394:(e,t,r)=>{var n=r(2552),o=r(346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},7167:(e,t,r)=>{var n=r(4901),o=r(7301),a=r(6009),i=a&&a.isTypedArray,s=i?o(i):n;e.exports=s},5950:(e,t,r)=>{var n=r(695),o=r(8984),a=r(4894);e.exports=function(e){return a(e)?n(e):o(e)}},7241:(e,t,r)=>{var n=r(695),o=r(2903),a=r(4894);e.exports=function(e){return a(e)?n(e,!0):o(e)}},5378:(e,t,r)=>{var n=r(4932),o=r(5389),a=r(5128),i=r(6449);e.exports=function(e,t){return(i(e)?n:a)(e,o(t,3))}},104:(e,t,r)=>{var n=r(3661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},583:(e,t,r)=>{var n=r(7237),o=r(7255),a=r(8586),i=r(7797);e.exports=function(e){return a(e)?n(i(e)):o(e)}},3345:e=>{e.exports=function(){return[]}},9935:e=>{e.exports=function(){return!1}},3222:(e,t,r)=>{var n=r(7556);e.exports=function(e){return null==e?"":n(e)}},3527:e=>{"use strict";var t={};function r(e,n){var o;return"string"!=typeof n&&(n=r.defaultChars),o=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),o.push(n);for(r=0;r=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&n)&&t+91114111?u+="����":(l-=65536,u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):u+="�";return u}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="",e.exports=r},3331:e=>{"use strict";var t={};function r(e,n,o){var a,i,s,l,u,c="";for("string"!=typeof n&&(o=n,n=r.defaultChars),void 0===o&&(o=!0),u=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&l<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",e.exports=r},5228:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l{e.exports=function(e){if("string"!=typeof e)throw new TypeError("expected a string.");return 1===(e=e.replace(/([A-Z])/g," $1")).length?e.toUpperCase():(e=(e=e.replace(/^[\W_]+|[\W_]+$/g,"").toLowerCase()).charAt(0).toUpperCase()+e.slice(1)).replace(/[\W_]+(\w|$)/g,(function(e,t){return t.toUpperCase()}))}},2694:(e,t,r)=>{"use strict";var n=r(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw 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:a,resetWarningCache:o};return r.PropTypes=r,r}},5556:(e,t,r)=>{e.exports=r(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5189:(e,t,r)=>{"use strict";r.d(t,{xk:()=>Ua});var n=r(6540),o=r(8527),a={},i=function(e,t,r,n){var o=e+"-"+t+"-"+r+(n?"-server":"");if(a[o])return a[o];var i=function(e,t,r,n){if("undefined"==typeof document&&!n)return null;var o=n?new n:document.createElement("canvas");o.width=2*r,o.height=2*r;var a=o.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,o.width,o.height),a.fillStyle=t,a.fillRect(0,0,r,r),a.translate(r,r),a.fillRect(0,0,r,r),o.toDataURL()):null}(e,t,r,n);return a[o]=i,i},s=Object.assign||function(e){for(var t=1;ti?1:Math.round(100*c/i)/100,t.a!==p)return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}else{var f;if(n!==(f=u<0?0:u>a?1:Math.round(100*u/a)/100))return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}return null}(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},f(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),p(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=(0,o.Ay)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:c({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return n.createElement("div",{style:r.alpha},n.createElement("div",{style:r.checkboard},n.createElement(u,{renderers:this.props.renderers})),n.createElement("div",{style:r.gradient}),n.createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n.createElement("div",{style:r.pointer},this.props.pointer?n.createElement(this.props.pointer,this.props):n.createElement("div",{style:r.slider}))))}}]),t}(n.PureComponent||n.Component);var h=function(){function e(e,t){for(var r=0;r-1)){var o=r.getArrowOffset(),a=38===e.keyCode?n+o:n-o;r.setUpdatedValue(a,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r.inputId="rc-editable-input-"+b++,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),h(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,o.Ay)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return n.createElement("div",{style:t.wrap},n.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?n.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(n.PureComponent||n.Component);var m=function(){function e(e,t){for(var r=0;ra?0:360*(-100*u/a+100)/100,r.h!==c)return{h:c,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var p;if(p=l<0?0:l>o?359:100*l/o*360/100,r.h!==p)return{h:p,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null}(e,n.props.direction,n.props.hsl,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},y(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),m(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,a=(0,o.Ay)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return n.createElement("div",{style:a.hue},n.createElement("div",{className:"hue-"+r,style:a.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),n.createElement("div",{style:a.pointer},this.props.pointer?n.createElement(this.props.pointer,this.props):n.createElement("div",{style:a.slider}))))}}]),t}(n.PureComponent||n.Component);var w=r(5556),_=r.n(w);const E=function(e,t){return e===t||e!=e&&t!=t},C=function(e,t){for(var r=e.length;r--;)if(E(e[r][0],t))return r;return-1};var k=Array.prototype.splice;function A(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1},A.prototype.set=function(e,t){var r=this.__data__,n=C(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};const O=A,S="object"==typeof global&&global&&global.Object===Object&&global;var T="object"==typeof self&&self&&self.Object===Object&&self;const D=S||T||Function("return this")(),j=D.Symbol;var M=Object.prototype,F=M.hasOwnProperty,P=M.toString,L=j?j.toStringTag:void 0;var R=Object.prototype.toString;var B=j?j.toStringTag:void 0;const N=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":B&&B in Object(e)?function(e){var t=F.call(e,L),r=e[L];try{e[L]=void 0;var n=!0}catch(e){}var o=P.call(e);return n&&(t?e[L]=r:delete e[L]),o}(e):function(e){return R.call(e)}(e)},z=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},I=function(e){if(!z(e))return!1;var t=N(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},H=D["__core-js_shared__"];var q,U=(q=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"";var X=Function.prototype.toString;const W=function(e){if(null!=e){try{return X.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var V=/^\[object .+?Constructor\]$/,G=Function.prototype,$=Object.prototype,Y=G.toString,Q=$.hasOwnProperty,K=RegExp("^"+Y.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Z=function(e){return!(!z(e)||(t=e,U&&U in t))&&(I(e)?K:V).test(W(e));var t},J=function(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Z(r)?r:void 0},ee=J(D,"Map"),te=J(Object,"create");var re=Object.prototype.hasOwnProperty;var ne=Object.prototype.hasOwnProperty;function oe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=9007199254740991},Le=function(e){return null!=e&&Pe(e.length)&&!I(e)};var Re="object"==typeof exports&&exports&&!exports.nodeType&&exports,Be=Re&&"object"==typeof module&&module&&!module.nodeType&&module,Ne=Be&&Be.exports===Re?D.Buffer:void 0;const ze=(Ne?Ne.isBuffer:void 0)||function(){return!1};var Ie=Function.prototype,He=Object.prototype,qe=Ie.toString,Ue=He.hasOwnProperty,Xe=qe.call(Object);var We={};We["[object Float32Array]"]=We["[object Float64Array]"]=We["[object Int8Array]"]=We["[object Int16Array]"]=We["[object Int32Array]"]=We["[object Uint8Array]"]=We["[object Uint8ClampedArray]"]=We["[object Uint16Array]"]=We["[object Uint32Array]"]=!0,We["[object Arguments]"]=We["[object Array]"]=We["[object ArrayBuffer]"]=We["[object Boolean]"]=We["[object DataView]"]=We["[object Date]"]=We["[object Error]"]=We["[object Function]"]=We["[object Map]"]=We["[object Number]"]=We["[object Object]"]=We["[object RegExp]"]=We["[object Set]"]=We["[object String]"]=We["[object WeakMap]"]=!1;var Ve="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ge=Ve&&"object"==typeof module&&module&&!module.nodeType&&module,$e=Ge&&Ge.exports===Ve&&S.process,Ye=function(){try{return Ge&&Ge.require&&Ge.require("util").types||$e&&$e.binding&&$e.binding("util")}catch(e){}}(),Qe=Ye&&Ye.isTypedArray;const Ke=Qe?(Ze=Qe,function(e){return Ze(e)}):function(e){return Oe(e)&&Pe(e.length)&&!!We[N(e)]};var Ze;const Je=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var et=Object.prototype.hasOwnProperty;const tt=function(e,t,r){var n=e[t];et.call(e,t)&&E(n,r)&&(void 0!==r||t in e)||fe(e,t,r)};var rt=/^(?:0|[1-9]\d*)$/;const nt=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&rt.test(e))&&e>-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ht),vt=function(e,t){return bt(function(e,t,r){return t=dt(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=dt(n.length-t,0),i=Array(a);++o1?t[n-1]:void 0,a=n>2?t[2]:void 0;for(o=yt.length>3&&"function"==typeof o?(n--,o):void 0,a&&function(e,t,r){if(!z(r))return!1;var n=typeof t;return!!("number"==n?Le(r)&&nt(t,r.length):"string"==n&&t in r)&&E(r[t],e)}(t[0],t[1],a)&&(o=n<3?void 0:o,n=1),e=Object(e);++r=t||r<0||p&&e-u>=a}function g(){var e=_t();if(h(e))return b(e);s=setTimeout(g,function(e){var r=t-(e-l);return p?Ft(r,a-(e-u)):r}(e))}function b(e){return s=void 0,f&&n?d(e):(n=o=void 0,i)}function v(){var e=_t(),r=h(e);if(n=arguments,o=this,l=e,r){if(void 0===s)return function(e){return u=e,s=setTimeout(g,t),c?d(e):i}(l);if(p)return clearTimeout(s),s=setTimeout(g,t),d(l)}return void 0===s&&(s=setTimeout(g,t)),i}return t=jt(t)||0,z(r)&&(c=!!r.leading,a=(p="maxWait"in r)?Mt(jt(r.maxWait)||0,t):a,f="trailing"in r?!!r.trailing:f),v.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=l=o=s=void 0},v.flush=function(){return void 0===s?i:b(_t())},v};var Lt=function(){function e(e,t){for(var r=0;ro&&(l=o),u<0?u=0:u>a&&(u=a);var c=l/o,p=1-u/a;return{h:t.h,s:c,v:p,a:t.a,source:"hsv"}}(e,r.props.hsl,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e);var t=r.getContainerRenderWindow();t.addEventListener("mousemove",r.handleChange),t.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return z(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Pt(e,t,{leading:n,maxWait:t,trailing:o})}((function(e,t,r){e(t,r)}),50),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Lt(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,a=t.white,i=t.black,s=t.pointer,l=t.circle,u=(0,o.Ay)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:a,black:i,pointer:s,circle:l}},{custom:!!this.props.style});return n.createElement("div",{style:u.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),n.createElement("div",{style:u.white,className:"saturation-white"},n.createElement("div",{style:u.black,className:"saturation-black"}),n.createElement("div",{style:u.pointer},this.props.pointer?n.createElement(this.props.pointer,this.props):n.createElement("div",{style:u.circle}))))}}]),t}(n.PureComponent||n.Component);const Bt=Rt,Nt=function(e,t){for(var r=-1,n=null==e?0:e.length;++r1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=dr(e,360),t=dr(t,100),r=dr(r,100),0===t)n=o=a=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=i(l,s,e+1/3),o=i(l,s,e),a=i(l,s,e-1/3)}return{r:255*n,g:255*o,b:255*a}}(e.h,i,l),u=!0,c="hsl"),e.hasOwnProperty("a")&&(a=e.a)),a=fr(a),{ok:u,format:e.format||c,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}function $t(e,t,r){e=dr(e,255),t=dr(t,255),r=dr(r,255);var n,o,a=Math.max(e,t,r),i=Math.min(e,t,r),s=(a+i)/2;if(a==i)n=o=0;else{var l=a-i;switch(o=s>.5?l/(2-a-i):l/(a+i),a){case e:n=(t-r)/l+(t>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(Gt(n));return a}function ur(e,t){t=t||6;for(var r=Gt(e).toHsv(),n=r.h,o=r.s,a=r.v,i=[],s=1/t;t--;)i.push(Gt({h:n,s:o,v:a})),a=(a+s)%1;return i}Gt.prototype={isDark:function(){return this.getBrightness()<128},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:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=fr(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Yt(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Yt(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=$t(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=$t(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return Qt(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,o){var a=[br(Math.round(e).toString(16)),br(Math.round(t).toString(16)),br(Math.round(r).toString(16)),br(mr(n))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*dr(this._r,255))+"%",g:Math.round(100*dr(this._g,255))+"%",b:Math.round(100*dr(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*dr(this._r,255))+"%, "+Math.round(100*dr(this._g,255))+"%, "+Math.round(100*dr(this._b,255))+"%)":"rgba("+Math.round(100*dr(this._r,255))+"%, "+Math.round(100*dr(this._g,255))+"%, "+Math.round(100*dr(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(pr[Qt(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Kt(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=Gt(e);r="#"+Kt(o._r,o._g,o._b,o._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?("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()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return Gt(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(tr,arguments)},brighten:function(){return this._applyModification(rr,arguments)},darken:function(){return this._applyModification(nr,arguments)},desaturate:function(){return this._applyModification(Zt,arguments)},saturate:function(){return this._applyModification(Jt,arguments)},greyscale:function(){return this._applyModification(er,arguments)},spin:function(){return this._applyModification(or,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(lr,arguments)},complement:function(){return this._applyCombination(ar,arguments)},monochromatic:function(){return this._applyCombination(ur,arguments)},splitcomplement:function(){return this._applyCombination(sr,arguments)},triad:function(){return this._applyCombination(ir,[3])},tetrad:function(){return this._applyCombination(ir,[4])}},Gt.fromRatio=function(e,t){if("object"==Xt(e)){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:vr(e[n]));e=r}return Gt(e,t)},Gt.equals=function(e,t){return!(!e||!t)&&Gt(e).toRgbString()==Gt(t).toRgbString()},Gt.random=function(){return Gt.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Gt.mix=function(e,t,r){r=0===r?0:r||50;var n=Gt(e).toRgb(),o=Gt(t).toRgb(),a=r/100;return Gt({r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a})},Gt.readability=function(e,t){var r=Gt(e),n=Gt(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},Gt.isReadable=function(e,t,r){var n,o,a,i,s,l=Gt.readability(e,t);switch(o=!1,(a=r,"AA"!==(i=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==i&&(i="AA"),"small"!==(s=(a.size||"small").toLowerCase())&&"large"!==s&&(s="small"),n={level:i,size:s}).level+n.size){case"AAsmall":case"AAAlarge":o=l>=4.5;break;case"AAlarge":o=l>=3;break;case"AAAsmall":o=l>=7}return o},Gt.mostReadable=function(e,t,r){var n,o,a,i,s=null,l=0;o=(r=r||{}).includeFallbackColors,a=r.level,i=r.size;for(var u=0;ul&&(l=n,s=Gt(t[u]));return Gt.isReadable(e,s,{level:a,size:i})||!o?s:(r.includeFallbackColors=!1,Gt.mostReadable(e,["#fff","#000"],r))};var cr=Gt.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"},pr=Gt.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(cr);function fr(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function dr(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function hr(e){return Math.min(1,Math.max(0,e))}function gr(e){return parseInt(e,16)}function br(e){return 1==e.length?"0"+e:""+e}function vr(e){return e<=1&&(e=100*e+"%"),e}function mr(e){return Math.round(255*parseFloat(e)).toString(16)}function yr(e){return gr(e)/255}var xr,wr,_r,Er=(wr="[\\s|\\(]+("+(xr="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+xr+")[,|\\s]+("+xr+")\\s*\\)?",_r="[\\s|\\(]+("+xr+")[,|\\s]+("+xr+")[,|\\s]+("+xr+")[,|\\s]+("+xr+")\\s*\\)?",{CSS_UNIT:new RegExp(xr),rgb:new RegExp("rgb"+wr),rgba:new RegExp("rgba"+_r),hsl:new RegExp("hsl"+wr),hsla:new RegExp("hsla"+_r),hsv:new RegExp("hsv"+wr),hsva:new RegExp("hsva"+_r),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 Cr(e){return!!Er.CSS_UNIT.exec(e)}var kr=function(e){var t=0,r=0;return Ut(["r","g","b","a","h","s","l","v"],(function(n){e[n]&&(t+=1,isNaN(e[n])||(r+=1),"s"===n||"l"===n)&&/^\d+%$/.test(e[n])&&(r+=1)})),t===r&&e},Ar=function(e,t){var r=e.hex?Gt(e.hex):Gt(e),n=r.toHsl(),o=r.toHsv(),a=r.toRgb(),i=r.toHex();return 0===n.s&&(n.h=t||0,o.h=t||0),{hsl:n,hex:"000000"===i&&0===a.a?"transparent":"#"+i,rgb:a,hsv:o,oldHue:e.h||t||n.h,source:e.source}},Or=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&Gt(e).isValid()},Sr=function(e){if(!e)return"#fff";var t=Ar(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},Tr=function(e,t){return Gt(t+" ("+e.replace("°","")+")")._ok},Dr=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function o(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var n=arguments.length,a=Array(n),i=0;is))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var p=-1,f=!0,d=2&r?new qr:void 0;for(a.set(e,t),a.set(t,e);++p1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(La(e.s)?r.props.hsl.s:e.s),l:Number(La(e.l)?r.props.hsl.l:e.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ba(t,[{key:"render",value:function(){var e=this,t=(0,o.Ay)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=n.createElement("div",{style:t.fields,className:"flexbox-fix"},n.createElement("div",{style:t.field},n.createElement(v,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=n.createElement("div",{style:t.fields,className:"flexbox-fix"},n.createElement("div",{style:t.field},n.createElement(v,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),n.createElement("div",{style:t.field},n.createElement(v,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),n.createElement("div",{style:t.field},n.createElement(v,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),n.createElement("div",{style:t.alpha},n.createElement(v,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=n.createElement("div",{style:t.fields,className:"flexbox-fix"},n.createElement("div",{style:t.field},n.createElement(v,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),n.createElement("div",{style:t.field},n.createElement(v,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),n.createElement("div",{style:t.field},n.createElement(v,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),n.createElement("div",{style:t.alpha},n.createElement(v,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),n.createElement("div",{style:t.wrap,className:"flexbox-fix"},r,n.createElement("div",{style:t.toggle},n.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},n.createElement(Ra.A,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(n.Component);Na.defaultProps={view:"hex"};const za=Na,Ia=function(){var e=(0,o.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n.createElement("div",{style:e.picker})},Ha=function(){var e=(0,o.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return n.createElement("div",{style:e.picker})};var qa=function(e){var t=e.width,r=e.onChange,a=e.disableAlpha,i=e.rgb,s=e.hsl,l=e.hsv,c=e.hex,p=e.renderers,f=e.styles,h=void 0===f?{}:f,g=e.className,b=void 0===g?"":g,v=e.defaultView,m=(0,o.Ay)(mt({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+i.r+", "+i.g+", "+i.b+", "+i.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},h),{disableAlpha:a});return n.createElement("div",{style:m.picker,className:"chrome-picker "+b},n.createElement("div",{style:m.saturation},n.createElement(Bt,{style:m.Saturation,hsl:s,hsv:l,pointer:Ha,onChange:r})),n.createElement("div",{style:m.body},n.createElement("div",{style:m.controls,className:"flexbox-fix"},n.createElement("div",{style:m.color},n.createElement("div",{style:m.swatch},n.createElement("div",{style:m.active}),n.createElement(u,{renderers:p}))),n.createElement("div",{style:m.toggles},n.createElement("div",{style:m.hue},n.createElement(x,{style:m.Hue,hsl:s,pointer:Ia,onChange:r})),n.createElement("div",{style:m.alpha},n.createElement(d,{style:m.Alpha,rgb:i,hsl:s,pointer:Ia,renderers:p,onChange:r})))),n.createElement(za,{rgb:i,hsl:s,hex:c,view:v,onChange:r,disableAlpha:a})))};qa.propTypes={width:_().oneOfType([_().string,_().number]),disableAlpha:_().bool,styles:_().object,defaultView:_().oneOf(["hex","rgb","hsl"])},qa.defaultProps={width:225,disableAlpha:!1,styles:{}};const Ua=Mr(qa),Xa=function(e){var t=e.color,r=e.onClick,a=void 0===r?function(){}:r,i=e.onSwatchHover,s=e.active,l=(0,o.Ay)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Sr(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n.createElement(Br,{style:l.color,color:t,onClick:a,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},n.createElement("div",{style:l.dot}))},Wa=function(e){var t=e.hex,r=e.rgb,a=e.onChange,i=(0,o.Ay)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),s=function(e,t){e.r||e.g||e.b?a({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):a({hex:e.hex,source:"hex"},t)};return n.createElement("div",{style:i.fields,className:"flexbox-fix"},n.createElement("div",{style:i.active}),n.createElement(v,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:t,onChange:s}),n.createElement(v,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:r.r,onChange:s}),n.createElement(v,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:r.g,onChange:s}),n.createElement(v,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:r.b,onChange:s}))};var Va=function(e){var t=e.onChange,r=e.onSwatchHover,a=e.colors,i=e.hex,s=e.rgb,l=e.styles,u=void 0===l?{}:l,c=e.className,p=void 0===c?"":c,f=(0,o.Ay)(mt({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},u)),d=function(e,r){e.hex?Or(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return n.createElement(wt,{style:f.Compact,styles:u},n.createElement("div",{style:f.compact,className:"compact-picker "+p},n.createElement("div",null,Gn(a,(function(e){return n.createElement(Xa,{key:e,color:e,active:e.toLowerCase()===i,onClick:d,onSwatchHover:r})})),n.createElement("div",{style:f.clear})),n.createElement(Wa,{hex:i,rgb:s,onChange:d})))};Va.propTypes={colors:_().arrayOf(_().string),styles:_().object},Va.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},Mr(Va);const Ga=(0,o.H8)((function(e){var t=e.hover,r=e.color,a=e.onClick,i=e.onSwatchHover,s={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=(0,o.Ay)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:s}},{hover:t});return n.createElement("div",{style:l.swatch},n.createElement(Br,{color:r,onClick:a,onHover:i,focusStyle:s}))}));var $a=function(e){var t=e.width,r=e.colors,a=e.onChange,i=e.onSwatchHover,s=e.triangle,l=e.styles,u=void 0===l?{}:l,c=e.className,p=void 0===c?"":c,f=(0,o.Ay)(mt({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},u),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-left-triangle":"bottom-left"===s,"bottom-right-triangle":"bottom-right"===s}),d=function(e,t){return a({hex:e,source:"hex"},t)};return n.createElement("div",{style:f.card,className:"github-picker "+p},n.createElement("div",{style:f.triangleShadow}),n.createElement("div",{style:f.triangle}),Gn(r,(function(e){return n.createElement(Ga,{color:e,key:e,onClick:d,onSwatchHover:i})})))};$a.propTypes={width:_().oneOfType([_().string,_().number]),colors:_().arrayOf(_().string),triangle:_().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:_().object},$a.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},Mr($a);var Ya=Object.assign||function(e){for(var t=1;t.5});return n.createElement("div",{style:r.picker})},Ja=function(){var e=(0,o.Ay)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return n.createElement("div",{style:e.pointer},n.createElement("div",{style:e.left},n.createElement("div",{style:e.leftInside})),n.createElement("div",{style:e.right},n.createElement("div",{style:e.rightInside})))},ei=function(e){var t=e.onClick,r=e.label,a=e.children,i=e.active,s=(0,o.Ay)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return n.createElement("div",{style:s.button,onClick:t},r||a)},ti=function(e){var t=e.rgb,r=e.currentColor,a=(0,o.Ay)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return n.createElement("div",null,n.createElement("div",{style:a.label},"new"),n.createElement("div",{style:a.swatches},n.createElement("div",{style:a.new}),n.createElement("div",{style:a.current})),n.createElement("div",{style:a.label},"current"))};var ri=function(){function e(e,t){for(var r=0;r100&&(e.a=100),e.a/=100,t({h:a.h,s:a.s,l:a.l,a:e.a,source:"rgb"},n))};return n.createElement("div",{style:l.fields,className:"flexbox-fix"},n.createElement("div",{style:l.double},n.createElement(v,{style:{input:l.input,label:l.label},label:"hex",value:i.replace("#",""),onChange:u})),n.createElement("div",{style:l.single},n.createElement(v,{style:{input:l.input,label:l.label},label:"r",value:r.r,onChange:u,dragLabel:"true",dragMax:"255"})),n.createElement("div",{style:l.single},n.createElement(v,{style:{input:l.input,label:l.label},label:"g",value:r.g,onChange:u,dragLabel:"true",dragMax:"255"})),n.createElement("div",{style:l.single},n.createElement(v,{style:{input:l.input,label:l.label},label:"b",value:r.b,onChange:u,dragLabel:"true",dragMax:"255"})),n.createElement("div",{style:l.alpha},n.createElement(v,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*r.a),onChange:u,dragLabel:"true",dragMax:"100"})))};var ai=Object.assign||function(e){for(var t=1;t{"use strict";r.d(t,{tz:()=>H,Rc:()=>W,Dr:()=>D});var n=r(6540),o=r(5556),a=r.n(o),i=r(6942),s=r.n(i),l=r(5228),u=r.n(l);function c(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:window,n=void 0;"function"==typeof window.CustomEvent?n=new window.CustomEvent(e,{detail:t}):(n=document.createEvent("CustomEvent")).initCustomEvent(e,!1,!0,t),r&&(r.dispatchEvent(n),u()(v,t))}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];w(y,u()({},e,{type:y}),t)}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];w(x,u()({},e,{type:x}),t)}const C=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.handleShowEvent=function(e){for(var r in t.callbacks)p(t.callbacks,r)&&t.callbacks[r].show(e)},this.handleHideEvent=function(e){for(var r in t.callbacks)p(t.callbacks,r)&&t.callbacks[r].hide(e)},this.register=function(e,r){var n=Math.random().toString(36).substring(7);return t.callbacks[n]={show:e,hide:r},n},this.unregister=function(e){e&&t.callbacks[e]&&delete t.callbacks[e]},this.callbacks={},m&&(window.addEventListener(y,this.handleShowEvent),window.addEventListener(x,this.handleHideEvent))};var k=Object.assign||function(e){for(var t=1;t=o.length&&(r=0)}while(r!==e&&i[r]);return r===e?null:r}(o.indexOf(r));null!==s&&e.setState({selectedItem:o[s],forceSubMenuOpen:!1})}},this.onChildMouseMove=function(t){e.state.selectedItem!==t&&e.setState({selectedItem:t,forceSubMenuOpen:!1})},this.onChildMouseLeave=function(){e.setState({selectedItem:null,forceSubMenuOpen:!1})},this.renderChildren=function(t){return n.Children.map(t,(function(t){var r={};return n.isValidElement(t)?[D,e.getSubMenuType()].indexOf(t.type)<0?(r.children=e.renderChildren(t.props.children),n.cloneElement(t,r)):(r.onMouseLeave=e.onChildMouseLeave.bind(e),t.type===e.getSubMenuType()&&(r.forceOpen=e.state.forceSubMenuOpen&&e.state.selectedItem===t,r.forceClose=e.handleForceClose,r.parentKeyNavigationHandler=e.handleKeyNavigation),t.props.divider||e.state.selectedItem!==t?(r.onMouseMove=function(){return e.onChildMouseMove(t)},n.cloneElement(t,r)):(r.selected=!0,r.ref=function(t){e.seletedItemRef=t},n.cloneElement(t,r))):t}))}};const F=j;var P=Object.assign||function(e){for(var t=1;tn?a.bottom=0:a.top=0,o.righte?n.bottom=0:n.top=0,t.left<0?n.left="100%":n.right="100%",n},r.hideSubMenu=function(e){e.detail&&e.detail.id&&r.menu&&e.detail.id!==r.menu.id||(r.props.forceOpen&&r.props.forceClose(),r.setState({visible:!1,selectedItem:null}),r.unregisterHandlers())},r.handleClick=function(e){e.preventDefault(),r.props.disabled||(c(r.props.onClick,e,u()({},r.props.data,v.data),v.target),r.props.onClick&&!r.props.preventCloseOnClick&&E())},r.handleMouseEnter=function(){r.closetimer&&clearTimeout(r.closetimer),r.props.disabled||r.state.visible||(r.opentimer=setTimeout((function(){return r.setState({visible:!0,selectedItem:null})}),r.props.hoverDelay))},r.handleMouseLeave=function(){r.opentimer&&clearTimeout(r.opentimer),r.state.visible&&(r.closetimer=setTimeout((function(){return r.setState({visible:!1,selectedItem:null})}),r.props.hoverDelay))},r.menuRef=function(e){r.menu=e},r.subMenuRef=function(e){r.subMenu=e},r.registerHandlers=function(){document.removeEventListener("keydown",r.props.parentKeyNavigationHandler),document.addEventListener("keydown",r.handleKeyNavigation)},r.unregisterHandlers=function(e){document.removeEventListener("keydown",r.handleKeyNavigation),e||document.addEventListener("keydown",r.props.parentKeyNavigationHandler)},r.state=u()({},r.state,{visible:!1}),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),L(t,[{key:"componentDidMount",value:function(){this.listenId=C.register((function(){}),this.hideSubMenu)}},{key:"getSubMenuType",value:function(){return t}},{key:"shouldComponentUpdate",value:function(e,t){return this.isVisibilityChange=!(this.state.visible===t.visible&&this.props.forceOpen===e.forceOpen||this.state.visible&&e.forceOpen||this.props.forceOpen&&t.visible),!0}},{key:"componentDidUpdate",value:function(){var e=this;this.isVisibilityChange&&(this.props.forceOpen||this.state.visible?(window.requestAnimationFrame||setTimeout)((function(){var t=e.props.rtl?e.getRTLMenuPosition():e.getMenuPosition();e.subMenu.style.removeProperty("top"),e.subMenu.style.removeProperty("bottom"),e.subMenu.style.removeProperty("left"),e.subMenu.style.removeProperty("right"),p(t,"top")&&(e.subMenu.style.top=t.top),p(t,"left")&&(e.subMenu.style.left=t.left),p(t,"bottom")&&(e.subMenu.style.bottom=t.bottom),p(t,"right")&&(e.subMenu.style.right=t.right),e.subMenu.classList.add(d),e.registerHandlers(),e.setState({selectedItem:null})})):(this.subMenu.addEventListener("transitionend",(function t(){e.subMenu.removeEventListener("transitionend",t),e.subMenu.style.removeProperty("bottom"),e.subMenu.style.removeProperty("right"),e.subMenu.style.top=0,e.subMenu.style.left="100%",e.unregisterHandlers()})),this.subMenu.classList.remove(d)))}},{key:"componentWillUnmount",value:function(){this.listenId&&C.unregister(this.listenId),this.opentimer&&clearTimeout(this.opentimer),this.closetimer&&clearTimeout(this.closetimer),this.unregisterHandlers(!0)}},{key:"render",value:function(){var e,t=this.props,r=t.children,o=t.attributes,a=t.disabled,i=t.title,l=t.selected,u=this.state.visible,c={ref:this.menuRef,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,className:s()(h,"react-contextmenu-submenu",o.listClassName),style:{position:"relative"}},p={className:s()(h,o.className,(e={},R(e,s()(g,o.disabledClassName),a),R(e,s()("react-contextmenu-item--active",o.visibleClassName),u),R(e,s()(b,o.selectedClassName),l),e)),onMouseMove:this.props.onMouseMove,onMouseOut:this.props.onMouseOut,onClick:this.handleClick},d={ref:this.subMenuRef,style:{position:"absolute",transition:"opacity 1ms",top:0,left:"100%"},className:s()(f,this.props.className)};return n.createElement("nav",P({},c,{role:"menuitem",tabIndex:"-1","aria-haspopup":"true"}),n.createElement("div",P({},o,p),i),n.createElement("nav",P({},d,{role:"menu",tabIndex:"-1"}),this.renderChildren(r)))}}]),t}(F);B.propTypes={children:a().node.isRequired,attributes:a().object,title:a().node.isRequired,className:a().string,disabled:a().bool,hoverDelay:a().number,rtl:a().bool,selected:a().bool,onMouseMove:a().func,onMouseOut:a().func,forceOpen:a().bool,forceClose:a().func,parentKeyNavigationHandler:a().func},B.defaultProps={disabled:!1,hoverDelay:500,attributes:{},className:"",rtl:!1,selected:!1,onMouseMove:function(){return null},onMouseOut:function(){return null},forceOpen:!1,forceClose:function(){return null},parentKeyNavigationHandler:function(){return null}};const N=B;var z=function(){function e(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={top:t,left:e};if(!r.menu)return n;var o=window,a=o.innerWidth,i=o.innerHeight,s=r.menu.getBoundingClientRect();return t+s.height>i&&(n.top-=s.height),e+s.width>a&&(n.left-=s.width),n.top<0&&(n.top=s.height0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={top:t,left:e};if(!r.menu)return n;var o=window,a=o.innerWidth,i=o.innerHeight,s=r.menu.getBoundingClientRect();return n.left=e-s.width,t+s.height>i&&(n.top-=s.height),n.left<0&&(n.left+=s.width),n.top<0&&(n.top=s.heighta&&(n.left=s.width=0&&0===e.button&&(e.persist(),e.stopPropagation(),n.mouseDownTimeoutId=setTimeout((function(){return n.handleContextClick(e)}),n.props.holdToDisplay)),c(n.props.attributes.onMouseDown,e)},n.handleMouseUp=function(e){0===e.button&&clearTimeout(n.mouseDownTimeoutId),c(n.props.attributes.onMouseUp,e)},n.handleMouseOut=function(e){0===e.button&&clearTimeout(n.mouseDownTimeoutId),c(n.props.attributes.onMouseOut,e)},n.handleTouchstart=function(e){n.touchHandled=!1,n.props.holdToDisplay>=0&&(e.persist(),e.stopPropagation(),n.touchstartTimeoutId=setTimeout((function(){n.handleContextClick(e),n.touchHandled=!0}),n.props.holdToDisplay)),c(n.props.attributes.onTouchStart,e)},n.handleTouchEnd=function(e){n.touchHandled&&e.preventDefault(),clearTimeout(n.touchstartTimeoutId),c(n.props.attributes.onTouchEnd,e)},n.handleContextMenu=function(e){e.button===n.props.mouseButton&&n.handleContextClick(e),c(n.props.attributes.onContextMenu,e)},n.handleMouseClick=function(e){e.button===n.props.mouseButton&&n.handleContextClick(e),c(n.props.attributes.onClick,e)},n.handleContextClick=function(e){if(!(n.props.disable||n.props.disableIfShiftIsPressed&&e.shiftKey)){e.preventDefault(),e.stopPropagation();var t=e.clientX||e.touches&&e.touches[0].pageX,r=e.clientY||e.touches&&e.touches[0].pageY;n.props.posX&&(t-=n.props.posX),n.props.posY&&(r-=n.props.posY),E();var o=c(n.props.collect,n.props),a={position:{x:t,y:r},target:n.elem,id:n.props.id};o&&"function"==typeof o.then?o.then((function(t){a.data=u()({},t,{target:e.target}),_(a)})):(a.data=u()({},o,{target:e.target}),_(a))}},n.elemRef=function(e){n.elem=e},U(n,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),q(t,[{key:"render",value:function(){var e=this.props,t=e.renderTag,r=e.attributes,o=e.children,a=u()({},r,{className:s()("react-contextmenu-wrapper",r.className),onContextMenu:this.handleContextMenu,onClick:this.handleMouseClick,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onTouchStart:this.handleTouchstart,onTouchEnd:this.handleTouchEnd,onMouseOut:this.handleMouseOut,ref:this.elemRef});return n.createElement(t,a,o)}}]),t}(n.Component);X.propTypes={id:a().string.isRequired,children:a().node.isRequired,attributes:a().object,collect:a().func,disable:a().bool,holdToDisplay:a().number,posX:a().number,posY:a().number,renderTag:a().elementType,mouseButton:a().number,disableIfShiftIsPressed:a().bool},X.defaultProps={attributes:{},collect:function(){return null},disable:!1,holdToDisplay:1e3,renderTag:"div",posX:0,posY:0,mouseButton:2,disableIfShiftIsPressed:!1};const W=X;Object.assign,[].concat(function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return c.default}}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(6540)),o=f(r(5556)),a=f(r(961)),i=f(r(53)),s=r(1089),l=r(1726),u=r(7056),c=f(r(6888)),p=f(r(8696));function f(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if((0,p.default)("Draggable: onDragStart: %j",t),!1===this.props.onStart(e,(0,l.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})})),g(this,"onDrag",((e,t)=>{if(!this.state.dragging)return!1;(0,p.default)("Draggable: onDrag: %j",t);const r=(0,l.createDraggableData)(this,t),n={x:r.x,y:r.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=n;n.x+=this.state.slackX,n.y+=this.state.slackY;const[o,a]=(0,l.getBoundPosition)(this,n.x,n.y);n.x=o,n.y=a,n.slackX=this.state.slackX+(e-n.x),n.slackY=this.state.slackY+(t-n.y),r.x=n.x,r.y=n.y,r.deltaX=n.x-this.state.x,r.deltaY=n.y-this.state.y}if(!1===this.props.onDrag(e,r))return!1;this.setState(n)})),g(this,"onDragStop",((e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,l.createDraggableData)(this,t)))return!1;(0,p.default)("Draggable: onDragStop: %j",t);const r={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;r.x=e,r.y=t}this.setState(r)})),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var e,t;return null!==(e=null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current)&&void 0!==e?e:a.default.findDOMNode(this)}render(){const{axis:e,bounds:t,children:r,defaultPosition:o,defaultClassName:a,defaultClassNameDragging:u,defaultClassNameDragged:p,position:f,positionOffset:d,scale:g,...b}=this.props;let v={},m=null;const y=!Boolean(f)||this.state.dragging,x=f||o,w={x:(0,l.canDragX)(this)&&y?this.state.x:x.x,y:(0,l.canDragY)(this)&&y?this.state.y:x.y};this.state.isElementSVG?m=(0,s.createSVGTransform)(w,d):v=(0,s.createCSSTransform)(w,d);const _=(0,i.default)(r.props.className||"",a,{[u]:this.state.dragging,[p]:this.state.dragged});return n.createElement(c.default,h({},b,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(r),{className:_,style:{...r.props.style,...v},transform:m}))}}t.default=b,g(b,"displayName","Draggable"),g(b,"propTypes",{...c.default.propTypes,axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),g(b,"defaultProps",{...c.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},6888:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(6540)),o=c(r(5556)),a=c(r(961)),i=r(1089),s=r(1726),l=r(7056),u=c(r(8696));function c(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d={start:"touchstart",move:"touchmove",stop:"touchend"},h={start:"mousedown",move:"mousemove",stop:"mouseup"};let g=h;class b extends n.Component{constructor(){super(...arguments),f(this,"dragging",!1),f(this,"lastX",NaN),f(this,"lastY",NaN),f(this,"touchIdentifier",null),f(this,"mounted",!1),f(this,"handleDragStart",(e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:r}=t;if(this.props.disabled||!(e.target instanceof r.defaultView.Node)||this.props.handle&&!(0,i.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,i.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"===e.type&&e.preventDefault();const n=(0,i.getTouchIdentifier)(e);this.touchIdentifier=n;const o=(0,s.getControlPosition)(e,n,this);if(null==o)return;const{x:a,y:l}=o,c=(0,s.createCoreData)(this,a,l);(0,u.default)("DraggableCore: handleDragStart: %j",c),(0,u.default)("calling",this.props.onStart),!1!==this.props.onStart(e,c)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,i.addUserSelectStyles)(r),this.dragging=!0,this.lastX=a,this.lastY=l,(0,i.addEvent)(r,g.move,this.handleDrag),(0,i.addEvent)(r,g.stop,this.handleDragStop))})),f(this,"handleDrag",(e=>{const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX,t=n-this.lastY;if([e,t]=(0,s.snapToGrid)(this.props.grid,e,t),!e&&!t)return;r=this.lastX+e,n=this.lastY+t}const o=(0,s.createCoreData)(this,r,n);if((0,u.default)("DraggableCore: handleDrag: %j",o),!1!==this.props.onDrag(e,o)&&!1!==this.mounted)this.lastX=r,this.lastY=n;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}})),f(this,"handleDragStop",(e=>{if(!this.dragging)return;const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX||0,t=n-this.lastY||0;[e,t]=(0,s.snapToGrid)(this.props.grid,e,t),r=this.lastX+e,n=this.lastY+t}const o=(0,s.createCoreData)(this,r,n);if(!1===this.props.onStop(e,o)||!1===this.mounted)return!1;const a=this.findDOMNode();a&&this.props.enableUserSelectHack&&(0,i.removeUserSelectStyles)(a.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,a&&((0,u.default)("DraggableCore: Removing handlers"),(0,i.removeEvent)(a.ownerDocument,g.move,this.handleDrag),(0,i.removeEvent)(a.ownerDocument,g.stop,this.handleDragStop))})),f(this,"onMouseDown",(e=>(g=h,this.handleDragStart(e)))),f(this,"onMouseUp",(e=>(g=h,this.handleDragStop(e)))),f(this,"onTouchStart",(e=>(g=d,this.handleDragStart(e)))),f(this,"onTouchEnd",(e=>(g=d,this.handleDragStop(e))))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,i.addEvent)(e,d.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,i.removeEvent)(t,h.move,this.handleDrag),(0,i.removeEvent)(t,d.move,this.handleDrag),(0,i.removeEvent)(t,h.stop,this.handleDragStop),(0,i.removeEvent)(t,d.stop,this.handleDragStop),(0,i.removeEvent)(e,d.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,i.removeUserSelectStyles)(t)}}findDOMNode(){var e,t;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current:a.default.findDOMNode(this)}render(){return n.cloneElement(n.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}t.default=b,f(b,"displayName","DraggableCore"),f(b,"propTypes",{allowAnyClick:o.default.bool,children:o.default.node.isRequired,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:o.default.arrayOf(o.default.number),handle:o.default.string,cancel:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),f(b,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},5794:(e,t,r)=>{"use strict";const{default:n,DraggableCore:o}=r(6027);e.exports=n,e.exports.default=n,e.exports.DraggableCore=o},1089:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=u,t.addEvent=function(e,t,r,n){if(!e)return;const o={capture:!0,...n};e.addEventListener?e.addEventListener(t,r,o):e.attachEvent?e.attachEvent("on"+t,r):e["on"+t]=r},t.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&u(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){const r=l(e,t,"px");return{[(0,o.browserPrefixToKey)("transform",o.default)]:r}},t.createSVGTransform=function(e,t){return l(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,n.findInArray)(e.targetTouches,(e=>t===e.identifier))||e.changedTouches&&(0,n.findInArray)(e.changedTouches,(e=>t===e.identifier))},t.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},t.getTranslation=l,t.innerHeight=function(e){let t=e.clientHeight;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingTop),t-=(0,n.int)(r.paddingBottom),t},t.innerWidth=function(e){let t=e.clientWidth;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingLeft),t-=(0,n.int)(r.paddingRight),t},t.matchesSelector=s,t.matchesSelectorAndParentsTo=function(e,t,r){let n=e;do{if(s(n,t))return!0;if(n===r)return!1;n=n.parentNode}while(n);return!1},t.offsetXYFromParent=function(e,t,r){const n=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect();return{x:(e.clientX+t.scrollLeft-n.left)/r,y:(e.clientY+t.scrollTop-n.top)/r}},t.outerHeight=function(e){let t=e.clientHeight;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,n.int)(r.borderTopWidth),t+=(0,n.int)(r.borderBottomWidth),t},t.outerWidth=function(e){let t=e.clientWidth;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,n.int)(r.borderLeftWidth),t+=(0,n.int)(r.borderRightWidth),t},t.removeClassName=c,t.removeEvent=function(e,t,r,n){if(!e)return;const o={capture:!0,...n};e.removeEventListener?e.removeEventListener(t,r,o):e.detachEvent?e.detachEvent("on"+t,r):e["on"+t]=null},t.removeUserSelectStyles=function(e){if(e)try{if(e.body&&c(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}};var n=r(7056),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(3514));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}let i="";function s(e,t){return i||(i=(0,n.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,n.isFunction)(e[t])}))),!!(0,n.isFunction)(e[i])&&e[i](t)}function l(e,t,r){let{x:n,y:o}=e,a="translate(".concat(n).concat(r,",").concat(o).concat(r,")");if(t){const e="".concat("string"==typeof t.x?t.x:t.x+r),n="".concat("string"==typeof t.y?t.y:t.y+r);a="translate(".concat(e,", ").concat(n,")")+a}return a}function u(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function c(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},3514:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=n;const r=["Moz","Webkit","O","ms"];function n(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const n=null===(e=window.document)||void 0===e||null===(e=e.documentElement)||void 0===e?void 0:e.style;if(!n)return"";if(t in n)return"";for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},1726:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,r){const o=!(0,n.isNum)(e.lastX),i=a(e);return o?{node:i,deltaX:0,deltaY:0,lastX:t,lastY:r,x:t,y:r}:{node:i,deltaX:t-e.lastX,deltaY:r-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:r}},t.createDraggableData=function(e,t){const r=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/r,y:e.state.y+t.deltaY/r,deltaX:t.deltaX/r,deltaY:t.deltaY/r,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,r){if(!e.props.bounds)return[t,r];let{bounds:i}=e.props;i="string"==typeof i?i:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(i);const s=a(e);if("string"==typeof i){const{ownerDocument:e}=s,t=e.defaultView;let r;if(r="parent"===i?s.parentNode:e.querySelector(i),!(r instanceof t.HTMLElement))throw new Error('Bounds selector "'+i+'" could not find an element.');const a=r,l=t.getComputedStyle(s),u=t.getComputedStyle(a);i={left:-s.offsetLeft+(0,n.int)(u.paddingLeft)+(0,n.int)(l.marginLeft),top:-s.offsetTop+(0,n.int)(u.paddingTop)+(0,n.int)(l.marginTop),right:(0,o.innerWidth)(a)-(0,o.outerWidth)(s)-s.offsetLeft+(0,n.int)(u.paddingRight)-(0,n.int)(l.marginRight),bottom:(0,o.innerHeight)(a)-(0,o.outerHeight)(s)-s.offsetTop+(0,n.int)(u.paddingBottom)-(0,n.int)(l.marginBottom)}}return(0,n.isNum)(i.right)&&(t=Math.min(t,i.right)),(0,n.isNum)(i.bottom)&&(r=Math.min(r,i.bottom)),(0,n.isNum)(i.left)&&(t=Math.max(t,i.left)),(0,n.isNum)(i.top)&&(r=Math.max(r,i.top)),[t,r]},t.getControlPosition=function(e,t,r){const n="number"==typeof t?(0,o.getTouch)(e,t):null;if("number"==typeof t&&!n)return null;const i=a(r),s=r.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,o.offsetXYFromParent)(n||e,s,r.props.scale)},t.snapToGrid=function(e,t,r){return[Math.round(t/e[0])*e[0],Math.round(r/e[1])*e[1]]};var n=r(7056),o=r(1089);function a(e){const t=e.findDOMNode();if(!t)throw new Error(": Unmounted during event!");return t}},7056:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,r){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(r," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(let r=0,n=e.length;r{"use strict";var n=function(){function e(e,t){for(var r=0;r=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var a=r(6540),i=r(1440),s=r(8353),l=/^\w+:/i,u=function(e){return"l"+e},c="() [] {} <> ¿? ¡! «» “” ** __ ~~ \"\" '' ``".split(" "),p=/(\s+|[.,;:]\s|[.,;:]$)/,f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.renderer,n=void 0===r?"a":r,f=t.protocol,d=o(t,["renderer","protocol"]),h=[],g=function(e){var t=[];return e.split(p).forEach((function(e){if(e.length<3||/[a-zA-Z0-9]/.test(e[0]))t.push(e);else{for(var r=0,n=e.length,o=[],a=[];n>2*(1+r);){var i=e[r],s=e[n-r-1],l=void 0;for(l=0;l=c.length)break}r?t.push(o.join(""),e.substr(r,n-2*r),a.reverse().join("")):t.push(e)}})),t}(e),b=[],v=0,m=function(){b.length&&h.push(a.createElement("span",{key:u(v++)},b.join(""))),b=[]};return g.forEach((function(e){e&&(i.test(e)?(m(),d.href=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"http";return s.test(e)?"mailto:"+e:l.test(e)?e:t+"://"+e}(e,f),d.key=u(v++),h.push(a.createElement(n,d,e))):b.push(e))})),m(),h},d=["a","button"],h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.keyIndex=0,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"linkify",value:function(e,t,r){var n=this;return"string"==typeof e?f(e,r):Array.isArray(e)?e.map((function(e){return n.linkify(e,t,r)})):e&&t.indexOf(e.type)>=0?e:a.isValidElement(e)?a.cloneElement(e,{key:u(++this.keyIndex)},this.linkify(e.props.children,t,r)):e}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.ignore,n=void 0===r?[]:r,i=o(e,["children","ignore"]);if(0===a.Children.count(t))return null;var s=this.linkify(a.Children.toArray(t),n,i);return 1===s.length&&a.isValidElement(s[0])?s[0]:s}}]),t}(a.Component);h.defaultProps={ignore:d},h.DEFAULT_IGNORED=d,t.Ay=h},8353:e=>{"use strict";e.exports=new RegExp("^([a-z\\u00a1-\\uffff0-9\\-\\.\\+])+@([a-z\\u00a1-\\uffff0-9\\-\\.])+$","i")},1440:e=>{"use strict";e.exports=new RegExp("^(?:(?:https?|ftp):/+)?(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))\\.?)(?::\\d{2,5})?(?:[/?#]\\S*)?$","i")},5630:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(6540)),o=r(5794),a=r(4030),i=r(710),s=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tMath.abs(l*i)?t=e/i:e=t*i}var u=e,c=t,p=this.slack||[0,0],f=p[0],d=p[1];return e+=f,t+=d,n&&(e=Math.max(n[0],e),t=Math.max(n[1],t)),o&&(e=Math.min(o[0],e),t=Math.min(o[1],t)),this.slack=[f+(u-e),d+(c-t)],[e,t]},l.resizeHandler=function(e,t){var r=this;return function(n,o){var a=o.node,i=o.deltaX,s=o.deltaY;"onResizeStart"===e&&r.resetData();var l=("both"===r.props.axis||"x"===r.props.axis)&&"n"!==t&&"s"!==t,u=("both"===r.props.axis||"y"===r.props.axis)&&"e"!==t&&"w"!==t;if(l||u){var c=t[0],p=t[t.length-1],f=a.getBoundingClientRect();null!=r.lastHandleRect&&("w"===p&&(i+=f.left-r.lastHandleRect.left),"n"===c&&(s+=f.top-r.lastHandleRect.top)),r.lastHandleRect=f,"w"===p&&(i=-i),"n"===c&&(s=-s);var d=r.props.width+(l?i/r.props.transformScale:0),h=r.props.height+(u?s/r.props.transformScale:0),g=r.runConstraints(d,h);d=g[0],h=g[1];var b=d!==r.props.width||h!==r.props.height,v="function"==typeof r.props[e]?r.props[e]:null;v&&!("onResize"===e&&!b)&&(null==n.persist||n.persist(),v(n,{node:a,size:{width:d,height:h},handle:t})),"onResizeStop"===e&&r.resetData()}}},l.renderResizeHandle=function(e,t){var r=this.props.handle;if(!r)return n.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+e,ref:t});if("function"==typeof r)return r(e,t);var o=p({ref:t},"string"==typeof r.type?{}:{handleAxis:e});return n.cloneElement(r,o)},l.render=function(){var e=this,t=this.props,r=t.children,i=t.className,l=t.draggableOpts,c=(t.width,t.height,t.handle,t.handleSize,t.lockAspectRatio,t.axis,t.minConstraints,t.maxConstraints,t.onResize,t.onResizeStop,t.onResizeStart,t.resizeHandles),f=(t.transformScale,function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(t,s));return(0,a.cloneElement)(r,p(p({},f),{},{className:(i?i+" ":"")+"react-resizable",children:[].concat(r.props.children,c.map((function(t){var r,a=null!=(r=e.handleRefs[t])?r:e.handleRefs[t]=n.createRef();return n.createElement(o.DraggableCore,u({},l,{nodeRef:a,key:"resizableHandle-"+t,onStop:e.resizeHandler("onResizeStop",t),onStart:e.resizeHandler("onResizeStart",t),onDrag:e.resizeHandler("onResize",t)}),e.renderResizeHandle(t,a))})))}))},i}(n.Component);t.default=h,h.propTypes=i.resizableProps,h.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1}},5661:(e,t,r)=>{"use strict";t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(6540)),o=l(r(5556)),a=l(r(5630)),i=r(710),s=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function l(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,s);return n.createElement(a.default,{axis:h,draggableOpts:l,handle:t,handleSize:r,height:this.state.height,lockAspectRatio:d,maxConstraints:p,minConstraints:u,onResizeStart:o,onResize:this.onResize,onResizeStop:i,resizeHandles:g,transformScale:v,width:this.state.width},n.createElement("div",c({},m,{style:f(f({},b),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},o}(n.Component);t.default=g,g.propTypes=f(f({},i.resizableProps),{},{children:o.default.element})},710:(e,t,r)=>{"use strict";t.__esModule=!0,t.resizableProps=void 0;var n,o=(n=r(5556))&&n.__esModule?n:{default:n};r(5794);var a={axis:o.default.oneOf(["both","x","y","none"]),className:o.default.string,children:o.default.element.isRequired,draggableOpts:o.default.shape({allowAnyClick:o.default.bool,cancel:o.default.string,children:o.default.node,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:o.default.node,grid:o.default.arrayOf(o.default.number),handle:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number}),height:function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";t.__esModule=!0,t.cloneElement=function(e,t){return t.style&&e.props.style&&(t.style=i(i({},e.props.style),t.style)),t.className&&e.props.className&&(t.className=e.props.className+" "+t.className),o.default.cloneElement(e,t)};var n,o=(n=r(6540))&&n.__esModule?n:{default:n};function a(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{"use strict";e.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},e.exports.Resizable=r(5630).default,e.exports.ResizableBox=r(5661).default},7884:(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},n(e)}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tg});var l=r(6540),u={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"},c={zIndex:2,position:"absolute",top:0,bottom:0,transition:"transform .3s ease-out",WebkitTransition:"-webkit-transform .3s ease-out",willChange:"transform",overflowY:"auto"},p={position:"absolute",top:0,left:0,right:0,bottom:0,overflowY:"auto",WebkitOverflowScrolling:"touch",transition:"left .3s ease-out, right .3s ease-out"},f={zIndex:1,position:"fixed",top:0,left:0,right:0,bottom:0,opacity:0,visibility:"hidden",transition:"opacity .3s ease-out, visibility .3s ease-out",backgroundColor:"rgba(0,0,0,.3)"},d={zIndex:1,position:"fixed",top:0,bottom:0},h=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).state={sidebarWidth:t.defaultSidebarWidth,touchIdentifier:null,touchStartX:null,touchCurrentX:null,dragSupported:!1},r.overlayClicked=r.overlayClicked.bind(s(s(r))),r.onTouchStart=r.onTouchStart.bind(s(s(r))),r.onTouchMove=r.onTouchMove.bind(s(s(r))),r.onTouchEnd=r.onTouchEnd.bind(s(s(r))),r.onScroll=r.onScroll.bind(s(s(r))),r.saveSidebarRef=r.saveSidebarRef.bind(s(s(r))),r}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r);var o=n.prototype;return o.componentDidMount=function(){var e=/iPad|iPhone|iPod/.test(navigator?navigator.userAgent:"");this.setState({dragSupported:"object"==typeof window&&"ontouchstart"in window&&!e}),this.saveSidebarWidth()},o.componentDidUpdate=function(){this.isTouching()||this.saveSidebarWidth()},o.onTouchStart=function(e){if(!this.isTouching()){var t=e.targetTouches[0];this.setState({touchIdentifier:t.identifier,touchStartX:t.clientX,touchCurrentX:t.clientX})}},o.onTouchMove=function(e){if(this.isTouching())for(var t=0;tthis.props.dragToggleDistance)&&this.props.onSetOpen(!this.props.open),this.setState({touchIdentifier:null,touchStartX:null,touchCurrentX:null})}},o.onScroll=function(){this.isTouching()&&this.inCancelDistanceOnScroll()&&this.setState({touchIdentifier:null,touchStartX:null,touchCurrentX:null})},o.inCancelDistanceOnScroll=function(){return this.props.pullRight?Math.abs(this.state.touchCurrentX-this.state.touchStartX)<20:Math.abs(this.state.touchStartX-this.state.touchCurrentX)<20},o.isTouching=function(){return null!==this.state.touchIdentifier},o.overlayClicked=function(){this.props.open&&this.props.onSetOpen(!1)},o.saveSidebarWidth=function(){var e=this.sidebar.offsetWidth;e!==this.state.sidebarWidth&&this.setState({sidebarWidth:e})},o.saveSidebarRef=function(e){this.sidebar=e},o.touchSidebarWidth=function(){return this.props.pullRight?this.props.open&&window.innerWidth-this.state.touchStartXthis.state.touchStartX?this.state.sidebarWidth+this.state.touchStartX-this.state.touchCurrentX:this.state.sidebarWidth:Math.min(window.innerWidth-this.state.touchCurrentX,this.state.sidebarWidth):this.props.open&&this.state.touchStartXthis.state.touchStartX?this.state.sidebarWidth:this.state.sidebarWidth-this.state.touchStartX+this.state.touchCurrentX:Math.min(this.state.touchCurrentX,this.state.sidebarWidth)},o.render=function(){var e,t=a({},c,this.props.styles.sidebar),r=a({},p,this.props.styles.content),n=a({},f,this.props.styles.overlay),o=this.state.dragSupported&&this.props.touch,i=this.isTouching(),s={className:this.props.rootClassName,style:a({},u,this.props.styles.root),role:"navigation",id:this.props.rootId},h=this.props.shadow&&(i||this.props.open||this.props.docked);if(this.props.pullRight?(t.right=0,t.transform="translateX(100%)",t.WebkitTransform="translateX(100%)",h&&(t.boxShadow="-2px 2px 4px rgba(0, 0, 0, 0.15)")):(t.left=0,t.transform="translateX(-100%)",t.WebkitTransform="translateX(-100%)",h&&(t.boxShadow="2px 2px 4px rgba(0, 0, 0, 0.15)")),i){var g=this.touchSidebarWidth()/this.state.sidebarWidth;this.props.pullRight?(t.transform="translateX("+100*(1-g)+"%)",t.WebkitTransform="translateX("+100*(1-g)+"%)"):(t.transform="translateX(-"+100*(1-g)+"%)",t.WebkitTransform="translateX(-"+100*(1-g)+"%)"),n.opacity=g,n.visibility="visible"}else this.props.docked?(0!==this.state.sidebarWidth&&(t.transform="translateX(0%)",t.WebkitTransform="translateX(0%)"),this.props.pullRight?r.right=this.state.sidebarWidth+"px":r.left=this.state.sidebarWidth+"px"):this.props.open&&(t.transform="translateX(0%)",t.WebkitTransform="translateX(0%)",n.opacity=1,n.visibility="visible");if(!i&&this.props.transitions||(t.transition="none",t.WebkitTransition="none",r.transition="none",n.transition="none"),o)if(this.props.open)s.onTouchStart=this.onTouchStart,s.onTouchMove=this.onTouchMove,s.onTouchEnd=this.onTouchEnd,s.onTouchCancel=this.onTouchEnd,s.onScroll=this.onScroll;else{var b=a({},d,this.props.styles.dragHandle);b.width=this.props.touchHandleWidth,this.props.pullRight?b.right=0:b.left=0,e=l.createElement("div",{style:b,onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd,onTouchCancel:this.onTouchEnd})}return l.createElement("div",s,l.createElement("div",{className:this.props.sidebarClassName,style:t,ref:this.saveSidebarRef,id:this.props.sidebarId},this.props.sidebar),l.createElement("div",{className:this.props.overlayClassName,style:n,onClick:this.overlayClicked,id:this.props.overlayId}),l.createElement("div",{className:this.props.contentClassName,style:r,id:this.props.contentId},e,this.props.children))},n}(l.Component);h.defaultProps={docked:!1,open:!1,transitions:!0,touch:!0,touchHandleWidth:20,pullRight:!1,shadow:!0,dragToggleDistance:30,onSetOpen:function(){},styles:{},defaultSidebarWidth:0};const g=h},3212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=(n=r(6540))&&n.__esModule?n:{default:n};t.default=function(){return o.default.createElement("svg",{width:"14",height:"11",viewBox:"0 0 14 11"},o.default.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}))}},5384:(e,t,r)=>{"use strict";var n=Object.assign||function(e){for(var t=1;tthis.startX&&(this.setState({checked:!0}),this.startX=t,this.activated=tr?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,t.click()):this.startX-4=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(t,["className","icons"])),a=(0,s.default)("react-toggle",{"react-toggle--checked":this.state.checked,"react-toggle--focus":this.state.hasFocus,"react-toggle--disabled":this.props.disabled},r);return i.default.createElement("div",{className:a,onClick:this.handleClick,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},i.default.createElement("div",{className:"react-toggle-track"},i.default.createElement("div",{className:"react-toggle-track-check"},this.getIcon("checked")),i.default.createElement("div",{className:"react-toggle-track-x"},this.getIcon("unchecked"))),i.default.createElement("div",{className:"react-toggle-thumb"}),i.default.createElement("input",n({},o,{ref:function(t){e.input=t},onFocus:this.handleFocus,onBlur:this.handleBlur,className:"react-toggle-screenreader-only",type:"checkbox"})))}}]),t}(a.PureComponent);t.A=d,d.displayName="Toggle",d.defaultProps={icons:{checked:i.default.createElement(u.default,null),unchecked:i.default.createElement(c.default,null)}},d.propTypes={checked:l.default.bool,disabled:l.default.bool,defaultChecked:l.default.bool,onChange:l.default.func,onFocus:l.default.func,onBlur:l.default.func,className:l.default.string,name:l.default.string,value:l.default.string,id:l.default.string,"aria-labelledby":l.default.string,"aria-label":l.default.string,icons:l.default.oneOfType([l.default.bool,l.default.shape({checked:l.default.node,unchecked:l.default.node})])}},3394:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pointerCoord=function(e){if(e){var t=e.changedTouches;if(t&&t.length>0){var r=t[0];return{x:r.clientX,y:r.clientY}}var n=e.pageX;if(void 0!==n)return{x:n,y:e.pageY}}return{x:0,y:0}}},3028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=(n=r(6540))&&n.__esModule?n:{default:n};t.default=function(){return o.default.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10"},o.default.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"}))}},6892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var n,o=(n=r(3215))&&n.__esModule?n:{default:n},a=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var n,o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,s,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var u=arguments.length,c=Array(u),p=0;p{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var n,o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,s,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var u=arguments.length,c=Array(u),p=0;p{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var n=s(r(5015)),o=s(r(3215)),a=s(r(1331)),i=s(r(5378));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,i.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,a.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,n.default)(t)&&r.push(t)})),r};t.default=l},8527:(e,t,r)=>{"use strict";t.H8=void 0;var n=u(r(9265)),o=u(r(6203)),a=u(r(6892)),i=u(r(6686)),s=u(r(5268)),l=u(r(2693));function u(e){return e&&e.__esModule?e:{default:e}}i.default,t.H8=i.default,s.default,l.default;t.Ay=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r={},n=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2==0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r}},6203:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var n=i(r(3215)),o=i(r(8055)),a=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,n.default)(o,(function(e,t){r[t]||(r[t]={}),r[t]=a({},r[t],o[t])})),t})),r};t.default=s},4938:()=>{String.prototype.repeat||function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,r=t(e,e,e)&&t}catch(e){}return r}(),t=function(e){if(null==this)throw TypeError();var t=String(this),r=e?Number(e):0;if(r!=r&&(r=0),r<0||r==1/0)throw RangeError();for(var n="";r;)r%2==1&&(n+=t),r>1&&(t+=t),r>>=1;return n};e?e(String.prototype,"repeat",{value:t,configurable:!0,writable:!0}):String.prototype.repeat=t}()},3780:(e,t,r)=>{"use strict";var n=r(5072),o=r.n(n),a=r(7825),i=r.n(a),s=r(7659),l=r.n(s),u=r(5056),c=r.n(u),p=r(540),f=r.n(p),d=r(1113),h=r.n(d),g=r(8711),b={};b.styleTagTransform=h(),b.setAttributes=c(),b.insert=l().bind(null,"head"),b.domAPI=i(),b.insertStyleElement=f(),o()(g.A,b),g.A&&g.A.locals&&g.A.locals},4131:(e,t,r)=>{"use strict";var n=r(5072),o=r.n(n),a=r(7825),i=r.n(a),s=r(7659),l=r.n(s),u=r(5056),c=r.n(u),p=r(540),f=r.n(p),d=r(1113),h=r.n(d),g=r(8610),b={};b.styleTagTransform=h(),b.setAttributes=c(),b.insert=l().bind(null,"head"),b.domAPI=i(),b.insertStyleElement=f(),o()(g.A,b),g.A&&g.A.locals&&g.A.locals},6862:(e,t)=>{t._getPrivFilters=function(){var e,t=/])/g,s=/[&<>"'`]/g,l=/(?:\x00|^-*!?>|--!?>|--?!?$|\]>|\]$)/g,u=/&(?:#([xX][0-9A-Fa-f]+|\d+);?|(Tab|NewLine|colon|semi|lpar|rpar|apos|sol|comma|excl|ast|midast|ensp|emsp|thinsp);|(nbsp|amp|AMP|lt|LT|gt|GT|quot|QUOT);?)/g,c={Tab:"\t",NewLine:"\n",colon:":",semi:";",lpar:"(",rpar:")",apos:"'",sol:"/",comma:",",excl:"!",ast:"*",midast:"*",ensp:" ",emsp:" ",thinsp:" ",nbsp:" ",amp:"&",lt:"<",gt:">",quot:'"',QUOT:'"'},p=/^(?:(?!-*expression)#?[-\w]+|[+-]?(?:\d+|\d*\.\d+)(?:r?em|ex|ch|cm|mm|in|px|pt|pc|%|vh|vw|vmin|vmax)?|!important|)$/i,f=/[\x00-\x1F\x7F\[\]{}\\"]/g,d=/[\x00-\x1F\x7F\[\]{}\\']/g,h=/url[\(\u207D\u208D]+/g,g=/['\(\)]/g,b=/\/\/%5[Bb]([A-Fa-f0-9:]+)%5[Dd]/,v={javascript:1,data:1,vbscript:1,mhtml:1,"x-schema":1},m=/(?::|&#[xX]0*3[aA];?|�*58;?|:)/,y=/(?:^[\x00-\x20]+|[\t\n\r\x00]+)/g,x={Tab:"\t",NewLine:"\n"},w=function(e,t,r){return void 0===e?"undefined":null===e?"null":e.toString().replace(t,r)},_=String.fromCodePoint||function(e){return 0===arguments.length?"":e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),e%1024+56320))};function E(e){var t=e.split(m,2);return!t[0]||2!==t.length&&e.length===t[0].length?null:t[0]}function C(t,r,n,o){return r=r||c,n=n||u,void 0===t?"undefined":null===t?"null":t.toString().replace(a,"�").replace(n,(function(t,n,a,i){return n?(n=Number(n[0]<="9"?n:"0"+n),o?_(n):128===n?"€":130===n?"‚":131===n?"ƒ":132===n?"„":133===n?"…":134===n?"†":135===n?"‡":136===n?"ˆ":137===n?"‰":138===n?"Š":139===n?"‹":140===n?"Œ":142===n?"Ž":145===n?"‘":146===n?"’":147===n?"“":148===n?"”":149===n?"•":150===n?"–":151===n?"—":152===n?"˜":153===n?"™":154===n?"š":155===n?"›":156===n?"œ":158===n?"ž":159===n?"Ÿ":n>=55296&&n<=57343||13===n?"�":e.frCoPt(n)):r[a||i]||t}))}function k(e){return"\\"+e.charCodeAt(0).toString(16).toLowerCase()+" "}function A(e){return e.replace(h,(function(e){return"-x-"+e}))}function O(t){var r=E(t=e.yufull(C(t)));return r&&v[r.toLowerCase()]?"##"+t:t}return e={frCoPt:function(e){return null==e?"":!isFinite(e=Number(e))||e<=0||e>1114111||e>=1&&e<=8||e>=14&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||11===e||!(65535&~e)||65534==(65535&e)?"�":_(e)},d:C,yup:function(e){return(e=E(e.replace(a,"")))?C(e,x,null,!0).replace(y,"").toLowerCase():null},y:function(e){return w(e,s,(function(e){return"&"===e?"&":"<"===e?"<":">"===e?">":'"'===e?""":"'"===e?"'":"`"}))},ya:function(e){return w(e,o,"&")},yd:function(e){return w(e,t,"<")},yc:function(e){return w(e,l,(function(e){return"\0"===e?"�":"--!"===e||"--"===e||"-"===e||"]"===e?e+" ":e.slice(0,-1)+" >"}))},yavd:function(e){return w(e,r,""")},yavs:function(e){return w(e,n,"'")},yavu:function(e){return w(e,i,(function(e){return"\t"===e?" ":"\n"===e?" ":"\v"===e?" ":"\f"===e?" ":"\r"===e?" ":" "===e?" ":"="===e?"=":"<"===e?"<":">"===e?">":'"'===e?""":"'"===e?"'":"`"===e?"`":"�"}))},yu:encodeURI,yuc:encodeURIComponent,yubl:function(t){return v[e.yup(t)]?"x-"+t:t},yufull:function(t){return e.yu(t).replace(b,(function(e,t){return"//["+t+"]"}))},yublf:function(t){return e.yubl(e.yufull(t))},yceu:function(e){return e=C(e),p.test(e)?e:";-x:'"+A(e.replace(d,k))+"';-v:"},yced:function(e){return A(C(e).replace(f,k))},yces:function(e){return A(C(e).replace(d,k))},yceuu:function(e){return O(e).replace(g,(function(e){return"'"===e?"\\27 ":"("===e?"%28":"%29"}))},yceud:function(e){return O(e)},yceus:function(e){return O(e).replace(n,"\\27 ")}}};var r=t._privFilters=t._getPrivFilters();function n(e,t,n){return r.yubl(t((n||r.yufull)(e)))}t.inHTMLData=r.yd,t.inHTMLComment=r.yc,t.inSingleQuotedAttr=r.yavs,t.inDoubleQuotedAttr=r.yavd,t.inUnQuotedAttr=r.yavu,t.uriInSingleQuotedAttr=function(e){return n(e,r.yavs)},t.uriInDoubleQuotedAttr=function(e){return n(e,r.yavd)},t.uriInUnQuotedAttr=function(e){return n(e,r.yavu)},t.uriInHTMLData=r.yufull,t.uriInHTMLComment=function(e){return r.yc(r.yufull(e))},t.uriPathInSingleQuotedAttr=function(e){return n(e,r.yavs,r.yu)},t.uriPathInDoubleQuotedAttr=function(e){return n(e,r.yavd,r.yu)},t.uriPathInUnQuotedAttr=function(e){return n(e,r.yavu,r.yu)},t.uriPathInHTMLData=r.yu,t.uriPathInHTMLComment=function(e){return r.yc(r.yu(e))},t.uriQueryInSingleQuotedAttr=t.uriPathInSingleQuotedAttr,t.uriQueryInDoubleQuotedAttr=t.uriPathInDoubleQuotedAttr,t.uriQueryInUnQuotedAttr=t.uriPathInUnQuotedAttr,t.uriQueryInHTMLData=t.uriPathInHTMLData,t.uriQueryInHTMLComment=t.uriPathInHTMLComment,t.uriComponentInSingleQuotedAttr=function(e){return r.yavs(r.yuc(e))},t.uriComponentInDoubleQuotedAttr=function(e){return r.yavd(r.yuc(e))},t.uriComponentInUnQuotedAttr=function(e){return r.yavu(r.yuc(e))},t.uriComponentInHTMLData=r.yuc,t.uriComponentInHTMLComment=function(e){return r.yc(r.yuc(e))},t.uriFragmentInSingleQuotedAttr=function(e){return r.yubl(r.yavs(r.yuc(e)))},t.uriFragmentInDoubleQuotedAttr=function(e){return r.yubl(r.yavd(r.yuc(e)))},t.uriFragmentInUnQuotedAttr=function(e){return r.yubl(r.yavu(r.yuc(e)))},t.uriFragmentInHTMLData=t.uriComponentInHTMLData,t.uriFragmentInHTMLComment=t.uriComponentInHTMLComment},6942:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t{"use strict";r.d(t,{P2:()=>h});const n=(e,t)=>t.some((t=>e instanceof t));let o,a;const i=new WeakMap,s=new WeakMap,l=new WeakMap;let u={get(e,t,r){if(e instanceof IDBTransaction){if("done"===t)return i.get(e);if("store"===t)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return f(e[t])},set:(e,t,r)=>(e[t]=r,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function c(e){u=e(u)}function p(e){return"function"==typeof e?(t=e,(a||(a=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(d(this),e),f(this.request)}:function(...e){return f(t.apply(d(this),e))}):(e instanceof IDBTransaction&&function(e){if(i.has(e))return;const t=new Promise(((t,r)=>{const n=()=>{e.removeEventListener("complete",o),e.removeEventListener("error",a),e.removeEventListener("abort",a)},o=()=>{t(),n()},a=()=>{r(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",o),e.addEventListener("error",a),e.addEventListener("abort",a)}));i.set(e,t)}(e),n(e,o||(o=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,u):e);var t}function f(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,r)=>{const n=()=>{e.removeEventListener("success",o),e.removeEventListener("error",a)},o=()=>{t(f(e.result)),n()},a=()=>{r(e.error),n()};e.addEventListener("success",o),e.addEventListener("error",a)}));return l.set(t,e),t}(e);if(s.has(e))return s.get(e);const t=p(e);return t!==e&&(s.set(e,t),l.set(t,e)),t}const d=e=>l.get(e);function h(e,t,{blocked:r,upgrade:n,blocking:o,terminated:a}={}){const i=indexedDB.open(e,t),s=f(i);return n&&i.addEventListener("upgradeneeded",(e=>{n(f(i.result),e.oldVersion,e.newVersion,f(i.transaction),e)})),r&&i.addEventListener("blocked",(e=>r(e.oldVersion,e.newVersion,e))),s.then((e=>{a&&e.addEventListener("close",(()=>a())),o&&e.addEventListener("versionchange",(e=>o(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),s}const g=["get","getKey","getAll","getAllKeys","count"],b=["put","add","delete","clear"],v=new Map;function m(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(v.get(t))return v.get(t);const r=t.replace(/FromIndex$/,""),n=t!==r,o=b.includes(r);if(!(r in(n?IDBIndex:IDBObjectStore).prototype)||!o&&!g.includes(r))return;const a=async function(e,...t){const a=this.transaction(e,o?"readwrite":"readonly");let i=a.store;return n&&(i=i.index(t.shift())),(await Promise.all([i[r](...t),o&&a.done]))[0]};return v.set(t,a),a}c((e=>({...e,get:(t,r,n)=>m(t,r)||e.get(t,r,n),has:(t,r)=>!!m(t,r)||e.has(t,r)})));const y=["continue","continuePrimaryKey","advance"],x={},w=new WeakMap,_=new WeakMap,E={get(e,t){if(!y.includes(t))return e[t];let r=x[t];return r||(r=x[t]=function(...e){w.set(this,_.get(this)[t](...e))}),r}};async function*C(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;const r=new Proxy(t,E);for(_.set(r,t),l.set(r,d(t));t;)yield r,t=await(w.get(r)||t.continue()),w.delete(r)}function k(e,t){return t===Symbol.asyncIterator&&n(e,[IDBIndex,IDBObjectStore,IDBCursor])||"iterate"===t&&n(e,[IDBIndex,IDBObjectStore])}c((e=>({...e,get:(t,r,n)=>k(t,r)?C:e.get(t,r,n),has:(t,r)=>k(t,r)||e.has(t,r)})))},426:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Bounce:()=>B,Flip:()=>I,Icons:()=>P,Slide:()=>N,ToastContainer:()=>q,Zoom:()=>z,collapseToast:()=>p,cssTransition:()=>f,toast:()=>j,useToast:()=>E,useToastContainer:()=>_});var n=r(6540);function o(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t"number"==typeof e&&!isNaN(e),s=e=>"string"==typeof e,l=e=>"function"==typeof e,u=e=>s(e)||l(e)?e:null,c=e=>(0,n.isValidElement)(e)||s(e)||l(e)||i(e);function p(e,t,r){void 0===r&&(r=300);const{scrollHeight:n,style:o}=e;requestAnimationFrame((()=>{o.minHeight="initial",o.height=n+"px",o.transition=`all ${r}ms`,requestAnimationFrame((()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,r)}))}))}function f(e){let{enter:t,exit:r,appendPosition:o=!1,collapse:a=!0,collapseDuration:i=300}=e;return function(e){let{children:s,position:l,preventExitTransition:u,done:c,nodeRef:f,isIn:d,playToast:h}=e;const g=o?`${t}--${l}`:t,b=o?`${r}--${l}`:r,v=(0,n.useRef)(0);return(0,n.useLayoutEffect)((()=>{const e=f.current,t=g.split(" "),r=n=>{n.target===f.current&&(h(),e.removeEventListener("animationend",r),e.removeEventListener("animationcancel",r),0===v.current&&"animationcancel"!==n.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",r),e.addEventListener("animationcancel",r)}),[]),(0,n.useEffect)((()=>{const e=f.current,t=()=>{e.removeEventListener("animationend",t),a?p(e,c,i):c()};d||(u?t():(v.current=1,e.className+=` ${b}`,e.addEventListener("animationend",t)))}),[d]),n.createElement(n.Fragment,null,s)}}function d(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const h=new Map;let g=[];const b=new Set,v=e=>b.forEach((t=>t(e))),m=()=>h.size>0;function y(e,t){var r;if(t)return!(null==(r=h.get(t))||!r.isToastActive(e));let n=!1;return h.forEach((t=>{t.isToastActive(e)&&(n=!0)})),n}function x(e,t){c(e)&&(m()||g.push({content:e,options:t}),h.forEach((r=>{r.buildToast(e,t)})))}function w(e,t){h.forEach((r=>{null!=t&&null!=t&&t.containerId?(null==t?void 0:t.containerId)===r.id&&r.toggle(e,null==t?void 0:t.id):r.toggle(e,null==t?void 0:t.id)}))}function _(e){const{subscribe:t,getSnapshot:r,setProps:o}=(0,n.useRef)(function(e){const t=e.containerId||1;return{subscribe(r){const o=function(e,t,r){let o=1,a=0,p=[],f=[],h=[],g=t;const b=new Map,v=new Set,m=()=>{h=Array.from(b.values()),v.forEach((e=>e()))},y=e=>{f=null==e?[]:f.filter((t=>t!==e)),m()},x=e=>{const{toastId:t,onOpen:o,updateId:a,children:i}=e.props,s=null==a;e.staleId&&b.delete(e.staleId),b.set(t,e),f=[...f,e.props.toastId].filter((t=>t!==e.staleId)),m(),r(d(e,s?"added":"updated")),s&&l(o)&&o((0,n.isValidElement)(i)&&i.props)};return{id:e,props:g,observe:e=>(v.add(e),()=>v.delete(e)),toggle:(e,t)=>{b.forEach((r=>{null!=t&&t!==r.props.toastId||l(r.toggle)&&r.toggle(e)}))},removeToast:y,toasts:b,clearQueue:()=>{a-=p.length,p=[]},buildToast:(t,f)=>{if((t=>{let{containerId:r,toastId:n,updateId:o}=t;const a=r?r!==e:1!==e,i=b.has(n)&&null==o;return a||i})(f))return;const{toastId:h,updateId:v,data:w,staleId:_,delay:E}=f,C=()=>{y(h)},k=null==v;k&&a++;const A={...g,style:g.toastStyle,key:o++,...Object.fromEntries(Object.entries(f).filter((e=>{let[t,r]=e;return null!=r}))),toastId:h,updateId:v,data:w,closeToast:C,isIn:!1,className:u(f.className||g.toastClassName),bodyClassName:u(f.bodyClassName||g.bodyClassName),progressClassName:u(f.progressClassName||g.progressClassName),autoClose:!f.isLoading&&(O=f.autoClose,S=g.autoClose,!1===O||i(O)&&O>0?O:S),deleteToast(){const e=b.get(h),{onClose:t,children:o}=e.props;l(t)&&t((0,n.isValidElement)(o)&&o.props),r(d(e,"removed")),b.delete(h),a--,a<0&&(a=0),p.length>0?x(p.shift()):m()}};var O,S;A.closeButton=g.closeButton,!1===f.closeButton||c(f.closeButton)?A.closeButton=f.closeButton:!0===f.closeButton&&(A.closeButton=!c(g.closeButton)||g.closeButton);let T=t;(0,n.isValidElement)(t)&&!s(t.type)?T=(0,n.cloneElement)(t,{closeToast:C,toastProps:A,data:w}):l(t)&&(T=t({closeToast:C,toastProps:A,data:w}));const D={content:T,props:A,staleId:_};g.limit&&g.limit>0&&a>g.limit&&k?p.push(D):i(E)?setTimeout((()=>{x(D)}),E):x(D)},setProps(e){g=e},setToggle:(e,t)=>{b.get(e).toggle=t},isToastActive:e=>f.some((t=>t===e)),getSnapshot:()=>g.newestOnTop?h.reverse():h}}(t,e,v);h.set(t,o);const a=o.observe(r);return g.forEach((e=>x(e.content,e.options))),g=[],()=>{a(),h.delete(t)}},setProps(e){var r;null==(r=h.get(t))||r.setProps(e)},getSnapshot(){var e;return null==(e=h.get(t))?void 0:e.getSnapshot()}}}(e)).current;o(e);const a=(0,n.useSyncExternalStore)(t,r,r);return{getToastToRender:function(e){if(!a)return[];const t=new Map;return a.forEach((e=>{const{position:r}=e.props;t.has(r)||t.set(r,[]),t.get(r).push(e)})),Array.from(t,(t=>e(t[0],t[1])))},isToastActive:y,count:null==a?void 0:a.length}}function E(e){const[t,r]=(0,n.useState)(!1),[o,a]=(0,n.useState)(!1),i=(0,n.useRef)(null),s=(0,n.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:u,closeToast:c,onClick:p,closeOnClick:f}=e;var d,g;function b(){r(!0)}function v(){r(!1)}function m(r){const n=i.current;s.canDrag&&n&&(s.didMove=!0,t&&v(),s.delta="x"===e.draggableDirection?r.clientX-s.start:r.clientY-s.start,s.start!==r.clientX&&(s.canCloseOnClick=!1),n.style.transform=`translate3d(${"x"===e.draggableDirection?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,n.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function y(){document.removeEventListener("pointermove",m),document.removeEventListener("pointerup",y);const t=i.current;if(s.canDrag&&s.didMove&&t){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return a(!0),e.closeToast(),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}null==(g=h.get((d={id:e.toastId,containerId:e.containerId,fn:r}).containerId||1))||g.setToggle(d.id,d.fn),(0,n.useEffect)((()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||v(),window.addEventListener("focus",b),window.addEventListener("blur",v),()=>{window.removeEventListener("focus",b),window.removeEventListener("blur",v)}}),[e.pauseOnFocusLoss]);const x={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){s.didMove=!1,document.addEventListener("pointermove",m),document.addEventListener("pointerup",y);const r=i.current;s.canCloseOnClick=!0,s.canDrag=!0,r.style.transition="none","x"===e.draggableDirection?(s.start=t.clientX,s.removalDistance=r.offsetWidth*(e.draggablePercent/100)):(s.start=t.clientY,s.removalDistance=r.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){const{top:r,bottom:n,left:o,right:a}=i.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=o&&t.clientX<=a&&t.clientY>=r&&t.clientY<=n?v():b()}};return l&&u&&(x.onMouseEnter=v,e.stacked||(x.onMouseLeave=b)),f&&(x.onClick=e=>{p&&p(e),s.canCloseOnClick&&c()}),{playToast:b,pauseToast:v,isRunning:t,preventExitTransition:o,toastRef:i,eventHandlers:x}}function C(e){let{delay:t,isRunning:r,closeToast:o,type:i="default",hide:s,className:u,style:c,controlledProgress:p,progress:f,rtl:d,isIn:h,theme:g}=e;const b=s||p&&0===f,v={...c,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused"};p&&(v.transform=`scaleX(${f})`);const m=a("Toastify__progress-bar",p?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),y=l(u)?u({rtl:d,type:i,defaultClassName:m}):a(m,u),x={[p&&f>=1?"onTransitionEnd":"onAnimationEnd"]:p&&f<1?null:()=>{h&&o()}};return n.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":b},n.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${g} Toastify__progress-bar--${i}`}),n.createElement("div",{role:"progressbar","aria-hidden":b?"true":"false","aria-label":"notification timer",className:y,style:v,...x}))}let k=1;const A=()=>""+k++;function O(e){return e&&(s(e.toastId)||i(e.toastId))?e.toastId:A()}function S(e,t){return x(e,t),t.toastId}function T(e,t){return{...t,type:t&&t.type||e,toastId:O(t)}}function D(e){return(t,r)=>S(t,T(e,r))}function j(e,t){return S(e,T("default",t))}j.loading=(e,t)=>S(e,T("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),j.promise=function(e,t,r){let n,{pending:o,error:a,success:i}=t;o&&(n=s(o)?j.loading(o,r):j.loading(o.render,{...r,...o}));const u={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=(e,t,o)=>{if(null==t)return void j.dismiss(n);const a={type:e,...u,...r,data:o},i=s(t)?{render:t}:t;return n?j.update(n,{...a,...i}):j(i.render,{...a,...i}),o},p=l(e)?e():e;return p.then((e=>c("success",i,e))).catch((e=>c("error",a,e))),p},j.success=D("success"),j.info=D("info"),j.error=D("error"),j.warning=D("warning"),j.warn=j.warning,j.dark=(e,t)=>S(e,T("default",{theme:"dark",...t})),j.dismiss=function(e){!function(e){var t;if(m()){if(null==e||s(t=e)||i(t))h.forEach((t=>{t.removeToast(e)}));else if(e&&("containerId"in e||"id"in e)){const t=h.get(e.containerId);t?t.removeToast(e.id):h.forEach((t=>{t.removeToast(e.id)}))}}else g=g.filter((t=>null!=e&&t.options.toastId!==e))}(e)},j.clearWaitingQueue=function(e){void 0===e&&(e={}),h.forEach((t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()}))},j.isActive=y,j.update=function(e,t){void 0===t&&(t={});const r=((e,t)=>{var r;let{containerId:n}=t;return null==(r=h.get(n||1))?void 0:r.toasts.get(e)})(e,t);if(r){const{props:n,content:o}=r,a={delay:100,...n,...t,toastId:t.toastId||e,updateId:A()};a.toastId!==e&&(a.staleId=e);const i=a.render||o;delete a.render,S(i,a)}},j.done=e=>{j.update(e,{progress:1})},j.onChange=function(e){return b.add(e),()=>{b.delete(e)}},j.play=e=>w(!0,e),j.pause=e=>w(!1,e);const M="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,F=e=>{let{theme:t,type:r,isLoading:o,...a}=e;return n.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${r})`,...a})},P={info:function(e){return n.createElement(F,{...e},n.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return n.createElement(F,{...e},n.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return n.createElement(F,{...e},n.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return n.createElement(F,{...e},n.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return n.createElement("div",{className:"Toastify__spinner"})}},L=e=>{const{isRunning:t,preventExitTransition:r,toastRef:o,eventHandlers:i,playToast:s}=E(e),{closeButton:u,children:c,autoClose:p,onClick:f,type:d,hideProgressBar:h,closeToast:g,transition:b,position:v,className:m,style:y,bodyClassName:x,bodyStyle:w,progressClassName:_,progressStyle:k,updateId:A,role:O,progress:S,rtl:T,toastId:D,deleteToast:j,isIn:M,isLoading:F,closeOnClick:L,theme:R}=e,B=a("Toastify__toast",`Toastify__toast-theme--${R}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":T},{"Toastify__toast--close-on-click":L}),N=l(m)?m({rtl:T,position:v,type:d,defaultClassName:B}):a(B,m),z=function(e){let{theme:t,type:r,isLoading:o,icon:a}=e,i=null;const s={theme:t,type:r};return!1===a||(l(a)?i=a({...s,isLoading:o}):(0,n.isValidElement)(a)?i=(0,n.cloneElement)(a,s):o?i=P.spinner():(e=>e in P)(r)&&(i=P[r](s))),i}(e),I=!!S||!p,H={closeToast:g,type:d,theme:R};let q=null;return!1===u||(q=l(u)?u(H):(0,n.isValidElement)(u)?(0,n.cloneElement)(u,H):function(e){let{closeToast:t,theme:r,ariaLabel:o="close"}=e;return n.createElement("button",{className:`Toastify__close-button Toastify__close-button--${r}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":o},n.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},n.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(H)),n.createElement(b,{isIn:M,done:j,position:v,preventExitTransition:r,nodeRef:o,playToast:s},n.createElement("div",{id:D,onClick:f,"data-in":M,className:N,...i,style:y,ref:o},n.createElement("div",{...M&&{role:O},className:l(x)?x({type:d}):a("Toastify__toast-body",x),style:w},null!=z&&n.createElement("div",{className:a("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!F})},z),n.createElement("div",null,c)),q,n.createElement(C,{...A&&!I?{key:`pb-${A}`}:{},rtl:T,theme:R,delay:p,isRunning:t,isIn:M,closeToast:g,hide:h,type:d,style:k,className:_,controlledProgress:I,progress:S||0})))},R=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},B=f(R("bounce",!0)),N=f(R("slide",!0)),z=f(R("zoom")),I=f(R("flip")),H={position:"top-right",transition:B,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function q(e){let t={...H,...e};const r=e.stacked,[o,i]=(0,n.useState)(!0),s=(0,n.useRef)(null),{getToastToRender:c,isToastActive:p,count:f}=_(t),{className:d,style:h,rtl:g,containerId:b}=t;function v(e){const t=a("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":g});return l(d)?d({position:e,rtl:g,defaultClassName:t}):a(t,u(d))}function m(){r&&(i(!0),j.play())}return M((()=>{if(r){var e;const r=s.current.querySelectorAll('[data-in="true"]'),n=12,a=null==(e=t.position)?void 0:e.includes("top");let i=0,l=0;Array.from(r).reverse().forEach(((e,t)=>{const r=e;r.classList.add("Toastify__toast--stacked"),t>0&&(r.dataset.collapsed=`${o}`),r.dataset.pos||(r.dataset.pos=a?"top":"bot");const s=i*(o?.2:1)+(o?0:n*t);r.style.setProperty("--y",`${a?s:-1*s}px`),r.style.setProperty("--g",`${n}`),r.style.setProperty("--s",""+(1-(o?l:0))),i+=r.offsetHeight,l+=.025}))}}),[o,f,r]),n.createElement("div",{ref:s,className:"Toastify",id:b,onMouseEnter:()=>{r&&(i(!1),j.pause())},onMouseLeave:m},c(((e,t)=>{const o=t.length?{...h}:{...h,pointerEvents:"none"};return n.createElement("div",{className:v(e),style:o,key:`container-${e}`},t.map((e=>{let{content:t,props:o}=e;return n.createElement(L,{...o,stacked:r,collapseAll:m,isIn:p(o.toastId,o.containerId),style:o.style,key:`toast-${o.key}`},t)})))})))}},4331:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},5458:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","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":"𝔅","bfr":"𝔟","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":"𝔹","bopf":"𝕓","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":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","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":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","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":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","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":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","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":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","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":"Ñ","ntilde":"ñ","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":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","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":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","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":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","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":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","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":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},7966:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},6982:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}}]); \ No newline at end of file diff --git a/104.js.LICENSE.txt b/104.js.LICENSE.txt new file mode 100644 index 00000000..0348fff8 --- /dev/null +++ b/104.js.LICENSE.txt @@ -0,0 +1,28 @@ +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/ + +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ + +/*! + * Linkifier Component + * Copyright 2017 Pedro Ladaria + * License: MIT + */ + +/*! + * pascalcase + * + * Copyright (c) 2015, Jon Schlinkert. + * Licensed under the MIT License. + */ + +/*! http://mths.be/fromcodepoint v0.2.1 by @mathias */ + +/*! http://mths.be/repeat v0.2.0 by @mathias */ diff --git a/338.js b/338.js new file mode 100644 index 00000000..05ee718e --- /dev/null +++ b/338.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklivesplit=self.webpackChunklivesplit||[]).push([[338],{5338:(e,t,o)=>{var a=o(961);t.createRoot=a.createRoot,t.hydrateRoot=a.hydrateRoot}}]); \ No newline at end of file diff --git a/41ae7890998ff08e05da.svg b/41ae7890998ff08e05da.svg new file mode 100644 index 00000000..8c93ee33 --- /dev/null +++ b/41ae7890998ff08e05da.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/426.js b/426.js new file mode 100644 index 00000000..e2450dee --- /dev/null +++ b/426.js @@ -0,0 +1,2 @@ +/*! For license information please see 426.js.LICENSE.txt */ +"use strict";(self.webpackChunklivesplit=self.webpackChunklivesplit||[]).push([[426,540],{5287:(e,t)=>{var n=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||y}function h(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||y}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=v.prototype;var _=b.prototype=new h;_.constructor=b,m(_,v.prototype),_.isPureReactComponent=!0;var E=Array.isArray,T=Object.prototype.hasOwnProperty,C={current:null},I={key:!0,ref:!0,__self:!0,__source:!0};function $(e,t,o){var r,a={},s=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(s=""+t.key),t)T.call(t,r)&&!I.hasOwnProperty(r)&&(a[r]=t[r]);var l=arguments.length-2;if(1===l)a.children=o;else if(1{e.exports=n(5287)},426:(e,t,n)=>{n.r(t),n.d(t,{Bounce:()=>D,Flip:()=>z,Icons:()=>x,Slide:()=>B,ToastContainer:()=>V,Zoom:()=>j,collapseToast:()=>d,cssTransition:()=>f,toast:()=>P,useToast:()=>C,useToastContainer:()=>T});var o=n(6540);function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t"number"==typeof e&&!isNaN(e),i=e=>"string"==typeof e,l=e=>"function"==typeof e,c=e=>i(e)||l(e)?e:null,u=e=>(0,o.isValidElement)(e)||i(e)||l(e)||s(e);function d(e,t,n){void 0===n&&(n=300);const{scrollHeight:o,style:r}=e;requestAnimationFrame((()=>{r.minHeight="initial",r.height=o+"px",r.transition=`all ${n}ms`,requestAnimationFrame((()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(t,n)}))}))}function f(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:a=!0,collapseDuration:s=300}=e;return function(e){let{children:i,position:l,preventExitTransition:c,done:u,nodeRef:f,isIn:p,playToast:y}=e;const m=r?`${t}--${l}`:t,g=r?`${n}--${l}`:n,v=(0,o.useRef)(0);return(0,o.useLayoutEffect)((()=>{const e=f.current,t=m.split(" "),n=o=>{o.target===f.current&&(y(),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===v.current&&"animationcancel"!==o.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)}),[]),(0,o.useEffect)((()=>{const e=f.current,t=()=>{e.removeEventListener("animationend",t),a?d(e,u,s):u()};p||(c?t():(v.current=1,e.className+=` ${g}`,e.addEventListener("animationend",t)))}),[p]),o.createElement(o.Fragment,null,i)}}function p(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const y=new Map;let m=[];const g=new Set,v=e=>g.forEach((t=>t(e))),h=()=>y.size>0;function b(e,t){var n;if(t)return!(null==(n=y.get(t))||!n.isToastActive(e));let o=!1;return y.forEach((t=>{t.isToastActive(e)&&(o=!0)})),o}function _(e,t){u(e)&&(h()||m.push({content:e,options:t}),y.forEach((n=>{n.buildToast(e,t)})))}function E(e,t){y.forEach((n=>{null!=t&&null!=t&&t.containerId?(null==t?void 0:t.containerId)===n.id&&n.toggle(e,null==t?void 0:t.id):n.toggle(e,null==t?void 0:t.id)}))}function T(e){const{subscribe:t,getSnapshot:n,setProps:r}=(0,o.useRef)(function(e){const t=e.containerId||1;return{subscribe(n){const r=function(e,t,n){let r=1,a=0,d=[],f=[],y=[],m=t;const g=new Map,v=new Set,h=()=>{y=Array.from(g.values()),v.forEach((e=>e()))},b=e=>{f=null==e?[]:f.filter((t=>t!==e)),h()},_=e=>{const{toastId:t,onOpen:r,updateId:a,children:s}=e.props,i=null==a;e.staleId&&g.delete(e.staleId),g.set(t,e),f=[...f,e.props.toastId].filter((t=>t!==e.staleId)),h(),n(p(e,i?"added":"updated")),i&&l(r)&&r((0,o.isValidElement)(s)&&s.props)};return{id:e,props:m,observe:e=>(v.add(e),()=>v.delete(e)),toggle:(e,t)=>{g.forEach((n=>{null!=t&&t!==n.props.toastId||l(n.toggle)&&n.toggle(e)}))},removeToast:b,toasts:g,clearQueue:()=>{a-=d.length,d=[]},buildToast:(t,f)=>{if((t=>{let{containerId:n,toastId:o,updateId:r}=t;const a=n?n!==e:1!==e,s=g.has(o)&&null==r;return a||s})(f))return;const{toastId:y,updateId:v,data:E,staleId:T,delay:C}=f,I=()=>{b(y)},$=null==v;$&&a++;const k={...m,style:m.toastStyle,key:r++,...Object.fromEntries(Object.entries(f).filter((e=>{let[t,n]=e;return null!=n}))),toastId:y,updateId:v,data:E,closeToast:I,isIn:!1,className:c(f.className||m.toastClassName),bodyClassName:c(f.bodyClassName||m.bodyClassName),progressClassName:c(f.progressClassName||m.progressClassName),autoClose:!f.isLoading&&(w=f.autoClose,S=m.autoClose,!1===w||s(w)&&w>0?w:S),deleteToast(){const e=g.get(y),{onClose:t,children:r}=e.props;l(t)&&t((0,o.isValidElement)(r)&&r.props),n(p(e,"removed")),g.delete(y),a--,a<0&&(a=0),d.length>0?_(d.shift()):h()}};var w,S;k.closeButton=m.closeButton,!1===f.closeButton||u(f.closeButton)?k.closeButton=f.closeButton:!0===f.closeButton&&(k.closeButton=!u(m.closeButton)||m.closeButton);let L=t;(0,o.isValidElement)(t)&&!i(t.type)?L=(0,o.cloneElement)(t,{closeToast:I,toastProps:k,data:E}):l(t)&&(L=t({closeToast:I,toastProps:k,data:E}));const R={content:L,props:k,staleId:T};m.limit&&m.limit>0&&a>m.limit&&$?d.push(R):s(C)?setTimeout((()=>{_(R)}),C):_(R)},setProps(e){m=e},setToggle:(e,t)=>{g.get(e).toggle=t},isToastActive:e=>f.some((t=>t===e)),getSnapshot:()=>m.newestOnTop?y.reverse():y}}(t,e,v);y.set(t,r);const a=r.observe(n);return m.forEach((e=>_(e.content,e.options))),m=[],()=>{a(),y.delete(t)}},setProps(e){var n;null==(n=y.get(t))||n.setProps(e)},getSnapshot(){var e;return null==(e=y.get(t))?void 0:e.getSnapshot()}}}(e)).current;r(e);const a=(0,o.useSyncExternalStore)(t,n,n);return{getToastToRender:function(e){if(!a)return[];const t=new Map;return a.forEach((e=>{const{position:n}=e.props;t.has(n)||t.set(n,[]),t.get(n).push(e)})),Array.from(t,(t=>e(t[0],t[1])))},isToastActive:b,count:null==a?void 0:a.length}}function C(e){const[t,n]=(0,o.useState)(!1),[r,a]=(0,o.useState)(!1),s=(0,o.useRef)(null),i=(0,o.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:c,closeToast:u,onClick:d,closeOnClick:f}=e;var p,m;function g(){n(!0)}function v(){n(!1)}function h(n){const o=s.current;i.canDrag&&o&&(i.didMove=!0,t&&v(),i.delta="x"===e.draggableDirection?n.clientX-i.start:n.clientY-i.start,i.start!==n.clientX&&(i.canCloseOnClick=!1),o.style.transform=`translate3d(${"x"===e.draggableDirection?`${i.delta}px, var(--y)`:`0, calc(${i.delta}px + var(--y))`},0)`,o.style.opacity=""+(1-Math.abs(i.delta/i.removalDistance)))}function b(){document.removeEventListener("pointermove",h),document.removeEventListener("pointerup",b);const t=s.current;if(i.canDrag&&i.didMove&&t){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance)return a(!0),e.closeToast(),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}null==(m=y.get((p={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))||m.setToggle(p.id,p.fn),(0,o.useEffect)((()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||v(),window.addEventListener("focus",g),window.addEventListener("blur",v),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",v)}}),[e.pauseOnFocusLoss]);const _={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){i.didMove=!1,document.addEventListener("pointermove",h),document.addEventListener("pointerup",b);const n=s.current;i.canCloseOnClick=!0,i.canDrag=!0,n.style.transition="none","x"===e.draggableDirection?(i.start=t.clientX,i.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(i.start=t.clientY,i.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){const{top:n,bottom:o,left:r,right:a}=s.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=r&&t.clientX<=a&&t.clientY>=n&&t.clientY<=o?v():g()}};return l&&c&&(_.onMouseEnter=v,e.stacked||(_.onMouseLeave=g)),f&&(_.onClick=e=>{d&&d(e),i.canCloseOnClick&&u()}),{playToast:g,pauseToast:v,isRunning:t,preventExitTransition:r,toastRef:s,eventHandlers:_}}function I(e){let{delay:t,isRunning:n,closeToast:r,type:s="default",hide:i,className:c,style:u,controlledProgress:d,progress:f,rtl:p,isIn:y,theme:m}=e;const g=i||d&&0===f,v={...u,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};d&&(v.transform=`scaleX(${f})`);const h=a("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${s}`,{"Toastify__progress-bar--rtl":p}),b=l(c)?c({rtl:p,type:s,defaultClassName:h}):a(h,c),_={[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]:d&&f<1?null:()=>{y&&r()}};return o.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":g},o.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${s}`}),o.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:b,style:v,..._}))}let $=1;const k=()=>""+$++;function w(e){return e&&(i(e.toastId)||s(e.toastId))?e.toastId:k()}function S(e,t){return _(e,t),t.toastId}function L(e,t){return{...t,type:t&&t.type||e,toastId:w(t)}}function R(e){return(t,n)=>S(t,L(e,n))}function P(e,t){return S(e,L("default",t))}P.loading=(e,t)=>S(e,L("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),P.promise=function(e,t,n){let o,{pending:r,error:a,success:s}=t;r&&(o=i(r)?P.loading(r,n):P.loading(r.render,{...n,...r}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(e,t,r)=>{if(null==t)return void P.dismiss(o);const a={type:e,...c,...n,data:r},s=i(t)?{render:t}:t;return o?P.update(o,{...a,...s}):P(s.render,{...a,...s}),r},d=l(e)?e():e;return d.then((e=>u("success",s,e))).catch((e=>u("error",a,e))),d},P.success=R("success"),P.info=R("info"),P.error=R("error"),P.warning=R("warning"),P.warn=P.warning,P.dark=(e,t)=>S(e,L("default",{theme:"dark",...t})),P.dismiss=function(e){!function(e){var t;if(h()){if(null==e||i(t=e)||s(t))y.forEach((t=>{t.removeToast(e)}));else if(e&&("containerId"in e||"id"in e)){const t=y.get(e.containerId);t?t.removeToast(e.id):y.forEach((t=>{t.removeToast(e.id)}))}}else m=m.filter((t=>null!=e&&t.options.toastId!==e))}(e)},P.clearWaitingQueue=function(e){void 0===e&&(e={}),y.forEach((t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()}))},P.isActive=b,P.update=function(e,t){void 0===t&&(t={});const n=((e,t)=>{var n;let{containerId:o}=t;return null==(n=y.get(o||1))?void 0:n.toasts.get(e)})(e,t);if(n){const{props:o,content:r}=n,a={delay:100,...o,...t,toastId:t.toastId||e,updateId:k()};a.toastId!==e&&(a.staleId=e);const s=a.render||r;delete a.render,S(s,a)}},P.done=e=>{P.update(e,{progress:1})},P.onChange=function(e){return g.add(e),()=>{g.delete(e)}},P.play=e=>E(!0,e),P.pause=e=>E(!1,e);const N="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,O=e=>{let{theme:t,type:n,isLoading:r,...a}=e;return o.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...a})},x={info:function(e){return o.createElement(O,{...e},o.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return o.createElement(O,{...e},o.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return o.createElement(O,{...e},o.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return o.createElement(O,{...e},o.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return o.createElement("div",{className:"Toastify__spinner"})}},A=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:s,playToast:i}=C(e),{closeButton:c,children:u,autoClose:d,onClick:f,type:p,hideProgressBar:y,closeToast:m,transition:g,position:v,className:h,style:b,bodyClassName:_,bodyStyle:E,progressClassName:T,progressStyle:$,updateId:k,role:w,progress:S,rtl:L,toastId:R,deleteToast:P,isIn:N,isLoading:O,closeOnClick:A,theme:M}=e,D=a("Toastify__toast",`Toastify__toast-theme--${M}`,`Toastify__toast--${p}`,{"Toastify__toast--rtl":L},{"Toastify__toast--close-on-click":A}),B=l(h)?h({rtl:L,position:v,type:p,defaultClassName:D}):a(D,h),j=function(e){let{theme:t,type:n,isLoading:r,icon:a}=e,s=null;const i={theme:t,type:n};return!1===a||(l(a)?s=a({...i,isLoading:r}):(0,o.isValidElement)(a)?s=(0,o.cloneElement)(a,i):r?s=x.spinner():(e=>e in x)(n)&&(s=x[n](i))),s}(e),z=!!S||!d,F={closeToast:m,type:p,theme:M};let V=null;return!1===c||(V=l(c)?c(F):(0,o.isValidElement)(c)?(0,o.cloneElement)(c,F):function(e){let{closeToast:t,theme:n,ariaLabel:r="close"}=e;return o.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":r},o.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},o.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(F)),o.createElement(g,{isIn:N,done:P,position:v,preventExitTransition:n,nodeRef:r,playToast:i},o.createElement("div",{id:R,onClick:f,"data-in":N,className:B,...s,style:b,ref:r},o.createElement("div",{...N&&{role:w},className:l(_)?_({type:p}):a("Toastify__toast-body",_),style:E},null!=j&&o.createElement("div",{className:a("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!O})},j),o.createElement("div",null,u)),V,o.createElement(I,{...k&&!z?{key:`pb-${k}`}:{},rtl:L,theme:M,delay:d,isRunning:t,isIn:N,closeToast:m,hide:y,type:p,style:$,className:T,controlledProgress:z,progress:S||0})))},M=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},D=f(M("bounce",!0)),B=f(M("slide",!0)),j=f(M("zoom")),z=f(M("flip")),F={position:"top-right",transition:D,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function V(e){let t={...F,...e};const n=e.stacked,[r,s]=(0,o.useState)(!0),i=(0,o.useRef)(null),{getToastToRender:u,isToastActive:d,count:f}=T(t),{className:p,style:y,rtl:m,containerId:g}=t;function v(e){const t=a("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":m});return l(p)?p({position:e,rtl:m,defaultClassName:t}):a(t,c(p))}function h(){n&&(s(!0),P.play())}return N((()=>{if(n){var e;const n=i.current.querySelectorAll('[data-in="true"]'),o=12,a=null==(e=t.position)?void 0:e.includes("top");let s=0,l=0;Array.from(n).reverse().forEach(((e,t)=>{const n=e;n.classList.add("Toastify__toast--stacked"),t>0&&(n.dataset.collapsed=`${r}`),n.dataset.pos||(n.dataset.pos=a?"top":"bot");const i=s*(r?.2:1)+(r?0:o*t);n.style.setProperty("--y",`${a?i:-1*i}px`),n.style.setProperty("--g",`${o}`),n.style.setProperty("--s",""+(1-(r?l:0))),s+=n.offsetHeight,l+=.025}))}}),[r,f,n]),o.createElement("div",{ref:i,className:"Toastify",id:g,onMouseEnter:()=>{n&&(s(!1),P.pause())},onMouseLeave:h},u(((e,t)=>{const r=t.length?{...y}:{...y,pointerEvents:"none"};return o.createElement("div",{className:v(e),style:r,key:`container-${e}`},t.map((e=>{let{content:t,props:r}=e;return o.createElement(A,{...r,stacked:n,collapseAll:h,isIn:d(r.toastId,r.containerId),style:r.style,key:`toast-${r.key}`},t)})))})))}}}]); \ No newline at end of file diff --git a/426.js.LICENSE.txt b/426.js.LICENSE.txt new file mode 100644 index 00000000..e9327834 --- /dev/null +++ b/426.js.LICENSE.txt @@ -0,0 +1,9 @@ +/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/540.js b/540.js new file mode 100644 index 00000000..a370afa0 --- /dev/null +++ b/540.js @@ -0,0 +1,2 @@ +/*! For license information please see 540.js.LICENSE.txt */ +"use strict";(self.webpackChunklivesplit=self.webpackChunklivesplit||[]).push([[540],{5287:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),s=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,_={};function b(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||d}function m(){}function v(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||d}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=b.prototype;var S=v.prototype=new m;S.constructor=v,h(S,b.prototype),S.isPureReactComponent=!0;var k=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,n){var o,u={},c=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(c=""+t.key),t)w.call(t,o)&&!$.hasOwnProperty(o)&&(u[o]=t[o]);var i=arguments.length-2;if(1===i)u.children=n;else if(1{e.exports=r(5287)}}]); \ No newline at end of file diff --git a/540.js.LICENSE.txt b/540.js.LICENSE.txt new file mode 100644 index 00000000..e9327834 --- /dev/null +++ b/540.js.LICENSE.txt @@ -0,0 +1,9 @@ +/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/6ccf0adaba47375248a9.woff b/6ccf0adaba47375248a9.woff new file mode 100644 index 00000000..23002f8a Binary files /dev/null and b/6ccf0adaba47375248a9.woff differ diff --git a/710.js b/710.js new file mode 100644 index 00000000..ada94742 --- /dev/null +++ b/710.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklivesplit=self.webpackChunklivesplit||[]).push([[710],{8946:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,".about{max-width:700px}.about .about-inner-container{background-color:#121212;padding:16px;border:1px solid #404040;width:fit-content}.about .about-inner-container .livesplit-title{display:flex;align-items:center}.about .about-inner-container .livesplit-title .livesplit-icon{height:40px;margin-right:8px}.about .about-inner-container .livesplit-title .livesplit-icon img{height:100%}.about .about-inner-container .livesplit-title .title-text{font-weight:bold;font-size:40px}.about .about-inner-container .build-version{font-size:12px}.about .about-inner-container h2{margin-bottom:16px}.about .about-inner-container a{color:#56b0ff}.about .about-inner-container .changelog{margin-left:16px}.about .about-inner-container .changelog>div{margin:16px 0 16px 16px}.about .about-inner-container .contributors{margin:0 auto;display:flex;flex-wrap:wrap;gap:14px;justify-content:space-evenly;align-items:end;font-size:14px}.about .about-inner-container .contributors a{display:flex;align-items:center;flex-direction:column;gap:4px}.about .about-inner-container .contributors a img{width:42px;height:42px;border-radius:50%}.is-mobile .about .about-inner-container{box-sizing:border-box}.is-mobile .about{max-width:100%}",""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},7330:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,".color-picker-button{border:2px solid #fff;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.1);cursor:pointer;box-sizing:border-box;height:19px}",""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},2858:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,"#upload-drop-zone{position:absolute;top:0;left:0;right:0;bottom:0}#upload-drop-zone #upload-drop-zone-overlay{position:absolute;width:calc(100% + 2*24px);height:calc(100% + 2*24px);margin:-24px;visibility:hidden;pointer-events:none;background-color:rgba(50,50,50,.7);z-index:3;display:flex;justify-content:center;align-items:center}.is-mobile #upload-drop-zone #upload-drop-zone-overlay{width:100%;height:100%;margin:0}#upload-drop-zone #upload-drop-zone-overlay .overlay-text{font-size:50px;text-align:center}",""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},2991:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,".hotkey-box{display:grid;grid-template-columns:1fr 30px;column-gap:8px}.hotkey-box button{margin:0px;font-size:16px;height:22px}.hotkey-box .hotkey-button.focused{color:red}",""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},8619:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,".text-font{font-family:var(--text-font-family);font-style:var(--text-font-style);font-weight:var(--text-font-weight);font-stretch:var(--text-font-stretch)}.times-font{font-family:var(--times-font-family);font-style:var(--times-font-style);font-weight:var(--times-font-weight);font-stretch:var(--times-font-stretch)}.timer-font{font-family:var(--timer-font-family);font-style:var(--timer-font-style);font-weight:var(--timer-font-weight);font-stretch:var(--timer-font-stretch)}.layout .resizable-layout{position:absolute;top:0;width:inherit;height:inherit}.layout .resizable-layout .react-resizable{width:0 !important;height:0 !important}.layout .resizable-layout .resizable-handle-east{cursor:e-resize;right:-10px;bottom:10px;top:0;position:absolute;width:20px}.layout .resizable-layout .resizable-handle-south{cursor:s-resize;bottom:-10px;left:0;right:10px;position:absolute;height:20px}.layout .resizable-layout .resizable-handle-south-east{cursor:se-resize;bottom:-10px;right:-10px;position:absolute;width:20px;height:20px}",""]),n.locals={};const a=n},390:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,'.layout-editor-outer{display:inline-flex}.layout-editor-outer .react-contextmenu{min-width:160px;padding:4px 0;margin:2px 0 0;font-size:16px;text-align:left;background-color:#0b0b0b;background-clip:padding-box;border:1px solid #404040;border-radius:.25rem;outline:none;opacity:0;pointer-events:none;transition:opacity 250ms ease !important;z-index:3}.layout-editor-outer .react-contextmenu.react-contextmenu--visible{opacity:1;pointer-events:auto}.layout-editor-outer .react-contextmenu .react-contextmenu-item{padding:4px 8px;font-weight:400;text-align:inherit;white-space:nowrap;background:0 0;border:0;cursor:pointer}.layout-editor-outer .react-contextmenu .react-contextmenu-item--divider{margin-bottom:4px;padding:4px 0 0 0;border-bottom:1px solid #404040;cursor:inherit}.layout-editor-outer .react-contextmenu .react-contextmenu-item--selected{background:linear-gradient(rgb(51, 115, 244) 0%, rgb(21, 53, 116) 100%)}.layout-editor-outer .table{box-shadow:0 1px 3px rgba(0,0,0,.2);display:table;border:1px solid #404040;border-collapse:collapse}.layout-editor-outer .table .table-row-even{display:table-row;background:#0b0b0b !important}.layout-editor-outer .table .table-row-odd{display:table-row;background:#121212 !important}.layout-editor-outer .table-body{display:table-row-group}.layout-editor-outer .table-body>tr{display:table-row;background:#0b0b0b}.layout-editor-outer .table-body>tr>td{padding:4px 4px;display:table-cell}.layout-editor-outer .table-body>tr>td:first-child{padding-left:8px}.layout-editor-outer .table-body>tr>td:last-child{padding-right:8px}.layout-editor-outer .table-body>tr:nth-of-type(odd){background:#121212}.layout-editor-outer .number{text-align:right;font-weight:bold;font-variant-numeric:tabular-nums}.layout-editor-outer .selected{background:linear-gradient(rgb(51, 115, 244) 0%, rgb(21, 53, 116) 100%) !important}.layout-editor-outer .tab-bar>button{font-size:15px;height:30px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;margin-bottom:0px;border-bottom:0px}.layout-editor-outer tr>td>input{margin-right:-40px}.layout-editor-outer tr>td>input:focus{outline:0}.layout-editor-outer input{font-size:15px;border:none;border-bottom:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,0);color:#fff;text-overflow:ellipsis;font-family:"fira",sans-serif}.layout-editor-outer input[Type=text]{font-family:inherit}.layout-editor-outer select{background:#0b0b0b;font-size:15px;border:1px solid #404040;color:#fff;text-overflow:ellipsis;font-family:"fira",sans-serif}.layout-editor-outer .settings-table{width:500px}.layout-editor-outer .settings-table tr{height:30px}.layout-editor-outer .settings-table tr td:first-child{width:100%}.layout-editor-outer .settings-table tr .settings-value-box{width:234px;display:grid;column-gap:8px;row-gap:8px;grid-template-columns:100%}.layout-editor-outer .settings-table tr .settings-value-box input{height:19px;box-sizing:border-box}.layout-editor-outer .settings-table tr .settings-value-box input:focus{outline:0}.layout-editor-outer .settings-table tr .settings-value-box select{height:19px;min-width:80px}.layout-editor-outer .settings-table tr .settings-value-box.optional-value{grid-template-columns:max-content 1fr}.layout-editor-outer .settings-table tr .settings-value-box.two-colors{grid-template-columns:1fr 45px 45px}.layout-editor-outer .settings-table tr .settings-value-box.one-color{grid-template-columns:1fr 45px}.layout-editor-outer .settings-table tr .settings-value-box.removable-string{grid-template-columns:1fr 30px}.layout-editor-outer .settings-table tr .settings-value-box.removable-string button{margin:0px;font-size:12px;height:19px}.is-mobile .layout-editor-outer .settings-table{width:100%}.layout-editor-outer .toggle-left{border-top-right-radius:0px;border-bottom-right-radius:0px}.layout-editor-outer .toggle-right{border-top-left-radius:0px;border-bottom-left-radius:0px}.layout-editor-outer .toggle-middle{border-radius:0px}.layout-editor-outer .button-pressed,.layout-editor-outer .button-pressed:hover{background:linear-gradient(hsl(0, 0%, 13%) 0%, hsl(0, 0%, 23%) 100%)}.layout-editor-outer .button-pressed.disabled{background:#222;color:#666;cursor:default}.layout-editor-outer .layout-editor-inner{width:500px;display:inline-flex;margin-bottom:8px}.layout-editor-outer .layout-editor-inner table{width:100%}.layout-editor-outer .layout-editor-inner .btn-group{display:flex;flex-direction:column}.layout-editor-outer .layout-editor-inner .btn-group button{width:40px;font-size:15px;display:block}.layout-editor-outer .layout-editor-inner .btn-group button:nth-child(1){margin-top:0}.is-mobile .layout-editor-outer .layout-editor-inner .btn-group{flex-direction:row;margin-left:8px;margin-top:8px}.is-mobile .layout-editor-outer .layout-editor-inner .btn-group button{margin:0 8px 16px 0}.is-mobile .layout-editor-outer .layout-editor-inner{flex-wrap:wrap;width:100%;margin-bottom:0}.layout-editor-outer .layout-editor-component-list{margin-left:16px}.is-mobile .layout-editor-outer .layout-editor-component-list{margin-left:0;margin-bottom:16px}.layout-editor-outer .layout-editor-component{cursor:pointer}.layout-editor-outer .layout-container{margin-left:16px}.is-mobile .layout-editor-outer .layout-container{margin-left:0;margin-top:16px}.is-mobile .layout-editor-outer{flex-wrap:wrap}.is-mobile .layout-editor-outer .layout-editor-inner-container{width:100%}.is-mobile .layout-editor-outer .layout-editor-tabs button{margin-top:0}',""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},1165:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,'.sidebar-overlay{z-index:3 !important}.sidebar{background:#1a1a1a;padding:8px;width:250px;z-index:4 !important}.sidebar .toggle-left{border-top-right-radius:0px;border-bottom-right-radius:0px}.sidebar .toggle-right{border-top-left-radius:0px;border-bottom-left-radius:0px}.sidebar .toggle-middle{border-radius:0px}.sidebar .button-pressed,.sidebar .button-pressed:hover{background:linear-gradient(hsl(0, 0%, 13%) 0%, hsl(0, 0%, 23%) 100%)}.sidebar .button-pressed.disabled{background:#222;color:#666;cursor:default}.sidebar>div>div.small>button{width:50%;font-size:18px}.sidebar .sidebar-buttons hr{border-color:#404040;margin:12px 0}.sidebar .sidebar-buttons hr.livesplit-title-separator{margin-top:0}.sidebar .sidebar-buttons h1,.sidebar .sidebar-buttons h2{text-align:center;margin-top:16px;margin-bottom:16px}.sidebar .sidebar-buttons h1{font-size:24px}.sidebar .sidebar-buttons h2{font-size:22px;margin-bottom:8px}.sidebar .sidebar-buttons>button{width:100%}.sidebar .sidebar-buttons .livesplit-title{display:flex;justify-content:center;align-items:center}.sidebar .sidebar-buttons .livesplit-title .livesplit-icon{height:40px;margin-right:8px}.sidebar .sidebar-buttons .livesplit-title .livesplit-icon img{height:100%}.sidebar .sidebar-buttons .modified-icon{position:absolute;font-size:10px;padding-left:5px}.sidebar .choose-comparison{margin-bottom:4px;padding:0 6px 0 6px;width:100%;height:40px;appearance:none;background:#171717;border:1px solid #404040;border-radius:5px;color:#fff;cursor:pointer;font-family:"fira",sans-serif;font-size:20px;text-align:center;text-overflow:ellipsis}.livesplit-container .sidebar-button{position:fixed;bottom:8px;left:8px;z-index:10;font-size:24px;padding:8px;margin:0;height:42px}.livesplit-container .view-container{position:relative;display:inline-block;vertical-align:top;min-width:calc(100% - 2*24px);min-height:calc(100% - 2*24px);margin:24px}.is-mobile .livesplit-container .view-container{display:block;margin:0 0 58px 0;min-width:100%;min-height:calc(100% - 58px)}',""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},5594:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,".livesplit-server-button{margin:0px;font-size:16px;height:22px}",""]),n.locals={};const a=n},7927:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,'.run-editor .react-contextmenu{min-width:160px;padding:4px 0;margin:2px 0 0;font-size:16px;text-align:left;background-color:#0b0b0b;background-clip:padding-box;border:1px solid #404040;border-radius:.25rem;outline:none;opacity:0;pointer-events:none;transition:opacity 250ms ease !important;z-index:3}.run-editor .react-contextmenu.react-contextmenu--visible{opacity:1;pointer-events:auto}.run-editor .react-contextmenu .react-contextmenu-item{padding:4px 8px;font-weight:400;text-align:inherit;white-space:nowrap;background:0 0;border:0;cursor:pointer}.run-editor .react-contextmenu .react-contextmenu-item--divider{margin-bottom:4px;padding:4px 0 0 0;border-bottom:1px solid #404040;cursor:inherit}.run-editor .react-contextmenu .react-contextmenu-item--selected{background:linear-gradient(rgb(51, 115, 244) 0%, rgb(21, 53, 116) 100%)}.run-editor .flag{padding-right:4px;height:14px;width:18px;object-fit:contain;vertical-align:middle}.run-editor .markdown span{line-height:125%}.run-editor .markdown img{vertical-align:middle}.run-editor code{padding:2px 4px;font-size:90%;color:#ffea80}.run-editor pre{border-radius:4px;border-color:#404040;border-style:solid;border-width:2px;padding:10px}.run-editor code,.run-editor kbd,.run-editor pre,.run-editor samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.run-editor .table{box-shadow:0 1px 3px rgba(0,0,0,.2);display:table;border:1px solid #404040;border-collapse:collapse}.run-editor .table .table-row-even{display:table-row;background:#0b0b0b !important}.run-editor .table .table-row-odd{display:table-row;background:#121212 !important}.run-editor .table-body{display:table-row-group}.run-editor .table-body>tr{display:table-row;background:#0b0b0b}.run-editor .table-body>tr>td{padding:4px 4px;display:table-cell}.run-editor .table-body>tr>td:first-child{padding-left:8px}.run-editor .table-body>tr>td:last-child{padding-right:8px}.run-editor .table-body>tr:nth-of-type(odd){background:#121212}.run-editor .number{text-align:right;font-weight:bold;font-variant-numeric:tabular-nums}.run-editor .selected{background:linear-gradient(rgb(51, 115, 244) 0%, rgb(21, 53, 116) 100%) !important}.run-editor .tab-bar>button{font-size:15px;height:30px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;margin-bottom:0px;border-bottom:0px}.run-editor tr>td>input{margin-right:-40px}.run-editor tr>td>input:focus{outline:0}.run-editor input{font-size:15px;border:none;border-bottom:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,0);color:#fff;text-overflow:ellipsis;font-family:"fira",sans-serif}.run-editor input[Type=text]{font-family:inherit}.run-editor select{background:#0b0b0b;font-size:15px;border:1px solid #404040;color:#fff;text-overflow:ellipsis;font-family:"fira",sans-serif}.run-editor .settings-table{width:500px}.run-editor .settings-table tr{height:30px}.run-editor .settings-table tr td:first-child{width:100%}.run-editor .settings-table tr .settings-value-box{width:234px;display:grid;column-gap:8px;row-gap:8px;grid-template-columns:100%}.run-editor .settings-table tr .settings-value-box input{height:19px;box-sizing:border-box}.run-editor .settings-table tr .settings-value-box input:focus{outline:0}.run-editor .settings-table tr .settings-value-box select{height:19px;min-width:80px}.run-editor .settings-table tr .settings-value-box.optional-value{grid-template-columns:max-content 1fr}.run-editor .settings-table tr .settings-value-box.two-colors{grid-template-columns:1fr 45px 45px}.run-editor .settings-table tr .settings-value-box.one-color{grid-template-columns:1fr 45px}.run-editor .settings-table tr .settings-value-box.removable-string{grid-template-columns:1fr 30px}.run-editor .settings-table tr .settings-value-box.removable-string button{margin:0px;font-size:12px;height:19px}.is-mobile .run-editor .settings-table{width:100%}.run-editor .toggle-left{border-top-right-radius:0px;border-bottom-right-radius:0px}.run-editor .toggle-right{border-top-left-radius:0px;border-bottom-left-radius:0px}.run-editor .toggle-middle{border-radius:0px}.run-editor .button-pressed,.run-editor .button-pressed:hover{background:linear-gradient(hsl(0, 0%, 13%) 0%, hsl(0, 0%, 23%) 100%)}.run-editor .button-pressed.disabled{background:#222;color:#666;cursor:default}.run-editor thead.table-header{border-bottom:solid 1px #404040}.run-editor .table-header>tr>th{font-weight:bold;text-align:center}.run-editor .table-header>tr>th:nth-child(1):after{margin:0;margin-left:-4px;margin-right:7px}.run-editor .table>.table-header>tr{display:table-row;background:#090909}.run-editor .table>.table-header>tr>th{padding:4px 4px;display:table-cell}.run-editor .table>.table-header>tr>th:first-child{padding-left:8px}.run-editor .table>.table-header>tr>th:last-child{padding-right:8px}.run-editor .run-editor-additional-info{box-shadow:0 1px 3px rgba(0,0,0,.2);background-color:#121212;width:625px}.run-editor .run-editor-additional-info .run-editor-rules{padding-left:8px;padding-right:8px;border:1px solid #404040;border-collapse:collapse}.run-editor .run-editor-tab{margin-left:8px;min-width:625px;box-sizing:border-box}.run-editor .run-editor-tab .settings-table{width:100%}.is-mobile .run-editor .run-editor-tab{width:100%;min-width:0;margin-left:0}.run-editor .video-outer-container{width:100%;padding-top:56.25%;margin-top:4px;position:relative}.run-editor .video-outer-container .video-inner-container{width:100%;height:100%;position:absolute;top:0}.run-editor .video-outer-container .video-inner-container iframe{width:100%;height:100%}.run-editor .run-editor-info{display:inline-flex;align-items:flex-start;margin-bottom:12px}.run-editor .run-editor-info .game-icon-container{background-color:#121212;border:1px solid #404040;cursor:pointer;box-sizing:border-box;width:160px;height:160px;padding:8px}.run-editor .run-editor-info .game-icon-container .game-icon-image{object-fit:contain;width:144px;height:144px}.is-mobile .run-editor .run-editor-info .game-icon-container .game-icon-image{width:84px;height:84px}.is-mobile .run-editor .run-editor-info .game-icon-container{width:100px;height:100px;flex-shrink:0}.run-editor .run-editor-info .run-editor-info-table{margin-left:16px;width:625px;display:flex;flex-wrap:wrap}.run-editor .run-editor-info .run-editor-info-table .info-table-row{flex-grow:1;width:100%;display:flex}.run-editor .run-editor-info .run-editor-info-table .info-table-row .info-table-cell{padding:0 8px 8px 0;flex-grow:1}.run-editor .run-editor-info .run-editor-info-table .info-table-row .info-table-cell:last-child{padding-right:0}.is-mobile .run-editor .run-editor-info .run-editor-info-table .info-table-row .info-table-cell:last-child{padding-right:8px}.is-mobile .run-editor .run-editor-info .run-editor-info-table .info-table-row{flex-wrap:wrap}.run-editor .run-editor-info .run-editor-info-table .info-table-row:last-child .info-table-cell{padding-bottom:0}.is-mobile .run-editor .run-editor-info .run-editor-info-table .info-table-row:last-child .info-table-cell{padding-bottom:8px}.is-mobile .run-editor .run-editor-info .run-editor-info-table{width:100%;margin-left:8px;margin-bottom:8px}.is-mobile .run-editor .run-editor-info{margin:8px 0 0 8px}.run-editor table.run-editor-table .number{font-family:inherit}.run-editor table.run-editor-table td{overflow:hidden}.run-editor table.run-editor-table td>input{width:100%;text-overflow:ellipsis}.is-mobile .run-editor table.run-editor-table td>input{font-size:13px}.run-editor table.run-editor-table td.segment-icon-container{width:19px;cursor:pointer}.run-editor table.run-editor-table td.segment-icon-container div{height:19px}.run-editor table.run-editor-table td.segment-icon-container div .segment-icon{width:100%;height:100%;object-fit:contain}.is-mobile .run-editor table.run-editor-table{font-size:13px}.run-editor .bottom-section{display:flex;flex-wrap:wrap}.run-editor .bottom-section .editor-group .tab-bar{margin-left:8px;height:34px}.is-mobile .run-editor .bottom-section .editor-group .tab-bar{height:inherit;margin-left:0}.is-mobile .run-editor .bottom-section .editor-group .tab-bar button{font-size:13px;padding:1px 3px 1px 3px;margin-top:0}.is-mobile .run-editor .bottom-section .editor-group{min-width:100%;margin-top:8px}.is-mobile .run-editor .bottom-section .side-buttons{width:100%}.run-editor .btn-group{display:flex;flex-direction:column;margin-top:34px;margin-right:8px;width:160px}.run-editor .btn-group button{font-size:15px;width:160px;margin-right:0;height:30px}.is-mobile .run-editor .btn-group button{margin-top:0;margin-bottom:8px;margin-right:8px;width:calc(50% - 8px)}.run-editor .btn-group button:nth-child(1){margin-top:0}.is-mobile .run-editor .btn-group{width:calc(100% - 8px);flex-direction:row;flex-wrap:wrap;margin-top:0;margin-left:8px}.run-editor .best-segment-time{color:#ffd500}.run-editor .leaderboard-table .leaderboard-row:hover{background:#404040 !important}.run-editor .leaderboard-table .leaderboard-rank-column,.run-editor .leaderboard-table .splits-download-column{width:36px}.run-editor .leaderboard-table .leaderboard-time-column,.run-editor .leaderboard-table .variable-column{width:100px}.run-editor .leaderboard-table .variable-column,.run-editor .leaderboard-table .splits-download-column{text-align:center}.run-editor .leaderboard-table .leaderboard-expanded-row>td{max-width:0}.run-editor .leaderboard-table .leaderboard-expanded-row .run-meta-table{border-spacing:8px 2px;margin-left:-8px}.run-editor .leaderboard-table .unregistered-user{font-style:italic;color:silver}.is-mobile .run-editor .leaderboard-table{font-size:13px}.run-editor .group{position:relative;border-bottom:1px solid #404040}.run-editor .group>input{font-size:18px;padding:22px 0 4px 4px;display:block;width:100%;border:none;background:rgba(0,0,0,0);color:#fff;font-family:"fira",sans-serif}.run-editor .group>input:focus{outline:none}.run-editor .group>label{color:#bfbfbf;font-size:14px;font-weight:normal;position:absolute;pointer-events:none;left:4px;top:0;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}.run-editor .group>input:focus~label{color:#ffd500}.run-editor .group.invalid>input:focus~label{color:red}.run-editor .group>.bar{position:relative;display:block;width:100%}.run-editor .group>.bar:before,.run-editor .group>.bar:after{content:"";height:2px;width:0;bottom:0px;position:absolute;background:#ffd500;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}.run-editor .group>.bar:before{left:50%}.run-editor .group>.bar:after{right:50%}.run-editor .group.invalid>.bar:before,.run-editor .group.invalid>.bar:after{background:red}.run-editor .group>input:focus~.bar:before,.run-editor .group>input:focus~.bar:after{width:50%}.run-editor .filter-table{margin-top:4px;margin-bottom:4px;width:100%}.run-editor .filter-table.table td{padding:4px 8px}.run-editor .filter-table.table tr:first-child>td{padding-top:8px}.run-editor .filter-table.table tr:last-child>td{padding-bottom:8px}.run-editor .filter-table.table>tbody.table-body>tr{background-color:#121212}.run-editor .filter-table.table>thead.table-header>tr{background-color:#090909}.run-editor .filter-table.table.subcategory-table>tbody>tr{border:1px solid #404040;text-align:center;cursor:pointer}.run-editor .filter-table.table.subcategory-table tr:first-child>td{padding-top:4px}.run-editor .filter-table.table.subcategory-table tr:last-child>td{padding-bottom:4px}.run-editor .filter-table.table.subcategory-table>tbody.table-body>tr>td:hover{background:#404040}.run-editor .filter-table.table.subcategory-table>tbody.table-body>tr>td.selected:hover{background:linear-gradient(hsl(220, 90%, 70%) 0%, hsl(220, 69%, 40%) 100%) !important}.is-mobile .run-editor .filter-table{margin:0 0 8px -8px;width:calc(100% + 8px)}',""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},4229:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,'.settings-editor .table{box-shadow:0 1px 3px rgba(0,0,0,.2);display:table;border:1px solid #404040;border-collapse:collapse}.settings-editor .table .table-row-even{display:table-row;background:#0b0b0b !important}.settings-editor .table .table-row-odd{display:table-row;background:#121212 !important}.settings-editor .table-body{display:table-row-group}.settings-editor .table-body>tr{display:table-row;background:#0b0b0b}.settings-editor .table-body>tr>td{padding:4px 4px;display:table-cell}.settings-editor .table-body>tr>td:first-child{padding-left:8px}.settings-editor .table-body>tr>td:last-child{padding-right:8px}.settings-editor .table-body>tr:nth-of-type(odd){background:#121212}.settings-editor .number{text-align:right;font-weight:bold;font-variant-numeric:tabular-nums}.settings-editor .selected{background:linear-gradient(rgb(51, 115, 244) 0%, rgb(21, 53, 116) 100%) !important}.settings-editor .tab-bar>button{font-size:15px;height:30px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;margin-bottom:0px;border-bottom:0px}.settings-editor tr>td>input{margin-right:-40px}.settings-editor tr>td>input:focus{outline:0}.settings-editor input{font-size:15px;border:none;border-bottom:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,0);color:#fff;text-overflow:ellipsis;font-family:"fira",sans-serif}.settings-editor input[Type=text]{font-family:inherit}.settings-editor select{background:#0b0b0b;font-size:15px;border:1px solid #404040;color:#fff;text-overflow:ellipsis;font-family:"fira",sans-serif}.settings-editor .settings-table{width:500px}.settings-editor .settings-table tr{height:30px}.settings-editor .settings-table tr td:first-child{width:100%}.settings-editor .settings-table tr .settings-value-box{width:234px;display:grid;column-gap:8px;row-gap:8px;grid-template-columns:100%}.settings-editor .settings-table tr .settings-value-box input{height:19px;box-sizing:border-box}.settings-editor .settings-table tr .settings-value-box input:focus{outline:0}.settings-editor .settings-table tr .settings-value-box select{height:19px;min-width:80px}.settings-editor .settings-table tr .settings-value-box.optional-value{grid-template-columns:max-content 1fr}.settings-editor .settings-table tr .settings-value-box.two-colors{grid-template-columns:1fr 45px 45px}.settings-editor .settings-table tr .settings-value-box.one-color{grid-template-columns:1fr 45px}.settings-editor .settings-table tr .settings-value-box.removable-string{grid-template-columns:1fr 30px}.settings-editor .settings-table tr .settings-value-box.removable-string button{margin:0px;font-size:12px;height:19px}.is-mobile .settings-editor .settings-table{width:100%}.is-mobile .settings-editor .settings-table{width:100%}.is-mobile .settings-editor .settings-table>tbody>tr>td:nth-child(1){width:50%}',""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},3962:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,".splits-selection .loading{display:flex;width:fit-content;font-size:40px}.splits-selection .loading .loading-text{margin-left:8px}.splits-selection .splits-selection-container{display:flex;flex-wrap:nowrap;flex-direction:column}.splits-selection .splits-selection-container .main-actions{display:flex;justify-content:flex-start}.splits-selection .splits-selection-container .main-actions button{margin-top:0;margin-bottom:8px;margin-right:8px}.is-mobile .splits-selection .splits-selection-container .main-actions{margin-top:8px;margin-left:8px}.splits-selection .splits-selection-container .splits-table{background-color:#0b0b0b;border:1px solid #404040;margin:8px 0;width:fit-content}.splits-selection .splits-selection-container .splits-table .splits-row{display:flex;flex-wrap:nowrap;align-items:center;padding:8px;height:40px;width:500px}.splits-selection .splits-selection-container .splits-table .splits-row:nth-of-type(odd){background-color:#121212}.splits-selection .splits-selection-container .splits-table .splits-row.selected{background:linear-gradient(rgb(51, 115, 244) 0%, rgb(21, 53, 116) 100%)}.splits-selection .splits-selection-container .splits-table .splits-row .splits-title-text{flex-grow:1;overflow:hidden}.splits-selection .splits-selection-container .splits-table .splits-row .splits-title-text .splits-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.splits-selection .splits-selection-container .splits-table .splits-row .splits-title-text .splits-text.splits-game{margin-bottom:8px}.splits-selection .splits-selection-container .splits-table .splits-row.selected .splits-row-buttons button{opacity:70%}.splits-selection .splits-selection-container .splits-table .splits-row .splits-row-buttons{flex-shrink:0;margin-left:16px}.splits-selection .splits-selection-container .splits-table .splits-row .splits-row-buttons .react-contextmenu{min-width:160px;padding:4px 0;margin:2px 0 0;font-size:16px;text-align:left;background-color:#0b0b0b;background-clip:padding-box;border:1px solid #404040;border-radius:.25rem;outline:none;opacity:0;pointer-events:none;transition:opacity 250ms ease !important;z-index:3}.splits-selection .splits-selection-container .splits-table .splits-row .splits-row-buttons .react-contextmenu.react-contextmenu--visible{opacity:1;pointer-events:auto}.splits-selection .splits-selection-container .splits-table .splits-row .splits-row-buttons .react-contextmenu .react-contextmenu-item{padding:4px 8px;font-weight:400;text-align:inherit;white-space:nowrap;background:0 0;border:0;cursor:pointer}.splits-selection .splits-selection-container .splits-table .splits-row .splits-row-buttons .react-contextmenu .react-contextmenu-item--divider{margin-bottom:4px;padding:4px 0 0 0;border-bottom:1px solid #404040;cursor:inherit}.splits-selection .splits-selection-container .splits-table .splits-row .splits-row-buttons .react-contextmenu .react-contextmenu-item--selected{background:linear-gradient(rgb(51, 115, 244) 0%, rgb(21, 53, 116) 100%)}.splits-selection .splits-selection-container .splits-table .splits-row .splits-row-buttons button{background:rgba(0,0,0,0);border:0;opacity:50%;margin:0;transition:.3s;color:#fff}.splits-selection .splits-selection-container .splits-table .splits-row .splits-row-buttons button:hover{opacity:100%}.splits-selection .splits-selection-container .splits-table .splits-row .splits-row-buttons button:not(:last-child){margin-right:8px}.is-mobile .splits-selection .splits-selection-container .splits-table .splits-row{width:100%;box-sizing:border-box;height:56px}.is-mobile .splits-selection .splits-selection-container .splits-table{width:100%;box-sizing:border-box}",""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},8331:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,'.buttons{margin-top:12px}.buttons .small button{width:calc(50% - 4px);max-width:300px}.buttons .small button:first-child{margin-right:4px}.buttons .small button:last-child{margin-left:4px}.buttons .manual-game-time{width:calc(100% - 4px);max-width:604px;color:#eee;background-color:rgba(0,0,0,0);border:none;border-bottom:2px solid #aaa;text-align:right;font-family:"fira",sans-serif;font-weight:bold;font-size:25px;height:25px}.buttons .manual-game-time:focus{outline:none}.buttons .manual-game-time::placeholder{font-size:15px}.is-mobile .buttons{padding:0 8px;width:calc(100% - 16px) !important}',""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},6796:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,".toggle-checkbox{display:flex;justify-content:center;align-items:center}.toggle-checkbox .react-toggle .react-toggle-track{background:#222;width:36px;height:19px;border-radius:20px}.toggle-checkbox .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track{background:#404040}.toggle-checkbox .react-toggle--checked .react-toggle-track{background:#1e4491}.toggle-checkbox .react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track{background:#2356bd}.toggle-checkbox .react-toggle--checked .react-toggle-thumb{left:18px}.toggle-checkbox .react-toggle .react-toggle-thumb{width:17px;height:17px;border:none;box-shadow:none !important}",""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},1072:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,".tooltip{position:relative}.tooltip .tooltip-text{visibility:hidden;width:300px;background-color:#1a1a1a;border:1px solid #404040;color:#fff;text-align:center;border-radius:6px;padding:8px;position:absolute;z-index:1;bottom:calc(100% + 8px);left:50%;margin-left:-150px;opacity:0;transition:opacity .25s;transition-delay:.25s;text-wrap:initial;font-weight:initial}.is-mobile .tooltip .tooltip-text{left:0;margin-left:0}.react-contextmenu-item.tooltip .tooltip-text{bottom:initial;left:calc(100% + 8px);margin-left:0;top:0}.tooltip:hover .tooltip-text{visibility:visible;opacity:1}",""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},6654:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(1601),r=s.n(i),o=s(6314),n=s.n(o)()(r());n.push([t.id,"",""]),n.locals={buttonHeight:"40px",largeMargin:"16px",manualGameTimeHeight:"25px",contributorAvatarSize:"42px"};const a=n},3152:(t,e,s)=>{s.r(e),s.d(e,{LiveSplit:()=>Po,MenuKind:()=>Do,hotkeySystem:()=>Oo});var i=s(6540),r=s(7884),o=s(8046),n=s(4862);(0,n.lI)(o);var a=function(t,e,s){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var i;if(s){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose]}if("function"!=typeof i)throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:i,async:s})}else s&&t.stack.push({async:!0});return e},l=function(t){return function(e){function s(s){e.error=e.hasError?new t(s,e.error,"An error was suppressed during disposal."):s,e.hasError=!0}return function t(){for(;e.stack.length;){var i=e.stack.pop();try{var r=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(r).then(t,(function(e){return s(e),t()}))}catch(t){s(t)}}if(e.hasError)throw e.error}()}}("function"==typeof SuppressedError?SuppressedError:function(t,e,s){var i=new Error(s);return i.name="SuppressedError",i.error=t,i.suppressed=e,i});const p=new TextEncoder,d=new TextDecoder;function c(t){const e=t.length,s=o.alloc(e);return new Uint8Array(o.memory.buffer,s,e).set(t),{ptr:s,len:e,cap:e}}function h(t){const e=3*t.length+1,s=o.alloc(e),i=new Uint8Array(o.memory.buffer,s,e),r=p.encodeInto(t,i);return i[r.written]=0,{ptr:s,len:r.written,cap:e}}function u(t){const e=new Uint8Array(o.memory.buffer),s=o.get_buf_len();return e.slice(t,t+s)}function m(t){return d.decode(u(t))}function g(t){o.dealloc(t.ptr,t.cap)}var f,b;!function(t){t[t.RealTime=0]="RealTime",t[t.GameTime=1]="GameTime"}(f||(f={})),function(t){t[t.NotRunning=0]="NotRunning",t[t.Running=1]="Running",t[t.Ended=2]="Ended",t[t.Paused=3]="Paused"}(b||(b={}));Symbol.dispose;class w{ptr;isSynchronized(){if(0==this.ptr)throw"this is disposed";return 0!=o.AtomicDateTime_is_synchronized(this.ptr)}toRfc3339(){if(0==this.ptr)throw"this is disposed";return m(o.AtomicDateTime_to_rfc3339(this.ptr))}constructor(t){this.ptr=t}}class y extends w{}class v extends y{[Symbol.dispose](){0!=this.ptr&&(o.AtomicDateTime_drop(this.ptr),this.ptr=0)}}class S{ptr;index(){if(0==this.ptr)throw"this is disposed";return o.Attempt_index(this.ptr)}time(){if(0==this.ptr)throw"this is disposed";return new Ke(o.Attempt_time(this.ptr))}pauseTime(){if(0==this.ptr)throw"this is disposed";const t=new Qe(o.Attempt_pause_time(this.ptr));return 0==t.ptr?null:t}started(){if(0==this.ptr)throw"this is disposed";const t=new v(o.Attempt_started(this.ptr));return 0==t.ptr?null:t}ended(){if(0==this.ptr)throw"this is disposed";const t=new v(o.Attempt_ended(this.ptr));return 0==t.ptr?null:t}constructor(t){this.ptr=t}}Symbol.dispose;Symbol.dispose;class x{ptr;constructor(t){this.ptr=t}}class _ extends x{stateAsJson(){if(0==this.ptr)throw"this is disposed";const t=o.BlankSpaceComponent_state_as_json(this.ptr);return JSON.parse(m(t))}state(){if(0==this.ptr)throw"this is disposed";return new T(o.BlankSpaceComponent_state(this.ptr))}}class E extends _{[Symbol.dispose](){0!=this.ptr&&(o.BlankSpaceComponent_drop(this.ptr),this.ptr=0)}static new(){return new E(o.BlankSpaceComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.BlankSpaceComponent_into_generic(this.ptr));return this.ptr=0,t}}class C{ptr;size(){if(0==this.ptr)throw"this is disposed";return o.BlankSpaceComponentState_size(this.ptr)}constructor(t){this.ptr=t}}class k extends C{}class T extends k{[Symbol.dispose](){0!=this.ptr&&(o.BlankSpaceComponentState_drop(this.ptr),this.ptr=0)}}class N{ptr;constructor(t){this.ptr=t}}class A extends N{}class R extends A{[Symbol.dispose](){0!=this.ptr&&(o.Component_drop(this.ptr),this.ptr=0)}}class L{ptr;constructor(t){this.ptr=t}}class D extends L{stateAsJson(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";const e=o.CurrentComparisonComponent_state_as_json(this.ptr,t.ptr);return JSON.parse(m(e))}state(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";return new gt(o.CurrentComparisonComponent_state(this.ptr,t.ptr))}}class O extends D{[Symbol.dispose](){0!=this.ptr&&(o.CurrentComparisonComponent_drop(this.ptr),this.ptr=0)}static new(){return new O(o.CurrentComparisonComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.CurrentComparisonComponent_into_generic(this.ptr));return this.ptr=0,t}}class P{ptr;constructor(t){this.ptr=t}}class I extends P{stateAsJson(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";const e=o.CurrentPaceComponent_state_as_json(this.ptr,t.ptr);return JSON.parse(m(e))}state(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";return new gt(o.CurrentPaceComponent_state(this.ptr,t.ptr))}}class V extends I{[Symbol.dispose](){0!=this.ptr&&(o.CurrentPaceComponent_drop(this.ptr),this.ptr=0)}static new(){return new V(o.CurrentPaceComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.CurrentPaceComponent_into_generic(this.ptr));return this.ptr=0,t}}class B{ptr;constructor(t){this.ptr=t}}class z extends B{stateAsJson(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";if(0==e.ptr)throw"layoutSettings is disposed";const s=o.DeltaComponent_state_as_json(this.ptr,t.ptr,e.ptr);return JSON.parse(m(s))}state(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";if(0==e.ptr)throw"layoutSettings is disposed";return new gt(o.DeltaComponent_state(this.ptr,t.ptr,e.ptr))}}class G extends z{[Symbol.dispose](){0!=this.ptr&&(o.DeltaComponent_drop(this.ptr),this.ptr=0)}static new(){return new G(o.DeltaComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.DeltaComponent_into_generic(this.ptr));return this.ptr=0,t}}class U{ptr;constructor(t){this.ptr=t}}class M extends U{stateAsJson(t,e,s){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";if(0==e.ptr)throw"timer is disposed";if(0==s.ptr)throw"layoutSettings is disposed";const i=o.DetailedTimerComponent_state_as_json(this.ptr,t.ptr,e.ptr,s.ptr);return JSON.parse(m(i))}state(t,e,s){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";if(0==e.ptr)throw"timer is disposed";if(0==s.ptr)throw"layoutSettings is disposed";return new j(o.DetailedTimerComponent_state(this.ptr,t.ptr,e.ptr,s.ptr))}}class F extends M{[Symbol.dispose](){0!=this.ptr&&(o.DetailedTimerComponent_drop(this.ptr),this.ptr=0)}static new(){return new F(o.DetailedTimerComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.DetailedTimerComponent_into_generic(this.ptr));return this.ptr=0,t}}class H{ptr;timerTime(){if(0==this.ptr)throw"this is disposed";return m(o.DetailedTimerComponentState_timer_time(this.ptr))}timerFraction(){if(0==this.ptr)throw"this is disposed";return m(o.DetailedTimerComponentState_timer_fraction(this.ptr))}timerSemanticColor(){if(0==this.ptr)throw"this is disposed";return m(o.DetailedTimerComponentState_timer_semantic_color(this.ptr))}segmentTimerTime(){if(0==this.ptr)throw"this is disposed";return m(o.DetailedTimerComponentState_segment_timer_time(this.ptr))}segmentTimerFraction(){if(0==this.ptr)throw"this is disposed";return m(o.DetailedTimerComponentState_segment_timer_fraction(this.ptr))}comparison1Visible(){if(0==this.ptr)throw"this is disposed";return 0!=o.DetailedTimerComponentState_comparison1_visible(this.ptr)}comparison1Name(){if(0==this.ptr)throw"this is disposed";return m(o.DetailedTimerComponentState_comparison1_name(this.ptr))}comparison1Time(){if(0==this.ptr)throw"this is disposed";return m(o.DetailedTimerComponentState_comparison1_time(this.ptr))}comparison2Visible(){if(0==this.ptr)throw"this is disposed";return 0!=o.DetailedTimerComponentState_comparison2_visible(this.ptr)}comparison2Name(){if(0==this.ptr)throw"this is disposed";return m(o.DetailedTimerComponentState_comparison2_name(this.ptr))}comparison2Time(){if(0==this.ptr)throw"this is disposed";return m(o.DetailedTimerComponentState_comparison2_time(this.ptr))}icon(){if(0==this.ptr)throw"this is disposed";return m(o.DetailedTimerComponentState_icon(this.ptr))}segmentName(){if(0==this.ptr)throw"this is disposed";const t=o.DetailedTimerComponentState_segment_name(this.ptr);return 0==t?null:m(t)}constructor(t){this.ptr=t}}class W extends H{}class j extends W{[Symbol.dispose](){0!=this.ptr&&(o.DetailedTimerComponentState_drop(this.ptr),this.ptr=0)}}class J{ptr;constructor(t){this.ptr=t}}class $ extends J{}class K extends ${[Symbol.dispose](){0!=this.ptr&&(o.EventSink_drop(this.ptr),this.ptr=0)}static fromTimer(t){if(0==t.ptr)throw"timer is disposed";const e=new K(o.EventSink_from_timer(t.ptr));return t.ptr=0,e}}class q{ptr;search(t,e){if(0==this.ptr)throw"this is disposed";const s=h(t),i=o.FuzzyList_search(this.ptr,s.ptr,e);return g(s),JSON.parse(m(i))}constructor(t){this.ptr=t}}class Y extends q{push(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.FuzzyList_push(this.ptr,e.ptr),g(e)}}class Q extends Y{[Symbol.dispose](){0!=this.ptr&&(o.FuzzyList_drop(this.ptr),this.ptr=0)}static new(){return new Q(o.FuzzyList_new())}}Symbol.dispose;class Z{ptr;stateAsJson(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";if(0==e.ptr)throw"layoutSettings is disposed";const s=o.GraphComponent_state_as_json(this.ptr,t.ptr,e.ptr);return JSON.parse(m(s))}state(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";if(0==e.ptr)throw"layoutSettings is disposed";return new it(o.GraphComponent_state(this.ptr,t.ptr,e.ptr))}constructor(t){this.ptr=t}}class X extends Z{}class tt extends X{[Symbol.dispose](){0!=this.ptr&&(o.GraphComponent_drop(this.ptr),this.ptr=0)}static new(){return new tt(o.GraphComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.GraphComponent_into_generic(this.ptr));return this.ptr=0,t}}class et{ptr;pointsLen(){if(0==this.ptr)throw"this is disposed";return o.GraphComponentState_points_len(this.ptr)}pointX(t){if(0==this.ptr)throw"this is disposed";return o.GraphComponentState_point_x(this.ptr,t)}pointY(t){if(0==this.ptr)throw"this is disposed";return o.GraphComponentState_point_y(this.ptr,t)}pointIsBestSegment(t){if(0==this.ptr)throw"this is disposed";return 0!=o.GraphComponentState_point_is_best_segment(this.ptr,t)}horizontalGridLinesLen(){if(0==this.ptr)throw"this is disposed";return o.GraphComponentState_horizontal_grid_lines_len(this.ptr)}horizontalGridLine(t){if(0==this.ptr)throw"this is disposed";return o.GraphComponentState_horizontal_grid_line(this.ptr,t)}verticalGridLinesLen(){if(0==this.ptr)throw"this is disposed";return o.GraphComponentState_vertical_grid_lines_len(this.ptr)}verticalGridLine(t){if(0==this.ptr)throw"this is disposed";return o.GraphComponentState_vertical_grid_line(this.ptr,t)}middle(){if(0==this.ptr)throw"this is disposed";return o.GraphComponentState_middle(this.ptr)}isLiveDeltaActive(){if(0==this.ptr)throw"this is disposed";return 0!=o.GraphComponentState_is_live_delta_active(this.ptr)}isFlipped(){if(0==this.ptr)throw"this is disposed";return 0!=o.GraphComponentState_is_flipped(this.ptr)}constructor(t){this.ptr=t}}class st extends et{}class it extends st{[Symbol.dispose](){0!=this.ptr&&(o.GraphComponentState_drop(this.ptr),this.ptr=0)}}class rt{ptr;settingsDescriptionAsJson(){if(0==this.ptr)throw"this is disposed";const t=o.HotkeyConfig_settings_description_as_json(this.ptr);return JSON.parse(m(t))}asJson(){if(0==this.ptr)throw"this is disposed";const t=o.HotkeyConfig_as_json(this.ptr);return JSON.parse(m(t))}constructor(t){this.ptr=t}}class ot extends rt{setValue(t,e){if(0==this.ptr)throw"this is disposed";if(0==e.ptr)throw"value is disposed";const s=0!=o.HotkeyConfig_set_value(this.ptr,t,e.ptr);return e.ptr=0,s}}class nt extends ot{[Symbol.dispose](){0!=this.ptr&&(o.HotkeyConfig_drop(this.ptr),this.ptr=0)}static new(){return new nt(o.HotkeyConfig_new())}static parseJson(t){const e=h(JSON.stringify(t)),s=new nt(o.HotkeyConfig_parse_json(e.ptr));return g(e),0==s.ptr?null:s}}class at{ptr;config(){if(0==this.ptr)throw"this is disposed";return new nt(o.HotkeySystem_config(this.ptr))}resolve(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=o.HotkeySystem_resolve(this.ptr,e.ptr);return g(e),m(s)}constructor(t){this.ptr=t}}class lt extends at{deactivate(){if(0==this.ptr)throw"this is disposed";return 0!=o.HotkeySystem_deactivate(this.ptr)}activate(){if(0==this.ptr)throw"this is disposed";return 0!=o.HotkeySystem_activate(this.ptr)}setConfig(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"config is disposed";const e=0!=o.HotkeySystem_set_config(this.ptr,t.ptr);return t.ptr=0,e}}class pt extends lt{[Symbol.dispose](){0!=this.ptr&&(o.HotkeySystem_drop(this.ptr),this.ptr=0)}static new(t){if(0==t.ptr)throw"eventSink is disposed";const e=new pt(o.HotkeySystem_new(t.ptr));return 0==e.ptr?null:e}static withConfig(t,e){if(0==t.ptr)throw"eventSink is disposed";if(0==e.ptr)throw"config is disposed";const s=new pt(o.HotkeySystem_with_config(t.ptr,e.ptr));return e.ptr=0,0==s.ptr?null:s}}class dt{ptr;lookupDataPtr(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=o.ImageCache_lookup_data_ptr(this.ptr,e.ptr);return g(e),s}lookupDataLen(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=o.ImageCache_lookup_data_len(this.ptr,e.ptr);return g(e),s}lookupData(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=o.ImageCache_lookup_data_ptr(this.ptr,e.ptr),i=o.ImageCache_lookup_data_len(this.ptr,e.ptr);if(g(e),0!==s)return function(t,e){return new Uint8Array(o.memory.buffer).slice(t,t+e)}(s,i)}constructor(t){this.ptr=t}}class ct extends dt{cache(t,e,s){if(0==this.ptr)throw"this is disposed";return m(o.ImageCache_cache(this.ptr,t,e,s?1:0))}collect(){if(0==this.ptr)throw"this is disposed";return o.ImageCache_collect(this.ptr)}cacheFromArray(t,e){const s=c(t),i=this.cache(s.ptr,s.len,e);return g(s),i}}class ht extends ct{[Symbol.dispose](){0!=this.ptr&&(o.ImageCache_drop(this.ptr),this.ptr=0)}static new(){return new ht(o.ImageCache_new())}}class ut{ptr;key(){if(0==this.ptr)throw"this is disposed";return m(o.KeyValueComponentState_key(this.ptr))}value(){if(0==this.ptr)throw"this is disposed";return m(o.KeyValueComponentState_value(this.ptr))}semanticColor(){if(0==this.ptr)throw"this is disposed";return m(o.KeyValueComponentState_semantic_color(this.ptr))}constructor(t){this.ptr=t}}class mt extends ut{}class gt extends mt{[Symbol.dispose](){0!=this.ptr&&(o.KeyValueComponentState_drop(this.ptr),this.ptr=0)}}class ft{ptr;clone(){if(0==this.ptr)throw"this is disposed";return new wt(o.Layout_clone(this.ptr))}settingsAsJson(){if(0==this.ptr)throw"this is disposed";const t=o.Layout_settings_as_json(this.ptr);return JSON.parse(m(t))}constructor(t){this.ptr=t}}class bt extends ft{state(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";if(0==e.ptr)throw"timer is disposed";return new Tt(o.Layout_state(this.ptr,t.ptr,e.ptr))}updateState(t,e,s){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"state is disposed";if(0==e.ptr)throw"imageCache is disposed";if(0==s.ptr)throw"timer is disposed";o.Layout_update_state(this.ptr,t.ptr,e.ptr,s.ptr)}updateStateAsJson(t,e,s){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"state is disposed";if(0==e.ptr)throw"imageCache is disposed";if(0==s.ptr)throw"timer is disposed";const i=o.Layout_update_state_as_json(this.ptr,t.ptr,e.ptr,s.ptr);return JSON.parse(m(i))}stateAsJson(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";if(0==e.ptr)throw"timer is disposed";const s=o.Layout_state_as_json(this.ptr,t.ptr,e.ptr);return JSON.parse(m(s))}push(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"component is disposed";o.Layout_push(this.ptr,t.ptr),t.ptr=0}scrollUp(){if(0==this.ptr)throw"this is disposed";o.Layout_scroll_up(this.ptr)}scrollDown(){if(0==this.ptr)throw"this is disposed";o.Layout_scroll_down(this.ptr)}}class wt extends bt{[Symbol.dispose](){0!=this.ptr&&(o.Layout_drop(this.ptr),this.ptr=0)}static new(){return new wt(o.Layout_new())}static defaultLayout(){return new wt(o.Layout_default_layout())}static parseJson(t){const e=h(JSON.stringify(t)),s=new wt(o.Layout_parse_json(e.ptr));return g(e),0==s.ptr?null:s}static parseOriginalLivesplit(t,e){const s=new wt(o.Layout_parse_original_livesplit(t,e));return 0==s.ptr?null:s}static parseOriginalLivesplitArray(t){const e=c(t),s=wt.parseOriginalLivesplit(e.ptr,e.len);return g(e),s}static parseOriginalLivesplitString(t){const e=h(t),s=wt.parseOriginalLivesplit(e.ptr,e.len);return g(e),s}}class yt{ptr;stateAsJson(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";const e=o.LayoutEditor_state_as_json(this.ptr,t.ptr);return JSON.parse(m(e))}state(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";return new Et(o.LayoutEditor_state(this.ptr,t.ptr))}constructor(t){this.ptr=t}}class vt extends yt{layoutStateAsJson(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";if(0==e.ptr)throw"timer is disposed";const s=o.LayoutEditor_layout_state_as_json(this.ptr,t.ptr,e.ptr);return JSON.parse(m(s))}updateLayoutState(t,e,s){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"state is disposed";if(0==e.ptr)throw"imageCache is disposed";if(0==s.ptr)throw"timer is disposed";o.LayoutEditor_update_layout_state(this.ptr,t.ptr,e.ptr,s.ptr)}updateLayoutStateAsJson(t,e,s){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"state is disposed";if(0==e.ptr)throw"imageCache is disposed";if(0==s.ptr)throw"timer is disposed";const i=o.LayoutEditor_update_layout_state_as_json(this.ptr,t.ptr,e.ptr,s.ptr);return JSON.parse(m(i))}select(t){if(0==this.ptr)throw"this is disposed";o.LayoutEditor_select(this.ptr,t)}addComponent(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"component is disposed";o.LayoutEditor_add_component(this.ptr,t.ptr),t.ptr=0}removeComponent(){if(0==this.ptr)throw"this is disposed";o.LayoutEditor_remove_component(this.ptr)}moveComponentUp(){if(0==this.ptr)throw"this is disposed";o.LayoutEditor_move_component_up(this.ptr)}moveComponentDown(){if(0==this.ptr)throw"this is disposed";o.LayoutEditor_move_component_down(this.ptr)}moveComponent(t){if(0==this.ptr)throw"this is disposed";o.LayoutEditor_move_component(this.ptr,t)}duplicateComponent(){if(0==this.ptr)throw"this is disposed";o.LayoutEditor_duplicate_component(this.ptr)}setComponentSettingsValue(t,e){if(0==this.ptr)throw"this is disposed";if(0==e.ptr)throw"value is disposed";o.LayoutEditor_set_component_settings_value(this.ptr,t,e.ptr),e.ptr=0}setGeneralSettingsValue(t,e,s){if(0==this.ptr)throw"this is disposed";if(0==e.ptr)throw"value is disposed";if(0==s.ptr)throw"imageCache is disposed";o.LayoutEditor_set_general_settings_value(this.ptr,t,e.ptr,s.ptr),e.ptr=0}}class St extends vt{[Symbol.dispose](){0!=this.ptr&&(this.ptr=0)}static new(t){if(0==t.ptr)throw"layout is disposed";const e=new St(o.LayoutEditor_new(t.ptr));return t.ptr=0,0==e.ptr?null:e}close(){if(0==this.ptr)throw"this is disposed";const t=new wt(o.LayoutEditor_close(this.ptr));return this.ptr=0,t}}class xt{ptr;componentLen(){if(0==this.ptr)throw"this is disposed";return o.LayoutEditorState_component_len(this.ptr)}componentText(t){if(0==this.ptr)throw"this is disposed";return m(o.LayoutEditorState_component_text(this.ptr,t))}buttons(){if(0==this.ptr)throw"this is disposed";return o.LayoutEditorState_buttons(this.ptr)}selectedComponent(){if(0==this.ptr)throw"this is disposed";return o.LayoutEditorState_selected_component(this.ptr)}fieldLen(t){if(0==this.ptr)throw"this is disposed";return o.LayoutEditorState_field_len(this.ptr,t?1:0)}fieldText(t,e){if(0==this.ptr)throw"this is disposed";return m(o.LayoutEditorState_field_text(this.ptr,t?1:0,e))}fieldValue(t,e){if(0==this.ptr)throw"this is disposed";return new Ee(o.LayoutEditorState_field_value(this.ptr,t?1:0,e))}constructor(t){this.ptr=t}}class _t extends xt{}class Et extends _t{[Symbol.dispose](){0!=this.ptr&&(o.LayoutEditorState_drop(this.ptr),this.ptr=0)}}class Ct{ptr;asJson(){if(0==this.ptr)throw"this is disposed";const t=o.LayoutState_as_json(this.ptr);return JSON.parse(m(t))}len(){if(0==this.ptr)throw"this is disposed";return o.LayoutState_len(this.ptr)}componentType(t){if(0==this.ptr)throw"this is disposed";return m(o.LayoutState_component_type(this.ptr,t))}componentAsBlankSpace(t){if(0==this.ptr)throw"this is disposed";return new C(o.LayoutState_component_as_blank_space(this.ptr,t))}componentAsDetailedTimer(t){if(0==this.ptr)throw"this is disposed";return new H(o.LayoutState_component_as_detailed_timer(this.ptr,t))}componentAsGraph(t){if(0==this.ptr)throw"this is disposed";return new et(o.LayoutState_component_as_graph(this.ptr,t))}componentAsKeyValue(t){if(0==this.ptr)throw"this is disposed";return new ut(o.LayoutState_component_as_key_value(this.ptr,t))}componentAsSeparator(t){if(0==this.ptr)throw"this is disposed";return new Se(o.LayoutState_component_as_separator(this.ptr,t))}componentAsSplits(t){if(0==this.ptr)throw"this is disposed";return new Oe(o.LayoutState_component_as_splits(this.ptr,t))}componentAsText(t){if(0==this.ptr)throw"this is disposed";return new je(o.LayoutState_component_as_text(this.ptr,t))}componentAsTimer(t){if(0==this.ptr)throw"this is disposed";return new ns(o.LayoutState_component_as_timer(this.ptr,t))}componentAsTitle(t){if(0==this.ptr)throw"this is disposed";return new ws(o.LayoutState_component_as_title(this.ptr,t))}constructor(t){this.ptr=t}}class kt extends Ct{}class Tt extends kt{[Symbol.dispose](){0!=this.ptr&&(o.LayoutState_drop(this.ptr),this.ptr=0)}static new(){return new Tt(o.LayoutState_new())}}class Nt{ptr;isDefault(){if(0==this.ptr)throw"this is disposed";return 0!=o.LinkedLayout_is_default(this.ptr)}path(){if(0==this.ptr)throw"this is disposed";return m(o.LinkedLayout_path(this.ptr))}constructor(t){this.ptr=t}}class At extends Nt{}class Rt extends At{[Symbol.dispose](){0!=this.ptr&&(o.LinkedLayout_drop(this.ptr),this.ptr=0)}static new(t){const e=h(t),s=new Rt(o.LinkedLayout_new(e.ptr));return g(e),s}}class Lt{ptr;parsedSuccessfully(){if(0==this.ptr)throw"this is disposed";return 0!=o.ParseRunResult_parsed_successfully(this.ptr)}timerKind(){if(0==this.ptr)throw"this is disposed";return m(o.ParseRunResult_timer_kind(this.ptr))}isGenericTimer(){if(0==this.ptr)throw"this is disposed";return 0!=o.ParseRunResult_is_generic_timer(this.ptr)}constructor(t){this.ptr=t}}class Dt extends Lt{}class Ot extends Dt{[Symbol.dispose](){0!=this.ptr&&(o.ParseRunResult_drop(this.ptr),this.ptr=0)}unwrap(){if(0==this.ptr)throw"this is disposed";const t=new Kt(o.ParseRunResult_unwrap(this.ptr));return this.ptr=0,t}}class Pt{ptr;stateAsJson(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";const e=o.PbChanceComponent_state_as_json(this.ptr,t.ptr);return JSON.parse(m(e))}state(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";return new gt(o.PbChanceComponent_state(this.ptr,t.ptr))}constructor(t){this.ptr=t}}class It extends Pt{}class Vt extends It{[Symbol.dispose](){0!=this.ptr&&(o.PbChanceComponent_drop(this.ptr),this.ptr=0)}static new(){return new Vt(o.PbChanceComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.PbChanceComponent_into_generic(this.ptr));return this.ptr=0,t}}class Bt{ptr;stateAsJson(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";const e=o.PossibleTimeSaveComponent_state_as_json(this.ptr,t.ptr);return JSON.parse(m(e))}state(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";return new gt(o.PossibleTimeSaveComponent_state(this.ptr,t.ptr))}constructor(t){this.ptr=t}}class zt extends Bt{}class Gt extends zt{[Symbol.dispose](){0!=this.ptr&&(o.PossibleTimeSaveComponent_drop(this.ptr),this.ptr=0)}static new(){return new Gt(o.PossibleTimeSaveComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.PossibleTimeSaveComponent_into_generic(this.ptr));return this.ptr=0,t}}class Ut{ptr;message(){if(0==this.ptr)throw"this is disposed";return m(o.PotentialCleanUp_message(this.ptr))}constructor(t){this.ptr=t}}class Mt extends Ut{}class Ft extends Mt{[Symbol.dispose](){0!=this.ptr&&(o.PotentialCleanUp_drop(this.ptr),this.ptr=0)}}class Ht{ptr;stateAsJson(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";if(0==e.ptr)throw"layoutSettings is disposed";const s=o.PreviousSegmentComponent_state_as_json(this.ptr,t.ptr,e.ptr);return JSON.parse(m(s))}state(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";if(0==e.ptr)throw"layoutSettings is disposed";return new gt(o.PreviousSegmentComponent_state(this.ptr,t.ptr,e.ptr))}constructor(t){this.ptr=t}}class Wt extends Ht{}class jt extends Wt{[Symbol.dispose](){0!=this.ptr&&(o.PreviousSegmentComponent_drop(this.ptr),this.ptr=0)}static new(){return new jt(o.PreviousSegmentComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.PreviousSegmentComponent_into_generic(this.ptr));return this.ptr=0,t}}class Jt{ptr;clone(){if(0==this.ptr)throw"this is disposed";return new Kt(o.Run_clone(this.ptr))}gameName(){if(0==this.ptr)throw"this is disposed";return m(o.Run_game_name(this.ptr))}gameIconPtr(){if(0==this.ptr)throw"this is disposed";return o.Run_game_icon_ptr(this.ptr)}gameIconLen(){if(0==this.ptr)throw"this is disposed";return o.Run_game_icon_len(this.ptr)}categoryName(){if(0==this.ptr)throw"this is disposed";return m(o.Run_category_name(this.ptr))}extendedFileName(t){if(0==this.ptr)throw"this is disposed";return m(o.Run_extended_file_name(this.ptr,t?1:0))}extendedName(t){if(0==this.ptr)throw"this is disposed";return m(o.Run_extended_name(this.ptr,t?1:0))}extendedCategoryName(t,e,s){if(0==this.ptr)throw"this is disposed";return m(o.Run_extended_category_name(this.ptr,t?1:0,e?1:0,s?1:0))}attemptCount(){if(0==this.ptr)throw"this is disposed";return o.Run_attempt_count(this.ptr)}metadata(){if(0==this.ptr)throw"this is disposed";return new Zt(o.Run_metadata(this.ptr))}offset(){if(0==this.ptr)throw"this is disposed";return new Qe(o.Run_offset(this.ptr))}len(){if(0==this.ptr)throw"this is disposed";return o.Run_len(this.ptr)}hasBeenModified(){if(0==this.ptr)throw"this is disposed";return 0!=o.Run_has_been_modified(this.ptr)}segment(t){if(0==this.ptr)throw"this is disposed";return new ae(o.Run_segment(this.ptr,t))}segmentsLen(){if(0==this.ptr)throw"this is disposed";return o.Run_segments_len(this.ptr)}attemptHistoryLen(){if(0==this.ptr)throw"this is disposed";return o.Run_attempt_history_len(this.ptr)}attemptHistoryIndex(t){if(0==this.ptr)throw"this is disposed";return new S(o.Run_attempt_history_index(this.ptr,t))}saveAsLss(){if(0==this.ptr)throw"this is disposed";return m(o.Run_save_as_lss(this.ptr))}customComparisonsLen(){if(0==this.ptr)throw"this is disposed";return o.Run_custom_comparisons_len(this.ptr)}customComparison(t){if(0==this.ptr)throw"this is disposed";return m(o.Run_custom_comparison(this.ptr,t))}comparisonsLen(){if(0==this.ptr)throw"this is disposed";return o.Run_comparisons_len(this.ptr)}comparison(t){if(0==this.ptr)throw"this is disposed";return m(o.Run_comparison(this.ptr,t))}autoSplitterSettings(){if(0==this.ptr)throw"this is disposed";return m(o.Run_auto_splitter_settings(this.ptr))}linkedLayout(){if(0==this.ptr)throw"this is disposed";const t=new Rt(o.Run_linked_layout(this.ptr));return 0==t.ptr?null:t}saveAsLssBytes(){if(0==this.ptr)throw"this is disposed";return u(o.Run_save_as_lss(this.ptr))}constructor(t){this.ptr=t}}class $t extends Jt{pushSegment(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"segment is disposed";o.Run_push_segment(this.ptr,t.ptr),t.ptr=0}setGameName(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.Run_set_game_name(this.ptr,e.ptr),g(e)}setCategoryName(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.Run_set_category_name(this.ptr,e.ptr),g(e)}markAsModified(){if(0==this.ptr)throw"this is disposed";o.Run_mark_as_modified(this.ptr)}}class Kt extends $t{[Symbol.dispose](){0!=this.ptr&&(o.Run_drop(this.ptr),this.ptr=0)}static new(){return new Kt(o.Run_new())}static parse(t,e,s){const i=h(s),r=new Ot(o.Run_parse(t,e,i.ptr));return g(i),r}static parseArray(t,e){const s=c(t),i=Kt.parse(s.ptr,s.len,e);return g(s),i}static parseString(t,e){const s=h(t),i=Kt.parse(s.ptr,s.len,e);return g(s),i}}class qt{ptr;stateAsJson(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";const e=o.RunEditor_state_as_json(this.ptr,t.ptr);return JSON.parse(m(e))}constructor(t){this.ptr=t}}class Yt extends qt{selectTimingMethod(t){if(0==this.ptr)throw"this is disposed";o.RunEditor_select_timing_method(this.ptr,t)}unselect(t){if(0==this.ptr)throw"this is disposed";o.RunEditor_unselect(this.ptr,t)}selectAdditionally(t){if(0==this.ptr)throw"this is disposed";o.RunEditor_select_additionally(this.ptr,t)}selectOnly(t){if(0==this.ptr)throw"this is disposed";o.RunEditor_select_only(this.ptr,t)}setGameName(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.RunEditor_set_game_name(this.ptr,e.ptr),g(e)}setCategoryName(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.RunEditor_set_category_name(this.ptr,e.ptr),g(e)}parseAndSetOffset(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=0!=o.RunEditor_parse_and_set_offset(this.ptr,e.ptr);return g(e),s}parseAndSetAttemptCount(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=0!=o.RunEditor_parse_and_set_attempt_count(this.ptr,e.ptr);return g(e),s}setGameIcon(t,e){if(0==this.ptr)throw"this is disposed";o.RunEditor_set_game_icon(this.ptr,t,e)}removeGameIcon(){if(0==this.ptr)throw"this is disposed";o.RunEditor_remove_game_icon(this.ptr)}setLinkedLayout(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"linkedLayout is disposed";o.RunEditor_set_linked_layout(this.ptr,t.ptr),t.ptr=0}removeLinkedLayout(){if(0==this.ptr)throw"this is disposed";o.RunEditor_remove_linked_layout(this.ptr)}setRunId(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.RunEditor_set_run_id(this.ptr,e.ptr),g(e)}setRegionName(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.RunEditor_set_region_name(this.ptr,e.ptr),g(e)}setPlatformName(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.RunEditor_set_platform_name(this.ptr,e.ptr),g(e)}setEmulatorUsage(t){if(0==this.ptr)throw"this is disposed";o.RunEditor_set_emulator_usage(this.ptr,t?1:0)}setSpeedrunComVariable(t,e){if(0==this.ptr)throw"this is disposed";const s=h(t),i=h(e);o.RunEditor_set_speedrun_com_variable(this.ptr,s.ptr,i.ptr),g(s),g(i)}removeSpeedrunComVariable(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.RunEditor_remove_speedrun_com_variable(this.ptr,e.ptr),g(e)}addCustomVariable(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.RunEditor_add_custom_variable(this.ptr,e.ptr),g(e)}setCustomVariable(t,e){if(0==this.ptr)throw"this is disposed";const s=h(t),i=h(e);o.RunEditor_set_custom_variable(this.ptr,s.ptr,i.ptr),g(s),g(i)}removeCustomVariable(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.RunEditor_remove_custom_variable(this.ptr,e.ptr),g(e)}clearMetadata(){if(0==this.ptr)throw"this is disposed";o.RunEditor_clear_metadata(this.ptr)}insertSegmentAbove(){if(0==this.ptr)throw"this is disposed";o.RunEditor_insert_segment_above(this.ptr)}insertSegmentBelow(){if(0==this.ptr)throw"this is disposed";o.RunEditor_insert_segment_below(this.ptr)}removeSegments(){if(0==this.ptr)throw"this is disposed";o.RunEditor_remove_segments(this.ptr)}moveSegmentsUp(){if(0==this.ptr)throw"this is disposed";o.RunEditor_move_segments_up(this.ptr)}moveSegmentsDown(){if(0==this.ptr)throw"this is disposed";o.RunEditor_move_segments_down(this.ptr)}activeSetIcon(t,e){if(0==this.ptr)throw"this is disposed";o.RunEditor_active_set_icon(this.ptr,t,e)}activeRemoveIcon(){if(0==this.ptr)throw"this is disposed";o.RunEditor_active_remove_icon(this.ptr)}activeSetName(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.RunEditor_active_set_name(this.ptr,e.ptr),g(e)}activeParseAndSetSplitTime(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=0!=o.RunEditor_active_parse_and_set_split_time(this.ptr,e.ptr);return g(e),s}activeParseAndSetSegmentTime(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=0!=o.RunEditor_active_parse_and_set_segment_time(this.ptr,e.ptr);return g(e),s}activeParseAndSetBestSegmentTime(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=0!=o.RunEditor_active_parse_and_set_best_segment_time(this.ptr,e.ptr);return g(e),s}activeParseAndSetComparisonTime(t,e){if(0==this.ptr)throw"this is disposed";const s=h(t),i=h(e),r=0!=o.RunEditor_active_parse_and_set_comparison_time(this.ptr,s.ptr,i.ptr);return g(s),g(i),r}addComparison(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=0!=o.RunEditor_add_comparison(this.ptr,e.ptr);return g(e),s}importComparison(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"run is disposed";const s=h(e),i=0!=o.RunEditor_import_comparison(this.ptr,t.ptr,s.ptr);return g(s),i}removeComparison(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.RunEditor_remove_comparison(this.ptr,e.ptr),g(e)}renameComparison(t,e){if(0==this.ptr)throw"this is disposed";const s=h(t),i=h(e),r=0!=o.RunEditor_rename_comparison(this.ptr,s.ptr,i.ptr);return g(s),g(i),r}moveComparison(t,e){if(0==this.ptr)throw"this is disposed";return 0!=o.RunEditor_move_comparison(this.ptr,t,e)}parseAndGenerateGoalComparison(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=0!=o.RunEditor_parse_and_generate_goal_comparison(this.ptr,e.ptr);return g(e),s}copyComparison(t,e){if(0==this.ptr)throw"this is disposed";const s=h(t),i=h(e),r=0!=o.RunEditor_copy_comparison(this.ptr,s.ptr,i.ptr);return g(s),g(i),r}clearHistory(){if(0==this.ptr)throw"this is disposed";o.RunEditor_clear_history(this.ptr)}clearTimes(){if(0==this.ptr)throw"this is disposed";o.RunEditor_clear_times(this.ptr)}cleanSumOfBest(){if(0==this.ptr)throw"this is disposed";return new ze(o.RunEditor_clean_sum_of_best(this.ptr))}setGameIconFromArray(t){const e=c(t);this.setGameIcon(e.ptr,e.len),g(e)}activeSetIconFromArray(t){const e=c(t);this.activeSetIcon(e.ptr,e.len),g(e)}}class Qt extends Yt{[Symbol.dispose](){0!=this.ptr&&(this.ptr=0)}static new(t){if(0==t.ptr)throw"run is disposed";const e=new Qt(o.RunEditor_new(t.ptr));return t.ptr=0,0==e.ptr?null:e}close(){if(0==this.ptr)throw"this is disposed";const t=new Kt(o.RunEditor_close(this.ptr));return this.ptr=0,t}}class Zt{ptr;runId(){if(0==this.ptr)throw"this is disposed";return m(o.RunMetadata_run_id(this.ptr))}platformName(){if(0==this.ptr)throw"this is disposed";return m(o.RunMetadata_platform_name(this.ptr))}usesEmulator(){if(0==this.ptr)throw"this is disposed";return 0!=o.RunMetadata_uses_emulator(this.ptr)}regionName(){if(0==this.ptr)throw"this is disposed";return m(o.RunMetadata_region_name(this.ptr))}speedrunComVariables(){if(0==this.ptr)throw"this is disposed";return new ne(o.RunMetadata_speedrun_com_variables(this.ptr))}customVariables(){if(0==this.ptr)throw"this is disposed";return new se(o.RunMetadata_custom_variables(this.ptr))}constructor(t){this.ptr=t}}Symbol.dispose;class Xt{ptr;name(){if(0==this.ptr)throw"this is disposed";return m(o.RunMetadataCustomVariable_name(this.ptr))}value(){if(0==this.ptr)throw"this is disposed";return m(o.RunMetadataCustomVariable_value(this.ptr))}isPermanent(){if(0==this.ptr)throw"this is disposed";return 0!=o.RunMetadataCustomVariable_is_permanent(this.ptr)}constructor(t){this.ptr=t}}Symbol.dispose;class te{ptr;constructor(t){this.ptr=t}}class ee extends te{next(){if(0==this.ptr)throw"this is disposed";const t=new Xt(o.RunMetadataCustomVariablesIter_next(this.ptr));return 0==t.ptr?null:t}}class se extends ee{[Symbol.dispose](){0!=this.ptr&&(o.RunMetadataCustomVariablesIter_drop(this.ptr),this.ptr=0)}}class ie{ptr;name(){if(0==this.ptr)throw"this is disposed";return m(o.RunMetadataSpeedrunComVariable_name(this.ptr))}value(){if(0==this.ptr)throw"this is disposed";return m(o.RunMetadataSpeedrunComVariable_value(this.ptr))}constructor(t){this.ptr=t}}Symbol.dispose;class re{ptr;constructor(t){this.ptr=t}}class oe extends re{next(){if(0==this.ptr)throw"this is disposed";const t=new ie(o.RunMetadataSpeedrunComVariablesIter_next(this.ptr));return 0==t.ptr?null:t}}class ne extends oe{[Symbol.dispose](){0!=this.ptr&&(o.RunMetadataSpeedrunComVariablesIter_drop(this.ptr),this.ptr=0)}}class ae{ptr;name(){if(0==this.ptr)throw"this is disposed";return m(o.Segment_name(this.ptr))}iconPtr(){if(0==this.ptr)throw"this is disposed";return o.Segment_icon_ptr(this.ptr)}iconLen(){if(0==this.ptr)throw"this is disposed";return o.Segment_icon_len(this.ptr)}comparison(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=new Ke(o.Segment_comparison(this.ptr,e.ptr));return g(e),s}personalBestSplitTime(){if(0==this.ptr)throw"this is disposed";return new Ke(o.Segment_personal_best_split_time(this.ptr))}bestSegmentTime(){if(0==this.ptr)throw"this is disposed";return new Ke(o.Segment_best_segment_time(this.ptr))}segmentHistory(){if(0==this.ptr)throw"this is disposed";return new de(o.Segment_segment_history(this.ptr))}constructor(t){this.ptr=t}}class le extends ae{}class pe extends le{[Symbol.dispose](){0!=this.ptr&&(o.Segment_drop(this.ptr),this.ptr=0)}static new(t){const e=h(t),s=new pe(o.Segment_new(e.ptr));return g(e),s}}class de{ptr;iter(){if(0==this.ptr)throw"this is disposed";return new me(o.SegmentHistory_iter(this.ptr))}constructor(t){this.ptr=t}}Symbol.dispose;class ce{ptr;index(){if(0==this.ptr)throw"this is disposed";return o.SegmentHistoryElement_index(this.ptr)}time(){if(0==this.ptr)throw"this is disposed";return new Ke(o.SegmentHistoryElement_time(this.ptr))}constructor(t){this.ptr=t}}Symbol.dispose;class he{ptr;constructor(t){this.ptr=t}}class ue extends he{next(){if(0==this.ptr)throw"this is disposed";const t=new ce(o.SegmentHistoryIter_next(this.ptr));return 0==t.ptr?null:t}}class me extends ue{[Symbol.dispose](){0!=this.ptr&&(o.SegmentHistoryIter_drop(this.ptr),this.ptr=0)}}class ge{ptr;stateAsJson(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";const e=o.SegmentTimeComponent_state_as_json(this.ptr,t.ptr);return JSON.parse(m(e))}state(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";return new gt(o.SegmentTimeComponent_state(this.ptr,t.ptr))}constructor(t){this.ptr=t}}class fe extends ge{}class be extends fe{[Symbol.dispose](){0!=this.ptr&&(o.SegmentTimeComponent_drop(this.ptr),this.ptr=0)}static new(){return new be(o.SegmentTimeComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.SegmentTimeComponent_into_generic(this.ptr));return this.ptr=0,t}}class we{ptr;constructor(t){this.ptr=t}}class ye extends we{state(){if(0==this.ptr)throw"this is disposed";return new _e(o.SeparatorComponent_state(this.ptr))}}class ve extends ye{[Symbol.dispose](){0!=this.ptr&&(o.SeparatorComponent_drop(this.ptr),this.ptr=0)}static new(){return new ve(o.SeparatorComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.SeparatorComponent_into_generic(this.ptr));return this.ptr=0,t}}class Se{ptr;constructor(t){this.ptr=t}}class xe extends Se{}class _e extends xe{[Symbol.dispose](){0!=this.ptr&&(o.SeparatorComponentState_drop(this.ptr),this.ptr=0)}}class Ee{ptr;asJson(){if(0==this.ptr)throw"this is disposed";const t=o.SettingValue_as_json(this.ptr);return JSON.parse(m(t))}constructor(t){this.ptr=t}}class Ce extends Ee{}class ke extends Ce{[Symbol.dispose](){0!=this.ptr&&(o.SettingValue_drop(this.ptr),this.ptr=0)}static fromBool(t){return new ke(o.SettingValue_from_bool(t?1:0))}static fromUint(t){return new ke(o.SettingValue_from_uint(t))}static fromInt(t){return new ke(o.SettingValue_from_int(t))}static fromString(t){const e=h(t),s=new ke(o.SettingValue_from_string(e.ptr));return g(e),s}static fromOptionalString(t){const e=h(t),s=new ke(o.SettingValue_from_optional_string(e.ptr));return g(e),s}static fromOptionalEmptyString(){return new ke(o.SettingValue_from_optional_empty_string())}static fromAccuracy(t){const e=h(t),s=new ke(o.SettingValue_from_accuracy(e.ptr));return g(e),0==s.ptr?null:s}static fromDigitsFormat(t){const e=h(t),s=new ke(o.SettingValue_from_digits_format(e.ptr));return g(e),0==s.ptr?null:s}static fromOptionalTimingMethod(t){const e=h(t),s=new ke(o.SettingValue_from_optional_timing_method(e.ptr));return g(e),0==s.ptr?null:s}static fromOptionalEmptyTimingMethod(){return new ke(o.SettingValue_from_optional_empty_timing_method())}static fromColor(t,e,s,i){return new ke(o.SettingValue_from_color(t,e,s,i))}static fromOptionalColor(t,e,s,i){return new ke(o.SettingValue_from_optional_color(t,e,s,i))}static fromOptionalEmptyColor(){return new ke(o.SettingValue_from_optional_empty_color())}static fromTransparentGradient(){return new ke(o.SettingValue_from_transparent_gradient())}static fromVerticalGradient(t,e,s,i,r,n,a,l){return new ke(o.SettingValue_from_vertical_gradient(t,e,s,i,r,n,a,l))}static fromHorizontalGradient(t,e,s,i,r,n,a,l){return new ke(o.SettingValue_from_horizontal_gradient(t,e,s,i,r,n,a,l))}static fromAlternatingGradient(t,e,s,i,r,n,a,l){return new ke(o.SettingValue_from_alternating_gradient(t,e,s,i,r,n,a,l))}static fromAlignment(t){const e=h(t),s=new ke(o.SettingValue_from_alignment(e.ptr));return g(e),0==s.ptr?null:s}static fromColumnKind(t){const e=h(t),s=new ke(o.SettingValue_from_column_kind(e.ptr));return g(e),0==s.ptr?null:s}static fromColumnStartWith(t){const e=h(t),s=new ke(o.SettingValue_from_column_start_with(e.ptr));return g(e),0==s.ptr?null:s}static fromColumnUpdateWith(t){const e=h(t),s=new ke(o.SettingValue_from_column_update_with(e.ptr));return g(e),0==s.ptr?null:s}static fromColumnUpdateTrigger(t){const e=h(t),s=new ke(o.SettingValue_from_column_update_trigger(e.ptr));return g(e),0==s.ptr?null:s}static fromLayoutDirection(t){const e=h(t),s=new ke(o.SettingValue_from_layout_direction(e.ptr));return g(e),0==s.ptr?null:s}static fromFont(t,e,s,i){const r=h(t),n=h(e),a=h(s),l=h(i),p=new ke(o.SettingValue_from_font(r.ptr,n.ptr,a.ptr,l.ptr));return g(r),g(n),g(a),g(l),0==p.ptr?null:p}static fromEmptyFont(){return new ke(o.SettingValue_from_empty_font())}static fromDeltaGradient(t){const e=h(t),s=new ke(o.SettingValue_from_delta_gradient(e.ptr));return g(e),0==s.ptr?null:s}static fromBackgroundImage(t,e,s,i){const r=h(t),n=new ke(o.SettingValue_from_background_image(r.ptr,e,s,i));return g(r),0==n.ptr?null:n}}class Te{ptr;share(){if(0==this.ptr)throw"this is disposed";return new Ae(o.SharedTimer_share(this.ptr))}read(){if(0==this.ptr)throw"this is disposed";return new cs(o.SharedTimer_read(this.ptr))}write(){if(0==this.ptr)throw"this is disposed";return new ms(o.SharedTimer_write(this.ptr))}replaceInner(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";o.SharedTimer_replace_inner(this.ptr,t.ptr),t.ptr=0}readWith(t){const e={stack:[],error:void 0,hasError:!1};try{return t(a(e,this.read(),!1).timer())}catch(t){e.error=t,e.hasError=!0}finally{l(e)}}writeWith(t){const e={stack:[],error:void 0,hasError:!1};try{return t(a(e,this.write(),!1).timer())}catch(t){e.error=t,e.hasError=!0}finally{l(e)}}constructor(t){this.ptr=t}}class Ne extends Te{}class Ae extends Ne{[Symbol.dispose](){0!=this.ptr&&(o.SharedTimer_drop(this.ptr),this.ptr=0)}}Symbol.dispose;class Re{ptr;constructor(t){this.ptr=t}}class Le extends Re{stateAsJson(t,e,s){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";if(0==e.ptr)throw"timer is disposed";if(0==s.ptr)throw"layoutSettings is disposed";const i=o.SplitsComponent_state_as_json(this.ptr,t.ptr,e.ptr,s.ptr);return JSON.parse(m(i))}state(t,e,s){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";if(0==e.ptr)throw"timer is disposed";if(0==s.ptr)throw"layoutSettings is disposed";return new Ie(o.SplitsComponent_state(this.ptr,t.ptr,e.ptr,s.ptr))}scrollUp(){if(0==this.ptr)throw"this is disposed";o.SplitsComponent_scroll_up(this.ptr)}scrollDown(){if(0==this.ptr)throw"this is disposed";o.SplitsComponent_scroll_down(this.ptr)}setVisualSplitCount(t){if(0==this.ptr)throw"this is disposed";o.SplitsComponent_set_visual_split_count(this.ptr,t)}setSplitPreviewCount(t){if(0==this.ptr)throw"this is disposed";o.SplitsComponent_set_split_preview_count(this.ptr,t)}setAlwaysShowLastSplit(t){if(0==this.ptr)throw"this is disposed";o.SplitsComponent_set_always_show_last_split(this.ptr,t?1:0)}setSeparatorLastSplit(t){if(0==this.ptr)throw"this is disposed";o.SplitsComponent_set_separator_last_split(this.ptr,t?1:0)}}class De extends Le{[Symbol.dispose](){0!=this.ptr&&(o.SplitsComponent_drop(this.ptr),this.ptr=0)}static new(){return new De(o.SplitsComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.SplitsComponent_into_generic(this.ptr));return this.ptr=0,t}}class Oe{ptr;finalSeparatorShown(){if(0==this.ptr)throw"this is disposed";return 0!=o.SplitsComponentState_final_separator_shown(this.ptr)}len(){if(0==this.ptr)throw"this is disposed";return o.SplitsComponentState_len(this.ptr)}icon(t){if(0==this.ptr)throw"this is disposed";return m(o.SplitsComponentState_icon(this.ptr,t))}name(t){if(0==this.ptr)throw"this is disposed";return m(o.SplitsComponentState_name(this.ptr,t))}columnsLen(t){if(0==this.ptr)throw"this is disposed";return o.SplitsComponentState_columns_len(this.ptr,t)}columnValue(t,e){if(0==this.ptr)throw"this is disposed";return m(o.SplitsComponentState_column_value(this.ptr,t,e))}columnSemanticColor(t,e){if(0==this.ptr)throw"this is disposed";return m(o.SplitsComponentState_column_semantic_color(this.ptr,t,e))}isCurrentSplit(t){if(0==this.ptr)throw"this is disposed";return 0!=o.SplitsComponentState_is_current_split(this.ptr,t)}hasColumnLabels(){if(0==this.ptr)throw"this is disposed";return 0!=o.SplitsComponentState_has_column_labels(this.ptr)}columnLabel(t){if(0==this.ptr)throw"this is disposed";return m(o.SplitsComponentState_column_label(this.ptr,t))}constructor(t){this.ptr=t}}class Pe extends Oe{}class Ie extends Pe{[Symbol.dispose](){0!=this.ptr&&(o.SplitsComponentState_drop(this.ptr),this.ptr=0)}}class Ve{ptr;constructor(t){this.ptr=t}}class Be extends Ve{nextPotentialCleanUp(){if(0==this.ptr)throw"this is disposed";const t=new Ft(o.SumOfBestCleaner_next_potential_clean_up(this.ptr));return 0==t.ptr?null:t}apply(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"cleanUp is disposed";o.SumOfBestCleaner_apply(this.ptr,t.ptr),t.ptr=0}}class ze extends Be{[Symbol.dispose](){0!=this.ptr&&(o.SumOfBestCleaner_drop(this.ptr),this.ptr=0)}}class Ge{ptr;stateAsJson(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";const e=o.SumOfBestComponent_state_as_json(this.ptr,t.ptr);return JSON.parse(m(e))}state(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";return new gt(o.SumOfBestComponent_state(this.ptr,t.ptr))}constructor(t){this.ptr=t}}class Ue extends Ge{}class Me extends Ue{[Symbol.dispose](){0!=this.ptr&&(o.SumOfBestComponent_drop(this.ptr),this.ptr=0)}static new(){return new Me(o.SumOfBestComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.SumOfBestComponent_into_generic(this.ptr));return this.ptr=0,t}}class Fe{ptr;stateAsJson(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";const e=o.TextComponent_state_as_json(this.ptr,t.ptr);return JSON.parse(m(e))}state(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";return new $e(o.TextComponent_state(this.ptr,t.ptr))}constructor(t){this.ptr=t}}class He extends Fe{setCenter(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.TextComponent_set_center(this.ptr,e.ptr),g(e)}setLeft(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.TextComponent_set_left(this.ptr,e.ptr),g(e)}setRight(t){if(0==this.ptr)throw"this is disposed";const e=h(t);o.TextComponent_set_right(this.ptr,e.ptr),g(e)}}class We extends He{[Symbol.dispose](){0!=this.ptr&&(o.TextComponent_drop(this.ptr),this.ptr=0)}static new(){return new We(o.TextComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.TextComponent_into_generic(this.ptr));return this.ptr=0,t}}class je{ptr;left(){if(0==this.ptr)throw"this is disposed";return m(o.TextComponentState_left(this.ptr))}right(){if(0==this.ptr)throw"this is disposed";return m(o.TextComponentState_right(this.ptr))}center(){if(0==this.ptr)throw"this is disposed";return m(o.TextComponentState_center(this.ptr))}isSplit(){if(0==this.ptr)throw"this is disposed";return 0!=o.TextComponentState_is_split(this.ptr)}constructor(t){this.ptr=t}}class Je extends je{}class $e extends Je{[Symbol.dispose](){0!=this.ptr&&(o.TextComponentState_drop(this.ptr),this.ptr=0)}}class Ke{ptr;clone(){if(0==this.ptr)throw"this is disposed";return new Ye(o.Time_clone(this.ptr))}realTime(){if(0==this.ptr)throw"this is disposed";const t=new Qe(o.Time_real_time(this.ptr));return 0==t.ptr?null:t}gameTime(){if(0==this.ptr)throw"this is disposed";const t=new Qe(o.Time_game_time(this.ptr));return 0==t.ptr?null:t}index(t){if(0==this.ptr)throw"this is disposed";const e=new Qe(o.Time_index(this.ptr,t));return 0==e.ptr?null:e}constructor(t){this.ptr=t}}class qe extends Ke{}class Ye extends qe{[Symbol.dispose](){0!=this.ptr&&(o.Time_drop(this.ptr),this.ptr=0)}}class Qe{ptr;clone(){if(0==this.ptr)throw"this is disposed";return new Xe(o.TimeSpan_clone(this.ptr))}totalSeconds(){if(0==this.ptr)throw"this is disposed";return o.TimeSpan_total_seconds(this.ptr)}wholeSeconds(){if(0==this.ptr)throw"this is disposed";return o.TimeSpan_whole_seconds(this.ptr)}subsecNanoseconds(){if(0==this.ptr)throw"this is disposed";return o.TimeSpan_subsec_nanoseconds(this.ptr)}constructor(t){this.ptr=t}}class Ze extends Qe{}class Xe extends Ze{[Symbol.dispose](){0!=this.ptr&&(o.TimeSpan_drop(this.ptr),this.ptr=0)}static fromSeconds(t){return new Xe(o.TimeSpan_from_seconds(t))}static parse(t){const e=h(t),s=new Xe(o.TimeSpan_parse(e.ptr));return g(e),0==s.ptr?null:s}}class ts{ptr;currentSplitIndex(){if(0==this.ptr)throw"this is disposed";return o.Timer_current_split_index(this.ptr)}currentAttemptHasNewBestTimes(){if(0==this.ptr)throw"this is disposed";return 0!=o.Timer_current_attempt_has_new_best_times(this.ptr)}currentTimingMethod(){if(0==this.ptr)throw"this is disposed";return o.Timer_current_timing_method(this.ptr)}currentComparison(){if(0==this.ptr)throw"this is disposed";return m(o.Timer_current_comparison(this.ptr))}isGameTimeInitialized(){if(0==this.ptr)throw"this is disposed";return 0!=o.Timer_is_game_time_initialized(this.ptr)}isGameTimePaused(){if(0==this.ptr)throw"this is disposed";return 0!=o.Timer_is_game_time_paused(this.ptr)}loadingTimes(){if(0==this.ptr)throw"this is disposed";return new Qe(o.Timer_loading_times(this.ptr))}currentPhase(){if(0==this.ptr)throw"this is disposed";return o.Timer_current_phase(this.ptr)}getRun(){if(0==this.ptr)throw"this is disposed";return new Jt(o.Timer_get_run(this.ptr))}saveAsLss(){if(0==this.ptr)throw"this is disposed";return m(o.Timer_save_as_lss(this.ptr))}printDebug(){if(0==this.ptr)throw"this is disposed";o.Timer_print_debug(this.ptr)}currentTime(){if(0==this.ptr)throw"this is disposed";return new Ke(o.Timer_current_time(this.ptr))}saveAsLssBytes(){if(0==this.ptr)throw"this is disposed";return u(o.Timer_save_as_lss(this.ptr))}constructor(t){this.ptr=t}}class es extends ts{replaceRun(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"run is disposed";return 0!=o.Timer_replace_run(this.ptr,t.ptr,e?1:0)}setRun(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"run is disposed";const e=new Kt(o.Timer_set_run(this.ptr,t.ptr));return t.ptr=0,0==e.ptr?null:e}start(){if(0==this.ptr)throw"this is disposed";o.Timer_start(this.ptr)}split(){if(0==this.ptr)throw"this is disposed";o.Timer_split(this.ptr)}splitOrStart(){if(0==this.ptr)throw"this is disposed";o.Timer_split_or_start(this.ptr)}skipSplit(){if(0==this.ptr)throw"this is disposed";o.Timer_skip_split(this.ptr)}undoSplit(){if(0==this.ptr)throw"this is disposed";o.Timer_undo_split(this.ptr)}reset(t){if(0==this.ptr)throw"this is disposed";o.Timer_reset(this.ptr,t?1:0)}resetAndSetAttemptAsPb(){if(0==this.ptr)throw"this is disposed";o.Timer_reset_and_set_attempt_as_pb(this.ptr)}pause(){if(0==this.ptr)throw"this is disposed";o.Timer_pause(this.ptr)}resume(){if(0==this.ptr)throw"this is disposed";o.Timer_resume(this.ptr)}togglePause(){if(0==this.ptr)throw"this is disposed";o.Timer_toggle_pause(this.ptr)}togglePauseOrStart(){if(0==this.ptr)throw"this is disposed";o.Timer_toggle_pause_or_start(this.ptr)}undoAllPauses(){if(0==this.ptr)throw"this is disposed";o.Timer_undo_all_pauses(this.ptr)}setCurrentTimingMethod(t){if(0==this.ptr)throw"this is disposed";o.Timer_set_current_timing_method(this.ptr,t)}toggleTimingMethod(){if(0==this.ptr)throw"this is disposed";o.Timer_toggle_timing_method(this.ptr)}setCurrentComparison(t){if(0==this.ptr)throw"this is disposed";const e=h(t),s=0!=o.Timer_set_current_comparison(this.ptr,e.ptr);return g(e),s}switchToNextComparison(){if(0==this.ptr)throw"this is disposed";o.Timer_switch_to_next_comparison(this.ptr)}switchToPreviousComparison(){if(0==this.ptr)throw"this is disposed";o.Timer_switch_to_previous_comparison(this.ptr)}initializeGameTime(){if(0==this.ptr)throw"this is disposed";o.Timer_initialize_game_time(this.ptr)}deinitializeGameTime(){if(0==this.ptr)throw"this is disposed";o.Timer_deinitialize_game_time(this.ptr)}pauseGameTime(){if(0==this.ptr)throw"this is disposed";o.Timer_pause_game_time(this.ptr)}resumeGameTime(){if(0==this.ptr)throw"this is disposed";o.Timer_resume_game_time(this.ptr)}setGameTime(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"time is disposed";o.Timer_set_game_time(this.ptr,t.ptr)}setLoadingTimes(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"time is disposed";o.Timer_set_loading_times(this.ptr,t.ptr)}setCustomVariable(t,e){if(0==this.ptr)throw"this is disposed";const s=h(t),i=h(e);o.Timer_set_custom_variable(this.ptr,s.ptr,i.ptr),g(s),g(i)}markAsUnmodified(){if(0==this.ptr)throw"this is disposed";o.Timer_mark_as_unmodified(this.ptr)}}class ss extends es{[Symbol.dispose](){0!=this.ptr&&(o.Timer_drop(this.ptr),this.ptr=0)}static new(t){if(0==t.ptr)throw"run is disposed";const e=new ss(o.Timer_new(t.ptr));return t.ptr=0,0==e.ptr?null:e}intoShared(){if(0==this.ptr)throw"this is disposed";const t=new Ae(o.Timer_into_shared(this.ptr));return this.ptr=0,t}intoRun(t){if(0==this.ptr)throw"this is disposed";const e=new Kt(o.Timer_into_run(this.ptr,t?1:0));return this.ptr=0,e}}class is{ptr;stateAsJson(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";if(0==e.ptr)throw"layoutSettings is disposed";const s=o.TimerComponent_state_as_json(this.ptr,t.ptr,e.ptr);return JSON.parse(m(s))}state(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";if(0==e.ptr)throw"layoutSettings is disposed";return new ls(o.TimerComponent_state(this.ptr,t.ptr,e.ptr))}constructor(t){this.ptr=t}}class rs extends is{}class os extends rs{[Symbol.dispose](){0!=this.ptr&&(o.TimerComponent_drop(this.ptr),this.ptr=0)}static new(){return new os(o.TimerComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.TimerComponent_into_generic(this.ptr));return this.ptr=0,t}}class ns{ptr;time(){if(0==this.ptr)throw"this is disposed";return m(o.TimerComponentState_time(this.ptr))}fraction(){if(0==this.ptr)throw"this is disposed";return m(o.TimerComponentState_fraction(this.ptr))}semanticColor(){if(0==this.ptr)throw"this is disposed";return m(o.TimerComponentState_semantic_color(this.ptr))}constructor(t){this.ptr=t}}class as extends ns{}class ls extends as{[Symbol.dispose](){0!=this.ptr&&(o.TimerComponentState_drop(this.ptr),this.ptr=0)}}class ps{ptr;timer(){if(0==this.ptr)throw"this is disposed";return new ts(o.TimerReadLock_timer(this.ptr))}constructor(t){this.ptr=t}}class ds extends ps{}class cs extends ds{[Symbol.dispose](){0!=this.ptr&&(o.TimerReadLock_drop(this.ptr),this.ptr=0)}}class hs{ptr;constructor(t){this.ptr=t}}class us extends hs{timer(){if(0==this.ptr)throw"this is disposed";return new es(o.TimerWriteLock_timer(this.ptr))}}class ms extends us{[Symbol.dispose](){0!=this.ptr&&(o.TimerWriteLock_drop(this.ptr),this.ptr=0)}}class gs{ptr;constructor(t){this.ptr=t}}class fs extends gs{stateAsJson(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";if(0==e.ptr)throw"timer is disposed";const s=o.TitleComponent_state_as_json(this.ptr,t.ptr,e.ptr);return JSON.parse(m(s))}state(t,e){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"imageCache is disposed";if(0==e.ptr)throw"timer is disposed";return new vs(o.TitleComponent_state(this.ptr,t.ptr,e.ptr))}}class bs extends fs{[Symbol.dispose](){0!=this.ptr&&(o.TitleComponent_drop(this.ptr),this.ptr=0)}static new(){return new bs(o.TitleComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.TitleComponent_into_generic(this.ptr));return this.ptr=0,t}}class ws{ptr;icon(){if(0==this.ptr)throw"this is disposed";return m(o.TitleComponentState_icon(this.ptr))}line1(){if(0==this.ptr)throw"this is disposed";return m(o.TitleComponentState_line1(this.ptr))}line2(){if(0==this.ptr)throw"this is disposed";const t=o.TitleComponentState_line2(this.ptr);return 0==t?null:m(t)}isCentered(){if(0==this.ptr)throw"this is disposed";return 0!=o.TitleComponentState_is_centered(this.ptr)}showsFinishedRuns(){if(0==this.ptr)throw"this is disposed";return 0!=o.TitleComponentState_shows_finished_runs(this.ptr)}finishedRuns(){if(0==this.ptr)throw"this is disposed";return o.TitleComponentState_finished_runs(this.ptr)}showsAttempts(){if(0==this.ptr)throw"this is disposed";return 0!=o.TitleComponentState_shows_attempts(this.ptr)}attempts(){if(0==this.ptr)throw"this is disposed";return o.TitleComponentState_attempts(this.ptr)}constructor(t){this.ptr=t}}class ys extends ws{}class vs extends ys{[Symbol.dispose](){0!=this.ptr&&(o.TitleComponentState_drop(this.ptr),this.ptr=0)}}class Ss{ptr;constructor(t){this.ptr=t}}class xs extends Ss{stateAsJson(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";const e=o.TotalPlaytimeComponent_state_as_json(this.ptr,t.ptr);return JSON.parse(m(e))}state(t){if(0==this.ptr)throw"this is disposed";if(0==t.ptr)throw"timer is disposed";return new gt(o.TotalPlaytimeComponent_state(this.ptr,t.ptr))}}class _s extends xs{[Symbol.dispose](){0!=this.ptr&&(o.TotalPlaytimeComponent_drop(this.ptr),this.ptr=0)}static new(){return new _s(o.TotalPlaytimeComponent_new())}intoGeneric(){if(0==this.ptr)throw"this is disposed";const t=new R(o.TotalPlaytimeComponent_into_generic(this.ptr));return this.ptr=0,t}}let Es=null;function Cs(){return new Promise(((t,e)=>{const s=document.createElement("input");s.setAttribute("type","file"),s.onchange=()=>{const i=s.files?.[0];void 0!==i?t(i):e()},s.click(),Es=s}))}async function ks(t){return new Promise((e=>{const s=new FileReader;s.onload=()=>{const i=s.result;null!=i&&e([i,t])},s.readAsArrayBuffer(t)}))}async function Ts(){return ks(await Cs())}async function Ns(t){return new Promise((e=>{const s=new FileReader;s.onload=()=>{const i=s.result;null!=i&&e([i,t])},s.readAsText(t)}))}function As(t,e){const s=URL.createObjectURL(new Blob([e],{type:"application/octet-stream"}));try{const e=document.createElement("a");e.setAttribute("href",s),e.setAttribute("download",t),e.style.display="none",document.body.appendChild(e);try{e.click()}finally{document.body.removeChild(e)}}finally{URL.revokeObjectURL(s)}}var Rs=s(426);function Ls(t,e){return null!=t?t:Ds(e)}function Ds(t){throw Rs.toast.error(`Bug: ${t}`),new Error(t)}function Os(t,e){t||Ds(e)}function Ps(t,e){null!=t&&(t[Symbol.dispose]?.(),Ds(e))}function Is(t,e){null!=t&&(t[Symbol.dispose](),e())}function Vs(t,e){return null!=t?e(t):void 0}var Bs,zs,Gs=function(t){return function(e){function s(s){e.error=e.hasError?new t(s,e.error,"An error was suppressed during disposal."):s,e.hasError=!0}return function t(){for(;e.stack.length;){var i=e.stack.pop();try{var r=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(r).then(t,(function(e){return s(e),t()}))}catch(t){s(t)}}if(e.hasError)throw e.error}()}}("function"==typeof SuppressedError?SuppressedError:function(t,e,s){var i=new Error(s);return i.name="SuppressedError",i.error=t,i.suppressed=e,i});function Us(t,e){return t.catch((t=>{throw e}))}async function Ms(t,e,s){const i=await Us(fetch(t,e),s);if(!i.ok)throw s;return i}async function Fs(t){const e=await Ms("https://splits.io/api/v4/runs",{method:"POST"},Bs.ApiRequestErrored),s=await Us(e.json(),Bs.InvalidJsonResponse),i=s.uris.claim_uri,r=s.presigned_request,o=new FormData,n=r.fields;return o.append("key",n.key),o.append("policy",n.policy),o.append("x-amz-credential",n["x-amz-credential"]),o.append("x-amz-algorithm",n["x-amz-algorithm"]),o.append("x-amz-date",n["x-amz-date"]),o.append("x-amz-signature",n["x-amz-signature"]),o.append("file",t),await Ms(r.uri,{method:r.method,body:o},Bs.UploadRequestErrored),i}async function Hs(t){const e={stack:[],error:void 0,hasError:!1};try{const s=await Ms(`https://splits.io/api/v4/runs/${t}`,{headers:new Headers({Accept:"application/original-timer"})},zs.ApiRequestErrored),i=await Us(s.arrayBuffer(),zs.InvalidBuffer),r=function(t,e,s){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var i;if(s){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose]}if("function"!=typeof i)throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:i,async:s})}else s&&t.stack.push({async:!0});return e}(e,Kt.parseArray(new Uint8Array(i),""),!1);if(r.parsedSuccessfully())return r.unwrap();throw zs.FailedParsing}catch(t){e.error=t,e.hasError=!0}finally{Gs(e)}}!function(t){t[t.ApiRequestErrored=0]="ApiRequestErrored",t[t.InvalidJsonResponse=1]="InvalidJsonResponse",t[t.UploadRequestErrored=2]="UploadRequestErrored"}(Bs||(Bs={})),function(t){t[t.ApiRequestErrored=0]="ApiRequestErrored",t[t.InvalidBuffer=1]="InvalidBuffer",t[t.FailedParsing=2]="FailedParsing"}(zs||(zs={}));var Ws=s(5260),js=s(5189);function Js(t){return`rgba(${Math.round(255*t[0])},${Math.round(255*t[1])},${Math.round(255*t[2])},${t[3]})`}var $s=s(5072),Ks=s.n($s),qs=s(7825),Ys=s.n(qs),Qs=s(7659),Zs=s.n(Qs),Xs=s(5056),ti=s.n(Xs),ei=s(540),si=s.n(ei),ii=s(1113),ri=s.n(ii),oi=s(7330),ni={};ni.styleTagTransform=ri(),ni.setAttributes=ti(),ni.insert=Zs().bind(null,"head"),ni.domAPI=Ys(),ni.insertStyleElement=si(),Ks()(oi.A,ni),oi.A&&oi.A.locals&&oi.A.locals;class ai extends i.Component{constructor(t){super(t),this.state={display:!1}}render(){return i.createElement("div",null,i.createElement("div",{className:"color-picker-button",style:{background:Js(this.props.color)},onClick:t=>this.handleClick()}),i.createElement("div",{style:{margin:"0 auto",width:"0"}},this.state.display&&i.createElement("div",{style:{position:"absolute",textShadow:"initial",zIndex:3}},i.createElement("div",{style:{bottom:"0px",left:"0px",position:"fixed",right:"0px",top:"0px"},onClick:t=>this.handleClose()}),i.createElement(js.xk,{color:(t=this.props.color,{r:255*t[0],g:255*t[1],b:255*t[2],a:t[3]}),onChange:t=>this.props.setColor(function(t){return[t.r/255,t.g/255,t.b/255,void 0!==t.a?t.a:1]}(t.rgb))}))));var t}handleClick(){this.setState({display:!this.state.display})}handleClose(){this.setState({display:!1})}}var li=s(2991),pi={};function di(t){return Ls(Oo,"The Hotkey System should always be initialized.").resolve(t)}pi.styleTagTransform=ri(),pi.setAttributes=ti(),pi.insert=Zs().bind(null,"head"),pi.domAPI=Ys(),pi.insertStyleElement=si(),Ks()(li.A,pi),li.A&&li.A.locals&&li.A.locals;class ci extends i.Component{constructor(t){super(t),this.state={listener:null,intervalHandle:null}}render(){const t=this.props.value;let e=null;if(null!=t){const s=t.match(/(.+)\+\s*(.+)$/);e=null!=s?`${s[1]}+ ${di(s[2])}`:di(t)}else null!=this.state.listener&&(e=i.createElement("i",{className:"fa fa-circle","aria-hidden":"true"}));return i.createElement("div",{className:"hotkey-box"},i.createElement("button",{className:"hotkey-button tooltip "+(null!=this.state.listener?"focused":""),onClick:()=>this.focusButton()},e,i.createElement("span",{className:"tooltip-text"},"Click to record a hotkey. You may also use buttons on a gamepad. Global hotkeys are currently not possible. Gamepad buttons work globally.")),Vs(this.props.value,(()=>i.createElement("button",{className:"hotkey-clear",onClick:()=>this.props.setValue(null)},i.createElement("i",{className:"fa fa-trash","aria-hidden":"true"})))),null!=this.state.listener&&i.createElement("div",{style:{bottom:"0px",left:"0px",position:"fixed",right:"0px",top:"0px",zIndex:5},onClick:()=>this.blurButton()}))}focusButton(){let t=this.state.listener,e=this.state.intervalHandle;if(null===t&&(t={handleEvent:t=>{if(t.repeat)return;let e="";t.ctrlKey&&"ControlLeft"!==t.code&&"ControlRight"!==t.code&&(e+="Ctrl + "),t.altKey&&"AltLeft"!==t.code&&"AltRight"!==t.code&&(e+="Alt + "),t.metaKey&&"MetaLeft"!==t.code&&"MetaRight"!==t.code&&(e+="Meta + "),t.shiftKey&&"ShiftLeft"!==t.code&&"ShiftRight"!==t.code&&(e+="Shift + "),e+=t.code,this.props.setValue(e),t.preventDefault()}},window.addEventListener("keydown",t)),null===e){const t=[];e=window.setInterval((()=>{const e=navigator.getGamepads();let s=0;for(const i of e){if(s>=t.length&&(t[s]=[]),null!==i){let e=0;for(const r of i.buttons){const i=t[s]?.[e]??!1;r.pressed&&!i&&this.props.setValue(`Gamepad${e}`),t[s][e]=r.pressed,e++}}s++}}),1e3/60)}this.setState({listener:t,intervalHandle:e})}blurButton(){null!=this.state.listener&&window.removeEventListener("keydown",this.state.listener),null!=this.state.intervalHandle&&window.clearTimeout(this.state.intervalHandle),this.setState({listener:null,intervalHandle:null})}}var hi=s(5384),ui=(s(4131),s(6796)),mi={};mi.styleTagTransform=ri(),mi.setAttributes=ti(),mi.insert=Zs().bind(null,"head"),mi.domAPI=Ys(),mi.insertStyleElement=si(),Ks()(ui.A,mi),ui.A&&ui.A.locals&&ui.A.locals;class gi extends i.Component{constructor(t){super(t)}render(){return i.createElement("div",{className:"toggle-checkbox"},i.createElement(hi.A,{checked:this.props.value,icons:!1,onChange:t=>this.props.setValue(t.target.checked)}))}}let fi=!1,bi=[];const wi=new Map,yi=[["thin","thin","Thin"],["extralight","extra-light","Extra Light"],["light","light","Light"],["semilight","semi-light","Semi Light"],["normal","normal","Normal"],["medium","medium","Medium"],["semibold","semi-bold","Semi Bold"],["bold","bold","Bold"],["extrabold","extra-bold","Extra Bold"],["black","black","Black"],["extrablack","extra-black","Extra Black"]],vi=[["ultracondensed","ultra-condensed","Ultra Condensed"],["extracondensed","extra-condensed","Extra Condensed"],["condensed","condensed","Condensed"],["semicondensed","semi-condensed","Semi Condensed"],["normal","normal","Normal"],["semiexpanded","semi-expanded","Semi Expanded"],["expanded","expanded","Expanded"],["extraexpanded","extra-expanded","Extra Expanded"],["ultraexpanded","ultra-expanded","Ultra Expanded"]];var Si=s(1072),xi={};xi.styleTagTransform=ri(),xi.setAttributes=ti(),xi.insert=Zs().bind(null,"head"),xi.domAPI=Ys(),xi.insertStyleElement=si(),Ks()(Si.A,xi),Si.A&&Si.A.locals&&Si.A.locals;var _i=s(5594),Ei={};Ei.styleTagTransform=ri(),Ei.setAttributes=ti(),Ei.insert=Zs().bind(null,"head"),Ei.domAPI=Ys(),Ei.insertStyleElement=si(),Ks()(_i.A,Ei),_i.A&&_i.A.locals&&_i.A.locals;class Ci{fromBool(t){return{Bool:t}}fromUint(t){throw new Error("Not implemented")}fromInt(t){throw new Error("Not implemented")}fromString(t){return{String:t}}fromOptionalString(t){throw new Error("Not implemented")}fromOptionalEmptyString(){throw new Error("Not implemented")}fromRemovableString(t){return{RemovableString:t}}fromRemovableEmptyString(){return{RemovableString:null}}fromAccuracy(t){throw new Error("Not implemented")}fromDigitsFormat(t){throw new Error("Not implemented")}fromOptionalTimingMethod(t){throw new Error("Not implemented")}fromOptionalEmptyTimingMethod(){throw new Error("Not implemented")}fromColor(){throw new Error("Not implemented")}fromOptionalColor(){throw new Error("Not implemented")}fromOptionalEmptyColor(){throw new Error("Not implemented")}fromTransparentGradient(){throw new Error("Not implemented")}fromVerticalGradient(){throw new Error("Not implemented")}fromHorizontalGradient(){throw new Error("Not implemented")}fromAlternatingGradient(){throw new Error("Not implemented")}fromAlignment(t){throw new Error("Not implemented")}fromColumnKind(t){throw new Error("Not implemented")}fromColumnStartWith(t){throw new Error("Not implemented")}fromColumnUpdateWith(t){throw new Error("Not implemented")}fromColumnUpdateTrigger(t){throw new Error("Not implemented")}fromLayoutDirection(t){throw new Error("Not implemented")}fromFont(t,e,s,i){throw new Error("Not implemented")}fromEmptyFont(){throw new Error("Not implemented")}fromDeltaGradient(t){throw new Error("Not implemented")}fromBackgroundImage(t,e,s,i){throw new Error("Not implemented")}}class ki extends i.Component{render(){const t=[],{factory:e}=this.props;return this.props.state.fields.forEach(((s,r)=>{const{value:o}=s;let n;if("Bool"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement(gi,{value:o.Bool,setValue:t=>{this.props.setValue(r,e.fromBool(t))}}));else if("UInt"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("input",{type:"number",className:"number",value:o.UInt,min:"0",onChange:t=>{this.props.setValue(r,e.fromUint(t.target.valueAsNumber))}}));else if("Int"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("input",{type:"number",className:"number",value:o.Int,onChange:t=>{this.props.setValue(r,e.fromInt(t.target.valueAsNumber))}}));else if("String"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("input",{value:o.String,onChange:t=>{this.props.setValue(r,e.fromString(t.target.value))}}));else if("OptionalString"in o)if("string"==typeof s.text&&/^Comparison( \d)?$/.test(s.text))n=i.createElement("div",{className:"settings-value-box"},i.createElement("select",{value:o.OptionalString??"",onChange:t=>{""!==t.target.value?this.props.setValue(r,e.fromOptionalString(t.target.value)):this.props.setValue(r,e.fromOptionalEmptyString())}},i.createElement("option",{value:""},"Current Comparison"),this.props.allComparisons.map((t=>i.createElement("option",null,t)))));else{const t=[i.createElement(gi,{value:null!==o.OptionalString,setValue:t=>{t?this.props.setValue(r,e.fromOptionalString("")):this.props.setValue(r,e.fromOptionalEmptyString())}})];null!==o.OptionalString&&t.push(i.createElement("input",{value:o.OptionalString,onChange:t=>{this.props.setValue(r,e.fromOptionalString(t.target.value))}})),n=i.createElement("div",{className:"settings-value-box optional-value"},t)}else if("RemovableString"in o)n=i.createElement("div",{className:"settings-value-box removable-string"},i.createElement("input",{value:o.RemovableString||"",onChange:t=>{if(!e.fromRemovableString)throw Error("Method is not implemented");this.props.setValue(r,e.fromRemovableString(t.target.value))}}),i.createElement("button",{onClick:()=>{if(!e.fromRemovableEmptyString)throw Error("Method is not implemented");this.props.setValue(r,e.fromRemovableEmptyString())}},i.createElement("i",{className:"fa fa-trash","aria-hidden":"true"})));else if("Accuracy"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("select",{value:o.Accuracy,onChange:t=>{this.props.setValue(r,Ls(e.fromAccuracy(t.target.value),"Unexpected Accuracy"))}},i.createElement("option",{value:"Seconds"},"Seconds"),i.createElement("option",{value:"Tenths"},"Tenths"),i.createElement("option",{value:"Hundredths"},"Hundredths"),i.createElement("option",{value:"Milliseconds"},"Milliseconds")));else if("DigitsFormat"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("select",{value:o.DigitsFormat,onChange:t=>{this.props.setValue(r,Ls(e.fromDigitsFormat(t.target.value),"Unexpected Digits Format"))}},i.createElement("option",{value:"SingleDigitSeconds"},"1"),i.createElement("option",{value:"DoubleDigitSeconds"},"01"),i.createElement("option",{value:"SingleDigitMinutes"},"0:01"),i.createElement("option",{value:"DoubleDigitMinutes"},"00:01"),i.createElement("option",{value:"SingleDigitHours"},"0:00:01"),i.createElement("option",{value:"DoubleDigitHours"},"00:00:01")));else if("Color"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement(ai,{color:o.Color,setColor:t=>{this.props.setValue(r,e.fromColor(t[0],t[1],t[2],t[3]))}}));else if("OptionalColor"in o){const t=[];null!==o.OptionalColor&&t.push(i.createElement(ai,{color:o.OptionalColor,setColor:t=>{this.props.setValue(r,e.fromOptionalColor(t[0],t[1],t[2],t[3]))}})),n=i.createElement("div",{className:"settings-value-box optional-value"},i.createElement(gi,{value:null!==o.OptionalColor,setValue:t=>{t?this.props.setValue(r,e.fromOptionalColor(1,1,1,1)):this.props.setValue(r,e.fromOptionalEmptyColor())}}),t)}else if("Gradient"in o){let t,s=null,a=null;const l=o.Gradient;"Transparent"!==l?(t=Object.keys(l)[0],"Plain"in l?s=l.Plain:"Vertical"in l?[s,a]=l.Vertical:"Horizontal"in l&&([s,a]=l.Horizontal)):t="Transparent";const p=(t,s,i)=>{switch(s=s||[0,0,0,0],i=i||s,t){case"Transparent":return e.fromTransparentGradient();case"Plain":return e.fromColor(s[0],s[1],s[2],s[3]);case"Vertical":return e.fromVerticalGradient(s[0],s[1],s[2],s[3],i[0],i[1],i[2],i[3]);case"Horizontal":return e.fromHorizontalGradient(s[0],s[1],s[2],s[3],i[0],i[1],i[2],i[3]);default:throw new Error("Unexpected Gradient Type")}},d=[i.createElement("select",{value:t,onChange:t=>{this.props.setValue(r,p(t.target.value,s,a))}},i.createElement("option",{value:"Transparent"},"Transparent"),i.createElement("option",{value:"Plain"},"Plain"),i.createElement("option",{value:"Vertical"},"Vertical"),i.createElement("option",{value:"Horizontal"},"Horizontal"))];s&&d.push(i.createElement(ai,{color:s,setColor:e=>{this.props.setValue(r,p(t,e,a))}})),a&&d.push(i.createElement(ai,{color:a,setColor:e=>{this.props.setValue(r,p(t,s,e))}})),n=a?i.createElement("div",{className:"settings-value-box two-colors"},d):s?i.createElement("div",{className:"settings-value-box one-color"},d):i.createElement("div",{className:"settings-value-box"},d)}else if("ListGradient"in o){let t,s=null,a=null;const l=o.ListGradient;if("Alternating"in l)t=Object.keys(l)[0],[s,a]=l.Alternating;else{const e=l.Same;"Transparent"!==e?(t=Object.keys(e)[0],"Plain"in e?s=e.Plain:"Vertical"in e?[s,a]=e.Vertical:"Horizontal"in e&&([s,a]=e.Horizontal)):t="Transparent"}const p=(t,s,i)=>{switch(s=s||[0,0,0,0],i=i||s,t){case"Transparent":return e.fromTransparentGradient();case"Plain":return e.fromColor(s[0],s[1],s[2],s[3]);case"Vertical":return e.fromVerticalGradient(s[0],s[1],s[2],s[3],i[0],i[1],i[2],i[3]);case"Horizontal":return e.fromHorizontalGradient(s[0],s[1],s[2],s[3],i[0],i[1],i[2],i[3]);case"Alternating":return e.fromAlternatingGradient(s[0],s[1],s[2],s[3],i[0],i[1],i[2],i[3]);default:throw new Error("Unexpected Gradient Type")}},d=[i.createElement("select",{value:t,onChange:t=>{this.props.setValue(r,p(t.target.value,s,a))}},i.createElement("option",{value:"Transparent"},"Transparent"),i.createElement("option",{value:"Plain"},"Plain"),i.createElement("option",{value:"Vertical"},"Vertical"),i.createElement("option",{value:"Horizontal"},"Horizontal"),i.createElement("option",{value:"Alternating"},"Alternating"))];s&&d.push(i.createElement(ai,{color:s,setColor:e=>{this.props.setValue(r,p(t,e,a))}})),a&&d.push(i.createElement(ai,{color:a,setColor:e=>{this.props.setValue(r,p(t,s,e))}})),n=a?i.createElement("div",{className:"settings-value-box two-colors"},d):s?i.createElement("div",{className:"settings-value-box one-color"},d):i.createElement("div",{className:"settings-value-box"},d)}else if("OptionalTimingMethod"in o){const t=[i.createElement(gi,{value:null!==o.OptionalTimingMethod,setValue:t=>{t?this.props.setValue(r,Ls(e.fromOptionalTimingMethod("RealTime"),"Unexpected Optional Timing Method")):this.props.setValue(r,e.fromOptionalEmptyTimingMethod())}})];null!==o.OptionalTimingMethod&&t.push(i.createElement("select",{value:o.OptionalTimingMethod,onChange:t=>{this.props.setValue(r,Ls(e.fromOptionalTimingMethod(t.target.value),"Unexpected Optional Timing Method"))}},i.createElement("option",{value:"RealTime"},"Real Time"),i.createElement("option",{value:"GameTime"},"Game Time"))),n=i.createElement("div",{className:"settings-value-box optional-value"},t)}else if("Alignment"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("select",{value:o.Alignment,onChange:t=>{this.props.setValue(r,Ls(e.fromAlignment(t.target.value),"Unexpected Alignment"))}},i.createElement("option",{value:"Auto"},"Automatic"),i.createElement("option",{value:"Left"},"Left"),i.createElement("option",{value:"Center"},"Center")));else if("ColumnKind"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("select",{value:o.ColumnKind,onChange:t=>{this.props.setValue(r,Ls(e.fromColumnKind(t.target.value),"Unexpected Column Kind value"))}},i.createElement("option",{value:"Time"},"Time"),i.createElement("option",{value:"Variable"},"Variable")));else if("ColumnStartWith"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("select",{value:o.ColumnStartWith,onChange:t=>{this.props.setValue(r,Ls(e.fromColumnStartWith(t.target.value),"Unexpected Column Start With value"))}},i.createElement("option",{value:"Empty"},"Empty"),i.createElement("option",{value:"ComparisonTime"},"Comparison Time"),i.createElement("option",{value:"ComparisonSegmentTime"},"Comparison Segment Time"),i.createElement("option",{value:"PossibleTimeSave"},"Possible Time Save")));else if("ColumnUpdateWith"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("select",{value:o.ColumnUpdateWith,onChange:t=>{this.props.setValue(r,Ls(e.fromColumnUpdateWith(t.target.value),"Unexpected Column Update With value"))}},i.createElement("option",{value:"DontUpdate"},"Don't Update"),i.createElement("option",{value:"SplitTime"},"Split Time"),i.createElement("option",{value:"Delta"},"Time Ahead / Behind"),i.createElement("option",{value:"DeltaWithFallback"},"Time Ahead / Behind or Split Time If Empty"),i.createElement("option",{value:"SegmentTime"},"Segment Time"),i.createElement("option",{value:"SegmentDelta"},"Time Saved / Lost"),i.createElement("option",{value:"SegmentDeltaWithFallback"},"Time Saved / Lost or Segment Time If Empty")));else if("ColumnUpdateTrigger"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("select",{value:o.ColumnUpdateTrigger,onChange:t=>{this.props.setValue(r,Ls(e.fromColumnUpdateTrigger(t.target.value),"Unexpected Column Update Trigger value"))}},i.createElement("option",{value:"OnStartingSegment"},"On Starting Segment"),i.createElement("option",{value:"Contextual"},"Contextual"),i.createElement("option",{value:"OnEndingSegment"},"On Ending Segment")));else if("CustomCombobox"in o){const t=o.CustomCombobox.mandatory&&!o.CustomCombobox.value;n=i.createElement("div",{className:"settings-value-box"},i.createElement("select",{value:o.CustomCombobox.value,onChange:t=>{this.props.setValue(r,e.fromString(t.target.value))},style:{border:t?"1px solid rgb(255, 0, 0)":void 0}},o.CustomCombobox.list.map((t=>i.createElement("option",{value:t},t)))))}else if("Hotkey"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement(ci,{value:o.Hotkey,setValue:t=>{null!=t?this.props.setValue(r,e.fromOptionalString(t)):this.props.setValue(r,e.fromOptionalEmptyString())}}));else if("LayoutDirection"in o)n=i.createElement("div",{className:"settings-value-box"},i.createElement("select",{value:o.LayoutDirection,onChange:t=>{this.props.setValue(r,Ls(e.fromLayoutDirection(t.target.value),"Unexpected Layout Direction"))}},i.createElement("option",{value:"Vertical"},"Vertical"),i.createElement("option",{value:"Horizontal"},"Horizontal")));else if("Font"in o){const t=[i.createElement(gi,{value:null!==o.Font,setValue:t=>{t?this.props.setValue(r,Ls(e.fromFont("","normal","normal","normal"),"Unexpected Font")):this.props.setValue(r,e.fromEmptyFont())}})];if(null!==o.Font){a=()=>this.setState({}),fi||(fi=!0,"queryLocalFonts"in window&&window.queryLocalFonts().then((t=>{try{for(const e of t){wi.has(e.family)||wi.set(e.family,new Set(["normal","bold"]));const t=wi.get(e.family),s=e.style.toLowerCase().split(" ");for(const[e,i]of vi)s.includes(e)&&t.add(i);for(const[e,i]of yi)s.includes(e)&&t.add(i)}bi=Array.from(wi.keys()),a()}catch{}})));const{family:s,style:n,weight:l,stretch:p}=o.Font,d=wi.get(s);bi.length>0?t.push(i.createElement("select",{style:{fontFamily:s},value:s,onChange:t=>{this.props.setValue(r,Ls(e.fromFont(t.target.value,n,l,p),"Unexpected Font"))}},i.createElement("option",{value:""}),bi.map((t=>i.createElement("option",{value:t,style:{fontFamily:t}},t))))):t.push(i.createElement("input",{value:s,onChange:t=>{this.props.setValue(r,Ls(e.fromFont(t.target.value,n,l,p),"Unexpected Font"))}})),t.push(i.createElement(i.Fragment,null,"Style"),i.createElement("select",{value:n,onChange:t=>{this.props.setValue(r,Ls(e.fromFont(s,t.target.value,l,p),"Unexpected Font"))}},i.createElement("option",{value:"normal"},"Normal"),i.createElement("option",{value:"italic"},"Italic")),i.createElement(i.Fragment,null,"Weight"),i.createElement("select",{value:l,onChange:t=>{this.props.setValue(r,Ls(e.fromFont(s,n,t.target.value,p),"Unexpected Font"))}},yi.map((([t,e,s])=>i.createElement("option",{style:{color:d?.has(e)?"white":"grey"},value:e},s)))),i.createElement(i.Fragment,null,"Stretch"),i.createElement("select",{value:p,onChange:t=>{this.props.setValue(r,Ls(e.fromFont(s,n,l,t.target.value),"Unexpected Font"))}},vi.map((([t,e,s])=>i.createElement("option",{style:{color:d?.has(e)?"white":"grey"},value:e},s)))))}n=i.createElement("div",{className:"settings-value-box optional-value"},t)}else if("DeltaGradient"in o){let t,s=null,a=null;const l=o.DeltaGradient;"string"!=typeof l?([t]=Object.keys(l),"Plain"in l?s=l.Plain:"Vertical"in l?[s,a]=l.Vertical:"Horizontal"in l&&([s,a]=l.Horizontal)):t=l;const p=(t,s,i)=>{switch(s=s||[0,0,0,0],i=i||s,t){case"Transparent":return e.fromTransparentGradient();case"Plain":return e.fromColor(s[0],s[1],s[2],s[3]);case"Vertical":return e.fromVerticalGradient(s[0],s[1],s[2],s[3],i[0],i[1],i[2],i[3]);case"Horizontal":return e.fromHorizontalGradient(s[0],s[1],s[2],s[3],i[0],i[1],i[2],i[3]);default:return Ls(e.fromDeltaGradient(t),"Unexpected Gradient Type")}},d=[i.createElement("select",{value:t,onChange:t=>{this.props.setValue(r,p(t.target.value,s,a))}},i.createElement("option",{value:"Transparent"},"Transparent"),i.createElement("option",{value:"Plain"},"Plain"),i.createElement("option",{value:"Vertical"},"Vertical"),i.createElement("option",{value:"Horizontal"},"Horizontal"),i.createElement("option",{value:"DeltaPlain"},"Plain Delta"),i.createElement("option",{value:"DeltaVertical"},"Vertical Delta"),i.createElement("option",{value:"DeltaHorizontal"},"Horizontal Delta"))];s&&d.push(i.createElement(ai,{color:s,setColor:e=>{this.props.setValue(r,p(t,e,a))}})),a&&d.push(i.createElement(ai,{color:a,setColor:e=>{this.props.setValue(r,p(t,s,e))}})),n=a?i.createElement("div",{className:"settings-value-box two-colors"},d):s?i.createElement("div",{className:"settings-value-box one-color"},d):i.createElement("div",{className:"settings-value-box"},d)}else if("LayoutBackground"in o){let t,s=null,a=null,l="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",p=100,d=100,c=0;const h=o.LayoutBackground,u=[],m=(t,s,i)=>{switch(s=s||[0,0,0,0],i=i||s,t){case"Transparent":return e.fromTransparentGradient();case"Plain":return e.fromColor(s[0],s[1],s[2],s[3]);case"Vertical":return e.fromVerticalGradient(s[0],s[1],s[2],s[3],i[0],i[1],i[2],i[3]);case"Horizontal":return e.fromHorizontalGradient(s[0],s[1],s[2],s[3],i[0],i[1],i[2],i[3]);default:return Ls(e.fromBackgroundImage(l,p/100,d/100,c/100),"Unexpected layout background")}};if("string"!=typeof h){if([t]=Object.keys(h),"Plain"in h)s=h.Plain;else if("Vertical"in h)[s,a]=h.Vertical;else if("Horizontal"in h)[s,a]=h.Horizontal;else if("image"in h){l=h.image,p=100*h.brightness,d=100*h.opacity,c=100*h.blur,t="Image";const o=this.props.editorUrlCache.cache(l);u.push(i.createElement("div",{className:"color-picker-button",style:{background:`url("${o}") center / cover`},onClick:async t=>{const[s]=await Ts(),i=this.props.editorUrlCache.imageCache.cacheFromArray(new Uint8Array(s),!0);this.props.editorUrlCache.cache(i);const o=Ls(e.fromBackgroundImage(i,p/100,d/100,c/100),"Unexpected layout background");this.props.setValue(r,o)}}),i.createElement("div",{style:{gridTemplateColumns:"max-content 1fr",columnGap:"8px",rowGap:"8px",alignItems:"center",display:"grid",gridColumn:"1 / 3"}},"Brightness",i.createElement("input",{type:"range",min:"0",max:"100",value:p,onChange:e=>{p=Number(e.target.value),this.props.setValue(r,m(t,s,a))}}),"Opacity",i.createElement("input",{type:"range",min:"0",max:"100",value:d,onChange:e=>{d=Number(e.target.value),this.props.setValue(r,m(t,s,a))}}),"Blur",i.createElement("input",{type:"range",min:"0",max:"100",value:c,onChange:e=>{c=Number(e.target.value),this.props.setValue(r,m(t,s,a))}})))}}else t=h;u.splice(0,0,i.createElement("select",{value:t,onChange:t=>{this.props.setValue(r,m(t.target.value,s,a))}},i.createElement("option",{value:"Transparent"},"Transparent"),i.createElement("option",{value:"Plain"},"Plain"),i.createElement("option",{value:"Vertical"},"Vertical"),i.createElement("option",{value:"Horizontal"},"Horizontal"),i.createElement("option",{value:"Image"},"Image"))),s&&u.push(i.createElement(ai,{color:s,setColor:e=>{this.props.setValue(r,m(t,e,a))}})),a&&u.push(i.createElement(ai,{color:a,setColor:e=>{this.props.setValue(r,m(t,s,e))}})),n=a?i.createElement("div",{className:"settings-value-box two-colors"},u):s||"Image"===t?i.createElement("div",{className:"settings-value-box one-color"},u):i.createElement("div",{className:"settings-value-box"},u)}else"ServerConnection"in o&&(n=i.createElement("div",{className:"settings-value-box"},i.createElement("button",{className:"livesplit-server-button",onClick:t=>this.connectToServerOrDisconnect(r,o.ServerConnection.url,o.ServerConnection.connection)},(()=>{switch(o.ServerConnection.connection?.getConnectionState()??WebSocket.CLOSED){case WebSocket.OPEN:return i.createElement("div",null,"Disconnect");case WebSocket.CLOSED:return i.createElement("div",null,"Connect");case WebSocket.CONNECTING:return i.createElement("div",null,"Connecting...");case WebSocket.CLOSING:return i.createElement("div",null,"Disconnecting...");default:throw new Error("Unknown WebSocket State")}})())));var a;t.push(i.createElement("tr",{key:`${this.props.context}$${r}`},i.createElement("td",{className:"tooltip"},s.text,i.createElement("span",{className:"tooltip-text"},s.tooltip)),i.createElement("td",null,n)))})),i.createElement("table",{className:"table settings-table"},i.createElement("tbody",{className:"table-body"},t))}connectToServerOrDisconnect(t,e,s){if(s)return void s.close();const i=prompt("Specify the WebSocket URL:",e);i&&this.props.setValue(t,this.props.factory.fromString(i))}}var Ti=s(6036);const Ni="Match Screen",Ai="Battery Aware";let Ri=Ni;switch(navigator.platform){case"iPhone":case"iPad":case"Android":Ri=30}let Li=Ri,Di=Ni;function Oi(){Li="string"==typeof Ri?Di:"string"==typeof Di?Ri:Math.min(Ri,Di)}"PressureObserver"in window&&(async()=>{try{const t=new window.PressureObserver((t=>{switch(t[0].state){case"serious":Di=30;break;case"critical":Di=10;break;default:Di=Ni}Oi()}));await t.observe("cpu",{sampleInterval:2e3})}catch{}})(),(async()=>{try{const t=await navigator.getBattery();t.onchargingchange=()=>{Ri=!0===t.charging?Ni:30,Oi()}}catch{}})();class Pi extends i.Component{reqId;previousTime=0;componentDidMount(){this.startAnimation()}componentWillUnmount(){this.reqId&&cancelAnimationFrame(this.reqId)}render(){return this.props.children}startAnimation(){this.previousTime=0,this.animate()}animate(){this.reqId=requestAnimationFrame((()=>this.animate()));let t=this.props.frameRate;if(t===Ai&&(t=Li),"number"==typeof t){const e=performance.now(),s=e-this.previousTime,i=1e3/t;if(sthis.refreshLayout()},i.createElement("div",{className:"layout",style:{width:this.props.width,height:this.props.height}},i.createElement("div",{style:{width:"inherit",height:"inherit"},ref:t=>t?.appendChild(this.props.renderer.element())}),this.props.allowResize&&i.createElement("div",{className:"resizable-layout"},i.createElement(Ti.ResizableBox,{axis:"x",width:this.props.width,height:this.props.height,minConstraints:[100,40],handle:i.createElement("div",{onClick:t=>t.stopPropagation(),className:"resizable-handle-east"}),onResize:(t,e)=>this.props.onResize(e.size.width,e.size.height)}),i.createElement(Ti.ResizableBox,{axis:"y",width:this.props.width,height:this.props.height,minConstraints:[100,40],handle:i.createElement("div",{onClick:t=>t.stopPropagation(),className:"resizable-handle-south"}),onResize:(t,e)=>this.props.onResize(e.size.width,e.size.height)}),i.createElement(Ti.ResizableBox,{axis:"both",width:this.props.width,height:this.props.height,minConstraints:[100,40],handle:i.createElement("div",{onClick:t=>t.stopPropagation(),className:"resizable-handle-south-east"}),onResize:(t,e)=>this.props.onResize(e.size.width,e.size.height)}))))}}var zi=s(390),Gi={};Gi.styleTagTransform=ri(),Gi.setAttributes=ti(),Gi.insert=Zs().bind(null,"head"),Gi.domAPI=Ys(),Gi.insertStyleElement=si(),Ks()(zi.A,Gi),zi.A&&zi.A.locals&&zi.A.locals;class Ui extends i.Component{constructor(t){super(t),this.state={editor:t.editor.stateAsJson(t.layoutEditorUrlCache.imageCache),showComponentSettings:!0},t.layoutEditorUrlCache.collect()}render(){const t=this.renderView(),e=this.renderSidebarContent();return this.props.callbacks.renderViewWithSidebar(t,e)}renderView(){const t=this.state.editor.components.map(((t,e)=>{let s="layout-editor-component";return e===this.state.editor.selected_component&&(s+=" selected"),i.createElement("tr",{key:e,onClick:t=>this.selectComponent(e),draggable:!0,onDragStart:t=>{t.dataTransfer.setData("text/plain",""),this.props.editor.select(e),this.update()},onDragOver:t=>{t.preventDefault&&t.preventDefault(),t.dataTransfer.dropEffect="move"},onDragEnd:t=>this.update(),onDrop:t=>(t.stopPropagation&&t.stopPropagation(),this.props.editor.moveComponent(e),!1)},i.createElement("td",{className:s},t))}));let e=null;const s=this.state.showComponentSettings?i.createElement(ki,{context:`component-settings$${this.state.editor.selected_component}`,factory:ke,state:this.state.editor.component_settings,editorUrlCache:this.props.layoutEditorUrlCache,allComparisons:this.props.allComparisons,setValue:(t,e)=>{this.props.editor.setComponentSettingsValue(t,e),this.update()}}):i.createElement(ki,{context:"layout-settings",factory:ke,state:this.state.editor.general_settings,editorUrlCache:this.props.layoutEditorUrlCache,allComparisons:this.props.allComparisons,setValue:(t,e)=>{this.props.editor.setGeneralSettingsValue(t,e,this.props.layoutEditorUrlCache.imageCache),this.update()}});return i.createElement("div",{className:"layout-editor-outer"},i.createElement("div",{className:"layout-editor-inner-container"},i.createElement("div",{className:"layout-editor-inner"},i.createElement("div",{className:"btn-group"},i.createElement(Ws.Rc,{id:"add-button-context-menu",ref:t=>e=t},i.createElement("button",{"aria-label":"Add Component",onClick:t=>{e&&e.handleContextClick(t)}},i.createElement("i",{className:"fa fa-plus","aria-hidden":"true"}))),i.createElement(Ws.tz,{id:"add-button-context-menu"},i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(bs)},"Title",i.createElement("span",{className:"tooltip-text"},"Shows the name of the game and the category that is being run. Additionally, the game icon, the attempt count, and the total number of successfully finished runs can be shown.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(tt)},"Graph",i.createElement("span",{className:"tooltip-text"},"Visualizes how far the current run has been ahead or behind the chosen comparison throughout the whole run. All the individual deltas are shown as points on the graph.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(De)},"Splits",i.createElement("span",{className:"tooltip-text"},"The main component for visualizing all the split times. Each segment is shown in a tabular fashion showing the segment icon, segment name, the delta compared to the chosen comparison, and the split time. The list provides scrolling functionality, so not every segment needs to be shown all the time.")),i.createElement(Ws.Dr,{divider:!0}),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(F)},"Detailed Timer",i.createElement("span",{className:"tooltip-text"},"Shows two timers, one for the total time of the current run and one showing the time of just the current segment. Other information, like segment times of up to two comparisons, the segment icon, and the segment name, can also be shown.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(os)},"Timer",i.createElement("span",{className:"tooltip-text"},"Shows the total time of the current run as a digital clock. The color of the time shown is based on a how well the current run is doing compared to the chosen comparison.")),i.createElement(Ws.Dr,{divider:!0}),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(O)},"Current Comparison",i.createElement("span",{className:"tooltip-text"},"Shows the name of the comparison that the timer is currently comparing against.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(V)},"Current Pace",i.createElement("span",{className:"tooltip-text"},'Shows a prediction for the current run\'s final time. The remainder of the run is predicted based on the chosen comparison for the component. For example, the "Best Segments" comparison can be chosen to show the best possible final time for the current run based on the Sum of Best Segments.')),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(G)},"Delta",i.createElement("span",{className:"tooltip-text"},"Shows how far ahead or behind the current run is compared to the chosen comparison.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(Vt)},"PB Chance",i.createElement("span",{className:"tooltip-text"},"Shows how likely it is for the active run to beat the personal best. If there is no active run, it shows the general chance of beating the personal best. During a run, it actively changes based on how well the run is going.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(Gt)},"Possible Time Save",i.createElement("span",{className:"tooltip-text"},'Shows how much time you can save on the current segment compared to the chosen comparison, based on the best segment time of the segment. This component also allows showing the "Total Possible Time Save" for the remainder of the current run.')),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(jt)},"Previous Segment",i.createElement("span",{className:"tooltip-text"},'Shows how much time was saved or lost during the previous segment based on the chosen comparison. Additionally, the potential time save for the previous segment can be displayed. This component switches to a "Live Segment" view that shows the active time loss whenever you are losing time on the current segment.')),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(be)},"Segment Time",i.createElement("span",{className:"tooltip-text"},"Shows the time for the current segment for the chosen comparison. If no comparison is specified it uses the timer's current comparison.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(Me)},"Sum of Best Segments",i.createElement("span",{className:"tooltip-text"},"Shows the fastest possible time to complete a run of the current category, based on information collected from all the previous runs. This often matches up with the sum of the best segment times of all the segments, but that may not always be the case, as skipped segments may introduce combined segments that may be faster than the actual sum of their best segment times. The name is therefore a bit misleading, but sticks around for historical reasons.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(We)},"Text",i.createElement("span",{className:"tooltip-text"},"Shows the text that you specify. This can either be a single centered text, or split up into a left and right text, which is suitable for a situation where you have a label and a value. There is also the option of showing a custom variable that you specify in the splits editor.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(_s)},"Total Playtime",i.createElement("span",{className:"tooltip-text"},"Shows the total amount of time that the current category has been played for.")),i.createElement(Ws.Dr,{divider:!0}),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(E)},"Blank Space",i.createElement("span",{className:"tooltip-text"},"An empty component that doesn't show anything other than a background. It mostly serves as padding between other components.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComponent(ve)},"Separator",i.createElement("span",{className:"tooltip-text"},"A simple component that just renders a separator between components."))),i.createElement("button",{"aria-label":"Remove Component",onClick:t=>this.removeComponent(),disabled:!this.state.editor.buttons.can_remove},i.createElement("i",{className:"fa fa-minus","aria-hidden":"true"})),i.createElement("button",{"aria-label":"Duplicate Component",onClick:t=>this.duplicateComponent()},i.createElement("i",{className:"fa fa-clone","aria-hidden":"true"})),i.createElement("button",{"aria-label":"Move Component Up",onClick:t=>this.moveComponentUp(),disabled:!this.state.editor.buttons.can_move_up},i.createElement("i",{className:"fa fa-arrow-up","aria-hidden":"true"})),i.createElement("button",{"aria-label":"Move Component Down",onClick:t=>this.moveComponentDown(),disabled:!this.state.editor.buttons.can_move_down},i.createElement("i",{className:"fa fa-arrow-down","aria-hidden":"true"}))),i.createElement("table",{className:"layout-editor-component-list table"},i.createElement("tbody",{className:"table-body"},t))),i.createElement("div",{className:"tab-bar layout-editor-tabs"},i.createElement("button",{className:"toggle-left"+(this.state.showComponentSettings?"":" button-pressed"),onClick:t=>{this.setState({showComponentSettings:!1})}},"Layout"),i.createElement("button",{className:"toggle-right"+(this.state.showComponentSettings?" button-pressed":""),onClick:t=>{this.setState({showComponentSettings:!0})}},"Component")),i.createElement("div",null,s)),i.createElement("div",{className:"layout-container"},i.createElement(Bi,{getState:()=>(this.props.eventSink.updateLayoutEditorLayoutState(this.props.editor,this.props.layoutState,this.props.layoutUrlCache.imageCache),this.props.layoutUrlCache.collect(),this.props.layoutState),layoutUrlCache:this.props.layoutUrlCache,allowResize:this.props.isDesktop,width:this.props.layoutWidth,height:this.props.layoutHeight,generalSettings:this.props.generalSettings,renderer:this.props.renderer,onResize:(t,e)=>this.props.callbacks.onResize(t,e)})))}renderSidebarContent(){return i.createElement("div",{className:"sidebar-buttons"},i.createElement("h1",null,"Layout Editor"),i.createElement("hr",null),i.createElement("div",{className:"small"},i.createElement("button",{className:"toggle-left",onClick:t=>this.props.callbacks.closeLayoutEditor(!0)},i.createElement("i",{className:"fa fa-check","aria-hidden":"true"})," OK"),i.createElement("button",{className:"toggle-right",onClick:t=>this.props.callbacks.closeLayoutEditor(!1)},i.createElement("i",{className:"fa fa-times","aria-hidden":"true"})," Cancel")))}update(t){this.setState({editor:this.props.editor.stateAsJson(this.props.layoutEditorUrlCache.imageCache),showComponentSettings:t??this.state.showComponentSettings}),this.props.layoutEditorUrlCache.collect()}selectComponent(t){this.props.editor.select(t),this.update(!0)}addComponent(t){this.props.editor.addComponent(t.new().intoGeneric()),this.update(!0)}removeComponent(){this.props.editor.removeComponent(),this.update()}moveComponentUp(){this.props.editor.moveComponentUp(),this.update()}moveComponentDown(){this.props.editor.moveComponentDown(),this.update()}duplicateComponent(){this.props.editor.duplicateComponent(),this.update()}}class Mi extends i.Component{render(){let t,e,s="group";return this.props.invalid&&(s+=" invalid"),this.props.small&&(s+=" small"),void 0!==this.props.list&&(t=this.props.list[0],e=i.createElement("datalist",{id:t},this.props.list[1].map(((t,e)=>i.createElement("option",{key:e,value:t}))))),i.createElement("div",{className:s},i.createElement("input",{list:t,type:"text",required:!0,className:this.props.className,value:this.props.value,onChange:this.props.onChange,onBlur:this.props.onBlur}),e,i.createElement("span",{className:"bar"}),i.createElement("label",null,this.props.label))}}const Fi="https://www.speedrun.com/api/v1/";function Hi(t){const e=t.filter((t=>""!==t.trim()));return 0!==e.length?`?${e.join("&")}`:""}function Wi(t){return`${Fi}games${t}`}function ji(t){return`${Fi}runs${t}`}async function Ji(t){const e=await fetch(t);return(await e.json()).data}class $i{elements;next;constructor(t,e){this.elements=t,this.next=e}async evaluateAll(){const t=this.elements;let e=this.next;for(;null!=e;)try{const s=await e();t.push(...s.elements),e=s.next}catch{break}return t}async iterElementsWith(t){let e=this.elements,s=this.next;for(;;){for(const s of e)if(!1===t(s))break;if(null==s)break;{const t=await s();e=t.elements,s=t.next}}}map(t){const e=Vs(this.next,(e=>async()=>(await e()).map(t)));return new $i(this.elements.map(t),e)}}async function Ki(t){const e=await fetch(t),{data:s,pagination:i}=await e.json();let r=null;if(null!=i.links){const t=i.links.find((t=>"next"===t.rel));if(null!=t){const e=t.uri;r=()=>Ki(e)}}return new $i(s,r)}const qi=[];let Yi=null;const Qi=new Map,Zi=new Map,Xi=new Map,tr=new Map,er=new Map,sr=new Map,ir=new Map,rr=new Map,or=new Map;let nr=null,ar=null,lr=null;function pr(t){return Xi.get(t)}function dr(t){const e=pr(t);if(void 0!==e)return tr.get(e)}function cr(t){const e=pr(t);if(void 0!==e)return sr.get(e)}function hr(){return Qi}function ur(){return Zi}function mr(t){let e=er.get(t);return void 0===e&&(e=(async()=>{const e=await async function(t){return Ji(Wi(`/${t}/categories`))}(t),s=e.filter((t=>"per-game"===t.type));return tr.set(t,s),e})(),er.set(t,e)),e}async function gr(t){await wr();const e=pr(t);return void 0!==e&&await mr(e),e}function fr(t){let e=ir.get(t);return void 0===e&&(e=(async()=>{const e=await async function(t,e){const s=[];return void 0!==e&&s.push(`embed=${e.join(",")}`),Ji(Wi(`/${t}${Hi(s)}`))}(t,["variables"]);return sr.set(t,e),e})(),ir.set(t,e)),e}async function br(t){await wr();const e=pr(t);void 0!==e&&await fr(e)}function wr(){return null==nr&&(nr=(async()=>{const t=await async function(t=1e3){return Ki(Wi(Hi(["_bulk=yes",`max=${t}`])))}();await t.iterElementsWith((t=>{qi.push(t.names.international),null==Yi&&(Yi=Q.new()),Yi.push(t.names.international),Xi.set(t.names.international,t.id)}))})()),nr}function yr(){return null==ar&&(ar=(async()=>{const t=await async function(t){const e=[];var s;return void 0!==t&&e.push(`max=${t}`),Ki((s=Hi(e),`${Fi}platforms${s}`))}();await t.iterElementsWith((t=>{Qi.set(t.id,t.name)}))})()),ar}function vr(){return null==lr&&(lr=(async()=>{const t=await async function(t){const e=[];var s;return void 0!==t&&e.push(`max=${t}`),Ki((s=Hi(e),`${Fi}regions${s}`))}();await t.iterElementsWith((t=>{Zi.set(t.id,t.name)}))})()),lr}function Sr(t,e){const s=t%60,i=Math.floor(t/60),r=i%60,o=Math.floor(i/60),n={minimumIntegerDigits:2,minimumFractionDigits:e?0:3,maximumFractionDigits:e?0:3};return o>0?`${o}:${r.toLocaleString("en-GB",{minimumIntegerDigits:2})}:${s.toLocaleString("en-GB",n)}`:`${r}:${s.toLocaleString("en-GB",n)}`}function xr(t){return i.createElement("div",{className:"video-outer-container"},i.createElement("div",{className:"video-inner-container"},i.createElement("iframe",{id:"ytplayer",itemType:"text/html",src:t,allowFullScreen:!0,frameBorder:"0"})))}var _r=s(8109),Er=s(4986),Cr=s.n(Er);const kr={":)":1,":-)":1,":(":2,":-(":2,":D":3,":-D":3,">(":4,":z":5,":Z":5,":-z":5,":-Z":5,o_O:6,O_o:6,"B)":7,"B-)":7,":o":8,":O":8,":-o":8,":-O":8,"<3":9,":\\":10,":-\\":10,":/":10,":-/":10,";)":11,";-)":11,":p":12,":P":12,":-p":12,":-P":12,";p":13,";P":13,";-p":13,";-P":13,"R)":14,"R-)":14,JKanStyle:15,OptimizePrime:16,StoneLightning:17,TheRinger:18,RedCoat:22,Kappa:25,JonCarnage:26,MrDestructoid:28,BCWarrior:30,GingerPower:32,DansGame:33,SwiftRage:34,PJSalt:36,KevinTurtle:40,Kreygasm:41,SSSsss:46,PunchTrees:47,FunRun:48,ArsonNoSexy:50,SMOrc:52,FrankerZ:65,OneHand:66,HassanChop:68,BloodTrail:69,DBstyle:73,AsianGlow:74,BibleThump:86,ShazBotstix:87,PogChamp:88,PMSTwin:92,FUNgineer:244,ResidentSleeper:245,"4Head":354,HotPokket:357,FailFish:360,DAESuppy:973,WholeWheat:1896,ThunBeast:1898,TF2John:1899,RalpherZ:1900,Kippa:1901,Keepo:1902,BigBrother:1904,SoBayed:1906,PeoplesChamp:3412,GrammarKing:3632,PanicVis:3668,ANELE:3792,BrokeBack:4057,PipeHype:4240,YouWHY:4337,RitzMitz:4338,EleGiggle:4339,TheThing:7427,HassaanChop:20225,BabyRage:22639,panicBasket:22998,PermaSmug:27509,BuddhaBar:27602,WutFace:28087,PRChase:28328,Mau5:30134,HeyGuys:30259,NotATK:34875,mcaT:35063,TTours:38436,PraiseIt:38586,HumbleLife:46881,CorgiDerp:49106,ArgieB8:51838,ShadyLulu:52492,KappaPride:55338,CoolCat:58127,DendiFace:58135,NotLikeThis:58765,riPepperonis:62833,duDudu:62834,bleedPurple:62835,twitchRaid:62836,SeemsGood:64138,MingLee:68856,KappaRoss:70433,KappaClaus:74510,OhMyDog:81103,OSFrog:81248,SeriousSloth:81249,KomodoHype:81273,VoHiYo:81274,MikeHogu:81636,KappaWealth:81997,cmonBruh:84608,SmoocherZ:89945,NomNom:90075,StinkyCheese:90076,ChefFrank:90129,FutureMan:98562,OpieOP:100590,DoritosChip:102242,PJSugar:102556,VoteYea:106293,VoteNay:106294,RuleFive:107030,DxCat:110734,DrinkPurple:110785,TinyFace:111119,PicoMause:111300,TheTarFu:111351,DatSheffy:111700,UnSane:111792,copyThis:112288,pastaThat:112289,imGlitch:112290,GivePLZ:112291,TakeNRG:112292,BlargNaut:114738,DogFace:114835,Jebaited:114836,TooSpicy:114846,WTRuck:114847,UncleNox:114856,RaccAttack:114870,StrawBeary:114876,PrimeMe:115075,BrainSlug:115233,BatChest:115234,CurseLit:116625,Poooound:117484,FreakinStinkin:117701,SuperVinlin:118772,TriHard:120232,CoolStoryBob:123171,ItsBoshyTime:133468,KAPOW:133537,YouDontSay:134254,UWot:134255,RlyTho:134256,SoonerLater:134472,PartyTime:135393,NinjaGrumpy:138325,MVGame:142140,TBAngel:143490,TheIlluminati:145315,BlessRNG:153556,MorphinTime:156787,ThankEgg:160392,ArigatoNas:160393,BegWan:160394,BigPhish:160395,InuyoFace:160396,Kappu:160397,KonCha:160400,PunOko:160401,SabaPing:160402,TearGlove:160403,TehePelo:160404,TwitchLit:166263,CarlSmile:166266,CrreamAwk:191313,TwitchRPG:191747,Squid1:191762,Squid2:191763,Squid3:191764,Squid4:191767,TwitchUnity:196892,TPcrunchyroll:323914,EntropyWins:376765,LUL:425618,PowerUpR:425671,PowerUpL:425688,HSCheers:444572,HSWP:446979,DarkMode:461298,TwitchVotes:479745,TPFufun:508650,RedTeam:530888,GreenTeam:530890,HappyJack:551865,AngryJack:551866,PurpleStar:624501,FBtouchdown:626795,PopCorn:724216,SOTshark:848256,SOTahoy:848260,TombRaid:864205,OSSmooth:918524,GOWAtreus:953283,GOWKratos:953285,EarthDay:959018,PartyHat:965738,MercyWing1:1003187,MercyWing2:1003189,PinkMercy:1003190};var Tr=s(452);function Nr(t,e={}){const s=t.replace(/[A-Za-z0-9<):(\\;_>#/\]|]+/g,(t=>{const e=kr[t];return void 0===e?t:`![${t}](https://static-cdn.jtvnw.net/emoticons/v1/${e}/1.0)`})),r=(new _r.Parser).parse(s),o=new(Cr())({escapeHtml:e.escapeHtml??!0,linkTarget:"_blank",softBreak:!1===e.softBreak?void 0:"br"}).render(r);return i.createElement(Tr.Ay,{target:"_blank"},o)}var Ar=s(7927),Rr={};Rr.styleTagTransform=ri(),Rr.setAttributes=ti(),Rr.insert=Zs().bind(null,"head"),Rr.domAPI=Ys(),Rr.insertStyleElement=si(),Ks()(Ar.A,Rr),Ar.A&&Ar.A.locals&&Ar.A.locals;var Lr,Dr=function(t,e,s){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var i;if(s){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose]}if("function"!=typeof i)throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:i,async:s})}else s&&t.stack.push({async:!0});return e},Or=function(t){return function(e){function s(s){e.error=e.hasError?new t(s,e.error,"An error was suppressed during disposal."):s,e.hasError=!0}return function t(){for(;e.stack.length;){var i=e.stack.pop();try{var r=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(r).then(t,(function(e){return s(e),t()}))}catch(t){s(t)}}if(e.hasError)throw e.error}()}}("function"==typeof SuppressedError?SuppressedError:function(t,e,s){var i=new Error(s);return i.name="SuppressedError",i.error=t,i.suppressed=e,i});!function(t){t[t.RealTime=0]="RealTime",t[t.GameTime=1]="GameTime",t[t.Variables=2]="Variables",t[t.Rules=3]="Rules",t[t.Leaderboard=4]="Leaderboard"}(Lr||(Lr={}));class Pr extends i.Component{dragIndex=0;expandedLeaderboardRows=new Map;filters={variables:new Map,showObsolete:!1};constructor(t){super(t);const e=t.editor.stateAsJson(t.runEditorUrlCache.imageCache);t.runEditorUrlCache.collect(),this.state={attemptCountIsValid:!0,editor:e,offsetIsValid:!0,rowState:{bestSegmentTime:"",bestSegmentTimeChanged:!1,comparisonTimes:[],comparisonTimesChanged:[],index:0,segmentTime:"",segmentTimeChanged:!1,splitTime:"",splitTimeChanged:!1},tab:"RealTime"===e.timing_method?Lr.RealTime:Lr.GameTime},t.generalSettings.speedrunComIntegration&&(this.refreshGameList(),this.refreshGameInfo(e.game),this.refreshCategoryList(e.game),this.refreshLeaderboard(e.game,e.category),this.refreshPlatformList(),this.refreshRegionList())}render(){const t=this.renderView(),e=this.renderSidebarContent();return this.props.callbacks.renderViewWithSidebar(t,e)}renderView(){const t=this.getGameIcon();let e=null;const s=this.getTab(),{category:r,categoryNames:o}=this.getCurrentCategoriesInfo();return i.createElement("div",{className:"run-editor"},i.createElement("div",{className:"run-editor-info"},i.createElement("div",{className:"game-icon-container",onClick:t=>{(t=>{e&&e.handleContextClick(t)})(t)}},i.createElement(Ws.Rc,{id:"game-icon-context-menu",ref:t=>e=t},void 0!==t&&i.createElement("img",{src:t,className:"game-icon-image"}))),i.createElement(Ws.tz,{id:"game-icon-context-menu"},i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.changeGameIcon()},"Set Icon",i.createElement("span",{className:"tooltip-text"},"Allows you to choose an image file to set as the game's icon. Certain file formats may not work everywhere.")),this.props.generalSettings.speedrunComIntegration&&i.createElement(i.Fragment,null,i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.downloadBoxArt()},"Download Box Art",i.createElement("span",{className:"tooltip-text"},"Attempts to download the box art of the game from speedrun.com, to set as the game's icon.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.downloadIcon()},"Download Icon",i.createElement("span",{className:"tooltip-text"},"Attempts to download the icon of the game from speedrun.com."))),void 0!==t&&i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.removeGameIcon()},"Remove Icon",i.createElement("span",{className:"tooltip-text"},"Removes the icon of the game."))),i.createElement("div",{className:"run-editor-info-table"},i.createElement("div",{className:"info-table-row"},i.createElement("div",{className:"info-table-cell"},i.createElement(Mi,{className:"run-editor-game",value:this.state.editor.game,onChange:t=>this.handleGameChange(t),label:"Game",list:["run-editor-game-list",(n=this.state.editor.game,""===n||null==Yi?[]:Yi.search(n,15))]})),i.createElement("div",{className:"info-table-cell"},i.createElement(Mi,{className:"run-editor-category",value:this.state.editor.category,onChange:t=>this.handleCategoryChange(t),label:"Category",list:["run-editor-category-list",o]}))),i.createElement("div",{className:"info-table-row"},i.createElement("div",{className:"info-table-cell"},i.createElement(Mi,{className:"run-editor-offset",value:this.state.editor.offset,onChange:t=>this.handleOffsetChange(t),onBlur:t=>this.handleOffsetBlur(),small:!0,invalid:!this.state.offsetIsValid,label:"Start Timer At"})),i.createElement("div",{className:"info-table-cell"},i.createElement(Mi,{className:"run-editor-attempts",value:this.state.editor.attempts,onChange:t=>this.handleAttemptsChange(t),onBlur:t=>this.handleAttemptsBlur(),small:!0,invalid:!this.state.attemptCountIsValid,label:"Attempts"}))))),i.createElement("div",{className:"bottom-section"},i.createElement("div",{className:"side-buttons"},this.renderSideButtons(s,r)),i.createElement("div",{className:"editor-group"},i.createElement("div",{className:"tab-bar"},this.renderTabButtons(s)),this.renderTab(s,r))));var n}renderSidebarContent(){return i.createElement("div",{className:"sidebar-buttons"},i.createElement("h1",null,"Splits Editor"),i.createElement("hr",null),i.createElement("div",{className:"small"},i.createElement("button",{className:"toggle-left",onClick:t=>this.props.callbacks.closeRunEditor(!0)},i.createElement("i",{className:"fa fa-check","aria-hidden":"true"})," OK"),i.createElement("button",{className:"toggle-right",onClick:t=>this.props.callbacks.closeRunEditor(!1)},i.createElement("i",{className:"fa fa-times","aria-hidden":"true"})," Cancel")))}renderTabButtons(t){const e={[Lr.RealTime]:"Real Time",[Lr.GameTime]:"Game Time",[Lr.Variables]:"Variables",[Lr.Rules]:"Rules",[Lr.Leaderboard]:"Leaderboard"},s=Object.values(Lr).filter((t=>this.shouldShowTab(t)));return s.map(((r,o)=>{let n="toggle-middle";0===o?n="toggle-left":o===s.length-1&&(n="toggle-right");const a=t===r?" button-pressed":"";return i.createElement("button",{className:n+a,onClick:t=>this.switchTab(r)},e[r])}))}renderSegmentListButtons(){let t=null,e=null;return i.createElement("div",{className:"btn-group"},i.createElement("button",{onClick:t=>this.insertSegmentAbove()},"Insert Above"),i.createElement("button",{onClick:t=>this.insertSegmentBelow()},"Insert Below"),i.createElement("button",{onClick:t=>this.removeSegments(),disabled:!this.state.editor.buttons.can_remove},"Remove Segment"),i.createElement("button",{onClick:t=>this.moveSegmentsUp(),disabled:!this.state.editor.buttons.can_move_up},"Move Up"),i.createElement("button",{onClick:t=>this.moveSegmentsDown(),disabled:!this.state.editor.buttons.can_move_down},"Move Down"),i.createElement("button",{onClick:t=>(t=>{e&&e.handleContextClick(t)})(t)},i.createElement(Ws.Rc,{id:"comparisons-button-context-menu",ref:t=>e=t},"Comparisons…")),i.createElement("button",{onClick:e=>(e=>{t&&t.handleContextClick(e)})(e)},i.createElement(Ws.Rc,{id:"other-button-context-menu",ref:e=>t=e},"Cleaning…")),i.createElement(Ws.tz,{id:"comparisons-button-context-menu"},i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.addComparison()},"Add Comparison",i.createElement("span",{className:"tooltip-text"},"Adds a new custom comparison where you can store any times that you would like.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.importComparison()},"Import Comparison",i.createElement("span",{className:"tooltip-text"},"Imports the Personal Best of a splits file you provide as a comparison.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.generateGoalComparison()},"Generate Goal Comparison",i.createElement("span",{className:"tooltip-text"},"Generates a custom goal comparison based on a goal time that you can specify. The comparison's times are automatically balanced based on the segment history such that it roughly represents what the split times for the goal time would look like. Since it is populated by the segment history, the goal times are capped to a range between the sum of the best segments and the sum of the worst segments. The comparison is only populated for the selected timing method. The other timing method's comparison times are not modified by this, so you can generate it again with the other timing method to generate the comparison times for both timing methods.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.copyComparison()},"Copy Comparison",i.createElement("span",{className:"tooltip-text"},"Copies any existing comparison, including the Personal Best or even any other automatically provided comparison as a new custom comparison. You could for example use this to keep the Latest Run around as a comparison that exists for as long as you want it to."))),i.createElement(Ws.tz,{id:"other-button-context-menu"},i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.clearHistory()},"Clear Only History",i.createElement("span",{className:"tooltip-text"},"Splits store the entire history of all runs, including every segment time. This information is used by various components. You can clear the history with this. The personal best, the best segment times, and the comparisons will not be affected.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.clearTimes()},"Clear All Times",i.createElement("span",{className:"tooltip-text"},"This removes all the times from the splits, including all the history, such that the splits are completely empty, as if they were just created.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.cleanSumOfBest()},"Clean Sum of Best",i.createElement("span",{className:"tooltip-text"},"Allows you to interactively remove potential issues in the segment history that lead to an inaccurate Sum of Best. If you skip a split, whenever you will do the next split, the combined segment time might be faster than the sum of the individual best segments. This will point out all such occurrences and allow you to delete them individually if any of them seem wrong."))))}renderAssociateRunButton(){return this.props.generalSettings.speedrunComIntegration?i.createElement("button",{onClick:t=>this.interactiveAssociateRunOrOpenPage()},""!==this.state.editor.metadata.run_id?"Open PB Page":"Associate Run"):i.createElement(i.Fragment,null)}renderRulesButtons(){return i.createElement("div",{className:"btn-group"},this.renderAssociateRunButton())}renderVariablesButtons(){return i.createElement("div",{className:"btn-group"},this.renderAssociateRunButton(),i.createElement("button",{onClick:t=>this.addCustomVariable()},"Add Variable"))}addCustomVariable(){const t=prompt("Variable Name:");null!==t&&(this.props.editor.addCustomVariable(t),this.update())}renderSideButtons(t,e){switch(t){case Lr.RealTime:case Lr.GameTime:return this.renderSegmentListButtons();case Lr.Variables:return this.renderVariablesButtons();case Lr.Rules:return this.renderRulesButtons();case Lr.Leaderboard:return this.renderLeaderboardButtons(e)}}renderTab(t,e){switch(t){case Lr.RealTime:case Lr.GameTime:return this.renderSegmentsTable();case Lr.Variables:return this.renderVariablesTab(e);case Lr.Rules:return this.renderRulesTab(e);case Lr.Leaderboard:return this.renderLeaderboard(e)}}renderLeaderboardButtons(t){const e=cr(this.state.editor.game);if(void 0===e)return this.renderRulesButtons();const s=[""],r=[""],o=ur(),n=hr(),a=[],l=[];if(0!==o.size)for(const t of e.regions){const e=o.get(t);void 0!==e&&s.push(e)}if(0!==n.size)for(const t of e.platforms){const e=n.get(t);void 0!==e&&r.push(e)}s.length>2&&(a.push(i.createElement("tr",null,i.createElement("td",null,"Region:"))),a.push(i.createElement("tr",null,i.createElement("td",null,i.createElement("select",{value:this.filters.region??"",style:{width:"100%"},onChange:t=>{this.filters.region=t.target.value,this.updateFilters()}},s.map((t=>i.createElement("option",{value:t},t)))))))),r.length>2&&(a.push(i.createElement("tr",null,i.createElement("td",null,"Platform:"))),a.push(i.createElement("tr",null,i.createElement("td",null,i.createElement("select",{value:this.filters.platform??"",style:{width:"100%"},onChange:t=>{this.filters.platform=t.target.value,this.updateFilters()}},r.map((t=>i.createElement("option",{value:t},t)))))))),e.ruleset["emulators-allowed"]&&(a.push(i.createElement("tr",null,i.createElement("td",null,"Emulator:"))),a.push(i.createElement("tr",null,i.createElement("td",null,i.createElement("select",{value:!0===this.filters.isEmulated?"Yes":!1===this.filters.isEmulated?"No":"",style:{width:"100%"},onChange:t=>{const e=t.target.value;this.filters.isEmulated="Yes"===e||"No"!==e&&void 0,this.updateFilters()}},["","Yes","No"].map((t=>i.createElement("option",{value:t},t))))))));const p=Ls(e.variables,"We need the variables to be embedded");for(const e of p.data)if(this.variableIsValidForCategory(e,t))if(e["is-subcategory"]){let t=this.filters.variables.get(e.name);if(void 0===t){const s=this.state.editor.metadata.speedrun_com_variables[e.name];if(void 0!==s)t=s,this.filters.variables.set(e.name,t);else{const s=e.values.default;null!=s&&(t=e.values.values[s].label,this.filters.variables.set(e.name,t))}}l.push(i.createElement("table",{className:"table filter-table subcategory-table"},i.createElement("thead",{className:"table-header"},i.createElement("tr",null,i.createElement("th",null,e.name))),i.createElement("tbody",{className:"table-body"},Object.values(e.values.values).map((({label:s})=>{const r=t===s;return i.createElement("tr",null,i.createElement("td",{className:r?"selected":"",onClick:t=>{this.filters.variables.set(e.name,r?"":s),this.updateFilters()}},s))})))))}else a.push(i.createElement("tr",null,i.createElement("td",null,e.name,":"))),a.push(i.createElement("tr",null,i.createElement("td",null,i.createElement("select",{value:this.filters.variables.get(e.name)??"",style:{width:"100%"},onChange:t=>{this.filters.variables.set(e.name,t.target.value),this.updateFilters()}},i.createElement("option",{value:""}),Object.values(e.values.values).map((({label:t})=>i.createElement("option",{value:t},t)))))));return a.push(i.createElement("tr",null,i.createElement("td",null,"Obsolete Runs:"))),a.push(i.createElement("tr",null,i.createElement("td",null,i.createElement("select",{value:this.filters.showObsolete?"Shown":"Hidden",style:{width:"100%"},onChange:t=>{const e=t.target.value;this.filters.showObsolete="Shown"===e,this.updateFilters()}},["Shown","Hidden"].map((t=>i.createElement("option",{value:t},t))))))),i.createElement("div",{className:"btn-group"},i.createElement("button",{onClick:s=>{null!=t&&window.open(`${e.weblink}?x=${t.id}`,"_blank")},disabled:null==t},"Open Leaderboard"),i.createElement("button",{onClick:t=>this.interactiveAssociateRunOrOpenPage()},""!==this.state.editor.metadata.run_id?"Open PB Page":"Associate Run"),l,i.createElement("table",{className:"table filter-table"},i.createElement("thead",{className:"table-header"},i.createElement("tr",null,i.createElement("th",null,"Filters"))),i.createElement("tbody",{className:"table-body"},a)))}variableIsValidForCategory(t,e){return!(null!=t.category&&t.category!==e?.id||"full-game"!==t.scope.type&&"global"!==t.scope.type)}updateFilters(){this.resetIndividualLeaderboardState(),this.update()}renderVariablesTab(t){const e=this.state.editor.metadata,s=cr(this.state.editor.game),r=[],o=[],n=[];let a=-1,l=-1,p=-1;if(void 0!==s){const i=[""],n=[""],d=ur(),c=hr();if(0!==d.size)for(const t of s.regions){const e=d.get(t);void 0!==e&&i.push(e)}if(0!==c.size)for(const t of s.platforms){const e=c.get(t);void 0!==e&&n.push(e)}const h=Ls(s.variables,"We need the variables to be embedded");for(const s of h.data)this.variableIsValidForCategory(s,t)&&o.push({text:s.name,tooltip:"A variable on speedrun.com specific to the game.",value:{CustomCombobox:{value:e.speedrun_com_variables[s.name]||"",list:["",...Object.values(s.values.values).map((t=>t.label))],mandatory:s.mandatory}}});i.length>1&&(a=r.length,r.push({text:"Region",tooltip:"The region of the game that is being played.",value:{CustomCombobox:{value:e.region_name,list:i,mandatory:!1}}})),n.length>1&&(l=r.length,r.push({text:"Platform",tooltip:"The platform that the game is being played on.",value:{CustomCombobox:{value:e.platform_name,list:n,mandatory:!0}}})),s.ruleset["emulators-allowed"]&&(p=r.length,r.push({text:"Uses Emulator",tooltip:"Whether an emulator is being used to play the game.",value:{Bool:e.uses_emulator}}))}for(const t of Object.keys(e.custom_variables)){const s=e.custom_variables[t];s&&s.is_permanent&&n.push({text:t,tooltip:"A custom variable specified by you. These can be displayed with the text component.",value:{RemovableString:s.value}})}const d=r.length;r.push(...o);const c=r.length;return r.push(...n),i.createElement("div",{className:"run-editor-tab"},0===r.length&&i.createElement("table",{className:"table"},i.createElement("tbody",{className:"table-body"},i.createElement("tr",null,i.createElement("td",null,i.createElement("p",null,"There are currently no",this.props.generalSettings.speedrunComIntegration&&" Speedrun.com variables or"," custom variables for this game."))))),i.createElement(ki,{context:"run-editor-variables",factory:new Ci,state:{fields:r},editorUrlCache:this.props.runEditorUrlCache,allComparisons:this.props.allComparisons,setValue:(t,e)=>{function s(t){if("String"in t)return t.String;throw new Error("Expected Setting value to be a string.")}if(t===a){const t=s(e);this.props.editor.setRegionName(t)}else if(t===l){const t=s(e);this.props.editor.setPlatformName(t)}else if(t===p){const t=function(t){if("Bool"in t)return t.Bool;throw new Error("Expected Setting value to be a boolean.")}(e);this.props.editor.setEmulatorUsage(t)}else if(tt.times.primary_t===Math.floor(t.times.primary_t)));let a=0,l=0,p=0,d="";function c(t,e){return void 0!==e&&""!==e&&t!==e}const h=new Set,u=s?.variables,m=u?.data.filter((e=>this.variableIsValidForCategory(e,t))),g=m?.filter((t=>!this.filters.variables.get(t.name)));return i.createElement("table",{className:"table run-editor-tab leaderboard-table"},i.createElement("thead",{className:"table-header"},i.createElement("tr",null,i.createElement("th",null,"Rank"),i.createElement("th",null,"Player"),i.createElement("th",null,"Time"),g?.map((t=>i.createElement("th",null,t.name))),this.props.generalSettings.splitsIoIntegration&&i.createElement("th",null,"Splits"))),i.createElement("tbody",{className:"table-body"},e.map((e=>{const s=r.get(e.system.platform);if(c(s,this.filters.platform))return null;const u=Vs(e.system.region,(t=>o.get(t)));if(c(u,this.filters.region))return null;if(void 0!==this.filters.isEmulated&&e.system.emulated!==this.filters.isEmulated)return null;const f=[];if(void 0!==m)for(const s of m)if(this.variableIsValidForCategory(s,t)){const t=Vs(e.values[s.id],(t=>s.values.values[t])),i=this.filters.variables.get(s.name);if(c(t?.label,i))return null}if(void 0!==g)for(const t of g){const s=e.values[t.id];let r;s&&(r=Vs(Object.entries(t.values.values).find((([t])=>t===s)),(t=>t[1].label))),f.push(i.createElement("td",{className:"variable-column"},r||""))}const b=e.players.data.map((t=>"guest"===t.rel?`guest:${t.name}`:t.id)),w=JSON.stringify(b),y=!h.has(w);if(!y&&!this.filters.showObsolete)return null;h.add(w);const v=l,S=v%2==0?"table-row-odd":"table-row-even";let x=null;if(!0===this.expandedLeaderboardRows.get(v)){let t=null;null!=e.videos&&null!=e.videos.links&&e.videos.links.length>0&&(t=function(t){const e=function(t){let e=/https?:\/\/www\.youtube\.com\/watch\?v=([A-z0-9-]+)&?/.exec(t);return null===e&&(e=/https?:\/\/youtu\.be\/([A-z0-9-]+)/.exec(t)),null!==e?xr(`https://www.youtube.com/embed/${e[1]}?wmode=transparent`):null}(t);if(null!=e)return e;const s=function(t){let e=/https?:\/\/(www\.)?(go\.)?twitch\.tv\/.*\/v\/(\w+)&?/.exec(t);return null===e&&(e=/https?:\/\/(www\.)?(go\.)?twitch\.tv\/videos\/(\w+)&?/.exec(t)),null!==e?xr(`https://player.twitch.tv/?video=${e[3]}&parent=${window.location.hostname}&autoplay=false`):null}(t);return null!=s?s:i.createElement("p",null,i.createElement("a",{href:t,target:"_blank"},t))}(e.videos.links[e.videos.links.length-1].uri));const r=Nr(e.comment??"");x=i.createElement("tr",{key:`${e.id}_expanded`,className:`leaderboard-expanded-row ${S}`},i.createElement("td",{colSpan:4+(g?.length??0)},t,i.createElement("div",{className:"markdown",style:{minHeight:5}},r),i.createElement("table",{className:"run-meta-table"},i.createElement("tbody",null,i.createElement("tr",null,i.createElement("td",null,"Date:"),i.createElement("td",null,e.date?.split("-").join("/")??"")),Vs(u,(t=>i.createElement("tr",null,i.createElement("td",null,"Region:"),i.createElement("td",null,t)))),Vs(s,(t=>i.createElement("tr",null,i.createElement("td",null,"Platform:"),i.createElement("td",null,t,e.system.emulated&&" Emulator"))))))))}return l+=1,y&&(p+=1,e.times.primary!==d&&(a=p,d=e.times.primary)),[i.createElement("tr",{key:e.id,title:e.comment??"",className:`leaderboard-row ${S}`,onClick:t=>this.toggleExpandLeaderboardRow(v),style:{cursor:"pointer"}},i.createElement("td",{className:"leaderboard-rank-column number"},y?a:"—"),i.createElement("td",null,e.players.data.map(((t,e)=>{if("user"===t.rel){const s=t["name-style"];let r;r="gradient"===s.style?s["color-from"].dark:s.color.dark;const o=Vs(t.location,(t=>function(t){const e=`https://www.speedrun.com/images/flags/${t}.png`;return i.createElement("img",{className:"flag",src:e,alt:t})}(t.country.code)));return[0!==e?", ":null,i.createElement("a",{target:"_blank",href:t.weblink,style:{color:r},onClick:t=>t.stopPropagation()},o,t.names.international)]}return[0!==e?", ":null,i.createElement("span",{className:"unregistered-user"},t.name)]}))),i.createElement("td",{className:"leaderboard-time-column number"},i.createElement("a",{href:e.weblink,target:"_blank",style:{color:"white"},onClick:t=>t.stopPropagation()},Sr(e.times.primary_t,n))),f,this.props.generalSettings.splitsIoIntegration&&i.createElement("td",{className:"splits-download-column"},Vs(e.splits,(t=>i.createElement("i",{onClick:s=>{s.stopPropagation(),this.downloadSplits(e,t.uri)},className:"fa fa-download",style:{cursor:"pointer"},"aria-hidden":"true"}))))),x]}))))}renderRulesTab(t){let e=null;null!=t&&null!=t.rules&&(e=Nr(t.rules));const s=cr(this.state.editor.game);let r=null;const o=[];if(void 0!==s){const e=[],n=s.ruleset;"realtime"!==n["default-time"]&&e.push("realtime_noloads"===n["default-time"]?"are timed without the loading times":"are timed with Game Time"),n["require-video"]&&e.push("require video proof"),0!==e.length&&(r=i.createElement("p",{style:{fontStyle:"italic"}},"Runs of this game ",e.join(" and "),"."));const a=Ls(s.variables,"We need the variables to be embedded");for(const e of a.data)if(this.variableIsValidForCategory(e,t)&&e["is-subcategory"]){const t=this.state.editor.metadata.speedrun_com_variables[e.name],s=Object.values(e.values.values).find((e=>e.label===t));null!=s?.rules&&o.push(Nr(`## ${s.label} Rules\n${s.rules}`))}}return i.createElement("div",{className:"run-editor-tab run-editor-additional-info"},i.createElement("div",{className:"run-editor-rules markdown"},r,e,o))}renderSegmentsTable(){return i.createElement("table",{className:"table run-editor-tab run-editor-table"},i.createElement("thead",{className:"table-header"},i.createElement("tr",null,i.createElement("th",null,"Icon"),i.createElement("th",null,"Segment Name"),i.createElement("th",null,"Split Time"),i.createElement("th",null,"Segment Time"),i.createElement("th",null,"Best Segment"),this.state.editor.comparison_names.map(((t,e)=>{let s=null;const r=`comparison-${e}-context-menu`;return i.createElement("th",{style:{cursor:"pointer"},onClick:t=>(t=>{s&&s.handleContextClick(t)})(t),draggable:!0,onDragStart:t=>{t.dataTransfer.setData("text/plain",""),this.dragIndex=e},onDragOver:t=>{t.preventDefault&&t.preventDefault(),t.dataTransfer.dropEffect="move"},onDragEnd:t=>this.update(),onDrop:t=>(t.stopPropagation&&t.stopPropagation(),this.props.editor.moveComparison(this.dragIndex,e),!1)},i.createElement(Ws.Rc,{id:r,ref:t=>s=t},t),i.createElement(Ws.tz,{id:r},i.createElement(Ws.Dr,{className:"tooltip",onClick:e=>this.renameComparison(t)},"Rename",i.createElement("span",{className:"tooltip-text"},"Choose a new name for the custom comparison. There are reserved names that can't be used. You also can't have duplicate names.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:e=>this.copyComparison(t)},"Copy",i.createElement("span",{className:"tooltip-text"},"Creates a copy of the custom comparison.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:e=>this.removeComparison(t)},"Remove",i.createElement("span",{className:"tooltip-text"},"Removes the custom comparison."))))})))),i.createElement("tbody",{className:"table-body"},this.state.editor.segments.map(((t,e)=>{const s=this.getSegmentIconUrl(e),r=`segment-icon-${e}-context-menu`;let o=null;const n=t=>{o&&(o.handleContextClick(t),this.props.editor.selectOnly(e),this.update())};return i.createElement("tr",{key:e.toString(),className:"Selected"===t.selected||"Active"===t.selected?"selected":"",onClick:t=>this.changeSegmentSelection(t,e)},i.createElement("td",{className:"segment-icon-container",onClick:t=>{void 0!==s?n(t):this.changeSegmentIcon(e)}},i.createElement(Ws.Rc,{id:r,ref:t=>o=t},void 0!==s&&i.createElement("img",{className:"segment-icon",src:s})),i.createElement(Ws.tz,{id:r},i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.changeSegmentIcon(e)},"Set Icon",i.createElement("span",{className:"tooltip-text"},"Allows you to choose an image file to set as the segment's icon. Certain file formats may not work everywhere.")),i.createElement(Ws.Dr,{className:"tooltip",onClick:t=>this.removeSegmentIcon(e)},"Remove Icon",i.createElement("span",{className:"tooltip-text"},"Removes the segment's icon.")))),i.createElement("td",null,i.createElement("input",{className:"name",type:"text",value:t.name,onFocus:t=>this.focusSegment(e),onChange:t=>this.handleSegmentNameChange(t)})),i.createElement("td",null,i.createElement("input",{className:"number",type:"text",value:e===this.state.rowState.index&&this.state.rowState.splitTimeChanged?this.state.rowState.splitTime:t.split_time,onFocus:t=>this.focusSegment(e),onChange:t=>this.handleSplitTimeChange(t),onBlur:t=>this.handleSplitTimeBlur()})),i.createElement("td",null,i.createElement("input",{className:e===this.state.rowState.index&&this.state.rowState.segmentTimeChanged||t.segment_time!==t.best_segment_time?"number":"number best-segment-time",type:"text",value:e===this.state.rowState.index&&this.state.rowState.segmentTimeChanged?this.state.rowState.segmentTime:t.segment_time,onFocus:t=>this.focusSegment(e),onChange:t=>this.handleSegmentTimeChange(t),onBlur:t=>this.handleSegmentTimeBlur()})),i.createElement("td",null,i.createElement("input",{className:"number",type:"text",value:e===this.state.rowState.index&&this.state.rowState.bestSegmentTimeChanged?this.state.rowState.bestSegmentTime:t.best_segment_time,onFocus:t=>this.focusSegment(e),onChange:t=>this.handleBestSegmentTimeChange(t),onBlur:t=>this.handleBestSegmentTimeBlur()})),this.state.editor.segments[e].comparison_times.map(((t,s)=>i.createElement("td",null,i.createElement("input",{className:"number",type:"text",value:e===this.state.rowState.index&&this.state.rowState.comparisonTimesChanged[s]?this.state.rowState.comparisonTimes[s]:t,onFocus:t=>this.focusSegment(e),onChange:t=>this.handleComparisonTimeChange(t,s),onBlur:t=>this.handleComparisonTimeBlur(s)})))))}))))}getCurrentLeaderboard(t){const e=t?.name;if(e)return function(t,e){const s=JSON.stringify({gameName:t,categoryName:e});return or.get(s)}(this.state.editor.game,e)}getCurrentCategoriesInfo(){let t=["Any%","Low%","100%"],e=null;const s=dr(this.state.editor.game);if(void 0!==s){t=s.map((t=>t.name));const i=t.indexOf(this.state.editor.category);i>=0&&(e=s[i])}return{category:e,categoryNames:t}}generateGoalComparison(){const t=prompt("Goal Time:");null!==t&&(this.props.editor.parseAndGenerateGoalComparison(t)?this.update():Rs.toast.error("Failed generating the goal comparison. Make sure to specify a valid time."))}copyComparison(t){const e=t??prompt("Comparison Name:");if(null!==e){let t;if(e.endsWith(" Copy"))t=`${e.substring(0,e.length-5)} Copy 2`;else{const s=/^(.* Copy )(\d+)$/.exec(e);if(null!==s){const e=Number(s[2]);t=`${s[1]}${e+1}`}else t=`${e} Copy`}this.props.editor.copyComparison(e,t)?this.update():Rs.toast.error("Failed copying the comparison. The comparison may not exist.")}}cleanSumOfBest(){{const t={stack:[],error:void 0,hasError:!1};try{const e=Dr(t,this.props.editor.cleanSumOfBest(),!1);for(;;){const t={stack:[],error:void 0,hasError:!1};try{const s=Dr(t,e.nextPotentialCleanUp(),!1);if(!s)break;const i=s.message();confirm(i)&&e.apply(s)}catch(e){t.error=e,t.hasError=!0}finally{Or(t)}}}catch(e){t.error=e,t.hasError=!0}finally{Or(t)}}this.update()}clearHistory(){this.props.editor.clearHistory(),this.update()}clearTimes(){this.props.editor.clearTimes(),this.update()}async importComparison(){const t={stack:[],error:void 0,hasError:!1};try{const[e,s]=await Ts(),i=Dr(t,Kt.parseArray(new Uint8Array(e),""),!1);if(!i.parsedSuccessfully())return void Rs.toast.error("Couldn't parse the splits.");const r=Dr(t,i.unwrap(),!1),o=prompt("Comparison Name:",s.name.replace(/\.[^/.]+$/,""));if(null===o)return;this.props.editor.importComparison(r,o)?this.update():Rs.toast.error("The comparison could not be added. It may be a duplicate or a reserved name.")}catch(e){t.error=e,t.hasError=!0}finally{Or(t)}}addComparison(){const t=prompt("Comparison Name:");null!==t&&(this.props.editor.addComparison(t)?this.update():Rs.toast.error("The comparison could not be added. It may be a duplicate or a reserved name."))}renameComparison(t){const e=prompt("Comparison Name:",t);null!==e&&(this.props.editor.renameComparison(t,e)?this.update():Rs.toast.error("The comparison could not be renamed. It may be a duplicate or a reserved name."))}removeComparison(t){this.props.editor.removeComparison(t),this.update()}async changeSegmentIcon(t){this.props.editor.selectOnly(t);const[e]=await Ts();this.props.editor.activeSetIconFromArray(new Uint8Array(e)),this.update()}removeSegmentIcon(t){this.props.editor.selectOnly(t),this.props.editor.activeRemoveIcon()}getSegmentIconUrl(t){return this.props.runEditorUrlCache.cache(this.state.editor.segments[t].icon)}async changeGameIcon(){const[t]=await Ts();this.props.editor.setGameIconFromArray(new Uint8Array(t)),this.maybeUpdate()}removeGameIcon(){this.props.editor.removeGameIcon(),this.update()}getGameIcon(){return this.props.runEditorUrlCache.cache(this.state.editor.icon)}maybeUpdate(){0!==this.props.editor.ptr&&this.update()}update(t){const e=t??this.state.tab,s=this.shouldShowTab(e)?e:Lr.RealTime,i=this.props.editor.stateAsJson(this.props.runEditorUrlCache.imageCache);this.props.runEditorUrlCache.collect(),this.setState({...this.state,editor:i,tab:s})}handleGameChange(t){this.props.editor.clearMetadata(),this.props.editor.setGameName(t.target.value),this.props.generalSettings.speedrunComIntegration&&(this.refreshGameInfo(t.target.value),this.refreshCategoryList(t.target.value),this.refreshLeaderboard(t.target.value,this.state.editor.category),this.resetTotalLeaderboardState()),this.update()}handleCategoryChange(t){this.clearCategorySpecificVariables(),this.props.editor.setCategoryName(t.target.value),this.props.generalSettings.speedrunComIntegration&&(this.refreshLeaderboard(this.state.editor.game,t.target.value),this.resetTotalLeaderboardState()),this.update()}handleOffsetChange(t){const e=this.props.editor.parseAndSetOffset(t.target.value);this.setState({...this.state,editor:{...this.state.editor,offset:t.target.value},offsetIsValid:e})}handleOffsetBlur(){this.setState({...this.state,editor:this.props.editor.stateAsJson(this.props.runEditorUrlCache.imageCache),offsetIsValid:!0}),this.props.runEditorUrlCache.collect()}handleAttemptsChange(t){const e=this.props.editor.parseAndSetAttemptCount(t.target.value);this.setState({...this.state,attemptCountIsValid:e,editor:{...this.state.editor,attempts:t.target.value}})}handleAttemptsBlur(){this.setState({...this.state,attemptCountIsValid:!0,editor:this.props.editor.stateAsJson(this.props.runEditorUrlCache.imageCache)}),this.props.runEditorUrlCache.collect()}focusSegment(t){this.props.editor.selectOnly(t);const e=this.props.editor.stateAsJson(this.props.runEditorUrlCache.imageCache);this.props.runEditorUrlCache.collect();const s=e.segments[t].comparison_times,i={...this.state.rowState,splitTimeChanged:!1,segmentTimeChanged:!1,bestSegmentTimeChanged:!1,comparisonTimes:s,comparisonTimesChanged:s.map((()=>!1)),index:t};this.setState({...this.state,editor:e,rowState:i})}handleSegmentNameChange(t){this.props.editor.activeSetName(t.target.value),this.update()}handleSplitTimeChange(t){this.setState({...this.state,rowState:{...this.state.rowState,splitTime:t.target.value,splitTimeChanged:!0}})}handleSegmentTimeChange(t){this.setState({...this.state,rowState:{...this.state.rowState,segmentTime:t.target.value,segmentTimeChanged:!0}})}handleBestSegmentTimeChange(t){this.setState({...this.state,rowState:{...this.state.rowState,bestSegmentTime:t.target.value,bestSegmentTimeChanged:!0}})}handleComparisonTimeChange(t,e){const s={...this.state.rowState.comparisonTimes};s[e]=t.target.value;const i={...this.state.rowState.comparisonTimesChanged};i[e]=!0,this.setState({...this.state,rowState:{...this.state.rowState,comparisonTimes:s,comparisonTimesChanged:i}})}handleSplitTimeBlur(){this.state.rowState.splitTimeChanged&&this.props.editor.activeParseAndSetSplitTime(this.state.rowState.splitTime),this.setState({...this.state,editor:this.props.editor.stateAsJson(this.props.runEditorUrlCache.imageCache),rowState:{...this.state.rowState,splitTimeChanged:!1}}),this.props.runEditorUrlCache.collect()}handleSegmentTimeBlur(){this.state.rowState.segmentTimeChanged&&this.props.editor.activeParseAndSetSegmentTime(this.state.rowState.segmentTime),this.setState({...this.state,editor:this.props.editor.stateAsJson(this.props.runEditorUrlCache.imageCache),rowState:{...this.state.rowState,segmentTimeChanged:!1}}),this.props.runEditorUrlCache.collect()}handleBestSegmentTimeBlur(){this.state.rowState.bestSegmentTimeChanged&&this.props.editor.activeParseAndSetBestSegmentTime(this.state.rowState.bestSegmentTime),this.setState({...this.state,editor:this.props.editor.stateAsJson(this.props.runEditorUrlCache.imageCache),rowState:{...this.state.rowState,bestSegmentTimeChanged:!1}}),this.props.runEditorUrlCache.collect()}handleComparisonTimeBlur(t){const e={...this.state.rowState.comparisonTimesChanged};if(e[t]){const e=this.state.editor.comparison_names[t],s=this.state.rowState.comparisonTimes[t];this.props.editor.activeParseAndSetComparisonTime(e,s)}e[t]=!1,this.setState({...this.state,editor:this.props.editor.stateAsJson(this.props.runEditorUrlCache.imageCache),rowState:{...this.state.rowState,comparisonTimesChanged:e}}),this.props.runEditorUrlCache.collect()}insertSegmentAbove(){this.props.editor.insertSegmentAbove(),this.update()}insertSegmentBelow(){this.props.editor.insertSegmentBelow(),this.update()}removeSegments(){this.props.editor.removeSegments(),this.update()}moveSegmentsUp(){this.props.editor.moveSegmentsUp(),this.update()}moveSegmentsDown(){this.props.editor.moveSegmentsDown(),this.update()}changeSegmentSelection(t,e){t.currentTarget.classList.contains("selected")?this.props.editor.unselect(e):this.props.editor.selectAdditionally(e),this.update()}switchTab(t){switch(t){case Lr.RealTime:this.props.editor.selectTimingMethod(f.RealTime);break;case Lr.GameTime:this.props.editor.selectTimingMethod(f.GameTime)}this.resetTotalLeaderboardState(),this.update(t)}shouldShowTab(t){if(t===Lr.RealTime||t===Lr.GameTime||t===Lr.Variables)return!0;if(void 0===cr(this.state.editor.game))return!1;if(t===Lr.Rules)return!0;if(t===Lr.Leaderboard){const{category:t}=this.getCurrentCategoriesInfo();if(void 0!==this.getCurrentLeaderboard(t))return!0}return!1}resetTotalLeaderboardState(){this.resetIndividualLeaderboardState(),this.filters={variables:new Map,showObsolete:!1}}resetIndividualLeaderboardState(){this.expandedLeaderboardRows=new Map}async downloadBoxArt(){const t=this.state.editor.game;await br(t);const e=cr(t);if(void 0!==e){const t=e.assets["cover-medium"].uri;if(t.startsWith("https://")){const e=await fetch(t),s=await e.arrayBuffer();this.props.editor.setGameIconFromArray(new Uint8Array(s)),this.maybeUpdate()}}}async downloadIcon(){const t=this.state.editor.game;await br(t);const e=cr(t);if(void 0!==e){const t=e.assets.icon.uri;if(t.startsWith("https://")){const e=await fetch(t),s=await e.arrayBuffer();this.props.editor.setGameIconFromArray(new Uint8Array(s)),this.maybeUpdate()}}}async refreshGameList(){await wr(),this.maybeUpdate()}async refreshPlatformList(){await yr(),this.maybeUpdate()}async refreshRegionList(){await vr(),this.maybeUpdate()}async refreshGameInfo(t){await br(t),this.maybeUpdate()}async refreshCategoryList(t){await gr(t),this.maybeUpdate()}async refreshLeaderboard(t,e){await async function(t,e){const s=JSON.stringify({gameName:t,categoryName:e});let i=rr.get(s);return void 0===i&&(i=(async()=>{if(null==await gr(t))return;const i=dr(t);if(void 0===i)return;const r=i.map((t=>t.name)).indexOf(e);if(r<0)return;const o=i[r],n=await async function(t,e,s,i){const r=[];return void 0!==e&&r.push(`category=${e}`),r.push("max=500"),r.push(`embed=${["players"].join(",")}`),r.push(`status=${i}`),r.push("orderby=submitted","direction=desc"),Ki(ji(Hi(r)))}(0,o.id,0,"verified"),a=(await n.evaluateAll()).sort(((t,e)=>t.times.primary_t-e.times.primary_t));or.set(s,a)})(),rr.set(s,i)),i}(t,e),this.maybeUpdate()}getTab(){return this.state.tab}async downloadSplits(t,e){Os(e.startsWith("https://splits.io/api/v3/runs/"),"Unexpected Splits.io URL");const s=e.slice(30);try{const e={stack:[],error:void 0,hasError:!1};try{const i=this.state.editor.game,r=this.state.editor.category,o=Hs(s),n=yr(),a=vr(),l=br(i);await l,await n,await a;const p=Dr(e,await o,!1),d=Qt.new(p);null!==d?(Ir(d,i,r,t),this.props.editor[Symbol.dispose](),this.props.editor.ptr=d.ptr,this.update()):Rs.toast.error("The downloaded splits are not suitable for being edited.")}catch(t){e.error=t,e.hasError=!0}finally{Or(e)}}catch(t){Rs.toast.error("Failed to download the splits.")}}toggleExpandLeaderboardRow(t){!0===this.expandedLeaderboardRows.get(t)?this.expandedLeaderboardRows.set(t,!1):this.expandedLeaderboardRows.set(t,!0),this.update()}clearCategorySpecificVariables(){const t=dr(this.state.editor.game);if(void 0!==t)for(const e of t){if(e.name!==this.state.editor.category)continue;const t=cr(this.state.editor.game);if(void 0===t)continue;const s=Ls(t.variables,"We need the variables to be embedded");for(const t of s.data)t.category!==e?.id||"full-game"!==t.scope.type&&"global"!==t.scope.type||this.props.editor.removeSpeedrunComVariable(t.name);break}}async interactiveAssociateRunOrOpenPage(){const t=this.state.editor.metadata.run_id;if(""!==t)return void window.open(`https://www.speedrun.com/run/${t}`,"_blank");const e=prompt("Specify the speedrun.com ID or URL of the run:");if(null===e)return;const s=/^(?:(?:https?:\/\/)?(?:www\.)?speedrun\.com\/(?:\w+\/)?run\/)?(\w+)$/.exec(e);if(null===s)return void Rs.toast.error("Invalid speedrun.com ID or URL.");const i=s[1],r=await async function(t,e){const s=[];return Ji(ji(`/${t}${Hi(s)}`))}(i),o=await fr(r.game),n=Ls((await mr(r.game)).find((t=>t.id===r.category)),"The category doesn't belong to the game."),a=o.names.international,l=n.name;Ir(this.props.editor,a,l,r),this.refreshLeaderboard(a,l),this.resetTotalLeaderboardState(),this.maybeUpdate()}}function Ir(t,e,s,i){t.setGameName(e),t.setCategoryName(s);const r=hr().get(i.system.platform);void 0!==r&&t.setPlatformName(r);const o=Vs(i.system.region,(t=>ur().get(t)));void 0!==o&&t.setRegionName(o),t.setEmulatorUsage(i.system.emulated),null!=i.comment&&(t.addCustomVariable("Comment"),t.setCustomVariable("Comment",i.comment));const n=i?.videos?.links?.[0]?.uri;void 0!==n&&(t.addCustomVariable("Video URL"),t.setCustomVariable("Video URL",n));const a=cr(e)?.variables;if(void 0!==a)for(const[e,s]of Object.entries(i.values)){const i=a.data.find((t=>t.id===e));if(void 0!==i){const e=Object.entries(i.values.values).find((([t])=>t===s));if(void 0!==e){const s=e[1].label;t.setSpeedrunComVariable(i.name,s)}}}t.setRunId(i.id)}class Vr{forceUpdate;connection;wasIntendingToDisconnect=!1;constructor(t,e,s,i){this.forceUpdate=e;try{this.connection=new WebSocket(t)}catch(t){throw Rs.toast.error(`Failed to connect to the server: ${t.message}`),t}e();let r=!1;this.connection.onopen=t=>{r=!0,Rs.toast.info("Connected to the server."),e()},this.connection.onerror=()=>{Rs.toast.error("An error while communicating with the server occurred.")},this.connection.onmessage=t=>{if("string"==typeof t.data){const e=t.data.indexOf(" ");let s=t.data,r="";switch(e>=0&&(s=t.data.substring(0,e),r=t.data.substring(e+1)),s){case"start":i.start();break;case"split":i.split();break;case"splitorstart":i.splitOrStart();break;case"reset":i.reset();break;case"togglepause":i.togglePauseOrStart();break;case"undo":i.undoSplit();break;case"skip":i.skipSplit();break;case"initgametime":i.initializeGameTime();break;case"setgametime":i.setGameTimeString(r??"");break;case"setloadingtimes":i.setLoadingTimesString(r??"");break;case"pausegametime":i.pauseGameTime();break;case"resumegametime":i.resumeGameTime();break;case"setvariable":{const[t,e]=JSON.parse(r??"");i.setCustomVariable(t,e);break}}}},this.connection.onclose=t=>{const i=t.reason?`: ${t.reason}`:".";r?this.wasIntendingToDisconnect?Rs.toast.info("Closed the connection to the server."):Rs.toast.error(`Lost the connection to the server${i}`):Rs.toast.error(`Failed to connect to the server${i}`),s(),e()}}close(){this.connection.readyState===WebSocket.OPEN&&(this.wasIntendingToDisconnect=!0,this.connection.close(),this.forceUpdate())}getConnectionState(){return this.connection.readyState}}var Br=s(4229),zr={};zr.styleTagTransform=ri(),zr.setAttributes=ti(),zr.insert=Zs().bind(null,"head"),zr.domAPI=Ys(),zr.insertStyleElement=si(),Ks()(Br.A,zr),Br.A&&Br.A.locals&&Br.A.locals;class Gr extends i.Component{constructor(t){super(t),this.state={settings:t.hotkeyConfig.settingsDescriptionAsJson(),generalSettings:{...t.generalSettings}}}render(){const t=this.renderView(),e=this.renderSidebarContent();return this.props.callbacks.renderViewWithSidebar(t,e)}renderView(){return i.createElement("div",{className:"settings-editor"},i.createElement("h2",null,"Hotkeys"),i.createElement(ki,{context:"settings-editor-hotkeys",factory:ke,state:this.state.settings,editorUrlCache:this.props.urlCache,allComparisons:this.props.allComparisons,setValue:(t,e)=>{this.props.hotkeyConfig.setValue(t,e)?this.update():Rs.toast.error("The hotkey is already in use.")}}),i.createElement("h2",null,"General"),i.createElement(ki,{context:"settings-editor-general",factory:new Ci,state:{fields:[{text:"Frame Rate",tooltip:'Determines the frame rate at which to display the timer. "Battery Aware" tries determining the type of device and charging status to select a good frame rate. "Match Screen" makes the timer match the screen\'s refresh rate.',value:{CustomCombobox:{value:this.state.generalSettings.frameRate===Ni?Ni:this.state.generalSettings.frameRate===Ai?Ai:this.state.generalSettings.frameRate.toString()+" FPS",list:[Ai,"30 FPS","60 FPS","120 FPS",Ni],mandatory:!0}}},{text:"Show Control Buttons",tooltip:"Determines whether to show buttons beneath the timer that allow controlling it. When disabled, you have to use the hotkeys instead.",value:{Bool:this.state.generalSettings.showControlButtons}},{text:"Show Manual Game Time Input",tooltip:'Shows a text box beneath the timer that allows you to manually input the game time. You start the timer and do splits by pressing the Enter key in the text box. Make sure to compare against "Game Time".',value:{Bool:this.state.generalSettings.showManualGameTime}},{text:"Save On Reset",tooltip:"Determines whether to automatically save the splits when resetting the timer.",value:{Bool:this.state.generalSettings.saveOnReset}}]},editorUrlCache:this.props.urlCache,allComparisons:this.props.allComparisons,setValue:(t,e)=>{switch(t){case 0:"String"in e&&this.setState({generalSettings:{...this.state.generalSettings,frameRate:e.String===Ni?Ni:e.String===Ai?Ai:parseInt(e.String.split(" ")[0],10)}});break;case 1:"Bool"in e&&this.setState({generalSettings:{...this.state.generalSettings,showControlButtons:e.Bool}});break;case 2:"Bool"in e&&this.setState({generalSettings:{...this.state.generalSettings,showManualGameTime:e.Bool}});break;case 3:"Bool"in e&&this.setState({generalSettings:{...this.state.generalSettings,saveOnReset:e.Bool}})}}}),i.createElement("h2",null,"Network"),i.createElement(ki,{context:"settings-editor-general",factory:new Ci,state:{fields:[{text:"Speedrun.com Integration",tooltip:"Queries the list of games, categories, and the leaderboards from speedrun.com.",value:{Bool:this.state.generalSettings.speedrunComIntegration}},{text:"Splits.io Integration",tooltip:"Allows you to upload splits to and download splits from splits.io.",value:{Bool:this.state.generalSettings.splitsIoIntegration}},{text:i.createElement(i.Fragment,null,"Server Connection ",i.createElement("i",{className:"fa fa-flask",style:{color:"#07bc0c"},"aria-hidden":"true"})),tooltip:i.createElement(i.Fragment,null,"Allows you to connect to a WebSocket server that can control the timer by sending various commands. The commands are currently a subset of the commands the original LiveSplit supports.",i.createElement("br",null),i.createElement("br",null),"This feature is ",i.createElement("b",null,"experimental")," and the protocol will likely change in the future."),value:{ServerConnection:{url:this.props.generalSettings.serverUrl,connection:this.props.serverConnection}}}]},editorUrlCache:this.props.urlCache,allComparisons:this.props.allComparisons,setValue:(t,e)=>{switch(t){case 0:"Bool"in e&&this.setState({generalSettings:{...this.state.generalSettings,speedrunComIntegration:e.Bool}});break;case 1:"Bool"in e&&this.setState({generalSettings:{...this.state.generalSettings,splitsIoIntegration:e.Bool}});break;case 2:if("String"in e){try{this.props.callbacks.onServerConnectionOpened(new Vr(e.String,(()=>this.forceUpdate()),(()=>this.props.callbacks.onServerConnectionClosed()),this.props.eventSink))}catch{}this.setState({generalSettings:{...this.state.generalSettings,serverUrl:e.String}})}}}}))}renderSidebarContent(){return i.createElement("div",{className:"sidebar-buttons"},i.createElement("h1",null,"Settings"),i.createElement("hr",null),i.createElement("div",{className:"small"},i.createElement("button",{className:"toggle-left",onClick:t=>this.props.callbacks.closeSettingsEditor(!0,this.state.generalSettings)},i.createElement("i",{className:"fa fa-check","aria-hidden":"true"})," OK"),i.createElement("button",{className:"toggle-right",onClick:t=>this.props.callbacks.closeSettingsEditor(!1,this.state.generalSettings)},i.createElement("i",{className:"fa fa-times","aria-hidden":"true"})," Cancel")))}update(){this.setState({settings:this.props.hotkeyConfig.settingsDescriptionAsJson()})}}var Ur=s(2858),Mr={};Mr.styleTagTransform=ri(),Mr.setAttributes=ti(),Mr.insert=Zs().bind(null,"head"),Mr.domAPI=Ys(),Mr.insertStyleElement=si(),Ks()(Ur.A,Mr),Ur.A&&Ur.A.locals&&Ur.A.locals;class Fr extends i.Component{componentDidMount(){const t=document.getElementById("upload-drop-zone"),e=document.getElementById("upload-drop-zone-overlay"),s=this.props.importLayout,i=this.props.importSplits;null!==t&&(t.addEventListener("dragenter",(t=>{t.preventDefault(),t.stopPropagation(),e&&(e.style.visibility="visible")})),t.addEventListener("dragleave",(t=>{e&&(t.pageX<10||t.pageY<10||window.innerWidth-t.pageX<10||window.innerHeight-t.pageY<10)&&(e.style.visibility="hidden")})),t.addEventListener("dragover",(t=>{t.preventDefault(),t.stopPropagation()})),t.addEventListener("drop",(t=>{t.preventDefault(),t.stopPropagation(),e&&(e.style.visibility="hidden");const r=t.dataTransfer;if(r){const t=r.files[0];if(t)return i(t).catch((()=>void 0!==s?s(t).catch((()=>{Rs.toast.error("The file could not be parsed.")})):(Rs.toast.error("The file could not be parsed."),null)))}return null})))}render(){return i.createElement("div",{id:"upload-drop-zone"},i.createElement("div",{id:"upload-drop-zone-overlay"},i.createElement("div",{className:"overlay-text"},"Waiting for drop...")),this.props.children)}}const Hr=s.p+"41ae7890998ff08e05da.svg";var Wr=s(8331),jr={};jr.styleTagTransform=ri(),jr.setAttributes=ti(),jr.insert=Zs().bind(null,"head"),jr.domAPI=Ys(),jr.insertStyleElement=si(),Ks()(Wr.A,jr),Wr.A&&Wr.A.locals&&Wr.A.locals;var Jr=function(t,e,s){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var i;if(s){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose]}if("function"!=typeof i)throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:i,async:s})}else s&&t.stack.push({async:!0});return e},$r=function(t){return function(e){function s(s){e.error=e.hasError?new t(s,e.error,"An error was suppressed during disposal."):s,e.hasError=!0}return function t(){for(;e.stack.length;){var i=e.stack.pop();try{var r=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(r).then(t,(function(e){return s(e),t()}))}catch(t){s(t)}}if(e.hasError)throw e.error}()}}("function"==typeof SuppressedError?SuppressedError:function(t,e,s){var i=new Error(s);return i.name="SuppressedError",i.error=t,i.suppressed=e,i});class Kr extends i.Component{constructor(t){super(t),this.state={manualGameTime:""}}render(){const t=this.renderView();if(this.props.renderWithSidebar){const e=this.renderSidebarContent();return this.props.callbacks.renderViewWithSidebar(t,e)}return t}renderView(){return i.createElement(Fr,{importLayout:t=>this.props.callbacks.importLayoutFromFile(t),importSplits:t=>this.props.callbacks.importSplitsFromFile(t)},i.createElement("div",null,i.createElement("div",{onClick:t=>{this.props.generalSettings.showControlButtons&&this.props.eventSink.splitOrStart()},style:{display:"inline-block",cursor:this.props.generalSettings.showControlButtons?"pointer":void 0}},i.createElement(Bi,{getState:()=>(this.props.eventSink.updateLayoutState(this.props.layout,this.props.layoutState,this.props.layoutUrlCache.imageCache),this.props.layoutUrlCache.collect(),this.props.layoutState),layoutUrlCache:this.props.layoutUrlCache,allowResize:this.props.isDesktop,width:this.props.layoutWidth,height:this.props.layoutHeight,generalSettings:this.props.generalSettings,renderer:this.props.renderer,onResize:(t,e)=>this.props.callbacks.onResize(t,e)}))),this.props.generalSettings.showControlButtons&&i.createElement("div",{className:"buttons",style:{width:this.props.layoutWidth}},i.createElement("div",{className:"small"},i.createElement("button",{"aria-label":this.props.currentPhase===b.NotRunning?"Start":this.props.currentPhase===b.Paused?"Resume":"Pause",disabled:this.props.currentPhase===b.Ended,onClick:t=>this.props.eventSink.togglePauseOrStart()},i.createElement("i",{className:this.props.currentPhase===b.NotRunning||this.props.currentPhase===b.Paused?"fa fa-play":"fa fa-pause","aria-hidden":"true"})),i.createElement("button",{"aria-label":"Undo Split",disabled:this.props.currentSplitIndex<=0,onClick:t=>this.props.eventSink.undoSplit()},i.createElement("i",{className:"fa fa-arrow-up","aria-hidden":"true"}))),i.createElement("div",{className:"small"},i.createElement("button",{"aria-label":"Reset",disabled:this.props.currentPhase===b.NotRunning,onClick:t=>this.props.eventSink.reset()},i.createElement("i",{className:"fa fa-times","aria-hidden":"true"})),i.createElement("button",{"aria-label":"Skip Split",disabled:this.props.currentPhase===b.NotRunning||this.props.currentSplitIndex+1>=this.props.eventSink.segmentsCount(),onClick:t=>this.props.eventSink.skipSplit()},i.createElement("i",{className:"fa fa-arrow-down","aria-hidden":"true"})))),this.props.generalSettings.showManualGameTime&&i.createElement("div",{className:"buttons",style:{width:this.props.layoutWidth}},i.createElement("input",{type:"text",className:"manual-game-time",value:this.state.manualGameTime,placeholder:"Manual Game Time",onChange:t=>{this.setState({manualGameTime:t.target.value})},onKeyDown:t=>{if("Enter"===t.key){const t=this.props.eventSink;if(t.currentPhase()===b.NotRunning){const e={stack:[],error:void 0,hasError:!1};try{t.start(),t.pauseGameTime();const s=Jr(e,Xe.parse(this.state.manualGameTime)??Ls(Xe.parse("0"),"Failed to parse TimeSpan"),!1);t.setGameTimeInner(s),this.setState({manualGameTime:""})}catch(t){e.error=t,e.hasError=!0}finally{$r(e)}}else{const e={stack:[],error:void 0,hasError:!1};try{const s=Jr(e,Xe.parse(this.state.manualGameTime),!1);null!==s&&(t.setGameTimeInner(s),t.split(),this.setState({manualGameTime:""}))}catch(t){e.error=t,e.hasError=!0}finally{$r(e)}}}}})))}renderSidebarContent(){return i.createElement("div",{className:"sidebar-buttons"},i.createElement("div",{className:"livesplit-title"},i.createElement("span",{className:"livesplit-icon"},i.createElement("img",{src:Hr,alt:"LiveSplit Logo"})),i.createElement("h1",null," LiveSplit One")),i.createElement("hr",{className:"livesplit-title-separator"}),i.createElement("button",{onClick:t=>this.props.callbacks.openSplitsView()},i.createElement("i",{className:"fa fa-list","aria-hidden":"true"})," Splits",this.props.splitsModified&&i.createElement("i",{className:"fa fa-circle modified-icon","aria-hidden":"true"})),i.createElement("button",{onClick:t=>this.props.callbacks.openLayoutView()},i.createElement("i",{className:"fa fa-layer-group","aria-hidden":"true"})," Layout",this.props.layoutModified&&i.createElement("i",{className:"fa fa-circle modified-icon","aria-hidden":"true"})),i.createElement("hr",null),i.createElement("h2",null,"Compare Against"),i.createElement("select",{value:this.props.currentComparison,onChange:t=>this.props.eventSink.setCurrentComparison(t.target.value),className:"choose-comparison"},this.props.allComparisons.map((t=>i.createElement("option",null,t)))),i.createElement("div",{className:"small"},i.createElement("button",{onClick:t=>{this.props.eventSink.setCurrentTimingMethod(f.RealTime)},className:(this.props.currentTimingMethod===f.RealTime?"button-pressed":"")+" toggle-left"},"Real Time"),i.createElement("button",{onClick:t=>{this.props.eventSink.setCurrentTimingMethod(f.GameTime)},className:(this.props.currentTimingMethod===f.GameTime?"button-pressed":"")+" toggle-right"},"Game Time")),i.createElement("hr",null),i.createElement("button",{onClick:()=>this.props.callbacks.openSettingsEditor()},i.createElement("i",{className:"fa fa-cog","aria-hidden":"true"})," Settings"),i.createElement("button",{onClick:t=>this.props.callbacks.openAboutView()},i.createElement("i",{className:"fa fa-info-circle","aria-hidden":"true"})," About"))}}var qr=s(6654),Yr={};Yr.styleTagTransform=ri(),Yr.setAttributes=ti(),Yr.insert=Zs().bind(null,"head"),Yr.domAPI=Ys(),Yr.insertStyleElement=si(),Ks()(qr.A,Yr);const Qr=qr.A&&qr.A.locals?qr.A.locals:void 0;var Zr=s(8946),Xr={};Xr.styleTagTransform=ri(),Xr.setAttributes=ti(),Xr.insert=Zs().bind(null,"head"),Xr.domAPI=Ys(),Xr.insertStyleElement=si(),Ks()(Zr.A,Xr),Zr.A&&Zr.A.locals&&Zr.A.locals;const to={softBreak:!1,escapeHtml:!1},eo=parseFloat(Qr.contributorAvatarSize);class so extends i.Component{render(){const t=this.renderView(),e=this.renderSidebarContent();return this.props.callbacks.renderViewWithSidebar(t,e)}renderView(){const t=Math.round(devicePixelRatio*eo);return i.createElement("div",{className:"about"},i.createElement("div",{className:"about-inner-container"},i.createElement("div",{className:"livesplit-title"},i.createElement("span",{className:"livesplit-icon"},i.createElement("img",{src:Hr,alt:"LiveSplit Logo"})),i.createElement("div",{className:"title-text"},"LiveSplit One")),i.createElement("p",{className:"build-version"},i.createElement("a",{href:"https://github.com/LiveSplit/LiveSplitOne/commit/5ff3d17\n",target:"_blank"},"Version: ","2024-06-08 20:58:59 UTC")),i.createElement("p",null,"LiveSplit One is a multiplatform version of LiveSplit, the sleek, highly-customizable timer for speedrunners."),i.createElement("p",null,i.createElement("a",{href:"https://github.com/LiveSplit/LiveSplitOne",target:"_blank"},"View Source Code on GitHub")),i.createElement("h2",null,"Recent Changes"),i.createElement("div",{className:"changelog"},[{id:"d4eec063577becafdc0ce4858c7eafdea7ef1a41",message:"The comparison and timing method (Real Time / Game Time) that\nyou choose now stay chosen when you reload LiveSplit One.",date:"2024-06-08"},{id:"ba7e746618da0bec51195e88bc4c0863e098e852",message:"The splits editor now allows copying comparisons. This can\nalso be used to keep the times of an automatic comparison around as a\ncustom comparison. One example for using this is keeping around the\nlatest run as a custom comparison, so that you can compare against it\nlater on, even if you have already done another run.",date:"2024-06-08"},{id:"0902aa339b5e05a63fb1a02b7c60756b321fffdc",message:"There are now indicators in the user interface that remind\nyou about unsaved changes to your splits and layouts.",date:"2024-06-04"},{id:"af383c7062688181bccb0f364456e51479575150",message:"You can now choose the comparisons from a list in the\nsidebar. Settings that allow you to specify a comparison now also\nprovide a list to choose from.",date:"2024-06-03"},{id:"a0c0950a189cd92df76f5d9c210991419057abf1",message:"You can now enable **Save On Reset** in the settings, which\nwill automatically save the splits when you reset the timer.",date:"2024-06-03"},{id:"1578938aa8daa7ba9bb1fb654f7828c89f6a022a",message:"The About page now shows the most recent changes. The\ncontributors section has also been improved. It now shows the avatar of\neach contributor.",date:"2024-05-31"}].map((t=>i.createElement(i.Fragment,null,i.createElement("a",{href:`https://github.com/LiveSplit/LiveSplitOne/commit/${t.id}`,target:"_blank"},t.date),i.createElement("div",null,Nr(t.message,to)))))),i.createElement("h2",null,"Contributors"),i.createElement("div",{className:"contributors"},[{id:1451630,name:"CryZe"},{id:8262173,name:"wooferzfg"},{id:12072058,name:"hallcristobal"},{id:15368682,name:"DarkRTA"},{id:25464294,name:"kadiwa4"},{id:6600123,name:"AlexKnauth"},{id:21366319,name:"mcdoll"},{id:9326885,name:"P1n3appl3"},{id:24602724,name:"chrissantamaria"},{id:23059113,name:"doesthisusername"},{id:53879295,name:"Rektroth"},{id:6502527,name:"Splamy"},{id:6177465,name:"Ynscription"},{id:5025835,name:"Eein"},{id:14114749,name:"Hurricane996"},{id:20629184,name:"Jujstme"},{id:49624366,name:"MichaelJBerk"},{id:16222300,name:"AntyMew"},{id:2942058,name:"MarkDDR"},{id:4970541,name:"PARTYMANX"},{id:38794835,name:"Refragg"},{id:25165500,name:"TheTedder"},{id:2046750,name:"asauber"},{id:5300855,name:"ash2x3zb9cy"},{id:384637,name:"dagit"},{id:56401411,name:"just-ero"},{id:762049,name:"lbrndnr"},{id:4483829,name:"stevensmedia"},{id:2280544,name:"tmandry"}].map((e=>i.createElement("a",{href:`https://github.com/${e.name}`,target:"_blank"},i.createElement("img",{src:`https://avatars.githubusercontent.com/u/${e.id}?s=${t}&v=4`,onError:t=>t.target.remove()}),e.name))))))}renderSidebarContent(){return i.createElement("div",{className:"sidebar-buttons"},i.createElement("h1",null,"About"),i.createElement("hr",null),i.createElement("button",{onClick:t=>this.props.callbacks.openTimerView()},i.createElement("i",{className:"fa fa-caret-left","aria-hidden":"true"})," Back"))}}var io=s(602),ro=function(t,e,s){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var i;if(s){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose]}if("function"!=typeof i)throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:i,async:s})}else s&&t.stack.push({async:!0});return e},oo=function(t){return function(e){function s(s){e.error=e.hasError?new t(s,e.error,"An error was suppressed during disposal."):s,e.hasError=!0}return function t(){for(;e.stack.length;){var i=e.stack.pop();try{var r=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(r).then(t,(function(e){return s(e),t()}))}catch(t){s(t)}}if(e.hasError)throw e.error}()}}("function"==typeof SuppressedError?SuppressedError:function(t,e,s){var i=new Error(s);return i.name="SuppressedError",i.error=t,i.suppressed=e,i});let no=null;function ao(t){let e,s;if(t.len()>0){const i=t.segment(t.len()-1).personalBestSplitTime();e=i.realTime()?.totalSeconds(),s=i.gameTime()?.totalSeconds()}return{game:t.gameName(),category:t.extendedCategoryName(!0,!0,!0),realTime:e,gameTime:s}}function lo(t){const e={stack:[],error:void 0,hasError:!1};try{const s=ro(e,Kt.parseArray(t,""),!1);if(!s.parsedSuccessfully())return;return ao(ro(e,s.unwrap(),!1))}catch(t){e.error=t,e.hasError=!0}finally{oo(e)}}function po(){return null==no&&(no=(0,io.P2)("LiveSplit",2,{async upgrade(t,e,s,i){const r=t.createObjectStore("splitsData",{autoIncrement:!0}),o=t.createObjectStore("splitsInfo",{autoIncrement:!0});if(1===e){const t=i.objectStore("settings"),e=await t.get("splits");if(null!=e){t.delete("splits");const s=lo(e);null!=s&&(o.put(s),r.put(e),t.put(1,"splitsKey"))}}else{const e=t.createObjectStore("settings",{autoIncrement:!0}),s=localStorage.getItem("splits");if(s){const t=(new TextEncoder).encode(s),i=lo(t);null!=i&&(o.put(i),r.put(t),e.put(1,"splitsKey"))}const i=localStorage.getItem("layout");i&&e.put(JSON.parse(i),"layout");const n=localStorage.getItem("settings");n&&e.put(JSON.parse(n).hotkeys,"hotkeys");const a=localStorage.getItem("layoutWidth");a&&e.put(+a,"layoutWidth"),localStorage.clear()}}})),no}async function co(t,e){await ho((e=>{e(t,t.saveAsLssBytes())}),e)}async function ho(t,e){const s=(await po()).transaction(["splitsData","splitsInfo"],"readwrite");let i=null;return t(((t,r)=>{i=s.objectStore("splitsData").put(r,e),s.objectStore("splitsInfo").put(ao(t),e)})),await s.done,Os(null!==i,"Callback needs to actually run"),i}async function uo(t){const e=await po();return await e.get("splitsData",t)}async function mo(t){const e=await po();await e.put("settings",t,"splitsKey")}var go=s(3962),fo={};fo.styleTagTransform=ri(),fo.setAttributes=ti(),fo.insert=Zs().bind(null,"head"),fo.domAPI=Ys(),fo.insertStyleElement=si(),Ks()(go.A,fo),go.A&&go.A.locals&&go.A.locals;var bo=function(t,e,s){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var i;if(s){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose]}if("function"!=typeof i)throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:i,async:s})}else s&&t.stack.push({async:!0});return e},wo=function(t){return function(e){function s(s){e.error=e.hasError?new t(s,e.error,"An error was suppressed during disposal."):s,e.hasError=!0}return function t(){for(;e.stack.length;){var i=e.stack.pop();try{var r=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(r).then(t,(function(e){return s(e),t()}))}catch(t){s(t)}}if(e.hasError)throw e.error}()}}("function"==typeof SuppressedError?SuppressedError:function(t,e,s){var i=new Error(s);return i.name="SuppressedError",i.error=t,i.suppressed=e,i});class yo extends i.Component{constructor(t){super(t),this.refreshDb(),this.state={}}render(){const t=this.renderView(),e=this.renderSidebarContent();return this.props.callbacks.renderViewWithSidebar(t,e)}renderView(){let t;return t=null==this.state.splitsInfos?i.createElement("div",{className:"loading"},i.createElement("div",{className:"fa fa-spinner fa-spin"}),i.createElement("div",{className:"loading-text"},"Loading...")):i.createElement("div",{className:"splits-selection-container"},i.createElement("div",{className:"main-actions"},i.createElement("button",{onClick:()=>this.addNewSplits()},i.createElement("i",{className:"fa fa-plus","aria-hidden":"true"})," Add"),i.createElement("button",{onClick:()=>this.importSplits()},i.createElement("i",{className:"fa fa-download","aria-hidden":"true"})," Import"),this.props.generalSettings.splitsIoIntegration&&i.createElement("button",{onClick:()=>this.importSplitsFromSplitsIO()},i.createElement("i",{className:"fa fa-download","aria-hidden":"true"})," From Splits.io")),this.state.splitsInfos?.length>0&&i.createElement("div",{className:"splits-table"},i.createElement("div",{className:"splits-rows"},this.state.splitsInfos.map((([t,e])=>this.renderSavedSplitsRow(t,e)))))),i.createElement(Fr,{importSplits:this.importSplitsFromFile.bind(this)},i.createElement("div",{className:"splits-selection"},t))}async refreshDb(){const t=await async function(){const t=(await po()).transaction("splitsInfo","readonly"),e=[];let s=await t.store.openCursor();for(;s;)e.push([+s.key,s.value]),s=await s.continue();return e}();this.setState({splitsInfos:t})}renderSavedSplitsRow(t,e){const s=t===this.props.openedSplitsKey,r=`splits-${t}-context-menu`;let o=null;return i.createElement("div",{className:s?"splits-row selected":"splits-row",key:t},this.splitsTitle(e),i.createElement("div",{className:"splits-row-buttons"},s?null:i.createElement(i.Fragment,null,i.createElement("button",{"aria-label":"Open Splits",onClick:()=>this.openSplits(t)},i.createElement("i",{className:"fa fa-folder-open","aria-hidden":"true"})),i.createElement("button",{"aria-label":"Edit Splits",onClick:()=>this.editSplits(t)},i.createElement("i",{className:"fa fa-edit","aria-hidden":"true"})),i.createElement("button",{"aria-label":"Export Splits",onClick:t=>(t=>{o&&o.handleContextClick(t)})(t)},i.createElement(Ws.Rc,{id:r,ref:t=>o=t},i.createElement("i",{className:"fa fa-upload","aria-hidden":"true"}))),i.createElement(Ws.tz,{id:r},i.createElement(Ws.Dr,{className:"tooltip",onClick:s=>this.exportSplits(t,e)},"Export to File",i.createElement("span",{className:"tooltip-text"},"Export the splits to a file on your computer.")),this.props.generalSettings.splitsIoIntegration&&i.createElement(Ws.Dr,{className:"tooltip",onClick:e=>this.uploadSplitsToSplitsIO(t)},"Upload to Splits.io",i.createElement("span",{className:"tooltip-text"},"Upload the splits to splits.io.")))),i.createElement("button",{"aria-label":"Copy Splits",onClick:()=>this.copySplits(t)},i.createElement("i",{className:"fa fa-clone","aria-hidden":"true"})),i.createElement("button",{"aria-label":"Remove Splits",onClick:()=>this.deleteSplits(t)},i.createElement("i",{className:"fa fa-trash","aria-hidden":"true"}))))}splitsTitle(t){return i.createElement("div",{className:"splits-title-text"},i.createElement("div",{className:"splits-text splits-game"},t.game||"Untitled"),i.createElement("div",{className:"splits-text splits-category"},t.category||"—"))}renderSidebarContent(){return i.createElement("div",{className:"sidebar-buttons"},i.createElement("h1",null,"Splits"),i.createElement("hr",null),i.createElement("button",{onClick:t=>{if(this.props.eventSink.currentPhase()!==b.NotRunning)return void Rs.toast.error("You can't edit your run while the timer is running.");const e=this.props.eventSink.getRun().clone();this.props.callbacks.openRunEditor({run:e})}},i.createElement("i",{className:"fa fa-edit","aria-hidden":"true"})," Edit"),i.createElement("button",{onClick:t=>this.saveSplits()},i.createElement("i",{className:"fa fa-save","aria-hidden":"true"})," Save",this.props.splitsModified&&i.createElement("i",{className:"fa fa-circle modified-icon","aria-hidden":"true"})),i.createElement("button",{onClick:t=>this.exportTimerSplits()},i.createElement("i",{className:"fa fa-upload","aria-hidden":"true"})," Export"),this.props.generalSettings.splitsIoIntegration&&i.createElement("button",{onClick:t=>this.uploadTimerToSplitsIO()},i.createElement("i",{className:"fa fa-upload","aria-hidden":"true"})," Upload to Splits.io"),i.createElement("hr",null),i.createElement("button",{onClick:t=>this.props.callbacks.openTimerView()},i.createElement("i",{className:"fa fa-caret-left","aria-hidden":"true"})," Back"))}async getRunFromKey(t){const e={stack:[],error:void 0,hasError:!1};try{const s=await uo(t);if(void 0===s)throw Error("The splits key is invalid.");const i=bo(e,Kt.parseArray(new Uint8Array(s),""),!1);if(i.parsedSuccessfully())return i.unwrap();throw Error("Couldn't parse the splits.")}catch(t){e.error=t,e.hasError=!0}finally{wo(e)}}async openSplits(t){const e={stack:[],error:void 0,hasError:!1};try{if(this.props.eventSink.hasBeenModified()&&!confirm("Your current splits are modified and have unsaved changes. Do you want to continue and discard those changes?"))return;const s=bo(e,await this.getRunFromKey(t),!1);Is(this.props.eventSink.setRun(s),(()=>Rs.toast.error("The loaded splits are invalid."))),this.props.callbacks.setSplitsKey(t)}catch(t){e.error=t,e.hasError=!0}finally{wo(e)}}async exportSplits(t,e){try{const s=await uo(t);if(void 0===s)throw Error("The splits key is invalid.");As(`${e.game} - ${e.category}.lss`,s)}catch(t){Rs.toast.error("Failed to export the splits.")}}exportTimerSplits(){this.props.eventSink.markAsUnmodified();const t=this.props.eventSink.extendedFileName(!0),e=this.props.eventSink.saveAsLssBytes();try{As(t+".lss",e)}catch(t){Rs.toast.error("Failed to export the splits.")}}async editSplits(t){const e=await this.getRunFromKey(t);this.props.callbacks.openRunEditor({splitsKey:t,run:e})}async copySplits(t){await async function(t){const e=(await po()).transaction(["splitsData","splitsInfo"],"readwrite"),s=e.objectStore("splitsData");s.put(await s.get(t));const i=e.objectStore("splitsInfo");i.put(await i.get(t)),await e.done}(t),await this.refreshDb()}async deleteSplits(t){confirm("Are you sure you want to delete the splits? This operation can not be undone.")&&(await async function(t){const e=(await po()).transaction(["splitsData","splitsInfo"],"readwrite");e.objectStore("splitsData").delete(t),e.objectStore("splitsInfo").delete(t),await e.done}(t),t===this.props.openedSplitsKey&&(this.props.callbacks.setSplitsKey(void 0),mo(void 0)),await this.refreshDb())}async importSplits(){const t=await Ts();try{await this.importSplitsFromArrayBuffer(t)}catch(t){Rs.toast.error(t.message)}}async importSplitsFromFile(t){const e=await ks(t);this.importSplitsFromArrayBuffer(e)}async importSplitsFromArrayBuffer(t){const[e]=t,s=Kt.parseArray(new Uint8Array(e),"");try{if(!s.parsedSuccessfully())throw Error("Couldn't parse the splits.");await this.storeRun(s.unwrap())}finally{s[Symbol.dispose]()}}async saveSplits(){await this.props.callbacks.saveSplits(),this.refreshDb()}async uploadSplitsToSplitsIO(t){try{const e=await uo(t);if(void 0===e)throw Error("The splits key is invalid.");const s=await Fs(new Blob([e]));return window.open(s)}catch(t){return Rs.toast.error("Failed to upload the splits."),null}}async uploadTimerToSplitsIO(){const t=this.props.eventSink.saveAsLssBytes();try{const e=await Fs(new Blob([t]));return window.open(e)}catch(t){return Rs.toast.error("Failed to upload the splits."),null}}async importSplitsFromSplitsIO(){let t=prompt("Specify the Splits.io URL or ID:");if(t){0===t.indexOf("https://splits.io/")&&(t=t.substring(18));try{const e=await Hs(t);await this.storeRun(e)}catch(t){Rs.toast.error("Failed to download the splits.")}}}async addNewSplits(){const t=Kt.new();t.pushSegment(pe.new("Time")),await this.storeRun(t)}async storeRun(t){try{if(0===t.len())return void Rs.toast.error("Can't import empty splits.");await co(t,void 0),await this.refreshDb()}finally{t[Symbol.dispose]()}}}class vo extends i.Component{render(){const t=i.createElement(Kr,{layout:this.props.layout,layoutState:this.props.layoutState,layoutUrlCache:this.props.layoutUrlCache,layoutWidth:this.props.layoutWidth,layoutHeight:this.props.layoutHeight,generalSettings:this.props.generalSettings,isDesktop:this.props.isDesktop,renderWithSidebar:!1,sidebarOpen:this.props.sidebarOpen,eventSink:this.props.eventSink,renderer:this.props.renderer,serverConnection:this.props.serverConnection,callbacks:this.props.callbacks,currentComparison:this.props.currentComparison,currentTimingMethod:this.props.currentTimingMethod,currentPhase:this.props.currentPhase,currentSplitIndex:this.props.currentSplitIndex,allComparisons:this.props.allComparisons,splitsModified:this.props.splitsModified,layoutModified:this.props.layoutModified}),e=this.renderSidebarContent();return this.props.callbacks.renderViewWithSidebar(t,e)}renderSidebarContent(){return i.createElement("div",{className:"sidebar-buttons"},i.createElement("h1",null,"Layout"),i.createElement("hr",null),i.createElement("button",{onClick:t=>this.props.callbacks.openLayoutEditor()},i.createElement("i",{className:"fa fa-edit","aria-hidden":"true"})," Edit"),i.createElement("button",{onClick:t=>this.props.callbacks.saveLayout()},i.createElement("i",{className:"fa fa-save","aria-hidden":"true"})," Save",this.props.layoutModified&&i.createElement("i",{className:"fa fa-circle modified-icon","aria-hidden":"true"})),i.createElement("button",{onClick:t=>this.props.callbacks.importLayout()},i.createElement("i",{className:"fa fa-download","aria-hidden":"true"})," Import"),i.createElement("button",{onClick:t=>this.props.callbacks.exportLayout()},i.createElement("i",{className:"fa fa-upload","aria-hidden":"true"})," Export"),i.createElement("button",{onClick:t=>this.props.callbacks.loadDefaultLayout()},i.createElement("i",{className:"fa fa-sync","aria-hidden":"true"})," Default"),i.createElement("hr",null),i.createElement("button",{onClick:t=>this.props.callbacks.openTimerView()},i.createElement("i",{className:"fa fa-caret-left","aria-hidden":"true"})," Back"))}}class So{urls=new Map;imageCache=ht.new();cache(t){const e=this.urls.get(t);if(void 0!==e)return e;const s=this.imageCache.lookupData(t);if(void 0===s)return;const i=URL.createObjectURL(new Blob([s]));return this.urls.set(t,i),i}collect(){if(0!==this.imageCache.collect())for(const[t,e]of this.urls)0===this.imageCache.lookupDataPtr(t)&&(this.urls.delete(t),URL.revokeObjectURL(e))}}var xo=function(t,e,s){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var i;if(s){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose]}if("function"!=typeof i)throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:i,async:s})}else s&&t.stack.push({async:!0});return e},_o=function(t){return function(e){function s(s){e.error=e.hasError?new t(s,e.error,"An error was suppressed during disposal."):s,e.hasError=!0}return function t(){for(;e.stack.length;){var i=e.stack.pop();try{var r=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(r).then(t,(function(e){return s(e),t()}))}catch(t){s(t)}}if(e.hasError)throw e.error}()}}("function"==typeof SuppressedError?SuppressedError:function(t,e,s){var i=new Error(s);return i.name="SuppressedError",i.error=t,i.suppressed=e,i});class Eo{timer;currentComparisonChanged;currentTimingMethodChanged;currentPhaseChanged;currentSplitChanged;comparisonListChanged;splitsModifiedChanged;onReset;eventSink;constructor(t,e,s,i,r,o,a,l){this.timer=t,this.currentComparisonChanged=e,this.currentTimingMethodChanged=s,this.currentPhaseChanged=i,this.currentSplitChanged=r,this.comparisonListChanged=o,this.splitsModifiedChanged=a,this.onReset=l,this.eventSink=new K(new n.qc(this).intoGeneric())}[Symbol.dispose](){this.eventSink[Symbol.dispose](),this.timer[Symbol.dispose]()}getEventSink(){return this.eventSink}start(){this.timer.start(),this.currentPhaseChanged(),this.currentSplitChanged(),this.splitsModifiedChanged()}split(){this.timer.split(),this.currentPhaseChanged(),this.currentSplitChanged()}splitOrStart(){this.timer.splitOrStart(),this.currentPhaseChanged(),this.currentSplitChanged(),this.splitsModifiedChanged()}reset(){let t=!0;this.timer.currentAttemptHasNewBestTimes()&&(t=confirm("You have beaten some of your best times. Do you want to update them?")),this.timer.reset(t),this.currentPhaseChanged(),this.currentSplitChanged(),this.onReset()}undoSplit(){this.timer.undoSplit(),this.currentPhaseChanged(),this.currentSplitChanged()}skipSplit(){this.timer.skipSplit(),this.currentSplitChanged()}togglePauseOrStart(){this.timer.togglePauseOrStart(),this.currentPhaseChanged(),this.currentSplitChanged(),this.splitsModifiedChanged()}pause(){this.timer.pause(),this.currentPhaseChanged()}resume(){this.timer.resume(),this.currentPhaseChanged()}undoAllPauses(){this.timer.undoAllPauses(),this.currentPhaseChanged()}switchToPreviousComparison(){this.timer.switchToPreviousComparison(),this.currentComparisonChanged()}switchToNextComparison(){this.timer.switchToNextComparison(),this.currentComparisonChanged()}setCurrentComparison(t){this.timer.setCurrentComparison(t),this.currentComparisonChanged()}toggleTimingMethod(){this.timer.toggleTimingMethod(),this.currentTimingMethodChanged()}setGameTime(t){const e=new Qe(t);this.timer.setGameTime(e)}setGameTimeInner(t){this.timer.setGameTime(t)}setGameTimeString(t){const e={stack:[],error:void 0,hasError:!1};try{const s=xo(e,Xe.parse(t),!1);null!==s&&this.setGameTimeInner(s)}catch(t){e.error=t,e.hasError=!0}finally{_o(e)}}setLoadingTimesString(t){const e={stack:[],error:void 0,hasError:!1};try{const s=xo(e,Xe.parse(t),!1);null!==s&&this.setLoadingTimesInner(s)}catch(t){e.error=t,e.hasError=!0}finally{_o(e)}}pauseGameTime(){this.timer.pauseGameTime()}resumeGameTime(){this.timer.resumeGameTime()}setCustomVariable(t,e){this.timer.setCustomVariable(t,e)}initializeGameTime(){this.timer.initializeGameTime()}setLoadingTimesInner(t){this.timer.setLoadingTimes(t)}setRun(t){const e=this.timer.setRun(t);return this.currentComparisonChanged(),this.currentPhaseChanged(),this.currentSplitChanged(),this.comparisonListChanged(),this.splitsModifiedChanged(),e}hasBeenModified(){return this.timer.getRun().hasBeenModified()}markAsUnmodified(){this.timer.markAsUnmodified(),this.splitsModifiedChanged()}getRun(){return this.timer.getRun()}extendedFileName(t){return this.timer.getRun().extendedFileName(t)}saveAsLssBytes(){return this.timer.saveAsLssBytes()}updateLayoutState(t,e,s){t.updateState(e,s,this.timer)}updateLayoutEditorLayoutState(t,e,s){t.updateLayoutState(e,s,this.timer)}currentSplitIndex(){return this.timer.currentSplitIndex()}segmentsCount(){return this.timer.getRun().segmentsLen()}currentPhase(){return this.timer.currentPhase()}currentComparison(){return this.timer.currentComparison()}getAllComparisons(){const t=this.timer.getRun(),e=t.comparisonsLen(),s=[];for(let i=0;ithis.currentComparisonChanged()),(()=>this.currentTimingMethodChanged()),(()=>this.currentPhaseChanged()),(()=>this.currentSplitChanged()),(()=>this.comparisonsListChanged()),(()=>this.splitsModifiedChanged()),(()=>this.onReset())),r=t.hotkeys;try{if(void 0!==r){const t=nt.parseJson(r);null!==t&&(Oo=pt.withConfig(i.getEventSink(),t))}}catch(t){}if(null==Oo&&(Oo=Ls(pt.new(i.getEventSink()),"Couldn't initialize the hotkeys")),0===window.location.hash.indexOf("#/splits-io/")){const t=Kt.new();t.setGameName("Loading..."),t.setCategoryName("Loading..."),t.pushSegment(pe.new("Time")),Ps(i.setRun(t),"The Default Loading Run should be a valid Run"),this.loadFromSplitsIO(window.location.hash.substring(12))}else if(void 0!==t.splits){const e={stack:[],error:void 0,hasError:!1};try{const s=To(e,Kt.parseArray(t.splits,""),!1);if(s.parsedSuccessfully()){const t={stack:[],error:void 0,hasError:!1};try{const e=To(t,s.unwrap(),!1);i.setRun(e)?.[Symbol.dispose]()}catch(e){t.error=e,t.hasError=!0}finally{No(t)}}}catch(t){e.error=t,e.hasError=!0}finally{No(e)}}void 0!==t.comparison&&s.setCurrentComparison(t.comparison),s.setCurrentTimingMethod(t.timingMethod);let o=null;try{const e=t.layout;void 0!==e&&(o=wt.parseJson(e))}catch(t){}null===o&&(o=wt.defaultLayout());const a=this.isDesktopQuery.matches,l=!!window.obsstudio,p=new n.YM;p.element().setAttribute("style","width: inherit; height: inherit;"),this.state={isDesktop:a&&!l,isBrowserSource:l,layout:o,layoutState:Tt.new(),layoutUrlCache:new So,runEditorUrlCache:new So,layoutEditorUrlCache:new So,layoutWidth:t.layoutWidth,layoutHeight:t.layoutHeight,menu:{kind:Do.Timer},sidebarOpen:!1,sidebarTransitionsEnabled:!1,storedLayoutWidth:t.layoutWidth,storedLayoutHeight:t.layoutHeight,eventSink:i,hotkeySystem:Oo,openedSplitsKey:t.splitsKey,renderer:p,generalSettings:t.generalSettings,serverConnection:null,currentComparison:i.currentComparison(),currentTimingMethod:i.currentTimingMethod(),currentPhase:i.currentPhase(),currentSplitIndex:i.currentSplitIndex(),allComparisons:i.getAllComparisons(),splitsModified:i.hasBeenModified(),layoutModified:!1},this.mediaQueryChanged=this.mediaQueryChanged.bind(this)}notifyAboutUpdate(){const{serviceWorker:t}=navigator;t&&t.controller&&Rs.toast.warn("A new version of LiveSplit One is available! Click here to reload.",{closeOnClick:!0,onClick:()=>window.location.reload()})}componentDidMount(){this.scrollEvent={handleEvent:t=>this.onScroll(t)},window.addEventListener("wheel",this.scrollEvent),this.rightClickEvent={handleEvent:t=>this.onRightClick(t)},window.addEventListener("contextmenu",this.rightClickEvent,!1),this.resizeEvent={handleEvent:()=>this.handleAutomaticResize()},window.addEventListener("resize",this.resizeEvent,!1),window.onbeforeunload=()=>this.state.splitsModified||this.state.layoutModified?"There are unsaved changes. Do you really want to close LiveSplit One?":void 0,this.isDesktopQuery.addEventListener("change",this.mediaQueryChanged),this.state.isBrowserSource&&(document.body.className="browser-source"),this.handleAutomaticResize();const{serviceWorker:t}=navigator;t&&t.controller&&t.addEventListener("controllerchange",this.notifyAboutUpdate)}componentDidUpdate(){this.handleAutomaticResize()}componentWillUnmount(){window.removeEventListener("wheel",Ls(this.scrollEvent,"A Scroll Event should exist")),window.removeEventListener("contextmenu",Ls(this.rightClickEvent,"A Right Click Event should exist")),window.removeEventListener("resize",Ls(this.resizeEvent,"A Resize Event should exist")),this.state.eventSink[Symbol.dispose](),this.state.layout[Symbol.dispose](),this.state.layoutState[Symbol.dispose](),this.state.hotkeySystem?.[Symbol.dispose](),this.isDesktopQuery.removeEventListener("change",this.mediaQueryChanged);const{serviceWorker:t}=navigator;t&&t.removeEventListener("controllerchange",this.notifyAboutUpdate)}render(){if(this.state.menu.kind===Do.RunEditor)return i.createElement(Pr,{editor:this.state.menu.editor,callbacks:this,runEditorUrlCache:this.state.runEditorUrlCache,allComparisons:this.state.allComparisons,generalSettings:this.state.generalSettings});if(this.state.menu.kind===Do.LayoutEditor)return i.createElement(Ui,{editor:this.state.menu.editor,layoutState:this.state.layoutState,layoutEditorUrlCache:this.state.layoutEditorUrlCache,layoutUrlCache:this.state.layoutUrlCache,layoutWidth:this.state.layoutWidth,layoutHeight:this.state.layoutHeight,generalSettings:this.state.generalSettings,allComparisons:this.state.allComparisons,isDesktop:this.state.isDesktop,eventSink:this.state.eventSink,renderer:this.state.renderer,callbacks:this});if(this.state.menu.kind===Do.SettingsEditor)return i.createElement(Gr,{generalSettings:this.state.generalSettings,hotkeyConfig:this.state.menu.config,urlCache:this.state.layoutUrlCache,callbacks:this,eventSink:this.state.eventSink,serverConnection:this.state.serverConnection,allComparisons:this.state.allComparisons});if(this.state.menu.kind===Do.About)return i.createElement(so,{callbacks:this});if(this.state.menu.kind===Do.Splits)return i.createElement(yo,{generalSettings:this.state.generalSettings,eventSink:this.state.eventSink,openedSplitsKey:this.state.openedSplitsKey,callbacks:this,splitsModified:this.state.splitsModified});if(this.state.menu.kind===Do.Timer)return i.createElement(Kr,{layout:this.state.layout,layoutState:this.state.layoutState,layoutUrlCache:this.state.layoutUrlCache,layoutWidth:this.state.layoutWidth,layoutHeight:this.state.layoutHeight,generalSettings:this.state.generalSettings,isDesktop:this.state.isDesktop,renderWithSidebar:!0,sidebarOpen:this.state.sidebarOpen,eventSink:this.state.eventSink,renderer:this.state.renderer,serverConnection:this.state.serverConnection,callbacks:this,currentComparison:this.state.currentComparison,currentTimingMethod:this.state.currentTimingMethod,currentPhase:this.state.currentPhase,currentSplitIndex:this.state.currentSplitIndex,allComparisons:this.state.allComparisons,splitsModified:this.state.splitsModified,layoutModified:this.state.layoutModified});if(this.state.menu.kind===Do.Layout)return i.createElement(vo,{layout:this.state.layout,layoutState:this.state.layoutState,layoutUrlCache:this.state.layoutUrlCache,layoutWidth:this.state.layoutWidth,layoutHeight:this.state.layoutHeight,generalSettings:this.state.generalSettings,isDesktop:this.state.isDesktop,renderWithSidebar:!0,sidebarOpen:this.state.sidebarOpen,eventSink:this.state.eventSink,renderer:this.state.renderer,serverConnection:this.state.serverConnection,callbacks:this,currentComparison:this.state.currentComparison,currentTimingMethod:this.state.currentTimingMethod,currentPhase:this.state.currentPhase,currentSplitIndex:this.state.currentSplitIndex,allComparisons:this.state.allComparisons,splitsModified:this.state.splitsModified,layoutModified:this.state.layoutModified});throw Error(`Invalid menu: ${this.state.menu}`)}renderViewWithSidebar(t,e){return i.createElement("div",{className:this.state.isDesktop?"":"is-mobile"},i.createElement(r.A,{sidebar:e,docked:this.state.isDesktop,open:this.state.sidebarOpen,transitions:this.state.sidebarTransitionsEnabled,onSetOpen:t=>this.onSetSidebarOpen(t),sidebarClassName:"sidebar",contentClassName:"livesplit-container",overlayClassName:"sidebar-overlay"},!this.state.isDesktop&&!this.state.sidebarOpen&&i.createElement("button",{"aria-label":"Open Sidebar",className:"sidebar-button fa fa-bars",onClick:()=>this.onSetSidebarOpen(!0)}),i.createElement("div",{className:"view-container"},t)))}openTimerView(){this.setState({menu:{kind:Do.Timer},sidebarOpen:!1}),this.state.hotkeySystem.activate()}openSplitsView(){this.setState({menu:{kind:Do.Splits},sidebarOpen:!1}),this.state.hotkeySystem.deactivate()}openLayoutView(){this.setState({menu:{kind:Do.Layout}})}openAboutView(){this.setState({menu:{kind:Do.About},sidebarOpen:!1}),this.state.hotkeySystem.deactivate()}async importSplitsFromFile(t){const e=await ks(t);this.importSplitsFromArrayBuffer(e)}async saveLayout(){try{const t=this.state.layout.settingsAsJson();await async function(t,e,s){const i=await po();await i.put("settings",t,"layout"),await i.put("settings",e,"layoutWidth"),await i.put("settings",s,"layoutHeight")}(t,this.state.storedLayoutWidth,this.state.storedLayoutHeight),this.setState({layoutModified:!1},(()=>this.updateBadge()))}catch(t){Rs.toast.error("Failed to save the layout.")}}async importLayout(){const[t]=await async function(){return Ns(await Cs())}();try{this.importLayoutFromString(t)}catch(t){Rs.toast.error(t.message)}}async importLayoutFromFile(t){const[e]=await Ns(t);this.importLayoutFromString(e)}exportLayout(){const t=this.state.layout.settingsAsJson();As("layout.ls1l",JSON.stringify(t,null,4))}loadDefaultLayout(){const t=wt.defaultLayout();this.setLayout(t)}openRunEditor({splitsKey:t,run:e}){const s=Ls(Qt.new(e),"The Run Editor should always be able to be opened.");this.setState({menu:{kind:Do.RunEditor,editor:s,splitsKey:t},sidebarOpen:!1})}closeRunEditor(t){this.state.menu.kind!==Do.RunEditor&&Ds("No Run Editor to close");const{editor:e,splitsKey:s}=this.state.menu,i=e.close();t?null==s?Ps(this.state.eventSink.setRun(i),"The Run Editor should always return a valid Run."):async function(t,e){try{await co(t,e)}finally{t[Symbol.dispose]()}}(i,s):i[Symbol.dispose](),this.openSplitsView()}setSplitsKey(t){this.setState({openedSplitsKey:t}),void 0!==t&&mo(t)}openLayoutEditor(){this.state.hotkeySystem.deactivate();const t=this.state.layout.clone(),e=Ls(St.new(t),"The Layout Editor should always be able to be opened.");this.setState({menu:{kind:Do.LayoutEditor,editor:e},sidebarOpen:!1})}closeLayoutEditor(t){this.state.menu.kind!==Do.LayoutEditor&&Ds("No Layout Editor to close.");const e=this.state.menu.editor.close();t?this.setLayout(e):e[Symbol.dispose](),this.openTimerView()}openSettingsEditor(){this.state.hotkeySystem.deactivate(),this.setState({menu:{kind:Do.SettingsEditor,config:this.state.hotkeySystem.config()},sidebarOpen:!1})}async closeSettingsEditor(t,e){const s=this.state.menu;if(s.kind!==Do.SettingsEditor&&Ds("No Settings Editor to close."),t){try{const t=s.config.asJson();await async function(t){const e=await po();await e.put("settings",t,"hotkeys")}(t)}catch{Rs.toast.error("Failed to save the hotkey settings.")}try{await async function(t){const e=await po();await e.put("settings",t,"generalSettings")}(e)}catch{Rs.toast.error("Failed to save the general settings.")}this.state.hotkeySystem.setConfig(s.config),this.setState({generalSettings:e})}else s.config[Symbol.dispose]();this.openTimerView()}onResize(t,e){this.setState({layoutWidth:t,layoutHeight:e,storedLayoutWidth:t,storedLayoutHeight:e,layoutModified:!0},(()=>this.updateBadge()))}getDefaultRun(){const t=Kt.new();return t.pushSegment(pe.new("Time")),t}handleAutomaticResize(){if(!this.state.isDesktop){if("Vertical"!==this.state.layoutState.asJson().direction)return;const t=window.innerWidth;t!==this.state.layoutWidth&&this.setState({layoutWidth:t});const e=this.state.generalSettings.showControlButtons,s=this.state.generalSettings.showManualGameTime;let i=window.innerHeight-Ro;e&&s?i-=2*Ao+Lo+3*Ro:e?i-=2*Ao+2*Ro:s&&(i-=Lo+Ro),i!==this.state.layoutHeight&&this.setState({layoutHeight:i})}}mediaQueryChanged(){const t=this.isDesktopQuery.matches&&!this.state.isBrowserSource;this.setState({isDesktop:t,layoutWidth:t?this.state.storedLayoutWidth:this.state.layoutWidth,layoutHeight:t?this.state.storedLayoutHeight:this.state.layoutHeight,sidebarTransitionsEnabled:!1})}importLayoutFromString(t){let e=null;try{e=wt.parseJson(JSON.parse(t))}catch(t){}if(null===e&&(e=wt.parseOriginalLivesplitString(t)),null===e)throw Error("The layout could not be loaded. This may not be a valid LiveSplit or LiveSplit One Layout.");this.setLayout(e)}setLayout(t){this.state.layout[Symbol.dispose](),this.setState({layout:t,layoutModified:!0},(()=>this.updateBadge()))}setRun(t,e){Is(this.state.eventSink.setRun(t),e),this.setSplitsKey(void 0)}importSplitsFromArrayBuffer(t){const e={stack:[],error:void 0,hasError:!1};try{const[s]=t,i=To(e,Kt.parseArray(new Uint8Array(s),""),!1);if(!i.parsedSuccessfully())throw Error("Couldn't parse the splits.");{const t=i.unwrap();this.setRun(t,(()=>{throw Error("Empty Splits are not supported.")}))}}catch(t){e.error=t,e.hasError=!0}finally{No(e)}}async loadFromSplitsIO(t){try{const e=await Hs(t);this.setRun(e,(()=>Rs.toast.error("The downloaded splits are not valid.")))}catch(t){Rs.toast.error("Failed to download the splits.")}}onScroll(t){const e=Math.sign(-t.deltaY);1===e?this.state.layout.scrollUp():-1===e&&this.state.layout.scrollDown()}onSetSidebarOpen(t){this.state.isDesktop||this.setState({sidebarOpen:t,sidebarTransitionsEnabled:!0})}onRightClick(t){this.onSetSidebarOpen(!0),t.preventDefault()}async saveSplits(){try{const t=await ho((t=>{t(this.state.eventSink.getRun(),this.state.eventSink.saveAsLssBytes()),this.state.eventSink.markAsUnmodified()}),this.state.openedSplitsKey);this.state.openedSplitsKey!==t&&this.setSplitsKey(t)}catch(t){Rs.toast.error("Failed to save the splits.")}}onServerConnectionOpened(t){this.setState({serverConnection:t})}onServerConnectionClosed(){this.setState({serverConnection:null})}currentComparisonChanged(){if(null!=this.state){const t=this.state.eventSink.currentComparison();(async()=>{try{await async function(t){const e=await po();await e.put("settings",t,"comparison")}(t)}catch{}})(),this.setState({currentComparison:t})}}currentTimingMethodChanged(){if(null!=this.state){const t=this.state.eventSink.currentTimingMethod();(async()=>{try{await async function(t){const e=await po();await e.put("settings",t,"timingMethod")}(t)}catch{}})(),this.setState({currentTimingMethod:t})}}currentPhaseChanged(){null!=this.state&&this.setState({currentPhase:this.state.eventSink.currentPhase()})}currentSplitChanged(){null!=this.state&&this.setState({currentSplitIndex:this.state.eventSink.currentSplitIndex()})}comparisonsListChanged(){null!=this.state&&this.setState({allComparisons:this.state.eventSink.getAllComparisons()})}onReset(){this.state.generalSettings.saveOnReset&&this.saveSplits()}splitsModifiedChanged(){if(null!=this.state){const t=this.state.eventSink.hasBeenModified();this.setState({splitsModified:t},(()=>this.updateBadge()))}}updateBadge(){if(this.state.splitsModified||this.state.layoutModified){try{navigator?.setAppBadge()}catch{}document.title="LiveSplit One ●"}else{try{navigator?.clearAppBadge()}catch{}document.title="LiveSplit One"}}}},4862:(t,e,s)=>{let i;function r(t){i=t}s.d(e,{$z:()=>ve,At:()=>ut,B6:()=>it,BO:()=>de,BU:()=>ee,BZ:()=>I,D4:()=>tt,DI:()=>ae,DW:()=>xe,Dq:()=>et,Dr:()=>Ot,Fm:()=>jt,Fq:()=>be,GI:()=>Pt,GK:()=>V,Gg:()=>Se,Hb:()=>ce,Hh:()=>Q,Hn:()=>nt,Ho:()=>zt,IH:()=>gt,JB:()=>le,KT:()=>Ee,KY:()=>P,Kc:()=>xt,LC:()=>G,LY:()=>ue,Lo:()=>Nt,MG:()=>ge,O$:()=>Zt,OE:()=>Z,Ov:()=>Ht,PR:()=>j,Pe:()=>It,Pf:()=>Ct,Py:()=>Wt,QR:()=>$,Qn:()=>fe,Qo:()=>Lt,R2:()=>mt,RX:()=>kt,Rg:()=>_e,Ro:()=>wt,SC:()=>at,T:()=>Ut,TL:()=>ft,Uh:()=>re,Up:()=>qt,Vl:()=>ne,WN:()=>rt,XB:()=>W,XV:()=>Kt,XZ:()=>Mt,Xh:()=>he,YM:()=>L,Z3:()=>ct,_E:()=>te,_h:()=>Ft,_m:()=>M,aN:()=>X,bk:()=>Qt,bs:()=>Gt,cM:()=>Jt,cX:()=>vt,cq:()=>J,cr:()=>me,eE:()=>K,eU:()=>z,f0:()=>pt,fN:()=>Tt,fi:()=>ye,g_:()=>Xt,h1:()=>At,hY:()=>Y,iE:()=>bt,iV:()=>Dt,jq:()=>$t,kh:()=>St,lI:()=>r,lT:()=>ot,n1:()=>Bt,ol:()=>dt,pl:()=>Vt,pr:()=>st,qN:()=>F,qc:()=>A,qv:()=>O,rO:()=>se,sW:()=>q,tt:()=>ht,uH:()=>D,uJ:()=>pe,uP:()=>Yt,vA:()=>_t,vU:()=>Et,w:()=>we,wC:()=>B,wI:()=>oe,xZ:()=>H,yF:()=>lt,yI:()=>yt,yc:()=>U,z3:()=>ie,zt:()=>Rt});const o=new Array(128).fill(void 0);function n(t){return o[t]}o.push(void 0,null,!0,!1);let a=o.length;function l(t){const e=n(t);return function(t){t<132||(o[t]=a,a=t)}(t),e}function p(t){a===o.length&&o.push(o.length+1);const e=a;return a=o[e],o[e]=t,e}let d=new("undefined"==typeof TextDecoder?(0,module.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});d.decode();let c=null;function h(){return null!==c&&0!==c.byteLength||(c=new Uint8Array(i.memory.buffer)),c}function u(t,e){return t>>>=0,d.decode(h().subarray(t,t+e))}let m=0,g=new("undefined"==typeof TextEncoder?(0,module.require)("util").TextEncoder:TextEncoder)("utf-8");const f="function"==typeof g.encodeInto?function(t,e){return g.encodeInto(t,e)}:function(t,e){const s=g.encode(t);return e.set(s),{read:t.length,written:s.length}};function b(t,e,s){if(void 0===s){const s=g.encode(t),i=e(s.length,1)>>>0;return h().subarray(i,i+s.length).set(s),m=s.length,i}let i=t.length,r=e(i,1)>>>0;const o=h();let n=0;for(;n127)break;o[r+n]=e}if(n!==i){0!==n&&(t=t.slice(n)),r=s(r,i,i=n+3*t.length,1)>>>0;const e=h().subarray(r+n,r+i);n+=f(t,e).written,r=s(r,i,n,1)>>>0}return m=n,r}function w(t){return null==t}let y=null;function v(){return null!==y&&0!==y.byteLength||(y=new Int32Array(i.memory.buffer)),y}let S=null;const x="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>{i.__wbindgen_export_2.get(t.dtor)(t.a,t.b)}));function _(t,e,s,r){const o={a:t,b:e,cnt:1,dtor:s},n=(...t)=>{o.cnt++;const e=o.a;o.a=0;try{return r(e,o.b,...t)}finally{0==--o.cnt?(i.__wbindgen_export_2.get(o.dtor)(e,o.b),x.unregister(o)):o.a=e}};return n.original=o,x.register(n,o,o),n}function E(t,e,s){i.__wbindgen_export_3(t,e,p(s))}function C(t,e){i.__wbindgen_export_4(t,e)}let k=null;function T(t,e){try{return t.apply(this,e)}catch(t){i.__wbindgen_export_6(p(t))}}const N="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i.__wbg_webeventsink_free(t>>>0)));class A{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),t}free(){const t=this.__destroy_into_raw();i.__wbg_webeventsink_free(t)}constructor(t){const e=i.webeventsink_new(p(t));return this.__wbg_ptr=e>>>0,this}intoGeneric(){const t=this.__destroy_into_raw();return i.webeventsink_intoGeneric(t)>>>0}}const R="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i.__wbg_webrenderer_free(t>>>0)));class L{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,R.unregister(this),t}free(){const t=this.__destroy_into_raw();i.__wbg_webrenderer_free(t)}constructor(){const t=i.webrenderer_new();return this.__wbg_ptr=t>>>0,this}element(){return l(i.webrenderer_element(this.__wbg_ptr))}render(t,e){try{const a=i.__wbindgen_add_to_stack_pointer(-16);i.webrenderer_render(a,this.__wbg_ptr,t,e);var s=v()[a/4+0],r=v()[a/4+1];let l;return 0!==s&&(l=(o=s,n=r,o>>>=0,(null!==k&&0!==k.byteLength||(k=new Float32Array(i.memory.buffer)),k).subarray(o/4,o/4+n)).slice(),i.__wbindgen_export_5(s,4*r,4)),l}finally{i.__wbindgen_add_to_stack_pointer(16)}var o,n}}function D(t){l(t)}function O(t,e,s,i,r,o,n){return p(new Date(t>>>0,e,s,i,r,o,n))}function P(t){return n(t).getTimezoneOffset()}function I(t){return p(n(t))}function V(t){let e;try{e=n(t)instanceof Window}catch(t){e=!1}return e}function B(){return T((function(t,e,s,i){n(t).removeEventListener(u(e,s),n(i))}),arguments)}function z(t,e){n(t).clearInterval(e)}function G(t){const e=l(t).original;return 1==e.cnt--&&(e.a=0,!0)}function U(t,e){return p(u(t,e))}function M(){return T((function(t,e,s){return p(n(t).call(n(e),n(s)))}),arguments)}function F(t,e){const s=n(e),r="string"==typeof s?s:void 0;var o=w(r)?0:b(r,i.__wbindgen_export_0,i.__wbindgen_export_1),a=m;v()[t/4+1]=a,v()[t/4+0]=o}function H(t){return n(t).now()}function W(){return T((function(t,e){return p(Reflect.get(n(t),n(e)))}),arguments)}function j(t){return"function"==typeof n(t)}function J(){return T((function(t,e){return p(n(t).call(n(e)))}),arguments)}function $(t){return p(t)}function K(){return T((function(t,e,s,i){return p(n(t).call(n(e),n(s),n(i)))}),arguments)}function q(t,e){const s=n(e),r="number"==typeof s?s:void 0;(null!==S&&0!==S.byteLength||(S=new Float64Array(i.memory.buffer)),S)[t/8+1]=w(r)?0:r,v()[t/4+0]=!w(r)}function Y(t){const e=n(t).document;return w(e)?0:p(e)}function Q(){return T((function(t,e,s){return p(n(t).createElement(u(e,s)))}),arguments)}function Z(){return T((function(t,e,s,i,r){n(t).setAttribute(u(e,s),u(i,r))}),arguments)}function X(){return T((function(t,e,s){n(t).append(n(e),n(s))}),arguments)}function tt(){return T((function(t,e,s){const i=n(t).getContext(u(e,s));return w(i)?0:p(i)}),arguments)}function et(){return T((function(t){return p(String.fromCodePoint(t>>>0))}),arguments)}function st(){return T((function(){return p(new Path2D)}),arguments)}function it(t,e,s){n(t).moveTo(e,s)}function rt(t,e,s){n(t).lineTo(e,s)}function ot(t){n(t).closePath()}function nt(t){return n(t).devicePixelRatio}function at(t){return p(n(t).getBoundingClientRect())}function lt(t){return n(t).width}function pt(t){return n(t).height}function dt(t){return n(t).width}function ct(t){return n(t).height}function ht(t,e){n(t).width=e>>>0}function ut(t,e){n(t).height=e>>>0}function mt(){return T((function(t){n(t).resetTransform()}),arguments)}function gt(t,e,s,i,r){n(t).clearRect(e,s,i,r)}function ft(){return T((function(t,e,s,i,r,o,a){n(t).setTransform(e,s,i,r,o,a)}),arguments)}function bt(t,e,s,i,r){n(t).fillRect(e,s,i,r)}function wt(t,e){n(t).filter=n(e)}function yt(){return T((function(t,e,s,i,r,o){n(t).drawImage(n(e),s,i,r,o)}),arguments)}function vt(){return T((function(){return p(self.self)}),arguments)}function St(){return T((function(){return p(window.window)}),arguments)}function xt(){return T((function(){return p(globalThis.globalThis)}),arguments)}function _t(){return T((function(){return p(global.global)}),arguments)}function Et(t){return void 0===n(t)}function Ct(t,e){return p(new Function(u(t,e)))}function kt(){return Date.now()}function Tt(t){return n(t).width}function Nt(t){return n(t).height}function At(t,e){n(t).font=n(e)}function Rt(t,e){n(t).fontKerning=n(e)}function Lt(){return T((function(t,e){return p(n(t).measureText(n(e)))}),arguments)}function Dt(t){return n(t).fontBoundingBoxAscent}function Ot(t){return n(t).fontBoundingBoxDescent}function Pt(t){return n(t).width}function It(){return T((function(t,e,s,i,r,o){n(t).arc(e,s,i,r,o)}),arguments)}function Vt(t,e){n(t).fill(n(e))}function Bt(t,e){n(t).lineWidth=e}function zt(t,e){n(t).strokeStyle=n(e)}function Gt(t,e){n(t).stroke(n(e))}function Ut(t,e,s,i,r){return p(n(t).createLinearGradient(e,s,i,r))}function Mt(){return T((function(t,e,s,i){n(t).addColorStop(e,u(s,i))}),arguments)}function Ft(t,e){n(t).fillStyle=n(e)}function Ht(){return T((function(t,e,s,i){n(t).fillText(n(e),s,i)}),arguments)}function Wt(){return p(i.memory)}function jt(t){return p(n(t).buffer)}function Jt(t,e,s){return p(new Uint8Array(n(t),e>>>0,s>>>0))}function $t(t){return p(Array.of(n(t)))}function Kt(){return T((function(t){return p(new Blob(n(t)))}),arguments)}function qt(){return T((function(t,e){return p(n(t).createImageBitmap(n(e)))}),arguments)}function Yt(t,e,s){return p(n(t).then(n(e),n(s)))}function Qt(){return T((function(t){return p(n(t).getGamepads())}),arguments)}function Zt(t){return n(t).length}function Xt(t,e){return p(n(t)[e>>>0])}function te(t){let e;try{e=n(t)instanceof Gamepad}catch(t){e=!1}return e}function ee(t){return p(n(t).buttons)}function se(t){let e;try{e=n(t)instanceof GamepadButton}catch(t){e=!1}return e}function ie(t){return n(t).pressed}function re(t){let e;try{e=n(t)instanceof KeyboardEvent}catch(t){e=!1}return e}function oe(t){return n(t).repeat}function ne(t,e){const s=b(n(e).code,i.__wbindgen_export_0,i.__wbindgen_export_1),r=m;v()[t/4+1]=r,v()[t/4+0]=s}function ae(t){return n(t).shiftKey}function le(t){return n(t).ctrlKey}function pe(t){return n(t).altKey}function de(t){return n(t).metaKey}function ce(t){n(t).preventDefault()}function he(){return T((function(t,e,s,i){n(t).addEventListener(u(e,s),n(i))}),arguments)}function ue(t){return p(n(t).navigator)}function me(t){let e;try{e=n(t)instanceof Promise}catch(t){e=!1}return e}function ge(t,e){return p(n(t).then(n(e)))}function fe(t,e){throw new Error(u(t,e))}function be(t){return p(n(t).queueMicrotask)}function we(t){return p(Promise.resolve(n(t)))}function ye(t){queueMicrotask(n(t))}function ve(){return T((function(t,e,s){return n(t).setInterval(n(e),s)}),arguments)}function Se(t,e,s){return p(_(t,e,175,E))}function xe(t,e,s){return p(_(t,e,175,E))}function _e(t,e,s){return p(_(t,e,175,E))}function Ee(t,e,s){return p(_(t,e,175,C))}},8046:(t,e,s)=>{var i=s.w[t.id];for(var r in s.r(e),i)r&&(e[r]=i[r]);s(4862),i[""]()}}]); \ No newline at end of file diff --git a/752.js b/752.js new file mode 100644 index 00000000..d36598e4 --- /dev/null +++ b/752.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklivesplit=self.webpackChunklivesplit||[]).push([[752],{8831:(e,t,o)=>{o.d(t,{A:()=>p});var n=o(1601),f=o.n(n),a=o(6314),r=o.n(a),c=o(4417),b=o.n(c),i=new URL(o(9594),o.b),s=r()(f()),l=b()(i);s.push([e.id,`/*!\n * Font Awesome Free 5.12.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */@font-face{font-family:"Font Awesome 5 Free";font-display:swap;font-style:normal;font-weight:900;font-display:auto;src:url(${l})}.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900}.fa,.fas,.far,.fal,.fad,.fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-0.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fas.fa-pull-left,.far.fa-pull-left,.fal.fa-pull-left,.fab.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fas.fa-pull-right,.far.fa-pull-right,.fal.fa-pull-right,.fab.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);transform:scale(1, -1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(-1, -1);transform:scale(-1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-flip-both{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:""}.fa-accessible-icon:before{content:""}.fa-accusoft:before{content:""}.fa-acquisitions-incorporated:before{content:""}.fa-ad:before{content:""}.fa-address-book:before{content:""}.fa-address-card:before{content:""}.fa-adjust:before{content:""}.fa-adn:before{content:""}.fa-adobe:before{content:""}.fa-adversal:before{content:""}.fa-affiliatetheme:before{content:""}.fa-air-freshener:before{content:""}.fa-airbnb:before{content:""}.fa-algolia:before{content:""}.fa-align-center:before{content:""}.fa-align-justify:before{content:""}.fa-align-left:before{content:""}.fa-align-right:before{content:""}.fa-alipay:before{content:""}.fa-allergies:before{content:""}.fa-amazon:before{content:""}.fa-amazon-pay:before{content:""}.fa-ambulance:before{content:""}.fa-american-sign-language-interpreting:before{content:""}.fa-amilia:before{content:""}.fa-anchor:before{content:""}.fa-android:before{content:""}.fa-angellist:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angry:before{content:""}.fa-angrycreative:before{content:""}.fa-angular:before{content:""}.fa-ankh:before{content:""}.fa-app-store:before{content:""}.fa-app-store-ios:before{content:""}.fa-apper:before{content:""}.fa-apple:before{content:""}.fa-apple-alt:before{content:""}.fa-apple-pay:before{content:""}.fa-archive:before{content:""}.fa-archway:before{content:""}.fa-arrow-alt-circle-down:before{content:""}.fa-arrow-alt-circle-left:before{content:""}.fa-arrow-alt-circle-right:before{content:""}.fa-arrow-alt-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-down:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrows-alt:before{content:""}.fa-arrows-alt-h:before{content:""}.fa-arrows-alt-v:before{content:""}.fa-artstation:before{content:""}.fa-assistive-listening-systems:before{content:""}.fa-asterisk:before{content:""}.fa-asymmetrik:before{content:""}.fa-at:before{content:""}.fa-atlas:before{content:""}.fa-atlassian:before{content:""}.fa-atom:before{content:""}.fa-audible:before{content:""}.fa-audio-description:before{content:""}.fa-autoprefixer:before{content:""}.fa-avianex:before{content:""}.fa-aviato:before{content:""}.fa-award:before{content:""}.fa-aws:before{content:""}.fa-baby:before{content:""}.fa-baby-carriage:before{content:""}.fa-backspace:before{content:""}.fa-backward:before{content:""}.fa-bacon:before{content:""}.fa-bahai:before{content:""}.fa-balance-scale:before{content:""}.fa-balance-scale-left:before{content:""}.fa-balance-scale-right:before{content:""}.fa-ban:before{content:""}.fa-band-aid:before{content:""}.fa-bandcamp:before{content:""}.fa-barcode:before{content:""}.fa-bars:before{content:""}.fa-baseball-ball:before{content:""}.fa-basketball-ball:before{content:""}.fa-bath:before{content:""}.fa-battery-empty:before{content:""}.fa-battery-full:before{content:""}.fa-battery-half:before{content:""}.fa-battery-quarter:before{content:""}.fa-battery-three-quarters:before{content:""}.fa-battle-net:before{content:""}.fa-bed:before{content:""}.fa-beer:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-bell:before{content:""}.fa-bell-slash:before{content:""}.fa-bezier-curve:before{content:""}.fa-bible:before{content:""}.fa-bicycle:before{content:""}.fa-biking:before{content:""}.fa-bimobject:before{content:""}.fa-binoculars:before{content:""}.fa-biohazard:before{content:""}.fa-birthday-cake:before{content:""}.fa-bitbucket:before{content:""}.fa-bitcoin:before{content:""}.fa-bity:before{content:""}.fa-black-tie:before{content:""}.fa-blackberry:before{content:""}.fa-blender:before{content:""}.fa-blender-phone:before{content:""}.fa-blind:before{content:""}.fa-blog:before{content:""}.fa-blogger:before{content:""}.fa-blogger-b:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-bold:before{content:""}.fa-bolt:before{content:""}.fa-bomb:before{content:""}.fa-bone:before{content:""}.fa-bong:before{content:""}.fa-book:before{content:""}.fa-book-dead:before{content:""}.fa-book-medical:before{content:""}.fa-book-open:before{content:""}.fa-book-reader:before{content:""}.fa-bookmark:before{content:""}.fa-bootstrap:before{content:""}.fa-border-all:before{content:""}.fa-border-none:before{content:""}.fa-border-style:before{content:""}.fa-bowling-ball:before{content:""}.fa-box:before{content:""}.fa-box-open:before{content:""}.fa-boxes:before{content:""}.fa-braille:before{content:""}.fa-brain:before{content:""}.fa-bread-slice:before{content:""}.fa-briefcase:before{content:""}.fa-briefcase-medical:before{content:""}.fa-broadcast-tower:before{content:""}.fa-broom:before{content:""}.fa-brush:before{content:""}.fa-btc:before{content:""}.fa-buffer:before{content:""}.fa-bug:before{content:""}.fa-building:before{content:""}.fa-bullhorn:before{content:""}.fa-bullseye:before{content:""}.fa-burn:before{content:""}.fa-buromobelexperte:before{content:""}.fa-bus:before{content:""}.fa-bus-alt:before{content:""}.fa-business-time:before{content:""}.fa-buy-n-large:before{content:""}.fa-buysellads:before{content:""}.fa-calculator:before{content:""}.fa-calendar:before{content:""}.fa-calendar-alt:before{content:""}.fa-calendar-check:before{content:""}.fa-calendar-day:before{content:""}.fa-calendar-minus:before{content:""}.fa-calendar-plus:before{content:""}.fa-calendar-times:before{content:""}.fa-calendar-week:before{content:""}.fa-camera:before{content:""}.fa-camera-retro:before{content:""}.fa-campground:before{content:""}.fa-canadian-maple-leaf:before{content:""}.fa-candy-cane:before{content:""}.fa-cannabis:before{content:""}.fa-capsules:before{content:""}.fa-car:before{content:""}.fa-car-alt:before{content:""}.fa-car-battery:before{content:""}.fa-car-crash:before{content:""}.fa-car-side:before{content:""}.fa-caravan:before{content:""}.fa-caret-down:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-caret-square-down:before{content:""}.fa-caret-square-left:before{content:""}.fa-caret-square-right:before{content:""}.fa-caret-square-up:before{content:""}.fa-caret-up:before{content:""}.fa-carrot:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-cart-plus:before{content:""}.fa-cash-register:before{content:""}.fa-cat:before{content:""}.fa-cc-amazon-pay:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-apple-pay:before{content:""}.fa-cc-diners-club:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-cc-visa:before{content:""}.fa-centercode:before{content:""}.fa-centos:before{content:""}.fa-certificate:before{content:""}.fa-chair:before{content:""}.fa-chalkboard:before{content:""}.fa-chalkboard-teacher:before{content:""}.fa-charging-station:before{content:""}.fa-chart-area:before{content:""}.fa-chart-bar:before{content:""}.fa-chart-line:before{content:""}.fa-chart-pie:before{content:""}.fa-check:before{content:""}.fa-check-circle:before{content:""}.fa-check-double:before{content:""}.fa-check-square:before{content:""}.fa-cheese:before{content:""}.fa-chess:before{content:""}.fa-chess-bishop:before{content:""}.fa-chess-board:before{content:""}.fa-chess-king:before{content:""}.fa-chess-knight:before{content:""}.fa-chess-pawn:before{content:""}.fa-chess-queen:before{content:""}.fa-chess-rook:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-down:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-chevron-up:before{content:""}.fa-child:before{content:""}.fa-chrome:before{content:""}.fa-chromecast:before{content:""}.fa-church:before{content:""}.fa-circle:before{content:""}.fa-circle-notch:before{content:""}.fa-city:before{content:""}.fa-clinic-medical:before{content:""}.fa-clipboard:before{content:""}.fa-clipboard-check:before{content:""}.fa-clipboard-list:before{content:""}.fa-clock:before{content:""}.fa-clone:before{content:""}.fa-closed-captioning:before{content:""}.fa-cloud:before{content:""}.fa-download-alt:before{content:""}.fa-cloud-meatball:before{content:""}.fa-cloud-moon:before{content:""}.fa-cloud-moon-rain:before{content:""}.fa-cloud-rain:before{content:""}.fa-cloud-showers-heavy:before{content:""}.fa-cloud-sun:before{content:""}.fa-cloud-sun-rain:before{content:""}.fa-upload-alt:before{content:""}.fa-cloudscale:before{content:""}.fa-cloudsmith:before{content:""}.fa-cloudversify:before{content:""}.fa-cocktail:before{content:""}.fa-code:before{content:""}.fa-code-branch:before{content:""}.fa-codepen:before{content:""}.fa-codiepie:before{content:""}.fa-coffee:before{content:""}.fa-cog:before{content:""}.fa-cogs:before{content:""}.fa-coins:before{content:""}.fa-columns:before{content:""}.fa-comment:before{content:""}.fa-comment-alt:before{content:""}.fa-comment-dollar:before{content:""}.fa-comment-dots:before{content:""}.fa-comment-medical:before{content:""}.fa-comment-slash:before{content:""}.fa-comments:before{content:""}.fa-comments-dollar:before{content:""}.fa-compact-disc:before{content:""}.fa-compass:before{content:""}.fa-compress:before{content:""}.fa-compress-alt:before{content:""}.fa-compress-arrows-alt:before{content:""}.fa-concierge-bell:before{content:""}.fa-confluence:before{content:""}.fa-connectdevelop:before{content:""}.fa-contao:before{content:""}.fa-cookie:before{content:""}.fa-cookie-bite:before{content:""}.fa-copy:before{content:""}.fa-copyright:before{content:""}.fa-cotton-bureau:before{content:""}.fa-couch:before{content:""}.fa-cpanel:before{content:""}.fa-creative-commons:before{content:""}.fa-creative-commons-by:before{content:""}.fa-creative-commons-nc:before{content:""}.fa-creative-commons-nc-eu:before{content:""}.fa-creative-commons-nc-jp:before{content:""}.fa-creative-commons-nd:before{content:""}.fa-creative-commons-pd:before{content:""}.fa-creative-commons-pd-alt:before{content:""}.fa-creative-commons-remix:before{content:""}.fa-creative-commons-sa:before{content:""}.fa-creative-commons-sampling:before{content:""}.fa-creative-commons-sampling-plus:before{content:""}.fa-creative-commons-share:before{content:""}.fa-creative-commons-zero:before{content:""}.fa-credit-card:before{content:""}.fa-critical-role:before{content:""}.fa-crop:before{content:""}.fa-crop-alt:before{content:""}.fa-cross:before{content:""}.fa-crosshairs:before{content:""}.fa-crow:before{content:""}.fa-crown:before{content:""}.fa-crutch:before{content:""}.fa-css3:before{content:""}.fa-css3-alt:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-cut:before{content:""}.fa-cuttlefish:before{content:""}.fa-d-and-d:before{content:""}.fa-d-and-d-beyond:before{content:""}.fa-dashcube:before{content:""}.fa-database:before{content:""}.fa-deaf:before{content:""}.fa-delicious:before{content:""}.fa-democrat:before{content:""}.fa-deploydog:before{content:""}.fa-deskpro:before{content:""}.fa-desktop:before{content:""}.fa-dev:before{content:""}.fa-deviantart:before{content:""}.fa-dharmachakra:before{content:""}.fa-dhl:before{content:""}.fa-diagnoses:before{content:""}.fa-diaspora:before{content:""}.fa-dice:before{content:""}.fa-dice-d20:before{content:""}.fa-dice-d6:before{content:""}.fa-dice-five:before{content:""}.fa-dice-four:before{content:""}.fa-dice-one:before{content:""}.fa-dice-six:before{content:""}.fa-dice-three:before{content:""}.fa-dice-two:before{content:""}.fa-digg:before{content:""}.fa-digital-ocean:before{content:""}.fa-digital-tachograph:before{content:""}.fa-directions:before{content:""}.fa-discord:before{content:""}.fa-discourse:before{content:""}.fa-divide:before{content:""}.fa-dizzy:before{content:""}.fa-dna:before{content:""}.fa-dochub:before{content:""}.fa-docker:before{content:""}.fa-dog:before{content:""}.fa-dollar-sign:before{content:""}.fa-dolly:before{content:""}.fa-dolly-flatbed:before{content:""}.fa-donate:before{content:""}.fa-door-closed:before{content:""}.fa-door-open:before{content:""}.fa-dot-circle:before{content:""}.fa-dove:before{content:""}.fa-download:before{content:""}.fa-draft2digital:before{content:""}.fa-drafting-compass:before{content:""}.fa-dragon:before{content:""}.fa-draw-polygon:before{content:""}.fa-dribbble:before{content:""}.fa-dribbble-square:before{content:""}.fa-dropbox:before{content:""}.fa-drum:before{content:""}.fa-drum-steelpan:before{content:""}.fa-drumstick-bite:before{content:""}.fa-drupal:before{content:""}.fa-dumbbell:before{content:""}.fa-dumpster:before{content:""}.fa-dumpster-fire:before{content:""}.fa-dungeon:before{content:""}.fa-dyalog:before{content:""}.fa-earlybirds:before{content:""}.fa-ebay:before{content:""}.fa-edge:before{content:""}.fa-edit:before{content:""}.fa-egg:before{content:""}.fa-eject:before{content:""}.fa-elementor:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-ello:before{content:""}.fa-ember:before{content:""}.fa-empire:before{content:""}.fa-envelope:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-text:before{content:""}.fa-envelope-square:before{content:""}.fa-envira:before{content:""}.fa-equals:before{content:""}.fa-eraser:before{content:""}.fa-erlang:before{content:""}.fa-ethereum:before{content:""}.fa-ethernet:before{content:""}.fa-etsy:before{content:""}.fa-euro-sign:before{content:""}.fa-evernote:before{content:""}.fa-exchange-alt:before{content:""}.fa-exclamation:before{content:""}.fa-exclamation-circle:before{content:""}.fa-exclamation-triangle:before{content:""}.fa-expand:before{content:""}.fa-expand-alt:before{content:""}.fa-expand-arrows-alt:before{content:""}.fa-expeditedssl:before{content:""}.fa-external-link-alt:before{content:""}.fa-external-link-square-alt:before{content:""}.fa-eye:before{content:""}.fa-eye-dropper:before{content:""}.fa-eye-slash:before{content:""}.fa-facebook:before{content:""}.fa-facebook-f:before{content:""}.fa-facebook-messenger:before{content:""}.fa-facebook-square:before{content:""}.fa-fan:before{content:""}.fa-fantasy-flight-games:before{content:""}.fa-fast-backward:before{content:""}.fa-fast-forward:before{content:""}.fa-fax:before{content:""}.fa-feather:before{content:""}.fa-feather-alt:before{content:""}.fa-fedex:before{content:""}.fa-fedora:before{content:""}.fa-female:before{content:""}.fa-fighter-jet:before{content:""}.fa-figma:before{content:""}.fa-file:before{content:""}.fa-file-alt:before{content:""}.fa-file-archive:before{content:""}.fa-file-audio:before{content:""}.fa-file-code:before{content:""}.fa-file-contract:before{content:""}.fa-file-csv:before{content:""}.fa-file-download:before{content:""}.fa-file-excel:before{content:""}.fa-file-export:before{content:""}.fa-file-image:before{content:""}.fa-file-import:before{content:""}.fa-file-invoice:before{content:""}.fa-file-invoice-dollar:before{content:""}.fa-file-medical:before{content:""}.fa-file-medical-alt:before{content:""}.fa-file-pdf:before{content:""}.fa-file-powerpoint:before{content:""}.fa-file-prescription:before{content:""}.fa-file-signature:before{content:""}.fa-file-upload:before{content:""}.fa-file-video:before{content:""}.fa-file-word:before{content:""}.fa-fill:before{content:""}.fa-fill-drip:before{content:""}.fa-film:before{content:""}.fa-filter:before{content:""}.fa-fingerprint:before{content:""}.fa-fire:before{content:""}.fa-fire-alt:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-firefox:before{content:""}.fa-firefox-browser:before{content:"龜"}.fa-first-aid:before{content:""}.fa-first-order:before{content:""}.fa-first-order-alt:before{content:""}.fa-firstdraft:before{content:""}.fa-fish:before{content:""}.fa-fist-raised:before{content:""}.fa-flag:before{content:""}.fa-flag-checkered:before{content:""}.fa-flag-usa:before{content:""}.fa-flask:before{content:""}.fa-flickr:before{content:""}.fa-flipboard:before{content:""}.fa-flushed:before{content:""}.fa-fly:before{content:""}.fa-folder:before{content:""}.fa-folder-minus:before{content:""}.fa-folder-open:before{content:""}.fa-folder-plus:before{content:""}.fa-font:before{content:""}.fa-font-awesome:before{content:""}.fa-font-awesome-alt:before{content:""}.fa-font-awesome-flag:before{content:""}.fa-font-awesome-logo-full:before{content:""}.fa-fonticons:before{content:""}.fa-fonticons-fi:before{content:""}.fa-football-ball:before{content:""}.fa-fort-awesome:before{content:""}.fa-fort-awesome-alt:before{content:""}.fa-forumbee:before{content:""}.fa-forward:before{content:""}.fa-foursquare:before{content:""}.fa-free-code-camp:before{content:""}.fa-freebsd:before{content:""}.fa-frog:before{content:""}.fa-frown:before{content:""}.fa-frown-open:before{content:""}.fa-fulcrum:before{content:""}.fa-funnel-dollar:before{content:""}.fa-futbol:before{content:""}.fa-galactic-republic:before{content:""}.fa-galactic-senate:before{content:""}.fa-gamepad:before{content:""}.fa-gas-pump:before{content:""}.fa-gavel:before{content:""}.fa-gem:before{content:""}.fa-genderless:before{content:""}.fa-get-pocket:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-ghost:before{content:""}.fa-gift:before{content:""}.fa-gifts:before{content:""}.fa-git:before{content:""}.fa-git-alt:before{content:""}.fa-git-square:before{content:""}.fa-github:before{content:""}.fa-github-alt:before{content:""}.fa-github-square:before{content:""}.fa-gitkraken:before{content:""}.fa-gitlab:before{content:""}.fa-gitter:before{content:""}.fa-glass-cheers:before{content:""}.fa-glass-martini:before{content:""}.fa-glass-martini-alt:before{content:""}.fa-glass-whiskey:before{content:""}.fa-glasses:before{content:""}.fa-glide:before{content:""}.fa-glide-g:before{content:""}.fa-globe:before{content:""}.fa-globe-africa:before{content:""}.fa-globe-americas:before{content:""}.fa-globe-asia:before{content:""}.fa-globe-europe:before{content:""}.fa-gofore:before{content:""}.fa-golf-ball:before{content:""}.fa-goodreads:before{content:""}.fa-goodreads-g:before{content:""}.fa-google:before{content:""}.fa-google-drive:before{content:""}.fa-google-play:before{content:""}.fa-google-plus:before{content:""}.fa-google-plus-g:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-wallet:before{content:""}.fa-gopuram:before{content:""}.fa-graduation-cap:before{content:""}.fa-gratipay:before{content:""}.fa-grav:before{content:""}.fa-greater-than:before{content:""}.fa-greater-than-equal:before{content:""}.fa-grimace:before{content:""}.fa-grin:before{content:""}.fa-grin-alt:before{content:""}.fa-grin-beam:before{content:""}.fa-grin-beam-sweat:before{content:""}.fa-grin-hearts:before{content:""}.fa-grin-squint:before{content:""}.fa-grin-squint-tears:before{content:""}.fa-grin-stars:before{content:""}.fa-grin-tears:before{content:""}.fa-grin-tongue:before{content:""}.fa-grin-tongue-squint:before{content:""}.fa-grin-tongue-wink:before{content:""}.fa-grin-wink:before{content:""}.fa-grip-horizontal:before{content:""}.fa-grip-lines:before{content:""}.fa-grip-lines-vertical:before{content:""}.fa-grip-vertical:before{content:""}.fa-gripfire:before{content:""}.fa-grunt:before{content:""}.fa-guitar:before{content:""}.fa-gulp:before{content:""}.fa-h-square:before{content:""}.fa-hacker-news:before{content:""}.fa-hacker-news-square:before{content:""}.fa-hackerrank:before{content:""}.fa-hamburger:before{content:""}.fa-hammer:before{content:""}.fa-hamsa:before{content:""}.fa-hand-holding:before{content:""}.fa-hand-holding-heart:before{content:""}.fa-hand-holding-usd:before{content:""}.fa-hand-lizard:before{content:""}.fa-hand-middle-finger:before{content:""}.fa-hand-paper:before{content:""}.fa-hand-peace:before{content:""}.fa-hand-point-down:before{content:""}.fa-hand-point-left:before{content:""}.fa-hand-point-right:before{content:""}.fa-hand-point-up:before{content:""}.fa-hand-pointer:before{content:""}.fa-hand-rock:before{content:""}.fa-hand-scissors:before{content:""}.fa-hand-spock:before{content:""}.fa-hands:before{content:""}.fa-hands-helping:before{content:""}.fa-handshake:before{content:""}.fa-hanukiah:before{content:""}.fa-hard-hat:before{content:""}.fa-hashtag:before{content:""}.fa-hat-cowboy:before{content:""}.fa-hat-cowboy-side:before{content:""}.fa-hat-wizard:before{content:""}.fa-hdd:before{content:""}.fa-heading:before{content:""}.fa-headphones:before{content:""}.fa-headphones-alt:before{content:""}.fa-headset:before{content:""}.fa-heart:before{content:""}.fa-heart-broken:before{content:""}.fa-heartbeat:before{content:""}.fa-helicopter:before{content:""}.fa-highlighter:before{content:""}.fa-hiking:before{content:""}.fa-hippo:before{content:""}.fa-hips:before{content:""}.fa-hire-a-helper:before{content:""}.fa-history:before{content:""}.fa-hockey-puck:before{content:""}.fa-holly-berry:before{content:""}.fa-home:before{content:""}.fa-hooli:before{content:""}.fa-hornbill:before{content:""}.fa-horse:before{content:""}.fa-horse-head:before{content:""}.fa-hospital:before{content:""}.fa-hospital-alt:before{content:""}.fa-hospital-symbol:before{content:""}.fa-hot-tub:before{content:""}.fa-hotdog:before{content:""}.fa-hotel:before{content:""}.fa-hotjar:before{content:""}.fa-hourglass:before{content:""}.fa-hourglass-end:before{content:""}.fa-hourglass-half:before{content:""}.fa-hourglass-start:before{content:""}.fa-house-damage:before{content:""}.fa-houzz:before{content:""}.fa-hryvnia:before{content:""}.fa-html5:before{content:""}.fa-hubspot:before{content:""}.fa-i-cursor:before{content:""}.fa-ice-cream:before{content:""}.fa-icicles:before{content:""}.fa-icons:before{content:""}.fa-id-badge:before{content:""}.fa-id-card:before{content:""}.fa-id-card-alt:before{content:""}.fa-ideal:before{content:"邏"}.fa-igloo:before{content:""}.fa-image:before{content:""}.fa-images:before{content:""}.fa-imdb:before{content:""}.fa-inbox:before{content:""}.fa-indent:before{content:""}.fa-industry:before{content:""}.fa-infinity:before{content:""}.fa-info:before{content:""}.fa-info-circle:before{content:""}.fa-instagram:before{content:""}.fa-intercom:before{content:""}.fa-internet-explorer:before{content:""}.fa-invision:before{content:""}.fa-ioxhost:before{content:""}.fa-italic:before{content:""}.fa-itch-io:before{content:""}.fa-itunes:before{content:""}.fa-itunes-note:before{content:""}.fa-java:before{content:""}.fa-jedi:before{content:""}.fa-jedi-order:before{content:""}.fa-jenkins:before{content:""}.fa-jira:before{content:""}.fa-joget:before{content:""}.fa-joint:before{content:""}.fa-joomla:before{content:""}.fa-journal-whills:before{content:""}.fa-js:before{content:""}.fa-js-square:before{content:""}.fa-jsfiddle:before{content:""}.fa-kaaba:before{content:""}.fa-kaggle:before{content:""}.fa-key:before{content:""}.fa-keybase:before{content:""}.fa-keyboard:before{content:""}.fa-keycdn:before{content:""}.fa-khanda:before{content:""}.fa-kickstarter:before{content:""}.fa-kickstarter-k:before{content:""}.fa-kiss:before{content:""}.fa-kiss-beam:before{content:""}.fa-kiss-wink-heart:before{content:""}.fa-kiwi-bird:before{content:""}.fa-korvue:before{content:""}.fa-landmark:before{content:""}.fa-language:before{content:""}.fa-laptop:before{content:""}.fa-laptop-code:before{content:""}.fa-laptop-medical:before{content:""}.fa-laravel:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-laugh:before{content:""}.fa-laugh-beam:before{content:""}.fa-laugh-squint:before{content:""}.fa-laugh-wink:before{content:""}.fa-layer-group:before{content:""}.fa-leaf:before{content:""}.fa-leanpub:before{content:""}.fa-lemon:before{content:""}.fa-less:before{content:""}.fa-less-than:before{content:""}.fa-less-than-equal:before{content:""}.fa-level-down-alt:before{content:""}.fa-level-up-alt:before{content:""}.fa-life-ring:before{content:""}.fa-lightbulb:before{content:""}.fa-line:before{content:""}.fa-link:before{content:""}.fa-linkedin:before{content:""}.fa-linkedin-in:before{content:""}.fa-linode:before{content:""}.fa-linux:before{content:""}.fa-lira-sign:before{content:""}.fa-list:before{content:""}.fa-list-alt:before{content:""}.fa-list-ol:before{content:""}.fa-list-ul:before{content:""}.fa-location-arrow:before{content:""}.fa-lock:before{content:""}.fa-lock-open:before{content:""}.fa-long-arrow-alt-down:before{content:""}.fa-long-arrow-alt-left:before{content:""}.fa-long-arrow-alt-right:before{content:""}.fa-long-arrow-alt-up:before{content:""}.fa-low-vision:before{content:""}.fa-luggage-cart:before{content:""}.fa-lyft:before{content:""}.fa-magento:before{content:""}.fa-magic:before{content:""}.fa-magnet:before{content:""}.fa-mail-bulk:before{content:""}.fa-mailchimp:before{content:""}.fa-male:before{content:""}.fa-mandalorian:before{content:""}.fa-map:before{content:""}.fa-map-marked:before{content:""}.fa-map-marked-alt:before{content:""}.fa-map-marker:before{content:""}.fa-map-marker-alt:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-markdown:before{content:""}.fa-marker:before{content:""}.fa-mars:before{content:""}.fa-mars-double:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mask:before{content:""}.fa-mastodon:before{content:""}.fa-maxcdn:before{content:""}.fa-mdb:before{content:""}.fa-medal:before{content:""}.fa-medapps:before{content:""}.fa-medium:before{content:""}.fa-medium-m:before{content:""}.fa-medkit:before{content:""}.fa-medrt:before{content:""}.fa-meetup:before{content:""}.fa-megaport:before{content:""}.fa-meh:before{content:""}.fa-meh-blank:before{content:""}.fa-meh-rolling-eyes:before{content:""}.fa-memory:before{content:""}.fa-mendeley:before{content:""}.fa-menorah:before{content:""}.fa-mercury:before{content:""}.fa-meteor:before{content:""}.fa-microblog:before{content:"駱"}.fa-microchip:before{content:""}.fa-microphone:before{content:""}.fa-microphone-alt:before{content:""}.fa-microphone-alt-slash:before{content:""}.fa-microphone-slash:before{content:""}.fa-microscope:before{content:""}.fa-microsoft:before{content:""}.fa-minus:before{content:""}.fa-minus-circle:before{content:""}.fa-minus-square:before{content:""}.fa-mitten:before{content:""}.fa-mix:before{content:""}.fa-mixcloud:before{content:""}.fa-mizuni:before{content:""}.fa-mobile:before{content:""}.fa-mobile-alt:before{content:""}.fa-modx:before{content:""}.fa-monero:before{content:""}.fa-money-bill:before{content:""}.fa-money-bill-alt:before{content:""}.fa-money-bill-wave:before{content:""}.fa-money-bill-wave-alt:before{content:""}.fa-money-check:before{content:""}.fa-money-check-alt:before{content:""}.fa-monument:before{content:""}.fa-moon:before{content:""}.fa-mortar-pestle:before{content:""}.fa-mosque:before{content:""}.fa-motorcycle:before{content:""}.fa-mountain:before{content:""}.fa-mouse:before{content:""}.fa-mouse-pointer:before{content:""}.fa-mug-hot:before{content:""}.fa-music:before{content:""}.fa-napster:before{content:""}.fa-neos:before{content:""}.fa-network-wired:before{content:""}.fa-neuter:before{content:""}.fa-newspaper:before{content:""}.fa-nimblr:before{content:""}.fa-node:before{content:""}.fa-node-js:before{content:""}.fa-not-equal:before{content:""}.fa-notes-medical:before{content:""}.fa-npm:before{content:""}.fa-ns8:before{content:""}.fa-nutritionix:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-oil-can:before{content:""}.fa-old-republic:before{content:""}.fa-om:before{content:""}.fa-opencart:before{content:""}.fa-openid:before{content:""}.fa-opera:before{content:""}.fa-optin-monster:before{content:""}.fa-orcid:before{content:""}.fa-osi:before{content:""}.fa-otter:before{content:""}.fa-outdent:before{content:""}.fa-page4:before{content:""}.fa-pagelines:before{content:""}.fa-pager:before{content:""}.fa-paint-brush:before{content:""}.fa-paint-roller:before{content:""}.fa-palette:before{content:""}.fa-palfed:before{content:""}.fa-pallet:before{content:""}.fa-paper-plane:before{content:""}.fa-paperclip:before{content:""}.fa-parachute-box:before{content:""}.fa-paragraph:before{content:""}.fa-parking:before{content:""}.fa-passport:before{content:""}.fa-pastafarianism:before{content:""}.fa-paste:before{content:""}.fa-patreon:before{content:""}.fa-pause:before{content:""}.fa-pause-circle:before{content:""}.fa-paw:before{content:""}.fa-paypal:before{content:""}.fa-peace:before{content:""}.fa-pen:before{content:""}.fa-pen-alt:before{content:""}.fa-pen-fancy:before{content:""}.fa-pen-nib:before{content:""}.fa-pen-square:before{content:""}.fa-pencil-alt:before{content:""}.fa-pencil-ruler:before{content:""}.fa-penny-arcade:before{content:""}.fa-people-carry:before{content:""}.fa-pepper-hot:before{content:""}.fa-percent:before{content:""}.fa-percentage:before{content:""}.fa-periscope:before{content:""}.fa-person-booth:before{content:""}.fa-phabricator:before{content:""}.fa-phoenix-framework:before{content:""}.fa-phoenix-squadron:before{content:""}.fa-phone:before{content:""}.fa-phone-alt:before{content:""}.fa-phone-slash:before{content:""}.fa-phone-square:before{content:""}.fa-phone-square-alt:before{content:""}.fa-phone-volume:before{content:""}.fa-photo-video:before{content:""}.fa-php:before{content:""}.fa-pied-piper:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-pied-piper-hat:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-pied-piper-square:before{content:"爛"}.fa-piggy-bank:before{content:""}.fa-pills:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-p:before{content:""}.fa-pinterest-square:before{content:""}.fa-pizza-slice:before{content:""}.fa-place-of-worship:before{content:""}.fa-plane:before{content:""}.fa-plane-arrival:before{content:""}.fa-plane-departure:before{content:""}.fa-play:before{content:""}.fa-play-circle:before{content:""}.fa-playstation:before{content:""}.fa-plug:before{content:""}.fa-plus:before{content:""}.fa-plus-circle:before{content:""}.fa-plus-square:before{content:""}.fa-podcast:before{content:""}.fa-poll:before{content:""}.fa-poll-h:before{content:""}.fa-poo:before{content:""}.fa-poo-storm:before{content:""}.fa-poop:before{content:""}.fa-portrait:before{content:""}.fa-pound-sign:before{content:""}.fa-power-off:before{content:""}.fa-pray:before{content:""}.fa-praying-hands:before{content:""}.fa-prescription:before{content:""}.fa-prescription-bottle:before{content:""}.fa-prescription-bottle-alt:before{content:""}.fa-print:before{content:""}.fa-procedures:before{content:""}.fa-product-hunt:before{content:""}.fa-project-diagram:before{content:""}.fa-pushed:before{content:""}.fa-puzzle-piece:before{content:""}.fa-python:before{content:""}.fa-qq:before{content:""}.fa-qrcode:before{content:""}.fa-question:before{content:""}.fa-question-circle:before{content:""}.fa-quidditch:before{content:""}.fa-quinscape:before{content:""}.fa-quora:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-quran:before{content:""}.fa-r-project:before{content:""}.fa-radiation:before{content:""}.fa-radiation-alt:before{content:""}.fa-rainbow:before{content:""}.fa-random:before{content:""}.fa-raspberry-pi:before{content:""}.fa-ravelry:before{content:""}.fa-react:before{content:""}.fa-reacteurope:before{content:""}.fa-readme:before{content:""}.fa-rebel:before{content:""}.fa-receipt:before{content:""}.fa-record-vinyl:before{content:""}.fa-recycle:before{content:""}.fa-red-river:before{content:""}.fa-reddit:before{content:""}.fa-reddit-alien:before{content:""}.fa-reddit-square:before{content:""}.fa-redhat:before{content:""}.fa-redo:before{content:""}.fa-redo-alt:before{content:""}.fa-registered:before{content:""}.fa-remove-format:before{content:""}.fa-renren:before{content:""}.fa-reply:before{content:""}.fa-reply-all:before{content:""}.fa-replyd:before{content:""}.fa-republican:before{content:""}.fa-researchgate:before{content:""}.fa-resolving:before{content:""}.fa-restroom:before{content:""}.fa-retweet:before{content:""}.fa-rev:before{content:""}.fa-ribbon:before{content:""}.fa-ring:before{content:""}.fa-road:before{content:""}.fa-robot:before{content:""}.fa-rocket:before{content:""}.fa-rocketchat:before{content:""}.fa-rockrms:before{content:""}.fa-route:before{content:""}.fa-rss:before{content:""}.fa-rss-square:before{content:""}.fa-ruble-sign:before{content:""}.fa-ruler:before{content:""}.fa-ruler-combined:before{content:""}.fa-ruler-horizontal:before{content:""}.fa-ruler-vertical:before{content:""}.fa-running:before{content:""}.fa-rupee-sign:before{content:""}.fa-sad-cry:before{content:""}.fa-sad-tear:before{content:""}.fa-safari:before{content:""}.fa-salesforce:before{content:""}.fa-sass:before{content:""}.fa-satellite:before{content:""}.fa-satellite-dish:before{content:""}.fa-save:before{content:""}.fa-schlix:before{content:""}.fa-school:before{content:""}.fa-screwdriver:before{content:""}.fa-scribd:before{content:""}.fa-scroll:before{content:""}.fa-sd-card:before{content:""}.fa-search:before{content:""}.fa-search-dollar:before{content:""}.fa-search-location:before{content:""}.fa-search-minus:before{content:""}.fa-search-plus:before{content:""}.fa-searchengin:before{content:""}.fa-seedling:before{content:""}.fa-sellcast:before{content:""}.fa-sellsy:before{content:""}.fa-server:before{content:""}.fa-servicestack:before{content:""}.fa-shapes:before{content:""}.fa-share:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-share-square:before{content:""}.fa-shekel-sign:before{content:""}.fa-shield-alt:before{content:""}.fa-ship:before{content:""}.fa-shipping-fast:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-shoe-prints:before{content:""}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-shopping-cart:before{content:""}.fa-shopware:before{content:""}.fa-shower:before{content:""}.fa-shuttle-van:before{content:""}.fa-sign:before{content:""}.fa-sign-in-alt:before{content:""}.fa-sign-language:before{content:""}.fa-sign-out-alt:before{content:""}.fa-signal:before{content:""}.fa-signature:before{content:""}.fa-sim-card:before{content:""}.fa-simplybuilt:before{content:""}.fa-sistrix:before{content:""}.fa-sitemap:before{content:""}.fa-sith:before{content:""}.fa-skating:before{content:""}.fa-sketch:before{content:""}.fa-skiing:before{content:""}.fa-skiing-nordic:before{content:""}.fa-skull:before{content:""}.fa-skull-crossbones:before{content:""}.fa-skyatlas:before{content:""}.fa-skype:before{content:""}.fa-slack:before{content:""}.fa-slack-hash:before{content:""}.fa-slash:before{content:""}.fa-sleigh:before{content:""}.fa-sliders-h:before{content:""}.fa-slideshare:before{content:""}.fa-smile:before{content:""}.fa-smile-beam:before{content:""}.fa-smile-wink:before{content:""}.fa-smog:before{content:""}.fa-smoking:before{content:""}.fa-smoking-ban:before{content:""}.fa-sms:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-snapchat-square:before{content:""}.fa-snowboarding:before{content:""}.fa-snowflake:before{content:""}.fa-snowman:before{content:""}.fa-snowplow:before{content:""}.fa-socks:before{content:""}.fa-solar-panel:before{content:""}.fa-sort:before{content:""}.fa-sort-alpha-down:before{content:""}.fa-sort-alpha-down-alt:before{content:""}.fa-sort-alpha-up:before{content:""}.fa-sort-alpha-up-alt:before{content:""}.fa-sort-amount-down:before{content:""}.fa-sort-amount-down-alt:before{content:""}.fa-sort-amount-up:before{content:""}.fa-sort-amount-up-alt:before{content:""}.fa-sort-down:before{content:""}.fa-sort-numeric-down:before{content:""}.fa-sort-numeric-down-alt:before{content:""}.fa-sort-numeric-up:before{content:""}.fa-sort-numeric-up-alt:before{content:""}.fa-sort-up:before{content:""}.fa-soundcloud:before{content:""}.fa-sourcetree:before{content:""}.fa-spa:before{content:""}.fa-space-shuttle:before{content:""}.fa-speakap:before{content:""}.fa-speaker-deck:before{content:""}.fa-spell-check:before{content:""}.fa-spider:before{content:""}.fa-spinner:before{content:""}.fa-splotch:before{content:""}.fa-spotify:before{content:""}.fa-spray-can:before{content:""}.fa-square:before{content:""}.fa-square-full:before{content:""}.fa-square-root-alt:before{content:""}.fa-squarespace:before{content:""}.fa-stack-exchange:before{content:""}.fa-stack-overflow:before{content:""}.fa-stackpath:before{content:""}.fa-stamp:before{content:""}.fa-star:before{content:""}.fa-star-and-crescent:before{content:""}.fa-star-half:before{content:""}.fa-star-half-alt:before{content:""}.fa-star-of-david:before{content:""}.fa-star-of-life:before{content:""}.fa-staylinked:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-steam-symbol:before{content:""}.fa-step-backward:before{content:""}.fa-step-forward:before{content:""}.fa-stethoscope:before{content:""}.fa-sticker-mule:before{content:""}.fa-sticky-note:before{content:""}.fa-stop:before{content:""}.fa-stop-circle:before{content:""}.fa-stopwatch:before{content:""}.fa-store:before{content:""}.fa-store-alt:before{content:""}.fa-strava:before{content:""}.fa-stream:before{content:""}.fa-street-view:before{content:""}.fa-strikethrough:before{content:""}.fa-stripe:before{content:""}.fa-stripe-s:before{content:""}.fa-stroopwafel:before{content:""}.fa-studiovinari:before{content:""}.fa-stumbleupon:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-subscript:before{content:""}.fa-subway:before{content:""}.fa-suitcase:before{content:""}.fa-suitcase-rolling:before{content:""}.fa-sun:before{content:""}.fa-superpowers:before{content:""}.fa-superscript:before{content:""}.fa-supple:before{content:""}.fa-surprise:before{content:""}.fa-suse:before{content:""}.fa-swatchbook:before{content:""}.fa-swift:before{content:""}.fa-swimmer:before{content:""}.fa-swimming-pool:before{content:""}.fa-symfony:before{content:""}.fa-synagogue:before{content:""}.fa-sync:before{content:""}.fa-sync-alt:before{content:""}.fa-syringe:before{content:""}.fa-table:before{content:""}.fa-table-tennis:before{content:""}.fa-tablet:before{content:""}.fa-tablet-alt:before{content:""}.fa-tablets:before{content:""}.fa-tachometer-alt:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-tape:before{content:""}.fa-tasks:before{content:""}.fa-taxi:before{content:""}.fa-teamspeak:before{content:""}.fa-teeth:before{content:""}.fa-teeth-open:before{content:""}.fa-telegram:before{content:""}.fa-telegram-plane:before{content:""}.fa-temperature-high:before{content:""}.fa-temperature-low:before{content:""}.fa-tencent-weibo:before{content:""}.fa-tenge:before{content:""}.fa-terminal:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-th:before{content:""}.fa-th-large:before{content:""}.fa-th-list:before{content:""}.fa-the-red-yeti:before{content:""}.fa-theater-masks:before{content:""}.fa-themeco:before{content:""}.fa-themeisle:before{content:""}.fa-thermometer:before{content:""}.fa-thermometer-empty:before{content:""}.fa-thermometer-full:before{content:""}.fa-thermometer-half:before{content:""}.fa-thermometer-quarter:before{content:""}.fa-thermometer-three-quarters:before{content:""}.fa-think-peaks:before{content:""}.fa-thumbs-down:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbtack:before{content:""}.fa-ticket-alt:before{content:""}.fa-times:before{content:""}.fa-times-circle:before{content:""}.fa-tint:before{content:""}.fa-tint-slash:before{content:""}.fa-tired:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-toilet:before{content:""}.fa-toilet-paper:before{content:""}.fa-toolbox:before{content:""}.fa-tools:before{content:""}.fa-tooth:before{content:""}.fa-torah:before{content:""}.fa-torii-gate:before{content:""}.fa-tractor:before{content:""}.fa-trade-federation:before{content:""}.fa-trademark:before{content:""}.fa-traffic-light:before{content:""}.fa-trailer:before{content:"論"}.fa-train:before{content:""}.fa-tram:before{content:""}.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-trash:before{content:""}.fa-trash-alt:before{content:""}.fa-trash-restore:before{content:""}.fa-trash-restore-alt:before{content:""}.fa-tree:before{content:""}.fa-trello:before{content:""}.fa-tripadvisor:before{content:""}.fa-trophy:before{content:""}.fa-truck:before{content:""}.fa-truck-loading:before{content:""}.fa-truck-monster:before{content:""}.fa-truck-moving:before{content:""}.fa-truck-pickup:before{content:""}.fa-tshirt:before{content:""}.fa-tty:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-tv:before{content:""}.fa-twitch:before{content:""}.fa-twitter:before{content:""}.fa-twitter-square:before{content:""}.fa-typo3:before{content:""}.fa-uber:before{content:""}.fa-ubuntu:before{content:""}.fa-uikit:before{content:""}.fa-umbraco:before{content:""}.fa-umbrella:before{content:""}.fa-umbrella-beach:before{content:""}.fa-underline:before{content:""}.fa-undo:before{content:""}.fa-undo-alt:before{content:""}.fa-uniregistry:before{content:""}.fa-unity:before{content:"雷"}.fa-universal-access:before{content:""}.fa-university:before{content:""}.fa-unlink:before{content:""}.fa-unlock:before{content:""}.fa-unlock-alt:before{content:""}.fa-untappd:before{content:""}.fa-upload:before{content:""}.fa-ups:before{content:""}.fa-usb:before{content:""}.fa-user:before{content:""}.fa-user-alt:before{content:""}.fa-user-alt-slash:before{content:""}.fa-user-astronaut:before{content:""}.fa-user-check:before{content:""}.fa-user-circle:before{content:""}.fa-user-clock:before{content:""}.fa-user-cog:before{content:""}.fa-user-edit:before{content:""}.fa-user-friends:before{content:""}.fa-user-graduate:before{content:""}.fa-user-injured:before{content:""}.fa-user-lock:before{content:""}.fa-user-md:before{content:""}.fa-user-minus:before{content:""}.fa-user-ninja:before{content:""}.fa-user-nurse:before{content:""}.fa-user-plus:before{content:""}.fa-user-secret:before{content:""}.fa-user-shield:before{content:""}.fa-user-slash:before{content:""}.fa-user-tag:before{content:""}.fa-user-tie:before{content:""}.fa-user-times:before{content:""}.fa-users:before{content:""}.fa-users-cog:before{content:""}.fa-usps:before{content:""}.fa-ussunnah:before{content:""}.fa-utensil-spoon:before{content:""}.fa-utensils:before{content:""}.fa-vaadin:before{content:""}.fa-vector-square:before{content:""}.fa-venus:before{content:""}.fa-venus-double:before{content:""}.fa-venus-mars:before{content:""}.fa-viacoin:before{content:""}.fa-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-vial:before{content:""}.fa-vials:before{content:""}.fa-viber:before{content:""}.fa-video:before{content:""}.fa-video-slash:before{content:""}.fa-vihara:before{content:""}.fa-vimeo:before{content:""}.fa-vimeo-square:before{content:""}.fa-vimeo-v:before{content:""}.fa-vine:before{content:""}.fa-vk:before{content:""}.fa-vnv:before{content:""}.fa-voicemail:before{content:""}.fa-volleyball-ball:before{content:""}.fa-volume-down:before{content:""}.fa-volume-mute:before{content:""}.fa-volume-off:before{content:""}.fa-volume-up:before{content:""}.fa-vote-yea:before{content:""}.fa-vr-cardboard:before{content:""}.fa-vuejs:before{content:""}.fa-walking:before{content:""}.fa-wallet:before{content:""}.fa-warehouse:before{content:""}.fa-water:before{content:""}.fa-wave-square:before{content:""}.fa-waze:before{content:""}.fa-weebly:before{content:""}.fa-weibo:before{content:""}.fa-weight:before{content:""}.fa-weight-hanging:before{content:""}.fa-weixin:before{content:""}.fa-whatsapp:before{content:""}.fa-whatsapp-square:before{content:""}.fa-wheelchair:before{content:""}.fa-whmcs:before{content:""}.fa-wifi:before{content:""}.fa-wikipedia-w:before{content:""}.fa-wind:before{content:""}.fa-window-close:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-windows:before{content:""}.fa-wine-bottle:before{content:""}.fa-wine-glass:before{content:""}.fa-wine-glass-alt:before{content:""}.fa-wix:before{content:""}.fa-wizards-of-the-coast:before{content:""}.fa-wolf-pack-battalion:before{content:""}.fa-won-sign:before{content:""}.fa-wordpress:before{content:""}.fa-wordpress-simple:before{content:""}.fa-wpbeginner:before{content:""}.fa-wpexplorer:before{content:""}.fa-wpforms:before{content:""}.fa-wpressr:before{content:""}.fa-wrench:before{content:""}.fa-x-ray:before{content:""}.fa-xbox:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-y-combinator:before{content:""}.fa-yahoo:before{content:""}.fa-yammer:before{content:""}.fa-yandex:before{content:""}.fa-yandex-international:before{content:""}.fa-yarn:before{content:""}.fa-yelp:before{content:""}.fa-yen-sign:before{content:""}.fa-yin-yang:before{content:""}.fa-yoast:before{content:""}.fa-youtube:before{content:""}.fa-youtube-square:before{content:""}.fa-zhihu:before{content:""}.sr-only{border:0;clip:rect(0, 0, 0, 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}`,""]),s.locals={};const p=s},5752:(e,t,o)=>{o.r(t),o.d(t,{default:()=>g});var n=o(5072),f=o.n(n),a=o(7825),r=o.n(a),c=o(7659),b=o.n(c),i=o(5056),s=o.n(i),l=o(540),p=o.n(l),d=o(1113),m=o.n(d),u=o(8831),h={};h.styleTagTransform=m(),h.setAttributes=s(),h.insert=b().bind(null,"head"),h.domAPI=r(),h.insertStyleElement=p(),f()(u.A,h);const g=u.A&&u.A.locals?u.A.locals:void 0},9594:(e,t,o)=>{e.exports=o.p+"6ccf0adaba47375248a9.woff"}}]); \ No newline at end of file diff --git a/8092a3673f64d4716561.woff b/8092a3673f64d4716561.woff new file mode 100644 index 00000000..5ca4f422 Binary files /dev/null and b/8092a3673f64d4716561.woff differ diff --git a/961.js b/961.js new file mode 100644 index 00000000..c0a1fef8 --- /dev/null +++ b/961.js @@ -0,0 +1,2 @@ +/*! For license information please see 961.js.LICENSE.txt */ +"use strict";(self.webpackChunklivesplit=self.webpackChunklivesplit||[]).push([[961,540],{2551:(e,n,t)=>{var r=t(6540),l=t(9982);function a(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t