diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/404.html b/404.html new file mode 100644 index 000000000..48f96fbf3 --- /dev/null +++ b/404.html @@ -0,0 +1,55 @@ + + + + + Single Page Apps for GitHub Pages + + + + diff --git a/CNAME b/CNAME new file mode 100644 index 000000000..f4eee0e6a --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +chitchatter.im diff --git a/asset-manifest.json b/asset-manifest.json new file mode 100644 index 000000000..3a3bcbc29 --- /dev/null +++ b/asset-manifest.json @@ -0,0 +1,612 @@ +{ + "files": { + "main.css": "/static/css/main.3b963d24.css", + "main.js": "/static/js/main.f9b02af7.js", + "react-syntax-highlighter/refractor-core-import.js": "/static/js/react-syntax-highlighter/refractor-core-import.d7d14b68.chunk.js", + "react-syntax-highlighter_languages_refractor_abap.js": "/static/js/react-syntax-highlighter_languages_refractor_abap.6c79be30.chunk.js", + "react-syntax-highlighter_languages_refractor_abnf.js": "/static/js/react-syntax-highlighter_languages_refractor_abnf.95575723.chunk.js", + "react-syntax-highlighter_languages_refractor_actionscript.js": "/static/js/react-syntax-highlighter_languages_refractor_actionscript.80cf0d9c.chunk.js", + "react-syntax-highlighter_languages_refractor_ada.js": "/static/js/react-syntax-highlighter_languages_refractor_ada.b909fda0.chunk.js", + "react-syntax-highlighter_languages_refractor_agda.js": "/static/js/react-syntax-highlighter_languages_refractor_agda.45eb5715.chunk.js", + "react-syntax-highlighter_languages_refractor_al.js": "/static/js/react-syntax-highlighter_languages_refractor_al.eaa13c0d.chunk.js", + "react-syntax-highlighter_languages_refractor_antlr4.js": "/static/js/react-syntax-highlighter_languages_refractor_antlr4.9ea96d59.chunk.js", + "react-syntax-highlighter_languages_refractor_apacheconf.js": "/static/js/react-syntax-highlighter_languages_refractor_apacheconf.4b940aae.chunk.js", + "react-syntax-highlighter_languages_refractor_apex.js": "/static/js/react-syntax-highlighter_languages_refractor_apex.1d8c798b.chunk.js", + "react-syntax-highlighter_languages_refractor_apl.js": "/static/js/react-syntax-highlighter_languages_refractor_apl.b5e9cf9d.chunk.js", + "react-syntax-highlighter_languages_refractor_applescript.js": "/static/js/react-syntax-highlighter_languages_refractor_applescript.959948bc.chunk.js", + "react-syntax-highlighter_languages_refractor_aql.js": "/static/js/react-syntax-highlighter_languages_refractor_aql.c95a3aa9.chunk.js", + "react-syntax-highlighter_languages_refractor_arduino.js": "/static/js/react-syntax-highlighter_languages_refractor_arduino.40b1be00.chunk.js", + "react-syntax-highlighter_languages_refractor_arff.js": "/static/js/react-syntax-highlighter_languages_refractor_arff.97045256.chunk.js", + "react-syntax-highlighter_languages_refractor_asciidoc.js": "/static/js/react-syntax-highlighter_languages_refractor_asciidoc.f5eab041.chunk.js", + "react-syntax-highlighter_languages_refractor_asm6502.js": "/static/js/react-syntax-highlighter_languages_refractor_asm6502.01905432.chunk.js", + "react-syntax-highlighter_languages_refractor_asmatmel.js": "/static/js/react-syntax-highlighter_languages_refractor_asmatmel.71f92ace.chunk.js", + "react-syntax-highlighter_languages_refractor_aspnet.js": "/static/js/react-syntax-highlighter_languages_refractor_aspnet.9c1a038a.chunk.js", + "react-syntax-highlighter_languages_refractor_autohotkey.js": "/static/js/react-syntax-highlighter_languages_refractor_autohotkey.80554867.chunk.js", + "react-syntax-highlighter_languages_refractor_autoit.js": "/static/js/react-syntax-highlighter_languages_refractor_autoit.d9ad42d4.chunk.js", + "react-syntax-highlighter_languages_refractor_avisynth.js": "/static/js/react-syntax-highlighter_languages_refractor_avisynth.057a071a.chunk.js", + "react-syntax-highlighter_languages_refractor_avroIdl.js": "/static/js/react-syntax-highlighter_languages_refractor_avroIdl.06ceb043.chunk.js", + "react-syntax-highlighter_languages_refractor_bash.js": "/static/js/react-syntax-highlighter_languages_refractor_bash.fb56c292.chunk.js", + "react-syntax-highlighter_languages_refractor_basic.js": "/static/js/react-syntax-highlighter_languages_refractor_basic.5ae9ff03.chunk.js", + "react-syntax-highlighter_languages_refractor_batch.js": "/static/js/react-syntax-highlighter_languages_refractor_batch.8c3b94ab.chunk.js", + "react-syntax-highlighter_languages_refractor_bbcode.js": "/static/js/react-syntax-highlighter_languages_refractor_bbcode.0ab635aa.chunk.js", + "react-syntax-highlighter_languages_refractor_bicep.js": "/static/js/react-syntax-highlighter_languages_refractor_bicep.83d1a974.chunk.js", + "react-syntax-highlighter_languages_refractor_birb.js": "/static/js/react-syntax-highlighter_languages_refractor_birb.ed7b17db.chunk.js", + "react-syntax-highlighter_languages_refractor_bison.js": "/static/js/react-syntax-highlighter_languages_refractor_bison.c622bf7c.chunk.js", + "react-syntax-highlighter_languages_refractor_bnf.js": "/static/js/react-syntax-highlighter_languages_refractor_bnf.fd743a55.chunk.js", + "react-syntax-highlighter_languages_refractor_brainfuck.js": "/static/js/react-syntax-highlighter_languages_refractor_brainfuck.17e06afa.chunk.js", + "react-syntax-highlighter_languages_refractor_brightscript.js": "/static/js/react-syntax-highlighter_languages_refractor_brightscript.c2cd6a99.chunk.js", + "react-syntax-highlighter_languages_refractor_bro.js": "/static/js/react-syntax-highlighter_languages_refractor_bro.f741fcf8.chunk.js", + "react-syntax-highlighter_languages_refractor_bsl.js": "/static/js/react-syntax-highlighter_languages_refractor_bsl.310d9794.chunk.js", + "react-syntax-highlighter_languages_refractor_c.js": "/static/js/react-syntax-highlighter_languages_refractor_c.180b3761.chunk.js", + "react-syntax-highlighter_languages_refractor_cfscript.js": "/static/js/react-syntax-highlighter_languages_refractor_cfscript.71c39ca1.chunk.js", + "react-syntax-highlighter_languages_refractor_chaiscript.js": "/static/js/react-syntax-highlighter_languages_refractor_chaiscript.0900aae1.chunk.js", + "react-syntax-highlighter_languages_refractor_cil.js": "/static/js/react-syntax-highlighter_languages_refractor_cil.12a50768.chunk.js", + "react-syntax-highlighter_languages_refractor_clike.js": "/static/js/react-syntax-highlighter_languages_refractor_clike.9b0717fa.chunk.js", + "react-syntax-highlighter_languages_refractor_clojure.js": "/static/js/react-syntax-highlighter_languages_refractor_clojure.748a2185.chunk.js", + "react-syntax-highlighter_languages_refractor_cmake.js": "/static/js/react-syntax-highlighter_languages_refractor_cmake.8c93755c.chunk.js", + "react-syntax-highlighter_languages_refractor_cobol.js": "/static/js/react-syntax-highlighter_languages_refractor_cobol.e2508fb7.chunk.js", + "react-syntax-highlighter_languages_refractor_coffeescript.js": "/static/js/react-syntax-highlighter_languages_refractor_coffeescript.504645f6.chunk.js", + "react-syntax-highlighter_languages_refractor_concurnas.js": "/static/js/react-syntax-highlighter_languages_refractor_concurnas.604c8dca.chunk.js", + "react-syntax-highlighter_languages_refractor_coq.js": "/static/js/react-syntax-highlighter_languages_refractor_coq.6de2972e.chunk.js", + "react-syntax-highlighter_languages_refractor_cpp.js": "/static/js/react-syntax-highlighter_languages_refractor_cpp.41c4b3ae.chunk.js", + "react-syntax-highlighter_languages_refractor_crystal.js": "/static/js/react-syntax-highlighter_languages_refractor_crystal.e96f1076.chunk.js", + "react-syntax-highlighter_languages_refractor_csharp.js": "/static/js/react-syntax-highlighter_languages_refractor_csharp.81fd8096.chunk.js", + "react-syntax-highlighter_languages_refractor_cshtml.js": "/static/js/react-syntax-highlighter_languages_refractor_cshtml.762d3382.chunk.js", + "react-syntax-highlighter_languages_refractor_csp.js": "/static/js/react-syntax-highlighter_languages_refractor_csp.3c38df3f.chunk.js", + "react-syntax-highlighter_languages_refractor_cssExtras.js": "/static/js/react-syntax-highlighter_languages_refractor_cssExtras.e10c790a.chunk.js", + "react-syntax-highlighter_languages_refractor_css.js": "/static/js/react-syntax-highlighter_languages_refractor_css.9caa1272.chunk.js", + "react-syntax-highlighter_languages_refractor_csv.js": "/static/js/react-syntax-highlighter_languages_refractor_csv.70f930a2.chunk.js", + "react-syntax-highlighter_languages_refractor_cypher.js": "/static/js/react-syntax-highlighter_languages_refractor_cypher.ec810015.chunk.js", + "react-syntax-highlighter_languages_refractor_d.js": "/static/js/react-syntax-highlighter_languages_refractor_d.77b04ba7.chunk.js", + "react-syntax-highlighter_languages_refractor_dart.js": "/static/js/react-syntax-highlighter_languages_refractor_dart.732629ed.chunk.js", + "react-syntax-highlighter_languages_refractor_dataweave.js": "/static/js/react-syntax-highlighter_languages_refractor_dataweave.56ee1585.chunk.js", + "react-syntax-highlighter_languages_refractor_dax.js": "/static/js/react-syntax-highlighter_languages_refractor_dax.8f1fdc8c.chunk.js", + "react-syntax-highlighter_languages_refractor_dhall.js": "/static/js/react-syntax-highlighter_languages_refractor_dhall.0140bc11.chunk.js", + "react-syntax-highlighter_languages_refractor_diff.js": "/static/js/react-syntax-highlighter_languages_refractor_diff.1b850a16.chunk.js", + "react-syntax-highlighter_languages_refractor_django.js": "/static/js/react-syntax-highlighter_languages_refractor_django.011c15bd.chunk.js", + "react-syntax-highlighter_languages_refractor_dnsZoneFile.js": "/static/js/react-syntax-highlighter_languages_refractor_dnsZoneFile.d5bb93e0.chunk.js", + "react-syntax-highlighter_languages_refractor_docker.js": "/static/js/react-syntax-highlighter_languages_refractor_docker.62c4e6af.chunk.js", + "react-syntax-highlighter_languages_refractor_dot.js": "/static/js/react-syntax-highlighter_languages_refractor_dot.77b04ca7.chunk.js", + "react-syntax-highlighter_languages_refractor_ebnf.js": "/static/js/react-syntax-highlighter_languages_refractor_ebnf.f4efc9b8.chunk.js", + "react-syntax-highlighter_languages_refractor_editorconfig.js": "/static/js/react-syntax-highlighter_languages_refractor_editorconfig.7dd68f19.chunk.js", + "react-syntax-highlighter_languages_refractor_eiffel.js": "/static/js/react-syntax-highlighter_languages_refractor_eiffel.1d74c428.chunk.js", + "react-syntax-highlighter_languages_refractor_ejs.js": "/static/js/react-syntax-highlighter_languages_refractor_ejs.c0b03038.chunk.js", + "react-syntax-highlighter_languages_refractor_elixir.js": "/static/js/react-syntax-highlighter_languages_refractor_elixir.6f26dbd4.chunk.js", + "react-syntax-highlighter_languages_refractor_elm.js": "/static/js/react-syntax-highlighter_languages_refractor_elm.808f51c0.chunk.js", + "react-syntax-highlighter_languages_refractor_erb.js": "/static/js/react-syntax-highlighter_languages_refractor_erb.7d78e287.chunk.js", + "react-syntax-highlighter_languages_refractor_erlang.js": "/static/js/react-syntax-highlighter_languages_refractor_erlang.3e7290af.chunk.js", + "react-syntax-highlighter_languages_refractor_etlua.js": "/static/js/react-syntax-highlighter_languages_refractor_etlua.5736e2e1.chunk.js", + "react-syntax-highlighter_languages_refractor_excelFormula.js": "/static/js/react-syntax-highlighter_languages_refractor_excelFormula.3ca2aeaf.chunk.js", + "react-syntax-highlighter_languages_refractor_factor.js": "/static/js/react-syntax-highlighter_languages_refractor_factor.a7353056.chunk.js", + "react-syntax-highlighter_languages_refractor_falselang.js": "/static/js/react-syntax-highlighter_languages_refractor_falselang.f31a6905.chunk.js", + "react-syntax-highlighter_languages_refractor_firestoreSecurityRules.js": "/static/js/react-syntax-highlighter_languages_refractor_firestoreSecurityRules.00411c5c.chunk.js", + "react-syntax-highlighter_languages_refractor_flow.js": "/static/js/react-syntax-highlighter_languages_refractor_flow.e92cdaa9.chunk.js", + "react-syntax-highlighter_languages_refractor_fortran.js": "/static/js/react-syntax-highlighter_languages_refractor_fortran.4a3fdcaf.chunk.js", + "react-syntax-highlighter_languages_refractor_fsharp.js": "/static/js/react-syntax-highlighter_languages_refractor_fsharp.b59b7794.chunk.js", + "react-syntax-highlighter_languages_refractor_ftl.js": "/static/js/react-syntax-highlighter_languages_refractor_ftl.371b9bdc.chunk.js", + "react-syntax-highlighter_languages_refractor_gap.js": "/static/js/react-syntax-highlighter_languages_refractor_gap.4facb813.chunk.js", + "react-syntax-highlighter_languages_refractor_gcode.js": "/static/js/react-syntax-highlighter_languages_refractor_gcode.e7be8e7d.chunk.js", + "react-syntax-highlighter_languages_refractor_gdscript.js": "/static/js/react-syntax-highlighter_languages_refractor_gdscript.83969196.chunk.js", + "react-syntax-highlighter_languages_refractor_gedcom.js": "/static/js/react-syntax-highlighter_languages_refractor_gedcom.08e2a47b.chunk.js", + "react-syntax-highlighter_languages_refractor_gherkin.js": "/static/js/react-syntax-highlighter_languages_refractor_gherkin.c97a582b.chunk.js", + "react-syntax-highlighter_languages_refractor_git.js": "/static/js/react-syntax-highlighter_languages_refractor_git.1857b0c8.chunk.js", + "react-syntax-highlighter_languages_refractor_glsl.js": "/static/js/react-syntax-highlighter_languages_refractor_glsl.2aefa8e8.chunk.js", + "react-syntax-highlighter_languages_refractor_gml.js": "/static/js/react-syntax-highlighter_languages_refractor_gml.1e9ccf69.chunk.js", + "react-syntax-highlighter_languages_refractor_gn.js": "/static/js/react-syntax-highlighter_languages_refractor_gn.e3ecaf7c.chunk.js", + "react-syntax-highlighter_languages_refractor_goModule.js": "/static/js/react-syntax-highlighter_languages_refractor_goModule.7533a576.chunk.js", + "react-syntax-highlighter_languages_refractor_go.js": "/static/js/react-syntax-highlighter_languages_refractor_go.7aeb2f19.chunk.js", + "react-syntax-highlighter_languages_refractor_graphql.js": "/static/js/react-syntax-highlighter_languages_refractor_graphql.121542b3.chunk.js", + "react-syntax-highlighter_languages_refractor_groovy.js": "/static/js/react-syntax-highlighter_languages_refractor_groovy.0742d766.chunk.js", + "react-syntax-highlighter_languages_refractor_haml.js": "/static/js/react-syntax-highlighter_languages_refractor_haml.ebfe76ce.chunk.js", + "react-syntax-highlighter_languages_refractor_handlebars.js": "/static/js/react-syntax-highlighter_languages_refractor_handlebars.76cdf25e.chunk.js", + "react-syntax-highlighter_languages_refractor_haskell.js": "/static/js/react-syntax-highlighter_languages_refractor_haskell.750915ee.chunk.js", + "react-syntax-highlighter_languages_refractor_haxe.js": "/static/js/react-syntax-highlighter_languages_refractor_haxe.a09b9ce3.chunk.js", + "react-syntax-highlighter_languages_refractor_hcl.js": "/static/js/react-syntax-highlighter_languages_refractor_hcl.3e80486b.chunk.js", + "react-syntax-highlighter_languages_refractor_hlsl.js": "/static/js/react-syntax-highlighter_languages_refractor_hlsl.04133862.chunk.js", + "react-syntax-highlighter_languages_refractor_hoon.js": "/static/js/react-syntax-highlighter_languages_refractor_hoon.85e7a8a1.chunk.js", + "react-syntax-highlighter_languages_refractor_hpkp.js": "/static/js/react-syntax-highlighter_languages_refractor_hpkp.65736982.chunk.js", + "react-syntax-highlighter_languages_refractor_hsts.js": "/static/js/react-syntax-highlighter_languages_refractor_hsts.0757b025.chunk.js", + "react-syntax-highlighter_languages_refractor_http.js": "/static/js/react-syntax-highlighter_languages_refractor_http.27dc3e9a.chunk.js", + "react-syntax-highlighter_languages_refractor_ichigojam.js": "/static/js/react-syntax-highlighter_languages_refractor_ichigojam.6296ea2c.chunk.js", + "react-syntax-highlighter_languages_refractor_icon.js": "/static/js/react-syntax-highlighter_languages_refractor_icon.3bd82356.chunk.js", + "react-syntax-highlighter_languages_refractor_icuMessageFormat.js": "/static/js/react-syntax-highlighter_languages_refractor_icuMessageFormat.29ae2f1a.chunk.js", + "react-syntax-highlighter_languages_refractor_idris.js": "/static/js/react-syntax-highlighter_languages_refractor_idris.ff2648d7.chunk.js", + "react-syntax-highlighter_languages_refractor_iecst.js": "/static/js/react-syntax-highlighter_languages_refractor_iecst.9dd4fef9.chunk.js", + "react-syntax-highlighter_languages_refractor_ignore.js": "/static/js/react-syntax-highlighter_languages_refractor_ignore.e5c1b425.chunk.js", + "react-syntax-highlighter_languages_refractor_inform7.js": "/static/js/react-syntax-highlighter_languages_refractor_inform7.67df3257.chunk.js", + "react-syntax-highlighter_languages_refractor_ini.js": "/static/js/react-syntax-highlighter_languages_refractor_ini.615eb91f.chunk.js", + "react-syntax-highlighter_languages_refractor_io.js": "/static/js/react-syntax-highlighter_languages_refractor_io.8be39b95.chunk.js", + "react-syntax-highlighter_languages_refractor_j.js": "/static/js/react-syntax-highlighter_languages_refractor_j.b56a0f7e.chunk.js", + "react-syntax-highlighter_languages_refractor_java.js": "/static/js/react-syntax-highlighter_languages_refractor_java.629b168c.chunk.js", + "react-syntax-highlighter_languages_refractor_javadoc.js": "/static/js/react-syntax-highlighter_languages_refractor_javadoc.f307a1e3.chunk.js", + "react-syntax-highlighter_languages_refractor_javadoclike.js": "/static/js/react-syntax-highlighter_languages_refractor_javadoclike.58d920e2.chunk.js", + "react-syntax-highlighter_languages_refractor_javascript.js": "/static/js/react-syntax-highlighter_languages_refractor_javascript.bfa08b56.chunk.js", + "react-syntax-highlighter_languages_refractor_javastacktrace.js": "/static/js/react-syntax-highlighter_languages_refractor_javastacktrace.8063ebbb.chunk.js", + "react-syntax-highlighter_languages_refractor_jexl.js": "/static/js/react-syntax-highlighter_languages_refractor_jexl.d6f81c11.chunk.js", + "react-syntax-highlighter_languages_refractor_jolie.js": "/static/js/react-syntax-highlighter_languages_refractor_jolie.33d325f6.chunk.js", + "react-syntax-highlighter_languages_refractor_jq.js": "/static/js/react-syntax-highlighter_languages_refractor_jq.c8ca9337.chunk.js", + "react-syntax-highlighter_languages_refractor_jsExtras.js": "/static/js/react-syntax-highlighter_languages_refractor_jsExtras.3e569a74.chunk.js", + "react-syntax-highlighter_languages_refractor_jsTemplates.js": "/static/js/react-syntax-highlighter_languages_refractor_jsTemplates.337ed6b9.chunk.js", + "react-syntax-highlighter_languages_refractor_jsdoc.js": "/static/js/react-syntax-highlighter_languages_refractor_jsdoc.509d2b7b.chunk.js", + "react-syntax-highlighter_languages_refractor_json.js": "/static/js/react-syntax-highlighter_languages_refractor_json.b3291471.chunk.js", + "react-syntax-highlighter_languages_refractor_json5.js": "/static/js/react-syntax-highlighter_languages_refractor_json5.966b7b57.chunk.js", + "react-syntax-highlighter_languages_refractor_jsonp.js": "/static/js/react-syntax-highlighter_languages_refractor_jsonp.7c700173.chunk.js", + "react-syntax-highlighter_languages_refractor_jsstacktrace.js": "/static/js/react-syntax-highlighter_languages_refractor_jsstacktrace.273e6f0e.chunk.js", + "react-syntax-highlighter_languages_refractor_jsx.js": "/static/js/react-syntax-highlighter_languages_refractor_jsx.c9e61a52.chunk.js", + "react-syntax-highlighter_languages_refractor_julia.js": "/static/js/react-syntax-highlighter_languages_refractor_julia.dd43afa7.chunk.js", + "react-syntax-highlighter_languages_refractor_keepalived.js": "/static/js/react-syntax-highlighter_languages_refractor_keepalived.6078d504.chunk.js", + "react-syntax-highlighter_languages_refractor_keyman.js": "/static/js/react-syntax-highlighter_languages_refractor_keyman.13cda7ca.chunk.js", + "react-syntax-highlighter_languages_refractor_kotlin.js": "/static/js/react-syntax-highlighter_languages_refractor_kotlin.7340ffcd.chunk.js", + "react-syntax-highlighter_languages_refractor_kumir.js": "/static/js/react-syntax-highlighter_languages_refractor_kumir.6725e490.chunk.js", + "react-syntax-highlighter_languages_refractor_kusto.js": "/static/js/react-syntax-highlighter_languages_refractor_kusto.36fce17d.chunk.js", + "react-syntax-highlighter_languages_refractor_latex.js": "/static/js/react-syntax-highlighter_languages_refractor_latex.f8fe811d.chunk.js", + "react-syntax-highlighter_languages_refractor_latte.js": "/static/js/react-syntax-highlighter_languages_refractor_latte.28aa51f3.chunk.js", + "react-syntax-highlighter_languages_refractor_less.js": "/static/js/react-syntax-highlighter_languages_refractor_less.950e435c.chunk.js", + "react-syntax-highlighter_languages_refractor_lilypond.js": "/static/js/react-syntax-highlighter_languages_refractor_lilypond.bc60f08e.chunk.js", + "react-syntax-highlighter_languages_refractor_liquid.js": "/static/js/react-syntax-highlighter_languages_refractor_liquid.0b35641b.chunk.js", + "react-syntax-highlighter_languages_refractor_lisp.js": "/static/js/react-syntax-highlighter_languages_refractor_lisp.6c074c38.chunk.js", + "react-syntax-highlighter_languages_refractor_livescript.js": "/static/js/react-syntax-highlighter_languages_refractor_livescript.7852e80c.chunk.js", + "react-syntax-highlighter_languages_refractor_llvm.js": "/static/js/react-syntax-highlighter_languages_refractor_llvm.4f1a1723.chunk.js", + "react-syntax-highlighter_languages_refractor_log.js": "/static/js/react-syntax-highlighter_languages_refractor_log.f3a88dba.chunk.js", + "react-syntax-highlighter_languages_refractor_lolcode.js": "/static/js/react-syntax-highlighter_languages_refractor_lolcode.ee3ffe33.chunk.js", + "react-syntax-highlighter_languages_refractor_lua.js": "/static/js/react-syntax-highlighter_languages_refractor_lua.c9a839e0.chunk.js", + "react-syntax-highlighter_languages_refractor_magma.js": "/static/js/react-syntax-highlighter_languages_refractor_magma.a6c0a984.chunk.js", + "react-syntax-highlighter_languages_refractor_makefile.js": "/static/js/react-syntax-highlighter_languages_refractor_makefile.4feb4299.chunk.js", + "react-syntax-highlighter_languages_refractor_markdown.js": "/static/js/react-syntax-highlighter_languages_refractor_markdown.d4a7bb75.chunk.js", + "react-syntax-highlighter_languages_refractor_markupTemplating.js": "/static/js/react-syntax-highlighter_languages_refractor_markupTemplating.60b3d34f.chunk.js", + "react-syntax-highlighter_languages_refractor_markup.js": "/static/js/react-syntax-highlighter_languages_refractor_markup.ea5ffc14.chunk.js", + "react-syntax-highlighter_languages_refractor_matlab.js": "/static/js/react-syntax-highlighter_languages_refractor_matlab.17750e61.chunk.js", + "react-syntax-highlighter_languages_refractor_maxscript.js": "/static/js/react-syntax-highlighter_languages_refractor_maxscript.f585c9d3.chunk.js", + "react-syntax-highlighter_languages_refractor_mel.js": "/static/js/react-syntax-highlighter_languages_refractor_mel.a40f6235.chunk.js", + "react-syntax-highlighter_languages_refractor_mermaid.js": "/static/js/react-syntax-highlighter_languages_refractor_mermaid.d9ef2eac.chunk.js", + "react-syntax-highlighter_languages_refractor_mizar.js": "/static/js/react-syntax-highlighter_languages_refractor_mizar.40a114c6.chunk.js", + "react-syntax-highlighter_languages_refractor_mongodb.js": "/static/js/react-syntax-highlighter_languages_refractor_mongodb.3c19fd22.chunk.js", + "react-syntax-highlighter_languages_refractor_monkey.js": "/static/js/react-syntax-highlighter_languages_refractor_monkey.e47463d8.chunk.js", + "react-syntax-highlighter_languages_refractor_moonscript.js": "/static/js/react-syntax-highlighter_languages_refractor_moonscript.1f9df26f.chunk.js", + "react-syntax-highlighter_languages_refractor_n1ql.js": "/static/js/react-syntax-highlighter_languages_refractor_n1ql.c03ef42a.chunk.js", + "react-syntax-highlighter_languages_refractor_n4js.js": "/static/js/react-syntax-highlighter_languages_refractor_n4js.69bd5848.chunk.js", + "react-syntax-highlighter_languages_refractor_nand2tetrisHdl.js": "/static/js/react-syntax-highlighter_languages_refractor_nand2tetrisHdl.30659b39.chunk.js", + "react-syntax-highlighter_languages_refractor_naniscript.js": "/static/js/react-syntax-highlighter_languages_refractor_naniscript.3933cbe9.chunk.js", + "react-syntax-highlighter_languages_refractor_nasm.js": "/static/js/react-syntax-highlighter_languages_refractor_nasm.f4517ca6.chunk.js", + "react-syntax-highlighter_languages_refractor_neon.js": "/static/js/react-syntax-highlighter_languages_refractor_neon.f6d840a9.chunk.js", + "react-syntax-highlighter_languages_refractor_nevod.js": "/static/js/react-syntax-highlighter_languages_refractor_nevod.18298b88.chunk.js", + "react-syntax-highlighter_languages_refractor_nginx.js": "/static/js/react-syntax-highlighter_languages_refractor_nginx.52c38bfb.chunk.js", + "react-syntax-highlighter_languages_refractor_nim.js": "/static/js/react-syntax-highlighter_languages_refractor_nim.2efeff23.chunk.js", + "react-syntax-highlighter_languages_refractor_nix.js": "/static/js/react-syntax-highlighter_languages_refractor_nix.0f8fc50d.chunk.js", + "react-syntax-highlighter_languages_refractor_nsis.js": "/static/js/react-syntax-highlighter_languages_refractor_nsis.558be2e2.chunk.js", + "react-syntax-highlighter_languages_refractor_objectivec.js": "/static/js/react-syntax-highlighter_languages_refractor_objectivec.ccee4a43.chunk.js", + "react-syntax-highlighter_languages_refractor_ocaml.js": "/static/js/react-syntax-highlighter_languages_refractor_ocaml.ad43c64c.chunk.js", + "react-syntax-highlighter_languages_refractor_opencl.js": "/static/js/react-syntax-highlighter_languages_refractor_opencl.4972d0b6.chunk.js", + "react-syntax-highlighter_languages_refractor_openqasm.js": "/static/js/react-syntax-highlighter_languages_refractor_openqasm.552aebff.chunk.js", + "react-syntax-highlighter_languages_refractor_oz.js": "/static/js/react-syntax-highlighter_languages_refractor_oz.8d8d5739.chunk.js", + "react-syntax-highlighter_languages_refractor_parigp.js": "/static/js/react-syntax-highlighter_languages_refractor_parigp.ab21d649.chunk.js", + "react-syntax-highlighter_languages_refractor_parser.js": "/static/js/react-syntax-highlighter_languages_refractor_parser.56c081eb.chunk.js", + "react-syntax-highlighter_languages_refractor_pascal.js": "/static/js/react-syntax-highlighter_languages_refractor_pascal.17a22e70.chunk.js", + "react-syntax-highlighter_languages_refractor_pascaligo.js": "/static/js/react-syntax-highlighter_languages_refractor_pascaligo.80c8a805.chunk.js", + "react-syntax-highlighter_languages_refractor_pcaxis.js": "/static/js/react-syntax-highlighter_languages_refractor_pcaxis.568c2b52.chunk.js", + "react-syntax-highlighter_languages_refractor_peoplecode.js": "/static/js/react-syntax-highlighter_languages_refractor_peoplecode.2162e633.chunk.js", + "react-syntax-highlighter_languages_refractor_perl.js": "/static/js/react-syntax-highlighter_languages_refractor_perl.4704034f.chunk.js", + "react-syntax-highlighter_languages_refractor_phpExtras.js": "/static/js/react-syntax-highlighter_languages_refractor_phpExtras.5cf936a4.chunk.js", + "react-syntax-highlighter_languages_refractor_php.js": "/static/js/react-syntax-highlighter_languages_refractor_php.f08fdf94.chunk.js", + "react-syntax-highlighter_languages_refractor_phpdoc.js": "/static/js/react-syntax-highlighter_languages_refractor_phpdoc.964269fc.chunk.js", + "react-syntax-highlighter_languages_refractor_plsql.js": "/static/js/react-syntax-highlighter_languages_refractor_plsql.5525d45a.chunk.js", + "react-syntax-highlighter_languages_refractor_powerquery.js": "/static/js/react-syntax-highlighter_languages_refractor_powerquery.1d37cf49.chunk.js", + "react-syntax-highlighter_languages_refractor_powershell.js": "/static/js/react-syntax-highlighter_languages_refractor_powershell.a0c1c2e5.chunk.js", + "react-syntax-highlighter_languages_refractor_processing.js": "/static/js/react-syntax-highlighter_languages_refractor_processing.4c77ce32.chunk.js", + "react-syntax-highlighter_languages_refractor_prolog.js": "/static/js/react-syntax-highlighter_languages_refractor_prolog.6101e1bb.chunk.js", + "react-syntax-highlighter_languages_refractor_promql.js": "/static/js/react-syntax-highlighter_languages_refractor_promql.3bb9f69f.chunk.js", + "react-syntax-highlighter_languages_refractor_properties.js": "/static/js/react-syntax-highlighter_languages_refractor_properties.c378ae31.chunk.js", + "react-syntax-highlighter_languages_refractor_protobuf.js": "/static/js/react-syntax-highlighter_languages_refractor_protobuf.8ef3fad2.chunk.js", + "react-syntax-highlighter_languages_refractor_psl.js": "/static/js/react-syntax-highlighter_languages_refractor_psl.073c3901.chunk.js", + "react-syntax-highlighter_languages_refractor_pug.js": "/static/js/react-syntax-highlighter_languages_refractor_pug.3934a364.chunk.js", + "react-syntax-highlighter_languages_refractor_puppet.js": "/static/js/react-syntax-highlighter_languages_refractor_puppet.84a985d5.chunk.js", + "react-syntax-highlighter_languages_refractor_pure.js": "/static/js/react-syntax-highlighter_languages_refractor_pure.0d8bde8f.chunk.js", + "react-syntax-highlighter_languages_refractor_purebasic.js": "/static/js/react-syntax-highlighter_languages_refractor_purebasic.7efb18cf.chunk.js", + "react-syntax-highlighter_languages_refractor_purescript.js": "/static/js/react-syntax-highlighter_languages_refractor_purescript.f8c0ceef.chunk.js", + "react-syntax-highlighter_languages_refractor_python.js": "/static/js/react-syntax-highlighter_languages_refractor_python.300484ca.chunk.js", + "react-syntax-highlighter_languages_refractor_q.js": "/static/js/react-syntax-highlighter_languages_refractor_q.3891bce5.chunk.js", + "react-syntax-highlighter_languages_refractor_qml.js": "/static/js/react-syntax-highlighter_languages_refractor_qml.63bbf9b6.chunk.js", + "react-syntax-highlighter_languages_refractor_qore.js": "/static/js/react-syntax-highlighter_languages_refractor_qore.a2cd2a22.chunk.js", + "react-syntax-highlighter_languages_refractor_qsharp.js": "/static/js/react-syntax-highlighter_languages_refractor_qsharp.9b68fda7.chunk.js", + "react-syntax-highlighter_languages_refractor_r.js": "/static/js/react-syntax-highlighter_languages_refractor_r.cafe9d69.chunk.js", + "react-syntax-highlighter_languages_refractor_racket.js": "/static/js/react-syntax-highlighter_languages_refractor_racket.71866e01.chunk.js", + "react-syntax-highlighter_languages_refractor_reason.js": "/static/js/react-syntax-highlighter_languages_refractor_reason.b886cdca.chunk.js", + "react-syntax-highlighter_languages_refractor_regex.js": "/static/js/react-syntax-highlighter_languages_refractor_regex.43bcf14a.chunk.js", + "react-syntax-highlighter_languages_refractor_rego.js": "/static/js/react-syntax-highlighter_languages_refractor_rego.e733a2c9.chunk.js", + "react-syntax-highlighter_languages_refractor_renpy.js": "/static/js/react-syntax-highlighter_languages_refractor_renpy.eac48954.chunk.js", + "react-syntax-highlighter_languages_refractor_rest.js": "/static/js/react-syntax-highlighter_languages_refractor_rest.21f370fb.chunk.js", + "react-syntax-highlighter_languages_refractor_rip.js": "/static/js/react-syntax-highlighter_languages_refractor_rip.ede10bd8.chunk.js", + "react-syntax-highlighter_languages_refractor_roboconf.js": "/static/js/react-syntax-highlighter_languages_refractor_roboconf.59d9b2ce.chunk.js", + "react-syntax-highlighter_languages_refractor_robotframework.js": "/static/js/react-syntax-highlighter_languages_refractor_robotframework.d2e922c5.chunk.js", + "react-syntax-highlighter_languages_refractor_ruby.js": "/static/js/react-syntax-highlighter_languages_refractor_ruby.d90b4d94.chunk.js", + "react-syntax-highlighter_languages_refractor_rust.js": "/static/js/react-syntax-highlighter_languages_refractor_rust.56d87ec0.chunk.js", + "react-syntax-highlighter_languages_refractor_sas.js": "/static/js/react-syntax-highlighter_languages_refractor_sas.c5ab9ebc.chunk.js", + "react-syntax-highlighter_languages_refractor_sass.js": "/static/js/react-syntax-highlighter_languages_refractor_sass.5746157b.chunk.js", + "react-syntax-highlighter_languages_refractor_scala.js": "/static/js/react-syntax-highlighter_languages_refractor_scala.922376c3.chunk.js", + "react-syntax-highlighter_languages_refractor_scheme.js": "/static/js/react-syntax-highlighter_languages_refractor_scheme.4d1c1864.chunk.js", + "react-syntax-highlighter_languages_refractor_scss.js": "/static/js/react-syntax-highlighter_languages_refractor_scss.cb58d436.chunk.js", + "react-syntax-highlighter_languages_refractor_shellSession.js": "/static/js/react-syntax-highlighter_languages_refractor_shellSession.5e5d30e8.chunk.js", + "react-syntax-highlighter_languages_refractor_smali.js": "/static/js/react-syntax-highlighter_languages_refractor_smali.a3187262.chunk.js", + "react-syntax-highlighter_languages_refractor_smalltalk.js": "/static/js/react-syntax-highlighter_languages_refractor_smalltalk.019fa1df.chunk.js", + "react-syntax-highlighter_languages_refractor_smarty.js": "/static/js/react-syntax-highlighter_languages_refractor_smarty.447ba6f2.chunk.js", + "react-syntax-highlighter_languages_refractor_sml.js": "/static/js/react-syntax-highlighter_languages_refractor_sml.91abf541.chunk.js", + "react-syntax-highlighter_languages_refractor_solidity.js": "/static/js/react-syntax-highlighter_languages_refractor_solidity.5729eebc.chunk.js", + "react-syntax-highlighter_languages_refractor_solutionFile.js": "/static/js/react-syntax-highlighter_languages_refractor_solutionFile.c235782f.chunk.js", + "react-syntax-highlighter_languages_refractor_soy.js": "/static/js/react-syntax-highlighter_languages_refractor_soy.4db88394.chunk.js", + "react-syntax-highlighter_languages_refractor_sparql.js": "/static/js/react-syntax-highlighter_languages_refractor_sparql.588c77be.chunk.js", + "react-syntax-highlighter_languages_refractor_splunkSpl.js": "/static/js/react-syntax-highlighter_languages_refractor_splunkSpl.0b034c15.chunk.js", + "react-syntax-highlighter_languages_refractor_sqf.js": "/static/js/react-syntax-highlighter_languages_refractor_sqf.10f00779.chunk.js", + "react-syntax-highlighter_languages_refractor_sql.js": "/static/js/react-syntax-highlighter_languages_refractor_sql.783cae6c.chunk.js", + "react-syntax-highlighter_languages_refractor_squirrel.js": "/static/js/react-syntax-highlighter_languages_refractor_squirrel.0cbb6a9e.chunk.js", + "react-syntax-highlighter_languages_refractor_stan.js": "/static/js/react-syntax-highlighter_languages_refractor_stan.d4dcf047.chunk.js", + "react-syntax-highlighter_languages_refractor_stylus.js": "/static/js/react-syntax-highlighter_languages_refractor_stylus.46acc837.chunk.js", + "react-syntax-highlighter_languages_refractor_swift.js": "/static/js/react-syntax-highlighter_languages_refractor_swift.748a94f7.chunk.js", + "react-syntax-highlighter_languages_refractor_systemd.js": "/static/js/react-syntax-highlighter_languages_refractor_systemd.34f6f49b.chunk.js", + "react-syntax-highlighter_languages_refractor_t4Cs.js": "/static/js/react-syntax-highlighter_languages_refractor_t4Cs.a4b7cd94.chunk.js", + "react-syntax-highlighter_languages_refractor_t4Templating.js": "/static/js/react-syntax-highlighter_languages_refractor_t4Templating.fa793182.chunk.js", + "react-syntax-highlighter_languages_refractor_t4Vb.js": "/static/js/react-syntax-highlighter_languages_refractor_t4Vb.af19c35b.chunk.js", + "react-syntax-highlighter_languages_refractor_tap.js": "/static/js/react-syntax-highlighter_languages_refractor_tap.c8cc9cea.chunk.js", + "react-syntax-highlighter_languages_refractor_tcl.js": "/static/js/react-syntax-highlighter_languages_refractor_tcl.22af4bde.chunk.js", + "react-syntax-highlighter_languages_refractor_textile.js": "/static/js/react-syntax-highlighter_languages_refractor_textile.4908a558.chunk.js", + "react-syntax-highlighter_languages_refractor_toml.js": "/static/js/react-syntax-highlighter_languages_refractor_toml.6b160991.chunk.js", + "react-syntax-highlighter_languages_refractor_tremor.js": "/static/js/react-syntax-highlighter_languages_refractor_tremor.a8489e82.chunk.js", + "react-syntax-highlighter_languages_refractor_tsx.js": "/static/js/react-syntax-highlighter_languages_refractor_tsx.8f95f373.chunk.js", + "react-syntax-highlighter_languages_refractor_tt2.js": "/static/js/react-syntax-highlighter_languages_refractor_tt2.f52a022f.chunk.js", + "react-syntax-highlighter_languages_refractor_turtle.js": "/static/js/react-syntax-highlighter_languages_refractor_turtle.f51d87a2.chunk.js", + "react-syntax-highlighter_languages_refractor_twig.js": "/static/js/react-syntax-highlighter_languages_refractor_twig.ab63a910.chunk.js", + "react-syntax-highlighter_languages_refractor_typescript.js": "/static/js/react-syntax-highlighter_languages_refractor_typescript.1266c4c5.chunk.js", + "react-syntax-highlighter_languages_refractor_typoscript.js": "/static/js/react-syntax-highlighter_languages_refractor_typoscript.f4a06957.chunk.js", + "react-syntax-highlighter_languages_refractor_unrealscript.js": "/static/js/react-syntax-highlighter_languages_refractor_unrealscript.fc50b9ef.chunk.js", + "react-syntax-highlighter_languages_refractor_uorazor.js": "/static/js/react-syntax-highlighter_languages_refractor_uorazor.c058579f.chunk.js", + "react-syntax-highlighter_languages_refractor_uri.js": "/static/js/react-syntax-highlighter_languages_refractor_uri.3fdd24b9.chunk.js", + "react-syntax-highlighter_languages_refractor_v.js": "/static/js/react-syntax-highlighter_languages_refractor_v.7527e350.chunk.js", + "react-syntax-highlighter_languages_refractor_vala.js": "/static/js/react-syntax-highlighter_languages_refractor_vala.5059d92a.chunk.js", + "react-syntax-highlighter_languages_refractor_vbnet.js": "/static/js/react-syntax-highlighter_languages_refractor_vbnet.4ddf4a57.chunk.js", + "react-syntax-highlighter_languages_refractor_velocity.js": "/static/js/react-syntax-highlighter_languages_refractor_velocity.3b194e8e.chunk.js", + "react-syntax-highlighter_languages_refractor_verilog.js": "/static/js/react-syntax-highlighter_languages_refractor_verilog.5570eae7.chunk.js", + "react-syntax-highlighter_languages_refractor_vhdl.js": "/static/js/react-syntax-highlighter_languages_refractor_vhdl.650f53ca.chunk.js", + "react-syntax-highlighter_languages_refractor_vim.js": "/static/js/react-syntax-highlighter_languages_refractor_vim.ce5c0984.chunk.js", + "react-syntax-highlighter_languages_refractor_visualBasic.js": "/static/js/react-syntax-highlighter_languages_refractor_visualBasic.d7e6b4c8.chunk.js", + "react-syntax-highlighter_languages_refractor_warpscript.js": "/static/js/react-syntax-highlighter_languages_refractor_warpscript.6dfd7793.chunk.js", + "react-syntax-highlighter_languages_refractor_wasm.js": "/static/js/react-syntax-highlighter_languages_refractor_wasm.3e74896a.chunk.js", + "react-syntax-highlighter_languages_refractor_webIdl.js": "/static/js/react-syntax-highlighter_languages_refractor_webIdl.bd0eff04.chunk.js", + "react-syntax-highlighter_languages_refractor_wiki.js": "/static/js/react-syntax-highlighter_languages_refractor_wiki.71fadcda.chunk.js", + "react-syntax-highlighter_languages_refractor_wolfram.js": "/static/js/react-syntax-highlighter_languages_refractor_wolfram.ab8f3d5d.chunk.js", + "react-syntax-highlighter_languages_refractor_wren.js": "/static/js/react-syntax-highlighter_languages_refractor_wren.dbe7a997.chunk.js", + "react-syntax-highlighter_languages_refractor_xeora.js": "/static/js/react-syntax-highlighter_languages_refractor_xeora.3428dfdd.chunk.js", + "react-syntax-highlighter_languages_refractor_xmlDoc.js": "/static/js/react-syntax-highlighter_languages_refractor_xmlDoc.4e743d09.chunk.js", + "react-syntax-highlighter_languages_refractor_xojo.js": "/static/js/react-syntax-highlighter_languages_refractor_xojo.2b558d9f.chunk.js", + "react-syntax-highlighter_languages_refractor_xquery.js": "/static/js/react-syntax-highlighter_languages_refractor_xquery.7a4d72ab.chunk.js", + "react-syntax-highlighter_languages_refractor_yaml.js": "/static/js/react-syntax-highlighter_languages_refractor_yaml.3335797b.chunk.js", + "react-syntax-highlighter_languages_refractor_yang.js": "/static/js/react-syntax-highlighter_languages_refractor_yang.b91647a5.chunk.js", + "react-syntax-highlighter_languages_refractor_zig.js": "/static/js/react-syntax-highlighter_languages_refractor_zig.dd01a6dc.chunk.js", + "static/js/9056.4389f73c.chunk.js": "/static/js/9056.4389f73c.chunk.js", + "static/js/7918.dc7b6f0b.chunk.js": "/static/js/7918.dc7b6f0b.chunk.js", + "static/js/8778.8b4e8d6a.chunk.js": "/static/js/8778.8b4e8d6a.chunk.js", + "static/js/9910.ef3db10a.chunk.js": "/static/js/9910.ef3db10a.chunk.js", + "static/js/1879.ed18bb38.chunk.js": "/static/js/1879.ed18bb38.chunk.js", + "static/js/6926.dcb537c7.chunk.js": "/static/js/6926.dcb537c7.chunk.js", + "static/js/6197.24105f49.chunk.js": "/static/js/6197.24105f49.chunk.js", + "static/js/8599.0a78eeaf.chunk.js": "/static/js/8599.0a78eeaf.chunk.js", + "static/js/8221.efd23e8d.chunk.js": "/static/js/8221.efd23e8d.chunk.js", + "static/js/5801.fe054870.chunk.js": "/static/js/5801.fe054870.chunk.js", + "static/js/787.5d8effc5.chunk.js": "/static/js/787.5d8effc5.chunk.js", + "service-worker.js": "/service-worker.js", + "static/media/roboto-latin-900italic.woff": "/static/media/roboto-latin-900italic.c20d916c1a1b094c1cec.woff", + "static/media/roboto-latin-300italic.woff": "/static/media/roboto-latin-300italic.bd5b7a13f2c52b531a2a.woff", + "static/media/roboto-latin-500italic.woff": "/static/media/roboto-latin-500italic.18d00f739ff1e1c52db1.woff", + "static/media/roboto-latin-400italic.woff": "/static/media/roboto-latin-400italic.b1d9d9904bfca8802a63.woff", + "static/media/roboto-latin-100italic.woff": "/static/media/roboto-latin-100italic.451d4e559d6f57cdf6a1.woff", + "static/media/roboto-latin-700italic.woff": "/static/media/roboto-latin-700italic.9360531f9bb817f917f0.woff", + "static/media/roboto-latin-500.woff": "/static/media/roboto-latin-500.cea99d3e3e13a3a599a0.woff", + "static/media/roboto-latin-900.woff": "/static/media/roboto-latin-900.bac8362e7a6ea60b6983.woff", + "static/media/roboto-latin-100.woff": "/static/media/roboto-latin-100.a45108d3b34af91f9113.woff", + "static/media/roboto-latin-700.woff": "/static/media/roboto-latin-700.2267169ee7270a22a963.woff", + "static/media/roboto-latin-300.woff": "/static/media/roboto-latin-300.865f928cbabcc9f8f2b5.woff", + "static/media/roboto-latin-400.woff": "/static/media/roboto-latin-400.49ae34d4cc6b98c00c69.woff", + "static/media/roboto-latin-900italic.woff2": "/static/media/roboto-latin-900italic.cb5ad999740e9d8a8bd1.woff2", + "static/media/roboto-latin-300italic.woff2": "/static/media/roboto-latin-300italic.c64e7e354c88e613c77c.woff2", + "static/media/roboto-latin-400italic.woff2": "/static/media/roboto-latin-400italic.d022bc70dc1bf7b3425d.woff2", + "static/media/roboto-latin-500italic.woff2": "/static/media/roboto-latin-500italic.0d8bb5b3ee5f5dac9e44.woff2", + "static/media/roboto-latin-700italic.woff2": "/static/media/roboto-latin-700italic.7d8125ff7f707231fd89.woff2", + "static/media/roboto-latin-100italic.woff2": "/static/media/roboto-latin-100italic.7f839a8652da29745ce4.woff2", + "static/media/roboto-latin-500.woff2": "/static/media/roboto-latin-500.f5b74d7ffcdf85b9dd60.woff2", + "static/media/roboto-latin-700.woff2": "/static/media/roboto-latin-700.c18ee39fb002ad58b6dc.woff2", + "static/media/roboto-latin-100.woff2": "/static/media/roboto-latin-100.c2aa4ab115bf9c6057cb.woff2", + "static/media/roboto-latin-300.woff2": "/static/media/roboto-latin-300.37a7069dc30fc663c878.woff2", + "static/media/roboto-latin-400.woff2": "/static/media/roboto-latin-400.176f8f5bd5f02b3abfcf.woff2", + "static/media/roboto-latin-900.woff2": "/static/media/roboto-latin-900.870c8c1486f76054301a.woff2", + "static/media/logo.svg": "/static/media/logo.7e4c4dfb2d758c1e7e8ca9cb0ed6a1ff.svg", + "index.html": "/index.html", + "main.3b963d24.css.map": "/static/css/main.3b963d24.css.map", + "main.f9b02af7.js.map": "/static/js/main.f9b02af7.js.map", + "refractor-core-import.d7d14b68.chunk.js.map": "/static/js/react-syntax-highlighter/refractor-core-import.d7d14b68.chunk.js.map", + "react-syntax-highlighter_languages_refractor_abap.6c79be30.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_abap.6c79be30.chunk.js.map", + "react-syntax-highlighter_languages_refractor_abnf.95575723.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_abnf.95575723.chunk.js.map", + "react-syntax-highlighter_languages_refractor_actionscript.80cf0d9c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_actionscript.80cf0d9c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_ada.b909fda0.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_ada.b909fda0.chunk.js.map", + "react-syntax-highlighter_languages_refractor_agda.45eb5715.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_agda.45eb5715.chunk.js.map", + "react-syntax-highlighter_languages_refractor_al.eaa13c0d.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_al.eaa13c0d.chunk.js.map", + "react-syntax-highlighter_languages_refractor_antlr4.9ea96d59.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_antlr4.9ea96d59.chunk.js.map", + "react-syntax-highlighter_languages_refractor_apacheconf.4b940aae.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_apacheconf.4b940aae.chunk.js.map", + "react-syntax-highlighter_languages_refractor_apex.1d8c798b.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_apex.1d8c798b.chunk.js.map", + "react-syntax-highlighter_languages_refractor_apl.b5e9cf9d.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_apl.b5e9cf9d.chunk.js.map", + "react-syntax-highlighter_languages_refractor_applescript.959948bc.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_applescript.959948bc.chunk.js.map", + "react-syntax-highlighter_languages_refractor_aql.c95a3aa9.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_aql.c95a3aa9.chunk.js.map", + "react-syntax-highlighter_languages_refractor_arduino.40b1be00.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_arduino.40b1be00.chunk.js.map", + "react-syntax-highlighter_languages_refractor_arff.97045256.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_arff.97045256.chunk.js.map", + "react-syntax-highlighter_languages_refractor_asciidoc.f5eab041.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_asciidoc.f5eab041.chunk.js.map", + "react-syntax-highlighter_languages_refractor_asm6502.01905432.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_asm6502.01905432.chunk.js.map", + "react-syntax-highlighter_languages_refractor_asmatmel.71f92ace.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_asmatmel.71f92ace.chunk.js.map", + "react-syntax-highlighter_languages_refractor_aspnet.9c1a038a.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_aspnet.9c1a038a.chunk.js.map", + "react-syntax-highlighter_languages_refractor_autohotkey.80554867.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_autohotkey.80554867.chunk.js.map", + "react-syntax-highlighter_languages_refractor_autoit.d9ad42d4.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_autoit.d9ad42d4.chunk.js.map", + "react-syntax-highlighter_languages_refractor_avisynth.057a071a.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_avisynth.057a071a.chunk.js.map", + "react-syntax-highlighter_languages_refractor_avroIdl.06ceb043.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_avroIdl.06ceb043.chunk.js.map", + "react-syntax-highlighter_languages_refractor_bash.fb56c292.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_bash.fb56c292.chunk.js.map", + "react-syntax-highlighter_languages_refractor_basic.5ae9ff03.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_basic.5ae9ff03.chunk.js.map", + "react-syntax-highlighter_languages_refractor_batch.8c3b94ab.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_batch.8c3b94ab.chunk.js.map", + "react-syntax-highlighter_languages_refractor_bbcode.0ab635aa.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_bbcode.0ab635aa.chunk.js.map", + "react-syntax-highlighter_languages_refractor_bicep.83d1a974.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_bicep.83d1a974.chunk.js.map", + "react-syntax-highlighter_languages_refractor_birb.ed7b17db.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_birb.ed7b17db.chunk.js.map", + "react-syntax-highlighter_languages_refractor_bison.c622bf7c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_bison.c622bf7c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_bnf.fd743a55.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_bnf.fd743a55.chunk.js.map", + "react-syntax-highlighter_languages_refractor_brainfuck.17e06afa.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_brainfuck.17e06afa.chunk.js.map", + "react-syntax-highlighter_languages_refractor_brightscript.c2cd6a99.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_brightscript.c2cd6a99.chunk.js.map", + "react-syntax-highlighter_languages_refractor_bro.f741fcf8.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_bro.f741fcf8.chunk.js.map", + "react-syntax-highlighter_languages_refractor_bsl.310d9794.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_bsl.310d9794.chunk.js.map", + "react-syntax-highlighter_languages_refractor_c.180b3761.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_c.180b3761.chunk.js.map", + "react-syntax-highlighter_languages_refractor_cfscript.71c39ca1.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_cfscript.71c39ca1.chunk.js.map", + "react-syntax-highlighter_languages_refractor_chaiscript.0900aae1.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_chaiscript.0900aae1.chunk.js.map", + "react-syntax-highlighter_languages_refractor_cil.12a50768.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_cil.12a50768.chunk.js.map", + "react-syntax-highlighter_languages_refractor_clike.9b0717fa.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_clike.9b0717fa.chunk.js.map", + "react-syntax-highlighter_languages_refractor_clojure.748a2185.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_clojure.748a2185.chunk.js.map", + "react-syntax-highlighter_languages_refractor_cmake.8c93755c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_cmake.8c93755c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_cobol.e2508fb7.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_cobol.e2508fb7.chunk.js.map", + "react-syntax-highlighter_languages_refractor_coffeescript.504645f6.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_coffeescript.504645f6.chunk.js.map", + "react-syntax-highlighter_languages_refractor_concurnas.604c8dca.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_concurnas.604c8dca.chunk.js.map", + "react-syntax-highlighter_languages_refractor_coq.6de2972e.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_coq.6de2972e.chunk.js.map", + "react-syntax-highlighter_languages_refractor_cpp.41c4b3ae.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_cpp.41c4b3ae.chunk.js.map", + "react-syntax-highlighter_languages_refractor_crystal.e96f1076.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_crystal.e96f1076.chunk.js.map", + "react-syntax-highlighter_languages_refractor_csharp.81fd8096.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_csharp.81fd8096.chunk.js.map", + "react-syntax-highlighter_languages_refractor_cshtml.762d3382.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_cshtml.762d3382.chunk.js.map", + "react-syntax-highlighter_languages_refractor_csp.3c38df3f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_csp.3c38df3f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_cssExtras.e10c790a.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_cssExtras.e10c790a.chunk.js.map", + "react-syntax-highlighter_languages_refractor_css.9caa1272.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_css.9caa1272.chunk.js.map", + "react-syntax-highlighter_languages_refractor_csv.70f930a2.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_csv.70f930a2.chunk.js.map", + "react-syntax-highlighter_languages_refractor_cypher.ec810015.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_cypher.ec810015.chunk.js.map", + "react-syntax-highlighter_languages_refractor_d.77b04ba7.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_d.77b04ba7.chunk.js.map", + "react-syntax-highlighter_languages_refractor_dart.732629ed.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_dart.732629ed.chunk.js.map", + "react-syntax-highlighter_languages_refractor_dataweave.56ee1585.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_dataweave.56ee1585.chunk.js.map", + "react-syntax-highlighter_languages_refractor_dax.8f1fdc8c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_dax.8f1fdc8c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_dhall.0140bc11.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_dhall.0140bc11.chunk.js.map", + "react-syntax-highlighter_languages_refractor_diff.1b850a16.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_diff.1b850a16.chunk.js.map", + "react-syntax-highlighter_languages_refractor_django.011c15bd.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_django.011c15bd.chunk.js.map", + "react-syntax-highlighter_languages_refractor_dnsZoneFile.d5bb93e0.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_dnsZoneFile.d5bb93e0.chunk.js.map", + "react-syntax-highlighter_languages_refractor_docker.62c4e6af.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_docker.62c4e6af.chunk.js.map", + "react-syntax-highlighter_languages_refractor_dot.77b04ca7.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_dot.77b04ca7.chunk.js.map", + "react-syntax-highlighter_languages_refractor_ebnf.f4efc9b8.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_ebnf.f4efc9b8.chunk.js.map", + "react-syntax-highlighter_languages_refractor_editorconfig.7dd68f19.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_editorconfig.7dd68f19.chunk.js.map", + "react-syntax-highlighter_languages_refractor_eiffel.1d74c428.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_eiffel.1d74c428.chunk.js.map", + "react-syntax-highlighter_languages_refractor_ejs.c0b03038.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_ejs.c0b03038.chunk.js.map", + "react-syntax-highlighter_languages_refractor_elixir.6f26dbd4.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_elixir.6f26dbd4.chunk.js.map", + "react-syntax-highlighter_languages_refractor_elm.808f51c0.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_elm.808f51c0.chunk.js.map", + "react-syntax-highlighter_languages_refractor_erb.7d78e287.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_erb.7d78e287.chunk.js.map", + "react-syntax-highlighter_languages_refractor_erlang.3e7290af.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_erlang.3e7290af.chunk.js.map", + "react-syntax-highlighter_languages_refractor_etlua.5736e2e1.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_etlua.5736e2e1.chunk.js.map", + "react-syntax-highlighter_languages_refractor_excelFormula.3ca2aeaf.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_excelFormula.3ca2aeaf.chunk.js.map", + "react-syntax-highlighter_languages_refractor_factor.a7353056.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_factor.a7353056.chunk.js.map", + "react-syntax-highlighter_languages_refractor_falselang.f31a6905.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_falselang.f31a6905.chunk.js.map", + "react-syntax-highlighter_languages_refractor_firestoreSecurityRules.00411c5c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_firestoreSecurityRules.00411c5c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_flow.e92cdaa9.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_flow.e92cdaa9.chunk.js.map", + "react-syntax-highlighter_languages_refractor_fortran.4a3fdcaf.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_fortran.4a3fdcaf.chunk.js.map", + "react-syntax-highlighter_languages_refractor_fsharp.b59b7794.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_fsharp.b59b7794.chunk.js.map", + "react-syntax-highlighter_languages_refractor_ftl.371b9bdc.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_ftl.371b9bdc.chunk.js.map", + "react-syntax-highlighter_languages_refractor_gap.4facb813.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_gap.4facb813.chunk.js.map", + "react-syntax-highlighter_languages_refractor_gcode.e7be8e7d.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_gcode.e7be8e7d.chunk.js.map", + "react-syntax-highlighter_languages_refractor_gdscript.83969196.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_gdscript.83969196.chunk.js.map", + "react-syntax-highlighter_languages_refractor_gedcom.08e2a47b.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_gedcom.08e2a47b.chunk.js.map", + "react-syntax-highlighter_languages_refractor_gherkin.c97a582b.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_gherkin.c97a582b.chunk.js.map", + "react-syntax-highlighter_languages_refractor_git.1857b0c8.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_git.1857b0c8.chunk.js.map", + "react-syntax-highlighter_languages_refractor_glsl.2aefa8e8.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_glsl.2aefa8e8.chunk.js.map", + "react-syntax-highlighter_languages_refractor_gml.1e9ccf69.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_gml.1e9ccf69.chunk.js.map", + "react-syntax-highlighter_languages_refractor_gn.e3ecaf7c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_gn.e3ecaf7c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_goModule.7533a576.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_goModule.7533a576.chunk.js.map", + "react-syntax-highlighter_languages_refractor_go.7aeb2f19.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_go.7aeb2f19.chunk.js.map", + "react-syntax-highlighter_languages_refractor_graphql.121542b3.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_graphql.121542b3.chunk.js.map", + "react-syntax-highlighter_languages_refractor_groovy.0742d766.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_groovy.0742d766.chunk.js.map", + "react-syntax-highlighter_languages_refractor_haml.ebfe76ce.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_haml.ebfe76ce.chunk.js.map", + "react-syntax-highlighter_languages_refractor_handlebars.76cdf25e.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_handlebars.76cdf25e.chunk.js.map", + "react-syntax-highlighter_languages_refractor_haskell.750915ee.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_haskell.750915ee.chunk.js.map", + "react-syntax-highlighter_languages_refractor_haxe.a09b9ce3.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_haxe.a09b9ce3.chunk.js.map", + "react-syntax-highlighter_languages_refractor_hcl.3e80486b.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_hcl.3e80486b.chunk.js.map", + "react-syntax-highlighter_languages_refractor_hlsl.04133862.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_hlsl.04133862.chunk.js.map", + "react-syntax-highlighter_languages_refractor_hoon.85e7a8a1.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_hoon.85e7a8a1.chunk.js.map", + "react-syntax-highlighter_languages_refractor_hpkp.65736982.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_hpkp.65736982.chunk.js.map", + "react-syntax-highlighter_languages_refractor_hsts.0757b025.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_hsts.0757b025.chunk.js.map", + "react-syntax-highlighter_languages_refractor_http.27dc3e9a.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_http.27dc3e9a.chunk.js.map", + "react-syntax-highlighter_languages_refractor_ichigojam.6296ea2c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_ichigojam.6296ea2c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_icon.3bd82356.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_icon.3bd82356.chunk.js.map", + "react-syntax-highlighter_languages_refractor_icuMessageFormat.29ae2f1a.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_icuMessageFormat.29ae2f1a.chunk.js.map", + "react-syntax-highlighter_languages_refractor_idris.ff2648d7.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_idris.ff2648d7.chunk.js.map", + "react-syntax-highlighter_languages_refractor_iecst.9dd4fef9.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_iecst.9dd4fef9.chunk.js.map", + "react-syntax-highlighter_languages_refractor_ignore.e5c1b425.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_ignore.e5c1b425.chunk.js.map", + "react-syntax-highlighter_languages_refractor_inform7.67df3257.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_inform7.67df3257.chunk.js.map", + "react-syntax-highlighter_languages_refractor_ini.615eb91f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_ini.615eb91f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_io.8be39b95.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_io.8be39b95.chunk.js.map", + "react-syntax-highlighter_languages_refractor_j.b56a0f7e.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_j.b56a0f7e.chunk.js.map", + "react-syntax-highlighter_languages_refractor_java.629b168c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_java.629b168c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_javadoc.f307a1e3.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_javadoc.f307a1e3.chunk.js.map", + "react-syntax-highlighter_languages_refractor_javadoclike.58d920e2.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_javadoclike.58d920e2.chunk.js.map", + "react-syntax-highlighter_languages_refractor_javascript.bfa08b56.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_javascript.bfa08b56.chunk.js.map", + "react-syntax-highlighter_languages_refractor_javastacktrace.8063ebbb.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_javastacktrace.8063ebbb.chunk.js.map", + "react-syntax-highlighter_languages_refractor_jexl.d6f81c11.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_jexl.d6f81c11.chunk.js.map", + "react-syntax-highlighter_languages_refractor_jolie.33d325f6.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_jolie.33d325f6.chunk.js.map", + "react-syntax-highlighter_languages_refractor_jq.c8ca9337.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_jq.c8ca9337.chunk.js.map", + "react-syntax-highlighter_languages_refractor_jsExtras.3e569a74.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_jsExtras.3e569a74.chunk.js.map", + "react-syntax-highlighter_languages_refractor_jsTemplates.337ed6b9.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_jsTemplates.337ed6b9.chunk.js.map", + "react-syntax-highlighter_languages_refractor_jsdoc.509d2b7b.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_jsdoc.509d2b7b.chunk.js.map", + "react-syntax-highlighter_languages_refractor_json.b3291471.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_json.b3291471.chunk.js.map", + "react-syntax-highlighter_languages_refractor_json5.966b7b57.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_json5.966b7b57.chunk.js.map", + "react-syntax-highlighter_languages_refractor_jsonp.7c700173.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_jsonp.7c700173.chunk.js.map", + "react-syntax-highlighter_languages_refractor_jsstacktrace.273e6f0e.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_jsstacktrace.273e6f0e.chunk.js.map", + "react-syntax-highlighter_languages_refractor_jsx.c9e61a52.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_jsx.c9e61a52.chunk.js.map", + "react-syntax-highlighter_languages_refractor_julia.dd43afa7.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_julia.dd43afa7.chunk.js.map", + "react-syntax-highlighter_languages_refractor_keepalived.6078d504.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_keepalived.6078d504.chunk.js.map", + "react-syntax-highlighter_languages_refractor_keyman.13cda7ca.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_keyman.13cda7ca.chunk.js.map", + "react-syntax-highlighter_languages_refractor_kotlin.7340ffcd.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_kotlin.7340ffcd.chunk.js.map", + "react-syntax-highlighter_languages_refractor_kumir.6725e490.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_kumir.6725e490.chunk.js.map", + "react-syntax-highlighter_languages_refractor_kusto.36fce17d.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_kusto.36fce17d.chunk.js.map", + "react-syntax-highlighter_languages_refractor_latex.f8fe811d.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_latex.f8fe811d.chunk.js.map", + "react-syntax-highlighter_languages_refractor_latte.28aa51f3.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_latte.28aa51f3.chunk.js.map", + "react-syntax-highlighter_languages_refractor_less.950e435c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_less.950e435c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_lilypond.bc60f08e.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_lilypond.bc60f08e.chunk.js.map", + "react-syntax-highlighter_languages_refractor_liquid.0b35641b.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_liquid.0b35641b.chunk.js.map", + "react-syntax-highlighter_languages_refractor_lisp.6c074c38.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_lisp.6c074c38.chunk.js.map", + "react-syntax-highlighter_languages_refractor_livescript.7852e80c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_livescript.7852e80c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_llvm.4f1a1723.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_llvm.4f1a1723.chunk.js.map", + "react-syntax-highlighter_languages_refractor_log.f3a88dba.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_log.f3a88dba.chunk.js.map", + "react-syntax-highlighter_languages_refractor_lolcode.ee3ffe33.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_lolcode.ee3ffe33.chunk.js.map", + "react-syntax-highlighter_languages_refractor_lua.c9a839e0.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_lua.c9a839e0.chunk.js.map", + "react-syntax-highlighter_languages_refractor_magma.a6c0a984.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_magma.a6c0a984.chunk.js.map", + "react-syntax-highlighter_languages_refractor_makefile.4feb4299.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_makefile.4feb4299.chunk.js.map", + "react-syntax-highlighter_languages_refractor_markdown.d4a7bb75.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_markdown.d4a7bb75.chunk.js.map", + "react-syntax-highlighter_languages_refractor_markupTemplating.60b3d34f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_markupTemplating.60b3d34f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_markup.ea5ffc14.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_markup.ea5ffc14.chunk.js.map", + "react-syntax-highlighter_languages_refractor_matlab.17750e61.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_matlab.17750e61.chunk.js.map", + "react-syntax-highlighter_languages_refractor_maxscript.f585c9d3.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_maxscript.f585c9d3.chunk.js.map", + "react-syntax-highlighter_languages_refractor_mel.a40f6235.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_mel.a40f6235.chunk.js.map", + "react-syntax-highlighter_languages_refractor_mermaid.d9ef2eac.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_mermaid.d9ef2eac.chunk.js.map", + "react-syntax-highlighter_languages_refractor_mizar.40a114c6.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_mizar.40a114c6.chunk.js.map", + "react-syntax-highlighter_languages_refractor_mongodb.3c19fd22.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_mongodb.3c19fd22.chunk.js.map", + "react-syntax-highlighter_languages_refractor_monkey.e47463d8.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_monkey.e47463d8.chunk.js.map", + "react-syntax-highlighter_languages_refractor_moonscript.1f9df26f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_moonscript.1f9df26f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_n1ql.c03ef42a.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_n1ql.c03ef42a.chunk.js.map", + "react-syntax-highlighter_languages_refractor_n4js.69bd5848.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_n4js.69bd5848.chunk.js.map", + "react-syntax-highlighter_languages_refractor_nand2tetrisHdl.30659b39.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_nand2tetrisHdl.30659b39.chunk.js.map", + "react-syntax-highlighter_languages_refractor_naniscript.3933cbe9.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_naniscript.3933cbe9.chunk.js.map", + "react-syntax-highlighter_languages_refractor_nasm.f4517ca6.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_nasm.f4517ca6.chunk.js.map", + "react-syntax-highlighter_languages_refractor_neon.f6d840a9.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_neon.f6d840a9.chunk.js.map", + "react-syntax-highlighter_languages_refractor_nevod.18298b88.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_nevod.18298b88.chunk.js.map", + "react-syntax-highlighter_languages_refractor_nginx.52c38bfb.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_nginx.52c38bfb.chunk.js.map", + "react-syntax-highlighter_languages_refractor_nim.2efeff23.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_nim.2efeff23.chunk.js.map", + "react-syntax-highlighter_languages_refractor_nix.0f8fc50d.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_nix.0f8fc50d.chunk.js.map", + "react-syntax-highlighter_languages_refractor_nsis.558be2e2.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_nsis.558be2e2.chunk.js.map", + "react-syntax-highlighter_languages_refractor_objectivec.ccee4a43.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_objectivec.ccee4a43.chunk.js.map", + "react-syntax-highlighter_languages_refractor_ocaml.ad43c64c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_ocaml.ad43c64c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_opencl.4972d0b6.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_opencl.4972d0b6.chunk.js.map", + "react-syntax-highlighter_languages_refractor_openqasm.552aebff.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_openqasm.552aebff.chunk.js.map", + "react-syntax-highlighter_languages_refractor_oz.8d8d5739.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_oz.8d8d5739.chunk.js.map", + "react-syntax-highlighter_languages_refractor_parigp.ab21d649.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_parigp.ab21d649.chunk.js.map", + "react-syntax-highlighter_languages_refractor_parser.56c081eb.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_parser.56c081eb.chunk.js.map", + "react-syntax-highlighter_languages_refractor_pascal.17a22e70.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_pascal.17a22e70.chunk.js.map", + "react-syntax-highlighter_languages_refractor_pascaligo.80c8a805.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_pascaligo.80c8a805.chunk.js.map", + "react-syntax-highlighter_languages_refractor_pcaxis.568c2b52.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_pcaxis.568c2b52.chunk.js.map", + "react-syntax-highlighter_languages_refractor_peoplecode.2162e633.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_peoplecode.2162e633.chunk.js.map", + "react-syntax-highlighter_languages_refractor_perl.4704034f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_perl.4704034f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_phpExtras.5cf936a4.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_phpExtras.5cf936a4.chunk.js.map", + "react-syntax-highlighter_languages_refractor_php.f08fdf94.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_php.f08fdf94.chunk.js.map", + "react-syntax-highlighter_languages_refractor_phpdoc.964269fc.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_phpdoc.964269fc.chunk.js.map", + "react-syntax-highlighter_languages_refractor_plsql.5525d45a.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_plsql.5525d45a.chunk.js.map", + "react-syntax-highlighter_languages_refractor_powerquery.1d37cf49.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_powerquery.1d37cf49.chunk.js.map", + "react-syntax-highlighter_languages_refractor_powershell.a0c1c2e5.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_powershell.a0c1c2e5.chunk.js.map", + "react-syntax-highlighter_languages_refractor_processing.4c77ce32.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_processing.4c77ce32.chunk.js.map", + "react-syntax-highlighter_languages_refractor_prolog.6101e1bb.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_prolog.6101e1bb.chunk.js.map", + "react-syntax-highlighter_languages_refractor_promql.3bb9f69f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_promql.3bb9f69f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_properties.c378ae31.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_properties.c378ae31.chunk.js.map", + "react-syntax-highlighter_languages_refractor_protobuf.8ef3fad2.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_protobuf.8ef3fad2.chunk.js.map", + "react-syntax-highlighter_languages_refractor_psl.073c3901.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_psl.073c3901.chunk.js.map", + "react-syntax-highlighter_languages_refractor_pug.3934a364.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_pug.3934a364.chunk.js.map", + "react-syntax-highlighter_languages_refractor_puppet.84a985d5.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_puppet.84a985d5.chunk.js.map", + "react-syntax-highlighter_languages_refractor_pure.0d8bde8f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_pure.0d8bde8f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_purebasic.7efb18cf.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_purebasic.7efb18cf.chunk.js.map", + "react-syntax-highlighter_languages_refractor_purescript.f8c0ceef.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_purescript.f8c0ceef.chunk.js.map", + "react-syntax-highlighter_languages_refractor_python.300484ca.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_python.300484ca.chunk.js.map", + "react-syntax-highlighter_languages_refractor_q.3891bce5.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_q.3891bce5.chunk.js.map", + "react-syntax-highlighter_languages_refractor_qml.63bbf9b6.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_qml.63bbf9b6.chunk.js.map", + "react-syntax-highlighter_languages_refractor_qore.a2cd2a22.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_qore.a2cd2a22.chunk.js.map", + "react-syntax-highlighter_languages_refractor_qsharp.9b68fda7.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_qsharp.9b68fda7.chunk.js.map", + "react-syntax-highlighter_languages_refractor_r.cafe9d69.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_r.cafe9d69.chunk.js.map", + "react-syntax-highlighter_languages_refractor_racket.71866e01.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_racket.71866e01.chunk.js.map", + "react-syntax-highlighter_languages_refractor_reason.b886cdca.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_reason.b886cdca.chunk.js.map", + "react-syntax-highlighter_languages_refractor_regex.43bcf14a.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_regex.43bcf14a.chunk.js.map", + "react-syntax-highlighter_languages_refractor_rego.e733a2c9.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_rego.e733a2c9.chunk.js.map", + "react-syntax-highlighter_languages_refractor_renpy.eac48954.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_renpy.eac48954.chunk.js.map", + "react-syntax-highlighter_languages_refractor_rest.21f370fb.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_rest.21f370fb.chunk.js.map", + "react-syntax-highlighter_languages_refractor_rip.ede10bd8.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_rip.ede10bd8.chunk.js.map", + "react-syntax-highlighter_languages_refractor_roboconf.59d9b2ce.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_roboconf.59d9b2ce.chunk.js.map", + "react-syntax-highlighter_languages_refractor_robotframework.d2e922c5.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_robotframework.d2e922c5.chunk.js.map", + "react-syntax-highlighter_languages_refractor_ruby.d90b4d94.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_ruby.d90b4d94.chunk.js.map", + "react-syntax-highlighter_languages_refractor_rust.56d87ec0.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_rust.56d87ec0.chunk.js.map", + "react-syntax-highlighter_languages_refractor_sas.c5ab9ebc.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_sas.c5ab9ebc.chunk.js.map", + "react-syntax-highlighter_languages_refractor_sass.5746157b.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_sass.5746157b.chunk.js.map", + "react-syntax-highlighter_languages_refractor_scala.922376c3.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_scala.922376c3.chunk.js.map", + "react-syntax-highlighter_languages_refractor_scheme.4d1c1864.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_scheme.4d1c1864.chunk.js.map", + "react-syntax-highlighter_languages_refractor_scss.cb58d436.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_scss.cb58d436.chunk.js.map", + "react-syntax-highlighter_languages_refractor_shellSession.5e5d30e8.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_shellSession.5e5d30e8.chunk.js.map", + "react-syntax-highlighter_languages_refractor_smali.a3187262.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_smali.a3187262.chunk.js.map", + "react-syntax-highlighter_languages_refractor_smalltalk.019fa1df.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_smalltalk.019fa1df.chunk.js.map", + "react-syntax-highlighter_languages_refractor_smarty.447ba6f2.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_smarty.447ba6f2.chunk.js.map", + "react-syntax-highlighter_languages_refractor_sml.91abf541.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_sml.91abf541.chunk.js.map", + "react-syntax-highlighter_languages_refractor_solidity.5729eebc.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_solidity.5729eebc.chunk.js.map", + "react-syntax-highlighter_languages_refractor_solutionFile.c235782f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_solutionFile.c235782f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_soy.4db88394.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_soy.4db88394.chunk.js.map", + "react-syntax-highlighter_languages_refractor_sparql.588c77be.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_sparql.588c77be.chunk.js.map", + "react-syntax-highlighter_languages_refractor_splunkSpl.0b034c15.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_splunkSpl.0b034c15.chunk.js.map", + "react-syntax-highlighter_languages_refractor_sqf.10f00779.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_sqf.10f00779.chunk.js.map", + "react-syntax-highlighter_languages_refractor_sql.783cae6c.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_sql.783cae6c.chunk.js.map", + "react-syntax-highlighter_languages_refractor_squirrel.0cbb6a9e.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_squirrel.0cbb6a9e.chunk.js.map", + "react-syntax-highlighter_languages_refractor_stan.d4dcf047.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_stan.d4dcf047.chunk.js.map", + "react-syntax-highlighter_languages_refractor_stylus.46acc837.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_stylus.46acc837.chunk.js.map", + "react-syntax-highlighter_languages_refractor_swift.748a94f7.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_swift.748a94f7.chunk.js.map", + "react-syntax-highlighter_languages_refractor_systemd.34f6f49b.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_systemd.34f6f49b.chunk.js.map", + "react-syntax-highlighter_languages_refractor_t4Cs.a4b7cd94.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_t4Cs.a4b7cd94.chunk.js.map", + "react-syntax-highlighter_languages_refractor_t4Templating.fa793182.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_t4Templating.fa793182.chunk.js.map", + "react-syntax-highlighter_languages_refractor_t4Vb.af19c35b.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_t4Vb.af19c35b.chunk.js.map", + "react-syntax-highlighter_languages_refractor_tap.c8cc9cea.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_tap.c8cc9cea.chunk.js.map", + "react-syntax-highlighter_languages_refractor_tcl.22af4bde.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_tcl.22af4bde.chunk.js.map", + "react-syntax-highlighter_languages_refractor_textile.4908a558.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_textile.4908a558.chunk.js.map", + "react-syntax-highlighter_languages_refractor_toml.6b160991.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_toml.6b160991.chunk.js.map", + "react-syntax-highlighter_languages_refractor_tremor.a8489e82.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_tremor.a8489e82.chunk.js.map", + "react-syntax-highlighter_languages_refractor_tsx.8f95f373.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_tsx.8f95f373.chunk.js.map", + "react-syntax-highlighter_languages_refractor_tt2.f52a022f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_tt2.f52a022f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_turtle.f51d87a2.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_turtle.f51d87a2.chunk.js.map", + "react-syntax-highlighter_languages_refractor_twig.ab63a910.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_twig.ab63a910.chunk.js.map", + "react-syntax-highlighter_languages_refractor_typescript.1266c4c5.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_typescript.1266c4c5.chunk.js.map", + "react-syntax-highlighter_languages_refractor_typoscript.f4a06957.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_typoscript.f4a06957.chunk.js.map", + "react-syntax-highlighter_languages_refractor_unrealscript.fc50b9ef.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_unrealscript.fc50b9ef.chunk.js.map", + "react-syntax-highlighter_languages_refractor_uorazor.c058579f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_uorazor.c058579f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_uri.3fdd24b9.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_uri.3fdd24b9.chunk.js.map", + "react-syntax-highlighter_languages_refractor_v.7527e350.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_v.7527e350.chunk.js.map", + "react-syntax-highlighter_languages_refractor_vala.5059d92a.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_vala.5059d92a.chunk.js.map", + "react-syntax-highlighter_languages_refractor_vbnet.4ddf4a57.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_vbnet.4ddf4a57.chunk.js.map", + "react-syntax-highlighter_languages_refractor_velocity.3b194e8e.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_velocity.3b194e8e.chunk.js.map", + "react-syntax-highlighter_languages_refractor_verilog.5570eae7.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_verilog.5570eae7.chunk.js.map", + "react-syntax-highlighter_languages_refractor_vhdl.650f53ca.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_vhdl.650f53ca.chunk.js.map", + "react-syntax-highlighter_languages_refractor_vim.ce5c0984.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_vim.ce5c0984.chunk.js.map", + "react-syntax-highlighter_languages_refractor_visualBasic.d7e6b4c8.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_visualBasic.d7e6b4c8.chunk.js.map", + "react-syntax-highlighter_languages_refractor_warpscript.6dfd7793.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_warpscript.6dfd7793.chunk.js.map", + "react-syntax-highlighter_languages_refractor_wasm.3e74896a.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_wasm.3e74896a.chunk.js.map", + "react-syntax-highlighter_languages_refractor_webIdl.bd0eff04.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_webIdl.bd0eff04.chunk.js.map", + "react-syntax-highlighter_languages_refractor_wiki.71fadcda.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_wiki.71fadcda.chunk.js.map", + "react-syntax-highlighter_languages_refractor_wolfram.ab8f3d5d.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_wolfram.ab8f3d5d.chunk.js.map", + "react-syntax-highlighter_languages_refractor_wren.dbe7a997.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_wren.dbe7a997.chunk.js.map", + "react-syntax-highlighter_languages_refractor_xeora.3428dfdd.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_xeora.3428dfdd.chunk.js.map", + "react-syntax-highlighter_languages_refractor_xmlDoc.4e743d09.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_xmlDoc.4e743d09.chunk.js.map", + "react-syntax-highlighter_languages_refractor_xojo.2b558d9f.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_xojo.2b558d9f.chunk.js.map", + "react-syntax-highlighter_languages_refractor_xquery.7a4d72ab.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_xquery.7a4d72ab.chunk.js.map", + "react-syntax-highlighter_languages_refractor_yaml.3335797b.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_yaml.3335797b.chunk.js.map", + "react-syntax-highlighter_languages_refractor_yang.b91647a5.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_yang.b91647a5.chunk.js.map", + "react-syntax-highlighter_languages_refractor_zig.dd01a6dc.chunk.js.map": "/static/js/react-syntax-highlighter_languages_refractor_zig.dd01a6dc.chunk.js.map", + "6926.dcb537c7.chunk.js.map": "/static/js/6926.dcb537c7.chunk.js.map", + "6197.24105f49.chunk.js.map": "/static/js/6197.24105f49.chunk.js.map", + "8599.0a78eeaf.chunk.js.map": "/static/js/8599.0a78eeaf.chunk.js.map", + "8221.efd23e8d.chunk.js.map": "/static/js/8221.efd23e8d.chunk.js.map", + "5801.fe054870.chunk.js.map": "/static/js/5801.fe054870.chunk.js.map", + "787.5d8effc5.chunk.js.map": "/static/js/787.5d8effc5.chunk.js.map" + }, + "entrypoints": [ + "static/css/main.3b963d24.css", + "static/js/main.f9b02af7.js" + ] +} \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 000000000..6c848a89a Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 000000000..7f6d716f4 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +Chitchatter
\ No newline at end of file diff --git a/logo/favicon.svg b/logo/favicon.svg new file mode 100644 index 000000000..acbb85a49 --- /dev/null +++ b/logo/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/logo/logo.svg b/logo/logo.svg new file mode 100644 index 000000000..595e2cf60 --- /dev/null +++ b/logo/logo.svg @@ -0,0 +1,266 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/logo192.png b/logo192.png new file mode 100644 index 000000000..cc9806bdd Binary files /dev/null and b/logo192.png differ diff --git a/logo512.png b/logo512.png new file mode 100644 index 000000000..d0dbc8663 Binary files /dev/null and b/logo512.png differ diff --git a/manifest.json b/manifest.json new file mode 100644 index 000000000..e33eb1190 --- /dev/null +++ b/manifest.json @@ -0,0 +1,88 @@ +{ + "short_name": "Chitchatter", + "name": "Chitchatter", + "description": "This is a communication tool that is free, open source, and designed for simplicity and security. All communication between you and your online peers is encrypted. There is no trace of your conversation once you leave.", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": "./", + "display": "fullscreen", + "theme_color": "#000000", + "background_color": "#222222", + "screenshots": [ + { + "src": "screenshots/home-desktop.png", + "sizes": "2160x1620", + "type": "image/png" + }, + { + "src": "screenshots/public-room-desktop.png", + "sizes": "2160x1620", + "type": "image/png" + }, + { + "src": "screenshots/public-room-desktop-with-video.png", + "sizes": "2160x1620", + "type": "image/png" + }, + { + "src": "screenshots/home-mobile-dark.png", + "sizes": "750x1334", + "type": "image/png", + "form_factor": "narrow" + }, + { + "src": "screenshots/home-mobile-light.png", + "sizes": "750x1334", + "type": "image/png", + "form_factor": "narrow" + }, + { + "src": "screenshots/public-room-mobile.png", + "sizes": "750x1334", + "type": "image/png", + "form_factor": "narrow" + } + ], + + "shortcuts": [ + { + "name": "About", + "url": "./about", + "icons": [ + { + "src": "logo512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" + } + ] + }, + { + "name": "Disclaimer", + "url": "./disclaimer", + "icons": [ + { + "src": "logo512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" + } + ] + } + ] +} diff --git a/robots.txt b/robots.txt new file mode 100644 index 000000000..e9e57dc4d --- /dev/null +++ b/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/screenshots/home-desktop.png b/screenshots/home-desktop.png new file mode 100644 index 000000000..d21f21f27 Binary files /dev/null and b/screenshots/home-desktop.png differ diff --git a/screenshots/home-mobile-dark.png b/screenshots/home-mobile-dark.png new file mode 100644 index 000000000..54ecf5f16 Binary files /dev/null and b/screenshots/home-mobile-dark.png differ diff --git a/screenshots/home-mobile-light.png b/screenshots/home-mobile-light.png new file mode 100644 index 000000000..fae95ee06 Binary files /dev/null and b/screenshots/home-mobile-light.png differ diff --git a/screenshots/public-room-desktop-with-video.png b/screenshots/public-room-desktop-with-video.png new file mode 100644 index 000000000..661c8e0f2 Binary files /dev/null and b/screenshots/public-room-desktop-with-video.png differ diff --git a/screenshots/public-room-desktop.png b/screenshots/public-room-desktop.png new file mode 100644 index 000000000..f6365a406 Binary files /dev/null and b/screenshots/public-room-desktop.png differ diff --git a/screenshots/public-room-mobile.png b/screenshots/public-room-mobile.png new file mode 100644 index 000000000..7550f4ff7 Binary files /dev/null and b/screenshots/public-room-mobile.png differ diff --git a/service-worker.js b/service-worker.js new file mode 100644 index 000000000..f6757aa31 --- /dev/null +++ b/service-worker.js @@ -0,0 +1,3 @@ +/*! For license information please see service-worker.js.LICENSE.txt */ +!function(){"use strict";var e={923:function(){try{self["workbox:core:6.5.3"]&&_()}catch(e){}},190:function(){try{self["workbox:expiration:6.5.3"]&&_()}catch(e){}},437:function(){try{self["workbox:precaching:6.5.3"]&&_()}catch(e){}},185:function(){try{self["workbox:routing:6.5.3"]&&_()}catch(e){}},833:function(){try{self["workbox:strategies:6.5.3"]&&_()}catch(e){}}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}!function(){r(923);var e=null;function t(e,t){for(var r=0;r1?r-1:0),a=1;a0&&(t+=" :: ".concat(JSON.stringify(n))),t},d=function(e){s(r,e);var t=f(r);function r(e,n){var i;a(this,r);var s=v(e,n);return(i=t.call(this,s)).name=e,i.details=n,i}return n(r)}(p(Error)),y=new Set;var b,g={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},m=function(e){return[g.prefix,e,g.suffix].filter((function(e){return e&&e.length>0})).join("-")},x=function(e){return e||m(g.precache)},w=function(e){return e||m(g.runtime)};function k(){k=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(O){c=function(e,t,r){return e[t]=r}}function o(e,t,r,n){var a=t&&t.prototype instanceof l?t:l,i=Object.create(a.prototype),s=new E(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(a,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw i;return C()}for(r.method=a,r.arg=i;;){var s=r.delegate;if(s){var c=w(s,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var o=h(e,t,r);if("normal"===o.type){if(n=r.done?"completed":"suspendedYield",o.arg===f)continue;return{value:o.arg,done:r.done}}"throw"===o.type&&(n="completed",r.method="throw",r.arg=o.arg)}}}(e,r,s),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(O){return{type:"throw",arg:O}}}e.wrap=o;var f={};function l(){}function p(){}function v(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(L([])));b&&b!==t&&r.call(b,a)&&(d=b);var g=v.prototype=l.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,i,s,c){var o=h(e[a],e,i);if("throw"!==o.type){var f=o.arg,l=f.value;return l&&"object"==u(l)&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(l).then((function(e){f.value=e,s(f)}),(function(e){return n("throw",e,s,c)}))}c(o.arg)}var a;this._invoke=function(e,r){function i(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(i,i):i()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=h(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var a=n.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function L(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),o=r.call(i,"finallyLoc");if(c&&o){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),R(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;R(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:L(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function _(e,t,r,n,a,i,s){try{var c=e[i](s),o=c.value}catch(u){return void r(u)}c.done?t(o):Promise.resolve(o).then(n,a)}function R(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function s(e){_(i,n,a,s,c,"next",e)}function c(e){_(i,n,a,s,c,"throw",e)}s(void 0)}))}}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw i}}}}function O(e,t){var r,n=new URL(e),a=C(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;n.searchParams.delete(i)}}catch(s){a.e(s)}finally{a.f()}return n.href}function T(e,t,r,n){return S.apply(this,arguments)}function S(){return(S=R(k().mark((function e(t,r,n,a){var i,s,c,o,u,h,f;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=O(r.url,n),r.url!==i){e.next=3;break}return e.abrupt("return",t.match(r,a));case 3:return s=Object.assign(Object.assign({},a),{ignoreSearch:!0}),e.next=6,t.keys(r,s);case 6:c=e.sent,o=C(c),e.prev=8,o.s();case 10:if((u=o.n()).done){e.next=17;break}if(h=u.value,f=O(h.url,n),i!==f){e.next=15;break}return e.abrupt("return",t.match(h,a));case 15:e.next=10;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(8),o.e(e.t0);case 22:return e.prev=22,o.f(),e.finish(22);case 25:return e.abrupt("return");case 26:case"end":return e.stop()}}),e,null,[[8,19,22,25]])})))).apply(this,arguments)}function D(){if(void 0===b){var e=new Response("");if("body"in e)try{new Response(e.body),b=!0}catch(t){b=!1}b=!1}return b}function P(e){e.then((function(){}))}var q=n((function e(){var t=this;a(this,e),this.promise=new Promise((function(e,r){t.resolve=e,t.reject=r}))}));function j(){return U.apply(this,arguments)}function U(){return(U=R(k().mark((function e(){var t,r,n;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:0,t=C(y),e.prev=2,t.s();case 4:if((r=t.n()).done){e.next=11;break}return n=r.value,e.next=8,n();case 8:0;case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),t.e(e.t0);case 16:return e.prev=16,t.f(),e.finish(16);case 19:0;case 20:case"end":return e.stop()}}),e,null,[[2,13,16,19]])})))).apply(this,arguments)}var N=function(e){return new URL(String(e),location.href).href.replace(new RegExp("^".concat(location.origin)),"")};function I(e){return new Promise((function(t){return setTimeout(t,e)}))}function A(e,t){var r=t();return e.waitUntil(r),r}function K(e,t){return M.apply(this,arguments)}function M(){return(M=R(k().mark((function e(t,r){var n,a,i,s,c,o;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null,t.url&&(a=new URL(t.url),n=a.origin),n===self.location.origin){e.next=4;break}throw new d("cross-origin-copy-response",{origin:n});case 4:if(i=t.clone(),s={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},c=r?r(s):s,!D()){e.next=11;break}e.t0=i.body,e.next=14;break;case 11:return e.next=13,i.blob();case 13:e.t0=e.sent;case 14:return o=e.t0,e.abrupt("return",new Response(o,c));case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function F(e){for(var t=1;t1?r-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:{},n=r.blocked,a=r.upgrade,i=r.blocking,s=r.terminated,c=indexedDB.open(e,t),o=te(c);return a&&c.addEventListener("upgradeneeded",(function(e){a(te(c.result),e.oldVersion,e.newVersion,te(c.transaction))})),n&&c.addEventListener("blocked",(function(){return n()})),o.then((function(e){s&&e.addEventListener("close",(function(){return s()})),i&&e.addEventListener("versionchange",(function(){return i()}))})).catch((function(){})),o}var ae=["get","getKey","getAll","getAllKeys","count"],ie=["put","add","delete","clear"],se=new Map;function ce(e,t){if(e instanceof IDBDatabase&&!(t in e)&&"string"===typeof t){if(se.get(t))return se.get(t);var r=t.replace(/FromIndex$/,""),n=t!==r,a=ie.includes(r);if(r in(n?IDBIndex:IDBObjectStore).prototype&&(a||ae.includes(r))){var i=function(){var e=R(k().mark((function e(t){var i,s,c,o,u,h,f=arguments;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(s=this.transaction(t,a?"readwrite":"readonly"),c=s.store,o=f.length,u=new Array(o>1?o-1:0),h=1;h1&&void 0!==arguments[1]?arguments[1]:{}).blocked,r=indexedDB.deleteDatabase(e);t&&r.addEventListener("blocked",(function(){return t()})),te(r).then((function(){}))}(this._cacheName)}},{key:"setTimestamp",value:function(){var e=R(k().mark((function e(t,r){var n,a,i;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=ue(t),n={url:t,timestamp:r,cacheName:this._cacheName,id:this._getId(t)},e.next=4,this.getDb();case 4:return a=e.sent,i=a.transaction(oe,"readwrite",{durability:"relaxed"}),e.next=8,i.store.put(n);case 8:return e.next=10,i.done;case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getTimestamp",value:function(){var e=R(k().mark((function e(t){var r,n;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDb();case 2:return r=e.sent,e.next=5,r.get(oe,this._getId(t));case 5:return n=e.sent,e.abrupt("return",null===n||void 0===n?void 0:n.timestamp);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"expireEntries",value:function(){var e=R(k().mark((function e(t,r){var n,a,i,s,c,o,u,h,f;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDb();case 2:return n=e.sent,e.next=5,n.transaction(oe).store.index("timestamp").openCursor(null,"prev");case 5:a=e.sent,i=[],s=0;case 8:if(!a){e.next=16;break}return(c=a.value).cacheName===this._cacheName&&(t&&c.timestamp=r?i.push(a.value):s++),e.next=13,a.continue();case 13:a=e.sent,e.next=8;break;case 16:o=[],u=0,h=i;case 18:if(!(u1&&void 0!==arguments[1]?arguments[1]:{};a(this,e),this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=r.maxEntries,this._maxAgeSeconds=r.maxAgeSeconds,this._matchOptions=r.matchOptions,this._cacheName=t,this._timestampModel=new he(t)}return n(e,[{key:"expireEntries",value:function(){var e=R(k().mark((function e(){var t,r,n,a,i,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._isRunning){e.next=3;break}return this._rerunRequested=!0,e.abrupt("return");case 3:return this._isRunning=!0,t=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,e.next=7,this._timestampModel.expireEntries(t,this._maxEntries);case 7:return r=e.sent,e.next=10,self.caches.open(this._cacheName);case 10:n=e.sent,a=C(r),e.prev=12,a.s();case 14:if((i=a.n()).done){e.next=20;break}return s=i.value,e.next=18,n.delete(s,this._matchOptions);case 18:e.next=14;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(12),a.e(e.t0);case 25:return e.prev=25,a.f(),e.finish(25);case 28:0,this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,P(this.expireEntries()));case 31:case"end":return e.stop()}}),e,this,[[12,22,25,28]])})));return function(){return e.apply(this,arguments)}}()},{key:"updateTimestamp",value:function(){var e=R(k().mark((function e(t){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._timestampModel.setTimestamp(t,Date.now());case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"isURLExpired",value:function(){var e=R(k().mark((function e(t){var r,n;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._maxAgeSeconds){e.next=6;break}e.next=3;break;case 3:return e.abrupt("return",!1);case 6:return e.next=8,this._timestampModel.getTimestamp(t);case 8:return r=e.sent,n=Date.now()-1e3*this._maxAgeSeconds,e.abrupt("return",void 0===r||r0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),this.cachedResponseWillBeUsed=function(){var e=R(k().mark((function e(r){var n,a,i,s,c,o,u;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.event,a=r.request,i=r.cacheName,s=r.cachedResponse){e.next=3;break}return e.abrupt("return",null);case 3:if(c=t._isResponseDateFresh(s),P((o=t._getCacheExpiration(i)).expireEntries()),u=o.updateTimestamp(a.url),n)try{n.waitUntil(u)}catch(h){0}return e.abrupt("return",c?s:null);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cacheDidUpdate=function(){var e=R(k().mark((function e(r){var n,a,i;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.cacheName,a=r.request,i=t._getCacheExpiration(n),e.next=5,i.updateTimestamp(a.url);case 5:return e.next=7,i.expireEntries();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this._config=r,this._maxAgeSeconds=r.maxAgeSeconds,this._cacheExpirations=new Map,r.purgeOnQuotaError&&function(e){y.add(e)}((function(){return t.deleteCacheAndMetadata()}))}return n(e,[{key:"_getCacheExpiration",value:function(e){if(e===w())throw new d("expire-custom-caches-only");var t=this._cacheExpirations.get(e);return t||(t=new fe(e,this._config),this._cacheExpirations.set(e,t)),t}},{key:"_isResponseDateFresh",value:function(e){if(!this._maxAgeSeconds)return!0;var t=this._getDateHeaderTimestamp(e);return null===t||t>=Date.now()-1e3*this._maxAgeSeconds}},{key:"_getDateHeaderTimestamp",value:function(e){if(!e.headers.has("date"))return null;var t=e.headers.get("date"),r=new Date(t).getTime();return isNaN(r)?null:r}},{key:"deleteCacheAndMetadata",value:function(){var e=R(k().mark((function e(){var t,r,n,a,i;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=C(this._cacheExpirations),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=11;break}return n=le(r.value,2),a=n[0],i=n[1],e.next=7,self.caches.delete(a);case 7:return e.next=9,i.delete();case 9:e.next=3;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),t.e(e.t0);case 16:return e.prev=16,t.f(),e.finish(16);case 19:this._cacheExpirations=new Map;case 20:case"end":return e.stop()}}),e,this,[[1,13,16,19]])})));return function(){return e.apply(this,arguments)}}()}]),e}();function ve(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||L(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r(437);function de(e){if(!e)throw new d("add-to-cache-list-unexpected-type",{entry:e});if("string"===typeof e)return{cacheKey:(t=new URL(e,location.href)).href,url:t.href};var t,r=e.revision,n=e.url;if(!n)throw new d("add-to-cache-list-unexpected-type",{entry:e});if(!r)return{cacheKey:(t=new URL(n,location.href)).href,url:t.href};var a=new URL(n,location.href),i=new URL(n,location.href);return a.searchParams.set("__WB_REVISION__",r),{cacheKey:a.href,url:i.href}}var ye=n((function e(){var t=this;a(this,e),this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=function(){var e=R(k().mark((function e(t){var r,n;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.request,(n=t.state)&&(n.originalRequest=r);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cachedResponseWillBeUsed=function(){var e=R(k().mark((function e(r){var n,a,i,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.event,a=r.state,i=r.cachedResponse,"install"===n.type&&a&&a.originalRequest&&a.originalRequest instanceof Request&&(s=a.originalRequest.url,i?t.notUpdatedURLs.push(s):t.updatedURLs.push(s)),e.abrupt("return",i);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})),be=n((function e(t){var r=this,n=t.precacheController;a(this,e),this.cacheKeyWillBeUsed=function(){var e=R(k().mark((function e(t){var n,a,i;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.request,a=t.params,i=(null===a||void 0===a?void 0:a.cacheKey)||r._precacheController.getCacheKeyForURL(n.url),e.abrupt("return",i?new Request(i,{headers:n.headers}):n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this._precacheController=n}));r(833);function ge(e){return"string"===typeof e?new Request(e):e}var me=function(){function t(e,r){a(this,t),this._cacheKeys={},Object.assign(this,r),this.event=r.event,this._strategy=e,this._handlerDeferred=new q,this._extendLifetimePromises=[],this._plugins=ve(e.plugins),this._pluginStateMap=new Map;var n,i=C(this._plugins);try{for(i.s();!(n=i.n()).done;){var s=n.value;this._pluginStateMap.set(s,{})}}catch(c){i.e(c)}finally{i.f()}this.event.waitUntil(this._handlerDeferred.promise)}return n(t,[{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=R(k().mark((function e(t){var r,n,a,i,s,c,o,u,h,f,l,p;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.event,!("navigate"===(n=ge(t)).mode&&r instanceof FetchEvent&&r.preloadResponse)){e.next=9;break}return e.next=5,r.preloadResponse;case 5:if(!(a=e.sent)){e.next=9;break}return e.abrupt("return",a);case 9:i=this.hasCallback("fetchDidFail")?n.clone():null,e.prev=10,s=C(this.iterateCallbacks("requestWillFetch")),e.prev=12,s.s();case 14:if((c=s.n()).done){e.next=21;break}return o=c.value,e.next=18,o({request:n.clone(),event:r});case 18:n=e.sent;case 19:e.next=14;break;case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(12),s.e(e.t0);case 26:return e.prev=26,s.f(),e.finish(26);case 29:e.next=35;break;case 31:if(e.prev=31,e.t1=e.catch(10),!(e.t1 instanceof Error)){e.next=35;break}throw new d("plugin-error-request-will-fetch",{thrownErrorMessage:e.t1.message});case 35:return u=n.clone(),e.prev=36,e.next=39,fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);case 39:h=e.sent,f=C(this.iterateCallbacks("fetchDidSucceed")),e.prev=42,f.s();case 44:if((l=f.n()).done){e.next=51;break}return p=l.value,e.next=48,p({event:r,request:u,response:h});case 48:h=e.sent;case 49:e.next=44;break;case 51:e.next=56;break;case 53:e.prev=53,e.t2=e.catch(42),f.e(e.t2);case 56:return e.prev=56,f.f(),e.finish(56);case 59:return e.abrupt("return",h);case 62:if(e.prev=62,e.t3=e.catch(36),!i){e.next=68;break}return e.next=68,this.runCallbacks("fetchDidFail",{error:e.t3,event:r,originalRequest:i.clone(),request:u.clone()});case 68:throw e.t3;case 69:case"end":return e.stop()}}),e,this,[[10,31],[12,23,26,29],[36,62],[42,53,56,59]])})));return function(t){return e.apply(this,arguments)}}())},{key:"fetchAndCachePut",value:function(){var e=R(k().mark((function e(t){var r,n;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetch(t);case 2:return r=e.sent,n=r.clone(),this.waitUntil(this.cachePut(t,n)),e.abrupt("return",r);case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"cacheMatch",value:function(){var e=R(k().mark((function e(t){var r,n,a,i,s,c,o,u,h,f;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=ge(t),a=this._strategy,i=a.cacheName,s=a.matchOptions,e.next=4,this.getCacheKey(r,"read");case 4:return c=e.sent,o=Object.assign(Object.assign({},s),{cacheName:i}),e.next=8,caches.match(c,o);case 8:n=e.sent,u=C(this.iterateCallbacks("cachedResponseWillBeUsed")),e.prev=11,u.s();case 13:if((h=u.n()).done){e.next=23;break}return f=h.value,e.next=17,f({cacheName:i,matchOptions:s,cachedResponse:n,request:c,event:this.event});case 17:if(e.t0=e.sent,e.t0){e.next=20;break}e.t0=void 0;case 20:n=e.t0;case 21:e.next=13;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(11),u.e(e.t1);case 28:return e.prev=28,u.f(),e.finish(28);case 31:return e.abrupt("return",n);case 32:case"end":return e.stop()}}),e,this,[[11,25,28,31]])})));return function(t){return e.apply(this,arguments)}}()},{key:"cachePut",value:function(){var t=R(k().mark((function t(r,n){var a,i,s,c,o,u,h,f,l,p,v,y,b;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=ge(r),t.next=3,I(0);case 3:return t.next=5,this.getCacheKey(a,"write");case 5:i=t.sent,t.next=11;break;case 9:(s=n.headers.get("Vary"))&&e.debug("The response for ".concat(N(i.url)," ")+"has a 'Vary: ".concat(s,"' header. ")+"Consider setting the {ignoreVary: true} option on your strategy to ensure cache matching and deletion works as expected.");case 11:if(n){t.next=14;break}throw new d("cache-put-with-no-response",{url:N(i.url)});case 14:return t.next=16,this._ensureResponseSafeToCache(n);case 16:if(c=t.sent){t.next=20;break}return t.abrupt("return",!1);case 20:return o=this._strategy,u=o.cacheName,h=o.matchOptions,t.next=23,self.caches.open(u);case 23:if(f=t.sent,!(l=this.hasCallback("cacheDidUpdate"))){t.next=31;break}return t.next=28,T(f,i.clone(),["__WB_REVISION__"],h);case 28:t.t0=t.sent,t.next=32;break;case 31:t.t0=null;case 32:return p=t.t0,t.prev=34,t.next=37,f.put(i,l?c.clone():c);case 37:t.next=46;break;case 39:if(t.prev=39,t.t1=t.catch(34),!(t.t1 instanceof Error)){t.next=46;break}if("QuotaExceededError"!==t.t1.name){t.next=45;break}return t.next=45,j();case 45:throw t.t1;case 46:v=C(this.iterateCallbacks("cacheDidUpdate")),t.prev=47,v.s();case 49:if((y=v.n()).done){t.next=55;break}return b=y.value,t.next=53,b({cacheName:u,oldResponse:p,newResponse:c.clone(),request:i,event:this.event});case 53:t.next=49;break;case 55:t.next=60;break;case 57:t.prev=57,t.t2=t.catch(47),v.e(t.t2);case 60:return t.prev=60,v.f(),t.finish(60);case 63:return t.abrupt("return",!0);case 64:case"end":return t.stop()}}),t,this,[[34,39],[47,57,60,63]])})));return function(e,r){return t.apply(this,arguments)}}()},{key:"getCacheKey",value:function(){var e=R(k().mark((function e(t,r){var n,a,i,s,c;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n="".concat(t.url," | ").concat(r),this._cacheKeys[n]){e.next=24;break}a=t,i=C(this.iterateCallbacks("cacheKeyWillBeUsed")),e.prev=4,i.s();case 6:if((s=i.n()).done){e.next=15;break}return c=s.value,e.t0=ge,e.next=11,c({mode:r,request:a,event:this.event,params:this.params});case 11:e.t1=e.sent,a=(0,e.t0)(e.t1);case 13:e.next=6;break;case 15:e.next=20;break;case 17:e.prev=17,e.t2=e.catch(4),i.e(e.t2);case 20:return e.prev=20,i.f(),e.finish(20);case 23:this._cacheKeys[n]=a;case 24:return e.abrupt("return",this._cacheKeys[n]);case 25:case"end":return e.stop()}}),e,this,[[4,17,20,23]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"hasCallback",value:function(e){var t,r=C(this._strategy.plugins);try{for(r.s();!(t=r.n()).done;){if(e in t.value)return!0}}catch(n){r.e(n)}finally{r.f()}return!1}},{key:"runCallbacks",value:function(){var e=R(k().mark((function e(t,r){var n,a,i;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=C(this.iterateCallbacks(t)),e.prev=1,n.s();case 3:if((a=n.n()).done){e.next=9;break}return i=a.value,e.next=7,i(r);case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.e(e.t0);case 14:return e.prev=14,n.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"iterateCallbacks",value:k().mark((function e(t){var r,n,a,i=this;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=C(this._strategy.plugins),e.prev=1,a=k().mark((function e(){var r,a,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!==typeof(r=n.value)[t]){e.next=6;break}return a=i._pluginStateMap.get(r),s=function(e){var n=Object.assign(Object.assign({},e),{state:a});return r[t](n)},e.next=6,s;case 6:case"end":return e.stop()}}),e)})),r.s();case 4:if((n=r.n()).done){e.next=8;break}return e.delegateYield(a(),"t0",6);case 6:e.next=4;break;case 8:e.next=13;break;case 10:e.prev=10,e.t1=e.catch(1),r.e(e.t1);case 13:return e.prev=13,r.f(),e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,10,13,16]])}))},{key:"waitUntil",value:function(e){return this._extendLifetimePromises.push(e),e}},{key:"doneWaiting",value:function(){var e=R(k().mark((function e(){var t;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=this._extendLifetimePromises.shift())){e.next=5;break}return e.next=3,t;case 3:e.next=0;break;case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"destroy",value:function(){this._handlerDeferred.resolve(null)}},{key:"_ensureResponseSafeToCache",value:function(){var e=R(k().mark((function e(t){var r,n,a,i,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t,n=!1,a=C(this.iterateCallbacks("cacheWillUpdate")),e.prev=3,a.s();case 5:if((i=a.n()).done){e.next=18;break}return s=i.value,e.next=9,s({request:this.request,response:r,event:this.event});case 9:if(e.t0=e.sent,e.t0){e.next=12;break}e.t0=void 0;case 12:if(r=e.t0,n=!0,r){e.next=16;break}return e.abrupt("break",18);case 16:e.next=5;break;case 18:e.next=23;break;case 20:e.prev=20,e.t1=e.catch(3),a.e(e.t1);case 23:return e.prev=23,a.f(),e.finish(23);case 26:return n||r&&200!==r.status&&(r=void 0),e.abrupt("return",r);case 28:case"end":return e.stop()}}),e,this,[[3,20,23,26]])})));return function(t){return e.apply(this,arguments)}}()}]),t}(),xe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),this.cacheName=w(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}return n(e,[{key:"handle",value:function(e){return le(this.handleAll(e),1)[0]}},{key:"handleAll",value:function(e){e instanceof FetchEvent&&(e={event:e,request:e.request});var t=e.event,r="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new me(this,{event:t,request:r,params:n}),i=this._getResponse(a,r,t);return[i,this._awaitComplete(i,a,r,t)]}},{key:"_getResponse",value:function(){var e=R(k().mark((function e(t,r,n){var a,i,s,c,o,u,h;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.runCallbacks("handlerWillStart",{event:n,request:r});case 2:return a=void 0,e.prev=3,e.next=6,this._handle(r,t);case 6:if((a=e.sent)&&"error"!==a.type){e.next=9;break}throw new d("no-response",{url:r.url});case 9:e.next=39;break;case 11:if(e.prev=11,e.t0=e.catch(3),!(e.t0 instanceof Error)){e.next=34;break}i=C(t.iterateCallbacks("handlerDidError")),e.prev=15,i.s();case 17:if((s=i.n()).done){e.next=26;break}return c=s.value,e.next=21,c({error:e.t0,event:n,request:r});case 21:if(!(a=e.sent)){e.next=24;break}return e.abrupt("break",26);case 24:e.next=17;break;case 26:e.next=31;break;case 28:e.prev=28,e.t1=e.catch(15),i.e(e.t1);case 31:return e.prev=31,i.f(),e.finish(31);case 34:if(a){e.next=38;break}throw e.t0;case 38:0;case 39:o=C(t.iterateCallbacks("handlerWillRespond")),e.prev=40,o.s();case 42:if((u=o.n()).done){e.next=49;break}return h=u.value,e.next=46,h({event:n,request:r,response:a});case 46:a=e.sent;case 47:e.next=42;break;case 49:e.next=54;break;case 51:e.prev=51,e.t2=e.catch(40),o.e(e.t2);case 54:return e.prev=54,o.f(),e.finish(54);case 57:return e.abrupt("return",a);case 58:case"end":return e.stop()}}),e,this,[[3,11],[15,28,31,34],[40,51,54,57]])})));return function(t,r,n){return e.apply(this,arguments)}}()},{key:"_awaitComplete",value:function(){var e=R(k().mark((function e(t,r,n,a){var i,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t;case 3:i=e.sent,e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:return e.prev=8,e.next=11,r.runCallbacks("handlerDidRespond",{event:a,request:n,response:i});case 11:return e.next=13,r.doneWaiting();case 13:e.next=18;break;case 15:e.prev=15,e.t1=e.catch(8),e.t1 instanceof Error&&(s=e.t1);case 18:return e.next=20,r.runCallbacks("handlerDidComplete",{event:a,request:n,response:i,error:s});case 20:if(r.destroy(),!s){e.next=23;break}throw s;case 23:case"end":return e.stop()}}),e,null,[[0,6],[8,15]])})));return function(t,r,n,a){return e.apply(this,arguments)}}()}]),e}(),we=function(t){s(i,t);var r=f(i);function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a(this,i),t.cacheName=x(t.cacheName),(e=r.call(this,t))._fallbackToNetwork=!1!==t.fallbackToNetwork,e.plugins.push(i.copyRedirectedCacheableResponsesPlugin),e}return n(i,[{key:"_handle",value:function(){var e=R(k().mark((function e(t,r){var n;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.cacheMatch(t);case 2:if(!(n=e.sent)){e.next=5;break}return e.abrupt("return",n);case 5:if(!r.event||"install"!==r.event.type){e.next=9;break}return e.next=8,this._handleInstall(t,r);case 8:case 11:return e.abrupt("return",e.sent);case 9:return e.next=11,this._handleFetch(t,r);case 12:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_handleFetch",value:function(){var t=R(k().mark((function t(r,n){var a,i,s,c,o,u;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n.params||{},!this._fallbackToNetwork){t.next=17;break}return s=i.integrity,c=r.integrity,o=!c||c===s,t.next=8,n.fetch(new Request(r,{integrity:"no-cors"!==r.mode?c||s:void 0}));case 8:if(a=t.sent,!s||!o||"no-cors"===r.mode){t.next=15;break}return this._useDefaultCacheabilityPluginIfNeeded(),t.next=13,n.cachePut(r,a.clone());case 13:t.sent;case 15:t.next=18;break;case 17:throw new d("missing-precache-entry",{cacheName:this.cacheName,url:r.url});case 18:t.next=34;break;case 23:t.t0=t.sent;case 24:u=t.t0,e.groupCollapsed("Precaching is responding to: "+N(r.url)),e.log("Serving the precached url: ".concat(N(u instanceof Request?u.url:u))),e.groupCollapsed("View request details here."),e.log(r),e.groupEnd(),e.groupCollapsed("View response details here."),e.log(a),e.groupEnd(),e.groupEnd();case 34:return t.abrupt("return",a);case 35:case"end":return t.stop()}}),t,this)})));return function(e,r){return t.apply(this,arguments)}}()},{key:"_handleInstall",value:function(){var e=R(k().mark((function e(t,r){var n;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._useDefaultCacheabilityPluginIfNeeded(),e.next=3,r.fetch(t);case 3:return n=e.sent,e.next=6,r.cachePut(t,n.clone());case 6:if(e.sent){e.next=9;break}throw new d("bad-precaching-response",{url:t.url,status:n.status});case 9:return e.abrupt("return",n);case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_useDefaultCacheabilityPluginIfNeeded",value:function(){var e,t=null,r=0,n=C(this.plugins.entries());try{for(n.s();!(e=n.n()).done;){var a=le(e.value,2),s=a[0],c=a[1];c!==i.copyRedirectedCacheableResponsesPlugin&&(c===i.defaultPrecacheCacheabilityPlugin&&(t=s),c.cacheWillUpdate&&r++)}}catch(o){n.e(o)}finally{n.f()}0===r?this.plugins.push(i.defaultPrecacheCacheabilityPlugin):r>1&&null!==t&&this.plugins.splice(t,1)}}]),i}(xe);we.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:function(e){return R(k().mark((function t(){var r;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=e.response)&&!(r.status>=400)){t.next=3;break}return t.abrupt("return",null);case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})))()}},we.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:function(e){return R(k().mark((function t(){var r;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=e.response).redirected){t.next=7;break}return t.next=4,K(r);case 4:t.t0=t.sent,t.next=8;break;case 7:t.t0=r;case 8:return t.abrupt("return",t.t0);case 9:case"end":return t.stop()}}),t)})))()}};var ke,_e=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.cacheName,n=t.plugins,i=void 0===n?[]:n,s=t.fallbackToNetwork,c=void 0===s||s;a(this,e),this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new we({cacheName:x(r),plugins:[].concat(ve(i),[new be({precacheController:this})]),fallbackToNetwork:c}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}return n(e,[{key:"strategy",get:function(){return this._strategy}},{key:"precache",value:function(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}},{key:"addToCacheList",value:function(e){var t,r=[],n=C(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;"string"===typeof a?r.push(a):a&&void 0===a.revision&&r.push(a.url);var i=de(a),s=i.cacheKey,c=i.url,o="string"!==typeof a&&a.revision?"reload":"default";if(this._urlsToCacheKeys.has(c)&&this._urlsToCacheKeys.get(c)!==s)throw new d("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(c),secondEntry:s});if("string"!==typeof a&&a.integrity){if(this._cacheKeysToIntegrities.has(s)&&this._cacheKeysToIntegrities.get(s)!==a.integrity)throw new d("add-to-cache-list-conflicting-integrities",{url:c});this._cacheKeysToIntegrities.set(s,a.integrity)}if(this._urlsToCacheKeys.set(c,s),this._urlsToCacheModes.set(c,o),r.length>0){var u="Workbox is precaching URLs without revision "+"info: ".concat(r.join(", "),"\nThis is generally NOT safe. ")+"Learn more at https://bit.ly/wb-precache";console.warn(u)}}}catch(h){n.e(h)}finally{n.f()}}},{key:"install",value:function(e){var t=this;return A(e,R(k().mark((function r(){var n,a,i,s,c,o,u,h,f,l,p;return k().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=new ye,t.strategy.plugins.push(n),a=C(t._urlsToCacheKeys),r.prev=3,a.s();case 5:if((i=a.n()).done){r.next=14;break}return s=le(i.value,2),c=s[0],o=s[1],u=t._cacheKeysToIntegrities.get(o),h=t._urlsToCacheModes.get(c),f=new Request(c,{integrity:u,cache:h,credentials:"same-origin"}),r.next=12,Promise.all(t.strategy.handleAll({params:{cacheKey:o},request:f,event:e}));case 12:r.next=5;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(3),a.e(r.t0);case 19:return r.prev=19,a.f(),r.finish(19);case 22:return l=n.updatedURLs,p=n.notUpdatedURLs,r.abrupt("return",{updatedURLs:l,notUpdatedURLs:p});case 25:case"end":return r.stop()}}),r,null,[[3,16,19,22]])}))))}},{key:"activate",value:function(e){var t=this;return A(e,R(k().mark((function e(){var r,n,a,i,s,c,o;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,self.caches.open(t.strategy.cacheName);case 2:return r=e.sent,e.next=5,r.keys();case 5:n=e.sent,a=new Set(t._urlsToCacheKeys.values()),i=[],s=C(n),e.prev=9,s.s();case 11:if((c=s.n()).done){e.next=19;break}if(o=c.value,a.has(o.url)){e.next=17;break}return e.next=16,r.delete(o);case 16:i.push(o.url);case 17:e.next=11;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(9),s.e(e.t0);case 24:return e.prev=24,s.f(),e.finish(24);case 27:return e.abrupt("return",{deletedURLs:i});case 29:case"end":return e.stop()}}),e,null,[[9,21,24,27]])}))))}},{key:"getURLsToCacheKeys",value:function(){return this._urlsToCacheKeys}},{key:"getCachedURLs",value:function(){return ve(this._urlsToCacheKeys.keys())}},{key:"getCacheKeyForURL",value:function(e){var t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}},{key:"getIntegrityForCacheKey",value:function(e){return this._cacheKeysToIntegrities.get(e)}},{key:"matchPrecache",value:function(){var e=R(k().mark((function e(t){var r,n,a;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t instanceof Request?t.url:t,!(n=this.getCacheKeyForURL(r))){e.next=7;break}return e.next=5,self.caches.open(this.strategy.cacheName);case 5:return a=e.sent,e.abrupt("return",a.match(n));case 7:return e.abrupt("return",void 0);case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"createHandlerBoundToURL",value:function(e){var t=this,r=this.getCacheKeyForURL(e);if(!r)throw new d("non-precached-url",{url:e});return function(n){return n.request=new Request(e),n.params=Object.assign({cacheKey:r},n.params),t.strategy.handle(n)}}}]),e}(),Re=function(){return ke||(ke=new _e),ke};r(185);var Ee,Le=function(e){return e&&"object"===typeof e?e:{handle:e}},Ce=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET";a(this,e),this.handler=Le(r),this.match=t,this.method=n}return n(e,[{key:"setCatchHandler",value:function(e){this.catchHandler=Le(e)}}]),e}(),Oe=function(e){s(r,e);var t=f(r);function r(e,n,i){a(this,r);return t.call(this,(function(t){var r=t.url,n=e.exec(r.href);if(n&&(r.origin===location.origin||0===n.index))return n.slice(1)}),n,i)}return n(r)}(Ce),Te=function(){function e(){a(this,e),this._routes=new Map,this._defaultHandlerMap=new Map}return n(e,[{key:"routes",get:function(){return this._routes}},{key:"addFetchListener",value:function(){var e=this;self.addEventListener("fetch",(function(t){var r=t.request,n=e.handleRequest({request:r,event:t});n&&t.respondWith(n)}))}},{key:"addCacheListener",value:function(){var e=this;self.addEventListener("message",(function(t){if(t.data&&"CACHE_URLS"===t.data.type){var r=t.data.payload;0;var n=Promise.all(r.urlsToCache.map((function(r){"string"===typeof r&&(r=[r]);var n=l(Request,ve(r));return e.handleRequest({request:n,event:t})})));t.waitUntil(n),t.ports&&t.ports[0]&&n.then((function(){return t.ports[0].postMessage(!0)}))}}))}},{key:"handleRequest",value:function(e){var t=this,r=e.request,n=e.event;var a=new URL(r.url,location.href);if(a.protocol.startsWith("http")){var i=a.origin===location.origin,s=this.findMatchingRoute({event:n,request:r,sameOrigin:i,url:a}),c=s.params,o=s.route,u=o&&o.handler;0;var h=r.method;if(!u&&this._defaultHandlerMap.has(h)&&(u=this._defaultHandlerMap.get(h)),u){var f;0;try{f=u.handle({url:a,request:r,event:n,params:c})}catch(p){f=Promise.reject(p)}var l=o&&o.catchHandler;return f instanceof Promise&&(this._catchHandler||l)&&(f=f.catch(function(){var e=R(k().mark((function e(i){return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l){e.next=11;break}return e.prev=2,e.next=5,l.handle({url:a,request:r,event:n,params:c});case 5:return e.abrupt("return",e.sent);case 8:e.prev=8,e.t0=e.catch(2),e.t0 instanceof Error&&(i=e.t0);case 11:if(!t._catchHandler){e.next=14;break}return e.abrupt("return",t._catchHandler.handle({url:a,request:r,event:n}));case 14:throw i;case 15:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}())),f}}}},{key:"findMatchingRoute",value:function(e){var t,r=e.url,n=e.sameOrigin,a=e.request,i=e.event,s=C(this._routes.get(a.method)||[]);try{for(s.s();!(t=s.n()).done;){var c=t.value,o=void 0,u=c.match({url:r,sameOrigin:n,request:a,event:i});if(u)return o=u,(Array.isArray(o)&&0===o.length||u.constructor===Object&&0===Object.keys(u).length||"boolean"===typeof u)&&(o=void 0),{route:c,params:o}}}catch(h){s.e(h)}finally{s.f()}return{}}},{key:"setDefaultHandler",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";this._defaultHandlerMap.set(t,Le(e))}},{key:"setCatchHandler",value:function(e){this._catchHandler=Le(e)}},{key:"registerRoute",value:function(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}},{key:"unregisterRoute",value:function(e){if(!this._routes.has(e.method))throw new d("unregister-route-but-not-found-with-method",{method:e.method});var t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new d("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}]),e}(),Se=function(){return Ee||((Ee=new Te).addFetchListener(),Ee.addCacheListener()),Ee};function De(e,t,r){var n;if("string"===typeof e){var a=new URL(e,location.href);n=new Ce((function(e){return e.url.href===a.href}),t,r)}else if(e instanceof RegExp)n=new Oe(e,t,r);else if("function"===typeof e)n=new Ce(e,t,r);else{if(!(e instanceof Ce))throw new d("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});n=e}return Se().registerRoute(n),n}function Pe(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=function(){var r=a[n];t.some((function(e){return e.test(r)}))&&e.searchParams.delete(r)},n=0,a=ve(e.searchParams.keys());n1&&void 0!==b[1]?b[1]:{}).ignoreURLParametersMatching,n=void 0===r?[/^utm_/,/^fbclid$/]:r,a=t.directoryIndex,i=void 0===a?"index.html":a,s=t.cleanURLs,c=void 0===s||s,o=t.urlManipulation,(u=new URL(e,location.href)).hash="",g.next=5,u.href;case 5:return h=Pe(u,n),g.next=8,h.href;case 8:if(!i||!h.pathname.endsWith("/")){g.next=13;break}return(f=new URL(h.href)).pathname+=i,g.next=13,f.href;case 13:if(!c){g.next=18;break}return(l=new URL(h.href)).pathname+=".html",g.next=18,l.href;case 18:if(!o){g.next=37;break}p=o({url:u}),v=C(p),g.prev=21,v.s();case 23:if((d=v.n()).done){g.next=29;break}return y=d.value,g.next=27,y.href;case 27:g.next=23;break;case 29:g.next=34;break;case 31:g.prev=31,g.t0=g.catch(21),v.e(g.t0);case 34:return g.prev=34,v.f(),g.finish(34);case 37:case"end":return g.stop()}}),qe,null,[[21,31,34,37]])}var Ue=function(e){s(r,e);var t=f(r);function r(e,n){a(this,r);return t.call(this,(function(t){var r,a=t.request,i=e.getURLsToCacheKeys(),s=C(je(a.url,n));try{for(s.s();!(r=s.n()).done;){var c=r.value,o=i.get(c);if(o)return{cacheKey:o,integrity:e.getIntegrityForCacheKey(o)}}}catch(u){s.e(u)}finally{s.f()}}),e.strategy)}return n(r)}(Ce);var Ne,Ie={cacheWillUpdate:function(){var e=R(k().mark((function e(t){var r;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(200!==(r=t.response).status&&0!==r.status){e.next=3;break}return e.abrupt("return",r);case 3:return e.abrupt("return",null);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},Ae=function(e){s(r,e);var t=f(r);function r(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a(this,r),(e=t.call(this,n)).plugins.some((function(e){return"cacheWillUpdate"in e}))||e.plugins.unshift(Ie),e}return n(r,[{key:"_handle",value:function(){var e=R(k().mark((function e(t,r){var n,a,i;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return[],n=r.fetchAndCachePut(t).catch((function(){})),r.waitUntil(n),e.next=6,r.cacheMatch(t);case 6:if(!(a=e.sent)){e.next=11;break}0,e.next=21;break;case 11:return e.prev=12,e.next=15,n;case 15:a=e.sent,e.next=21;break;case 18:e.prev=18,e.t0=e.catch(12),e.t0 instanceof Error&&(i=e.t0);case 21:if(a){e.next=24;break}throw new d("no-response",{url:t.url,error:i});case 24:return e.abrupt("return",a);case 25:case"end":return e.stop()}}),e,this,[[12,18]])})));return function(t,r){return e.apply(this,arguments)}}()}]),r}(xe);self.addEventListener("activate",(function(){return self.clients.claim()})),function(e){Re().precache(e)}([{'revision':'d6f0a4a636c228a67859ff3438092e44','url':'/index.html'},{'revision':null,'url':'/static/css/main.3b963d24.css'},{'revision':null,'url':'/static/js/1879.ed18bb38.chunk.js'},{'revision':null,'url':'/static/js/5801.fe054870.chunk.js'},{'revision':null,'url':'/static/js/6197.24105f49.chunk.js'},{'revision':null,'url':'/static/js/6926.dcb537c7.chunk.js'},{'revision':null,'url':'/static/js/787.5d8effc5.chunk.js'},{'revision':null,'url':'/static/js/7918.dc7b6f0b.chunk.js'},{'revision':null,'url':'/static/js/8221.efd23e8d.chunk.js'},{'revision':null,'url':'/static/js/8599.0a78eeaf.chunk.js'},{'revision':null,'url':'/static/js/8778.8b4e8d6a.chunk.js'},{'revision':null,'url':'/static/js/9056.4389f73c.chunk.js'},{'revision':null,'url':'/static/js/9910.ef3db10a.chunk.js'},{'revision':null,'url':'/static/js/main.f9b02af7.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter/refractor-core-import.d7d14b68.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_abap.6c79be30.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_abnf.95575723.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_actionscript.80cf0d9c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_ada.b909fda0.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_agda.45eb5715.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_al.eaa13c0d.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_antlr4.9ea96d59.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_apacheconf.4b940aae.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_apex.1d8c798b.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_apl.b5e9cf9d.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_applescript.959948bc.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_aql.c95a3aa9.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_arduino.40b1be00.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_arff.97045256.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_asciidoc.f5eab041.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_asm6502.01905432.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_asmatmel.71f92ace.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_aspnet.9c1a038a.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_autohotkey.80554867.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_autoit.d9ad42d4.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_avisynth.057a071a.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_avroIdl.06ceb043.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_bash.fb56c292.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_basic.5ae9ff03.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_batch.8c3b94ab.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_bbcode.0ab635aa.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_bicep.83d1a974.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_birb.ed7b17db.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_bison.c622bf7c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_bnf.fd743a55.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_brainfuck.17e06afa.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_brightscript.c2cd6a99.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_bro.f741fcf8.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_bsl.310d9794.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_c.180b3761.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_cfscript.71c39ca1.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_chaiscript.0900aae1.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_cil.12a50768.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_clike.9b0717fa.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_clojure.748a2185.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_cmake.8c93755c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_cobol.e2508fb7.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_coffeescript.504645f6.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_concurnas.604c8dca.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_coq.6de2972e.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_cpp.41c4b3ae.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_crystal.e96f1076.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_csharp.81fd8096.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_cshtml.762d3382.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_csp.3c38df3f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_css.9caa1272.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_cssExtras.e10c790a.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_csv.70f930a2.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_cypher.ec810015.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_d.77b04ba7.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_dart.732629ed.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_dataweave.56ee1585.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_dax.8f1fdc8c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_dhall.0140bc11.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_diff.1b850a16.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_django.011c15bd.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_dnsZoneFile.d5bb93e0.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_docker.62c4e6af.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_dot.77b04ca7.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_ebnf.f4efc9b8.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_editorconfig.7dd68f19.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_eiffel.1d74c428.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_ejs.c0b03038.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_elixir.6f26dbd4.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_elm.808f51c0.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_erb.7d78e287.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_erlang.3e7290af.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_etlua.5736e2e1.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_excelFormula.3ca2aeaf.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_factor.a7353056.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_falselang.f31a6905.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_firestoreSecurityRules.00411c5c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_flow.e92cdaa9.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_fortran.4a3fdcaf.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_fsharp.b59b7794.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_ftl.371b9bdc.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_gap.4facb813.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_gcode.e7be8e7d.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_gdscript.83969196.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_gedcom.08e2a47b.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_gherkin.c97a582b.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_git.1857b0c8.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_glsl.2aefa8e8.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_gml.1e9ccf69.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_gn.e3ecaf7c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_go.7aeb2f19.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_goModule.7533a576.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_graphql.121542b3.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_groovy.0742d766.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_haml.ebfe76ce.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_handlebars.76cdf25e.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_haskell.750915ee.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_haxe.a09b9ce3.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_hcl.3e80486b.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_hlsl.04133862.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_hoon.85e7a8a1.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_hpkp.65736982.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_hsts.0757b025.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_http.27dc3e9a.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_ichigojam.6296ea2c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_icon.3bd82356.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_icuMessageFormat.29ae2f1a.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_idris.ff2648d7.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_iecst.9dd4fef9.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_ignore.e5c1b425.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_inform7.67df3257.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_ini.615eb91f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_io.8be39b95.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_j.b56a0f7e.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_java.629b168c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_javadoc.f307a1e3.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_javadoclike.58d920e2.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_javascript.bfa08b56.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_javastacktrace.8063ebbb.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_jexl.d6f81c11.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_jolie.33d325f6.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_jq.c8ca9337.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_jsExtras.3e569a74.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_jsTemplates.337ed6b9.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_jsdoc.509d2b7b.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_json.b3291471.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_json5.966b7b57.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_jsonp.7c700173.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_jsstacktrace.273e6f0e.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_jsx.c9e61a52.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_julia.dd43afa7.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_keepalived.6078d504.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_keyman.13cda7ca.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_kotlin.7340ffcd.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_kumir.6725e490.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_kusto.36fce17d.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_latex.f8fe811d.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_latte.28aa51f3.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_less.950e435c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_lilypond.bc60f08e.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_liquid.0b35641b.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_lisp.6c074c38.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_livescript.7852e80c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_llvm.4f1a1723.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_log.f3a88dba.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_lolcode.ee3ffe33.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_lua.c9a839e0.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_magma.a6c0a984.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_makefile.4feb4299.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_markdown.d4a7bb75.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_markup.ea5ffc14.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_markupTemplating.60b3d34f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_matlab.17750e61.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_maxscript.f585c9d3.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_mel.a40f6235.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_mermaid.d9ef2eac.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_mizar.40a114c6.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_mongodb.3c19fd22.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_monkey.e47463d8.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_moonscript.1f9df26f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_n1ql.c03ef42a.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_n4js.69bd5848.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_nand2tetrisHdl.30659b39.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_naniscript.3933cbe9.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_nasm.f4517ca6.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_neon.f6d840a9.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_nevod.18298b88.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_nginx.52c38bfb.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_nim.2efeff23.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_nix.0f8fc50d.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_nsis.558be2e2.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_objectivec.ccee4a43.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_ocaml.ad43c64c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_opencl.4972d0b6.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_openqasm.552aebff.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_oz.8d8d5739.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_parigp.ab21d649.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_parser.56c081eb.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_pascal.17a22e70.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_pascaligo.80c8a805.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_pcaxis.568c2b52.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_peoplecode.2162e633.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_perl.4704034f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_php.f08fdf94.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_phpExtras.5cf936a4.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_phpdoc.964269fc.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_plsql.5525d45a.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_powerquery.1d37cf49.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_powershell.a0c1c2e5.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_processing.4c77ce32.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_prolog.6101e1bb.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_promql.3bb9f69f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_properties.c378ae31.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_protobuf.8ef3fad2.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_psl.073c3901.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_pug.3934a364.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_puppet.84a985d5.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_pure.0d8bde8f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_purebasic.7efb18cf.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_purescript.f8c0ceef.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_python.300484ca.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_q.3891bce5.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_qml.63bbf9b6.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_qore.a2cd2a22.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_qsharp.9b68fda7.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_r.cafe9d69.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_racket.71866e01.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_reason.b886cdca.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_regex.43bcf14a.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_rego.e733a2c9.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_renpy.eac48954.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_rest.21f370fb.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_rip.ede10bd8.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_roboconf.59d9b2ce.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_robotframework.d2e922c5.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_ruby.d90b4d94.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_rust.56d87ec0.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_sas.c5ab9ebc.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_sass.5746157b.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_scala.922376c3.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_scheme.4d1c1864.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_scss.cb58d436.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_shellSession.5e5d30e8.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_smali.a3187262.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_smalltalk.019fa1df.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_smarty.447ba6f2.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_sml.91abf541.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_solidity.5729eebc.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_solutionFile.c235782f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_soy.4db88394.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_sparql.588c77be.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_splunkSpl.0b034c15.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_sqf.10f00779.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_sql.783cae6c.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_squirrel.0cbb6a9e.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_stan.d4dcf047.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_stylus.46acc837.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_swift.748a94f7.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_systemd.34f6f49b.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_t4Cs.a4b7cd94.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_t4Templating.fa793182.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_t4Vb.af19c35b.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_tap.c8cc9cea.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_tcl.22af4bde.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_textile.4908a558.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_toml.6b160991.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_tremor.a8489e82.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_tsx.8f95f373.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_tt2.f52a022f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_turtle.f51d87a2.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_twig.ab63a910.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_typescript.1266c4c5.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_typoscript.f4a06957.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_unrealscript.fc50b9ef.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_uorazor.c058579f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_uri.3fdd24b9.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_v.7527e350.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_vala.5059d92a.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_vbnet.4ddf4a57.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_velocity.3b194e8e.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_verilog.5570eae7.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_vhdl.650f53ca.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_vim.ce5c0984.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_visualBasic.d7e6b4c8.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_warpscript.6dfd7793.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_wasm.3e74896a.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_webIdl.bd0eff04.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_wiki.71fadcda.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_wolfram.ab8f3d5d.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_wren.dbe7a997.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_xeora.3428dfdd.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_xmlDoc.4e743d09.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_xojo.2b558d9f.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_xquery.7a4d72ab.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_yaml.3335797b.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_yang.b91647a5.chunk.js'},{'revision':null,'url':'/static/js/react-syntax-highlighter_languages_refractor_zig.dd01a6dc.chunk.js'},{'revision':'f8f974d57b82416447d636a0290cdf35','url':'/static/media/logo.7e4c4dfb2d758c1e7e8ca9cb0ed6a1ff.svg'},{'revision':null,'url':'/static/media/roboto-latin-100.a45108d3b34af91f9113.woff'},{'revision':null,'url':'/static/media/roboto-latin-100.c2aa4ab115bf9c6057cb.woff2'},{'revision':null,'url':'/static/media/roboto-latin-100italic.451d4e559d6f57cdf6a1.woff'},{'revision':null,'url':'/static/media/roboto-latin-100italic.7f839a8652da29745ce4.woff2'},{'revision':null,'url':'/static/media/roboto-latin-300.37a7069dc30fc663c878.woff2'},{'revision':null,'url':'/static/media/roboto-latin-300.865f928cbabcc9f8f2b5.woff'},{'revision':null,'url':'/static/media/roboto-latin-300italic.bd5b7a13f2c52b531a2a.woff'},{'revision':null,'url':'/static/media/roboto-latin-300italic.c64e7e354c88e613c77c.woff2'},{'revision':null,'url':'/static/media/roboto-latin-400.176f8f5bd5f02b3abfcf.woff2'},{'revision':null,'url':'/static/media/roboto-latin-400.49ae34d4cc6b98c00c69.woff'},{'revision':null,'url':'/static/media/roboto-latin-400italic.b1d9d9904bfca8802a63.woff'},{'revision':null,'url':'/static/media/roboto-latin-400italic.d022bc70dc1bf7b3425d.woff2'},{'revision':null,'url':'/static/media/roboto-latin-500.cea99d3e3e13a3a599a0.woff'},{'revision':null,'url':'/static/media/roboto-latin-500.f5b74d7ffcdf85b9dd60.woff2'},{'revision':null,'url':'/static/media/roboto-latin-500italic.0d8bb5b3ee5f5dac9e44.woff2'},{'revision':null,'url':'/static/media/roboto-latin-500italic.18d00f739ff1e1c52db1.woff'},{'revision':null,'url':'/static/media/roboto-latin-700.2267169ee7270a22a963.woff'},{'revision':null,'url':'/static/media/roboto-latin-700.c18ee39fb002ad58b6dc.woff2'},{'revision':null,'url':'/static/media/roboto-latin-700italic.7d8125ff7f707231fd89.woff2'},{'revision':null,'url':'/static/media/roboto-latin-700italic.9360531f9bb817f917f0.woff'},{'revision':null,'url':'/static/media/roboto-latin-900.870c8c1486f76054301a.woff2'},{'revision':null,'url':'/static/media/roboto-latin-900.bac8362e7a6ea60b6983.woff'},{'revision':null,'url':'/static/media/roboto-latin-900italic.c20d916c1a1b094c1cec.woff'},{'revision':null,'url':'/static/media/roboto-latin-900italic.cb5ad999740e9d8a8bd1.woff2'}]),function(e){var t=Re();De(new Ue(t,e))}(Ne);var Ke,Me=new RegExp("/[^/?]+\\.[^/]+$");De((function(e){var t=e.request,r=e.url;return"navigate"===t.mode&&(!r.pathname.startsWith("/_")&&!r.pathname.match(Me))}),(Ke="/index.html",Re().createHandlerBoundToURL(Ke))),De((function(e){var t=e.url;return t.origin===self.location.origin&&t.pathname.endsWith(".png")}),new Ae({cacheName:"images",plugins:[new pe({maxEntries:50})]})),self.addEventListener("message",(function(e){e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}))}()}(); +//# sourceMappingURL=service-worker.js.map \ No newline at end of file diff --git a/service-worker.js.LICENSE.txt b/service-worker.js.LICENSE.txt new file mode 100644 index 000000000..ae386fb79 --- /dev/null +++ b/service-worker.js.LICENSE.txt @@ -0,0 +1 @@ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ diff --git a/service-worker.js.map b/service-worker.js.map new file mode 100644 index 000000000..f08cc296a --- /dev/null +++ b/service-worker.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../node_modules/workbox-core/_version.js","../node_modules/workbox-expiration/_version.js","../node_modules/workbox-precaching/_version.js","../node_modules/workbox-routing/_version.js","../node_modules/workbox-strategies/_version.js","../webpack/bootstrap","../node_modules/workbox-core/_private/logger.js","../node_modules/@babel/runtime/helpers/esm/createClass.js","../node_modules/@babel/runtime/helpers/esm/classCallCheck.js","../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/inherits.js","../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/@babel/runtime/helpers/esm/createSuper.js","../node_modules/@babel/runtime/helpers/esm/construct.js","../node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","../node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","../node_modules/workbox-core/models/messages/messages.js","../node_modules/workbox-core/models/messages/messageGenerator.js","../node_modules/workbox-core/_private/WorkboxError.js","../node_modules/workbox-core/models/quotaErrorCallbacks.js","../node_modules/workbox-core/_private/cacheNames.js","../node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","../node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js","../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","../node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","../node_modules/workbox-core/_private/dontWaitFor.js","../node_modules/workbox-core/_private/Deferred.js","../node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","../node_modules/workbox-core/_private/getFriendlyURL.js","../node_modules/workbox-core/_private/timeout.js","../node_modules/workbox-core/_private/waitUntil.js","../node_modules/workbox-core/copyResponse.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","../node_modules/idb/build/wrap-idb-value.js","../node_modules/idb/build/index.js","../node_modules/workbox-expiration/models/CacheTimestampsModel.js","../node_modules/workbox-expiration/CacheExpiration.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/workbox-expiration/ExpirationPlugin.js","../node_modules/workbox-core/registerQuotaErrorCallback.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/workbox-precaching/utils/createCacheKey.js","../node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","../node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","../node_modules/workbox-strategies/StrategyHandler.js","../node_modules/workbox-strategies/Strategy.js","../node_modules/workbox-precaching/PrecacheStrategy.js","../node_modules/workbox-precaching/PrecacheController.js","../node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","../node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","../node_modules/workbox-routing/utils/normalizeHandler.js","../node_modules/workbox-routing/Route.js","../node_modules/workbox-routing/utils/constants.js","../node_modules/workbox-routing/RegExpRoute.js","../node_modules/workbox-routing/Router.js","../node_modules/workbox-routing/registerRoute.js","../node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","../node_modules/workbox-precaching/utils/generateURLVariations.js","../node_modules/workbox-precaching/PrecacheRoute.js","../node_modules/workbox-strategies/utils/messages.js","../node_modules/workbox-precaching/precacheAndRoute.js","../node_modules/workbox-strategies/plugins/cacheOkAndOpaquePlugin.js","../node_modules/workbox-strategies/StaleWhileRevalidate.js","../node_modules/workbox-core/clientsClaim.js","../node_modules/workbox-precaching/precache.js","service-worker.js","../node_modules/workbox-precaching/addRoute.js","../node_modules/workbox-precaching/createHandlerBoundToURL.js"],"names":["self","_","e","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","logger","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","Constructor","protoProps","staticProps","prototype","instance","TypeError","_setPrototypeOf","o","p","setPrototypeOf","bind","__proto__","subClass","superClass","create","constructor","value","_getPrototypeOf","getPrototypeOf","_isNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","call","_typeof","obj","Symbol","iterator","_possibleConstructorReturn","ReferenceError","Derived","hasNativeReflectConstruct","result","Super","NewTarget","this","arguments","apply","_construct","Parent","args","Class","a","push","Function","_wrapNativeSuper","_cache","Map","fn","toString","indexOf","has","get","set","Wrapper","messageGenerator","code","msg","JSON","stringify","WorkboxError","errorCode","details","message","name","Error","quotaErrorCallbacks","Set","supportStatus","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","join","cacheNames","userCacheName","Op","hasOwn","hasOwnProperty","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","err","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","context","Context","_invoke","state","method","arg","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","type","done","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","AsyncIterator","PromiseImpl","invoke","resolve","reject","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","displayName","isGeneratorFunction","genFun","ctor","mark","awrap","async","Promise","iter","keys","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","_arrayLikeToArray","arr","len","arr2","Array","_unsupportedIterableToArray","minLen","n","from","test","allowArrayLike","it","isArray","F","s","_e","f","normalCompletion","didErr","step","_e2","stripParams","fullURL","ignoreParams","strippedURL","URL","param","searchParams","delete","href","cacheMatchIgnoreParams","cache","request","matchOptions","strippedRequestURL","url","match","keysOptions","assign","ignoreSearch","cacheKeys","cacheKey","strippedCacheKeyURL","canConstructResponseFromBodyStream","testResponse","Response","body","dontWaitFor","promise","Deferred","executeQuotaErrorCallbacks","process","callback","getFriendlyURL","String","location","replace","RegExp","origin","timeout","ms","setTimeout","waitUntil","event","asyncFn","returnPromise","copyResponse","response","modifier","responseURL","clonedResponse","clone","responseInit","headers","Headers","status","statusText","modifiedResponseInit","blob","_defineProperty","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","_objectSpread2","source","getOwnPropertyDescriptors","defineProperties","idbProxyableTypes","cursorAdvanceMethods","instanceOfAny","constructors","some","c","cursorRequestMap","WeakMap","transactionDoneMap","transactionStoreNamesMap","transformCache","reverseTransformCache","idbProxyTraps","prop","receiver","IDBTransaction","objectStoreNames","objectStore","wrapFunction","func","IDBDatabase","transaction","IDBCursor","advance","continue","continuePrimaryKey","includes","unwrap","storeNames","tx","sort","transformCachableValue","unlisten","removeEventListener","DOMException","addEventListener","cacheDonePromiseForTransaction","IDBObjectStore","IDBIndex","IDBRequest","success","catch","promisifyRequest","newValue","openDB","version","blocked","upgrade","blocking","terminated","indexedDB","open","openPromise","oldVersion","newVersion","db","readMethods","writeMethods","cachedMethods","getMethod","targetFuncName","useIndex","isWrite","storeName","store","index","shift","all","oldTraps","CACHE_OBJECT_STORE","normalizeURL","unNormalizedUrl","hash","CacheTimestampsModel","_db","_cacheName","objStore","createObjectStore","keyPath","createIndex","unique","_upgradeDb","deleteDatabase","deleteDB","timestamp","id","_getId","getDb","durability","put","minTimestamp","maxCount","openCursor","cursor","entriesToDelete","entriesNotDeletedCount","urlsDeleted","_upgradeDbAndDeleteOldDbs","CacheExpiration","config","_isRunning","_rerunRequested","_maxEntries","maxEntries","_maxAgeSeconds","maxAgeSeconds","_matchOptions","_timestampModel","Date","now","expireEntries","urlsExpired","caches","setTimestamp","getTimestamp","expireOlderThan","Infinity","_slicedToArray","_i","_s","_arr","_n","_d","ExpirationPlugin","cachedResponseWillBeUsed","cachedResponse","isFresh","_isResponseDateFresh","cacheExpiration","_getCacheExpiration","updateTimestampDone","updateTimestamp","cacheDidUpdate","_config","_cacheExpirations","purgeOnQuotaError","add","registerQuotaErrorCallback","deleteCacheAndMetadata","dateHeaderTimestamp","_getDateHeaderTimestamp","dateHeader","headerTime","getTime","createCacheKey","urlObject","revision","cacheKeyURL","originalURL","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","originalRequest","Request","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","params","_precacheController","getCacheKeyForURL","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","iterateCallbacks","cb","thrownErrorMessage","pluginFilteredRequest","fetch","fetchOptions","fetchResponse","runCallbacks","responseClone","cachePut","getCacheKey","effectiveRequest","multiMatchOptions","vary","debug","_ensureResponseSafeToCache","responseToCache","hasCacheUpdateCallback","oldResponse","newResponse","statefulCallback","statefulParam","pluginsUsed","Strategy","handleAll","handler","responseDone","_getResponse","_awaitComplete","_handle","doneWaiting","destroy","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","cacheMatch","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","groupCollapsed","log","groupEnd","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","splice","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","deletedURLs","getOrCreatePrecacheController","defaultRouter","normalizeHandler","Route","catchHandler","RegExpRoute","regExp","exec","Router","_routes","_defaultHandlerMap","responsePromise","handleRequest","respondWith","data","payload","requestPromises","urlsToCache","map","ports","postMessage","protocol","startsWith","sameOrigin","findMatchingRoute","route","_catchHandler","matchResult","routeIndex","getOrCreateDefaultRouter","addFetchListener","addCacheListener","registerRoute","capture","captureUrl","moduleName","funcName","paramName","removeIgnoredSearchParams","ignoreURLParametersMatching","generateURLVariations","directoryIndex","cleanURLs","urlManipulation","urlWithoutIgnoredParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","PrecacheRoute","urlsToCacheKeys","getURLsToCacheKeys","possibleURL","getIntegrityForCacheKey","cacheOkAndOpaquePlugin","StaleWhileRevalidate","unshift","fetchAndCachePromise","fetchAndCachePut","clients","claim","__WB_MANIFEST","addRoute","fileExtensionRegexp","createHandlerBoundToURL","skipWaiting"],"mappings":";+CAEA,IACI,KAAK,uBAAyB,GAClC,CACA,MAAO,GAAK,kBCHZ,IACI,KAAK,6BAA+B,GACxC,CACA,MAAO,GAAK,kBCHZ,IACI,KAAK,6BAA+B,GACxC,CACA,MAAO,GAAK,kBCHZ,IACI,KAAK,0BAA4B,GACrC,CACA,MAAO,GAAK,kBCHZ,IACI,KAAK,6BAA+B,GACxC,CACA,MAAO,GAAK,ICJR,EAA2B,CAAC,EAGhC,SAAS,EAAoB,GAE5B,IAAI,EAAe,EAAyB,GAC5C,QAAqB,IAAjB,EACH,OAAO,EAAa,QAGrB,IAAI,EAAS,EAAyB,GAAY,CAGjD,QAAS,CAAC,GAOX,OAHA,EAAoB,GAAU,EAAQ,EAAO,QAAS,GAG/C,EAAO,OACf,wBCfM,EACA,KCRN,SAAS,EAAkB,EAAQ,GACjC,IAAK,IAAI,EAAI,EAAG,EAAI,EAAM,OAAQ,IAAK,CACrC,IAAI,EAAa,EAAM,GACvB,EAAW,WAAa,EAAW,aAAc,EACjD,EAAW,cAAe,EACtB,UAAW,IAAY,EAAW,UAAW,GACjD,OAAO,eAAe,EAAQ,EAAW,IAAK,EAChD,CACF,CAEe,SAAS,EAAa,EAAa,EAAY,GAM5D,OALI,GAAY,EAAkB,EAAY,UAAW,GACrD,GAAa,EAAkB,EAAa,GAChD,OAAO,eAAe,EAAa,YAAa,CAC9C,UAAU,IAEL,CACT,CCjBe,SAAS,EAAgB,EAAU,GAChD,KAAM,aAAoB,GACxB,MAAM,IAAI,UAAU,oCAExB,CCJe,SAAS,EAAgB,EAAG,GAKzC,OAJA,EAAkB,OAAO,eAAiB,OAAO,eAAe,OAAS,SAAyB,EAAG,GAEnG,OADA,EAAE,UAAY,EACP,CACT,EACO,EAAgB,EAAG,EAC5B,CCLe,SAAS,EAAU,EAAU,GAC1C,GAA0B,oBAAf,GAA4C,OAAf,EACtC,MAAM,IAAI,UAAU,sDAGtB,EAAS,UAAY,OAAO,OAAO,GAAc,EAAW,UAAW,CACrE,YAAa,CACX,MAAO,EACP,UAAU,EACV,cAAc,KAGlB,OAAO,eAAe,EAAU,YAAa,CAC3C,UAAU,IAER,GAAY,EAAe,EAAU,EAC3C,CCjBe,SAAS,EAAgB,GAItC,OAHA,EAAkB,OAAO,eAAiB,OAAO,eAAe,OAAS,SAAyB,GAChG,OAAO,EAAE,WAAa,OAAO,eAAe,EAC9C,EACO,EAAgB,EACzB,CCLe,SAAS,IACtB,GAAuB,qBAAZ,UAA4B,QAAQ,UAAW,OAAO,EACjE,GAAI,QAAQ,UAAU,KAAM,OAAO,EACnC,GAAqB,oBAAV,MAAsB,OAAO,EAExC,IAEE,OADA,QAAQ,UAAU,QAAQ,KAAK,QAAQ,UAAU,QAAS,IAAI,WAAa,MACpE,CACT,CAAE,MAAO,GACP,OAAO,CACT,CACF,CCXe,SAAS,EAAQ,GAG9B,OAAO,EAAU,mBAAqB,QAAU,iBAAmB,OAAO,SAAW,SAAU,GAC7F,cAAc,CAChB,EAAI,SAAU,GACZ,OAAO,GAAO,mBAAqB,QAAU,EAAI,cAAgB,QAAU,IAAQ,OAAO,UAAY,gBAAkB,CAC1H,EAAG,EAAQ,EACb,CCNe,SAAS,EAA2B,EAAM,GACvD,GAAI,IAA2B,WAAlB,EAAQ,IAAsC,oBAAT,GAChD,OAAO,EACF,QAAa,IAAT,EACT,MAAM,IAAI,UAAU,4DAGtB,OCTa,SAAgC,GAC7C,QAAa,IAAT,EACF,MAAM,IAAI,eAAe,6DAG3B,OAAO,CACT,CDGS,CAAsB,EAC/B,CEPe,SAAS,EAAa,GACnC,IAAI,EAA4B,IAChC,OAAO,WACL,IACI,EADA,EAAQ,EAAe,GAG3B,GAAI,EAA2B,CAC7B,IAAI,EAAY,EAAe,MAAM,YACrC,EAAS,QAAQ,UAAU,EAAO,UAAW,EAC/C,MACE,EAAS,EAAM,MAAM,KAAM,WAG7B,OAAO,EAA0B,KAAM,EACzC,CACF,CChBe,SAAS,EAAW,EAAQ,EAAM,GAc/C,OAZE,EADE,IACW,QAAQ,UAAU,OAElB,SAAoB,EAAQ,EAAM,GAC7C,IAAI,EAAI,CAAC,MACT,EAAE,KAAK,MAAM,EAAG,GAChB,IACI,EAAW,IADG,SAAS,KAAK,MAAM,EAAQ,IAG9C,OADI,GAAO,EAAe,EAAU,EAAM,WACnC,CACT,EAGK,EAAW,MAAM,KAAM,UAChC,CCbe,SAAS,EAAiB,GACvC,IAAI,EAAwB,oBAAR,IAAqB,IAAI,SAAQ,EA8BrD,OA5BA,EAAmB,SAA0B,GAC3C,GAAc,OAAV,ICRkC,EDQE,GCPsB,IAAzD,SAAS,SAAS,KAAK,GAAI,QAAQ,kBDOQ,OAAO,ECR5C,IAA2B,EDUtC,GAAqB,oBAAV,EACT,MAAM,IAAI,UAAU,sDAGtB,GAAsB,qBAAX,EAAwB,CACjC,GAAI,EAAO,IAAI,GAAQ,OAAO,EAAO,IAAI,GAEzC,EAAO,IAAI,EAAO,EACpB,CAEA,SAAS,IACP,OAAO,EAAU,EAAO,UAAW,EAAe,MAAM,YAC1D,CAUA,OARA,EAAQ,UAAY,OAAO,OAAO,EAAM,UAAW,CACjD,YAAa,CACX,MAAO,EACP,YAAY,EACZ,UAAU,EACV,cAAc,KAGX,EAAe,EAAS,EACjC,EAEO,EAAiB,EAC1B,CE5BO,ICeM,EAdI,SAAC,GACC,IAAf,IAAI,EAAM,EAAK,mBADQ,EAAI,iCAAJ,EAAI,kBAK3B,OAHI,EAAK,OAAS,IACd,GAAO,OAAJ,OAAW,KAAK,UAAU,KAE1B,CACX,ECGM,EAAY,8BASd,WAAY,EAAW,GAAS,gBAC5B,IAAM,EAAU,EAAiB,EAAW,GAGrB,OAFvB,cAAM,IACD,KAAO,EACZ,EAAK,QAAU,EAAQ,CAC3B,CAAC,YAda,CAcb,EAdsB,QCPrB,EAAsB,IAAI,ICHhC,ICAI,EDAE,EAAoB,CACtB,gBAAiB,kBACjB,SAAU,cACV,OAAQ,UACR,QAAS,UACT,OAAgC,qBAAjB,aAA+B,aAAa,MAAQ,IAEjE,EAAmB,SAAC,GACtB,MAAO,CAAC,EAAkB,OAAQ,EAAW,EAAkB,QAC1D,QAAO,SAAC,GAAK,OAAK,GAAS,EAAM,OAAS,CAAC,IAC3C,KAAK,IACd,EAMa,EAWQ,SAAC,GACd,OAAO,GAAiB,EAAiB,EAAkB,SAC/D,EAbS,EAiBO,SAAC,GACb,OAAO,GAAiB,EAAiB,EAAkB,QAC/D,EE3CW,SAAS,IAItB,EAAsB,WACpB,OAAO,CACT,EAEA,IAAI,EAAU,CAAC,EACX,EAAK,OAAO,UACZ,EAAS,EAAG,eACZ,EAAU,mBAAqB,OAAS,OAAS,CAAC,EAClD,EAAiB,EAAQ,UAAY,aACrC,EAAsB,EAAQ,eAAiB,kBAC/C,EAAoB,EAAQ,aAAe,gBAE/C,SAAS,EAAO,EAAK,EAAK,GACxB,OAAO,OAAO,eAAe,EAAK,EAAK,CACrC,MAAO,EACP,YAAY,EACZ,cAAc,EACd,UAAU,IACR,EAAI,EACV,CAEA,IACE,EAAO,CAAC,EAAG,GACb,CAAE,MAAO,GACP,EAAS,SAAgB,EAAK,EAAK,GACjC,OAAO,EAAI,GAAO,CACpB,CACF,CAEA,SAAS,EAAK,EAAS,EAAS,EAAM,GACpC,IAAI,EAAiB,GAAW,EAAQ,qBAAqB,EAAY,EAAU,EAC/E,EAAY,OAAO,OAAO,EAAe,WACzC,EAAU,IAAI,EAAQ,GAAe,IACzC,OAAO,EAAU,QAAU,SAAU,EAAS,EAAM,GAClD,IAAI,EAAQ,iBACZ,OAAO,SAAU,EAAQ,GACvB,GAAI,cAAgB,EAAO,MAAM,IAAI,MAAM,gCAE3C,GAAI,cAAgB,EAAO,CACzB,GAAI,UAAY,EAAQ,MAAM,EAC9B,OAAO,GACT,CAEA,IAAK,EAAQ,OAAS,EAAQ,EAAQ,IAAM,IAAO,CACjD,IAAI,EAAW,EAAQ,SAEvB,GAAI,EAAU,CACZ,IAAI,EAAiB,EAAoB,EAAU,GAEnD,GAAI,EAAgB,CAClB,GAAI,IAAmB,EAAkB,SACzC,OAAO,CACT,CACF,CAEA,GAAI,SAAW,EAAQ,OAAQ,EAAQ,KAAO,EAAQ,MAAQ,EAAQ,SAAS,GAAI,UAAY,EAAQ,OAAQ,CAC7G,GAAI,mBAAqB,EAAO,MAAM,EAAQ,YAAa,EAAQ,IACnE,EAAQ,kBAAkB,EAAQ,IACpC,KAAO,WAAa,EAAQ,QAAU,EAAQ,OAAO,SAAU,EAAQ,KACvE,EAAQ,YACR,IAAI,EAAS,EAAS,EAAS,EAAM,GAErC,GAAI,WAAa,EAAO,KAAM,CAC5B,GAAI,EAAQ,EAAQ,KAAO,YAAc,iBAAkB,EAAO,MAAQ,EAAkB,SAC5F,MAAO,CACL,MAAO,EAAO,IACd,KAAM,EAAQ,KAElB,CAEA,UAAY,EAAO,OAAS,EAAQ,YAAa,EAAQ,OAAS,QAAS,EAAQ,IAAM,EAAO,IAClG,CACF,CACF,CAxC2B,CAwCzB,EAAS,EAAM,GAAU,CAC7B,CAEA,SAAS,EAAS,EAAI,EAAK,GACzB,IACE,MAAO,CACL,KAAM,SACN,IAAK,EAAG,KAAK,EAAK,GAEtB,CAAE,MAAO,GACP,MAAO,CACL,KAAM,QACN,IAAK,EAET,CACF,CAEA,EAAQ,KAAO,EACf,IAAI,EAAmB,CAAC,EAExB,SAAS,IAAa,CAEtB,SAAS,IAAqB,CAE9B,SAAS,IAA8B,CAEvC,IAAI,EAAoB,CAAC,EACzB,EAAO,EAAmB,GAAgB,WACxC,OAAO,IACT,IACA,IAAI,EAAW,OAAO,eAClB,EAA0B,GAAY,EAAS,EAAS,EAAO,MACnE,GAA2B,IAA4B,GAAM,EAAO,KAAK,EAAyB,KAAoB,EAAoB,GAC1I,IAAI,EAAK,EAA2B,UAAY,EAAU,UAAY,OAAO,OAAO,GAEpF,SAAS,EAAsB,GAC7B,CAAC,OAAQ,QAAS,UAAU,SAAQ,SAAU,GAC5C,EAAO,EAAW,GAAQ,SAAU,GAClC,OAAO,KAAK,QAAQ,EAAQ,EAC9B,GACF,GACF,CAEA,SAAS,EAAc,EAAW,GAChC,SAAS,EAAO,EAAQ,EAAK,EAAS,GACpC,IAAI,EAAS,EAAS,EAAU,GAAS,EAAW,GAEpD,GAAI,UAAY,EAAO,KAAM,CAC3B,IAAI,EAAS,EAAO,IAChB,EAAQ,EAAO,MACnB,OAAO,GAAS,UAAY,EAAQ,IAAU,EAAO,KAAK,EAAO,WAAa,EAAY,QAAQ,EAAM,SAAS,MAAK,SAAU,GAC9H,EAAO,OAAQ,EAAO,EAAS,EACjC,IAAG,SAAU,GACX,EAAO,QAAS,EAAK,EAAS,EAChC,IAAK,EAAY,QAAQ,GAAO,MAAK,SAAU,GAC7C,EAAO,MAAQ,EAAW,EAAQ,EACpC,IAAG,SAAU,GACX,OAAO,EAAO,QAAS,EAAO,EAAS,EACzC,GACF,CAEA,EAAO,EAAO,IAChB,CAEA,IAAI,EAEJ,KAAK,QAAU,SAAU,EAAQ,GAC/B,SAAS,IACP,OAAO,IAAI,GAAY,SAAU,EAAS,GACxC,EAAO,EAAQ,EAAK,EAAS,EAC/B,GACF,CAEA,OAAO,EAAkB,EAAkB,EAAgB,KAAK,EAA4B,GAA8B,GAC5H,CACF,CAEA,SAAS,EAAoB,EAAU,GACrC,IAAI,EAAS,EAAS,SAAS,EAAQ,QAEvC,QAAI,IAAc,EAAQ,CACxB,GAAI,EAAQ,SAAW,KAAM,UAAY,EAAQ,OAAQ,CACvD,GAAI,EAAS,SAAiB,SAAM,EAAQ,OAAS,SAAU,EAAQ,SAAM,EAAW,EAAoB,EAAU,GAAU,UAAY,EAAQ,QAAS,OAAO,EACpK,EAAQ,OAAS,QAAS,EAAQ,IAAM,IAAI,UAAU,iDACxD,CAEA,OAAO,CACT,CAEA,IAAI,EAAS,EAAS,EAAQ,EAAS,SAAU,EAAQ,KACzD,GAAI,UAAY,EAAO,KAAM,OAAO,EAAQ,OAAS,QAAS,EAAQ,IAAM,EAAO,IAAK,EAAQ,SAAW,KAAM,EACjH,IAAI,EAAO,EAAO,IAClB,OAAO,EAAO,EAAK,MAAQ,EAAQ,EAAS,YAAc,EAAK,MAAO,EAAQ,KAAO,EAAS,QAAS,WAAa,EAAQ,SAAW,EAAQ,OAAS,OAAQ,EAAQ,SAAM,GAAY,EAAQ,SAAW,KAAM,GAAoB,GAAQ,EAAQ,OAAS,QAAS,EAAQ,IAAM,IAAI,UAAU,oCAAqC,EAAQ,SAAW,KAAM,EACrW,CAEA,SAAS,EAAa,GACpB,IAAI,EAAQ,CACV,OAAQ,EAAK,IAEf,KAAK,IAAS,EAAM,SAAW,EAAK,IAAK,KAAK,IAAS,EAAM,WAAa,EAAK,GAAI,EAAM,SAAW,EAAK,IAAK,KAAK,WAAW,KAAK,EACrI,CAEA,SAAS,EAAc,GACrB,IAAI,EAAS,EAAM,YAAc,CAAC,EAClC,EAAO,KAAO,gBAAiB,EAAO,IAAK,EAAM,WAAa,CAChE,CAEA,SAAS,EAAQ,GACf,KAAK,WAAa,CAAC,CACjB,OAAQ,SACN,EAAY,QAAQ,EAAc,MAAO,KAAK,OAAM,EAC1D,CAEA,SAAS,EAAO,GACd,GAAI,EAAU,CACZ,IAAI,EAAiB,EAAS,GAC9B,GAAI,EAAgB,OAAO,EAAe,KAAK,GAC/C,GAAI,mBAAqB,EAAS,KAAM,OAAO,EAE/C,IAAK,MAAM,EAAS,QAAS,CAC3B,IAAI,GAAK,EACL,EAAO,SAAS,IAClB,OAAS,EAAI,EAAS,QACpB,GAAI,EAAO,KAAK,EAAU,GAAI,OAAO,EAAK,MAAQ,EAAS,GAAI,EAAK,MAAO,EAAI,EAGjF,OAAO,EAAK,WAAQ,EAAW,EAAK,MAAO,EAAI,CACjD,EAEA,OAAO,EAAK,KAAO,CACrB,CACF,CAEA,MAAO,CACL,KAAM,EAEV,CAEA,SAAS,IACP,MAAO,CACL,WAAO,EACP,MAAM,EAEV,CAEA,OAAO,EAAkB,UAAY,EAA4B,EAAO,EAAI,cAAe,GAA6B,EAAO,EAA4B,cAAe,GAAoB,EAAkB,YAAc,EAAO,EAA4B,EAAmB,qBAAsB,EAAQ,oBAAsB,SAAU,GAChV,IAAI,EAAO,mBAAqB,GAAU,EAAO,YACjD,QAAS,IAAS,IAAS,GAAqB,uBAAyB,EAAK,aAAe,EAAK,MACpG,EAAG,EAAQ,KAAO,SAAU,GAC1B,OAAO,OAAO,eAAiB,OAAO,eAAe,EAAQ,IAA+B,EAAO,UAAY,EAA4B,EAAO,EAAQ,EAAmB,sBAAuB,EAAO,UAAY,OAAO,OAAO,GAAK,CAC5O,EAAG,EAAQ,MAAQ,SAAU,GAC3B,MAAO,CACL,QAAS,EAEb,EAAG,EAAsB,EAAc,WAAY,EAAO,EAAc,UAAW,GAAqB,WACtG,OAAO,IACT,IAAI,EAAQ,cAAgB,EAAe,EAAQ,MAAQ,SAAU,EAAS,EAAS,EAAM,EAAa,QACxG,IAAW,IAAgB,EAAc,SACzC,IAAI,EAAO,IAAI,EAAc,EAAK,EAAS,EAAS,EAAM,GAAc,GACxE,OAAO,EAAQ,oBAAoB,GAAW,EAAO,EAAK,OAAO,MAAK,SAAU,GAC9E,OAAO,EAAO,KAAO,EAAO,MAAQ,EAAK,MAC3C,GACF,EAAG,EAAsB,GAAK,EAAO,EAAI,EAAmB,aAAc,EAAO,EAAI,GAAgB,WACnG,OAAO,IACT,IAAI,EAAO,EAAI,YAAY,WACzB,MAAO,oBACT,IAAI,EAAQ,KAAO,SAAU,GAC3B,IAAI,EAAO,GAEX,IAAK,IAAI,KAAO,EACd,EAAK,KAAK,GAGZ,OAAO,EAAK,UAAW,SAAS,IAC9B,KAAO,EAAK,QAAS,CACnB,IAAI,EAAM,EAAK,MACf,GAAI,KAAO,EAAQ,OAAO,EAAK,MAAQ,EAAK,EAAK,MAAO,EAAI,CAC9D,CAEA,OAAO,EAAK,MAAO,EAAI,CACzB,CACF,EAAG,EAAQ,OAAS,EAAQ,EAAQ,UAAY,CAC9C,YAAa,EACb,MAAO,SAAe,GACpB,GAAI,KAAK,KAAO,EAAG,KAAK,KAAO,EAAG,KAAK,KAAO,KAAK,WAAQ,EAAW,KAAK,MAAO,EAAI,KAAK,SAAW,KAAM,KAAK,OAAS,OAAQ,KAAK,SAAM,EAAW,KAAK,WAAW,QAAQ,IAAiB,EAAe,IAAK,IAAI,KAAQ,KAC/N,MAAQ,EAAK,OAAO,IAAM,EAAO,KAAK,KAAM,KAAU,OAAO,EAAK,MAAM,MAAQ,KAAK,QAAQ,EAEjG,EACA,KAAM,WACJ,KAAK,MAAO,EACZ,IAAI,EAAa,KAAK,WAAW,GAAG,WACpC,GAAI,UAAY,EAAW,KAAM,MAAM,EAAW,IAClD,OAAO,KAAK,IACd,EACA,kBAAmB,SAA2B,GAC5C,GAAI,KAAK,KAAM,MAAM,EACrB,IAAI,EAAU,KAEd,SAAS,EAAO,EAAK,GACnB,OAAO,EAAO,KAAO,QAAS,EAAO,IAAM,EAAW,EAAQ,KAAO,EAAK,IAAW,EAAQ,OAAS,OAAQ,EAAQ,SAAM,KAAc,CAC5I,CAEA,IAAK,IAAI,EAAI,KAAK,WAAW,OAAS,EAAG,GAAK,IAAK,EAAG,CACpD,IAAI,EAAQ,KAAK,WAAW,GACxB,EAAS,EAAM,WACnB,GAAI,SAAW,EAAM,OAAQ,OAAO,EAAO,OAE3C,GAAI,EAAM,QAAU,KAAK,KAAM,CAC7B,IAAI,EAAW,EAAO,KAAK,EAAO,YAC9B,EAAa,EAAO,KAAK,EAAO,cAEpC,GAAI,GAAY,EAAY,CAC1B,GAAI,KAAK,KAAO,EAAM,SAAU,OAAO,EAAO,EAAM,UAAU,GAC9D,GAAI,KAAK,KAAO,EAAM,WAAY,OAAO,EAAO,EAAM,WACxD,MAAO,GAAI,GACT,GAAI,KAAK,KAAO,EAAM,SAAU,OAAO,EAAO,EAAM,UAAU,OACzD,CACL,IAAK,EAAY,MAAM,IAAI,MAAM,0CACjC,GAAI,KAAK,KAAO,EAAM,WAAY,OAAO,EAAO,EAAM,WACxD,CACF,CACF,CACF,EACA,OAAQ,SAAgB,EAAM,GAC5B,IAAK,IAAI,EAAI,KAAK,WAAW,OAAS,EAAG,GAAK,IAAK,EAAG,CACpD,IAAI,EAAQ,KAAK,WAAW,GAE5B,GAAI,EAAM,QAAU,KAAK,MAAQ,EAAO,KAAK,EAAO,eAAiB,KAAK,KAAO,EAAM,WAAY,CACjG,IAAI,EAAe,EACnB,KACF,CACF,CAEA,IAAiB,UAAY,GAAQ,aAAe,IAAS,EAAa,QAAU,GAAO,GAAO,EAAa,aAAe,EAAe,MAC7I,IAAI,EAAS,EAAe,EAAa,WAAa,CAAC,EACvD,OAAO,EAAO,KAAO,EAAM,EAAO,IAAM,EAAK,GAAgB,KAAK,OAAS,OAAQ,KAAK,KAAO,EAAa,WAAY,GAAoB,KAAK,SAAS,EAC5J,EACA,SAAU,SAAkB,EAAQ,GAClC,GAAI,UAAY,EAAO,KAAM,MAAM,EAAO,IAC1C,MAAO,UAAY,EAAO,MAAQ,aAAe,EAAO,KAAO,KAAK,KAAO,EAAO,IAAM,WAAa,EAAO,MAAQ,KAAK,KAAO,KAAK,IAAM,EAAO,IAAK,KAAK,OAAS,SAAU,KAAK,KAAO,OAAS,WAAa,EAAO,MAAQ,IAAa,KAAK,KAAO,GAAW,CACtQ,EACA,OAAQ,SAAgB,GACtB,IAAK,IAAI,EAAI,KAAK,WAAW,OAAS,EAAG,GAAK,IAAK,EAAG,CACpD,IAAI,EAAQ,KAAK,WAAW,GAC5B,GAAI,EAAM,aAAe,EAAY,OAAO,KAAK,SAAS,EAAM,WAAY,EAAM,UAAW,EAAc,GAAQ,CACrH,CACF,EACA,MAAS,SAAgB,GACvB,IAAK,IAAI,EAAI,KAAK,WAAW,OAAS,EAAG,GAAK,IAAK,EAAG,CACpD,IAAI,EAAQ,KAAK,WAAW,GAE5B,GAAI,EAAM,SAAW,EAAQ,CAC3B,IAAI,EAAS,EAAM,WAEnB,GAAI,UAAY,EAAO,KAAM,CAC3B,IAAI,EAAS,EAAO,IACpB,EAAc,EAChB,CAEA,OAAO,CACT,CACF,CAEA,MAAM,IAAI,MAAM,wBAClB,EACA,cAAe,SAAuB,EAAU,EAAY,GAC1D,OAAO,KAAK,SAAW,CACrB,SAAU,EAAO,GACjB,WAAY,EACZ,QAAS,GACR,SAAW,KAAK,SAAW,KAAK,SAAM,GAAY,CACvD,GACC,CACL,CC/VA,SAAS,EAAmB,EAAK,EAAS,EAAQ,EAAO,EAAQ,EAAK,GACpE,IACE,IAAI,EAAO,EAAI,GAAK,GAChB,EAAQ,EAAK,KACnB,CAAE,MAAO,GAEP,YADA,EAAO,EAET,CAEI,EAAK,KACP,EAAQ,GAER,QAAQ,QAAQ,GAAO,KAAK,EAAO,EAEvC,CAEe,SAAS,EAAkB,GACxC,OAAO,WACL,IAAI,EAAO,KACP,EAAO,UACX,OAAO,IAAI,SAAQ,SAAU,EAAS,GACpC,IAAI,EAAM,EAAG,MAAM,EAAM,GAEzB,SAAS,EAAM,GACb,EAAmB,EAAK,EAAS,EAAQ,EAAO,EAAQ,OAAQ,EAClE,CAEA,SAAS,EAAO,GACd,EAAmB,EAAK,EAAS,EAAQ,EAAO,EAAQ,QAAS,EACnE,CAEA,OAAM,EACR,GACF,CACF,CClCe,SAAS,EAAkB,EAAK,IAClC,MAAP,GAAe,EAAM,EAAI,UAAQ,EAAM,EAAI,QAE/C,IAAK,IAAI,EAAI,EAAG,EAAO,IAAI,MAAM,GAAM,EAAI,EAAK,IAC9C,EAAK,GAAK,EAAI,GAGhB,OAAO,CACT,CCPe,SAAS,EAA4B,EAAG,GACrD,GAAK,EAAL,CACA,GAAiB,kBAAN,EAAgB,OAAO,EAAiB,EAAG,GACtD,IAAI,EAAI,OAAO,UAAU,SAAS,KAAK,GAAG,MAAM,GAAI,GAEpD,MADU,WAAN,GAAkB,EAAE,cAAa,EAAI,EAAE,YAAY,MAC7C,QAAN,GAAqB,QAAN,EAAoB,MAAM,KAAK,GACxC,cAAN,GAAqB,2CAA2C,KAAK,GAAW,EAAiB,EAAG,QAAxG,CALc,CAMhB,CCPe,SAAS,EAA2B,EAAG,GACpD,IAAI,EAAuB,qBAAX,QAA0B,EAAE,OAAO,WAAa,EAAE,cAElE,IAAK,EAAI,CACP,GAAI,MAAM,QAAQ,KAAO,EAAK,EAA2B,KAAO,GAAkB,GAAyB,kBAAb,EAAE,OAAqB,CAC/G,IAAI,EAAI,GACZ,IAAI,EAAI,EAEJ,EAAI,WAAc,EAEtB,MAAO,CACL,EAAG,EACH,EAAG,WACD,OAAI,GAAK,EAAE,OAAe,CACxB,MAAM,GAED,CACL,MAAM,EACN,MAAO,EAAE,KAEb,EACA,EAAG,SAAW,GACZ,MAAM,CACR,EACA,EAAG,EAEP,CAEA,MAAM,IAAI,UAAU,wIACtB,CAEA,IAEI,EAFA,GAAmB,EACnB,GAAS,EAEb,MAAO,CACL,EAAG,WACD,EAAK,EAAG,KAAK,EACf,EACA,EAAG,WACD,IAAI,EAAO,EAAG,OAEd,OADA,EAAmB,EAAK,KACjB,CACT,EACA,EAAG,SAAW,GACZ,GAAS,EACT,EAAM,CACR,EACA,EAAG,WACD,IACO,GAAoC,MAAhB,EAAW,QAAW,EAAW,QAC5D,CAAE,QACA,GAAI,EAAQ,MAAM,CACpB,CACF,EAEJ,CCjDA,SAAS,EAAY,EAAS,GAC1B,IACgC,EAD1B,EAAc,IAAI,IAAI,GAAS,IACjB,GAAY,IAAhC,IAAK,EAAL,qBAAkC,KAAvB,EAAK,QACZ,EAAY,aAAa,OAAO,EACpC,CAAC,+BACD,OAAO,EAAY,IACvB,CACA,SAYe,EAAuB,EAAD,mDAgBpC,OAhBoC,cAArC,WAAsC,EAAO,EAAS,EAAc,GAAY,mFAE5E,GADM,EAAqB,EAAY,EAAQ,IAAK,GAEhD,EAAQ,MAAQ,EAAkB,yCAC3B,EAAM,MAAM,EAAS,IAAa,OAG6C,OAApF,EAAc,OAAO,OAAO,OAAO,OAAO,CAAC,EAAG,GAAe,CAAE,cAAc,IAAO,SAClE,EAAM,KAAK,EAAS,GAAY,OAAlD,EAAY,EAAH,SACQ,GAAS,0DACuC,GAD5D,EAAQ,QACT,EAAsB,EAAY,EAAS,IAAK,GAClD,IAAuB,EAAmB,0CACnC,EAAM,MAAM,EAAU,IAAa,2OAIrD,sBNxBD,SAAS,IACL,QAAsB,IAAlB,EAA6B,CAC7B,IAAM,EAAe,IAAI,SAAS,IAClC,GAAI,SAAU,EACV,IACI,IAAI,SAAS,EAAa,MAC1B,GAAgB,CACpB,CACA,MAAO,GACH,GAAgB,CACpB,CAEJ,GAAgB,CACpB,CACA,OAAO,CACX,COrBO,SAAS,EAAY,GAEnB,EAAQ,MAAK,WAAQ,GAC9B,CCPA,IAQM,EAAQ,GAIV,aAAc,qBACV,KAAK,QAAU,IAAI,SAAQ,SAAC,EAAS,GACjC,EAAK,QAAU,EACf,EAAK,OAAS,CAClB,GACJ,ICfJ,SAOe,IAA0B,4CAcxC,OAdwC,cAAzC,wFACQ,EAGH,IACsB,GAAmB,yDAAvB,OAAR,EAAQ,iBACT,IAAU,OACZ,EAEH,8IAED,EAEH,iEACJ,sBCvBD,IAAM,EAAiB,SAAC,GAIpB,OAHe,IAAI,IAAI,OAAO,GAAM,SAAS,MAG/B,KAAK,QAAQ,IAAI,OAAO,IAAD,OAAK,SAAS,SAAW,GAClE,ECEO,SAAS,EAAQ,GACpB,OAAO,IAAI,SAAQ,SAAC,GAAO,OAAK,WAAW,EAAS,EAAG,GAC3D,CCDA,SAAS,EAAU,EAAO,GACtB,IAAM,EAAgB,IAEtB,OADA,EAAM,UAAU,GACT,CACX,CCVA,SAmBe,EAAa,EAAD,+CA0B1B,OA1B0B,cAA3B,WAA4B,EAAU,GAAQ,iFAMzC,GALG,EAAS,KAET,EAAS,MACH,EAAc,IAAI,IAAI,EAAS,KACrC,EAAS,EAAY,QAErB,IAAW,KAAK,SAAS,OAAM,sBACzB,IAAI,EAAa,6BAA8B,CAAE,OAAA,IAAS,OAapE,GAXM,EAAiB,EAAS,QAE1B,EAAe,CACjB,QAAS,IAAI,QAAQ,EAAe,SACpC,OAAQ,EAAe,OACvB,WAAY,EAAe,YAGzB,EAAuB,EAAW,EAAS,GAAgB,GAIpD,IAAoC,sBAC3C,EAAe,KAAI,yCACb,EAAe,OAAM,4BAFvB,OAAJ,EAAO,EAAH,qBAGH,IAAI,SAAS,EAAM,IAAqB,6CAClD,sBCvDc,SAAS,EAAgB,EAAK,EAAK,GAYhD,OAXI,KAAO,EACT,OAAO,eAAe,EAAK,EAAK,CAC9B,MAAO,EACP,YAAY,EACZ,cAAc,EACd,UAAU,IAGZ,EAAI,GAAO,EAGN,CACT,CCXA,SAAS,EAAQ,EAAQ,GACvB,IAAI,EAAO,OAAO,KAAK,GAEvB,GAAI,OAAO,sBAAuB,CAChC,IAAI,EAAU,OAAO,sBAAsB,GAC3C,IAAmB,EAAU,EAAQ,QAAO,SAAU,GACpD,OAAO,OAAO,yBAAyB,EAAQ,GAAK,UACtD,KAAK,EAAK,KAAK,MAAM,EAAM,EAC7B,CAEA,OAAO,CACT,CAEe,SAAS,EAAe,GACrC,IAAK,IAAI,EAAI,EAAG,EAAI,UAAU,OAAQ,IAAK,CACzC,IAAI,EAAS,MAAQ,UAAU,GAAK,UAAU,GAAK,CAAC,EACpD,EAAI,EAAI,EAAQ,OAAO,IAAS,GAAI,SAAQ,SAAU,GACpD,EAAe,EAAQ,EAAK,EAAO,GACrC,IAAK,OAAO,0BAA4B,OAAO,iBAAiB,EAAQ,OAAO,0BAA0B,IAAW,EAAQ,OAAO,IAAS,SAAQ,SAAU,GAC5J,OAAO,eAAe,EAAQ,EAAK,OAAO,yBAAyB,EAAQ,GAC7E,GACF,CAEA,OAAO,CACT,CC1BA,IAEI,EACA,EAHE,EAAgB,SAAC,EAAQ,GAAY,OAAK,EAAa,MAAK,SAAC,GAAC,OAAK,aAAkB,CAAC,GAAC,EAwB7F,IAAM,EAAmB,IAAI,QACvB,EAAqB,IAAI,QACzB,EAA2B,IAAI,QAC/B,EAAiB,IAAI,QACrB,EAAwB,IAAI,QA0DlC,IAAI,EAAgB,CAChB,IAAG,SAAC,EAAQ,EAAM,GACd,GAAI,aAAkB,eAAgB,CAElC,GAAa,SAAT,EACA,OAAO,EAAmB,IAAI,GAElC,GAAa,qBAAT,EACA,OAAO,EAAO,kBAAoB,EAAyB,IAAI,GAGnE,GAAa,UAAT,EACA,OAAO,EAAS,iBAAiB,QAC3B,EACA,EAAS,YAAY,EAAS,iBAAiB,GAE7D,CAEA,OAAO,GAAK,EAAO,GACvB,EACA,IAAG,SAAC,EAAQ,EAAM,GAEd,OADA,EAAO,GAAQ,GACR,CACX,EACA,IAAG,SAAC,EAAQ,GACR,OAAI,aAAkB,iBACR,SAAT,GAA4B,UAAT,IAGjB,KAAQ,CACnB,GAKJ,SAAS,EAAa,GAIlB,OAAI,IAAS,YAAY,UAAU,aAC7B,qBAAsB,eAAe,WA7GnC,IACH,EAAuB,CACpB,UAAU,UAAU,QACpB,UAAU,UAAU,SACpB,UAAU,UAAU,sBAqHE,SAAS,GAC5B,WAAmB,2BAAN,EAAI,yBAAJ,EAAI,gBAIpB,OADA,EAAK,MAAM,GAAO,MAAO,GAClB,GAAK,EAAiB,IAAI,MACrC,EAEG,WAAmB,2BAAN,EAAI,yBAAJ,EAAI,gBAGpB,OAAO,GAAK,EAAK,MAAM,GAAO,MAAO,GACzC,EAvBW,SAAU,GAAqB,2BAAN,EAAI,iCAAJ,EAAI,kBAChC,IAAM,EAAK,EAAK,KAAI,MAAT,EAAI,CAAM,GAAO,MAAO,GAAU,OAAK,IAElD,OADA,EAAyB,IAAI,EAAI,EAAW,KAAO,EAAW,OAAS,CAAC,IACjE,GAAK,EAChB,CAoBR,CACA,SAAS,GAAuB,GAC5B,MAAqB,oBAAV,EACA,EAAa,IAGpB,aAAiB,gBAhGzB,SAAwC,GAEpC,IAAI,EAAmB,IAAI,GAA3B,CAEA,IAAM,EAAO,IAAI,SAAQ,SAAC,EAAS,GAC/B,IAAM,EAAW,WACb,EAAG,oBAAoB,WAAY,GACnC,EAAG,oBAAoB,QAAS,GAChC,EAAG,oBAAoB,QAAS,EACpC,EACM,EAAW,WACb,IACA,GACJ,EACM,EAAQ,WACV,EAAO,EAAG,OAAS,IAAI,aAAa,aAAc,eAClD,GACJ,EACA,EAAG,iBAAiB,WAAY,GAChC,EAAG,iBAAiB,QAAS,GAC7B,EAAG,iBAAiB,QAAS,EACjC,IAEA,EAAmB,IAAI,EAAI,EApBjB,CAqBd,CAyEQ,CAA+B,GAC/B,EAAc,EAzJV,IACH,EAAoB,CACjB,YACA,eACA,SACA,UACA,kBAoJG,IAAI,MAAM,EAAO,GAErB,EACX,CACA,SAAS,GAAK,GAGV,GAAI,aAAiB,WACjB,OA3IR,SAA0B,GACtB,IAAM,EAAU,IAAI,SAAQ,SAAC,EAAS,GAClC,IAAM,EAAW,WACb,EAAQ,oBAAoB,UAAW,GACvC,EAAQ,oBAAoB,QAAS,EACzC,EACM,EAAU,WACZ,EAAQ,GAAK,EAAQ,SACrB,GACJ,EACM,EAAQ,WACV,EAAO,EAAQ,OACf,GACJ,EACA,EAAQ,iBAAiB,UAAW,GACpC,EAAQ,iBAAiB,QAAS,EACtC,IAcA,OAbA,EACK,MAAK,SAAC,GAGH,aAAiB,WACjB,EAAiB,IAAI,EAAO,EAGpC,IACK,OAAM,WAAQ,IAGnB,EAAsB,IAAI,EAAS,GAC5B,CACX,CA4Ge,CAAiB,GAG5B,GAAI,EAAe,IAAI,GACnB,OAAO,EAAe,IAAI,GAC9B,IAAM,EAAW,GAAuB,GAOxC,OAJI,IAAa,IACb,EAAe,IAAI,EAAO,GAC1B,EAAsB,IAAI,EAAU,IAEjC,CACX,CACA,IAAM,GAAS,SAAC,GAAK,OAAK,EAAsB,IAAI,EAAM,EC5K1D,SAAS,GAAO,EAAM,GAA0D,6DAAJ,CAAC,EAA5C,EAAO,EAAP,QAAS,EAAO,EAAP,QAAS,EAAQ,EAAR,SAAU,EAAU,EAAV,WACnD,EAAU,UAAU,KAAK,EAAM,GAC/B,EAAc,GAAK,GAgBzB,OAfI,GACA,EAAQ,iBAAiB,iBAAiB,SAAC,GACvC,EAAQ,GAAK,EAAQ,QAAS,EAAM,WAAY,EAAM,WAAY,GAAK,EAAQ,aACnF,IAEA,GACA,EAAQ,iBAAiB,WAAW,kBAAM,GAAS,IACvD,EACK,MAAK,SAAC,GACH,GACA,EAAG,iBAAiB,SAAS,kBAAM,GAAY,IAC/C,GACA,EAAG,iBAAiB,iBAAiB,kBAAM,GAAU,GAC7D,IACK,OAAM,WAAQ,IACZ,CACX,CAaA,IAAM,GAAc,CAAC,MAAO,SAAU,SAAU,aAAc,SACxD,GAAe,CAAC,MAAO,MAAO,SAAU,SACxC,GAAgB,IAAI,IAC1B,SAAS,GAAU,EAAQ,GACvB,GAAM,aAAkB,eAClB,KAAQ,IACM,kBAAT,EAFX,CAKA,GAAI,GAAc,IAAI,GAClB,OAAO,GAAc,IAAI,GAC7B,IAAM,EAAiB,EAAK,QAAQ,aAAc,IAC5C,EAAW,IAAS,EACpB,EAAU,GAAa,SAAS,GACtC,GAEE,KAAmB,EAAW,SAAW,gBAAgB,YACrD,GAAW,GAAY,SAAS,IAHtC,CAMA,IAAM,EAAM,6BAAG,WAAgB,GAAS,6FAGf,IADf,EAAK,KAAK,YAAY,EAAW,EAAU,YAAc,YAC3D,EAAS,EAAG,MAAK,WAHoB,EAAI,iCAAJ,EAAI,UAU7C,OANI,IACA,EAAS,EAAO,MAAM,EAAK,UAK/B,SACc,QAAQ,IAAI,EACtB,EAAA,GAAO,GAAe,QAAI,GAC1B,GAAW,EAAG,OAChB,uCAAE,IAAC,gDACR,gBAfW,sCAiBZ,OADA,GAAc,IAAI,EAAM,GACjB,CAlBP,CAXA,CA8BJ,CDuCI,ECtCS,SAAC,GAAQ,cACf,GAAQ,IACX,IAAK,SAAC,EAAQ,EAAM,GAAQ,OAAK,GAAU,EAAQ,IAAS,EAAS,IAAI,EAAQ,EAAM,EAAS,EAChG,IAAK,SAAC,EAAQ,GAAI,QAAO,GAAU,EAAQ,IAAS,EAAS,IAAI,EAAQ,EAAK,IDmC9D,CAAS,cE7GvB,GAAqB,gBACrB,GAAe,SAAC,GAClB,IAAM,EAAM,IAAI,IAAI,EAAiB,SAAS,MAE9C,OADA,EAAI,KAAO,GACJ,EAAI,IACf,EAMM,GAAoB,WAOtB,WAAY,GAAW,UACnB,KAAK,IAAM,KACX,KAAK,WAAa,CACtB,CAuJC,OAtJD,6BAOA,SAAW,GAKP,IAAM,EAAW,EAAG,kBAAkB,GAAoB,CAAE,QAAS,OAIrE,EAAS,YAAY,YAAa,YAAa,CAAE,QAAQ,IACzD,EAAS,YAAY,YAAa,YAAa,CAAE,QAAQ,GAC7D,GACA,uCAOA,SAA0B,GACtB,KAAK,WAAW,GACZ,KAAK,YDzBjB,SAAkB,GAAwB,IAAhB,GAAgB,uDAAJ,CAAC,GAAb,QAChB,EAAU,UAAU,eAAe,GACrC,GACA,EAAQ,iBAAiB,WAAW,kBAAM,GAAS,IAChD,GAAK,GAAS,MAAK,WAAe,GAC7C,CCqBiB,CAAS,KAAK,WAE3B,GACA,uDAMA,WAAmB,EAAK,GAAS,2EAU5B,OATD,EAAM,GAAa,GACb,EAAQ,CACV,IAAA,EACA,UAAA,EACA,UAAW,KAAK,WAIhB,GAAI,KAAK,OAAO,IACnB,SACgB,KAAK,QAAO,OAG3B,OAHI,EAAK,EAAH,KACF,EAAK,EAAG,YAAY,GAAoB,YAAa,CACvD,WAAY,YACd,SACI,EAAG,MAAM,IAAI,GAAM,wBACnB,EAAG,KAAI,iDAChB,qDAvBD,IAwBA,uDAQA,WAAmB,GAAG,yFACD,KAAK,QAAO,OAArB,OAAF,EAAK,EAAH,cACY,EAAG,IAAI,GAAoB,KAAK,OAAO,IAAK,OAArD,OAAL,EAAQ,EAAH,uBACM,OAAV,QAA4B,IAAV,OAAmB,EAAS,EAAM,WAAS,gDACvE,mDAZD,IAaA,wDAWA,WAAoB,EAAc,GAAQ,uGACrB,KAAK,QAAO,OAArB,OAAF,EAAK,EAAH,cACW,EACd,YAAY,IACZ,MAAM,MAAM,aACZ,WAAW,KAAM,QAAO,OAHzB,EAAS,EAAH,KAIJ,EAAkB,GACpB,EAAyB,EAAC,WACvB,EAAQ,CAAF,gBAsBR,OArBK,EAAS,EAAO,OAGX,YAAc,KAAK,aAGrB,GAAgB,EAAO,UAAY,GACnC,GAAY,GAA0B,EASvC,EAAgB,KAAK,EAAO,OAG5B,KAEP,UACc,EAAO,WAAU,QAAhC,EAAS,EAAH,4BAMJ,EAAc,GAAE,MACF,EAAe,0CAAnB,OAAL,EAAK,eACN,EAAG,OAAO,GAAoB,EAAM,IAAG,QAC7C,EAAY,KAAK,EAAM,KAAK,6DAEzB,GAAW,iDACrB,qDAtDD,IAuDA,oBAQA,SAAO,GAIH,OAAO,KAAK,WAAa,IAAM,GAAa,EAChD,GACA,gDAKA,iFACS,KAAK,IAAK,CAAF,+BACQ,GAxKb,qBAwK6B,EAAG,CAChC,QAAS,KAAK,0BAA0B,KAAK,QAC/C,OAFF,KAAK,IAAM,EAAH,qCAIL,KAAK,KAAG,gDAClB,kDAZD,MAYC,EAjKqB,GCDpB,GAAe,WAcjB,WAAY,GAAwB,IAAb,EAAS,UAAH,6CAAG,CAAC,EAAC,UAC9B,KAAK,YAAa,EAClB,KAAK,iBAAkB,EAgCvB,KAAK,YAAc,EAAO,WAC1B,KAAK,eAAiB,EAAO,cAC7B,KAAK,cAAgB,EAAO,aAC5B,KAAK,WAAa,EAClB,KAAK,gBAAkB,IAAI,GAAqB,EACpD,CA6FC,OA5FD,6DAGA,kGACQ,KAAK,WAAY,CAAF,eACa,OAA5B,KAAK,iBAAkB,EAAK,0BAMzB,OAHP,KAAK,YAAa,EACZ,EAAe,KAAK,eACpB,KAAK,MAA8B,IAAtB,KAAK,eAClB,EAAC,SACmB,KAAK,gBAAgB,cAAc,EAAc,KAAK,aAAY,OAA3E,OAAX,EAAc,EAAH,eAEG,KAAK,OAAO,KAAK,KAAK,YAAW,QAA/C,EAAQ,EAAH,SACO,GAAW,2DAAf,OAAH,EAAG,kBACJ,EAAM,OAAO,EAAK,KAAK,eAAc,iJAE3C,EAcJ,KAAK,YAAa,EACd,KAAK,kBACL,KAAK,iBAAkB,EACvB,EAAY,KAAK,kBACpB,iEACJ,kDArCD,IAsCA,0DAOA,WAAsB,GAAG,iEAQpB,gBACK,KAAK,gBAAgB,aAAa,EAAK,KAAK,OAAM,gDAC3D,mDAjBD,IAkBA,uDAWA,WAAmB,GAAG,4EACb,KAAK,eAAgB,CAAF,eACqB,eAInC,iCAEC,GAAK,uBAGY,KAAK,gBAAgB,aAAa,GAAI,OACC,OADzD,EAAY,EAAH,KACT,EAAkB,KAAK,MAA8B,IAAtB,KAAK,eAAqB,uBAC1C,IAAd,GAA0B,EAAY,GAAsB,iDAE1E,mDA1BD,IA2BA,iDAIA,8EAGiC,OAA7B,KAAK,iBAAkB,EAAM,SACvB,KAAK,gBAAgB,cAAc,KAAS,gDACrD,kDATD,MASC,EAlJgB,GChBN,SAAS,GAAe,EAAK,GAC1C,OCLa,SAAyB,GACtC,GAAI,MAAM,QAAQ,GAAM,OAAO,CACjC,CDGS,CAAe,IELT,SAA+B,EAAK,GACjD,IAAI,EAAY,MAAP,EAAc,KAAyB,qBAAX,QAA0B,EAAI,OAAO,WAAa,EAAI,cAE3F,GAAU,MAAN,EAAJ,CACA,IAII,EAAI,EAJJ,EAAO,GACP,GAAK,EACL,GAAK,EAIT,IACE,IAAK,EAAK,EAAG,KAAK,KAAQ,GAAM,EAAK,EAAG,QAAQ,QAC9C,EAAK,KAAK,EAAG,QAET,GAAK,EAAK,SAAW,GAH4B,GAAK,GAK9D,CAAE,MAAO,GACP,GAAK,EACL,EAAK,CACP,CAAE,QACA,IACO,GAAsB,MAAhB,EAAW,QAAW,EAAW,QAC9C,CAAE,QACA,GAAI,EAAI,MAAM,CAChB,CACF,CAEA,OAAO,CAxBe,CAyBxB,CFvBgC,CAAqB,EAAK,IAAM,EAA2B,EAAK,IGLjF,WACb,MAAM,IAAI,UAAU,4IACtB,CHGsG,EACtG,CIUA,IAuBM,GAAgB,WAYlB,aAAyB,WAAb,EAAS,UAAH,6CAAG,CAAC,EAAC,UAkBnB,KAAK,yBAAwB,6BAAG,iGAAkD,GAAzC,EAAK,EAAL,MAAO,EAAO,EAAP,QAAS,EAAS,EAAT,UAAW,EAAc,EAAd,eAC3C,CAAF,wCACR,MAAI,OAUf,GARM,EAAU,EAAK,qBAAqB,GAI1C,GADM,EAAkB,EAAK,oBAAoB,IACrB,iBAGtB,EAAsB,EAAgB,gBAAgB,EAAQ,KAChE,EACA,IACI,EAAM,UAAU,EACpB,CACA,MAAO,GACC,CAQR,CACH,yBACM,EAAU,EAAiB,MAAI,2CACzC,mDA5B4B,GAuC7B,KAAK,eAAc,6BAAG,yFAeyC,OAfhC,EAAS,EAAT,UAAW,EAAO,EAAP,QAehC,EAAkB,EAAK,oBAAoB,GAAU,SACrD,EAAgB,gBAAgB,EAAQ,KAAI,uBAC5C,EAAgB,gBAAe,2CACxC,mDAlBkB,GA4CnB,KAAK,QAAU,EACf,KAAK,eAAiB,EAAO,cAC7B,KAAK,kBAAoB,IAAI,IACzB,EAAO,mBCvInB,SAAoC,GAQhC,EAAoB,IAAI,EAI5B,CD4HY,EAA2B,kBAAM,EAAK,wBAAwB,GAEtE,CA6FC,OA5FD,sCASA,SAAoB,GAChB,GAAI,IAAc,IACd,MAAM,IAAI,EAAa,6BAE3B,IAAI,EAAkB,KAAK,kBAAkB,IAAI,GAKjD,OAJK,IACD,EAAkB,IAAI,GAAgB,EAAW,KAAK,SACtD,KAAK,kBAAkB,IAAI,EAAW,IAEnC,CACX,GACA,kCAMA,SAAqB,GACjB,IAAK,KAAK,eAEN,OAAO,EAKX,IAAM,EAAsB,KAAK,wBAAwB,GACzD,OAA4B,OAAxB,GAOG,GADK,KAAK,MACyC,IAAtB,KAAK,cAC7C,GACA,qCASA,SAAwB,GACpB,IAAK,EAAe,QAAQ,IAAI,QAC5B,OAAO,KAEX,IAAM,EAAa,EAAe,QAAQ,IAAI,QAExC,EADa,IAAI,KAAK,GACE,UAG9B,OAAI,MAAM,GACC,KAEJ,CACX,GACA,iEAgBA,4FAEI,IAC2C,KAAK,mBAAiB,yDAA3B,OAA2B,gBAArD,EAAS,KAAE,EAAe,cAC5B,KAAK,OAAO,OAAO,GAAU,uBAC7B,EAAgB,SAAQ,8IAGlC,KAAK,kBAAoB,IAAI,IAAM,gEACtC,kDAzBD,MAyBC,EApNiB,GEnCP,SAAS,GAAmB,GACzC,OCJa,SAA4B,GACzC,GAAI,MAAM,QAAQ,GAAM,OAAO,EAAiB,EAClD,CDES,CAAkB,IELZ,SAA0B,GACvC,GAAsB,qBAAX,QAAmD,MAAzB,EAAK,OAAO,WAA2C,MAAtB,EAAK,cAAuB,OAAO,MAAM,KAAK,EACtH,CFGmC,CAAgB,IAAQ,EAA2B,IGLvE,WACb,MAAM,IAAI,UAAU,uIACtB,CHG8F,EAC9F,QIcO,SAAS,GAAe,GAC3B,IAAK,EACD,MAAM,IAAI,EAAa,oCAAqC,CAAE,MAAA,IAIlE,GAAqB,kBAAV,EAEP,MAAO,CACH,UAFE,EAAY,IAAI,IAAI,EAAO,SAAS,OAElB,KACpB,IAAK,EAAU,MAGvB,IAOU,EAPF,EAAkB,EAAlB,SAAU,EAAQ,EAAR,IAClB,IAAK,EACD,MAAM,IAAI,EAAa,oCAAqC,CAAE,MAAA,IAIlE,IAAK,EAED,MAAO,CACH,UAFE,EAAY,IAAI,IAAI,EAAK,SAAS,OAEhB,KACpB,IAAK,EAAU,MAKvB,IAAM,EAAc,IAAI,IAAI,EAAK,SAAS,MACpC,EAAc,IAAI,IAAI,EAAK,SAAS,MAE1C,OADA,EAAY,aAAa,IAxCC,kBAwC0B,GAC7C,CACH,SAAU,EAAY,KACtB,IAAK,EAAY,KAEzB,CC/CA,IAMM,GAA2B,GAC7B,aAAc,qBACV,KAAK,YAAc,GACnB,KAAK,eAAiB,GACtB,KAAK,iBAAgB,6BAAG,uFAAS,EAAO,EAAP,SAAS,EAAK,EAAL,SAGlC,EAAM,gBAAkB,GAC3B,2CACJ,mDALoB,GAMrB,KAAK,yBAAwB,6BAAG,2FAc3B,OAdoC,EAAK,EAAL,MAAO,EAAK,EAAL,MAAO,EAAc,EAAd,eAChC,YAAf,EAAM,MACF,GACA,EAAM,iBACN,EAAM,2BAA2B,UAE3B,EAAM,EAAM,gBAAgB,IAC9B,EACA,EAAK,eAAe,KAAK,GAGzB,EAAK,YAAY,KAAK,IAGjC,kBACM,GAAc,2CACxB,mDAhB4B,EAiBjC,IC3BE,GAAsB,GACxB,cAAoC,WAAtB,EAAkB,EAAlB,mBAAkB,UAC5B,KAAK,mBAAkB,6BAAG,yFAKtB,OAL+B,EAAO,EAAP,QAAS,EAAM,EAAN,OAGlC,GAAuB,OAAX,QAA8B,IAAX,OAAoB,EAAS,EAAO,WACrE,EAAK,oBAAoB,kBAAkB,EAAQ,KACvD,kBACO,EACD,IAAI,QAAQ,EAAU,CAAE,QAAS,EAAQ,UACzC,GAAO,2CAChB,mDATsB,GAUvB,KAAK,oBAAsB,CAC/B,WCXJ,SAAS,GAAU,GACf,MAAwB,kBAAV,EAAqB,IAAI,QAAQ,GAAS,CAC5D,CACA,IASM,GAAe,WAiBjB,WAAY,EAAU,GAAS,UAC3B,KAAK,WAAa,CAAC,EA8CnB,OAAO,OAAO,KAAM,GACpB,KAAK,MAAQ,EAAQ,MACrB,KAAK,UAAY,EACjB,KAAK,iBAAmB,IAAI,EAC5B,KAAK,wBAA0B,GAG/B,KAAK,SAAW,GAAI,EAAS,SAC7B,KAAK,gBAAkB,IAAI,IAAM,IACC,EADD,IACZ,KAAK,UAAQ,IAAlC,IAAK,EAAL,qBAAoC,KAAzB,EAAM,QACb,KAAK,gBAAgB,IAAI,EAAQ,CAAC,EACtC,CAAC,+BACD,KAAK,MAAM,UAAU,KAAK,iBAAiB,QAC/C,CAyZC,OAxZD,mKAaA,WAAY,GAAK,6FAEiB,GADtB,EAAU,KAAV,QAEa,cADjB,EAAU,GAAU,IACZ,MACR,aAAiB,YACjB,EAAM,iBAAe,gCACkB,EAAM,gBAAe,OAA/B,KAAvB,EAA0B,EAAH,MACA,CAAF,eAItB,yBACM,GAAuB,OAMhC,EAAkB,KAAK,YAAY,gBACnC,EAAQ,QACR,KAAI,cAEW,KAAK,iBAAiB,qBAAmB,2DAA7C,OAAF,EAAE,kBACO,EAAG,CAAE,QAAS,EAAQ,QAAS,MAAA,IAAQ,QAAvD,EAAU,EAAH,8MAIP,gBAAe,OAAK,uBACd,IAAI,EAAa,kCAAmC,CACtD,mBAAoB,KAAI,UAC1B,QAMmC,OAAvC,EAAwB,EAAQ,QAAO,oBAInB,MAAM,EAA0B,aAAjB,EAAQ,UAAsB,EAAY,KAAK,UAAU,cAAa,QAA3G,EAAgB,EAAH,KAKZ,IACsB,KAAK,iBAAiB,oBAAkB,2DAA5C,OAAR,EAAQ,kBACO,EAAS,CAC3B,MAAA,EACA,QAAS,EACT,SAAU,IACZ,QAJF,EAAgB,EAAH,+KAMV,GAAa,QAQpB,GARoB,4BAShB,EAAiB,CAAF,iCACT,KAAK,aAAa,eAAgB,CACpC,MAAO,EAAF,GACL,MAAA,EACA,gBAAiB,EAAgB,QACjC,QAAS,EAAsB,UACjC,kHAIb,mDArFD,KAsFA,2DAUA,WAAuB,GAAK,yFACD,KAAK,MAAM,GAAM,OAEiB,OAFnD,EAAW,EAAH,KACR,EAAgB,EAAS,QAC1B,KAAK,UAAU,KAAK,SAAS,EAAO,IAAgB,kBAClD,GAAQ,gDAClB,mDAfD,IAgBA,qDAYA,WAAiB,GAAG,yFAGe,OAFzB,EAAU,GAAU,GAAI,EAEM,KAAK,UAAjC,EAAS,EAAT,UAAW,EAAY,EAAZ,aAAY,SACA,KAAK,YAAY,EAAS,QAAO,OACuB,OADjF,EAAmB,EAAH,KAChB,EAAoB,OAAO,OAAO,OAAO,OAAO,CAAC,EAAG,GAAe,CAAE,UAAA,IAAY,SAChE,OAAO,MAAM,EAAkB,GAAkB,OAAxE,EAAiB,EAAH,KAQb,IACsB,KAAK,iBAAiB,6BAA2B,2DAArD,OAAR,EAAQ,kBAEJ,EAAS,CACZ,UAAA,EACA,aAAA,EACA,eAAA,EACA,QAAS,EACT,MAAO,KAAK,QACd,uDAAK,EAAS,QAPpB,EAAc,+KASX,GAAc,iEACxB,mDAtCD,IAuCA,mDAeA,WAAe,EAAK,GAAQ,+FAGxB,OAFM,EAAU,GAAU,GAE1B,SACM,EAAQ,GAAE,uBACe,KAAK,YAAY,EAAS,SAAQ,OAA3D,EAAmB,EAAH,KACmB,gBAK/B,QAGA,EAAO,EAAS,QAAQ,IAAI,UAE9B,EAAO,MAAM,2BAAoB,EAAe,EAAiB,KAAI,4BACjD,EAAI,cADX,4HAIhB,WAEA,EAAU,CAAF,gBAIR,MACK,IAAI,EAAa,6BAA8B,CACjD,IAAK,EAAe,EAAiB,OACvC,yBAEwB,KAAK,2BAA2B,GAAS,QAAlD,GAAf,EAAkB,EAAH,KACC,CAAF,gBAIf,0BACM,GAAK,QAEe,OAFf,EAEoB,KAAK,UAAjC,EAAS,EAAT,UAAW,EAAY,EAAZ,aAAY,UACX,KAAK,OAAO,KAAK,GAAU,QACkB,GAD3D,EAAQ,EAAH,OACL,EAAyB,KAAK,YAAY,mBACN,kCAC9B,EAIR,EAAO,EAAiB,QAAS,CAAC,mBAAoB,GAAa,iDACjE,KAAI,QAIT,OAVK,EAAc,EAAH,GAUhB,oBAES,EAAM,IAAI,EAAkB,EAAyB,EAAgB,QAAU,GAAgB,gEAGjG,gBAAiB,OAAK,oBAEH,uBAAf,KAAM,KAA6B,kCAC7B,IAA4B,+BAKvB,KAAK,iBAAiB,mBAAiB,2DAA3C,OAAR,EAAQ,kBACT,EAAS,CACX,UAAA,EACA,YAAA,EACA,YAAa,EAAgB,QAC7B,QAAS,EACT,MAAO,KAAK,QACd,2KAEC,GAAI,yEACd,qDA1FD,IA2FA,sDAWA,WAAkB,EAAS,GAAI,+EACS,GAA9B,EAAM,GAAH,OAAM,EAAQ,IAAG,cAAM,GAC3B,KAAK,WAAW,GAAM,CAAF,gBACjB,EAAmB,EAAO,IACP,KAAK,iBAAiB,uBAAqB,yDAClC,OADrB,EAAQ,aACI,GAAS,UAAO,EAAS,CACxC,KAAA,EACA,QAAS,EACT,MAAO,KAAK,MAEZ,OAAQ,KAAK,SACf,oBANF,GAAmB,EAAH,2JAQpB,KAAK,WAAW,GAAO,EAAiB,iCAErC,KAAK,WAAW,IAAI,gEAC9B,qDA3BD,IA4BA,yBAOA,SAAY,GAAM,IAC6B,EAD7B,IACO,KAAK,UAAU,SAAO,IAA3C,IAAK,EAAL,qBAA6C,CACzC,GAAI,KADS,QAET,OAAO,CAEf,CAAC,+BACD,OAAO,CACX,GACA,uDAgBA,WAAmB,EAAM,GAAK,+EACH,KAAK,iBAAiB,IAAK,wDAA/B,OAAR,EAAQ,iBAGT,EAAS,GAAM,qMAE5B,qDAtBD,IAuBA,wCASA,WAAkB,GAAI,sFACG,KAAK,UAAU,SAAO,6GAA1B,GACe,oBADrB,EAAM,SACK,GAAoB,gBAQlC,OAPM,EAAQ,EAAK,gBAAgB,IAAI,GACjC,EAAmB,SAAC,GACtB,IAAM,EAAgB,OAAO,OAAO,OAAO,OAAO,CAAC,EAAG,GAAQ,CAAE,MAAA,IAGhE,OAAO,EAAO,GAAM,EACxB,EAAC,SACK,EAAgB,iUAIlC,uBAaA,SAAU,GAEN,OADA,KAAK,wBAAwB,KAAK,GAC3B,CACX,GACA,sDAUA,yFAEY,EAAU,KAAK,wBAAwB,SAAU,CAAH,+BAC5C,EAAO,sEAEpB,kDAfD,IAgBA,qBAIA,WACI,KAAK,iBAAiB,QAAQ,KAClC,GACA,qEAUA,WAAiC,GAAQ,+EACjC,EAAkB,EAClB,GAAc,EAAK,IACA,KAAK,iBAAiB,oBAAkB,yDAA5C,OAAR,EAAQ,iBAEJ,EAAS,CACZ,QAAS,KAAK,QACd,SAAU,EACV,MAAO,KAAK,QACd,sDAAK,EAAS,QACD,GANnB,EAAe,KAMf,GAAc,EACT,EAAiB,CAAF,2LAwBvB,OApBI,GACG,GAA8C,MAA3B,EAAgB,SACnC,OAAkB,GAkBzB,kBACM,GAAe,gEACzB,mDA/CD,MA+CC,EAtegB,GCVf,GAAQ,WAuBV,aAA0B,IAAd,EAAU,UAAH,6CAAG,CAAC,EAAC,UAQpB,KAAK,UAAY,EAA0B,EAAQ,WAQnD,KAAK,QAAU,EAAQ,SAAW,GAQlC,KAAK,aAAe,EAAQ,aAQ5B,KAAK,aAAe,EAAQ,YAChC,CAsIC,OArID,yBAmBA,SAAO,GAEH,OAD8C,GAAvB,KAAK,UAAU,GAAQ,GAA3B,EAEvB,GACA,uBAsBA,SAAU,GAEF,aAAmB,aACnB,EAAU,CACN,MAAO,EACP,QAAS,EAAQ,UAGzB,IAAM,EAAQ,EAAQ,MAChB,EAAqC,kBAApB,EAAQ,QACzB,IAAI,QAAQ,EAAQ,SACpB,EAAQ,QACR,EAAS,WAAY,EAAU,EAAQ,YAAS,EAChD,EAAU,IAAI,GAAgB,KAAM,CAAE,MAAA,EAAO,QAAA,EAAS,OAAA,IACtD,EAAe,KAAK,aAAa,EAAS,EAAS,GAGzD,MAAO,CAAC,EAFY,KAAK,eAAe,EAAc,EAAS,EAAS,GAG5E,GAAC,uDACD,WAAmB,EAAS,EAAS,GAAK,mGAChC,EAAQ,aAAa,mBAAoB,CAAE,MAAA,EAAO,QAAA,IAAU,OAC1C,OAApB,OAAW,EAAS,kBAEH,KAAK,QAAQ,EAAS,GAAQ,OAAvC,IAAR,EAAW,EAAH,OAI2B,UAAlB,EAAS,KAAgB,sBAChC,IAAI,EAAa,cAAe,CAAE,IAAK,EAAQ,MAAM,8DAI3D,gBAAiB,OAAK,qBACC,EAAQ,iBAAiB,oBAAkB,2DAA/C,OAAR,EAAQ,kBACE,EAAS,CAAE,MAAK,KAAE,MAAA,EAAO,QAAA,IAAU,QAA5C,KAAR,EAAW,EAAH,MACM,CAAF,gMAKf,EAAU,CAAF,mCAGJ,EAIR,YAEkB,EAAQ,iBAAiB,uBAAqB,2DAAlD,OAAR,EAAQ,kBACE,EAAS,CAAE,MAAA,EAAO,QAAA,EAAS,SAAA,IAAW,QAAvD,EAAW,EAAH,+KAEL,GAAQ,sFAClB,uDAnCA,IAmCA,yDACD,WAAqB,EAAc,EAAS,EAAS,GAAK,kGAIjC,EAAY,OAA7B,EAAW,EAAH,qFAQF,EAAQ,aAAa,oBAAqB,CAC5C,MAAA,EACA,QAAA,EACA,SAAA,IACF,yBACI,EAAQ,cAAa,0DAGvB,gBAA0B,QAC1B,EAAQ,EAAH,IACR,yBAEC,EAAQ,aAAa,qBAAsB,CAC7C,MAAA,EACA,QAAA,EACA,SAAA,EACA,MAAO,IACT,QACgB,GAAlB,EAAQ,WACJ,EAAO,CAAF,sBACC,EAAK,gEAElB,yDAnCA,MAmCA,EA9LS,GCQR,GAAgB,8BAkBlB,aAA0B,MAAd,EAAU,UAAH,6CAAG,CAAC,EASwD,OATvD,UACpB,EAAQ,UAAY,EAA2B,EAAQ,YACvD,cAAM,IACD,oBAC6B,IAA9B,EAAQ,kBAKZ,EAAK,QAAQ,KAAK,EAAiB,wCAAwC,CAC/E,CAyJC,OAxJD,uDAOA,WAAc,EAAS,GAAO,uFACH,EAAQ,WAAW,GAAQ,OAApC,KAAR,EAAW,EAAH,MACA,CAAF,wCACD,GAAQ,WAIf,EAAQ,OAAgC,YAAvB,EAAQ,MAAM,KAAkB,gCACpC,KAAK,eAAe,EAAS,GAAQ,OAIN,yCAJM,wBAIzC,KAAK,aAAa,EAAS,GAAQ,iDACnD,qDApBD,IAoBC,uDACD,WAAmB,EAAS,GAAO,iFAG/B,GADM,EAAU,EAAQ,QAAU,CAAC,GAE/B,KAAK,mBAAoB,CAAF,gBAUvB,OAJM,EAAsB,EAAO,UAC7B,EAAqB,EAAQ,UAC7B,GAAuB,GAAsB,IAAuB,EAE1E,SACiB,EAAQ,MAAM,IAAI,QAAQ,EAAS,CAChD,UAA4B,YAAjB,EAAQ,KACb,GAAsB,OACtB,KACP,OAJK,GAAR,EAAW,EAAH,MAYJ,IACA,GACiB,YAAjB,EAAQ,KAAkB,iBACmB,OAA7C,KAAK,wCAAwC,UACrB,EAAQ,SAAS,EAAS,EAAS,SAAQ,QAAjD,EAAH,KAMd,sCAMC,IAAI,EAAa,yBAA0B,CAC7C,UAAW,KAAK,UAChB,IAAK,EAAQ,MACf,QAEmC,gBAC0C,4BAAzE,EAAW,EAAH,GAGd,EAAO,eAAe,gCAAkC,EAAe,EAAQ,MAC/E,EAAO,IAAI,8BAAD,OAA+B,EAAe,aAAoB,QAAU,EAAS,IAAM,KACrG,EAAO,eAAe,8BACtB,EAAO,IAAI,GACX,EAAO,WACP,EAAO,eAAe,+BACtB,EAAO,IAAI,GACX,EAAO,WACP,EAAO,WAAW,iCAEf,GAAQ,iDAClB,qDAhEA,IAgEA,yDACD,WAAqB,EAAS,GAAO,uEACY,OAA7C,KAAK,wCAAwC,SACtB,EAAQ,MAAM,GAAQ,OAA/B,OAAR,EAAW,EAAH,cAGU,EAAQ,SAAS,EAAS,EAAS,SAAQ,OAApD,GAAG,EAAH,KACC,CAAF,qBAGJ,IAAI,EAAa,0BAA2B,CAC9C,IAAK,EAAQ,IACb,OAAQ,EAAS,SACnB,gCAEC,GAAQ,iDAClB,qDAhBA,IAiBD,mDA2BA,WACI,IAEoD,EAFhD,EAAqB,KACrB,EAA6B,EAAE,IACL,KAAK,QAAQ,WAAS,IAApD,IAAK,EAAL,qBAAsD,qBAA1C,EAAK,KAAE,EAAM,KAEjB,IAAW,EAAiB,yCAI5B,IAAW,EAAiB,oCAC5B,EAAqB,GAErB,EAAO,iBACP,IAER,CAAC,+BACkC,IAA/B,EACA,KAAK,QAAQ,KAAK,EAAiB,mCAE9B,EAA6B,GAA4B,OAAvB,GAEvC,KAAK,QAAQ,OAAO,EAAoB,EAGhD,KAAC,EArLiB,CAAS,IAuL/B,GAAiB,kCAAoC,CAC3C,gBAAe,YAAe,uGAAJ,IAAR,EAAQ,EAAR,aACH,EAAS,QAAU,KAAG,yCAC5B,MAAI,gCAER,GAAQ,0CAJiB,EAKpC,GAEJ,GAAiB,uCAAyC,CAChD,gBAAe,YAAe,uGAAJ,KAAR,EAAQ,EAAR,UACJ,WAAU,gCAAS,EAAa,GAAS,8CAAG,EAAQ,gFADpC,EAEpC,GCzMJ,ICVI,GDeE,GAAkB,WAWpB,aAAyE,6DAAJ,CAAC,EAAxD,EAAS,EAAT,UAAS,IAAE,QAAA,OAAO,IAAG,KAAE,MAAE,kBAAA,OAAiB,IAAG,GAAI,YAC3D,KAAK,iBAAmB,IAAI,IAC5B,KAAK,kBAAoB,IAAI,IAC7B,KAAK,wBAA0B,IAAI,IACnC,KAAK,UAAY,IAAI,GAAiB,CAClC,UAAW,EAA2B,GACtC,QAAS,GAAF,UACA,GAAO,CACV,IAAI,GAAuB,CAAE,mBAAoB,SAErD,kBAAA,IAGJ,KAAK,QAAU,KAAK,QAAQ,KAAK,MACjC,KAAK,SAAW,KAAK,SAAS,KAAK,KACvC,CA+OC,OA9OD,yBAIA,WACI,OAAO,KAAK,SAChB,GACA,sBAUA,SAAS,GACL,KAAK,eAAe,GACf,KAAK,kCACN,KAAK,iBAAiB,UAAW,KAAK,SACtC,KAAK,iBAAiB,WAAY,KAAK,UACvC,KAAK,iCAAkC,EAE/C,GACA,4BAOA,SAAe,GASX,IAC2B,EADrB,EAAkB,GAAG,IACP,GAAO,IAA3B,IAAK,EAAL,qBAA6B,KAAlB,EAAK,QAES,kBAAV,EACP,EAAgB,KAAK,GAEhB,QAA4B,IAAnB,EAAM,UACpB,EAAgB,KAAK,EAAM,KAE/B,MAA0B,GAAe,GAAjC,EAAQ,EAAR,SAAU,EAAG,EAAH,IACZ,EAA6B,kBAAV,GAAsB,EAAM,SAAW,SAAW,UAC3E,GAAI,KAAK,iBAAiB,IAAI,IAC1B,KAAK,iBAAiB,IAAI,KAAS,EACnC,MAAM,IAAI,EAAa,wCAAyC,CAC5D,WAAY,KAAK,iBAAiB,IAAI,GACtC,YAAa,IAGrB,GAAqB,kBAAV,GAAsB,EAAM,UAAW,CAC9C,GAAI,KAAK,wBAAwB,IAAI,IACjC,KAAK,wBAAwB,IAAI,KAAc,EAAM,UACrD,MAAM,IAAI,EAAa,4CAA6C,CAChE,IAAA,IAGR,KAAK,wBAAwB,IAAI,EAAU,EAAM,UACrD,CAGA,GAFA,KAAK,iBAAiB,IAAI,EAAK,GAC/B,KAAK,kBAAkB,IAAI,EAAK,GAC5B,EAAgB,OAAS,EAAG,CAC5B,IAAM,EAAiB,+DACV,EAAgB,KAAK,MAAK,kCAAgC,2CAKnE,QAAQ,KAAK,EAKrB,CACJ,CAAC,+BACL,GACA,qBAUA,SAAQ,GAAO,WAGX,OAAO,EAAU,EAAK,YAAE,wGACd,EAAsB,IAAI,GAChC,EAAK,SAAS,QAAQ,KAAK,GAE3B,IAC8B,EAAK,kBAAgB,yDAO7C,OAP6C,gBAAvC,EAAG,KAAE,EAAQ,KACf,EAAY,EAAK,wBAAwB,IAAI,GAC7C,EAAY,EAAK,kBAAkB,IAAI,GACvC,EAAU,IAAI,QAAQ,EAAK,CAC7B,UAAA,EACA,MAAO,EACP,YAAa,gBACf,UACI,QAAQ,IAAI,EAAK,SAAS,UAAU,CACtC,OAAQ,CAAE,SAAA,GACV,QAAA,EACA,MAAA,KACD,+IAKN,OAHO,EAAgC,EAAhC,YAAa,EAAmB,EAAnB,eAGpB,kBACM,CAAE,YAAA,EAAa,eAAA,IAAgB,gEAE9C,GACA,sBAUA,SAAS,GAAO,WAGZ,OAAO,EAAU,EAAK,YAAE,gHACA,KAAK,OAAO,KAAK,EAAK,SAAS,WAAU,OAAlD,OAAL,EAAQ,EAAH,cAC2B,EAAM,OAAM,OAA5C,EAA0B,EAAH,KACvB,EAAoB,IAAI,IAAI,EAAK,iBAAiB,UAClD,EAAc,GAAE,IACA,GAAuB,0DAA3B,GAAP,EAAO,QACT,EAAkB,IAAI,EAAQ,KAAM,CAAF,iCAC7B,EAAM,OAAO,GAAQ,QAC3B,EAAY,KAAK,EAAQ,KAAK,gJAKrC,yBACM,CAAE,YAAA,IAAa,gEAE9B,GACA,gCAMA,WACI,OAAO,KAAK,gBAChB,GACA,2BAMA,WACI,OAAO,GAAI,KAAK,iBAAiB,OACrC,GACA,+BASA,SAAkB,GACd,IAAM,EAAY,IAAI,IAAI,EAAK,SAAS,MACxC,OAAO,KAAK,iBAAiB,IAAI,EAAU,KAC/C,GACA,qCAKA,SAAwB,GACpB,OAAO,KAAK,wBAAwB,IAAI,EAC5C,GACA,wDAkBA,WAAoB,GAAO,2EAEqB,GADtC,EAAM,aAAmB,QAAU,EAAQ,IAAM,IACjD,EAAW,KAAK,kBAAkB,IAC1B,CAAF,+BACY,KAAK,OAAO,KAAK,KAAK,SAAS,WAAU,OAAlD,OAAL,EAAQ,EAAH,uBACJ,EAAM,MAAM,IAAS,qCAEzB,GAAS,gDACnB,mDA1BD,IA2BA,qCAQA,SAAwB,GAAK,WACnB,EAAW,KAAK,kBAAkB,GACxC,IAAK,EACD,MAAM,IAAI,EAAa,oBAAqB,CAAE,IAAA,IAElD,OAAO,SAAC,GAGJ,OAFA,EAAQ,QAAU,IAAI,QAAQ,GAC9B,EAAQ,OAAS,OAAO,OAAO,CAAE,SAAA,GAAY,EAAQ,QAC9C,EAAK,SAAS,OAAO,EAChC,CACJ,KAAC,EAzQmB,GCVX,GAAgC,WAIzC,OAHK,KACD,GAAqB,IAAI,IAEtB,EACX,aCVI,GCOS,GAAmB,SAAC,GAC7B,OAAI,GAA8B,kBAAZ,EASX,EAWA,CAAE,OAAQ,EAEzB,ECnBM,GAAK,WAYP,WAAY,EAAO,GAAiC,IAAxB,EAAS,UAAH,6CChBT,MDgByB,UAc9C,KAAK,QAAU,GAAiB,GAChC,KAAK,MAAQ,EACb,KAAK,OAAS,CAClB,CAQC,OAPD,kCAKA,SAAgB,GACZ,KAAK,aAAe,GAAiB,EACzC,KAAC,EArCM,GEEL,GAAW,8BAcb,WAAY,EAAQ,EAAS,GAAQ,UAgC/B,oBAvBY,SAAH,GAAgB,IAAV,EAAG,EAAH,IACP,EAAS,EAAO,KAAK,EAAI,MAE/B,GAAK,IAOD,EAAI,SAAW,SAAS,QAA2B,IAAjB,EAAO,OAY7C,OAAO,EAAO,MAAM,EACxB,GACa,EAAS,EAC1B,CAAC,YAhDY,CAAS,ICSpB,GAAM,WAIR,aAAc,UACV,KAAK,QAAU,IAAI,IACnB,KAAK,mBAAqB,IAAI,GAClC,CAgWC,OA/VD,uBAKA,WACI,OAAO,KAAK,OAChB,GACA,8BAIA,WAAmB,WAEf,KAAK,iBAAiB,SAAU,SAAC,GAC7B,IAAQ,EAAY,EAAZ,QACF,EAAkB,EAAK,cAAc,CAAE,QAAA,EAAS,MAAA,IAClD,GACA,EAAM,YAAY,EAE1B,GACJ,GACA,8BAsBA,WAAmB,WAEf,KAAK,iBAAiB,WAAY,SAAC,GAG/B,GAAI,EAAM,MAA4B,eAApB,EAAM,KAAK,KAAuB,CAEhD,IAAQ,EAAY,EAAM,KAAlB,QACJ,EAGJ,IAAM,EAAkB,QAAQ,IAAI,EAAQ,YAAY,KAAI,SAAC,GACpC,kBAAV,IACP,EAAQ,CAAC,IAEb,IAAM,EAAU,EAAI,QAAO,GAAI,IAC/B,OAAO,EAAK,cAAc,CAAE,QAAA,EAAS,MAAA,GAIzC,KACA,EAAM,UAAU,GAEZ,EAAM,OAAS,EAAM,MAAM,IACtB,EAAgB,MAAK,kBAAM,EAAM,MAAM,GAAG,aAAY,EAAK,GAExE,CACJ,GACJ,GACA,2BAYA,YAAmC,WAAnB,EAAO,EAAP,QAAS,EAAK,EAAL,MASrB,IAAM,EAAM,IAAI,IAAI,EAAQ,IAAK,SAAS,MAC1C,GAAK,EAAI,SAAS,WAAW,QAA7B,CAMA,IAAM,EAAa,EAAI,SAAW,SAAS,OAC3C,EAA0B,KAAK,kBAAkB,CAC7C,MAAA,EACA,QAAA,EACA,WAAA,EACA,IAAA,IAJI,EAAM,EAAN,OAAQ,EAAK,EAAL,MAMZ,EAAU,GAAS,EAAM,QAEzB,EAaJ,IAAM,EAAS,EAAQ,OAQvB,IAPK,GAAW,KAAK,mBAAmB,IAAI,KAKxC,EAAU,KAAK,mBAAmB,IAAI,IAErC,EAAL,CAwBA,IAAI,EAhBA,EAiBJ,IACI,EAAkB,EAAQ,OAAO,CAAE,IAAA,EAAK,QAAA,EAAS,MAAA,EAAO,OAAA,GAC5D,CACA,MAAO,GACH,EAAkB,QAAQ,OAAO,EACrC,CAEA,IAAM,EAAe,GAAS,EAAM,aAuCpC,OAtCI,aAA2B,UAC1B,KAAK,eAAiB,KACvB,EAAkB,EAAgB,MAAK,6BAAC,WAAO,GAAG,qEAE1C,EAAc,CAAF,gBASX,yBAEgB,EAAa,OAAO,CAAE,IAAA,EAAK,QAAA,EAAS,MAAA,EAAO,OAAA,IAAS,wEAG7D,gBAAoB,QACpB,EAAM,EAAH,IACN,YAGL,EAAK,cAAe,CAAF,gBASjB,yBACM,EAAK,cAAc,OAAO,CAAE,IAAA,EAAK,QAAA,EAAS,MAAA,KAAQ,cAEvD,EAAG,yDACZ,mDAlCsC,KAoCpC,CAhEP,CAtCA,CAuGJ,GACA,+BAeA,YAAwD,IAE1B,EAFV,EAAG,EAAH,IAAK,EAAU,EAAV,WAAY,EAAO,EAAP,QAAS,EAAK,EAAL,MACY,IAAvC,KAAK,QAAQ,IAAI,EAAQ,SAAW,IACzB,IAA1B,IAAK,EAAL,qBAA4B,KAAjB,EAAK,QACR,OAAM,EAGJ,EAAc,EAAM,MAAM,CAAE,IAAA,EAAK,WAAA,EAAY,QAAA,EAAS,MAAA,IAC5D,GAAI,EA6BA,OAjBA,EAAS,GACL,MAAM,QAAQ,IAA6B,IAAlB,EAAO,QAI3B,EAAY,cAAgB,QACG,IAApC,OAAO,KAAK,GAAa,QAIG,mBAAhB,KAPZ,OAAS,GAcN,CAAE,MAAA,EAAO,OAAA,EAExB,CACA,+BACA,MAAO,CAAC,CACZ,GACA,+BAcA,SAAkB,GAAiC,IAAxB,EAAS,UAAH,6CF1SR,ME2SrB,KAAK,mBAAmB,IAAI,EAAQ,GAAiB,GACzD,GACA,6BAOA,SAAgB,GACZ,KAAK,cAAgB,GAAiB,EAC1C,GACA,2BAKA,SAAc,GAiCL,KAAK,QAAQ,IAAI,EAAM,SACxB,KAAK,QAAQ,IAAI,EAAM,OAAQ,IAInC,KAAK,QAAQ,IAAI,EAAM,QAAQ,KAAK,EACxC,GACA,6BAKA,SAAgB,GACZ,IAAK,KAAK,QAAQ,IAAI,EAAM,QACxB,MAAM,IAAI,EAAa,6CAA8C,CACjE,OAAQ,EAAM,SAGtB,IAAM,EAAa,KAAK,QAAQ,IAAI,EAAM,QAAQ,QAAQ,GAC1D,KAAI,GAAc,GAId,MAAM,IAAI,EAAa,yCAHvB,KAAK,QAAQ,IAAI,EAAM,QAAQ,OAAO,EAAY,EAK1D,KAAC,EAvWO,GLdC,GAA2B,WAOpC,OANK,MACD,GAAgB,IAAI,IAEN,mBACd,GAAc,oBAEX,EACX,EMMA,SAAS,GAAc,EAAS,EAAS,GACrC,IAAI,EACJ,GAAuB,kBAAZ,EAAsB,CAC7B,IAAM,EAAa,IAAI,IAAI,EAAS,SAAS,MAkC7C,EAAQ,IAAI,IAZU,SAAH,GASf,OATwB,EAAH,IASV,OAAS,EAAW,IACnC,GAEiC,EAAS,EAC9C,MACK,GAAI,aAAmB,OAExB,EAAQ,IAAI,GAAY,EAAS,EAAS,QAEzC,GAAuB,oBAAZ,EAEZ,EAAQ,IAAI,GAAM,EAAS,EAAS,OAEnC,MAAI,aAAmB,IAIxB,MAAM,IAAI,EAAa,yBAA0B,CAC7C,WAAY,kBACZ,SAAU,gBACV,UAAW,YANf,EAAQ,CAQZ,CAGA,OAFsB,KACR,cAAc,GACrB,CACX,CCvEO,SAAS,GAA0B,GAGtC,IAHmF,IAAlC,EAA8B,UAAH,6CAAG,GAAE,aAG5E,IAAM,EAAS,KACZ,EAA4B,MAAK,SAAC,GAAM,OAAK,EAAO,KAAK,EAAU,KACnE,EAAU,aAAa,OAAO,EACjC,EAHL,SAA4B,EAAU,aAAa,QAAM,eAAG,IAK5D,OAAO,CACX,iBCViB,IAAV,SAAU,GAAsB,GAAG,iHAGtC,OAHuK,GAAjI,iCAA+H,CAAC,GAA5H,4BAAA,OAA2B,IAAG,GAAC,QAAS,YAAW,MAAE,eAAA,OAAc,IAAG,eAAY,MAAE,UAAA,OAAS,IAAG,GAAI,EAAE,EAAe,EAAf,iBAC1I,EAAY,IAAI,IAAI,EAAK,SAAS,OAC9B,KAAO,GAAG,SACd,EAAU,KAAI,OAEpB,OADM,EAA0B,GAA0B,EAAW,GAA4B,SAC3F,EAAwB,KAAI,WAC9B,IAAkB,EAAwB,SAAS,SAAS,KAAI,iBAGhE,OAFM,EAAe,IAAI,IAAI,EAAwB,OACxC,UAAY,EAAe,UAClC,EAAa,KAAI,YAEvB,EAAW,CAAF,gBAGT,OAFM,EAAW,IAAI,IAAI,EAAwB,OACxC,UAAY,QAAQ,UACvB,EAAS,KAAI,YAEnB,EAAiB,CAAF,gBACT,EAAiB,EAAgB,CAAE,IAAK,IAAY,IAC/B,GAAc,2DACrC,OADO,EAAY,kBACb,EAAa,KAAI,uMC1BnC,IASM,GAAa,8BAiBf,WAAY,EAAoB,GAAS,UAcnC,oBAbY,SAAH,GAAqB,IAEyC,EAFxD,EAAO,EAAP,QACP,EAAkB,EAAmB,qBAAqB,IACtC,GAAsB,EAAQ,IAAK,IAAQ,IAArE,IAAK,EAAL,qBAAuE,KAA5D,EAAW,QACZ,EAAW,EAAgB,IAAI,GACrC,GAAI,EAEA,MAAO,CAAE,SAAA,EAAU,UADD,EAAmB,wBAAwB,GAGrE,CAAC,+BAKL,GACa,EAAmB,SACpC,CAAC,YAjCc,CAAS,ICXrB,ICc4B,GChBtB,GAAyB,CAWlC,gBAAiB,WAAF,kBAAE,qFAAiB,GACN,OADF,EAAQ,EAAR,UACT,QAAsC,IAApB,EAAS,OAAY,yCACzC,GAAQ,gCAEZ,MAAI,2CACd,mDALgB,ICgBf,GAAoB,8BActB,aAA0B,MAAd,EAAU,UAAH,6CAAG,CAAC,EAMlB,OANmB,WACpB,cAAM,IAGI,QAAQ,MAAK,SAAC,GAAC,MAAK,oBAAqB,CAAC,KAChD,EAAK,QAAQ,QAAQ,IACxB,CACL,CA2DC,OA1DD,uDAOA,WAAc,EAAS,GAAO,2EAcmB,MAbhC,GASP,EAAuB,EAAQ,iBAAiB,GAAS,OAAM,WAEjE,IAEC,EAAQ,UAAU,GAAsB,SACxB,EAAQ,WAAW,GAAQ,OAApC,KAAR,EAAW,EAAH,MAEE,CAAF,gBACJ,EAGH,wBAMA,2BAIqB,EAAoB,QAAtC,EAAW,EAAH,wDAGJ,gBAAe,QACf,EAAQ,EAAH,IACR,QAUR,GACI,EAAU,CAAF,sBACH,IAAI,EAAa,cAAe,CAAE,IAAK,EAAQ,IAAK,MAAA,IAAQ,iCAE/D,GAAQ,2DAClB,qDA1DD,MA0DC,EAhFqB,CAAS,ICpB/B,KAAK,iBAAiB,YAAY,kBAAM,KAAK,QAAQ,OAAO,ICahE,SAAkB,GACa,KACR,SAAS,EAChC,CJNI,CKJa,09/BAAK,eCItB,SAAkB,GACd,IAAM,EAAqB,KAE3B,GADsB,IAAI,GAAc,EAAoB,GAEhE,CNHI,CAAS,IKAb,IEAiC,GFA3B,GAAsB,IAAI,OAAO,oBACvC,IAEE,YAAuB,IAApB,EAAO,EAAP,QAAS,EAAG,EAAH,IAEV,MAAqB,aAAjB,EAAQ,QAIR,EAAI,SAAS,WAAW,QAIxB,EAAI,SAAS,MAAM,IAKzB,IElB+B,GFmBkB,cElBpB,KACD,wBAAwB,MFsBtD,IAEE,gBAAG,EAAG,EAAH,IAAG,OACJ,EAAI,SAAW,KAAK,SAAS,QAAU,EAAI,SAAS,SAAS,OAAO,GACtE,IAAI,GAAqB,CACvB,UAAW,SACX,QAAS,CAGP,IAAI,GAAiB,CAAE,WAAY,SAOzC,KAAK,iBAAiB,WAAW,SAAA,GAC3B,EAAM,MAA4B,iBAApB,EAAM,KAAK,MAC3B,KAAK,aAET","file":"service-worker.js","sourceRoot":"","sourcesContent":["\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:core:6.5.3'] && _();\n}\ncatch (e) { }\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:expiration:6.5.3'] && _();\n}\ncatch (e) { }\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:precaching:6.5.3'] && _();\n}\ncatch (e) { }\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:routing:6.5.3'] && _();\n}\ncatch (e) { }\n","\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:strategies:6.5.3'] && _();\n}\ncatch (e) { }\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst logger = (process.env.NODE_ENV === 'production'\n ? null\n : (() => {\n // Don't overwrite this value if it's already set.\n // See https://github.com/GoogleChrome/workbox/pull/2284#issuecomment-560470923\n if (!('__WB_DISABLE_DEV_LOGS' in self)) {\n self.__WB_DISABLE_DEV_LOGS = false;\n }\n let inGroup = false;\n const methodToColorMap = {\n debug: `#7f8c8d`,\n log: `#2ecc71`,\n warn: `#f39c12`,\n error: `#c0392b`,\n groupCollapsed: `#3498db`,\n groupEnd: null, // No colored prefix on groupEnd\n };\n const print = function (method, args) {\n if (self.__WB_DISABLE_DEV_LOGS) {\n return;\n }\n if (method === 'groupCollapsed') {\n // Safari doesn't print all console.groupCollapsed() arguments:\n // https://bugs.webkit.org/show_bug.cgi?id=182754\n if (/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n console[method](...args);\n return;\n }\n }\n const styles = [\n `background: ${methodToColorMap[method]}`,\n `border-radius: 0.5em`,\n `color: white`,\n `font-weight: bold`,\n `padding: 2px 0.5em`,\n ];\n // When in a group, the workbox prefix is not displayed.\n const logPrefix = inGroup ? [] : ['%cworkbox', styles.join(';')];\n console[method](...logPrefix, ...args);\n if (method === 'groupCollapsed') {\n inGroup = true;\n }\n if (method === 'groupEnd') {\n inGroup = false;\n }\n };\n // eslint-disable-next-line @typescript-eslint/ban-types\n const api = {};\n const loggerMethods = Object.keys(methodToColorMap);\n for (const key of loggerMethods) {\n const method = key;\n api[method] = (...args) => {\n print(method, args);\n };\n }\n return api;\n })());\nexport { logger };\n","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return assertThisInitialized(self);\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return possibleConstructorReturn(this, result);\n };\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nexport default function _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n _construct = Reflect.construct.bind();\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeFunction from \"./isNativeFunction.js\";\nimport construct from \"./construct.js\";\nexport default function _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n\n return _wrapNativeSuper(Class);\n}","export default function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../../_version.js';\nexport const messages = {\n 'invalid-value': ({ paramName, validValueDescription, value }) => {\n if (!paramName || !validValueDescription) {\n throw new Error(`Unexpected input to 'invalid-value' error.`);\n }\n return (`The '${paramName}' parameter was given a value with an ` +\n `unexpected value. ${validValueDescription} Received a value of ` +\n `${JSON.stringify(value)}.`);\n },\n 'not-an-array': ({ moduleName, className, funcName, paramName }) => {\n if (!moduleName || !className || !funcName || !paramName) {\n throw new Error(`Unexpected input to 'not-an-array' error.`);\n }\n return (`The parameter '${paramName}' passed into ` +\n `'${moduleName}.${className}.${funcName}()' must be an array.`);\n },\n 'incorrect-type': ({ expectedType, paramName, moduleName, className, funcName, }) => {\n if (!expectedType || !paramName || !moduleName || !funcName) {\n throw new Error(`Unexpected input to 'incorrect-type' error.`);\n }\n const classNameStr = className ? `${className}.` : '';\n return (`The parameter '${paramName}' passed into ` +\n `'${moduleName}.${classNameStr}` +\n `${funcName}()' must be of type ${expectedType}.`);\n },\n 'incorrect-class': ({ expectedClassName, paramName, moduleName, className, funcName, isReturnValueProblem, }) => {\n if (!expectedClassName || !moduleName || !funcName) {\n throw new Error(`Unexpected input to 'incorrect-class' error.`);\n }\n const classNameStr = className ? `${className}.` : '';\n if (isReturnValueProblem) {\n return (`The return value from ` +\n `'${moduleName}.${classNameStr}${funcName}()' ` +\n `must be an instance of class ${expectedClassName}.`);\n }\n return (`The parameter '${paramName}' passed into ` +\n `'${moduleName}.${classNameStr}${funcName}()' ` +\n `must be an instance of class ${expectedClassName}.`);\n },\n 'missing-a-method': ({ expectedMethod, paramName, moduleName, className, funcName, }) => {\n if (!expectedMethod ||\n !paramName ||\n !moduleName ||\n !className ||\n !funcName) {\n throw new Error(`Unexpected input to 'missing-a-method' error.`);\n }\n return (`${moduleName}.${className}.${funcName}() expected the ` +\n `'${paramName}' parameter to expose a '${expectedMethod}' method.`);\n },\n 'add-to-cache-list-unexpected-type': ({ entry }) => {\n return (`An unexpected entry was passed to ` +\n `'workbox-precaching.PrecacheController.addToCacheList()' The entry ` +\n `'${JSON.stringify(entry)}' isn't supported. You must supply an array of ` +\n `strings with one or more characters, objects with a url property or ` +\n `Request objects.`);\n },\n 'add-to-cache-list-conflicting-entries': ({ firstEntry, secondEntry }) => {\n if (!firstEntry || !secondEntry) {\n throw new Error(`Unexpected input to ` + `'add-to-cache-list-duplicate-entries' error.`);\n }\n return (`Two of the entries passed to ` +\n `'workbox-precaching.PrecacheController.addToCacheList()' had the URL ` +\n `${firstEntry} but different revision details. Workbox is ` +\n `unable to cache and version the asset correctly. Please remove one ` +\n `of the entries.`);\n },\n 'plugin-error-request-will-fetch': ({ thrownErrorMessage }) => {\n if (!thrownErrorMessage) {\n throw new Error(`Unexpected input to ` + `'plugin-error-request-will-fetch', error.`);\n }\n return (`An error was thrown by a plugins 'requestWillFetch()' method. ` +\n `The thrown error message was: '${thrownErrorMessage}'.`);\n },\n 'invalid-cache-name': ({ cacheNameId, value }) => {\n if (!cacheNameId) {\n throw new Error(`Expected a 'cacheNameId' for error 'invalid-cache-name'`);\n }\n return (`You must provide a name containing at least one character for ` +\n `setCacheDetails({${cacheNameId}: '...'}). Received a value of ` +\n `'${JSON.stringify(value)}'`);\n },\n 'unregister-route-but-not-found-with-method': ({ method }) => {\n if (!method) {\n throw new Error(`Unexpected input to ` +\n `'unregister-route-but-not-found-with-method' error.`);\n }\n return (`The route you're trying to unregister was not previously ` +\n `registered for the method type '${method}'.`);\n },\n 'unregister-route-route-not-registered': () => {\n return (`The route you're trying to unregister was not previously ` +\n `registered.`);\n },\n 'queue-replay-failed': ({ name }) => {\n return `Replaying the background sync queue '${name}' failed.`;\n },\n 'duplicate-queue-name': ({ name }) => {\n return (`The Queue name '${name}' is already being used. ` +\n `All instances of backgroundSync.Queue must be given unique names.`);\n },\n 'expired-test-without-max-age': ({ methodName, paramName }) => {\n return (`The '${methodName}()' method can only be used when the ` +\n `'${paramName}' is used in the constructor.`);\n },\n 'unsupported-route-type': ({ moduleName, className, funcName, paramName }) => {\n return (`The supplied '${paramName}' parameter was an unsupported type. ` +\n `Please check the docs for ${moduleName}.${className}.${funcName} for ` +\n `valid input types.`);\n },\n 'not-array-of-class': ({ value, expectedClass, moduleName, className, funcName, paramName, }) => {\n return (`The supplied '${paramName}' parameter must be an array of ` +\n `'${expectedClass}' objects. Received '${JSON.stringify(value)},'. ` +\n `Please check the call to ${moduleName}.${className}.${funcName}() ` +\n `to fix the issue.`);\n },\n 'max-entries-or-age-required': ({ moduleName, className, funcName }) => {\n return (`You must define either config.maxEntries or config.maxAgeSeconds` +\n `in ${moduleName}.${className}.${funcName}`);\n },\n 'statuses-or-headers-required': ({ moduleName, className, funcName }) => {\n return (`You must define either config.statuses or config.headers` +\n `in ${moduleName}.${className}.${funcName}`);\n },\n 'invalid-string': ({ moduleName, funcName, paramName }) => {\n if (!paramName || !moduleName || !funcName) {\n throw new Error(`Unexpected input to 'invalid-string' error.`);\n }\n return (`When using strings, the '${paramName}' parameter must start with ` +\n `'http' (for cross-origin matches) or '/' (for same-origin matches). ` +\n `Please see the docs for ${moduleName}.${funcName}() for ` +\n `more info.`);\n },\n 'channel-name-required': () => {\n return (`You must provide a channelName to construct a ` +\n `BroadcastCacheUpdate instance.`);\n },\n 'invalid-responses-are-same-args': () => {\n return (`The arguments passed into responsesAreSame() appear to be ` +\n `invalid. Please ensure valid Responses are used.`);\n },\n 'expire-custom-caches-only': () => {\n return (`You must provide a 'cacheName' property when using the ` +\n `expiration plugin with a runtime caching strategy.`);\n },\n 'unit-must-be-bytes': ({ normalizedRangeHeader }) => {\n if (!normalizedRangeHeader) {\n throw new Error(`Unexpected input to 'unit-must-be-bytes' error.`);\n }\n return (`The 'unit' portion of the Range header must be set to 'bytes'. ` +\n `The Range header provided was \"${normalizedRangeHeader}\"`);\n },\n 'single-range-only': ({ normalizedRangeHeader }) => {\n if (!normalizedRangeHeader) {\n throw new Error(`Unexpected input to 'single-range-only' error.`);\n }\n return (`Multiple ranges are not supported. Please use a single start ` +\n `value, and optional end value. The Range header provided was ` +\n `\"${normalizedRangeHeader}\"`);\n },\n 'invalid-range-values': ({ normalizedRangeHeader }) => {\n if (!normalizedRangeHeader) {\n throw new Error(`Unexpected input to 'invalid-range-values' error.`);\n }\n return (`The Range header is missing both start and end values. At least ` +\n `one of those values is needed. The Range header provided was ` +\n `\"${normalizedRangeHeader}\"`);\n },\n 'no-range-header': () => {\n return `No Range header was found in the Request provided.`;\n },\n 'range-not-satisfiable': ({ size, start, end }) => {\n return (`The start (${start}) and end (${end}) values in the Range are ` +\n `not satisfiable by the cached response, which is ${size} bytes.`);\n },\n 'attempt-to-cache-non-get-request': ({ url, method }) => {\n return (`Unable to cache '${url}' because it is a '${method}' request and ` +\n `only 'GET' requests can be cached.`);\n },\n 'cache-put-with-no-response': ({ url }) => {\n return (`There was an attempt to cache '${url}' but the response was not ` +\n `defined.`);\n },\n 'no-response': ({ url, error }) => {\n let message = `The strategy could not generate a response for '${url}'.`;\n if (error) {\n message += ` The underlying error is ${error}.`;\n }\n return message;\n },\n 'bad-precaching-response': ({ url, status }) => {\n return (`The precaching request for '${url}' failed` +\n (status ? ` with an HTTP status of ${status}.` : `.`));\n },\n 'non-precached-url': ({ url }) => {\n return (`createHandlerBoundToURL('${url}') was called, but that URL is ` +\n `not precached. Please pass in a URL that is precached instead.`);\n },\n 'add-to-cache-list-conflicting-integrities': ({ url }) => {\n return (`Two of the entries passed to ` +\n `'workbox-precaching.PrecacheController.addToCacheList()' had the URL ` +\n `${url} with different integrity values. Please remove one of them.`);\n },\n 'missing-precache-entry': ({ cacheName, url }) => {\n return `Unable to find a precached response in ${cacheName} for ${url}.`;\n },\n 'cross-origin-copy-response': ({ origin }) => {\n return (`workbox-core.copyResponse() can only be used with same-origin ` +\n `responses. It was passed a response with origin ${origin}.`);\n },\n 'opaque-streams-source': ({ type }) => {\n const message = `One of the workbox-streams sources resulted in an ` +\n `'${type}' response.`;\n if (type === 'opaqueredirect') {\n return (`${message} Please do not use a navigation request that results ` +\n `in a redirect as a source.`);\n }\n return `${message} Please ensure your sources are CORS-enabled.`;\n },\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { messages } from './messages.js';\nimport '../../_version.js';\nconst fallback = (code, ...args) => {\n let msg = code;\n if (args.length > 0) {\n msg += ` :: ${JSON.stringify(args)}`;\n }\n return msg;\n};\nconst generatorFunction = (code, details = {}) => {\n const message = messages[code];\n if (!message) {\n throw new Error(`Unable to find message for code '${code}'.`);\n }\n return message(details);\n};\nexport const messageGenerator = process.env.NODE_ENV === 'production' ? fallback : generatorFunction;\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { messageGenerator } from '../models/messages/messageGenerator.js';\nimport '../_version.js';\n/**\n * Workbox errors should be thrown with this class.\n * This allows use to ensure the type easily in tests,\n * helps developers identify errors from workbox\n * easily and allows use to optimise error\n * messages correctly.\n *\n * @private\n */\nclass WorkboxError extends Error {\n /**\n *\n * @param {string} errorCode The error code that\n * identifies this particular error.\n * @param {Object=} details Any relevant arguments\n * that will help developers identify issues should\n * be added as a key on the context object.\n */\n constructor(errorCode, details) {\n const message = messageGenerator(errorCode, details);\n super(message);\n this.name = errorCode;\n this.details = details;\n }\n}\nexport { WorkboxError };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n// Callbacks to be executed whenever there's a quota error.\n// Can't change Function type right now.\n// eslint-disable-next-line @typescript-eslint/ban-types\nconst quotaErrorCallbacks = new Set();\nexport { quotaErrorCallbacks };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst _cacheNameDetails = {\n googleAnalytics: 'googleAnalytics',\n precache: 'precache-v2',\n prefix: 'workbox',\n runtime: 'runtime',\n suffix: typeof registration !== 'undefined' ? registration.scope : '',\n};\nconst _createCacheName = (cacheName) => {\n return [_cacheNameDetails.prefix, cacheName, _cacheNameDetails.suffix]\n .filter((value) => value && value.length > 0)\n .join('-');\n};\nconst eachCacheNameDetail = (fn) => {\n for (const key of Object.keys(_cacheNameDetails)) {\n fn(key);\n }\n};\nexport const cacheNames = {\n updateDetails: (details) => {\n eachCacheNameDetail((key) => {\n if (typeof details[key] === 'string') {\n _cacheNameDetails[key] = details[key];\n }\n });\n },\n getGoogleAnalyticsName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.googleAnalytics);\n },\n getPrecacheName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.precache);\n },\n getPrefix: () => {\n return _cacheNameDetails.prefix;\n },\n getRuntimeName: (userCacheName) => {\n return userCacheName || _createCacheName(_cacheNameDetails.runtime);\n },\n getSuffix: () => {\n return _cacheNameDetails.suffix;\n },\n};\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nlet supportStatus;\n/**\n * A utility function that determines whether the current browser supports\n * constructing a new `Response` from a `response.body` stream.\n *\n * @return {boolean} `true`, if the current browser can successfully\n * construct a `Response` from a `response.body` stream, `false` otherwise.\n *\n * @private\n */\nfunction canConstructResponseFromBodyStream() {\n if (supportStatus === undefined) {\n const testResponse = new Response('');\n if ('body' in testResponse) {\n try {\n new Response(testResponse.body);\n supportStatus = true;\n }\n catch (error) {\n supportStatus = false;\n }\n }\n supportStatus = false;\n }\n return supportStatus;\n}\nexport { canConstructResponseFromBodyStream };\n","import _typeof from \"./typeof.js\";\nexport default function _regeneratorRuntime() {\n \"use strict\";\n /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n\n _regeneratorRuntime = function _regeneratorRuntime() {\n return exports;\n };\n\n var exports = {},\n Op = Object.prototype,\n hasOwn = Op.hasOwnProperty,\n $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n return Object.defineProperty(obj, key, {\n value: value,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), obj[key];\n }\n\n try {\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n generator = Object.create(protoGenerator.prototype),\n context = new Context(tryLocsList || []);\n return generator._invoke = function (innerFn, self, context) {\n var state = \"suspendedStart\";\n return function (method, arg) {\n if (\"executing\" === state) throw new Error(\"Generator is already running\");\n\n if (\"completed\" === state) {\n if (\"throw\" === method) throw arg;\n return doneResult();\n }\n\n for (context.method = method, context.arg = arg;;) {\n var delegate = context.delegate;\n\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n context.dispatchException(context.arg);\n } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n state = \"executing\";\n var record = tryCatch(innerFn, self, context);\n\n if (\"normal\" === record.type) {\n if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n return {\n value: record.arg,\n done: context.done\n };\n }\n\n \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n }\n };\n }(innerFn, self, context), generator;\n }\n\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n\n exports.wrap = wrap;\n var ContinueSentinel = {};\n\n function Generator() {}\n\n function GeneratorFunction() {}\n\n function GeneratorFunctionPrototype() {}\n\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf,\n NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n\n if (\"throw\" !== record.type) {\n var result = record.arg,\n value = result.value;\n return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n result.value = unwrapped, resolve(result);\n }, function (error) {\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n\n reject(record.arg);\n }\n\n var previousPromise;\n\n this._invoke = function (method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n };\n }\n\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n\n if (undefined === method) {\n if (context.delegate = null, \"throw\" === context.method) {\n if (delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method)) return ContinueSentinel;\n context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n var info = record.arg;\n return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n }\n\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\", delete record.arg, entry.completion = record;\n }\n\n function Context(tryLocsList) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n }\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) return iteratorMethod.call(iterable);\n if (\"function\" == typeof iterable.next) return iterable;\n\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n for (; ++i < iterable.length;) {\n if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n }\n\n return next.value = undefined, next.done = !0, next;\n };\n\n return next.next = next;\n }\n }\n\n return {\n next: doneResult\n };\n }\n\n function doneResult() {\n return {\n value: undefined,\n done: !0\n };\n }\n\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, \"constructor\", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n var ctor = \"function\" == typeof genFun && genFun.constructor;\n return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n }, exports.mark = function (genFun) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n }, exports.awrap = function (arg) {\n return {\n __await: arg\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n void 0 === PromiseImpl && (PromiseImpl = Promise);\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n return this;\n }), define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n }), exports.keys = function (object) {\n var keys = [];\n\n for (var key in object) {\n keys.push(key);\n }\n\n return keys.reverse(), function next() {\n for (; keys.length;) {\n var key = keys.pop();\n if (key in object) return next.value = key, next.done = !1, next;\n }\n\n return next.done = !0, next;\n };\n }, exports.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {\n \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);\n }\n },\n stop: function stop() {\n this.done = !0;\n var rootRecord = this.tryEntries[0].completion;\n if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) throw exception;\n var context = this;\n\n function handle(loc, caught) {\n return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i],\n record = entry.completion;\n if (\"root\" === entry.tryLoc) return handle(\"end\");\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n } else {\n if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n var record = finallyEntry ? finallyEntry.completion : {};\n return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (\"throw\" === record.type) throw record.arg;\n return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n\n if (\"throw\" === record.type) {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n\n return thrown;\n }\n }\n\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n return this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n }\n }, exports;\n}","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","/*\n Copyright 2020 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nfunction stripParams(fullURL, ignoreParams) {\n const strippedURL = new URL(fullURL);\n for (const param of ignoreParams) {\n strippedURL.searchParams.delete(param);\n }\n return strippedURL.href;\n}\n/**\n * Matches an item in the cache, ignoring specific URL params. This is similar\n * to the `ignoreSearch` option, but it allows you to ignore just specific\n * params (while continuing to match on the others).\n *\n * @private\n * @param {Cache} cache\n * @param {Request} request\n * @param {Object} matchOptions\n * @param {Array} ignoreParams\n * @return {Promise}\n */\nasync function cacheMatchIgnoreParams(cache, request, ignoreParams, matchOptions) {\n const strippedRequestURL = stripParams(request.url, ignoreParams);\n // If the request doesn't include any ignored params, match as normal.\n if (request.url === strippedRequestURL) {\n return cache.match(request, matchOptions);\n }\n // Otherwise, match by comparing keys\n const keysOptions = Object.assign(Object.assign({}, matchOptions), { ignoreSearch: true });\n const cacheKeys = await cache.keys(request, keysOptions);\n for (const cacheKey of cacheKeys) {\n const strippedCacheKeyURL = stripParams(cacheKey.url, ignoreParams);\n if (strippedRequestURL === strippedCacheKeyURL) {\n return cache.match(cacheKey, matchOptions);\n }\n }\n return;\n}\nexport { cacheMatchIgnoreParams };\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A helper function that prevents a promise from being flagged as unused.\n *\n * @private\n **/\nexport function dontWaitFor(promise) {\n // Effective no-op.\n void promise.then(() => { });\n}\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * The Deferred class composes Promises in a way that allows for them to be\n * resolved or rejected from outside the constructor. In most cases promises\n * should be used directly, but Deferreds can be necessary when the logic to\n * resolve a promise must be separate.\n *\n * @private\n */\nclass Deferred {\n /**\n * Creates a promise and exposes its resolve and reject functions as methods.\n */\n constructor() {\n this.promise = new Promise((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n}\nexport { Deferred };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from '../_private/logger.js';\nimport { quotaErrorCallbacks } from '../models/quotaErrorCallbacks.js';\nimport '../_version.js';\n/**\n * Runs all of the callback functions, one at a time sequentially, in the order\n * in which they were registered.\n *\n * @memberof workbox-core\n * @private\n */\nasync function executeQuotaErrorCallbacks() {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`About to run ${quotaErrorCallbacks.size} ` +\n `callbacks to clean up caches.`);\n }\n for (const callback of quotaErrorCallbacks) {\n await callback();\n if (process.env.NODE_ENV !== 'production') {\n logger.log(callback, 'is complete.');\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.log('Finished running callbacks.');\n }\n}\nexport { executeQuotaErrorCallbacks };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nconst getFriendlyURL = (url) => {\n const urlObj = new URL(String(url), location.href);\n // See https://github.com/GoogleChrome/workbox/issues/2323\n // We want to include everything, except for the origin if it's same-origin.\n return urlObj.href.replace(new RegExp(`^${location.origin}`), '');\n};\nexport { getFriendlyURL };\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * Returns a promise that resolves and the passed number of milliseconds.\n * This utility is an async/await-friendly version of `setTimeout`.\n *\n * @param {number} ms\n * @return {Promise}\n * @private\n */\nexport function timeout(ms) {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\n","/*\n Copyright 2020 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A utility method that makes it easier to use `event.waitUntil` with\n * async functions and return the result.\n *\n * @param {ExtendableEvent} event\n * @param {Function} asyncFn\n * @return {Function}\n * @private\n */\nfunction waitUntil(event, asyncFn) {\n const returnPromise = asyncFn();\n event.waitUntil(returnPromise);\n return returnPromise;\n}\nexport { waitUntil };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { canConstructResponseFromBodyStream } from './_private/canConstructResponseFromBodyStream.js';\nimport { WorkboxError } from './_private/WorkboxError.js';\nimport './_version.js';\n/**\n * Allows developers to copy a response and modify its `headers`, `status`,\n * or `statusText` values (the values settable via a\n * [`ResponseInit`]{@link https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n * object in the constructor).\n * To modify these values, pass a function as the second argument. That\n * function will be invoked with a single object with the response properties\n * `{headers, status, statusText}`. The return value of this function will\n * be used as the `ResponseInit` for the new `Response`. To change the values\n * either modify the passed parameter(s) and return it, or return a totally\n * new object.\n *\n * This method is intentionally limited to same-origin responses, regardless of\n * whether CORS was used or not.\n *\n * @param {Response} response\n * @param {Function} modifier\n * @memberof workbox-core\n */\nasync function copyResponse(response, modifier) {\n let origin = null;\n // If response.url isn't set, assume it's cross-origin and keep origin null.\n if (response.url) {\n const responseURL = new URL(response.url);\n origin = responseURL.origin;\n }\n if (origin !== self.location.origin) {\n throw new WorkboxError('cross-origin-copy-response', { origin });\n }\n const clonedResponse = response.clone();\n // Create a fresh `ResponseInit` object by cloning the headers.\n const responseInit = {\n headers: new Headers(clonedResponse.headers),\n status: clonedResponse.status,\n statusText: clonedResponse.statusText,\n };\n // Apply any user modifications.\n const modifiedResponseInit = modifier ? modifier(responseInit) : responseInit;\n // Create the new response from the body stream and `ResponseInit`\n // modifications. Note: not all browsers support the Response.body stream,\n // so fall back to reading the entire body into memory as a blob.\n const body = canConstructResponseFromBodyStream()\n ? clonedResponse.body\n : await clonedResponse.blob();\n return new Response(body, modifiedResponseInit);\n}\nexport { copyResponse };\n","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","import defineProperty from \"./defineProperty.js\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}","const instanceOfAny = (object, constructors) => constructors.some((c) => object instanceof c);\n\nlet idbProxyableTypes;\nlet cursorAdvanceMethods;\n// This is a function to prevent it throwing up in node environments.\nfunction getIdbProxyableTypes() {\n return (idbProxyableTypes ||\n (idbProxyableTypes = [\n IDBDatabase,\n IDBObjectStore,\n IDBIndex,\n IDBCursor,\n IDBTransaction,\n ]));\n}\n// This is a function to prevent it throwing up in node environments.\nfunction getCursorAdvanceMethods() {\n return (cursorAdvanceMethods ||\n (cursorAdvanceMethods = [\n IDBCursor.prototype.advance,\n IDBCursor.prototype.continue,\n IDBCursor.prototype.continuePrimaryKey,\n ]));\n}\nconst cursorRequestMap = new WeakMap();\nconst transactionDoneMap = new WeakMap();\nconst transactionStoreNamesMap = new WeakMap();\nconst transformCache = new WeakMap();\nconst reverseTransformCache = new WeakMap();\nfunction promisifyRequest(request) {\n const promise = new Promise((resolve, reject) => {\n const unlisten = () => {\n request.removeEventListener('success', success);\n request.removeEventListener('error', error);\n };\n const success = () => {\n resolve(wrap(request.result));\n unlisten();\n };\n const error = () => {\n reject(request.error);\n unlisten();\n };\n request.addEventListener('success', success);\n request.addEventListener('error', error);\n });\n promise\n .then((value) => {\n // Since cursoring reuses the IDBRequest (*sigh*), we cache it for later retrieval\n // (see wrapFunction).\n if (value instanceof IDBCursor) {\n cursorRequestMap.set(value, request);\n }\n // Catching to avoid \"Uncaught Promise exceptions\"\n })\n .catch(() => { });\n // This mapping exists in reverseTransformCache but doesn't doesn't exist in transformCache. This\n // is because we create many promises from a single IDBRequest.\n reverseTransformCache.set(promise, request);\n return promise;\n}\nfunction cacheDonePromiseForTransaction(tx) {\n // Early bail if we've already created a done promise for this transaction.\n if (transactionDoneMap.has(tx))\n return;\n const done = new Promise((resolve, reject) => {\n const unlisten = () => {\n tx.removeEventListener('complete', complete);\n tx.removeEventListener('error', error);\n tx.removeEventListener('abort', error);\n };\n const complete = () => {\n resolve();\n unlisten();\n };\n const error = () => {\n reject(tx.error || new DOMException('AbortError', 'AbortError'));\n unlisten();\n };\n tx.addEventListener('complete', complete);\n tx.addEventListener('error', error);\n tx.addEventListener('abort', error);\n });\n // Cache it for later retrieval.\n transactionDoneMap.set(tx, done);\n}\nlet idbProxyTraps = {\n get(target, prop, receiver) {\n if (target instanceof IDBTransaction) {\n // Special handling for transaction.done.\n if (prop === 'done')\n return transactionDoneMap.get(target);\n // Polyfill for objectStoreNames because of Edge.\n if (prop === 'objectStoreNames') {\n return target.objectStoreNames || transactionStoreNamesMap.get(target);\n }\n // Make tx.store return the only store in the transaction, or undefined if there are many.\n if (prop === 'store') {\n return receiver.objectStoreNames[1]\n ? undefined\n : receiver.objectStore(receiver.objectStoreNames[0]);\n }\n }\n // Else transform whatever we get back.\n return wrap(target[prop]);\n },\n set(target, prop, value) {\n target[prop] = value;\n return true;\n },\n has(target, prop) {\n if (target instanceof IDBTransaction &&\n (prop === 'done' || prop === 'store')) {\n return true;\n }\n return prop in target;\n },\n};\nfunction replaceTraps(callback) {\n idbProxyTraps = callback(idbProxyTraps);\n}\nfunction wrapFunction(func) {\n // Due to expected object equality (which is enforced by the caching in `wrap`), we\n // only create one new func per func.\n // Edge doesn't support objectStoreNames (booo), so we polyfill it here.\n if (func === IDBDatabase.prototype.transaction &&\n !('objectStoreNames' in IDBTransaction.prototype)) {\n return function (storeNames, ...args) {\n const tx = func.call(unwrap(this), storeNames, ...args);\n transactionStoreNamesMap.set(tx, storeNames.sort ? storeNames.sort() : [storeNames]);\n return wrap(tx);\n };\n }\n // Cursor methods are special, as the behaviour is a little more different to standard IDB. In\n // IDB, you advance the cursor and wait for a new 'success' on the IDBRequest that gave you the\n // cursor. It's kinda like a promise that can resolve with many values. That doesn't make sense\n // with real promises, so each advance methods returns a new promise for the cursor object, or\n // undefined if the end of the cursor has been reached.\n if (getCursorAdvanceMethods().includes(func)) {\n return function (...args) {\n // Calling the original function with the proxy as 'this' causes ILLEGAL INVOCATION, so we use\n // the original object.\n func.apply(unwrap(this), args);\n return wrap(cursorRequestMap.get(this));\n };\n }\n return function (...args) {\n // Calling the original function with the proxy as 'this' causes ILLEGAL INVOCATION, so we use\n // the original object.\n return wrap(func.apply(unwrap(this), args));\n };\n}\nfunction transformCachableValue(value) {\n if (typeof value === 'function')\n return wrapFunction(value);\n // This doesn't return, it just creates a 'done' promise for the transaction,\n // which is later returned for transaction.done (see idbObjectHandler).\n if (value instanceof IDBTransaction)\n cacheDonePromiseForTransaction(value);\n if (instanceOfAny(value, getIdbProxyableTypes()))\n return new Proxy(value, idbProxyTraps);\n // Return the same value back if we're not going to transform it.\n return value;\n}\nfunction wrap(value) {\n // We sometimes generate multiple promises from a single IDBRequest (eg when cursoring), because\n // IDB is weird and a single IDBRequest can yield many responses, so these can't be cached.\n if (value instanceof IDBRequest)\n return promisifyRequest(value);\n // If we've already transformed this value before, reuse the transformed value.\n // This is faster, but it also provides object equality.\n if (transformCache.has(value))\n return transformCache.get(value);\n const newValue = transformCachableValue(value);\n // Not all types are transformed.\n // These may be primitive types, so they can't be WeakMap keys.\n if (newValue !== value) {\n transformCache.set(value, newValue);\n reverseTransformCache.set(newValue, value);\n }\n return newValue;\n}\nconst unwrap = (value) => reverseTransformCache.get(value);\n\nexport { reverseTransformCache as a, instanceOfAny as i, replaceTraps as r, unwrap as u, wrap as w };\n","import { w as wrap, r as replaceTraps } from './wrap-idb-value.js';\nexport { u as unwrap, w as wrap } from './wrap-idb-value.js';\n\n/**\n * Open a database.\n *\n * @param name Name of the database.\n * @param version Schema version.\n * @param callbacks Additional callbacks.\n */\nfunction openDB(name, version, { blocked, upgrade, blocking, terminated } = {}) {\n const request = indexedDB.open(name, version);\n const openPromise = wrap(request);\n if (upgrade) {\n request.addEventListener('upgradeneeded', (event) => {\n upgrade(wrap(request.result), event.oldVersion, event.newVersion, wrap(request.transaction));\n });\n }\n if (blocked)\n request.addEventListener('blocked', () => blocked());\n openPromise\n .then((db) => {\n if (terminated)\n db.addEventListener('close', () => terminated());\n if (blocking)\n db.addEventListener('versionchange', () => blocking());\n })\n .catch(() => { });\n return openPromise;\n}\n/**\n * Delete a database.\n *\n * @param name Name of the database.\n */\nfunction deleteDB(name, { blocked } = {}) {\n const request = indexedDB.deleteDatabase(name);\n if (blocked)\n request.addEventListener('blocked', () => blocked());\n return wrap(request).then(() => undefined);\n}\n\nconst readMethods = ['get', 'getKey', 'getAll', 'getAllKeys', 'count'];\nconst writeMethods = ['put', 'add', 'delete', 'clear'];\nconst cachedMethods = new Map();\nfunction getMethod(target, prop) {\n if (!(target instanceof IDBDatabase &&\n !(prop in target) &&\n typeof prop === 'string')) {\n return;\n }\n if (cachedMethods.get(prop))\n return cachedMethods.get(prop);\n const targetFuncName = prop.replace(/FromIndex$/, '');\n const useIndex = prop !== targetFuncName;\n const isWrite = writeMethods.includes(targetFuncName);\n if (\n // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.\n !(targetFuncName in (useIndex ? IDBIndex : IDBObjectStore).prototype) ||\n !(isWrite || readMethods.includes(targetFuncName))) {\n return;\n }\n const method = async function (storeName, ...args) {\n // isWrite ? 'readwrite' : undefined gzipps better, but fails in Edge :(\n const tx = this.transaction(storeName, isWrite ? 'readwrite' : 'readonly');\n let target = tx.store;\n if (useIndex)\n target = target.index(args.shift());\n // Must reject if op rejects.\n // If it's a write operation, must reject if tx.done rejects.\n // Must reject with op rejection first.\n // Must resolve with op value.\n // Must handle both promises (no unhandled rejections)\n return (await Promise.all([\n target[targetFuncName](...args),\n isWrite && tx.done,\n ]))[0];\n };\n cachedMethods.set(prop, method);\n return method;\n}\nreplaceTraps((oldTraps) => ({\n ...oldTraps,\n get: (target, prop, receiver) => getMethod(target, prop) || oldTraps.get(target, prop, receiver),\n has: (target, prop) => !!getMethod(target, prop) || oldTraps.has(target, prop),\n}));\n\nexport { deleteDB, openDB };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { openDB, deleteDB } from 'idb';\nimport '../_version.js';\nconst DB_NAME = 'workbox-expiration';\nconst CACHE_OBJECT_STORE = 'cache-entries';\nconst normalizeURL = (unNormalizedUrl) => {\n const url = new URL(unNormalizedUrl, location.href);\n url.hash = '';\n return url.href;\n};\n/**\n * Returns the timestamp model.\n *\n * @private\n */\nclass CacheTimestampsModel {\n /**\n *\n * @param {string} cacheName\n *\n * @private\n */\n constructor(cacheName) {\n this._db = null;\n this._cacheName = cacheName;\n }\n /**\n * Performs an upgrade of indexedDB.\n *\n * @param {IDBPDatabase} db\n *\n * @private\n */\n _upgradeDb(db) {\n // TODO(philipwalton): EdgeHTML doesn't support arrays as a keyPath, so we\n // have to use the `id` keyPath here and create our own values (a\n // concatenation of `url + cacheName`) instead of simply using\n // `keyPath: ['url', 'cacheName']`, which is supported in other browsers.\n const objStore = db.createObjectStore(CACHE_OBJECT_STORE, { keyPath: 'id' });\n // TODO(philipwalton): once we don't have to support EdgeHTML, we can\n // create a single index with the keyPath `['cacheName', 'timestamp']`\n // instead of doing both these indexes.\n objStore.createIndex('cacheName', 'cacheName', { unique: false });\n objStore.createIndex('timestamp', 'timestamp', { unique: false });\n }\n /**\n * Performs an upgrade of indexedDB and deletes deprecated DBs.\n *\n * @param {IDBPDatabase} db\n *\n * @private\n */\n _upgradeDbAndDeleteOldDbs(db) {\n this._upgradeDb(db);\n if (this._cacheName) {\n void deleteDB(this._cacheName);\n }\n }\n /**\n * @param {string} url\n * @param {number} timestamp\n *\n * @private\n */\n async setTimestamp(url, timestamp) {\n url = normalizeURL(url);\n const entry = {\n url,\n timestamp,\n cacheName: this._cacheName,\n // Creating an ID from the URL and cache name won't be necessary once\n // Edge switches to Chromium and all browsers we support work with\n // array keyPaths.\n id: this._getId(url),\n };\n const db = await this.getDb();\n const tx = db.transaction(CACHE_OBJECT_STORE, 'readwrite', {\n durability: 'relaxed',\n });\n await tx.store.put(entry);\n await tx.done;\n }\n /**\n * Returns the timestamp stored for a given URL.\n *\n * @param {string} url\n * @return {number | undefined}\n *\n * @private\n */\n async getTimestamp(url) {\n const db = await this.getDb();\n const entry = await db.get(CACHE_OBJECT_STORE, this._getId(url));\n return entry === null || entry === void 0 ? void 0 : entry.timestamp;\n }\n /**\n * Iterates through all the entries in the object store (from newest to\n * oldest) and removes entries once either `maxCount` is reached or the\n * entry's timestamp is less than `minTimestamp`.\n *\n * @param {number} minTimestamp\n * @param {number} maxCount\n * @return {Array}\n *\n * @private\n */\n async expireEntries(minTimestamp, maxCount) {\n const db = await this.getDb();\n let cursor = await db\n .transaction(CACHE_OBJECT_STORE)\n .store.index('timestamp')\n .openCursor(null, 'prev');\n const entriesToDelete = [];\n let entriesNotDeletedCount = 0;\n while (cursor) {\n const result = cursor.value;\n // TODO(philipwalton): once we can use a multi-key index, we\n // won't have to check `cacheName` here.\n if (result.cacheName === this._cacheName) {\n // Delete an entry if it's older than the max age or\n // if we already have the max number allowed.\n if ((minTimestamp && result.timestamp < minTimestamp) ||\n (maxCount && entriesNotDeletedCount >= maxCount)) {\n // TODO(philipwalton): we should be able to delete the\n // entry right here, but doing so causes an iteration\n // bug in Safari stable (fixed in TP). Instead we can\n // store the keys of the entries to delete, and then\n // delete the separate transactions.\n // https://github.com/GoogleChrome/workbox/issues/1978\n // cursor.delete();\n // We only need to return the URL, not the whole entry.\n entriesToDelete.push(cursor.value);\n }\n else {\n entriesNotDeletedCount++;\n }\n }\n cursor = await cursor.continue();\n }\n // TODO(philipwalton): once the Safari bug in the following issue is fixed,\n // we should be able to remove this loop and do the entry deletion in the\n // cursor loop above:\n // https://github.com/GoogleChrome/workbox/issues/1978\n const urlsDeleted = [];\n for (const entry of entriesToDelete) {\n await db.delete(CACHE_OBJECT_STORE, entry.id);\n urlsDeleted.push(entry.url);\n }\n return urlsDeleted;\n }\n /**\n * Takes a URL and returns an ID that will be unique in the object store.\n *\n * @param {string} url\n * @return {string}\n *\n * @private\n */\n _getId(url) {\n // Creating an ID from the URL and cache name won't be necessary once\n // Edge switches to Chromium and all browsers we support work with\n // array keyPaths.\n return this._cacheName + '|' + normalizeURL(url);\n }\n /**\n * Returns an open connection to the database.\n *\n * @private\n */\n async getDb() {\n if (!this._db) {\n this._db = await openDB(DB_NAME, 1, {\n upgrade: this._upgradeDbAndDeleteOldDbs.bind(this),\n });\n }\n return this._db;\n }\n}\nexport { CacheTimestampsModel };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { dontWaitFor } from 'workbox-core/_private/dontWaitFor.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { CacheTimestampsModel } from './models/CacheTimestampsModel.js';\nimport './_version.js';\n/**\n * The `CacheExpiration` class allows you define an expiration and / or\n * limit on the number of responses stored in a\n * [`Cache`](https://developer.mozilla.org/en-US/docs/Web/API/Cache).\n *\n * @memberof workbox-expiration\n */\nclass CacheExpiration {\n /**\n * To construct a new CacheExpiration instance you must provide at least\n * one of the `config` properties.\n *\n * @param {string} cacheName Name of the cache to apply restrictions to.\n * @param {Object} config\n * @param {number} [config.maxEntries] The maximum number of entries to cache.\n * Entries used the least will be removed as the maximum is reached.\n * @param {number} [config.maxAgeSeconds] The maximum age of an entry before\n * it's treated as stale and removed.\n * @param {Object} [config.matchOptions] The [`CacheQueryOptions`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete#Parameters)\n * that will be used when calling `delete()` on the cache.\n */\n constructor(cacheName, config = {}) {\n this._isRunning = false;\n this._rerunRequested = false;\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(cacheName, 'string', {\n moduleName: 'workbox-expiration',\n className: 'CacheExpiration',\n funcName: 'constructor',\n paramName: 'cacheName',\n });\n if (!(config.maxEntries || config.maxAgeSeconds)) {\n throw new WorkboxError('max-entries-or-age-required', {\n moduleName: 'workbox-expiration',\n className: 'CacheExpiration',\n funcName: 'constructor',\n });\n }\n if (config.maxEntries) {\n assert.isType(config.maxEntries, 'number', {\n moduleName: 'workbox-expiration',\n className: 'CacheExpiration',\n funcName: 'constructor',\n paramName: 'config.maxEntries',\n });\n }\n if (config.maxAgeSeconds) {\n assert.isType(config.maxAgeSeconds, 'number', {\n moduleName: 'workbox-expiration',\n className: 'CacheExpiration',\n funcName: 'constructor',\n paramName: 'config.maxAgeSeconds',\n });\n }\n }\n this._maxEntries = config.maxEntries;\n this._maxAgeSeconds = config.maxAgeSeconds;\n this._matchOptions = config.matchOptions;\n this._cacheName = cacheName;\n this._timestampModel = new CacheTimestampsModel(cacheName);\n }\n /**\n * Expires entries for the given cache and given criteria.\n */\n async expireEntries() {\n if (this._isRunning) {\n this._rerunRequested = true;\n return;\n }\n this._isRunning = true;\n const minTimestamp = this._maxAgeSeconds\n ? Date.now() - this._maxAgeSeconds * 1000\n : 0;\n const urlsExpired = await this._timestampModel.expireEntries(minTimestamp, this._maxEntries);\n // Delete URLs from the cache\n const cache = await self.caches.open(this._cacheName);\n for (const url of urlsExpired) {\n await cache.delete(url, this._matchOptions);\n }\n if (process.env.NODE_ENV !== 'production') {\n if (urlsExpired.length > 0) {\n logger.groupCollapsed(`Expired ${urlsExpired.length} ` +\n `${urlsExpired.length === 1 ? 'entry' : 'entries'} and removed ` +\n `${urlsExpired.length === 1 ? 'it' : 'them'} from the ` +\n `'${this._cacheName}' cache.`);\n logger.log(`Expired the following ${urlsExpired.length === 1 ? 'URL' : 'URLs'}:`);\n urlsExpired.forEach((url) => logger.log(` ${url}`));\n logger.groupEnd();\n }\n else {\n logger.debug(`Cache expiration ran and found no entries to remove.`);\n }\n }\n this._isRunning = false;\n if (this._rerunRequested) {\n this._rerunRequested = false;\n dontWaitFor(this.expireEntries());\n }\n }\n /**\n * Update the timestamp for the given URL. This ensures the when\n * removing entries based on maximum entries, most recently used\n * is accurate or when expiring, the timestamp is up-to-date.\n *\n * @param {string} url\n */\n async updateTimestamp(url) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(url, 'string', {\n moduleName: 'workbox-expiration',\n className: 'CacheExpiration',\n funcName: 'updateTimestamp',\n paramName: 'url',\n });\n }\n await this._timestampModel.setTimestamp(url, Date.now());\n }\n /**\n * Can be used to check if a URL has expired or not before it's used.\n *\n * This requires a look up from IndexedDB, so can be slow.\n *\n * Note: This method will not remove the cached entry, call\n * `expireEntries()` to remove indexedDB and Cache entries.\n *\n * @param {string} url\n * @return {boolean}\n */\n async isURLExpired(url) {\n if (!this._maxAgeSeconds) {\n if (process.env.NODE_ENV !== 'production') {\n throw new WorkboxError(`expired-test-without-max-age`, {\n methodName: 'isURLExpired',\n paramName: 'maxAgeSeconds',\n });\n }\n return false;\n }\n else {\n const timestamp = await this._timestampModel.getTimestamp(url);\n const expireOlderThan = Date.now() - this._maxAgeSeconds * 1000;\n return timestamp !== undefined ? timestamp < expireOlderThan : true;\n }\n }\n /**\n * Removes the IndexedDB object store used to keep track of cache expiration\n * metadata.\n */\n async delete() {\n // Make sure we don't attempt another rerun if we're called in the middle of\n // a cache expiration.\n this._rerunRequested = false;\n await this._timestampModel.expireEntries(Infinity); // Expires all.\n }\n}\nexport { CacheExpiration };\n","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { dontWaitFor } from 'workbox-core/_private/dontWaitFor.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { registerQuotaErrorCallback } from 'workbox-core/registerQuotaErrorCallback.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { CacheExpiration } from './CacheExpiration.js';\nimport './_version.js';\n/**\n * This plugin can be used in a `workbox-strategy` to regularly enforce a\n * limit on the age and / or the number of cached requests.\n *\n * It can only be used with `workbox-strategy` instances that have a\n * [custom `cacheName` property set](/web/tools/workbox/guides/configure-workbox#custom_cache_names_in_strategies).\n * In other words, it can't be used to expire entries in strategy that uses the\n * default runtime cache name.\n *\n * Whenever a cached response is used or updated, this plugin will look\n * at the associated cache and remove any old or extra responses.\n *\n * When using `maxAgeSeconds`, responses may be used *once* after expiring\n * because the expiration clean up will not have occurred until *after* the\n * cached response has been used. If the response has a \"Date\" header, then\n * a light weight expiration check is performed and the response will not be\n * used immediately.\n *\n * When using `maxEntries`, the entry least-recently requested will be removed\n * from the cache first.\n *\n * @memberof workbox-expiration\n */\nclass ExpirationPlugin {\n /**\n * @param {ExpirationPluginOptions} config\n * @param {number} [config.maxEntries] The maximum number of entries to cache.\n * Entries used the least will be removed as the maximum is reached.\n * @param {number} [config.maxAgeSeconds] The maximum age of an entry before\n * it's treated as stale and removed.\n * @param {Object} [config.matchOptions] The [`CacheQueryOptions`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete#Parameters)\n * that will be used when calling `delete()` on the cache.\n * @param {boolean} [config.purgeOnQuotaError] Whether to opt this cache in to\n * automatic deletion if the available storage quota has been exceeded.\n */\n constructor(config = {}) {\n /**\n * A \"lifecycle\" callback that will be triggered automatically by the\n * `workbox-strategies` handlers when a `Response` is about to be returned\n * from a [Cache](https://developer.mozilla.org/en-US/docs/Web/API/Cache) to\n * the handler. It allows the `Response` to be inspected for freshness and\n * prevents it from being used if the `Response`'s `Date` header value is\n * older than the configured `maxAgeSeconds`.\n *\n * @param {Object} options\n * @param {string} options.cacheName Name of the cache the response is in.\n * @param {Response} options.cachedResponse The `Response` object that's been\n * read from a cache and whose freshness should be checked.\n * @return {Response} Either the `cachedResponse`, if it's\n * fresh, or `null` if the `Response` is older than `maxAgeSeconds`.\n *\n * @private\n */\n this.cachedResponseWillBeUsed = async ({ event, request, cacheName, cachedResponse, }) => {\n if (!cachedResponse) {\n return null;\n }\n const isFresh = this._isResponseDateFresh(cachedResponse);\n // Expire entries to ensure that even if the expiration date has\n // expired, it'll only be used once.\n const cacheExpiration = this._getCacheExpiration(cacheName);\n dontWaitFor(cacheExpiration.expireEntries());\n // Update the metadata for the request URL to the current timestamp,\n // but don't `await` it as we don't want to block the response.\n const updateTimestampDone = cacheExpiration.updateTimestamp(request.url);\n if (event) {\n try {\n event.waitUntil(updateTimestampDone);\n }\n catch (error) {\n if (process.env.NODE_ENV !== 'production') {\n // The event may not be a fetch event; only log the URL if it is.\n if ('request' in event) {\n logger.warn(`Unable to ensure service worker stays alive when ` +\n `updating cache entry for ` +\n `'${getFriendlyURL(event.request.url)}'.`);\n }\n }\n }\n }\n return isFresh ? cachedResponse : null;\n };\n /**\n * A \"lifecycle\" callback that will be triggered automatically by the\n * `workbox-strategies` handlers when an entry is added to a cache.\n *\n * @param {Object} options\n * @param {string} options.cacheName Name of the cache that was updated.\n * @param {string} options.request The Request for the cached entry.\n *\n * @private\n */\n this.cacheDidUpdate = async ({ cacheName, request, }) => {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(cacheName, 'string', {\n moduleName: 'workbox-expiration',\n className: 'Plugin',\n funcName: 'cacheDidUpdate',\n paramName: 'cacheName',\n });\n assert.isInstance(request, Request, {\n moduleName: 'workbox-expiration',\n className: 'Plugin',\n funcName: 'cacheDidUpdate',\n paramName: 'request',\n });\n }\n const cacheExpiration = this._getCacheExpiration(cacheName);\n await cacheExpiration.updateTimestamp(request.url);\n await cacheExpiration.expireEntries();\n };\n if (process.env.NODE_ENV !== 'production') {\n if (!(config.maxEntries || config.maxAgeSeconds)) {\n throw new WorkboxError('max-entries-or-age-required', {\n moduleName: 'workbox-expiration',\n className: 'Plugin',\n funcName: 'constructor',\n });\n }\n if (config.maxEntries) {\n assert.isType(config.maxEntries, 'number', {\n moduleName: 'workbox-expiration',\n className: 'Plugin',\n funcName: 'constructor',\n paramName: 'config.maxEntries',\n });\n }\n if (config.maxAgeSeconds) {\n assert.isType(config.maxAgeSeconds, 'number', {\n moduleName: 'workbox-expiration',\n className: 'Plugin',\n funcName: 'constructor',\n paramName: 'config.maxAgeSeconds',\n });\n }\n }\n this._config = config;\n this._maxAgeSeconds = config.maxAgeSeconds;\n this._cacheExpirations = new Map();\n if (config.purgeOnQuotaError) {\n registerQuotaErrorCallback(() => this.deleteCacheAndMetadata());\n }\n }\n /**\n * A simple helper method to return a CacheExpiration instance for a given\n * cache name.\n *\n * @param {string} cacheName\n * @return {CacheExpiration}\n *\n * @private\n */\n _getCacheExpiration(cacheName) {\n if (cacheName === cacheNames.getRuntimeName()) {\n throw new WorkboxError('expire-custom-caches-only');\n }\n let cacheExpiration = this._cacheExpirations.get(cacheName);\n if (!cacheExpiration) {\n cacheExpiration = new CacheExpiration(cacheName, this._config);\n this._cacheExpirations.set(cacheName, cacheExpiration);\n }\n return cacheExpiration;\n }\n /**\n * @param {Response} cachedResponse\n * @return {boolean}\n *\n * @private\n */\n _isResponseDateFresh(cachedResponse) {\n if (!this._maxAgeSeconds) {\n // We aren't expiring by age, so return true, it's fresh\n return true;\n }\n // Check if the 'date' header will suffice a quick expiration check.\n // See https://github.com/GoogleChromeLabs/sw-toolbox/issues/164 for\n // discussion.\n const dateHeaderTimestamp = this._getDateHeaderTimestamp(cachedResponse);\n if (dateHeaderTimestamp === null) {\n // Unable to parse date, so assume it's fresh.\n return true;\n }\n // If we have a valid headerTime, then our response is fresh iff the\n // headerTime plus maxAgeSeconds is greater than the current time.\n const now = Date.now();\n return dateHeaderTimestamp >= now - this._maxAgeSeconds * 1000;\n }\n /**\n * This method will extract the data header and parse it into a useful\n * value.\n *\n * @param {Response} cachedResponse\n * @return {number|null}\n *\n * @private\n */\n _getDateHeaderTimestamp(cachedResponse) {\n if (!cachedResponse.headers.has('date')) {\n return null;\n }\n const dateHeader = cachedResponse.headers.get('date');\n const parsedDate = new Date(dateHeader);\n const headerTime = parsedDate.getTime();\n // If the Date header was invalid for some reason, parsedDate.getTime()\n // will return NaN.\n if (isNaN(headerTime)) {\n return null;\n }\n return headerTime;\n }\n /**\n * This is a helper method that performs two operations:\n *\n * - Deletes *all* the underlying Cache instances associated with this plugin\n * instance, by calling caches.delete() on your behalf.\n * - Deletes the metadata from IndexedDB used to keep track of expiration\n * details for each Cache instance.\n *\n * When using cache expiration, calling this method is preferable to calling\n * `caches.delete()` directly, since this will ensure that the IndexedDB\n * metadata is also cleanly removed and open IndexedDB instances are deleted.\n *\n * Note that if you're *not* using cache expiration for a given cache, calling\n * `caches.delete()` and passing in the cache's name should be sufficient.\n * There is no Workbox-specific method needed for cleanup in that case.\n */\n async deleteCacheAndMetadata() {\n // Do this one at a time instead of all at once via `Promise.all()` to\n // reduce the chance of inconsistency if a promise rejects.\n for (const [cacheName, cacheExpiration] of this._cacheExpirations) {\n await self.caches.delete(cacheName);\n await cacheExpiration.delete();\n }\n // Reset this._cacheExpirations to its initial state.\n this._cacheExpirations = new Map();\n }\n}\nexport { ExpirationPlugin };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from './_private/logger.js';\nimport { assert } from './_private/assert.js';\nimport { quotaErrorCallbacks } from './models/quotaErrorCallbacks.js';\nimport './_version.js';\n/**\n * Adds a function to the set of quotaErrorCallbacks that will be executed if\n * there's a quota error.\n *\n * @param {Function} callback\n * @memberof workbox-core\n */\n// Can't change Function type\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction registerQuotaErrorCallback(callback) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(callback, 'function', {\n moduleName: 'workbox-core',\n funcName: 'register',\n paramName: 'callback',\n });\n }\n quotaErrorCallbacks.add(callback);\n if (process.env.NODE_ENV !== 'production') {\n logger.log('Registered a callback to respond to quota errors.', callback);\n }\n}\nexport { registerQuotaErrorCallback };\n","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport '../_version.js';\n// Name of the search parameter used to store revision info.\nconst REVISION_SEARCH_PARAM = '__WB_REVISION__';\n/**\n * Converts a manifest entry into a versioned URL suitable for precaching.\n *\n * @param {Object|string} entry\n * @return {string} A URL with versioning info.\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function createCacheKey(entry) {\n if (!entry) {\n throw new WorkboxError('add-to-cache-list-unexpected-type', { entry });\n }\n // If a precache manifest entry is a string, it's assumed to be a versioned\n // URL, like '/app.abcd1234.js'. Return as-is.\n if (typeof entry === 'string') {\n const urlObject = new URL(entry, location.href);\n return {\n cacheKey: urlObject.href,\n url: urlObject.href,\n };\n }\n const { revision, url } = entry;\n if (!url) {\n throw new WorkboxError('add-to-cache-list-unexpected-type', { entry });\n }\n // If there's just a URL and no revision, then it's also assumed to be a\n // versioned URL.\n if (!revision) {\n const urlObject = new URL(url, location.href);\n return {\n cacheKey: urlObject.href,\n url: urlObject.href,\n };\n }\n // Otherwise, construct a properly versioned URL using the custom Workbox\n // search parameter along with the revision info.\n const cacheKeyURL = new URL(url, location.href);\n const originalURL = new URL(url, location.href);\n cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM, revision);\n return {\n cacheKey: cacheKeyURL.href,\n url: originalURL.href,\n };\n}\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A plugin, designed to be used with PrecacheController, to determine the\n * of assets that were updated (or not updated) during the install event.\n *\n * @private\n */\nclass PrecacheInstallReportPlugin {\n constructor() {\n this.updatedURLs = [];\n this.notUpdatedURLs = [];\n this.handlerWillStart = async ({ request, state, }) => {\n // TODO: `state` should never be undefined...\n if (state) {\n state.originalRequest = request;\n }\n };\n this.cachedResponseWillBeUsed = async ({ event, state, cachedResponse, }) => {\n if (event.type === 'install') {\n if (state &&\n state.originalRequest &&\n state.originalRequest instanceof Request) {\n // TODO: `state` should never be undefined...\n const url = state.originalRequest.url;\n if (cachedResponse) {\n this.notUpdatedURLs.push(url);\n }\n else {\n this.updatedURLs.push(url);\n }\n }\n }\n return cachedResponse;\n };\n }\n}\nexport { PrecacheInstallReportPlugin };\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * A plugin, designed to be used with PrecacheController, to translate URLs into\n * the corresponding cache key, based on the current revision info.\n *\n * @private\n */\nclass PrecacheCacheKeyPlugin {\n constructor({ precacheController }) {\n this.cacheKeyWillBeUsed = async ({ request, params, }) => {\n // Params is type any, can't change right now.\n /* eslint-disable */\n const cacheKey = (params === null || params === void 0 ? void 0 : params.cacheKey) ||\n this._precacheController.getCacheKeyForURL(request.url);\n /* eslint-enable */\n return cacheKey\n ? new Request(cacheKey, { headers: request.headers })\n : request;\n };\n this._precacheController = precacheController;\n }\n}\nexport { PrecacheCacheKeyPlugin };\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { cacheMatchIgnoreParams } from 'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport { Deferred } from 'workbox-core/_private/Deferred.js';\nimport { executeQuotaErrorCallbacks } from 'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { timeout } from 'workbox-core/_private/timeout.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport './_version.js';\nfunction toRequest(input) {\n return typeof input === 'string' ? new Request(input) : input;\n}\n/**\n * A class created every time a Strategy instance instance calls\n * {@link workbox-strategies.Strategy~handle} or\n * {@link workbox-strategies.Strategy~handleAll} that wraps all fetch and\n * cache actions around plugin callbacks and keeps track of when the strategy\n * is \"done\" (i.e. all added `event.waitUntil()` promises have resolved).\n *\n * @memberof workbox-strategies\n */\nclass StrategyHandler {\n /**\n * Creates a new instance associated with the passed strategy and event\n * that's handling the request.\n *\n * The constructor also initializes the state that will be passed to each of\n * the plugins handling this request.\n *\n * @param {workbox-strategies.Strategy} strategy\n * @param {Object} options\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params] The return value from the\n * {@link workbox-routing~matchCallback} (if applicable).\n */\n constructor(strategy, options) {\n this._cacheKeys = {};\n /**\n * The request the strategy is performing (passed to the strategy's\n * `handle()` or `handleAll()` method).\n * @name request\n * @instance\n * @type {Request}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * The event associated with this request.\n * @name event\n * @instance\n * @type {ExtendableEvent}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * A `URL` instance of `request.url` (if passed to the strategy's\n * `handle()` or `handleAll()` method).\n * Note: the `url` param will be present if the strategy was invoked\n * from a workbox `Route` object.\n * @name url\n * @instance\n * @type {URL|undefined}\n * @memberof workbox-strategies.StrategyHandler\n */\n /**\n * A `param` value (if passed to the strategy's\n * `handle()` or `handleAll()` method).\n * Note: the `param` param will be present if the strategy was invoked\n * from a workbox `Route` object and the\n * {@link workbox-routing~matchCallback} returned\n * a truthy value (it will be that value).\n * @name params\n * @instance\n * @type {*|undefined}\n * @memberof workbox-strategies.StrategyHandler\n */\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(options.event, ExtendableEvent, {\n moduleName: 'workbox-strategies',\n className: 'StrategyHandler',\n funcName: 'constructor',\n paramName: 'options.event',\n });\n }\n Object.assign(this, options);\n this.event = options.event;\n this._strategy = strategy;\n this._handlerDeferred = new Deferred();\n this._extendLifetimePromises = [];\n // Copy the plugins list (since it's mutable on the strategy),\n // so any mutations don't affect this handler instance.\n this._plugins = [...strategy.plugins];\n this._pluginStateMap = new Map();\n for (const plugin of this._plugins) {\n this._pluginStateMap.set(plugin, {});\n }\n this.event.waitUntil(this._handlerDeferred.promise);\n }\n /**\n * Fetches a given request (and invokes any applicable plugin callback\n * methods) using the `fetchOptions` (for non-navigation requests) and\n * `plugins` defined on the `Strategy` object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - `requestWillFetch()`\n * - `fetchDidSucceed()`\n * - `fetchDidFail()`\n *\n * @param {Request|string} input The URL or request to fetch.\n * @return {Promise}\n */\n async fetch(input) {\n const { event } = this;\n let request = toRequest(input);\n if (request.mode === 'navigate' &&\n event instanceof FetchEvent &&\n event.preloadResponse) {\n const possiblePreloadResponse = (await event.preloadResponse);\n if (possiblePreloadResponse) {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`Using a preloaded navigation response for ` +\n `'${getFriendlyURL(request.url)}'`);\n }\n return possiblePreloadResponse;\n }\n }\n // If there is a fetchDidFail plugin, we need to save a clone of the\n // original request before it's either modified by a requestWillFetch\n // plugin or before the original request's body is consumed via fetch().\n const originalRequest = this.hasCallback('fetchDidFail')\n ? request.clone()\n : null;\n try {\n for (const cb of this.iterateCallbacks('requestWillFetch')) {\n request = await cb({ request: request.clone(), event });\n }\n }\n catch (err) {\n if (err instanceof Error) {\n throw new WorkboxError('plugin-error-request-will-fetch', {\n thrownErrorMessage: err.message,\n });\n }\n }\n // The request can be altered by plugins with `requestWillFetch` making\n // the original request (most likely from a `fetch` event) different\n // from the Request we make. Pass both to `fetchDidFail` to aid debugging.\n const pluginFilteredRequest = request.clone();\n try {\n let fetchResponse;\n // See https://github.com/GoogleChrome/workbox/issues/1796\n fetchResponse = await fetch(request, request.mode === 'navigate' ? undefined : this._strategy.fetchOptions);\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Network request for ` +\n `'${getFriendlyURL(request.url)}' returned a response with ` +\n `status '${fetchResponse.status}'.`);\n }\n for (const callback of this.iterateCallbacks('fetchDidSucceed')) {\n fetchResponse = await callback({\n event,\n request: pluginFilteredRequest,\n response: fetchResponse,\n });\n }\n return fetchResponse;\n }\n catch (error) {\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`Network request for ` +\n `'${getFriendlyURL(request.url)}' threw an error.`, error);\n }\n // `originalRequest` will only exist if a `fetchDidFail` callback\n // is being used (see above).\n if (originalRequest) {\n await this.runCallbacks('fetchDidFail', {\n error: error,\n event,\n originalRequest: originalRequest.clone(),\n request: pluginFilteredRequest.clone(),\n });\n }\n throw error;\n }\n }\n /**\n * Calls `this.fetch()` and (in the background) runs `this.cachePut()` on\n * the response generated by `this.fetch()`.\n *\n * The call to `this.cachePut()` automatically invokes `this.waitUntil()`,\n * so you do not have to manually call `waitUntil()` on the event.\n *\n * @param {Request|string} input The request or URL to fetch and cache.\n * @return {Promise}\n */\n async fetchAndCachePut(input) {\n const response = await this.fetch(input);\n const responseClone = response.clone();\n void this.waitUntil(this.cachePut(input, responseClone));\n return response;\n }\n /**\n * Matches a request from the cache (and invokes any applicable plugin\n * callback methods) using the `cacheName`, `matchOptions`, and `plugins`\n * defined on the strategy object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - cacheKeyWillByUsed()\n * - cachedResponseWillByUsed()\n *\n * @param {Request|string} key The Request or URL to use as the cache key.\n * @return {Promise} A matching response, if found.\n */\n async cacheMatch(key) {\n const request = toRequest(key);\n let cachedResponse;\n const { cacheName, matchOptions } = this._strategy;\n const effectiveRequest = await this.getCacheKey(request, 'read');\n const multiMatchOptions = Object.assign(Object.assign({}, matchOptions), { cacheName });\n cachedResponse = await caches.match(effectiveRequest, multiMatchOptions);\n if (process.env.NODE_ENV !== 'production') {\n if (cachedResponse) {\n logger.debug(`Found a cached response in '${cacheName}'.`);\n }\n else {\n logger.debug(`No cached response found in '${cacheName}'.`);\n }\n }\n for (const callback of this.iterateCallbacks('cachedResponseWillBeUsed')) {\n cachedResponse =\n (await callback({\n cacheName,\n matchOptions,\n cachedResponse,\n request: effectiveRequest,\n event: this.event,\n })) || undefined;\n }\n return cachedResponse;\n }\n /**\n * Puts a request/response pair in the cache (and invokes any applicable\n * plugin callback methods) using the `cacheName` and `plugins` defined on\n * the strategy object.\n *\n * The following plugin lifecycle methods are invoked when using this method:\n * - cacheKeyWillByUsed()\n * - cacheWillUpdate()\n * - cacheDidUpdate()\n *\n * @param {Request|string} key The request or URL to use as the cache key.\n * @param {Response} response The response to cache.\n * @return {Promise} `false` if a cacheWillUpdate caused the response\n * not be cached, and `true` otherwise.\n */\n async cachePut(key, response) {\n const request = toRequest(key);\n // Run in the next task to avoid blocking other cache reads.\n // https://github.com/w3c/ServiceWorker/issues/1397\n await timeout(0);\n const effectiveRequest = await this.getCacheKey(request, 'write');\n if (process.env.NODE_ENV !== 'production') {\n if (effectiveRequest.method && effectiveRequest.method !== 'GET') {\n throw new WorkboxError('attempt-to-cache-non-get-request', {\n url: getFriendlyURL(effectiveRequest.url),\n method: effectiveRequest.method,\n });\n }\n // See https://github.com/GoogleChrome/workbox/issues/2818\n const vary = response.headers.get('Vary');\n if (vary) {\n logger.debug(`The response for ${getFriendlyURL(effectiveRequest.url)} ` +\n `has a 'Vary: ${vary}' header. ` +\n `Consider setting the {ignoreVary: true} option on your strategy ` +\n `to ensure cache matching and deletion works as expected.`);\n }\n }\n if (!response) {\n if (process.env.NODE_ENV !== 'production') {\n logger.error(`Cannot cache non-existent response for ` +\n `'${getFriendlyURL(effectiveRequest.url)}'.`);\n }\n throw new WorkboxError('cache-put-with-no-response', {\n url: getFriendlyURL(effectiveRequest.url),\n });\n }\n const responseToCache = await this._ensureResponseSafeToCache(response);\n if (!responseToCache) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Response '${getFriendlyURL(effectiveRequest.url)}' ` +\n `will not be cached.`, responseToCache);\n }\n return false;\n }\n const { cacheName, matchOptions } = this._strategy;\n const cache = await self.caches.open(cacheName);\n const hasCacheUpdateCallback = this.hasCallback('cacheDidUpdate');\n const oldResponse = hasCacheUpdateCallback\n ? await cacheMatchIgnoreParams(\n // TODO(philipwalton): the `__WB_REVISION__` param is a precaching\n // feature. Consider into ways to only add this behavior if using\n // precaching.\n cache, effectiveRequest.clone(), ['__WB_REVISION__'], matchOptions)\n : null;\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Updating the '${cacheName}' cache with a new Response ` +\n `for ${getFriendlyURL(effectiveRequest.url)}.`);\n }\n try {\n await cache.put(effectiveRequest, hasCacheUpdateCallback ? responseToCache.clone() : responseToCache);\n }\n catch (error) {\n if (error instanceof Error) {\n // See https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n if (error.name === 'QuotaExceededError') {\n await executeQuotaErrorCallbacks();\n }\n throw error;\n }\n }\n for (const callback of this.iterateCallbacks('cacheDidUpdate')) {\n await callback({\n cacheName,\n oldResponse,\n newResponse: responseToCache.clone(),\n request: effectiveRequest,\n event: this.event,\n });\n }\n return true;\n }\n /**\n * Checks the list of plugins for the `cacheKeyWillBeUsed` callback, and\n * executes any of those callbacks found in sequence. The final `Request`\n * object returned by the last plugin is treated as the cache key for cache\n * reads and/or writes. If no `cacheKeyWillBeUsed` plugin callbacks have\n * been registered, the passed request is returned unmodified\n *\n * @param {Request} request\n * @param {string} mode\n * @return {Promise}\n */\n async getCacheKey(request, mode) {\n const key = `${request.url} | ${mode}`;\n if (!this._cacheKeys[key]) {\n let effectiveRequest = request;\n for (const callback of this.iterateCallbacks('cacheKeyWillBeUsed')) {\n effectiveRequest = toRequest(await callback({\n mode,\n request: effectiveRequest,\n event: this.event,\n // params has a type any can't change right now.\n params: this.params, // eslint-disable-line\n }));\n }\n this._cacheKeys[key] = effectiveRequest;\n }\n return this._cacheKeys[key];\n }\n /**\n * Returns true if the strategy has at least one plugin with the given\n * callback.\n *\n * @param {string} name The name of the callback to check for.\n * @return {boolean}\n */\n hasCallback(name) {\n for (const plugin of this._strategy.plugins) {\n if (name in plugin) {\n return true;\n }\n }\n return false;\n }\n /**\n * Runs all plugin callbacks matching the given name, in order, passing the\n * given param object (merged ith the current plugin state) as the only\n * argument.\n *\n * Note: since this method runs all plugins, it's not suitable for cases\n * where the return value of a callback needs to be applied prior to calling\n * the next callback. See\n * {@link workbox-strategies.StrategyHandler#iterateCallbacks}\n * below for how to handle that case.\n *\n * @param {string} name The name of the callback to run within each plugin.\n * @param {Object} param The object to pass as the first (and only) param\n * when executing each callback. This object will be merged with the\n * current plugin state prior to callback execution.\n */\n async runCallbacks(name, param) {\n for (const callback of this.iterateCallbacks(name)) {\n // TODO(philipwalton): not sure why `any` is needed. It seems like\n // this should work with `as WorkboxPluginCallbackParam[C]`.\n await callback(param);\n }\n }\n /**\n * Accepts a callback and returns an iterable of matching plugin callbacks,\n * where each callback is wrapped with the current handler state (i.e. when\n * you call each callback, whatever object parameter you pass it will\n * be merged with the plugin's current state).\n *\n * @param {string} name The name fo the callback to run\n * @return {Array}\n */\n *iterateCallbacks(name) {\n for (const plugin of this._strategy.plugins) {\n if (typeof plugin[name] === 'function') {\n const state = this._pluginStateMap.get(plugin);\n const statefulCallback = (param) => {\n const statefulParam = Object.assign(Object.assign({}, param), { state });\n // TODO(philipwalton): not sure why `any` is needed. It seems like\n // this should work with `as WorkboxPluginCallbackParam[C]`.\n return plugin[name](statefulParam);\n };\n yield statefulCallback;\n }\n }\n }\n /**\n * Adds a promise to the\n * [extend lifetime promises]{@link https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n * of the event event associated with the request being handled (usually a\n * `FetchEvent`).\n *\n * Note: you can await\n * {@link workbox-strategies.StrategyHandler~doneWaiting}\n * to know when all added promises have settled.\n *\n * @param {Promise} promise A promise to add to the extend lifetime promises\n * of the event that triggered the request.\n */\n waitUntil(promise) {\n this._extendLifetimePromises.push(promise);\n return promise;\n }\n /**\n * Returns a promise that resolves once all promises passed to\n * {@link workbox-strategies.StrategyHandler~waitUntil}\n * have settled.\n *\n * Note: any work done after `doneWaiting()` settles should be manually\n * passed to an event's `waitUntil()` method (not this handler's\n * `waitUntil()` method), otherwise the service worker thread my be killed\n * prior to your work completing.\n */\n async doneWaiting() {\n let promise;\n while ((promise = this._extendLifetimePromises.shift())) {\n await promise;\n }\n }\n /**\n * Stops running the strategy and immediately resolves any pending\n * `waitUntil()` promises.\n */\n destroy() {\n this._handlerDeferred.resolve(null);\n }\n /**\n * This method will call cacheWillUpdate on the available plugins (or use\n * status === 200) to determine if the Response is safe and valid to cache.\n *\n * @param {Request} options.request\n * @param {Response} options.response\n * @return {Promise}\n *\n * @private\n */\n async _ensureResponseSafeToCache(response) {\n let responseToCache = response;\n let pluginsUsed = false;\n for (const callback of this.iterateCallbacks('cacheWillUpdate')) {\n responseToCache =\n (await callback({\n request: this.request,\n response: responseToCache,\n event: this.event,\n })) || undefined;\n pluginsUsed = true;\n if (!responseToCache) {\n break;\n }\n }\n if (!pluginsUsed) {\n if (responseToCache && responseToCache.status !== 200) {\n responseToCache = undefined;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (responseToCache) {\n if (responseToCache.status !== 200) {\n if (responseToCache.status === 0) {\n logger.warn(`The response for '${this.request.url}' ` +\n `is an opaque response. The caching strategy that you're ` +\n `using will not cache opaque responses by default.`);\n }\n else {\n logger.debug(`The response for '${this.request.url}' ` +\n `returned a status code of '${response.status}' and won't ` +\n `be cached as a result.`);\n }\n }\n }\n }\n }\n return responseToCache;\n }\n}\nexport { StrategyHandler };\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { StrategyHandler } from './StrategyHandler.js';\nimport './_version.js';\n/**\n * An abstract base class that all other strategy classes must extend from:\n *\n * @memberof workbox-strategies\n */\nclass Strategy {\n /**\n * Creates a new instance of the strategy and sets all documented option\n * properties as public instance properties.\n *\n * Note: if a custom strategy class extends the base Strategy class and does\n * not need more than these properties, it does not need to define its own\n * constructor.\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n * @param {Array} [options.plugins] [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins}\n * to use in conjunction with this caching strategy.\n * @param {Object} [options.fetchOptions] Values passed along to the\n * [`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n * of [non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n * `fetch()` requests made by this strategy.\n * @param {Object} [options.matchOptions] The\n * [`CacheQueryOptions`]{@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n */\n constructor(options = {}) {\n /**\n * Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n *\n * @type {string}\n */\n this.cacheName = cacheNames.getRuntimeName(options.cacheName);\n /**\n * The list\n * [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins}\n * used by this strategy.\n *\n * @type {Array}\n */\n this.plugins = options.plugins || [];\n /**\n * Values passed along to the\n * [`init`]{@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n * of all fetch() requests made by this strategy.\n *\n * @type {Object}\n */\n this.fetchOptions = options.fetchOptions;\n /**\n * The\n * [`CacheQueryOptions`]{@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n *\n * @type {Object}\n */\n this.matchOptions = options.matchOptions;\n }\n /**\n * Perform a request strategy and returns a `Promise` that will resolve with\n * a `Response`, invoking all relevant plugin callbacks.\n *\n * When a strategy instance is registered with a Workbox\n * {@link workbox-routing.Route}, this method is automatically\n * called when the route matches.\n *\n * Alternatively, this method can be used in a standalone `FetchEvent`\n * listener by passing it to `event.respondWith()`.\n *\n * @param {FetchEvent|Object} options A `FetchEvent` or an object with the\n * properties listed below.\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params]\n */\n handle(options) {\n const [responseDone] = this.handleAll(options);\n return responseDone;\n }\n /**\n * Similar to {@link workbox-strategies.Strategy~handle}, but\n * instead of just returning a `Promise` that resolves to a `Response` it\n * it will return an tuple of `[response, done]` promises, where the former\n * (`response`) is equivalent to what `handle()` returns, and the latter is a\n * Promise that will resolve once any promises that were added to\n * `event.waitUntil()` as part of performing the strategy have completed.\n *\n * You can await the `done` promise to ensure any extra work performed by\n * the strategy (usually caching responses) completes successfully.\n *\n * @param {FetchEvent|Object} options A `FetchEvent` or an object with the\n * properties listed below.\n * @param {Request|string} options.request A request to run this strategy for.\n * @param {ExtendableEvent} options.event The event associated with the\n * request.\n * @param {URL} [options.url]\n * @param {*} [options.params]\n * @return {Array} A tuple of [response, done]\n * promises that can be used to determine when the response resolves as\n * well as when the handler has completed all its work.\n */\n handleAll(options) {\n // Allow for flexible options to be passed.\n if (options instanceof FetchEvent) {\n options = {\n event: options,\n request: options.request,\n };\n }\n const event = options.event;\n const request = typeof options.request === 'string'\n ? new Request(options.request)\n : options.request;\n const params = 'params' in options ? options.params : undefined;\n const handler = new StrategyHandler(this, { event, request, params });\n const responseDone = this._getResponse(handler, request, event);\n const handlerDone = this._awaitComplete(responseDone, handler, request, event);\n // Return an array of promises, suitable for use with Promise.all().\n return [responseDone, handlerDone];\n }\n async _getResponse(handler, request, event) {\n await handler.runCallbacks('handlerWillStart', { event, request });\n let response = undefined;\n try {\n response = await this._handle(request, handler);\n // The \"official\" Strategy subclasses all throw this error automatically,\n // but in case a third-party Strategy doesn't, ensure that we have a\n // consistent failure when there's no response or an error response.\n if (!response || response.type === 'error') {\n throw new WorkboxError('no-response', { url: request.url });\n }\n }\n catch (error) {\n if (error instanceof Error) {\n for (const callback of handler.iterateCallbacks('handlerDidError')) {\n response = await callback({ error, event, request });\n if (response) {\n break;\n }\n }\n }\n if (!response) {\n throw error;\n }\n else if (process.env.NODE_ENV !== 'production') {\n logger.log(`While responding to '${getFriendlyURL(request.url)}', ` +\n `an ${error instanceof Error ? error.toString() : ''} error occurred. Using a fallback response provided by ` +\n `a handlerDidError plugin.`);\n }\n }\n for (const callback of handler.iterateCallbacks('handlerWillRespond')) {\n response = await callback({ event, request, response });\n }\n return response;\n }\n async _awaitComplete(responseDone, handler, request, event) {\n let response;\n let error;\n try {\n response = await responseDone;\n }\n catch (error) {\n // Ignore errors, as response errors should be caught via the `response`\n // promise above. The `done` promise will only throw for errors in\n // promises passed to `handler.waitUntil()`.\n }\n try {\n await handler.runCallbacks('handlerDidRespond', {\n event,\n request,\n response,\n });\n await handler.doneWaiting();\n }\n catch (waitUntilError) {\n if (waitUntilError instanceof Error) {\n error = waitUntilError;\n }\n }\n await handler.runCallbacks('handlerDidComplete', {\n event,\n request,\n response,\n error: error,\n });\n handler.destroy();\n if (error) {\n throw error;\n }\n }\n}\nexport { Strategy };\n/**\n * Classes extending the `Strategy` based class should implement this method,\n * and leverage the {@link workbox-strategies.StrategyHandler}\n * arg to perform all fetching and cache logic, which will ensure all relevant\n * cache, cache options, fetch options and plugins are used (per the current\n * strategy instance).\n *\n * @name _handle\n * @instance\n * @abstract\n * @function\n * @param {Request} request\n * @param {workbox-strategies.StrategyHandler} handler\n * @return {Promise}\n *\n * @memberof workbox-strategies.Strategy\n */\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { copyResponse } from 'workbox-core/copyResponse.js';\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { Strategy } from 'workbox-strategies/Strategy.js';\nimport './_version.js';\n/**\n * A {@link workbox-strategies.Strategy} implementation\n * specifically designed to work with\n * {@link workbox-precaching.PrecacheController}\n * to both cache and fetch precached assets.\n *\n * Note: an instance of this class is created automatically when creating a\n * `PrecacheController`; it's generally not necessary to create this yourself.\n *\n * @extends workbox-strategies.Strategy\n * @memberof workbox-precaching\n */\nclass PrecacheStrategy extends Strategy {\n /**\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] Cache name to store and retrieve\n * requests. Defaults to the cache names provided by\n * {@link workbox-core.cacheNames}.\n * @param {Array} [options.plugins] {@link https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n * to use in conjunction with this caching strategy.\n * @param {Object} [options.fetchOptions] Values passed along to the\n * {@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n * of all fetch() requests made by this strategy.\n * @param {Object} [options.matchOptions] The\n * {@link https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n * for any `cache.match()` or `cache.put()` calls made by this strategy.\n * @param {boolean} [options.fallbackToNetwork=true] Whether to attempt to\n * get the response from the network if there's a precache miss.\n */\n constructor(options = {}) {\n options.cacheName = cacheNames.getPrecacheName(options.cacheName);\n super(options);\n this._fallbackToNetwork =\n options.fallbackToNetwork === false ? false : true;\n // Redirected responses cannot be used to satisfy a navigation request, so\n // any redirected response must be \"copied\" rather than cloned, so the new\n // response doesn't contain the `redirected` flag. See:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n }\n /**\n * @private\n * @param {Request|string} request A request to run this strategy for.\n * @param {workbox-strategies.StrategyHandler} handler The event that\n * triggered the request.\n * @return {Promise}\n */\n async _handle(request, handler) {\n const response = await handler.cacheMatch(request);\n if (response) {\n return response;\n }\n // If this is an `install` event for an entry that isn't already cached,\n // then populate the cache.\n if (handler.event && handler.event.type === 'install') {\n return await this._handleInstall(request, handler);\n }\n // Getting here means something went wrong. An entry that should have been\n // precached wasn't found in the cache.\n return await this._handleFetch(request, handler);\n }\n async _handleFetch(request, handler) {\n let response;\n const params = (handler.params || {});\n // Fall back to the network if we're configured to do so.\n if (this._fallbackToNetwork) {\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(`The precached response for ` +\n `${getFriendlyURL(request.url)} in ${this.cacheName} was not ` +\n `found. Falling back to the network.`);\n }\n const integrityInManifest = params.integrity;\n const integrityInRequest = request.integrity;\n const noIntegrityConflict = !integrityInRequest || integrityInRequest === integrityInManifest;\n // Do not add integrity if the original request is no-cors\n // See https://github.com/GoogleChrome/workbox/issues/3096\n response = await handler.fetch(new Request(request, {\n integrity: request.mode !== 'no-cors'\n ? integrityInRequest || integrityInManifest\n : undefined,\n }));\n // It's only \"safe\" to repair the cache if we're using SRI to guarantee\n // that the response matches the precache manifest's expectations,\n // and there's either a) no integrity property in the incoming request\n // or b) there is an integrity, and it matches the precache manifest.\n // See https://github.com/GoogleChrome/workbox/issues/2858\n // Also if the original request users no-cors we don't use integrity.\n // See https://github.com/GoogleChrome/workbox/issues/3096\n if (integrityInManifest &&\n noIntegrityConflict &&\n request.mode !== 'no-cors') {\n this._useDefaultCacheabilityPluginIfNeeded();\n const wasCached = await handler.cachePut(request, response.clone());\n if (process.env.NODE_ENV !== 'production') {\n if (wasCached) {\n logger.log(`A response for ${getFriendlyURL(request.url)} ` +\n `was used to \"repair\" the precache.`);\n }\n }\n }\n }\n else {\n // This shouldn't normally happen, but there are edge cases:\n // https://github.com/GoogleChrome/workbox/issues/1441\n throw new WorkboxError('missing-precache-entry', {\n cacheName: this.cacheName,\n url: request.url,\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n const cacheKey = params.cacheKey || (await handler.getCacheKey(request, 'read'));\n // Workbox is going to handle the route.\n // print the routing details to the console.\n logger.groupCollapsed(`Precaching is responding to: ` + getFriendlyURL(request.url));\n logger.log(`Serving the precached url: ${getFriendlyURL(cacheKey instanceof Request ? cacheKey.url : cacheKey)}`);\n logger.groupCollapsed(`View request details here.`);\n logger.log(request);\n logger.groupEnd();\n logger.groupCollapsed(`View response details here.`);\n logger.log(response);\n logger.groupEnd();\n logger.groupEnd();\n }\n return response;\n }\n async _handleInstall(request, handler) {\n this._useDefaultCacheabilityPluginIfNeeded();\n const response = await handler.fetch(request);\n // Make sure we defer cachePut() until after we know the response\n // should be cached; see https://github.com/GoogleChrome/workbox/issues/2737\n const wasCached = await handler.cachePut(request, response.clone());\n if (!wasCached) {\n // Throwing here will lead to the `install` handler failing, which\n // we want to do if *any* of the responses aren't safe to cache.\n throw new WorkboxError('bad-precaching-response', {\n url: request.url,\n status: response.status,\n });\n }\n return response;\n }\n /**\n * This method is complex, as there a number of things to account for:\n *\n * The `plugins` array can be set at construction, and/or it might be added to\n * to at any time before the strategy is used.\n *\n * At the time the strategy is used (i.e. during an `install` event), there\n * needs to be at least one plugin that implements `cacheWillUpdate` in the\n * array, other than `copyRedirectedCacheableResponsesPlugin`.\n *\n * - If this method is called and there are no suitable `cacheWillUpdate`\n * plugins, we need to add `defaultPrecacheCacheabilityPlugin`.\n *\n * - If this method is called and there is exactly one `cacheWillUpdate`, then\n * we don't have to do anything (this might be a previously added\n * `defaultPrecacheCacheabilityPlugin`, or it might be a custom plugin).\n *\n * - If this method is called and there is more than one `cacheWillUpdate`,\n * then we need to check if one is `defaultPrecacheCacheabilityPlugin`. If so,\n * we need to remove it. (This situation is unlikely, but it could happen if\n * the strategy is used multiple times, the first without a `cacheWillUpdate`,\n * and then later on after manually adding a custom `cacheWillUpdate`.)\n *\n * See https://github.com/GoogleChrome/workbox/issues/2737 for more context.\n *\n * @private\n */\n _useDefaultCacheabilityPluginIfNeeded() {\n let defaultPluginIndex = null;\n let cacheWillUpdatePluginCount = 0;\n for (const [index, plugin] of this.plugins.entries()) {\n // Ignore the copy redirected plugin when determining what to do.\n if (plugin === PrecacheStrategy.copyRedirectedCacheableResponsesPlugin) {\n continue;\n }\n // Save the default plugin's index, in case it needs to be removed.\n if (plugin === PrecacheStrategy.defaultPrecacheCacheabilityPlugin) {\n defaultPluginIndex = index;\n }\n if (plugin.cacheWillUpdate) {\n cacheWillUpdatePluginCount++;\n }\n }\n if (cacheWillUpdatePluginCount === 0) {\n this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n }\n else if (cacheWillUpdatePluginCount > 1 && defaultPluginIndex !== null) {\n // Only remove the default plugin; multiple custom plugins are allowed.\n this.plugins.splice(defaultPluginIndex, 1);\n }\n // Nothing needs to be done if cacheWillUpdatePluginCount is 1\n }\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin = {\n async cacheWillUpdate({ response }) {\n if (!response || response.status >= 400) {\n return null;\n }\n return response;\n },\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin = {\n async cacheWillUpdate({ response }) {\n return response.redirected ? await copyResponse(response) : response;\n },\n};\nexport { PrecacheStrategy };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { cacheNames } from 'workbox-core/_private/cacheNames.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { waitUntil } from 'workbox-core/_private/waitUntil.js';\nimport { createCacheKey } from './utils/createCacheKey.js';\nimport { PrecacheInstallReportPlugin } from './utils/PrecacheInstallReportPlugin.js';\nimport { PrecacheCacheKeyPlugin } from './utils/PrecacheCacheKeyPlugin.js';\nimport { printCleanupDetails } from './utils/printCleanupDetails.js';\nimport { printInstallDetails } from './utils/printInstallDetails.js';\nimport { PrecacheStrategy } from './PrecacheStrategy.js';\nimport './_version.js';\n/**\n * Performs efficient precaching of assets.\n *\n * @memberof workbox-precaching\n */\nclass PrecacheController {\n /**\n * Create a new PrecacheController.\n *\n * @param {Object} [options]\n * @param {string} [options.cacheName] The cache to use for precaching.\n * @param {string} [options.plugins] Plugins to use when precaching as well\n * as responding to fetch events for precached assets.\n * @param {boolean} [options.fallbackToNetwork=true] Whether to attempt to\n * get the response from the network if there's a precache miss.\n */\n constructor({ cacheName, plugins = [], fallbackToNetwork = true, } = {}) {\n this._urlsToCacheKeys = new Map();\n this._urlsToCacheModes = new Map();\n this._cacheKeysToIntegrities = new Map();\n this._strategy = new PrecacheStrategy({\n cacheName: cacheNames.getPrecacheName(cacheName),\n plugins: [\n ...plugins,\n new PrecacheCacheKeyPlugin({ precacheController: this }),\n ],\n fallbackToNetwork,\n });\n // Bind the install and activate methods to the instance.\n this.install = this.install.bind(this);\n this.activate = this.activate.bind(this);\n }\n /**\n * @type {workbox-precaching.PrecacheStrategy} The strategy created by this controller and\n * used to cache assets and respond to fetch events.\n */\n get strategy() {\n return this._strategy;\n }\n /**\n * Adds items to the precache list, removing any duplicates and\n * stores the files in the\n * {@link workbox-core.cacheNames|\"precache cache\"} when the service\n * worker installs.\n *\n * This method can be called multiple times.\n *\n * @param {Array} [entries=[]] Array of entries to precache.\n */\n precache(entries) {\n this.addToCacheList(entries);\n if (!this._installAndActiveListenersAdded) {\n self.addEventListener('install', this.install);\n self.addEventListener('activate', this.activate);\n this._installAndActiveListenersAdded = true;\n }\n }\n /**\n * This method will add items to the precache list, removing duplicates\n * and ensuring the information is valid.\n *\n * @param {Array} entries\n * Array of entries to precache.\n */\n addToCacheList(entries) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isArray(entries, {\n moduleName: 'workbox-precaching',\n className: 'PrecacheController',\n funcName: 'addToCacheList',\n paramName: 'entries',\n });\n }\n const urlsToWarnAbout = [];\n for (const entry of entries) {\n // See https://github.com/GoogleChrome/workbox/issues/2259\n if (typeof entry === 'string') {\n urlsToWarnAbout.push(entry);\n }\n else if (entry && entry.revision === undefined) {\n urlsToWarnAbout.push(entry.url);\n }\n const { cacheKey, url } = createCacheKey(entry);\n const cacheMode = typeof entry !== 'string' && entry.revision ? 'reload' : 'default';\n if (this._urlsToCacheKeys.has(url) &&\n this._urlsToCacheKeys.get(url) !== cacheKey) {\n throw new WorkboxError('add-to-cache-list-conflicting-entries', {\n firstEntry: this._urlsToCacheKeys.get(url),\n secondEntry: cacheKey,\n });\n }\n if (typeof entry !== 'string' && entry.integrity) {\n if (this._cacheKeysToIntegrities.has(cacheKey) &&\n this._cacheKeysToIntegrities.get(cacheKey) !== entry.integrity) {\n throw new WorkboxError('add-to-cache-list-conflicting-integrities', {\n url,\n });\n }\n this._cacheKeysToIntegrities.set(cacheKey, entry.integrity);\n }\n this._urlsToCacheKeys.set(url, cacheKey);\n this._urlsToCacheModes.set(url, cacheMode);\n if (urlsToWarnAbout.length > 0) {\n const warningMessage = `Workbox is precaching URLs without revision ` +\n `info: ${urlsToWarnAbout.join(', ')}\\nThis is generally NOT safe. ` +\n `Learn more at https://bit.ly/wb-precache`;\n if (process.env.NODE_ENV === 'production') {\n // Use console directly to display this warning without bloating\n // bundle sizes by pulling in all of the logger codebase in prod.\n console.warn(warningMessage);\n }\n else {\n logger.warn(warningMessage);\n }\n }\n }\n }\n /**\n * Precaches new and updated assets. Call this method from the service worker\n * install event.\n *\n * Note: this method calls `event.waitUntil()` for you, so you do not need\n * to call it yourself in your event handlers.\n *\n * @param {ExtendableEvent} event\n * @return {Promise}\n */\n install(event) {\n // waitUntil returns Promise\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return waitUntil(event, async () => {\n const installReportPlugin = new PrecacheInstallReportPlugin();\n this.strategy.plugins.push(installReportPlugin);\n // Cache entries one at a time.\n // See https://github.com/GoogleChrome/workbox/issues/2528\n for (const [url, cacheKey] of this._urlsToCacheKeys) {\n const integrity = this._cacheKeysToIntegrities.get(cacheKey);\n const cacheMode = this._urlsToCacheModes.get(url);\n const request = new Request(url, {\n integrity,\n cache: cacheMode,\n credentials: 'same-origin',\n });\n await Promise.all(this.strategy.handleAll({\n params: { cacheKey },\n request,\n event,\n }));\n }\n const { updatedURLs, notUpdatedURLs } = installReportPlugin;\n if (process.env.NODE_ENV !== 'production') {\n printInstallDetails(updatedURLs, notUpdatedURLs);\n }\n return { updatedURLs, notUpdatedURLs };\n });\n }\n /**\n * Deletes assets that are no longer present in the current precache manifest.\n * Call this method from the service worker activate event.\n *\n * Note: this method calls `event.waitUntil()` for you, so you do not need\n * to call it yourself in your event handlers.\n *\n * @param {ExtendableEvent} event\n * @return {Promise}\n */\n activate(event) {\n // waitUntil returns Promise\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return waitUntil(event, async () => {\n const cache = await self.caches.open(this.strategy.cacheName);\n const currentlyCachedRequests = await cache.keys();\n const expectedCacheKeys = new Set(this._urlsToCacheKeys.values());\n const deletedURLs = [];\n for (const request of currentlyCachedRequests) {\n if (!expectedCacheKeys.has(request.url)) {\n await cache.delete(request);\n deletedURLs.push(request.url);\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n printCleanupDetails(deletedURLs);\n }\n return { deletedURLs };\n });\n }\n /**\n * Returns a mapping of a precached URL to the corresponding cache key, taking\n * into account the revision information for the URL.\n *\n * @return {Map} A URL to cache key mapping.\n */\n getURLsToCacheKeys() {\n return this._urlsToCacheKeys;\n }\n /**\n * Returns a list of all the URLs that have been precached by the current\n * service worker.\n *\n * @return {Array} The precached URLs.\n */\n getCachedURLs() {\n return [...this._urlsToCacheKeys.keys()];\n }\n /**\n * Returns the cache key used for storing a given URL. If that URL is\n * unversioned, like `/index.html', then the cache key will be the original\n * URL with a search parameter appended to it.\n *\n * @param {string} url A URL whose cache key you want to look up.\n * @return {string} The versioned URL that corresponds to a cache key\n * for the original URL, or undefined if that URL isn't precached.\n */\n getCacheKeyForURL(url) {\n const urlObject = new URL(url, location.href);\n return this._urlsToCacheKeys.get(urlObject.href);\n }\n /**\n * @param {string} url A cache key whose SRI you want to look up.\n * @return {string} The subresource integrity associated with the cache key,\n * or undefined if it's not set.\n */\n getIntegrityForCacheKey(cacheKey) {\n return this._cacheKeysToIntegrities.get(cacheKey);\n }\n /**\n * This acts as a drop-in replacement for\n * [`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n * with the following differences:\n *\n * - It knows what the name of the precache is, and only checks in that cache.\n * - It allows you to pass in an \"original\" URL without versioning parameters,\n * and it will automatically look up the correct cache key for the currently\n * active revision of that URL.\n *\n * E.g., `matchPrecache('index.html')` will find the correct precached\n * response for the currently active service worker, even if the actual cache\n * key is `'/index.html?__WB_REVISION__=1234abcd'`.\n *\n * @param {string|Request} request The key (without revisioning parameters)\n * to look up in the precache.\n * @return {Promise}\n */\n async matchPrecache(request) {\n const url = request instanceof Request ? request.url : request;\n const cacheKey = this.getCacheKeyForURL(url);\n if (cacheKey) {\n const cache = await self.caches.open(this.strategy.cacheName);\n return cache.match(cacheKey);\n }\n return undefined;\n }\n /**\n * Returns a function that looks up `url` in the precache (taking into\n * account revision information), and returns the corresponding `Response`.\n *\n * @param {string} url The precached URL which will be used to lookup the\n * `Response`.\n * @return {workbox-routing~handlerCallback}\n */\n createHandlerBoundToURL(url) {\n const cacheKey = this.getCacheKeyForURL(url);\n if (!cacheKey) {\n throw new WorkboxError('non-precached-url', { url });\n }\n return (options) => {\n options.request = new Request(url);\n options.params = Object.assign({ cacheKey }, options.params);\n return this.strategy.handle(options);\n };\n }\n}\nexport { PrecacheController };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { PrecacheController } from '../PrecacheController.js';\nimport '../_version.js';\nlet precacheController;\n/**\n * @return {PrecacheController}\n * @private\n */\nexport const getOrCreatePrecacheController = () => {\n if (!precacheController) {\n precacheController = new PrecacheController();\n }\n return precacheController;\n};\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { Router } from '../Router.js';\nimport '../_version.js';\nlet defaultRouter;\n/**\n * Creates a new, singleton Router instance if one does not exist. If one\n * does already exist, that instance is returned.\n *\n * @private\n * @return {Router}\n */\nexport const getOrCreateDefaultRouter = () => {\n if (!defaultRouter) {\n defaultRouter = new Router();\n // The helpers that use the default Router assume these listeners exist.\n defaultRouter.addFetchListener();\n defaultRouter.addCacheListener();\n }\n return defaultRouter;\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport '../_version.js';\n/**\n * @param {function()|Object} handler Either a function, or an object with a\n * 'handle' method.\n * @return {Object} An object with a handle method.\n *\n * @private\n */\nexport const normalizeHandler = (handler) => {\n if (handler && typeof handler === 'object') {\n if (process.env.NODE_ENV !== 'production') {\n assert.hasMethod(handler, 'handle', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'handler',\n });\n }\n return handler;\n }\n else {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(handler, 'function', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'handler',\n });\n }\n return { handle: handler };\n }\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { defaultMethod, validMethods } from './utils/constants.js';\nimport { normalizeHandler } from './utils/normalizeHandler.js';\nimport './_version.js';\n/**\n * A `Route` consists of a pair of callback functions, \"match\" and \"handler\".\n * The \"match\" callback determine if a route should be used to \"handle\" a\n * request by returning a non-falsy value if it can. The \"handler\" callback\n * is called when there is a match and should return a Promise that resolves\n * to a `Response`.\n *\n * @memberof workbox-routing\n */\nclass Route {\n /**\n * Constructor for Route class.\n *\n * @param {workbox-routing~matchCallback} match\n * A callback function that determines whether the route matches a given\n * `fetch` event by returning a non-falsy value.\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resolving to a Response.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n */\n constructor(match, handler, method = defaultMethod) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(match, 'function', {\n moduleName: 'workbox-routing',\n className: 'Route',\n funcName: 'constructor',\n paramName: 'match',\n });\n if (method) {\n assert.isOneOf(method, validMethods, { paramName: 'method' });\n }\n }\n // These values are referenced directly by Router so cannot be\n // altered by minificaton.\n this.handler = normalizeHandler(handler);\n this.match = match;\n this.method = method;\n }\n /**\n *\n * @param {workbox-routing-handlerCallback} handler A callback\n * function that returns a Promise resolving to a Response\n */\n setCatchHandler(handler) {\n this.catchHandler = normalizeHandler(handler);\n }\n}\nexport { Route };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * The default HTTP method, 'GET', used when there's no specific method\n * configured for a route.\n *\n * @type {string}\n *\n * @private\n */\nexport const defaultMethod = 'GET';\n/**\n * The list of valid HTTP methods associated with requests that could be routed.\n *\n * @type {Array}\n *\n * @private\n */\nexport const validMethods = [\n 'DELETE',\n 'GET',\n 'HEAD',\n 'PATCH',\n 'POST',\n 'PUT',\n];\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { Route } from './Route.js';\nimport './_version.js';\n/**\n * RegExpRoute makes it easy to create a regular expression based\n * {@link workbox-routing.Route}.\n *\n * For same-origin requests the RegExp only needs to match part of the URL. For\n * requests against third-party servers, you must define a RegExp that matches\n * the start of the URL.\n *\n * @memberof workbox-routing\n * @extends workbox-routing.Route\n */\nclass RegExpRoute extends Route {\n /**\n * If the regular expression contains\n * [capture groups]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n * the captured values will be passed to the\n * {@link workbox-routing~handlerCallback} `params`\n * argument.\n *\n * @param {RegExp} regExp The regular expression to match against URLs.\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n */\n constructor(regExp, handler, method) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(regExp, RegExp, {\n moduleName: 'workbox-routing',\n className: 'RegExpRoute',\n funcName: 'constructor',\n paramName: 'pattern',\n });\n }\n const match = ({ url }) => {\n const result = regExp.exec(url.href);\n // Return immediately if there's no match.\n if (!result) {\n return;\n }\n // Require that the match start at the first character in the URL string\n // if it's a cross-origin request.\n // See https://github.com/GoogleChrome/workbox/issues/281 for the context\n // behind this behavior.\n if (url.origin !== location.origin && result.index !== 0) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`The regular expression '${regExp.toString()}' only partially matched ` +\n `against the cross-origin URL '${url.toString()}'. RegExpRoute's will only ` +\n `handle cross-origin requests if they match the entire URL.`);\n }\n return;\n }\n // If the route matches, but there aren't any capture groups defined, then\n // this will return [], which is truthy and therefore sufficient to\n // indicate a match.\n // If there are capture groups, then it will return their values.\n return result.slice(1);\n };\n super(match, handler, method);\n }\n}\nexport { RegExpRoute };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { defaultMethod } from './utils/constants.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { normalizeHandler } from './utils/normalizeHandler.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport './_version.js';\n/**\n * The Router can be used to process a `FetchEvent` using one or more\n * {@link workbox-routing.Route}, responding with a `Response` if\n * a matching route exists.\n *\n * If no route matches a given a request, the Router will use a \"default\"\n * handler if one is defined.\n *\n * Should the matching Route throw an error, the Router will use a \"catch\"\n * handler if one is defined to gracefully deal with issues and respond with a\n * Request.\n *\n * If a request matches multiple routes, the **earliest** registered route will\n * be used to respond to the request.\n *\n * @memberof workbox-routing\n */\nclass Router {\n /**\n * Initializes a new Router.\n */\n constructor() {\n this._routes = new Map();\n this._defaultHandlerMap = new Map();\n }\n /**\n * @return {Map>} routes A `Map` of HTTP\n * method name ('GET', etc.) to an array of all the corresponding `Route`\n * instances that are registered.\n */\n get routes() {\n return this._routes;\n }\n /**\n * Adds a fetch event listener to respond to events when a route matches\n * the event's request.\n */\n addFetchListener() {\n // See https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n self.addEventListener('fetch', ((event) => {\n const { request } = event;\n const responsePromise = this.handleRequest({ request, event });\n if (responsePromise) {\n event.respondWith(responsePromise);\n }\n }));\n }\n /**\n * Adds a message event listener for URLs to cache from the window.\n * This is useful to cache resources loaded on the page prior to when the\n * service worker started controlling it.\n *\n * The format of the message data sent from the window should be as follows.\n * Where the `urlsToCache` array may consist of URL strings or an array of\n * URL string + `requestInit` object (the same as you'd pass to `fetch()`).\n *\n * ```\n * {\n * type: 'CACHE_URLS',\n * payload: {\n * urlsToCache: [\n * './script1.js',\n * './script2.js',\n * ['./script3.js', {mode: 'no-cors'}],\n * ],\n * },\n * }\n * ```\n */\n addCacheListener() {\n // See https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n self.addEventListener('message', ((event) => {\n // event.data is type 'any'\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (event.data && event.data.type === 'CACHE_URLS') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { payload } = event.data;\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Caching URLs from the window`, payload.urlsToCache);\n }\n const requestPromises = Promise.all(payload.urlsToCache.map((entry) => {\n if (typeof entry === 'string') {\n entry = [entry];\n }\n const request = new Request(...entry);\n return this.handleRequest({ request, event });\n // TODO(philipwalton): TypeScript errors without this typecast for\n // some reason (probably a bug). The real type here should work but\n // doesn't: `Array | undefined>`.\n })); // TypeScript\n event.waitUntil(requestPromises);\n // If a MessageChannel was used, reply to the message on success.\n if (event.ports && event.ports[0]) {\n void requestPromises.then(() => event.ports[0].postMessage(true));\n }\n }\n }));\n }\n /**\n * Apply the routing rules to a FetchEvent object to get a Response from an\n * appropriate Route's handler.\n *\n * @param {Object} options\n * @param {Request} options.request The request to handle.\n * @param {ExtendableEvent} options.event The event that triggered the\n * request.\n * @return {Promise|undefined} A promise is returned if a\n * registered route can handle the request. If there is no matching\n * route and there's no `defaultHandler`, `undefined` is returned.\n */\n handleRequest({ request, event, }) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(request, Request, {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'handleRequest',\n paramName: 'options.request',\n });\n }\n const url = new URL(request.url, location.href);\n if (!url.protocol.startsWith('http')) {\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Workbox Router only supports URLs that start with 'http'.`);\n }\n return;\n }\n const sameOrigin = url.origin === location.origin;\n const { params, route } = this.findMatchingRoute({\n event,\n request,\n sameOrigin,\n url,\n });\n let handler = route && route.handler;\n const debugMessages = [];\n if (process.env.NODE_ENV !== 'production') {\n if (handler) {\n debugMessages.push([`Found a route to handle this request:`, route]);\n if (params) {\n debugMessages.push([\n `Passing the following params to the route's handler:`,\n params,\n ]);\n }\n }\n }\n // If we don't have a handler because there was no matching route, then\n // fall back to defaultHandler if that's defined.\n const method = request.method;\n if (!handler && this._defaultHandlerMap.has(method)) {\n if (process.env.NODE_ENV !== 'production') {\n debugMessages.push(`Failed to find a matching route. Falling ` +\n `back to the default handler for ${method}.`);\n }\n handler = this._defaultHandlerMap.get(method);\n }\n if (!handler) {\n if (process.env.NODE_ENV !== 'production') {\n // No handler so Workbox will do nothing. If logs is set of debug\n // i.e. verbose, we should print out this information.\n logger.debug(`No route found for: ${getFriendlyURL(url)}`);\n }\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // We have a handler, meaning Workbox is going to handle the route.\n // print the routing details to the console.\n logger.groupCollapsed(`Router is responding to: ${getFriendlyURL(url)}`);\n debugMessages.forEach((msg) => {\n if (Array.isArray(msg)) {\n logger.log(...msg);\n }\n else {\n logger.log(msg);\n }\n });\n logger.groupEnd();\n }\n // Wrap in try and catch in case the handle method throws a synchronous\n // error. It should still callback to the catch handler.\n let responsePromise;\n try {\n responsePromise = handler.handle({ url, request, event, params });\n }\n catch (err) {\n responsePromise = Promise.reject(err);\n }\n // Get route's catch handler, if it exists\n const catchHandler = route && route.catchHandler;\n if (responsePromise instanceof Promise &&\n (this._catchHandler || catchHandler)) {\n responsePromise = responsePromise.catch(async (err) => {\n // If there's a route catch handler, process that first\n if (catchHandler) {\n if (process.env.NODE_ENV !== 'production') {\n // Still include URL here as it will be async from the console group\n // and may not make sense without the URL\n logger.groupCollapsed(`Error thrown when responding to: ` +\n ` ${getFriendlyURL(url)}. Falling back to route's Catch Handler.`);\n logger.error(`Error thrown by:`, route);\n logger.error(err);\n logger.groupEnd();\n }\n try {\n return await catchHandler.handle({ url, request, event, params });\n }\n catch (catchErr) {\n if (catchErr instanceof Error) {\n err = catchErr;\n }\n }\n }\n if (this._catchHandler) {\n if (process.env.NODE_ENV !== 'production') {\n // Still include URL here as it will be async from the console group\n // and may not make sense without the URL\n logger.groupCollapsed(`Error thrown when responding to: ` +\n ` ${getFriendlyURL(url)}. Falling back to global Catch Handler.`);\n logger.error(`Error thrown by:`, route);\n logger.error(err);\n logger.groupEnd();\n }\n return this._catchHandler.handle({ url, request, event });\n }\n throw err;\n });\n }\n return responsePromise;\n }\n /**\n * Checks a request and URL (and optionally an event) against the list of\n * registered routes, and if there's a match, returns the corresponding\n * route along with any params generated by the match.\n *\n * @param {Object} options\n * @param {URL} options.url\n * @param {boolean} options.sameOrigin The result of comparing `url.origin`\n * against the current origin.\n * @param {Request} options.request The request to match.\n * @param {Event} options.event The corresponding event.\n * @return {Object} An object with `route` and `params` properties.\n * They are populated if a matching route was found or `undefined`\n * otherwise.\n */\n findMatchingRoute({ url, sameOrigin, request, event, }) {\n const routes = this._routes.get(request.method) || [];\n for (const route of routes) {\n let params;\n // route.match returns type any, not possible to change right now.\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const matchResult = route.match({ url, sameOrigin, request, event });\n if (matchResult) {\n if (process.env.NODE_ENV !== 'production') {\n // Warn developers that using an async matchCallback is almost always\n // not the right thing to do.\n if (matchResult instanceof Promise) {\n logger.warn(`While routing ${getFriendlyURL(url)}, an async ` +\n `matchCallback function was used. Please convert the ` +\n `following route to use a synchronous matchCallback function:`, route);\n }\n }\n // See https://github.com/GoogleChrome/workbox/issues/2079\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n params = matchResult;\n if (Array.isArray(params) && params.length === 0) {\n // Instead of passing an empty array in as params, use undefined.\n params = undefined;\n }\n else if (matchResult.constructor === Object && // eslint-disable-line\n Object.keys(matchResult).length === 0) {\n // Instead of passing an empty object in as params, use undefined.\n params = undefined;\n }\n else if (typeof matchResult === 'boolean') {\n // For the boolean value true (rather than just something truth-y),\n // don't set params.\n // See https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n params = undefined;\n }\n // Return early if have a match.\n return { route, params };\n }\n }\n // If no match was found above, return and empty object.\n return {};\n }\n /**\n * Define a default `handler` that's called when no routes explicitly\n * match the incoming request.\n *\n * Each HTTP method ('GET', 'POST', etc.) gets its own default handler.\n *\n * Without a default handler, unmatched requests will go against the\n * network as if there were no service worker present.\n *\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n * @param {string} [method='GET'] The HTTP method to associate with this\n * default handler. Each method has its own default.\n */\n setDefaultHandler(handler, method = defaultMethod) {\n this._defaultHandlerMap.set(method, normalizeHandler(handler));\n }\n /**\n * If a Route throws an error while handling a request, this `handler`\n * will be called and given a chance to provide a response.\n *\n * @param {workbox-routing~handlerCallback} handler A callback\n * function that returns a Promise resulting in a Response.\n */\n setCatchHandler(handler) {\n this._catchHandler = normalizeHandler(handler);\n }\n /**\n * Registers a route with the router.\n *\n * @param {workbox-routing.Route} route The route to register.\n */\n registerRoute(route) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isType(route, 'object', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.hasMethod(route, 'match', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.isType(route.handler, 'object', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route',\n });\n assert.hasMethod(route.handler, 'handle', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route.handler',\n });\n assert.isType(route.method, 'string', {\n moduleName: 'workbox-routing',\n className: 'Router',\n funcName: 'registerRoute',\n paramName: 'route.method',\n });\n }\n if (!this._routes.has(route.method)) {\n this._routes.set(route.method, []);\n }\n // Give precedence to all of the earlier routes by adding this additional\n // route to the end of the array.\n this._routes.get(route.method).push(route);\n }\n /**\n * Unregisters a route with the router.\n *\n * @param {workbox-routing.Route} route The route to unregister.\n */\n unregisterRoute(route) {\n if (!this._routes.has(route.method)) {\n throw new WorkboxError('unregister-route-but-not-found-with-method', {\n method: route.method,\n });\n }\n const routeIndex = this._routes.get(route.method).indexOf(route);\n if (routeIndex > -1) {\n this._routes.get(route.method).splice(routeIndex, 1);\n }\n else {\n throw new WorkboxError('unregister-route-route-not-registered');\n }\n }\n}\nexport { Router };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { Route } from './Route.js';\nimport { RegExpRoute } from './RegExpRoute.js';\nimport { getOrCreateDefaultRouter } from './utils/getOrCreateDefaultRouter.js';\nimport './_version.js';\n/**\n * Easily register a RegExp, string, or function with a caching\n * strategy to a singleton Router instance.\n *\n * This method will generate a Route for you if needed and\n * call {@link workbox-routing.Router#registerRoute}.\n *\n * @param {RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route} capture\n * If the capture param is a `Route`, all other arguments will be ignored.\n * @param {workbox-routing~handlerCallback} [handler] A callback\n * function that returns a Promise resulting in a Response. This parameter\n * is required if `capture` is not a `Route` object.\n * @param {string} [method='GET'] The HTTP method to match the Route\n * against.\n * @return {workbox-routing.Route} The generated `Route`.\n *\n * @memberof workbox-routing\n */\nfunction registerRoute(capture, handler, method) {\n let route;\n if (typeof capture === 'string') {\n const captureUrl = new URL(capture, location.href);\n if (process.env.NODE_ENV !== 'production') {\n if (!(capture.startsWith('/') || capture.startsWith('http'))) {\n throw new WorkboxError('invalid-string', {\n moduleName: 'workbox-routing',\n funcName: 'registerRoute',\n paramName: 'capture',\n });\n }\n // We want to check if Express-style wildcards are in the pathname only.\n // TODO: Remove this log message in v4.\n const valueToCheck = capture.startsWith('http')\n ? captureUrl.pathname\n : capture;\n // See https://github.com/pillarjs/path-to-regexp#parameters\n const wildcards = '[*:?+]';\n if (new RegExp(`${wildcards}`).exec(valueToCheck)) {\n logger.debug(`The '$capture' parameter contains an Express-style wildcard ` +\n `character (${wildcards}). Strings are now always interpreted as ` +\n `exact matches; use a RegExp for partial or wildcard matches.`);\n }\n }\n const matchCallback = ({ url }) => {\n if (process.env.NODE_ENV !== 'production') {\n if (url.pathname === captureUrl.pathname &&\n url.origin !== captureUrl.origin) {\n logger.debug(`${capture} only partially matches the cross-origin URL ` +\n `${url.toString()}. This route will only handle cross-origin requests ` +\n `if they match the entire URL.`);\n }\n }\n return url.href === captureUrl.href;\n };\n // If `capture` is a string then `handler` and `method` must be present.\n route = new Route(matchCallback, handler, method);\n }\n else if (capture instanceof RegExp) {\n // If `capture` is a `RegExp` then `handler` and `method` must be present.\n route = new RegExpRoute(capture, handler, method);\n }\n else if (typeof capture === 'function') {\n // If `capture` is a function then `handler` and `method` must be present.\n route = new Route(capture, handler, method);\n }\n else if (capture instanceof Route) {\n route = capture;\n }\n else {\n throw new WorkboxError('unsupported-route-type', {\n moduleName: 'workbox-routing',\n funcName: 'registerRoute',\n paramName: 'capture',\n });\n }\n const defaultRouter = getOrCreateDefaultRouter();\n defaultRouter.registerRoute(route);\n return route;\n}\nexport { registerRoute };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * Removes any URL search parameters that should be ignored.\n *\n * @param {URL} urlObject The original URL.\n * @param {Array} ignoreURLParametersMatching RegExps to test against\n * each search parameter name. Matches mean that the search parameter should be\n * ignored.\n * @return {URL} The URL with any ignored search parameters removed.\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function removeIgnoredSearchParams(urlObject, ignoreURLParametersMatching = []) {\n // Convert the iterable into an array at the start of the loop to make sure\n // deletion doesn't mess up iteration.\n for (const paramName of [...urlObject.searchParams.keys()]) {\n if (ignoreURLParametersMatching.some((regExp) => regExp.test(paramName))) {\n urlObject.searchParams.delete(paramName);\n }\n }\n return urlObject;\n}\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { removeIgnoredSearchParams } from './removeIgnoredSearchParams.js';\nimport '../_version.js';\n/**\n * Generator function that yields possible variations on the original URL to\n * check, one at a time.\n *\n * @param {string} url\n * @param {Object} options\n *\n * @private\n * @memberof workbox-precaching\n */\nexport function* generateURLVariations(url, { ignoreURLParametersMatching = [/^utm_/, /^fbclid$/], directoryIndex = 'index.html', cleanURLs = true, urlManipulation, } = {}) {\n const urlObject = new URL(url, location.href);\n urlObject.hash = '';\n yield urlObject.href;\n const urlWithoutIgnoredParams = removeIgnoredSearchParams(urlObject, ignoreURLParametersMatching);\n yield urlWithoutIgnoredParams.href;\n if (directoryIndex && urlWithoutIgnoredParams.pathname.endsWith('/')) {\n const directoryURL = new URL(urlWithoutIgnoredParams.href);\n directoryURL.pathname += directoryIndex;\n yield directoryURL.href;\n }\n if (cleanURLs) {\n const cleanURL = new URL(urlWithoutIgnoredParams.href);\n cleanURL.pathname += '.html';\n yield cleanURL.href;\n }\n if (urlManipulation) {\n const additionalURLs = urlManipulation({ url: urlObject });\n for (const urlToAttempt of additionalURLs) {\n yield urlToAttempt.href;\n }\n }\n}\n","/*\n Copyright 2020 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport { Route } from 'workbox-routing/Route.js';\nimport { generateURLVariations } from './utils/generateURLVariations.js';\nimport './_version.js';\n/**\n * A subclass of {@link workbox-routing.Route} that takes a\n * {@link workbox-precaching.PrecacheController}\n * instance and uses it to match incoming requests and handle fetching\n * responses from the precache.\n *\n * @memberof workbox-precaching\n * @extends workbox-routing.Route\n */\nclass PrecacheRoute extends Route {\n /**\n * @param {PrecacheController} precacheController A `PrecacheController`\n * instance used to both match requests and respond to fetch events.\n * @param {Object} [options] Options to control how requests are matched\n * against the list of precached URLs.\n * @param {string} [options.directoryIndex=index.html] The `directoryIndex` will\n * check cache entries for a URLs ending with '/' to see if there is a hit when\n * appending the `directoryIndex` value.\n * @param {Array} [options.ignoreURLParametersMatching=[/^utm_/, /^fbclid$/]] An\n * array of regex's to remove search params when looking for a cache match.\n * @param {boolean} [options.cleanURLs=true] The `cleanURLs` option will\n * check the cache for the URL with a `.html` added to the end of the end.\n * @param {workbox-precaching~urlManipulation} [options.urlManipulation]\n * This is a function that should take a URL and return an array of\n * alternative URLs that should be checked for precache matches.\n */\n constructor(precacheController, options) {\n const match = ({ request, }) => {\n const urlsToCacheKeys = precacheController.getURLsToCacheKeys();\n for (const possibleURL of generateURLVariations(request.url, options)) {\n const cacheKey = urlsToCacheKeys.get(possibleURL);\n if (cacheKey) {\n const integrity = precacheController.getIntegrityForCacheKey(cacheKey);\n return { cacheKey, integrity };\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.debug(`Precaching did not find a match for ` + getFriendlyURL(request.url));\n }\n return;\n };\n super(match, precacheController.strategy);\n }\n}\nexport { PrecacheRoute };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';\nimport '../_version.js';\nexport const messages = {\n strategyStart: (strategyName, request) => `Using ${strategyName} to respond to '${getFriendlyURL(request.url)}'`,\n printFinalResponse: (response) => {\n if (response) {\n logger.groupCollapsed(`View the final response here.`);\n logger.log(response || '[No response returned]');\n logger.groupEnd();\n }\n },\n};\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { addRoute } from './addRoute.js';\nimport { precache } from './precache.js';\nimport './_version.js';\n/**\n * This method will add entries to the precache list and add a route to\n * respond to fetch events.\n *\n * This is a convenience method that will call\n * {@link workbox-precaching.precache} and\n * {@link workbox-precaching.addRoute} in a single call.\n *\n * @param {Array} entries Array of entries to precache.\n * @param {Object} [options] See the\n * {@link workbox-precaching.PrecacheRoute} options.\n *\n * @memberof workbox-precaching\n */\nfunction precacheAndRoute(entries, options) {\n precache(entries);\n addRoute(options);\n}\nexport { precacheAndRoute };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\nexport const cacheOkAndOpaquePlugin = {\n /**\n * Returns a valid response (to allow caching) if the status is 200 (OK) or\n * 0 (opaque).\n *\n * @param {Object} options\n * @param {Response} options.response\n * @return {Response|null}\n *\n * @private\n */\n cacheWillUpdate: async ({ response }) => {\n if (response.status === 200 || response.status === 0) {\n return response;\n }\n return null;\n },\n};\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport { cacheOkAndOpaquePlugin } from './plugins/cacheOkAndOpaquePlugin.js';\nimport { Strategy } from './Strategy.js';\nimport { messages } from './utils/messages.js';\nimport './_version.js';\n/**\n * An implementation of a\n * [stale-while-revalidate](https://developer.chrome.com/docs/workbox/caching-strategies-overview/#stale-while-revalidate)\n * request strategy.\n *\n * Resources are requested from both the cache and the network in parallel.\n * The strategy will respond with the cached version if available, otherwise\n * wait for the network response. The cache is updated with the network response\n * with each successful request.\n *\n * By default, this strategy will cache responses with a 200 status code as\n * well as [opaque responses](https://developer.chrome.com/docs/workbox/caching-resources-during-runtime/#opaque-responses).\n * Opaque responses are cross-origin requests where the response doesn't\n * support [CORS](https://enable-cors.org/).\n *\n * If the network request fails, and there is no cache match, this will throw\n * a `WorkboxError` exception.\n *\n * @extends workbox-strategies.Strategy\n * @memberof workbox-strategies\n */\nclass StaleWhileRevalidate extends Strategy {\n /**\n * @param {Object} [options]\n * @param {string} [options.cacheName] Cache name to store and retrieve\n * requests. Defaults to cache names provided by\n * {@link workbox-core.cacheNames}.\n * @param {Array} [options.plugins] [Plugins]{@link https://developers.google.com/web/tools/workbox/guides/using-plugins}\n * to use in conjunction with this caching strategy.\n * @param {Object} [options.fetchOptions] Values passed along to the\n * [`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n * of [non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n * `fetch()` requests made by this strategy.\n * @param {Object} [options.matchOptions] [`CacheQueryOptions`](https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions)\n */\n constructor(options = {}) {\n super(options);\n // If this instance contains no plugins with a 'cacheWillUpdate' callback,\n // prepend the `cacheOkAndOpaquePlugin` plugin to the plugins list.\n if (!this.plugins.some((p) => 'cacheWillUpdate' in p)) {\n this.plugins.unshift(cacheOkAndOpaquePlugin);\n }\n }\n /**\n * @private\n * @param {Request|string} request A request to run this strategy for.\n * @param {workbox-strategies.StrategyHandler} handler The event that\n * triggered the request.\n * @return {Promise}\n */\n async _handle(request, handler) {\n const logs = [];\n if (process.env.NODE_ENV !== 'production') {\n assert.isInstance(request, Request, {\n moduleName: 'workbox-strategies',\n className: this.constructor.name,\n funcName: 'handle',\n paramName: 'request',\n });\n }\n const fetchAndCachePromise = handler.fetchAndCachePut(request).catch(() => {\n // Swallow this error because a 'no-response' error will be thrown in\n // main handler return flow. This will be in the `waitUntil()` flow.\n });\n void handler.waitUntil(fetchAndCachePromise);\n let response = await handler.cacheMatch(request);\n let error;\n if (response) {\n if (process.env.NODE_ENV !== 'production') {\n logs.push(`Found a cached response in the '${this.cacheName}'` +\n ` cache. Will update with the network response in the background.`);\n }\n }\n else {\n if (process.env.NODE_ENV !== 'production') {\n logs.push(`No response found in the '${this.cacheName}' cache. ` +\n `Will wait for the network response.`);\n }\n try {\n // NOTE(philipwalton): Really annoying that we have to type cast here.\n // https://github.com/microsoft/TypeScript/issues/20006\n response = (await fetchAndCachePromise);\n }\n catch (err) {\n if (err instanceof Error) {\n error = err;\n }\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.groupCollapsed(messages.strategyStart(this.constructor.name, request));\n for (const log of logs) {\n logger.log(log);\n }\n messages.printFinalResponse(response);\n logger.groupEnd();\n }\n if (!response) {\n throw new WorkboxError('no-response', { url: request.url, error });\n }\n return response;\n }\n}\nexport { StaleWhileRevalidate };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport './_version.js';\n/**\n * Claim any currently available clients once the service worker\n * becomes active. This is normally used in conjunction with `skipWaiting()`.\n *\n * @memberof workbox-core\n */\nfunction clientsClaim() {\n self.addEventListener('activate', () => self.clients.claim());\n}\nexport { clientsClaim };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { getOrCreatePrecacheController } from './utils/getOrCreatePrecacheController.js';\nimport './_version.js';\n/**\n * Adds items to the precache list, removing any duplicates and\n * stores the files in the\n * {@link workbox-core.cacheNames|\"precache cache\"} when the service\n * worker installs.\n *\n * This method can be called multiple times.\n *\n * Please note: This method **will not** serve any of the cached files for you.\n * It only precaches files. To respond to a network request you call\n * {@link workbox-precaching.addRoute}.\n *\n * If you have a single array of files to precache, you can just call\n * {@link workbox-precaching.precacheAndRoute}.\n *\n * @param {Array} [entries=[]] Array of entries to precache.\n *\n * @memberof workbox-precaching\n */\nfunction precache(entries) {\n const precacheController = getOrCreatePrecacheController();\n precacheController.precache(entries);\n}\nexport { precache };\n","/* eslint-disable no-restricted-globals */\n\n// This service worker can be customized!\n// See https://developers.google.com/web/tools/workbox/modules\n// for the list of available Workbox modules, or add any other\n// code you'd like.\n// You can also remove this file if you'd prefer not to use a\n// service worker, and the Workbox build step will be skipped.\n\nimport { clientsClaim } from 'workbox-core'\nimport { ExpirationPlugin } from 'workbox-expiration'\nimport { precacheAndRoute, createHandlerBoundToURL } from 'workbox-precaching'\nimport { registerRoute } from 'workbox-routing'\nimport { StaleWhileRevalidate } from 'workbox-strategies'\n\nclientsClaim()\n\n// Precache all of the assets generated by your build process.\n// Their URLs are injected into the manifest variable below.\n// This variable must be present somewhere in your service worker file,\n// even if you decide not to use precaching. See https://cra.link/PWA\nprecacheAndRoute(self.__WB_MANIFEST)\n\n// Set up App Shell-style routing, so that all navigation requests\n// are fulfilled with your index.html shell. Learn more at\n// https://developers.google.com/web/fundamentals/architecture/app-shell\nconst fileExtensionRegexp = new RegExp('/[^/?]+\\\\.[^/]+$')\nregisterRoute(\n // Return false to exempt requests from being fulfilled by index.html.\n ({ request, url }) => {\n // If this isn't a navigation, skip.\n if (request.mode !== 'navigate') {\n return false\n } // If this is a URL that starts with /_, skip.\n\n if (url.pathname.startsWith('/_')) {\n return false\n } // If this looks like a URL for a resource, because it contains // a file extension, skip.\n\n if (url.pathname.match(fileExtensionRegexp)) {\n return false\n } // Return true to signal that we want to use the handler.\n\n return true\n },\n createHandlerBoundToURL(process.env.PUBLIC_URL + '/index.html')\n)\n\n// An example runtime caching route for requests that aren't handled by the\n// precache, in this case same-origin .png requests like those from in public/\nregisterRoute(\n // Add in any other file extensions or routing criteria as needed.\n ({ url }) =>\n url.origin === self.location.origin && url.pathname.endsWith('.png'), // Customize this strategy as needed, e.g., by changing to CacheFirst.\n new StaleWhileRevalidate({\n cacheName: 'images',\n plugins: [\n // Ensure that once this runtime cache reaches a maximum size the\n // least-recently used images are removed.\n new ExpirationPlugin({ maxEntries: 50 }),\n ],\n })\n)\n\n// This allows the web app to trigger skipWaiting via\n// registration.waiting.postMessage({type: 'SKIP_WAITING'})\nself.addEventListener('message', event => {\n if (event.data && event.data.type === 'SKIP_WAITING') {\n self.skipWaiting()\n }\n})\n\n// Any other custom service worker logic can go here.\n","/*\n Copyright 2019 Google LLC\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { registerRoute } from 'workbox-routing/registerRoute.js';\nimport { getOrCreatePrecacheController } from './utils/getOrCreatePrecacheController.js';\nimport { PrecacheRoute } from './PrecacheRoute.js';\nimport './_version.js';\n/**\n * Add a `fetch` listener to the service worker that will\n * respond to\n * [network requests]{@link https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n * with precached assets.\n *\n * Requests for assets that aren't precached, the `FetchEvent` will not be\n * responded to, allowing the event to fall through to other `fetch` event\n * listeners.\n *\n * @param {Object} [options] See the {@link workbox-precaching.PrecacheRoute}\n * options.\n *\n * @memberof workbox-precaching\n */\nfunction addRoute(options) {\n const precacheController = getOrCreatePrecacheController();\n const precacheRoute = new PrecacheRoute(precacheController, options);\n registerRoute(precacheRoute);\n}\nexport { addRoute };\n","/*\n Copyright 2019 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { getOrCreatePrecacheController } from './utils/getOrCreatePrecacheController.js';\nimport './_version.js';\n/**\n * Helper function that calls\n * {@link PrecacheController#createHandlerBoundToURL} on the default\n * {@link PrecacheController} instance.\n *\n * If you are creating your own {@link PrecacheController}, then call the\n * {@link PrecacheController#createHandlerBoundToURL} on that instance,\n * instead of using this function.\n *\n * @param {string} url The precached URL which will be used to lookup the\n * `Response`.\n * @param {boolean} [fallbackToNetwork=true] Whether to attempt to get the\n * response from the network if there's a precache miss.\n * @return {workbox-routing~handlerCallback}\n *\n * @memberof workbox-precaching\n */\nfunction createHandlerBoundToURL(url) {\n const precacheController = getOrCreatePrecacheController();\n return precacheController.createHandlerBoundToURL(url);\n}\nexport { createHandlerBoundToURL };\n"]} \ No newline at end of file diff --git a/sounds/new-message.aac b/sounds/new-message.aac new file mode 100644 index 000000000..baea11418 Binary files /dev/null and b/sounds/new-message.aac differ diff --git a/static/css/main.3b963d24.css b/static/css/main.3b963d24.css new file mode 100644 index 000000000..8d4d0a809 --- /dev/null +++ b/static/css/main.3b963d24.css @@ -0,0 +1,7 @@ +@font-face{font-display:swap;font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin "),local("Roboto-Thin"),url(/static/media/roboto-latin-100.c2aa4ab115bf9c6057cb.woff2) format("woff2"),url(/static/media/roboto-latin-100.a45108d3b34af91f9113.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin italic"),local("Roboto-Thinitalic"),url(/static/media/roboto-latin-100italic.7f839a8652da29745ce4.woff2) format("woff2"),url(/static/media/roboto-latin-100italic.451d4e559d6f57cdf6a1.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light "),local("Roboto-Light"),url(/static/media/roboto-latin-300.37a7069dc30fc663c878.woff2) format("woff2"),url(/static/media/roboto-latin-300.865f928cbabcc9f8f2b5.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light italic"),local("Roboto-Lightitalic"),url(/static/media/roboto-latin-300italic.c64e7e354c88e613c77c.woff2) format("woff2"),url(/static/media/roboto-latin-300italic.bd5b7a13f2c52b531a2a.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto Regular "),local("Roboto-Regular"),url(/static/media/roboto-latin-400.176f8f5bd5f02b3abfcf.woff2) format("woff2"),url(/static/media/roboto-latin-400.49ae34d4cc6b98c00c69.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Regular italic"),local("Roboto-Regularitalic"),url(/static/media/roboto-latin-400italic.d022bc70dc1bf7b3425d.woff2) format("woff2"),url(/static/media/roboto-latin-400italic.b1d9d9904bfca8802a63.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium "),local("Roboto-Medium"),url(/static/media/roboto-latin-500.f5b74d7ffcdf85b9dd60.woff2) format("woff2"),url(/static/media/roboto-latin-500.cea99d3e3e13a3a599a0.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium italic"),local("Roboto-Mediumitalic"),url(/static/media/roboto-latin-500italic.0d8bb5b3ee5f5dac9e44.woff2) format("woff2"),url(/static/media/roboto-latin-500italic.18d00f739ff1e1c52db1.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold "),local("Roboto-Bold"),url(/static/media/roboto-latin-700.c18ee39fb002ad58b6dc.woff2) format("woff2"),url(/static/media/roboto-latin-700.2267169ee7270a22a963.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold italic"),local("Roboto-Bolditalic"),url(/static/media/roboto-latin-700italic.7d8125ff7f707231fd89.woff2) format("woff2"),url(/static/media/roboto-latin-700italic.9360531f9bb817f917f0.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:normal;font-weight:900;src:local("Roboto Black "),local("Roboto-Black"),url(/static/media/roboto-latin-900.870c8c1486f76054301a.woff2) format("woff2"),url(/static/media/roboto-latin-900.bac8362e7a6ea60b6983.woff) format("woff")}@font-face{font-display:swap;font-family:Roboto;font-style:italic;font-weight:900;src:local("Roboto Black italic"),local("Roboto-Blackitalic"),url(/static/media/roboto-latin-900italic.cb5ad999740e9d8a8bd1.woff2) format("woff2"),url(/static/media/roboto-latin-900italic.c20d916c1a1b094c1cec.woff) format("woff")} + + +/* +! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com +*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}.\!container{width:100%!important}@media (min-width:640px){.container{max-width:640px}.\!container{max-width:640px!important}}@media (min-width:768px){.container{max-width:768px}.\!container{max-width:768px!important}}@media (min-width:1024px){.container{max-width:1024px}.\!container{max-width:1024px!important}}@media (min-width:1280px){.container{max-width:1280px}.\!container{max-width:1280px!important}}@media (min-width:1536px){.container{max-width:1536px}.\!container{max-width:1536px!important}}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.mt-6{margin-top:1.5rem}.block{display:block}.inline{display:inline}.\!inline{display:inline!important}.flex{display:flex}.contents{display:contents}.hidden{display:none}.max-w-3xl{max-width:48rem}.max-w-md{max-width:28rem}.max-w-xl{max-width:36rem}.grow{flex-grow:1}.transform{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-auto{overflow:auto}.break-all{word-break:break-all}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.pt-4{padding-top:1rem}.pb-4{padding-bottom:1rem}.text-center{text-align:center}.italic{font-style:italic}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.blur{--tw-blur:blur(8px)}.blur,.filter{-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,-webkit-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}ol{list-style-type:decimal}ol,ul{padding-left:1rem}ul{list-style-type:disc}.About p,.Disclaimer ul{margin-bottom:1rem}.Disclaimer ul{margin-top:1rem}.Disclaimer p{margin-bottom:1rem}.Message pre{overflow:auto}.PeerDownloadFileButton .MuiCircularProgress-circle{transition:none!important} +/*# sourceMappingURL=main.3b963d24.css.map*/ \ No newline at end of file diff --git a/static/css/main.3b963d24.css.map b/static/css/main.3b963d24.css.map new file mode 100644 index 000000000..8e98d82bc --- /dev/null +++ b/static/css/main.3b963d24.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.3b963d24.css","mappings":"AACA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,0MAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,kOAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,4MAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,oOAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,gNAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,wOAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,8MAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,sOAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,0MAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,kOAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,4MAKF,CAGA,WAGE,iBAAkB,CAFlB,kBAAqB,CACrB,iBAAkB,CAElB,eAAgB,CAChB,oOAKF;;;AC1JA;;CAAA,m4JACA,6gBACA,2pEAGE,2BAGA,MAHA,iBAGA,yBCNE,wBCAA,kBDAA,gCAGA,iCEJF,aACE,cCDF,oDACE","sources":["../node_modules/typeface-roboto/index.css","index.sass","pages/Disclaimer/index.sass","pages/About/index.sass","components/Message/Message.sass","components/Shell/PeerDownloadFileButton.sass"],"sourcesContent":["/* roboto-100normal - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 100;\n src:\n local('Roboto Thin '),\n local('Roboto-Thin'),\n url('./files/roboto-latin-100.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-100.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-100italic - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: italic;\n font-display: swap;\n font-weight: 100;\n src:\n local('Roboto Thin italic'),\n local('Roboto-Thinitalic'),\n url('./files/roboto-latin-100italic.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-100italic.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-300normal - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src:\n local('Roboto Light '),\n local('Roboto-Light'),\n url('./files/roboto-latin-300.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-300.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-300italic - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: italic;\n font-display: swap;\n font-weight: 300;\n src:\n local('Roboto Light italic'),\n local('Roboto-Lightitalic'),\n url('./files/roboto-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-300italic.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-400normal - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src:\n local('Roboto Regular '),\n local('Roboto-Regular'),\n url('./files/roboto-latin-400.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-400.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-400italic - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: italic;\n font-display: swap;\n font-weight: 400;\n src:\n local('Roboto Regular italic'),\n local('Roboto-Regularitalic'),\n url('./files/roboto-latin-400italic.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-400italic.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-500normal - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src:\n local('Roboto Medium '),\n local('Roboto-Medium'),\n url('./files/roboto-latin-500.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-500.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-500italic - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: italic;\n font-display: swap;\n font-weight: 500;\n src:\n local('Roboto Medium italic'),\n local('Roboto-Mediumitalic'),\n url('./files/roboto-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-500italic.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-700normal - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src:\n local('Roboto Bold '),\n local('Roboto-Bold'),\n url('./files/roboto-latin-700.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-700.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-700italic - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: italic;\n font-display: swap;\n font-weight: 700;\n src:\n local('Roboto Bold italic'),\n local('Roboto-Bolditalic'),\n url('./files/roboto-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-700italic.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-900normal - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 900;\n src:\n local('Roboto Black '),\n local('Roboto-Black'),\n url('./files/roboto-latin-900.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-900.woff') format('woff'); /* Modern Browsers */\n}\n\n/* roboto-900italic - latin */\n@font-face {\n font-family: 'Roboto';\n font-style: italic;\n font-display: swap;\n font-weight: 900;\n src:\n local('Roboto Black italic'),\n local('Roboto-Blackitalic'),\n url('./files/roboto-latin-900italic.woff2') format('woff2'), /* Super Modern Browsers */\n url('./files/roboto-latin-900italic.woff') format('woff'); /* Modern Browsers */\n}\n\n","@tailwind base\n@tailwind components\n@tailwind utilities\n\nol\n @apply pl-4 list-decimal\n\nul\n @apply pl-4 list-disc\n",".Disclaimer\n ul\n @apply my-4\n\n p\n @apply mb-4\n",".About\n p\n @apply mb-4\n",".Message\n pre\n overflow: auto\n",".PeerDownloadFileButton\n .MuiCircularProgress-circle\n transition: none !important\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/1879.ed18bb38.chunk.js b/static/js/1879.ed18bb38.chunk.js new file mode 100644 index 000000000..c6724a102 --- /dev/null +++ b/static/js/1879.ed18bb38.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[1879],{1879:function(t,e,n){n.r(e),n.d(e,{default:function(){return u.Z},getTableUtilityClass:function(){return c.K},tableClasses:function(){return c.Z}});var u=n(15416),c=n(55275)}}]); \ No newline at end of file diff --git a/static/js/5801.fe054870.chunk.js b/static/js/5801.fe054870.chunk.js new file mode 100644 index 000000000..74d5de858 --- /dev/null +++ b/static/js/5801.fe054870.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[5801],{829:function(e,t,a){var o=a(72791).createContext();t.Z=o},75801:function(e,t,a){a.r(t),a.d(t,{default:function(){return Z},getTableRowUtilityClass:function(){return p},tableRowClasses:function(){return f}});var o=a(4942),r=a(87462),n=a(63366),c=a(72791),l=a(28182),i=a(94419),s=a(12065),v=a(829),u=a(61046),d=a(47630),h=a(21217);function p(e){return(0,h.Z)("MuiTableRow",e)}var f=(0,a(75878).Z)("MuiTableRow",["root","selected","hover","head","footer"]),m=a(80184),b=["className","component","hover","selected"],w=(0,d.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(e,t){var a=e.ownerState;return[t.root,a.head&&t.head,a.footer&&t.footer]}})((function(e){var t,a=e.theme;return t={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},(0,o.Z)(t,"&.".concat(f.hover,":hover"),{backgroundColor:(a.vars||a).palette.action.hover}),(0,o.Z)(t,"&.".concat(f.selected),{backgroundColor:a.vars?"rgba(".concat(a.vars.palette.primary.mainChannel," / ").concat(a.vars.palette.action.selectedOpacity,")"):(0,s.Fq)(a.palette.primary.main,a.palette.action.selectedOpacity),"&:hover":{backgroundColor:a.vars?"rgba(".concat(a.vars.palette.primary.mainChannel," / calc(").concat(a.vars.palette.action.selectedOpacity," + ").concat(a.vars.palette.action.hoverOpacity,"))"):(0,s.Fq)(a.palette.primary.main,a.palette.action.selectedOpacity+a.palette.action.hoverOpacity)}}),t})),Z=c.forwardRef((function(e,t){var a=(0,u.Z)({props:e,name:"MuiTableRow"}),o=a.className,s=a.component,d=void 0===s?"tr":s,h=a.hover,f=void 0!==h&&h,Z=a.selected,y=void 0!==Z&&Z,C=(0,n.Z)(a,b),R=c.useContext(v.Z),g=(0,r.Z)({},a,{component:d,hover:f,selected:y,head:R&&"head"===R.variant,footer:R&&"footer"===R.variant}),k=function(e){var t=e.classes,a={root:["root",e.selected&&"selected",e.hover&&"hover",e.head&&"head",e.footer&&"footer"]};return(0,i.Z)(a,p,t)}(g);return(0,m.jsx)(w,(0,r.Z)({as:d,ref:t,className:(0,l.Z)(k.root,o),role:"tr"===d?null:"row",ownerState:g},C))}))}}]); +//# sourceMappingURL=5801.fe054870.chunk.js.map \ No newline at end of file diff --git a/static/js/5801.fe054870.chunk.js.map b/static/js/5801.fe054870.chunk.js.map new file mode 100644 index 000000000..0e57f3257 --- /dev/null +++ b/static/js/5801.fe054870.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/5801.fe054870.chunk.js","mappings":"mHAKMA,E,SAAgCC,gBAMtC,K,iRCVO,SAASC,EAAwBC,GACtC,OAAOC,EAAAA,EAAAA,GAAqB,cAAeD,EAC7C,CACA,IACA,GADwBE,E,SAAAA,GAAuB,cAAe,CAAC,OAAQ,WAAY,QAAS,OAAQ,W,WCF9FC,EAAY,CAAC,YAAa,YAAa,QAAS,YA0BhDC,GAAeC,EAAAA,EAAAA,IAAO,KAAM,CAChCC,KAAM,cACNN,KAAM,OACNO,kBAAmB,SAACC,EAAOC,GACzB,IACEC,EACEF,EADFE,WAEF,MAAO,CAACD,EAAOE,KAAMD,EAAWE,MAAQH,EAAOG,KAAMF,EAAWG,QAAUJ,EAAOI,OACnF,GARmBR,EASlB,kBACDS,EAAK,EAALA,MAAK,UAELC,MAAO,UACPC,QAAS,YACTC,cAAe,SAEfC,QAAS,IAAC,qBACJC,EAAgBC,MAAK,UAAW,CACpCC,iBAAkBP,EAAMQ,MAAQR,GAAOS,QAAQC,OAAOJ,SACvD,qBACKD,EAAgBM,UAAa,CACjCJ,gBAAiBP,EAAMQ,KAAO,QAAH,OAAWR,EAAMQ,KAAKC,QAAQG,QAAQC,YAAW,cAAMb,EAAMQ,KAAKC,QAAQC,OAAOI,gBAAe,MAAMC,EAAAA,EAAAA,IAAMf,EAAMS,QAAQG,QAAQI,KAAMhB,EAAMS,QAAQC,OAAOI,iBACxL,UAAW,CACTP,gBAAiBP,EAAMQ,KAAO,QAAH,OAAWR,EAAMQ,KAAKC,QAAQG,QAAQC,YAAW,mBAAWb,EAAMQ,KAAKC,QAAQC,OAAOI,gBAAe,cAAMd,EAAMQ,KAAKC,QAAQC,OAAOO,aAAY,OAAOF,EAAAA,EAAAA,IAAMf,EAAMS,QAAQG,QAAQI,KAAMhB,EAAMS,QAAQC,OAAOI,gBAAkBd,EAAMS,QAAQC,OAAOO,iBAEpR,KAuFH,EA/E8BjC,EAAAA,YAAiB,SAAkBkC,EAASC,GACxE,IAAMzB,GAAQ0B,EAAAA,EAAAA,GAAc,CAC1B1B,MAAOwB,EACP1B,KAAM,gBAIN6B,EAIE3B,EAJF2B,UAAS,EAIP3B,EAHF4B,UAAAA,OAAS,IAAG,EAdS,KAcO,IAG1B5B,EAFFY,MAAAA,OAAK,IAAG,GAAK,IAEXZ,EADFiB,SAAAA,OAAQ,IAAG,GAAK,EAEZY,GAAQC,EAAAA,EAAAA,GAA8B9B,EAAOL,GAE7CoC,EAAYzC,EAAAA,WAAiBD,EAAAA,GAE7Ba,GAAa8B,EAAAA,EAAAA,GAAS,CAAC,EAAGhC,EAAO,CACrC4B,UAAAA,EACAhB,MAAAA,EACAK,SAAAA,EACAb,KAAM2B,GAAmC,SAAtBA,EAAUE,QAC7B5B,OAAQ0B,GAAmC,WAAtBA,EAAUE,UAG3BC,EAvEkB,SAAAhC,GACxB,IACEgC,EAKEhC,EALFgC,QAMIC,EAAQ,CACZhC,KAAM,CAAC,OAFLD,EAJFe,UAM2B,WAFzBf,EAHFU,OAKgD,QAF9CV,EAFFE,MAIiE,OAF/DF,EADFG,QAGmF,WAErF,OAAO+B,EAAAA,EAAAA,GAAeD,EAAO5C,EAAyB2C,EACxD,CA2DkBG,CAAkBnC,GAClC,OAAoBoC,EAAAA,EAAAA,KAAK1C,GAAcoC,EAAAA,EAAAA,GAAS,CAC9CO,GAAIX,EACJH,IAAKA,EACLE,WAAWa,EAAAA,EAAAA,GAAKN,EAAQ/B,KAAMwB,GAC9Bc,KAnCqB,OAmCfb,EAAiC,KAAO,MAC9C1B,WAAYA,GACX2B,GACL,G","sources":["../node_modules/@mui/material/Table/Tablelvl2Context.js","../node_modules/@mui/material/TableRow/tableRowClasses.js","../node_modules/@mui/material/TableRow/TableRow.js"],"sourcesContent":["import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nconst Tablelvl2Context = /*#__PURE__*/React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n Tablelvl2Context.displayName = 'Tablelvl2Context';\n}\n\nexport default Tablelvl2Context;","import { generateUtilityClass, generateUtilityClasses } from '@mui/base';\nexport function getTableRowUtilityClass(slot) {\n return generateUtilityClass('MuiTableRow', slot);\n}\nconst tableRowClasses = generateUtilityClasses('MuiTableRow', ['root', 'selected', 'hover', 'head', 'footer']);\nexport default tableRowClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\", \"component\", \"hover\", \"selected\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { alpha } from '@mui/system';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled from '../styles/styled';\nimport tableRowClasses, { getTableRowUtilityClass } from './tableRowClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n selected,\n hover,\n head,\n footer\n } = ownerState;\n const slots = {\n root: ['root', selected && 'selected', hover && 'hover', head && 'head', footer && 'footer']\n };\n return composeClasses(slots, getTableRowUtilityClass, classes);\n};\n\nconst TableRowRoot = styled('tr', {\n name: 'MuiTableRow',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.head && styles.head, ownerState.footer && styles.footer];\n }\n})(({\n theme\n}) => ({\n color: 'inherit',\n display: 'table-row',\n verticalAlign: 'middle',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n [`&.${tableRowClasses.hover}:hover`]: {\n backgroundColor: (theme.vars || theme).palette.action.hover\n },\n [`&.${tableRowClasses.selected}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),\n '&:hover': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)\n }\n }\n}));\nconst defaultComponent = 'tr';\n/**\n * Will automatically set dynamic row height\n * based on the material table element parent (head, body, etc).\n */\n\nconst TableRow = /*#__PURE__*/React.forwardRef(function TableRow(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTableRow'\n });\n\n const {\n className,\n component = defaultComponent,\n hover = false,\n selected = false\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const tablelvl2 = React.useContext(Tablelvl2Context);\n\n const ownerState = _extends({}, props, {\n component,\n hover,\n selected,\n head: tablelvl2 && tablelvl2.variant === 'head',\n footer: tablelvl2 && tablelvl2.variant === 'footer'\n });\n\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TableRowRoot, _extends({\n as: component,\n ref: ref,\n className: clsx(classes.root, className),\n role: component === defaultComponent ? null : 'row',\n ownerState: ownerState\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableRow.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Should be valid children such as `TableCell`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the table row will shade on hover.\n * @default false\n */\n hover: PropTypes.bool,\n\n /**\n * If `true`, the table row will have the selected shading.\n * @default false\n */\n selected: PropTypes.bool,\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default TableRow;"],"names":["Tablelvl2Context","React","getTableRowUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","TableRowRoot","styled","name","overridesResolver","props","styles","ownerState","root","head","footer","theme","color","display","verticalAlign","outline","tableRowClasses","hover","backgroundColor","vars","palette","action","selected","primary","mainChannel","selectedOpacity","alpha","main","hoverOpacity","inProps","ref","useThemeProps","className","component","other","_objectWithoutPropertiesLoose","tablelvl2","_extends","variant","classes","slots","composeClasses","useUtilityClasses","_jsx","as","clsx","role"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/6197.24105f49.chunk.js b/static/js/6197.24105f49.chunk.js new file mode 100644 index 000000000..370f062b2 --- /dev/null +++ b/static/js/6197.24105f49.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[6197],{829:function(e,t,a){var i=a(72791).createContext();t.Z=i},56197:function(e,t,a){a.r(t),a.d(t,{default:function(){return Z},getTableCellUtilityClass:function(){return f},tableCellClasses:function(){return y}});var i=a(4942),n=a(63366),r=a(87462),o=a(72791),l=a(28182),d=a(94419),c=a(12065),s=a(14036),p=a(46646),g=a(829),u=a(61046),h=a(47630),v=a(21217);function f(e){return(0,v.Z)("MuiTableCell",e)}var y=(0,a(75878).Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),x=a(80184),m=["align","className","component","padding","scope","size","sortDirection","variant"],b=(0,h.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(e,t){var a=e.ownerState;return[t.root,t[a.variant],t["size".concat((0,s.Z)(a.size))],"normal"!==a.padding&&t["padding".concat((0,s.Z)(a.padding))],"inherit"!==a.align&&t["align".concat((0,s.Z)(a.align))],a.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,a=e.ownerState;return(0,r.Z)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?"1px solid ".concat(t.vars.palette.TableCell.border):"1px solid\n ".concat("light"===t.palette.mode?(0,c.$n)((0,c.Fq)(t.palette.divider,1),.88):(0,c._j)((0,c.Fq)(t.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===a.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===a.variant&&{color:(t.vars||t).palette.text.primary},"footer"===a.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===a.size&&(0,i.Z)({padding:"6px 16px"},"&.".concat(y.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===a.padding&&{width:48,padding:"0 0 0 4px"},"none"===a.padding&&{padding:0},"left"===a.align&&{textAlign:"left"},"center"===a.align&&{textAlign:"center"},"right"===a.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===a.align&&{textAlign:"justify"},a.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})})),Z=o.forwardRef((function(e,t){var a,i=(0,u.Z)({props:e,name:"MuiTableCell"}),c=i.align,h=void 0===c?"inherit":c,v=i.className,y=i.component,Z=i.padding,k=i.scope,C=i.size,z=i.sortDirection,H=i.variant,w=(0,n.Z)(i,m),T=o.useContext(p.Z),R=o.useContext(g.Z),A=R&&"head"===R.variant;a=y||(A?"th":"td");var M=k;!M&&A&&(M="col");var S=H||R&&R.variant,j=(0,r.Z)({},i,{align:h,component:a,padding:Z||(T&&T.padding?T.padding:"normal"),size:C||(T&&T.size?T.size:"medium"),sortDirection:z,stickyHeader:"head"===S&&T&&T.stickyHeader,variant:S}),D=function(e){var t=e.classes,a=e.variant,i=e.align,n=e.padding,r=e.size,o={root:["root",a,e.stickyHeader&&"stickyHeader","inherit"!==i&&"align".concat((0,s.Z)(i)),"normal"!==n&&"padding".concat((0,s.Z)(n)),"size".concat((0,s.Z)(r))]};return(0,d.Z)(o,f,t)}(j),N=null;return z&&(N="asc"===z?"ascending":"descending"),(0,x.jsx)(b,(0,r.Z)({as:a,ref:t,className:(0,l.Z)(D.root,v),"aria-sort":N,scope:M,ownerState:j},w))}))}}]); +//# sourceMappingURL=6197.24105f49.chunk.js.map \ No newline at end of file diff --git a/static/js/6197.24105f49.chunk.js.map b/static/js/6197.24105f49.chunk.js.map new file mode 100644 index 000000000..81e7f527b --- /dev/null +++ b/static/js/6197.24105f49.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/6197.24105f49.chunk.js","mappings":"mHAKMA,E,SAAgCC,gBAMtC,K,ySCVO,SAASC,EAAyBC,GACvC,OAAOC,EAAAA,EAAAA,GAAqB,eAAgBD,EAC9C,CACA,IACA,GADyBE,E,SAAAA,GAAuB,eAAgB,CAAC,OAAQ,OAAQ,OAAQ,SAAU,YAAa,aAAc,kBAAmB,cAAe,YAAa,cAAe,aAAc,eAAgB,iB,WCFpNC,EAAY,CAAC,QAAS,YAAa,YAAa,UAAW,QAAS,OAAQ,gBAAiB,WA6B7FC,GAAgBC,EAAAA,EAAAA,IAAO,KAAM,CACjCC,KAAM,eACNN,KAAM,OACNO,kBAAmB,SAACC,EAAOC,GACzB,IACEC,EACEF,EADFE,WAEF,MAAO,CAACD,EAAOE,KAAMF,EAAOC,EAAWE,SAAUH,EAAO,OAAD,QAAQI,EAAAA,EAAAA,GAAWH,EAAWI,QAAiC,WAAvBJ,EAAWK,SAAwBN,EAAO,UAAD,QAAWI,EAAAA,EAAAA,GAAWH,EAAWK,WAAkC,YAArBL,EAAWM,OAAuBP,EAAO,QAAD,QAASI,EAAAA,EAAAA,GAAWH,EAAWM,SAAWN,EAAWO,cAAgBR,EAAOQ,aAC5S,GARoBZ,EASnB,gBACDa,EAAK,EAALA,MACAR,EAAU,EAAVA,WAAU,OACNS,EAAAA,EAAAA,GAAS,CAAC,EAAGD,EAAME,WAAWC,MAAO,CACzCC,QAAS,aACTC,cAAe,UAGfC,aAAcN,EAAMO,KAAO,aAAH,OAAgBP,EAAMO,KAAKC,QAAQC,UAAUC,QAAM,yBAChD,UAAvBV,EAAMQ,QAAQG,MAAmBC,EAAAA,EAAAA,KAAQC,EAAAA,EAAAA,IAAMb,EAAMQ,QAAQM,QAAS,GAAI,MAAQC,EAAAA,EAAAA,KAAOF,EAAAA,EAAAA,IAAMb,EAAMQ,QAAQM,QAAS,GAAI,MAC9HE,UAAW,OACXnB,QAAS,IACe,SAAvBL,EAAWE,SAAsB,CAClCuB,OAAQjB,EAAMO,MAAQP,GAAOQ,QAAQU,KAAKC,QAC1CC,WAAYpB,EAAME,WAAWmB,QAAQ,IACrCC,WAAYtB,EAAME,WAAWqB,kBACL,SAAvB/B,EAAWE,SAAsB,CAClCuB,OAAQjB,EAAMO,MAAQP,GAAOQ,QAAQU,KAAKC,SAClB,WAAvB3B,EAAWE,SAAwB,CACpCuB,OAAQjB,EAAMO,MAAQP,GAAOQ,QAAQU,KAAKM,UAC1CJ,WAAYpB,EAAME,WAAWmB,QAAQ,IACrCI,SAAUzB,EAAME,WAAWmB,QAAQ,KACd,UAApB7B,EAAWI,OAAoB,QAChCC,QAAS,YAAU,YACb6B,EAAiBC,iBAAoB,CACzCC,MAAO,GAEP/B,QAAS,gBACT,QAAS,CACPA,QAAS,KAGW,aAAvBL,EAAWK,SAA0B,CACtC+B,MAAO,GAEP/B,QAAS,aACe,SAAvBL,EAAWK,SAAsB,CAClCA,QAAS,GACa,SAArBL,EAAWM,OAAoB,CAChCkB,UAAW,QACW,WAArBxB,EAAWM,OAAsB,CAClCkB,UAAW,UACW,UAArBxB,EAAWM,OAAqB,CACjCkB,UAAW,QACXa,cAAe,eACO,YAArBrC,EAAWM,OAAuB,CACnCkB,UAAW,WACVxB,EAAWO,cAAgB,CAC5B+B,SAAU,SACVC,IAAK,EACLC,OAAQ,EACRC,iBAAkBjC,EAAMO,MAAQP,GAAOQ,QAAQ0B,WAAWC,SAC1D,IA4IF,EAtI+BvD,EAAAA,YAAiB,SAAmBwD,EAASC,GAC1E,IAoBIC,EApBEhD,GAAQiD,EAAAA,EAAAA,GAAc,CAC1BjD,MAAO8C,EACPhD,KAAM,iBAGR,EASIE,EARFQ,MAAAA,OAAK,IAAG,YAAS,EACjB0C,EAOElD,EAPFkD,UACWC,EAMTnD,EANFgD,UACSI,EAKPpD,EALFO,QACO8C,EAILrD,EAJFsD,MACMC,EAGJvD,EAHFM,KACAkD,EAEExD,EAFFwD,cACSC,EACPzD,EADFI,QAEIsD,GAAQC,EAAAA,EAAAA,GAA8B3D,EAAOL,GAE7CiE,EAAQtE,EAAAA,WAAiBuE,EAAAA,GACzBC,EAAYxE,EAAAA,WAAiBD,EAAAA,GAC7B0E,EAAaD,GAAmC,SAAtBA,EAAU1D,QAIxC4C,EADEG,IAGUY,EAAa,KAAO,MAGlC,IAAIT,EAAQD,GAEPC,GAASS,IACZT,EAAQ,OAGV,IAAMlD,EAAUqD,GAAeK,GAAaA,EAAU1D,QAEhDF,GAAaS,EAAAA,EAAAA,GAAS,CAAC,EAAGX,EAAO,CACrCQ,MAAAA,EACAwC,UAAAA,EACAzC,QAAS6C,IAAgBQ,GAASA,EAAMrD,QAAUqD,EAAMrD,QAAU,UAClED,KAAMiD,IAAaK,GAASA,EAAMtD,KAAOsD,EAAMtD,KAAO,UACtDkD,cAAAA,EACA/C,aAA0B,SAAZL,GAAsBwD,GAASA,EAAMnD,aACnDL,QAAAA,IAGI4D,EAjIkB,SAAA9D,GACxB,IACE8D,EAME9D,EANF8D,QACA5D,EAKEF,EALFE,QACAI,EAIEN,EAJFM,MACAD,EAGEL,EAHFK,QACAD,EAEEJ,EAFFI,KAGI2D,EAAQ,CACZ9D,KAAM,CAAC,OAAQC,EAFbF,EADFO,cAGwC,eAA0B,YAAVD,GAAuB,QAAJ,QAAYH,EAAAA,EAAAA,GAAWG,IAAsB,WAAZD,GAAwB,UAAJ,QAAcF,EAAAA,EAAAA,GAAWE,IAAY,OAAF,QAASF,EAAAA,EAAAA,GAAWC,MAEzL,OAAO4D,EAAAA,EAAAA,GAAeD,EAAO1E,EAA0ByE,EACzD,CAoHkBG,CAAkBjE,GAC9BkE,EAAW,KAMf,OAJIZ,IACFY,EAA6B,QAAlBZ,EAA0B,YAAc,eAGjCa,EAAAA,EAAAA,KAAKzE,GAAee,EAAAA,EAAAA,GAAS,CAC/C2D,GAAItB,EACJD,IAAKA,EACLG,WAAWqB,EAAAA,EAAAA,GAAKP,EAAQ7D,KAAM+C,GAC9B,YAAakB,EACbd,MAAOA,EACPpD,WAAYA,GACXwD,GACL,G","sources":["../node_modules/@mui/material/Table/Tablelvl2Context.js","../node_modules/@mui/material/TableCell/tableCellClasses.js","../node_modules/@mui/material/TableCell/TableCell.js"],"sourcesContent":["import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nconst Tablelvl2Context = /*#__PURE__*/React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n Tablelvl2Context.displayName = 'Tablelvl2Context';\n}\n\nexport default Tablelvl2Context;","import { generateUtilityClass, generateUtilityClasses } from '@mui/base';\nexport function getTableCellUtilityClass(slot) {\n return generateUtilityClass('MuiTableCell', slot);\n}\nconst tableCellClasses = generateUtilityClasses('MuiTableCell', ['root', 'head', 'body', 'footer', 'sizeSmall', 'sizeMedium', 'paddingCheckbox', 'paddingNone', 'alignLeft', 'alignCenter', 'alignRight', 'alignJustify', 'stickyHeader']);\nexport default tableCellClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"align\", \"className\", \"component\", \"padding\", \"scope\", \"size\", \"sortDirection\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport { darken, alpha, lighten } from '@mui/system';\nimport capitalize from '../utils/capitalize';\nimport TableContext from '../Table/TableContext';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled from '../styles/styled';\nimport tableCellClasses, { getTableCellUtilityClass } from './tableCellClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n align,\n padding,\n size,\n stickyHeader\n } = ownerState;\n const slots = {\n root: ['root', variant, stickyHeader && 'stickyHeader', align !== 'inherit' && `align${capitalize(align)}`, padding !== 'normal' && `padding${capitalize(padding)}`, `size${capitalize(size)}`]\n };\n return composeClasses(slots, getTableCellUtilityClass, classes);\n};\n\nconst TableCellRoot = styled('td', {\n name: 'MuiTableCell',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], styles[`size${capitalize(ownerState.size)}`], ownerState.padding !== 'normal' && styles[`padding${capitalize(ownerState.padding)}`], ownerState.align !== 'inherit' && styles[`align${capitalize(ownerState.align)}`], ownerState.stickyHeader && styles.stickyHeader];\n }\n})(({\n theme,\n ownerState\n}) => _extends({}, theme.typography.body2, {\n display: 'table-cell',\n verticalAlign: 'inherit',\n // Workaround for a rendering bug with spanned columns in Chrome 62.0.\n // Removes the alpha (sets it to 1), and lightens or darkens the theme color.\n borderBottom: theme.vars ? `1px solid ${theme.vars.palette.TableCell.border}` : `1px solid\n ${theme.palette.mode === 'light' ? lighten(alpha(theme.palette.divider, 1), 0.88) : darken(alpha(theme.palette.divider, 1), 0.68)}`,\n textAlign: 'left',\n padding: 16\n}, ownerState.variant === 'head' && {\n color: (theme.vars || theme).palette.text.primary,\n lineHeight: theme.typography.pxToRem(24),\n fontWeight: theme.typography.fontWeightMedium\n}, ownerState.variant === 'body' && {\n color: (theme.vars || theme).palette.text.primary\n}, ownerState.variant === 'footer' && {\n color: (theme.vars || theme).palette.text.secondary,\n lineHeight: theme.typography.pxToRem(21),\n fontSize: theme.typography.pxToRem(12)\n}, ownerState.size === 'small' && {\n padding: '6px 16px',\n [`&.${tableCellClasses.paddingCheckbox}`]: {\n width: 24,\n // prevent the checkbox column from growing\n padding: '0 12px 0 16px',\n '& > *': {\n padding: 0\n }\n }\n}, ownerState.padding === 'checkbox' && {\n width: 48,\n // prevent the checkbox column from growing\n padding: '0 0 0 4px'\n}, ownerState.padding === 'none' && {\n padding: 0\n}, ownerState.align === 'left' && {\n textAlign: 'left'\n}, ownerState.align === 'center' && {\n textAlign: 'center'\n}, ownerState.align === 'right' && {\n textAlign: 'right',\n flexDirection: 'row-reverse'\n}, ownerState.align === 'justify' && {\n textAlign: 'justify'\n}, ownerState.stickyHeader && {\n position: 'sticky',\n top: 0,\n zIndex: 2,\n backgroundColor: (theme.vars || theme).palette.background.default\n}));\n/**\n * The component renders a `` element when the parent context is a header\n * or otherwise a `` element.\n */\n\nconst TableCell = /*#__PURE__*/React.forwardRef(function TableCell(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTableCell'\n });\n\n const {\n align = 'inherit',\n className,\n component: componentProp,\n padding: paddingProp,\n scope: scopeProp,\n size: sizeProp,\n sortDirection,\n variant: variantProp\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const table = React.useContext(TableContext);\n const tablelvl2 = React.useContext(Tablelvl2Context);\n const isHeadCell = tablelvl2 && tablelvl2.variant === 'head';\n let component;\n\n if (componentProp) {\n component = componentProp;\n } else {\n component = isHeadCell ? 'th' : 'td';\n }\n\n let scope = scopeProp;\n\n if (!scope && isHeadCell) {\n scope = 'col';\n }\n\n const variant = variantProp || tablelvl2 && tablelvl2.variant;\n\n const ownerState = _extends({}, props, {\n align,\n component,\n padding: paddingProp || (table && table.padding ? table.padding : 'normal'),\n size: sizeProp || (table && table.size ? table.size : 'medium'),\n sortDirection,\n stickyHeader: variant === 'head' && table && table.stickyHeader,\n variant\n });\n\n const classes = useUtilityClasses(ownerState);\n let ariaSort = null;\n\n if (sortDirection) {\n ariaSort = sortDirection === 'asc' ? 'ascending' : 'descending';\n }\n\n return /*#__PURE__*/_jsx(TableCellRoot, _extends({\n as: component,\n ref: ref,\n className: clsx(classes.root, className),\n \"aria-sort\": ariaSort,\n scope: scope,\n ownerState: ownerState\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableCell.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Set the text-align on the table cell content.\n *\n * Monetary or generally number fields **should be right aligned** as that allows\n * you to add them up quickly in your head without having to worry about decimals.\n * @default 'inherit'\n */\n align: PropTypes.oneOf(['center', 'inherit', 'justify', 'left', 'right']),\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Sets the padding applied to the cell.\n * The prop defaults to the value (`'default'`) inherited from the parent Table component.\n */\n padding: PropTypes.oneOf(['checkbox', 'none', 'normal']),\n\n /**\n * Set scope attribute.\n */\n scope: PropTypes.string,\n\n /**\n * Specify the size of the cell.\n * The prop defaults to the value (`'medium'`) inherited from the parent Table component.\n */\n size: PropTypes.oneOf(['small', 'medium']),\n\n /**\n * Set aria-sort direction.\n */\n sortDirection: PropTypes.oneOf(['asc', 'desc', false]),\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n\n /**\n * Specify the cell type.\n * The prop defaults to the value inherited from the parent TableHead, TableBody, or TableFooter components.\n */\n variant: PropTypes.oneOf(['body', 'footer', 'head'])\n} : void 0;\nexport default TableCell;"],"names":["Tablelvl2Context","React","getTableCellUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","TableCellRoot","styled","name","overridesResolver","props","styles","ownerState","root","variant","capitalize","size","padding","align","stickyHeader","theme","_extends","typography","body2","display","verticalAlign","borderBottom","vars","palette","TableCell","border","mode","lighten","alpha","divider","darken","textAlign","color","text","primary","lineHeight","pxToRem","fontWeight","fontWeightMedium","secondary","fontSize","tableCellClasses","paddingCheckbox","width","flexDirection","position","top","zIndex","backgroundColor","background","default","inProps","ref","component","useThemeProps","className","componentProp","paddingProp","scopeProp","scope","sizeProp","sortDirection","variantProp","other","_objectWithoutPropertiesLoose","table","TableContext","tablelvl2","isHeadCell","classes","slots","composeClasses","useUtilityClasses","ariaSort","_jsx","as","clsx"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/6926.dcb537c7.chunk.js b/static/js/6926.dcb537c7.chunk.js new file mode 100644 index 000000000..57de370a3 --- /dev/null +++ b/static/js/6926.dcb537c7.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[6926],{829:function(o,e,t){var r=t(72791).createContext();e.Z=r},56926:function(o,e,t){t.r(e),t.d(e,{default:function(){return m},getTableBodyUtilityClass:function(){return f},tableBodyClasses:function(){return b}});var r=t(87462),n=t(63366),a=t(72791),u=t(28182),s=t(94419),c=t(829),l=t(61046),i=t(47630),d=t(21217);function f(o){return(0,d.Z)("MuiTableBody",o)}var b=(0,t(75878).Z)("MuiTableBody",["root"]),p=t(80184),v=["className","component"],y=(0,i.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(o,e){return e.root}})({display:"table-row-group"}),Z={variant:"body"},h="tbody",m=a.forwardRef((function(o,e){var t=(0,l.Z)({props:o,name:"MuiTableBody"}),a=t.className,i=t.component,d=void 0===i?h:i,b=(0,n.Z)(t,v),m=(0,r.Z)({},t,{component:d}),w=function(o){var e=o.classes;return(0,s.Z)({root:["root"]},f,e)}(m);return(0,p.jsx)(c.Z.Provider,{value:Z,children:(0,p.jsx)(y,(0,r.Z)({className:(0,u.Z)(w.root,a),as:d,ref:e,role:d===h?null:"rowgroup",ownerState:m},b))})}))}}]); +//# sourceMappingURL=6926.dcb537c7.chunk.js.map \ No newline at end of file diff --git a/static/js/6926.dcb537c7.chunk.js.map b/static/js/6926.dcb537c7.chunk.js.map new file mode 100644 index 000000000..04fb78a12 --- /dev/null +++ b/static/js/6926.dcb537c7.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/6926.dcb537c7.chunk.js","mappings":"mHAKMA,E,SAAgCC,gBAMtC,K,8PCVO,SAASC,EAAyBC,GACvC,OAAOC,EAAAA,EAAAA,GAAqB,eAAgBD,EAC9C,CACA,IACA,GADyBE,E,SAAAA,GAAuB,eAAgB,CAAC,S,WCF3DC,EAAY,CAAC,YAAa,aAqB1BC,GAAgBC,EAAAA,EAAAA,IAAO,QAAS,CACpCC,KAAM,eACNN,KAAM,OACNO,kBAAmB,SAACC,EAAOC,GAAM,OAAKA,EAAOC,IAAI,GAH7BL,CAInB,CACDM,QAAS,oBAELC,EAAY,CAChBC,QAAS,QAELC,EAAmB,QA+DzB,EA9D+BhB,EAAAA,YAAiB,SAAmBiB,EAASC,GAC1E,IAAMR,GAAQS,EAAAA,EAAAA,GAAc,CAC1BT,MAAOO,EACPT,KAAM,iBAINY,EAEEV,EAFFU,UAAS,EAEPV,EADFW,UAAAA,OAAS,IAAG,EAAAL,EAAgB,EAExBM,GAAQC,EAAAA,EAAAA,GAA8Bb,EAAOL,GAE7CmB,GAAaC,EAAAA,EAAAA,GAAS,CAAC,EAAGf,EAAO,CACrCW,UAAAA,IAGIK,EArCkB,SAAAF,GACxB,IACEE,EACEF,EADFE,QAKF,OAAOC,EAAAA,EAAAA,GAHO,CACZf,KAAM,CAAC,SAEoBX,EAA0ByB,EACzD,CA6BkBE,CAAkBJ,GAClC,OAAoBK,EAAAA,EAAAA,KAAK9B,EAAAA,EAAiB+B,SAAU,CAClDC,MAAOjB,EACPkB,UAAuBH,EAAAA,EAAAA,KAAKvB,GAAemB,EAAAA,EAAAA,GAAS,CAClDL,WAAWa,EAAAA,EAAAA,GAAKP,EAAQd,KAAMQ,GAC9Bc,GAAIb,EACJH,IAAKA,EACLiB,KAAMd,IAAcL,EAAmB,KAAO,WAC9CQ,WAAYA,GACXF,KAEP,G","sources":["../node_modules/@mui/material/Table/Tablelvl2Context.js","../node_modules/@mui/material/TableBody/tableBodyClasses.js","../node_modules/@mui/material/TableBody/TableBody.js"],"sourcesContent":["import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nconst Tablelvl2Context = /*#__PURE__*/React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n Tablelvl2Context.displayName = 'Tablelvl2Context';\n}\n\nexport default Tablelvl2Context;","import { generateUtilityClass, generateUtilityClasses } from '@mui/base';\nexport function getTableBodyUtilityClass(slot) {\n return generateUtilityClass('MuiTableBody', slot);\n}\nconst tableBodyClasses = generateUtilityClasses('MuiTableBody', ['root']);\nexport default tableBodyClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\", \"component\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled from '../styles/styled';\nimport { getTableBodyUtilityClass } from './tableBodyClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getTableBodyUtilityClass, classes);\n};\n\nconst TableBodyRoot = styled('tbody', {\n name: 'MuiTableBody',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'table-row-group'\n});\nconst tablelvl2 = {\n variant: 'body'\n};\nconst defaultComponent = 'tbody';\nconst TableBody = /*#__PURE__*/React.forwardRef(function TableBody(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTableBody'\n });\n\n const {\n className,\n component = defaultComponent\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const ownerState = _extends({}, props, {\n component\n });\n\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(Tablelvl2Context.Provider, {\n value: tablelvl2,\n children: /*#__PURE__*/_jsx(TableBodyRoot, _extends({\n className: clsx(classes.root, className),\n as: component,\n ref: ref,\n role: component === defaultComponent ? null : 'rowgroup',\n ownerState: ownerState\n }, other))\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TableBody.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component, normally `TableRow`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default TableBody;"],"names":["Tablelvl2Context","React","getTableBodyUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","TableBodyRoot","styled","name","overridesResolver","props","styles","root","display","tablelvl2","variant","defaultComponent","inProps","ref","useThemeProps","className","component","other","_objectWithoutPropertiesLoose","ownerState","_extends","classes","composeClasses","useUtilityClasses","_jsx","Provider","value","children","clsx","as","role"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/787.5d8effc5.chunk.js b/static/js/787.5d8effc5.chunk.js new file mode 100644 index 000000000..8afcee256 --- /dev/null +++ b/static/js/787.5d8effc5.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[787],{787:function(e,t,n){n.r(t),n.d(t,{getCLS:function(){return y},getFCP:function(){return h},getFID:function(){return C},getLCP:function(){return P},getTTFB:function(){return D}});var i,r,a,o,u=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},c=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},f=function(e,t){var n=function n(i){"pagehide"!==i.type&&"hidden"!==document.visibilityState||(e(i),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},s=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},m=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},v=-1,p=function(){return"hidden"===document.visibilityState?0:1/0},d=function(){f((function(e){var t=e.timeStamp;v=t}),!0)},l=function(){return v<0&&(v=p(),d(),s((function(){setTimeout((function(){v=p(),d()}),0)}))),{get firstHiddenTime(){return v}}},h=function(e,t){var n,i=l(),r=u("FCP"),a=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime-1&&e(t)},r=u("CLS",0),a=0,o=[],v=function(e){if(!e.hadRecentInput){var t=o[0],i=o[o.length-1];a&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(a+=e.value,o.push(e)):(a=e.value,o=[e]),a>r.value&&(r.value=a,r.entries=o,n())}},p=c("layout-shift",v);p&&(n=m(i,r,t),f((function(){p.takeRecords().map(v),n(!0)})),s((function(){a=0,T=-1,r=u("CLS",0),n=m(i,r,t)})))},E={passive:!0,capture:!0},w=new Date,L=function(e,t){i||(i=t,r=e,a=new Date,F(removeEventListener),S())},S=function(){if(r>=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){L(e,t),r()},i=function(){r()},r=function(){removeEventListener("pointerup",n,E),removeEventListener("pointercancel",i,E)};addEventListener("pointerup",n,E),addEventListener("pointercancel",i,E)}(t,e):L(t,e)}},F=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,b,E)}))},C=function(e,t){var n,a=l(),v=u("FID"),p=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("load",(function(){return setTimeout(t,0)}))}}}]); +//# sourceMappingURL=787.5d8effc5.chunk.js.map \ No newline at end of file diff --git a/static/js/787.5d8effc5.chunk.js.map b/static/js/787.5d8effc5.chunk.js.map new file mode 100644 index 000000000..719a705f6 --- /dev/null +++ b/static/js/787.5d8effc5.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/787.5d8effc5.chunk.js","mappings":"2QAAA,IAAIA,EAAEC,EAAEC,EAAEC,EAAEC,EAAE,SAASJ,EAAEC,GAAG,MAAM,CAACI,KAAKL,EAAEM,WAAM,IAASL,GAAG,EAAEA,EAAEM,MAAM,EAAEC,QAAQ,GAAGC,GAAG,MAAMC,OAAOC,KAAKC,MAAM,KAAKF,OAAOG,KAAKC,MAAM,cAAcD,KAAKE,UAAU,MAAM,EAAEC,EAAE,SAAShB,EAAEC,GAAG,IAAI,GAAGgB,oBAAoBC,oBAAoBC,SAASnB,GAAG,CAAC,GAAG,gBAAgBA,KAAK,2BAA2BoB,MAAM,OAAO,IAAIlB,EAAE,IAAIe,qBAAqB,SAASjB,GAAG,OAAOA,EAAEqB,aAAaC,IAAIrB,EAAE,IAAI,OAAOC,EAAEqB,QAAQ,CAACC,KAAKxB,EAAEyB,UAAS,IAAKvB,CAAC,CAAC,CAAC,MAAMF,GAAG,CAAC,EAAE0B,EAAE,SAAS1B,EAAEC,GAAG,IAAIC,EAAE,SAASA,EAAEC,GAAG,aAAaA,EAAEqB,MAAM,WAAWG,SAASC,kBAAkB5B,EAAEG,GAAGF,IAAI4B,oBAAoB,mBAAmB3B,GAAE,GAAI2B,oBAAoB,WAAW3B,GAAE,IAAK,EAAE4B,iBAAiB,mBAAmB5B,GAAE,GAAI4B,iBAAiB,WAAW5B,GAAE,EAAG,EAAE6B,EAAE,SAAS/B,GAAG8B,iBAAiB,YAAY,SAAS7B,GAAGA,EAAE+B,WAAWhC,EAAEC,EAAE,IAAG,EAAG,EAAEgC,EAAE,SAASjC,EAAEC,EAAEC,GAAG,IAAIC,EAAE,OAAO,SAASC,GAAGH,EAAEK,OAAO,IAAIF,GAAGF,KAAKD,EAAEM,MAAMN,EAAEK,OAAOH,GAAG,IAAIF,EAAEM,YAAO,IAASJ,KAAKA,EAAEF,EAAEK,MAAMN,EAAEC,IAAI,CAAC,EAAEiC,GAAG,EAAEC,EAAE,WAAW,MAAM,WAAWR,SAASC,gBAAgB,EAAE,GAAG,EAAEQ,EAAE,WAAWV,GAAG,SAAS1B,GAAG,IAAIC,EAAED,EAAEqC,UAAUH,EAAEjC,CAAC,IAAG,EAAG,EAAEqC,EAAE,WAAW,OAAOJ,EAAE,IAAIA,EAAEC,IAAIC,IAAIL,GAAG,WAAWQ,YAAY,WAAWL,EAAEC,IAAIC,GAAG,GAAG,EAAE,KAAK,CAAC,mBAAII,GAAkB,OAAON,CAAC,EAAE,EAAEO,EAAE,SAASzC,EAAEC,GAAG,IAAIC,EAAEC,EAAEmC,IAAIZ,EAAEtB,EAAE,OAAO8B,EAAE,SAASlC,GAAG,2BAA2BA,EAAEK,OAAO+B,GAAGA,EAAEM,aAAa1C,EAAE2C,UAAUxC,EAAEqC,kBAAkBd,EAAEpB,MAAMN,EAAE2C,UAAUjB,EAAElB,QAAQoC,KAAK5C,GAAGE,GAAE,IAAK,EAAEiC,EAAEU,OAAOC,aAAaA,YAAYC,kBAAkBD,YAAYC,iBAAiB,0BAA0B,GAAGX,EAAED,EAAE,KAAKnB,EAAE,QAAQkB,IAAIC,GAAGC,KAAKlC,EAAE+B,EAAEjC,EAAE0B,EAAEzB,GAAGkC,GAAGD,EAAEC,GAAGJ,GAAG,SAAS5B,GAAGuB,EAAEtB,EAAE,OAAOF,EAAE+B,EAAEjC,EAAE0B,EAAEzB,GAAG+C,uBAAuB,WAAWA,uBAAuB,WAAWtB,EAAEpB,MAAMwC,YAAYlC,MAAMT,EAAEkC,UAAUnC,GAAE,EAAG,GAAG,GAAG,IAAI,EAAE+C,GAAE,EAAGC,GAAG,EAAEC,EAAE,SAASnD,EAAEC,GAAGgD,IAAIR,GAAG,SAASzC,GAAGkD,EAAElD,EAAEM,KAAK,IAAI2C,GAAE,GAAI,IAAI/C,EAAEC,EAAE,SAASF,GAAGiD,GAAG,GAAGlD,EAAEC,EAAE,EAAEiC,EAAE9B,EAAE,MAAM,GAAG+B,EAAE,EAAEC,EAAE,GAAGE,EAAE,SAAStC,GAAG,IAAIA,EAAEoD,eAAe,CAAC,IAAInD,EAAEmC,EAAE,GAAGjC,EAAEiC,EAAEA,EAAEiB,OAAO,GAAGlB,GAAGnC,EAAE2C,UAAUxC,EAAEwC,UAAU,KAAK3C,EAAE2C,UAAU1C,EAAE0C,UAAU,KAAKR,GAAGnC,EAAEM,MAAM8B,EAAEQ,KAAK5C,KAAKmC,EAAEnC,EAAEM,MAAM8B,EAAE,CAACpC,IAAImC,EAAED,EAAE5B,QAAQ4B,EAAE5B,MAAM6B,EAAED,EAAE1B,QAAQ4B,EAAElC,IAAI,CAAC,EAAEiD,EAAEnC,EAAE,eAAesB,GAAGa,IAAIjD,EAAE+B,EAAE9B,EAAE+B,EAAEjC,GAAGyB,GAAG,WAAWyB,EAAEG,cAAchC,IAAIgB,GAAGpC,GAAE,EAAG,IAAI6B,GAAG,WAAWI,EAAE,EAAEe,GAAG,EAAEhB,EAAE9B,EAAE,MAAM,GAAGF,EAAE+B,EAAE9B,EAAE+B,EAAEjC,EAAE,IAAI,EAAEsD,EAAE,CAACC,SAAQ,EAAGC,SAAQ,GAAIC,EAAE,IAAI/C,KAAKgD,EAAE,SAASxD,EAAEC,GAAGJ,IAAIA,EAAEI,EAAEH,EAAEE,EAAED,EAAE,IAAIS,KAAKiD,EAAE/B,qBAAqBgC,IAAI,EAAEA,EAAE,WAAW,GAAG5D,GAAG,GAAGA,EAAEC,EAAEwD,EAAE,CAAC,IAAItD,EAAE,CAAC0D,UAAU,cAAczD,KAAKL,EAAEwB,KAAKuC,OAAO/D,EAAE+D,OAAOC,WAAWhE,EAAEgE,WAAWrB,UAAU3C,EAAEqC,UAAU4B,gBAAgBjE,EAAEqC,UAAUpC,GAAGE,EAAE+D,SAAS,SAASlE,GAAGA,EAAEI,EAAE,IAAID,EAAE,EAAE,CAAC,EAAEgE,EAAE,SAASnE,GAAG,GAAGA,EAAEgE,WAAW,CAAC,IAAI/D,GAAGD,EAAEqC,UAAU,KAAK,IAAI1B,KAAKmC,YAAYlC,OAAOZ,EAAEqC,UAAU,eAAerC,EAAEwB,KAAK,SAASxB,EAAEC,GAAG,IAAIC,EAAE,WAAWyD,EAAE3D,EAAEC,GAAGG,GAAG,EAAED,EAAE,WAAWC,GAAG,EAAEA,EAAE,WAAWyB,oBAAoB,YAAY3B,EAAEqD,GAAG1B,oBAAoB,gBAAgB1B,EAAEoD,EAAE,EAAEzB,iBAAiB,YAAY5B,EAAEqD,GAAGzB,iBAAiB,gBAAgB3B,EAAEoD,EAAE,CAAhO,CAAkOtD,EAAED,GAAG2D,EAAE1D,EAAED,EAAE,CAAC,EAAE4D,EAAE,SAAS5D,GAAG,CAAC,YAAY,UAAU,aAAa,eAAekE,SAAS,SAASjE,GAAG,OAAOD,EAAEC,EAAEkE,EAAEZ,EAAE,GAAG,EAAEa,EAAE,SAASlE,EAAEgC,GAAG,IAAIC,EAAEC,EAAEE,IAAIG,EAAErC,EAAE,OAAO6C,EAAE,SAASjD,GAAGA,EAAE2C,UAAUP,EAAEI,kBAAkBC,EAAEnC,MAAMN,EAAEiE,gBAAgBjE,EAAE2C,UAAUF,EAAEjC,QAAQoC,KAAK5C,GAAGmC,GAAE,GAAI,EAAEe,EAAElC,EAAE,cAAciC,GAAGd,EAAEF,EAAE/B,EAAEuC,EAAEP,GAAGgB,GAAGxB,GAAG,WAAWwB,EAAEI,cAAchC,IAAI2B,GAAGC,EAAER,YAAY,IAAG,GAAIQ,GAAGnB,GAAG,WAAW,IAAIf,EAAEyB,EAAErC,EAAE,OAAO+B,EAAEF,EAAE/B,EAAEuC,EAAEP,GAAG/B,EAAE,GAAGF,GAAG,EAAED,EAAE,KAAK4D,EAAE9B,kBAAkBd,EAAEiC,EAAE9C,EAAEyC,KAAK5B,GAAG6C,GAAG,GAAG,EAAEQ,EAAE,CAAC,EAAEC,EAAE,SAAStE,EAAEC,GAAG,IAAIC,EAAEC,EAAEmC,IAAIJ,EAAE9B,EAAE,OAAO+B,EAAE,SAASnC,GAAG,IAAIC,EAAED,EAAE2C,UAAU1C,EAAEE,EAAEqC,kBAAkBN,EAAE5B,MAAML,EAAEiC,EAAE1B,QAAQoC,KAAK5C,GAAGE,IAAI,EAAEkC,EAAEpB,EAAE,2BAA2BmB,GAAG,GAAGC,EAAE,CAAClC,EAAE+B,EAAEjC,EAAEkC,EAAEjC,GAAG,IAAIwC,EAAE,WAAW4B,EAAEnC,EAAEzB,MAAM2B,EAAEkB,cAAchC,IAAIa,GAAGC,EAAEM,aAAa2B,EAAEnC,EAAEzB,KAAI,EAAGP,GAAE,GAAI,EAAE,CAAC,UAAU,SAASgE,SAAS,SAASlE,GAAG8B,iBAAiB9B,EAAEyC,EAAE,CAAC8B,MAAK,EAAGd,SAAQ,GAAI,IAAI/B,EAAEe,GAAE,GAAIV,GAAG,SAAS5B,GAAG+B,EAAE9B,EAAE,OAAOF,EAAE+B,EAAEjC,EAAEkC,EAAEjC,GAAG+C,uBAAuB,WAAWA,uBAAuB,WAAWd,EAAE5B,MAAMwC,YAAYlC,MAAMT,EAAEkC,UAAUgC,EAAEnC,EAAEzB,KAAI,EAAGP,GAAE,EAAG,GAAG,GAAG,GAAG,CAAC,EAAEsE,EAAE,SAASxE,GAAG,IAAIC,EAAEC,EAAEE,EAAE,QAAQH,EAAE,WAAW,IAAI,IAAIA,EAAE6C,YAAY2B,iBAAiB,cAAc,IAAI,WAAW,IAAIzE,EAAE8C,YAAY4B,OAAOzE,EAAE,CAAC6D,UAAU,aAAanB,UAAU,GAAG,IAAI,IAAIzC,KAAKF,EAAE,oBAAoBE,GAAG,WAAWA,IAAID,EAAEC,GAAGW,KAAK8D,IAAI3E,EAAEE,GAAGF,EAAE4E,gBAAgB,IAAI,OAAO3E,CAAC,CAAjL,GAAqL,GAAGC,EAAEI,MAAMJ,EAAEK,MAAMN,EAAE4E,cAAc3E,EAAEI,MAAM,GAAGJ,EAAEI,MAAMwC,YAAYlC,MAAM,OAAOV,EAAEM,QAAQ,CAACP,GAAGD,EAAEE,EAAE,CAAC,MAAMF,GAAG,CAAC,EAAE,aAAa2B,SAASmD,WAAWvC,WAAWtC,EAAE,GAAG6B,iBAAiB,QAAQ,WAAW,OAAOS,WAAWtC,EAAE,EAAE,GAAG,C","sources":["../node_modules/web-vitals/dist/web-vitals.js"],"sourcesContent":["var e,t,n,i,r=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:\"v2-\".concat(Date.now(),\"-\").concat(Math.floor(8999999999999*Math.random())+1e12)}},a=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(\"first-input\"===e&&!(\"PerformanceEventTiming\"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},o=function(e,t){var n=function n(i){\"pagehide\"!==i.type&&\"hidden\"!==document.visibilityState||(e(i),t&&(removeEventListener(\"visibilitychange\",n,!0),removeEventListener(\"pagehide\",n,!0)))};addEventListener(\"visibilitychange\",n,!0),addEventListener(\"pagehide\",n,!0)},u=function(e){addEventListener(\"pageshow\",(function(t){t.persisted&&e(t)}),!0)},c=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},f=-1,s=function(){return\"hidden\"===document.visibilityState?0:1/0},m=function(){o((function(e){var t=e.timeStamp;f=t}),!0)},v=function(){return f<0&&(f=s(),m(),u((function(){setTimeout((function(){f=s(),m()}),0)}))),{get firstHiddenTime(){return f}}},d=function(e,t){var n,i=v(),o=r(\"FCP\"),f=function(e){\"first-contentful-paint\"===e.name&&(m&&m.disconnect(),e.startTime-1&&e(t)},f=r(\"CLS\",0),s=0,m=[],v=function(e){if(!e.hadRecentInput){var t=m[0],i=m[m.length-1];s&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,m.push(e)):(s=e.value,m=[e]),s>f.value&&(f.value=s,f.entries=m,n())}},h=a(\"layout-shift\",v);h&&(n=c(i,f,t),o((function(){h.takeRecords().map(v),n(!0)})),u((function(){s=0,l=-1,f=r(\"CLS\",0),n=c(i,f,t)})))},T={passive:!0,capture:!0},y=new Date,g=function(i,r){e||(e=r,t=i,n=new Date,w(removeEventListener),E())},E=function(){if(t>=0&&t1e12?new Date:performance.now())-e.timeStamp;\"pointerdown\"==e.type?function(e,t){var n=function(){g(e,t),r()},i=function(){r()},r=function(){removeEventListener(\"pointerup\",n,T),removeEventListener(\"pointercancel\",i,T)};addEventListener(\"pointerup\",n,T),addEventListener(\"pointercancel\",i,T)}(t,e):g(t,e)}},w=function(e){[\"mousedown\",\"keydown\",\"touchstart\",\"pointerdown\"].forEach((function(t){return e(t,S,T)}))},L=function(n,f){var s,m=v(),d=r(\"FID\"),p=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},\"complete\"===document.readyState?setTimeout(t,0):addEventListener(\"load\",(function(){return setTimeout(t,0)}))};export{h as getCLS,d as getFCP,L as getFID,F as getLCP,P as getTTFB};\n"],"names":["e","t","n","i","r","name","value","delta","entries","id","concat","Date","now","Math","floor","random","a","PerformanceObserver","supportedEntryTypes","includes","self","getEntries","map","observe","type","buffered","o","document","visibilityState","removeEventListener","addEventListener","u","persisted","c","f","s","m","timeStamp","v","setTimeout","firstHiddenTime","d","disconnect","startTime","push","window","performance","getEntriesByName","requestAnimationFrame","p","l","h","hadRecentInput","length","takeRecords","T","passive","capture","y","g","w","E","entryType","target","cancelable","processingStart","forEach","S","L","b","F","once","P","getEntriesByType","timing","max","navigationStart","responseStart","readyState"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/7918.dc7b6f0b.chunk.js b/static/js/7918.dc7b6f0b.chunk.js new file mode 100644 index 000000000..3248ee738 --- /dev/null +++ b/static/js/7918.dc7b6f0b.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[7918],{57918:function(t,n,e){e.r(n),e.d(n,{default:function(){return u.Z},getLinkUtilityClass:function(){return c.w},linkClasses:function(){return c.Z}});var u=e(65469),c=e(23973)}}]); \ No newline at end of file diff --git a/static/js/8221.efd23e8d.chunk.js b/static/js/8221.efd23e8d.chunk.js new file mode 100644 index 000000000..bbf191b9e --- /dev/null +++ b/static/js/8221.efd23e8d.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[8221],{829:function(e,t,a){var r=a(72791).createContext();t.Z=r},98221:function(e,t,a){a.r(t),a.d(t,{default:function(){return H},getTableHeadUtilityClass:function(){return f},tableHeadClasses:function(){return h}});var r=a(87462),n=a(63366),o=a(72791),u=a(28182),s=a(94419),c=a(829),l=a(61046),i=a(47630),d=a(21217);function f(e){return(0,d.Z)("MuiTableHead",e)}var h=(0,a(75878).Z)("MuiTableHead",["root"]),p=a(80184),v=["className","component"],Z=(0,i.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(e,t){return t.root}})({display:"table-header-group"}),b={variant:"head"},m="thead",H=o.forwardRef((function(e,t){var a=(0,l.Z)({props:e,name:"MuiTableHead"}),o=a.className,i=a.component,d=void 0===i?m:i,h=(0,n.Z)(a,v),H=(0,r.Z)({},a,{component:d}),w=function(e){var t=e.classes;return(0,s.Z)({root:["root"]},f,t)}(H);return(0,p.jsx)(c.Z.Provider,{value:b,children:(0,p.jsx)(Z,(0,r.Z)({as:d,className:(0,u.Z)(w.root,o),ref:t,role:d===m?null:"rowgroup",ownerState:H},h))})}))}}]); +//# sourceMappingURL=8221.efd23e8d.chunk.js.map \ No newline at end of file diff --git a/static/js/8221.efd23e8d.chunk.js.map b/static/js/8221.efd23e8d.chunk.js.map new file mode 100644 index 000000000..ff982ca73 --- /dev/null +++ b/static/js/8221.efd23e8d.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/8221.efd23e8d.chunk.js","mappings":"mHAKMA,E,SAAgCC,gBAMtC,K,8PCVO,SAASC,EAAyBC,GACvC,OAAOC,EAAAA,EAAAA,GAAqB,eAAgBD,EAC9C,CACA,IACA,GADyBE,E,SAAAA,GAAuB,eAAgB,CAAC,S,WCF3DC,EAAY,CAAC,YAAa,aAqB1BC,GAAgBC,EAAAA,EAAAA,IAAO,QAAS,CACpCC,KAAM,eACNN,KAAM,OACNO,kBAAmB,SAACC,EAAOC,GAAM,OAAKA,EAAOC,IAAI,GAH7BL,CAInB,CACDM,QAAS,uBAELC,EAAY,CAChBC,QAAS,QAELC,EAAmB,QA+DzB,EA9D+BhB,EAAAA,YAAiB,SAAmBiB,EAASC,GAC1E,IAAMR,GAAQS,EAAAA,EAAAA,GAAc,CAC1BT,MAAOO,EACPT,KAAM,iBAINY,EAEEV,EAFFU,UAAS,EAEPV,EADFW,UAAAA,OAAS,IAAG,EAAAL,EAAgB,EAExBM,GAAQC,EAAAA,EAAAA,GAA8Bb,EAAOL,GAE7CmB,GAAaC,EAAAA,EAAAA,GAAS,CAAC,EAAGf,EAAO,CACrCW,UAAAA,IAGIK,EArCkB,SAAAF,GACxB,IACEE,EACEF,EADFE,QAKF,OAAOC,EAAAA,EAAAA,GAHO,CACZf,KAAM,CAAC,SAEoBX,EAA0ByB,EACzD,CA6BkBE,CAAkBJ,GAClC,OAAoBK,EAAAA,EAAAA,KAAK9B,EAAAA,EAAiB+B,SAAU,CAClDC,MAAOjB,EACPkB,UAAuBH,EAAAA,EAAAA,KAAKvB,GAAemB,EAAAA,EAAAA,GAAS,CAClDQ,GAAIZ,EACJD,WAAWc,EAAAA,EAAAA,GAAKR,EAAQd,KAAMQ,GAC9BF,IAAKA,EACLiB,KAAMd,IAAcL,EAAmB,KAAO,WAC9CQ,WAAYA,GACXF,KAEP,G","sources":["../node_modules/@mui/material/Table/Tablelvl2Context.js","../node_modules/@mui/material/TableHead/tableHeadClasses.js","../node_modules/@mui/material/TableHead/TableHead.js"],"sourcesContent":["import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nconst Tablelvl2Context = /*#__PURE__*/React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n Tablelvl2Context.displayName = 'Tablelvl2Context';\n}\n\nexport default Tablelvl2Context;","import { generateUtilityClass, generateUtilityClasses } from '@mui/base';\nexport function getTableHeadUtilityClass(slot) {\n return generateUtilityClass('MuiTableHead', slot);\n}\nconst tableHeadClasses = generateUtilityClasses('MuiTableHead', ['root']);\nexport default tableHeadClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\", \"component\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled from '../styles/styled';\nimport { getTableHeadUtilityClass } from './tableHeadClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getTableHeadUtilityClass, classes);\n};\n\nconst TableHeadRoot = styled('thead', {\n name: 'MuiTableHead',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'table-header-group'\n});\nconst tablelvl2 = {\n variant: 'head'\n};\nconst defaultComponent = 'thead';\nconst TableHead = /*#__PURE__*/React.forwardRef(function TableHead(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTableHead'\n });\n\n const {\n className,\n component = defaultComponent\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const ownerState = _extends({}, props, {\n component\n });\n\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(Tablelvl2Context.Provider, {\n value: tablelvl2,\n children: /*#__PURE__*/_jsx(TableHeadRoot, _extends({\n as: component,\n className: clsx(classes.root, className),\n ref: ref,\n role: component === defaultComponent ? null : 'rowgroup',\n ownerState: ownerState\n }, other))\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TableHead.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component, normally `TableRow`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default TableHead;"],"names":["Tablelvl2Context","React","getTableHeadUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","TableHeadRoot","styled","name","overridesResolver","props","styles","root","display","tablelvl2","variant","defaultComponent","inProps","ref","useThemeProps","className","component","other","_objectWithoutPropertiesLoose","ownerState","_extends","classes","composeClasses","useUtilityClasses","_jsx","Provider","value","children","as","clsx","role"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/8599.0a78eeaf.chunk.js b/static/js/8599.0a78eeaf.chunk.js new file mode 100644 index 000000000..58b56aff0 --- /dev/null +++ b/static/js/8599.0a78eeaf.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[8599],{829:function(o,t,e){var r=e(72791).createContext();t.Z=r},58599:function(o,t,e){e.r(t),e.d(t,{default:function(){return F},getTableFooterUtilityClass:function(){return p},tableFooterClasses:function(){return v}});var r=e(87462),n=e(63366),a=e(72791),u=e(28182),s=e(94419),c=e(829),l=e(61046),i=e(47630),f=e(21217);function p(o){return(0,f.Z)("MuiTableFooter",o)}var v=(0,e(75878).Z)("MuiTableFooter",["root"]),Z=e(80184),b=["className","component"],d=(0,i.ZP)("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:function(o,t){return t.root}})({display:"table-footer-group"}),h={variant:"footer"},m="tfoot",F=a.forwardRef((function(o,t){var e=(0,l.Z)({props:o,name:"MuiTableFooter"}),a=e.className,i=e.component,f=void 0===i?m:i,v=(0,n.Z)(e,b),F=(0,r.Z)({},e,{component:f}),w=function(o){var t=o.classes;return(0,s.Z)({root:["root"]},p,t)}(F);return(0,Z.jsx)(c.Z.Provider,{value:h,children:(0,Z.jsx)(d,(0,r.Z)({as:f,className:(0,u.Z)(w.root,a),ref:t,role:f===m?null:"rowgroup",ownerState:F},v))})}))}}]); +//# sourceMappingURL=8599.0a78eeaf.chunk.js.map \ No newline at end of file diff --git a/static/js/8599.0a78eeaf.chunk.js.map b/static/js/8599.0a78eeaf.chunk.js.map new file mode 100644 index 000000000..6ddb9325e --- /dev/null +++ b/static/js/8599.0a78eeaf.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/8599.0a78eeaf.chunk.js","mappings":"mHAKMA,E,SAAgCC,gBAMtC,K,kQCVO,SAASC,EAA2BC,GACzC,OAAOC,EAAAA,EAAAA,GAAqB,iBAAkBD,EAChD,CACA,IACA,GAD2BE,E,SAAAA,GAAuB,iBAAkB,CAAC,S,WCF/DC,EAAY,CAAC,YAAa,aAqB1BC,GAAkBC,EAAAA,EAAAA,IAAO,QAAS,CACtCC,KAAM,iBACNN,KAAM,OACNO,kBAAmB,SAACC,EAAOC,GAAM,OAAKA,EAAOC,IAAI,GAH3BL,CAIrB,CACDM,QAAS,uBAELC,EAAY,CAChBC,QAAS,UAELC,EAAmB,QA+DzB,EA9DiChB,EAAAA,YAAiB,SAAqBiB,EAASC,GAC9E,IAAMR,GAAQS,EAAAA,EAAAA,GAAc,CAC1BT,MAAOO,EACPT,KAAM,mBAINY,EAEEV,EAFFU,UAAS,EAEPV,EADFW,UAAAA,OAAS,IAAG,EAAAL,EAAgB,EAExBM,GAAQC,EAAAA,EAAAA,GAA8Bb,EAAOL,GAE7CmB,GAAaC,EAAAA,EAAAA,GAAS,CAAC,EAAGf,EAAO,CACrCW,UAAAA,IAGIK,EArCkB,SAAAF,GACxB,IACEE,EACEF,EADFE,QAKF,OAAOC,EAAAA,EAAAA,GAHO,CACZf,KAAM,CAAC,SAEoBX,EAA4ByB,EAC3D,CA6BkBE,CAAkBJ,GAClC,OAAoBK,EAAAA,EAAAA,KAAK9B,EAAAA,EAAiB+B,SAAU,CAClDC,MAAOjB,EACPkB,UAAuBH,EAAAA,EAAAA,KAAKvB,GAAiBmB,EAAAA,EAAAA,GAAS,CACpDQ,GAAIZ,EACJD,WAAWc,EAAAA,EAAAA,GAAKR,EAAQd,KAAMQ,GAC9BF,IAAKA,EACLiB,KAAMd,IAAcL,EAAmB,KAAO,WAC9CQ,WAAYA,GACXF,KAEP,G","sources":["../node_modules/@mui/material/Table/Tablelvl2Context.js","../node_modules/@mui/material/TableFooter/tableFooterClasses.js","../node_modules/@mui/material/TableFooter/TableFooter.js"],"sourcesContent":["import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nconst Tablelvl2Context = /*#__PURE__*/React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n Tablelvl2Context.displayName = 'Tablelvl2Context';\n}\n\nexport default Tablelvl2Context;","import { generateUtilityClass, generateUtilityClasses } from '@mui/base';\nexport function getTableFooterUtilityClass(slot) {\n return generateUtilityClass('MuiTableFooter', slot);\n}\nconst tableFooterClasses = generateUtilityClasses('MuiTableFooter', ['root']);\nexport default tableFooterClasses;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\", \"component\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled from '../styles/styled';\nimport { getTableFooterUtilityClass } from './tableFooterClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getTableFooterUtilityClass, classes);\n};\n\nconst TableFooterRoot = styled('tfoot', {\n name: 'MuiTableFooter',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'table-footer-group'\n});\nconst tablelvl2 = {\n variant: 'footer'\n};\nconst defaultComponent = 'tfoot';\nconst TableFooter = /*#__PURE__*/React.forwardRef(function TableFooter(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTableFooter'\n });\n\n const {\n className,\n component = defaultComponent\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n const ownerState = _extends({}, props, {\n component\n });\n\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(Tablelvl2Context.Provider, {\n value: tablelvl2,\n children: /*#__PURE__*/_jsx(TableFooterRoot, _extends({\n as: component,\n className: clsx(classes.root, className),\n ref: ref,\n role: component === defaultComponent ? null : 'rowgroup',\n ownerState: ownerState\n }, other))\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TableFooter.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component, normally `TableRow`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default TableFooter;"],"names":["Tablelvl2Context","React","getTableFooterUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","TableFooterRoot","styled","name","overridesResolver","props","styles","root","display","tablelvl2","variant","defaultComponent","inProps","ref","useThemeProps","className","component","other","_objectWithoutPropertiesLoose","ownerState","_extends","classes","composeClasses","useUtilityClasses","_jsx","Provider","value","children","as","clsx","role"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/8778.8b4e8d6a.chunk.js b/static/js/8778.8b4e8d6a.chunk.js new file mode 100644 index 000000000..11f5318dc --- /dev/null +++ b/static/js/8778.8b4e8d6a.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[8778],{38778:function(t,e,n){n.r(e),n.d(e,{default:function(){return s.Z},getListItemTextUtilityClass:function(){return u.L},listItemTextClasses:function(){return u.Z}});var s=n(49900),u=n(29849)}}]); \ No newline at end of file diff --git a/static/js/9056.4389f73c.chunk.js b/static/js/9056.4389f73c.chunk.js new file mode 100644 index 000000000..8ee4563d4 --- /dev/null +++ b/static/js/9056.4389f73c.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[9056],{89056:function(t,n,u){u.r(n),u.d(n,{buttonClasses:function(){return c.Z},default:function(){return e.Z},getButtonUtilityClass:function(){return c.F}});var e=u(30439),c=u(91143)}}]); \ No newline at end of file diff --git a/static/js/9910.ef3db10a.chunk.js b/static/js/9910.ef3db10a.chunk.js new file mode 100644 index 000000000..870a013af --- /dev/null +++ b/static/js/9910.ef3db10a.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkchitchatter=self.webpackChunkchitchatter||[]).push([[9910],{49910:function(t,e,n){n.r(e),n.d(e,{default:function(){return r.Z},getTypographyUtilityClass:function(){return u.f},typographyClasses:function(){return u.Z}});var r=n(4567),u=n(40940)}}]); \ No newline at end of file diff --git a/static/js/main.f9b02af7.js b/static/js/main.f9b02af7.js new file mode 100644 index 000000000..1531b2ae2 --- /dev/null +++ b/static/js/main.f9b02af7.js @@ -0,0 +1,3 @@ +/*! For license information please see main.f9b02af7.js.LICENSE.txt */ +!function(){var e={30076:function(e,t,n){"use strict";n.d(t,{Z:function(){return ie}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?l(w,--y):0,v--,10===b&&(v=1,m--),b}function S(){return b=y2||A(b)>3?"":" "}function O(e,t){for(;--t&&S()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return M(e,C()+(t<6&&32==E()&&32==S()))}function j(e){for(;S();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&j(b);break;case 40:41===e&&j(e);break;case 92:S()}return y}function Z(e,t){for(;S()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+M(t,y-1)+"*"+o(47===e?e:S())}function L(e){for(;!A(E());)S();return M(e,y)}var B="-ms-",N="-moz-",D="-webkit-",F="comm",z="rule",U="decl",H="@keyframes";function q(e,t){for(var n="",r=h(e),i=0;i6)switch(l(e,t+1)){case 109:if(45!==l(e,t+4))break;case 102:return c(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+N+(108==l(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?V(c(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==l(e,t+1))break;case 6444:switch(l(e,d(e)-3-(~u(e,"!important")&&10))){case 107:return c(e,":",":"+D)+e;case 101:return c(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===l(e,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+B+"$2box$3")+e}break;case 5936:switch(l(e,t+11)){case 114:return D+e+B+c(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+B+c(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+B+c(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+B+e+e}return e}function G(e){return T($("",null,null,null,[""],e=R(e),0,[0],e))}function $(e,t,n,r,i,a,s,l,f){for(var h=0,m=0,v=s,g=0,y=0,b=0,w=1,x=1,_=1,M=0,A="",R=i,T=a,j=r,B=A;x;)switch(b=M,M=S()){case 40:if(108!=b&&58==B.charCodeAt(v-1)){-1!=u(B+=c(P(M),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:B+=P(M);break;case 9:case 10:case 13:case 32:B+=I(b);break;case 92:B+=O(C()-1,7);continue;case 47:switch(E()){case 42:case 47:p(Y(Z(S(),C()),t,n),f);break;default:B+="/"}break;case 123*w:l[h++]=d(B)*_;case 125*w:case 59:case 0:switch(M){case 0:case 125:x=0;case 59+m:y>0&&d(B)-v&&p(y>32?X(B+";",r,n,v-1):X(c(B," ","")+";",r,n,v-2),f);break;case 59:B+=";";default:if(p(j=K(B,t,n,h,m,i,l,A,R=[],T=[],v),a),123===M)if(0===m)$(B,t,j,j,R,a,v,l,T);else switch(g){case 100:case 109:case 115:$(e,j,j,r&&p(K(e,j,j,0,0,i,l,A,i,R=[],v),T),i,T,v,l,r?R:T);break;default:$(B,j,j,j,[""],T,0,l,T)}}h=m=y=0,w=_=1,A=B="",v=s;break;case 58:v=1+d(B),y=b;default:if(w<1)if(123==M)--w;else if(125==M&&0==w++&&125==k())continue;switch(B+=o(M),M*w){case 38:_=m>0?1:(B+="\f",-1);break;case 44:l[h++]=(d(B)-1)*_,_=1;break;case 64:45===E()&&(B+=P(S())),g=E(),m=v=d(A=B+=L(C())),M++;break;case 45:45===b&&2==d(B)&&(w=0)}}return a}function K(e,t,n,r,o,a,u,l,d,p,m){for(var v=o-1,g=0===o?a:[""],y=h(g),b=0,w=0,_=0;b0?g[k]+" "+S:c(S,/&\f/g,g[k])))&&(d[_++]=E);return x(e,t,n,0===o?z:l,d,p,m)}function Y(e,t,n){return x(e,t,n,F,o(b),f(e,2,-2),0)}function X(e,t,n,r){return x(e,t,n,U,f(e,0,r),f(e,r+1,-1),r)}var J=function(e,t,n){for(var r=0,i=0;r=i,i=E(),38===r&&12===i&&(t[n]=1),!A(i);)S();return M(e,y)},Q=function(e,t){return T(function(e,t){var n=-1,r=44;do{switch(A(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=J(y-1,t,n);break;case 2:e[n]+=P(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=o(r)}}while(r=S());return e}(R(e),t))},ee=new WeakMap,te=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ee.get(n))&&!r){ee.set(e,!0);for(var i=[],o=Q(t,i),a=n.props,s=0,c=0;s-1&&!e.return)switch(e.type){case U:e.return=V(e.value,e.length);break;case H:return q([_(e,{value:c(e.value,"@","@"+D)})],r);case z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([_(e,{props:[c(t,/:(read-\w+)/,":"+N+"$1")]})],r);case"::placeholder":return q([_(e,{props:[c(t,/:(plac\w+)/,":"+D+"input-$1")]}),_(e,{props:[c(t,/:(plac\w+)/,":"+N+"$1")]}),_(e,{props:[c(t,/:(plac\w+)/,B+"input-$1")]})],r)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i=e.stylisPlugins||re;var o,a,s={},c=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},i={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(49797),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!==typeof e},l=(0,o.Z)((function(e){return c(e)?e:e.replace(a,"-$&").toLowerCase()})),f=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(s,(function(e,t,n){return h={name:t,styles:n,next:h},t}))}return 1===i[e]||c(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return h={name:n.name,styles:n.styles,next:h},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)h={name:r.name,styles:r.styles,next:h},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},x=(0,f.ZP)(h.Z,{shouldForwardProp:function(e){return(0,f.FO)(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,p.Z)(n.color))],t["size".concat((0,p.Z)(n.size))],t["".concat(n.variant,"Size").concat((0,p.Z)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,i,a=e.theme,s=e.ownerState;return(0,o.Z)({},a.typography.button,(t={minWidth:64,padding:"6px 16px",borderRadius:(a.vars||a).shape.borderRadius,transition:a.transitions.create(["background-color","box-shadow","border-color","color"],{duration:a.transitions.duration.short}),"&:hover":(0,o.Z)({textDecoration:"none",backgroundColor:a.vars?"rgba(".concat(a.vars.palette.text.primaryChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):(0,l.Fq)(a.palette.text.primary,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===s.variant&&"inherit"!==s.color&&{backgroundColor:a.vars?"rgba(".concat(a.vars.palette[s.color].mainChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):(0,l.Fq)(a.palette[s.color].main,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===s.variant&&"inherit"!==s.color&&{border:"1px solid ".concat((a.vars||a).palette[s.color].main),backgroundColor:a.vars?"rgba(".concat(a.vars.palette[s.color].mainChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):(0,l.Fq)(a.palette[s.color].main,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===s.variant&&{backgroundColor:(a.vars||a).palette.grey.A100,boxShadow:(a.vars||a).shadows[4],"@media (hover: none)":{boxShadow:(a.vars||a).shadows[2],backgroundColor:(a.vars||a).palette.grey[300]}},"contained"===s.variant&&"inherit"!==s.color&&{backgroundColor:(a.vars||a).palette[s.color].dark,"@media (hover: none)":{backgroundColor:(a.vars||a).palette[s.color].main}}),"&:active":(0,o.Z)({},"contained"===s.variant&&{boxShadow:(a.vars||a).shadows[8]})},(0,r.Z)(t,"&.".concat(m.Z.focusVisible),(0,o.Z)({},"contained"===s.variant&&{boxShadow:(a.vars||a).shadows[6]})),(0,r.Z)(t,"&.".concat(m.Z.disabled),(0,o.Z)({color:(a.vars||a).palette.action.disabled},"outlined"===s.variant&&{border:"1px solid ".concat((a.vars||a).palette.action.disabledBackground)},"outlined"===s.variant&&"secondary"===s.color&&{border:"1px solid ".concat((a.vars||a).palette.action.disabled)},"contained"===s.variant&&{color:(a.vars||a).palette.action.disabled,boxShadow:(a.vars||a).shadows[0],backgroundColor:(a.vars||a).palette.action.disabledBackground})),t),"text"===s.variant&&{padding:"6px 8px"},"text"===s.variant&&"inherit"!==s.color&&{color:(a.vars||a).palette[s.color].main},"outlined"===s.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===s.variant&&"inherit"!==s.color&&{color:(a.vars||a).palette[s.color].main,border:a.vars?"1px solid rgba(".concat(a.vars.palette[s.color].mainChannel," / 0.5)"):"1px solid ".concat((0,l.Fq)(a.palette[s.color].main,.5))},"contained"===s.variant&&{color:a.vars?a.vars.palette.text.primary:null==(n=(i=a.palette).getContrastText)?void 0:n.call(i,a.palette.grey[300]),backgroundColor:(a.vars||a).palette.grey[300],boxShadow:(a.vars||a).shadows[2]},"contained"===s.variant&&"inherit"!==s.color&&{color:(a.vars||a).palette[s.color].contrastText,backgroundColor:(a.vars||a).palette[s.color].main},"inherit"===s.color&&{color:"inherit",borderColor:"currentColor"},"small"===s.size&&"text"===s.variant&&{padding:"4px 5px",fontSize:a.typography.pxToRem(13)},"large"===s.size&&"text"===s.variant&&{padding:"8px 11px",fontSize:a.typography.pxToRem(15)},"small"===s.size&&"outlined"===s.variant&&{padding:"3px 9px",fontSize:a.typography.pxToRem(13)},"large"===s.size&&"outlined"===s.variant&&{padding:"7px 21px",fontSize:a.typography.pxToRem(15)},"small"===s.size&&"contained"===s.variant&&{padding:"4px 10px",fontSize:a.typography.pxToRem(13)},"large"===s.size&&"contained"===s.variant&&{padding:"8px 22px",fontSize:a.typography.pxToRem(15)},s.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(t={boxShadow:"none","&:hover":{boxShadow:"none"}},(0,r.Z)(t,"&.".concat(m.Z.focusVisible),{boxShadow:"none"}),(0,r.Z)(t,"&:active",{boxShadow:"none"}),(0,r.Z)(t,"&.".concat(m.Z.disabled),{boxShadow:"none"}),t)})),_=(0,f.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat((0,p.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,o.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},w(t))})),k=(0,f.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat((0,p.Z)(n.size))]]}})((function(e){var t=e.ownerState;return(0,o.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},w(t))})),S=a.forwardRef((function(e,t){var n=a.useContext(v),r=(0,c.Z)(n,e),l=(0,d.Z)({props:r,name:"MuiButton"}),f=l.children,h=l.color,w=void 0===h?"primary":h,S=l.component,E=void 0===S?"button":S,C=l.className,M=l.disabled,A=void 0!==M&&M,R=l.disableElevation,T=void 0!==R&&R,P=l.disableFocusRipple,I=void 0!==P&&P,O=l.endIcon,j=l.focusVisibleClassName,Z=l.fullWidth,L=void 0!==Z&&Z,B=l.size,N=void 0===B?"medium":B,D=l.startIcon,F=l.type,z=l.variant,U=void 0===z?"text":z,H=(0,i.Z)(l,y),q=(0,o.Z)({},l,{color:w,component:E,disabled:A,disableElevation:T,disableFocusRipple:I,fullWidth:L,size:N,type:F,variant:U}),W=function(e){var t=e.color,n=e.disableElevation,r=e.fullWidth,i=e.size,a=e.variant,s=e.classes,c={root:["root",a,"".concat(a).concat((0,p.Z)(t)),"size".concat((0,p.Z)(i)),"".concat(a,"Size").concat((0,p.Z)(i)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,p.Z)(i))],endIcon:["endIcon","iconSize".concat((0,p.Z)(i))]},l=(0,u.Z)(c,m.F,s);return(0,o.Z)({},s,l)}(q),V=W.root,G=(0,i.Z)(W,b),$=D&&(0,g.jsx)(_,{className:G.startIcon,ownerState:q,children:D}),K=O&&(0,g.jsx)(k,{className:G.endIcon,ownerState:q,children:O});return(0,g.jsxs)(x,(0,o.Z)({ownerState:q,className:(0,s.Z)(n.className,V,C),component:E,disabled:A,focusRipple:!I,focusVisibleClassName:(0,s.Z)(G.focusVisible,j),ref:t,type:F},H,{classes:G,children:[$,f,K]}))}))},91143:function(e,t,n){"use strict";n.d(t,{F:function(){return i}});var r=n(21217);function i(e){return(0,r.Z)("MuiButton",e)}var o=(0,n(75878).Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);t.Z=o},23701:function(e,t,n){"use strict";n.d(t,{Z:function(){return ee}});var r=n(29439),i=n(4942),o=n(87462),a=n(63366),s=n(72791),c=n(28182),u=n(94419),l=n(47630),f=n(61046),d=n(42071),h=n(89683),p=n(68221),m=n(93433),v=n(30168),g=n(97326),y=n(94578),b=n(95545);function w(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function x(e,t,n){return null!=n[t]?n[t]:e.props[t]}function _(e,t,n){var r=w(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var c in t){if(i[c])for(r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,i=void 0!==r&&r,o=t.center,a=void 0===o?u||t.pulsate:o,s=t.fakeElement,c=void 0!==s&&s;if("mousedown"===(null==e?void 0:e.type)&&_.current)_.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(_.current=!0);var l,f,d,h=c?null:C.current,p=h?h.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(p.width/2),f=Math.round(p.height/2);else{var m=e.touches&&e.touches.length>0?e.touches[0]:e,v=m.clientX,g=m.clientY;l=Math.round(v-p.left),f=Math.round(g-p.top)}if(a)(d=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(d+=1);else{var y=2*Math.max(Math.abs((h?h.clientWidth:0)-l),l)+2,b=2*Math.max(Math.abs((h?h.clientHeight:0)-f),f)+2;d=Math.sqrt(Math.pow(y,2)+Math.pow(b,2))}null!=e&&e.touches?null===S.current&&(S.current=function(){A({pulsate:i,rippleX:l,rippleY:f,rippleSize:d,cb:n})},k.current=setTimeout((function(){S.current&&(S.current(),S.current=null)}),80)):A({pulsate:i,rippleX:l,rippleY:f,rippleSize:d,cb:n})}}),[u,A]),T=s.useCallback((function(){R({},{pulsate:!0})}),[R]),P=s.useCallback((function(e,t){if(clearTimeout(k.current),"touchend"===(null==e?void 0:e.type)&&S.current)return S.current(),S.current=null,void(k.current=setTimeout((function(){P(e,t)})));S.current=null,b((function(e){return e.length>0?e.slice(1):e})),x.current=t}),[]);return s.useImperativeHandle(t,(function(){return{pulsate:T,start:R,stop:P}}),[T,R,P]),(0,M.jsx)(H,(0,o.Z)({className:(0,c.Z)(N.root,d.root,h),ref:C},p,{children:(0,M.jsx)(E,{component:null,exit:!0,children:y})}))})),V=W,G=n(21217);function $(e){return(0,G.Z)("MuiButtonBase",e)}var K,Y=(0,R.Z)("MuiButtonBase",["root","disabled","focusVisible"]),X=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],J=(0,l.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((K={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},(0,i.Z)(K,"&.".concat(Y.disabled),{pointerEvents:"none",cursor:"default"}),(0,i.Z)(K,"@media print",{colorAdjust:"exact"}),K)),Q=s.forwardRef((function(e,t){var n=(0,f.Z)({props:e,name:"MuiButtonBase"}),i=n.action,l=n.centerRipple,m=void 0!==l&&l,v=n.children,g=n.className,y=n.component,b=void 0===y?"button":y,w=n.disabled,x=void 0!==w&&w,_=n.disableRipple,k=void 0!==_&&_,S=n.disableTouchRipple,E=void 0!==S&&S,C=n.focusRipple,A=void 0!==C&&C,R=n.LinkComponent,T=void 0===R?"a":R,P=n.onBlur,I=n.onClick,O=n.onContextMenu,j=n.onDragLeave,Z=n.onFocus,L=n.onFocusVisible,B=n.onKeyDown,N=n.onKeyUp,D=n.onMouseDown,F=n.onMouseLeave,z=n.onMouseUp,U=n.onTouchEnd,H=n.onTouchMove,q=n.onTouchStart,W=n.tabIndex,G=void 0===W?0:W,K=n.TouchRippleProps,Y=n.touchRippleRef,Q=n.type,ee=(0,a.Z)(n,X),te=s.useRef(null),ne=s.useRef(null),re=(0,d.Z)(ne,Y),ie=(0,p.Z)(),oe=ie.isFocusVisibleRef,ae=ie.onFocus,se=ie.onBlur,ce=ie.ref,ue=s.useState(!1),le=(0,r.Z)(ue,2),fe=le[0],de=le[1];x&&fe&&de(!1),s.useImperativeHandle(i,(function(){return{focusVisible:function(){de(!0),te.current.focus()}}}),[]);var he=s.useState(!1),pe=(0,r.Z)(he,2),me=pe[0],ve=pe[1];s.useEffect((function(){ve(!0)}),[]);var ge=me&&!k&&!x;function ye(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;return(0,h.Z)((function(r){return t&&t(r),!n&&ne.current&&ne.current[e](r),!0}))}s.useEffect((function(){fe&&A&&!k&&me&&ne.current.pulsate()}),[k,A,fe,me]);var be=ye("start",D),we=ye("stop",O),xe=ye("stop",j),_e=ye("stop",z),ke=ye("stop",(function(e){fe&&e.preventDefault(),F&&F(e)})),Se=ye("start",q),Ee=ye("stop",U),Ce=ye("stop",H),Me=ye("stop",(function(e){se(e),!1===oe.current&&de(!1),P&&P(e)}),!1),Ae=(0,h.Z)((function(e){te.current||(te.current=e.currentTarget),ae(e),!0===oe.current&&(de(!0),L&&L(e)),Z&&Z(e)})),Re=function(){var e=te.current;return b&&"button"!==b&&!("A"===e.tagName&&e.href)},Te=s.useRef(!1),Pe=(0,h.Z)((function(e){A&&!Te.current&&fe&&ne.current&&" "===e.key&&(Te.current=!0,ne.current.stop(e,(function(){ne.current.start(e)}))),e.target===e.currentTarget&&Re()&&" "===e.key&&e.preventDefault(),B&&B(e),e.target===e.currentTarget&&Re()&&"Enter"===e.key&&!x&&(e.preventDefault(),I&&I(e))})),Ie=(0,h.Z)((function(e){A&&" "===e.key&&ne.current&&fe&&!e.defaultPrevented&&(Te.current=!1,ne.current.stop(e,(function(){ne.current.pulsate(e)}))),N&&N(e),I&&e.target===e.currentTarget&&Re()&&" "===e.key&&!e.defaultPrevented&&I(e)})),Oe=b;"button"===Oe&&(ee.href||ee.to)&&(Oe=T);var je={};"button"===Oe?(je.type=void 0===Q?"button":Q,je.disabled=x):(ee.href||ee.to||(je.role="button"),x&&(je["aria-disabled"]=x));var Ze=(0,d.Z)(ce,te),Le=(0,d.Z)(t,Ze);var Be=(0,o.Z)({},n,{centerRipple:m,component:b,disabled:x,disableRipple:k,disableTouchRipple:E,focusRipple:A,tabIndex:G,focusVisible:fe}),Ne=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,i=e.classes,o={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,u.Z)(o,$,i);return n&&r&&(a.root+=" ".concat(r)),a}(Be);return(0,M.jsxs)(J,(0,o.Z)({as:Oe,className:(0,c.Z)(Ne.root,g),ownerState:Be,onBlur:Me,onClick:I,onContextMenu:we,onFocus:Ae,onKeyDown:Pe,onKeyUp:Ie,onMouseDown:be,onMouseLeave:ke,onMouseUp:_e,onDragLeave:xe,onTouchEnd:Ee,onTouchMove:Ce,onTouchStart:Se,ref:Le,tabIndex:x?-1:G,type:Q},je,ee,{children:[v,ge?(0,M.jsx)(V,(0,o.Z)({ref:re,center:m},K)):null]}))})),ee=Q},65469:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(93433),i=n(29439),o=n(4942),a=n(63366),s=n(87462),c=n(72791),u=n(28182),l=n(94419),f=n(14036),d=n(47630),h=n(61046),p=n(68221),m=n(42071),v=n(4567),g=n(23973),y=n(18529),b=n(12065),w={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=function(e){var t=e.theme,n=e.ownerState,r=function(e){return w[e]||e}(n.color),i=(0,y.D)(t,"palette.".concat(r),!1)||n.color,o=(0,y.D)(t,"palette.".concat(r,"Channel"));return"vars"in t&&o?"rgba(".concat(o," / 0.4)"):(0,b.Fq)(i,.4)},_=n(80184),k=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],S=(0,d.ZP)(v.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["underline".concat((0,f.Z)(n.underline))],"button"===n.component&&t.button]}})((function(e){var t=e.theme,n=e.ownerState;return(0,s.Z)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,s.Z)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:x({theme:t,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&(0,o.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(g.Z.focusVisible),{outline:"auto"}))})),E=c.forwardRef((function(e,t){var n=(0,h.Z)({props:e,name:"MuiLink"}),o=n.className,d=n.color,v=void 0===d?"primary":d,y=n.component,b=void 0===y?"a":y,x=n.onBlur,E=n.onFocus,C=n.TypographyClasses,M=n.underline,A=void 0===M?"always":M,R=n.variant,T=void 0===R?"inherit":R,P=n.sx,I=(0,a.Z)(n,k),O=(0,p.Z)(),j=O.isFocusVisibleRef,Z=O.onBlur,L=O.onFocus,B=O.ref,N=c.useState(!1),D=(0,i.Z)(N,2),F=D[0],z=D[1],U=(0,m.Z)(t,B),H=(0,s.Z)({},n,{color:v,component:b,focusVisible:F,underline:A,variant:T}),q=function(e){var t=e.classes,n=e.component,r=e.focusVisible,i=e.underline,o={root:["root","underline".concat((0,f.Z)(i)),"button"===n&&"button",r&&"focusVisible"]};return(0,l.Z)(o,g.w,t)}(H);return(0,_.jsx)(S,(0,s.Z)({color:v,className:(0,u.Z)(q.root,o),classes:C,component:b,onBlur:function(e){Z(e),!1===j.current&&z(!1),x&&x(e)},onFocus:function(e){L(e),!0===j.current&&z(!0),E&&E(e)},ref:U,ownerState:H,variant:T,sx:[].concat((0,r.Z)(Object.keys(w).includes(v)?[]:[{color:v}]),(0,r.Z)(Array.isArray(P)?P:[P]))},I))}))},23973:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var r=n(21217);function i(e){return(0,r.Z)("MuiLink",e)}var o=(0,n(75878).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);t.Z=o},66199:function(e,t,n){"use strict";var r=n(72791).createContext({});t.Z=r},49900:function(e,t,n){"use strict";var r=n(4942),i=n(63366),o=n(87462),a=n(72791),s=n(28182),c=n(94419),u=n(4567),l=n(66199),f=n(61046),d=n(47630),h=n(29849),p=n(80184),m=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],v=(0,d.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,r.Z)({},"& .".concat(h.Z.primary),t.primary),(0,r.Z)({},"& .".concat(h.Z.secondary),t.secondary),t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((function(e){var t=e.ownerState;return(0,o.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})})),g=a.forwardRef((function(e,t){var n=(0,f.Z)({props:e,name:"MuiListItemText"}),r=n.children,d=n.className,g=n.disableTypography,y=void 0!==g&&g,b=n.inset,w=void 0!==b&&b,x=n.primary,_=n.primaryTypographyProps,k=n.secondary,S=n.secondaryTypographyProps,E=(0,i.Z)(n,m),C=a.useContext(l.Z).dense,M=null!=x?x:r,A=k,R=(0,o.Z)({},n,{disableTypography:y,inset:w,primary:!!M,secondary:!!A,dense:C}),T=function(e){var t=e.classes,n=e.inset,r=e.primary,i=e.secondary,o={root:["root",n&&"inset",e.dense&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,c.Z)(o,h.L,t)}(R);return null==M||M.type===u.Z||y||(M=(0,p.jsx)(u.Z,(0,o.Z)({variant:C?"body2":"body1",className:T.primary,component:"span",display:"block"},_,{children:M}))),null==A||A.type===u.Z||y||(A=(0,p.jsx)(u.Z,(0,o.Z)({variant:"body2",className:T.secondary,color:"text.secondary",display:"block"},S,{children:A}))),(0,p.jsxs)(v,(0,o.Z)({className:(0,s.Z)(T.root,d),ownerState:R,ref:t},E,{children:[M,A]}))}));t.Z=g},29849:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(21217);function i(e){return(0,r.Z)("MuiListItemText",e)}var o=(0,n(75878).Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);t.Z=o},99259:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(87462),i=n(63366),o=n(72791),a=n(28182),s=n(94419),c=n(14036),u=n(61046),l=n(47630),f=n(21217);function d(e){return(0,f.Z)("MuiSvgIcon",e)}(0,n(75878).Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(80184),p=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],m=(0,l.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat((0,c.Z)(n.color))],t["fontSize".concat((0,c.Z)(n.fontSize))]]}})((function(e){var t,n,r,i,o,a,s,c,u,l,f,d,h,p,m,v,g,y=e.theme,b=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(t=y.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(r=y.transitions)||null==(i=r.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(o=y.typography)||null==(a=o.pxToRem)?void 0:a.call(o,20))||"1.25rem",medium:(null==(s=y.typography)||null==(c=s.pxToRem)?void 0:c.call(s,24))||"1.5rem",large:(null==(u=y.typography)||null==(l=u.pxToRem)?void 0:l.call(u,35))||"2.1875"}[b.fontSize],color:null!=(f=null==(d=(y.vars||y).palette)||null==(h=d[b.color])?void 0:h.main)?f:{action:null==(p=(y.vars||y).palette)||null==(m=p.action)?void 0:m.active,disabled:null==(v=(y.vars||y).palette)||null==(g=v.action)?void 0:g.disabled,inherit:void 0}[b.color]}})),v=o.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiSvgIcon"}),o=n.children,l=n.className,f=n.color,v=void 0===f?"inherit":f,g=n.component,y=void 0===g?"svg":g,b=n.fontSize,w=void 0===b?"medium":b,x=n.htmlColor,_=n.inheritViewBox,k=void 0!==_&&_,S=n.titleAccess,E=n.viewBox,C=void 0===E?"0 0 24 24":E,M=(0,i.Z)(n,p),A=(0,r.Z)({},n,{color:v,component:y,fontSize:w,instanceFontSize:e.fontSize,inheritViewBox:k,viewBox:C}),R={};k||(R.viewBox=C);var T=function(e){var t=e.color,n=e.fontSize,r=e.classes,i={root:["root","inherit"!==t&&"color".concat((0,c.Z)(t)),"fontSize".concat((0,c.Z)(n))]};return(0,s.Z)(i,d,r)}(A);return(0,h.jsxs)(m,(0,r.Z)({as:y,className:(0,a.Z)(T.root,l),ownerState:A,focusable:"false",color:x,"aria-hidden":!S||void 0,role:S?"img":void 0,ref:t},R,M,{children:[o,S?(0,h.jsx)("title",{children:S}):null]}))}));v.muiName="SvgIcon";var g=v},15416:function(e,t,n){"use strict";var r=n(63366),i=n(87462),o=n(72791),a=n(28182),s=n(94419),c=n(46646),u=n(61046),l=n(47630),f=n(55275),d=n(80184),h=["className","component","padding","size","stickyHeader"],p=(0,l.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.stickyHeader&&t.stickyHeader]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,i.Z)({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},n.stickyHeader&&{borderCollapse:"separate"})})),m="table",v=o.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiTable"}),l=n.className,v=n.component,g=void 0===v?m:v,y=n.padding,b=void 0===y?"normal":y,w=n.size,x=void 0===w?"medium":w,_=n.stickyHeader,k=void 0!==_&&_,S=(0,r.Z)(n,h),E=(0,i.Z)({},n,{component:g,padding:b,size:x,stickyHeader:k}),C=function(e){var t=e.classes,n={root:["root",e.stickyHeader&&"stickyHeader"]};return(0,s.Z)(n,f.K,t)}(E),M=o.useMemo((function(){return{padding:b,size:x,stickyHeader:k}}),[b,x,k]);return(0,d.jsx)(c.Z.Provider,{value:M,children:(0,d.jsx)(p,(0,i.Z)({as:g,role:g===m?null:"table",ref:t,className:(0,a.Z)(C.root,l),ownerState:E},S))})}));t.Z=v},46646:function(e,t,n){"use strict";var r=n(72791).createContext();t.Z=r},55275:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(21217);function i(e){return(0,r.Z)("MuiTable",e)}var o=(0,n(75878).Z)("MuiTable",["root","stickyHeader"]);t.Z=o},4567:function(e,t,n){"use strict";var r=n(63366),i=n(87462),o=n(72791),a=n(28182),s=n(78519),c=n(94419),u=n(47630),l=n(61046),f=n(14036),d=n(40940),h=n(80184),p=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],m=(0,u.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat((0,f.Z)(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((function(e){var t=e.theme,n=e.ownerState;return(0,i.Z)({margin:0},n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},g={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y=o.forwardRef((function(e,t){var n=(0,l.Z)({props:e,name:"MuiTypography"}),o=function(e){return g[e]||e}(n.color),u=(0,s.Z)((0,i.Z)({},n,{color:o})),y=u.align,b=void 0===y?"inherit":y,w=u.className,x=u.component,_=u.gutterBottom,k=void 0!==_&&_,S=u.noWrap,E=void 0!==S&&S,C=u.paragraph,M=void 0!==C&&C,A=u.variant,R=void 0===A?"body1":A,T=u.variantMapping,P=void 0===T?v:T,I=(0,r.Z)(u,p),O=(0,i.Z)({},u,{align:b,color:o,className:w,component:x,gutterBottom:k,noWrap:E,paragraph:M,variant:R,variantMapping:P}),j=x||(M?"p":P[R]||v[R])||"span",Z=function(e){var t=e.align,n=e.gutterBottom,r=e.noWrap,i=e.paragraph,o=e.variant,a=e.classes,s={root:["root",o,"inherit"!==e.align&&"align".concat((0,f.Z)(t)),n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return(0,c.Z)(s,d.f,a)}(O);return(0,h.jsx)(m,(0,i.Z)({as:j,ref:t,ownerState:O,className:(0,a.Z)(Z.root,w)},I))}));t.Z=y},40940:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(21217);function i(e){return(0,r.Z)("MuiTypography",e)}var o=(0,n(75878).Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);t.Z=o},96532:function(e,t){"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case d:case h:return e;default:switch(e=e&&e.$$typeof){case l:case u:case f:case m:case p:case c:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference")},78457:function(e,t,n){"use strict";n(96532)},61979:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(87462),i=n(63366),o=n(46189),a=n(82466),s=n(85080),c=n(4942);function u(e,t){var n;return(0,r.Z)({toolbar:(n={minHeight:56},(0,c.Z)(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),(0,c.Z)(n,e.up("sm"),{minHeight:64}),n)},t)}var l=n(12065),f={black:"#000",white:"#fff"},d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},h={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},p={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},v={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},g={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},y={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},b=["mode","contrastThreshold","tonalOffset"],w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:f.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function _(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,l.$n)(e.main,i):"dark"===t&&(e.dark=(0,l._j)(e.main,o)))}function k(e){var t=e.mode,n=void 0===t?"light":t,s=e.contrastThreshold,c=void 0===s?3:s,u=e.tonalOffset,k=void 0===u?.2:u,S=(0,i.Z)(e,b),E=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[200],light:v[50],dark:v[400]}:{main:v[700],light:v[400],dark:v[800]}}(n),C=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[200],light:h[50],dark:h[400]}:{main:h[500],light:h[300],dark:h[700]}}(n),M=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p[500],light:p[300],dark:p[700]}:{main:p[700],light:p[400],dark:p[800]}}(n),A=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:g[700],light:g[500],dark:g[900]}}(n),R=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[400],light:y[300],dark:y[700]}:{main:y[800],light:y[500],dark:y[900]}}(n),T=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(n);function P(e){return(0,l.mi)(e,x.text.primary)>=c?x.text.primary:w.text.primary}var I=function(e){var t=e.color,n=e.name,i=e.mainShade,a=void 0===i?500:i,s=e.lightShade,c=void 0===s?300:s,u=e.darkShade,l=void 0===u?700:u;if(!(t=(0,r.Z)({},t)).main&&t[a]&&(t.main=t[a]),!t.hasOwnProperty("main"))throw new Error((0,o.Z)(11,n?" (".concat(n,")"):"",a));if("string"!==typeof t.main)throw new Error((0,o.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return _(t,"light",c,k),_(t,"dark",l,k),t.contrastText||(t.contrastText=P(t.main)),t},O={dark:x,light:w};return(0,a.Z)((0,r.Z)({common:(0,r.Z)({},f),mode:n,primary:I({color:E,name:"primary"}),secondary:I({color:C,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:I({color:M,name:"error"}),warning:I({color:T,name:"warning"}),info:I({color:A,name:"info"}),success:I({color:R,name:"success"}),grey:d,contrastThreshold:c,getContrastText:P,augmentColor:I,tonalOffset:k},O[n]),S)}var S=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var E={textTransform:"uppercase"},C='"Roboto", "Helvetica", "Arial", sans-serif';function M(e,t){var n="function"===typeof t?t(e):t,o=n.fontFamily,s=void 0===o?C:o,c=n.fontSize,u=void 0===c?14:c,l=n.fontWeightLight,f=void 0===l?300:l,d=n.fontWeightRegular,h=void 0===d?400:d,p=n.fontWeightMedium,m=void 0===p?500:p,v=n.fontWeightBold,g=void 0===v?700:v,y=n.htmlFontSize,b=void 0===y?16:y,w=n.allVariants,x=n.pxToRem,_=(0,i.Z)(n,S);var k=u/14,M=x||function(e){return"".concat(e/b*k,"rem")},A=function(e,t,n,i,o){return(0,r.Z)({fontFamily:s,fontWeight:e,fontSize:M(t),lineHeight:n},s===C?{letterSpacing:"".concat((a=i/t,Math.round(1e5*a)/1e5),"em")}:{},o,w);var a},R={h1:A(f,96,1.167,-1.5),h2:A(f,60,1.2,-.5),h3:A(h,48,1.167,0),h4:A(h,34,1.235,.25),h5:A(h,24,1.334,0),h6:A(m,20,1.6,.15),subtitle1:A(h,16,1.75,.15),subtitle2:A(m,14,1.57,.1),body1:A(h,16,1.5,.15),body2:A(h,14,1.43,.15),button:A(m,14,1.75,.4,E),caption:A(h,12,1.66,.4),overline:A(h,12,2.66,1,E)};return(0,a.Z)((0,r.Z)({htmlFontSize:b,pxToRem:M,fontFamily:s,fontSize:u,fontWeightLight:f,fontWeightRegular:h,fontWeightMedium:m,fontWeightBold:g},R),_,{clone:!1})}function A(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var R=["none",A(0,2,1,-1,0,1,1,0,0,1,3,0),A(0,3,1,-2,0,2,2,0,0,1,5,0),A(0,3,3,-2,0,3,4,0,0,1,8,0),A(0,2,4,-1,0,4,5,0,0,1,10,0),A(0,3,5,-1,0,5,8,0,0,1,14,0),A(0,3,5,-1,0,6,10,0,0,1,18,0),A(0,4,5,-2,0,7,10,1,0,2,16,1),A(0,5,5,-3,0,8,10,1,0,3,14,2),A(0,5,6,-3,0,9,12,1,0,3,16,2),A(0,6,6,-3,0,10,14,1,0,4,18,3),A(0,6,7,-4,0,11,15,1,0,4,20,3),A(0,7,8,-4,0,12,17,2,0,5,22,4),A(0,7,8,-4,0,13,19,2,0,5,24,4),A(0,7,9,-4,0,14,21,2,0,5,26,4),A(0,8,9,-5,0,15,22,2,0,6,28,5),A(0,8,10,-5,0,16,24,2,0,6,30,5),A(0,8,11,-5,0,17,26,2,0,6,32,5),A(0,9,11,-5,0,18,28,2,0,7,34,6),A(0,9,12,-6,0,19,29,2,0,7,36,6),A(0,10,13,-6,0,20,31,3,0,8,38,7),A(0,10,13,-6,0,21,33,3,0,8,40,7),A(0,10,14,-6,0,22,35,3,0,8,42,7),A(0,11,14,-7,0,23,36,3,0,9,44,8),A(0,11,15,-7,0,24,38,3,0,9,46,8)],T=n(81314),P={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},I=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,c=e.palette,l=void 0===c?{}:c,f=e.transitions,d=void 0===f?{}:f,h=e.typography,p=void 0===h?{}:h,m=(0,i.Z)(e,I);if(e.vars)throw new Error((0,o.Z)(18));var v=k(l),g=(0,s.Z)(e),y=(0,a.Z)(g,{mixins:u(g.breakpoints,n),palette:v,shadows:R.slice(),typography:M(v,p),transitions:(0,T.ZP)(d),zIndex:(0,r.Z)({},P)});y=(0,a.Z)(y,m);for(var b=arguments.length,w=new Array(b>1?b-1:0),x=1;x0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.duration,s=void 0===a?n.standard:a,u=i.easing,l=void 0===u?t.easeInOut:u,f=i.delay,d=void 0===f?0:f;(0,r.Z)(i,o);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof s?s:c(s)," ").concat(l," ").concat("string"===typeof d?d:c(d))})).join(",")}},e,{easing:t,duration:n})}},36482:function(e,t,n){"use strict";var r=(0,n(61979).Z)();t.Z=r},47630:function(e,t,n){"use strict";n.d(t,{ZP:function(){return S},FO:function(){return x},Dz:function(){return _}});var r=n(93433),i=n(29439),o=n(87462),a=n(63366),s=n(22421),c=n(85080),u=n(27312),l=["variant"];function f(e){return 0===e.length}function d(e){var t=e.variant,n=(0,a.Z)(e,l),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?f(r)?e[t]:(0,u.Z)(e[t]):"".concat(f(r)?t:(0,u.Z)(t)).concat((0,u.Z)(e[t].toString()))})),r}var h=n(60104),p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],m=["theme"],v=["theme"];function g(e){return 0===Object.keys(e).length}function y(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var b=(0,c.Z)();var w=n(36482),x=function(e){return y(e)&&"classes"!==e},_=y,k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=void 0===t?b:t,c=e.rootShouldForwardProp,u=void 0===c?y:c,l=e.slotShouldForwardProp,f=void 0===l?y:l,w=e.styleFunctionSx,x=void 0===w?h.Z:w;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=t.name,l=t.slot,h=t.skipVariantsResolver,b=t.skipSx,w=t.overridesResolver,_=(0,a.Z)(t,p),k=void 0!==h?h:l&&"Root"!==l||!1,S=b||!1;var E=y;"Root"===l?E=u:l&&(E=f);var C=(0,s.ZP)(e,(0,o.Z)({shouldForwardProp:E,label:undefined},_)),M=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),u=1;u0){var p=new Array(h).fill("");(f=[].concat((0,r.Z)(e),(0,r.Z)(p))).raw=[].concat((0,r.Z)(e.raw),(0,r.Z)(p))}else"function"===typeof e&&e.__emotion_real!==e&&(f=function(t){var r=t.theme,i=(0,a.Z)(t,v);return e((0,o.Z)({theme:g(r)?n:r},i))});return C.apply(void 0,[f].concat((0,r.Z)(l)))};return C.withConfig&&(M.withConfig=C.withConfig),M}}({defaultTheme:w.Z,rootShouldForwardProp:x}),S=k},61046:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(35735);var i=n(30418);function o(e){var t=e.props,n=e.name,o=e.defaultTheme,a=function(e){var t=e.theme,n=e.name,i=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,i):i}({theme:(0,i.Z)(o),name:n,props:t});return a}var a=n(36482);function s(e){return o({props:e.props,name:e.name,defaultTheme:a.Z})}},14036:function(e,t,n){"use strict";var r=n(27312);t.Z=r.Z},74223:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),i=n(72791),o=n(99259),a=n(80184);function s(e,t){var n=function(n,i){return(0,a.jsx)(o.Z,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:i},n,{children:e}))};return n.muiName=o.Z.muiName,i.memo(i.forwardRef(n))}},83199:function(e,t,n){"use strict";var r=n(93981);t.Z=r.Z},54421:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return i.Z},createChainedFunction:function(){return o},createSvgIcon:function(){return a.Z},debounce:function(){return s.Z},deprecatedPropType:function(){return c},isMuiElement:function(){return u.Z},ownerDocument:function(){return l.Z},ownerWindow:function(){return f.Z},requirePropFactory:function(){return d},setRef:function(){return h},unstable_ClassNameGenerator:function(){return x},unstable_useEnhancedEffect:function(){return p.Z},unstable_useId:function(){return m.Z},unsupportedProp:function(){return v},useControlled:function(){return g.Z},useEventCallback:function(){return y.Z},useForkRef:function(){return b.Z},useIsFocusVisible:function(){return w.Z}});var r=n(55902),i=n(14036),o=n(78949).Z,a=n(74223),s=n(83199);var c=function(e,t){return function(){return null}},u=n(19103),l=n(98301),f=n(17602);n(87462);var d=function(e,t){return function(){return null}},h=n(62971).Z,p=n(40162),m=n(67384);var v=function(e,t,n,r,i){return null},g=n(98278),y=n(89683),b=n(42071),w=n(68221),x={configure:function(e){console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),r.Z.configure(e)}}},19103:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(72791);var i=function(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},98301:function(e,t,n){"use strict";var r=n(99723);t.Z=r.Z},17602:function(e,t,n){"use strict";var r=n(27979);t.Z=r.Z},98278:function(e,t,n){"use strict";var r=n(58959);t.Z=r.Z},40162:function(e,t,n){"use strict";var r=n(75721);t.Z=r.Z},89683:function(e,t,n){"use strict";var r=n(58956);t.Z=r.Z},42071:function(e,t,n){"use strict";var r=n(47563);t.Z=r.Z},67384:function(e,t,n){"use strict";var r=n(96248);t.Z=r.Z},68221:function(e,t,n){"use strict";var r=n(45372);t.Z=r.Z},68023:function(e,t,n){"use strict";var r=n(72791).createContext(null);t.Z=r},29598:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(72791),i=n(68023);function o(){return r.useContext(i.Z)}},22421:function(e,t,n){"use strict";n.d(t,{ZP:function(){return x}});var r=n(72791),i=n.t(r,2),o=n(87462),a=n(49797),s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,c=(0,a.Z)((function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),u=n(61688),l=n(95438),f=n(9140),d=c,h=function(e){return"theme"!==e},p=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?d:h},m=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},v=i.useInsertionEffect?i.useInsertionEffect:function(e){e()};var g=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;(0,l.hC)(t,n,r);v((function(){return(0,l.My)(t,n,r)}));return null},y=function e(t,n){var i,a,s=t.__emotion_real===t,c=s&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var d=m(t,n,s),h=d||p(c),v=!h("as");return function(){var y=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var w=y.length,x=1;x0&&void 0!==arguments[0]?arguments[0]:{};return(null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{}))||{}}function c(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function u(e){for(var t=s(e),n=arguments.length,i=new Array(n>1?n-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var i,a=e.substring(t+1,e.length-1);if("color"===n){if(i=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error((0,r.Z)(10,i))}else a=a.split(",");return{type:n,values:a=a.map((function(e){return parseFloat(e)})),colorSpace:i}}function a(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function s(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-s*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",l=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return"hsla"===e.type&&(u+="a",l.push(t[3])),a({type:u,values:l})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){var n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e,t){return e=o(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,a(e)}function l(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function f(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return a(e)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(e)>.5?l(e,t):f(e,t)}},85080:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(87462),i=n(63366),o=n(82466),a=n(4942),s=["values","unit","step"],c=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,r.Z)({},e,(0,a.Z)({},t.key,t.val))}),{})};var u={borderRadius:4},l=n(45682);var f=["breakpoints","palette","spacing","shape"];var d=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,a=e.palette,d=void 0===a?{}:a,h=e.spacing,p=e.shape,m=void 0===p?{}:p,v=(0,i.Z)(e,f),g=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,o=e.unit,a=void 0===o?"px":o,u=e.step,l=void 0===u?5:u,f=(0,i.Z)(e,s),d=c(n),h=Object.keys(d);function p(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(a,")")}function m(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-l/100).concat(a,")")}function v(e,t){var r=h.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(a,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[h[r]]?n[h[r]]:t)-l/100).concat(a,")")}return(0,r.Z)({keys:h,values:d,up:p,down:m,between:v,only:function(e){return h.indexOf(e)+10&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,l.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r1?w-1:0),_=1;_2){if(!u[e])return[e];e=u[e]}var t=e.split(""),n=(0,r.Z)(t,2),i=n[0],o=n[1],a=s[i],l=c[o]||"";return Array.isArray(l)?l.map((function(e){return a+e})):[a+l]})),f=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],h=[].concat(f,d);function p(e,t,n,r){var i,a=null!=(i=(0,o.D)(e,t,!1))?i:n;return"number"===typeof a?function(e){return"string"===typeof e?e:a*e}:Array.isArray(a)?function(e){return"string"===typeof e?e:a[e]}:"function"===typeof a?a:function(){}}function m(e){return p(e,"spacing",8)}function v(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function g(e,t,n,r){if(-1===t.indexOf(n))return null;var o=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=v(t,n),e}),{})}}(l(n),r),a=e[n];return(0,i.k9)(e,a,o)}function y(e,t){var n=m(e.theme);return Object.keys(e).map((function(r){return g(e,t,r,n)})).reduce(a.Z,{})}function b(e){return y(e,f)}function w(e){return y(e,d)}function x(e){return y(e,h)}b.propTypes={},b.filterProps=f,w.propTypes={},w.filterProps=d,x.propTypes={},x.filterProps=h;var _=x},18529:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(4942),i=n(27312),o=n(51184);function a(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function s(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||i:a(e,n)||i,t&&(r=t(r)),r}t.Z=function(e){var t=e.prop,n=e.cssProperty,c=void 0===n?e.prop:n,u=e.themeKey,l=e.transform,f=function(e){if(null==e[t])return null;var n=e[t],f=a(e.theme,u)||{};return(0,o.k9)(e,n,(function(e){var n=s(f,l,e);return e===n&&"string"===typeof e&&(n=s(f,l,"".concat(t).concat("default"===e?"":(0,i.Z)(e)),e)),!1===c?n:(0,r.Z)({},c,n)}))};return f.propTypes={},f.filterProps=[t],f}},78519:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(93433),i=n(87462),o=n(63366),a=n(82466),s=n(60114),c=["sx"],u=function(e){var t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((function(n){s.Gc[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]})),t};function l(e){var t,n=e.sx,s=(0,o.Z)(e,c),l=u(s),f=l.systemProps,d=l.otherProps;return t=Array.isArray(n)?[f].concat((0,r.Z)(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return(0,a.P)(e)?(0,i.Z)({},f,e):f}:(0,i.Z)({},f,n),(0,i.Z)({},d,{sx:t})}},60104:function(e,t,n){"use strict";var r=n(4942),i=n(98247),o=n(60114),a=n(51184);var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.G$,t=Object.keys(e).reduce((function(t,n){return e[n].filterProps.forEach((function(r){t[r]=e[n]})),t}),{});function n(e,n,i){var o,a=(o={},(0,r.Z)(o,e,n),(0,r.Z)(o,"theme",i),o),s=t[e];return s?s(a):(0,r.Z)({},e,n)}return function e(o){var s=o||{},c=s.sx,u=s.theme,l=void 0===u?{}:u;if(!c)return null;function f(o){var s=o;if("function"===typeof o)s=o(l);else if("object"!==typeof o)return o;if(!s)return null;var c=(0,a.W8)(l.breakpoints),u=Object.keys(c),f=c;return Object.keys(s).forEach((function(o){var c,u,d=(c=s[o],u=l,"function"===typeof c?c(u):c);if(null!==d&&void 0!==d)if("object"===typeof d)if(t[o])f=(0,i.Z)(f,n(o,d,l));else{var h=(0,a.k9)({theme:l},d,(function(e){return(0,r.Z)({},o,e)}));!function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:o;return(0,i.Z)(e)}},69120:function(e,t,n){"use strict";var r=n(29598);t.Z=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=(0,r.Z)();return n&&(e=n,0!==Object.keys(e).length)?n:t}},55902:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},27312:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(46189);function i(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},94419:function(e,t,n){"use strict";function r(e,t,n){var r={};return Object.keys(e).forEach((function(i){r[i]=e[i].reduce((function(e,r){return r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},78949:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=n.clone?(0,r.Z)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(i(t[r])&&r in e&&i(e[r])?a[r]=o(e[r],t[r],n):a[r]=t[r])})),a}},46189:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n2&&void 0!==arguments[2]?arguments[2]:"Mui",o=i[t];return o?"".concat(n,"-").concat(o):"".concat(r.Z.generate(e),"-").concat(t)}},75878:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(21217);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i={};return t.forEach((function(t){i[t]=(0,r.Z)(e,t,n)})),i}},99723:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},27979:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(99723);function i(e){return(0,r.Z)(e).defaultView||window}},35735:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462);function i(e,t){var n=(0,r.Z)({},t);return Object.keys(e).forEach((function(t){void 0===n[t]&&(n[t]=e[t])})),n}},62971:function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},58959:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(29439),i=n(72791);function o(e){var t=e.controlled,n=e.default,o=(e.name,e.state,i.useRef(void 0!==t).current),a=i.useState(n),s=(0,r.Z)(a,2),c=s[0],u=s[1];return[o?t:c,i.useCallback((function(e){o||u(e)}),[])]}},75721:function(e,t,n){"use strict";var r=n(72791),i="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=i},58956:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(72791),i=n(75721);function o(e){var t=r.useRef(e);return(0,i.Z)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},47563:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(72791),i=n(62971);function o(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,i.Z)(e,n),(0,i.Z)(t,n)}}),[e,t])}},96248:function(e,t,n){"use strict";var r;n.d(t,{Z:function(){return c}});var i=n(29439),o=n(72791),a=0;var s=(r||(r=n.t(o,2))).useId;function c(e){if(void 0!==s){var t=s();return null!=e?e:t}return function(e){var t=o.useState(e),n=(0,i.Z)(t,2),r=n[0],s=n[1],c=e||r;return o.useEffect((function(){null==r&&s("mui-".concat(a+=1))}),[r]),c}(e)}},45372:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r,i=n(72791),o=!0,a=!1,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(o=!0)}function u(){o=!1}function l(){"hidden"===this.visibilityState&&a&&(o=!0)}function f(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return o||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!s[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function d(){var e=i.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",l,!0))}),[]),t=i.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!f(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(r),r=window.setTimeout((function(){a=!1}),100),t.current=!1,!0)},ref:e}}},8370:function(e,t){!function(){var e=t,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function r(e){this.message=e}r.prototype=new Error,r.prototype.name="InvalidCharacterError",e.btoa||(e.btoa=function(e){for(var t,i,o=0,a=n,s="";e.charAt(0|o)||(a="=",o%1);s+=a.charAt(63&t>>8-o%1*8)){if((i=e.charCodeAt(o+=3/4))>255)throw new r("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|i}return s}),e.atob||(e.atob=function(e){if((e=e.replace(/=+$/,"")).length%4==1)throw new r("'atob' failed: The string to be decoded is not correctly encoded.");for(var t,i,o=0,a=0,s="";i=e.charAt(a++);~i&&(t=o%4?64*t+i:i,o++%4)?s+=String.fromCharCode(255&t>>(-2*o&6)):0)i=n.indexOf(i);return s})}()},7348:function(e){var t=/^\[?([^\]]+)]?:(\d+)$/,n=new Map;e.exports=function(e){if(1e5===n.size&&n.clear(),!n.has(e)){var r=t.exec(e);if(!r)throw new Error("invalid addr: ".concat(e));n.set(e,[r[1],Number(r[2])])}return n.get(e)}},16522:function(e,t,n){"use strict";var r=t;r.bignum=n(80518),r.define=n(88199).define,r.base=n(68222),r.constants=n(43062),r.decoders=n(4023),r.encoders=n(37407)},88199:function(e,t,n){"use strict";var r=n(37407),i=n(4023),o=n(12534);function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){var t=this.name;function n(e){this._initNamed(e,t)}return o(n,e),n.prototype._initNamed=function(t,n){e.call(this,t,n)},new n(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i[e])),this.decoders[e]},a.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r[e])),this.encoders[e]},a.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},90357:function(e,t,n){"use strict";var r=n(12534),i=n(92382).b,o=n(39138).Buffer;function a(e,t){i.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return s.isEncoderBuffer(e)||(e=new s(e,t)),this.length+=e.length,e}),this);else if("number"===typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"===typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(a,i),t.C=a,a.isDecoderBuffer=function(e){return e instanceof a||"object"===typeof e&&o.isBuffer(e.base)&&"DecoderBuffer"===e.constructor.name&&"number"===typeof e.offset&&"number"===typeof e.length&&"function"===typeof e.save&&"function"===typeof e.restore&&"function"===typeof e.isEmpty&&"function"===typeof e.readUInt8&&"function"===typeof e.skip&&"function"===typeof e.raw},a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var n=new a(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.R=s,s.isEncoderBuffer=function(e){return e instanceof s||"object"===typeof e&&"EncoderBuffer"===e.constructor.name&&"number"===typeof e.length&&"function"===typeof e.join},s.prototype.join=function(e,t){return e||(e=o.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"===typeof this.value?e[t]=this.value:"string"===typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},68222:function(e,t,n){"use strict";var r=t;r.Reporter=n(92382).b,r.DecoderBuffer=n(90357).C,r.EncoderBuffer=n(90357).R,r.Node=n(32319)},32319:function(e,t,n){"use strict";var r=n(92382).b,i=n(90357).R,o=n(90357).C,a=n(72325),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function u(e,t,n){var r={};this._baseState=r,r.name=n,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}e.exports=u;var l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){var e=this._baseState,t={};l.forEach((function(n){t[n]=e[n]}));var n=new this.constructor(t.parent);return n._baseState=t,n},u.prototype._wrap=function(){var e=this._baseState;c.forEach((function(t){this[t]=function(){var n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},u.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),a.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){var t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(a(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!==typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0);var r=e[n];t[r]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){u.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),s.forEach((function(e){u.prototype[e]=function(){var t=this._baseState,n=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(n),this}})),u.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},u.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){var n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));var r,i=n.default,a=!0,s=null;if(null!==n.key&&(s=e.enterKey(n.key)),n.optional){var c=null;if(null!==n.explicit?c=n.explicit:null!==n.implicit?c=n.implicit:null!==n.tag&&(c=n.tag),null!==c||n.any){if(a=this._peekTag(e,c,n.any),e.isError(a))return a}else{var u=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),a=!0}catch(m){a=!1}e.restore(u)}}if(n.obj&&a&&(r=e.enterObject()),a){if(null!==n.explicit){var l=this._decodeTag(e,n.explicit);if(e.isError(l))return l;e=l}var f=e.offset;if(null===n.use&&null===n.choice){var d;n.any&&(d=e.save());var h=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(h))return h;n.any?i=e.raw(d):e=h}if(t&&t.track&&null!==n.tag&&t.track(e.path(),f,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var p=new o(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(p,t)}}return n.obj&&a&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==a?null!==s&&e.exitKey(s):e.leaveKey(s,n.key,i),i},u.prototype._decodeGeneric=function(e,t,n){var r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){var n=this._baseState;return n.useDecoder=this._use(e,t),a(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},u.prototype._decodeChoice=function(e,t){var n=this._baseState,r=null,i=!1;return Object.keys(n.choice).some((function(o){var a=e.save(),s=n.choice[o];try{var c=s._decode(e,t);if(e.isError(c))return!1;r={type:o,value:c},i=!0}catch(u){return e.restore(a),!1}return!0}),this),i?r:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},u.prototype._encode=function(e,t,n){var r=this._baseState;if(null===r.default||r.default!==e){var i=this._encodeValue(e,t,n);if(void 0!==i&&!this._skipDefault(i,t,n))return i}},u.prototype._encodeValue=function(e,t,n){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);var o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}var a=null,s=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)a=this._getUse(i.contains,n)._encode(e,t),s=!0;else if(i.children)a=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");var r=t.enterKey(n._baseState.key);if("object"!==typeof e)return t.error("Child expected, but input is not object");var i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,a=this._createEncoderBuffer(e.map((function(n){var r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),c))}else null!==i.use?o=this._getUse(i.use,n)._encode(e,t):(a=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){var u=null!==i.implicit?i.implicit:i.tag,l=null===i.implicit?"universal":"context";null===u?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(u,s,l,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(e,t){var n=this._baseState,r=n.choice[e.type];return r||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){var n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},92382:function(e,t,n){"use strict";var r=n(12534);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}t.b=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,n){var r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){var t,n=this._reporterState,r=e instanceof o;if(t=r?e:new o(n.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},38266:function(e,t){"use strict";function n(e){var t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);var r=e[n];t[r]=n})),t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n(t.tag)},43062:function(e,t,n){"use strict";var r=t;r._reverse=function(e){var t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);var r=e[n];t[r]=n})),t},r.der=n(38266)},92650:function(e,t,n){"use strict";var r=n(12534),i=n(80518),o=n(90357).C,a=n(32319),s=n(38266);function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){a.call(this,"der",e)}function l(e,t){var n=e.readUInt8(t);if(e.isError(n))return n;var r=s.tagClass[n>>6],i=0===(32&n);if(31===(31&n)){var o=n;for(n=0;128===(128&o);){if(o=e.readUInt8(t),e.isError(o))return o;n<<=7,n|=127&o}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:s.tag[n]}}function f(e,t,n){var r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0===(128&r))return r;var i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(var o=0;o=31)return r.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=a.tagClassByName[n||"universal"]<<6,i}(e,t,n,this.reporter);if(r.length<128){var s=i.alloc(2);return s[0]=o,s[1]=r.length,this._createEncoderBuffer([s,r])}for(var c=1,u=r.length;u>=256;u>>=8)c++;var l=i.alloc(2+c);l[0]=o,l[1]=128|c;for(var f=1+c,d=r.length;d>0;f--,d>>=8)l[f]=255&d;return this._createEncoderBuffer([l,r])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=i.alloc(2*e.length),r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var a=0,s=0;s=128;c>>=7)a++}for(var u=i.alloc(a),l=u.length-1,f=e.length-1;f>=0;f--){var d=e[f];for(u[l--]=127&d;(d>>=7)>0;)u[l--]=128|127&d}return this._createEncoderBuffer(u)},c.prototype._encodeTime=function(e,t){var n,r=new Date(e);return"gentime"===t?n=[u(r.getUTCFullYear()),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[u(r.getUTCFullYear()%100),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=i.from(n)}if(i.isBuffer(e)){var r=e.length;0===e.length&&r++;var o=i.alloc(r);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var a=1,s=e;s>=256;s>>=8)a++;for(var c=new Array(a),u=c.length-1;u>=0;u--)c[u]=255&e,e>>=8;return 128&c[0]&&c.unshift(0),this._createEncoderBuffer(i.from(c))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,n){var r,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,n).join()),o.length!==i.defaultBuffer.length)return!1;for(r=0;r0?a-4:a;for(n=0;n>16&255,u[l++]=t>>8&255,u[l++]=255&t;2===c&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[l++]=255&t);1===c&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,u=r-i;su?u:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,r){for(var i,o,a=[],s=t;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},62558:function(e){function t(e,t,n){for(var r=0,i=1,o=t;o=48)r=10*r+(a-48);else if(o!==t||43!==a){if(o!==t||45!==a){if(46===a)break;throw new Error("not a number: buffer["+o+"] = "+a)}i=-1}}return r*i}function n(e,t,r,i){return null==e||0===e.length?null:("number"!==typeof t&&null==i&&(i=t,t=void 0),"number"!==typeof r&&null==i&&(i=r,r=void 0),n.position=0,n.encoding=i||null,n.data=Buffer.isBuffer(e)?e.slice(t,r):Buffer.from(e),n.bytes=n.data.length,n.next())}n.bytes=0,n.position=0,n.data=null,n.encoding=null,n.next=function(){switch(n.data[n.position]){case 100:return n.dictionary();case 108:return n.list();case 105:return n.integer();default:return n.buffer()}},n.find=function(e){for(var t=n.position,r=n.data.length,i=n.data;t1&&void 0!==arguments[1]?arguments[1]:e;return Array.from({length:t-e+1},(function(t,n){return n+e}))};return e.reduce((function(e,n,i,o){var a=n.split("-").map((function(e){return parseInt(e)}));return e.concat(t.apply(void 0,r(a)))}),[])}e.exports=i,e.exports.parse=i,e.exports.compose=function(e){return e.reduce((function(e,t,n,r){return 0!==n&&t===r[n-1]+1||e.push([]),e[e.length-1].push(t),e}),[]).map((function(e){return e.length>1?"".concat(e[0],"-").concat(e[e.length-1]):"".concat(e[0])}))}},65489:function(e){e.exports=function(e,t,n,r,i){var o,a;if(void 0===r)r=0;else if((r|=0)<0||r>=e.length)throw new RangeError("invalid lower bound");if(void 0===i)i=e.length-1;else if((i|=0)=e.length)throw new RangeError("invalid upper bound");for(;r<=i;)if((a=+n(e[o=r+(i-r>>>1)],t,o,e))<0)r=o+1;else{if(!(a>0))return o;i=o-1}return~r}},74453:function(e,t){"use strict";function n(e){var t=e>>3;return e%8!==0&&t++,t}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){void 0===e&&(e=0);var r=null===t||void 0===t?void 0:t.grow;this.grow=r&&isFinite(r)&&n(r)||r||0,this.buffer="number"===typeof e?new Uint8Array(n(e)):e}return e.prototype.get=function(e){var t=e>>3;return t>e%8)},e.prototype.set=function(e,t){void 0===t&&(t=!0);var n=e>>3;if(t){if(this.buffer.length>e%8}else n>e%8))},e.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=8*this.buffer.length);for(var r=t,i=r>>3,o=128>>r%8,a=this.buffer[i];r>1},e}();t.default=r},10591:function(e,t,n){var r=n(74704).default,i=n(41588).default,o=n(73808).default,a=n(61655).default,s=n(26389).default,c=n(89728).default,u=n(56690).default,l=n(9575),f=n(67715),d=n(74453).default,h=n(48955),p=n(18392)("bittorrent-protocol"),m=n(12525),v=n(92271),g=n(11689),y=n(90723),b=n(56051),w=Buffer.from("\x13BitTorrent protocol"),x=Buffer.from([0,0,0,0]),_=Buffer.from([0,0,0,1,0]),k=Buffer.from([0,0,0,1,1]),S=Buffer.from([0,0,0,1,2]),E=Buffer.from([0,0,0,1,3]),C=[0,0,0,0,0,0,0,0],M=[0,0,0,3,9,0,0],A=Buffer.from([0,0,0,1,14]),R=Buffer.from([0,0,0,1,15]),T=Buffer.from([0,0,0,0,0,0,0,0]),P=Buffer.from([0,0,1,2]),I=Buffer.from([0,0,0,2]);function O(e,t){for(var n=e.length;n--;)e[n]^=t[n];return e}var j=c((function e(t,n,r,i){"use strict";u(this,e),this.piece=t,this.offset=n,this.length=r,this.callback=i})),Z=function(){"use strict";function e(){u(this,e),this.buffer=new Uint8Array}return c(e,[{key:"get",value:function(e){return!0}},{key:"set",value:function(e){}}]),e}(),L=function(e){"use strict";a(n,e);var t=s(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return u(this,n),(e=t.call(this))._debugId=m(4).toString("hex"),e._debug("new wire"),e.peerId=null,e.peerIdBuffer=null,e.type=r,e.amChoking=!0,e.amInterested=!1,e.peerChoking=!0,e.peerInterested=!1,e.peerPieces=new d(0,{grow:4e5}),e.extensions={},e.peerExtensions={},e.requests=[],e.peerRequests=[],e.extendedMapping={},e.peerExtendedMapping={},e.extendedHandshake={},e.peerExtendedHandshake={},e.hasFast=!1,e.allowedFastSet=[],e.peerAllowedFastSet=[],e._ext={},e._nextExt=1,e.uploaded=0,e.downloaded=0,e.uploadSpeed=g(),e.downloadSpeed=g(),e._keepAliveInterval=null,e._timeout=null,e._timeoutMs=0,e._timeoutExpiresAt=null,e.destroyed=!1,e._finished=!1,e._parserSize=0,e._parser=null,e._buffer=[],e._bufferSize=0,e._peEnabled=o,o?(e._dh=h.createDiffieHellman("ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a36210000000000090563","hex",2),e._myPubKey=e._dh.generateKeys("hex")):e._myPubKey=null,e._peerPubKey=null,e._sharedSecret=null,e._peerCryptoProvide=[],e._cryptoHandshakeDone=!1,e._cryptoSyncPattern=null,e._waitMaxBytes=null,e._encryptionMethod=null,e._encryptGenerator=null,e._decryptGenerator=null,e._setGenerators=!1,e.once("finish",(function(){return e._onFinish()})),e.on("finish",e._onFinish),e._debug("type:",e.type),"tcpIncoming"===e.type&&e._peEnabled?e._determineHandshakeType():"tcpOutgoing"===e.type&&e._peEnabled&&0===i?e._parsePe2():e._parseHandshake(null),e}return c(n,[{key:"setKeepAlive",value:function(e){var t=this;this._debug("setKeepAlive %s",e),clearInterval(this._keepAliveInterval),!1!==e&&(this._keepAliveInterval=setInterval((function(){t.keepAlive()}),55e3))}},{key:"setTimeout",value:function(e,t){this._debug("setTimeout ms=%d unref=%s",e,t),this._timeoutMs=e,this._timeoutUnref=!!t,this._resetTimeout(!0)}},{key:"destroy",value:function(){if(!this.destroyed)return this.destroyed=!0,this._debug("destroy"),this.emit("close"),this.end(),this}},{key:"end",value:function(){var e;this._debug("end"),this._onUninterested(),this._onChoke();for(var t=arguments.length,r=new Array(t),a=0;ae;){var t=this.peerRequests[e];this.allowedFastSet.includes(t.piece)?++e:this.reject(t.piece,t.offset,t.length)}else for(;this.peerRequests.length;)this.peerRequests.pop()}},{key:"unchoke",value:function(){this.amChoking&&(this.amChoking=!1,this._debug("unchoke"),this._push(k))}},{key:"interested",value:function(){this.amInterested||(this.amInterested=!0,this._debug("interested"),this._push(S))}},{key:"uninterested",value:function(){this.amInterested&&(this.amInterested=!1,this._debug("uninterested"),this._push(E))}},{key:"have",value:function(e){this._debug("have %d",e),this._message(4,[e],null)}},{key:"bitfield",value:function(e){this._debug("bitfield"),Buffer.isBuffer(e)||(e=e.buffer),this._message(5,[],e)}},{key:"request",value:function(e,t,n,r){return r||(r=function(){}),this._finished?r(new Error("wire is closed")):!this.peerChoking||this.hasFast&&this.peerAllowedFastSet.includes(e)?(this._debug("request index=%d offset=%d length=%d",e,t,n),this.requests.push(new j(e,t,n,r)),this._timeout||this._resetTimeout(!0),void this._message(6,[e,t,n],null)):r(new Error("peer is choking"))}},{key:"piece",value:function(e,t,n){this._debug("piece index=%d offset=%d",e,t),this._message(7,[e,t],n),this.uploaded+=n.length,this.uploadSpeed(n.length),this.emit("upload",n.length)}},{key:"cancel",value:function(e,t,n){this._debug("cancel index=%d offset=%d length=%d",e,t,n),this._callback(this._pull(this.requests,e,t,n),new Error("request was cancelled"),null),this._message(8,[e,t,n],null)}},{key:"port",value:function(e){this._debug("port %d",e);var t=Buffer.from(M);t.writeUInt16BE(e,5),this._push(t)}},{key:"suggest",value:function(e){if(!this.hasFast)throw Error("fast extension is disabled");this._debug("suggest %d",e),this._message(13,[e],null)}},{key:"haveAll",value:function(){if(!this.hasFast)throw Error("fast extension is disabled");this._debug("have-all"),this._push(A)}},{key:"haveNone",value:function(){if(!this.hasFast)throw Error("fast extension is disabled");this._debug("have-none"),this._push(R)}},{key:"reject",value:function(e,t,n){if(!this.hasFast)throw Error("fast extension is disabled");this._debug("reject index=%d offset=%d length=%d",e,t,n),this._pull(this.peerRequests,e,t,n),this._message(16,[e,t,n],null)}},{key:"allowedFast",value:function(e){if(!this.hasFast)throw Error("fast extension is disabled");this._debug("allowed-fast %d",e),this.allowedFastSet.includes(e)||this.allowedFastSet.push(e),this._message(17,[e],null)}},{key:"extended",value:function(e,t){if(this._debug("extended ext=%s",e),"string"===typeof e&&this.peerExtendedMapping[e]&&(e=this.peerExtendedMapping[e]),"number"!==typeof e)throw new Error("Unrecognized extension: ".concat(e));var n=Buffer.from([e]),r=Buffer.isBuffer(t)?t:f.encode(t);this._message(20,[],Buffer.concat([n,r]))}},{key:"setEncrypt",value:function(e,t){var n,i,o,a,s,c;switch(this.type){case"tcpIncoming":n=v.sync(Buffer.from(this._utfToHex("keyB")+e+t,"hex")),i=v.sync(Buffer.from(this._utfToHex("keyA")+e+t,"hex")),o=Buffer.from(n,"hex"),a=[];var u,l=r(o.values());try{for(l.s();!(u=l.n()).done;){var f=u.value;a.push(f)}}catch(S){l.e(S)}finally{l.f()}s=Buffer.from(i,"hex"),c=[];var d,h=r(s.values());try{for(h.s();!(d=h.n()).done;){var p=d.value;c.push(p)}}catch(S){h.e(S)}finally{h.f()}this._encryptGenerator=new b(a),this._decryptGenerator=new b(c);break;case"tcpOutgoing":n=v.sync(Buffer.from(this._utfToHex("keyA")+e+t,"hex")),i=v.sync(Buffer.from(this._utfToHex("keyB")+e+t,"hex")),o=Buffer.from(n,"hex"),a=[];var m,g=r(o.values());try{for(g.s();!(m=g.n()).done;){var y=m.value;a.push(y)}}catch(S){g.e(S)}finally{g.f()}s=Buffer.from(i,"hex"),c=[];var w,x=r(s.values());try{for(x.s();!(w=x.n()).done;){var _=w.value;c.push(_)}}catch(S){x.e(S)}finally{x.f()}this._encryptGenerator=new b(a),this._decryptGenerator=new b(c);break;default:return!1}for(var k=0;k<1024;k++)this._encryptGenerator.randomByte(),this._decryptGenerator.randomByte();return this._setGenerators=!0,!0}},{key:"_read",value:function(){}},{key:"_message",value:function(e,t,n){var r=n?n.length:0,i=Buffer.allocUnsafe(5+4*t.length);i.writeUInt32BE(i.length+r-4,0),i[4]=e;for(var o=0;o100&&this.peerAllowedFastSet.shift(),this.emit("allowed-fast",e)}},{key:"_onExtended",value:function(e,t){if(0===e){var n;try{n=f.decode(t)}catch(o){this._debug("ignoring invalid extended handshake: %s",o.message||o)}if(!n)return;if(this.peerExtendedHandshake=n,"object"===typeof n.m)for(var r in n.m)this.peerExtendedMapping[r]=Number(n.m[r].toString());for(var i in this._ext)this.peerExtendedMapping[i]&&this._ext[i].onExtendedHandshake(this.peerExtendedHandshake);this._debug("got extended handshake"),this.emit("extended","handshake",this.peerExtendedHandshake)}else this.extendedMapping[e]&&(e=this.extendedMapping[e],this._ext[e]&&this._ext[e].onMessage(t)),this._debug("got extended message ext=%s",e),this.emit("extended",e,t)}},{key:"_onTimeout",value:function(){this._debug("request timed out"),this._callback(this.requests.shift(),new Error("request has timed out"),null),this.emit("timeout")}},{key:"_write",value:function(e,t,n){if(2===this._encryptionMethod&&this._cryptoHandshakeDone&&(e=this._decrypt(e)),this._bufferSize+=e.length,this._buffer.push(e),this._buffer.length>1&&(this._buffer=[Buffer.concat(this._buffer,this._bufferSize)]),this._cryptoSyncPattern){var r=this._buffer[0].indexOf(this._cryptoSyncPattern);if(-1!==r)this._buffer[0]=this._buffer[0].slice(r+this._cryptoSyncPattern.length),this._bufferSize-=r+this._cryptoSyncPattern.length,this._cryptoSyncPattern=null;else if(this._bufferSize+e.length>this._waitMaxBytes+this._cryptoSyncPattern.length)return this._debug("Error: could not resynchronize"),void this.destroy()}for(;this._bufferSize>=this._parserSize&&!this._cryptoSyncPattern;)if(0===this._parserSize)this._parser(Buffer.from([]));else{var i=this._buffer[0];this._bufferSize-=this._parserSize,this._buffer=this._bufferSize?[i.slice(this._parserSize)]:[],this._parser(i.slice(0,this._parserSize))}n(null)}},{key:"_callback",value:function(e,t,n){e&&(this._resetTimeout(!this.peerChoking&&!this._finished),e.callback(t,n))}},{key:"_resetTimeout",value:function(e){var t=this;if(!e||!this._timeoutMs||!this.requests.length)return clearTimeout(this._timeout),this._timeout=null,void(this._timeoutExpiresAt=null);var n=Date.now()+this._timeoutMs;if(this._timeout){if(n-this._timeoutExpiresAt<.05*this._timeoutMs)return;clearTimeout(this._timeout)}this._timeoutExpiresAt=n,this._timeout=setTimeout((function(){return t._onTimeout()}),this._timeoutMs),this._timeoutUnref&&this._timeout.unref&&this._timeout.unref()}},{key:"_parse",value:function(e,t){this._parserSize=e,this._parser=t}},{key:"_parseUntil",value:function(e,t){this._cryptoSyncPattern=e,this._waitMaxBytes=t}},{key:"_onMessageLength",value:function(e){var t=e.readUInt32BE(0);t>0?this._parse(t,this._onMessage):(this._onKeepAlive(),this._parse(4,this._onMessageLength))}},{key:"_onMessage",value:function(e){switch(this._parse(4,this._onMessageLength),e[0]){case 0:return this._onChoke();case 1:return this._onUnchoke();case 2:return this._onInterested();case 3:return this._onUninterested();case 4:return this._onHave(e.readUInt32BE(1));case 5:return this._onBitField(e.slice(1));case 6:return this._onRequest(e.readUInt32BE(1),e.readUInt32BE(5),e.readUInt32BE(9));case 7:return this._onPiece(e.readUInt32BE(1),e.readUInt32BE(5),e.slice(9));case 8:return this._onCancel(e.readUInt32BE(1),e.readUInt32BE(5),e.readUInt32BE(9));case 9:return this._onPort(e.readUInt16BE(1));case 13:return this._onSuggest(e.readUInt32BE(1));case 14:return this._onHaveAll();case 15:return this._onHaveNone();case 16:return this._onReject(e.readUInt32BE(1),e.readUInt32BE(5),e.readUInt32BE(9));case 17:return this._onAllowedFast(e.readUInt32BE(1));case 20:return this._onExtended(e.readUInt8(1),e.slice(2));default:return this._debug("got unknown message"),this.emit("unknownmessage",e)}}},{key:"_determineHandshakeType",value:function(){var e=this;this._parse(1,(function(t){var n=t.readUInt8(0);19===n?e._parse(n+48,e._onHandshakeBuffer):e._parsePe1(t)}))}},{key:"_parsePe1",value:function(e){var t=this;this._parse(95,(function(n){t._onPe1(Buffer.concat([e,n])),t._parsePe3()}))}},{key:"_parsePe2",value:function(){var e=this;this._parse(96,(function(t){for(e._onPe2(t);!e._setGenerators;);e._parsePe4()}))}},{key:"_parsePe3",value:function(){var e=this,t=Buffer.from(v.sync(Buffer.from(this._utfToHex("req1")+this._sharedSecret,"hex")),"hex");this._parseUntil(t,512),this._parse(20,(function(t){for(e._onPe3(t);!e._setGenerators;);e._parsePe3Encrypted()}))}},{key:"_parsePe3Encrypted",value:function(){var e=this;this._parse(14,(function(t){var n=e._decryptHandshake(t.slice(0,8)),r=e._decryptHandshake(t.slice(8,12)),i=e._decryptHandshake(t.slice(12,14)).readUInt16BE(0);e._parse(i,(function(t){t=e._decryptHandshake(t),e._parse(2,(function(i){var o=e._decryptHandshake(i).readUInt16BE(0);e._parse(o,(function(i){i=e._decryptHandshake(i),e._onPe3Encrypted(n,r,t,i);var a=o?i.readUInt8(0):null,s=o?i.slice(1,20):null;19===a&&"BitTorrent protocol"===s.toString()?e._onHandshakeBuffer(i.slice(1)):e._parseHandshake()}))}))}))}))}},{key:"_parsePe4",value:function(){var e=this,t=this._decryptHandshake(T);this._parseUntil(t,512),this._parse(6,(function(t){var n=e._decryptHandshake(t.slice(0,4)),r=e._decryptHandshake(t.slice(4,6)).readUInt16BE(0);e._parse(r,(function(t){e._decryptHandshake(t),e._onPe4(n),e._parseHandshake(null)}))}))}},{key:"_parseHandshake",value:function(){var e=this;this._parse(1,(function(t){var n=t.readUInt8(0);if(19!==n)return e._debug("Error: wire not speaking BitTorrent protocol (%s)",n.toString()),void e.end();e._parse(n+48,e._onHandshakeBuffer)}))}},{key:"_onHandshakeBuffer",value:function(e){var t=e.slice(0,19);if("BitTorrent protocol"!==t.toString())return this._debug("Error: wire not speaking BitTorrent protocol (%s)",t.toString()),void this.end();e=e.slice(19),this._onHandshake(e.slice(8,28),e.slice(28,48),{dht:!!(1&e[7]),fast:!!(4&e[7]),extended:!!(16&e[5])}),this._parse(4,this._onMessageLength)}},{key:"_onFinish",value:function(){for(this._finished=!0,this.push(null);this.read(););for(clearInterval(this._keepAliveInterval),this._parse(Number.MAX_VALUE,(function(){}));this.peerRequests.length;)this.peerRequests.pop();for(;this.requests.length;)this._callback(this.requests.pop(),new Error("wire was closed"),null)}},{key:"_debug",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{};if(r(this,n),e=t.call(this),!i.peerId)throw new Error("Option `peerId` is required");if(!i.infoHash)throw new Error("Option `infoHash` is required");if(!i.announce)throw new Error("Option `announce` is required");if(!process.browser&&!i.port)throw new Error("Option `port` is required");e.peerId="string"===typeof i.peerId?i.peerId:i.peerId.toString("hex"),e._peerIdBuffer=Buffer.from(e.peerId,"hex"),e._peerIdBinary=e._peerIdBuffer.toString("binary"),e.infoHash="string"===typeof i.infoHash?i.infoHash.toLowerCase():i.infoHash.toString("hex"),e._infoHashBuffer=Buffer.from(e.infoHash,"hex"),e._infoHashBinary=e._infoHashBuffer.toString("binary"),c("new client %s",e.infoHash),e.destroyed=!1,e._port=i.port,e._getAnnounceOpts=i.getAnnounceOpts,e._rtcConfig=i.rtcConfig,e._userAgent=i.userAgent,e._proxyOpts=i.proxyOpts,e._wrtc="function"===typeof i.wrtc?i.wrtc():i.wrtc;var a="string"===typeof i.announce?[i.announce]:null==i.announce?[]:i.announce;a=a.map((function(e){return"/"===(e=e.toString())[e.length-1]&&(e=e.substring(0,e.length-1)),e})),a=Array.from(new Set(a));var s=!1!==e._wrtc&&(!!e._wrtc||d.WEBRTC_SUPPORT),u=function(t){h((function(){e.emit("warning",t)}))};return e._trackers=a.map((function(t){var n;try{n=p.parseUrl(t)}catch(a){return u(new Error("Invalid tracker URL: ".concat(t))),null}var r=n.port;if(r<0||r>65535)return u(new Error("Invalid tracker port: ".concat(t))),null;var i=n.protocol;return"http:"!==i&&"https:"!==i||"function"!==typeof m?"udp:"===i&&"function"===typeof v?new v(o(e),t):"ws:"!==i&&"wss:"!==i||!s||"ws:"===i&&"undefined"!==typeof window&&"https:"===window.location.protocol?(u(new Error("Unsupported tracker protocol: ".concat(t))),null):new g(o(e),t):new m(o(e),t)})).filter(Boolean),e}return i(n,[{key:"start",value:function(e){(e=this._defaultAnnounceOpts(e)).event="started",c("send `start` %o",e),this._announce(e),this._trackers.forEach((function(e){e.setInterval()}))}},{key:"stop",value:function(e){(e=this._defaultAnnounceOpts(e)).event="stopped",c("send `stop` %o",e),this._announce(e)}},{key:"complete",value:function(e){e||(e={}),(e=this._defaultAnnounceOpts(e)).event="completed",c("send `complete` %o",e),this._announce(e)}},{key:"update",value:function(e){(e=this._defaultAnnounceOpts(e)).event&&delete e.event,c("send `update` %o",e),this._announce(e)}},{key:"_announce",value:function(e){this._trackers.forEach((function(t){t.announce(e)}))}},{key:"scrape",value:function(e){c("send `scrape`"),e||(e={}),this._trackers.forEach((function(t){t.scrape(e)}))}},{key:"setInterval",value:function(e){c("setInterval %d",e),this._trackers.forEach((function(t){t.setInterval(e)}))}},{key:"destroy",value:function(e){if(!this.destroyed){this.destroyed=!0,c("destroy");var t=this._trackers.map((function(e){return function(t){e.destroy(t)}}));f(t,e),this._trackers=[],this._getAnnounceOpts=null}}},{key:"_defaultAnnounceOpts",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null==e.numwant&&(e.numwant=p.DEFAULT_ANNOUNCE_PEERS),null==e.uploaded&&(e.uploaded=0),null==e.downloaded&&(e.downloaded=0),this._getAnnounceOpts&&(e=Object.assign({},e,this._getAnnounceOpts())),e}}]),n}(u);y.scrape=function(e,t){if(t=l(t),!e.infoHash)throw new Error("Option `infoHash` is required");if(!e.announce)throw new Error("Option `announce` is required");var n=Object.assign({},e,{infoHash:Array.isArray(e.infoHash)?e.infoHash[0]:e.infoHash,peerId:Buffer.from("01234567890123456789"),port:6881}),r=new y(n);r.once("error",t),r.once("warning",t);var i=Array.isArray(e.infoHash)?e.infoHash.length:1,o={};return r.on("scrape",(function(e){if(i-=1,o[e.infoHash]=e,0===i){r.destroy();var n=Object.keys(o);1===n.length?t(null,o[n[0]]):t(null,o)}})),e.infoHash=Array.isArray(e.infoHash)?e.infoHash.map((function(e){return Buffer.from(e,"hex")})):Buffer.from(e.infoHash,"hex"),r.scrape({infoHash:e.infoHash}),r},e.exports=y},41296:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(61655).default,a=n(26389).default,s=function(e){"use strict";o(n,e);var t=a(n);function n(e,i){var o;return r(this,n),(o=t.call(this)).client=e,o.announceUrl=i,o.interval=null,o.destroyed=!1,o}return i(n,[{key:"setInterval",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){var t=this;null==e&&(e=this.DEFAULT_ANNOUNCE_INTERVAL),clearInterval(this.interval),e&&(this.interval=setInterval((function(){t.announce(t.client._defaultAnnounceOpts())}),e),this.interval.unref&&this.interval.unref())}))}]),n}(n(47465));e.exports=s},19310:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(61655).default,a=n(26389).default,s=n(73991),c=n(18392)("bittorrent-tracker:websocket-tracker"),u=n(57532),l=n(12525),f=n(90153),d=n(49354),h=n(92940),p=n(41296),m={},v=function(e){"use strict";o(n,e);var t=a(n);function n(e,i){var o;return r(this,n),o=t.call(this,e,i),c("new websocket tracker %s",i),o.peers={},o.socket=null,o.reconnecting=!1,o.retries=0,o.reconnectTimer=null,o.expectingResponse=!1,o._openSocket(),o}return i(n,[{key:"announce",value:function(e){var t=this;if(!this.destroyed&&!this.reconnecting)if(this.socket.connected){var n=Object.assign({},e,{action:"announce",info_hash:this.client._infoHashBinary,peer_id:this.client._peerIdBinary});if(this._trackerId&&(n.trackerid=this._trackerId),"stopped"===e.event||"completed"===e.event)this._send(n);else{var r=Math.min(e.numwant,5);this._generateOffers(r,(function(e){n.numwant=r,n.offers=e,t._send(n)}))}}else this.socket.once("connect",(function(){t.announce(e)}))}},{key:"scrape",value:function(e){var t=this;if(!this.destroyed&&!this.reconnecting)if(this.socket.connected){var n={action:"scrape",info_hash:Array.isArray(e.infoHash)&&e.infoHash.length>0?e.infoHash.map((function(e){return e.toString("binary")})):e.infoHash&&e.infoHash.toString("binary")||this.client._infoHashBinary};this._send(n)}else this.socket.once("connect",(function(){t.scrape(e)}))}},{key:"destroy",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;if(this.destroyed)return e(null);for(var t in this.destroyed=!0,clearInterval(this.interval),clearTimeout(this.reconnectTimer),this.peers){var n=this.peers[t];clearTimeout(n.trackerTimeout),n.destroy()}if(this.peers=null,this.socket&&(this.socket.removeListener("connect",this._onSocketConnectBound),this.socket.removeListener("data",this._onSocketDataBound),this.socket.removeListener("close",this._onSocketCloseBound),this.socket.removeListener("error",this._onSocketErrorBound),this.socket=null),this._onSocketConnectBound=null,this._onSocketErrorBound=null,this._onSocketDataBound=null,this._onSocketCloseBound=null,m[this.announceUrl]&&(m[this.announceUrl].consumers-=1),m[this.announceUrl].consumers>0)return e();var r,i=m[this.announceUrl];if(delete m[this.announceUrl],i.on("error",g),i.once("close",e),!this.expectingResponse)return o();function o(){r&&(clearTimeout(r),r=null),i.removeListener("data",o),i.destroy(),i=null}r=setTimeout(o,h.DESTROY_TIMEOUT),i.once("data",o)}},{key:"_openSocket",value:function(){var e=this;if(this.destroyed=!1,this.peers||(this.peers={}),this._onSocketConnectBound=function(){e._onSocketConnect()},this._onSocketErrorBound=function(t){e._onSocketError(t)},this._onSocketDataBound=function(t){e._onSocketData(t)},this._onSocketCloseBound=function(){e._onSocketClose()},this.socket=m[this.announceUrl],this.socket)m[this.announceUrl].consumers+=1,this.socket.connected&&this._onSocketConnectBound();else{var t,n=new URL(this.announceUrl);this.client._proxyOpts&&!(t="wss:"===n.protocol?this.client._proxyOpts.httpsAgent:this.client._proxyOpts.httpAgent)&&this.client._proxyOpts.socksProxy&&(t=new d.Agent(s(this.client._proxyOpts.socksProxy),"wss:"===n.protocol)),this.socket=m[this.announceUrl]=new f({url:this.announceUrl,agent:t}),this.socket.consumers=1,this.socket.once("connect",this._onSocketConnectBound)}this.socket.on("data",this._onSocketDataBound),this.socket.once("close",this._onSocketCloseBound),this.socket.once("error",this._onSocketErrorBound)}},{key:"_onSocketConnect",value:function(){this.destroyed||this.reconnecting&&(this.reconnecting=!1,this.retries=0,this.announce(this.client._defaultAnnounceOpts()))}},{key:"_onSocketData",value:function(e){if(!this.destroyed){this.expectingResponse=!1;try{e=JSON.parse(e)}catch(t){return void this.client.emit("warning",new Error("Invalid tracker response"))}"announce"===e.action?this._onAnnounceResponse(e):"scrape"===e.action?this._onScrapeResponse(e):this._onSocketError(new Error("invalid action in WS response: ".concat(e.action)))}}},{key:"_onAnnounceResponse",value:function(e){var t=this;if(e.info_hash===this.client._infoHashBinary){if(!e.peer_id||e.peer_id!==this.client._peerIdBinary){c("received %s from %s for %s",JSON.stringify(e),this.announceUrl,this.client.infoHash);var n=e["failure reason"];if(n)return this.client.emit("warning",new Error(n));var r=e["warning message"];r&&this.client.emit("warning",new Error(r));var i=e.interval||e["min interval"];i&&this.setInterval(1e3*i);var o,a=e["tracker id"];if(a&&(this._trackerId=a),null!=e.complete){var s=Object.assign({},e,{announce:this.announceUrl,infoHash:h.binaryToHex(e.info_hash)});this.client.emit("update",s)}if(e.offer&&e.peer_id&&(c("creating peer (from remote offer)"),(o=this._createPeer()).id=h.binaryToHex(e.peer_id),o.once("signal",(function(n){var r={action:"announce",info_hash:t.client._infoHashBinary,peer_id:t.client._peerIdBinary,to_peer_id:e.peer_id,answer:n,offer_id:e.offer_id};t._trackerId&&(r.trackerid=t._trackerId),t._send(r)})),this.client.emit("peer",o),o.signal(e.offer)),e.answer&&e.peer_id){var u=h.binaryToHex(e.offer_id);(o=this.peers[u])?(o.id=h.binaryToHex(e.peer_id),this.client.emit("peer",o),o.signal(e.answer),clearTimeout(o.trackerTimeout),o.trackerTimeout=null,delete this.peers[u]):c("got unexpected answer: ".concat(JSON.stringify(e.answer)))}}}else c("ignoring websocket data from %s for %s (looking for %s: reused socket)",this.announceUrl,h.binaryToHex(e.info_hash),this.client.infoHash)}},{key:"_onScrapeResponse",value:function(e){var t=this;e=e.files||{};var n=Object.keys(e);0!==n.length?n.forEach((function(n){var r=Object.assign(e[n],{announce:t.announceUrl,infoHash:h.binaryToHex(n)});t.client.emit("scrape",r)})):this.client.emit("warning",new Error("invalid scrape response"))}},{key:"_onSocketClose",value:function(){this.destroyed||(this.destroy(),this._startReconnectTimer())}},{key:"_onSocketError",value:function(e){this.destroyed||(this.destroy(),this.client.emit("warning",e),this._startReconnectTimer())}},{key:"_startReconnectTimer",value:function(){var e=this,t=Math.floor(3e5*Math.random())+Math.min(1e4*Math.pow(2,this.retries),36e5);this.reconnecting=!0,clearTimeout(this.reconnectTimer),this.reconnectTimer=setTimeout((function(){e.retries++,e._openSocket()}),t),this.reconnectTimer.unref&&this.reconnectTimer.unref(),c("reconnecting socket in %s ms",t)}},{key:"_send",value:function(e){if(!this.destroyed){this.expectingResponse=!0;var t=JSON.stringify(e);c("send %s",t),this.socket.send(t)}}},{key:"_generateOffers",value:function(e,t){var n=this,r=[];c("generating %s offers",e);for(var i=0;i2&&void 0!==_[2]?_[2]:{},"object"===typeof(n=_.length>1&&void 0!==_[1]?_[1]:512)&&(n=(o=n).size),u=(c=o).nopad,l=c.zeroPadding,f=void 0===l||l,u&&(f=!1),d=[],h=0,p=!1,m=!1,e.prev=9,g=a(t);case 11:return e.next=13,i(g.next());case 13:if(!(p=!(y=e.sent).done)){e.next=31;break}if(b=y.value,h+=b.byteLength||b.length||1,d.push(b),!(h>=n)){e.next=28;break}w=s(d,h),x=0;case 20:if(!(h>=n)){e.next=27;break}return e.next=23,w.slice(x,x+n);case 23:h-=n,x+=n,e.next=20;break;case 27:d=[w.slice(x,w.length)];case 28:p=!1,e.next=11;break;case 31:e.next=37;break;case 33:e.prev=33,e.t0=e.catch(9),m=!0,v=e.t0;case 37:if(e.prev=37,e.prev=38,!p||null==g.return){e.next=42;break}return e.next=42,i(g.return());case 42:if(e.prev=42,!m){e.next=45;break}throw v;case 45:return e.finish(42);case 46:return e.finish(37);case 47:if(!h){e.next=50;break}return e.next=50,s(d,f?n:h);case 50:case"end":return e.stop()}}),e,null,[[9,33,37,47],[38,,42,46]])})));return function(t){return e.apply(this,arguments)}}()},99874:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(61655).default,a=n(26389).default,s=function(e){"use strict";o(n,e);var t=a(n);function n(e){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,n),i=t.call(this,o),"object"===typeof e&&(e=(o=e).size),i.size=e||512;var a=o,s=a.nopad,c=a.zeroPadding,u=void 0===c||c;return i._zeroPadding=!s&&!!u,i._buffered=[],i._bufferedBytes=0,i}return i(n,[{key:"_transform",value:function(e,t,n){for(this._bufferedBytes+=e.length,this._buffered.push(e);this._bufferedBytes>=this.size;){this._bufferedBytes-=this.size;for(var r=[],i=0;i=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function c(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=c(e,t,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(e.length-t)%2===0?t+1:t;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(a=(i=0|e.words[p])*(o=0|t.words[h])+f)/67108864|0,f=67108863&a}n.words[u]=0|f,c=0|l}return 0!==c?n.words[u]=0|c:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+n:c+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var u=f[e],h=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(h).toString(e);n=(p=p.idivn(h)).isZero()?m+n:l[u-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===t,u=new e(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,h=0|a[1],p=8191&h,m=h>>>13,v=0|a[2],g=8191&v,y=v>>>13,b=0|a[3],w=8191&b,x=b>>>13,_=0|a[4],k=8191&_,S=_>>>13,E=0|a[5],C=8191&E,M=E>>>13,A=0|a[6],R=8191&A,T=A>>>13,P=0|a[7],I=8191&P,O=P>>>13,j=0|a[8],Z=8191&j,L=j>>>13,B=0|a[9],N=8191&B,D=B>>>13,F=0|s[0],z=8191&F,U=F>>>13,H=0|s[1],q=8191&H,W=H>>>13,V=0|s[2],G=8191&V,$=V>>>13,K=0|s[3],Y=8191&K,X=K>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ce=8191&se,ue=se>>>13,le=0|s[8],fe=8191&le,de=le>>>13,he=0|s[9],pe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var ve=(u+(r=Math.imul(f,z))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(d,z)|0))<<13)|0;u=((o=Math.imul(d,U))+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,U))+Math.imul(m,z)|0,o=Math.imul(m,U);var ge=(u+(r=r+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(d,q)|0))<<13)|0;u=((o=o+Math.imul(d,W)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,z),i=(i=Math.imul(g,U))+Math.imul(y,z)|0,o=Math.imul(y,U),r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,W)|0;var ye=(u+(r=r+Math.imul(f,G)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,G)|0))<<13)|0;u=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,z),i=(i=Math.imul(w,U))+Math.imul(x,z)|0,o=Math.imul(x,U),r=r+Math.imul(g,q)|0,i=(i=i+Math.imul(g,W)|0)+Math.imul(y,q)|0,o=o+Math.imul(y,W)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,$)|0;var be=(u+(r=r+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(d,Y)|0))<<13)|0;u=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(k,z),i=(i=Math.imul(k,U))+Math.imul(S,z)|0,o=Math.imul(S,U),r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,W)|0,r=r+Math.imul(g,G)|0,i=(i=i+Math.imul(g,$)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,$)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var we=(u+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,Q)|0))<<13)|0;u=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(C,z),i=(i=Math.imul(C,U))+Math.imul(M,z)|0,o=Math.imul(M,U),r=r+Math.imul(k,q)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,W)|0,r=r+Math.imul(w,G)|0,i=(i=i+Math.imul(w,$)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,$)|0,r=r+Math.imul(g,Y)|0,i=(i=i+Math.imul(g,X)|0)+Math.imul(y,Y)|0,o=o+Math.imul(y,X)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(u+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;u=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(R,z),i=(i=Math.imul(R,U))+Math.imul(T,z)|0,o=Math.imul(T,U),r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,W)|0,r=r+Math.imul(k,G)|0,i=(i=i+Math.imul(k,$)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,r=r+Math.imul(g,Q)|0,i=(i=i+Math.imul(g,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var _e=(u+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;u=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(I,z),i=(i=Math.imul(I,U))+Math.imul(O,z)|0,o=Math.imul(O,U),r=r+Math.imul(R,q)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,W)|0,r=r+Math.imul(C,G)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(M,G)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(g,ne)|0,i=(i=i+Math.imul(g,re)|0)+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var ke=(u+(r=r+Math.imul(f,ce)|0)|0)+((8191&(i=(i=i+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((o=o+Math.imul(d,ue)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(Z,z),i=(i=Math.imul(Z,U))+Math.imul(L,z)|0,o=Math.imul(L,U),r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,W)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,W)|0,r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,$)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(g,oe)|0,i=(i=i+Math.imul(g,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,ue)|0;var Se=(u+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(N,z),i=(i=Math.imul(N,U))+Math.imul(D,z)|0,o=Math.imul(D,U),r=r+Math.imul(Z,q)|0,i=(i=i+Math.imul(Z,W)|0)+Math.imul(L,q)|0,o=o+Math.imul(L,W)|0,r=r+Math.imul(I,G)|0,i=(i=i+Math.imul(I,$)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,$)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,X)|0)+Math.imul(T,Y)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,r=r+Math.imul(g,ce)|0,i=(i=i+Math.imul(g,ue)|0)+Math.imul(y,ce)|0,o=o+Math.imul(y,ue)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Ee=(u+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,pe)|0))<<13)|0;u=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,q),i=(i=Math.imul(N,W))+Math.imul(D,q)|0,o=Math.imul(D,W),r=r+Math.imul(Z,G)|0,i=(i=i+Math.imul(Z,$)|0)+Math.imul(L,G)|0,o=o+Math.imul(L,$)|0,r=r+Math.imul(I,Y)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(O,Y)|0,o=o+Math.imul(O,X)|0,r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(x,ce)|0,o=o+Math.imul(x,ue)|0,r=r+Math.imul(g,fe)|0,i=(i=i+Math.imul(g,de)|0)+Math.imul(y,fe)|0,o=o+Math.imul(y,de)|0;var Ce=(u+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(N,G),i=(i=Math.imul(N,$))+Math.imul(D,G)|0,o=Math.imul(D,$),r=r+Math.imul(Z,Y)|0,i=(i=i+Math.imul(Z,X)|0)+Math.imul(L,Y)|0,o=o+Math.imul(L,X)|0,r=r+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(k,ce)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(S,ce)|0,o=o+Math.imul(S,ue)|0,r=r+Math.imul(w,fe)|0,i=(i=i+Math.imul(w,de)|0)+Math.imul(x,fe)|0,o=o+Math.imul(x,de)|0;var Me=(u+(r=r+Math.imul(g,pe)|0)|0)+((8191&(i=(i=i+Math.imul(g,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(N,Y),i=(i=Math.imul(N,X))+Math.imul(D,Y)|0,o=Math.imul(D,X),r=r+Math.imul(Z,Q)|0,i=(i=i+Math.imul(Z,ee)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(M,ce)|0,o=o+Math.imul(M,ue)|0,r=r+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,de)|0)+Math.imul(S,fe)|0,o=o+Math.imul(S,de)|0;var Ae=(u+(r=r+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;u=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(N,Q),i=(i=Math.imul(N,ee))+Math.imul(D,Q)|0,o=Math.imul(D,ee),r=r+Math.imul(Z,ne)|0,i=(i=i+Math.imul(Z,re)|0)+Math.imul(L,ne)|0,o=o+Math.imul(L,re)|0,r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,r=r+Math.imul(R,ce)|0,i=(i=i+Math.imul(R,ue)|0)+Math.imul(T,ce)|0,o=o+Math.imul(T,ue)|0,r=r+Math.imul(C,fe)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(M,fe)|0,o=o+Math.imul(M,de)|0;var Re=(u+(r=r+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(S,pe)|0))<<13)|0;u=((o=o+Math.imul(S,me)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(N,ne),i=(i=Math.imul(N,re))+Math.imul(D,ne)|0,o=Math.imul(D,re),r=r+Math.imul(Z,oe)|0,i=(i=i+Math.imul(Z,ae)|0)+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,r=r+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(T,fe)|0,o=o+Math.imul(T,de)|0;var Te=(u+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(M,pe)|0))<<13)|0;u=((o=o+Math.imul(M,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(N,oe),i=(i=Math.imul(N,ae))+Math.imul(D,oe)|0,o=Math.imul(D,ae),r=r+Math.imul(Z,ce)|0,i=(i=i+Math.imul(Z,ue)|0)+Math.imul(L,ce)|0,o=o+Math.imul(L,ue)|0,r=r+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,de)|0)+Math.imul(O,fe)|0,o=o+Math.imul(O,de)|0;var Pe=(u+(r=r+Math.imul(R,pe)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(N,ce),i=(i=Math.imul(N,ue))+Math.imul(D,ce)|0,o=Math.imul(D,ue),r=r+Math.imul(Z,fe)|0,i=(i=i+Math.imul(Z,de)|0)+Math.imul(L,fe)|0,o=o+Math.imul(L,de)|0;var Ie=(u+(r=r+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(N,fe),i=(i=Math.imul(N,de))+Math.imul(D,fe)|0,o=Math.imul(D,de);var Oe=(u+(r=r+Math.imul(Z,pe)|0)|0)+((8191&(i=(i=i+Math.imul(Z,me)|0)+Math.imul(L,pe)|0))<<13)|0;u=((o=o+Math.imul(L,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863;var je=(u+(r=Math.imul(N,pe))|0)+((8191&(i=(i=Math.imul(N,me))+Math.imul(D,pe)|0))<<13)|0;return u=((o=Math.imul(D,me))+(i>>>13)|0)+(je>>>26)|0,je&=67108863,c[0]=ve,c[1]=ge,c[2]=ye,c[3]=be,c[4]=we,c[5]=xe,c[6]=_e,c[7]=ke,c[8]=Se,c[9]=Ee,c[10]=Ce,c[11]=Me,c[12]=Ae,c[13]=Re,c[14]=Te,c[15]=Pe,c[16]=Ie,c[17]=Oe,c[18]=je,0!==u&&(c[19]=u,n.length++),n};function m(e,t,n){return(new v).mulp(e,t,n)}function v(e,t){this.x=e,this.y=t}Math.imul||(p=h),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?p(this,e,t):r<63?h(this,e,t):r<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):m(this,e,t),n},v.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},v.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,u=0;u=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,c=r.length-i.length;if("mod"!==t){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0===(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(c)):(n.isub(t),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:n.iushln(u)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,l=1;0===(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,d=1;0===(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new k(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(b,y),b.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new w;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return g[e]=t,t},k.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=a;0!==h.cmp(s);){for(var m=h,v=0;0!==m.cmp(s);v++)m=m.redSqr();r(v=0;r--){for(var u=t.words[r],l=c-1;l>=0;l--){var f=u>>l&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===r&&0===l)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}c=26}return i},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new S(e)},i(S,k),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},26084:function(e,t,n){var r;function i(e){this.rand=e}if(e.exports=function(e){return r||(r=new i(null)),r.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n>>24]^l[p>>>16&255]^f[m>>>8&255]^d[255&v]^t[g++],a=u[p>>>24]^l[m>>>16&255]^f[v>>>8&255]^d[255&h]^t[g++],s=u[m>>>24]^l[v>>>16&255]^f[h>>>8&255]^d[255&p]^t[g++],c=u[v>>>24]^l[h>>>16&255]^f[p>>>8&255]^d[255&m]^t[g++],h=o,p=a,m=s,v=c;return o=(r[h>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&v])^t[g++],a=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[v>>>8&255]<<8|r[255&h])^t[g++],s=(r[m>>>24]<<24|r[v>>>16&255]<<16|r[h>>>8&255]<<8|r[255&p])^t[g++],c=(r[v>>>24]<<24|r[h>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[g++],[o>>>=0,a>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,n[a]=u,r[u]=a;var l=e[a],f=e[l],d=e[f],h=257*e[u]^16843008*u;i[0][a]=h<<24|h>>>8,i[1][a]=h<<16|h>>>16,i[2][a]=h<<8|h>>>24,i[3][a]=h,h=16843009*d^65537*f^257*l^16843008*a,o[0][u]=h<<24|h>>>8,o[1][u]=h<<16|h>>>16,o[2][u]=h<<8|h>>>24,o[3][u]=h,0===a?a=s=1:(a=l^e[e[e[d^l]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function u(e){this._key=i(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t===4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),i[o]=i[o-t]^a}for(var u=[],l=0;l>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return a(e=i(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},u.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=a(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=u},3560:function(e,t,n){var r=n(59915),i=n(82543).Buffer,o=n(92221),a=n(12534),s=n(15283),c=n(35865),u=n(8387);function l(e,t,n,a){o.call(this);var c=i.alloc(4,0);this._cipher=new r.AES(t);var l=this._cipher.encryptBlock(c);this._ghash=new s(l),n=function(e,t,n){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var r=new s(n),o=t.length,a=o%16;r.update(t),a&&(a=16-a,r.update(i.alloc(a,0))),r.update(i.alloc(8,0));var c=8*o,l=i.alloc(8);l.writeUIntBE(c,0,8),r.update(l),e._finID=r.state;var f=i.from(e._finID);return u(f),f}(this,n,l),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}a(l,o),l.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i16)throw new Error("unable to decrypt data");var n=-1;for(;++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=o[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=u(t,!1,n.key,n.iv);return d(e,r.key,r.iv)},t.createDecipheriv=d},25270:function(e,t,n){var r=n(88172),i=n(3560),o=n(82543).Buffer,a=n(12776),s=n(92221),c=n(59915),u=n(48462);function l(e,t,n){s.call(this),this._cache=new d,this._cipher=new c.AES(t),this._prev=o.from(n),this._mode=e,this._autopadding=!0}n(12534)(l,s),l.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return o.concat(r)};var f=o.alloc(16,16);function d(){this.cache=o.allocUnsafe(0)}function h(e,t,n){var s=r[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof t&&(t=o.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"===typeof n&&(n=o.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===s.type?new a(s.module,t,n):"auth"===s.type?new i(s.module,t,n):new l(s.module,t,n)}l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=o.concat([this.cache,e])},d.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),n=-1;++n>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},a.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},e.exports=a},8387:function(e){e.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},10694:function(e,t,n){var r=n(35865);t.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},33492:function(e,t,n){var r=n(82543).Buffer,i=n(35865);function o(e,t,n){var o=t.length,a=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:a]),a}t.encrypt=function(e,t,n){for(var i,a=r.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){a=r.concat([a,o(e,t,n)]);break}i=e._cache.length,a=r.concat([a,o(e,t.slice(0,i),n)]),t=t.slice(i)}return a}},61400:function(e,t,n){var r=n(82543).Buffer;function i(e,t,n){for(var r,i,a=-1,s=0;++a<8;)r=t&1<<7-a?128:0,s+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^r))>>a%8,e._prev=o(e._prev,n?r:i);return s}function o(e,t){var n=e.length,i=-1,o=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i>7;return o}t.encrypt=function(e,t,n){for(var o=t.length,a=r.allocUnsafe(o),s=-1;++s=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function a(e,t){var n=function(e){var t=o(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),i=t.modulus.byteLength(),a=new r(e).mul(n.blinder).umod(t.modulus),s=a.toRed(r.mont(t.prime1)),c=a.toRed(r.mont(t.prime2)),u=t.coefficient,l=t.prime1,f=t.prime2,d=s.redPow(t.exponent1).fromRed(),h=c.redPow(t.exponent2).fromRed(),p=d.isub(h).imul(u).umod(l).imul(f);return h.iadd(p).imul(n.unblinder).umod(t.modulus).toArrayLike(Buffer,"be",i)}a.getr=o,e.exports=a},95987:function(e,t,n){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(71922).Buffer}catch(A){}function s(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function c(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function u(e,t,n,i){for(var o=0,a=0,s=Math.min(e.length,n),c=t;c=49?u-49+10:u>=17?u-17+10:u,r(u>=0&&a0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=c(e,t,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(e.length-t)%2===0?t+1:t;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(A){o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?""}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),n=0!==o||a!==this.length-1?d[6-c.length]+c+n:c+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var u=h[e],l=p[e];n="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modrn(l).toString(e);n=(f=f.idivn(l)).isZero()?m+n:d[u-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function m(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(a=(i=0|e.words[p])*(o=0|t.words[h])+f)/67108864|0,f=67108863&a}n.words[u]=0|f,c=0|l}return 0!==c?n.words[u]=0|c:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===o?(n>=0&&(e[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,h=0|a[1],p=8191&h,m=h>>>13,v=0|a[2],g=8191&v,y=v>>>13,b=0|a[3],w=8191&b,x=b>>>13,_=0|a[4],k=8191&_,S=_>>>13,E=0|a[5],C=8191&E,M=E>>>13,A=0|a[6],R=8191&A,T=A>>>13,P=0|a[7],I=8191&P,O=P>>>13,j=0|a[8],Z=8191&j,L=j>>>13,B=0|a[9],N=8191&B,D=B>>>13,F=0|s[0],z=8191&F,U=F>>>13,H=0|s[1],q=8191&H,W=H>>>13,V=0|s[2],G=8191&V,$=V>>>13,K=0|s[3],Y=8191&K,X=K>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ce=8191&se,ue=se>>>13,le=0|s[8],fe=8191&le,de=le>>>13,he=0|s[9],pe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var ve=(u+(r=Math.imul(f,z))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(d,z)|0))<<13)|0;u=((o=Math.imul(d,U))+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,U))+Math.imul(m,z)|0,o=Math.imul(m,U);var ge=(u+(r=r+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(d,q)|0))<<13)|0;u=((o=o+Math.imul(d,W)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,z),i=(i=Math.imul(g,U))+Math.imul(y,z)|0,o=Math.imul(y,U),r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,W)|0;var ye=(u+(r=r+Math.imul(f,G)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,G)|0))<<13)|0;u=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,z),i=(i=Math.imul(w,U))+Math.imul(x,z)|0,o=Math.imul(x,U),r=r+Math.imul(g,q)|0,i=(i=i+Math.imul(g,W)|0)+Math.imul(y,q)|0,o=o+Math.imul(y,W)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,$)|0;var be=(u+(r=r+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(d,Y)|0))<<13)|0;u=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(k,z),i=(i=Math.imul(k,U))+Math.imul(S,z)|0,o=Math.imul(S,U),r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,W)|0,r=r+Math.imul(g,G)|0,i=(i=i+Math.imul(g,$)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,$)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var we=(u+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,Q)|0))<<13)|0;u=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(C,z),i=(i=Math.imul(C,U))+Math.imul(M,z)|0,o=Math.imul(M,U),r=r+Math.imul(k,q)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,W)|0,r=r+Math.imul(w,G)|0,i=(i=i+Math.imul(w,$)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,$)|0,r=r+Math.imul(g,Y)|0,i=(i=i+Math.imul(g,X)|0)+Math.imul(y,Y)|0,o=o+Math.imul(y,X)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(u+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;u=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(R,z),i=(i=Math.imul(R,U))+Math.imul(T,z)|0,o=Math.imul(T,U),r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,W)|0,r=r+Math.imul(k,G)|0,i=(i=i+Math.imul(k,$)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,r=r+Math.imul(g,Q)|0,i=(i=i+Math.imul(g,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var _e=(u+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;u=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(I,z),i=(i=Math.imul(I,U))+Math.imul(O,z)|0,o=Math.imul(O,U),r=r+Math.imul(R,q)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,W)|0,r=r+Math.imul(C,G)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(M,G)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(g,ne)|0,i=(i=i+Math.imul(g,re)|0)+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var ke=(u+(r=r+Math.imul(f,ce)|0)|0)+((8191&(i=(i=i+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((o=o+Math.imul(d,ue)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(Z,z),i=(i=Math.imul(Z,U))+Math.imul(L,z)|0,o=Math.imul(L,U),r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,W)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,W)|0,r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,$)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(g,oe)|0,i=(i=i+Math.imul(g,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,ue)|0;var Se=(u+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(N,z),i=(i=Math.imul(N,U))+Math.imul(D,z)|0,o=Math.imul(D,U),r=r+Math.imul(Z,q)|0,i=(i=i+Math.imul(Z,W)|0)+Math.imul(L,q)|0,o=o+Math.imul(L,W)|0,r=r+Math.imul(I,G)|0,i=(i=i+Math.imul(I,$)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,$)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,X)|0)+Math.imul(T,Y)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,r=r+Math.imul(g,ce)|0,i=(i=i+Math.imul(g,ue)|0)+Math.imul(y,ce)|0,o=o+Math.imul(y,ue)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Ee=(u+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,pe)|0))<<13)|0;u=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,q),i=(i=Math.imul(N,W))+Math.imul(D,q)|0,o=Math.imul(D,W),r=r+Math.imul(Z,G)|0,i=(i=i+Math.imul(Z,$)|0)+Math.imul(L,G)|0,o=o+Math.imul(L,$)|0,r=r+Math.imul(I,Y)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(O,Y)|0,o=o+Math.imul(O,X)|0,r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(x,ce)|0,o=o+Math.imul(x,ue)|0,r=r+Math.imul(g,fe)|0,i=(i=i+Math.imul(g,de)|0)+Math.imul(y,fe)|0,o=o+Math.imul(y,de)|0;var Ce=(u+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(N,G),i=(i=Math.imul(N,$))+Math.imul(D,G)|0,o=Math.imul(D,$),r=r+Math.imul(Z,Y)|0,i=(i=i+Math.imul(Z,X)|0)+Math.imul(L,Y)|0,o=o+Math.imul(L,X)|0,r=r+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(k,ce)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(S,ce)|0,o=o+Math.imul(S,ue)|0,r=r+Math.imul(w,fe)|0,i=(i=i+Math.imul(w,de)|0)+Math.imul(x,fe)|0,o=o+Math.imul(x,de)|0;var Me=(u+(r=r+Math.imul(g,pe)|0)|0)+((8191&(i=(i=i+Math.imul(g,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(N,Y),i=(i=Math.imul(N,X))+Math.imul(D,Y)|0,o=Math.imul(D,X),r=r+Math.imul(Z,Q)|0,i=(i=i+Math.imul(Z,ee)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(M,ce)|0,o=o+Math.imul(M,ue)|0,r=r+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,de)|0)+Math.imul(S,fe)|0,o=o+Math.imul(S,de)|0;var Ae=(u+(r=r+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;u=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(N,Q),i=(i=Math.imul(N,ee))+Math.imul(D,Q)|0,o=Math.imul(D,ee),r=r+Math.imul(Z,ne)|0,i=(i=i+Math.imul(Z,re)|0)+Math.imul(L,ne)|0,o=o+Math.imul(L,re)|0,r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,r=r+Math.imul(R,ce)|0,i=(i=i+Math.imul(R,ue)|0)+Math.imul(T,ce)|0,o=o+Math.imul(T,ue)|0,r=r+Math.imul(C,fe)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(M,fe)|0,o=o+Math.imul(M,de)|0;var Re=(u+(r=r+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(S,pe)|0))<<13)|0;u=((o=o+Math.imul(S,me)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(N,ne),i=(i=Math.imul(N,re))+Math.imul(D,ne)|0,o=Math.imul(D,re),r=r+Math.imul(Z,oe)|0,i=(i=i+Math.imul(Z,ae)|0)+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,r=r+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(T,fe)|0,o=o+Math.imul(T,de)|0;var Te=(u+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(M,pe)|0))<<13)|0;u=((o=o+Math.imul(M,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(N,oe),i=(i=Math.imul(N,ae))+Math.imul(D,oe)|0,o=Math.imul(D,ae),r=r+Math.imul(Z,ce)|0,i=(i=i+Math.imul(Z,ue)|0)+Math.imul(L,ce)|0,o=o+Math.imul(L,ue)|0,r=r+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,de)|0)+Math.imul(O,fe)|0,o=o+Math.imul(O,de)|0;var Pe=(u+(r=r+Math.imul(R,pe)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(N,ce),i=(i=Math.imul(N,ue))+Math.imul(D,ce)|0,o=Math.imul(D,ue),r=r+Math.imul(Z,fe)|0,i=(i=i+Math.imul(Z,de)|0)+Math.imul(L,fe)|0,o=o+Math.imul(L,de)|0;var Ie=(u+(r=r+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(N,fe),i=(i=Math.imul(N,de))+Math.imul(D,fe)|0,o=Math.imul(D,de);var Oe=(u+(r=r+Math.imul(Z,pe)|0)|0)+((8191&(i=(i=i+Math.imul(Z,me)|0)+Math.imul(L,pe)|0))<<13)|0;u=((o=o+Math.imul(L,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863;var je=(u+(r=Math.imul(N,pe))|0)+((8191&(i=(i=Math.imul(N,me))+Math.imul(D,pe)|0))<<13)|0;return u=((o=Math.imul(D,me))+(i>>>13)|0)+(je>>>26)|0,je&=67108863,c[0]=ve,c[1]=ge,c[2]=ye,c[3]=be,c[4]=we,c[5]=xe,c[6]=_e,c[7]=ke,c[8]=Se,c[9]=Ee,c[10]=Ce,c[11]=Me,c[12]=Ae,c[13]=Re,c[14]=Te,c[15]=Pe,c[16]=Ie,c[17]=Oe,c[18]=je,0!==u&&(c[19]=u,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(e,t,n){return g(e,t,n)}function b(e,t){this.x=e,this.y=t}Math.imul||(v=m),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?v(this,e,t):n<63?m(this,e,t):n<1024?g(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},b.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,u=0;u=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,c=r.length-i.length;if("mod"!==t){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0===(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(c)):(n.isub(t),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:n.iushln(u)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,l=1;0===(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,d=1;0===(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var w={k256:null,p224:null,p192:null,p25519:null};function x(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},x.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},x.prototype.split=function(e,t){e.iushrn(this.n,0,t)},x.prototype.imulK=function(e){return e.imul(this.k)},i(_,x),_.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(w[e])return w[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new k;else if("p192"===e)t=new S;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return w[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(l(e,e.umod(this.m)._forceRed(this)),e)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=a;0!==h.cmp(s);){for(var m=h,v=0;0!==m.cmp(s);v++)m=m.redSqr();r(v=0;r--){for(var u=t.words[r],l=c-1;l>=0;l--){var f=u>>l&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===r&&0===l)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}c=26}return i},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new M(e)},i(M,C),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},77050:function(e,t,n){e.exports=n(75207)},87834:function(e,t,n){var r=n(34777).Buffer,i=n(83569),o=n(90723),a=n(12534),s=n(45908),c=n(71666),u=n(75207);function l(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new l(e)}function h(e){return new f(e)}Object.keys(u).forEach((function(e){u[e].id=r.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]})),a(l,o.Writable),l.prototype._write=function(e,t,n){this._hash.update(e),n()},l.prototype.update=function(e,t){return"string"===typeof e&&(e=r.from(e,t)),this._hash.update(e),this},l.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=s(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},a(f,o.Writable),f.prototype._write=function(e,t,n){this._hash.update(e),n()},f.prototype.update=function(e,t){return"string"===typeof e&&(e=r.from(e,t)),this._hash.update(e),this},f.prototype.verify=function(e,t,n){"string"===typeof t&&(t=r.from(t,n)),this.end();var i=this._hash.digest();return c(t,i,e,this._signType,this._tag)},e.exports={Sign:d,Verify:h,createSign:d,createVerify:h}},45908:function(e,t,n){var r=n(34777).Buffer,i=n(57651),o=n(81330),a=n(6289).ec,s=n(72699),c=n(37510),u=n(1308);function l(e,t,n,o){if((e=r.from(e.toArray())).length0&&n.ishrn(r),n}function d(e,t,n){var o,a;do{for(o=r.alloc(0);8*o.length=t)throw new Error("invalid sig")}e.exports=function(e,t,n,u,l){var f=a(n);if("ec"===f.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,n){var r=s[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),a=n.data.subjectPrivateKey.data;return i.verify(t,e,a)}(e,t,f)}if("dsa"===f.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,n){var r=n.data.p,o=n.data.q,s=n.data.g,u=n.data.pub_key,l=a.signature.decode(e,"der"),f=l.s,d=l.r;c(f,o),c(d,o);var h=i.mont(r),p=f.invm(o),m=s.toRed(h).redPow(new i(t).mul(p).mod(o)).fromRed().mul(u.toRed(h).redPow(d.mul(p).mod(o)).fromRed()).mod(r).mod(o);return 0===m.cmp(d)}(e,t,f)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");t=r.concat([l,t]);for(var d=f.modulus.byteLength(),h=[1],p=0;t.length+h.length+2=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function c(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function u(e,t,n,i){for(var o=0,a=0,s=Math.min(e.length,n),c=t;c=49?u-49+10:u>=17?u-17+10:u,r(u>=0&&a0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=c(e,t,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(e.length-t)%2===0?t+1:t;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(A){o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?""}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),n=0!==o||a!==this.length-1?d[6-c.length]+c+n:c+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var u=h[e],l=p[e];n="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modrn(l).toString(e);n=(f=f.idivn(l)).isZero()?m+n:d[u-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function m(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(a=(i=0|e.words[p])*(o=0|t.words[h])+f)/67108864|0,f=67108863&a}n.words[u]=0|f,c=0|l}return 0!==c?n.words[u]=0|c:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===o?(n>=0&&(e[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,h=0|a[1],p=8191&h,m=h>>>13,v=0|a[2],g=8191&v,y=v>>>13,b=0|a[3],w=8191&b,x=b>>>13,_=0|a[4],k=8191&_,S=_>>>13,E=0|a[5],C=8191&E,M=E>>>13,A=0|a[6],R=8191&A,T=A>>>13,P=0|a[7],I=8191&P,O=P>>>13,j=0|a[8],Z=8191&j,L=j>>>13,B=0|a[9],N=8191&B,D=B>>>13,F=0|s[0],z=8191&F,U=F>>>13,H=0|s[1],q=8191&H,W=H>>>13,V=0|s[2],G=8191&V,$=V>>>13,K=0|s[3],Y=8191&K,X=K>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ce=8191&se,ue=se>>>13,le=0|s[8],fe=8191&le,de=le>>>13,he=0|s[9],pe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var ve=(u+(r=Math.imul(f,z))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(d,z)|0))<<13)|0;u=((o=Math.imul(d,U))+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,U))+Math.imul(m,z)|0,o=Math.imul(m,U);var ge=(u+(r=r+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(d,q)|0))<<13)|0;u=((o=o+Math.imul(d,W)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,z),i=(i=Math.imul(g,U))+Math.imul(y,z)|0,o=Math.imul(y,U),r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,W)|0;var ye=(u+(r=r+Math.imul(f,G)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,G)|0))<<13)|0;u=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,z),i=(i=Math.imul(w,U))+Math.imul(x,z)|0,o=Math.imul(x,U),r=r+Math.imul(g,q)|0,i=(i=i+Math.imul(g,W)|0)+Math.imul(y,q)|0,o=o+Math.imul(y,W)|0,r=r+Math.imul(p,G)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,$)|0;var be=(u+(r=r+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(d,Y)|0))<<13)|0;u=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(k,z),i=(i=Math.imul(k,U))+Math.imul(S,z)|0,o=Math.imul(S,U),r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,W)|0,r=r+Math.imul(g,G)|0,i=(i=i+Math.imul(g,$)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,$)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var we=(u+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,Q)|0))<<13)|0;u=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(C,z),i=(i=Math.imul(C,U))+Math.imul(M,z)|0,o=Math.imul(M,U),r=r+Math.imul(k,q)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,W)|0,r=r+Math.imul(w,G)|0,i=(i=i+Math.imul(w,$)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,$)|0,r=r+Math.imul(g,Y)|0,i=(i=i+Math.imul(g,X)|0)+Math.imul(y,Y)|0,o=o+Math.imul(y,X)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(u+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;u=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(R,z),i=(i=Math.imul(R,U))+Math.imul(T,z)|0,o=Math.imul(T,U),r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,W)|0,r=r+Math.imul(k,G)|0,i=(i=i+Math.imul(k,$)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,r=r+Math.imul(g,Q)|0,i=(i=i+Math.imul(g,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var _e=(u+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;u=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(I,z),i=(i=Math.imul(I,U))+Math.imul(O,z)|0,o=Math.imul(O,U),r=r+Math.imul(R,q)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,W)|0,r=r+Math.imul(C,G)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(M,G)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(g,ne)|0,i=(i=i+Math.imul(g,re)|0)+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var ke=(u+(r=r+Math.imul(f,ce)|0)|0)+((8191&(i=(i=i+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((o=o+Math.imul(d,ue)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(Z,z),i=(i=Math.imul(Z,U))+Math.imul(L,z)|0,o=Math.imul(L,U),r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,W)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,W)|0,r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,$)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(g,oe)|0,i=(i=i+Math.imul(g,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,ue)|0;var Se=(u+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(N,z),i=(i=Math.imul(N,U))+Math.imul(D,z)|0,o=Math.imul(D,U),r=r+Math.imul(Z,q)|0,i=(i=i+Math.imul(Z,W)|0)+Math.imul(L,q)|0,o=o+Math.imul(L,W)|0,r=r+Math.imul(I,G)|0,i=(i=i+Math.imul(I,$)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,$)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,X)|0)+Math.imul(T,Y)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,r=r+Math.imul(g,ce)|0,i=(i=i+Math.imul(g,ue)|0)+Math.imul(y,ce)|0,o=o+Math.imul(y,ue)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Ee=(u+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,pe)|0))<<13)|0;u=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(N,q),i=(i=Math.imul(N,W))+Math.imul(D,q)|0,o=Math.imul(D,W),r=r+Math.imul(Z,G)|0,i=(i=i+Math.imul(Z,$)|0)+Math.imul(L,G)|0,o=o+Math.imul(L,$)|0,r=r+Math.imul(I,Y)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(O,Y)|0,o=o+Math.imul(O,X)|0,r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(x,ce)|0,o=o+Math.imul(x,ue)|0,r=r+Math.imul(g,fe)|0,i=(i=i+Math.imul(g,de)|0)+Math.imul(y,fe)|0,o=o+Math.imul(y,de)|0;var Ce=(u+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(N,G),i=(i=Math.imul(N,$))+Math.imul(D,G)|0,o=Math.imul(D,$),r=r+Math.imul(Z,Y)|0,i=(i=i+Math.imul(Z,X)|0)+Math.imul(L,Y)|0,o=o+Math.imul(L,X)|0,r=r+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(k,ce)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(S,ce)|0,o=o+Math.imul(S,ue)|0,r=r+Math.imul(w,fe)|0,i=(i=i+Math.imul(w,de)|0)+Math.imul(x,fe)|0,o=o+Math.imul(x,de)|0;var Me=(u+(r=r+Math.imul(g,pe)|0)|0)+((8191&(i=(i=i+Math.imul(g,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(N,Y),i=(i=Math.imul(N,X))+Math.imul(D,Y)|0,o=Math.imul(D,X),r=r+Math.imul(Z,Q)|0,i=(i=i+Math.imul(Z,ee)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(M,ce)|0,o=o+Math.imul(M,ue)|0,r=r+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,de)|0)+Math.imul(S,fe)|0,o=o+Math.imul(S,de)|0;var Ae=(u+(r=r+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;u=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(N,Q),i=(i=Math.imul(N,ee))+Math.imul(D,Q)|0,o=Math.imul(D,ee),r=r+Math.imul(Z,ne)|0,i=(i=i+Math.imul(Z,re)|0)+Math.imul(L,ne)|0,o=o+Math.imul(L,re)|0,r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,r=r+Math.imul(R,ce)|0,i=(i=i+Math.imul(R,ue)|0)+Math.imul(T,ce)|0,o=o+Math.imul(T,ue)|0,r=r+Math.imul(C,fe)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(M,fe)|0,o=o+Math.imul(M,de)|0;var Re=(u+(r=r+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(S,pe)|0))<<13)|0;u=((o=o+Math.imul(S,me)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(N,ne),i=(i=Math.imul(N,re))+Math.imul(D,ne)|0,o=Math.imul(D,re),r=r+Math.imul(Z,oe)|0,i=(i=i+Math.imul(Z,ae)|0)+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,r=r+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(T,fe)|0,o=o+Math.imul(T,de)|0;var Te=(u+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(M,pe)|0))<<13)|0;u=((o=o+Math.imul(M,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(N,oe),i=(i=Math.imul(N,ae))+Math.imul(D,oe)|0,o=Math.imul(D,ae),r=r+Math.imul(Z,ce)|0,i=(i=i+Math.imul(Z,ue)|0)+Math.imul(L,ce)|0,o=o+Math.imul(L,ue)|0,r=r+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,de)|0)+Math.imul(O,fe)|0,o=o+Math.imul(O,de)|0;var Pe=(u+(r=r+Math.imul(R,pe)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(N,ce),i=(i=Math.imul(N,ue))+Math.imul(D,ce)|0,o=Math.imul(D,ue),r=r+Math.imul(Z,fe)|0,i=(i=i+Math.imul(Z,de)|0)+Math.imul(L,fe)|0,o=o+Math.imul(L,de)|0;var Ie=(u+(r=r+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(N,fe),i=(i=Math.imul(N,de))+Math.imul(D,fe)|0,o=Math.imul(D,de);var Oe=(u+(r=r+Math.imul(Z,pe)|0)|0)+((8191&(i=(i=i+Math.imul(Z,me)|0)+Math.imul(L,pe)|0))<<13)|0;u=((o=o+Math.imul(L,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863;var je=(u+(r=Math.imul(N,pe))|0)+((8191&(i=(i=Math.imul(N,me))+Math.imul(D,pe)|0))<<13)|0;return u=((o=Math.imul(D,me))+(i>>>13)|0)+(je>>>26)|0,je&=67108863,c[0]=ve,c[1]=ge,c[2]=ye,c[3]=be,c[4]=we,c[5]=xe,c[6]=_e,c[7]=ke,c[8]=Se,c[9]=Ee,c[10]=Ce,c[11]=Me,c[12]=Ae,c[13]=Re,c[14]=Te,c[15]=Pe,c[16]=Ie,c[17]=Oe,c[18]=je,0!==u&&(c[19]=u,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(e,t,n){return g(e,t,n)}function b(e,t){this.x=e,this.y=t}Math.imul||(v=m),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?v(this,e,t):n<63?m(this,e,t):n<1024?g(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},b.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,u=0;u=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,c=r.length-i.length;if("mod"!==t){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0===(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(c)):(n.isub(t),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:n.iushln(u)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,l=1;0===(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,d=1;0===(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var w={k256:null,p224:null,p192:null,p25519:null};function x(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},x.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},x.prototype.split=function(e,t){e.iushrn(this.n,0,t)},x.prototype.imulK=function(e){return e.imul(this.k)},i(_,x),_.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(w[e])return w[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new k;else if("p192"===e)t=new S;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return w[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(l(e,e.umod(this.m)._forceRed(this)),e)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=a;0!==h.cmp(s);){for(var m=h,v=0;0!==m.cmp(s);v++)m=m.redSqr();r(v=0;r--){for(var u=t.words[r],l=c-1;l>=0;l--){var f=u>>l&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===r&&0===l)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}c=26}return i},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new M(e)},i(M,C),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},34777:function(e,t,n){var r=n(19778),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},92055:function(e){e.exports=function(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative');return Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e)}},52679:function(e,t,n){var r=n(90347),i=n(92055);e.exports=function(e,t,n){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative');if(Buffer.alloc)return Buffer.alloc(e,t,n);var o=i(e);return 0===e?o:void 0===t?r(o,0):("string"!==typeof n&&(n=void 0),r(o,t,n))}},90347:function(e){var t=function(){try{if(!Buffer.isEncoding("latin1"))return!1;var e=Buffer.alloc?Buffer.alloc(4):new Buffer(4);return e.fill("ab","ucs2"),"61006200"===e.toString("hex")}catch(t){return!1}}();function n(e,t,n,r){if(n<0||r>e.length)throw new RangeError("Out of range index");return n>>>=0,(r=void 0===r?e.length:r>>>0)>n&&e.fill(t,n,r),e}e.exports=function(e,r,i,o,a){if(t)return e.fill(r,i,o,a);if("number"===typeof r)return n(e,r,i,o);if("string"===typeof r){if("string"===typeof i?(a=i,i=0,o=e.length):"string"===typeof o&&(a=o,o=e.length),void 0!==a&&"string"!==typeof a)throw new TypeError("encoding must be a string");if("latin1"===a&&(a="binary"),"string"===typeof a&&!Buffer.isEncoding(a))throw new TypeError("Unknown encoding: "+a);if(""===r)return n(e,0,i,o);if(function(e){return 1===e.length&&e.charCodeAt(0)<256}(r))return n(e,r.charCodeAt(0),i,o);r=new Buffer(r,a)}return Buffer.isBuffer(r)?function(e,t,n,r){if(n<0||r>e.length)throw new RangeError("Out of range index");if(r<=n)return e;n>>>=0,r=void 0===r?e.length:r>>>0;for(var i=n,o=t.length;i<=r-o;)t.copy(e,i),i+=o;return i!==r&&t.copy(e,i,0,r-i),e}(e,r,i,o):n(e,0,i,o)}},35865:function(e){e.exports=function(e,t){for(var n=Math.min(e.length,t.length),r=new Buffer(n),i=0;if)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,h.prototype),t}function h(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return v(e)}return p(e,t,n)}function p(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!h.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|w(e,t),r=d(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(ee(e,Uint8Array)){var t=new Uint8Array(e);return y(t.buffer,t.byteOffset,t.byteLength)}return g(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ee(e,ArrayBuffer)||e&&ee(e.buffer,ArrayBuffer))return y(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(ee(e,SharedArrayBuffer)||e&&ee(e.buffer,SharedArrayBuffer)))return y(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return h.from(r,t,n);var i=function(e){if(h.isBuffer(e)){var t=0|b(e.length),n=d(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||te(e.length)?d(0):g(e);if("Buffer"===e.type&&Array.isArray(e.data))return g(e.data)}(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return h.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function m(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function v(e){return m(e),d(e<0?0:0|b(e))}function g(e){for(var t=e.length<0?0:0|b(e.length),n=d(t),r=0;r=f)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+f.toString(16)+" bytes");return 0|e}function w(e,t){if(h.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ee(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return X(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(e).length;default:if(i)return r?-1:X(e).length;t=(""+t).toLowerCase(),i=!0}}function x(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Z(this,t,n);case"utf8":case"utf-8":return P(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return j(this,t,n);case"base64":return T(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function _(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function k(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),te(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=h.from(t,r)),h.isBuffer(t))return 0===t.length?-1:S(e,t,n,r,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):S(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function S(e,t,n,r,i){var o,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;os&&(n=s-c),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o,a=t.length;for(r>a/2&&(r=a/2),o=0;o>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function T(e,t,n){return 0===t&&n===e.length?c.fromByteArray(e):c.fromByteArray(e.slice(t,n))}function P(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:o>223?3:o>191?2:1;if(i+s<=n){var c=void 0,u=void 0,l=void 0,f=void 0;switch(s){case 1:o<128&&(a=o);break;case 2:128===(192&(c=e[i+1]))&&(f=(31&o)<<6|63&c)>127&&(a=f);break;case 3:c=e[i+1],u=e[i+2],128===(192&c)&&128===(192&u)&&(f=(15&o)<<12|(63&c)<<6|63&u)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:c=e[i+1],u=e[i+2],l=e[i+3],128===(192&c)&&128===(192&u)&&128===(192&l)&&(f=(15&o)<<18|(63&c)<<12|(63&u)<<6|63&l)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return function(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rr.length?(h.isBuffer(o)||(o=h.from(o)),o.copy(r,i)):Uint8Array.prototype.set.call(r,o,i);else{if(!h.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i)}i+=o.length}return r},h.byteLength=w,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tn&&(e+=" ... "),""},l&&(h.prototype[l]=h.prototype.inspect),h.prototype.compare=function(e,t,n,r,i){if(ee(e,Uint8Array)&&(e=h.from(e,e.offset,e.byteLength)),!h.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),u=e.slice(t,n),l=0;l>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return E(this,e,t,n);case"utf8":case"utf-8":return C(this,e,t,n);case"ascii":case"latin1":case"binary":return M(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,n,r,i,o){if(!h.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function D(e,t,n,r,i){G(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function F(e,t,n,r,i){G(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function z(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(e,t,n,r,i){return t=+t,n>>>=0,i||z(e,0,n,4),u.write(e,t,n,r,23,4),n+4}function H(e,t,n,r,i){return t=+t,n>>>=0,i||z(e,0,n,8),u.write(e,t,n,r,52,8),n+8}h.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||B(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||B(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},h.prototype.readUint8=h.prototype.readUInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),this[e]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]|this[e+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]<<8|this[e+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},h.prototype.readBigUInt64LE=re((function(e){$(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);var r=t+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,24),i=this[++e]+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+n*Math.pow(2,24);return BigInt(r)+(BigInt(i)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);var r=t*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e],i=this[++e]*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+n;return(BigInt(r)<>>=0,t>>>=0,n||B(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},h.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||B(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},h.prototype.readInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},h.prototype.readInt16LE=function(e,t){e>>>=0,t||B(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},h.prototype.readInt16BE=function(e,t){e>>>=0,t||B(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},h.prototype.readInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},h.prototype.readInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},h.prototype.readBigInt64LE=re((function(e){$(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);var r=this[e+4]+this[e+5]*Math.pow(2,8)+this[e+6]*Math.pow(2,16)+(n<<24);return(BigInt(r)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);var r=(t<<24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e];return(BigInt(r)<>>=0,t||B(e,4,this.length),u.read(this,e,!0,23,4)},h.prototype.readFloatBE=function(e,t){return e>>>=0,t||B(e,4,this.length),u.read(this,e,!1,23,4)},h.prototype.readDoubleLE=function(e,t){return e>>>=0,t||B(e,8,this.length),u.read(this,e,!0,52,8)},h.prototype.readDoubleBE=function(e,t){return e>>>=0,t||B(e,8,this.length),u.read(this,e,!1,52,8)},h.prototype.writeUintLE=h.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},h.prototype.writeUint8=h.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,1,255,0),this[t]=255&e,t+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},h.prototype.writeBigUInt64LE=re((function(e){return D(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),h.prototype.writeBigUInt64BE=re((function(e){return F(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),h.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);N(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},h.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);N(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},h.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},h.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},h.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},h.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},h.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},h.prototype.writeBigInt64LE=re((function(e){return D(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),h.prototype.writeBigInt64BE=re((function(e){return F(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),h.prototype.writeFloatLE=function(e,t,n){return U(this,e,t,!0,n)},h.prototype.writeFloatBE=function(e,t,n){return U(this,e,t,!1,n)},h.prototype.writeDoubleLE=function(e,t,n){return H(this,e,t,!0,n)},h.prototype.writeDoubleBE=function(e,t,n){return H(this,e,t,!1,n)},h.prototype.copy=function(e,t,n,r){if(!h.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function G(e,t,n,r,i,o){if(e>n||e3?0===t||t===BigInt(0)?">= 0".concat(s," and < 2").concat(s," ** ").concat(8*(o+1)).concat(s):">= -(2".concat(s," ** ").concat(8*(o+1)-1).concat(s,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(s):">= ".concat(t).concat(s," and <= ").concat(n).concat(s),new q.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,n){$(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||K(t,e.length-(n+1))}(r,i,o)}function $(e,t){if("number"!==typeof e)throw new q.ERR_INVALID_ARG_TYPE(t,"number",e)}function K(e,t,n){if(Math.floor(e)!==e)throw $(e,n),new q.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new q.ERR_BUFFER_OUT_OF_BOUNDS;throw new q.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}W("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),W("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)}),TypeError),W("ERR_OUT_OF_RANGE",(function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?i=V(String(n)):"bigint"===typeof n&&(i=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(i=V(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i)}),RangeError);var Y=/[^+/0-9A-Za-z-_]/g;function X(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function J(e){return c.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function Q(e,t,n,r){var i;for(i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function ee(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function te(e){return e!==e}var ne=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}();function re(e){return"undefined"===typeof BigInt?ie:e}function ie(){throw new Error("BigInt not supported")}},27140:function(e,t,n){var r=n(74704).default,i=n(56690).default,o=n(89728).default,a=n(40762),s=n(44183),c=function(){"use strict";function e(t,n){if(i(this,e),this.store=t,this.chunkLength=t.chunkLength,this.inProgressGets=new Map,!this.store||!this.store.get||!this.store.put)throw new Error("First argument must be abstract-chunk-store compliant");this.cache=new a(n)}return o(e,[{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(!this.cache)return s((function(){return n(new Error("CacheStore closed"))}));this.cache.remove(e),this.store.put(e,t,n)}},{key:"get",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"===typeof t)return this.get(e,null,t);if(!this.cache)return s((function(){return i(new Error("CacheStore closed"))}));t||(t={});var o=this.cache.get(e);if(o){var a=t.offset||0,c=t.length||o.length-a;return 0===a&&c===o.length||(o=o.slice(a,c+a)),s((function(){return i(null,o)}))}var u=this.inProgressGets.get(e),l=!!u;u||(u=[],this.inProgressGets.set(e,u)),u.push({opts:t,cb:i}),l||this.store.get(e,(function(t,i){t||null==n.cache||n.cache.set(e,i);var o=n.inProgressGets.get(e);n.inProgressGets.delete(e);var a,s=r(o);try{for(s.s();!(a=s.n()).done;){var c=a.value,u=c.opts,l=c.cb;if(t)l(t);else{var f=u.offset||0,d=u.length||i.length-f,h=i;0===f&&d===i.length||(h=i.slice(f,d+f)),l(null,h)}}}catch(t){s.e(t)}finally{s.f()}}))}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};if(!this.cache)return s((function(){return e(new Error("CacheStore closed"))}));this.cache=null,this.store.close(e)}},{key:"destroy",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};if(!this.cache)return s((function(){return e(new Error("CacheStore closed"))}));this.cache=null,this.store.destroy(e)}}]),e}();e.exports=c},44037:function(e,t,n){"use strict";var r=n(52506),i=n(19722),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?i(n):n}},19722:function(e,t,n){"use strict";var r=n(33350),i=n(52506),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),c=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(d){u=null}e.exports=function(e){var t=s(r,a,arguments);c&&u&&(c(t,"length").configurable&&u(t,"length",{value:1+l(0,e.length-(arguments.length-1))}));return t};var f=function(){return s(r,o,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},33286:function(e,t,n){var r=n(42122).default,i=n(56690).default,o=n(89728).default,a=n(61655).default,s=n(26389).default,c=n(99874),u=function(e){"use strict";a(n,e);var t=s(n);function n(e,o){var a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i(this,n),a=t.call(this,s),!e||!e.put||!e.get)throw new Error("First argument must be an abstract-chunk-store compliant store");if(!(o=Number(o)))throw new Error("Second argument must be a chunk length");var u=void 0!==s.zeroPadding&&s.zeroPadding;a._blockstream=new c(o,r(r({},s),{},{zeroPadding:u})),a._outstandingPuts=0,a._storeMaxOutstandingPuts=s.storeMaxOutstandingPuts||16;var l=0;return a._blockstream.on("data",(function(t){a.destroyed||(a._outstandingPuts+=1,a._outstandingPuts>=a._storeMaxOutstandingPuts&&a._blockstream.pause(),e.put(l,t,(function(e){if(e)return a.destroy(e);a._outstandingPuts-=1,a._outstandingPutsn)?t=("rmd160"===e?new c:u(e)).update(t).digest():t.lengths?t=e(t):t.length1?i=t[b][0]:t[b][0]!==i&&(i=null)}})),(void 0===t.filterJunkFiles||t.filterJunkFiles)&&(e=e.filter((function(e){return"string"===typeof e||!k(e[b])}))),i&&e.forEach((function(e){var t=(Buffer.isBuffer(e)||C(e))&&!e[b];"string"===typeof e||t||e[b].shift()})),!t.name&&i&&(t.name=i),t.name||e.some((function(e){return"string"===typeof e?(t.name=f.basename(e),!0):!e.unknownName&&(t.name=e[b][e[b].length-1],!0)})),t.name||(t.name="Unnamed Torrent ".concat(Date.now()));var o=e.reduce((function(e,t){return e+Number("string"===typeof t)}),0),a=1===e.length;if(1===e.length&&"string"===typeof e[0]){if("function"!==typeof y)throw new Error("filesystem paths do not work in the browser");d(e[0],(function(e,t){if(e)return n(e);a=t,s()}))}else v(s);function s(){m(e.map((function(e){return function(t){var n={};if(E(e))n.getStream=e.stream(),n.length=e.size;else if(Buffer.isBuffer(e))n.getStream=[e],n.length=e.length;else{if(!C(e)){if("string"===typeof e){if("function"!==typeof y)throw new Error("filesystem paths do not work in the browser");return void y(e,o>1||a,t)}throw new Error("invalid input type")}n.getStream=function(e,t){return M.apply(this,arguments)}(e,n),n.length=0}n.path=e[b],t(null,n)}})),(function(e,t){if(e)return n(e);t=t.flat(),n(null,t,a)}))}}var x=5;function _(){return(_=i(r().mark((function e(t,n,i,o,a){var c,l,f,d,h,m,v,y,b,w,_,k,S,E,C;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c=[],l=0,f=0,d=t.map((function(e){return e.getStream})),h=o.onProgress,m=0,v=0,y=!1,b=u(p(d),n,{zeroPadding:!1}),e.prev=9,w=!1,_=!1,e.prev=12,S=r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=C.value,e.next=3,new Promise((function(e){l+=t.length;var n=v;++v,++m=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=function(){var e=!1;return function(){e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=n(18472)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},18472:function(e,t,n){var r=n(861).default;e.exports=function(e){function t(e){var n,r,o,a=null;function s(){for(var e=arguments.length,r=new Array(e),i=0;i0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t>>1];n=o.r28shl(n,s),i=o.r28shl(i,s),o.pc2(n,i,e.keys,a)}},c.prototype._update=function(e,t,n,r){var i=this._desState,a=o.readUInt32BE(e,t),s=o.readUInt32BE(e,t+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(n,a,r),o.writeUInt32BE(n,s,r+4)},c.prototype._pad=function(e,t){for(var n=e.length-t,r=t;r>>0,a=d}o.rip(s,a,r,i)},c.prototype._decrypt=function(e,t,n,r,i){for(var a=n,s=t,c=e.keys.length-2;c>=0;c-=2){var u=e.keys[c],l=e.keys[c+1];o.expand(a,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var f=o.substitute(u,l),d=a;a=(s^o.permute(f))>>>0,s=d}o.rip(a,s,r,i)}},38534:function(e,t,n){"use strict";var r=n(72325),i=n(12534),o=n(834),a=n(23688);function s(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:n}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:n})]}function c(e){o.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}i(c,o),e.exports=c,c.create=function(e){return new c(e)},c.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},c.prototype._pad=a.prototype._pad,c.prototype._unpad=a.prototype._unpad},47427:function(e,t){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1}n[r+0]=i>>>0,n[r+1]=o>>>0},t.rip=function(e,t,n,r){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+a&1,i<<=1,i|=e>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.pc1=function(e,t,n,r){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.r28shl=function(e,t){return e<>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,i){for(var o=0,a=0,s=n.length>>>1,c=0;c>>n[c]&1;for(c=s;c>>n[c]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},t.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var n=0,i=0;i<4;i++){n<<=4,n|=r[64*i+(e>>>18-6*i&63)]}for(i=0;i<4;i++){n<<=4,n|=r[256+64*i+(t>>>18-6*i&63)]}return n>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,n=0;n>>i[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var r=e.toString(2);r.lengthe;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(c),t.cmp(c)){if(!t.cmp(u))for(;n.mod(l).cmp(f);)n.iadd(h)}else for(;n.mod(o).cmp(d);)n.iadd(h);if(v(p=n.shrn(1))&&v(n)&&g(p)&&g(n)&&a.test(p)&&a.test(n))return n}}},6289:function(e,t,n){"use strict";var r=t;r.version=n(18597).i8,r.utils=n(82629),r.rand=n(26084),r.curve=n(37075),r.curves=n(13297),r.ec=n(74170),r.eddsa=n(20156)},55950:function(e,t,n){"use strict";var r=n(80518),i=n(82629),o=i.getNAF,a=i.getJSF,s=i.assert;function c(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){s(e.precomputed);var n=e._getDoubles(),r=o(t,1,this._bitLength),i=(1<=a;l--)c=(c<<1)+r[l];u.push(c)}for(var f=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=i;h>0;h--){for(a=0;a=0;u--){for(var l=0;u>=0&&0===a[u];u--)l++;if(u>=0&&l++,c=c.dblp(l),u<0)break;var f=a[u];s(0!==f),c="affine"===e.type?f>0?c.mixedAdd(i[f-1>>1]):c.mixedAdd(i[-f-1>>1].neg()):f>0?c.add(i[f-1>>1]):c.add(i[-f-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,n,r,i){var s,c,u,l=this._wnafT1,f=this._wnafT2,d=this._wnafT3,h=0;for(s=0;s=1;s-=2){var m=s-1,v=s;if(1===l[m]&&1===l[v]){var g=[t[m],null,null,t[v]];0===t[m].y.cmp(t[v].y)?(g[1]=t[m].add(t[v]),g[2]=t[m].toJ().mixedAdd(t[v].neg())):0===t[m].y.cmp(t[v].y.redNeg())?(g[1]=t[m].toJ().mixedAdd(t[v]),g[2]=t[m].add(t[v].neg())):(g[1]=t[m].toJ().mixedAdd(t[v]),g[2]=t[m].toJ().mixedAdd(t[v].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],b=a(n[m],n[v]);for(h=Math.max(b[0].length,h),d[m]=new Array(h),d[v]=new Array(h),c=0;c=0;s--){for(var S=0;s>=0;){var E=!0;for(c=0;c=0&&S++,_=_.dblp(S),s<0)break;for(c=0;c0?u=f[c][C-1>>1]:C<0&&(u=f[c][-C-1>>1].neg()),_="affine"===u.type?_.mixedAdd(u):_.add(u))}}for(s=0;s=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i":""},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),a=o.redSub(n),s=r.redSub(t),c=i.redMul(a),u=o.redMul(s),l=i.redMul(s),f=a.redMul(o);return this.curve.point(c,u,f,l)},u.prototype._projDbl=function(){var e,t,n,r,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var u=(r=this.curve._mulA(s)).redAdd(c);this.zOne?(e=a.redSub(s).redSub(c).redMul(u.redSub(this.curve.two)),t=u.redMul(r.redSub(c)),n=u.redSqr().redSub(u).redSub(u)):(i=this.z.redSqr(),o=u.redSub(i).redISub(i),e=a.redSub(s).redISub(c).redMul(o),t=u.redMul(r.redSub(c)),n=u.redMul(o))}else r=s.redAdd(c),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),e=this.curve._mulC(a.redISub(r)).redMul(o),t=this.curve._mulC(r).redMul(s.redISub(c)),n=r.redMul(o);return this.curve.point(e,t,n)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),a=i.redSub(r),s=i.redAdd(r),c=n.redAdd(t),u=o.redMul(a),l=s.redMul(c),f=o.redMul(c),d=a.redMul(s);return this.curve.point(u,l,d,f)},u.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),c=i.redSub(s),u=i.redAdd(s),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),f=r.redMul(c).redMul(l);return this.curve.twisted?(t=r.redMul(u).redMul(a.redSub(this.curve._mulA(o))),n=c.redMul(u)):(t=r.redMul(u).redMul(a.redSub(o)),n=this.curve._mulC(c).redMul(u)),this.curve.point(f,t,n)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},u.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},37075:function(e,t,n){"use strict";var r=t;r.base=n(55950),r.short=n(95536),r.mont=n(29113),r.edwards=n(72124)},29113:function(e,t,n){"use strict";var r=n(80518),i=n(12534),o=n(55950),a=n(82629);function s(e){o.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,n){o.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(c,o.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new c(this,e,t)},s.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(n),a=i.redMul(r),s=t.z.redMul(o.redAdd(a).redSqr()),c=t.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},95536:function(e,t,n){"use strict";var r=n(82629),i=n(80518),o=n(12534),a=n(55950),s=r.assert;function c(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,n,r){a.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(e,t,n,r){a.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(c,a),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?n=o[0]:(n=o[1],s(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,n,r,o,a,s,c,u,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),p=new i(1),m=new i(0),v=new i(0),g=new i(1),y=0;0!==d.cmpn(0);){var b=h.div(d);u=h.sub(b.mul(d)),l=v.sub(b.mul(p));var w=g.sub(b.mul(m));if(!r&&u.cmp(f)<0)t=c.neg(),n=p,r=u.neg(),o=l;else if(r&&2===++y)break;c=u,h=d,d=u,v=p,p=l,g=m,m=w}a=u.neg(),s=l;var x=r.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(x)>=0&&(a=t,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a:a,b:s}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),c=i.mul(n.b),u=o.mul(r.b);return{k1:e.sub(a).sub(s),k2:c.add(u).neg()}},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},u.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(l,a.BasePoint),c.prototype.jpoint=function(e,t,n){return new l(this,e,t,n)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),f=r.redMul(u),d=c.redSqr().redIAdd(l).redISub(f).redISub(f),h=c.redMul(f.redISub(d)).redISub(o.redMul(l)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,h,p)},l.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),u=c.redMul(a),l=n.redMul(c),f=s.redSqr().redIAdd(u).redISub(l).redISub(l),d=s.redMul(l.redISub(f)).redISub(i.redMul(u)),h=this.z.redMul(a);return this.curve.jpoint(f,d,h)},l.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var n=this;for(t=0;t=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},13297:function(e,t,n){"use strict";var r,i=t,o=n(33125),a=n(37075),s=n(82629).assert;function c(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new c(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(31025)}catch(l){r=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},74170:function(e,t,n){"use strict";var r=n(80518),i=n(17411),o=n(82629),a=n(13297),s=n(26084),c=o.assert,u=n(80615),l=n(23198);function f(e){if(!(this instanceof f))return new f(e);"string"===typeof e&&(c(Object.prototype.hasOwnProperty.call(a,e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=f,f.prototype.keyPair=function(e){return new u(this,e)},f.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(t.generate(n));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},f.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,n,o){"object"===typeof n&&(o=n,n=null),o||(o={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new r(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),c=e.toArray("be",a),u=new i({hash:this.hash,entropy:s,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new r(1)),d=0;;d++){var h=o.k?o.k(d):new r(u.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(f)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var m=p.getX(),v=m.umod(this.n);if(0!==v.cmpn(0)){var g=h.invm(this.n).mul(v.mul(t.getPrivate()).iadd(e));if(0!==(g=g.umod(this.n)).cmpn(0)){var y=(p.getY().isOdd()?1:0)|(0!==m.cmp(v)?2:0);return o.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),y^=1),new l({r:v,s:g,recoveryParam:y})}}}}}},f.prototype.verify=function(e,t,n,i){e=this._truncateToN(new r(e,16)),n=this.keyFromPublic(n,i);var o=(t=new l(t,"hex")).r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),u=c.mul(e).umod(this.n),f=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,n.getPublic(),f)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(u,n.getPublic(),f)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},f.prototype.recoverPubKey=function(e,t,n,i){c((3&n)===n,"The recovery param is more than two bits"),t=new l(t,i);var o=this.n,a=new r(e),s=t.r,u=t.s,f=1&n,d=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");s=d?this.curve.pointFromX(s.add(this.curve.n),f):this.curve.pointFromX(s,f);var h=t.r.invm(o),p=o.sub(a).mul(h).umod(o),m=u.mul(h).umod(o);return this.g.mulAdd(p,s,m)},f.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new l(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},80615:function(e,t,n){"use strict";var r=n(80518),i=n(82629).assert;function o(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=o,o.fromPublic=function(e,t,n){return t instanceof o?t:new o(e,{pub:t,pubEnc:n})},o.fromPrivate=function(e,t,n){return t instanceof o?t:new o(e,{priv:t,privEnc:n})},o.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(e,t){return"string"===typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},o.prototype.derive=function(e){return e.validate()||i(e.validate(),"public point not validated"),e.mul(this.priv).getX()},o.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},o.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},o.prototype.inspect=function(){return""}},23198:function(e,t,n){"use strict";var r=n(80518),i=n(82629),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function c(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return!(i<=127)&&(t.place=a,i)}function u(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new s;if(48!==e[n.place++])return!1;var o=c(e,n);if(!1===o)return!1;if(o+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var a=c(e,n);if(!1===a)return!1;var u=e.slice(n.place,a+n.place);if(n.place+=a,2!==e[n.place++])return!1;var l=c(e,n);if(!1===l)return!1;if(e.length!==l+n.place)return!1;var f=e.slice(n.place,l+n.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new r(u),this.s=new r(f),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=u(t),n=u(n);!n[0]&&!(128&n[1]);)n=n.slice(1);var r=[2];l(r,t.length),(r=r.concat(t)).push(2),l(r,n.length);var o=r.concat(n),a=[48];return l(a,o.length),a=a.concat(o),i.encode(a,e)}},20156:function(e,t,n){"use strict";var r=n(33125),i=n(13297),o=n(82629),a=o.assert,s=o.parseBytes,c=n(1722),u=n(68574);function l(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=i[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}e.exports=l,l.prototype.sign=function(e,t){e=s(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,n.pubBytes(),e).mul(n.priv()),c=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:o})},l.prototype.verify=function(e,t,n){e=s(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(o)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r,i=0,o=0;e.cmpn(-i)>0||t.cmpn(-o)>0;){var a,s,c=e.andln(3)+i&3,u=t.andln(3)+o&3;3===c&&(c=-1),3===u&&(u=-1),a=0===(1&c)?0:3!==(r=e.andln(7)+i&7)&&5!==r||2!==u?c:-c,n[0].push(a),s=0===(1&u)?0:3!==(r=t.andln(7)+o&7)&&5!==r||2!==c?u:-u,n[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"===typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},69578:function(e,t,n){var r=n(14876),i=function(){};e.exports=function e(t,n,o){if("function"===typeof n)return e(t,null,n);n||(n={}),o=r(o||i);var a=t._writableState,s=t._readableState,c=n.readable||!1!==n.readable&&t.readable,u=n.writable||!1!==n.writable&&t.writable,l=!1,f=function(){t.writable||d()},d=function(){u=!1,c||o.call(t)},h=function(){c=!1,u||o.call(t)},p=function(e){o.call(t,e?new Error("exited with error code: "+e):null)},m=function(e){o.call(t,e)},v=function(){process.nextTick(g)},g=function(){if(!l)return(!c||s&&s.ended&&!s.destroyed)&&(!u||a&&a.ended&&!a.destroyed)?void 0:o.call(t,new Error("premature close"))},y=function(){t.req.on("finish",d)};return!function(e){return e.setHeader&&"function"===typeof e.abort}(t)?u&&!a&&(t.on("end",f),t.on("close",f)):(t.on("complete",d),t.on("abort",v),t.req?y():t.on("request",y)),function(e){return e.stdio&&Array.isArray(e.stdio)&&3===e.stdio.length}(t)&&t.on("exit",p),t.on("end",h),t.on("finish",d),!1!==n.error&&t.on("error",m),t.on("close",v),function(){l=!0,t.removeListener("complete",d),t.removeListener("abort",v),t.removeListener("request",y),t.req&&t.req.removeListener("finish",d),t.removeListener("end",f),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("exit",p),t.removeListener("end",h),t.removeListener("error",m),t.removeListener("close",v)}}},67963:function(e){"use strict";function t(e,t){for(var n in t)Object.defineProperty(e,n,{value:t[n],enumerable:!0,configurable:!0});return e}e.exports=function(e,n,r){if(!e||"string"===typeof e)throw new TypeError("Please pass an Error to err-code");r||(r={}),"object"===typeof n&&(r=n,n=""),n&&(r.code=n);try{return t(e,r)}catch(o){r.message=e.message,r.stack=e.stack;var i=function(){};return i.prototype=Object.create(Object.getPrototypeOf(e)),t(new i,r)}}},47465:function(e){"use strict";var t,n="object"===typeof Reflect?Reflect:null,r=n&&"function"===typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"===typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"===typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"===typeof e.on&&m(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var i,o,a,u;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"===typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,u=l,console&&console.warn&&console.warn(u)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=l.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=o[e];if(void 0===c)return!1;if("function"===typeof c)r(c,this,t);else{var u=c.length,l=p(c,u);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},48462:function(e,t,n){var r=n(82543).Buffer,i=n(68437);e.exports=function(e,t,n,o){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=n/8,s=r.alloc(a),c=r.alloc(o||0),u=r.alloc(0);a>0||o>0;){var l=new i;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var f=0;if(a>0){var d=s.length-a;f=Math.min(a,u.length),u.copy(s,d,0,f),a-=f}if(f0){var h=c.length-o,p=Math.min(o,u.length-f);u.copy(c,h,f,f+p),o-=p}}return u.fill(0),{key:s,iv:c}}},11132:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,l,f=arguments[0],d=1,h=arguments.length,p=!1;for("boolean"===typeof f&&(p=f,f=arguments[1]||{},d=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});d1&&void 0!==arguments[1]?arguments[1]:{};r(this,n),(i=t.call(this,Object.assign({decodeStrings:!1},o))).chunks=[];var a=o.mimeType;return i.once("close",(function(){var t=null!=a?new Blob(i.chunks,{type:a}):new Blob(i.chunks);e(t),i.emit("blob",t)})),i}return i(n,[{key:"_write",value:function(e,t){this.chunks.push(e),t()}}]),n}(u);e.exports={BlobWriteStream:l,BlobReadStream:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c.from(e.stream(),t)}}},78262:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!==i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n}},11167:function(e,t,n){var r=n(56690).default,i=n(89728).default;e.exports=function(){"use strict";function e(t){if(r(this,e),!(t>0)||0!==(t-1&t))throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(t),this.mask=t-1,this.top=0,this.btm=0,this.next=null}return i(e,[{key:"push",value:function(e){return void 0===this.buffer[this.top]&&(this.buffer[this.top]=e,this.top=this.top+1&this.mask,!0)}},{key:"shift",value:function(){var e=this.buffer[this.btm];if(void 0!==e)return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,e}},{key:"peek",value:function(){return this.buffer[this.btm]}},{key:"isEmpty",value:function(){return void 0===this.buffer[this.btm]}}]),e}()},75125:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(11167);e.exports=function(){"use strict";function e(t){r(this,e),this.hwm=t||16,this.head=new o(this.hwm),this.tail=this.head}return i(e,[{key:"push",value:function(e){if(!this.head.push(e)){var t=this.head;this.head=t.next=new o(2*this.head.buffer.length),this.head.push(e)}}},{key:"shift",value:function(){var e=this.tail.shift();if(void 0===e&&this.tail.next){var t=this.tail.next;return this.tail.next=null,this.tail=t,this.tail.shift()}return e}},{key:"peek",value:function(){return this.tail.peek()}},{key:"isEmpty",value:function(){return this.head.isEmpty()}}]),e}()},11678:function(e,t,n){var r=n(38416).default;"undefined"===typeof ReadableStream||ReadableStream.prototype[Symbol.asyncIterator]||(ReadableStream.prototype[Symbol.asyncIterator]=function(){var e=this.getReader(),t=e.read();return r({next:function(){var n=t;return t=e.read(),n},return:function(){t.then((function(){return e.releaseLock()}))},throw:function(e){throw this.return(),e}},Symbol.asyncIterator,(function(){return this}))})},65369:function(e,t,n){"use strict";var r=n(70460),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),"[object Array]"===i.call(e)?function(e,t,n){for(var r=0,i=e.length;r1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=k(e,0,1),n=k(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return _(e,E,(function(e,t,n,i){r[r.length]=n?_(i,C,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=M("%"+r+"%",t),s=o.name,u=o.value,l=!1,f=o.alias;f&&(r=f[0],x(n,w([0,1],f)));for(var d=1,h=!0;d=n.length){var y=c(u,p);u=(h=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[p]}else h=b(u,p),u=u[p];h&&!l&&(m[s]=u)}}return u}},23347:function(e,t,n){"use strict";var r=n(52506)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(i){r=null}e.exports=r},80697:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,i=n(63297);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},63297:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},4707:function(e,t,n){"use strict";var r=n(63297);e.exports=function(){return r()&&!!Symbol.toStringTag}},58316:function(e,t,n){"use strict";var r=n(33350);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},86266:function(e,t,n){"use strict";var r=n(11160).Buffer,i=n(90723).Transform;function o(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(12534)(o,i),o.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(i){r=i}n(r)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(n){t=n}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!==typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},11160:function(e,t,n){var r=n(19778),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},33125:function(e,t,n){var r=t;r.utils=n(79046),r.common=n(79684),r.sha=n(39194),r.ripemd=n(56645),r.hmac=n(93609),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},79684:function(e,t,n){"use strict";var r=n(79046),i=n(72325);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;othis.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},79046:function(e,t,n){"use strict";var r=n(72325),i=n(12534);function o(e,t){return 55296===(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"===typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e),i=0;i>6|192,n[r++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,a=(o>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,a,s){var c=0,u=t;return c+=(u=u+r>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,n,r,i,o,a,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,a,s,c,u){var l=0,f=t;return l+=(f=f+r>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,n,r,i,o,a,s,c,u){return t+r+o+s+u>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},17411:function(e,t,n){"use strict";var r=n(33125),i=n(94034),o=n(72325);function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),n=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}e.exports=a,a.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},a.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.lengththis.offset&&(this.emit("data",t.slice(this.offset)),this.offset=t.length)};var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},44339:function(e,t,n){var r=n(94938),i=n(12114),o=e.exports;for(var a in r)r.hasOwnProperty(a)&&(o[a]=r[a]);function s(e){if("string"===typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}o.request=function(e,t){return e=s(e),r.request.call(this,e,t)},o.get=function(e,t){return e=s(e),r.get.call(this,e,t)}},98655:function(e,t,n){"use strict";var r=n(17061).default,i=n(17156).default,o=n(56690).default,a=n(89728).default,s=n(61655).default,c=n(26389).default,u=n(93849),l=n(47465).EventEmitter,f=n(44183),d=function(e){s(n,e);var t=c(n);function n(e,r){var i;if(o(this,n),r||(r={}),(i=t.call(this)).chunkLength=Number(e),!i.chunkLength)throw new Error("First argument must be a chunk length");return i.closed=!1,i.destroyed=!1,i.length=Number(r.length)||1/0,i.name=r.name||"idb-chunk-store",i.length!==1/0&&(i.lastChunkLength=i.length%i.chunkLength||i.chunkLength,i.lastChunkIndex=Math.ceil(i.length/i.chunkLength)-1),i.dbPromise=u.openDB(i.name,void 0,{upgrade:function(e){e.createObjectStore("chunks")},blocking:function(){i.close()},terminated:function(){i.closed=!0,i.emit("error",new Error("Database unexpectedly closed"))}}),i}return a(n,[{key:"put",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(this.closed)return f((function(){return o(new Error("Storage is closed"))}));var a=e===this.lastChunkIndex;return a&&t.length!==this.lastChunkLength?f((function(){return o(new Error("Last chunk length must be "+n.lastChunkLength))})):a||t.length===this.chunkLength?(0===(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)).byteOffset&&t.byteLength===t.buffer.byteLength||(t=t.slice()),void i(r().mark((function i(){var a;return r().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,n.dbPromise;case 3:return a=r.sent,r.next=6,a.put("chunks",t,e);case 6:r.next=12;break;case 8:return r.prev=8,r.t0=r.catch(0),o(r.t0),r.abrupt("return");case 12:o(null);case 13:case"end":return r.stop()}}),i,null,[[0,8]])})))()):f((function(){return o(new Error("Chunk length must be "+n.chunkLength))}))}},{key:"get",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};return"function"===typeof t?this.get(e,{},t):(t||(t={}),this.closed?f((function(){return o(new Error("Storage is closed"))})):void i(r().mark((function i(){var a,s,c,u,l,f;return r().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,n.dbPromise;case 3:return s=r.sent,r.next=6,s.get("chunks",e);case 6:a=r.sent,r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(0),o(r.t0),r.abrupt("return");case 13:if(null!=a){r.next=18;break}return(c=new Error("Chunk not found")).notFound=!0,o(c),r.abrupt("return");case 18:u=Buffer.from(a.buffer,a.byteOffset,a.byteLength),l=t.offset||0,f=t.length||u.length-l,0===l&&f===u.length||(u=u.slice(l,f+l)),o(null,u);case 23:case"end":return r.stop()}}),i,null,[[0,9]])})))())}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};if(this.closed)return f((function(){return t(new Error("Storage is closed"))}));this.closed=!0,i(r().mark((function n(){return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.dbPromise;case 3:n.sent.close(),n.next=11;break;case 7:return n.prev=7,n.t0=n.catch(0),t(n.t0),n.abrupt("return");case 11:t(null);case 12:case"end":return n.stop()}}),n,null,[[0,7]])})))()}},{key:"destroy",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};return this.closed?f((function(){return t(new Error("Storage is closed"))})):this.destroyed?f((function(){return t(new Error("Storage is destroyed"))})):(this.destroyed=!0,void this.close(function(){var n=i(r().mark((function n(i){return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!i){n.next=3;break}return t(i),n.abrupt("return");case 3:return n.prev=3,n.next=6,u.deleteDB(e.name);case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(3),t(n.t0),n.abrupt("return");case 12:t(null);case 13:case"end":return n.stop()}}),n,null,[[3,8]])})));return function(e){return n.apply(this,arguments)}}()))}}]),n}(l);e.exports=d},93849:function(e,t,n){"use strict";n.r(t),n.d(t,{deleteDB:function(){return w},openDB:function(){return b},unwrap:function(){return y},wrap:function(){return g}});var r,i,o=n(1413),a=n(74165),s=n(15861),c=function(e,t){return t.some((function(t){return e instanceof t}))};var u=new WeakMap,l=new WeakMap,f=new WeakMap,d=new WeakMap,h=new WeakMap;var p={get:function(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return l.get(e);if("objectStoreNames"===t)return e.objectStoreNames||f.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return g(e[t])},set:function(e,t,n){return e[t]=n,!0},has:function(e,t){return e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e}};function m(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(i||(i=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(){for(var t=arguments.length,n=new Array(t),r=0;r1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:{},r=n.blocked,i=n.upgrade,o=n.blocking,a=n.terminated,s=indexedDB.open(e,t),c=g(s);return i&&s.addEventListener("upgradeneeded",(function(e){i(g(s.result),e.oldVersion,e.newVersion,g(s.transaction))})),r&&s.addEventListener("blocked",(function(){return r()})),c.then((function(e){a&&e.addEventListener("close",(function(){return a()})),o&&e.addEventListener("versionchange",(function(){return o()}))})).catch((function(){})),c}function w(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).blocked,n=indexedDB.deleteDatabase(e);return t&&n.addEventListener("blocked",(function(){return t()})),g(n).then((function(){}))}var x=["get","getKey","getAll","getAllKeys","count"],_=["put","add","delete","clear"],k=new Map;function S(e,t){if(e instanceof IDBDatabase&&!(t in e)&&"string"===typeof t){if(k.get(t))return k.get(t);var n=t.replace(/FromIndex$/,""),r=t!==n,i=_.includes(n);if(n in(r?IDBIndex:IDBObjectStore).prototype&&(i||x.includes(n))){var o=function(){var e=(0,s.Z)((0,a.Z)().mark((function e(t){var o,s,c,u,l,f,d=arguments;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(s=this.transaction(t,i?"readwrite":"readonly"),c=s.store,u=d.length,l=new Array(u>1?u-1:0),f=1;f>1,l=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,c,u=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*m}},24626:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(44183),a=function(){"use strict";function e(t){if(r(this,e),this.store=t,this.chunkLength=t.chunkLength,!this.store||!this.store.get||!this.store.put)throw new Error("First argument must be abstract-chunk-store compliant");this.mem=[]}return i(e,[{key:"put",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};this.mem[e]=t,this.store.put(e,t,(function(t){n.mem[e]=null,r(t)}))}},{key:"get",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"===typeof t)return this.get(e,null,t);var r=this.mem[e];if(!r)return this.store.get(e,t,n);t||(t={});var i=t.offset||0,a=t.length||r.length-i;0===i&&a===r.length||(r=r.slice(i,a+i)),o((function(){return n(null,r)}))}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};this.store.close(e)}},{key:"destroy",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};this.store.destroy(e)}}]),e}();e.exports=a},12534:function(e){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},11065:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,c=/^\s+|\s+$/g,u="";function l(e){return e?e.replace(c,u):u}e.exports=function(e,c){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];c=c||{};var f=1,d=1;function h(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=c.source}m.prototype.content=e;var v=[];function g(t){var n=new Error(c.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=c.source,n.line=f,n.column=d,n.source=e,!c.silent)throw n;v.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function b(){y(r)}function w(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function _(){var e=p(),n=y(i);if(n){if(x(),!y(o))return g("property missing ':'");var r=y(a),c=e({type:"declaration",property:l(n[0].replace(t,u)),value:r?l(r[0].replace(t,u)):u});return y(s),c}}return b(),function(){var e,t=[];for(w(t);e=_();)!1!==e&&(t.push(e),w(t));return t}()}},65450:function(e,t,n){"use strict";var r=n(4707)(),i=n(44037)("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},51753:function(e){e.exports=function(e){for(var t=0,n=e.length;t127)return!1;return!0}},25586:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},70460:function(e){"use strict";var t,n,r=Function.prototype.toString,i="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof i&&"function"===typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},i((function(){throw 42}),null,t)}catch(l){l!==n&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=r.call(e);return o.test(t)}catch(n){return!1}},s=Object.prototype.toString,c="function"===typeof Symbol&&!!Symbol.toStringTag,u="object"===typeof document&&"undefined"===typeof document.all&&void 0!==document.all?document.all:{};e.exports=i?function(e){if(e===u)return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if("function"===typeof e&&!e.prototype)return!0;try{i(e,null,t)}catch(r){if(r!==n)return!1}return!a(e)}:function(e){if(e===u)return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if("function"===typeof e&&!e.prototype)return!0;if(c)return function(e){try{return!a(e)&&(r.call(e),!0)}catch(t){return!1}}(e);if(a(e))return!1;var t=s.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},85718:function(e,t,n){"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=n(4707)(),c=Object.getPrototypeOf;e.exports=function(e){if("function"!==typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!c)return!1;if("undefined"===typeof r){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&c(t)}return c(e)===r}},66218:function(e,t,n){"use strict";var r=n(65369),i=n(30306),o=n(44037),a=o("Object.prototype.toString"),s=n(4707)(),c=n(23347),u="undefined"===typeof globalThis?n.g:globalThis,l=i(),f=o("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n-1}return!!c&&function(e){var t=!1;return r(h,(function(n,r){if(!t)try{t=n.call(e)===r}catch(i){}})),t}(e)}},67685:function(e,t,n){var r=n(17061).default,i=n(74704).default,o=n(18186).default,a=n(16737).default,s=n(18237).default,c=n(28131).default;e.exports=function(){var e=o(r().mark((function e(t){var n,o,u;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=i(t),e.prev=1,n.s();case 3:if((o=n.n()).done){e.next=9;break}return"function"===typeof(u=o.value)&&(u=u()),e.delegateYield(c(s(u),a),"t0",7);case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t1=e.catch(1),n.e(e.t1);case 14:return e.prev=14,n.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[1,11,14,17]])})));return function(t){return e.apply(this,arguments)}}()},11480:function(e,t){"use strict";t.re=function(){throw new Error("`junk.re` was renamed to `junk.regex`")},t.regex=new RegExp(["^npm-debug\\.log$","^\\..*\\.swp$","^\\.DS_Store$","^\\.AppleDouble$","^\\.LSOverride$","^Icon\\r$","^\\._.*","^\\.Spotlight-V100(?:$|\\/)","\\.Trashes","^__MACOSX$","~$","^Thumbs\\.db$","^ehthumbs\\.db$","^Desktop\\.ini$","@eaDir$"].join("|")),t.is=function(e){return t.regex.test(e)},t.not=function(e){return!t.is(e)},t.default=e.exports},76368:function(e,t,n){t.RateLimiter=n(57829),t.TokenBucket=n(15584)},47820:function(e){e.exports=function(){if("undefined"!==typeof process&&process.hrtime){var e=process.hrtime(),t=e[0],n=e[1];return 1e3*t+Math.floor(n/1e6)}return(new Date).getTime()}},57829:function(e,t,n){var r=n(15584),i=n(47820),o=function(e,t,n){this.tokenBucket=new r(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=i(),this.tokensThisInterval=0,this.fireImmediately=n};o.prototype={tokenBucket:null,curIntervalStart:0,tokensThisInterval:0,fireImmediately:!1,removeTokens:function(e,t){if(e>this.tokenBucket.bucketSize)return process.nextTick(t.bind(null,"Requested tokens "+e+" exceeds maximum tokens per interval "+this.tokenBucket.bucketSize,null)),!1;var n=this,r=i();if((r=this.tokenBucket.interval)&&(this.curIntervalStart=r,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)process.nextTick(t.bind(null,null,-1));else{var o=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-r);setTimeout((function(){n.tokenBucket.removeTokens(e,a)}),o)}return!1}return this.tokenBucket.removeTokens(e,a);function a(r,i){if(r)return t(r,null);n.tokensThisInterval+=e,t(null,i)}},tryRemoveTokens:function(e){if(e>this.tokenBucket.bucketSize)return!1;var t=i();if((t=this.tokenBucket.interval)&&(this.curIntervalStart=t,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval)return!1;var n=this.tokenBucket.tryRemoveTokens(e);return n&&(this.tokensThisInterval+=e),n},getTokensRemaining:function(){return this.tokenBucket.drip(),this.tokenBucket.content}},e.exports=o},15584:function(e){var t=function(e,t,n,r){if(this.bucketSize=e,this.tokensPerInterval=t,"string"===typeof n)switch(n){case"sec":case"second":this.interval=1e3;break;case"min":case"minute":this.interval=6e4;break;case"hr":case"hour":this.interval=36e5;break;case"day":this.interval=864e5;break;default:throw new Error("Invaid interval "+n)}else this.interval=n;this.parentBucket=r,this.content=0,this.lastDrip=+new Date};t.prototype={bucketSize:1,tokensPerInterval:1,interval:1e3,parentBucket:null,content:0,lastDrip:0,removeTokens:function(e,t){var n=this;return this.bucketSize?e>this.bucketSize?(process.nextTick(t.bind(null,"Requested tokens "+e+" exceeds bucket size "+this.bucketSize,null)),!1):(this.drip(),e>this.content?r():this.parentBucket?this.parentBucket.removeTokens(e,(function(i,o){return i?t(i,null):e>n.content?r():(n.content-=e,void t(null,Math.min(o,n.content)))})):(this.content-=e,process.nextTick(t.bind(null,null,this.content)),!0)):(process.nextTick(t.bind(null,null,e,Number.POSITIVE_INFINITY)),!0);function r(){var r=Math.ceil((e-n.content)*(n.interval/n.tokensPerInterval));return setTimeout((function(){n.removeTokens(e,t)}),r),!1}},tryRemoveTokens:function(e){return!this.bucketSize||!(e>this.bucketSize)&&(this.drip(),!(e>this.content)&&(!(this.parentBucket&&!this.parentBucket.tryRemoveTokens(e))&&(this.content-=e,!0)))},drip:function(){if(this.tokensPerInterval){var e=+new Date,t=Math.max(e-this.lastDrip,0);this.lastDrip=e;var n=t*(this.tokensPerInterval/this.interval);this.content=Math.min(this.content+n,this.bucketSize)}else this.content=this.bucketSize}},e.exports=t},15102:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,i){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"===typeof r&&(i=r,r={}),r=r||{},i=i||function(){},a.type=r.type||"text/javascript",a.charset=r.charset||"utf8",a.async=!("async"in r)||!!r.async,a.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,r.attrs),r.text&&(a.text=""+r.text),("onload"in a?t:n)(a,i),a.onload||t(a,i),o.appendChild(a)}},61842:function(e,t,n){e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){var n=t[a][1][e];return i(n||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a=43)}})).catch((function(){return!1}))}function _(e){return"boolean"===typeof m?u.resolve(m):x(e).then((function(e){return m=e}))}function k(e){var t=v[e.name],n={};n.promise=new u((function(e,t){n.resolve=e,n.reject=t})),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then((function(){return n.promise})):t.dbReady=n.promise}function S(e){var t=v[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function E(e,t){var n=v[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function C(e,t){return new u((function(n,r){if(v[e.name]=v[e.name]||L(),e.db){if(!t)return n(e.db);k(e),e.db.close()}var i=[e.name];t&&i.push(e.version);var o=a.open.apply(a,i);t&&(o.onupgradeneeded=function(t){var n=o.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(p)}catch(r){if("ConstraintError"!==r.name)throw r;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),o.onerror=function(e){e.preventDefault(),r(o.error)},o.onsuccess=function(){var t=o.result;t.onversionchange=function(e){e.target.close()},n(t),S(e)}}))}function M(e){return C(e,!1)}function A(e){return C(e,!0)}function R(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.versione.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),i||n){if(n){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function T(e){return new u((function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");t({__local_forage_encoded_blob:!0,data:r,type:e.type})},r.readAsBinaryString(e)}))}function P(e){return c([w(atob(e.data))],{type:e.type})}function I(e){return e&&e.__local_forage_encoded_blob}function O(e){var t=this,n=t._initReady().then((function(){var e=v[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return f(n,e,e),n}function j(e){k(e);for(var t=v[e.name],n=t.forages,r=0;r0&&(!e.db||"InvalidStateError"===o.name||"NotFoundError"===o.name))return u.resolve().then((function(){if(!e.db||"NotFoundError"===o.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),A(e)})).then((function(){return j(e).then((function(){Z(e,t,n,r-1)}))})).catch(n);n(o)}}function L(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function B(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var i=v[n.name];i||(i=L(),v[n.name]=i),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=O);var o=[];function a(){return u.resolve()}for(var s=0;s>4,l[c++]=(15&r)<<4|i>>2,l[c++]=(3&i)<<6|63&o;return u}function pe(e){var t,n=new Uint8Array(e),r="";for(t=0;t>2],r+=K[(3&n[t])<<4|n[t+1]>>4],r+=K[(15&n[t+1])<<2|n[t+2]>>6],r+=K[63&n[t+2]];return n.length%3===2?r=r.substring(0,r.length-1)+"=":n.length%3===1&&(r=r.substring(0,r.length-2)+"=="),r}function me(e,t){var n="";if(e&&(n=de.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===de.call(e.buffer))){var r,i=J;e instanceof ArrayBuffer?(r=e,i+=ee):(r=e.buffer,"[object Int8Array]"===n?i+=ne:"[object Uint8Array]"===n?i+=re:"[object Uint8ClampedArray]"===n?i+=ie:"[object Int16Array]"===n?i+=oe:"[object Uint16Array]"===n?i+=se:"[object Int32Array]"===n?i+=ae:"[object Uint32Array]"===n?i+=ce:"[object Float32Array]"===n?i+=ue:"[object Float64Array]"===n?i+=le:t(new Error("Failed to get type for BinaryArray"))),t(i+pe(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n=Y+e.type+"~"+pe(this.result);t(J+te+n)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(a){console.error("Couldn't convert value into a JSON string: ",e),t(null,a)}}function ve(e){if(e.substring(0,Q)!==J)return JSON.parse(e);var t,n=e.substring(fe),r=e.substring(Q,fe);if(r===te&&X.test(n)){var i=n.match(X);t=i[1],n=n.substring(i[0].length)}var o=he(n);switch(r){case ee:return o;case te:return c([o],{type:t});case ne:return new Int8Array(o);case re:return new Uint8Array(o);case ie:return new Uint8ClampedArray(o);case oe:return new Int16Array(o);case se:return new Uint16Array(o);case ae:return new Int32Array(o);case ce:return new Uint32Array(o);case ue:return new Float32Array(o);case le:return new Float64Array(o);default:throw new Error("Unkown type: "+r)}}var ge={serialize:me,deserialize:ve,stringToBuffer:he,bufferToString:pe};function ye(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function be(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!==typeof e[r]?e[r].toString():e[r];var i=new u((function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(i){return r(i)}n.db.transaction((function(i){ye(i,n,(function(){t._dbInfo=n,e()}),(function(e,t){r(t)}))}),r)}));return n.serializer=ge,i}function we(e,t,n,r,i,o){e.executeSql(n,r,i,(function(e,a){a.code===a.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,s){s.rows.length?o(e,a):ye(e,t,(function(){e.executeSql(n,r,i,o)}),o)}),o):o(e,a)}),o)}function xe(e,t){var n=this;e=d(e);var r=new u((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){we(n,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=i.serializer.deserialize(r)),t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return l(r,t),r}function _e(e,t){var n=this,r=new u((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){we(n,i,"SELECT * FROM "+i.storeName,[],(function(n,r){for(var o=r.rows,a=o.length,s=0;s0)return void o(ke.apply(i,[e,s,n,r-1]));a(t)}}))}))})).catch(a)}));return l(o,n),o}function Se(e,t,n){return ke.apply(this,[e,t,n,1])}function Ee(e,t){var n=this;e=d(e);var r=new u((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){we(n,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){r(t)}))}))})).catch(r)}));return l(r,t),r}function Ce(e){var t=this,n=new u((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){we(t,r,"DELETE FROM "+r.storeName,[],(function(){e()}),(function(e,t){n(t)}))}))})).catch(n)}));return l(n,e),n}function Me(e){var t=this,n=new u((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){we(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(t,n){var r=n.rows.item(0).c;e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return l(n,e),n}function Ae(e,t){var n=this,r=new u((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){we(n,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return l(r,t),r}function Re(e){var t=this,n=new u((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){we(t,r,"SELECT key FROM "+r.storeName,[],(function(t,n){for(var r=[],i=0;i '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var i=[],o=0;o0}function Be(e){var t=this,n={};if(e)for(var r in e)n[r]=e[r];return n.keyPrefix=je(e,t._defaultConfig),Le()?(t._dbInfo=n,n.serializer=ge,u.resolve()):u.reject()}function Ne(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return l(n,e),n}function De(e,t){var n=this;e=d(e);var r=n.ready().then((function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r}));return l(r,t),r}function Fe(e,t){var n=this,r=n.ready().then((function(){for(var t=n._dbInfo,r=t.keyPrefix,i=r.length,o=localStorage.length,a=1,s=0;s=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}})):u.reject("Invalid arguments"),l(r,t),r}var Ge={_driver:"localStorageWrapper",_initStorage:Be,_support:Oe(),iterate:Fe,getItem:De,setItem:We,removeItem:qe,clear:Ne,length:He,key:ze,keys:Ue,dropInstance:Ve},$e=function(e,t){return e===t||"number"===typeof e&&"number"===typeof t&&isNaN(e)&&isNaN(t)},Ke=function(e,t){for(var n=e.length,r=0;ru))return!1;var f=s.get(e);if(f&&s.get(t))return f==t;var d=-1,h=!0,p=n&o?new Ce:void 0;for(s.set(e,t),s.set(t,e);++d-1},Se.prototype.set=function(e,t){var n=this.__data__,r=Re(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Ee.prototype.clear=function(){this.size=0,this.__data__={hash:new ke,map:new(fe||Se),string:new ke}},Ee.prototype.delete=function(e){var t=Be(this,e).delete(e);return this.size-=t?1:0,t},Ee.prototype.get=function(e){return Be(this,e).get(e)},Ee.prototype.has=function(e){return Be(this,e).has(e)},Ee.prototype.set=function(e,t){var n=Be(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ce.prototype.add=Ce.prototype.push=function(e){return this.__data__.set(e,r),this},Ce.prototype.has=function(e){return this.__data__.has(e)},Me.prototype.clear=function(){this.__data__=new Se,this.size=0},Me.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Me.prototype.get=function(e){return this.__data__.get(e)},Me.prototype.has=function(e){return this.__data__.has(e)},Me.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Se){var r=n.__data__;if(!fe||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ee(r)}return n.set(e,t),this.size=n.size,this};var De=se?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n-1&&e%1==0&&e-1&&e%1==0&&e<=a}function Ke(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ye(e){return null!=e&&"object"==typeof e}var Xe=F?function(e){return function(t){return e(t)}}(F):function(e){return Ye(e)&&$e(e.length)&&!!P[Te(e)]};function Je(e){return null!=(t=e)&&$e(t.length)&&!Ge(t)?Ae(e):je(e);var t}e.exports=function(e,t){return Ie(e,t)}},40762:function(e,t,n){var r=n(47465),i=n(12534);function o(e){if(!(this instanceof o))return new o(e);"number"===typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=o,i(o,r.EventEmitter),Object.defineProperty(o.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),o.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},o.prototype.remove=function(e){if("string"!==typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},o.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},o.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},o.prototype.set=function(e,t){var n;if("string"!==typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},o.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},o.prototype.get=function(e){if("string"!==typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},o.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},19178:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(61655).default,a=n(26389).default,s=n(9575),c=n(47465).EventEmitter,u=n(18392)("lt_donthave");e.exports=function(){var e=function(e){"use strict";o(n,e);var t=a(n);function n(e){var i;return r(this,n),(i=t.call(this))._peerSupports=!1,i._wire=e,i}return i(n,[{key:"onExtendedHandshake",value:function(){this._peerSupports=!0}},{key:"onMessage",value:function(e){var t;try{t=e.readUInt32BE()}catch(n){return}this._wire.peerPieces.get(t)&&(u("got donthave %d",t),this._wire.peerPieces.set(t,!1),this.emit("donthave",t),this._failRequests(t))}},{key:"donthave",value:function(e){if(this._peerSupports){u("donthave %d",e);var t=Buffer.alloc(4);t.writeUInt32BE(e),this._wire.extended("lt_donthave",t)}}},{key:"_failRequests",value:function(e){for(var t=this._wire.requests,n=0;n1&&(e.xt=n);e.publicKeyBuffer&&(e.xs="urn:btpk:".concat(e.publicKeyBuffer.toString("hex")));e.publicKey&&(e.xs="urn:btpk:".concat(e.publicKey));e.name&&(e.dn=e.name);e.keywords&&(e.kt=e.keywords);e.announce&&(e.tr=e.announce);e.urlList&&(e.ws=e.urlList,delete e.as);e.peerAddresses&&(e["x.pe"]=e.peerAddresses);var r="magnet:?";return Object.keys(e).filter((function(e){return 2===e.length||"x.pe"===e})).forEach((function(t,n){var o=Array.isArray(e[t])?e[t]:[e[t]];o.forEach((function(e,i){(n>0||i>0)&&("kt"!==t&&"so"!==t||0===i)&&(r+="&"),"dn"===t&&(e=encodeURIComponent(e).replace(/%20/g,"+")),"tr"!==t&&"as"!==t&&"ws"!==t||(e=encodeURIComponent(e)),"xs"!==t||e.startsWith("urn:btpk:")||(e=encodeURIComponent(e)),"kt"===t&&(e=encodeURIComponent(e)),"so"!==t&&(r+="kt"===t&&i>0?"+".concat(e):"".concat(t,"=").concat(e))})),"so"===t&&(r+="".concat(t,"=").concat(i.compose(o)))})),r};var r=n(70251),i=n(96191);function o(e){var t,n={},o=e.split("magnet:?")[1];((o&&o.length>=0?o.split("&"):[]).forEach((function(e){var t=e.split("=");if(2===t.length){var r=t[0],o=t[1];"dn"===r&&(o=decodeURIComponent(o).replace(/\+/g," ")),"tr"!==r&&"xs"!==r&&"as"!==r&&"ws"!==r||(o=decodeURIComponent(o)),"kt"===r&&(o=decodeURIComponent(o).split("+")),"ix"===r&&(o=Number(o)),"so"===r&&(o=i.parse(decodeURIComponent(o).split(","))),n[r]?(Array.isArray(n[r])||(n[r]=[n[r]]),n[r].push(o)):n[r]=o}})),n.xt)&&(Array.isArray(n.xt)?n.xt:[n.xt]).forEach((function(e){if(t=e.match(/^urn:btih:(.{40})/))n.infoHash=t[1].toLowerCase();else if(t=e.match(/^urn:btih:(.{32})/)){var i=r.decode(t[1]);n.infoHash=Buffer.from(i,"binary").toString("hex")}else(t=e.match(/^urn:btmh:1220(.{64})/))&&(n.infoHashV2=t[1].toLowerCase())}));n.xs&&(Array.isArray(n.xs)?n.xs:[n.xs]).forEach((function(e){(t=e.match(/^urn:btpk:(.{64})/))&&(n.publicKey=t[1].toLowerCase())}));return n.infoHash&&(n.infoHashBuffer=Buffer.from(n.infoHash,"hex")),n.infoHashV2&&(n.infoHashV2Buffer=Buffer.from(n.infoHashV2,"hex")),n.publicKey&&(n.publicKeyBuffer=Buffer.from(n.publicKey,"hex")),n.dn&&(n.name=n.dn),n.kt&&(n.keywords=n.kt),n.announce=[],("string"===typeof n.tr||Array.isArray(n.tr))&&(n.announce=n.announce.concat(n.tr)),n.urlList=[],("string"===typeof n.as||Array.isArray(n.as))&&(n.urlList=n.urlList.concat(n.as)),("string"===typeof n.ws||Array.isArray(n.ws))&&(n.urlList=n.urlList.concat(n.ws)),n.peerAddresses=[],("string"===typeof n["x.pe"]||Array.isArray(n["x.pe"]))&&(n.peerAddresses=n.peerAddresses.concat(n["x.pe"])),n.announce=Array.from(new Set(n.announce)),n.urlList=Array.from(new Set(n.urlList)),n.peerAddresses=Array.from(new Set(n.peerAddresses)),n}},68437:function(e,t,n){"use strict";var r=n(12534),i=n(86266),o=n(82543).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<>>32-t}function u(e,t,n,r,i,o,a){return c(e+(t&n|~t&r)+i+o|0,a)+t|0}function l(e,t,n,r,i,o,a){return c(e+(t&r|n&~r)+i+o|0,a)+t|0}function f(e,t,n,r,i,o,a){return c(e+(t^n^r)+i+o|0,a)+t|0}function d(e,t,n,r,i,o,a){return c(e+(n^(t|~r))+i+o|0,a)+t|0}r(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=u(n,r,i,o,e[0],3614090360,7),o=u(o,n,r,i,e[1],3905402710,12),i=u(i,o,n,r,e[2],606105819,17),r=u(r,i,o,n,e[3],3250441966,22),n=u(n,r,i,o,e[4],4118548399,7),o=u(o,n,r,i,e[5],1200080426,12),i=u(i,o,n,r,e[6],2821735955,17),r=u(r,i,o,n,e[7],4249261313,22),n=u(n,r,i,o,e[8],1770035416,7),o=u(o,n,r,i,e[9],2336552879,12),i=u(i,o,n,r,e[10],4294925233,17),r=u(r,i,o,n,e[11],2304563134,22),n=u(n,r,i,o,e[12],1804603682,7),o=u(o,n,r,i,e[13],4254626195,12),i=u(i,o,n,r,e[14],2792965006,17),n=l(n,r=u(r,i,o,n,e[15],1236535329,22),i,o,e[1],4129170786,5),o=l(o,n,r,i,e[6],3225465664,9),i=l(i,o,n,r,e[11],643717713,14),r=l(r,i,o,n,e[0],3921069994,20),n=l(n,r,i,o,e[5],3593408605,5),o=l(o,n,r,i,e[10],38016083,9),i=l(i,o,n,r,e[15],3634488961,14),r=l(r,i,o,n,e[4],3889429448,20),n=l(n,r,i,o,e[9],568446438,5),o=l(o,n,r,i,e[14],3275163606,9),i=l(i,o,n,r,e[3],4107603335,14),r=l(r,i,o,n,e[8],1163531501,20),n=l(n,r,i,o,e[13],2850285829,5),o=l(o,n,r,i,e[2],4243563512,9),i=l(i,o,n,r,e[7],1735328473,14),n=f(n,r=l(r,i,o,n,e[12],2368359562,20),i,o,e[5],4294588738,4),o=f(o,n,r,i,e[8],2272392833,11),i=f(i,o,n,r,e[11],1839030562,16),r=f(r,i,o,n,e[14],4259657740,23),n=f(n,r,i,o,e[1],2763975236,4),o=f(o,n,r,i,e[4],1272893353,11),i=f(i,o,n,r,e[7],4139469664,16),r=f(r,i,o,n,e[10],3200236656,23),n=f(n,r,i,o,e[13],681279174,4),o=f(o,n,r,i,e[0],3936430074,11),i=f(i,o,n,r,e[3],3572445317,16),r=f(r,i,o,n,e[6],76029189,23),n=f(n,r,i,o,e[9],3654602809,4),o=f(o,n,r,i,e[12],3873151461,11),i=f(i,o,n,r,e[15],530742520,16),n=d(n,r=f(r,i,o,n,e[2],3299628645,23),i,o,e[0],4096336452,6),o=d(o,n,r,i,e[7],1126891415,10),i=d(i,o,n,r,e[14],2878612391,15),r=d(r,i,o,n,e[5],4237533241,21),n=d(n,r,i,o,e[12],1700485571,6),o=d(o,n,r,i,e[3],2399980690,10),i=d(i,o,n,r,e[10],4293915773,15),r=d(r,i,o,n,e[1],2240044497,21),n=d(n,r,i,o,e[8],1873313359,6),o=d(o,n,r,i,e[15],4264355552,10),i=d(i,o,n,r,e[6],2734768916,15),r=d(r,i,o,n,e[13],1309151649,21),n=d(n,r,i,o,e[4],4149444226,6),o=d(o,n,r,i,e[11],3174756917,10),i=d(i,o,n,r,e[2],718787259,15),r=d(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},22366:function(e){"use strict";var t={};function n(e,r,i){var o,a,s,c,u,l="";for("string"!==typeof r&&(i=r,r=n.defaultChars),"undefined"===typeof i&&(i=!0),u=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&c<=57343){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[o]);return l}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},7558:function(e,t,n){e.exports=c;var r=n(12534),i=n(90723),o=n(40284),a="undefined"!==typeof window&&window.MediaSource,s=60;function c(e,t){var n=this;if(!(n instanceof c))return new c(e,t);if(!a)throw new Error("web browser lacks MediaSource support");t||(t={}),n._debug=t.debug,n._bufferDuration=t.bufferDuration||s,n._elem=e,n._mediaSource=new a,n._streams=[],n.detailedError=null,n._errorHandler=function(){n._elem.removeEventListener("error",n._errorHandler),n._streams.slice().forEach((function(e){e.destroy(n._elem.error)}))},n._elem.addEventListener("error",n._errorHandler),n._elem.src=window.URL.createObjectURL(n._mediaSource)}function u(e,t){var n=this;if(i.Writable.call(n),n._wrapper=e,n._elem=e._elem,n._mediaSource=e._mediaSource,n._allStreams=e._streams,n._allStreams.push(n),n._bufferDuration=e._bufferDuration,n._sourceBuffer=null,n._debugBuffers=[],n._openHandler=function(){n._onSourceOpen()},n._flowHandler=function(){n._flow()},n._errorHandler=function(e){n.destroyed||n.emit("error",e)},"string"===typeof t)n._type=t,"open"===n._mediaSource.readyState?n._createSourceBuffer():n._mediaSource.addEventListener("sourceopen",n._openHandler);else if(null===t._sourceBuffer)t.destroy(),n._type=t._type,n._mediaSource.addEventListener("sourceopen",n._openHandler);else{if(!t._sourceBuffer)throw new Error("The argument to MediaElementWrapper.createWriteStream must be a string or a previous stream returned from that function");t.destroy(),n._type=t._type,n._sourceBuffer=t._sourceBuffer,n._debugBuffers=t._debugBuffers,n._sourceBuffer.addEventListener("updateend",n._flowHandler),n._sourceBuffer.addEventListener("error",n._errorHandler)}n._elem.addEventListener("timeupdate",n._flowHandler),n.on("error",(function(e){n._wrapper.error(e)})),n.on("finish",(function(){if(!n.destroyed&&(n._finished=!0,n._allStreams.every((function(e){return e._finished})))){n._wrapper._dumpDebugData();try{n._mediaSource.endOfStream()}catch(e){}}}))}c.prototype.createWriteStream=function(e){return new u(this,e)},c.prototype.error=function(e){var t=this;t.detailedError||(t.detailedError=e),t._dumpDebugData();try{t._mediaSource.endOfStream("decode")}catch(e){}try{window.URL.revokeObjectURL(t._elem.src)}catch(e){}},c.prototype._dumpDebugData=function(){var e=this;e._debug&&(e._debug=!1,e._streams.forEach((function(e,t){!function(e,t){var n=document.createElement("a");n.href=window.URL.createObjectURL(new window.Blob(e)),n.download=t,n.click()}(e._debugBuffers,"mediasource-stream-"+t)})))},r(u,i.Writable),u.prototype._onSourceOpen=function(){var e=this;e.destroyed||(e._mediaSource.removeEventListener("sourceopen",e._openHandler),e._createSourceBuffer())},u.prototype.destroy=function(e){var t=this;t.destroyed||(t.destroyed=!0,t._allStreams.splice(t._allStreams.indexOf(t),1),t._mediaSource.removeEventListener("sourceopen",t._openHandler),t._elem.removeEventListener("timeupdate",t._flowHandler),t._sourceBuffer&&(t._sourceBuffer.removeEventListener("updateend",t._flowHandler),t._sourceBuffer.removeEventListener("error",t._errorHandler),"open"===t._mediaSource.readyState&&t._sourceBuffer.abort()),e&&t.emit("error",e),t.emit("close"))},u.prototype._createSourceBuffer=function(){var e=this;if(!e.destroyed)if(a.isTypeSupported(e._type)){if(e._sourceBuffer=e._mediaSource.addSourceBuffer(e._type),e._sourceBuffer.addEventListener("updateend",e._flowHandler),e._sourceBuffer.addEventListener("error",e._errorHandler),e._cb){var t=e._cb;e._cb=null,t()}}else e.destroy(new Error("The provided type is not supported"))},u.prototype._write=function(e,t,n){var r=this;if(!r.destroyed)if(r._sourceBuffer){if(r._sourceBuffer.updating)return n(new Error("Cannot append buffer while source buffer updating"));var i=o(e);r._wrapper._debug&&r._debugBuffers.push(i);try{r._sourceBuffer.appendBuffer(i)}catch(a){return void r.destroy(a)}r._cb=n}else r._cb=function(i){if(i)return n(i);r._write(e,t,n)}},u.prototype._flow=function(){var e=this;if(!e.destroyed&&e._sourceBuffer&&!e._sourceBuffer.updating&&!("open"===e._mediaSource.readyState&&e._getBufferDuration()>e._bufferDuration)&&e._cb){var t=e._cb;e._cb=null,t()}};u.prototype._getBufferDuration=function(){for(var e=this._sourceBuffer.buffered,t=this._elem.currentTime,n=-1,r=0;rt)break;(n>=0||t<=o)&&(n=o)}var a=n-t;return a<0&&(a=0),a}},75452:function(e,t,n){e.exports=i;var r=n(44183);function i(e,t){if(!(this instanceof i))return new i(e,t);if(t||(t={}),this.chunkLength=Number(e),!this.chunkLength)throw new Error("First argument must be a chunk length");this.chunks=[],this.closed=!1,this.length=Number(t.length)||1/0,this.length!==1/0&&(this.lastChunkLength=this.length%this.chunkLength||this.chunkLength,this.lastChunkIndex=Math.ceil(this.length/this.chunkLength)-1)}i.prototype.put=function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(this.closed)return r((function(){return i(new Error("Storage is closed"))}));var o=e===this.lastChunkIndex;return o&&t.length!==this.lastChunkLength?r((function(){return i(new Error("Last chunk length must be "+n.lastChunkLength))})):o||t.length===this.chunkLength?(this.chunks[e]=t,void r((function(){return i(null)}))):r((function(){return i(new Error("Chunk length must be "+n.chunkLength))}))},i.prototype.get=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"===typeof t)return this.get(e,null,t);if(this.closed)return r((function(){return n(new Error("Storage is closed"))}));var i=this.chunks[e];if(!i){var o=new Error("Chunk not found");return o.notFound=!0,r((function(){return n(o)}))}t||(t={});var a=t.offset||0,s=t.length||i.length-a;0===a&&s===i.length||(i=i.slice(a,s+a)),r((function(){return n(null,i)}))},i.prototype.close=i.prototype.destroy=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};if(this.closed)return r((function(){return e(new Error("Storage is closed"))}));this.closed=!0,this.chunks=null,r((function(){return e(null)}))}},31595:function(e,t,n){var r=n(80518),i=n(26084);function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},o.prototype.test=function(e,t,n){var i=e.bitLength(),o=r.mont(e),a=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),c=0;!s.testn(c);c++);for(var u=e.shrn(c),l=s.toRed(o);t>0;t--){var f=this._randrange(new r(2),s);n&&n(f);var d=f.toRed(o).redPow(u);if(0!==d.cmp(a)&&0!==d.cmp(l)){for(var h=1;h0;t--){var l=this._randrange(new r(2),a),f=e.gcd(l);if(0!==f.cmpn(1))return f;var d=l.toRed(i).redPow(c);if(0!==d.cmp(o)&&0!==d.cmp(u)){for(var h=1;h>8,a=255&i;o?n.push(o,a):n.push(a)}return n},n.zero2=r,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}},75371:function(e,t,n){var r=n(30643),i=n(89105),o=n(74116),a=20828448e5;t.fullBoxes={};function s(e,t,n){for(var r=t;r=8;){var c=r.decode(e,s,i);a.children.push(c),a[c.type]=c,s+=c.length}return a},t.VisualSampleEntry.encodingLength=function(e){var t=78;return(e.children||[]).forEach((function(e){t+=r.encodingLength(e)})),t},t.avcC={},t.avcC.encode=function(e,n,r){n=n?n.slice(r):Buffer.alloc(e.buffer.length),e.buffer.copy(n),t.avcC.encode.bytes=e.buffer.length},t.avcC.decode=function(e,t,n){return{mimeCodec:(e=e.slice(t,n)).toString("hex",1,4),buffer:Buffer.from(e)}},t.avcC.encodingLength=function(e){return e.buffer.length},t.mp4a=t.AudioSampleEntry={},t.AudioSampleEntry.encode=function(e,n,i){s(n=n?n.slice(i):Buffer.alloc(t.AudioSampleEntry.encodingLength(e)),0,6),n.writeUInt16BE(e.dataReferenceIndex||0,6),s(n,8,16),n.writeUInt16BE(e.channelCount||2,16),n.writeUInt16BE(e.sampleSize||16,18),s(n,20,24),n.writeUInt32BE(e.sampleRate||0,24);var o=28;(e.children||[]).forEach((function(e){r.encode(e,n,o),o+=r.encode.bytes})),t.AudioSampleEntry.encode.bytes=o},t.AudioSampleEntry.decode=function(e,t,n){for(var i=n-t,o={dataReferenceIndex:(e=e.slice(t,n)).readUInt16BE(6),channelCount:e.readUInt16BE(16),sampleSize:e.readUInt16BE(18),sampleRate:e.readUInt32BE(24),children:[]},a=28;i-a>=8;){var s=r.decode(e,a,i);o.children.push(s),o[s.type]=s,a+=s.length}return o},t.AudioSampleEntry.encodingLength=function(e){var t=28;return(e.children||[]).forEach((function(e){t+=r.encodingLength(e)})),t},t.esds={},t.esds.encode=function(e,n,r){n=n?n.slice(r):Buffer.alloc(e.buffer.length),e.buffer.copy(n,0),t.esds.encode.bytes=e.buffer.length},t.esds.decode=function(e,t,n){e=e.slice(t,n);var r=i.Descriptor.decode(e,0,e.length),o=("ESDescriptor"===r.tagName?r:{}).DecoderConfigDescriptor||{},a=o.oti||0,s=o.DecoderSpecificInfo,c=s?(248&s.buffer.readUInt8(0))>>3:0,u=null;return a&&(u=a.toString(16),c&&(u+="."+c)),{mimeCodec:u,buffer:Buffer.from(e.slice(0))}},t.esds.encodingLength=function(e){return e.buffer.length},t.stsz={},t.stsz.encode=function(e,n,r){var i=e.entries||[];(n=n?n.slice(r):Buffer.alloc(t.stsz.encodingLength(e))).writeUInt32BE(0,0),n.writeUInt32BE(i.length,4);for(var o=0;oo&&(u=1),t.writeUInt32BE(u,n),t.write(e.type,n+4,4,"ascii");var l=n+8;if(1===u&&(r.encode(e.length,t,l),l+=8),i.fullBoxes[c]&&(t.writeUInt32BE(e.flags||0,l),t.writeUInt8(e.version||0,l),l+=4),s[c])s[c].forEach((function(n){if(5===n.length){var r=e[n]||[];n=n.substr(0,4),r.forEach((function(e){a._encode(e,t,l),l+=a.encode.bytes}))}else e[n]&&(a._encode(e[n],t,l),l+=a.encode.bytes)})),e.otherBoxes&&e.otherBoxes.forEach((function(e){a._encode(e,t,l),l+=a.encode.bytes}));else if(i[c]){var f=i[c].encode;f(e,t,l),l+=f.bytes}else{if(!e.buffer)throw new Error("Either `type` must be set to a known type (not'"+c+"') or `buffer` must be set");e.buffer.copy(t,l),l+=e.buffer.length}return a.encode.bytes=l-n,t},a.readHeaders=function(e,t,n){if(t=t||0,(n=n||e.length)-t<8)return 8;var o,a,s=e.readUInt32BE(t),c=e.toString("ascii",t+4,t+8),u=t+8;if(1===s){if(n-t<16)return 16;s=r.decode(e,u),u+=8}return i.fullBoxes[c]&&(o=e.readUInt8(u),a=16777215&e.readUInt32BE(u),u+=4),{length:s,headersLen:u-t,contentLen:s-(u-t),type:c,version:o,flags:a}},a.decode=function(e,t,n){t=t||0,n=n||e.length;var r=a.readHeaders(e,t,n);if(!r||r.length>n-t)throw new Error("Data too short");return a.decodeWithoutHeaders(r,e,t+r.headersLen,t+r.length)},a.decodeWithoutHeaders=function(e,t,n,r){n=n||0,r=r||t.length;var o=e.type,c={};if(s[o]){c.otherBoxes=[];for(var u=s[o],l=n;r-l>=8;){var f=a.decode(t,l,r);if(l+=f.length,u.indexOf(f.type)>=0)c[f.type]=f;else if(u.indexOf(f.type+"s")>=0){var d=f.type+"s";(c[d]=c[d]||[]).push(f)}else c.otherBoxes.push(f)}}else if(i[o]){c=(0,i[o].decode)(t,n,r)}else c.buffer=Buffer.from(t.slice(n,r));return c.length=e.length,c.contentLen=e.contentLen,c.type=e.type,c.version=e.version,c.flags=e.flags,c},a.encodingLength=function(e){var t=e.type,n=8;if(i.fullBoxes[t]&&(n+=4),s[t])s[t].forEach((function(t){if(5===t.length){var r=e[t]||[];t=t.substr(0,4),r.forEach((function(e){e.type=t,n+=a.encodingLength(e)}))}else if(e[t]){var i=e[t];i.type=t,n+=a.encodingLength(i)}})),e.otherBoxes&&e.otherBoxes.forEach((function(e){n+=a.encodingLength(e)}));else if(i[t])n+=i[t].encodingLength(e);else{if(!e.buffer)throw new Error("Either `type` must be set to a known type (not'"+t+"') or `buffer` must be set");n+=e.buffer.length}return n>o&&(n+=8),e.length=n,n}},47868:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(61655).default,a=n(26389).default,s=n(90723),c=n(27691),u=n(30643),l=Buffer.alloc(0),f=function(e){"use strict";o(n,e);var t=a(n);function n(e){var i;return r(this,n),(i=t.call(this,e)).destroyed=!1,i._pending=0,i._missing=0,i._ignoreEmpty=!1,i._buf=null,i._str=null,i._cb=null,i._ondrain=null,i._writeBuffer=null,i._writeCb=null,i._ondrain=null,i._kick(),i}return i(n,[{key:"destroy",value:function(e){this.destroyed||(this.destroyed=!0,e&&this.emit("error",e),this.emit("close"))}},{key:"_write",value:function(e,t,n){if(!this.destroyed){for(var r=!this._str||!this._str._writableState.needDrain;e.length&&!this.destroyed;){if(!this._missing&&!this._ignoreEmpty)return this._writeBuffer=e,void(this._writeCb=n);var i=e.length=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,c){c=c||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&isFinite(e))return c.long?function(e){var o=Math.abs(e);if(o>=i)return s(e,o,i,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=i)return Math.round(e/i)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},27691:function(e){e.exports=function(e,t){var n=null;return e.on(t,(function(e){if(n){var t=n;n=null,t(e)}})),function(e){n=e}}},14876:function(e,t,n){var r=n(66418);function i(e){var t=function t(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function o(e){var t=function t(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},n=e.name||"Function wrapped with `once`";return t.onceError=n+" shouldn't be called more than once",t.called=!1,t}e.exports=r(i),e.exports.strict=r(o),i.proto=i((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return o(this)},configurable:!0})}))},63465:function(e,t,n){"use strict";var r=n(16522);t.certificate=n(18799);var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));t.PublicKey=a;var s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=c;var u=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=u;var l=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=l,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var f=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=f;var d=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},18799:function(e,t,n){"use strict";var r=n(16522),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),c=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),u=r.define("RDNSequence",(function(){this.seqof(c)})),l=r.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),f=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),d=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),h=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(l),this.key("validity").use(f),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));e.exports=p},722:function(e,t,n){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=n(48462),s=n(23525),c=n(82543).Buffer;e.exports=function(e,t){var n,u=e.toString(),l=u.match(r);if(l){var f="aes"+l[1],d=c.from(l[2],"hex"),h=c.from(l[3].replace(/[\r\n]/g,""),"base64"),p=a(t,d.slice(0,8),parseInt(l[1],10)).key,m=[],v=s.createDecipheriv(f,p,d);m.push(v.update(h)),m.push(v.final()),n=c.concat(m)}else{var g=u.match(o);n=c.from(g[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(i)[1],data:n}}},37510:function(e,t,n){var r=n(63465),i=n(22562),o=n(722),a=n(23525),s=n(95896),c=n(82543).Buffer;function u(e){var t;"object"!==typeof e||c.isBuffer(e)||(t=e.passphrase,e=e.key),"string"===typeof e&&(e=c.from(e));var n,u,l=o(e,t),f=l.tag,d=l.data;switch(f){case"CERTIFICATE":u=r.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=r.PublicKey.decode(d,"der")),n=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=r.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":d=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,l=e.subjectPrivateKey,f=parseInt(o.split("-")[1],10)/8,d=s.pbkdf2Sync(t,n,r,f,"sha1"),h=a.createDecipheriv(o,d,u),p=[];return p.push(h.update(l)),p.push(h.final()),c.concat(p)}(d=r.EncryptedPrivateKey.decode(d,"der"),t);case"PRIVATE KEY":switch(n=(u=r.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:r.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=r.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=r.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+f)}}e.exports=u,u.signature=r.signature},46785:function(e,t,n){var r=n(67715),i=n(51492),o=n(31982),a=n(73998),s=n(65631),c=n(88122),u=n(92271),l=n(44183);function f(e){if("string"===typeof e&&/^(stream-)?magnet:/.test(e)){var t=s(e);if(!t.infoHash)throw new Error("Invalid torrent identifier");return t}if("string"===typeof e&&(/^[a-f0-9]{40}$/i.test(e)||/^[a-z2-7]{32}$/i.test(e)))return s("magnet:?xt=urn:btih:".concat(e));if(Buffer.isBuffer(e)&&20===e.length)return s("magnet:?xt=urn:btih:".concat(e.toString("hex")));if(Buffer.isBuffer(e))return function(e){Buffer.isBuffer(e)&&(e=r.decode(e));h(e.info,"info"),h(e.info["name.utf-8"]||e.info.name,"info.name"),h(e.info["piece length"],"info['piece length']"),h(e.info.pieces,"info.pieces"),e.info.files?e.info.files.forEach((function(e){h("number"===typeof e.length,"info.files[0].length"),h(e["path.utf-8"]||e.path,"info.files[0].path")})):h("number"===typeof e.info.length,"info.length");var t={info:e.info,infoBuffer:r.encode(e.info),name:(e.info["name.utf-8"]||e.info.name).toString(),announce:[]};t.infoHash=u.sync(t.infoBuffer),t.infoHashBuffer=Buffer.from(t.infoHash,"hex"),void 0!==e.info.private&&(t.private=!!e.info.private);e["creation date"]&&(t.created=new Date(1e3*e["creation date"]));e["created by"]&&(t.createdBy=e["created by"].toString());Buffer.isBuffer(e.comment)&&(t.comment=e.comment.toString());Array.isArray(e["announce-list"])&&e["announce-list"].length>0?e["announce-list"].forEach((function(e){e.forEach((function(e){t.announce.push(e.toString())}))})):e.announce&&t.announce.push(e.announce.toString());Buffer.isBuffer(e["url-list"])&&(e["url-list"]=e["url-list"].length>0?[e["url-list"]]:[]);t.urlList=(e["url-list"]||[]).map((function(e){return e.toString()})),t.announce=Array.from(new Set(t.announce)),t.urlList=Array.from(new Set(t.urlList));var n=e.info.files||[e.info];t.files=n.map((function(e,r){var i=[].concat(t.name,e["path.utf-8"]||e.path||[]).map((function(e){return e.toString()}));return{path:c.join.apply(null,[c.sep].concat(i)).slice(1),name:i[i.length-1],length:e.length,offset:n.slice(0,r).reduce(d,0)}})),t.length=n.reduce(d,0);var i=t.files[t.files.length-1];return t.pieceLength=e.info["piece length"],t.lastPieceLength=(i.offset+i.length)%t.pieceLength||t.pieceLength,t.pieces=function(e){for(var t=[],n=0;n2){var c=r.lastIndexOf("/");if(c!==r.length-1){-1===c?(r="",i=0):i=(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a;o>=0?a=arguments[o]:(void 0===e&&(e=process.cwd()),a=e),t(a),0!==a.length&&(r=a+"/"+r,i=47===a.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;iu){if(47===n.charCodeAt(s+f))return n.slice(s+f+1);if(0===f)return n.slice(s+f)}else a>u&&(47===e.charCodeAt(i+f)?l=f:0===f&&(l=0));break}var d=e.charCodeAt(i+f);if(d!==n.charCodeAt(s+f))break;47===d&&(l=f)}var h="";for(f=i+l+1;f<=o;++f)f!==o&&47!==e.charCodeAt(f)||(0===h.length?h+="..":h+="/..");return h.length>0?h+n.slice(s+l):(s+=l,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!==typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,c=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!a){i=r+1;break}}else-1===c&&(a=!1,c=r+1),s>=0&&(u===n.charCodeAt(s)?-1===--s&&(o=r):(s=-1,o=c))}return i===o?o=c:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===i&&(o=!1,i=s+1),46===c?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){r=s+1;break}}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!==typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,c=-1,u=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(i=e.charCodeAt(l)))-1===c&&(u=!1,c=l+1),46===i?-1===a?a=l:1!==f&&(f=1):-1!==a&&(f=-1);else if(!u){s=l+1;break}return-1===a||-1===c||0===f||1===f&&a===c-1&&a===s+1?-1!==c&&(n.base=n.name=0===s&&o?e.slice(1,c):e.slice(s,c)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,c)):(n.name=e.slice(s,a),n.base=e.slice(s,c)),n.ext=e.slice(a,c)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},95896:function(e,t,n){t.pbkdf2=n(66770),t.pbkdf2Sync=n(68017)},66770:function(e,t,n){var r,i,o=n(82543).Buffer,a=n(46048),s=n(74404),c=n(68017),u=n(52734),l=n.g.crypto&&n.g.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function h(){return i||(i=n.g.process&&n.g.process.nextTick?n.g.process.nextTick:n.g.queueMicrotask?n.g.queueMicrotask:n.g.setImmediate?n.g.setImmediate:n.g.setTimeout)}function p(e,t,n,r,i){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return o.from(e)}))}e.exports=function(e,t,i,m,v,g){"function"===typeof v&&(g=v,v=void 0);var y=f[(v=v||"sha1").toLowerCase()];if(y&&"function"===typeof n.g.Promise){if(a(i,m),e=u(e,s,"Password"),t=u(t,s,"Salt"),"function"!==typeof g)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){h()((function(){t(null,e)}))}),(function(e){h()((function(){t(e)}))}))}(function(e){if(n.g.process&&!n.g.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var t=p(r=r||o.alloc(8),r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=t,t}(y).then((function(n){return n?p(e,t,i,m,y):c(e,t,i,m,v)})),g)}else h()((function(){var n;try{n=c(e,t,i,m,v)}catch(r){return g(r)}g(null,n)}))}},74404:function(e,t,n){var r;if(n.g.process&&n.g.process.browser)r="utf-8";else if(n.g.process&&n.g.process.version){r=parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else r="utf-8";e.exports=r},46048:function(e){var t=Math.pow(2,30)-1;e.exports=function(e,n){if("number"!==typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!==typeof n)throw new TypeError("Key length not a number");if(n<0||n>t||n!==n)throw new TypeError("Bad key length")}},68017:function(e,t,n){var r=n(55378),i=n(83375),o=n(85730),a=n(82543).Buffer,s=n(46048),c=n(74404),u=n(52734),l=a.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,n){var s=function(e){function t(t){return o(e).update(t).digest()}function n(e){return(new i).update(e).digest()}return"rmd160"===e||"ripemd160"===e?n:"md5"===e?r:t}(e),c="sha512"===e||"sha384"===e?128:64;t.length>c?t=s(t):t.length1)for(var n=1;np||new a(t).cmp(h.modulus)>=0)throw new Error("decryption error");d=n?u(new a(t),h):s(t,h);var m=l.alloc(p-d.length);if(d=l.concat([m,d],p),4===f)return function(e,t){var n=e.modulus.byteLength(),r=c("sha1").update(l.alloc(0)).digest(),a=r.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,a+1),u=t.slice(a+1),f=o(s,i(u,a)),d=o(u,i(f,n-a-1));if(function(e,t){e=l.from(e),t=l.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;for(;++i=t.length){o++;break}var a=t.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(i)}(0,d,n);if(3===f)return d;throw new Error("unknown padding")}},92190:function(e,t,n){var r=n(37510),i=n(12525),o=n(83569),a=n(77135),s=n(61214),c=n(80518),u=n(4383),l=n(81330),f=n(82543).Buffer;e.exports=function(e,t,n){var d;d=e.padding?e.padding:n?1:4;var h,p=r(e);if(4===d)h=function(e,t){var n=e.modulus.byteLength(),r=t.length,u=o("sha1").update(f.alloc(0)).digest(),l=u.length,d=2*l;if(r>n-d-2)throw new Error("message too long");var h=f.alloc(n-r-d-2),p=n-l-1,m=i(l),v=s(f.concat([u,h,f.alloc(1,1),t],p),a(m,p)),g=s(m,a(v,l));return new c(f.concat([f.alloc(1),g,v],n))}(p,t);else if(1===d)h=function(e,t,n){var r,o=t.length,a=e.modulus.byteLength();if(o>a-11)throw new Error("message too long");r=n?f.alloc(a-o-3,255):function(e){var t,n=f.allocUnsafe(e),r=0,o=i(2*e),a=0;for(;r=0)throw new Error("data too long for modulus")}return n?l(h,p):u(h,p)}},4383:function(e,t,n){var r=n(80518),i=n(82543).Buffer;e.exports=function(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}},61214:function(e){e.exports=function(e,t){for(var n=e.length,r=-1;++r0,(function(t){e||(e=t),t&&r.forEach(l),a||(r.forEach(l),n(e))}))}));return t.reduce(f)}},74687:function(e,t){var n,r,i,o=function(){var e=function(e,t){var n=e,r=o[t],i=null,a=0,s=null,c=[],u={},l=function(e,t){i=function(e){for(var t=new Array(e),n=0;n=7&&m(e),null==s&&(s=C(n,r,c)),S(s,t)},f=function(e,t){for(var n=-1;n<=7;n+=1)if(!(e+n<=-1||a<=e+n))for(var r=-1;r<=7;r+=1)t+r<=-1||a<=t+r||(i[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},d=function(){for(var e=8;e>r&1);i[Math.floor(r/3)][r%3+a-8-3]=o}for(r=0;r<18;r+=1){o=!e&&1==(t>>r&1);i[r%3+a-8-3][Math.floor(r/3)]=o}},k=function(e,t){for(var n=r<<3|t,o=p.getBCHTypeInfo(n),s=0;s<15;s+=1){var c=!e&&1==(o>>s&1);s<6?i[s][8]=c:s<8?i[s+1][8]=c:i[a-15+s][8]=c}for(s=0;s<15;s+=1){c=!e&&1==(o>>s&1);s<8?i[8][a-s-1]=c:s<9?i[8][15-s-1+1]=c:i[8][15-s-1]=c}i[a-8][8]=!e},S=function(e,t){for(var n=-1,r=a-1,o=7,s=0,c=p.getMaskFunction(t),u=a-1;u>0;u-=2)for(6==u&&(u-=1);;){for(var l=0;l<2;l+=1)if(null==i[r][u-l]){var f=!1;s>>o&1)),c(r,u-l)&&(f=!f),i[r][u-l]=f,-1==(o-=1)&&(s+=1,o=7)}if((r+=n)<0||a<=r){r-=n,n=-n;break}}},C=function(e,t,n){for(var r=g.getRSBlocks(e,t),i=y(),o=0;o8*s)throw"code length overflow. ("+i.getLengthInBits()+">"+8*s+")";for(i.getLengthInBits()+4<=8*s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*s)&&(i.put(236,8),!(i.getLengthInBits()>=8*s));)i.put(17,8);return function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),a=new Array(t.length),s=0;s=0?d.getAt(h):0}}var m=0;for(l=0;lr)&&(e=r,t=n)}return t}())},u.createTableTag=function(e,t){e=e||2;var n="";n+='";for(var i=0;i';n+=""}return n+="",n+="
"},u.createSvgTag=function(e,t,n,r){var i={};"object"==typeof arguments[0]&&(e=(i=arguments[0]).cellSize,t=i.margin,n=i.alt,r=i.title),e=e||2,t="undefined"==typeof t?4*e:t,(n="string"===typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-description":null,(r="string"===typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-title":null;var o,a,s,c,l=u.getModuleCount()*e+2*t,f="";for(c="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",f+=''+M(r.text)+"":"",f+=n.text?''+M(n.text)+"":"",f+='',f+='":t+=">";break;case"&":t+="&";break;case'"':t+=""";break;default:t+=r}}return t};return u.createASCII=function(e,t){if((e=e||1)<2)return function(e){e="undefined"==typeof e?2:e;var t,n,r,i,o,a=1*u.getModuleCount()+2*e,s=e,c=a-e,l={"\u2588\u2588":"\u2588","\u2588 ":"\u2580"," \u2588":"\u2584"," ":" "},f={"\u2588\u2588":"\u2580","\u2588 ":"\u2580"," \u2588":" "," ":" "},d="";for(t=0;t=c?f[o]:l[o];d+="\n"}return a%2&&e>0?d.substring(0,d.length-a-1)+Array(a+1).join("\u2580"):d.substring(0,d.length-1)}(t);e-=1,t="undefined"==typeof t?2*e:t;var n,r,i,o,a=u.getModuleCount()*e+2*t,s=t,c=a-t,l=Array(e+1).join("\u2588\u2588"),f=Array(e+1).join(" "),d="",h="";for(n=0;n>>8),t.push(255&a)):t.push(r)}}return t}};var t=1,n=2,r=4,i=8,o={L:1,M:0,Q:3,H:2},a=0,s=1,c=2,u=3,l=4,f=5,d=6,h=7,p=function(){var e=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],o=1335,p=7973,g={},y=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t};return g.getBCHTypeInfo=function(e){for(var t=e<<10;y(t)-y(o)>=0;)t^=o<=0;)t^=p<5&&(n+=3+o-5)}for(r=0;r=256;)t-=255;return e[t]}};return r}();function v(e,t){if("undefined"==typeof e.length)throw e.length+"/"+t;var n=function(){for(var n=0;n>>7-t%8&1)},put:function(e,t){for(var r=0;r>>t-r-1&1))},getLengthInBits:function(){return t},putBit:function(n){var r=Math.floor(t/8);e.length<=r&&e.push(0),n&&(e[r]|=128>>>t%8),t+=1}};return n},b=function(e){var n=t,r=e,i={getMode:function(){return n},getLength:function(e){return r.length},write:function(e){for(var t=r,n=0;n+2>>8&255)+(255&r),e.put(r,13),n+=2}if(n>>8)},writeBytes:function(e,n,r){n=n||0,r=r||e.length;for(var i=0;i0&&(t+=","),t+=e[n];return t+="]"}};return t},S=function(e){var t=e,n=0,r=0,i=0,o={read:function(){for(;i<8;){if(n>=t.length){if(0==i)return-1;throw"unexpected end of file./"+i}var e=t.charAt(n);if(n+=1,"="==e)return i=0,-1;e.match(/^\s$/)||(r=r<<6|a(e.charCodeAt(0)),i+=6)}var o=r>>>i-8&255;return i-=8,o}},a=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return o},E=function(e,t,n){for(var r=function(e,t){var n=e,r=t,i=new Array(e*t),o={setPixel:function(e,t,r){i[t*n+e]=r},write:function(e){e.writeString("GIF87a"),e.writeShort(n),e.writeShort(r),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(n),e.writeShort(r),e.writeByte(0);var t=a(2);e.writeByte(2);for(var i=0;t.length-i>255;)e.writeByte(255),e.writeBytes(t,i,255),i+=255;e.writeByte(t.length-i),e.writeBytes(t,i,t.length-i),e.writeByte(0),e.writeString(";")}},a=function(e){for(var t=1<>>i!=0)throw"length over";for(;n+i>=8;)t.writeByte(255&(e<>>=8-n,r=0,n=0;r|=e<0&&t.writeByte(r)}}}(c);u.write(t,r);var l=0,f=String.fromCharCode(i[l]);for(l+=1;l=6;)o(e>>>t-6),t-=6},i.flush=function(){if(t>0&&(o(e<<6-t),e=0,t=0),n%3!=0)for(var i=3-n%3,a=0;a>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t}(e)},r=[],void 0===(i="function"===typeof(n=function(){return o})?n.apply(t,r):n)||(e.exports=i)},97059:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!==typeof e||0===e.length)return o;var a=/\+/g;e=e.split(n);var s=1e3;i&&"number"===typeof i.maxKeys&&(s=i.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var u=0;u=0?(l=p.substr(0,m),f=p.substr(m+1)):(l=p,f=""),d=decodeURIComponent(l),h=decodeURIComponent(f),t(o,d)?Array.isArray(o[d])?o[d].push(h):o[d]=[o[d],h]:o[d]=h}return o}},94297:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,i){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"===typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(t(i))+r;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[i]))})).join(n):i?encodeURIComponent(t(i))+r+encodeURIComponent(t(e)):""}},30863:function(e,t,n){"use strict";t.decode=t.parse=n(97059),t.encode=t.stringify=n(94297)},44183:function(e,t,n){var r;e.exports="function"===typeof queueMicrotask?queueMicrotask.bind("undefined"!==typeof window?window:n.g):function(e){return(r||(r=Promise.resolve())).then(e).catch((function(e){return setTimeout((function(){throw e}),0)}))}},75970:function(e){e.exports="function"===typeof queueMicrotask?queueMicrotask:function(e){return Promise.resolve().then(e)}},58171:function(e){e.exports=function(e){var t=0;return function(){if(t===e.length)return null;var n=e.length-t,r=Math.random()*n|0,i=e[t+r],o=e[t];return e[t]=i,e[t+r]=o,t++,i}}},12525:function(e,t,n){"use strict";var r=65536,i=4294967295;var o=n(82543).Buffer,a=n.g.crypto||n.g.msCrypto;a&&a.getRandomValues?e.exports=function(e,t){if(e>i)throw new RangeError("requested too many random bytes");var n=o.allocUnsafe(e);if(e>0)if(e>r)for(var s=0;su||e<0)throw new TypeError("offset must be a uint32");if(e>s||e>t)throw new RangeError("offset out of range")}function f(e,t,n){if("number"!==typeof e||e!==e)throw new TypeError("size must be a number");if(e>u||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>s)throw new RangeError("buffer too small")}function d(e,t,n,r){if(process.browser){var i=e.buffer,a=new Uint8Array(i,t,n);return c.getRandomValues(a),r?void process.nextTick((function(){r(null,e)})):e}if(!r)return o(n).copy(e,t),e;o(n,(function(n,i){if(n)return r(n);i.copy(e,t),r(null,e)}))}c&&c.getRandomValues||!process.browser?(t.randomFill=function(e,t,r,i){if(!a.isBuffer(e)&&!(e instanceof n.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof t)i=t,t=0,r=e.length;else if("function"===typeof r)i=r,r=e.length-t;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return l(t,e.length),f(r,t,e.length),d(e,t,r,i)},t.randomFillSync=function(e,t,r){"undefined"===typeof t&&(t=0);if(!a.isBuffer(e)&&!(e instanceof n.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');l(t,e.length),void 0===r&&(r=e.length-t);return f(r,t,e.length),d(e,t,r)}):(t.randomFill=r,t.randomFillSync=r)},4541:function(e){"use strict";function t(e,t){return{start:e.start,end:e.end,index:t}}function n(e){return{start:e.start,end:e.end}}function r(e,t){return e.index-t.index}function i(e,t){return e.start-t.start}e.exports=function(e,o,a){if("string"!==typeof o)throw new TypeError("argument str must be a string");var s=o.indexOf("=");if(-1===s)return-2;var c=o.slice(s+1).split(","),u=[];u.type=o.slice(0,s);for(var l=0;le-1&&(h=e-1),isNaN(d)||isNaN(h)||d>h||d<0||u.push({start:d,end:h})}if(u.length<1)return-1;return a&&a.combine?function(e){for(var o=e.map(t).sort(i),a=0,s=1;su.end+1?o[++a]=c:c.end>u.end&&(u.end=c.end,u.index=Math.min(u.index,c.index))}o.length=a+1;var l=o.sort(r).map(n);return l.type=e.type,l}(u):u}},34869:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(61655).default,a=n(26389).default,s=n(90723),c=s.Writable,u=s.PassThrough,l=function(e){"use strict";o(n,e);var t=a(n);function n(e){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r(this,n),(i=t.call(this,o)).destroyed=!1,i._queue=[],i._position=e||0,i._cb=null,i._buffer=null,i._out=null,i}return i(n,[{key:"_write",value:function(e,t,n){for(var r=!0;;){if(this.destroyed)return;if(0===this._queue.length)return this._buffer=e,void(this._cb=n);this._buffer=null;var i=this._queue[0],o=Math.max(i.start-this._position,0),a=i.end-this._position;if(o>=e.length)return this._position+=e.length,n(null);var s=void 0;if(a>e.length){this._position+=e.length,s=0===o?e:e.slice(o),r=i.stream.write(s)&&r;break}this._position+=a,s=0===o&&a===e.length?e:e.slice(o,a),r=i.stream.write(s)&&r,i.last&&i.stream.end(),e=e.slice(a),this._queue.shift()}r?n(null):i.stream.once("drain",n.bind(null,null))}},{key:"slice",value:function(e){var t=this;if(this.destroyed)return null;Array.isArray(e)||(e=[e]);var n=new u;return e.forEach((function(r,i){t._queue.push({start:r.start,end:r.end,stream:n,last:i===e.length-1})})),this._buffer&&this._write(this._buffer,null,this._cb),n}},{key:"destroy",value:function(e){this.destroyed||(this.destroyed=!0,e&&this.emit("error",e))}}]),n}(c);e.exports=l},56051:function(e){"use strict";function t(e){return parseInt(e,10)===e}function n(e){function n(t){if(void 0===t){t=new Array(e);for(var n=0;n",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return le(e,t)}))}:le);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ge=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,ke=null,Se=null;function Ee(e){if(e=bi(e)){if("function"!==typeof _e)throw Error(o(280));var t=e.stateNode;t&&(t=xi(t),_e(e.stateNode,e.type,t))}}function Ce(e){ke?Se?Se.push(e):Se=[e]:ke=e}function Me(){if(ke){var e=ke,t=Se;if(Se=ke=null,Ee(e),t)for(e=0;e>>=0,0===e?32:31-(st(e)/ct|0)|0},st=Math.log,ct=Math.LN2;var ut=64,lt=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ft(s):0!==(o&=a)&&(r=ft(o))}else 0!==(a=n&~i)?r=ft(a):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<=Zn),Nn=String.fromCharCode(32),Dn=!1;function Fn(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function Wn(e,t,n,r){Ce(r),0<(t=Vr(t,"onChange")).length&&(n=new ln("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Gn=null;function $n(e){Nr(e,0)}function Kn(e){if(G(wi(e)))return e}function Yn(e,t){if("change"===e)return t}var Xn=!1;if(l){var Jn;if(l){var Qn="oninput"in document;if(!Qn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Qn="function"===typeof er.oninput}Jn=Qn}else Jn=!1;Xn=Jn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=lr(n,o);var a=lr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n=document.documentMode,vr=null,gr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==$(r)||("selectionStart"in(r=vr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&cr(yr,r)||(yr=r,0<(r=Vr(gr,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},kr={},Sr={};function Er(e){if(kr[e])return kr[e];if(!_r[e])return e;var t,n=_r[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return kr[e]=n[t];return e}l&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var Cr=Er("animationend"),Mr=Er("animationiteration"),Ar=Er("animationstart"),Rr=Er("transitionend"),Tr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ir(e,t){Tr.set(e,t),c(t,[e])}for(var Or=0;Orki||(e.current=_i[ki],_i[ki]=null,ki--)}function Ci(e,t){ki++,_i[ki]=e.current,e.current=t}var Mi={},Ai=Si(Mi),Ri=Si(!1),Ti=Mi;function Pi(e,t){var n=e.type.contextTypes;if(!n)return Mi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ii(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Oi(){Ei(Ri),Ei(Ai)}function ji(e,t,n){if(Ai.current!==Mi)throw Error(o(168));Ci(Ai,t),Ci(Ri,n)}function Zi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,H(e)||"Unknown",i));return B({},n,r)}function Li(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mi,Ti=Ai.current,Ci(Ai,e),Ci(Ri,Ri.current),!0}function Bi(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Zi(e,t,Ti),r.__reactInternalMemoizedMergedChildContext=e,Ei(Ri),Ei(Ai),Ci(Ai,e)):Ei(Ri),Ci(Ri,n)}var Ni=null,Di=!1,Fi=!1;function zi(e){null===Ni?Ni=[e]:Ni.push(e)}function Ui(){if(!Fi&&null!==Ni){Fi=!0;var e=0,t=bt;try{var n=Ni;for(bt=1;e>=a,i-=a,Yi=1<<32-at(t)+i|n<m?(v=f,f=null):v=f.sibling;var g=h(i,f,s[m],c);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(i,f),o=a(g,o,m),null===l?u=g:l.sibling=g,l=g,f=v}if(m===s.length)return n(i,f),io&&Ji(i,m),u;if(null===f){for(;mv?(g=m,m=null):g=m.sibling;var b=h(i,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=a(b,s,v),null===f?l=b:f.sibling=b,f=b,m=g}if(y.done)return n(i,m),io&&Ji(i,v),l;if(null===m){for(;!y.done;v++,y=c.next())null!==(y=d(i,y.value,u))&&(s=a(y,s,v),null===f?l=y:f.sibling=y,f=y);return io&&Ji(i,v),l}for(m=r(i,m);!y.done;v++,y=c.next())null!==(y=p(m,i,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=a(y,s,v),null===f?l=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(i,e)})),io&&Ji(i,v),l}return function e(r,o,a,c){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var u=a.key,l=o;null!==l;){if(l.key===u){if((u=a.type)===k){if(7===l.tag){n(r,l.sibling),(o=i(l,a.props.children)).return=r,r=o;break e}}else if(l.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===I&&Ko(u)===l.type){n(r,l.sibling),(o=i(l,a.props)).ref=Go(r,l,a),o.return=r,r=o;break e}n(r,l);break}t(r,l),l=l.sibling}a.type===k?((o=Lu(a.props.children,r.mode,c,a.key)).return=r,r=o):((c=Zu(a.type,a.key,a.props,null,r.mode,c)).ref=Go(r,o,a),c.return=r,r=c)}return s(r);case _:e:{for(l=a.key;null!==o;){if(o.key===l){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Du(a,r.mode,c)).return=r,r=o}return s(r);case I:return e(r,o,(l=a._init)(a._payload),c)}if(te(a))return m(r,o,a,c);if(Z(a))return v(r,o,a,c);$o(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Nu(a,r.mode,c)).return=r,r=o),s(r)):n(r,o)}}var Xo=Yo(!0),Jo=Yo(!1),Qo={},ea=Si(Qo),ta=Si(Qo),na=Si(Qo);function ra(e){if(e===Qo)throw Error(o(174));return e}function ia(e,t){switch(Ci(na,t),Ci(ta,e),Ci(ea,Qo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ce(null,"");break;default:t=ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ei(ea),Ci(ea,t)}function oa(){Ei(ea),Ei(ta),Ei(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=ce(t,e.type);t!==n&&(Ci(ta,e),Ci(ea,n))}function sa(e){ta.current===e&&(Ei(ea),Ei(ta))}var ca=Si(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var la=[];function fa(){for(var e=0;en?n:4,e(!0);var r=ha.transition;ha.transition={};try{e(!1),t()}finally{bt=n,ha.transition=r}}function es(){return Ma().memoizedState}function ts(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))is(t,n);else if(null!==(n=Ro(e,t,n,r))){ru(n,e,r,tu()),os(n,t,r)}}function ns(e,t,n){var r=nu(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))is(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var c=t.interleaved;return null===c?(i.next=i,Ao(t)):(i.next=c.next,c.next=i),void(t.interleaved=i)}}catch(u){}null!==(n=Ro(e,t,i,r))&&(ru(n,e,r,i=tu()),os(n,t,r))}}function rs(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function is(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function os(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var as={readContext:Co,useCallback:_a,useContext:_a,useEffect:_a,useImperativeHandle:_a,useInsertionEffect:_a,useLayoutEffect:_a,useMemo:_a,useReducer:_a,useRef:_a,useState:_a,useDebugValue:_a,useDeferredValue:_a,useTransition:_a,useMutableSource:_a,useSyncExternalStore:_a,useId:_a,unstable_isNewReconciler:!1},ss={readContext:Co,useCallback:function(e,t){return Ca().memoizedState=[e,void 0===t?null:t],e},useContext:Co,useEffect:Ha,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,za(4194308,4,Ga.bind(null,t,e),n)},useLayoutEffect:function(e,t){return za(4194308,4,e,t)},useInsertionEffect:function(e,t){return za(4,2,e,t)},useMemo:function(e,t){var n=Ca();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ca();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ca().memoizedState=e},useState:Na,useDebugValue:Ka,useDeferredValue:function(e){return Ca().memoizedState=e},useTransition:function(){var e=Na(!1),t=e[0];return e=Qa.bind(null,e[1]),Ca().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,i=Ca();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Tc)throw Error(o(349));0!==(30&pa)||Oa(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Ha(Za.bind(null,r,a,e),[e]),r.flags|=2048,Da(9,ja.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ca(),t=Tc.identifierPrefix;if(io){var n=Xi;t=":"+t+"R"+(n=(Yi&~(1<<32-at(Yi)-1)).toString(32)+n),0<(n=wa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},cs={readContext:Co,useCallback:Ya,useContext:Co,useEffect:qa,useImperativeHandle:$a,useInsertionEffect:Wa,useLayoutEffect:Va,useMemo:Xa,useReducer:Ra,useRef:Fa,useState:function(){return Ra(Aa)},useDebugValue:Ka,useDeferredValue:function(e){return Ja(Ma(),va.memoizedState,e)},useTransition:function(){return[Ra(Aa)[0],Ma().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Ia,useId:es,unstable_isNewReconciler:!1},us={readContext:Co,useCallback:Ya,useContext:Co,useEffect:qa,useImperativeHandle:$a,useInsertionEffect:Wa,useLayoutEffect:Va,useMemo:Xa,useReducer:Ta,useRef:Fa,useState:function(){return Ta(Aa)},useDebugValue:Ka,useDeferredValue:function(e){var t=Ma();return null===va?t.memoizedState=e:Ja(t,va.memoizedState,e)},useTransition:function(){return[Ta(Aa)[0],Ma().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Ia,useId:es,unstable_isNewReconciler:!1};function ls(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:i,digest:null}}function fs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var hs="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=jo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wc||(Wc=!0,Vc=r),ds(0,t)},n}function ms(e,t,n){(n=jo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!==typeof r&&(null===Gc?Gc=new Set([this]):Gc.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=jo(-1,1)).tag=2,Zo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var bs=w.ReactCurrentOwner,ws=!1;function xs(e,t,n,r){t.child=null===e?Jo(t,null,n,r):Xo(t,e.child,n,r)}function _s(e,t,n,r,i){n=n.render;var o=t.ref;return Eo(t,i),r=Sa(e,t,n,r,o,i),n=Ea(),null===e||ws?(io&&n&&eo(t),t.flags|=1,xs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ws(e,t,i))}function ks(e,t,n,r,i){if(null===e){var o=n.type;return"function"!==typeof o||Ou(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ss(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:cr)(a,r)&&e.ref===t.ref)return Ws(e,t,i)}return t.flags|=1,(e=ju(o,r)).ref=t.ref,e.return=t,t.child=e}function Ss(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(cr(o,r)&&e.ref===t.ref){if(ws=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,Ws(e,t,i);0!==(131072&e.flags)&&(ws=!0)}}return Ms(e,t,n,r,i)}function Es(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ci(jc,Oc),Oc|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ci(jc,Oc),Oc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ci(jc,Oc),Oc|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ci(jc,Oc),Oc|=r;return xs(e,t,i,n),t.child}function Cs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ms(e,t,n,r,i){var o=Ii(n)?Ti:Ai.current;return o=Pi(t,o),Eo(t,i),n=Sa(e,t,n,r,o,i),r=Ea(),null===e||ws?(io&&r&&eo(t),t.flags|=1,xs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ws(e,t,i))}function As(e,t,n,r,i){if(Ii(n)){var o=!0;Li(t)}else o=!1;if(Eo(t,i),null===t.stateNode)qs(e,t),qo(t,n,r),Vo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,u=n.contextType;"object"===typeof u&&null!==u?u=Co(u):u=Pi(t,u=Ii(n)?Ti:Ai.current);var l=n.getDerivedStateFromProps,f="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||c!==u)&&Wo(t,a,r,u),Po=!1;var d=t.memoizedState;a.state=d,No(t,r,a,i),c=t.memoizedState,s!==r||d!==c||Ri.current||Po?("function"===typeof l&&(zo(t,n,l,r),c=t.memoizedState),(s=Po||Ho(t,n,s,r,d,c,u))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=u,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Oo(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:go(t.type,s),a.props=u,f=t.pendingProps,d=a.context,"object"===typeof(c=n.contextType)&&null!==c?c=Co(c):c=Pi(t,c=Ii(n)?Ti:Ai.current);var h=n.getDerivedStateFromProps;(l="function"===typeof h||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==f||d!==c)&&Wo(t,a,r,c),Po=!1,d=t.memoizedState,a.state=d,No(t,r,a,i);var p=t.memoizedState;s!==f||d!==p||Ri.current||Po?("function"===typeof h&&(zo(t,n,h,r),p=t.memoizedState),(u=Po||Ho(t,n,u,r,d,p,c)||!1)?(l||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,c)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Rs(e,t,n,r,o,i)}function Rs(e,t,n,r,i,o){Cs(e,t);var a=0!==(128&t.flags);if(!r&&!a)return i&&Bi(t,n,!1),Ws(e,t,o);r=t.stateNode,bs.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Xo(t,e.child,null,o),t.child=Xo(t,null,s,o)):xs(e,t,s,o),t.memoizedState=r.state,i&&Bi(t,n,!0),t.child}function Ts(e){var t=e.stateNode;t.pendingContext?ji(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ji(0,t.context,!1),ia(e,t.containerInfo)}function Ps(e,t,n,r,i){return po(),mo(i),t.flags|=256,xs(e,t,n,r),t.child}var Is,Os,js,Zs,Ls={dehydrated:null,treeContext:null,retryLane:0};function Bs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ns(e,t,n){var r,i=t.pendingProps,a=ca.current,s=!1,c=0!==(128&t.flags);if((r=c)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ci(ca,1&a),null===e)return uo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(c=i.children,e=i.fallback,s?(i=t.mode,s=t.child,c={mode:"hidden",children:c},0===(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=c):s=Bu(c,i,0,null),e=Lu(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Bs(n),t.memoizedState=Ls,e):Ds(t,c));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,Fs(e,t,s,r=fs(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Bu({mode:"visible",children:r.children},i,0,null),(a=Lu(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Xo(t,e.child,null,s),t.child.memoizedState=Bs(s),t.memoizedState=Ls,a);if(0===(1&t.mode))return Fs(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var c=r.dgst;return r=c,Fs(e,t,s,r=fs(a=Error(o(419)),r,void 0))}if(c=0!==(s&e.childLanes),ws||c){if(null!==(r=Tc)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,To(e,i),ru(r,e,i,-1))}return vu(),Fs(e,t,s,r=fs(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Au.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=ui(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(Gi[$i++]=Yi,Gi[$i++]=Xi,Gi[$i++]=Ki,Yi=e.id,Xi=e.overflow,Ki=t),t=Ds(t,r.children),t.flags|=4096,t)}(e,t,c,i,r,a,n);if(s){s=i.fallback,c=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:i.children};return 0===(1&c)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=u,t.deletions=null):(i=ju(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=ju(r,s):(s=Lu(s,c,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,c=null===(c=e.child.memoizedState)?Bs(n):{baseLanes:c.baseLanes|n,cachePool:null,transitions:c.transitions},s.memoizedState=c,s.childLanes=e.childLanes&~n,t.memoizedState=Ls,i}return e=(s=e.child).sibling,i=ju(s,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Ds(e,t){return(t=Bu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fs(e,t,n,r){return null!==r&&mo(r),Xo(t,e.child,null,n),(e=Ds(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function zs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),So(e.return,t,n)}function Us(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Hs(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(xs(e,t,r.children,n),0!==(2&(r=ca.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&zs(e,n,t);else if(19===e.tag)zs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ci(ca,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Us(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ua(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Us(t,!0,n,null,o);break;case"together":Us(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bc|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=ju(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ju(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vs(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function $s(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(t),null;case 1:case 17:return Ii(t.type)&&Oi(),Gs(t),null;case 3:return r=t.stateNode,oa(),Ei(Ri),Ei(Ai),fa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(su(oo),oo=null))),Os(e,t),Gs(t),null;case 5:sa(t);var i=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)js(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Gs(t),null}if(e=ra(ea.current),fo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[di]=t,r[hi]=a,e=0!==(1&t.mode),n){case"dialog":Dr("cancel",r),Dr("close",r);break;case"iframe":case"object":case"embed":Dr("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[di]=t,e[hi]=r,Is(e,t,!1,!1),t.stateNode=e;e:{switch(c=be(n,r),n){case"dialog":Dr("cancel",e),Dr("close",e),i=r;break;case"iframe":case"object":case"embed":Dr("load",e),i=r;break;case"video":case"audio":for(i=0;iHc&&(t.flags|=128,r=!0,Vs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ua(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!c.alternate&&!io)return Gs(t),null}else 2*Xe()-a.renderingStartTime>Hc&&1073741824!==n&&(t.flags|=128,r=!0,Vs(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=a.last)?n.sibling=c:t.child=c,a.last=c)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=ca.current,Ci(ca,r?1&n|2:1&n),t):(Gs(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Oc)&&(Gs(t),6&t.subtreeFlags&&(t.flags|=8192)):Gs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ks(e,t){switch(to(t),t.tag){case 1:return Ii(t.type)&&Oi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oa(),Ei(Ri),Ei(Ai),fa(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(Ei(ca),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ei(ca),null;case 4:return oa(),null;case 10:return ko(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Is=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Os=function(){},js=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ra(ea.current);var o,a=null;switch(n){case"input":i=K(e,i),r=K(e,r),a=[];break;case"select":i=B({},i,{value:void 0}),r=B({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Qr)}for(l in ye(n,r),n=null,i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if("style"===l){var c=i[l];for(o in c)c.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?a||(a=[]):(a=a||[]).push(l,null));for(l in r){var u=r[l];if(c=null!=i?i[l]:void 0,r.hasOwnProperty(l)&&u!==c&&(null!=u||null!=c))if("style"===l)if(c){for(o in c)!c.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&c[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(a||(a=[]),a.push(l,n)),n=u;else"dangerouslySetInnerHTML"===l?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(a=a||[]).push(l,u)):"children"===l?"string"!==typeof u&&"number"!==typeof u||(a=a||[]).push(l,""+u):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(s.hasOwnProperty(l)?(null!=u&&"onScroll"===l&&Dr("scroll",e),a||c===u||(a=[])):(a=a||[]).push(l,u))}n&&(a=a||[]).push("style",n);var l=a;(t.updateQueue=l)&&(t.flags|=4)}},Zs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Xs=!1,Js="function"===typeof WeakSet?WeakSet:Set,Qs=null;function ec(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Eu(e,t,r)}else n.current=null}function tc(e,t,n){try{n()}catch(r){Eu(e,t,r)}}var nc=!1;function rc(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&tc(t,n,o)}i=i.next}while(i!==r)}}function ic(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function oc(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function ac(e){var t=e.alternate;null!==t&&(e.alternate=null,ac(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[di],delete t[hi],delete t[mi],delete t[vi],delete t[gi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sc(e){return 5===e.tag||3===e.tag||4===e.tag}function cc(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function uc(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Qr));else if(4!==r&&null!==(e=e.child))for(uc(e,t,n),e=e.sibling;null!==e;)uc(e,t,n),e=e.sibling}function lc(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(lc(e,t,n),e=e.sibling;null!==e;)lc(e,t,n),e=e.sibling}var fc=null,dc=!1;function hc(e,t,n){for(n=n.child;null!==n;)pc(e,t,n),n=n.sibling}function pc(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(s){}switch(n.tag){case 5:Xs||ec(n,t);case 6:var r=fc,i=dc;fc=null,hc(e,t,n),dc=i,null!==(fc=r)&&(dc?(e=fc,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fc.removeChild(n.stateNode));break;case 18:null!==fc&&(dc?(e=fc,n=n.stateNode,8===e.nodeType?ci(e.parentNode,n):1===e.nodeType&&ci(e,n),Ut(e)):ci(fc,n.stateNode));break;case 4:r=fc,i=dc,fc=n.stateNode.containerInfo,dc=!0,hc(e,t,n),fc=r,dc=i;break;case 0:case 11:case 14:case 15:if(!Xs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!==(2&o)||0!==(4&o))&&tc(n,t,a),i=i.next}while(i!==r)}hc(e,t,n);break;case 1:if(!Xs&&(ec(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Eu(n,t,s)}hc(e,t,n);break;case 21:hc(e,t,n);break;case 22:1&n.mode?(Xs=(r=Xs)||null!==n.memoizedState,hc(e,t,n),Xs=r):hc(e,t,n);break;default:hc(e,t,n)}}function mc(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Js),t.forEach((function(t){var r=Ru.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vc(e,t){var n=t.deletions;if(null!==n)for(var r=0;ri&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ec(r/1960))-r)){e.timeoutHandle=ri(_u.bind(null,e,zc,qc),r);break}_u(e,zc,qc);break;default:throw Error(o(329))}}}return iu(e,Xe()),e.callbackNode===n?ou.bind(null,e):null}function au(e,t){var n=Fc;return e.current.memoizedState.isDehydrated&&(hu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=zc,zc=n,null!==t&&su(t)),e}function su(e){null===zc?zc=e:zc.push.apply(zc,e)}function cu(e,t){for(t&=~Dc,t&=~Nc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===Kc)var r=!1;else{if(e=Kc,Kc=null,Yc=0,0!==(6&Rc))throw Error(o(331));var i=Rc;for(Rc|=4,Qs=e.current;null!==Qs;){var a=Qs,s=a.child;if(0!==(16&Qs.flags)){var c=a.deletions;if(null!==c){for(var u=0;uXe()-Uc?hu(e,0):Dc|=n),iu(e,t)}function Mu(e,t){0===t&&(0===(1&e.mode)?t=1:(t=lt,0===(130023424&(lt<<=1))&&(lt=4194304)));var n=tu();null!==(e=To(e,t))&&(gt(e,t,n),iu(e,n))}function Au(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Mu(e,n)}function Ru(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Mu(e,n)}function Tu(e,t){return Ge(e,t)}function Pu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Iu(e,t,n,r){return new Pu(e,t,n,r)}function Ou(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ju(e,t){var n=e.alternate;return null===n?((n=Iu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zu(e,t,n,r,i,a){var s=2;if(r=e,"function"===typeof e)Ou(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case k:return Lu(n.children,i,a,t);case S:s=8,i|=8;break;case E:return(e=Iu(12,n,t,2|i)).elementType=E,e.lanes=a,e;case R:return(e=Iu(13,n,t,i)).elementType=R,e.lanes=a,e;case T:return(e=Iu(19,n,t,i)).elementType=T,e.lanes=a,e;case O:return Bu(n,i,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case M:s=9;break e;case A:s=11;break e;case P:s=14;break e;case I:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Iu(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Lu(e,t,n,r){return(e=Iu(7,e,r,t)).lanes=n,e}function Bu(e,t,n,r){return(e=Iu(22,e,r,t)).elementType=O,e.lanes=n,e.stateNode={isHidden:!1},e}function Nu(e,t,n){return(e=Iu(6,e,null,t)).lanes=n,e}function Du(e,t,n){return(t=Iu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function zu(e,t,n,r,i,o,a,s,c){return e=new Fu(e,t,n,s,c),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Iu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Io(o),e}function Uu(e){if(!e)return Mi;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ii(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ii(n))return Zi(e,n,t)}return t}function Hu(e,t,n,r,i,o,a,s,c){return(e=zu(n,r,!0,e,0,o,0,s,c)).context=Uu(null),n=e.current,(o=jo(r=tu(),i=nu(n))).callback=void 0!==t&&null!==t?t:null,Zo(n,o,i),e.current.lanes=i,gt(e,i,r),iu(e,r),e}function qu(e,t,n,r){var i=t.current,o=tu(),a=nu(i);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=jo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Zo(i,t,a))&&(ru(e,i,a,o),Lo(e,i,a)),a}function Wu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n=1&&n<=127?r+=e.charAt(t):n>2047?(r+=String.fromCharCode(224|n>>12&15),r+=String.fromCharCode(128|n>>6&63),r+=String.fromCharCode(128|n>>0&63)):(r+=String.fromCharCode(192|n>>6&31),r+=String.fromCharCode(128|n>>0&63));return r},t.prototype.drawRoundedSquare=function(e,t,n,r,i,o,a,s){s.lineWidth=e,s.fillStyle=i,s.strokeStyle=i,n+=e/2,t+=e/2,r-=e,Array.isArray(o)||(o=[o,o,o,o]);var c=(o=o.map((function(e){return(e=Math.min(e,r/2))<0?0:e})))[0]||0,u=o[1]||0,l=o[2]||0,f=o[3]||0;s.beginPath(),s.moveTo(t+c,n),s.lineTo(t+r-u,n),u&&s.quadraticCurveTo(t+r,n,t+r,n+u),s.lineTo(t+r,n+r-l),l&&s.quadraticCurveTo(t+r,n+r,t+r-l,n+r),s.lineTo(t+f,n+r),f&&s.quadraticCurveTo(t,n+r,t,n+r-f),s.lineTo(t,n+c),c&&s.quadraticCurveTo(t,n,t+c,n),s.closePath(),s.stroke(),a&&s.fill()},t.prototype.drawPositioningPattern=function(e,t,n,r,i,o,a){void 0===a&&(a=[0,0,0,0]);var s,c,u,l,f=Math.ceil(t);"number"===typeof a||Array.isArray(a)?c=s=a:(s=a.outer||0,c=a.inner||0),"string"!==typeof o?(u=o.outer,l=o.inner):(u=o,l=o);var d=r*t+n,h=i*t+n,p=7*t;this.drawRoundedSquare(f,h,d,p,u,s,!1,e),p=3*t,d+=2*t,h+=2*t,this.drawRoundedSquare(f,h,d,p,l,c,!0,e)},t.prototype.isInPositioninZone=function(e,t,n){return n.some((function(n){return t>=n.row&&t<=n.row+7&&e>=n.col&&e<=n.col+7}))},t.prototype.transformPixelLengthIntoNumberOfCells=function(e,t){return e/t},t.prototype.isCoordinateInImage=function(e,t,n,r,i,o,a,s){if(s){var c=this.transformPixelLengthIntoNumberOfCells(i,a),u=this.transformPixelLengthIntoNumberOfCells(o,a),l=this.transformPixelLengthIntoNumberOfCells(n,a)-1,f=this.transformPixelLengthIntoNumberOfCells(r,a)-1;return t>=c-2&&t<=c+l+2&&e>=u-2&&e<=u+f+2}return!1},t.prototype.shouldComponentUpdate=function(e){return!i(this.props,e)},t.prototype.componentDidMount=function(){this.update()},t.prototype.componentDidUpdate=function(){this.update()},t.prototype.update=function(){var e=this.props,n=e.value,r=e.ecLevel,i=e.enableCORS,a=e.size,c=e.quietZone,u=e.bgColor,l=e.fgColor,f=e.logoImage,d=e.logoWidth,h=e.logoHeight,p=e.logoOpacity,m=e.removeQrCodeBehindLogo,v=e.qrStyle,g=e.eyeRadius,y=e.eyeColor,b=o(0,r);b.addData(t.utf16to8(n)),b.make();var w=s.findDOMNode(this.canvas.current),x=w.getContext("2d"),_=+a+2*+c,k=b.getModuleCount(),S=a/k,E=window.devicePixelRatio||1;w.height=w.width=_*E,x.scale(E,E),x.fillStyle=u,x.fillRect(0,0,_,_);var C=+c,M=d||.2*a,A=h||M,R=(a-M)/2,T=(a-A)/2,P=[{row:0,col:0},{row:0,col:k-7},{row:k-7,col:0}];if(x.strokeStyle=l,"dots"===v){x.fillStyle=l;for(var I=S/2,O=0;O2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){var i,o,a,s;if("string"===typeof t&&(o="not ",t.substr(!a||a<0?0:+a,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))s="The ".concat(e," ").concat(i," ").concat(r(t,"type"));else{var c=function(e,t,n){return"number"!==typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(c," ").concat(i," ").concat(r(t,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},48749:function(e,t,n){"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=u;var i=n(26978),o=n(51704);n(12534)(u,i);for(var a=r(o.prototype),s=0;s0)if("string"===typeof t||u.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),r)u.endEmitted?x(e,new w):C(e,u,t,!0);else if(u.ended)x(e,new y);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!n?(t=u.decoder.write(t),u.objectMode||0!==t.length?C(e,u,t,!1):P(e,u)):C(e,u,t,!1)}else r||(u.reading=!1,P(e,u));return!u.ended&&(u.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=M?e=M:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function R(e){var t=e._readableState;c("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(T,e))}function T(e){var t=e._readableState;c("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function P(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function j(e){c("readable nexttick read 0"),e.read(0)}function Z(e,t){c("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function N(e){var t=e._readableState;c("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(D,t,e))}function D(e,t){if(c("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?N(this):R(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&N(this),null;var r,i=t.needReadable;return c("need readable",i),(0===t.length||t.length-e0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&N(this)),null!==r&&this.emit("data",r),r},S.prototype._read=function(e){x(this,new b("_read()"))},S.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,c("pipe count=%d opts=%j",r.pipesCount,t);var o=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?s:m;function a(t,i){c("onunpipe"),t===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,c("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",u),e.removeListener("error",d),e.removeListener("unpipe",a),n.removeListener("end",s),n.removeListener("end",m),n.removeListener("data",f),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function s(){c("onend"),e.end()}r.endEmitted?process.nextTick(o):n.once("end",o),e.on("unpipe",a);var u=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",u);var l=!1;function f(t){c("ondata");var i=e.write(t);c("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==F(r.pipes,e))&&!l&&(c("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function d(t){c("onerror",t),m(),e.removeListener("error",d),0===i(e,"error")&&x(e,t)}function h(){e.removeListener("finish",p),m()}function p(){c("onfinish"),e.removeListener("close",h),m()}function m(){c("unpipe"),n.unpipe(e)}return n.on("data",f),function(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",n),r.flowing||(c("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,c("on readable",r.length,r.reading),r.length?R(this):r.reading||process.nextTick(j,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(O,this),n},S.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(O,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(Z,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(c("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(c("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!n.objectMode||null!==i&&void 0!==i)&&((n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause())))})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<_.length;o++)e.on(_[o],this.emit.bind(this,_[o]));return this._read=function(t){c("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"===typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=n(79150)),f(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=B,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(S.from=function(e,t){return void 0===d&&(d=n(74886)),d(S,e,t)})},4784:function(e,t,n){"use strict";e.exports=l;var r=n(14003).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,c=n(48749);function u(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,n){n(new p("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var r=this._writableState;return"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,T(e,t),n&&(t.finished?process.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=l.destroy,S.prototype._undestroy=l.undestroy,S.prototype._destroy=function(e,t){t(e)}},79150:function(e,t,n){"use strict";var r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(45762),a=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),d=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var n=e[d].read();null!==n&&(e[l]=null,e[a]=null,e[s]=null,t(h(n,!1)))}}function m(e){process.nextTick(p,e)}var v=Object.getPrototypeOf((function(){})),g=Object.setPrototypeOf((i(r={get stream(){return this[d]},next:function(){var e=this,t=this[c];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(h(void 0,!0));if(this[d].destroyed)return new Promise((function(t,n){process.nextTick((function(){e[c]?n(e[c]):t(h(void 0,!0))}))}));var n,r=this[l];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[u]?n(h(void 0,!0)):t[f](n,r)}),r)}}(r,this));else{var i=this[d].read();if(null!==i)return Promise.resolve(h(i,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[d].destroy(null,(function(e){e?n(e):t(h(void 0,!0))}))}))})),r),v);e.exports=function(e){var t,n=Object.create(g,(i(t={},d,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,c,{value:null,writable:!0}),i(t,u,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var r=n[d].read();r?(n[l]=null,n[a]=null,n[s]=null,e(h(r,!1))):(n[a]=e,n[s]=t)},writable:!0}),t));return n[l]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];return null!==t&&(n[l]=null,n[a]=null,n[s]=null,t(e)),void(n[c]=e)}var r=n[a];null!==r&&(n[l]=null,n[a]=null,n[s]=null,r(h(void 0,!0))),n[u]=!0})),e.on("readable",m.bind(null,n)),n}},25566:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){for(var n=0;n0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,a.prototype.copy.call(t,n,r),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0===(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return s(this,function(e){for(var t=1;t0,(function(e){l||(l=e),e&&d.forEach(c),o||(d.forEach(c),f(l))}))}));return t.reduce(u)}},5730:function(e,t,n){"use strict";var r=n(14003).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},76184:function(e,t,n){e.exports=n(47465).EventEmitter},90723:function(e,t,n){(t=e.exports=n(26978)).Stream=t,t.Readable=t,t.Writable=n(51704),t.Duplex=n(48749),t.Transform=n(4784),t.PassThrough=n(95627),t.finished=n(45762),t.pipeline=n(34541)},74217:function(e,t,n){"use strict";var r=n(17061).default,i=n(17156).default,o=n(56690).default,a=n(89728).default,s=n(61655).default,c=n(26389).default;t.F=void 0;var u=function(e){s(n,e);var t=c(n);function n(e){var r;return o(this,n),(r=t.call(this)).bytesRead=0,r.released=!1,r.reader=e.getReader(),r}return a(n,[{key:"_read",value:function(){var e=i(r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.released){e.next=3;break}return this.push(null),e.abrupt("return");case 3:return this.pendingRead=this.reader.read(),e.next=6,this.pendingRead;case 6:t=e.sent,delete this.pendingRead,t.done||this.released?this.push(null):(this.bytesRead+=t.value.length,this.push(t.value));case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"waitForReadToComplete",value:function(){var e=i(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.pendingRead){e.next=3;break}return e.next=3,this.pendingRead;case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"close",value:function(){var e=i(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.syncAndRelease();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"syncAndRelease",value:function(){var e=i(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.released=!0,e.next=3,this.waitForReadToComplete();case 3:return e.next=5,this.reader.releaseLock();case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),n}(n(90723).Readable);t.F=u},50488:function(e,t,n){t.render=function(e,t,n,r){"function"===typeof n&&(r=n,n={});n||(n={});r||(r=function(){});w(e),x(n),"string"===typeof t&&(t=document.querySelector(t));y(e,(function(r){if(t.nodeName!==r.toUpperCase()){var i=a.extname(e.name).toLowerCase();throw new Error('Cannot render "'.concat(i,'" inside a "').concat(t.nodeName.toLowerCase(),'" element, expected "').concat(r,'"'))}return"video"!==r&&"audio"!==r||_(t,n),t}),n,r)},t.append=function(e,t,n,r){"function"===typeof n&&(r=n,n={});n||(n={});r||(r=function(){});w(e),x(n),"string"===typeof t&&(t=document.querySelector(t));if(t&&("VIDEO"===t.nodeName||"AUDIO"===t.nodeName))throw new Error("Invalid video/audio node argument. Argument must be root element that video/audio tag will be appended to.");function i(e){var n=document.createElement(e);return t.appendChild(n),n}y(e,(function(e){return"video"===e||"audio"===e?function(e){var r=i(e);return _(r,n),t.appendChild(r),r}(e):i(e)}),n,(function(e,t){e&&t&&t.remove(),r(e,t)}))},t.mime=n(50876);var r=n(18392)("render-media"),i=n(51753),o=n(7558),a=n(88122),s=n(97771),c=n(27167),u=[".m4a",".m4b",".m4p",".m4v",".mp4"],l=[".m4v",".mkv",".mp4",".webm"],f=[].concat(l,[".m4a",".m4b",".m4p",".mp3"]),d=[".mov",".ogv"],h=[".aac",".oga",".ogg",".wav",".flac"],p=[".bmp",".gif",".jpeg",".jpg",".png",".svg"],m=[".css",".html",".js",".md",".pdf",".srt",".txt"],v=2e8,g="undefined"!==typeof window&&window.MediaSource;function y(e,t,n,s){var v,y=a.extname(e.name).toLowerCase(),w=0;function x(){return!("number"===typeof e.length&&e.length>n.maxBlobLength)||(r("File length too large for Blob URL approach: %d (max: %d)",e.length,n.maxBlobLength),C(new Error("File length too large for Blob URL approach: ".concat(e.length," (max: ").concat(n.maxBlobLength,")"))),!1)}function _(n){x()&&(v=t(n),b(e,(function(e,t){if(e)return C(e);v.addEventListener("error",C),v.addEventListener("loadstart",k),v.addEventListener("loadedmetadata",S),v.src=t})))}function k(){if(v.removeEventListener("loadstart",k),n.autoplay){var e=v.play();"undefined"!==typeof e&&e.catch(C)}}function S(){v.removeEventListener("loadedmetadata",S),s(null,v)}function E(){b(e,(function(e,n){if(e)return C(e);".pdf"!==y?((v=t("iframe")).sandbox="allow-forms allow-scripts",v.src=n):((v=t("object")).setAttribute("typemustmatch",!0),v.setAttribute("type","application/pdf"),v.setAttribute("data",n)),s(null,v)}))}function C(t){t.message='Error rendering file "'.concat(e.name,'": ').concat(t.message),r(t.message),s(t)}f.includes(y)?function(){var n=l.includes(y)?"video":"audio";g?u.includes(y)?i():s():f();function i(){r("Use `videostream` package for ".concat(e.name)),p(),v.addEventListener("error",d),v.addEventListener("loadstart",k),v.addEventListener("loadedmetadata",S),new c(e,v)}function s(){r("Use MediaSource API for ".concat(e.name)),p(),v.addEventListener("error",h),v.addEventListener("loadstart",k),v.addEventListener("loadedmetadata",S);var t=new o(v).createWriteStream(function(e){var t=a.extname(e).toLowerCase();return{".m4a":'audio/mp4; codecs="mp4a.40.5"',".m4b":'audio/mp4; codecs="mp4a.40.5"',".m4p":'audio/mp4; codecs="mp4a.40.5"',".m4v":'video/mp4; codecs="avc1.640029, mp4a.40.5"',".mkv":'video/webm; codecs="avc1.640029, mp4a.40.5"',".mp3":"audio/mpeg",".mp4":'video/mp4; codecs="avc1.640029, mp4a.40.5"',".webm":'video/webm; codecs="vorbis, vp8"'}[t]}(e.name));e.createReadStream().pipe(t),w&&(v.currentTime=w)}function f(){r("Use Blob URL for ".concat(e.name)),p(),v.addEventListener("error",C),v.addEventListener("loadstart",k),v.addEventListener("loadedmetadata",S),b(e,(function(e,t){if(e)return C(e);v.src=t,w&&(v.currentTime=w)}))}function d(e){r("videostream error: fallback to MediaSource API: %o",e.message||e),v.removeEventListener("error",d),v.removeEventListener("loadedmetadata",S),s()}function h(e){r("MediaSource API error: fallback to Blob URL: %o",e.message||e),x()&&(v.removeEventListener("error",h),v.removeEventListener("loadedmetadata",S),f())}function p(){v||(v=t(n)).addEventListener("progress",(function(){w=v.currentTime}))}}():d.includes(y)?_("video"):h.includes(y)?_("audio"):p.includes(y)?(v=t("img"),b(e,(function(t,n){if(t)return C(t);v.src=n,v.alt=e.name,s(null,v)}))):m.includes(y)?E():function(){r('Unknown file extension "%s" - will attempt to render into iframe',y);var t="";function n(){i(t)?(r('File extension "%s" appears ascii, so will render.',y),E()):(r('File extension "%s" appears non-ascii, will not render.',y),s(new Error('Unsupported file type "'.concat(y,'": Cannot append to DOM'))))}e.createReadStream({start:0,end:1e3}).setEncoding("utf8").on("data",(function(e){t+=e})).on("end",n).on("error",s)}()}function b(e,n){var r=a.extname(e.name).toLowerCase();s(e.createReadStream(),t.mime[r]).then((function(e){return n(null,e)}),(function(e){return n(e)}))}function w(e){if(null==e)throw new Error("file cannot be null or undefined");if("string"!==typeof e.name)throw new Error("missing or invalid file.name property");if("function"!==typeof e.createReadStream)throw new Error("missing or invalid file.createReadStream property")}function x(e){null==e.autoplay&&(e.autoplay=!1),null==e.muted&&(e.muted=!1),null==e.controls&&(e.controls=!0),null==e.maxBlobLength&&(e.maxBlobLength=v)}function _(e,t){e.autoplay=!!t.autoplay,e.muted=!!t.muted,e.controls=!!t.controls}},83375:function(e,t,n){"use strict";var r=n(19778).Buffer,i=n(12534),o=n(86266),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function h(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<>>32-t}function m(e,t,n,r,i,o,a,s){return p(e+(t^n^r)+o+a|0,s)+i|0}function v(e,t,n,r,i,o,a,s){return p(e+(t&n|~t&r)+o+a|0,s)+i|0}function g(e,t,n,r,i,o,a,s){return p(e+((t|~n)^r)+o+a|0,s)+i|0}function y(e,t,n,r,i,o,a,s){return p(e+(t&r|n&~r)+o+a|0,s)+i|0}function b(e,t,n,r,i,o,a,s){return p(e+(t^(n|~r))+o+a|0,s)+i|0}i(h,o),h.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,h=0|this._e,w=0|this._a,x=0|this._b,_=0|this._c,k=0|this._d,S=0|this._e,E=0;E<80;E+=1){var C,M;E<16?(C=m(n,r,i,o,h,e[s[E]],f[0],u[E]),M=b(w,x,_,k,S,e[c[E]],d[0],l[E])):E<32?(C=v(n,r,i,o,h,e[s[E]],f[1],u[E]),M=y(w,x,_,k,S,e[c[E]],d[1],l[E])):E<48?(C=g(n,r,i,o,h,e[s[E]],f[2],u[E]),M=g(w,x,_,k,S,e[c[E]],d[2],l[E])):E<64?(C=y(n,r,i,o,h,e[s[E]],f[3],u[E]),M=v(w,x,_,k,S,e[c[E]],d[3],l[E])):(C=b(n,r,i,o,h,e[s[E]],f[4],u[E]),M=m(w,x,_,k,S,e[c[E]],d[4],l[E])),n=h,h=o,o=p(i,10),i=r,r=C,w=S,S=k,k=p(_,10),_=x,x=M}var A=this._b+i+k|0;this._b=this._c+o+S|0,this._c=this._d+h+w|0,this._d=this._e+n+x|0,this._e=this._a+r+_|0,this._a=A},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},38636:function(e,t,n){e.exports=function(e,t,n){if("number"!==typeof t)throw new Error("second argument must be a Number");var i,o,a,s,c,u,l=!0;Array.isArray(e)?(i=[],a=o=e.length):(s=Object.keys(e),i={},a=o=s.length);function f(e){function t(){n&&n(e,i),n=null}l?r(t):t()}function d(t,n,r){if(i[t]=r,n&&(c=!0),0===--a||n)f(n);else if(!c&&u0;e+=1);return e},u=function(e,t){var n=new Int32Array(e,t+320,5),r=new Int32Array(5),i=new DataView(r.buffer);return i.setInt32(0,n[0],!1),i.setInt32(4,n[1],!1),i.setInt32(8,n[2],!1),i.setInt32(12,n[3],!1),i.setInt32(16,n[4],!1),r},l=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(t=t||65536)%64>0)throw new Error("Chunk size must be a multiple of 128 bit");this._offset=0,this._maxChunkLen=t,this._padMaxChunkLen=c(t),this._heap=new ArrayBuffer(a(this._padMaxChunkLen+320+20)),this._h32=new Int32Array(this._heap),this._h8=new Int8Array(this._heap),this._core=new r({Int32Array:Int32Array},{},this._heap)}return e.prototype._initState=function(e,t){this._offset=0;var n=new Int32Array(e,t+320,5);n[0]=1732584193,n[1]=-271733879,n[2]=-1732584194,n[3]=271733878,n[4]=-1009589776},e.prototype._padChunk=function(e,t){var n=c(e),r=new Int32Array(this._heap,0,n>>2);return function(e,t){var n=new Uint8Array(e.buffer),r=t%4,i=t-r;switch(r){case 0:n[i+3]=0;case 1:n[i+2]=0;case 2:n[i+1]=0;case 3:n[i+0]=0}for(var o=1+(t>>2);o>2]|=128<<24-(t%4<<3),e[14+(2+(t>>2)&-16)]=n/(1<<29)|0,e[15+(2+(t>>2)&-16)]=n<<3}(r,e,t),n},e.prototype._write=function(e,t,n,r){s(e,this._h8,this._h32,t,n,r||0)},e.prototype._coreCall=function(e,t,n,r,i){var o=n;this._write(e,t,n),i&&(o=this._padChunk(n,r)),this._core.hash(o,this._padMaxChunkLen)},e.prototype.rawDigest=function(e){var t=e.byteLength||e.length||e.size||0;this._initState(this._heap,this._padMaxChunkLen);var n=0,r=this._maxChunkLen;for(n=0;t>n+r;n+=r)this._coreCall(e,n,r,t,!1);return this._coreCall(e,n,t-n,t,!0),u(this._heap,this._padMaxChunkLen)},e.prototype.digest=function(e){return o(this.rawDigest(e).buffer)},e.prototype.digestFromString=function(e){return this.digest(e)},e.prototype.digestFromBuffer=function(e){return this.digest(e)},e.prototype.digestFromArrayBuffer=function(e){return this.digest(e)},e.prototype.resetState=function(){return this._initState(this._heap,this._padMaxChunkLen),this},e.prototype.append=function(e){var t=0,n=e.byteLength||e.length||e.size||0,r=this._offset%this._maxChunkLen,i=void 0;for(this._offset+=n;t0}),!1)}e.exports=function(e,t){t=t||{};var i={main:n.m},o=t.all?{main:Object.keys(i)}:function(e,t){for(var n={main:[t]},r={main:[]},i={main:{}};c(n);)for(var o=Object.keys(n),a=0;a>2]|0;s=r[t+324>>2]|0;u=r[t+328>>2]|0;f=r[t+332>>2]|0;h=r[t+336>>2]|0;for(n=0;(n|0)<(e|0);n=n+64|0){a=o;c=s;l=u;d=f;p=h;for(i=0;(i|0)<64;i=i+4|0){v=r[n+i>>2]|0;m=((o<<5|o>>>27)+(s&u|~s&f)|0)+((v+h|0)+1518500249|0)|0;h=f;f=u;u=s<<30|s>>>2;s=o;o=m;r[e+i>>2]=v}for(i=e+64|0;(i|0)<(e+80|0);i=i+4|0){v=(r[i-12>>2]^r[i-32>>2]^r[i-56>>2]^r[i-64>>2])<<1|(r[i-12>>2]^r[i-32>>2]^r[i-56>>2]^r[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s&u|~s&f)|0)+((v+h|0)+1518500249|0)|0;h=f;f=u;u=s<<30|s>>>2;s=o;o=m;r[i>>2]=v}for(i=e+80|0;(i|0)<(e+160|0);i=i+4|0){v=(r[i-12>>2]^r[i-32>>2]^r[i-56>>2]^r[i-64>>2])<<1|(r[i-12>>2]^r[i-32>>2]^r[i-56>>2]^r[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s^u^f)|0)+((v+h|0)+1859775393|0)|0;h=f;f=u;u=s<<30|s>>>2;s=o;o=m;r[i>>2]=v}for(i=e+160|0;(i|0)<(e+240|0);i=i+4|0){v=(r[i-12>>2]^r[i-32>>2]^r[i-56>>2]^r[i-64>>2])<<1|(r[i-12>>2]^r[i-32>>2]^r[i-56>>2]^r[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s&u|s&f|u&f)|0)+((v+h|0)-1894007588|0)|0;h=f;f=u;u=s<<30|s>>>2;s=o;o=m;r[i>>2]=v}for(i=e+240|0;(i|0)<(e+320|0);i=i+4|0){v=(r[i-12>>2]^r[i-32>>2]^r[i-56>>2]^r[i-64>>2])<<1|(r[i-12>>2]^r[i-32>>2]^r[i-56>>2]^r[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s^u^f)|0)+((v+h|0)-899497514|0)|0;h=f;f=u;u=s<<30|s>>>2;s=o;o=m;r[i>>2]=v}o=o+a|0;s=s+c|0;u=u+l|0;f=f+d|0;h=h+p|0}r[t+320>>2]=o;r[t+324>>2]=s;r[t+328>>2]=u;r[t+332>>2]=f;r[t+336>>2]=h}return{hash:i}}},function(e,t){var n=this,r=void 0;"undefined"!==typeof self&&"undefined"!==typeof self.FileReaderSync&&(r=new self.FileReaderSync);var i=function(e,t,n,r,i,o){var a=void 0,s=o%4,c=(i+s)%4,u=i-c;switch(s){case 0:t[o]=e[r+3];case 1:t[o+1-(s<<1)|0]=e[r+2];case 2:t[o+2-(s<<1)|0]=e[r+1];case 3:t[o+3-(s<<1)|0]=e[r]}if(!(i>2|0]=e[r+a]<<24|e[r+a+1]<<16|e[r+a+2]<<8|e[r+a+3];switch(c){case 3:t[o+u+1|0]=e[r+u+2];case 2:t[o+u+2|0]=e[r+u+1];case 1:t[o+u+3|0]=e[r+u]}}};e.exports=function(e,t,o,a,s,c){if("string"===typeof e)return function(e,t,n,r,i,o){var a=void 0,s=o%4,c=(i+s)%4,u=i-c;switch(s){case 0:t[o]=e.charCodeAt(r+3);case 1:t[o+1-(s<<1)|0]=e.charCodeAt(r+2);case 2:t[o+2-(s<<1)|0]=e.charCodeAt(r+1);case 3:t[o+3-(s<<1)|0]=e.charCodeAt(r)}if(!(i>2]=e.charCodeAt(r+a)<<24|e.charCodeAt(r+a+1)<<16|e.charCodeAt(r+a+2)<<8|e.charCodeAt(r+a+3);switch(c){case 3:t[o+u+1|0]=e.charCodeAt(r+u+2);case 2:t[o+u+2|0]=e.charCodeAt(r+u+1);case 1:t[o+u+3|0]=e.charCodeAt(r+u)}}}(e,t,o,a,s,c);if(e instanceof Array)return i(e,t,o,a,s,c);if(n&&n.Buffer&&n.Buffer.isBuffer(e))return i(e,t,o,a,s,c);if(e instanceof ArrayBuffer)return i(new Uint8Array(e),t,o,a,s,c);if(e.buffer instanceof ArrayBuffer)return i(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),t,o,a,s,c);if(e instanceof Blob)return function(e,t,n,i,o,a){var s=void 0,c=a%4,u=(o+c)%4,l=o-u,f=new Uint8Array(r.readAsArrayBuffer(e.slice(i,i+o)));switch(c){case 0:t[a]=f[3];case 1:t[a+1-(c<<1)|0]=f[2];case 2:t[a+2-(c<<1)|0]=f[1];case 3:t[a+3-(c<<1)|0]=f[0]}if(!(o>2|0]=f[s]<<24|f[s+1]<<16|f[s+2]<<8|f[s+3];switch(u){case 3:t[a+l+1|0]=f[l+2];case 2:t[a+l+2|0]=f[l+1];case 1:t[a+l+3|0]=f[l]}}}(e,t,o,a,s,c);throw new Error("Unsupported data type.")}},function(e,t,n){var r=function(){function e(e,t){for(var n=0;n=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=o(e);return t&&0!==t.length?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(c){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),e.exports=a},36813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,i=e[r];if(!(0>>1;ro(c,n))uo(l,c)?(e[r]=l,e[u]=n,r=u):(e[r]=c,e[s]=n,r=s);else{if(!(uo(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}var u=[],l=[],f=1,d=null,h=3,p=!1,m=!1,v=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(l);null!==t;){if(null===t.callback)i(l);else{if(!(t.startTime<=e))break;i(l),t.sortIndex=t.expirationTime,n(u,t)}t=r(l)}}function x(e){if(v=!1,w(e),!m)if(null!==r(u))m=!0,O(_);else{var t=r(l);null!==t&&j(x,t.startTime-e)}}function _(e,n){m=!1,v&&(v=!1,y(C),C=-1),p=!0;var o=h;try{for(w(n),d=r(u);null!==d&&(!(d.expirationTime>n)||e&&!R());){var a=d.callback;if("function"===typeof a){d.callback=null,h=d.priorityLevel;var s=a(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?d.callback=s:d===r(u)&&i(u),w(n)}else i(u);d=r(u)}if(null!==d)var c=!0;else{var f=r(l);null!==f&&j(x,f.startTime-n),c=!1}return c}finally{d=null,h=o,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,S=!1,E=null,C=-1,M=5,A=-1;function R(){return!(t.unstable_now()-Ae||125a?(e.sortIndex=o,n(l,e),null===r(u)&&e===r(l)&&(v?(y(C),C=-1):v=!0,j(x,o-a))):(e.sortIndex=s,n(u,e),m||p||(m=!0,O(_))),e},t.unstable_shouldYield=R,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},45296:function(e,t,n){"use strict";e.exports=n(36813)},77800:function(e){"use strict";var t={generateIdentifier:function(){return Math.random().toString(36).substring(2,12)}};t.localCName=t.generateIdentifier(),t.splitLines=function(e){return e.trim().split("\n").map((function(e){return e.trim()}))},t.splitSections=function(e){return e.split("\nm=").map((function(e,t){return(t>0?"m="+e:e).trim()+"\r\n"}))},t.getDescription=function(e){var n=t.splitSections(e);return n&&n[0]},t.getMediaSections=function(e){var n=t.splitSections(e);return n.shift(),n},t.matchPrefix=function(e,n){return t.splitLines(e).filter((function(e){return 0===e.indexOf(n)}))},t.parseCandidate=function(e){for(var t,n={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:{1:"rtp",2:"rtcp"}[t[1]]||t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]},r=8;r0?t[0].split("/")[1]:"sendrecv",uri:t[1],attributes:t.slice(2).join(" ")}},t.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+(e.attributes?" "+e.attributes:"")+"\r\n"},t.parseFmtp=function(e){for(var t,n={},r=e.substring(e.indexOf(" ")+1).split(";"),i=0;i-1?(n.attribute=e.substring(t+1,r),n.value=e.substring(r+1)):n.attribute=e.substring(t+1),n},t.parseSsrcGroup=function(e){var t=e.substring(13).split(" ");return{semantics:t.shift(),ssrcs:t.map((function(e){return parseInt(e,10)}))}},t.getMid=function(e){var n=t.matchPrefix(e,"a=mid:")[0];if(n)return n.substring(6)},t.parseFingerprint=function(e){var t=e.substring(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1].toUpperCase()}},t.getDtlsParameters=function(e,n){return{role:"auto",fingerprints:t.matchPrefix(e+n,"a=fingerprint:").map(t.parseFingerprint)}},t.writeDtlsParameters=function(e,t){var n="a=setup:"+t+"\r\n";return e.fingerprints.forEach((function(e){n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"})),n},t.parseCryptoLine=function(e){var t=e.substring(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},t.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"===typeof e.keyParams?t.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},t.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;var t=e.substring(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},t.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},t.getCryptoParameters=function(e,n){return t.matchPrefix(e+n,"a=crypto:").map(t.parseCryptoLine)},t.getIceParameters=function(e,n){var r=t.matchPrefix(e+n,"a=ice-ufrag:")[0],i=t.matchPrefix(e+n,"a=ice-pwd:")[0];return r&&i?{usernameFragment:r.substring(12),password:i.substring(10)}:null},t.writeIceParameters=function(e){var t="a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n";return e.iceLite&&(t+="a=ice-lite\r\n"),t},t.parseRtpParameters=function(e){var n={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},r=t.splitLines(e)[0].split(" ");n.profile=r[2];for(var i=3;i0?"9":"0",r+=" "+(n.profile||"UDP/TLS/RTP/SAVPF")+" ",r+=n.codecs.map((function(e){return void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType})).join(" ")+"\r\n",r+="c=IN IP4 0.0.0.0\r\n",r+="a=rtcp:9 IN IP4 0.0.0.0\r\n",n.codecs.forEach((function(e){r+=t.writeRtpMap(e),r+=t.writeFmtp(e),r+=t.writeRtcpFb(e)}));var i=0;return n.codecs.forEach((function(e){e.maxptime>i&&(i=e.maxptime)})),i>0&&(r+="a=maxptime:"+i+"\r\n"),n.headerExtensions&&n.headerExtensions.forEach((function(e){r+=t.writeExtmap(e)})),r},t.parseRtpEncodingParameters=function(e){var n,r=[],i=t.parseRtpParameters(e),o=-1!==i.fecMechanisms.indexOf("RED"),a=-1!==i.fecMechanisms.indexOf("ULPFEC"),s=t.matchPrefix(e,"a=ssrc:").map((function(e){return t.parseSsrcMedia(e)})).filter((function(e){return"cname"===e.attribute})),c=s.length>0&&s[0].ssrc,u=t.matchPrefix(e,"a=ssrc-group:FID").map((function(e){return e.substring(17).split(" ").map((function(e){return parseInt(e,10)}))}));u.length>0&&u[0].length>1&&u[0][0]===c&&(n=u[0][1]),i.codecs.forEach((function(e){if("RTX"===e.name.toUpperCase()&&e.parameters.apt){var t={ssrc:c,codecPayloadType:parseInt(e.parameters.apt,10)};c&&n&&(t.rtx={ssrc:n}),r.push(t),o&&((t=JSON.parse(JSON.stringify(t))).fec={ssrc:c,mechanism:a?"red+ulpfec":"red"},r.push(t))}})),0===r.length&&c&&r.push({ssrc:c});var l=t.matchPrefix(e,"b=");return l.length&&(l=0===l[0].indexOf("b=TIAS:")?parseInt(l[0].substring(7),10):0===l[0].indexOf("b=AS:")?1e3*parseInt(l[0].substring(5),10)*.95-16e3:void 0,r.forEach((function(e){e.maxBitrate=l}))),r},t.parseRtcpParameters=function(e){var n={},r=t.matchPrefix(e,"a=ssrc:").map((function(e){return t.parseSsrcMedia(e)})).filter((function(e){return"cname"===e.attribute}))[0];r&&(n.cname=r.value,n.ssrc=r.ssrc);var i=t.matchPrefix(e,"a=rtcp-rsize");n.reducedSize=i.length>0,n.compound=0===i.length;var o=t.matchPrefix(e,"a=rtcp-mux");return n.mux=o.length>0,n},t.writeRtcpParameters=function(e){var t="";return e.reducedSize&&(t+="a=rtcp-rsize\r\n"),e.mux&&(t+="a=rtcp-mux\r\n"),void 0!==e.ssrc&&e.cname&&(t+="a=ssrc:"+e.ssrc+" cname:"+e.cname+"\r\n"),t},t.parseMsid=function(e){var n,r=t.matchPrefix(e,"a=msid:");if(1===r.length)return{stream:(n=r[0].substring(7).split(" "))[0],track:n[1]};var i=t.matchPrefix(e,"a=ssrc:").map((function(e){return t.parseSsrcMedia(e)})).filter((function(e){return"msid"===e.attribute}));return i.length>0?{stream:(n=i[0].value.split(" "))[0],track:n[1]}:void 0},t.parseSctpDescription=function(e){var n,r=t.parseMLine(e),i=t.matchPrefix(e,"a=max-message-size:");i.length>0&&(n=parseInt(i[0].substring(19),10)),isNaN(n)&&(n=65536);var o=t.matchPrefix(e,"a=sctp-port:");if(o.length>0)return{port:parseInt(o[0].substring(12),10),protocol:r.fmt,maxMessageSize:n};var a=t.matchPrefix(e,"a=sctpmap:");if(a.length>0){var s=a[0].substring(10).split(" ");return{port:parseInt(s[0],10),protocol:s[1],maxMessageSize:n}}},t.writeSctpDescription=function(e,t){var n=[];return n="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&n.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),n.join("")},t.generateSessionId=function(){return Math.random().toString().substr(2,22)},t.writeSessionBoilerplate=function(e,n,r){var i=void 0!==n?n:2;return"v=0\r\no="+(r||"thisisadapterortc")+" "+(e||t.generateSessionId())+" "+i+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},t.getDirection=function(e,n){for(var r=t.splitLines(e),i=0;i=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},85730:function(e,t,n){var r=e.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};r.sha=n(29940),r.sha1=n(97453),r.sha224=n(68633),r.sha256=n(97101),r.sha384=n(713),r.sha512=n(23884)},29940:function(e,t,n){var r=n(12534),i=n(14454),o=n(82543).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<30|e>>>2}function l(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,f=0;f<16;++f)n[f]=e.readInt32BE(4*f);for(;f<80;++f)n[f]=n[f-3]^n[f-8]^n[f-14]^n[f-16];for(var d=0;d<80;++d){var h=~~(d/20),p=0|((t=r)<<5|t>>>27)+l(h,i,o,s)+c+n[d]+a[h];c=s,s=o,o=u(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},97453:function(e,t,n){var r=n(12534),i=n(14454),o=n(82543).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function f(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=(t=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|t>>>31;for(var h=0;h<80;++h){var p=~~(h/20),m=u(r)+f(p,i,o,s)+c+n[h]+a[p]|0;c=s,s=o,o=l(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},68633:function(e,t,n){var r=n(12534),i=n(97101),o=n(14454),a=n(82543).Buffer,s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}r(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},97101:function(e,t,n){var r=n(12534),i=n(14454),o=n(82543).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(e,t,n){return n^e&(t^n)}function l(e,t,n){return e&t|n&(e|t)}function f(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,v=0|this._h,g=0;g<16;++g)n[g]=e.readInt32BE(4*g);for(;g<64;++g)n[g]=0|(((t=n[g-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[g-7]+h(n[g-15])+n[g-16];for(var y=0;y<64;++y){var b=v+d(c)+u(c,p,m)+a[y]+n[y]|0,w=f(r)+l(r,i,o)|0;v=m,m=p,p=c,c=s+b|0,s=o,o=i,i=r,r=b+w|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=v+this._h|0},c.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},713:function(e,t,n){var r=n(12534),i=n(23884),o=n(14454),a=n(82543).Buffer,s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}r(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},23884:function(e,t,n){var r=n(12534),i=n(14454),o=n(82543).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}function u(e,t,n){return n^e&(t^n)}function l(e,t,n){return e&t|n&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function v(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function g(e,t){return e>>>0>>0?1:0}r(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,c=0|this._fh,y=0|this._gh,b=0|this._hh,w=0|this._al,x=0|this._bl,_=0|this._cl,k=0|this._dl,S=0|this._el,E=0|this._fl,C=0|this._gl,M=0|this._hl,A=0;A<32;A+=2)t[A]=e.readInt32BE(4*A),t[A+1]=e.readInt32BE(4*A+4);for(;A<160;A+=2){var R=t[A-30],T=t[A-30+1],P=h(R,T),I=p(T,R),O=m(R=t[A-4],T=t[A-4+1]),j=v(T,R),Z=t[A-14],L=t[A-14+1],B=t[A-32],N=t[A-32+1],D=I+L|0,F=P+Z+g(D,I)|0;F=(F=F+O+g(D=D+j|0,j)|0)+B+g(D=D+N|0,N)|0,t[A]=F,t[A+1]=D}for(var z=0;z<160;z+=2){F=t[z],D=t[z+1];var U=l(n,r,i),H=l(w,x,_),q=f(n,w),W=f(w,n),V=d(s,S),G=d(S,s),$=a[z],K=a[z+1],Y=u(s,c,y),X=u(S,E,C),J=M+G|0,Q=b+V+g(J,M)|0;Q=(Q=(Q=Q+Y+g(J=J+X|0,X)|0)+$+g(J=J+K|0,K)|0)+F+g(J=J+D|0,D)|0;var ee=W+H|0,te=q+U+g(ee,W)|0;b=y,M=C,y=c,C=E,c=s,E=S,s=o+Q+g(S=k+J|0,k)|0,o=i,k=_,i=r,_=x,r=n,x=w,n=Q+te+g(w=J+ee|0,J)|0}this._al=this._al+w|0,this._bl=this._bl+x|0,this._cl=this._cl+_|0,this._dl=this._dl+k|0,this._el=this._el+S|0,this._fl=this._fl+E|0,this._gl=this._gl+C|0,this._hl=this._hl+M|0,this._ah=this._ah+n+g(this._al,w)|0,this._bh=this._bh+r+g(this._bl,x)|0,this._ch=this._ch+i+g(this._cl,_)|0,this._dh=this._dh+o+g(this._dl,k)|0,this._eh=this._eh+s+g(this._el,S)|0,this._fh=this._fh+c+g(this._fl,E)|0,this._gh=this._gh+y+g(this._gl,C)|0,this._hh=this._hh+b+g(this._hl,M)|0},c.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},80460:function(e){e.exports=function(e,t){var n=[];e.on("data",(function(e){n.push(e)})),e.once("end",(function(){t&&t(null,Buffer.concat(n)),t=null})),e.once("error",(function(e){t&&t(e),t=null}))}},73998:function(e,t,n){e.exports=f;var r=n(80460),i=n(11356),o=n(94938),a=n(44339),s=n(14876),c=n(30863),u=n(12114),l=function(e){return null!==e&&"object"===typeof e&&"function"===typeof e.pipe};function f(e,t){if(e=Object.assign({maxRedirects:10},"string"===typeof e?{url:e}:e),t=s(t),e.url){var n=u.parse(e.url),r=n.hostname,d=n.port,h=n.protocol,p=n.auth,m=n.path;delete e.url,r||d||h||p?Object.assign(e,{hostname:r,port:d,protocol:h,auth:p,path:m}):e.path=m}var v,g={"accept-encoding":"gzip, deflate"};e.headers&&Object.keys(e.headers).forEach((function(t){return g[t.toLowerCase()]=e.headers[t]})),e.headers=g,e.body?v=e.json&&!l(e.body)?JSON.stringify(e.body):e.body:e.form&&(v="string"===typeof e.form?e.form:c.stringify(e.form),e.headers["content-type"]="application/x-www-form-urlencoded"),v&&(e.method||(e.method="POST"),l(v)||(e.headers["content-length"]=Buffer.byteLength(v)),e.json&&!e.form&&(e.headers["content-type"]="application/json")),delete e.body,delete e.form,e.json&&(e.headers.accept="application/json"),e.method&&(e.method=e.method.toUpperCase());var y=e.hostname,b=("https:"===e.protocol?a:o).request(e,(function(n){if(!1!==e.followRedirects&&n.statusCode>=300&&n.statusCode<400&&n.headers.location){e.url=n.headers.location,delete e.headers.host,n.resume();var r=u.parse(e.url).hostname;return null!==r&&r!==y&&(delete e.headers.cookie,delete e.headers.authorization),"POST"===e.method&&[301,302].includes(n.statusCode)&&(e.method="GET",delete e.headers["content-length"],delete e.headers["content-type"]),0===e.maxRedirects--?t(new Error("too many redirects")):f(e,t)}var o="function"===typeof i&&"HEAD"!==e.method;t(null,o?i(n):n)}));return b.on("timeout",(function(){b.abort(),t(new Error("Request timed out"))})),b.on("error",t),l(v)?v.on("error",t).pipe(b):b.end(v),b}f.concat=function(e,t){return f(e,(function(n,i){if(n)return t(n);r(i,(function(n,r){if(n)return t(n);if(e.json)try{r=JSON.parse(r.toString())}catch(n){return t(n,i,r)}t(null,i,r)}))}))},["get","post","put","patch","head","delete"].forEach((function(e){f[e]=function(t,n){return"string"===typeof t&&(t={url:t}),f(Object.assign({method:e.toUpperCase()},t),n)}}))},57532:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(94993).default,a=n(61655).default,s=n(26389).default,c=n(18392)("simple-peer"),u=n(95642),l=n(12525),f=n(90723),d=n(44183),h=n(67963),p=n(19778).Buffer,m=65536;function v(e){return e.replace(/a=ice-options:trickle\s\n/g,"")}var g=function(e){"use strict";a(n,e);var t=s(n);function n(e){var i;if(r(this,n),e=Object.assign({allowHalfOpen:!1},e),(i=t.call(this,e))._id=l(4).toString("hex").slice(0,7),i._debug("new peer %o",e),i.channelName=e.initiator?e.channelName||l(20).toString("hex"):null,i.initiator=e.initiator||!1,i.channelConfig=e.channelConfig||n.channelConfig,i.channelNegotiated=i.channelConfig.negotiated,i.config=Object.assign({},n.config,e.config),i.offerOptions=e.offerOptions||{},i.answerOptions=e.answerOptions||{},i.sdpTransform=e.sdpTransform||function(e){return e},i.streams=e.streams||(e.stream?[e.stream]:[]),i.trickle=void 0===e.trickle||e.trickle,i.allowHalfTrickle=void 0!==e.allowHalfTrickle&&e.allowHalfTrickle,i.iceCompleteTimeout=e.iceCompleteTimeout||5e3,i.destroyed=!1,i.destroying=!1,i._connected=!1,i.remoteAddress=void 0,i.remoteFamily=void 0,i.remotePort=void 0,i.localAddress=void 0,i.localFamily=void 0,i.localPort=void 0,i._wrtc=e.wrtc&&"object"===typeof e.wrtc?e.wrtc:u(),!i._wrtc)throw"undefined"===typeof window?h(new Error("No WebRTC support: Specify `opts.wrtc` option in this environment"),"ERR_WEBRTC_SUPPORT"):h(new Error("No WebRTC support: Not a supported browser"),"ERR_WEBRTC_SUPPORT");i._pcReady=!1,i._channelReady=!1,i._iceComplete=!1,i._iceCompleteTimer=null,i._channel=null,i._pendingCandidates=[],i._isNegotiating=!1,i._firstNegotiation=!0,i._batchedNegotiation=!1,i._queuedNegotiation=!1,i._sendersAwaitingStable=[],i._senderMap=new Map,i._closingInterval=null,i._remoteTracks=[],i._remoteStreams=[],i._chunk=null,i._cb=null,i._interval=null;try{i._pc=new i._wrtc.RTCPeerConnection(i.config)}catch(a){return i.destroy(h(a,"ERR_PC_CONSTRUCTOR")),o(i)}return i._isReactNativeWebrtc="number"===typeof i._pc._peerConnectionId,i._pc.oniceconnectionstatechange=function(){i._onIceStateChange()},i._pc.onicegatheringstatechange=function(){i._onIceStateChange()},i._pc.onconnectionstatechange=function(){i._onConnectionStateChange()},i._pc.onsignalingstatechange=function(){i._onSignalingStateChange()},i._pc.onicecandidate=function(e){i._onIceCandidate(e)},"object"===typeof i._pc.peerIdentity&&i._pc.peerIdentity.catch((function(e){i.destroy(h(e,"ERR_PC_PEER_IDENTITY"))})),i.initiator||i.channelNegotiated?i._setupData({channel:i._pc.createDataChannel(i.channelName,i.channelConfig)}):i._pc.ondatachannel=function(e){i._setupData(e)},i.streams&&i.streams.forEach((function(e){i.addStream(e)})),i._pc.ontrack=function(e){i._onTrack(e)},i._debug("initial negotiation"),i._needsNegotiation(),i._onFinishBound=function(){i._onFinish()},i.once("finish",i._onFinishBound),i}return i(n,[{key:"bufferSize",get:function(){return this._channel&&this._channel.bufferedAmount||0}},{key:"connected",get:function(){return this._connected&&"open"===this._channel.readyState}},{key:"address",value:function(){return{port:this.localPort,family:this.localFamily,address:this.localAddress}}},{key:"signal",value:function(e){var t=this;if(!this.destroying){if(this.destroyed)throw h(new Error("cannot signal after peer is destroyed"),"ERR_DESTROYED");if("string"===typeof e)try{e=JSON.parse(e)}catch(n){e={}}this._debug("signal()"),e.renegotiate&&this.initiator&&(this._debug("got request to renegotiate"),this._needsNegotiation()),e.transceiverRequest&&this.initiator&&(this._debug("got request for transceiver"),this.addTransceiver(e.transceiverRequest.kind,e.transceiverRequest.init)),e.candidate&&(this._pc.remoteDescription&&this._pc.remoteDescription.type?this._addIceCandidate(e.candidate):this._pendingCandidates.push(e.candidate)),e.sdp&&this._pc.setRemoteDescription(new this._wrtc.RTCSessionDescription(e)).then((function(){t.destroyed||(t._pendingCandidates.forEach((function(e){t._addIceCandidate(e)})),t._pendingCandidates=[],"offer"===t._pc.remoteDescription.type&&t._createAnswer())})).catch((function(e){t.destroy(h(e,"ERR_SET_REMOTE_DESCRIPTION"))})),e.sdp||e.candidate||e.renegotiate||e.transceiverRequest||this.destroy(h(new Error("signal() called with invalid signal data"),"ERR_SIGNALING"))}}},{key:"_addIceCandidate",value:function(e){var t=this,n=new this._wrtc.RTCIceCandidate(e);this._pc.addIceCandidate(n).catch((function(e){var r;!n.address||n.address.endsWith(".local")?(r="Ignoring unsupported ICE candidate.",console.warn(r)):t.destroy(h(e,"ERR_ADD_ICE_CANDIDATE"))}))}},{key:"send",value:function(e){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot send after peer is destroyed"),"ERR_DESTROYED");this._channel.send(e)}}},{key:"addTransceiver",value:function(e,t){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot addTransceiver after peer is destroyed"),"ERR_DESTROYED");if(this._debug("addTransceiver()"),this.initiator)try{this._pc.addTransceiver(e,t),this._needsNegotiation()}catch(n){this.destroy(h(n,"ERR_ADD_TRANSCEIVER"))}else this.emit("signal",{type:"transceiverRequest",transceiverRequest:{kind:e,init:t}})}}},{key:"addStream",value:function(e){var t=this;if(!this.destroying){if(this.destroyed)throw h(new Error("cannot addStream after peer is destroyed"),"ERR_DESTROYED");this._debug("addStream()"),e.getTracks().forEach((function(n){t.addTrack(n,e)}))}}},{key:"addTrack",value:function(e,t){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot addTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("addTrack()");var n=this._senderMap.get(e)||new Map,r=n.get(t);if(r)throw r.removed?h(new Error("Track has been removed. You should enable/disable tracks that you want to re-add."),"ERR_SENDER_REMOVED"):h(new Error("Track has already been added to that stream."),"ERR_SENDER_ALREADY_ADDED");r=this._pc.addTrack(e,t),n.set(t,r),this._senderMap.set(e,n),this._needsNegotiation()}}},{key:"replaceTrack",value:function(e,t,n){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot replaceTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("replaceTrack()");var r=this._senderMap.get(e),i=r?r.get(n):null;if(!i)throw h(new Error("Cannot replace track that was never added."),"ERR_TRACK_NOT_ADDED");t&&this._senderMap.set(t,r),null!=i.replaceTrack?i.replaceTrack(t):this.destroy(h(new Error("replaceTrack is not supported in this browser"),"ERR_UNSUPPORTED_REPLACETRACK"))}}},{key:"removeTrack",value:function(e,t){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot removeTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("removeSender()");var n=this._senderMap.get(e),r=n?n.get(t):null;if(!r)throw h(new Error("Cannot remove track that was never added."),"ERR_TRACK_NOT_ADDED");try{r.removed=!0,this._pc.removeTrack(r)}catch(i){"NS_ERROR_UNEXPECTED"===i.name?this._sendersAwaitingStable.push(r):this.destroy(h(i,"ERR_REMOVE_TRACK"))}this._needsNegotiation()}}},{key:"removeStream",value:function(e){var t=this;if(!this.destroying){if(this.destroyed)throw h(new Error("cannot removeStream after peer is destroyed"),"ERR_DESTROYED");this._debug("removeSenders()"),e.getTracks().forEach((function(n){t.removeTrack(n,e)}))}}},{key:"_needsNegotiation",value:function(){var e=this;this._debug("_needsNegotiation"),this._batchedNegotiation||(this._batchedNegotiation=!0,d((function(){e._batchedNegotiation=!1,e.initiator||!e._firstNegotiation?(e._debug("starting batched negotiation"),e.negotiate()):e._debug("non-initiator initial negotiation request discarded"),e._firstNegotiation=!1})))}},{key:"negotiate",value:function(){var e=this;if(!this.destroying){if(this.destroyed)throw h(new Error("cannot negotiate after peer is destroyed"),"ERR_DESTROYED");this.initiator?this._isNegotiating?(this._queuedNegotiation=!0,this._debug("already negotiating, queueing")):(this._debug("start negotiation"),setTimeout((function(){e._createOffer()}),0)):this._isNegotiating?(this._queuedNegotiation=!0,this._debug("already negotiating, queueing")):(this._debug("requesting negotiation from initiator"),this.emit("signal",{type:"renegotiate",renegotiate:!0})),this._isNegotiating=!0}}},{key:"destroy",value:function(e){this._destroy(e,(function(){}))}},{key:"_destroy",value:function(e,t){var n=this;this.destroyed||this.destroying||(this.destroying=!0,this._debug("destroying (error: %s)",e&&(e.message||e)),d((function(){if(n.destroyed=!0,n.destroying=!1,n._debug("destroy (error: %s)",e&&(e.message||e)),n.readable=n.writable=!1,n._readableState.ended||n.push(null),n._writableState.finished||n.end(),n._connected=!1,n._pcReady=!1,n._channelReady=!1,n._remoteTracks=null,n._remoteStreams=null,n._senderMap=null,clearInterval(n._closingInterval),n._closingInterval=null,clearInterval(n._interval),n._interval=null,n._chunk=null,n._cb=null,n._onFinishBound&&n.removeListener("finish",n._onFinishBound),n._onFinishBound=null,n._channel){try{n._channel.close()}catch(e){}n._channel.onmessage=null,n._channel.onopen=null,n._channel.onclose=null,n._channel.onerror=null}if(n._pc){try{n._pc.close()}catch(e){}n._pc.oniceconnectionstatechange=null,n._pc.onicegatheringstatechange=null,n._pc.onsignalingstatechange=null,n._pc.onicecandidate=null,n._pc.ontrack=null,n._pc.ondatachannel=null}n._pc=null,n._channel=null,e&&n.emit("error",e),n.emit("close"),t()})))}},{key:"_setupData",value:function(e){var t=this;if(!e.channel)return this.destroy(h(new Error("Data channel event is missing `channel` property"),"ERR_DATA_CHANNEL"));this._channel=e.channel,this._channel.binaryType="arraybuffer","number"===typeof this._channel.bufferedAmountLowThreshold&&(this._channel.bufferedAmountLowThreshold=m),this.channelName=this._channel.label,this._channel.onmessage=function(e){t._onChannelMessage(e)},this._channel.onbufferedamountlow=function(){t._onChannelBufferedAmountLow()},this._channel.onopen=function(){t._onChannelOpen()},this._channel.onclose=function(){t._onChannelClose()},this._channel.onerror=function(e){var n=e.error instanceof Error?e.error:new Error("Datachannel error: ".concat(e.message," ").concat(e.filename,":").concat(e.lineno,":").concat(e.colno));t.destroy(h(n,"ERR_DATA_CHANNEL"))};var n=!1;this._closingInterval=setInterval((function(){t._channel&&"closing"===t._channel.readyState?(n&&t._onChannelClose(),n=!0):n=!1}),5e3)}},{key:"_read",value:function(){}},{key:"_write",value:function(e,t,n){if(this.destroyed)return n(h(new Error("cannot write after peer is destroyed"),"ERR_DATA_CHANNEL"));if(this._connected){try{this.send(e)}catch(r){return this.destroy(h(r,"ERR_DATA_CHANNEL"))}this._channel.bufferedAmount>m?(this._debug("start backpressure: bufferedAmount %d",this._channel.bufferedAmount),this._cb=n):n(null)}else this._debug("write before connect"),this._chunk=e,this._cb=n}},{key:"_onFinish",value:function(){var e=this;if(!this.destroyed){var t=function(){setTimeout((function(){return e.destroy()}),1e3)};this._connected?t():this.once("connect",t)}}},{key:"_startIceCompleteTimeout",value:function(){var e=this;this.destroyed||this._iceCompleteTimer||(this._debug("started iceComplete timeout"),this._iceCompleteTimer=setTimeout((function(){e._iceComplete||(e._iceComplete=!0,e._debug("iceComplete timeout completed"),e.emit("iceTimeout"),e.emit("_iceComplete"))}),this.iceCompleteTimeout))}},{key:"_createOffer",value:function(){var e=this;this.destroyed||this._pc.createOffer(this.offerOptions).then((function(t){if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=v(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var n=function(){if(!e.destroyed){var n=e._pc.localDescription||t;e._debug("signal"),e.emit("signal",{type:n.type,sdp:n.sdp})}};e._pc.setLocalDescription(t).then((function(){e._debug("createOffer success"),e.destroyed||(e.trickle||e._iceComplete?n():e.once("_iceComplete",n))})).catch((function(t){e.destroy(h(t,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(h(t,"ERR_CREATE_OFFER"))}))}},{key:"_requestMissingTransceivers",value:function(){var e=this;this._pc.getTransceivers&&this._pc.getTransceivers().forEach((function(t){t.mid||!t.sender.track||t.requested||(t.requested=!0,e.addTransceiver(t.sender.track.kind))}))}},{key:"_createAnswer",value:function(){var e=this;this.destroyed||this._pc.createAnswer(this.answerOptions).then((function(t){if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=v(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var n=function(){if(!e.destroyed){var n=e._pc.localDescription||t;e._debug("signal"),e.emit("signal",{type:n.type,sdp:n.sdp}),e.initiator||e._requestMissingTransceivers()}};e._pc.setLocalDescription(t).then((function(){e.destroyed||(e.trickle||e._iceComplete?n():e.once("_iceComplete",n))})).catch((function(t){e.destroy(h(t,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(h(t,"ERR_CREATE_ANSWER"))}))}},{key:"_onConnectionStateChange",value:function(){this.destroyed||"failed"===this._pc.connectionState&&this.destroy(h(new Error("Connection failed."),"ERR_CONNECTION_FAILURE"))}},{key:"_onIceStateChange",value:function(){if(!this.destroyed){var e=this._pc.iceConnectionState,t=this._pc.iceGatheringState;this._debug("iceStateChange (connection: %s) (gathering: %s)",e,t),this.emit("iceStateChange",e,t),"connected"!==e&&"completed"!==e||(this._pcReady=!0,this._maybeReady()),"failed"===e&&this.destroy(h(new Error("Ice connection failed."),"ERR_ICE_CONNECTION_FAILURE")),"closed"===e&&this.destroy(h(new Error("Ice connection closed."),"ERR_ICE_CONNECTION_CLOSED"))}}},{key:"getStats",value:function(e){var t=this,n=function(e){return"[object Array]"===Object.prototype.toString.call(e.values)&&e.values.forEach((function(t){Object.assign(e,t)})),e};0===this._pc.getStats.length||this._isReactNativeWebrtc?this._pc.getStats().then((function(t){var r=[];t.forEach((function(e){r.push(n(e))})),e(null,r)}),(function(t){return e(t)})):this._pc.getStats.length>0?this._pc.getStats((function(r){if(!t.destroyed){var i=[];r.result().forEach((function(e){var t={};e.names().forEach((function(n){t[n]=e.stat(n)})),t.id=e.id,t.type=e.type,t.timestamp=e.timestamp,i.push(n(t))})),e(null,i)}}),(function(t){return e(t)})):e(null,[])}},{key:"_maybeReady",value:function(){var e=this;if(this._debug("maybeReady pc %s channel %s",this._pcReady,this._channelReady),!this._connected&&!this._connecting&&this._pcReady&&this._channelReady){this._connecting=!0;!function t(){e.destroyed||e.getStats((function(n,r){if(!e.destroyed){n&&(r=[]);var i={},o={},a={},s=!1;r.forEach((function(e){"remotecandidate"!==e.type&&"remote-candidate"!==e.type||(i[e.id]=e),"localcandidate"!==e.type&&"local-candidate"!==e.type||(o[e.id]=e),"candidatepair"!==e.type&&"candidate-pair"!==e.type||(a[e.id]=e)}));var c=function(t){s=!0;var n=o[t.localCandidateId];n&&(n.ip||n.address)?(e.localAddress=n.ip||n.address,e.localPort=Number(n.port)):n&&n.ipAddress?(e.localAddress=n.ipAddress,e.localPort=Number(n.portNumber)):"string"===typeof t.googLocalAddress&&(n=t.googLocalAddress.split(":"),e.localAddress=n[0],e.localPort=Number(n[1])),e.localAddress&&(e.localFamily=e.localAddress.includes(":")?"IPv6":"IPv4");var r=i[t.remoteCandidateId];r&&(r.ip||r.address)?(e.remoteAddress=r.ip||r.address,e.remotePort=Number(r.port)):r&&r.ipAddress?(e.remoteAddress=r.ipAddress,e.remotePort=Number(r.portNumber)):"string"===typeof t.googRemoteAddress&&(r=t.googRemoteAddress.split(":"),e.remoteAddress=r[0],e.remotePort=Number(r[1])),e.remoteAddress&&(e.remoteFamily=e.remoteAddress.includes(":")?"IPv6":"IPv4"),e._debug("connect local: %s:%s remote: %s:%s",e.localAddress,e.localPort,e.remoteAddress,e.remotePort)};if(r.forEach((function(e){"transport"===e.type&&e.selectedCandidatePairId&&c(a[e.selectedCandidatePairId]),("googCandidatePair"===e.type&&"true"===e.googActiveConnection||("candidatepair"===e.type||"candidate-pair"===e.type)&&e.selected)&&c(e)})),s||Object.keys(a).length&&!Object.keys(o).length){if(e._connecting=!1,e._connected=!0,e._chunk){try{e.send(e._chunk)}catch(n){return e.destroy(h(n,"ERR_DATA_CHANNEL"))}e._chunk=null,e._debug('sent chunk from "write before connect"');var u=e._cb;e._cb=null,u(null)}"number"!==typeof e._channel.bufferedAmountLowThreshold&&(e._interval=setInterval((function(){return e._onInterval()}),150),e._interval.unref&&e._interval.unref()),e._debug("connect"),e.emit("connect")}else setTimeout(t,100)}}))}()}}},{key:"_onInterval",value:function(){!this._cb||!this._channel||this._channel.bufferedAmount>m||this._onChannelBufferedAmountLow()}},{key:"_onSignalingStateChange",value:function(){var e=this;this.destroyed||("stable"===this._pc.signalingState&&(this._isNegotiating=!1,this._debug("flushing sender queue",this._sendersAwaitingStable),this._sendersAwaitingStable.forEach((function(t){e._pc.removeTrack(t),e._queuedNegotiation=!0})),this._sendersAwaitingStable=[],this._queuedNegotiation?(this._debug("flushing negotiation queue"),this._queuedNegotiation=!1,this._needsNegotiation()):(this._debug("negotiated"),this.emit("negotiated"))),this._debug("signalingStateChange %s",this._pc.signalingState),this.emit("signalingStateChange",this._pc.signalingState))}},{key:"_onIceCandidate",value:function(e){this.destroyed||(e.candidate&&this.trickle?this.emit("signal",{type:"candidate",candidate:{candidate:e.candidate.candidate,sdpMLineIndex:e.candidate.sdpMLineIndex,sdpMid:e.candidate.sdpMid}}):e.candidate||this._iceComplete||(this._iceComplete=!0,this.emit("_iceComplete")),e.candidate&&this._startIceCompleteTimeout())}},{key:"_onChannelMessage",value:function(e){if(!this.destroyed){var t=e.data;t instanceof ArrayBuffer&&(t=p.from(t)),this.push(t)}}},{key:"_onChannelBufferedAmountLow",value:function(){if(!this.destroyed&&this._cb){this._debug("ending backpressure: bufferedAmount %d",this._channel.bufferedAmount);var e=this._cb;this._cb=null,e(null)}}},{key:"_onChannelOpen",value:function(){this._connected||this.destroyed||(this._debug("on channel open"),this._channelReady=!0,this._maybeReady())}},{key:"_onChannelClose",value:function(){this.destroyed||(this._debug("on channel close"),this.destroy())}},{key:"_onTrack",value:function(e){var t=this;this.destroyed||e.streams.forEach((function(n){t._debug("on track"),t.emit("track",e.track,n),t._remoteTracks.push({track:e.track,stream:n}),t._remoteStreams.some((function(e){return e.id===n.id}))||(t._remoteStreams.push(n),d((function(){t._debug("on stream"),t.emit("stream",n)})))}))}},{key:"_debug",value:function(){var e=[].slice.call(arguments);e[0]="["+this._id+"] "+e[0],c.apply(null,e)}}]),n}(f.Duplex);g.WEBRTC_SUPPORT=!!u(),g.config={iceServers:[{urls:["stun:stun.l.google.com:19302","stun:global.stun.twilio.com:3478"]}],sdpSemantics:"unified-plan"},g.channelConfig={},e.exports=g},92271:function(e,t,n){var r=n(14690),i=n(70238),o=new r,a="undefined"!==typeof window?window:self,s=a.crypto||a.msCrypto||{},c=s.subtle||s.webkitSubtle;function u(e){return o.digest(e)}try{c.digest({name:"sha-1"},new Uint8Array).catch((function(){c=!1}))}catch(l){c=!1}e.exports=function(e,t){c?("string"===typeof e&&(e=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")}(new Uint8Array(e)))}),(function(){t(u(e))}))):"undefined"!==typeof window?i(e,(function(n,r){t(n?u(e):r)})):queueMicrotask((function(){return t(u(e))}))},e.exports.sync=u},70238:function(e,t,n){var r,i,o,a=n(14690);e.exports=function(e,t){r||(r=a.createWorker(),i=1,o={},r.onmessage=function(e){var t=e.data.id,n=o[t];delete o[t],null!=e.data.error?n(new Error("Rusha worker error: "+e.data.error)):n(null,e.data.hash)}),o[i]=t,r.postMessage({id:i,data:e}),i+=1}},90153:function(e,t,n){var r=n(42122).default,i=n(56690).default,o=n(89728).default,a=n(94993).default,s=n(61655).default,c=n(26389).default,u=n(18392)("simple-websocket"),l=n(12525),f=n(90723),d=n(44183),h=n(73719),p="function"!==typeof h?WebSocket:h,m=function(e){"use strict";s(n,e);var t=c(n);function n(){var e,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(i(this,n),"string"===typeof o&&(o={url:o}),o=Object.assign({allowHalfOpen:!1},o),e=t.call(this,o),null==o.url&&null==o.socket)throw new Error("Missing required `url` or `socket` option");if(null!=o.url&&null!=o.socket)throw new Error("Must specify either `url` or `socket` option, not both");if(e._id=l(4).toString("hex").slice(0,7),e._debug("new websocket: %o",o),e.connected=!1,e.destroyed=!1,e._chunk=null,e._cb=null,e._interval=null,o.socket)e.url=o.socket.url,e._ws=o.socket,e.connected=o.socket.readyState===p.OPEN;else{e.url=o.url;try{e._ws="function"===typeof h?new p(o.url,null,r(r({},o),{},{encoding:void 0})):new p(o.url)}catch(s){return d((function(){return e.destroy(s)})),a(e)}}return e._ws.binaryType="arraybuffer",o.socket&&e.connected?d((function(){return e._handleOpen()})):e._ws.onopen=function(){return e._handleOpen()},e._ws.onmessage=function(t){return e._handleMessage(t)},e._ws.onclose=function(){return e._handleClose()},e._ws.onerror=function(t){return e._handleError(t)},e._handleFinishBound=function(){return e._handleFinish()},e.once("finish",e._handleFinishBound),e}return o(n,[{key:"send",value:function(e){this._ws.send(e)}},{key:"destroy",value:function(e){this._destroy(e,(function(){}))}},{key:"_destroy",value:function(e,t){if(!this.destroyed){if(this._debug("destroy (error: %s)",e&&(e.message||e)),this.readable=this.writable=!1,this._readableState.ended||this.push(null),this._writableState.finished||this.end(),this.connected=!1,this.destroyed=!0,clearInterval(this._interval),this._interval=null,this._chunk=null,this._cb=null,this._handleFinishBound&&this.removeListener("finish",this._handleFinishBound),this._handleFinishBound=null,this._ws){var n=this._ws,r=function(){n.onclose=null};if(n.readyState===p.CLOSED)r();else try{n.onclose=r,n.close()}catch(e){r()}n.onopen=null,n.onmessage=null,n.onerror=function(){}}this._ws=null,e&&this.emit("error",e),this.emit("close"),t()}}},{key:"_read",value:function(){}},{key:"_write",value:function(e,t,n){if(this.destroyed)return n(new Error("cannot write after socket is destroyed"));if(this.connected){try{this.send(e)}catch(r){return this.destroy(r)}"function"!==typeof h&&this._ws.bufferedAmount>65536?(this._debug("start backpressure: bufferedAmount %d",this._ws.bufferedAmount),this._cb=n):n(null)}else this._debug("write before connect"),this._chunk=e,this._cb=n}},{key:"_handleOpen",value:function(){var e=this;if(!this.connected&&!this.destroyed){if(this.connected=!0,this._chunk){try{this.send(this._chunk)}catch(n){return this.destroy(n)}this._chunk=null,this._debug('sent chunk from "write before connect"');var t=this._cb;this._cb=null,t(null)}"function"!==typeof h&&(this._interval=setInterval((function(){return e._onInterval()}),150),this._interval.unref&&this._interval.unref()),this._debug("connect"),this.emit("connect")}}},{key:"_handleMessage",value:function(e){if(!this.destroyed){var t=e.data;t instanceof ArrayBuffer&&(t=Buffer.from(t)),this.push(t)}}},{key:"_handleClose",value:function(){this.destroyed||(this._debug("on close"),this.destroy())}},{key:"_handleError",value:function(e){this.destroy(new Error("Error connecting to ".concat(this.url)))}},{key:"_handleFinish",value:function(){var e=this;if(!this.destroyed){var t=function(){setTimeout((function(){return e.destroy()}),1e3)};this.connected?t():this.once("connect",t)}}},{key:"_onInterval",value:function(){if(this._cb&&this._ws&&!(this._ws.bufferedAmount>65536)){this._debug("ending backpressure: bufferedAmount %d",this._ws.bufferedAmount);var e=this._cb;this._cb=null,e(null)}}},{key:"_debug",value:function(){var e=[].slice.call(arguments);e[0]="["+this._id+"] "+e[0],u.apply(null,e)}}]),n}(f.Duplex);m.WEBSOCKET_SUPPORT=!!p,e.exports=m},83457:function(e){"use strict";var t;t=function(){var e={},t={};return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!==n&&t[e.name].splice(n,1)},e.trigger=function(e,n){var r,i=t[e];if(i)for(r=i.length;r--;)i[r].handler(n)},e},e.exports=t},27719:function(e,t,n){var r=n(39920),i=n(60947);e.exports={Throttle:r,ThrottleGroup:i}},60947:function(e,t,n){var r=n(42122).default,i=n(74704).default,o=n(56690).default,a=n(89728).default,s=n(76368).TokenBucket,c=n(39920),u=function(){"use strict";function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(o(this,e),"object"!==typeof t)throw new Error("Options must be an object");this.throttles=[],this.setEnabled(t.enabled),this.setRate(t.rate,t.chunksize)}return a(e,[{key:"getEnabled",value:function(){return this._enabled}},{key:"getRate",value:function(){return this.bucket.tokensPerInterval}},{key:"getChunksize",value:function(){return this.chunksize}},{key:"setEnabled",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if("boolean"!==typeof e)throw new Error("Enabled must be a boolean");this._enabled=e;var t,n=i(this.throttles);try{for(n.s();!(t=n.n()).done;){t.value.setEnabled(e)}}catch(r){n.e(r)}finally{n.f()}}},{key:"setRate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Number.isInteger(e)||e<0)throw new Error("Rate must be an integer bigger than zero");if(e=parseInt(e),t&&("number"!==typeof t||t<=0))throw new Error("Chunksize must be bigger than zero");if(t=t||Math.max(parseInt(e/10),1),t=parseInt(t),e>0&&t>e)throw new Error("Chunk size must be smaller than rate");this.bucket||(this.bucket=new s(e,e,"second",null)),this.bucket.bucketSize=e,this.bucket.tokensPerInterval=e,this.chunksize=t}},{key:"setChunksize",value:function(e){if(!Number.isInteger(e)||e<=0)throw new Error("Chunk size must be an integer bigger than zero");var t=this.getRate();if(e=parseInt(e),t>0&&e>t)throw new Error("Chunk size must be smaller than rate");this.chunksize=e}},{key:"throttle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("object"!==typeof e)throw new Error("Options must be an object");return new c(r(r({},e),{},{group:this}))}},{key:"destroy",value:function(){var e,t=i(this.throttles);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(n){t.e(n)}finally{t.f()}this.throttles=[]}},{key:"_addThrottle",value:function(e){if(!(e instanceof c))throw new Error("Throttle must be an instance of Throttle");this.throttles.push(e)}},{key:"_removeThrottle",value:function(e){var t=this.throttles.indexOf(e);t>-1&&this.throttles.splice(t,1)}}]),e}();e.exports=u},39920:function(e,t,n){var r=n(17061).default,i=n(17156).default,o=n(56690).default,a=n(89728).default,s=n(66115).default,c=n(41588).default,u=n(73808).default,l=n(61655).default,f=n(26389).default,d=n(47465).EventEmitter,h=n(21843).Transform,p=n(12414).wait,m=function(e){"use strict";l(n,e);var t=f(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(o(this,n),e=t.call(this),"object"!==typeof r)throw new Error("Options must be an object");var i=Object.assign({},r);if(i.group&&!(i.group instanceof v))throw new Error("Group must be an instanece of ThrottleGroup");return i.group||(i.group=new v(i)),e._setEnabled(i.enabled||i.group.enabled),e._group=i.group,e._emitter=new d,e._destroyed=!1,e._group._addThrottle(s(e)),e}return a(n,[{key:"getEnabled",value:function(){return this._enabled}},{key:"getGroup",value:function(){return this._group}},{key:"_setEnabled",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if("boolean"!==typeof e)throw new Error("Enabled must be a boolean");this._enabled=e}},{key:"setEnabled",value:function(e){this._setEnabled(e),this._enabled?this._emitter.emit("enabled"):this._emitter.emit("disabled")}},{key:"_transform",value:function(e,t){this._processChunk(e,t)}},{key:"_waitForTokens",value:function(){var e=i(r().mark((function e(t){var n=this;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){var i=!1,o=n;function a(t){if(o._emitter.removeListener("disabled",a),o._emitter.removeListener("destroyed",a),!i){if(i=!0,t)return r(t);e()}}n._emitter.once("disabled",a),n._emitter.once("destroyed",a),n._group.bucket.removeTokens(t,a)})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"_areBothEnabled",value:function(){return this._enabled&&this._group.getEnabled()}},{key:"_processChunk",value:function(){var e=i(r().mark((function e(t,n){var i,o,a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._areBothEnabled()){e.next=2;break}return e.abrupt("return",n(null,t));case 2:i=0,o=this._group.getChunksize(),a=t.slice(i,i+o);case 5:if(!(a.length>0)){e.next=31;break}if(!this._areBothEnabled()){e.next=25;break}e.prev=7;case 8:if(0!==this._group.getRate()||this._destroyed||!this._areBothEnabled()){e.next=15;break}return e.next=11,p(1e3);case 11:if(!this._destroyed){e.next=13;break}return e.abrupt("return");case 13:e.next=8;break;case 15:if(!this._areBothEnabled()||this._group.bucket.tryRemoveTokens(a.length)){e.next=20;break}return e.next=18,this._waitForTokens(a.length);case 18:if(!this._destroyed){e.next=20;break}return e.abrupt("return");case 20:e.next=25;break;case 22:return e.prev=22,e.t0=e.catch(7),e.abrupt("return",n(e.t0));case 25:this.push(a),i+=o,o=this._areBothEnabled()?this._group.getChunksize():t.length-i,a=t.slice(i,i+o),e.next=5;break;case 31:return e.abrupt("return",n());case 32:case"end":return e.stop()}}),e,this,[[7,22]])})));return function(t,n){return e.apply(this,arguments)}}()},{key:"destroy",value:function(){var e;this._group._removeThrottle(this),this._destroyed=!0,this._emitter.emit("destroyed");for(var t=arguments.length,r=new Array(t),i=0;io&&(t=o),c=n;t--;)s===o&&(s=0),a[s]=a[0===s?o-1:s-1],s++;e&&(a[s-1]+=e);var i=a[s-1],u=a.length1&&void 0!==arguments[1]?arguments[1]:{},r=n.highWaterMark,i=void 0===r?16384:r,o=n.map,a=void 0===o?null:o,s=n.mapWritable,c=n.byteLength,u=n.byteLengthWritable;d(this,e),this.stream=t,this.queue=new y,this.highWaterMark=i,this.buffered=0,this.error=null,this.pipeline=null,this.byteLength=u||c||_e,this.map=s||a,this.afterWrite=ae.bind(this),this.afterUpdateNextTick=ue.bind(this)}return h(e,[{key:"ended",get:function(){return 0!==(this.stream._duplexState&L)}},{key:"push",value:function(e){return null!==this.map&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered1&&void 0!==arguments[1]?arguments[1]:{},r=n.highWaterMark,i=void 0===r?16384:r,o=n.map,a=void 0===o?null:o,s=n.mapReadable,c=n.byteLength,u=n.byteLengthReadable;d(this,e),this.stream=t,this.queue=new y,this.highWaterMark=i,this.buffered=0,this.error=null,this.pipeline=null,this.byteLength=u||c||_e,this.map=s||a,this.pipeTo=null,this.afterRead=se.bind(this),this.afterUpdateNextTick=ce.bind(this)}return h(e,[{key:"ended",get:function(){return 0!==(this.stream._duplexState&A)}},{key:"pipe",value:function(e,t){if(null!==this.pipeTo)throw new Error("Can only pipe to one destination");if("function"!==typeof t&&(t=null),this.stream._duplexState|=512,this.pipeTo=e,this.pipeline=new ne(this.stream,e,t),t&&this.stream.on("error",ke),xe(e))e._writableState.pipeline=this.pipeline,t&&e.on("error",ke),e.on("finish",this.pipeline.finished.bind(this.pipeline));else{var n=this.pipeline.done.bind(this.pipeline,e),r=this.pipeline.done.bind(this.pipeline,e,null);e.on("error",n),e.on("close",r),e.on("finish",this.pipeline.finished.bind(this.pipeline))}e.on("drain",re.bind(this)),this.stream.emit("piping",e),e.emit("pipe",this.stream)}},{key:"push",value:function(e){var t=this.stream;return null===e?(this.highWaterMark=0,t._duplexState=67043295&(t._duplexState|S),!1):(null!==this.map&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),t._duplexState=67043327&(t._duplexState|_),this.buffered=e._readableState.highWaterMark}},{key:"isPaused",value:function(e){return 0===(e._duplexState&k)}}]),n}(de),pe=function(e){"use strict";l(n,e);var t=f(n);function n(e){var r;return d(this,n),(r=t.call(this,e))._duplexState|=16385,r._writableState=new Q(s(r),e),e&&(e.writev&&(r._writev=e.writev),e.write&&(r._write=e.write),e.final&&(r._final=e.final)),r}return h(n,[{key:"_writev",value:function(e,t){t(null)}},{key:"_write",value:function(e,t){this._writableState.autoBatch(e,t)}},{key:"_final",value:function(e){e(null)}},{key:"write",value:function(e){return this._writableState.updateNextTick(),this._writableState.push(e)}},{key:"end",value:function(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}}],[{key:"isBackpressured",value:function(e){return 0!==(39845902&e._duplexState)}}]),n}(de),me=function(e){"use strict";l(n,e);var t=f(n);function n(e){var r;return d(this,n),(r=t.call(this,e))._duplexState=1,r._writableState=new Q(s(r),e),e&&(e.writev&&(r._writev=e.writev),e.write&&(r._write=e.write),e.final&&(r._final=e.final)),r}return h(n,[{key:"_writev",value:function(e,t){t(null)}},{key:"_write",value:function(e,t){this._writableState.autoBatch(e,t)}},{key:"_final",value:function(e){e(null)}},{key:"write",value:function(e){return this._writableState.updateNextTick(),this._writableState.push(e)}},{key:"end",value:function(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}}]),n}(he),ve=function(e){"use strict";l(n,e);var t=f(n);function n(e){var r;return d(this,n),(r=t.call(this,e))._transformState=new te(s(r)),e&&(e.transform&&(r._transform=e.transform),e.flush&&(r._flush=e.flush)),r}return h(n,[{key:"_write",value:function(e,t){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}},{key:"_read",value:function(e){if(null!==this._transformState.data){var t=this._transformState.data;this._transformState.data=null,e(null),this._transform(t,this._transformState.afterTransform)}else e(null)}},{key:"_transform",value:function(e,t){t(null,e)}},{key:"_flush",value:function(e){e(null)}},{key:"_final",value:function(e){this._transformState.afterFinal=e,this._flush(ye.bind(this))}}]),n}(me),ge=function(e){"use strict";l(n,e);var t=f(n);function n(){return d(this,n),t.apply(this,arguments)}return h(n)}(ve);function ye(e,t){var n=this._transformState.afterFinal;if(e)return n(e);null!==t&&void 0!==t&&this.push(t),this.push(null),n(null)}function be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1,p),c.pipe(u)),c=u;if(s){var d=!1;u.on("finish",(function(){d=!0})),u.on("error",(function(e){l=l||e})),u.on("close",(function(){return s(l||(d?null:v))}))}return u;function h(e,t,n,r){e.on("error",r),e.on("close",(function(){if(t&&e._readableState&&!e._readableState.ended)return r(v);if(n&&e._writableState&&!e._writableState.ended)return r(v)}))}function p(e){if(e&&!l){l=e;var t,n=r(a);try{for(n.s();!(t=n.n()).done;){t.value.destroy(e)}}catch(e){n.e(e)}finally{n.f()}}}}function we(e){return!!e._readableState||!!e._writableState}function xe(e){return"number"===typeof e._duplexState&&we(e)}function _e(e){return function(e){return"object"===typeof e&&null!==e&&"number"===typeof e.byteLength}(e)?e.byteLength:1024}function ke(){}function Se(){this.destroy(new Error("Stream aborted."))}e.exports={pipeline:be,pipelinePromise:function(){for(var e=arguments.length,t=new Array(e),n=0;n>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},14331:function(e,t,n){var r=n(19778),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},46426:function(e,t,n){var r=n(11065);e.exports=function(e,t){var n,i=null;if(!e||"string"!==typeof e)return i;for(var o,a,s=r(e),c="function"===typeof t,u=0,l=s.length;u3?(i=(i=a&255>>r)<<(r=(r+5)%8)|(t+1>8-r,t++):(i=a>>8-(r+5)&31,0===(r=(r+5)%8)&&t++),o[n]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(i),n++}for(t=n;t>>(r=(r+5)%8),a[o]=t,o++,t=255&i<<8-r)}return a.slice(0,o)}},26035:function(e){function t(e){return(+Date.now()-e)/100&65535}e.exports=function(e){var n=+Date.now(),r=10*(e||5),i=[0],o=1,a=t(n)-1&65535;return function(e){var s=t(n),c=s-a&65535;for(c>r&&(c=r),a=s;c--;)o===r&&(o=0),i[o]=i[0===o?r-1:o-1],o++;e&&(i[o-1]+=e);var u=i[o-1],l=i.length=e.length||t<0)return;var n=e.pop();if(t= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,x=Math.floor,_=String.fromCharCode;function k(e){throw RangeError(b[e])}function S(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+S((e=e.replace(y,".")).split("."),t).join(".")}function C(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=_(e)})).join("")}function A(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,n){var r=0;for(e=n?x(e/d):e>>1,e+=x(e/t);e>w*l>>1;r+=c)e=x(e/w);return x(r+(w+1)*e/(e+f))}function T(e){var t,n,r,i,o,a,f,d,v,g,y,b=[],w=e.length,_=0,S=p,E=h;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r=128&&k("not-basic"),b.push(e.charCodeAt(r));for(i=n>0?n+1:0;i=w&&k("invalid-input"),((d=(y=e.charCodeAt(i++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:c)>=c||d>x((s-_)/a))&&k("overflow"),_+=d*a,!(d<(v=f<=E?u:f>=E+l?l:f-E));f+=c)a>x(s/(g=c-v))&&k("overflow"),a*=g;E=R(_-o,t=b.length+1,0==o),x(_/t)>s-S&&k("overflow"),S+=x(_/t),_%=t,b.splice(_++,0,S)}return M(b)}function P(e){var t,n,r,i,o,a,f,d,v,g,y,b,w,S,E,M=[];for(b=(e=C(e)).length,t=p,n=0,o=h,a=0;a=t&&yx((s-n)/(w=r+1))&&k("overflow"),n+=(f-t)*w,t=f,a=0;as&&k("overflow"),y==t){for(d=n,v=c;!(d<(g=v<=o?u:v>=o+l?l:v-o));v+=c)E=d-g,S=c-g,M.push(_(A(g+E%S,0))),d=x(E/S);M.push(_(A(d,0))),o=R(n,w,r==i),n=0,++r}++n,++t}return M.join("")}a={version:"1.3.2",ucs2:{decode:C,encode:M},decode:T,encode:P,toASCII:function(e){return E(e,(function(e){return g.test(e)?"xn--"+P(e):e}))},toUnicode:function(e){return E(e,(function(e){return v.test(e)?T(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},12114:function(e,t,n){"use strict";var r=n(36369),i=n(69939);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=b(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),f=["%","/","?",";","#"].concat(l),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(30863);function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o127?O+="x":O+=I[j];if(!O.match(h)){var L=T.slice(0,M),B=T.slice(M+1),N=I.match(p);N&&(L.push(N[1]),B.unshift(N[2])),B.length&&(b="/"+B.join(".")+b),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=r.toASCII(this.hostname));var D=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+D,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[_])for(M=0,P=l.length;M0)&&n.host.split("@"))&&(n.auth=R.shift(),n.host=n.hostname=R.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=k.slice(-1)[0],C=(n.host||e.host||k.length>1)&&("."===E||".."===E)||""===E,M=0,A=k.length;A>=0;A--)"."===(E=k[A])?k.splice(A,1):".."===E?(k.splice(A,1),M++):M&&(k.splice(A,1),M--);if(!x&&!_)for(;M--;M)k.unshift("..");!x||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),C&&"/"!==k.join("/").substr(-1)&&k.push("");var R,T=""===k[0]||k[0]&&"/"===k[0].charAt(0);S&&(n.hostname=n.host=T?"":k.length?k.shift():"",(R=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=R.shift(),n.host=n.hostname=R.shift()));return(x=x||n.host&&k.length)&&!T&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},69939:function(e){"use strict";e.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},40552:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(61655).default,a=n(26389).default,s=n(47465).EventEmitter,c=n(67715),u=n(74453).default,l=n(18392)("ut_metadata"),f=n(92271),d=16384;e.exports=function(e){var t=function(t){"use strict";o(s,t);var n=a(s);function s(t){var i;return r(this,s),(i=n.call(this))._wire=t,i._fetching=!1,i._metadataComplete=!1,i._metadataSize=null,i._remainingRejects=null,i._bitfield=new u(0,{grow:1e3}),Buffer.isBuffer(e)&&i.setMetadata(e),i}return i(s,[{key:"onHandshake",value:function(e,t,n){this._infoHash=e}},{key:"onExtendedHandshake",value:function(e){return e.m&&e.m.ut_metadata?e.metadata_size?"number"!==typeof e.metadata_size||1e7this._metadataSize&&(n=this._metadataSize);var r=this.metadata.slice(t,n);this._data(e,r,this._metadataSize)}else this._reject(e)}},{key:"_onData",value:function(e,t,n){t.length>d||!this._fetching||(t.copy(this.metadata,e*d),this._bitfield.set(e),this._checkDone())}},{key:"_onReject",value:function(e){this._remainingRejects>0&&this._fetching?(this._request(e),this._remainingRejects-=1):this.emit("warning",new Error('Peer sent "reject" too much'))}},{key:"_requestPieces",value:function(){if(this._fetching){this.metadata=Buffer.alloc(this._metadataSize);for(var e=0;e0?this._requestPieces():this.emit("warning",new Error("Peer sent invalid metadata"))}}]),s}(s);return t.prototype.name="ut_metadata",t}},89515:function(e,t,n){function r(e){try{if(!n.g.localStorage)return!1}catch(r){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}},6794:function(e){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},87374:function(e,t,n){"use strict";var r=n(65450),i=n(85718),o=n(58264),a=n(66218);function s(e){return e.call.bind(e)}var c="undefined"!==typeof BigInt,u="undefined"!==typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(c)var p=s(BigInt.prototype.valueOf);if(u)var m=s(Symbol.prototype.valueOf);function v(e,t){if("object"!==typeof e)return!1;try{return t(e),!0}catch(n){return!1}}function g(e){return"[object Map]"===l(e)}function y(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function w(e){return"[object WeakSet]"===l(e)}function x(e){return"[object ArrayBuffer]"===l(e)}function _(e){return"undefined"!==typeof ArrayBuffer&&(x.working?x(e):e instanceof ArrayBuffer)}function k(e){return"[object DataView]"===l(e)}function S(e){return"undefined"!==typeof DataView&&(k.working?k(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!==typeof Promise&&e instanceof Promise||null!==e&&"object"===typeof e&&"function"===typeof e.then&&"function"===typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||S(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},g.working="undefined"!==typeof Map&&g(new Map),t.isMap=function(e){return"undefined"!==typeof Map&&(g.working?g(e):e instanceof Map)},y.working="undefined"!==typeof Set&&y(new Set),t.isSet=function(e){return"undefined"!==typeof Set&&(y.working?y(e):e instanceof Set)},b.working="undefined"!==typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!==typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},w.working="undefined"!==typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},x.working="undefined"!==typeof ArrayBuffer&&x(new ArrayBuffer),t.isArrayBuffer=_,k.working="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView&&k(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=S;var E="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function C(e){return"[object SharedArrayBuffer]"===l(e)}function M(e){return"undefined"!==typeof E&&("undefined"===typeof C.working&&(C.working=C(new E)),C.working?C(e):e instanceof E)}function A(e){return v(e,f)}function R(e){return v(e,d)}function T(e){return v(e,h)}function P(e){return c&&v(e,p)}function I(e){return u&&v(e,m)}t.isSharedArrayBuffer=M,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=A,t.isStringObject=R,t.isBooleanObject=T,t.isBigIntObject=P,t.isSymbolObject=I,t.isBoxedPrimitive=function(e){return A(e)||R(e)||T(e)||P(e)||I(e)},t.isAnyArrayBuffer=function(e){return"undefined"!==typeof Uint8Array&&(_(e)||M(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},49639:function(e,t,n){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),s=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),f(r,e,r.depth)}function u(e,t){var n=c.styles[t];return n?"\x1b["+c.colors[n][0]+"m"+e+"\x1b["+c.colors[n][1]+"m":e}function l(e,t){return e}function f(e,n,r){if(e.customInspect&&n&&S(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return y(i)||(i=f(e,i,r)),i}var o=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(g(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(v(t))return e.stylize("null","null")}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),k(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(n);if(0===a.length){if(S(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(w(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(_(n))return e.stylize(Date.prototype.toString.call(n),"date");if(k(n))return d(n)}var u,l="",x=!1,E=["{","}"];(p(n)&&(x=!0,E=["[","]"]),S(n))&&(l=" [Function"+(n.name?": "+n.name:"")+"]");return w(n)&&(l=" "+RegExp.prototype.toString.call(n)),_(n)&&(l=" "+Date.prototype.toUTCString.call(n)),k(n)&&(l=" "+d(n)),0!==a.length||x&&0!=n.length?r<0?w(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=x?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,l,E)):E[0]+l+E[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,i,o){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),A(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(c.value)<0?(s=v(n)?f(e,c.value,null):f(e,c.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),b(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function p(e){return Array.isArray(e)}function m(e){return"boolean"===typeof e}function v(e){return null===e}function g(e){return"number"===typeof e}function y(e){return"string"===typeof e}function b(e){return void 0===e}function w(e){return x(e)&&"[object RegExp]"===E(e)}function x(e){return"object"===typeof e&&null!==e}function _(e){return x(e)&&"[object Date]"===E(e)}function k(e){return x(e)&&("[object Error]"===E(e)||e instanceof Error)}function S(e){return"function"===typeof e}function E(e){return Object.prototype.toString.call(e)}function C(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(a.test(e)){var n=process.pid;o[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else o[e]=function(){};return o[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(87374),t.isArray=p,t.isBoolean=m,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=y,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=b,t.isRegExp=w,t.types.isRegExp=w,t.isObject=x,t.isDate=_,t.types.isDate=_,t.isError=k,t.types.isNativeError=k,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=n(6794);var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",function(){var e=new Date,t=[C(e.getHours()),C(e.getMinutes()),C(e.getSeconds())].join(":");return[e.getDate(),M[e.getMonth()],t].join(" ")}(),t.format.apply(t,arguments))},t.inherits=n(12534),t._extend=function(e,t){if(!t||!x(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var R="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function T(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t;if("function"!==typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o=i.stsz.entries.length)break;if(m+=_,++d>=x.samplesPerChunk){d=0,m=0,p++;var M=i.stsc.entries[v+1];M&&p+1>=M.firstChunk&&v++}g+=k,y.inc(),b&&b.inc(),E&&w++}r.mdia.mdhd.duration=0,r.tkhd.duration=0;var A=x.sampleDescriptionId,R={type:"moov",mvhd:e.mvhd,traks:[{tkhd:r.tkhd,mdia:{mdhd:r.mdia.mdhd,hdlr:r.mdia.hdlr,elng:r.mdia.elng,minf:{vmhd:r.mdia.minf.vmhd,smhd:r.mdia.minf.smhd,dinf:r.mdia.minf.dinf,stbl:{stsd:i.stsd,stts:{version:0,flags:0,entries:[]},ctts:{version:0,flags:0,entries:[]},stsc:{version:0,flags:0,entries:[]},stsz:{version:0,flags:0,entries:[]},stco:{version:0,flags:0,entries:[]},stss:{version:0,flags:0,entries:[]}}}}}],mvex:{mehd:{fragmentDuration:e.mvhd.duration},trexs:[{trackId:r.tkhd.trackId,defaultSampleDescriptionIndex:A,defaultSampleDuration:0,defaultSampleSize:0,defaultSampleFlags:0}]}};this._tracks.push({fragmentSequence:1,trackId:r.tkhd.trackId,timeScale:r.mdia.mdhd.timeScale,samples:u,currSample:null,currTime:null,moov:R,mime:c})}if(0!==this._tracks.length){e.mvhd.duration=0,this._ftyp={type:"ftyp",brand:"iso5",brandVersion:0,compatibleBrands:["iso5"]};var T=l.encode(this._ftyp),P=this._tracks.map((function(e){var t=l.encode(e.moov);return{mime:e.mime,init:Buffer.concat([T,t])}}));this.emit("ready",P)}else this.emit("error",new Error("no playable tracks"))}},{key:"seek",value:function(e){var t=this;if(!this._tracks)throw new Error("Not ready yet; wait for 'ready' event");this._fileStream&&(this._fileStream.destroy(),this._fileStream=null);var n=-1;if(this._tracks.map((function(r,i){r.outStream&&r.outStream.destroy(),r.inStream&&(r.inStream.destroy(),r.inStream=null);var o=r.outStream=u.encode(),a=t._generateFragment(i,e);if(!a)return o.finalize();(-1===n||a.ranges[0].start=0){var r=this._fileStream=this._file.createReadStream({start:n});this._tracks.forEach((function(e){e.inStream=new f(n,{highWaterMark:1e7}),r.pipe(e.inStream)}))}return this._tracks.map((function(e){return e.outStream}))}},{key:"_findSampleBefore",value:function(e,t){var n=this._tracks[e],r=Math.floor(n.timeScale*t),i=s(n.samples,r,(function(e,t){return e.dts+e.presentationOffset-t}));for(-1===i?i=0:i<0&&(i=-i-2);!n.samples[i].sync;)i--;return i}},{key:"_generateFragment",value:function(e,t){var n,r=this._tracks[e];if((n=void 0!==t?this._findSampleBefore(e,t):r.currSample)>=r.samples.length)return null;for(var i=r.samples[n].dts,o=0,a=[],s=n;s=r.timeScale*p)break;o+=c.size;var u=a.length-1;u<0||a[u].end!==c.offset?a.push({start:c.offset,end:c.offset+c.size}):a[u].end+=c.size}return r.currSample=s,{moof:this._generateMoof(e,n,s),ranges:a,length:o}}},{key:"_generateMoof",value:function(e,t,n){for(var r=this._tracks[e],i=[],o=0,a=t;a=this._entries[this._index][this._countName]&&(this._index++,this._offset=0),this.value=this._entries[this._index]}}]),e}();var p=1;e.exports=d},27167:function(e,t,n){var r=n(7558),i=n(99306),o=n(39705);function a(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(this instanceof a))return console.warn("Don't invoke VideoStream without the 'new' keyword."),new a(e,t,i);this.detailedError=null,this._elem=t,this._elemWrapper=new r(t),this._waitingFired=!1,this._trackMeta=null,this._file=e,this._tracks=null,"none"!==this._elem.preload&&this._createMuxer(),this._onError=function(){n.detailedError=n._elemWrapper.detailedError,n.destroy()},this._onWaiting=function(){n._waitingFired=!0,n._muxer?n._tracks&&n._pump():n._createMuxer()},t.autoplay&&(t.preload="auto"),t.addEventListener("waiting",this._onWaiting),t.addEventListener("error",this._onError)}a.prototype={_createMuxer:function(){var e=this;this._muxer=new o(this._file),this._muxer.on("ready",(function(t){e._tracks=t.map((function(t){var n=e._elemWrapper.createWriteStream(t.mime);n.on("error",(function(t){e._elemWrapper.error(t)}));var r={muxed:null,mediaSource:n,initFlushed:!1,onInitFlushed:null};return n.write(t.init,(function(e){r.initFlushed=!0,r.onInitFlushed&&r.onInitFlushed(e)})),r})),(e._waitingFired||"auto"===e._elem.preload)&&e._pump()})),this._muxer.on("error",(function(t){e._elemWrapper.error(t)}))},_pump:function(){var e=this,t=this._muxer.seek(this._elem.currentTime,!this._tracks);this._tracks.forEach((function(n,r){var o=function(){n.muxed&&(n.muxed.destroy(),n.mediaSource=e._elemWrapper.createWriteStream(n.mediaSource),n.mediaSource.on("error",(function(t){e._elemWrapper.error(t)}))),n.muxed=t[r],i(n.muxed,n.mediaSource)};n.initFlushed?o():n.onInitFlushed=function(t){t?e._elemWrapper.error(t):o()}}))},destroy:function(){this.destroyed||(this.destroyed=!0,this._elem.removeEventListener("waiting",this._onWaiting),this._elem.removeEventListener("error",this._onError),this._tracks&&this._tracks.forEach((function(e){e.muxed&&e.muxed.destroy()})),this._elem.src="")}},e.exports=a},1033:function(e,t,n){var r=n(861).default,i=n(74704).default,o=n(17061).default,a=n(17156).default,s=n(27424).default,c=n(51589).default,u=n(56690).default,l=n(89728).default,f=n(66115).default,d=n(61655).default,h=n(26389).default,p=n(47465),m=n(88122),v=n(80460),g=n(62377),y=n(18392),b=n(60146),w=n(92050),x=n(16456),_=n(46785),k=n(57532),S=n(44183),E=n(12525),C=n(92271),M=n(26035),A=n(27719).ThrottleGroup,R=n(57523),T=n(81843),P=n(41907).version,I=y("webtorrent"),O=P.replace(/\d*./g,(function(e){return"0".concat(e%100).slice(-2)})).slice(0,4),j="-WW".concat(O,"-"),Z=function(e){"use strict";d(p,e);var t=h(p);function p(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,p),e=t.call(this),"string"===typeof r.peerId?e.peerId=r.peerId:Buffer.isBuffer(r.peerId)?e.peerId=r.peerId.toString("hex"):e.peerId=Buffer.from(j+E(9).toString("base64")).toString("hex"),e.peerIdBuffer=Buffer.from(e.peerId,"hex"),"string"===typeof r.nodeId?e.nodeId=r.nodeId:Buffer.isBuffer(r.nodeId)?e.nodeId=r.nodeId.toString("hex"):e.nodeId=E(20).toString("hex"),e.nodeIdBuffer=Buffer.from(e.nodeId,"hex"),e._debugId=e.peerId.toString("hex").substring(0,7),e.destroyed=!1,e.listening=!1,e.torrentPort=r.torrentPort||0,e.dhtPort=r.dhtPort||0,e.tracker=void 0!==r.tracker?r.tracker:{},e.lsd=!1!==r.lsd,e.torrents=[],e.maxConns=Number(r.maxConns)||55,e.utp=p.UTP_SUPPORT&&!1!==r.utp,e._downloadLimit=Math.max("number"===typeof r.downloadLimit?r.downloadLimit:-1,-1),e._uploadLimit=Math.max("number"===typeof r.uploadLimit?r.uploadLimit:-1,-1),e.serviceWorker=null,e.workerKeepAliveInterval=null,e.workerPortCount=0,!0===r.secure&&n(72365).enableSecure(),e._debug("new webtorrent (peerId %s, nodeId %s, port %s)",e.peerId,e.nodeId,e.torrentPort),e.throttleGroups={down:new A({rate:Math.max(e._downloadLimit,0),enabled:e._downloadLimit>=0}),up:new A({rate:Math.max(e._uploadLimit,0),enabled:e._uploadLimit>=0})},e.tracker&&("object"!==typeof e.tracker&&(e.tracker={}),globalThis.WRTC&&!e.tracker.wrtc&&(e.tracker.wrtc=globalThis.WRTC)),"function"===typeof R?e._connPool=new R(f(e)):S((function(){e._onListening()})),e._downloadSpeed=M(),e._uploadSpeed=M(),!1!==r.dht&&"function"===typeof b?(e.dht=new b(Object.assign({},{nodeId:e.nodeId},r.dht)),e.dht.once("error",(function(t){e._destroy(t)})),e.dht.once("listening",(function(){var t=e.dht.address();t&&(e.dhtPort=t.port)})),e.dht.setMaxListeners(0),e.dht.listen(e.dhtPort)):e.dht=!1,e.enableWebSeeds=!1!==r.webSeeds;var i=function(){e.destroyed||(e.ready=!0,e.emit("ready"))};return"function"===typeof w&&null!=r.blocklist?w(r.blocklist,{headers:{"user-agent":"WebTorrent/".concat(P," (https://webtorrent.io)")}},(function(t,n){if(t)return console.error("Failed to load blocklist: ".concat(t.message));e.blocked=n,i()})):S(i),e}return l(p,[{key:"loadWorker",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};if(!(e instanceof ServiceWorker))throw new Error("Invalid worker registration");if("activated"!==e.state)throw new Error("Worker isn't activated");this.serviceWorker=e,navigator.serviceWorker.addEventListener("message",(function(e){var n=e.data;if(!n.type||"webtorrent"===!n.type||!n.url)return null;var r=n.url.slice(n.url.indexOf(n.scope+"webtorrent/")+11+n.scope.length).split("/"),i=c(r),u=i[0],l=i.slice(1);if(l=decodeURI(l.join("/")),!u||!l)return null;var f=s(e.ports,1)[0],d=t.get(u)&&t.get(u).files.find((function(e){return e.path===l}));if(!d)return null;var h=d._serve(n),p=s(h,3),m=p[0],v=p[1],g=p[2],y=v&&v[Symbol.asyncIterator](),b=function(){f.onmessage=null,v&&v.destroy(),g&&g.destroy(),t.workerPortCount--,t.workerPortCount||(clearInterval(t.workerKeepAliveInterval),t.workerKeepAliveInterval=null)};f.onmessage=function(){var e=a(o().mark((function e(n){var r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.data){e.next=14;break}return e.prev=1,e.next=4,y.next();case 4:r=e.sent.value,e.next=9;break;case 7:e.prev=7,e.t0=e.catch(1);case 9:f.postMessage(r),r||b(),t.workerKeepAliveInterval||(t.workerKeepAliveInterval=setInterval((function(){return fetch("".concat(t.serviceWorker.scriptURL.slice(0,t.serviceWorker.scriptURL.lastIndexOf("/")+1).slice(window.location.origin.length),"webtorrent/keepalive/"))}),2e4)),e.next=15;break;case 14:b();case 15:case"end":return e.stop()}}),e,null,[[1,7]])})));return function(t){return e.apply(this,arguments)}}(),t.workerPortCount++,f.postMessage(m)})),fetch("".concat(this.serviceWorker.scriptURL.slice(0,this.serviceWorker.scriptURL.lastIndexOf("/")+1).slice(window.location.origin.length),"webtorrent/cancel/")).then((function(e){e.body.cancel()})),n(null,this.serviceWorker)}},{key:"downloadSpeed",get:function(){return this._downloadSpeed()}},{key:"uploadSpeed",get:function(){return this._uploadSpeed()}},{key:"progress",get:function(){var e=this.torrents.filter((function(e){return 1!==e.progress}));return e.reduce((function(e,t){return e+t.downloaded}),0)/(e.reduce((function(e,t){return e+(t.length||0)}),0)||1)}},{key:"ratio",get:function(){return this.torrents.reduce((function(e,t){return e+t.uploaded}),0)/(this.torrents.reduce((function(e,t){return e+t.received}),0)||1)}},{key:"get",value:function(e){if(e instanceof T){if(this.torrents.includes(e))return e}else{var t;try{t=_(e)}catch(a){}if(!t)return null;if(!t.infoHash)throw new Error("Invalid torrent identifier");var n,r=i(this.torrents);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.infoHash===t.infoHash)return o}}catch(a){r.e(a)}finally{r.f()}}return null}},{key:"add",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(this.destroyed)throw new Error("client is destroyed");if("function"===typeof n){var o=[{},n];n=o[0],r=o[1]}var a=function(){if(!t.destroyed){var e,n=i(t.torrents);try{for(n.s();!(e=n.n()).done;){var o=e.value;if(o.infoHash===c.infoHash&&o!==c)return c._destroy(new Error("Cannot add duplicate torrent ".concat(c.infoHash))),void r(o)}}catch(a){n.e(a)}finally{n.f()}}},s=function(){t.destroyed||(r(c),t.emit("torrent",c))};this._debug("add"),n=n?Object.assign({},n):{};var c=new T(e,this,n);return this.torrents.push(c),c.once("_infoHash",a),c.once("ready",s),c.once("close",(function e(){c.removeListener("_infoHash",a),c.removeListener("ready",s),c.removeListener("close",e)})),c}},{key:"seed",value:function(e,t,n){var r=this;if(this.destroyed)throw new Error("client is destroyed");if("function"===typeof t){var i=[{},t];t=i[0],n=i[1]}this._debug("seed"),(t=t?Object.assign({},t):{}).skipVerify=!0;var o="string"===typeof e;o&&(t.path=m.dirname(e)),t.createdBy||(t.createdBy="WebTorrent/".concat(O));var a,s,c=function(e){r._debug("on seed"),"function"===typeof n&&n(e),e.emit("seed"),r.emit("seed",e)},u=this.add(null,t,(function(e){var n=[function(n){if(o||t.preloadedStore)return n();e.load(a,n)}];r.dht&&n.push((function(t){e.once("dhtAnnounce",t)})),x(n,(function(t){if(!r.destroyed)return t?e._destroy(t):void c(e)}))}));return s=e,"undefined"!==typeof FileList&&s instanceof FileList?e=Array.from(e):Array.isArray(e)||(e=[e]),x(e.map((function(e){return function(n){!t.preloadedStore&&function(e){return"object"===typeof e&&null!=e&&"function"===typeof e.pipe}(e)?v(e,(function(t,r){if(t)return n(t);r.name=e.name,n(null,r)})):n(null,e)}})),(function(e,i){if(!r.destroyed)return e?u._destroy(e):void g.parseInput(i,t,(function(e,o){if(!r.destroyed){if(e)return u._destroy(e);a=o.map((function(e){return e.getStream})),g(i,t,(function(e,t){if(!r.destroyed){if(e)return u._destroy(e);var i=r.get(t);i?(console.warn("A torrent with the same id is already being seeded"),u._destroy(),"function"===typeof n&&n(i)):u._onTorrentId(t)}}))}}))})),u}},{key:"remove",value:function(e,t,n){if("function"===typeof t)return this.remove(e,null,t);if(this._debug("remove"),!this.get(e))throw new Error("No torrent with id ".concat(e));this._remove(e,t,n)}},{key:"_remove",value:function(e,t,n){if("function"===typeof t)return this._remove(e,null,t);var r=this.get(e);r&&(this.torrents.splice(this.torrents.indexOf(r),1),r.destroy(t,n),this.dht&&this.dht._tables.remove(r.infoHash))}},{key:"address",value:function(){return this.listening?this._connPool?this._connPool.tcpServer.address():{address:"0.0.0.0",family:"IPv4",port:0}:null}},{key:"throttleDownload",value:function(e){return e=Number(e),!(isNaN(e)||!isFinite(e)||e<-1)&&(this._downloadLimit=e,this._downloadLimit<0?this.throttleGroups.down.setEnabled(!1):(this.throttleGroups.down.setEnabled(!0),void this.throttleGroups.down.setRate(this._downloadLimit)))}},{key:"throttleUpload",value:function(e){return e=Number(e),!(isNaN(e)||!isFinite(e)||e<-1)&&(this._uploadLimit=e,this._uploadLimit<0?this.throttleGroups.up.setEnabled(!1):(this.throttleGroups.up.setEnabled(!0),void this.throttleGroups.up.setRate(this._uploadLimit)))}},{key:"destroy",value:function(e){if(this.destroyed)throw new Error("client already destroyed");this._destroy(null,e)}},{key:"_destroy",value:function(e,t){var n=this;this._debug("client destroy"),this.destroyed=!0;var r=this.torrents.map((function(e){return function(t){e.destroy(t)}}));this._connPool&&r.push((function(e){n._connPool.destroy(e)})),this.dht&&r.push((function(e){n.dht.destroy(e)})),x(r,t),e&&this.emit("error",e),this.torrents=[],this._connPool=null,this.dht=null,this.throttleGroups.down.destroy(),this.throttleGroups.up.destroy()}},{key:"_onListening",value:function(){if(this._debug("listening"),this.listening=!0,this._connPool){var e=this._connPool.tcpServer.address();e&&(this.torrentPort=e.port)}this.emit("listening")}},{key:"_debug",value:function(){var e=[].slice.call(arguments);e[0]="[".concat(this._debugId,"] ").concat(e[0]),I.apply(void 0,r(e))}},{key:"_getByHash",value:function(e){var t,n=i(this.torrents);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.infoHashHash||(r.infoHashHash=C.sync(Buffer.from("72657132"+r.infoHash,"hex"))),e===r.infoHashHash)return r}}catch(o){n.e(o)}finally{n.f()}return null}}]),p}(p);Z.WEBRTC_SUPPORT=k.WEBRTC_SUPPORT,Z.UTP_SUPPORT=R.UTP_SUPPORT,Z.VERSION=P,e.exports=Z},62631:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(61655).default,a=n(26389).default,s=n(21843).Readable,c=n(18392)("webtorrent:file-stream"),u=function(e){"use strict";o(n,e);var t=a(n);function n(e,i){var o;r(this,n),(o=t.call(this,null!==i&&void 0!==i?i:{}))._torrent=e._torrent;var a=i&&i.start||0,s=i&&i.end&&i.end0&&void 0!==arguments[0]?arguments[0]:function(){};if(!this._reading||0===this._missing)return t();if(!this._torrent.bitfield.get(this._piece))return t(),this._torrent.critical(this._piece,this._piece+this._criticalLength);if(this._notifying)return t();if(this._notifying=!0,this._torrent.destroyed)return this.destroy(new Error("Torrent removed"));var n=this._piece,r={};n===this._torrent.pieces.length-1&&(r.length=this._torrent.lastPieceLength),this._torrent.store.get(n,r,(function(r,i){if(e._notifying=!1,!e.destroyed){if(c("read %s (length %s) (err %s)",n,i&&i.length,r&&r.message),r)return e.destroy(r);e._offset&&(i=i.slice(e._offset),e._offset=0),e._missing0&&void 0!==arguments[0]?arguments[0]:function(){};if("undefined"===typeof window)throw new Error("browser-only method");if(!this._serviceWorker)throw new Error("No worker registered");if("activated"!==this._serviceWorker.state)throw new Error("Worker isn't activated");var t=this._serviceWorker.scriptURL.slice(0,this._serviceWorker.scriptURL.lastIndexOf("/")+1).slice(window.location.origin.length);e(null,"".concat(t,"webtorrent/").concat(this._torrent.infoHash,"/").concat(encodeURI(this.path)))}},{key:"streamTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};if("undefined"===typeof window)throw new Error("browser-only method");if(!this._serviceWorker)throw new Error("No worker registered");if("activated"!==this._serviceWorker.state)throw new Error("Worker isn't activated");var n=this._serviceWorker.scriptURL.slice(0,this._serviceWorker.scriptURL.lastIndexOf("/")+1).slice(window.location.origin.length);e.src="".concat(n,"webtorrent/").concat(this._torrent.infoHash,"/").concat(encodeURI(this.path)),t(null,e)}},{key:"_getMimeType",value:function(){return f.mime[l.extname(this.name).toLowerCase()]}},{key:"_destroy",value:function(){this._destroyed=!0,this._torrent=null;var e,t=r(this._fileStreams);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(n){t.e(n)}finally{t.f()}this._fileStreams.clear()}}]),n}(c);e.exports=b},72365:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(61655).default,a=n(26389).default,s=n(47465),c=n(92798).Transform,u=n(9575),l=n(18392),f=n(10591),d=l("webtorrent:peer"),h=!1;t.enableSecure=function(){h=!0},t.createWebRTCPeer=function(e,t,n){var r=new v(e.id,"webrtc");if(r.conn=e,r.swarm=t,r.throttleGroups=n,r.conn.connected)r.onConnect();else{var i=function(){r.conn.removeListener("connect",o),r.conn.removeListener("error",a)},o=function(){i(),r.onConnect()},a=function(e){i(),r.destroy(e)};r.conn.once("connect",o),r.conn.once("error",a),r.startConnectTimeout()}return r},t.createTCPIncomingPeer=function(e,t){return p(e,"tcpIncoming",t)},t.createUTPIncomingPeer=function(e,t){return p(e,"utpIncoming",t)},t.createTCPOutgoingPeer=function(e,t,n){return m(e,t,"tcpOutgoing",n)},t.createUTPOutgoingPeer=function(e,t,n){return m(e,t,"utpOutgoing",n)};var p=function(e,t,n){var r="".concat(e.remoteAddress,":").concat(e.remotePort),i=new v(r,t);return i.conn=e,i.addr=r,i.throttleGroups=n,i.onConnect(),i},m=function(e,t,n,r){var i=new v(e,n);return i.addr=e,i.swarm=t,i.throttleGroups=r,i};t.createWebSeedPeer=function(e,t,n,r){var i=new v(t,"webSeed");return i.swarm=n,i.conn=e,i.throttleGroups=r,i.onConnect(),i};var v=function(e){"use strict";o(n,e);var t=a(n);function n(e,i){var o;return r(this,n),(o=t.call(this)).id=e,o.type=i,d("new %s Peer %s",i,e),o.addr=null,o.conn=null,o.swarm=null,o.wire=null,o.connected=!1,o.destroyed=!1,o.timeout=null,o.retries=0,o.sentPe1=!1,o.sentPe2=!1,o.sentPe3=!1,o.sentPe4=!1,o.sentHandshake=!1,o}return i(n,[{key:"onConnect",value:function(){var e=this;if(!this.destroyed){this.connected=!0,d("Peer %s connected",this.id),clearTimeout(this.connectTimeout);var t=this.conn;t.once("end",(function(){e.destroy()})),t.once("close",(function(){e.destroy()})),t.once("finish",(function(){e.destroy()})),t.once("error",(function(t){e.destroy(t)}));var n=this.wire=new f(this.type,this.retries,h);n.once("end",(function(){e.destroy()})),n.once("close",(function(){e.destroy()})),n.once("finish",(function(){e.destroy()})),n.once("error",(function(t){e.destroy(t)})),n.once("pe1",(function(){e.onPe1()})),n.once("pe2",(function(){e.onPe2()})),n.once("pe3",(function(){e.onPe3()})),n.once("pe4",(function(){e.onPe4()})),n.once("handshake",(function(t,n){e.onHandshake(t,n)})),this.startHandshakeTimeout(),this.setThrottlePipes(),this.swarm&&("tcpOutgoing"===this.type?h&&0===this.retries&&!this.sentPe1?this.sendPe1():this.sentHandshake||this.handshake():"tcpIncoming"===this.type||this.sentHandshake||this.handshake())}}},{key:"sendPe1",value:function(){this.wire.sendPe1(),this.sentPe1=!0}},{key:"onPe1",value:function(){this.sendPe2()}},{key:"sendPe2",value:function(){this.wire.sendPe2(),this.sentPe2=!0}},{key:"onPe2",value:function(){this.sendPe3()}},{key:"sendPe3",value:function(){this.wire.sendPe3(this.swarm.infoHash),this.sentPe3=!0}},{key:"onPe3",value:function(e){this.swarm&&(this.swarm.infoHashHash!==e&&this.destroy(new Error("unexpected crypto handshake info hash for this swarm")),this.sendPe4())}},{key:"sendPe4",value:function(){this.wire.sendPe4(this.swarm.infoHash),this.sentPe4=!0}},{key:"onPe4",value:function(){this.sentHandshake||this.handshake()}},{key:"clearPipes",value:function(){this.conn.unpipe(),this.wire.unpipe()}},{key:"setThrottlePipes",value:function(){var e=this;this.conn.pipe(this.throttleGroups.down.throttle()).pipe(new c({transform:function(t,n,r){e.emit("download",t.length),e.destroyed||r(null,t)}})).pipe(this.wire).pipe(this.throttleGroups.up.throttle()).pipe(new c({transform:function(t,n,r){e.emit("upload",t.length),e.destroyed||r(null,t)}})).pipe(this.conn)}},{key:"onHandshake",value:function(e,t){if(this.swarm&&!this.destroyed){if(this.swarm.destroyed)return this.destroy(new Error("swarm already destroyed"));if(e!==this.swarm.infoHash)return this.destroy(new Error("unexpected handshake info hash for this swarm"));if(t===this.swarm.peerId)return this.destroy(new Error("refusing to connect to ourselves"));d("Peer %s got handshake %s",this.id,e),clearTimeout(this.handshakeTimeout),this.retries=0;var n=this.addr;!n&&this.conn.remoteAddress&&this.conn.remotePort&&(n="".concat(this.conn.remoteAddress,":").concat(this.conn.remotePort)),this.swarm._onWire(this.wire,n),this.swarm&&!this.swarm.destroyed&&(this.sentHandshake||this.handshake())}}},{key:"handshake",value:function(){var e={dht:!this.swarm.private&&!!this.swarm.client.dht,fast:!0};this.wire.handshake(this.swarm.infoHash,this.swarm.client.peerId,e),this.sentHandshake=!0}},{key:"startConnectTimeout",value:function(){var e=this;clearTimeout(this.connectTimeout);var t={webrtc:25e3,tcpOutgoing:5e3,utpOutgoing:5e3};this.connectTimeout=setTimeout((function(){e.destroy(new Error("connect timeout"))}),t[this.type]),this.connectTimeout.unref&&this.connectTimeout.unref()}},{key:"startHandshakeTimeout",value:function(){var e=this;clearTimeout(this.handshakeTimeout),this.handshakeTimeout=setTimeout((function(){e.destroy(new Error("handshake timeout"))}),25e3),this.handshakeTimeout.unref&&this.handshakeTimeout.unref()}},{key:"destroy",value:function(e){if(!this.destroyed){this.destroyed=!0,this.connected=!1,d("destroy %s %s (error: %s)",this.type,this.id,e&&(e.message||e)),clearTimeout(this.connectTimeout),clearTimeout(this.handshakeTimeout);var t=this.swarm,n=this.conn,r=this.wire;this.swarm=null,this.conn=null,this.wire=null,t&&r&&u(t.wires,t.wires.indexOf(r)),n&&(n.on("error",(function(){})),n.destroy()),r&&r.destroy(),t&&t.removePeer(this.id)}}}]),n}(s)},83258:function(e,t,n){var r=n(74704).default,i=n(56690).default,o=n(89728).default,a=function(){"use strict";function e(t){var n=this;i(this,e),this._torrent=t,this._numPieces=t.pieces.length,this._pieces=new Array(this._numPieces),this._onWire=function(e){n.recalculate(),n._initWire(e)},this._onWireHave=function(e){n._pieces[e]+=1},this._onWireBitfield=function(){n.recalculate()},this._torrent.wires.forEach((function(e){n._initWire(e)})),this._torrent.on("wire",this._onWire),this.recalculate()}return o(e,[{key:"getRarestPiece",value:function(e){for(var t=[],n=1/0,r=0;r0&&!(r instanceof M)&&(r=new y(r,{max:this._storeCacheSlots})),this.store=new E(r),this.so?this.files.forEach((function(e,n){t.so.includes(n)?t.files[n].select():t.files[n].deselect()})):0!==this.pieces.length&&this.select(0,this.pieces.length-1,!1),this._hashes=this.pieces,this.pieces=this.pieces.map((function(e,n){var r=n===t.pieces.length-1?t.lastPieceLength:t.pieceLength;return new I(r)})),this._reservations=this.pieces.map((function(){return[]})),this.bitfield=new g(this.pieces.length),this.emit("metadata"),!this.destroyed)if(this.skipVerify)this._markAllVerified(),this._onStore();else{var i=function(e){if(e)return t._destroy(e);t._debug("done verifying"),t._onStore()};this._debug("verifying existing torrent data"),this._fileModtimes&&this._store===k?this.getFileModtimes((function(e,n){if(e)return t._destroy(e);t.files.map((function(e,r){return n[r]===t._fileModtimes[r]})).every((function(e){return e}))?(t._markAllVerified(),t._onStore()):t._verifyPieces(i)})):this._verifyPieces(i)}}}},{key:"getFileModtimes",value:function(e){var t=this,n=[];T(this.files.map((function(e,r){return function(i){var o=t.addUID?m.join(t.name+" - "+t.infoHash.slice(0,8)):m.join(t.path,e.path);d.stat(o,(function(e,t){if(e&&"ENOENT"!==e.code)return i(e);n[r]=t&&t.mtime.getTime(),i(null)}))}})),Y,(function(r){t._debug("done getting file modtimes"),e(r,n)}))}},{key:"_verifyPieces",value:function(e){var t=this;T(this.pieces.map((function(e,n){return function(e){if(t.destroyed)return e(new Error("torrent is destroyed"));var r={};n===t.pieces.length-1&&(r.length=t.lastPieceLength),t.store.get(n,r,(function(r,i){return t.destroyed?e(new Error("torrent is destroyed")):r?j((function(){return e(null)})):void L(i,(function(r){if(t.destroyed)return e(new Error("torrent is destroyed"));r===t._hashes[n]?(t._debug("piece verified %s",n),t._markVerified(n)):t._debug("piece invalid %s",n),e(null)}))}))}})),Y,e)}},{key:"rescanFiles",value:function(e){var t=this;if(this.destroyed)throw new Error("torrent is destroyed");e||(e=ne),this._verifyPieces((function(n){if(n)return t._destroy(n),e(n);t._checkDone(),e(null)}))}},{key:"_markAllVerified",value:function(){for(var e=0;ee)return!0;return!1}},{key:"_onStore",value:function(){var e=this;this.destroyed||(this._debug("on store"),this._startDiscovery(),this.ready=!0,this.emit("ready"),this._checkDone(),this._updateSelections(),this.wires.forEach((function(t){t.ut_metadata&&t.ut_metadata.setMetadata(e.metadata),e._onWireWithMetadata(t)})))}},{key:"destroy",value:function(e,t){if("function"===typeof e)return this.destroy(null,e);this._destroy(null,e,t)}},{key:"_destroy",value:function(e,t,n){var r=this;if("function"===typeof t)return this._destroy(e,null,t);if(!this.destroyed){for(var i in this.destroyed=!0,this._debug("destroy"),this.client._remove(this),clearInterval(this._rechokeIntervalId),this._xsRequests.forEach((function(e){e.abort()})),this._rarityMap&&this._rarityMap.destroy(),this._peers)this.removePeer(i);this.files.forEach((function(e){e instanceof z&&e._destroy()}));var o=this._servers.map((function(e){return function(t){e.destroy(t)}}));if(this.discovery&&o.push((function(e){r.discovery.destroy(e)})),this.store){var a=this._destroyStoreOnDestroy;t&&void 0!==t.destroyStore&&(a=t.destroyStore),o.push((function(e){a?r.store.destroy(e):r.store.close(e)}))}R(o,n),e&&(0===this.listenerCount("error")?this.client.emit("error",e):this.emit("error",e)),this.emit("close"),this.client=null,this.files=[],this.discovery=null,this.store=null,this._rarityMap=null,this._peers=null,this._servers=null,this._xsRequests=null}}},{key:"addPeer",value:function(e){if(this.destroyed)throw new Error("torrent is destroyed");if(!this.infoHash)throw new Error("addPeer() must not be called before the `infoHash` event");var t;if(this.client.blocked){if("string"===typeof e){var n;try{n=v(e)}catch(o){return this._debug("ignoring peer: invalid %s",e),this.emit("invalidPeer",e),!1}t=n[0]}else"string"===typeof e.remoteAddress&&(t=e.remoteAddress);if(t&&this.client.blocked.contains(t))return this._debug("ignoring peer: blocked %s",e),"string"!==typeof e&&e.destroy(),this.emit("blockedPeer",e),!1}var r=this.client.utp&&this._isIPv4(t)?"utp":"tcp",i=!!this._addPeer(e,r);return i?this.emit("peer",e):this.emit("invalidPeer",e),i}},{key:"_addPeer",value:function(e,t){if(this.destroyed)return"string"!==typeof e&&e.destroy(),null;if("string"===typeof e&&!this._validAddr(e))return this._debug("ignoring peer: invalid %s",e),null;var n,r=e&&e.id||e;return this._peers[r]?(this._debug("ignoring peer: duplicate (%s)",r),"string"!==typeof e&&e.destroy(),null):this.paused?(this._debug("ignoring peer: torrent is paused"),"string"!==typeof e&&e.destroy(),null):(this._debug("add peer %s",r),n="string"===typeof e?"utp"===t?U.createUTPOutgoingPeer(e,this,this.client.throttleGroups):U.createTCPOutgoingPeer(e,this,this.client.throttleGroups):U.createWebRTCPeer(e,this,this.client.throttleGroups),this._registerPeer(n),"string"===typeof e&&(this._queue.push(n),this._drain()),n)}},{key:"addWebSeed",value:function(e){if(this.destroyed)throw new Error("torrent is destroyed");var t,n;if("string"===typeof e){if(!/^https?:\/\/.+/.test(t=e))return this.emit("warning",new Error("ignoring invalid web seed: ".concat(t))),void this.emit("invalidPeer",t);if(this._peers[t])return this.emit("warning",new Error("ignoring duplicate web seed: ".concat(t))),void this.emit("invalidPeer",t);n=new V(t,this)}else{if(!e||"string"!==typeof e.connId)return void this.emit("warning",new Error("addWebSeed must be passed a string or connection object with id property"));if(t=(n=e).connId,this._peers[t])return this.emit("warning",new Error("ignoring duplicate web seed: ".concat(t))),void this.emit("invalidPeer",t)}this._debug("add web seed %s",t);var r=U.createWebSeedPeer(n,t,this,this.client.throttleGroups);this._registerPeer(r),this.emit("peer",t)}},{key:"_addIncomingPeer",value:function(e){return this.destroyed?e.destroy(new Error("torrent is destroyed")):this.paused?e.destroy(new Error("torrent is paused")):(this._debug("add incoming peer %s",e.id),void this._registerPeer(e))}},{key:"_registerPeer",value:function(e){var t=this;e.on("download",(function(e){t.destroyed||(t.received+=e,t._downloadSpeed(e),t.client._downloadSpeed(e),t.emit("download",e),t.destroyed||t.client.emit("download",e))})),e.on("upload",(function(e){t.destroyed||(t.uploaded+=e,t._uploadSpeed(e),t.client._uploadSpeed(e),t.emit("upload",e),t.destroyed||t.client.emit("upload",e))})),this._peers[e.id]=e,this._peersLength+=1}},{key:"removePeer",value:function(e){var t,n,r=(null===(t=e)||void 0===t?void 0:t.id)||e;e&&!e.id&&(e=null===(n=this._peers)||void 0===n?void 0:n[r]),e&&(e.destroy(),this.destroyed||(this._debug("removePeer %s",r),delete this._peers[r],this._peersLength-=1,this._drain()))}},{key:"select",value:function(e,t,n,r){if(this.destroyed)throw new Error("torrent is destroyed");if(e<0||t65536)return n._debug("ignoring invalid PORT from peer");n._debug("port: %s (from %s)",r,t),n.client.dht.addNode({host:e.remoteAddress,port:r})}})),e.on("timeout",(function(){n._debug("wire timeout (%s)",t),e.destroy()})),"webSeed"!==e.type&&e.setTimeout(3e4,!0),e.setKeepAlive(!0),e.use(N(this.metadata)),e.ut_metadata.on("warning",(function(e){n._debug("ut_metadata warning: %s",e.message)})),this.metadata||(e.ut_metadata.on("metadata",(function(e){n._debug("got metadata via ut_metadata"),n._onMetadata(e)})),e.ut_metadata.fetch()),"function"!==typeof D||this.private||(e.use(D()),e.ut_pex.on("peer",(function(e){n.done||(n._debug("ut_pex: got peer: %s (from %s)",e,t),n.addPeer(e))})),e.ut_pex.on("dropped",(function(e){var r=n._peers[e];r&&!r.connected&&(n._debug("ut_pex: dropped peer: %s (from %s)",e,t),n.removePeer(e))})),e.once("close",(function(){e.ut_pex.reset()}))),e.use(C()),this.emit("wire",e,t),this.ready&&j((function(){n._onWireWithMetadata(e)}))}},{key:"_onWireWithMetadata",value:function(e){var t,n=this,r=null,i=function t(){n.destroyed||e.destroyed||(n._numQueued>2*(n._numConns-n.numPeers)&&e.amInterested?e.destroy():(r=setTimeout(t,$)).unref&&r.unref())},o=function(){if(e.peerPieces.buffer.length===n.bitfield.buffer.length){for(t=0;t131072)return e.destroy();n.pieces[t]||n.store.get(t,{offset:r,length:i},o)})),e.hasFast&&this._hasAllPieces()?e.haveAll():e.hasFast&&this._hasNoPieces()?e.haveNone():e.bitfield(this.bitfield),this._updateWireInterest(e),e.peerExtensions.dht&&this.client.dht&&this.client.dht.listening&&e.port(this.client.dht.address().port),"webSeed"!==e.type&&(r=setTimeout(i,$)).unref&&r.unref(),e.isSeeder=!1,o()}},{key:"_updateSelections",value:function(){var e=this;this.ready&&!this.destroyed&&(j((function(){e._gcSelections()})),this._updateInterest(),this._update())}},{key:"_gcSelections",value:function(){for(var e=0;e=n)){var r=te(e,1);if(e.peerChoking)e.hasFast&&e.peerAllowedFastSet.length>0&&!this._hasMorePieces(e.peerAllowedFastSet.length-1)&&function(){if(e.requests.length>=r)return!1;var n,i=o(e.peerAllowedFastSet);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(e.peerPieces.get(a)&&!t.bitfield.get(a))for(;t._request(e,a,!1)&&e.requests.length=r.from+r.offset;--o)if(e.peerPieces.get(o)&&t._request(e,o,!1))return}}();s(!1)||s(!0)}}function i(t,n,r,i){return function(o){return o>=t&&o<=n&&!(o in r)&&e.peerPieces.get(o)&&(!i||i(o))}}function a(e){for(var n=e,r=e;r=r)return!0;for(var o=function(){var n=e.downloadSpeed()||1;if(n>K)return function(){return!0};var r=Math.max(1,e.requests.length)*I.BLOCK_LENGTH/n,i=10,o=0;return function(e){if(!i||t.bitfield.get(e))return!0;for(var a=t.pieces[e].missing;o0))return i--,!1}return!0}}(),s=0;s0&&r0){var o=t.filter((function(e){return e.peerInterested}));if(o.length>0){var a=o[(n=o.length,Math.random()*n|0)];a.unchoke(),this._rechokeOptimisticWire=a,this._rechokeOptimisticTime=2}}t.filter((function(t){return t!==e._rechokeOptimisticWire})).forEach((function(e){return e.choke()}))}}},{key:"_hotswap",value:function(e,t){var n=e.downloadSpeed();if(n=K||2*c>n||c>a||(i=s,a=c)}}if(!i)return!1;for(o=0;o=a)return!1;var s=r.pieces[t],c=o?s.reserveRemaining():s.reserve();if(-1===c&&n&&r._hotswap(e,t)&&(c=o?s.reserveRemaining():s.reserve()),-1===c)return!1;var u=r._reservations[t];u||(u=r._reservations[t]=[]);var l=u.indexOf(null);-1===l&&(l=u.length),u[l]=e;var f=s.chunkOffset(c),d=o?s.chunkLengthRemaining(c):s.chunkLength(c);function h(){j((function(){r._update()}))}return e.request(t,f,d,(function n(i,a){if(!r.destroyed){if(!r.ready)return r.once("ready",(function(){n(i,a)}));if(u[l]===e&&(u[l]=null),s!==r.pieces[t])return h();if(i)return r._debug("error getting piece %s (offset: %s length: %s) from %s: %s",t,f,d,"".concat(e.remoteAddress,":").concat(e.remotePort),i.message),o?s.cancelRemaining(c):s.cancel(c),void h();if(r._debug("got piece %s (offset: %s length: %s) from %s",t,f,d,"".concat(e.remoteAddress,":").concat(e.remotePort)),!s.set(c,a,e))return h();var p=s.flush();L(p,(function(e){r.destroyed||(e===r._hashes[t]?(r._debug("piece verified %s",t),r.store.put(t,p,(function(e){e?r._destroy(e):(r.pieces[t]=null,r._markVerified(t),r.wires.forEach((function(e){e.have(t)})),r._checkDone()&&!r.destroyed&&r.discovery.complete(),h())}))):(r.pieces[t]=new I(s.length),r.emit("warning",new Error("Piece ".concat(t," failed verification"))),h()))}))}})),!0}},{key:"_checkDone",value:function(){var e=this;if(!this.destroyed){this.files.forEach((function(t){if(!t.done){for(var n=t._startPiece;n<=t._endPiece;++n)if(!e.bitfield.get(n))return;t.done=!0,t.emit("done"),e._debug("file done: ".concat(t.name))}}));var t,n=!0,r=o(this._selections);try{for(r.s();!(t=r.n()).done;){for(var i=t.value,a=i.from;a<=i.to;a++)if(!this.bitfield.get(a)){n=!1;break}if(!n)break}}catch(re){r.e(re)}finally{r.f()}return!this.done&&n?(this.done=!0,this._debug("torrent done: ".concat(this.infoHash)),this.emit("done")):this.done=!1,this._gcSelections(),n}}},{key:"load",value:function(e,t){var n=this;if(this.destroyed)throw new Error("torrent is destroyed");if(!this.ready)return this.once("ready",(function(){n.load(e,t)}));Array.isArray(e)||(e=[e]),t||(t=ne);var r=F.from(A(e)),i=new b(this.store,this.pieceLength);O(r,i,(function(e){if(e)return t(e);n._markAllVerified(),n._checkDone(),t(null)}))}},{key:"createServer",value:function(e){if("function"!==typeof q)throw new Error("node.js-only method");if(this.destroyed)throw new Error("torrent is destroyed");var t=new q(this,e);return this._servers.push(t),t}},{key:"pause",value:function(){this.destroyed||(this._debug("pause"),this.paused=!0)}},{key:"resume",value:function(){this.destroyed||(this._debug("resume"),this.paused=!1,this._drain())}},{key:"_debug",value:function(){var e=[].slice.call(arguments);e[0]="[".concat(this.client?this.client._debugId:"No Client","] [").concat(this._debugId,"] ").concat(e[0]),G.apply(void 0,i(e))}},{key:"_drain",value:function(){var e=this;if(this._debug("_drain numConns %s maxConns %s",this._numConns,this.client.maxConns),!("function"!==typeof h.connect||this.destroyed||this.paused||this._numConns>=this.client.maxConns)){this._debug("drain (%s queued, %s/%s peers)",this._numQueued,this.numPeers,this.client.maxConns);var t=this._queue.shift();if(t){this._debug("%s connect attempt to %s",t.type,t.addr);var n=v(t.addr),r={host:n[0],port:n[1]};this.client.utp&&"utpOutgoing"===t.type?t.conn=W.connect(r.port,r.host):t.conn=h.connect(r);var i=t.conn;i.once("connect",(function(){e.destroyed||t.onConnect()})),i.once("error",(function(e){t.destroy(e)})),t.startConnectTimeout(),i.on("close",(function(){if(!e.destroyed)if(t.retries>=X.length)if(e.client.utp){var n=e._addPeer(t.addr,"tcp");n&&(n.retries=0)}else e._debug("conn %s closed: will not re-add (max %s attempts)",t.addr,X.length);else{var r=X[t.retries];e._debug("conn %s closed: will re-add to queue in %sms (attempt %s)",t.addr,r,t.retries+1);var i=setTimeout((function(){if(!e.destroyed){var n=v(t.addr)[0],r=e.client.utp&&e._isIPv4(n)?"utp":"tcp",i=e._addPeer(t.addr,r);i&&(i.retries=t.retries+1)}}),r);i.unref&&i.unref()}}))}}}},{key:"_validAddr",value:function(e){var t;try{t=v(e)}catch(i){return!1}var n=t[0],r=t[1];return r>0&&r<65535&&!("127.0.0.1"===n&&r===this.client.torrentPort)}},{key:"_isIPv4",value:function(e){return/^((?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])[.]){3}(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$/.test(e)}}]),f}(f);function te(e,t){var n=2+Math.ceil(t*e.downloadSpeed()/I.BLOCK_LENGTH);if(e.peerExtendedHandshake){var r=e.peerExtendedHandshake.reqq;"number"===typeof r&&r>0&&(n=Math.min(n,r))}return n}function ne(){}e.exports=ee},68907:function(e,t,n){var r=n(56690).default,i=n(89728).default,o=n(41588).default,a=n(73808).default,s=n(61655).default,c=n(26389).default,u=n(74453).default,l=n(18392),f=n(73998),d=n(19178),h=n(92271),p=n(10591),m=l("webtorrent:webconn"),v=n(41907).version,g=function(e){"use strict";s(n,e);var t=c(n);function n(e,i){var o;return r(this,n),(o=t.call(this)).url=e,o.connId=e,o.webPeerId=h.sync(e),o._torrent=i,o._init(),o}return i(n,[{key:"_init",value:function(){var e=this;this.setKeepAlive(!0),this.use(d()),this.once("handshake",(function(t,n){if(!e.destroyed){e.handshake(t,e.webPeerId);for(var r=e._torrent.pieces.length,i=new u(r),o=0;o<=r;o++)i.set(o,!0);e.bitfield(i)}})),this.once("interested",(function(){m("interested"),e.unchoke()})),this.on("uninterested",(function(){m("uninterested")})),this.on("choke",(function(){m("choke")})),this.on("unchoke",(function(){m("unchoke")})),this.on("bitfield",(function(){m("bitfield")})),this.lt_donthave.on("donthave",(function(){m("donthave")})),this.on("request",(function(t,n,r,i){m("request pieceIndex=%d offset=%d length=%d",t,n,r),e.httpRequest(t,n,r,(function(n,r){if(n){e.lt_donthave.donthave(t);var o=setTimeout((function(){e.destroyed||e.have(t)}),1e4);o.unref&&o.unref()}i(n,r)}))}))}},{key:"httpRequest",value:function(e,t,n,r){var i,o=this,a=e*this._torrent.pieceLength+t,s=a+n-1,c=this._torrent.files;if(c.length<=1)i=[{url:this.url,start:a,end:s}];else{var u=c.filter((function(e){return e.offset<=s&&e.offset+e.length>a}));if(u.length<1)return r(new Error("Could not find file corresponding to web seed range request"));i=u.map((function(e){var t=e.offset+e.length-1;return{url:o.url+("/"===o.url[o.url.length-1]?"":"/")+e.path.replace(o._torrent.path,""),fileOffsetInRange:Math.max(e.offset-a,0),start:Math.max(a-e.offset,0),end:Math.min(t,s-e.offset)}}))}var l,d=0,h=!1;i.length>1&&(l=Buffer.alloc(n)),i.forEach((function(o){var a=o.url,s=o.start,c=o.end;m("Requesting url=%s pieceIndex=%d offset=%d length=%d start=%d end=%d",a,e,t,n,s,c);var u={url:a,method:"GET",headers:{"user-agent":"WebTorrent/".concat(v," (https://webtorrent.io)"),range:"bytes=".concat(s,"-").concat(c)},timeout:6e4};function p(e,t){if(e.statusCode<200||e.statusCode>=300){if(h)return;return h=!0,r(new Error("Unexpected HTTP status code ".concat(e.statusCode)))}m("Got data of length %d",t.length),1===i.length?r(null,t):(t.copy(l,o.fileOffsetInRange),++d===i.length&&r(null,l))}f.concat(u,(function(e,t,n){if(!h)return e?"undefined"===typeof window||a.startsWith("".concat(window.location.origin,"/"))?(h=!0,r(e)):f.head(a,(function(t,n){if(!h){if(t)return h=!0,r(t);if(n.statusCode<200||n.statusCode>=300)return h=!0,r(new Error("Unexpected HTTP status code ".concat(n.statusCode)));if(n.url===a)return h=!0,r(e);u.url=n.url,f.concat(u,(function(e,t,n){if(!h)return e?(h=!0,r(e)):void p(t,n)}))}})):void p(t,n)}))}))}},{key:"destroy",value:function(){o(a(n.prototype),"destroy",this).call(this),this._torrent=null}}]),n}(p);e.exports=g},17619:function(e){"use strict";function t(){this._types=Object.create(null),this._extensions=Object.create(null);for(var e=0;e1&&void 0!==arguments[1]&&arguments[1],n={},r=function(r){t&&a.default[r]?n[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=(0,i.default)();if(c||(c=(0,o.default)(s)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"===typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=a.default.proxyEvents(s);var u=new Promise((function(n){"object"===("undefined"===typeof e?"undefined":r(e))&&e.playVideo instanceof Function?n(e):c.then((function(r){var i=new r.Player(e,t);return s.on("ready",(function(){n(i)})),null}))})),l=a.default.promisifyPlayer(u,n);return l.on=s.on,l.off=s.off,l},e.exports=t.default},31642:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(15102),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return new Promise((function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)t(window.YT);else{var n="http:"===window.location.protocol?"http:":"https:";(0,o.default)(n+"//www.youtube.com/iframe_api",(function(t){t&&e.trigger("error",t)}));var r=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){r&&r(),t(window.YT)}}}))},e.exports=t.default},42788:function(e,t,n){function r(){var e;try{e=t.storage.debug}catch(n){}return!e&&"undefined"!==typeof process&&"env"in process&&(e={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_HOMEPAGE:"https://chitchatter.im/",REACT_APP_NAME:"chitchatter",REACT_APP_GITHUB_REPO:"https://github.com/jeremyckahn/chitchatter"}.DEBUG),e}(t=e.exports=n(3572)).log=function(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))})),e.splice(o,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=r,t.useColors=function(){if("undefined"!==typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(r())},3572:function(e,t,n){var r;function i(e){function n(){if(n.enabled){var e=n,i=+new Date,o=i-(r||i);e.diff=o,e.prev=r,e.curr=i,r=i;for(var a=new Array(arguments.length),s=0;s0)return function(e){if((e=String(e)).length>100)return;var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*o;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===u&&!1===isNaN(e))return s.long?a(c=e,i,"day")||a(c,r,"hour")||a(c,n,"minute")||a(c,t,"second")||c+" ms":function(e){if(e>=i)return Math.round(e/i)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},49354:function(){},53762:function(){},88333:function(){},70059:function(){},46601:function(){},89214:function(){},71922:function(){},2363:function(){},62528:function(){},30970:function(){},31982:function(){},71156:function(){},52361:function(){},94616:function(){},11356:function(){},73719:function(){},2378:function(){},32067:function(){},56322:function(){},64854:function(){},9608:function(){},68856:function(){},65688:function(){},57525:function(){},57523:function(){},60146:function(){},92050:function(){},54642:function(e,t,n){var r=n(99805);function i(e){var t,n;function i(t,n){try{var a=e[t](n),s=a.value,c=s instanceof r;Promise.resolve(c?s.wrapped:s).then((function(e){c?i("return"===t?"return":"next",e):o(a.done?"return":"normal",e)}),(function(e){i("throw",e)}))}catch(u){o("throw",u)}}function o(e,r){switch(e){case"return":t.resolve({value:r,done:!0});break;case"throw":t.reject(r);break;default:t.resolve({value:r,done:!1})}(t=t.next)?i(t.key,t.arg):n=null}this._invoke=function(e,r){return new Promise((function(o,a){var s={key:e,arg:r,resolve:o,reject:a,next:null};n?n=n.next=s:(t=n=s,i(e,r))}))},"function"!==typeof e.return&&(this.return=void 0)}i.prototype["function"===typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},i.prototype.next=function(e){return this._invoke("next",e)},i.prototype.throw=function(e){return this._invoke("throw",e)},i.prototype.return=function(e){return this._invoke("return",e)},e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},99805:function(e){e.exports=function(e){this.wrapped=e},e.exports.__esModule=!0,e.exports.default=e.exports},73897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},26389:function(e,t,n){var r=n(73808),i=n(69617),o=n(94993);e.exports=function(e){var t=i();return function(){var n,i=r(e);if(t){var a=r(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return o(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},38416:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},41588:function(e,t,n){var r=n(1753);function i(){return"undefined"!==typeof Reflect&&Reflect.get?(e.exports=i=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,n){var i=r(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(this,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},73808:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},61655:function(e,t,n){var r=n(6015);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},64836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},69617:function(e){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},79498:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},68872:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(c){s=!0,i=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}},e.exports.__esModule=!0,e.exports.default=e.exports},12218:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},42281:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},42122:function(e,t,n){var r=n(38416);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:M(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},27424:function(e,t,n){var r=n(85372),i=n(68872),o=n(86116),a=n(12218);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},1753:function(e,t,n){var r=n(73808);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},51589:function(e,t,n){var r=n(85372),i=n(79498),o=n(86116),a=n(12218);e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,n){var r=n(63405),i=n(79498),o=n(86116),a=n(42281);e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},86116:function(e,t,n){var r=n(73897);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},18186:function(e,t,n){var r=n(54642);e.exports=function(e){return function(){return new r(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},64687:function(e,t,n){var r=n(17061)();e.exports=r;try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},30306:function(e,t,n){"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"===typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},74165:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71002);function i(){i=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(A){u=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,o=Object.create(i.prototype),a=new E(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return M()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=_(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=f(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=l;var d={};function h(){}function p(){}function m(){}var v={};u(v,a,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(C([])));y&&y!==t&&n.call(y,a)&&(v=y);var b=m.prototype=h.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function i(o,a,s,c){var u=f(e[o],e,a);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==(0,r.Z)(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,c)}),(function(e){i("throw",e,s,c)})):t.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return i("throw",e,s,c)}))}c(u.arg)}var o;this._invoke=function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},29439:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83878);var i=n(40181),o=n(25267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(c){s=!0,i=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||(0,i.Z)(e,t)||(0,o.Z)()}},30168:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:function(){return r}})},93433:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(30907);var i=n(59199),o=n(40181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},71002:function(e,t,n){"use strict";function r(e){return r="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},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},44946:function(e){"use strict";e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},75207:function(e){"use strict";e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},1308:function(e){"use strict";e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},29799:function(e){"use strict";e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},18597:function(e){"use strict";e.exports={i8:"6.5.4"}},22562:function(e){"use strict";e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},50876:function(e){"use strict";e.exports=JSON.parse('{".3gp":"video/3gpp",".aac":"audio/aac",".aif":"audio/x-aiff",".aiff":"audio/x-aiff",".atom":"application/atom+xml",".avi":"video/x-msvideo",".bmp":"image/bmp",".bz2":"application/x-bzip2",".conf":"text/plain",".css":"text/css",".csv":"text/plain",".diff":"text/x-diff",".doc":"application/msword",".flv":"video/x-flv",".gif":"image/gif",".gz":"application/x-gzip",".htm":"text/html",".html":"text/html",".ico":"image/vnd.microsoft.icon",".ics":"text/calendar",".iso":"application/octet-stream",".jar":"application/java-archive",".jpeg":"image/jpeg",".jpg":"image/jpeg",".js":"application/javascript",".json":"application/json",".less":"text/css",".log":"text/plain",".m3u":"audio/x-mpegurl",".m4a":"audio/x-m4a",".m4b":"audio/mp4",".m4p":"audio/mp4",".m4v":"video/x-m4v",".manifest":"text/cache-manifest",".markdown":"text/x-markdown",".mathml":"application/mathml+xml",".md":"text/x-markdown",".mid":"audio/midi",".midi":"audio/midi",".mov":"video/quicktime",".mp3":"audio/mpeg",".mp4":"video/mp4",".mp4v":"video/mp4",".mpeg":"video/mpeg",".mpg":"video/mpeg",".odp":"application/vnd.oasis.opendocument.presentation",".ods":"application/vnd.oasis.opendocument.spreadsheet",".odt":"application/vnd.oasis.opendocument.text",".oga":"audio/ogg",".ogg":"application/ogg",".pdf":"application/pdf",".png":"image/png",".pps":"application/vnd.ms-powerpoint",".ppt":"application/vnd.ms-powerpoint",".ps":"application/postscript",".psd":"image/vnd.adobe.photoshop",".qt":"video/quicktime",".rar":"application/x-rar-compressed",".rdf":"application/rdf+xml",".rss":"application/rss+xml",".rtf":"application/rtf",".svg":"image/svg+xml",".svgz":"image/svg+xml",".swf":"application/x-shockwave-flash",".tar":"application/x-tar",".tbz":"application/x-bzip-compressed-tar",".text":"text/plain",".tif":"image/tiff",".tiff":"image/tiff",".torrent":"application/x-bittorrent",".ttf":"application/x-font-ttf",".txt":"text/plain",".wav":"audio/wav",".webm":"video/webm",".wma":"audio/x-ms-wma",".wmv":"video/x-ms-wmv",".xls":"application/vnd.ms-excel",".xml":"application/xml",".yaml":"text/yaml",".yml":"text/yaml",".zip":"application/zip"}')},41907:function(e){"use strict";e.exports=JSON.parse('{"name":"webtorrent","description":"Streaming torrent client","version":"1.9.7","author":{"name":"WebTorrent LLC","email":"feross@webtorrent.io","url":"https://webtorrent.io"},"browser":{"./lib/server.js":false,"./lib/conn-pool.js":false,"./lib/utp.js":false,"bittorrent-dht/client":false,"fs":false,"fs-chunk-store":"memory-chunk-store","load-ip-set":false,"net":false,"os":false,"ut_pex":false},"browserify":{"transform":["package-json-versionify"]},"bugs":{"url":"https://github.com/webtorrent/webtorrent/issues"},"chromeapp":{"./lib/utp.js":false,"fs-chunk-store":"memory-chunk-store","http":"@webtorrent/http-node","load-ip-set":false,"net":"chrome-net","os":false},"dependencies":{"@webtorrent/http-node":"^1.3.0","addr-to-ip-port":"^1.5.4","bitfield":"^4.1.0","bittorrent-dht":"^10.0.7","bittorrent-protocol":"^3.5.5","cache-chunk-store":"^3.2.2","chrome-net":"^3.3.4","chunk-store-stream":"^4.3.0","cpus":"^1.0.3","create-torrent":"^5.0.9","debug":"^4.3.4","end-of-stream":"^1.4.4","escape-html":"^1.0.3","fast-blob-stream":"^1.1.1","fs-chunk-store":"^3.0.1","immediate-chunk-store":"^2.2.0","join-async-iterator":"^1.1.1","load-ip-set":"^2.2.1","lt_donthave":"^1.0.1","memory-chunk-store":"^1.3.5","mime":"^3.0.0","package-json-versionify":"^1.0.4","parse-torrent":"^9.1.5","pump":"^3.0.0","queue-microtask":"^1.2.3","random-iterate":"^1.0.1","randombytes":"^2.1.0","range-parser":"^1.2.1","render-media":"^4.1.0","run-parallel":"^1.2.0","run-parallel-limit":"^1.1.0","simple-concat":"^1.0.1","simple-get":"^4.0.1","simple-peer":"^9.11.1","simple-sha1":"^3.1.0","speed-limiter":"^1.0.2","stream-with-known-length-to-buffer":"^1.0.4","streamx":"^2.12.5","throughput":"^1.0.1","torrent-discovery":"^9.4.15","torrent-piece":"^2.0.1","unordered-array-remove":"^1.0.2","ut_metadata":"^3.5.2","ut_pex":"^3.0.2"},"devDependencies":{"@webtorrent/semantic-release-config":"1.0.8","airtap":"4.0.4","airtap-manual":"1.0.0","airtap-sauce":"1.1.2","babel-minify":"0.5.2","bittorrent-tracker":"9.19.0","browserify":"17.0.0","disc":"1.3.3","finalhandler":"1.2.0","network-address":"1.1.2","run-series":"1.1.9","semantic-release":"19.0.5","serve-static":"1.15.0","standard":"*","tape":"5.6.1","webtorrent-fixtures":"1.7.5"},"optionalDependencies":{"utp-native":"^2.5.3"},"engines":{"node":">=14"},"funding":[{"type":"github","url":"https://github.com/sponsors/feross"},{"type":"patreon","url":"https://www.patreon.com/feross"},{"type":"consulting","url":"https://feross.org/support"}],"homepage":"https://webtorrent.io","keywords":["bittorrent","bittorrent client","download","mad science","p2p","peer-to-peer","peers","streaming","swarm","torrent","web torrent","webrtc","webrtc data","webtorrent"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/webtorrent/webtorrent.git"},"scripts":{"build":"npm run build-js && npm run build-js-worker && npm run build-chromeapp","build-chromeapp":"browserify --browser-field=chromeapp --standalone WebTorrent . | minify --mangle=false > webtorrent.chromeapp.js","build-chromeapp-debug":"browserify --browser-field=chromeapp --standalone WebTorrent . > webtorrent.chromeapp.js","build-js":"browserify --standalone WebTorrent . | minify --mangle=false > webtorrent.min.js","build-js-worker":"browserify ./lib/worker.js | minify --mangle=false > sw.min.js","build-js-debug":"browserify --standalone WebTorrent . > webtorrent.debug.js","build-js-worker-debug":"browserify ./lib/worker.js > sw.debug.js","prepublishOnly":"npm run build && npm run update-authors","preversion":"npm run build && npm run update-authors","size":"npm run size-js && npm run size-disc","size-disc":"browserify --full-paths . | discify --open","size-js":"npm run build && cat webtorrent.min.js | gzip | wc -c","test":"standard && npm run test-node && npm run test-browser","test-browser":"airtap --concurrency 1 -- test/*.js test/browser/*.js","test-browser-local":"airtap --preset local -- test/*.js test/browser/*.js","test-node":"tape test/*.js test/node/*.js","update-authors":"./scripts/update-authors.sh"},"standard":{"ignore":["webtorrent.min.js","sw.min.js","webtorrent.chromeapp.js"]},"renovate":{"extends":["github>webtorrent/renovate-config"],"rangeStrategy":"bump"},"release":{"extends":"@webtorrent/semantic-release-config"}}')}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"===typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(o,a),o}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+({26:"react-syntax-highlighter_languages_refractor_cil",48:"react-syntax-highlighter_languages_refractor_peoplecode",68:"react-syntax-highlighter_languages_refractor_moonscript",81:"react-syntax-highlighter_languages_refractor_properties",131:"react-syntax-highlighter_languages_refractor_clike",156:"react-syntax-highlighter_languages_refractor_t4Cs",158:"react-syntax-highlighter_languages_refractor_glsl",171:"react-syntax-highlighter_languages_refractor_v",180:"react-syntax-highlighter_languages_refractor_gap",206:"react-syntax-highlighter_languages_refractor_wasm",224:"react-syntax-highlighter_languages_refractor_nand2tetrisHdl",226:"react-syntax-highlighter_languages_refractor_mel",255:"react-syntax-highlighter_languages_refractor_typoscript",271:"react-syntax-highlighter_languages_refractor_nevod",282:"react-syntax-highlighter_languages_refractor_bsl",342:"react-syntax-highlighter_languages_refractor_powershell",348:"react-syntax-highlighter_languages_refractor_dataweave",369:"react-syntax-highlighter_languages_refractor_ruby",400:"react-syntax-highlighter_languages_refractor_batch",470:"react-syntax-highlighter_languages_refractor_bicep",545:"react-syntax-highlighter_languages_refractor_sml",560:"react-syntax-highlighter_languages_refractor_unrealscript",589:"react-syntax-highlighter_languages_refractor_al",672:"react-syntax-highlighter_languages_refractor_parser",720:"react-syntax-highlighter_languages_refractor_jexl",741:"react-syntax-highlighter_languages_refractor_fsharp",768:"react-syntax-highlighter_languages_refractor_solutionFile",781:"react-syntax-highlighter_languages_refractor_lilypond",849:"react-syntax-highlighter_languages_refractor_smarty",869:"react-syntax-highlighter_languages_refractor_rego",902:"react-syntax-highlighter_languages_refractor_javadoclike",919:"react-syntax-highlighter_languages_refractor_cmake",948:"react-syntax-highlighter_languages_refractor_bison",979:"react-syntax-highlighter_languages_refractor_protobuf",980:"react-syntax-highlighter_languages_refractor_firestoreSecurityRules",982:"react-syntax-highlighter_languages_refractor_xquery",1001:"react-syntax-highlighter_languages_refractor_rust",1007:"react-syntax-highlighter_languages_refractor_haskell",1019:"react-syntax-highlighter_languages_refractor_jsstacktrace",1130:"react-syntax-highlighter_languages_refractor_crystal",1151:"react-syntax-highlighter_languages_refractor_editorconfig",1167:"react-syntax-highlighter_languages_refractor_vhdl",1201:"react-syntax-highlighter_languages_refractor_excelFormula",1253:"react-syntax-highlighter_languages_refractor_wiki",1323:"react-syntax-highlighter_languages_refractor_liquid",1362:"react-syntax-highlighter_languages_refractor_warpscript",1387:"react-syntax-highlighter_languages_refractor_avisynth",1423:"react-syntax-highlighter_languages_refractor_soy",1438:"react-syntax-highlighter_languages_refractor_arff",1554:"react-syntax-highlighter_languages_refractor_asciidoc",1598:"react-syntax-highlighter_languages_refractor_brightscript",1599:"react-syntax-highlighter_languages_refractor_psl",1621:"react-syntax-highlighter_languages_refractor_stylus",1627:"react-syntax-highlighter_languages_refractor_kumir",1751:"react-syntax-highlighter_languages_refractor_q",1768:"react-syntax-highlighter_languages_refractor_rip",1929:"react-syntax-highlighter_languages_refractor_vim",1952:"react-syntax-highlighter_languages_refractor_mongodb",1975:"react-syntax-highlighter_languages_refractor_naniscript",2013:"react-syntax-highlighter_languages_refractor_erlang",2016:"react-syntax-highlighter_languages_refractor_splunkSpl",2044:"react-syntax-highlighter_languages_refractor_fortran",2051:"react-syntax-highlighter_languages_refractor_docker",2065:"react-syntax-highlighter_languages_refractor_autohotkey",2079:"react-syntax-highlighter_languages_refractor_cshtml",2087:"react-syntax-highlighter_languages_refractor_concurnas",2153:"react-syntax-highlighter_languages_refractor_latte",2180:"react-syntax-highlighter_languages_refractor_json5",2182:"react-syntax-highlighter_languages_refractor_eiffel",2221:"react-syntax-highlighter_languages_refractor_qml",2227:"react-syntax-highlighter_languages_refractor_php",2335:"react-syntax-highlighter_languages_refractor_iecst",2348:"react-syntax-highlighter_languages_refractor_rest",2355:"react-syntax-highlighter_languages_refractor_t4Vb",2374:"react-syntax-highlighter_languages_refractor_cypher",2413:"react-syntax-highlighter_languages_refractor_icon",2496:"react-syntax-highlighter_languages_refractor_markup",2509:"react-syntax-highlighter_languages_refractor_tsx",2526:"react-syntax-highlighter_languages_refractor_csv",2547:"react-syntax-highlighter_languages_refractor_qore",2556:"react-syntax-highlighter_languages_refractor_aql",2564:"react-syntax-highlighter_languages_refractor_git",2584:"react-syntax-highlighter_languages_refractor_erb",2726:"react-syntax-highlighter_languages_refractor_pcaxis",2789:"react-syntax-highlighter_languages_refractor_chaiscript",2816:"react-syntax-highlighter_languages_refractor_jsExtras",2822:"react-syntax-highlighter_languages_refractor_smalltalk",2883:"react-syntax-highlighter_languages_refractor_agda",2891:"react-syntax-highlighter_languages_refractor_python",2943:"react-syntax-highlighter_languages_refractor_uri",2980:"react-syntax-highlighter_languages_refractor_velocity",2996:"react-syntax-highlighter_languages_refractor_inform7",3025:"react-syntax-highlighter_languages_refractor_nim",3047:"react-syntax-highlighter_languages_refractor_markupTemplating",3116:"react-syntax-highlighter_languages_refractor_xojo",3140:"react-syntax-highlighter_languages_refractor_hsts",3152:"react-syntax-highlighter_languages_refractor_goModule",3196:"react-syntax-highlighter_languages_refractor_pascaligo",3224:"react-syntax-highlighter_languages_refractor_haxe",3236:"react-syntax-highlighter_languages_refractor_roboconf",3279:"react-syntax-highlighter_languages_refractor_t4Templating",3318:"react-syntax-highlighter_languages_refractor_csharp",3327:"react-syntax-highlighter_languages_refractor_swift",3361:"react-syntax-highlighter_languages_refractor_asmatmel",3384:"react-syntax-highlighter_languages_refractor_arduino",3412:"react-syntax-highlighter_languages_refractor_abap",3422:"react-syntax-highlighter_languages_refractor_purebasic",3444:"react-syntax-highlighter_languages_refractor_tt2",3502:"react-syntax-highlighter_languages_refractor_nsis",3520:"react-syntax-highlighter_languages_refractor_lisp",3657:"react-syntax-highlighter_languages_refractor_json",3694:"react-syntax-highlighter_languages_refractor_bro",3717:"react-syntax-highlighter_languages_refractor_d",3818:"react-syntax-highlighter_languages_refractor_scala",3819:"react-syntax-highlighter_languages_refractor_keyman",3821:"react-syntax-highlighter_languages_refractor_nix",3846:"react-syntax-highlighter_languages_refractor_handlebars",3914:"react-syntax-highlighter_languages_refractor_llvm",3933:"react-syntax-highlighter_languages_refractor_avroIdl",3971:"react-syntax-highlighter_languages_refractor_actionscript",3980:"react-syntax-highlighter_languages_refractor_java",4045:"react-syntax-highlighter_languages_refractor_prolog",4052:"react-syntax-highlighter_languages_refractor_nginx",4069:"react-syntax-highlighter_languages_refractor_mizar",4098:"react-syntax-highlighter_languages_refractor_applescript",4157:"react-syntax-highlighter_languages_refractor_perl",4213:"react-syntax-highlighter_languages_refractor_racket",4306:"react-syntax-highlighter_languages_refractor_solidity",4325:"react-syntax-highlighter_languages_refractor_mermaid",4372:"react-syntax-highlighter_languages_refractor_wolfram",4393:"react-syntax-highlighter_languages_refractor_dhall",4424:"react-syntax-highlighter_languages_refractor_factor",4527:"react-syntax-highlighter_languages_refractor_systemd",4576:"react-syntax-highlighter_languages_refractor_ignore",4630:"react-syntax-highlighter_languages_refractor_kotlin",4657:"react-syntax-highlighter_languages_refractor_jsx",4659:"react-syntax-highlighter_languages_refractor_zig",4698:"react-syntax-highlighter_languages_refractor_livescript",4701:"react-syntax-highlighter_languages_refractor_j",4730:"react-syntax-highlighter_languages_refractor_purescript",4732:"react-syntax-highlighter_languages_refractor_latex",4879:"react-syntax-highlighter_languages_refractor_promql",4884:"react-syntax-highlighter_languages_refractor_phpdoc",5008:"react-syntax-highlighter_languages_refractor_css",5014:"react-syntax-highlighter_languages_refractor_n4js",5056:"react-syntax-highlighter_languages_refractor_ichigojam",5082:"react-syntax-highlighter/refractor-core-import",5085:"react-syntax-highlighter_languages_refractor_scheme",5105:"react-syntax-highlighter_languages_refractor_dnsZoneFile",5165:"react-syntax-highlighter_languages_refractor_tcl",5259:"react-syntax-highlighter_languages_refractor_groovy",5299:"react-syntax-highlighter_languages_refractor_csp",5300:"react-syntax-highlighter_languages_refractor_smali",5508:"react-syntax-highlighter_languages_refractor_julia",5524:"react-syntax-highlighter_languages_refractor_apacheconf",5539:"react-syntax-highlighter_languages_refractor_brainfuck",5611:"react-syntax-highlighter_languages_refractor_gml",5696:"react-syntax-highlighter_languages_refractor_asm6502",5733:"react-syntax-highlighter_languages_refractor_idris",5755:"react-syntax-highlighter_languages_refractor_robotframework",5793:"react-syntax-highlighter_languages_refractor_phpExtras",5797:"react-syntax-highlighter_languages_refractor_uorazor",5867:"react-syntax-highlighter_languages_refractor_gedcom",5896:"react-syntax-highlighter_languages_refractor_vbnet",5905:"react-syntax-highlighter_languages_refractor_gdscript",5951:"react-syntax-highlighter_languages_refractor_less",5983:"react-syntax-highlighter_languages_refractor_yaml",6051:"react-syntax-highlighter_languages_refractor_gherkin",6084:"react-syntax-highlighter_languages_refractor_ada",6118:"react-syntax-highlighter_languages_refractor_coffeescript",6174:"react-syntax-highlighter_languages_refractor_falselang",6179:"react-syntax-highlighter_languages_refractor_log",6247:"react-syntax-highlighter_languages_refractor_diff",6343:"react-syntax-highlighter_languages_refractor_elixir",6487:"react-syntax-highlighter_languages_refractor_haml",6495:"react-syntax-highlighter_languages_refractor_ini",6508:"react-syntax-highlighter_languages_refractor_http",6558:"react-syntax-highlighter_languages_refractor_visualBasic",6574:"react-syntax-highlighter_languages_refractor_xeora",6626:"react-syntax-highlighter_languages_refractor_go",6670:"react-syntax-highlighter_languages_refractor_apl",6731:"react-syntax-highlighter_languages_refractor_squirrel",6749:"react-syntax-highlighter_languages_refractor_hpkp",6818:"react-syntax-highlighter_languages_refractor_jq",6861:"react-syntax-highlighter_languages_refractor_puppet",6963:"react-syntax-highlighter_languages_refractor_regex",6975:"react-syntax-highlighter_languages_refractor_tap",7041:"react-syntax-highlighter_languages_refractor_apex",7055:"react-syntax-highlighter_languages_refractor_sql",7097:"react-syntax-highlighter_languages_refractor_textile",7176:"react-syntax-highlighter_languages_refractor_ejs",7250:"react-syntax-highlighter_languages_refractor_bbcode",7253:"react-syntax-highlighter_languages_refractor_nasm",7279:"react-syntax-highlighter_languages_refractor_javascript",7286:"react-syntax-highlighter_languages_refractor_scss",7332:"react-syntax-highlighter_languages_refractor_wren",7393:"react-syntax-highlighter_languages_refractor_yang",7417:"react-syntax-highlighter_languages_refractor_tremor",7475:"react-syntax-highlighter_languages_refractor_cssExtras",7504:"react-syntax-highlighter_languages_refractor_basic",7515:"react-syntax-highlighter_languages_refractor_magma",7561:"react-syntax-highlighter_languages_refractor_jsonp",7576:"react-syntax-highlighter_languages_refractor_makefile",7619:"react-syntax-highlighter_languages_refractor_kusto",7658:"react-syntax-highlighter_languages_refractor_oz",7661:"react-syntax-highlighter_languages_refractor_jsTemplates",7719:"react-syntax-highlighter_languages_refractor_lolcode",7769:"react-syntax-highlighter_languages_refractor_dart",7801:"react-syntax-highlighter_languages_refractor_io",7833:"react-syntax-highlighter_languages_refractor_pascal",7838:"react-syntax-highlighter_languages_refractor_elm",7842:"react-syntax-highlighter_languages_refractor_stan",7882:"react-syntax-highlighter_languages_refractor_r",7899:"react-syntax-highlighter_languages_refractor_django",7966:"react-syntax-highlighter_languages_refractor_clojure",7976:"react-syntax-highlighter_languages_refractor_shellSession",7996:"react-syntax-highlighter_languages_refractor_neon",8e3:"react-syntax-highlighter_languages_refractor_opencl",8030:"react-syntax-highlighter_languages_refractor_aspnet",8067:"react-syntax-highlighter_languages_refractor_sas",8119:"react-syntax-highlighter_languages_refractor_lua",8126:"react-syntax-highlighter_languages_refractor_etlua",8142:"react-syntax-highlighter_languages_refractor_antlr4",8202:"react-syntax-highlighter_languages_refractor_dax",8244:"react-syntax-highlighter_languages_refractor_turtle",8333:"react-syntax-highlighter_languages_refractor_autoit",8336:"react-syntax-highlighter_languages_refractor_objectivec",8347:"react-syntax-highlighter_languages_refractor_qsharp",8389:"react-syntax-highlighter_languages_refractor_ftl",8404:"react-syntax-highlighter_languages_refractor_matlab",8440:"react-syntax-highlighter_languages_refractor_maxscript",8458:"react-syntax-highlighter_languages_refractor_jolie",8486:"react-syntax-highlighter_languages_refractor_birb",8497:"react-syntax-highlighter_languages_refractor_bnf",8504:"react-syntax-highlighter_languages_refractor_sqf",8513:"react-syntax-highlighter_languages_refractor_monkey",8614:"react-syntax-highlighter_languages_refractor_ebnf",8619:"react-syntax-highlighter_languages_refractor_javastacktrace",8680:"react-syntax-highlighter_languages_refractor_keepalived",8692:"react-syntax-highlighter_languages_refractor_webIdl",8702:"react-syntax-highlighter_languages_refractor_cfscript",8712:"react-syntax-highlighter_languages_refractor_openqasm",8752:"react-syntax-highlighter_languages_refractor_dot",8765:"react-syntax-highlighter_languages_refractor_bash",8811:"react-syntax-highlighter_languages_refractor_reason",8817:"react-syntax-highlighter_languages_refractor_toml",8819:"react-syntax-highlighter_languages_refractor_verilog",8825:"react-syntax-highlighter_languages_refractor_jsdoc",8827:"react-syntax-highlighter_languages_refractor_twig",8840:"react-syntax-highlighter_languages_refractor_plsql",8921:"react-syntax-highlighter_languages_refractor_graphql",8947:"react-syntax-highlighter_languages_refractor_javadoc",8950:"react-syntax-highlighter_languages_refractor_c",8966:"react-syntax-highlighter_languages_refractor_vala",8992:"react-syntax-highlighter_languages_refractor_ocaml",9009:"react-syntax-highlighter_languages_refractor_gn",9073:"react-syntax-highlighter_languages_refractor_abnf",9242:"react-syntax-highlighter_languages_refractor_cobol",9256:"react-syntax-highlighter_languages_refractor_coq",9291:"react-syntax-highlighter_languages_refractor_renpy",9292:"react-syntax-highlighter_languages_refractor_hcl",9311:"react-syntax-highlighter_languages_refractor_powerquery",9315:"react-syntax-highlighter_languages_refractor_pure",9389:"react-syntax-highlighter_languages_refractor_xmlDoc",9426:"react-syntax-highlighter_languages_refractor_hoon",9461:"react-syntax-highlighter_languages_refractor_typescript",9582:"react-syntax-highlighter_languages_refractor_n1ql",9603:"react-syntax-highlighter_languages_refractor_icuMessageFormat",9674:"react-syntax-highlighter_languages_refractor_gcode",9692:"react-syntax-highlighter_languages_refractor_cpp",9742:"react-syntax-highlighter_languages_refractor_flow",9770:"react-syntax-highlighter_languages_refractor_processing",9788:"react-syntax-highlighter_languages_refractor_hlsl",9797:"react-syntax-highlighter_languages_refractor_sass",9835:"react-syntax-highlighter_languages_refractor_markdown",9851:"react-syntax-highlighter_languages_refractor_pug",9887:"react-syntax-highlighter_languages_refractor_sparql",9979:"react-syntax-highlighter_languages_refractor_parigp"}[e]||e)+"."+{26:"12a50768",48:"2162e633",68:"1f9df26f",81:"c378ae31",131:"9b0717fa",156:"a4b7cd94",158:"2aefa8e8",171:"7527e350",180:"4facb813",206:"3e74896a",224:"30659b39",226:"a40f6235",255:"f4a06957",271:"18298b88",282:"310d9794",342:"a0c1c2e5",348:"56ee1585",369:"d90b4d94",400:"8c3b94ab",470:"83d1a974",545:"91abf541",560:"fc50b9ef",589:"eaa13c0d",672:"56c081eb",720:"d6f81c11",741:"b59b7794",768:"c235782f",781:"bc60f08e",787:"5d8effc5",849:"447ba6f2",869:"e733a2c9",902:"58d920e2",919:"8c93755c",948:"c622bf7c",979:"8ef3fad2",980:"00411c5c",982:"7a4d72ab",1001:"56d87ec0",1007:"750915ee",1019:"273e6f0e",1130:"e96f1076",1151:"7dd68f19",1167:"650f53ca",1201:"3ca2aeaf",1253:"71fadcda",1323:"0b35641b",1362:"6dfd7793",1387:"057a071a",1423:"4db88394",1438:"97045256",1554:"f5eab041",1598:"c2cd6a99",1599:"073c3901",1621:"46acc837",1627:"6725e490",1751:"3891bce5",1768:"ede10bd8",1879:"ed18bb38",1929:"ce5c0984",1952:"3c19fd22",1975:"3933cbe9",2013:"3e7290af",2016:"0b034c15",2044:"4a3fdcaf",2051:"62c4e6af",2065:"80554867",2079:"762d3382",2087:"604c8dca",2153:"28aa51f3",2180:"966b7b57",2182:"1d74c428",2221:"63bbf9b6",2227:"f08fdf94",2335:"9dd4fef9",2348:"21f370fb",2355:"af19c35b",2374:"ec810015",2413:"3bd82356",2496:"ea5ffc14",2509:"8f95f373",2526:"70f930a2",2547:"a2cd2a22",2556:"c95a3aa9",2564:"1857b0c8",2584:"7d78e287",2726:"568c2b52",2789:"0900aae1",2816:"3e569a74",2822:"019fa1df",2883:"45eb5715",2891:"300484ca",2943:"3fdd24b9",2980:"3b194e8e",2996:"67df3257",3025:"2efeff23",3047:"60b3d34f",3116:"2b558d9f",3140:"0757b025",3152:"7533a576",3196:"80c8a805",3224:"a09b9ce3",3236:"59d9b2ce",3279:"fa793182",3318:"81fd8096",3327:"748a94f7",3361:"71f92ace",3384:"40b1be00",3412:"6c79be30",3422:"7efb18cf",3444:"f52a022f",3502:"558be2e2",3520:"6c074c38",3657:"b3291471",3694:"f741fcf8",3717:"77b04ba7",3818:"922376c3",3819:"13cda7ca",3821:"0f8fc50d",3846:"76cdf25e",3914:"4f1a1723",3933:"06ceb043",3971:"80cf0d9c",3980:"629b168c",4045:"6101e1bb",4052:"52c38bfb",4069:"40a114c6",4098:"959948bc",4157:"4704034f",4213:"71866e01",4306:"5729eebc",4325:"d9ef2eac",4372:"ab8f3d5d",4393:"0140bc11",4424:"a7353056",4527:"34f6f49b",4576:"e5c1b425",4630:"7340ffcd",4657:"c9e61a52",4659:"dd01a6dc",4698:"7852e80c",4701:"b56a0f7e",4730:"f8c0ceef",4732:"f8fe811d",4879:"3bb9f69f",4884:"964269fc",5008:"9caa1272",5014:"69bd5848",5056:"6296ea2c",5082:"d7d14b68",5085:"4d1c1864",5105:"d5bb93e0",5165:"22af4bde",5259:"0742d766",5299:"3c38df3f",5300:"a3187262",5508:"dd43afa7",5524:"4b940aae",5539:"17e06afa",5611:"1e9ccf69",5696:"01905432",5733:"ff2648d7",5755:"d2e922c5",5793:"5cf936a4",5797:"c058579f",5801:"fe054870",5867:"08e2a47b",5896:"4ddf4a57",5905:"83969196",5951:"950e435c",5983:"3335797b",6051:"c97a582b",6084:"b909fda0",6118:"504645f6",6174:"f31a6905",6179:"f3a88dba",6197:"24105f49",6247:"1b850a16",6343:"6f26dbd4",6487:"ebfe76ce",6495:"615eb91f",6508:"27dc3e9a",6558:"d7e6b4c8",6574:"3428dfdd",6626:"7aeb2f19",6670:"b5e9cf9d",6731:"0cbb6a9e",6749:"65736982",6818:"c8ca9337",6861:"84a985d5",6926:"dcb537c7",6963:"43bcf14a",6975:"c8cc9cea",7041:"1d8c798b",7055:"783cae6c",7097:"4908a558",7176:"c0b03038",7250:"0ab635aa",7253:"f4517ca6",7279:"bfa08b56",7286:"cb58d436",7332:"dbe7a997",7393:"b91647a5",7417:"a8489e82",7475:"e10c790a",7504:"5ae9ff03",7515:"a6c0a984",7561:"7c700173",7576:"4feb4299",7619:"36fce17d",7658:"8d8d5739",7661:"337ed6b9",7719:"ee3ffe33",7769:"732629ed",7801:"8be39b95",7833:"17a22e70",7838:"808f51c0",7842:"d4dcf047",7882:"cafe9d69",7899:"011c15bd",7918:"dc7b6f0b",7966:"748a2185",7976:"5e5d30e8",7996:"f6d840a9",8e3:"4972d0b6",8030:"9c1a038a",8067:"c5ab9ebc",8119:"c9a839e0",8126:"5736e2e1",8142:"9ea96d59",8202:"8f1fdc8c",8221:"efd23e8d",8244:"f51d87a2",8333:"d9ad42d4",8336:"ccee4a43",8347:"9b68fda7",8389:"371b9bdc",8404:"17750e61",8440:"f585c9d3",8458:"33d325f6",8486:"ed7b17db",8497:"fd743a55",8504:"10f00779",8513:"e47463d8",8599:"0a78eeaf",8614:"f4efc9b8",8619:"8063ebbb",8680:"6078d504",8692:"bd0eff04",8702:"71c39ca1",8712:"552aebff",8752:"77b04ca7",8765:"fb56c292",8778:"8b4e8d6a",8811:"b886cdca",8817:"6b160991",8819:"5570eae7",8825:"509d2b7b",8827:"ab63a910",8840:"5525d45a",8921:"121542b3",8947:"f307a1e3",8950:"180b3761",8966:"5059d92a",8992:"ad43c64c",9009:"e3ecaf7c",9056:"4389f73c",9073:"95575723",9242:"e2508fb7",9256:"6de2972e",9291:"eac48954",9292:"3e80486b",9311:"1d37cf49",9315:"0d8bde8f",9389:"4e743d09",9426:"85e7a8a1",9461:"1266c4c5",9582:"c03ef42a",9603:"29ae2f1a",9674:"e7be8e7d",9692:"41c4b3ae",9742:"e92cdaa9",9770:"4c77ce32",9788:"04133862",9797:"5746157b",9835:"d4a7bb75",9851:"3934a364",9887:"588c77be",9910:"ef3db10a",9979:"ab21d649"}[e]+".chunk.js"},n.miniCssF=function(e){},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="chitchatter:";n.l=function(r,i,o,a){if(e[r])e[r].push(i);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l=n&&parseInt(r[n],10)}function f(e,t,n){if(e.RTCPeerConnection){var r=e.RTCPeerConnection.prototype,i=r.addEventListener;r.addEventListener=function(e,r){if(e!==t)return i.apply(this,arguments);var o=function(e){var t=n(e);t&&(r.handleEvent?r.handleEvent(t):r(t))};return this._eventMap=this._eventMap||{},this._eventMap[t]||(this._eventMap[t]=new Map),this._eventMap[t].set(r,o),i.apply(this,[e,o])};var o=r.removeEventListener;r.removeEventListener=function(e,n){if(e!==t||!this._eventMap||!this._eventMap[t])return o.apply(this,arguments);if(!this._eventMap[t].has(n))return o.apply(this,arguments);var r=this._eventMap[t].get(n);return this._eventMap[t].delete(n),0===this._eventMap[t].size&&delete this._eventMap[t],0===Object.keys(this._eventMap).length&&delete this._eventMap,o.apply(this,[e,r])},Object.defineProperty(r,"on"+t,{get:function(){return this["_on"+t]},set:function(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})}}function d(e){return"boolean"!==typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(c=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function h(e){return"boolean"!==typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(u=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}function p(){if("object"===typeof window){if(c)return;"undefined"!==typeof console&&"function"===typeof console.log&&console.log.apply(console,arguments)}}function m(e,t){u&&console.warn(e+" is deprecated, please use "+t+" instead.")}function v(e){return"[object Object]"===Object.prototype.toString.call(e)}function g(e){return v(e)?Object.keys(e).reduce((function(t,n){var r=v(e[n]),i=r?g(e[n]):e[n],o=r&&!Object.keys(i).length;return void 0===i||o?t:Object.assign(t,(0,s.Z)({},n,i))}),{}):e}function y(e,t,n){t&&!n.has(t.id)&&(n.set(t.id,t),Object.keys(t).forEach((function(r){r.endsWith("Id")?y(e,e.get(t[r]),n):r.endsWith("Ids")&&t[r].forEach((function(t){y(e,e.get(t),n)}))})))}function b(e,t,n){var r=n?"outbound-rtp":"inbound-rtp",i=new Map;if(null===t)return i;var o=[];return e.forEach((function(e){"track"===e.type&&e.trackIdentifier===t.id&&o.push(e)})),o.forEach((function(t){e.forEach((function(n){n.type===r&&n.trackId===t.id&&y(e,n,i)}))})),i}var w=p;function x(e,t){var n=e&&e.navigator;if(n.mediaDevices){var r=function(e){if("object"!==typeof e||e.mandatory||e.optional)return e;var t={};return Object.keys(e).forEach((function(n){if("require"!==n&&"advanced"!==n&&"mediaSource"!==n){var r="object"===typeof e[n]?e[n]:{ideal:e[n]};void 0!==r.exact&&"number"===typeof r.exact&&(r.min=r.max=r.exact);var i=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==r.ideal){t.optional=t.optional||[];var o={};"number"===typeof r.ideal?(o[i("min",n)]=r.ideal,t.optional.push(o),(o={})[i("max",n)]=r.ideal,t.optional.push(o)):(o[i("",n)]=r.ideal,t.optional.push(o))}void 0!==r.exact&&"number"!==typeof r.exact?(t.mandatory=t.mandatory||{},t.mandatory[i("",n)]=r.exact):["min","max"].forEach((function(e){void 0!==r[e]&&(t.mandatory=t.mandatory||{},t.mandatory[i(e,n)]=r[e])}))}})),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},i=function(e,i){if(t.version>=61)return i(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"===typeof e.audio){var o=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])};o((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),o(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=r(e.audio)}if(e&&"object"===typeof e.video){var a=e.video.facingMode;a=a&&("object"===typeof a?a:{ideal:a});var s,c=t.version<66;if(a&&("user"===a.exact||"environment"===a.exact||"user"===a.ideal||"environment"===a.ideal)&&(!n.mediaDevices.getSupportedConstraints||!n.mediaDevices.getSupportedConstraints().facingMode||c))if(delete e.video.facingMode,"environment"===a.exact||"environment"===a.ideal?s=["back","rear"]:"user"!==a.exact&&"user"!==a.ideal||(s=["front"]),s)return n.mediaDevices.enumerateDevices().then((function(t){t=t.filter((function(e){return"videoinput"===e.kind}));var n=t.find((function(e){return s.some((function(t){return e.label.toLowerCase().includes(t)}))}));return!n&&t.length&&s.includes("back")&&(n=t[t.length-1]),n&&(e.video.deviceId=a.exact?{exact:n.deviceId}:{ideal:n.deviceId}),e.video=r(e.video),w("chrome: "+JSON.stringify(e)),i(e)}));e.video=r(e.video)}return w("chrome: "+JSON.stringify(e)),i(e)},o=function(e){return t.version>=64?e:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};if(n.getUserMedia=function(e,t,r){i(e,(function(e){n.webkitGetUserMedia(e,t,(function(e){r&&r(o(e))}))}))}.bind(n),n.mediaDevices.getUserMedia){var a=n.mediaDevices.getUserMedia.bind(n.mediaDevices);n.mediaDevices.getUserMedia=function(e){return i(e,(function(e){return a(e).then((function(t){if(e.audio&&!t.getAudioTracks().length||e.video&&!t.getVideoTracks().length)throw t.getTracks().forEach((function(e){e.stop()})),new DOMException("","NotFoundError");return t}),(function(e){return Promise.reject(o(e))}))}))}}}}function _(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&("function"===typeof t?e.navigator.mediaDevices.getDisplayMedia=function(n){return t(n).then((function(t){var r=n.video&&n.video.width,i=n.video&&n.video.height,o=n.video&&n.video.frameRate;return n.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:t,maxFrameRate:o||3}},r&&(n.video.mandatory.maxWidth=r),i&&(n.video.mandatory.maxHeight=i),e.navigator.mediaDevices.getUserMedia(n)}))}:console.error("shimGetDisplayMedia: getSourceId argument is not a function"))}function k(e){e.MediaStream=e.MediaStream||e.webkitMediaStream}function S(e){if("object"===typeof e&&e.RTCPeerConnection&&!("ontrack"in e.RTCPeerConnection.prototype)){Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)},enumerable:!0,configurable:!0});var t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){var n=this;return this._ontrackpoly||(this._ontrackpoly=function(t){t.stream.addEventListener("addtrack",(function(r){var i;i=e.RTCPeerConnection.prototype.getReceivers?n.getReceivers().find((function(e){return e.track&&e.track.id===r.track.id})):{track:r.track};var o=new Event("track");o.track=r.track,o.receiver=i,o.transceiver={receiver:i},o.streams=[t.stream],n.dispatchEvent(o)})),t.stream.getTracks().forEach((function(r){var i;i=e.RTCPeerConnection.prototype.getReceivers?n.getReceivers().find((function(e){return e.track&&e.track.id===r.id})):{track:r};var o=new Event("track");o.track=r,o.receiver=i,o.transceiver={receiver:i},o.streams=[t.stream],n.dispatchEvent(o)}))},this.addEventListener("addstream",this._ontrackpoly)),t.apply(this,arguments)}}else f(e,"track",(function(e){return e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e}))}function E(e){if("object"===typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){var t=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};var n=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,r){var i=n.apply(this,arguments);return i||(i=t(this,e),this._senders.push(i)),i};var r=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){r.apply(this,arguments);var t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}var i=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var n=this;this._senders=this._senders||[],i.apply(this,[e]),e.getTracks().forEach((function(e){n._senders.push(t(n,e))}))};var o=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;this._senders=this._senders||[],o.apply(this,[e]),e.getTracks().forEach((function(e){var n=t._senders.find((function(t){return t.track===e}));n&&t._senders.splice(t._senders.indexOf(n),1)}))}}else if("object"===typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){var a=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){var e=this,t=a.apply(this,[]);return t.forEach((function(t){return t._pc=e})),t},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get:function(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function C(e){if(e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){var e=this,n=Array.prototype.slice.call(arguments),r=n[0],i=n[1],o=n[2];if(arguments.length>0&&"function"===typeof r)return t.apply(this,arguments);if(0===t.length&&(0===arguments.length||"function"!==typeof r))return t.apply(this,[]);var a=function(e){var t={};return e.result().forEach((function(e){var n={id:e.id,timestamp:e.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[e.type]||e.type};e.names().forEach((function(t){n[t]=e.stat(t)})),t[n.id]=n})),t},s=function(e){return new Map(Object.keys(e).map((function(t){return[t,e[t]]})))};if(arguments.length>=2){return t.apply(this,[function(e){i(s(a(e)))},r])}return new Promise((function(n,r){t.apply(e,[function(e){n(s(a(e)))},r])})).then(i,o)}}}function M(e){if("object"===typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver){if(!("getStats"in e.RTCRtpSender.prototype)){var t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){var e=this,n=t.apply(this,[]);return n.forEach((function(t){return t._pc=e})),n});var n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){var e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){var e=this;return this._pc.getStats().then((function(t){return b(t,e.track,!0)}))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){var r=e.RTCPeerConnection.prototype.getReceivers;r&&(e.RTCPeerConnection.prototype.getReceivers=function(){var e=this,t=r.apply(this,[]);return t.forEach((function(t){return t._pc=e})),t}),f(e,"track",(function(e){return e.receiver._pc=e.srcElement,e})),e.RTCRtpReceiver.prototype.getStats=function(){var e=this;return this._pc.getStats().then((function(t){return b(t,e.track,!1)}))}}if("getStats"in e.RTCRtpSender.prototype&&"getStats"in e.RTCRtpReceiver.prototype){var i=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){var t,n,r,o=arguments[0];return this.getSenders().forEach((function(e){e.track===o&&(t?r=!0:t=e)})),this.getReceivers().forEach((function(e){return e.track===o&&(n?r=!0:n=e),e.track===o})),r||t&&n?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):t?t.getStats():n?n.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return i.apply(this,arguments)}}}}function A(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){var e=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map((function(t){return e._shimmedLocalStreams[t][0]}))};var t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,n){if(!n)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};var r=t.apply(this,arguments);return this._shimmedLocalStreams[n.id]?-1===this._shimmedLocalStreams[n.id].indexOf(r)&&this._shimmedLocalStreams[n.id].push(r):this._shimmedLocalStreams[n.id]=[n,r],r};var n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var t=this;this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach((function(e){var n=t.getSenders().find((function(t){return t.track===e}));if(n)throw new DOMException("Track already exists.","InvalidAccessError")}));var r=this.getSenders();n.apply(this,arguments);var i=this.getSenders().filter((function(e){return-1===r.indexOf(e)}));this._shimmedLocalStreams[e.id]=[e].concat(i)};var r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],r.apply(this,arguments)};var i=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){var t=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},e&&Object.keys(this._shimmedLocalStreams).forEach((function(n){var r=t._shimmedLocalStreams[n].indexOf(e);-1!==r&&t._shimmedLocalStreams[n].splice(r,1),1===t._shimmedLocalStreams[n].length&&delete t._shimmedLocalStreams[n]})),i.apply(this,arguments)}}function R(e,t){if(e.RTCPeerConnection){if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return A(e);var n=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){var e=this,t=n.apply(this);return this._reverseStreams=this._reverseStreams||{},t.map((function(t){return e._reverseStreams[t.id]}))};var r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(t){var n=this;if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},t.getTracks().forEach((function(e){var t=n.getSenders().find((function(t){return t.track===e}));if(t)throw new DOMException("Track already exists.","InvalidAccessError")})),!this._reverseStreams[t.id]){var i=new e.MediaStream(t.getTracks());this._streams[t.id]=i,this._reverseStreams[i.id]=t,t=i}r.apply(this,[t])};var i=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},i.apply(this,[this._streams[e.id]||e]),delete this._reverseStreams[this._streams[e.id]?this._streams[e.id].id:e.id],delete this._streams[e.id]},e.RTCPeerConnection.prototype.addTrack=function(t,n){var r=this;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");var i=[].slice.call(arguments,1);if(1!==i.length||!i[0].getTracks().find((function(e){return e===t})))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");var o=this.getSenders().find((function(e){return e.track===t}));if(o)throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};var a=this._streams[n.id];if(a)a.addTrack(t),Promise.resolve().then((function(){r.dispatchEvent(new Event("negotiationneeded"))}));else{var s=new e.MediaStream([t]);this._streams[n.id]=s,this._reverseStreams[s.id]=n,this.addStream(s)}return this.getSenders().find((function(e){return e.track===t}))},["createOffer","createAnswer"].forEach((function(t){var n=e.RTCPeerConnection.prototype[t],r=(0,s.Z)({},t,(function(){var e=this,t=arguments;return arguments.length&&"function"===typeof arguments[0]?n.apply(this,[function(n){var r=c(e,n);t[0].apply(null,[r])},function(e){t[1]&&t[1].apply(null,e)},arguments[2]]):n.apply(this,arguments).then((function(t){return c(e,t)}))}));e.RTCPeerConnection.prototype[t]=r[t]}));var o=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type?(arguments[0]=function(e,t){var n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach((function(t){var r=e._reverseStreams[t],i=e._streams[r.id];n=n.replace(new RegExp(r.id,"g"),i.id)})),new RTCSessionDescription({type:t.type,sdp:n})}(this,arguments[0]),o.apply(this,arguments)):o.apply(this,arguments)};var a=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get:function(){var e=a.get.apply(this);return""===e.type?e:c(this,e)}}),e.RTCPeerConnection.prototype.removeTrack=function(e){var t,n=this;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!e._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(!(e._pc===this))throw new DOMException("Sender was not created by this connection.","InvalidAccessError");this._streams=this._streams||{},Object.keys(this._streams).forEach((function(r){var i=n._streams[r].getTracks().find((function(t){return e.track===t}));i&&(t=n._streams[r])})),t&&(1===t.getTracks().length?this.removeStream(this._reverseStreams[t.id]):t.removeTrack(e.track),this.dispatchEvent(new Event("negotiationneeded")))}}function c(e,t){var n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach((function(t){var r=e._reverseStreams[t],i=e._streams[r.id];n=n.replace(new RegExp(i.id,"g"),r.id)})),new RTCSessionDescription({type:t.type,sdp:n})}}function T(e,t){!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),e.RTCPeerConnection&&t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){var n=e.RTCPeerConnection.prototype[t],r=(0,s.Z)({},t,(function(){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}));e.RTCPeerConnection.prototype[t]=r[t]}))}function P(e,t){f(e,"negotiationneeded",(function(e){var n=e.target;if(!(t.version<72||n.getConfiguration&&"plan-b"===n.getConfiguration().sdpSemantics)||"stable"===n.signalingState)return e}))}var I=n(93433);function O(e,t){var n=e&&e.navigator,r=e&&e.MediaStreamTrack;if(n.getUserMedia=function(e,t,r){m("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),n.mediaDevices.getUserMedia(e).then(t,r)},!(t.version>55&&"autoGainControl"in n.mediaDevices.getSupportedConstraints())){var i=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])},o=n.mediaDevices.getUserMedia.bind(n.mediaDevices);if(n.mediaDevices.getUserMedia=function(e){return"object"===typeof e&&"object"===typeof e.audio&&(e=JSON.parse(JSON.stringify(e)),i(e.audio,"autoGainControl","mozAutoGainControl"),i(e.audio,"noiseSuppression","mozNoiseSuppression")),o(e)},r&&r.prototype.getSettings){var a=r.prototype.getSettings;r.prototype.getSettings=function(){var e=a.apply(this,arguments);return i(e,"mozAutoGainControl","autoGainControl"),i(e,"mozNoiseSuppression","noiseSuppression"),e}}if(r&&r.prototype.applyConstraints){var s=r.prototype.applyConstraints;r.prototype.applyConstraints=function(e){return"audio"===this.kind&&"object"===typeof e&&(e=JSON.parse(JSON.stringify(e)),i(e,"autoGainControl","mozAutoGainControl"),i(e,"noiseSuppression","mozNoiseSuppression")),s.apply(this,[e])}}}}function j(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&(e.navigator.mediaDevices.getDisplayMedia=function(n){if(!n||!n.video){var r=new DOMException("getDisplayMedia without video constraints is undefined");return r.name="NotFoundError",r.code=8,Promise.reject(r)}return!0===n.video?n.video={mediaSource:t}:n.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(n)})}function Z(e){"object"===typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})}function L(e,t){if("object"===typeof e&&(e.RTCPeerConnection||e.mozRTCPeerConnection)){!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection),t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){var n=e.RTCPeerConnection.prototype[t],r=(0,s.Z)({},t,(function(){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}));e.RTCPeerConnection.prototype[t]=r[t]}));var n={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},r=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){var e=Array.prototype.slice.call(arguments),i=e[0],o=e[1],a=e[2];return r.apply(this,[i||null]).then((function(e){if(t.version<53&&!o)try{e.forEach((function(e){e.type=n[e.type]||e.type}))}catch(hf){if("TypeError"!==hf.name)throw hf;e.forEach((function(t,r){e.set(r,Object.assign({},t,{type:n[t.type]||t.type}))}))}return e})).then(o,a)}}}function B(e){if("object"===typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&(!e.RTCRtpSender||!("getStats"in e.RTCRtpSender.prototype))){var t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){var e=this,n=t.apply(this,[]);return n.forEach((function(t){return t._pc=e})),n});var n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){var e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}}function N(e){if("object"===typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&(!e.RTCRtpSender||!("getStats"in e.RTCRtpReceiver.prototype))){var t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){var e=this,n=t.apply(this,[]);return n.forEach((function(t){return t._pc=e})),n}),f(e,"track",(function(e){return e.receiver._pc=e.srcElement,e})),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}}function D(e){e.RTCPeerConnection&&!("removeStream"in e.RTCPeerConnection.prototype)&&(e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;m("removeStream","removeTrack"),this.getSenders().forEach((function(n){n.track&&e.getTracks().includes(n.track)&&t.removeTrack(n)}))})}function F(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)}function z(e){if("object"===typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.addTransceiver;t&&(e.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];var e=arguments[1]&&arguments[1].sendEncodings;void 0===e&&(e=[]);var n=(e=(0,I.Z)(e)).length>0;n&&e.forEach((function(e){if("rid"in e){if(!/^[a-z0-9]{0,16}$/i.test(e.rid))throw new TypeError("Invalid RID value provided.")}if("scaleResolutionDownBy"in e&&!(parseFloat(e.scaleResolutionDownBy)>=1))throw new RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in e&&!(parseFloat(e.maxFramerate)>=0))throw new RangeError("max_framerate must be >= 0.0")}));var r=t.apply(this,arguments);if(n){var i=r.sender,o=i.getParameters();(!("encodings"in o)||1===o.encodings.length&&0===Object.keys(o.encodings[0]).length)&&(o.encodings=e,i.sendEncodings=e,this.setParametersPromises.push(i.setParameters(o).then((function(){delete i.sendEncodings})).catch((function(){delete i.sendEncodings}))))}return r})}}function U(e){if("object"===typeof e&&e.RTCRtpSender){var t=e.RTCRtpSender.prototype.getParameters;t&&(e.RTCRtpSender.prototype.getParameters=function(){var e=t.apply(this,arguments);return"encodings"in e||(e.encodings=[].concat(this.sendEncodings||[{}])),e})}}function H(e){if("object"===typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(){var e=arguments,n=this;return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then((function(){return t.apply(n,e)})).finally((function(){n.setParametersPromises=[]})):t.apply(this,arguments)}}}function q(e){if("object"===typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.createAnswer;e.RTCPeerConnection.prototype.createAnswer=function(){var e=arguments,n=this;return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then((function(){return t.apply(n,e)})).finally((function(){n.setParametersPromises=[]})):t.apply(this,arguments)}}}function W(e){if("object"===typeof e&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){var t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){var n=this;this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach((function(r){return t.call(n,r,e)})),e.getVideoTracks().forEach((function(r){return t.call(n,r,e)}))},e.RTCPeerConnection.prototype.addTrack=function(e){for(var n=this,r=arguments.length,i=new Array(r>1?r-1:0),o=1;o=0)){e._remoteStreams.push(t);var n=new Event("addstream");n.stream=t,e.dispatchEvent(n)}}))}),t.apply(e,arguments)}}}function G(e){if("object"===typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype,n=t.createOffer,r=t.createAnswer,i=t.setLocalDescription,o=t.setRemoteDescription,a=t.addIceCandidate;t.createOffer=function(e,t){var r=arguments.length>=2?arguments[2]:arguments[0],i=n.apply(this,[r]);return t?(i.then(e,t),Promise.resolve()):i},t.createAnswer=function(e,t){var n=arguments.length>=2?arguments[2]:arguments[0],i=r.apply(this,[n]);return t?(i.then(e,t),Promise.resolve()):i};var s=function(e,t,n){var r=i.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r};t.setLocalDescription=s,s=function(e,t,n){var r=o.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.setRemoteDescription=s,s=function(e,t,n){var r=a.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.addIceCandidate=s}}function $(e){var t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){var n=t.mediaDevices,r=n.getUserMedia.bind(n);t.mediaDevices.getUserMedia=function(e){return r(K(e))}}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=function(e,n,r){t.mediaDevices.getUserMedia(e).then(n,r)}.bind(t))}function K(e){return e&&void 0!==e.video?Object.assign({},e,{video:g(e.video)}):e}function Y(e){if(e.RTCPeerConnection){var t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,n){if(e&&e.iceServers){for(var r=[],i=0;i>24])}return e}))}function ie(e,t){if(e.RTCPeerConnection){"sctp"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"sctp",{get:function(){return"undefined"===typeof this._sctp?null:this._sctp}});var n=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){(this._sctp=null,"chrome"===t.browser&&t.version>=76)&&("plan-b"===this.getConfiguration().sdpSemantics&&Object.defineProperty(this,"sctp",{get:function(){return"undefined"===typeof this._sctp?null:this._sctp},enumerable:!0,configurable:!0}));if(function(e){if(!e||!e.sdp)return!1;var t=te().splitSections(e.sdp);return t.shift(),t.some((function(e){var t=te().parseMLine(e);return t&&"application"===t.kind&&-1!==t.protocol.indexOf("SCTP")}))}(arguments[0])){var e,r=function(e){var t=e.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===t||t.length<2)return-1;var n=parseInt(t[1],10);return n!==n?-1:n}(arguments[0]),i=function(e){var n=65536;return"firefox"===t.browser&&(n=t.version<57?-1===e?16384:2147483637:t.version<60?57===t.version?65535:65536:2147483637),n}(r),o=function(e,n){var r=65536;"firefox"===t.browser&&57===t.version&&(r=65535);var i=te().matchPrefix(e.sdp,"a=max-message-size:");return i.length>0?r=parseInt(i[0].substring(19),10):"firefox"===t.browser&&-1!==n&&(r=2147483637),r}(arguments[0],r);e=0===i&&0===o?Number.POSITIVE_INFINITY:0===i||0===o?Math.max(i,o):Math.min(i,o);var a={};Object.defineProperty(a,"maxMessageSize",{get:function(){return e}}),this._sctp=a}return n.apply(this,arguments)}}}function oe(e){if(e.RTCPeerConnection&&"createDataChannel"in e.RTCPeerConnection.prototype){var t=e.RTCPeerConnection.prototype.createDataChannel;e.RTCPeerConnection.prototype.createDataChannel=function(){var e=t.apply(this,arguments);return n(e,this),e},f(e,"datachannel",(function(e){return n(e.channel,e.target),e}))}function n(e,t){var n=e.send;e.send=function(){var r=arguments[0],i=r.length||r.size||r.byteLength;if("open"===e.readyState&&t.sctp&&i>t.sctp.maxMessageSize)throw new TypeError("Message too large (can send a maximum of "+t.sctp.maxMessageSize+" bytes)");return n.apply(e,arguments)}}}function ae(e){if(e.RTCPeerConnection&&!("connectionState"in e.RTCPeerConnection.prototype)){var t=e.RTCPeerConnection.prototype;Object.defineProperty(t,"connectionState",{get:function(){return{completed:"connected",checking:"connecting"}[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t,"onconnectionstatechange",{get:function(){return this._onconnectionstatechange||null},set:function(e){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),e&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=e)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach((function(e){var n=t[e];t[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=function(e){var t=e.target;if(t._lastConnectionState!==t.connectionState){t._lastConnectionState=t.connectionState;var n=new Event("connectionstatechange",e);t.dispatchEvent(n)}return e},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),n.apply(this,arguments)}}))}}function se(e,t){if(e.RTCPeerConnection&&!("chrome"===t.browser&&t.version>=71)&&!("safari"===t.browser&&t.version>=605)){var n=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(t){if(t&&t.sdp&&-1!==t.sdp.indexOf("\na=extmap-allow-mixed")){var r=t.sdp.split("\n").filter((function(e){return"a=extmap-allow-mixed"!==e.trim()})).join("\n");e.RTCSessionDescription&&t instanceof e.RTCSessionDescription?arguments[0]=new e.RTCSessionDescription({type:t.type,sdp:r}):t.sdp=r}return n.apply(this,arguments)}}}function ce(e,t){if(e.RTCPeerConnection&&e.RTCPeerConnection.prototype){var n=e.RTCPeerConnection.prototype.addIceCandidate;n&&0!==n.length&&(e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?("chrome"===t.browser&&t.version<78||"firefox"===t.browser&&t.version<68||"safari"===t.browser)&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():n.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}}function ue(e,t){if(e.RTCPeerConnection&&e.RTCPeerConnection.prototype){var n=e.RTCPeerConnection.prototype.setLocalDescription;n&&0!==n.length&&(e.RTCPeerConnection.prototype.setLocalDescription=function(){var e=this,t=arguments[0]||{};if("object"!==typeof t||t.type&&t.sdp)return n.apply(this,arguments);if(!(t={type:t.type,sdp:t.sdp}).type)switch(this.signalingState){case"stable":case"have-local-offer":case"have-remote-pranswer":t.type="offer";break;default:t.type="answer"}return t.sdp||"offer"!==t.type&&"answer"!==t.type?n.apply(this,[t]):("offer"===t.type?this.createOffer:this.createAnswer).apply(this).then((function(t){return n.apply(e,[t])}))})}}!function(){var n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).window,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shimChrome:!0,shimFirefox:!0,shimSafari:!0},a=p,s=function(e){var t={browser:null,version:null};if("undefined"===typeof e||!e.navigator)return t.browser="Not a browser.",t;var n=e.navigator;if(n.mozGetUserMedia)t.browser="firefox",t.version=l(n.userAgent,/Firefox\/(\d+)\./,1);else if(n.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection)t.browser="chrome",t.version=l(n.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else{if(!e.RTCPeerConnection||!n.userAgent.match(/AppleWebKit\/(\d+)\./))return t.browser="Not a supported browser.",t;t.browser="safari",t.version=l(n.userAgent,/AppleWebKit\/(\d+)\./,1),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype}return t}(n),c={browserDetails:s,commonShim:i,extractVersion:l,disableLog:d,disableWarnings:h,sdp:ee};switch(s.browser){case"chrome":if(!e||!T||!o.shimChrome)return a("Chrome shim is not included in this adapter release."),c;if(null===s.version)return a("Chrome shim can not determine version, not shimming."),c;a("adapter.js shimming chrome."),c.browserShim=e,ce(n,s),ue(n),x(n,s),k(n),T(n,s),S(n),R(n,s),E(n),C(n),M(n),P(n,s),ne(n),re(n),ae(n),ie(n,s),oe(n),se(n,s);break;case"firefox":if(!t||!L||!o.shimFirefox)return a("Firefox shim is not included in this adapter release."),c;a("adapter.js shimming firefox."),c.browserShim=t,ce(n,s),ue(n),O(n,s),L(n,s),Z(n),D(n),B(n),N(n),F(n),z(n),U(n),H(n),q(n),ne(n),ae(n),ie(n,s),oe(n);break;case"safari":if(!r||!o.shimSafari)return a("Safari shim is not included in this adapter release."),c;a("adapter.js shimming safari."),c.browserShim=r,ce(n,s),ue(n),Y(n),J(n),G(n),W(n),V(n),X(n),$(n),Q(n),ne(n),re(n),ie(n,s),oe(n),se(n,s);break;default:a("Unsupported browser!")}}({window:"undefined"===typeof window?void 0:window});var le=n(19778),fe=n(1426),de=n.n(fe);window.Buffer=le.Buffer,window.process=de();var he,pe=n(1250),me=n(74165),ve=n(1413),ge=n(15861),ye=n(29439),be=n(72791),we=n(87462);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(he||(he={}));var xe=function(e){return e};var _e="beforeunload",ke="popstate";function Se(e){e.preventDefault(),e.returnValue=""}function Ee(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function Ce(){return Math.random().toString(36).substr(2,8)}function Me(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,o=e.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function Ae(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var Re=(0,be.createContext)(null);var Te=(0,be.createContext)(null);var Pe=(0,be.createContext)({outlet:null,matches:[]});function Ie(e,t){if(!e)throw new Error(t)}function Oe(e,t,n){void 0===n&&(n="/");var r=Ve(("string"===typeof t?Ae(t):t).pathname||"/",n);if(null==r)return null;var i=je(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(i);for(var o=null,a=0;null==o&&a0&&(!0===e.index&&Ie(!1),je(e.children,t,s,a)),(null!=e.path||e.index)&&t.push({path:a,score:Ue(a,e.index),routesMeta:s})})),t}var Ze=/^:\w+$/,Le=3,Be=2,Ne=1,De=10,Fe=-2,ze=function(e){return"*"===e};function Ue(e,t){var n=e.split("/"),r=n.length;return n.some(ze)&&(r+=Fe),t&&(r+=Be),n.filter((function(e){return!ze(e)})).reduce((function(e,t){return e+(Ze.test(t)?Le:""===t?Ne:De)}),r)}function He(e,t){for(var n=e.routesMeta,r={},i="/",o=[],a=0;a=0?t[a]:"/"}var c=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?Ae(e):e,r=n.pathname,i=n.search,o=void 0===i?"":i,a=n.hash,s=void 0===a?"":a,c=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:c,search:Ke(o),hash:Ye(s)}}(i,r);return o&&"/"!==o&&o.endsWith("/")&&!c.pathname.endsWith("/")&&(c.pathname+="/"),c}function Ve(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}var Ge=function(e){return e.join("/").replace(/\/\/+/g,"/")},$e=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},Ke=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},Ye=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""};function Xe(e){Je()||Ie(!1);var t=(0,be.useContext)(Re),n=t.basename,r=t.navigator,i=nt(e),o=i.hash,a=i.pathname,s=i.search,c=a;if("/"!==n){var u=function(e){return""===e||""===e.pathname?"/":"string"===typeof e?Ae(e).pathname:e.pathname}(e),l=null!=u&&u.endsWith("/");c="/"===a?n+(l?"/":""):Ge([n,a])}return r.createHref({pathname:c,search:s,hash:o})}function Je(){return null!=(0,be.useContext)(Te)}function Qe(){return Je()||Ie(!1),(0,be.useContext)(Te).location}function et(){Je()||Ie(!1);var e=(0,be.useContext)(Re),t=e.basename,n=e.navigator,r=(0,be.useContext)(Pe).matches,i=Qe().pathname,o=JSON.stringify(r.map((function(e){return e.pathnameBase}))),a=(0,be.useRef)(!1);(0,be.useEffect)((function(){a.current=!0}));var s=(0,be.useCallback)((function(e,r){if(void 0===r&&(r={}),a.current)if("number"!==typeof e){var s=We(e,JSON.parse(o),i);"/"!==t&&(s.pathname=Ge([t,s.pathname])),(r.replace?n.replace:n.push)(s,r.state)}else n.go(e)}),[t,n,o,i]);return s}function tt(){var e=(0,be.useContext)(Pe).matches,t=e[e.length-1];return t?t.params:{}}function nt(e){var t=(0,be.useContext)(Pe).matches,n=Qe().pathname,r=JSON.stringify(t.map((function(e){return e.pathnameBase})));return(0,be.useMemo)((function(){return We(e,JSON.parse(r),n)}),[e,r,n])}function rt(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight((function(n,r,i){return(0,be.createElement)(Pe.Provider,{children:void 0!==r.route.element?r.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,i+1))}})}),null)}function it(e){var t=e.to,n=e.replace,r=e.state;Je()||Ie(!1);var i=et();return(0,be.useEffect)((function(){i(t,{replace:n,state:r})})),null}function ot(e){Ie(!1)}function at(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,i=void 0===r?null:r,o=e.location,a=e.navigationType,s=void 0===a?he.Pop:a,c=e.navigator,u=e.static,l=void 0!==u&&u;Je()&&Ie(!1);var f=$e(n),d=(0,be.useMemo)((function(){return{basename:f,navigator:c,static:l}}),[f,c,l]);"string"===typeof o&&(o=Ae(o));var h=o,p=h.pathname,m=void 0===p?"/":p,v=h.search,g=void 0===v?"":v,y=h.hash,b=void 0===y?"":y,w=h.state,x=void 0===w?null:w,_=h.key,k=void 0===_?"default":_,S=(0,be.useMemo)((function(){var e=Ve(m,f);return null==e?null:{pathname:e,search:g,hash:b,state:x,key:k}}),[f,m,g,b,x,k]);return null==S?null:(0,be.createElement)(Re.Provider,{value:d},(0,be.createElement)(Te.Provider,{children:i,value:{location:S,navigationType:s}}))}function st(e){var t=e.children,n=e.location;return function(e,t){Je()||Ie(!1);var n,r=(0,be.useContext)(Pe).matches,i=r[r.length-1],o=i?i.params:{},a=(i&&i.pathname,i?i.pathnameBase:"/"),s=(i&&i.route,Qe());if(t){var c,u="string"===typeof t?Ae(t):t;"/"===a||(null==(c=u.pathname)?void 0:c.startsWith(a))||Ie(!1),n=u}else n=s;var l=n.pathname||"/",f=Oe(e,{pathname:"/"===a?l:l.slice(a.length)||"/"});return rt(f&&f.map((function(e){return Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Ge([a,e.pathname]),pathnameBase:"/"===e.pathnameBase?a:Ge([a,e.pathnameBase])})})),r)}(ct(t),n)}function ct(e){var t=[];return be.Children.forEach(e,(function(e){if((0,be.isValidElement)(e))if(e.type!==be.Fragment){e.type!==ot&&Ie(!1);var n={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(n.children=ct(e.props.children)),t.push(n)}else t.push.apply(t,ct(e.props.children))})),t}function ut(){return ut=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var ft=["onClick","reloadDocument","replace","state","target","to"];function dt(e){var t=e.basename,n=e.children,r=e.window,i=(0,be.useRef)();null==i.current&&(i.current=function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function i(){var e=n.location,t=e.pathname,i=e.search,o=e.hash,a=r.state||{};return[a.idx,xe({pathname:t,search:i,hash:o,state:a.usr||null,key:a.key||"default"})]}var o=null;n.addEventListener(ke,(function(){if(o)f.call(o),o=null;else{var e=he.Pop,t=i(),n=t[0],r=t[1];if(f.length){if(null!=n){var a=c-n;a&&(o={action:e,location:r,retry:function(){g(-1*a)}},g(a))}}else v(e)}}));var a=he.Pop,s=i(),c=s[0],u=s[1],l=Ee(),f=Ee();function d(e){return"string"===typeof e?e:Me(e)}function h(e,t){return void 0===t&&(t=null),xe((0,we.Z)({pathname:u.pathname,hash:"",search:""},"string"===typeof e?Ae(e):e,{state:t,key:Ce()}))}function p(e,t){return[{usr:e.state,key:e.key,idx:t},d(e)]}function m(e,t,n){return!f.length||(f.call({action:e,location:t,retry:n}),!1)}function v(e){a=e;var t=i();c=t[0],u=t[1],l.call({action:a,location:u})}function g(e){r.go(e)}null==c&&(c=0,r.replaceState((0,we.Z)({},r.state,{idx:c}),""));var y={get action(){return a},get location(){return u},createHref:d,push:function e(t,i){var o=he.Push,a=h(t,i);if(m(o,a,(function(){e(t,i)}))){var s=p(a,c+1),u=s[0],l=s[1];try{r.pushState(u,"",l)}catch(f){n.location.assign(l)}v(o)}},replace:function e(t,n){var i=he.Replace,o=h(t,n);if(m(i,o,(function(){e(t,n)}))){var a=p(o,c),s=a[0],u=a[1];r.replaceState(s,"",u),v(i)}},go:g,back:function(){g(-1)},forward:function(){g(1)},listen:function(e){return l.push(e)},block:function(e){var t=f.push(e);return 1===f.length&&n.addEventListener(_e,Se),function(){t(),f.length||n.removeEventListener(_e,Se)}}};return y}({window:r}));var o=i.current,a=(0,be.useState)({action:o.action,location:o.location}),s=(0,ye.Z)(a,2),c=s[0],u=s[1];return(0,be.useLayoutEffect)((function(){return o.listen(u)}),[o]),(0,be.createElement)(at,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:o})}var ht=(0,be.forwardRef)((function(e,t){var n=e.onClick,r=e.reloadDocument,i=e.replace,o=void 0!==i&&i,a=e.state,s=e.target,c=e.to,u=lt(e,ft),l=Xe(c),f=function(e,t){var n=void 0===t?{}:t,r=n.target,i=n.replace,o=n.state,a=et(),s=Qe(),c=nt(e);return(0,be.useCallback)((function(t){if(0===t.button&&(!r||"_self"===r)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t)){t.preventDefault();var n=!!i||Me(s)===Me(c);a(e,{replace:n,state:o})}}),[s,a,c,i,o,r,e])}(c,{replace:o,state:a,target:s});return(0,be.createElement)("a",ut({},u,{href:l,onClick:function(e){n&&n(e),e.defaultPrevented||r||f(e)},ref:t,target:s}))}));var pt;var mt=new Uint8Array(16);function vt(){if(!pt&&!(pt="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return pt(mt)}var gt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var yt=function(e){return"string"===typeof e&>.test(e)},bt=[],wt=0;wt<256;++wt)bt.push((wt+256).toString(16).substr(1));var xt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(bt[e[t+0]]+bt[e[t+1]]+bt[e[t+2]]+bt[e[t+3]]+"-"+bt[e[t+4]]+bt[e[t+5]]+"-"+bt[e[t+6]]+bt[e[t+7]]+"-"+bt[e[t+8]]+bt[e[t+9]]+"-"+bt[e[t+10]]+bt[e[t+11]]+bt[e[t+12]]+bt[e[t+13]]+bt[e[t+14]]+bt[e[t+15]]).toLowerCase();if(!yt(n))throw TypeError("Stringified UUID is invalid");return n};var _t=function(e,t,n){var r=(e=e||{}).random||(e.rng||vt)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return xt(r)},kt=n(61842),St=n.n(kt),Et=Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function Ct(e){if("serviceWorker"in navigator){if(new URL("",window.location.href).origin!==window.location.origin)return;window.addEventListener("load",(function(){var t="".concat("","/service-worker.js");Et?(!function(e,t){fetch(e,{headers:{"Service-Worker":"script"}}).then((function(n){var r=n.headers.get("content-type");404===n.status||null!=r&&-1===r.indexOf("javascript")?navigator.serviceWorker.ready.then((function(e){e.unregister().then((function(){window.location.reload()}))})):Mt(e,t)})).catch((function(){console.log("No internet connection found. App is running in offline mode.")}))}(t,e),navigator.serviceWorker.ready.then((function(){console.log("This web app is being served cache-first by a service worker. To learn more, visit https://cra.link/PWA")}))):Mt(t,e)}))}}function Mt(e,t){navigator.serviceWorker.register(e).then((function(e){e.onupdatefound=function(){var n=e.installing;null!=n&&(n.onstatechange=function(){"installed"===n.state&&(navigator.serviceWorker.controller?(console.log("New content is available and will be used when all tabs for this page are closed. See https://cra.link/PWA."),e.waiting.postMessage({type:"SKIP_WAITING"}),t&&t.onUpdate&&t.onUpdate(e)):(console.log("Content is cached for offline use."),t&&t.onSuccess&&t.onSuccess(e)))})}})).catch((function(e){console.error("Error during service worker registration:",e)}))}var At,Rt=(0,be.createContext)({getPersistedStorage:function(){return St()}}),Tt=(0,be.createContext)({updateUserSettings:function(){return Promise.resolve()},getUserSettings:function(){return{userId:"",customUsername:"",colorMode:"dark",playSoundOnNewMessage:!0,showNotificationOnNewMessage:!0,showActiveTypingStatus:!0}}});!function(e){e.ABOUT="/about",e.DISCLAIMER="/disclaimer",e.INDEX_HTML="/index.html",e.PRIVATE_ROOM="/private/:roomId",e.PUBLIC_ROOM="/public/:roomId",e.ROOT="/",e.SETTINGS="/settings"}(At||(At={}));var Pt=n(30439),It=n(63366),Ot=n(28182),jt=n(22421),Zt=n(60104),Lt=n(78519),Bt=n(30418),Nt=n(80184),Dt=["className","component"];function Ft(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=e.defaultClassName,r=void 0===n?"MuiBox-root":n,i=e.generateClassName,o=e.styleFunctionSx,a=void 0===o?Zt.Z:o,s=(0,jt.ZP)("div")(a),c=be.forwardRef((function(e,n){var o=(0,Bt.Z)(t),a=(0,Lt.Z)(e),c=a.className,u=a.component,l=void 0===u?"div":u,f=(0,It.Z)(a,Dt);return(0,Nt.jsx)(s,(0,we.Z)({as:l,ref:n,className:(0,Ot.Z)(c,i?i(r):r),theme:o},f))}));return c}var zt=n(55902),Ut=n(61979),Ht=Ft({defaultTheme:(0,Ut.Z)(),defaultClassName:"MuiBox-root",generateClassName:zt.Z.generate}),qt=n(94419),Wt=n(61046),Vt=n(47630);function Gt(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function $t(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(Gt(e.value)&&""!==e.value||t&&Gt(e.defaultValue)&&""!==e.defaultValue)}var Kt=n(14036),Yt=n(19103);var Xt=be.createContext(),Jt=n(21217),Qt=n(75878);function en(e){return(0,Jt.Z)("MuiFormControl",e)}(0,Qt.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var tn=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],nn=(0,Vt.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,we.Z)({},t.root,t["margin".concat((0,Kt.Z)(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return(0,we.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),rn=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiFormControl"}),r=n.children,i=n.className,o=n.color,a=void 0===o?"primary":o,s=n.component,c=void 0===s?"div":s,u=n.disabled,l=void 0!==u&&u,f=n.error,d=void 0!==f&&f,h=n.focused,p=n.fullWidth,m=void 0!==p&&p,v=n.hiddenLabel,g=void 0!==v&&v,y=n.margin,b=void 0===y?"none":y,w=n.required,x=void 0!==w&&w,_=n.size,k=void 0===_?"medium":_,S=n.variant,E=void 0===S?"outlined":S,C=(0,It.Z)(n,tn),M=(0,we.Z)({},n,{color:a,component:c,disabled:l,error:d,fullWidth:m,hiddenLabel:g,margin:b,required:x,size:k,variant:E}),A=function(e){var t=e.classes,n=e.margin,r=e.fullWidth,i={root:["root","none"!==n&&"margin".concat((0,Kt.Z)(n)),r&&"fullWidth"]};return(0,qt.Z)(i,en,t)}(M),R=be.useState((function(){var e=!1;return r&&be.Children.forEach(r,(function(t){if((0,Yt.Z)(t,["Input","Select"])){var n=(0,Yt.Z)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),T=(0,ye.Z)(R,2),P=T[0],I=T[1],O=be.useState((function(){var e=!1;return r&&be.Children.forEach(r,(function(t){(0,Yt.Z)(t,["Input","Select"])&&$t(t.props,!0)&&(e=!0)})),e})),j=(0,ye.Z)(O,2),Z=j[0],L=j[1],B=be.useState(!1),N=(0,ye.Z)(B,2),D=N[0],F=N[1];l&&D&&F(!1);var z=void 0===h||l?D:h,U=be.useCallback((function(){L(!0)}),[]),H={adornedStart:P,setAdornedStart:I,color:a,disabled:l,error:d,filled:Z,focused:z,fullWidth:m,hiddenLabel:g,size:k,onBlur:function(){F(!1)},onEmpty:be.useCallback((function(){L(!1)}),[]),onFilled:U,onFocus:function(){F(!0)},registerEffect:undefined,required:x,variant:E};return(0,Nt.jsx)(Xt.Provider,{value:H,children:(0,Nt.jsx)(nn,(0,we.Z)({as:c,ownerState:M,className:(0,Ot.Z)(A.root,i),ref:t},C,{children:r}))})})),on=rn,an=n(4567),sn=n(96248),cn=n(82466),un=n(46189),ln=n(54164),fn=n(47563),dn=n(27979),hn=n(93981),pn=n(75721),mn=["onChange","maxRows","minRows","style","value"];function vn(e,t){return parseInt(e[t],10)||0}var gn={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function yn(e){return void 0===e||null===e||0===Object.keys(e).length}var bn=be.forwardRef((function(e,t){var n=e.onChange,r=e.maxRows,i=e.minRows,o=void 0===i?1:i,a=e.style,s=e.value,c=(0,It.Z)(e,mn),u=be.useRef(null!=s).current,l=be.useRef(null),f=(0,fn.Z)(t,l),d=be.useRef(null),h=be.useRef(0),p=be.useState({}),m=(0,ye.Z)(p,2),v=m[0],g=m[1],y=be.useCallback((function(){var t=l.current,n=(0,dn.Z)(t).getComputedStyle(t);if("0px"===n.width)return{};var i=d.current;i.style.width=n.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");var a=n["box-sizing"],s=vn(n,"padding-bottom")+vn(n,"padding-top"),c=vn(n,"border-bottom-width")+vn(n,"border-top-width"),u=i.scrollHeight;i.value="x";var f=i.scrollHeight,h=u;return o&&(h=Math.max(Number(o)*f,h)),r&&(h=Math.min(Number(r)*f,h)),{outerHeightStyle:(h=Math.max(h,f))+("border-box"===a?s+c:0),overflow:Math.abs(h-u)<=1}}),[r,o,e.placeholder]),b=function(e,t){var n=t.outerHeightStyle,r=t.overflow;return h.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(h.current+=1,{overflow:r,outerHeightStyle:n}):e},w=be.useCallback((function(){var e=y();yn(e)||g((function(t){return b(t,e)}))}),[y]);be.useEffect((function(){var e,t=(0,hn.Z)((function(){h.current=0,l.current&&function(){var e=y();yn(e)||(0,ln.flushSync)((function(){g((function(t){return b(t,e)}))}))}()})),n=(0,dn.Z)(l.current);return n.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(l.current),function(){t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}})),(0,pn.Z)((function(){w()})),be.useEffect((function(){h.current=0}),[s]);return(0,Nt.jsxs)(be.Fragment,{children:[(0,Nt.jsx)("textarea",(0,we.Z)({value:s,onChange:function(e){h.current=0,u||w(),n&&n(e)},ref:f,rows:o,style:(0,we.Z)({height:v.outerHeightStyle,overflow:v.overflow?"hidden":null},a)},c)),(0,Nt.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:(0,we.Z)({},gn,a,{padding:0})})]})})),wn=bn;var xn=function(e){return"string"===typeof e};function _n(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}function kn(){return be.useContext(Xt)}var Sn=n(42071),En=n(40162),Cn=n(52554);function Mn(e){var t=e.styles,n=e.defaultTheme,r=void 0===n?{}:n,i="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,Nt.jsx)(Cn.xB,{styles:i})}var An=n(36482);var Rn=function(e){return(0,Nt.jsx)(Mn,(0,we.Z)({},e,{defaultTheme:An.Z}))};function Tn(e){return(0,Jt.Z)("MuiInputBase",e)}var Pn=(0,Qt.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),In=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],On=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat((0,Kt.Z)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},jn=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Zn=(0,Vt.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:On})((function(e){var t=e.theme,n=e.ownerState;return(0,we.Z)({},t.typography.body1,(0,s.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(Pn.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,we.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),Ln=(0,Vt.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:jn})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode,o=(0,we.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),a={opacity:"0 !important"},c=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5};return(0,we.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,s.Z)(t,"label[data-shrink=false] + .".concat(Pn.formControl," &"),{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":c,"&:focus::-moz-placeholder":c,"&:focus:-ms-input-placeholder":c,"&:focus::-ms-input-placeholder":c}),(0,s.Z)(t,"&.".concat(Pn.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,s.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),Bn=(0,Nt.jsx)(Rn,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Nn=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiInputBase"}),r=n["aria-describedby"],i=n.autoComplete,o=n.autoFocus,a=n.className,s=n.components,c=void 0===s?{}:s,u=n.componentsProps,l=void 0===u?{}:u,f=n.defaultValue,d=n.disabled,h=n.disableInjectingGlobalStyles,p=n.endAdornment,m=n.fullWidth,v=void 0!==m&&m,g=n.id,y=n.inputComponent,b=void 0===y?"input":y,w=n.inputProps,x=void 0===w?{}:w,_=n.inputRef,k=n.maxRows,S=n.minRows,E=n.multiline,C=void 0!==E&&E,M=n.name,A=n.onBlur,R=n.onChange,T=n.onClick,P=n.onFocus,I=n.onKeyDown,O=n.onKeyUp,j=n.placeholder,Z=n.readOnly,L=n.renderSuffix,B=n.rows,N=n.startAdornment,D=n.type,F=void 0===D?"text":D,z=n.value,U=(0,It.Z)(n,In),H=null!=x.value?x.value:z,q=be.useRef(null!=H).current,W=be.useRef(),V=be.useCallback((function(e){0}),[]),G=(0,Sn.Z)(x.ref,V),$=(0,Sn.Z)(_,G),K=(0,Sn.Z)(W,$),Y=be.useState(!1),X=(0,ye.Z)(Y,2),J=X[0],Q=X[1],ee=kn();var te=_n({props:n,muiFormControl:ee,states:["color","disabled","error","hiddenLabel","size","required","filled"]});te.focused=ee?ee.focused:J,be.useEffect((function(){!ee&&d&&J&&(Q(!1),A&&A())}),[ee,d,J,A]);var ne=ee&&ee.onFilled,re=ee&&ee.onEmpty,ie=be.useCallback((function(e){$t(e)?ne&&ne():re&&re()}),[ne,re]);(0,En.Z)((function(){q&&ie({value:H})}),[H,ie,q]);be.useEffect((function(){ie(W.current)}),[]);var oe=b,ae=x;C&&"input"===oe&&(ae=B?(0,we.Z)({type:void 0,minRows:B,maxRows:B},ae):(0,we.Z)({type:void 0,maxRows:k,minRows:S},ae),oe=wn);be.useEffect((function(){ee&&ee.setAdornedStart(Boolean(N))}),[ee,N]);var se=(0,we.Z)({},n,{color:te.color||"primary",disabled:te.disabled,endAdornment:p,error:te.error,focused:te.focused,formControl:ee,fullWidth:v,hiddenLabel:te.hiddenLabel,multiline:C,size:te.size,startAdornment:N,type:F}),ce=function(e){var t=e.classes,n=e.color,r=e.disabled,i=e.error,o=e.endAdornment,a=e.focused,s=e.formControl,c=e.fullWidth,u=e.hiddenLabel,l=e.multiline,f=e.readOnly,d=e.size,h=e.startAdornment,p=e.type,m={root:["root","color".concat((0,Kt.Z)(n)),r&&"disabled",i&&"error",c&&"fullWidth",a&&"focused",s&&"formControl","small"===d&&"sizeSmall",l&&"multiline",h&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled","search"===p&&"inputTypeSearch",l&&"inputMultiline","small"===d&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",o&&"inputAdornedEnd",f&&"readOnly"]};return(0,qt.Z)(m,Tn,t)}(se),ue=c.Root||Zn,le=l.root||{},fe=c.Input||Ln;return ae=(0,we.Z)({},ae,l.input),(0,Nt.jsxs)(be.Fragment,{children:[!h&&Bn,(0,Nt.jsxs)(ue,(0,we.Z)({},le,!xn(ue)&&{ownerState:(0,we.Z)({},se,le.ownerState)},{ref:t,onClick:function(e){W.current&&e.currentTarget===e.target&&W.current.focus(),T&&T(e)}},U,{className:(0,Ot.Z)(ce.root,le.className,a),children:[N,(0,Nt.jsx)(Xt.Provider,{value:null,children:(0,Nt.jsx)(fe,(0,we.Z)({ownerState:se,"aria-invalid":te.error,"aria-describedby":r,autoComplete:i,autoFocus:o,defaultValue:f,disabled:te.disabled,id:g,onAnimationStart:function(e){ie("mui-auto-fill-cancel"===e.animationName?W.current:{value:"x"})},name:M,placeholder:j,readOnly:Z,required:te.required,rows:B,value:H,onKeyDown:I,onKeyUp:O,type:F},ae,!xn(fe)&&{as:oe,ownerState:(0,we.Z)({},se,ae.ownerState)},{ref:K,className:(0,Ot.Z)(ce.input,ae.className),onBlur:function(e){A&&A(e),x.onBlur&&x.onBlur(e),ee&&ee.onBlur?ee.onBlur(e):Q(!1)},onChange:function(e){if(!q){var t=e.target||W.current;if(null==t)throw new Error((0,un.Z)(1));ie({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));function ir(e){return(0,Jt.Z)("MuiOutlinedInput",e)}var or=(0,we.Z)({},Pn,(0,Qt.Z)("MuiOutlinedInput",["root","notchedOutline","input"])),ar=["components","fullWidth","inputComponent","label","multiline","notched","type"],sr=(0,Vt.ZP)(Zn,{shouldForwardProp:function(e){return(0,Vt.FO)(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:On})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,we.Z)((t={position:"relative",borderRadius:(n.vars||n).shape.borderRadius},(0,s.Z)(t,"&:hover .".concat(or.notchedOutline),{borderColor:(n.vars||n).palette.text.primary}),(0,s.Z)(t,"@media (hover: none)",(0,s.Z)({},"&:hover .".concat(or.notchedOutline),{borderColor:n.vars?"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.23)"):i})),(0,s.Z)(t,"&.".concat(or.focused," .").concat(or.notchedOutline),{borderColor:(n.vars||n).palette[r.color].main,borderWidth:2}),(0,s.Z)(t,"&.".concat(or.error," .").concat(or.notchedOutline),{borderColor:(n.vars||n).palette.error.main}),(0,s.Z)(t,"&.".concat(or.disabled," .").concat(or.notchedOutline),{borderColor:(n.vars||n).palette.action.disabled}),t),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&(0,we.Z)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),cr=(0,Vt.ZP)((function(e){var t=e.className,n=e.label,r=e.notched,i=(0,It.Z)(e,tr),o=null!=n&&""!==n,a=(0,we.Z)({},e,{notched:r,withLabel:o});return(0,Nt.jsx)(nr,(0,we.Z)({"aria-hidden":!0,className:t,ownerState:a},i,{children:(0,Nt.jsx)(rr,{ownerState:a,children:o?(0,Nt.jsx)("span",{children:n}):Qn||(Qn=(0,Nt.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){var t=e.theme,n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),ur=(0,Vt.ZP)(Ln,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:jn})((function(e){var t=e.theme,n=e.ownerState;return(0,we.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&(0,s.Z)({"&:-webkit-autofill":{borderRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),lr=be.forwardRef((function(e,t){var n,r=(0,Wt.Z)({props:e,name:"MuiOutlinedInput"}),i=r.components,o=void 0===i?{}:i,a=r.fullWidth,s=void 0!==a&&a,c=r.inputComponent,u=void 0===c?"input":c,l=r.label,f=r.multiline,d=void 0!==f&&f,h=r.notched,p=r.type,m=void 0===p?"text":p,v=(0,It.Z)(r,ar),g=function(e){var t=e.classes,n=(0,qt.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},ir,t);return(0,we.Z)({},t,n)}(r),y=kn(),b=_n({props:r,muiFormControl:y,states:["required"]}),w=(0,we.Z)({},r,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:y,fullWidth:s,hiddenLabel:b.hiddenLabel,multiline:d,size:b.size,type:m});return(0,Nt.jsx)(Dn,(0,we.Z)({components:(0,we.Z)({Root:sr,Input:ur},o),renderSuffix:function(e){return(0,Nt.jsx)(cr,{ownerState:w,className:g.notchedOutline,label:null!=l&&""!==l&&b.required?n||(n=(0,Nt.jsxs)(be.Fragment,{children:[l,"\xa0","*"]})):l,notched:"undefined"!==typeof h?h:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:s,inputComponent:u,multiline:d,ref:t,type:m},v,{classes:(0,we.Z)({},g,{notchedOutline:null})}))}));lr.muiName="Input";var fr=lr;function dr(e){return(0,Jt.Z)("MuiFormLabel",e)}var hr=(0,Qt.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),pr=["children","className","color","component","disabled","error","filled","focused","required"],mr=(0,Vt.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return(0,we.Z)({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,we.Z)({color:(n.vars||n).palette.text.secondary},n.typography.body1,(t={lineHeight:"1.4375em",padding:0,position:"relative"},(0,s.Z)(t,"&.".concat(hr.focused),{color:(n.vars||n).palette[r.color].main}),(0,s.Z)(t,"&.".concat(hr.disabled),{color:(n.vars||n).palette.text.disabled}),(0,s.Z)(t,"&.".concat(hr.error),{color:(n.vars||n).palette.error.main}),t))})),vr=(0,Vt.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return(0,s.Z)({},"&.".concat(hr.error),{color:(t.vars||t).palette.error.main})})),gr=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiFormLabel"}),r=n.children,i=n.className,o=n.component,a=void 0===o?"label":o,s=(0,It.Z)(n,pr),c=_n({props:n,muiFormControl:kn(),states:["color","required","focused","disabled","error","filled"]}),u=(0,we.Z)({},n,{color:c.color||"primary",component:a,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),l=function(e){var t=e.classes,n=e.color,r=e.focused,i=e.disabled,o=e.error,a=e.filled,s=e.required,c={root:["root","color".concat((0,Kt.Z)(n)),i&&"disabled",o&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]};return(0,qt.Z)(c,dr,t)}(u);return(0,Nt.jsxs)(mr,(0,we.Z)({as:a,ownerState:u,className:(0,Ot.Z)(l.root,i),ref:t},s,{children:[r,c.required&&(0,Nt.jsxs)(vr,{ownerState:u,"aria-hidden":!0,className:l.asterisk,children:["\u2009","*"]})]}))})),yr=gr;function br(e){return(0,Jt.Z)("MuiInputLabel",e)}(0,Qt.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var wr=["disableAnimation","margin","shrink","variant"],xr=(0,Vt.ZP)(yr,{shouldForwardProp:function(e){return(0,Vt.FO)(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,s.Z)({},"& .".concat(hr.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,we.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,we.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,we.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,we.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))})),_r=be.forwardRef((function(e,t){var n=(0,Wt.Z)({name:"MuiInputLabel",props:e}),r=n.disableAnimation,i=void 0!==r&&r,o=n.shrink,a=(0,It.Z)(n,wr),s=kn(),c=o;"undefined"===typeof c&&s&&(c=s.filled||s.focused||s.adornedStart);var u=_n({props:n,muiFormControl:s,states:["size","variant","required"]}),l=(0,we.Z)({},n,{disableAnimation:i,formControl:s,shrink:c,size:u.size,variant:u.variant,required:u.required}),f=function(e){var t=e.classes,n=e.formControl,r=e.size,i=e.shrink,o={root:["root",n&&"formControl",!e.disableAnimation&&"animated",i&&"shrink","small"===r&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},a=(0,qt.Z)(o,br,t);return(0,we.Z)({},t,a)}(l);return(0,Nt.jsx)(xr,(0,we.Z)({"data-shrink":c,ownerState:l,ref:t},a,{classes:f}))}));function kr(e){return(0,Jt.Z)("MuiFormHelperText",e)}var Sr,Er=(0,Qt.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Cr=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Mr=(0,Vt.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.size&&t["size".concat((0,Kt.Z)(n.size))],n.contained&&t.contained,n.filled&&t.filled]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,we.Z)({color:(n.vars||n).palette.text.secondary},n.typography.caption,(t={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},(0,s.Z)(t,"&.".concat(Er.disabled),{color:(n.vars||n).palette.text.disabled}),(0,s.Z)(t,"&.".concat(Er.error),{color:(n.vars||n).palette.error.main}),t),"small"===r.size&&{marginTop:4},r.contained&&{marginLeft:14,marginRight:14})})),Ar=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiFormHelperText"}),r=n.children,i=n.className,o=n.component,a=void 0===o?"p":o,s=(0,It.Z)(n,Cr),c=_n({props:n,muiFormControl:kn(),states:["variant","size","disabled","error","filled","focused","required"]}),u=(0,we.Z)({},n,{component:a,contained:"filled"===c.variant||"outlined"===c.variant,variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),l=function(e){var t=e.classes,n=e.contained,r=e.size,i=e.disabled,o=e.error,a=e.filled,s=e.focused,c=e.required,u={root:["root",i&&"disabled",o&&"error",r&&"size".concat((0,Kt.Z)(r)),n&&"contained",s&&"focused",a&&"filled",c&&"required"]};return(0,qt.Z)(u,kr,t)}(u);return(0,Nt.jsx)(Mr,(0,we.Z)({as:a,ownerState:u,className:(0,Ot.Z)(l.root,i),ref:t},s,{children:" "===r?Sr||(Sr=(0,Nt.jsx)("span",{className:"notranslate",children:"\u200b"})):r}))})),Rr=(n(78457),n(98301)),Tr=n(66199);function Pr(e){return(0,Jt.Z)("MuiList",e)}(0,Qt.Z)("MuiList",["root","padding","dense","subheader"]);var Ir=["children","className","component","dense","disablePadding","subheader"],Or=(0,Vt.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,we.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),jr=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiList"}),r=n.children,i=n.className,o=n.component,a=void 0===o?"ul":o,s=n.dense,c=void 0!==s&&s,u=n.disablePadding,l=void 0!==u&&u,f=n.subheader,d=(0,It.Z)(n,Ir),h=be.useMemo((function(){return{dense:c}}),[c]),p=(0,we.Z)({},n,{component:a,dense:c,disablePadding:l}),m=function(e){var t=e.classes,n={root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]};return(0,qt.Z)(n,Pr,t)}(p);return(0,Nt.jsx)(Tr.Z.Provider,{value:h,children:(0,Nt.jsxs)(Or,(0,we.Z)({as:a,className:(0,Ot.Z)(m.root,i),ref:t,ownerState:p},d,{children:[f,r]}))})}));function Zr(e){var t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var Lr=Zr,Br=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Nr(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Dr(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Fr(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function zr(e,t,n,r,i,o){for(var a=!1,s=i(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return!1;a=!0}var c=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Fr(s,o)&&!c)return s.focus(),!0;s=i(e,s,n)}return!1}var Ur=be.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,i=void 0!==r&&r,o=e.autoFocusItem,a=void 0!==o&&o,s=e.children,c=e.className,u=e.disabledItemsFocusable,l=void 0!==u&&u,f=e.disableListWrap,d=void 0!==f&&f,h=e.onKeyDown,p=e.variant,m=void 0===p?"selectedMenu":p,v=(0,It.Z)(e,Br),g=be.useRef(null),y=be.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,En.Z)((function(){i&&g.current.focus()}),[i]),be.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!g.current.style.width;if(e.clientHeight0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);var s=r&&!i.repeating&&Fr(r,i);i.previousKeyMatched&&(s||zr(t,r,!1,l,Nr,i))?e.preventDefault():i.previousKeyMatched=!1}h&&h(e)},tabIndex:i?0:-1},v,{children:x}))})),Hr=Ur,qr=n(12065);function Wr(e){return(0,Jt.Z)("MuiPaper",e)}(0,Qt.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var Vr=["className","component","elevation","square","variant"],Gr=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)},$r=(0,Vt.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,we.Z)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!r.square&&{borderRadius:n.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===r.variant&&(0,we.Z)({boxShadow:(n.vars||n).shadows[r.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,qr.Fq)("#fff",Gr(r.elevation)),", ").concat((0,qr.Fq)("#fff",Gr(r.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[r.elevation]}))})),Kr=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiPaper"}),r=n.className,i=n.component,o=void 0===i?"div":i,a=n.elevation,s=void 0===a?1:a,c=n.square,u=void 0!==c&&c,l=n.variant,f=void 0===l?"elevation":l,d=(0,It.Z)(n,Vr),h=(0,we.Z)({},n,{component:o,elevation:s,square:u,variant:f}),p=function(e){var t=e.square,n=e.elevation,r=e.variant,i=e.classes,o={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,qt.Z)(o,Wr,i)}(h);return(0,Nt.jsx)($r,(0,we.Z)({as:o,ownerState:h,className:(0,Ot.Z)(p.root,r),ref:t},d))})),Yr=n(83199),Xr=n(17602),Jr=n(94578),Qr=!1,ei=n(95545),ti="unmounted",ni="exited",ri="entering",ii="entered",oi="exiting",ai=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=ni,r.appearStatus=ri):i=ii:i=t.unmountOnExit||t.mountOnEnter?ti:ni,r.state={status:i},r.nextCallback=null,r}(0,Jr.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===ti?{status:ni}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==ri&&n!==ii&&(t=ri):n!==ri&&n!==ii||(t=oi)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ri){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:ln.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ni&&this.setState({status:ti})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[ln.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),c=r?s.appear:s.enter;!e&&!n||Qr?this.safeSetState({status:ii},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:ri},(function(){t.props.onEntering(o,a),t.onTransitionEnd(c,(function(){t.safeSetState({status:ii},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:ln.findDOMNode(this);t&&!Qr?(this.props.onExit(r),this.safeSetState({status:oi},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:ni},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:ni},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:ln.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===ti)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,It.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return be.createElement(ei.Z.Provider,{value:null},"function"===typeof n?n(e,r):be.cloneElement(be.Children.only(n),r))},t}(be.Component);function si(){}ai.contextType=ei.Z,ai.propTypes={},ai.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:si,onEntering:si,onEntered:si,onExit:si,onExiting:si,onExited:si},ai.UNMOUNTED=ti,ai.EXITED=ni,ai.ENTERING=ri,ai.ENTERED=ii,ai.EXITING=oi;var ci=ai;function ui(){return(0,Bt.Z)(An.Z)}var li=function(e){return e.scrollTop};function fi(e,t){var n,r,i=e.timeout,o=e.easing,a=e.style,s=void 0===a?{}:a;return{duration:null!=(n=s.transitionDuration)?n:"number"===typeof i?i:i[t.mode]||0,easing:null!=(r=s.transitionTimingFunction)?r:"object"===typeof o?o[t.mode]:o,delay:s.transitionDelay}}var di=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function hi(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var pi={entering:{opacity:1,transform:hi(1)},entered:{opacity:1,transform:"none"}},mi="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),vi=be.forwardRef((function(e,t){var n=e.addEndListener,r=e.appear,i=void 0===r||r,o=e.children,a=e.easing,s=e.in,c=e.onEnter,u=e.onEntered,l=e.onEntering,f=e.onExit,d=e.onExited,h=e.onExiting,p=e.style,m=e.timeout,v=void 0===m?"auto":m,g=e.TransitionComponent,y=void 0===g?ci:g,b=(0,It.Z)(e,di),w=be.useRef(),x=be.useRef(),_=ui(),k=be.useRef(null),S=(0,Sn.Z)(o.ref,t),E=(0,Sn.Z)(k,S),C=function(e){return function(t){if(e){var n=k.current;void 0===t?e(n):e(n,t)}}},M=C(l),A=C((function(e,t){li(e);var n,r=fi({style:p,timeout:v,easing:a},{mode:"enter"}),i=r.duration,o=r.delay,s=r.easing;"auto"===v?(n=_.transitions.getAutoHeightDuration(e.clientHeight),x.current=n):n=i,e.style.transition=[_.transitions.create("opacity",{duration:n,delay:o}),_.transitions.create("transform",{duration:mi?n:.666*n,delay:o,easing:s})].join(","),c&&c(e,t)})),R=C(u),T=C(h),P=C((function(e){var t,n=fi({style:p,timeout:v,easing:a},{mode:"exit"}),r=n.duration,i=n.delay,o=n.easing;"auto"===v?(t=_.transitions.getAutoHeightDuration(e.clientHeight),x.current=t):t=r,e.style.transition=[_.transitions.create("opacity",{duration:t,delay:i}),_.transitions.create("transform",{duration:mi?t:.666*t,delay:mi?i:i||.333*t,easing:o})].join(","),e.style.opacity=0,e.style.transform=hi(.75),f&&f(e)})),I=C(d);return be.useEffect((function(){return function(){clearTimeout(w.current)}}),[]),(0,Nt.jsx)(y,(0,we.Z)({appear:i,in:s,nodeRef:k,onEnter:A,onEntered:R,onEntering:M,onExit:P,onExited:I,onExiting:T,addEndListener:function(e){"auto"===v&&(w.current=setTimeout(e,x.current||0)),n&&n(k.current,e)},timeout:"auto"===v?null:v},b,{children:function(e,t){return be.cloneElement(o,(0,we.Z)({style:(0,we.Z)({opacity:0,transform:hi(.75),visibility:"exited"!==e||s?void 0:"hidden"},pi[e],p,o.props.style),ref:E},t))}}))}));vi.muiSupportAuto=!0;var gi=vi,yi=n(99723),bi=n(58956),wi=n(78949),xi=n(62971);var _i=be.forwardRef((function(e,t){var n=e.children,r=e.container,i=e.disablePortal,o=void 0!==i&&i,a=be.useState(null),s=(0,ye.Z)(a,2),c=s[0],u=s[1],l=(0,fn.Z)(be.isValidElement(n)?n.ref:null,t);return(0,pn.Z)((function(){o||u(function(e){return"function"===typeof e?e():e}(r)||document.body)}),[r,o]),(0,pn.Z)((function(){if(c&&!o)return(0,xi.Z)(t,c),function(){(0,xi.Z)(t,null)}}),[t,c,o]),o?be.isValidElement(n)?be.cloneElement(n,{ref:l}):n:c?ln.createPortal(n,c):c}));function ki(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t){for(var n=0;n3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[t,n].concat((0,I.Z)(r));[].forEach.call(e.children,(function(e){var t=-1===o.indexOf(e),n=!function(e){var t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Ci(e,i)}))}function Ri(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function Ti(e,t){var n=[],r=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,yi.Z)(e);return t.body===e?(0,dn.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){var i=Zr((0,yi.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(Mi(r)+i,"px");var o=(0,yi.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(o,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(Mi(e)+i,"px")}))}var a;if(r.parentNode instanceof DocumentFragment)a=(0,yi.Z)(r).body;else{var s=r.parentElement,c=(0,dn.Z)(r);a="HTML"===(null==s?void 0:s.nodeName)&&"scroll"===c.getComputedStyle(s).overflowY?s:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,r=e.property;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var Pi=function(){function e(){ki(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return Ei(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Ci(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Ai(t,e.mount,e.modalRef,r,!0);var i=Ri(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}},{key:"mount",value:function(e,t){var n=Ri(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=Ti(r,t))}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;var r=Ri(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&Ci(e.modalRef,t),Ai(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{var o=i.modals[i.modals.length-1];o.modalRef&&Ci(o.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),Ii=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Oi(e){var t=[],n=[];return Array.from(e.querySelectorAll(Ii)).forEach((function(e,r){var i=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==i&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===i?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function ji(){return!0}var Zi=function(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,o=void 0!==i&&i,a=e.disableRestoreFocus,s=void 0!==a&&a,c=e.getTabbable,u=void 0===c?Oi:c,l=e.isEnabled,f=void 0===l?ji:l,d=e.open,h=be.useRef(),p=be.useRef(null),m=be.useRef(null),v=be.useRef(null),g=be.useRef(null),y=be.useRef(!1),b=be.useRef(null),w=(0,fn.Z)(t.ref,b),x=be.useRef(null);be.useEffect((function(){d&&b.current&&(y.current=!r)}),[r,d]),be.useEffect((function(){if(d&&b.current){var e=(0,yi.Z)(b.current);return b.current.contains(e.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex",-1),y.current&&b.current.focus()),function(){s||(v.current&&v.current.focus&&(h.current=!0,v.current.focus()),v.current=null)}}}),[d]),be.useEffect((function(){if(d&&b.current){var e=(0,yi.Z)(b.current),t=function(t){var n=b.current;if(null!==n)if(e.hasFocus()&&!o&&f()&&!h.current){if(!n.contains(e.activeElement)){if(t&&g.current!==t.target||e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!y.current)return;var r=[];if(e.activeElement!==p.current&&e.activeElement!==m.current||(r=u(b.current)),r.length>0){var i,a,s=Boolean((null==(i=x.current)?void 0:i.shiftKey)&&"Tab"===(null==(a=x.current)?void 0:a.key)),c=r[0],l=r[r.length-1];s?l.focus():c.focus()}else n.focus()}}else h.current=!1},n=function(t){x.current=t,!o&&f()&&"Tab"===t.key&&e.activeElement===b.current&&t.shiftKey&&(h.current=!0,m.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);var r=setInterval((function(){"BODY"===e.activeElement.tagName&&t()}),50);return function(){clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}}),[r,o,s,f,d,u]);var _=function(e){null===v.current&&(v.current=e.relatedTarget),y.current=!0};return(0,Nt.jsxs)(be.Fragment,{children:[(0,Nt.jsx)("div",{tabIndex:0,onFocus:_,ref:p,"data-test":"sentinelStart"}),be.cloneElement(t,{ref:w,onFocus:function(e){null===v.current&&(v.current=e.relatedTarget),y.current=!0,g.current=e.target;var n=t.props.onFocus;n&&n(e)}}),(0,Nt.jsx)("div",{tabIndex:0,onFocus:_,ref:m,"data-test":"sentinelEnd"})]})};function Li(e){return(0,Jt.Z)("MuiModal",e)}(0,Qt.Z)("MuiModal",["root","hidden"]);function Bi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return xn(e)?t:(0,we.Z)({},t,{ownerState:(0,we.Z)({},t.ownerState,n)})}function Ni(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"===typeof e[t])})).forEach((function(n){t[n]=e[n]})),t}function Di(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,i=e.externalForwardedProps,o=e.className;if(!t){var a=(0,Ot.Z)(null==i?void 0:i.className,null==r?void 0:r.className,o,null==n?void 0:n.className),s=(0,we.Z)({},null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),c=(0,we.Z)({},n,i,r);return a.length>0&&(c.className=a),Object.keys(s).length>0&&(c.style=s),{props:c,internalRef:void 0}}var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}((0,we.Z)({},i,r)),l=Ni(r),f=Ni(i),d=t(u),h=(0,Ot.Z)(null==d?void 0:d.className,null==n?void 0:n.className,o,null==i?void 0:i.className,null==r?void 0:r.className),p=(0,we.Z)({},null==d?void 0:d.style,null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),m=(0,we.Z)({},d,n,f,l);return h.length>0&&(m.className=h),Object.keys(p).length>0&&(m.style=p),{props:m,internalRef:d.ref}}function Fi(e,t){return"function"===typeof e?e(t):e}var zi=["elementType","externalSlotProps","ownerState"];function Ui(e){var t,n=e.elementType,r=e.externalSlotProps,i=e.ownerState,o=(0,It.Z)(e,zi),a=Fi(r,i),s=Di((0,we.Z)({},o,{externalSlotProps:a})),c=s.props,u=s.internalRef,l=(0,fn.Z)(u,(0,fn.Z)(null==a?void 0:a.ref,null==(t=e.additionalProps)?void 0:t.ref));return Bi(n,(0,we.Z)({},c,{ref:l}),i)}var Hi=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];var qi=new Pi,Wi=be.forwardRef((function(e,t){var n,r=e.children,i=e.classes,o=e.closeAfterTransition,a=void 0!==o&&o,s=e.component,c=void 0===s?"div":s,u=e.components,l=void 0===u?{}:u,f=e.componentsProps,d=void 0===f?{}:f,h=e.container,p=e.disableAutoFocus,m=void 0!==p&&p,v=e.disableEnforceFocus,g=void 0!==v&&v,y=e.disableEscapeKeyDown,b=void 0!==y&&y,w=e.disablePortal,x=void 0!==w&&w,_=e.disableRestoreFocus,k=void 0!==_&&_,S=e.disableScrollLock,E=void 0!==S&&S,C=e.hideBackdrop,M=void 0!==C&&C,A=e.keepMounted,R=void 0!==A&&A,T=e.manager,P=void 0===T?qi:T,I=e.onBackdropClick,O=e.onClose,j=e.onKeyDown,Z=e.open,L=e.onTransitionEnter,B=e.onTransitionExited,N=(0,It.Z)(e,Hi),D=be.useState(!0),F=(0,ye.Z)(D,2),z=F[0],U=F[1],H=be.useRef({}),q=be.useRef(null),W=be.useRef(null),V=(0,fn.Z)(W,t),G=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),$=null==(n=e["aria-hidden"])||n,K=function(){return H.current.modalRef=W.current,H.current.mountNode=q.current,H.current},Y=function(){P.mount(K(),{disableScrollLock:E}),W.current.scrollTop=0},X=(0,bi.Z)((function(){var e=function(e){return"function"===typeof e?e():e}(h)||(0,yi.Z)(q.current).body;P.add(K(),e),W.current&&Y()})),J=be.useCallback((function(){return P.isTopModal(K())}),[P]),Q=(0,bi.Z)((function(e){q.current=e,e&&(Z&&J()?Y():Ci(W.current,$))})),ee=be.useCallback((function(){P.remove(K(),$)}),[P,$]);be.useEffect((function(){return function(){ee()}}),[ee]),be.useEffect((function(){Z?X():G&&a||ee()}),[Z,ee,G,a,X]);var te=(0,we.Z)({},e,{classes:i,closeAfterTransition:a,disableAutoFocus:m,disableEnforceFocus:g,disableEscapeKeyDown:b,disablePortal:x,disableRestoreFocus:k,disableScrollLock:E,exited:z,hideBackdrop:M,keepMounted:R}),ne=function(e){var t=e.open,n=e.exited,r=e.classes,i={root:["root",!t&&n&&"hidden"]};return(0,qt.Z)(i,Li,r)}(te),re={};void 0===r.props.tabIndex&&(re.tabIndex="-1"),G&&(re.onEnter=(0,wi.Z)((function(){U(!1),L&&L()}),r.props.onEnter),re.onExited=(0,wi.Z)((function(){U(!0),B&&B(),a&&ee()}),r.props.onExited));var ie=l.Root||c,oe=Ui({elementType:ie,externalSlotProps:d.root,externalForwardedProps:N,additionalProps:{ref:V,role:"presentation",onKeyDown:function(e){j&&j(e),"Escape"===e.key&&J()&&(b||(e.stopPropagation(),O&&O(e,"escapeKeyDown")))}},className:ne.root,ownerState:te}),ae=l.Backdrop,se=Ui({elementType:ae,externalSlotProps:d.backdrop,additionalProps:{"aria-hidden":!0,onClick:function(e){e.target===e.currentTarget&&(I&&I(e),O&&O(e,"backdropClick"))},open:Z},ownerState:te});return R||Z||G&&!z?(0,Nt.jsx)(_i,{ref:Q,container:h,disablePortal:x,children:(0,Nt.jsxs)(ie,(0,we.Z)({},oe,{children:[!M&&ae?(0,Nt.jsx)(ae,(0,we.Z)({},se)):null,(0,Nt.jsx)(Zi,{disableEnforceFocus:g,disableAutoFocus:m,disableRestoreFocus:k,isEnabled:J,open:Z,children:be.cloneElement(r,re)})]}))}):null})),Vi=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Gi={entering:{opacity:1},entered:{opacity:1}},$i=be.forwardRef((function(e,t){var n=ui(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},i=e.addEndListener,o=e.appear,a=void 0===o||o,s=e.children,c=e.easing,u=e.in,l=e.onEnter,f=e.onEntered,d=e.onEntering,h=e.onExit,p=e.onExited,m=e.onExiting,v=e.style,g=e.timeout,y=void 0===g?r:g,b=e.TransitionComponent,w=void 0===b?ci:b,x=(0,It.Z)(e,Vi),_=be.useRef(null),k=(0,Sn.Z)(s.ref,t),S=(0,Sn.Z)(_,k),E=function(e){return function(t){if(e){var n=_.current;void 0===t?e(n):e(n,t)}}},C=E(d),M=E((function(e,t){li(e);var r=fi({style:v,timeout:y,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),l&&l(e,t)})),A=E(f),R=E(m),T=E((function(e){var t=fi({style:v,timeout:y,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),h&&h(e)})),P=E(p);return(0,Nt.jsx)(w,(0,we.Z)({appear:a,in:u,nodeRef:_,onEnter:M,onEntered:A,onEntering:C,onExit:T,onExited:P,onExiting:R,addEndListener:function(e){i&&i(_.current,e)},timeout:y},x,{children:function(e,t){return be.cloneElement(s,(0,we.Z)({style:(0,we.Z)({opacity:0,visibility:"exited"!==e||u?void 0:"hidden"},Gi[e],v,s.props.style),ref:S},t))}}))})),Ki=$i;function Yi(e){return(0,Jt.Z)("MuiBackdrop",e)}(0,Qt.Z)("MuiBackdrop",["root","invisible"]);var Xi=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],Ji=(0,Vt.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){var t=e.ownerState;return(0,we.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),Qi=be.forwardRef((function(e,t){var n,r,i=(0,Wt.Z)({props:e,name:"MuiBackdrop"}),o=i.children,a=i.component,s=void 0===a?"div":a,c=i.components,u=void 0===c?{}:c,l=i.componentsProps,f=void 0===l?{}:l,d=i.className,h=i.invisible,p=void 0!==h&&h,m=i.open,v=i.transitionDuration,g=i.TransitionComponent,y=void 0===g?Ki:g,b=(0,It.Z)(i,Xi),w=(0,we.Z)({},i,{component:s,invisible:p}),x=function(e){var t=e.classes,n={root:["root",e.invisible&&"invisible"]};return(0,qt.Z)(n,Yi,t)}(w);return(0,Nt.jsx)(y,(0,we.Z)({in:m,timeout:v},b,{children:(0,Nt.jsx)(Ji,{"aria-hidden":!0,as:null!=(n=u.Root)?n:s,className:(0,Ot.Z)(x.root,d),ownerState:(0,we.Z)({},w,null==(r=f.root)?void 0:r.ownerState),classes:x,ref:t,children:o})}))})),eo=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","theme"],to=(0,Vt.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,we.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),no=(0,Vt.ZP)(Qi,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),ro=be.forwardRef((function(e,t){var n,r,i=(0,Wt.Z)({name:"MuiModal",props:e}),o=i.BackdropComponent,a=void 0===o?no:o,s=i.BackdropProps,c=i.closeAfterTransition,u=void 0!==c&&c,l=i.children,f=i.component,d=i.components,h=void 0===d?{}:d,p=i.componentsProps,m=void 0===p?{}:p,v=i.disableAutoFocus,g=void 0!==v&&v,y=i.disableEnforceFocus,b=void 0!==y&&y,w=i.disableEscapeKeyDown,x=void 0!==w&&w,_=i.disablePortal,k=void 0!==_&&_,S=i.disableRestoreFocus,E=void 0!==S&&S,C=i.disableScrollLock,M=void 0!==C&&C,A=i.hideBackdrop,R=void 0!==A&&A,T=i.keepMounted,P=void 0!==T&&T,I=i.theme,O=(0,It.Z)(i,eo),j=be.useState(!0),Z=(0,ye.Z)(j,2),L=Z[0],B=Z[1],N={closeAfterTransition:u,disableAutoFocus:g,disableEnforceFocus:b,disableEscapeKeyDown:x,disablePortal:k,disableRestoreFocus:E,disableScrollLock:M,hideBackdrop:R,keepMounted:P},D=(0,we.Z)({},i,N,{exited:L}),F=function(e){return e.classes}(D),z=null!=(n=null!=(r=h.Root)?r:f)?n:to;return(0,Nt.jsx)(Wi,(0,we.Z)({components:(0,we.Z)({Root:z,Backdrop:a},h),componentsProps:{root:function(){return(0,we.Z)({},Fi(m.root,D),!xn(z)&&{as:f,theme:I})},backdrop:function(){return(0,we.Z)({},s,Fi(m.backdrop,D))}},onTransitionEnter:function(){return B(!1)},onTransitionExited:function(){return B(!0)},ref:t},O,{classes:F},N,{children:l}))})),io=ro;function oo(e){return(0,Jt.Z)("MuiPopover",e)}(0,Qt.Z)("MuiPopover",["root","paper"]);var ao=["onEntering"],so=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function co(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function uo(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function lo(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function fo(e){return"function"===typeof e?e():e}var ho=(0,Vt.ZP)(io,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),po=(0,Vt.ZP)(Kr,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),mo=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiPopover"}),r=n.action,i=n.anchorEl,o=n.anchorOrigin,a=void 0===o?{vertical:"top",horizontal:"left"}:o,s=n.anchorPosition,c=n.anchorReference,u=void 0===c?"anchorEl":c,l=n.children,f=n.className,d=n.container,h=n.elevation,p=void 0===h?8:h,m=n.marginThreshold,v=void 0===m?16:m,g=n.open,y=n.PaperProps,b=void 0===y?{}:y,w=n.transformOrigin,x=void 0===w?{vertical:"top",horizontal:"left"}:w,_=n.TransitionComponent,k=void 0===_?gi:_,S=n.transitionDuration,E=void 0===S?"auto":S,C=n.TransitionProps,M=(C=void 0===C?{}:C).onEntering,A=(0,It.Z)(n.TransitionProps,ao),R=(0,It.Z)(n,so),T=be.useRef(),P=(0,Sn.Z)(T,b.ref),I=(0,we.Z)({},n,{anchorOrigin:a,anchorReference:u,elevation:p,marginThreshold:v,PaperProps:b,transformOrigin:x,TransitionComponent:k,transitionDuration:E,TransitionProps:A}),O=function(e){var t=e.classes;return(0,qt.Z)({root:["root"],paper:["paper"]},oo,t)}(I),j=be.useCallback((function(){if("anchorPosition"===u)return s;var e=fo(i),t=(e&&1===e.nodeType?e:(0,Rr.Z)(T.current).body).getBoundingClientRect();return{top:t.top+co(t,a.vertical),left:t.left+uo(t,a.horizontal)}}),[i,a.horizontal,a.vertical,s,u]),Z=be.useCallback((function(e){return{vertical:co(e,x.vertical),horizontal:uo(e,x.horizontal)}}),[x.horizontal,x.vertical]),L=be.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=Z(t);if("none"===u)return{top:null,left:null,transformOrigin:lo(n)};var r=j(),o=r.top-n.vertical,a=r.left-n.horizontal,s=o+t.height,c=a+t.width,l=(0,Xr.Z)(fo(i)),f=l.innerHeight-v,d=l.innerWidth-v;if(of){var p=s-f;o-=p,n.vertical+=p}if(ad){var g=c-d;a-=g,n.horizontal+=g}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:lo(n)}}),[i,u,j,Z,v]),B=be.useCallback((function(){var e=T.current;if(e){var t=L(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[L]);be.useEffect((function(){g&&B()})),be.useImperativeHandle(r,(function(){return g?{updatePosition:function(){B()}}:null}),[g,B]),be.useEffect((function(){if(g){var e=(0,Yr.Z)((function(){B()})),t=(0,Xr.Z)(i);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[i,g,B]);var N=E;"auto"!==E||k.muiSupportAuto||(N=void 0);var D=d||(i?(0,Rr.Z)(fo(i)).body:void 0);return(0,Nt.jsx)(ho,(0,we.Z)({BackdropProps:{invisible:!0},className:(0,Ot.Z)(O.root,f),container:D,open:g,ref:t,ownerState:I},R,{children:(0,Nt.jsx)(k,(0,we.Z)({appear:!0,in:g,onEntering:function(e,t){M&&M(e,t),B()},timeout:N},A,{children:(0,Nt.jsx)(po,(0,we.Z)({elevation:p},b,{ref:P,className:(0,Ot.Z)(O.paper,b.className),children:l}))}))}))})),vo=mo;function go(e){return(0,Jt.Z)("MuiMenu",e)}(0,Qt.Z)("MuiMenu",["root","paper","list"]);var yo=["onEntering"],bo=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],wo={vertical:"top",horizontal:"right"},xo={vertical:"top",horizontal:"left"},_o=(0,Vt.ZP)(vo,{shouldForwardProp:function(e){return(0,Vt.FO)(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),ko=(0,Vt.ZP)(Kr,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),So=(0,Vt.ZP)(Hr,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),Eo=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiMenu"}),r=n.autoFocus,i=void 0===r||r,o=n.children,a=n.disableAutoFocusItem,s=void 0!==a&&a,c=n.MenuListProps,u=void 0===c?{}:c,l=n.onClose,f=n.open,d=n.PaperProps,h=void 0===d?{}:d,p=n.PopoverClasses,m=n.transitionDuration,v=void 0===m?"auto":m,g=n.TransitionProps,y=(g=void 0===g?{}:g).onEntering,b=n.variant,w=void 0===b?"selectedMenu":b,x=(0,It.Z)(n.TransitionProps,yo),_=(0,It.Z)(n,bo),k=ui(),S="rtl"===k.direction,E=(0,we.Z)({},n,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:u,onEntering:y,PaperProps:h,transitionDuration:v,TransitionProps:x,variant:w}),C=function(e){var t=e.classes;return(0,qt.Z)({root:["root"],paper:["paper"],list:["list"]},go,t)}(E),M=i&&!s&&f,A=be.useRef(null),R=-1;return be.Children.map(o,(function(e,t){be.isValidElement(e)&&(e.props.disabled||("selectedMenu"===w&&e.props.selected||-1===R)&&(R=t))})),(0,Nt.jsx)(_o,(0,we.Z)({classes:p,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?wo:xo,PaperProps:(0,we.Z)({component:ko},h,{classes:(0,we.Z)({},h.classes,{root:C.paper})}),className:C.root,open:f,ref:t,transitionDuration:v,TransitionProps:(0,we.Z)({onEntering:function(e,t){A.current&&A.current.adjustStyleForScrollbar(e,k),y&&y(e,t)}},x),ownerState:E},_,{children:(0,Nt.jsx)(So,(0,we.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),l&&l(e,"tabKeyDown"))},actions:A,autoFocus:i&&(-1===R||s),autoFocusItem:M,variant:w},u,{className:(0,Ot.Z)(C.list,u.className),children:o}))}))})),Co=Eo;function Mo(e){return(0,Jt.Z)("MuiNativeSelect",e)}var Ao=(0,Qt.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),Ro=["className","disabled","IconComponent","inputRef","variant"],To=function(e){var t,n=e.ownerState,r=e.theme;return(0,we.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"}},(0,s.Z)(t,"&.".concat(Ao.disabled),{cursor:"default"}),(0,s.Z)(t,"&[multiple]",{height:"auto"}),(0,s.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:r.palette.background.paper}),(0,s.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:r.shape.borderRadius,"&:focus":{borderRadius:r.shape.borderRadius},"&&&":{paddingRight:32}})},Po=(0,Vt.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Vt.FO,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],(0,s.Z)({},"&.".concat(Ao.multiple),t.multiple)]}})(To),Io=function(e){var t=e.ownerState,n=e.theme;return(0,we.Z)((0,s.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:n.palette.action.active},"&.".concat(Ao.disabled),{color:n.palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},Oo=(0,Vt.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,Kt.Z)(n.variant))],n.open&&t.iconOpen]}})(Io),jo=be.forwardRef((function(e,t){var n=e.className,r=e.disabled,i=e.IconComponent,o=e.inputRef,a=e.variant,s=void 0===a?"standard":a,c=(0,It.Z)(e,Ro),u=(0,we.Z)({},e,{disabled:r,variant:s}),l=function(e){var t=e.classes,n=e.variant,r=e.disabled,i=e.multiple,o=e.open,a={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon","icon".concat((0,Kt.Z)(n)),o&&"iconOpen",r&&"disabled"]};return(0,qt.Z)(a,Mo,t)}(u);return(0,Nt.jsxs)(be.Fragment,{children:[(0,Nt.jsx)(Po,(0,we.Z)({ownerState:u,className:(0,Ot.Z)(l.select,n),disabled:r,ref:o||t},c)),e.multiple?null:(0,Nt.jsx)(Oo,{as:i,ownerState:u,className:l.icon})]})})),Zo=n(98278);function Lo(e){return(0,Jt.Z)("MuiSelect",e)}var Bo,No=(0,Qt.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),Do=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Fo=(0,Vt.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,s.Z)({},"&.".concat(No.select),t.select),(0,s.Z)({},"&.".concat(No.select),t[n.variant]),(0,s.Z)({},"&.".concat(No.multiple),t.multiple)]}})(To,(0,s.Z)({},"&.".concat(No.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),zo=(0,Vt.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat((0,Kt.Z)(n.variant))],n.open&&t.iconOpen]}})(Io),Uo=(0,Vt.ZP)("input",{shouldForwardProp:function(e){return(0,Vt.Dz)(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ho(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function qo(e){return null==e||"string"===typeof e&&!e.trim()}var Wo,Vo,Go=be.forwardRef((function(e,t){var n=e["aria-describedby"],r=e["aria-label"],i=e.autoFocus,o=e.autoWidth,a=e.children,s=e.className,c=e.defaultOpen,u=e.defaultValue,l=e.disabled,f=e.displayEmpty,d=e.IconComponent,h=e.inputRef,p=e.labelId,m=e.MenuProps,v=void 0===m?{}:m,g=e.multiple,y=e.name,b=e.onBlur,w=e.onChange,x=e.onClose,_=e.onFocus,k=e.onOpen,S=e.open,E=e.readOnly,C=e.renderValue,M=e.SelectDisplayProps,A=void 0===M?{}:M,R=e.tabIndex,T=e.value,P=e.variant,I=void 0===P?"standard":P,O=(0,It.Z)(e,Do),j=(0,Zo.Z)({controlled:T,default:u,name:"Select"}),Z=(0,ye.Z)(j,2),L=Z[0],B=Z[1],N=(0,Zo.Z)({controlled:S,default:c,name:"Select"}),D=(0,ye.Z)(N,2),F=D[0],z=D[1],U=be.useRef(null),H=be.useRef(null),q=be.useState(null),W=(0,ye.Z)(q,2),V=W[0],G=W[1],$=be.useRef(null!=S).current,K=be.useState(),Y=(0,ye.Z)(K,2),X=Y[0],J=Y[1],Q=(0,Sn.Z)(t,h),ee=be.useCallback((function(e){H.current=e,e&&G(e)}),[]);be.useImperativeHandle(Q,(function(){return{focus:function(){H.current.focus()},node:U.current,value:L}}),[L]),be.useEffect((function(){c&&F&&V&&!$&&(J(o?null:V.clientWidth),H.current.focus())}),[V,o]),be.useEffect((function(){i&&H.current.focus()}),[i]),be.useEffect((function(){if(p){var e=(0,Rr.Z)(H.current).getElementById(p);if(e){var t=function(){getSelection().isCollapsed&&H.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[p]);var te,ne,re=function(e,t){e?k&&k(t):x&&x(t),$||(J(o?null:V.clientWidth),z(e))},ie=be.Children.toArray(a),oe=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(g){n=Array.isArray(L)?L.slice():[];var r=L.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),L!==n&&(B(n),w)){var i=t.nativeEvent||t,o=new i.constructor(i.type,i);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:y}}),w(o,e)}g||re(!1,t)}}},ae=null!==V&&F;delete O["aria-invalid"];var se=[],ce=!1;($t({value:L})||f)&&(C?te=C(L):ce=!0);var ue=ie.map((function(e,t,n){if(!be.isValidElement(e))return null;var r;if(g){if(!Array.isArray(L))throw new Error((0,un.Z)(2));r=L.some((function(t){return Ho(t,e.props.value)})),r&&ce&&se.push(e.props.children)}else(r=Ho(L,e.props.value))&&ce&&(ne=e.props.children);if(r&&!0,void 0===e.props.value)return be.cloneElement(e,{"aria-readonly":!0,role:"option"});return be.cloneElement(e,{"aria-selected":r?"true":"false",onClick:oe(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:void 0===n[0].props.value||!0===n[0].props.disabled?function(){if(L)return r;var t=n.find((function(e){return void 0!==e.props.value&&!0!==e.props.disabled}));return e===t||r}():r,value:void 0,"data-value":e.props.value})}));ce&&(te=g?0===se.length?null:se.reduce((function(e,t,n){return e.push(t),n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function qa(e){for(var t=new Uint8Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{};if(ki(this,e),this._map=new Map,this._id=qa(4).toString("hex").slice(0,7),this._doDebug=n.debug,this._debug("new peer %o",n),this.channelName=n.initiator?n.channelName||qa(20).toString("hex"):null,this.initiator=n.initiator||!1,this.channelConfig=n.channelConfig||e.channelConfig,this.channelNegotiated=this.channelConfig.negotiated,this.config=Object.assign({},e.config,n.config),this.offerOptions=n.offerOptions||{},this.answerOptions=n.answerOptions||{},this.sdpTransform=n.sdpTransform||function(e){return e},this.streams=n.streams||(n.stream?[n.stream]:[]),this.trickle=void 0===n.trickle||n.trickle,this.allowHalfTrickle=void 0!==n.allowHalfTrickle&&n.allowHalfTrickle,this.iceCompleteTimeout=n.iceCompleteTimeout||5e3,this.destroyed=!1,this.destroying=!1,this._connected=!1,this.remoteAddress=void 0,this.remoteFamily=void 0,this.remotePort=void 0,this.localAddress=void 0,this.localFamily=void 0,this.localPort=void 0,this._wrtc=n.wrtc&&"object"===typeof n.wrtc?n.wrtc:Wa(),!this._wrtc)throw"undefined"===typeof window?Va(new Error("No WebRTC support: Specify `opts.wrtc` option in this environment"),"ERR_WEBRTC_SUPPORT"):Va(new Error("No WebRTC support: Not a supported browser"),"ERR_WEBRTC_SUPPORT");this._pcReady=!1,this._channelReady=!1,this._iceComplete=!1,this._iceCompleteTimer=null,this._channel=null,this._pendingCandidates=[],this._isNegotiating=!1,this._firstNegotiation=!0,this._batchedNegotiation=!1,this._queuedNegotiation=!1,this._sendersAwaitingStable=[],this._senderMap=new Map,this._closingInterval=null,this._remoteTracks=[],this._remoteStreams=[],this._chunk=null,this._cb=null,this._interval=null;try{this._pc=new this._wrtc.RTCPeerConnection(this.config)}catch(r){return void this.destroy(Va(r,"ERR_PC_CONSTRUCTOR"))}this._isReactNativeWebrtc="number"===typeof this._pc._peerConnectionId,this._pc.oniceconnectionstatechange=function(){t._onIceStateChange()},this._pc.onicegatheringstatechange=function(){t._onIceStateChange()},this._pc.onconnectionstatechange=function(){t._onConnectionStateChange()},this._pc.onsignalingstatechange=function(){t._onSignalingStateChange()},this._pc.onicecandidate=function(e){t._onIceCandidate(e)},"object"===typeof this._pc.peerIdentity&&this._pc.peerIdentity.catch((function(e){t.destroy(Va(e,"ERR_PC_PEER_IDENTITY"))})),this.initiator||this.channelNegotiated?this._setupData({channel:this._pc.createDataChannel(this.channelName,this.channelConfig)}):this._pc.ondatachannel=function(e){t._setupData(e)},this.streams&&this.streams.forEach((function(e){t.addStream(e)})),this._pc.ontrack=function(e){t._onTrack(e)},this._debug("initial negotiation"),this._needsNegotiation()}return Ei(e,[{key:"bufferSize",get:function(){return this._channel&&this._channel.bufferedAmount||0}},{key:"connected",get:function(){return this._connected&&"open"===this._channel.readyState}},{key:"address",value:function(){return{port:this.localPort,family:this.localFamily,address:this.localAddress}}},{key:"signal",value:function(e){var t=this;if(!this.destroying){if(this.destroyed)throw Va(new Error("cannot signal after peer is destroyed"),"ERR_DESTROYED");if("string"===typeof e)try{e=JSON.parse(e)}catch(n){e={}}this._debug("signal()"),e.renegotiate&&this.initiator&&(this._debug("got request to renegotiate"),this._needsNegotiation()),e.transceiverRequest&&this.initiator&&(this._debug("got request for transceiver"),this.addTransceiver(e.transceiverRequest.kind,e.transceiverRequest.init)),e.candidate&&(this._pc.remoteDescription&&this._pc.remoteDescription.type?this._addIceCandidate(e.candidate):this._pendingCandidates.push(e.candidate)),e.sdp&&this._pc.setRemoteDescription(new this._wrtc.RTCSessionDescription(e)).then((function(){t.destroyed||(t._pendingCandidates.forEach((function(e){t._addIceCandidate(e)})),t._pendingCandidates=[],"offer"===t._pc.remoteDescription.type&&t._createAnswer())})).catch((function(e){t.destroy(Va(e,"ERR_SET_REMOTE_DESCRIPTION"))})),e.sdp||e.candidate||e.renegotiate||e.transceiverRequest||this.destroy(Va(new Error("signal() called with invalid signal data"),"ERR_SIGNALING"))}}},{key:"_addIceCandidate",value:function(e){var t=this,n=new this._wrtc.RTCIceCandidate(e);this._pc.addIceCandidate(n).catch((function(e){var r;!n.address||n.address.endsWith(".local")?(r="Ignoring unsupported ICE candidate.",console.warn(r)):t.destroy(Va(e,"ERR_ADD_ICE_CANDIDATE"))}))}},{key:"send",value:function(e){if(!this.destroying){if(this.destroyed)throw Va(new Error("cannot send after peer is destroyed"),"ERR_DESTROYED");this._channel.send(e)}}},{key:"addTransceiver",value:function(e,t){if(!this.destroying){if(this.destroyed)throw Va(new Error("cannot addTransceiver after peer is destroyed"),"ERR_DESTROYED");if(this._debug("addTransceiver()"),this.initiator)try{this._pc.addTransceiver(e,t),this._needsNegotiation()}catch(n){this.destroy(Va(n,"ERR_ADD_TRANSCEIVER"))}else this.emit("signal",{type:"transceiverRequest",transceiverRequest:{kind:e,init:t}})}}},{key:"addStream",value:function(e){var t=this;if(!this.destroying){if(this.destroyed)throw Va(new Error("cannot addStream after peer is destroyed"),"ERR_DESTROYED");this._debug("addStream()"),e.getTracks().forEach((function(n){t.addTrack(n,e)}))}}},{key:"addTrack",value:function(e,t){if(!this.destroying){if(this.destroyed)throw Va(new Error("cannot addTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("addTrack()");var n=this._senderMap.get(e)||new Map,r=n.get(t);if(r)throw r.removed?Va(new Error("Track has been removed. You should enable/disable tracks that you want to re-add."),"ERR_SENDER_REMOVED"):Va(new Error("Track has already been added to that stream."),"ERR_SENDER_ALREADY_ADDED");r=this._pc.addTrack(e,t),n.set(t,r),this._senderMap.set(e,n),this._needsNegotiation()}}},{key:"replaceTrack",value:function(e,t,n){if(!this.destroying){if(this.destroyed)throw Va(new Error("cannot replaceTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("replaceTrack()");var r=this._senderMap.get(e),i=r?r.get(n):null;if(!i)throw Va(new Error("Cannot replace track that was never added."),"ERR_TRACK_NOT_ADDED");t&&this._senderMap.set(t,r),null!=i.replaceTrack?i.replaceTrack(t):this.destroy(Va(new Error("replaceTrack is not supported in this browser"),"ERR_UNSUPPORTED_REPLACETRACK"))}}},{key:"removeTrack",value:function(e,t){if(!this.destroying){if(this.destroyed)throw Va(new Error("cannot removeTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("removeSender()");var n=this._senderMap.get(e),r=n?n.get(t):null;if(!r)throw Va(new Error("Cannot remove track that was never added."),"ERR_TRACK_NOT_ADDED");try{r.removed=!0,this._pc.removeTrack(r)}catch(i){"NS_ERROR_UNEXPECTED"===i.name?this._sendersAwaitingStable.push(r):this.destroy(Va(i,"ERR_REMOVE_TRACK"))}this._needsNegotiation()}}},{key:"removeStream",value:function(e){var t=this;if(!this.destroying){if(this.destroyed)throw Va(new Error("cannot removeStream after peer is destroyed"),"ERR_DESTROYED");this._debug("removeSenders()"),e.getTracks().forEach((function(n){t.removeTrack(n,e)}))}}},{key:"_needsNegotiation",value:function(){var e=this;this._debug("_needsNegotiation"),this._batchedNegotiation||(this._batchedNegotiation=!0,queueMicrotask((function(){e._batchedNegotiation=!1,e.initiator||!e._firstNegotiation?(e._debug("starting batched negotiation"),e.negotiate()):e._debug("non-initiator initial negotiation request discarded"),e._firstNegotiation=!1})))}},{key:"negotiate",value:function(){var e=this;if(!this.destroying){if(this.destroyed)throw Va(new Error("cannot negotiate after peer is destroyed"),"ERR_DESTROYED");this.initiator?this._isNegotiating?(this._queuedNegotiation=!0,this._debug("already negotiating, queueing")):(this._debug("start negotiation"),setTimeout((function(){e._createOffer()}),0)):this._isNegotiating?(this._queuedNegotiation=!0,this._debug("already negotiating, queueing")):(this._debug("requesting negotiation from initiator"),this.emit("signal",{type:"renegotiate",renegotiate:!0})),this._isNegotiating=!0}}},{key:"destroy",value:function(e){var t=this;this.destroyed||this.destroying||(this.destroying=!0,this._debug("destroying (error: %s)",e&&(e.message||e)),queueMicrotask((function(){if(t.destroyed=!0,t.destroying=!1,t._debug("destroy (error: %s)",e&&(e.message||e)),t._connected=!1,t._pcReady=!1,t._channelReady=!1,t._remoteTracks=null,t._remoteStreams=null,t._senderMap=null,clearInterval(t._closingInterval),t._closingInterval=null,clearInterval(t._interval),t._interval=null,t._chunk=null,t._cb=null,t._channel){try{t._channel.close()}catch(e){}t._channel.onmessage=null,t._channel.onopen=null,t._channel.onclose=null,t._channel.onerror=null}if(t._pc){try{t._pc.close()}catch(e){}t._pc.oniceconnectionstatechange=null,t._pc.onicegatheringstatechange=null,t._pc.onsignalingstatechange=null,t._pc.onicecandidate=null,t._pc.ontrack=null,t._pc.ondatachannel=null}t._pc=null,t._channel=null,e&&t.emit("error",e),t.emit("close")})))}},{key:"_setupData",value:function(e){var t=this;if(!e.channel)return this.destroy(Va(new Error("Data channel event is missing `channel` property"),"ERR_DATA_CHANNEL"));this._channel=e.channel,this._channel.binaryType="arraybuffer","number"===typeof this._channel.bufferedAmountLowThreshold&&(this._channel.bufferedAmountLowThreshold=65536),this.channelName=this._channel.label,this._channel.onmessage=function(e){t._onChannelMessage(e)},this._channel.onbufferedamountlow=function(){t._onChannelBufferedAmountLow()},this._channel.onopen=function(){t._onChannelOpen()},this._channel.onclose=function(){t._onChannelClose()},this._channel.onerror=function(e){t.destroy(Va(e,"ERR_DATA_CHANNEL"))};var n=!1;this._closingInterval=setInterval((function(){t._channel&&"closing"===t._channel.readyState?(n&&t._onChannelClose(),n=!0):n=!1}),5e3)}},{key:"_startIceCompleteTimeout",value:function(){var e=this;this.destroyed||this._iceCompleteTimer||(this._debug("started iceComplete timeout"),this._iceCompleteTimer=setTimeout((function(){e._iceComplete||(e._iceComplete=!0,e._debug("iceComplete timeout completed"),e.emit("iceTimeout"),e.emit("_iceComplete"))}),this.iceCompleteTimeout))}},{key:"_createOffer",value:function(){var e=this;this.destroyed||this._pc.createOffer(this.offerOptions).then((function(t){if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=Ga(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var n=function(){if(!e.destroyed){var n=e._pc.localDescription||t;e._debug("signal"),e.emit("signal",{type:n.type,sdp:n.sdp})}};e._pc.setLocalDescription(t).then((function(){e._debug("createOffer success"),e.destroyed||(e.trickle||e._iceComplete?n():e.once("_iceComplete",n))})).catch((function(t){e.destroy(Va(t,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(Va(t,"ERR_CREATE_OFFER"))}))}},{key:"_requestMissingTransceivers",value:function(){var e=this;this._pc.getTransceivers&&this._pc.getTransceivers().forEach((function(t){t.mid||!t.sender.track||t.requested||(t.requested=!0,e.addTransceiver(t.sender.track.kind))}))}},{key:"_createAnswer",value:function(){var e=this;this.destroyed||this._pc.createAnswer(this.answerOptions).then((function(t){if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=Ga(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var n=function(){if(!e.destroyed){var n=e._pc.localDescription||t;e._debug("signal"),e.emit("signal",{type:n.type,sdp:n.sdp}),e.initiator||e._requestMissingTransceivers()}};e._pc.setLocalDescription(t).then((function(){e.destroyed||(e.trickle||e._iceComplete?n():e.once("_iceComplete",n))})).catch((function(t){e.destroy(Va(t,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(Va(t,"ERR_CREATE_ANSWER"))}))}},{key:"_onConnectionStateChange",value:function(){this.destroyed||"failed"===this._pc.connectionState&&this.destroy(Va(new Error("Connection failed."),"ERR_CONNECTION_FAILURE"))}},{key:"_onIceStateChange",value:function(){if(!this.destroyed){var e=this._pc.iceConnectionState,t=this._pc.iceGatheringState;this._debug("iceStateChange (connection: %s) (gathering: %s)",e,t),this.emit("iceStateChange",e,t),"connected"!==e&&"completed"!==e||(this._pcReady=!0,this._maybeReady()),"failed"===e&&this.destroy(Va(new Error("Ice connection failed."),"ERR_ICE_CONNECTION_FAILURE")),"closed"===e&&this.destroy(Va(new Error("Ice connection closed."),"ERR_ICE_CONNECTION_CLOSED"))}}},{key:"getStats",value:function(e){var t=this,n=function(e){return"[object Array]"===Object.prototype.toString.call(e.values)&&e.values.forEach((function(t){Object.assign(e,t)})),e};0===this._pc.getStats.length||this._isReactNativeWebrtc?this._pc.getStats().then((function(t){var r=[];t.forEach((function(e){r.push(n(e))})),e(null,r)}),(function(t){return e(t)})):this._pc.getStats.length>0?this._pc.getStats((function(r){if(!t.destroyed){var i=[];r.result().forEach((function(e){var t={};e.names().forEach((function(n){t[n]=e.stat(n)})),t.id=e.id,t.type=e.type,t.timestamp=e.timestamp,i.push(n(t))})),e(null,i)}}),(function(t){return e(t)})):e(null,[])}},{key:"_maybeReady",value:function(){var e=this;if(this._debug("maybeReady pc %s channel %s",this._pcReady,this._channelReady),!this._connected&&!this._connecting&&this._pcReady&&this._channelReady){this._connecting=!0;!function t(){e.destroyed||e.getStats((function(n,r){if(!e.destroyed){n&&(r=[]);var i={},o={},a={},s=!1;r.forEach((function(e){"remotecandidate"!==e.type&&"remote-candidate"!==e.type||(i[e.id]=e),"localcandidate"!==e.type&&"local-candidate"!==e.type||(o[e.id]=e),"candidatepair"!==e.type&&"candidate-pair"!==e.type||(a[e.id]=e)}));var c=function(t){s=!0;var n=o[t.localCandidateId];n&&(n.ip||n.address)?(e.localAddress=n.ip||n.address,e.localPort=Number(n.port)):n&&n.ipAddress?(e.localAddress=n.ipAddress,e.localPort=Number(n.portNumber)):"string"===typeof t.googLocalAddress&&(n=t.googLocalAddress.split(":"),e.localAddress=n[0],e.localPort=Number(n[1])),e.localAddress&&(e.localFamily=e.localAddress.includes(":")?"IPv6":"IPv4");var r=i[t.remoteCandidateId];r&&(r.ip||r.address)?(e.remoteAddress=r.ip||r.address,e.remotePort=Number(r.port)):r&&r.ipAddress?(e.remoteAddress=r.ipAddress,e.remotePort=Number(r.portNumber)):"string"===typeof t.googRemoteAddress&&(r=t.googRemoteAddress.split(":"),e.remoteAddress=r[0],e.remotePort=Number(r[1])),e.remoteAddress&&(e.remoteFamily=e.remoteAddress.includes(":")?"IPv6":"IPv4"),e._debug("connect local: %s:%s remote: %s:%s",e.localAddress,e.localPort,e.remoteAddress,e.remotePort)};if(r.forEach((function(e){"transport"===e.type&&e.selectedCandidatePairId&&c(a[e.selectedCandidatePairId]),("googCandidatePair"===e.type&&"true"===e.googActiveConnection||("candidatepair"===e.type||"candidate-pair"===e.type)&&e.selected)&&c(e)})),s||Object.keys(a).length&&!Object.keys(o).length){if(e._connecting=!1,e._connected=!0,e._chunk){try{e.send(e._chunk)}catch(n){return e.destroy(Va(n,"ERR_DATA_CHANNEL"))}e._chunk=null,e._debug('sent chunk from "write before connect"');var u=e._cb;e._cb=null,u(null)}"number"!==typeof e._channel.bufferedAmountLowThreshold&&(e._interval=setInterval((function(){return e._onInterval()}),150),e._interval.unref&&e._interval.unref()),e._debug("connect"),e.emit("connect")}else setTimeout(t,100)}}))}()}}},{key:"_onInterval",value:function(){!this._cb||!this._channel||this._channel.bufferedAmount>65536||this._onChannelBufferedAmountLow()}},{key:"_onSignalingStateChange",value:function(){var e=this;this.destroyed||("stable"===this._pc.signalingState&&(this._isNegotiating=!1,this._debug("flushing sender queue",this._sendersAwaitingStable),this._sendersAwaitingStable.forEach((function(t){e._pc.removeTrack(t),e._queuedNegotiation=!0})),this._sendersAwaitingStable=[],this._queuedNegotiation?(this._debug("flushing negotiation queue"),this._queuedNegotiation=!1,this._needsNegotiation()):(this._debug("negotiated"),this.emit("negotiated"))),this._debug("signalingStateChange %s",this._pc.signalingState),this.emit("signalingStateChange",this._pc.signalingState))}},{key:"_onIceCandidate",value:function(e){this.destroyed||(e.candidate&&this.trickle?this.emit("signal",{type:"candidate",candidate:{candidate:e.candidate.candidate,sdpMLineIndex:e.candidate.sdpMLineIndex,sdpMid:e.candidate.sdpMid}}):e.candidate||this._iceComplete||(this._iceComplete=!0,this.emit("_iceComplete")),e.candidate&&this._startIceCompleteTimeout())}},{key:"_onChannelMessage",value:function(e){if(!this.destroyed){var t=e.data;t instanceof ArrayBuffer&&(t=new Uint8Array(t)),this.emit("data",t)}}},{key:"_onChannelBufferedAmountLow",value:function(){if(!this.destroyed&&this._cb){this._debug("ending backpressure: bufferedAmount %d",this._channel.bufferedAmount);var e=this._cb;this._cb=null,e(null)}}},{key:"_onChannelOpen",value:function(){this._connected||this.destroyed||(this._debug("on channel open"),this._channelReady=!0,this._maybeReady())}},{key:"_onChannelClose",value:function(){this.destroyed||(this._debug("on channel close"),this.destroy())}},{key:"_onTrack",value:function(e){var t=this;this.destroyed||e.streams.forEach((function(n){t._debug("on track"),t.emit("track",e.track,n),t._remoteTracks.push({track:e.track,stream:n}),t._remoteStreams.some((function(e){return e.id===n.id}))||(t._remoteStreams.push(n),queueMicrotask((function(){t._debug("on stream"),t.emit("stream",n)})))}))}},{key:"_debug",value:function(){var e;if(this._doDebug){for(var t=arguments.length,n=new Array(t),r=0;r1?n-1:0),i=1;i12)throw cs('action type string "'.concat(e,'" (').concat(t.byteLength,"b) exceeds ")+"byte limit (".concat(12,"). Hint: choose a shorter name."));var i=new Uint8Array(12);i.set(t);var o=ls(i);if(r[o])throw cs("action '".concat(e,"' already registered"));var a=0;return r[o]={onComplete:ss,onProgress:ss},[function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(t,r,o,s){var u,l,f,d,h,p,m;return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o||"object"===typeof o){e.next=2;break}throw cs("action meta argument must be an object");case 2:if(void 0!==t){e.next=4;break}throw cs("action data cannot be undefined");case 4:if(u="string"!==typeof t,l=t instanceof Blob,f=l||t instanceof ArrayBuffer||t instanceof hs,!o||f){e.next=9;break}throw cs("action meta argument can only be used with binary data");case 9:if(!f){e.next=22;break}if(e.t1=Uint8Array,!l){e.next=17;break}return e.next=14,t.arrayBuffer();case 14:e.t2=e.sent,e.next=18;break;case 17:e.t2=t;case 18:e.t3=e.t2,e.t0=new e.t1(e.t3),e.next=23;break;case 22:e.t0=us(u?JSON.stringify(t):t);case 23:return d=e.t0,h=o?us(JSON.stringify(o)):null,p=Math.ceil(d.byteLength/ps)+(o?1:0),m=new Array(p).fill().map((function(e,t){var n=t===p-1,r=o&&0===t,s=new Uint8Array(15+(r?h.byteLength:n?d.byteLength-ps*(p-(o?2:1)):ps));return s.set(i),s.set([a],12),s.set([n|r<<1|f<<2|u<<3],13),s.set([Math.round((t+1)/p*ms)],14),s.set(o?r?h:d.subarray((t-1)*ps,t*ps):d.subarray(t*ps,(t+1)*ps),15),s})),a=a+1&ms,e.abrupt("return",Promise.all(c(r,function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(t,r){var i,a,c;return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=r._channel,a=0;case 2:if(!(ai.bufferedAmountLowThreshold)){e.next=7;break}return e.next=7,new Promise((function(e){i.addEventListener(vs,(function t(){i.removeEventListener(vs,t),e()}))}));case 7:if(n[t]){e.next=9;break}return e.abrupt("break",14);case 9:r.send(c),a++,s&&s(c[14]/ms,t,o),e.next=2;break;case 14:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}())));case 29:case"end":return e.stop()}}),e)})));return function(t,n,r,i){return e.apply(this,arguments)}}(),function(e){return r[o]=(0,ve.Z)((0,ve.Z)({},r[o]),{},{onComplete:e})},function(e){return r[o]=(0,ve.Z)((0,ve.Z)({},r[o]),{},{onProgress:e})}]},l=function(e,t){var n=new Uint8Array(t),o=ls(n.subarray(0,12)),a=n.subarray(12,13),s=(0,ye.Z)(a,1)[0],c=n.subarray(13,14),u=(0,ye.Z)(c,1)[0],l=n.subarray(14,15),f=(0,ye.Z)(l,1)[0],d=n.subarray(15),h=!!(1&u),p=!!(2&u),m=!!(4&u),v=!!(8&u);if(!r[o])throw cs("received message with unregistered type (".concat(o,")"));i[e]||(i[e]={}),i[e][o]||(i[e][o]={});var g=i[e][o][s];if(g||(g=i[e][o][s]={chunks:[]}),p?g.meta=JSON.parse(ls(d)):g.chunks.push(d),r[o].onProgress(f/ms,e,g.meta),h){var y=function(e){var t=new Uint8Array(e.reduce((function(e,t){return e+t.byteLength}),0));return e.reduce((function(e,n){return t.set(n,e),e+n.byteLength}),0),t}(g.chunks);if(m)r[o].onComplete(y,e,g.meta);else{var b=ls(y);r[o].onComplete(v?JSON.parse(b):b,e)}delete i[e][o][s]}},f=u("__91n6__"),d=(0,ye.Z)(f,2),h=d[0],p=d[1],m=u("__90n6__"),v=(0,ye.Z)(m,2),g=v[0],y=v[1],b=u("__516n4L__"),w=(0,ye.Z)(b,2),x=w[0],_=w[1],k=u("__57r34m__"),S=(0,ye.Z)(k,2),E=S[0],C=S[1],M=u("__7r4ck__"),A=(0,ye.Z)(M,2),R=A[0],T=A[1],P=ss,I=ss,O=ss,j=ss;return e((function(e,t){if(!n[t]){var r=l.bind(null,t);n[t]=e,e.on(fs.signal,(function(e){return x(e,t)})),e.on(fs.close,(function(){return function(e){n[e]&&(delete n[e],delete i[e],delete o[e],I(e))}(t)})),e.on(fs.data,r),e.on(fs.stream,(function(e){O(e,t,a[t]),delete a[t]})),e.on(fs.track,(function(e,n){j(e,n,t,s[t]),delete s[t]})),e.on(fs.error,(function(e){"ERR_DATA_CHANNEL"!==e.code&&console.error(e)})),P(t),e.__drainEarlyData(r)}})),p((function(e,t){return g(null,t)})),y((function(e,t){o[t]&&(o[t](),delete o[t])})),_((function(e,t){n[t]&&n[t].signal(e)})),C((function(e,t){return a[t]=e})),T((function(e,t){return s[t]=e})),{makeAction:u,ping:function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(t){var n;return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw cs("ping() must be called with target peer ID");case 2:return n=Date.now(),h(null,t),e.next=6,new Promise((function(e){return o[t]=e}));case 6:return e.abrupt("return",Date.now()-n);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),leave:function(){os(n).forEach((function(e){var t=(0,ye.Z)(e,2),r=t[0];t[1].destroy(),delete n[r]})),t()},getPeers:function(){return as(os(n).map((function(e){var t=(0,ye.Z)(e,2);return[t[0],t[1]._pc]})))},addStream:function(e,t,n){return c(t,function(){var t=(0,ge.Z)((0,me.Z)().mark((function t(r,i){return(0,me.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n){t.next=3;break}return t.next=3,E(n,r);case 3:i.addStream(e);case 4:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}())},removeStream:function(e,t){return c(t,(function(t,n){return n.removeStream(e)}))},addTrack:function(e,t,n,r){return c(n,function(){var n=(0,ge.Z)((0,me.Z)().mark((function n(i,o){return(0,me.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!r){n.next=3;break}return n.next=3,R(r,i);case 3:o.addTrack(e,t);case 4:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}())},removeTrack:function(e,t,n){return c(n,(function(n,r){return r.removeTrack(e,t)}))},replaceTrack:function(e,t,n,r,i){return c(r,function(){var r=(0,ge.Z)((0,me.Z)().mark((function r(o,a){return(0,me.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!i){r.next=3;break}return r.next=3,R(i,o);case 3:a.replaceTrack(e,t,n);case 4:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}())},onPeerJoin:function(e){return P=e},onPeerLeave:function(e){return I=e},onPeerStream:function(e){return O=e},onPeerTrack:function(e){return j=e}}},ys="AES-CBC",bs=function(e){return window.btoa(String.fromCharCode.apply(null,new Uint8Array(e)))},ws=function(e){var t=window.atob(e);return new Uint8Array(t.length).map((function(e,n){return t.charCodeAt(n)})).buffer},xs=function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(t,n){return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=crypto.subtle,e.next=3,crypto.subtle.digest({name:"SHA-256"},us("".concat(t,":").concat(n)));case 3:return e.t1=e.sent,e.t2={name:ys},e.t3=["encrypt","decrypt"],e.abrupt("return",e.t0.importKey.call(e.t0,"raw",e.t1,e.t2,!1,e.t3));case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),_s=function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(t,n){var r;return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=crypto.getRandomValues(new Uint8Array(16)),e.t0=JSON,e.t1=bs,e.t2=crypto.subtle,e.t3={name:ys,iv:r},e.next=7,t;case 7:return e.t4=e.sent,e.t5=us(n),e.next=11,e.t2.encrypt.call(e.t2,e.t3,e.t4,e.t5);case 11:return e.t6=e.sent,e.t7=(0,e.t1)(e.t6),e.t8=(0,I.Z)(r),e.t9={c:e.t7,iv:e.t8},e.abrupt("return",e.t0.stringify.call(e.t0,e.t9));case 16:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),ks=function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(t,n){var r,i,o;return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=JSON.parse(n),i=r.c,o=r.iv,e.t0=ls,e.t1=crypto.subtle,e.t2={name:ys,iv:new Uint8Array(o)},e.next=6,t;case 6:return e.t3=e.sent,e.t4=ws(i),e.next=10,e.t1.decrypt.call(e.t1,e.t2,e.t3,e.t4);case 10:return e.t5=e.sent,e.abrupt("return",(0,e.t0)(e.t5));case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Ss={},Es={},Cs={},Ms={},As={},Rs="announce",Ts=["wss://fediverse.tv/tracker/socket","wss://tracker.files.fm:7073/announce","wss://tracker.openwebtorrent.com","wss://tracker.btorrent.xyz","wss://qot.abiir.top:443/announce","wss://spacetradersapi-chatbox.herokuapp.com:443/announce"],Ps=function(e,t){return function(n,r){if(e[r])throw cs("already joined room ".concat(r));if(!n)throw cs("requires a config map as the first argument");if(!n.appId&&!n.firebaseApp)throw cs("config map is missing appId field");if(!r)throw cs("namespace argument required");return t(n,r)}}(Ss,(function(e,t){var n={},r=e.password&&xs(e.password,t),i=(e.trackerUrls||Ts).slice(0,e.trackerUrls?e.trackerUrls.length:e.trackerRedundancy||2);if(!i.length)throw cs("trackerUrls is empty");var o,a=crypto.subtle.digest("SHA-1",us("".concat(ts,":").concat(e.appId,":").concat(t))).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(36)})).join("").slice(0,20)})),c=function(t){return as(new Array(t).fill().map((function(){var t=Qa(!0,!1,e.rtcConfig);return[es(20),{peer:t,offerP:new Promise((function(e){return t.once(fs.signal,e)}))}]})))},u=function(){var t=(0,ge.Z)((0,me.Z)().mark((function t(i,s){var c,u,l,f,h,y;return(0,me.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a;case 2:c=t.sent,t.prev=3,u=JSON.parse(s.data),t.next=11;break;case 7:return t.prev=7,t.t0=t.catch(3),console.error("".concat(ts,": received malformed SDP JSON")),t.abrupt("return");case 11:if(!(u.info_hash!==c||u.peer_id&&u.peer_id===ns)){t.next=13;break}return t.abrupt("return");case 13:if(!(l=u["failure reason"])){t.next=17;break}return console.warn("".concat(ts,": torrent tracker failure (").concat(l,")")),t.abrupt("return");case 17:if(u.interval&&u.interval>v&&u.interval<=120&&(clearInterval(g),v=u.interval,g=setInterval(d,1e3*v)),!u.offer||!u.offer_id){t.next=42;break}if(!n[u.peer_id]&&!b[u.offer_id]){t.next=21;break}return t.abrupt("return");case 21:if(b[u.offer_id]=!0,(f=Qa(!1,!1,e.rtcConfig)).once(fs.signal,function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(t){return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=i,e.t1=JSON,!r){e.next=13;break}return e.t3=ve.Z,e.t4=(0,ve.Z)({},t),e.t5={},e.next=8,_s(r,t.sdp);case 8:e.t6=e.sent,e.t7={sdp:e.t6},e.t2=(0,e.t3)(e.t4,e.t5,e.t7),e.next=14;break;case 13:e.t2=t;case 14:return e.t8=e.t2,e.t9=Rs,e.t10=c,e.t11=ns,e.t12=u.peer_id,e.t13=u.offer_id,e.t14={answer:e.t8,action:e.t9,info_hash:e.t10,peer_id:e.t11,to_peer_id:e.t12,offer_id:e.t13},e.t15=e.t1.stringify.call(e.t1,e.t14),e.abrupt("return",e.t0.send.call(e.t0,e.t15));case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),f.on(fs.connect,(function(){return p(f,u.peer_id)})),f.on(fs.close,(function(){return m(f,u.peer_id,u.offer_id)})),t.t1=f,!r){t.next=38;break}return t.t3=ve.Z,t.t4=(0,ve.Z)({},u.offer),t.t5={},t.next=33,ks(r,u.offer.sdp);case 33:t.t6=t.sent,t.t7={sdp:t.t6},t.t2=(0,t.t3)(t.t4,t.t5,t.t7),t.next=39;break;case 38:t.t2=u.offer;case 39:return t.t8=t.t2,t.t1.signal.call(t.t1,t.t8),t.abrupt("return");case 42:if(!u.answer){t.next=68;break}if(!n[u.peer_id]&&!b[u.offer_id]){t.next=45;break}return t.abrupt("return");case 45:if(!(h=o[u.offer_id])){t.next=68;break}if(!(y=h.peer).destroyed){t.next=50;break}return t.abrupt("return");case 50:if(b[u.offer_id]=!0,y.on(fs.connect,(function(){return p(y,u.peer_id,u.offer_id)})),y.on(fs.close,(function(){return m(y,u.peer_id,u.offer_id)})),t.t9=y,!r){t.next=65;break}return t.t11=ve.Z,t.t12=(0,ve.Z)({},u.answer),t.t13={},t.next=60,ks(r,u.answer.sdp);case 60:t.t14=t.sent,t.t15={sdp:t.t14},t.t10=(0,t.t11)(t.t12,t.t13,t.t15),t.next=66;break;case 65:t.t10=u.answer;case 66:t.t16=t.t10,t.t9.signal.call(t.t9,t.t16);case 68:case"end":return t.stop()}}),t,null,[[3,7]])})));return function(e,n){return t.apply(this,arguments)}}(),l=function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(t,n){return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=t,e.t1=JSON,e.t2=Rs,e.t3=n,e.t4=10,e.t5=ns,e.next=8,Promise.all(os(o).map(function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(t){var n,i,o,a;return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,ye.Z)(t,2),i=n[0],o=n[1].offerP,e.next=3,o;case 3:if(a=e.sent,e.t0=i,!r){e.next=16;break}return e.t2=ve.Z,e.t3=(0,ve.Z)({},a),e.t4={},e.next=11,_s(r,a.sdp);case 11:e.t5=e.sent,e.t6={sdp:e.t5},e.t1=(0,e.t2)(e.t3,e.t4,e.t6),e.next=17;break;case 16:e.t1=a;case 17:return e.t7=e.t1,e.abrupt("return",{offer_id:e.t0,offer:e.t7});case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 8:return e.t6=e.sent,e.t7={action:e.t2,info_hash:e.t3,numwant:e.t4,peer_id:e.t5,offers:e.t6},e.t8=e.t1.stringify.call(e.t1,e.t7),e.abrupt("return",e.t0.send.call(e.t0,e.t8));case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),f=function e(t,n,r){return r||!Es[t]?(As[t]=(0,ve.Z)((0,ve.Z)({},As[t]),{},(0,s.Z)({},n,u)),Es[t]=new Promise((function(r){var i=new WebSocket(t);Cs[t]=i,i.addEventListener("open",(function(){Ms[t]=4e3,r(i)})),i.addEventListener("message",(function(e){return is(As[t]).forEach((function(t){return t(i,e)}))})),i.addEventListener("close",(0,ge.Z)((0,me.Z)().mark((function r(){var i;return(0,me.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return Ms[t]=null!==(i=Ms[t])&&void 0!==i?i:4e3,r.next=3,ds(Ms[t]);case 3:Ms[t]*=2,e(t,n,!0);case 5:case"end":return r.stop()}}),r)}))))}))):As[t][n]=u,Es[t]},d=function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(){var t;return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a;case 2:t=e.sent,o&&h(),o=c(10),i.forEach(function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(n){var r;return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f(n,t);case 2:if((r=e.sent).readyState!==WebSocket.OPEN){e.next=7;break}l(r,t),e.next=14;break;case 7:if(r.readyState===WebSocket.CONNECTING){e.next=14;break}return e.t0=l,e.next=11,f(n,t,!0);case 11:e.t1=e.sent,e.t2=t,(0,e.t0)(e.t1,e.t2);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),h=function(){os(o).forEach((function(e){var t=(0,ye.Z)(e,2),r=t[0],i=t[1].peer;b[r]||n[r]||i.destroy()})),b={}},p=function(e,t,r){y(e,t),n[t]=!0,r&&(n[r]=!0)},m=function(e,t,r){delete n[t],e.destroy(),r in o&&(delete o[r],o=(0,ve.Z)((0,ve.Z)({},o),c(1)))},v=33,g=setInterval(d,1e3*v),y=ss,b={};return Ss[t]=!0,d(),gs((function(e){return y=e}),(0,ge.Z)((0,me.Z)().mark((function e(){var n;return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a;case 2:n=e.sent,i.forEach((function(e){return delete As[e][n]})),delete Ss[t],clearInterval(g),h();case 7:case"end":return e.stop()}}),e)}))))})),Is={iceServers:[{urls:"stun:188.148.133.173:3478"},{urls:"turn:188.148.133.173:3478",username:"c386d75b5633456cb3bc13812858098d",credential:"58fd06d85fe14c0f9f46220748b0f565"},{urls:"turn:188.148.133.173:3478",username:"0e2f563eacfd4c4a82ea239b04d1d494",credential:"8179b4b533f240ad9fe590663bef1bc9"},{urls:"turn:188.148.133.173:3478",username:"feab95c3fcd147a2a96a3d3590bf9cda",credential:"654cafd885424b7fb974e65f631f25f9"}]};!function(e){e.CONNECTION_TEST_RESULTS_UPDATED="CONNECTION_TEST_RESULTS_UPDATED",e.HAS_HOST_CHANGED="HAS_HOST_CHANGED",e.HAS_RELAY_CHANGED="HAS_RELAY_CHANGED"}(Ka||(Ka={})),function(e){e.SEARCHING="SEARCHING",e.CONNECTED="CONNECTED",e.FAILED="FAILED"}(Ya||(Ya={}));var Os=function(e){Oa(n,e);var t=Da(n);function n(){var e;ki(this,n);for(var r=arguments.length,i=new Array(r),o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Ls,Bs,Ns,Ds,Fs,zs,Us,Hs,qs,Ws,Vs,Gs,$s,Ks,Ys,Xs,Js,Qs,ec=["Aardvark","Albatross","Alligator","Alpaca","Angelfish","Anglerfish","Ant","Anteater","Antelope","Antlion","Ape","Armadillo","Asp","Baboon","Badger","Bandicoot","Barnacle","Barracuda","Basilisk","Bass","Bat","Bear","Beaver","Bee","Beetle","Bird","Bison","Blackbird","Boar","Bobcat","Bonobo","Bug","Butterfly","Buzzard","Camel","Capybara","Cardinal","Caribou","Cat","Caterpillar","Catfish","Cattle","Chameleon","Cheetah","Chickadee","Chicken","Chimpanzee","Chinchilla","Chipmunk","Clam","Clownfish","Cobra","Condor","Coral","Cougar","Coyote","Crab","Crane","Crawdad","Crayfish","Cricket","Crocodile","Crow","Cuckoo","Deer","Dingo","Dinosaur","Dog","Dolphin","Donkey","Dove","Dragon","Dragonfly","Duck","Eagle","Earthworm","Echidna","Egret","Elephant","Elk","Emu","Ermine","Falcon","Ferret","Finch","Firefly","Fish","Flamingo","Fowl","Fox","Frog","Gazelle","Gecko","Gerbil","Gibbon","Giraffe","Goat","Goldfish","Goose","Gopher","Gorilla","Grasshopper","Grouse","Gull","Guppy","Hamster","Hare","Harrier","Hawk","Hedgehog","Heron","Hippopotamus","Horse","Hummingbird","Hyena","Iguana","Impala","Jackal","Jaguar","Jay","Jellyfish","Kangaroo","Kingfisher","Kiwi","Koala","Koi","Ladybug","Lark","Lemming","Lemur","Leopard","Lion","Llama","Lobster","Loon","Lynx","Macaw","Mackerel","Mammal","Manatee","Mandrill","Marlin","Marmoset","Marmot","Marsupial","Mastodon","Meerkat","Mink","Minnow","Mockingbird","Mole","Mongoose","Monkey","Moose","Mosquito","Mouse","Mule","Muskox","Narwhal","Ocelot","Octopus","Opossum","Orangutan","Orca","Ostrich","Otter","Owl","Ox","Panda","Panther","Parakeet","Parrot","Partridge","Peacock","Pelican","Penguin","Pig","Pigeon","Platypus","Pony","Porcupine","Porpoise","Puffin","Puma","Python","Quail","Quokka","Rabbit","Raccoon","Raven","Reindeer","Rhinoceros","Roadrunner","Rooster","Salamander","Salmon","Seahorse","Shark","Sheep","Shrew","Sloth","Snail","Sparrow","Squid","Squirrel","Starfish","Stingray","Stoat","Stork","Sturgeon","Swan","Swift","Swordfish","Tapir","Tarsier","Tern","Tiger","Tortoise","Toucan","Turkey","Turtle","Tyrannosaurus","Vole","Wallaby","Walrus","Warbler","Whale","Wildcat","Wolf","Wolverine","Wombat","Woodpecker","Wren","Yak","Zebra"],tc=["Adorable","Adventurous","Agreeable","Alert","Amused","Attractive","Average","Beautiful","Blushing","Brainy","Brave","Bright","Busy","Calm","Careful","Cautious","Charming","Cheerful","Clever","Cloudy","Colorful","Comfortable","Concerned","Cooperative","Courageous","Crazy","Curious","Cute","Delightful","Determined","Distinct","Dizzy","Elated","Elegant","Enchanting","Encouraging","Energetic","Enthusiastic","Excited","Exuberant","Famous","Fancy","Fantastic","Fierce","Fine","Friendly","Funny","Gentle","Gifted","Glamorous","Gleaming","Glorious","Gorgeous","Graceful","Handsome","Happy","Healthy","Helpful","Hilarious","Important","Inquisitive","Jolly","Joyous","Kind","Light","Lively","Lovely","Lucky","Magnificent","Mysterious","Nice","Nutty","Outrageous","Outstanding","Perfect","Pleasant","Poised","Powerful","Precious","Proud","Puzzled","Quaint","Relieved","Shiny","Silly","Sleepy","Smiling","Sparkling","Splendid","Stormy","Strange","Successful","Tame","Thankful","Thoughtful","Tough","Victorious","Vivacious","Wandering","Wide-eyed","Wild","Witty","Zany"],nc=function(e){return e.split("").reduce((function(e,t,n){return e+t.charCodeAt(0)*n}),0)},rc=function(e){return function(e,t){var n=void 0===t?{}:t,r=n.adjectives,i=void 0===r?tc:r,o=n.animalNames,a=void 0===o?ec:o,s=nc(e),c=i[s%i.length];return c+" "+a[(s+nc(c))%a.length]}(e)},ic=function(){var e=(0,be.useContext)(Tt).getUserSettings,t=(0,be.useContext)(js),n=t.peerList,r=t.customUsername,i=e().userId,o=function(e){return i===e},a=function(e){var t,i;return o(e)?r:null!==(t=null===(i=function(e){return n.find((function(t){return t.userId===e}))}(e))||void 0===i?void 0:i.customUsername)&&void 0!==t?t:""},s=function(e){return a(e)||rc(e)};return{getCustomUsername:a,isPeerSelf:o,getFriendlyName:s,getDisplayUsername:function(e){var t=s(e);return a(e)===t?"".concat(t," (").concat(rc(e),")"):rc(e)}}},oc=["children"],ac=function(e){var t=e.children,n=Zs(e,oc),r=ic(),i=r.getCustomUsername,o=(0,r.getFriendlyName)(t);return i(t)===o?(0,Nt.jsxs)(an.Z,(0,ve.Z)((0,ve.Z)({component:"span"},n),{},{children:[o,(0,Nt.jsxs)(an.Z,(0,ve.Z)((0,ve.Z)({variant:"caption"},n),{},{children:[" ","(",rc(t),")"]}))]})):(0,Nt.jsx)(an.Z,(0,ve.Z)((0,ve.Z)({component:"span"},n),{},{children:rc(t)}))},sc=["title","titleId"];function cc(){return cc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function lc(e,t){var n=e.title,r=e.titleId,i=uc(e,sc);return be.createElement("svg",cc({width:"100%",zoomAndPan:"magnify",viewBox:"0 0 354.64453 128.97656",height:"unset",preserveAspectRatio:"xMidYMid",id:"svg110",ref:t,"aria-labelledby":r},i),n?be.createElement("title",{id:r},n):null,Ls||(Ls=be.createElement("defs",{id:"defs10"},be.createElement("clipPath",{id:"3bacd8e954"},be.createElement("path",{d:"M 11.863281,122.92969 H 113.10938 v 101.0625 H 11.863281 Z m 0,0",clipRule:"nonzero",id:"path4"})),be.createElement("clipPath",{id:"abfee98d57"},be.createElement("path",{d:"m 50.867188,216.45703 h 58.414062 v 35.44922 H 50.867188 Z m 0,0",clipRule:"nonzero",id:"path7"})))),Bs||(Bs=be.createElement("g",{clipPath:"url(#3bacd8e954)",id:"g14",transform:"translate(-11.863281,-122.92969)"},be.createElement("path",{fill:"#1976d2",d:"M 45.214844,214.47266 C 32.179688,207.12891 23.378906,193.1875 23.378906,177.19531 c 0,-23.6289 19.214844,-42.78906 42.917969,-42.78906 13.101563,0 24.828125,5.85547 32.703125,15.08203 h 14.10938 c -9.49219,-15.90234 -26.902349,-26.55859 -46.812505,-26.55859 -30.0625,0 -54.433594,24.29687 -54.433594,54.26562 0,19.8711 10.710938,37.24219 26.691407,46.69922 l 6.660156,-9.42187",fillOpacity:1,fillRule:"nonzero",id:"path12"}))),Ns||(Ns=be.createElement("g",{clipPath:"url(#abfee98d57)",id:"g18",transform:"translate(-11.863281,-122.92969)"},be.createElement("path",{fill:"#1976d2",d:"m 79.015625,218.07422 c -0.476563,0.14844 -0.953125,0.28906 -1.4375,0.41797 l -26.652344,10.77734 c 1.820313,0.53125 3.675781,0.97266 5.566407,1.31641 l 52.726562,21.32422 -24.984375,-35.34375 c -1.699219,0.61718 -3.441406,1.12109 -5.21875,1.50781",fillOpacity:1,fillRule:"nonzero",id:"path16"}))),Ds||(Ds=be.createElement("path",{fill:"#d9d9d9",d:"m 58.480469,83.542972 c 15.527344,0 28.113281,-12.54688 28.113281,-28.02344 0,-15.48047 -12.585937,-28.02735 -28.113281,-28.02735 -8.582031,0 -16.261719,3.83204 -21.417969,9.875 h -9.242187 c 6.21875,-10.41406 17.621094,-17.39453 30.660156,-17.39453 19.691406,0 35.65234,15.91407 35.65234,35.54688 0,17.4414 -12.601559,31.95312 -29.226559,34.96875 L 30.371094,104.45312 46.902344,81.062502 c 3.53125,1.59375 7.449219,2.48047 11.578125,2.48047",fillOpacity:1,fillRule:"nonzero",id:"path20"})),Fs||(Fs=be.createElement("path",{fill:"#1976d2",d:"m 47.800781,54.269532 c 0,2.54297 -2.066406,4.60547 -4.621093,4.60547 -2.550781,0 -4.617188,-2.0625 -4.617188,-4.60547 0,-2.54688 2.066407,-4.60938 4.617188,-4.60938 2.554687,0 4.621093,2.0625 4.621093,4.60938",fillOpacity:1,fillRule:"nonzero",id:"path22"})),zs||(zs=be.createElement("path",{fill:"#1976d2",d:"m 61.714844,54.269532 c 0,2.54297 -2.066406,4.60547 -4.621094,4.60547 -2.550781,0 -4.617187,-2.0625 -4.617187,-4.60547 0,-2.54688 2.066406,-4.60938 4.617187,-4.60938 2.554688,0 4.621094,2.0625 4.621094,4.60938",fillOpacity:1,fillRule:"nonzero",id:"path24"})),Us||(Us=be.createElement("path",{fill:"#1976d2",d:"m 75.628907,54.269532 c 0,2.54297 -2.070313,4.60547 -4.621094,4.60547 -2.550782,0 -4.621094,-2.0625 -4.621094,-4.60547 0,-2.54688 2.070312,-4.60938 4.621094,-4.60938 2.550781,0 4.621094,2.0625 4.621094,4.60938",fillOpacity:1,fillRule:"nonzero",id:"path26"})),Hs||(Hs=be.createElement("path",{fill:"#1976d2",d:"m 104.62891,40.363282 h 250.01562 v 48.73828 H 104.62891 v -48.73828",fillOpacity:1,fillRule:"nonzero",id:"path28"})),qs||(qs=be.createElement("g",{fill:"#ffffff",fillOpacity:1,id:"g36",transform:"translate(-11.863281,-122.92969)"},be.createElement("g",{transform:"translate(124.78224,199.77909)",id:"g34"},be.createElement("g",{id:"g32"},be.createElement("path",{d:"m 2.4375,0 0.332031,-24.335938 h 4.507813 v 11.015626 h 9.480468 v -11.015626 h 4.542969 L 21.601562,0 h -4.84375 V -7.746094 H 7.277344 V 0 Z m 0,0",id:"path30"}))))),Ws||(Ws=be.createElement("g",{fill:"#ffffff",fillOpacity:1,id:"g44",transform:"translate(-11.863281,-122.92969)"},be.createElement("g",{transform:"translate(148.85163,199.77909)",id:"g42"},be.createElement("g",{id:"g40"},be.createElement("path",{d:"m 2.4375,0 0.5,-24.335938 H 7.144531 L 7.445312,0 Z m 0,0",id:"path38"}))))),Vs||(Vs=be.createElement("g",{fill:"#ffffff",fillOpacity:1,id:"g52",transform:"translate(-11.863281,-122.92969)"},be.createElement("g",{transform:"translate(158.7331,199.77909)",id:"g50"},be.createElement("g",{id:"g48"},be.createElement("path",{d:"m 2.4375,-20.464844 v -3.871094 h 20.796875 v 3.90625 L 15.054688,-20.765625 15.65625,0 h -5.640625 l 0.601563,-20.765625 z m 0,0",id:"path46"}))))),Gs||(Gs=be.createElement("g",{fill:"#ffffff",fillOpacity:1,id:"g60",transform:"translate(-11.863281,-122.92969)"},be.createElement("g",{transform:"translate(184.40489,199.77909)",id:"g58"},be.createElement("g",{id:"g56"},be.createElement("path",{d:"m 22.300781,-18.027344 c -3.707031,-2.539062 -5.742187,-2.90625 -8.277343,-2.90625 -4.910157,0 -7.046876,3.039063 -7.046876,8.78125 0.066407,4.972656 2.503907,6.609375 7.546876,6.609375 2.535156,0 5.039062,-1.199219 7.777343,-3.703125 v 7.175782 c -2.46875,1.667968 -5.074219,2.539062 -7.945312,2.539062 -7.378907,0 -11.917969,-4.875 -11.917969,-12.621094 0,-7.710937 4.039062,-12.285156 11.417969,-12.621094 2.835937,-0.132812 5.007812,0.03516 8.445312,1.703126 z m 0,0",id:"path54"}))))),$s||($s=be.createElement("g",{fill:"#ffffff",fillOpacity:1,id:"g68",transform:"translate(-11.863281,-122.92969)"},be.createElement("g",{transform:"translate(209.14196,199.77909)",id:"g66"},be.createElement("g",{id:"g64"},be.createElement("path",{d:"m 2.4375,0 0.332031,-24.335938 h 4.507813 v 11.015626 h 9.480468 v -11.015626 h 4.542969 L 21.601562,0 h -4.84375 V -7.746094 H 7.277344 V 0 Z m 0,0",id:"path62"}))))),Ks||(Ks=be.createElement("g",{fill:"#ffffff",fillOpacity:1,id:"g76",transform:"translate(-11.863281,-122.92969)"},be.createElement("g",{transform:"translate(233.21136,199.77909)",id:"g74"},be.createElement("g",{id:"g72"},be.createElement("path",{d:"m 17.359375,-8.679688 -3.4375,-10.183593 c -0.265625,0.867187 -0.566406,1.703125 -0.835937,2.539062 -0.265626,0.832031 -0.535157,1.667969 -0.800782,2.46875 -0.300781,0.835938 -0.566406,1.671875 -0.867187,2.539063 -0.265625,0.867187 -0.566407,1.734375 -0.867188,2.636718 z M 2.4375,0 12.050781,-24.335938 h 3.773438 L 25.4375,0 H 19.53125 L 18.664062,-3.773438 H 9.179688 L 8.011719,0 Z m 0,0",id:"path70"}))))),Ys||(Ys=be.createElement("g",{fill:"#ffffff",fillOpacity:1,id:"g84",transform:"translate(-11.863281,-122.92969)"},be.createElement("g",{transform:"translate(261.08647,199.77909)",id:"g82"},be.createElement("g",{id:"g80"},be.createElement("path",{d:"m 2.4375,-20.464844 v -3.871094 h 20.796875 v 3.90625 L 15.054688,-20.765625 15.65625,0 h -5.640625 l 0.601563,-20.765625 z m 0,0",id:"path78"}))))),Xs||(Xs=be.createElement("g",{fill:"#ffffff",fillOpacity:1,id:"g92",transform:"translate(-11.863281,-122.92969)"},be.createElement("g",{transform:"translate(286.75826,199.77909)",id:"g90"},be.createElement("g",{id:"g88"},be.createElement("path",{d:"m 2.4375,-20.464844 v -3.871094 h 20.796875 v 3.90625 L 15.054688,-20.765625 15.65625,0 h -5.640625 l 0.601563,-20.765625 z m 0,0",id:"path86"}))))),Js||(Js=be.createElement("g",{fill:"#ffffff",fillOpacity:1,id:"g100",transform:"translate(-11.863281,-122.92969)"},be.createElement("g",{transform:"translate(312.43006,199.77909)",id:"g98"},be.createElement("g",{id:"g96"},be.createElement("path",{d:"m 2.4375,0 v -24.335938 h 15.855469 v 3.871094 H 6.808594 v 5.609375 h 10.984375 v 3.839844 H 6.808594 v 4.972656 H 18.5625 V 0 Z m 0,0",id:"path94"}))))),Qs||(Qs=be.createElement("g",{fill:"#ffffff",fillOpacity:1,id:"g108",transform:"translate(-11.863281,-122.92969)"},be.createElement("g",{transform:"translate(333.42821,199.77909)",id:"g106"},be.createElement("g",{id:"g104"},be.createElement("path",{d:"m 18.128906,-17.058594 c 0,2.636719 -1.003906,4.574219 -2.773437,5.640625 1.101562,0.835938 2.070312,2.269531 3.074219,4.207031 0.53125,1.035157 1.167968,2.335938 1.835937,3.640626 0.632813,1.265624 1.300781,2.535156 1.800781,3.570312 h -5.875 l -2.46875,-6.308594 v 0.03125 C 12.320312,-9.179688 11.316406,-9.75 9.113281,-9.75 H 7.410156 V 0 H 2.4375 v -24.335938 h 7.679688 c 2.535156,0 4.503906,0.597657 5.875,1.800782 1.402343,1.203125 2.136718,3.039062 2.136718,5.476562 z m -11.019531,-4.40625 v 7.277344 h 3.339844 c 2.101562,0 4.238281,-1.4375 4.238281,-2.871094 0,-3.472656 -2.167969,-4.40625 -4.238281,-4.40625 z m 0,0",id:"path102"}))))))}var fc=be.forwardRef(lc),dc=(n.p,n(64687)),hc=n.n(dc);function pc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mc(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return function(e){if(0===e.length||1===e.length)return e;var t=e.join(".");return vc[t]||(vc[t]=function(e){var t=e.length;return 0===t||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0}(e)),vc[t]}(e.filter((function(e){return"token"!==e}))).reduce((function(e,t){return mc(mc({},e),n[t])}),t)}function yc(e){return e.join(" ")}function bc(e){var t=e.node,n=e.stylesheet,r=e.style,i=void 0===r?{}:r,o=e.useInlineStyles,a=e.key,s=t.properties,c=t.type,u=t.tagName,l=t.value;if("text"===c)return l;if(u){var f,d=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,i){return bc({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})}))}}(n,o);if(o){var h=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),p=s.className&&s.className.includes("token")?["token"]:[],m=s.className&&p.concat(s.className.filter((function(e){return!h.includes(e)})));f=mc(mc({},s),{},{className:yc(m)||void 0,style:gc(s.className,Object.assign({},s.style,i),n)})}else f=mc(mc({},s),{},{className:yc(s.className)});var v=d(t.children);return be.createElement(u,(0,we.Z)({key:a},f),v)}}var wc=function(e,t){return-1!==e.listLanguages().indexOf(t)},xc=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function _c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kc(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||u.length>0?function(e,t){return Ac({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:a,showInlineLineNumbers:i,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:r,wrapLongLines:c})}(e,o,u):function(e,t){if(r&&t&&i){var n=Mc(s,t,a);e.unshift(Cc(t,n))}return e}(e,o)}for(var m=function(){var e=l[h],t=e.children[0].value;if(t.match(Sc)){var n=t.split("\n");n.forEach((function(t,i){var a=r&&f.length+o,s={type:"text",value:"".concat(t,"\n")};if(0===i){var c=p(l.slice(d+1,h).concat(Ac({children:[s],className:e.properties.className})),a);f.push(c)}else if(i===n.length-1){var u=l[h+1]&&l[h+1].children&&l[h+1].children[0],m={type:"text",value:"".concat(t)};if(u){var v=Ac({children:[m],className:e.properties.className});l.splice(h+1,0,v)}else{var g=p([m],a,e.properties.className);f.push(g)}}else{var y=p([s],a,e.properties.className);f.push(y)}})),d=h}h++};h code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#a5e844"},attribute:{color:"#a5e844"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},comment:{color:"#616161"},constant:{color:"#c792ea"},deleted:{color:"#ff6666"},doctype:{color:"#616161"},entity:{color:"#ff6666"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#616161"},property:{color:"#80cbc4"},"pseudo-class":{color:"#a5e844"},"pseudo-element":{color:"#a5e844"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#ff6666"},string:{color:"#a5e844"},symbol:{color:"#c792ea"},tag:{color:"#ff6666"},unit:{color:"#fd9170"},url:{color:"#ff6666"},variable:{color:"#ff6666"}};function $c(e){return(0,Jt.Z)("MuiDialogActions",e)}(0,Qt.Z)("MuiDialogActions",["root","spacing"]);var Kc=["className","disableSpacing"],Yc=(0,Vt.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disableSpacing&&t.spacing]}})((function(e){var t=e.ownerState;return(0,we.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),Xc=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiDialogActions"}),r=n.className,i=n.disableSpacing,o=void 0!==i&&i,a=(0,It.Z)(n,Kc),s=(0,we.Z)({},n,{disableSpacing:o}),c=function(e){var t=e.classes,n={root:["root",!e.disableSpacing&&"spacing"]};return(0,qt.Z)(n,$c,t)}(s);return(0,Nt.jsx)(Yc,(0,we.Z)({className:(0,Ot.Z)(c.root,r),ownerState:s,ref:t},a))}));function Jc(e){return(0,Jt.Z)("MuiDialogContent",e)}(0,Qt.Z)("MuiDialogContent",["root","dividers"]);function Qc(e){return(0,Jt.Z)("MuiDialogTitle",e)}var eu=(0,Qt.Z)("MuiDialogTitle",["root"]),tu=["className","dividers"],nu=(0,Vt.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dividers&&t.dividers]}})((function(e){var t=e.theme,n=e.ownerState;return(0,we.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},n.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat((t.vars||t).palette.divider),borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}:(0,s.Z)({},".".concat(eu.root," + &"),{paddingTop:0}))})),ru=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiDialogContent"}),r=n.className,i=n.dividers,o=void 0!==i&&i,a=(0,It.Z)(n,tu),s=(0,we.Z)({},n,{dividers:o}),c=function(e){var t=e.classes,n={root:["root",e.dividers&&"dividers"]};return(0,qt.Z)(n,Jc,t)}(s);return(0,Nt.jsx)(nu,(0,we.Z)({className:(0,Ot.Z)(c.root,r),ownerState:s,ref:t},a))}));function iu(e){return(0,Jt.Z)("MuiDialogContentText",e)}(0,Qt.Z)("MuiDialogContentText",["root"]);var ou=["children"],au=(0,Vt.ZP)(an.Z,{shouldForwardProp:function(e){return(0,Vt.FO)(e)||"classes"===e},name:"MuiDialogContentText",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),su=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiDialogContentText"}),r=(0,It.Z)(n,ou),i=function(e){var t=e.classes,n=(0,qt.Z)({root:["root"]},iu,t);return(0,we.Z)({},t,n)}(r);return(0,Nt.jsx)(au,(0,we.Z)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:r},n,{classes:i}))})),cu=["className","id"],uu=(0,Vt.ZP)(an.Z,{name:"MuiDialogTitle",slot:"Root",overridesResolver:function(e,t){return t.root}})({padding:"16px 24px",flex:"0 0 auto"}),lu=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiDialogTitle"}),r=n.className,i=n.id,o=(0,It.Z)(n,cu),a=n,s=function(e){var t=e.classes;return(0,qt.Z)({root:["root"]},Qc,t)}(a),c=be.useContext(Dc).titleId,u=void 0===c?i:c;return(0,Nt.jsx)(uu,(0,we.Z)({component:"h2",className:(0,Ot.Z)(s.root,r),ownerState:a,ref:t,variant:"h6",id:u},o))}));function fu(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function du(e){return e instanceof fu(e).Element||e instanceof Element}function hu(e){return e instanceof fu(e).HTMLElement||e instanceof HTMLElement}function pu(e){return"undefined"!==typeof ShadowRoot&&(e instanceof fu(e).ShadowRoot||e instanceof ShadowRoot)}var mu=Math.max,vu=Math.min,gu=Math.round;function yu(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(hu(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(r=gu(n.width)/a||1),o>0&&(i=gu(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function bu(e){var t=fu(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function wu(e){return e?(e.nodeName||"").toLowerCase():null}function xu(e){return((du(e)?e.ownerDocument:e.document)||window.document).documentElement}function _u(e){return yu(xu(e)).left+bu(e).scrollLeft}function ku(e){return fu(e).getComputedStyle(e)}function Su(e){var t=ku(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Eu(e,t,n){void 0===n&&(n=!1);var r=hu(t),i=hu(t)&&function(e){var t=e.getBoundingClientRect(),n=gu(t.width)/e.offsetWidth||1,r=gu(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=xu(t),a=yu(e,i),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&(("body"!==wu(t)||Su(o))&&(s=function(e){return e!==fu(e)&&hu(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:bu(e);var t}(t)),hu(t)?((c=yu(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=_u(o))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Cu(e){var t=yu(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Mu(e){return"html"===wu(e)?e:e.assignedSlot||e.parentNode||(pu(e)?e.host:null)||xu(e)}function Au(e){return["html","body","#document"].indexOf(wu(e))>=0?e.ownerDocument.body:hu(e)&&Su(e)?e:Au(Mu(e))}function Ru(e,t){var n;void 0===t&&(t=[]);var r=Au(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=fu(r),a=i?[o].concat(o.visualViewport||[],Su(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Ru(Mu(a)))}function Tu(e){return["table","td","th"].indexOf(wu(e))>=0}function Pu(e){return hu(e)&&"fixed"!==ku(e).position?e.offsetParent:null}function Iu(e){for(var t=fu(e),n=Pu(e);n&&Tu(n)&&"static"===ku(n).position;)n=Pu(n);return n&&("html"===wu(n)||"body"===wu(n)&&"static"===ku(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&hu(e)&&"fixed"===ku(e).position)return null;var n=Mu(e);for(pu(n)&&(n=n.host);hu(n)&&["html","body"].indexOf(wu(n))<0;){var r=ku(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Ou="top",ju="bottom",Zu="right",Lu="left",Bu="auto",Nu=[Ou,ju,Zu,Lu],Du="start",Fu="end",zu="clippingParents",Uu="viewport",Hu="popper",qu="reference",Wu=Nu.reduce((function(e,t){return e.concat([t+"-"+Du,t+"-"+Fu])}),[]),Vu=[].concat(Nu,[Bu]).reduce((function(e,t){return e.concat([t,t+"-"+Du,t+"-"+Fu])}),[]),Gu=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $u(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function Ku(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Yu={placement:"bottom",modifiers:[],strategy:"absolute"};function Xu(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function il(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?tl(i):null,a=i?nl(i):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case Ou:t={x:s,y:n.y-r.height};break;case ju:t={x:s,y:n.y+n.height};break;case Zu:t={x:n.x+n.width,y:c};break;case Lu:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=o?rl(o):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case Du:t[u]=t[u]-(n[l]/2-r[l]/2);break;case Fu:t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var ol={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=il({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},al={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sl(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,f=e.isFixed,d=a.x,h=void 0===d?0:d,p=a.y,m=void 0===p?0:p,v="function"===typeof l?l({x:h,y:m}):{x:h,y:m};h=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Lu,w=Ou,x=window;if(u){var _=Iu(n),k="clientHeight",S="clientWidth";if(_===fu(n)&&"static"!==ku(_=xu(n)).position&&"absolute"===s&&(k="scrollHeight",S="scrollWidth"),i===Ou||(i===Lu||i===Zu)&&o===Fu)w=ju,m-=(f&&_===x&&x.visualViewport?x.visualViewport.height:_[k])-r.height,m*=c?1:-1;if(i===Lu||(i===Ou||i===ju)&&o===Fu)b=Zu,h-=(f&&_===x&&x.visualViewport?x.visualViewport.width:_[S])-r.width,h*=c?1:-1}var E,C=Object.assign({position:s},u&&al),M=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:gu(t*r)/r||0,y:gu(n*r)/r||0}}({x:h,y:m}):{x:h,y:m};return h=M.x,m=M.y,c?Object.assign({},C,((E={})[w]=y?"0":"",E[b]=g?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",E)):Object.assign({},C,((t={})[w]=y?m+"px":"",t[b]=g?h+"px":"",t.transform="",t))}var cl={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];hu(i)&&wu(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});hu(r)&&wu(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var ul={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=Vu.reduce((function(e,n){return e[n]=function(e,t,n){var r=tl(e),i=[Lu,Ou].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Lu,Zu].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},ll={left:"right",right:"left",bottom:"top",top:"bottom"};function fl(e){return e.replace(/left|right|bottom|top/g,(function(e){return ll[e]}))}var dl={start:"end",end:"start"};function hl(e){return e.replace(/start|end/g,(function(e){return dl[e]}))}function pl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&pu(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ml(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function vl(e,t){return t===Uu?ml(function(e){var t=fu(e),n=xu(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+_u(e),y:s}}(e)):du(t)?function(e){var t=yu(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ml(function(e){var t,n=xu(e),r=bu(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=mu(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=mu(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+_u(e),c=-r.scrollTop;return"rtl"===ku(i||n).direction&&(s+=mu(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(xu(e)))}function gl(e,t,n){var r="clippingParents"===t?function(e){var t=Ru(Mu(e)),n=["absolute","fixed"].indexOf(ku(e).position)>=0&&hu(e)?Iu(e):e;return du(n)?t.filter((function(e){return du(e)&&pl(e,n)&&"body"!==wu(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce((function(t,n){var r=vl(e,n);return t.top=mu(r.top,t.top),t.right=vu(r.right,t.right),t.bottom=vu(r.bottom,t.bottom),t.left=mu(r.left,t.left),t}),vl(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function yl(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function bl(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function wl(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.boundary,a=void 0===o?zu:o,s=n.rootBoundary,c=void 0===s?Uu:s,u=n.elementContext,l=void 0===u?Hu:u,f=n.altBoundary,d=void 0!==f&&f,h=n.padding,p=void 0===h?0:h,m=yl("number"!==typeof p?p:bl(p,Nu)),v=l===Hu?qu:Hu,g=e.rects.popper,y=e.elements[d?v:l],b=gl(du(y)?y:y.contextElement||xu(e.elements.popper),a,c),w=yu(e.elements.reference),x=il({reference:w,element:g,strategy:"absolute",placement:i}),_=ml(Object.assign({},g,x)),k=l===Hu?_:w,S={top:b.top-k.top+m.top,bottom:k.bottom-b.bottom+m.bottom,left:b.left-k.left+m.left,right:k.right-b.right+m.right},E=e.modifiersData.offset;if(l===Hu&&E){var C=E[i];Object.keys(S).forEach((function(e){var t=[Zu,ju].indexOf(e)>=0?1:-1,n=[Ou,ju].indexOf(e)>=0?"y":"x";S[e]+=C[n]*t}))}return S}var xl={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=void 0===h||h,m=n.allowedAutoPlacements,v=t.options.placement,g=tl(v),y=c||(g===v||!p?[fl(v)]:function(e){if(tl(e)===Bu)return[];var t=fl(e);return[hl(e),t,hl(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(tl(n)===Bu?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?Vu:c,l=nl(r),f=l?s?Wu:Wu.filter((function(e){return nl(e)===l})):Nu,d=f.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=f);var h=d.reduce((function(t,n){return t[n]=wl(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[tl(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,_=new Map,k=!0,S=b[0],E=0;E=0,T=R?"width":"height",P=wl(t,{placement:C,boundary:l,rootBoundary:f,altBoundary:d,padding:u}),I=R?A?Zu:Lu:A?ju:Ou;w[T]>x[T]&&(I=fl(I));var O=fl(I),j=[];if(o&&j.push(P[M]<=0),s&&j.push(P[I]<=0,P[O]<=0),j.every((function(e){return e}))){S=C,k=!1;break}_.set(C,j)}if(k)for(var Z=function(e){var t=b.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},L=p?3:1;L>0;L--){if("break"===Z(L))break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function _l(e,t,n){return mu(e,vu(t,n))}var kl={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,h=void 0===d||d,p=n.tetherOffset,m=void 0===p?0:p,v=wl(t,{boundary:c,rootBoundary:u,padding:f,altBoundary:l}),g=tl(t.placement),y=nl(t.placement),b=!y,w=rl(g),x="x"===w?"y":"x",_=t.modifiersData.popperOffsets,k=t.rects.reference,S=t.rects.popper,E="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"===typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(_){if(o){var R,T="y"===w?Ou:Lu,P="y"===w?ju:Zu,I="y"===w?"height":"width",O=_[w],j=O+v[T],Z=O-v[P],L=h?-S[I]/2:0,B=y===Du?k[I]:S[I],N=y===Du?-S[I]:-k[I],D=t.elements.arrow,F=h&&D?Cu(D):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=z[T],H=z[P],q=_l(0,k[I],F[I]),W=b?k[I]/2-L-q-U-C.mainAxis:B-q-U-C.mainAxis,V=b?-k[I]/2+L+q+H+C.mainAxis:N+q+H+C.mainAxis,G=t.elements.arrow&&Iu(t.elements.arrow),$=G?"y"===w?G.clientTop||0:G.clientLeft||0:0,K=null!=(R=null==M?void 0:M[w])?R:0,Y=O+V-K,X=_l(h?vu(j,O+W-K-$):j,O,h?mu(Z,Y):Z);_[w]=X,A[w]=X-O}if(s){var J,Q="x"===w?Ou:Lu,ee="x"===w?ju:Zu,te=_[x],ne="y"===x?"height":"width",re=te+v[Q],ie=te-v[ee],oe=-1!==[Ou,Lu].indexOf(g),ae=null!=(J=null==M?void 0:M[x])?J:0,se=oe?re:te-k[ne]-S[ne]-ae+C.altAxis,ce=oe?te+k[ne]+S[ne]-ae-C.altAxis:ie,ue=h&&oe?function(e,t,n){var r=_l(e,t,n);return r>n?n:r}(se,te,ce):_l(h?se:re,te,h?ce:ie);_[x]=ue,A[x]=ue-te}t.modifiersData[r]=A}},requiresIfExists:["offset"]};var Sl={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=tl(n.placement),c=rl(s),u=[Lu,Zu].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(e,t){return yl("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:bl(e,Nu))}(i.padding,n),f=Cu(o),d="y"===c?Ou:Lu,h="y"===c?ju:Zu,p=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],m=a[c]-n.rects.reference[c],v=Iu(o),g=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,y=p/2-m/2,b=l[d],w=g-f[u]-l[h],x=g/2-f[u]/2+y,_=_l(b,x,w),k=c;n.modifiersData[r]=((t={})[k]=_,t.centerOffset=_-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&pl(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function El(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Cl(e){return[Ou,Zu,ju,Lu].some((function(t){return e[t]>=0}))}var Ml={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=wl(t,{elementContext:"reference"}),s=wl(t,{altBoundary:!0}),c=El(a,r),u=El(s,i,o),l=Cl(c),f=Cl(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}},Al=Ju({defaultModifiers:[el,ol,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:tl(t.placement),variation:nl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,sl(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,sl(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},cl,ul,xl,kl,Sl,Ml]});function Rl(e){return(0,Jt.Z)("MuiPopperUnstyled",e)}(0,Qt.Z)("MuiPopperUnstyled",["root"]);var Tl=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],Pl=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function Il(e){return"function"===typeof e?e():e}var Ol={},jl=be.forwardRef((function(e,t){var n,r=e.anchorEl,i=e.children,o=e.component,a=e.components,s=void 0===a?{}:a,c=e.componentsProps,u=void 0===c?{}:c,l=e.direction,f=e.disablePortal,d=e.modifiers,h=e.open,p=e.ownerState,m=e.placement,v=e.popperOptions,g=e.popperRef,y=e.TransitionProps,b=(0,It.Z)(e,Tl),w=be.useRef(null),x=(0,fn.Z)(w,t),_=be.useRef(null),k=(0,fn.Z)(_,g),S=be.useRef(k);(0,pn.Z)((function(){S.current=k}),[k]),be.useImperativeHandle(g,(function(){return _.current}),[]);var E=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(m,l),C=be.useState(E),M=(0,ye.Z)(C,2),A=M[0],R=M[1];be.useEffect((function(){_.current&&_.current.forceUpdate()})),(0,pn.Z)((function(){if(r&&h){Il(r);var e=[{name:"preventOverflow",options:{altBoundary:f}},{name:"flip",options:{altBoundary:f}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;R(t.placement)}}];null!=d&&(e=e.concat(d)),v&&null!=v.modifiers&&(e=e.concat(v.modifiers));var t=Al(Il(r),w.current,(0,we.Z)({placement:E},v,{modifiers:e}));return S.current(t),function(){t.destroy(),S.current(null)}}}),[r,f,d,h,v,E]);var T={placement:A};null!==y&&(T.TransitionProps=y);var P=(0,qt.Z)({root:["root"]},Rl,{}),I=null!=(n=null!=o?o:s.Root)?n:"div",O=Ui({elementType:I,externalSlotProps:u.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:x},ownerState:(0,we.Z)({},e,p),className:P.root});return(0,Nt.jsx)(I,(0,we.Z)({},O,{children:"function"===typeof i?i(T):i}))})),Zl=be.forwardRef((function(e,t){var n=e.anchorEl,r=e.children,i=e.container,o=e.direction,a=void 0===o?"ltr":o,s=e.disablePortal,c=void 0!==s&&s,u=e.keepMounted,l=void 0!==u&&u,f=e.modifiers,d=e.open,h=e.placement,p=void 0===h?"bottom":h,m=e.popperOptions,v=void 0===m?Ol:m,g=e.popperRef,y=e.style,b=e.transition,w=void 0!==b&&b,x=(0,It.Z)(e,Pl),_=be.useState(!0),k=(0,ye.Z)(_,2),S=k[0],E=k[1];if(!l&&!d&&(!w||S))return null;var C=i||(n?(0,yi.Z)(Il(n)).body:void 0);return(0,Nt.jsx)(_i,{disablePortal:c,container:C,children:(0,Nt.jsx)(jl,(0,we.Z)({anchorEl:n,direction:a,disablePortal:c,modifiers:f,ref:t,open:w?!S:d,placement:p,popperOptions:v,popperRef:g},x,{style:(0,we.Z)({position:"fixed",top:0,left:0,display:d||!l||w&&!S?null:"none"},y),TransitionProps:w?{in:d,onEnter:function(){E(!1)},onExited:function(){E(!0)}}:null,children:r}))})})),Ll=Zl,Bl=n(69120),Nl=(0,Vt.ZP)(Ll,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Dl=be.forwardRef((function(e,t){var n=(0,Bl.Z)(),r=(0,Wt.Z)({props:e,name:"MuiPopper"});return(0,Nt.jsx)(Nl,(0,we.Z)({direction:null==n?void 0:n.direction},r,{ref:t}))})),Fl=Dl,zl=n(89683),Ul=n(67384),Hl=n(68221);function ql(e){return(0,Jt.Z)("MuiTooltip",e)}var Wl=(0,Qt.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Vl=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];var Gl=(0,Vt.ZP)(Fl,{name:"MuiTooltip",slot:"Popper",overridesResolver:function(e,t){var n=e.ownerState;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((function(e){var t,n=e.theme,r=e.ownerState,i=e.open;return(0,we.Z)({zIndex:(n.vars||n).zIndex.tooltip,pointerEvents:"none"},!r.disableInteractive&&{pointerEvents:"auto"},!i&&{pointerEvents:"none"},r.arrow&&(t={},(0,s.Z)(t,'&[data-popper-placement*="bottom"] .'.concat(Wl.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),(0,s.Z)(t,'&[data-popper-placement*="top"] .'.concat(Wl.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),(0,s.Z)(t,'&[data-popper-placement*="right"] .'.concat(Wl.arrow),(0,we.Z)({},r.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),(0,s.Z)(t,'&[data-popper-placement*="left"] .'.concat(Wl.arrow),(0,we.Z)({},r.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),t))})),$l=(0,Vt.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:function(e,t){var n=e.ownerState;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement".concat((0,Kt.Z)(n.placement.split("-")[0]))]]}})((function(e){var t,n,r=e.theme,i=e.ownerState;return(0,we.Z)({backgroundColor:r.vars?r.vars.palette.Tooltip.bg:(0,qr.Fq)(r.palette.grey[700],.92),borderRadius:(r.vars||r).shape.borderRadius,color:(r.vars||r).palette.common.white,fontFamily:r.typography.fontFamily,padding:"4px 8px",fontSize:r.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:r.typography.fontWeightMedium},i.arrow&&{position:"relative",margin:0},i.touch&&{padding:"8px 16px",fontSize:r.typography.pxToRem(14),lineHeight:"".concat((n=16/14,Math.round(1e5*n)/1e5),"em"),fontWeight:r.typography.fontWeightRegular},(t={},(0,s.Z)(t,".".concat(Wl.popper,'[data-popper-placement*="left"] &'),(0,we.Z)({transformOrigin:"right center"},i.isRtl?(0,we.Z)({marginLeft:"14px"},i.touch&&{marginLeft:"24px"}):(0,we.Z)({marginRight:"14px"},i.touch&&{marginRight:"24px"}))),(0,s.Z)(t,".".concat(Wl.popper,'[data-popper-placement*="right"] &'),(0,we.Z)({transformOrigin:"left center"},i.isRtl?(0,we.Z)({marginRight:"14px"},i.touch&&{marginRight:"24px"}):(0,we.Z)({marginLeft:"14px"},i.touch&&{marginLeft:"24px"}))),(0,s.Z)(t,".".concat(Wl.popper,'[data-popper-placement*="top"] &'),(0,we.Z)({transformOrigin:"center bottom",marginBottom:"14px"},i.touch&&{marginBottom:"24px"})),(0,s.Z)(t,".".concat(Wl.popper,'[data-popper-placement*="bottom"] &'),(0,we.Z)({transformOrigin:"center top",marginTop:"14px"},i.touch&&{marginTop:"24px"})),t))})),Kl=(0,Vt.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:function(e,t){return t.arrow}})((function(e){var t=e.theme;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?"rgba(".concat(t.vars.palette.grey.darkChannel," / 0.9)"):(0,qr.Fq)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),Yl=!1,Xl=null;function Jl(e,t){return function(n){t&&t(n),e(n)}}var Ql=be.forwardRef((function(e,t){var n,r,i,o,a,s,c=(0,Wt.Z)({props:e,name:"MuiTooltip"}),u=c.arrow,l=void 0!==u&&u,f=c.children,d=c.components,h=void 0===d?{}:d,p=c.componentsProps,m=void 0===p?{}:p,v=c.describeChild,g=void 0!==v&&v,y=c.disableFocusListener,b=void 0!==y&&y,w=c.disableHoverListener,x=void 0!==w&&w,_=c.disableInteractive,k=void 0!==_&&_,S=c.disableTouchListener,E=void 0!==S&&S,C=c.enterDelay,M=void 0===C?100:C,A=c.enterNextDelay,R=void 0===A?0:A,T=c.enterTouchDelay,P=void 0===T?700:T,I=c.followCursor,O=void 0!==I&&I,j=c.id,Z=c.leaveDelay,L=void 0===Z?0:Z,B=c.leaveTouchDelay,N=void 0===B?1500:B,D=c.onClose,F=c.onOpen,z=c.open,U=c.placement,H=void 0===U?"bottom":U,q=c.PopperComponent,W=c.PopperProps,V=void 0===W?{}:W,G=c.title,$=c.TransitionComponent,K=void 0===$?gi:$,Y=c.TransitionProps,X=(0,It.Z)(c,Vl),J=ui(),Q="rtl"===J.direction,ee=be.useState(),te=(0,ye.Z)(ee,2),ne=te[0],re=te[1],ie=be.useState(null),oe=(0,ye.Z)(ie,2),ae=oe[0],se=oe[1],ce=be.useRef(!1),ue=k||O,le=be.useRef(),fe=be.useRef(),de=be.useRef(),he=be.useRef(),pe=(0,Zo.Z)({controlled:z,default:!1,name:"Tooltip",state:"open"}),me=(0,ye.Z)(pe,2),ve=me[0],ge=me[1],xe=ve,_e=(0,Ul.Z)(j),ke=be.useRef(),Se=be.useCallback((function(){void 0!==ke.current&&(document.body.style.WebkitUserSelect=ke.current,ke.current=void 0),clearTimeout(he.current)}),[]);be.useEffect((function(){return function(){clearTimeout(le.current),clearTimeout(fe.current),clearTimeout(de.current),Se()}}),[Se]);var Ee=function(e){clearTimeout(Xl),Yl=!0,ge(!0),F&&!xe&&F(e)},Ce=(0,zl.Z)((function(e){clearTimeout(Xl),Xl=setTimeout((function(){Yl=!1}),800+L),ge(!1),D&&xe&&D(e),clearTimeout(le.current),le.current=setTimeout((function(){ce.current=!1}),J.transitions.duration.shortest)})),Me=function(e){ce.current&&"touchstart"!==e.type||(ne&&ne.removeAttribute("title"),clearTimeout(fe.current),clearTimeout(de.current),M||Yl&&R?fe.current=setTimeout((function(){Ee(e)}),Yl?R:M):Ee(e))},Ae=function(e){clearTimeout(fe.current),clearTimeout(de.current),de.current=setTimeout((function(){Ce(e)}),L)},Re=(0,Hl.Z)(),Te=Re.isFocusVisibleRef,Pe=Re.onBlur,Ie=Re.onFocus,Oe=Re.ref,je=be.useState(!1),Ze=(0,ye.Z)(je,2)[1],Le=function(e){Pe(e),!1===Te.current&&(Ze(!1),Ae(e))},Be=function(e){ne||re(e.currentTarget),Ie(e),!0===Te.current&&(Ze(!0),Me(e))},Ne=function(e){ce.current=!0;var t=f.props;t.onTouchStart&&t.onTouchStart(e)},De=Me,Fe=Ae;be.useEffect((function(){if(xe)return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ce(e)}}),[Ce,xe]);var ze=(0,Sn.Z)(re,t),Ue=(0,Sn.Z)(Oe,ze),He=(0,Sn.Z)(f.ref,Ue);""===G&&(xe=!1);var qe=be.useRef({x:0,y:0}),We=be.useRef(),Ve={},Ge="string"===typeof G;g?(Ve.title=xe||!Ge||x?null:G,Ve["aria-describedby"]=xe?_e:null):(Ve["aria-label"]=Ge?G:null,Ve["aria-labelledby"]=xe&&!Ge?_e:null);var $e=(0,we.Z)({},Ve,X,f.props,{className:(0,Ot.Z)(X.className,f.props.className),onTouchStart:Ne,ref:He},O?{onMouseMove:function(e){var t=f.props;t.onMouseMove&&t.onMouseMove(e),qe.current={x:e.clientX,y:e.clientY},We.current&&We.current.update()}}:{});var Ke={};E||($e.onTouchStart=function(e){Ne(e),clearTimeout(de.current),clearTimeout(le.current),Se(),ke.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",he.current=setTimeout((function(){document.body.style.WebkitUserSelect=ke.current,Me(e)}),P)},$e.onTouchEnd=function(e){f.props.onTouchEnd&&f.props.onTouchEnd(e),Se(),clearTimeout(de.current),de.current=setTimeout((function(){Ce(e)}),N)}),x||($e.onMouseOver=Jl(De,$e.onMouseOver),$e.onMouseLeave=Jl(Fe,$e.onMouseLeave),ue||(Ke.onMouseOver=De,Ke.onMouseLeave=Fe)),b||($e.onFocus=Jl(Be,$e.onFocus),$e.onBlur=Jl(Le,$e.onBlur),ue||(Ke.onFocus=Be,Ke.onBlur=Le));var Ye=be.useMemo((function(){var e,t=[{name:"arrow",enabled:Boolean(ae),options:{element:ae,padding:4}}];return null!=(e=V.popperOptions)&&e.modifiers&&(t=t.concat(V.popperOptions.modifiers)),(0,we.Z)({},V.popperOptions,{modifiers:t})}),[ae,V]),Xe=(0,we.Z)({},c,{isRtl:Q,arrow:l,disableInteractive:ue,placement:H,PopperComponentProp:q,touch:ce.current}),Je=function(e){var t=e.classes,n=e.disableInteractive,r=e.arrow,i=e.touch,o=e.placement,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch","tooltipPlacement".concat((0,Kt.Z)(o.split("-")[0]))],arrow:["arrow"]};return(0,qt.Z)(a,ql,t)}(Xe),Qe=null!=(n=h.Popper)?n:Gl,et=null!=(r=null!=(i=h.Transition)?i:K)?r:gi,tt=null!=(o=h.Tooltip)?o:$l,nt=null!=(a=h.Arrow)?a:Kl,rt=Bi(Qe,(0,we.Z)({},V,m.popper),Xe),it=Bi(et,(0,we.Z)({},Y,m.transition),Xe),ot=Bi(tt,(0,we.Z)({},m.tooltip),Xe),at=Bi(nt,(0,we.Z)({},m.arrow),Xe);return(0,Nt.jsxs)(be.Fragment,{children:[be.cloneElement(f,$e),(0,Nt.jsx)(Qe,(0,we.Z)({as:null!=q?q:Fl,placement:H,anchorEl:O?{getBoundingClientRect:function(){return{top:qe.current.y,left:qe.current.x,right:qe.current.x,bottom:qe.current.y,width:0,height:0}}}:ne,popperRef:We,open:!!ne&&xe,id:_e,transition:!0},Ke,rt,{className:(0,Ot.Z)(Je.popper,null==V?void 0:V.className,null==(s=m.popper)?void 0:s.className),popperOptions:Ye,children:function(e){var t,n,r=e.TransitionProps;return(0,Nt.jsx)(et,(0,we.Z)({timeout:J.transitions.duration.shorter},r,it,{children:(0,Nt.jsxs)(tt,(0,we.Z)({},ot,{className:(0,Ot.Z)(Je.tooltip,null==(t=m.tooltip)?void 0:t.className),children:[G,l?(0,Nt.jsx)(nt,(0,we.Z)({},at,{className:(0,Ot.Z)(Je.arrow,null==(n=m.arrow)?void 0:n.className),ref:se})):null]}))}))}}))]})})),ef=Ql;function tf(e){return(0,Jt.Z)("MuiFab",e)}var nf=(0,Qt.Z)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),rf=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],of=(0,Vt.ZP)(va.Z,{name:"MuiFab",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["size".concat((0,Kt.Z)(n.size))],"inherit"===n.color&&t.colorInherit,t[(0,Kt.Z)(n.size)],t[n.color]]}})((function(e){var t,n,r,i=e.theme,o=e.ownerState;return(0,we.Z)({},i.typography.button,(t={minHeight:36,transition:i.transitions.create(["background-color","box-shadow","border-color"],{duration:i.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(i.vars||i).zIndex.fab,boxShadow:(i.vars||i).shadows[6],"&:active":{boxShadow:(i.vars||i).shadows[12]},color:i.vars?i.vars.palette.text.primary:null==(n=(r=i.palette).getContrastText)?void 0:n.call(r,i.palette.grey[300]),backgroundColor:(i.vars||i).palette.grey[300],"&:hover":{backgroundColor:(i.vars||i).palette.grey.A100,"@media (hover: none)":{backgroundColor:(i.vars||i).palette.grey[300]},textDecoration:"none"}},(0,s.Z)(t,"&.".concat(nf.focusVisible),{boxShadow:(i.vars||i).shadows[6]}),(0,s.Z)(t,"&.".concat(nf.disabled),{color:(i.vars||i).palette.action.disabled,boxShadow:(i.vars||i).shadows[0],backgroundColor:(i.vars||i).palette.action.disabledBackground}),t),"small"===o.size&&{width:40,height:40},"medium"===o.size&&{width:48,height:48},"extended"===o.variant&&{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},"extended"===o.variant&&"small"===o.size&&{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"extended"===o.variant&&"medium"===o.size&&{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40},"inherit"===o.color&&{color:"inherit"})}),(function(e){var t=e.theme,n=e.ownerState;return(0,we.Z)({},"inherit"!==n.color&&"default"!==n.color&&null!=(t.vars||t).palette[n.color]&&{color:(t.vars||t).palette[n.color].contrastText,backgroundColor:(t.vars||t).palette[n.color].main,"&:hover":{backgroundColor:(t.vars||t).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[n.color].main}}})})),af=be.forwardRef((function(e,t){var n=(0,Wt.Z)({props:e,name:"MuiFab"}),r=n.children,i=n.className,o=n.color,a=void 0===o?"default":o,s=n.component,c=void 0===s?"button":s,u=n.disabled,l=void 0!==u&&u,f=n.disableFocusRipple,d=void 0!==f&&f,h=n.focusVisibleClassName,p=n.size,m=void 0===p?"large":p,v=n.variant,g=void 0===v?"circular":v,y=(0,It.Z)(n,rf),b=(0,we.Z)({},n,{color:a,component:c,disabled:l,disableFocusRipple:d,size:m,variant:g}),w=function(e){var t=e.color,n=e.variant,r=e.classes,i=e.size,o={root:["root",n,"size".concat((0,Kt.Z)(i)),"inherit"===t?"colorInherit":t]};return(0,qt.Z)(o,tf,r)}(b);return(0,Nt.jsx)(of,(0,we.Z)({className:(0,Ot.Z)(w.root,i),component:c,disabled:l,focusRipple:!d,focusVisibleClassName:(0,Ot.Z)(w.focusVisible,h),ownerState:b,ref:t},y,{children:r}))})),sf=af,cf=n(50194),uf=function(e){var t=e.children,n=(0,be.useContext)(js).showAlert,r=(0,be.useRef)(null),i=function(){var e=(0,ge.Z)((0,me.Z)().mark((function e(){var t;return(0,me.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=null===r||void 0===r?void 0:r.current){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,navigator.clipboard.writeText(t.innerText);case 5:n("Copied to clipboard",{severity:"success"});case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Nt.jsxs)(Ht,{ref:r,sx:{position:"relative","&:hover button":{opacity:.75}},children:[t,(0,Nt.jsx)(ef,{title:"Copy to clipboard",children:(0,Nt.jsx)(sf,{color:"default",size:"small",onClick:i,sx:function(e){return{position:"absolute",top:"1em",right:"1em",opacity:0,transition:e.transitions.create(["opacity","transform"])}},children:(0,Nt.jsx)(cf.Z,{})})})]})},lf=["camera","microphone","display-capture","fullscreen"],ff=function(e){var t=e.showEmbedCode,n=e.handleEmbedCodeWindowClose,r=e.embedUrl;return(0,Nt.jsxs)(Vc,{open:t,onClose:n,children:[(0,Nt.jsx)(lu,{children:"Room embed code"}),(0,Nt.jsxs)(ru,{children:[(0,Nt.jsx)(uf,{children:(0,Nt.jsx)(Lc,{language:"html",style:Gc,PreTag:"div",lineProps:{style:{wordBreak:"break-all",whiteSpace:"pre-wrap"}},wrapLines:!0,children:'