|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[201,5],{"1ZF9":function(We,be,Q){We.exports=Q.p+"static/Authorize.cc9c212f.png"},"1vsH":function(We,be,Q){"use strict";Q.d(be,"i",function(){return _}),Q.d(be,"o",function(){return k}),Q.d(be,"e",function(){return b}),Q.d(be,"h",function(){return L}),Q.d(be,"c",function(){return D}),Q.d(be,"f",function(){return F}),Q.d(be,"g",function(){return I}),Q.d(be,"a",function(){return G}),Q.d(be,"F",function(){return q}),Q.d(be,"G",function(){return z}),Q.d(be,"H",function(){return oe}),Q.d(be,"v",function(){return Z}),Q.d(be,"u",function(){return H}),Q.d(be,"s",function(){return R}),Q.d(be,"r",function(){return j}),Q.d(be,"D",function(){return N}),Q.d(be,"l",function(){return pe}),Q.d(be,"k",function(){return ae}),Q.d(be,"C",function(){return he}),Q.d(be,"x",function(){return ve}),Q.d(be,"A",function(){return W}),Q.d(be,"q",function(){return X}),Q.d(be,"d",function(){return ue}),Q.d(be,"b",function(){return $}),Q.d(be,"w",function(){return t}),Q.d(be,"B",function(){return o}),Q.d(be,"p",function(){return y}),Q.d(be,"y",function(){return E}),Q.d(be,"t",function(){return Y}),Q.d(be,"j",function(){return _e}),Q.d(be,"E",function(){return me}),Q.d(be,"n",function(){return Ee}),Q.d(be,"z",function(){return Ae}),Q.d(be,"m",function(){return xe});var Pe=Q("Zc97"),de=Q("y9hn"),fe=Q("Hejl"),n=Q("Lgtz"),O=Q("WmNS"),v=Q.n(O),h=Q("Qo87"),g=Q("AeMq"),i=Q("NDDJ"),u=Q("f+He"),p=Q("Ty1v"),c=Q("xsT+"),e=Q("9og8"),a=Q("jrin"),r=Q("q1tI"),s=Q.n(r),d=Q("xKgJ"),l=Q("s8TD"),w=Q("V0Rq"),x=Q("bntm"),f={load:"text/html","123":"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp","602":"application/x-t602","669":"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"},A=Q("aCH8"),S=Q.n(A),m=Q("m3rI"),_=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],P=function(U){var re={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bg-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"}};return U.data&&U.data.map(function(le,ge){return s.a.createElement("span",{key:ge,className:re[le]&&re[le].class},le)})},k=function(U){var re,le=(re={},Object(a.a)(re,-1,"\u91CD\u505A\u4E2D"),Object(a.a)(re,0,"\u672A\u5F00\u542F"),Object(a.a)(re,1,"\u672A\u901A\u5173"),Object(a.a)(re,2,"\u6309\u65F6\u901A\u5173"),re);return le[U]||"\u8FDF\u4EA4\u901A\u5173"},b=function(U){var re,le,ge,ye=(re={},Object(a.a)(re,-1,{name:"\u91CD\u505A\u4E2D",class:"c-orange"}),Object(a.a)(re,0,{name:"\u672A\u5F00\u542F",class:"c-black"}),Object(a.a)(re,1,{name:"\u672A\u901A\u5173",class:"c-red"}),Object(a.a)(re,2,{name:"\u6309\u65F6\u901A\u5173",class:"c-green"}),Object(a.a)(re,3,{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}),re);return s.a.createElement("span",{className:ye==null||((le=ye[U.status])===null||le===void 0)?void 0:le.class},ye==null||((ge=ye[U.status])===null||ge===void 0)?void 0:ge.name)},L=function(U){var re=U.status,le={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return s.a.createElement("span",{className:le[re].class},le[re].name)}catch(ge){console.log("utils.StatusGraduationProjectTags",U.status)}},D={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F"},F={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F"},I=function(U){var re={\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10"},\u672A\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"}},le=[];U.is_random&&le.push(s.a.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{U.status&&U.status.map(function(ge,ye){le.push(s.a.createElement("span",{key:ye,className:re[ge]&&re[ge].class},ge))})}catch(ge){console.log("utils.status.tag:",ge,U.status)}return le},B=function(U){var re,le,ge,ye=(re={},Object(a.a)(re,-1,{name:"\u91CD\u505A\u4E2D",class:"c-orange"}),Object(a.a)(re,0,{name:"\u672A\u63D0\u4EA4",class:"c-black"}),Object(a.a)(re,1,{name:"\u672A\u901A\u5173",class:"c-red"}),Object(a.a)(re,2,{name:"\u6309\u65F6\u901A\u5173",class:"c-green"}),Object(a.a)(re,3,{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}),re);return s.a.createElement("span",{className:(le=ye[U.status])===null||le===void 0?void 0:le.class},(ge=ye[U.status])===null||ge===void 0?void 0:ge.name)},G=function(U){var re,le,ge={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"}};return s.a.createElement("span",{className:(re=ge[U.status])===null||re===void 0?void 0:re.class},(le=ge[U.status])===null||le===void 0?void 0:le.name)},q=function(U){U=new Date(U).getTime();var re=1e3*60,le=re*60,ge=le*24,ye="",ke=new Date().getTime(),Ie=ke-U;if(Ie<0)return console.log("\u65F6\u95F4\u4E0D\u5BF9\u52B2,\u670D\u52A1\u5668\u521B\u5EFA\u65F6\u95F4\u4E0E\u5F53\u524D\u65F6\u95F4\u4E0D\u540C\u6B65"),ye="\u521A\u521A";var Le=parseInt(Ie/ge,10),Ye=parseInt(Ie/le,10),Ne=parseInt(Ie/re,10);return Le>30?ye=""+ie(U,"yyyy-MM-dd"):Le>1?ye=""+Le+"\u5929\u524D":Le==1?ye="\u6628\u5929":Ye>=1?ye=""+Ye+"\u5C0F\u65F6\u524D":Ne>=5?ye=""+Ne+"\u5206\u949F\u524D":ye="\u521A\u521A",ye},ie=function(U,re){typeof U=="string"&&(U.indexOf("T")>=0&&(U=U.replace("T"," ")),U=new Date(Date.parse(U.replace(/-/g,"/")))),U=new Date(U);var le={"M+":U.getMonth()+1,"d+":U.getDate(),"h+":U.getHours(),"m+":U.getMinutes(),"s+":U.getSeconds(),"q+":Math.floor((U.getMonth()+3)/3),S:U.getMilliseconds()},ge=[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]];/(y+)/.test(re)&&(re=re.replace(RegExp.$1,(U.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(re)&&(re=re.replace(RegExp.$1,ge[RegExp.$1.length-1][U.getDay()]));for(var ye in le)new RegExp("("+ye+")").test(re)&&(re=re.replace(RegExp.$1,RegExp.$1.length==1?le[ye]:("00"+le[ye]).substr((""+le[ye]).length)));return re},z=function(U){if(!U||U<0)return"0\u79D2";console.log("time:",U);var re=60,le=re*60,ge=le*24,ye=U/ge,ke=U/le,Ie=U/re,Le=U%60;return ye>=1?parseInt(ye.toString())+"\u5929"+Math.floor(ke%24)+"\u65F6"+Math.floor(Ie%60)+"\u5206"+Math.floor(U%60)+"\u79D2":ke>1?parseInt(ke.toString())+"\u65F6"+Math.floor(Ie%60)+"\u5206"+Math.floor(U%60)+"\u79D2":Ie>=1?parseInt(Ie.toString())+"\u5206"+Math.floor(U%60)+"\u79D2":Math.ceil(U)+"\u79D2"},oe=function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100,le=0;if(U){le=U.length;for(var ge=0;ge<le;ge++){var ye=U.charCodeAt(ge);ye>=55296&&ye<=56319&&(le--,ge++)}}return le<=re},Z=function(U,re,le){if(re){var ge=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im,ye=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/ig,ke=ye.test(re),Ie=ge.test(re);(ke===!0||Ie===!0||(re.length<2||re.length>=21))&&le("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}le()},H=function(U,re,le){if(re){var ge=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im,ye=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/ig,ke=ye.test(re),Ie=ge.test(re);(ke===!0||Ie===!0||(re.length<2||re.length>=11))&&le("2-10\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}le()},R=function(U){if(!U)return"";for(var re=U.length-1,le="",ge=0;ge<re;ge++)le+="*";var ye=U.substr(0,1)+le;return ye},j=function(U,re){var le=new FileReader;le.addEventListener("load",function(){return re(le.result)}),le.readAsDataURL(U)};function N(ne){var U="79e33abd4b6588941ab7622aed1e67e8";return S()(U+ne)}var M=function(U){var re,le=RegExp("(^| )"+U+"=([^;]+)(;|$)");return(re=document.cookie.match(le))?decodeURIComponent(re[2]):null};function K(ne,U,re){var le=new Date;le.setTime(le.getTime()+re*24*60*60*1e3);var ge="expires="+le.toUTCString();document.cookie=ne+"="+U+"; "+ge}var J=function(U){document.cookie=U+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;"};function pe(ne,U){var re=document.createElement("a");document.body.appendChild(re),re.href=U,ne&&(re.title=ne,re.download=ne);var le=document.createEvent("MouseEvents");le.initEvent("click",!1,!1),re.dispatchEvent(le),document.body.removeChild(re)}function ae(ne,U){return new Promise(function(re,le){var ge=U,ye=document.createElement("iframe"),ke;console.log("downloadFileUrl",ge),document.body.appendChild(ye),ye.src=ge,ye.style.display="none",ke=setInterval(function(){M("fileDownload")&&(J("fileDownload"),clearInterval(ke),re())},1e3)})}var he=function(U){var re=U.url,le=U.query;return re?(le&&function(){var ge=[],ye=function(Le){le.hasOwnProperty(Le)&&!E(le[Le])&&(typeof le[Le]=="object"?le[Le].map(function(Ye){ge.push("".concat(Le,"[]=").concat(Ye))}):ge.push("".concat(Le,"=").concat(le[Le])))};for(var ke in le)ye(ke);re.indexOf("?")!==-1?re="".concat(re,"&").concat(ge.join("&")):re="".concat(re,"?").concat(ge.join("&")),console.log("url1111",re)}(),re):""};function ve(){for(var ne=navigator.userAgent,U=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],re=!0,le=0;le<U.length;le++)if(ne.indexOf(U[le])>0){re=!1;break}return re}function te(){var ne=navigator.userAgent,U=["Chrome"];return U.some(function(re){return ne.indexOf(re)>-1})}function ee(){var ne=navigator.userAgent,U=["Chrome","Firefox"];return U.some(function(re){return ne.indexOf(re)>-1})}var ce=function(){var U,re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return re==null||((U=re.toString())===null||U===void 0)?void 0:U.replace(/\B(?=(\d{3})+(?!\d))/g,",")},W=function(U){var re=document.createElement("a");re.target="_blank",document.body.appendChild(re),re.href=U;var le=document.createEvent("MouseEvents");le.initEvent("click",!1,!1),re.dispatchEvent(le),document.body.removeChild(re)},X=function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return U.length<=6?U:"".concat(U.substring(0,3),"...").concat(U.substring(U.length-3,U.length))},ue=function(){var U=new Date().getHours(),re=new Date().getMinutes();return re>=30?(U++,re="00"):re="30",U+":"+re},$=function(){var U=new Date().getHours(),re=new Date().getMinutes();return re>=30?(U++,re="00"):re="30",new Date().toLocaleDateString().replace(/\//g,"-")+" "+U+":"+re},se;(function(ne){ne.Number="Number",ne.String="String",ne.Boolean="Boolean",ne.Object="Object",ne.Array="Array",ne.Function="Function"})(se||(se={}));var T=function(U){var re=Object.prototype.toString.call(U);return re.substring(8,re.length-1)},t=function(U){return T(U)===se.Array?U.length===0:T(U)===se.Object?Object.keys(U).length===0:!U},o=function(U,re){for(var le=[],ge=U;ge<re;ge++)le.push(ge);return le},C=function(U){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:12,le=re/2-2,ge=re/2+3;return U.length>re?U.substr(0,le)+"..."+U.substr(ge,re):U},y=function(U){return U>4.5?5:U>4&&U<=4.5?4.5:U>3.5&&U<=4?4:U>3&&U<=3.5?3.5:U>2.5&&U<=3?3:U>2&&U<=2.5?2.5:U>1.5&&U<=2?2:U>1&&U<=1.5?1.5:U>.5&&U<=1?1:U>0&&U<=.5?.5:0},E=function(U){return U==null};function V(ne,U){var re=new RegExp("(^|&)".concat(ne,"=([^&]*)(&|$)"),"i"),le=U.substr(1).match(re);return le!=null?decodeURIComponent(le[2]):null}var Y=function(U){switch(U.container_type){case"ApplyUserAuthentication":if(U.tiding_type==="Apply"){if(U.auth_type===1)return window.open("/admins/identity_authentications");if(U.auth_type===2)return window.open("/admins/professional_authentications")}return U.tiding_type==="System"?window.open("/account/certification"):void 0;case"CancelUserAuthentication":return window.open("/account/certification");case"CancelUserProCertification":return window.open("/account/certification");case"ApplyAddDepartment":return U.tiding_type==="Apply"?window.open("/admins/department_applies"):U.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAddSchools":return U.tiding_type==="Apply"?window.open("/admins/unit_applies"):U.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAction":switch(U.parent_container_type){case"ApplyShixun":if(U.tiding_type==="Apply")return window.open("/admins/shixun_authorizations");if(U.tiding_type==="System")return window.open("/shixuns/".concat(U.identifier,"/challenges"));case"ApplySubject":if(U.tiding_type==="Apply")return window.open("/admins/subject_authorizations");if(U.tiding_type==="System")return window.open("/paths/".concat(U.parent_container_id));case"TrialAuthorization":if(U.tiding_type==="Apply")return window.open("/managements/trial_authorization");if(U.tiding_type==="System")return window.open("/account/profile")}return;case"JoinCourse":return window.open("/classrooms/".concat(U.belong_container_id,"/teachers"));case"StudentJoinCourse":if(U.tiding_type==="Apply")return window.open("/classrooms/".concat(U.belong_container_id,"/teachers"));if(U.tiding_type==="System")return window.open("/classrooms/".concat(U.belong_container_id,"/students"));case"DealCourse":return window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/"));case"TeacherJoinCourse":return window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/"));case"Course":return U.tiding_type==="Delete"?void 0:window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/"));case"ArchiveCourse":return window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/"));case"Shixun":return window.open("/shixuns/".concat(U.identifier,"/challenges"));case"Subject":return window.open("/paths/".concat(U.container_id));case"JournalsForMessage":switch(U.parent_container_type){case"Principal":return"";case"HomeworkCommon":return U.homework_type==="normal"?window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.parent_container_id,"/question")):U.homework_type==="group"?window.open("/classrooms/".concat(U.belong_container_id,"/group_homework/").concat(U.parent_container_id,"/question")):U.homework_type==="practice"?window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/").concat(U.parent_container_id,"/detail?tabs=1")):"";case"GraduationTopic":return window.open("/classrooms/".concat(U.belong_container_id,"/graduation_topics/").concat(U.parent_container_id,"/detail"));case"StudentWorksScore":return U.homework_type==="normal"?window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.parent_container_id,"/question")):U.homework_type==="group"?window.open("/classrooms/".concat(U.belong_container_id,"/group_homework/").concat(U.parent_container_id,"/question")):U.homework_type==="practice"?window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/").concat(U.parent_container_id,"/detail?tabs=1")):""}case"Memo":return window.open("/forums/".concat(U.parent_container_id));case"Message":return window.open("/forums/");case"Watcher":return window.open("/users/".concat(U.trigger_user.login,"/classrooms"));case"PraiseTread":return"";case"Grade":return"";case"JoinProject":return window.open("/projects/".concat(U.container_id));case"ReporterJoinProject":return window.open("/projects/".concat(U.container_id));case"DealProject":return window.open("/projects/".concat(U.container_id));case"ManagerJoinProject":return window.open("/projects/".concat(U.container_id));case"Poll":switch(U.parent_container_type){case"CommitPoll":return window.open(" /classrooms/".concat(U.belong_container_id,"/poll/").concat(U.container_id,"/detail"));default:return window.open(" /classrooms/".concat(U.belong_container_id,"/poll/").concat(U.container_id,"/detail"))}case"Exercise":switch(U.parent_container_type){case"CommitExercise":return window.open(" /classrooms/".concat(U.belong_container_id,"/exercise/").concat(U.container_id,"/detail?tab=0"));case"ExerciseScore":return window.open(" /classrooms/".concat(U.belong_container_id,"/exercise/").concat(U.container_id,"/detail?tab=0"));default:return window.open("/classrooms/".concat(U.belong_container_id,"/exercise/").concat(U.container_id,"/detail?tab=0"))}case"StudentGraduationTopic":return window.open("/classrooms/".concat(U.belong_container_id,"/graduation_topics/").concat(U.parent_container_id,"/detail"));case"DealStudentTopicSelect":return window.open("/classrooms/".concat(U.belong_container_id,"/graduation_topics/").concat(U.parent_container_id,"/detail"));case"GraduationTask":return window.open("/classrooms/".concat(U.belong_container_id,"/graduation_tasks/").concat(U.container_id));case"GraduationWork":return window.open("/classrooms/".concat(U.belong_container_id,"/graduation_tasks/").concat(U.container_id));case"GraduationWorkScore":return window.open("/classrooms/".concat(U.belong_container_id,"/graduation_tasks/").concat(U.parent_container_id));case"HomeworkCommon":switch(U.parent_container_type){case"AnonymousCommentFail":if(U.homework_type==="normal")return window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.parent_container_id,"/detail"));if(U.homework_type==="group")return window.open("/classrooms/".concat(U.belong_container_id,"/group_homework/").concat(U.parent_container_id,"/detail"));if(U.homework_type==="practice")return window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/").concat(U.parent_container_id,"/detail?tabs=0"));case"HomeworkPublish":if(U.homework_type==="normal")return window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.parent_container_id,"/detail"));if(U.homework_type==="group")return window.open("/classrooms/".concat(U.belong_container_id,"/group_homework/").concat(U.parent_container_id,"/detail"));if(U.homework_type==="practice")return window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/").concat(U.parent_container_id,"/detail?tabs=0"));case"AnonymousAppeal":if(U.homework_type==="normal")return window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.parent_container_id,"/detail"));if(U.homework_type==="group")return window.open("/classrooms/".concat(U.belong_container_id,"/group_homework/").concat(U.parent_container_id,"/detail"));if(U.homework_type==="practice")return window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/").concat(U.parent_container_id,"/detail?tabs=0"));default:if(U.homework_type==="normal")return window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.parent_container_id,"/detail"));if(U.homework_type==="group")return window.open("/classrooms/".concat(U.belong_container_id,"/group_homework/").concat(U.parent_container_id,"/detail"));if(U.homework_type==="practice")return window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/").concat(U.parent_container_id,"/detail?tabs=0"))}case"StudentWork":if(U.homework_type==="normal")return window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.parent_container_id,"/review/").concat(U.container_id));if(U.homework_type==="group")return window.open("/classrooms/".concat(U.belong_container_id,"/group_homework/").concat(U.parent_container_id,"/review/").concat(U.container_id));if(U.homework_type==="practice")return window.open("/classrooms/".concat(U.belong_container_id,"/shixun_homework/").concat(U.parent_container_id,"/detail"));case"StudentWorksScore":return window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.trigger_user.id,"/review/").concat(U.parent_container_id));case"StudentWorksScoresAppeal":return window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.trigger_user.id,"/review/").concat(U.parent_container_id));case"ChallengeWorkScore":return"";case"SendMessage":return window.open("".concat(m.a.API_SERVER,"/admins/mirror_repositories"));case"Journal":return window.open("/issues/".concat(U.parent_container_id));case"Issue":return window.open("/issues/".concat(U.container_id));case"PullRequest":return window.open("/projects/".concat(U.parent_container_id,"/pull_requests"));case"Department":return window.open("/account/profile");case"Library":if(U.tiding_type==="Apply")return window.open("/admins/library_applies");if(U.tiding_type==="System")return window.open("/moop_cases/".concat(U.container_id));case"ProjectPackage":return U.tiding_type==="Destroyed"||U.tiding_type==="Destroyed_end"?void 0:U.tiding_type==="Apply"?window.open("/admins/project_package_applies"):window.open("/crowdsourcing/".concat(U.container_id));case"Discuss":return U.parent_container_type==="Hack"&&U.extra?window.open("/myproblems/".concat(U.extra,"/comment")):window.open("/shixuns/".concat(U.identifier,"/shixun_discuss"));case"Video":if(U.tiding_type==="Apply")return window.open("/admins/video_applies");if(U.tiding_type==="System"){var re;return window.open("/users/".concat((re=Object(d.w)())===null||re===void 0?void 0:re.login,"/videos"))}return"";case"PublicCourseStart":return window.open("/classrooms/".concat(U.container_id,"/informs"));case"SubjectStartCourse":return window.open("/paths/".concat(U.container_id));case"ResubmitStudentWork":if(U.homework_type==="normal")return window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.parent_container_id,"/").concat(U.container_id,"/appraise"));if(U.homework_type==="group")return window.open("/classrooms/".concat(U.belong_container_id,"/group_homework/").concat(U.parent_container_id,"/").concat(U.container_id,"/appraise"));case"AdjustScore":if(U.homework_type==="normal")return window.open("/classrooms/".concat(U.belong_container_id,"/common_homework/").concat(U.parent_container_id));if(U.homework_type==="group")return window.open("/classrooms/".concat(U.belong_container_id,"/group_homework/").concat(U.parent_container_id));case"LiveLink":return window.open("/classrooms/".concat(U.belong_container_id,"/course_videos?open=live"));case"Hack":if(U.extra&&U.parent_container_type!=="HackDelete")return window.open("/problems/".concat(U.extra,"/edit"));default:return}},_e=function(U){var re,le;return new Promise(function(){var ge=Object(e.a)(v.a.mark(function ye(ke,Ie){var Le;return v.a.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:if(!(U.ip_limit!=="no"||U.ip_bind)){Ne.next=4;break}return Ne.next=3,Object(l.a)({ip_limit:U==null?void 0:U.ip_limit});case 3:re=Ne.sent;case 4:return Ne.next=6,Object(w.f)({id:U.exerciseId,ip:re});case 6:if(Le=Ne.sent,Le.status===0?ke(Le):Ie(Le),!U.errmsgHide){Ne.next=10;break}return Ne.abrupt("return",!0);case 10:if(!(Le.status===-1)){Ne.next=15;break}return le=c.a.info({title:s.a.createElement(g.a,null,s.a.createElement(u.a,{flex:"1"},"\u63D0\u793A"),s.a.createElement(u.a,null,s.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return le.destroy()}}))),icon:null,className:"custom-modal-divider",content:s.a.createElement("div",{className:"font16 p20"},"\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01"),okText:"\u6211\u77E5\u9053\u4E86"}),Ne.abrupt("return",!1);case 15:if(!(Le.status===-2)){Ne.next=18;break}return le=c.a.info({title:s.a.createElement(g.a,null,s.a.createElement(u.a,{flex:"1"},"\u63D0\u793A"),s.a.createElement(u.a,null,s.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return le.destroy()}}))),icon:null,className:"custom-modal-divider",content:s.a.createElement("div",{className:"font16 p20"},"\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A",s.a.createElement("span",{className:"c-red"},Le.ip),"\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"),okText:"\u6211\u77E5\u9053\u4E86"}),Ne.abrupt("return",!1);case 18:case"end":return Ne.stop()}},ye)}));return function(ye,ke){return ge.apply(this,arguments)}}())},me=function(){var ne=Object(e.a)(v.a.mark(function U(re){var le;return v.a.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(!(re.ip_limit!=="no"||re.ip_bind)){ye.next=4;break}return ye.next=3,_e(re);case 3:te()||c.a.info({icon:null,okText:"\u786E\u5B9A",width:500,content:s.a.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",s.a.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3002",s.a.createElement("br",null),"\u8BF7\u4F7F\u7528",s.a.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")});case 4:if(!(re.open_camera||re.screen_open||re.ip_limit!=="no")){ye.next=12;break}if(ee()){ye.next=9;break}return c.a.info({icon:null,okText:"\u786E\u5B9A",width:500,content:s.a.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",s.a.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",s.a.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u3002",s.a.createElement("br",null),"\u8BF7\u4F7F\u7528",s.a.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",s.a.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")}),ye.abrupt("return",!1);case 9:le=c.a.info({title:s.a.createElement(g.a,null,s.a.createElement(u.a,{flex:"1"},"\u8003\u8BD5\u8BF4\u660E"),s.a.createElement(u.a,null,s.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return le.destroy()}}))),width:700,icon:null,className:"custom-modal-divider",content:s.a.createElement("div",{className:"font16 p20"},re.open_camera&&s.a.createElement(g.a,{align:"middle",justify:"start",className:"mt20"},s.a.createElement(u.a,null,s.a.createElement("span",{className:"iconfont icon-kaiqishexiangtou c-blue mr20 font24"})),s.a.createElement(u.a,null,"\u8FDB\u5165\u8003\u8BD5\u540E\uFF0C\u8BF7\u5141\u8BB8\u6444\u50CF\u5934\u6388\u6743\uFF0C\u6388\u6743\u540E\u6253\u5F00\u6444\u50CF\u5934\u65B9\u53EF\u4F5C\u7B54\uFF01",s.a.createElement("a",{target:"_blank",href:"http://local-exercise.educoder.net/%E6%97%A0%E6%B3%95%E8%B0%83%E7%94%A8%E6%91%84%E5%83%8F%E5%A4%B4.pdf"},"\u65E0\u6CD5\u8C03\u7528\u6444\u50CF\u5934\uFF1F"))),re.screen_open&&s.a.createElement(g.a,{justify:"start",className:"mt20"},s.a.createElement(u.a,{flex:"24px",className:"mr20"},s.a.createElement("span",{className:"iconfont icon-kaiqifangqieping c-blue font24"})),s.a.createElement(u.a,{flex:"1"},"\u5F53\u524D\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u5207\u5C4F\uFF0C\u5207\u5C4F\u8D85\u8FC7",re.screen_num,"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377\u3002\uFF08\u9000\u51FA\u5168\u5C4F\u5C06\u5224\u5B9A\u4E3A\u5207\u5C4F\u4E00\u6B21\uFF0C\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u8BF7\u52FF\u9000\u51FA\u5168\u5C4F\uFF09",s.a.createElement("a",{target:"_blank",href:"https://www.educoder.net/forums/4460"},"\u6D4F\u89C8\u5668\u65E0\u6CD5\u81EA\u52A8\u5168\u5C4F\uFF1F"))),(re.inner_ip!==""||re.public_ip!=="")&&re.ip_limit!=="no"&&s.a.createElement(g.a,{justify:"start",className:"mt20"},s.a.createElement(u.a,{flex:"24px",className:"mr20"},s.a.createElement("span",{className:"iconfont icon-IP c-blue font24"})),s.a.createElement(u.a,{flex:"1"},"\u5F53\u524D\u8003\u8BD5\u5DF2\u5F00\u542FIP\u8303\u56F4\u9650\u5B9A\u3002IP\u5730\u5740\u4E0D\u5728\u8303\u56F4\u5185\u4E0D\u53EF\u53C2\u52A0\u8003\u8BD5\u3002",s.a.createElement("br",null),s.a.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),s.a.createElement("br",null),s.a.createElement("a",{href:"https://www.educoder.net/forums/4478",target:"_blank"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))),re.ip_bind&&s.a.createElement(g.a,{justify:"start",className:"mt20"},s.a.createElement(u.a,{flex:"24px",className:"mr20"},s.a.createElement("span",{className:"iconfont icon-IPbangding c-blue font24"})),s.a.createElement(u.a,{flex:"1"},"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u8003\u8BD5\u671F\u95F4IP\u7ED1\u5B9A\u3002\u5F53\u60A8\u5F00\u59CB\u8003\u8BD5\u540E\uFF0C\u5C06\u81EA\u52A8\u7ED1\u5B9AIP\uFF0C\u8003\u8BD5\u671F\u95F4\u53EA\u5141\u8BB8\u4F7F\u7528\u552F\u4E00\u7684IP\u8FDB\u5165\u8003\u8BD5\u3002\u5982\u9047\u7279\u6B8A\u60C5\u51B5\uFF0C\u53EF\u5411\u8001\u5E08\u7533\u8BF7\u89E3\u9664IP\u7ED1\u5B9A\u3002",s.a.createElement("br",null),s.a.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),s.a.createElement("br",null),s.a.createElement("a",{href:"https://www.educoder.net/forums/4478",target:"_blank"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))),s.a.createElement("p",{className:"ml40 mt40"},s.a.createElement(n.a,{onChange:function(Ie){return le.update({okButtonProps:{disabled:!Ie.target.checked}})}},"\u6211\u5DF2\u9605\u8BFB"))),onOk:function(){var Ie;Object(x.d)(document.body),re.history.push("/classrooms/".concat(re.coursesId,"/exercise/").concat(re.exerciseId,"/users/").concat((Ie=Object(d.w)())===null||Ie===void 0?void 0:Ie.login))},okText:"\u8FDB\u5165\u8003\u8BD5",okButtonProps:{disabled:!0}}),ye.next=13;break;case 12:re.history.push("/classrooms/".concat(re.coursesId,"/exercise/").concat(re.exerciseId,"/users/").concat(re.login));case 13:case"end":return ye.stop()}},U)}));return function(re){return ne.apply(this,arguments)}}(),Ee=[{name:"\u535A\u58EB\u7814\u7A76\u751F",id:8},{name:"\u7855\u58EB\u7814\u7A76\u751F",id:7},{name:"\u672C\u79D1",id:6},{name:"\u5927\u4E13",id:5},{name:"\u4E2D\u4E13",id:4},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9}],Ae=function(U,re){var le={1:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6682\u672A\u53D1\u5E03\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",2:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u4E0D\u5B58\u5728\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",3:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",4:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E".concat(re,"\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002")},ge=le[U];de.b.warn(ge)},Te=function(U,re){for(var le,ge,ye=window.atob(U),ke=ye.length,Ie=new Uint8Array(ke),Le=0;Le<ke;++Le)Ie[Le]=ye.charCodeAt(Le);return console.log("type:",f[(le=re.split("."))===null||le===void 0?void 0:le[1]]||"application/octet-stream"),new Blob([Ie],{type:f[(ge=re.split("."))===null||ge===void 0?void 0:ge[1]]||"application/octet-stream"})},xe=function(U,re,le){var ge=Te(re,le);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(ge,U);else{var ye=document.createElement("a");ye.href=window.URL.createObjectURL(ge),ye.download=U,document.body.appendChild(ye);var ke=document.createEvent("MouseEvents");ke.initEvent("click",!1,!1),ye.dispatchEvent(ke),document.body.removeChild(ye)}}},"96GE":function(We,be,Q){"use strict";Q.r(be),Q.d(be,"formatQuery",function(){return me});var Pe=Q("1pX7"),de=Q("0qJU"),fe=Q("k1fw"),n=Q("PpiC"),O=Q("q1tI"),v=Q.n(O),h=Q("9kvl"),g=Q("JqQi"),i=Q.n(g),u=Q("jOhD"),p=Q("d+VM"),c=Q("W9l/"),e=Q("Fc8i"),a=Q("iLsX"),r=Q("MsSA"),s=Q("WmNS"),d=Q.n(s),l=Q("9og8"),w=Q("tJVT"),x=Q("nUhQ"),f=Q.n(x),A=Q("Ty1v"),S=Q("xsT+"),m=Q("sOUE"),_=Q("TZBT"),P=Q("Zc97"),k=Q("y9hn"),b=Q("4ZVq"),L=Q("FIeM"),D=Q("Ty5D"),F=Q("sWEp"),I=Q.n(F),B=Q("qdXH"),G=L.a.Search,q=function(xe){var ne,U=xe.videoDetail,re=xe.globalSetting,le=xe.loading,ge=xe.dispatch,ye=Object(n.a)(xe,["videoDetail","globalSetting","loading","dispatch"]),ke=Object(D.m)(),Ie=Object(D.l)(),Le=Object(O.useState)([]),Ye=Object(w.a)(Le,2),Ne=Ye[0],Qe=Ye[1],rt=Object(O.useState)(""),it=Object(w.a)(rt,2),tt=it[0],Re=it[1],Se=Object(O.useState)(),De=Object(w.a)(Se,2),je=De[0],we=De[1],Ce=Object(O.useState)(!1),Oe=Object(w.a)(Ce,2),Ve=Oe[0],Ge=Oe[1],He=Object(O.useState)(!1),Ze=Object(w.a)(He,2),$e=Ze[0],et=Ze[1];Object(O.useEffect)(function(){U.actionTabs.key==="Banner-SendToClass"&&Me()},[U.actionTabs.key]);var Me=function(){var Be=Object(l.a)(d.a.mark(function Ke(){var Ue,ze;return d.a.wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:return nt.next=2,Object(B.h)({});case 2:if(ze=nt.sent,!(ze==null||((Ue=ze.courses)===null||Ue===void 0)?void 0:Ue.length)){nt.next=8;break}Qe((ze==null?void 0:ze.courses)||[]),et(!0),nt.next=11;break;case 8:return qe(),k.b.info("\u60A8\u5F53\u524D\u6CA1\u6709\u7BA1\u7406\u4EFB\u4F55\u8BFE\u5802\uFF0C\u4E0D\u53EF\u53D1\u9001"),nt.abrupt("return");case 11:case"end":return nt.stop()}},Ke)}));return function(){return Be.apply(this,arguments)}}(),Fe=function(Ke){Qe(Ne==null?void 0:Ne.map(function(Ue){return Object(fe.a)(Object(fe.a)({},Ue),{},{hide:!Ue.course_name.includes(Ke)})}))},Xe=function(){var Be=Object(l.a)(d.a.mark(function Ke(){var Ue;return d.a.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(je){Je.next=3;break}return Ge(!0),Je.abrupt("return");case 3:return Je.next=5,Object(B.n)({id:ke.videoId,course_id:je});case 5:Ue=Je.sent,(Ue==null?void 0:Ue.status)===0&&(k.b.success(Ue.message),qe(),h.c===null||h.c===void 0||h.c.replace("/classrooms/".concat(je,"/shixun_homework")));case 7:case"end":return Je.stop()}},Ke)}));return function(){return Be.apply(this,arguments)}}(),qe=function(){Re(""),we(null),Ge(!1),ge({type:"videoDetail/setActionTabs",payload:{}}),et(!1)};return v.a.createElement(S.a,{centered:!0,keyboard:!1,closable:!1,title:"\u53D1\u9001\u81F3\u8BFE\u5802",visible:$e,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:Xe,onCancel:qe},v.a.createElement("div",{className:I.a.wrap},v.a.createElement("div",{className:"mb10"},v.a.createElement(G,{placeholder:"\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:tt,onChange:function(Ke){return Re(Ke.target.value)},onSearch:function(Ke){Re(Ke),Fe(Ke)}})),v.a.createElement("div",{className:I.a.radioWrap},v.a.createElement(_.a.Group,{value:je,onChange:function(Ke){we(Ke.target.value),Ge(!1)}},Ne==null||((ne=Ne.filter(function(Be){return!(Be==null?void 0:Be.hide)}))===null||ne===void 0)?void 0:ne.map(function(Be,Ke){return v.a.createElement(_.a,{className:I.a.radio,value:Be.course_id,key:Ke},Be.course_name)}))),Ve&&v.a.createElement("div",{className:I.a.colorFF0000},"\u8BF7\u9009\u62E9\u4F60\u8981\u53D1\u9001\u7684\u8BFE\u5802"),v.a.createElement("div",{className:I.a.title},"\u6E29\u99A8\u63D0\u793A\uFF1A\u5F53\u524D\u89C6\u9891\u9879\u76EE\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802")))},ie=Object(h.a)(function(Te){var xe=Te.videoDetail,ne=Te.loading,U=Te.globalSetting;return{videoDetail:xe,globalSetting:U,loading:ne.models.index}})(q),z=Q("sBCT"),oe=Q("1vsH"),Z=Q("NLgs"),H=Q("URN1"),R=Q("WCfL"),j=Q("Rqfs"),N=Q("P88I"),M=Q("oBTY"),K=Q("eoI0"),J=Q.n(K),pe=Q("HBuW"),ae=function(xe){var ne,U,re=xe.videoDetail,le=xe.dispatch,ge=le===void 0?function(){}:le,ye=xe.visible,ke=xe.onClose,Ie=ke===void 0?function(){}:ke,Le=re.queryParams,Ye=re.queryParams,Ne=Ye.subject_id,Qe=Ye.videoId,rt={videoId:Qe},it={query:Le},tt=Object(O.useState)(0),Re=Object(w.a)(tt,2),Se=Re[0],De=Re[1],je=Object(O.useState)(""),we=Object(w.a)(je,2),Ce=we[0],Oe=we[1],Ve=Object(O.useState)([]),Ge=Object(w.a)(Ve,2),He=Ge[0],Ze=Ge[1],$e=Object(O.useState)([]),et=Object(w.a)($e,2),Me=et[0],Fe=et[1];Object(O.useEffect)(function(){var Ue,ze,Je=((Ue=re.detail)===null||Ue===void 0||((ze=Ue.video_item)===null||ze===void 0)?void 0:ze.schools)||[];De((Je==null?void 0:Je.length)?1:0),Fe(Je)},[(ne=re.detail)===null||ne===void 0||((U=ne.video_item)===null||U===void 0)?void 0:U.schools]);var Xe=function(){var Ue=Object(l.a)(d.a.mark(function ze(Je){var nt;return d.a.wrap(function(at){for(;;)switch(at.prev=at.next){case 0:return at.next=2,Object(pe.L)({q:Je});case 2:nt=at.sent,nt&&Ze(nt.shools_name||[]);case 4:case"end":return at.stop()}},ze)}));return function(Je){return Ue.apply(this,arguments)}}(),qe=function(ze){if(Me.includes(ze)){k.b.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}Oe(""),Fe([].concat(Object(M.a)(Me),[ze]))},Be=function(){var Ue=Object(l.a)(d.a.mark(function ze(){var Je;return d.a.wrap(function(ot){for(;;)switch(ot.prev=ot.next){case 0:if(!(Se===1&&!(Me==null?void 0:Me.length))){ot.next=2;break}return ot.abrupt("return",k.b.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"));case 2:return ot.next=4,Object(B.a)(Object(fe.a)(Object(fe.a)({},me(it.query)),{},{id:rt.videoId,schools:Se===0?[]:Me}));case 4:Je=ot.sent,(Je==null?void 0:Je.status)===0&&(k.b.success("\u8BBE\u7F6E\u6210\u529F"),Ke());case 6:case"end":return ot.stop()}},ze)}));return function(){return Ue.apply(this,arguments)}}(),Ke=function(){Ie(),ge({type:"videoDetail/getVideoDetail",payload:Object(fe.a)(Object(fe.a)({},me(it.query)),{},{id:rt.videoId})})};return v.a.createElement(S.a,{centered:!0,maskClosable:!1,title:"\u6743\u9650\u8BBE\u7F6E",width:530,className:J.a.modal,visible:ye,onOk:Be,onCancel:Ke},v.a.createElement(v.a.Fragment,null,v.a.createElement(_.a.Group,{value:Se,onChange:function(ze){return De(ze.target.value)}},v.a.createElement(_.a,{value:0},"\u5BF9\u6240\u6709\u5355\u4F4D\u516C\u5F00",v.a.createElement("span",null,"\uFF08\u9009\u4E2D\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),v.a.createElement(_.a,{value:1},"\u5BF9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00",v.a.createElement("span",null,"\uFF08\u9009\u4E2D\u540E\uFF0C\u4EC5\u5BF9\u4E0B\u65B9\u6307\u5B9A\u5355\u4F4D\u7528\u6237\u53EF\u89C1\uFF09"))),Se===1&&v.a.createElement(v.a.Fragment,null,v.a.createElement("div",{className:"mt10"},v.a.createElement(N.a,{showSearch:!0,className:J.a.selectSchool,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:Ce,onChange:function(ze){Oe(ze),Xe(ze)},onSelect:qe,options:He==null?void 0:He.map(function(Ue){return{value:Ue}})})),v.a.createElement("div",{className:"mt10"},Me==null?void 0:Me.map(function(Ue,ze){return v.a.createElement(R.a,{count:v.a.createElement("span",{className:J.a.delete,onClick:function(){return Fe(Me.filter(function(nt){return nt!==Ue}))}},"x"),className:"mt10 mr20 current",key:ze},v.a.createElement(e.a,{type:"primary",ghost:!0},Ue))})))))},he=ae,ve=function(xe){var ne=xe.user,U=xe.videoDetail,re=xe.globalSetting,le=xe.loading,ge=xe.dispatch,ye=Object(n.a)(xe,["user","videoDetail","globalSetting","loading","dispatch"]),ke=U.queryParams,Ie=U.queryParams,Le=Ie.subject_id,Ye=Ie.videoId,Ne={videoId:Ye},Qe={query:ke},rt=Object(O.useState)(),it=Object(w.a)(rt,2),tt=it[0],Re=it[1],Se=Object(O.useState)(),De=Object(w.a)(Se,2),je=De[0],we=De[1],Ce=Object(O.useState)(!1),Oe=Object(w.a)(Ce,2),Ve=Oe[0],Ge=Oe[1],He=function(){ge({type:"videoDetail/setActionTabs",payload:{key:"Banner-SendToClass"}})},Ze=function(){var Fe=Object(l.a)(d.a.mark(function Xe(){var qe,Be,Ke;return d.a.wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:if(!(((qe=ne.userInfo)===null||qe===void 0?void 0:qe.admin)||((Be=ne.userInfo)===null||Be===void 0?void 0:Be.is_teacher)&&Object(Z.c)())){ze.next=6;break}return ze.next=3,Object(B.g)(Object(fe.a)({id:Ne.videoId},me(Qe.query)));case 3:Ke=ze.sent,we(Ke==null?void 0:Ke.video_item),Re(!0);case 6:case"end":return ze.stop()}},Xe)}));return function(){return Fe.apply(this,arguments)}}(),$e=function(){var Fe=Object(l.a)(d.a.mark(function Xe(qe){var Be;return d.a.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return Ue.next=2,Object(B.m)(Object(fe.a)(Object(fe.a)({},qe),{},{id:Ne.videoId},me(Qe.query)));case 2:return Be=Ue.sent,(Be==null?void 0:Be.status)===0&&(Re(!1),ge({type:"videoDetail/getVideoDetail",payload:Object(fe.a)({id:Ne.videoId},me(Qe.query))})),Ue.abrupt("return",Be);case 5:case"end":return Ue.stop()}},Xe)}));return function(qe){return Fe.apply(this,arguments)}}(),et=U.detail||{},Me=et.video_item;return v.a.createElement("aside",{className:f.a.banner},v.a.createElement("aside",{className:f.a.wrap},v.a.createElement("p",{className:f.a.title},Me==null?void 0:Me.name),v.a.createElement("div",{className:f.a.contentWrap},v.a.createElement("span",{className:"font14 c-white"},v.a.createElement("span",{className:"mr10"},"\u5B66\u4E60\u4EBA\u6570\uFF1A"),v.a.createElement("span",null,(Me==null?void 0:Me.study_video_items_count)||0),v.a.createElement("span",{className:"ml100 mr10"},"\u5B66\u5458\u8BC4\u5206\uFF1A"),v.a.createElement(r.a,{allowHalf:!0,value:Object(oe.p)(Me==null?void 0:Me.star),disabled:!0,className:f.a.rating})),v.a.createElement("div",null,(Me==null?void 0:Me.can_edit)&&v.a.createElement(e.a,{className:"".concat(f.a.button," ").concat(f.a.buttonTransparent," mr15"),onClick:function(){return Ge(!0)}},"\u6743\u9650\u8BBE\u7F6E"),(Me==null?void 0:Me.can_edit)&&v.a.createElement(e.a,{className:"".concat(f.a.button," ").concat(f.a.buttonTransparent," mr15"),onClick:Ze},"\u7F16\u8F91"),v.a.createElement(p.a,{title:"\u53EF\u5C06\u672C\u89C6\u9891\u53D1\u9001\u81F3\u6211\u7684\u8BFE\u5802\u4E2D\u7684\u89C6\u9891\u680F\u76EE",placement:"bottom"},v.a.createElement(e.a,{className:"".concat(f.a.button," ").concat(f.a.buttonTransparent," mr15"),onClick:He},"\u53D1\u9001\u81F3"))))),v.a.createElement(ie,null),v.a.createElement(z.a,{editData:je,visible:tt,onCancel:function(){return Re(!1)},onOk:$e}),v.a.createElement(he,{dispatch:ge,videoDetail:U,visible:Ve,onClose:function(){return Ge(!1)}}))},te=Object(h.a)(function(Te){var xe=Te.user,ne=Te.videoDetail,U=Te.loading,re=Te.globalSetting;return{user:xe,videoDetail:ne,globalSetting:re,loading:U}})(ve),ee=Q("Hejl"),ce=Q("Lgtz"),W=Q("J66h"),X=Q("hgre"),ue=Q("9Bee"),$=Q("vZDz"),se=Q.n($),T=Q("9VGf"),t=function(xe){var ne=xe.videoDetail,U=xe.globalSetting,re=xe.loading,le=xe.dispatch,ge=Object(n.a)(xe,["videoDetail","globalSetting","loading","dispatch"]),ye=ne.queryParams,ke=ne.selectParams,Ie=ne.videoList,Le=ye.subject_id,Ye=ye.videoId,Ne=ke.checkBoxValue,Qe=ke.radioValue,rt={videoId:Ye},it={query:ye},tt=Object(O.useRef)(),Re=Object(O.useRef)(),Se=Object(O.useRef)(),De=Object(O.useRef)(5),je=ne.detail||{},we=je.video_item;Object(T.a)(Object(l.a)(d.a.mark(function Me(){return d.a.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(!Re.current){Xe.next=5;break}return console.log("videoRef lastUpdatedTime: ",tt.current.getLastUpdatedTime()),console.log(tt.current),Xe.next=5,Ce();case 5:case"end":return Xe.stop()}},Me)})),De.current*1e3);var Ce=function(){var Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Xe=Fe?{is_f:1}:{};return Object(B.o)(Object(fe.a)(Object(fe.a)({},Xe),{id:rt.videoId,point:tt.current.getLastUpdatedTime(),total:tt.current.getDuration()}))},Oe=function(Fe){return console.log("handlLogWatchHistory: ",Fe),Fe.ed==="1"&&(Re.current=!1,Ce(!0)),!Re.current&&!Fe.ed&&(Re.current=!0,De.current=tt.current.getDuration()<=5?1:5,Ce()),le({type:"userDetail/logWatchHistory",payload:Fe})},Ve=function(){Re.current=!1},Ge=function(){Re.current=!0},He=function(){Se.current=5,S.a.confirm({width:600,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u8BF7\u7ED9\u672C\u89C6\u9891\u8BC4\u5206",content:v.a.createElement("div",{className:"tc font14"},v.a.createElement(r.a,{defaultValue:Se.current,onChange:function(Xe){return Se.current=Xe},className:se.a.modalRating})),onOk:function(){var Fe=Object(l.a)(d.a.mark(function qe(){var Be;return d.a.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return Ue.next=2,Object(B.l)({id:rt.videoId,star:Se.current});case 2:Be=Ue.sent,Be.status===0&&le({type:"videoDetail/getVideoDetail",payload:Object(fe.a)({id:rt.videoId},me(it.query))});case 4:case"end":return Ue.stop()}},qe)}));function Xe(){return Fe.apply(this,arguments)}return Xe}()})},Ze=function(Fe){var Xe=window.filterVideoSign,qe=Xe.findIndex(function(Je){return Je.id===Ye}),Be=qe===Xe.length-1;if(Be)return;var Ke=Xe[qe+1].id,Ue=Xe[qe+1].can_view,ze=Xe[qe+1].link;if(window.checkBoxValue){if(ze){window.open(ze);return}if(!Ue){S.a.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:v.a.createElement("div",{className:"tc font14"},"\u4E0B\u4E00\u6761\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});return}le({type:"videoDetail/handleList",payload:{videoId:Ke}}),window.videoTimer=setTimeout(function(){Fe.current.play()},2e3)}},$e=function(Fe,Xe){if(Fe==="checkBox"){var qe=Xe.target.checked;window.checkBoxValue=qe,le({type:"videoDetail/setSelectValue",payload:{radioValue:Qe,checkBoxValue:qe}});return}le({type:"videoDetail/setSelectValue",payload:{checkBoxValue:Ne,radioValue:Xe.target.value}})},et=function(){var Fe=Ie.findIndex(function(qe){return qe.id===Ye}),Xe=Fe===Ie.length-1;return Xe?v.a.createElement("div",null,"\u5F53\u524D\u5DF2\u662F\u6700\u540E\u4E00\u4E2A\u89C6\u9891"):v.a.createElement(ce.a,{onChange:function(Be){$e("checkBox",Be)},checked:Ne},"\u81EA\u52A8\u64AD\u653E\u4E0B\u4E00\u4E2A\u89C6\u9891")};return v.a.createElement("aside",{className:se.a.contentWrap},v.a.createElement("aside",{className:se.a.wrap},v.a.createElement("header",null,(we==null?void 0:we.description)&&v.a.createElement("span",{className:se.a.introName},"\u7B80\u4ECB"),Object(oe.y)(we==null?void 0:we.my_star)?v.a.createElement(e.a,{type:"primary",ghost:!0,onClick:He},"\u8BC4\u5206"):v.a.createElement("span",null,v.a.createElement("span",{className:"ml100 mr10 font14"},"\u6211\u7684\u8BC4\u5206\uFF1A"),v.a.createElement(r.a,{value:we==null?void 0:we.my_star,disabled:!0,className:se.a.rating}))),v.a.createElement("div",{className:"mt20"},v.a.createElement(ue.a,{value:(we==null?void 0:we.description)||""})),console.log("-------",we),v.a.createElement(X.a,{ref:tt,startTime:we==null?void 0:we.last_point,src:(we==null?void 0:we.is_link)?we==null?void 0:we.link:(we==null?void 0:we.play_url)&&W.Base64.decode(we==null?void 0:we.play_url),videoId:we==null?void 0:we.video_id,logWatchHistory:Oe,handlePause:Ve,handlePlay:Ge,videoSpeed:Qe,handlePlayEnded:Ze}),v.a.createElement("div",{className:se.a.footer},v.a.createElement("div",{className:se.a.checkBox},et()),v.a.createElement("div",{className:se.a.radioGroup},v.a.createElement(_.a.Group,{onChange:function(Fe){$e("radio",Fe)},value:Qe},v.a.createElement(_.a,{value:1},"1.0X"),v.a.createElement(_.a,{value:1.5},"1.5X"),v.a.createElement(_.a,{value:2},"2.0X"))))))},o=Object(h.a)(function(Te){var xe=Te.videoDetail,ne=Te.loading,U=Te.globalSetting;return{videoDetail:xe,globalSetting:U,loading:ne}})(t),C=Q("MRWH"),y=Q.n(C),E=Q("m3rI"),V=[{name:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",icon:v.a.createElement("i",{className:"iconfont icon-shixun2 font20"})},{name:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",icon:v.a.createElement("i",{className:"iconfont icon-shipin font20"})},{name:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",icon:v.a.createElement("i",{className:"iconfont icon-jiaoxueanli font20"})}],Y=function(xe){var ne=xe.dispatch,U=xe.videoDetail,re=xe.user,le=Object(n.a)(xe,["dispatch","videoDetail","user"]),ge=U.queryParams,ye=U.stages,ke=U.videoList,Ie=U.cust_seq,Le=ge.subject_id,Ye=ge.videoId;Object(O.useEffect)(function(){ne({type:"videoDetail/getStageData",payload:{subject_id:Le}})},[]);var Ne=function(){var Re=Object(l.a)(d.a.mark(function Se(De,je){var we;return d.a.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(ne({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8BAD\uFF0C\u8BF7\u7A0D\u540E..."}}),!je){Oe.next=7;break}return Oe.next=4,Object(pe.z)({id:De});case 4:Oe.t0=Oe.sent,Oe.next=10;break;case 7:return Oe.next=9,Object(pe.A)({id:De});case 9:Oe.t0=Oe.sent;case 10:if(we=Oe.t0,ne({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),!((we==null?void 0:we.game_identifier)||(we==null?void 0:we.identifier))){Oe.next=15;break}return Object(oe.A)(je?"/tasks/".concat(we==null?void 0:we.identifier,"/jupyter"):"/tasks/".concat(we.game_identifier)),Oe.abrupt("return");case 15:case"end":return Oe.stop()}},Se)}));return function(De,je){return Re.apply(this,arguments)}}(),Qe=function(Se){clearTimeout(window.videoTimer);var De=Se.id,je=Se.item_type,we=Se.identifier,Ce=Se.is_jupyter,Oe=Se.url,Ve=Se.link;if(console.log(ke),je==="VideoItem"&&!Ve){var Ge,He;if(!((Ge=re.userInfo)===null||Ge===void 0?void 0:Ge.admin)&&!((He=re.userInfo)===null||He===void 0?void 0:He.business)&&!Se.can_view){S.a.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:v.a.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});return}ne({type:"videoDetail/handleList",payload:{videoId:De}});return}if(je==="VideoItem"&&!!Ve){Se.link&&Object(B.o)({is_f:1,id:Se.id,point:0,total:0}),window.open(Ve);return}if(je==="Shixun"){Ne(we,Ce);return}window.open(E.a.IMG_SERVER+Oe)},rt=function(Se){var De=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],je=["","\u5341","\u767E","\u5343","\u4E07"];Se=parseInt(Se);var we=function(Ge){for(var He=Ge.toString().split("").reverse(),Ze="",$e=0;$e<He.length;$e++)Ze=($e==0&&He[$e]==0||$e>0&&He[$e]==0&&He[$e-1]==0?"":De[He[$e]]+(He[$e]==0?je[0]:je[$e]))+Ze;return Ze},Ce=Math.floor(Se/1e4),Oe=Se%1e4;return Oe.toString().length<4&&(Oe="0"+Oe),Ce?we(Ce)+"\u4E07"+we(Oe):we(Se)},it=function(Se,De,je,we){var Ce=Se.name,Oe=Se.item_type,Ve=Se.id;if(Oe==="StageCatalog")return;var Ge="".concat(De+1,"-").concat(je+1,"-").concat(we+1),He=V.find(function(et){return et.type===Oe}).icon,Ze=Oe==="VideoItem"?y.a.brght:y.a.gray,$e=Ye===Ve?"".concat(Ze," ").concat(y.a.active):Ze;return v.a.createElement("div",{key:Ge,onClick:function(){return Qe(Se)},className:$e,style:{paddingLeft:52}},v.a.createElement("span",{className:y.a.s1},He),!!Ie&&v.a.createElement("span",{className:y.a.s2},Ge),v.a.createElement("span",{className:y.a.s3},"\u203B ",Ce))},tt=function(Se,De,je){var we=Se.name,Ce=Se.item_type,Oe=Se.id,Ve=Se.children;if(Ce==="StageCatalog")return;var Ge="".concat(De+1,"-").concat(je+1),He=V.find(function(et){return et.type===Ce}).icon,Ze=Ce==="VideoItem"?y.a.brght:y.a.gray,$e=Ye===Oe?"".concat(Ze," ").concat(y.a.active):Ze;return v.a.createElement(O.Fragment,{key:Ge},v.a.createElement("div",{onClick:function(){return Qe(Se)},className:$e},v.a.createElement("span",{className:y.a.s1},He),!!Ie&&v.a.createElement("span",{className:y.a.s2},Ge),v.a.createElement("span",{className:y.a.s3},"\u203B ",we)),!!Ve.length&&Ve.map(function(et,Me){return it(et,De,je,Me)}))};return v.a.createElement("aside",{className:y.a.list},ye.map(function(Re,Se){var De=Re.stage_name,je=Re.shixuns_list,we=je===void 0?[]:je,Ce=Re.items,Oe=Ce===void 0?[]:Ce,Ve=Object(M.a)(Oe);return v.a.createElement("aside",{key:Se,className:y.a.box},v.a.createElement("div",{className:y.a.title},rt(Se+1),"\u3001",De),Ve.map(function(Ge,He){return tt(Ge,Se,He)}),Se!==ye.length-1&&v.a.createElement("div",{className:y.a.line}))}))},_e=Object(h.a)(function(Te){var xe=Te.user,ne=Te.videoDetail,U=Te.loading,re=Te.globalSetting;return{user:xe,videoDetail:ne,globalSetting:re,loading:U}})(Y),me=function(xe){var ne=xe.subject_id;return{subject_id:ne,course_id:ne}},Ee=function(xe){var ne=xe.videoDetail,U=xe.globalSetting,re=xe.loading,le=xe.dispatch,ge=Object(n.a)(xe,["videoDetail","globalSetting","loading","dispatch"]),ye=ne.queryParams,ke=ye.subject_id,Ie=ye.videoId,Le={videoId:Ie},Ye={query:ye};return Object(O.useEffect)(function(){if(!Le.videoId)return;le({type:"videoDetail/getVideoDetail",payload:Object(fe.a)(Object(fe.a)({},me(Ye.query)),{},{id:Le.videoId})})},[Le.videoId]),Object(O.useEffect)(function(){var Ne,Qe;document.title=((Ne=ne.detail)===null||Ne===void 0||((Qe=Ne.video_item)===null||Qe===void 0)?void 0:Qe.name)||"EduCoder"},[ne]),v.a.createElement(de.a,{spinning:!1},v.a.createElement("section",{className:i.a.bg},v.a.createElement(te,null),v.a.createElement("div",{className:i.a.container},v.a.createElement(_e,null),v.a.createElement(o,null))))},Ae=be.default=Object(h.a)(function(Te){var xe=Te.videoDetail,ne=Te.loading,U=Te.globalSetting;return{videoDetail:xe,globalSetting:U,loading:ne}})(Ee)},"9Bee":function(We,be,Q){"use strict";var Pe=Q("q1tI"),de=Q.n(Pe),fe=Q("vg9a"),n=Q("tJVT"),O=Q("DlQD"),v=Q.n(O),h=Q("rUJ1");function g(G,q){var ie=G.match(/^(\s+)(?:```)/);if(ie===null)return q;var z=ie[1];return q.split(`
|
|
|
`).map(function(oe){var Z=oe.match(/^\s+/);if(Z===null)return oe;var H=Object(n.a)(Z,1),R=H[0];return R.length>=z.length?oe.slice(z.length):oe}).join(`
|
|
|
`)}var i=[],u=["<ul>"],p=new v.a.Renderer,c=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function e(){i.length=0,u=["<ul>"]}function a(G,q,ie,z){if(q>=G.length||G[q].level<=ie)return q;var oe=G[q];z.push("<li><a href='#"+oe.anchor+"'>"+oe.text+"</a>"),q++;var Z=[];return q=a(G,q,oe.level,Z),Z.length>0&&(z.push("<ul>"),Z.forEach(function(H){z.push(H)}),z.push("</ul>")),z.push("</li>"),q=a(G,q,ie,z),q}function r(){return a(i,0,0,u),u.push("</ul>"),u.join("")}var s={heading:function(q){var ie=c.exec(q);if(ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},fences:function(q){var ie=this.rules.block.fences.exec(q);if(ie){var z=ie[0],oe=g(z,ie[3]||""),Z=ie[2]?ie[2].trim():ie[2];if(["latex","katex","math"].indexOf(Z)>=0){var H=w(),R=oe;oe=H,x[H]={type:"block",expression:R}}return{type:"code",raw:z,lang:Z,text:oe}}}},d=/(?:\${2})([^\n`]+?)(?:\${2})/gi,l=0,w=function(){return"__special_katext_id_".concat(l++,"__")},x={};function f(){return x}function A(){l=0,x={}}function S(G){return G=G.replace(d,function(q,ie){var z=w();return x[z]={type:"inline",expression:ie},z}),G}var m=p.listitem;p.listitem=function(G){return m(S(G))};var _=p.paragraph;p.paragraph=function(G){return _(S(G))};var P=p.tablecell;p.tablecell=function(G,q){return P(S(G),q)},p.code=function(G,q,ie){var z=(q||"").match(/\S*/)[0];return z?["latex","katex","math"].indexOf(z)>=0?"<p class='editormd-tex'>".concat(G,"</p>"):'<pre class="prettyprint linenums"><code class="language-'.concat(q,'">').concat(ie?G:Object(h.escape)(G,!0),`</code></pre>
|
|
|
`):'<pre class="prettyprint linenums"><code>'+(ie?G:Object(h.escape)(G,!0))+"</code></pre>"},p.heading=function(G,q,ie){var z=this.options.headerPrefix+ie.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return i.push({anchor:z,level:q,text:G}),"<h"+q+' id="'+z+'">'+G+"</h"+q+">"},v.a.setOptions({silent:!0,smartypants:!0,gfm:!0,pedantic:!1}),v.a.use({tokenizer:s,renderer:p});var k=v.a,b=Q("SJMd"),L=Q("m3rI"),D=Q("Oy/b"),F=/<pre[^>]*>/g;function I(G){var q=document.createElement("div");return q.innerHTML=G,q.childNodes.length===0?"":q.childNodes[0].nodeValue}var B=be.a=function(G){var q=G.value,ie=q===void 0?"":q,z=G.className,oe=G.style,Z=oe===void 0?{}:oe,H=String(ie),R=Object(Pe.useMemo)(function(){try{var M=/\(\s+\/api\/attachments\/|\(\/api\/attachments\/|\(\/attachments\/download\//g,K=/\"\/api\/attachments\/|\"\/attachments\/download\//g,J=/\(\s+\/files\/uploads\/|\(\/files\/uploads\//g;H=H.replace(M,"("+L.a.API_SERVER+"/api/attachments/").replace(K,'"'+L.a.API_SERVER+"/api/attachments/").replace(J,'"'+L.a.API_SERVER+"/files/uploads/")}catch(he){}var pe=k(H),ae=f();return H.match(/\[TOC\]/)&&(pe=pe.replace("<p>[TOC]</p>",r()),e()),pe=pe.replace(/(__special_katext_id_\d+__)/g,function(he,ve){var te=ae[ve],ee=te.type,ce=te.expression;return Object(D.renderToString)(I(ce)||"",{displayMode:ee==="block",throwOnError:!1,output:"html"})}),pe=pe.replace(/▁/g,"\u2581\u2581\u2581"),A(),pe},[H]),j=Object(Pe.useRef)();function N(M){var K=M.target;if(K.tagName.toUpperCase()==="A"){var J=K.getAttribute("href");if(J.startsWith("#")){M.preventDefault();var pe=document.getElementById(J.replace("#",""));pe&&pe.scrollIntoView(!0)}}}return Object(Pe.useEffect)(function(){if(j.current&&R&&(R.match(F)&&window.PR.prettyPrint()),j.current)return j.current.addEventListener("click",N),function(){j.current.removeEventListener("click",N),A(),e()}},[R,j.current,N]),de.a.createElement("div",{ref:j,style:Z,className:"".concat(z||""," markdown-body"),dangerouslySetInnerHTML:{__html:R}})}},"9VGf":function(We,be,Q){"use strict";Q.d(be,"a",function(){return fe});var Pe=Q("q1tI"),de=Q.n(Pe);function fe(n,O){var v=Object(Pe.useRef)();Object(Pe.useEffect)(function(){v.current=n}),Object(Pe.useEffect)(function(){function h(){v.current()}if(O!==null){var g=setInterval(h,O);return function(){return clearInterval(g)}}},[O])}},Aky1:function(We,be,Q){"use strict";Q.d(be,"a",function(){return g});var Pe=Q("ErOA"),de=Q("qGJc"),fe=Q.n(de),n="",O;function v(i){h(i)}function h(i){O=new fe.a.Vod({timeout:6e4,partSize:1048576,parallel:5,retryCount:3,retryDuration:2,region:"ap-southeast-1",userId:1829848226361863,enableUploadProgress:!1,addFileSuccess:function(p){console.log("addFileSuccess: "+p.file.name),i.addFileSuccess&&i.addFileSuccess(p),O.startUpload()},onUploadstarted:function(p){var c=p.file.name;if(p.videoId){var r="/api/users/".concat(n,"/video_auths.json");Object(Pe.a)(r,{method:"put",body:{video_id:p.videoId,title:c,file_name:c}}).then(function(s){if(s.status==-1){i.onUploadError&&i.onUploadError(p);return}var d=s.data,l=d.UploadAuth,w=d.UploadAddress,x=d.VideoId;O.setUploadAuthAndAddress(p,l,w)}).catch(function(s){O.deleteFile(O._curIndex),O.nextUpload(),console.log(s)})}else{var e="/api/users/".concat(n,"/video_auths.json"),a="";Object(Pe.a)(e,{method:"Post",body:{title:a+c,file_name:a+c}}).then(function(s){if(s){var d=s.data,l=d.UploadAuth,w=d.UploadAddress,x=d.VideoId;O.setUploadAuthAndAddress(p,l,w,x)}}).catch(function(s){O.deleteFile(O._curIndex),O.nextUpload(),console.log(s)}),console.log("\u6587\u4EF6\u5F00\u59CB\u4E0A\u4F20...")}},onUploadSucceed:function(p){i.onUploadSucceed&&i.onUploadSucceed(p),console.log("\u6587\u4EF6\u4E0A\u4F20\u6210\u529F!")},onUploadFailed:function(p,c,e){i.onUploadFailed&&i.onUploadFailed(p),console.log("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25!")},onUploadCanceled:function(p,c,e){console.log("\u6587\u4EF6\u4E0A\u4F20\u5DF2\u6682\u505C!")},onUploadProgress:function(p,c,e){i.onUploadProgress&&i.onUploadProgress(p,c,e);var a=Math.ceil(e*100);console.log("\u6587\u4EF6\u4E0A\u4F20\u4E2D...")},onUploadTokenExpired:function(p){console.log("\u6587\u4EF6\u4E0A\u4F20\u8D85\u65F6!");var c="/api/users/".concat(n,"/video_auths.json");Object(Pe.a)(c,{method:"put",body:{video_id:p.videoId}}).then(function(e){var a=e.data,r=a.UploadAuth;O.resumeUploadWithAuth(r)}).catch(function(e){console.log(e)})},onUploadEnd:function(p){i.onUploadEnd&&i.onUploadEnd(p),console.log("onUploadEnd: uploaded all the files")}}),i.gotUploader&&i.gotUploader(O)}function g(i,u){i&&(n=i),v(u);debugger}},JqQi:function(We,be,Q){We.exports={bg:"bg___31owl",container:"container___2NGOo"}},MRWH:function(We,be,Q){We.exports={flex_box_center:"flex_box_center___30XbU",flex_space_between:"flex_space_between___3jfWA",flex_box_vertical_center:"flex_box_vertical_center___27kWs",flex_box_center_end:"flex_box_center_end___1RoAS",flex_box_column:"flex_box_column____3Jvr",list:"list___2NJ_T",box:"box___36KCF",title:"title___Kd2ce",gray:"gray___14ob6",brght:"brght___GgzyD",s1:"s1___IhDpz",s2:"s2___3hR0s",s3:"s3___23SCF",active:"active___2_5D5",line:"line___3Croa"}},NLgs:function(We,be,Q){"use strict";Q.d(be,"d",function(){return i}),Q.d(be,"e",function(){return u}),Q.d(be,"c",function(){return c}),Q.d(be,"b",function(){return e}),Q.d(be,"a",function(){return a});var Pe=Q("Ty1v"),de=Q("xsT+"),fe=Q("q1tI"),n=Q.n(fe),O=Q("9kvl"),v=Q("xKgJ"),h=Q("1vsH"),g=Q("m3rI"),i=function(s){return!!(u(s)&&p())},u=function(s){return Object(v.o)()?!0:(s({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1)},p=function(){var s,d=Object(O.b)()._store.getState(),l=d.user;return((s=l.userInfo)===null||s===void 0?void 0:s.profile_completed)?!0:(de.a.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:n.a.createElement("div",{className:"tc font16"},"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:function(){O.c.push("/account/profile/edit")}}),!1)},c=function(){var s,d=Object(O.b)()._store.getState(),l=d.user;return((s=l.userInfo)===null||s===void 0?void 0:s.professional_certification)?!0:(de.a.confirm({title:"\u63D0\u793A",centered:!0,content:n.a.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:function(){Object(h.A)("/account/certification")}}),!1)},e=function(){return Object(v.a)()?!0:(de.a.confirm({centered:!0,width:530,title:"\u63D0\u793A",content:n.a.createElement("div",{className:"tc"},n.a.createElement("p",null,"\u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650"),n.a.createElement("img",{src:Object(v.s)()?Q("WdTA"):"".concat(g.a.IMG_SERVER,"/images/educoder/qqqun20191230.png"),width:200}),n.a.createElement("div",{className:"tc"},"\u7FA4\u53F7\uFF1A",Object(v.s)()?"693542422":"612934990")),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:function(){Object(h.A)("//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd")}}),!1)},a=function(s){return s?!0:(de.a.confirm({centered:!0,width:530,title:"\u63D0\u793A",content:n.a.createElement("div",null,n.a.createElement("p",null,"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),n.a.createElement("div",{style:{marginLeft:"110px"}},n.a.createElement("img",{src:Q("1ZF9"),width:200}),n.a.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:function(){Object(h.A)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1)}},WdTA:function(We,be,Q){We.exports=Q.p+"static/studnetqun.a5754d96.png"},bntm:function(We,be,Q){"use strict";Q.d(be,"d",function(){return Pe}),Q.d(be,"b",function(){return de}),Q.d(be,"c",function(){return fe}),Q.d(be,"a",function(){return n});function Pe(O){try{O.mozRequestFullScreen?O.mozRequestFullScreen():O.webkitRequestFullScreen&&O.webkitRequestFullScreen()}catch(v){console.log(v,":e")}}function de(){document.webkitExitFullscreen?document.webkitExitFullscreen():document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen&&document.mozCancelFullScreen()}var fe=function(){if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function n(){var O=document.fullscreenElement||document.mozFullscreenElement||document.webkitFullscreenElement,v=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return!(O==null)}},dfu6:function(We,be,Q){"use strict";Q.d(be,"a",function(){return Pe});var Pe=function(n){var O=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;return O.test(n)},de=function(n){var O=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/;return O.test(n)}},eoI0:function(We,be,Q){We.exports={selectSchool:"selectSchool___2Vrh7",delete:"delete___qM8Jm"}},hgre:function(We,be,Q){"use strict";var Pe=Q("WmNS"),de=Q.n(Pe),fe=Q("9og8"),n=Q("q1tI"),O=Q.n(n),v=Q("GUcZ");Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function h(u,p){return u-p}function g(u){u.sort(h);for(var p=0,c=0;c<u.length-1;c++){var e=Math.abs(u[c+1]-u[c]);e<21&&(p+=e)}return p}var i=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;be.a=Object(n.forwardRef)(function(u,p){var c,e=u.src,a=u.videoId,r=u.logWatchHistory,s=u.courseId,d=s===void 0?null:s,l=u.startTime,w=u.handlePause,x=w===void 0?function(){}:w,f=u.handlePlay,A=f===void 0?function(){}:f,S=u.handlePlayEnded,m=S===void 0?function(){}:S,_=u.videoSpeed,P=_===void 0?1:_,k=e==null||((c=e.split("."))===null||c===void 0)?void 0:c.pop(),b=k==="flv",L=Object(n.useRef)(),D=navigator.userAgent.toLowerCase().match(i),F=D?D[0]:"pc",I=Object(n.useRef)(!1),B=0,G=0,q=0,ie=null,z=!1,oe=20,Z=1,H=!1,R=!1,j=[];Object(n.useImperativeHandle)(p,function(){return{getLastUpdatedTime:function(){return L.current.currentTime},getDuration:function(){return L.current.duration}}});var N=Object(n.useCallback)(function(M){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,J={point:L.current.currentTime};ie?(J.log_id=ie,J.watch_duration=g(j),J.total_duration=G):(d?(J.video_id=parseInt(a,10),J.course_id=parseInt(d,10)):J.video_id=a,J.duration=B,J.device=F),K&&(J.ed="1");function pe(){return ae.apply(this,arguments)}function ae(){return ae=Object(fe.a)(de.a.mark(function he(){var ve;return de.a.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return H=!0,ee.next=3,r(J);case 3:ve=ee.sent,ie=ve,H=!1,M&&M();case 7:case"end":return ee.stop()}},he)})),ae.apply(this,arguments)}pe()},[a,d]);return Object(n.useEffect)(function(){var M=null;return v.a.isSupported&&b?(M=v.a.createPlayer({type:"flv",volume:.8,cors:!0,url:e,muted:!1}),L.current&&(M.attachMediaElement(L.current),M.load())):L.current.setAttribute("src",e),function(){M&&(M.unload(),M.pause(),M.destroy(),M=null)}},[L,b,e]),Object(n.useEffect)(function(){function M(){A(),l&&!I.current&&(L.current.currentTime=l),I.current=!0,j.push(L.current.currentTime),z||(z=!0,N())}function K(){return J.apply(this,arguments)}function J(){return J=Object(fe.a)(de.a.mark(function ee(){return de.a.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:j.push(L.current.currentTime),N(function(){ie=null,q=0,z=!1,H=!1,R=!1,j=[],G=0,Z=1},!0);case 2:case"end":return W.stop()}},ee)})),J.apply(this,arguments)}function pe(){if(!R){var ee=L.current.currentTime,ce=ee-q;Math.abs(ce)<10?(G+=Math.abs(ce),q=ee,H||G-Z*oe>=0&&(Z++,j.push(q),N())):(q=ee,N())}}function ae(){R=!0}function he(){L.current.playing&&j.push(L.current.currentTime,q),q=L.current.currentTime,R=!1}function ve(){B=L.current.duration,B<=20&&(oe=B/3),L.current.addEventListener("play",M)}function te(){x()}return L.current.addEventListener("canplay",ve),L.current.addEventListener("ended",K),L.current.addEventListener("seeking",ae),L.current.addEventListener("seeked",he),L.current.addEventListener("timeupdate",pe),L.current.addEventListener("pause",te),function(){L.current.removeEventListener("canplay",ve),L.current.removeEventListener("play",M),L.current.removeEventListener("ended",K),L.current.removeEventListener("seeking",ae),L.current.removeEventListener("seeked",he),L.current.removeEventListener("timeupdate",pe),L.current.removeEventListener("pause",te),L.current.playing&&(j.push(q,L.current.currentTime),N())}},[L,e]),Object(n.useEffect)(function(){L.current.onended=function(){m(L)},L.current.playbackRate=P},[e,P]),O.a.createElement("video",{ref:L,controls:!0,autoPlay:!1,controlsList:"nodownload",muted:!1})})},kwm0:function(We,be,Q){We.exports={modal:"modal___1jX7c",uploadWrap:"uploadWrap___3-sVK",upload:"upload___2LemY",uploadLink:"uploadLink___j9Fsx",fileProgress:"fileProgress___11p3K",fileCancel:"fileCancel___3Mx9l",videoName:"videoName___2a-ZN",contentItem:"contentItem___1gUuj",description:"description___2XNFq",colorOrange:"colorOrange___DiWgP"}},nUhQ:function(We,be,Q){We.exports={flex_box_center:"flex_box_center___1OQ1z",flex_space_between:"flex_space_between___22uwF",flex_box_vertical_center:"flex_box_vertical_center___1xWAr",flex_box_center_end:"flex_box_center_end___1QTe3",flex_box_column:"flex_box_column___lWxZG",banner:"banner___1Hzq6",wrap:"wrap___1D5RS",title:"title___1LzGm",contentWrap:"contentWrap___19oxo",button:"button___3chJs",rating:"rating___3ODxx"}},qGJc:function(We,be,Q){(function(Pe){var de,de;!function(fe){if(!0)window.OSS=fe(),We.exports=fe();else var n}(function(){var fe;return function(){function n(O,v,h){function g(p,c){if(!v[p]){if(!O[p]){var e=typeof de=="function"&&de;if(!c&&e)return de(p,!0);if(i)return i(p,!0);var a=new Error("Cannot find module '"+p+"'");throw a.code="MODULE_NOT_FOUND",a}var r=v[p]={exports:{}};O[p][0].call(r.exports,function(s){return g(O[p][1][s]||s)},r,r.exports,n,O,v,h)}return v[p].exports}for(var i=typeof de=="function"&&de,u=0;u<h.length;u++)g(h[u]);return g}return n}()({1:[function(n,O,v){"use strict";var h=n("./browser/client");h.Buffer=n("buffer").Buffer,h.co=n("co"),h.urllib=n("../shims/xhr"),h.version=n("./browser/version").version,O.exports=h},{"../shims/xhr":244,"./browser/client":2,"./browser/version":5,buffer:38,co:41}],2:[function(n,O,v){(function(h,g){"use strict";function i(H){return H&&H.__esModule?H:{default:H}}function u(H,R){return H[R]||H[R.toLowerCase()]}function p(H,R){var j=b.parse(H);if(!j.protocol){var N=R?"https://":"http://";j=b.parse(N+H)}if(j.protocol!=="http:"&&j.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return j}function c(H,R,j){var N=j?"https://":"http://",M=R?"-internal.aliyuncs.com":".aliyuncs.com";return H.substr(0,"vpc100-oss-cn-".length)==="vpc100-oss-cn-"&&(M=".aliyuncs.com"),b.parse(N+H+M)}function e(){return document&&document.location&&document.location.protocol==="https:"}function a(H,R){if(!(this instanceof a))return new a(H,R);H&&H.inited?this.options=H:this.options=a.initOptions(H),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=I,this.agent=this.options.agent||oe),this.ctx=R,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}var r=n("babel-runtime/regenerator"),s=i(r),d=n("babel-runtime/core-js/object/keys"),l=i(d),w=n("debug")("ali-oss"),x=n("./../../shims/crypto/crypto.js"),f=n("path"),A=n("copy-to"),S=n("mime"),m=n("xml2js"),_=n("humanize-ms"),P=n("agentkeepalive"),k=n("merge-descriptors"),b=n("url"),L=n("is-type-of"),D=n("platform"),F=n("utility"),I=n("urllib"),B=n("./version"),G=n("dateformat"),q=n("bowser"),ie=n("../common/signUtils"),z=n("../common/utils"),oe=new P;O.exports=a,a.initOptions=function(H){if(!H||!H.accessKeyId||!H.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");var R=e(),j={region:"oss-cn-hangzhou",internal:!1,secure:R,bucket:null,endpoint:null,cname:!1};if((0,l.default)(H).forEach(function(N){H[N]!==void 0&&(j[N]=H[N])}),j.accessKeyId=j.accessKeyId.trim(),j.accessKeySecret=j.accessKeySecret.trim(),j.timeout&&(j.timeout=_(j.timeout)),j.endpoint)j.endpoint=p(j.endpoint,j.secure);else{if(!j.region)throw new Error("require options.endpoint or options.region");j.endpoint=c(j.region,j.internal,j.secure)}return j.inited=!0,j};var Z=a.prototype;k(Z,n("./object")),k(Z,n("./managed_upload")),k(Z,n("../common/multipart")),k(Z,n("../common/thunkpool.js")),a.Wrapper=n("./wrapper"),Z.signature=function(H){return w("authorization stringToSign: %s",H),ie.computeSignature(this.options.accessKeySecret,H)},Z.authorization=function(H,R,j,N){var M=ie.buildCanonicalString(H.toUpperCase(),R,{headers:N,parameters:j});return ie.authorization(this.options.accessKeyId,this.options.accessKeySecret,M)},Z.createRequest=function(H){var R={"x-oss-date":G(+new Date+this.options.amendTimeSkewed,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.options.stsToken&&(R["x-oss-security-token"]=this.options.stsToken),A(H.headers).to(R),u(R,"Content-Type")||(H.mime===S.default_type&&(H.mime=""),H.mime&&H.mime.indexOf("/")>0?R["Content-Type"]=H.mime:R["Content-Type"]=S.getType(H.mime||f.extname(H.object||""))||"application/octet-stream"),H.content&&(R["Content-Md5"]=x.createHash("md5").update(new g(H.content,"utf8")).digest("base64"),R["Content-Length"]||(R["Content-Length"]=H.content.length));var j=this._getResource(H);R.authorization=this.authorization(H.method,j,H.subres,R);var N=this._getReqUrl(H);w("request %s %s, with headers %j, !!stream: %s",H.method,N,R,!!H.stream);var M=H.timeout||this.options.timeout;return{url:N,params:{agent:this.agent,method:H.method,content:H.content,stream:H.stream,headers:R,timeout:M,writeStream:H.writeStream,customResponse:H.customResponse,ctx:H.ctx||this.ctx}}},Z.request=s.default.mark(function H(R){var j,N,M,K;return s.default.wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return j=this.createRequest(R),N=void 0,M=void 0,J.prev=3,J.next=6,this.urllib.request(j.url,j.params);case 6:N=J.sent,w("response %s %s, got %s, headers: %j",R.method,j.url,N.status,N.headers),J.next=13;break;case 10:J.prev=10,J.t0=J.catch(3),M=J.t0;case 13:if(K=void 0,!N||!R.successStatuses||R.successStatuses.indexOf(N.status)!==-1){J.next=26;break}return J.next=17,this.requestError(N);case 17:if(K=J.sent,K.code!=="RequestTimeTooSkewed"){J.next=23;break}return this.options.amendTimeSkewed=+new Date(K.serverTime)-new Date,J.next=22,this.request(R);case 22:return J.abrupt("return",J.sent);case 23:K.params=R,J.next=30;break;case 26:if(!M){J.next=30;break}return J.next=29,this.requestError(M);case 29:K=J.sent;case 30:if(!K){J.next=32;break}throw K;case 32:if(!R.xmlResponse){J.next=36;break}return J.next=35,this.parseXML(N.data);case 35:N.data=J.sent;case 36:return J.abrupt("return",N);case 37:case"end":return J.stop()}},H,this,[[3,10]])}),Z._getResource=function(H){var R="/";return H.bucket&&(R+=H.bucket+"/"),H.object&&(R+=H.object),R},Z._isIP=function(H){return z._isIP(H)},Z._escape=function(H){return F.encodeURIComponent(H).replace(/%2F/g,"/")},Z._getReqUrl=function(H){var R={};A(this.options.endpoint).to(R);var j=this._isIP(R.hostname),N=this.options.cname;!H.bucket||N||j||(R.host=H.bucket+"."+R.host);var M="/";H.bucket&&j&&(M+=H.bucket+"/"),H.object&&(M+=this._escape(H.object).replace(/\+/g,"%2B")),R.pathname=M;var K={};if(H.query&&k(K,H.query),H.subres){var J={};L.string(H.subres)?J[H.subres]="":L.array(H.subres)?H.subres.forEach(function(pe){J[pe]=""}):J=H.subres,k(K,J)}return R.query=K,b.format(R)},Z._getUserAgent=function(){var H=h&&h.browser?"js":"nodejs",R="aliyun-sdk-"+H+"/"+B.version,j=D.description;return!j&&h&&(j="Node.js "+h.version.slice(1)+" on "+h.platform+" "+h.arch),this._checkUserAgent(R+" "+j)},Z._checkUserAgent=function(H){return H.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta")},Z.checkBrowserAndVersion=function(H,R){return q.name===H&&q.version.split(".")[0]===R},Z.parseXML=function(H){return function(R){g.isBuffer(H)&&(H=H.toString()),m.parseString(H,{explicitRoot:!1,explicitArray:!1},R)}},Z.requestError=s.default.mark(function H(R){var j,N,M,K;return s.default.wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(j=null,R.data&&R.data.length){J.next=5;break}R.status===-1||R.status===-2?(j=new Error(R.message),j.name=R.name,j.status=R.status,j.code=R.name):(R.status===404?(j=new Error("Object not exists"),j.name="NoSuchKeyError",j.status=404,j.code="NoSuchKey"):R.status===412?(j=new Error("Pre condition failed"),j.name="PreconditionFailedError",j.status=412,j.code="PreconditionFailed"):(j=new Error("Unknow error, status: "+R.status),j.name="UnknowError",j.status=R.status),j.requestId=R.headers["x-oss-request-id"],j.host=""),J.next=30;break;case 5:return N=String(R.data),w("request response error data: %s",N),M=void 0,J.prev=8,J.next=11,this.parseXML(N)||{};case 11:M=J.sent,J.next=21;break;case 14:return J.prev=14,J.t0=J.catch(8),w(N),J.t0.message+=`
|
|
|
raw xml: `+N,J.t0.status=R.status,J.t0.requestId=R.headers["x-oss-request-id"],J.abrupt("return",J.t0);case 21:K=M.Message||"unknow request error, status: "+R.status,M.Condition&&(K+=" (condition: "+M.Condition+")"),j=new Error(K),j.name=M.Code?M.Code+"Error":"UnknowError",j.status=R.status,j.code=M.Code,j.requestId=M.RequestId,j.hostId=M.HostId,j.serverTime=M.ServerTime;case 30:return w("generate error %j",j),J.abrupt("return",j);case 32:case"end":return J.stop()}},H,this,[[8,14]])})}).call(this,n("_process"),n("buffer").Buffer)},{"../common/multipart":8,"../common/signUtils":9,"../common/thunkpool.js":10,"../common/utils":11,"./../../shims/crypto/crypto.js":237,"./managed_upload":3,"./object":4,"./version":5,"./wrapper":6,_process:173,agentkeepalive:12,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,bowser:35,buffer:38,"copy-to":43,dateformat:154,debug:155,"humanize-ms":160,"is-type-of":165,"merge-descriptors":168,mime:242,path:170,platform:171,url:203,urllib:244,utility:243,xml2js:213}],3:[function(n,O,v){(function(h){"use strict";function g(A){return A&&A.__esModule?A:{default:A}}function i(A,S){if(!(this instanceof i))return new i(A,S);f.call(this,S),this.file=A,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}var u=n("babel-runtime/core-js/array/from"),p=g(u),c=n("babel-runtime/regenerator"),e=g(c),a=n("is-type-of"),r=n("util"),s=n("path"),d=n("mime"),l=n("copy-to"),w=v;w.multipartUpload=e.default.mark(function A(S,m,_){var P,k,b,L,D,F,I,B,G;return e.default.wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(this.resetCancelFlag(),_=_||{},!_.checkpoint||!_.checkpoint.uploadId){q.next=6;break}return q.next=5,this._resumeMultipart(_.checkpoint,_);case 5:return q.abrupt("return",q.sent);case 6:return P=102400,_.mime||(a.file(m)?_.mime=d.getType(s.extname(m.name)):a.blob(m)?_.mime=m.type:_.mime=d.getType(s.extname(m))),_.headers=_.headers||{},this._convertMetaToHeaders(_.meta,_.headers),q.next=12,this._getFileSize(m);case 12:if(!((k=q.sent)<P)){q.next=25;break}return b=this._createStream(m,0,k),_.contentLength=k,q.next=18,this.putStream(S,b,_);case 18:if(L=q.sent,!_||!_.progress){q.next=22;break}return q.next=22,_.progress(1);case 22:return D={res:L.res,bucket:this.options.bucket,name:S,etag:L.res.headers.etag},(_.headers&&_.headers["x-oss-callback"]||_.callback)&&(D.data=L.data),q.abrupt("return",D);case 25:if(!(_.partSize&&_.partSize<P)){q.next=27;break}throw new Error("partSize must not be smaller than "+P);case 27:return q.next=29,this.initMultipartUpload(S,_);case 29:if(F=q.sent,I=F.uploadId,B=this._getPartSize(k,_.partSize),G={file:m,name:S,fileSize:k,partSize:B,uploadId:I,doneParts:[]},!_||!_.progress){q.next=36;break}return q.next=36,_.progress(0,G,F.res);case 36:return q.next=38,this._resumeMultipart(G,_);case 38:return q.abrupt("return",q.sent);case 39:case"end":return q.stop()}},A,this)}),w._resumeMultipart=e.default.mark(function A(S,m){var _,P,k,b,L,D,F,I,B,G,q,ie,z,oe,Z,H,R,j,N,M,K;return e.default.wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(!this.isCancel()){J.next=2;break}throw this._makeCancelEvent();case 2:if(_=S.file,P=S.fileSize,k=S.partSize,b=S.uploadId,L=S.doneParts,D=S.name,F=[],L.length>0&&l(L).to(F),I=this._divideParts(P,k),B=I.length,G=!1,q=e.default.mark(function pe(ae,he){var ve,te,ee;return e.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:if(ae.isCancel()){ce.next=21;break}return ce.prev=1,ve=I[he-1],te={stream:ae._createStream(_,ve.start,ve.end),size:ve.end-ve.start},ce.next=6,ae._uploadPart(D,b,he,te);case 6:if(ee=ce.sent,ae.isCancel()||G){ce.next=13;break}if(S.doneParts.push({number:he,etag:ee.res.headers.etag}),F.push({number:he,etag:ee.res.headers.etag}),!m||!m.progress){ce.next=13;break}return ce.next=13,m.progress(L.length/B,S,ee.res);case 13:ce.next=21;break;case 15:if(ce.prev=15,ce.t0=ce.catch(1),ae.isCancel()){ce.next=21;break}throw ae.cancel(),ce.t0.partNum=he,ce.t0;case 21:case"end":return ce.stop()}},pe,this,[[1,15]])}),ie=(0,p.default)(new Array(B),function(pe,ae){return ae+1}),z=F.map(function(pe){return pe.number}),oe=ie.filter(function(pe){return z.indexOf(pe)<0}),Z=5,H=m.parallel||Z,!this.checkBrowserAndVersion("Internet Explorer","10")&&H!==1){J.next=26;break}R=0;case 16:if(!(R<oe.length)){J.next=24;break}if(!this.isCancel()){J.next=19;break}throw this._makeCancelEvent();case 19:return J.next=21,q(this,oe[R]);case 21:R++,J.next=16;break;case 24:J.next=40;break;case 26:for(j=[],N=0;N<oe.length;N++)j.push(q(this,oe[N]));return J.next=30,this._thunkPool(j,H);case 30:if(M=J.sent,G=!0,!(M&&M.length>0)){J.next=37;break}throw this.resetCancelFlag(),K=M[0],K.message="Failed to upload some parts with error: "+K.toString()+" part_num: "+K.partNum,K;case 37:if(!this.isCancel()){J.next=40;break}throw j=null,this._makeCancelEvent();case 40:return J.next=42,this.completeMultipartUpload(D,b,F,m);case 42:return J.abrupt("return",J.sent);case 43:case"end":return J.stop()}},A,this)}),a.file=function(A){return typeof File!="undefined"&&A instanceof File},a.blob=function(A){return typeof Blob!="undefined"&&A instanceof Blob},w._getFileSize=e.default.mark(function A(S){var m;return e.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(!a.buffer(S)){_.next=4;break}return _.abrupt("return",S.length);case 4:if(!a.blob(S)&&!a.file(S)){_.next=6;break}return _.abrupt("return",S.size);case 6:if(!a.string(S)){_.next=11;break}return _.next=9,this._statFile(S);case 9:return m=_.sent,_.abrupt("return",m.size);case 11:throw new Error("_getFileSize requires Buffer/File/String.");case 12:case"end":return _.stop()}},A,this)});var x=n("stream"),f=x.Readable;r.inherits(i,f),i.prototype.readFileAndPush=function(A){if(this.fileBuffer)for(var S=!0;S&&this.fileBuffer&&this.start<this.fileBuffer.length;){var m=this.start,_=m+A;_=_>this.fileBuffer.length?this.fileBuffer.length:_,this.start=_,S=this.push(this.fileBuffer.slice(m,_))}},i.prototype._read=function(A){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file)return this.finish||(this.fileBuffer=null,this.finish=!0),void this.push(null);A=A||16384;var S=this;this.reader.onload=function(m){S.fileBuffer=new h(new Uint8Array(m.target.result)),S.file=null,S.readFileAndPush(A)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(A)},w._createStream=function(A,S,m){if(a.blob(A)||a.file(A))return new i(A.slice(S,m));throw new Error("_createStream requires File/String.")},w._getPartSize=function(A,S){return S?Math.max(Math.ceil(A/1e4),S):1048576},w._divideParts=function(A,S){for(var m=Math.ceil(A/S),_=[],P=0;P<m;P++){var k=S*P,b=Math.min(k+S,A);_.push({start:k,end:b})}return _},w._makeCancelEvent=function(){return{status:0,name:"cancel"}}}).call(this,n("buffer").Buffer)},{"babel-runtime/core-js/array/from":16,"babel-runtime/regenerator":33,buffer:38,"copy-to":43,"is-type-of":165,mime:242,path:170,stream:195,util:207}],4:[function(n,O,v){"use strict";function h(S){return S&&S.__esModule?S:{default:S}}var g=n("babel-runtime/core-js/object/keys"),i=h(g),u=n("babel-runtime/regenerator"),p=h(u),c=n("debug")("ali-oss:object"),e=n("utility"),a=n("fs"),r=n("is-type-of"),s=n("url"),d=n("copy-to"),l=n("path"),w=n("mime"),x=n("../common/callback"),f=n("../common/signUtils"),A=v;A.append=p.default.mark(function S(m,_,P){var k;return p.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return P=P||{},P.position===void 0&&(P.position="0"),P.subres={append:"",position:P.position},P.method="POST",b.next=6,this.put(m,_,P);case 6:return k=b.sent,k.nextAppendPosition=k.res.headers["x-oss-next-append-position"],b.abrupt("return",k);case 9:case"end":return b.stop()}},S,this)}),A.put=p.default.mark(function S(m,_,P){var k,b,L,D,F,I;return p.default.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(k=void 0,P=P||{},!r.buffer(_)){B.next=6;break}k=_,B.next=18;break;case 6:if(!r.blob(_)&&!r.file(_)){B.next=17;break}return P.mime||(r.file(_)?P.mime=w.getType(l.extname(_.name)):P.mime=_.type),b=this._createStream(_,0,_.size),B.next=11,this._getFileSize(_);case 11:return P.contentLength=B.sent,B.next=14,this.putStream(m,b,P);case 14:return B.abrupt("return",B.sent);case 17:throw new TypeError("Must provide Buffer/Blob for put.");case 18:return P.headers=P.headers||{},this._convertMetaToHeaders(P.meta,P.headers),L=P.method||"PUT",D=this._objectRequestParams(L,m,P),x.encodeCallback(D,P),D.mime=P.mime,D.content=k,D.successStatuses=[200],B.next=28,this.request(D);case 28:return F=B.sent,I={name:m,url:this._objectUrl(m),res:F.res},D.headers&&D.headers["x-oss-callback"]&&(I.data=JSON.parse(F.data.toString())),B.abrupt("return",I);case 32:case"end":return B.stop()}},S,this)}),A.putStream=p.default.mark(function S(m,_,P){var k,b,L,D;return p.default.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return P=P||{},P.headers=P.headers||{},P.contentLength?P.headers["Content-Length"]=P.contentLength:P.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(P.meta,P.headers),k=P.method||"PUT",b=this._objectRequestParams(k,m,P),x.encodeCallback(b,P),b.mime=P.mime,b.stream=_,b.successStatuses=[200],F.next=12,this.request(b);case 12:return L=F.sent,D={name:m,url:this._objectUrl(m),res:L.res},b.headers&&b.headers["x-oss-callback"]&&(D.data=JSON.parse(L.data.toString())),F.abrupt("return",D);case 16:case"end":return F.stop()}},S,this)}),A.head=p.default.mark(function S(m,_){var P,k,b;return p.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return P=this._objectRequestParams("HEAD",m,_),P.successStatuses=[200,304],L.next=4,this.request(P);case 4:return k=L.sent,b={meta:null,res:k.res,status:k.status},k.status===200&&(0,i.default)(k.headers).forEach(function(D){D.indexOf("x-oss-meta-")===0&&(b.meta||(b.meta={}),b.meta[D.substring(11)]=k.headers[D])}),L.abrupt("return",b);case 8:case"end":return L.stop()}},S,this)}),A.get=p.default.mark(function S(m,_,P){var k,b,L,D;return p.default.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return k=null,b=!1,r.writableStream(_)?k=_:r.string(_)?(k=a.createWriteStream(_),b=!0):P=_,P=P||{},P.process&&(P.subres=P.subres||{},P.subres["x-oss-process"]=P.process),L=void 0,F.prev=6,D=this._objectRequestParams("GET",m,P),D.writeStream=k,D.successStatuses=[200,206,304],F.next=12,this.request(D);case 12:L=F.sent,b&&k.destroy(),F.next=24;break;case 16:if(F.prev=16,F.t0=F.catch(6),!b){F.next=23;break}return k.destroy(),c("get error: %s, delete the exists file %s",F.t0,_),F.next=23,this._deleteFileSafe(_);case 23:throw F.t0;case 24:return F.abrupt("return",{res:L.res,content:L.data});case 25:case"end":return F.stop()}},S,this,[[6,16]])}),A.getStream=p.default.mark(function S(m,_){var P,k;return p.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return _=_||{},P=this._objectRequestParams("GET",m,_),P.customResponse=!0,P.successStatuses=[200,206,304],b.next=6,this.request(P);case 6:return k=b.sent,b.abrupt("return",{stream:k.res,res:{status:k.status,headers:k.headers}});case 8:case"end":return b.stop()}},S,this)}),A.delete=p.default.mark(function S(m,_){var P,k;return p.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return P=this._objectRequestParams("DELETE",m,_),P.successStatuses=[204],b.next=4,this.request(P);case 4:return k=b.sent,b.abrupt("return",{res:k.res});case 6:case"end":return b.stop()}},S,this)}),A.deleteMulti=p.default.mark(function S(m,_){var P,k,b,L,D,F;return p.default.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:for(_=_||{},P=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<Delete>
|
|
|
`,_.quiet?P+=` <Quiet>true</Quiet>
|
|
|
`:P+=` <Quiet>false</Quiet>
|
|
|
`,k=0;k<m.length;k++)P+=" <Object><Key>"+e.escape(this._objectName(m[k]))+`</Key></Object>
|
|
|
`;return P+="</Delete>",c("delete multi objects: %s",P),_.subres="delete",b=this._objectRequestParams("POST","",_),b.mime="xml",b.content=P,b.xmlResponse=!0,b.successStatuses=[200],I.next=14,this.request(b);case 14:return L=I.sent,D=L.data,F=D&&D.Deleted||null,F&&(Array.isArray(F)||(F=[F]),F=F.map(function(B){return B.Key})),I.abrupt("return",{res:L.res,deleted:F});case 19:case"end":return I.stop()}},S,this)}),A.copy=p.default.mark(function S(m,_,P){var k,b,L;return p.default.wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return P=P||{},P.headers=P.headers||{},(0,i.default)(P.headers).forEach(function(F){P.headers["x-oss-copy-source-"+F.toLowerCase()]=P.headers[F]}),P.meta&&(P.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(P.meta,P.headers),_=_[0]!=="/"?"/"+this.options.bucket+"/"+encodeURIComponent(_):"/"+encodeURIComponent(_.slice(1)),P.headers["x-oss-copy-source"]=_,k=this._objectRequestParams("PUT",m,P),k.xmlResponse=!0,k.successStatuses=[200,304],D.next=12,this.request(k);case 12:return b=D.sent,L=b.data,L&&(L={etag:L.ETag,lastModified:L.LastModified}),D.abrupt("return",{data:L,res:b.res});case 16:case"end":return D.stop()}},S,this)}),A.putMeta=p.default.mark(function S(m,_,P){return p.default.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,this.copy(m,m,{meta:_||{},timeout:P&&P.timeout,ctx:P&&P.ctx});case 2:return k.abrupt("return",k.sent);case 3:case"end":return k.stop()}},S,this)}),A.list=p.default.mark(function S(m,_){var P,k,b,L,D;return p.default.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return P=this._objectRequestParams("GET","",_),P.query=m,P.xmlResponse=!0,P.successStatuses=[200],F.next=6,this.request(P);case 6:return k=F.sent,b=k.data.Contents,L=this,b&&(Array.isArray(b)||(b=[b]),b=b.map(function(I){return{name:I.Key,url:L._objectUrl(I.Key),lastModified:I.LastModified,etag:I.ETag,type:I.Type,size:Number(I.Size),storageClass:I.StorageClass,owner:{id:I.Owner.ID,displayName:I.Owner.DisplayName}}})),D=k.data.CommonPrefixes||null,D&&(Array.isArray(D)||(D=[D]),D=D.map(function(I){return I.Prefix})),F.abrupt("return",{res:k.res,objects:b,prefixes:D,nextMarker:k.data.NextMarker||null,isTruncated:k.data.IsTruncated==="true"});case 13:case"end":return F.stop()}},S,this)}),A.putACL=p.default.mark(function S(m,_,P){var k,b;return p.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return P=P||{},P.subres="acl",P.headers=P.headers||{},P.headers["x-oss-object-acl"]=_,m=this._objectName(m),k=this._objectRequestParams("PUT",m,P),k.successStatuses=[200],L.next=9,this.request(k);case 9:return b=L.sent,L.abrupt("return",{res:b.res});case 11:case"end":return L.stop()}},S,this)}),A.getACL=p.default.mark(function S(m,_){var P,k;return p.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return _=_||{},_.subres="acl",m=this._objectName(m),P=this._objectRequestParams("GET",m,_),P.successStatuses=[200],P.xmlResponse=!0,b.next=8,this.request(P);case 8:return k=b.sent,b.abrupt("return",{acl:k.data.AccessControlList.Grant,owner:{id:k.data.Owner.ID,displayName:k.data.Owner.DisplayName},res:k.res});case 10:case"end":return b.stop()}},S,this)}),A.restore=p.default.mark(function S(m,_){var P,k;return p.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return _=_||{},_.subres="restore",P=this._objectRequestParams("POST",m,_),P.successStatuses=[202],b.next=6,this.request(P);case 6:return k=b.sent,b.abrupt("return",{res:k.res});case 8:case"end":return b.stop()}},S,this)}),A.signatureUrl=function(S,m){m=m||{},S=this._objectName(S),m.method=m.method||"GET";var _=e.timestamp()+(m.expires||1800),P={bucket:this.options.bucket,object:S},k=this._getResource(P);this.options.stsToken&&(m["security-token"]=this.options.stsToken);var b=f._signatureForURL(this.options.accessKeySecret,m,k,_),L=s.parse(this._getReqUrl(P));return L.query={OSSAccessKeyId:this.options.accessKeyId,Expires:_,Signature:b.Signature},d(b.subResource).to(L.query),L.format()},A.getObjectUrl=function(S,m){return m?m[m.length-1]!=="/"&&(m+="/"):m=this.options.endpoint.format(),m+this._escape(this._objectName(S))},A._objectUrl=function(S){return this._getReqUrl({bucket:this.options.bucket,object:S})},A.generateObjectUrl=function(S,m){if(m)m[m.length-1]!=="/"&&(m+="/");else{m=this.options.endpoint.format();var _=s.parse(m),P=this.options.bucket;_.hostname=P+"."+_.hostname,_.host=P+"."+_.host,m=_.format()}return m+this._escape(this._objectName(S))},A._objectRequestParams=function(S,m,_){if(!this.options.bucket)throw new Error("Please create a bucket first");_=_||{},m=this._objectName(m);var P={object:m,bucket:this.options.bucket,method:S,subres:_&&_.subres,timeout:_&&_.timeout,ctx:_&&_.ctx};return _.headers&&(P.headers={},d(_.headers).to(P.headers)),P},A._objectName=function(S){return S.replace(/^\/+/,"")},A._statFile=function(S){return function(m){a.stat(S,m)}},A._convertMetaToHeaders=function(S,m){S&&(0,i.default)(S).forEach(function(_){m["x-oss-meta-"+_]=S[_]})},A._deleteFileSafe=function(S){return function(m){a.exists(S,function(_){_?a.unlink(S,function(P){P&&c("unlink %j error: %s",S,P),m()}):m()})}}},{"../common/callback":7,"../common/signUtils":9,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,"copy-to":43,debug:155,fs:36,"is-type-of":165,mime:242,path:170,url:203,utility:243}],5:[function(n,O,v){"use strict";v.version="5.3.1"},{}],6:[function(n,O,v){"use strict";function h(l){return l&&l.__esModule?l:{default:l}}function g(l){return l&&typeof l.next=="function"&&typeof l.throw=="function"}function i(l){if(!l)return!1;var w=l.constructor;return!!w&&(w.name==="GeneratorFunction"||w.displayName==="GeneratorFunction"||g(w.prototype)||g(l.prototype))}function u(l,w){var x=new l(w),f=(0,r.default)(x),A=(0,r.default)((0,e.default)(x));f.concat(A).forEach(function(S){i(x[S])?this[S]=s.wrap(x[S]).bind(x):this[S]=x[S]},this)}function p(l){if(!(this instanceof p))return new p(l);u.call(this,d,l)}var c=n("babel-runtime/core-js/object/get-prototype-of"),e=h(c),a=n("babel-runtime/core-js/object/keys"),r=h(a),s=n("co"),d=n("./client");O.exports=p,p.STS=function l(w){if(!(this instanceof l))return new l(w);u.call(this,d.STS,w)}},{"./client":2,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/core-js/object/keys":23,co:41}],7:[function(n,O,v){(function(h){"use strict";function g(e){return e&&e.__esModule?e:{default:e}}var i=n("babel-runtime/core-js/object/keys"),u=g(i),p=n("babel-runtime/core-js/json/stringify"),c=g(p);v.encodeCallback=function(e,a){if(e.headers=e.headers||{},!Object.prototype.hasOwnProperty.call(e.headers,"x-oss-callback")&&a.callback){var r={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};a.callback.host&&(r.callbackHost=a.callback.host),a.callback.contentType&&(r.callbackBodyType=a.callback.contentType);var s=new h((0,c.default)(r)).toString("base64");if(e.headers["x-oss-callback"]=s,a.callback.customValue){var d={};(0,u.default)(a.callback.customValue).forEach(function(l){d["x:"+l]=a.callback.customValue[l]}),e.headers["x-oss-callback-var"]=new h((0,c.default)(d)).toString("base64")}}}}).call(this,n("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38}],8:[function(n,O,v){"use strict";var h=n("babel-runtime/regenerator"),g=function(c){return c&&c.__esModule?c:{default:c}}(h),i=n("copy-to"),u=n("./callback"),p=v;p.listUploads=g.default.mark(function c(e,a){var r,s,d,l;return g.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return a=a||{},r={},i(a).to(r),r.subres="uploads",s=this._objectRequestParams("GET","",r),s.query=e,s.xmlResponse=!0,s.successStatuses=[200],w.next=10,this.request(s);case 10:return d=w.sent,l=d.data.Upload||[],Array.isArray(l)||(l=[l]),l=l.map(function(x){return{name:x.Key,uploadId:x.UploadId,initiated:x.Initiated}}),w.abrupt("return",{res:d.res,uploads:l,bucket:d.data.Bucket,nextKeyMarker:d.data.NextKeyMarker,nextUploadIdMarker:d.data.NextUploadIdMarker,isTruncated:d.data.IsTruncated==="true"});case 15:case"end":return w.stop()}},c,this)}),p.listParts=g.default.mark(function c(e,a,r,s){var d,l,w;return g.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return s=s||{},d={},i(s).to(d),d.subres={uploadId:a},l=this._objectRequestParams("GET",e,d),l.query=r,l.xmlResponse=!0,l.successStatuses=[200],x.next=10,this.request(l);case 10:return w=x.sent,x.abrupt("return",{res:w.res,uploadId:w.data.UploadId,bucket:w.data.Bucket,name:w.data.Key,partNumberMarker:w.data.PartNumberMarker,nextPartNumberMarker:w.data.NextPartNumberMarker,maxParts:w.data.MaxParts,isTruncated:w.data.IsTruncated,parts:w.data.Part||[]});case 12:case"end":return x.stop()}},c,this)}),p.abortMultipartUpload=g.default.mark(function c(e,a,r){var s,d,l;return g.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return this.cancel(),r=r||{},s={},i(r).to(s),s.subres={uploadId:a},d=this._objectRequestParams("DELETE",e,s),d.successStatuses=[204],w.next=9,this.request(d);case 9:return l=w.sent,w.abrupt("return",{res:l.res});case 11:case"end":return w.stop()}},c,this)}),p.initMultipartUpload=g.default.mark(function c(e,a){var r,s,d;return g.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return a=a||{},r={},i(a).to(r),r.headers=r.headers||{},this._convertMetaToHeaders(a.meta,r.headers),r.subres="uploads",s=this._objectRequestParams("POST",e,r),s.mime=a.mime,s.xmlResponse=!0,s.successStatuses=[200],l.next=12,this.request(s);case 12:return d=l.sent,l.abrupt("return",{res:d.res,bucket:d.data.Bucket,name:d.data.Key,uploadId:d.data.UploadId});case 14:case"end":return l.stop()}},c,this)}),p.uploadPart=g.default.mark(function c(e,a,r,s,d,l,w){var x;return g.default.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return x={stream:this._createStream(s,d,l),size:l-d},f.next=3,this._uploadPart(e,a,r,x,w);case 3:return f.abrupt("return",f.sent);case 4:case"end":return f.stop()}},c,this)}),p.completeMultipartUpload=g.default.mark(function c(e,a,r,s){var d,l,w,x,f,A,S,m;return g.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:for(d=r.concat().sort(function(P,k){return P.number-k.number}).filter(function(P,k,b){return!k||P.number!==b[k-1].number}),l=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,w=0;w<d.length;w++)x=d[w],l+=`<Part>
|
|
|
`,l+="<PartNumber>"+x.number+`</PartNumber>
|
|
|
`,l+="<ETag>"+x.etag+`</ETag>
|
|
|
`,l+=`</Part>
|
|
|
`;return l+="</CompleteMultipartUpload>",s=s||{},f={},i(s).to(f),f.subres={uploadId:a},A=this._objectRequestParams("POST",e,f),u.encodeCallback(A,f),A.mime="xml",A.content=l,A.headers&&A.headers["x-oss-callback"]||(A.xmlResponse=!0),A.successStatuses=[200],_.next=16,this.request(A);case 16:return S=_.sent,m={res:S.res,bucket:A.bucket,name:e,etag:S.res.headers.etag},A.headers&&A.headers["x-oss-callback"]&&(m.data=JSON.parse(S.data.toString())),_.abrupt("return",m);case 20:case"end":return _.stop()}},c,this)}),p._uploadPart=g.default.mark(function c(e,a,r,s,d){var l,w,x;return g.default.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return d=d||{},l={},i(d).to(l),l.headers={"Content-Length":s.size},l.subres={partNumber:r,uploadId:a},w=this._objectRequestParams("PUT",e,l),w.mime=l.mime,w.stream=s.stream,w.successStatuses=[200],f.next=11,this.request(w);case 11:return x=f.sent,s.stream=null,w.stream=null,f.abrupt("return",{name:e,etag:x.res.headers.etag,res:x.res});case 15:case"end":return f.stop()}},c,this)})},{"./callback":7,"babel-runtime/regenerator":33,"copy-to":43}],9:[function(n,O,v){(function(h){"use strict";function g(r){return r&&r.__esModule?r:{default:r}}var i=n("babel-runtime/core-js/json/stringify"),u=g(i),p=n("babel-runtime/core-js/object/keys"),c=g(p),e=n("./../../shims/crypto/crypto.js"),a=n("is-type-of");v.buildCanonicalizedResource=function(r,s){var d=""+r,l="?";if(a.string(s)&&s.trim()!=="")d+=l+s;else if(a.array(s))s.sort(),d+=l+s.join("&");else if(s){var w=function(A,S){return A[0]>S[0]?1:A[0]<S[0]?-1:0},x=function(A){d+=l+A,s[A]&&(d+="="+s[A]),l="&"};(0,c.default)(s).sort(w).forEach(x)}return d},v.buildCanonicalString=function(r,s,d,l){d=d||{};var w=d.headers||{},x=[],f={},A=[r.toUpperCase(),w["Content-Md5"]||"",w["Content-Type"]||w["Content-Type".toLowerCase()],l||w["x-oss-date"]];return(0,c.default)(w).forEach(function(S){var m=S.toLowerCase();m.indexOf("x-oss-")===0&&(f[m]=String(w[S]).trim())}),(0,c.default)(f).sort().forEach(function(S){x.push(S+":"+f[S])}),A=A.concat(x),A.push(this.buildCanonicalizedResource(s,d.parameters)),A.join(`
|
|
|
`)},v.computeSignature=function(r,s){return e.createHmac("sha1",r).update(new h(s,"utf8")).digest("base64")},v.authorization=function(r,s,d){return"OSS "+r+":"+this.computeSignature(s,d)},v._signatureForURL=function(r,s,d,l){var w={},x={};if(s.process&&(x["x-oss-process"]=s.process),s.response&&(0,c.default)(s.response).forEach(function(m){var _="response-"+m.toLowerCase();x[_]=s.response[m]}),(0,c.default)(s).forEach(function(m){var _=m.toLowerCase(),P=s[m];_.indexOf("x-oss-")===0?w[_]=P:_.indexOf("content-md5")===0||_.indexOf("content-type")===0?w[m]=P:_!=="expires"&&_!=="response"&&_!=="process"&&_!=="method"&&(x[_]=P)}),Object.prototype.hasOwnProperty.call(s,"security-token")&&(x["security-token"]=s["security-token"]),Object.prototype.hasOwnProperty.call(s,"callback")){var f={callbackUrl:encodeURI(s.callback.url),callbackBody:s.callback.body};if(s.callback.host&&(f.callbackHost=s.callback.host),s.callback.contentType&&(f.callbackBodyType=s.callback.contentType),x.callback=new h((0,u.default)(f)).toString("base64"),s.callback.customValue){var A={};(0,c.default)(s.callback.customValue).forEach(function(m){A["x:"+m]=s.callback.customValue[m]}),x["callback-var"]=new h((0,u.default)(A)).toString("base64")}}var S=this.buildCanonicalString(s.method,d,{headers:w,parameters:x},l.toString());return{Signature:this.computeSignature(r,S),subResource:x}}}).call(this,n("buffer").Buffer)},{"./../../shims/crypto/crypto.js":237,"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38,"is-type-of":165}],10:[function(n,O,v){"use strict";var h=n("babel-runtime/regenerator"),g=function(e){return e&&e.__esModule?e:{default:e}}(h),i=n("co"),u=n("co-priority-queue"),p=n("any-promise"),c=v;c._thunkPool=function(e,a){function r(x,f){++l===x.length&&f(w)}function s(x,f){function A(){var b;return g.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:b=void 0;case 1:if(d.isCancel()){L.next=9;break}return L.next=4,_.next();case 4:return b=L.sent,L.next=7,b();case 7:L.next=1;break;case 9:P+=1,P===x&&(_.fns=[],_.buffer=[],f(w));case 11:case"end":return L.stop()}},m,this)}function S(b){console.error(b.stack)}for(var m=g.default.mark(A),_=new u,P=0,k=0;k<x;k++)i(A).catch(S);return function(b,L){return function(D){_.push(g.default.mark(function F(){return g.default.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.prev=0,I.t0=D,I.next=4,b;case 4:I.t1=I.sent,(0,I.t0)(null,I.t1),I.next=11;break;case 8:I.prev=8,I.t2=I.catch(0),D(I.t2);case 11:case"end":return I.stop()}},F,this,[[0,8]])}),L)}}}var d=this,l=0,w=[];return new p(function(x){function f(P){return g.default.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,m(e[P]);case 2:r(e,x);case 3:case"end":return k.stop()}},S,this)}function A(P){w.push(P),r(e,x)}for(var S=g.default.mark(f),m=new s(a,x),_=0;_<e.length;_++)i(f(_)).catch(A)})},c.cancel=function(){this.options.cancelFlag=!0},c.isCancel=function(){return this.options.cancelFlag},c.resetCancelFlag=function(){this.options.cancelFlag=!1}},{"any-promise":13,"babel-runtime/regenerator":33,co:41,"co-priority-queue":40}],11:[function(n,O,v){"use strict";v._isIP=function(h){var g=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,i=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return g.test(h)||i.test(h)}},{}],12:[function(n,O,v){function h(){}O.exports=h,O.exports.HttpsAgent=h},{}],13:[function(n,O,v){O.exports=n("./register")().Promise},{"./register":15}],14:[function(n,O,v){"use strict";var h=null;O.exports=function(g,i){return function(u,p){u=u||null,p=p||{};var c=p.global!==!1;if(h===null&&c&&(h=g["@@any-promise/REGISTRATION"]||null),h!==null&&u!==null&&h.implementation!==u)throw new Error('any-promise already defined as "'+h.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return h===null&&(h=u!==null&&p.Promise!==void 0?{Promise:p.Promise,implementation:u}:i(u),c&&(g["@@any-promise/REGISTRATION"]=h)),h}}},{}],15:[function(n,O,v){"use strict";function h(){if(window.Promise===void 0)throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}O.exports=n("./loader")(window,h)},{"./loader":14}],16:[function(n,O,v){O.exports={default:n("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":44}],17:[function(n,O,v){O.exports={default:n("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":45}],18:[function(n,O,v){O.exports={default:n("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":46}],19:[function(n,O,v){O.exports={default:n("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":47}],20:[function(n,O,v){O.exports={default:n("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":48}],21:[function(n,O,v){O.exports={default:n("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":49}],22:[function(n,O,v){O.exports={default:n("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":50}],23:[function(n,O,v){O.exports={default:n("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":51}],24:[function(n,O,v){O.exports={default:n("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":52}],25:[function(n,O,v){O.exports={default:n("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":53}],26:[function(n,O,v){O.exports={default:n("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":54}],27:[function(n,O,v){O.exports={default:n("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":56}],28:[function(n,O,v){O.exports={default:n("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":55}],29:[function(n,O,v){O.exports={default:n("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":57}],30:[function(n,O,v){"use strict";v.__esModule=!0,v.default=function(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}},{}],31:[function(n,O,v){"use strict";v.__esModule=!0;var h=n("../core-js/object/define-property"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);v.default=function(){function i(u,p){for(var c=0;c<p.length;c++){var e=p[c];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),(0,g.default)(u,e.key,e)}}return function(u,p,c){return p&&i(u.prototype,p),c&&i(u,c),u}}()},{"../core-js/object/define-property":20}],32:[function(n,O,v){"use strict";function h(e){return e&&e.__esModule?e:{default:e}}v.__esModule=!0;var g=n("../core-js/symbol/iterator"),i=h(g),u=n("../core-js/symbol"),p=h(u),c=typeof p.default=="function"&&typeof i.default=="symbol"?function(e){return typeof e}:function(e){return e&&typeof p.default=="function"&&e.constructor===p.default&&e!==p.default.prototype?"symbol":typeof e};v.default=typeof p.default=="function"&&c(i.default)==="symbol"?function(e){return e===void 0?"undefined":c(e)}:function(e){return e&&typeof p.default=="function"&&e.constructor===p.default&&e!==p.default.prototype?"symbol":e===void 0?"undefined":c(e)}},{"../core-js/symbol":27,"../core-js/symbol/iterator":29}],33:[function(n,O,v){O.exports=n("regenerator-runtime")},{"regenerator-runtime":191}],34:[function(n,O,v){"use strict";function h(x){var f=x.length;if(f%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var A=x.indexOf("=");return A===-1&&(A=f),[A,A===f?0:4-A%4]}function g(x){var f=h(x),A=f[0],S=f[1];return 3*(A+S)/4-S}function i(x,f,A){return 3*(f+A)/4-A}function u(x){for(var f,A=h(x),S=A[0],m=A[1],_=new s(i(x,S,m)),P=0,k=m>0?S-4:S,b=0;b<k;b+=4)f=r[x.charCodeAt(b)]<<18|r[x.charCodeAt(b+1)]<<12|r[x.charCodeAt(b+2)]<<6|r[x.charCodeAt(b+3)],_[P++]=f>>16&255,_[P++]=f>>8&255,_[P++]=255&f;return m===2&&(f=r[x.charCodeAt(b)]<<2|r[x.charCodeAt(b+1)]>>4,_[P++]=255&f),m===1&&(f=r[x.charCodeAt(b)]<<10|r[x.charCodeAt(b+1)]<<4|r[x.charCodeAt(b+2)]>>2,_[P++]=f>>8&255,_[P++]=255&f),_}function p(x){return a[x>>18&63]+a[x>>12&63]+a[x>>6&63]+a[63&x]}function c(x,f,A){for(var S,m=[],_=f;_<A;_+=3)S=(x[_]<<16&16711680)+(x[_+1]<<8&65280)+(255&x[_+2]),m.push(p(S));return m.join("")}function e(x){for(var f,A=x.length,S=A%3,m=[],_=0,P=A-S;_<P;_+=16383)m.push(c(x,_,_+16383>P?P:_+16383));return S===1?(f=x[A-1],m.push(a[f>>2]+a[f<<4&63]+"==")):S===2&&(f=(x[A-2]<<8)+x[A-1],m.push(a[f>>10]+a[f>>4&63]+a[f<<2&63]+"=")),m.join("")}v.byteLength=g,v.toByteArray=u,v.fromByteArray=e;for(var a=[],r=[],s=typeof Uint8Array!="undefined"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,w=d.length;l<w;++l)a[l]=d[l],r[d.charCodeAt(l)]=l;r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},{}],35:[function(n,O,v){!function(h,g,i){O!==void 0&&O.exports?O.exports=i():typeof fe=="function"&&fe.amd?fe("bowser",i):h.bowser=i()}(this,0,function(){function h(r){function s(H){var R=r.match(H);return R&&R.length>1&&R[1]||""}function d(H){var R=r.match(H);return R&&R.length>1&&R[2]||""}var l,w=s(/(ipod|iphone|ipad)/i).toLowerCase(),x=/like android/i.test(r),f=!x&&/android/i.test(r),A=/nexus\s*[0-6]\s*/i.test(r),S=!A&&/nexus\s*[0-9]+/i.test(r),m=/CrOS/.test(r),_=/silk/i.test(r),P=/sailfish/i.test(r),k=/tizen/i.test(r),b=/(web|hpw)os/i.test(r),L=/windows phone/i.test(r),D=(/SamsungBrowser/i.test(r),!L&&/windows/i.test(r)),F=!w&&!_&&/macintosh/i.test(r),I=!f&&!P&&!k&&!b&&/linux/i.test(r),B=d(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),G=s(/version\/(\d+(\.\d+)?)/i),q=/tablet/i.test(r)&&!/tablet pc/i.test(r),ie=!q&&/[^-]mobi/i.test(r),z=/xbox/i.test(r);/opera/i.test(r)?l={name:"Opera",opera:e,version:G||s(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(r)?l={name:"Opera",opera:e,version:s(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||G}:/SamsungBrowser/i.test(r)?l={name:"Samsung Internet for Android",samsungBrowser:e,version:G||s(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(r)?l={name:"Opera Coast",coast:e,version:G||s(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(r)?l={name:"Yandex Browser",yandexbrowser:e,version:G||s(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(r)?l={name:"UC Browser",ucbrowser:e,version:s(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(r)?l={name:"Maxthon",maxthon:e,version:s(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(r)?l={name:"Epiphany",epiphany:e,version:s(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(r)?l={name:"Puffin",puffin:e,version:s(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(r)?l={name:"Sleipnir",sleipnir:e,version:s(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(r)?l={name:"K-Meleon",kMeleon:e,version:s(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:L?(l={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},B?(l.msedge=e,l.version=B):(l.msie=e,l.version=s(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(r)?l={name:"Internet Explorer",msie:e,version:s(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:m?l={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:s(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(r)?l={name:"Microsoft Edge",msedge:e,version:B}:/vivaldi/i.test(r)?l={name:"Vivaldi",vivaldi:e,version:s(/vivaldi\/(\d+(\.\d+)?)/i)||G}:P?l={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:s(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(r)?l={name:"SeaMonkey",seamonkey:e,version:s(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(r)?(l={name:"Firefox",firefox:e,version:s(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(r)&&(l.firefoxos=e,l.osname="Firefox OS")):_?l={name:"Amazon Silk",silk:e,version:s(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(r)?l={name:"PhantomJS",phantom:e,version:s(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(r)?l={name:"SlimerJS",slimer:e,version:s(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(r)||/rim\stablet/i.test(r)?l={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:G||s(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:b?(l={name:"WebOS",osname:"WebOS",webos:e,version:G||s(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(r)&&(l.touchpad=e)):/bada/i.test(r)?l={name:"Bada",osname:"Bada",bada:e,version:s(/dolfin\/(\d+(\.\d+)?)/i)}:k?l={name:"Tizen",osname:"Tizen",tizen:e,version:s(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||G}:/qupzilla/i.test(r)?l={name:"QupZilla",qupzilla:e,version:s(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||G}:/chromium/i.test(r)?l={name:"Chromium",chromium:e,version:s(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||G}:/chrome|crios|crmo/i.test(r)?l={name:"Chrome",chrome:e,version:s(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:f?l={name:"Android",version:G}:/safari|applewebkit/i.test(r)?(l={name:"Safari",safari:e},G&&(l.version=G)):w?(l={name:w=="iphone"?"iPhone":w=="ipad"?"iPad":"iPod"},G&&(l.version=G)):l=/googlebot/i.test(r)?{name:"Googlebot",googlebot:e,version:s(/googlebot\/(\d+(\.\d+))/i)||G}:{name:s(/^(.*)\/(.*) /),version:d(/^(.*)\/(.*) /)},!l.msedge&&/(apple)?webkit/i.test(r)?(/(apple)?webkit\/537\.36/i.test(r)?(l.name=l.name||"Blink",l.blink=e):(l.name=l.name||"Webkit",l.webkit=e),!l.version&&G&&(l.version=G)):!l.opera&&/gecko\//i.test(r)&&(l.name=l.name||"Gecko",l.gecko=e,l.version=l.version||s(/gecko\/(\d+(\.\d+)?)/i)),l.windowsphone||!f&&!l.silk?!l.windowsphone&&w?(l[w]=e,l.ios=e,l.osname="iOS"):F?(l.mac=e,l.osname="macOS"):z?(l.xbox=e,l.osname="Xbox"):D?(l.windows=e,l.osname="Windows"):I&&(l.linux=e,l.osname="Linux"):(l.android=e,l.osname="Android");var oe="";l.windows?oe=function(H){switch(H){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}(s(/Windows ((NT|XP)( \d\d?.\d)?)/i)):l.windowsphone?oe=s(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):l.mac?(oe=s(/Mac OS X (\d+([_\.\s]\d+)*)/i),oe=oe.replace(/[_\s]/g,".")):w?(oe=s(/os (\d+([_\s]\d+)*) like mac os x/i),oe=oe.replace(/[_\s]/g,".")):f?oe=s(/android[ \/-](\d+(\.\d+)*)/i):l.webos?oe=s(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):l.blackberry?oe=s(/rim\stablet\sos\s(\d+(\.\d+)*)/i):l.bada?oe=s(/bada\/(\d+(\.\d+)*)/i):l.tizen&&(oe=s(/tizen[\/\s](\d+(\.\d+)*)/i)),oe&&(l.osversion=oe);var Z=!l.windows&&oe.split(".")[0];return q||S||w=="ipad"||f&&(Z==3||Z>=4&&!ie)||l.silk?l.tablet=e:(ie||w=="iphone"||w=="ipod"||f||A||l.blackberry||l.webos||l.bada)&&(l.mobile=e),l.msedge||l.msie&&l.version>=10||l.yandexbrowser&&l.version>=15||l.vivaldi&&l.version>=1||l.chrome&&l.version>=20||l.samsungBrowser&&l.version>=4||l.firefox&&l.version>=20||l.safari&&l.version>=6||l.opera&&l.version>=10||l.ios&&l.osversion&&l.osversion.split(".")[0]>=6||l.blackberry&&l.version>=10.1||l.chromium&&l.version>=20?l.a=e:l.msie&&l.version<10||l.chrome&&l.version<20||l.firefox&&l.version<20||l.safari&&l.version<6||l.opera&&l.version<10||l.ios&&l.osversion&&l.osversion.split(".")[0]<6||l.chromium&&l.version<20?l.c=e:l.x=e,l}function g(r){return r.split(".").length}function i(r,s){var d,l=[];if(Array.prototype.map)return Array.prototype.map.call(r,s);for(d=0;d<r.length;d++)l.push(s(r[d]));return l}function u(r){for(var s=Math.max(g(r[0]),g(r[1])),d=i(r,function(l){var w=s-g(l);return l+=new Array(w+1).join(".0"),i(l.split("."),function(x){return new Array(20-x.length).join("0")+x}).reverse()});--s>=0;){if(d[0][s]>d[1][s])return 1;if(d[0][s]!==d[1][s])return-1;if(s===0)return 0}}function p(r,s,d){var l=a;typeof s=="string"&&(d=s,s=void 0),s===void 0&&(s=!1),d&&(l=h(d));var w=""+l.version;for(var x in r)if(r.hasOwnProperty(x)&&l[x]){if(typeof r[x]!="string")throw new Error("Browser version in the minVersion map should be a string: "+x+": "+String(r));return u([w,r[x]])<0}return s}function c(r,s,d){return!p(r,s,d)}var e=!0,a=h(typeof navigator!="undefined"&&navigator.userAgent||"");return a.test=function(r){for(var s=0;s<r.length;++s){var d=r[s];if(typeof d=="string"&&d in a)return!0}return!1},a.isUnsupportedBrowser=p,a.compareVersions=u,a.check=c,a._detect=h,a.detect=h,a})},{}],36:[function(n,O,v){},{}],37:[function(n,O,v){function h(a){if(a&&!c(a))throw new Error("Unknown encoding: "+a)}function g(a){return a.toString(this.encoding)}function i(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}function u(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}var p=n("buffer").Buffer,c=p.isEncoding||function(a){switch(a&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},e=v.StringDecoder=function(a){switch(this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),h(a),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=i;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=u;break;default:return void(this.write=g)}this.charBuffer=new p(6),this.charReceived=0,this.charLength=0};e.prototype.write=function(a){for(var r="";this.charLength;){var s=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,s),this.charReceived+=s,this.charReceived<this.charLength)return"";a=a.slice(s,a.length),r=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var l=r.charCodeAt(r.length-1);if(!(l>=55296&&l<=56319)){if(this.charReceived=this.charLength=0,a.length===0)return r;break}this.charLength+=this.surrogateSize,r=""}this.detectIncompleteChar(a);var d=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,d),d-=this.charReceived),r+=a.toString(this.encoding,0,d);var d=r.length-1,l=r.charCodeAt(d);if(l>=55296&&l<=56319){var w=this.surrogateSize;return this.charLength+=w,this.charReceived+=w,this.charBuffer.copy(this.charBuffer,w,0,w),a.copy(this.charBuffer,0,0,w),r.substring(0,d)}return r},e.prototype.detectIncompleteChar=function(a){for(var r=a.length>=3?3:a.length;r>0;r--){var s=a[a.length-r];if(r==1&&s>>5==6){this.charLength=2;break}if(r<=2&&s>>4==14){this.charLength=3;break}if(r<=3&&s>>3==30){this.charLength=4;break}}this.charReceived=r},e.prototype.end=function(a){var r="";if(a&&a.length&&(r=this.write(a)),this.charReceived){var s=this.charReceived,d=this.charBuffer,l=this.encoding;r+=d.slice(0,s).toString(l)}return r}},{buffer:38}],38:[function(n,O,v){(function(h){"use strict";function g(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,o){if(g()<o)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(o),t.__proto__=u.prototype):(t===null&&(t=new u(o)),t.length=o),t}function u(t,o,C){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,o,C);if(typeof t=="number"){if(typeof o=="string")throw new Error("If encoding is specified then the first argument must be a string");return a(this,t)}return p(this,t,o,C)}function p(t,o,C,y){if(typeof o=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&o instanceof ArrayBuffer?d(t,o,C,y):typeof o=="string"?r(t,o,C):l(t,o)}function c(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function e(t,o,C,y){return c(o),o<=0?i(t,o):C!==void 0?typeof y=="string"?i(t,o).fill(C,y):i(t,o).fill(C):i(t,o)}function a(t,o){if(c(o),t=i(t,o<0?0:0|w(o)),!u.TYPED_ARRAY_SUPPORT)for(var C=0;C<o;++C)t[C]=0;return t}function r(t,o,C){if(typeof C=="string"&&C!==""||(C="utf8"),!u.isEncoding(C))throw new TypeError('"encoding" must be a valid string encoding');var y=0|f(o,C);t=i(t,y);var E=t.write(o,C);return E!==y&&(t=t.slice(0,E)),t}function s(t,o){var C=o.length<0?0:0|w(o.length);t=i(t,C);for(var y=0;y<C;y+=1)t[y]=255&o[y];return t}function d(t,o,C,y){if(o.byteLength,C<0||o.byteLength<C)throw new RangeError("'offset' is out of bounds");if(o.byteLength<C+(y||0))throw new RangeError("'length' is out of bounds");return o=C===void 0&&y===void 0?new Uint8Array(o):y===void 0?new Uint8Array(o,C):new Uint8Array(o,C,y),u.TYPED_ARRAY_SUPPORT?(t=o,t.__proto__=u.prototype):t=s(t,o),t}function l(t,o){if(u.isBuffer(o)){var C=0|w(o.length);return t=i(t,C),t.length===0||o.copy(t,0,0,C),t}if(o){if(typeof ArrayBuffer!="undefined"&&o.buffer instanceof ArrayBuffer||"length"in o)return typeof o.length!="number"||W(o.length)?i(t,0):s(t,o);if(o.type==="Buffer"&&$(o.data))return s(t,o.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function w(t){if(t>=g())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g().toString(16)+" bytes");return 0|t}function x(t){return+t!=t&&(t=0),u.alloc(+t)}function f(t,o){if(u.isBuffer(t))return t.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var C=t.length;if(C===0)return 0;for(var y=!1;;)switch(o){case"ascii":case"latin1":case"binary":return C;case"utf8":case"utf-8":case void 0:return he(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*C;case"hex":return C>>>1;case"base64":return ee(t).length;default:if(y)return he(t).length;o=(""+o).toLowerCase(),y=!0}}function A(t,o,C){var y=!1;if((o===void 0||o<0)&&(o=0),o>this.length)return"";if((C===void 0||C>this.length)&&(C=this.length),C<=0)return"";if(C>>>=0,o>>>=0,C<=o)return"";for(t||(t="utf8");;)switch(t){case"hex":return z(this,o,C);case"utf8":case"utf-8":return B(this,o,C);case"ascii":return q(this,o,C);case"latin1":case"binary":return ie(this,o,C);case"base64":return I(this,o,C);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oe(this,o,C);default:if(y)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),y=!0}}function S(t,o,C){var y=t[o];t[o]=t[C],t[C]=y}function m(t,o,C,y,E){if(t.length===0)return-1;if(typeof C=="string"?(y=C,C=0):C>2147483647?C=2147483647:C<-2147483648&&(C=-2147483648),C=+C,isNaN(C)&&(C=E?0:t.length-1),C<0&&(C=t.length+C),C>=t.length){if(E)return-1;C=t.length-1}else if(C<0){if(!E)return-1;C=0}if(typeof o=="string"&&(o=u.from(o,y)),u.isBuffer(o))return o.length===0?-1:_(t,o,C,y,E);if(typeof o=="number")return o&=255,u.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?E?Uint8Array.prototype.indexOf.call(t,o,C):Uint8Array.prototype.lastIndexOf.call(t,o,C):_(t,[o],C,y,E);throw new TypeError("val must be string, number or Buffer")}function _(t,o,C,y,E){function V(ne,U){return Y===1?ne[U]:ne.readUInt16BE(U*Y)}var Y=1,_e=t.length,me=o.length;if(y!==void 0&&((y=String(y).toLowerCase())==="ucs2"||y==="ucs-2"||y==="utf16le"||y==="utf-16le")){if(t.length<2||o.length<2)return-1;Y=2,_e/=2,me/=2,C/=2}var Ee;if(E){var Ae=-1;for(Ee=C;Ee<_e;Ee++)if(V(t,Ee)===V(o,Ae===-1?0:Ee-Ae)){if(Ae===-1&&(Ae=Ee),Ee-Ae+1===me)return Ae*Y}else Ae!==-1&&(Ee-=Ee-Ae),Ae=-1}else for(C+me>_e&&(C=_e-me),Ee=C;Ee>=0;Ee--){for(var Te=!0,xe=0;xe<me;xe++)if(V(t,Ee+xe)!==V(o,xe)){Te=!1;break}if(Te)return Ee}return-1}function P(t,o,C,y){C=Number(C)||0;var E=t.length-C;y?(y=Number(y))>E&&(y=E):y=E;var V=o.length;if(V%2!=0)throw new TypeError("Invalid hex string");y>V/2&&(y=V/2);for(var Y=0;Y<y;++Y){var _e=parseInt(o.substr(2*Y,2),16);if(isNaN(_e))return Y;t[C+Y]=_e}return Y}function k(t,o,C,y){return ce(he(o,t.length-C),t,C,y)}function b(t,o,C,y){return ce(ve(o),t,C,y)}function L(t,o,C,y){return b(t,o,C,y)}function D(t,o,C,y){return ce(ee(o),t,C,y)}function F(t,o,C,y){return ce(te(o,t.length-C),t,C,y)}function I(t,o,C){return o===0&&C===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(o,C))}function B(t,o,C){C=Math.min(t.length,C);for(var y=[],E=o;E<C;){var V=t[E],Y=null,_e=V>239?4:V>223?3:V>191?2:1;if(E+_e<=C){var me,Ee,Ae,Te;switch(_e){case 1:V<128&&(Y=V);break;case 2:me=t[E+1],(192&me)==128&&(Te=(31&V)<<6|63&me)>127&&(Y=Te);break;case 3:me=t[E+1],Ee=t[E+2],(192&me)==128&&(192&Ee)==128&&(Te=(15&V)<<12|(63&me)<<6|63&Ee)>2047&&(Te<55296||Te>57343)&&(Y=Te);break;case 4:me=t[E+1],Ee=t[E+2],Ae=t[E+3],(192&me)==128&&(192&Ee)==128&&(192&Ae)==128&&(Te=(15&V)<<18|(63&me)<<12|(63&Ee)<<6|63&Ae)>65535&&Te<1114112&&(Y=Te)}}Y===null?(Y=65533,_e=1):Y>65535&&(Y-=65536,y.push(Y>>>10&1023|55296),Y=56320|1023&Y),y.push(Y),E+=_e}return G(y)}function G(t){var o=t.length;if(o<=se)return String.fromCharCode.apply(String,t);for(var C="",y=0;y<o;)C+=String.fromCharCode.apply(String,t.slice(y,y+=se));return C}function q(t,o,C){var y="";C=Math.min(t.length,C);for(var E=o;E<C;++E)y+=String.fromCharCode(127&t[E]);return y}function ie(t,o,C){var y="";C=Math.min(t.length,C);for(var E=o;E<C;++E)y+=String.fromCharCode(t[E]);return y}function z(t,o,C){var y=t.length;(!o||o<0)&&(o=0),(!C||C<0||C>y)&&(C=y);for(var E="",V=o;V<C;++V)E+=ae(t[V]);return E}function oe(t,o,C){for(var y=t.slice(o,C),E="",V=0;V<y.length;V+=2)E+=String.fromCharCode(y[V]+256*y[V+1]);return E}function Z(t,o,C){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+o>C)throw new RangeError("Trying to access beyond buffer length")}function H(t,o,C,y,E,V){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>E||o<V)throw new RangeError('"value" argument is out of bounds');if(C+y>t.length)throw new RangeError("Index out of range")}function R(t,o,C,y){o<0&&(o=65535+o+1);for(var E=0,V=Math.min(t.length-C,2);E<V;++E)t[C+E]=(o&255<<8*(y?E:1-E))>>>8*(y?E:1-E)}function j(t,o,C,y){o<0&&(o=4294967295+o+1);for(var E=0,V=Math.min(t.length-C,4);E<V;++E)t[C+E]=o>>>8*(y?E:3-E)&255}function N(t,o,C,y,E,V){if(C+y>t.length)throw new RangeError("Index out of range");if(C<0)throw new RangeError("Index out of range")}function M(t,o,C,y,E){return E||N(t,o,C,4,34028234663852886e22,-34028234663852886e22),ue.write(t,o,C,y,23,4),C+4}function K(t,o,C,y,E){return E||N(t,o,C,8,17976931348623157e292,-17976931348623157e292),ue.write(t,o,C,y,52,8),C+8}function J(t){if(t=pe(t).replace(T,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function pe(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function ae(t){return t<16?"0"+t.toString(16):t.toString(16)}function he(t,o){o=o||1/0;for(var C,y=t.length,E=null,V=[],Y=0;Y<y;++Y){if((C=t.charCodeAt(Y))>55295&&C<57344){if(!E){if(C>56319){(o-=3)>-1&&V.push(239,191,189);continue}if(Y+1===y){(o-=3)>-1&&V.push(239,191,189);continue}E=C;continue}if(C<56320){(o-=3)>-1&&V.push(239,191,189),E=C;continue}C=65536+(E-55296<<10|C-56320)}else E&&(o-=3)>-1&&V.push(239,191,189);if(E=null,C<128){if((o-=1)<0)break;V.push(C)}else if(C<2048){if((o-=2)<0)break;V.push(C>>6|192,63&C|128)}else if(C<65536){if((o-=3)<0)break;V.push(C>>12|224,C>>6&63|128,63&C|128)}else{if(!(C<1114112))throw new Error("Invalid code point");if((o-=4)<0)break;V.push(C>>18|240,C>>12&63|128,C>>6&63|128,63&C|128)}}return V}function ve(t){for(var o=[],C=0;C<t.length;++C)o.push(255&t.charCodeAt(C));return o}function te(t,o){for(var C,y,E,V=[],Y=0;Y<t.length&&!((o-=2)<0);++Y)C=t.charCodeAt(Y),y=C>>8,E=C%256,V.push(E),V.push(y);return V}function ee(t){return X.toByteArray(J(t))}function ce(t,o,C,y){for(var E=0;E<y&&!(E+C>=o.length||E>=t.length);++E)o[E+C]=t[E];return E}function W(t){return t!==t}var X=n("base64-js"),ue=n("ieee754"),$=n("isarray");v.Buffer=u,v.SlowBuffer=x,v.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=h.TYPED_ARRAY_SUPPORT!==void 0?h.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},t.foo()===42&&typeof t.subarray=="function"&&t.subarray(1,1).byteLength===0}catch(o){return!1}}(),v.kMaxLength=g(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,o,C){return p(null,t,o,C)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,o,C){return e(null,t,o,C)},u.allocUnsafe=function(t){return a(null,t)},u.allocUnsafeSlow=function(t){return a(null,t)},u.isBuffer=function(t){return!(t==null||!t._isBuffer)},u.compare=function(t,o){if(!u.isBuffer(t)||!u.isBuffer(o))throw new TypeError("Arguments must be Buffers");if(t===o)return 0;for(var C=t.length,y=o.length,E=0,V=Math.min(C,y);E<V;++E)if(t[E]!==o[E]){C=t[E],y=o[E];break}return C<y?-1:y<C?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,o){if(!$(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var C;if(o===void 0)for(o=0,C=0;C<t.length;++C)o+=t[C].length;var y=u.allocUnsafe(o),E=0;for(C=0;C<t.length;++C){var V=t[C];if(!u.isBuffer(V))throw new TypeError('"list" argument must be an Array of Buffers');V.copy(y,E),E+=V.length}return y},u.byteLength=f,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var o=0;o<t;o+=2)S(this,o,o+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var o=0;o<t;o+=4)S(this,o,o+3),S(this,o+1,o+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var o=0;o<t;o+=8)S(this,o,o+7),S(this,o+1,o+6),S(this,o+2,o+5),S(this,o+3,o+4);return this},u.prototype.toString=function(){var t=0|this.length;return t===0?"":arguments.length===0?B(this,0,t):A.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||u.compare(this,t)===0},u.prototype.inspect=function(){var t="",o=v.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,o).match(/.{2}/g).join(" "),this.length>o&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,o,C,y,E){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(o===void 0&&(o=0),C===void 0&&(C=t?t.length:0),y===void 0&&(y=0),E===void 0&&(E=this.length),o<0||C>t.length||y<0||E>this.length)throw new RangeError("out of range index");if(y>=E&&o>=C)return 0;if(y>=E)return-1;if(o>=C)return 1;if(o>>>=0,C>>>=0,y>>>=0,E>>>=0,this===t)return 0;for(var V=E-y,Y=C-o,_e=Math.min(V,Y),me=this.slice(y,E),Ee=t.slice(o,C),Ae=0;Ae<_e;++Ae)if(me[Ae]!==Ee[Ae]){V=me[Ae],Y=Ee[Ae];break}return V<Y?-1:Y<V?1:0},u.prototype.includes=function(t,o,C){return this.indexOf(t,o,C)!==-1},u.prototype.indexOf=function(t,o,C){return m(this,t,o,C,!0)},u.prototype.lastIndexOf=function(t,o,C){return m(this,t,o,C,!1)},u.prototype.write=function(t,o,C,y){if(o===void 0)y="utf8",C=this.length,o=0;else if(C===void 0&&typeof o=="string")y=o,C=this.length,o=0;else{if(!isFinite(o))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");o|=0,isFinite(C)?(C|=0,y===void 0&&(y="utf8")):(y=C,C=void 0)}var E=this.length-o;if((C===void 0||C>E)&&(C=E),t.length>0&&(C<0||o<0)||o>this.length)throw new RangeError("Attempt to write outside buffer bounds");y||(y="utf8");for(var V=!1;;)switch(y){case"hex":return P(this,t,o,C);case"utf8":case"utf-8":return k(this,t,o,C);case"ascii":return b(this,t,o,C);case"latin1":case"binary":return L(this,t,o,C);case"base64":return D(this,t,o,C);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,o,C);default:if(V)throw new TypeError("Unknown encoding: "+y);y=(""+y).toLowerCase(),V=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var se=4096;u.prototype.slice=function(t,o){var C=this.length;t=~~t,o=o===void 0?C:~~o,t<0?(t+=C)<0&&(t=0):t>C&&(t=C),o<0?(o+=C)<0&&(o=0):o>C&&(o=C),o<t&&(o=t);var y;if(u.TYPED_ARRAY_SUPPORT)y=this.subarray(t,o),y.__proto__=u.prototype;else{var E=o-t;y=new u(E,void 0);for(var V=0;V<E;++V)y[V]=this[V+t]}return y},u.prototype.readUIntLE=function(t,o,C){t|=0,o|=0,C||Z(t,o,this.length);for(var y=this[t],E=1,V=0;++V<o&&(E*=256);)y+=this[t+V]*E;return y},u.prototype.readUIntBE=function(t,o,C){t|=0,o|=0,C||Z(t,o,this.length);for(var y=this[t+--o],E=1;o>0&&(E*=256);)y+=this[t+--o]*E;return y},u.prototype.readUInt8=function(t,o){return o||Z(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,o){return o||Z(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,o){return o||Z(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,o){return o||Z(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,o){return o||Z(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,o,C){t|=0,o|=0,C||Z(t,o,this.length);for(var y=this[t],E=1,V=0;++V<o&&(E*=256);)y+=this[t+V]*E;return E*=128,y>=E&&(y-=Math.pow(2,8*o)),y},u.prototype.readIntBE=function(t,o,C){t|=0,o|=0,C||Z(t,o,this.length);for(var y=o,E=1,V=this[t+--y];y>0&&(E*=256);)V+=this[t+--y]*E;return E*=128,V>=E&&(V-=Math.pow(2,8*o)),V},u.prototype.readInt8=function(t,o){return o||Z(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,o){o||Z(t,2,this.length);var C=this[t]|this[t+1]<<8;return 32768&C?4294901760|C:C},u.prototype.readInt16BE=function(t,o){o||Z(t,2,this.length);var C=this[t+1]|this[t]<<8;return 32768&C?4294901760|C:C},u.prototype.readInt32LE=function(t,o){return o||Z(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,o){return o||Z(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,o){return o||Z(t,4,this.length),ue.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,o){return o||Z(t,4,this.length),ue.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,o){return o||Z(t,8,this.length),ue.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,o){return o||Z(t,8,this.length),ue.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,o,C,y){(t=+t,o|=0,C|=0,!y)&&H(this,t,o,C,Math.pow(2,8*C)-1,0);var E=1,V=0;for(this[o]=255&t;++V<C&&(E*=256);)this[o+V]=t/E&255;return o+C},u.prototype.writeUIntBE=function(t,o,C,y){(t=+t,o|=0,C|=0,!y)&&H(this,t,o,C,Math.pow(2,8*C)-1,0);var E=C-1,V=1;for(this[o+E]=255&t;--E>=0&&(V*=256);)this[o+E]=t/V&255;return o+C},u.prototype.writeUInt8=function(t,o,C){return t=+t,o|=0,C||H(this,t,o,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[o]=255&t,o+1},u.prototype.writeUInt16LE=function(t,o,C){return t=+t,o|=0,C||H(this,t,o,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[o]=255&t,this[o+1]=t>>>8):R(this,t,o,!0),o+2},u.prototype.writeUInt16BE=function(t,o,C){return t=+t,o|=0,C||H(this,t,o,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[o]=t>>>8,this[o+1]=255&t):R(this,t,o,!1),o+2},u.prototype.writeUInt32LE=function(t,o,C){return t=+t,o|=0,C||H(this,t,o,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[o+3]=t>>>24,this[o+2]=t>>>16,this[o+1]=t>>>8,this[o]=255&t):j(this,t,o,!0),o+4},u.prototype.writeUInt32BE=function(t,o,C){return t=+t,o|=0,C||H(this,t,o,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[o]=t>>>24,this[o+1]=t>>>16,this[o+2]=t>>>8,this[o+3]=255&t):j(this,t,o,!1),o+4},u.prototype.writeIntLE=function(t,o,C,y){if(t=+t,o|=0,!y){var E=Math.pow(2,8*C-1);H(this,t,o,C,E-1,-E)}var V=0,Y=1,_e=0;for(this[o]=255&t;++V<C&&(Y*=256);)t<0&&_e===0&&this[o+V-1]!==0&&(_e=1),this[o+V]=(t/Y>>0)-_e&255;return o+C},u.prototype.writeIntBE=function(t,o,C,y){if(t=+t,o|=0,!y){var E=Math.pow(2,8*C-1);H(this,t,o,C,E-1,-E)}var V=C-1,Y=1,_e=0;for(this[o+V]=255&t;--V>=0&&(Y*=256);)t<0&&_e===0&&this[o+V+1]!==0&&(_e=1),this[o+V]=(t/Y>>0)-_e&255;return o+C},u.prototype.writeInt8=function(t,o,C){return t=+t,o|=0,C||H(this,t,o,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[o]=255&t,o+1},u.prototype.writeInt16LE=function(t,o,C){return t=+t,o|=0,C||H(this,t,o,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[o]=255&t,this[o+1]=t>>>8):R(this,t,o,!0),o+2},u.prototype.writeInt16BE=function(t,o,C){return t=+t,o|=0,C||H(this,t,o,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[o]=t>>>8,this[o+1]=255&t):R(this,t,o,!1),o+2},u.prototype.writeInt32LE=function(t,o,C){return t=+t,o|=0,C||H(this,t,o,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[o]=255&t,this[o+1]=t>>>8,this[o+2]=t>>>16,this[o+3]=t>>>24):j(this,t,o,!0),o+4},u.prototype.writeInt32BE=function(t,o,C){return t=+t,o|=0,C||H(this,t,o,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[o]=t>>>24,this[o+1]=t>>>16,this[o+2]=t>>>8,this[o+3]=255&t):j(this,t,o,!1),o+4},u.prototype.writeFloatLE=function(t,o,C){return M(this,t,o,!0,C)},u.prototype.writeFloatBE=function(t,o,C){return M(this,t,o,!1,C)},u.prototype.writeDoubleLE=function(t,o,C){return K(this,t,o,!0,C)},u.prototype.writeDoubleBE=function(t,o,C){return K(this,t,o,!1,C)},u.prototype.copy=function(t,o,C,y){if(C||(C=0),y||y===0||(y=this.length),o>=t.length&&(o=t.length),o||(o=0),y>0&&y<C&&(y=C),y===C)return 0;if(t.length===0||this.length===0)return 0;if(o<0)throw new RangeError("targetStart out of bounds");if(C<0||C>=this.length)throw new RangeError("sourceStart out of bounds");if(y<0)throw new RangeError("sourceEnd out of bounds");y>this.length&&(y=this.length),t.length-o<y-C&&(y=t.length-o+C);var E,V=y-C;if(this===t&&C<o&&o<y)for(E=V-1;E>=0;--E)t[E+o]=this[E+C];else if(V<1e3||!u.TYPED_ARRAY_SUPPORT)for(E=0;E<V;++E)t[E+o]=this[E+C];else Uint8Array.prototype.set.call(t,this.subarray(C,C+V),o);return V},u.prototype.fill=function(t,o,C,y){if(typeof t=="string"){if(typeof o=="string"?(y=o,o=0,C=this.length):typeof C=="string"&&(y=C,C=this.length),t.length===1){var E=t.charCodeAt(0);E<256&&(t=E)}if(y!==void 0&&typeof y!="string")throw new TypeError("encoding must be a string");if(typeof y=="string"&&!u.isEncoding(y))throw new TypeError("Unknown encoding: "+y)}else typeof t=="number"&&(t&=255);if(o<0||this.length<o||this.length<C)throw new RangeError("Out of range index");if(C<=o)return this;o>>>=0,C=C===void 0?this.length:C>>>0,t||(t=0);var V;if(typeof t=="number")for(V=o;V<C;++V)this[V]=t;else{var Y=u.isBuffer(t)?t:he(new u(t,y).toString()),_e=Y.length;for(V=0;V<C-o;++V)this[V+o]=Y[V%_e]}return this};var T=/[^+\/0-9A-Za-z-_]/g}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"base64-js":34,ieee754:161,isarray:166}],39:[function(n,O,v){O.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],40:[function(n,O,v){"use strict";var h=function(){this.buffer=[],this.fns=[]};h.prototype.push=function(i,u){if(this.fns.length)return this.fns.shift()(null,i);var p={data:i,priority:u},c=g(this.buffer,p,function(e){return e.priority});this.buffer.splice(c,0,p)},h.prototype.next=function(){var i=this;return function(u){if(i.buffer.length)return u(null,i.buffer.pop().data);i.fns.push(u)}};var g=function(u,p,c){p=c(p);for(var e=0,a=u?u.length:e;e<a;){var r=e+a>>>1;c(u[r])<p?e=r+1:a=r}return e};O.exports=h},{}],41:[function(n,O,v){function h(d){var l=this,w=s.call(arguments,1);return new Promise(function(x,f){function A(_){var P;try{P=d.next(_)}catch(k){return f(k)}m(P)}function S(_){var P;try{P=d.throw(_)}catch(k){return f(k)}m(P)}function m(_){if(_.done)return x(_.value);var P=g.call(l,_.value);return P&&c(P)?P.then(A,S):S(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(_.value)+'"'))}if(typeof d=="function"&&(d=d.apply(l,w)),!d||typeof d.next!="function")return x(d);A()})}function g(d){return d&&(c(d)?d:a(d)||e(d)?h.call(this,d):typeof d=="function"?i.call(this,d):Array.isArray(d)?u.call(this,d):r(d)?p.call(this,d):d)}function i(d){var l=this;return new Promise(function(w,x){d.call(l,function(f,A){if(f)return x(f);arguments.length>2&&(A=s.call(arguments,1)),w(A)})})}function u(d){return Promise.all(d.map(g,this))}function p(d){for(var l=new d.constructor,w=Object.keys(d),x=[],f=0;f<w.length;f++){var A=w[f],S=g.call(this,d[A]);S&&c(S)?function(m,_){l[_]=void 0,x.push(m.then(function(P){l[_]=P}))}(S,A):l[A]=d[A]}return Promise.all(x).then(function(){return l})}function c(d){return typeof d.then=="function"}function e(d){return typeof d.next=="function"&&typeof d.throw=="function"}function a(d){var l=d.constructor;return!!l&&(l.name==="GeneratorFunction"||l.displayName==="GeneratorFunction"||e(l.prototype))}function r(d){return Object==d.constructor}var s=Array.prototype.slice;O.exports=h.default=h.co=h,h.wrap=function(d){function l(){return h.call(this,d.apply(this,arguments))}return l.__generatorFunction__=d,l}},{}],42:[function(n,O,v){O.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],43:[function(n,O,v){"use strict";function h(u,p){if(!(this instanceof h))return new h(u,p);this.src=u,this._withAccess=p}function g(u,p){return u[p]===void 0&&u.__lookupGetter__(p)===void 0&&u.__lookupSetter__(p)===void 0}var i=Array.prototype.slice;O.exports=h,h.prototype.withAccess=function(u){return this._withAccess=u!==!1,this},h.prototype.pick=function(u){return Array.isArray(u)||(u=i.call(arguments)),u.length&&(this.keys=u),this},h.prototype.to=function(u){if(u=u||{},!this.src)return u;var p=this.keys||Object.keys(this.src);if(!this._withAccess){for(var c=0;c<p.length;c++)e=p[c],u[e]===void 0&&(u[e]=this.src[e]);return u}for(var c=0;c<p.length;c++){var e=p[c];if(g(u,e)){var a=this.src.__lookupGetter__(e),r=this.src.__lookupSetter__(e);a&&u.__defineGetter__(e,a),r&&u.__defineSetter__(e,r),a||r||(u[e]=this.src[e])}}return u},h.prototype.toCover=function(u){for(var p=this.keys||Object.keys(this.src),c=0;c<p.length;c++){var e=p[c];delete u[e];var a=this.src.__lookupGetter__(e),r=this.src.__lookupSetter__(e);a&&u.__defineGetter__(e,a),r&&u.__defineSetter__(e,r),a||r||(u[e]=this.src[e])}},h.prototype.override=h.prototype.toCover,h.prototype.and=function(u){var p={};return this.to(p),this.src=u,this.to(p),this.src=p,this}},{}],44:[function(n,O,v){n("../../modules/es6.string.iterator"),n("../../modules/es6.array.from"),O.exports=n("../../modules/_core").Array.from},{"../../modules/_core":65,"../../modules/es6.array.from":133,"../../modules/es6.string.iterator":145}],45:[function(n,O,v){var h=n("../../modules/_core"),g=h.JSON||(h.JSON={stringify:JSON.stringify});O.exports=function(i){return g.stringify.apply(g,arguments)}},{"../../modules/_core":65}],46:[function(n,O,v){n("../../modules/es6.object.assign"),O.exports=n("../../modules/_core").Object.assign},{"../../modules/_core":65,"../../modules/es6.object.assign":136}],47:[function(n,O,v){n("../../modules/es6.object.create");var h=n("../../modules/_core").Object;O.exports=function(g,i){return h.create(g,i)}},{"../../modules/_core":65,"../../modules/es6.object.create":137}],48:[function(n,O,v){n("../../modules/es6.object.define-property");var h=n("../../modules/_core").Object;O.exports=function(g,i,u){return h.defineProperty(g,i,u)}},{"../../modules/_core":65,"../../modules/es6.object.define-property":138}],49:[function(n,O,v){n("../../modules/es6.object.get-own-property-names");var h=n("../../modules/_core").Object;O.exports=function(g){return h.getOwnPropertyNames(g)}},{"../../modules/_core":65,"../../modules/es6.object.get-own-property-names":139}],50:[function(n,O,v){n("../../modules/es6.object.get-prototype-of"),O.exports=n("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":65,"../../modules/es6.object.get-prototype-of":140}],51:[function(n,O,v){n("../../modules/es6.object.keys"),O.exports=n("../../modules/_core").Object.keys},{"../../modules/_core":65,"../../modules/es6.object.keys":141}],52:[function(n,O,v){n("../modules/es6.object.to-string"),n("../modules/es6.string.iterator"),n("../modules/web.dom.iterable"),n("../modules/es6.promise"),n("../modules/es7.promise.finally"),n("../modules/es7.promise.try"),O.exports=n("../modules/_core").Promise},{"../modules/_core":65,"../modules/es6.object.to-string":142,"../modules/es6.promise":143,"../modules/es6.string.iterator":145,"../modules/es7.promise.finally":147,"../modules/es7.promise.try":148,"../modules/web.dom.iterable":151}],53:[function(n,O,v){n("../modules/web.immediate"),O.exports=n("../modules/_core").setImmediate},{"../modules/_core":65,"../modules/web.immediate":152}],54:[function(n,O,v){n("../../modules/es6.string.from-code-point"),O.exports=n("../../modules/_core").String.fromCodePoint},{"../../modules/_core":65,"../../modules/es6.string.from-code-point":144}],55:[function(n,O,v){n("../../modules/es6.function.has-instance"),O.exports=n("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":130,"../../modules/es6.function.has-instance":135}],56:[function(n,O,v){n("../../modules/es6.symbol"),n("../../modules/es6.object.to-string"),n("../../modules/es7.symbol.async-iterator"),n("../../modules/es7.symbol.observable"),O.exports=n("../../modules/_core").Symbol},{"../../modules/_core":65,"../../modules/es6.object.to-string":142,"../../modules/es6.symbol":146,"../../modules/es7.symbol.async-iterator":149,"../../modules/es7.symbol.observable":150}],57:[function(n,O,v){n("../../modules/es6.string.iterator"),n("../../modules/web.dom.iterable"),O.exports=n("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":130,"../../modules/es6.string.iterator":145,"../../modules/web.dom.iterable":151}],58:[function(n,O,v){O.exports=function(h){if(typeof h!="function")throw TypeError(h+" is not a function!");return h}},{}],59:[function(n,O,v){O.exports=function(){}},{}],60:[function(n,O,v){O.exports=function(h,g,i,u){if(!(h instanceof g)||u!==void 0&&u in h)throw TypeError(i+": incorrect invocation!");return h}},{}],61:[function(n,O,v){var h=n("./_is-object");O.exports=function(g){if(!h(g))throw TypeError(g+" is not an object!");return g}},{"./_is-object":85}],62:[function(n,O,v){var h=n("./_to-iobject"),g=n("./_to-length"),i=n("./_to-absolute-index");O.exports=function(u){return function(p,c,e){var a,r=h(p),s=g(r.length),d=i(e,s);if(u&&c!=c){for(;s>d;)if((a=r[d++])!=a)return!0}else for(;s>d;d++)if((u||d in r)&&r[d]===c)return u||d||0;return!u&&-1}}},{"./_to-absolute-index":121,"./_to-iobject":123,"./_to-length":124}],63:[function(n,O,v){var h=n("./_cof"),g=n("./_wks")("toStringTag"),i=h(function(){return arguments}())=="Arguments",u=function(c,e){try{return c[e]}catch(a){}};O.exports=function(p){var c,e,a;return p===void 0?"Undefined":p===null?"Null":typeof(e=u(c=Object(p),g))=="string"?e:i?h(c):(a=h(c))=="Object"&&typeof c.callee=="function"?"Arguments":a}},{"./_cof":64,"./_wks":131}],64:[function(n,O,v){var h={}.toString;O.exports=function(g){return h.call(g).slice(8,-1)}},{}],65:[function(n,O,v){var h=O.exports={version:"2.5.7"};typeof __e=="number"&&(__e=h)},{}],66:[function(n,O,v){"use strict";var h=n("./_object-dp"),g=n("./_property-desc");O.exports=function(i,u,p){u in i?h.f(i,u,g(0,p)):i[u]=p}},{"./_object-dp":98,"./_property-desc":111}],67:[function(n,O,v){var h=n("./_a-function");O.exports=function(g,i,u){if(h(g),i===void 0)return g;switch(u){case 1:return function(p){return g.call(i,p)};case 2:return function(p,c){return g.call(i,p,c)};case 3:return function(p,c,e){return g.call(i,p,c,e)}}return function(){return g.apply(i,arguments)}}},{"./_a-function":58}],68:[function(n,O,v){O.exports=function(h){if(h==null)throw TypeError("Can't call method on "+h);return h}},{}],69:[function(n,O,v){O.exports=!n("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":74}],70:[function(n,O,v){var h=n("./_is-object"),g=n("./_global").document,i=h(g)&&h(g.createElement);O.exports=function(u){return i?g.createElement(u):{}}},{"./_global":76,"./_is-object":85}],71:[function(n,O,v){O.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],72:[function(n,O,v){var h=n("./_object-keys"),g=n("./_object-gops"),i=n("./_object-pie");O.exports=function(u){var p=h(u),c=g.f;if(c)for(var e,a=c(u),r=i.f,s=0;a.length>s;)r.call(u,e=a[s++])&&p.push(e);return p}},{"./_object-gops":103,"./_object-keys":106,"./_object-pie":107}],73:[function(n,O,v){var h=n("./_global"),g=n("./_core"),i=n("./_ctx"),u=n("./_hide"),p=n("./_has"),c=function e(a,r,s){var d,l,w,x=a&e.F,f=a&e.G,A=a&e.S,S=a&e.P,m=a&e.B,_=a&e.W,P=f?g:g[r]||(g[r]={}),k=P.prototype,b=f?h:A?h[r]:(h[r]||{}).prototype;f&&(s=r);for(d in s)(l=!x&&b&&b[d]!==void 0)&&p(P,d)||(w=l?b[d]:s[d],P[d]=f&&typeof b[d]!="function"?s[d]:m&&l?i(w,h):_&&b[d]==w?function(L){var D=function(I,B,G){if(this instanceof L){switch(arguments.length){case 0:return new L;case 1:return new L(I);case 2:return new L(I,B)}return new L(I,B,G)}return L.apply(this,arguments)};return D.prototype=L.prototype,D}(w):S&&typeof w=="function"?i(Function.call,w):w,S&&((P.virtual||(P.virtual={}))[d]=w,a&e.R&&k&&!k[d]&&u(k,d,w)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,O.exports=c},{"./_core":65,"./_ctx":67,"./_global":76,"./_has":77,"./_hide":78}],74:[function(n,O,v){O.exports=function(h){try{return!!h()}catch(g){return!0}}},{}],75:[function(n,O,v){var h=n("./_ctx"),g=n("./_iter-call"),i=n("./_is-array-iter"),u=n("./_an-object"),p=n("./_to-length"),c=n("./core.get-iterator-method"),e={},a={},v=O.exports=function(r,s,d,l,w){var x,f,A,S,m=w?function(){return r}:c(r),_=h(d,l,s?2:1),P=0;if(typeof m!="function")throw TypeError(r+" is not iterable!");if(i(m)){for(x=p(r.length);x>P;P++)if((S=s?_(u(f=r[P])[0],f[1]):_(r[P]))===e||S===a)return S}else for(A=m.call(r);!(f=A.next()).done;)if((S=g(A,_,f.value,s))===e||S===a)return S};v.BREAK=e,v.RETURN=a},{"./_an-object":61,"./_ctx":67,"./_is-array-iter":83,"./_iter-call":86,"./_to-length":124,"./core.get-iterator-method":132}],76:[function(n,O,v){var h=O.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=h)},{}],77:[function(n,O,v){var h={}.hasOwnProperty;O.exports=function(g,i){return h.call(g,i)}},{}],78:[function(n,O,v){var h=n("./_object-dp"),g=n("./_property-desc");O.exports=n("./_descriptors")?function(i,u,p){return h.f(i,u,g(1,p))}:function(i,u,p){return i[u]=p,i}},{"./_descriptors":69,"./_object-dp":98,"./_property-desc":111}],79:[function(n,O,v){var h=n("./_global").document;O.exports=h&&h.documentElement},{"./_global":76}],80:[function(n,O,v){O.exports=!n("./_descriptors")&&!n("./_fails")(function(){return Object.defineProperty(n("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":69,"./_dom-create":70,"./_fails":74}],81:[function(n,O,v){O.exports=function(h,g,i){var u=i===void 0;switch(g.length){case 0:return u?h():h.call(i);case 1:return u?h(g[0]):h.call(i,g[0]);case 2:return u?h(g[0],g[1]):h.call(i,g[0],g[1]);case 3:return u?h(g[0],g[1],g[2]):h.call(i,g[0],g[1],g[2]);case 4:return u?h(g[0],g[1],g[2],g[3]):h.call(i,g[0],g[1],g[2],g[3])}return h.apply(i,g)}},{}],82:[function(n,O,v){var h=n("./_cof");O.exports=Object("z").propertyIsEnumerable(0)?Object:function(g){return h(g)=="String"?g.split(""):Object(g)}},{"./_cof":64}],83:[function(n,O,v){var h=n("./_iterators"),g=n("./_wks")("iterator"),i=Array.prototype;O.exports=function(u){return u!==void 0&&(h.Array===u||i[g]===u)}},{"./_iterators":91,"./_wks":131}],84:[function(n,O,v){var h=n("./_cof");O.exports=Array.isArray||function(g){return h(g)=="Array"}},{"./_cof":64}],85:[function(n,O,v){O.exports=function(h){return typeof h=="object"?h!==null:typeof h=="function"}},{}],86:[function(n,O,v){var h=n("./_an-object");O.exports=function(g,i,u,p){try{return p?i(h(u)[0],u[1]):i(u)}catch(e){var c=g.return;throw c!==void 0&&h(c.call(g)),e}}},{"./_an-object":61}],87:[function(n,O,v){"use strict";var h=n("./_object-create"),g=n("./_property-desc"),i=n("./_set-to-string-tag"),u={};n("./_hide")(u,n("./_wks")("iterator"),function(){return this}),O.exports=function(p,c,e){p.prototype=h(u,{next:g(1,e)}),i(p,c+" Iterator")}},{"./_hide":78,"./_object-create":97,"./_property-desc":111,"./_set-to-string-tag":115,"./_wks":131}],88:[function(n,O,v){"use strict";var h=n("./_library"),g=n("./_export"),i=n("./_redefine"),u=n("./_hide"),p=n("./_iterators"),c=n("./_iter-create"),e=n("./_set-to-string-tag"),a=n("./_object-gpo"),r=n("./_wks")("iterator"),s=!([].keys&&"next"in[].keys()),d=function(){return this};O.exports=function(l,w,x,f,A,S,m){c(x,w,f);var _,P,k,b=function(oe){if(!s&&oe in I)return I[oe];switch(oe){case"keys":case"values":return function(){return new x(this,oe)}}return function(){return new x(this,oe)}},L=w+" Iterator",D=A=="values",F=!1,I=l.prototype,B=I[r]||I["@@iterator"]||A&&I[A],G=B||b(A),q=A?D?b("entries"):G:void 0,ie=w=="Array"&&I.entries||B;if(ie&&(k=a(ie.call(new l)))!==Object.prototype&&k.next&&(e(k,L,!0),h||typeof k[r]=="function"||u(k,r,d)),D&&B&&B.name!=="values"&&(F=!0,G=function(){return B.call(this)}),h&&!m||!s&&!F&&I[r]||u(I,r,G),p[w]=G,p[L]=d,A)if(_={values:D?G:b("values"),keys:S?G:b("keys"),entries:q},m)for(P in _)P in I||i(I,P,_[P]);else g(g.P+g.F*(s||F),w,_);return _}},{"./_export":73,"./_hide":78,"./_iter-create":87,"./_iterators":91,"./_library":92,"./_object-gpo":104,"./_redefine":113,"./_set-to-string-tag":115,"./_wks":131}],89:[function(n,O,v){var h=n("./_wks")("iterator"),g=!1;try{var i=[7][h]();i.return=function(){g=!0},Array.from(i,function(){throw 2})}catch(u){}O.exports=function(u,p){if(!p&&!g)return!1;var c=!1;try{var e=[7],a=e[h]();a.next=function(){return{done:c=!0}},e[h]=function(){return a},u(e)}catch(r){}return c}},{"./_wks":131}],90:[function(n,O,v){O.exports=function(h,g){return{value:g,done:!!h}}},{}],91:[function(n,O,v){O.exports={}},{}],92:[function(n,O,v){O.exports=!0},{}],93:[function(n,O,v){var h=n("./_uid")("meta"),g=n("./_is-object"),i=n("./_has"),u=n("./_object-dp").f,p=0,c=Object.isExtensible||function(){return!0},e=!n("./_fails")(function(){return c(Object.preventExtensions({}))}),a=function(x){u(x,h,{value:{i:"O"+ ++p,w:{}}})},r=function(x,f){if(!g(x))return typeof x=="symbol"?x:(typeof x=="string"?"S":"P")+x;if(!i(x,h)){if(!c(x))return"F";if(!f)return"E";a(x)}return x[h].i},s=function(x,f){if(!i(x,h)){if(!c(x))return!0;if(!f)return!1;a(x)}return x[h].w},d=function(x){return e&&l.NEED&&c(x)&&!i(x,h)&&a(x),x},l=O.exports={KEY:h,NEED:!1,fastKey:r,getWeak:s,onFreeze:d}},{"./_fails":74,"./_has":77,"./_is-object":85,"./_object-dp":98,"./_uid":127}],94:[function(n,O,v){var h=n("./_global"),g=n("./_task").set,i=h.MutationObserver||h.WebKitMutationObserver,u=h.process,p=h.Promise,c=n("./_cof")(u)=="process";O.exports=function(){var e,a,r,s=function(){var f,A;for(c&&(f=u.domain)&&f.exit();e;){A=e.fn,e=e.next;try{A()}catch(S){throw e?r():a=void 0,S}}a=void 0,f&&f.enter()};if(c)r=function(){u.nextTick(s)};else if(!i||h.navigator&&h.navigator.standalone)if(p&&p.resolve){var d=p.resolve(void 0);r=function(){d.then(s)}}else r=function(){g.call(h,s)};else{var l=!0,w=document.createTextNode("");new i(s).observe(w,{characterData:!0}),r=function(){w.data=l=!l}}return function(x){var f={fn:x,next:void 0};a&&(a.next=f),e||(e=f,r()),a=f}}},{"./_cof":64,"./_global":76,"./_task":120}],95:[function(n,O,v){"use strict";function h(i){var u,p;this.promise=new i(function(c,e){if(u!==void 0||p!==void 0)throw TypeError("Bad Promise constructor");u=c,p=e}),this.resolve=g(u),this.reject=g(p)}var g=n("./_a-function");O.exports.f=function(i){return new h(i)}},{"./_a-function":58}],96:[function(n,O,v){"use strict";var h=n("./_object-keys"),g=n("./_object-gops"),i=n("./_object-pie"),u=n("./_to-object"),p=n("./_iobject"),c=Object.assign;O.exports=!c||n("./_fails")(function(){var e={},a={},r=Symbol(),s="abcdefghijklmnopqrst";return e[r]=7,s.split("").forEach(function(d){a[d]=d}),c({},e)[r]!=7||Object.keys(c({},a)).join("")!=s})?function(e,a){for(var r=u(e),s=arguments.length,d=1,l=g.f,w=i.f;s>d;)for(var x,f=p(arguments[d++]),A=l?h(f).concat(l(f)):h(f),S=A.length,m=0;S>m;)w.call(f,x=A[m++])&&(r[x]=f[x]);return r}:c},{"./_fails":74,"./_iobject":82,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_to-object":125}],97:[function(n,O,v){var h=n("./_an-object"),g=n("./_object-dps"),i=n("./_enum-bug-keys"),u=n("./_shared-key")("IE_PROTO"),p=function(){},c=function(){var a,r=n("./_dom-create")("iframe"),s=i.length;for(r.style.display="none",n("./_html").appendChild(r),r.src="javascript:",a=r.contentWindow.document,a.open(),a.write("<script>document.F=Object</script>"),a.close(),c=a.F;s--;)delete c.prototype[i[s]];return c()};O.exports=Object.create||function(e,a){var r;return e!==null?(p.prototype=h(e),r=new p,p.prototype=null,r[u]=e):r=c(),a===void 0?r:g(r,a)}},{"./_an-object":61,"./_dom-create":70,"./_enum-bug-keys":71,"./_html":79,"./_object-dps":99,"./_shared-key":116}],98:[function(n,O,v){var h=n("./_an-object"),g=n("./_ie8-dom-define"),i=n("./_to-primitive"),u=Object.defineProperty;v.f=n("./_descriptors")?Object.defineProperty:function(p,c,e){if(h(p),c=i(c,!0),h(e),g)try{return u(p,c,e)}catch(a){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(p[c]=e.value),p}},{"./_an-object":61,"./_descriptors":69,"./_ie8-dom-define":80,"./_to-primitive":126}],99:[function(n,O,v){var h=n("./_object-dp"),g=n("./_an-object"),i=n("./_object-keys");O.exports=n("./_descriptors")?Object.defineProperties:function(u,p){g(u);for(var c,e=i(p),a=e.length,r=0;a>r;)h.f(u,c=e[r++],p[c]);return u}},{"./_an-object":61,"./_descriptors":69,"./_object-dp":98,"./_object-keys":106}],100:[function(n,O,v){var h=n("./_object-pie"),g=n("./_property-desc"),i=n("./_to-iobject"),u=n("./_to-primitive"),p=n("./_has"),c=n("./_ie8-dom-define"),e=Object.getOwnPropertyDescriptor;v.f=n("./_descriptors")?e:function(a,r){if(a=i(a),r=u(r,!0),c)try{return e(a,r)}catch(s){}if(p(a,r))return g(!h.f.call(a,r),a[r])}},{"./_descriptors":69,"./_has":77,"./_ie8-dom-define":80,"./_object-pie":107,"./_property-desc":111,"./_to-iobject":123,"./_to-primitive":126}],101:[function(n,O,v){var h=n("./_to-iobject"),g=n("./_object-gopn").f,i={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],p=function(e){try{return g(e)}catch(a){return u.slice()}};O.exports.f=function(c){return u&&i.call(c)=="[object Window]"?p(c):g(h(c))}},{"./_object-gopn":102,"./_to-iobject":123}],102:[function(n,O,v){var h=n("./_object-keys-internal"),g=n("./_enum-bug-keys").concat("length","prototype");v.f=Object.getOwnPropertyNames||function(i){return h(i,g)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],103:[function(n,O,v){v.f=Object.getOwnPropertySymbols},{}],104:[function(n,O,v){var h=n("./_has"),g=n("./_to-object"),i=n("./_shared-key")("IE_PROTO"),u=Object.prototype;O.exports=Object.getPrototypeOf||function(p){return p=g(p),h(p,i)?p[i]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?u:null}},{"./_has":77,"./_shared-key":116,"./_to-object":125}],105:[function(n,O,v){var h=n("./_has"),g=n("./_to-iobject"),i=n("./_array-includes")(!1),u=n("./_shared-key")("IE_PROTO");O.exports=function(p,c){var e,a=g(p),r=0,s=[];for(e in a)e!=u&&h(a,e)&&s.push(e);for(;c.length>r;)h(a,e=c[r++])&&(~i(s,e)||s.push(e));return s}},{"./_array-includes":62,"./_has":77,"./_shared-key":116,"./_to-iobject":123}],106:[function(n,O,v){var h=n("./_object-keys-internal"),g=n("./_enum-bug-keys");O.exports=Object.keys||function(i){return h(i,g)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],107:[function(n,O,v){v.f={}.propertyIsEnumerable},{}],108:[function(n,O,v){var h=n("./_export"),g=n("./_core"),i=n("./_fails");O.exports=function(u,p){var c=(g.Object||{})[u]||Object[u],e={};e[u]=p(c),h(h.S+h.F*i(function(){c(1)}),"Object",e)}},{"./_core":65,"./_export":73,"./_fails":74}],109:[function(n,O,v){O.exports=function(h){try{return{e:!1,v:h()}}catch(g){return{e:!0,v:g}}}},{}],110:[function(n,O,v){var h=n("./_an-object"),g=n("./_is-object"),i=n("./_new-promise-capability");O.exports=function(u,p){if(h(u),g(p)&&p.constructor===u)return p;var c=i.f(u);return(0,c.resolve)(p),c.promise}},{"./_an-object":61,"./_is-object":85,"./_new-promise-capability":95}],111:[function(n,O,v){O.exports=function(h,g){return{enumerable:!(1&h),configurable:!(2&h),writable:!(4&h),value:g}}},{}],112:[function(n,O,v){var h=n("./_hide");O.exports=function(g,i,u){for(var p in i)u&&g[p]?g[p]=i[p]:h(g,p,i[p]);return g}},{"./_hide":78}],113:[function(n,O,v){O.exports=n("./_hide")},{"./_hide":78}],114:[function(n,O,v){"use strict";var h=n("./_global"),g=n("./_core"),i=n("./_object-dp"),u=n("./_descriptors"),p=n("./_wks")("species");O.exports=function(c){var e=typeof g[c]=="function"?g[c]:h[c];u&&e&&!e[p]&&i.f(e,p,{configurable:!0,get:function(){return this}})}},{"./_core":65,"./_descriptors":69,"./_global":76,"./_object-dp":98,"./_wks":131}],115:[function(n,O,v){var h=n("./_object-dp").f,g=n("./_has"),i=n("./_wks")("toStringTag");O.exports=function(u,p,c){u&&!g(u=c?u:u.prototype,i)&&h(u,i,{configurable:!0,value:p})}},{"./_has":77,"./_object-dp":98,"./_wks":131}],116:[function(n,O,v){var h=n("./_shared")("keys"),g=n("./_uid");O.exports=function(i){return h[i]||(h[i]=g(i))}},{"./_shared":117,"./_uid":127}],117:[function(n,O,v){var h=n("./_core"),g=n("./_global"),i=g["__core-js_shared__"]||(g["__core-js_shared__"]={});(O.exports=function(u,p){return i[u]||(i[u]=p!==void 0?p:{})})("versions",[]).push({version:h.version,mode:n("./_library")?"pure":"global",copyright:"\u6F0F 2018 Denis Pushkarev (zloirock.ru)"})},{"./_core":65,"./_global":76,"./_library":92}],118:[function(n,O,v){var h=n("./_an-object"),g=n("./_a-function"),i=n("./_wks")("species");O.exports=function(u,p){var c,e=h(u).constructor;return e===void 0||(c=h(e)[i])==null?p:g(c)}},{"./_a-function":58,"./_an-object":61,"./_wks":131}],119:[function(n,O,v){var h=n("./_to-integer"),g=n("./_defined");O.exports=function(i){return function(u,p){var c,e,a=String(g(u)),r=h(p),s=a.length;return r<0||r>=s?i?"":void 0:(c=a.charCodeAt(r),c<55296||c>56319||r+1===s||(e=a.charCodeAt(r+1))<56320||e>57343?i?a.charAt(r):c:i?a.slice(r,r+2):e-56320+(c-55296<<10)+65536)}}},{"./_defined":68,"./_to-integer":122}],120:[function(n,O,v){var h,g,i,u=n("./_ctx"),p=n("./_invoke"),c=n("./_html"),e=n("./_dom-create"),a=n("./_global"),r=a.process,s=a.setImmediate,d=a.clearImmediate,l=a.MessageChannel,w=a.Dispatch,x=0,f={},A=function(){var _=+this;if(f.hasOwnProperty(_)){var P=f[_];delete f[_],P()}},S=function(_){A.call(_.data)};s&&d||(s=function(_){for(var P=[],k=1;arguments.length>k;)P.push(arguments[k++]);return f[++x]=function(){p(typeof _=="function"?_:Function(_),P)},h(x),x},d=function(_){delete f[_]},n("./_cof")(r)=="process"?h=function(_){r.nextTick(u(A,_,1))}:w&&w.now?h=function(_){w.now(u(A,_,1))}:l?(g=new l,i=g.port2,g.port1.onmessage=S,h=u(i.postMessage,i,1)):a.addEventListener&&typeof postMessage=="function"&&!a.importScripts?(h=function(_){a.postMessage(_+"","*")},a.addEventListener("message",S,!1)):h="onreadystatechange"in e("script")?function(m){c.appendChild(e("script")).onreadystatechange=function(){c.removeChild(this),A.call(m)}}:function(m){setTimeout(u(A,m,1),0)}),O.exports={set:s,clear:d}},{"./_cof":64,"./_ctx":67,"./_dom-create":70,"./_global":76,"./_html":79,"./_invoke":81}],121:[function(n,O,v){var h=n("./_to-integer"),g=Math.max,i=Math.min;O.exports=function(u,p){return u=h(u),u<0?g(u+p,0):i(u,p)}},{"./_to-integer":122}],122:[function(n,O,v){var h=Math.ceil,g=Math.floor;O.exports=function(i){return isNaN(i=+i)?0:(i>0?g:h)(i)}},{}],123:[function(n,O,v){var h=n("./_iobject"),g=n("./_defined");O.exports=function(i){return h(g(i))}},{"./_defined":68,"./_iobject":82}],124:[function(n,O,v){var h=n("./_to-integer"),g=Math.min;O.exports=function(i){return i>0?g(h(i),9007199254740991):0}},{"./_to-integer":122}],125:[function(n,O,v){var h=n("./_defined");O.exports=function(g){return Object(h(g))}},{"./_defined":68}],126:[function(n,O,v){var h=n("./_is-object");O.exports=function(g,i){if(!h(g))return g;var u,p;if(i&&typeof(u=g.toString)=="function"&&!h(p=u.call(g)))return p;if(typeof(u=g.valueOf)=="function"&&!h(p=u.call(g)))return p;if(!i&&typeof(u=g.toString)=="function"&&!h(p=u.call(g)))return p;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":85}],127:[function(n,O,v){var h=0,g=Math.random();O.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++h+g).toString(36))}},{}],128:[function(n,O,v){var h=n("./_global"),g=h.navigator;O.exports=g&&g.userAgent||""},{"./_global":76}],129:[function(n,O,v){var h=n("./_global"),g=n("./_core"),i=n("./_library"),u=n("./_wks-ext"),p=n("./_object-dp").f;O.exports=function(c){var e=g.Symbol||(g.Symbol=i?{}:h.Symbol||{});c.charAt(0)=="_"||c in e||p(e,c,{value:u.f(c)})}},{"./_core":65,"./_global":76,"./_library":92,"./_object-dp":98,"./_wks-ext":130}],130:[function(n,O,v){v.f=n("./_wks")},{"./_wks":131}],131:[function(n,O,v){var h=n("./_shared")("wks"),g=n("./_uid"),i=n("./_global").Symbol,u=typeof i=="function";(O.exports=function(p){return h[p]||(h[p]=u&&i[p]||(u?i:g)("Symbol."+p))}).store=h},{"./_global":76,"./_shared":117,"./_uid":127}],132:[function(n,O,v){var h=n("./_classof"),g=n("./_wks")("iterator"),i=n("./_iterators");O.exports=n("./_core").getIteratorMethod=function(u){if(u!=null)return u[g]||u["@@iterator"]||i[h(u)]}},{"./_classof":63,"./_core":65,"./_iterators":91,"./_wks":131}],133:[function(n,O,v){"use strict";var h=n("./_ctx"),g=n("./_export"),i=n("./_to-object"),u=n("./_iter-call"),p=n("./_is-array-iter"),c=n("./_to-length"),e=n("./_create-property"),a=n("./core.get-iterator-method");g(g.S+g.F*!n("./_iter-detect")(function(r){Array.from(r)}),"Array",{from:function(s){var d,l,w,x,f=i(s),A=typeof this=="function"?this:Array,S=arguments.length,m=S>1?arguments[1]:void 0,_=m!==void 0,P=0,k=a(f);if(_&&(m=h(m,S>2?arguments[2]:void 0,2)),k==null||A==Array&&p(k))for(d=c(f.length),l=new A(d);d>P;P++)e(l,P,_?m(f[P],P):f[P]);else for(x=k.call(f),l=new A;!(w=x.next()).done;P++)e(l,P,_?u(x,m,[w.value,P],!0):w.value);return l.length=P,l}})},{"./_create-property":66,"./_ctx":67,"./_export":73,"./_is-array-iter":83,"./_iter-call":86,"./_iter-detect":89,"./_to-length":124,"./_to-object":125,"./core.get-iterator-method":132}],134:[function(n,O,v){"use strict";var h=n("./_add-to-unscopables"),g=n("./_iter-step"),i=n("./_iterators"),u=n("./_to-iobject");O.exports=n("./_iter-define")(Array,"Array",function(p,c){this._t=u(p),this._i=0,this._k=c},function(){var p=this._t,c=this._k,e=this._i++;return!p||e>=p.length?(this._t=void 0,g(1)):c=="keys"?g(0,e):c=="values"?g(0,p[e]):g(0,[e,p[e]])},"values"),i.Arguments=i.Array,h("keys"),h("values"),h("entries")},{"./_add-to-unscopables":59,"./_iter-define":88,"./_iter-step":90,"./_iterators":91,"./_to-iobject":123}],135:[function(n,O,v){"use strict";var h=n("./_is-object"),g=n("./_object-gpo"),i=n("./_wks")("hasInstance"),u=Function.prototype;i in u||n("./_object-dp").f(u,i,{value:function(c){if(typeof this!="function"||!h(c))return!1;if(!h(this.prototype))return c instanceof this;for(;c=g(c);)if(this.prototype===c)return!0;return!1}})},{"./_is-object":85,"./_object-dp":98,"./_object-gpo":104,"./_wks":131}],136:[function(n,O,v){var h=n("./_export");h(h.S+h.F,"Object",{assign:n("./_object-assign")})},{"./_export":73,"./_object-assign":96}],137:[function(n,O,v){var h=n("./_export");h(h.S,"Object",{create:n("./_object-create")})},{"./_export":73,"./_object-create":97}],138:[function(n,O,v){var h=n("./_export");h(h.S+h.F*!n("./_descriptors"),"Object",{defineProperty:n("./_object-dp").f})},{"./_descriptors":69,"./_export":73,"./_object-dp":98}],139:[function(n,O,v){n("./_object-sap")("getOwnPropertyNames",function(){return n("./_object-gopn-ext").f})},{"./_object-gopn-ext":101,"./_object-sap":108}],140:[function(n,O,v){var h=n("./_to-object"),g=n("./_object-gpo");n("./_object-sap")("getPrototypeOf",function(){return function(i){return g(h(i))}})},{"./_object-gpo":104,"./_object-sap":108,"./_to-object":125}],141:[function(n,O,v){var h=n("./_to-object"),g=n("./_object-keys");n("./_object-sap")("keys",function(){return function(i){return g(h(i))}})},{"./_object-keys":106,"./_object-sap":108,"./_to-object":125}],142:[function(n,O,v){arguments[4][36][0].apply(v,arguments)},{dup:36}],143:[function(n,O,v){"use strict";var h,g,i,u,p=n("./_library"),c=n("./_global"),e=n("./_ctx"),a=n("./_classof"),r=n("./_export"),s=n("./_is-object"),d=n("./_a-function"),l=n("./_an-instance"),w=n("./_for-of"),x=n("./_species-constructor"),f=n("./_task").set,A=n("./_microtask")(),S=n("./_new-promise-capability"),m=n("./_perform"),_=n("./_user-agent"),P=n("./_promise-resolve"),k=c.TypeError,b=c.process,L=b&&b.versions,D=L&&L.v8||"",F=c.Promise,I=a(b)=="process",B=function(){},G=g=S.f,q=!!function(){try{var N=F.resolve(1),M=(N.constructor={})[n("./_wks")("species")]=function(K){K(B,B)};return(I||typeof PromiseRejectionEvent=="function")&&N.then(B)instanceof M&&D.indexOf("6.6")!==0&&_.indexOf("Chrome/66")===-1}catch(K){}}(),ie=function(M){var K;return!(!s(M)||typeof(K=M.then)!="function")&&K},z=function(M,K){if(!M._n){M._n=!0;var J=M._c;A(function(){for(var pe=M._v,ae=M._s==1,he=0;J.length>he;)!function(ve){var te,ee,ce,W=ae?ve.ok:ve.fail,X=ve.resolve,ue=ve.reject,$=ve.domain;try{W?(ae||(M._h==2&&H(M),M._h=1),W===!0?te=pe:($&&$.enter(),te=W(pe),$&&($.exit(),ce=!0)),te===ve.promise?ue(k("Promise-chain cycle")):(ee=ie(te))?ee.call(te,X,ue):X(te)):ue(pe)}catch(se){$&&!ce&&$.exit(),ue(se)}}(J[he++]);M._c=[],M._n=!1,K&&!M._h&&oe(M)})}},oe=function(M){f.call(c,function(){var K,J,pe,ae=M._v,he=Z(M);if(he&&(K=m(function(){I?b.emit("unhandledRejection",ae,M):(J=c.onunhandledrejection)?J({promise:M,reason:ae}):(pe=c.console)&&pe.error&&pe.error("Unhandled promise rejection",ae)}),M._h=I||Z(M)?2:1),M._a=void 0,he&&K.e)throw K.v})},Z=function(M){return M._h!==1&&(M._a||M._c).length===0},H=function(M){f.call(c,function(){var K;I?b.emit("rejectionHandled",M):(K=c.onrejectionhandled)&&K({promise:M,reason:M._v})})},R=function(M){var K=this;K._d||(K._d=!0,K=K._w||K,K._v=M,K._s=2,K._a||(K._a=K._c.slice()),z(K,!0))},j=function N(M){var K,J=this;if(!J._d){J._d=!0,J=J._w||J;try{if(J===M)throw k("Promise can't be resolved itself");(K=ie(M))?A(function(){var pe={_w:J,_d:!1};try{K.call(M,e(N,pe,1),e(R,pe,1))}catch(ae){R.call(pe,ae)}}):(J._v=M,J._s=1,z(J,!1))}catch(pe){R.call({_w:J,_d:!1},pe)}}};q||(F=function(M){l(this,F,"Promise","_h"),d(M),h.call(this);try{M(e(j,this,1),e(R,this,1))}catch(K){R.call(this,K)}},h=function(M){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},h.prototype=n("./_redefine-all")(F.prototype,{then:function(M,K){var J=G(x(this,F));return J.ok=typeof M!="function"||M,J.fail=typeof K=="function"&&K,J.domain=I?b.domain:void 0,this._c.push(J),this._a&&this._a.push(J),this._s&&z(this,!1),J.promise},catch:function(M){return this.then(void 0,M)}}),i=function(){var M=new h;this.promise=M,this.resolve=e(j,M,1),this.reject=e(R,M,1)},S.f=G=function(M){return M===F||M===u?new i(M):g(M)}),r(r.G+r.W+r.F*!q,{Promise:F}),n("./_set-to-string-tag")(F,"Promise"),n("./_set-species")("Promise"),u=n("./_core").Promise,r(r.S+r.F*!q,"Promise",{reject:function(M){var K=G(this);return(0,K.reject)(M),K.promise}}),r(r.S+r.F*(p||!q),"Promise",{resolve:function(M){return P(p&&this===u?F:this,M)}}),r(r.S+r.F*!(q&&n("./_iter-detect")(function(N){F.all(N).catch(B)})),"Promise",{all:function(M){var K=this,J=G(K),pe=J.resolve,ae=J.reject,he=m(function(){var ve=[],te=0,ee=1;w(M,!1,function(ce){var W=te++,X=!1;ve.push(void 0),ee++,K.resolve(ce).then(function(ue){X||(X=!0,ve[W]=ue,--ee||pe(ve))},ae)}),--ee||pe(ve)});return he.e&&ae(he.v),J.promise},race:function(M){var K=this,J=G(K),pe=J.reject,ae=m(function(){w(M,!1,function(he){K.resolve(he).then(J.resolve,pe)})});return ae.e&&pe(ae.v),J.promise}})},{"./_a-function":58,"./_an-instance":60,"./_classof":63,"./_core":65,"./_ctx":67,"./_export":73,"./_for-of":75,"./_global":76,"./_is-object":85,"./_iter-detect":89,"./_library":92,"./_microtask":94,"./_new-promise-capability":95,"./_perform":109,"./_promise-resolve":110,"./_redefine-all":112,"./_set-species":114,"./_set-to-string-tag":115,"./_species-constructor":118,"./_task":120,"./_user-agent":128,"./_wks":131}],144:[function(n,O,v){var h=n("./_export"),g=n("./_to-absolute-index"),i=String.fromCharCode,u=String.fromCodePoint;h(h.S+h.F*(!!u&&u.length!=1),"String",{fromCodePoint:function(c){for(var e,a=[],r=arguments.length,s=0;r>s;){if(e=+arguments[s++],g(e,1114111)!==e)throw RangeError(e+" is not a valid code point");a.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return a.join("")}})},{"./_export":73,"./_to-absolute-index":121}],145:[function(n,O,v){"use strict";var h=n("./_string-at")(!0);n("./_iter-define")(String,"String",function(g){this._t=String(g),this._i=0},function(){var g,i=this._t,u=this._i;return u>=i.length?{value:void 0,done:!0}:(g=h(i,u),this._i+=g.length,{value:g,done:!1})})},{"./_iter-define":88,"./_string-at":119}],146:[function(n,O,v){"use strict";var h=n("./_global"),g=n("./_has"),i=n("./_descriptors"),u=n("./_export"),p=n("./_redefine"),c=n("./_meta").KEY,e=n("./_fails"),a=n("./_shared"),r=n("./_set-to-string-tag"),s=n("./_uid"),d=n("./_wks"),l=n("./_wks-ext"),w=n("./_wks-define"),x=n("./_enum-keys"),f=n("./_is-array"),A=n("./_an-object"),S=n("./_is-object"),m=n("./_to-iobject"),_=n("./_to-primitive"),P=n("./_property-desc"),k=n("./_object-create"),b=n("./_object-gopn-ext"),L=n("./_object-gopd"),D=n("./_object-dp"),F=n("./_object-keys"),I=L.f,B=D.f,G=b.f,q=h.Symbol,ie=h.JSON,z=ie&&ie.stringify,oe=d("_hidden"),Z=d("toPrimitive"),H={}.propertyIsEnumerable,R=a("symbol-registry"),j=a("symbols"),N=a("op-symbols"),M=Object.prototype,K=typeof q=="function",J=h.QObject,pe=!J||!J.prototype||!J.prototype.findChild,ae=i&&e(function(){return k(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(C,y,E){var V=I(M,y);V&&delete M[y],B(C,y,E),V&&C!==M&&B(M,y,V)}:B,he=function(y){var E=j[y]=k(q.prototype);return E._k=y,E},ve=K&&typeof q.iterator=="symbol"?function(C){return typeof C=="symbol"}:function(C){return C instanceof q},te=function C(y,E,V){return y===M&&C(N,E,V),A(y),E=_(E,!0),A(V),g(j,E)?(V.enumerable?(g(y,oe)&&y[oe][E]&&(y[oe][E]=!1),V=k(V,{enumerable:P(0,!1)})):(g(y,oe)||B(y,oe,P(1,{})),y[oe][E]=!0),ae(y,E,V)):B(y,E,V)},ee=function(y,E){A(y);for(var V,Y=x(E=m(E)),_e=0,me=Y.length;me>_e;)te(y,V=Y[_e++],E[V]);return y},ce=function(y,E){return E===void 0?k(y):ee(k(y),E)},W=function(y){var E=H.call(this,y=_(y,!0));return!(this===M&&g(j,y)&&!g(N,y))&&(!(E||!g(this,y)||!g(j,y)||g(this,oe)&&this[oe][y])||E)},X=function(y,E){if(y=m(y),E=_(E,!0),y!==M||!g(j,E)||g(N,E)){var V=I(y,E);return!V||!g(j,E)||g(y,oe)&&y[oe][E]||(V.enumerable=!0),V}},ue=function(y){for(var E,V=G(m(y)),Y=[],_e=0;V.length>_e;)g(j,E=V[_e++])||E==oe||E==c||Y.push(E);return Y},$=function(y){for(var E,V=y===M,Y=G(V?N:m(y)),_e=[],me=0;Y.length>me;)!g(j,E=Y[me++])||V&&!g(M,E)||_e.push(j[E]);return _e};K||(q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor!");var y=s(arguments.length>0?arguments[0]:void 0),E=function V(Y){this===M&&V.call(N,Y),g(this,oe)&&g(this[oe],y)&&(this[oe][y]=!1),ae(this,y,P(1,Y))};return i&&pe&&ae(M,y,{configurable:!0,set:E}),he(y)},p(q.prototype,"toString",function(){return this._k}),L.f=X,D.f=te,n("./_object-gopn").f=b.f=ue,n("./_object-pie").f=W,n("./_object-gops").f=$,i&&!n("./_library")&&p(M,"propertyIsEnumerable",W,!0),l.f=function(C){return he(d(C))}),u(u.G+u.W+u.F*!K,{Symbol:q});for(var se="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),T=0;se.length>T;)d(se[T++]);for(var t=F(d.store),o=0;t.length>o;)w(t[o++]);u(u.S+u.F*!K,"Symbol",{for:function(y){return g(R,y+="")?R[y]:R[y]=q(y)},keyFor:function(y){if(!ve(y))throw TypeError(y+" is not a symbol!");for(var E in R)if(R[E]===y)return E},useSetter:function(){pe=!0},useSimple:function(){pe=!1}}),u(u.S+u.F*!K,"Object",{create:ce,defineProperty:te,defineProperties:ee,getOwnPropertyDescriptor:X,getOwnPropertyNames:ue,getOwnPropertySymbols:$}),ie&&u(u.S+u.F*(!K||e(function(){var C=q();return z([C])!="[null]"||z({a:C})!="{}"||z(Object(C))!="{}"})),"JSON",{stringify:function(y){for(var E,V,Y=[y],_e=1;arguments.length>_e;)Y.push(arguments[_e++]);if(V=E=Y[1],(S(E)||y!==void 0)&&!ve(y))return f(E)||(E=function(Ee,Ae){if(typeof V=="function"&&(Ae=V.call(this,Ee,Ae)),!ve(Ae))return Ae}),Y[1]=E,z.apply(ie,Y)}}),q.prototype[Z]||n("./_hide")(q.prototype,Z,q.prototype.valueOf),r(q,"Symbol"),r(Math,"Math",!0),r(h.JSON,"JSON",!0)},{"./_an-object":61,"./_descriptors":69,"./_enum-keys":72,"./_export":73,"./_fails":74,"./_global":76,"./_has":77,"./_hide":78,"./_is-array":84,"./_is-object":85,"./_library":92,"./_meta":93,"./_object-create":97,"./_object-dp":98,"./_object-gopd":100,"./_object-gopn":102,"./_object-gopn-ext":101,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_property-desc":111,"./_redefine":113,"./_set-to-string-tag":115,"./_shared":117,"./_to-iobject":123,"./_to-primitive":126,"./_uid":127,"./_wks":131,"./_wks-define":129,"./_wks-ext":130}],147:[function(n,O,v){"use strict";var h=n("./_export"),g=n("./_core"),i=n("./_global"),u=n("./_species-constructor"),p=n("./_promise-resolve");h(h.P+h.R,"Promise",{finally:function(e){var a=u(this,g.Promise||i.Promise),r=typeof e=="function";return this.then(r?function(s){return p(a,e()).then(function(){return s})}:e,r?function(s){return p(a,e()).then(function(){throw s})}:e)}})},{"./_core":65,"./_export":73,"./_global":76,"./_promise-resolve":110,"./_species-constructor":118}],148:[function(n,O,v){"use strict";var h=n("./_export"),g=n("./_new-promise-capability"),i=n("./_perform");h(h.S,"Promise",{try:function(p){var c=g.f(this),e=i(p);return(e.e?c.reject:c.resolve)(e.v),c.promise}})},{"./_export":73,"./_new-promise-capability":95,"./_perform":109}],149:[function(n,O,v){n("./_wks-define")("asyncIterator")},{"./_wks-define":129}],150:[function(n,O,v){n("./_wks-define")("observable")},{"./_wks-define":129}],151:[function(n,O,v){n("./es6.array.iterator");for(var h=n("./_global"),g=n("./_hide"),i=n("./_iterators"),u=n("./_wks")("toStringTag"),p="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<p.length;c++){var e=p[c],a=h[e],r=a&&a.prototype;r&&!r[u]&&g(r,u,e),i[e]=i.Array}},{"./_global":76,"./_hide":78,"./_iterators":91,"./_wks":131,"./es6.array.iterator":134}],152:[function(n,O,v){var h=n("./_export"),g=n("./_task");h(h.G+h.B,{setImmediate:g.set,clearImmediate:g.clear})},{"./_export":73,"./_task":120}],153:[function(n,O,v){(function(h){"use strict";function g(_){return Array.isArray?Array.isArray(_):A(_)==="[object Array]"}function i(_){return typeof _=="boolean"}function u(_){return _===null}function p(_){return _==null}function c(_){return typeof _=="number"}function e(_){return typeof _=="string"}function a(_){return(_===void 0?"undefined":(0,m.default)(_))==="symbol"}function r(_){return _===void 0}function s(_){return A(_)==="[object RegExp]"}function d(_){return(_===void 0?"undefined":(0,m.default)(_))==="object"&&_!==null}function l(_){return A(_)==="[object Date]"}function w(_){return A(_)==="[object Error]"||_ instanceof Error}function x(_){return typeof _=="function"}function f(_){return _===null||typeof _=="boolean"||typeof _=="number"||typeof _=="string"||(_===void 0?"undefined":(0,m.default)(_))==="symbol"||_===void 0}function A(_){return Object.prototype.toString.call(_)}var S=n("babel-runtime/helpers/typeof"),m=function(_){return _&&_.__esModule?_:{default:_}}(S);v.isArray=g,v.isBoolean=i,v.isNull=u,v.isNullOrUndefined=p,v.isNumber=c,v.isString=e,v.isSymbol=a,v.isUndefined=r,v.isRegExp=s,v.isObject=d,v.isDate=l,v.isError=w,v.isFunction=x,v.isPrimitive=f,v.isBuffer=h.isBuffer}).call(this,{isBuffer:n("../../is-buffer/index.js")})},{"../../is-buffer/index.js":163,"babel-runtime/helpers/typeof":32}],154:[function(n,O,v){"use strict";var h=n("babel-runtime/helpers/typeof"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);!function(i){function u(r,s){for(r=String(r),s=s||2;r.length<s;)r="0"+r;return r}function p(r){var s=new Date(r.getFullYear(),r.getMonth(),r.getDate());s.setDate(s.getDate()-(s.getDay()+6)%7+3);var d=new Date(s.getFullYear(),0,4);d.setDate(d.getDate()-(d.getDay()+6)%7+3);var l=s.getTimezoneOffset()-d.getTimezoneOffset();s.setHours(s.getHours()-l);var w=(s-d)/6048e5;return 1+Math.floor(w)}function c(r){var s=r.getDay();return s===0&&(s=7),s}function e(r){return r===null?"null":r===void 0?"undefined":(r===void 0?"undefined":(0,g.default)(r))!=="object"?r===void 0?"undefined":(0,g.default)(r):Array.isArray(r)?"array":{}.toString.call(r).slice(8,-1).toLowerCase()}var a=function(){var r=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,s=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g;return function(l,w,x,f){if(arguments.length!==1||e(l)!=="string"||/\d/.test(l)||(w=l,l=void 0),l=l||new Date,l instanceof Date||(l=new Date(l)),isNaN(l))throw TypeError("Invalid date");w=String(a.masks[w]||w||a.masks.default);var A=w.slice(0,4);A!=="UTC:"&&A!=="GMT:"||(w=w.slice(4),x=!0,A==="GMT:"&&(f=!0));var S=x?"getUTC":"get",m=l[S+"Date"](),_=l[S+"Day"](),P=l[S+"Month"](),k=l[S+"FullYear"](),b=l[S+"Hours"](),L=l[S+"Minutes"](),D=l[S+"Seconds"](),F=l[S+"Milliseconds"](),I=x?0:l.getTimezoneOffset(),B=p(l),G=c(l),q={d:m,dd:u(m),ddd:a.i18n.dayNames[_],dddd:a.i18n.dayNames[_+7],m:P+1,mm:u(P+1),mmm:a.i18n.monthNames[P],mmmm:a.i18n.monthNames[P+12],yy:String(k).slice(2),yyyy:k,h:b%12||12,hh:u(b%12||12),H:b,HH:u(b),M:L,MM:u(L),s:D,ss:u(D),l:u(F,3),L:u(Math.round(F/10)),t:b<12?"a":"p",tt:b<12?"am":"pm",T:b<12?"A":"P",TT:b<12?"AM":"PM",Z:f?"GMT":x?"UTC":(String(l).match(s)||[""]).pop().replace(d,""),o:(I>0?"-":"+")+u(100*Math.floor(Math.abs(I)/60)+Math.abs(I)%60,4),S:["th","st","nd","rd"][m%10>3?0:(m%100-m%10!=10)*m%10],W:B,N:G};return w.replace(r,function(ie){return ie in q?q[ie]:ie.slice(1,ie.length-1)})}}();a.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},a.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},typeof fe=="function"&&fe.amd?fe(function(){return a}):(v===void 0?"undefined":(0,g.default)(v))==="object"?O.exports=a:i.dateFormat=a}(void 0)},{"babel-runtime/helpers/typeof":32}],155:[function(n,O,v){(function(h){function g(){return!(typeof window=="undefined"||!window.process||window.process.type!=="renderer")||typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function i(e){var a=this.useColors;if(e[0]=(a?"%c":"")+this.namespace+(a?" %c":" ")+e[0]+(a?"%c ":" ")+"+"+v.humanize(this.diff),a){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var s=0,d=0;e[0].replace(/%[a-zA-Z%]/g,function(l){l!=="%%"&&(s++,l==="%c"&&(d=s))}),e.splice(d,0,r)}}function u(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function p(e){try{e==null?v.storage.removeItem("debug"):v.storage.debug=e}catch(a){}}function c(){var e;try{e=v.storage.debug}catch(a){}return!e&&h!==void 0&&"env"in h&&(e=h.env.DEBUG),e}v=O.exports=n("./debug"),v.log=u,v.formatArgs=i,v.save=p,v.load=c,v.useColors=g,v.storage=typeof chrome!="undefined"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),v.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],v.formatters.j=function(e){try{return JSON.stringify(e)}catch(a){return"[UnexpectedJSONParseError]: "+a.message}},v.enable(c())}).call(this,n("_process"))},{"./debug":156,_process:173}],156:[function(n,O,v){function h(a){var r,s=0;for(r in a)s=(s<<5)-s+a.charCodeAt(r),s|=0;return v.colors[Math.abs(s)%v.colors.length]}function g(a){function r(){if(r.enabled){var s=r,d=+new Date,l=d-(e||d);s.diff=l,s.prev=e,s.curr=d,e=d;for(var w=new Array(arguments.length),x=0;x<w.length;x++)w[x]=arguments[x];w[0]=v.coerce(w[0]),typeof w[0]!="string"&&w.unshift("%O");var f=0;w[0]=w[0].replace(/%([a-zA-Z%])/g,function(A,S){if(A==="%%")return A;f++;var m=v.formatters[S];if(typeof m=="function"){var _=w[f];A=m.call(s,_),w.splice(f,1),f--}return A}),v.formatArgs.call(s,w),(r.log||v.log||console.log.bind(console)).apply(s,w)}}return r.namespace=a,r.enabled=v.enabled(a),r.useColors=v.useColors(),r.color=h(a),typeof v.init=="function"&&v.init(r),r}function i(a){v.save(a),v.names=[],v.skips=[];for(var r=(typeof a=="string"?a:"").split(/[\s,]+/),s=r.length,d=0;d<s;d++)r[d]&&(a=r[d].replace(/\*/g,".*?"),a[0]==="-"?v.skips.push(new RegExp("^"+a.substr(1)+"$")):v.names.push(new RegExp("^"+a+"$")))}function u(){v.enable("")}function p(a){var r,s;for(r=0,s=v.skips.length;r<s;r++)if(v.skips[r].test(a))return!1;for(r=0,s=v.names.length;r<s;r++)if(v.names[r].test(a))return!0;return!1}function c(a){return a instanceof Error?a.stack||a.message:a}v=O.exports=g.debug=g.default=g,v.coerce=c,v.disable=u,v.enable=i,v.enabled=p,v.humanize=n("ms"),v.names=[],v.skips=[],v.formatters={};var e},{ms:169}],157:[function(n,O,v){"use strict";function h(i){var u=""+i,p=g.exec(u);if(!p)return u;var c,e="",a=0,r=0;for(a=p.index;a<u.length;a++){switch(u.charCodeAt(a)){case 34:c=""";break;case 38:c="&";break;case 39:c="'";break;case 60:c="<";break;case 62:c=">";break;default:continue}r!==a&&(e+=u.substring(r,a)),r=a+1,e+=c}return r!==a?e+u.substring(r,a):e}var g=/["'&<>]/;O.exports=h},{}],158:[function(n,O,v){function h(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function g(c){return typeof c=="function"}function i(c){return typeof c=="number"}function u(c){return typeof c=="object"&&c!==null}function p(c){return c===void 0}O.exports=h,h.EventEmitter=h,h.prototype._events=void 0,h.prototype._maxListeners=void 0,h.defaultMaxListeners=10,h.prototype.setMaxListeners=function(c){if(!i(c)||c<0||isNaN(c))throw TypeError("n must be a positive number");return this._maxListeners=c,this},h.prototype.emit=function(c){var e,a,r,s,d,l;if(this._events||(this._events={}),c==="error"&&(!this._events.error||u(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var w=new Error('Uncaught, unspecified "error" event. ('+e+")");throw w.context=e,w}if(a=this._events[c],p(a))return!1;if(g(a))switch(arguments.length){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),a.apply(this,s)}else if(u(a))for(s=Array.prototype.slice.call(arguments,1),l=a.slice(),r=l.length,d=0;d<r;d++)l[d].apply(this,s);return!0},h.prototype.addListener=function(c,e){var a;if(!g(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",c,g(e.listener)?e.listener:e),this._events[c]?u(this._events[c])?this._events[c].push(e):this._events[c]=[this._events[c],e]:this._events[c]=e,u(this._events[c])&&!this._events[c].warned&&(a=p(this._maxListeners)?h.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[c].length>a&&(this._events[c].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[c].length),typeof console.trace=="function"&&console.trace()),this},h.prototype.on=h.prototype.addListener,h.prototype.once=function(c,e){function a(){this.removeListener(c,a),r||(r=!0,e.apply(this,arguments))}if(!g(e))throw TypeError("listener must be a function");var r=!1;return a.listener=e,this.on(c,a),this},h.prototype.removeListener=function(c,e){var a,r,s,d;if(!g(e))throw TypeError("listener must be a function");if(!this._events||!this._events[c])return this;if(a=this._events[c],s=a.length,r=-1,a===e||g(a.listener)&&a.listener===e)delete this._events[c],this._events.removeListener&&this.emit("removeListener",c,e);else if(u(a)){for(d=s;d-- >0;)if(a[d]===e||a[d].listener&&a[d].listener===e){r=d;break}if(r<0)return this;a.length===1?(a.length=0,delete this._events[c]):a.splice(r,1),this._events.removeListener&&this.emit("removeListener",c,e)}return this},h.prototype.removeAllListeners=function(c){var e,a;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[c]&&delete this._events[c],this;if(arguments.length===0){for(e in this._events)e!=="removeListener"&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(a=this._events[c],g(a))this.removeListener(c,a);else if(a)for(;a.length;)this.removeListener(c,a[a.length-1]);return delete this._events[c],this},h.prototype.listeners=function(c){return this._events&&this._events[c]?g(this._events[c])?[this._events[c]]:this._events[c].slice():[]},h.prototype.listenerCount=function(c){if(this._events){var e=this._events[c];if(g(e))return 1;if(e)return e.length}return 0},h.listenerCount=function(c,e){return c.listenerCount(e)}},{}],159:[function(n,O,v){var h=n("http"),g=O.exports;for(var i in h)h.hasOwnProperty(i)&&(g[i]=h[i]);g.request=function(u,p){return u||(u={}),u.scheme="https",u.protocol="https:",h.request.call(this,u,p)}},{http:196}],160:[function(n,O,v){"use strict";var h=n("util"),g=n("ms");O.exports=function(i){if(typeof i=="number")return i;var u=g(i);if(u===void 0){var p=new Error(h.format("humanize-ms(%j) result undefined",i));console.warn(p.stack)}return u}},{ms:169,util:207}],161:[function(n,O,v){v.read=function(h,g,i,u,p){var c,e,a=8*p-u-1,r=(1<<a)-1,s=r>>1,d=-7,l=i?p-1:0,w=i?-1:1,x=h[g+l];for(l+=w,c=x&(1<<-d)-1,x>>=-d,d+=a;d>0;c=256*c+h[g+l],l+=w,d-=8);for(e=c&(1<<-d)-1,c>>=-d,d+=u;d>0;e=256*e+h[g+l],l+=w,d-=8);if(c===0)c=1-s;else{if(c===r)return e?NaN:1/0*(x?-1:1);e+=Math.pow(2,u),c-=s}return(x?-1:1)*e*Math.pow(2,c-u)},v.write=function(h,g,i,u,p,c){var e,a,r,s=8*c-p-1,d=(1<<s)-1,l=d>>1,w=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=u?0:c-1,f=u?1:-1,A=g<0||g===0&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===1/0?(a=isNaN(g)?1:0,e=d):(e=Math.floor(Math.log(g)/Math.LN2),g*(r=Math.pow(2,-e))<1&&(e--,r*=2),g+=e+l>=1?w/r:w*Math.pow(2,1-l),g*r>=2&&(e++,r/=2),e+l>=d?(a=0,e=d):e+l>=1?(a=(g*r-1)*Math.pow(2,p),e+=l):(a=g*Math.pow(2,l-1)*Math.pow(2,p),e=0));p>=8;h[i+x]=255&a,x+=f,a/=256,p-=8);for(e=e<<p|a,s+=p;s>0;h[i+x]=255&e,x+=f,e/=256,s-=8);h[i+x-f]|=128*A}},{}],162:[function(n,O,v){typeof Object.create=="function"?O.exports=function(h,g){h.super_=g,h.prototype=Object.create(g.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}})}:O.exports=function(h,g){h.super_=g;var i=function(){};i.prototype=g.prototype,h.prototype=new i,h.prototype.constructor=h}},{}],163:[function(n,O,v){function h(i){return!!i.constructor&&typeof i.constructor.isBuffer=="function"&&i.constructor.isBuffer(i)}function g(i){return typeof i.readFloatLE=="function"&&typeof i.slice=="function"&&h(i.slice(0,0))}O.exports=function(i){return i!=null&&(h(i)||g(i)||!!i._isBuffer)}},{}],164:[function(n,O,v){!function(h){function g(p){return u.call(p).replace(/^[^{]*{\s*/,"").replace(/\s*}[^}]*$/,"")}function i(p){return typeof p=="function"&&(/^class(\s|\{\}$)/.test(u.call(p))||/^.*classCallCheck\(/.test(g(p)))}var u=Function.prototype.toString;v!==void 0?(O!==void 0&&O.exports&&(v=O.exports=i),v.isClass=i):typeof fe=="function"&&fe.amd?fe([],function(){return i}):h.isClass=i}(this)},{}],165:[function(n,O,v){"use strict";function h(c){var e=c.slice(2);return e=e[0].toLowerCase()+e.slice(1)}var g=n("core-util-is"),i=n("isstream"),u=n("is-class");Object.keys(g).map(function(c){v[h(c)]=g[c]}),v.stream=i,v.readableStream=i.isReadable,v.writableStream=i.isWritable,v.duplexStream=i.isDuplex,v.class=u,v.finite=function(c){return Number.isFinite(c)},v.NaN=function(c){return Number.isNaN(c)},v.generator=function(c){return c&&typeof c.next=="function"&&typeof c.throw=="function"},v.generatorFunction=function(c){return c&&c.constructor&&c.constructor.name==="GeneratorFunction"},v.asyncFunction=function(c){return c&&c.constructor&&c.constructor.name==="AsyncFunction"},v.promise=function(c){return c&&typeof c.then=="function"};var p=Math.pow(2,31);v.int=function(c){return g.isNumber(c)&&c%1==0},v.int32=function(c){return v.int(c)&&c<p&&c>=-p},v.long=function(c){return v.int(c)&&(c>=p||c<-p)},v.Long=function(c){return v.object(c)&&v.number(c.high)&&v.number(c.low)},v.double=function(c){return g.isNumber(c)&&!isNaN(c)&&c%1!=0},v.date=function(c){return c instanceof Date},v.regExp=function(c){return c instanceof RegExp},v.regexp=v.regExp,v.error=function(c){return c instanceof Error},v.array=function(c){return Array.isArray(c)}},{"core-util-is":153,"is-class":164,isstream:167}],166:[function(n,O,v){var h={}.toString;O.exports=Array.isArray||function(g){return h.call(g)=="[object Array]"}},{}],167:[function(n,O,v){function h(c){return c instanceof p.Stream}function g(c){return h(c)&&typeof c._read=="function"&&typeof c._readableState=="object"}function i(c){return h(c)&&typeof c._write=="function"&&typeof c._writableState=="object"}function u(c){return g(c)&&i(c)}var p=n("stream");O.exports=h,O.exports.isReadable=g,O.exports.isWritable=i,O.exports.isDuplex=u},{stream:195}],168:[function(n,O,v){"use strict";function h(i,u,p){if(!i)throw new TypeError("argument dest is required");if(!u)throw new TypeError("argument src is required");return p===void 0&&(p=!0),Object.getOwnPropertyNames(u).forEach(function(c){if(p||!g.call(i,c)){var e=Object.getOwnPropertyDescriptor(u,c);Object.defineProperty(i,c,e)}}),i}O.exports=h;var g=Object.prototype.hasOwnProperty},{}],169:[function(n,O,v){function h(s){if(s=String(s),!(s.length>100)){var d=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(s);if(d){var l=parseFloat(d[1]);switch((d[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*r;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*e;case"minutes":case"minute":case"mins":case"min":case"m":return l*c;case"seconds":case"second":case"secs":case"sec":case"s":return l*p;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}function g(s){return s>=a?Math.round(s/a)+"d":s>=e?Math.round(s/e)+"h":s>=c?Math.round(s/c)+"m":s>=p?Math.round(s/p)+"s":s+"ms"}function i(s){return u(s,a,"day")||u(s,e,"hour")||u(s,c,"minute")||u(s,p,"second")||s+" ms"}function u(s,d,l){if(!(s<d))return s<1.5*d?Math.floor(s/d)+" "+l:Math.ceil(s/d)+" "+l+"s"}var p=1e3,c=60*p,e=60*c,a=24*e,r=365.25*a;O.exports=function(s,d){d=d||{};var l=typeof s;if(l==="string"&&s.length>0)return h(s);if(l==="number"&&isNaN(s)===!1)return d.long?i(s):g(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))}},{}],170:[function(n,O,v){(function(h){function g(c,e){for(var a=0,r=c.length-1;r>=0;r--){var s=c[r];s==="."?c.splice(r,1):s===".."?(c.splice(r,1),a++):a&&(c.splice(r,1),a--)}if(e)for(;a--;a)c.unshift("..");return c}function i(c){typeof c!="string"&&(c+="");var e,a=0,r=-1,s=!0;for(e=c.length-1;e>=0;--e)if(c.charCodeAt(e)===47){if(!s){a=e+1;break}}else r===-1&&(s=!1,r=e+1);return r===-1?"":c.slice(a,r)}function u(c,e){if(c.filter)return c.filter(e);for(var a=[],r=0;r<c.length;r++)e(c[r],r,c)&&a.push(c[r]);return a}v.resolve=function(){for(var c="",e=!1,a=arguments.length-1;a>=-1&&!e;a--){var r=a>=0?arguments[a]:h.cwd();if(typeof r!="string")throw new TypeError("Arguments to path.resolve must be strings");r&&(c=r+"/"+c,e=r.charAt(0)==="/")}return c=g(u(c.split("/"),function(s){return!!s}),!e).join("/"),(e?"/":"")+c||"."},v.normalize=function(c){var e=v.isAbsolute(c),a=p(c,-1)==="/";return c=g(u(c.split("/"),function(r){return!!r}),!e).join("/"),c||e||(c="."),c&&a&&(c+="/"),(e?"/":"")+c},v.isAbsolute=function(c){return c.charAt(0)==="/"},v.join=function(){var c=Array.prototype.slice.call(arguments,0);return v.normalize(u(c,function(e,a){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},v.relative=function(c,e){function a(f){for(var A=0;A<f.length&&f[A]==="";A++);for(var S=f.length-1;S>=0&&f[S]==="";S--);return A>S?[]:f.slice(A,S-A+1)}c=v.resolve(c).substr(1),e=v.resolve(e).substr(1);for(var r=a(c.split("/")),s=a(e.split("/")),d=Math.min(r.length,s.length),l=d,w=0;w<d;w++)if(r[w]!==s[w]){l=w;break}for(var x=[],w=l;w<r.length;w++)x.push("..");return x=x.concat(s.slice(l)),x.join("/")},v.sep="/",v.delimiter=":",v.dirname=function(c){if(typeof c!="string"&&(c+=""),c.length===0)return".";for(var e=c.charCodeAt(0),a=e===47,r=-1,s=!0,d=c.length-1;d>=1;--d)if((e=c.charCodeAt(d))===47){if(!s){r=d;break}}else s=!1;return r===-1?a?"/":".":a&&r===1?"/":c.slice(0,r)},v.basename=function(c,e){var a=i(c);return e&&a.substr(-1*e.length)===e&&(a=a.substr(0,a.length-e.length)),a},v.extname=function(c){typeof c!="string"&&(c+="");for(var e=-1,a=0,r=-1,s=!0,d=0,l=c.length-1;l>=0;--l){var w=c.charCodeAt(l);if(w!==47)r===-1&&(s=!1,r=l+1),w===46?e===-1?e=l:d!==1&&(d=1):e!==-1&&(d=-1);else if(!s){a=l+1;break}}return e===-1||r===-1||d===0||d===1&&e===r-1&&e===a+1?"":c.slice(e,r)};var p="ab".substr(-1)==="b"?function(c,e,a){return c.substr(e,a)}:function(c,e,a){return e<0&&(e=c.length+e),c.substr(e,a)}}).call(this,n("_process"))},{_process:173}],171:[function(n,O,v){(function(h){(function(){"use strict";function g(D){return D=String(D),D.charAt(0).toUpperCase()+D.slice(1)}function i(D,F,I){var B={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return F&&I&&/^Win/i.test(D)&&!/^Windows Phone /i.test(D)&&(B=B[/[\d.]+$/.exec(D)])&&(D="Windows "+B),D=String(D),F&&I&&(D=D.replace(RegExp(F,"i"),I)),D=p(D.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}function u(D,F){var I=-1,B=D?D.length:0;if(typeof B=="number"&&B>-1&&B<=m)for(;++I<B;)F(D[I],I,D);else c(D,F)}function p(D){return D=d(D),/^(?:webOS|i(?:OS|P))/.test(D)?D:g(D)}function c(D,F){for(var I in D)k.call(D,I)&&F(D[I],I,D)}function e(D){return D==null?g(D):b.call(D).slice(8,-1)}function a(D,F){var I=D!=null?typeof D[F]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(I)||I=="object"&&!D[F])}function r(D){return String(D).replace(/([ -])(?!$)/g,"$1?")}function s(D,F){var I=null;return u(D,function(B,G){I=F(I,B,G,D)}),I}function d(D){return String(D).replace(/^ +| +$/g,"")}function l(D){function F(C){return s(C,function(y,E){var V=E.pattern||r(E);return!y&&(y=RegExp("\\b"+V+" *\\d+[.\\w_]*","i").exec(D)||RegExp("\\b"+V+" *\\w+-[\\w]*","i").exec(D)||RegExp("\\b"+V+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(D))&&((y=String(E.label&&!RegExp(V,"i").test(E.label)?E.label:y).split("/"))[1]&&!/[\d.]+/.test(y[0])&&(y[0]+=" "+y[1]),E=E.label||E,y=p(y[0].replace(RegExp(V,"i"),E).replace(RegExp("; *(?:"+E+"[_-])?","i")," ").replace(RegExp("("+E+")[-_.]?(\\w)","i"),"$1 $2"))),y})}function I(){return this.description||""}var B=x,G=D&&typeof D=="object"&&e(D)!="String";G&&(B=D,D=null);var q=B.navigator||{},ie=q.userAgent||"";D||(D=ie);var z,oe,Z=G?!!q.likeChrome:/\bChrome\b/.test(D)&&!/internal|\n/i.test(b.toString()),H=G?"Object":"ScriptBridgingProxyObject",R=G?"Object":"Environment",j=G&&B.java?"JavaPackage":e(B.java),N=G?"Object":"RuntimeObject",M=/\bJava/.test(j)&&B.java,K=M&&e(B.environment)==R,J=M?"a":"\u4F2A",pe=M?"b":"\u5C3E",ae=B.document||{},he=B.operamini||B.opera,ve=_.test(ve=G&&he?he["[[Class]]"]:e(he))?ve:he=null,te=D,ee=[],ce=null,W=D==ie,X=W&&he&&typeof he.version=="function"&&he.version(),ue=function(C){return s(C,function(y,E){return y||RegExp("\\b"+(E.pattern||r(E))+"\\b","i").exec(D)&&(E.label||E)})}([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),$=function(C){return s(C,function(y,E){return y||RegExp("\\b"+(E.pattern||r(E))+"\\b","i").exec(D)&&(E.label||E)})}(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),se=F([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),T=function(C){return s(C,function(y,E,V){return y||(E[se]||E[/^[a-z]+(?: +[a-z]+\b)*/i.exec(se)]||RegExp("\\b"+r(V)+"(?:\\b|\\w*\\d)","i").exec(D))&&V})}({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),t=function(C){return s(C,function(y,E){var V=E.pattern||r(E);return!y&&(y=RegExp("\\b"+V+"(?:/[\\d.]+|[ \\w.]*)","i").exec(D))&&(y=i(y,V,E.label||E)),y})}(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);if(ue&&(ue=[ue]),T&&!se&&(se=F([T])),(z=/\bGoogle TV\b/.exec(se))&&(se=z[0]),/\bSimulator\b/i.test(D)&&(se=(se?se+" ":"")+"Simulator"),$=="Opera Mini"&&/\bOPiOS\b/.test(D)&&ee.push("running in Turbo/Uncompressed mode"),$=="IE"&&/\blike iPhone OS\b/.test(D)?(z=l(D.replace(/like iPhone OS/,"")),T=z.manufacturer,se=z.product):/^iP/.test(se)?($||($="Safari"),t="iOS"+((z=/ OS ([\d_]+)/i.exec(D))?" "+z[1].replace(/_/g,"."):"")):$!="Konqueror"||/buntu/i.test(t)?T&&T!="Google"&&(/Chrome/.test($)&&!/\bMobile Safari\b/i.test(D)||/\bVita\b/.test(se))||/\bAndroid\b/.test(t)&&/^Chrome/.test($)&&/\bVersion\//i.test(D)?($="Android Browser",t=/\bAndroid\b/.test(t)?t:"Android"):$=="Silk"?(/\bMobi/i.test(D)||(t="Android",ee.unshift("desktop mode")),/Accelerated *= *true/i.test(D)&&ee.unshift("accelerated")):$=="PaleMoon"&&(z=/\bFirefox\/([\d.]+)\b/.exec(D))?ee.push("identifying as Firefox "+z[1]):$=="Firefox"&&(z=/\b(Mobile|Tablet|TV)\b/i.exec(D))?(t||(t="Firefox OS"),se||(se=z[1])):!$||(z=!/\bMinefield\b/i.test(D)&&/\b(?:Firefox|Safari)\b/.exec($))?($&&!se&&/[\/,]|^[^(]+?\)/.test(D.slice(D.indexOf(z+"/")+8))&&($=null),(z=se||T||t)&&(se||T||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(t))&&($=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(t)?t:z)+" Browser")):$=="Electron"&&(z=(/\bChrome\/([\d.]+)\b/.exec(D)||0)[1])&&ee.push("Chromium "+z):t="Kubuntu",X||(X=function(C){return s(C,function(y,E){return y||(RegExp(E+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(D)||0)[1]||null})}(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",r($),"(?:Firefox|Minefield|NetFront)"])),(z=ue=="iCab"&&parseFloat(X)>3&&"WebKit"||/\bOpera\b/.test($)&&(/\bOPR\b/.test(D)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(D)&&!/^(?:Trident|EdgeHTML)$/.test(ue)&&"WebKit"||!ue&&/\bMSIE\b/i.test(D)&&(t=="Mac OS"?"Tasman":"Trident")||ue=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test($)&&"NetFront")&&(ue=[z]),$=="IE"&&(z=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(D)||0)[1])?($+=" Mobile",t="Windows Phone "+(/\+$/.test(z)?z:z+".x"),ee.unshift("desktop mode")):/\bWPDesktop\b/i.test(D)?($="IE Mobile",t="Windows Phone 8.x",ee.unshift("desktop mode"),X||(X=(/\brv:([\d.]+)/.exec(D)||0)[1])):$!="IE"&&ue=="Trident"&&(z=/\brv:([\d.]+)/.exec(D))&&($&&ee.push("identifying as "+$+(X?" "+X:"")),$="IE",X=z[1]),W){if(a(B,"global"))if(M&&(z=M.lang.System,te=z.getProperty("os.arch"),t=t||z.getProperty("os.name")+" "+z.getProperty("os.version")),K){try{X=B.require("ringo/engine").version.join("."),$="RingoJS"}catch(C){(z=B.system)&&z.global.system==B.system&&($="Narwhal",t||(t=z[0].os||null))}$||($="Rhino")}else typeof B.process=="object"&&!B.process.browser&&(z=B.process)&&(typeof z.versions=="object"&&(typeof z.versions.electron=="string"?(ee.push("Node "+z.versions.node),$="Electron",X=z.versions.electron):typeof z.versions.nw=="string"&&(ee.push("Chromium "+X,"Node "+z.versions.node),$="NW.js",X=z.versions.nw)),$||($="Node.js",te=z.arch,t=z.platform,X=/[\d.]+/.exec(z.version),X=X?X[0]:null));else e(z=B.runtime)==H?($="Adobe AIR",t=z.flash.system.Capabilities.os):e(z=B.phantom)==N?($="PhantomJS",X=(z=z.version||null)&&z.major+"."+z.minor+"."+z.patch):typeof ae.documentMode=="number"&&(z=/\bTrident\/(\d+)/i.exec(D))?(X=[X,ae.documentMode],(z=+z[1]+4)!=X[1]&&(ee.push("IE "+X[1]+" mode"),ue&&(ue[1]=""),X[1]=z),X=$=="IE"?String(X[1].toFixed(1)):X[0]):typeof ae.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test($)&&(ee.push("masking as "+$+" "+X),$="IE",X="11.0",ue=["Trident"],t="Windows");t=t&&p(t)}if(X&&(z=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(X)||/(?:alpha|beta)(?: ?\d)?/i.exec(D+";"+(W&&q.appMinorVersion))||/\bMinefield\b/i.test(D)&&"a")&&(ce=/b/i.test(z)?"beta":"alpha",X=X.replace(RegExp(z+"\\+?$"),"")+(ce=="beta"?pe:J)+(/\d+\+?/.exec(z)||"")),$=="Fennec"||$=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(t))$="Firefox Mobile";else if($=="Maxthon"&&X)X=X.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(se))se=="Xbox 360"&&(t=null),se=="Xbox 360"&&/\bIEMobile\b/.test(D)&&ee.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test($)&&(!$||se||/Browser|Mobi/.test($))||t!="Windows CE"&&!/Mobi/i.test(D))if($=="IE"&&W)try{B.external===null&&ee.unshift("platform preview")}catch(C){ee.unshift("embedded")}else(/\bBlackBerry\b/.test(se)||/\bBB10\b/.test(D))&&(z=(RegExp(se.replace(/ +/g," *")+"/([.\\d]+)","i").exec(D)||0)[1]||X)?(z=[z,/BB10/.test(D)],t=(z[1]?(se=null,T="BlackBerry"):"Device Software")+" "+z[0],X=null):this!=c&&se!="Wii"&&(W&&he||/Opera/.test($)&&/\b(?:MSIE|Firefox)\b/i.test(D)||$=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(t)||$=="IE"&&(t&&!/^Win/.test(t)&&X>5.5||/\bWindows XP\b/.test(t)&&X>8||X==8&&!/\bTrident\b/.test(D)))&&!_.test(z=l.call(c,D.replace(_,"")+";"))&&z.name&&(z="ing as "+z.name+((z=z.version)?" "+z:""),_.test($)?(/\bIE\b/.test(z)&&t=="Mac OS"&&(t=null),z="identify"+z):(z="mask"+z,$=ve?p(ve.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(z)&&(t=null),W||(X=null)),ue=["Presto"],ee.push(z));else $+=" Mobile";(z=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(D)||0)[1])&&(z=[parseFloat(z.replace(/\.(\d)$/,".0$1")),z],$=="Safari"&&z[1].slice(-1)=="+"?($="WebKit Nightly",ce="alpha",X=z[1].slice(0,-1)):X!=z[1]&&X!=(z[2]=(/\bSafari\/([\d.]+\+?)/i.exec(D)||0)[1])||(X=null),z[1]=(/\bChrome\/([\d.]+)/i.exec(D)||0)[1],z[0]==537.36&&z[2]==537.36&&parseFloat(z[1])>=28&&ue=="WebKit"&&(ue=["Blink"]),W&&(Z||z[1])?(ue&&(ue[1]="like Chrome"),z=z[1]||(z=z[0],z<530?1:z<532?2:z<532.05?3:z<533?4:z<534.03?5:z<534.07?6:z<534.1?7:z<534.13?8:z<534.16?9:z<534.24?10:z<534.3?11:z<535.01?12:z<535.02?"13+":z<535.07?15:z<535.11?16:z<535.19?17:z<536.05?18:z<536.1?19:z<537.01?20:z<537.11?"21+":z<537.13?23:z<537.18?24:z<537.24?25:z<537.36?26:ue!="Blink"?"27":"28")):(ue&&(ue[1]="like Safari"),z=z[0],z=z<400?1:z<500?2:z<526?3:z<533?4:z<534?"4+":z<535?5:z<537?6:z<538?7:z<601?8:"8"),ue&&(ue[1]+=" "+(z+=typeof z=="number"?".x":/[.+]/.test(z)?"":"+")),$=="Safari"&&(!X||parseInt(X)>45)&&(X=z)),$=="Opera"&&(z=/\bzbov|zvav$/.exec(t))?($+=" ",ee.unshift("desktop mode"),z=="zvav"?($+="Mini",X=null):$+="Mobile",t=t.replace(RegExp(" *"+z+"$"),"")):$=="Safari"&&/\bChrome\b/.exec(ue&&ue[1])&&(ee.unshift("desktop mode"),$="Chrome Mobile",X=null,/\bOS X\b/.test(t)?(T="Apple",t="iOS 4.3+"):t=null),X&&X.indexOf(z=/[\d.]+$/.exec(t))==0&&D.indexOf("/"+z+"-")>-1&&(t=d(t.replace(z,""))),ue&&!/\b(?:Avant|Nook)\b/.test($)&&(/Browser|Lunascape|Maxthon/.test($)||$!="Safari"&&/^iOS/.test(t)&&/\bSafari\b/.test(ue[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test($)&&ue[1])&&(z=ue[ue.length-1])&&ee.push(z),ee.length&&(ee=["("+ee.join("; ")+")"]),T&&se&&se.indexOf(T)<0&&ee.push("on "+T),se&&ee.push((/^on /.test(ee[ee.length-1])?"":"on ")+se),t&&(z=/ ([\d.+]+)$/.exec(t),oe=z&&t.charAt(t.length-z[0].length-1)=="/",t={architecture:32,family:z&&!oe?t.replace(z[0],""):t,version:z?z[1]:null,toString:function(){var y=this.version;return this.family+(y&&!oe?" "+y:"")+(this.architecture==64?" 64-bit":"")}}),(z=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(te))&&!/\bi686\b/i.test(te)?(t&&(t.architecture=64,t.family=t.family.replace(RegExp(" *"+z),"")),$&&(/\bWOW64\b/i.test(D)||W&&/\w(?:86|32)$/.test(q.cpuClass||q.platform)&&!/\bWin64; x64\b/i.test(D))&&ee.unshift("32-bit")):t&&/^OS X/.test(t.family)&&$=="Chrome"&&parseFloat(X)>=39&&(t.architecture=64),D||(D=null);var o={};return o.description=D,o.layout=ue&&ue[0],o.manufacturer=T,o.name=$,o.prerelease=ce,o.product=se,o.ua=D,o.version=$&&X,o.os=t||{architecture:null,family:null,version:null,toString:function(){return"null"}},o.parse=l,o.toString=I,o.version&&ee.unshift(X),o.name&&ee.unshift($),t&&$&&(t!=String(t).split(" ")[0]||t!=$.split(" ")[0]&&!se)&&ee.push(se?"("+t+")":"on "+t),ee.length&&(o.description=ee.join(" ")),o}var w={function:!0,object:!0},x=w[typeof window]&&window||this,f=w[typeof v]&&v,A=w[typeof O]&&O&&!O.nodeType&&O,S=f&&A&&typeof h=="object"&&h;!S||S.global!==S&&S.window!==S&&S.self!==S||(x=S);var m=Math.pow(2,53)-1,_=/\bOpera/,P=Object.prototype,k=P.hasOwnProperty,b=P.toString,L=l();typeof fe=="function"&&typeof fe.amd=="object"&&fe.amd?(x.platform=L,fe(function(){return L})):f&&A?c(L,function(D,F){f[F]=D}):x.platform=L}).call(this)}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],172:[function(n,O,v){(function(h){"use strict";function g(i,u,p,c){if(typeof i!="function")throw new TypeError('"callback" argument must be a function');var e,a,r=arguments.length;switch(r){case 0:case 1:return h.nextTick(i);case 2:return h.nextTick(function(){i.call(null,u)});case 3:return h.nextTick(function(){i.call(null,u,p)});case 4:return h.nextTick(function(){i.call(null,u,p,c)});default:for(e=new Array(r-1),a=0;a<e.length;)e[a++]=arguments[a];return h.nextTick(function(){i.apply(null,e)})}}!h.version||h.version.indexOf("v0.")===0||h.version.indexOf("v1.")===0&&h.version.indexOf("v1.8.")!==0?O.exports={nextTick:g}:O.exports=h}).call(this,n("_process"))},{_process:173}],173:[function(n,O,v){function h(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}function i(A){if(r===setTimeout)return setTimeout(A,0);if((r===h||!r)&&setTimeout)return r=setTimeout,setTimeout(A,0);try{return r(A,0)}catch(S){try{return r.call(null,A,0)}catch(m){return r.call(this,A,0)}}}function u(A){if(s===clearTimeout)return clearTimeout(A);if((s===g||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(A);try{return s(A)}catch(S){try{return s.call(null,A)}catch(m){return s.call(this,A)}}}function p(){x&&l&&(x=!1,l.length?w=l.concat(w):f=-1,w.length&&c())}function c(){if(!x){var A=i(p);x=!0;for(var S=w.length;S;){for(l=w,w=[];++f<S;)l&&l[f].run();f=-1,S=w.length}l=null,x=!1,u(A)}}function e(A,S){this.fun=A,this.array=S}function a(){}var r,s,d=O.exports={};!function(){try{r=typeof setTimeout=="function"?setTimeout:h}catch(A){r=h}try{s=typeof clearTimeout=="function"?clearTimeout:g}catch(A){s=g}}();var l,w=[],x=!1,f=-1;d.nextTick=function(A){var S=new Array(arguments.length-1);if(arguments.length>1)for(var m=1;m<arguments.length;m++)S[m-1]=arguments[m];w.push(new e(A,S)),w.length!==1||x||i(c)},e.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=a,d.addListener=a,d.once=a,d.off=a,d.removeListener=a,d.removeAllListeners=a,d.emit=a,d.prependListener=a,d.prependOnceListener=a,d.listeners=function(A){return[]},d.binding=function(A){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(A){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},{}],174:[function(n,O,v){(function(h){!function(g){function i(j){throw new RangeError(oe[j])}function u(j,N){for(var M=j.length,K=[];M--;)K[M]=N(j[M]);return K}function p(j,N){var M=j.split("@"),K="";return M.length>1&&(K=M[0]+"@",j=M[1]),j=j.replace(z,"."),K+u(j.split("."),N).join(".")}function c(j){for(var N,M,K=[],J=0,pe=j.length;J<pe;)N=j.charCodeAt(J++),N>=55296&&N<=56319&&J<pe?(M=j.charCodeAt(J++),(64512&M)==56320?K.push(((1023&N)<<10)+(1023&M)+65536):(K.push(N),J--)):K.push(N);return K}function e(j){return u(j,function(N){var M="";return N>65535&&(N-=65536,M+=R(N>>>10&1023|55296),N=56320|1023&N),M+=R(N)}).join("")}function a(j){return j-48<10?j-22:j-65<26?j-65:j-97<26?j-97:k}function r(j,N){return j+22+75*(j<26)-((N!=0)<<5)}function s(j,N,M){var K=0;for(j=M?H(j/F):j>>1,j+=H(j/N);j>Z*L>>1;K+=k)j=H(j/Z);return H(K+(Z+1)*j/(j+D))}function d(j){var N,M,K,J,pe,ae,he,ve,te,ee,ce=[],W=j.length,X=0,ue=B,$=I;for(M=j.lastIndexOf(G),M<0&&(M=0),K=0;K<M;++K)j.charCodeAt(K)>=128&&i("not-basic"),ce.push(j.charCodeAt(K));for(J=M>0?M+1:0;J<W;){for(pe=X,ae=1,he=k;J>=W&&i("invalid-input"),ve=a(j.charCodeAt(J++)),(ve>=k||ve>H((P-X)/ae))&&i("overflow"),X+=ve*ae,te=he<=$?b:he>=$+L?L:he-$,!(ve<te);he+=k)ee=k-te,ae>H(P/ee)&&i("overflow"),ae*=ee;N=ce.length+1,$=s(X-pe,N,pe==0),H(X/N)>P-ue&&i("overflow"),ue+=H(X/N),X%=N,ce.splice(X++,0,ue)}return e(ce)}function l(j){var N,M,K,J,pe,ae,he,ve,te,ee,ce,W,X,ue,$,se=[];for(j=c(j),W=j.length,N=B,M=0,pe=I,ae=0;ae<W;++ae)(ce=j[ae])<128&&se.push(R(ce));for(K=J=se.length,J&&se.push(G);K<W;){for(he=P,ae=0;ae<W;++ae)(ce=j[ae])>=N&&ce<he&&(he=ce);for(X=K+1,he-N>H((P-M)/X)&&i("overflow"),M+=(he-N)*X,N=he,ae=0;ae<W;++ae)if(ce=j[ae],ce<N&&++M>P&&i("overflow"),ce==N){for(ve=M,te=k;ee=te<=pe?b:te>=pe+L?L:te-pe,!(ve<ee);te+=k)$=ve-ee,ue=k-ee,se.push(R(r(ee+$%ue,0))),ve=H($/ue);se.push(R(r(ve,0))),pe=s(M,X,K==J),M=0,++K}++M,++N}return se.join("")}function w(j){return p(j,function(N){return q.test(N)?d(N.slice(4).toLowerCase()):N})}function x(j){return p(j,function(N){return ie.test(N)?"xn--"+l(N):N})}var f=typeof v=="object"&&v&&!v.nodeType&&v,A=typeof O=="object"&&O&&!O.nodeType&&O,S=typeof h=="object"&&h;S.global!==S&&S.window!==S&&S.self!==S||(g=S);var m,_,P=2147483647,k=36,b=1,L=26,D=38,F=700,I=72,B=128,G="-",q=/^xn--/,ie=/[^\x20-\x7E]/,z=/[\x2E\u3002\uFF0E\uFF61]/g,oe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Z=k-b,H=Math.floor,R=String.fromCharCode;if(m={version:"1.4.1",ucs2:{decode:c,encode:e},decode:d,encode:l,toASCII:x,toUnicode:w},typeof fe=="function"&&typeof fe.amd=="object"&&fe.amd)fe("punycode",function(){return m});else if(f&&A)if(O.exports==f)A.exports=m;else for(_ in m)m.hasOwnProperty(_)&&(f[_]=m[_]);else g.punycode=m}(this)}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],175:[function(n,O,v){"use strict";function h(i,u){return Object.prototype.hasOwnProperty.call(i,u)}O.exports=function(i,u,p,c){u=u||"&",p=p||"=";var e={};if(typeof i!="string"||i.length===0)return e;var a=/\+/g;i=i.split(u);var r=1e3;c&&typeof c.maxKeys=="number"&&(r=c.maxKeys);var s=i.length;r>0&&s>r&&(s=r);for(var d=0;d<s;++d){var l,w,x,f,A=i[d].replace(a,"%20"),S=A.indexOf(p);S>=0?(l=A.substr(0,S),w=A.substr(S+1)):(l=A,w=""),x=decodeURIComponent(l),f=decodeURIComponent(w),h(e,x)?g(e[x])?e[x].push(f):e[x]=[e[x],f]:e[x]=f}return e};var g=Array.isArray||function(i){return Object.prototype.toString.call(i)==="[object Array]"}},{}],176:[function(n,O,v){"use strict";function h(p,c){if(p.map)return p.map(c);for(var e=[],a=0;a<p.length;a++)e.push(c(p[a],a));return e}var g=function(c){switch(typeof c){case"string":return c;case"boolean":return c?"true":"false";case"number":return isFinite(c)?c:"";default:return""}};O.exports=function(p,c,e,a){return c=c||"&",e=e||"=",p===null&&(p=void 0),typeof p=="object"?h(u(p),function(r){var s=encodeURIComponent(g(r))+e;return i(p[r])?h(p[r],function(d){return s+encodeURIComponent(g(d))}).join(c):s+encodeURIComponent(g(p[r]))}).join(c):a?encodeURIComponent(g(a))+e+encodeURIComponent(g(p)):""};var i=Array.isArray||function(p){return Object.prototype.toString.call(p)==="[object Array]"},u=Object.keys||function(p){var c=[];for(var e in p)Object.prototype.hasOwnProperty.call(p,e)&&c.push(e);return c}},{}],177:[function(n,O,v){"use strict";v.decode=v.parse=n("./decode"),v.encode=v.stringify=n("./encode")},{"./decode":175,"./encode":176}],178:[function(n,O,v){O.exports=n("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":179}],179:[function(n,O,v){"use strict";function h(x){if(!(this instanceof h))return new h(x);r.call(this,x),s.call(this,x),x&&x.readable===!1&&(this.readable=!1),x&&x.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,x&&x.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",g)}function g(){this.allowHalfOpen||this._writableState.ended||c.nextTick(i,this)}function i(x){x.end()}var u=n("babel-runtime/core-js/object/keys"),p=function(x){return x&&x.__esModule?x:{default:x}}(u),c=n("process-nextick-args"),e=p.default||function(x){var f=[];for(var A in x)f.push(A);return f};O.exports=h;var a=n("core-util-is");a.inherits=n("inherits");var r=n("./_stream_readable"),s=n("./_stream_writable");a.inherits(h,r);for(var d=e(s.prototype),l=0;l<d.length;l++){var w=d[l];h.prototype[w]||(h.prototype[w]=s.prototype[w])}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(f){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=f,this._writableState.destroyed=f)}}),h.prototype._destroy=function(x,f){this.push(null),this.end(),c.nextTick(f,x)}},{"./_stream_readable":181,"./_stream_writable":183,"babel-runtime/core-js/object/keys":23,"core-util-is":153,inherits:162,"process-nextick-args":172}],180:[function(n,O,v){"use strict";function h(u){if(!(this instanceof h))return new h(u);g.call(this,u)}O.exports=h;var g=n("./_stream_transform"),i=n("core-util-is");i.inherits=n("inherits"),i.inherits(h,g),h.prototype._transform=function(u,p,c){c(null,u)}},{"./_stream_transform":182,"core-util-is":153,inherits:162}],181:[function(n,O,v){(function(h,g){"use strict";function i(W){return M.from(W)}function u(W){return M.isBuffer(W)||W instanceof K}function p(W,X,ue){if(typeof W.prependListener=="function")return W.prependListener(X,ue);W._events&&W._events[X]?R(W._events[X])?W._events[X].unshift(ue):W._events[X]=[ue,W._events[X]]:W.on(X,ue)}function c(W,X){H=H||n("./_stream_duplex"),W=W||{};var ue=X instanceof H;this.objectMode=!!W.objectMode,ue&&(this.objectMode=this.objectMode||!!W.readableObjectMode);var $=W.highWaterMark,se=W.readableHighWaterMark,T=this.objectMode?16:16384;this.highWaterMark=$||$===0?$:ue&&(se||se===0)?se:T,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new ve,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=W.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,W.encoding&&(he||(he=n("string_decoder/").StringDecoder),this.decoder=new he(W.encoding),this.encoding=W.encoding)}function e(W){if(H=H||n("./_stream_duplex"),!(this instanceof e))return new e(W);this._readableState=new c(W,this),this.readable=!0,W&&(typeof W.read=="function"&&(this._read=W.read),typeof W.destroy=="function"&&(this._destroy=W.destroy)),N.call(this)}function a(W,X,ue,$,se){var T=W._readableState;if(X===null)T.reading=!1,x(W,T);else{var t;se||(t=s(T,X)),t?W.emit("error",t):T.objectMode||X&&X.length>0?(typeof X=="string"||T.objectMode||(0,oe.default)(X)===M.prototype||(X=i(X)),$?T.endEmitted?W.emit("error",new Error("stream.unshift() after end event")):r(W,T,X,!0):T.ended?W.emit("error",new Error("stream.push() after EOF")):(T.reading=!1,T.decoder&&!ue?(X=T.decoder.write(X),T.objectMode||X.length!==0?r(W,T,X,!1):S(W,T)):r(W,T,X,!1))):$||(T.reading=!1)}return d(T)}function r(W,X,ue,$){X.flowing&&X.length===0&&!X.sync?(W.emit("data",ue),W.read(0)):(X.length+=X.objectMode?1:ue.length,$?X.buffer.unshift(ue):X.buffer.push(ue),X.needReadable&&f(W)),S(W,X)}function s(W,X){var ue;return u(X)||typeof X=="string"||X===void 0||W.objectMode||(ue=new TypeError("Invalid non-string/buffer chunk")),ue}function d(W){return!W.ended&&(W.needReadable||W.length<W.highWaterMark||W.length===0)}function l(W){return W>=ce?W=ce:(W--,W|=W>>>1,W|=W>>>2,W|=W>>>4,W|=W>>>8,W|=W>>>16,W++),W}function w(W,X){return W<=0||X.length===0&&X.ended?0:X.objectMode?1:W!==W?X.flowing&&X.length?X.buffer.head.data.length:X.length:(W>X.highWaterMark&&(X.highWaterMark=l(W)),W<=X.length?W:X.ended?X.length:(X.needReadable=!0,0))}function x(W,X){if(!X.ended){if(X.decoder){var ue=X.decoder.end();ue&&ue.length&&(X.buffer.push(ue),X.length+=X.objectMode?1:ue.length)}X.ended=!0,f(W)}}function f(W){var X=W._readableState;X.needReadable=!1,X.emittedReadable||(ae("emitReadable",X.flowing),X.emittedReadable=!0,X.sync?Z.nextTick(A,W):A(W))}function A(W){ae("emit readable"),W.emit("readable"),L(W)}function S(W,X){X.readingMore||(X.readingMore=!0,Z.nextTick(m,W,X))}function m(W,X){for(var ue=X.length;!X.reading&&!X.flowing&&!X.ended&&X.length<X.highWaterMark&&(ae("maybeReadMore read 0"),W.read(0),ue!==X.length);)ue=X.length;X.readingMore=!1}function _(W){return function(){var X=W._readableState;ae("pipeOnDrain",X.awaitDrain),X.awaitDrain&&X.awaitDrain--,X.awaitDrain===0&&j(W,"data")&&(X.flowing=!0,L(W))}}function P(W){ae("readable nexttick read 0"),W.read(0)}function k(W,X){X.resumeScheduled||(X.resumeScheduled=!0,Z.nextTick(b,W,X))}function b(W,X){X.reading||(ae("resume read 0"),W.read(0)),X.resumeScheduled=!1,X.awaitDrain=0,W.emit("resume"),L(W),X.flowing&&!X.reading&&W.read(0)}function L(W){var X=W._readableState;for(ae("flow",X.flowing);X.flowing&&W.read()!==null;);}function D(W,X){if(X.length===0)return null;var ue;return X.objectMode?ue=X.buffer.shift():!W||W>=X.length?(ue=X.decoder?X.buffer.join(""):X.buffer.length===1?X.buffer.head.data:X.buffer.concat(X.length),X.buffer.clear()):ue=F(W,X.buffer,X.decoder),ue}function F(W,X,ue){var $;return W<X.head.data.length?($=X.head.data.slice(0,W),X.head.data=X.head.data.slice(W)):$=W===X.head.data.length?X.shift():ue?I(W,X):B(W,X),$}function I(W,X){var ue=X.head,$=1,se=ue.data;for(W-=se.length;ue=ue.next;){var T=ue.data,t=W>T.length?T.length:W;if(t===T.length?se+=T:se+=T.slice(0,W),(W-=t)===0){t===T.length?(++$,ue.next?X.head=ue.next:X.head=X.tail=null):(X.head=ue,ue.data=T.slice(t));break}++$}return X.length-=$,se}function B(W,X){var ue=M.allocUnsafe(W),$=X.head,se=1;for($.data.copy(ue),W-=$.data.length;$=$.next;){var T=$.data,t=W>T.length?T.length:W;if(T.copy(ue,ue.length-W,0,t),(W-=t)===0){t===T.length?(++se,$.next?X.head=$.next:X.head=X.tail=null):(X.head=$,$.data=T.slice(t));break}++se}return X.length-=se,ue}function G(W){var X=W._readableState;if(X.length>0)throw new Error('"endReadable()" called on non-empty stream');X.endEmitted||(X.ended=!0,Z.nextTick(q,X,W))}function q(W,X){W.endEmitted||W.length!==0||(W.endEmitted=!0,X.readable=!1,X.emit("end"))}function ie(W,X){for(var ue=0,$=W.length;ue<$;ue++)if(W[ue]===X)return ue;return-1}var z=n("babel-runtime/core-js/object/get-prototype-of"),oe=function(W){return W&&W.__esModule?W:{default:W}}(z),Z=n("process-nextick-args");O.exports=e;var H,R=n("isarray");e.ReadableState=c;var j=(n("events").EventEmitter,function(W,X){return W.listeners(X).length}),N=n("./internal/streams/stream"),M=n("safe-buffer").Buffer,K=g.Uint8Array||function(){},J=n("core-util-is");J.inherits=n("inherits");var pe=n("util"),ae=void 0;ae=pe&&pe.debuglog?pe.debuglog("stream"):function(){};var he,ve=n("./internal/streams/BufferList"),te=n("./internal/streams/destroy");J.inherits(e,N);var ee=["error","close","destroy","pause","resume"];Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(X){this._readableState&&(this._readableState.destroyed=X)}}),e.prototype.destroy=te.destroy,e.prototype._undestroy=te.undestroy,e.prototype._destroy=function(W,X){this.push(null),X(W)},e.prototype.push=function(W,X){var ue,$=this._readableState;return $.objectMode?ue=!0:typeof W=="string"&&(X=X||$.defaultEncoding,X!==$.encoding&&(W=M.from(W,X),X=""),ue=!0),a(this,W,X,!1,ue)},e.prototype.unshift=function(W){return a(this,W,null,!0,!1)},e.prototype.isPaused=function(){return this._readableState.flowing===!1},e.prototype.setEncoding=function(W){return he||(he=n("string_decoder/").StringDecoder),this._readableState.decoder=new he(W),this._readableState.encoding=W,this};var ce=8388608;e.prototype.read=function(W){ae("read",W),W=parseInt(W,10);var X=this._readableState,ue=W;if(W!==0&&(X.emittedReadable=!1),W===0&&X.needReadable&&(X.length>=X.highWaterMark||X.ended))return ae("read: emitReadable",X.length,X.ended),X.length===0&&X.ended?G(this):f(this),null;if((W=w(W,X))===0&&X.ended)return X.length===0&&G(this),null;var $=X.needReadable;ae("need readable",$),(X.length===0||X.length-W<X.highWaterMark)&&($=!0,ae("length less than watermark",$)),X.ended||X.reading?($=!1,ae("reading or ended",$)):$&&(ae("do read"),X.reading=!0,X.sync=!0,X.length===0&&(X.needReadable=!0),this._read(X.highWaterMark),X.sync=!1,X.reading||(W=w(ue,X)));var se;return se=W>0?D(W,X):null,se===null?(X.needReadable=!0,W=0):X.length-=W,X.length===0&&(X.ended||(X.needReadable=!0),ue!==W&&X.ended&&G(this)),se!==null&&this.emit("data",se),se},e.prototype._read=function(W){this.emit("error",new Error("_read() is not implemented"))},e.prototype.pipe=function(W,X){function ue(Te,xe){ae("onunpipe"),Te===E&&xe&&xe.hasUnpiped===!1&&(xe.hasUnpiped=!0,se())}function $(){ae("onend"),W.end()}function se(){ae("cleanup"),W.removeListener("close",o),W.removeListener("finish",C),W.removeListener("drain",me),W.removeListener("error",t),W.removeListener("unpipe",ue),E.removeListener("end",$),E.removeListener("end",y),E.removeListener("data",T),Ee=!0,!V.awaitDrain||W._writableState&&!W._writableState.needDrain||me()}function T(Te){ae("ondata"),Ae=!1,W.write(Te)!==!1||Ae||((V.pipesCount===1&&V.pipes===W||V.pipesCount>1&&ie(V.pipes,W)!==-1)&&!Ee&&(ae("false write response, pause",E._readableState.awaitDrain),E._readableState.awaitDrain++,Ae=!0),E.pause())}function t(Te){ae("onerror",Te),y(),W.removeListener("error",t),j(W,"error")===0&&W.emit("error",Te)}function o(){W.removeListener("finish",C),y()}function C(){ae("onfinish"),W.removeListener("close",o),y()}function y(){ae("unpipe"),E.unpipe(W)}var E=this,V=this._readableState;switch(V.pipesCount){case 0:V.pipes=W;break;case 1:V.pipes=[V.pipes,W];break;default:V.pipes.push(W)}V.pipesCount+=1,ae("pipe count=%d opts=%j",V.pipesCount,X);var Y=(!X||X.end!==!1)&&W!==h.stdout&&W!==h.stderr,_e=Y?$:y;V.endEmitted?Z.nextTick(_e):E.once("end",_e),W.on("unpipe",ue);var me=_(E);W.on("drain",me);var Ee=!1,Ae=!1;return E.on("data",T),p(W,"error",t),W.once("close",o),W.once("finish",C),W.emit("pipe",E),V.flowing||(ae("pipe resume"),E.resume()),W},e.prototype.unpipe=function(W){var X=this._readableState,ue={hasUnpiped:!1};if(X.pipesCount===0)return this;if(X.pipesCount===1)return W&&W!==X.pipes?this:(W||(W=X.pipes),X.pipes=null,X.pipesCount=0,X.flowing=!1,W&&W.emit("unpipe",this,ue),this);if(!W){var $=X.pipes,se=X.pipesCount;X.pipes=null,X.pipesCount=0,X.flowing=!1;for(var T=0;T<se;T++)$[T].emit("unpipe",this,ue);return this}var t=ie(X.pipes,W);return t===-1?this:(X.pipes.splice(t,1),X.pipesCount-=1,X.pipesCount===1&&(X.pipes=X.pipes[0]),W.emit("unpipe",this,ue),this)},e.prototype.on=function(W,X){var ue=N.prototype.on.call(this,W,X);if(W==="data")this._readableState.flowing!==!1&&this.resume();else if(W==="readable"){var $=this._readableState;$.endEmitted||$.readableListening||($.readableListening=$.needReadable=!0,$.emittedReadable=!1,$.reading?$.length&&f(this):Z.nextTick(P,this))}return ue},e.prototype.addListener=e.prototype.on,e.prototype.resume=function(){var W=this._readableState;return W.flowing||(ae("resume"),W.flowing=!0,k(this,W)),this},e.prototype.pause=function(){return ae("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ae("pause"),this._readableState.flowing=!1,this.emit("pause")),this},e.prototype.wrap=function(W){var X=this,ue=this._readableState,$=!1;W.on("end",function(){if(ae("wrapped end"),ue.decoder&&!ue.ended){var t=ue.decoder.end();t&&t.length&&X.push(t)}X.push(null)}),W.on("data",function(t){(ae("wrapped data"),ue.decoder&&(t=ue.decoder.write(t)),(!ue.objectMode||t!=null)&&(ue.objectMode||t&&t.length))&&(X.push(t)||($=!0,W.pause()))});for(var se in W)this[se]===void 0&&typeof W[se]=="function"&&(this[se]=function(t){return function(){return W[t].apply(W,arguments)}}(se));for(var T=0;T<ee.length;T++)W.on(ee[T],this.emit.bind(this,ee[T]));return this._read=function(t){ae("wrapped _read",t),$&&($=!1,W.resume())},this},Object.defineProperty(e.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),e._fromList=D}).call(this,n("_process"),typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":179,"./internal/streams/BufferList":184,"./internal/streams/destroy":185,"./internal/streams/stream":186,_process:173,"babel-runtime/core-js/object/get-prototype-of":22,"core-util-is":153,events:158,inherits:162,isarray:166,"process-nextick-args":172,"safe-buffer":193,"string_decoder/":200,util:36}],182:[function(n,O,v){"use strict";function h(e,a){var r=this._transformState;r.transforming=!1;var s=r.writecb;if(!s)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,a!=null&&this.push(a),s(e);var d=this._readableState;d.reading=!1,(d.needReadable||d.length<d.highWaterMark)&&this._read(d.highWaterMark)}function g(e){if(!(this instanceof g))return new g(e);p.call(this,e),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",i)}function i(){var e=this;typeof this._flush=="function"?this._flush(function(a,r){u(e,a,r)}):u(this,null,null)}function u(e,a,r){if(a)return e.emit("error",a);if(r!=null&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}O.exports=g;var p=n("./_stream_duplex"),c=n("core-util-is");c.inherits=n("inherits"),c.inherits(g,p),g.prototype.push=function(e,a){return this._transformState.needTransform=!1,p.prototype.push.call(this,e,a)},g.prototype._transform=function(e,a,r){throw new Error("_transform() is not implemented")},g.prototype._write=function(e,a,r){var s=this._transformState;if(s.writecb=r,s.writechunk=e,s.writeencoding=a,!s.transforming){var d=this._readableState;(s.needTransform||d.needReadable||d.length<d.highWaterMark)&&this._read(d.highWaterMark)}},g.prototype._read=function(e){var a=this._transformState;a.writechunk!==null&&a.writecb&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0},g.prototype._destroy=function(e,a){var r=this;p.prototype._destroy.call(this,e,function(s){a(s),r.emit("close")})}},{"./_stream_duplex":179,"core-util-is":153,inherits:162}],183:[function(n,O,v){(function(h,g){"use strict";function i(te){return te&&te.__esModule?te:{default:te}}function u(te){var ee=this;this.next=null,this.entry=null,this.finish=function(){I(ee,te)}}function p(te){return pe.from(te)}function c(te){return pe.isBuffer(te)||te instanceof ae}function e(){}function a(te,ee){j=j||n("./_stream_duplex"),te=te||{};var ce=ee instanceof j;this.objectMode=!!te.objectMode,ce&&(this.objectMode=this.objectMode||!!te.writableObjectMode);var W=te.highWaterMark,X=te.writableHighWaterMark,ue=this.objectMode?16:16384;this.highWaterMark=W||W===0?W:ce&&(X||X===0)?X:ue,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var $=te.decodeStrings===!1;this.decodeStrings=!$,this.defaultEncoding=te.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(se){S(ee,se)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new u(this)}function r(te){if(j=j||n("./_stream_duplex"),!(ve.call(r,this)||this instanceof j))return new r(te);this._writableState=new a(te,this),this.writable=!0,te&&(typeof te.write=="function"&&(this._write=te.write),typeof te.writev=="function"&&(this._writev=te.writev),typeof te.destroy=="function"&&(this._destroy=te.destroy),typeof te.final=="function"&&(this._final=te.final)),J.call(this)}function s(te,ee){var ce=new Error("write after end");te.emit("error",ce),R.nextTick(ee,ce)}function d(te,ee,ce,W){var X=!0,ue=!1;return ce===null?ue=new TypeError("May not write null values to stream"):typeof ce=="string"||ce===void 0||ee.objectMode||(ue=new TypeError("Invalid non-string/buffer chunk")),ue&&(te.emit("error",ue),R.nextTick(W,ue),X=!1),X}function l(te,ee,ce){return te.objectMode||te.decodeStrings===!1||typeof ee!="string"||(ee=pe.from(ee,ce)),ee}function w(te,ee,ce,W,X,ue){if(!ce){var $=l(ee,W,X);W!==$&&(ce=!0,X="buffer",W=$)}var se=ee.objectMode?1:W.length;ee.length+=se;var T=ee.length<ee.highWaterMark;if(T||(ee.needDrain=!0),ee.writing||ee.corked){var t=ee.lastBufferedRequest;ee.lastBufferedRequest={chunk:W,encoding:X,isBuf:ce,callback:ue,next:null},t?t.next=ee.lastBufferedRequest:ee.bufferedRequest=ee.lastBufferedRequest,ee.bufferedRequestCount+=1}else x(te,ee,!1,se,W,X,ue);return T}function x(te,ee,ce,W,X,ue,$){ee.writelen=W,ee.writecb=$,ee.writing=!0,ee.sync=!0,ce?te._writev(X,ee.onwrite):te._write(X,ue,ee.onwrite),ee.sync=!1}function f(te,ee,ce,W,X){--ee.pendingcb,ce?(R.nextTick(X,W),R.nextTick(D,te,ee),te._writableState.errorEmitted=!0,te.emit("error",W)):(X(W),te._writableState.errorEmitted=!0,te.emit("error",W),D(te,ee))}function A(te){te.writing=!1,te.writecb=null,te.length-=te.writelen,te.writelen=0}function S(te,ee){var ce=te._writableState,W=ce.sync,X=ce.writecb;if(A(ce),ee)f(te,ce,W,ee,X);else{var ue=k(ce);ue||ce.corked||ce.bufferProcessing||!ce.bufferedRequest||P(te,ce),W?N(m,te,ce,ue,X):m(te,ce,ue,X)}}function m(te,ee,ce,W){ce||_(te,ee),ee.pendingcb--,W(),D(te,ee)}function _(te,ee){ee.length===0&&ee.needDrain&&(ee.needDrain=!1,te.emit("drain"))}function P(te,ee){ee.bufferProcessing=!0;var ce=ee.bufferedRequest;if(te._writev&&ce&&ce.next){var W=ee.bufferedRequestCount,X=new Array(W),ue=ee.corkedRequestsFree;ue.entry=ce;for(var $=0,se=!0;ce;)X[$]=ce,ce.isBuf||(se=!1),ce=ce.next,$+=1;X.allBuffers=se,x(te,ee,!0,ee.length,X,"",ue.finish),ee.pendingcb++,ee.lastBufferedRequest=null,ue.next?(ee.corkedRequestsFree=ue.next,ue.next=null):ee.corkedRequestsFree=new u(ee),ee.bufferedRequestCount=0}else{for(;ce;){var T=ce.chunk,t=ce.encoding,o=ce.callback;if(x(te,ee,!1,ee.objectMode?1:T.length,T,t,o),ce=ce.next,ee.bufferedRequestCount--,ee.writing)break}ce===null&&(ee.lastBufferedRequest=null)}ee.bufferedRequest=ce,ee.bufferProcessing=!1}function k(te){return te.ending&&te.length===0&&te.bufferedRequest===null&&!te.finished&&!te.writing}function b(te,ee){te._final(function(ce){ee.pendingcb--,ce&&te.emit("error",ce),ee.prefinished=!0,te.emit("prefinish"),D(te,ee)})}function L(te,ee){ee.prefinished||ee.finalCalled||(typeof te._final=="function"?(ee.pendingcb++,ee.finalCalled=!0,R.nextTick(b,te,ee)):(ee.prefinished=!0,te.emit("prefinish")))}function D(te,ee){var ce=k(ee);return ce&&(L(te,ee),ee.pendingcb===0&&(ee.finished=!0,te.emit("finish"))),ce}function F(te,ee,ce){ee.ending=!0,D(te,ee),ce&&(ee.finished?R.nextTick(ce):te.once("finish",ce)),ee.ended=!0,te.writable=!1}function I(te,ee,ce){var W=te.entry;for(te.entry=null;W;){var X=W.callback;ee.pendingcb--,X(ce),W=W.next}ee.corkedRequestsFree?ee.corkedRequestsFree.next=te:ee.corkedRequestsFree=te}var B=n("babel-runtime/core-js/object/define-property"),G=i(B),q=n("babel-runtime/core-js/symbol/has-instance"),ie=i(q),z=n("babel-runtime/core-js/symbol"),oe=i(z),Z=n("babel-runtime/core-js/set-immediate"),H=i(Z),R=n("process-nextick-args");O.exports=r;var j,N=!h.browser&&["v0.10","v0.9."].indexOf(h.version.slice(0,5))>-1?H.default:R.nextTick;r.WritableState=a;var M=n("core-util-is");M.inherits=n("inherits");var K={deprecate:n("util-deprecate")},J=n("./internal/streams/stream"),pe=n("safe-buffer").Buffer,ae=g.Uint8Array||function(){},he=n("./internal/streams/destroy");M.inherits(r,J),a.prototype.getBuffer=function(){for(var te=this.bufferedRequest,ee=[];te;)ee.push(te),te=te.next;return ee},function(){try{Object.defineProperty(a.prototype,"buffer",{get:K.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(te){}}();var ve;typeof oe.default=="function"&&ie.default&&typeof Function.prototype[ie.default]=="function"?(ve=Function.prototype[ie.default],(0,G.default)(r,ie.default,{value:function(ee){return!!ve.call(this,ee)||this===r&&ee&&ee._writableState instanceof a}})):ve=function(ee){return ee instanceof this},r.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},r.prototype.write=function(te,ee,ce){var W=this._writableState,X=!1,ue=!W.objectMode&&c(te);return ue&&!pe.isBuffer(te)&&(te=p(te)),typeof ee=="function"&&(ce=ee,ee=null),ue?ee="buffer":ee||(ee=W.defaultEncoding),typeof ce!="function"&&(ce=e),W.ended?s(this,ce):(ue||d(this,W,te,ce))&&(W.pendingcb++,X=w(this,W,ue,te,ee,ce)),X},r.prototype.cork=function(){this._writableState.corked++},r.prototype.uncork=function(){var te=this._writableState;te.corked&&(te.corked--,te.writing||te.corked||te.finished||te.bufferProcessing||!te.bufferedRequest||P(this,te))},r.prototype.setDefaultEncoding=function(te){if(typeof te=="string"&&(te=te.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((te+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+te);return this._writableState.defaultEncoding=te,this},Object.defineProperty(r.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),r.prototype._write=function(te,ee,ce){ce(new Error("_write() is not implemented"))},r.prototype._writev=null,r.prototype.end=function(te,ee,ce){var W=this._writableState;typeof te=="function"?(ce=te,te=null,ee=null):typeof ee=="function"&&(ce=ee,ee=null),te!=null&&this.write(te,ee),W.corked&&(W.corked=1,this.uncork()),W.ending||W.finished||F(this,W,ce)},Object.defineProperty(r.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(ee){this._writableState&&(this._writableState.destroyed=ee)}}),r.prototype.destroy=he.destroy,r.prototype._undestroy=he.undestroy,r.prototype._destroy=function(te,ee){this.end(),ee(te)}}).call(this,n("_process"),typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":179,"./internal/streams/destroy":185,"./internal/streams/stream":186,_process:173,"babel-runtime/core-js/object/define-property":20,"babel-runtime/core-js/set-immediate":25,"babel-runtime/core-js/symbol":27,"babel-runtime/core-js/symbol/has-instance":28,"core-util-is":153,inherits:162,"process-nextick-args":172,"safe-buffer":193,"util-deprecate":205}],184:[function(n,O,v){"use strict";function h(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")}function g(p,c,e){p.copy(c,e)}var i=n("safe-buffer").Buffer,u=n("util");O.exports=function(){function p(){h(this,p),this.head=null,this.tail=null,this.length=0}return p.prototype.push=function(c){var e={data:c,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},p.prototype.unshift=function(c){var e={data:c,next:this.head};this.length===0&&(this.tail=e),this.head=e,++this.length},p.prototype.shift=function(){if(this.length!==0){var c=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,c}},p.prototype.clear=function(){this.head=this.tail=null,this.length=0},p.prototype.join=function(c){if(this.length===0)return"";for(var e=this.head,a=""+e.data;e=e.next;)a+=c+e.data;return a},p.prototype.concat=function(c){if(this.length===0)return i.alloc(0);if(this.length===1)return this.head.data;for(var e=i.allocUnsafe(c>>>0),a=this.head,r=0;a;)g(a.data,e,r),r+=a.data.length,a=a.next;return e},p}(),u&&u.inspect&&u.inspect.custom&&(O.exports.prototype[u.inspect.custom]=function(){var p=u.inspect({length:this.length});return this.constructor.name+" "+p})},{"safe-buffer":193,util:36}],185:[function(n,O,v){"use strict";function h(p,c){var e=this,a=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return a||r?(c?c(p):!p||this._writableState&&this._writableState.errorEmitted||u.nextTick(i,this,p),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(p||null,function(s){!c&&s?(u.nextTick(i,e,s),e._writableState&&(e._writableState.errorEmitted=!0)):c&&c(s)}),this)}function g(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(p,c){p.emit("error",c)}var u=n("process-nextick-args");O.exports={destroy:h,undestroy:g}},{"process-nextick-args":172}],186:[function(n,O,v){"use strict";O.exports=n("events").EventEmitter},{events:158}],187:[function(n,O,v){O.exports=n("./readable").PassThrough},{"./readable":188}],188:[function(n,O,v){v=O.exports=n("./lib/_stream_readable.js"),v.Stream=v,v.Readable=v,v.Writable=n("./lib/_stream_writable.js"),v.Duplex=n("./lib/_stream_duplex.js"),v.Transform=n("./lib/_stream_transform.js"),v.PassThrough=n("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":179,"./lib/_stream_passthrough.js":180,"./lib/_stream_readable.js":181,"./lib/_stream_transform.js":182,"./lib/_stream_writable.js":183}],189:[function(n,O,v){O.exports=n("./readable").Transform},{"./readable":188}],190:[function(n,O,v){O.exports=n("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":183}],191:[function(n,O,v){var h=function(){return this}()||Function("return this")(),g=h.regeneratorRuntime&&Object.getOwnPropertyNames(h).indexOf("regeneratorRuntime")>=0,i=g&&h.regeneratorRuntime;if(h.regeneratorRuntime=void 0,O.exports=n("./runtime"),g)h.regeneratorRuntime=i;else try{delete h.regeneratorRuntime}catch(u){h.regeneratorRuntime=void 0}},{"./runtime":192}],192:[function(n,O,v){!function(h){"use strict";function g(H,R,j,N){var M=R&&R.prototype instanceof u?R:u,K=Object.create(M.prototype),J=new w(N||[]);return K._invoke=r(H,j,J),K}function i(H,R,j){try{return{type:"normal",arg:H.call(R,j)}}catch(N){return{type:"throw",arg:N}}}function u(){}function p(){}function c(){}function e(H){["next","throw","return"].forEach(function(R){H[R]=function(j){return this._invoke(R,j)}})}function a(H){function R(M,K,J,pe){var ae=i(H[M],H,K);if(ae.type!=="throw"){var he=ae.arg,ve=he.value;return ve&&typeof ve=="object"&&m.call(ve,"__await")?Promise.resolve(ve.__await).then(function(te){R("next",te,J,pe)},function(te){R("throw",te,J,pe)}):Promise.resolve(ve).then(function(te){he.value=te,J(he)},pe)}pe(ae.arg)}function j(M,K){function J(){return new Promise(function(pe,ae){R(M,K,pe,ae)})}return N=N?N.then(J,J):J()}var N;this._invoke=j}function r(H,R,j){var N=F;return function(M,K){if(N===B)throw new Error("Generator is already running");if(N===G){if(M==="throw")throw K;return f()}for(j.method=M,j.arg=K;;){var J=j.delegate;if(J){var pe=s(J,j);if(pe){if(pe===q)continue;return pe}}if(j.method==="next")j.sent=j._sent=j.arg;else if(j.method==="throw"){if(N===F)throw N=G,j.arg;j.dispatchException(j.arg)}else j.method==="return"&&j.abrupt("return",j.arg);N=B;var ae=i(H,R,j);if(ae.type==="normal"){if(N=j.done?G:I,ae.arg===q)continue;return{value:ae.arg,done:j.done}}ae.type==="throw"&&(N=G,j.method="throw",j.arg=ae.arg)}}}function s(H,R){var j=H.iterator[R.method];if(j===A){if(R.delegate=null,R.method==="throw"){if(H.iterator.return&&(R.method="return",R.arg=A,s(H,R),R.method==="throw"))return q;R.method="throw",R.arg=new TypeError("The iterator does not provide a 'throw' method")}return q}var N=i(j,H.iterator,R.arg);if(N.type==="throw")return R.method="throw",R.arg=N.arg,R.delegate=null,q;var M=N.arg;return M?M.done?(R[H.resultName]=M.value,R.next=H.nextLoc,R.method!=="return"&&(R.method="next",R.arg=A),R.delegate=null,q):M:(R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,q)}function d(H){var R={tryLoc:H[0]};1 in H&&(R.catchLoc=H[1]),2 in H&&(R.finallyLoc=H[2],R.afterLoc=H[3]),this.tryEntries.push(R)}function l(H){var R=H.completion||{};R.type="normal",delete R.arg,H.completion=R}function w(H){this.tryEntries=[{tryLoc:"root"}],H.forEach(d,this),this.reset(!0)}function x(H){if(H){var R=H[P];if(R)return R.call(H);if(typeof H.next=="function")return H;if(!isNaN(H.length)){var j=-1,N=function M(){for(;++j<H.length;)if(m.call(H,j))return M.value=H[j],M.done=!1,M;return M.value=A,M.done=!0,M};return N.next=N}}return{next:f}}function f(){return{value:A,done:!0}}var A,S=Object.prototype,m=S.hasOwnProperty,_=typeof Symbol=="function"?Symbol:{},P=_.iterator||"@@iterator",k=_.asyncIterator||"@@asyncIterator",b=_.toStringTag||"@@toStringTag",L=typeof O=="object",D=h.regeneratorRuntime;if(D)return void(L&&(O.exports=D));D=h.regeneratorRuntime=L?O.exports:{},D.wrap=g;var F="suspendedStart",I="suspendedYield",B="executing",G="completed",q={},ie={};ie[P]=function(){return this};var z=Object.getPrototypeOf,oe=z&&z(z(x([])));oe&&oe!==S&&m.call(oe,P)&&(ie=oe);var Z=c.prototype=u.prototype=Object.create(ie);p.prototype=Z.constructor=c,c.constructor=p,c[b]=p.displayName="GeneratorFunction",D.isGeneratorFunction=function(H){var R=typeof H=="function"&&H.constructor;return!!R&&(R===p||(R.displayName||R.name)==="GeneratorFunction")},D.mark=function(H){return Object.setPrototypeOf?Object.setPrototypeOf(H,c):(H.__proto__=c,b in H||(H[b]="GeneratorFunction")),H.prototype=Object.create(Z),H},D.awrap=function(H){return{__await:H}},e(a.prototype),a.prototype[k]=function(){return this},D.AsyncIterator=a,D.async=function(H,R,j,N){var M=new a(g(H,R,j,N));return D.isGeneratorFunction(R)?M:M.next().then(function(K){return K.done?K.value:M.next()})},e(Z),Z[b]="Generator",Z[P]=function(){return this},Z.toString=function(){return"[object Generator]"},D.keys=function(H){var R=[];for(var j in H)R.push(j);return R.reverse(),function N(){for(;R.length;){var M=R.pop();if(M in H)return N.value=M,N.done=!1,N}return N.done=!0,N}},D.values=x,w.prototype={constructor:w,reset:function(R){if(this.prev=0,this.next=0,this.sent=this._sent=A,this.done=!1,this.delegate=null,this.method="next",this.arg=A,this.tryEntries.forEach(l),!R)for(var j in this)j.charAt(0)==="t"&&m.call(this,j)&&!isNaN(+j.slice(1))&&(this[j]=A)},stop:function(){this.done=!0;var R=this.tryEntries[0],j=R.completion;if(j.type==="throw")throw j.arg;return this.rval},dispatchException:function(R){function j(he,ve){return J.type="throw",J.arg=R,N.next=he,ve&&(N.method="next",N.arg=A),!!ve}if(this.done)throw R;for(var N=this,M=this.tryEntries.length-1;M>=0;--M){var K=this.tryEntries[M],J=K.completion;if(K.tryLoc==="root")return j("end");if(K.tryLoc<=this.prev){var pe=m.call(K,"catchLoc"),ae=m.call(K,"finallyLoc");if(pe&&ae){if(this.prev<K.catchLoc)return j(K.catchLoc,!0);if(this.prev<K.finallyLoc)return j(K.finallyLoc)}else if(pe){if(this.prev<K.catchLoc)return j(K.catchLoc,!0)}else{if(!ae)throw new Error("try statement without catch or finally");if(this.prev<K.finallyLoc)return j(K.finallyLoc)}}}},abrupt:function(R,j){for(var N=this.tryEntries.length-1;N>=0;--N){var M=this.tryEntries[N];if(M.tryLoc<=this.prev&&m.call(M,"finallyLoc")&&this.prev<M.finallyLoc){var K=M;break}}K&&(R==="break"||R==="continue")&&K.tryLoc<=j&&j<=K.finallyLoc&&(K=null);var J=K?K.completion:{};return J.type=R,J.arg=j,K?(this.method="next",this.next=K.finallyLoc,q):this.complete(J)},complete:function(R,j){if(R.type==="throw")throw R.arg;return R.type==="break"||R.type==="continue"?this.next=R.arg:R.type==="return"?(this.rval=this.arg=R.arg,this.method="return",this.next="end"):R.type==="normal"&&j&&(this.next=j),q},finish:function(R){for(var j=this.tryEntries.length-1;j>=0;--j){var N=this.tryEntries[j];if(N.finallyLoc===R)return this.complete(N.completion,N.afterLoc),l(N),q}},catch:function(R){for(var j=this.tryEntries.length-1;j>=0;--j){var N=this.tryEntries[j];if(N.tryLoc===R){var M=N.completion;if(M.type==="throw"){var K=M.arg;l(N)}return K}}throw new Error("illegal catch attempt")},delegateYield:function(R,j,N){return this.delegate={iterator:x(R),resultName:j,nextLoc:N},this.method==="next"&&(this.arg=A),q}}}(function(){return this}()||Function("return this")())},{}],193:[function(n,O,v){function h(p,c){for(var e in p)c[e]=p[e]}function g(p,c,e){return u(p,c,e)}var i=n("buffer"),u=i.Buffer;u.from&&u.alloc&&u.allocUnsafe&&u.allocUnsafeSlow?O.exports=i:(h(i,v),v.Buffer=g),h(u,g),g.from=function(p,c,e){if(typeof p=="number")throw new TypeError("Argument must not be a number");return u(p,c,e)},g.alloc=function(p,c,e){if(typeof p!="number")throw new TypeError("Argument must be a number");var a=u(p);return c!==void 0?typeof e=="string"?a.fill(c,e):a.fill(c):a.fill(0),a},g.allocUnsafe=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return u(p)},g.allocUnsafeSlow=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return i.SlowBuffer(p)}},{buffer:38}],194:[function(n,O,v){(function(h){"use strict";function g(f){return f&&f.__esModule?f:{default:f}}var i=n("babel-runtime/core-js/string/from-code-point"),u=g(i),p=n("babel-runtime/core-js/json/stringify"),c=g(p),e=n("babel-runtime/helpers/typeof"),a=g(e),r=n("babel-runtime/core-js/object/define-property"),s=g(r),d=n("babel-runtime/core-js/object/keys"),l=g(d),w=n("babel-runtime/core-js/object/create"),x=g(w);!function(f){function A(y,E){if(!(this instanceof A))return new A(y,E);var V=this;m(V),V.q=V.c="",V.bufferCheckPosition=f.MAX_BUFFER_LENGTH,V.opt=E||{},V.opt.lowercase=V.opt.lowercase||V.opt.lowercasetags,V.looseCase=V.opt.lowercase?"toLowerCase":"toUpperCase",V.tags=[],V.closed=V.closedRoot=V.sawRoot=!1,V.tag=V.error=null,V.strict=!!y,V.noscript=!(!y&&!V.opt.noscript),V.state=o.BEGIN,V.strictEntities=V.opt.strictEntities,V.ENTITIES=V.strictEntities?(0,x.default)(f.XML_ENTITIES):(0,x.default)(f.ENTITIES),V.attribList=[],V.opt.xmlns&&(V.ns=(0,x.default)(ue)),V.trackPosition=V.opt.position!==!1,V.trackPosition&&(V.position=V.line=V.column=0),B(V,"onready")}function S(y){for(var E=Math.max(f.MAX_BUFFER_LENGTH,10),V=0,Y=0,_e=he.length;Y<_e;Y++){var me=y[he[Y]].length;if(me>E)switch(he[Y]){case"textNode":q(y);break;case"cdata":G(y,"oncdata",y.cdata),y.cdata="";break;case"script":G(y,"onscript",y.script),y.script="";break;default:z(y,"Max buffer length exceeded: "+he[Y])}V=Math.max(V,me)}var Ee=f.MAX_BUFFER_LENGTH-V;y.bufferCheckPosition=Ee+y.position}function m(y){for(var E=0,V=he.length;E<V;E++)y[he[E]]=""}function _(y){q(y),y.cdata!==""&&(G(y,"oncdata",y.cdata),y.cdata=""),y.script!==""&&(G(y,"onscript",y.script),y.script="")}function P(y,E){return new k(y,E)}function k(y,E){if(!(this instanceof k))return new k(y,E);ve.apply(this),this._parser=new A(y,E),this.writable=!0,this.readable=!0;var V=this;this._parser.onend=function(){V.emit("end")},this._parser.onerror=function(Y){V.emit("error",Y),V._parser.error=null},this._decoder=null,te.forEach(function(Y){(0,s.default)(V,"on"+Y,{get:function(){return V._parser["on"+Y]},set:function(me){if(!me)return V.removeAllListeners(Y),V._parser["on"+Y]=me,me;V.on(Y,me)},enumerable:!0,configurable:!1})})}function b(y){return y===" "||y===`
|
|
|
`||y==="\r"||y===" "}function L(y){return y==='"'||y==="'"}function D(y){return y===">"||b(y)}function F(y,E){return y.test(E)}function I(y,E){return!F(y,E)}function B(y,E,V){y[E]&&y[E](V)}function G(y,E,V){y.textNode&&q(y),B(y,E,V)}function q(y){y.textNode=ie(y.opt,y.textNode),y.textNode&&B(y,"ontext",y.textNode),y.textNode=""}function ie(y,E){return y.trim&&(E=E.trim()),y.normalize&&(E=E.replace(/\s+/g," ")),E}function z(y,E){return q(y),y.trackPosition&&(E+=`
|
|
|
Line: `+y.line+`
|
|
|
Column: `+y.column+`
|
|
|
Char: `+y.c),E=new Error(E),y.error=E,B(y,"onerror",E),y}function oe(y){return y.sawRoot&&!y.closedRoot&&Z(y,"Unclosed root tag"),y.state!==o.BEGIN&&y.state!==o.BEGIN_WHITESPACE&&y.state!==o.TEXT&&z(y,"Unexpected end"),q(y),y.c="",y.closed=!0,B(y,"onend"),A.call(y,y.strict,y.opt),y}function Z(y,E){if((y===void 0?"undefined":(0,a.default)(y))!=="object"||!(y instanceof A))throw new Error("bad call to strictFail");y.strict&&z(y,E)}function H(y){y.strict||(y.tagName=y.tagName[y.looseCase]());var E=y.tags[y.tags.length-1]||y,V=y.tag={name:y.tagName,attributes:{}};y.opt.xmlns&&(V.ns=E.ns),y.attribList.length=0,G(y,"onopentagstart",V)}function R(y,E){var V=y.indexOf(":"),Y=V<0?["",y]:y.split(":"),_e=Y[0],me=Y[1];return E&&y==="xmlns"&&(_e="xmlns",me=""),{prefix:_e,local:me}}function j(y){if(y.strict||(y.attribName=y.attribName[y.looseCase]()),y.attribList.indexOf(y.attribName)!==-1||y.tag.attributes.hasOwnProperty(y.attribName))return void(y.attribName=y.attribValue="");if(y.opt.xmlns){var E=R(y.attribName,!0),V=E.prefix,Y=E.local;if(V==="xmlns")if(Y==="xml"&&y.attribValue!==W)Z(y,"xml: prefix must be bound to "+W+`
|
|
|
Actual: `+y.attribValue);else if(Y==="xmlns"&&y.attribValue!==X)Z(y,"xmlns: prefix must be bound to "+X+`
|
|
|
Actual: `+y.attribValue);else{var _e=y.tag,me=y.tags[y.tags.length-1]||y;_e.ns===me.ns&&(_e.ns=(0,x.default)(me.ns)),_e.ns[Y]=y.attribValue}y.attribList.push([y.attribName,y.attribValue])}else y.tag.attributes[y.attribName]=y.attribValue,G(y,"onattribute",{name:y.attribName,value:y.attribValue});y.attribName=y.attribValue=""}function N(y,E){if(y.opt.xmlns){var V=y.tag,Y=R(y.tagName);V.prefix=Y.prefix,V.local=Y.local,V.uri=V.ns[Y.prefix]||"",V.prefix&&!V.uri&&(Z(y,"Unbound namespace prefix: "+(0,c.default)(y.tagName)),V.uri=Y.prefix);var _e=y.tags[y.tags.length-1]||y;V.ns&&_e.ns!==V.ns&&(0,l.default)(V.ns).forEach(function(ye){G(y,"onopennamespace",{prefix:ye,uri:V.ns[ye]})});for(var me=0,Ee=y.attribList.length;me<Ee;me++){var Ae=y.attribList[me],Te=Ae[0],xe=Ae[1],ne=R(Te,!0),U=ne.prefix,re=ne.local,le=U===""?"":V.ns[U]||"",ge={name:Te,value:xe,prefix:U,local:re,uri:le};U&&U!=="xmlns"&&!le&&(Z(y,"Unbound namespace prefix: "+(0,c.default)(U)),ge.uri=U),y.tag.attributes[Te]=ge,G(y,"onattribute",ge)}y.attribList.length=0}y.tag.isSelfClosing=!!E,y.sawRoot=!0,y.tags.push(y.tag),G(y,"onopentag",y.tag),E||(y.noscript||y.tagName.toLowerCase()!=="script"?y.state=o.TEXT:y.state=o.SCRIPT,y.tag=null,y.tagName=""),y.attribName=y.attribValue="",y.attribList.length=0}function M(y){if(!y.tagName)return Z(y,"Weird empty close tag."),y.textNode+="</>",void(y.state=o.TEXT);if(y.script){if(y.tagName!=="script")return y.script+="</"+y.tagName+">",y.tagName="",void(y.state=o.SCRIPT);G(y,"onscript",y.script),y.script=""}var E=y.tags.length,V=y.tagName;y.strict||(V=V[y.looseCase]());for(var Y=V;E--&&!(y.tags[E].name===Y);)Z(y,"Unexpected close tag");if(E<0)return Z(y,"Unmatched closing tag: "+y.tagName),y.textNode+="</"+y.tagName+">",void(y.state=o.TEXT);y.tagName=V;for(var _e=y.tags.length;_e-- >E;){var me=y.tag=y.tags.pop();y.tagName=y.tag.name,G(y,"onclosetag",y.tagName);var Ee={};for(var Ae in me.ns)Ee[Ae]=me.ns[Ae];var Te=y.tags[y.tags.length-1]||y;y.opt.xmlns&&me.ns!==Te.ns&&(0,l.default)(me.ns).forEach(function(xe){var ne=me.ns[xe];G(y,"onclosenamespace",{prefix:xe,uri:ne})})}E===0&&(y.closedRoot=!0),y.tagName=y.attribValue=y.attribName="",y.attribList.length=0,y.state=o.TEXT}function K(y){var E,V=y.entity,Y=V.toLowerCase(),_e="";return y.ENTITIES[V]?y.ENTITIES[V]:y.ENTITIES[Y]?y.ENTITIES[Y]:(V=Y,V.charAt(0)==="#"&&(V.charAt(1)==="x"?(V=V.slice(2),E=parseInt(V,16),_e=E.toString(16)):(V=V.slice(1),E=parseInt(V,10),_e=E.toString(10))),V=V.replace(/^0+/,""),isNaN(E)||_e.toLowerCase()!==V?(Z(y,"Invalid character entity"),"&"+y.entity+";"):(0,u.default)(E))}function J(y,E){E==="<"?(y.state=o.OPEN_WAKA,y.startTagPosition=y.position):b(E)||(Z(y,"Non-whitespace before first tag."),y.textNode=E,y.state=o.TEXT)}function pe(y,E){var V="";return E<y.length&&(V=y.charAt(E)),V}function ae(y){var E=this;if(this.error)throw this.error;if(E.closed)return z(E,"Cannot write after close. Assign an onready handler.");if(y===null)return oe(E);(y===void 0?"undefined":(0,a.default)(y))==="object"&&(y=y.toString());for(var V=0,Y="";!(Y=pe(y,V++),E.c=Y,!Y);)switch(E.trackPosition&&(E.position++,Y===`
|
|
|
`?(E.line++,E.column=0):E.column++),E.state){case o.BEGIN:if(E.state=o.BEGIN_WHITESPACE,Y==="\uFEFF")continue;J(E,Y);continue;case o.BEGIN_WHITESPACE:J(E,Y);continue;case o.TEXT:if(E.sawRoot&&!E.closedRoot){for(var _e=V-1;Y&&Y!=="<"&&Y!=="&";)(Y=pe(y,V++))&&E.trackPosition&&(E.position++,Y===`
|
|
|
`?(E.line++,E.column=0):E.column++);E.textNode+=y.substring(_e,V-1)}Y!=="<"||E.sawRoot&&E.closedRoot&&!E.strict?(b(Y)||E.sawRoot&&!E.closedRoot||Z(E,"Text data outside of root node."),Y==="&"?E.state=o.TEXT_ENTITY:E.textNode+=Y):(E.state=o.OPEN_WAKA,E.startTagPosition=E.position);continue;case o.SCRIPT:Y==="<"?E.state=o.SCRIPT_ENDING:E.script+=Y;continue;case o.SCRIPT_ENDING:Y==="/"?E.state=o.CLOSE_TAG:(E.script+="<"+Y,E.state=o.SCRIPT);continue;case o.OPEN_WAKA:if(Y==="!")E.state=o.SGML_DECL,E.sgmlDecl="";else if(!b(Y))if(F($,Y))E.state=o.OPEN_TAG,E.tagName=Y;else if(Y==="/")E.state=o.CLOSE_TAG,E.tagName="";else if(Y==="?")E.state=o.PROC_INST,E.procInstName=E.procInstBody="";else{if(Z(E,"Unencoded <"),E.startTagPosition+1<E.position){var me=E.position-E.startTagPosition;Y=new Array(me).join(" ")+Y}E.textNode+="<"+Y,E.state=o.TEXT}continue;case o.SGML_DECL:(E.sgmlDecl+Y).toUpperCase()===ee?(G(E,"onopencdata"),E.state=o.CDATA,E.sgmlDecl="",E.cdata=""):E.sgmlDecl+Y==="--"?(E.state=o.COMMENT,E.comment="",E.sgmlDecl=""):(E.sgmlDecl+Y).toUpperCase()===ce?(E.state=o.DOCTYPE,(E.doctype||E.sawRoot)&&Z(E,"Inappropriately located doctype declaration"),E.doctype="",E.sgmlDecl=""):Y===">"?(G(E,"onsgmldeclaration",E.sgmlDecl),E.sgmlDecl="",E.state=o.TEXT):(L(Y)&&(E.state=o.SGML_DECL_QUOTED),E.sgmlDecl+=Y);continue;case o.SGML_DECL_QUOTED:Y===E.q&&(E.state=o.SGML_DECL,E.q=""),E.sgmlDecl+=Y;continue;case o.DOCTYPE:Y===">"?(E.state=o.TEXT,G(E,"ondoctype",E.doctype),E.doctype=!0):(E.doctype+=Y,Y==="["?E.state=o.DOCTYPE_DTD:L(Y)&&(E.state=o.DOCTYPE_QUOTED,E.q=Y));continue;case o.DOCTYPE_QUOTED:E.doctype+=Y,Y===E.q&&(E.q="",E.state=o.DOCTYPE);continue;case o.DOCTYPE_DTD:E.doctype+=Y,Y==="]"?E.state=o.DOCTYPE:L(Y)&&(E.state=o.DOCTYPE_DTD_QUOTED,E.q=Y);continue;case o.DOCTYPE_DTD_QUOTED:E.doctype+=Y,Y===E.q&&(E.state=o.DOCTYPE_DTD,E.q="");continue;case o.COMMENT:Y==="-"?E.state=o.COMMENT_ENDING:E.comment+=Y;continue;case o.COMMENT_ENDING:Y==="-"?(E.state=o.COMMENT_ENDED,E.comment=ie(E.opt,E.comment),E.comment&&G(E,"oncomment",E.comment),E.comment=""):(E.comment+="-"+Y,E.state=o.COMMENT);continue;case o.COMMENT_ENDED:Y!==">"?(Z(E,"Malformed comment"),E.comment+="--"+Y,E.state=o.COMMENT):E.state=o.TEXT;continue;case o.CDATA:Y==="]"?E.state=o.CDATA_ENDING:E.cdata+=Y;continue;case o.CDATA_ENDING:Y==="]"?E.state=o.CDATA_ENDING_2:(E.cdata+="]"+Y,E.state=o.CDATA);continue;case o.CDATA_ENDING_2:Y===">"?(E.cdata&&G(E,"oncdata",E.cdata),G(E,"onclosecdata"),E.cdata="",E.state=o.TEXT):Y==="]"?E.cdata+="]":(E.cdata+="]]"+Y,E.state=o.CDATA);continue;case o.PROC_INST:Y==="?"?E.state=o.PROC_INST_ENDING:b(Y)?E.state=o.PROC_INST_BODY:E.procInstName+=Y;continue;case o.PROC_INST_BODY:if(!E.procInstBody&&b(Y))continue;Y==="?"?E.state=o.PROC_INST_ENDING:E.procInstBody+=Y;continue;case o.PROC_INST_ENDING:Y===">"?(G(E,"onprocessinginstruction",{name:E.procInstName,body:E.procInstBody}),E.procInstName=E.procInstBody="",E.state=o.TEXT):(E.procInstBody+="?"+Y,E.state=o.PROC_INST_BODY);continue;case o.OPEN_TAG:F(se,Y)?E.tagName+=Y:(H(E),Y===">"?N(E):Y==="/"?E.state=o.OPEN_TAG_SLASH:(b(Y)||Z(E,"Invalid character in tag name"),E.state=o.ATTRIB));continue;case o.OPEN_TAG_SLASH:Y===">"?(N(E,!0),M(E)):(Z(E,"Forward-slash in opening tag not followed by >"),E.state=o.ATTRIB);continue;case o.ATTRIB:if(b(Y))continue;Y===">"?N(E):Y==="/"?E.state=o.OPEN_TAG_SLASH:F($,Y)?(E.attribName=Y,E.attribValue="",E.state=o.ATTRIB_NAME):Z(E,"Invalid attribute name");continue;case o.ATTRIB_NAME:Y==="="?E.state=o.ATTRIB_VALUE:Y===">"?(Z(E,"Attribute without value"),E.attribValue=E.attribName,j(E),N(E)):b(Y)?E.state=o.ATTRIB_NAME_SAW_WHITE:F(se,Y)?E.attribName+=Y:Z(E,"Invalid attribute name");continue;case o.ATTRIB_NAME_SAW_WHITE:if(Y==="=")E.state=o.ATTRIB_VALUE;else{if(b(Y))continue;Z(E,"Attribute without value"),E.tag.attributes[E.attribName]="",E.attribValue="",G(E,"onattribute",{name:E.attribName,value:""}),E.attribName="",Y===">"?N(E):F($,Y)?(E.attribName=Y,E.state=o.ATTRIB_NAME):(Z(E,"Invalid attribute name"),E.state=o.ATTRIB)}continue;case o.ATTRIB_VALUE:if(b(Y))continue;L(Y)?(E.q=Y,E.state=o.ATTRIB_VALUE_QUOTED):(Z(E,"Unquoted attribute value"),E.state=o.ATTRIB_VALUE_UNQUOTED,E.attribValue=Y);continue;case o.ATTRIB_VALUE_QUOTED:if(Y!==E.q){Y==="&"?E.state=o.ATTRIB_VALUE_ENTITY_Q:E.attribValue+=Y;continue}j(E),E.q="",E.state=o.ATTRIB_VALUE_CLOSED;continue;case o.ATTRIB_VALUE_CLOSED:b(Y)?E.state=o.ATTRIB:Y===">"?N(E):Y==="/"?E.state=o.OPEN_TAG_SLASH:F($,Y)?(Z(E,"No whitespace between attributes"),E.attribName=Y,E.attribValue="",E.state=o.ATTRIB_NAME):Z(E,"Invalid attribute name");continue;case o.ATTRIB_VALUE_UNQUOTED:if(!D(Y)){Y==="&"?E.state=o.ATTRIB_VALUE_ENTITY_U:E.attribValue+=Y;continue}j(E),Y===">"?N(E):E.state=o.ATTRIB;continue;case o.CLOSE_TAG:if(E.tagName)Y===">"?M(E):F(se,Y)?E.tagName+=Y:E.script?(E.script+="</"+E.tagName,E.tagName="",E.state=o.SCRIPT):(b(Y)||Z(E,"Invalid tagname in closing tag"),E.state=o.CLOSE_TAG_SAW_WHITE);else{if(b(Y))continue;I($,Y)?E.script?(E.script+="</"+Y,E.state=o.SCRIPT):Z(E,"Invalid tagname in closing tag."):E.tagName=Y}continue;case o.CLOSE_TAG_SAW_WHITE:if(b(Y))continue;Y===">"?M(E):Z(E,"Invalid characters in closing tag");continue;case o.TEXT_ENTITY:case o.ATTRIB_VALUE_ENTITY_Q:case o.ATTRIB_VALUE_ENTITY_U:var Ee,Ae;switch(E.state){case o.TEXT_ENTITY:Ee=o.TEXT,Ae="textNode";break;case o.ATTRIB_VALUE_ENTITY_Q:Ee=o.ATTRIB_VALUE_QUOTED,Ae="attribValue";break;case o.ATTRIB_VALUE_ENTITY_U:Ee=o.ATTRIB_VALUE_UNQUOTED,Ae="attribValue"}Y===";"?(E[Ae]+=K(E),E.entity="",E.state=Ee):F(E.entity.length?t:T,Y)?E.entity+=Y:(Z(E,"Invalid character in entity name"),E[Ae]+="&"+E.entity+Y,E.entity="",E.state=Ee);continue;default:throw new Error(E,"Unknown state: "+E.state)}return E.position>=E.bufferCheckPosition&&S(E),E}f.parser=function(y,E){return new A(y,E)},f.SAXParser=A,f.SAXStream=k,f.createStream=P,f.MAX_BUFFER_LENGTH=65536;var he=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];f.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],x.default||(Object.create=function(y){function E(){}return E.prototype=y,new E}),l.default||(Object.keys=function(y){var E=[];for(var V in y)y.hasOwnProperty(V)&&E.push(V);return E}),A.prototype={end:function(){oe(this)},write:ae,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){_(this)}};var ve;try{ve=n("stream").Stream}catch(y){ve=function(){}}var te=f.EVENTS.filter(function(y){return y!=="error"&&y!=="end"});k.prototype=(0,x.default)(ve.prototype,{constructor:{value:k}}),k.prototype.write=function(y){if(typeof h=="function"&&typeof h.isBuffer=="function"&&h.isBuffer(y)){if(!this._decoder){var E=n("string_decoder").StringDecoder;this._decoder=new E("utf8")}y=this._decoder.write(y)}return this._parser.write(y.toString()),this.emit("data",y),!0},k.prototype.end=function(y){return y&&y.length&&this.write(y),this._parser.end(),!0},k.prototype.on=function(y,E){var V=this;return V._parser["on"+y]||te.indexOf(y)===-1||(V._parser["on"+y]=function(){var Y=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Y.splice(0,0,y),V.emit.apply(V,Y)}),ve.prototype.on.call(V,y,E)};var ee="[CDATA[",ce="DOCTYPE",W="http://www.w3.org/XML/1998/namespace",X="http://www.w3.org/2000/xmlns/",ue={xml:W,xmlns:X},$=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,se=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,T=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,t=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,o=0;f.STATE={BEGIN:o++,BEGIN_WHITESPACE:o++,TEXT:o++,TEXT_ENTITY:o++,OPEN_WAKA:o++,SGML_DECL:o++,SGML_DECL_QUOTED:o++,DOCTYPE:o++,DOCTYPE_QUOTED:o++,DOCTYPE_DTD:o++,DOCTYPE_DTD_QUOTED:o++,COMMENT_STARTING:o++,COMMENT:o++,COMMENT_ENDING:o++,COMMENT_ENDED:o++,CDATA:o++,CDATA_ENDING:o++,CDATA_ENDING_2:o++,PROC_INST:o++,PROC_INST_BODY:o++,PROC_INST_ENDING:o++,OPEN_TAG:o++,OPEN_TAG_SLASH:o++,ATTRIB:o++,ATTRIB_NAME:o++,ATTRIB_NAME_SAW_WHITE:o++,ATTRIB_VALUE:o++,ATTRIB_VALUE_QUOTED:o++,ATTRIB_VALUE_CLOSED:o++,ATTRIB_VALUE_UNQUOTED:o++,ATTRIB_VALUE_ENTITY_Q:o++,ATTRIB_VALUE_ENTITY_U:o++,CLOSE_TAG:o++,CLOSE_TAG_SAW_WHITE:o++,SCRIPT:o++,SCRIPT_ENDING:o++},f.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},f.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,l.default)(f.ENTITIES).forEach(function(y){var E=f.ENTITIES[y],V=typeof E=="number"?String.fromCharCode(E):E;f.ENTITIES[y]=V});for(var C in f.STATE)f.STATE[f.STATE[C]]=C;o=f.STATE,u.default||function(){var y=String.fromCharCode,E=Math.floor,V=function(){var _e,me,Ee=[],Ae=-1,Te=arguments.length;if(!Te)return"";for(var xe="";++Ae<Te;){var ne=Number(arguments[Ae]);if(!isFinite(ne)||ne<0||ne>1114111||E(ne)!==ne)throw RangeError("Invalid code point: "+ne);ne<=65535?Ee.push(ne):(ne-=65536,_e=55296+(ne>>10),me=ne%1024+56320,Ee.push(_e,me)),(Ae+1===Te||Ee.length>16384)&&(xe+=y.apply(null,Ee),Ee.length=0)}return xe};s.default?Object.defineProperty(String,"fromCodePoint",{value:V,configurable:!0,writable:!0}):String.fromCodePoint=V}()}(v===void 0?(void 0).sax={}:v)}).call(this,n("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/create":19,"babel-runtime/core-js/object/define-property":20,"babel-runtime/core-js/object/keys":23,"babel-runtime/core-js/string/from-code-point":26,"babel-runtime/helpers/typeof":32,buffer:38,stream:195,string_decoder:37}],195:[function(n,O,v){function h(){g.call(this)}O.exports=h;var g=n("events").EventEmitter;n("inherits")(h,g),h.Readable=n("readable-stream/readable.js"),h.Writable=n("readable-stream/writable.js"),h.Duplex=n("readable-stream/duplex.js"),h.Transform=n("readable-stream/transform.js"),h.PassThrough=n("readable-stream/passthrough.js"),h.Stream=h,h.prototype.pipe=function(i,u){function p(w){i.writable&&i.write(w)===!1&&d.pause&&d.pause()}function c(){d.readable&&d.resume&&d.resume()}function e(){l||(l=!0,i.end())}function a(){l||(l=!0,typeof i.destroy=="function"&&i.destroy())}function r(w){if(s(),g.listenerCount(this,"error")===0)throw w}function s(){d.removeListener("data",p),i.removeListener("drain",c),d.removeListener("end",e),d.removeListener("close",a),d.removeListener("error",r),i.removeListener("error",r),d.removeListener("end",s),d.removeListener("close",s),i.removeListener("close",s)}var d=this;d.on("data",p),i.on("drain",c),i._isStdio||u&&u.end===!1||(d.on("end",e),d.on("close",a));var l=!1;return d.on("error",r),i.on("error",r),d.on("end",s),d.on("close",s),i.on("close",s),i.emit("pipe",d),i}},{events:158,inherits:162,"readable-stream/duplex.js":178,"readable-stream/passthrough.js":187,"readable-stream/readable.js":188,"readable-stream/transform.js":189,"readable-stream/writable.js":190}],196:[function(n,O,v){(function(h){var g=n("./lib/request"),i=n("./lib/response"),u=n("xtend"),p=n("builtin-status-codes"),c=n("url"),e=v;e.request=function(a,r){a=typeof a=="string"?c.parse(a):u(a);var s=h.location.protocol.search(/^https?:$/)===-1?"http:":"",d=a.protocol||s,l=a.hostname||a.host,w=a.port,x=a.path||"/";l&&l.indexOf(":")!==-1&&(l="["+l+"]"),a.url=(l?d+"//"+l:"")+(w?":"+w:"")+x,a.method=(a.method||"GET").toUpperCase(),a.headers=a.headers||{};var f=new g(a);return r&&f.on("response",r),f},e.get=function(a,r){var s=e.request(a,r);return s.end(),s},e.ClientRequest=g,e.IncomingMessage=i.IncomingMessage,e.Agent=function(){},e.Agent.defaultMaxSockets=4,e.globalAgent=new e.Agent,e.STATUS_CODES=p,e.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":198,"./lib/response":199,"builtin-status-codes":39,url:203,xtend:236}],197:[function(n,O,v){(function(h){"use strict";function g(){if(p!==void 0)return p;if(h.XMLHttpRequest){p=new h.XMLHttpRequest;try{p.open("GET",h.XDomainRequest?"/":"https://example.com")}catch(a){p=null}}else p=null;return p}function i(a){var r=g();if(!r)return!1;try{return r.responseType=a,r.responseType===a}catch(s){}return!1}function u(a){return typeof a=="function"}v.fetch=u(h.fetch)&&u(h.ReadableStream),v.writableStream=u(h.WritableStream),v.abortController=u(h.AbortController),v.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),v.blobConstructor=!0}catch(a){}var p,c=h.ArrayBuffer!==void 0,e=c&&u(h.ArrayBuffer.prototype.slice);v.arraybuffer=v.fetch||c&&i("arraybuffer"),v.msstream=!v.fetch&&e&&i("ms-stream"),v.mozchunkedarraybuffer=!v.fetch&&c&&i("moz-chunked-arraybuffer"),v.overrideMimeType=v.fetch||!!g()&&u(g().overrideMimeType),v.vbArray=u(h.VBArray),p=null}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],198:[function(n,O,v){(function(h,g,i){"use strict";function u(S,m){return a.fetch&&m?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&S?"arraybuffer":a.vbArray&&S?"text:vbarray":"text"}function p(S){try{var m=S.status;return m!==null&&m!==0}catch(_){return!1}}var c=n("babel-runtime/core-js/object/keys"),e=function(S){return S&&S.__esModule?S:{default:S}}(c),a=n("./capability"),r=n("inherits"),s=n("./response"),d=n("readable-stream"),l=n("to-arraybuffer"),w=s.IncomingMessage,x=s.readyStates,f=O.exports=function(S){var m=this;d.Writable.call(m),m._opts=S,m._body=[],m._headers={},S.auth&&m.setHeader("Authorization","Basic "+new i(S.auth).toString("base64")),(0,e.default)(S.headers).forEach(function(k){m.setHeader(k,S.headers[k])});var _,P=!0;if(S.mode==="disable-fetch"||"requestTimeout"in S&&!a.abortController)P=!1,_=!0;else if(S.mode==="prefer-streaming")_=!1;else if(S.mode==="allow-wrong-content-type")_=!a.overrideMimeType;else{if(S.mode&&S.mode!=="default"&&S.mode!=="prefer-fast")throw new Error("Invalid value for opts.mode");_=!0}m._mode=u(_,P),m._fetchTimer=null,m.on("finish",function(){m._onFinish()})};r(f,d.Writable),f.prototype.setHeader=function(S,m){var _=this,P=S.toLowerCase();A.indexOf(P)===-1&&(_._headers[P]={name:S,value:m})},f.prototype.getHeader=function(S){var m=this._headers[S.toLowerCase()];return m?m.value:null},f.prototype.removeHeader=function(S){delete this._headers[S.toLowerCase()]},f.prototype._onFinish=function(){var S=this;if(!S._destroyed){var m=S._opts,_=S._headers,P=null;m.method!=="GET"&&m.method!=="HEAD"&&(P=a.arraybuffer?l(i.concat(S._body)):a.blobConstructor?new g.Blob(S._body.map(function(F){return l(F)}),{type:(_["content-type"]||{}).value||""}):i.concat(S._body).toString());var k=[];if((0,e.default)(_).forEach(function(F){var I=_[F].name,B=_[F].value;Array.isArray(B)?B.forEach(function(G){k.push([I,G])}):k.push([I,B])}),S._mode==="fetch"){var b=null;if(a.abortController){var L=new AbortController;b=L.signal,S._fetchAbortController=L,"requestTimeout"in m&&m.requestTimeout!==0&&(S._fetchTimer=g.setTimeout(function(){S.emit("requestTimeout"),S._fetchAbortController&&S._fetchAbortController.abort()},m.requestTimeout))}g.fetch(S._opts.url,{method:S._opts.method,headers:k,body:P||void 0,mode:"cors",credentials:m.withCredentials?"include":"same-origin",signal:b}).then(function(F){S._fetchResponse=F,S._connect()},function(F){g.clearTimeout(S._fetchTimer),S._destroyed||S.emit("error",F)})}else{var D=S._xhr=new g.XMLHttpRequest;try{D.open(S._opts.method,S._opts.url,!0)}catch(F){return void h.nextTick(function(){S.emit("error",F)})}"responseType"in D&&(D.responseType=S._mode.split(":")[0]),"withCredentials"in D&&(D.withCredentials=!!m.withCredentials),S._mode==="text"&&"overrideMimeType"in D&&D.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in m&&(D.timeout=m.requestTimeout,D.ontimeout=function(){S.emit("requestTimeout")}),k.forEach(function(F){D.setRequestHeader(F[0],F[1])}),S._response=null,D.onreadystatechange=function(){switch(D.readyState){case x.LOADING:case x.DONE:S._onXHRProgress()}},S._mode==="moz-chunked-arraybuffer"&&(D.onprogress=function(){S._onXHRProgress()}),D.onerror=function(){S._destroyed||S.emit("error",new Error("XHR error"))};try{D.send(P)}catch(F){return void h.nextTick(function(){S.emit("error",F)})}}}},f.prototype._onXHRProgress=function(){var S=this;p(S._xhr)&&!S._destroyed&&(S._response||S._connect(),S._response._onXHRProgress())},f.prototype._connect=function(){var S=this;S._destroyed||(S._response=new w(S._xhr,S._fetchResponse,S._mode,S._fetchTimer),S._response.on("error",function(m){S.emit("error",m)}),S.emit("response",S._response))},f.prototype._write=function(S,m,_){this._body.push(S),_()},f.prototype.abort=f.prototype.destroy=function(){var S=this;S._destroyed=!0,g.clearTimeout(S._fetchTimer),S._response&&(S._response._destroyed=!0),S._xhr?S._xhr.abort():S._fetchAbortController&&S._fetchAbortController.abort()},f.prototype.end=function(S,m,_){var P=this;typeof S=="function"&&(_=S,S=void 0),d.Writable.prototype.end.call(P,S,m,_)},f.prototype.flushHeaders=function(){},f.prototype.setTimeout=function(){},f.prototype.setNoDelay=function(){},f.prototype.setSocketKeepAlive=function(){};var A=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,n("_process"),typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{},n("buffer").Buffer)},{"./capability":197,"./response":199,_process:173,"babel-runtime/core-js/object/keys":23,buffer:38,inherits:162,"readable-stream":188,"to-arraybuffer":202}],199:[function(n,O,v){(function(h,g,i){"use strict";var u=n("babel-runtime/core-js/promise"),p=function(d){return d&&d.__esModule?d:{default:d}}(u),c=n("./capability"),e=n("inherits"),a=n("readable-stream"),r=v.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},s=v.IncomingMessage=function(d,l,w,x){var f=this;if(a.Readable.call(f),f._mode=w,f.headers={},f.rawHeaders=[],f.trailers={},f.rawTrailers=[],f.on("end",function(){h.nextTick(function(){f.emit("close")})}),w==="fetch"){if(f._fetchResponse=l,f.url=l.url,f.statusCode=l.status,f.statusMessage=l.statusText,l.headers.forEach(function(P,k){f.headers[k.toLowerCase()]=P,f.rawHeaders.push(k,P)}),c.writableStream){var A=new WritableStream({write:function(k){return new p.default(function(b,L){f._destroyed?L():f.push(new i(k))?b():f._resumeFetch=b})},close:function(){g.clearTimeout(x),f._destroyed||f.push(null)},abort:function(k){f._destroyed||f.emit("error",k)}});try{return void l.body.pipeTo(A).catch(function(P){g.clearTimeout(x),f._destroyed||f.emit("error",P)})}catch(P){}}var S=l.body.getReader();!function P(){S.read().then(function(k){if(!f._destroyed){if(k.done)return g.clearTimeout(x),void f.push(null);f.push(new i(k.value)),P()}}).catch(function(k){g.clearTimeout(x),f._destroyed||f.emit("error",k)})}()}else if(f._xhr=d,f._pos=0,f.url=d.responseURL,f.statusCode=d.status,f.statusMessage=d.statusText,d.getAllResponseHeaders().split(/\r?\n/).forEach(function(P){var k=P.match(/^([^:]+):\s*(.*)/);if(k){var b=k[1].toLowerCase();b==="set-cookie"?(f.headers[b]===void 0&&(f.headers[b]=[]),f.headers[b].push(k[2])):f.headers[b]!==void 0?f.headers[b]+=", "+k[2]:f.headers[b]=k[2],f.rawHeaders.push(k[1],k[2])}}),f._charset="x-user-defined",!c.overrideMimeType){var m=f.rawHeaders["mime-type"];if(m){var _=m.match(/;\s*charset=([^;])(;|$)/);_&&(f._charset=_[1].toLowerCase())}f._charset||(f._charset="utf-8")}};e(s,a.Readable),s.prototype._read=function(){var d=this,l=d._resumeFetch;l&&(d._resumeFetch=null,l())},s.prototype._onXHRProgress=function(){var d=this,l=d._xhr,w=null;switch(d._mode){case"text:vbarray":if(l.readyState!==r.DONE)break;try{w=new g.VBArray(l.responseBody).toArray()}catch(m){}if(w!==null){d.push(new i(w));break}case"text":try{w=l.responseText}catch(m){d._mode="text:vbarray";break}if(w.length>d._pos){var x=w.substr(d._pos);if(d._charset==="x-user-defined"){for(var f=new i(x.length),A=0;A<x.length;A++)f[A]=255&x.charCodeAt(A);d.push(f)}else d.push(x,d._charset);d._pos=w.length}break;case"arraybuffer":if(l.readyState!==r.DONE||!l.response)break;w=l.response,d.push(new i(new Uint8Array(w)));break;case"moz-chunked-arraybuffer":if(w=l.response,l.readyState!==r.LOADING||!w)break;d.push(new i(new Uint8Array(w)));break;case"ms-stream":if(w=l.response,l.readyState!==r.LOADING)break;var S=new g.MSStreamReader;S.onprogress=function(){S.result.byteLength>d._pos&&(d.push(new i(new Uint8Array(S.result.slice(d._pos)))),d._pos=S.result.byteLength)},S.onload=function(){d.push(null)},S.readAsArrayBuffer(w)}d._xhr.readyState===r.DONE&&d._mode!=="ms-stream"&&d.push(null)}}).call(this,n("_process"),typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{},n("buffer").Buffer)},{"./capability":197,_process:173,"babel-runtime/core-js/promise":24,buffer:38,inherits:162,"readable-stream":188}],200:[function(n,O,v){"use strict";function h(m){if(!m)return"utf8";for(var _;;)switch(m){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return m;default:if(_)return;m=(""+m).toLowerCase(),_=!0}}function g(m){var _=h(m);if(typeof _!="string"&&(A.isEncoding===S||!S(m)))throw new Error("Unknown encoding: "+m);return _||m}function i(m){this.encoding=g(m);var _;switch(this.encoding){case"utf16le":this.text=s,this.end=d,_=4;break;case"utf8":this.fillLast=e,_=4;break;case"base64":this.text=l,this.end=w,_=3;break;default:return this.write=x,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=A.allocUnsafe(_)}function u(m){return m<=127?0:m>>5==6?2:m>>4==14?3:m>>3==30?4:m>>6==2?-1:-2}function p(m,_,P){var k=_.length-1;if(k<P)return 0;var b=u(_[k]);return b>=0?(b>0&&(m.lastNeed=b-1),b):--k<P||b===-2?0:(b=u(_[k]))>=0?(b>0&&(m.lastNeed=b-2),b):--k<P||b===-2?0:(b=u(_[k]),b>=0?(b>0&&(b===2?b=0:m.lastNeed=b-3),b):0)}function c(m,_,P){if((192&_[0])!=128)return m.lastNeed=0,"\u951F\uFFFD";if(m.lastNeed>1&&_.length>1){if((192&_[1])!=128)return m.lastNeed=1,"\u951F\uFFFD";if(m.lastNeed>2&&_.length>2&&(192&_[2])!=128)return m.lastNeed=2,"\u951F\uFFFD"}}function e(m){var _=this.lastTotal-this.lastNeed,P=c(this,m,_);return P!==void 0?P:this.lastNeed<=m.length?(m.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(m.copy(this.lastChar,_,0,m.length),void(this.lastNeed-=m.length))}function a(m,_){var P=p(this,m,_);if(!this.lastNeed)return m.toString("utf8",_);this.lastTotal=P;var k=m.length-(P-this.lastNeed);return m.copy(this.lastChar,0,k),m.toString("utf8",_,k)}function r(m){var _=m&&m.length?this.write(m):"";return this.lastNeed?_+"\u951F\uFFFD":_}function s(m,_){if((m.length-_)%2==0){var P=m.toString("utf16le",_);if(P){var k=P.charCodeAt(P.length-1);if(k>=55296&&k<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=m[m.length-2],this.lastChar[1]=m[m.length-1],P.slice(0,-1)}return P}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=m[m.length-1],m.toString("utf16le",_,m.length-1)}function d(m){var _=m&&m.length?this.write(m):"";if(this.lastNeed){var P=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,P)}return _}function l(m,_){var P=(m.length-_)%3;return P===0?m.toString("base64",_):(this.lastNeed=3-P,this.lastTotal=3,P===1?this.lastChar[0]=m[m.length-1]:(this.lastChar[0]=m[m.length-2],this.lastChar[1]=m[m.length-1]),m.toString("base64",_,m.length-P))}function w(m){var _=m&&m.length?this.write(m):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function x(m){return m.toString(this.encoding)}function f(m){return m&&m.length?this.write(m):""}var A=n("safe-buffer").Buffer,S=A.isEncoding||function(m){switch((m=""+m)&&m.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};v.StringDecoder=i,i.prototype.write=function(m){if(m.length===0)return"";var _,P;if(this.lastNeed){if((_=this.fillLast(m))===void 0)return"";P=this.lastNeed,this.lastNeed=0}else P=0;return P<m.length?_?_+this.text(m,P):this.text(m,P):_||""},i.prototype.end=r,i.prototype.text=a,i.prototype.fillLast=function(m){if(this.lastNeed<=m.length)return m.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);m.copy(this.lastChar,this.lastTotal-this.lastNeed,0,m.length),this.lastNeed-=m.length}},{"safe-buffer":193}],201:[function(n,O,v){(function(h,g){function i(r,s){this._id=r,this._clearFn=s}var u=n("process/browser.js").nextTick,p=Function.prototype.apply,c=Array.prototype.slice,e={},a=0;v.setTimeout=function(){return new i(p.call(setTimeout,window,arguments),clearTimeout)},v.setInterval=function(){return new i(p.call(setInterval,window,arguments),clearInterval)},v.clearTimeout=v.clearInterval=function(r){r.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},v.enroll=function(r,s){clearTimeout(r._idleTimeoutId),r._idleTimeout=s},v.unenroll=function(r){clearTimeout(r._idleTimeoutId),r._idleTimeout=-1},v._unrefActive=v.active=function(r){clearTimeout(r._idleTimeoutId);var s=r._idleTimeout;s>=0&&(r._idleTimeoutId=setTimeout(function(){r._onTimeout&&r._onTimeout()},s))},v.setImmediate=typeof h=="function"?h:function(r){var s=a++,d=!(arguments.length<2)&&c.call(arguments,1);return e[s]=!0,u(function(){e[s]&&(d?r.apply(null,d):r.call(null),v.clearImmediate(s))}),s},v.clearImmediate=typeof g=="function"?g:function(r){delete e[r]}}).call(this,n("timers").setImmediate,n("timers").clearImmediate)},{"process/browser.js":173,timers:201}],202:[function(n,O,v){var h=n("buffer").Buffer;O.exports=function(g){if(g instanceof Uint8Array){if(g.byteOffset===0&&g.byteLength===g.buffer.byteLength)return g.buffer;if(typeof g.buffer.slice=="function")return g.buffer.slice(g.byteOffset,g.byteOffset+g.byteLength)}if(h.isBuffer(g)){for(var i=new Uint8Array(g.length),u=g.length,p=0;p<u;p++)i[p]=g[p];return i.buffer}throw new Error("Argument must be a Buffer")}},{buffer:38}],203:[function(n,O,v){"use strict";function h(){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}function g(b,L,D){if(b&&e.isObject(b)&&b instanceof h)return b;var F=new h;return F.parse(b,L,D),F}function i(b){return e.isString(b)&&(b=g(b)),b instanceof h?b.format():h.prototype.format.call(b)}function u(b,L){return g(b,!1,!0).resolve(L)}function p(b,L){return b?g(b,!1,!0).resolveObject(L):L}var c=n("punycode"),e=n("./util");v.parse=g,v.resolve=u,v.resolveObject=p,v.format=i,v.Url=h;var a=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],l=["{","}","|","\\","^","`"].concat(d),w=["'"].concat(l),x=["%","/","?",";","#"].concat(w),f=["/","?","#"],A=/^[+a-z0-9A-Z_-]{0,63}$/,S=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},_={javascript:!0,"javascript:":!0},P={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n("querystring");h.prototype.parse=function(b,L,D){if(!e.isString(b))throw new TypeError("Parameter 'url' must be a string, not "+typeof b);var F=b.indexOf("?"),I=F!==-1&&F<b.indexOf("#")?"?":"#",B=b.split(I),G=/\\/g;B[0]=B[0].replace(G,"/"),b=B.join(I);var q=b;if(q=q.trim(),!D&&b.split("#").length===1){var ie=s.exec(q);if(ie)return this.path=q,this.href=q,this.pathname=ie[1],ie[2]?(this.search=ie[2],this.query=L?k.parse(this.search.substr(1)):this.search.substr(1)):L&&(this.search="",this.query={}),this}var z=a.exec(q);if(z){z=z[0];var oe=z.toLowerCase();this.protocol=oe,q=q.substr(z.length)}if(D||z||q.match(/^\/\/[^@\/]+@[^@\/]+/)){var Z=q.substr(0,2)==="//";!Z||z&&_[z]||(q=q.substr(2),this.slashes=!0)}if(!_[z]&&(Z||z&&!P[z])){for(var H=-1,R=0;R<f.length;R++){var j=q.indexOf(f[R]);j!==-1&&(H===-1||j<H)&&(H=j)}var N,M;M=H===-1?q.lastIndexOf("@"):q.lastIndexOf("@",H),M!==-1&&(N=q.slice(0,M),q=q.slice(M+1),this.auth=decodeURIComponent(N)),H=-1;for(var R=0;R<x.length;R++){var j=q.indexOf(x[R]);j!==-1&&(H===-1||j<H)&&(H=j)}H===-1&&(H=q.length),this.host=q.slice(0,H),q=q.slice(H),this.parseHost(),this.hostname=this.hostname||"";var K=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!K)for(var J=this.hostname.split(/\./),R=0,pe=J.length;R<pe;R++){var ae=J[R];if(ae&&!ae.match(A)){for(var he="",ve=0,te=ae.length;ve<te;ve++)ae.charCodeAt(ve)>127?he+="x":he+=ae[ve];if(!he.match(A)){var ee=J.slice(0,R),ce=J.slice(R+1),W=ae.match(S);W&&(ee.push(W[1]),ce.unshift(W[2])),ce.length&&(q="/"+ce.join(".")+q),this.hostname=ee.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),K||(this.hostname=c.toASCII(this.hostname));var X=this.port?":"+this.port:"",ue=this.hostname||"";this.host=ue+X,this.href+=this.host,K&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),q[0]!=="/"&&(q="/"+q))}if(!m[oe])for(var R=0,pe=w.length;R<pe;R++){var $=w[R];if(q.indexOf($)!==-1){var se=encodeURIComponent($);se===$&&(se=escape($)),q=q.split($).join(se)}}var T=q.indexOf("#");T!==-1&&(this.hash=q.substr(T),q=q.slice(0,T));var t=q.indexOf("?");if(t!==-1?(this.search=q.substr(t),this.query=q.substr(t+1),L&&(this.query=k.parse(this.query)),q=q.slice(0,t)):L&&(this.search="",this.query={}),q&&(this.pathname=q),P[oe]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var X=this.pathname||"",o=this.search||"";this.path=X+o}return this.href=this.format(),this},h.prototype.format=function(){var b=this.auth||"";b&&(b=encodeURIComponent(b),b=b.replace(/%3A/i,":"),b+="@");var L=this.protocol||"",D=this.pathname||"",F=this.hash||"",I=!1,B="";this.host?I=b+this.host:this.hostname&&(I=b+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(I+=":"+this.port)),this.query&&e.isObject(this.query)&&Object.keys(this.query).length&&(B=k.stringify(this.query));var G=this.search||B&&"?"+B||"";return L&&L.substr(-1)!==":"&&(L+=":"),this.slashes||(!L||P[L])&&I!==!1?(I="//"+(I||""),D&&D.charAt(0)!=="/"&&(D="/"+D)):I||(I=""),F&&F.charAt(0)!=="#"&&(F="#"+F),G&&G.charAt(0)!=="?"&&(G="?"+G),D=D.replace(/[?#]/g,function(q){return encodeURIComponent(q)}),G=G.replace("#","%23"),L+I+D+G+F},h.prototype.resolve=function(b){return this.resolveObject(g(b,!1,!0)).format()},h.prototype.resolveObject=function(b){if(e.isString(b)){var L=new h;L.parse(b,!1,!0),b=L}for(var D=new h,F=Object.keys(this),I=0;I<F.length;I++){var B=F[I];D[B]=this[B]}if(D.hash=b.hash,b.href==="")return D.href=D.format(),D;if(b.slashes&&!b.protocol){for(var G=Object.keys(b),q=0;q<G.length;q++){var ie=G[q];ie!=="protocol"&&(D[ie]=b[ie])}return P[D.protocol]&&D.hostname&&!D.pathname&&(D.path=D.pathname="/"),D.href=D.format(),D}if(b.protocol&&b.protocol!==D.protocol){if(!P[b.protocol]){for(var z=Object.keys(b),oe=0;oe<z.length;oe++){var Z=z[oe];D[Z]=b[Z]}return D.href=D.format(),D}if(D.protocol=b.protocol,b.host||_[b.protocol])D.pathname=b.pathname;else{for(var pe=(b.pathname||"").split("/");pe.length&&!(b.host=pe.shift()););b.host||(b.host=""),b.hostname||(b.hostname=""),pe[0]!==""&&pe.unshift(""),pe.length<2&&pe.unshift(""),D.pathname=pe.join("/")}if(D.search=b.search,D.query=b.query,D.host=b.host||"",D.auth=b.auth,D.hostname=b.hostname||b.host,D.port=b.port,D.pathname||D.search){var H=D.pathname||"",R=D.search||"";D.path=H+R}return D.slashes=D.slashes||b.slashes,D.href=D.format(),D}var j=D.pathname&&D.pathname.charAt(0)==="/",N=b.host||b.pathname&&b.pathname.charAt(0)==="/",M=N||j||D.host&&b.pathname,K=M,J=D.pathname&&D.pathname.split("/")||[],pe=b.pathname&&b.pathname.split("/")||[],ae=D.protocol&&!P[D.protocol];if(ae&&(D.hostname="",D.port=null,D.host&&(J[0]===""?J[0]=D.host:J.unshift(D.host)),D.host="",b.protocol&&(b.hostname=null,b.port=null,b.host&&(pe[0]===""?pe[0]=b.host:pe.unshift(b.host)),b.host=null),M=M&&(pe[0]===""||J[0]==="")),N)D.host=b.host||b.host===""?b.host:D.host,D.hostname=b.hostname||b.hostname===""?b.hostname:D.hostname,D.search=b.search,D.query=b.query,J=pe;else if(pe.length)J||(J=[]),J.pop(),J=J.concat(pe),D.search=b.search,D.query=b.query;else if(!e.isNullOrUndefined(b.search)){if(ae){D.hostname=D.host=J.shift();var he=!!(D.host&&D.host.indexOf("@")>0)&&D.host.split("@");he&&(D.auth=he.shift(),D.host=D.hostname=he.shift())}return D.search=b.search,D.query=b.query,e.isNull(D.pathname)&&e.isNull(D.search)||(D.path=(D.pathname?D.pathname:"")+(D.search?D.search:"")),D.href=D.format(),D}if(!J.length)return D.pathname=null,D.search?D.path="/"+D.search:D.path=null,D.href=D.format(),D;for(var ve=J.slice(-1)[0],te=(D.host||b.host||J.length>1)&&(ve==="."||ve==="..")||ve==="",ee=0,ce=J.length;ce>=0;ce--)ve=J[ce],ve==="."?J.splice(ce,1):ve===".."?(J.splice(ce,1),ee++):ee&&(J.splice(ce,1),ee--);if(!M&&!K)for(;ee--;ee)J.unshift("..");!M||J[0]===""||J[0]&&J[0].charAt(0)==="/"||J.unshift(""),te&&J.join("/").substr(-1)!=="/"&&J.push("");var W=J[0]===""||J[0]&&J[0].charAt(0)==="/";if(ae){D.hostname=D.host=W?"":J.length?J.shift():"";var he=!!(D.host&&D.host.indexOf("@")>0)&&D.host.split("@");he&&(D.auth=he.shift(),D.host=D.hostname=he.shift())}return M=M||D.host&&J.length,M&&!W&&J.unshift(""),J.length?D.pathname=J.join("/"):(D.pathname=null,D.path=null),e.isNull(D.pathname)&&e.isNull(D.search)||(D.path=(D.pathname?D.pathname:"")+(D.search?D.search:"")),D.auth=b.auth||D.auth,D.slashes=D.slashes||b.slashes,D.href=D.format(),D},h.prototype.parseHost=function(){var b=this.host,L=r.exec(b);L&&(L=L[0],L!==":"&&(this.port=L.substr(1)),b=b.substr(0,b.length-L.length)),b&&(this.hostname=b)}},{"./util":204,punycode:174,querystring:177}],204:[function(n,O,v){"use strict";O.exports={isString:function(g){return typeof g=="string"},isObject:function(g){return typeof g=="object"&&g!==null},isNull:function(g){return g===null},isNullOrUndefined:function(g){return g==null}}},{}],205:[function(n,O,v){(function(h){function g(u,p){function c(){if(!e){if(i("throwDeprecation"))throw new Error(p);i("traceDeprecation")?console.trace(p):console.warn(p),e=!0}return u.apply(this,arguments)}if(i("noDeprecation"))return u;var e=!1;return c}function i(u){try{if(!h.localStorage)return!1}catch(c){return!1}var p=h.localStorage[u];return p!=null&&String(p).toLowerCase()==="true"}O.exports=g}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],206:[function(n,O,v){O.exports=function(h){return h&&typeof h=="object"&&typeof h.copy=="function"&&typeof h.fill=="function"&&typeof h.readUInt8=="function"}},{}],207:[function(n,O,v){(function(h,g){function i(R,j){var N={seen:[],stylize:p};return arguments.length>=3&&(N.depth=arguments[2]),arguments.length>=4&&(N.colors=arguments[3]),x(j)?N.showHidden=j:j&&v._extend(N,j),P(N.showHidden)&&(N.showHidden=!1),P(N.depth)&&(N.depth=2),P(N.colors)&&(N.colors=!1),P(N.customInspect)&&(N.customInspect=!0),N.colors&&(N.stylize=u),e(N,R,N.depth)}function u(R,j){var N=i.styles[j];return N?"["+i.colors[N][0]+"m"+R+"["+i.colors[N][1]+"m":R}function p(R,j){return R}function c(R){var j={};return R.forEach(function(N,M){j[N]=!0}),j}function e(R,j,N){if(R.customInspect&&j&&F(j.inspect)&&j.inspect!==v.inspect&&(!j.constructor||j.constructor.prototype!==j)){var M=j.inspect(N,R);return m(M)||(M=e(R,M,N)),M}var K=a(R,j);if(K)return K;var J=Object.keys(j),pe=c(J);if(R.showHidden&&(J=Object.getOwnPropertyNames(j)),D(j)&&(J.indexOf("message")>=0||J.indexOf("description")>=0))return r(j);if(J.length===0){if(F(j)){var ae=j.name?": "+j.name:"";return R.stylize("[Function"+ae+"]","special")}if(k(j))return R.stylize(RegExp.prototype.toString.call(j),"regexp");if(L(j))return R.stylize(Date.prototype.toString.call(j),"date");if(D(j))return r(j)}var he="",ve=!1,te=["{","}"];if((w(j)&&(ve=!0,te=["[","]"]),F(j))&&(he=" [Function"+(j.name?": "+j.name:"")+"]"),k(j)&&(he=" "+RegExp.prototype.toString.call(j)),L(j)&&(he=" "+Date.prototype.toUTCString.call(j)),D(j)&&(he=" "+r(j)),J.length===0&&(!ve||j.length==0))return te[0]+he+te[1];if(N<0)return k(j)?R.stylize(RegExp.prototype.toString.call(j),"regexp"):R.stylize("[Object]","special");R.seen.push(j);var ee;return ee=ve?s(R,j,N,pe,J):J.map(function(ce){return d(R,j,N,pe,ce,ve)}),R.seen.pop(),l(ee,he,te)}function a(R,j){if(P(j))return R.stylize("undefined","undefined");if(m(j)){var N="'"+JSON.stringify(j).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return R.stylize(N,"string")}return S(j)?R.stylize(""+j,"number"):x(j)?R.stylize(""+j,"boolean"):f(j)?R.stylize("null","null"):void 0}function r(R){return"["+Error.prototype.toString.call(R)+"]"}function s(R,j,N,M,K){for(var J=[],pe=0,ae=j.length;pe<ae;++pe)ie(j,String(pe))?J.push(d(R,j,N,M,String(pe),!0)):J.push("");return K.forEach(function(he){he.match(/^\d+$/)||J.push(d(R,j,N,M,he,!0))}),J}function d(R,j,N,M,K,J){var pe,ae,he;if(he=Object.getOwnPropertyDescriptor(j,K)||{value:j[K]},he.get?ae=he.set?R.stylize("[Getter/Setter]","special"):R.stylize("[Getter]","special"):he.set&&(ae=R.stylize("[Setter]","special")),ie(M,K)||(pe="["+K+"]"),ae||(R.seen.indexOf(he.value)<0?(ae=f(N)?e(R,he.value,null):e(R,he.value,N-1),ae.indexOf(`
|
|
|
`)>-1&&(ae=J?ae.split(`
|
|
|
`).map(function(ve){return" "+ve}).join(`
|
|
|
`).substr(2):`
|
|
|
`+ae.split(`
|
|
|
`).map(function(ve){return" "+ve}).join(`
|
|
|
`))):ae=R.stylize("[Circular]","special")),P(pe)){if(J&&K.match(/^\d+$/))return ae;pe=JSON.stringify(""+K),pe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(pe=pe.substr(1,pe.length-2),pe=R.stylize(pe,"name")):(pe=pe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),pe=R.stylize(pe,"string"))}return pe+": "+ae}function l(R,j,N){var M=0;return R.reduce(function(K,J){return M++,J.indexOf(`
|
|
|
`)>=0&&M++,K+J.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?N[0]+(j===""?"":j+`
|
|
|
`)+" "+R.join(`,
|
|
|
`)+" "+N[1]:N[0]+j+" "+R.join(", ")+" "+N[1]}function w(R){return Array.isArray(R)}function x(R){return typeof R=="boolean"}function f(R){return R===null}function A(R){return R==null}function S(R){return typeof R=="number"}function m(R){return typeof R=="string"}function _(R){return typeof R=="symbol"}function P(R){return R===void 0}function k(R){return b(R)&&B(R)==="[object RegExp]"}function b(R){return typeof R=="object"&&R!==null}function L(R){return b(R)&&B(R)==="[object Date]"}function D(R){return b(R)&&(B(R)==="[object Error]"||R instanceof Error)}function F(R){return typeof R=="function"}function I(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||R===void 0}function B(R){return Object.prototype.toString.call(R)}function G(R){return R<10?"0"+R.toString(10):R.toString(10)}function q(){var R=new Date,j=[G(R.getHours()),G(R.getMinutes()),G(R.getSeconds())].join(":");return[R.getDate(),H[R.getMonth()],j].join(" ")}function ie(R,j){return Object.prototype.hasOwnProperty.call(R,j)}var z=/%[sdj%]/g;v.format=function(R){if(!m(R)){for(var j=[],N=0;N<arguments.length;N++)j.push(i(arguments[N]));return j.join(" ")}for(var N=1,M=arguments,K=M.length,J=String(R).replace(z,function(he){if(he==="%%")return"%";if(N>=K)return he;switch(he){case"%s":return String(M[N++]);case"%d":return Number(M[N++]);case"%j":try{return JSON.stringify(M[N++])}catch(ve){return"[Circular]"}default:return he}}),pe=M[N];N<K;pe=M[++N])f(pe)||!b(pe)?J+=" "+pe:J+=" "+i(pe);return J},v.deprecate=function(R,j){function N(){if(!M){if(h.throwDeprecation)throw new Error(j);h.traceDeprecation?console.trace(j):console.error(j),M=!0}return R.apply(this,arguments)}if(P(g.process))return function(){return v.deprecate(R,j).apply(this,arguments)};if(h.noDeprecation===!0)return R;var M=!1;return N};var oe,Z={};v.debuglog=function(R){if(P(oe)&&(oe=h.env.NODE_DEBUG||""),R=R.toUpperCase(),!Z[R])if(new RegExp("\\b"+R+"\\b","i").test(oe)){var j=h.pid;Z[R]=function(){var N=v.format.apply(v,arguments);console.error("%s %d: %s",R,j,N)}}else Z[R]=function(){};return Z[R]},v.inspect=i,i.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]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},v.isArray=w,v.isBoolean=x,v.isNull=f,v.isNullOrUndefined=A,v.isNumber=S,v.isString=m,v.isSymbol=_,v.isUndefined=P,v.isRegExp=k,v.isObject=b,v.isDate=L,v.isError=D,v.isFunction=F,v.isPrimitive=I,v.isBuffer=n("./support/isBuffer");var H=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];v.log=function(){console.log("%s - %s",q(),v.format.apply(v,arguments))},v.inherits=n("inherits"),v._extend=function(R,j){if(!j||!b(j))return R;for(var N=Object.keys(j),M=N.length;M--;)R[N[M]]=j[N[M]];return R}}).call(this,n("_process"),typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":206,_process:173,inherits:162}],208:[function(n,O,v){"use strict";(function(){v.stripBOM=function(h){return h[0]==="\uFEFF"?h.substring(1):h}}).call(void 0)},{}],209:[function(n,O,v){"use strict";function h(c){return c&&c.__esModule?c:{default:c}}var g=n("babel-runtime/helpers/typeof"),i=h(g),u=n("babel-runtime/core-js/object/keys"),p=h(u);(function(){var c,e,a,r,s,d={}.hasOwnProperty;c=n("xmlbuilder"),e=n("./defaults").defaults,r=function(w){return typeof w=="string"&&(w.indexOf("&")>=0||w.indexOf(">")>=0||w.indexOf("<")>=0)},s=function(w){return"<![CDATA["+a(w)+"]]>"},a=function(w){return w.replace("]]>","]]]]><![CDATA[>")},v.Builder=function(){function l(w){var x,f,A;this.options={},f=e[.2];for(x in f)d.call(f,x)&&(A=f[x],this.options[x]=A);for(x in w)d.call(w,x)&&(A=w[x],this.options[x]=A)}return l.prototype.buildObject=function(w){var x,f,A,S,m;return x=this.options.attrkey,f=this.options.charkey,(0,p.default)(w).length===1&&this.options.rootName===e[.2].rootName?(m=(0,p.default)(w)[0],w=w[m]):m=this.options.rootName,A=function(_){return function(P,k){var b,L,D,F,I,B;if((k===void 0?"undefined":(0,i.default)(k))!=="object")_.options.cdata&&r(k)?P.raw(s(k)):P.txt(k);else if(Array.isArray(k)){for(F in k)if(d.call(k,F)){L=k[F];for(I in L)D=L[I],P=A(P.ele(I),D).up()}}else for(I in k)if(d.call(k,I))if(L=k[I],I===x){if((L===void 0?"undefined":(0,i.default)(L))==="object")for(b in L)B=L[b],P=P.att(b,B)}else if(I===f)P=_.options.cdata&&r(L)?P.raw(s(L)):P.txt(L);else if(Array.isArray(L))for(F in L)d.call(L,F)&&(D=L[F],P=typeof D=="string"?_.options.cdata&&r(D)?P.ele(I).raw(s(D)).up():P.ele(I,D).up():A(P.ele(I),D).up());else(L===void 0?"undefined":(0,i.default)(L))==="object"?P=A(P.ele(I),L).up():typeof L=="string"&&_.options.cdata&&r(L)?P=P.ele(I).raw(s(L)).up():(L==null&&(L=""),P=P.ele(I,L.toString()).up());return P}}(this),S=c.create(m,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),A(S,w).end(this.options.renderOpts)},l}()}).call(void 0)},{"./defaults":210,"babel-runtime/core-js/object/keys":23,"babel-runtime/helpers/typeof":32,xmlbuilder:235}],210:[function(n,O,v){"use strict";(function(){v.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
|
|
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],211:[function(n,O,v){"use strict";function h(a){return a&&a.__esModule?a:{default:a}}var g=n("babel-runtime/core-js/object/get-own-property-names"),i=h(g),u=n("babel-runtime/core-js/object/keys"),p=h(u),c=n("babel-runtime/helpers/typeof"),e=h(c);(function(){var a,r,s,d,l,w,x,f,A=function(P,k){return function(){return P.apply(k,arguments)}},S=function(P,k){function b(){this.constructor=P}for(var L in k)m.call(k,L)&&(P[L]=k[L]);return b.prototype=k.prototype,P.prototype=new b,P.__super__=k.prototype,P},m={}.hasOwnProperty;x=n("sax"),s=n("events"),a=n("./bom"),w=n("./processors"),f=n("timers").setImmediate,r=n("./defaults").defaults,d=function(P){return(P===void 0?"undefined":(0,e.default)(P))==="object"&&P!=null&&(0,p.default)(P).length===0},l=function(P,k,b){var L,D,F;for(L=0,D=P.length;L<D;L++)F=P[L],k=F(k,b);return k},v.Parser=function(_){function P(k){this.parseString=A(this.parseString,this),this.reset=A(this.reset,this),this.assignOrPush=A(this.assignOrPush,this),this.processAsync=A(this.processAsync,this);var b,L,D;if(!(this instanceof v.Parser))return new v.Parser(k);this.options={},L=r[.2];for(b in L)m.call(L,b)&&(D=L[b],this.options[b]=D);for(b in k)m.call(k,b)&&(D=k[b],this.options[b]=D);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(w.normalize)),this.reset()}return S(P,_),P.prototype.processAsync=function(){var k,b;try{return this.remaining.length<=this.options.chunkSize?(k=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(k),this.saxParser.close()):(k=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(k),f(this.processAsync))}catch(L){if(b=L,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(b)}},P.prototype.assignOrPush=function(k,b,L){return b in k?(k[b]instanceof Array||(k[b]=[k[b]]),k[b].push(L)):this.options.explicitArray?k[b]=[L]:k[b]=L},P.prototype.reset=function(){var k,b,L,D;return this.removeAllListeners(),this.saxParser=x.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(F){return function(I){if(F.saxParser.resume(),!F.saxParser.errThrown)return F.saxParser.errThrown=!0,F.emit("error",I)}}(this),this.saxParser.onend=function(F){return function(){if(!F.saxParser.ended)return F.saxParser.ended=!0,F.emit("end",F.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,D=[],k=this.options.attrkey,b=this.options.charkey,this.saxParser.onopentag=function(F){return function(I){var B,G,q,ie,z;if(q={},q[b]="",!F.options.ignoreAttrs){z=I.attributes;for(B in z)m.call(z,B)&&(k in q||F.options.mergeAttrs||(q[k]={}),G=F.options.attrValueProcessors?l(F.options.attrValueProcessors,I.attributes[B],B):I.attributes[B],ie=F.options.attrNameProcessors?l(F.options.attrNameProcessors,B):B,F.options.mergeAttrs?F.assignOrPush(q,ie,G):q[k][ie]=G)}return q["#name"]=F.options.tagNameProcessors?l(F.options.tagNameProcessors,I.name):I.name,F.options.xmlns&&(q[F.options.xmlnskey]={uri:I.uri,local:I.local}),D.push(q)}}(this),this.saxParser.onclosetag=function(F){return function(){var I,B,G,q,ie,z,oe,Z,H,R;if(z=D.pop(),ie=z["#name"],F.options.explicitChildren&&F.options.preserveChildrenOrder||delete z["#name"],z.cdata===!0&&(I=z.cdata,delete z.cdata),H=D[D.length-1],z[b].match(/^\s*$/)&&!I?(B=z[b],delete z[b]):(F.options.trim&&(z[b]=z[b].trim()),F.options.normalize&&(z[b]=z[b].replace(/\s{2,}/g," ").trim()),z[b]=F.options.valueProcessors?l(F.options.valueProcessors,z[b],ie):z[b],(0,p.default)(z).length===1&&b in z&&!F.EXPLICIT_CHARKEY&&(z=z[b])),d(z)&&(z=F.options.emptyTag!==""?F.options.emptyTag:B),F.options.validator!=null&&(R="/"+function(){var j,N,M;for(M=[],j=0,N=D.length;j<N;j++)q=D[j],M.push(q["#name"]);return M}().concat(ie).join("/"),function(){var j;try{z=F.options.validator(R,H&&H[ie],z)}catch(N){return j=N,F.emit("error",j)}}()),F.options.explicitChildren&&!F.options.mergeAttrs&&(z===void 0?"undefined":(0,e.default)(z))==="object")if(F.options.preserveChildrenOrder){if(H){H[F.options.childkey]=H[F.options.childkey]||[],oe={};for(G in z)m.call(z,G)&&(oe[G]=z[G]);H[F.options.childkey].push(oe),delete z["#name"],(0,p.default)(z).length===1&&b in z&&!F.EXPLICIT_CHARKEY&&(z=z[b])}}else q={},F.options.attrkey in z&&(q[F.options.attrkey]=z[F.options.attrkey],delete z[F.options.attrkey]),!F.options.charsAsChildren&&F.options.charkey in z&&(q[F.options.charkey]=z[F.options.charkey],delete z[F.options.charkey]),(0,i.default)(z).length>0&&(q[F.options.childkey]=z),z=q;return D.length>0?F.assignOrPush(H,ie,z):(F.options.explicitRoot&&(Z=z,z={},z[ie]=Z),F.resultObject=z,F.saxParser.ended=!0,F.emit("end",F.resultObject))}}(this),L=function(F){return function(I){var B,G;if(G=D[D.length-1])return G[b]+=I,F.options.explicitChildren&&F.options.preserveChildrenOrder&&F.options.charsAsChildren&&(F.options.includeWhiteChars||I.replace(/\\n/g,"").trim()!=="")&&(G[F.options.childkey]=G[F.options.childkey]||[],B={"#name":"__text__"},B[b]=I,F.options.normalize&&(B[b]=B[b].replace(/\s{2,}/g," ").trim()),G[F.options.childkey].push(B)),G}}(this),this.saxParser.ontext=L,this.saxParser.oncdata=function(F){return function(I){var B;if(B=L(I))return B.cdata=!0}}()},P.prototype.parseString=function(k,b){var L;b!=null&&typeof b=="function"&&(this.on("end",function(D){return this.reset(),b(null,D)}),this.on("error",function(D){return this.reset(),b(D)}));try{return k=k.toString(),k.trim()===""?(this.emit("end",null),!0):(k=a.stripBOM(k),this.options.async?(this.remaining=k,f(this.processAsync),this.saxParser):this.saxParser.write(k).close())}catch(D){if(L=D,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",L),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw L}},P}(s.EventEmitter),v.parseString=function(_,P,k){var b,L,D;return k!=null?(typeof k=="function"&&(b=k),(P===void 0?"undefined":(0,e.default)(P))==="object"&&(L=P)):(typeof P=="function"&&(b=P),L={}),D=new v.Parser(L),D.parseString(_,b)}}).call(void 0)},{"./bom":208,"./defaults":210,"./processors":212,"babel-runtime/core-js/object/get-own-property-names":21,"babel-runtime/core-js/object/keys":23,"babel-runtime/helpers/typeof":32,events:158,sax:194,timers:201}],212:[function(n,O,v){"use strict";(function(){var h;h=new RegExp(/(?!xmlns)^.*:/),v.normalize=function(g){return g.toLowerCase()},v.firstCharLowerCase=function(g){return g.charAt(0).toLowerCase()+g.slice(1)},v.stripPrefix=function(g){return g.replace(h,"")},v.parseNumbers=function(g){return isNaN(g)||(g=g%1==0?parseInt(g,10):parseFloat(g)),g},v.parseBooleans=function(g){return/^(?:true|false)$/i.test(g)&&(g=g.toLowerCase()==="true"),g}}).call(void 0)},{}],213:[function(n,O,v){"use strict";(function(){var h,g,i,u,p=function(a,r){function s(){this.constructor=a}for(var d in r)c.call(r,d)&&(a[d]=r[d]);return s.prototype=r.prototype,a.prototype=new s,a.__super__=r.prototype,a},c={}.hasOwnProperty;g=n("./defaults"),h=n("./builder"),i=n("./parser"),u=n("./processors"),v.defaults=g.defaults,v.processors=u,v.ValidationError=function(e){function a(r){this.message=r}return p(a,e),a}(Error),v.Builder=h.Builder,v.Parser=i.Parser,v.parseString=i.parseString}).call(void 0)},{"./builder":209,"./defaults":210,"./parser":211,"./processors":212}],214:[function(n,O,v){"use strict";function h(a){return a&&a.__esModule?a:{default:a}}var g=n("babel-runtime/core-js/object/get-prototype-of"),i=h(g),u=n("babel-runtime/helpers/typeof"),p=h(u),c=n("babel-runtime/core-js/object/assign"),e=h(c);(function(){var a,r,s,d,l,w,x=[].slice,f={}.hasOwnProperty;a=function(){var S,m,_,P,k,b;if(b=arguments[0],k=2<=arguments.length?x.call(arguments,1):[],d(e.default))e.default.apply(null,arguments);else for(S=0,_=k.length;S<_;S++)if((P=k[S])!=null)for(m in P)f.call(P,m)&&(b[m]=P[m]);return b},d=function(S){return!!S&&Object.prototype.toString.call(S)==="[object Function]"},l=function(S){var m;return!!S&&((m=S===void 0?"undefined":(0,p.default)(S))==="function"||m==="object")},r=function(S){return d(Array.isArray)?Array.isArray(S):Object.prototype.toString.call(S)==="[object Array]"},s=function(S){var m;if(r(S))return!S.length;for(m in S)if(f.call(S,m))return!1;return!0},w=function(S){var m,_;return l(S)&&(_=(0,i.default)(S))&&(m=_.constructor)&&typeof m=="function"&&m instanceof m&&Function.prototype.toString.call(m)===Function.prototype.toString.call(Object)},O.exports.assign=a,O.exports.isFunction=d,O.exports.isObject=l,O.exports.isArray=r,O.exports.isEmpty=s,O.exports.isPlainObject=w}).call(void 0)},{"babel-runtime/core-js/object/assign":18,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/helpers/typeof":32}],215:[function(n,O,v){"use strict";var h=n("babel-runtime/core-js/object/create"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);(function(){O.exports=function(){function i(u,p,c){if(this.options=u.options,this.stringify=u.stringify,p==null)throw new Error("Missing attribute name of element "+u.name);if(c==null)throw new Error("Missing attribute value for attribute "+p+" of element "+u.name);this.name=this.stringify.attName(p),this.value=this.stringify.attValue(c)}return i.prototype.clone=function(){return(0,g.default)(this)},i.prototype.toString=function(u){return this.options.writer.set(u).attribute(this)},i}()}).call(void 0)},{"babel-runtime/core-js/object/create":19}],216:[function(n,O,v){"use strict";var h=n("babel-runtime/core-js/object/create"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);(function(){var i,u=function(e,a){function r(){this.constructor=e}for(var s in a)p.call(a,s)&&(e[s]=a[s]);return r.prototype=a.prototype,e.prototype=new r,e.__super__=a.prototype,e},p={}.hasOwnProperty;i=n("./XMLNode"),O.exports=function(c){function e(a,r){if(e.__super__.constructor.call(this,a),r==null)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(r)}return u(e,c),e.prototype.clone=function(){return(0,g.default)(this)},e.prototype.toString=function(a){return this.options.writer.set(a).cdata(this)},e}(i)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],217:[function(n,O,v){"use strict";var h=n("babel-runtime/core-js/object/create"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);(function(){var i,u=function(e,a){function r(){this.constructor=e}for(var s in a)p.call(a,s)&&(e[s]=a[s]);return r.prototype=a.prototype,e.prototype=new r,e.__super__=a.prototype,e},p={}.hasOwnProperty;i=n("./XMLNode"),O.exports=function(c){function e(a,r){if(e.__super__.constructor.call(this,a),r==null)throw new Error("Missing comment text");this.text=this.stringify.comment(r)}return u(e,c),e.prototype.clone=function(){return(0,g.default)(this)},e.prototype.toString=function(a){return this.options.writer.set(a).comment(this)},e}(i)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],218:[function(n,O,v){"use strict";(function(){var h,g=function(p,c){function e(){this.constructor=p}for(var a in c)i.call(c,a)&&(p[a]=c[a]);return e.prototype=c.prototype,p.prototype=new e,p.__super__=c.prototype,p},i={}.hasOwnProperty;h=n("./XMLNode"),O.exports=function(u){function p(c,e,a,r,s,d){if(p.__super__.constructor.call(this,c),e==null)throw new Error("Missing DTD element name");if(a==null)throw new Error("Missing DTD attribute name");if(!r)throw new Error("Missing DTD attribute type");if(!s)throw new Error("Missing DTD attribute default");if(s.indexOf("#")!==0&&(s="#"+s),!s.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");if(d&&!s.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(e),this.attributeName=this.stringify.attName(a),this.attributeType=this.stringify.dtdAttType(r),this.defaultValue=this.stringify.dtdAttDefault(d),this.defaultValueType=s}return g(p,u),p.prototype.toString=function(c){return this.options.writer.set(c).dtdAttList(this)},p}(h)}).call(void 0)},{"./XMLNode":227}],219:[function(n,O,v){"use strict";(function(){var h,g=function(p,c){function e(){this.constructor=p}for(var a in c)i.call(c,a)&&(p[a]=c[a]);return e.prototype=c.prototype,p.prototype=new e,p.__super__=c.prototype,p},i={}.hasOwnProperty;h=n("./XMLNode"),O.exports=function(u){function p(c,e,a){if(p.__super__.constructor.call(this,c),e==null)throw new Error("Missing DTD element name");a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.eleName(e),this.value=this.stringify.dtdElementValue(a)}return g(p,u),p.prototype.toString=function(c){return this.options.writer.set(c).dtdElement(this)},p}(h)}).call(void 0)},{"./XMLNode":227}],220:[function(n,O,v){"use strict";(function(){var h,g,i=function(c,e){function a(){this.constructor=c}for(var r in e)u.call(e,r)&&(c[r]=e[r]);return a.prototype=e.prototype,c.prototype=new a,c.__super__=e.prototype,c},u={}.hasOwnProperty;g=n("./Utility").isObject,h=n("./XMLNode"),O.exports=function(p){function c(e,a,r,s){if(c.__super__.constructor.call(this,e),r==null)throw new Error("Missing entity name");if(s==null)throw new Error("Missing entity value");if(this.pe=!!a,this.name=this.stringify.eleName(r),g(s)){if(!s.pubID&&!s.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(s.pubID&&!s.sysID)throw new Error("System identifier is required for a public external entity");if(s.pubID!=null&&(this.pubID=this.stringify.dtdPubID(s.pubID)),s.sysID!=null&&(this.sysID=this.stringify.dtdSysID(s.sysID)),s.nData!=null&&(this.nData=this.stringify.dtdNData(s.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity")}else this.value=this.stringify.dtdEntityValue(s)}return i(c,p),c.prototype.toString=function(e){return this.options.writer.set(e).dtdEntity(this)},c}(h)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],221:[function(n,O,v){"use strict";(function(){var h,g=function(p,c){function e(){this.constructor=p}for(var a in c)i.call(c,a)&&(p[a]=c[a]);return e.prototype=c.prototype,p.prototype=new e,p.__super__=c.prototype,p},i={}.hasOwnProperty;h=n("./XMLNode"),O.exports=function(u){function p(c,e,a){if(p.__super__.constructor.call(this,c),e==null)throw new Error("Missing notation name");if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(e),a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return g(p,u),p.prototype.toString=function(c){return this.options.writer.set(c).dtdNotation(this)},p}(h)}).call(void 0)},{"./XMLNode":227}],222:[function(n,O,v){"use strict";(function(){var h,g,i=function(c,e){function a(){this.constructor=c}for(var r in e)u.call(e,r)&&(c[r]=e[r]);return a.prototype=e.prototype,c.prototype=new a,c.__super__=e.prototype,c},u={}.hasOwnProperty;g=n("./Utility").isObject,h=n("./XMLNode"),O.exports=function(p){function c(e,a,r,s){var d;c.__super__.constructor.call(this,e),g(a)&&(d=a,a=d.version,r=d.encoding,s=d.standalone),a||(a="1.0"),this.version=this.stringify.xmlVersion(a),r!=null&&(this.encoding=this.stringify.xmlEncoding(r)),s!=null&&(this.standalone=this.stringify.xmlStandalone(s))}return i(c,p),c.prototype.toString=function(e){return this.options.writer.set(e).declaration(this)},c}(h)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],223:[function(n,O,v){"use strict";(function(){var h,g,i,u,p,c,e=function(s,d){function l(){this.constructor=s}for(var w in d)a.call(d,w)&&(s[w]=d[w]);return l.prototype=d.prototype,s.prototype=new l,s.__super__=d.prototype,s},a={}.hasOwnProperty;c=n("./Utility").isObject,p=n("./XMLNode"),h=n("./XMLDTDAttList"),i=n("./XMLDTDEntity"),g=n("./XMLDTDElement"),u=n("./XMLDTDNotation"),O.exports=function(r){function s(d,l,w){var x,f;s.__super__.constructor.call(this,d),this.documentObject=d,c(l)&&(x=l,l=x.pubID,w=x.sysID),w==null&&(f=[l,w],w=f[0],l=f[1]),l!=null&&(this.pubID=this.stringify.dtdPubID(l)),w!=null&&(this.sysID=this.stringify.dtdSysID(w))}return e(s,r),s.prototype.element=function(d,l){var w;return w=new g(this,d,l),this.children.push(w),this},s.prototype.attList=function(d,l,w,x,f){var A;return A=new h(this,d,l,w,x,f),this.children.push(A),this},s.prototype.entity=function(d,l){var w;return w=new i(this,!1,d,l),this.children.push(w),this},s.prototype.pEntity=function(d,l){var w;return w=new i(this,!0,d,l),this.children.push(w),this},s.prototype.notation=function(d,l){var w;return w=new u(this,d,l),this.children.push(w),this},s.prototype.toString=function(d){return this.options.writer.set(d).docType(this)},s.prototype.ele=function(d,l){return this.element(d,l)},s.prototype.att=function(d,l,w,x,f){return this.attList(d,l,w,x,f)},s.prototype.ent=function(d,l){return this.entity(d,l)},s.prototype.pent=function(d,l){return this.pEntity(d,l)},s.prototype.not=function(d,l){return this.notation(d,l)},s.prototype.up=function(){return this.root()||this.documentObject},s}(p)}).call(void 0)},{"./Utility":214,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLNode":227}],224:[function(n,O,v){"use strict";(function(){var h,g,i,u,p=function(a,r){function s(){this.constructor=a}for(var d in r)c.call(r,d)&&(a[d]=r[d]);return s.prototype=r.prototype,a.prototype=new s,a.__super__=r.prototype,a},c={}.hasOwnProperty;u=n("./Utility").isPlainObject,h=n("./XMLNode"),i=n("./XMLStringifier"),g=n("./XMLStringWriter"),O.exports=function(e){function a(r){a.__super__.constructor.call(this,null),r||(r={}),r.writer||(r.writer=new g),this.options=r,this.stringify=new i(r),this.isDocument=!0}return p(a,e),a.prototype.end=function(r){var s;return r?u(r)&&(s=r,r=this.options.writer.set(s)):r=this.options.writer,r.document(this)},a.prototype.toString=function(r){return this.options.writer.set(r).document(this)},a}(h)}).call(void 0)},{"./Utility":214,"./XMLNode":227,"./XMLStringWriter":231,"./XMLStringifier":232}],225:[function(n,O,v){"use strict";(function(){var h,g,i,u,p,c,e,a,r,s,d,l,w,x,f,A,S,m,_,P={}.hasOwnProperty;_=n("./Utility"),S=_.isObject,A=_.isFunction,m=_.isPlainObject,s=n("./XMLElement"),g=n("./XMLCData"),i=n("./XMLComment"),l=n("./XMLRaw"),f=n("./XMLText"),d=n("./XMLProcessingInstruction"),a=n("./XMLDeclaration"),r=n("./XMLDocType"),u=n("./XMLDTDAttList"),c=n("./XMLDTDEntity"),p=n("./XMLDTDElement"),e=n("./XMLDTDNotation"),h=n("./XMLAttribute"),x=n("./XMLStringifier"),w=n("./XMLStringWriter"),O.exports=function(){function k(b,L,D){var F;b||(b={}),b.writer?m(b.writer)&&(F=b.writer,b.writer=new w(F)):b.writer=new w(b),this.options=b,this.writer=b.writer,this.stringify=new x(b),this.onDataCallback=L||function(){},this.onEndCallback=D||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return k.prototype.node=function(b,L,D){var F;if(b==null)throw new Error("Missing node name");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node");return this.openCurrent(),b=b.valueOf(),L==null&&(L={}),L=L.valueOf(),S(L)||(F=[L,D],D=F[0],L=F[1]),this.currentNode=new s(this,b,L),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,D!=null&&this.text(D),this},k.prototype.element=function(b,L,D){return this.currentNode&&this.currentNode instanceof r?this.dtdElement.apply(this,arguments):this.node(b,L,D)},k.prototype.attribute=function(b,L){var D,F;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode");if(b!=null&&(b=b.valueOf()),S(b))for(D in b)P.call(b,D)&&(F=b[D],this.attribute(D,F));else A(L)&&(L=L.apply()),this.options.skipNullAttributes&&L==null||(this.currentNode.attributes[b]=new h(this,b,L));return this},k.prototype.text=function(b){var L;return this.openCurrent(),L=new f(this,b),this.onData(this.writer.text(L,this.currentLevel+1)),this},k.prototype.cdata=function(b){var L;return this.openCurrent(),L=new g(this,b),this.onData(this.writer.cdata(L,this.currentLevel+1)),this},k.prototype.comment=function(b){var L;return this.openCurrent(),L=new i(this,b),this.onData(this.writer.comment(L,this.currentLevel+1)),this},k.prototype.raw=function(b){var L;return this.openCurrent(),L=new l(this,b),this.onData(this.writer.raw(L,this.currentLevel+1)),this},k.prototype.instruction=function(b,L){var D,F,I,B,G;if(this.openCurrent(),b!=null&&(b=b.valueOf()),L!=null&&(L=L.valueOf()),Array.isArray(b))for(D=0,B=b.length;D<B;D++)F=b[D],this.instruction(F);else if(S(b))for(F in b)P.call(b,F)&&(I=b[F],this.instruction(F,I));else A(L)&&(L=L.apply()),G=new d(this,b,L),this.onData(this.writer.processingInstruction(G,this.currentLevel+1));return this},k.prototype.declaration=function(b,L,D){var F;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node");return F=new a(this,b,L,D),this.onData(this.writer.declaration(F,this.currentLevel+1)),this},k.prototype.doctype=function(b,L,D){if(this.openCurrent(),b==null)throw new Error("Missing root node name");if(this.root)throw new Error("dtd() must come before the root node");return this.currentNode=new r(this,L,D),this.currentNode.rootNodeName=b,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},k.prototype.dtdElement=function(b,L){var D;return this.openCurrent(),D=new p(this,b,L),this.onData(this.writer.dtdElement(D,this.currentLevel+1)),this},k.prototype.attList=function(b,L,D,F,I){var B;return this.openCurrent(),B=new u(this,b,L,D,F,I),this.onData(this.writer.dtdAttList(B,this.currentLevel+1)),this},k.prototype.entity=function(b,L){var D;return this.openCurrent(),D=new c(this,!1,b,L),this.onData(this.writer.dtdEntity(D,this.currentLevel+1)),this},k.prototype.pEntity=function(b,L){var D;return this.openCurrent(),D=new c(this,!0,b,L),this.onData(this.writer.dtdEntity(D,this.currentLevel+1)),this},k.prototype.notation=function(b,L){var D;return this.openCurrent(),D=new e(this,b,L),this.onData(this.writer.dtdNotation(D,this.currentLevel+1)),this},k.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},k.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},k.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},k.prototype.openNode=function(b){if(!b.isOpen)return!this.root&&this.currentLevel===0&&b instanceof s&&(this.root=b),this.onData(this.writer.openNode(b,this.currentLevel)),b.isOpen=!0},k.prototype.closeNode=function(b){if(!b.isClosed)return this.onData(this.writer.closeNode(b,this.currentLevel)),b.isClosed=!0},k.prototype.onData=function(b){return this.documentStarted=!0,this.onDataCallback(b)},k.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},k.prototype.ele=function(){return this.element.apply(this,arguments)},k.prototype.nod=function(b,L,D){return this.node(b,L,D)},k.prototype.txt=function(b){return this.text(b)},k.prototype.dat=function(b){return this.cdata(b)},k.prototype.com=function(b){return this.comment(b)},k.prototype.ins=function(b,L){return this.instruction(b,L)},k.prototype.dec=function(b,L,D){return this.declaration(b,L,D)},k.prototype.dtd=function(b,L,D){return this.doctype(b,L,D)},k.prototype.e=function(b,L,D){return this.element(b,L,D)},k.prototype.n=function(b,L,D){return this.node(b,L,D)},k.prototype.t=function(b){return this.text(b)},k.prototype.d=function(b){return this.cdata(b)},k.prototype.c=function(b){return this.comment(b)},k.prototype.r=function(b){return this.raw(b)},k.prototype.i=function(b,L){return this.instruction(b,L)},k.prototype.att=function(){return this.currentNode&&this.currentNode instanceof r?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},k.prototype.a=function(){return this.currentNode&&this.currentNode instanceof r?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},k.prototype.ent=function(b,L){return this.entity(b,L)},k.prototype.pent=function(b,L){return this.pEntity(b,L)},k.prototype.not=function(b,L){return this.notation(b,L)},k}()}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLStringWriter":231,"./XMLStringifier":232,"./XMLText":233}],226:[function(n,O,v){"use strict";var h=n("babel-runtime/core-js/object/create"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);(function(){var i,u,p,c,e,a=function(d,l){function w(){this.constructor=d}for(var x in l)r.call(l,x)&&(d[x]=l[x]);return w.prototype=l.prototype,d.prototype=new w,d.__super__=l.prototype,d},r={}.hasOwnProperty;e=n("./Utility"),c=e.isObject,p=e.isFunction,u=n("./XMLNode"),i=n("./XMLAttribute"),O.exports=function(s){function d(l,w,x){if(d.__super__.constructor.call(this,l),w==null)throw new Error("Missing element name");this.name=this.stringify.eleName(w),this.attributes={},x!=null&&this.attribute(x),l.isDocument&&(this.isRoot=!0,this.documentObject=l,l.rootObject=this)}return a(d,s),d.prototype.clone=function(){var l,w,x,f;x=(0,g.default)(this),x.isRoot&&(x.documentObject=null),x.attributes={},f=this.attributes;for(w in f)r.call(f,w)&&(l=f[w],x.attributes[w]=l.clone());return x.children=[],this.children.forEach(function(A){var S;return S=A.clone(),S.parent=x,x.children.push(S)}),x},d.prototype.attribute=function(l,w){var x,f;if(l!=null&&(l=l.valueOf()),c(l))for(x in l)r.call(l,x)&&(f=l[x],this.attribute(x,f));else p(w)&&(w=w.apply()),this.options.skipNullAttributes&&w==null||(this.attributes[l]=new i(this,l,w));return this},d.prototype.removeAttribute=function(l){var w,x,f;if(l==null)throw new Error("Missing attribute name");if(l=l.valueOf(),Array.isArray(l))for(x=0,f=l.length;x<f;x++)w=l[x],delete this.attributes[w];else delete this.attributes[l];return this},d.prototype.toString=function(l){return this.options.writer.set(l).element(this)},d.prototype.att=function(l,w){return this.attribute(l,w)},d.prototype.a=function(l,w){return this.attribute(l,w)},d}(u)}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLNode":227,"babel-runtime/core-js/object/create":19}],227:[function(n,O,v){"use strict";(function(){var h,g,i,u,p,c,e,a,r,s,d,l,w={}.hasOwnProperty;l=n("./Utility"),d=l.isObject,s=l.isFunction,r=l.isEmpty,p=null,h=null,g=null,i=null,u=null,e=null,a=null,c=null,O.exports=function(){function x(f){this.parent=f,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],p||(p=n("./XMLElement"),h=n("./XMLCData"),g=n("./XMLComment"),i=n("./XMLDeclaration"),u=n("./XMLDocType"),e=n("./XMLRaw"),a=n("./XMLText"),c=n("./XMLProcessingInstruction"))}return x.prototype.element=function(f,A,S){var m,_,P,k,b,L,D,F,I,B;if(L=null,A==null&&(A={}),A=A.valueOf(),d(A)||(I=[A,S],S=I[0],A=I[1]),f!=null&&(f=f.valueOf()),Array.isArray(f))for(P=0,D=f.length;P<D;P++)_=f[P],L=this.element(_);else if(s(f))L=this.element(f.apply());else if(d(f)){for(b in f)if(w.call(f,b))if(B=f[b],s(B)&&(B=B.apply()),d(B)&&r(B)&&(B=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&b.indexOf(this.stringify.convertAttKey)===0)L=this.attribute(b.substr(this.stringify.convertAttKey.length),B);else if(!this.options.separateArrayItems&&Array.isArray(B))for(k=0,F=B.length;k<F;k++)_=B[k],m={},m[b]=_,L=this.element(m);else d(B)?(L=this.element(b),L.element(B)):L=this.element(b,B)}else L=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&f.indexOf(this.stringify.convertTextKey)===0?this.text(S):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&f.indexOf(this.stringify.convertCDataKey)===0?this.cdata(S):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&f.indexOf(this.stringify.convertCommentKey)===0?this.comment(S):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&f.indexOf(this.stringify.convertRawKey)===0?this.raw(S):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&f.indexOf(this.stringify.convertPIKey)===0?this.instruction(f.substr(this.stringify.convertPIKey.length),S):this.node(f,A,S);if(L==null)throw new Error("Could not create any elements with: "+f);return L},x.prototype.insertBefore=function(f,A,S){var m,_,P;if(this.isRoot)throw new Error("Cannot insert elements at root level");return _=this.parent.children.indexOf(this),P=this.parent.children.splice(_),m=this.parent.element(f,A,S),Array.prototype.push.apply(this.parent.children,P),m},x.prototype.insertAfter=function(f,A,S){var m,_,P;if(this.isRoot)throw new Error("Cannot insert elements at root level");return _=this.parent.children.indexOf(this),P=this.parent.children.splice(_+1),m=this.parent.element(f,A,S),Array.prototype.push.apply(this.parent.children,P),m},x.prototype.remove=function(){var f;if(this.isRoot)throw new Error("Cannot remove the root element");return f=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[f,f-f+1].concat([])),this.parent},x.prototype.node=function(f,A,S){var m,_;return f!=null&&(f=f.valueOf()),A||(A={}),A=A.valueOf(),d(A)||(_=[A,S],S=_[0],A=_[1]),m=new p(this,f,A),S!=null&&m.text(S),this.children.push(m),m},x.prototype.text=function(f){var A;return A=new a(this,f),this.children.push(A),this},x.prototype.cdata=function(f){var A;return A=new h(this,f),this.children.push(A),this},x.prototype.comment=function(f){var A;return A=new g(this,f),this.children.push(A),this},x.prototype.commentBefore=function(f){var A,S;return A=this.parent.children.indexOf(this),S=this.parent.children.splice(A),this.parent.comment(f),Array.prototype.push.apply(this.parent.children,S),this},x.prototype.commentAfter=function(f){var A,S;return A=this.parent.children.indexOf(this),S=this.parent.children.splice(A+1),this.parent.comment(f),Array.prototype.push.apply(this.parent.children,S),this},x.prototype.raw=function(f){var A;return A=new e(this,f),this.children.push(A),this},x.prototype.instruction=function(f,A){var S,m,_,P,k;if(f!=null&&(f=f.valueOf()),A!=null&&(A=A.valueOf()),Array.isArray(f))for(P=0,k=f.length;P<k;P++)S=f[P],this.instruction(S);else if(d(f))for(S in f)w.call(f,S)&&(m=f[S],this.instruction(S,m));else s(A)&&(A=A.apply()),_=new c(this,f,A),this.children.push(_);return this},x.prototype.instructionBefore=function(f,A){var S,m;return S=this.parent.children.indexOf(this),m=this.parent.children.splice(S),this.parent.instruction(f,A),Array.prototype.push.apply(this.parent.children,m),this},x.prototype.instructionAfter=function(f,A){var S,m;return S=this.parent.children.indexOf(this),m=this.parent.children.splice(S+1),this.parent.instruction(f,A),Array.prototype.push.apply(this.parent.children,m),this},x.prototype.declaration=function(f,A,S){var m,_;return m=this.document(),_=new i(m,f,A,S),m.children[0]instanceof i?m.children[0]=_:m.children.unshift(_),m.root()||m},x.prototype.doctype=function(f,A){var S,m,_,P,k,b,L,D,F,I;for(m=this.document(),_=new u(m,f,A),F=m.children,P=k=0,L=F.length;k<L;P=++k)if((S=F[P])instanceof u)return m.children[P]=_,_;for(I=m.children,P=b=0,D=I.length;b<D;P=++b)if(S=I[P],S.isRoot)return m.children.splice(P,0,_),_;return m.children.push(_),_},x.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},x.prototype.root=function(){var f;for(f=this;f;){if(f.isDocument)return f.rootObject;if(f.isRoot)return f;f=f.parent}},x.prototype.document=function(){var f;for(f=this;f;){if(f.isDocument)return f;f=f.parent}},x.prototype.end=function(f){return this.document().end(f)},x.prototype.prev=function(){var f;if((f=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node");return this.parent.children[f-1]},x.prototype.next=function(){var f;if((f=this.parent.children.indexOf(this))===-1||f===this.parent.children.length-1)throw new Error("Already at the last node");return this.parent.children[f+1]},x.prototype.importDocument=function(f){var A;return A=f.root().clone(),A.parent=this,A.isRoot=!1,this.children.push(A),this},x.prototype.ele=function(f,A,S){return this.element(f,A,S)},x.prototype.nod=function(f,A,S){return this.node(f,A,S)},x.prototype.txt=function(f){return this.text(f)},x.prototype.dat=function(f){return this.cdata(f)},x.prototype.com=function(f){return this.comment(f)},x.prototype.ins=function(f,A){return this.instruction(f,A)},x.prototype.doc=function(){return this.document()},x.prototype.dec=function(f,A,S){return this.declaration(f,A,S)},x.prototype.dtd=function(f,A){return this.doctype(f,A)},x.prototype.e=function(f,A,S){return this.element(f,A,S)},x.prototype.n=function(f,A,S){return this.node(f,A,S)},x.prototype.t=function(f){return this.text(f)},x.prototype.d=function(f){return this.cdata(f)},x.prototype.c=function(f){return this.comment(f)},x.prototype.r=function(f){return this.raw(f)},x.prototype.i=function(f,A){return this.instruction(f,A)},x.prototype.u=function(){return this.up()},x.prototype.importXMLBuilder=function(f){return this.importDocument(f)},x}()}).call(void 0)},{"./Utility":214,"./XMLCData":216,"./XMLComment":217,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233}],228:[function(n,O,v){"use strict";var h=n("babel-runtime/core-js/object/create"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);(function(){var i,u=function(e,a){function r(){this.constructor=e}for(var s in a)p.call(a,s)&&(e[s]=a[s]);return r.prototype=a.prototype,e.prototype=new r,e.__super__=a.prototype,e},p={}.hasOwnProperty;i=n("./XMLNode"),O.exports=function(c){function e(a,r,s){if(e.__super__.constructor.call(this,a),r==null)throw new Error("Missing instruction target");this.target=this.stringify.insTarget(r),s&&(this.value=this.stringify.insValue(s))}return u(e,c),e.prototype.clone=function(){return(0,g.default)(this)},e.prototype.toString=function(a){return this.options.writer.set(a).processingInstruction(this)},e}(i)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],229:[function(n,O,v){"use strict";var h=n("babel-runtime/core-js/object/create"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);(function(){var i,u=function(e,a){function r(){this.constructor=e}for(var s in a)p.call(a,s)&&(e[s]=a[s]);return r.prototype=a.prototype,e.prototype=new r,e.__super__=a.prototype,e},p={}.hasOwnProperty;i=n("./XMLNode"),O.exports=function(c){function e(a,r){if(e.__super__.constructor.call(this,a),r==null)throw new Error("Missing raw text");this.value=this.stringify.raw(r)}return u(e,c),e.prototype.clone=function(){return(0,g.default)(this)},e.prototype.toString=function(a){return this.options.writer.set(a).raw(this)},e}(i)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],230:[function(n,O,v){"use strict";(function(){var h,g,i,u,p,c,e,a,r,s,d,l,w,x=function(S,m){function _(){this.constructor=S}for(var P in m)f.call(m,P)&&(S[P]=m[P]);return _.prototype=m.prototype,S.prototype=new _,S.__super__=m.prototype,S},f={}.hasOwnProperty;e=n("./XMLDeclaration"),a=n("./XMLDocType"),h=n("./XMLCData"),g=n("./XMLComment"),r=n("./XMLElement"),d=n("./XMLRaw"),l=n("./XMLText"),s=n("./XMLProcessingInstruction"),i=n("./XMLDTDAttList"),u=n("./XMLDTDElement"),p=n("./XMLDTDEntity"),c=n("./XMLDTDNotation"),w=n("./XMLWriterBase"),O.exports=function(A){function S(m,_){S.__super__.constructor.call(this,_),this.stream=m}return x(S,A),S.prototype.document=function(m){var _,P,k,b,L,D,F,I;for(D=m.children,P=0,b=D.length;P<b;P++)_=D[P],_.isLastRootNode=!1;for(m.children[m.children.length-1].isLastRootNode=!0,F=m.children,I=[],k=0,L=F.length;k<L;k++)switch(_=F[k],!1){case!(_ instanceof e):I.push(this.declaration(_));break;case!(_ instanceof a):I.push(this.docType(_));break;case!(_ instanceof g):I.push(this.comment(_));break;case!(_ instanceof s):I.push(this.processingInstruction(_));break;default:I.push(this.element(_))}return I},S.prototype.attribute=function(m){return this.stream.write(" "+m.name+'="'+m.value+'"')},S.prototype.cdata=function(m,_){return this.stream.write(this.space(_)+"<![CDATA["+m.text+"]]>"+this.endline(m))},S.prototype.comment=function(m,_){return this.stream.write(this.space(_)+"<!-- "+m.text+" -->"+this.endline(m))},S.prototype.declaration=function(m,_){return this.stream.write(this.space(_)),this.stream.write('<?xml version="'+m.version+'"'),m.encoding!=null&&this.stream.write(' encoding="'+m.encoding+'"'),m.standalone!=null&&this.stream.write(' standalone="'+m.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(m))},S.prototype.docType=function(m,_){var P,k,b,L;if(_||(_=0),this.stream.write(this.space(_)),this.stream.write("<!DOCTYPE "+m.root().name),m.pubID&&m.sysID?this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"'):m.sysID&&this.stream.write(' SYSTEM "'+m.sysID+'"'),m.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(m)),L=m.children,k=0,b=L.length;k<b;k++)switch(P=L[k],!1){case!(P instanceof i):this.dtdAttList(P,_+1);break;case!(P instanceof u):this.dtdElement(P,_+1);break;case!(P instanceof p):this.dtdEntity(P,_+1);break;case!(P instanceof c):this.dtdNotation(P,_+1);break;case!(P instanceof h):this.cdata(P,_+1);break;case!(P instanceof g):this.comment(P,_+1);break;case!(P instanceof s):this.processingInstruction(P,_+1);break;default:throw new Error("Unknown DTD node type: "+P.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(m))},S.prototype.element=function(m,_){var P,k,b,L,D,F,I,B;_||(_=0),B=this.space(_),this.stream.write(B+"<"+m.name),F=m.attributes;for(D in F)f.call(F,D)&&(P=F[D],this.attribute(P));if(m.children.length===0||m.children.every(function(G){return G.value===""}))this.allowEmpty?this.stream.write("></"+m.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)this.stream.write(">"),this.stream.write(m.children[0].value),this.stream.write("</"+m.name+">");else{for(this.stream.write(">"+this.newline),I=m.children,b=0,L=I.length;b<L;b++)switch(k=I[b],!1){case!(k instanceof h):this.cdata(k,_+1);break;case!(k instanceof g):this.comment(k,_+1);break;case!(k instanceof r):this.element(k,_+1);break;case!(k instanceof d):this.raw(k,_+1);break;case!(k instanceof l):this.text(k,_+1);break;case!(k instanceof s):this.processingInstruction(k,_+1);break;default:throw new Error("Unknown XML node type: "+k.constructor.name)}this.stream.write(B+"</"+m.name+">")}return this.stream.write(this.endline(m))},S.prototype.processingInstruction=function(m,_){return this.stream.write(this.space(_)+"<?"+m.target),m.value&&this.stream.write(" "+m.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(m))},S.prototype.raw=function(m,_){return this.stream.write(this.space(_)+m.value+this.endline(m))},S.prototype.text=function(m,_){return this.stream.write(this.space(_)+m.value+this.endline(m))},S.prototype.dtdAttList=function(m,_){return this.stream.write(this.space(_)+"<!ATTLIST "+m.elementName+" "+m.attributeName+" "+m.attributeType),m.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+m.defaultValueType),m.defaultValue&&this.stream.write(' "'+m.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},S.prototype.dtdElement=function(m,_){return this.stream.write(this.space(_)+"<!ELEMENT "+m.name+" "+m.value),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},S.prototype.dtdEntity=function(m,_){return this.stream.write(this.space(_)+"<!ENTITY"),m.pe&&this.stream.write(" %"),this.stream.write(" "+m.name),m.value?this.stream.write(' "'+m.value+'"'):(m.pubID&&m.sysID?this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"'):m.sysID&&this.stream.write(' SYSTEM "'+m.sysID+'"'),m.nData&&this.stream.write(" NDATA "+m.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},S.prototype.dtdNotation=function(m,_){return this.stream.write(this.space(_)+"<!NOTATION "+m.name),m.pubID&&m.sysID?this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"'):m.pubID?this.stream.write(' PUBLIC "'+m.pubID+'"'):m.sysID&&this.stream.write(' SYSTEM "'+m.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},S.prototype.endline=function(m){return m.isLastRootNode?"":this.newline},S}(w)}).call(void 0)},{"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233,"./XMLWriterBase":234}],231:[function(n,O,v){"use strict";(function(){var h,g,i,u,p,c,e,a,r,s,d,l,w,x=function(S,m){function _(){this.constructor=S}for(var P in m)f.call(m,P)&&(S[P]=m[P]);return _.prototype=m.prototype,S.prototype=new _,S.__super__=m.prototype,S},f={}.hasOwnProperty;e=n("./XMLDeclaration"),a=n("./XMLDocType"),h=n("./XMLCData"),g=n("./XMLComment"),r=n("./XMLElement"),d=n("./XMLRaw"),l=n("./XMLText"),s=n("./XMLProcessingInstruction"),i=n("./XMLDTDAttList"),u=n("./XMLDTDElement"),p=n("./XMLDTDEntity"),c=n("./XMLDTDNotation"),w=n("./XMLWriterBase"),O.exports=function(A){function S(m){S.__super__.constructor.call(this,m)}return x(S,A),S.prototype.document=function(m){var _,P,k,b,L;for(this.textispresent=!1,b="",L=m.children,P=0,k=L.length;P<k;P++)_=L[P],b+=function(){switch(!1){case!(_ instanceof e):return this.declaration(_);case!(_ instanceof a):return this.docType(_);case!(_ instanceof g):return this.comment(_);case!(_ instanceof s):return this.processingInstruction(_);default:return this.element(_,0)}}.call(this);return this.pretty&&b.slice(-this.newline.length)===this.newline&&(b=b.slice(0,-this.newline.length)),b},S.prototype.attribute=function(m){return" "+m.name+'="'+m.value+'"'},S.prototype.cdata=function(m,_){return this.space(_)+"<![CDATA["+m.text+"]]>"+this.newline},S.prototype.comment=function(m,_){return this.space(_)+"<!-- "+m.text+" -->"+this.newline},S.prototype.declaration=function(m,_){var P;return P=this.space(_),P+='<?xml version="'+m.version+'"',m.encoding!=null&&(P+=' encoding="'+m.encoding+'"'),m.standalone!=null&&(P+=' standalone="'+m.standalone+'"'),P+=this.spacebeforeslash+"?>",P+=this.newline},S.prototype.docType=function(m,_){var P,k,b,L,D;if(_||(_=0),L=this.space(_),L+="<!DOCTYPE "+m.root().name,m.pubID&&m.sysID?L+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(L+=' SYSTEM "'+m.sysID+'"'),m.children.length>0){for(L+=" [",L+=this.newline,D=m.children,k=0,b=D.length;k<b;k++)P=D[k],L+=function(){switch(!1){case!(P instanceof i):return this.dtdAttList(P,_+1);case!(P instanceof u):return this.dtdElement(P,_+1);case!(P instanceof p):return this.dtdEntity(P,_+1);case!(P instanceof c):return this.dtdNotation(P,_+1);case!(P instanceof h):return this.cdata(P,_+1);case!(P instanceof g):return this.comment(P,_+1);case!(P instanceof s):return this.processingInstruction(P,_+1);default:throw new Error("Unknown DTD node type: "+P.constructor.name)}}.call(this);L+="]"}return L+=this.spacebeforeslash+">",L+=this.newline},S.prototype.element=function(m,_){var P,k,b,L,D,F,I,B,G,q,ie,z,oe;_||(_=0),oe=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),z=this.space(_),B="",B+=z+"<"+m.name,G=m.attributes;for(I in G)f.call(G,I)&&(P=G[I],B+=this.attribute(P));if(m.children.length===0||m.children.every(function(Z){return Z.value===""}))this.allowEmpty?B+="></"+m.name+">"+this.newline:B+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)B+=">",B+=m.children[0].value,B+="</"+m.name+">"+this.newline;else{if(this.dontprettytextnodes){for(q=m.children,b=0,D=q.length;b<D;b++)if(k=q[b],k.value!=null){this.textispresent++,oe=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,z=this.space(_)),B+=">"+this.newline,ie=m.children,L=0,F=ie.length;L<F;L++)k=ie[L],B+=function(){switch(!1){case!(k instanceof h):return this.cdata(k,_+1);case!(k instanceof g):return this.comment(k,_+1);case!(k instanceof r):return this.element(k,_+1);case!(k instanceof d):return this.raw(k,_+1);case!(k instanceof l):return this.text(k,_+1);case!(k instanceof s):return this.processingInstruction(k,_+1);default:throw new Error("Unknown XML node type: "+k.constructor.name)}}.call(this);oe&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),B+=z+"</"+m.name+">"+this.newline}return B},S.prototype.processingInstruction=function(m,_){var P;return P=this.space(_)+"<?"+m.target,m.value&&(P+=" "+m.value),P+=this.spacebeforeslash+"?>"+this.newline},S.prototype.raw=function(m,_){return this.space(_)+m.value+this.newline},S.prototype.text=function(m,_){return this.space(_)+m.value+this.newline},S.prototype.dtdAttList=function(m,_){var P;return P=this.space(_)+"<!ATTLIST "+m.elementName+" "+m.attributeName+" "+m.attributeType,m.defaultValueType!=="#DEFAULT"&&(P+=" "+m.defaultValueType),m.defaultValue&&(P+=' "'+m.defaultValue+'"'),P+=this.spacebeforeslash+">"+this.newline},S.prototype.dtdElement=function(m,_){return this.space(_)+"<!ELEMENT "+m.name+" "+m.value+this.spacebeforeslash+">"+this.newline},S.prototype.dtdEntity=function(m,_){var P;return P=this.space(_)+"<!ENTITY",m.pe&&(P+=" %"),P+=" "+m.name,m.value?P+=' "'+m.value+'"':(m.pubID&&m.sysID?P+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(P+=' SYSTEM "'+m.sysID+'"'),m.nData&&(P+=" NDATA "+m.nData)),P+=this.spacebeforeslash+">"+this.newline},S.prototype.dtdNotation=function(m,_){var P;return P=this.space(_)+"<!NOTATION "+m.name,m.pubID&&m.sysID?P+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.pubID?P+=' PUBLIC "'+m.pubID+'"':m.sysID&&(P+=' SYSTEM "'+m.sysID+'"'),P+=this.spacebeforeslash+">"+this.newline},S.prototype.openNode=function(m,_){var P,k,b,L;if(_||(_=0),m instanceof r){b=this.space(_)+"<"+m.name,L=m.attributes;for(k in L)f.call(L,k)&&(P=L[k],b+=this.attribute(P));return b+=(m.children?">":"/>")+this.newline}return b=this.space(_)+"<!DOCTYPE "+m.rootNodeName,m.pubID&&m.sysID?b+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(b+=' SYSTEM "'+m.sysID+'"'),b+=(m.children?" [":">")+this.newline},S.prototype.closeNode=function(m,_){switch(_||(_=0),!1){case!(m instanceof r):return this.space(_)+"</"+m.name+">"+this.newline;case!(m instanceof a):return this.space(_)+"]>"+this.newline}},S}(w)}).call(void 0)},{"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233,"./XMLWriterBase":234}],232:[function(n,O,v){"use strict";(function(){var h=function(u,p){return function(){return u.apply(p,arguments)}},g={}.hasOwnProperty;O.exports=function(){function i(u){this.assertLegalChar=h(this.assertLegalChar,this);var p,c,e;u||(u={}),this.noDoubleEncoding=u.noDoubleEncoding,c=u.stringify||{};for(p in c)g.call(c,p)&&(e=c[p],this[p]=e)}return i.prototype.eleName=function(u){return u=""+u||"",this.assertLegalChar(u)},i.prototype.eleText=function(u){return u=""+u||"",this.assertLegalChar(this.elEscape(u))},i.prototype.cdata=function(u){return u=""+u||"",u=u.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(u)},i.prototype.comment=function(u){if(u=""+u||"",u.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+u);return this.assertLegalChar(u)},i.prototype.raw=function(u){return""+u||""},i.prototype.attName=function(u){return u=""+u||""},i.prototype.attValue=function(u){return u=""+u||"",this.attEscape(u)},i.prototype.insTarget=function(u){return""+u||""},i.prototype.insValue=function(u){if(u=""+u||"",u.match(/\?>/))throw new Error("Invalid processing instruction value: "+u);return u},i.prototype.xmlVersion=function(u){if(u=""+u||"",!u.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+u);return u},i.prototype.xmlEncoding=function(u){if(u=""+u||"",!u.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+u);return u},i.prototype.xmlStandalone=function(u){return u?"yes":"no"},i.prototype.dtdPubID=function(u){return""+u||""},i.prototype.dtdSysID=function(u){return""+u||""},i.prototype.dtdElementValue=function(u){return""+u||""},i.prototype.dtdAttType=function(u){return""+u||""},i.prototype.dtdAttDefault=function(u){return u!=null?""+u||"":u},i.prototype.dtdEntityValue=function(u){return""+u||""},i.prototype.dtdNData=function(u){return""+u||""},i.prototype.convertAttKey="@",i.prototype.convertPIKey="?",i.prototype.convertTextKey="#text",i.prototype.convertCDataKey="#cdata",i.prototype.convertCommentKey="#comment",i.prototype.convertRawKey="#raw",i.prototype.assertLegalChar=function(u){var p;if(p=u.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+u+" at index "+p.index);return u},i.prototype.elEscape=function(u){var p;return p=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,u.replace(p,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},i.prototype.attEscape=function(u){var p;return p=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,u.replace(p,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},i}()}).call(void 0)},{}],233:[function(n,O,v){"use strict";var h=n("babel-runtime/core-js/object/create"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);(function(){var i,u=function(e,a){function r(){this.constructor=e}for(var s in a)p.call(a,s)&&(e[s]=a[s]);return r.prototype=a.prototype,e.prototype=new r,e.__super__=a.prototype,e},p={}.hasOwnProperty;i=n("./XMLNode"),O.exports=function(c){function e(a,r){if(e.__super__.constructor.call(this,a),r==null)throw new Error("Missing element text");this.value=this.stringify.eleText(r)}return u(e,c),e.prototype.clone=function(){return(0,g.default)(this)},e.prototype.toString=function(a){return this.options.writer.set(a).text(this)},e}(i)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],234:[function(n,O,v){"use strict";(function(){var h={}.hasOwnProperty;O.exports=function(){function g(i){var u,p,c,e,a,r,s,d,l;i||(i={}),this.pretty=i.pretty||!1,this.allowEmpty=(p=i.allowEmpty)!=null&&p,this.pretty?(this.indent=(c=i.indent)!=null?c:" ",this.newline=(e=i.newline)!=null?e:`
|
|
|
`,this.offset=(a=i.offset)!=null?a:0,this.dontprettytextnodes=(r=i.dontprettytextnodes)!=null?r:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(s=i.spacebeforeslash)!=null?s:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,d=i.writer||{};for(u in d)h.call(d,u)&&(l=d[u],this[u]=l)}return g.prototype.set=function(i){var u,p,c;i||(i={}),"pretty"in i&&(this.pretty=i.pretty),"allowEmpty"in i&&(this.allowEmpty=i.allowEmpty),this.pretty?(this.indent="indent"in i?i.indent:" ",this.newline="newline"in i?i.newline:`
|
|
|
`,this.offset="offset"in i?i.offset:0,this.dontprettytextnodes="dontprettytextnodes"in i?i.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in i?i.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,p=i.writer||{};for(u in p)h.call(p,u)&&(c=p[u],this[u]=c);return this},g.prototype.space=function(i){var u;return this.pretty?(u=(i||0)+this.offset+1,u>0?new Array(u).join(this.indent):""):""},g}()}).call(void 0)},{}],235:[function(n,O,v){"use strict";(function(){var h,g,i,u,p,c,e;e=n("./Utility"),p=e.assign,c=e.isFunction,h=n("./XMLDocument"),g=n("./XMLDocumentCB"),u=n("./XMLStringWriter"),i=n("./XMLStreamWriter"),O.exports.create=function(a,r,s,d){var l,w;if(a==null)throw new Error("Root element needs a name");return d=p({},r,s,d),l=new h(d),w=l.element(a),d.headless||(l.declaration(d),d.pubID==null&&d.sysID==null||l.doctype(d)),w},O.exports.begin=function(a,r,s){var d;return c(a)&&(d=[a,r],r=d[0],s=d[1],a={}),r?new g(a,r,s):new h(a)},O.exports.stringWriter=function(a){return new u(a)},O.exports.streamWriter=function(a,r){return new i(a,r)}}).call(void 0)},{"./Utility":214,"./XMLDocument":224,"./XMLDocumentCB":225,"./XMLStreamWriter":230,"./XMLStringWriter":231}],236:[function(n,O,v){function h(){for(var i={},u=0;u<arguments.length;u++){var p=arguments[u];for(var c in p)g.call(p,c)&&(i[c]=p[c])}return i}O.exports=h;var g=Object.prototype.hasOwnProperty},{}],237:[function(n,O,v){"use strict";function h(d,l,w){u.isBuffer(l)||(l=new u(l)),u.isBuffer(w)||(w=new u(w)),l.length>r?l=d(l):l.length<r&&(l=u.concat([l,s],r));for(var x=new u(r),f=new u(r),A=0;A<r;A++)x[A]=54^l[A],f[A]=92^l[A];var S=d(u.concat([x,w]));return d(u.concat([f,S]))}function g(d,l){d=d||"sha1";var w=a[d],x=[],f=0;return w||i("algorithm:",d,"is not yet supported"),{update:function(S){return u.isBuffer(S)||(S=new u(S)),x.push(S),f+=S.length,this},digest:function(S){var m=u.concat(x),_=l?h(w,l,m):w(m);return x=null,S?_.toString(S):_}}}function i(){var d=[].slice.call(arguments).join(" ");throw new Error([d,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}var u=n("buffer").Buffer,p=n("./sha"),c=n("./sha256"),e=n("./md5"),a={sha1:p,sha256:c,md5:e},r=64,s=new u(r);s.fill(0),v.createHash=function(d){return g(d)},v.createHmac=function(d,l){return g(d,l)},function(d,l){for(var w in d)l(d[w],w)}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],function(d){v[d]=function(){i("sorry,",d,"is not implemented yet")}})},{"./md5":239,"./sha":240,"./sha256":241,buffer:38}],238:[function(n,O,v){"use strict";function h(a,r){if(a.length%p!=0){var s=a.length+(p-a.length%p);a=u.concat([a,c],s)}for(var d=[],l=r?a.readInt32BE:a.readInt32LE,w=0;w<a.length;w+=p)d.push(l.call(a,w));return d}function g(a,r,s){for(var d=new u(r),l=s?d.writeInt32BE:d.writeInt32LE,w=0;w<a.length;w++)l.call(d,a[w],4*w,!0);return d}function i(a,r,s,d){return u.isBuffer(a)||(a=new u(a)),g(r(h(a,d),a.length*e),s,d)}var u=n("buffer").Buffer,p=4,c=new u(p);c.fill(0);var e=8;O.exports={hash:i}},{buffer:38}],239:[function(n,O,v){"use strict";function h(s,d){s[d>>5]|=128<<d%32,s[14+(d+64>>>9<<4)]=d;for(var l=1732584193,w=-271733879,x=-1732584194,f=271733878,A=0;A<s.length;A+=16){var S=l,m=w,_=x,P=f;l=i(l,w,x,f,s[A+0],7,-680876936),f=i(f,l,w,x,s[A+1],12,-389564586),x=i(x,f,l,w,s[A+2],17,606105819),w=i(w,x,f,l,s[A+3],22,-1044525330),l=i(l,w,x,f,s[A+4],7,-176418897),f=i(f,l,w,x,s[A+5],12,1200080426),x=i(x,f,l,w,s[A+6],17,-1473231341),w=i(w,x,f,l,s[A+7],22,-45705983),l=i(l,w,x,f,s[A+8],7,1770035416),f=i(f,l,w,x,s[A+9],12,-1958414417),x=i(x,f,l,w,s[A+10],17,-42063),w=i(w,x,f,l,s[A+11],22,-1990404162),l=i(l,w,x,f,s[A+12],7,1804603682),f=i(f,l,w,x,s[A+13],12,-40341101),x=i(x,f,l,w,s[A+14],17,-1502002290),w=i(w,x,f,l,s[A+15],22,1236535329),l=u(l,w,x,f,s[A+1],5,-165796510),f=u(f,l,w,x,s[A+6],9,-1069501632),x=u(x,f,l,w,s[A+11],14,643717713),w=u(w,x,f,l,s[A+0],20,-373897302),l=u(l,w,x,f,s[A+5],5,-701558691),f=u(f,l,w,x,s[A+10],9,38016083),x=u(x,f,l,w,s[A+15],14,-660478335),w=u(w,x,f,l,s[A+4],20,-405537848),l=u(l,w,x,f,s[A+9],5,568446438),f=u(f,l,w,x,s[A+14],9,-1019803690),x=u(x,f,l,w,s[A+3],14,-187363961),w=u(w,x,f,l,s[A+8],20,1163531501),l=u(l,w,x,f,s[A+13],5,-1444681467),f=u(f,l,w,x,s[A+2],9,-51403784),x=u(x,f,l,w,s[A+7],14,1735328473),w=u(w,x,f,l,s[A+12],20,-1926607734),l=p(l,w,x,f,s[A+5],4,-378558),f=p(f,l,w,x,s[A+8],11,-2022574463),x=p(x,f,l,w,s[A+11],16,1839030562),w=p(w,x,f,l,s[A+14],23,-35309556),l=p(l,w,x,f,s[A+1],4,-1530992060),f=p(f,l,w,x,s[A+4],11,1272893353),x=p(x,f,l,w,s[A+7],16,-155497632),w=p(w,x,f,l,s[A+10],23,-1094730640),l=p(l,w,x,f,s[A+13],4,681279174),f=p(f,l,w,x,s[A+0],11,-358537222),x=p(x,f,l,w,s[A+3],16,-722521979),w=p(w,x,f,l,s[A+6],23,76029189),l=p(l,w,x,f,s[A+9],4,-640364487),f=p(f,l,w,x,s[A+12],11,-421815835),x=p(x,f,l,w,s[A+15],16,530742520),w=p(w,x,f,l,s[A+2],23,-995338651),l=c(l,w,x,f,s[A+0],6,-198630844),f=c(f,l,w,x,s[A+7],10,1126891415),x=c(x,f,l,w,s[A+14],15,-1416354905),w=c(w,x,f,l,s[A+5],21,-57434055),l=c(l,w,x,f,s[A+12],6,1700485571),f=c(f,l,w,x,s[A+3],10,-1894986606),x=c(x,f,l,w,s[A+10],15,-1051523),w=c(w,x,f,l,s[A+1],21,-2054922799),l=c(l,w,x,f,s[A+8],6,1873313359),f=c(f,l,w,x,s[A+15],10,-30611744),x=c(x,f,l,w,s[A+6],15,-1560198380),w=c(w,x,f,l,s[A+13],21,1309151649),l=c(l,w,x,f,s[A+4],6,-145523070),f=c(f,l,w,x,s[A+11],10,-1120210379),x=c(x,f,l,w,s[A+2],15,718787259),w=c(w,x,f,l,s[A+9],21,-343485551),l=e(l,S),w=e(w,m),x=e(x,_),f=e(f,P)}return Array(l,w,x,f)}function g(s,d,l,w,x,f){return e(a(e(e(d,s),e(w,f)),x),l)}function i(s,d,l,w,x,f,A){return g(d&l|~d&w,s,d,x,f,A)}function u(s,d,l,w,x,f,A){return g(d&w|l&~w,s,d,x,f,A)}function p(s,d,l,w,x,f,A){return g(d^l^w,s,d,x,f,A)}function c(s,d,l,w,x,f,A){return g(l^(d|~w),s,d,x,f,A)}function e(s,d){var l=(65535&s)+(65535&d);return(s>>16)+(d>>16)+(l>>16)<<16|65535&l}function a(s,d){return s<<d|s>>>32-d}var r=n("./helpers");O.exports=function(s){return r.hash(s,h,16)}},{"./helpers":238}],240:[function(n,O,v){"use strict";function h(e,a){e[a>>5]|=128<<24-a%32,e[15+(a+64>>9<<4)]=a;for(var r=Array(80),s=1732584193,d=-271733879,l=-1732584194,w=271733878,x=-1009589776,f=0;f<e.length;f+=16){for(var A=s,S=d,m=l,_=w,P=x,k=0;k<80;k++){r[k]=k<16?e[f+k]:p(r[k-3]^r[k-8]^r[k-14]^r[k-16],1);var b=u(u(p(s,5),g(k,d,l,w)),u(u(x,r[k]),i(k)));x=w,w=l,l=p(d,30),d=s,s=b}s=u(s,A),d=u(d,S),l=u(l,m),w=u(w,_),x=u(x,P)}return Array(s,d,l,w,x)}function g(e,a,r,s){return e<20?a&r|~a&s:e<40?a^r^s:e<60?a&r|a&s|r&s:a^r^s}function i(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function u(e,a){var r=(65535&e)+(65535&a);return(e>>16)+(a>>16)+(r>>16)<<16|65535&r}function p(e,a){return e<<a|e>>>32-a}var c=n("./helpers");O.exports=function(e){return c.hash(e,h,20,!0)}},{"./helpers":238}],241:[function(n,O,v){"use strict";var h=n("./helpers"),g=function(w,x){var f=(65535&w)+(65535&x);return(w>>16)+(x>>16)+(f>>16)<<16|65535&f},i=function(w,x){return w>>>x|w<<32-x},u=function(w,x){return w>>>x},p=function(w,x,f){return w&x^~w&f},c=function(w,x,f){return w&x^w&f^x&f},e=function(w){return i(w,2)^i(w,13)^i(w,22)},a=function(w){return i(w,6)^i(w,11)^i(w,25)},r=function(w){return i(w,7)^i(w,18)^u(w,3)},s=function(w){return i(w,17)^i(w,19)^u(w,10)},d=function(w,x){var f,A,S,m,_,P,k,b,L,D,F,I,B=new Array(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),G=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),q=new Array(64);w[x>>5]|=128<<24-x%32,w[15+(x+64>>9<<4)]=x;for(var L=0;L<w.length;L+=16){f=G[0],A=G[1],S=G[2],m=G[3],_=G[4],P=G[5],k=G[6],b=G[7];for(var D=0;D<64;D++)q[D]=D<16?w[D+L]:g(g(g(s(q[D-2]),q[D-7]),r(q[D-15])),q[D-16]),F=g(g(g(g(b,a(_)),p(_,P,k)),B[D]),q[D]),I=g(e(f),c(f,A,S)),b=k,k=P,P=_,_=g(m,F),m=S,S=A,A=f,f=g(F,I);G[0]=g(f,G[0]),G[1]=g(A,G[1]),G[2]=g(S,G[2]),G[3]=g(m,G[3]),G[4]=g(_,G[4]),G[5]=g(P,G[5]),G[6]=g(k,G[6]),G[7]=g(b,G[7])}return G};O.exports=function(l){return h.hash(l,d,32,!0)}},{"./helpers":238}],242:[function(n,O,v){(function(h){"use strict";function g(d){return d&&d.__esModule?d:{default:d}}var i=n("babel-runtime/core-js/object/create"),u=g(i),p=n("babel-runtime/helpers/classCallCheck"),c=g(p),e=n("babel-runtime/helpers/createClass"),a=g(e),r=n("babel-runtime/helpers/typeof"),s=g(r);!function(d){if((v===void 0?"undefined":(0,s.default)(v))==="object"&&O!==void 0)O.exports=d();else if(typeof fe=="function"&&fe.amd)fe([],d);else{var l;l=typeof window!="undefined"?window:h!==void 0?h:typeof self!="undefined"?self:this,l.mime=d()}}(function(){return function d(l,w,x){function f(m,_){if(!w[m]){if(!l[m]){var P=typeof n=="function"&&n;if(!_&&P)return P(m,!0);if(A)return A(m,!0);var k=new Error("Cannot find module '"+m+"'");throw k.code="MODULE_NOT_FOUND",k}var b=w[m]={exports:{}};l[m][0].call(b.exports,function(L){var D=l[m][1][L];return f(D||L)},b,b.exports,d,l,w,x)}return w[m].exports}for(var A=typeof n=="function"&&n,S=0;S<x.length;S++)f(x[S]);return f}({1:[function(d,l,w){var x=function(){function f(){(0,c.default)(this,f),this._types=(0,u.default)(null),this._extensions=(0,u.default)(null);for(var A=0;A<arguments.length;A++)this.define(arguments[A])}return(0,a.default)(f,[{key:"define",value:function(S,m){for(var _ in S){for(var P=S[_],k=0;k<P.length;k++){var b=P[k];if(!m&&b in this._types)throw new Error('Attempt to change mapping for "'+b+'" extension from "'+this._types[b]+'" to "'+_+'". Pass `force=true` to allow this, otherwise remove "'+b+'" from the list of extensions for "'+_+'".');this._types[b]=_}!m&&this._extensions[_]||(this._extensions[_]=P[0])}}},{key:"getType",value:function(S){S=String(S);var m=S.replace(/^.*[\/\\]/,"").toLowerCase(),_=m.replace(/^.*\./,"").toLowerCase(),P=m.length<S.length;return(_.length<m.length-1||!P)&&this._types[_]||null}},{key:"getExtension",value:function(S){return(S=/^\s*([^;\s]*)/.test(S)&&RegExp.$1)&&this._extensions[S.toLowerCase()]||null}}]),f}();l.exports=x},{}],2:[function(d,l,w){var x=d("./Mime");l.exports=new x(d("./types/standard"),d("./types/other"))},{"./Mime":1,"./types/other":3,"./types/standard":4}],3:[function(d,l,w){l.exports={"application/prs.cww":["cww"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-otf":[],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-ttf":["ttf","ttc"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}},{}],4:[function(d,l,w){l.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":["woff"],"application/font-woff2":["woff2"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/pskc+xml":["pskcxml"],"application/rdf+xml":["rdf"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/voicexml+xml":["vxml"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/xm":["xm"],"font/otf":["otf"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jpeg":["jpeg","jpg","jpe"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/webp":["webp"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}]},{},[2])(2)})}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"babel-runtime/core-js/object/create":19,"babel-runtime/helpers/classCallCheck":30,"babel-runtime/helpers/createClass":31,"babel-runtime/helpers/typeof":32}],243:[function(n,O,v){"use strict";v.encodeURIComponent=function(h){try{return encodeURIComponent(h)}catch(g){return h}},v.escape=n("escape-html"),v.timestamp=function(h){if(h){var g=h;return typeof g=="string"&&(g=Number(g)),String(h).length===10&&(g*=1e3),new Date(g)}return Math.round(Date.now()/1e3)}},{"escape-html":157}],244:[function(n,O,v){(function(h,g){"use strict";function i(k){return k&&k.__esModule?k:{default:k}}function u(k,b){return k===void 0?b:k}function p(k,b){return function(L,D,F){if(L)return b(L);k({data:D,status:F.statusCode,headers:F.headers,res:F})}}var c,e=n("babel-runtime/core-js/json/stringify"),a=i(e),r=n("babel-runtime/helpers/typeof"),s=i(r),d=n("util"),l=n("url"),w=n("http"),x=n("https"),f=n("debug")("urllib"),A=n("humanize-ms"),S=0,m=Math.pow(2,31)-10,_=/^https?:\/\//i;v.TIMEOUTS=[A("300s"),A("300s")];var P=["json","text"];v.request=function(k,b,L){return arguments.length===2&&typeof b=="function"&&(L=b,b=null),typeof L=="function"?v.requestWithCallback(k,b,L):(c||(c=n("any-promise")),new c(function(D,F){v.requestWithCallback(k,b,p(D,F))}))},v.requestWithCallback=function(k,b,L){function D(){se&&(clearTimeout(se),se=null)}function F(){T&&(clearTimeout(T),T=null)}function I(ne,U,re){if(F(),!L)return console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Z,h.pid,ae.method,k),void(ne&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),Z,h.pid,ne.name,ne.message,ne.stack));var le=L;L=null;var ge={};if(re&&(E=re.statusCode,ge=re.headers),E===401&&ge["www-authenticate"]&&(!b.headers||!b.headers.Authorization)&&b.digestAuth){var ye=ge["www-authenticate"];if(ye.indexOf("Digest ")>=0)return f("Request#%d %s: got digest auth header WWW-Authenticate: %s",Z,k,ye),b.headers=b.headers||{},b.headers.Authorization=digestAuthHeader(ae.method,ae.path,ye,b.digestAuth),f("Request#%d %s: auth with digest header: %s",Z,k,b.headers.Authorization),re.headers["set-cookie"]&&(b.headers.Cookie=re.headers["set-cookie"].join(";")),v.requestWithCallback(k,b,le)}var ke=Date.now()-j;me&&(me.contentDownload=ke),f("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",ke,y,E,ae.method,ae.host,ae.path,C,me);var Ie={status:E,statusCode:E,headers:ge,size:y,aborted:V,rt:ke,keepAliveSocket:C,data:U,requestUrls:b.requestUrls,timing:me,remoteAddress:Y,remotePort:_e};if(ne){var Le="";J&&typeof J.getCurrentStatus=="function"&&(Le=", agent status: "+(0,a.default)(J.getCurrentStatus())),ne.message+=", "+ae.method+" "+k+" "+E+" (connected: "+o+", keepalive socket: "+C+Le+`)
|
|
|
headers: `+(0,a.default)(ge),ne.data=U,ne.path=ae.path,ne.status=E,ne.headers=ge,ne.res=Ie}le(ne,U,b.streaming?re:Ie),b.emitter&&(H.url=k,H.socket=xe&&xe.connection,H.options=ae,H.size=ue,b.emitter.emit("response",{requestId:Z,error:ne,ctx:b.ctx,req:H,res:Ie}))}function B(ne){var U=null;if(b.followRedirect&&statuses.redirect[ne.statusCode]){b._followRedirectCount=(b._followRedirectCount||0)+1;var re=ne.headers.location;if(re){if(!(b._followRedirectCount>b.maxRedirects)){var le=b.formatRedirectUrl?b.formatRedirectUrl(k,re):l.resolve(k,re);f("Request#%d %s: `redirected` from %s to %s",Z,ae.path,k,le),F(),b.headers&&b.headers.Host&&_.test(re)&&(b.headers.Host=null);var ge=L;return L=null,v.requestWithCallback(le,b,ge),{redirect:!0,error:null}}U=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+k),U.name="MaxRedirectError"}else U=new Error("Got statusCode "+ne.statusCode+" but cannot resolve next location from headers"),U.name="FollowRedirectError"}return{redirect:!1,error:U}}function G(ne,U,re){return re(null,U,ne.headers["content-encoding"])}function q(ne){if(me&&(me.waiting=Date.now()-j),f("Request#%d %s `req response` event emit: status %d, headers: %j",Z,k,ne.statusCode,ne.headers),b.streaming){var U=B(ne);return U.redirect?void ne.resume():U.error?(ne.resume(),I(U.error,null,ne)):I(null,null,ne)}if(ne.on("close",function(){f("Request#%d %s: `res close` event emit, total size %d",Z,k,y)}),ne.on("error",function(){f("Request#%d %s: `res error` event emit, total size %d",Z,k,y)}),ne.on("aborted",function(){V=!0,f("Request#%d %s: `res aborted` event emit, total size %d",Z,k,y)}),Ee){var U=B(ne);return U.redirect?void ne.resume():U.error?(ne.resume(),Ee.end(),I(U.error,null,ne)):(b.consumeWriteStream===!1?ne.on("end",I.bind(null,null,null,ne)):isNode010||isNode012?first([[Ee,"close"],[ne,"aborted"]],function(ge,ye,ke){f("Request#%d %s: writeStream or res %s event emitted",Z,k,ke),I(t||null,null,ne)}):Ee.on("close",function(){f("Request#%d %s: writeStream close event emitted",Z,k),I(t||null,null,ne)}),ne.pipe(Ee))}var re=[];ne.on("data",function(le){f("Request#%d %s: `res data` event emit, size %d",Z,k,le.length),y+=le.length,re.push(le)}),ne.on("end",function(){var le=g.concat(re,y);if(f("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Z,k,y,ne._dumped),t)return I(t,le,ne);var ge=B(ne);if(ge.error)return I(ge.error,le,ne);ge.redirect||G(ne,le,function(ye,ke,Ie){if(ye)return I(ye,le,ne);if(!Ie&&P.indexOf(b.dataType)>=0){try{ke=decodeBodyByCharset(ke,ne)}catch(Ye){return f("decodeBodyByCharset error: %s",Ye),I(null,ke,ne)}if(b.dataType==="json")if(y===0)ke=null;else{var Le=parseJSON(ke,pe);Le.error?ye=Le.error:ke=Le.data}}V&&f("Request#%d %s: Remote socket was terminated before `response.end()` was called",Z,k),I(ye,ke,ne)})})}function ie(){f("Response timer ticking, timeout: %d",Te),T=setTimeout(function(){T=null;var ne="Response timeout for "+Te+"ms";t=new Error(ne),t.name="ResponseTimeoutError",t.requestId=Z,f("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Z,k,t.name,ne,o),z()},Te)}function z(){f("Request#%d %s abort, connected: %s",Z,k,o),xe.socket||(t.noSocket=!0,I(t)),xe.abort()}if(!k||typeof k!="string"&&(k===void 0?"undefined":(0,s.default)(k))!=="object"){var oe=d.format("expect request url to be a string or a http request options, but got %j",k);throw new Error(oe)}arguments.length===2&&typeof b=="function"&&(L=b,b=null),b=b||{},S>=m&&(S=0);var Z=++S;b.requestUrls=b.requestUrls||[];var H={requestId:Z,url:k,args:b,ctx:b.ctx};b.emitter&&b.emitter.emit("request",H),b.timeout=b.timeout||v.TIMEOUTS,b.maxRedirects=b.maxRedirects||10,b.streaming=b.streaming||b.customResponse;var R,j=Date.now();typeof k=="string"?(_.test(k)||(k="http://"+k),R=l.parse(k)):R=k;var N=(b.type||b.method||R.method||"GET").toUpperCase(),M=R.port||80,K=w,J=u(b.agent,v.agent),pe=b.fixJSONCtlChars;R.protocol==="https:"&&(K=x,J=u(b.httpsAgent,v.httpsAgent),R.port||(M=443));var ae={host:R.hostname||R.host||"localhost",path:R.path||"/",method:N,port:M,agent:J,headers:b.headers||{},lookup:b.lookup};Array.isArray(b.timeout)?ae.requestTimeout=b.timeout[b.timeout.length-1]:b.timeout!==void 0&&(ae.requestTimeout=b.timeout);for(var he=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],ve=0;ve<he.length;ve++){var te=he[ve];b.hasOwnProperty(te)&&(ae[te]=b[te])}ae.rejectUnauthorized!==!1||ae.hasOwnProperty("secureOptions")||(ae.secureOptions=n("constants").SSL_OP_NO_TLSv1_2);var ee=b.auth||R.auth;ee&&(ae.auth=ee);var ce=b.content||b.data,W=N==="GET"||N==="HEAD"||b.dataAsQueryString;if(!b.content&&ce&&typeof ce!="string"&&!g.isBuffer(ce))if(W)ce=b.nestedQuerystring?qs.stringify(ce):querystring.stringify(ce);else{var X=ae.headers["Content-Type"]||ae.headers["content-type"];X||(X=b.contentType==="json"?"application/json":"application/x-www-form-urlencoded",ae.headers["Content-Type"]=X),ce=parseContentType(X).type==="application/json"?(0,a.default)(ce):b.nestedQuerystring?qs.stringify(ce):querystring.stringify(ce)}W&&ce&&(ae.path+=(R.query?"&":"?")+ce,ce=null);var ue=0;if(ce){var $=ce.length;g.isBuffer(ce)||($=g.byteLength(ce)),ue=ae.headers["Content-Length"]=$}b.dataType==="json"&&(ae.headers.Accept="application/json"),typeof b.beforeRequest=="function"&&b.beforeRequest(ae);var se=null,T=null,t=null,o=!1,C=!1,y=0,E=-1,V=!1,Y="",_e="",me=null;b.timing&&(me={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0}),ae.headers["User-Agent"]||ae.headers["user-agent"]||(ae.headers["User-Agent"]=navigator.userAgent),b.gzip&&(ae.headers["Accept-Encoding"]||ae.headers["accept-encoding"]||(ae.headers["Accept-Encoding"]="gzip"));var Ee=b.writeStream;f("Request#%d %s %s with headers %j, options.path: %s",Z,N,k,ae.headers,ae.path),b.requestUrls.push(k);var Ae,Te;Array.isArray(b.timeout)?(Ae=A(b.timeout[0]),Te=A(b.timeout[1])):Ae=Te=A(b.timeout),f("ConnectTimeout: %d, ResponseTimeout: %d",Ae,Te);var xe;try{xe=K.request(ae,q)}catch(ne){return I(ne)}return typeof window=="undefined"?function(){f("Connect timer ticking, timeout: %d",Ae),se=setTimeout(function(){se=null,E===-1&&(E=-2);var ne="Connect timeout for "+Ae+"ms",U="ConnectionTimeoutError";xe.socket||(U="SocketAssignTimeoutError",ne+=", working sockets is full"),t=new Error(ne),t.name=U,t.requestId=Z,f("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Z,k,t.name,ne,o),z()},Ae)}():xe.on("requestTimeout",function(){E===-1&&(E=-2);var ne="Connect timeout for "+Ae+"ms";t=new Error(ne),t.name="ConnectionTimeoutError",t.requestId=Z,z()}),me&&xe.on("finish",function(){me.requestSent=Date.now()-j}),xe.once("socket",function(ne){me&&(me.queuing=Date.now()-j),isNode010&&ne.socket&&(ne=ne.socket);var U=ne.readyState;if(U==="opening")return ne.once("lookup",function(re,le,ge){f("Request#%d %s lookup: %s, %s, %s",Z,k,re,le,ge),me&&(me.dnslookup=Date.now()-j),le&&(Y=le)}),void ne.once("connect",function(){me&&(me.connected=Date.now()-j),D(),ie(),f("Request#%d %s new socket connected",Z,k),o=!0,Y||(Y=ne.remoteAddress),_e=ne.remotePort});f("Request#%d %s reuse socket connected, readyState: %s",Z,k,U),o=!0,C=!0,Y||(Y=ne.remoteAddress),_e=ne.remotePort,D(),ie()}),xe.on("error",function(ne){ne.name!=="Error"&&ne.name!=="TypeError"||(ne.name=o?"ResponseError":"RequestError"),ne.message+=' (req "error")',f("Request#%d %s `req error` event emit, %s: %s",Z,k,ne.name,ne.message),I(t||ne)}),Ee&&Ee.once("error",function(ne){ne.message+=' (writeStream "error")',t=ne,f("Request#%d %s `writeStream error` event emit, %s: %s",Z,k,ne.name,ne.message),z()}),b.stream?(b.stream.pipe(xe),b.stream.once("error",function(ne){ne.message+=' (stream "error")',t=ne,f("Request#%d %s `readStream error` event emit, %s: %s",Z,k,ne.name,ne.message),z()})):xe.end(ce),xe.requestId=Z,xe}}).call(this,n("_process"),n("buffer").Buffer)},{_process:173,"any-promise":13,"babel-runtime/core-js/json/stringify":17,"babel-runtime/helpers/typeof":32,buffer:38,constants:42,debug:155,http:196,https:159,"humanize-ms":160,url:203,util:207}]},{},[1])(1)}),!function(fe){function n(v){if(O[v])return O[v].exports;var h=O[v]={i:v,l:!1,exports:{}};return fe[v].call(h.exports,h,h.exports,n),h.l=!0,h.exports}var O={};n.m=fe,n.c=O,n.d=function(v,h,g){n.o(v,h)||Object.defineProperty(v,h,{configurable:!1,enumerable:!0,get:g})},n.n=function(v){var h=v&&v.__esModule?function(){return v.default}:function(){return v};return n.d(h,"a",h),h},n.o=function(v,h){return Object.prototype.hasOwnProperty.call(v,h)},n.p="",n(n.s=12)}([function(fe,n,O){!function(v,h){fe.exports=n=h()}(0,function(){var v=v||function(h,g){var i=Object.create||function(){function x(){}return function(f){var A;return x.prototype=f,A=new x,x.prototype=null,A}}(),u={},p=u.lib={},c=p.Base=function(){return{extend:function(f){var A=i(this);return f&&A.mixIn(f),A.hasOwnProperty("init")&&this.init!==A.init||(A.init=function(){A.$super.init.apply(this,arguments)}),A.init.prototype=A,A.$super=this,A},create:function(){var f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var A in f)f.hasOwnProperty(A)&&(this[A]=f[A]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),e=p.WordArray=c.extend({init:function(f,A){f=this.words=f||[],this.sigBytes=A!=null?A:4*f.length},toString:function(f){return(f||r).stringify(this)},concat:function(f){var A=this.words,S=f.words,m=this.sigBytes,_=f.sigBytes;if(this.clamp(),m%4)for(var P=0;P<_;P++){var k=S[P>>>2]>>>24-P%4*8&255;A[m+P>>>2]|=k<<24-(m+P)%4*8}else for(var P=0;P<_;P+=4)A[m+P>>>2]=S[P>>>2];return this.sigBytes+=_,this},clamp:function(){var f=this.words,A=this.sigBytes;f[A>>>2]&=4294967295<<32-A%4*8,f.length=h.ceil(A/4)},clone:function(){var f=c.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var A,S=[],m=0;m<f;m+=4){var _=function(P){var P=P,k=987654321,b=4294967295;return function(){k=36969*(65535&k)+(k>>16)&b,P=18e3*(65535&P)+(P>>16)&b;var L=(k<<16)+P&b;return L/=4294967296,(L+=.5)*(h.random()>.5?1:-1)}}(4294967296*(A||h.random()));A=987654071*_(),S.push(4294967296*_()|0)}return new e.init(S,f)}}),a=u.enc={},r=a.Hex={stringify:function(f){for(var A=f.words,S=f.sigBytes,m=[],_=0;_<S;_++){var P=A[_>>>2]>>>24-_%4*8&255;m.push((P>>>4).toString(16)),m.push((15&P).toString(16))}return m.join("")},parse:function(f){for(var A=f.length,S=[],m=0;m<A;m+=2)S[m>>>3]|=parseInt(f.substr(m,2),16)<<24-m%8*4;return new e.init(S,A/2)}},s=a.Latin1={stringify:function(f){for(var A=f.words,S=f.sigBytes,m=[],_=0;_<S;_++){var P=A[_>>>2]>>>24-_%4*8&255;m.push(String.fromCharCode(P))}return m.join("")},parse:function(f){for(var A=f.length,S=[],m=0;m<A;m++)S[m>>>2]|=(255&f.charCodeAt(m))<<24-m%4*8;return new e.init(S,A)}},d=a.Utf8={stringify:function(f){try{return decodeURIComponent(escape(s.stringify(f)))}catch(A){throw new Error("Malformed UTF-8 data")}},parse:function(f){return s.parse(unescape(encodeURIComponent(f)))}},l=p.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new e.init,this._nDataBytes=0},_append:function(f){typeof f=="string"&&(f=d.parse(f)),this._data.concat(f),this._nDataBytes+=f.sigBytes},_process:function(f){var A=this._data,S=A.words,m=A.sigBytes,_=this.blockSize,P=4*_,k=m/P;k=f?h.ceil(k):h.max((0|k)-this._minBufferSize,0);var b=k*_,L=h.min(4*b,m);if(b){for(var D=0;D<b;D+=_)this._doProcessBlock(S,D);var F=S.splice(0,b);A.sigBytes-=L}return new e.init(F,L)},clone:function(){var f=c.clone.call(this);return f._data=this._data.clone(),f},_minBufferSize:0}),w=(p.Hasher=l.extend({cfg:c.extend(),init:function(f){this.cfg=this.cfg.extend(f),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(f){return this._append(f),this._process(),this},finalize:function(f){return f&&this._append(f),this._doFinalize()},blockSize:16,_createHelper:function(f){return function(A,S){return new f.init(S).finalize(A)}},_createHmacHelper:function(f){return function(A,S){return new w.HMAC.init(f,S).finalize(A)}}}),u.algo={});return u}(Math);return v})},function(fe,n,O){"use strict";function v(i,u){if(!(i instanceof u))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(u,p){for(var c=0;c<p.length;c++){var e=p[c];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(u,e.key,e)}}return function(u,p,c){return p&&i(u.prototype,p),c&&i(u,c),u}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"detectIEVersion",value:function(){for(var p=4,c=document.createElement("div"),e=c.getElementsByTagName("i");c.innerHTML="<!--[if gt IE "+p+"]><i></i><![endif]-->",e[0];)p++;return p>4&&p}},{key:"extend",value:function(p,c){for(var e in c)Object.prototype.hasOwnProperty.call(c,e)&&c[e]&&(p[e]=c[e])}},{key:"isArray",value:function(p){return Object.prototype.toString.call(arg)==="[object Array]"}},{key:"getFileType",value:function(p){return p=p.toLowerCase(),/.mp4|.flv|.m3u8|.avi|.rm|.rmvb|.mpeg|.mpg|.mov|.wmv|.3gp|.asf|.dat|.dv|.f4v|.gif|.m2t|.m4v|.mj2|.mjpeg|.mpe|.mts|.ogg|.qt|.swf|.ts|.vob|.wmv|.webm/.test(p)?"video":/.mp3|.wav|.ape|.cda|.au|.midi|.mac|.aac|.ac3|.acm|.amr|.caf|.flac|.m4a|.ra|.wma/.test(p)?"audio":/.bmp|.jpg|.jpeg|.png/.test(p)?"img":"other"}},{key:"isImage",value:function(p){return p=p.toLowerCase(),!!/.jpg|.jpeg|.png/.test(p)}},{key:"ISODateString",value:function(p){function c(e){return e<10?"0"+e:e}return p.getUTCFullYear()+"-"+c(p.getUTCMonth()+1)+"-"+c(p.getUTCDate())+"T"+c(p.getUTCHours())+":"+c(p.getUTCMinutes())+":"+c(p.getUTCSeconds())+"Z"}},{key:"isIntNum",value:function(p){return!!/^\d+$/.test(p)}}]),i}();n.default=g},function(fe,n,O){!function(v,h){fe.exports=n=h(O(0))}(0,function(v){return function(h){function g(w,x,f,A,S,m,_){var P=w+(x&f|~x&A)+S+_;return(P<<m|P>>>32-m)+x}function i(w,x,f,A,S,m,_){var P=w+(x&A|f&~A)+S+_;return(P<<m|P>>>32-m)+x}function u(w,x,f,A,S,m,_){var P=w+(x^f^A)+S+_;return(P<<m|P>>>32-m)+x}function p(w,x,f,A,S,m,_){var P=w+(f^(x|~A))+S+_;return(P<<m|P>>>32-m)+x}var c=v,e=c.lib,a=e.WordArray,r=e.Hasher,s=c.algo,d=[];!function(){for(var w=0;w<64;w++)d[w]=4294967296*h.abs(h.sin(w+1))|0}();var l=s.MD5=r.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(x,f){for(var A=0;A<16;A++){var S=f+A,m=x[S];x[S]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8)}var _=this._hash.words,P=x[f+0],k=x[f+1],b=x[f+2],L=x[f+3],D=x[f+4],F=x[f+5],I=x[f+6],B=x[f+7],G=x[f+8],q=x[f+9],ie=x[f+10],z=x[f+11],oe=x[f+12],Z=x[f+13],H=x[f+14],R=x[f+15],j=_[0],N=_[1],M=_[2],K=_[3];j=g(j,N,M,K,P,7,d[0]),K=g(K,j,N,M,k,12,d[1]),M=g(M,K,j,N,b,17,d[2]),N=g(N,M,K,j,L,22,d[3]),j=g(j,N,M,K,D,7,d[4]),K=g(K,j,N,M,F,12,d[5]),M=g(M,K,j,N,I,17,d[6]),N=g(N,M,K,j,B,22,d[7]),j=g(j,N,M,K,G,7,d[8]),K=g(K,j,N,M,q,12,d[9]),M=g(M,K,j,N,ie,17,d[10]),N=g(N,M,K,j,z,22,d[11]),j=g(j,N,M,K,oe,7,d[12]),K=g(K,j,N,M,Z,12,d[13]),M=g(M,K,j,N,H,17,d[14]),N=g(N,M,K,j,R,22,d[15]),j=i(j,N,M,K,k,5,d[16]),K=i(K,j,N,M,I,9,d[17]),M=i(M,K,j,N,z,14,d[18]),N=i(N,M,K,j,P,20,d[19]),j=i(j,N,M,K,F,5,d[20]),K=i(K,j,N,M,ie,9,d[21]),M=i(M,K,j,N,R,14,d[22]),N=i(N,M,K,j,D,20,d[23]),j=i(j,N,M,K,q,5,d[24]),K=i(K,j,N,M,H,9,d[25]),M=i(M,K,j,N,L,14,d[26]),N=i(N,M,K,j,G,20,d[27]),j=i(j,N,M,K,Z,5,d[28]),K=i(K,j,N,M,b,9,d[29]),M=i(M,K,j,N,B,14,d[30]),N=i(N,M,K,j,oe,20,d[31]),j=u(j,N,M,K,F,4,d[32]),K=u(K,j,N,M,G,11,d[33]),M=u(M,K,j,N,z,16,d[34]),N=u(N,M,K,j,H,23,d[35]),j=u(j,N,M,K,k,4,d[36]),K=u(K,j,N,M,D,11,d[37]),M=u(M,K,j,N,B,16,d[38]),N=u(N,M,K,j,ie,23,d[39]),j=u(j,N,M,K,Z,4,d[40]),K=u(K,j,N,M,P,11,d[41]),M=u(M,K,j,N,L,16,d[42]),N=u(N,M,K,j,I,23,d[43]),j=u(j,N,M,K,q,4,d[44]),K=u(K,j,N,M,oe,11,d[45]),M=u(M,K,j,N,R,16,d[46]),N=u(N,M,K,j,b,23,d[47]),j=p(j,N,M,K,P,6,d[48]),K=p(K,j,N,M,B,10,d[49]),M=p(M,K,j,N,H,15,d[50]),N=p(N,M,K,j,F,21,d[51]),j=p(j,N,M,K,oe,6,d[52]),K=p(K,j,N,M,L,10,d[53]),M=p(M,K,j,N,ie,15,d[54]),N=p(N,M,K,j,k,21,d[55]),j=p(j,N,M,K,G,6,d[56]),K=p(K,j,N,M,R,10,d[57]),M=p(M,K,j,N,I,15,d[58]),N=p(N,M,K,j,Z,21,d[59]),j=p(j,N,M,K,D,6,d[60]),K=p(K,j,N,M,z,10,d[61]),M=p(M,K,j,N,b,15,d[62]),N=p(N,M,K,j,q,21,d[63]),_[0]=_[0]+j|0,_[1]=_[1]+N|0,_[2]=_[2]+M|0,_[3]=_[3]+K|0},_doFinalize:function(){var x=this._data,f=x.words,A=8*this._nDataBytes,S=8*x.sigBytes;f[S>>>5]|=128<<24-S%32;var m=h.floor(A/4294967296),_=A;f[15+(S+64>>>9<<4)]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8),f[14+(S+64>>>9<<4)]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8),x.sigBytes=4*(f.length+1),this._process();for(var P=this._hash,k=P.words,b=0;b<4;b++){var L=k[b];k[b]=16711935&(L<<8|L>>>24)|4278255360&(L<<24|L>>>8)}return P},clone:function(){var x=r.clone.call(this);return x._hash=this._hash.clone(),x}});c.MD5=r._createHelper(l),c.HmacMD5=r._createHmacHelper(l)}(Math),v.MD5})},function(fe,n,O){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.UPLOADSTATE={INIT:"init",UPLOADING:"uploading",COMPLETE:"complete",INTERRUPT:"interrupt"},n.UPLOADSTEP={INIT:"init",PART:"part",COMPLETE:"complete"},n.UPLOADDEFAULT={PARALLEL:5,PARTSIZE:1048576}},function(fe,n,O){"use strict";function v(l){return l&&l.__esModule?l:{default:l}}function h(l,w){if(!(l instanceof w))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function l(w,x){for(var f=0;f<x.length;f++){var A=x[f];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}return function(w,x,f){return x&&l(w.prototype,x),f&&l(w,f),w}}(),i=O(5),u=v(i),p=O(25),c=v(p),e=O(6),a=v(e),r=O(7),s=v(r),d=function(){function l(w){h(this,l);var x=s.default.os.name,f=s.default.os.version||"",A=s.default.browser.name,S=s.default.browser.version||"",m=window.location.href,_="";m&&(_=s.default.getHost(m));var P="pc";s.default.os.ipad?P="pad":(s.default.os.iphone||s.default.os.android)&&(P="phone"),this._ri=u.default.create(),this.initParam={APIVersion:"0.6.0",lv:"1",av:a.default.version,pd:"upload",sm:"upload",md:"uploader",uuid:l.getUuid(),os:x,ov:f,et:A,ev:S,uat:navigator.userAgent,app_n:_,tt:P,dm:"h5",ut:""}}return g(l,[{key:"log",value:function(x,f){f&&f.ri?(this._ri=f.ri,delete f.ri):this._ri=u.default.create(),f&&f.ut&&(this.initParam.ut=f.ut,delete f.ut),this.initParam.t=new Date().getTime(),this.initParam.ll=x=="20006"?"error":"info",this.initParam.ri=this._ri,this.initParam.e=x;var A=[];if(f)for(var S in f)A.push(S+"="+f[S]);var m=A.join("&");this.initParam.args=encodeURIComponent(m==""?"0":m);var _=[];for(var S in this.initParam)_.push(S+"="+this.initParam[S]);var P=_.join("&");AliyunUpload&&AliyunUpload.__logTestCallback__?AliyunUpload.__logTestCallback__(P):new Image(0,0).src="https://videocloud.cn-hangzhou.log.aliyuncs.com/logstores/upload/track?"+P}}],[{key:"getUuid",value:function(){var x=c.default.get("p_h5_upload_u");return x||(x=u.default.create(),c.default.set("p_h5_upload_u",x,730)),x}},{key:"getClientId",value:function(){return c.default.get("p_h5_upload_clientId")}},{key:"setClientId",value:function(x){return x||(x=u.default.create()),c.default.set("p_h5_upload_clientId",x,730),x}}]),l}();n.default=d},function(fe,n,O){"use strict";function v(i,u){if(!(i instanceof u))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(u,p){for(var c=0;c<p.length;c++){var e=p[c];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(u,e.key,e)}}return function(u,p,c){return p&&i(u.prototype,p),c&&i(u,c),u}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"create",value:function(p,c){var e,a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(c=c||a.length,p)for(e=0;e<p;e++)r[e]=a[0|Math.random()*c];else{var s;for(r[8]=r[13]=r[18]=r[23]="-",r[14]="4",e=0;e<36;e++)r[e]||(s=0|16*Math.random(),r[e]=a[e==19?3&s|8:s])}return r.join("")}}]),i}();n.default=g},function(fe,n,O){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var v={version:"1.5.0"};n.default=v},function(fe,n,O){"use strict";function v(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function e(a,r){for(var s=0;s<r.length;s++){var d=r[s];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(a,r,s){return r&&e(a.prototype,r),s&&e(a,s),a}}(),g=function(a){var r=navigator.userAgent,s="other";if(a.ios)return"iOS";if(a.android)return"android";if(r.indexOf("Baiduspider")>-1)return"Baiduspider";if(r.indexOf("PlayStation")>-1)return"PS4";var d=navigator.platform=="Win32"||navigator.platform=="Windows"||r.indexOf("Windows")>-1,l=navigator.platform=="Mac68K"||navigator.platform=="MacPPC"||navigator.platform=="Macintosh"||navigator.platform=="MacIntel";return l&&(s="macOS"),navigator.platform=="X11"&&!d&&!l&&(s="Unix"),String(navigator.platform).indexOf("Linux")>-1&&(s="Linux"),d?"windows":s},i=function(){var a=navigator.userAgent,r="";return(a.indexOf("Windows NT 5.0")>-1||a.indexOf("Windows 2000")>-1)&&(r="2000"),(a.indexOf("Windows NT 5.1")>-1||a.indexOf("Windows XP")>-1)&&(r="XP"),(a.indexOf("Windows NT 5.2")>-1||a.indexOf("Windows 2003")>-1)&&(r="2003"),(a.indexOf("Windows NT 6.0")>-1||a.indexOf("Windows Vista")>-1)&&(r="Vista"),(a.indexOf("Windows NT 6.1")>-1||a.indexOf("Windows 7")>-1)&&(r="7"),(a.indexOf("Windows NT 6.2")>-1||a.indexOf("Windows 8")>-1)&&(r="8"),(a.indexOf("Windows NT 6.3")>-1||a.indexOf("Windows 8.1")>-1)&&(r="8.1"),(a.indexOf("Windows NT 10")>-1||a.indexOf("Windows 10")>-1)&&(r="10"),r},u=function(a){var r=navigator.userAgent.toLowerCase();return a.chrome?"Chrome":a.firefox?"Firefox":a.safari?"Safari":a.webview?"webview":a.ie?/edge/.test(r)?"Edge":"IE":/baiduspider/.test(r)?"Baiduspider":/ucweb/.test(r)||/UCBrowser/.test(r)?"UC":/opera/.test(r)?"Opera":/ucweb/.test(r)?"UC":/360se/.test(r)?"360\u6D4F\u89C8\u5668":/bidubrowser/.test(r)?"\u767E\u5EA6\u6D4F\u89C8\u5668":/metasr/.test(r)?"\u641C\u72D7\u6D4F\u89C8\u5668":/lbbrowser/.test(r)?"\u730E\u8C79\u6D4F\u89C8\u5668":/micromessenger/.test(r)?"\u5FAE\u4FE1\u5185\u7F6E\u6D4F\u89C8\u5668":/qqbrowser/.test(r)?"QQ\u6D4F\u89C8\u5668":/playstation/.test(r)?"PS4\u6D4F\u89C8\u5668":void 0},p=function(){var e={},a={},r=navigator.userAgent,s=navigator.platform,d=r.match(/Web[kK]it[\/]{0,1}([\d.]+)/),l=r.match(/(Android);?[\s\/]+([\d.]+)?/),w=!!r.match(/\(Macintosh\; Intel /),x=r.match(/(iPad).*OS\s([\d_]+)/),f=r.match(/(iPod)(.*OS\s([\d_]+))?/),A=!x&&r.match(/(iPhone\sOS)\s([\d_]+)/),S=r.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),m=/Win\d{2}|Windows/.test(s),_=r.match(/Windows Phone ([\d.]+)/),P=S&&r.match(/TouchPad/),k=r.match(/Kindle\/([\d.]+)/),b=r.match(/Silk\/([\d._]+)/),L=r.match(/(BlackBerry).*Version\/([\d.]+)/),D=r.match(/(BB10).*Version\/([\d.]+)/),F=r.match(/(RIM\sTablet\sOS)\s([\d.]+)/),I=r.match(/PlayBook/),B=r.match(/Chrome\/([\d.]+)/)||r.match(/CriOS\/([\d.]+)/),G=r.match(/Firefox\/([\d.]+)/),q=r.match(/\((?:Mobile|Tablet); rv:([\d.]+)\).*Firefox\/[\d.]+/),ie=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/[\d](?=[^\?]+).*rv:([0-9.].)/),z=!B&&r.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/),oe=z||r.match(/Version\/([\d.]+)([^S](Safari)|[^M]*(Mobile)[^S]*(Safari))/);if((a.webkit=!!d)&&(a.version=d[1]),l&&(e.android=!0,e.version=l[2]),A&&!f&&(e.ios=e.iphone=!0,e.version=A[2].replace(/_/g,".")),x&&(e.ios=e.ipad=!0,e.version=x[2].replace(/_/g,".")),f&&(e.ios=e.ipod=!0,e.version=f[3]?f[3].replace(/_/g,"."):null),_&&(e.wp=!0,e.version=_[1]),S&&(e.webos=!0,e.version=S[2]),P&&(e.touchpad=!0),L&&(e.blackberry=!0,e.version=L[2]),D&&(e.bb10=!0,e.version=D[2]),F&&(e.rimtabletos=!0,e.version=F[2]),I&&(a.playbook=!0),k&&(e.kindle=!0,e.version=k[1]),b&&(a.silk=!0,a.version=b[1]),!b&&e.android&&r.match(/Kindle Fire/)&&(a.silk=!0),B&&(a.chrome=!0,a.version=B[1]),G&&(a.firefox=!0,a.version=G[1]),q&&(e.firefoxos=!0,e.version=q[1]),ie&&(a.ie=!0,a.version=ie[1]),oe&&(w||e.ios||m||l)&&(a.safari=!0,e.ios||(a.version=oe[1])),z&&(a.webview=!0),w){var Z=r.match(/[\d]*_[\d]*_[\d]*/);Z&&Z.length>0&&Z[0]&&(e.version=Z[0].replace(/_/g,"."))}return e.tablet=!!(x||I||l&&!r.match(/Mobile/)||G&&r.match(/Tablet/)||ie&&!r.match(/Phone/)&&r.match(/Touch/)),e.phone=!(e.tablet||e.ipod||!(l||A||S||L||D||B&&r.match(/Android/)||B&&r.match(/CriOS\/([\d.]+)/)||G&&r.match(/Mobile/)||ie&&r.match(/Touch/))),e.pc=!e.tablet&&!e.phone,w?e.name="macOS":m?(e.name="windows",e.version=i()):e.name=g(e),a.name=u(a),{os:e,browser:a}}(),c=function(){function e(){v(this,e)}return h(e,null,[{key:"getHost",value:function(r){var s="";if(r===void 0||r==null||r=="")return"";var d=r.indexOf("//"),l=r;d>-1&&(l=r.substring(d+2));var s=l,w=l.split("/");return w&&w.length>0&&(s=w[0]),w=s.split(":"),w&&w.length>0&&(s=w[0]),s}},{key:"os",get:function(){return p.os}},{key:"browser",get:function(){var r=p.browser;return r.name||(r.name=u()),r}}]),e}();n.default=c},function(fe,n,O){"use strict";function v(i,u){if(!(i instanceof u))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(u,p){for(var c=0;c<p.length;c++){var e=p[c];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(u,e.key,e)}}return function(u,p,c){return p&&i(u.prototype,p),c&&i(u,c),u}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"get",value:function(p,c,e,a,r){var s;e=e||function(){},typeof XMLHttpRequest=="undefined"&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(d){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(d){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(d){}throw new Error("This browser does not support XMLHttpRequest.")}),s=new XMLHttpRequest,s.onreadystatechange=function(){s.readyState===4&&(s.status===200?c(s.responseText):e(s.responseText))};try{a===void 0&&(a=!0),s.open("GET",p,a),r&&(s.withCredentials=!0)}catch(d){return void e(d)}try{s.send()}catch(d){e(d)}}}]),i}();n.default=g},function(fe,n,O){"use strict";function v(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function p(c,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(c,r.key,r)}}return function(c,e,a){return e&&p(c.prototype,e),a&&p(c,a),c}}(),g=O(27),i=O(30),u=(O(10),function(){function p(){v(this,p)}return h(p,null,[{key:"randomUUID",value:function(){for(var e=[],a="0123456789abcdef",r=0;r<36;r++)e[r]=a.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=a.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}},{key:"aliyunEncodeURI",value:function(e){var a=encodeURIComponent(e);return a=a.replace(/\+/g,"%20").replace(/\*/g,"%2A").replace(/%7E/g,"~").replace(/!/g,"%21").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}},{key:"makeUTF8sort",value:function(e,a,r){if(!e)throw new Error("PrismPlayer Error: vid should not be null!");var s=[];for(var d in e)s.push(d);for(var l=s.sort(),w="",x=l.length,d=0;d<x;d++){var f=p.aliyunEncodeURI(l[d]),A=p.aliyunEncodeURI(e[l[d]]);w==""?w=f+a+A:w+=r+f+a+A}return w}},{key:"makeChangeSiga",value:function(e,a){if(!e)throw new Error("PrismPlayer Error: vid should not be null!");return i.stringify(g("GET&"+p.aliyunEncodeURI("/")+"&"+p.aliyunEncodeURI(p.makeUTF8sort(e,"=","&")),a+"&"))}}]),p}());n.default=u},function(fe,n,O){!function(v,h){fe.exports=n=h(O(0))}(0,function(v){return v.enc.Utf8})},function(fe,n,O){!function(v,h){fe.exports=n=h(O(0))}(0,function(v){return v.enc.Hex})},function(fe,n,O){fe.exports=O(13)},function(fe,n,O){"use strict";var v,h,g=(typeof Symbol=="function"&&Symbol.iterator,O(14)),i=function(p){return p&&p.__esModule?p:{default:p}}(g),u={Vod:i.default};v=[],(h=function(){return u}.apply(n,v))!==void 0&&(fe.exports=h),window.AliyunUpload=u,We.exports=AliyunUpload},function(fe,n,O){"use strict";function v(D){return D&&D.__esModule?D:{default:D}}function h(D,F){if(!(D instanceof F))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function D(F,I){for(var B=0;B<I.length;B++){var G=I[B];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(F,G.key,G)}}return function(F,I,B){return I&&D(F.prototype,I),B&&D(F,B),F}}(),i=O(15),u=O(3),p=O(16),c=v(p),e=O(18),a=v(e),r=O(24),s=v(r),d=O(4),l=v(d),w=O(1),x=v(w),f=O(5),A=v(f),S=O(26),m=v(S),_=O(31),P=v(_),k=O(32),b=v(k),L=(O(2),function(){function D(F){h(this,D),this.options=F,this.options.partSize=this.options.partSize||u.UPLOADDEFAULT.PARTSIZE,this.options.parallel=this.options.parallel||u.UPLOADDEFAULT.PARALLEL,this.options.region=this.options.region||"cn-shanghai",this.options.cname=this.options.cname||!1,this.options.localCheckpoint=this.options.localCheckpoint||!1,this.options.enableUploadProgress===void 0&&(this.options.enableUploadProgress=!0),this._ossCreditor=new Object,this._state=i.VODSTATE.INIT,this._uploadList=[],this._curIndex=-1,this._ossUpload=null,this._log=new l.default,this._retryCount=0,this._retryTotal=this.options.retryCount||3,this._retryDuration=this.options.retryDuration||2,this._state=i.VODSTATE.INIT,this._uploadWay="vod",this._onbeforeunload=!1,this._invalidUserId=!1,this._initEvent()}return g(D,[{key:"init",value:function(I,B,G,q){return this._retryCount=0,!(G&&!q||!G&&q)&&!(I&&!B||!I&&B)&&(this._ossCreditor.accessKeyId=I,this._ossCreditor.accessKeySecret=B,this._ossCreditor.securityToken=G,this._ossCreditor.expireTime=q,!0)}},{key:"addFile",value:function(I,B,G,q,ie,z){if(!I)return!1;if(I.size==0)try{this.options.onUploadFailed({file:I},"EmptyFile","\u6587\u4EF6\u5927\u5C0F\u4E3A0\uFF0C\u4E0D\u80FD\u4E0A\u4F20")}catch(R){console.log(R)}for(var oe=(this.options,0);oe<this._uploadList.length;oe++)if(this._uploadList[oe].file==I)return!1;var Z=new Object;if(Z.file=I,Z._endpoint=B,Z._bucket=G,Z._object=q,Z.state=i.UPLOADSTATE.INIT,Z.isImage=x.default.isImage(I.name),!Z.isImage&&this.options.enableUploadProgress){var H=this;b.default.getMd5(I,function(R){Z.fileHash=R;var j=H._getCheckoutpoint(Z);H.options.localCheckpoint||j||H._getCheckoutpointFromCloud(Z,function(N){if(N.UploadPoint){var M=JSON.parse(N.UploadPoint);M.loaded!=1&&(Z.checkpoint=M.checkpoint,Z.loaded=M.loaded,Z.videoId=N.VideoId,H._saveCheckoutpoint(Z,M.checkpoint))}},function(N){try{if((N=JSON.parse(N))&&N.Code=="InvalidParameter"&&N.Message.indexOf("UserId")>0){H._invalidUserId=!0;var M=N.Message+"\uFF0C\u6B63\u786E\u8D26\u53F7ID(userId)\u8BF7\u53C2\u8003\uFF1Ahttps://help.aliyun.com/knowledge_detail/37196.html";console.log(M)}}catch(K){console.log(K)}})})}ie&&(Z.videoInfo=ie?JSON.parse(ie).Vod:{},Z.userData=a.default.encode(ie)),Z.ri=A.default.create(),this._uploadList.push(Z),this._reportLog("20001",Z,{ql:this._uploadList.length});try{this.options.addFileSuccess&&this.options.addFileSuccess(Z)}catch(R){console.log(R)}return!0}},{key:"deleteFile",value:function(I){return!!this.cancelFile(I)&&(this._uploadList.splice(I,1),!0)}},{key:"cleanList",value:function(){this.stopUpload(),this._uploadList.length=0,this._curIndex=-1}},{key:"cancelFile",value:function(I){if(this.options,I<0||I>=this._uploadList.length)return!1;var B=this._uploadList[I];if(I==this._curIndex&&B.state==i.UPLOADSTATE.UPLOADING){B.state=i.UPLOADSTATE.CANCELED;var G=this._getCheckoutpoint(B);G&&G.checkpoint&&(G=G.checkpoint),G&&this._ossUpload.abort(B),this._removeCheckoutpoint(B),this.nextUpload()}else B.state!=i.UPLOADSTATE.SUCCESS&&(B.state=i.UPLOADSTATE.CANCELED);return this._reportLog("20008",B),!0}},{key:"resumeFile",value:function(I){if(this.options,I<0||I>=this._uploadList.length)return!1;var B=this._uploadList[I];return B.state==i.UPLOADSTATE.CANCELED&&(B.state=i.UPLOADSTATE.INIT,!0)}},{key:"listFiles",value:function(){return this._uploadList}},{key:"getCheckpoint",value:function(I){return this._getCheckoutpoint({file:I})}},{key:"startUpload",value:function(I){if(this._retryCount=0,this.options,this._state==i.VODSTATE.START||this._state==i.VODSTATE.EXPIRE)return void console.log("already started or expired");if(this._initState(),this._curIndex=this._findUploadIndex(),this._curIndex==-1)return void(this._state=i.VODSTATE.END);var B=this._uploadList[this._curIndex];this._ossUpload=null,this._upload(B),this._state=i.VODSTATE.START}},{key:"nextUpload",value:function(){var I=this.options;if(this._state==i.VODSTATE.START)if(this._curIndex=this._findUploadIndex(),this._curIndex!=-1){var B=this._uploadList[this._curIndex];this._ossUpload=null,this._upload(B)}else{this._state=i.VODSTATE.END;try{I.onUploadEnd&&I.onUploadEnd(B)}catch(G){console.log(G)}}}},{key:"clear",value:function(I){for(var B=this.options,G=0,q=0;q<this._uploadList.length;q++)B.uploadList[q].state==i.UPLOADSTATE.SUCCESS&&G++,this._uploadList[q].state==I&&(B.uploadList.splice(q,1),q--);B.onClear&&B.onClear(B.uploadList.length,G)}},{key:"stopUpload",value:function(){if((this._state==i.VODSTATE.START||this._state==i.VODSTATE.FAILURE||this._curIndex==-1)&&this._curIndex!=-1){var I=this._uploadList[this._curIndex];this._state=i.VODSTATE.STOP,I.state=i.UPLOADSTATE.STOPED,this._changeState(I,i.UPLOADSTATE.STOPED),this._ossUpload.cancel()}}},{key:"resumeUploadWithAuth",value:function(I){var B=this;if(!I)return!1;var G=JSON.parse(a.default.decode(I));return!!(G.AccessKeyId&&G.AccessKeySecret&&G.SecurityToken&&G.Expiration)&&B.resumeUploadWithToken(G.AccessKeyId,G.AccessKeySecret,G.SecurityToken,G.Expiration)}},{key:"resumeUploadWithToken",value:function(I,B,G,q){if(this.options,!(I&&B&&G&&q))return!1;if(this._state!=i.VODSTATE.EXPIRE)return!1;if(this._curIndex==-1)return!1;var ie="";return this._uploadList.length>this._curIndex&&(ie=this._uploadList[this._curIndex]),ie&&(this.init(I,B,G,q),this._state=i.VODSTATE.START,this._ossUpload=null,this._uploadCore(ie,ie.retry),ie.retry=!1),!0}},{key:"resumeUploadWithSTSToken",value:function(I,B,G){if(this._curIndex==-1)return!1;if(this._state!=i.VODSTATE.EXPIRE)return!1;if(this._uploadList.length>this._curIndex){var q=this._uploadList[this._curIndex];q.object?this._refreshSTSTokenUpload(q,I,B,G):this.setSTSToken(q,I,B,G)}}},{key:"setSTSTokenDirectlyUpload",value:function(I,B,G,q,ie){if(!(B&&G&&q&&ie))return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken and expiration should not be empty."),!1;this._ut="oss";var z=I;this.init(B,G,q,ie),z.endpoint=z._endpoint,z.bucket=z._bucket,z.object=z._object,this._ossUpload=null,this._uploadCore(z,I.retry),I.retry=!1}},{key:"setSTSToken",value:function(I,B,G,q){if(!B||!G||!q)return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken should not be empty."),!1;this._ut="vod",this._uploadWay="sts";var ie=I.videoInfo,z={accessKeyId:B,securityToken:q,accessKeySecret:G,fileName:I.file.name,title:ie.Title,requestId:I.ri,region:this.options.region};ie.ImageType&&(z.imageType=ie.ImageType),ie.ImageExt&&(z.imageExt=ie.ImageExt),ie.FileSize&&(z.fileSize=ie.FileSize),ie.Description&&(z.description=ie.Description),ie.CateId&&(z.cateId=ie.CateId),ie.Tags&&(z.tags=ie.Tags),ie.TemplateGroupId&&(z.templateGroupId=ie.TemplateGroupId),ie.StorageLocation&&(z.storageLocation=ie.StorageLocation),ie.CoverURL&&(z.coverUrl=ie.CoverURL),ie.TransCodeMode&&(z.transCodeMode=ie.TransCodeMode),ie.UserData&&(z.userData=ie.UserData);var oe=this,Z="getUploadAuth";I.videoId?(z.videoId=I.videoId,Z="refreshUploadAuth"):I.isImage&&(Z="getImageUploadAuth"),m.default[Z](z,function(H){I.videoId=H.VideoId?H.VideoId:I.videoId,oe.setUploadAuthAndAddress(I,H.UploadAuth,H.UploadAddress),oe._state=i.VODSTATE.START},function(H){oe._error(I,{name:H.Code,code:H.Code,message:H.Message,requestId:H.RequestId})})}},{key:"setUploadAuthAndAddress",value:function(I,B,G,q){if(!I||!B||!G)return!1;var ie=JSON.parse(a.default.decode(B));if(!(ie.AccessKeyId&&ie.AccessKeySecret&&ie.SecurityToken&&ie.Expiration))return console.error("uploadauth is invalid"),!1;var z={},oe=I;if(G){if(z=JSON.parse(a.default.decode(G)),!z.Endpoint||!z.Bucket||!z.FileName)return console.error("uploadAddress is invalid"),!1}else z.Endpoint=oe.endpoint,z.Bucket=oe.bucket,z.FileName=oe.object;this._ut="vod",this._uploadWay="vod",this.options.region=ie.Region||this.options.region,this.init(ie.AccessKeyId,ie.AccessKeySecret,ie.SecurityToken,ie.Expiration),oe.endpoint=oe._endpoint?oe._endpoint:z.Endpoint,oe.bucket=oe._bucket?oe._bucket:z.Bucket,oe.object=oe._object?oe._object:z.FileName,oe.region=this.options.region,q&&(oe.videoId=q),this._ossUpload=null,this._uploadCore(oe,I.retry),I.retry=!1}},{key:"_refreshSTSTokenUpload",value:function(I,B,G,q){if(!B||!G||!q)return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken should not be empty."),!1;var ie={accessKeyId:B,securityToken:q,accessKeySecret:G,videoId:I.object,requestId:I.ri,region:this.options.region},z=this,oe="refreshUploadAuth";I.isImage&&(oe="getImageUploadAuth"),m.default[oe](ie,function(Z){z.setUploadAuthAndAddress(I,Z.UploadAuth,UploadAddress),z._state=i.VODSTATE.START},function(Z){z._error(I,{name:Z.Code,code:Z.Code,message:Z.Message,requestId:Z.RequestId})})}},{key:"_upload",value:function(I){var B=arguments.length>1&&arguments[1]!==void 0&&arguments[1],G=this.options;if(I.retry=B,G.onUploadstarted&&!B)try{var q=this._getCheckoutpoint(I);q&&q.state!=i.UPLOADSTATE.UPLOADING&&(I.checkpoint=q,I.videoId=q.videoId),G.onUploadstarted(I)}catch(ie){console.log(ie)}}},{key:"_uploadCore",value:function(I){if(arguments.length>1&&arguments[1]!==void 0&&arguments[1],!this._ossCreditor.accessKeyId||!this._ossCreditor.accessKeySecret||!this._ossCreditor.securityToken)throw new Error("AccessKeyId\u3001AccessKeySecret\u3001securityToken should not be null");if(I.state=i.UPLOADSTATE.UPLOADING,!this._ossUpload){I.endpoint=I.endpoint||"http://oss-cn-hangzhou.aliyuncs.com";var B=this;this._ossUpload=new c.default({bucket:I.bucket,endpoint:I.endpoint,AccessKeyId:this._ossCreditor.accessKeyId,AccessKeySecret:this._ossCreditor.accessKeySecret,SecurityToken:this._ossCreditor.securityToken,timeout:this.options.timeout,cname:this.options.cname},{onerror:function(R,j){B._error.call(B,R,j)},oncomplete:function(R,j){B._complete.call(B,R,j)},onprogress:function(R,j,N){B._progress.call(B,R,j,N)}})}var G=x.default.getFileType(I.file.name),q=this._getCheckoutpoint(I),ie="",z="";q&&q.checkpoint&&(z=q.state,ie=q.videoId,q=q.checkpoint),q&&ie==I.videoId&&z!=i.UPLOADSTATE.UPLOADING&&(q.file=I.file,I.checkpoint=q,q.uploadId);var oe=this._adjustPartSize(I);this._reportLog("20002",I,{ft:G,fs:I.file.size,bu:I.bucket,ok:I.object,vid:I.videoId||"",fn:I.file.name,fw:null,fh:null,ps:oe});var Z={headers:{"x-oss-notification":I.userData?I.userData:""},partSize:oe,parallel:this.options.parallel};this._ossUpload.upload(I,Z)}},{key:"_findUploadIndex",value:function(){for(var I=-1,B=0;B<this._uploadList.length;B++)if(this._uploadList[B].state==i.UPLOADSTATE.INIT){I=B;break}return I}},{key:"_error",value:function(I,B){if(B.name=="cancel")try{this.options.onUploadCanceled(I,B)}catch(q){console.log(q)}else{if(B.message.indexOf("InvalidAccessKeyIdError")>0||B.name=="SignatureDoesNotMatchError"||B.code=="SecurityTokenExpired"||B.code=="InvalidSecurityToken.Expired"||B.code=="InvalidAccessKeyId"&&this._ossCreditor.securityToken){if(this.options.onUploadTokenExpired){this._state=i.VODSTATE.EXPIRE,I.state=i.UPLOADSTATE.FAIlURE;try{this.options.onUploadTokenExpired(I,B)}catch(q){console.log(q)}}return}if((B.name=="RequestTimeoutError"||B.name=="ConnectionTimeout"||B.name=="ConnectionTimeoutError")&&this._retryTotal>this._retryCount){var G=this;return setTimeout(function(){G._uploadCore(I,!0)},1e3*G._retryDuration),void this._retryCount++}B.name=="NoSuchUploadError"&&this._removeCheckoutpoint(I),this._handleError(I,B)}}},{key:"_handleError",value:function(I,B){var G=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],q=i.UPLOADSTATE.FAIlURE;if(I.state!=i.UPLOADSTATE.CANCELED&&(I.state=i.UPLOADSTATE.FAIlURE,this._state=i.VODSTATE.FAILURE,this.options.onUploadFailed&&B&&B.code&&B.message))try{this.options.onUploadFailed(I,B.code,B.message)}catch(z){console.log(z)}if(G&&this._changeState(I,q),this._reportLog("20006",I,{code:B.name,message:B.message,requestId:B.requestId,fs:I.file.size,bu:I.bucket,ok:I.object,fn:I.file.name}),this._reportLog("20004",I,{requestId:B.requestId,fs:I.file.size,bu:I.bucket,ok:I.object,fn:I.file.name}),I.ri=A.default.create(),this._findUploadIndex()!=-1){var ie=this;this._state=i.VODSTATE.START,setTimeout(function(){ie.nextUpload()},100)}}},{key:"_complete",value:function(I,B){if(I.state=i.UPLOADSTATE.SUCCESS,this.options.onUploadSucceed)try{this.options.onUploadSucceed(I)}catch(ie){console.log(ie)}var G=0;B&&B.res&&B.res.headers&&(G=B.res.headers["x-oss-request-id"]),this._removeCheckoutpoint(I);var q=this;setTimeout(function(){q.nextUpload()},100),this._retryCount=0,this._reportLog("20003",I,{requestId:G})}},{key:"_progress",value:function(I,B,G){if(this.options.onUploadProgress)try{I.loaded=B.loaded,this.options.onUploadProgress(I,B.total,B.loaded)}catch(R){console.log(R)}var q=B.checkpoint,ie=0;q&&(I.checkpoint=q,this._saveCheckoutpoint(I,q,i.UPLOADSTATE.UPLOADING),ie=q.uploadId),this._retryCount=0;var z=this._getPortNumber(q),oe=0;if(G&&G.headers&&(oe=G.headers["x-oss-request-id"]),B.loaded!=0&&this._reportLog("20007",I,{pn:z,requestId:oe}),B.loaded!=1&&this._reportLog("20005",I,{UploadId:ie,pn:z+1,pr:I.retry?1:0,fs:I.file.size,bu:I.bucket,ok:I.object,fn:I.file.name}),!this._invalidUserId&&!I.isImage&&this._ut=="vod"&&this.options.enableUploadProgress){var Z={file:I.file,checkpoint:B,userId:this.options.userId,videoId:I.videoId,region:this.options.region,fileHash:I.fileHash};try{var H=this;P.default.upload(Z,function(){},function(R){if((R=JSON.parse(R))&&R.Code=="InvalidParameter"&&R.Message.indexOf("UserId")>0){H._invalidUserId=!0;var j=R.Message+"\uFF0C\u6B63\u786E\u8D26\u53F7ID(userId)\u8BF7\u53C2\u8003\uFF1Ahttps://help.aliyun.com/knowledge_detail/37196.html";console.log(j)}})}catch(R){console.log(R)}}}},{key:"_getPortNumber",value:function(I){if(I){var B=I.doneParts;if(B&&B.length>0)return B[B.length-1].number}return 0}},{key:"_removeCheckoutpoint",value:function(I){var B=this._getCheckoutpointKey(I);s.default.remove(B)}},{key:"_getCheckoutpoint",value:function(I){var B=this._getCheckoutpointKey(I),G=s.default.get(B);if(G)try{return JSON.parse(G)}catch(q){}return""}},{key:"_saveCheckoutpoint",value:function(I,B,G){if(B){var q=this._getCheckoutpointKey(I),ie=I.file,z={fileName:ie.name,lastModified:ie.lastModified,size:ie.size,object:I.object,videoId:I.videoId,bucket:I.bucket,endpoint:I.endpoint,checkpoint:B,loaded:I.loaded,state:G};s.default.set(q,JSON.stringify(z))}}},{key:"_changeState",value:function(I,B){var G=this._getCheckoutpoint(I);G&&((this._onbeforeunload=!0)&&(B=i.UPLOADSTATE.STOPED),this._saveCheckoutpoint(I,G.checkpoint,B))}},{key:"_getCheckoutpointKey",value:function(I){return"upload_"+I.file.lastModified+"_"+I.file.name+"_"+I.file.size}},{key:"_getCheckoutpointFromCloud",value:function(I,B,G){var q={userId:this.options.userId,uploadInfoList:[{FileName:I.file.name,FileSize:I.file.size,FileCreateTime:I.file.lastModified,FileHash:I.fileHash}],region:this.options.region};P.default.get(q,function(ie){B(ie)},G)}},{key:"_reportLog",value:function(I,B,G){G||(G={}),G.ri=B.ri,this._ut&&(G.ut=this._ut),this._log.log(I,G)}},{key:"_initEvent",value:function(){var I=this;window&&(window.onbeforeunload=function(B){if(I._onbeforeunload=!0,I._curIndex!=-1&&I._uploadList.length>I._curIndex){var G=I._uploadList[I._curIndex];I._changeState(G,i.UPLOADSTATE.STOPED)}})}},{key:"_initState",value:function(){for(var I=0;I<this._uploadList.length;I++){var B=this._uploadList[I];B.state!=i.UPLOADSTATE.FAIlURE&&B.state!=i.UPLOADSTATE.STOPED||(B.state=i.UPLOADSTATE.INIT)}this._state=i.VODSTATE.INIT}},{key:"_adjustPartSize",value:function(I){return I.file.size/this.options.partSize>1e4?I.file.size/9999:this.options.partSize}}]),D}());n.default=L},function(fe,n,O){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.UPLOADSTATE={INIT:"Ready",UPLOADING:"Uploading",SUCCESS:"Success",FAIlURE:"Failure",CANCELED:"Canceled",STOPED:"Stoped"},n.VODSTATE={INIT:"Init",START:"Start",STOP:"Stop",FAILURE:"Failure",EXPIRE:"Expire",END:"End"}},function(fe,n,O){"use strict";function v(e){return e&&e.__esModule?e:{default:e}}function h(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function e(a,r){for(var s=0;s<r.length;s++){var d=r[s];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(a,r,s){return r&&e(a.prototype,r),s&&e(a,s),a}}(),i=O(3),u=O(17),p=(v(u),O(1)),c=(v(p),function(){function e(a,r){if(h(this,e),a){this._config=a,this.create(this._config),this._uploadInfo=null,this._callback={};var s=function(){};this._callback.onerror=r.onerror||s,this._callback.oncomplete=r.oncomplete||s,this._callback.onprogress=r.onprogress||s}}return g(e,[{key:"create",value:function(r){if(r.endpoint=r.endpoint||this._config.endpoint,r.bucket=r.bucket||this._config.bucket,!(r.AccessKeyId&&r.AccessKeySecret&&r.endpoint&&r.SecurityToken))throw new Error("AccessKeyId\u3001AccessKeySecret\u3001endpoint should not be null");var s={accessKeyId:r.AccessKeyId,accessKeySecret:r.AccessKeySecret,stsToken:r.SecurityToken,endpoint:r.endpoint||this._config.endpoint,bucket:r.bucket||this._config.bucket,secure:!0,cname:r.cname};r.timeout&&(s.timeout=r.timeout),this.oss=new OSS.Wrapper(s)}},{key:"abort",value:function(r){if(r.checkpoint){var s=r.checkpoint.uploadId;this.oss.abortMultipartUpload(r.object,s)}}},{key:"getVersion",value:function(){}},{key:"cancel",value:function(){this.oss.cancel&&this.oss.cancel()}},{key:"upload",value:function(r,s){this._uploadInfo=r;var d=this,l=function(f,A,S){return function(m){d._progress(f,A,S),m()}},w={parallel:s.parallel||this._config.parallel||i.UPLOADDEFAULT.PARALLEL,partSize:s.partSize||this._config.partSize||i.UPLOADDEFAULT.PARTSIZE,progress:l};s.headers&&(w.headers=s.headers),r.checkpoint&&(w.checkpoint=r.checkpoint),r.bucket||(this.oss.options.bucket=r.bucket),r.endpoint||(this.oss.options.endpoint=r.endpoint),this.oss.multipartUpload(r.object,r.file,w).then(function(x,f){d._complete(x)}).catch(function(x){d.oss.cancel&&(d.oss&&d.oss.isCancel()?console.log("oss is cancel as error"):d.oss.cancel()),d._error(x)})}},{key:"header",value:function(r,s,d){this.oss.get(r.object).then(function(l){s(l)}).catch(function(l){d(l)})}},{key:"_progress",value:function(r,s,d){this._callback.onprogress(this._uploadInfo,{loaded:r,total:this._uploadInfo.file.size,checkpoint:s},d)}},{key:"_error",value:function(r){this._callback.onerror(this._uploadInfo,r)}},{key:"_complete",value:function(r){this._callback.oncomplete(this._uploadInfo,r)}}]),e}());n.default=c},function(fe,n,O){"use strict";function v(i,u){if(!(i instanceof u))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(u,p){for(var c=0;c<p.length;c++){var e=p[c];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(u,e.key,e)}}return function(u,p,c){return p&&i(u.prototype,p),c&&i(u,c),u}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"format",value:function(p){if(arguments.length<2)return null;for(var c=arguments[1],e=1;e<arguments.length;e++){var a=new RegExp("\\{"+(e-1)+"\\}","gm");c=c.replace(a,arguments[e+1])}return{code:p,message:c}}},{key:"CODE",get:function(){return{SUCCESS:"Successful",EmptyValue:"InvalidParameter.EmptyValue",STSInvalid:"InvalidParameter.TokenInvalid",ReadFileError:"ReadFileError",FILEDUPLICATION:"FileDuplication",UploadALEADRYSTARTED:"UploadAlearyStarted"}}},{key:"MESSAGE",get:function(){return{SUCCESS:"Successful",EmptyValue:"\u53C2\u6570 {0} \u4E0D\u80FD\u4E3A\u7A7A\u3002",STSInvalid:"STS\u53C2\u6570\u975E\u6CD5\uFF0C accessKeyId\u3001accessKeySecret\u3001secretToken\u3001expireTime\u90FD\u4E0D\u80FD\u4E3A\u7A7A\u3002",ReadFileError:"\u8BFB\u53D6\u6587\u4EF6{0}{1}\u5931\u8D25.",FILEDUPLICATION:"\u6587\u4EF6\u91CD\u590D\u6DFB\u52A0 {0}",UploadALEADRYSTARTED:"\u91CD\u590D\u5F00\u59CB."}}}]),i}();n.default=g},function(fe,n,O){"use strict";(function(v){function h(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function u(p,c){for(var e=0;e<c.length;e++){var a=c[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(p,a.key,a)}}return function(p,c,e){return c&&u(p.prototype,c),e&&u(p,e),p}}(),i=function(){function u(){h(this,u)}return g(u,null,[{key:"encode",value:function(c){return new v(c).toString("base64")}},{key:"decode",value:function(c){return new v(c,"base64").toString()}}]),u}();n.default=i}).call(n,O(19).Buffer)},function(fe,n,O){"use strict";(function(v){function h(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function g(T,t){if(h()<t)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(T=new Uint8Array(t),T.__proto__=i.prototype):(T===null&&(T=new i(t)),T.length=t),T}function i(T,t,o){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(T,t,o);if(typeof T=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return e(this,T)}return u(this,T,t,o)}function u(T,t,o,C){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&t instanceof ArrayBuffer?s(T,t,o,C):typeof t=="string"?a(T,t,o):d(T,t)}function p(T){if(typeof T!="number")throw new TypeError('"size" argument must be a number');if(T<0)throw new RangeError('"size" argument must not be negative')}function c(T,t,o,C){return p(t),t<=0?g(T,t):o!==void 0?typeof C=="string"?g(T,t).fill(o,C):g(T,t).fill(o):g(T,t)}function e(T,t){if(p(t),T=g(T,t<0?0:0|l(t)),!i.TYPED_ARRAY_SUPPORT)for(var o=0;o<t;++o)T[o]=0;return T}function a(T,t,o){if(typeof o=="string"&&o!==""||(o="utf8"),!i.isEncoding(o))throw new TypeError('"encoding" must be a valid string encoding');var C=0|x(t,o);T=g(T,C);var y=T.write(t,o);return y!==C&&(T=T.slice(0,y)),T}function r(T,t){var o=t.length<0?0:0|l(t.length);T=g(T,o);for(var C=0;C<o;C+=1)T[C]=255&t[C];return T}function s(T,t,o,C){if(t.byteLength,o<0||t.byteLength<o)throw new RangeError("'offset' is out of bounds");if(t.byteLength<o+(C||0))throw new RangeError("'length' is out of bounds");return t=o===void 0&&C===void 0?new Uint8Array(t):C===void 0?new Uint8Array(t,o):new Uint8Array(t,o,C),i.TYPED_ARRAY_SUPPORT?(T=t,T.__proto__=i.prototype):T=r(T,t),T}function d(T,t){if(i.isBuffer(t)){var o=0|l(t.length);return T=g(T,o),T.length===0||t.copy(T,0,0,o),T}if(t){if(typeof ArrayBuffer!="undefined"&&t.buffer instanceof ArrayBuffer||"length"in t)return typeof t.length!="number"||ce(t.length)?g(T,0):r(T,t);if(t.type==="Buffer"&&ue(t.data))return r(T,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function l(T){if(T>=h())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h().toString(16)+" bytes");return 0|T}function w(T){return+T!=T&&(T=0),i.alloc(+T)}function x(T,t){if(i.isBuffer(T))return T.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(T)||T instanceof ArrayBuffer))return T.byteLength;typeof T!="string"&&(T=""+T);var o=T.length;if(o===0)return 0;for(var C=!1;;)switch(t){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":case void 0:return ae(T).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*o;case"hex":return o>>>1;case"base64":return te(T).length;default:if(C)return ae(T).length;t=(""+t).toLowerCase(),C=!0}}function f(T,t,o){var C=!1;if((t===void 0||t<0)&&(t=0),t>this.length)return"";if((o===void 0||o>this.length)&&(o=this.length),o<=0)return"";if(o>>>=0,t>>>=0,o<=t)return"";for(T||(T="utf8");;)switch(T){case"hex":return ie(this,t,o);case"utf8":case"utf-8":return I(this,t,o);case"ascii":return G(this,t,o);case"latin1":case"binary":return q(this,t,o);case"base64":return F(this,t,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,o);default:if(C)throw new TypeError("Unknown encoding: "+T);T=(T+"").toLowerCase(),C=!0}}function A(T,t,o){var C=T[t];T[t]=T[o],T[o]=C}function S(T,t,o,C,y){if(T.length===0)return-1;if(typeof o=="string"?(C=o,o=0):o>2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,isNaN(o)&&(o=y?0:T.length-1),o<0&&(o=T.length+o),o>=T.length){if(y)return-1;o=T.length-1}else if(o<0){if(!y)return-1;o=0}if(typeof t=="string"&&(t=i.from(t,C)),i.isBuffer(t))return t.length===0?-1:m(T,t,o,C,y);if(typeof t=="number")return t&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?y?Uint8Array.prototype.indexOf.call(T,t,o):Uint8Array.prototype.lastIndexOf.call(T,t,o):m(T,[t],o,C,y);throw new TypeError("val must be string, number or Buffer")}function m(T,t,o,C,y){function E(xe,ne){return V===1?xe[ne]:xe.readUInt16BE(ne*V)}var V=1,Y=T.length,_e=t.length;if(C!==void 0&&((C=String(C).toLowerCase())==="ucs2"||C==="ucs-2"||C==="utf16le"||C==="utf-16le")){if(T.length<2||t.length<2)return-1;V=2,Y/=2,_e/=2,o/=2}var me;if(y){var Ee=-1;for(me=o;me<Y;me++)if(E(T,me)===E(t,Ee===-1?0:me-Ee)){if(Ee===-1&&(Ee=me),me-Ee+1===_e)return Ee*V}else Ee!==-1&&(me-=me-Ee),Ee=-1}else for(o+_e>Y&&(o=Y-_e),me=o;me>=0;me--){for(var Ae=!0,Te=0;Te<_e;Te++)if(E(T,me+Te)!==E(t,Te)){Ae=!1;break}if(Ae)return me}return-1}function _(T,t,o,C){o=Number(o)||0;var y=T.length-o;C?(C=Number(C))>y&&(C=y):C=y;var E=t.length;if(E%2!=0)throw new TypeError("Invalid hex string");C>E/2&&(C=E/2);for(var V=0;V<C;++V){var Y=parseInt(t.substr(2*V,2),16);if(isNaN(Y))return V;T[o+V]=Y}return V}function P(T,t,o,C){return ee(ae(t,T.length-o),T,o,C)}function k(T,t,o,C){return ee(he(t),T,o,C)}function b(T,t,o,C){return k(T,t,o,C)}function L(T,t,o,C){return ee(te(t),T,o,C)}function D(T,t,o,C){return ee(ve(t,T.length-o),T,o,C)}function F(T,t,o){return t===0&&o===T.length?W.fromByteArray(T):W.fromByteArray(T.slice(t,o))}function I(T,t,o){o=Math.min(T.length,o);for(var C=[],y=t;y<o;){var E=T[y],V=null,Y=E>239?4:E>223?3:E>191?2:1;if(y+Y<=o){var _e,me,Ee,Ae;switch(Y){case 1:E<128&&(V=E);break;case 2:_e=T[y+1],(192&_e)==128&&(Ae=(31&E)<<6|63&_e)>127&&(V=Ae);break;case 3:_e=T[y+1],me=T[y+2],(192&_e)==128&&(192&me)==128&&(Ae=(15&E)<<12|(63&_e)<<6|63&me)>2047&&(Ae<55296||Ae>57343)&&(V=Ae);break;case 4:_e=T[y+1],me=T[y+2],Ee=T[y+3],(192&_e)==128&&(192&me)==128&&(192&Ee)==128&&(Ae=(15&E)<<18|(63&_e)<<12|(63&me)<<6|63&Ee)>65535&&Ae<1114112&&(V=Ae)}}V===null?(V=65533,Y=1):V>65535&&(V-=65536,C.push(V>>>10&1023|55296),V=56320|1023&V),C.push(V),y+=Y}return B(C)}function B(T){var t=T.length;if(t<=$)return String.fromCharCode.apply(String,T);for(var o="",C=0;C<t;)o+=String.fromCharCode.apply(String,T.slice(C,C+=$));return o}function G(T,t,o){var C="";o=Math.min(T.length,o);for(var y=t;y<o;++y)C+=String.fromCharCode(127&T[y]);return C}function q(T,t,o){var C="";o=Math.min(T.length,o);for(var y=t;y<o;++y)C+=String.fromCharCode(T[y]);return C}function ie(T,t,o){var C=T.length;(!t||t<0)&&(t=0),(!o||o<0||o>C)&&(o=C);for(var y="",E=t;E<o;++E)y+=pe(T[E]);return y}function z(T,t,o){for(var C=T.slice(t,o),y="",E=0;E<C.length;E+=2)y+=String.fromCharCode(C[E]+256*C[E+1]);return y}function oe(T,t,o){if(T%1!=0||T<0)throw new RangeError("offset is not uint");if(T+t>o)throw new RangeError("Trying to access beyond buffer length")}function Z(T,t,o,C,y,E){if(!i.isBuffer(T))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>y||t<E)throw new RangeError('"value" argument is out of bounds');if(o+C>T.length)throw new RangeError("Index out of range")}function H(T,t,o,C){t<0&&(t=65535+t+1);for(var y=0,E=Math.min(T.length-o,2);y<E;++y)T[o+y]=(t&255<<8*(C?y:1-y))>>>8*(C?y:1-y)}function R(T,t,o,C){t<0&&(t=4294967295+t+1);for(var y=0,E=Math.min(T.length-o,4);y<E;++y)T[o+y]=t>>>8*(C?y:3-y)&255}function j(T,t,o,C,y,E){if(o+C>T.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function N(T,t,o,C,y){return y||j(T,t,o,4,34028234663852886e22,-34028234663852886e22),X.write(T,t,o,C,23,4),o+4}function M(T,t,o,C,y){return y||j(T,t,o,8,17976931348623157e292,-17976931348623157e292),X.write(T,t,o,C,52,8),o+8}function K(T){if(T=J(T).replace(se,""),T.length<2)return"";for(;T.length%4!=0;)T+="=";return T}function J(T){return T.trim?T.trim():T.replace(/^\s+|\s+$/g,"")}function pe(T){return T<16?"0"+T.toString(16):T.toString(16)}function ae(T,t){t=t||1/0;for(var o,C=T.length,y=null,E=[],V=0;V<C;++V){if((o=T.charCodeAt(V))>55295&&o<57344){if(!y){if(o>56319){(t-=3)>-1&&E.push(239,191,189);continue}if(V+1===C){(t-=3)>-1&&E.push(239,191,189);continue}y=o;continue}if(o<56320){(t-=3)>-1&&E.push(239,191,189),y=o;continue}o=65536+(y-55296<<10|o-56320)}else y&&(t-=3)>-1&&E.push(239,191,189);if(y=null,o<128){if((t-=1)<0)break;E.push(o)}else if(o<2048){if((t-=2)<0)break;E.push(o>>6|192,63&o|128)}else if(o<65536){if((t-=3)<0)break;E.push(o>>12|224,o>>6&63|128,63&o|128)}else{if(!(o<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;E.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}}return E}function he(T){for(var t=[],o=0;o<T.length;++o)t.push(255&T.charCodeAt(o));return t}function ve(T,t){for(var o,C,y,E=[],V=0;V<T.length&&!((t-=2)<0);++V)o=T.charCodeAt(V),C=o>>8,y=o%256,E.push(y),E.push(C);return E}function te(T){return W.toByteArray(K(T))}function ee(T,t,o,C){for(var y=0;y<C&&!(y+o>=t.length||y>=T.length);++y)t[y+o]=T[y];return y}function ce(T){return T!==T}/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/var W=O(21),X=O(22),ue=O(23);n.Buffer=i,n.SlowBuffer=w,n.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=v.TYPED_ARRAY_SUPPORT!==void 0?v.TYPED_ARRAY_SUPPORT:function(){try{var T=new Uint8Array(1);return T.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},T.foo()===42&&typeof T.subarray=="function"&&T.subarray(1,1).byteLength===0}catch(t){return!1}}(),n.kMaxLength=h(),i.poolSize=8192,i._augment=function(T){return T.__proto__=i.prototype,T},i.from=function(T,t,o){return u(null,T,t,o)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(T,t,o){return c(null,T,t,o)},i.allocUnsafe=function(T){return e(null,T)},i.allocUnsafeSlow=function(T){return e(null,T)},i.isBuffer=function(T){return!(T==null||!T._isBuffer)},i.compare=function(T,t){if(!i.isBuffer(T)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(T===t)return 0;for(var o=T.length,C=t.length,y=0,E=Math.min(o,C);y<E;++y)if(T[y]!==t[y]){o=T[y],C=t[y];break}return o<C?-1:C<o?1:0},i.isEncoding=function(T){switch(String(T).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(T,t){if(!ue(T))throw new TypeError('"list" argument must be an Array of Buffers');if(T.length===0)return i.alloc(0);var o;if(t===void 0)for(t=0,o=0;o<T.length;++o)t+=T[o].length;var C=i.allocUnsafe(t),y=0;for(o=0;o<T.length;++o){var E=T[o];if(!i.isBuffer(E))throw new TypeError('"list" argument must be an Array of Buffers');E.copy(C,y),y+=E.length}return C},i.byteLength=x,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var T=this.length;if(T%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<T;t+=2)A(this,t,t+1);return this},i.prototype.swap32=function(){var T=this.length;if(T%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<T;t+=4)A(this,t,t+3),A(this,t+1,t+2);return this},i.prototype.swap64=function(){var T=this.length;if(T%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<T;t+=8)A(this,t,t+7),A(this,t+1,t+6),A(this,t+2,t+5),A(this,t+3,t+4);return this},i.prototype.toString=function(){var T=0|this.length;return T===0?"":arguments.length===0?I(this,0,T):f.apply(this,arguments)},i.prototype.equals=function(T){if(!i.isBuffer(T))throw new TypeError("Argument must be a Buffer");return this===T||i.compare(this,T)===0},i.prototype.inspect=function(){var T="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(T=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(T+=" ... ")),"<Buffer "+T+">"},i.prototype.compare=function(T,t,o,C,y){if(!i.isBuffer(T))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),o===void 0&&(o=T?T.length:0),C===void 0&&(C=0),y===void 0&&(y=this.length),t<0||o>T.length||C<0||y>this.length)throw new RangeError("out of range index");if(C>=y&&t>=o)return 0;if(C>=y)return-1;if(t>=o)return 1;if(t>>>=0,o>>>=0,C>>>=0,y>>>=0,this===T)return 0;for(var E=y-C,V=o-t,Y=Math.min(E,V),_e=this.slice(C,y),me=T.slice(t,o),Ee=0;Ee<Y;++Ee)if(_e[Ee]!==me[Ee]){E=_e[Ee],V=me[Ee];break}return E<V?-1:V<E?1:0},i.prototype.includes=function(T,t,o){return this.indexOf(T,t,o)!==-1},i.prototype.indexOf=function(T,t,o){return S(this,T,t,o,!0)},i.prototype.lastIndexOf=function(T,t,o){return S(this,T,t,o,!1)},i.prototype.write=function(T,t,o,C){if(t===void 0)C="utf8",o=this.length,t=0;else if(o===void 0&&typeof t=="string")C=t,o=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(o)?(o|=0,C===void 0&&(C="utf8")):(C=o,o=void 0)}var y=this.length-t;if((o===void 0||o>y)&&(o=y),T.length>0&&(o<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");C||(C="utf8");for(var E=!1;;)switch(C){case"hex":return _(this,T,t,o);case"utf8":case"utf-8":return P(this,T,t,o);case"ascii":return k(this,T,t,o);case"latin1":case"binary":return b(this,T,t,o);case"base64":return L(this,T,t,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,T,t,o);default:if(E)throw new TypeError("Unknown encoding: "+C);C=(""+C).toLowerCase(),E=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;i.prototype.slice=function(T,t){var o=this.length;T=~~T,t=t===void 0?o:~~t,T<0?(T+=o)<0&&(T=0):T>o&&(T=o),t<0?(t+=o)<0&&(t=0):t>o&&(t=o),t<T&&(t=T);var C;if(i.TYPED_ARRAY_SUPPORT)C=this.subarray(T,t),C.__proto__=i.prototype;else{var y=t-T;C=new i(y,void 0);for(var E=0;E<y;++E)C[E]=this[E+T]}return C},i.prototype.readUIntLE=function(T,t,o){T|=0,t|=0,o||oe(T,t,this.length);for(var C=this[T],y=1,E=0;++E<t&&(y*=256);)C+=this[T+E]*y;return C},i.prototype.readUIntBE=function(T,t,o){T|=0,t|=0,o||oe(T,t,this.length);for(var C=this[T+--t],y=1;t>0&&(y*=256);)C+=this[T+--t]*y;return C},i.prototype.readUInt8=function(T,t){return t||oe(T,1,this.length),this[T]},i.prototype.readUInt16LE=function(T,t){return t||oe(T,2,this.length),this[T]|this[T+1]<<8},i.prototype.readUInt16BE=function(T,t){return t||oe(T,2,this.length),this[T]<<8|this[T+1]},i.prototype.readUInt32LE=function(T,t){return t||oe(T,4,this.length),(this[T]|this[T+1]<<8|this[T+2]<<16)+16777216*this[T+3]},i.prototype.readUInt32BE=function(T,t){return t||oe(T,4,this.length),16777216*this[T]+(this[T+1]<<16|this[T+2]<<8|this[T+3])},i.prototype.readIntLE=function(T,t,o){T|=0,t|=0,o||oe(T,t,this.length);for(var C=this[T],y=1,E=0;++E<t&&(y*=256);)C+=this[T+E]*y;return y*=128,C>=y&&(C-=Math.pow(2,8*t)),C},i.prototype.readIntBE=function(T,t,o){T|=0,t|=0,o||oe(T,t,this.length);for(var C=t,y=1,E=this[T+--C];C>0&&(y*=256);)E+=this[T+--C]*y;return y*=128,E>=y&&(E-=Math.pow(2,8*t)),E},i.prototype.readInt8=function(T,t){return t||oe(T,1,this.length),128&this[T]?-1*(255-this[T]+1):this[T]},i.prototype.readInt16LE=function(T,t){t||oe(T,2,this.length);var o=this[T]|this[T+1]<<8;return 32768&o?4294901760|o:o},i.prototype.readInt16BE=function(T,t){t||oe(T,2,this.length);var o=this[T+1]|this[T]<<8;return 32768&o?4294901760|o:o},i.prototype.readInt32LE=function(T,t){return t||oe(T,4,this.length),this[T]|this[T+1]<<8|this[T+2]<<16|this[T+3]<<24},i.prototype.readInt32BE=function(T,t){return t||oe(T,4,this.length),this[T]<<24|this[T+1]<<16|this[T+2]<<8|this[T+3]},i.prototype.readFloatLE=function(T,t){return t||oe(T,4,this.length),X.read(this,T,!0,23,4)},i.prototype.readFloatBE=function(T,t){return t||oe(T,4,this.length),X.read(this,T,!1,23,4)},i.prototype.readDoubleLE=function(T,t){return t||oe(T,8,this.length),X.read(this,T,!0,52,8)},i.prototype.readDoubleBE=function(T,t){return t||oe(T,8,this.length),X.read(this,T,!1,52,8)},i.prototype.writeUIntLE=function(T,t,o,C){(T=+T,t|=0,o|=0,!C)&&Z(this,T,t,o,Math.pow(2,8*o)-1,0);var y=1,E=0;for(this[t]=255&T;++E<o&&(y*=256);)this[t+E]=T/y&255;return t+o},i.prototype.writeUIntBE=function(T,t,o,C){(T=+T,t|=0,o|=0,!C)&&Z(this,T,t,o,Math.pow(2,8*o)-1,0);var y=o-1,E=1;for(this[t+y]=255&T;--y>=0&&(E*=256);)this[t+y]=T/E&255;return t+o},i.prototype.writeUInt8=function(T,t,o){return T=+T,t|=0,o||Z(this,T,t,1,255,0),i.TYPED_ARRAY_SUPPORT||(T=Math.floor(T)),this[t]=255&T,t+1},i.prototype.writeUInt16LE=function(T,t,o){return T=+T,t|=0,o||Z(this,T,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=255&T,this[t+1]=T>>>8):H(this,T,t,!0),t+2},i.prototype.writeUInt16BE=function(T,t,o){return T=+T,t|=0,o||Z(this,T,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=T>>>8,this[t+1]=255&T):H(this,T,t,!1),t+2},i.prototype.writeUInt32LE=function(T,t,o){return T=+T,t|=0,o||Z(this,T,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t+3]=T>>>24,this[t+2]=T>>>16,this[t+1]=T>>>8,this[t]=255&T):R(this,T,t,!0),t+4},i.prototype.writeUInt32BE=function(T,t,o){return T=+T,t|=0,o||Z(this,T,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t]=T>>>24,this[t+1]=T>>>16,this[t+2]=T>>>8,this[t+3]=255&T):R(this,T,t,!1),t+4},i.prototype.writeIntLE=function(T,t,o,C){if(T=+T,t|=0,!C){var y=Math.pow(2,8*o-1);Z(this,T,t,o,y-1,-y)}var E=0,V=1,Y=0;for(this[t]=255&T;++E<o&&(V*=256);)T<0&&Y===0&&this[t+E-1]!==0&&(Y=1),this[t+E]=(T/V>>0)-Y&255;return t+o},i.prototype.writeIntBE=function(T,t,o,C){if(T=+T,t|=0,!C){var y=Math.pow(2,8*o-1);Z(this,T,t,o,y-1,-y)}var E=o-1,V=1,Y=0;for(this[t+E]=255&T;--E>=0&&(V*=256);)T<0&&Y===0&&this[t+E+1]!==0&&(Y=1),this[t+E]=(T/V>>0)-Y&255;return t+o},i.prototype.writeInt8=function(T,t,o){return T=+T,t|=0,o||Z(this,T,t,1,127,-128),i.TYPED_ARRAY_SUPPORT||(T=Math.floor(T)),T<0&&(T=255+T+1),this[t]=255&T,t+1},i.prototype.writeInt16LE=function(T,t,o){return T=+T,t|=0,o||Z(this,T,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=255&T,this[t+1]=T>>>8):H(this,T,t,!0),t+2},i.prototype.writeInt16BE=function(T,t,o){return T=+T,t|=0,o||Z(this,T,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=T>>>8,this[t+1]=255&T):H(this,T,t,!1),t+2},i.prototype.writeInt32LE=function(T,t,o){return T=+T,t|=0,o||Z(this,T,t,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[t]=255&T,this[t+1]=T>>>8,this[t+2]=T>>>16,this[t+3]=T>>>24):R(this,T,t,!0),t+4},i.prototype.writeInt32BE=function(T,t,o){return T=+T,t|=0,o||Z(this,T,t,4,2147483647,-2147483648),T<0&&(T=4294967295+T+1),i.TYPED_ARRAY_SUPPORT?(this[t]=T>>>24,this[t+1]=T>>>16,this[t+2]=T>>>8,this[t+3]=255&T):R(this,T,t,!1),t+4},i.prototype.writeFloatLE=function(T,t,o){return N(this,T,t,!0,o)},i.prototype.writeFloatBE=function(T,t,o){return N(this,T,t,!1,o)},i.prototype.writeDoubleLE=function(T,t,o){return M(this,T,t,!0,o)},i.prototype.writeDoubleBE=function(T,t,o){return M(this,T,t,!1,o)},i.prototype.copy=function(T,t,o,C){if(o||(o=0),C||C===0||(C=this.length),t>=T.length&&(t=T.length),t||(t=0),C>0&&C<o&&(C=o),C===o)return 0;if(T.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("sourceStart out of bounds");if(C<0)throw new RangeError("sourceEnd out of bounds");C>this.length&&(C=this.length),T.length-t<C-o&&(C=T.length-t+o);var y,E=C-o;if(this===T&&o<t&&t<C)for(y=E-1;y>=0;--y)T[y+t]=this[y+o];else if(E<1e3||!i.TYPED_ARRAY_SUPPORT)for(y=0;y<E;++y)T[y+t]=this[y+o];else Uint8Array.prototype.set.call(T,this.subarray(o,o+E),t);return E},i.prototype.fill=function(T,t,o,C){if(typeof T=="string"){if(typeof t=="string"?(C=t,t=0,o=this.length):typeof o=="string"&&(C=o,o=this.length),T.length===1){var y=T.charCodeAt(0);y<256&&(T=y)}if(C!==void 0&&typeof C!="string")throw new TypeError("encoding must be a string");if(typeof C=="string"&&!i.isEncoding(C))throw new TypeError("Unknown encoding: "+C)}else typeof T=="number"&&(T&=255);if(t<0||this.length<t||this.length<o)throw new RangeError("Out of range index");if(o<=t)return this;t>>>=0,o=o===void 0?this.length:o>>>0,T||(T=0);var E;if(typeof T=="number")for(E=t;E<o;++E)this[E]=T;else{var V=i.isBuffer(T)?T:ae(new i(T,C).toString()),Y=V.length;for(E=0;E<o-t;++E)this[E+t]=V[E%Y]}return this};var se=/[^+\/0-9A-Za-z-_]/g}).call(n,O(20))},function(fe,n){var O;O=function(){return this}();try{O=O||Function("return this")()||(0,eval)("this")}catch(v){typeof window=="object"&&(O=window)}fe.exports=O},function(fe,n,O){"use strict";function v(l){var w=l.length;if(w%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return l[w-2]==="="?2:l[w-1]==="="?1:0}function h(l){return 3*l.length/4-v(l)}function g(l){var w,x,f,A,S,m=l.length;A=v(l),S=new a(3*m/4-A),x=A>0?m-4:m;var _=0;for(w=0;w<x;w+=4)f=e[l.charCodeAt(w)]<<18|e[l.charCodeAt(w+1)]<<12|e[l.charCodeAt(w+2)]<<6|e[l.charCodeAt(w+3)],S[_++]=f>>16&255,S[_++]=f>>8&255,S[_++]=255&f;return A===2?(f=e[l.charCodeAt(w)]<<2|e[l.charCodeAt(w+1)]>>4,S[_++]=255&f):A===1&&(f=e[l.charCodeAt(w)]<<10|e[l.charCodeAt(w+1)]<<4|e[l.charCodeAt(w+2)]>>2,S[_++]=f>>8&255,S[_++]=255&f),S}function i(l){return c[l>>18&63]+c[l>>12&63]+c[l>>6&63]+c[63&l]}function u(l,w,x){for(var f,A=[],S=w;S<x;S+=3)f=(l[S]<<16)+(l[S+1]<<8)+l[S+2],A.push(i(f));return A.join("")}function p(l){for(var w,x=l.length,f=x%3,A="",S=[],m=0,_=x-f;m<_;m+=16383)S.push(u(l,m,m+16383>_?_:m+16383));return f===1?(w=l[x-1],A+=c[w>>2],A+=c[w<<4&63],A+="=="):f===2&&(w=(l[x-2]<<8)+l[x-1],A+=c[w>>10],A+=c[w>>4&63],A+=c[w<<2&63],A+="="),S.push(A),S.join("")}n.byteLength=h,n.toByteArray=g,n.fromByteArray=p;for(var c=[],e=[],a=typeof Uint8Array!="undefined"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,d=r.length;s<d;++s)c[s]=r[s],e[r.charCodeAt(s)]=s;e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63},function(fe,n){n.read=function(O,v,h,g,i){var u,p,c=8*i-g-1,e=(1<<c)-1,a=e>>1,r=-7,s=h?i-1:0,d=h?-1:1,l=O[v+s];for(s+=d,u=l&(1<<-r)-1,l>>=-r,r+=c;r>0;u=256*u+O[v+s],s+=d,r-=8);for(p=u&(1<<-r)-1,u>>=-r,r+=g;r>0;p=256*p+O[v+s],s+=d,r-=8);if(u===0)u=1-a;else{if(u===e)return p?NaN:1/0*(l?-1:1);p+=Math.pow(2,g),u-=a}return(l?-1:1)*p*Math.pow(2,u-g)},n.write=function(O,v,h,g,i,u){var p,c,e,a=8*u-i-1,r=(1<<a)-1,s=r>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=g?0:u-1,w=g?1:-1,x=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(c=isNaN(v)?1:0,p=r):(p=Math.floor(Math.log(v)/Math.LN2),v*(e=Math.pow(2,-p))<1&&(p--,e*=2),v+=p+s>=1?d/e:d*Math.pow(2,1-s),v*e>=2&&(p++,e/=2),p+s>=r?(c=0,p=r):p+s>=1?(c=(v*e-1)*Math.pow(2,i),p+=s):(c=v*Math.pow(2,s-1)*Math.pow(2,i),p=0));i>=8;O[h+l]=255&c,l+=w,c/=256,i-=8);for(p=p<<i|c,a+=i;a>0;O[h+l]=255&p,l+=w,p/=256,a-=8);O[h+l-w]|=128*x}},function(fe,n){var O={}.toString;fe.exports=Array.isArray||function(v){return O.call(v)=="[object Array]"}},function(fe,n,O){"use strict";function v(i,u){if(!(i instanceof u))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(u,p){for(var c=0;c<p.length;c++){var e=p[c];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(u,e.key,e)}}return function(u,p,c){return p&&i(u.prototype,p),c&&i(u,c),u}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"set",value:function(p,c){try{window.localStorage&&localStorage.setItem(p,c)}catch(e){window[p+"_localStorage"]=c}}},{key:"get",value:function(p){try{if(window.localStorage)return localStorage.getItem(p)}catch(c){return window[p+"_localStorage"]}return""}},{key:"remove",value:function(p){try{window.localStorage&&localStorage.removeItem(p)}catch(c){delete window[p+"_localStorage"]}}}]),i}();n.default=g},function(fe,n,O){"use strict";function v(i,u){if(!(i instanceof u))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(u,p){for(var c=0;c<p.length;c++){var e=p[c];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(u,e.key,e)}}return function(u,p,c){return p&&i(u.prototype,p),c&&i(u,c),u}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"get",value:function(p){for(var c=p+"",e=document.cookie.split(";"),a=0;a<e.length;a++){var r=e[a].trim();if(r.indexOf(c)==0)return unescape(r.substring(c.length+1,r.length))}return""}},{key:"set",value:function(p,c,e){var a=new Date;a.setTime(a.getTime()+24*e*60*60*1e3);var r="expires="+a.toGMTString();document.cookie=p+"="+escape(c)+"; "+r}}]),i}();n.default=g},function(fe,n,O){"use strict";function v(a){return a&&a.__esModule?a:{default:a}}function h(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function a(r,s){for(var d=0;d<s.length;d++){var l=s[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}return function(r,s,d){return s&&a(r.prototype,s),d&&a(r,d),r}}(),i=O(8),u=v(i),p=O(9),c=v(p),e=function(){function a(){h(this,a)}return g(a,null,[{key:"refreshUploadAuth",value:function(s,d,l){var w=(c.default.randomUUID(),c.default.randomUUID()),x={AccessKeyId:s.accessKeyId,SecurityToken:s.securityToken,Action:"RefreshUploadVideo",VideoId:s.videoId,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:w,RequestId:s.requestId},f=c.default.makeUTF8sort(x,"=","&")+"&Signature="+c.default.aliyunEncodeURI(c.default.makeChangeSiga(x,s.accessKeySecret)),A="https://vod."+s.region+".aliyuncs.com/?"+f;u.default.get(A,function(S){var S=JSON.parse(S);d&&d(S)},function(S){if(l){var m=JSON.parse(S);l(m)}})}},{key:"getUploadAuth",value:function(s,d,l){var w=(c.default.randomUUID(),c.default.randomUUID()),x={AccessKeyId:s.accessKeyId,SecurityToken:s.securityToken,Action:"CreateUploadVideo",Title:s.title,FileName:s.fileName,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:w,RequestId:s.requestId};s.fileSize&&(x.FileSize=s.fileSize),s.description&&(x.Description=s.description),s.cateId&&(x.CateId=s.cateId),s.tags&&(x.Tags=s.tags),s.templateGroupId&&(x.TemplateGroupId=s.templateGroupId),s.storageLocation&&(x.StorageLocation=s.storageLocation),s.coverUrl&&(x.CoverURL=s.coverUrl),s.transCodeMode&&(x.TransCodeMode=s.transCodeMode),s.userData&&(x.UserData=JSON.stringify(s.userData));var f=c.default.makeUTF8sort(x,"=","&")+"&Signature="+c.default.aliyunEncodeURI(c.default.makeChangeSiga(x,s.accessKeySecret)),A="https://vod."+s.region+".aliyuncs.com/?"+f;u.default.get(A,function(S){try{S=JSON.parse(S)}catch(m){if(l)return void l({Code:"GetUploadAuthFailed",Message:"\u83B7\u53D6uploadauth\u5931\u8D25"})}d&&d(S)},function(S){if(l){var m={Code:"GetUploadAuthFailed",Message:"\u83B7\u53D6uploadauth\u5931\u8D25"};try{m=JSON.parse(S)}catch(_){}l(m)}})}},{key:"getImageUploadAuth",value:function(s,d,l){var w=(c.default.randomUUID(),c.default.randomUUID()),x={AccessKeyId:s.accessKeyId,SecurityToken:s.securityToken,Action:"CreateUploadImage",ImageType:s.imageType?s.imageType:"default",Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:w,RequestId:s.requestId};s.title&&(x.Title=s.title),s.imageExt&&(x.ImageExt=s.imageExt),s.tags&&(x.Tags=s.tags),s.storageLocation&&(x.StorageLocation=s.storageLocation);var f=c.default.makeUTF8sort(x,"=","&")+"&Signature="+c.default.aliyunEncodeURI(c.default.makeChangeSiga(x,s.accessKeySecret)),A="https://vod."+s.region+".aliyuncs.com/?"+f;u.default.get(A,function(S){S=JSON.parse(S),d&&d(S)},function(S){if(l){var m=JSON.parse(S);l(m)}})}}]),a}();n.default=e},function(fe,n,O){!function(v,h,g){fe.exports=n=h(O(0),O(28),O(29))}(0,function(v){return v.HmacSHA1})},function(fe,n,O){!function(v,h){fe.exports=n=h(O(0))}(0,function(v){return function(){var h=v,g=h.lib,i=g.WordArray,u=g.Hasher,p=h.algo,c=[],e=p.SHA1=u.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,s){for(var d=this._hash.words,l=d[0],w=d[1],x=d[2],f=d[3],A=d[4],S=0;S<80;S++){if(S<16)c[S]=0|r[s+S];else{var m=c[S-3]^c[S-8]^c[S-14]^c[S-16];c[S]=m<<1|m>>>31}var _=(l<<5|l>>>27)+A+c[S];_+=S<20?1518500249+(w&x|~w&f):S<40?1859775393+(w^x^f):S<60?(w&x|w&f|x&f)-1894007588:(w^x^f)-899497514,A=f,f=x,x=w<<30|w>>>2,w=l,l=_}d[0]=d[0]+l|0,d[1]=d[1]+w|0,d[2]=d[2]+x|0,d[3]=d[3]+f|0,d[4]=d[4]+A|0},_doFinalize:function(){var r=this._data,s=r.words,d=8*this._nDataBytes,l=8*r.sigBytes;return s[l>>>5]|=128<<24-l%32,s[14+(l+64>>>9<<4)]=Math.floor(d/4294967296),s[15+(l+64>>>9<<4)]=d,r.sigBytes=4*s.length,this._process(),this._hash},clone:function(){var r=u.clone.call(this);return r._hash=this._hash.clone(),r}});h.SHA1=u._createHelper(e),h.HmacSHA1=u._createHmacHelper(e)}(),v.SHA1})},function(fe,n,O){!function(v,h){fe.exports=n=h(O(0))}(0,function(v){!function(){var h=v,g=h.lib,i=g.Base,u=h.enc,p=u.Utf8,c=h.algo;c.HMAC=i.extend({init:function(a,r){a=this._hasher=new a.init,typeof r=="string"&&(r=p.parse(r));var s=a.blockSize,d=4*s;r.sigBytes>d&&(r=a.finalize(r)),r.clamp();for(var l=this._oKey=r.clone(),w=this._iKey=r.clone(),x=l.words,f=w.words,A=0;A<s;A++)x[A]^=1549556828,f[A]^=909522486;l.sigBytes=w.sigBytes=d,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var r=this._hasher,s=r.finalize(a);return r.reset(),r.finalize(this._oKey.clone().concat(s))}})}()})},function(fe,n,O){!function(v,h){fe.exports=n=h(O(0))}(0,function(v){return function(){function h(c,e,a){for(var r=[],s=0,d=0;d<e;d++)if(d%4){var l=a[c.charCodeAt(d-1)]<<d%4*2,w=a[c.charCodeAt(d)]>>>6-d%4*2;r[s>>>2]|=(l|w)<<24-s%4*8,s++}return u.create(r,s)}var g=v,i=g.lib,u=i.WordArray,p=g.enc;p.Base64={stringify:function(e){var a=e.words,r=e.sigBytes,s=this._map;e.clamp();for(var d=[],l=0;l<r;l+=3)for(var w=a[l>>>2]>>>24-l%4*8&255,x=a[l+1>>>2]>>>24-(l+1)%4*8&255,f=a[l+2>>>2]>>>24-(l+2)%4*8&255,A=w<<16|x<<8|f,S=0;S<4&&l+.75*S<r;S++)d.push(s.charAt(A>>>6*(3-S)&63));var m=s.charAt(64);if(m)for(;d.length%4;)d.push(m);return d.join("")},parse:function(e){var a=e.length,r=this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var d=0;d<r.length;d++)s[r.charCodeAt(d)]=d}var l=r.charAt(64);if(l){var w=e.indexOf(l);w!==-1&&(a=w)}return h(e,a,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),v.enc.Base64})},function(fe,n,O){"use strict";function v(_){return _&&_.__esModule?_:{default:_}}function h(_,P){if(!(_ instanceof P))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function _(P,k){for(var b=0;b<k.length;b++){var L=k[b];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(P,L.key,L)}}return function(P,k,b){return k&&_(P.prototype,k),b&&_(P,b),P}}(),i=O(8),u=v(i),p=O(7),c=v(p),e=O(4),a=v(e),r=O(6),s=v(r),d=O(1),l=v(d),w=O(9),x=v(w),f=O(2),A=O(11),S=O(10),m=function(){function _(){h(this,_)}return g(_,null,[{key:"getAuthInfo",value:function(k,b,L){var D=k+"|f#Ylm&^1TppeRhLg|"+L;return b&&(D=k+"|"+b+"|f#Ylm&^1TppeRhLg|"+L),f(S.parse(D)).toString(A)}},{key:"upload",value:function(k,b,L){var D=l.default.ISODateString(new Date),F=Math.floor(new Date().valueOf()/1e3),I=a.default.getClientId();I=a.default.setClientId(I);var B=_.getAuthInfo(k.userId,I,F),G=x.default.randomUUID(),q={Source:"WebSDK",BusinessType:"UploadVideo",Action:"ReportUploadProgress",TerminalType:"H5",DeviceModel:c.default.browser.name+(c.default.browser.version||""),AppVersion:s.default.version,AuthTimestamp:F,Timestamp:D,AuthInfo:B,FileName:k.file.name,FileSize:k.file.size,FileCreateTime:k.file.lastModified,FileHash:k.fileHash,UploadId:k.checkpoint.checkpoint.uploadId,PartSize:k.checkpoint.checkpoint.partSize,DonePartsCount:k.checkpoint.checkpoint.doneParts.length,UploadPoint:JSON.stringify(k.checkpoint),UploadRatio:k.checkpoint.loaded,UserId:k.userId,VideoId:k.videoId,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:G};I&&(q.ClientId=I);var ie=x.default.makeUTF8sort(q,"=","&")+"&Signature="+x.default.aliyunEncodeURI(x.default.makeChangeSiga(q,k.accessKeySecret)),z="https://vod."+k.region+".aliyuncs.com/?"+ie;u.default.get(z,function(oe){b&&b()},function(oe){oe&&(L(oe),console.log(oe))})}},{key:"get",value:function(k,b,L){var D=l.default.ISODateString(new Date),F=Math.floor(new Date().valueOf()/1e3),I=a.default.getClientId(),B=_.getAuthInfo(k.userId,I,F),G=x.default.randomUUID(),q={Source:"WebSDK",BusinessType:"UploadVideo",Action:"GetUploadProgress",TerminalType:"H5",DeviceModel:c.default.browser.name+(c.default.browser.version||""),AppVersion:s.default.version,AuthTimestamp:F,Timestamp:D,AuthInfo:B,UserId:k.userId,UploadInfoList:JSON.stringify(k.uploadInfoList),Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:G};I&&(q.ClientId=I);var ie=x.default.makeUTF8sort(q,"=","&")+"&Signature="+x.default.aliyunEncodeURI(x.default.makeChangeSiga(q,k.accessKeySecret)),z="https://vod."+k.region+".aliyuncs.com/?"+ie;u.default.get(z,function(oe){var Z={},H=I;oe=oe?JSON.parse(oe):{},oe.UploadProgress&&oe.UploadProgress.UploadProgressList&&oe.UploadProgress.UploadProgressList.length>0&&(Z=oe.UploadProgress.UploadProgressList[0],H=Z.ClientId),a.default.setClientId(H),b&&b(Z)},function(oe){oe&&(L(oe),console.log(oe))})}}]),_}();n.default=m},function(fe,n,O){"use strict";function v(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function p(c,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(c,r.key,r)}}return function(c,e,a){return e&&p(c.prototype,e),a&&p(c,a),c}}(),g=O(2),i=O(33),u=(O(11),function(){function p(){v(this,p)}return h(p,null,[{key:"getMd5",value:function(e,a,r){var s=new FileReader;s.onload=function(w){try{if(w&&w.target){var x=g(i.parse(w.target.result)),f=x.toString();a(f)}}catch(A){console.log(A)}},s.onerror=function(w){console.log(w),errorCallback(w)};var d=File.prototype.slice||File.prototype.mozSlice||File.prototype.webkitSlice,l=d.call(e,0,1024);s.readAsBinaryString(l)}}]),p}());n.default=u},function(fe,n,O){!function(v,h){fe.exports=n=h(O(0))}(0,function(v){return v.enc.Latin1})}])}).call(this,Q("yLpj"))},s8TD:function(We,be,Q){"use strict";Q.d(be,"a",function(){return p});var Pe=Q("Pv/L"),de=Q("Qo87"),fe=Q("AeMq"),n=Q("NDDJ"),O=Q("f+He"),v=Q("Ty1v"),h=Q("xsT+"),g=Q("q1tI"),i=Q.n(g),u=Q("dfu6"),p=function(e){return new Promise(function(a,r){if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return r("WebRTC not supported by browser");var s=new RTCPeerConnection,d=[];s.createDataChannel(""),s.createOffer().then(function(l){return s.setLocalDescription(l)}).catch(function(l){return r(l)}),s.onicecandidate=function(l){console.log("event:",l);var w=[];if(!l||!l.candidate){if(console.log("ips",d),d.length==0||!Object(u.a)(d[0])){var x=h.a.info({title:i.a.createElement(fe.a,null,i.a.createElement(O.a,{flex:"1"},"\u63D0\u793A"),i.a.createElement(O.a,null,i.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return x.destroy()}}))),icon:null,width:500,className:"custom-modal-divider",content:i.a.createElement(fe.a,null,i.a.createElement(O.a,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",e.ip_limit==="inner"&&i.a.createElement(i.a.Fragment,null,i.a.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),i.a.createElement("br",null),i.a.createElement("a",{href:"https://www.educoder.net/forums/4478",target:"_blank"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return r("WebRTC disabled or restricted by browser")}var f=d.filter(function(G){return Object(u.a)(G)});return a(f.join(""))}var A=l.candidate.candidate.split(" "),S=Object(Pe.a)(A),m=S[0],_=S[1],P=S[2],k=S[3],b=S[4],L=S[5],D=S[7],F=S.slice(8),I=["rtp","rtpc"];if(console.log("event:",l),d.some(function(G){return G==b})||d.push(b),console.log(" candidate: "+m.split(":")[1]),console.log(" component: "+I[_-1]),console.log(" protocol: "+P),console.log(" priority: "+k),console.log(" ip: "+b),console.log(" port: "+L),console.log(" type: "+D),F.length){console.log("attributes: ");for(var B=0;B<F.length;B+=2)console.log("> "+F[B]+": "+F[B+1])}}})}},sBCT:function(We,be,Q){"use strict";var Pe=Q("OUIX"),de=Q("iK5Y"),fe=Q("W9l/"),n=Q("Fc8i"),O=Q("keYo"),v=Q("9HCz"),h=Q("WmNS"),g=Q.n(h),i=Q("9og8"),u=Q("Ty1v"),p=Q("xsT+"),c=Q("Zc97"),e=Q("y9hn"),a=Q("L1ta"),r=Q("EiFl"),s=Q("tJVT"),d=Q("k1fw"),l=Q("oBTY"),w=Q("4ZVq"),x=Q("FIeM"),f=Q("q1tI"),A=Q.n(f),S=Q("Ty5D"),m=Q("9kvl"),_=Q("kwm0"),P=Q.n(_),k=Q("Aky1"),b=Q("m3rI"),L=x.a.TextArea,D=500,F=function(G,q){var ie,z=q.payload||{},oe=z.uploadInfo,Z=oe===void 0?{}:oe;switch(q.type){case"addVideo":return{videoList:[].concat(Object(l.a)(G.videoList),[{name:Z.file.name,size:Z.file.size,type:Z.file.type,fileHash:Z.fileHash,state:Z.state,videoId:Z.videoId,loaded:Z.loaded||0,title:""}])};case"removeVideo":return{videoList:G.videoList.filter(function(H){return H.name!==q.payload.name})};case"removeAll":return{videoList:[]};case"updateProgress":return{videoList:G.videoList.map(function(H){return H.name===q.payload.uploadInfo.file.name?Object(d.a)(Object(d.a)({},H),{loaded:q.payload.progressPercent,videoId:Z.videoId,fileHash:Z.fileHash}):H})};case"updateTitle":return{videoList:(ie=G.videoList)===null||ie===void 0?void 0:ie.map(function(H){return H.name===q.payload.item.name?Object(d.a)(Object(d.a)({},H),{title:q.payload.title}):H})};default:return{videoList:[]}}},I=function(G){var q=G.user,ie=G.globalSetting,z=G.loading,oe=G.dispatch,Z=G.visible,H=G.editData,R=G.onCancel,j=R===void 0?function(){}:R,N=G.onOk,M=N===void 0?function(){}:N,K=Object(S.m)(),J=r.a.useForm(),pe=Object(s.a)(J,1),ae=pe[0],he=Object(f.useReducer)(F,{videoList:[]}),ve=Object(s.a)(he,2),te=ve[0],ee=ve[1],ce=Object(f.useState)(!1),W=Object(s.a)(ce,2),X=W[0],ue=W[1],$=Object(f.useRef)(),se=Object(f.useState)(),T=Object(s.a)(se,2),t=T[0],o=T[1],C=Object(f.useState)(!1),y=Object(s.a)(C,2),E=y[0],V=y[1],Y=Object(f.useState)(!1),_e=Object(s.a)(Y,2),me=_e[0],Ee=_e[1],Ae=Object(f.useState)([]),Te=Object(s.a)(Ae,2),xe=Te[0],ne=Te[1],U=Object(f.useState)([]),re=Object(s.a)(U,2),le=re[0],ge=re[1];Object(f.useEffect)(function(){if(!H)return;V(H.is_link),o(H.link),!H.is_link&&ee({type:"addVideo",payload:{uploadInfo:{file:{name:H.file_name},videoId:H.video_id,loaded:100}}}),ae.setFieldsValue({name:H.name,description:H.description})},[H]);var ye=function(){var Se=document.getElementById("fileUpload");Se.value=""},ke=function(Se){var De,je,we;V(!1);var Ce=Se.target.files[0];if(!Ce){ye();return}var Oe=Ce.name.toLowerCase();if(Oe&&Oe.indexOf(".avi")==-1&&Oe.indexOf(".flv")==-1&&Oe.indexOf(".f4v")==-1&&Oe.indexOf(".m4v")==-1&&Oe.indexOf(".mov")==-1&&Oe.indexOf(".mp4")==-1&&Oe.indexOf(".rmvb")==-1&&Oe.indexOf(".swf")==-1&&Oe.indexOf(".webm")==-1&&Oe.indexOf(".wmv")==-1){e.b.info("\u4E0D\u652F\u6301\u7684\u89C6\u9891\u683C\u5F0F"),ye();return}if(!(((De=q.userInfo)===null||De===void 0?void 0:De.admin)||((je=q.userInfo)===null||je===void 0?void 0:je.business))&&Ce.size>D*1024*1024){e.b.info("\u89C6\u9891\u5927\u5C0F\u8D85\u8FC7".concat(D,"M")),ye();return}if((we=te.videoList)===null||we===void 0?void 0:we.find(function(Ve){return Ve.name===Ce.name})){e.b.info("\u4F60\u4E0D\u80FD\u4E0A\u4F20\u540C\u4E00\u4E2A\u89C6\u9891\u6587\u4EF6\u540D\u79F0\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002"),ye();return}Le(Ce)},Ie=function(Se,De){p.a.confirm({title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:A.a.createElement("div",{className:"tc"},"\u60A8\u786E\u8BA4\u8981",De?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20","\u8BE5\u89C6\u9891\u5417\uFF1F"),onOk:function(){ye(),ee({type:"removeVideo",payload:{name:Se}})}})},Le=function(Se){var De,je='{"Vod":{}}';if(ue(!0),$.current){$.current.addFile(Se,null,null,null,je);return}Object(k.a)((De=q.userInfo)===null||De===void 0?void 0:De.login,{create:!$,addFileSuccess:function(Ce){ee({type:"addVideo",payload:{uploadInfo:Ce}})},onUploadProgress:function(Ce,Oe,Ve){var Ge=Math.ceil(Ve*100);ee({type:"updateProgress",payload:{uploadInfo:Ce,progressPercent:Ge}}),ye()},onUploadFailed:function(Ce){e.b.info("\u89C6\u9891\u4E91\u670D\u52A1\u51FA\u73B0\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20\u3002")},onUploadEnd:function(Ce){ue(!1)},onUploadSucceed:function(Ce){ue(!1)},onUploadError:function(Ce){ue(!1)},gotUploader:function(Ce){Ce.addFile(Se,null,null,null,je),$.current=Ce}})},Ye=function(){var Re=Object(i.a)(g.a.mark(function Se(){var De,je;return g.a.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return Ce.next=2,ae.validateFields();case 2:if(!(le&&(le==null?void 0:le.length)>0||E&&t)){Ce.next=12;break}return Ee(!0),De=E?{link:t}:{video_id:le==null?void 0:le[0].attachment_id,video_name:le==null?void 0:le[0].name,filesize:le==null?void 0:le[0].filesize,duration:le==null?void 0:le[0].duration},Ce.next=7,M(Object(d.a)(Object(d.a)({},De),{name:ae.getFieldValue("name"),description:ae.getFieldValue("description")}));case 7:je=Ce.sent,Ee(!1),je.id&&Ne(),Ce.next=13;break;case 12:e.b.info("\u8BF7\u5148\u4E0A\u4F20\u89C6\u9891\u6216\u8005\u6DFB\u52A0\u5916\u94FE");case 13:case"end":return Ce.stop()}},Se)}));return function(){return Re.apply(this,arguments)}}(),Ne=function(){ae.resetFields(),ee({type:"removeAll"}),o(null),V(null),ge([])},Qe=function(){j(),Ne()},rt={name:"file",multiple:!0,accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*",action:b.a.API_SERVER+"/api/attachments.json",withCredentials:!0,onRemove:function(Se){ge([])},onChange:function(Se){var De=Se.file.status;if(De!=="uploading",De==="removed"&&ne(Se.fileList),De==="done"){var je;ne(Se==null||((je=Se.fileList)===null||je===void 0)?void 0:je.slice(-1)),it(Se.file),V(!1),e.b.success("".concat(Se.file.name," \u6587\u4EF6\u4E0A\u4F20\u6210\u529F"))}else De==="error"&&e.b.error("".concat(Se.file.name," \u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"))},beforeUpload:function(Se){var De=Se.size/1024/1024<1e3;return De||e.b.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E150MB"),De}};function it(Re){var Se=URL.createObjectURL(Re.originFileObj),De=new Audio(Se);De.addEventListener("loadedmetadata",function(je){var we,Ce,Oe=De.duration,Ve={};Ve.name=Re.name,Ve.duration=Math.floor(Oe),Ve.filesize=Re.size,Ve.attachment_id=Re==null?void 0:Re.response.id,Ve.course_id=K.coursesId,Ve.category_id=(we=Location)===null||we===void 0||((Ce=we.query)===null||Ce===void 0)?void 0:Ce.categoryId,le.push(Ve),ge(Object(l.a)(le))})}var tt=function(){var Se,De,je,we,Ce,Oe,Ve,Ge,He,Ze,$e,et;return A.a.createElement(A.a.Fragment,null,!E&&!!((Se=te.videoList)===null||Se===void 0?void 0:Se.length)&&A.a.createElement("div",{className:P.a.fileProgress},((De=te.videoList)===null||De===void 0||((je=De[0])===null||je===void 0)?void 0:je.loaded)==100?A.a.createElement("div",{className:"".concat(P.a.videoName," font14")},(we=te.videoList)===null||we===void 0||((Ce=we[0])===null||Ce===void 0)?void 0:Ce.name):A.a.createElement(v.a,{style:{width:"80%"},percent:(Oe=te.videoList)===null||Oe===void 0||((Ve=Oe[0])===null||Ve===void 0)?void 0:Ve.loaded,status:((Ge=te.videoList)===null||Ge===void 0||((He=Ge[0])===null||He===void 0)?void 0:He.loaded)==100?"normal":"active"}),A.a.createElement("div",{className:P.a.fileCancel,onClick:function(){var Fe,Xe,qe,Be;return Ie((Fe=te.videoList)===null||Fe===void 0||((Xe=Fe[0])===null||Xe===void 0)?void 0:Xe.name,((qe=te.videoList)===null||qe===void 0||((Be=qe[0])===null||Be===void 0)?void 0:Be.loaded)==100)}},((Ze=te.videoList)===null||Ze===void 0||(($e=Ze[0])===null||$e===void 0)?void 0:$e.loaded)===100?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20")),!((et=te.videoList)===null||et===void 0?void 0:et.length)&&A.a.createElement("div",{className:P.a.uploadWrap},A.a.createElement("label",{htmlFor:"fileUpload",style:{marginRight:"30px"}},A.a.createElement(de.a,rt,A.a.createElement(n.a,{className:P.a.upload,disabled:(le==null?void 0:le.length)>0},A.a.createElement("i",{className:"iconfont icon-shangchuanshipin1 mr5"}),"\u4E0A\u4F20\u89C6\u9891"))),A.a.createElement("label",{className:"".concat(P.a.upload," ").concat(P.a.uploadLink),style:{display:(xe==null?void 0:xe.length)>0?"none":""},onClick:function(){return V(!0)}},A.a.createElement("i",{className:"iconfont icon-lianjie1 mr5"}),"\u6DFB\u52A0\u5916\u94FE")),E&&A.a.createElement(x.a,{className:"mt5",placeholder:"\u8BF7\u8F93\u5165\u89C6\u9891\u94FE\u63A5",value:t,onChange:function(Fe){return o(Fe.target.value)}}))};return A.a.createElement(p.a,{centered:!0,maskClosable:!1,title:H?"\u7F16\u8F91\u89C6\u9891\u9879\u76EE":"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE",width:740,className:P.a.modal,visible:Z,confirmLoading:me,onOk:Ye,onCancel:Qe},A.a.createElement(r.a,{form:ae},A.a.createElement("input",{type:"file",id:"fileUpload",style:{display:"none"},onChange:ke,accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*"}),A.a.createElement(r.a.Item,{label:"\u9879\u76EE\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"}]},A.a.createElement(x.a,{maxLength:40,placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC740\u5B57\u7684\u9879\u76EE\u540D\u79F0"})),A.a.createElement(r.a.Item,{label:"\u9879\u76EE\u5185\u5BB9",name:"content",className:P.a.contentItem},tt()),A.a.createElement(r.a.Item,{label:"\u9879\u76EE\u7B80\u4ECB",name:"description",className:"ml8"},A.a.createElement(L,{rows:5,maxLength:800,placeholder:"\u8BF7\u8F93\u5165\u672C\u89C6\u9891\u7B80\u4ECB\uFF0C\u6700\u591A\u4E0D\u8D85\u8FC7800\u5B57"})),A.a.createElement("div",{className:P.a.description},A.a.createElement("span",null,""),A.a.createElement("div",null,"\u4E0A\u4F20\u8BF4\u660E\uFF1A\u76EE\u524D\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u5355\u4E2A\u89C6\u9891\u6587\u4EF6\u6700\u5927\u9650\u52361000M"),A.a.createElement("div",null,"\u89C6\u9891\u89C4\u683C\uFF1Amp4(h264) "),A.a.createElement("div",null,"\u6E29\u99A8\u63D0\u793A\uFF1A",A.a.createElement("span",{className:P.a.colorOrange},"\u5982\u679C\u4E0A\u4F20\u5230\u5E73\u53F0\u540E\uFF0C\u89C6\u9891\u64AD\u653E\u53EA\u6709\u58F0\u97F3\u6CA1\u6709\u753B\u9762\u3002\u53EF\u4EE5\u4F7F\u7528\u683C\u5F0F\u5DE5\u5382\u8F6C\u6362\u89C6\u9891\u683C\u5F0F\uFF0Cmp4\u7684\u89C6\u9891\u7F16\u7801\u6709\u4E09\u79CD\uFF1AMPEG4(DivX),MPEG4(Xvid),AVC(H264)\uFF0C\u8F6C\u6362\u6210AVC(H264)\u7F16\u7801\uFF0C\u5C31\u80FD\u6B63\u5E38\u64AD\u653E")))))};be.a=Object(m.a)(function(B){var G=B.user,q=B.loading,ie=B.globalSetting;return{user:G,globalSetting:ie,loading:q}})(I)},sWEp:function(We,be,Q){We.exports={wrap:"wrap___3nJXB",title:"title___3AYM5",radioWrap:"radioWrap___dbSML",radio:"radio___3h-_z",colorFF0000:"colorFF0000___2d_ZE",pagination:"pagination___3WP6s"}},vZDz:function(We,be,Q){We.exports={contentWrap:"contentWrap___3Fc2r",footer:"footer___4nxVN",radioGroup:"radioGroup___359yE",wrap:"wrap___1OqR3",introName:"introName___3saG-",rating:"rating___3X95K",modalRating:"modalRating___A4qeN"}},xKgJ:function(We,be,Q){"use strict";Q.d(be,"p",function(){return v}),Q.d(be,"b",function(){return h}),Q.d(be,"c",function(){return g}),Q.d(be,"e",function(){return i}),Q.d(be,"f",function(){return u}),Q.d(be,"t",function(){return p}),Q.d(be,"g",function(){return c}),Q.d(be,"u",function(){return e}),Q.d(be,"d",function(){return a}),Q.d(be,"i",function(){return r}),Q.d(be,"k",function(){return s}),Q.d(be,"v",function(){return d}),Q.d(be,"r",function(){return l}),Q.d(be,"h",function(){return w}),Q.d(be,"j",function(){return x}),Q.d(be,"q",function(){return f}),Q.d(be,"s",function(){return _}),Q.d(be,"a",function(){return b}),Q.d(be,"m",function(){return te}),Q.d(be,"n",function(){return ee}),Q.d(be,"l",function(){return ce}),Q.d(be,"o",function(){return X}),Q.d(be,"w",function(){return ue});var Pe=Q("9kvl"),de;(function($){$[$.SuperAdmin=1]="SuperAdmin",$[$.Operation=2]="Operation",$[$.CertifiedTeacher=5]="CertifiedTeacher",$[$.TrainingProduction=8]="TrainingProduction",$[$.UncertifiedTeacher=12]="UncertifiedTeacher",$[$.Student=15]="Student"})(de||(de={}));var fe;(function($){$[$.SuperAdmin=1]="SuperAdmin",$[$.Operation=2]="Operation",$[$.Admin=5]="Admin",$[$.Teacher=8]="Teacher",$[$.Assistant=12]="Assistant",$[$.Student=15]="Student"})(fe||(fe={}));var n=function(se){var T=Object(Pe.b)()._store.getState(),t=T.user,o=t.userInfo;return se.some(function(C){return C==(o==null?void 0:o.role)})},O=function(se){var T=Object(Pe.b)()._store.getState(),t=T.user,o=t.userInfo;return(o==null?void 0:o.own)?!0:se.some(function(C){var y;return C==(o==null||((y=o.course)===null||y===void 0)?void 0:y.course_role)})},v=function(){var se=Object(Pe.b)()._store.getState(),T=se.user,t=T.userInfo;return t.main_site},h=function(){var se,T=Object(Pe.b)()._store.getState(),t=T.user,o=t.userInfo;return o==null||((se=o.course)===null||se===void 0)?void 0:se.course_is_end},g=function(){return O([fe.SuperAdmin,fe.Operation,fe.Admin,fe.Teacher,fe.Assistant])},i=function(){return O([fe.SuperAdmin,fe.Teacher,fe.Admin,fe.Assistant,fe.Operation])},u=function(){return O([fe.SuperAdmin,fe.Teacher,fe.Admin])},p=function(){return O([fe.SuperAdmin])},c=function(){return O([fe.SuperAdmin,fe.Operation,fe.Admin])},e=function(){return n([fe.SuperAdmin,fe.Operation])},a=function(){return O([fe.SuperAdmin,fe.Admin])},r=function(){return O([fe.SuperAdmin,fe.Operation,fe.Admin,fe.Teacher])},s=function(){return O([fe.Assistant])},d=function(){return O([fe.Teacher])},l=function(){return O([fe.Student])},w=function(){return O([fe.SuperAdmin,fe.Operation,fe.Admin,fe.Teacher,fe.Assistant,fe.Student])},x=function(){return O([fe.SuperAdmin,fe.Operation,fe.Admin,fe.Teacher,fe.Assistant])},f=function(){var se,T=Object(Pe.b)()._store.getState(),t=T.user,o=t.userInfo;return(o==null||((se=o.course)===null||se===void 0)?void 0:se.course_role)===null},A=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher,de.Student])},S=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return T||!T&&n([de.SuperAdmin])},m=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return T||!T&&n([de.SuperAdmin,de.Operation])},_=function(){return n([fe.Student])},P=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher,de.Student]):T||!T&&n([de.SuperAdmin,de.Operation])},k=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher,de.Student]):T||!T&&n([de.SuperAdmin,de.Operation])},b=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction])},L=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin]):T||!T&&n([de.SuperAdmin])},D=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation]):T||!T&&n([de.SuperAdmin,de.Operation])},F=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher,de.Student]):T||!T&&n([de.SuperAdmin,de.Operation])},I=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher]):T||!T&&n([de.SuperAdmin,de.Operation])},B=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation,de.CertifiedTeacher]):T||!T&&n([de.SuperAdmin,de.Operation])},G=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin]):!1},q=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher,de.Student])},ie=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin]):T||!T&&n([de.SuperAdmin])},z=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation]):T||!T&&n([de.SuperAdmin,de.Operation])},oe=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher,de.Student]):T||!T&&n([de.SuperAdmin,de.Operation])},Z=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?!1:T||!T&&n([de.SuperAdmin,de.Operation])},H=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?T||!T&&n([de.SuperAdmin,de.Operation]):!1},R=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher]):!1},j=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?!T&&n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher]):!1},N=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation,de.CertifiedTeacher]):T||!T&&n([de.SuperAdmin,de.Operation])},M=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher])},K=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin]):T||!T&&n([de.SuperAdmin])},J=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation]):T||!T&&n([de.SuperAdmin,de.Operation])},pe=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher]):T||!T&&n([de.SuperAdmin,de.Operation])},ae=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?T||!T&&n([de.SuperAdmin,de.Operation]):!1},he=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se?n([de.SuperAdmin,de.Operation,de.CertifiedTeacher,de.TrainingProduction,de.UncertifiedTeacher]):T||!T&&n([de.SuperAdmin,de.Operation])},ve=function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return O([fe.Teacher])},te=function(){return n([de.SuperAdmin])},ee=function(){return n([de.SuperAdmin,de.Operation])},ce=function(){return n([de.Student])},W=function(){return n([de.SuperAdmin,de.Operation,de.CertifiedTeacher])},X=function(){var se,T=Object(Pe.b)()._store.getState(),t=T.user;return!!((se=t.userInfo)===null||se===void 0?void 0:se.login)},ue=function(){var se=Object(Pe.b)()._store.getState(),T=se.user;return T.userInfo}}}]);
|