You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Video__Detail__id.23a42d...

47 lines
463 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

(window.webpackJsonp=window.webpackJsonp||[]).push([[206,10,12],{"1ZF9":function(qe,Be,se){qe.exports=se.p+"static/Authorize.cc9c212f.png"},"96GE":function(qe,Be,se){"use strict";se.r(Be),se.d(Be,"formatQuery",function(){return le});var Pe=se("T2oS"),Ge=se("W9HT"),pe=se("XEnU"),n=se("SIvP"),A=se("q1tI"),v=se.n(A),h=se("9kvl"),g=se("JqQi"),i=se.n(g),s=se("5Dmo"),p=se("3S7+"),u=se("+L6B"),e=se("2/Rp"),o=se("pC0b"),r=se("GzdX"),c=se("c1Ei"),d=se.n(c),l=se("5Tp6"),x=se("k16G"),E=se("nUhQ"),f=se.n(E),T=se("2qtc"),S=se("kLXV"),m=se("7Kak"),b=se("9yH6"),O=se("miYZ"),C=se("tsqr"),_=se("5NDa"),j=se("5rEg"),D=se("WHYC"),N=se("sWEp"),L=se.n(N),B=se("qdXH"),q=j.a.Search,G=function(he){var oe,be=he.videoDetail,Ce=he.globalSetting,xe=he.loading,je=he.dispatch,Me=Object(n.a)(he,["videoDetail","globalSetting","loading","dispatch"]),ze=Object(D.m)(),$e=Object(D.l)(),Ze=Object(A.useState)([]),et=Object(x.a)(Ze,2),Ke=et[0],Je=et[1],rt=Object(A.useState)(""),it=Object(x.a)(rt,2),tt=it[0],Ae=it[1],ge=Object(A.useState)(),Se=Object(x.a)(ge,2),Te=Se[0],me=Se[1],we=Object(A.useState)(!1),Ee=Object(x.a)(we,2),Ue=Ee[0],Ne=Ee[1],Fe=Object(A.useState)(!1),Ye=Object(x.a)(Fe,2),We=Ye[0],Qe=Ye[1];Object(A.useEffect)(function(){be.actionTabs.key==="Banner-SendToClass"&&ke()},[be.actionTabs.key]);var ke=function(){var Ie=Object(l.a)(d.a.mark(function Ve(){var Oe,Le;return d.a.wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:return nt.next=2,Object(B.h)({});case 2:if(Le=nt.sent,!(Le==null||((Oe=Le.courses)===null||Oe===void 0)?void 0:Oe.length)){nt.next=8;break}Je((Le==null?void 0:Le.courses)||[]),Qe(!0),nt.next=11;break;case 8:return Xe(),C.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()}},Ve)}));return function(){return Ie.apply(this,arguments)}}(),De=function(Ve){Je(Ke==null?void 0:Ke.map(function(Oe){return Object(pe.a)(Object(pe.a)({},Oe),{},{hide:!Oe.course_name.includes(Ve)})}))},Re=function(){var Ie=Object(l.a)(d.a.mark(function Ve(){var Oe;return d.a.wrap(function(He){for(;;)switch(He.prev=He.next){case 0:if(Te){He.next=3;break}return Ne(!0),He.abrupt("return");case 3:return He.next=5,Object(B.n)({id:ze.videoId,course_id:Te});case 5:Oe=He.sent,(Oe==null?void 0:Oe.status)===0&&(C.b.success(Oe.message),Xe(),h.c===null||h.c===void 0||h.c.replace("/classrooms/".concat(Te,"/shixun_homework")));case 7:case"end":return He.stop()}},Ve)}));return function(){return Ie.apply(this,arguments)}}(),Xe=function(){Ae(""),me(null),Ne(!1),je({type:"videoDetail/setActionTabs",payload:{}}),Qe(!1)};return v.a.createElement(S.a,{centered:!0,keyboard:!1,closable:!1,title:"\u53D1\u9001\u81F3\u8BFE\u5802",visible:We,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:Re,onCancel:Xe},v.a.createElement("div",{className:L.a.wrap},v.a.createElement("div",{className:"mb10"},v.a.createElement(q,{placeholder:"\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:tt,onChange:function(Ve){return Ae(Ve.target.value)},onSearch:function(Ve){Ae(Ve),De(Ve)}})),v.a.createElement("div",{className:L.a.radioWrap},v.a.createElement(b.a.Group,{value:Te,onChange:function(Ve){me(Ve.target.value),Ne(!1)}},Ke==null||((oe=Ke.filter(function(Ie){return!(Ie==null?void 0:Ie.hide)}))===null||oe===void 0)?void 0:oe.map(function(Ie,Ve){return v.a.createElement(b.a,{className:L.a.radio,value:Ie.course_id,key:Ve},Ie.course_name)}))),Ue&&v.a.createElement("div",{className:L.a.colorFF0000},"\u8BF7\u9009\u62E9\u4F60\u8981\u53D1\u9001\u7684\u8BFE\u5802"),v.a.createElement("div",{className:L.a.title},"\u6E29\u99A8\u63D0\u793A\uFF1A\u5F53\u524D\u89C6\u9891\u9879\u76EE\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802")))},Z=Object(h.a)(function(ye){var he=ye.videoDetail,oe=ye.loading,be=ye.globalSetting;return{videoDetail:he,globalSetting:be,loading:oe.models.index}})(G),F=se("sBCT"),ee=se("1vsH"),$=se("NLgs"),W=se("Awhp"),R=se("KrTs"),I=se("O3gP"),M=se("lrIw"),U=se("3S9h"),H=se("eoI0"),Y=se.n(H),ae=se("HBuW"),ne=function(he){var oe,be,Ce=he.videoDetail,xe=he.dispatch,je=xe===void 0?function(){}:xe,Me=he.visible,ze=he.onClose,$e=ze===void 0?function(){}:ze,Ze=Ce.queryParams,et=Ce.queryParams,Ke=et.subject_id,Je=et.videoId,rt={videoId:Je},it={query:Ze},tt=Object(A.useState)(0),Ae=Object(x.a)(tt,2),ge=Ae[0],Se=Ae[1],Te=Object(A.useState)(""),me=Object(x.a)(Te,2),we=me[0],Ee=me[1],Ue=Object(A.useState)([]),Ne=Object(x.a)(Ue,2),Fe=Ne[0],Ye=Ne[1],We=Object(A.useState)([]),Qe=Object(x.a)(We,2),ke=Qe[0],De=Qe[1];Object(A.useEffect)(function(){var Oe,Le,He=((Oe=Ce.detail)===null||Oe===void 0||((Le=Oe.video_item)===null||Le===void 0)?void 0:Le.schools)||[];Se((He==null?void 0:He.length)?1:0),De(He)},[(oe=Ce.detail)===null||oe===void 0||((be=oe.video_item)===null||be===void 0)?void 0:be.schools]);var Re=function(){var Oe=Object(l.a)(d.a.mark(function Le(He){var nt;return d.a.wrap(function(at){for(;;)switch(at.prev=at.next){case 0:return at.next=2,Object(ae.L)({q:He});case 2:nt=at.sent,nt&&Ye(nt.shools_name||[]);case 4:case"end":return at.stop()}},Le)}));return function(He){return Oe.apply(this,arguments)}}(),Xe=function(Le){if(ke.includes(Le)){C.b.info("\u8BF7\u52FF\u6307\u5B9A\u76F8\u540C\u7684\u5355\u4F4D");return}Ee(""),De([].concat(Object(U.a)(ke),[Le]))},Ie=function(){var Oe=Object(l.a)(d.a.mark(function Le(){var He;return d.a.wrap(function(ot){for(;;)switch(ot.prev=ot.next){case 0:if(!(ge===1&&!(ke==null?void 0:ke.length))){ot.next=2;break}return ot.abrupt("return",C.b.info("\u8BF7\u9009\u62E9\u6307\u5B9A\u5355\u4F4D\u516C\u5F00"));case 2:return ot.next=4,Object(B.a)(Object(pe.a)(Object(pe.a)({},le(it.query)),{},{id:rt.videoId,schools:ge===0?[]:ke}));case 4:He=ot.sent,(He==null?void 0:He.status)===0&&(C.b.success("\u8BBE\u7F6E\u6210\u529F"),Ve());case 6:case"end":return ot.stop()}},Le)}));return function(){return Oe.apply(this,arguments)}}(),Ve=function(){$e(),je({type:"videoDetail/getVideoDetail",payload:Object(pe.a)(Object(pe.a)({},le(it.query)),{},{id:rt.videoId})})};return v.a.createElement(S.a,{centered:!0,maskClosable:!1,title:"\u6743\u9650\u8BBE\u7F6E",width:530,className:Y.a.modal,visible:Me,onOk:Ie,onCancel:Ve},v.a.createElement(v.a.Fragment,null,v.a.createElement(b.a.Group,{value:ge,onChange:function(Le){return Se(Le.target.value)}},v.a.createElement(b.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(b.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"))),ge===1&&v.a.createElement(v.a.Fragment,null,v.a.createElement("div",{className:"mt10"},v.a.createElement(M.a,{showSearch:!0,className:Y.a.selectSchool,placeholder:"\u8BF7\u8F93\u5165\u5E76\u9009\u62E9\u5355\u4F4D\u540D\u79F0",value:we,onChange:function(Le){Ee(Le),Re(Le)},onSelect:Xe,options:Fe==null?void 0:Fe.map(function(Oe){return{value:Oe}})})),v.a.createElement("div",{className:"mt10"},ke==null?void 0:ke.map(function(Oe,Le){return v.a.createElement(R.a,{count:v.a.createElement("span",{className:Y.a.delete,onClick:function(){return De(ke.filter(function(nt){return nt!==Oe}))}},"x"),className:"mt10 mr20 current",key:Le},v.a.createElement(e.a,{type:"primary",ghost:!0},Oe))})))))},ue=ne,de=function(he){var oe=he.user,be=he.videoDetail,Ce=he.globalSetting,xe=he.loading,je=he.dispatch,Me=Object(n.a)(he,["user","videoDetail","globalSetting","loading","dispatch"]),ze=be.queryParams,$e=be.queryParams,Ze=$e.subject_id,et=$e.videoId,Ke={videoId:et},Je={query:ze},rt=Object(A.useState)(),it=Object(x.a)(rt,2),tt=it[0],Ae=it[1],ge=Object(A.useState)(),Se=Object(x.a)(ge,2),Te=Se[0],me=Se[1],we=Object(A.useState)(!1),Ee=Object(x.a)(we,2),Ue=Ee[0],Ne=Ee[1],Fe=function(){je({type:"videoDetail/setActionTabs",payload:{key:"Banner-SendToClass"}})},Ye=function(){var De=Object(l.a)(d.a.mark(function Re(){var Xe,Ie,Ve;return d.a.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(!(((Xe=oe.userInfo)===null||Xe===void 0?void 0:Xe.admin)||((Ie=oe.userInfo)===null||Ie===void 0?void 0:Ie.is_teacher)&&Object($.c)())){Le.next=6;break}return Le.next=3,Object(B.g)(Object(pe.a)({id:Ke.videoId},le(Je.query)));case 3:Ve=Le.sent,me(Ve==null?void 0:Ve.video_item),Ae(!0);case 6:case"end":return Le.stop()}},Re)}));return function(){return De.apply(this,arguments)}}(),We=function(){var De=Object(l.a)(d.a.mark(function Re(Xe){var Ie;return d.a.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,Object(B.m)(Object(pe.a)(Object(pe.a)({},Xe),{},{id:Ke.videoId},le(Je.query)));case 2:return Ie=Oe.sent,(Ie==null?void 0:Ie.status)===0&&(Ae(!1),je({type:"videoDetail/getVideoDetail",payload:Object(pe.a)({id:Ke.videoId},le(Je.query))})),Oe.abrupt("return",Ie);case 5:case"end":return Oe.stop()}},Re)}));return function(Xe){return De.apply(this,arguments)}}(),Qe=be.detail||{},ke=Qe.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},ke==null?void 0:ke.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,(ke==null?void 0:ke.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(ee.p)(ke==null?void 0:ke.star),disabled:!0,className:f.a.rating})),v.a.createElement("div",null,(ke==null?void 0:ke.can_edit)&&v.a.createElement(e.a,{className:"".concat(f.a.button," ").concat(f.a.buttonTransparent," mr15"),onClick:function(){return Ne(!0)}},"\u6743\u9650\u8BBE\u7F6E"),(ke==null?void 0:ke.can_edit)&&v.a.createElement(e.a,{className:"".concat(f.a.button," ").concat(f.a.buttonTransparent," mr15"),onClick:Ye},"\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:Fe},"\u53D1\u9001\u81F3"))))),v.a.createElement(Z,null),v.a.createElement(F.a,{editData:Te,visible:tt,onCancel:function(){return Ae(!1)},onOk:We}),v.a.createElement(ue,{dispatch:je,videoDetail:be,visible:Ue,onClose:function(){return Ne(!1)}}))},Q=Object(h.a)(function(ye){var he=ye.user,oe=ye.videoDetail,be=ye.loading,Ce=ye.globalSetting;return{user:he,videoDetail:oe,globalSetting:Ce,loading:be}})(de),J=se("sRBo"),ie=se("kaz8"),V=se("J66h"),X=se("hgre"),re=se("9Bee"),te=se("vZDz"),ce=se.n(te),k=se("9VGf"),t=function(he){var oe=he.videoDetail,be=he.globalSetting,Ce=he.loading,xe=he.dispatch,je=Object(n.a)(he,["videoDetail","globalSetting","loading","dispatch"]),Me=oe.queryParams,ze=oe.selectParams,$e=oe.videoList,Ze=Me.subject_id,et=Me.videoId,Ke=ze.checkBoxValue,Je=ze.radioValue,rt={videoId:et},it={query:Me},tt=Object(A.useRef)(),Ae=Object(A.useRef)(),ge=Object(A.useRef)(),Se=Object(A.useRef)(5),Te=oe.detail||{},me=Te.video_item;Object(k.a)(Object(l.a)(d.a.mark(function ke(){return d.a.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(!Ae.current){Re.next=5;break}return console.log("videoRef lastUpdatedTime: ",tt.current.getLastUpdatedTime()),console.log(tt.current),Re.next=5,we();case 5:case"end":return Re.stop()}},ke)})),Se.current*1e3);var we=function(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Re=De?{is_f:1}:{};return Object(B.o)(Object(pe.a)(Object(pe.a)({},Re),{id:rt.videoId,point:tt.current.getLastUpdatedTime(),total:tt.current.getDuration()}))},Ee=function(De){return console.log("handlLogWatchHistory: ",De),De.ed==="1"&&(Ae.current=!1,we(!0)),!Ae.current&&!De.ed&&(Ae.current=!0,Se.current=tt.current.getDuration()<=5?1:5,we()),xe({type:"userDetail/logWatchHistory",payload:De})},Ue=function(){Ae.current=!1},Ne=function(){Ae.current=!0},Fe=function(){ge.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:ge.current,onChange:function(Re){return ge.current=Re},className:ce.a.modalRating})),onOk:function(){var De=Object(l.a)(d.a.mark(function Xe(){var Ie;return d.a.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Oe.next=2,Object(B.l)({id:rt.videoId,star:ge.current});case 2:Ie=Oe.sent,Ie.status===0&&xe({type:"videoDetail/getVideoDetail",payload:Object(pe.a)({id:rt.videoId},le(it.query))});case 4:case"end":return Oe.stop()}},Xe)}));function Re(){return De.apply(this,arguments)}return Re}()})},Ye=function(De){var Re=window.filterVideoSign,Xe=Re.findIndex(function(He){return He.id===et}),Ie=Xe===Re.length-1;if(Ie)return;var Ve=Re[Xe+1].id,Oe=Re[Xe+1].can_view,Le=Re[Xe+1].link;if(window.checkBoxValue){if(Le){window.open(Le);return}if(!Oe){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}xe({type:"videoDetail/handleList",payload:{videoId:Ve}}),window.videoTimer=setTimeout(function(){De.current.play()},2e3)}},We=function(De,Re){if(De==="checkBox"){var Xe=Re.target.checked;window.checkBoxValue=Xe,xe({type:"videoDetail/setSelectValue",payload:{radioValue:Je,checkBoxValue:Xe}});return}xe({type:"videoDetail/setSelectValue",payload:{checkBoxValue:Ke,radioValue:Re.target.value}})},Qe=function(){var De=$e.findIndex(function(Xe){return Xe.id===et}),Re=De===$e.length-1;return Re?v.a.createElement("div",null,"\u5F53\u524D\u5DF2\u662F\u6700\u540E\u4E00\u4E2A\u89C6\u9891"):v.a.createElement(ie.a,{onChange:function(Ie){We("checkBox",Ie)},checked:Ke},"\u81EA\u52A8\u64AD\u653E\u4E0B\u4E00\u4E2A\u89C6\u9891")};return v.a.createElement("aside",{className:ce.a.contentWrap},v.a.createElement("aside",{className:ce.a.wrap},v.a.createElement("header",null,(me==null?void 0:me.description)&&v.a.createElement("span",{className:ce.a.introName},"\u7B80\u4ECB"),Object(ee.y)(me==null?void 0:me.my_star)?v.a.createElement(e.a,{type:"primary",ghost:!0,onClick:Fe},"\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:me==null?void 0:me.my_star,disabled:!0,className:ce.a.rating}))),v.a.createElement("div",{className:"mt20"},v.a.createElement(re.a,{value:(me==null?void 0:me.description)||""})),console.log("-------",me),v.a.createElement(X.a,{ref:tt,startTime:me==null?void 0:me.last_point,src:(me==null?void 0:me.is_link)?me==null?void 0:me.link:(me==null?void 0:me.play_url)&&V.Base64.decode(me==null?void 0:me.play_url),videoId:me==null?void 0:me.video_id,logWatchHistory:Ee,handlePause:Ue,handlePlay:Ne,videoSpeed:Je,handlePlayEnded:Ye}),v.a.createElement("div",{className:ce.a.footer},v.a.createElement("div",{className:ce.a.checkBox},Qe()),v.a.createElement("div",{className:ce.a.radioGroup},v.a.createElement(b.a.Group,{onChange:function(De){We("radio",De)},value:Je},v.a.createElement(b.a,{value:1},"1.0X"),v.a.createElement(b.a,{value:1.5},"1.5X"),v.a.createElement(b.a,{value:2},"2.0X"))))))},a=Object(h.a)(function(ye){var he=ye.videoDetail,oe=ye.loading,be=ye.globalSetting;return{videoDetail:he,globalSetting:be,loading:oe}})(t),P=se("MRWH"),y=se.n(P),w=se("m3rI"),z=[{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"})}],K=function(he){var oe=he.dispatch,be=he.videoDetail,Ce=he.user,xe=Object(n.a)(he,["dispatch","videoDetail","user"]),je=be.queryParams,Me=be.stages,ze=be.videoList,$e=be.cust_seq,Ze=je.subject_id,et=je.videoId;Object(A.useEffect)(function(){oe({type:"videoDetail/getStageData",payload:{subject_id:Ze}})},[]);var Ke=function(){var Ae=Object(l.a)(d.a.mark(function ge(Se,Te){var me;return d.a.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(oe({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8BAD\uFF0C\u8BF7\u7A0D\u540E..."}}),!Te){Ee.next=7;break}return Ee.next=4,Object(ae.z)({id:Se});case 4:Ee.t0=Ee.sent,Ee.next=10;break;case 7:return Ee.next=9,Object(ae.A)({id:Se});case 9:Ee.t0=Ee.sent;case 10:if(me=Ee.t0,oe({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),!((me==null?void 0:me.game_identifier)||(me==null?void 0:me.identifier))){Ee.next=15;break}return Object(ee.A)(Te?"/tasks/".concat(me==null?void 0:me.identifier,"/jupyter"):"/tasks/".concat(me.game_identifier)),Ee.abrupt("return");case 15:case"end":return Ee.stop()}},ge)}));return function(Se,Te){return Ae.apply(this,arguments)}}(),Je=function(ge){clearTimeout(window.videoTimer);var Se=ge.id,Te=ge.item_type,me=ge.identifier,we=ge.is_jupyter,Ee=ge.url,Ue=ge.link;if(console.log(ze),Te==="VideoItem"&&!Ue){var Ne,Fe;if(!((Ne=Ce.userInfo)===null||Ne===void 0?void 0:Ne.admin)&&!((Fe=Ce.userInfo)===null||Fe===void 0?void 0:Fe.business)&&!ge.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}oe({type:"videoDetail/handleList",payload:{videoId:Se}});return}if(Te==="VideoItem"&&!!Ue){ge.link&&Object(B.o)({is_f:1,id:ge.id,point:0,total:0}),window.open(Ue);return}if(Te==="Shixun"){Ke(me,we);return}window.open(w.a.IMG_SERVER+Ee)},rt=function(ge){var Se=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],Te=["","\u5341","\u767E","\u5343","\u4E07"];ge=parseInt(ge);var me=function(Ne){for(var Fe=Ne.toString().split("").reverse(),Ye="",We=0;We<Fe.length;We++)Ye=(We==0&&Fe[We]==0||We>0&&Fe[We]==0&&Fe[We-1]==0?"":Se[Fe[We]]+(Fe[We]==0?Te[0]:Te[We]))+Ye;return Ye},we=Math.floor(ge/1e4),Ee=ge%1e4;return Ee.toString().length<4&&(Ee="0"+Ee),we?me(we)+"\u4E07"+me(Ee):me(ge)},it=function(ge,Se,Te,me){var we=ge.name,Ee=ge.item_type,Ue=ge.id;if(Ee==="StageCatalog")return;var Ne="".concat(Se+1,"-").concat(Te+1,"-").concat(me+1),Fe=z.find(function(Qe){return Qe.type===Ee}).icon,Ye=Ee==="VideoItem"?y.a.brght:y.a.gray,We=et===Ue?"".concat(Ye," ").concat(y.a.active):Ye;return v.a.createElement("div",{key:Ne,onClick:function(){return Je(ge)},className:We,style:{paddingLeft:52}},v.a.createElement("span",{className:y.a.s1},Fe),!!$e&&v.a.createElement("span",{className:y.a.s2},Ne),v.a.createElement("span",{className:y.a.s3},"\u203B ",we))},tt=function(ge,Se,Te){var me=ge.name,we=ge.item_type,Ee=ge.id,Ue=ge.children;if(we==="StageCatalog")return;var Ne="".concat(Se+1,"-").concat(Te+1),Fe=z.find(function(Qe){return Qe.type===we}).icon,Ye=we==="VideoItem"?y.a.brght:y.a.gray,We=et===Ee?"".concat(Ye," ").concat(y.a.active):Ye;return v.a.createElement(A.Fragment,{key:Ne},v.a.createElement("div",{onClick:function(){return Je(ge)},className:We},v.a.createElement("span",{className:y.a.s1},Fe),!!$e&&v.a.createElement("span",{className:y.a.s2},Ne),v.a.createElement("span",{className:y.a.s3},"\u203B ",me)),!!Ue.length&&Ue.map(function(Qe,ke){return it(Qe,Se,Te,ke)}))};return v.a.createElement("aside",{className:y.a.list},Me.map(function(Ae,ge){var Se=Ae.stage_name,Te=Ae.shixuns_list,me=Te===void 0?[]:Te,we=Ae.items,Ee=we===void 0?[]:we,Ue=Object(U.a)(Ee);return v.a.createElement("aside",{key:ge,className:y.a.box},v.a.createElement("div",{className:y.a.title},rt(ge+1),"\u3001",Se),Ue.map(function(Ne,Fe){return tt(Ne,ge,Fe)}),ge!==Me.length-1&&v.a.createElement("div",{className:y.a.line}))}))},fe=Object(h.a)(function(ye){var he=ye.user,oe=ye.videoDetail,be=ye.loading,Ce=ye.globalSetting;return{user:he,videoDetail:oe,globalSetting:Ce,loading:be}})(K),le=function(he){var oe=he.subject_id;return{subject_id:oe,course_id:oe}},ve=function(he){var oe=he.videoDetail,be=he.globalSetting,Ce=he.loading,xe=he.dispatch,je=Object(n.a)(he,["videoDetail","globalSetting","loading","dispatch"]),Me=oe.queryParams,ze=Me.subject_id,$e=Me.videoId,Ze={videoId:$e},et={query:Me};return Object(A.useEffect)(function(){if(!Ze.videoId)return;xe({type:"videoDetail/getVideoDetail",payload:Object(pe.a)(Object(pe.a)({},le(et.query)),{},{id:Ze.videoId})})},[Ze.videoId]),Object(A.useEffect)(function(){var Ke,Je;document.title=((Ke=oe.detail)===null||Ke===void 0||((Je=Ke.video_item)===null||Je===void 0)?void 0:Je.name)||"EduCoder"},[oe]),v.a.createElement(Ge.a,{spinning:!1},v.a.createElement("section",{className:i.a.bg},v.a.createElement(Q,null),v.a.createElement("div",{className:i.a.container},v.a.createElement(fe,null),v.a.createElement(a,null))))},_e=Be.default=Object(h.a)(function(ye){var he=ye.videoDetail,oe=ye.loading,be=ye.globalSetting;return{videoDetail:he,globalSetting:be,loading:oe}})(ve)},"9Bee":function(qe,Be,se){"use strict";var Pe=se("q1tI"),Ge=se.n(Pe),pe=se("vg9a"),n=se("k16G"),A=se("DlQD"),v=se.n(A),h=se("rUJ1");function g(q,G){var Z=q.match(/^(\s+)(?:```)/);if(Z===null)return G;var F=Z[1];return G.split(`
`).map(function(ee){var $=ee.match(/^\s+/);if($===null)return ee;var W=Object(n.a)($,1),R=W[0];return R.length>=F.length?ee.slice(F.length):ee}).join(`
`)}var i=[],s=["<ul>"],p=new v.a.Renderer,u=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function e(){i.length=0,s=["<ul>"]}function o(q,G,Z,F){if(G>=q.length||q[G].level<=Z)return G;var ee=q[G];F.push("<li><a href='#"+ee.anchor+"'>"+ee.text+"</a>"),G++;var $=[];return G=o(q,G,ee.level,$),$.length>0&&(F.push("<ul>"),$.forEach(function(W){F.push(W)}),F.push("</ul>")),F.push("</li>"),G=o(q,G,Z,F),G}function r(){return o(i,0,0,s),s.push("</ul>"),s.join("")}var c={heading:function(G){var Z=u.exec(G);if(Z)return{type:"heading",raw:Z[0],depth:Z[1].length,text:Z[2]}},fences:function(G){var Z=this.rules.block.fences.exec(G);if(Z){var F=Z[0],ee=g(F,Z[3]||""),$=Z[2]?Z[2].trim():Z[2];if(["latex","katex","math"].indexOf($)>=0){var W=x(),R=ee;ee=W,E[W]={type:"block",expression:R}}return{type:"code",raw:F,lang:$,text:ee}}}},d=/(?:\${2})([^\n`]+?)(?:\${2})/gi,l=0,x=function(){return"__special_katext_id_".concat(l++,"__")},E={};function f(){return E}function T(){l=0,E={}}function S(q){return q=q.replace(d,function(G,Z){var F=x();return E[F]={type:"inline",expression:Z},F}),q}var m=p.listitem;p.listitem=function(q){return m(S(q))};var b=p.paragraph;p.paragraph=function(q){return b(S(q))};var O=p.tablecell;p.tablecell=function(q,G){return O(S(q),G)},p.code=function(q,G,Z){var F=(G||"").match(/\S*/)[0];return F?["latex","katex","math"].indexOf(F)>=0?"<p class='editormd-tex'>".concat(q,"</p>"):'<pre class="prettyprint linenums"><code class="language-'.concat(G,'">').concat(Z?q:Object(h.escape)(q,!0),`</code></pre>
`):'<pre class="prettyprint linenums"><code>'+(Z?q:Object(h.escape)(q,!0))+"</code></pre>"},p.heading=function(q,G,Z){var F=this.options.headerPrefix+Z.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return i.push({anchor:F,level:G,text:q}),"<h"+G+' id="'+F+'">'+q+"</h"+G+">"},v.a.setOptions({silent:!0,smartypants:!0,gfm:!0,pedantic:!1}),v.a.use({tokenizer:c,renderer:p});var C=v.a,_=se("SJMd"),j=se("m3rI"),D=se("Oy/b"),N=/<pre[^>]*>/g;function L(q){var G=document.createElement("div");return G.innerHTML=q,G.childNodes.length===0?"":G.childNodes[0].nodeValue}var B=Be.a=function(q){var G=q.value,Z=G===void 0?"":G,F=q.className,ee=q.style,$=ee===void 0?{}:ee,W=String(Z),R=Object(Pe.useMemo)(function(){try{var U=/\(\s+\/api\/attachments\/|\(\/api\/attachments\/|\(\/attachments\/download\//g,H=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Y=/\(\s+\/files\/uploads\/|\(\/files\/uploads\//g;W=W.replace(U,"("+j.a.API_SERVER+"/api/attachments/").replace(H,'"'+j.a.API_SERVER+"/api/attachments/").replace(Y,'"'+j.a.API_SERVER+"/files/uploads/")}catch(ue){}var ae=C(W),ne=f();return W.match(/\[TOC\]/)&&(ae=ae.replace("<p>[TOC]</p>",r()),e()),ae=ae.replace(/(__special_katext_id_\d+__)/g,function(ue,de){var Q=ne[de],J=Q.type,ie=Q.expression;return Object(D.renderToString)(L(ie)||"",{displayMode:J==="block",throwOnError:!1,output:"html"})}),ae=ae.replace(/▁/g,"\u2581\u2581\u2581"),T(),ae},[W]),I=Object(Pe.useRef)();function M(U){var H=U.target;if(H.tagName.toUpperCase()==="A"){var Y=H.getAttribute("href");if(Y.startsWith("#")){U.preventDefault();var ae=document.getElementById(Y.replace("#",""));ae&&ae.scrollIntoView(!0)}}}return Object(Pe.useEffect)(function(){if(I.current&&R&&(R.match(N)&&window.PR.prettyPrint()),I.current)return I.current.addEventListener("click",M),function(){I.current.removeEventListener("click",M),T(),e()}},[R,I.current,M]),Ge.a.createElement("div",{ref:I,style:$,className:"".concat(F||""," markdown-body"),dangerouslySetInnerHTML:{__html:R}})}},"9VGf":function(qe,Be,se){"use strict";se.d(Be,"a",function(){return pe});var Pe=se("q1tI"),Ge=se.n(Pe);function pe(n,A){var v=Object(Pe.useRef)();Object(Pe.useEffect)(function(){v.current=n}),Object(Pe.useEffect)(function(){function h(){v.current()}if(A!==null){var g=setInterval(h,A);return function(){return clearInterval(g)}}},[A])}},Aky1:function(qe,Be,se){"use strict";se.d(Be,"a",function(){return g});var Pe=se("ErOA"),Ge=se("qGJc"),pe=se.n(Ge),n="",A;function v(i){h(i)}function h(i){A=new pe.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),A.startUpload()},onUploadstarted:function(p){var u=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:u,file_name:u}}).then(function(c){if(c.status==-1){i.onUploadError&&i.onUploadError(p);return}var d=c.data,l=d.UploadAuth,x=d.UploadAddress,E=d.VideoId;A.setUploadAuthAndAddress(p,l,x)}).catch(function(c){A.deleteFile(A._curIndex),A.nextUpload(),console.log(c)})}else{var e="/api/users/".concat(n,"/video_auths.json"),o="";Object(Pe.a)(e,{method:"Post",body:{title:o+u,file_name:o+u}}).then(function(c){if(c){var d=c.data,l=d.UploadAuth,x=d.UploadAddress,E=d.VideoId;A.setUploadAuthAndAddress(p,l,x,E)}}).catch(function(c){A.deleteFile(A._curIndex),A.nextUpload(),console.log(c)}),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,u,e){i.onUploadFailed&&i.onUploadFailed(p),console.log("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25!")},onUploadCanceled:function(p,u,e){console.log("\u6587\u4EF6\u4E0A\u4F20\u5DF2\u6682\u505C!")},onUploadProgress:function(p,u,e){i.onUploadProgress&&i.onUploadProgress(p,u,e);var o=Math.ceil(e*100);console.log("\u6587\u4EF6\u4E0A\u4F20\u4E2D...")},onUploadTokenExpired:function(p){console.log("\u6587\u4EF6\u4E0A\u4F20\u8D85\u65F6!");var u="/api/users/".concat(n,"/video_auths.json");Object(Pe.a)(u,{method:"put",body:{video_id:p.videoId}}).then(function(e){var o=e.data,r=o.UploadAuth;A.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(A)}function g(i,s){i&&(n=i),v(s);debugger}},JqQi:function(qe,Be,se){qe.exports={bg:"bg___31owl",container:"container___2NGOo"}},MRWH:function(qe,Be,se){qe.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(qe,Be,se){"use strict";se.d(Be,"d",function(){return i}),se.d(Be,"e",function(){return s}),se.d(Be,"c",function(){return u}),se.d(Be,"b",function(){return e}),se.d(Be,"a",function(){return o});var Pe=se("2qtc"),Ge=se("kLXV"),pe=se("q1tI"),n=se.n(pe),A=se("9kvl"),v=se("xKgJ"),h=se("1vsH"),g=se("m3rI"),i=function(c){return!!(s(c)&&p())},s=function(c){return Object(v.o)()?!0:(c({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1)},p=function(){var c,d=Object(A.b)()._store.getState(),l=d.user;return((c=l.userInfo)===null||c===void 0?void 0:c.profile_completed)?!0:(Ge.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(){A.c.push("/account/profile/edit")}}),!1)},u=function(){var c,d=Object(A.b)()._store.getState(),l=d.user;return((c=l.userInfo)===null||c===void 0?void 0:c.professional_certification)?!0:(Ge.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:(Ge.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)()?se("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)},o=function(c){return c?!0:(Ge.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:se("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(qe,Be,se){qe.exports=se.p+"static/studnetqun.a5754d96.png"},eoI0:function(qe,Be,se){qe.exports={selectSchool:"selectSchool___2Vrh7",delete:"delete___qM8Jm"}},hgre:function(qe,Be,se){"use strict";var Pe=se("c1Ei"),Ge=se.n(Pe),pe=se("5Tp6"),n=se("q1tI"),A=se.n(n),v=se("GUcZ");Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function h(s,p){return s-p}function g(s){s.sort(h);for(var p=0,u=0;u<s.length-1;u++){var e=Math.abs(s[u+1]-s[u]);e<21&&(p+=e)}return p}var i=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;Be.a=Object(n.forwardRef)(function(s,p){var u,e=s.src,o=s.videoId,r=s.logWatchHistory,c=s.courseId,d=c===void 0?null:c,l=s.startTime,x=s.handlePause,E=x===void 0?function(){}:x,f=s.handlePlay,T=f===void 0?function(){}:f,S=s.handlePlayEnded,m=S===void 0?function(){}:S,b=s.videoSpeed,O=b===void 0?1:b,C=e==null||((u=e.split("."))===null||u===void 0)?void 0:u.pop(),_=C==="flv",j=Object(n.useRef)(),D=navigator.userAgent.toLowerCase().match(i),N=D?D[0]:"pc",L=Object(n.useRef)(!1),B=0,q=0,G=0,Z=null,F=!1,ee=20,$=1,W=!1,R=!1,I=[];Object(n.useImperativeHandle)(p,function(){return{getLastUpdatedTime:function(){return j.current.currentTime},getDuration:function(){return j.current.duration}}});var M=Object(n.useCallback)(function(U){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y={point:j.current.currentTime};Z?(Y.log_id=Z,Y.watch_duration=g(I),Y.total_duration=q):(d?(Y.video_id=parseInt(o,10),Y.course_id=parseInt(d,10)):Y.video_id=o,Y.duration=B,Y.device=N),H&&(Y.ed="1");function ae(){return ne.apply(this,arguments)}function ne(){return ne=Object(pe.a)(Ge.a.mark(function ue(){var de;return Ge.a.wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return W=!0,J.next=3,r(Y);case 3:de=J.sent,Z=de,W=!1,U&&U();case 7:case"end":return J.stop()}},ue)})),ne.apply(this,arguments)}ae()},[o,d]);return Object(n.useEffect)(function(){var U=null;return v.a.isSupported&&_?(U=v.a.createPlayer({type:"flv",volume:.8,cors:!0,url:e,muted:!1}),j.current&&(U.attachMediaElement(j.current),U.load())):j.current.setAttribute("src",e),function(){U&&(U.unload(),U.pause(),U.destroy(),U=null)}},[j,_,e]),Object(n.useEffect)(function(){function U(){T(),l&&!L.current&&(j.current.currentTime=l),L.current=!0,I.push(j.current.currentTime),F||(F=!0,M())}function H(){return Y.apply(this,arguments)}function Y(){return Y=Object(pe.a)(Ge.a.mark(function J(){return Ge.a.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:I.push(j.current.currentTime),M(function(){Z=null,G=0,F=!1,W=!1,R=!1,I=[],q=0,$=1},!0);case 2:case"end":return V.stop()}},J)})),Y.apply(this,arguments)}function ae(){if(!R){var J=j.current.currentTime,ie=J-G;Math.abs(ie)<10?(q+=Math.abs(ie),G=J,W||q-$*ee>=0&&($++,I.push(G),M())):(G=J,M())}}function ne(){R=!0}function ue(){j.current.playing&&I.push(j.current.currentTime,G),G=j.current.currentTime,R=!1}function de(){B=j.current.duration,B<=20&&(ee=B/3),j.current.addEventListener("play",U)}function Q(){E()}return j.current.addEventListener("canplay",de),j.current.addEventListener("ended",H),j.current.addEventListener("seeking",ne),j.current.addEventListener("seeked",ue),j.current.addEventListener("timeupdate",ae),j.current.addEventListener("pause",Q),function(){j.current.removeEventListener("canplay",de),j.current.removeEventListener("play",U),j.current.removeEventListener("ended",H),j.current.removeEventListener("seeking",ne),j.current.removeEventListener("seeked",ue),j.current.removeEventListener("timeupdate",ae),j.current.removeEventListener("pause",Q),j.current.playing&&(I.push(G,j.current.currentTime),M())}},[j,e]),Object(n.useEffect)(function(){j.current.onended=function(){m(j)},j.current.playbackRate=O},[e,O]),A.a.createElement("video",{ref:j,controls:!0,autoPlay:!1,controlsList:"nodownload",muted:!1})})},kwm0:function(qe,Be,se){qe.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(qe,Be,se){qe.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(qe,Be,se){(function(Pe){var Ge,Ge;!function(pe){if(!0)window.OSS=pe(),qe.exports=pe();else var n}(function(){var pe;return function(){function n(A,v,h){function g(p,u){if(!v[p]){if(!A[p]){var e=typeof Ge=="function"&&Ge;if(!u&&e)return Ge(p,!0);if(i)return i(p,!0);var o=new Error("Cannot find module '"+p+"'");throw o.code="MODULE_NOT_FOUND",o}var r=v[p]={exports:{}};A[p][0].call(r.exports,function(c){return g(A[p][1][c]||c)},r,r.exports,n,A,v,h)}return v[p].exports}for(var i=typeof Ge=="function"&&Ge,s=0;s<h.length;s++)g(h[s]);return g}return n}()({1:[function(n,A,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,A.exports=h},{"../shims/xhr":244,"./browser/client":2,"./browser/version":5,buffer:38,co:41}],2:[function(n,A,v){(function(h,g){"use strict";function i(W){return W&&W.__esModule?W:{default:W}}function s(W,R){return W[R]||W[R.toLowerCase()]}function p(W,R){var I=_.parse(W);if(!I.protocol){var M=R?"https://":"http://";I=_.parse(M+W)}if(I.protocol!=="http:"&&I.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return I}function u(W,R,I){var M=I?"https://":"http://",U=R?"-internal.aliyuncs.com":".aliyuncs.com";return W.substr(0,"vpc100-oss-cn-".length)==="vpc100-oss-cn-"&&(U=".aliyuncs.com"),_.parse(M+W+U)}function e(){return document&&document.location&&document.location.protocol==="https:"}function o(W,R){if(!(this instanceof o))return new o(W,R);W&&W.inited?this.options=W:this.options=o.initOptions(W),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=L,this.agent=this.options.agent||ee),this.ctx=R,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}var r=n("babel-runtime/regenerator"),c=i(r),d=n("babel-runtime/core-js/object/keys"),l=i(d),x=n("debug")("ali-oss"),E=n("./../../shims/crypto/crypto.js"),f=n("path"),T=n("copy-to"),S=n("mime"),m=n("xml2js"),b=n("humanize-ms"),O=n("agentkeepalive"),C=n("merge-descriptors"),_=n("url"),j=n("is-type-of"),D=n("platform"),N=n("utility"),L=n("urllib"),B=n("./version"),q=n("dateformat"),G=n("bowser"),Z=n("../common/signUtils"),F=n("../common/utils"),ee=new O;A.exports=o,o.initOptions=function(W){if(!W||!W.accessKeyId||!W.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");var R=e(),I={region:"oss-cn-hangzhou",internal:!1,secure:R,bucket:null,endpoint:null,cname:!1};if((0,l.default)(W).forEach(function(M){W[M]!==void 0&&(I[M]=W[M])}),I.accessKeyId=I.accessKeyId.trim(),I.accessKeySecret=I.accessKeySecret.trim(),I.timeout&&(I.timeout=b(I.timeout)),I.endpoint)I.endpoint=p(I.endpoint,I.secure);else{if(!I.region)throw new Error("require options.endpoint or options.region");I.endpoint=u(I.region,I.internal,I.secure)}return I.inited=!0,I};var $=o.prototype;C($,n("./object")),C($,n("./managed_upload")),C($,n("../common/multipart")),C($,n("../common/thunkpool.js")),o.Wrapper=n("./wrapper"),$.signature=function(W){return x("authorization stringToSign: %s",W),Z.computeSignature(this.options.accessKeySecret,W)},$.authorization=function(W,R,I,M){var U=Z.buildCanonicalString(W.toUpperCase(),R,{headers:M,parameters:I});return Z.authorization(this.options.accessKeyId,this.options.accessKeySecret,U)},$.createRequest=function(W){var R={"x-oss-date":q(+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),T(W.headers).to(R),s(R,"Content-Type")||(W.mime===S.default_type&&(W.mime=""),W.mime&&W.mime.indexOf("/")>0?R["Content-Type"]=W.mime:R["Content-Type"]=S.getType(W.mime||f.extname(W.object||""))||"application/octet-stream"),W.content&&(R["Content-Md5"]=E.createHash("md5").update(new g(W.content,"utf8")).digest("base64"),R["Content-Length"]||(R["Content-Length"]=W.content.length));var I=this._getResource(W);R.authorization=this.authorization(W.method,I,W.subres,R);var M=this._getReqUrl(W);x("request %s %s, with headers %j, !!stream: %s",W.method,M,R,!!W.stream);var U=W.timeout||this.options.timeout;return{url:M,params:{agent:this.agent,method:W.method,content:W.content,stream:W.stream,headers:R,timeout:U,writeStream:W.writeStream,customResponse:W.customResponse,ctx:W.ctx||this.ctx}}},$.request=c.default.mark(function W(R){var I,M,U,H;return c.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return I=this.createRequest(R),M=void 0,U=void 0,Y.prev=3,Y.next=6,this.urllib.request(I.url,I.params);case 6:M=Y.sent,x("response %s %s, got %s, headers: %j",R.method,I.url,M.status,M.headers),Y.next=13;break;case 10:Y.prev=10,Y.t0=Y.catch(3),U=Y.t0;case 13:if(H=void 0,!M||!R.successStatuses||R.successStatuses.indexOf(M.status)!==-1){Y.next=26;break}return Y.next=17,this.requestError(M);case 17:if(H=Y.sent,H.code!=="RequestTimeTooSkewed"){Y.next=23;break}return this.options.amendTimeSkewed=+new Date(H.serverTime)-new Date,Y.next=22,this.request(R);case 22:return Y.abrupt("return",Y.sent);case 23:H.params=R,Y.next=30;break;case 26:if(!U){Y.next=30;break}return Y.next=29,this.requestError(U);case 29:H=Y.sent;case 30:if(!H){Y.next=32;break}throw H;case 32:if(!R.xmlResponse){Y.next=36;break}return Y.next=35,this.parseXML(M.data);case 35:M.data=Y.sent;case 36:return Y.abrupt("return",M);case 37:case"end":return Y.stop()}},W,this,[[3,10]])}),$._getResource=function(W){var R="/";return W.bucket&&(R+=W.bucket+"/"),W.object&&(R+=W.object),R},$._isIP=function(W){return F._isIP(W)},$._escape=function(W){return N.encodeURIComponent(W).replace(/%2F/g,"/")},$._getReqUrl=function(W){var R={};T(this.options.endpoint).to(R);var I=this._isIP(R.hostname),M=this.options.cname;!W.bucket||M||I||(R.host=W.bucket+"."+R.host);var U="/";W.bucket&&I&&(U+=W.bucket+"/"),W.object&&(U+=this._escape(W.object).replace(/\+/g,"%2B")),R.pathname=U;var H={};if(W.query&&C(H,W.query),W.subres){var Y={};j.string(W.subres)?Y[W.subres]="":j.array(W.subres)?W.subres.forEach(function(ae){Y[ae]=""}):Y=W.subres,C(H,Y)}return R.query=H,_.format(R)},$._getUserAgent=function(){var W=h&&h.browser?"js":"nodejs",R="aliyun-sdk-"+W+"/"+B.version,I=D.description;return!I&&h&&(I="Node.js "+h.version.slice(1)+" on "+h.platform+" "+h.arch),this._checkUserAgent(R+" "+I)},$._checkUserAgent=function(W){return W.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta")},$.checkBrowserAndVersion=function(W,R){return G.name===W&&G.version.split(".")[0]===R},$.parseXML=function(W){return function(R){g.isBuffer(W)&&(W=W.toString()),m.parseString(W,{explicitRoot:!1,explicitArray:!1},R)}},$.requestError=c.default.mark(function W(R){var I,M,U,H;return c.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(I=null,R.data&&R.data.length){Y.next=5;break}R.status===-1||R.status===-2?(I=new Error(R.message),I.name=R.name,I.status=R.status,I.code=R.name):(R.status===404?(I=new Error("Object not exists"),I.name="NoSuchKeyError",I.status=404,I.code="NoSuchKey"):R.status===412?(I=new Error("Pre condition failed"),I.name="PreconditionFailedError",I.status=412,I.code="PreconditionFailed"):(I=new Error("Unknow error, status: "+R.status),I.name="UnknowError",I.status=R.status),I.requestId=R.headers["x-oss-request-id"],I.host=""),Y.next=30;break;case 5:return M=String(R.data),x("request response error data: %s",M),U=void 0,Y.prev=8,Y.next=11,this.parseXML(M)||{};case 11:U=Y.sent,Y.next=21;break;case 14:return Y.prev=14,Y.t0=Y.catch(8),x(M),Y.t0.message+=`
raw xml: `+M,Y.t0.status=R.status,Y.t0.requestId=R.headers["x-oss-request-id"],Y.abrupt("return",Y.t0);case 21:H=U.Message||"unknow request error, status: "+R.status,U.Condition&&(H+=" (condition: "+U.Condition+")"),I=new Error(H),I.name=U.Code?U.Code+"Error":"UnknowError",I.status=R.status,I.code=U.Code,I.requestId=U.RequestId,I.hostId=U.HostId,I.serverTime=U.ServerTime;case 30:return x("generate error %j",I),Y.abrupt("return",I);case 32:case"end":return Y.stop()}},W,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,A,v){(function(h){"use strict";function g(T){return T&&T.__esModule?T:{default:T}}function i(T,S){if(!(this instanceof i))return new i(T,S);f.call(this,S),this.file=T,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}var s=n("babel-runtime/core-js/array/from"),p=g(s),u=n("babel-runtime/regenerator"),e=g(u),o=n("is-type-of"),r=n("util"),c=n("path"),d=n("mime"),l=n("copy-to"),x=v;x.multipartUpload=e.default.mark(function T(S,m,b){var O,C,_,j,D,N,L,B,q;return e.default.wrap(function(G){for(;;)switch(G.prev=G.next){case 0:if(this.resetCancelFlag(),b=b||{},!b.checkpoint||!b.checkpoint.uploadId){G.next=6;break}return G.next=5,this._resumeMultipart(b.checkpoint,b);case 5:return G.abrupt("return",G.sent);case 6:return O=102400,b.mime||(o.file(m)?b.mime=d.getType(c.extname(m.name)):o.blob(m)?b.mime=m.type:b.mime=d.getType(c.extname(m))),b.headers=b.headers||{},this._convertMetaToHeaders(b.meta,b.headers),G.next=12,this._getFileSize(m);case 12:if(!((C=G.sent)<O)){G.next=25;break}return _=this._createStream(m,0,C),b.contentLength=C,G.next=18,this.putStream(S,_,b);case 18:if(j=G.sent,!b||!b.progress){G.next=22;break}return G.next=22,b.progress(1);case 22:return D={res:j.res,bucket:this.options.bucket,name:S,etag:j.res.headers.etag},(b.headers&&b.headers["x-oss-callback"]||b.callback)&&(D.data=j.data),G.abrupt("return",D);case 25:if(!(b.partSize&&b.partSize<O)){G.next=27;break}throw new Error("partSize must not be smaller than "+O);case 27:return G.next=29,this.initMultipartUpload(S,b);case 29:if(N=G.sent,L=N.uploadId,B=this._getPartSize(C,b.partSize),q={file:m,name:S,fileSize:C,partSize:B,uploadId:L,doneParts:[]},!b||!b.progress){G.next=36;break}return G.next=36,b.progress(0,q,N.res);case 36:return G.next=38,this._resumeMultipart(q,b);case 38:return G.abrupt("return",G.sent);case 39:case"end":return G.stop()}},T,this)}),x._resumeMultipart=e.default.mark(function T(S,m){var b,O,C,_,j,D,N,L,B,q,G,Z,F,ee,$,W,R,I,M,U,H;return e.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(!this.isCancel()){Y.next=2;break}throw this._makeCancelEvent();case 2:if(b=S.file,O=S.fileSize,C=S.partSize,_=S.uploadId,j=S.doneParts,D=S.name,N=[],j.length>0&&l(j).to(N),L=this._divideParts(O,C),B=L.length,q=!1,G=e.default.mark(function ae(ne,ue){var de,Q,J;return e.default.wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:if(ne.isCancel()){ie.next=21;break}return ie.prev=1,de=L[ue-1],Q={stream:ne._createStream(b,de.start,de.end),size:de.end-de.start},ie.next=6,ne._uploadPart(D,_,ue,Q);case 6:if(J=ie.sent,ne.isCancel()||q){ie.next=13;break}if(S.doneParts.push({number:ue,etag:J.res.headers.etag}),N.push({number:ue,etag:J.res.headers.etag}),!m||!m.progress){ie.next=13;break}return ie.next=13,m.progress(j.length/B,S,J.res);case 13:ie.next=21;break;case 15:if(ie.prev=15,ie.t0=ie.catch(1),ne.isCancel()){ie.next=21;break}throw ne.cancel(),ie.t0.partNum=ue,ie.t0;case 21:case"end":return ie.stop()}},ae,this,[[1,15]])}),Z=(0,p.default)(new Array(B),function(ae,ne){return ne+1}),F=N.map(function(ae){return ae.number}),ee=Z.filter(function(ae){return F.indexOf(ae)<0}),$=5,W=m.parallel||$,!this.checkBrowserAndVersion("Internet Explorer","10")&&W!==1){Y.next=26;break}R=0;case 16:if(!(R<ee.length)){Y.next=24;break}if(!this.isCancel()){Y.next=19;break}throw this._makeCancelEvent();case 19:return Y.next=21,G(this,ee[R]);case 21:R++,Y.next=16;break;case 24:Y.next=40;break;case 26:for(I=[],M=0;M<ee.length;M++)I.push(G(this,ee[M]));return Y.next=30,this._thunkPool(I,W);case 30:if(U=Y.sent,q=!0,!(U&&U.length>0)){Y.next=37;break}throw this.resetCancelFlag(),H=U[0],H.message="Failed to upload some parts with error: "+H.toString()+" part_num: "+H.partNum,H;case 37:if(!this.isCancel()){Y.next=40;break}throw I=null,this._makeCancelEvent();case 40:return Y.next=42,this.completeMultipartUpload(D,_,N,m);case 42:return Y.abrupt("return",Y.sent);case 43:case"end":return Y.stop()}},T,this)}),o.file=function(T){return typeof File!="undefined"&&T instanceof File},o.blob=function(T){return typeof Blob!="undefined"&&T instanceof Blob},x._getFileSize=e.default.mark(function T(S){var m;return e.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(!o.buffer(S)){b.next=4;break}return b.abrupt("return",S.length);case 4:if(!o.blob(S)&&!o.file(S)){b.next=6;break}return b.abrupt("return",S.size);case 6:if(!o.string(S)){b.next=11;break}return b.next=9,this._statFile(S);case 9:return m=b.sent,b.abrupt("return",m.size);case 11:throw new Error("_getFileSize requires Buffer/File/String.");case 12:case"end":return b.stop()}},T,this)});var E=n("stream"),f=E.Readable;r.inherits(i,f),i.prototype.readFileAndPush=function(T){if(this.fileBuffer)for(var S=!0;S&&this.fileBuffer&&this.start<this.fileBuffer.length;){var m=this.start,b=m+T;b=b>this.fileBuffer.length?this.fileBuffer.length:b,this.start=b,S=this.push(this.fileBuffer.slice(m,b))}},i.prototype._read=function(T){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);T=T||16384;var S=this;this.reader.onload=function(m){S.fileBuffer=new h(new Uint8Array(m.target.result)),S.file=null,S.readFileAndPush(T)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(T)},x._createStream=function(T,S,m){if(o.blob(T)||o.file(T))return new i(T.slice(S,m));throw new Error("_createStream requires File/String.")},x._getPartSize=function(T,S){return S?Math.max(Math.ceil(T/1e4),S):1048576},x._divideParts=function(T,S){for(var m=Math.ceil(T/S),b=[],O=0;O<m;O++){var C=S*O,_=Math.min(C+S,T);b.push({start:C,end:_})}return b},x._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,A,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),s=n("babel-runtime/regenerator"),p=h(s),u=n("debug")("ali-oss:object"),e=n("utility"),o=n("fs"),r=n("is-type-of"),c=n("url"),d=n("copy-to"),l=n("path"),x=n("mime"),E=n("../common/callback"),f=n("../common/signUtils"),T=v;T.append=p.default.mark(function S(m,b,O){var C;return p.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return O=O||{},O.position===void 0&&(O.position="0"),O.subres={append:"",position:O.position},O.method="POST",_.next=6,this.put(m,b,O);case 6:return C=_.sent,C.nextAppendPosition=C.res.headers["x-oss-next-append-position"],_.abrupt("return",C);case 9:case"end":return _.stop()}},S,this)}),T.put=p.default.mark(function S(m,b,O){var C,_,j,D,N,L;return p.default.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(C=void 0,O=O||{},!r.buffer(b)){B.next=6;break}C=b,B.next=18;break;case 6:if(!r.blob(b)&&!r.file(b)){B.next=17;break}return O.mime||(r.file(b)?O.mime=x.getType(l.extname(b.name)):O.mime=b.type),_=this._createStream(b,0,b.size),B.next=11,this._getFileSize(b);case 11:return O.contentLength=B.sent,B.next=14,this.putStream(m,_,O);case 14:return B.abrupt("return",B.sent);case 17:throw new TypeError("Must provide Buffer/Blob for put.");case 18:return O.headers=O.headers||{},this._convertMetaToHeaders(O.meta,O.headers),j=O.method||"PUT",D=this._objectRequestParams(j,m,O),E.encodeCallback(D,O),D.mime=O.mime,D.content=C,D.successStatuses=[200],B.next=28,this.request(D);case 28:return N=B.sent,L={name:m,url:this._objectUrl(m),res:N.res},D.headers&&D.headers["x-oss-callback"]&&(L.data=JSON.parse(N.data.toString())),B.abrupt("return",L);case 32:case"end":return B.stop()}},S,this)}),T.putStream=p.default.mark(function S(m,b,O){var C,_,j,D;return p.default.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return O=O||{},O.headers=O.headers||{},O.contentLength?O.headers["Content-Length"]=O.contentLength:O.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(O.meta,O.headers),C=O.method||"PUT",_=this._objectRequestParams(C,m,O),E.encodeCallback(_,O),_.mime=O.mime,_.stream=b,_.successStatuses=[200],N.next=12,this.request(_);case 12:return j=N.sent,D={name:m,url:this._objectUrl(m),res:j.res},_.headers&&_.headers["x-oss-callback"]&&(D.data=JSON.parse(j.data.toString())),N.abrupt("return",D);case 16:case"end":return N.stop()}},S,this)}),T.head=p.default.mark(function S(m,b){var O,C,_;return p.default.wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return O=this._objectRequestParams("HEAD",m,b),O.successStatuses=[200,304],j.next=4,this.request(O);case 4:return C=j.sent,_={meta:null,res:C.res,status:C.status},C.status===200&&(0,i.default)(C.headers).forEach(function(D){D.indexOf("x-oss-meta-")===0&&(_.meta||(_.meta={}),_.meta[D.substring(11)]=C.headers[D])}),j.abrupt("return",_);case 8:case"end":return j.stop()}},S,this)}),T.get=p.default.mark(function S(m,b,O){var C,_,j,D;return p.default.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return C=null,_=!1,r.writableStream(b)?C=b:r.string(b)?(C=o.createWriteStream(b),_=!0):O=b,O=O||{},O.process&&(O.subres=O.subres||{},O.subres["x-oss-process"]=O.process),j=void 0,N.prev=6,D=this._objectRequestParams("GET",m,O),D.writeStream=C,D.successStatuses=[200,206,304],N.next=12,this.request(D);case 12:j=N.sent,_&&C.destroy(),N.next=24;break;case 16:if(N.prev=16,N.t0=N.catch(6),!_){N.next=23;break}return C.destroy(),u("get error: %s, delete the exists file %s",N.t0,b),N.next=23,this._deleteFileSafe(b);case 23:throw N.t0;case 24:return N.abrupt("return",{res:j.res,content:j.data});case 25:case"end":return N.stop()}},S,this,[[6,16]])}),T.getStream=p.default.mark(function S(m,b){var O,C;return p.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return b=b||{},O=this._objectRequestParams("GET",m,b),O.customResponse=!0,O.successStatuses=[200,206,304],_.next=6,this.request(O);case 6:return C=_.sent,_.abrupt("return",{stream:C.res,res:{status:C.status,headers:C.headers}});case 8:case"end":return _.stop()}},S,this)}),T.delete=p.default.mark(function S(m,b){var O,C;return p.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return O=this._objectRequestParams("DELETE",m,b),O.successStatuses=[204],_.next=4,this.request(O);case 4:return C=_.sent,_.abrupt("return",{res:C.res});case 6:case"end":return _.stop()}},S,this)}),T.deleteMulti=p.default.mark(function S(m,b){var O,C,_,j,D,N;return p.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:for(b=b||{},O=`<?xml version="1.0" encoding="UTF-8"?>
<Delete>
`,b.quiet?O+=` <Quiet>true</Quiet>
`:O+=` <Quiet>false</Quiet>
`,C=0;C<m.length;C++)O+=" <Object><Key>"+e.escape(this._objectName(m[C]))+`</Key></Object>
`;return O+="</Delete>",u("delete multi objects: %s",O),b.subres="delete",_=this._objectRequestParams("POST","",b),_.mime="xml",_.content=O,_.xmlResponse=!0,_.successStatuses=[200],L.next=14,this.request(_);case 14:return j=L.sent,D=j.data,N=D&&D.Deleted||null,N&&(Array.isArray(N)||(N=[N]),N=N.map(function(B){return B.Key})),L.abrupt("return",{res:j.res,deleted:N});case 19:case"end":return L.stop()}},S,this)}),T.copy=p.default.mark(function S(m,b,O){var C,_,j;return p.default.wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return O=O||{},O.headers=O.headers||{},(0,i.default)(O.headers).forEach(function(N){O.headers["x-oss-copy-source-"+N.toLowerCase()]=O.headers[N]}),O.meta&&(O.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(O.meta,O.headers),b=b[0]!=="/"?"/"+this.options.bucket+"/"+encodeURIComponent(b):"/"+encodeURIComponent(b.slice(1)),O.headers["x-oss-copy-source"]=b,C=this._objectRequestParams("PUT",m,O),C.xmlResponse=!0,C.successStatuses=[200,304],D.next=12,this.request(C);case 12:return _=D.sent,j=_.data,j&&(j={etag:j.ETag,lastModified:j.LastModified}),D.abrupt("return",{data:j,res:_.res});case 16:case"end":return D.stop()}},S,this)}),T.putMeta=p.default.mark(function S(m,b,O){return p.default.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,this.copy(m,m,{meta:b||{},timeout:O&&O.timeout,ctx:O&&O.ctx});case 2:return C.abrupt("return",C.sent);case 3:case"end":return C.stop()}},S,this)}),T.list=p.default.mark(function S(m,b){var O,C,_,j,D;return p.default.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return O=this._objectRequestParams("GET","",b),O.query=m,O.xmlResponse=!0,O.successStatuses=[200],N.next=6,this.request(O);case 6:return C=N.sent,_=C.data.Contents,j=this,_&&(Array.isArray(_)||(_=[_]),_=_.map(function(L){return{name:L.Key,url:j._objectUrl(L.Key),lastModified:L.LastModified,etag:L.ETag,type:L.Type,size:Number(L.Size),storageClass:L.StorageClass,owner:{id:L.Owner.ID,displayName:L.Owner.DisplayName}}})),D=C.data.CommonPrefixes||null,D&&(Array.isArray(D)||(D=[D]),D=D.map(function(L){return L.Prefix})),N.abrupt("return",{res:C.res,objects:_,prefixes:D,nextMarker:C.data.NextMarker||null,isTruncated:C.data.IsTruncated==="true"});case 13:case"end":return N.stop()}},S,this)}),T.putACL=p.default.mark(function S(m,b,O){var C,_;return p.default.wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return O=O||{},O.subres="acl",O.headers=O.headers||{},O.headers["x-oss-object-acl"]=b,m=this._objectName(m),C=this._objectRequestParams("PUT",m,O),C.successStatuses=[200],j.next=9,this.request(C);case 9:return _=j.sent,j.abrupt("return",{res:_.res});case 11:case"end":return j.stop()}},S,this)}),T.getACL=p.default.mark(function S(m,b){var O,C;return p.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return b=b||{},b.subres="acl",m=this._objectName(m),O=this._objectRequestParams("GET",m,b),O.successStatuses=[200],O.xmlResponse=!0,_.next=8,this.request(O);case 8:return C=_.sent,_.abrupt("return",{acl:C.data.AccessControlList.Grant,owner:{id:C.data.Owner.ID,displayName:C.data.Owner.DisplayName},res:C.res});case 10:case"end":return _.stop()}},S,this)}),T.restore=p.default.mark(function S(m,b){var O,C;return p.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return b=b||{},b.subres="restore",O=this._objectRequestParams("POST",m,b),O.successStatuses=[202],_.next=6,this.request(O);case 6:return C=_.sent,_.abrupt("return",{res:C.res});case 8:case"end":return _.stop()}},S,this)}),T.signatureUrl=function(S,m){m=m||{},S=this._objectName(S),m.method=m.method||"GET";var b=e.timestamp()+(m.expires||1800),O={bucket:this.options.bucket,object:S},C=this._getResource(O);this.options.stsToken&&(m["security-token"]=this.options.stsToken);var _=f._signatureForURL(this.options.accessKeySecret,m,C,b),j=c.parse(this._getReqUrl(O));return j.query={OSSAccessKeyId:this.options.accessKeyId,Expires:b,Signature:_.Signature},d(_.subResource).to(j.query),j.format()},T.getObjectUrl=function(S,m){return m?m[m.length-1]!=="/"&&(m+="/"):m=this.options.endpoint.format(),m+this._escape(this._objectName(S))},T._objectUrl=function(S){return this._getReqUrl({bucket:this.options.bucket,object:S})},T.generateObjectUrl=function(S,m){if(m)m[m.length-1]!=="/"&&(m+="/");else{m=this.options.endpoint.format();var b=c.parse(m),O=this.options.bucket;b.hostname=O+"."+b.hostname,b.host=O+"."+b.host,m=b.format()}return m+this._escape(this._objectName(S))},T._objectRequestParams=function(S,m,b){if(!this.options.bucket)throw new Error("Please create a bucket first");b=b||{},m=this._objectName(m);var O={object:m,bucket:this.options.bucket,method:S,subres:b&&b.subres,timeout:b&&b.timeout,ctx:b&&b.ctx};return b.headers&&(O.headers={},d(b.headers).to(O.headers)),O},T._objectName=function(S){return S.replace(/^\/+/,"")},T._statFile=function(S){return function(m){o.stat(S,m)}},T._convertMetaToHeaders=function(S,m){S&&(0,i.default)(S).forEach(function(b){m["x-oss-meta-"+b]=S[b]})},T._deleteFileSafe=function(S){return function(m){o.exists(S,function(b){b?o.unlink(S,function(O){O&&u("unlink %j error: %s",S,O),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,A,v){"use strict";v.version="5.3.1"},{}],6:[function(n,A,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 x=l.constructor;return!!x&&(x.name==="GeneratorFunction"||x.displayName==="GeneratorFunction"||g(x.prototype)||g(l.prototype))}function s(l,x){var E=new l(x),f=(0,r.default)(E),T=(0,r.default)((0,e.default)(E));f.concat(T).forEach(function(S){i(E[S])?this[S]=c.wrap(E[S]).bind(E):this[S]=E[S]},this)}function p(l){if(!(this instanceof p))return new p(l);s.call(this,d,l)}var u=n("babel-runtime/core-js/object/get-prototype-of"),e=h(u),o=n("babel-runtime/core-js/object/keys"),r=h(o),c=n("co"),d=n("./client");A.exports=p,p.STS=function l(x){if(!(this instanceof l))return new l(x);s.call(this,d.STS,x)}},{"./client":2,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/core-js/object/keys":23,co:41}],7:[function(n,A,v){(function(h){"use strict";function g(e){return e&&e.__esModule?e:{default:e}}var i=n("babel-runtime/core-js/object/keys"),s=g(i),p=n("babel-runtime/core-js/json/stringify"),u=g(p);v.encodeCallback=function(e,o){if(e.headers=e.headers||{},!Object.prototype.hasOwnProperty.call(e.headers,"x-oss-callback")&&o.callback){var r={callbackUrl:encodeURI(o.callback.url),callbackBody:o.callback.body};o.callback.host&&(r.callbackHost=o.callback.host),o.callback.contentType&&(r.callbackBodyType=o.callback.contentType);var c=new h((0,u.default)(r)).toString("base64");if(e.headers["x-oss-callback"]=c,o.callback.customValue){var d={};(0,s.default)(o.callback.customValue).forEach(function(l){d["x:"+l]=o.callback.customValue[l]}),e.headers["x-oss-callback-var"]=new h((0,u.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,A,v){"use strict";var h=n("babel-runtime/regenerator"),g=function(u){return u&&u.__esModule?u:{default:u}}(h),i=n("copy-to"),s=n("./callback"),p=v;p.listUploads=g.default.mark(function u(e,o){var r,c,d,l;return g.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return o=o||{},r={},i(o).to(r),r.subres="uploads",c=this._objectRequestParams("GET","",r),c.query=e,c.xmlResponse=!0,c.successStatuses=[200],x.next=10,this.request(c);case 10:return d=x.sent,l=d.data.Upload||[],Array.isArray(l)||(l=[l]),l=l.map(function(E){return{name:E.Key,uploadId:E.UploadId,initiated:E.Initiated}}),x.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 x.stop()}},u,this)}),p.listParts=g.default.mark(function u(e,o,r,c){var d,l,x;return g.default.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return c=c||{},d={},i(c).to(d),d.subres={uploadId:o},l=this._objectRequestParams("GET",e,d),l.query=r,l.xmlResponse=!0,l.successStatuses=[200],E.next=10,this.request(l);case 10:return x=E.sent,E.abrupt("return",{res:x.res,uploadId:x.data.UploadId,bucket:x.data.Bucket,name:x.data.Key,partNumberMarker:x.data.PartNumberMarker,nextPartNumberMarker:x.data.NextPartNumberMarker,maxParts:x.data.MaxParts,isTruncated:x.data.IsTruncated,parts:x.data.Part||[]});case 12:case"end":return E.stop()}},u,this)}),p.abortMultipartUpload=g.default.mark(function u(e,o,r){var c,d,l;return g.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return this.cancel(),r=r||{},c={},i(r).to(c),c.subres={uploadId:o},d=this._objectRequestParams("DELETE",e,c),d.successStatuses=[204],x.next=9,this.request(d);case 9:return l=x.sent,x.abrupt("return",{res:l.res});case 11:case"end":return x.stop()}},u,this)}),p.initMultipartUpload=g.default.mark(function u(e,o){var r,c,d;return g.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return o=o||{},r={},i(o).to(r),r.headers=r.headers||{},this._convertMetaToHeaders(o.meta,r.headers),r.subres="uploads",c=this._objectRequestParams("POST",e,r),c.mime=o.mime,c.xmlResponse=!0,c.successStatuses=[200],l.next=12,this.request(c);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()}},u,this)}),p.uploadPart=g.default.mark(function u(e,o,r,c,d,l,x){var E;return g.default.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return E={stream:this._createStream(c,d,l),size:l-d},f.next=3,this._uploadPart(e,o,r,E,x);case 3:return f.abrupt("return",f.sent);case 4:case"end":return f.stop()}},u,this)}),p.completeMultipartUpload=g.default.mark(function u(e,o,r,c){var d,l,x,E,f,T,S,m;return g.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:for(d=r.concat().sort(function(O,C){return O.number-C.number}).filter(function(O,C,_){return!C||O.number!==_[C-1].number}),l=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,x=0;x<d.length;x++)E=d[x],l+=`<Part>
`,l+="<PartNumber>"+E.number+`</PartNumber>
`,l+="<ETag>"+E.etag+`</ETag>
`,l+=`</Part>
`;return l+="</CompleteMultipartUpload>",c=c||{},f={},i(c).to(f),f.subres={uploadId:o},T=this._objectRequestParams("POST",e,f),s.encodeCallback(T,f),T.mime="xml",T.content=l,T.headers&&T.headers["x-oss-callback"]||(T.xmlResponse=!0),T.successStatuses=[200],b.next=16,this.request(T);case 16:return S=b.sent,m={res:S.res,bucket:T.bucket,name:e,etag:S.res.headers.etag},T.headers&&T.headers["x-oss-callback"]&&(m.data=JSON.parse(S.data.toString())),b.abrupt("return",m);case 20:case"end":return b.stop()}},u,this)}),p._uploadPart=g.default.mark(function u(e,o,r,c,d){var l,x,E;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":c.size},l.subres={partNumber:r,uploadId:o},x=this._objectRequestParams("PUT",e,l),x.mime=l.mime,x.stream=c.stream,x.successStatuses=[200],f.next=11,this.request(x);case 11:return E=f.sent,c.stream=null,x.stream=null,f.abrupt("return",{name:e,etag:E.res.headers.etag,res:E.res});case 15:case"end":return f.stop()}},u,this)})},{"./callback":7,"babel-runtime/regenerator":33,"copy-to":43}],9:[function(n,A,v){(function(h){"use strict";function g(r){return r&&r.__esModule?r:{default:r}}var i=n("babel-runtime/core-js/json/stringify"),s=g(i),p=n("babel-runtime/core-js/object/keys"),u=g(p),e=n("./../../shims/crypto/crypto.js"),o=n("is-type-of");v.buildCanonicalizedResource=function(r,c){var d=""+r,l="?";if(o.string(c)&&c.trim()!=="")d+=l+c;else if(o.array(c))c.sort(),d+=l+c.join("&");else if(c){var x=function(T,S){return T[0]>S[0]?1:T[0]<S[0]?-1:0},E=function(T){d+=l+T,c[T]&&(d+="="+c[T]),l="&"};(0,u.default)(c).sort(x).forEach(E)}return d},v.buildCanonicalString=function(r,c,d,l){d=d||{};var x=d.headers||{},E=[],f={},T=[r.toUpperCase(),x["Content-Md5"]||"",x["Content-Type"]||x["Content-Type".toLowerCase()],l||x["x-oss-date"]];return(0,u.default)(x).forEach(function(S){var m=S.toLowerCase();m.indexOf("x-oss-")===0&&(f[m]=String(x[S]).trim())}),(0,u.default)(f).sort().forEach(function(S){E.push(S+":"+f[S])}),T=T.concat(E),T.push(this.buildCanonicalizedResource(c,d.parameters)),T.join(`
`)},v.computeSignature=function(r,c){return e.createHmac("sha1",r).update(new h(c,"utf8")).digest("base64")},v.authorization=function(r,c,d){return"OSS "+r+":"+this.computeSignature(c,d)},v._signatureForURL=function(r,c,d,l){var x={},E={};if(c.process&&(E["x-oss-process"]=c.process),c.response&&(0,u.default)(c.response).forEach(function(m){var b="response-"+m.toLowerCase();E[b]=c.response[m]}),(0,u.default)(c).forEach(function(m){var b=m.toLowerCase(),O=c[m];b.indexOf("x-oss-")===0?x[b]=O:b.indexOf("content-md5")===0||b.indexOf("content-type")===0?x[m]=O:b!=="expires"&&b!=="response"&&b!=="process"&&b!=="method"&&(E[b]=O)}),Object.prototype.hasOwnProperty.call(c,"security-token")&&(E["security-token"]=c["security-token"]),Object.prototype.hasOwnProperty.call(c,"callback")){var f={callbackUrl:encodeURI(c.callback.url),callbackBody:c.callback.body};if(c.callback.host&&(f.callbackHost=c.callback.host),c.callback.contentType&&(f.callbackBodyType=c.callback.contentType),E.callback=new h((0,s.default)(f)).toString("base64"),c.callback.customValue){var T={};(0,u.default)(c.callback.customValue).forEach(function(m){T["x:"+m]=c.callback.customValue[m]}),E["callback-var"]=new h((0,s.default)(T)).toString("base64")}}var S=this.buildCanonicalString(c.method,d,{headers:x,parameters:E},l.toString());return{Signature:this.computeSignature(r,S),subResource:E}}}).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,A,v){"use strict";var h=n("babel-runtime/regenerator"),g=function(e){return e&&e.__esModule?e:{default:e}}(h),i=n("co"),s=n("co-priority-queue"),p=n("any-promise"),u=v;u._thunkPool=function(e,o){function r(E,f){++l===E.length&&f(x)}function c(E,f){function T(){var _;return g.default.wrap(function(j){for(;;)switch(j.prev=j.next){case 0:_=void 0;case 1:if(d.isCancel()){j.next=9;break}return j.next=4,b.next();case 4:return _=j.sent,j.next=7,_();case 7:j.next=1;break;case 9:O+=1,O===E&&(b.fns=[],b.buffer=[],f(x));case 11:case"end":return j.stop()}},m,this)}function S(_){console.error(_.stack)}for(var m=g.default.mark(T),b=new s,O=0,C=0;C<E;C++)i(T).catch(S);return function(_,j){return function(D){b.push(g.default.mark(function N(){return g.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.prev=0,L.t0=D,L.next=4,_;case 4:L.t1=L.sent,(0,L.t0)(null,L.t1),L.next=11;break;case 8:L.prev=8,L.t2=L.catch(0),D(L.t2);case 11:case"end":return L.stop()}},N,this,[[0,8]])}),j)}}}var d=this,l=0,x=[];return new p(function(E){function f(O){return g.default.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,m(e[O]);case 2:r(e,E);case 3:case"end":return C.stop()}},S,this)}function T(O){x.push(O),r(e,E)}for(var S=g.default.mark(f),m=new c(o,E),b=0;b<e.length;b++)i(f(b)).catch(T)})},u.cancel=function(){this.options.cancelFlag=!0},u.isCancel=function(){return this.options.cancelFlag},u.resetCancelFlag=function(){this.options.cancelFlag=!1}},{"any-promise":13,"babel-runtime/regenerator":33,co:41,"co-priority-queue":40}],11:[function(n,A,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,A,v){function h(){}A.exports=h,A.exports.HttpsAgent=h},{}],13:[function(n,A,v){A.exports=n("./register")().Promise},{"./register":15}],14:[function(n,A,v){"use strict";var h=null;A.exports=function(g,i){return function(s,p){s=s||null,p=p||{};var u=p.global!==!1;if(h===null&&u&&(h=g["@@any-promise/REGISTRATION"]||null),h!==null&&s!==null&&h.implementation!==s)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=s!==null&&p.Promise!==void 0?{Promise:p.Promise,implementation:s}:i(s),u&&(g["@@any-promise/REGISTRATION"]=h)),h}}},{}],15:[function(n,A,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"}}A.exports=n("./loader")(window,h)},{"./loader":14}],16:[function(n,A,v){A.exports={default:n("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":44}],17:[function(n,A,v){A.exports={default:n("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":45}],18:[function(n,A,v){A.exports={default:n("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":46}],19:[function(n,A,v){A.exports={default:n("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":47}],20:[function(n,A,v){A.exports={default:n("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":48}],21:[function(n,A,v){A.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,A,v){A.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,A,v){A.exports={default:n("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":51}],24:[function(n,A,v){A.exports={default:n("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":52}],25:[function(n,A,v){A.exports={default:n("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":53}],26:[function(n,A,v){A.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,A,v){A.exports={default:n("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":56}],28:[function(n,A,v){A.exports={default:n("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":55}],29:[function(n,A,v){A.exports={default:n("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":57}],30:[function(n,A,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,A,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(s,p){for(var u=0;u<p.length;u++){var e=p[u];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),(0,g.default)(s,e.key,e)}}return function(s,p,u){return p&&i(s.prototype,p),u&&i(s,u),s}}()},{"../core-js/object/define-property":20}],32:[function(n,A,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),s=n("../core-js/symbol"),p=h(s),u=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"&&u(i.default)==="symbol"?function(e){return e===void 0?"undefined":u(e)}:function(e){return e&&typeof p.default=="function"&&e.constructor===p.default&&e!==p.default.prototype?"symbol":e===void 0?"undefined":u(e)}},{"../core-js/symbol":27,"../core-js/symbol/iterator":29}],33:[function(n,A,v){A.exports=n("regenerator-runtime")},{"regenerator-runtime":191}],34:[function(n,A,v){"use strict";function h(E){var f=E.length;if(f%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var T=E.indexOf("=");return T===-1&&(T=f),[T,T===f?0:4-T%4]}function g(E){var f=h(E),T=f[0],S=f[1];return 3*(T+S)/4-S}function i(E,f,T){return 3*(f+T)/4-T}function s(E){for(var f,T=h(E),S=T[0],m=T[1],b=new c(i(E,S,m)),O=0,C=m>0?S-4:S,_=0;_<C;_+=4)f=r[E.charCodeAt(_)]<<18|r[E.charCodeAt(_+1)]<<12|r[E.charCodeAt(_+2)]<<6|r[E.charCodeAt(_+3)],b[O++]=f>>16&255,b[O++]=f>>8&255,b[O++]=255&f;return m===2&&(f=r[E.charCodeAt(_)]<<2|r[E.charCodeAt(_+1)]>>4,b[O++]=255&f),m===1&&(f=r[E.charCodeAt(_)]<<10|r[E.charCodeAt(_+1)]<<4|r[E.charCodeAt(_+2)]>>2,b[O++]=f>>8&255,b[O++]=255&f),b}function p(E){return o[E>>18&63]+o[E>>12&63]+o[E>>6&63]+o[63&E]}function u(E,f,T){for(var S,m=[],b=f;b<T;b+=3)S=(E[b]<<16&16711680)+(E[b+1]<<8&65280)+(255&E[b+2]),m.push(p(S));return m.join("")}function e(E){for(var f,T=E.length,S=T%3,m=[],b=0,O=T-S;b<O;b+=16383)m.push(u(E,b,b+16383>O?O:b+16383));return S===1?(f=E[T-1],m.push(o[f>>2]+o[f<<4&63]+"==")):S===2&&(f=(E[T-2]<<8)+E[T-1],m.push(o[f>>10]+o[f>>4&63]+o[f<<2&63]+"=")),m.join("")}v.byteLength=g,v.toByteArray=s,v.fromByteArray=e;for(var o=[],r=[],c=typeof Uint8Array!="undefined"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,x=d.length;l<x;++l)o[l]=d[l],r[d.charCodeAt(l)]=l;r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},{}],35:[function(n,A,v){!function(h,g,i){A!==void 0&&A.exports?A.exports=i():typeof pe=="function"&&pe.amd?pe("bowser",i):h.bowser=i()}(this,0,function(){function h(r){function c(W){var R=r.match(W);return R&&R.length>1&&R[1]||""}function d(W){var R=r.match(W);return R&&R.length>1&&R[2]||""}var l,x=c(/(ipod|iphone|ipad)/i).toLowerCase(),E=/like android/i.test(r),f=!E&&/android/i.test(r),T=/nexus\s*[0-6]\s*/i.test(r),S=!T&&/nexus\s*[0-9]+/i.test(r),m=/CrOS/.test(r),b=/silk/i.test(r),O=/sailfish/i.test(r),C=/tizen/i.test(r),_=/(web|hpw)os/i.test(r),j=/windows phone/i.test(r),D=(/SamsungBrowser/i.test(r),!j&&/windows/i.test(r)),N=!x&&!b&&/macintosh/i.test(r),L=!f&&!O&&!C&&!_&&/linux/i.test(r),B=d(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),q=c(/version\/(\d+(\.\d+)?)/i),G=/tablet/i.test(r)&&!/tablet pc/i.test(r),Z=!G&&/[^-]mobi/i.test(r),F=/xbox/i.test(r);/opera/i.test(r)?l={name:"Opera",opera:e,version:q||c(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(r)?l={name:"Opera",opera:e,version:c(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||q}:/SamsungBrowser/i.test(r)?l={name:"Samsung Internet for Android",samsungBrowser:e,version:q||c(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(r)?l={name:"Opera Coast",coast:e,version:q||c(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(r)?l={name:"Yandex Browser",yandexbrowser:e,version:q||c(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(r)?l={name:"UC Browser",ucbrowser:e,version:c(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(r)?l={name:"Maxthon",maxthon:e,version:c(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(r)?l={name:"Epiphany",epiphany:e,version:c(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(r)?l={name:"Puffin",puffin:e,version:c(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(r)?l={name:"Sleipnir",sleipnir:e,version:c(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(r)?l={name:"K-Meleon",kMeleon:e,version:c(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:j?(l={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},B?(l.msedge=e,l.version=B):(l.msie=e,l.version=c(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(r)?l={name:"Internet Explorer",msie:e,version:c(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:m?l={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:c(/(?: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:c(/vivaldi\/(\d+(\.\d+)?)/i)||q}:O?l={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:c(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(r)?l={name:"SeaMonkey",seamonkey:e,version:c(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(r)?(l={name:"Firefox",firefox:e,version:c(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(r)&&(l.firefoxos=e,l.osname="Firefox OS")):b?l={name:"Amazon Silk",silk:e,version:c(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(r)?l={name:"PhantomJS",phantom:e,version:c(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(r)?l={name:"SlimerJS",slimer:e,version:c(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(r)||/rim\stablet/i.test(r)?l={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:q||c(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:_?(l={name:"WebOS",osname:"WebOS",webos:e,version:q||c(/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:c(/dolfin\/(\d+(\.\d+)?)/i)}:C?l={name:"Tizen",osname:"Tizen",tizen:e,version:c(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||q}:/qupzilla/i.test(r)?l={name:"QupZilla",qupzilla:e,version:c(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||q}:/chromium/i.test(r)?l={name:"Chromium",chromium:e,version:c(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||q}:/chrome|crios|crmo/i.test(r)?l={name:"Chrome",chrome:e,version:c(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:f?l={name:"Android",version:q}:/safari|applewebkit/i.test(r)?(l={name:"Safari",safari:e},q&&(l.version=q)):x?(l={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},q&&(l.version=q)):l=/googlebot/i.test(r)?{name:"Googlebot",googlebot:e,version:c(/googlebot\/(\d+(\.\d+))/i)||q}:{name:c(/^(.*)\/(.*) /),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&&q&&(l.version=q)):!l.opera&&/gecko\//i.test(r)&&(l.name=l.name||"Gecko",l.gecko=e,l.version=l.version||c(/gecko\/(\d+(\.\d+)?)/i)),l.windowsphone||!f&&!l.silk?!l.windowsphone&&x?(l[x]=e,l.ios=e,l.osname="iOS"):N?(l.mac=e,l.osname="macOS"):F?(l.xbox=e,l.osname="Xbox"):D?(l.windows=e,l.osname="Windows"):L&&(l.linux=e,l.osname="Linux"):(l.android=e,l.osname="Android");var ee="";l.windows?ee=function(W){switch(W){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}}(c(/Windows ((NT|XP)( \d\d?.\d)?)/i)):l.windowsphone?ee=c(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):l.mac?(ee=c(/Mac OS X (\d+([_\.\s]\d+)*)/i),ee=ee.replace(/[_\s]/g,".")):x?(ee=c(/os (\d+([_\s]\d+)*) like mac os x/i),ee=ee.replace(/[_\s]/g,".")):f?ee=c(/android[ \/-](\d+(\.\d+)*)/i):l.webos?ee=c(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):l.blackberry?ee=c(/rim\stablet\sos\s(\d+(\.\d+)*)/i):l.bada?ee=c(/bada\/(\d+(\.\d+)*)/i):l.tizen&&(ee=c(/tizen[\/\s](\d+(\.\d+)*)/i)),ee&&(l.osversion=ee);var $=!l.windows&&ee.split(".")[0];return G||S||x=="ipad"||f&&($==3||$>=4&&!Z)||l.silk?l.tablet=e:(Z||x=="iphone"||x=="ipod"||f||T||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,c){var d,l=[];if(Array.prototype.map)return Array.prototype.map.call(r,c);for(d=0;d<r.length;d++)l.push(c(r[d]));return l}function s(r){for(var c=Math.max(g(r[0]),g(r[1])),d=i(r,function(l){var x=c-g(l);return l+=new Array(x+1).join(".0"),i(l.split("."),function(E){return new Array(20-E.length).join("0")+E}).reverse()});--c>=0;){if(d[0][c]>d[1][c])return 1;if(d[0][c]!==d[1][c])return-1;if(c===0)return 0}}function p(r,c,d){var l=o;typeof c=="string"&&(d=c,c=void 0),c===void 0&&(c=!1),d&&(l=h(d));var x=""+l.version;for(var E in r)if(r.hasOwnProperty(E)&&l[E]){if(typeof r[E]!="string")throw new Error("Browser version in the minVersion map should be a string: "+E+": "+String(r));return s([x,r[E]])<0}return c}function u(r,c,d){return!p(r,c,d)}var e=!0,o=h(typeof navigator!="undefined"&&navigator.userAgent||"");return o.test=function(r){for(var c=0;c<r.length;++c){var d=r[c];if(typeof d=="string"&&d in o)return!0}return!1},o.isUnsupportedBrowser=p,o.compareVersions=s,o.check=u,o._detect=h,o.detect=h,o})},{}],36:[function(n,A,v){},{}],37:[function(n,A,v){function h(o){if(o&&!u(o))throw new Error("Unknown encoding: "+o)}function g(o){return o.toString(this.encoding)}function i(o){this.charReceived=o.length%2,this.charLength=this.charReceived?2:0}function s(o){this.charReceived=o.length%3,this.charLength=this.charReceived?3:0}var p=n("buffer").Buffer,u=p.isEncoding||function(o){switch(o&&o.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(o){switch(this.encoding=(o||"utf8").toLowerCase().replace(/[-_]/,""),h(o),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=s;break;default:return void(this.write=g)}this.charBuffer=new p(6),this.charReceived=0,this.charLength=0};e.prototype.write=function(o){for(var r="";this.charLength;){var c=o.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:o.length;if(o.copy(this.charBuffer,this.charReceived,0,c),this.charReceived+=c,this.charReceived<this.charLength)return"";o=o.slice(c,o.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,o.length===0)return r;break}this.charLength+=this.surrogateSize,r=""}this.detectIncompleteChar(o);var d=o.length;this.charLength&&(o.copy(this.charBuffer,0,o.length-this.charReceived,d),d-=this.charReceived),r+=o.toString(this.encoding,0,d);var d=r.length-1,l=r.charCodeAt(d);if(l>=55296&&l<=56319){var x=this.surrogateSize;return this.charLength+=x,this.charReceived+=x,this.charBuffer.copy(this.charBuffer,x,0,x),o.copy(this.charBuffer,0,0,x),r.substring(0,d)}return r},e.prototype.detectIncompleteChar=function(o){for(var r=o.length>=3?3:o.length;r>0;r--){var c=o[o.length-r];if(r==1&&c>>5==6){this.charLength=2;break}if(r<=2&&c>>4==14){this.charLength=3;break}if(r<=3&&c>>3==30){this.charLength=4;break}}this.charReceived=r},e.prototype.end=function(o){var r="";if(o&&o.length&&(r=this.write(o)),this.charReceived){var c=this.charReceived,d=this.charBuffer,l=this.encoding;r+=d.slice(0,c).toString(l)}return r}},{buffer:38}],38:[function(n,A,v){(function(h){"use strict";function g(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,a){if(g()<a)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(a),t.__proto__=s.prototype):(t===null&&(t=new s(a)),t.length=a),t}function s(t,a,P){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,a,P);if(typeof t=="number"){if(typeof a=="string")throw new Error("If encoding is specified then the first argument must be a string");return o(this,t)}return p(this,t,a,P)}function p(t,a,P,y){if(typeof a=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&a instanceof ArrayBuffer?d(t,a,P,y):typeof a=="string"?r(t,a,P):l(t,a)}function u(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,a,P,y){return u(a),a<=0?i(t,a):P!==void 0?typeof y=="string"?i(t,a).fill(P,y):i(t,a).fill(P):i(t,a)}function o(t,a){if(u(a),t=i(t,a<0?0:0|x(a)),!s.TYPED_ARRAY_SUPPORT)for(var P=0;P<a;++P)t[P]=0;return t}function r(t,a,P){if(typeof P=="string"&&P!==""||(P="utf8"),!s.isEncoding(P))throw new TypeError('"encoding" must be a valid string encoding');var y=0|f(a,P);t=i(t,y);var w=t.write(a,P);return w!==y&&(t=t.slice(0,w)),t}function c(t,a){var P=a.length<0?0:0|x(a.length);t=i(t,P);for(var y=0;y<P;y+=1)t[y]=255&a[y];return t}function d(t,a,P,y){if(a.byteLength,P<0||a.byteLength<P)throw new RangeError("'offset' is out of bounds");if(a.byteLength<P+(y||0))throw new RangeError("'length' is out of bounds");return a=P===void 0&&y===void 0?new Uint8Array(a):y===void 0?new Uint8Array(a,P):new Uint8Array(a,P,y),s.TYPED_ARRAY_SUPPORT?(t=a,t.__proto__=s.prototype):t=c(t,a),t}function l(t,a){if(s.isBuffer(a)){var P=0|x(a.length);return t=i(t,P),t.length===0||a.copy(t,0,0,P),t}if(a){if(typeof ArrayBuffer!="undefined"&&a.buffer instanceof ArrayBuffer||"length"in a)return typeof a.length!="number"||V(a.length)?i(t,0):c(t,a);if(a.type==="Buffer"&&te(a.data))return c(t,a.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function x(t){if(t>=g())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g().toString(16)+" bytes");return 0|t}function E(t){return+t!=t&&(t=0),s.alloc(+t)}function f(t,a){if(s.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 P=t.length;if(P===0)return 0;for(var y=!1;;)switch(a){case"ascii":case"latin1":case"binary":return P;case"utf8":case"utf-8":case void 0:return ue(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*P;case"hex":return P>>>1;case"base64":return J(t).length;default:if(y)return ue(t).length;a=(""+a).toLowerCase(),y=!0}}function T(t,a,P){var y=!1;if((a===void 0||a<0)&&(a=0),a>this.length)return"";if((P===void 0||P>this.length)&&(P=this.length),P<=0)return"";if(P>>>=0,a>>>=0,P<=a)return"";for(t||(t="utf8");;)switch(t){case"hex":return F(this,a,P);case"utf8":case"utf-8":return B(this,a,P);case"ascii":return G(this,a,P);case"latin1":case"binary":return Z(this,a,P);case"base64":return L(this,a,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,a,P);default:if(y)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),y=!0}}function S(t,a,P){var y=t[a];t[a]=t[P],t[P]=y}function m(t,a,P,y,w){if(t.length===0)return-1;if(typeof P=="string"?(y=P,P=0):P>2147483647?P=2147483647:P<-2147483648&&(P=-2147483648),P=+P,isNaN(P)&&(P=w?0:t.length-1),P<0&&(P=t.length+P),P>=t.length){if(w)return-1;P=t.length-1}else if(P<0){if(!w)return-1;P=0}if(typeof a=="string"&&(a=s.from(a,y)),s.isBuffer(a))return a.length===0?-1:b(t,a,P,y,w);if(typeof a=="number")return a&=255,s.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?w?Uint8Array.prototype.indexOf.call(t,a,P):Uint8Array.prototype.lastIndexOf.call(t,a,P):b(t,[a],P,y,w);throw new TypeError("val must be string, number or Buffer")}function b(t,a,P,y,w){function z(oe,be){return K===1?oe[be]:oe.readUInt16BE(be*K)}var K=1,fe=t.length,le=a.length;if(y!==void 0&&((y=String(y).toLowerCase())==="ucs2"||y==="ucs-2"||y==="utf16le"||y==="utf-16le")){if(t.length<2||a.length<2)return-1;K=2,fe/=2,le/=2,P/=2}var ve;if(w){var _e=-1;for(ve=P;ve<fe;ve++)if(z(t,ve)===z(a,_e===-1?0:ve-_e)){if(_e===-1&&(_e=ve),ve-_e+1===le)return _e*K}else _e!==-1&&(ve-=ve-_e),_e=-1}else for(P+le>fe&&(P=fe-le),ve=P;ve>=0;ve--){for(var ye=!0,he=0;he<le;he++)if(z(t,ve+he)!==z(a,he)){ye=!1;break}if(ye)return ve}return-1}function O(t,a,P,y){P=Number(P)||0;var w=t.length-P;y?(y=Number(y))>w&&(y=w):y=w;var z=a.length;if(z%2!=0)throw new TypeError("Invalid hex string");y>z/2&&(y=z/2);for(var K=0;K<y;++K){var fe=parseInt(a.substr(2*K,2),16);if(isNaN(fe))return K;t[P+K]=fe}return K}function C(t,a,P,y){return ie(ue(a,t.length-P),t,P,y)}function _(t,a,P,y){return ie(de(a),t,P,y)}function j(t,a,P,y){return _(t,a,P,y)}function D(t,a,P,y){return ie(J(a),t,P,y)}function N(t,a,P,y){return ie(Q(a,t.length-P),t,P,y)}function L(t,a,P){return a===0&&P===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(a,P))}function B(t,a,P){P=Math.min(t.length,P);for(var y=[],w=a;w<P;){var z=t[w],K=null,fe=z>239?4:z>223?3:z>191?2:1;if(w+fe<=P){var le,ve,_e,ye;switch(fe){case 1:z<128&&(K=z);break;case 2:le=t[w+1],(192&le)==128&&(ye=(31&z)<<6|63&le)>127&&(K=ye);break;case 3:le=t[w+1],ve=t[w+2],(192&le)==128&&(192&ve)==128&&(ye=(15&z)<<12|(63&le)<<6|63&ve)>2047&&(ye<55296||ye>57343)&&(K=ye);break;case 4:le=t[w+1],ve=t[w+2],_e=t[w+3],(192&le)==128&&(192&ve)==128&&(192&_e)==128&&(ye=(15&z)<<18|(63&le)<<12|(63&ve)<<6|63&_e)>65535&&ye<1114112&&(K=ye)}}K===null?(K=65533,fe=1):K>65535&&(K-=65536,y.push(K>>>10&1023|55296),K=56320|1023&K),y.push(K),w+=fe}return q(y)}function q(t){var a=t.length;if(a<=ce)return String.fromCharCode.apply(String,t);for(var P="",y=0;y<a;)P+=String.fromCharCode.apply(String,t.slice(y,y+=ce));return P}function G(t,a,P){var y="";P=Math.min(t.length,P);for(var w=a;w<P;++w)y+=String.fromCharCode(127&t[w]);return y}function Z(t,a,P){var y="";P=Math.min(t.length,P);for(var w=a;w<P;++w)y+=String.fromCharCode(t[w]);return y}function F(t,a,P){var y=t.length;(!a||a<0)&&(a=0),(!P||P<0||P>y)&&(P=y);for(var w="",z=a;z<P;++z)w+=ne(t[z]);return w}function ee(t,a,P){for(var y=t.slice(a,P),w="",z=0;z<y.length;z+=2)w+=String.fromCharCode(y[z]+256*y[z+1]);return w}function $(t,a,P){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+a>P)throw new RangeError("Trying to access beyond buffer length")}function W(t,a,P,y,w,z){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>w||a<z)throw new RangeError('"value" argument is out of bounds');if(P+y>t.length)throw new RangeError("Index out of range")}function R(t,a,P,y){a<0&&(a=65535+a+1);for(var w=0,z=Math.min(t.length-P,2);w<z;++w)t[P+w]=(a&255<<8*(y?w:1-w))>>>8*(y?w:1-w)}function I(t,a,P,y){a<0&&(a=4294967295+a+1);for(var w=0,z=Math.min(t.length-P,4);w<z;++w)t[P+w]=a>>>8*(y?w:3-w)&255}function M(t,a,P,y,w,z){if(P+y>t.length)throw new RangeError("Index out of range");if(P<0)throw new RangeError("Index out of range")}function U(t,a,P,y,w){return w||M(t,a,P,4,34028234663852886e22,-34028234663852886e22),re.write(t,a,P,y,23,4),P+4}function H(t,a,P,y,w){return w||M(t,a,P,8,17976931348623157e292,-17976931348623157e292),re.write(t,a,P,y,52,8),P+8}function Y(t){if(t=ae(t).replace(k,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function ae(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function ne(t){return t<16?"0"+t.toString(16):t.toString(16)}function ue(t,a){a=a||1/0;for(var P,y=t.length,w=null,z=[],K=0;K<y;++K){if((P=t.charCodeAt(K))>55295&&P<57344){if(!w){if(P>56319){(a-=3)>-1&&z.push(239,191,189);continue}if(K+1===y){(a-=3)>-1&&z.push(239,191,189);continue}w=P;continue}if(P<56320){(a-=3)>-1&&z.push(239,191,189),w=P;continue}P=65536+(w-55296<<10|P-56320)}else w&&(a-=3)>-1&&z.push(239,191,189);if(w=null,P<128){if((a-=1)<0)break;z.push(P)}else if(P<2048){if((a-=2)<0)break;z.push(P>>6|192,63&P|128)}else if(P<65536){if((a-=3)<0)break;z.push(P>>12|224,P>>6&63|128,63&P|128)}else{if(!(P<1114112))throw new Error("Invalid code point");if((a-=4)<0)break;z.push(P>>18|240,P>>12&63|128,P>>6&63|128,63&P|128)}}return z}function de(t){for(var a=[],P=0;P<t.length;++P)a.push(255&t.charCodeAt(P));return a}function Q(t,a){for(var P,y,w,z=[],K=0;K<t.length&&!((a-=2)<0);++K)P=t.charCodeAt(K),y=P>>8,w=P%256,z.push(w),z.push(y);return z}function J(t){return X.toByteArray(Y(t))}function ie(t,a,P,y){for(var w=0;w<y&&!(w+P>=a.length||w>=t.length);++w)a[w+P]=t[w];return w}function V(t){return t!==t}var X=n("base64-js"),re=n("ieee754"),te=n("isarray");v.Buffer=s,v.SlowBuffer=E,v.INSPECT_MAX_BYTES=50,s.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(a){return!1}}(),v.kMaxLength=g(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,a,P){return p(null,t,a,P)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,a,P){return e(null,t,a,P)},s.allocUnsafe=function(t){return o(null,t)},s.allocUnsafeSlow=function(t){return o(null,t)},s.isBuffer=function(t){return!(t==null||!t._isBuffer)},s.compare=function(t,a){if(!s.isBuffer(t)||!s.isBuffer(a))throw new TypeError("Arguments must be Buffers");if(t===a)return 0;for(var P=t.length,y=a.length,w=0,z=Math.min(P,y);w<z;++w)if(t[w]!==a[w]){P=t[w],y=a[w];break}return P<y?-1:y<P?1:0},s.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}},s.concat=function(t,a){if(!te(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return s.alloc(0);var P;if(a===void 0)for(a=0,P=0;P<t.length;++P)a+=t[P].length;var y=s.allocUnsafe(a),w=0;for(P=0;P<t.length;++P){var z=t[P];if(!s.isBuffer(z))throw new TypeError('"list" argument must be an Array of Buffers');z.copy(y,w),w+=z.length}return y},s.byteLength=f,s.prototype._isBuffer=!0,s.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 a=0;a<t;a+=2)S(this,a,a+1);return this},s.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 a=0;a<t;a+=4)S(this,a,a+3),S(this,a+1,a+2);return this},s.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 a=0;a<t;a+=8)S(this,a,a+7),S(this,a+1,a+6),S(this,a+2,a+5),S(this,a+3,a+4);return this},s.prototype.toString=function(){var t=0|this.length;return t===0?"":arguments.length===0?B(this,0,t):T.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||s.compare(this,t)===0},s.prototype.inspect=function(){var t="",a=v.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,a).match(/.{2}/g).join(" "),this.length>a&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,a,P,y,w){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(a===void 0&&(a=0),P===void 0&&(P=t?t.length:0),y===void 0&&(y=0),w===void 0&&(w=this.length),a<0||P>t.length||y<0||w>this.length)throw new RangeError("out of range index");if(y>=w&&a>=P)return 0;if(y>=w)return-1;if(a>=P)return 1;if(a>>>=0,P>>>=0,y>>>=0,w>>>=0,this===t)return 0;for(var z=w-y,K=P-a,fe=Math.min(z,K),le=this.slice(y,w),ve=t.slice(a,P),_e=0;_e<fe;++_e)if(le[_e]!==ve[_e]){z=le[_e],K=ve[_e];break}return z<K?-1:K<z?1:0},s.prototype.includes=function(t,a,P){return this.indexOf(t,a,P)!==-1},s.prototype.indexOf=function(t,a,P){return m(this,t,a,P,!0)},s.prototype.lastIndexOf=function(t,a,P){return m(this,t,a,P,!1)},s.prototype.write=function(t,a,P,y){if(a===void 0)y="utf8",P=this.length,a=0;else if(P===void 0&&typeof a=="string")y=a,P=this.length,a=0;else{if(!isFinite(a))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");a|=0,isFinite(P)?(P|=0,y===void 0&&(y="utf8")):(y=P,P=void 0)}var w=this.length-a;if((P===void 0||P>w)&&(P=w),t.length>0&&(P<0||a<0)||a>this.length)throw new RangeError("Attempt to write outside buffer bounds");y||(y="utf8");for(var z=!1;;)switch(y){case"hex":return O(this,t,a,P);case"utf8":case"utf-8":return C(this,t,a,P);case"ascii":return _(this,t,a,P);case"latin1":case"binary":return j(this,t,a,P);case"base64":return D(this,t,a,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,a,P);default:if(z)throw new TypeError("Unknown encoding: "+y);y=(""+y).toLowerCase(),z=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ce=4096;s.prototype.slice=function(t,a){var P=this.length;t=~~t,a=a===void 0?P:~~a,t<0?(t+=P)<0&&(t=0):t>P&&(t=P),a<0?(a+=P)<0&&(a=0):a>P&&(a=P),a<t&&(a=t);var y;if(s.TYPED_ARRAY_SUPPORT)y=this.subarray(t,a),y.__proto__=s.prototype;else{var w=a-t;y=new s(w,void 0);for(var z=0;z<w;++z)y[z]=this[z+t]}return y},s.prototype.readUIntLE=function(t,a,P){t|=0,a|=0,P||$(t,a,this.length);for(var y=this[t],w=1,z=0;++z<a&&(w*=256);)y+=this[t+z]*w;return y},s.prototype.readUIntBE=function(t,a,P){t|=0,a|=0,P||$(t,a,this.length);for(var y=this[t+--a],w=1;a>0&&(w*=256);)y+=this[t+--a]*w;return y},s.prototype.readUInt8=function(t,a){return a||$(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,a){return a||$(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,a){return a||$(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,a){return a||$(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,a){return a||$(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,a,P){t|=0,a|=0,P||$(t,a,this.length);for(var y=this[t],w=1,z=0;++z<a&&(w*=256);)y+=this[t+z]*w;return w*=128,y>=w&&(y-=Math.pow(2,8*a)),y},s.prototype.readIntBE=function(t,a,P){t|=0,a|=0,P||$(t,a,this.length);for(var y=a,w=1,z=this[t+--y];y>0&&(w*=256);)z+=this[t+--y]*w;return w*=128,z>=w&&(z-=Math.pow(2,8*a)),z},s.prototype.readInt8=function(t,a){return a||$(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,a){a||$(t,2,this.length);var P=this[t]|this[t+1]<<8;return 32768&P?4294901760|P:P},s.prototype.readInt16BE=function(t,a){a||$(t,2,this.length);var P=this[t+1]|this[t]<<8;return 32768&P?4294901760|P:P},s.prototype.readInt32LE=function(t,a){return a||$(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,a){return a||$(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,a){return a||$(t,4,this.length),re.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,a){return a||$(t,4,this.length),re.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,a){return a||$(t,8,this.length),re.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,a){return a||$(t,8,this.length),re.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,a,P,y){(t=+t,a|=0,P|=0,!y)&&W(this,t,a,P,Math.pow(2,8*P)-1,0);var w=1,z=0;for(this[a]=255&t;++z<P&&(w*=256);)this[a+z]=t/w&255;return a+P},s.prototype.writeUIntBE=function(t,a,P,y){(t=+t,a|=0,P|=0,!y)&&W(this,t,a,P,Math.pow(2,8*P)-1,0);var w=P-1,z=1;for(this[a+w]=255&t;--w>=0&&(z*=256);)this[a+w]=t/z&255;return a+P},s.prototype.writeUInt8=function(t,a,P){return t=+t,a|=0,P||W(this,t,a,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[a]=255&t,a+1},s.prototype.writeUInt16LE=function(t,a,P){return t=+t,a|=0,P||W(this,t,a,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[a]=255&t,this[a+1]=t>>>8):R(this,t,a,!0),a+2},s.prototype.writeUInt16BE=function(t,a,P){return t=+t,a|=0,P||W(this,t,a,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[a]=t>>>8,this[a+1]=255&t):R(this,t,a,!1),a+2},s.prototype.writeUInt32LE=function(t,a,P){return t=+t,a|=0,P||W(this,t,a,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[a+3]=t>>>24,this[a+2]=t>>>16,this[a+1]=t>>>8,this[a]=255&t):I(this,t,a,!0),a+4},s.prototype.writeUInt32BE=function(t,a,P){return t=+t,a|=0,P||W(this,t,a,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[a]=t>>>24,this[a+1]=t>>>16,this[a+2]=t>>>8,this[a+3]=255&t):I(this,t,a,!1),a+4},s.prototype.writeIntLE=function(t,a,P,y){if(t=+t,a|=0,!y){var w=Math.pow(2,8*P-1);W(this,t,a,P,w-1,-w)}var z=0,K=1,fe=0;for(this[a]=255&t;++z<P&&(K*=256);)t<0&&fe===0&&this[a+z-1]!==0&&(fe=1),this[a+z]=(t/K>>0)-fe&255;return a+P},s.prototype.writeIntBE=function(t,a,P,y){if(t=+t,a|=0,!y){var w=Math.pow(2,8*P-1);W(this,t,a,P,w-1,-w)}var z=P-1,K=1,fe=0;for(this[a+z]=255&t;--z>=0&&(K*=256);)t<0&&fe===0&&this[a+z+1]!==0&&(fe=1),this[a+z]=(t/K>>0)-fe&255;return a+P},s.prototype.writeInt8=function(t,a,P){return t=+t,a|=0,P||W(this,t,a,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[a]=255&t,a+1},s.prototype.writeInt16LE=function(t,a,P){return t=+t,a|=0,P||W(this,t,a,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[a]=255&t,this[a+1]=t>>>8):R(this,t,a,!0),a+2},s.prototype.writeInt16BE=function(t,a,P){return t=+t,a|=0,P||W(this,t,a,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[a]=t>>>8,this[a+1]=255&t):R(this,t,a,!1),a+2},s.prototype.writeInt32LE=function(t,a,P){return t=+t,a|=0,P||W(this,t,a,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[a]=255&t,this[a+1]=t>>>8,this[a+2]=t>>>16,this[a+3]=t>>>24):I(this,t,a,!0),a+4},s.prototype.writeInt32BE=function(t,a,P){return t=+t,a|=0,P||W(this,t,a,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[a]=t>>>24,this[a+1]=t>>>16,this[a+2]=t>>>8,this[a+3]=255&t):I(this,t,a,!1),a+4},s.prototype.writeFloatLE=function(t,a,P){return U(this,t,a,!0,P)},s.prototype.writeFloatBE=function(t,a,P){return U(this,t,a,!1,P)},s.prototype.writeDoubleLE=function(t,a,P){return H(this,t,a,!0,P)},s.prototype.writeDoubleBE=function(t,a,P){return H(this,t,a,!1,P)},s.prototype.copy=function(t,a,P,y){if(P||(P=0),y||y===0||(y=this.length),a>=t.length&&(a=t.length),a||(a=0),y>0&&y<P&&(y=P),y===P)return 0;if(t.length===0||this.length===0)return 0;if(a<0)throw new RangeError("targetStart out of bounds");if(P<0||P>=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-a<y-P&&(y=t.length-a+P);var w,z=y-P;if(this===t&&P<a&&a<y)for(w=z-1;w>=0;--w)t[w+a]=this[w+P];else if(z<1e3||!s.TYPED_ARRAY_SUPPORT)for(w=0;w<z;++w)t[w+a]=this[w+P];else Uint8Array.prototype.set.call(t,this.subarray(P,P+z),a);return z},s.prototype.fill=function(t,a,P,y){if(typeof t=="string"){if(typeof a=="string"?(y=a,a=0,P=this.length):typeof P=="string"&&(y=P,P=this.length),t.length===1){var w=t.charCodeAt(0);w<256&&(t=w)}if(y!==void 0&&typeof y!="string")throw new TypeError("encoding must be a string");if(typeof y=="string"&&!s.isEncoding(y))throw new TypeError("Unknown encoding: "+y)}else typeof t=="number"&&(t&=255);if(a<0||this.length<a||this.length<P)throw new RangeError("Out of range index");if(P<=a)return this;a>>>=0,P=P===void 0?this.length:P>>>0,t||(t=0);var z;if(typeof t=="number")for(z=a;z<P;++z)this[z]=t;else{var K=s.isBuffer(t)?t:ue(new s(t,y).toString()),fe=K.length;for(z=0;z<P-a;++z)this[z+a]=K[z%fe]}return this};var k=/[^+\/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,A,v){A.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,A,v){"use strict";var h=function(){this.buffer=[],this.fns=[]};h.prototype.push=function(i,s){if(this.fns.length)return this.fns.shift()(null,i);var p={data:i,priority:s},u=g(this.buffer,p,function(e){return e.priority});this.buffer.splice(u,0,p)},h.prototype.next=function(){var i=this;return function(s){if(i.buffer.length)return s(null,i.buffer.pop().data);i.fns.push(s)}};var g=function(s,p,u){p=u(p);for(var e=0,o=s?s.length:e;e<o;){var r=e+o>>>1;u(s[r])<p?e=r+1:o=r}return e};A.exports=h},{}],41:[function(n,A,v){function h(d){var l=this,x=c.call(arguments,1);return new Promise(function(E,f){function T(b){var O;try{O=d.next(b)}catch(C){return f(C)}m(O)}function S(b){var O;try{O=d.throw(b)}catch(C){return f(C)}m(O)}function m(b){if(b.done)return E(b.value);var O=g.call(l,b.value);return O&&u(O)?O.then(T,S):S(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(b.value)+'"'))}if(typeof d=="function"&&(d=d.apply(l,x)),!d||typeof d.next!="function")return E(d);T()})}function g(d){return d&&(u(d)?d:o(d)||e(d)?h.call(this,d):typeof d=="function"?i.call(this,d):Array.isArray(d)?s.call(this,d):r(d)?p.call(this,d):d)}function i(d){var l=this;return new Promise(function(x,E){d.call(l,function(f,T){if(f)return E(f);arguments.length>2&&(T=c.call(arguments,1)),x(T)})})}function s(d){return Promise.all(d.map(g,this))}function p(d){for(var l=new d.constructor,x=Object.keys(d),E=[],f=0;f<x.length;f++){var T=x[f],S=g.call(this,d[T]);S&&u(S)?function(m,b){l[b]=void 0,E.push(m.then(function(O){l[b]=O}))}(S,T):l[T]=d[T]}return Promise.all(E).then(function(){return l})}function u(d){return typeof d.then=="function"}function e(d){return typeof d.next=="function"&&typeof d.throw=="function"}function o(d){var l=d.constructor;return!!l&&(l.name==="GeneratorFunction"||l.displayName==="GeneratorFunction"||e(l.prototype))}function r(d){return Object==d.constructor}var c=Array.prototype.slice;A.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,A,v){A.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,A,v){"use strict";function h(s,p){if(!(this instanceof h))return new h(s,p);this.src=s,this._withAccess=p}function g(s,p){return s[p]===void 0&&s.__lookupGetter__(p)===void 0&&s.__lookupSetter__(p)===void 0}var i=Array.prototype.slice;A.exports=h,h.prototype.withAccess=function(s){return this._withAccess=s!==!1,this},h.prototype.pick=function(s){return Array.isArray(s)||(s=i.call(arguments)),s.length&&(this.keys=s),this},h.prototype.to=function(s){if(s=s||{},!this.src)return s;var p=this.keys||Object.keys(this.src);if(!this._withAccess){for(var u=0;u<p.length;u++)e=p[u],s[e]===void 0&&(s[e]=this.src[e]);return s}for(var u=0;u<p.length;u++){var e=p[u];if(g(s,e)){var o=this.src.__lookupGetter__(e),r=this.src.__lookupSetter__(e);o&&s.__defineGetter__(e,o),r&&s.__defineSetter__(e,r),o||r||(s[e]=this.src[e])}}return s},h.prototype.toCover=function(s){for(var p=this.keys||Object.keys(this.src),u=0;u<p.length;u++){var e=p[u];delete s[e];var o=this.src.__lookupGetter__(e),r=this.src.__lookupSetter__(e);o&&s.__defineGetter__(e,o),r&&s.__defineSetter__(e,r),o||r||(s[e]=this.src[e])}},h.prototype.override=h.prototype.toCover,h.prototype.and=function(s){var p={};return this.to(p),this.src=s,this.to(p),this.src=p,this}},{}],44:[function(n,A,v){n("../../modules/es6.string.iterator"),n("../../modules/es6.array.from"),A.exports=n("../../modules/_core").Array.from},{"../../modules/_core":65,"../../modules/es6.array.from":133,"../../modules/es6.string.iterator":145}],45:[function(n,A,v){var h=n("../../modules/_core"),g=h.JSON||(h.JSON={stringify:JSON.stringify});A.exports=function(i){return g.stringify.apply(g,arguments)}},{"../../modules/_core":65}],46:[function(n,A,v){n("../../modules/es6.object.assign"),A.exports=n("../../modules/_core").Object.assign},{"../../modules/_core":65,"../../modules/es6.object.assign":136}],47:[function(n,A,v){n("../../modules/es6.object.create");var h=n("../../modules/_core").Object;A.exports=function(g,i){return h.create(g,i)}},{"../../modules/_core":65,"../../modules/es6.object.create":137}],48:[function(n,A,v){n("../../modules/es6.object.define-property");var h=n("../../modules/_core").Object;A.exports=function(g,i,s){return h.defineProperty(g,i,s)}},{"../../modules/_core":65,"../../modules/es6.object.define-property":138}],49:[function(n,A,v){n("../../modules/es6.object.get-own-property-names");var h=n("../../modules/_core").Object;A.exports=function(g){return h.getOwnPropertyNames(g)}},{"../../modules/_core":65,"../../modules/es6.object.get-own-property-names":139}],50:[function(n,A,v){n("../../modules/es6.object.get-prototype-of"),A.exports=n("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":65,"../../modules/es6.object.get-prototype-of":140}],51:[function(n,A,v){n("../../modules/es6.object.keys"),A.exports=n("../../modules/_core").Object.keys},{"../../modules/_core":65,"../../modules/es6.object.keys":141}],52:[function(n,A,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"),A.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,A,v){n("../modules/web.immediate"),A.exports=n("../modules/_core").setImmediate},{"../modules/_core":65,"../modules/web.immediate":152}],54:[function(n,A,v){n("../../modules/es6.string.from-code-point"),A.exports=n("../../modules/_core").String.fromCodePoint},{"../../modules/_core":65,"../../modules/es6.string.from-code-point":144}],55:[function(n,A,v){n("../../modules/es6.function.has-instance"),A.exports=n("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":130,"../../modules/es6.function.has-instance":135}],56:[function(n,A,v){n("../../modules/es6.symbol"),n("../../modules/es6.object.to-string"),n("../../modules/es7.symbol.async-iterator"),n("../../modules/es7.symbol.observable"),A.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,A,v){n("../../modules/es6.string.iterator"),n("../../modules/web.dom.iterable"),A.exports=n("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":130,"../../modules/es6.string.iterator":145,"../../modules/web.dom.iterable":151}],58:[function(n,A,v){A.exports=function(h){if(typeof h!="function")throw TypeError(h+" is not a function!");return h}},{}],59:[function(n,A,v){A.exports=function(){}},{}],60:[function(n,A,v){A.exports=function(h,g,i,s){if(!(h instanceof g)||s!==void 0&&s in h)throw TypeError(i+": incorrect invocation!");return h}},{}],61:[function(n,A,v){var h=n("./_is-object");A.exports=function(g){if(!h(g))throw TypeError(g+" is not an object!");return g}},{"./_is-object":85}],62:[function(n,A,v){var h=n("./_to-iobject"),g=n("./_to-length"),i=n("./_to-absolute-index");A.exports=function(s){return function(p,u,e){var o,r=h(p),c=g(r.length),d=i(e,c);if(s&&u!=u){for(;c>d;)if((o=r[d++])!=o)return!0}else for(;c>d;d++)if((s||d in r)&&r[d]===u)return s||d||0;return!s&&-1}}},{"./_to-absolute-index":121,"./_to-iobject":123,"./_to-length":124}],63:[function(n,A,v){var h=n("./_cof"),g=n("./_wks")("toStringTag"),i=h(function(){return arguments}())=="Arguments",s=function(u,e){try{return u[e]}catch(o){}};A.exports=function(p){var u,e,o;return p===void 0?"Undefined":p===null?"Null":typeof(e=s(u=Object(p),g))=="string"?e:i?h(u):(o=h(u))=="Object"&&typeof u.callee=="function"?"Arguments":o}},{"./_cof":64,"./_wks":131}],64:[function(n,A,v){var h={}.toString;A.exports=function(g){return h.call(g).slice(8,-1)}},{}],65:[function(n,A,v){var h=A.exports={version:"2.5.7"};typeof __e=="number"&&(__e=h)},{}],66:[function(n,A,v){"use strict";var h=n("./_object-dp"),g=n("./_property-desc");A.exports=function(i,s,p){s in i?h.f(i,s,g(0,p)):i[s]=p}},{"./_object-dp":98,"./_property-desc":111}],67:[function(n,A,v){var h=n("./_a-function");A.exports=function(g,i,s){if(h(g),i===void 0)return g;switch(s){case 1:return function(p){return g.call(i,p)};case 2:return function(p,u){return g.call(i,p,u)};case 3:return function(p,u,e){return g.call(i,p,u,e)}}return function(){return g.apply(i,arguments)}}},{"./_a-function":58}],68:[function(n,A,v){A.exports=function(h){if(h==null)throw TypeError("Can't call method on "+h);return h}},{}],69:[function(n,A,v){A.exports=!n("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":74}],70:[function(n,A,v){var h=n("./_is-object"),g=n("./_global").document,i=h(g)&&h(g.createElement);A.exports=function(s){return i?g.createElement(s):{}}},{"./_global":76,"./_is-object":85}],71:[function(n,A,v){A.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],72:[function(n,A,v){var h=n("./_object-keys"),g=n("./_object-gops"),i=n("./_object-pie");A.exports=function(s){var p=h(s),u=g.f;if(u)for(var e,o=u(s),r=i.f,c=0;o.length>c;)r.call(s,e=o[c++])&&p.push(e);return p}},{"./_object-gops":103,"./_object-keys":106,"./_object-pie":107}],73:[function(n,A,v){var h=n("./_global"),g=n("./_core"),i=n("./_ctx"),s=n("./_hide"),p=n("./_has"),u=function e(o,r,c){var d,l,x,E=o&e.F,f=o&e.G,T=o&e.S,S=o&e.P,m=o&e.B,b=o&e.W,O=f?g:g[r]||(g[r]={}),C=O.prototype,_=f?h:T?h[r]:(h[r]||{}).prototype;f&&(c=r);for(d in c)(l=!E&&_&&_[d]!==void 0)&&p(O,d)||(x=l?_[d]:c[d],O[d]=f&&typeof _[d]!="function"?c[d]:m&&l?i(x,h):b&&_[d]==x?function(j){var D=function(L,B,q){if(this instanceof j){switch(arguments.length){case 0:return new j;case 1:return new j(L);case 2:return new j(L,B)}return new j(L,B,q)}return j.apply(this,arguments)};return D.prototype=j.prototype,D}(x):S&&typeof x=="function"?i(Function.call,x):x,S&&((O.virtual||(O.virtual={}))[d]=x,o&e.R&&C&&!C[d]&&s(C,d,x)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,A.exports=u},{"./_core":65,"./_ctx":67,"./_global":76,"./_has":77,"./_hide":78}],74:[function(n,A,v){A.exports=function(h){try{return!!h()}catch(g){return!0}}},{}],75:[function(n,A,v){var h=n("./_ctx"),g=n("./_iter-call"),i=n("./_is-array-iter"),s=n("./_an-object"),p=n("./_to-length"),u=n("./core.get-iterator-method"),e={},o={},v=A.exports=function(r,c,d,l,x){var E,f,T,S,m=x?function(){return r}:u(r),b=h(d,l,c?2:1),O=0;if(typeof m!="function")throw TypeError(r+" is not iterable!");if(i(m)){for(E=p(r.length);E>O;O++)if((S=c?b(s(f=r[O])[0],f[1]):b(r[O]))===e||S===o)return S}else for(T=m.call(r);!(f=T.next()).done;)if((S=g(T,b,f.value,c))===e||S===o)return S};v.BREAK=e,v.RETURN=o},{"./_an-object":61,"./_ctx":67,"./_is-array-iter":83,"./_iter-call":86,"./_to-length":124,"./core.get-iterator-method":132}],76:[function(n,A,v){var h=A.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,A,v){var h={}.hasOwnProperty;A.exports=function(g,i){return h.call(g,i)}},{}],78:[function(n,A,v){var h=n("./_object-dp"),g=n("./_property-desc");A.exports=n("./_descriptors")?function(i,s,p){return h.f(i,s,g(1,p))}:function(i,s,p){return i[s]=p,i}},{"./_descriptors":69,"./_object-dp":98,"./_property-desc":111}],79:[function(n,A,v){var h=n("./_global").document;A.exports=h&&h.documentElement},{"./_global":76}],80:[function(n,A,v){A.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,A,v){A.exports=function(h,g,i){var s=i===void 0;switch(g.length){case 0:return s?h():h.call(i);case 1:return s?h(g[0]):h.call(i,g[0]);case 2:return s?h(g[0],g[1]):h.call(i,g[0],g[1]);case 3:return s?h(g[0],g[1],g[2]):h.call(i,g[0],g[1],g[2]);case 4:return s?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,A,v){var h=n("./_cof");A.exports=Object("z").propertyIsEnumerable(0)?Object:function(g){return h(g)=="String"?g.split(""):Object(g)}},{"./_cof":64}],83:[function(n,A,v){var h=n("./_iterators"),g=n("./_wks")("iterator"),i=Array.prototype;A.exports=function(s){return s!==void 0&&(h.Array===s||i[g]===s)}},{"./_iterators":91,"./_wks":131}],84:[function(n,A,v){var h=n("./_cof");A.exports=Array.isArray||function(g){return h(g)=="Array"}},{"./_cof":64}],85:[function(n,A,v){A.exports=function(h){return typeof h=="object"?h!==null:typeof h=="function"}},{}],86:[function(n,A,v){var h=n("./_an-object");A.exports=function(g,i,s,p){try{return p?i(h(s)[0],s[1]):i(s)}catch(e){var u=g.return;throw u!==void 0&&h(u.call(g)),e}}},{"./_an-object":61}],87:[function(n,A,v){"use strict";var h=n("./_object-create"),g=n("./_property-desc"),i=n("./_set-to-string-tag"),s={};n("./_hide")(s,n("./_wks")("iterator"),function(){return this}),A.exports=function(p,u,e){p.prototype=h(s,{next:g(1,e)}),i(p,u+" Iterator")}},{"./_hide":78,"./_object-create":97,"./_property-desc":111,"./_set-to-string-tag":115,"./_wks":131}],88:[function(n,A,v){"use strict";var h=n("./_library"),g=n("./_export"),i=n("./_redefine"),s=n("./_hide"),p=n("./_iterators"),u=n("./_iter-create"),e=n("./_set-to-string-tag"),o=n("./_object-gpo"),r=n("./_wks")("iterator"),c=!([].keys&&"next"in[].keys()),d=function(){return this};A.exports=function(l,x,E,f,T,S,m){u(E,x,f);var b,O,C,_=function(ee){if(!c&&ee in L)return L[ee];switch(ee){case"keys":case"values":return function(){return new E(this,ee)}}return function(){return new E(this,ee)}},j=x+" Iterator",D=T=="values",N=!1,L=l.prototype,B=L[r]||L["@@iterator"]||T&&L[T],q=B||_(T),G=T?D?_("entries"):q:void 0,Z=x=="Array"&&L.entries||B;if(Z&&(C=o(Z.call(new l)))!==Object.prototype&&C.next&&(e(C,j,!0),h||typeof C[r]=="function"||s(C,r,d)),D&&B&&B.name!=="values"&&(N=!0,q=function(){return B.call(this)}),h&&!m||!c&&!N&&L[r]||s(L,r,q),p[x]=q,p[j]=d,T)if(b={values:D?q:_("values"),keys:S?q:_("keys"),entries:G},m)for(O in b)O in L||i(L,O,b[O]);else g(g.P+g.F*(c||N),x,b);return b}},{"./_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,A,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(s){}A.exports=function(s,p){if(!p&&!g)return!1;var u=!1;try{var e=[7],o=e[h]();o.next=function(){return{done:u=!0}},e[h]=function(){return o},s(e)}catch(r){}return u}},{"./_wks":131}],90:[function(n,A,v){A.exports=function(h,g){return{value:g,done:!!h}}},{}],91:[function(n,A,v){A.exports={}},{}],92:[function(n,A,v){A.exports=!0},{}],93:[function(n,A,v){var h=n("./_uid")("meta"),g=n("./_is-object"),i=n("./_has"),s=n("./_object-dp").f,p=0,u=Object.isExtensible||function(){return!0},e=!n("./_fails")(function(){return u(Object.preventExtensions({}))}),o=function(E){s(E,h,{value:{i:"O"+ ++p,w:{}}})},r=function(E,f){if(!g(E))return typeof E=="symbol"?E:(typeof E=="string"?"S":"P")+E;if(!i(E,h)){if(!u(E))return"F";if(!f)return"E";o(E)}return E[h].i},c=function(E,f){if(!i(E,h)){if(!u(E))return!0;if(!f)return!1;o(E)}return E[h].w},d=function(E){return e&&l.NEED&&u(E)&&!i(E,h)&&o(E),E},l=A.exports={KEY:h,NEED:!1,fastKey:r,getWeak:c,onFreeze:d}},{"./_fails":74,"./_has":77,"./_is-object":85,"./_object-dp":98,"./_uid":127}],94:[function(n,A,v){var h=n("./_global"),g=n("./_task").set,i=h.MutationObserver||h.WebKitMutationObserver,s=h.process,p=h.Promise,u=n("./_cof")(s)=="process";A.exports=function(){var e,o,r,c=function(){var f,T;for(u&&(f=s.domain)&&f.exit();e;){T=e.fn,e=e.next;try{T()}catch(S){throw e?r():o=void 0,S}}o=void 0,f&&f.enter()};if(u)r=function(){s.nextTick(c)};else if(!i||h.navigator&&h.navigator.standalone)if(p&&p.resolve){var d=p.resolve(void 0);r=function(){d.then(c)}}else r=function(){g.call(h,c)};else{var l=!0,x=document.createTextNode("");new i(c).observe(x,{characterData:!0}),r=function(){x.data=l=!l}}return function(E){var f={fn:E,next:void 0};o&&(o.next=f),e||(e=f,r()),o=f}}},{"./_cof":64,"./_global":76,"./_task":120}],95:[function(n,A,v){"use strict";function h(i){var s,p;this.promise=new i(function(u,e){if(s!==void 0||p!==void 0)throw TypeError("Bad Promise constructor");s=u,p=e}),this.resolve=g(s),this.reject=g(p)}var g=n("./_a-function");A.exports.f=function(i){return new h(i)}},{"./_a-function":58}],96:[function(n,A,v){"use strict";var h=n("./_object-keys"),g=n("./_object-gops"),i=n("./_object-pie"),s=n("./_to-object"),p=n("./_iobject"),u=Object.assign;A.exports=!u||n("./_fails")(function(){var e={},o={},r=Symbol(),c="abcdefghijklmnopqrst";return e[r]=7,c.split("").forEach(function(d){o[d]=d}),u({},e)[r]!=7||Object.keys(u({},o)).join("")!=c})?function(e,o){for(var r=s(e),c=arguments.length,d=1,l=g.f,x=i.f;c>d;)for(var E,f=p(arguments[d++]),T=l?h(f).concat(l(f)):h(f),S=T.length,m=0;S>m;)x.call(f,E=T[m++])&&(r[E]=f[E]);return r}:u},{"./_fails":74,"./_iobject":82,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_to-object":125}],97:[function(n,A,v){var h=n("./_an-object"),g=n("./_object-dps"),i=n("./_enum-bug-keys"),s=n("./_shared-key")("IE_PROTO"),p=function(){},u=function(){var o,r=n("./_dom-create")("iframe"),c=i.length;for(r.style.display="none",n("./_html").appendChild(r),r.src="javascript:",o=r.contentWindow.document,o.open(),o.write("<script>document.F=Object</script>"),o.close(),u=o.F;c--;)delete u.prototype[i[c]];return u()};A.exports=Object.create||function(e,o){var r;return e!==null?(p.prototype=h(e),r=new p,p.prototype=null,r[s]=e):r=u(),o===void 0?r:g(r,o)}},{"./_an-object":61,"./_dom-create":70,"./_enum-bug-keys":71,"./_html":79,"./_object-dps":99,"./_shared-key":116}],98:[function(n,A,v){var h=n("./_an-object"),g=n("./_ie8-dom-define"),i=n("./_to-primitive"),s=Object.defineProperty;v.f=n("./_descriptors")?Object.defineProperty:function(p,u,e){if(h(p),u=i(u,!0),h(e),g)try{return s(p,u,e)}catch(o){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(p[u]=e.value),p}},{"./_an-object":61,"./_descriptors":69,"./_ie8-dom-define":80,"./_to-primitive":126}],99:[function(n,A,v){var h=n("./_object-dp"),g=n("./_an-object"),i=n("./_object-keys");A.exports=n("./_descriptors")?Object.defineProperties:function(s,p){g(s);for(var u,e=i(p),o=e.length,r=0;o>r;)h.f(s,u=e[r++],p[u]);return s}},{"./_an-object":61,"./_descriptors":69,"./_object-dp":98,"./_object-keys":106}],100:[function(n,A,v){var h=n("./_object-pie"),g=n("./_property-desc"),i=n("./_to-iobject"),s=n("./_to-primitive"),p=n("./_has"),u=n("./_ie8-dom-define"),e=Object.getOwnPropertyDescriptor;v.f=n("./_descriptors")?e:function(o,r){if(o=i(o),r=s(r,!0),u)try{return e(o,r)}catch(c){}if(p(o,r))return g(!h.f.call(o,r),o[r])}},{"./_descriptors":69,"./_has":77,"./_ie8-dom-define":80,"./_object-pie":107,"./_property-desc":111,"./_to-iobject":123,"./_to-primitive":126}],101:[function(n,A,v){var h=n("./_to-iobject"),g=n("./_object-gopn").f,i={}.toString,s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],p=function(e){try{return g(e)}catch(o){return s.slice()}};A.exports.f=function(u){return s&&i.call(u)=="[object Window]"?p(u):g(h(u))}},{"./_object-gopn":102,"./_to-iobject":123}],102:[function(n,A,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,A,v){v.f=Object.getOwnPropertySymbols},{}],104:[function(n,A,v){var h=n("./_has"),g=n("./_to-object"),i=n("./_shared-key")("IE_PROTO"),s=Object.prototype;A.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?s:null}},{"./_has":77,"./_shared-key":116,"./_to-object":125}],105:[function(n,A,v){var h=n("./_has"),g=n("./_to-iobject"),i=n("./_array-includes")(!1),s=n("./_shared-key")("IE_PROTO");A.exports=function(p,u){var e,o=g(p),r=0,c=[];for(e in o)e!=s&&h(o,e)&&c.push(e);for(;u.length>r;)h(o,e=u[r++])&&(~i(c,e)||c.push(e));return c}},{"./_array-includes":62,"./_has":77,"./_shared-key":116,"./_to-iobject":123}],106:[function(n,A,v){var h=n("./_object-keys-internal"),g=n("./_enum-bug-keys");A.exports=Object.keys||function(i){return h(i,g)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],107:[function(n,A,v){v.f={}.propertyIsEnumerable},{}],108:[function(n,A,v){var h=n("./_export"),g=n("./_core"),i=n("./_fails");A.exports=function(s,p){var u=(g.Object||{})[s]||Object[s],e={};e[s]=p(u),h(h.S+h.F*i(function(){u(1)}),"Object",e)}},{"./_core":65,"./_export":73,"./_fails":74}],109:[function(n,A,v){A.exports=function(h){try{return{e:!1,v:h()}}catch(g){return{e:!0,v:g}}}},{}],110:[function(n,A,v){var h=n("./_an-object"),g=n("./_is-object"),i=n("./_new-promise-capability");A.exports=function(s,p){if(h(s),g(p)&&p.constructor===s)return p;var u=i.f(s);return(0,u.resolve)(p),u.promise}},{"./_an-object":61,"./_is-object":85,"./_new-promise-capability":95}],111:[function(n,A,v){A.exports=function(h,g){return{enumerable:!(1&h),configurable:!(2&h),writable:!(4&h),value:g}}},{}],112:[function(n,A,v){var h=n("./_hide");A.exports=function(g,i,s){for(var p in i)s&&g[p]?g[p]=i[p]:h(g,p,i[p]);return g}},{"./_hide":78}],113:[function(n,A,v){A.exports=n("./_hide")},{"./_hide":78}],114:[function(n,A,v){"use strict";var h=n("./_global"),g=n("./_core"),i=n("./_object-dp"),s=n("./_descriptors"),p=n("./_wks")("species");A.exports=function(u){var e=typeof g[u]=="function"?g[u]:h[u];s&&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,A,v){var h=n("./_object-dp").f,g=n("./_has"),i=n("./_wks")("toStringTag");A.exports=function(s,p,u){s&&!g(s=u?s:s.prototype,i)&&h(s,i,{configurable:!0,value:p})}},{"./_has":77,"./_object-dp":98,"./_wks":131}],116:[function(n,A,v){var h=n("./_shared")("keys"),g=n("./_uid");A.exports=function(i){return h[i]||(h[i]=g(i))}},{"./_shared":117,"./_uid":127}],117:[function(n,A,v){var h=n("./_core"),g=n("./_global"),i=g["__core-js_shared__"]||(g["__core-js_shared__"]={});(A.exports=function(s,p){return i[s]||(i[s]=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,A,v){var h=n("./_an-object"),g=n("./_a-function"),i=n("./_wks")("species");A.exports=function(s,p){var u,e=h(s).constructor;return e===void 0||(u=h(e)[i])==null?p:g(u)}},{"./_a-function":58,"./_an-object":61,"./_wks":131}],119:[function(n,A,v){var h=n("./_to-integer"),g=n("./_defined");A.exports=function(i){return function(s,p){var u,e,o=String(g(s)),r=h(p),c=o.length;return r<0||r>=c?i?"":void 0:(u=o.charCodeAt(r),u<55296||u>56319||r+1===c||(e=o.charCodeAt(r+1))<56320||e>57343?i?o.charAt(r):u:i?o.slice(r,r+2):e-56320+(u-55296<<10)+65536)}}},{"./_defined":68,"./_to-integer":122}],120:[function(n,A,v){var h,g,i,s=n("./_ctx"),p=n("./_invoke"),u=n("./_html"),e=n("./_dom-create"),o=n("./_global"),r=o.process,c=o.setImmediate,d=o.clearImmediate,l=o.MessageChannel,x=o.Dispatch,E=0,f={},T=function(){var b=+this;if(f.hasOwnProperty(b)){var O=f[b];delete f[b],O()}},S=function(b){T.call(b.data)};c&&d||(c=function(b){for(var O=[],C=1;arguments.length>C;)O.push(arguments[C++]);return f[++E]=function(){p(typeof b=="function"?b:Function(b),O)},h(E),E},d=function(b){delete f[b]},n("./_cof")(r)=="process"?h=function(b){r.nextTick(s(T,b,1))}:x&&x.now?h=function(b){x.now(s(T,b,1))}:l?(g=new l,i=g.port2,g.port1.onmessage=S,h=s(i.postMessage,i,1)):o.addEventListener&&typeof postMessage=="function"&&!o.importScripts?(h=function(b){o.postMessage(b+"","*")},o.addEventListener("message",S,!1)):h="onreadystatechange"in e("script")?function(m){u.appendChild(e("script")).onreadystatechange=function(){u.removeChild(this),T.call(m)}}:function(m){setTimeout(s(T,m,1),0)}),A.exports={set:c,clear:d}},{"./_cof":64,"./_ctx":67,"./_dom-create":70,"./_global":76,"./_html":79,"./_invoke":81}],121:[function(n,A,v){var h=n("./_to-integer"),g=Math.max,i=Math.min;A.exports=function(s,p){return s=h(s),s<0?g(s+p,0):i(s,p)}},{"./_to-integer":122}],122:[function(n,A,v){var h=Math.ceil,g=Math.floor;A.exports=function(i){return isNaN(i=+i)?0:(i>0?g:h)(i)}},{}],123:[function(n,A,v){var h=n("./_iobject"),g=n("./_defined");A.exports=function(i){return h(g(i))}},{"./_defined":68,"./_iobject":82}],124:[function(n,A,v){var h=n("./_to-integer"),g=Math.min;A.exports=function(i){return i>0?g(h(i),9007199254740991):0}},{"./_to-integer":122}],125:[function(n,A,v){var h=n("./_defined");A.exports=function(g){return Object(h(g))}},{"./_defined":68}],126:[function(n,A,v){var h=n("./_is-object");A.exports=function(g,i){if(!h(g))return g;var s,p;if(i&&typeof(s=g.toString)=="function"&&!h(p=s.call(g)))return p;if(typeof(s=g.valueOf)=="function"&&!h(p=s.call(g)))return p;if(!i&&typeof(s=g.toString)=="function"&&!h(p=s.call(g)))return p;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":85}],127:[function(n,A,v){var h=0,g=Math.random();A.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++h+g).toString(36))}},{}],128:[function(n,A,v){var h=n("./_global"),g=h.navigator;A.exports=g&&g.userAgent||""},{"./_global":76}],129:[function(n,A,v){var h=n("./_global"),g=n("./_core"),i=n("./_library"),s=n("./_wks-ext"),p=n("./_object-dp").f;A.exports=function(u){var e=g.Symbol||(g.Symbol=i?{}:h.Symbol||{});u.charAt(0)=="_"||u in e||p(e,u,{value:s.f(u)})}},{"./_core":65,"./_global":76,"./_library":92,"./_object-dp":98,"./_wks-ext":130}],130:[function(n,A,v){v.f=n("./_wks")},{"./_wks":131}],131:[function(n,A,v){var h=n("./_shared")("wks"),g=n("./_uid"),i=n("./_global").Symbol,s=typeof i=="function";(A.exports=function(p){return h[p]||(h[p]=s&&i[p]||(s?i:g)("Symbol."+p))}).store=h},{"./_global":76,"./_shared":117,"./_uid":127}],132:[function(n,A,v){var h=n("./_classof"),g=n("./_wks")("iterator"),i=n("./_iterators");A.exports=n("./_core").getIteratorMethod=function(s){if(s!=null)return s[g]||s["@@iterator"]||i[h(s)]}},{"./_classof":63,"./_core":65,"./_iterators":91,"./_wks":131}],133:[function(n,A,v){"use strict";var h=n("./_ctx"),g=n("./_export"),i=n("./_to-object"),s=n("./_iter-call"),p=n("./_is-array-iter"),u=n("./_to-length"),e=n("./_create-property"),o=n("./core.get-iterator-method");g(g.S+g.F*!n("./_iter-detect")(function(r){Array.from(r)}),"Array",{from:function(c){var d,l,x,E,f=i(c),T=typeof this=="function"?this:Array,S=arguments.length,m=S>1?arguments[1]:void 0,b=m!==void 0,O=0,C=o(f);if(b&&(m=h(m,S>2?arguments[2]:void 0,2)),C==null||T==Array&&p(C))for(d=u(f.length),l=new T(d);d>O;O++)e(l,O,b?m(f[O],O):f[O]);else for(E=C.call(f),l=new T;!(x=E.next()).done;O++)e(l,O,b?s(E,m,[x.value,O],!0):x.value);return l.length=O,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,A,v){"use strict";var h=n("./_add-to-unscopables"),g=n("./_iter-step"),i=n("./_iterators"),s=n("./_to-iobject");A.exports=n("./_iter-define")(Array,"Array",function(p,u){this._t=s(p),this._i=0,this._k=u},function(){var p=this._t,u=this._k,e=this._i++;return!p||e>=p.length?(this._t=void 0,g(1)):u=="keys"?g(0,e):u=="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,A,v){"use strict";var h=n("./_is-object"),g=n("./_object-gpo"),i=n("./_wks")("hasInstance"),s=Function.prototype;i in s||n("./_object-dp").f(s,i,{value:function(u){if(typeof this!="function"||!h(u))return!1;if(!h(this.prototype))return u instanceof this;for(;u=g(u);)if(this.prototype===u)return!0;return!1}})},{"./_is-object":85,"./_object-dp":98,"./_object-gpo":104,"./_wks":131}],136:[function(n,A,v){var h=n("./_export");h(h.S+h.F,"Object",{assign:n("./_object-assign")})},{"./_export":73,"./_object-assign":96}],137:[function(n,A,v){var h=n("./_export");h(h.S,"Object",{create:n("./_object-create")})},{"./_export":73,"./_object-create":97}],138:[function(n,A,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,A,v){n("./_object-sap")("getOwnPropertyNames",function(){return n("./_object-gopn-ext").f})},{"./_object-gopn-ext":101,"./_object-sap":108}],140:[function(n,A,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,A,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,A,v){arguments[4][36][0].apply(v,arguments)},{dup:36}],143:[function(n,A,v){"use strict";var h,g,i,s,p=n("./_library"),u=n("./_global"),e=n("./_ctx"),o=n("./_classof"),r=n("./_export"),c=n("./_is-object"),d=n("./_a-function"),l=n("./_an-instance"),x=n("./_for-of"),E=n("./_species-constructor"),f=n("./_task").set,T=n("./_microtask")(),S=n("./_new-promise-capability"),m=n("./_perform"),b=n("./_user-agent"),O=n("./_promise-resolve"),C=u.TypeError,_=u.process,j=_&&_.versions,D=j&&j.v8||"",N=u.Promise,L=o(_)=="process",B=function(){},q=g=S.f,G=!!function(){try{var M=N.resolve(1),U=(M.constructor={})[n("./_wks")("species")]=function(H){H(B,B)};return(L||typeof PromiseRejectionEvent=="function")&&M.then(B)instanceof U&&D.indexOf("6.6")!==0&&b.indexOf("Chrome/66")===-1}catch(H){}}(),Z=function(U){var H;return!(!c(U)||typeof(H=U.then)!="function")&&H},F=function(U,H){if(!U._n){U._n=!0;var Y=U._c;T(function(){for(var ae=U._v,ne=U._s==1,ue=0;Y.length>ue;)!function(de){var Q,J,ie,V=ne?de.ok:de.fail,X=de.resolve,re=de.reject,te=de.domain;try{V?(ne||(U._h==2&&W(U),U._h=1),V===!0?Q=ae:(te&&te.enter(),Q=V(ae),te&&(te.exit(),ie=!0)),Q===de.promise?re(C("Promise-chain cycle")):(J=Z(Q))?J.call(Q,X,re):X(Q)):re(ae)}catch(ce){te&&!ie&&te.exit(),re(ce)}}(Y[ue++]);U._c=[],U._n=!1,H&&!U._h&&ee(U)})}},ee=function(U){f.call(u,function(){var H,Y,ae,ne=U._v,ue=$(U);if(ue&&(H=m(function(){L?_.emit("unhandledRejection",ne,U):(Y=u.onunhandledrejection)?Y({promise:U,reason:ne}):(ae=u.console)&&ae.error&&ae.error("Unhandled promise rejection",ne)}),U._h=L||$(U)?2:1),U._a=void 0,ue&&H.e)throw H.v})},$=function(U){return U._h!==1&&(U._a||U._c).length===0},W=function(U){f.call(u,function(){var H;L?_.emit("rejectionHandled",U):(H=u.onrejectionhandled)&&H({promise:U,reason:U._v})})},R=function(U){var H=this;H._d||(H._d=!0,H=H._w||H,H._v=U,H._s=2,H._a||(H._a=H._c.slice()),F(H,!0))},I=function M(U){var H,Y=this;if(!Y._d){Y._d=!0,Y=Y._w||Y;try{if(Y===U)throw C("Promise can't be resolved itself");(H=Z(U))?T(function(){var ae={_w:Y,_d:!1};try{H.call(U,e(M,ae,1),e(R,ae,1))}catch(ne){R.call(ae,ne)}}):(Y._v=U,Y._s=1,F(Y,!1))}catch(ae){R.call({_w:Y,_d:!1},ae)}}};G||(N=function(U){l(this,N,"Promise","_h"),d(U),h.call(this);try{U(e(I,this,1),e(R,this,1))}catch(H){R.call(this,H)}},h=function(U){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")(N.prototype,{then:function(U,H){var Y=q(E(this,N));return Y.ok=typeof U!="function"||U,Y.fail=typeof H=="function"&&H,Y.domain=L?_.domain:void 0,this._c.push(Y),this._a&&this._a.push(Y),this._s&&F(this,!1),Y.promise},catch:function(U){return this.then(void 0,U)}}),i=function(){var U=new h;this.promise=U,this.resolve=e(I,U,1),this.reject=e(R,U,1)},S.f=q=function(U){return U===N||U===s?new i(U):g(U)}),r(r.G+r.W+r.F*!G,{Promise:N}),n("./_set-to-string-tag")(N,"Promise"),n("./_set-species")("Promise"),s=n("./_core").Promise,r(r.S+r.F*!G,"Promise",{reject:function(U){var H=q(this);return(0,H.reject)(U),H.promise}}),r(r.S+r.F*(p||!G),"Promise",{resolve:function(U){return O(p&&this===s?N:this,U)}}),r(r.S+r.F*!(G&&n("./_iter-detect")(function(M){N.all(M).catch(B)})),"Promise",{all:function(U){var H=this,Y=q(H),ae=Y.resolve,ne=Y.reject,ue=m(function(){var de=[],Q=0,J=1;x(U,!1,function(ie){var V=Q++,X=!1;de.push(void 0),J++,H.resolve(ie).then(function(re){X||(X=!0,de[V]=re,--J||ae(de))},ne)}),--J||ae(de)});return ue.e&&ne(ue.v),Y.promise},race:function(U){var H=this,Y=q(H),ae=Y.reject,ne=m(function(){x(U,!1,function(ue){H.resolve(ue).then(Y.resolve,ae)})});return ne.e&&ae(ne.v),Y.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,A,v){var h=n("./_export"),g=n("./_to-absolute-index"),i=String.fromCharCode,s=String.fromCodePoint;h(h.S+h.F*(!!s&&s.length!=1),"String",{fromCodePoint:function(u){for(var e,o=[],r=arguments.length,c=0;r>c;){if(e=+arguments[c++],g(e,1114111)!==e)throw RangeError(e+" is not a valid code point");o.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return o.join("")}})},{"./_export":73,"./_to-absolute-index":121}],145:[function(n,A,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,s=this._i;return s>=i.length?{value:void 0,done:!0}:(g=h(i,s),this._i+=g.length,{value:g,done:!1})})},{"./_iter-define":88,"./_string-at":119}],146:[function(n,A,v){"use strict";var h=n("./_global"),g=n("./_has"),i=n("./_descriptors"),s=n("./_export"),p=n("./_redefine"),u=n("./_meta").KEY,e=n("./_fails"),o=n("./_shared"),r=n("./_set-to-string-tag"),c=n("./_uid"),d=n("./_wks"),l=n("./_wks-ext"),x=n("./_wks-define"),E=n("./_enum-keys"),f=n("./_is-array"),T=n("./_an-object"),S=n("./_is-object"),m=n("./_to-iobject"),b=n("./_to-primitive"),O=n("./_property-desc"),C=n("./_object-create"),_=n("./_object-gopn-ext"),j=n("./_object-gopd"),D=n("./_object-dp"),N=n("./_object-keys"),L=j.f,B=D.f,q=_.f,G=h.Symbol,Z=h.JSON,F=Z&&Z.stringify,ee=d("_hidden"),$=d("toPrimitive"),W={}.propertyIsEnumerable,R=o("symbol-registry"),I=o("symbols"),M=o("op-symbols"),U=Object.prototype,H=typeof G=="function",Y=h.QObject,ae=!Y||!Y.prototype||!Y.prototype.findChild,ne=i&&e(function(){return C(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(P,y,w){var z=L(U,y);z&&delete U[y],B(P,y,w),z&&P!==U&&B(U,y,z)}:B,ue=function(y){var w=I[y]=C(G.prototype);return w._k=y,w},de=H&&typeof G.iterator=="symbol"?function(P){return typeof P=="symbol"}:function(P){return P instanceof G},Q=function P(y,w,z){return y===U&&P(M,w,z),T(y),w=b(w,!0),T(z),g(I,w)?(z.enumerable?(g(y,ee)&&y[ee][w]&&(y[ee][w]=!1),z=C(z,{enumerable:O(0,!1)})):(g(y,ee)||B(y,ee,O(1,{})),y[ee][w]=!0),ne(y,w,z)):B(y,w,z)},J=function(y,w){T(y);for(var z,K=E(w=m(w)),fe=0,le=K.length;le>fe;)Q(y,z=K[fe++],w[z]);return y},ie=function(y,w){return w===void 0?C(y):J(C(y),w)},V=function(y){var w=W.call(this,y=b(y,!0));return!(this===U&&g(I,y)&&!g(M,y))&&(!(w||!g(this,y)||!g(I,y)||g(this,ee)&&this[ee][y])||w)},X=function(y,w){if(y=m(y),w=b(w,!0),y!==U||!g(I,w)||g(M,w)){var z=L(y,w);return!z||!g(I,w)||g(y,ee)&&y[ee][w]||(z.enumerable=!0),z}},re=function(y){for(var w,z=q(m(y)),K=[],fe=0;z.length>fe;)g(I,w=z[fe++])||w==ee||w==u||K.push(w);return K},te=function(y){for(var w,z=y===U,K=q(z?M:m(y)),fe=[],le=0;K.length>le;)!g(I,w=K[le++])||z&&!g(U,w)||fe.push(I[w]);return fe};H||(G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor!");var y=c(arguments.length>0?arguments[0]:void 0),w=function z(K){this===U&&z.call(M,K),g(this,ee)&&g(this[ee],y)&&(this[ee][y]=!1),ne(this,y,O(1,K))};return i&&ae&&ne(U,y,{configurable:!0,set:w}),ue(y)},p(G.prototype,"toString",function(){return this._k}),j.f=X,D.f=Q,n("./_object-gopn").f=_.f=re,n("./_object-pie").f=V,n("./_object-gops").f=te,i&&!n("./_library")&&p(U,"propertyIsEnumerable",V,!0),l.f=function(P){return ue(d(P))}),s(s.G+s.W+s.F*!H,{Symbol:G});for(var ce="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),k=0;ce.length>k;)d(ce[k++]);for(var t=N(d.store),a=0;t.length>a;)x(t[a++]);s(s.S+s.F*!H,"Symbol",{for:function(y){return g(R,y+="")?R[y]:R[y]=G(y)},keyFor:function(y){if(!de(y))throw TypeError(y+" is not a symbol!");for(var w in R)if(R[w]===y)return w},useSetter:function(){ae=!0},useSimple:function(){ae=!1}}),s(s.S+s.F*!H,"Object",{create:ie,defineProperty:Q,defineProperties:J,getOwnPropertyDescriptor:X,getOwnPropertyNames:re,getOwnPropertySymbols:te}),Z&&s(s.S+s.F*(!H||e(function(){var P=G();return F([P])!="[null]"||F({a:P})!="{}"||F(Object(P))!="{}"})),"JSON",{stringify:function(y){for(var w,z,K=[y],fe=1;arguments.length>fe;)K.push(arguments[fe++]);if(z=w=K[1],(S(w)||y!==void 0)&&!de(y))return f(w)||(w=function(ve,_e){if(typeof z=="function"&&(_e=z.call(this,ve,_e)),!de(_e))return _e}),K[1]=w,F.apply(Z,K)}}),G.prototype[$]||n("./_hide")(G.prototype,$,G.prototype.valueOf),r(G,"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,A,v){"use strict";var h=n("./_export"),g=n("./_core"),i=n("./_global"),s=n("./_species-constructor"),p=n("./_promise-resolve");h(h.P+h.R,"Promise",{finally:function(e){var o=s(this,g.Promise||i.Promise),r=typeof e=="function";return this.then(r?function(c){return p(o,e()).then(function(){return c})}:e,r?function(c){return p(o,e()).then(function(){throw c})}:e)}})},{"./_core":65,"./_export":73,"./_global":76,"./_promise-resolve":110,"./_species-constructor":118}],148:[function(n,A,v){"use strict";var h=n("./_export"),g=n("./_new-promise-capability"),i=n("./_perform");h(h.S,"Promise",{try:function(p){var u=g.f(this),e=i(p);return(e.e?u.reject:u.resolve)(e.v),u.promise}})},{"./_export":73,"./_new-promise-capability":95,"./_perform":109}],149:[function(n,A,v){n("./_wks-define")("asyncIterator")},{"./_wks-define":129}],150:[function(n,A,v){n("./_wks-define")("observable")},{"./_wks-define":129}],151:[function(n,A,v){n("./es6.array.iterator");for(var h=n("./_global"),g=n("./_hide"),i=n("./_iterators"),s=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(","),u=0;u<p.length;u++){var e=p[u],o=h[e],r=o&&o.prototype;r&&!r[s]&&g(r,s,e),i[e]=i.Array}},{"./_global":76,"./_hide":78,"./_iterators":91,"./_wks":131,"./es6.array.iterator":134}],152:[function(n,A,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,A,v){(function(h){"use strict";function g(b){return Array.isArray?Array.isArray(b):T(b)==="[object Array]"}function i(b){return typeof b=="boolean"}function s(b){return b===null}function p(b){return b==null}function u(b){return typeof b=="number"}function e(b){return typeof b=="string"}function o(b){return(b===void 0?"undefined":(0,m.default)(b))==="symbol"}function r(b){return b===void 0}function c(b){return T(b)==="[object RegExp]"}function d(b){return(b===void 0?"undefined":(0,m.default)(b))==="object"&&b!==null}function l(b){return T(b)==="[object Date]"}function x(b){return T(b)==="[object Error]"||b instanceof Error}function E(b){return typeof b=="function"}function f(b){return b===null||typeof b=="boolean"||typeof b=="number"||typeof b=="string"||(b===void 0?"undefined":(0,m.default)(b))==="symbol"||b===void 0}function T(b){return Object.prototype.toString.call(b)}var S=n("babel-runtime/helpers/typeof"),m=function(b){return b&&b.__esModule?b:{default:b}}(S);v.isArray=g,v.isBoolean=i,v.isNull=s,v.isNullOrUndefined=p,v.isNumber=u,v.isString=e,v.isSymbol=o,v.isUndefined=r,v.isRegExp=c,v.isObject=d,v.isDate=l,v.isError=x,v.isFunction=E,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,A,v){"use strict";var h=n("babel-runtime/helpers/typeof"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);!function(i){function s(r,c){for(r=String(r),c=c||2;r.length<c;)r="0"+r;return r}function p(r){var c=new Date(r.getFullYear(),r.getMonth(),r.getDate());c.setDate(c.getDate()-(c.getDay()+6)%7+3);var d=new Date(c.getFullYear(),0,4);d.setDate(d.getDate()-(d.getDay()+6)%7+3);var l=c.getTimezoneOffset()-d.getTimezoneOffset();c.setHours(c.getHours()-l);var x=(c-d)/6048e5;return 1+Math.floor(x)}function u(r){var c=r.getDay();return c===0&&(c=7),c}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 o=function(){var r=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,c=/\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,x,E,f){if(arguments.length!==1||e(l)!=="string"||/\d/.test(l)||(x=l,l=void 0),l=l||new Date,l instanceof Date||(l=new Date(l)),isNaN(l))throw TypeError("Invalid date");x=String(o.masks[x]||x||o.masks.default);var T=x.slice(0,4);T!=="UTC:"&&T!=="GMT:"||(x=x.slice(4),E=!0,T==="GMT:"&&(f=!0));var S=E?"getUTC":"get",m=l[S+"Date"](),b=l[S+"Day"](),O=l[S+"Month"](),C=l[S+"FullYear"](),_=l[S+"Hours"](),j=l[S+"Minutes"](),D=l[S+"Seconds"](),N=l[S+"Milliseconds"](),L=E?0:l.getTimezoneOffset(),B=p(l),q=u(l),G={d:m,dd:s(m),ddd:o.i18n.dayNames[b],dddd:o.i18n.dayNames[b+7],m:O+1,mm:s(O+1),mmm:o.i18n.monthNames[O],mmmm:o.i18n.monthNames[O+12],yy:String(C).slice(2),yyyy:C,h:_%12||12,hh:s(_%12||12),H:_,HH:s(_),M:j,MM:s(j),s:D,ss:s(D),l:s(N,3),L:s(Math.round(N/10)),t:_<12?"a":"p",tt:_<12?"am":"pm",T:_<12?"A":"P",TT:_<12?"AM":"PM",Z:f?"GMT":E?"UTC":(String(l).match(c)||[""]).pop().replace(d,""),o:(L>0?"-":"+")+s(100*Math.floor(Math.abs(L)/60)+Math.abs(L)%60,4),S:["th","st","nd","rd"][m%10>3?0:(m%100-m%10!=10)*m%10],W:B,N:q};return x.replace(r,function(Z){return Z in G?G[Z]:Z.slice(1,Z.length-1)})}}();o.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"},o.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 pe=="function"&&pe.amd?pe(function(){return o}):(v===void 0?"undefined":(0,g.default)(v))==="object"?A.exports=o:i.dateFormat=o}(void 0)},{"babel-runtime/helpers/typeof":32}],155:[function(n,A,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 o=this.useColors;if(e[0]=(o?"%c":"")+this.namespace+(o?" %c":" ")+e[0]+(o?"%c ":" ")+"+"+v.humanize(this.diff),o){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var c=0,d=0;e[0].replace(/%[a-zA-Z%]/g,function(l){l!=="%%"&&(c++,l==="%c"&&(d=c))}),e.splice(d,0,r)}}function s(){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(o){}}function u(){var e;try{e=v.storage.debug}catch(o){}return!e&&h!==void 0&&"env"in h&&(e=h.env.DEBUG),e}v=A.exports=n("./debug"),v.log=s,v.formatArgs=i,v.save=p,v.load=u,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(o){return"[UnexpectedJSONParseError]: "+o.message}},v.enable(u())}).call(this,n("_process"))},{"./debug":156,_process:173}],156:[function(n,A,v){function h(o){var r,c=0;for(r in o)c=(c<<5)-c+o.charCodeAt(r),c|=0;return v.colors[Math.abs(c)%v.colors.length]}function g(o){function r(){if(r.enabled){var c=r,d=+new Date,l=d-(e||d);c.diff=l,c.prev=e,c.curr=d,e=d;for(var x=new Array(arguments.length),E=0;E<x.length;E++)x[E]=arguments[E];x[0]=v.coerce(x[0]),typeof x[0]!="string"&&x.unshift("%O");var f=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,function(T,S){if(T==="%%")return T;f++;var m=v.formatters[S];if(typeof m=="function"){var b=x[f];T=m.call(c,b),x.splice(f,1),f--}return T}),v.formatArgs.call(c,x),(r.log||v.log||console.log.bind(console)).apply(c,x)}}return r.namespace=o,r.enabled=v.enabled(o),r.useColors=v.useColors(),r.color=h(o),typeof v.init=="function"&&v.init(r),r}function i(o){v.save(o),v.names=[],v.skips=[];for(var r=(typeof o=="string"?o:"").split(/[\s,]+/),c=r.length,d=0;d<c;d++)r[d]&&(o=r[d].replace(/\*/g,".*?"),o[0]==="-"?v.skips.push(new RegExp("^"+o.substr(1)+"$")):v.names.push(new RegExp("^"+o+"$")))}function s(){v.enable("")}function p(o){var r,c;for(r=0,c=v.skips.length;r<c;r++)if(v.skips[r].test(o))return!1;for(r=0,c=v.names.length;r<c;r++)if(v.names[r].test(o))return!0;return!1}function u(o){return o instanceof Error?o.stack||o.message:o}v=A.exports=g.debug=g.default=g,v.coerce=u,v.disable=s,v.enable=i,v.enabled=p,v.humanize=n("ms"),v.names=[],v.skips=[],v.formatters={};var e},{ms:169}],157:[function(n,A,v){"use strict";function h(i){var s=""+i,p=g.exec(s);if(!p)return s;var u,e="",o=0,r=0;for(o=p.index;o<s.length;o++){switch(s.charCodeAt(o)){case 34:u="&quot;";break;case 38:u="&amp;";break;case 39:u="&#39;";break;case 60:u="&lt;";break;case 62:u="&gt;";break;default:continue}r!==o&&(e+=s.substring(r,o)),r=o+1,e+=u}return r!==o?e+s.substring(r,o):e}var g=/["'&<>]/;A.exports=h},{}],158:[function(n,A,v){function h(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function g(u){return typeof u=="function"}function i(u){return typeof u=="number"}function s(u){return typeof u=="object"&&u!==null}function p(u){return u===void 0}A.exports=h,h.EventEmitter=h,h.prototype._events=void 0,h.prototype._maxListeners=void 0,h.defaultMaxListeners=10,h.prototype.setMaxListeners=function(u){if(!i(u)||u<0||isNaN(u))throw TypeError("n must be a positive number");return this._maxListeners=u,this},h.prototype.emit=function(u){var e,o,r,c,d,l;if(this._events||(this._events={}),u==="error"&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var x=new Error('Uncaught, unspecified "error" event. ('+e+")");throw x.context=e,x}if(o=this._events[u],p(o))return!1;if(g(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:c=Array.prototype.slice.call(arguments,1),o.apply(this,c)}else if(s(o))for(c=Array.prototype.slice.call(arguments,1),l=o.slice(),r=l.length,d=0;d<r;d++)l[d].apply(this,c);return!0},h.prototype.addListener=function(u,e){var o;if(!g(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",u,g(e.listener)?e.listener:e),this._events[u]?s(this._events[u])?this._events[u].push(e):this._events[u]=[this._events[u],e]:this._events[u]=e,s(this._events[u])&&!this._events[u].warned&&(o=p(this._maxListeners)?h.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[u].length>o&&(this._events[u].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[u].length),typeof console.trace=="function"&&console.trace()),this},h.prototype.on=h.prototype.addListener,h.prototype.once=function(u,e){function o(){this.removeListener(u,o),r||(r=!0,e.apply(this,arguments))}if(!g(e))throw TypeError("listener must be a function");var r=!1;return o.listener=e,this.on(u,o),this},h.prototype.removeListener=function(u,e){var o,r,c,d;if(!g(e))throw TypeError("listener must be a function");if(!this._events||!this._events[u])return this;if(o=this._events[u],c=o.length,r=-1,o===e||g(o.listener)&&o.listener===e)delete this._events[u],this._events.removeListener&&this.emit("removeListener",u,e);else if(s(o)){for(d=c;d-- >0;)if(o[d]===e||o[d].listener&&o[d].listener===e){r=d;break}if(r<0)return this;o.length===1?(o.length=0,delete this._events[u]):o.splice(r,1),this._events.removeListener&&this.emit("removeListener",u,e)}return this},h.prototype.removeAllListeners=function(u){var e,o;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[u]&&delete this._events[u],this;if(arguments.length===0){for(e in this._events)e!=="removeListener"&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(o=this._events[u],g(o))this.removeListener(u,o);else if(o)for(;o.length;)this.removeListener(u,o[o.length-1]);return delete this._events[u],this},h.prototype.listeners=function(u){return this._events&&this._events[u]?g(this._events[u])?[this._events[u]]:this._events[u].slice():[]},h.prototype.listenerCount=function(u){if(this._events){var e=this._events[u];if(g(e))return 1;if(e)return e.length}return 0},h.listenerCount=function(u,e){return u.listenerCount(e)}},{}],159:[function(n,A,v){var h=n("http"),g=A.exports;for(var i in h)h.hasOwnProperty(i)&&(g[i]=h[i]);g.request=function(s,p){return s||(s={}),s.scheme="https",s.protocol="https:",h.request.call(this,s,p)}},{http:196}],160:[function(n,A,v){"use strict";var h=n("util"),g=n("ms");A.exports=function(i){if(typeof i=="number")return i;var s=g(i);if(s===void 0){var p=new Error(h.format("humanize-ms(%j) result undefined",i));console.warn(p.stack)}return s}},{ms:169,util:207}],161:[function(n,A,v){v.read=function(h,g,i,s,p){var u,e,o=8*p-s-1,r=(1<<o)-1,c=r>>1,d=-7,l=i?p-1:0,x=i?-1:1,E=h[g+l];for(l+=x,u=E&(1<<-d)-1,E>>=-d,d+=o;d>0;u=256*u+h[g+l],l+=x,d-=8);for(e=u&(1<<-d)-1,u>>=-d,d+=s;d>0;e=256*e+h[g+l],l+=x,d-=8);if(u===0)u=1-c;else{if(u===r)return e?NaN:1/0*(E?-1:1);e+=Math.pow(2,s),u-=c}return(E?-1:1)*e*Math.pow(2,u-s)},v.write=function(h,g,i,s,p,u){var e,o,r,c=8*u-p-1,d=(1<<c)-1,l=d>>1,x=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=s?0:u-1,f=s?1:-1,T=g<0||g===0&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===1/0?(o=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?x/r:x*Math.pow(2,1-l),g*r>=2&&(e++,r/=2),e+l>=d?(o=0,e=d):e+l>=1?(o=(g*r-1)*Math.pow(2,p),e+=l):(o=g*Math.pow(2,l-1)*Math.pow(2,p),e=0));p>=8;h[i+E]=255&o,E+=f,o/=256,p-=8);for(e=e<<p|o,c+=p;c>0;h[i+E]=255&e,E+=f,e/=256,c-=8);h[i+E-f]|=128*T}},{}],162:[function(n,A,v){typeof Object.create=="function"?A.exports=function(h,g){h.super_=g,h.prototype=Object.create(g.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}})}:A.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,A,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))}A.exports=function(i){return i!=null&&(h(i)||g(i)||!!i._isBuffer)}},{}],164:[function(n,A,v){!function(h){function g(p){return s.call(p).replace(/^[^{]*{\s*/,"").replace(/\s*}[^}]*$/,"")}function i(p){return typeof p=="function"&&(/^class(\s|\{\}$)/.test(s.call(p))||/^.*classCallCheck\(/.test(g(p)))}var s=Function.prototype.toString;v!==void 0?(A!==void 0&&A.exports&&(v=A.exports=i),v.isClass=i):typeof pe=="function"&&pe.amd?pe([],function(){return i}):h.isClass=i}(this)},{}],165:[function(n,A,v){"use strict";function h(u){var e=u.slice(2);return e=e[0].toLowerCase()+e.slice(1)}var g=n("core-util-is"),i=n("isstream"),s=n("is-class");Object.keys(g).map(function(u){v[h(u)]=g[u]}),v.stream=i,v.readableStream=i.isReadable,v.writableStream=i.isWritable,v.duplexStream=i.isDuplex,v.class=s,v.finite=function(u){return Number.isFinite(u)},v.NaN=function(u){return Number.isNaN(u)},v.generator=function(u){return u&&typeof u.next=="function"&&typeof u.throw=="function"},v.generatorFunction=function(u){return u&&u.constructor&&u.constructor.name==="GeneratorFunction"},v.asyncFunction=function(u){return u&&u.constructor&&u.constructor.name==="AsyncFunction"},v.promise=function(u){return u&&typeof u.then=="function"};var p=Math.pow(2,31);v.int=function(u){return g.isNumber(u)&&u%1==0},v.int32=function(u){return v.int(u)&&u<p&&u>=-p},v.long=function(u){return v.int(u)&&(u>=p||u<-p)},v.Long=function(u){return v.object(u)&&v.number(u.high)&&v.number(u.low)},v.double=function(u){return g.isNumber(u)&&!isNaN(u)&&u%1!=0},v.date=function(u){return u instanceof Date},v.regExp=function(u){return u instanceof RegExp},v.regexp=v.regExp,v.error=function(u){return u instanceof Error},v.array=function(u){return Array.isArray(u)}},{"core-util-is":153,"is-class":164,isstream:167}],166:[function(n,A,v){var h={}.toString;A.exports=Array.isArray||function(g){return h.call(g)=="[object Array]"}},{}],167:[function(n,A,v){function h(u){return u instanceof p.Stream}function g(u){return h(u)&&typeof u._read=="function"&&typeof u._readableState=="object"}function i(u){return h(u)&&typeof u._write=="function"&&typeof u._writableState=="object"}function s(u){return g(u)&&i(u)}var p=n("stream");A.exports=h,A.exports.isReadable=g,A.exports.isWritable=i,A.exports.isDuplex=s},{stream:195}],168:[function(n,A,v){"use strict";function h(i,s,p){if(!i)throw new TypeError("argument dest is required");if(!s)throw new TypeError("argument src is required");return p===void 0&&(p=!0),Object.getOwnPropertyNames(s).forEach(function(u){if(p||!g.call(i,u)){var e=Object.getOwnPropertyDescriptor(s,u);Object.defineProperty(i,u,e)}}),i}A.exports=h;var g=Object.prototype.hasOwnProperty},{}],169:[function(n,A,v){function h(c){if(c=String(c),!(c.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(c);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*o;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*u;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(c){return c>=o?Math.round(c/o)+"d":c>=e?Math.round(c/e)+"h":c>=u?Math.round(c/u)+"m":c>=p?Math.round(c/p)+"s":c+"ms"}function i(c){return s(c,o,"day")||s(c,e,"hour")||s(c,u,"minute")||s(c,p,"second")||c+" ms"}function s(c,d,l){if(!(c<d))return c<1.5*d?Math.floor(c/d)+" "+l:Math.ceil(c/d)+" "+l+"s"}var p=1e3,u=60*p,e=60*u,o=24*e,r=365.25*o;A.exports=function(c,d){d=d||{};var l=typeof c;if(l==="string"&&c.length>0)return h(c);if(l==="number"&&isNaN(c)===!1)return d.long?i(c):g(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))}},{}],170:[function(n,A,v){(function(h){function g(u,e){for(var o=0,r=u.length-1;r>=0;r--){var c=u[r];c==="."?u.splice(r,1):c===".."?(u.splice(r,1),o++):o&&(u.splice(r,1),o--)}if(e)for(;o--;o)u.unshift("..");return u}function i(u){typeof u!="string"&&(u+="");var e,o=0,r=-1,c=!0;for(e=u.length-1;e>=0;--e)if(u.charCodeAt(e)===47){if(!c){o=e+1;break}}else r===-1&&(c=!1,r=e+1);return r===-1?"":u.slice(o,r)}function s(u,e){if(u.filter)return u.filter(e);for(var o=[],r=0;r<u.length;r++)e(u[r],r,u)&&o.push(u[r]);return o}v.resolve=function(){for(var u="",e=!1,o=arguments.length-1;o>=-1&&!e;o--){var r=o>=0?arguments[o]:h.cwd();if(typeof r!="string")throw new TypeError("Arguments to path.resolve must be strings");r&&(u=r+"/"+u,e=r.charAt(0)==="/")}return u=g(s(u.split("/"),function(c){return!!c}),!e).join("/"),(e?"/":"")+u||"."},v.normalize=function(u){var e=v.isAbsolute(u),o=p(u,-1)==="/";return u=g(s(u.split("/"),function(r){return!!r}),!e).join("/"),u||e||(u="."),u&&o&&(u+="/"),(e?"/":"")+u},v.isAbsolute=function(u){return u.charAt(0)==="/"},v.join=function(){var u=Array.prototype.slice.call(arguments,0);return v.normalize(s(u,function(e,o){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},v.relative=function(u,e){function o(f){for(var T=0;T<f.length&&f[T]==="";T++);for(var S=f.length-1;S>=0&&f[S]==="";S--);return T>S?[]:f.slice(T,S-T+1)}u=v.resolve(u).substr(1),e=v.resolve(e).substr(1);for(var r=o(u.split("/")),c=o(e.split("/")),d=Math.min(r.length,c.length),l=d,x=0;x<d;x++)if(r[x]!==c[x]){l=x;break}for(var E=[],x=l;x<r.length;x++)E.push("..");return E=E.concat(c.slice(l)),E.join("/")},v.sep="/",v.delimiter=":",v.dirname=function(u){if(typeof u!="string"&&(u+=""),u.length===0)return".";for(var e=u.charCodeAt(0),o=e===47,r=-1,c=!0,d=u.length-1;d>=1;--d)if((e=u.charCodeAt(d))===47){if(!c){r=d;break}}else c=!1;return r===-1?o?"/":".":o&&r===1?"/":u.slice(0,r)},v.basename=function(u,e){var o=i(u);return e&&o.substr(-1*e.length)===e&&(o=o.substr(0,o.length-e.length)),o},v.extname=function(u){typeof u!="string"&&(u+="");for(var e=-1,o=0,r=-1,c=!0,d=0,l=u.length-1;l>=0;--l){var x=u.charCodeAt(l);if(x!==47)r===-1&&(c=!1,r=l+1),x===46?e===-1?e=l:d!==1&&(d=1):e!==-1&&(d=-1);else if(!c){o=l+1;break}}return e===-1||r===-1||d===0||d===1&&e===r-1&&e===o+1?"":u.slice(e,r)};var p="ab".substr(-1)==="b"?function(u,e,o){return u.substr(e,o)}:function(u,e,o){return e<0&&(e=u.length+e),u.substr(e,o)}}).call(this,n("_process"))},{_process:173}],171:[function(n,A,v){(function(h){(function(){"use strict";function g(D){return D=String(D),D.charAt(0).toUpperCase()+D.slice(1)}function i(D,N,L){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 N&&L&&/^Win/i.test(D)&&!/^Windows Phone /i.test(D)&&(B=B[/[\d.]+$/.exec(D)])&&(D="Windows "+B),D=String(D),N&&L&&(D=D.replace(RegExp(N,"i"),L)),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 s(D,N){var L=-1,B=D?D.length:0;if(typeof B=="number"&&B>-1&&B<=m)for(;++L<B;)N(D[L],L,D);else u(D,N)}function p(D){return D=d(D),/^(?:webOS|i(?:OS|P))/.test(D)?D:g(D)}function u(D,N){for(var L in D)C.call(D,L)&&N(D[L],L,D)}function e(D){return D==null?g(D):_.call(D).slice(8,-1)}function o(D,N){var L=D!=null?typeof D[N]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(L)||L=="object"&&!D[N])}function r(D){return String(D).replace(/([ -])(?!$)/g,"$1?")}function c(D,N){var L=null;return s(D,function(B,q){L=N(L,B,q,D)}),L}function d(D){return String(D).replace(/^ +| +$/g,"")}function l(D){function N(P){return c(P,function(y,w){var z=w.pattern||r(w);return!y&&(y=RegExp("\\b"+z+" *\\d+[.\\w_]*","i").exec(D)||RegExp("\\b"+z+" *\\w+-[\\w]*","i").exec(D)||RegExp("\\b"+z+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(D))&&((y=String(w.label&&!RegExp(z,"i").test(w.label)?w.label:y).split("/"))[1]&&!/[\d.]+/.test(y[0])&&(y[0]+=" "+y[1]),w=w.label||w,y=p(y[0].replace(RegExp(z,"i"),w).replace(RegExp("; *(?:"+w+"[_-])?","i")," ").replace(RegExp("("+w+")[-_.]?(\\w)","i"),"$1 $2"))),y})}function L(){return this.description||""}var B=E,q=D&&typeof D=="object"&&e(D)!="String";q&&(B=D,D=null);var G=B.navigator||{},Z=G.userAgent||"";D||(D=Z);var F,ee,$=q?!!G.likeChrome:/\bChrome\b/.test(D)&&!/internal|\n/i.test(_.toString()),W=q?"Object":"ScriptBridgingProxyObject",R=q?"Object":"Environment",I=q&&B.java?"JavaPackage":e(B.java),M=q?"Object":"RuntimeObject",U=/\bJava/.test(I)&&B.java,H=U&&e(B.environment)==R,Y=U?"a":"\u4F2A",ae=U?"b":"\u5C3E",ne=B.document||{},ue=B.operamini||B.opera,de=b.test(de=q&&ue?ue["[[Class]]"]:e(ue))?de:ue=null,Q=D,J=[],ie=null,V=D==Z,X=V&&ue&&typeof ue.version=="function"&&ue.version(),re=function(P){return c(P,function(y,w){return y||RegExp("\\b"+(w.pattern||r(w))+"\\b","i").exec(D)&&(w.label||w)})}([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),te=function(P){return c(P,function(y,w){return y||RegExp("\\b"+(w.pattern||r(w))+"\\b","i").exec(D)&&(w.label||w)})}(["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"]),ce=N([{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"]),k=function(P){return c(P,function(y,w,z){return y||(w[ce]||w[/^[a-z]+(?: +[a-z]+\b)*/i.exec(ce)]||RegExp("\\b"+r(z)+"(?:\\b|\\w*\\d)","i").exec(D))&&z})}({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(P){return c(P,function(y,w){var z=w.pattern||r(w);return!y&&(y=RegExp("\\b"+z+"(?:/[\\d.]+|[ \\w.]*)","i").exec(D))&&(y=i(y,z,w.label||w)),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(re&&(re=[re]),k&&!ce&&(ce=N([k])),(F=/\bGoogle TV\b/.exec(ce))&&(ce=F[0]),/\bSimulator\b/i.test(D)&&(ce=(ce?ce+" ":"")+"Simulator"),te=="Opera Mini"&&/\bOPiOS\b/.test(D)&&J.push("running in Turbo/Uncompressed mode"),te=="IE"&&/\blike iPhone OS\b/.test(D)?(F=l(D.replace(/like iPhone OS/,"")),k=F.manufacturer,ce=F.product):/^iP/.test(ce)?(te||(te="Safari"),t="iOS"+((F=/ OS ([\d_]+)/i.exec(D))?" "+F[1].replace(/_/g,"."):"")):te!="Konqueror"||/buntu/i.test(t)?k&&k!="Google"&&(/Chrome/.test(te)&&!/\bMobile Safari\b/i.test(D)||/\bVita\b/.test(ce))||/\bAndroid\b/.test(t)&&/^Chrome/.test(te)&&/\bVersion\//i.test(D)?(te="Android Browser",t=/\bAndroid\b/.test(t)?t:"Android"):te=="Silk"?(/\bMobi/i.test(D)||(t="Android",J.unshift("desktop mode")),/Accelerated *= *true/i.test(D)&&J.unshift("accelerated")):te=="PaleMoon"&&(F=/\bFirefox\/([\d.]+)\b/.exec(D))?J.push("identifying as Firefox "+F[1]):te=="Firefox"&&(F=/\b(Mobile|Tablet|TV)\b/i.exec(D))?(t||(t="Firefox OS"),ce||(ce=F[1])):!te||(F=!/\bMinefield\b/i.test(D)&&/\b(?:Firefox|Safari)\b/.exec(te))?(te&&!ce&&/[\/,]|^[^(]+?\)/.test(D.slice(D.indexOf(F+"/")+8))&&(te=null),(F=ce||k||t)&&(ce||k||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(t))&&(te=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(t)?t:F)+" Browser")):te=="Electron"&&(F=(/\bChrome\/([\d.]+)\b/.exec(D)||0)[1])&&J.push("Chromium "+F):t="Kubuntu",X||(X=function(P){return c(P,function(y,w){return y||(RegExp(w+"(?:-[\\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(te),"(?:Firefox|Minefield|NetFront)"])),(F=re=="iCab"&&parseFloat(X)>3&&"WebKit"||/\bOpera\b/.test(te)&&(/\bOPR\b/.test(D)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(D)&&!/^(?:Trident|EdgeHTML)$/.test(re)&&"WebKit"||!re&&/\bMSIE\b/i.test(D)&&(t=="Mac OS"?"Tasman":"Trident")||re=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(te)&&"NetFront")&&(re=[F]),te=="IE"&&(F=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(D)||0)[1])?(te+=" Mobile",t="Windows Phone "+(/\+$/.test(F)?F:F+".x"),J.unshift("desktop mode")):/\bWPDesktop\b/i.test(D)?(te="IE Mobile",t="Windows Phone 8.x",J.unshift("desktop mode"),X||(X=(/\brv:([\d.]+)/.exec(D)||0)[1])):te!="IE"&&re=="Trident"&&(F=/\brv:([\d.]+)/.exec(D))&&(te&&J.push("identifying as "+te+(X?" "+X:"")),te="IE",X=F[1]),V){if(o(B,"global"))if(U&&(F=U.lang.System,Q=F.getProperty("os.arch"),t=t||F.getProperty("os.name")+" "+F.getProperty("os.version")),H){try{X=B.require("ringo/engine").version.join("."),te="RingoJS"}catch(P){(F=B.system)&&F.global.system==B.system&&(te="Narwhal",t||(t=F[0].os||null))}te||(te="Rhino")}else typeof B.process=="object"&&!B.process.browser&&(F=B.process)&&(typeof F.versions=="object"&&(typeof F.versions.electron=="string"?(J.push("Node "+F.versions.node),te="Electron",X=F.versions.electron):typeof F.versions.nw=="string"&&(J.push("Chromium "+X,"Node "+F.versions.node),te="NW.js",X=F.versions.nw)),te||(te="Node.js",Q=F.arch,t=F.platform,X=/[\d.]+/.exec(F.version),X=X?X[0]:null));else e(F=B.runtime)==W?(te="Adobe AIR",t=F.flash.system.Capabilities.os):e(F=B.phantom)==M?(te="PhantomJS",X=(F=F.version||null)&&F.major+"."+F.minor+"."+F.patch):typeof ne.documentMode=="number"&&(F=/\bTrident\/(\d+)/i.exec(D))?(X=[X,ne.documentMode],(F=+F[1]+4)!=X[1]&&(J.push("IE "+X[1]+" mode"),re&&(re[1]=""),X[1]=F),X=te=="IE"?String(X[1].toFixed(1)):X[0]):typeof ne.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(te)&&(J.push("masking as "+te+" "+X),te="IE",X="11.0",re=["Trident"],t="Windows");t=t&&p(t)}if(X&&(F=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(X)||/(?:alpha|beta)(?: ?\d)?/i.exec(D+";"+(V&&G.appMinorVersion))||/\bMinefield\b/i.test(D)&&"a")&&(ie=/b/i.test(F)?"beta":"alpha",X=X.replace(RegExp(F+"\\+?$"),"")+(ie=="beta"?ae:Y)+(/\d+\+?/.exec(F)||"")),te=="Fennec"||te=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(t))te="Firefox Mobile";else if(te=="Maxthon"&&X)X=X.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(ce))ce=="Xbox 360"&&(t=null),ce=="Xbox 360"&&/\bIEMobile\b/.test(D)&&J.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(te)&&(!te||ce||/Browser|Mobi/.test(te))||t!="Windows CE"&&!/Mobi/i.test(D))if(te=="IE"&&V)try{B.external===null&&J.unshift("platform preview")}catch(P){J.unshift("embedded")}else(/\bBlackBerry\b/.test(ce)||/\bBB10\b/.test(D))&&(F=(RegExp(ce.replace(/ +/g," *")+"/([.\\d]+)","i").exec(D)||0)[1]||X)?(F=[F,/BB10/.test(D)],t=(F[1]?(ce=null,k="BlackBerry"):"Device Software")+" "+F[0],X=null):this!=u&&ce!="Wii"&&(V&&ue||/Opera/.test(te)&&/\b(?:MSIE|Firefox)\b/i.test(D)||te=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(t)||te=="IE"&&(t&&!/^Win/.test(t)&&X>5.5||/\bWindows XP\b/.test(t)&&X>8||X==8&&!/\bTrident\b/.test(D)))&&!b.test(F=l.call(u,D.replace(b,"")+";"))&&F.name&&(F="ing as "+F.name+((F=F.version)?" "+F:""),b.test(te)?(/\bIE\b/.test(F)&&t=="Mac OS"&&(t=null),F="identify"+F):(F="mask"+F,te=de?p(de.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(F)&&(t=null),V||(X=null)),re=["Presto"],J.push(F));else te+=" Mobile";(F=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(D)||0)[1])&&(F=[parseFloat(F.replace(/\.(\d)$/,".0$1")),F],te=="Safari"&&F[1].slice(-1)=="+"?(te="WebKit Nightly",ie="alpha",X=F[1].slice(0,-1)):X!=F[1]&&X!=(F[2]=(/\bSafari\/([\d.]+\+?)/i.exec(D)||0)[1])||(X=null),F[1]=(/\bChrome\/([\d.]+)/i.exec(D)||0)[1],F[0]==537.36&&F[2]==537.36&&parseFloat(F[1])>=28&&re=="WebKit"&&(re=["Blink"]),V&&($||F[1])?(re&&(re[1]="like Chrome"),F=F[1]||(F=F[0],F<530?1:F<532?2:F<532.05?3:F<533?4:F<534.03?5:F<534.07?6:F<534.1?7:F<534.13?8:F<534.16?9:F<534.24?10:F<534.3?11:F<535.01?12:F<535.02?"13+":F<535.07?15:F<535.11?16:F<535.19?17:F<536.05?18:F<536.1?19:F<537.01?20:F<537.11?"21+":F<537.13?23:F<537.18?24:F<537.24?25:F<537.36?26:re!="Blink"?"27":"28")):(re&&(re[1]="like Safari"),F=F[0],F=F<400?1:F<500?2:F<526?3:F<533?4:F<534?"4+":F<535?5:F<537?6:F<538?7:F<601?8:"8"),re&&(re[1]+=" "+(F+=typeof F=="number"?".x":/[.+]/.test(F)?"":"+")),te=="Safari"&&(!X||parseInt(X)>45)&&(X=F)),te=="Opera"&&(F=/\bzbov|zvav$/.exec(t))?(te+=" ",J.unshift("desktop mode"),F=="zvav"?(te+="Mini",X=null):te+="Mobile",t=t.replace(RegExp(" *"+F+"$"),"")):te=="Safari"&&/\bChrome\b/.exec(re&&re[1])&&(J.unshift("desktop mode"),te="Chrome Mobile",X=null,/\bOS X\b/.test(t)?(k="Apple",t="iOS 4.3+"):t=null),X&&X.indexOf(F=/[\d.]+$/.exec(t))==0&&D.indexOf("/"+F+"-")>-1&&(t=d(t.replace(F,""))),re&&!/\b(?:Avant|Nook)\b/.test(te)&&(/Browser|Lunascape|Maxthon/.test(te)||te!="Safari"&&/^iOS/.test(t)&&/\bSafari\b/.test(re[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(te)&&re[1])&&(F=re[re.length-1])&&J.push(F),J.length&&(J=["("+J.join("; ")+")"]),k&&ce&&ce.indexOf(k)<0&&J.push("on "+k),ce&&J.push((/^on /.test(J[J.length-1])?"":"on ")+ce),t&&(F=/ ([\d.+]+)$/.exec(t),ee=F&&t.charAt(t.length-F[0].length-1)=="/",t={architecture:32,family:F&&!ee?t.replace(F[0],""):t,version:F?F[1]:null,toString:function(){var y=this.version;return this.family+(y&&!ee?" "+y:"")+(this.architecture==64?" 64-bit":"")}}),(F=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Q))&&!/\bi686\b/i.test(Q)?(t&&(t.architecture=64,t.family=t.family.replace(RegExp(" *"+F),"")),te&&(/\bWOW64\b/i.test(D)||V&&/\w(?:86|32)$/.test(G.cpuClass||G.platform)&&!/\bWin64; x64\b/i.test(D))&&J.unshift("32-bit")):t&&/^OS X/.test(t.family)&&te=="Chrome"&&parseFloat(X)>=39&&(t.architecture=64),D||(D=null);var a={};return a.description=D,a.layout=re&&re[0],a.manufacturer=k,a.name=te,a.prerelease=ie,a.product=ce,a.ua=D,a.version=te&&X,a.os=t||{architecture:null,family:null,version:null,toString:function(){return"null"}},a.parse=l,a.toString=L,a.version&&J.unshift(X),a.name&&J.unshift(te),t&&te&&(t!=String(t).split(" ")[0]||t!=te.split(" ")[0]&&!ce)&&J.push(ce?"("+t+")":"on "+t),J.length&&(a.description=J.join(" ")),a}var x={function:!0,object:!0},E=x[typeof window]&&window||this,f=x[typeof v]&&v,T=x[typeof A]&&A&&!A.nodeType&&A,S=f&&T&&typeof h=="object"&&h;!S||S.global!==S&&S.window!==S&&S.self!==S||(E=S);var m=Math.pow(2,53)-1,b=/\bOpera/,O=Object.prototype,C=O.hasOwnProperty,_=O.toString,j=l();typeof pe=="function"&&typeof pe.amd=="object"&&pe.amd?(E.platform=j,pe(function(){return j})):f&&T?u(j,function(D,N){f[N]=D}):E.platform=j}).call(this)}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],172:[function(n,A,v){(function(h){"use strict";function g(i,s,p,u){if(typeof i!="function")throw new TypeError('"callback" argument must be a function');var e,o,r=arguments.length;switch(r){case 0:case 1:return h.nextTick(i);case 2:return h.nextTick(function(){i.call(null,s)});case 3:return h.nextTick(function(){i.call(null,s,p)});case 4:return h.nextTick(function(){i.call(null,s,p,u)});default:for(e=new Array(r-1),o=0;o<e.length;)e[o++]=arguments[o];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?A.exports={nextTick:g}:A.exports=h}).call(this,n("_process"))},{_process:173}],173:[function(n,A,v){function h(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}function i(T){if(r===setTimeout)return setTimeout(T,0);if((r===h||!r)&&setTimeout)return r=setTimeout,setTimeout(T,0);try{return r(T,0)}catch(S){try{return r.call(null,T,0)}catch(m){return r.call(this,T,0)}}}function s(T){if(c===clearTimeout)return clearTimeout(T);if((c===g||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(T);try{return c(T)}catch(S){try{return c.call(null,T)}catch(m){return c.call(this,T)}}}function p(){E&&l&&(E=!1,l.length?x=l.concat(x):f=-1,x.length&&u())}function u(){if(!E){var T=i(p);E=!0;for(var S=x.length;S;){for(l=x,x=[];++f<S;)l&&l[f].run();f=-1,S=x.length}l=null,E=!1,s(T)}}function e(T,S){this.fun=T,this.array=S}function o(){}var r,c,d=A.exports={};!function(){try{r=typeof setTimeout=="function"?setTimeout:h}catch(T){r=h}try{c=typeof clearTimeout=="function"?clearTimeout:g}catch(T){c=g}}();var l,x=[],E=!1,f=-1;d.nextTick=function(T){var S=new Array(arguments.length-1);if(arguments.length>1)for(var m=1;m<arguments.length;m++)S[m-1]=arguments[m];x.push(new e(T,S)),x.length!==1||E||i(u)},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=o,d.addListener=o,d.once=o,d.off=o,d.removeListener=o,d.removeAllListeners=o,d.emit=o,d.prependListener=o,d.prependOnceListener=o,d.listeners=function(T){return[]},d.binding=function(T){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(T){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},{}],174:[function(n,A,v){(function(h){!function(g){function i(I){throw new RangeError(ee[I])}function s(I,M){for(var U=I.length,H=[];U--;)H[U]=M(I[U]);return H}function p(I,M){var U=I.split("@"),H="";return U.length>1&&(H=U[0]+"@",I=U[1]),I=I.replace(F,"."),H+s(I.split("."),M).join(".")}function u(I){for(var M,U,H=[],Y=0,ae=I.length;Y<ae;)M=I.charCodeAt(Y++),M>=55296&&M<=56319&&Y<ae?(U=I.charCodeAt(Y++),(64512&U)==56320?H.push(((1023&M)<<10)+(1023&U)+65536):(H.push(M),Y--)):H.push(M);return H}function e(I){return s(I,function(M){var U="";return M>65535&&(M-=65536,U+=R(M>>>10&1023|55296),M=56320|1023&M),U+=R(M)}).join("")}function o(I){return I-48<10?I-22:I-65<26?I-65:I-97<26?I-97:C}function r(I,M){return I+22+75*(I<26)-((M!=0)<<5)}function c(I,M,U){var H=0;for(I=U?W(I/N):I>>1,I+=W(I/M);I>$*j>>1;H+=C)I=W(I/$);return W(H+($+1)*I/(I+D))}function d(I){var M,U,H,Y,ae,ne,ue,de,Q,J,ie=[],V=I.length,X=0,re=B,te=L;for(U=I.lastIndexOf(q),U<0&&(U=0),H=0;H<U;++H)I.charCodeAt(H)>=128&&i("not-basic"),ie.push(I.charCodeAt(H));for(Y=U>0?U+1:0;Y<V;){for(ae=X,ne=1,ue=C;Y>=V&&i("invalid-input"),de=o(I.charCodeAt(Y++)),(de>=C||de>W((O-X)/ne))&&i("overflow"),X+=de*ne,Q=ue<=te?_:ue>=te+j?j:ue-te,!(de<Q);ue+=C)J=C-Q,ne>W(O/J)&&i("overflow"),ne*=J;M=ie.length+1,te=c(X-ae,M,ae==0),W(X/M)>O-re&&i("overflow"),re+=W(X/M),X%=M,ie.splice(X++,0,re)}return e(ie)}function l(I){var M,U,H,Y,ae,ne,ue,de,Q,J,ie,V,X,re,te,ce=[];for(I=u(I),V=I.length,M=B,U=0,ae=L,ne=0;ne<V;++ne)(ie=I[ne])<128&&ce.push(R(ie));for(H=Y=ce.length,Y&&ce.push(q);H<V;){for(ue=O,ne=0;ne<V;++ne)(ie=I[ne])>=M&&ie<ue&&(ue=ie);for(X=H+1,ue-M>W((O-U)/X)&&i("overflow"),U+=(ue-M)*X,M=ue,ne=0;ne<V;++ne)if(ie=I[ne],ie<M&&++U>O&&i("overflow"),ie==M){for(de=U,Q=C;J=Q<=ae?_:Q>=ae+j?j:Q-ae,!(de<J);Q+=C)te=de-J,re=C-J,ce.push(R(r(J+te%re,0))),de=W(te/re);ce.push(R(r(de,0))),ae=c(U,X,H==Y),U=0,++H}++U,++M}return ce.join("")}function x(I){return p(I,function(M){return G.test(M)?d(M.slice(4).toLowerCase()):M})}function E(I){return p(I,function(M){return Z.test(M)?"xn--"+l(M):M})}var f=typeof v=="object"&&v&&!v.nodeType&&v,T=typeof A=="object"&&A&&!A.nodeType&&A,S=typeof h=="object"&&h;S.global!==S&&S.window!==S&&S.self!==S||(g=S);var m,b,O=2147483647,C=36,_=1,j=26,D=38,N=700,L=72,B=128,q="-",G=/^xn--/,Z=/[^\x20-\x7E]/,F=/[\x2E\u3002\uFF0E\uFF61]/g,ee={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},$=C-_,W=Math.floor,R=String.fromCharCode;if(m={version:"1.4.1",ucs2:{decode:u,encode:e},decode:d,encode:l,toASCII:E,toUnicode:x},typeof pe=="function"&&typeof pe.amd=="object"&&pe.amd)pe("punycode",function(){return m});else if(f&&T)if(A.exports==f)T.exports=m;else for(b in m)m.hasOwnProperty(b)&&(f[b]=m[b]);else g.punycode=m}(this)}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],175:[function(n,A,v){"use strict";function h(i,s){return Object.prototype.hasOwnProperty.call(i,s)}A.exports=function(i,s,p,u){s=s||"&",p=p||"=";var e={};if(typeof i!="string"||i.length===0)return e;var o=/\+/g;i=i.split(s);var r=1e3;u&&typeof u.maxKeys=="number"&&(r=u.maxKeys);var c=i.length;r>0&&c>r&&(c=r);for(var d=0;d<c;++d){var l,x,E,f,T=i[d].replace(o,"%20"),S=T.indexOf(p);S>=0?(l=T.substr(0,S),x=T.substr(S+1)):(l=T,x=""),E=decodeURIComponent(l),f=decodeURIComponent(x),h(e,E)?g(e[E])?e[E].push(f):e[E]=[e[E],f]:e[E]=f}return e};var g=Array.isArray||function(i){return Object.prototype.toString.call(i)==="[object Array]"}},{}],176:[function(n,A,v){"use strict";function h(p,u){if(p.map)return p.map(u);for(var e=[],o=0;o<p.length;o++)e.push(u(p[o],o));return e}var g=function(u){switch(typeof u){case"string":return u;case"boolean":return u?"true":"false";case"number":return isFinite(u)?u:"";default:return""}};A.exports=function(p,u,e,o){return u=u||"&",e=e||"=",p===null&&(p=void 0),typeof p=="object"?h(s(p),function(r){var c=encodeURIComponent(g(r))+e;return i(p[r])?h(p[r],function(d){return c+encodeURIComponent(g(d))}).join(u):c+encodeURIComponent(g(p[r]))}).join(u):o?encodeURIComponent(g(o))+e+encodeURIComponent(g(p)):""};var i=Array.isArray||function(p){return Object.prototype.toString.call(p)==="[object Array]"},s=Object.keys||function(p){var u=[];for(var e in p)Object.prototype.hasOwnProperty.call(p,e)&&u.push(e);return u}},{}],177:[function(n,A,v){"use strict";v.decode=v.parse=n("./decode"),v.encode=v.stringify=n("./encode")},{"./decode":175,"./encode":176}],178:[function(n,A,v){A.exports=n("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":179}],179:[function(n,A,v){"use strict";function h(E){if(!(this instanceof h))return new h(E);r.call(this,E),c.call(this,E),E&&E.readable===!1&&(this.readable=!1),E&&E.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,E&&E.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",g)}function g(){this.allowHalfOpen||this._writableState.ended||u.nextTick(i,this)}function i(E){E.end()}var s=n("babel-runtime/core-js/object/keys"),p=function(E){return E&&E.__esModule?E:{default:E}}(s),u=n("process-nextick-args"),e=p.default||function(E){var f=[];for(var T in E)f.push(T);return f};A.exports=h;var o=n("core-util-is");o.inherits=n("inherits");var r=n("./_stream_readable"),c=n("./_stream_writable");o.inherits(h,r);for(var d=e(c.prototype),l=0;l<d.length;l++){var x=d[l];h.prototype[x]||(h.prototype[x]=c.prototype[x])}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(E,f){this.push(null),this.end(),u.nextTick(f,E)}},{"./_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,A,v){"use strict";function h(s){if(!(this instanceof h))return new h(s);g.call(this,s)}A.exports=h;var g=n("./_stream_transform"),i=n("core-util-is");i.inherits=n("inherits"),i.inherits(h,g),h.prototype._transform=function(s,p,u){u(null,s)}},{"./_stream_transform":182,"core-util-is":153,inherits:162}],181:[function(n,A,v){(function(h,g){"use strict";function i(V){return U.from(V)}function s(V){return U.isBuffer(V)||V instanceof H}function p(V,X,re){if(typeof V.prependListener=="function")return V.prependListener(X,re);V._events&&V._events[X]?R(V._events[X])?V._events[X].unshift(re):V._events[X]=[re,V._events[X]]:V.on(X,re)}function u(V,X){W=W||n("./_stream_duplex"),V=V||{};var re=X instanceof W;this.objectMode=!!V.objectMode,re&&(this.objectMode=this.objectMode||!!V.readableObjectMode);var te=V.highWaterMark,ce=V.readableHighWaterMark,k=this.objectMode?16:16384;this.highWaterMark=te||te===0?te:re&&(ce||ce===0)?ce:k,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new de,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=V.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,V.encoding&&(ue||(ue=n("string_decoder/").StringDecoder),this.decoder=new ue(V.encoding),this.encoding=V.encoding)}function e(V){if(W=W||n("./_stream_duplex"),!(this instanceof e))return new e(V);this._readableState=new u(V,this),this.readable=!0,V&&(typeof V.read=="function"&&(this._read=V.read),typeof V.destroy=="function"&&(this._destroy=V.destroy)),M.call(this)}function o(V,X,re,te,ce){var k=V._readableState;if(X===null)k.reading=!1,E(V,k);else{var t;ce||(t=c(k,X)),t?V.emit("error",t):k.objectMode||X&&X.length>0?(typeof X=="string"||k.objectMode||(0,ee.default)(X)===U.prototype||(X=i(X)),te?k.endEmitted?V.emit("error",new Error("stream.unshift() after end event")):r(V,k,X,!0):k.ended?V.emit("error",new Error("stream.push() after EOF")):(k.reading=!1,k.decoder&&!re?(X=k.decoder.write(X),k.objectMode||X.length!==0?r(V,k,X,!1):S(V,k)):r(V,k,X,!1))):te||(k.reading=!1)}return d(k)}function r(V,X,re,te){X.flowing&&X.length===0&&!X.sync?(V.emit("data",re),V.read(0)):(X.length+=X.objectMode?1:re.length,te?X.buffer.unshift(re):X.buffer.push(re),X.needReadable&&f(V)),S(V,X)}function c(V,X){var re;return s(X)||typeof X=="string"||X===void 0||V.objectMode||(re=new TypeError("Invalid non-string/buffer chunk")),re}function d(V){return!V.ended&&(V.needReadable||V.length<V.highWaterMark||V.length===0)}function l(V){return V>=ie?V=ie:(V--,V|=V>>>1,V|=V>>>2,V|=V>>>4,V|=V>>>8,V|=V>>>16,V++),V}function x(V,X){return V<=0||X.length===0&&X.ended?0:X.objectMode?1:V!==V?X.flowing&&X.length?X.buffer.head.data.length:X.length:(V>X.highWaterMark&&(X.highWaterMark=l(V)),V<=X.length?V:X.ended?X.length:(X.needReadable=!0,0))}function E(V,X){if(!X.ended){if(X.decoder){var re=X.decoder.end();re&&re.length&&(X.buffer.push(re),X.length+=X.objectMode?1:re.length)}X.ended=!0,f(V)}}function f(V){var X=V._readableState;X.needReadable=!1,X.emittedReadable||(ne("emitReadable",X.flowing),X.emittedReadable=!0,X.sync?$.nextTick(T,V):T(V))}function T(V){ne("emit readable"),V.emit("readable"),j(V)}function S(V,X){X.readingMore||(X.readingMore=!0,$.nextTick(m,V,X))}function m(V,X){for(var re=X.length;!X.reading&&!X.flowing&&!X.ended&&X.length<X.highWaterMark&&(ne("maybeReadMore read 0"),V.read(0),re!==X.length);)re=X.length;X.readingMore=!1}function b(V){return function(){var X=V._readableState;ne("pipeOnDrain",X.awaitDrain),X.awaitDrain&&X.awaitDrain--,X.awaitDrain===0&&I(V,"data")&&(X.flowing=!0,j(V))}}function O(V){ne("readable nexttick read 0"),V.read(0)}function C(V,X){X.resumeScheduled||(X.resumeScheduled=!0,$.nextTick(_,V,X))}function _(V,X){X.reading||(ne("resume read 0"),V.read(0)),X.resumeScheduled=!1,X.awaitDrain=0,V.emit("resume"),j(V),X.flowing&&!X.reading&&V.read(0)}function j(V){var X=V._readableState;for(ne("flow",X.flowing);X.flowing&&V.read()!==null;);}function D(V,X){if(X.length===0)return null;var re;return X.objectMode?re=X.buffer.shift():!V||V>=X.length?(re=X.decoder?X.buffer.join(""):X.buffer.length===1?X.buffer.head.data:X.buffer.concat(X.length),X.buffer.clear()):re=N(V,X.buffer,X.decoder),re}function N(V,X,re){var te;return V<X.head.data.length?(te=X.head.data.slice(0,V),X.head.data=X.head.data.slice(V)):te=V===X.head.data.length?X.shift():re?L(V,X):B(V,X),te}function L(V,X){var re=X.head,te=1,ce=re.data;for(V-=ce.length;re=re.next;){var k=re.data,t=V>k.length?k.length:V;if(t===k.length?ce+=k:ce+=k.slice(0,V),(V-=t)===0){t===k.length?(++te,re.next?X.head=re.next:X.head=X.tail=null):(X.head=re,re.data=k.slice(t));break}++te}return X.length-=te,ce}function B(V,X){var re=U.allocUnsafe(V),te=X.head,ce=1;for(te.data.copy(re),V-=te.data.length;te=te.next;){var k=te.data,t=V>k.length?k.length:V;if(k.copy(re,re.length-V,0,t),(V-=t)===0){t===k.length?(++ce,te.next?X.head=te.next:X.head=X.tail=null):(X.head=te,te.data=k.slice(t));break}++ce}return X.length-=ce,re}function q(V){var X=V._readableState;if(X.length>0)throw new Error('"endReadable()" called on non-empty stream');X.endEmitted||(X.ended=!0,$.nextTick(G,X,V))}function G(V,X){V.endEmitted||V.length!==0||(V.endEmitted=!0,X.readable=!1,X.emit("end"))}function Z(V,X){for(var re=0,te=V.length;re<te;re++)if(V[re]===X)return re;return-1}var F=n("babel-runtime/core-js/object/get-prototype-of"),ee=function(V){return V&&V.__esModule?V:{default:V}}(F),$=n("process-nextick-args");A.exports=e;var W,R=n("isarray");e.ReadableState=u;var I=(n("events").EventEmitter,function(V,X){return V.listeners(X).length}),M=n("./internal/streams/stream"),U=n("safe-buffer").Buffer,H=g.Uint8Array||function(){},Y=n("core-util-is");Y.inherits=n("inherits");var ae=n("util"),ne=void 0;ne=ae&&ae.debuglog?ae.debuglog("stream"):function(){};var ue,de=n("./internal/streams/BufferList"),Q=n("./internal/streams/destroy");Y.inherits(e,M);var J=["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=Q.destroy,e.prototype._undestroy=Q.undestroy,e.prototype._destroy=function(V,X){this.push(null),X(V)},e.prototype.push=function(V,X){var re,te=this._readableState;return te.objectMode?re=!0:typeof V=="string"&&(X=X||te.defaultEncoding,X!==te.encoding&&(V=U.from(V,X),X=""),re=!0),o(this,V,X,!1,re)},e.prototype.unshift=function(V){return o(this,V,null,!0,!1)},e.prototype.isPaused=function(){return this._readableState.flowing===!1},e.prototype.setEncoding=function(V){return ue||(ue=n("string_decoder/").StringDecoder),this._readableState.decoder=new ue(V),this._readableState.encoding=V,this};var ie=8388608;e.prototype.read=function(V){ne("read",V),V=parseInt(V,10);var X=this._readableState,re=V;if(V!==0&&(X.emittedReadable=!1),V===0&&X.needReadable&&(X.length>=X.highWaterMark||X.ended))return ne("read: emitReadable",X.length,X.ended),X.length===0&&X.ended?q(this):f(this),null;if((V=x(V,X))===0&&X.ended)return X.length===0&&q(this),null;var te=X.needReadable;ne("need readable",te),(X.length===0||X.length-V<X.highWaterMark)&&(te=!0,ne("length less than watermark",te)),X.ended||X.reading?(te=!1,ne("reading or ended",te)):te&&(ne("do read"),X.reading=!0,X.sync=!0,X.length===0&&(X.needReadable=!0),this._read(X.highWaterMark),X.sync=!1,X.reading||(V=x(re,X)));var ce;return ce=V>0?D(V,X):null,ce===null?(X.needReadable=!0,V=0):X.length-=V,X.length===0&&(X.ended||(X.needReadable=!0),re!==V&&X.ended&&q(this)),ce!==null&&this.emit("data",ce),ce},e.prototype._read=function(V){this.emit("error",new Error("_read() is not implemented"))},e.prototype.pipe=function(V,X){function re(ye,he){ne("onunpipe"),ye===w&&he&&he.hasUnpiped===!1&&(he.hasUnpiped=!0,ce())}function te(){ne("onend"),V.end()}function ce(){ne("cleanup"),V.removeListener("close",a),V.removeListener("finish",P),V.removeListener("drain",le),V.removeListener("error",t),V.removeListener("unpipe",re),w.removeListener("end",te),w.removeListener("end",y),w.removeListener("data",k),ve=!0,!z.awaitDrain||V._writableState&&!V._writableState.needDrain||le()}function k(ye){ne("ondata"),_e=!1,V.write(ye)!==!1||_e||((z.pipesCount===1&&z.pipes===V||z.pipesCount>1&&Z(z.pipes,V)!==-1)&&!ve&&(ne("false write response, pause",w._readableState.awaitDrain),w._readableState.awaitDrain++,_e=!0),w.pause())}function t(ye){ne("onerror",ye),y(),V.removeListener("error",t),I(V,"error")===0&&V.emit("error",ye)}function a(){V.removeListener("finish",P),y()}function P(){ne("onfinish"),V.removeListener("close",a),y()}function y(){ne("unpipe"),w.unpipe(V)}var w=this,z=this._readableState;switch(z.pipesCount){case 0:z.pipes=V;break;case 1:z.pipes=[z.pipes,V];break;default:z.pipes.push(V)}z.pipesCount+=1,ne("pipe count=%d opts=%j",z.pipesCount,X);var K=(!X||X.end!==!1)&&V!==h.stdout&&V!==h.stderr,fe=K?te:y;z.endEmitted?$.nextTick(fe):w.once("end",fe),V.on("unpipe",re);var le=b(w);V.on("drain",le);var ve=!1,_e=!1;return w.on("data",k),p(V,"error",t),V.once("close",a),V.once("finish",P),V.emit("pipe",w),z.flowing||(ne("pipe resume"),w.resume()),V},e.prototype.unpipe=function(V){var X=this._readableState,re={hasUnpiped:!1};if(X.pipesCount===0)return this;if(X.pipesCount===1)return V&&V!==X.pipes?this:(V||(V=X.pipes),X.pipes=null,X.pipesCount=0,X.flowing=!1,V&&V.emit("unpipe",this,re),this);if(!V){var te=X.pipes,ce=X.pipesCount;X.pipes=null,X.pipesCount=0,X.flowing=!1;for(var k=0;k<ce;k++)te[k].emit("unpipe",this,re);return this}var t=Z(X.pipes,V);return t===-1?this:(X.pipes.splice(t,1),X.pipesCount-=1,X.pipesCount===1&&(X.pipes=X.pipes[0]),V.emit("unpipe",this,re),this)},e.prototype.on=function(V,X){var re=M.prototype.on.call(this,V,X);if(V==="data")this._readableState.flowing!==!1&&this.resume();else if(V==="readable"){var te=this._readableState;te.endEmitted||te.readableListening||(te.readableListening=te.needReadable=!0,te.emittedReadable=!1,te.reading?te.length&&f(this):$.nextTick(O,this))}return re},e.prototype.addListener=e.prototype.on,e.prototype.resume=function(){var V=this._readableState;return V.flowing||(ne("resume"),V.flowing=!0,C(this,V)),this},e.prototype.pause=function(){return ne("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ne("pause"),this._readableState.flowing=!1,this.emit("pause")),this},e.prototype.wrap=function(V){var X=this,re=this._readableState,te=!1;V.on("end",function(){if(ne("wrapped end"),re.decoder&&!re.ended){var t=re.decoder.end();t&&t.length&&X.push(t)}X.push(null)}),V.on("data",function(t){(ne("wrapped data"),re.decoder&&(t=re.decoder.write(t)),(!re.objectMode||t!=null)&&(re.objectMode||t&&t.length))&&(X.push(t)||(te=!0,V.pause()))});for(var ce in V)this[ce]===void 0&&typeof V[ce]=="function"&&(this[ce]=function(t){return function(){return V[t].apply(V,arguments)}}(ce));for(var k=0;k<J.length;k++)V.on(J[k],this.emit.bind(this,J[k]));return this._read=function(t){ne("wrapped _read",t),te&&(te=!1,V.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,A,v){"use strict";function h(e,o){var r=this._transformState;r.transforming=!1;var c=r.writecb;if(!c)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,o!=null&&this.push(o),c(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(o,r){s(e,o,r)}):s(this,null,null)}function s(e,o,r){if(o)return e.emit("error",o);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)}A.exports=g;var p=n("./_stream_duplex"),u=n("core-util-is");u.inherits=n("inherits"),u.inherits(g,p),g.prototype.push=function(e,o){return this._transformState.needTransform=!1,p.prototype.push.call(this,e,o)},g.prototype._transform=function(e,o,r){throw new Error("_transform() is not implemented")},g.prototype._write=function(e,o,r){var c=this._transformState;if(c.writecb=r,c.writechunk=e,c.writeencoding=o,!c.transforming){var d=this._readableState;(c.needTransform||d.needReadable||d.length<d.highWaterMark)&&this._read(d.highWaterMark)}},g.prototype._read=function(e){var o=this._transformState;o.writechunk!==null&&o.writecb&&!o.transforming?(o.transforming=!0,this._transform(o.writechunk,o.writeencoding,o.afterTransform)):o.needTransform=!0},g.prototype._destroy=function(e,o){var r=this;p.prototype._destroy.call(this,e,function(c){o(c),r.emit("close")})}},{"./_stream_duplex":179,"core-util-is":153,inherits:162}],183:[function(n,A,v){(function(h,g){"use strict";function i(Q){return Q&&Q.__esModule?Q:{default:Q}}function s(Q){var J=this;this.next=null,this.entry=null,this.finish=function(){L(J,Q)}}function p(Q){return ae.from(Q)}function u(Q){return ae.isBuffer(Q)||Q instanceof ne}function e(){}function o(Q,J){I=I||n("./_stream_duplex"),Q=Q||{};var ie=J instanceof I;this.objectMode=!!Q.objectMode,ie&&(this.objectMode=this.objectMode||!!Q.writableObjectMode);var V=Q.highWaterMark,X=Q.writableHighWaterMark,re=this.objectMode?16:16384;this.highWaterMark=V||V===0?V:ie&&(X||X===0)?X:re,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=Q.decodeStrings===!1;this.decodeStrings=!te,this.defaultEncoding=Q.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ce){S(J,ce)},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 s(this)}function r(Q){if(I=I||n("./_stream_duplex"),!(de.call(r,this)||this instanceof I))return new r(Q);this._writableState=new o(Q,this),this.writable=!0,Q&&(typeof Q.write=="function"&&(this._write=Q.write),typeof Q.writev=="function"&&(this._writev=Q.writev),typeof Q.destroy=="function"&&(this._destroy=Q.destroy),typeof Q.final=="function"&&(this._final=Q.final)),Y.call(this)}function c(Q,J){var ie=new Error("write after end");Q.emit("error",ie),R.nextTick(J,ie)}function d(Q,J,ie,V){var X=!0,re=!1;return ie===null?re=new TypeError("May not write null values to stream"):typeof ie=="string"||ie===void 0||J.objectMode||(re=new TypeError("Invalid non-string/buffer chunk")),re&&(Q.emit("error",re),R.nextTick(V,re),X=!1),X}function l(Q,J,ie){return Q.objectMode||Q.decodeStrings===!1||typeof J!="string"||(J=ae.from(J,ie)),J}function x(Q,J,ie,V,X,re){if(!ie){var te=l(J,V,X);V!==te&&(ie=!0,X="buffer",V=te)}var ce=J.objectMode?1:V.length;J.length+=ce;var k=J.length<J.highWaterMark;if(k||(J.needDrain=!0),J.writing||J.corked){var t=J.lastBufferedRequest;J.lastBufferedRequest={chunk:V,encoding:X,isBuf:ie,callback:re,next:null},t?t.next=J.lastBufferedRequest:J.bufferedRequest=J.lastBufferedRequest,J.bufferedRequestCount+=1}else E(Q,J,!1,ce,V,X,re);return k}function E(Q,J,ie,V,X,re,te){J.writelen=V,J.writecb=te,J.writing=!0,J.sync=!0,ie?Q._writev(X,J.onwrite):Q._write(X,re,J.onwrite),J.sync=!1}function f(Q,J,ie,V,X){--J.pendingcb,ie?(R.nextTick(X,V),R.nextTick(D,Q,J),Q._writableState.errorEmitted=!0,Q.emit("error",V)):(X(V),Q._writableState.errorEmitted=!0,Q.emit("error",V),D(Q,J))}function T(Q){Q.writing=!1,Q.writecb=null,Q.length-=Q.writelen,Q.writelen=0}function S(Q,J){var ie=Q._writableState,V=ie.sync,X=ie.writecb;if(T(ie),J)f(Q,ie,V,J,X);else{var re=C(ie);re||ie.corked||ie.bufferProcessing||!ie.bufferedRequest||O(Q,ie),V?M(m,Q,ie,re,X):m(Q,ie,re,X)}}function m(Q,J,ie,V){ie||b(Q,J),J.pendingcb--,V(),D(Q,J)}function b(Q,J){J.length===0&&J.needDrain&&(J.needDrain=!1,Q.emit("drain"))}function O(Q,J){J.bufferProcessing=!0;var ie=J.bufferedRequest;if(Q._writev&&ie&&ie.next){var V=J.bufferedRequestCount,X=new Array(V),re=J.corkedRequestsFree;re.entry=ie;for(var te=0,ce=!0;ie;)X[te]=ie,ie.isBuf||(ce=!1),ie=ie.next,te+=1;X.allBuffers=ce,E(Q,J,!0,J.length,X,"",re.finish),J.pendingcb++,J.lastBufferedRequest=null,re.next?(J.corkedRequestsFree=re.next,re.next=null):J.corkedRequestsFree=new s(J),J.bufferedRequestCount=0}else{for(;ie;){var k=ie.chunk,t=ie.encoding,a=ie.callback;if(E(Q,J,!1,J.objectMode?1:k.length,k,t,a),ie=ie.next,J.bufferedRequestCount--,J.writing)break}ie===null&&(J.lastBufferedRequest=null)}J.bufferedRequest=ie,J.bufferProcessing=!1}function C(Q){return Q.ending&&Q.length===0&&Q.bufferedRequest===null&&!Q.finished&&!Q.writing}function _(Q,J){Q._final(function(ie){J.pendingcb--,ie&&Q.emit("error",ie),J.prefinished=!0,Q.emit("prefinish"),D(Q,J)})}function j(Q,J){J.prefinished||J.finalCalled||(typeof Q._final=="function"?(J.pendingcb++,J.finalCalled=!0,R.nextTick(_,Q,J)):(J.prefinished=!0,Q.emit("prefinish")))}function D(Q,J){var ie=C(J);return ie&&(j(Q,J),J.pendingcb===0&&(J.finished=!0,Q.emit("finish"))),ie}function N(Q,J,ie){J.ending=!0,D(Q,J),ie&&(J.finished?R.nextTick(ie):Q.once("finish",ie)),J.ended=!0,Q.writable=!1}function L(Q,J,ie){var V=Q.entry;for(Q.entry=null;V;){var X=V.callback;J.pendingcb--,X(ie),V=V.next}J.corkedRequestsFree?J.corkedRequestsFree.next=Q:J.corkedRequestsFree=Q}var B=n("babel-runtime/core-js/object/define-property"),q=i(B),G=n("babel-runtime/core-js/symbol/has-instance"),Z=i(G),F=n("babel-runtime/core-js/symbol"),ee=i(F),$=n("babel-runtime/core-js/set-immediate"),W=i($),R=n("process-nextick-args");A.exports=r;var I,M=!h.browser&&["v0.10","v0.9."].indexOf(h.version.slice(0,5))>-1?W.default:R.nextTick;r.WritableState=o;var U=n("core-util-is");U.inherits=n("inherits");var H={deprecate:n("util-deprecate")},Y=n("./internal/streams/stream"),ae=n("safe-buffer").Buffer,ne=g.Uint8Array||function(){},ue=n("./internal/streams/destroy");U.inherits(r,Y),o.prototype.getBuffer=function(){for(var Q=this.bufferedRequest,J=[];Q;)J.push(Q),Q=Q.next;return J},function(){try{Object.defineProperty(o.prototype,"buffer",{get:H.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Q){}}();var de;typeof ee.default=="function"&&Z.default&&typeof Function.prototype[Z.default]=="function"?(de=Function.prototype[Z.default],(0,q.default)(r,Z.default,{value:function(J){return!!de.call(this,J)||this===r&&J&&J._writableState instanceof o}})):de=function(J){return J instanceof this},r.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},r.prototype.write=function(Q,J,ie){var V=this._writableState,X=!1,re=!V.objectMode&&u(Q);return re&&!ae.isBuffer(Q)&&(Q=p(Q)),typeof J=="function"&&(ie=J,J=null),re?J="buffer":J||(J=V.defaultEncoding),typeof ie!="function"&&(ie=e),V.ended?c(this,ie):(re||d(this,V,Q,ie))&&(V.pendingcb++,X=x(this,V,re,Q,J,ie)),X},r.prototype.cork=function(){this._writableState.corked++},r.prototype.uncork=function(){var Q=this._writableState;Q.corked&&(Q.corked--,Q.writing||Q.corked||Q.finished||Q.bufferProcessing||!Q.bufferedRequest||O(this,Q))},r.prototype.setDefaultEncoding=function(Q){if(typeof Q=="string"&&(Q=Q.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Q+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Q);return this._writableState.defaultEncoding=Q,this},Object.defineProperty(r.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),r.prototype._write=function(Q,J,ie){ie(new Error("_write() is not implemented"))},r.prototype._writev=null,r.prototype.end=function(Q,J,ie){var V=this._writableState;typeof Q=="function"?(ie=Q,Q=null,J=null):typeof J=="function"&&(ie=J,J=null),Q!=null&&this.write(Q,J),V.corked&&(V.corked=1,this.uncork()),V.ending||V.finished||N(this,V,ie)},Object.defineProperty(r.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(J){this._writableState&&(this._writableState.destroyed=J)}}),r.prototype.destroy=ue.destroy,r.prototype._undestroy=ue.undestroy,r.prototype._destroy=function(Q,J){this.end(),J(Q)}}).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,A,v){"use strict";function h(p,u){if(!(p instanceof u))throw new TypeError("Cannot call a class as a function")}function g(p,u,e){p.copy(u,e)}var i=n("safe-buffer").Buffer,s=n("util");A.exports=function(){function p(){h(this,p),this.head=null,this.tail=null,this.length=0}return p.prototype.push=function(u){var e={data:u,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},p.prototype.unshift=function(u){var e={data:u,next:this.head};this.length===0&&(this.tail=e),this.head=e,++this.length},p.prototype.shift=function(){if(this.length!==0){var u=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,u}},p.prototype.clear=function(){this.head=this.tail=null,this.length=0},p.prototype.join=function(u){if(this.length===0)return"";for(var e=this.head,o=""+e.data;e=e.next;)o+=u+e.data;return o},p.prototype.concat=function(u){if(this.length===0)return i.alloc(0);if(this.length===1)return this.head.data;for(var e=i.allocUnsafe(u>>>0),o=this.head,r=0;o;)g(o.data,e,r),r+=o.data.length,o=o.next;return e},p}(),s&&s.inspect&&s.inspect.custom&&(A.exports.prototype[s.inspect.custom]=function(){var p=s.inspect({length:this.length});return this.constructor.name+" "+p})},{"safe-buffer":193,util:36}],185:[function(n,A,v){"use strict";function h(p,u){var e=this,o=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return o||r?(u?u(p):!p||this._writableState&&this._writableState.errorEmitted||s.nextTick(i,this,p),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(p||null,function(c){!u&&c?(s.nextTick(i,e,c),e._writableState&&(e._writableState.errorEmitted=!0)):u&&u(c)}),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,u){p.emit("error",u)}var s=n("process-nextick-args");A.exports={destroy:h,undestroy:g}},{"process-nextick-args":172}],186:[function(n,A,v){"use strict";A.exports=n("events").EventEmitter},{events:158}],187:[function(n,A,v){A.exports=n("./readable").PassThrough},{"./readable":188}],188:[function(n,A,v){v=A.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,A,v){A.exports=n("./readable").Transform},{"./readable":188}],190:[function(n,A,v){A.exports=n("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":183}],191:[function(n,A,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,A.exports=n("./runtime"),g)h.regeneratorRuntime=i;else try{delete h.regeneratorRuntime}catch(s){h.regeneratorRuntime=void 0}},{"./runtime":192}],192:[function(n,A,v){!function(h){"use strict";function g(W,R,I,M){var U=R&&R.prototype instanceof s?R:s,H=Object.create(U.prototype),Y=new x(M||[]);return H._invoke=r(W,I,Y),H}function i(W,R,I){try{return{type:"normal",arg:W.call(R,I)}}catch(M){return{type:"throw",arg:M}}}function s(){}function p(){}function u(){}function e(W){["next","throw","return"].forEach(function(R){W[R]=function(I){return this._invoke(R,I)}})}function o(W){function R(U,H,Y,ae){var ne=i(W[U],W,H);if(ne.type!=="throw"){var ue=ne.arg,de=ue.value;return de&&typeof de=="object"&&m.call(de,"__await")?Promise.resolve(de.__await).then(function(Q){R("next",Q,Y,ae)},function(Q){R("throw",Q,Y,ae)}):Promise.resolve(de).then(function(Q){ue.value=Q,Y(ue)},ae)}ae(ne.arg)}function I(U,H){function Y(){return new Promise(function(ae,ne){R(U,H,ae,ne)})}return M=M?M.then(Y,Y):Y()}var M;this._invoke=I}function r(W,R,I){var M=N;return function(U,H){if(M===B)throw new Error("Generator is already running");if(M===q){if(U==="throw")throw H;return f()}for(I.method=U,I.arg=H;;){var Y=I.delegate;if(Y){var ae=c(Y,I);if(ae){if(ae===G)continue;return ae}}if(I.method==="next")I.sent=I._sent=I.arg;else if(I.method==="throw"){if(M===N)throw M=q,I.arg;I.dispatchException(I.arg)}else I.method==="return"&&I.abrupt("return",I.arg);M=B;var ne=i(W,R,I);if(ne.type==="normal"){if(M=I.done?q:L,ne.arg===G)continue;return{value:ne.arg,done:I.done}}ne.type==="throw"&&(M=q,I.method="throw",I.arg=ne.arg)}}}function c(W,R){var I=W.iterator[R.method];if(I===T){if(R.delegate=null,R.method==="throw"){if(W.iterator.return&&(R.method="return",R.arg=T,c(W,R),R.method==="throw"))return G;R.method="throw",R.arg=new TypeError("The iterator does not provide a 'throw' method")}return G}var M=i(I,W.iterator,R.arg);if(M.type==="throw")return R.method="throw",R.arg=M.arg,R.delegate=null,G;var U=M.arg;return U?U.done?(R[W.resultName]=U.value,R.next=W.nextLoc,R.method!=="return"&&(R.method="next",R.arg=T),R.delegate=null,G):U:(R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,G)}function d(W){var R={tryLoc:W[0]};1 in W&&(R.catchLoc=W[1]),2 in W&&(R.finallyLoc=W[2],R.afterLoc=W[3]),this.tryEntries.push(R)}function l(W){var R=W.completion||{};R.type="normal",delete R.arg,W.completion=R}function x(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(d,this),this.reset(!0)}function E(W){if(W){var R=W[O];if(R)return R.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var I=-1,M=function U(){for(;++I<W.length;)if(m.call(W,I))return U.value=W[I],U.done=!1,U;return U.value=T,U.done=!0,U};return M.next=M}}return{next:f}}function f(){return{value:T,done:!0}}var T,S=Object.prototype,m=S.hasOwnProperty,b=typeof Symbol=="function"?Symbol:{},O=b.iterator||"@@iterator",C=b.asyncIterator||"@@asyncIterator",_=b.toStringTag||"@@toStringTag",j=typeof A=="object",D=h.regeneratorRuntime;if(D)return void(j&&(A.exports=D));D=h.regeneratorRuntime=j?A.exports:{},D.wrap=g;var N="suspendedStart",L="suspendedYield",B="executing",q="completed",G={},Z={};Z[O]=function(){return this};var F=Object.getPrototypeOf,ee=F&&F(F(E([])));ee&&ee!==S&&m.call(ee,O)&&(Z=ee);var $=u.prototype=s.prototype=Object.create(Z);p.prototype=$.constructor=u,u.constructor=p,u[_]=p.displayName="GeneratorFunction",D.isGeneratorFunction=function(W){var R=typeof W=="function"&&W.constructor;return!!R&&(R===p||(R.displayName||R.name)==="GeneratorFunction")},D.mark=function(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,u):(W.__proto__=u,_ in W||(W[_]="GeneratorFunction")),W.prototype=Object.create($),W},D.awrap=function(W){return{__await:W}},e(o.prototype),o.prototype[C]=function(){return this},D.AsyncIterator=o,D.async=function(W,R,I,M){var U=new o(g(W,R,I,M));return D.isGeneratorFunction(R)?U:U.next().then(function(H){return H.done?H.value:U.next()})},e($),$[_]="Generator",$[O]=function(){return this},$.toString=function(){return"[object Generator]"},D.keys=function(W){var R=[];for(var I in W)R.push(I);return R.reverse(),function M(){for(;R.length;){var U=R.pop();if(U in W)return M.value=U,M.done=!1,M}return M.done=!0,M}},D.values=E,x.prototype={constructor:x,reset:function(R){if(this.prev=0,this.next=0,this.sent=this._sent=T,this.done=!1,this.delegate=null,this.method="next",this.arg=T,this.tryEntries.forEach(l),!R)for(var I in this)I.charAt(0)==="t"&&m.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=T)},stop:function(){this.done=!0;var R=this.tryEntries[0],I=R.completion;if(I.type==="throw")throw I.arg;return this.rval},dispatchException:function(R){function I(ue,de){return Y.type="throw",Y.arg=R,M.next=ue,de&&(M.method="next",M.arg=T),!!de}if(this.done)throw R;for(var M=this,U=this.tryEntries.length-1;U>=0;--U){var H=this.tryEntries[U],Y=H.completion;if(H.tryLoc==="root")return I("end");if(H.tryLoc<=this.prev){var ae=m.call(H,"catchLoc"),ne=m.call(H,"finallyLoc");if(ae&&ne){if(this.prev<H.catchLoc)return I(H.catchLoc,!0);if(this.prev<H.finallyLoc)return I(H.finallyLoc)}else if(ae){if(this.prev<H.catchLoc)return I(H.catchLoc,!0)}else{if(!ne)throw new Error("try statement without catch or finally");if(this.prev<H.finallyLoc)return I(H.finallyLoc)}}}},abrupt:function(R,I){for(var M=this.tryEntries.length-1;M>=0;--M){var U=this.tryEntries[M];if(U.tryLoc<=this.prev&&m.call(U,"finallyLoc")&&this.prev<U.finallyLoc){var H=U;break}}H&&(R==="break"||R==="continue")&&H.tryLoc<=I&&I<=H.finallyLoc&&(H=null);var Y=H?H.completion:{};return Y.type=R,Y.arg=I,H?(this.method="next",this.next=H.finallyLoc,G):this.complete(Y)},complete:function(R,I){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"&&I&&(this.next=I),G},finish:function(R){for(var I=this.tryEntries.length-1;I>=0;--I){var M=this.tryEntries[I];if(M.finallyLoc===R)return this.complete(M.completion,M.afterLoc),l(M),G}},catch:function(R){for(var I=this.tryEntries.length-1;I>=0;--I){var M=this.tryEntries[I];if(M.tryLoc===R){var U=M.completion;if(U.type==="throw"){var H=U.arg;l(M)}return H}}throw new Error("illegal catch attempt")},delegateYield:function(R,I,M){return this.delegate={iterator:E(R),resultName:I,nextLoc:M},this.method==="next"&&(this.arg=T),G}}}(function(){return this}()||Function("return this")())},{}],193:[function(n,A,v){function h(p,u){for(var e in p)u[e]=p[e]}function g(p,u,e){return s(p,u,e)}var i=n("buffer"),s=i.Buffer;s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?A.exports=i:(h(i,v),v.Buffer=g),h(s,g),g.from=function(p,u,e){if(typeof p=="number")throw new TypeError("Argument must not be a number");return s(p,u,e)},g.alloc=function(p,u,e){if(typeof p!="number")throw new TypeError("Argument must be a number");var o=s(p);return u!==void 0?typeof e=="string"?o.fill(u,e):o.fill(u):o.fill(0),o},g.allocUnsafe=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return s(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,A,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"),s=g(i),p=n("babel-runtime/core-js/json/stringify"),u=g(p),e=n("babel-runtime/helpers/typeof"),o=g(e),r=n("babel-runtime/core-js/object/define-property"),c=g(r),d=n("babel-runtime/core-js/object/keys"),l=g(d),x=n("babel-runtime/core-js/object/create"),E=g(x);!function(f){function T(y,w){if(!(this instanceof T))return new T(y,w);var z=this;m(z),z.q=z.c="",z.bufferCheckPosition=f.MAX_BUFFER_LENGTH,z.opt=w||{},z.opt.lowercase=z.opt.lowercase||z.opt.lowercasetags,z.looseCase=z.opt.lowercase?"toLowerCase":"toUpperCase",z.tags=[],z.closed=z.closedRoot=z.sawRoot=!1,z.tag=z.error=null,z.strict=!!y,z.noscript=!(!y&&!z.opt.noscript),z.state=a.BEGIN,z.strictEntities=z.opt.strictEntities,z.ENTITIES=z.strictEntities?(0,E.default)(f.XML_ENTITIES):(0,E.default)(f.ENTITIES),z.attribList=[],z.opt.xmlns&&(z.ns=(0,E.default)(re)),z.trackPosition=z.opt.position!==!1,z.trackPosition&&(z.position=z.line=z.column=0),B(z,"onready")}function S(y){for(var w=Math.max(f.MAX_BUFFER_LENGTH,10),z=0,K=0,fe=ue.length;K<fe;K++){var le=y[ue[K]].length;if(le>w)switch(ue[K]){case"textNode":G(y);break;case"cdata":q(y,"oncdata",y.cdata),y.cdata="";break;case"script":q(y,"onscript",y.script),y.script="";break;default:F(y,"Max buffer length exceeded: "+ue[K])}z=Math.max(z,le)}var ve=f.MAX_BUFFER_LENGTH-z;y.bufferCheckPosition=ve+y.position}function m(y){for(var w=0,z=ue.length;w<z;w++)y[ue[w]]=""}function b(y){G(y),y.cdata!==""&&(q(y,"oncdata",y.cdata),y.cdata=""),y.script!==""&&(q(y,"onscript",y.script),y.script="")}function O(y,w){return new C(y,w)}function C(y,w){if(!(this instanceof C))return new C(y,w);de.apply(this),this._parser=new T(y,w),this.writable=!0,this.readable=!0;var z=this;this._parser.onend=function(){z.emit("end")},this._parser.onerror=function(K){z.emit("error",K),z._parser.error=null},this._decoder=null,Q.forEach(function(K){(0,c.default)(z,"on"+K,{get:function(){return z._parser["on"+K]},set:function(le){if(!le)return z.removeAllListeners(K),z._parser["on"+K]=le,le;z.on(K,le)},enumerable:!0,configurable:!1})})}function _(y){return y===" "||y===`
`||y==="\r"||y===" "}function j(y){return y==='"'||y==="'"}function D(y){return y===">"||_(y)}function N(y,w){return y.test(w)}function L(y,w){return!N(y,w)}function B(y,w,z){y[w]&&y[w](z)}function q(y,w,z){y.textNode&&G(y),B(y,w,z)}function G(y){y.textNode=Z(y.opt,y.textNode),y.textNode&&B(y,"ontext",y.textNode),y.textNode=""}function Z(y,w){return y.trim&&(w=w.trim()),y.normalize&&(w=w.replace(/\s+/g," ")),w}function F(y,w){return G(y),y.trackPosition&&(w+=`
Line: `+y.line+`
Column: `+y.column+`
Char: `+y.c),w=new Error(w),y.error=w,B(y,"onerror",w),y}function ee(y){return y.sawRoot&&!y.closedRoot&&$(y,"Unclosed root tag"),y.state!==a.BEGIN&&y.state!==a.BEGIN_WHITESPACE&&y.state!==a.TEXT&&F(y,"Unexpected end"),G(y),y.c="",y.closed=!0,B(y,"onend"),T.call(y,y.strict,y.opt),y}function $(y,w){if((y===void 0?"undefined":(0,o.default)(y))!=="object"||!(y instanceof T))throw new Error("bad call to strictFail");y.strict&&F(y,w)}function W(y){y.strict||(y.tagName=y.tagName[y.looseCase]());var w=y.tags[y.tags.length-1]||y,z=y.tag={name:y.tagName,attributes:{}};y.opt.xmlns&&(z.ns=w.ns),y.attribList.length=0,q(y,"onopentagstart",z)}function R(y,w){var z=y.indexOf(":"),K=z<0?["",y]:y.split(":"),fe=K[0],le=K[1];return w&&y==="xmlns"&&(fe="xmlns",le=""),{prefix:fe,local:le}}function I(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 w=R(y.attribName,!0),z=w.prefix,K=w.local;if(z==="xmlns")if(K==="xml"&&y.attribValue!==V)$(y,"xml: prefix must be bound to "+V+`
Actual: `+y.attribValue);else if(K==="xmlns"&&y.attribValue!==X)$(y,"xmlns: prefix must be bound to "+X+`
Actual: `+y.attribValue);else{var fe=y.tag,le=y.tags[y.tags.length-1]||y;fe.ns===le.ns&&(fe.ns=(0,E.default)(le.ns)),fe.ns[K]=y.attribValue}y.attribList.push([y.attribName,y.attribValue])}else y.tag.attributes[y.attribName]=y.attribValue,q(y,"onattribute",{name:y.attribName,value:y.attribValue});y.attribName=y.attribValue=""}function M(y,w){if(y.opt.xmlns){var z=y.tag,K=R(y.tagName);z.prefix=K.prefix,z.local=K.local,z.uri=z.ns[K.prefix]||"",z.prefix&&!z.uri&&($(y,"Unbound namespace prefix: "+(0,u.default)(y.tagName)),z.uri=K.prefix);var fe=y.tags[y.tags.length-1]||y;z.ns&&fe.ns!==z.ns&&(0,l.default)(z.ns).forEach(function(Me){q(y,"onopennamespace",{prefix:Me,uri:z.ns[Me]})});for(var le=0,ve=y.attribList.length;le<ve;le++){var _e=y.attribList[le],ye=_e[0],he=_e[1],oe=R(ye,!0),be=oe.prefix,Ce=oe.local,xe=be===""?"":z.ns[be]||"",je={name:ye,value:he,prefix:be,local:Ce,uri:xe};be&&be!=="xmlns"&&!xe&&($(y,"Unbound namespace prefix: "+(0,u.default)(be)),je.uri=be),y.tag.attributes[ye]=je,q(y,"onattribute",je)}y.attribList.length=0}y.tag.isSelfClosing=!!w,y.sawRoot=!0,y.tags.push(y.tag),q(y,"onopentag",y.tag),w||(y.noscript||y.tagName.toLowerCase()!=="script"?y.state=a.TEXT:y.state=a.SCRIPT,y.tag=null,y.tagName=""),y.attribName=y.attribValue="",y.attribList.length=0}function U(y){if(!y.tagName)return $(y,"Weird empty close tag."),y.textNode+="</>",void(y.state=a.TEXT);if(y.script){if(y.tagName!=="script")return y.script+="</"+y.tagName+">",y.tagName="",void(y.state=a.SCRIPT);q(y,"onscript",y.script),y.script=""}var w=y.tags.length,z=y.tagName;y.strict||(z=z[y.looseCase]());for(var K=z;w--&&!(y.tags[w].name===K);)$(y,"Unexpected close tag");if(w<0)return $(y,"Unmatched closing tag: "+y.tagName),y.textNode+="</"+y.tagName+">",void(y.state=a.TEXT);y.tagName=z;for(var fe=y.tags.length;fe-- >w;){var le=y.tag=y.tags.pop();y.tagName=y.tag.name,q(y,"onclosetag",y.tagName);var ve={};for(var _e in le.ns)ve[_e]=le.ns[_e];var ye=y.tags[y.tags.length-1]||y;y.opt.xmlns&&le.ns!==ye.ns&&(0,l.default)(le.ns).forEach(function(he){var oe=le.ns[he];q(y,"onclosenamespace",{prefix:he,uri:oe})})}w===0&&(y.closedRoot=!0),y.tagName=y.attribValue=y.attribName="",y.attribList.length=0,y.state=a.TEXT}function H(y){var w,z=y.entity,K=z.toLowerCase(),fe="";return y.ENTITIES[z]?y.ENTITIES[z]:y.ENTITIES[K]?y.ENTITIES[K]:(z=K,z.charAt(0)==="#"&&(z.charAt(1)==="x"?(z=z.slice(2),w=parseInt(z,16),fe=w.toString(16)):(z=z.slice(1),w=parseInt(z,10),fe=w.toString(10))),z=z.replace(/^0+/,""),isNaN(w)||fe.toLowerCase()!==z?($(y,"Invalid character entity"),"&"+y.entity+";"):(0,s.default)(w))}function Y(y,w){w==="<"?(y.state=a.OPEN_WAKA,y.startTagPosition=y.position):_(w)||($(y,"Non-whitespace before first tag."),y.textNode=w,y.state=a.TEXT)}function ae(y,w){var z="";return w<y.length&&(z=y.charAt(w)),z}function ne(y){var w=this;if(this.error)throw this.error;if(w.closed)return F(w,"Cannot write after close. Assign an onready handler.");if(y===null)return ee(w);(y===void 0?"undefined":(0,o.default)(y))==="object"&&(y=y.toString());for(var z=0,K="";!(K=ae(y,z++),w.c=K,!K);)switch(w.trackPosition&&(w.position++,K===`
`?(w.line++,w.column=0):w.column++),w.state){case a.BEGIN:if(w.state=a.BEGIN_WHITESPACE,K==="\uFEFF")continue;Y(w,K);continue;case a.BEGIN_WHITESPACE:Y(w,K);continue;case a.TEXT:if(w.sawRoot&&!w.closedRoot){for(var fe=z-1;K&&K!=="<"&&K!=="&";)(K=ae(y,z++))&&w.trackPosition&&(w.position++,K===`
`?(w.line++,w.column=0):w.column++);w.textNode+=y.substring(fe,z-1)}K!=="<"||w.sawRoot&&w.closedRoot&&!w.strict?(_(K)||w.sawRoot&&!w.closedRoot||$(w,"Text data outside of root node."),K==="&"?w.state=a.TEXT_ENTITY:w.textNode+=K):(w.state=a.OPEN_WAKA,w.startTagPosition=w.position);continue;case a.SCRIPT:K==="<"?w.state=a.SCRIPT_ENDING:w.script+=K;continue;case a.SCRIPT_ENDING:K==="/"?w.state=a.CLOSE_TAG:(w.script+="<"+K,w.state=a.SCRIPT);continue;case a.OPEN_WAKA:if(K==="!")w.state=a.SGML_DECL,w.sgmlDecl="";else if(!_(K))if(N(te,K))w.state=a.OPEN_TAG,w.tagName=K;else if(K==="/")w.state=a.CLOSE_TAG,w.tagName="";else if(K==="?")w.state=a.PROC_INST,w.procInstName=w.procInstBody="";else{if($(w,"Unencoded <"),w.startTagPosition+1<w.position){var le=w.position-w.startTagPosition;K=new Array(le).join(" ")+K}w.textNode+="<"+K,w.state=a.TEXT}continue;case a.SGML_DECL:(w.sgmlDecl+K).toUpperCase()===J?(q(w,"onopencdata"),w.state=a.CDATA,w.sgmlDecl="",w.cdata=""):w.sgmlDecl+K==="--"?(w.state=a.COMMENT,w.comment="",w.sgmlDecl=""):(w.sgmlDecl+K).toUpperCase()===ie?(w.state=a.DOCTYPE,(w.doctype||w.sawRoot)&&$(w,"Inappropriately located doctype declaration"),w.doctype="",w.sgmlDecl=""):K===">"?(q(w,"onsgmldeclaration",w.sgmlDecl),w.sgmlDecl="",w.state=a.TEXT):(j(K)&&(w.state=a.SGML_DECL_QUOTED),w.sgmlDecl+=K);continue;case a.SGML_DECL_QUOTED:K===w.q&&(w.state=a.SGML_DECL,w.q=""),w.sgmlDecl+=K;continue;case a.DOCTYPE:K===">"?(w.state=a.TEXT,q(w,"ondoctype",w.doctype),w.doctype=!0):(w.doctype+=K,K==="["?w.state=a.DOCTYPE_DTD:j(K)&&(w.state=a.DOCTYPE_QUOTED,w.q=K));continue;case a.DOCTYPE_QUOTED:w.doctype+=K,K===w.q&&(w.q="",w.state=a.DOCTYPE);continue;case a.DOCTYPE_DTD:w.doctype+=K,K==="]"?w.state=a.DOCTYPE:j(K)&&(w.state=a.DOCTYPE_DTD_QUOTED,w.q=K);continue;case a.DOCTYPE_DTD_QUOTED:w.doctype+=K,K===w.q&&(w.state=a.DOCTYPE_DTD,w.q="");continue;case a.COMMENT:K==="-"?w.state=a.COMMENT_ENDING:w.comment+=K;continue;case a.COMMENT_ENDING:K==="-"?(w.state=a.COMMENT_ENDED,w.comment=Z(w.opt,w.comment),w.comment&&q(w,"oncomment",w.comment),w.comment=""):(w.comment+="-"+K,w.state=a.COMMENT);continue;case a.COMMENT_ENDED:K!==">"?($(w,"Malformed comment"),w.comment+="--"+K,w.state=a.COMMENT):w.state=a.TEXT;continue;case a.CDATA:K==="]"?w.state=a.CDATA_ENDING:w.cdata+=K;continue;case a.CDATA_ENDING:K==="]"?w.state=a.CDATA_ENDING_2:(w.cdata+="]"+K,w.state=a.CDATA);continue;case a.CDATA_ENDING_2:K===">"?(w.cdata&&q(w,"oncdata",w.cdata),q(w,"onclosecdata"),w.cdata="",w.state=a.TEXT):K==="]"?w.cdata+="]":(w.cdata+="]]"+K,w.state=a.CDATA);continue;case a.PROC_INST:K==="?"?w.state=a.PROC_INST_ENDING:_(K)?w.state=a.PROC_INST_BODY:w.procInstName+=K;continue;case a.PROC_INST_BODY:if(!w.procInstBody&&_(K))continue;K==="?"?w.state=a.PROC_INST_ENDING:w.procInstBody+=K;continue;case a.PROC_INST_ENDING:K===">"?(q(w,"onprocessinginstruction",{name:w.procInstName,body:w.procInstBody}),w.procInstName=w.procInstBody="",w.state=a.TEXT):(w.procInstBody+="?"+K,w.state=a.PROC_INST_BODY);continue;case a.OPEN_TAG:N(ce,K)?w.tagName+=K:(W(w),K===">"?M(w):K==="/"?w.state=a.OPEN_TAG_SLASH:(_(K)||$(w,"Invalid character in tag name"),w.state=a.ATTRIB));continue;case a.OPEN_TAG_SLASH:K===">"?(M(w,!0),U(w)):($(w,"Forward-slash in opening tag not followed by >"),w.state=a.ATTRIB);continue;case a.ATTRIB:if(_(K))continue;K===">"?M(w):K==="/"?w.state=a.OPEN_TAG_SLASH:N(te,K)?(w.attribName=K,w.attribValue="",w.state=a.ATTRIB_NAME):$(w,"Invalid attribute name");continue;case a.ATTRIB_NAME:K==="="?w.state=a.ATTRIB_VALUE:K===">"?($(w,"Attribute without value"),w.attribValue=w.attribName,I(w),M(w)):_(K)?w.state=a.ATTRIB_NAME_SAW_WHITE:N(ce,K)?w.attribName+=K:$(w,"Invalid attribute name");continue;case a.ATTRIB_NAME_SAW_WHITE:if(K==="=")w.state=a.ATTRIB_VALUE;else{if(_(K))continue;$(w,"Attribute without value"),w.tag.attributes[w.attribName]="",w.attribValue="",q(w,"onattribute",{name:w.attribName,value:""}),w.attribName="",K===">"?M(w):N(te,K)?(w.attribName=K,w.state=a.ATTRIB_NAME):($(w,"Invalid attribute name"),w.state=a.ATTRIB)}continue;case a.ATTRIB_VALUE:if(_(K))continue;j(K)?(w.q=K,w.state=a.ATTRIB_VALUE_QUOTED):($(w,"Unquoted attribute value"),w.state=a.ATTRIB_VALUE_UNQUOTED,w.attribValue=K);continue;case a.ATTRIB_VALUE_QUOTED:if(K!==w.q){K==="&"?w.state=a.ATTRIB_VALUE_ENTITY_Q:w.attribValue+=K;continue}I(w),w.q="",w.state=a.ATTRIB_VALUE_CLOSED;continue;case a.ATTRIB_VALUE_CLOSED:_(K)?w.state=a.ATTRIB:K===">"?M(w):K==="/"?w.state=a.OPEN_TAG_SLASH:N(te,K)?($(w,"No whitespace between attributes"),w.attribName=K,w.attribValue="",w.state=a.ATTRIB_NAME):$(w,"Invalid attribute name");continue;case a.ATTRIB_VALUE_UNQUOTED:if(!D(K)){K==="&"?w.state=a.ATTRIB_VALUE_ENTITY_U:w.attribValue+=K;continue}I(w),K===">"?M(w):w.state=a.ATTRIB;continue;case a.CLOSE_TAG:if(w.tagName)K===">"?U(w):N(ce,K)?w.tagName+=K:w.script?(w.script+="</"+w.tagName,w.tagName="",w.state=a.SCRIPT):(_(K)||$(w,"Invalid tagname in closing tag"),w.state=a.CLOSE_TAG_SAW_WHITE);else{if(_(K))continue;L(te,K)?w.script?(w.script+="</"+K,w.state=a.SCRIPT):$(w,"Invalid tagname in closing tag."):w.tagName=K}continue;case a.CLOSE_TAG_SAW_WHITE:if(_(K))continue;K===">"?U(w):$(w,"Invalid characters in closing tag");continue;case a.TEXT_ENTITY:case a.ATTRIB_VALUE_ENTITY_Q:case a.ATTRIB_VALUE_ENTITY_U:var ve,_e;switch(w.state){case a.TEXT_ENTITY:ve=a.TEXT,_e="textNode";break;case a.ATTRIB_VALUE_ENTITY_Q:ve=a.ATTRIB_VALUE_QUOTED,_e="attribValue";break;case a.ATTRIB_VALUE_ENTITY_U:ve=a.ATTRIB_VALUE_UNQUOTED,_e="attribValue"}K===";"?(w[_e]+=H(w),w.entity="",w.state=ve):N(w.entity.length?t:k,K)?w.entity+=K:($(w,"Invalid character in entity name"),w[_e]+="&"+w.entity+K,w.entity="",w.state=ve);continue;default:throw new Error(w,"Unknown state: "+w.state)}return w.position>=w.bufferCheckPosition&&S(w),w}f.parser=function(y,w){return new T(y,w)},f.SAXParser=T,f.SAXStream=C,f.createStream=O,f.MAX_BUFFER_LENGTH=65536;var ue=["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"],E.default||(Object.create=function(y){function w(){}return w.prototype=y,new w}),l.default||(Object.keys=function(y){var w=[];for(var z in y)y.hasOwnProperty(z)&&w.push(z);return w}),T.prototype={end:function(){ee(this)},write:ne,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){b(this)}};var de;try{de=n("stream").Stream}catch(y){de=function(){}}var Q=f.EVENTS.filter(function(y){return y!=="error"&&y!=="end"});C.prototype=(0,E.default)(de.prototype,{constructor:{value:C}}),C.prototype.write=function(y){if(typeof h=="function"&&typeof h.isBuffer=="function"&&h.isBuffer(y)){if(!this._decoder){var w=n("string_decoder").StringDecoder;this._decoder=new w("utf8")}y=this._decoder.write(y)}return this._parser.write(y.toString()),this.emit("data",y),!0},C.prototype.end=function(y){return y&&y.length&&this.write(y),this._parser.end(),!0},C.prototype.on=function(y,w){var z=this;return z._parser["on"+y]||Q.indexOf(y)===-1||(z._parser["on"+y]=function(){var K=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);K.splice(0,0,y),z.emit.apply(z,K)}),de.prototype.on.call(z,y,w)};var J="[CDATA[",ie="DOCTYPE",V="http://www.w3.org/XML/1998/namespace",X="http://www.w3.org/2000/xmlns/",re={xml:V,xmlns:X},te=/[:_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]/,ce=/[:_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-]/,k=/[#:_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-]/,a=0;f.STATE={BEGIN:a++,BEGIN_WHITESPACE:a++,TEXT:a++,TEXT_ENTITY:a++,OPEN_WAKA:a++,SGML_DECL:a++,SGML_DECL_QUOTED:a++,DOCTYPE:a++,DOCTYPE_QUOTED:a++,DOCTYPE_DTD:a++,DOCTYPE_DTD_QUOTED:a++,COMMENT_STARTING:a++,COMMENT:a++,COMMENT_ENDING:a++,COMMENT_ENDED:a++,CDATA:a++,CDATA_ENDING:a++,CDATA_ENDING_2:a++,PROC_INST:a++,PROC_INST_BODY:a++,PROC_INST_ENDING:a++,OPEN_TAG:a++,OPEN_TAG_SLASH:a++,ATTRIB:a++,ATTRIB_NAME:a++,ATTRIB_NAME_SAW_WHITE:a++,ATTRIB_VALUE:a++,ATTRIB_VALUE_QUOTED:a++,ATTRIB_VALUE_CLOSED:a++,ATTRIB_VALUE_UNQUOTED:a++,ATTRIB_VALUE_ENTITY_Q:a++,ATTRIB_VALUE_ENTITY_U:a++,CLOSE_TAG:a++,CLOSE_TAG_SAW_WHITE:a++,SCRIPT:a++,SCRIPT_ENDING:a++},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 w=f.ENTITIES[y],z=typeof w=="number"?String.fromCharCode(w):w;f.ENTITIES[y]=z});for(var P in f.STATE)f.STATE[f.STATE[P]]=P;a=f.STATE,s.default||function(){var y=String.fromCharCode,w=Math.floor,z=function(){var fe,le,ve=[],_e=-1,ye=arguments.length;if(!ye)return"";for(var he="";++_e<ye;){var oe=Number(arguments[_e]);if(!isFinite(oe)||oe<0||oe>1114111||w(oe)!==oe)throw RangeError("Invalid code point: "+oe);oe<=65535?ve.push(oe):(oe-=65536,fe=55296+(oe>>10),le=oe%1024+56320,ve.push(fe,le)),(_e+1===ye||ve.length>16384)&&(he+=y.apply(null,ve),ve.length=0)}return he};c.default?Object.defineProperty(String,"fromCodePoint",{value:z,configurable:!0,writable:!0}):String.fromCodePoint=z}()}(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,A,v){function h(){g.call(this)}A.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,s){function p(x){i.writable&&i.write(x)===!1&&d.pause&&d.pause()}function u(){d.readable&&d.resume&&d.resume()}function e(){l||(l=!0,i.end())}function o(){l||(l=!0,typeof i.destroy=="function"&&i.destroy())}function r(x){if(c(),g.listenerCount(this,"error")===0)throw x}function c(){d.removeListener("data",p),i.removeListener("drain",u),d.removeListener("end",e),d.removeListener("close",o),d.removeListener("error",r),i.removeListener("error",r),d.removeListener("end",c),d.removeListener("close",c),i.removeListener("close",c)}var d=this;d.on("data",p),i.on("drain",u),i._isStdio||s&&s.end===!1||(d.on("end",e),d.on("close",o));var l=!1;return d.on("error",r),i.on("error",r),d.on("end",c),d.on("close",c),i.on("close",c),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,A,v){(function(h){var g=n("./lib/request"),i=n("./lib/response"),s=n("xtend"),p=n("builtin-status-codes"),u=n("url"),e=v;e.request=function(o,r){o=typeof o=="string"?u.parse(o):s(o);var c=h.location.protocol.search(/^https?:$/)===-1?"http:":"",d=o.protocol||c,l=o.hostname||o.host,x=o.port,E=o.path||"/";l&&l.indexOf(":")!==-1&&(l="["+l+"]"),o.url=(l?d+"//"+l:"")+(x?":"+x:"")+E,o.method=(o.method||"GET").toUpperCase(),o.headers=o.headers||{};var f=new g(o);return r&&f.on("response",r),f},e.get=function(o,r){var c=e.request(o,r);return c.end(),c},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,A,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(o){p=null}}else p=null;return p}function i(o){var r=g();if(!r)return!1;try{return r.responseType=o,r.responseType===o}catch(c){}return!1}function s(o){return typeof o=="function"}v.fetch=s(h.fetch)&&s(h.ReadableStream),v.writableStream=s(h.WritableStream),v.abortController=s(h.AbortController),v.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),v.blobConstructor=!0}catch(o){}var p,u=h.ArrayBuffer!==void 0,e=u&&s(h.ArrayBuffer.prototype.slice);v.arraybuffer=v.fetch||u&&i("arraybuffer"),v.msstream=!v.fetch&&e&&i("ms-stream"),v.mozchunkedarraybuffer=!v.fetch&&u&&i("moz-chunked-arraybuffer"),v.overrideMimeType=v.fetch||!!g()&&s(g().overrideMimeType),v.vbArray=s(h.VBArray),p=null}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],198:[function(n,A,v){(function(h,g,i){"use strict";function s(S,m){return o.fetch&&m?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&S?"arraybuffer":o.vbArray&&S?"text:vbarray":"text"}function p(S){try{var m=S.status;return m!==null&&m!==0}catch(b){return!1}}var u=n("babel-runtime/core-js/object/keys"),e=function(S){return S&&S.__esModule?S:{default:S}}(u),o=n("./capability"),r=n("inherits"),c=n("./response"),d=n("readable-stream"),l=n("to-arraybuffer"),x=c.IncomingMessage,E=c.readyStates,f=A.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(C){m.setHeader(C,S.headers[C])});var b,O=!0;if(S.mode==="disable-fetch"||"requestTimeout"in S&&!o.abortController)O=!1,b=!0;else if(S.mode==="prefer-streaming")b=!1;else if(S.mode==="allow-wrong-content-type")b=!o.overrideMimeType;else{if(S.mode&&S.mode!=="default"&&S.mode!=="prefer-fast")throw new Error("Invalid value for opts.mode");b=!0}m._mode=s(b,O),m._fetchTimer=null,m.on("finish",function(){m._onFinish()})};r(f,d.Writable),f.prototype.setHeader=function(S,m){var b=this,O=S.toLowerCase();T.indexOf(O)===-1&&(b._headers[O]={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,b=S._headers,O=null;m.method!=="GET"&&m.method!=="HEAD"&&(O=o.arraybuffer?l(i.concat(S._body)):o.blobConstructor?new g.Blob(S._body.map(function(N){return l(N)}),{type:(b["content-type"]||{}).value||""}):i.concat(S._body).toString());var C=[];if((0,e.default)(b).forEach(function(N){var L=b[N].name,B=b[N].value;Array.isArray(B)?B.forEach(function(q){C.push([L,q])}):C.push([L,B])}),S._mode==="fetch"){var _=null;if(o.abortController){var j=new AbortController;_=j.signal,S._fetchAbortController=j,"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:C,body:O||void 0,mode:"cors",credentials:m.withCredentials?"include":"same-origin",signal:_}).then(function(N){S._fetchResponse=N,S._connect()},function(N){g.clearTimeout(S._fetchTimer),S._destroyed||S.emit("error",N)})}else{var D=S._xhr=new g.XMLHttpRequest;try{D.open(S._opts.method,S._opts.url,!0)}catch(N){return void h.nextTick(function(){S.emit("error",N)})}"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")}),C.forEach(function(N){D.setRequestHeader(N[0],N[1])}),S._response=null,D.onreadystatechange=function(){switch(D.readyState){case E.LOADING:case E.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(O)}catch(N){return void h.nextTick(function(){S.emit("error",N)})}}}},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 x(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,b){this._body.push(S),b()},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,b){var O=this;typeof S=="function"&&(b=S,S=void 0),d.Writable.prototype.end.call(O,S,m,b)},f.prototype.flushHeaders=function(){},f.prototype.setTimeout=function(){},f.prototype.setNoDelay=function(){},f.prototype.setSocketKeepAlive=function(){};var T=["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,A,v){(function(h,g,i){"use strict";var s=n("babel-runtime/core-js/promise"),p=function(d){return d&&d.__esModule?d:{default:d}}(s),u=n("./capability"),e=n("inherits"),o=n("readable-stream"),r=v.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=v.IncomingMessage=function(d,l,x,E){var f=this;if(o.Readable.call(f),f._mode=x,f.headers={},f.rawHeaders=[],f.trailers={},f.rawTrailers=[],f.on("end",function(){h.nextTick(function(){f.emit("close")})}),x==="fetch"){if(f._fetchResponse=l,f.url=l.url,f.statusCode=l.status,f.statusMessage=l.statusText,l.headers.forEach(function(O,C){f.headers[C.toLowerCase()]=O,f.rawHeaders.push(C,O)}),u.writableStream){var T=new WritableStream({write:function(C){return new p.default(function(_,j){f._destroyed?j():f.push(new i(C))?_():f._resumeFetch=_})},close:function(){g.clearTimeout(E),f._destroyed||f.push(null)},abort:function(C){f._destroyed||f.emit("error",C)}});try{return void l.body.pipeTo(T).catch(function(O){g.clearTimeout(E),f._destroyed||f.emit("error",O)})}catch(O){}}var S=l.body.getReader();!function O(){S.read().then(function(C){if(!f._destroyed){if(C.done)return g.clearTimeout(E),void f.push(null);f.push(new i(C.value)),O()}}).catch(function(C){g.clearTimeout(E),f._destroyed||f.emit("error",C)})}()}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(O){var C=O.match(/^([^:]+):\s*(.*)/);if(C){var _=C[1].toLowerCase();_==="set-cookie"?(f.headers[_]===void 0&&(f.headers[_]=[]),f.headers[_].push(C[2])):f.headers[_]!==void 0?f.headers[_]+=", "+C[2]:f.headers[_]=C[2],f.rawHeaders.push(C[1],C[2])}}),f._charset="x-user-defined",!u.overrideMimeType){var m=f.rawHeaders["mime-type"];if(m){var b=m.match(/;\s*charset=([^;])(;|$)/);b&&(f._charset=b[1].toLowerCase())}f._charset||(f._charset="utf-8")}};e(c,o.Readable),c.prototype._read=function(){var d=this,l=d._resumeFetch;l&&(d._resumeFetch=null,l())},c.prototype._onXHRProgress=function(){var d=this,l=d._xhr,x=null;switch(d._mode){case"text:vbarray":if(l.readyState!==r.DONE)break;try{x=new g.VBArray(l.responseBody).toArray()}catch(m){}if(x!==null){d.push(new i(x));break}case"text":try{x=l.responseText}catch(m){d._mode="text:vbarray";break}if(x.length>d._pos){var E=x.substr(d._pos);if(d._charset==="x-user-defined"){for(var f=new i(E.length),T=0;T<E.length;T++)f[T]=255&E.charCodeAt(T);d.push(f)}else d.push(E,d._charset);d._pos=x.length}break;case"arraybuffer":if(l.readyState!==r.DONE||!l.response)break;x=l.response,d.push(new i(new Uint8Array(x)));break;case"moz-chunked-arraybuffer":if(x=l.response,l.readyState!==r.LOADING||!x)break;d.push(new i(new Uint8Array(x)));break;case"ms-stream":if(x=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(x)}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,A,v){"use strict";function h(m){if(!m)return"utf8";for(var b;;)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(b)return;m=(""+m).toLowerCase(),b=!0}}function g(m){var b=h(m);if(typeof b!="string"&&(T.isEncoding===S||!S(m)))throw new Error("Unknown encoding: "+m);return b||m}function i(m){this.encoding=g(m);var b;switch(this.encoding){case"utf16le":this.text=c,this.end=d,b=4;break;case"utf8":this.fillLast=e,b=4;break;case"base64":this.text=l,this.end=x,b=3;break;default:return this.write=E,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=T.allocUnsafe(b)}function s(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,b,O){var C=b.length-1;if(C<O)return 0;var _=s(b[C]);return _>=0?(_>0&&(m.lastNeed=_-1),_):--C<O||_===-2?0:(_=s(b[C]))>=0?(_>0&&(m.lastNeed=_-2),_):--C<O||_===-2?0:(_=s(b[C]),_>=0?(_>0&&(_===2?_=0:m.lastNeed=_-3),_):0)}function u(m,b,O){if((192&b[0])!=128)return m.lastNeed=0,"\u951F\uFFFD";if(m.lastNeed>1&&b.length>1){if((192&b[1])!=128)return m.lastNeed=1,"\u951F\uFFFD";if(m.lastNeed>2&&b.length>2&&(192&b[2])!=128)return m.lastNeed=2,"\u951F\uFFFD"}}function e(m){var b=this.lastTotal-this.lastNeed,O=u(this,m,b);return O!==void 0?O:this.lastNeed<=m.length?(m.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(m.copy(this.lastChar,b,0,m.length),void(this.lastNeed-=m.length))}function o(m,b){var O=p(this,m,b);if(!this.lastNeed)return m.toString("utf8",b);this.lastTotal=O;var C=m.length-(O-this.lastNeed);return m.copy(this.lastChar,0,C),m.toString("utf8",b,C)}function r(m){var b=m&&m.length?this.write(m):"";return this.lastNeed?b+"\u951F\uFFFD":b}function c(m,b){if((m.length-b)%2==0){var O=m.toString("utf16le",b);if(O){var C=O.charCodeAt(O.length-1);if(C>=55296&&C<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=m[m.length-2],this.lastChar[1]=m[m.length-1],O.slice(0,-1)}return O}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=m[m.length-1],m.toString("utf16le",b,m.length-1)}function d(m){var b=m&&m.length?this.write(m):"";if(this.lastNeed){var O=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,O)}return b}function l(m,b){var O=(m.length-b)%3;return O===0?m.toString("base64",b):(this.lastNeed=3-O,this.lastTotal=3,O===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",b,m.length-O))}function x(m){var b=m&&m.length?this.write(m):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function E(m){return m.toString(this.encoding)}function f(m){return m&&m.length?this.write(m):""}var T=n("safe-buffer").Buffer,S=T.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 b,O;if(this.lastNeed){if((b=this.fillLast(m))===void 0)return"";O=this.lastNeed,this.lastNeed=0}else O=0;return O<m.length?b?b+this.text(m,O):this.text(m,O):b||""},i.prototype.end=r,i.prototype.text=o,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,A,v){(function(h,g){function i(r,c){this._id=r,this._clearFn=c}var s=n("process/browser.js").nextTick,p=Function.prototype.apply,u=Array.prototype.slice,e={},o=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,c){clearTimeout(r._idleTimeoutId),r._idleTimeout=c},v.unenroll=function(r){clearTimeout(r._idleTimeoutId),r._idleTimeout=-1},v._unrefActive=v.active=function(r){clearTimeout(r._idleTimeoutId);var c=r._idleTimeout;c>=0&&(r._idleTimeoutId=setTimeout(function(){r._onTimeout&&r._onTimeout()},c))},v.setImmediate=typeof h=="function"?h:function(r){var c=o++,d=!(arguments.length<2)&&u.call(arguments,1);return e[c]=!0,s(function(){e[c]&&(d?r.apply(null,d):r.call(null),v.clearImmediate(c))}),c},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,A,v){var h=n("buffer").Buffer;A.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),s=g.length,p=0;p<s;p++)i[p]=g[p];return i.buffer}throw new Error("Argument must be a Buffer")}},{buffer:38}],203:[function(n,A,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(_,j,D){if(_&&e.isObject(_)&&_ instanceof h)return _;var N=new h;return N.parse(_,j,D),N}function i(_){return e.isString(_)&&(_=g(_)),_ instanceof h?_.format():h.prototype.format.call(_)}function s(_,j){return g(_,!1,!0).resolve(j)}function p(_,j){return _?g(_,!1,!0).resolveObject(j):j}var u=n("punycode"),e=n("./util");v.parse=g,v.resolve=s,v.resolveObject=p,v.format=i,v.Url=h;var o=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r",`
`," "],l=["{","}","|","\\","^","`"].concat(d),x=["'"].concat(l),E=["%","/","?",";","#"].concat(x),f=["/","?","#"],T=/^[+a-z0-9A-Z_-]{0,63}$/,S=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},C=n("querystring");h.prototype.parse=function(_,j,D){if(!e.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var N=_.indexOf("?"),L=N!==-1&&N<_.indexOf("#")?"?":"#",B=_.split(L),q=/\\/g;B[0]=B[0].replace(q,"/"),_=B.join(L);var G=_;if(G=G.trim(),!D&&_.split("#").length===1){var Z=c.exec(G);if(Z)return this.path=G,this.href=G,this.pathname=Z[1],Z[2]?(this.search=Z[2],this.query=j?C.parse(this.search.substr(1)):this.search.substr(1)):j&&(this.search="",this.query={}),this}var F=o.exec(G);if(F){F=F[0];var ee=F.toLowerCase();this.protocol=ee,G=G.substr(F.length)}if(D||F||G.match(/^\/\/[^@\/]+@[^@\/]+/)){var $=G.substr(0,2)==="//";!$||F&&b[F]||(G=G.substr(2),this.slashes=!0)}if(!b[F]&&($||F&&!O[F])){for(var W=-1,R=0;R<f.length;R++){var I=G.indexOf(f[R]);I!==-1&&(W===-1||I<W)&&(W=I)}var M,U;U=W===-1?G.lastIndexOf("@"):G.lastIndexOf("@",W),U!==-1&&(M=G.slice(0,U),G=G.slice(U+1),this.auth=decodeURIComponent(M)),W=-1;for(var R=0;R<E.length;R++){var I=G.indexOf(E[R]);I!==-1&&(W===-1||I<W)&&(W=I)}W===-1&&(W=G.length),this.host=G.slice(0,W),G=G.slice(W),this.parseHost(),this.hostname=this.hostname||"";var H=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!H)for(var Y=this.hostname.split(/\./),R=0,ae=Y.length;R<ae;R++){var ne=Y[R];if(ne&&!ne.match(T)){for(var ue="",de=0,Q=ne.length;de<Q;de++)ne.charCodeAt(de)>127?ue+="x":ue+=ne[de];if(!ue.match(T)){var J=Y.slice(0,R),ie=Y.slice(R+1),V=ne.match(S);V&&(J.push(V[1]),ie.unshift(V[2])),ie.length&&(G="/"+ie.join(".")+G),this.hostname=J.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),H||(this.hostname=u.toASCII(this.hostname));var X=this.port?":"+this.port:"",re=this.hostname||"";this.host=re+X,this.href+=this.host,H&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),G[0]!=="/"&&(G="/"+G))}if(!m[ee])for(var R=0,ae=x.length;R<ae;R++){var te=x[R];if(G.indexOf(te)!==-1){var ce=encodeURIComponent(te);ce===te&&(ce=escape(te)),G=G.split(te).join(ce)}}var k=G.indexOf("#");k!==-1&&(this.hash=G.substr(k),G=G.slice(0,k));var t=G.indexOf("?");if(t!==-1?(this.search=G.substr(t),this.query=G.substr(t+1),j&&(this.query=C.parse(this.query)),G=G.slice(0,t)):j&&(this.search="",this.query={}),G&&(this.pathname=G),O[ee]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var X=this.pathname||"",a=this.search||"";this.path=X+a}return this.href=this.format(),this},h.prototype.format=function(){var _=this.auth||"";_&&(_=encodeURIComponent(_),_=_.replace(/%3A/i,":"),_+="@");var j=this.protocol||"",D=this.pathname||"",N=this.hash||"",L=!1,B="";this.host?L=_+this.host:this.hostname&&(L=_+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(L+=":"+this.port)),this.query&&e.isObject(this.query)&&Object.keys(this.query).length&&(B=C.stringify(this.query));var q=this.search||B&&"?"+B||"";return j&&j.substr(-1)!==":"&&(j+=":"),this.slashes||(!j||O[j])&&L!==!1?(L="//"+(L||""),D&&D.charAt(0)!=="/"&&(D="/"+D)):L||(L=""),N&&N.charAt(0)!=="#"&&(N="#"+N),q&&q.charAt(0)!=="?"&&(q="?"+q),D=D.replace(/[?#]/g,function(G){return encodeURIComponent(G)}),q=q.replace("#","%23"),j+L+D+q+N},h.prototype.resolve=function(_){return this.resolveObject(g(_,!1,!0)).format()},h.prototype.resolveObject=function(_){if(e.isString(_)){var j=new h;j.parse(_,!1,!0),_=j}for(var D=new h,N=Object.keys(this),L=0;L<N.length;L++){var B=N[L];D[B]=this[B]}if(D.hash=_.hash,_.href==="")return D.href=D.format(),D;if(_.slashes&&!_.protocol){for(var q=Object.keys(_),G=0;G<q.length;G++){var Z=q[G];Z!=="protocol"&&(D[Z]=_[Z])}return O[D.protocol]&&D.hostname&&!D.pathname&&(D.path=D.pathname="/"),D.href=D.format(),D}if(_.protocol&&_.protocol!==D.protocol){if(!O[_.protocol]){for(var F=Object.keys(_),ee=0;ee<F.length;ee++){var $=F[ee];D[$]=_[$]}return D.href=D.format(),D}if(D.protocol=_.protocol,_.host||b[_.protocol])D.pathname=_.pathname;else{for(var ae=(_.pathname||"").split("/");ae.length&&!(_.host=ae.shift()););_.host||(_.host=""),_.hostname||(_.hostname=""),ae[0]!==""&&ae.unshift(""),ae.length<2&&ae.unshift(""),D.pathname=ae.join("/")}if(D.search=_.search,D.query=_.query,D.host=_.host||"",D.auth=_.auth,D.hostname=_.hostname||_.host,D.port=_.port,D.pathname||D.search){var W=D.pathname||"",R=D.search||"";D.path=W+R}return D.slashes=D.slashes||_.slashes,D.href=D.format(),D}var I=D.pathname&&D.pathname.charAt(0)==="/",M=_.host||_.pathname&&_.pathname.charAt(0)==="/",U=M||I||D.host&&_.pathname,H=U,Y=D.pathname&&D.pathname.split("/")||[],ae=_.pathname&&_.pathname.split("/")||[],ne=D.protocol&&!O[D.protocol];if(ne&&(D.hostname="",D.port=null,D.host&&(Y[0]===""?Y[0]=D.host:Y.unshift(D.host)),D.host="",_.protocol&&(_.hostname=null,_.port=null,_.host&&(ae[0]===""?ae[0]=_.host:ae.unshift(_.host)),_.host=null),U=U&&(ae[0]===""||Y[0]==="")),M)D.host=_.host||_.host===""?_.host:D.host,D.hostname=_.hostname||_.hostname===""?_.hostname:D.hostname,D.search=_.search,D.query=_.query,Y=ae;else if(ae.length)Y||(Y=[]),Y.pop(),Y=Y.concat(ae),D.search=_.search,D.query=_.query;else if(!e.isNullOrUndefined(_.search)){if(ne){D.hostname=D.host=Y.shift();var ue=!!(D.host&&D.host.indexOf("@")>0)&&D.host.split("@");ue&&(D.auth=ue.shift(),D.host=D.hostname=ue.shift())}return D.search=_.search,D.query=_.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(!Y.length)return D.pathname=null,D.search?D.path="/"+D.search:D.path=null,D.href=D.format(),D;for(var de=Y.slice(-1)[0],Q=(D.host||_.host||Y.length>1)&&(de==="."||de==="..")||de==="",J=0,ie=Y.length;ie>=0;ie--)de=Y[ie],de==="."?Y.splice(ie,1):de===".."?(Y.splice(ie,1),J++):J&&(Y.splice(ie,1),J--);if(!U&&!H)for(;J--;J)Y.unshift("..");!U||Y[0]===""||Y[0]&&Y[0].charAt(0)==="/"||Y.unshift(""),Q&&Y.join("/").substr(-1)!=="/"&&Y.push("");var V=Y[0]===""||Y[0]&&Y[0].charAt(0)==="/";if(ne){D.hostname=D.host=V?"":Y.length?Y.shift():"";var ue=!!(D.host&&D.host.indexOf("@")>0)&&D.host.split("@");ue&&(D.auth=ue.shift(),D.host=D.hostname=ue.shift())}return U=U||D.host&&Y.length,U&&!V&&Y.unshift(""),Y.length?D.pathname=Y.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=_.auth||D.auth,D.slashes=D.slashes||_.slashes,D.href=D.format(),D},h.prototype.parseHost=function(){var _=this.host,j=r.exec(_);j&&(j=j[0],j!==":"&&(this.port=j.substr(1)),_=_.substr(0,_.length-j.length)),_&&(this.hostname=_)}},{"./util":204,punycode:174,querystring:177}],204:[function(n,A,v){"use strict";A.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,A,v){(function(h){function g(s,p){function u(){if(!e){if(i("throwDeprecation"))throw new Error(p);i("traceDeprecation")?console.trace(p):console.warn(p),e=!0}return s.apply(this,arguments)}if(i("noDeprecation"))return s;var e=!1;return u}function i(s){try{if(!h.localStorage)return!1}catch(u){return!1}var p=h.localStorage[s];return p!=null&&String(p).toLowerCase()==="true"}A.exports=g}).call(this,typeof Pe!="undefined"?Pe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],206:[function(n,A,v){A.exports=function(h){return h&&typeof h=="object"&&typeof h.copy=="function"&&typeof h.fill=="function"&&typeof h.readUInt8=="function"}},{}],207:[function(n,A,v){(function(h,g){function i(R,I){var M={seen:[],stylize:p};return arguments.length>=3&&(M.depth=arguments[2]),arguments.length>=4&&(M.colors=arguments[3]),E(I)?M.showHidden=I:I&&v._extend(M,I),O(M.showHidden)&&(M.showHidden=!1),O(M.depth)&&(M.depth=2),O(M.colors)&&(M.colors=!1),O(M.customInspect)&&(M.customInspect=!0),M.colors&&(M.stylize=s),e(M,R,M.depth)}function s(R,I){var M=i.styles[I];return M?"["+i.colors[M][0]+"m"+R+"["+i.colors[M][1]+"m":R}function p(R,I){return R}function u(R){var I={};return R.forEach(function(M,U){I[M]=!0}),I}function e(R,I,M){if(R.customInspect&&I&&N(I.inspect)&&I.inspect!==v.inspect&&(!I.constructor||I.constructor.prototype!==I)){var U=I.inspect(M,R);return m(U)||(U=e(R,U,M)),U}var H=o(R,I);if(H)return H;var Y=Object.keys(I),ae=u(Y);if(R.showHidden&&(Y=Object.getOwnPropertyNames(I)),D(I)&&(Y.indexOf("message")>=0||Y.indexOf("description")>=0))return r(I);if(Y.length===0){if(N(I)){var ne=I.name?": "+I.name:"";return R.stylize("[Function"+ne+"]","special")}if(C(I))return R.stylize(RegExp.prototype.toString.call(I),"regexp");if(j(I))return R.stylize(Date.prototype.toString.call(I),"date");if(D(I))return r(I)}var ue="",de=!1,Q=["{","}"];if((x(I)&&(de=!0,Q=["[","]"]),N(I))&&(ue=" [Function"+(I.name?": "+I.name:"")+"]"),C(I)&&(ue=" "+RegExp.prototype.toString.call(I)),j(I)&&(ue=" "+Date.prototype.toUTCString.call(I)),D(I)&&(ue=" "+r(I)),Y.length===0&&(!de||I.length==0))return Q[0]+ue+Q[1];if(M<0)return C(I)?R.stylize(RegExp.prototype.toString.call(I),"regexp"):R.stylize("[Object]","special");R.seen.push(I);var J;return J=de?c(R,I,M,ae,Y):Y.map(function(ie){return d(R,I,M,ae,ie,de)}),R.seen.pop(),l(J,ue,Q)}function o(R,I){if(O(I))return R.stylize("undefined","undefined");if(m(I)){var M="'"+JSON.stringify(I).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return R.stylize(M,"string")}return S(I)?R.stylize(""+I,"number"):E(I)?R.stylize(""+I,"boolean"):f(I)?R.stylize("null","null"):void 0}function r(R){return"["+Error.prototype.toString.call(R)+"]"}function c(R,I,M,U,H){for(var Y=[],ae=0,ne=I.length;ae<ne;++ae)Z(I,String(ae))?Y.push(d(R,I,M,U,String(ae),!0)):Y.push("");return H.forEach(function(ue){ue.match(/^\d+$/)||Y.push(d(R,I,M,U,ue,!0))}),Y}function d(R,I,M,U,H,Y){var ae,ne,ue;if(ue=Object.getOwnPropertyDescriptor(I,H)||{value:I[H]},ue.get?ne=ue.set?R.stylize("[Getter/Setter]","special"):R.stylize("[Getter]","special"):ue.set&&(ne=R.stylize("[Setter]","special")),Z(U,H)||(ae="["+H+"]"),ne||(R.seen.indexOf(ue.value)<0?(ne=f(M)?e(R,ue.value,null):e(R,ue.value,M-1),ne.indexOf(`
`)>-1&&(ne=Y?ne.split(`
`).map(function(de){return" "+de}).join(`
`).substr(2):`
`+ne.split(`
`).map(function(de){return" "+de}).join(`
`))):ne=R.stylize("[Circular]","special")),O(ae)){if(Y&&H.match(/^\d+$/))return ne;ae=JSON.stringify(""+H),ae.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ae=ae.substr(1,ae.length-2),ae=R.stylize(ae,"name")):(ae=ae.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ae=R.stylize(ae,"string"))}return ae+": "+ne}function l(R,I,M){var U=0;return R.reduce(function(H,Y){return U++,Y.indexOf(`
`)>=0&&U++,H+Y.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?M[0]+(I===""?"":I+`
`)+" "+R.join(`,
`)+" "+M[1]:M[0]+I+" "+R.join(", ")+" "+M[1]}function x(R){return Array.isArray(R)}function E(R){return typeof R=="boolean"}function f(R){return R===null}function T(R){return R==null}function S(R){return typeof R=="number"}function m(R){return typeof R=="string"}function b(R){return typeof R=="symbol"}function O(R){return R===void 0}function C(R){return _(R)&&B(R)==="[object RegExp]"}function _(R){return typeof R=="object"&&R!==null}function j(R){return _(R)&&B(R)==="[object Date]"}function D(R){return _(R)&&(B(R)==="[object Error]"||R instanceof Error)}function N(R){return typeof R=="function"}function L(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 q(R){return R<10?"0"+R.toString(10):R.toString(10)}function G(){var R=new Date,I=[q(R.getHours()),q(R.getMinutes()),q(R.getSeconds())].join(":");return[R.getDate(),W[R.getMonth()],I].join(" ")}function Z(R,I){return Object.prototype.hasOwnProperty.call(R,I)}var F=/%[sdj%]/g;v.format=function(R){if(!m(R)){for(var I=[],M=0;M<arguments.length;M++)I.push(i(arguments[M]));return I.join(" ")}for(var M=1,U=arguments,H=U.length,Y=String(R).replace(F,function(ue){if(ue==="%%")return"%";if(M>=H)return ue;switch(ue){case"%s":return String(U[M++]);case"%d":return Number(U[M++]);case"%j":try{return JSON.stringify(U[M++])}catch(de){return"[Circular]"}default:return ue}}),ae=U[M];M<H;ae=U[++M])f(ae)||!_(ae)?Y+=" "+ae:Y+=" "+i(ae);return Y},v.deprecate=function(R,I){function M(){if(!U){if(h.throwDeprecation)throw new Error(I);h.traceDeprecation?console.trace(I):console.error(I),U=!0}return R.apply(this,arguments)}if(O(g.process))return function(){return v.deprecate(R,I).apply(this,arguments)};if(h.noDeprecation===!0)return R;var U=!1;return M};var ee,$={};v.debuglog=function(R){if(O(ee)&&(ee=h.env.NODE_DEBUG||""),R=R.toUpperCase(),!$[R])if(new RegExp("\\b"+R+"\\b","i").test(ee)){var I=h.pid;$[R]=function(){var M=v.format.apply(v,arguments);console.error("%s %d: %s",R,I,M)}}else $[R]=function(){};return $[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=x,v.isBoolean=E,v.isNull=f,v.isNullOrUndefined=T,v.isNumber=S,v.isString=m,v.isSymbol=b,v.isUndefined=O,v.isRegExp=C,v.isObject=_,v.isDate=j,v.isError=D,v.isFunction=N,v.isPrimitive=L,v.isBuffer=n("./support/isBuffer");var W=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];v.log=function(){console.log("%s - %s",G(),v.format.apply(v,arguments))},v.inherits=n("inherits"),v._extend=function(R,I){if(!I||!_(I))return R;for(var M=Object.keys(I),U=M.length;U--;)R[M[U]]=I[M[U]];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,A,v){"use strict";(function(){v.stripBOM=function(h){return h[0]==="\uFEFF"?h.substring(1):h}}).call(void 0)},{}],209:[function(n,A,v){"use strict";function h(u){return u&&u.__esModule?u:{default:u}}var g=n("babel-runtime/helpers/typeof"),i=h(g),s=n("babel-runtime/core-js/object/keys"),p=h(s);(function(){var u,e,o,r,c,d={}.hasOwnProperty;u=n("xmlbuilder"),e=n("./defaults").defaults,r=function(x){return typeof x=="string"&&(x.indexOf("&")>=0||x.indexOf(">")>=0||x.indexOf("<")>=0)},c=function(x){return"<![CDATA["+o(x)+"]]>"},o=function(x){return x.replace("]]>","]]]]><![CDATA[>")},v.Builder=function(){function l(x){var E,f,T;this.options={},f=e[.2];for(E in f)d.call(f,E)&&(T=f[E],this.options[E]=T);for(E in x)d.call(x,E)&&(T=x[E],this.options[E]=T)}return l.prototype.buildObject=function(x){var E,f,T,S,m;return E=this.options.attrkey,f=this.options.charkey,(0,p.default)(x).length===1&&this.options.rootName===e[.2].rootName?(m=(0,p.default)(x)[0],x=x[m]):m=this.options.rootName,T=function(b){return function(O,C){var _,j,D,N,L,B;if((C===void 0?"undefined":(0,i.default)(C))!=="object")b.options.cdata&&r(C)?O.raw(c(C)):O.txt(C);else if(Array.isArray(C)){for(N in C)if(d.call(C,N)){j=C[N];for(L in j)D=j[L],O=T(O.ele(L),D).up()}}else for(L in C)if(d.call(C,L))if(j=C[L],L===E){if((j===void 0?"undefined":(0,i.default)(j))==="object")for(_ in j)B=j[_],O=O.att(_,B)}else if(L===f)O=b.options.cdata&&r(j)?O.raw(c(j)):O.txt(j);else if(Array.isArray(j))for(N in j)d.call(j,N)&&(D=j[N],O=typeof D=="string"?b.options.cdata&&r(D)?O.ele(L).raw(c(D)).up():O.ele(L,D).up():T(O.ele(L),D).up());else(j===void 0?"undefined":(0,i.default)(j))==="object"?O=T(O.ele(L),j).up():typeof j=="string"&&b.options.cdata&&r(j)?O=O.ele(L).raw(c(j)).up():(j==null&&(j=""),O=O.ele(L,j.toString()).up());return O}}(this),S=u.create(m,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),T(S,x).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,A,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,A,v){"use strict";function h(o){return o&&o.__esModule?o:{default:o}}var g=n("babel-runtime/core-js/object/get-own-property-names"),i=h(g),s=n("babel-runtime/core-js/object/keys"),p=h(s),u=n("babel-runtime/helpers/typeof"),e=h(u);(function(){var o,r,c,d,l,x,E,f,T=function(O,C){return function(){return O.apply(C,arguments)}},S=function(O,C){function _(){this.constructor=O}for(var j in C)m.call(C,j)&&(O[j]=C[j]);return _.prototype=C.prototype,O.prototype=new _,O.__super__=C.prototype,O},m={}.hasOwnProperty;E=n("sax"),c=n("events"),o=n("./bom"),x=n("./processors"),f=n("timers").setImmediate,r=n("./defaults").defaults,d=function(O){return(O===void 0?"undefined":(0,e.default)(O))==="object"&&O!=null&&(0,p.default)(O).length===0},l=function(O,C,_){var j,D,N;for(j=0,D=O.length;j<D;j++)N=O[j],C=N(C,_);return C},v.Parser=function(b){function O(C){this.parseString=T(this.parseString,this),this.reset=T(this.reset,this),this.assignOrPush=T(this.assignOrPush,this),this.processAsync=T(this.processAsync,this);var _,j,D;if(!(this instanceof v.Parser))return new v.Parser(C);this.options={},j=r[.2];for(_ in j)m.call(j,_)&&(D=j[_],this.options[_]=D);for(_ in C)m.call(C,_)&&(D=C[_],this.options[_]=D);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(x.normalize)),this.reset()}return S(O,b),O.prototype.processAsync=function(){var C,_;try{return this.remaining.length<=this.options.chunkSize?(C=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(C),this.saxParser.close()):(C=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(C),f(this.processAsync))}catch(j){if(_=j,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(_)}},O.prototype.assignOrPush=function(C,_,j){return _ in C?(C[_]instanceof Array||(C[_]=[C[_]]),C[_].push(j)):this.options.explicitArray?C[_]=[j]:C[_]=j},O.prototype.reset=function(){var C,_,j,D;return this.removeAllListeners(),this.saxParser=E.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(N){return function(L){if(N.saxParser.resume(),!N.saxParser.errThrown)return N.saxParser.errThrown=!0,N.emit("error",L)}}(this),this.saxParser.onend=function(N){return function(){if(!N.saxParser.ended)return N.saxParser.ended=!0,N.emit("end",N.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,D=[],C=this.options.attrkey,_=this.options.charkey,this.saxParser.onopentag=function(N){return function(L){var B,q,G,Z,F;if(G={},G[_]="",!N.options.ignoreAttrs){F=L.attributes;for(B in F)m.call(F,B)&&(C in G||N.options.mergeAttrs||(G[C]={}),q=N.options.attrValueProcessors?l(N.options.attrValueProcessors,L.attributes[B],B):L.attributes[B],Z=N.options.attrNameProcessors?l(N.options.attrNameProcessors,B):B,N.options.mergeAttrs?N.assignOrPush(G,Z,q):G[C][Z]=q)}return G["#name"]=N.options.tagNameProcessors?l(N.options.tagNameProcessors,L.name):L.name,N.options.xmlns&&(G[N.options.xmlnskey]={uri:L.uri,local:L.local}),D.push(G)}}(this),this.saxParser.onclosetag=function(N){return function(){var L,B,q,G,Z,F,ee,$,W,R;if(F=D.pop(),Z=F["#name"],N.options.explicitChildren&&N.options.preserveChildrenOrder||delete F["#name"],F.cdata===!0&&(L=F.cdata,delete F.cdata),W=D[D.length-1],F[_].match(/^\s*$/)&&!L?(B=F[_],delete F[_]):(N.options.trim&&(F[_]=F[_].trim()),N.options.normalize&&(F[_]=F[_].replace(/\s{2,}/g," ").trim()),F[_]=N.options.valueProcessors?l(N.options.valueProcessors,F[_],Z):F[_],(0,p.default)(F).length===1&&_ in F&&!N.EXPLICIT_CHARKEY&&(F=F[_])),d(F)&&(F=N.options.emptyTag!==""?N.options.emptyTag:B),N.options.validator!=null&&(R="/"+function(){var I,M,U;for(U=[],I=0,M=D.length;I<M;I++)G=D[I],U.push(G["#name"]);return U}().concat(Z).join("/"),function(){var I;try{F=N.options.validator(R,W&&W[Z],F)}catch(M){return I=M,N.emit("error",I)}}()),N.options.explicitChildren&&!N.options.mergeAttrs&&(F===void 0?"undefined":(0,e.default)(F))==="object")if(N.options.preserveChildrenOrder){if(W){W[N.options.childkey]=W[N.options.childkey]||[],ee={};for(q in F)m.call(F,q)&&(ee[q]=F[q]);W[N.options.childkey].push(ee),delete F["#name"],(0,p.default)(F).length===1&&_ in F&&!N.EXPLICIT_CHARKEY&&(F=F[_])}}else G={},N.options.attrkey in F&&(G[N.options.attrkey]=F[N.options.attrkey],delete F[N.options.attrkey]),!N.options.charsAsChildren&&N.options.charkey in F&&(G[N.options.charkey]=F[N.options.charkey],delete F[N.options.charkey]),(0,i.default)(F).length>0&&(G[N.options.childkey]=F),F=G;return D.length>0?N.assignOrPush(W,Z,F):(N.options.explicitRoot&&($=F,F={},F[Z]=$),N.resultObject=F,N.saxParser.ended=!0,N.emit("end",N.resultObject))}}(this),j=function(N){return function(L){var B,q;if(q=D[D.length-1])return q[_]+=L,N.options.explicitChildren&&N.options.preserveChildrenOrder&&N.options.charsAsChildren&&(N.options.includeWhiteChars||L.replace(/\\n/g,"").trim()!=="")&&(q[N.options.childkey]=q[N.options.childkey]||[],B={"#name":"__text__"},B[_]=L,N.options.normalize&&(B[_]=B[_].replace(/\s{2,}/g," ").trim()),q[N.options.childkey].push(B)),q}}(this),this.saxParser.ontext=j,this.saxParser.oncdata=function(N){return function(L){var B;if(B=j(L))return B.cdata=!0}}()},O.prototype.parseString=function(C,_){var j;_!=null&&typeof _=="function"&&(this.on("end",function(D){return this.reset(),_(null,D)}),this.on("error",function(D){return this.reset(),_(D)}));try{return C=C.toString(),C.trim()===""?(this.emit("end",null),!0):(C=o.stripBOM(C),this.options.async?(this.remaining=C,f(this.processAsync),this.saxParser):this.saxParser.write(C).close())}catch(D){if(j=D,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",j),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw j}},O}(c.EventEmitter),v.parseString=function(b,O,C){var _,j,D;return C!=null?(typeof C=="function"&&(_=C),(O===void 0?"undefined":(0,e.default)(O))==="object"&&(j=O)):(typeof O=="function"&&(_=O),j={}),D=new v.Parser(j),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,A,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,A,v){"use strict";(function(){var h,g,i,s,p=function(o,r){function c(){this.constructor=o}for(var d in r)u.call(r,d)&&(o[d]=r[d]);return c.prototype=r.prototype,o.prototype=new c,o.__super__=r.prototype,o},u={}.hasOwnProperty;g=n("./defaults"),h=n("./builder"),i=n("./parser"),s=n("./processors"),v.defaults=g.defaults,v.processors=s,v.ValidationError=function(e){function o(r){this.message=r}return p(o,e),o}(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,A,v){"use strict";function h(o){return o&&o.__esModule?o:{default:o}}var g=n("babel-runtime/core-js/object/get-prototype-of"),i=h(g),s=n("babel-runtime/helpers/typeof"),p=h(s),u=n("babel-runtime/core-js/object/assign"),e=h(u);(function(){var o,r,c,d,l,x,E=[].slice,f={}.hasOwnProperty;o=function(){var S,m,b,O,C,_;if(_=arguments[0],C=2<=arguments.length?E.call(arguments,1):[],d(e.default))e.default.apply(null,arguments);else for(S=0,b=C.length;S<b;S++)if((O=C[S])!=null)for(m in O)f.call(O,m)&&(_[m]=O[m]);return _},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]"},c=function(S){var m;if(r(S))return!S.length;for(m in S)if(f.call(S,m))return!1;return!0},x=function(S){var m,b;return l(S)&&(b=(0,i.default)(S))&&(m=b.constructor)&&typeof m=="function"&&m instanceof m&&Function.prototype.toString.call(m)===Function.prototype.toString.call(Object)},A.exports.assign=o,A.exports.isFunction=d,A.exports.isObject=l,A.exports.isArray=r,A.exports.isEmpty=c,A.exports.isPlainObject=x}).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,A,v){"use strict";var h=n("babel-runtime/core-js/object/create"),g=function(i){return i&&i.__esModule?i:{default:i}}(h);(function(){A.exports=function(){function i(s,p,u){if(this.options=s.options,this.stringify=s.stringify,p==null)throw new Error("Missing attribute name of element "+s.name);if(u==null)throw new Error("Missing attribute value for attribute "+p+" of element "+s.name);this.name=this.stringify.attName(p),this.value=this.stringify.attValue(u)}return i.prototype.clone=function(){return(0,g.default)(this)},i.prototype.toString=function(s){return this.options.writer.set(s).attribute(this)},i}()}).call(void 0)},{"babel-runtime/core-js/object/create":19}],216:[function(n,A,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,s=function(e,o){function r(){this.constructor=e}for(var c in o)p.call(o,c)&&(e[c]=o[c]);return r.prototype=o.prototype,e.prototype=new r,e.__super__=o.prototype,e},p={}.hasOwnProperty;i=n("./XMLNode"),A.exports=function(u){function e(o,r){if(e.__super__.constructor.call(this,o),r==null)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(r)}return s(e,u),e.prototype.clone=function(){return(0,g.default)(this)},e.prototype.toString=function(o){return this.options.writer.set(o).cdata(this)},e}(i)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],217:[function(n,A,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,s=function(e,o){function r(){this.constructor=e}for(var c in o)p.call(o,c)&&(e[c]=o[c]);return r.prototype=o.prototype,e.prototype=new r,e.__super__=o.prototype,e},p={}.hasOwnProperty;i=n("./XMLNode"),A.exports=function(u){function e(o,r){if(e.__super__.constructor.call(this,o),r==null)throw new Error("Missing comment text");this.text=this.stringify.comment(r)}return s(e,u),e.prototype.clone=function(){return(0,g.default)(this)},e.prototype.toString=function(o){return this.options.writer.set(o).comment(this)},e}(i)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],218:[function(n,A,v){"use strict";(function(){var h,g=function(p,u){function e(){this.constructor=p}for(var o in u)i.call(u,o)&&(p[o]=u[o]);return e.prototype=u.prototype,p.prototype=new e,p.__super__=u.prototype,p},i={}.hasOwnProperty;h=n("./XMLNode"),A.exports=function(s){function p(u,e,o,r,c,d){if(p.__super__.constructor.call(this,u),e==null)throw new Error("Missing DTD element name");if(o==null)throw new Error("Missing DTD attribute name");if(!r)throw new Error("Missing DTD attribute type");if(!c)throw new Error("Missing DTD attribute default");if(c.indexOf("#")!==0&&(c="#"+c),!c.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");if(d&&!c.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(o),this.attributeType=this.stringify.dtdAttType(r),this.defaultValue=this.stringify.dtdAttDefault(d),this.defaultValueType=c}return g(p,s),p.prototype.toString=function(u){return this.options.writer.set(u).dtdAttList(this)},p}(h)}).call(void 0)},{"./XMLNode":227}],219:[function(n,A,v){"use strict";(function(){var h,g=function(p,u){function e(){this.constructor=p}for(var o in u)i.call(u,o)&&(p[o]=u[o]);return e.prototype=u.prototype,p.prototype=new e,p.__super__=u.prototype,p},i={}.hasOwnProperty;h=n("./XMLNode"),A.exports=function(s){function p(u,e,o){if(p.__super__.constructor.call(this,u),e==null)throw new Error("Missing DTD element name");o||(o="(#PCDATA)"),Array.isArray(o)&&(o="("+o.join(",")+")"),this.name=this.stringify.eleName(e),this.value=this.stringify.dtdElementValue(o)}return g(p,s),p.prototype.toString=function(u){return this.options.writer.set(u).dtdElement(this)},p}(h)}).call(void 0)},{"./XMLNode":227}],220:[function(n,A,v){"use strict";(function(){var h,g,i=function(u,e){function o(){this.constructor=u}for(var r in e)s.call(e,r)&&(u[r]=e[r]);return o.prototype=e.prototype,u.prototype=new o,u.__super__=e.prototype,u},s={}.hasOwnProperty;g=n("./Utility").isObject,h=n("./XMLNode"),A.exports=function(p){function u(e,o,r,c){if(u.__super__.constructor.call(this,e),r==null)throw new Error("Missing entity name");if(c==null)throw new Error("Missing entity value");if(this.pe=!!o,this.name=this.stringify.eleName(r),g(c)){if(!c.pubID&&!c.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(c.pubID&&!c.sysID)throw new Error("System identifier is required for a public external entity");if(c.pubID!=null&&(this.pubID=this.stringify.dtdPubID(c.pubID)),c.sysID!=null&&(this.sysID=this.stringify.dtdSysID(c.sysID)),c.nData!=null&&(this.nData=this.stringify.dtdNData(c.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity")}else this.value=this.stringify.dtdEntityValue(c)}return i(u,p),u.prototype.toString=function(e){return this.options.writer.set(e).dtdEntity(this)},u}(h)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],221:[function(n,A,v){"use strict";(function(){var h,g=function(p,u){function e(){this.constructor=p}for(var o in u)i.call(u,o)&&(p[o]=u[o]);return e.prototype=u.prototype,p.prototype=new e,p.__super__=u.prototype,p},i={}.hasOwnProperty;h=n("./XMLNode"),A.exports=function(s){function p(u,e,o){if(p.__super__.constructor.call(this,u),e==null)throw new Error("Missing notation name");if(!o.pubID&&!o.sysID)throw new Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(e),o.pubID!=null&&(this.pubID=this.stringify.dtdPubID(o.pubID)),o.sysID!=null&&(this.sysID=this.stringify.dtdSysID(o.sysID))}return g(p,s),p.prototype.toString=function(u){return this.options.writer.set(u).dtdNotation(this)},p}(h)}).call(void 0)},{"./XMLNode":227}],222:[function(n,A,v){"use strict";(function(){var h,g,i=function(u,e){function o(){this.constructor=u}for(var r in e)s.call(e,r)&&(u[r]=e[r]);return o.prototype=e.prototype,u.prototype=new o,u.__super__=e.prototype,u},s={}.hasOwnProperty;g=n("./Utility").isObject,h=n("./XMLNode"),A.exports=function(p){function u(e,o,r,c){var d;u.__super__.constructor.call(this,e),g(o)&&(d=o,o=d.version,r=d.encoding,c=d.standalone),o||(o="1.0"),this.version=this.stringify.xmlVersion(o),r!=null&&(this.encoding=this.stringify.xmlEncoding(r)),c!=null&&(this.standalone=this.stringify.xmlStandalone(c))}return i(u,p),u.prototype.toString=function(e){return this.options.writer.set(e).declaration(this)},u}(h)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],223:[function(n,A,v){"use strict";(function(){var h,g,i,s,p,u,e=function(c,d){function l(){this.constructor=c}for(var x in d)o.call(d,x)&&(c[x]=d[x]);return l.prototype=d.prototype,c.prototype=new l,c.__super__=d.prototype,c},o={}.hasOwnProperty;u=n("./Utility").isObject,p=n("./XMLNode"),h=n("./XMLDTDAttList"),i=n("./XMLDTDEntity"),g=n("./XMLDTDElement"),s=n("./XMLDTDNotation"),A.exports=function(r){function c(d,l,x){var E,f;c.__super__.constructor.call(this,d),this.documentObject=d,u(l)&&(E=l,l=E.pubID,x=E.sysID),x==null&&(f=[l,x],x=f[0],l=f[1]),l!=null&&(this.pubID=this.stringify.dtdPubID(l)),x!=null&&(this.sysID=this.stringify.dtdSysID(x))}return e(c,r),c.prototype.element=function(d,l){var x;return x=new g(this,d,l),this.children.push(x),this},c.prototype.attList=function(d,l,x,E,f){var T;return T=new h(this,d,l,x,E,f),this.children.push(T),this},c.prototype.entity=function(d,l){var x;return x=new i(this,!1,d,l),this.children.push(x),this},c.prototype.pEntity=function(d,l){var x;return x=new i(this,!0,d,l),this.children.push(x),this},c.prototype.notation=function(d,l){var x;return x=new s(this,d,l),this.children.push(x),this},c.prototype.toString=function(d){return this.options.writer.set(d).docType(this)},c.prototype.ele=function(d,l){return this.element(d,l)},c.prototype.att=function(d,l,x,E,f){return this.attList(d,l,x,E,f)},c.prototype.ent=function(d,l){return this.entity(d,l)},c.prototype.pent=function(d,l){return this.pEntity(d,l)},c.prototype.not=function(d,l){return this.notation(d,l)},c.prototype.up=function(){return this.root()||this.documentObject},c}(p)}).call(void 0)},{"./Utility":214,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLNode":227}],224:[function(n,A,v){"use strict";(function(){var h,g,i,s,p=function(o,r){function c(){this.constructor=o}for(var d in r)u.call(r,d)&&(o[d]=r[d]);return c.prototype=r.prototype,o.prototype=new c,o.__super__=r.prototype,o},u={}.hasOwnProperty;s=n("./Utility").isPlainObject,h=n("./XMLNode"),i=n("./XMLStringifier"),g=n("./XMLStringWriter"),A.exports=function(e){function o(r){o.__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(o,e),o.prototype.end=function(r){var c;return r?s(r)&&(c=r,r=this.options.writer.set(c)):r=this.options.writer,r.document(this)},o.prototype.toString=function(r){return this.options.writer.set(r).document(this)},o}(h)}).call(void 0)},{"./Utility":214,"./XMLNode":227,"./XMLStringWriter":231,"./XMLStringifier":232}],225:[function(n,A,v){"use strict";(function(){var h,g,i,s,p,u,e,o,r,c,d,l,x,E,f,T,S,m,b,O={}.hasOwnProperty;b=n("./Utility"),S=b.isObject,T=b.isFunction,m=b.isPlainObject,c=n("./XMLElement"),g=n("./XMLCData"),i=n("./XMLComment"),l=n("./XMLRaw"),f=n("./XMLText"),d=n("./XMLProcessingInstruction"),o=n("./XMLDeclaration"),r=n("./XMLDocType"),s=n("./XMLDTDAttList"),u=n("./XMLDTDEntity"),p=n("./XMLDTDElement"),e=n("./XMLDTDNotation"),h=n("./XMLAttribute"),E=n("./XMLStringifier"),x=n("./XMLStringWriter"),A.exports=function(){function C(_,j,D){var N;_||(_={}),_.writer?m(_.writer)&&(N=_.writer,_.writer=new x(N)):_.writer=new x(_),this.options=_,this.writer=_.writer,this.stringify=new E(_),this.onDataCallback=j||function(){},this.onEndCallback=D||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return C.prototype.node=function(_,j,D){var N;if(_==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(),_=_.valueOf(),j==null&&(j={}),j=j.valueOf(),S(j)||(N=[j,D],D=N[0],j=N[1]),this.currentNode=new c(this,_,j),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,D!=null&&this.text(D),this},C.prototype.element=function(_,j,D){return this.currentNode&&this.currentNode instanceof r?this.dtdElement.apply(this,arguments):this.node(_,j,D)},C.prototype.attribute=function(_,j){var D,N;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode");if(_!=null&&(_=_.valueOf()),S(_))for(D in _)O.call(_,D)&&(N=_[D],this.attribute(D,N));else T(j)&&(j=j.apply()),this.options.skipNullAttributes&&j==null||(this.currentNode.attributes[_]=new h(this,_,j));return this},C.prototype.text=function(_){var j;return this.openCurrent(),j=new f(this,_),this.onData(this.writer.text(j,this.currentLevel+1)),this},C.prototype.cdata=function(_){var j;return this.openCurrent(),j=new g(this,_),this.onData(this.writer.cdata(j,this.currentLevel+1)),this},C.prototype.comment=function(_){var j;return this.openCurrent(),j=new i(this,_),this.onData(this.writer.comment(j,this.currentLevel+1)),this},C.prototype.raw=function(_){var j;return this.openCurrent(),j=new l(this,_),this.onData(this.writer.raw(j,this.currentLevel+1)),this},C.prototype.instruction=function(_,j){var D,N,L,B,q;if(this.openCurrent(),_!=null&&(_=_.valueOf()),j!=null&&(j=j.valueOf()),Array.isArray(_))for(D=0,B=_.length;D<B;D++)N=_[D],this.instruction(N);else if(S(_))for(N in _)O.call(_,N)&&(L=_[N],this.instruction(N,L));else T(j)&&(j=j.apply()),q=new d(this,_,j),this.onData(this.writer.processingInstruction(q,this.currentLevel+1));return this},C.prototype.declaration=function(_,j,D){var N;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node");return N=new o(this,_,j,D),this.onData(this.writer.declaration(N,this.currentLevel+1)),this},C.prototype.doctype=function(_,j,D){if(this.openCurrent(),_==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,j,D),this.currentNode.rootNodeName=_,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},C.prototype.dtdElement=function(_,j){var D;return this.openCurrent(),D=new p(this,_,j),this.onData(this.writer.dtdElement(D,this.currentLevel+1)),this},C.prototype.attList=function(_,j,D,N,L){var B;return this.openCurrent(),B=new s(this,_,j,D,N,L),this.onData(this.writer.dtdAttList(B,this.currentLevel+1)),this},C.prototype.entity=function(_,j){var D;return this.openCurrent(),D=new u(this,!1,_,j),this.onData(this.writer.dtdEntity(D,this.currentLevel+1)),this},C.prototype.pEntity=function(_,j){var D;return this.openCurrent(),D=new u(this,!0,_,j),this.onData(this.writer.dtdEntity(D,this.currentLevel+1)),this},C.prototype.notation=function(_,j){var D;return this.openCurrent(),D=new e(this,_,j),this.onData(this.writer.dtdNotation(D,this.currentLevel+1)),this},C.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},C.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},C.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},C.prototype.openNode=function(_){if(!_.isOpen)return!this.root&&this.currentLevel===0&&_ instanceof c&&(this.root=_),this.onData(this.writer.openNode(_,this.currentLevel)),_.isOpen=!0},C.prototype.closeNode=function(_){if(!_.isClosed)return this.onData(this.writer.closeNode(_,this.currentLevel)),_.isClosed=!0},C.prototype.onData=function(_){return this.documentStarted=!0,this.onDataCallback(_)},C.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},C.prototype.ele=function(){return this.element.apply(this,arguments)},C.prototype.nod=function(_,j,D){return this.node(_,j,D)},C.prototype.txt=function(_){return this.text(_)},C.prototype.dat=function(_){return this.cdata(_)},C.prototype.com=function(_){return this.comment(_)},C.prototype.ins=function(_,j){return this.instruction(_,j)},C.prototype.dec=function(_,j,D){return this.declaration(_,j,D)},C.prototype.dtd=function(_,j,D){return this.doctype(_,j,D)},C.prototype.e=function(_,j,D){return this.element(_,j,D)},C.prototype.n=function(_,j,D){return this.node(_,j,D)},C.prototype.t=function(_){return this.text(_)},C.prototype.d=function(_){return this.cdata(_)},C.prototype.c=function(_){return this.comment(_)},C.prototype.r=function(_){return this.raw(_)},C.prototype.i=function(_,j){return this.instruction(_,j)},C.prototype.att=function(){return this.currentNode&&this.currentNode instanceof r?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},C.prototype.a=function(){return this.currentNode&&this.currentNode instanceof r?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},C.prototype.ent=function(_,j){return this.entity(_,j)},C.prototype.pent=function(_,j){return this.pEntity(_,j)},C.prototype.not=function(_,j){return this.notation(_,j)},C}()}).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,A,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,s,p,u,e,o=function(d,l){function x(){this.constructor=d}for(var E in l)r.call(l,E)&&(d[E]=l[E]);return x.prototype=l.prototype,d.prototype=new x,d.__super__=l.prototype,d},r={}.hasOwnProperty;e=n("./Utility"),u=e.isObject,p=e.isFunction,s=n("./XMLNode"),i=n("./XMLAttribute"),A.exports=function(c){function d(l,x,E){if(d.__super__.constructor.call(this,l),x==null)throw new Error("Missing element name");this.name=this.stringify.eleName(x),this.attributes={},E!=null&&this.attribute(E),l.isDocument&&(this.isRoot=!0,this.documentObject=l,l.rootObject=this)}return o(d,c),d.prototype.clone=function(){var l,x,E,f;E=(0,g.default)(this),E.isRoot&&(E.documentObject=null),E.attributes={},f=this.attributes;for(x in f)r.call(f,x)&&(l=f[x],E.attributes[x]=l.clone());return E.children=[],this.children.forEach(function(T){var S;return S=T.clone(),S.parent=E,E.children.push(S)}),E},d.prototype.attribute=function(l,x){var E,f;if(l!=null&&(l=l.valueOf()),u(l))for(E in l)r.call(l,E)&&(f=l[E],this.attribute(E,f));else p(x)&&(x=x.apply()),this.options.skipNullAttributes&&x==null||(this.attributes[l]=new i(this,l,x));return this},d.prototype.removeAttribute=function(l){var x,E,f;if(l==null)throw new Error("Missing attribute name");if(l=l.valueOf(),Array.isArray(l))for(E=0,f=l.length;E<f;E++)x=l[E],delete this.attributes[x];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,x){return this.attribute(l,x)},d.prototype.a=function(l,x){return this.attribute(l,x)},d}(s)}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLNode":227,"babel-runtime/core-js/object/create":19}],227:[function(n,A,v){"use strict";(function(){var h,g,i,s,p,u,e,o,r,c,d,l,x={}.hasOwnProperty;l=n("./Utility"),d=l.isObject,c=l.isFunction,r=l.isEmpty,p=null,h=null,g=null,i=null,s=null,e=null,o=null,u=null,A.exports=function(){function E(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"),s=n("./XMLDocType"),e=n("./XMLRaw"),o=n("./XMLText"),u=n("./XMLProcessingInstruction"))}return E.prototype.element=function(f,T,S){var m,b,O,C,_,j,D,N,L,B;if(j=null,T==null&&(T={}),T=T.valueOf(),d(T)||(L=[T,S],S=L[0],T=L[1]),f!=null&&(f=f.valueOf()),Array.isArray(f))for(O=0,D=f.length;O<D;O++)b=f[O],j=this.element(b);else if(c(f))j=this.element(f.apply());else if(d(f)){for(_ in f)if(x.call(f,_))if(B=f[_],c(B)&&(B=B.apply()),d(B)&&r(B)&&(B=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&_.indexOf(this.stringify.convertAttKey)===0)j=this.attribute(_.substr(this.stringify.convertAttKey.length),B);else if(!this.options.separateArrayItems&&Array.isArray(B))for(C=0,N=B.length;C<N;C++)b=B[C],m={},m[_]=b,j=this.element(m);else d(B)?(j=this.element(_),j.element(B)):j=this.element(_,B)}else j=!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,T,S);if(j==null)throw new Error("Could not create any elements with: "+f);return j},E.prototype.insertBefore=function(f,T,S){var m,b,O;if(this.isRoot)throw new Error("Cannot insert elements at root level");return b=this.parent.children.indexOf(this),O=this.parent.children.splice(b),m=this.parent.element(f,T,S),Array.prototype.push.apply(this.parent.children,O),m},E.prototype.insertAfter=function(f,T,S){var m,b,O;if(this.isRoot)throw new Error("Cannot insert elements at root level");return b=this.parent.children.indexOf(this),O=this.parent.children.splice(b+1),m=this.parent.element(f,T,S),Array.prototype.push.apply(this.parent.children,O),m},E.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},E.prototype.node=function(f,T,S){var m,b;return f!=null&&(f=f.valueOf()),T||(T={}),T=T.valueOf(),d(T)||(b=[T,S],S=b[0],T=b[1]),m=new p(this,f,T),S!=null&&m.text(S),this.children.push(m),m},E.prototype.text=function(f){var T;return T=new o(this,f),this.children.push(T),this},E.prototype.cdata=function(f){var T;return T=new h(this,f),this.children.push(T),this},E.prototype.comment=function(f){var T;return T=new g(this,f),this.children.push(T),this},E.prototype.commentBefore=function(f){var T,S;return T=this.parent.children.indexOf(this),S=this.parent.children.splice(T),this.parent.comment(f),Array.prototype.push.apply(this.parent.children,S),this},E.prototype.commentAfter=function(f){var T,S;return T=this.parent.children.indexOf(this),S=this.parent.children.splice(T+1),this.parent.comment(f),Array.prototype.push.apply(this.parent.children,S),this},E.prototype.raw=function(f){var T;return T=new e(this,f),this.children.push(T),this},E.prototype.instruction=function(f,T){var S,m,b,O,C;if(f!=null&&(f=f.valueOf()),T!=null&&(T=T.valueOf()),Array.isArray(f))for(O=0,C=f.length;O<C;O++)S=f[O],this.instruction(S);else if(d(f))for(S in f)x.call(f,S)&&(m=f[S],this.instruction(S,m));else c(T)&&(T=T.apply()),b=new u(this,f,T),this.children.push(b);return this},E.prototype.instructionBefore=function(f,T){var S,m;return S=this.parent.children.indexOf(this),m=this.parent.children.splice(S),this.parent.instruction(f,T),Array.prototype.push.apply(this.parent.children,m),this},E.prototype.instructionAfter=function(f,T){var S,m;return S=this.parent.children.indexOf(this),m=this.parent.children.splice(S+1),this.parent.instruction(f,T),Array.prototype.push.apply(this.parent.children,m),this},E.prototype.declaration=function(f,T,S){var m,b;return m=this.document(),b=new i(m,f,T,S),m.children[0]instanceof i?m.children[0]=b:m.children.unshift(b),m.root()||m},E.prototype.doctype=function(f,T){var S,m,b,O,C,_,j,D,N,L;for(m=this.document(),b=new s(m,f,T),N=m.children,O=C=0,j=N.length;C<j;O=++C)if((S=N[O])instanceof s)return m.children[O]=b,b;for(L=m.children,O=_=0,D=L.length;_<D;O=++_)if(S=L[O],S.isRoot)return m.children.splice(O,0,b),b;return m.children.push(b),b},E.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},E.prototype.root=function(){var f;for(f=this;f;){if(f.isDocument)return f.rootObject;if(f.isRoot)return f;f=f.parent}},E.prototype.document=function(){var f;for(f=this;f;){if(f.isDocument)return f;f=f.parent}},E.prototype.end=function(f){return this.document().end(f)},E.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]},E.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]},E.prototype.importDocument=function(f){var T;return T=f.root().clone(),T.parent=this,T.isRoot=!1,this.children.push(T),this},E.prototype.ele=function(f,T,S){return this.element(f,T,S)},E.prototype.nod=function(f,T,S){return this.node(f,T,S)},E.prototype.txt=function(f){return this.text(f)},E.prototype.dat=function(f){return this.cdata(f)},E.prototype.com=function(f){return this.comment(f)},E.prototype.ins=function(f,T){return this.instruction(f,T)},E.prototype.doc=function(){return this.document()},E.prototype.dec=function(f,T,S){return this.declaration(f,T,S)},E.prototype.dtd=function(f,T){return this.doctype(f,T)},E.prototype.e=function(f,T,S){return this.element(f,T,S)},E.prototype.n=function(f,T,S){return this.node(f,T,S)},E.prototype.t=function(f){return this.text(f)},E.prototype.d=function(f){return this.cdata(f)},E.prototype.c=function(f){return this.comment(f)},E.prototype.r=function(f){return this.raw(f)},E.prototype.i=function(f,T){return this.instruction(f,T)},E.prototype.u=function(){return this.up()},E.prototype.importXMLBuilder=function(f){return this.importDocument(f)},E}()}).call(void 0)},{"./Utility":214,"./XMLCData":216,"./XMLComment":217,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233}],228:[function(n,A,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,s=function(e,o){function r(){this.constructor=e}for(var c in o)p.call(o,c)&&(e[c]=o[c]);return r.prototype=o.prototype,e.prototype=new r,e.__super__=o.prototype,e},p={}.hasOwnProperty;i=n("./XMLNode"),A.exports=function(u){function e(o,r,c){if(e.__super__.constructor.call(this,o),r==null)throw new Error("Missing instruction target");this.target=this.stringify.insTarget(r),c&&(this.value=this.stringify.insValue(c))}return s(e,u),e.prototype.clone=function(){return(0,g.default)(this)},e.prototype.toString=function(o){return this.options.writer.set(o).processingInstruction(this)},e}(i)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],229:[function(n,A,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,s=function(e,o){function r(){this.constructor=e}for(var c in o)p.call(o,c)&&(e[c]=o[c]);return r.prototype=o.prototype,e.prototype=new r,e.__super__=o.prototype,e},p={}.hasOwnProperty;i=n("./XMLNode"),A.exports=function(u){function e(o,r){if(e.__super__.constructor.call(this,o),r==null)throw new Error("Missing raw text");this.value=this.stringify.raw(r)}return s(e,u),e.prototype.clone=function(){return(0,g.default)(this)},e.prototype.toString=function(o){return this.options.writer.set(o).raw(this)},e}(i)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],230:[function(n,A,v){"use strict";(function(){var h,g,i,s,p,u,e,o,r,c,d,l,x,E=function(S,m){function b(){this.constructor=S}for(var O in m)f.call(m,O)&&(S[O]=m[O]);return b.prototype=m.prototype,S.prototype=new b,S.__super__=m.prototype,S},f={}.hasOwnProperty;e=n("./XMLDeclaration"),o=n("./XMLDocType"),h=n("./XMLCData"),g=n("./XMLComment"),r=n("./XMLElement"),d=n("./XMLRaw"),l=n("./XMLText"),c=n("./XMLProcessingInstruction"),i=n("./XMLDTDAttList"),s=n("./XMLDTDElement"),p=n("./XMLDTDEntity"),u=n("./XMLDTDNotation"),x=n("./XMLWriterBase"),A.exports=function(T){function S(m,b){S.__super__.constructor.call(this,b),this.stream=m}return E(S,T),S.prototype.document=function(m){var b,O,C,_,j,D,N,L;for(D=m.children,O=0,_=D.length;O<_;O++)b=D[O],b.isLastRootNode=!1;for(m.children[m.children.length-1].isLastRootNode=!0,N=m.children,L=[],C=0,j=N.length;C<j;C++)switch(b=N[C],!1){case!(b instanceof e):L.push(this.declaration(b));break;case!(b instanceof o):L.push(this.docType(b));break;case!(b instanceof g):L.push(this.comment(b));break;case!(b instanceof c):L.push(this.processingInstruction(b));break;default:L.push(this.element(b))}return L},S.prototype.attribute=function(m){return this.stream.write(" "+m.name+'="'+m.value+'"')},S.prototype.cdata=function(m,b){return this.stream.write(this.space(b)+"<![CDATA["+m.text+"]]>"+this.endline(m))},S.prototype.comment=function(m,b){return this.stream.write(this.space(b)+"<!-- "+m.text+" -->"+this.endline(m))},S.prototype.declaration=function(m,b){return this.stream.write(this.space(b)),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,b){var O,C,_,j;if(b||(b=0),this.stream.write(this.space(b)),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)),j=m.children,C=0,_=j.length;C<_;C++)switch(O=j[C],!1){case!(O instanceof i):this.dtdAttList(O,b+1);break;case!(O instanceof s):this.dtdElement(O,b+1);break;case!(O instanceof p):this.dtdEntity(O,b+1);break;case!(O instanceof u):this.dtdNotation(O,b+1);break;case!(O instanceof h):this.cdata(O,b+1);break;case!(O instanceof g):this.comment(O,b+1);break;case!(O instanceof c):this.processingInstruction(O,b+1);break;default:throw new Error("Unknown DTD node type: "+O.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(m))},S.prototype.element=function(m,b){var O,C,_,j,D,N,L,B;b||(b=0),B=this.space(b),this.stream.write(B+"<"+m.name),N=m.attributes;for(D in N)f.call(N,D)&&(O=N[D],this.attribute(O));if(m.children.length===0||m.children.every(function(q){return q.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),L=m.children,_=0,j=L.length;_<j;_++)switch(C=L[_],!1){case!(C instanceof h):this.cdata(C,b+1);break;case!(C instanceof g):this.comment(C,b+1);break;case!(C instanceof r):this.element(C,b+1);break;case!(C instanceof d):this.raw(C,b+1);break;case!(C instanceof l):this.text(C,b+1);break;case!(C instanceof c):this.processingInstruction(C,b+1);break;default:throw new Error("Unknown XML node type: "+C.constructor.name)}this.stream.write(B+"</"+m.name+">")}return this.stream.write(this.endline(m))},S.prototype.processingInstruction=function(m,b){return this.stream.write(this.space(b)+"<?"+m.target),m.value&&this.stream.write(" "+m.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(m))},S.prototype.raw=function(m,b){return this.stream.write(this.space(b)+m.value+this.endline(m))},S.prototype.text=function(m,b){return this.stream.write(this.space(b)+m.value+this.endline(m))},S.prototype.dtdAttList=function(m,b){return this.stream.write(this.space(b)+"<!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,b){return this.stream.write(this.space(b)+"<!ELEMENT "+m.name+" "+m.value),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},S.prototype.dtdEntity=function(m,b){return this.stream.write(this.space(b)+"<!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,b){return this.stream.write(this.space(b)+"<!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}(x)}).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,A,v){"use strict";(function(){var h,g,i,s,p,u,e,o,r,c,d,l,x,E=function(S,m){function b(){this.constructor=S}for(var O in m)f.call(m,O)&&(S[O]=m[O]);return b.prototype=m.prototype,S.prototype=new b,S.__super__=m.prototype,S},f={}.hasOwnProperty;e=n("./XMLDeclaration"),o=n("./XMLDocType"),h=n("./XMLCData"),g=n("./XMLComment"),r=n("./XMLElement"),d=n("./XMLRaw"),l=n("./XMLText"),c=n("./XMLProcessingInstruction"),i=n("./XMLDTDAttList"),s=n("./XMLDTDElement"),p=n("./XMLDTDEntity"),u=n("./XMLDTDNotation"),x=n("./XMLWriterBase"),A.exports=function(T){function S(m){S.__super__.constructor.call(this,m)}return E(S,T),S.prototype.document=function(m){var b,O,C,_,j;for(this.textispresent=!1,_="",j=m.children,O=0,C=j.length;O<C;O++)b=j[O],_+=function(){switch(!1){case!(b instanceof e):return this.declaration(b);case!(b instanceof o):return this.docType(b);case!(b instanceof g):return this.comment(b);case!(b instanceof c):return this.processingInstruction(b);default:return this.element(b,0)}}.call(this);return this.pretty&&_.slice(-this.newline.length)===this.newline&&(_=_.slice(0,-this.newline.length)),_},S.prototype.attribute=function(m){return" "+m.name+'="'+m.value+'"'},S.prototype.cdata=function(m,b){return this.space(b)+"<![CDATA["+m.text+"]]>"+this.newline},S.prototype.comment=function(m,b){return this.space(b)+"<!-- "+m.text+" -->"+this.newline},S.prototype.declaration=function(m,b){var O;return O=this.space(b),O+='<?xml version="'+m.version+'"',m.encoding!=null&&(O+=' encoding="'+m.encoding+'"'),m.standalone!=null&&(O+=' standalone="'+m.standalone+'"'),O+=this.spacebeforeslash+"?>",O+=this.newline},S.prototype.docType=function(m,b){var O,C,_,j,D;if(b||(b=0),j=this.space(b),j+="<!DOCTYPE "+m.root().name,m.pubID&&m.sysID?j+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(j+=' SYSTEM "'+m.sysID+'"'),m.children.length>0){for(j+=" [",j+=this.newline,D=m.children,C=0,_=D.length;C<_;C++)O=D[C],j+=function(){switch(!1){case!(O instanceof i):return this.dtdAttList(O,b+1);case!(O instanceof s):return this.dtdElement(O,b+1);case!(O instanceof p):return this.dtdEntity(O,b+1);case!(O instanceof u):return this.dtdNotation(O,b+1);case!(O instanceof h):return this.cdata(O,b+1);case!(O instanceof g):return this.comment(O,b+1);case!(O instanceof c):return this.processingInstruction(O,b+1);default:throw new Error("Unknown DTD node type: "+O.constructor.name)}}.call(this);j+="]"}return j+=this.spacebeforeslash+">",j+=this.newline},S.prototype.element=function(m,b){var O,C,_,j,D,N,L,B,q,G,Z,F,ee;b||(b=0),ee=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),F=this.space(b),B="",B+=F+"<"+m.name,q=m.attributes;for(L in q)f.call(q,L)&&(O=q[L],B+=this.attribute(O));if(m.children.length===0||m.children.every(function($){return $.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(G=m.children,_=0,D=G.length;_<D;_++)if(C=G[_],C.value!=null){this.textispresent++,ee=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,F=this.space(b)),B+=">"+this.newline,Z=m.children,j=0,N=Z.length;j<N;j++)C=Z[j],B+=function(){switch(!1){case!(C instanceof h):return this.cdata(C,b+1);case!(C instanceof g):return this.comment(C,b+1);case!(C instanceof r):return this.element(C,b+1);case!(C instanceof d):return this.raw(C,b+1);case!(C instanceof l):return this.text(C,b+1);case!(C instanceof c):return this.processingInstruction(C,b+1);default:throw new Error("Unknown XML node type: "+C.constructor.name)}}.call(this);ee&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),B+=F+"</"+m.name+">"+this.newline}return B},S.prototype.processingInstruction=function(m,b){var O;return O=this.space(b)+"<?"+m.target,m.value&&(O+=" "+m.value),O+=this.spacebeforeslash+"?>"+this.newline},S.prototype.raw=function(m,b){return this.space(b)+m.value+this.newline},S.prototype.text=function(m,b){return this.space(b)+m.value+this.newline},S.prototype.dtdAttList=function(m,b){var O;return O=this.space(b)+"<!ATTLIST "+m.elementName+" "+m.attributeName+" "+m.attributeType,m.defaultValueType!=="#DEFAULT"&&(O+=" "+m.defaultValueType),m.defaultValue&&(O+=' "'+m.defaultValue+'"'),O+=this.spacebeforeslash+">"+this.newline},S.prototype.dtdElement=function(m,b){return this.space(b)+"<!ELEMENT "+m.name+" "+m.value+this.spacebeforeslash+">"+this.newline},S.prototype.dtdEntity=function(m,b){var O;return O=this.space(b)+"<!ENTITY",m.pe&&(O+=" %"),O+=" "+m.name,m.value?O+=' "'+m.value+'"':(m.pubID&&m.sysID?O+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(O+=' SYSTEM "'+m.sysID+'"'),m.nData&&(O+=" NDATA "+m.nData)),O+=this.spacebeforeslash+">"+this.newline},S.prototype.dtdNotation=function(m,b){var O;return O=this.space(b)+"<!NOTATION "+m.name,m.pubID&&m.sysID?O+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.pubID?O+=' PUBLIC "'+m.pubID+'"':m.sysID&&(O+=' SYSTEM "'+m.sysID+'"'),O+=this.spacebeforeslash+">"+this.newline},S.prototype.openNode=function(m,b){var O,C,_,j;if(b||(b=0),m instanceof r){_=this.space(b)+"<"+m.name,j=m.attributes;for(C in j)f.call(j,C)&&(O=j[C],_+=this.attribute(O));return _+=(m.children?">":"/>")+this.newline}return _=this.space(b)+"<!DOCTYPE "+m.rootNodeName,m.pubID&&m.sysID?_+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(_+=' SYSTEM "'+m.sysID+'"'),_+=(m.children?" [":">")+this.newline},S.prototype.closeNode=function(m,b){switch(b||(b=0),!1){case!(m instanceof r):return this.space(b)+"</"+m.name+">"+this.newline;case!(m instanceof o):return this.space(b)+"]>"+this.newline}},S}(x)}).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,A,v){"use strict";(function(){var h=function(s,p){return function(){return s.apply(p,arguments)}},g={}.hasOwnProperty;A.exports=function(){function i(s){this.assertLegalChar=h(this.assertLegalChar,this);var p,u,e;s||(s={}),this.noDoubleEncoding=s.noDoubleEncoding,u=s.stringify||{};for(p in u)g.call(u,p)&&(e=u[p],this[p]=e)}return i.prototype.eleName=function(s){return s=""+s||"",this.assertLegalChar(s)},i.prototype.eleText=function(s){return s=""+s||"",this.assertLegalChar(this.elEscape(s))},i.prototype.cdata=function(s){return s=""+s||"",s=s.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(s)},i.prototype.comment=function(s){if(s=""+s||"",s.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+s);return this.assertLegalChar(s)},i.prototype.raw=function(s){return""+s||""},i.prototype.attName=function(s){return s=""+s||""},i.prototype.attValue=function(s){return s=""+s||"",this.attEscape(s)},i.prototype.insTarget=function(s){return""+s||""},i.prototype.insValue=function(s){if(s=""+s||"",s.match(/\?>/))throw new Error("Invalid processing instruction value: "+s);return s},i.prototype.xmlVersion=function(s){if(s=""+s||"",!s.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+s);return s},i.prototype.xmlEncoding=function(s){if(s=""+s||"",!s.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+s);return s},i.prototype.xmlStandalone=function(s){return s?"yes":"no"},i.prototype.dtdPubID=function(s){return""+s||""},i.prototype.dtdSysID=function(s){return""+s||""},i.prototype.dtdElementValue=function(s){return""+s||""},i.prototype.dtdAttType=function(s){return""+s||""},i.prototype.dtdAttDefault=function(s){return s!=null?""+s||"":s},i.prototype.dtdEntityValue=function(s){return""+s||""},i.prototype.dtdNData=function(s){return""+s||""},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(s){var p;if(p=s.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+s+" at index "+p.index);return s},i.prototype.elEscape=function(s){var p;return p=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,s.replace(p,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")},i.prototype.attEscape=function(s){var p;return p=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,s.replace(p,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")},i}()}).call(void 0)},{}],233:[function(n,A,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,s=function(e,o){function r(){this.constructor=e}for(var c in o)p.call(o,c)&&(e[c]=o[c]);return r.prototype=o.prototype,e.prototype=new r,e.__super__=o.prototype,e},p={}.hasOwnProperty;i=n("./XMLNode"),A.exports=function(u){function e(o,r){if(e.__super__.constructor.call(this,o),r==null)throw new Error("Missing element text");this.value=this.stringify.eleText(r)}return s(e,u),e.prototype.clone=function(){return(0,g.default)(this)},e.prototype.toString=function(o){return this.options.writer.set(o).text(this)},e}(i)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],234:[function(n,A,v){"use strict";(function(){var h={}.hasOwnProperty;A.exports=function(){function g(i){var s,p,u,e,o,r,c,d,l;i||(i={}),this.pretty=i.pretty||!1,this.allowEmpty=(p=i.allowEmpty)!=null&&p,this.pretty?(this.indent=(u=i.indent)!=null?u:" ",this.newline=(e=i.newline)!=null?e:`
`,this.offset=(o=i.offset)!=null?o:0,this.dontprettytextnodes=(r=i.dontprettytextnodes)!=null?r:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(c=i.spacebeforeslash)!=null?c:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,d=i.writer||{};for(s in d)h.call(d,s)&&(l=d[s],this[s]=l)}return g.prototype.set=function(i){var s,p,u;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(s in p)h.call(p,s)&&(u=p[s],this[s]=u);return this},g.prototype.space=function(i){var s;return this.pretty?(s=(i||0)+this.offset+1,s>0?new Array(s).join(this.indent):""):""},g}()}).call(void 0)},{}],235:[function(n,A,v){"use strict";(function(){var h,g,i,s,p,u,e;e=n("./Utility"),p=e.assign,u=e.isFunction,h=n("./XMLDocument"),g=n("./XMLDocumentCB"),s=n("./XMLStringWriter"),i=n("./XMLStreamWriter"),A.exports.create=function(o,r,c,d){var l,x;if(o==null)throw new Error("Root element needs a name");return d=p({},r,c,d),l=new h(d),x=l.element(o),d.headless||(l.declaration(d),d.pubID==null&&d.sysID==null||l.doctype(d)),x},A.exports.begin=function(o,r,c){var d;return u(o)&&(d=[o,r],r=d[0],c=d[1],o={}),r?new g(o,r,c):new h(o)},A.exports.stringWriter=function(o){return new s(o)},A.exports.streamWriter=function(o,r){return new i(o,r)}}).call(void 0)},{"./Utility":214,"./XMLDocument":224,"./XMLDocumentCB":225,"./XMLStreamWriter":230,"./XMLStringWriter":231}],236:[function(n,A,v){function h(){for(var i={},s=0;s<arguments.length;s++){var p=arguments[s];for(var u in p)g.call(p,u)&&(i[u]=p[u])}return i}A.exports=h;var g=Object.prototype.hasOwnProperty},{}],237:[function(n,A,v){"use strict";function h(d,l,x){s.isBuffer(l)||(l=new s(l)),s.isBuffer(x)||(x=new s(x)),l.length>r?l=d(l):l.length<r&&(l=s.concat([l,c],r));for(var E=new s(r),f=new s(r),T=0;T<r;T++)E[T]=54^l[T],f[T]=92^l[T];var S=d(s.concat([E,x]));return d(s.concat([f,S]))}function g(d,l){d=d||"sha1";var x=o[d],E=[],f=0;return x||i("algorithm:",d,"is not yet supported"),{update:function(S){return s.isBuffer(S)||(S=new s(S)),E.push(S),f+=S.length,this},digest:function(S){var m=s.concat(E),b=l?h(x,l,m):x(m);return E=null,S?b.toString(S):b}}}function i(){var d=[].slice.call(arguments).join(" ");throw new Error([d,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}var s=n("buffer").Buffer,p=n("./sha"),u=n("./sha256"),e=n("./md5"),o={sha1:p,sha256:u,md5:e},r=64,c=new s(r);c.fill(0),v.createHash=function(d){return g(d)},v.createHmac=function(d,l){return g(d,l)},function(d,l){for(var x in d)l(d[x],x)}(["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,A,v){"use strict";function h(o,r){if(o.length%p!=0){var c=o.length+(p-o.length%p);o=s.concat([o,u],c)}for(var d=[],l=r?o.readInt32BE:o.readInt32LE,x=0;x<o.length;x+=p)d.push(l.call(o,x));return d}function g(o,r,c){for(var d=new s(r),l=c?d.writeInt32BE:d.writeInt32LE,x=0;x<o.length;x++)l.call(d,o[x],4*x,!0);return d}function i(o,r,c,d){return s.isBuffer(o)||(o=new s(o)),g(r(h(o,d),o.length*e),c,d)}var s=n("buffer").Buffer,p=4,u=new s(p);u.fill(0);var e=8;A.exports={hash:i}},{buffer:38}],239:[function(n,A,v){"use strict";function h(c,d){c[d>>5]|=128<<d%32,c[14+(d+64>>>9<<4)]=d;for(var l=1732584193,x=-271733879,E=-1732584194,f=271733878,T=0;T<c.length;T+=16){var S=l,m=x,b=E,O=f;l=i(l,x,E,f,c[T+0],7,-680876936),f=i(f,l,x,E,c[T+1],12,-389564586),E=i(E,f,l,x,c[T+2],17,606105819),x=i(x,E,f,l,c[T+3],22,-1044525330),l=i(l,x,E,f,c[T+4],7,-176418897),f=i(f,l,x,E,c[T+5],12,1200080426),E=i(E,f,l,x,c[T+6],17,-1473231341),x=i(x,E,f,l,c[T+7],22,-45705983),l=i(l,x,E,f,c[T+8],7,1770035416),f=i(f,l,x,E,c[T+9],12,-1958414417),E=i(E,f,l,x,c[T+10],17,-42063),x=i(x,E,f,l,c[T+11],22,-1990404162),l=i(l,x,E,f,c[T+12],7,1804603682),f=i(f,l,x,E,c[T+13],12,-40341101),E=i(E,f,l,x,c[T+14],17,-1502002290),x=i(x,E,f,l,c[T+15],22,1236535329),l=s(l,x,E,f,c[T+1],5,-165796510),f=s(f,l,x,E,c[T+6],9,-1069501632),E=s(E,f,l,x,c[T+11],14,643717713),x=s(x,E,f,l,c[T+0],20,-373897302),l=s(l,x,E,f,c[T+5],5,-701558691),f=s(f,l,x,E,c[T+10],9,38016083),E=s(E,f,l,x,c[T+15],14,-660478335),x=s(x,E,f,l,c[T+4],20,-405537848),l=s(l,x,E,f,c[T+9],5,568446438),f=s(f,l,x,E,c[T+14],9,-1019803690),E=s(E,f,l,x,c[T+3],14,-187363961),x=s(x,E,f,l,c[T+8],20,1163531501),l=s(l,x,E,f,c[T+13],5,-1444681467),f=s(f,l,x,E,c[T+2],9,-51403784),E=s(E,f,l,x,c[T+7],14,1735328473),x=s(x,E,f,l,c[T+12],20,-1926607734),l=p(l,x,E,f,c[T+5],4,-378558),f=p(f,l,x,E,c[T+8],11,-2022574463),E=p(E,f,l,x,c[T+11],16,1839030562),x=p(x,E,f,l,c[T+14],23,-35309556),l=p(l,x,E,f,c[T+1],4,-1530992060),f=p(f,l,x,E,c[T+4],11,1272893353),E=p(E,f,l,x,c[T+7],16,-155497632),x=p(x,E,f,l,c[T+10],23,-1094730640),l=p(l,x,E,f,c[T+13],4,681279174),f=p(f,l,x,E,c[T+0],11,-358537222),E=p(E,f,l,x,c[T+3],16,-722521979),x=p(x,E,f,l,c[T+6],23,76029189),l=p(l,x,E,f,c[T+9],4,-640364487),f=p(f,l,x,E,c[T+12],11,-421815835),E=p(E,f,l,x,c[T+15],16,530742520),x=p(x,E,f,l,c[T+2],23,-995338651),l=u(l,x,E,f,c[T+0],6,-198630844),f=u(f,l,x,E,c[T+7],10,1126891415),E=u(E,f,l,x,c[T+14],15,-1416354905),x=u(x,E,f,l,c[T+5],21,-57434055),l=u(l,x,E,f,c[T+12],6,1700485571),f=u(f,l,x,E,c[T+3],10,-1894986606),E=u(E,f,l,x,c[T+10],15,-1051523),x=u(x,E,f,l,c[T+1],21,-2054922799),l=u(l,x,E,f,c[T+8],6,1873313359),f=u(f,l,x,E,c[T+15],10,-30611744),E=u(E,f,l,x,c[T+6],15,-1560198380),x=u(x,E,f,l,c[T+13],21,1309151649),l=u(l,x,E,f,c[T+4],6,-145523070),f=u(f,l,x,E,c[T+11],10,-1120210379),E=u(E,f,l,x,c[T+2],15,718787259),x=u(x,E,f,l,c[T+9],21,-343485551),l=e(l,S),x=e(x,m),E=e(E,b),f=e(f,O)}return Array(l,x,E,f)}function g(c,d,l,x,E,f){return e(o(e(e(d,c),e(x,f)),E),l)}function i(c,d,l,x,E,f,T){return g(d&l|~d&x,c,d,E,f,T)}function s(c,d,l,x,E,f,T){return g(d&x|l&~x,c,d,E,f,T)}function p(c,d,l,x,E,f,T){return g(d^l^x,c,d,E,f,T)}function u(c,d,l,x,E,f,T){return g(l^(d|~x),c,d,E,f,T)}function e(c,d){var l=(65535&c)+(65535&d);return(c>>16)+(d>>16)+(l>>16)<<16|65535&l}function o(c,d){return c<<d|c>>>32-d}var r=n("./helpers");A.exports=function(c){return r.hash(c,h,16)}},{"./helpers":238}],240:[function(n,A,v){"use strict";function h(e,o){e[o>>5]|=128<<24-o%32,e[15+(o+64>>9<<4)]=o;for(var r=Array(80),c=1732584193,d=-271733879,l=-1732584194,x=271733878,E=-1009589776,f=0;f<e.length;f+=16){for(var T=c,S=d,m=l,b=x,O=E,C=0;C<80;C++){r[C]=C<16?e[f+C]:p(r[C-3]^r[C-8]^r[C-14]^r[C-16],1);var _=s(s(p(c,5),g(C,d,l,x)),s(s(E,r[C]),i(C)));E=x,x=l,l=p(d,30),d=c,c=_}c=s(c,T),d=s(d,S),l=s(l,m),x=s(x,b),E=s(E,O)}return Array(c,d,l,x,E)}function g(e,o,r,c){return e<20?o&r|~o&c:e<40?o^r^c:e<60?o&r|o&c|r&c:o^r^c}function i(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function s(e,o){var r=(65535&e)+(65535&o);return(e>>16)+(o>>16)+(r>>16)<<16|65535&r}function p(e,o){return e<<o|e>>>32-o}var u=n("./helpers");A.exports=function(e){return u.hash(e,h,20,!0)}},{"./helpers":238}],241:[function(n,A,v){"use strict";var h=n("./helpers"),g=function(x,E){var f=(65535&x)+(65535&E);return(x>>16)+(E>>16)+(f>>16)<<16|65535&f},i=function(x,E){return x>>>E|x<<32-E},s=function(x,E){return x>>>E},p=function(x,E,f){return x&E^~x&f},u=function(x,E,f){return x&E^x&f^E&f},e=function(x){return i(x,2)^i(x,13)^i(x,22)},o=function(x){return i(x,6)^i(x,11)^i(x,25)},r=function(x){return i(x,7)^i(x,18)^s(x,3)},c=function(x){return i(x,17)^i(x,19)^s(x,10)},d=function(x,E){var f,T,S,m,b,O,C,_,j,D,N,L,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),q=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),G=new Array(64);x[E>>5]|=128<<24-E%32,x[15+(E+64>>9<<4)]=E;for(var j=0;j<x.length;j+=16){f=q[0],T=q[1],S=q[2],m=q[3],b=q[4],O=q[5],C=q[6],_=q[7];for(var D=0;D<64;D++)G[D]=D<16?x[D+j]:g(g(g(c(G[D-2]),G[D-7]),r(G[D-15])),G[D-16]),N=g(g(g(g(_,o(b)),p(b,O,C)),B[D]),G[D]),L=g(e(f),u(f,T,S)),_=C,C=O,O=b,b=g(m,N),m=S,S=T,T=f,f=g(N,L);q[0]=g(f,q[0]),q[1]=g(T,q[1]),q[2]=g(S,q[2]),q[3]=g(m,q[3]),q[4]=g(b,q[4]),q[5]=g(O,q[5]),q[6]=g(C,q[6]),q[7]=g(_,q[7])}return q};A.exports=function(l){return h.hash(l,d,32,!0)}},{"./helpers":238}],242:[function(n,A,v){(function(h){"use strict";function g(d){return d&&d.__esModule?d:{default:d}}var i=n("babel-runtime/core-js/object/create"),s=g(i),p=n("babel-runtime/helpers/classCallCheck"),u=g(p),e=n("babel-runtime/helpers/createClass"),o=g(e),r=n("babel-runtime/helpers/typeof"),c=g(r);!function(d){if((v===void 0?"undefined":(0,c.default)(v))==="object"&&A!==void 0)A.exports=d();else if(typeof pe=="function"&&pe.amd)pe([],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,x,E){function f(m,b){if(!x[m]){if(!l[m]){var O=typeof n=="function"&&n;if(!b&&O)return O(m,!0);if(T)return T(m,!0);var C=new Error("Cannot find module '"+m+"'");throw C.code="MODULE_NOT_FOUND",C}var _=x[m]={exports:{}};l[m][0].call(_.exports,function(j){var D=l[m][1][j];return f(D||j)},_,_.exports,d,l,x,E)}return x[m].exports}for(var T=typeof n=="function"&&n,S=0;S<E.length;S++)f(E[S]);return f}({1:[function(d,l,x){var E=function(){function f(){(0,u.default)(this,f),this._types=(0,s.default)(null),this._extensions=(0,s.default)(null);for(var T=0;T<arguments.length;T++)this.define(arguments[T])}return(0,o.default)(f,[{key:"define",value:function(S,m){for(var b in S){for(var O=S[b],C=0;C<O.length;C++){var _=O[C];if(!m&&_ in this._types)throw new Error('Attempt to change mapping for "'+_+'" extension from "'+this._types[_]+'" to "'+b+'". Pass `force=true` to allow this, otherwise remove "'+_+'" from the list of extensions for "'+b+'".');this._types[_]=b}!m&&this._extensions[b]||(this._extensions[b]=O[0])}}},{key:"getType",value:function(S){S=String(S);var m=S.replace(/^.*[\/\\]/,"").toLowerCase(),b=m.replace(/^.*\./,"").toLowerCase(),O=m.length<S.length;return(b.length<m.length-1||!O)&&this._types[b]||null}},{key:"getExtension",value:function(S){return(S=/^\s*([^;\s]*)/.test(S)&&RegExp.$1)&&this._extensions[S.toLowerCase()]||null}}]),f}();l.exports=E},{}],2:[function(d,l,x){var E=d("./Mime");l.exports=new E(d("./types/standard"),d("./types/other"))},{"./Mime":1,"./types/other":3,"./types/standard":4}],3:[function(d,l,x){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,x){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,A,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,A,v){(function(h,g){"use strict";function i(C){return C&&C.__esModule?C:{default:C}}function s(C,_){return C===void 0?_:C}function p(C,_){return function(j,D,N){if(j)return _(j);C({data:D,status:N.statusCode,headers:N.headers,res:N})}}var u,e=n("babel-runtime/core-js/json/stringify"),o=i(e),r=n("babel-runtime/helpers/typeof"),c=i(r),d=n("util"),l=n("url"),x=n("http"),E=n("https"),f=n("debug")("urllib"),T=n("humanize-ms"),S=0,m=Math.pow(2,31)-10,b=/^https?:\/\//i;v.TIMEOUTS=[T("300s"),T("300s")];var O=["json","text"];v.request=function(C,_,j){return arguments.length===2&&typeof _=="function"&&(j=_,_=null),typeof j=="function"?v.requestWithCallback(C,_,j):(u||(u=n("any-promise")),new u(function(D,N){v.requestWithCallback(C,_,p(D,N))}))},v.requestWithCallback=function(C,_,j){function D(){ce&&(clearTimeout(ce),ce=null)}function N(){k&&(clearTimeout(k),k=null)}function L(oe,be,Ce){if(N(),!j)return console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),$,h.pid,ne.method,C),void(oe&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),$,h.pid,oe.name,oe.message,oe.stack));var xe=j;j=null;var je={};if(Ce&&(w=Ce.statusCode,je=Ce.headers),w===401&&je["www-authenticate"]&&(!_.headers||!_.headers.Authorization)&&_.digestAuth){var Me=je["www-authenticate"];if(Me.indexOf("Digest ")>=0)return f("Request#%d %s: got digest auth header WWW-Authenticate: %s",$,C,Me),_.headers=_.headers||{},_.headers.Authorization=digestAuthHeader(ne.method,ne.path,Me,_.digestAuth),f("Request#%d %s: auth with digest header: %s",$,C,_.headers.Authorization),Ce.headers["set-cookie"]&&(_.headers.Cookie=Ce.headers["set-cookie"].join(";")),v.requestWithCallback(C,_,xe)}var ze=Date.now()-I;le&&(le.contentDownload=ze),f("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",ze,y,w,ne.method,ne.host,ne.path,P,le);var $e={status:w,statusCode:w,headers:je,size:y,aborted:z,rt:ze,keepAliveSocket:P,data:be,requestUrls:_.requestUrls,timing:le,remoteAddress:K,remotePort:fe};if(oe){var Ze="";Y&&typeof Y.getCurrentStatus=="function"&&(Ze=", agent status: "+(0,o.default)(Y.getCurrentStatus())),oe.message+=", "+ne.method+" "+C+" "+w+" (connected: "+a+", keepalive socket: "+P+Ze+`)
headers: `+(0,o.default)(je),oe.data=be,oe.path=ne.path,oe.status=w,oe.headers=je,oe.res=$e}xe(oe,be,_.streaming?Ce:$e),_.emitter&&(W.url=C,W.socket=he&&he.connection,W.options=ne,W.size=re,_.emitter.emit("response",{requestId:$,error:oe,ctx:_.ctx,req:W,res:$e}))}function B(oe){var be=null;if(_.followRedirect&&statuses.redirect[oe.statusCode]){_._followRedirectCount=(_._followRedirectCount||0)+1;var Ce=oe.headers.location;if(Ce){if(!(_._followRedirectCount>_.maxRedirects)){var xe=_.formatRedirectUrl?_.formatRedirectUrl(C,Ce):l.resolve(C,Ce);f("Request#%d %s: `redirected` from %s to %s",$,ne.path,C,xe),N(),_.headers&&_.headers.Host&&b.test(Ce)&&(_.headers.Host=null);var je=j;return j=null,v.requestWithCallback(xe,_,je),{redirect:!0,error:null}}be=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+C),be.name="MaxRedirectError"}else be=new Error("Got statusCode "+oe.statusCode+" but cannot resolve next location from headers"),be.name="FollowRedirectError"}return{redirect:!1,error:be}}function q(oe,be,Ce){return Ce(null,be,oe.headers["content-encoding"])}function G(oe){if(le&&(le.waiting=Date.now()-I),f("Request#%d %s `req response` event emit: status %d, headers: %j",$,C,oe.statusCode,oe.headers),_.streaming){var be=B(oe);return be.redirect?void oe.resume():be.error?(oe.resume(),L(be.error,null,oe)):L(null,null,oe)}if(oe.on("close",function(){f("Request#%d %s: `res close` event emit, total size %d",$,C,y)}),oe.on("error",function(){f("Request#%d %s: `res error` event emit, total size %d",$,C,y)}),oe.on("aborted",function(){z=!0,f("Request#%d %s: `res aborted` event emit, total size %d",$,C,y)}),ve){var be=B(oe);return be.redirect?void oe.resume():be.error?(oe.resume(),ve.end(),L(be.error,null,oe)):(_.consumeWriteStream===!1?oe.on("end",L.bind(null,null,null,oe)):isNode010||isNode012?first([[ve,"close"],[oe,"aborted"]],function(je,Me,ze){f("Request#%d %s: writeStream or res %s event emitted",$,C,ze),L(t||null,null,oe)}):ve.on("close",function(){f("Request#%d %s: writeStream close event emitted",$,C),L(t||null,null,oe)}),oe.pipe(ve))}var Ce=[];oe.on("data",function(xe){f("Request#%d %s: `res data` event emit, size %d",$,C,xe.length),y+=xe.length,Ce.push(xe)}),oe.on("end",function(){var xe=g.concat(Ce,y);if(f("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",$,C,y,oe._dumped),t)return L(t,xe,oe);var je=B(oe);if(je.error)return L(je.error,xe,oe);je.redirect||q(oe,xe,function(Me,ze,$e){if(Me)return L(Me,xe,oe);if(!$e&&O.indexOf(_.dataType)>=0){try{ze=decodeBodyByCharset(ze,oe)}catch(et){return f("decodeBodyByCharset error: %s",et),L(null,ze,oe)}if(_.dataType==="json")if(y===0)ze=null;else{var Ze=parseJSON(ze,ae);Ze.error?Me=Ze.error:ze=Ze.data}}z&&f("Request#%d %s: Remote socket was terminated before `response.end()` was called",$,C),L(Me,ze,oe)})})}function Z(){f("Response timer ticking, timeout: %d",ye),k=setTimeout(function(){k=null;var oe="Response timeout for "+ye+"ms";t=new Error(oe),t.name="ResponseTimeoutError",t.requestId=$,f("ResponseTimeout: Request#%d %s %s: %s, connected: %s",$,C,t.name,oe,a),F()},ye)}function F(){f("Request#%d %s abort, connected: %s",$,C,a),he.socket||(t.noSocket=!0,L(t)),he.abort()}if(!C||typeof C!="string"&&(C===void 0?"undefined":(0,c.default)(C))!=="object"){var ee=d.format("expect request url to be a string or a http request options, but got %j",C);throw new Error(ee)}arguments.length===2&&typeof _=="function"&&(j=_,_=null),_=_||{},S>=m&&(S=0);var $=++S;_.requestUrls=_.requestUrls||[];var W={requestId:$,url:C,args:_,ctx:_.ctx};_.emitter&&_.emitter.emit("request",W),_.timeout=_.timeout||v.TIMEOUTS,_.maxRedirects=_.maxRedirects||10,_.streaming=_.streaming||_.customResponse;var R,I=Date.now();typeof C=="string"?(b.test(C)||(C="http://"+C),R=l.parse(C)):R=C;var M=(_.type||_.method||R.method||"GET").toUpperCase(),U=R.port||80,H=x,Y=s(_.agent,v.agent),ae=_.fixJSONCtlChars;R.protocol==="https:"&&(H=E,Y=s(_.httpsAgent,v.httpsAgent),R.port||(U=443));var ne={host:R.hostname||R.host||"localhost",path:R.path||"/",method:M,port:U,agent:Y,headers:_.headers||{},lookup:_.lookup};Array.isArray(_.timeout)?ne.requestTimeout=_.timeout[_.timeout.length-1]:_.timeout!==void 0&&(ne.requestTimeout=_.timeout);for(var ue=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],de=0;de<ue.length;de++){var Q=ue[de];_.hasOwnProperty(Q)&&(ne[Q]=_[Q])}ne.rejectUnauthorized!==!1||ne.hasOwnProperty("secureOptions")||(ne.secureOptions=n("constants").SSL_OP_NO_TLSv1_2);var J=_.auth||R.auth;J&&(ne.auth=J);var ie=_.content||_.data,V=M==="GET"||M==="HEAD"||_.dataAsQueryString;if(!_.content&&ie&&typeof ie!="string"&&!g.isBuffer(ie))if(V)ie=_.nestedQuerystring?qs.stringify(ie):querystring.stringify(ie);else{var X=ne.headers["Content-Type"]||ne.headers["content-type"];X||(X=_.contentType==="json"?"application/json":"application/x-www-form-urlencoded",ne.headers["Content-Type"]=X),ie=parseContentType(X).type==="application/json"?(0,o.default)(ie):_.nestedQuerystring?qs.stringify(ie):querystring.stringify(ie)}V&&ie&&(ne.path+=(R.query?"&":"?")+ie,ie=null);var re=0;if(ie){var te=ie.length;g.isBuffer(ie)||(te=g.byteLength(ie)),re=ne.headers["Content-Length"]=te}_.dataType==="json"&&(ne.headers.Accept="application/json"),typeof _.beforeRequest=="function"&&_.beforeRequest(ne);var ce=null,k=null,t=null,a=!1,P=!1,y=0,w=-1,z=!1,K="",fe="",le=null;_.timing&&(le={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0}),ne.headers["User-Agent"]||ne.headers["user-agent"]||(ne.headers["User-Agent"]=navigator.userAgent),_.gzip&&(ne.headers["Accept-Encoding"]||ne.headers["accept-encoding"]||(ne.headers["Accept-Encoding"]="gzip"));var ve=_.writeStream;f("Request#%d %s %s with headers %j, options.path: %s",$,M,C,ne.headers,ne.path),_.requestUrls.push(C);var _e,ye;Array.isArray(_.timeout)?(_e=T(_.timeout[0]),ye=T(_.timeout[1])):_e=ye=T(_.timeout),f("ConnectTimeout: %d, ResponseTimeout: %d",_e,ye);var he;try{he=H.request(ne,G)}catch(oe){return L(oe)}return typeof window=="undefined"?function(){f("Connect timer ticking, timeout: %d",_e),ce=setTimeout(function(){ce=null,w===-1&&(w=-2);var oe="Connect timeout for "+_e+"ms",be="ConnectionTimeoutError";he.socket||(be="SocketAssignTimeoutError",oe+=", working sockets is full"),t=new Error(oe),t.name=be,t.requestId=$,f("ConnectTimeout: Request#%d %s %s: %s, connected: %s",$,C,t.name,oe,a),F()},_e)}():he.on("requestTimeout",function(){w===-1&&(w=-2);var oe="Connect timeout for "+_e+"ms";t=new Error(oe),t.name="ConnectionTimeoutError",t.requestId=$,F()}),le&&he.on("finish",function(){le.requestSent=Date.now()-I}),he.once("socket",function(oe){le&&(le.queuing=Date.now()-I),isNode010&&oe.socket&&(oe=oe.socket);var be=oe.readyState;if(be==="opening")return oe.once("lookup",function(Ce,xe,je){f("Request#%d %s lookup: %s, %s, %s",$,C,Ce,xe,je),le&&(le.dnslookup=Date.now()-I),xe&&(K=xe)}),void oe.once("connect",function(){le&&(le.connected=Date.now()-I),D(),Z(),f("Request#%d %s new socket connected",$,C),a=!0,K||(K=oe.remoteAddress),fe=oe.remotePort});f("Request#%d %s reuse socket connected, readyState: %s",$,C,be),a=!0,P=!0,K||(K=oe.remoteAddress),fe=oe.remotePort,D(),Z()}),he.on("error",function(oe){oe.name!=="Error"&&oe.name!=="TypeError"||(oe.name=a?"ResponseError":"RequestError"),oe.message+=' (req "error")',f("Request#%d %s `req error` event emit, %s: %s",$,C,oe.name,oe.message),L(t||oe)}),ve&&ve.once("error",function(oe){oe.message+=' (writeStream "error")',t=oe,f("Request#%d %s `writeStream error` event emit, %s: %s",$,C,oe.name,oe.message),F()}),_.stream?(_.stream.pipe(he),_.stream.once("error",function(oe){oe.message+=' (stream "error")',t=oe,f("Request#%d %s `readStream error` event emit, %s: %s",$,C,oe.name,oe.message),F()})):he.end(ie),he.requestId=$,he}}).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(pe){function n(v){if(A[v])return A[v].exports;var h=A[v]={i:v,l:!1,exports:{}};return pe[v].call(h.exports,h,h.exports,n),h.l=!0,h.exports}var A={};n.m=pe,n.c=A,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(pe,n,A){!function(v,h){pe.exports=n=h()}(0,function(){var v=v||function(h,g){var i=Object.create||function(){function E(){}return function(f){var T;return E.prototype=f,T=new E,E.prototype=null,T}}(),s={},p=s.lib={},u=p.Base=function(){return{extend:function(f){var T=i(this);return f&&T.mixIn(f),T.hasOwnProperty("init")&&this.init!==T.init||(T.init=function(){T.$super.init.apply(this,arguments)}),T.init.prototype=T,T.$super=this,T},create:function(){var f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var T in f)f.hasOwnProperty(T)&&(this[T]=f[T]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),e=p.WordArray=u.extend({init:function(f,T){f=this.words=f||[],this.sigBytes=T!=null?T:4*f.length},toString:function(f){return(f||r).stringify(this)},concat:function(f){var T=this.words,S=f.words,m=this.sigBytes,b=f.sigBytes;if(this.clamp(),m%4)for(var O=0;O<b;O++){var C=S[O>>>2]>>>24-O%4*8&255;T[m+O>>>2]|=C<<24-(m+O)%4*8}else for(var O=0;O<b;O+=4)T[m+O>>>2]=S[O>>>2];return this.sigBytes+=b,this},clamp:function(){var f=this.words,T=this.sigBytes;f[T>>>2]&=4294967295<<32-T%4*8,f.length=h.ceil(T/4)},clone:function(){var f=u.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var T,S=[],m=0;m<f;m+=4){var b=function(O){var O=O,C=987654321,_=4294967295;return function(){C=36969*(65535&C)+(C>>16)&_,O=18e3*(65535&O)+(O>>16)&_;var j=(C<<16)+O&_;return j/=4294967296,(j+=.5)*(h.random()>.5?1:-1)}}(4294967296*(T||h.random()));T=987654071*b(),S.push(4294967296*b()|0)}return new e.init(S,f)}}),o=s.enc={},r=o.Hex={stringify:function(f){for(var T=f.words,S=f.sigBytes,m=[],b=0;b<S;b++){var O=T[b>>>2]>>>24-b%4*8&255;m.push((O>>>4).toString(16)),m.push((15&O).toString(16))}return m.join("")},parse:function(f){for(var T=f.length,S=[],m=0;m<T;m+=2)S[m>>>3]|=parseInt(f.substr(m,2),16)<<24-m%8*4;return new e.init(S,T/2)}},c=o.Latin1={stringify:function(f){for(var T=f.words,S=f.sigBytes,m=[],b=0;b<S;b++){var O=T[b>>>2]>>>24-b%4*8&255;m.push(String.fromCharCode(O))}return m.join("")},parse:function(f){for(var T=f.length,S=[],m=0;m<T;m++)S[m>>>2]|=(255&f.charCodeAt(m))<<24-m%4*8;return new e.init(S,T)}},d=o.Utf8={stringify:function(f){try{return decodeURIComponent(escape(c.stringify(f)))}catch(T){throw new Error("Malformed UTF-8 data")}},parse:function(f){return c.parse(unescape(encodeURIComponent(f)))}},l=p.BufferedBlockAlgorithm=u.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 T=this._data,S=T.words,m=T.sigBytes,b=this.blockSize,O=4*b,C=m/O;C=f?h.ceil(C):h.max((0|C)-this._minBufferSize,0);var _=C*b,j=h.min(4*_,m);if(_){for(var D=0;D<_;D+=b)this._doProcessBlock(S,D);var N=S.splice(0,_);T.sigBytes-=j}return new e.init(N,j)},clone:function(){var f=u.clone.call(this);return f._data=this._data.clone(),f},_minBufferSize:0}),x=(p.Hasher=l.extend({cfg:u.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(T,S){return new f.init(S).finalize(T)}},_createHmacHelper:function(f){return function(T,S){return new x.HMAC.init(f,S).finalize(T)}}}),s.algo={});return s}(Math);return v})},function(pe,n,A){"use strict";function v(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(s,p){for(var u=0;u<p.length;u++){var e=p[u];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,e.key,e)}}return function(s,p,u){return p&&i(s.prototype,p),u&&i(s,u),s}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"detectIEVersion",value:function(){for(var p=4,u=document.createElement("div"),e=u.getElementsByTagName("i");u.innerHTML="<!--[if gt IE "+p+"]><i></i><![endif]-->",e[0];)p++;return p>4&&p}},{key:"extend",value:function(p,u){for(var e in u)Object.prototype.hasOwnProperty.call(u,e)&&u[e]&&(p[e]=u[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 u(e){return e<10?"0"+e:e}return p.getUTCFullYear()+"-"+u(p.getUTCMonth()+1)+"-"+u(p.getUTCDate())+"T"+u(p.getUTCHours())+":"+u(p.getUTCMinutes())+":"+u(p.getUTCSeconds())+"Z"}},{key:"isIntNum",value:function(p){return!!/^\d+$/.test(p)}}]),i}();n.default=g},function(pe,n,A){!function(v,h){pe.exports=n=h(A(0))}(0,function(v){return function(h){function g(x,E,f,T,S,m,b){var O=x+(E&f|~E&T)+S+b;return(O<<m|O>>>32-m)+E}function i(x,E,f,T,S,m,b){var O=x+(E&T|f&~T)+S+b;return(O<<m|O>>>32-m)+E}function s(x,E,f,T,S,m,b){var O=x+(E^f^T)+S+b;return(O<<m|O>>>32-m)+E}function p(x,E,f,T,S,m,b){var O=x+(f^(E|~T))+S+b;return(O<<m|O>>>32-m)+E}var u=v,e=u.lib,o=e.WordArray,r=e.Hasher,c=u.algo,d=[];!function(){for(var x=0;x<64;x++)d[x]=4294967296*h.abs(h.sin(x+1))|0}();var l=c.MD5=r.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(E,f){for(var T=0;T<16;T++){var S=f+T,m=E[S];E[S]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8)}var b=this._hash.words,O=E[f+0],C=E[f+1],_=E[f+2],j=E[f+3],D=E[f+4],N=E[f+5],L=E[f+6],B=E[f+7],q=E[f+8],G=E[f+9],Z=E[f+10],F=E[f+11],ee=E[f+12],$=E[f+13],W=E[f+14],R=E[f+15],I=b[0],M=b[1],U=b[2],H=b[3];I=g(I,M,U,H,O,7,d[0]),H=g(H,I,M,U,C,12,d[1]),U=g(U,H,I,M,_,17,d[2]),M=g(M,U,H,I,j,22,d[3]),I=g(I,M,U,H,D,7,d[4]),H=g(H,I,M,U,N,12,d[5]),U=g(U,H,I,M,L,17,d[6]),M=g(M,U,H,I,B,22,d[7]),I=g(I,M,U,H,q,7,d[8]),H=g(H,I,M,U,G,12,d[9]),U=g(U,H,I,M,Z,17,d[10]),M=g(M,U,H,I,F,22,d[11]),I=g(I,M,U,H,ee,7,d[12]),H=g(H,I,M,U,$,12,d[13]),U=g(U,H,I,M,W,17,d[14]),M=g(M,U,H,I,R,22,d[15]),I=i(I,M,U,H,C,5,d[16]),H=i(H,I,M,U,L,9,d[17]),U=i(U,H,I,M,F,14,d[18]),M=i(M,U,H,I,O,20,d[19]),I=i(I,M,U,H,N,5,d[20]),H=i(H,I,M,U,Z,9,d[21]),U=i(U,H,I,M,R,14,d[22]),M=i(M,U,H,I,D,20,d[23]),I=i(I,M,U,H,G,5,d[24]),H=i(H,I,M,U,W,9,d[25]),U=i(U,H,I,M,j,14,d[26]),M=i(M,U,H,I,q,20,d[27]),I=i(I,M,U,H,$,5,d[28]),H=i(H,I,M,U,_,9,d[29]),U=i(U,H,I,M,B,14,d[30]),M=i(M,U,H,I,ee,20,d[31]),I=s(I,M,U,H,N,4,d[32]),H=s(H,I,M,U,q,11,d[33]),U=s(U,H,I,M,F,16,d[34]),M=s(M,U,H,I,W,23,d[35]),I=s(I,M,U,H,C,4,d[36]),H=s(H,I,M,U,D,11,d[37]),U=s(U,H,I,M,B,16,d[38]),M=s(M,U,H,I,Z,23,d[39]),I=s(I,M,U,H,$,4,d[40]),H=s(H,I,M,U,O,11,d[41]),U=s(U,H,I,M,j,16,d[42]),M=s(M,U,H,I,L,23,d[43]),I=s(I,M,U,H,G,4,d[44]),H=s(H,I,M,U,ee,11,d[45]),U=s(U,H,I,M,R,16,d[46]),M=s(M,U,H,I,_,23,d[47]),I=p(I,M,U,H,O,6,d[48]),H=p(H,I,M,U,B,10,d[49]),U=p(U,H,I,M,W,15,d[50]),M=p(M,U,H,I,N,21,d[51]),I=p(I,M,U,H,ee,6,d[52]),H=p(H,I,M,U,j,10,d[53]),U=p(U,H,I,M,Z,15,d[54]),M=p(M,U,H,I,C,21,d[55]),I=p(I,M,U,H,q,6,d[56]),H=p(H,I,M,U,R,10,d[57]),U=p(U,H,I,M,L,15,d[58]),M=p(M,U,H,I,$,21,d[59]),I=p(I,M,U,H,D,6,d[60]),H=p(H,I,M,U,F,10,d[61]),U=p(U,H,I,M,_,15,d[62]),M=p(M,U,H,I,G,21,d[63]),b[0]=b[0]+I|0,b[1]=b[1]+M|0,b[2]=b[2]+U|0,b[3]=b[3]+H|0},_doFinalize:function(){var E=this._data,f=E.words,T=8*this._nDataBytes,S=8*E.sigBytes;f[S>>>5]|=128<<24-S%32;var m=h.floor(T/4294967296),b=T;f[15+(S+64>>>9<<4)]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8),f[14+(S+64>>>9<<4)]=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),E.sigBytes=4*(f.length+1),this._process();for(var O=this._hash,C=O.words,_=0;_<4;_++){var j=C[_];C[_]=16711935&(j<<8|j>>>24)|4278255360&(j<<24|j>>>8)}return O},clone:function(){var E=r.clone.call(this);return E._hash=this._hash.clone(),E}});u.MD5=r._createHelper(l),u.HmacMD5=r._createHmacHelper(l)}(Math),v.MD5})},function(pe,n,A){"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(pe,n,A){"use strict";function v(l){return l&&l.__esModule?l:{default:l}}function h(l,x){if(!(l instanceof x))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function l(x,E){for(var f=0;f<E.length;f++){var T=E[f];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(x,T.key,T)}}return function(x,E,f){return E&&l(x.prototype,E),f&&l(x,f),x}}(),i=A(5),s=v(i),p=A(25),u=v(p),e=A(6),o=v(e),r=A(7),c=v(r),d=function(){function l(x){h(this,l);var E=c.default.os.name,f=c.default.os.version||"",T=c.default.browser.name,S=c.default.browser.version||"",m=window.location.href,b="";m&&(b=c.default.getHost(m));var O="pc";c.default.os.ipad?O="pad":(c.default.os.iphone||c.default.os.android)&&(O="phone"),this._ri=s.default.create(),this.initParam={APIVersion:"0.6.0",lv:"1",av:o.default.version,pd:"upload",sm:"upload",md:"uploader",uuid:l.getUuid(),os:E,ov:f,et:T,ev:S,uat:navigator.userAgent,app_n:b,tt:O,dm:"h5",ut:""}}return g(l,[{key:"log",value:function(E,f){f&&f.ri?(this._ri=f.ri,delete f.ri):this._ri=s.default.create(),f&&f.ut&&(this.initParam.ut=f.ut,delete f.ut),this.initParam.t=new Date().getTime(),this.initParam.ll=E=="20006"?"error":"info",this.initParam.ri=this._ri,this.initParam.e=E;var T=[];if(f)for(var S in f)T.push(S+"="+f[S]);var m=T.join("&");this.initParam.args=encodeURIComponent(m==""?"0":m);var b=[];for(var S in this.initParam)b.push(S+"="+this.initParam[S]);var O=b.join("&");AliyunUpload&&AliyunUpload.__logTestCallback__?AliyunUpload.__logTestCallback__(O):new Image(0,0).src="https://videocloud.cn-hangzhou.log.aliyuncs.com/logstores/upload/track?"+O}}],[{key:"getUuid",value:function(){var E=u.default.get("p_h5_upload_u");return E||(E=s.default.create(),u.default.set("p_h5_upload_u",E,730)),E}},{key:"getClientId",value:function(){return u.default.get("p_h5_upload_clientId")}},{key:"setClientId",value:function(E){return E||(E=s.default.create()),u.default.set("p_h5_upload_clientId",E,730),E}}]),l}();n.default=d},function(pe,n,A){"use strict";function v(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(s,p){for(var u=0;u<p.length;u++){var e=p[u];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,e.key,e)}}return function(s,p,u){return p&&i(s.prototype,p),u&&i(s,u),s}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"create",value:function(p,u){var e,o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(u=u||o.length,p)for(e=0;e<p;e++)r[e]=o[0|Math.random()*u];else{var c;for(r[8]=r[13]=r[18]=r[23]="-",r[14]="4",e=0;e<36;e++)r[e]||(c=0|16*Math.random(),r[e]=o[e==19?3&c|8:c])}return r.join("")}}]),i}();n.default=g},function(pe,n,A){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var v={version:"1.5.0"};n.default=v},function(pe,n,A){"use strict";function v(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function e(o,r){for(var c=0;c<r.length;c++){var d=r[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(o,d.key,d)}}return function(o,r,c){return r&&e(o.prototype,r),c&&e(o,c),o}}(),g=function(o){var r=navigator.userAgent,c="other";if(o.ios)return"iOS";if(o.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&&(c="macOS"),navigator.platform=="X11"&&!d&&!l&&(c="Unix"),String(navigator.platform).indexOf("Linux")>-1&&(c="Linux"),d?"windows":c},i=function(){var o=navigator.userAgent,r="";return(o.indexOf("Windows NT 5.0")>-1||o.indexOf("Windows 2000")>-1)&&(r="2000"),(o.indexOf("Windows NT 5.1")>-1||o.indexOf("Windows XP")>-1)&&(r="XP"),(o.indexOf("Windows NT 5.2")>-1||o.indexOf("Windows 2003")>-1)&&(r="2003"),(o.indexOf("Windows NT 6.0")>-1||o.indexOf("Windows Vista")>-1)&&(r="Vista"),(o.indexOf("Windows NT 6.1")>-1||o.indexOf("Windows 7")>-1)&&(r="7"),(o.indexOf("Windows NT 6.2")>-1||o.indexOf("Windows 8")>-1)&&(r="8"),(o.indexOf("Windows NT 6.3")>-1||o.indexOf("Windows 8.1")>-1)&&(r="8.1"),(o.indexOf("Windows NT 10")>-1||o.indexOf("Windows 10")>-1)&&(r="10"),r},s=function(o){var r=navigator.userAgent.toLowerCase();return o.chrome?"Chrome":o.firefox?"Firefox":o.safari?"Safari":o.webview?"webview":o.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={},o={},r=navigator.userAgent,c=navigator.platform,d=r.match(/Web[kK]it[\/]{0,1}([\d.]+)/),l=r.match(/(Android);?[\s\/]+([\d.]+)?/),x=!!r.match(/\(Macintosh\; Intel /),E=r.match(/(iPad).*OS\s([\d_]+)/),f=r.match(/(iPod)(.*OS\s([\d_]+))?/),T=!E&&r.match(/(iPhone\sOS)\s([\d_]+)/),S=r.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),m=/Win\d{2}|Windows/.test(c),b=r.match(/Windows Phone ([\d.]+)/),O=S&&r.match(/TouchPad/),C=r.match(/Kindle\/([\d.]+)/),_=r.match(/Silk\/([\d._]+)/),j=r.match(/(BlackBerry).*Version\/([\d.]+)/),D=r.match(/(BB10).*Version\/([\d.]+)/),N=r.match(/(RIM\sTablet\sOS)\s([\d.]+)/),L=r.match(/PlayBook/),B=r.match(/Chrome\/([\d.]+)/)||r.match(/CriOS\/([\d.]+)/),q=r.match(/Firefox\/([\d.]+)/),G=r.match(/\((?:Mobile|Tablet); rv:([\d.]+)\).*Firefox\/[\d.]+/),Z=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/[\d](?=[^\?]+).*rv:([0-9.].)/),F=!B&&r.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/),ee=F||r.match(/Version\/([\d.]+)([^S](Safari)|[^M]*(Mobile)[^S]*(Safari))/);if((o.webkit=!!d)&&(o.version=d[1]),l&&(e.android=!0,e.version=l[2]),T&&!f&&(e.ios=e.iphone=!0,e.version=T[2].replace(/_/g,".")),E&&(e.ios=e.ipad=!0,e.version=E[2].replace(/_/g,".")),f&&(e.ios=e.ipod=!0,e.version=f[3]?f[3].replace(/_/g,"."):null),b&&(e.wp=!0,e.version=b[1]),S&&(e.webos=!0,e.version=S[2]),O&&(e.touchpad=!0),j&&(e.blackberry=!0,e.version=j[2]),D&&(e.bb10=!0,e.version=D[2]),N&&(e.rimtabletos=!0,e.version=N[2]),L&&(o.playbook=!0),C&&(e.kindle=!0,e.version=C[1]),_&&(o.silk=!0,o.version=_[1]),!_&&e.android&&r.match(/Kindle Fire/)&&(o.silk=!0),B&&(o.chrome=!0,o.version=B[1]),q&&(o.firefox=!0,o.version=q[1]),G&&(e.firefoxos=!0,e.version=G[1]),Z&&(o.ie=!0,o.version=Z[1]),ee&&(x||e.ios||m||l)&&(o.safari=!0,e.ios||(o.version=ee[1])),F&&(o.webview=!0),x){var $=r.match(/[\d]*_[\d]*_[\d]*/);$&&$.length>0&&$[0]&&(e.version=$[0].replace(/_/g,"."))}return e.tablet=!!(E||L||l&&!r.match(/Mobile/)||q&&r.match(/Tablet/)||Z&&!r.match(/Phone/)&&r.match(/Touch/)),e.phone=!(e.tablet||e.ipod||!(l||T||S||j||D||B&&r.match(/Android/)||B&&r.match(/CriOS\/([\d.]+)/)||q&&r.match(/Mobile/)||Z&&r.match(/Touch/))),e.pc=!e.tablet&&!e.phone,x?e.name="macOS":m?(e.name="windows",e.version=i()):e.name=g(e),o.name=s(o),{os:e,browser:o}}(),u=function(){function e(){v(this,e)}return h(e,null,[{key:"getHost",value:function(r){var c="";if(r===void 0||r==null||r=="")return"";var d=r.indexOf("//"),l=r;d>-1&&(l=r.substring(d+2));var c=l,x=l.split("/");return x&&x.length>0&&(c=x[0]),x=c.split(":"),x&&x.length>0&&(c=x[0]),c}},{key:"os",get:function(){return p.os}},{key:"browser",get:function(){var r=p.browser;return r.name||(r.name=s()),r}}]),e}();n.default=u},function(pe,n,A){"use strict";function v(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(s,p){for(var u=0;u<p.length;u++){var e=p[u];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,e.key,e)}}return function(s,p,u){return p&&i(s.prototype,p),u&&i(s,u),s}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"get",value:function(p,u,e,o,r){var c;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.")}),c=new XMLHttpRequest,c.onreadystatechange=function(){c.readyState===4&&(c.status===200?u(c.responseText):e(c.responseText))};try{o===void 0&&(o=!0),c.open("GET",p,o),r&&(c.withCredentials=!0)}catch(d){return void e(d)}try{c.send()}catch(d){e(d)}}}]),i}();n.default=g},function(pe,n,A){"use strict";function v(p,u){if(!(p instanceof u))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function p(u,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(u,r.key,r)}}return function(u,e,o){return e&&p(u.prototype,e),o&&p(u,o),u}}(),g=A(27),i=A(30),s=(A(10),function(){function p(){v(this,p)}return h(p,null,[{key:"randomUUID",value:function(){for(var e=[],o="0123456789abcdef",r=0;r<36;r++)e[r]=o.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=o.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}},{key:"aliyunEncodeURI",value:function(e){var o=encodeURIComponent(e);return o=o.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,o,r){if(!e)throw new Error("PrismPlayer Error: vid should not be null!");var c=[];for(var d in e)c.push(d);for(var l=c.sort(),x="",E=l.length,d=0;d<E;d++){var f=p.aliyunEncodeURI(l[d]),T=p.aliyunEncodeURI(e[l[d]]);x==""?x=f+o+T:x+=r+f+o+T}return x}},{key:"makeChangeSiga",value:function(e,o){if(!e)throw new Error("PrismPlayer Error: vid should not be null!");return i.stringify(g("GET&"+p.aliyunEncodeURI("/")+"&"+p.aliyunEncodeURI(p.makeUTF8sort(e,"=","&")),o+"&"))}}]),p}());n.default=s},function(pe,n,A){!function(v,h){pe.exports=n=h(A(0))}(0,function(v){return v.enc.Utf8})},function(pe,n,A){!function(v,h){pe.exports=n=h(A(0))}(0,function(v){return v.enc.Hex})},function(pe,n,A){pe.exports=A(13)},function(pe,n,A){"use strict";var v,h,g=(typeof Symbol=="function"&&Symbol.iterator,A(14)),i=function(p){return p&&p.__esModule?p:{default:p}}(g),s={Vod:i.default};v=[],(h=function(){return s}.apply(n,v))!==void 0&&(pe.exports=h),window.AliyunUpload=s,qe.exports=AliyunUpload},function(pe,n,A){"use strict";function v(D){return D&&D.__esModule?D:{default:D}}function h(D,N){if(!(D instanceof N))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function D(N,L){for(var B=0;B<L.length;B++){var q=L[B];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(N,q.key,q)}}return function(N,L,B){return L&&D(N.prototype,L),B&&D(N,B),N}}(),i=A(15),s=A(3),p=A(16),u=v(p),e=A(18),o=v(e),r=A(24),c=v(r),d=A(4),l=v(d),x=A(1),E=v(x),f=A(5),T=v(f),S=A(26),m=v(S),b=A(31),O=v(b),C=A(32),_=v(C),j=(A(2),function(){function D(N){h(this,D),this.options=N,this.options.partSize=this.options.partSize||s.UPLOADDEFAULT.PARTSIZE,this.options.parallel=this.options.parallel||s.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(L,B,q,G){return this._retryCount=0,!(q&&!G||!q&&G)&&!(L&&!B||!L&&B)&&(this._ossCreditor.accessKeyId=L,this._ossCreditor.accessKeySecret=B,this._ossCreditor.securityToken=q,this._ossCreditor.expireTime=G,!0)}},{key:"addFile",value:function(L,B,q,G,Z,F){if(!L)return!1;if(L.size==0)try{this.options.onUploadFailed({file:L},"EmptyFile","\u6587\u4EF6\u5927\u5C0F\u4E3A0\uFF0C\u4E0D\u80FD\u4E0A\u4F20")}catch(R){console.log(R)}for(var ee=(this.options,0);ee<this._uploadList.length;ee++)if(this._uploadList[ee].file==L)return!1;var $=new Object;if($.file=L,$._endpoint=B,$._bucket=q,$._object=G,$.state=i.UPLOADSTATE.INIT,$.isImage=E.default.isImage(L.name),!$.isImage&&this.options.enableUploadProgress){var W=this;_.default.getMd5(L,function(R){$.fileHash=R;var I=W._getCheckoutpoint($);W.options.localCheckpoint||I||W._getCheckoutpointFromCloud($,function(M){if(M.UploadPoint){var U=JSON.parse(M.UploadPoint);U.loaded!=1&&($.checkpoint=U.checkpoint,$.loaded=U.loaded,$.videoId=M.VideoId,W._saveCheckoutpoint($,U.checkpoint))}},function(M){try{if((M=JSON.parse(M))&&M.Code=="InvalidParameter"&&M.Message.indexOf("UserId")>0){W._invalidUserId=!0;var U=M.Message+"\uFF0C\u6B63\u786E\u8D26\u53F7ID(userId)\u8BF7\u53C2\u8003\uFF1Ahttps://help.aliyun.com/knowledge_detail/37196.html";console.log(U)}}catch(H){console.log(H)}})})}Z&&($.videoInfo=Z?JSON.parse(Z).Vod:{},$.userData=o.default.encode(Z)),$.ri=T.default.create(),this._uploadList.push($),this._reportLog("20001",$,{ql:this._uploadList.length});try{this.options.addFileSuccess&&this.options.addFileSuccess($)}catch(R){console.log(R)}return!0}},{key:"deleteFile",value:function(L){return!!this.cancelFile(L)&&(this._uploadList.splice(L,1),!0)}},{key:"cleanList",value:function(){this.stopUpload(),this._uploadList.length=0,this._curIndex=-1}},{key:"cancelFile",value:function(L){if(this.options,L<0||L>=this._uploadList.length)return!1;var B=this._uploadList[L];if(L==this._curIndex&&B.state==i.UPLOADSTATE.UPLOADING){B.state=i.UPLOADSTATE.CANCELED;var q=this._getCheckoutpoint(B);q&&q.checkpoint&&(q=q.checkpoint),q&&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(L){if(this.options,L<0||L>=this._uploadList.length)return!1;var B=this._uploadList[L];return B.state==i.UPLOADSTATE.CANCELED&&(B.state=i.UPLOADSTATE.INIT,!0)}},{key:"listFiles",value:function(){return this._uploadList}},{key:"getCheckpoint",value:function(L){return this._getCheckoutpoint({file:L})}},{key:"startUpload",value:function(L){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 L=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{L.onUploadEnd&&L.onUploadEnd(B)}catch(q){console.log(q)}}}},{key:"clear",value:function(L){for(var B=this.options,q=0,G=0;G<this._uploadList.length;G++)B.uploadList[G].state==i.UPLOADSTATE.SUCCESS&&q++,this._uploadList[G].state==L&&(B.uploadList.splice(G,1),G--);B.onClear&&B.onClear(B.uploadList.length,q)}},{key:"stopUpload",value:function(){if((this._state==i.VODSTATE.START||this._state==i.VODSTATE.FAILURE||this._curIndex==-1)&&this._curIndex!=-1){var L=this._uploadList[this._curIndex];this._state=i.VODSTATE.STOP,L.state=i.UPLOADSTATE.STOPED,this._changeState(L,i.UPLOADSTATE.STOPED),this._ossUpload.cancel()}}},{key:"resumeUploadWithAuth",value:function(L){var B=this;if(!L)return!1;var q=JSON.parse(o.default.decode(L));return!!(q.AccessKeyId&&q.AccessKeySecret&&q.SecurityToken&&q.Expiration)&&B.resumeUploadWithToken(q.AccessKeyId,q.AccessKeySecret,q.SecurityToken,q.Expiration)}},{key:"resumeUploadWithToken",value:function(L,B,q,G){if(this.options,!(L&&B&&q&&G))return!1;if(this._state!=i.VODSTATE.EXPIRE)return!1;if(this._curIndex==-1)return!1;var Z="";return this._uploadList.length>this._curIndex&&(Z=this._uploadList[this._curIndex]),Z&&(this.init(L,B,q,G),this._state=i.VODSTATE.START,this._ossUpload=null,this._uploadCore(Z,Z.retry),Z.retry=!1),!0}},{key:"resumeUploadWithSTSToken",value:function(L,B,q){if(this._curIndex==-1)return!1;if(this._state!=i.VODSTATE.EXPIRE)return!1;if(this._uploadList.length>this._curIndex){var G=this._uploadList[this._curIndex];G.object?this._refreshSTSTokenUpload(G,L,B,q):this.setSTSToken(G,L,B,q)}}},{key:"setSTSTokenDirectlyUpload",value:function(L,B,q,G,Z){if(!(B&&q&&G&&Z))return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken and expiration should not be empty."),!1;this._ut="oss";var F=L;this.init(B,q,G,Z),F.endpoint=F._endpoint,F.bucket=F._bucket,F.object=F._object,this._ossUpload=null,this._uploadCore(F,L.retry),L.retry=!1}},{key:"setSTSToken",value:function(L,B,q,G){if(!B||!q||!G)return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken should not be empty."),!1;this._ut="vod",this._uploadWay="sts";var Z=L.videoInfo,F={accessKeyId:B,securityToken:G,accessKeySecret:q,fileName:L.file.name,title:Z.Title,requestId:L.ri,region:this.options.region};Z.ImageType&&(F.imageType=Z.ImageType),Z.ImageExt&&(F.imageExt=Z.ImageExt),Z.FileSize&&(F.fileSize=Z.FileSize),Z.Description&&(F.description=Z.Description),Z.CateId&&(F.cateId=Z.CateId),Z.Tags&&(F.tags=Z.Tags),Z.TemplateGroupId&&(F.templateGroupId=Z.TemplateGroupId),Z.StorageLocation&&(F.storageLocation=Z.StorageLocation),Z.CoverURL&&(F.coverUrl=Z.CoverURL),Z.TransCodeMode&&(F.transCodeMode=Z.TransCodeMode),Z.UserData&&(F.userData=Z.UserData);var ee=this,$="getUploadAuth";L.videoId?(F.videoId=L.videoId,$="refreshUploadAuth"):L.isImage&&($="getImageUploadAuth"),m.default[$](F,function(W){L.videoId=W.VideoId?W.VideoId:L.videoId,ee.setUploadAuthAndAddress(L,W.UploadAuth,W.UploadAddress),ee._state=i.VODSTATE.START},function(W){ee._error(L,{name:W.Code,code:W.Code,message:W.Message,requestId:W.RequestId})})}},{key:"setUploadAuthAndAddress",value:function(L,B,q,G){if(!L||!B||!q)return!1;var Z=JSON.parse(o.default.decode(B));if(!(Z.AccessKeyId&&Z.AccessKeySecret&&Z.SecurityToken&&Z.Expiration))return console.error("uploadauth is invalid"),!1;var F={},ee=L;if(q){if(F=JSON.parse(o.default.decode(q)),!F.Endpoint||!F.Bucket||!F.FileName)return console.error("uploadAddress is invalid"),!1}else F.Endpoint=ee.endpoint,F.Bucket=ee.bucket,F.FileName=ee.object;this._ut="vod",this._uploadWay="vod",this.options.region=Z.Region||this.options.region,this.init(Z.AccessKeyId,Z.AccessKeySecret,Z.SecurityToken,Z.Expiration),ee.endpoint=ee._endpoint?ee._endpoint:F.Endpoint,ee.bucket=ee._bucket?ee._bucket:F.Bucket,ee.object=ee._object?ee._object:F.FileName,ee.region=this.options.region,G&&(ee.videoId=G),this._ossUpload=null,this._uploadCore(ee,L.retry),L.retry=!1}},{key:"_refreshSTSTokenUpload",value:function(L,B,q,G){if(!B||!q||!G)return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken should not be empty."),!1;var Z={accessKeyId:B,securityToken:G,accessKeySecret:q,videoId:L.object,requestId:L.ri,region:this.options.region},F=this,ee="refreshUploadAuth";L.isImage&&(ee="getImageUploadAuth"),m.default[ee](Z,function($){F.setUploadAuthAndAddress(L,$.UploadAuth,UploadAddress),F._state=i.VODSTATE.START},function($){F._error(L,{name:$.Code,code:$.Code,message:$.Message,requestId:$.RequestId})})}},{key:"_upload",value:function(L){var B=arguments.length>1&&arguments[1]!==void 0&&arguments[1],q=this.options;if(L.retry=B,q.onUploadstarted&&!B)try{var G=this._getCheckoutpoint(L);G&&G.state!=i.UPLOADSTATE.UPLOADING&&(L.checkpoint=G,L.videoId=G.videoId),q.onUploadstarted(L)}catch(Z){console.log(Z)}}},{key:"_uploadCore",value:function(L){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(L.state=i.UPLOADSTATE.UPLOADING,!this._ossUpload){L.endpoint=L.endpoint||"http://oss-cn-hangzhou.aliyuncs.com";var B=this;this._ossUpload=new u.default({bucket:L.bucket,endpoint:L.endpoint,AccessKeyId:this._ossCreditor.accessKeyId,AccessKeySecret:this._ossCreditor.accessKeySecret,SecurityToken:this._ossCreditor.securityToken,timeout:this.options.timeout,cname:this.options.cname},{onerror:function(R,I){B._error.call(B,R,I)},oncomplete:function(R,I){B._complete.call(B,R,I)},onprogress:function(R,I,M){B._progress.call(B,R,I,M)}})}var q=E.default.getFileType(L.file.name),G=this._getCheckoutpoint(L),Z="",F="";G&&G.checkpoint&&(F=G.state,Z=G.videoId,G=G.checkpoint),G&&Z==L.videoId&&F!=i.UPLOADSTATE.UPLOADING&&(G.file=L.file,L.checkpoint=G,G.uploadId);var ee=this._adjustPartSize(L);this._reportLog("20002",L,{ft:q,fs:L.file.size,bu:L.bucket,ok:L.object,vid:L.videoId||"",fn:L.file.name,fw:null,fh:null,ps:ee});var $={headers:{"x-oss-notification":L.userData?L.userData:""},partSize:ee,parallel:this.options.parallel};this._ossUpload.upload(L,$)}},{key:"_findUploadIndex",value:function(){for(var L=-1,B=0;B<this._uploadList.length;B++)if(this._uploadList[B].state==i.UPLOADSTATE.INIT){L=B;break}return L}},{key:"_error",value:function(L,B){if(B.name=="cancel")try{this.options.onUploadCanceled(L,B)}catch(G){console.log(G)}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,L.state=i.UPLOADSTATE.FAIlURE;try{this.options.onUploadTokenExpired(L,B)}catch(G){console.log(G)}}return}if((B.name=="RequestTimeoutError"||B.name=="ConnectionTimeout"||B.name=="ConnectionTimeoutError")&&this._retryTotal>this._retryCount){var q=this;return setTimeout(function(){q._uploadCore(L,!0)},1e3*q._retryDuration),void this._retryCount++}B.name=="NoSuchUploadError"&&this._removeCheckoutpoint(L),this._handleError(L,B)}}},{key:"_handleError",value:function(L,B){var q=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],G=i.UPLOADSTATE.FAIlURE;if(L.state!=i.UPLOADSTATE.CANCELED&&(L.state=i.UPLOADSTATE.FAIlURE,this._state=i.VODSTATE.FAILURE,this.options.onUploadFailed&&B&&B.code&&B.message))try{this.options.onUploadFailed(L,B.code,B.message)}catch(F){console.log(F)}if(q&&this._changeState(L,G),this._reportLog("20006",L,{code:B.name,message:B.message,requestId:B.requestId,fs:L.file.size,bu:L.bucket,ok:L.object,fn:L.file.name}),this._reportLog("20004",L,{requestId:B.requestId,fs:L.file.size,bu:L.bucket,ok:L.object,fn:L.file.name}),L.ri=T.default.create(),this._findUploadIndex()!=-1){var Z=this;this._state=i.VODSTATE.START,setTimeout(function(){Z.nextUpload()},100)}}},{key:"_complete",value:function(L,B){if(L.state=i.UPLOADSTATE.SUCCESS,this.options.onUploadSucceed)try{this.options.onUploadSucceed(L)}catch(Z){console.log(Z)}var q=0;B&&B.res&&B.res.headers&&(q=B.res.headers["x-oss-request-id"]),this._removeCheckoutpoint(L);var G=this;setTimeout(function(){G.nextUpload()},100),this._retryCount=0,this._reportLog("20003",L,{requestId:q})}},{key:"_progress",value:function(L,B,q){if(this.options.onUploadProgress)try{L.loaded=B.loaded,this.options.onUploadProgress(L,B.total,B.loaded)}catch(R){console.log(R)}var G=B.checkpoint,Z=0;G&&(L.checkpoint=G,this._saveCheckoutpoint(L,G,i.UPLOADSTATE.UPLOADING),Z=G.uploadId),this._retryCount=0;var F=this._getPortNumber(G),ee=0;if(q&&q.headers&&(ee=q.headers["x-oss-request-id"]),B.loaded!=0&&this._reportLog("20007",L,{pn:F,requestId:ee}),B.loaded!=1&&this._reportLog("20005",L,{UploadId:Z,pn:F+1,pr:L.retry?1:0,fs:L.file.size,bu:L.bucket,ok:L.object,fn:L.file.name}),!this._invalidUserId&&!L.isImage&&this._ut=="vod"&&this.options.enableUploadProgress){var $={file:L.file,checkpoint:B,userId:this.options.userId,videoId:L.videoId,region:this.options.region,fileHash:L.fileHash};try{var W=this;O.default.upload($,function(){},function(R){if((R=JSON.parse(R))&&R.Code=="InvalidParameter"&&R.Message.indexOf("UserId")>0){W._invalidUserId=!0;var I=R.Message+"\uFF0C\u6B63\u786E\u8D26\u53F7ID(userId)\u8BF7\u53C2\u8003\uFF1Ahttps://help.aliyun.com/knowledge_detail/37196.html";console.log(I)}})}catch(R){console.log(R)}}}},{key:"_getPortNumber",value:function(L){if(L){var B=L.doneParts;if(B&&B.length>0)return B[B.length-1].number}return 0}},{key:"_removeCheckoutpoint",value:function(L){var B=this._getCheckoutpointKey(L);c.default.remove(B)}},{key:"_getCheckoutpoint",value:function(L){var B=this._getCheckoutpointKey(L),q=c.default.get(B);if(q)try{return JSON.parse(q)}catch(G){}return""}},{key:"_saveCheckoutpoint",value:function(L,B,q){if(B){var G=this._getCheckoutpointKey(L),Z=L.file,F={fileName:Z.name,lastModified:Z.lastModified,size:Z.size,object:L.object,videoId:L.videoId,bucket:L.bucket,endpoint:L.endpoint,checkpoint:B,loaded:L.loaded,state:q};c.default.set(G,JSON.stringify(F))}}},{key:"_changeState",value:function(L,B){var q=this._getCheckoutpoint(L);q&&((this._onbeforeunload=!0)&&(B=i.UPLOADSTATE.STOPED),this._saveCheckoutpoint(L,q.checkpoint,B))}},{key:"_getCheckoutpointKey",value:function(L){return"upload_"+L.file.lastModified+"_"+L.file.name+"_"+L.file.size}},{key:"_getCheckoutpointFromCloud",value:function(L,B,q){var G={userId:this.options.userId,uploadInfoList:[{FileName:L.file.name,FileSize:L.file.size,FileCreateTime:L.file.lastModified,FileHash:L.fileHash}],region:this.options.region};O.default.get(G,function(Z){B(Z)},q)}},{key:"_reportLog",value:function(L,B,q){q||(q={}),q.ri=B.ri,this._ut&&(q.ut=this._ut),this._log.log(L,q)}},{key:"_initEvent",value:function(){var L=this;window&&(window.onbeforeunload=function(B){if(L._onbeforeunload=!0,L._curIndex!=-1&&L._uploadList.length>L._curIndex){var q=L._uploadList[L._curIndex];L._changeState(q,i.UPLOADSTATE.STOPED)}})}},{key:"_initState",value:function(){for(var L=0;L<this._uploadList.length;L++){var B=this._uploadList[L];B.state!=i.UPLOADSTATE.FAIlURE&&B.state!=i.UPLOADSTATE.STOPED||(B.state=i.UPLOADSTATE.INIT)}this._state=i.VODSTATE.INIT}},{key:"_adjustPartSize",value:function(L){return L.file.size/this.options.partSize>1e4?L.file.size/9999:this.options.partSize}}]),D}());n.default=j},function(pe,n,A){"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(pe,n,A){"use strict";function v(e){return e&&e.__esModule?e:{default:e}}function h(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function e(o,r){for(var c=0;c<r.length;c++){var d=r[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(o,d.key,d)}}return function(o,r,c){return r&&e(o.prototype,r),c&&e(o,c),o}}(),i=A(3),s=A(17),p=(v(s),A(1)),u=(v(p),function(){function e(o,r){if(h(this,e),o){this._config=o,this.create(this._config),this._uploadInfo=null,this._callback={};var c=function(){};this._callback.onerror=r.onerror||c,this._callback.oncomplete=r.oncomplete||c,this._callback.onprogress=r.onprogress||c}}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 c={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&&(c.timeout=r.timeout),this.oss=new OSS.Wrapper(c)}},{key:"abort",value:function(r){if(r.checkpoint){var c=r.checkpoint.uploadId;this.oss.abortMultipartUpload(r.object,c)}}},{key:"getVersion",value:function(){}},{key:"cancel",value:function(){this.oss.cancel&&this.oss.cancel()}},{key:"upload",value:function(r,c){this._uploadInfo=r;var d=this,l=function(f,T,S){return function(m){d._progress(f,T,S),m()}},x={parallel:c.parallel||this._config.parallel||i.UPLOADDEFAULT.PARALLEL,partSize:c.partSize||this._config.partSize||i.UPLOADDEFAULT.PARTSIZE,progress:l};c.headers&&(x.headers=c.headers),r.checkpoint&&(x.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,x).then(function(E,f){d._complete(E)}).catch(function(E){d.oss.cancel&&(d.oss&&d.oss.isCancel()?console.log("oss is cancel as error"):d.oss.cancel()),d._error(E)})}},{key:"header",value:function(r,c,d){this.oss.get(r.object).then(function(l){c(l)}).catch(function(l){d(l)})}},{key:"_progress",value:function(r,c,d){this._callback.onprogress(this._uploadInfo,{loaded:r,total:this._uploadInfo.file.size,checkpoint:c},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=u},function(pe,n,A){"use strict";function v(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(s,p){for(var u=0;u<p.length;u++){var e=p[u];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,e.key,e)}}return function(s,p,u){return p&&i(s.prototype,p),u&&i(s,u),s}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"format",value:function(p){if(arguments.length<2)return null;for(var u=arguments[1],e=1;e<arguments.length;e++){var o=new RegExp("\\{"+(e-1)+"\\}","gm");u=u.replace(o,arguments[e+1])}return{code:p,message:u}}},{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(pe,n,A){"use strict";(function(v){function h(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function s(p,u){for(var e=0;e<u.length;e++){var o=u[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(p,o.key,o)}}return function(p,u,e){return u&&s(p.prototype,u),e&&s(p,e),p}}(),i=function(){function s(){h(this,s)}return g(s,null,[{key:"encode",value:function(u){return new v(u).toString("base64")}},{key:"decode",value:function(u){return new v(u,"base64").toString()}}]),s}();n.default=i}).call(n,A(19).Buffer)},function(pe,n,A){"use strict";(function(v){function h(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function g(k,t){if(h()<t)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(k=new Uint8Array(t),k.__proto__=i.prototype):(k===null&&(k=new i(t)),k.length=t),k}function i(k,t,a){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(k,t,a);if(typeof k=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return e(this,k)}return s(this,k,t,a)}function s(k,t,a,P){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&t instanceof ArrayBuffer?c(k,t,a,P):typeof t=="string"?o(k,t,a):d(k,t)}function p(k){if(typeof k!="number")throw new TypeError('"size" argument must be a number');if(k<0)throw new RangeError('"size" argument must not be negative')}function u(k,t,a,P){return p(t),t<=0?g(k,t):a!==void 0?typeof P=="string"?g(k,t).fill(a,P):g(k,t).fill(a):g(k,t)}function e(k,t){if(p(t),k=g(k,t<0?0:0|l(t)),!i.TYPED_ARRAY_SUPPORT)for(var a=0;a<t;++a)k[a]=0;return k}function o(k,t,a){if(typeof a=="string"&&a!==""||(a="utf8"),!i.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');var P=0|E(t,a);k=g(k,P);var y=k.write(t,a);return y!==P&&(k=k.slice(0,y)),k}function r(k,t){var a=t.length<0?0:0|l(t.length);k=g(k,a);for(var P=0;P<a;P+=1)k[P]=255&t[P];return k}function c(k,t,a,P){if(t.byteLength,a<0||t.byteLength<a)throw new RangeError("'offset' is out of bounds");if(t.byteLength<a+(P||0))throw new RangeError("'length' is out of bounds");return t=a===void 0&&P===void 0?new Uint8Array(t):P===void 0?new Uint8Array(t,a):new Uint8Array(t,a,P),i.TYPED_ARRAY_SUPPORT?(k=t,k.__proto__=i.prototype):k=r(k,t),k}function d(k,t){if(i.isBuffer(t)){var a=0|l(t.length);return k=g(k,a),k.length===0||t.copy(k,0,0,a),k}if(t){if(typeof ArrayBuffer!="undefined"&&t.buffer instanceof ArrayBuffer||"length"in t)return typeof t.length!="number"||ie(t.length)?g(k,0):r(k,t);if(t.type==="Buffer"&&re(t.data))return r(k,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function l(k){if(k>=h())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h().toString(16)+" bytes");return 0|k}function x(k){return+k!=k&&(k=0),i.alloc(+k)}function E(k,t){if(i.isBuffer(k))return k.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(k)||k instanceof ArrayBuffer))return k.byteLength;typeof k!="string"&&(k=""+k);var a=k.length;if(a===0)return 0;for(var P=!1;;)switch(t){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":case void 0:return ne(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*a;case"hex":return a>>>1;case"base64":return Q(k).length;default:if(P)return ne(k).length;t=(""+t).toLowerCase(),P=!0}}function f(k,t,a){var P=!1;if((t===void 0||t<0)&&(t=0),t>this.length)return"";if((a===void 0||a>this.length)&&(a=this.length),a<=0)return"";if(a>>>=0,t>>>=0,a<=t)return"";for(k||(k="utf8");;)switch(k){case"hex":return Z(this,t,a);case"utf8":case"utf-8":return L(this,t,a);case"ascii":return q(this,t,a);case"latin1":case"binary":return G(this,t,a);case"base64":return N(this,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,a);default:if(P)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),P=!0}}function T(k,t,a){var P=k[t];k[t]=k[a],k[a]=P}function S(k,t,a,P,y){if(k.length===0)return-1;if(typeof a=="string"?(P=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,isNaN(a)&&(a=y?0:k.length-1),a<0&&(a=k.length+a),a>=k.length){if(y)return-1;a=k.length-1}else if(a<0){if(!y)return-1;a=0}if(typeof t=="string"&&(t=i.from(t,P)),i.isBuffer(t))return t.length===0?-1:m(k,t,a,P,y);if(typeof t=="number")return t&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?y?Uint8Array.prototype.indexOf.call(k,t,a):Uint8Array.prototype.lastIndexOf.call(k,t,a):m(k,[t],a,P,y);throw new TypeError("val must be string, number or Buffer")}function m(k,t,a,P,y){function w(he,oe){return z===1?he[oe]:he.readUInt16BE(oe*z)}var z=1,K=k.length,fe=t.length;if(P!==void 0&&((P=String(P).toLowerCase())==="ucs2"||P==="ucs-2"||P==="utf16le"||P==="utf-16le")){if(k.length<2||t.length<2)return-1;z=2,K/=2,fe/=2,a/=2}var le;if(y){var ve=-1;for(le=a;le<K;le++)if(w(k,le)===w(t,ve===-1?0:le-ve)){if(ve===-1&&(ve=le),le-ve+1===fe)return ve*z}else ve!==-1&&(le-=le-ve),ve=-1}else for(a+fe>K&&(a=K-fe),le=a;le>=0;le--){for(var _e=!0,ye=0;ye<fe;ye++)if(w(k,le+ye)!==w(t,ye)){_e=!1;break}if(_e)return le}return-1}function b(k,t,a,P){a=Number(a)||0;var y=k.length-a;P?(P=Number(P))>y&&(P=y):P=y;var w=t.length;if(w%2!=0)throw new TypeError("Invalid hex string");P>w/2&&(P=w/2);for(var z=0;z<P;++z){var K=parseInt(t.substr(2*z,2),16);if(isNaN(K))return z;k[a+z]=K}return z}function O(k,t,a,P){return J(ne(t,k.length-a),k,a,P)}function C(k,t,a,P){return J(ue(t),k,a,P)}function _(k,t,a,P){return C(k,t,a,P)}function j(k,t,a,P){return J(Q(t),k,a,P)}function D(k,t,a,P){return J(de(t,k.length-a),k,a,P)}function N(k,t,a){return t===0&&a===k.length?V.fromByteArray(k):V.fromByteArray(k.slice(t,a))}function L(k,t,a){a=Math.min(k.length,a);for(var P=[],y=t;y<a;){var w=k[y],z=null,K=w>239?4:w>223?3:w>191?2:1;if(y+K<=a){var fe,le,ve,_e;switch(K){case 1:w<128&&(z=w);break;case 2:fe=k[y+1],(192&fe)==128&&(_e=(31&w)<<6|63&fe)>127&&(z=_e);break;case 3:fe=k[y+1],le=k[y+2],(192&fe)==128&&(192&le)==128&&(_e=(15&w)<<12|(63&fe)<<6|63&le)>2047&&(_e<55296||_e>57343)&&(z=_e);break;case 4:fe=k[y+1],le=k[y+2],ve=k[y+3],(192&fe)==128&&(192&le)==128&&(192&ve)==128&&(_e=(15&w)<<18|(63&fe)<<12|(63&le)<<6|63&ve)>65535&&_e<1114112&&(z=_e)}}z===null?(z=65533,K=1):z>65535&&(z-=65536,P.push(z>>>10&1023|55296),z=56320|1023&z),P.push(z),y+=K}return B(P)}function B(k){var t=k.length;if(t<=te)return String.fromCharCode.apply(String,k);for(var a="",P=0;P<t;)a+=String.fromCharCode.apply(String,k.slice(P,P+=te));return a}function q(k,t,a){var P="";a=Math.min(k.length,a);for(var y=t;y<a;++y)P+=String.fromCharCode(127&k[y]);return P}function G(k,t,a){var P="";a=Math.min(k.length,a);for(var y=t;y<a;++y)P+=String.fromCharCode(k[y]);return P}function Z(k,t,a){var P=k.length;(!t||t<0)&&(t=0),(!a||a<0||a>P)&&(a=P);for(var y="",w=t;w<a;++w)y+=ae(k[w]);return y}function F(k,t,a){for(var P=k.slice(t,a),y="",w=0;w<P.length;w+=2)y+=String.fromCharCode(P[w]+256*P[w+1]);return y}function ee(k,t,a){if(k%1!=0||k<0)throw new RangeError("offset is not uint");if(k+t>a)throw new RangeError("Trying to access beyond buffer length")}function $(k,t,a,P,y,w){if(!i.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>y||t<w)throw new RangeError('"value" argument is out of bounds');if(a+P>k.length)throw new RangeError("Index out of range")}function W(k,t,a,P){t<0&&(t=65535+t+1);for(var y=0,w=Math.min(k.length-a,2);y<w;++y)k[a+y]=(t&255<<8*(P?y:1-y))>>>8*(P?y:1-y)}function R(k,t,a,P){t<0&&(t=4294967295+t+1);for(var y=0,w=Math.min(k.length-a,4);y<w;++y)k[a+y]=t>>>8*(P?y:3-y)&255}function I(k,t,a,P,y,w){if(a+P>k.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("Index out of range")}function M(k,t,a,P,y){return y||I(k,t,a,4,34028234663852886e22,-34028234663852886e22),X.write(k,t,a,P,23,4),a+4}function U(k,t,a,P,y){return y||I(k,t,a,8,17976931348623157e292,-17976931348623157e292),X.write(k,t,a,P,52,8),a+8}function H(k){if(k=Y(k).replace(ce,""),k.length<2)return"";for(;k.length%4!=0;)k+="=";return k}function Y(k){return k.trim?k.trim():k.replace(/^\s+|\s+$/g,"")}function ae(k){return k<16?"0"+k.toString(16):k.toString(16)}function ne(k,t){t=t||1/0;for(var a,P=k.length,y=null,w=[],z=0;z<P;++z){if((a=k.charCodeAt(z))>55295&&a<57344){if(!y){if(a>56319){(t-=3)>-1&&w.push(239,191,189);continue}if(z+1===P){(t-=3)>-1&&w.push(239,191,189);continue}y=a;continue}if(a<56320){(t-=3)>-1&&w.push(239,191,189),y=a;continue}a=65536+(y-55296<<10|a-56320)}else y&&(t-=3)>-1&&w.push(239,191,189);if(y=null,a<128){if((t-=1)<0)break;w.push(a)}else if(a<2048){if((t-=2)<0)break;w.push(a>>6|192,63&a|128)}else if(a<65536){if((t-=3)<0)break;w.push(a>>12|224,a>>6&63|128,63&a|128)}else{if(!(a<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;w.push(a>>18|240,a>>12&63|128,a>>6&63|128,63&a|128)}}return w}function ue(k){for(var t=[],a=0;a<k.length;++a)t.push(255&k.charCodeAt(a));return t}function de(k,t){for(var a,P,y,w=[],z=0;z<k.length&&!((t-=2)<0);++z)a=k.charCodeAt(z),P=a>>8,y=a%256,w.push(y),w.push(P);return w}function Q(k){return V.toByteArray(H(k))}function J(k,t,a,P){for(var y=0;y<P&&!(y+a>=t.length||y>=k.length);++y)t[y+a]=k[y];return y}function ie(k){return k!==k}/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/var V=A(21),X=A(22),re=A(23);n.Buffer=i,n.SlowBuffer=x,n.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=v.TYPED_ARRAY_SUPPORT!==void 0?v.TYPED_ARRAY_SUPPORT:function(){try{var k=new Uint8Array(1);return k.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},k.foo()===42&&typeof k.subarray=="function"&&k.subarray(1,1).byteLength===0}catch(t){return!1}}(),n.kMaxLength=h(),i.poolSize=8192,i._augment=function(k){return k.__proto__=i.prototype,k},i.from=function(k,t,a){return s(null,k,t,a)},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(k,t,a){return u(null,k,t,a)},i.allocUnsafe=function(k){return e(null,k)},i.allocUnsafeSlow=function(k){return e(null,k)},i.isBuffer=function(k){return!(k==null||!k._isBuffer)},i.compare=function(k,t){if(!i.isBuffer(k)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(k===t)return 0;for(var a=k.length,P=t.length,y=0,w=Math.min(a,P);y<w;++y)if(k[y]!==t[y]){a=k[y],P=t[y];break}return a<P?-1:P<a?1:0},i.isEncoding=function(k){switch(String(k).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(k,t){if(!re(k))throw new TypeError('"list" argument must be an Array of Buffers');if(k.length===0)return i.alloc(0);var a;if(t===void 0)for(t=0,a=0;a<k.length;++a)t+=k[a].length;var P=i.allocUnsafe(t),y=0;for(a=0;a<k.length;++a){var w=k[a];if(!i.isBuffer(w))throw new TypeError('"list" argument must be an Array of Buffers');w.copy(P,y),y+=w.length}return P},i.byteLength=E,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var k=this.length;if(k%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<k;t+=2)T(this,t,t+1);return this},i.prototype.swap32=function(){var k=this.length;if(k%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<k;t+=4)T(this,t,t+3),T(this,t+1,t+2);return this},i.prototype.swap64=function(){var k=this.length;if(k%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<k;t+=8)T(this,t,t+7),T(this,t+1,t+6),T(this,t+2,t+5),T(this,t+3,t+4);return this},i.prototype.toString=function(){var k=0|this.length;return k===0?"":arguments.length===0?L(this,0,k):f.apply(this,arguments)},i.prototype.equals=function(k){if(!i.isBuffer(k))throw new TypeError("Argument must be a Buffer");return this===k||i.compare(this,k)===0},i.prototype.inspect=function(){var k="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(k=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(k+=" ... ")),"<Buffer "+k+">"},i.prototype.compare=function(k,t,a,P,y){if(!i.isBuffer(k))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),a===void 0&&(a=k?k.length:0),P===void 0&&(P=0),y===void 0&&(y=this.length),t<0||a>k.length||P<0||y>this.length)throw new RangeError("out of range index");if(P>=y&&t>=a)return 0;if(P>=y)return-1;if(t>=a)return 1;if(t>>>=0,a>>>=0,P>>>=0,y>>>=0,this===k)return 0;for(var w=y-P,z=a-t,K=Math.min(w,z),fe=this.slice(P,y),le=k.slice(t,a),ve=0;ve<K;++ve)if(fe[ve]!==le[ve]){w=fe[ve],z=le[ve];break}return w<z?-1:z<w?1:0},i.prototype.includes=function(k,t,a){return this.indexOf(k,t,a)!==-1},i.prototype.indexOf=function(k,t,a){return S(this,k,t,a,!0)},i.prototype.lastIndexOf=function(k,t,a){return S(this,k,t,a,!1)},i.prototype.write=function(k,t,a,P){if(t===void 0)P="utf8",a=this.length,t=0;else if(a===void 0&&typeof t=="string")P=t,a=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(a)?(a|=0,P===void 0&&(P="utf8")):(P=a,a=void 0)}var y=this.length-t;if((a===void 0||a>y)&&(a=y),k.length>0&&(a<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");P||(P="utf8");for(var w=!1;;)switch(P){case"hex":return b(this,k,t,a);case"utf8":case"utf-8":return O(this,k,t,a);case"ascii":return C(this,k,t,a);case"latin1":case"binary":return _(this,k,t,a);case"base64":return j(this,k,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,k,t,a);default:if(w)throw new TypeError("Unknown encoding: "+P);P=(""+P).toLowerCase(),w=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;i.prototype.slice=function(k,t){var a=this.length;k=~~k,t=t===void 0?a:~~t,k<0?(k+=a)<0&&(k=0):k>a&&(k=a),t<0?(t+=a)<0&&(t=0):t>a&&(t=a),t<k&&(t=k);var P;if(i.TYPED_ARRAY_SUPPORT)P=this.subarray(k,t),P.__proto__=i.prototype;else{var y=t-k;P=new i(y,void 0);for(var w=0;w<y;++w)P[w]=this[w+k]}return P},i.prototype.readUIntLE=function(k,t,a){k|=0,t|=0,a||ee(k,t,this.length);for(var P=this[k],y=1,w=0;++w<t&&(y*=256);)P+=this[k+w]*y;return P},i.prototype.readUIntBE=function(k,t,a){k|=0,t|=0,a||ee(k,t,this.length);for(var P=this[k+--t],y=1;t>0&&(y*=256);)P+=this[k+--t]*y;return P},i.prototype.readUInt8=function(k,t){return t||ee(k,1,this.length),this[k]},i.prototype.readUInt16LE=function(k,t){return t||ee(k,2,this.length),this[k]|this[k+1]<<8},i.prototype.readUInt16BE=function(k,t){return t||ee(k,2,this.length),this[k]<<8|this[k+1]},i.prototype.readUInt32LE=function(k,t){return t||ee(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},i.prototype.readUInt32BE=function(k,t){return t||ee(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},i.prototype.readIntLE=function(k,t,a){k|=0,t|=0,a||ee(k,t,this.length);for(var P=this[k],y=1,w=0;++w<t&&(y*=256);)P+=this[k+w]*y;return y*=128,P>=y&&(P-=Math.pow(2,8*t)),P},i.prototype.readIntBE=function(k,t,a){k|=0,t|=0,a||ee(k,t,this.length);for(var P=t,y=1,w=this[k+--P];P>0&&(y*=256);)w+=this[k+--P]*y;return y*=128,w>=y&&(w-=Math.pow(2,8*t)),w},i.prototype.readInt8=function(k,t){return t||ee(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},i.prototype.readInt16LE=function(k,t){t||ee(k,2,this.length);var a=this[k]|this[k+1]<<8;return 32768&a?4294901760|a:a},i.prototype.readInt16BE=function(k,t){t||ee(k,2,this.length);var a=this[k+1]|this[k]<<8;return 32768&a?4294901760|a:a},i.prototype.readInt32LE=function(k,t){return t||ee(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},i.prototype.readInt32BE=function(k,t){return t||ee(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},i.prototype.readFloatLE=function(k,t){return t||ee(k,4,this.length),X.read(this,k,!0,23,4)},i.prototype.readFloatBE=function(k,t){return t||ee(k,4,this.length),X.read(this,k,!1,23,4)},i.prototype.readDoubleLE=function(k,t){return t||ee(k,8,this.length),X.read(this,k,!0,52,8)},i.prototype.readDoubleBE=function(k,t){return t||ee(k,8,this.length),X.read(this,k,!1,52,8)},i.prototype.writeUIntLE=function(k,t,a,P){(k=+k,t|=0,a|=0,!P)&&$(this,k,t,a,Math.pow(2,8*a)-1,0);var y=1,w=0;for(this[t]=255&k;++w<a&&(y*=256);)this[t+w]=k/y&255;return t+a},i.prototype.writeUIntBE=function(k,t,a,P){(k=+k,t|=0,a|=0,!P)&&$(this,k,t,a,Math.pow(2,8*a)-1,0);var y=a-1,w=1;for(this[t+y]=255&k;--y>=0&&(w*=256);)this[t+y]=k/w&255;return t+a},i.prototype.writeUInt8=function(k,t,a){return k=+k,t|=0,a||$(this,k,t,1,255,0),i.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),this[t]=255&k,t+1},i.prototype.writeUInt16LE=function(k,t,a){return k=+k,t|=0,a||$(this,k,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=255&k,this[t+1]=k>>>8):W(this,k,t,!0),t+2},i.prototype.writeUInt16BE=function(k,t,a){return k=+k,t|=0,a||$(this,k,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=k>>>8,this[t+1]=255&k):W(this,k,t,!1),t+2},i.prototype.writeUInt32LE=function(k,t,a){return k=+k,t|=0,a||$(this,k,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t+3]=k>>>24,this[t+2]=k>>>16,this[t+1]=k>>>8,this[t]=255&k):R(this,k,t,!0),t+4},i.prototype.writeUInt32BE=function(k,t,a){return k=+k,t|=0,a||$(this,k,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t]=k>>>24,this[t+1]=k>>>16,this[t+2]=k>>>8,this[t+3]=255&k):R(this,k,t,!1),t+4},i.prototype.writeIntLE=function(k,t,a,P){if(k=+k,t|=0,!P){var y=Math.pow(2,8*a-1);$(this,k,t,a,y-1,-y)}var w=0,z=1,K=0;for(this[t]=255&k;++w<a&&(z*=256);)k<0&&K===0&&this[t+w-1]!==0&&(K=1),this[t+w]=(k/z>>0)-K&255;return t+a},i.prototype.writeIntBE=function(k,t,a,P){if(k=+k,t|=0,!P){var y=Math.pow(2,8*a-1);$(this,k,t,a,y-1,-y)}var w=a-1,z=1,K=0;for(this[t+w]=255&k;--w>=0&&(z*=256);)k<0&&K===0&&this[t+w+1]!==0&&(K=1),this[t+w]=(k/z>>0)-K&255;return t+a},i.prototype.writeInt8=function(k,t,a){return k=+k,t|=0,a||$(this,k,t,1,127,-128),i.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),k<0&&(k=255+k+1),this[t]=255&k,t+1},i.prototype.writeInt16LE=function(k,t,a){return k=+k,t|=0,a||$(this,k,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=255&k,this[t+1]=k>>>8):W(this,k,t,!0),t+2},i.prototype.writeInt16BE=function(k,t,a){return k=+k,t|=0,a||$(this,k,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=k>>>8,this[t+1]=255&k):W(this,k,t,!1),t+2},i.prototype.writeInt32LE=function(k,t,a){return k=+k,t|=0,a||$(this,k,t,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[t]=255&k,this[t+1]=k>>>8,this[t+2]=k>>>16,this[t+3]=k>>>24):R(this,k,t,!0),t+4},i.prototype.writeInt32BE=function(k,t,a){return k=+k,t|=0,a||$(this,k,t,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),i.TYPED_ARRAY_SUPPORT?(this[t]=k>>>24,this[t+1]=k>>>16,this[t+2]=k>>>8,this[t+3]=255&k):R(this,k,t,!1),t+4},i.prototype.writeFloatLE=function(k,t,a){return M(this,k,t,!0,a)},i.prototype.writeFloatBE=function(k,t,a){return M(this,k,t,!1,a)},i.prototype.writeDoubleLE=function(k,t,a){return U(this,k,t,!0,a)},i.prototype.writeDoubleBE=function(k,t,a){return U(this,k,t,!1,a)},i.prototype.copy=function(k,t,a,P){if(a||(a=0),P||P===0||(P=this.length),t>=k.length&&(t=k.length),t||(t=0),P>0&&P<a&&(P=a),P===a)return 0;if(k.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(a<0||a>=this.length)throw new RangeError("sourceStart out of bounds");if(P<0)throw new RangeError("sourceEnd out of bounds");P>this.length&&(P=this.length),k.length-t<P-a&&(P=k.length-t+a);var y,w=P-a;if(this===k&&a<t&&t<P)for(y=w-1;y>=0;--y)k[y+t]=this[y+a];else if(w<1e3||!i.TYPED_ARRAY_SUPPORT)for(y=0;y<w;++y)k[y+t]=this[y+a];else Uint8Array.prototype.set.call(k,this.subarray(a,a+w),t);return w},i.prototype.fill=function(k,t,a,P){if(typeof k=="string"){if(typeof t=="string"?(P=t,t=0,a=this.length):typeof a=="string"&&(P=a,a=this.length),k.length===1){var y=k.charCodeAt(0);y<256&&(k=y)}if(P!==void 0&&typeof P!="string")throw new TypeError("encoding must be a string");if(typeof P=="string"&&!i.isEncoding(P))throw new TypeError("Unknown encoding: "+P)}else typeof k=="number"&&(k&=255);if(t<0||this.length<t||this.length<a)throw new RangeError("Out of range index");if(a<=t)return this;t>>>=0,a=a===void 0?this.length:a>>>0,k||(k=0);var w;if(typeof k=="number")for(w=t;w<a;++w)this[w]=k;else{var z=i.isBuffer(k)?k:ne(new i(k,P).toString()),K=z.length;for(w=0;w<a-t;++w)this[w+t]=z[w%K]}return this};var ce=/[^+\/0-9A-Za-z-_]/g}).call(n,A(20))},function(pe,n){var A;A=function(){return this}();try{A=A||Function("return this")()||(0,eval)("this")}catch(v){typeof window=="object"&&(A=window)}pe.exports=A},function(pe,n,A){"use strict";function v(l){var x=l.length;if(x%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return l[x-2]==="="?2:l[x-1]==="="?1:0}function h(l){return 3*l.length/4-v(l)}function g(l){var x,E,f,T,S,m=l.length;T=v(l),S=new o(3*m/4-T),E=T>0?m-4:m;var b=0;for(x=0;x<E;x+=4)f=e[l.charCodeAt(x)]<<18|e[l.charCodeAt(x+1)]<<12|e[l.charCodeAt(x+2)]<<6|e[l.charCodeAt(x+3)],S[b++]=f>>16&255,S[b++]=f>>8&255,S[b++]=255&f;return T===2?(f=e[l.charCodeAt(x)]<<2|e[l.charCodeAt(x+1)]>>4,S[b++]=255&f):T===1&&(f=e[l.charCodeAt(x)]<<10|e[l.charCodeAt(x+1)]<<4|e[l.charCodeAt(x+2)]>>2,S[b++]=f>>8&255,S[b++]=255&f),S}function i(l){return u[l>>18&63]+u[l>>12&63]+u[l>>6&63]+u[63&l]}function s(l,x,E){for(var f,T=[],S=x;S<E;S+=3)f=(l[S]<<16)+(l[S+1]<<8)+l[S+2],T.push(i(f));return T.join("")}function p(l){for(var x,E=l.length,f=E%3,T="",S=[],m=0,b=E-f;m<b;m+=16383)S.push(s(l,m,m+16383>b?b:m+16383));return f===1?(x=l[E-1],T+=u[x>>2],T+=u[x<<4&63],T+="=="):f===2&&(x=(l[E-2]<<8)+l[E-1],T+=u[x>>10],T+=u[x>>4&63],T+=u[x<<2&63],T+="="),S.push(T),S.join("")}n.byteLength=h,n.toByteArray=g,n.fromByteArray=p;for(var u=[],e=[],o=typeof Uint8Array!="undefined"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,d=r.length;c<d;++c)u[c]=r[c],e[r.charCodeAt(c)]=c;e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63},function(pe,n){n.read=function(A,v,h,g,i){var s,p,u=8*i-g-1,e=(1<<u)-1,o=e>>1,r=-7,c=h?i-1:0,d=h?-1:1,l=A[v+c];for(c+=d,s=l&(1<<-r)-1,l>>=-r,r+=u;r>0;s=256*s+A[v+c],c+=d,r-=8);for(p=s&(1<<-r)-1,s>>=-r,r+=g;r>0;p=256*p+A[v+c],c+=d,r-=8);if(s===0)s=1-o;else{if(s===e)return p?NaN:1/0*(l?-1:1);p+=Math.pow(2,g),s-=o}return(l?-1:1)*p*Math.pow(2,s-g)},n.write=function(A,v,h,g,i,s){var p,u,e,o=8*s-i-1,r=(1<<o)-1,c=r>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=g?0:s-1,x=g?1:-1,E=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(u=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+c>=1?d/e:d*Math.pow(2,1-c),v*e>=2&&(p++,e/=2),p+c>=r?(u=0,p=r):p+c>=1?(u=(v*e-1)*Math.pow(2,i),p+=c):(u=v*Math.pow(2,c-1)*Math.pow(2,i),p=0));i>=8;A[h+l]=255&u,l+=x,u/=256,i-=8);for(p=p<<i|u,o+=i;o>0;A[h+l]=255&p,l+=x,p/=256,o-=8);A[h+l-x]|=128*E}},function(pe,n){var A={}.toString;pe.exports=Array.isArray||function(v){return A.call(v)=="[object Array]"}},function(pe,n,A){"use strict";function v(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(s,p){for(var u=0;u<p.length;u++){var e=p[u];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,e.key,e)}}return function(s,p,u){return p&&i(s.prototype,p),u&&i(s,u),s}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"set",value:function(p,u){try{window.localStorage&&localStorage.setItem(p,u)}catch(e){window[p+"_localStorage"]=u}}},{key:"get",value:function(p){try{if(window.localStorage)return localStorage.getItem(p)}catch(u){return window[p+"_localStorage"]}return""}},{key:"remove",value:function(p){try{window.localStorage&&localStorage.removeItem(p)}catch(u){delete window[p+"_localStorage"]}}}]),i}();n.default=g},function(pe,n,A){"use strict";function v(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function i(s,p){for(var u=0;u<p.length;u++){var e=p[u];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(s,e.key,e)}}return function(s,p,u){return p&&i(s.prototype,p),u&&i(s,u),s}}(),g=function(){function i(){v(this,i)}return h(i,null,[{key:"get",value:function(p){for(var u=p+"",e=document.cookie.split(";"),o=0;o<e.length;o++){var r=e[o].trim();if(r.indexOf(u)==0)return unescape(r.substring(u.length+1,r.length))}return""}},{key:"set",value:function(p,u,e){var o=new Date;o.setTime(o.getTime()+24*e*60*60*1e3);var r="expires="+o.toGMTString();document.cookie=p+"="+escape(u)+"; "+r}}]),i}();n.default=g},function(pe,n,A){"use strict";function v(o){return o&&o.__esModule?o:{default:o}}function h(o,r){if(!(o instanceof r))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function o(r,c){for(var d=0;d<c.length;d++){var l=c[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}return function(r,c,d){return c&&o(r.prototype,c),d&&o(r,d),r}}(),i=A(8),s=v(i),p=A(9),u=v(p),e=function(){function o(){h(this,o)}return g(o,null,[{key:"refreshUploadAuth",value:function(c,d,l){var x=(u.default.randomUUID(),u.default.randomUUID()),E={AccessKeyId:c.accessKeyId,SecurityToken:c.securityToken,Action:"RefreshUploadVideo",VideoId:c.videoId,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:x,RequestId:c.requestId},f=u.default.makeUTF8sort(E,"=","&")+"&Signature="+u.default.aliyunEncodeURI(u.default.makeChangeSiga(E,c.accessKeySecret)),T="https://vod."+c.region+".aliyuncs.com/?"+f;s.default.get(T,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(c,d,l){var x=(u.default.randomUUID(),u.default.randomUUID()),E={AccessKeyId:c.accessKeyId,SecurityToken:c.securityToken,Action:"CreateUploadVideo",Title:c.title,FileName:c.fileName,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:x,RequestId:c.requestId};c.fileSize&&(E.FileSize=c.fileSize),c.description&&(E.Description=c.description),c.cateId&&(E.CateId=c.cateId),c.tags&&(E.Tags=c.tags),c.templateGroupId&&(E.TemplateGroupId=c.templateGroupId),c.storageLocation&&(E.StorageLocation=c.storageLocation),c.coverUrl&&(E.CoverURL=c.coverUrl),c.transCodeMode&&(E.TransCodeMode=c.transCodeMode),c.userData&&(E.UserData=JSON.stringify(c.userData));var f=u.default.makeUTF8sort(E,"=","&")+"&Signature="+u.default.aliyunEncodeURI(u.default.makeChangeSiga(E,c.accessKeySecret)),T="https://vod."+c.region+".aliyuncs.com/?"+f;s.default.get(T,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(b){}l(m)}})}},{key:"getImageUploadAuth",value:function(c,d,l){var x=(u.default.randomUUID(),u.default.randomUUID()),E={AccessKeyId:c.accessKeyId,SecurityToken:c.securityToken,Action:"CreateUploadImage",ImageType:c.imageType?c.imageType:"default",Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:x,RequestId:c.requestId};c.title&&(E.Title=c.title),c.imageExt&&(E.ImageExt=c.imageExt),c.tags&&(E.Tags=c.tags),c.storageLocation&&(E.StorageLocation=c.storageLocation);var f=u.default.makeUTF8sort(E,"=","&")+"&Signature="+u.default.aliyunEncodeURI(u.default.makeChangeSiga(E,c.accessKeySecret)),T="https://vod."+c.region+".aliyuncs.com/?"+f;s.default.get(T,function(S){S=JSON.parse(S),d&&d(S)},function(S){if(l){var m=JSON.parse(S);l(m)}})}}]),o}();n.default=e},function(pe,n,A){!function(v,h,g){pe.exports=n=h(A(0),A(28),A(29))}(0,function(v){return v.HmacSHA1})},function(pe,n,A){!function(v,h){pe.exports=n=h(A(0))}(0,function(v){return function(){var h=v,g=h.lib,i=g.WordArray,s=g.Hasher,p=h.algo,u=[],e=p.SHA1=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,c){for(var d=this._hash.words,l=d[0],x=d[1],E=d[2],f=d[3],T=d[4],S=0;S<80;S++){if(S<16)u[S]=0|r[c+S];else{var m=u[S-3]^u[S-8]^u[S-14]^u[S-16];u[S]=m<<1|m>>>31}var b=(l<<5|l>>>27)+T+u[S];b+=S<20?1518500249+(x&E|~x&f):S<40?1859775393+(x^E^f):S<60?(x&E|x&f|E&f)-1894007588:(x^E^f)-899497514,T=f,f=E,E=x<<30|x>>>2,x=l,l=b}d[0]=d[0]+l|0,d[1]=d[1]+x|0,d[2]=d[2]+E|0,d[3]=d[3]+f|0,d[4]=d[4]+T|0},_doFinalize:function(){var r=this._data,c=r.words,d=8*this._nDataBytes,l=8*r.sigBytes;return c[l>>>5]|=128<<24-l%32,c[14+(l+64>>>9<<4)]=Math.floor(d/4294967296),c[15+(l+64>>>9<<4)]=d,r.sigBytes=4*c.length,this._process(),this._hash},clone:function(){var r=s.clone.call(this);return r._hash=this._hash.clone(),r}});h.SHA1=s._createHelper(e),h.HmacSHA1=s._createHmacHelper(e)}(),v.SHA1})},function(pe,n,A){!function(v,h){pe.exports=n=h(A(0))}(0,function(v){!function(){var h=v,g=h.lib,i=g.Base,s=h.enc,p=s.Utf8,u=h.algo;u.HMAC=i.extend({init:function(o,r){o=this._hasher=new o.init,typeof r=="string"&&(r=p.parse(r));var c=o.blockSize,d=4*c;r.sigBytes>d&&(r=o.finalize(r)),r.clamp();for(var l=this._oKey=r.clone(),x=this._iKey=r.clone(),E=l.words,f=x.words,T=0;T<c;T++)E[T]^=1549556828,f[T]^=909522486;l.sigBytes=x.sigBytes=d,this.reset()},reset:function(){var o=this._hasher;o.reset(),o.update(this._iKey)},update:function(o){return this._hasher.update(o),this},finalize:function(o){var r=this._hasher,c=r.finalize(o);return r.reset(),r.finalize(this._oKey.clone().concat(c))}})}()})},function(pe,n,A){!function(v,h){pe.exports=n=h(A(0))}(0,function(v){return function(){function h(u,e,o){for(var r=[],c=0,d=0;d<e;d++)if(d%4){var l=o[u.charCodeAt(d-1)]<<d%4*2,x=o[u.charCodeAt(d)]>>>6-d%4*2;r[c>>>2]|=(l|x)<<24-c%4*8,c++}return s.create(r,c)}var g=v,i=g.lib,s=i.WordArray,p=g.enc;p.Base64={stringify:function(e){var o=e.words,r=e.sigBytes,c=this._map;e.clamp();for(var d=[],l=0;l<r;l+=3)for(var x=o[l>>>2]>>>24-l%4*8&255,E=o[l+1>>>2]>>>24-(l+1)%4*8&255,f=o[l+2>>>2]>>>24-(l+2)%4*8&255,T=x<<16|E<<8|f,S=0;S<4&&l+.75*S<r;S++)d.push(c.charAt(T>>>6*(3-S)&63));var m=c.charAt(64);if(m)for(;d.length%4;)d.push(m);return d.join("")},parse:function(e){var o=e.length,r=this._map,c=this._reverseMap;if(!c){c=this._reverseMap=[];for(var d=0;d<r.length;d++)c[r.charCodeAt(d)]=d}var l=r.charAt(64);if(l){var x=e.indexOf(l);x!==-1&&(o=x)}return h(e,o,c)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),v.enc.Base64})},function(pe,n,A){"use strict";function v(b){return b&&b.__esModule?b:{default:b}}function h(b,O){if(!(b instanceof O))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var g=function(){function b(O,C){for(var _=0;_<C.length;_++){var j=C[_];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(O,j.key,j)}}return function(O,C,_){return C&&b(O.prototype,C),_&&b(O,_),O}}(),i=A(8),s=v(i),p=A(7),u=v(p),e=A(4),o=v(e),r=A(6),c=v(r),d=A(1),l=v(d),x=A(9),E=v(x),f=A(2),T=A(11),S=A(10),m=function(){function b(){h(this,b)}return g(b,null,[{key:"getAuthInfo",value:function(C,_,j){var D=C+"|f#Ylm&^1TppeRhLg|"+j;return _&&(D=C+"|"+_+"|f#Ylm&^1TppeRhLg|"+j),f(S.parse(D)).toString(T)}},{key:"upload",value:function(C,_,j){var D=l.default.ISODateString(new Date),N=Math.floor(new Date().valueOf()/1e3),L=o.default.getClientId();L=o.default.setClientId(L);var B=b.getAuthInfo(C.userId,L,N),q=E.default.randomUUID(),G={Source:"WebSDK",BusinessType:"UploadVideo",Action:"ReportUploadProgress",TerminalType:"H5",DeviceModel:u.default.browser.name+(u.default.browser.version||""),AppVersion:c.default.version,AuthTimestamp:N,Timestamp:D,AuthInfo:B,FileName:C.file.name,FileSize:C.file.size,FileCreateTime:C.file.lastModified,FileHash:C.fileHash,UploadId:C.checkpoint.checkpoint.uploadId,PartSize:C.checkpoint.checkpoint.partSize,DonePartsCount:C.checkpoint.checkpoint.doneParts.length,UploadPoint:JSON.stringify(C.checkpoint),UploadRatio:C.checkpoint.loaded,UserId:C.userId,VideoId:C.videoId,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:q};L&&(G.ClientId=L);var Z=E.default.makeUTF8sort(G,"=","&")+"&Signature="+E.default.aliyunEncodeURI(E.default.makeChangeSiga(G,C.accessKeySecret)),F="https://vod."+C.region+".aliyuncs.com/?"+Z;s.default.get(F,function(ee){_&&_()},function(ee){ee&&(j(ee),console.log(ee))})}},{key:"get",value:function(C,_,j){var D=l.default.ISODateString(new Date),N=Math.floor(new Date().valueOf()/1e3),L=o.default.getClientId(),B=b.getAuthInfo(C.userId,L,N),q=E.default.randomUUID(),G={Source:"WebSDK",BusinessType:"UploadVideo",Action:"GetUploadProgress",TerminalType:"H5",DeviceModel:u.default.browser.name+(u.default.browser.version||""),AppVersion:c.default.version,AuthTimestamp:N,Timestamp:D,AuthInfo:B,UserId:C.userId,UploadInfoList:JSON.stringify(C.uploadInfoList),Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:q};L&&(G.ClientId=L);var Z=E.default.makeUTF8sort(G,"=","&")+"&Signature="+E.default.aliyunEncodeURI(E.default.makeChangeSiga(G,C.accessKeySecret)),F="https://vod."+C.region+".aliyuncs.com/?"+Z;s.default.get(F,function(ee){var $={},W=L;ee=ee?JSON.parse(ee):{},ee.UploadProgress&&ee.UploadProgress.UploadProgressList&&ee.UploadProgress.UploadProgressList.length>0&&($=ee.UploadProgress.UploadProgressList[0],W=$.ClientId),o.default.setClientId(W),_&&_($)},function(ee){ee&&(j(ee),console.log(ee))})}}]),b}();n.default=m},function(pe,n,A){"use strict";function v(p,u){if(!(p instanceof u))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var h=function(){function p(u,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(u,r.key,r)}}return function(u,e,o){return e&&p(u.prototype,e),o&&p(u,o),u}}(),g=A(2),i=A(33),s=(A(11),function(){function p(){v(this,p)}return h(p,null,[{key:"getMd5",value:function(e,o,r){var c=new FileReader;c.onload=function(x){try{if(x&&x.target){var E=g(i.parse(x.target.result)),f=E.toString();o(f)}}catch(T){console.log(T)}},c.onerror=function(x){console.log(x),errorCallback(x)};var d=File.prototype.slice||File.prototype.mozSlice||File.prototype.webkitSlice,l=d.call(e,0,1024);c.readAsBinaryString(l)}}]),p}());n.default=s},function(pe,n,A){!function(v,h){pe.exports=n=h(A(0))}(0,function(v){return v.enc.Latin1})}])}).call(this,se("yLpj"))},sBCT:function(qe,Be,se){"use strict";var Pe=se("DZo9"),Ge=se("8z0m"),pe=se("+L6B"),n=se("2/Rp"),A=se("MXD1"),v=se("CFYs"),h=se("c1Ei"),g=se.n(h),i=se("5Tp6"),s=se("2qtc"),p=se("kLXV"),u=se("miYZ"),e=se("tsqr"),o=se("y8nQ"),r=se("Vl3Y"),c=se("k16G"),d=se("XEnU"),l=se("3S9h"),x=se("5NDa"),E=se("5rEg"),f=se("q1tI"),T=se.n(f),S=se("WHYC"),m=se("9kvl"),b=se("kwm0"),O=se.n(b),C=se("Aky1"),_=se("m3rI"),j=E.a.TextArea,D=500,N=function(q,G){var Z,F=G.payload||{},ee=F.uploadInfo,$=ee===void 0?{}:ee;switch(G.type){case"addVideo":return{videoList:[].concat(Object(l.a)(q.videoList),[{name:$.file.name,size:$.file.size,type:$.file.type,fileHash:$.fileHash,state:$.state,videoId:$.videoId,loaded:$.loaded||0,title:""}])};case"removeVideo":return{videoList:q.videoList.filter(function(W){return W.name!==G.payload.name})};case"removeAll":return{videoList:[]};case"updateProgress":return{videoList:q.videoList.map(function(W){return W.name===G.payload.uploadInfo.file.name?Object(d.a)(Object(d.a)({},W),{loaded:G.payload.progressPercent,videoId:$.videoId,fileHash:$.fileHash}):W})};case"updateTitle":return{videoList:(Z=q.videoList)===null||Z===void 0?void 0:Z.map(function(W){return W.name===G.payload.item.name?Object(d.a)(Object(d.a)({},W),{title:G.payload.title}):W})};default:return{videoList:[]}}},L=function(q){var G=q.user,Z=q.globalSetting,F=q.loading,ee=q.dispatch,$=q.visible,W=q.editData,R=q.onCancel,I=R===void 0?function(){}:R,M=q.onOk,U=M===void 0?function(){}:M,H=Object(S.m)(),Y=r.a.useForm(),ae=Object(c.a)(Y,1),ne=ae[0],ue=Object(f.useReducer)(N,{videoList:[]}),de=Object(c.a)(ue,2),Q=de[0],J=de[1],ie=Object(f.useState)(!1),V=Object(c.a)(ie,2),X=V[0],re=V[1],te=Object(f.useRef)(),ce=Object(f.useState)(),k=Object(c.a)(ce,2),t=k[0],a=k[1],P=Object(f.useState)(!1),y=Object(c.a)(P,2),w=y[0],z=y[1],K=Object(f.useState)(!1),fe=Object(c.a)(K,2),le=fe[0],ve=fe[1],_e=Object(f.useState)([]),ye=Object(c.a)(_e,2),he=ye[0],oe=ye[1],be=Object(f.useState)([]),Ce=Object(c.a)(be,2),xe=Ce[0],je=Ce[1];Object(f.useEffect)(function(){if(!W)return;z(W.is_link),a(W.link),!W.is_link&&J({type:"addVideo",payload:{uploadInfo:{file:{name:W.file_name},videoId:W.video_id,loaded:100}}}),ne.setFieldsValue({name:W.name,description:W.description})},[W]);var Me=function(){var ge=document.getElementById("fileUpload");ge.value=""},ze=function(ge){var Se,Te,me;z(!1);var we=ge.target.files[0];if(!we){Me();return}var Ee=we.name.toLowerCase();if(Ee&&Ee.indexOf(".avi")==-1&&Ee.indexOf(".flv")==-1&&Ee.indexOf(".f4v")==-1&&Ee.indexOf(".m4v")==-1&&Ee.indexOf(".mov")==-1&&Ee.indexOf(".mp4")==-1&&Ee.indexOf(".rmvb")==-1&&Ee.indexOf(".swf")==-1&&Ee.indexOf(".webm")==-1&&Ee.indexOf(".wmv")==-1){e.b.info("\u4E0D\u652F\u6301\u7684\u89C6\u9891\u683C\u5F0F"),Me();return}if(!(((Se=G.userInfo)===null||Se===void 0?void 0:Se.admin)||((Te=G.userInfo)===null||Te===void 0?void 0:Te.business))&&we.size>D*1024*1024){e.b.info("\u89C6\u9891\u5927\u5C0F\u8D85\u8FC7".concat(D,"M")),Me();return}if((me=Q.videoList)===null||me===void 0?void 0:me.find(function(Ue){return Ue.name===we.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"),Me();return}Ze(we)},$e=function(ge,Se){p.a.confirm({title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:T.a.createElement("div",{className:"tc"},"\u60A8\u786E\u8BA4\u8981",Se?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20","\u8BE5\u89C6\u9891\u5417\uFF1F"),onOk:function(){Me(),J({type:"removeVideo",payload:{name:ge}})}})},Ze=function(ge){var Se,Te='{"Vod":{}}';if(re(!0),te.current){te.current.addFile(ge,null,null,null,Te);return}Object(C.a)((Se=G.userInfo)===null||Se===void 0?void 0:Se.login,{create:!te,addFileSuccess:function(we){J({type:"addVideo",payload:{uploadInfo:we}})},onUploadProgress:function(we,Ee,Ue){var Ne=Math.ceil(Ue*100);J({type:"updateProgress",payload:{uploadInfo:we,progressPercent:Ne}}),Me()},onUploadFailed:function(we){e.b.info("\u89C6\u9891\u4E91\u670D\u52A1\u51FA\u73B0\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20\u3002")},onUploadEnd:function(we){re(!1)},onUploadSucceed:function(we){re(!1)},onUploadError:function(we){re(!1)},gotUploader:function(we){we.addFile(ge,null,null,null,Te),te.current=we}})},et=function(){var Ae=Object(i.a)(g.a.mark(function ge(){var Se,Te;return g.a.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return we.next=2,ne.validateFields();case 2:if(!(xe&&(xe==null?void 0:xe.length)>0||w&&t)){we.next=12;break}return ve(!0),Se=w?{link:t}:{video_id:xe==null?void 0:xe[0].attachment_id,video_name:xe==null?void 0:xe[0].name,filesize:xe==null?void 0:xe[0].filesize,duration:xe==null?void 0:xe[0].duration},we.next=7,U(Object(d.a)(Object(d.a)({},Se),{name:ne.getFieldValue("name"),description:ne.getFieldValue("description")}));case 7:Te=we.sent,ve(!1),Te.id&&Ke(),we.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 we.stop()}},ge)}));return function(){return Ae.apply(this,arguments)}}(),Ke=function(){ne.resetFields(),J({type:"removeAll"}),a(null),z(null),je([])},Je=function(){I(),Ke()},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:_.a.API_SERVER+"/api/attachments.json",withCredentials:!0,onRemove:function(ge){je([])},onChange:function(ge){var Se=ge.file.status;if(Se!=="uploading",Se==="removed"&&oe(ge.fileList),Se==="done"){var Te;oe(ge==null||((Te=ge.fileList)===null||Te===void 0)?void 0:Te.slice(-1)),it(ge.file),z(!1),e.b.success("".concat(ge.file.name," \u6587\u4EF6\u4E0A\u4F20\u6210\u529F"))}else Se==="error"&&e.b.error("".concat(ge.file.name," \u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"))},beforeUpload:function(ge){var Se=ge.size/1024/1024<1e3;return Se||e.b.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E150MB"),Se}};function it(Ae){var ge=URL.createObjectURL(Ae.originFileObj),Se=new Audio(ge);Se.addEventListener("loadedmetadata",function(Te){var me,we,Ee=Se.duration,Ue={};Ue.name=Ae.name,Ue.duration=Math.floor(Ee),Ue.filesize=Ae.size,Ue.attachment_id=Ae==null?void 0:Ae.response.id,Ue.course_id=H.coursesId,Ue.category_id=(me=Location)===null||me===void 0||((we=me.query)===null||we===void 0)?void 0:we.categoryId,xe.push(Ue),je(Object(l.a)(xe))})}var tt=function(){var ge,Se,Te,me,we,Ee,Ue,Ne,Fe,Ye,We,Qe;return T.a.createElement(T.a.Fragment,null,!w&&!!((ge=Q.videoList)===null||ge===void 0?void 0:ge.length)&&T.a.createElement("div",{className:O.a.fileProgress},((Se=Q.videoList)===null||Se===void 0||((Te=Se[0])===null||Te===void 0)?void 0:Te.loaded)==100?T.a.createElement("div",{className:"".concat(O.a.videoName," font14")},(me=Q.videoList)===null||me===void 0||((we=me[0])===null||we===void 0)?void 0:we.name):T.a.createElement(v.a,{style:{width:"80%"},percent:(Ee=Q.videoList)===null||Ee===void 0||((Ue=Ee[0])===null||Ue===void 0)?void 0:Ue.loaded,status:((Ne=Q.videoList)===null||Ne===void 0||((Fe=Ne[0])===null||Fe===void 0)?void 0:Fe.loaded)==100?"normal":"active"}),T.a.createElement("div",{className:O.a.fileCancel,onClick:function(){var De,Re,Xe,Ie;return $e((De=Q.videoList)===null||De===void 0||((Re=De[0])===null||Re===void 0)?void 0:Re.name,((Xe=Q.videoList)===null||Xe===void 0||((Ie=Xe[0])===null||Ie===void 0)?void 0:Ie.loaded)==100)}},((Ye=Q.videoList)===null||Ye===void 0||((We=Ye[0])===null||We===void 0)?void 0:We.loaded)===100?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20")),!((Qe=Q.videoList)===null||Qe===void 0?void 0:Qe.length)&&T.a.createElement("div",{className:O.a.uploadWrap},T.a.createElement("label",{htmlFor:"fileUpload",style:{marginRight:"30px"}},T.a.createElement(Ge.a,rt,T.a.createElement(n.a,{className:O.a.upload,disabled:(xe==null?void 0:xe.length)>0},T.a.createElement("i",{className:"iconfont icon-shangchuanshipin1 mr5"}),"\u4E0A\u4F20\u89C6\u9891"))),T.a.createElement("label",{className:"".concat(O.a.upload," ").concat(O.a.uploadLink),style:{display:(he==null?void 0:he.length)>0?"none":""},onClick:function(){return z(!0)}},T.a.createElement("i",{className:"iconfont icon-lianjie1 mr5"}),"\u6DFB\u52A0\u5916\u94FE")),w&&T.a.createElement(E.a,{className:"mt5",placeholder:"\u8BF7\u8F93\u5165\u89C6\u9891\u94FE\u63A5",value:t,onChange:function(De){return a(De.target.value)}}))};return T.a.createElement(p.a,{centered:!0,maskClosable:!1,title:W?"\u7F16\u8F91\u89C6\u9891\u9879\u76EE":"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE",width:740,className:O.a.modal,visible:$,confirmLoading:le,onOk:et,onCancel:Je},T.a.createElement(r.a,{form:ne},T.a.createElement("input",{type:"file",id:"fileUpload",style:{display:"none"},onChange:ze,accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*"}),T.a.createElement(r.a.Item,{label:"\u9879\u76EE\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"}]},T.a.createElement(E.a,{maxLength:40,placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC740\u5B57\u7684\u9879\u76EE\u540D\u79F0"})),T.a.createElement(r.a.Item,{label:"\u9879\u76EE\u5185\u5BB9",name:"content",className:O.a.contentItem},tt()),T.a.createElement(r.a.Item,{label:"\u9879\u76EE\u7B80\u4ECB",name:"description",className:"ml8"},T.a.createElement(j,{rows:5,maxLength:800,placeholder:"\u8BF7\u8F93\u5165\u672C\u89C6\u9891\u7B80\u4ECB\uFF0C\u6700\u591A\u4E0D\u8D85\u8FC7800\u5B57"})),T.a.createElement("div",{className:O.a.description},T.a.createElement("span",null,""),T.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"),T.a.createElement("div",null,"\u89C6\u9891\u89C4\u683C\uFF1Amp4(h264) "),T.a.createElement("div",null,"\u6E29\u99A8\u63D0\u793A\uFF1A",T.a.createElement("span",{className:O.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 q=B.user,G=B.loading,Z=B.globalSetting;return{user:q,globalSetting:Z,loading:G}})(L)},sWEp:function(qe,Be,se){qe.exports={wrap:"wrap___3nJXB",title:"title___3AYM5",radioWrap:"radioWrap___dbSML",radio:"radio___3h-_z",colorFF0000:"colorFF0000___2d_ZE",pagination:"pagination___3WP6s"}},vZDz:function(qe,Be,se){qe.exports={contentWrap:"contentWrap___3Fc2r",footer:"footer___4nxVN",radioGroup:"radioGroup___359yE",wrap:"wrap___1OqR3",introName:"introName___3saG-",rating:"rating___3X95K",modalRating:"modalRating___A4qeN"}}}]);