From 668df479bb264d2ff8f8f3da45a49302df51c57a Mon Sep 17 00:00:00 2001 From: leezq Date: Thu, 25 Aug 2022 19:54:29 +0800 Subject: [PATCH] feat: add pwa generate --- .babelrc | 10 +- biz/webui/htdocs/index-template.html | 15 + biz/webui/htdocs/index.html | 14 +- biz/webui/htdocs/js/060b2710bdbbe3dfe48b.svg | 288 + biz/webui/htdocs/js/4692b9ec53fd5972caa2.ttf | Bin 0 -> 45404 bytes biz/webui/htdocs/js/5be1347c682810f199c7.eot | Bin 0 -> 20127 bytes biz/webui/htdocs/js/82b1212e45a2bc35dd73.woff | Bin 0 -> 23424 bytes .../htdocs/js/be810be3a3e14c682a25.woff2 | Bin 0 -> 18028 bytes ...2x192.9d3c46155d288f623bd3fc1d272987c3.png | Bin 0 -> 15784 bytes biz/webui/htdocs/js/index-2.9.28.js | 2 + .../htdocs/js/index-2.9.28.js.LICENSE.txt | 60 + biz/webui/htdocs/js/index.js | 104 - ...fest.cb9af05cae5b19e5f633b935af24d438.json | 16 + biz/webui/htdocs/js/service-worker.js | 1 + biz/webui/htdocs/js/workbox-ad8011fb.js | 1 + biz/webui/htdocs/src/js/index.js | 13 + biz/webui/htdocs/src/webpack.config.js | 76 +- biz/webui/lib/index.js | 3 +- package-lock.json | 16937 ---------------- package.json | 27 +- yarn.lock | 6598 ++++++ 21 files changed, 7070 insertions(+), 17095 deletions(-) create mode 100644 biz/webui/htdocs/index-template.html create mode 100644 biz/webui/htdocs/js/060b2710bdbbe3dfe48b.svg create mode 100644 biz/webui/htdocs/js/4692b9ec53fd5972caa2.ttf create mode 100644 biz/webui/htdocs/js/5be1347c682810f199c7.eot create mode 100644 biz/webui/htdocs/js/82b1212e45a2bc35dd73.woff create mode 100644 biz/webui/htdocs/js/be810be3a3e14c682a25.woff2 create mode 100644 biz/webui/htdocs/js/icon_192x192.9d3c46155d288f623bd3fc1d272987c3.png create mode 100644 biz/webui/htdocs/js/index-2.9.28.js create mode 100644 biz/webui/htdocs/js/index-2.9.28.js.LICENSE.txt delete mode 100644 biz/webui/htdocs/js/index.js create mode 100644 biz/webui/htdocs/js/manifest.cb9af05cae5b19e5f633b935af24d438.json create mode 100644 biz/webui/htdocs/js/service-worker.js create mode 100644 biz/webui/htdocs/js/workbox-ad8011fb.js delete mode 100644 package-lock.json create mode 100644 yarn.lock diff --git a/.babelrc b/.babelrc index 5f1b8ef9d..928b08730 100644 --- a/.babelrc +++ b/.babelrc @@ -1,13 +1,9 @@ { "presets": [ - "env", - "react" - ], - "plugins": [ - "transform-class-properties", - "transform-object-rest-spread" + "@babel/preset-env", + "@babel/preset-react" ], "ignore": [ "./biz/webui/htdocs/src/js/components/json/eval.js" ] -} +} \ No newline at end of file diff --git a/biz/webui/htdocs/index-template.html b/biz/webui/htdocs/index-template.html new file mode 100644 index 000000000..20cff6fcd --- /dev/null +++ b/biz/webui/htdocs/index-template.html @@ -0,0 +1,15 @@ + + + + + + + + Whistle Web Debugger + + + +
+ + + \ No newline at end of file diff --git a/biz/webui/htdocs/index.html b/biz/webui/htdocs/index.html index 58bcf7165..bba20a23a 100644 --- a/biz/webui/htdocs/index.html +++ b/biz/webui/htdocs/index.html @@ -1,13 +1 @@ - - - - - - -Whistle Web Debugger - - -
- - - +Whistle Web Debugger
\ No newline at end of file diff --git a/biz/webui/htdocs/js/060b2710bdbbe3dfe48b.svg b/biz/webui/htdocs/js/060b2710bdbbe3dfe48b.svg new file mode 100644 index 000000000..94fb5490a --- /dev/null +++ b/biz/webui/htdocs/js/060b2710bdbbe3dfe48b.svg @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/biz/webui/htdocs/js/4692b9ec53fd5972caa2.ttf b/biz/webui/htdocs/js/4692b9ec53fd5972caa2.ttf new file mode 100644 index 0000000000000000000000000000000000000000..1413fc609ab6f21774de0cb7e01360095584f65b GIT binary patch literal 45404 zcmd?Sd0-pWwLh*qi$?oCk~i6sWlOeWJC3|4juU5JNSu9hSVACzERcmjLV&P^utNzg zIE4Kr1=5g!SxTX#Ern9_%4&01rlrW`Z!56xXTGQR4C z3vR~wXq>NDx$c~e?;ia3YjJ*$!C>69a?2$lLyhpI!CFfJsP=|`8@K0|bbMpWwVUEygg0=0x_)HeHpGSJagJNLA3c!$EuOV>j$wi! zbo{vZ(s8tl>@!?}dmNHXo)ABy7ohD7_1G-P@SdJWT8*oeyBVYVW9*vn}&VI4q++W;Z+uz=QTK}^C75!`aFYCX# zf7fC2;o`%!huaTNJAB&VWrx=szU=VLhwnbT`vc<#<`4WI6n_x@AofA~2d90o?1L3w z9!I|#P*NQ)$#9aASijuw>JRld^-t)Zhmy|i-`Iam|IWkguaMR%lhi4p~cX-9& zjfbx}yz}s`4-6>D^+6FzihR)Y!GsUy=_MWi_v7y#KmYi-{iZ+s@ekkq!@Wxz!~BQwiI&ti z>hC&iBe2m(dpNVvSbZe3DVgl(dxHt-k@{xv;&`^c8GJY%&^LpM;}7)B;5Qg5J^E${ z7z~k8eWOucjX6)7q1a%EVtmnND8cclz8R1=X4W@D8IDeUGXxEWe&p>Z*voO0u_2!! zj3dT(Ki+4E;uykKi*yr?w6!BW2FD55PD6SMj`OfBLwXL5EA-9KjpMo4*5Eqs^>4&> z8PezAcn!9jk-h-Oo!E9EjX8W6@EkTHeI<@AY{f|5fMW<-Ez-z)xCvW3()Z#x0oydB zzm4MzY^NdpIF9qMp-jU;99LjlgY@@s+=z`}_%V*xV7nRV*Kwrx-i`FzI0BZ#yOI8# z!S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tb3n}?*yLt&XADa=rW>qz=_6s9ziOd5sXjil>FVFx3r zf>Feewk0v#W9>Gp4GacTRr>Sd2T6dWi-{YX`v!D)kCWzG5xQB=?es5ON(%nkwUhNl zV>@xkWWWv*N+{e$(SrExvN6BXzU(Hxlx27{VYHf+LpIbTO+Yu(ltMk<;)3A(LU@ytVYFkYvTa79idMtUFhfxx?P!)2F`prNWW#Fub#l>N2s@nh&n_ zA4{#}|AIs9|A4P0ZF%fy=hDN!t#ifH<)4u2kirK~JUpjQ-J+~cXOZI&dIts;P}UeXslP6zKvpEKSN-$y>kJ^nw2tC9bv zo(|lT@?vZ!{_l|d^8Yh)eEBh*5ABh+Lzjw+?V)o z#P-W7361>E(Y4;@`sv;VKn G`u_lkUM?>H literal 0 HcmV?d00001 diff --git a/biz/webui/htdocs/js/be810be3a3e14c682a25.woff2 b/biz/webui/htdocs/js/be810be3a3e14c682a25.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..64539b54c3751a6d9adb44c8e3a45ba5a73b77f0 GIT binary patch literal 18028 zcmV(~K+nH-Pew8T0RR9107h&84*&oF0I^&E07eM_0Rl|`00000000000000000000 z0000#Mn+Uk92y`7U;vDA2m}!b3WBL5f#qcZHUcCAhI9*rFaQJ~1&1OBl~F%;WnyLq z8)b|&?3j;$^FW}&KmNW53flIFARDZ7_Wz%hpoWaWlgHTHEHf()GI0&dMi#DFPaEt6 zCO)z0v0~C~q&0zBj^;=tv8q{$8JxX)>_`b}WQGgXi46R*CHJ}6r+;}OrvwA{_SY+o zK)H-vy{l!P`+NG*`*x6^PGgHH4!dsolgU4RKj@I8Xz~F6o?quCX&=VQ$Q{w01;M0? zKe|5r<_7CD z=eO3*x!r$aX2iFh3;}xNfx0v;SwBfGG+@Z;->HhvqfF4r__4$mU>Dl_1w;-9`~5rF~@!3;r~xP-hZvOfOx)A z#>8O3N{L{naf215f>m=bzbp7_(ssu&cx)Qo-{)!)Yz3A@Z0uZaM2yJ8#OGlzm?JO5gbrj~@)NB4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aWLWD?qN2%`S*`P;BQBw(B__wTD6epvGdJ+>DBq2oVlf&F*lz+#avb4)3P1c^Mf#olQheVvZ|Z5 z>xXfgmv!5Z^SYn+_x}K5B%G^sRwiez&z9|f!E!#oJlT2kCOV0000$L_|bHBqAarB4TD{W@grX1CUr72@caw0faEd7-K|4L_|cawbojjHdpd6 zI6~Iv5J?-Q4*&oF000000FV;^004t70Z6Qk1Xl{X9oJ{sRC2(cs?- literal 0 HcmV?d00001 diff --git a/biz/webui/htdocs/js/icon_192x192.9d3c46155d288f623bd3fc1d272987c3.png b/biz/webui/htdocs/js/icon_192x192.9d3c46155d288f623bd3fc1d272987c3.png new file mode 100644 index 0000000000000000000000000000000000000000..dad754dc2777b6c9bd449faddec44a52be24e9b5 GIT binary patch literal 15784 zcmbVzc|4ST_%1V+vBi{qH<2Y}D`v9B;H9jYyeip3WhWxrOpysucG*cZ6I6eSW}^tb3b~|?{oe<=e(a!`DC7Xp67di@B6y1>$<=16>CdV9!^nCCMG5xvww)T z@RN@G!LY&KwxizcOia3dX2gSbq0DoShlAeFhB4L`SDIRDoSiUarYaSddNThRGtJu_ z)dIsuN2+p%M1p&!D;91x{ygikaKY~N3VUzgt5FM!*S#HfGdQzS^Qx&*W%-A4gqMmA zVv2hUnOx;HQ7i^?_}SI)anIfq-G{Gk5|^C`Da-3mU%c4P&RJ|ASk8KkysJ>;G}{gG zfkMG@loHuin(HPrJBE+U@|5`<{lI(duNht%0I7k2sqqS`(yw9zSIz;zzmY@=rs^ErKnK|qY1@4AmtX4axOI16U6dQgtTJw*OxeMqKLc&YfMjW zchXrIKF*kbr+JC(o(1S`iX?-@Ulh;rjj7K-F*?-NK-ZdAoK=rqhm#wXN#0GDR^|Ax z#+|S>XO0dw(DvuXvqvz0Wa}m@9mgV@QGjmYKEW2n+QgB_bcB9@v7UHk%^NF?qLGg> zbe2dAwZeS#Y6_3tKMhUX(sl6w6&yzEu^~N{c-g)xxdA zn#(dm=9d;9QruR~(oH^AxMOYm(hi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N}?P7r>oQZtu=H}+<@Fq=!%lwQ%mlNTos=9M(KQtN9{)w@Xv5D3 z0jTKYXu8Evl8W>0jGv)it{DA}BWsFDQ{4Rx-K2^rilB*Fyv?@>seqk&mvX8&b`MT} z)}k;sU5*UpFC)XroSvHH?q^`4l7#$sYEGJbbCx*jqGoR2VwT9@;VzV_oC+52 z;M*0+P10*Qo7;J2uFLRl=dK9RocoeJ0X!Mb*qNQ#jU)KDfJ9e*ze&ut2_bwUwl<=d zbYM)4VuX)bbd&U@m)#dBFyuYzruRsdmuH`Ku|eRv`>ERJhC3_{yKrB^UqpxU#Hl6T zN{TLeu^fe(4d7#6#waPbiFzBVXcn=*ol5;ThV$9<4t(-U{FQ^^hEm%mFqY1?UF@{( z>Q@0aXLAoqB~6H&bCDEuRy^uV$Z#Q4Ja&yhaSdKwKV4`zQNVh(_IZ2QVOMcawaeH< vXBNLHpWMe``_y809XtJH%|KCZlUM3iy3*i2@|mc$A}=ZpUfq(`Iw literal 0 HcmV?d00001 diff --git a/biz/webui/htdocs/js/index-2.9.28.js b/biz/webui/htdocs/js/index-2.9.28.js new file mode 100644 index 000000000..430d66c34 --- /dev/null +++ b/biz/webui/htdocs/js/index-2.9.28.js @@ -0,0 +1,2 @@ +/*! For license information please see index-2.9.28.js.LICENSE.txt */ +(()=>{var __webpack_modules__={99859:(e,t,n)=>{n(81132),n(39476),window.jQuery=n(19755),n(43734);var r=n(57588),o=n(90701),i=n(50897),a=n(32936),s=n(43278);function l(e){return s.compareVersion(e.latestVersion,e.version)&&s.compareVersion(e.latestVersion,a.get("latestVersion"))}var c=r.createClass({displayName:"About",componentDidMount:function(){var e=this;i.getInitialData((function(t){e.setState({version:t.version,latestVersion:t.latestVersion,hasUpdate:e.checkUpdate(l(t))})}))},checkUpdate:function(e){return this.props.onCheckUpdate&&((this._hasUpdate||e)&&e===this._hasUpdate||(this._hasUpdate=e,this.props.onCheckUpdate(e))),e},showAboutInfo:function(e){var t=this;t.showDialog();var n=t.props.onClick;"function"==typeof n&&n(),i.checkUpdate((function(e){e&&0===e.ec&&(e.latestVersion&&a.set("latestVersion",e.latestVersion),t.setState({version:e.version,latestVersion:e.latestVersion,hasUpdate:t.checkUpdate(l(e))}))}))},showDialog:function(){this.refs.aboutDialog.show()},hideDialog:function(){this.refs.aboutDialog.hide()},render:function(){var e=this.state||{},t=e.version,n=e.latestVersion;return r.createElement("a",{draggable:"false",onClick:this.showAboutInfo,className:"w-about-menu"},e.hasUpdate?r.createElement("i",{className:"w-new-version-icon"}):null,r.createElement("span",{className:"glyphicon glyphicon-info-sign"}),"About",r.createElement(o,{ref:"aboutDialog",wstyle:"w-about-dialog"},r.createElement("div",{className:"modal-body w-about-has-plugins"},r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×")),r.createElement("img",{alt:"logo",src:"img/whistle.png?v=2016"}),r.createElement("span",{className:"w-about-dialog-ctn"},r.createElement("span",{className:"w-about-dialog-title"},"Whistle for Web Developers."),"Version:"," ",r.createElement("a",{className:"w-about-version",href:"https://github.com/avwo/whistle/blob/master/CHANGELOG.md",target:"_blank"},t),r.createElement("br",null),s.compareVersion(n,t)?r.createElement("span",{className:"w-about-latest-version"},"Latest version:"," ",r.createElement("a",{className:"w-about-github",title:"How to update whistle",href:"https://avwo.github.io/whistle/update.html",target:"_blank"},n),r.createElement("br",null)):"","Visit"," ",r.createElement("a",{className:"w-about-url",href:"http://wproxy.org/?type=nodejs&version="+t,target:"_blank"},"http://wproxy.org"))),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close"))))}});e.exports=c},81132:(e,t,n)=>{n(72814),n(66737)},74260:(e,t,n)=>{var r=n(92592),o=n(19755),i=n(10285),a=n(20021).createCgi,s=n(50897),l=n(43278),c=n(547),d=n(25927),u=n(90339);function p(e){return"string"!=typeof e&&(e.type=e.type||e.method),e}e.exports=function(e){var t=function(e){if(e)try{for(var t=e.location.pathname.split("/"),n=t.length-1;n>=0;n--){var r=t[n];if(/^plugin\.([a-z\d_\-]+)$/.test(r)){var o=s.getPlugin(RegExp.$1+":");if(o)return o}}}catch(e){}}(e);return{pageId:s.getPageId(),compose:s.compose,importSessions:s.importAnySessions,msgBox:i,qrCode:r,qrcode:r,decodeBase64:l.decodeBase64,alert:u.alert,confirm:u.confirm,syncData:function(e){t&&s.syncData(t,e)},syncRules:function(){t&&s.syncRules(t)},syncValues:function(){t&&s.syncValues(t)},request:function(e,t){return a(p(e))(e.data,t)},createRequest:function(e){return a(p(e))},showModal:c.show,getServerInfo:function(){var e=s.getServerInfo();return e&&o.extend(!0,{},e)},importRules:function(e){if(e){var t=l.parseImportData(e,s.rulesModal),n=function(n){n&&(e={},t.forEach((function(t){e[t.name]=t.value})),d.trigger("uploadRules",e))};if(!t.hasConflict)return n(!0);u.confirm("Conflict with existing content, whether to continue to overwrite them?",n)}},importValues:function(e){if(e){var t=l.parseImportData(e,s.valuesModal,!0),n=function(n){n&&(e={},t.forEach((function(t){e[t.name]=t.value})),d.trigger("uploadValues",e))};if(!t.hasConflict)return n(!0);u.confirm("Conflict with existing content, whether to continue to overwrite them?",n)}}}}},73061:(e,t,n)=>{n(81132),n(24005);var r=n(57588),o=n(43278),i=r.createClass({displayName:"BtnGroup",handleClick:function(e){e.active||e.disabled||(this.clearSelection(),e.active=!0,this.props.onClick&&!this.props.onClick(e)||this.setState({curBtn:e}))},clearSelection:function(){(this.props.tabs||this.props.btns).forEach((function(e){e.active=!1}))},onDoubleClick:function(e){this.props.onDoubleClick&&this.props.onDoubleClick(e),e.stopPropagation()},render:function(){var e=this,t=e.props.tabs,n="s"===e.props.type,i=t||e.props.btns,a=o.getBoolean(e.props.disabled);return r.createElement("div",{onDoubleClick:e.props.onDoubleClickBar,className:"btn-group btn-group-sm "+(t?"w-tabs-sm":"w-btn-group-sm")+(n?" small":"")},i.map((function(t){t.disabled=a;var n=t.icon?r.createElement("span",{className:"glyphicon glyphicon-"+t.icon}):"",i=t.className?" "+t.className:"";return t.key=t.key||o.getKey(),r.createElement("button",{onClick:function(){e.handleClick(t)},onDoubleClick:e.onDoubleClick,key:t.key,type:"button",style:{display:t.hide?"none":void 0},title:t.title,className:"btn btn-default"+(t.active&&!a?" active":"")+i},n,t.display||t.name)})),e.props.appendTabs||e.props.appendBtns,e.props.dockBtn)}});e.exports=i},18019:(e,t,n)=>{n(81132),n(49943);var r=n(57588),o=n(73935),i=n(43278),a=n(90701),s=n(25557),l=n(90339),c=n(50897),d=n(10285),u={color:"#5bbd72"};function p(e,t){return(t=t||e.filename)+"."+(e.type||"crt")}function h(e,t){var n=new FileReader;n.readAsText(e),n.onload=function(){t(n.result)}}var f=r.createClass({displayName:"HistoryData",getInitialState:function(){return{list:[]}},show:function(e,t){var n,o=[];this._certsDir=this._certsDir||t,Object.keys(e).forEach((function(t){var i,a=e[t],s=new Date(a.notBefore),l=new Date(a.notAfter),c="",d=Date.now();s.getTime()>d?(i=!0,c="Invalid"):l.getTime()131072||!(i.size>0))return void d.error("The uploaded certificate size cannot exceed 128K.");var{name:a}=i;if(!/\.(crt|cer|pem|key)/.test(a))return void d.error("Only files with .key, .crt, .cer, .pem suffixes are supported.");var s=RegExp.$1;if(!(a=a.slice(0,-4))||a.length>128)return void d.error("The file name cannot be empty and the length cannot exceed 128.");var l=(t=t||{})[a]||{};l["key"==s?"key":"cert"]=i,"key"!==s&&(l.type=s),t[a]=l}if(t)return Object.keys(t).forEach((function(e){var r=t[e];r.key&&r.cert&&((n=n||{})[e]=r)})),n},handleChange:function(e){var t=this,n=o.findDOMNode(t.refs.uploadCerts),r=n.files&&t.formatFiles(n.files);if(n.value="",r){if(r.root){var i=t._certsDir||"~/.WhistleAppData/custom_certs";l.alert("Root CA cannot be uploaded by UI.\nYou must manually upload to follow directory and restart Whistle:\n"+i),delete r.root}var a=function(){c.certs.upload(JSON.stringify(r),t.handleCgi)},s=Object.keys(r),d=2*s.length;s.map((e=>{var t=r[e];h(t.key,(function(e){t.key=e,0==--d&&a()})),h(t.cert,(function(e){t.cert=e,0==--d&&a()}))}))}},showUpload:function(){o.findDOMNode(this.refs.uploadCerts).click()},render:function(){var e=this,t=e.state.list||[];return r.createElement(a,{ref:"certsInfoDialog",wstyle:"w-certs-info-dialog"},r.createElement("div",{className:"modal-body"},r.createElement("button",{type:"button",className:"close",onClick:e.hide},r.createElement("span",{"aria-hidden":"true"},"×")),r.createElement("h4",{className:"w-certs-info-title"},r.createElement("a",{className:"w-help-menu",title:"Click here to see help",href:"https://avwo.github.io/whistle/custom-certs.html",target:"_blank"},r.createElement("span",{className:"glyphicon glyphicon-question-sign"})),"Custom Certs"),r.createElement("table",{className:"table"},r.createElement("thead",null,r.createElement("th",{className:"w-certs-info-order"},"#"),r.createElement("th",{className:"w-certs-info-filename"},"Filename"),r.createElement("th",{className:"w-certs-info-domain"},"DNS Name"),r.createElement("th",{className:"w-certs-info-validity"},"Validity"),r.createElement("th",{className:"w-certs-info-status"},"Status")),r.createElement("tbody",null,t.length?t.map((function(t,n){return r.createElement("tr",{className:t.isInvalid?"w-cert-invalid":void 0},r.createElement("th",{className:"w-certs-info-order"},n+1),r.createElement("td",{className:"w-certs-info-filename",title:t.filename},t.readOnly?r.createElement("span",{className:"glyphicon glyphicon-lock"}):void 0,t.displayName||t.filename,r.createElement("br",null),r.createElement("a",{className:"w-delete",onClick:function(){t.readOnly?e.showRemoveTips(t):e.removeCert(t)},title:"",style:{color:t.readOnly?"#337ab7":void 0}},t.readOnly?"View path":"Delete")),r.createElement("td",{className:"w-certs-info-domain",title:t.domain},t.domain),r.createElement("td",{className:"w-certs-info-validity",title:t.validity},t.validity),r.createElement("td",{className:"w-certs-info-status"},t.status))})):r.createElement("tr",null,r.createElement("td",{colSpan:"5",className:"w-empty"},"Empty"))))),r.createElement("div",{className:"modal-footer"},r.createElement("input",{ref:"uploadCerts",style:{display:"none"},type:"file",accept:".crt,.cer,.pem,.key",multiple:"multiple",onChange:e.handleChange}),r.createElement("button",{type:"button",style:{display:c.isDiableCustomCerts()?"none":void 0},className:"btn btn-primary",onClick:e.showUpload},"Upload"),r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")),r.createElement(s,{ref:"tipsDialog"}))}});e.exports=f},20021:(e,t,n)=>{var r=n(19755);function o(e,t){var n=this;"string"==typeof e&&(e={url:e}),t=r.extend({dataType:"json"},t,e),e=e.url;var o,i=[];return function a(s,l,c){var d={url:"function"==typeof e?e():e};if("function"==typeof s?(c=l,l=s,s=null):d.data=s,c=r.extend(!0,{},t,c,d),o){var u=c.mode;if("ignore"==u)return;if("cancel"==u)o.abort();else if("chain"==u)return i.push([s,l,c])}var p=function(e,t,r){o=null,l&&l.call(this,e,t,r);var s=i.shift();s&&a.apply(n,s)};return c.success=function(e,t,n){p.call(this,e,n)},c.error=function(e,t){p.call(this,!1,e,t)},o=r.ajax(c)}}e.exports=function(e,t){var n={};return Object.keys(e).forEach((function(r){n[r]=o(e[r],t)})),n},e.exports.createCgi=o},20925:(e,t,n)=>{var r,o,i=n(19755),a=n(50897),s=n(43278),l=n(32936),c=a.getNetworkColumns(),d=l.get("minNetworkWidth");function u(){r={},(o=[{title:"Date",name:"date",className:"date",showTitle:!0,width:160},{title:"Result",name:"result",className:"result",selected:!0,width:65},{title:"Method",name:"method",className:"method",showTitle:!0,selected:!0,width:75},{title:"Protocol",name:"protocol",className:"protocol",selected:!0,showTitle:!0,width:95},{title:"ClientIP",name:"clientIp",className:"clientIp",showTitle:!0,width:110},{title:"ServerIP",name:"hostIp",className:"hostIp",selected:!0,showTitle:!0,width:110},{title:"ClientPort",name:"clientPort",className:"clientPort",width:90},{title:"ServerPort",name:"serverPort",className:"serverPort",width:90},{title:"Host",name:"hostname",className:"hostname",selected:!0,showTitle:!0,width:150},{title:"URL",name:"path",className:"path",selected:!0,locked:!0,minWidth:60},{title:"Type",name:"type",className:"type",selected:!0,showTitle:!0,width:125},{title:"Body",showTitle:!0,name:"body",className:"body",width:90},{title:"Encoding",name:"contentEncoding",className:"contentEncoding",width:90},{title:"DNS",name:"dns",className:"dns",width:70},{title:"Request",name:"request",className:"request",width:90},{title:"Response",name:"response",className:"response",width:90},{title:"Download",name:"download",className:"download",width:90},{title:"Time",name:"time",className:"time",selected:!0,width:70},{title:"Custom1",name:"custom1",className:"custom1",showTitle:!0,width:120},{title:"Custom2",name:"custom2",className:"custom2",showTitle:!0,width:160}]).forEach((function(e){r[e.name]=e}))}if(d&&l.set("minNetworkWidth",parseInt(d,10)||""),t.getMinWidth=function(){return l.get("minNetworkWidth")},t.setMinWidth=function(e){l.set("minNetworkWidth",e)},u(),Array.isArray(c.columns)){var p={},h=c.columns.filter((function(e){var t=e&&e.name;return!(!t||p[t]||!r[t]||(p[t]=1,0))}));h.length===o.length&&(o=h.map((function(e){var t=r[e.name];return t.selected=!!e.selected,t})))}function f(){c.columns=o,a.setNetworkColumns(c)}c={columns:o},t.getColumn=function(e){return r[e]},t.getAllColumns=function(){return o},t.reset=function(){l.set("minNetworkWidth",""),u(),f()},t.setSelected=function(e,t){var n=r[e];n&&(n.selected=!1!==t,f())},t.getSelectedColumns=function(){var e=50,t=o.filter((function(t){if(t.selected||t.locked)return e+=t.width||t.minWidth,!0}));return{width:e,style:{minWidth:e},list:t}};var m,g="networkcolumn$";function b(e){var t=e.target,n=t.nodeName;return"TH"===n||"LABEL"===n?t:!(t=t.parentNode)||"TH"!==(n=t.nodeName)&&"LABEL"!==n?void 0:t}function v(e){var t=b(e),n=t&&t.getAttribute("data-name");if(n){var r=function(e){var t=s.findArray(e.dataTransfer.types,(function(e){if(0===e.indexOf(g))return!0}));return t&&t.substring(g.length)}(e);return r&&n.toLowerCase()!==r?{target:t,toName:n}:void 0}}i(document).on("drop",(function(){m&&(m.style.background=""),m=null})),t.getDragger=function(){return{onDragStart:function(e){var t=b(e),n=t&&t.getAttribute("data-name");e.dataTransfer.setData(g+n,1),e.dataTransfer.setData("-networkcolumn$",n)},onDragEnter:function(e){var t=v(e);t&&((m=t.target).style.background="#ddd")},onDragLeave:function(e){var t=v(e);t&&(t.target.style.background="")},onDrop:function(e){var t=v(e);t&&(function(e,t){if(e!==t){var n=r[e],i=r[t];if(n&&i){var a=o.indexOf(n),s=o.indexOf(i);o.splice(a,1),o.splice(s,0,n),f()}}}(e.dataTransfer.getData("-networkcolumn$"),t.toName),t.target.style.background="","function"==typeof this.onColumnsResort&&this.onColumnsResort())}}}},53878:module=>{var JSON_RE=/^\s*(?:\{[\w\W]*\}|\[[\w\W]*\])\s*$/,ctx={},throwError={get:function(){throw new Error("undefined")}};if(Object.defineProperty)for(var i in Object.defineProperty(ctx,"console",throwError),window)ctx[i]=void 0,Object.defineProperty(ctx,i,throwError);function evalJson(str){if(JSON_RE.test(str))with(ctx)try{return eval("("+str+")")}catch(e){}}module.exports=evalJson},35123:(e,t,n)=>{t.parse=n(51216),t.stringify=n(70213)},51216:e=>{var t,n,r,o,i,a,s,l,c,d;e.exports=(i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},a=function(e){throw{name:"SyntaxError",message:e,at:t,text:r}},s=function(e){return e&&e!==n&&a("Expected '"+e+"' instead of '"+n+"'"),n=r.charAt(t),t+=1,n},l=function(){var e,t="";for("-"===n&&(t="-",s("-"));n>="0"&&n<="9";)t+=n,s();if("."===n)for(t+=".";s()&&n>="0"&&n<="9";)t+=n;if("e"===n||"E"===n)for(t+=n,s(),"-"!==n&&"+"!==n||(t+=n,s());n>="0"&&n<="9";)t+=n,s();return t.length>15?((e=new String(t))._$isNumber=!0,e):(e=+t,isFinite(e)?e:void a("Bad number"))},c=function(){var e,t,r,o="";if('"'===n)for(;s();){if('"'===n)return s(),o;if("\\"===n)if(s(),"u"===n){for(r=0,t=0;t<4&&(e=parseInt(s(),16),isFinite(e));t+=1)r=16*r+e;o+=String.fromCharCode(r)}else{if("string"!=typeof i[n])break;o+=i[n]}else o+=n}a("Bad string")},d=function(){for(;n&&n<=" ";)s()},o=function(){switch(d(),n){case"{":return function(){var e,t={};if("{"===n){if(s("{"),d(),"}"===n)return s("}"),t;for(;n;){if(e=c(),d(),s(":"),Object.hasOwnProperty.call(t,e)&&a("Duplicate key '"+e+"'"),t[e]=o(),d(),"}"===n)return s("}"),t;s(","),d()}}a("Bad object")}();case"[":return function(){var e=[];if("["===n){if(s("["),d(),"]"===n)return s("]"),e;for(;n;){if(e.push(o()),d(),"]"===n)return s("]"),e;s(","),d()}}a("Bad array")}();case'"':return c();case"-":return l();default:return n>="0"&&n<="9"?l():function(){switch(n){case"t":return s("t"),s("r"),s("u"),s("e"),!0;case"f":return s("f"),s("a"),s("l"),s("s"),s("e"),!1;case"n":return s("n"),s("u"),s("l"),s("l"),null}a("Unexpected '"+n+"'")}()}},function(e,i){var s;return r=e,t=0,n=" ",s=o(),d(),n&&a("Syntax error"),"function"==typeof i?function e(t,n){var r,o,a=t[n];if(a&&"object"==typeof a)for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(void 0!==(o=e(a,r))?a[r]=o:delete a[r]);return i.call(t,n,a)}({"":s},""):s})},70213:e=>{var t,n,r,o,i=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function a(e){return e<10?"0"+e:e}function s(){return this.valueOf()}function l(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=r[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function c(e,r){var i,a,s,d,u,p=t,h=r[e];switch(h&&"object"==typeof h&&"function"==typeof h.toJSON&&(h=h.toJSON(e)),"function"==typeof o&&(h=o.call(r,e,h)),typeof h){case"string":return l(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(t+=n,u=[],"[object Array]"===Object.prototype.toString.apply(h)){for(d=h.length,i=0;i{"use strict";t.__esModule=!0;var r=d(n(88239)),o=d(n(99663)),i=d(n(49135)),a=d(n(93196)),s=d(n(57588)),l=d(n(45697)),c=d(n(81807));function d(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(n){(0,o.default)(this,t);var r=(0,i.default)(this,e.call(this,n));return r.state={expanded:!1},r.handleClick=r.handleClick.bind(r),r}return(0,a.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.styling,n=e.from,o=e.to,i=e.renderChildNodes,a=e.nodeType;return this.state.expanded?s.default.createElement("div",t("itemRange",this.state.expanded),i(this.props,n,o)):s.default.createElement("div",(0,r.default)({},t("itemRange",this.state.expanded),{onClick:this.handleClick}),s.default.createElement(c.default,{nodeType:a,styling:t,expanded:!1,onClick:this.handleClick,arrowStyle:"double"}),n+" ... "+o)},t.prototype.handleClick=function(){this.setState({expanded:!this.state.expanded})},t}(s.default.Component);u.propTypes={styling:l.default.func.isRequired,from:l.default.number.isRequired,to:l.default.number.isRequired,renderChildNodes:l.default.func.isRequired,nodeType:l.default.string.isRequired},t.default=u},27038:(e,t,n)=>{"use strict";t.__esModule=!0;var r=l(n(88239)),o=l(n(42723)),i=l(n(57588)),a=l(n(45697)),s=l(n(67753));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return e.length+" "+(1!==e.length?"items":"item")}var d=function(e){var t=e.data,n=(0,o.default)(e,["data"]);return i.default.createElement(s.default,(0,r.default)({},n,{data:t,nodeType:"Array",nodeTypeIndicator:"[]",createItemString:c,expandable:t.length>0}))};d.propTypes={data:a.default.array},t.default=d},81807:(e,t,n)=>{"use strict";t.__esModule=!0;var r=a(n(88239)),o=a(n(57588)),i=a(n(45697));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=e.styling,n=e.arrowStyle,i=e.expanded,a=e.nodeType,s=e.onClick;return o.default.createElement("div",(0,r.default)({},t("arrowContainer",n),{onClick:s}),o.default.createElement("div",t(["arrow","arrowSign"],a,i,n),"▶","double"===n&&o.default.createElement("div",t(["arrowSign","arrowSignInner"]),"▶")))};s.propTypes={styling:i.default.func.isRequired,arrowStyle:i.default.oneOf(["single","double"]),expanded:i.default.bool.isRequired,nodeType:i.default.string.isRequired,onClick:i.default.func.isRequired},s.defaultProps={arrowStyle:"single"},t.default=s},64609:(e,t,n)=>{"use strict";t.__esModule=!0;var r=c(n(88239)),o=c(n(42723)),i=c(n(26378)),a=c(n(63850));t.default=function(e){var t=(0,o.default)(e,[]);return s.default.createElement(l.default,(0,r.default)({},t,{nodeType:"Iterable",nodeTypeIndicator:"()",createItemString:d}))};var s=c(n(57588)),l=c(n(67753));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var n=0,r=!1;if((0,a.default)(e.size))n=e.size;else{var o=e,s=Array.isArray(o),l=0;for(o=s?o:(0,i.default)(o);;){if(s){if(l>=o.length)break;o[l++]}else{if((l=o.next()).done)break;l.value}if(t&&n+1>t){r=!0;break}n+=1}}return(r?">":"")+n+" "+(1!==n?"entries":"entry")}},67753:(e,t,n)=>{"use strict";t.__esModule=!0;var r=m(n(63239)),o=m(n(88902)),i=m(n(99663)),a=m(n(49135)),s=m(n(93196)),l=m(n(88239)),c=m(n(57588)),d=m(n(45697)),u=m(n(81807)),p=m(n(63586)),h=m(n(55778)),f=m(n(74089));function m(e){return e&&e.__esModule?e:{default:e}}function g(e,t,n){var r=e.nodeType,o=e.data,i=e.collectionLimit,a=e.circularCache,s=e.keyPath,d=e.postprocessValue,u=e.sortObjectKeys,m=[];return(0,p.default)(r,o,u,i,t,n).forEach((function(t){if(t.to)m.push(c.default.createElement(f.default,(0,l.default)({},e,{key:"ItemRange--"+t.from+"-"+t.to,from:t.from,to:t.to,renderChildNodes:g})));else{var n=t.key,r=t.value,o=-1!==a.indexOf(r),u=c.default.createElement(h.default,(0,l.default)({},e,{postprocessValue:d,collectionLimit:i},{key:"Node--"+n,keyPath:[n].concat(s),value:d(r),circularCache:[].concat(a,[r]),isCircular:o,hideRoot:!1}));!1!==u&&m.push(u)}})),m}function b(e){return{expanded:!(!e.shouldExpandNode||e.isCircular)&&e.shouldExpandNode(e.keyPath,e.data,e.level)}}var v=function(e){function t(n){(0,i.default)(this,t);var r=(0,a.default)(this,e.call(this,n));return r.handleClick=function(){r.props.expandable&&r.setState({expanded:!r.state.expanded})},r.state=b(n),r}return(0,s.default)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=b(e);b(this.props).expanded!==t.expanded&&this.setState(t)},t.prototype.shouldComponentUpdate=function(e,t){var n=this;return!!(0,o.default)(e).find((function(t){return"circularCache"!==t&&("keyPath"===t?e[t].join("/")!==n.props[t].join("/"):e[t]!==n.props[t])}))||t.expanded!==this.state.expanded},t.prototype.render=function(){var e=this.props,t=e.getItemString,n=e.nodeTypeIndicator,o=e.nodeType,i=e.data,a=e.hideRoot,s=e.createItemString,d=e.styling,p=e.collectionLimit,h=e.keyPath,f=e.labelRenderer,m=e.expandable,b=this.state.expanded,v=b||a&&0===this.props.level?g((0,l.default)({},this.props,{level:this.props.level+1})):null,y=t(o,i,c.default.createElement("span",d("nestedNodeItemType",b),n),s(i,p)),w=[h,o,b,m];return a?c.default.createElement("li",d.apply(void 0,["rootNode"].concat(w)),c.default.createElement("ul",d.apply(void 0,["rootNodeChildren"].concat(w)),v)):c.default.createElement("li",d.apply(void 0,["nestedNode"].concat(w)),m&&c.default.createElement(u.default,{styling:d,nodeType:o,expanded:b,onClick:this.handleClick}),c.default.createElement("label",(0,l.default)({},d.apply(void 0,[["label","nestedNodeLabel"]].concat(w)),{onClick:this.handleClick,"data-key-path":(0,r.default)(h)}),f.apply(void 0,w)),c.default.createElement("span",(0,l.default)({},d.apply(void 0,["nestedNodeItemString"].concat(w)),{onClick:this.handleClick}),y),c.default.createElement("ul",d.apply(void 0,["nestedNodeChildren"].concat(w)),v))},t}(c.default.Component);v.propTypes={getItemString:d.default.func.isRequired,nodeTypeIndicator:d.default.any,nodeType:d.default.string.isRequired,data:d.default.any,hideRoot:d.default.bool.isRequired,createItemString:d.default.func.isRequired,styling:d.default.func.isRequired,collectionLimit:d.default.number,keyPath:d.default.arrayOf(d.default.oneOfType([d.default.string,d.default.number])).isRequired,labelRenderer:d.default.func.isRequired,shouldExpandNode:d.default.func,level:d.default.number.isRequired,sortObjectKeys:d.default.oneOfType([d.default.func,d.default.bool]),isCircular:d.default.bool,expandable:d.default.bool},v.defaultProps={data:[],circularCache:[],level:0,expandable:!0},t.default=v},55778:(e,t,n)=>{"use strict";t.__esModule=!0;var r=h(n(88239)),o=h(n(42723)),i=h(n(57588)),a=h(n(45697)),s=h(n(59899)),l=h(n(22383)),c=h(n(27038)),d=h(n(64609)),u=h(n(45025)),p=h(n(77063));function h(e){return e&&e.__esModule?e:{default:e}}var f=function(e){var t=e.getItemString,n=e.keyPath,a=e.labelRenderer,h=e.styling,f=e.value,m=e.valueRenderer,g=e.isCustomNode,b=(0,o.default)(e,["getItemString","keyPath","labelRenderer","styling","value","valueRenderer","isCustomNode"]),v=g(f)?"Custom":(0,s.default)(f);"BigNumber"===v&&(v="Number",f=f.toString());var y={getItemString:t,key:n[0],keyPath:n,labelRenderer:a,nodeType:v,styling:h,value:f,valueRenderer:m},w=(0,r.default)({},b,y,{data:f,isCustomNode:g});switch(v){case"Object":case"Error":case"WeakMap":case"WeakSet":return i.default.createElement(l.default,w);case"Array":return i.default.createElement(c.default,w);case"Iterable":case"Map":case"Set":return i.default.createElement(d.default,w);case"String":return i.default.createElement(u.default,(0,r.default)({},y,{valueGetter:function(e){return(e='"'+e+'"').length>1024?i.default.createElement(p.default,{text:e}):e}}));case"Number":case"Custom":return i.default.createElement(u.default,y);case"Boolean":return i.default.createElement(u.default,(0,r.default)({},y,{valueGetter:function(e){return e?"true":"false"}}));case"Date":return i.default.createElement(u.default,(0,r.default)({},y,{valueGetter:function(e){return e.toISOString()}}));case"Null":return i.default.createElement(u.default,(0,r.default)({},y,{valueGetter:function(){return"null"}}));case"Undefined":return i.default.createElement(u.default,(0,r.default)({},y,{valueGetter:function(){return"undefined"}}));case"Function":case"Symbol":return i.default.createElement(u.default,(0,r.default)({},y,{valueGetter:function(e){return e.toString()}}));default:return i.default.createElement(u.default,(0,r.default)({},y,{valueGetter:function(e){return"<"+v+">"}}))}};f.propTypes={getItemString:a.default.func.isRequired,keyPath:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.number])).isRequired,labelRenderer:a.default.func.isRequired,styling:a.default.func.isRequired,value:a.default.any,valueRenderer:a.default.func.isRequired,isCustomNode:a.default.func.isRequired},t.default=f},22383:(e,t,n)=>{"use strict";t.__esModule=!0;var r=c(n(88239)),o=c(n(42723)),i=c(n(88759)),a=c(n(57588)),s=c(n(45697)),l=c(n(67753));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){var t=(0,i.default)(e).length;return t+" "+(1!==t?"keys":"key")}var u=function(e){var t=e.data,n=(0,o.default)(e,["data"]);return a.default.createElement(l.default,(0,r.default)({},n,{data:t,nodeType:"Object",nodeTypeIndicator:"Error"===n.nodeType?"Error()":"{}",createItemString:d,expandable:(0,i.default)(t).length>0}))};u.propTypes={data:s.default.object,nodeType:s.default.string},t.default=u},45025:(e,t,n)=>{"use strict";t.__esModule=!0;var r=s(n(88239)),o=s(n(63239)),i=s(n(57588)),a=s(n(45697));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=e.nodeType,n=e.styling,a=e.labelRenderer,s=e.keyPath,l=e.valueRenderer,c=e.value,d=e.valueGetter;return i.default.createElement("li",n("value",t,s),i.default.createElement("label",(0,r.default)({},n(["label","valueLabel"],t,s),{"data-key-path":(0,o.default)(s)}),a(s,t,!1,!1)),i.default.createElement("span",n("valueText",t,s),l.apply(void 0,[d(c),c].concat(s))))};l.propTypes={nodeType:a.default.string.isRequired,styling:a.default.func.isRequired,labelRenderer:a.default.func.isRequired,keyPath:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.number])).isRequired,valueRenderer:a.default.func.isRequired,value:a.default.any,valueGetter:a.default.func},l.defaultProps={valueGetter:function(e){return e}},t.default=l},10815:(e,t,n)=>{"use strict";t.__esModule=!0;var r=a(n(88239)),o=n(67274),i=a(n(71203));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return{String:e.STRING_COLOR,Date:e.DATE_COLOR,Number:e.NUMBER_COLOR,Boolean:e.BOOLEAN_COLOR,Null:e.NULL_COLOR,Undefined:e.UNDEFINED_COLOR,Function:e.FUNCTION_COLOR,Symbol:e.SYMBOL_COLOR}};t.default=(0,o.createStyling)((function(e){var t=function(e){return{BACKGROUND_COLOR:e.base00,TEXT_COLOR:e.base07,STRING_COLOR:e.base0B,DATE_COLOR:e.base0B,NUMBER_COLOR:e.base09,BOOLEAN_COLOR:e.base09,NULL_COLOR:e.base08,UNDEFINED_COLOR:e.base08,FUNCTION_COLOR:e.base08,SYMBOL_COLOR:e.base08,LABEL_COLOR:e.base0D,ARROW_COLOR:e.base0D,ITEM_STRING_COLOR:e.base0B,ITEM_STRING_EXPANDED_COLOR:e.base03}}(e);return{tree:{border:0,padding:0,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"0.125em",marginRight:0,listStyle:"none",MozUserSelect:"none",WebkitUserSelect:"none",backgroundColor:t.BACKGROUND_COLOR},value:function(e,t,n){var o=e.style;return{style:(0,r.default)({},o,{paddingTop:"0.25em",paddingRight:0,marginLeft:"0.875em",WebkitUserSelect:"text",MozUserSelect:"text",wordWrap:"break-word",paddingLeft:n.length>1?"2.125em":"1.25em",textIndent:"-0.5em",wordBreak:"break-all"})}},label:{display:"inline-block",color:t.LABEL_COLOR},valueLabel:{margin:"0 0.5em 0 0"},valueText:function(e,n){var o=e.style;return{style:(0,r.default)({},o,{color:s(t)[n]})}},itemRange:function(e,n){return{style:{paddingTop:n?0:"0.25em",cursor:"pointer",color:t.LABEL_COLOR}}},arrow:function(e,t,n){var o=e.style;return{style:(0,r.default)({},o,{marginLeft:0,transition:"150ms",WebkitTransition:"150ms",MozTransition:"150ms",WebkitTransform:n?"rotateZ(90deg)":"rotateZ(0deg)",MozTransform:n?"rotateZ(90deg)":"rotateZ(0deg)",transform:n?"rotateZ(90deg)":"rotateZ(0deg)",transformOrigin:"45% 50%",WebkitTransformOrigin:"45% 50%",MozTransformOrigin:"45% 50%",position:"relative",lineHeight:"1.1em",fontSize:"0.75em"})}},arrowContainer:function(e,t){var n=e.style;return{style:(0,r.default)({},n,{display:"inline-block",paddingRight:"0.5em",paddingLeft:"double"===t?"1em":0,cursor:"pointer"})}},arrowSign:{color:t.ARROW_COLOR},arrowSignInner:{position:"absolute",top:0,left:"-0.4em"},nestedNode:function(e,t,n,o,i){var a=e.style;return{style:(0,r.default)({},a,{position:"relative",paddingTop:"0.25em",marginLeft:t.length>1?"0.875em":0,paddingLeft:i?0:"1.125em"})}},rootNode:{padding:0,margin:0},nestedNodeLabel:function(e,t,n,o,i){var a=e.style;return{style:(0,r.default)({},a,{margin:0,padding:0,WebkitUserSelect:i?"inherit":"text",MozUserSelect:i?"inherit":"text",cursor:i?"pointer":"default"})}},nestedNodeItemString:function(e,n,o,i){var a=e.style;return{style:(0,r.default)({},a,{paddingLeft:"0.5em",cursor:"default",color:i?t.ITEM_STRING_EXPANDED_COLOR:t.ITEM_STRING_COLOR})}},nestedNodeItemType:{marginLeft:"0.3em",marginRight:"0.3em"},nestedNodeChildren:function(e,t,n){var o=e.style;return{style:(0,r.default)({},o,{padding:0,margin:0,listStyle:"none",display:n?"block":"none"})}},rootNodeChildren:{padding:0,margin:0,listStyle:"none"}}}),{defaultBase16:i.default})},63586:(e,t,n)=>{"use strict";t.__esModule=!0;var r=a(n(26378)),o=a(n(88759)),i=a(n(88902));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return"Object"===e?(0,i.default)(t).length:"Array"===e?t.length:1/0}function l(e){return"function"==typeof e.set}function c(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1/0,s=void 0;if("Object"===e){var c=(0,o.default)(t);n&&c.sort(!0===n?void 0:n),s={entries:(c=c.slice(i,a+1)).map((function(e){return{key:e,value:t[e]}}))}}else if("Array"===e)s={entries:t.slice(i,a+1).map((function(e,t){return{key:t+i,value:e}}))};else{var d=0,u=[],p=!0,h=l(t),f=t,m=Array.isArray(f),g=0;for(f=m?f:(0,r.default)(f);;){var b;if(m){if(g>=f.length)break;b=f[g++]}else{if((g=f.next()).done)break;b=g.value}var v=b;if(d>a){p=!1;break}i<=d&&(h&&Array.isArray(v)?"string"==typeof v[0]||"number"==typeof v[0]?u.push({key:v[0],value:v[1]}):u.push({key:"[entry "+d+"]",value:{"[key]":v[0],"[value]":v[1]}}):u.push({key:d,value:v})),d++}s={hasMore:!p,entries:u}}return s}function d(e,t,n){for(var r=[];t-e>n*n;)n*=n;for(var o=e;o<=t;o+=n)r.push({from:o,to:Math.min(t,o+n-1)});return r}t.default=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1/0,a=c.bind(null,e,t,n);if(!r)return a().entries;var l=i<1/0,u=Math.min(i-o,s(e,t));if("Iterable"!==e){if(u<=r||r<7)return a(o,i).entries}else if(u<=r&&!l)return a(o,i).entries;var p=void 0;if("Iterable"===e){var h=a(o,o+r-1),f=h.hasMore,m=h.entries;p=f?[].concat(m,d(o+r,o+2*r-1,r)):m}else p=l?d(o,i,r):[].concat(a(0,r-5).entries,d(r-4,u-5,r),a(u-4,u-1).entries);return p}},10385:(e,t,n)=>{"use strict";var r=v(n(42723)),o=v(n(63239)),i=v(n(72444)),a=v(n(99663)),s=v(n(49135)),l=v(n(93196)),c=v(n(88239)),d=v(n(88902)),u=v(n(57588)),p=v(n(45697)),h=v(n(55778)),f=v(n(10815)),m=n(67274),g=n(65421),b=v(g);function v(e){return e&&e.__esModule?e:{default:e}}var y=[{name:"Copy Key"},{name:"Copy Value"},{name:"Collapse Parent"}],w=function(e){return e};function x(e){var t=function(e,t){var n={getArrowStyle:"arrow",getListStyle:"nestedNodeChildren",getItemStringStyle:"nestedNodeItemString",getLabelStyle:"label",getValueStyle:"valueText"},r=(0,d.default)(n).filter((function(e){return t[e]}));return r.length>0&&(e="string"==typeof e?{extend:e}:(0,c.default)({},e),r.forEach((function(r){console.error('Styling method "'+r+'" is deprecated, use "theme" property instead'),e[n[r]]=function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i=0;s--)a=a&&a[n[s]];var l=1===n.length,c=g.util.getMenuPosition(e,110,l?60:90);if(c.list=y,c.className="w-inspectors-ctx-menu",y[0].copyText=n[0],a&&"object"===(void 0===a?"undefined":(0,i.default)(a))&&!(a instanceof String))try{a=(0,o.default)(a,null," ")}catch(e){}y[1].copyText=a+"",y[2].onClick=function(){t.closest("li").parent().closest("li").find("div:first").click()},y[2].hide=l,r.refs.contextMenu.show(c),e.preventDefault()}},r.state=x(n),r}return(0,l.default)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this;["theme","invertTheme"].find((function(n){return e[n]!==t.props[n]}))&&this.setState(x(e))},t.prototype.shouldComponentUpdate=function(e){var t=this;return!!(0,d.default)(e).find((function(n){return"keyPath"===n?e[n].join("/")!==t.props[n].join("/"):e[n]!==t.props[n]}))},t.prototype.render=function(){var e=this.props,t=e.data,n=e.keyPath,o=e.postprocessValue,i=e.hideRoot,a=(e.theme,e.invertTheme,(0,r.default)(e,["data","keyPath","postprocessValue","hideRoot","theme","invertTheme"])),s=this.state.styling;return u.default.createElement("ul",(0,c.default)({},s("tree"),{onContextMenu:this.onContextMenu}),u.default.createElement(h.default,(0,c.default)({},(0,c.default)({postprocessValue:o,hideRoot:i,styling:s},a),{keyPath:i?[]:n,value:o(t)})),u.default.createElement(b.default,{ref:"contextMenu"}))},t}(u.default.Component);C.propTypes={data:p.default.oneOfType([p.default.array,p.default.object]).isRequired,hideRoot:p.default.bool,theme:p.default.oneOfType([p.default.object,p.default.string]),invertTheme:p.default.bool,keyPath:p.default.arrayOf(p.default.oneOfType([p.default.string,p.default.number])),postprocessValue:p.default.func,sortObjectKeys:p.default.oneOfType([p.default.func,p.default.bool])},C.defaultProps={shouldExpandNode:function(e,t,n){return 0===n},hideRoot:!1,keyPath:["root"],getItemString:function(e,t,n,r){return u.default.createElement("span",null,n," ",r)},labelRenderer:function(e){var t=e[0];return u.default.createElement("span",null,t,":")},valueRenderer:w,postprocessValue:w,isCustomNode:function(){return!1},collectionLimit:50,invertTheme:!0},t.Z=C},59899:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(64275))&&r.__esModule?r:{default:r};t.default=function(e){var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&"function"==typeof e[o.default]?"Iterable":"String"===t&&e._$isNumber?"BigNumber":"Custom"===t&&e.constructor!==Object&&e instanceof Object?"Object":t}},71203:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"}},10047:(e,t,n)=>{var r=n(57588),o=n(19755),i=n(3569),a=n(43278),s=n(71163),l=n(50897),c=n(25927),d=n(70677),u=n(32936),p=r.createClass({displayName:"ComposerList",getInitialState:function(){return{activeName:u.get("activeComposerTab")||" "}},shouldComponentUpdate:function(e){var t=a.getBoolean(this.props.hide);return t!=a.getBoolean(e.hide)||!t},componentDidMount:function(){var e=this;c.on("comTabsChange",(function(){e.setState({})})),c.on("showMaskIframe",(function(){e.showMask()})),c.on("hideMaskIframe",(function(){e.hideMask()}))},showTab:function(e){this.state.activeName!==e&&(u.set("activeComposerTab",e),this.setState({activeName:e}))},hideMask:function(){o(".w-mask-iframe").hide()},showMask:function(){o(".w-mask-iframe").show()},render:function(){var e=this,t=e.props.hide,n=e.props.modal,o=l.getComTabs(),a=e.state.activeName,c=" "===a,u=c,p=o.map((function(t){var n,o=t.plugin;return a==t.plugin&&(n=!0,u=!0),r.createElement("button",{key:o,onClick:function(){e.showTab(o)},className:"btn btn-default"+(n?" active":""),title:o},t.name)}));return u||(c=!0,a=e.state.activeName=" "),r.createElement("div",{className:"fill orient-vertical-box w-composer-list"+(t?" hide":"")},o.length?r.createElement("div",{className:"box w-composer-tab-list"},r.createElement("button",{type:"button",onClick:function(){e.showTab(" ")},className:"btn btn-default"+(c?" active":"")},r.createElement("span",{className:"glyphicon glyphicon-edit"}),"Default"),r.createElement("div",{className:"fill w-custom-tabs"},p)):null,r.createElement(s,{inited:!t},r.createElement(i,{modal:n,disabled:!c,hide:t||!c})),r.createElement(d,{modal:n,active:a,hide:t,tabs:o,className:"w-custom-tab-panel"}),r.createElement("div",{className:"w-mask-iframe",onClick:this.hideMask,onMouseEnter:this.hideMask}))}});e.exports=p},3569:(e,t,n)=>{n(81132),n(26422);var r=n(57588),o=n(73935),i=n(50897),a=n(43278),s=n(25927),l=n(32936),c=n(22167),d=n(40919),u=n(97079),p=n(30599),h=n(10285),f=n(65421),m=n(90701),g=n(90339),b=["GET","POST","PUT","HEAD","TRACE","DELETE","SEARCH","CONNECT","UPGRADE","WEBSOCKET","PROPFIND","PROPPATCH","MKCOL","COPY","MOVE","LOCK","UNLOCK","OPTIONS","PURGE","ACL","BIND","CHECKOUT","LINK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","NOTIFY","PATCH","PRI","REBIND","REPORT","SOURCE","SUBSCRIBE","UNBIND","UNLINK","UNSUBSCRIBE"],v=[{name:"Repeat Times"},{name:"Show History",action:"history"}],y=[{name:"Replay"},{name:"Replay Times"},{name:"Compose"}],w={form:"application/x-www-form-urlencoded",upload:"multipart/form-data",text:"text/plain",json:"application/json",custom:""},x=/;.+$/,C=/^wss?:\/\//i,k=/^\s*connection\s*:\s*upgrade\s*$/im,S=/^\s*upgrade\s*:\s*websocket\s*$/im,E={},T=131072;function N(e,t){return"string"!=typeof e?"":(t=t||T,e.length>t?e.substring(0,t):e)}function _(e,t,n){return!("CONNECT"!==e&&!a.hasRequestBody(e)&&!C.test(t))||n&&k.test(n)&&S.test(n)}function R(e){for(var t,n=Object.keys(e),r=0,o=n.length;r=400)?"error":""}Object.keys(w).forEach((function(e){E[w[e]]=e}));var A=r.createClass({displayName:"Composer",getInitialState:function(){var e=l.get("composerRules"),t=a.parseJSON(l.get("composerData"))||{},n="1"==l.get("showPretty"),r="1"==l.get("useH2InComposer"),o="1"==l.get("disableComposerRules"),i=t.method,s=N(t.body);return this.uploadBodyData=a.parseJSON(l.get("composerUploadBody")),s&&s!==t.body&&h.warn("The length of the body cannot exceed 128k, and the excess will be truncated."),{loading:!0,repeatTimes:1,historyData:[],showHistory:!!l.get("showHistory"),disableBody:!!l.get("disableComposerBody"),url:t.url,method:-1===b.indexOf(i)?"GET":i,headers:N(t.headers,65536),body:s,tabName:"Request",showPretty:n,useH2:r,rules:"string"==typeof e?e:"",type:R(a.parseHeaders(t.headers)),disableComposerRules:o,isHexText:!!l.get("showHexTextBody"),isCRLF:!!l.get("useCRLBody")}},componentDidMount:function(){var e=this;e.update(e.props.modal),this.refs.uploadBody.update(this.uploadBodyData),s.on("setComposer",(function(){if(!e.state.pending&&!e.props.disabled){var t=e.props.modal;if(t){var n=a.getBody(t.req),r=function(){var n={useH2:t.useH2,url:t.url,headers:t.headers,result:t,type:R(t.req.headers),method:t.req.method,tabName:"Request"},r=a.getBody(t.req);r&&(n.disableBody=!1,-1!==r.indexOf("\n")&&(n.isCRLF=-1!==r.indexOf("\r\n"))),l.set("useCRLBody",n.isCRLF?1:""),e.setState(n,(function(){e.update(t),e.onComposerChange()})),l.set("useH2InComposer",t.useH2?1:"")};n.length>T?g.confirm("The request body is too long and will be truncated, continue?",(function(e){e&&r()})):r()}}})),s.on("updateStrictMode",(function(){e.setState({})})),e.updatePrettyData(),e.state.showHistory&&e.loadHistory()},repeatTimesChange:function(e){var t=e.target.value.replace(/^\s*0*|[^\d]+/,"").slice(0,3);t>100&&(t=100),this.setState({repeatTimes:t})},sendRepeat:function(e){e&&"click"!==e.type&&13!==e.keyCode||(this.refs.setRepeatTimes.hide(),this._isReplay?this.onReplay(this.state.repeatTimes):this.execute(null,this.state.repeatTimes))},loadHistory:function(){var e=this;2!==e.state.loading&&(e.state.loading=2,i.getHistory((function(t){Array.isArray(t)?e.setState({loading:0,historyData:e.formatHistory(t)}):setTimeout(this.loadHistory,6e3)})))},getMethod:function(){var e=this.state.method||"GET",t=o.findDOMNode(this.refs.method).value||e;return"+ Custom"===t?t:e},updatePrettyData:function(){if(this.state.showPretty){var e=o.findDOMNode(this.refs.headers).value,t=a.parseHeaders(e);this.refs.prettyHeaders.update(t);var n=o.findDOMNode(this.refs.body).value;n=a.parseQueryString(n,null,null,decodeURIComponent),this.refs.prettyBody.update(n)}},update:function(e){if(e){var t=this.refs,n=e.req;o.findDOMNode(t.url).value=e.url,o.findDOMNode(t.method).value=n.method,o.findDOMNode(t.headers).value=a.getOriginalReqHeaders(e);var r=o.findDOMNode(t.body);if("GET"===n.method)r.value="";else{var i=this.state.isHexText?a.getHexText(a.getHex(n)):a.getBody(n),s=N(i);r.value=s,s!==i&&h.warn("The length of request body > 128k, and has been truncated.")}if(this.updatePrettyData(),a.isUploadForm(n)){var c=a.parseUploadBody(n),d={},u={};c&&c.forEach((function(e){var t=e.name,n=d[t];n?(n.push(e),u[t].push(e.value)):(d[t]=[e],u[t]=[e.value])})),this.refs.uploadBody.update(d),l.set("composerUploadBody",JSON.stringify(u))}}},shouldComponentUpdate:function(e){var t=a.getBoolean(this.props.hide);return t!=a.getBoolean(e.hide)||!t},saveComposer:function(){var e=this.refs,t=this.getMethod(),n=o.findDOMNode(this.refs.url).value.trim(),r=o.findDOMNode(this.refs.headers).value;this.state.url=n,this.state.headers=r;var i={url:n,headers:r,method:t,useH2:this.state.useH2?1:"",body:o.findDOMNode(e.body).value.replace(/\r\n|\r|\n/g,"\r\n")};return l.set("composerData",JSON.stringify(i)),this.hasBody!=_(t,n,r)&&this.setState({}),i},addHistory:function(e){var t=this,n=t.state.historyData;e.date=Date.now();for(var r=0,o=n.length;r0&&(n.splice(64,a),t._selectedItem=null,n.forEach((function(e){e.selected&&(t._selectedItem=e)}))),t.setState({historyData:t.formatHistory(n)})},formatHistory:function(e){var t,n=[];return e.forEach((function(e){if(e.url){var r=Math.floor(e.date/6e4);if(t!==r){t=r;var o=new Date(e.date);n.push({title:o.getFullYear()+"-"+a.padding(o.getMonth()+1)+"-"+a.padding(o.getDate())+" "+a.padding(o.getHours())+":"+a.padding(o.getMinutes()),time:t})}if(!e.title){var i=[e.method+" "+e.url+" HTTP/"+(e.useH2?"2.0":"1.1")];e.body=e.body||"",e.headers&&i.push(e.headers),i.push("\n",e.body),e.title=i.join("\n")}n.push(e)}})),n},onHexTextChange:function(e){var t=e.target.checked;l.set("showHexTextBody",t?1:""),this.setState({isHexText:t});var n=o.findDOMNode(this.refs.body).value;t&&!1===a.getBase64FromHexText(n,!0)&&h.error("The hex text cannot be converted to binary data.")},onCRLFChange:function(e){var t=e.target.checked;l.set("useCRLBody",t?1:""),this.setState({isCRLF:t})},onCompose:function(){var e=this._selectedItem;if(e){var t=this.refs,n=!!e.isHexText;o.findDOMNode(t.url).value=e.url,o.findDOMNode(t.method).value=e.method,o.findDOMNode(t.headers).value=e.headers;var r=n?a.getHexText(a.getHexFromBase64(e.base64)):e.body||"";o.findDOMNode(t.body).value=r,this.state.tabName="Request",this.state.result="",this.state.isHexText=n,this.state.url=e.url,this.state.useH2=e.useH2,this.state.headers=e.headers,this.state.method=e.method,r&&(this.state.disableBody=!1),this.onComposerChange(!0),l.set("useH2InComposer",e.useH2?1:"")}},onReplay:function(e){this.onCompose(),this._selectedItem&&(this.execute(null,e),o.findDOMNode(this.refs.historyList).scrollTop=0)},onComposerChange:function(e){var t=this;clearTimeout(t.composerTimer),t.composerTimer=setTimeout(t.saveComposer,1e3);var n=!0===e?e:e&&e.target;if(n){if(!0===n||"SELECT"===n.nodeName){var r=o.findDOMNode(t.refs.method).value;t.setState({method:r},t.updatePrettyData)}!0!==n&&"headers"!==n.name||(clearTimeout(t.typeTimer),t.typeTimer=setTimeout((function(){var e=o.findDOMNode(t.refs.headers).value;t.setState({type:R(a.parseHeaders(e))})}),1e3))}},onTypeChange:function(e){var t=e.target;if("INPUT"===t.nodeName){var n=t.getAttribute("data-type");if(n&&(this.setState({type:n}),n=w[n])){var r=o.findDOMNode(this.refs.headers),i=a.parseHeaders(r.value);Object.keys(i).forEach((function(e){if("content-type"===e.toLowerCase())if(n){var t=x.test(i[e])?RegExp["$&"]:"";i[e]=n+t,n=null}else delete i[e]})),n&&(i["Content-Type"]=n),r.value=a.objectToString(i),this.updatePrettyData(),this.saveComposer()}}},addHeader:function(){this.refs.prettyHeaders.onAdd()},addField:function(){this.refs.prettyBody.onAdd()},addUploadFiled:function(){this.refs.uploadBody.onAdd()},onHeaderChange:function(e,t){var n=this.refs,r=n.prettyHeaders.toString();o.findDOMNode(n.headers).value=r,this.saveComposer(),("content-type"===e.toLowerCase()||t&&"content-type"===t.toLowerCase())&&this.setState({type:R(a.parseHeaders(r))})},onFieldChange:function(){var e=this.refs;o.findDOMNode(e.body).value=e.prettyBody.toString(),this.saveComposer()},onUploadFieldChange:function(){var e=this.refs.uploadBody.getFields(),t={};e.forEach((function(e){var n=t[e.name];null==n?t[e.name]=e.value:Array.isArray(n)?n.push(e.value):t[e.name]=[n,e.value]})),l.set("composerUploadBody",JSON.stringify(t))},onShowPretty:function(e){var t=e.target.checked;l.set("showPretty",t?1:0),this.setState({showPretty:t},this.updatePrettyData)},toggleH2:function(e){var t=this;if(i.supportH2){var n=e.target.checked;l.set("useH2InComposer",n?1:""),t.setState({useH2:n})}else g.confirm("The current version of Node.js cannot support HTTP/2.\nPlease upgrade to the latest LTS version.",(function(e){e&&window.open("https://nodejs.org/"),t.setState({})}))},toggleHistory:function(){var e=!this.state.showHistory;this.setState({showHistory:e}),l.set("showHistory",e?"1":""),e&&this.loadHistory()},setRulesDisable:function(e){l.set("disableComposerRules",e?1:0),this.setState({disableComposerRules:e})},onDisableChange:function(e){this.setRulesDisable(!e.target.checked)},enableRules:function(){this.state.disableComposerRules&&this.setRulesDisable(!1)},showRepeatTimes:function(e){var t=this;t.refs.setRepeatTimes.show(),t._isReplay=e,o.findDOMNode(t.refs.repeatBtn).innerHTML=e?"Replay":"Send",setTimeout((function(){var e=o.findDOMNode(t.refs.repeatTimes);e.select(),e.focus()}),300)},execute:function(e,t){if(t=t>0?Math.min(100,t):void 0,!e||t||"INPUT"!==e.target.nodeName||13===e.keyCode){if(e&&e.shiftKey)return this.showRepeatTimes();var n=this.refs,r=o.findDOMNode(n.url).value.trim();if(r&&!this.state.pending){this.onComposerChange(),this.setState({tabName:"Request"});var l=i.isStrictMode()||this.state.disableComposerRules?null:this.state.rules,c=o.findDOMNode(n.headers).value,d=c;if("string"==typeof l&&(l=l.trim())){var u,p=a.parseJSON(d),h=[];l=[l],p?(Object.keys(p).forEach((function(e){if("x-whistle-rule-value"===e.toLowerCase()){var t=p[e];try{t="string"==typeof t?decodeURIComponent(t):""}catch(e){}t&&l.push(t),delete p[e]}})),(u=M(l))&&(p["x-whistle-rule-value"]=u),d=JSON.stringify(p)):(d.split(/\r\n|\r|\n/).forEach((function(e){var t=e.indexOf(": ");-1===t&&(t=e.indexOf(":"));var n=-1===t?e:e.substring(0,t);if("x-whistle-rule-value"===(n=n.toLowerCase())){var r=e.substring(t+1).trim();try{r=decodeURIComponent(r)}catch(e){}l.push(r)}else h.push(e)})),(u=M(l))&&h.push("x-whistle-rule-value: "+u),d=h.join("\n"))}var f,m,b,v=this,y=v.getMethod();if(!v.state.disableBody&&_(y,r,c))if("upload"===v.state.type){var w=this.refs.uploadBody.getFields(),x=a.getMultiBody(w),C=x.boundary,k=x.length;m=x.base64;var S,E=a.parseJSON(d);if(E)Object.keys(E).forEach((function(e){"content-type"===(e=e.toLowerCase())?(S=S||E[e],delete E[e]):"content-length"===e&&delete E[e]})),E["Content-Type"]=O(S,C),E["Content-Length"]=k,d=JSON.stringify(E);else{var T=[];d.split(/\r\n|\r|\n/).forEach((function(e){var t=e.indexOf(": ");-1===t&&(t=e.indexOf(":"));var n=-1===t?e:e.substring(0,t);"content-type"===(n=n.toLowerCase())?S=S||e.substring(t+1).trim():"content-length"!==n&&T.push(e)})),T.push("Content-Type: "+O(S,C)),T.push("Content-Length: "+k),d=T.join("\n")}}else if(f=o.findDOMNode(n.body).value,b=this.state.isHexText){if(!1===(m=a.getBase64FromHexText(f)))return void g.alert("The hex text cannot be converted to binary data.\nPlease uncheck the checkbox of HexText option.");f=void 0}else f&&this.state.isCRLF&&(f=f.replace(/\r\n|\r|\n/g,"\r\n"));var N={useH2:this.state.useH2?1:"",needResponse:!0,url:r.replace(/^\/\//,""),headers:d,method:y,body:f,base64:m,repeatCount:t,isHexText:b};clearTimeout(v.comTimer),v.comTimer=setTimeout((function(){v.setState({pending:!1})}),3e3),s.trigger("enableRecord"),i.composer(JSON.stringify(N),(function(e,t,n){clearTimeout(v.comTimer);var o={pending:!1,tabName:"Response",initedResponse:!0};if(e&&0===e.ec){var s=e.res;s?(s.rawHeaders=i.getRawHeaders(s.headers,s.rawHeaderNames),s.rawTrailers=i.getRawHeaders(s.trailers,s.rawTrailerNames)):e.res={statusCode:200},e.url=r,e.req="",o.result=e}else{var l=t&&t.status;l?(n=l,a.showSystemError(t)):n&&"string"==typeof n&&"error"!==n||(n="Please check the proxy settings or whether whistle has been started."),o.result={url:r,req:"",res:{statusCode:n}}}v.setState(o)}),{contentType:"application/json",processData:!1}),N.date=Date.now(),N.body=N.body||"",this.addHistory(N),s.trigger("executeComposer"),v.setState({result:"",pending:!0})}}},selectAll:function(e){e.target.select()},saveRules:function(){var e=o.findDOMNode(this.refs.composerRules).value;this.state.rules=e,l.set("composerRules",e),this.setState({})},formatJSON:function(){var e=o.findDOMNode(this.refs.body);if(e.value.trim()){var t=a.parseRawJson(e.value);t&&(e.value=JSON.stringify(t,null," "),this.saveComposer())}},onRulesChange:function(){clearTimeout(this.rulesTimer),this.rulesTimer=setTimeout(this.saveRules,600)},onKeyDown:function(e){(e.ctrlKey||e.metaKey)&&(68==e.keyCode?(e.target.value="",e.preventDefault(),e.stopPropagation()):88==e.keyCode&&e.stopPropagation())},onTabChange:function(e){var t=e.target.name||"Request";t!==this.state.tabName&&this.setState({tabName:t,initedResponse:!0})},onContextMenu:function(e){e.preventDefault();var t=a.getMenuPosition(e,125);t.list=v,v[1].name=this.state.showHistory?"Hide History":"Show History",this.refs.contextMenu.show(t)},showHistoryMenu:function(e){if(e.preventDefault(),!this.state.pending){var t=a.getMenuPosition(e,120,96);t.list=y,this.refs.contextMenu.show(t)}},onClickContextMenu:function(e){switch(e){case"Repeat Times":return this.showRepeatTimes();case"history":return this.toggleHistory();case"Replay":return this.onReplay();case"Replay Times":return this.showRepeatTimes(!0);case"Compose":return this.onCompose()}},onBodyStateChange:function(e){var t=!e.target.checked;this.setState({disableBody:t}),l.set("disableComposerBody",t?1:""),t||this.setState({tabName:"Request"})},focusEnableBody:function(){this.setState({disableBody:!1}),l.set("disableComposerBody","")},selectItem:function(e){e.selected||(this.state.historyData.forEach((function(e){e.selected=!1})),e.selected=!0,this._selectedItem=e,this.setState({}))},render:function(){var e=this,t=e.state,n=t.type,o=t.rules,s=t.showPretty,l=t.useH2,h=t.pending,g=t.result||"",v=t.tabName,y="Request"===v,w="Response"===v,x=g?g.res&&g.res.statusCode:"",C="form"===n,k=t.method,S=_(k,t.url,t.headers),E=s&&C&&S,N="upload"===n&&S,R=i.isStrictMode(),M=R||t.disableComposerRules,O=t.isHexText,A=t.isCRLF,D=t.disableBody,L=h||D,P=t.showHistory,z=t.historyData;return e.hasBody=S,r.createElement("div",{className:"fill box w-detail-content w-detail-composer"+(P?" w-show-history":"")+(a.getBoolean(e.props.hide)?" hide":"")},r.createElement(c,{hideLeft:!P,leftWidth:"150"},r.createElement("div",{className:"fill orient-vertical-box w-history-data",onMouseDown:a.preventBlur},z.length?null:r.createElement("div",{className:"w-tips"},t.loading?"Loading":"No history data"),r.createElement("div",{className:"fill w-history-list",ref:"historyList"},z.map((function(t){return t.url?r.createElement("div",{onClick:function(){e.selectItem(t)},onDoubleClick:e.showHistoryMenu,onContextMenu:function(n){e.selectItem(t),e.showHistoryMenu(n)},title:t.title,className:t.selected?"w-selected":null},t.method," ",t.url):r.createElement("p",null,t.title)})))),r.createElement("div",{className:"fill orient-vertical-box"},r.createElement("div",{className:"w-composer-url box"},r.createElement("select",{disabled:h,value:k,onChange:this.onComposerChange,ref:"method",className:"form-control w-composer-method"},b.map((function(e){return r.createElement("option",{value:e},e)}))),r.createElement("input",{readOnly:h,defaultValue:t.url,onKeyUp:this.execute,onChange:this.onComposerChange,onKeyDown:this.onKeyDown,onFocus:this.selectAll,ref:"url",type:"text",maxLength:"8192",placeholder:"Input the url",className:"fill w-composer-input"}),r.createElement("button",{disabled:h,onClick:this.execute,onContextMenu:e.onContextMenu,className:"btn btn-primary w-composer-execute"},r.createElement("span",{className:"glyphicon glyphicon-send"}))),r.createElement("div",{className:"w-detail-inspectors-title w-composer-tabs"},r.createElement("button",{onClick:this.onTabChange,name:"Request",className:y?"w-tab-btn w-active":"w-tab-btn"},"Request"),r.createElement("button",{title:g.url,onClick:this.onTabChange,name:"Response",className:w?"w-tab-btn w-active":"w-tab-btn"},"Response"),r.createElement("label",{className:"w-composer-enable-body"},r.createElement("input",{disabled:h,checked:!D,type:"checkbox",onChange:this.onBodyStateChange}),"Body"),r.createElement("label",{className:"w-composer-enable-rules"},r.createElement("input",{disabled:h,onChange:this.onDisableChange,checked:!t.disableComposerRules,type:"checkbox"}),"Rules"),r.createElement("label",{className:"w-composer-use-h2"},r.createElement("input",{disabled:h,type:"checkbox",onChange:this.toggleH2,checked:i.supportH2&&l}),"Use H2"),r.createElement("label",{className:"w-composer-history"},r.createElement("input",{disabled:h,type:"checkbox",onChange:this.toggleHistory,checked:P}),"History")),r.createElement(c,{vertical:"true",rightWidth:"120"},r.createElement("div",{className:"orient-vertical-box fill"},r.createElement(c,{hide:!y,vertical:"true"},r.createElement("div",{className:"fill orient-vertical-box w-composer-headers"},r.createElement("div",{className:"w-composer-bar",onChange:this.onTypeChange},r.createElement("label",null,r.createElement("input",{onChange:this.onShowPretty,type:"checkbox",checked:s}),"Pretty"),r.createElement("label",{className:"w-composer-label"},"Type:"),r.createElement("label",null,r.createElement("input",{disabled:h,"data-type":"form",name:"type",type:"radio",checked:C}),"Form"),r.createElement("label",null,r.createElement("input",{disabled:h,"data-type":"upload",name:"type",type:"radio",checked:"upload"===n}),"Upload"),r.createElement("label",null,r.createElement("input",{disabled:h,"data-type":"json",name:"type",type:"radio",checked:"json"===n}),"JSON"),r.createElement("label",null,r.createElement("input",{disabled:h,"data-type":"text",name:"type",type:"radio",checked:"text"===n}),"Text"),r.createElement("label",{className:"w-custom-type",title:"Directly modify Content-Type in the headers"},r.createElement("input",{"data-type":"custom",name:"type",type:"radio",checked:"custom"===n,disabled:!0}),"Custom"),r.createElement("button",{disabled:h,className:"btn btn-primary"+(s?"":" hide"),onClick:this.addHeader},"Add header")),r.createElement("textarea",{readOnly:h,defaultValue:t.headers,onChange:this.onComposerChange,maxLength:65536,onKeyDown:this.onKeyDown,ref:"headers",placeholder:"Input the headers",name:"headers",className:"fill orient-vertical-box"+(s?" hide":"")}),r.createElement(p,{disabled:h,ref:"prettyHeaders",isHeader:"1",hide:!s,onChange:this.onHeaderChange})),r.createElement("div",{className:"fill orient-vertical-box w-composer-body"},r.createElement("div",{className:"w-composer-bar"},r.createElement("label",{className:"w-composer-label"},r.createElement("input",{disabled:h,checked:!D,type:"checkbox",onChange:this.onBodyStateChange}),"Body"),r.createElement("label",{className:"w-composer-hex-text"+(O?" w-checked":"")+(N?" hide":""),onDoubleClick:this.focusEnableBody},r.createElement("input",{disabled:L,checked:O,type:"checkbox",onChange:this.onHexTextChange}),"HexText"),r.createElement("label",{className:"w-composer-crlf"+(O||N?" hide":"")+(A?" w-checked":""),onDoubleClick:this.focusEnableBody},r.createElement("input",{disabled:L,checked:A,onChangeCapture:this.onCRLFChange,type:"checkbox"}),"\\r\\n"),r.createElement("button",{disabled:L,className:"btn btn-default"+(E||O||N?" hide":""),onClick:this.formatJSON},"Format JSON"),r.createElement("button",{disabled:L,className:"btn btn-primary"+(E&&!O||N?"":" hide"),onClick:N?this.addUploadFiled:this.addField},"Add field")),r.createElement("textarea",{readOnly:L,defaultValue:t.body,onChange:this.onComposerChange,maxLength:T,onDoubleClick:this.focusEnableBody,style:{background:S&&!D?"lightyellow":void 0,fontFamily:O?"monospace":void 0},onKeyDown:this.onKeyDown,ref:"body",placeholder:S?"Input the "+(O?"hex text":"body"):k+" operations cannot have a request body",title:S?void 0:k+" operations cannot have a request body",className:"fill orient-vertical-box"+(E&&!O||N?" hide":"")}),r.createElement(p,{onDoubleClick:this.focusEnableBody,disabled:L,ref:"prettyBody",hide:!E||O||N,onChange:this.onFieldChange}),r.createElement(p,{onDoubleClick:this.focusEnableBody,disabled:L,ref:"uploadBody",hide:!N,onChange:this.onUploadFieldChange,allowUploadFile:!0,title:S?void 0:k+" operations cannot have a request body"}))),t.initedResponse?r.createElement("div",{style:{display:w?void 0:"none"},className:"w-composer-res-"+I(x)},r.createElement("button",{onClick:this.onTabChange,name:"Request",className:"btn btn-default w-composer-back-btn",title:"Back to Request"},r.createElement("span",{className:"glyphicon glyphicon-menu-left"})),r.createElement(u,{modal:{"Status Code":null==x?"aborted":x}})):void 0,t.initedResponse?r.createElement(d,{inComposer:"1",modal:g,hide:!w}):void 0),r.createElement("div",{ref:"rulesCon",onDoubleClick:this.enableRules,title:R?"Requests cannot bring rules in strict mode":void 0,className:"orient-vertical-box fill w-composer-rules"},r.createElement("div",{className:"w-detail-inspectors-title"},r.createElement("label",null,r.createElement("input",{disabled:h,onChange:this.onDisableChange,checked:!t.disableComposerRules,type:"checkbox"}),"Rules")),r.createElement("textarea",{disabled:M||h,defaultValue:o,ref:"composerRules",onChange:this.onRulesChange,style:{background:!M&&o?"lightyellow":void 0},maxLength:"8192",className:"fill orient-vertical-box w-composer-rules",placeholder:"Input the rules"}))))),r.createElement(f,{onClick:this.onClickContextMenu,ref:"contextMenu"}),r.createElement(m,{ref:"setRepeatTimes",wstyle:"w-replay-count-dialog"},r.createElement("div",{className:"modal-body"},r.createElement("label",null,"Times:",r.createElement("input",{ref:"repeatTimes",placeholder:"<= 100",onKeyDown:this.sendRepeat,onChange:this.repeatTimesChange,value:t.repeatTimes,className:"form-control",maxLength:"3"})),r.createElement("button",{type:"button",ref:"repeatBtn",onKeyDown:this.sendRepeat,tabIndex:"0",onMouseDown:a.preventBlur,className:"btn btn-primary",onClick:this.sendRepeat,disabled:!t.repeatTimes},"Send"))))}});e.exports=A},71788:(e,t,n)=>{n(81132),n(10316);var r=n(19755),o=n(57588),i=n(73935),a=n(10385).Z,s=n(77063),l=n(43278),c=n(50897),d=n(44882),u=n(23182),p=n(21043),h=n(25927),f=n(32936),m=n(90339),g={value:"",text:"All logs"},b=o.createClass({displayName:"Console",getInitialState:function(){return{scrollToBottom:!0,logIdList:[g],levels:[{value:"",text:"All levels"},{value:"debug",text:"Debug"},{value:"info",text:"Info/Log"},{value:"warn",text:"Warn"},{value:"error",text:"Error"},{value:"fatal",text:"Fatal"}],expandRoot:1!=f.get("expandJsonRoot")}},componentDidMount:function(){var e=this,t=this.container=i.findDOMNode(e.refs.container),n=this.content=i.findDOMNode(e.refs.logContent),o=function(r){var o=e.state,i=o.logs;if(i!==r&&Array.isArray(i)&&r.push.apply(r,i),o.logs=r,l.filterLogList(o.logs,e.keyword),!e.props.hide){if(l.scrollAtBottom(t,n)){var a=r.length-90;a>9&&l.trimLogList(r,a,e.keyword)}e.setState({})}};c.uploadLogs&&(o(c.uploadLogs),c.uploadLogs=null),h.on("uploadLogs",(function(t,n){if(!e.props.hide){var r=n.logs,i=e.state.logs;if(i){i.push.apply(i,r);var a=i.length-90;a>19&&l.trimLogList(i,a,e.keyword)}else i=r;o(i)}})),c.on("log",o),r(t).on("scroll",(function(){var r=e.state.logs;clearTimeout(e.scrollTimer),r&&(e.state.scrollToBottom=l.scrollAtBottom(t,n))&&(e.scrollTimer=setTimeout((function(){var t=r.length-90;e.scrollTimer=null,t>9&&(l.trimLogList(r,t,e.keyword),e.setState({logs:r}))}),2e3))}))},selectFile:function(){i.findDOMNode(this.refs.importData).click()},importData:function(){var e=new FormData(i.findDOMNode(this.refs.importDataForm)).get("importData");return e&&/\.log$/i.test(e.name)?e.size>2097152?m.alert("The file size cannot exceed 2m."):(l.readFileAsText(e,(function(e){(e=l.parseLogs(e))&&h.trigger("uploadLogs",{logs:e})})),void(i.findDOMNode(this.refs.importData).value="")):m.alert("Only supports .log file.")},changeLogId:function(e){c.changeLogId(e.value)},changeLevel:function(e){this.setState({level:e.value})},clearLogs:function(){var e=this.state.logs;e&&e.splice(0,e.length),this.setState({})},scrollTop:function(){this.container.scrollTop=0},autoRefresh:function(){this.container.scrollTop=1e7},stopAutoRefresh:function(){l.scrollAtBottom(this.container,this.content)&&(this.container.scrollTop=this.container.scrollTop-10)},shouldComponentUpdate:function(e){var t=l.getBoolean(this.props.hide),n=t!=l.getBoolean(e.hide);return!(!n&&t||(n||t||(this.state.scrollToBottom=l.scrollAtBottom(this.container,this.content)),clearTimeout(this.filterTimer),clearTimeout(this.scrollTimer),0))},componentDidUpdate:function(){!this.props.hide&&this.state.scrollToBottom&&(this.container.scrollTop=1e7)},onConsoleFilterChange:function(e){var t=this;e=e.trim(),t.keyword=e;var n=t.state.logs,r=l.parseKeyword(e);if(l.filterLogList(n,r),!e){var o=n&&n.length-90;o>9&&n.splice(0,o)}clearTimeout(t.filterTimer),t.filterTimer=setTimeout((function(){t.filterTimer=null,t.setState({consoleKeyword:r})}),500)},showNameInput:function(e){var t=this;t.setState({showNameInput:!0},(function(){i.findDOMNode(t.refs.nameInput).focus()}))},download:function(){var e=i.findDOMNode(this.refs.nameInput),t=e.value.trim(),n=[];this.state.logs.forEach((function(e){e.hide||n.push({id:e.id,text:e.text,level:e.level,date:e.date})})),e.value="",i.findDOMNode(this.refs.filename).value=t,i.findDOMNode(this.refs.content).value=JSON.stringify(n,null," "),i.findDOMNode(this.refs.downloadForm).submit(),this.hideNameInput()},submit:function(e){13!==e.keyCode&&"click"!=e.type||this.download()},preventBlur:function(e){"INPUT"!=e.target.nodeName&&e.preventDefault()},hideNameInput:function(){this.setState({showNameInput:!1})},handleAction:function(e){if("top"===e)return this.scrollTop();if("bottom"===e)return this.autoRefresh();if("pause"!==e){var t="refresh"===e;return c.stopConsoleRecord(!t),t?this.autoRefresh():void 0}c.pauseConsoleRecord()},onBeforeShow:function(){var e=c.getLogIdList()||[];(e=e.map((function(e){return{value:e,text:e}}))).unshift(g),this.setState({logIdList:e})},changeExpandRoot:function(e){this.state.expandRoot=e.target.checked},render:function(){var e=this.state,t=e.logs||[],n=e.logIdList,r=e.level,i=e.expandRoot,c=!l.hasVisibleLog(t);return o.createElement("div",{className:"fill orient-vertical-box w-textarea w-detail-page-log"+(this.props.hide?" hide":"")},o.createElement("div",{className:"w-log-action-bar"},o.createElement(u,{onBeforeShow:this.onBeforeShow,help:"https://avwo.github.io/whistle/webui/log.html",onChange:this.changeLogId,options:n}),o.createElement(u,{onChange:this.changeLevel,options:e.levels}),o.createElement("label",{className:"w-log-expand-root"},o.createElement("input",{type:"checkbox",defaultChecked:i,onChange:this.changeExpandRoot}),"Expand JSON Root"),o.createElement("div",{className:"w-textarea-bar"},o.createElement("a",{className:"w-import",onClick:this.selectFile,draggable:"false"},"Import"),o.createElement("a",{className:"w-download"+(c?" w-disabled":""),onDoubleClick:c?void 0:this.download,onClick:c?void 0:this.showNameInput,draggable:"false"},"Export"),o.createElement(p,{onClick:this.handleAction}),o.createElement("a",{className:"w-clear"+(c?" w-disabled":""),onClick:c?void 0:this.clearLogs,draggable:"false"},"Clear"),o.createElement("div",{onMouseDown:this.preventBlur,style:{display:this.state.showNameInput?"block":"none"},className:"shadow w-textarea-input"},o.createElement("input",{ref:"nameInput",onKeyDown:this.submit,onBlur:this.hideNameInput,type:"text",maxLength:"64",placeholder:"Input the filename"}),o.createElement("button",{type:"button",onClick:this.submit,className:"btn btn-primary"},"OK")),o.createElement("form",{ref:"downloadForm",action:"cgi-bin/download",style:{display:"none"},method:"post",target:"downloadTargetFrame"},o.createElement("input",{ref:"type",name:"type",value:"log",type:"hidden"}),o.createElement("input",{ref:"filename",name:"filename",type:"hidden"}),o.createElement("input",{ref:"content",name:"content",type:"hidden"})))),o.createElement("form",{ref:"importDataForm",encType:"multipart/form-data",style:{display:"none"}},o.createElement("input",{ref:"importData",onChange:this.importData,type:"file",name:"importData",accept:".log"})),o.createElement("div",{ref:"container",className:"fill w-detail-log-content"},o.createElement("ul",{ref:"logContent"},t.map((function(e){var t=e.logId;t=t?" (LogID: "+t+")":"";var n="Date: "+l.toLocaleString(new Date(e.date))+t+"\r\n",c=e.hide||r&&!c&&e.level!==r?" hide":"";return o.createElement("li",{key:e.id,title:e.level.toUpperCase(),className:"w-"+e.level+c},o.createElement("pre",null,n,function(e,t){if(e.view)return e.view;try{var n=JSON.parse(e.text),r=n.some((function(e){return"string"!=typeof e||"undefined"===e}));return e.view=n.map((function(e){return"string"==typeof e&&"undefined"!==e?o.createElement(s,{text:r?'"'+e+'"':e}):e&&"object"==typeof e?o.createElement(a,{data:e,shouldExpandNode:!!t&&void 0}):o.createElement(s,{wStyle:{color:"rgb(203, 75, 22)"},text:e+""})})),e.view}catch(e){}return o.createElement(s,{text:e.text})}(e,i)))})))),o.createElement(d,{onChange:this.onConsoleFilterChange}))}});e.exports=b},65421:(e,t,n)=>{n(81132),n(14574);var r=n(19755),o=n(57588),i=n(73935),a=n(43278),s=n(75525),l=o.createClass({displayName:"ContextMenu",getInitialState:function(){return{}},componentDidMount:function(){var e=this;e.container=document.createElement("div"),document.body.appendChild(e.container),e.componentDidUpdate(),r(document).on("mousedown click",(function(t){r(t.target).closest(".w-context-menu").length?"INPUT"!==t.target.nodeName&&t.preventDefault():e.hide()})).on("keydown",(function(t){9===t.keyCode&&e.hide()})),r(window).on("resize blur",(function(){e.hide()}))},componentDidUpdate:function(){i.unstable_renderSubtreeIntoContainer(this,this.getDialogElement(),this.container)},preventDefault:function(e){e.preventDefault()},isVisible:function(){return this.state.visible},onClick:function(e){var t=r(e.target).closest("li");t.hasClass("w-ctx-sub-menu-list")||t.hasClass("w-ctx-item-disabled")||(!t.hasClass("w-ctx-item-multi")&&this.hide(),this.props.onClick&&this.props.onClick(t.attr("data-menu-action"),e,t.attr("data-parent-action"),t.attr("data-name")),e.shiftKey&&t.attr("data-shift-to-edit")&&this.refs.editorDialog.show({value:t.attr("data-clipboard-text")}))},getDialogElement:function(){var e=this,t=e.state,n=t.list||[];return o.createElement("div",{onClick:e.onClick,className:"w-context-menu "+(t.className||""),onContextMenu:e.preventDefault,style:{left:t.left,top:t.top,display:t.visible?"":"none"}},o.createElement("ul",{className:"w-ctx-menu-list"},n.map((function(e){var t=e.list,n=e.shiftToEdit?1:void 0,r=!t&&e.multiple;return o.createElement("li",{"data-menu-action":e.action||e.name,key:e.name,className:"w-ctx-menu-item "+(e.sep?"w-ctx-item-sep":"")+(e.disabled?" w-ctx-item-disabled":"")+(t?" w-ctx-sub-menu-list":"")+(e.copyText?" w-copy-text":""),"data-clipboard-text":e.copyText,style:{display:e.hide?"none":void 0},onClick:e.onClick},o.createElement("label",{className:"w-ctx-item-tt"},e.icon?o.createElement("span",{style:{marginRight:"5px"},className:"glyphicon glyphicon-"+e.icon}):null,r?o.createElement("input",{type:"checkbox",checked:e.checked}):null,e.name),t?o.createElement("span",{className:"glyphicon glyphicon-play"}):void 0,t?o.createElement("div",{className:"w-ctx-menu-gap"}):void 0,t?o.createElement("ul",{className:"w-ctx-menu-list",style:e.top>0?{top:30*-e.top-1,maxHeight:e.maxHeight}:void 0},t.map((function(t,r){return o.createElement("li",{title:t.title,"data-parent-action":e.action,"data-name":t.name,"data-menu-action":t.action||t.name,key:r,onClick:t.onClick,className:"w-ctx-menu-item "+(t.sep?"w-ctx-item-sep":"")+(t.disabled?" w-ctx-item-disabled":"")+(t.copyText?" w-copy-text":""),"data-clipboard-text":t.copyText,"data-shift-to-edit":n},o.createElement("label",{className:"w-ctx-item-tt"},t.multiple?o.createElement("input",{type:"checkbox",checked:t.checked}):null,t.name))}))):void 0)}))))},show:function(e){e.visible=!0,this.setState(e)},hide:function(){this.setState({visible:!1})},update:function(){this.state.visible&&this.setState({})},render:function(){return o.createElement(s,{ref:"editorDialog"})}});l.util=a,l.$=r,e.exports=l},75774:(e,t,n)=>{var r=n(57588),o=r.createClass({displayName:"CopyBtn",getInitialState:function(){return{}},handleLeave:function(){this.setState({copied:!1})},handleCopy:function(){this.setState({copied:!0})},render:function(){var e=this.state.copied;return r.createElement("a",{onMouseLeave:this.handleLeave,onClick:this.handleCopy,style:e?{color:"#ccc",cursor:"not-allowed"}:void 0,className:e?void 0:"w-copy-text",draggable:"false","data-clipboard-text":this.props.value||""},(e?"Copied":"Copy")+(this.props.name||""))}});e.exports=o},50897:(e,t,n)=>{var r,o,i,a,s,l,c,d,u,p,h,f,m,g,b=n(19755),v=n(20021),y=n(43278),w=n(48672),x=n(32936),C=n(25927),k=v.createCgi,S=t.MAX_FRAMES_LENGTH=256,E=[],T=[],N=[],_=[],R=[],M=[],O=[],I=[],A=new w(M),D=-2,L=-2,P=1e6,z=0,F=0,H=1==x.get("onlyViewOwnData"),j={},U={},B=[],q=[],W=[],V=[],G=[],K={timeout:2e4,xhrFields:{withCredentials:!0},data:{}};function Z(e){var n,r=location.hash.substring(1),o=r.indexOf("?");if(-1!==o){var i=y.parseQueryString(r.substring(o+1),null,null,decodeURIComponent),a=i.rulesName||i.ruleName,s=i.valuesName||i.valueName;a!==t.activeRulesName&&(t.activeRulesName=a,C.trigger("activeRules")),s!==t.activeValuesName&&(t.activeValuesName=s,C.trigger("activeValues")),i.url&&((n={}).url=i.url);for(var l=0;l<6;l++){var p="name"+(l||""),h=i[p];if(h){(n=n||{})[p]=h;var f="value"+(l||"");n[f]=i[f]||""}}i.ip&&((n=n||{}).ip=i.ip),n&&n.name&&"exact"===i.mtype&&(n.mtype=1),u||"true"!==i.clearNetwork||(d=!0)}t.hashFilterObj=n,e&&!function(e){return e===c&&(!e||e.url===c.url&&e.ip===c.ip&&e.name===c.name&&e.value===c.value)}(n)&&C.trigger("hashFilterChange"),c=n}function J(){var e=y.parseJSON(x.get("filterText"));return e?{disabledFilterText:e.disabledFilterText,filterText:y.toString(e.filterText).substring(0,5120),disabledExcludeText:e.disabledExcludeText,excludeText:y.toString(e.excludeText).substring(0,5120)}:{filterText:"",excludeText:""}}t.clientIp="127.0.0.1",t.MAX_INCLUDE_LEN=5120,t.MAX_EXCLUDE_LEN=5120,t.changeLogId=function(e){p=e},t.getUploadFiles=function(){return h},t.getPort=function(){return f},t.setDumpCount=function(e){z=e>0?e:0},t.setOnlyViewOwnData=function(e){H=!1!==e,x.set("onlyViewOwnData",H?1:0)},t.isOnlyViewOwnData=function(){return H},t.filterIsEnabled=function(){if(H)return!0;var e=J();return!e||e.disabledFilterText&&e.disabledExcludeText?void 0:!e.disabledFilterText&&e.filterText.trim()||!e.disabledExcludeText&&e.excludeText.trim()},Z(),b(window).on("hashchange",Z),t.setFilterText=function(e){e=e||{},x.set("filterText",JSON.stringify({disabledFilterText:e.disabledFilterText,filterText:e.filterText,disabledExcludeText:e.disabledExcludeText,excludeText:e.excludeText}))},t.getFilterText=J,t.setNetworkColumns=function(e){e=e||{},x.set("networkColumns",JSON.stringify({columns:e.columns}))},t.getNetworkColumns=function(){return y.parseJSON(x.get("networkColumns"))||{}};var Y=/^(m|i|h|b|c|d|H):/,$={m:"method",i:"ip",h:"headers",b:"body",c:"body",d:"host",H:"host"},Q=[];function X(e){if(e=e&&e.trim()){var t,n=function(e){var t=Q.length,n=t?y.findArray(Q,(function(t){return t.text===e})):null;return(t-=10)>2&&(Q=Q.slice(t),n&&-1===Q.indexOf(n)&&Q.push(n)),n&&n.filter}(e);return n||(e.split(/\s+/).forEach((function(e){if(Y.test(e)){var r=$[RegExp.$1],o="!"===e[2];(e=e.substring(o?3:2))&&(n=n||[],t=y.toRegExp(e),n.push({type:r,not:o,pattern:t,keyword:t?null:e.toLowerCase()}))}else e&&(n=n||[],t=y.toRegExp(e),n.push({pattern:t,keyword:t?null:e.toLowerCase()}))})),n&&Q.push({text:e,filter:n}),n)}}function ee(e,t,n){if(!e)return!1;var r;if(t.pattern)r=t.pattern.test(e);else{if(n)try{var o=decodeURIComponent(e);o!==e&&(e+="\n"+o)}catch(e){}r=-1!==function(e){return String(null==e?"":e).trim().toLowerCase()}(e).indexOf(t.keyword)}return t.not?!r:r}function te(e,t){for(var n=0,r=t.length;n1||e[0].name!==t[0].name||e[0].action!==t[0].action)&&C.trigger(n)}else o&&C.trigger(n)}t.compose=function(e,t,n){return"string"!=typeof e&&(e=JSON.stringify(e)),ie(e,t,n)},window.compose=t.compose,b.extend(t,v({composer:{url:"cgi-bin/composer",mode:"cancel"},compose2:"cgi-bin/composer",interceptHttpsConnects:"cgi-bin/intercept-https-connects",enableHttp2:"cgi-bin/enable-http2",abort:"cgi-bin/abort",setCustomColumn:"cgi-bin/set-custom-column"},ne)),b.extend(t,v({donotShowAgain:"cgi-bin/do-not-show-again",checkUpdate:"cgi-bin/check-update",importRemote:"cgi-bin/import-remote",getHistory:"cgi-bin/history"},re)),t.socket=b.extend(v({changeStatus:{mode:"cancel",url:"cgi-bin/socket/change-status"},abort:{mode:"ignore",url:"cgi-bin/socket/abort"},send:{mode:"ignore",url:"cgi-bin/socket/data"}},ne)),t.getReqTabs=function(){return B},t.getResTabs=function(){return q},t.getTabs=function(){return W},t.getToolTabs=function(){return V},t.getComTabs=function(){return G},t.getInitialData=function(e){if(!o){o=b.Deferred();var n=function(){oe.getInitial((function(e){if(!e)return setTimeout(n,1e3);f=e.server&&e.server.port,ae(e),t.supportH2=e.supportH2,t.custom1=e.custom1,t.custom2=e.custom2,h=e.uploadFiles,i=e,m=e.clientId,K.data.clientId=m,e.lastLogId&&(D=e.lastLogId),e.lastSvrLogId&&(L=e.lastSvrLogId),e.lastDataId&&(s=e.lastDataId),t.upload=v({importSessions:"cgi-bin/sessions/import?clientId="+m,importRules:"cgi-bin/rules/import?clientId="+m,importValues:"cgi-bin/values/import?clientId="+m},b.extend({type:"post"},K,{contentType:!1,processData:!1,timeout:36e3})),o.resolve(e),e.clientIp&&(t.clientIp=e.clientIp)}))};n()}o.done(e)};var ce=Date.now();function de(e,t){if(e&&t){var n={};return Object.keys(e).forEach((function(r){n[t[r]||r]=e[r]})),n}}function ue(e){if(!e)return!1;if(e.useFrames)return!0;if(e.reqError||e.resError)return!1;var t=e.res.statusCode;return/^wss?:\/\//.test(e.url)?101==t:e.inspect&&200==t}function pe(e){var t=e.indexOf("&");return-1!==t&&(e=e.substring(0,t)),-1!==(t=e.indexOf("!"))&&(e=e.substring(0,t)),"@"===e[0]&&(e="#"+e.substring(1)),e.length>32?void 0:e}function he(e,t){var n=e.lastIndexOf("&custom"+(t?"1=":"2="));if(-1!==n){if(n=(e=e.substring(n+9)).indexOf("&"),-1!==(e=-1===n?e:e.substring(0,n)).indexOf("%"))try{return decodeURIComponent(e)}catch(e){}return e}}function fe(e){var t=e.url,n=e.req,r=e.res;e.method=n.method;var o=e.endTime,i=o?"":"-",a=r.headers||"";e.hostIp=r.ip||i,e.clientIp=n.ip||"127.0.0.1",e.date=e.date||y.toLocaleString(new Date(e.startTime)),e.clientPort=n.port,e.serverPort=e.res.port,e.contentEncoding=(a["content-encoding"]||"")+(e.res.hasGzipError?" (Incorrect header)":"");var s=null==n.size?i:n.size,l=null==r.size?i:r.size;e.body=s+" + "+l;var c=null==r.statusCode?i:r.statusCode;if(e.result=/^[1-9]/.test(c)&&parseInt(c,10)||c,e.type=(a["content-type"]||"").split(";")[0].toLowerCase(),e.dns=e.request=e.response=e.download=e.time=i,e.dnsTime>0&&(e.dns=e.dnsTime-e.startTime+"ms",e.requestTime>0&&(e.request=e.requestTime-e.dnsTime+"ms"),e.responseTime>0&&(!e.requestTime||e.requestTime>e.responseTime?e.response=e.responseTime-e.dnsTime+"ms":e.response=e.responseTime-e.requestTime+"ms",o>0&&(e.download=o-e.responseTime+"ms",e.time=o-e.startTime+"ms"))),n._hasError=e.reqError,r._hasError=e.resError,n.rawHeaders=de(n.headers,n.rawHeaderNames),r.rawHeaders=de(r.headers,r.rawHeaderNames),r.rawTrailers=de(r.trailers,r.rawTrailerNames),function(e){e.style=void 0;var t=e.rules&&e.rules.style;if(t=t&&t.list){var n,r,o,i=(t="&"+t.map((function(e){return(e=e.value||e.matcher).substring(e.indexOf("://")+3)})).join("&")).lastIndexOf("&color=");-1!==i&&(n=pe(t.substring(i+7)));var a=t.lastIndexOf("&fontStyle=");-1!==a&&(r=pe(t.substring(a+11)));var s=t.lastIndexOf("&bgColor=");-1!==s&&(o=pe(t.substring(s+9))),(n||r||o)&&(e.style={color:n,fontStyle:r,backgroundColor:o}),e.custom1=he(t,!0),e.custom2=he(t)}}(e),e.rules&&e.pipe&&(e.rules.pipe=e.pipe),e.path)e.useH2?e.protocol="H2":"H2"===e.protocol&&(e.protocol=e.isHttps?"HTTP":y.getProtocol(t));else{e.isHttps?e.protocol=y.getTransProto(r)||y.getTransProto(n)||"HTTP":e.protocol=e.useH2?"H2":y.getProtocol(t),e.hostname=e.isHttps?"Tunnel to":y.getHost(t);var d=t.indexOf("://");-1!==d?(d=t.indexOf("/",d+3),e.path=-1===d?"/":t.substring(d)):e.path=t,e.path.length>1024&&(e.path=e.path.substring(0,1024)+"...")}!e.useHttp||"HTTPS"!==e.protocol&&"WSS"!==e.protocol||(e.protocol=e.protocol+" > "+e.protocol.slice(0,-1)),!e.frames&&ue(e)&&(e.frames=[])}t.getRawHeaders=de,window.getWhistlePageId=function(){return m},t.getPageId=function(){return m},t.isFrames=ue;var me=/^(?:https?|wss?):\/\//;function ge(){return M.length-w.MAX_COUNT-1}function be(e){var t=[];return g?t:(Object.keys(j).forEach((function(n){var r=j[n],o=r[e];if(o){var i=n.slice(0,-1);U[i]||o.forEach((function(e){e.title=i+" extension menu",e.mtime=r.mtime,e.priority=r.priority,e._key=n,t.push(e)}))}})),t.length>1?t.sort(y.comparePlugin):t)}t.addNetworkList=function(e){if(Array.isArray(e)&&e.length){var n,r=[];e.forEach((function(e){if(e&&e.startTime>=0&&e.req&&e.req.headers&&e.res&&function(e){var t=e&&e.url;return!(!t||"string"!=typeof t||-1!==t.indexOf("#"))&&(e.isHttps?-1===t.indexOf("/")&&-1===t.indexOf("?"):me.test(t))}(e)){var t=e.req;delete e.active,delete e.selected,delete e.hide,delete e.order,delete t.json,delete e.res.json,delete e.data,delete e.stopRecordFrames,delete e.pauseRecordFrames,y.isString(e.fwdHost)||delete e.fwdHost,Array.isArray(e.frames)&&(e.frames=e.frames.filter((function(e){return e&&delete e.json,e}))),e.lost=!0,e.id=e.startTime+"-"+ ++P,fe(e),M.push(e),r.push(e.id),n=!0}})),n&&(t.curNewIdList=r,E.forEach((function(e){e(A)})))}},t.overflowCount=ge,t.networkModal=A,t.isDiableCustomCerts=function(){return r&&r.dcc},t.isMutilEnv=function(){return r&&r.multiEnv},t.isStrictMode=function(){return r&&r.strictMode||!1},t.getServerInfo=function(){return r||""},t.on=function(e,n){a||(a=!0,function e(){if(document.hidden){if(Date.now()-ce>18e4)return setTimeout(e,100)}else ce=Date.now();A.clearNetwork&&(s=l||s,A.clearNetwork=!1);var n=u?ge()>0||t.stopRefresh?-1:s||"0":d?-2:"",o=O.length,i=I.length,a=-1,h=-1,m=[],v=[];M.forEach((function(e){e.endTime||e.lost||m.push(e.id),e.reqPlugin>0&&e.reqPlugin<10&&(++e.reqPlugin,v.push(e.id))})),!t.pauseConsoleRefresh&&o<100&&(a=D),!t.pauseServerLogRefresh&&i<70&&(h=L);var w,x,k=A.getActive(),P=k&&k.frames;P&&!k.pauseRecordFrames&&(k.stopRecordFrames?(x=k.id,w=-3):P.length<=S&&(x=k.id,w=k.lastFrameId));var K=u?20:A.getDisplayCount(),Z={startLogTime:t.stopConsoleRefresh?-3:a,startSvrLogTime:t.stopServerLogRefresh?-3:h,ids:m.join(),startTime:n,dumpCount:z,lastRowId:u||!K?s:void 0,curReqId:x,lastFrameId:w,logId:p||"",count:K||20,tunnelIds:v};u=!0,b.extend(Z,c),H&&(Z.ip="self"),oe.getData(Z,(function(n){var o=n&&n.data&&n.data.hasNew;if(setTimeout(e,o?100:900),function(e){T.length?(e=e&&e.server)?(F=0,r&&r.strictMode!=e.strictMode&&(r.strictMode=e.strictMode,C.trigger("updateStrictMode")),r&&r.version==e.version&&r.rulesMode===e.rulesMode&&r.cmdName===e.cmdName&&r.networkMode===e.networkMode&&r.pluginsMode===e.pluginsMode&&r.multiEnv===e.multiEnv&&r.baseDir==e.baseDir&&r.username==e.username&&r.nodeVersion==e.nodeVersion&&r.port==e.port&&r.host==e.host&&r.pid==e.pid&&r.ipv4.sort().join()==e.ipv4.sort().join()&&r.ipv6.sort().join()==e.ipv6.sort().join()?r=e:(r=e,T.forEach((function(t){t(e)})))):++F>=4&&(r=e,T.forEach((function(e){e(!1)}))):F=0}(n),n&&0===n.ec){f=n.server&&n.server.port,ae(n),t.supportH2=n.supportH2,t.custom1=n.custom1,t.custom2=n.custom2,Z.dumpCount>0&&(z=0),n.clientIp&&(t.clientIp=n.clientIp),function(e){se(e,"mrulesClientId","mrulesTime")&&C.trigger("rulesChanged")}(n),function(e){se(e,"mvaluesClientId","mvaluesTime")&&C.trigger("valuesChanged")}(n),R.forEach((function(e){e(n)}));var i=n.log.length,a=n.svrLog.length;j=n.plugins||{};var c,d=B,u=q,p=W,h=G,m=V,v=[];g||Object.keys(j).forEach((function(e){var t=e.slice(0,-1);if(!U[t]){var n=j[e];v.push({mtime:n.mtime,priority:n.priority,_key:e,plugin:t,reqTab:n.reqTab,resTab:n.resTab,tab:n.tab,comTab:n.comTab,toolTab:n.toolTab})}})),v.sort(y.comparePlugin),B=[],q=[],W=[],G=[],V=[],v.forEach((function(e){var t=e.reqTab,n=e.resTab,r=e.tab,o=e.toolTab,i=e.comTab,a=e.plugin;t&&(t.plugin=a,B.push(t)),n&&(n.plugin=a,q.push(n)),r&&(r.plugin=a,W.push(r)),i&&(i.plugin=a,G.push(i)),o&&(o.plugin=a,V.push(o))})),le(B,d,"reqTabsChange"),le(q,u,"resTabsChange"),le(W,p,"tabsChange"),le(G,h,"comTabsChange"),le(V,m,"toolTabsChange"),U=n.disabledPlugins||{},g=n.disabledAllPlugins,(i||a)&&(i&&(O.push.apply(O,n.log),D=n.log[i-1].id),a&&(I.push.apply(I,n.svrLog),L=n.svrLog[a-1].id),_.forEach((function(e){e(O,I)}))),n.lastLogId&&(D=n.lastLogId),n.lastSvrLogId&&(L=n.lastSvrLogId);var w=(n=n.data).frames&&n.frames.length;if(w?(k.lastFrameId=n.frames[w-1].frameId,P.push.apply(P,n.frames)):n.lastFrameId&&(k.lastFrameId=n.lastFrameId),x){var S=n.socketStatus;S?(k.closed=void 0,S.sendStatus>-1&&(c=k.sendStatus!==S.sendStatus,k.sendStatus=S.sendStatus),S.receiveStatus>-1&&(c=c||k.receiveStatus!==S.receiveStatus,k.receiveStatus=S.receiveStatus)):k.closed||(c=!0,k.closed=!0)}n.lastId&&(s=n.lastId),n.endId&&(l=n.endId);var H=n.tunnelIps||"";if(!n.ids.length&&!n.newIds.length||A.clearNetwork){var K;(c||w)&&N.forEach((function(e){e()})),Object.keys(H).length&&(M.forEach((function(e){var t=H[e.id];t&&(delete e.reqPlugin,e.realIp=t,K=!0)})),K&&C.trigger("updateUI"))}else{var Y=n.newIds;if(n=n.data,M.forEach((function(e){var t=n[e.id];t?(b.extend(e,t),fe(e)):e.lost=!0;var r=H[e.id];r&&(delete e.reqPlugin,e.realIp=r)})),Y.length){var $=J(),Q=$.disabledExcludeText?null:X($.excludeText),ee=$.disabledFilterText?null:X($.filterText);t.curNewIdList=Y.filter((function(e){var t=n[e];if(t&&(!Q||!te(t,Q))&&(!ee||te(t,ee)))return fe(t),M.push(t),!0}))}E.forEach((function(e){e(A)}))}}}))}()),"data"==e?"function"==typeof n&&(E.push(n),n(A)):"serverInfo"==e?"function"==typeof n&&T.push(n):"log"==e?"function"==typeof n&&(_.push(n),n(O,I)):"plugins"===e||"settings"===e||"rules"===e?"function"==typeof n&&R.push(n):"framesUpdate"==e&&"function"==typeof n&&N.push(n)},t.networkModal=A,t.stopNetworkRecord=function(e){!e&&t.pauseRefresh?A.clearNetwork=!1:A.clearNetwork=!e,t.pauseRefresh=!1,t.stopRefresh=e},t.pauseNetworkRecord=function(){A.clearNetwork=!1,t.pauseRefresh=!0,t.stopRefresh=!0},t.pauseConsoleRecord=function(){t.stopConsoleRefresh=!1,t.pauseConsoleRefresh=!0},t.stopConsoleRecord=function(e){t.pauseConsoleRefresh=!1,t.stopConsoleRefresh=e},t.pauseServerLogRecord=function(){t.stopServerLogRefresh=!1,t.pauseServerLogRefresh=!0},t.stopServerLogRecord=function(e){t.pauseServerLogRefresh=!1,t.stopServerLogRefresh=e},t.getPlugin=function(e){if(!g&&!U[e.slice(0,-1)])return j[e]},t.getNetworkMenus=function(){return be("networkMenus")},t.getRulesMenus=function(){return be("rulesMenus")},t.getValuesMenus=function(){return be("valuesMenus")}},68338:(e,t,n)=>{n(81132),n(46486);var r=n(19755),o=n(57588),i=n(25927),a=n(73061),s=n(26027),l=n(21522),c=n(90440),d=n(10047),u=n(2183),p=o.createClass({displayName:"ReqData",getInitialState:function(){return{tabs:[{name:"Overview",icon:"eye-open"},{name:"Inspectors",icon:"search"},{name:"Timeline",icon:"time"},{name:"Composer",icon:"edit"},{name:"Tools",icon:"wrench"}],initedOverview:!1,initedInspectors:!1,initedFrames:!1,initedTimeline:!1,initedComposer:!1,initedTools:!1}},componentDidMount:function(){if(!this.props.data){var e,t=this,n=t.state.tabs,r=function(){t.setState({})};i.on("showOverview",(function(){i.trigger("overviewScrollTop"),t.toggleTab(n[0])})).on("showInspectors",(function(){t.toggleTab(n[1])})).on("showTimeline",(function(){t.toggleTab(n[2])})).on("showLog",(function(){t.toggleTab(n[4])})).on("composer",(function(e,n){var r=t.props.modal;t.showComposer(n||r&&r.getActive())})).on("networkStateChange",(function(){clearTimeout(e),e=setTimeout(r,100)})).on("toggleDetailTab",(function(){var e=t.state.tab;e===n[0]?t.toggleTab(n[1]):e===n[1]?t.toggleTab(n[2]):t.toggleTab(n[0])}))}},showComposer:function(e){e&&(this.state.activeItem=e),this.toggleTab(this.state.tabs[3],(function(){e&&i.trigger("setComposer")}))},onDragEnter:function(e){-1!=e.dataTransfer.types.indexOf("reqdataid")&&(this.showComposer(),e.preventDefault())},onDrop:function(e){var t=this.props.modal,n=e.dataTransfer.getData("reqDataId"),r=t&&t.list;if(i.trigger("hideMaskIframe"),n&&r)for(var o=0,a=r.length;o.fill").addClass("hide"),n.removeClass("hide");var i=o.find(">.w-tabs-sm>button");i.removeClass("active"),i.eq(1).addClass("active")}}this.selectTab(e),this.setState({tab:e},t)},selectTab:function(e){this.state.tabs.forEach((function(e){e.active=!1})),e.active=!0,this.state.tab=e,this.state["inited"+e.name]=!0},render:function(){var e,t,n=this.props.modal,r=this.props.data,i=this.state.tabs,p=!r&&n&&n.getSelectedList();p&&p.length>1?(t={req:{size:0,unzipSize:0,headers:{}},res:{size:0,unzipSize:0,headers:{}}},p.forEach((function(e){(null==t.startTime||t.startTime>e.startTime)&&(t.startTime=e.startTime),(null==t.endTime||t.endTime0&&(t.req.size+=n.size,t.req.unzipSize+=null==n.unzipSize?n.size:n.unzipSize);var r=e.res;r.size>0&&(t.res.size+=r.size,t.res.unzipSize+=null==r.unzipSize?r.size:r.unzipSize)}))):r?t=e=r:(t=e=n&&n.getActive(),e&&!e.hide||(t=e=p&&p[0]));var h=this.state.tab;!h&&t&&(h=i[0],i.forEach((function(e){e.active=!1})),this.selectTab(h));var f=h&&h.name,m=e&&e.frames,g=this.props.dockToBottom;return o.createElement("div",{className:"fill orient-vertical-box w-detail"+(g?" w-detail-bottom":""),onDragEnter:this.onDragEnter,onDrop:this.onDrop},o.createElement(a,{dockBtn:o.createElement("button",{onClick:this.props.onDockChange,className:"w-dock-btn",title:"Dock to "+(g?"right":"bottom")+" (F12)"},o.createElement("span",{className:"glyphicon glyphicon-menu-"+(g?"right":"down")+(r?" hide":"")})),onDoubleClick:this.onDoubleClick,onClick:this.toggleTab,tabs:i}),this.state.initedOverview?o.createElement(s,{modal:t,hide:f!=i[0].name}):null,this.state.initedInspectors?o.createElement(l,{modal:e,frames:m,hide:f!=i[1].name}):null,this.state.initedTimeline?o.createElement(c,{data:r,modal:n,hide:f!=i[2].name}):null,this.state.initedComposer?o.createElement(d,{modal:this.state.activeItem,hide:f!=i[3].name}):null,this.state.initedTools?o.createElement(u,{hide:f!=i[4].name}):null)}});e.exports=p},90701:(e,t,n)=>{var r=window.jQuery=n(19755),o=n(57588),i=n(73935),a=o.createClass({displayName:"Dialog",getInitialState:function(){return{}},componentDidMount:function(){this.container=r(document.createElement("div")),this.container.addClass("modal fade"+(this.props.wstyle?" "+this.props.wstyle:"")),document.body.appendChild(this.container[0]),this.componentDidUpdate(),"function"==typeof this.props.customRef&&this.props.customRef(this),"function"==typeof this.props.onClose&&this.container.on("hidden.bs.modal",this.props.onClose)},componentDidUpdate:function(){i.unstable_renderSubtreeIntoContainer(this,this.getDialogElement(),this.container[0])},getDialogElement:function(){var e,t=this.props,n=t.wclassName;return t.width>0&&((e=e||{}).width=t.width),o.createElement("div",{style:e,className:"modal-dialog"+(n?" "+n:"")},o.createElement("div",{className:"modal-content"},this.props.children))},componentWillUnmount:function(){i.unmountComponentAtNode(this.container[0]),document.body.removeChild(this.container[0])},show:function(){this.isVisible()||this.container.modal(this.props.disableBackdrop?{show:!0,backdrop:!1}:"show")},isVisible:function(){return this.container.is(":visible")},hide:function(){this.container.modal("hide")},destroy:function(){this.hide(),this.container&&this.componentWillUnmount()},render:function(){return null}});e.exports=a},22167:(e,t,n)=>{n(81132),n(177);var r=n(19755),o=n(57588),i=n(73935),a=n(43278),s={display:"none"};a.addDragEvent(".w-divider",(function(e,t,n){var r=(e=e.parent()).parent(),o=!r.hasClass("box"),i=e.hasClass("w-divider-right"),a=o?e[0].offsetHeight-(i?n:-n):e[0].offsetWidth-(i?t:-t),s=r[0][o?"offsetHeight":"offsetWidth"];e[o?"height":"width"](Math.min(s-5,Math.max(5,a)))}));var l=o.createClass({displayName:"Divider",componentDidMount:function(){this.reset()},triggerDOMReady:function(){this.__inited||(this.__inited=!0,this.props.onDOMReady&&this.props.onDOMReady())},reset:function(){var e=this,t=i.findDOMNode(e.refs.divider),n=a.getBoolean(e.props.vertical),o=n?"height":"width",s=r(t),l=s.children(".w-divider-left"),c=s.children(".w-divider-right");if(l.add(c).css({height:"auto",width:"auto"}),e._leftWidth>0)return l[o](e._leftWidth),void e.triggerDOMReady();var d=parseInt(e.props.rightWidth,10);d>0?(c[o](Math.max(d,5)),e.triggerDOMReady()):setTimeout((function(){d=(n?t.offsetHeight:t.offsetWidth)/2,c[o](Math.max(d,5)),e.triggerDOMReady()}),10)},render:function(){var e=a.getBoolean(this.props.vertical),t=o.createElement("div",{className:"w-divider"}),n=this.props.hideLeft,r=this.props.hideRight,i=parseInt(this.props.leftWidth,10);i>0?this._leftWidth=i:i=0;var l=i||n;return o.createElement("div",{ref:"divider",className:(e?"orient-vertical-box":"box")+" fill w-divider-con "+(this.props.className||"")+(a.getBoolean(this.props.hide)?" hide":"")},o.createElement("div",{style:n?s:void 0,className:(i?"":"fill ")+"w-divider-left orient-vertical-box "+(this.props.leftClassName||"")},i&&!r?t:null,this.props.children[0]),o.createElement("div",{style:r?s:void 0,className:(l?"fill ":"")+"w-divider-right orient-vertical-box "+(this.props.rightClassName||"")},l?null:t,this.props.children[1]))}});e.exports=l},27174:(e,t,n)=>{n(81132);var r=n(57588),o=n(90701),i=r.createClass({displayName:"DNSDialog",getInitialState:function(){return{servers:""}},show:function(e){if(e&&e.dns){this._hideDialog=!1;var t=e.dns;e.doh||(t=e.dns.split(",").map((function(e,t){return"DNS Server"+(t+1)+": "+e})).join("\n")),this.setState({ipv6:e.r6,useDefault:e.df,servers:t,doh:e.doh}),this.refs.dnsServersDialog.show()}},hide:function(){this.refs.dnsServersDialog.hide(),this._hideDialog=!0},shouldComponentUpdate:function(){return!1===this._hideDialog},render:function(){var e,t=this.state;return e=t.doh?"Resolve IP address from follow URL:":"Resolve "+(t.ipv6?"IPv6":"IPv4")+" address from follow DNS servers"+(t.useDefault?" first":"")+":",r.createElement(o,{ref:"dnsServersDialog",wstyle:"w-dns-servers-dialog"},r.createElement("div",{className:"modal-header"},e,r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×"))),r.createElement("pre",{className:"modal-body"},t.servers),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button","data-dismiss":"modal",className:"btn btn-primary w-copy-text-with-tips","data-clipboard-text":t.servers},"Copy"),r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")))}});e.exports=i},23182:(e,t,n)=>{n(96978);var r=n(57588),o=n(43278),i=r.createClass({displayName:"DropDown",getInitialState:function(){return{}},onChange:function(e){var t=this.props.onChange;t&&t(e),null==this.props.value&&this.setState({selectedOption:e})},onMouseEnter:function(){var e=this.props.onBeforeShow;e&&e(),this.setState({hover:!0})},onMouseLeave:function(){this.setState({hover:!1})},getSelectedOption:function(){var e=this.props,t=e.value;if(null!=t)return o.findArray(e.options,(function(e){return e===t||e.value===t}))},render:function(){var e=this,t=e.props.help,n=e.props.options||[],o=n[0]||{},i=e.props.disabled,a=this.getSelectedOption()||e.state.selectedOption||o;return r.createElement("div",{className:"dropdown w-dropdown",onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},r.createElement("div",{style:{color:a===o?void 0:a.color||"red"},title:a.text,className:"dropdown-toggle w-dropdown-text"+(i?" w-disabled":"")},a.icon?r.createElement("span",{className:"glyphicon glyphicon-"+a.icon}):void 0,a.text,r.createElement("span",{className:"caret"})),r.createElement("ul",{style:{display:!i&&e.state.hover?"block":"none",padding:t?void 0:0},className:"dropdown-menu"},n.map((function(t){return r.createElement("li",{key:t.value,title:t.text,"data-value":t.value,onClick:function(){e.onMouseLeave(),t!==a&&e.onChange(t)}},t.icon?r.createElement("span",{className:"glyphicon glyphicon-"+t.icon}):void 0,t.text)})),t?r.createElement("li",{role:"separator",className:"divider"}):void 0,t?r.createElement("li",{style:{padding:0}},r.createElement("a",{href:t,target:"_blank"},"Help")):void 0))}});e.exports=i},75525:(e,t,n)=>{n(81132);var r=n(57588),o=n(90701),i=r.createClass({displayName:"EditorDialog",getInitialState:function(){return{}},show:function(e){this._hideDialog=!1,this.setState(e),this.refs.editorDialog.show()},hide:function(){this.refs.editorDialog.hide(),this._hideDialog=!0},onChange:function(e){this.setState({value:e.target.value})},shouldComponentUpdate:function(){return!1===this._hideDialog},render:function(){var e=this.state,t=e.value;return r.createElement(o,{ref:"editorDialog",wstyle:"w-editor-dialog"},r.createElement("div",{className:"modal-header"},"Edit the copied text",r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×"))),r.createElement("div",{className:"modal-body"},r.createElement("textarea",{onChange:this.onChange,value:t})),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button","data-dismiss":"modal",className:"btn btn-primary w-copy-text-with-tips","data-clipboard-text":e.value,disabled:!t},"Copy"),r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")))}});e.exports=i},15097:(e,t,n)=>{n(81132),n(47399);var r=n(57588),o=r.createClass({displayName:"EditorSettings",render:function(){return r.createElement("div",{className:"w-editor-settings"},r.createElement("p",null,r.createElement("label",null,r.createElement("span",{className:"w-label"},"Theme:"),r.createElement("select",{value:this.props.theme,onChange:this.props.onThemeChange,className:"form-control"},r.createElement("option",{value:"default"},"default"),r.createElement("option",{value:"ambiance"},"ambiance"),r.createElement("option",{value:"blackboard"},"blackboard"),r.createElement("option",{value:"cobalt"},"cobalt"),r.createElement("option",{value:"eclipse"},"eclipse"),r.createElement("option",{value:"elegant"},"elegant"),r.createElement("option",{value:"erlang-dark"},"erlang-dark"),r.createElement("option",{value:"lesser-dark"},"lesser-dark"),r.createElement("option",{value:"midnight"},"midnight"),r.createElement("option",{value:"monokai"},"monokai"),r.createElement("option",{value:"neat"},"neat"),r.createElement("option",{value:"night"},"night"),r.createElement("option",{value:"rubyblue"},"rubyblue"),r.createElement("option",{value:"solarized dark"},"solarized dark"),r.createElement("option",{value:"solarized light"},"solarized light"),r.createElement("option",{value:"twilight"},"twilight"),r.createElement("option",{value:"vibrant-ink"},"vibrant-ink"),r.createElement("option",{value:"xq-dark"},"xq-dark"),r.createElement("option",{value:"xq-light"},"xq-light")))),r.createElement("p",null,r.createElement("label",null,r.createElement("span",{className:"w-label"},"Font size:"),r.createElement("select",{value:this.props.fontSize,onChange:this.props.onFontSizeChange,className:"form-control"},r.createElement("option",{value:"13px"},"13px"),r.createElement("option",{value:"14px"},"14px"),r.createElement("option",{value:"16px"},"16px"),r.createElement("option",{value:"18px"},"18px"),r.createElement("option",{value:"20px"},"20px"),r.createElement("option",{value:"22px"},"22px"),r.createElement("option",{value:"24px"},"24px"),r.createElement("option",{value:"26px"},"26px"),r.createElement("option",{value:"28px"},"28px"),r.createElement("option",{value:"30px"},"30px"),r.createElement("option",{value:"32px"},"32px"),r.createElement("option",{value:"34px"},"34px"),r.createElement("option",{value:"36px"},"36px")))),r.createElement("p",{className:"w-editor-settings-box"},r.createElement("label",null,r.createElement("input",{checked:this.props.lineNumbers,onChange:this.props.onLineNumberChange,type:"checkbox"})," ","Show line number")),r.createElement("p",{className:"w-editor-settings-box"},r.createElement("label",null,r.createElement("input",{checked:this.props.lineWrapping,onChange:this.props.onLineWrappingChange,type:"checkbox"})," ","Auto line wrapping")))}});e.exports=o},3297:(e,t,n)=>{n(91380),n(33443),n(50900),n(43122),n(23992),n(37050),n(95505),n(41842),n(71044),n(66550),n(9316),n(48012),n(95557),n(69039),n(87289),n(78819),n(73531),n(8428),n(97236),n(9883),n(72138),n(34796),n(81573);var r=n(19755),o=n(57588),i=n(73935),a=n(4631),s=n(10285),l=["CodeMirror-linenumbers","CodeMirror-foldgutter","CodeMirror-lint-markers"];n(96876),n(36629),n(29589),n(16531),n(49047),n(55292),n(32095),n(81699),n(65379),n(58977),n(88657),n(89700),n(35688),n(9898);var c=n(57404),d=n(25927),u=["default","neat","elegant","erlang-dark","night","monokai","cobalt","eclipse","rubyblue","lesser-dark","xq-dark","xq-light","ambiance","blackboard","vibrant-ink","solarized dark","solarized light","twilight","midnight"];n(22592);var p=/^(\s*)#\s*/,h=/^(\s*)\/\/+\s?/,f=/\S/,m=["javascript","htmlmixed","css"],g=o.createClass({displayName:"Editor",getThemes:function(){return u},setMode:function(e){/^(javascript|css|xml|rules|markdown)$/i.test(e)?e=RegExp.$1.toLowerCase():/^(js|pac|jsx|json)$/i.test(e)?e="javascript":/^(html|wtpl)$/i.test(e)?e="htmlmixed":/^md$/i.test(e)&&(e="markdown"),this._mode!==e&&(this._mode=e,this._editor&&this._editor.setOption("mode",e),this._foldGutter&&(this._editor.setOption("foldGutter",!1),this._editor.setOption("foldGutter",!0)),this.setFoldGutter(this.props.foldGutter))},setValue:function(e){e=this._value=null==e?"":e+"",this._editor&&this._editor.getValue()!=e&&this._editor.setValue(e)},getValue:function(){return this._editor?"":this._editor.getValue()},setTheme:function(e){e=this._theme=e||"cobalt",this._editor&&this._editor.setOption("theme",e)},setFontSize:function(e){e=this._fontSize=e||"16px",this._editor&&(i.findDOMNode(this.refs.editor).style.fontSize=e)},showLineNumber:function(e){e=this._showLineNumber=!1!==e,this._editor&&this._editor.setOption("lineNumbers",e)},showLineWrapping:function(e){e=this._showLineNumber=!1!==e,this._editor&&this._editor.setOption("lineWrapping",e)},setReadOnly:function(e){e=this._readOnly=!1!==e&&"false"!==e,this._editor&&this._editor.setOption("readOnly",e)},handleKeyUp:function(e,t){clearTimeout(this._timer);var n=8===t.keyCode;if(n||13===t.keyCode){var o=this._editor;this._timer=setTimeout((function(){var e;e=".CodeMirror-hints",(document.querySelector?document.querySelector(e):r(e).length)||(o._byDelete=!0,o._byEnter=!n,o.execCommand("autocomplete"))}),300)}},setAutoComplete:function(){var e=this.isRulesEditor(),t=e&&!this.props.readOnly?c.getExtraKeys():{};/\(Macintosh;/i.test(window.navigator.userAgent)||(t["Ctrl-F"]="findPersistent"),t["Cmd-F"]="findPersistent";var n=this._editor;n.setOption("extraKeys",t),n.off("keyup",this.handleKeyUp),e&&n.on("keyup",this.handleKeyUp)},setFoldGutter:function(e){"rules"!==this.props.mode&&(e=!1!==e&&-1!==m.indexOf(this._mode),this._foldGutter!==e&&this._editor&&(this._foldGutter=e,this._editor.setOption("foldGutter",e),this._editor.setOption("gutters",e?l:[])))},isRulesEditor:function(){return"rules"===this.props.mode||"rules"===this._mode},componentDidMount:function(){var e,t,n=this,o=i.findDOMNode(n.refs.editor),s=n._editor=a(o);function l(){var t=o.offsetHeight||0;t<10?(e&&clearTimeout(e),e=setTimeout(l,300)):s.setSize(null,t)}d.on("updatePlugins",(function(){n.isRulesEditor()&&(t&&clearTimeout(t),n.props.hide?(t=null,n._waitingUpdate=!0):t=setTimeout((function(){t=null,n.isRulesEditor()&&(n.props.hide?n._waitingUpdate=!0:(n._waitingUpdate=!1,s.setOption("mode",""),s.setOption("mode","rules")))}),600))})),s.on("change",(function(e){"function"==typeof n.props.onChange&&s.getValue()!==(n.props.value||"")&&n.props.onChange.call(n,e)})),s.on("mousedown",(function(e,t){if(t.ctrlKey||t.metaKey){var n=r(t.target);(n.hasClass("cm-js-type")||n.hasClass("cm-js-at")||n.hasClass("cm-js-http-url"))&&t.preventDefault()}})),n._init(!0),r(o).find(".CodeMirror").addClass("fill"),l(),r(window).on("resize",(function(){e&&clearTimeout(e),e=null,e=setTimeout(l,30)}));var u=function(e,t){return Math.max(0,e+t)};r(o).on("dblclick",".CodeMirror-linenumber",(function(e){var t=parseInt(r(e.target).text(),10);if(t>0){var o=t-1,i=s.getLine(o);if(i&&i.trim()){var a=n.isRulesEditor(),l=a?p:h,c=i;i=l.test(i)?i.replace(l,"$1"):(a?"#":"//")+(/^\s/.test(i)?"":" ")+i;var f,m=s.listSelections(),g=m&&m.length,b=i.length-c.length;if(m&&m.length)for(var v=0;vp.line&&(o=c,c=p,p=o);for(var b=c.line;b<=p.line;b++){var v=s.getLine(b);u.test(v)?n=!0:f.test(v)&&(r=!0),h.push(v)}(d=!n&&!r)||(r?(i=h.length-1,a=h[0],l=h[i],h=h.map((function(e){return f.test(e)?m&&u.test(e)?e.replace(u,"$1"):(t?"# ":"// ")+e:e}))):(a=h[0],l=h[i=h.length-1],h=h.map((function(e){return e.replace(u,"$1")}))),0!=c.ch&&(c.ch+=h[0].length-a.length,c.ch<0&&(c.ch=0)),0!=p.ch&&p!=c&&(p.ch+=h[i].length-l.length,p.ch<0&&(p.ch=0)),o?(s.replaceRange(h.join("\n")+"\n",{line:p.line+1,ch:0},{line:c.line,ch:0}),g.push({anchor:p,head:c})):(s.replaceRange(h.join("\n")+"\n",{line:c.line,ch:0},{line:p.line+1,ch:0}),g.push({anchor:c,head:p})))})),d||s.setSelections(g)}}}))},_init:function(e){var t=this,n=t.props.mode;t._waitingUpdate&&"rules"===n&&(t._editor.setOption("mode",""),t._mode=""),t.setMode(n),t._waitingUpdate=!1;var r=t.props.value;if(e&&r&&r.length>16384){var o=s.info("Loading...");t.timer=setTimeout((function(){o.hide(),t.timer=null,t.setValue(t.props.value)}),500)}else t.timer||t.setValue(r);t.setTheme(t.props.theme),t.setFontSize(t.props.fontSize),t.setTheme(t.props.theme),t.showLineNumber(t.props.lineNumbers||!1),t.showLineWrapping(t.props.lineWrapping||!1),t.setReadOnly(t.props.readOnly||!1),t.setAutoComplete(),t.setFoldGutter(t.props.foldGutter)},componentDidUpdate:function(){this._init()},render:function(){return o.createElement("div",{tabIndex:"0",ref:"editor",className:"fill orient-vertical-box w-list-content"})}});e.exports=g},25927:(e,t,n)=>{var r=n(19755);e.exports=r({})},77063:(e,t,n)=>{var r=n(57588),o=n(43278),i=1024,a=r.createClass({displayName:"ExpandCollapse",getInitialState:function(){return{expandLength:i}},componentWillReceiveProps:function(e){e.text===this.props.text&&this.props.wStyle===e.wStyle||(this.state.expandLength=i)},onCollapse:function(){this.setState({expandLength:i})},onExpand:function(){this.setState({expandLength:this.state.expandLength+32768})},viewAll:function(){o.openEditor(this.props.text)},render:function(){var e=this.props.text,t=e&&e.length||0;if(t<2100)return r.createElement("span",{style:this.wStyle},e);var n=this.state.expandLength,o=n>=t,a=!o&&n>98304;return r.createElement("span",{style:this.wStyle},o?e:e.substring(0,n)+"...",a?r.createElement("button",{onClick:this.viewAll,className:"w-expand-collapse"},"ViewAll"):o?void 0:r.createElement("button",{onClick:this.onExpand,className:"w-expand-collapse"},"Expand"),n>i?r.createElement("button",{onClick:this.onCollapse,className:"w-expand-collapse"},"Collapse"):void 0)}});e.exports=a},8757:(e,t,n)=>{n(81132),n(72004);var r=n(57588),o=n(73935),i=n(90701),a=n(43278),s=n(25927),l=n(10285),c=n(50897),d=n(90339);function u(e,t){l.error(e),t.select(),t.focus()}function p(e){return e.map((function(e){return e.date=a.toLocaleString(new Date(e.date)),e}))}var h=r.createClass({displayName:"FilesDialog",getInitialState:function(){return{files:p(c.getUploadFiles())}},updateFiles:function(e){e&&this.setState({files:p(e)})},show:function(){this.refs.filesDialog.show()},hide:function(){this.refs.filesDialog.hide()},showNameInput:function(){if(this.checkCount()){var e=this.refs;e.filenameDialog.show();var t=o.findDOMNode(e.filename);t.value=this.params.name||"",setTimeout((function(){!function(e){e.select(),e.focus()}(t)}),500),this.setState({})}},componentDidMount:function(){var e=this;s.on("uploadFile",(function(t,n){e.submit(n)})),s.on("showFilenameInput",(function(t,n){e.params=n,e.showNameInput()})),s.on("download",(function(t,n){e.startDownload(n)}))},checkParams:function(){var e=o.findDOMNode(this.refs.filename),t=e.value.trim();if(t)if(t.length>60)u("The filename length cannot exceed 60.",e);else{if(!/[\\/:*?"<>|\s]/.test(t))return this.params.name=t,!0;u('The filename cannot contain \\/:*?"<>| and spaces.',e)}else u("The filename cannot be empty.",e)},checkCount:function(){return!(this.state.files.length>=60&&(this.show(),setTimeout((function(){d.alert("The number of uploaded files cannot exceed 60,\ndelete the unnecessary files first.")}),10),1))},onConfirm:function(){if(!this.pending&&this.checkParams()&&this.checkCount()){var e=this;e.pending=!0;var t=e.params.name;c.values.checkFile({name:t,count:e.state.files.length},(function(n,r){if(e.pending=!1,!n)return a.showSystemError(r);if(e.updateFiles(n.files),n.isMax)return d.alert("The number of uploaded files cannot exceed 60,\ndelete the unnecessary files first.");var o=function(t){t&&(e.pending=!0,c.values.upload(JSON.stringify(e.params),(function(t,n){return e.pending=!1,t?0!==t.ec?d.alert(t.em):(e.params="",e.refs.filenameDialog.hide(),e.updateFiles(t.files),void e.show()):a.showSystemError(n)}),{contentType:"application/json",processData:!1}))};if(!n.exists)return o(!0);d.confirm("The name `"+t+"` already exists, whether to overwrite it?",o)}))}},startDownload:function(e){o.findDOMNode(this.refs.name).value=e.name,o.findDOMNode(this.refs.headers).value=e.headers||"",o.findDOMNode(this.refs.content).value=e.base64||"",o.findDOMNode(this.refs.downloadForm).submit()},download:function(e){this.checkParams()&&this.startDownload(this.params)},submit:function(e){if(!e.size)return d.alert("The file size cannot be empty.");if(e.size>20971520)return d.alert("The file size cannot exceed 20m.");var t=this,n={};a.readFileAsBase64(e,(function(r){n.base64=r,o.findDOMNode(t.refs.file).value="",n.name=(e.name||"").replace(/[\\/:*?"<>|\s]/g,""),t.params=n,t.showNameInput()}))},uploadFile:function(){var e=o.findDOMNode(this.refs.uploadFileForm);this.submit(new FormData(e).get("file"))},selectFile:function(){this.checkCount()&&o.findDOMNode(this.refs.file).click()},remove:function(e){var t=e.target.getAttribute("data-name"),n=this;d.confirm("Are you sure to delete '"+t+"'.",(function(e){e&&c.values.removeFile({name:t},(function(e,t){return e?0!==e.ec?d.alert(e.em):void n.updateFiles(e.files):a.showSystemError(t)}))}))},downloadFile:function(e){var t=e.target.getAttribute("data-name");window.open("cgi-bin/values/download?name="+encodeURIComponent(t))},render:function(){var e=this,t=(e.params||"").title,n=e.state.files;return r.createElement(i,{wstyle:"w-files-dialog",ref:"filesDialog"},r.createElement("div",{className:"modal-body"},r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×")),r.createElement("h4",null,r.createElement("a",{className:"w-help-menu",title:"Click here to see help",href:"https://avwo.github.io/whistle/webui/files.html",target:"_blank"},r.createElement("span",{className:"glyphicon glyphicon-question-sign"})),"System Files"),r.createElement("button",{className:"w-files-upload-btn",onClick:e.selectFile},r.createElement("span",{className:"glyphicon glyphicon-arrow-up"}),"Drop file here or click to browse (size <= 20m)"),r.createElement("table",{className:"table",style:{display:n.length?void 0:"none"}},r.createElement("thead",null,r.createElement("th",{className:"w-files-order"},"#"),r.createElement("th",{className:"w-files-date"},"Date"),r.createElement("th",{className:"w-files-path"},"Path"),r.createElement("th",{className:"w-files-operation"},"Operation")),r.createElement("tbody",null,n.map((function(t,n){var o="/$whistle/"+t.name;return r.createElement("tr",{key:t.name},r.createElement("th",{className:"w-files-order"},n+1),r.createElement("td",{className:"w-files-date"},t.date),r.createElement("td",{className:"w-files-path"},o),r.createElement("td",{className:"w-files-operation"},r.createElement("a",{className:"w-copy-text-with-tips","data-clipboard-text":o},"Copy path"),r.createElement("a",{"data-name":t.name,onClick:e.downloadFile},"Download"),r.createElement("a",{"data-name":t.name,onClick:e.remove},"Delete")))}))))),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")),r.createElement("form",{ref:"uploadFileForm",encType:"multipart/form-data",style:{display:"none"}},r.createElement("input",{ref:"file",onChange:this.uploadFile,name:"file",type:"file"})),r.createElement(i,{ref:"filenameDialog",wstyle:"w-files-info-dialog"},r.createElement("div",{className:"modal-header"},t||"Modify the filename",r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×"))),r.createElement("div",{className:"modal-body"},r.createElement("label",{className:"w-files-name"},"Name:",r.createElement("input",{ref:"filename",maxLength:"60",placeholder:"Input the filename",type:"text",className:"form-control"}))),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-default",onClick:this.download},"Download"),r.createElement("button",{type:"button",className:"btn btn-primary",onClick:this.onConfirm},"Confirm"),r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close"))),r.createElement("form",{ref:"downloadForm",action:"cgi-bin/download",style:{display:"none"},method:"post",target:"downloadTargetFrame"},r.createElement("input",{ref:"name",name:"filename",type:"hidden"}),r.createElement("input",{ref:"type",name:"type",type:"hidden",value:"rawBase64"}),r.createElement("input",{ref:"headers",name:"headers",type:"hidden"}),r.createElement("input",{ref:"content",name:"content",type:"hidden"})))}}),f=r.createClass({displayName:"FilesDialogWrap",show:function(e){this.refs.filesDialog.show(e)},hide:function(){this.refs.filesDialog.hide()},shouldComponentUpdate:function(){return!1},render:function(){return r.createElement(h,{ref:"filesDialog"})}});e.exports=f},46612:(e,t,n)=>{var r=n(57588),o=n(50897),i=n(25927),a=r.createClass({displayName:"FilterBtn",getInitialState:function(){return{hasFilterText:!!o.filterIsEnabled()}},componentDidMount:function(){var e=this;i.on("filterChanged",(function(){!!o.filterIsEnabled()!==e.state.hasFilterText&&e.setState({hasFilterText:!!o.filterIsEnabled()})}))},render:function(){var e=this.props.hide,t=this.props.isNetwork&&this.state.hasFilterText?" w-menu-enable":"";return r.createElement("a",{onClick:this.props.onClick,className:"w-settings-menu"+t,style:{display:e?"none":""},draggable:"false"},r.createElement("span",{className:"glyphicon glyphicon-cog"}),"Settings")}});e.exports=a},44882:(e,t,n)=>{n(81132),n(6695);var r=n(43278),o=n(57588),i=n(73935),a=n(19755),s=n(32936),l=n(90339),c=128,d=o.createClass({displayName:"FilterInput",getInitialState:function(){var e=this.props.hintKey;if(this.allHintList=[],e)try{var t=JSON.parse(s.get(e));if(Array.isArray(t)){var n={};this.allHintList=t.map((function(e){return"string"==typeof e?e.substring(0,c):null})).filter((function(e){return!(!e||n[e]||(n[e]=1,0))})).slice(0,c)}}catch(e){}return{hintList:[]}},componentDidMount:function(){this.hintElem=a(i.findDOMNode(this.refs.hints))},addHint:function(){var e=this.state.filterText;if(e=e&&e.trim()){var t=this.allHintList,n=t.indexOf(e);-1!==n&&t.splice(n,1),t.length>c&&t.splice(0,1),t.push(e);try{s.set(this.props.hintKey,JSON.stringify(t))}catch(e){}}},filterHints:function(e){if(!(e=e&&e.trim()))return this.allHintList.slice(-12);var t=[],n=this.allHintList.indexOf(e);e=e.toLowerCase();for(var r=this.allHintList.length-1;r>=0;r--){var o=this.allHintList[r];if(n!==r&&-1!==o.toLowerCase().indexOf(e)&&(t.unshift(o),t.length>=12))return t}return t},onFilterChange:function(e){this.changeInput(e.target.value)},changeInput:function(e){var t=this;t.props.onChange&&t.props.onChange(e);var n=t.props.hintKey;n&&clearTimeout(t.timer),this.state.filterText=e,t.setState({hintList:this.filterHints(e)},(function(){n&&(t.timer=setTimeout(this.addHint,1e4))}))},onClick:function(e){this.changeInput(e.target.title),this.hideHints()},hideHints:function(){this.setState({hintList:null}),this.addHint()},showHints:function(){this.setState({hintList:this.filterHints(this.state.filterText)})},onFilterKeyDown:function(e){var t;if(27===e.keyCode)null===this.state.hintList?this.showHints():this.hideHints();else if(38===e.keyCode)t=this.hintElem.find(".w-active"),null===this.state.hintList&&this.showHints(),t.length&&(t.removeClass("w-active"),t=t.prev("li").addClass("w-active")),t.length||(t=this.hintElem.find("li:last")).addClass("w-active"),e.preventDefault();else if(40===e.keyCode)t=this.hintElem.find(".w-active"),null===this.state.hintList&&this.showHints(),t.length&&(t.removeClass("w-active"),t=t.next("li").addClass("w-active")),t.length||(t=this.hintElem.find("li:first")).addClass("w-active"),e.preventDefault();else if(13===e.keyCode){var n=(t=this.hintElem.find(".w-active")).attr("title");n&&(this.changeInput(n),this.hideHints())}else(e.ctrlKey||e.metaKey)&&(68==e.keyCode?(this.clearFilterText(),e.preventDefault(),e.stopPropagation()):88==e.keyCode&&e.stopPropagation());"function"==typeof this.props.onKeyDown&&this.props.onKeyDown(e)},clear:function(){var e=this;l.confirm("Confirm to clear history?",(function(t){t&&(s.set(e.props.hintKey,""),e.allHintList=[],e.hideHints())}))},clearFilterText:function(){this.props.onChange&&this.props.onChange("");var e=null;document.activeElement===i.findDOMNode(this.refs.input)&&(e=this.filterHints()),this.setState({filterText:"",hintList:e})},render:function(){var e=this,t=e.state.filterText||"",n=e.props.hintKey,i=e.state.hintList;return o.createElement("div",{className:"w-filter-con",style:e.props.wStyle},n?o.createElement("div",{className:"w-filter-hint",style:{display:i&&i.length?"":"none"},onMouseDown:r.preventBlur},o.createElement("div",{className:"w-filter-bar"},o.createElement("a",{onClick:this.clear},o.createElement("span",{className:"glyphicon glyphicon-trash"}),"Clear history"),o.createElement("span",{onClick:e.hideHints,"aria-hidden":"true"},"×")),o.createElement("ul",{ref:"hints"},i&&i.map((function(t){return o.createElement("li",{key:t,onClick:e.onClick,title:t},t)})))):void 0,o.createElement("input",{type:"text",ref:"input",value:t,onChange:e.onFilterChange,onKeyDown:e.onFilterKeyDown,onFocus:e.showHints,onDoubleClick:e.showHints,onBlur:e.hideHints,style:{background:t.trim()?"#000":void 0},className:"w-filter-input",maxLength:c,placeholder:"type filter text"}),o.createElement("button",{onMouseDown:r.preventBlur,onClick:e.clearFilterText,style:{display:e.state.filterText?"block":"none"},type:"button",className:"close",title:"Ctrl[Command]+D"},o.createElement("span",{"aria-hidden":"true"},"×")))}});e.exports=d},59497:(e,t,n)=>{var r=n(57588),o=n(73935),i=n(50897),a=n(43278),s=n(25927),l=n(10285),c=n(32936),d=n(90339),u=/^\s*(?:[\{{][\w\W]+[\}}]|\[[\w\W]+\])\s*$/,p=r.createClass({displayName:"FrameComposer",getInitialState:function(){return{isHexText:!!c.get("showHexTextFrame"),isCRLF:!!c.get("useCRLFrame")}},componentDidMount:function(){var e=this;e.dataField=o.findDOMNode(e.refs.uploadData),e.dataForm=o.findDOMNode(e.refs.uploadDataForm),s.on("composeFrame",(function(t,n){var r;n&&(r=e.state.isHexText?a.getHexText(a.getHex(n)):a.getBody(n,!0),e.setTextarea(r))})),s.on("replayFrame",(function(t,n){n&&(s.trigger("enableRecordFrame"),e.send({target:n.isClient?"server":"client",type:1==n.opcode?"text":"bin",base64:n.base64},(function(){s.trigger("autoRefreshFrames")})))}));var t=c.get("composeFrameData");this.setTextarea(String(t||""))},shouldComponentUpdate:function(e){var t=a.getBoolean(this.props.hide);return t!=a.getBoolean(e.hide)||!t},uploadTextToServer:function(){this.target="server",this.dataType="text",this.dataField.click()},uploadBinToServer:function(){this.target="server",this.dataType="bin",this.dataField.click()},uploadTextToClient:function(){this.target="client",this.dataType="text",this.dataField.click()},uploadBinToClient:function(){this.target="client",this.dataType="bin",this.dataField.click()},onFormChange:function(){this.uploadForm(new FormData(this.dataForm)),this.dataField.value=""},uploadForm:function(e){var t=e.get("uploadData");if(t.size>1049600)return d.alert("The file size cannot exceed 1m.");var n=this,r={target:n.target,type:n.dataType};a.readFileAsBase64(t,(function(e){r.base64=e,n.send(r),n.dataField.value=""}))},send:function(e,t){var n=this.props.data;n&&(e.reqId=n.id,s.trigger("enableRecordFrame"),i.socket.send(e,(function(e,n){return e?0!==e.ec?l.error("Server busy, try again later."):void(t&&t()):a.showSystemError(n)})))},onSend:function(e){var t=this.state.text,n=this;if(t&&!n.sendTimer){var r,o=e.target;if(this.state.isHexText){if(!1===(r=a.getBase64FromHexText(t)))return void d.alert("The hex text cannot be converted to binary data.\nPlease check the hex text or switch to plain text.");t=void 0}else this.state.isCRLF&&(t=t.replace(/\r\n|\r|\n/g,"\r\n"));var i={type:"A"===o.nodeName?"bin":"text",target:o.getAttribute("data-target")?"server":"client",text:t,base64:r};n.setState({}),n.sendTimer=setTimeout((function(){n.sendTimer=null,n.setState({})}),5e3),n.send(i,(function(){clearTimeout(n.sendTimer),n.sendTimer=null,s.trigger("autoRefreshFrames"),n.setState({})}))}},format:function(){var e=a.parseRawJson(this.state.text);e&&this.setState({isJSON:!0,text:JSON.stringify(e,null," ")})},setTextarea:function(e){this.setState({text:e,isJSON:u.test(e)}),clearTimeout(this.timer),this.timer=setTimeout((function(){c.set("composeFrameData",e)}),600)},onTextareaChange:function(e){this.setTextarea(e.target.value)},preventDefault:function(e){e.preventDefault()},onTypeChange:function(e){var t=e.target.checked;c.set("showHexTextFrame",t?1:""),this.setState({isHexText:t}),t&&!1===a.getBase64FromHexText(this.state.text,!0)&&l.error("The hex text cannot be converted to binary data.")},onCRLFChange:function(e){var t=e.target.checked;c.set("useCRLFrame",t?1:""),this.setState({isCRLF:t})},render:function(){var e=this.props.data||"";a.socketIsClosed(e);var t=this.state,n=t.isJSON,o=t.text||"",i=t.isHexText,s=t.isCRLF,l=e.closed,c=e.isHttps,d=c?{left:0}:void 0,u=c?{display:"none"}:void 0,p=l?"The connection is closed":void 0,h=l||this.sendTimer;return r.createElement("div",{onDrop:this.onDrop,className:"fill orient-vertical-box w-frames-composer"+(this.props.hide?" hide":"")},r.createElement("div",{className:"w-frames-composer-action"},r.createElement("label",{className:"w-frames-hex-data"+(i?" w-frames-checked":"")},r.createElement("input",{checked:i,onChange:this.onTypeChange,type:"checkbox"}),"HexText"),r.createElement("label",{className:"w-frames-crlf"+(i?" hide":"")+(s?" w-frames-checked":"")},r.createElement("input",{checked:s,onChangeCapture:this.onCRLFChange,type:"checkbox"}),"\\r\\n"),r.createElement("div",{className:"btn-group"},r.createElement("button",{disabled:h,title:p,onMouseDown:this.preventDefault,onClick:this.onSend,type:"button",className:"btn btn-default btn-sm"},r.createElement("span",{className:"glyphicon glyphicon-arrow-left"}),"Send to client"),r.createElement("button",{disabled:h,title:p,type:"button",className:"btn btn-default dropdown-toggle","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},r.createElement("span",{className:"caret"})),r.createElement("ul",{style:d,className:"dropdown-menu"+(l?" hide":"")},r.createElement("li",{style:u},r.createElement("a",{onClick:this.onSend},"Send binary data")),r.createElement("li",null,r.createElement("a",{onClick:this.uploadTextToClient},c?"Upload to client":"Upload text data")),r.createElement("li",{style:u},r.createElement("a",{onClick:this.uploadBinToClient},"Upload binary data")))),r.createElement("div",{className:"btn-group"},r.createElement("button",{disabled:h,title:p,onMouseDown:this.preventDefault,"data-target":"server",onClick:this.onSend,type:"button",className:"btn btn-default btn-sm"},r.createElement("span",{className:"glyphicon glyphicon-arrow-right"}),"Send to server"),r.createElement("button",{disabled:h,title:p,type:"button",className:"btn btn-default dropdown-toggle","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},r.createElement("span",{className:"caret"})),r.createElement("ul",{style:d,className:"dropdown-menu"+(l?" hide":"")},r.createElement("li",{style:u},r.createElement("a",{"data-target":"server",onClick:this.onSend},"Send binary data")),r.createElement("li",null,r.createElement("a",{onClick:this.uploadTextToServer},c?"Upload to server":"Upload text data")),r.createElement("li",{style:u},r.createElement("a",{onClick:this.uploadBinToServer},"Upload binary data")))),r.createElement("button",{disabled:!n,type:"button",title:"Format JSON",onClick:this.format,className:"btn btn-default w-format-json-btn"},"Format")),r.createElement("textarea",{style:{fontFamily:i?"monospace":void 0},maxLength:65536,value:o,onChange:this.onTextareaChange,placeholder:"Input the "+(i?"hex ":"")+"text",className:"fill"}),r.createElement("form",{ref:"uploadDataForm",method:"post",encType:"multipart/form-data",style:{display:"none"}},r.createElement("input",{ref:"uploadData",onChange:this.onFormChange,type:"file",name:"uploadData"})))}});e.exports=p},82700:(e,t,n)=>{var r=n(57588),o=n(73061),i=n(14412),a=n(6988),s=n(59497),l=n(43278),c=n(25927),d=n(97079),u=[{name:"Overview"},{name:"TextView"},{name:"JSONView"},{name:"HexView"},{name:"Composer"}];function p(e){return e.active}var h=r.createClass({displayName:"FrameClient",getInitialState:function(){return{}},showTab:function(e){u.forEach((function(e){e.active=!1})),this.selectBtn(u[e]),this.setState({})},componentDidMount:function(){var e=this;c.on("composeFrame",(function(t,n){n&&e.showTab(4)})),c.on("toggleFramesInspectors",(function(){var t=e.state.btn;u.forEach((function(e){e.active=!1})),t&&t!==u[0]?t===u[1]?e.onClickBtn(u[2]):t===u[2]?e.onClickBtn(u[3]):e.onClickBtn(u[0]):e.onClickBtn(u[1])}))},onDragEnter:function(e){-1!=e.dataTransfer.types.indexOf("framedataid")&&(this.showTab(4),e.preventDefault())},onDrop:function(e){var t=e.dataTransfer.getData("frameDataId");t&&c.trigger("composeFrameId",t)},onClickBtn:function(e){this.selectBtn(e),this.setState({})},selectBtn:function(e){e.active=!0,this.state.btn=e},render:function(){var e=this.state.btn;-1===u.indexOf(e)&&(e=l.findArray(u,p)||u[0],this.selectBtn(e));var t,n,c,h,f,m=this.props.frame;if(m){if(m.closed)f={Date:l.toLocaleString(new Date(parseInt(m.frameId,10)))};else{var g=m.length;f={Date:l.toLocaleString(new Date(parseInt(m.frameId,10))),Path:m.isClient?"Client -> Server":"Server -> Client",Opcode:m.opcode,Type:1==m.opcode?"Text":"Binary",Compressed:m.compressed?"Yes":"No",Mask:m.mask?"Yes":"No",Length:g>=1024?g+"("+Number(g/1024).toFixed(2)+"k)":g>=0?g:""}}t=l.getBody(m,!0),c=l.getHex(m),n=l.getJson(m,!0),h=m.base64}return h=h||"",r.createElement("div",{className:"fill orient-vertical-box w-frames-data"+(this.props.hide?" hide":""),onDragEnter:this.onDragEnter,onDrop:this.onDrop},r.createElement(o,{onClick:this.onClickBtn,btns:u}),r.createElement(d,{modal:f,hide:"Overview"!==e.name}),r.createElement(a,{className:"fill",base64:h,value:t,hide:"TextView"!==e.name}),r.createElement(i,{data:n,hide:"JSONView"!==e.name}),r.createElement(a,{className:"fill n-monospace",isHexView:"1",base64:h,value:c,hide:"HexView"!==e.name}),r.createElement(s,{data:this.props.data,hide:"Composer"!==e.name}))}});e.exports=h},23489:(e,t,n)=>{var r=n(57588),o=n(73935),i=n(19755),a=n(43278),s=n(44882),l=n(23182),c=n(50897),d=n(25927),u=n(21043),p=[{value:0,icon:"arrow-right",text:"Send"},{value:1,icon:"arrow-right",text:"Pause"},{value:2,icon:"arrow-right",text:"Ignore"}],h=[{value:0,icon:"arrow-left",text:"Receive"},{value:1,icon:"arrow-left",text:"Pause"},{value:2,icon:"arrow-left",text:"Ignore"}],f=r.createClass({displayName:"FrameList",getInitialState:function(){return{}},onFilterChange:function(e){var t=this;t.props.modal.search(e),clearTimeout(t.filterTimer),t.filterTimer=setTimeout((function(){t.filterTimer=null,t.setState({keyword:e.trim()})}),500)},componentDidMount:function(){var e=this;d.on("autoRefreshFrames",e.autoRefresh),d.on("composeFrameId",(function(t,n){var r=n&&e.props.modal,o=r&&r.list;if(o)for(var i=0,a=o.length;it.offsetHeight;return r&&n.update(),r},setContainer:function(e){this.container=o.findDOMNode(e)},setContent:function(e){this.content=o.findDOMNode(e)},handleAction:function(e){if("top"!==e){if("bottom"===e)return this.autoRefresh();var t="refresh"===e,n=this.props.reqData;if(n){if("pause"===e)return n.stopRecordFrames=!0,void(n.pauseRecordFrames=!0);n.pauseRecordFrames=!1,n.stopRecordFrames=!t}return t?this.autoRefresh():void 0}this.container.scrollTop=0},onDragStart:function(e){var t=i(e.target).closest("li").attr("data-id");t&&e.dataTransfer.setData("frameDataId",t)},render:function(){var e=this,t=e.props,n=this.state,o=t.reqData||{},i=t.onClickFrame,c=e.props.modal,d=n.keyword,f=c.getActive(),m=c.getList();return a.socketIsClosed(o),r.createElement("div",{className:"fill orient-vertical-box w-frames-list"},r.createElement(s,{onChange:e.onFilterChange}),r.createElement("div",{className:"w-frames-action",onMouseDown:a.preventBlur},r.createElement(u,{ref:"recordBtn",onClick:this.handleAction,disabledRecord:o.closed}),r.createElement("a",{onClick:e.clear,className:"w-remove-menu",draggable:"false"},r.createElement("span",{className:"glyphicon glyphicon-remove"}),"Clear"),r.createElement("a",{onClick:e.replay,className:"w-remove-menu"+(!f||o.closed?" w-disabled":""),draggable:"false"},r.createElement("span",{className:"glyphicon glyphicon-repeat"}),"Replay"),r.createElement("a",{onClick:e.compose,className:"w-remove-menu"+(f?"":" w-disabled"),draggable:"false"},r.createElement("span",{className:"glyphicon glyphicon-edit"}),"Compose"),r.createElement("a",{onClick:e.abort,className:"w-remove-menu"+(o.closed?" w-disabled":""),draggable:"false"},r.createElement("span",{className:"glyphicon glyphicon-ban-circle"}),"Abort"),r.createElement(l,{disabled:o.closed,value:o.sendStatus||0,onChange:e.onSendStatusChange,options:p}),r.createElement(l,{disabled:o.closed,value:o.receiveStatus||0,onChange:e.onReceiveStatusChange,options:h})),r.createElement("div",{tabIndex:"0",onKeyDown:this.onClear,style:{background:d?"#ffffe0":void 0},onScroll:e.shouldScrollToBottom,ref:e.setContainer,className:"fill w-frames-list"},r.createElement("ul",{ref:e.setContent,onDragStart:e.onDragStart},m.map((function(t){var n="";if((t.closed||t.err||t.isError)&&(o.closed=t.closed,o.err=t.err||t.data,n=t.closed?" w-connection-closed":" w-connection-error",t.title=t.title||"Date: "+a.toLocaleString(new Date(parseInt(t.frameId,10)))),null==t.data&&(t.data=a.getBody(t,!0),t.data.length>500&&(t.data=t.data.substring(0,500)+"...")),!t.title&&!t.closed){t.title="Date: "+a.toLocaleString(new Date(parseInt(t.frameId,10)))+"\nFrom: "+(t.isClient?"Client":"Server"),t.opcode&&(t.title+="\nOpcode: "+t.opcode,t.title+="\nType: "+(1==t.opcode?"Text":"Binary")),t.compressed&&(t.title+="\nCompressed: "+t.compressed),t.mask&&(t.title+="\nMask: "+t.mask);var s=t.length;s>=0&&(s>=1024&&(s+="("+Number(s/1024).toFixed(2)+"k)"),t.title+="\nLength: "+s)}var l="arrow-left";return t.closed?l="minus-sign":t.isClient&&(l="arrow-right"),r.createElement("li",{draggable:!0,key:t.frameId,"data-id":t.frameId,title:t.title,style:{display:t.hide?"none":void 0},onClick:function(){i&&i(t)},onDoubleClick:e.onDoubleClick,className:(t.isClient?"w-frames-send":"")+(t.ignore?" w-frames-ignore":"")+(t.active?" w-frames-selected":"")+(2==t.opcode?" w-frames-bin":"")+n},r.createElement("span",{className:"glyphicon glyphicon-"+l}),t.data)})))))}});e.exports=f},55265:(e,t,n)=>{var r,o=n(43278),i=n(50897).MAX_FRAMES_LENGTH,a=function(e,t){return!e||(null==r&&(r=o.getBody(t,!0).toLowerCase()),-1!==r.indexOf(e))};function s(){this.list=[]}var l=s.prototype;function c(e){for(var t=0,n=e.length;t0)if(this._keyword){for(var n=0;n0&&d(e,n);break}}else d(e,t)}},l.clear=function(){return this.list.splice(0,this.list.length),this},l.reset=function(e){return e&&this.list!==e?(this.list=e,this.filter(),e):e},e.exports=s},50276:(e,t,n)=>{n(43335);var r=n(57588),o=n(43278),i=n(22167),a=n(23489),s=n(82700),l=n(55265),c=n(50897),d=n(71163),u=r.createClass({displayName:"Frames",getInitialState:function(){return{modal:new l}},componentDidMount:function(){var e=this;c.on("framesUpdate",(function(){e.setState({})}))},shouldComponentUpdate:function(e){var t=o.getBoolean(this.props.hide);return t!=o.getBoolean(e.hide)||!t},onClickFrame:function(e){this.state.modal.setActive(e),this.setState({})},onUpdate:function(){this.setState({})},onDOMReady:function(){this.refs.frameList.autoRefresh()},render:function(){var e=this.props,t=this.state.modal,n=t.reset(e.frames),o=e.data||"",l=t.getActive(),c=!n||e.hide;return l&&l.hide&&(l=null),r.createElement("div",{className:"fill orient-vertical-box w-frames"+(e.hide?" hide":"")},r.createElement(d,{inited:!c},r.createElement(i,{hide:c,vertical:"true",rightWidth:"250",onDOMReady:this.onDOMReady},r.createElement(a,{ref:"frameList",reqData:o,modal:t,onUpdate:this.onUpdate,onClickFrame:this.onClickFrame}),r.createElement(s,{data:o,frame:l}))),r.createElement("div",{className:"w-no-frames"+(n?" hide":"")},"No Frames"))}});e.exports=u},62277:(e,t,n)=>{var r,o=n(43278),i=n(547),a=n(74260),s={};function l(e){if(e!==r)try{document.body.removeChild(e.iframe),e.destroyed=!0,e.dialogs.forEach((function(e){e.hide(!0)})),e.dialogs=[],delete s[e.page]}catch(e){}}var c=function(){c=o.noop,setInterval((function(){var e=Date.now();Object.keys(s).forEach((function(t){var n=s[t];e-n.mtime>18e4&&l(n)}))}),6e4)};function d(e){var t=function(e){try{var t=e.location.pathname.substring(1)+e.location.search,n=t.lastIndexOf("?");if(-1!==n){++n;var r=parseInt(t.substring(n),10);r>0&&(t=t.substring(n-r,n))}return s[t]}catch(e){}}(e);if(t&&!t.emit){try{var n=a(e);n.createModal=function(e){var n=i.create(e),r=n.hide;return n.hide=function(e){if(e){var o=t.dialogs.indexOf(n);-1!==o&&t.dialogs.splice(o,1)}r(e)},t.dialogs.push(n),n},e.initWhistleBridge(n)}catch(e){}t.list.forEach(r),t.emit=r,t.list=null}function r(t){try{"function"==typeof e.onWhistleContextMenuClick&&e.onWhistleContextMenuClick(t)}catch(e){}}}t.fork=function(e,t){try{t=JSON.parse(JSON.stringify(t))}catch(e){}e+="???_WHISTLE_PLUGIN_EXT_CONTEXT_MENU_"+t.port+"???";var n=r=s[e];if(n)return n.mtime=Date.now(),void(n.emit?n.emit(t):(n.list.push(t),n.list.length>10&&(n.list=n.list.slice(-10))));!function(){var e=Object.keys(s),t=e.length;if(!(t<6)){for(var n=s[e[0]],r=1;ro.mtime&&(n=o)}l(n)}}(),c(),window.onPluginContextMenuReady=d;var o=document.createElement("iframe");o.style.display="none",s[e]=r=n={page:e,list:[t],mtime:Date.now(),iframe:o,dialogs:[]},document.body.appendChild(o),o.src=e+e.length,setTimeout((function(){!n.emit&&l(n)}),6e4)}},69216:(e,t,n)=>{n(89576);var r=n(57588),o=n(43278),i=r.createClass({displayName:"ImageView",shouldComponentUpdate:function(e){var t=o.getBoolean(this.props.hide);return t!=o.getBoolean(e.hide)||!t},preview:function(){o.openPreview(this.props.data)},render:function(){var e=this.props;return r.createElement("div",{className:"fill w-image-view"+(e.hide?" hide":"")},e.imgSrc?r.createElement("img",{src:e.imgSrc}):void 0,e.data?r.createElement("a",{onClick:this.preview},"Click here to preview page in new window"):void 0)}});e.exports=i},70219:(e,t,n)=>{n(81132);var r=n(57588),o=n(22167),i=n(95621),a=n(40919),s=n(43278),l=r.createClass({displayName:"Inspector",shouldComponentUpdate:function(e){var t=s.getBoolean(this.props.hide);if(t!=s.getBoolean(e.hide))return!0;if(t)return!1;var n=this.props.modal,r=e.modal;return!n||n!==r||!this.endTime},render:function(){var e=this.props,t=e.modal;return this.endTime=t&&(t.endTime||t.lost),r.createElement(o,{vertical:"true",hide:e.hide},r.createElement("div",{className:"fill orient-vertical-box"},r.createElement(i,{modal:t})),r.createElement("div",{className:"fill orient-vertical-box"},r.createElement("div",{className:"w-detail-inspectors-title w-detail-inspectors-res"},r.createElement("span",{className:"glyphicon glyphicon-arrow-left"}),"Response"),r.createElement(a,{modal:t})))}});e.exports=l},21522:(e,t,n)=>{n(81132);var r=n(57588),o=n(77063),i=n(43278),a=n(70219),s=n(50276),l=n(71163),c=n(50897),d=n(25927),u=n(70677),p=r.createClass({displayName:"Inspectors",getInitialState:function(){return{activeName:"Request"}},shouldComponentUpdate:function(e){var t=i.getBoolean(this.props.hide);return t!=i.getBoolean(e.hide)||!t},componentDidMount:function(){var e=this;d.on("tabsChange",(function(){e.setState({})}))},showTab:function(e){this.state.activeName!==e&&this.setState({activeName:e})},isActive:function(e){return this.state.activeName===e},getStyle:function(e){return"btn btn-default"+(this.isActive(e)?" w-spec-active":"")},render:function(){var e=this,t=e.props,n=t.modal,d=n&&n.url,p=!e.isActive("Frames"),h=i.getBoolean(t.hide),f=c.getTabs(),m=this.state.activeName;return r.createElement("div",{className:"fill orient-vertical-box w-detail-inspectors"+(h?" hide":"")},r.createElement("div",{className:"box w-detail-inspectors-url",title:d},r.createElement("label",null,"Url"),r.createElement("div",{className:"fill"},r.createElement(o,{text:d}))),r.createElement("div",{className:"box w-detail-inspectors-title w-detail-inspectors-tabs"},r.createElement("button",{type:"button",onClick:function(){e.showTab("Request")},className:e.getStyle("Request")},r.createElement("span",{className:"glyphicon glyphicon-arrow-right"}),"Request"),r.createElement("button",{type:"button",onClick:function(){e.showTab("Frames")},className:e.getStyle("Frames")},r.createElement("span",{className:"glyphicon glyphicon-menu-hamburger"}),"Frames"),r.createElement("div",{className:"fill w-custom-tabs"},f.map((function(t){var n=t.plugin;return r.createElement("button",{key:n,onClick:function(){e.showTab(n)},className:e.getStyle(n),title:n},t.name)})))),r.createElement(a,{hide:!e.isActive("Request"),modal:n}),r.createElement(l,{inited:!p},r.createElement(s,{hide:p,data:n,frames:t.frames})),r.createElement(u,{active:m,hide:h,tabs:f,className:"w-custom-tab-panel"}))}});e.exports=p},49724:e=>{function t(e,t){t=t||0;for(var n=Math.min(e.length,32768);t{var r=n(57588),o=n(90701),i=n(14412),a=n(43278),s=r.createClass({displayName:"JSONDialog",getInitialState:function(){return{}},show:function(e){if(e){var t=this,n=this.state.data;if(n&&n.text===e)return t.refs.jsonDialog.show();var r=a.parseJSON(e);if(r||/[\r\n]/.test(e)||(/\s/.test(e)||-1===e.indexOf("&")?-1===e.indexOf(";")&&-1===e.indexOf("=")||(r=a.parseQueryString(e,";",null,decodeURIComponent)):r=a.parseQueryString(e,null,null,decodeURIComponent)),!r)return a.parseRawJson(e);n={json:r,text:e,str:JSON.stringify(r,null," ")},this.setState({data:n},(function(){t.refs.jsonDialog.show()}))}},render:function(){return r.createElement(o,{ref:"jsonDialog",wstyle:"w-json-dialog"},r.createElement("div",{className:"modal-body"},r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×")),r.createElement("div",{className:"orient-vertical-box",style:{width:720,height:520,marginTop:22}},r.createElement(i,{data:this.state.data,viewSource:!0}))),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")))}}),l=r.createClass({displayName:"JSONDialogWrap",shouldComponentUpdate:function(){return!1},show:function(e){this.refs.jsonDialog.show(e)},render:function(){return r.createElement(s,{ref:"jsonDialog"})}});e.exports=l},14412:(e,t,n)=>{n(48942);var r=n(57588),o=n(19755),i=n(73935),a=n(28734),s=n(75774),l=n(10285),c=n(90339),d=n(10385).Z,u=n(50897),p=n(43278),h='span[style="color: rgb(133, 153, 0);"]',f=/^"(https?:)?(\/\/[^/]\S+)"$/i;function m(e,t){return e>t?1:-1}var g=r.createClass({displayName:"JsonViewer",getInitialState:function(){return{lastData:{}}},shouldComponentUpdate:function(e){var t=p.getBoolean(this.props.hide);return t!=p.getBoolean(e.hide)||!t},preventBlur:function(e){"INPUT"!=e.target.nodeName&&e.preventDefault()},edit:function(){var e=this.props.data,t=e&&e.str;t&&p.openEditor(t)},showNameInput:function(e){var t=this;t.state.showDownloadInput=/w-download/.test(e.target.className),t.state.showNameInput=!0,t.forceUpdate((function(){var e=i.findDOMNode(t.refs.nameInput),n=!e.value&&t.props.defaultName;n&&(e.value=n),e.select(),e.focus()}))},hideNameInput:function(){this.state.showNameInput=!1,this.forceUpdate((function(){var e=i.findDOMNode(this.refs.nameInput);this.props.defaultName===e.value&&(e.value="")}))},submit:function(e){if(13==e.keyCode||"click"==e.type){var t=u.valuesModal;if(t){var n=i.findDOMNode(this.refs.nameInput),r=n.value.trim(),o=this;if(o.state.showDownloadInput)o.download();else if(r)if(/\s/.test(r))l.error("The key cannot have spaces.");else{var a=function(e){if(e){var i=(o.state.lastData.str||"").replace(/\r\n|\r/g,"\n");u.values.add({name:r,value:i},(function(e,o){e&&0===e.ec?(t.add(r,i),n.value="",n.blur()):p.showSystemError(o)}))}};if(!t.exists(r))return a(!0);c.confirm("The key '"+r+"' already exists.\nDo you want to override it.",a)}else l.error("The key cannot be empty.")}}},download:function(){var e=i.findDOMNode(this.refs.nameInput),t=e.value.trim();e.value="";var n=this.props.data||{};i.findDOMNode(this.refs.filename).value=t,i.findDOMNode(this.refs.content).value=n.str||"",i.findDOMNode(this.refs.downloadForm).submit(),this.hideNameInput()},toggle:function(){this.setState({viewSource:!this.state.viewSource})},componentDidMount:function(){o(i.findDOMNode(this.refs.jsonViewer)).on("mouseenter",h,(function(e){if(e.ctrlKey||e.metaKey){var t=o(this);f.test(t.text())&&t.addClass("w-is-link")}})).on("mouseleave",h,(function(){o(this).removeClass("w-is-link")})).on("mousedown",h,(function(e){if(e.ctrlKey||e.metaKey){var t=o(this);f.test(t.text())&&window.open((RegExp.$1||"http:")+RegExp.$2)}}))},render:function(){var e=this.state,t=e.viewSource,n=this.props,o=n.data,i=!o;i?o=e.lastData||{}:e.lastData=o;var l=o.str||"";if(l&&t){var c=l.length-16384;c>512&&(l=l.substring(0,16384)+"...\r\n\r\n("+c+" characters left, you can click on the ViewAll button in the upper right corner to view all)\r\n")}return r.createElement("div",{className:"fill orient-vertical-box w-properties-wrap w-json-viewer"+(i||n.hide?" hide":"")},r.createElement("div",{className:"w-textarea-bar"},r.createElement(s,{value:o.str}),r.createElement("a",{className:"w-download",onDoubleClick:this.download,onClick:this.showNameInput,draggable:"false"},"Download"),r.createElement("a",{className:"w-add",onClick:this.showNameInput,draggable:"false"},"+Key"),t?r.createElement("a",{className:"w-edit",onClick:this.edit,draggable:"false"},"ViewAll"):void 0,r.createElement("a",{onClick:this.toggle,className:"w-properties-btn"},t?"JSON":"Text"),r.createElement("div",{onMouseDown:this.preventBlur,style:{display:e.showNameInput?"block":"none"},className:"shadow w-textarea-input"},r.createElement("input",{ref:"nameInput",onKeyDown:this.submit,onBlur:this.hideNameInput,type:"text",maxLength:"64",placeholder:e.showDownloadInput?"Input the filename":"Input the key"}),r.createElement("button",{type:"button",onClick:this.submit,className:"btn btn-primary"},e.showDownloadInput?"OK":"+Key")),r.createElement("form",{ref:"downloadForm",action:"cgi-bin/download",style:{display:"none"},method:"post",target:"downloadTargetFrame"},r.createElement("input",{ref:"filename",name:"filename",type:"hidden"}),r.createElement("input",{ref:"content",name:"content",type:"hidden"}))),r.createElement(a,{className:"fill w-json-viewer-str"+(t?"":" hide"),value:l}),r.createElement("div",{ref:"jsonViewer",className:"fill w-json-viewer-tree"+(t?" hide":"")},r.createElement(d,{data:o.json,sortObjectKeys:m})))}});e.exports=g},78900:(e,t,n)=>{n(81132),n(63853);var r=n(57588),o=n(90701),i=n(43278),a=n(25927),s=n(90339),l=r.createClass({displayName:"KVDialog",getInitialState:function(){return{list:[],history:[]}},show:function(e,t,n,r,o){this.isValues=r,this.refs.kvDialog.show(),this._hideDialog=!1;var a=[];if(e&&Array.isArray(e.list)&&"object"==typeof e.data){var s=0;e.list.forEach((function(e){e&&s<360&&"string"==typeof e&&e.length<=256&&(++s,a.push(e))})),e.selected&&(o=-1===a.indexOf(e.selected)?"":e.selected),e=e.data}this.setState({selectedHistory:o,history:a,list:i.parseImportData(e||"",r?n:t,r)})},hide:function(){this.refs.kvDialog.hide(),this._hideDialog=!0},shouldComponentUpdate:function(){return!1===this._hideDialog},selectHistory:function(e){var t=this.props.onHistoryChange;t&&t(e.target.value,this.isValues)},viewContent:function(e){i.openEditor(e.target.title)},confirm:function(){var e,t={},n=this;if(n.state.list.forEach((function(n){e=e||n.isConflict,t[n.name]=n.value})),!e)return a.trigger(n.isValues?"uploadValues":"uploadRules",t);s.confirm("Conflict with existing content, whether to continue to overwrite them?",(function(e){e&&a.trigger(n.isValues?"uploadValues":"uploadRules",t)}))},remove:function(e){var t=this;s.confirm("Are you sure to delete '"+e.name+"'.",(function(n){if(n){var r=t.state.list.indexOf(e);-1!==r&&(t.state.list.splice(r,1),t.setState({}))}}))},render:function(){var e=this,t=e.state,n=t.list||[],i=t.history,a=t.selectedHistory||"",s=!n.length;return r.createElement(o,{ref:"kvDialog",wstyle:"w-kv-dialog"},r.createElement("div",{className:"modal-body"},r.createElement("button",{type:"button",className:"close",onClick:e.hide},r.createElement("span",{"aria-hidden":"true"},"×")),i.length?r.createElement("label",null,this.isValues?"Values":"Rules"," History:",r.createElement("select",{value:a,onChange:this.selectHistory,className:"form-control w-history-record-list"},r.createElement("option",{value:""},"Select history"),i.map((function(e){return r.createElement("option",{value:e},e)})))):void 0,r.createElement("table",{className:"table"},r.createElement("thead",null,r.createElement("th",{className:"w-kv-name"},"Name"),r.createElement("th",{className:"w-kv-operation"},"Operation")),r.createElement("tbody",null,s?r.createElement("tr",null,r.createElement("td",{colSpan:"2",className:"w-empty"},"Empty")):n.map((function(t,n){return r.createElement("tr",{className:t.isConflict?"w-kv-conflict":void 0},r.createElement("th",{title:t.name,className:"w-kv-name"},t.name),r.createElement("td",{className:"w-kv-operation"},r.createElement("a",{title:t.value,onClick:e.viewContent},"Content"),r.createElement("a",{"data-name":t.name,onClick:function(){e.remove(t)}},"Delete"),r.createElement("strong",null,t.isConflict?"[Conflict]":"")))}))))),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-primary",disabled:s,onClick:this.confirm,"data-dismiss":"modal"},"Add to ",this.isValues?"Values":"Rules"),r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")))}});e.exports=l},71163:(e,t,n)=>{var r=n(57588).createClass({displayName:"LazyInit",render:function(){return this.props.inited||this._inited?(this._inited=!0,this.props.children):null}});e.exports=r},75363:(e,t,n)=>{n(81132),n(14010);var r=n(57588),o=n(73935),i=n(43278),a=n(90701),s=r.createClass({displayName:"ListDialog",getInitialState:function(){return{checkedItems:{},selectedCount:0}},onChange:function(e){var t=e.target,n=t.parentNode.title,r=this.state.checkedItems;t.checked?r[n]=1:delete r[n],this.setState({selectedCount:Object.keys(r).length})},onConfirm:function(e){if(!e.target.disabled){this.refs.dialog.hide();var t=o.findDOMNode(this.refs.filename),n=o.findDOMNode(this.refs.exportData),r=-1!==e.target.className.indexOf("btn-warning")?this.getAllItems():this.state.checkedItems;o.findDOMNode(this.refs.exportName).value=t.value.trim(),o.findDOMNode(this.refs.data).value=JSON.stringify(r),n.submit(),t.value=""}},getAllItems:function(){var e=this.props.list||[],t={};return e.forEach((function(e){t[e]=1})),t},show:function(){var e=this;e.refs.dialog.show(),setTimeout((function(){o.findDOMNode(e.refs.filename).focus()}),500)},preventDefault:function(e){e.preventDefault()},render:function(){var e=this,t=e.props.list||[],n=e.state.checkedItems,o=e.state.selectedCount,s=this.props.name;return r.createElement(a,{ref:"dialog",wclassName:" w-list-dialog"},r.createElement("div",{className:"modal-body"},r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×")),r.createElement("p",null,"Filename:",r.createElement("input",{ref:"filename",style:{width:390,display:"inline-block",marginLeft:5},className:"form-control",placeholder:"Input the filename"})),t.map((function(t){return r.createElement("label",{title:t},r.createElement("input",{onChange:e.onChange,type:"checkbox",checked:!!n[t]}),i.isGroup(t)?r.createElement("span",{className:"glyphicon glyphicon-triangle-right w-list-group-icon"}):null,t)}))),r.createElement("div",{className:"modal-footer"},r.createElement("div",{className:"w-list-counter"},"Selected: ",o," / ",t.length),r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Cancel"),r.createElement("button",{type:"button",className:"btn btn-warning",onMouseDown:this.preventDefault,onClick:this.onConfirm},"Export All"),r.createElement("button",{type:"button",className:"btn btn-primary",disabled:!Object.keys(n).length,onMouseDown:this.preventDefault,onClick:this.onConfirm},"Export Selected")),r.createElement("form",{action:"cgi-bin/"+s+"/export",ref:"exportData",style:{display:"none"},target:"downloadTargetFrame"},r.createElement("input",{ref:"exportName",type:"hidden",name:"filename"}),r.createElement("input",{ref:"data",type:"hidden",name:s})))}});e.exports=s},2110:(e,t,n)=>{var r=n(19755),o=n(43278);function i(e,t){this.reset(e,t,!0)}var a=i.prototype;function s(e,t,n){if(!e)return!1;var r=this.get(e);if(t=t||"",!r){n?this.list.splice(1,0,e):function(e,t){if(!o.isGroup(t))for(var n=0,r=e.length;n1&&as?s+1:s,0,e));return!0}},a.moveToGroup=function(e,t,n){if(t){var r=this.list,i=r.indexOf(e);if(-1!==i&&-1!==r.indexOf(t)){if(r.splice(i,1),i=r.indexOf(t)+1,n)return r.splice(i,0,e);for(var a=r.length;i0)for(var a=n.length;i=0;r--)if(e=n[r],!o.isGroup(e))return this.data[e]},a.search=function(e,t){return this._type="",this._keyword="string"!=typeof e?"":e.trim(),!t&&this._keyword&&/^(selected|s|active|a):(.*)$/.test(e)&&(this._type=RegExp.$1,this._keyword=RegExp.$2.trim()),this.filter(),!this._keyword},a.filter=function(){var e=this._keyword,t=this.list,n=!!this._type,r=this.data;if(e)return t.forEach((function(t){var o=r[t];o.hide=n&&!o.selected||-1==(t||"").indexOf(e)})),t;t.forEach((function(e){var t=r[e];t.hide=n&&!t.selected}))},a.up=function(){var e=this.list,t=e.length;if(t){var n=this.getActive();if(!n.fixed){var r=n?e.indexOf(n.name):t-1;if(r&&!this.data[e[r-1]].fixed)return e[r]=e[r-1],e[r-1]=n.name,n}}},a.down=function(){var e=this.list,t=e.length;if(t){var n=this.getActive();if(!n.fixed){var r=n?e.indexOf(n.name):t-1;if(!(r>=t-1||this.data[e[r+1]].fixed))return e[r]=e[r+1],e[r+1]=n.name,n}}},a.prev=function(){var e=this.list,t=e.length;if(t){var n,r,o=this.getActive(),i=o?e.indexOf(o.name):t-1,a=this.data;for(n=i-1;n>=0;n--)if(l(r=a[e[n]]))return r;for(n=t-1;n>i;n--)if(l(r=a[e[n]]))return r}},a.next=function(){var e=this.list,t=e.length;if(t){var n,r,o=this.getActive(),i=o?e.indexOf(o.name):0,a=this.data;for(n=i+1;n{function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tthis.curListLen||n!==this.curActiveItem)&&this.ensureVisible(),this.curListLen=t,this.curActiveItem=n,this.props.hide&&this.refs.recycleBinDialog.hide()},ensureVisible:function(e){var t=this.props.modal.getActive();if(t){var n=l.findDOMNode(this.refs[t.name]),r=l.findDOMNode(this.refs.list);a.ensureVisible(n,r,e)}},onClick:function(e){var t=this;"function"==typeof t.props.onActive&&!1===t.props.onActive(e)||(t.props.modal.setActive(e.name),t.setState({activeItem:e}))},toggleGroup:function(e){var t=this.collapseGroups.indexOf(e.name);-1===t?this.collapseGroups.push(e.name):this.collapseGroups.splice(t,1),b.set(this.getCollapseKey(),JSON.stringify(this.collapseGroups)),this.setState({})},onClickGroup:function(e){var t=e.target.getAttribute("data-group"),n=this.props.modal.groups,r=n[t];r||(r=n[t]={}),r.expand=!r.expand,this.setState({})},onDoubleClick:function(e,t){e.selected&&!e.changed||t?this.onUnselect(e):this.onSelect(e);var n=this.props.onDoubleClick;"function"==typeof n&&n(e)},onSelect:function(e){var t=this.props.onSelect;"function"==typeof t&&t(e)},onUnselect:function(e){var t=this.props.onUnselect;"function"==typeof t&&t(e)},onChange:function(e){var t=this.props.modal,n=t.getActive();if(n){var r=n.value||"",o=e.getValue()||"";if(o!=r){var i=t.hasChanged();n.changed=!0,n.value=o,this.setState({selectedItem:n}),i||m.trigger("updateGlobal")}}},onFilterChange:function(e){this.props.modal.search(e,"rules"!=this.props.name),this.setState({filterText:e})},getItemByKey:function(e){return this.props.modal.getByKey(e)},onDragStart:function(e){var t=S(e),n=t&&t.getAttribute("data-name");n&&(e.dataTransfer.setData(C+n,1),e.dataTransfer.setData("-listmodal$",n))},onDragEnter:function(e){var t=T(e);t&&((o=t.target).style.background="#ddd")},onDragLeave:function(e){var t=T(e);t&&(t.target.style.background="")},onDrop:function(e){var t=T(e);if(t){var n=E(e.dataTransfer.getData("-listmodal$")),r=-1!==this.collapseGroups.indexOf(n),o=t.toName,i={from:n,to:o,group:r};t.target.style.background="";var s=this.isRules()&&"Default"===o;if(s&&(o=this.props.modal.list[1],i.to=o,i.toTop=!0),this.props.modal.moveTo(n,o,r,s)){var l="rules"===this.props.name?"rules":"values";f[l].moveTo(i,(function(e,t){e?2===e.ec&&m.trigger(l+"Changed"):a.showSystemError(t)})),this.setState({}),this.triggerChange("move")}}},formatJson:function(e){var t=e&&e.value||"";if(/\S/.test(t)){var n=a.parseRawJson(t);n&&t!==(n=JSON.stringify(n,null," "))&&(e.changed=!0,e.value=n,m.trigger("updateGlobal"))}},reloadRecycleBin:function(e){this.refs.recycleBinDialog.isVisible()&&(this._pendingRecycle=!1,this.showRecycleBin(e))},showRecycleBin:function(e){var t=this;t._pendingRecycle||(t._pendingRecycle=!0,f[e.toLowerCase()].recycleList((function(n,r){if(t._pendingRecycle=!1,n)return n.list.length?void t.refs.recycleBinDialog.show({name:e,list:n.list}):c.info("Trash is empty.");a.showSystemError(r)})))},getGroupByName:function(e){var t=this.props.modal,n=t.data[e];if(!n||a.isGroup(n.name))return n;for(var r=t.list.indexOf(e)-1;r>=0;r--)if(n=t.data[t.list[r]],a.isGroup(n.name))return n},getCurGroup:function(e){return(e=e||this.currentFocusItem)&&this.getGroupByName(e.name)},onClickContextMenu:function(e,t,n,r){var o=this,i="rules"===o.props.name?"Rules":"Values";switch(n||e){case"Save":m.trigger("save"+i,o.currentFocusItem);break;case"Rename":m.trigger("rename"+i,o.currentFocusItem);break;case"Delete":m.trigger("delete"+i,o.currentFocusItem);break;case"Rule":m.trigger("createRules",o.getCurGroup());break;case"Key":m.trigger("createValues",o.getCurGroup());break;case"Export":m.trigger("export"+i);break;case"Import":m.trigger("import"+i,t);break;case"Trash":o.showRecycleBin(i);break;case"Validate":var a=o.currentFocusItem;if(a)if(k.test(a.value))try{JSON.parse(a.value),c.success("Good JSON Object.")}catch(t){c.error("Warning: the value of "+a.name+" can`t be parsed into json. "+t.message)}else c.error("Bad JSON Object.");break;case"Format":o.formatJson(o.currentFocusItem);break;case"Help":window.open("https://avwo.github.io/whistle/webui/"+(o.props.name||"values")+".html");break;case"Plugins":var s=o.props.modal;g.fork(e,{port:f.getPort(),type:"rules"===o.props.name?"rules":"values",name:r,list:s&&s.getList(),activeItem:o.currentFocusItem,selectedItem:s&&s.getActive()})}},triggerChange:function(e){var t=this.props.modal.data,n=this.props.modal.list.map((function(e){var n=t[e];return{name:e,value:n&&n.value||""}}));a.triggerListChange(this.props.name||"values",{type:e,url:location.href,list:n})},isRules:function(){return"rules"==this.props.name},getCollapseKey:function(){return this.isRules()?"collapseRulesGroups":"collapseValuesGroups"},onContextMenu:function(e){var t=i(e.target).closest("a").attr("data-name"),n=this.props.modal;t=t&&E(t);var r=n.get(t);r||(t=void 0),this.currentFocusItem=r;var o,s=!t,l=this.isRules(),c=l?w[8]:x[9];a.addPluginMenus(c,f[l?"getRulesMenus":"getValuesMenus"](),l?7:8),l||(x[0].list[0].name=t&&a.isGroup(t)?"Name":"Key");var d=(l?280:315)-(c.hide?30:0);c.maxHeight=d+30;var u=a.getMenuPosition(e,110,d);u.className="w-contenxt-menu-list",l?(u.list=w,u.list[1].disabled=s,u.list[1].name="Save",r&&!r.changed&&(f.isMutilEnv()&&"Default"!==t||a.isGroup(t)?u.list[1].disabled=!0:u.list[1].name=r.selected?"Disable":"Enable"),r&&r.isDefault&&(o=!0),u.list[5].disabled=!n.list.length):(u.list=x,u.list[1].disabled=!r||!r.changed,u.list[5].disabled=s,u.list[6].disabled=!n.list.length);var p=u.list[0];p.disabled=s,s||(p.list[0].copyText=t,r.value?(p.list[1].disabled=!1,p.list[1].copyText=r.value):p.list[1].disabled=!0),u.list[3].disabled=o||s,u.list[4].disabled=o||s,this.refs.contextMenu.show(u),e.preventDefault()},onAddRule:function(e){this.props.modal.setActive(e),this.setState({})},enableAllRules:function(){var e=this;e._pendingEnableRules||(e._pendingEnableRules=setTimeout((function(){e._pendingEnableRules=null}),2e3),i(".w-enable-rules-menu").trigger("click"),m.trigger("disableAllRules"))},parseList:function(){var e,t,n=this.isRules(),r=this.props.modal,o=r.list,i=r.data,s=0,l=0,c=function(){e&&(e.changed=t,e.childCount=s,e.selectedCount=l,s=0,l=0,t=!1)};return o.forEach((function(r,o){var d=i[r];a.isGroup(d.name)?(c(),d.isGroup=!0,e=d):e&&(++s,t=t||d.changed,n&&d.selected&&++l)})),c(),o},render:function(){var e,t,n=this,o=n.props.modal,i=n.parseList(),l=o.data,c=n.props,f=o.getActive()||"";!f&&i[0]&&(f=l[i[0]])&&(f.active=!0);var m=n.isRules(),g=!1,b=f?f.name:"";return m?(g=i.length>2,a.triggerRulesActiveChange(b)):i.length>1&&(g=!0,a.triggerValuesActiveChange(b)),s.createElement("div",{className:"orient-vertical-box fill"+(c.hide?" hide":"")},c.disabled?s.createElement("div",{className:"w-record-status"},"All rules is disabled",s.createElement("button",{className:"btn btn-primary",onClick:n.enableAllRules},"Enable")):null,s.createElement(d,{leftWidth:"230"},s.createElement("div",{className:"fill orient-vertical-box w-list-left"},s.createElement("div",{ref:"list",tabIndex:"0",onContextMenu:this.onContextMenu,className:"fill orient-vertical-box w-list-data "+(c.className||"")+(c.disabled?" w-disabled":"")},i.map((function(r,o){var i=l[r],c=m&&0===o,d=i.isGroup,u=d?r.substring(1):r;return e=e||d,d&&(t=-1!==n.collapseGroups.indexOf(r)),s.createElement("a",{tabIndex:"0",ref:r,"data-name":o+"_"+r,onDragStart:c?void 0:n.onDragStart,onDragEnter:n.onDragEnter,onDragLeave:n.onDragLeave,onDrop:n.onDrop,style:{display:i.hide?"none":null},key:i.key,"data-key":i.key,title:u,draggable:!c&&g,onClick:function(){d?n.toggleGroup(i):n.onClick(i)},onDoubleClick:d?null:function(e){n.onDoubleClick(i),e.preventDefault()},className:a.getClasses({"w-active":!d&&i.active,"w-changed":i.changed,"w-selected":!d&&i.selected,"w-list-group":d,"w-list-sub":!d&&e,"w-hide":!d&&t,"w-group-empty":d&&!i.childCount})},d?s.createElement("span",{className:"glyphicon glyphicon-triangle-"+(t?"right":"bottom")}):null,u,d?s.createElement("span",{className:a.getClasses({"w-group-child-num":!0,"w-exists-selected":i.selectedCount>0})},"(",i.selectedCount>0?i.selectedCount+"/":"",i.childCount,")"):s.createElement("span",{className:"glyphicon glyphicon-ok"}))}))),s.createElement(p,{onChange:this.onFilterChange}),s.createElement(h,{onClick:this.onClickContextMenu,ref:"contextMenu"}),s.createElement(v,{ref:"recycleBinDialog"})),s.createElement(u,r({},n.props,{onChange:n.onChange,readOnly:!f||f.hide||y,value:f.hide?"":f.value,mode:m?"rules":N(f.name)}))))}});e.exports=_},80207:(e,t,n)=>{n(81132),n(86407);var r=n(57588),o=n(43278),i=r.createClass({displayName:"MenuItem",preventBlur:function(e){e.preventDefault()},stopPropagation:function(e){e.stopPropagation()},render:function(){var e=this,t=e.props.options;t&&!t.length&&(t=null);var n=e.props.name,i=e.props.onClick||o.noop,a=e.props.onClickOption||o.noop,s=e.props.onDoubleClickOption||o.noop,l=e.props.checkedOptions||{},c=e.props.disabled;return r.createElement("div",{onBlur:e.props.onBlur,tabIndex:"0",onMouseDown:e.preventBlur,style:{display:o.getBoolean(e.props.hide)?"none":"block"},className:"w-menu-item "+(e.props.className||"")+(c?" w-disabled":"")},t?r.createElement("div",{className:"w-menu-options",style:{border:n?null:"none"}},t.map((function(t){return r.createElement("a",{key:t.name,className:t.disabled?"w-disabled":void 0,title:t.title,onClick:function(e){t.disabled||a(t,e)},onDoubleClick:function(){s(t)},href:t.href||void 0,target:t.href?t.target||"blank":void 0,draggable:"false"},"checkbox"==t.icon?r.createElement("input",{type:"checkbox",disabled:c,"data-name":t.name,onClick:e.stopPropagation,onChange:e.props.onChange,checked:!l[t.name]}):!1===t.icon?void 0:r.createElement("span",{className:"glyphicon glyphicon-"+(t.icon||"asterisk"),style:{visibility:t.icon?"":"hidden"}}),t.name)}))):"",n?"string"==typeof n?r.createElement("a",{onClick:i,className:"w-menu-open",draggable:"false"},r.createElement("span",{className:"glyphicon glyphicon-folder-open"}),n):n:"")}});e.exports=i},10285:(e,t,n)=>{var r=n(19755);n(22158);var o={};["error","warn","info","success"].forEach((function(e){t[e]=function(t){return function(e,t){"warn"===t?t="warning":"error"===t&&(t="danger");var n=o[t];return n||((n=r('
')).appendTo(document.body),o[t]=n),n.text(e),n.stop(!0,!0).show(),n.css("marginLeft",-n[0].offsetWidth/2),n.delay(2e3).fadeOut(1600),n}(t,e)}}))},547:(e,t,n)=>{var r=n(57588),o=n(73935),i=n(90701);n(83823);var a="__WHISTLE_MODAL_"+Date.now()+"_"+Math.floor(1e3*Math.random())+"_",s=0;function l(){return++s>100&&(s=0),s}function c(e){try{delete window[e]}catch(t){window[e]=void 0}}function d(e,t,n){var a=document.createElement("div");document.body.appendChild(a),e.methods&&(window[n]=e.methods),o.render(r.createElement(i,{width:e.width,height:e.height,wclassName:"w-dialog-for-plguin",customRef:function(r){document.body.removeChild(a),h(r,e,n),t(r)},onClose:e.onClose},r.createElement("div",{className:"modal-header"},r.createElement("h4",null),r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×"))),r.createElement("div",{className:"modal-body"}),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close"))),a)}function u(e,t){return e&&"string"==typeof e?e.replace(/\s(on[a-z]+=)"([^"]+)"/g,(function(e,n,r){var o,i=r.indexOf("(");return-1===i?o="(event)":(o=r.substring(i),r=r.substring(0,i))," "+n+'"'+(r=t+"['"+r+"']"+o)+'"'})):e}function p(e,t,n){var r=e.find(".modal-content>.modal-"+n+":first");null!=t?r.html(t):!1!==t&&null!==t||r.hide()}function h(e,t,n){var r=(t=t||"").title,o=u(t.body,n),i=u(t.footer,n),a=e.container,s=a.find(".modal-content>.modal-header:first");r&&"string"==typeof r?s.show().find("h4").html(r):!1!==r&&""!==r||s.hide(),p(a,o,"body"),p(a,i,"footer")}t.show=function(e){var t,n,r=e.onClose,o=a+l();return e.onClose=function(){c(o),n&&n.destroy(),n=null,"function"==typeof r&&r.call(e)},d(e,(function(e){n=e,t?e.hide():e.show()}),o),function(){!t&&n&&(t=!0,n.hide())}},t.create=function(e){var t,n,r=e.onClose,o=a+l();return e.onClose=function(){c(o),t&&(n&&n.destroy(),n=null),"function"==typeof r&&r.call(e)},d(e,(function(e){n=e,t&&e.destroy()}),o),{show:function(e){n&&(e&&e.methods&&(window[o]=e.methods),n.show(),h(n,e,o))},hide:function(e){t=e,n&&(n.container.is(":visible")?n.hide():t&&n.destroy())}}}},48672:(e,t,n)=>{var r=n(43278),o=n(32936),i=n(25927),a=[500,1e3,1500,2e3,2500,3e3],s=parseInt(o.get("maxNetworkRows"),10)||1500,l=-1===a.indexOf(s)?1500:s,c=l+100,d="__whistle_"+location.href.replace(/\/[^/]*([#?].*)?$/,"/")+"__",u=/^(url|u|content|c|b|body|headers|h|ip|i|status|result|s|r|method|m|mark|type|t):(.*)$/i,p=/([^\s]+)(?:\s+([^\s]+)(?:\s+([\S\s]+))?)?/;function h(e){this.list=_(e),this.isTreeView="1"===o.get("isTreeView"),this.clearRoot()}h.MAX_COUNT=c,h.setMaxRows=function(e){e=parseInt(e,10),-1!==a.indexOf(e)&&(c=(l=e)+100,h.MAX_COUNT=c,o.set("maxNetworkRows",e))},h.getMaxRows=function(){return l};var f=h.prototype;function m(e){if(e="string"!=typeof e?"":e.trim()){var t="!"===e[0];t&&(e=e.substring(1));var n="url";if(u.test(e)&&(n=RegExp.$1.toLowerCase(),"!"===(e=RegExp.$2.trim())[0]&&(t=!0,e=e.substring(1))),e||"mark"===n)return{not:t,type:n,keyword:e.toLowerCase(),regexp:r.toRegExp(e)}}}function g(e,t){return!!e&&(!t.keyword||(t.regexp?t.regexp.test(e):-1!==e.toLowerCase().indexOf(t.keyword)))}function b(e,t){return!!g((e.isHttps?"tunnel://":"")+e.url,t)||g(r.getRawUrl(e),t)}function v(e,t){return t?!e:e}function y(e,t){switch(t.type){case"mark":return!e.mark||v(!b(e,t),t.not);case"c":case"content":case"b":case"body":var n=r.getBody(e.req,!0),o=r.getBody(e.res);return v(!g(n,t)&&!g(o,t),t.not);case"headers":case"h":return v(!C(e.req.headers,t)&&!C(e.res.headers,t),t.not);case"type":case"t":var i=e.res.headers;return v(!("string"==typeof(i=i&&i["content-type"])&&g(i,t)),t.not);case"ip":case"i":return v(!g(e.req.ip,t)&&!g(e.res.ip,t),t.not);case"status":case"s":case"result":case"r":var a=e.res.statusCode;return v(!g(null==a?"-":String(a),t),t.not);case"method":case"m":return v(!g(e.req.method,t),t.not);default:return v(!b(e,t),t.not)}}function w(e,t,n,r){return e==t?0:"-"==e?1:"-"==t?-1:"asc"==n?x(e,t,r):-x(e,t,r)}function x(e,t,n){var r=null==t||""==t;if(null==e||""==e)return r?0:-1;if(r)return 1;var o=-1!=="dns,request,response,download,time".indexOf(n);if(!o&&e>t)return 1;var i=typeof e,a=typeof t;return o&&"string"===i&&"string"===a?e.replace("ms","")-t.replace("ms","")>0?1:-1:i!=a&&"number"==i?1:-1}function C(e,t){for(var n in e){if(g(n,t))return!0;var r=e[n];if("string"==typeof r&&g(r,t))return!0}return!1}function k(e,t){var n=e.children;return n?(n.forEach((function(e){k(e,t)})),t):(t[e.data.id]=1,t)}function S(e){for(var t=0,n=e.length;t=0;--t)if(!e[t].mark)return!0},f.getList=function(){return this._list||this.list},f.filter=function(){var e=this,t=e.list,n=e._keyword;t.forEach((function(e){e.hide=!!n&&(y(e,n[0])||n[1]&&y(e,n[1])||n[2]&&y(e,n[2]))}));var r=e._columns;if(r&&r.length){var o=r.length;e._list=e.list.slice().sort((function(e,t){for(var n=0;nt.order?-1:1}))}else e._list=null;return this.updateTree(),this.updateDisplayCount(),t},f.updateDisplayCount=function(){window.name=d+this.list.length},f.getDisplayCount=function(){var e=window.name;if("string"!=typeof e||0!==e.indexOf(d))return 0;var t=parseInt(e.substring(d.length));return t>=0&&t<=60?t:60},f.clear=function(){var e=this.list.length;return this.clearNetwork=!0,this.list.splice(0,e),this._list=null,this.updateTree(),this.updateDisplayCount(),e&&i.trigger("selectedSessionChange"),this},f.removeByHostList=function(e){for(var t=this.list,n=t.length-1;n>=0;--n){var r=t[n];-1!==e.indexOf(r.isHttps?r.path:r.hostname)&&t.splice(n,1)}this.update(),this.updateDisplayCount()},f.removeTreeNode=function(e,t){var n=this.getTreeNode(e);if(n){for(var r=k(n,{}),o=this.list,i=o.length-1;i>=0;--i)(t?!r[o[i].id]:r[o[i].id])&&o.splice(i,1);return this.update(),this.updateDisplayCount(),!0}},f.removeByUrlList=function(e){for(var t=this.list,n=t.length-1;n>=0;--n)-1!==e.indexOf(t[n].url.replace(/\?.*$/,"").substring(0,1024))&&t.splice(n,1);this.update(),this.updateDisplayCount()},f.removeSelectedItems=function(){for(var e,t=-1,n=this.list,r=n.length-1;r>=0;r--)n[r].selected?(e=!0,-1==t&&(t=r),r||n.splice(r,t-r+1)):-1!=t&&(n.splice(r+1,t-r),t=-1);if(e)return this.update(!1,!0),!0},f.remove=function(e){var t=this.list,n=t.indexOf(e);-1!==n&&(t.splice(n,1),this.update(!1,!0))},f.removeOthers=function(e){var t=this.list,n=t.indexOf(e);-1!==n&&(t.splice(n+1,t.length-n),0!==n&&t.splice(0,n),this.update(!1,!0))},f.removeUnselectedItems=function(){for(var e,t=-1,n=this.list,r=n.length-1;r>=0;r--)n[r].selected?-1!=t&&(n.splice(r+1,t-r),t=-1):(e=!0,-1==t&&(t=r),r||n.splice(r,t-r+1));if(e)return this.update(!1,!0),!0},f.removeUnmarkedItems=function(){for(var e,t=-1,n=this.list,r=n.length-1;r>=0;r--)n[r].mark?-1!=t&&(n.splice(r+1,t-r),t=-1):(e=!0,-1==t&&(t=r),r||n.splice(r,t-r+1));if(e)return this.update(!1,!0),!0},f.prev=function(){var e=this.getList(),t=e.length;if(t){var n,r,o=this.getActive(),i=o?e.indexOf(o):t-1;for(n=i-1;n>=0;n--)if(!(r=e[n]).hide)return r;for(n=t-1;n>i;n--)if(!(r=e[n]).hide)return r}},f.next=function(){var e=this.getList(),t=e.length;if(t){var n,r,o=this.getActive(),i=o?e.indexOf(o):0;for(n=i+1;n0){var r=S(e);if(n){for(var o=0,i=e.length;t>0&&o0&&e.splice(0,t),r&&-1===e.indexOf(r)&&(e[0]=r)}}(this.list,n,this.hasKeyword())}return this.filter(),!this.isTreeView&&this.list.length>l},f.hasSelected=function(){for(var e=this.list,t=0,n=e.length;t(t=r.indexOf(t))){var o=function(e,t){for(var n=t.length;e=0;e--){var n=t[e-1];if(!n||!n.selected&&!n.active)return e}return e}(e,r);for(var i=0,a=r.length;i=e&&i<=t?(s.selected=!0,n(s,!0)):s.selected=!1}},f.clearSelection=function(){this.list.forEach((function(e){e.selected=!1}))},f.clearActive=function(){this.list.forEach((function(e){e.active=!1}))},f.clearRoot=function(){var e={children:[],map:{},list:[]};return this.root=e,e},f.getListByPath=function(e){var t=0===e.indexOf("tunnel://");return t?e=e.substring(9):e+="/",this.list.filter((function(n){return!n.hide&&(t?n.url===e:!n.url.indexOf(e))}))},f.updateTree=function(){if(!this.isTreeView)return this._updateOnTreeView=!0,this.root;this._updateOnTreeView=!1;var e=this.list,t=e.length;if(!t)return this.clearRoot();for(var n=this.root,r=this.clearRoot(),o=0;o{function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n(81132);var r=n(19755),o=n(57588),i=n(43278),a=n(32936),s=n(22167),l=n(75355),c=n(68338),d=function(e){var t=document.documentElement;return e?Math.max(Math.floor(t.clientHeight/2),360):Math.max(Math.floor(t.clientWidth/3),572)},u=o.createClass({displayName:"Network",getInitialState:function(){var e=a.get("dockToBottom");return{dockToBottom:e,rightWidth:d(e)}},componentDidMount:function(){var e=this;r(window).on("keydown",(function(t){if(!e.props.hide&&(t.ctrlKey||t.metaKey)&&68==t.keyCode&&!i.isFocusEditor()&&!r(t.target).closest(".w-frames-list").length){var n=e.props.modal;t.shiftKey?n&&n.removeUnselectedItems()&&e.setState({}):n&&n.removeSelectedItems()&&e.setState({})}})).on("keydown",(function(t){123===t.keyCode&&(e.props.hide||e.onDockChange(),t.preventDefault())}))},shouldComponentUpdate:function(e){var t=i.getBoolean(this.props.hide);return t!=i.getBoolean(e.hide)||!t},onDockChange:function(){var e=this,t=!e.state.dockToBottom;a.set("dockToBottom",t?1:""),e.setState({dockToBottom:t,rightWidth:d(t)},(function(){e.refs.divider.reset()}))},render:function(){var e=this.props.modal,t=this.state.dockToBottom;return o.createElement(s,{ref:"divider",hide:this.props.hide,vertical:t,rightWidth:this.state.rightWidth},o.createElement(l,{modal:e}),o.createElement(c,{dockToBottom:t,onDockChange:this.onDockChange,modal:e}))}});e.exports=u},39145:(e,t,n)=>{n(81132),n(28007);var r=window.jQuery=n(19755);n(43734);var o,i=n(57588),a=n(73935),s=n(90701),l=n(50897),c=n(43278),d=n(27174);function u(e){return e.map((function(e){return" "+e}))}var p=i.createClass({displayName:"Online",getInitialState:function(){return{}},componentWillMount:function(){var e=this,t=!0,n=r(document.body);l.on("serverInfo",(function(r){e.updateServerInfo(r),r&&e.checkServerChanged(r);var o=!!r;o!==t&&((t=o)?n.removeClass("w-offline-status"):n.addClass("w-offline-status")),e.setState({server:r})}))},checkServerChanged:function(e){e.mac=e.mac||"",void 0===this.macAddr?(this.macAddr=e.mac,this.serverPort=e.port,this.version=e.version,this.baseDir=e.baseDir,this.networkMode=e.networkMode,this.pluginsMode=e.pluginsMode,this.rulesMode=e.rulesMode,this.multiEnv=e.multiEnv,this.rulesOnlyMode=e.rulesOnlyMode):this.version!==e.version||this.baseDir!==e.baseDir||this.rulesOnlyMode!==e.rulesOnlyMode||this.networkMode!==e.networkMode||this.pluginsMode!==e.pluginsMode||this.rulesMode!==e.rulesMode||this.multiEnv!==e.multiEnv?this.refs.confirmReload.show():this.refs.confirmReload.hide()},showServerInfo:function(){this.state.server&&(this.updateServerInfo(this.state.server),o.modal("show"))},updateServerInfo:function(e){if(e){this.state.server=e;var t=[],n=c.escape(e.username);n&&t.push("
Username: "+n+"
");var i=c.escape(e.host);i&&t.push("
Host: "+i+"
"),e.pid&&t.push("
PID: "+e.pid+"
"),e.nodeVersion&&t.push("
Node: "+e.nodeVersion+"
"),e.version&&t.push("
Whistle: v"+e.version+"
");var a=e.realPort||e.port;if(a){var s=null!=e.realHost?e.realHost:e.bip;t.push("
Port: "+(s?s+":"+a:a)+"
")}if(e.socksPort&&t.push("
SOCKS Port: "+e.socksPort+"
"),e.httpPort&&t.push("
HTTP Port: "+e.httpPort+"
"),e.httpsPort&&t.push("
HTTPS Port: "+e.httpsPort+"
"),e.ipv4.length&&(t.push("
IPv4:
"),t.push("

"+e.ipv4.join("
")+"

")),e.ipv6.length&&(t.push("
IPv6:
"),t.push("

"+e.ipv6.join("
")+"

")),(o||(o=r('').appendTo(document.body)),o).find(".w-online-dialog-ctn").html(t.join("")).find("h5:first").attr("title",e.host),!this._initProxyInfo){var d;this._initProxyInfo=!0;var u=!0,p=o.find(".w-online-view-dns"),h=!0,f=this;p.on("click",(function(){f.refs.dnsDialog.show(l.getServerInfo())}));var m=function(e){e&&e.dns?h&&(h=!1,p.show()):h||(h=!0,p.hide())};m(e),setInterval((function(){var e=l.getServerInfo(),t=e&&e.pInfo;if(m(e),t){u&&(u=!1,o.find(".w-online-dialog-info").show());var n=o.find("#whistleRequests"),r=o.find("#whistleAllRequests"),i=o.find("#whistleCpu"),a=o.find("#whistleMemory"),s=o.find("#whistleUptime"),p=o.find("#whistleQps"),h=o.find("#whistleAllQps");s.text(c.formatTime(t.uptime)),s.parent().attr("title",t.uptime),n.parent().attr("title","HTTP[S]: "+t.httpRequests+" (Total: "+t.totalHttpRequests+")\nWS[S]: "+t.wsRequests+" (Total: "+t.totalWsRequests+")\nTUNNEL: "+t.tunnelRequests+" (Total: "+t.totalTunnelRequests+")"),r.parent().attr("title","HTTP[S]: "+t.allHttpRequests+" (Total: "+t.totalAllHttpRequests+")\nWS[S]: "+t.allWsRequests+" (Total: "+t.totalAllWsRequests+")\nTUNNEL: "+t.tunnelRequests+" (Total: "+t.totalTunnelRequests+")"),a.parent().attr("title",Object.keys(t.memUsage).map((function(e){return e+": "+t.memUsage[e]})).join("\n")),p.parent().attr("title",["HTTP[s]: "+c.getQps(t.httpQps),"WS[S]: "+c.getQps(t.wsQps),"TUNNEL: "+c.getQps(t.tunnelQps)].join("\n")),h.parent().attr("title",["HTTP[s]: "+c.getQps(t.allHttpQps),"WS[S]: "+c.getQps(t.allWsQps),"TUNNEL: "+c.getQps(t.tunnelQps)].join("\n"));var f=t.httpRequests+t.wsRequests+t.tunnelRequests,g=t.allHttpRequests+t.allWsRequests+t.tunnelRequests,b=t.totalHttpRequests+t.totalWsRequests+t.totalTunnelRequests,v=t.totalAllHttpRequests+t.totalAllWsRequests+t.totalTunnelRequests;if(t.totalCount=f,t.allCount=b,t.totalUICount=g,t.allUICount=v,d&&d.pInfo){var y=d.pInfo;t.memUsage.rss!==y.memUsage.rss&&a.text(c.getSize(t.memUsage.rss)+" (Max: "+c.getSize(t.maxRss)+")"),f===y.totalCount&&b===y.allCount||n.text(f+" (Total: "+b+")"),g===y.totalUICount&&v===y.allUICount||r.text(g+" (Total: "+v+")"),t.cpuPercent!==y.cpuPercent&&i.text(t.cpuPercent+" (Max: "+t.maxCpu+")"),t.totalQps!==y.totalQps&&p.text(c.getQps(t.totalQps)+" (Max: "+c.getQps(t.maxQps)+")"),t.totalAllQps!==y.totalAllQps&&h.text(c.getQps(t.totalAllQps)+" (Max: "+c.getQps(t.maxAllQps)+")")}else n.text(f+" (Total: "+b+")"),r.text(g+" (Total: "+v+")"),i.text(t.cpuPercent+" (Max: "+t.maxCpu+")"),a.text(c.getSize(t.memUsage.rss)+" (Max: "+c.getSize(t.maxRss)+")"),p.text(c.getQps(t.totalQps)+" (Max: "+c.getQps(t.maxQps)+")"),h.text(c.getQps(t.totalAllQps)+" (Max: "+c.getQps(t.maxAllQps)+")");d=e}else u&&(u=!0,o.find(".w-online-dialog-info").hide())}),1e3)}}},reload:function(){location.reload()},getTitle:function(e){if(e){var t=[];e.host&&t.push("Host: "+e.host),e.pid&&t.push("PID: "+e.pid);var n=e.realPort||e.port;n&&t.push("Port: "+n),e.socksPort&&t.push("SOCKS Port: "+e.socksPort),e.httpPort&&t.push("HTTP Port: "+e.httpPort),e.httpsPort&&t.push("HTTPS Port: "+e.httpsPort),e.ipv4.length&&(t.push("IPv4:"),t.push.apply(t,u(e.ipv4))),e.ipv6.length&&(t.push("IPv6:"),t.push.apply(t,u(e.ipv6)));var r=e.pInfo;return r&&(t.push("Uptime: "+c.formatTime(r.uptime)),t.push("All Requests: "+(r.allHttpRequests+r.allWsRequests+r.tunnelRequests)+" (Total: "+(r.totalAllHttpRequests+r.totalAllWsRequests+r.totalTunnelRequests)+")"),t.push("Requests: "+(r.httpRequests+r.wsRequests+r.tunnelRequests)+" (Total: "+(r.totalHttpRequests+r.totalWsRequests+r.totalTunnelRequests)+")"),r.cpuPercent&&t.push("CPU: "+r.cpuPercent),t.push("Memory: "+c.getSize(r.memUsage.rss)),t.push("QPS: "+c.getQps(r.totalQps)),t.push("All QPS: "+c.getQps(r.totalAllQps))),e.dns&&t.push("Use custom DNS servers"),t.join("\n")}},setTitle:function(){var e=l.getServerInfo()||this.state.server;a.findDOMNode(this.refs.onlineMenu).title=this.getTitle(e)},render:function(){var e=this.state.server;return i.createElement("a",{ref:"onlineMenu",draggable:"false",onMouseEnter:this.setTitle,className:"w-online-menu w-online"+(e?"":" w-offline"),onClick:this.showServerInfo},i.createElement("span",{className:"glyphicon glyphicon-stats"}),e?"Online":"Offline",e&&e.dns?i.createElement("span",null,e.doh?"(DOH)":e.r6?"(IPv6)":"(IPv4)"):null,i.createElement(s,{ref:"confirmReload",wstyle:"w-confirm-reload-dialog w-confirm-reload-global"},i.createElement("div",{className:"modal-body w-confirm-reload"},i.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},i.createElement("span",{"aria-hidden":"true"},"×")),"The proxy has been modified.",i.createElement("br",null),"Do you want to reload this page."),i.createElement("div",{className:"modal-footer"},i.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Cancel"),i.createElement("button",{type:"button",className:"btn btn-primary",onClick:this.reload},"Reload"))),i.createElement(d,{ref:"dnsDialog"}))}});e.exports=p},26027:(e,t,n)=>{n(81132),n(87294);var r=n(57588),o=n(73935),i=n(20925),a=n(25927),s=n(43278),l=n(32936),c=n(97079),d=n(50897),u=n(79196).getHelpUrl,p=["Url","Final Url","Method","Http Version","Status Code","Status Message","Client IP","Client Port","Client ID","Server IP","Server Port","Request Body","Response Body","Content Encoding","Start Date","DNS Lookup","Request Sent","Response Headers","Content Loaded","Total"],h=["url","realUrl","req.method","req.httpVersion","res.statusCode","res.statusMessage","req.ip","req.port","clientId","res.ip","res.port","req.size","res.size","contentEncoding"],f=n(79196).PROTOCOLS,m={},g={},b=["socks","http-proxy","https-proxy"];function v(e){return e.rawPattern+" @"+e.matcher.substring(4)}function y(e){return e?" "+e:""}function w(e){return-1!==e.indexOf("important")}function x(e,t){return(e=e.rawProps)?(t||(e=e.filter(w)),y(e.join(" "))):""}function C(e){if(e){var t=e.matcher;if(e.port){var n=t.indexOf(":")+3,r=t.substring(0,n);-1!==t.indexOf(":",n)&&(t=r+"["+t.substring(n)+"]"),t=t+":"+e.port}return e.rawPattern+" "+t+x(e,!0)+y(e.filter)}}function k(e){return"-"===e?"":e}function S(e){return-1!==b.indexOf(e)||"skip"===e||/^x/.test(e)}function E(e){return e>=1024?e+"("+Number(e/1024).toFixed(2)+"k)":e}p.forEach((function(e){m[e]=""})),f.forEach((function(e){S(e)||(g[e]="")}));var T=r.createClass({displayName:"Overview",getInitialState:function(){return{showOnlyMatchRules:1==l.get("showOnlyMatchRules")}},shouldComponentUpdate:function(e){var t=s.getBoolean(this.props.hide);return t!=s.getBoolean(e.hide)||!t},componentDidMount:function(){var e=this,t=o.findDOMNode(e.refs.container);a.on("overviewScrollTop",(function(){s.getBoolean(e.props.hide)||(t.scrollTop=0)}))},showOnlyMatchRules:function(e){var t=e.target.checked;l.set("showOnlyMatchRules",t?1:0),this.setState({showOnlyMatchRules:t})},onHelp:function(e){var t=e.target.getAttribute("data-name"),n=u(t);n&&window.open("rule"===t?n+"rule/":n)},render:function(){var e,t,n=m,o=g,a=this.props.modal,l=this.state.showOnlyMatchRules;if(a){n={};var u=s.getRawUrl(a);p.forEach((function(t,r){var o=h[r];if(o){var i=s.getProperty(a,o);if(i&&"res.ip"===o?i=s.getServerIp(a):i||"clientId"!==o||(i=s.getProperty(a,"req.headers.x-whistle-client-id")),null!=i)if("req.size"==o||"res.size"==o){var l=i,c=(i=E(l))?s.getProperty(a,o.substring(0,4)+"unzipSize"):-1;c>=0&&c!=l&&(i+=" / "+E(c)+(c?" = "+Number(100*l/c).toFixed(2)+"%":""))}else"realUrl"==o?(i==a.url?i="":a.isHttps&&(i="tunnel://"+i),e=i):a.isHttps&&"url"===o&&(i="tunnel://"+i);else"res.statusMessage"==o&&(i=s.getStatusMessage(a.res));n[t]=i}else{var d,u=p.length-1;switch(t){case p[u-5]:d=s.toLocaleString(new Date(a.startTime));break;case p[u-4]:d=k(a.dns);break;case p[u-3]:if(a.requestTime){d=k(a.request);var f=a.protocol;if("string"==typeof f&&-1!==f.indexOf(">")){var m=a.httpsTime-a.dnsTime;m>0&&(d+=" - "+m+"ms("+f+") = "+(a.requestTime-a.httpsTime)+"ms")}}break;case p[u-2]:d=k(a.response);break;case p[u-1]:d=k(a.download);break;case p[u]:d=k(a.time),a.endTime&&(d=a.endTime-a.startTime+"ms")}n[t]=d}}));var b=i.getColumn("custom1"),y=i.getColumn("custom2");a.sniPlugin&&(n["SNI Plugin"]=a.sniPlugin),b.selected&&(n[(d.custom1||"Custom1")+" "]=a.custom1),y.selected&&(n[(d.custom2||"Custom2")+" "]=a.custom2);var w=a.rules,T={};if(w){o={};var N,_,R=w.G,M=w.clientCert;R&&(N=[v(R)],_=[R.raw]);var O=w.P;O&&O.forEach((function(e){var t;(N=N||[]).push((t=e).rawPattern+" %"+t.matcher.substring(4)),_=[e.raw]})),M&&(_=_||[],(N=N||[]).push(v(M)),_.push(M.raw)),N&&(o["@"]=N.join("\n"),T["@"]=_.join("\n")),f.forEach((function(n){if(!S(n)){var r=n;"reqScript"===n?r="rulesFile":"reqMerge"===n?r="params":"pathReplace"===n&&(r="urlReplace");var i=w[r],a="plugin"===n&&w._pluginRule;if(a){t=!0;var s=[a.rawPattern+" "+a.matcher+x(a)],l=[a.raw];i&&i.list&&i.list.forEach((function(e){s.push(e.rawPattern+" "+e.matcher+x(e)),l.push(e.raw)})),o[n]=s.join("\n"),T[n]=l.join("\n")}else if(i&&i.list)o[n]=i.list.map((function(e){return e.rawPattern+" "+e.matcher+x(e)})).join("\n"),T[n]=i.list.map((function(e){return e.raw})).join("\n");else{var c=C(i);if(o[n]=c,T[n]=i?i.raw:void 0,"proxy"===n)e&&c&&(o[n]+=" ("+e+")");else if("host"===n){var d=[];c&&d.push(c+(e?" ("+e+")":"")),w.proxy&&w.proxy.host&&d.push(C(w.proxy.host)+" ("+w.proxy.matcher+")"),o[n]=d.join("\n")}}}}))}}return r.createElement("div",{ref:"container",className:"fill orient-vertical-box w-detail-content w-detail-overview"+(s.getBoolean(this.props.hide)?" hide":"")},r.createElement(c,{modal:n,rawName:"Original Url",rawValue:u}),r.createElement("p",{className:"w-detail-overview-title",style:{background:l?"lightyellow":void 0}},r.createElement("a",{href:"https://avwo.github.io/whistle/rules/",target:"_blank"},r.createElement("span",{className:"glyphicon glyphicon-question-sign"})),"All Rules:",r.createElement("label",null,r.createElement("input",{checked:l,onChange:this.showOnlyMatchRules,type:"checkbox"}),"Only show matching rules")),r.createElement(c,{onHelp:this.onHelp,className:l?"w-hide-no-value":void 0,modal:o,title:T,enableCopyValue:!0,name:"Rules",hasPluginRule:t}))}});e.exports=T},41583:(e,t,n)=>{var r=n(57588),o=n(43278),i=n(70677),a=r.createClass({displayName:"PluginsTabs",getInitialState:function(){var e=this.props.tabs[0];return{active:e&&e.plugin}},shouldComponentUpdate:function(e){var t=o.getBoolean(this.props.hide);return t!=o.getBoolean(e.hide)||!t},onSelect:function(e){this.setState({active:e.plugin})},render:function(){var e=this,t=e.props,n=t.tabs,o=t.hide,a=this.state.active,s=n.length<2;return s&&(a=n[0]&&n[0].plugin)&&(this.state.active=a),r.createElement("div",{className:"fill box w-plugins-tabs"+(o?" hide":"")},r.createElement("div",{className:"w-plugins-tabs-list"+(s?" hide":"")},n.map((function(t){return r.createElement("button",{key:t.plugin,onClick:function(){e.onSelect(t)},className:"btn btn-default"+(a==t.plugin?" active":""),title:"["+t.plugin+"] "+t.name},t.name)}))),r.createElement(i,{active:a,hide:o,tabs:n}))}});e.exports=a},54054:(e,t,n)=>{n(52635);var r,o=n(19755),i=n(57588),a=n(73935),s=n(25927),l=n(90701),c=n(50897),d=n(43278),u=n(90339),p=n(71163),h=/^([\w]{1,12})(\s+-g)?$/;function f(e){return function(t,n){var r=e[t],o=e[n];return r._key=t,o._key=n,d.comparePlugin(r,o)}}function m(e){r||(r=setTimeout((function(){r=null}),2e3),s.trigger("disableAllPlugins",e))}function g(e){var t=c.getServerInfo().cmdName,n="";return t&&h.test(t)?(t=RegExp.$1+" ",n=" "+RegExp.$2.trim()):t="w2 ",t+(e?"uninstall":"install")+n+" "}function b(e){return e.account?" --account="+e.account:""}function v(e){return e.updateUrl||e.moduleName}window.getWhistleProxyServerInfo=function(){var e=c.getServerInfo();return e&&o.extend(!0,{},e)};var y=i.createClass({displayName:"Home",componentDidMount:function(){var e=this;e.setUpdateAllBtnState(),s.on("updateAllPlugins",(function(t,n){n="reinstallAllPlugins"===n;var r=(e.props.data||{}).plugins||{},o={};Object.keys(r).sort(f(r)).map((function(e){var t=r[e];if(!t.isProj&&(n||d.compareVersion(t.latest,t.version))){var i=(t.registry?" --registry="+t.registry:"")+b(t),a=o[i]||[];a.push(v(t)),o[i]=a}}));var i=Object.keys(o).map((function(e){var t=o[e].join(" ");return g()+t+e})).join("\n\n");i&&e.setState({cmdMsg:i,uninstall:!1},e.showMsgDialog)}))},componentDidUpdate:function(){this.setUpdateAllBtnState()},onOpen:function(e){this.props.onOpen&&this.props.onOpen(e),e.preventDefault()},syncData:function(e){c.syncData(e)},showDialog:function(){this.refs.pluginRulesDialog.show()},hideDialog:function(){this.refs.pluginRulesDialog.hide()},showRules:function(e){var t=o(e.target).attr("data-name"),n=this.props.data.plugins[t+":"];n.name=t,this.setState({plugin:n},this.showDialog)},onCmdChange:function(e){this.setState({cmdMsg:e.target.value})},showMsgDialog:function(){this.refs.operatePluginDialog.show()},showUpdate:function(e){var t=o(e.target).attr("data-name"),n=this.props.data.plugins[t+":"],r=n.registry?" --registry="+n.registry:"";this.setState({cmdMsg:g()+v(n)+b(n)+r,isSys:n.isSys,uninstall:!1},this.showMsgDialog)},showUninstall:function(e){var t=o(e.target).attr("data-name"),n=this.props.data.plugins[t+":"],r=this.props.data.isWin?"":"sudo ",i=n.isSys,a=i?g(!0):r+"npm uninstall -g ",s=!i&&n.registry?" --registry="+n.registry:"";this.setState({cmdMsg:a+n.moduleName+b(n)+s,isSys:i,uninstall:!0,pluginPath:n.path},this.showMsgDialog)},enableAllPlugins:function(e){var t=this.props.data||{};!r&&t.disabledAllPlugins&&u.confirm("Do you want to turn on Plugins?",(function(t){t&&m(e)}))},setUpdateAllBtnState:function(){s.trigger("setUpdateAllBtnState",this.hasNewPlugin)},render:function(){var e=this,t=e.props.data||{},n=t.plugins||[],r=e.state||{},o=r.plugin||{},a=r.cmdMsg,s=Object.keys(n),c=t.disabledPlugins||{},u=t.disabledAllPlugins,p=t.ndp;return e.hasNewPlugin=!1,i.createElement("div",{className:"fill orient-vertical-box w-plugins",style:{display:e.props.hide?"none":""}},i.createElement("div",{className:"w-plugins-headers"},i.createElement("table",{className:"table"},i.createElement("thead",null,i.createElement("tr",null,i.createElement("th",{className:"w-plugins-order"},"#"),i.createElement("th",{className:"w-plugins-active"},"Active"),i.createElement("th",{className:"w-plugins-date"},"Date"),i.createElement("th",{className:"w-plugins-name"},"Name"),i.createElement("th",{className:"w-plugins-version"},"Version"),i.createElement("th",{className:"w-plugins-operation"},"Operation"),i.createElement("th",{className:"w-plugins-desc"},"Description"))))),i.createElement("div",{className:"fill w-plugins-list"},i.createElement("table",{className:"table table-hover"},i.createElement("tbody",null,s.length?s.sort(f(n)).map((function(t,r){var o=n[t];t=t.slice(0,-1);var a=!c[t],s=o.pluginHomepage&&!o.openInPlugins,l=o.pluginHomepage||"plugin."+t+"/",h=d.compareVersion(o.latest,o.version);return h&&(h="(New: "+o.latest+")",e.hasNewPlugin=!0),i.createElement("tr",{key:t,className:(!u&&a?"":"w-plugins-disable")+(h?" w-has-new-version":"")},i.createElement("th",{className:"w-plugins-order",onDoubleClick:e.enableAllPlugins},r+1),i.createElement("td",{className:"w-plugins-active",onDoubleClick:e.enableAllPlugins},i.createElement("input",{type:"checkbox",title:p?"Not allowed disable plugins":u?"Disabled":(a?"Disable ":"Enable ")+t,"data-name":t,checked:p||a,disabled:!p&&u,onChange:e.props.onChange,className:p?"w-not-allowed":void 0})),i.createElement("td",{className:"w-plugins-date"},d.toLocaleString(new Date(o.mtime))),i.createElement("td",{className:"w-plugins-name",title:o.moduleName},o.noOpt?i.createElement("span",null,t):i.createElement("a",{href:l,target:"_blank","data-name":t,onClick:s?null:e.onOpen},t)),i.createElement("td",{className:"w-plugins-version"},o.homepage?i.createElement("a",{href:o.homepage,target:"_blank"},o.version):o.version,h?o.homepage?i.createElement("a",{className:"w-new-version",href:o.homepage,target:"_blank"},h):i.createElement("span",{className:"w-new-version"},h):void 0),i.createElement("td",{className:"w-plugins-operation"},o.noOpt?i.createElement("span",{className:"disabled"},"Option"):i.createElement("a",{href:l,target:"_blank","data-name":t,className:"w-plugin-btn",onClick:s?null:e.onOpen},"Option"),o.rules||o._rules||o.resRules?i.createElement("a",{draggable:"false","data-name":t,onClick:e.showRules},"Rules"):i.createElement("span",{className:"disabled"},"Rules"),o.isProj?i.createElement("span",{className:"disabled"},"Update"):i.createElement("a",{draggable:"false",className:"w-plugin-btn w-plugin-update-btn","data-name":t,onClick:e.showUpdate},"Update"),o.isProj||o.notUn?i.createElement("span",{className:"disabled"},"Uninstall"):i.createElement("a",{draggable:"false",className:"w-plugin-btn","data-name":t,onClick:e.showUninstall},"Uninstall"),o.homepage?i.createElement("a",{href:o.homepage,className:"w-plugin-btn",target:"_blank"},"Help"):i.createElement("span",{className:"disabled"},"Help"),d.isString(o.rulesUrl)||d.isString(o.valuesUrl)?i.createElement("a",{className:"w-plugin-btn",onClick:function(){e.syncData(o)}},"Sync"):void 0),i.createElement("td",{className:"w-plugins-desc",title:o.description},o.description))})):i.createElement("tr",null,i.createElement("td",{colSpan:"7",className:"w-empty"},i.createElement("a",{href:"https://github.com/whistle-plugins",target:"_blank"},"Empty")))))),i.createElement(l,{ref:"pluginRulesDialog",wstyle:"w-plugin-rules-dialog"},i.createElement("div",{className:"modal-header"},i.createElement("h4",null,o.name),i.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},i.createElement("span",{"aria-hidden":"true"},"×"))),i.createElement("div",{className:"modal-body"},i.createElement("div",{className:"w-plugin-rules"},o.rules?i.createElement("fieldset",null,i.createElement("legend",null,"rules.txt"),i.createElement("pre",null,o.rules)):null,o._rules?i.createElement("fieldset",null,i.createElement("legend",null,"reqRules.txt (_rules.txt)"),i.createElement("pre",null,o._rules)):null,o.resRules?i.createElement("fieldset",null,i.createElement("legend",null,"resRules.txt"),i.createElement("pre",null,o.resRules)):null)),i.createElement("div",{className:"modal-footer"},i.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close"))),i.createElement(l,{ref:"operatePluginDialog",wstyle:"w-plugin-update-dialog"},i.createElement("div",{className:"modal-body"},i.createElement("h5",null,i.createElement("a",{"data-dismiss":"modal",className:"w-copy-text-with-tips","data-clipboard-text":a},"Copy the following command")," ","to the CLI to execute:"),i.createElement("textarea",{value:a,className:"w-plugin-update-cmd",onChange:this.onCmdChange}),i.createElement("div",{style:{margin:"8px 0 0",color:"red","word-break":"break-all",display:!r.isSys&&r.uninstall?"":"none"}},"If uninstall failed, delete the following directory instead:",i.createElement("a",{className:"w-copy-text-with-tips","data-dismiss":"modal","data-clipboard-text":r.pluginPath,style:{marginLeft:5,cursor:"pointer"}},r.pluginPath))),i.createElement("div",{className:"modal-footer"},i.createElement("button",{type:"button","data-dismiss":"modal",className:"btn btn-primary w-copy-text-with-tips","data-clipboard-text":a},"Copy"),i.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close"))))}}),w=i.createClass({displayName:"Tabs",componentDidMount:function(){var e,t=this,n=a.findDOMNode(t.refs.tabPanel),r=n.parentNode;function i(){clearTimeout(e),e=setTimeout(s,60)}function s(){if(!t.props.hide){var e=r.offsetHeight;e&&(n.style.width=r.offsetWidth+"px",n.style.height=e+"px")}}t._resizeHandler=i,i(),o(window).on("resize",i)},shouldComponentUpdate:function(e,t){return!this.props.hide||!e.hide},componentDidUpdate:function(e,t){e.hide&&!this.props.hide&&this._resizeHandler()},onClose:function(e){this.props.onClose&&this.props.onClose(e),e.stopPropagation()},render:function(){var e=this,t=e.props,n=t.tabs||[],r="Home",o=t.disabledPlugins||{},a=t.disabledAllPlugins,s=t.ndp,l=e.props.active;if(l&&l!=r)for(var c=0,d=n.length;c{n(81132),n(63860);var r=n(57588),o=n(43278),i=n(75774),a=n(77063),s=r.createClass({displayName:"Properties",getInitialState:function(){return{viewSource:!1}},toggle:function(){this.setState({viewSource:!this.state.viewSource})},render:function(){var e=this.props,t=e.enableViewSource,n=e.enableCopyValue,s=e.hasPluginRule,l=this.state.viewSource,c=e.onHelp,d=e.rawName,u=e.rawValue,p=e.modal||{},h=e.title||{},f=Object.keys(p);if(t||n){var m=[];f.forEach((function(e){if(!s||"rule"!==e){var n=p[e];e=t?e+": ":"",m.push(Array.isArray(n)?n.map((function(t){return e+o.toString(t)})).join("\n"):e+o.toString(n))}})),t=t&&m.join("\n"),n=n&&m.filter(o.noop).join("\n").trim()}if(this.textStr!==t){this.textStr=t;try{this.jsonStr=JSON.stringify(p,null," ")}catch(e){this.jsonStr=void 0}}return r.createElement("div",{className:"w-properties-wrap "+(l?"w-properties-view-source ":"w-properties-view-parsed ")+(e.hide?"hide":"")},t?r.createElement("div",{className:"w-textarea-bar"},r.createElement(i,{value:t,name:"AsText"}),this.jsonStr?r.createElement(i,{value:this.jsonStr,name:"AsJSON"}):void 0,r.createElement("a",{onClick:this.toggle},l?"Form":"Text")):void 0,n?r.createElement("div",{className:"w-textarea-bar"},r.createElement(i,{value:n,name:e.name})):void 0,t?r.createElement("pre",{className:"w-properties-source"},t.length>=2100?r.createElement(a,{text:t}):t):void 0,r.createElement("table",{className:"table w-properties w-properties-parsed "+(e.className||"")},r.createElement("tbody",null,u?r.createElement("tr",{key:"raw",className:u?void 0:"w-no-value"},r.createElement("th",null,d),r.createElement("td",{className:"w-prop-raw-data",title:u},u.length>2100?u.substring(2100)+"...":u)):null,f.map((function(e){var t=p[e];return Array.isArray(t)?t.map((function(t,n){return t=o.toString(t),r.createElement("tr",{key:n,className:t?void 0:"w-no-value"},r.createElement("th",null,c?r.createElement("span",{"data-name":e,onClick:c,className:"glyphicon glyphicon-question-sign"}):void 0,e&&e.length>=2100?r.createElement(a,{text:e}):e),r.createElement("td",null,r.createElement("pre",null,t&&t.length>=2100?r.createElement(a,{text:t}):t)))})):(t=o.toString(t),r.createElement("tr",{key:e,title:h[e],className:t?void 0:"w-no-value"},r.createElement("th",null,c?r.createElement("span",{"data-name":e,onClick:c,className:"glyphicon glyphicon-question-sign"}):void 0,e&&e.length>=2100?r.createElement(a,{text:e}):e),r.createElement("td",null,r.createElement("pre",null,t&&t.length>=2100?r.createElement(a,{text:t}):t))))})))))}});e.exports=s},30599:(e,t,n)=>{n(81132),n(1511);var r=n(57588),o=n(73935),i=n(90701),a=n(43278),s=n(10285),l=n(90339),c=20971520,d=65536,u=160,p=u,h=/^x-whistle-/,f=function(e){return"x-forwarded-for"===e||h.test(e)},m=r.createClass({displayName:"PropsEditor",getInitialState:function(){return{}},getValue:function(e,t){var n=this.props.isHeader,r=this.props.allowUploadFile,o=n?a.decodeURIComponentSafe:a.noop,i={name:o(e.substring(0,128),n)};return r&&t&&null!=t.value?(i.value=o(a.toString(t.value).substring(0,d),n),i.data=t.data,i.size=t.data&&t.data.length,i.type=t.type):i.value=o(a.toString(t).substring(0,d),n),i},update:function(e){var t,n={};if(e){var r=this,o=Object.keys(e);(t=o.length>=u)&&(o=o.slice(0,u)),o.forEach((function(t){var o=e[t];Array.isArray(o)?o.forEach((function(e,o){n[t+"_"+o]=r.getValue(t,e)})):n[t+"_0"]=r.getValue(t,o)}))}return this.setState({modal:n}),t},onAdd:function(){if(!this.props.disabled){if(Object.keys(this.state.modal||"").length>=u)return s.error("The number cannot exceed 160.");this.setState({data:""}),this.showDialog()}},onEdit:function(e){if(!this.props.disabled){var t=e.target.getAttribute("data-name"),n=this.state.modal[t];this.setState({data:n}),this.showDialog(n)}},edit:function(){var e=o.findDOMNode(this.refs.name),t=e.value.trim();if(!t)return e.focus(),s.error("The name cannot be empty.");var n=o.findDOMNode(this.refs.valueInput),r=n.value.trim(),i=this.state,a=i.data,l=a.name;a.name=t,a.data=i.fileData,i.fileData?(a.size=i.fileSize,a.value=i.filename,a.type=i.fileType):a.value=r,this.props.onChange(l,t),this.setState({fileData:null,fileSize:null,filename:null,fileType:null}),this.hideDialog(),e.value=n.value=""},add:function(){var e=o.findDOMNode(this.refs.name),t=e.value.trim();if(!t)return e.focus(),s.error("The name cannot be empty.");var n=o.findDOMNode(this.refs.valueInput),r=n.value.trim(),i=this.state.modal,a=this.state;i[t+"_"+ ++p]=a.fileData?{name:t,value:a.filename,size:a.fileSize,data:a.fileData,type:a.fileType}:{name:t,value:r},this.props.onChange(t),this.setState({fileData:null,fileSize:null,filename:null,fileType:null}),this.hideDialog(),e.value=n.value=""},hideDialog:function(){this.refs.composerDialog.hide()},showDialog:function(e){this.refs.composerDialog.show();var t=o.findDOMNode(this.refs.name);e&&(t.value=e.name||"",e.data?this.setState({filename:e.value,fileSize:e.size,fileData:e.data,fileType:e.type}):o.findDOMNode(this.refs.valueInput).value=e.value||""),setTimeout((function(){t.select(),t.focus()}),600)},onRemove:function(e){var t=this;if(!t.props.disabled){var n=e.target.getAttribute("data-name"),r=t.props.isHeader?"header":"field",o=t.state.modal[n];l.confirm("Are you sure to delete this "+r+" '"+o.name+"'.",(function(e){e&&(delete t.state.modal[n],t.props.onChange(o.name),t.setState({}))}))}},getFields:function(){var e=this.state.modal||"";return Object.keys(e).map((function(t){return e[t]}))},toString:function(){var e=this.state.modal||"",t=Object.keys(e);return this.props.isHeader?t.map((function(t){var n=e[t];return n.name+": "+a.encodeNonLatin1Char(n.value)})).join("\r\n"):t.map((function(t){var n=e[t];return a.encodeURIComponent(n.name)+"="+a.encodeURIComponent(n.value)})).join("&")},onUpload:function(){this.reading||o.findDOMNode(this.refs.readLocalFile).click()},readLocalFile:function(){var e=new FormData(o.findDOMNode(this.refs.readLocalFileForm)).get("localFile");if(e.size>c)return l.alert("The size of all files cannot exceed 20m.");var t=this.state.modal||"",n=e.size;if(Object.keys(t).forEach((function(e){n+=t[e].size})),n>c)return l.alert("The size of all files cannot exceed 20m.");var r=this;r.reading=!0,a.readFile(e,(function(t){r.reading=!1,r.localFileData=t,r.setState({filename:e.name||"unknown",fileData:t,fileSize:e.size,fileType:e.type})})),o.findDOMNode(this.refs.readLocalFile).value=""},removeLocalFile:function(e){var t=this;t.setState({filename:null,fileData:null},(function(){var e=o.findDOMNode(t.refs.valueInput);e.select(),e.focus()})),e.stopPropagation()},render:function(){var e=this,t=this.state.modal||"",n=this.state.filename,o=this.state.fileSize,s=Object.keys(t),l=this.props.isHeader,c=this.props.allowUploadFile,u=this.state.data||"",p=(u?"Modify":"Add")+(l?" header":" field");return r.createElement("div",{className:"fill orient-vertical-box w-props-editor"+(this.props.hide?" hide":""),title:this.props.title,onDoubleClick:this.props.onDoubleClick},s.length?r.createElement("table",{className:"table"},r.createElement("tbody",null,s.map((function(n){var o=t[n];return r.createElement("tr",{key:n},r.createElement("th",{className:l&&f(o.name)?"w-bold":void 0},o.name),r.createElement("td",null,r.createElement("pre",null,o.data?r.createElement("span",{className:"glyphicon glyphicon-file"}):void 0,o.data?" ["+a.getSize(o.size)+"] ":void 0,o.value)),r.createElement("td",{className:"w-props-ops"},r.createElement("a",{"data-name":n,onClick:e.onEdit,className:"glyphicon glyphicon-edit",title:"Edit"}),r.createElement("a",{"data-name":n,onClick:e.onRemove,className:"glyphicon glyphicon-remove",title:"Delete"})))})))):r.createElement("button",{onClick:this.onAdd,className:"btn btn-primary btn-sm w-add-field"+(this.props.isHeader?" w-add-header":"")},this.props.isHeader?"Add header":"Add field"),r.createElement(i,{ref:"composerDialog",wstyle:"w-composer-dialog"},r.createElement("div",{className:"modal-body"},r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×")),r.createElement("label",null,"Name:",r.createElement("input",{ref:"name",placeholder:"Input the name",className:"form-control",maxLength:"128"})),r.createElement("div",null,"Value:",r.createElement("div",{className:c?"w-props-editor-upload":"w-props-editor-form"},r.createElement("div",{onClick:this.onUpload,className:"w-props-editor-file"+(n?"":" hide"),title:n},r.createElement("button",{onClick:this.removeLocalFile,type:"button",className:"close",title:"Remove file"},r.createElement("span",{"aria-hidden":"true"},"×")),r.createElement("span",{className:"glyphicon glyphicon-file"})," ["+a.getSize(o)+"] ",n),r.createElement("textarea",{ref:"valueInput",maxLength:d,placeholder:"Input the value",className:"form-control"+(n?" hide":"")}),r.createElement("button",{onClick:this.onUpload,className:"btn btn-primary"+(n?" hide":"")},"Upload file")))),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-primary",onClick:u?e.edit:e.add},p),r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Cancel"))),r.createElement("form",{ref:"readLocalFileForm",encType:"multipart/form-data",style:{display:"none"}},r.createElement("input",{ref:"readLocalFile",onChange:this.readLocalFile,type:"file",name:"localFile"})))}});e.exports=m},79196:(e,t,n)=>{var r=n(25927),o=["rule","style","pipe","plugin","host","xhost","proxy","xproxy","http-proxy","xhttp-proxy","https-proxy","xhttps-proxy","socks","xsocks","pac","weinre","log","filter","ignore","skip","enable","disable","delete","urlParams","pathReplace","method","replaceStatus","referer","auth","ua","cache","attachment","forwardedFor","responseFor","reqMerge","resMerge","reqScript","resScript","reqDelay","resDelay","reqSpeed","resSpeed","reqHeaders","resHeaders","trailers","reqType","resType","reqCharset","resCharset","reqCookies","resCookies","reqCors","resCors","reqPrepend","resPrepend","reqBody","resBody","reqAppend","resAppend","headerReplace","reqReplace","resReplace","htmlPrepend","htmlBody","htmlAppend","cssPrepend","cssBody","cssAppend","jsPrepend","jsBody","jsAppend","reqWrite","resWrite","reqWriteRaw","resWriteRaw","cipher","sniCallback"],i=["file","xfile","tpl","xtpl","rawfile","xrawfile","redirect","statusCode"],a=[],s=[],l=[],c=i.slice(),d=["http","https","ws","wss","tunnel"],u=d.concat(i).concat(o.slice(1));u.splice(u.indexOf("plugin"),1),u.splice(u.indexOf("reqScript")+1,0,"reqRules"),u.splice(u.indexOf("resScript")+1,0,"resRules"),(u=u.map((function(e){return e+"://"}))).splice(u.indexOf("filter://"),1,"excludeFilter://","includeFilter://"),u.push("lineProps://");var p=u,h=[];function f(e){e=e.substring(e.indexOf(".")+1);for(var t=0,n=h.length;t{var r=n(57588),o=n(73935),i=n(90701),a=n(92592),s=n(25927),l=n(90339),c=r.createClass({displayName:"QRCodeDialog",shouldComponentUpdate:function(){return!1},show:function(e){if(e){var t=this;a.toDataURL(e,{width:320,height:320,margin:0},(function(n,r){if(n)return l.alert(n.message);var i=o.findDOMNode(t.refs.qrcodeImg);i.title=e,i.src=r,o.findDOMNode(t.refs.qrcodeUrl).value=e,t.refs.qrcodeDialog.show(),t.result=r.substring(r.indexOf(",")+1)}))}},download:function(){s.trigger("download",{base64:this.result,name:"qrcode.png"})},render:function(){return r.createElement(i,{ref:"qrcodeDialog",wstyle:"w-qrcode-dialog"},r.createElement("div",{className:"modal-body"},r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×")),r.createElement("input",{readOnly:!0,ref:"qrcodeUrl"}),r.createElement("img",{ref:"qrcodeImg",onDoubleClick:this.download,style:{width:320,height:320}})),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-primary",onClick:this.download},"Download"),r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")))}});e.exports=c},21043:(e,t,n)=>{var r=n(57588),o=n(80207);n(2023);var i={name:"Pause Record",icon:"minus-sign",id:"pause"},a={name:"Stop Record",icon:"stop",id:"stop"},s=[i,{name:"Scroll To Top",icon:"arrow-up",id:"top"},{name:"Scroll To Bottom",icon:"arrow-down",id:"bottom"}],l=r.createClass({displayName:"RecordBtn",getInitialState:function(){return{stop:!1}},onClick:function(){var e=!this.state.stop;this.state.pause=!1,this.state.stop=e,s[0]=i,this.props.onClick(e?"stop":"refresh"),this.setState({})},enable:function(e){var t=this.state,n=t.pause,r=t.stop;if("stop"===e){if(r&&!n)return}else{if("pause"!==e)return void((r||n)&&this.onClick());if(n)return}this.onClickOption({id:e})},showActionOptions:function(){this.setState({showActionOptions:!0})},hideActionOptions:function(){this.setState({showActionOptions:!1})},onClickOption:function(e){"pause"===e.id?(s[0]=a,this.state.pause=!0,this.state.stop=!0):"stop"===e.id&&(s[0]=i,this.state.pause=!1,this.state.stop=!0),this.props.onClick(e.id),this.hideActionOptions()},render:function(){var e=this.state,t=this.props.hide,n=e.pause,i=e.stop,a="Click to "+(i||n?"start":"stop")+" record";return r.createElement("div",{onMouseEnter:this.showActionOptions,onMouseLeave:this.hideActionOptions,className:"w-menu-wrapper w-refresh-menu-list w-menu-auto"+(e.showActionOptions?" w-menu-wrapper-show":"")+(t?" hide":"")},r.createElement("a",{onClick:this.onClick,draggable:"false",className:"w-scroll-menu"+(this.props.disabledRecord?" w-disabled":""),title:a},r.createElement("span",{style:{color:!n&&i?"#ccc":"#f66"},className:"glyphicon glyphicon-"+(n?"minus-sign":"stop")}),"Record"),r.createElement(o,{options:s,className:"w-remove-menu-item",onClickOption:this.onClickOption}))}});e.exports=l},82182:(e,t,n)=>{var r=n(57588),o=n(73935),i=n(19755),a=n(90701),s=n(50897),l=n(43278),c=n(10285),d=n(25927),u=n(90339),p=/^(\d+)\.([\s\S]+)$/;function h(e){try{return decodeURIComponent(e)}catch(e){}return e}var f=r.createClass({displayName:"RecycleBinDialog",getInitialState:function(){return{}},componentDidMount:function(){var e=this;d.on("rulesRecycleList",(function(t,n){"Rules"===e.state.name&&e.show(n,!0)})),d.on("valuesRecycleList",(function(t,n){"Values"===e.state.name&&e.show(n,!0)}))},show:function(e,t){var n=this;e.list&&(e.list=e.list.map((function(e){if(p.test(e))return{filename:h(RegExp.$2),date:l.toLocaleString(new Date(parseInt(RegExp.$1,10))),name:e}})).filter(l.noop)),n.setState(e,(function(){!t&&n.refs.recycleBinDialog.show()}))},hide:function(){this.refs.recycleBinDialog.hide()},checkFile:function(e,t){if(e){if(3===e.ec){var n=this;return c.error("The file does not exist."),void s[this.state.name.toLowerCase()].recycleList((function(e,t){e?n.show(e):l.showSystemError(t)}))}return!0}l.showSystemError(t)},view:function(e){var t=this,n=e.target.getAttribute("data-name");s[this.state.name.toLowerCase()].recycleView({name:n},(function(e,n){if(t.checkFile(e,n))return e.data?void l.openEditor(e.data):c.warn("No content.")}))},recover:function(e){var t=this;s[t.state.name.toLowerCase()].recycleView({name:e.name},(function(n,r){t.checkFile(n,r)&&(e.data=n.data,d.trigger("recover"+t.state.name,e))}))},remove:function(e){var t=e.target.getAttribute("data-name"),n=h(t.substring(t.indexOf(".")+1)),r=this;u.confirm("Are you sure to delete '"+n+"' completely.",(function(e){e&&s[r.state.name.toLowerCase()].recycleRemove({name:t},(function(e,t){e?r.show(e):l.showSystemError(t)}))}))},isVisible:function(){return i(o.findDOMNode(this.refs.recycleBinBody)).is(":visible")},render:function(){var e=this,t=e.state,n=t.list||[];return r.createElement(a,{ref:"recycleBinDialog",wstyle:"w-files-dialog"},r.createElement("div",{className:"modal-body",ref:"recycleBinBody"},r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×")),r.createElement("h4",null,t.name," Trash"),r.createElement("table",{className:"table"},r.createElement("thead",null,r.createElement("th",{className:"w-files-order"},"#"),r.createElement("th",{className:"w-files-date"},"Date"),r.createElement("th",{className:"w-files-path"},"Filename"),r.createElement("th",{className:"w-files-operation"},"Operation")),r.createElement("tbody",null,n.length?n.map((function(t,n){return r.createElement("tr",{key:t.name},r.createElement("th",{className:"w-files-order"},n+1),r.createElement("td",{className:"w-files-date"},t.date),r.createElement("td",{className:"w-files-path",title:t.filename},l.isGroup(t.filename)?r.createElement("span",{className:"glyphicon glyphicon-triangle-right w-list-group-icon"}):null,t.filename),r.createElement("td",{className:"w-files-operation"},r.createElement("a",{"data-name":t.name,onClick:e.view},"View"),r.createElement("a",{onClick:function(){e.recover(t)}},"Restore"),r.createElement("a",{"data-name":t.name,onClick:e.remove},"Delete")))})):r.createElement("tr",null,r.createElement("td",{colSpan:"4",style:{textAlign:"center"}},"Empty"))))),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")))}}),m=r.createClass({displayName:"RecycleBinDialogWrap",shouldComponentUpdate:function(){return!1},show:function(e){this.refs.recycleBinDialog.show(e)},hide:function(){this.refs.recycleBinDialog.hide()},isVisible:function(){return this.refs.recycleBinDialog.isVisible()},render:function(){return r.createElement(f,{ref:"recycleBinDialog"})}});e.exports=m},75355:(e,t,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t=400)&&(t+=" w-error-status"),e.mark&&(t+=" w-mark"),t}(e)+" w-req-data-item"+(e.isHttps?" w-tunnel":"")+(function(e){var t=e.rules;if(!t)return!1;var n=Object.keys(t);if(n&&n.length)for(var r=0,o=n.length;r0){var p,f=e.list,b=f.length;for(d=0;d0)for(b=f.length,d=0;d0&&(a=a.slice(v,-v)),a=a.map((function(e){var t;if((t=e.data?s('tr[data-id="'+e.data.id+'"]:not(.highlight)'):s('tr[data-tree="'+e.path+'"]:not(.highlight)')).length)return t.addClass("highlight")})).filter(c.noop),a.length&&setTimeout((function(){a.forEach(R)}),800)}}}},componentDidMount:function(){var e,t=this;h.on("hashFilterChange",(function(){t.setState({})})),h.on("onColumnsChanged",(function(){t.setState({columns:d.getSelectedColumns()})})),h.on("onColumnTitleChange",(function(){t.setState({})})),h.on("changeRecordState",(function(e,n){t.setState({record:n},t.updateList)})),h.on("selectedIndex",(function(e,n){var r=t.props.modal.getList(),o=r&&(r[n]||r[r.length-1]);o&&t.triggerActiveItem(o)})),h.on("replayTreeView",(function(e,n,r){var o=t.props.modal.getTreeNode(n),i=o&&o.parent;if(i){var a=i.children.filter(N);(o=a[a.length-1])&&t.scrollToRow(o,r)}}));var n=function(){t.setState({})},r=function(){e&&clearTimeout(e),e=setTimeout(n,60)};t.container=s(a.findDOMNode(t.refs.container)),t.content=a.findDOMNode(t.refs.content),t.$content=s(t.content).on("dblclick","tr",(function(e){h.trigger("toggleDetailTab")})).on("click","tr",(function(e){var n=this.getAttribute("data-id");if(n){m.lastSelectedDataId=n;var r=t.props.modal.getItem(n);t.onClick(e,r)}}));var o=function(e){var n=!e.shiftKey;t.state.draggable!==n&&t.setState({draggable:n})};t.container.on("keydown",(function(e){var n,r=t.props.modal;o(e),38==e.keyCode?n=r.prev():40==e.keyCode&&(n=r.next()),n&&(t.onClick(e,n,!0),e.preventDefault())})).on("scroll",r).on("keyup",o).on("mouseover",o).on("mouseleave",o),s(window).on("resize",r),h.on("ensureSelectedItemVisible",(function(){var e=t.props.modal,n=t.props.modal.getSelectedList()[0];n&&e.isTreeView&&(n=e.getTreeNode(n.id)),n?t.scrollToRow(n):t.scrollToRow(0)})),h.on("focusNetworkList",(function(){t.container.focus()}));var i,l,u=a.findDOMNode(t.refs.wrapper),p=function(){i=null,t.setState({columns:d.getSelectedColumns()})};c.addDragEvent(".w-header-drag-block",(function(e,n){t.minWidth=u.offsetWidth+n,d.setMinWidth(t.minWidth),i=i||setTimeout(p,50)}));var f=function(){var e=location.hash.substring(1),t=e.indexOf("?");if(-1!==t){var n=c.parseQueryString(e.substring(t+1),null,null,decodeURIComponent).sessionsUrl;if(/^https?:\/\/[^/]/i.test(n)&&n!==l){var r=l=n.replace(/#.*$/,"");-1===l.indexOf("&from_5b6af7b9884e1165")&&(r+=(-1===r.indexOf("?")?"?":"")+"&from_5b6af7b9884e1165"),h.trigger("importSessionsFromUrl",r)}}};f(),s(window).on("hashchange",f)},onDragStart:function(e){var t=s(e.target).closest(".w-req-data-item").attr("data-id");t&&(h.trigger("showMaskIframe"),e.dataTransfer.setData("reqDataId",t))},getSelectedRows:function(e){var t=this.props.modal.getActive();if(t&&e!==t)return[t,e]},onClick:function(e,t,n){if(t){var r,o=this,i=o.props.modal,a=e.ctrlKey||e.metaKey;n?(o.clearSelection(),this.$content.find("tr.w-selected").removeClass("w-selected"),t.selected=!0,o.setSelected(t)):e.shiftKey&&(r=o.getSelectedRows(t))?(this.$content.find("tr.w-selected").removeClass("w-selected"),i.setSelectedList(r[0],r[1],o.setSelected)):(a||(this.$content.find("tr.w-selected").removeClass("w-selected"),o.clearSelection()),t.selected=!a||!t.selected,o.setSelected(t,!0)),i.clearActive(),t.active=t.selected,n&&o.scrollToRow(t),h.trigger("networkStateChange"),h.trigger("selectedSessionChange",t)}},setSelected:function(e,t){e.selected?this.$content.find("tr[data-id="+e.id+"]").addClass("w-selected"):t&&this.$content.find("tr[data-id="+e.id+"]").removeClass("w-selected")},clearSelection:function(){this.props.modal.clearSelection()},getFilterList:function(){var e=m.getFilterText();return e.disabledExcludeText?[]:e.excludeText.trim().split(/\s+/g)},updateFilter:function(e){var t=m.getFilterText();t.excludeText=e,t.disabledExcludeText=!1,m.setFilterText(t),h.trigger("filterChanged")},getActiveList:function(e){return e.selected?this.props.modal.getSelectedList():[e]},removeAllSuchHost:function(e,t){var n=[];if(this.getActiveList(e).forEach((function(e){var t=e.isHttps?e.path:e.hostname;-1===n.indexOf(t)&&n.push(t)})),this.props.modal.removeByHostList(n),!t){var r=this.getFilterList();n.forEach((function(e){e="H:"+e,-1===r.indexOf(e)&&r.unshift(e)})),this.updateFilter(r.join("\n"))}h.trigger("updateGlobal")},removeTreeNode:function(e,t){this.props.modal.removeTreeNode(e,t)&&h.trigger("updateGlobal")},removeAllSuchURL:function(e,t){var n=[];if(this.getActiveList(e).forEach((function(e){var t=e.isHttps?e.path:e.url.replace(/\?.*$/,"").substring(0,1024);-1===n.indexOf(t)&&n.push(t)})),this.props.modal.removeByUrlList(n),!t){var r=this.getFilterList();n.forEach((function(e){-1===r.indexOf(e)&&r.unshift(e)})),this.updateFilter(r.join("\n"))}h.trigger("updateGlobal")},triggerActiveItem:function(e){this.onClick("",e,!0),h.trigger("networkStateChange")},onClickContextMenu:function(e,t,n,r){var o=this,i=o.currentFocusItem,a=o.props.modal,s=o.treeTarget,l=i&&i.url||s&&s+"/";switch(o.currentFocusItem=null,n||e){case"New Tab":l&&window.open(l);break;case"QR Code":o.refs.qrcodeDialog.show(l);break;case"Preview":c.openPreview(i);break;case"Source":c.openEditor(JSON.stringify(i,null," "));break;case"toggleView":h.trigger("switchTreeView");break;case"Overview":o.triggerActiveItem(i),h.trigger("showOverview");break;case"Inspectors":o.triggerActiveItem(i),h.trigger("showInspectors");break;case"Timeline":o.triggerActiveItem(i),h.trigger("showTimeline");break;case"Composer":case"Compose":h.trigger("composer",i);break;case"Mark":case"Unmark":var d=function(e){if(e&&!e.selected)return[e]}(i)||a&&a.getSelectedList();if(d){var u="Mark"===e;d.forEach((function(e){e.mark=u}))}this.setState({});break;case"Replay":h.trigger("replaySessions",[i,t.shiftKey]);break;case"replayTimes":h.trigger("replaySessions",[i,!0]);break;case"Export":o.treeTarget&&!o.isTreeLeafNode?h.trigger("exportSessions",[a.getListByPath(o.treeTarget)]):h.trigger("exportSessions",i);break;case"Abort":h.trigger("abortRequest",i);break;case"Req Body":h.trigger("showFilenameInput",{title:"Set the filename of request body",base64:i.req.base64,name:_(i,"req_body")});break;case"Res Body":h.trigger("showFilenameInput",{title:"Set the filename of response body",base64:i.res.base64,name:_(i,"res_body")});break;case"Req Raw":var p=i.req,g=i.realUrl;g&&/^(?:http|wss)s?:\/\//.test(g)||(g=i.url);var b=[p.method,"CONNECT"==p.method?p.headers.host:c.getPath(g),"HTTP/"+(p.httpVersion||"1.1")].join(" ");h.trigger("showFilenameInput",{title:"Set the filename of request raw data",headers:b+"\r\n"+c.objectToString(p.headers,p.rawHeaderNames,!0),base64:p.base64,name:_(i,"req_raw")});break;case"Res Raw":var v=i.res,y=["HTTP/"+(i.req.httpVersion||"1.1"),v.statusCode,c.getStatusMessage(v)].join(" ");h.trigger("showFilenameInput",{title:"Set the filename of response raw data",headers:y+"\r\n"+c.objectToString(v.headers,v.rawHeaderNames,!0),base64:i.res.base64,name:_(i,"res_raw")});break;case"Import":h.trigger("importSessions",t);break;case"Edit":h.trigger("filterSessions",t);break;case"removeAllSuchHost":l&&o.removeAllSuchHost(i,!0);break;case"removeAllSuchURL":l&&o.removeAllSuchURL(i||l,!0);break;case"excludeHost":l&&o.removeAllSuchHost(i);break;case"excludeUrl":l&&o.removeAllSuchURL(i||l);break;case"This":s?o.removeTreeNode(s):h.trigger("removeIt",i);break;case"All":h.trigger("clearAll");break;case"Others":s?o.removeTreeNode(s,!0):h.trigger("removeOthers",i);break;case"Selected":h.trigger("removeSelected");break;case"Unselected":h.trigger("removeUnselected");break;case"Unmarked":h.trigger("removeUnmarked");break;case"Help":window.open("https://avwo.github.io/whistle/webui/network.html");break;case"Plugins":f.fork(e,{port:m.getPort(),type:"network",name:r,activeItem:i,selectedList:o.props.modal.getSelectedList()});break;case"Expand":case"Collapse":o.toggleNode(s);break;case"Expand All":o.expandAll(s);break;case"Collapse All":o.collapseAll(s)}},onContextMenu:function(e){var t=s(e.target).closest(".w-req-data-item"),n=t.attr("data-id"),r=t.attr("data-tree"),o=this.props.modal,i=o.getItem(n),a=!i,l=o.isTreeView&&o.getTreeNode(r);this.treeTarget=null,e.preventDefault(),this.currentFocusItem=i;var d=a&&!l,u=x[0].list;if(u[4].disabled=d||!/^https?:\/\//.test(r||i.url),a||d)u[6].disabled=!0;else{var p=c.getContentType(i.res.headers);u[6].disabled=!i.res.base64||"HTML"!==p&&"IMG"!==p}u[0].disabled=a,u[1].disabled=a,u[2].disabled=a,u[3].disabled=a,u[5].disabled=d,u[7].disabled=a,o.isTreeView?u[8].name="List View":u[8].name="Tree View",x[1].disabled=a&&!r;var h=r?r+"/":"",f=a&&!h;x[1].list.forEach((function(e){switch(e.disabled=a,e.name){case"URL":e.copyText=c.getUrl(i&&i.url.replace(/[?#].*$/,"")||h),e.disabled=f;break;case"Host":e.copyText=i&&(i.isHttps?i.path:i.hostname)||c.getHost(h),e.disabled=f;break;case"Path":e.copyText=i&&i.path||c.getPath(h),e.disabled=f;break;case"Full URL":e.copyText=c.getUrl(i&&i.url||h),e.disabled=f;break;case"As CURL":e.copyText=c.asCURL(i);break;case"Client IP":e.copyText=i&&i.clientIp;break;case"Server IP":var t=i&&c.getServerIp(i);e.disabled=!t,e.copyText=t;break;case"Req Headers":e.copyText=i&&c.objectToString(i.req.rawHeaders||i.req.headers),e.disabled=!e.copyText;break;case"Res Headers":e.copyText=i&&c.objectToString(i.res.rawHeaders||i.res.headers),e.disabled=!e.copyText;break;case"Cookie":var n=i&&i.req.headers.cookie;e.disabled=!n,e.copyText=n}}));var g=x[2].list;x[2].disabled=a;for(var b=0;b<4;b++)g[b].disabled=a;a||(g[0].disabled=!i.requestTime||!i.req.base64,g[1].disabled=!i.endTime||!i.res.base64,g[2].disabled=!i.requestTime,g[3].disabled=!i.endTime);var v=o.getSelectedList(),y=v.length,w=o.list.length,C=x[3].list;x[3].disabled=!w,C[0].disabled=!w,C[1].disabled=d,C[2].disabled=a||y===w,C[3].disabled=!y,C[4].disabled=y===w,C[5].disabled=!o.hasUnmarked(),C[6].disabled=d,C[7].disabled=d;var k=x[4].list;k[1].disabled=d,k[2].disabled=d,x[5].disabled=a;var S=x[5].list;if(i){if(S[3].disabled=!1,i.selected)S[4].disabled=!0,S[5].disabled=!0,v.forEach((function(e){e.mark?S[5].disabled=!1:S[4].disabled=!1}));else{var E=!i.mark;S[4].disabled=!E,S[5].disabled=E}if(i.selected){var T=v.length;S[0].disabled=!v.filter(c.canAbort).length,S[1].disabled=!T,S[2].disabled=!T||T>1}else S[0].disabled=!c.canAbort(i),S[1].disabled=!1,S[2].disabled=!1}else S[0].disabled=!0,S[1].disabled=!0,S[2].disabled=!0,S[3].disabled=!0,S[4].disabled=!0;var N=x[6],_=N.list;if(N.hide=!o.isTreeView,N.disabled=!l&&!w,l){var R=l.data,M=l.expand;this.treeTarget=r,this.isTreeLeafNode=R,_[0].disabled=M||R,_[1].disabled=!M||R,_[2].disabled=R,_[3].disabled=R;var O=(l.parent||o.root).children.length;C[2].disabled=O<=1}else o.isTreeView&&(_[0].disabled=!0,_[1].disabled=!0,_[2].disabled=!w,_[3].disabled=!w);var I=x[9];I.disabled=a&&!y,c.addPluginMenus(I,m.getNetworkMenus(),N.hide?8:9,a);var A=(N.hide?310:340)-(I.hide?30:0);I.maxHeight=A;var D=c.getMenuPosition(e,110,A);D.list=x,D.className=D.marginRight<360?"w-ctx-menu-left":"",this.refs.contextMenu.show(D)},updateList:function(){this.refs.content.refs.list.forceUpdateGrid()},onFilterChange:function(e){var t=this;t.props.modal.search(e),clearTimeout(t.networkStateChangeTimer),t.networkStateChangeTimer=setTimeout((function(){t.setState({filterText:e},t.updateList),h.trigger("networkStateChange")}),600)},onFilterKeyDown:function(e){13===e.keyCode&&y.test(e.target.value)&&(m.setDumpCount(parseInt(RegExp.$1,10)),this.props.modal.clear(),this.refs.filterInput.clearFilterText())},autoRefresh:function(){this.container&&(this.container.find(".ReactVirtualized__Grid:first").scrollTop=1e8)},orderBy:function(e){var t=this.willResort&&s(e.target).closest("th")[0];if(t){var n,r=t.className;"order"==r?v={}:(n=v[r],v[r]="desc"==n?"asc":"asc"==n?null:"desc");var o=[];Object.keys(v).forEach((function(e){(n=v[e])&&o.push({name:e,order:n})})),this.props.modal.setSortColumns(o),this.setState({})}},onColumnsResort:function(){this.setState({columns:d.getSelectedColumns()})},onMouseDown:function(e){this.willResort="w-header-drag-block"!==e.target.className},onReplay:function(e){(e.metaKey||e.ctrlKey)&&(82===e.keyCode?h.trigger("replaySessions",[null,e.shiftKey]):65===e.keyCode?(e.preventDefault(),h.trigger("abortRequest")):69===e.keyCode&&(e.preventDefault(),h.trigger("composer")))},renderColumn:function(e,t){var n,o=e.name,a=S(e);return v[o]&&(a.color="#337ab7"),n="custom1"===o||"custom2"===o?m[o]:e.title,i.createElement("th",r({onMouseDown:this.onMouseDown},this.state.dragger,{"data-name":o,draggable:!0,key:o,className:e.className,style:a}),"path"===o?i.createElement("div",{onDragStart:C,draggable:!0,className:"w-header-drag-block"}):void 0,n,i.createElement(k,{order:v[o]}))},scrollToRow:function(e,t){if(e&&(e.id||e.data&&e.data.id)){var n=this.getVisibleList().indexOf(e);if(-1===n)return;e=n+(t>0?t:0)}try{this.refs.content.refs.list.scrollToRow(e)}catch(e){}this.container.focus()},getTreeNode:function(e){var t=this.props.modal;if("string"==typeof e)return t.getTreeNode(e);var n=s(e.target).closest(".w-req-data-item");return t.getTreeNode(n.attr("data-tree"))},toggleNode:function(e){var t=this.getTreeNode(e);t&&(t.expand?c.collapse(t):c.expand(t),this.setState({}))},expandAll:function(e){if(!e)return this.props.modal.getTree().children.forEach(c.expandAll),this.setState({});var t=this.getTreeNode(e);t&&(c.expandAll(t),this.setState({}))},collapseAll:function(e){if(!e)return this.props.modal.getTree().children.forEach(c.collapseAll),this.setState({});var t=this.getTreeNode(e);t&&(c.collapseAll(t),this.setState({}))},renderTreeNode:function(e,t){var n=this.state.draggable,r=t.style,o=e.data,a=o?E(o):"",s=e.value;return r.marginLeft=32*e.depth,i.createElement("tr",{key:o?o.id:e.path,style:r,className:"w-req-data-item tree-node ".concat(o?"tree-leaf":""," ").concat(a),"data-id":o&&o.id,"data-tree":e.path,draggable:o&&n,onClick:o?null:this.toggleNode,title:o?c.getUrl(o.url):s,onKeyDown:function(){}},o?function(e,t){if(-1!==t.indexOf("danger"))return i.createElement("span",{className:"icon-leaf glyphicon glyphicon-remove-circle"});if(-1!==t.indexOf("w-forbidden"))return i.createElement("span",{className:"icon-leaf glyphicon glyphicon-ban-circle"});if(e&&!e.endTime&&!e.lost)return i.createElement("span",{className:"icon-leaf glyphicon glyphicon-hourglass"});var n=function(e){return-1!==e.indexOf("w-error-status")?"ERROR":-1!==e.indexOf("warning")?"JS":-1!==e.indexOf("info")?"CSS":-1!==e.indexOf("success")?"HTML":-1!==e.indexOf("active")?"IMG":-1!==e.indexOf("_json")?"JSON":-1!==e.indexOf("_xml")?"XML":""}(t),r=e.res&&e.res.statusCode;return"ERROR"!==n&&101!=r&&(r=null),i.createElement("span",{className:r||n?"w-type-icon":"glyphicon glyphicon-file"},r||n||null)}(o,a):i.createElement("span",{className:"icon-fold glyphicon glyphicon-triangle-".concat(e.expand?"bottom":"right")}),s.length>320?s.substring(0,320)+"...":s)},enableRecord:function(){h.trigger("enableRecord")},getVisibleList:function(){var e=this.props.modal;return e.isTreeView?e.getTree().list.filter(N):e.getList().filter(T)},render:function(){var e=this,t=this.state,n=e.props.modal,r=n.isTreeView,a=this.getVisibleList(),s=n.hasKeyword(),c=t.draggable,h=t.columns.list,f=t.columns.width,g=t.columns.style,b=(t.filterText||"").trim(),v=d.getMinWidth(),y=t.record;return v&&v>f&&(f=v,g.minWidth=f),e.startIndex=null,e.endIndex=null,e.visibleList=a,i.createElement("div",{className:"fill w-req-data-con orient-vertical-box"},i.createElement("div",{ref:"wrapper",className:"w-req-data-content fill orient-vertical-box",style:g},y?i.createElement("div",{className:"w-record-status"},"stop"===y?"Recording stopped":"Recording paused",i.createElement("button",{className:"btn btn-primary",onClick:e.enableRecord},"Enable")):null,i.createElement("div",{className:"w-req-data-headers"+(r?" hide":"")},i.createElement("table",{className:"table"},i.createElement("thead",null,i.createElement("tr",{onClick:e.orderBy},i.createElement("th",{className:"order"},"#"),h.map(e.renderColumn))))),i.createElement("div",{ref:"container",tabIndex:"0",onContextMenu:e.onContextMenu,onKeyDown:e.onReplay,style:{background:m.hashFilterObj||b?"lightyellow":void 0},className:"w-req-data-list fill"+(r?" w-tree-view-list":""),onDragStart:e.onDragStart},i.createElement(o.AutoSizer,{ref:"content"},(function(t){return i.createElement(o.List,{ref:"list",rowHeight:r?24:28,width:t.width,height:t.height,rowCount:a.length,rowRenderer:function(t){var n=t.index,o=a[n];if(r)return null==e.startIndex&&(e.startIndex=n),e.endIndex=n,e.renderTreeNode(o,t);var l=s?n+1:o.order;return i.createElement(M,{style:t.style,key:t.key,order:l,columnList:h,draggable:c,item:o})}})})))),i.createElement(u,{ref:"filterInput",onKeyDown:this.onFilterKeyDown,onChange:this.onFilterChange,wStyle:g,hintKey:"networkHintList"}),i.createElement(p,{onClick:this.onClickContextMenu,ref:"contextMenu"}),i.createElement(l,{ref:"qrcodeDialog"}))}});e.exports=O},95621:(e,t,n)=>{n(81132),n(18045);var r=n(57588),o=n(22167),i=n(97079),a=n(43278),s=n(73061),l=n(14412),c=n(6988),d=n(50897),u=n(41583),p=n(25927),h=[{name:"Headers"},{name:"WebForms"},{name:"TextView",display:"Body"},{name:"JSONView"},{name:"HexView"},{name:"Cookies"},{name:"Raw"},{name:"Plugins",hide:!0}],f=r.createClass({displayName:"ReqDetail",getInitialState:function(){return{initedHeaders:!1,initedTextView:!1,initedCookies:!1,initedWebForms:!1,initedJSONView:!1,initedHexView:!1,initedRaw:!1,initPlugins:!1}},componentDidMount:function(){var e=this;p.on("reqTabsChange",(function(){e.setState({})}))},shouldComponentUpdate:function(e){var t=a.getBoolean(this.props.hide);return t!=a.getBoolean(e.hide)||!t},onClickBtn:function(e){this.selectBtn(e),this.setState({})},selectBtn:function(e){e.active=!0,this.state.btn=e,this.state["inited"+e.name]=!0},render:function(){var e=this.state,t=e.btn;t||(t=h[0],this.selectBtn(t));var n,p,f,m,g,b,v,y,w,x,C,k,S,E,T=t&&t.name,N=this.props.modal;if(b=v="",N){m=(n=N.req).rawHeaders,k=a.getFilename(N,!0),b=a.getBody(n,!0),S=a.getHex(n),E=n.base64,p=n.headers,C=a.getJson(n,!0,decodeURIComponent),delete p.Host,g=a.parseQueryString(p.cookie,/;\s*/g,null,decodeURIComponent);var _=N.url,R=N.realUrl;R&&/^(?:http|wss)s?:\/\//.test(R)||(R=_);var M=R.indexOf("?");y=(y=-1==M?"":R.substring(M+1))&&a.parseQueryString(y,null,null,decodeURIComponent),a.isUrlEncoded(n)?(w=a.parseQueryString(a.getBody(n,!0),null,null,decodeURIComponent),window.___hasFormData||(w=null)):a.isUploadForm(n)&&(w=a.parseUploadBody(n,!0)),f=a.objectToString(p,n.rawHeaderNames),v=(f=[n.method,"CONNECT"==n.method?p.host:a.getPath(R),"HTTP/"+(n.httpVersion||"1.1")].join(" ")+"\r\n"+f)+"\r\n\r\n"+b,N.useFrames?x={isFrames:!0}:N.isHttps?x={isHttps:!0}:!N.requestTime||!1===N.useFrames||b||/^ws/.test(N.url)||(n.size<5120?x={message:"No request body data"}:(v+="(Request data too large to show)",x={message:"Request data too large to show"}))}e.raw=v,e.body=b,E=E||"";var O=h[7],I=d.getReqTabs(),A=I.length;return O.display=void 0,O.title=void 0,O.className=void 0,O.hide=!A,A&&1===A?(O.display=O.title=I[0].name,O.className="w-detail-custom-tab w-req"):(O.display=void 0,O.title=void 0,O.className=void 0),r.createElement("div",{className:"fill orient-vertical-box w-detail-content w-detail-request"+(a.getBoolean(this.props.hide)?" hide":"")},r.createElement(s,{onClick:this.onClickBtn,btns:h}),e.initedHeaders?r.createElement("div",{className:"fill w-detail-request-headers"+(T==h[0].name?"":" hide")},r.createElement(i,{modal:m||p,enableViewSource:"1"})):"",e.initedWebForms?r.createElement(o,{vertical:"true",hideRight:!w,hideLeft:!y,className:"w-detail-request-webforms"+(T==h[1].name?"":" hide")},r.createElement("div",{className:"fill orient-vertical-box"},r.createElement("div",{className:"w-detail-webforms-title"},"Query"),r.createElement("div",{className:"fill orient-vertical-box w-detail-request-query"},r.createElement(i,{modal:y,enableViewSource:"1"}))),r.createElement("div",{className:"fill orient-vertical-box"},r.createElement("div",{className:"w-detail-webforms-title"},"Body"),r.createElement("div",{className:"fill orient-vertical-box w-detail-request-form"},r.createElement(i,{modal:w,enableViewSource:"1"})))):"",e.initedTextView?r.createElement(c,{defaultName:k,tips:x,base64:E,value:b,className:"fill w-detail-request-textview",hide:T!=h[2].name}):void 0,e.initedJSONView?r.createElement(l,{defaultName:k,data:C,hide:T!=h[3].name}):void 0,e.initedHexView?r.createElement(c,{defaultName:k,isHexView:"1",base64:E,value:S,className:"fill n-monospace w-detail-request-hex",hide:T!=h[4].name}):void 0,e.initedCookies?r.createElement("div",{className:"fill w-detail-request-cookies"+(T==h[5].name?"":" hide")},r.createElement(i,{modal:g,enableViewSource:"1"})):void 0,e.initedRaw?r.createElement(c,{defaultName:k,value:v,headers:f,base64:E,className:"fill w-detail-request-raw",hide:T!=h[6].name}):void 0,e.initedPlugins?r.createElement(u,{tabs:I,hide:T!=O.name||O.hide}):void 0)}});e.exports=f},40919:(e,t,n)=>{n(81132),n(27388);var r=n(19755),o=n(57588),i=n(34014),a=n(97079),s=n(43278),l=n(73061),c=n(6988),d=n(69216),u=n(14412),p=n(50897),h=n(41583),f=n(25927),m=["Name","Value","Domain","Path","Expires","Max-Age","HttpOnly","Secure","SameSite"],g=o.createClass({displayName:"ResDetail",getInitialState:function(){return{initedHeaders:!1,initedTrailers:!1,initedTextView:!1,initedPreview:!1,initedCookies:!1,initedJSONView:!1,initedHexView:!1,initedRaw:!1,initPlugins:!1,btns:[{name:"Headers"},{name:"Preview"},{name:"TextView",display:"Body"},{name:"JSONView"},{name:"HexView"},{name:"Cookies"},{name:"Trailers"},{name:"Raw"},{name:"Plugins",hide:!0}]}},componentDidMount:function(){var e=this;f.on("resTabsChange",(function(){e.setState({})}))},shouldComponentUpdate:function(e){var t=s.getBoolean(this.props.hide);return t!=s.getBoolean(e.hide)||!t},onClickBtn:function(e){this.selectBtn(e),this.setState({})},selectBtn:function(e){e.active=!0,this.state.btn=e,this.state["inited"+e.name]=!0},render:function(){var e=this.state,t=e.btns,n=e.btn;n||(n=t[0],this.selectBtn(n));var f,g,b,v,y,w,x,C,k,S,E,T,N,_,R,M=n&&n.name,O=this.props.modal;if(k=S="",O){var I,A,D;f=O.res,N=s.getFilename(O,!0),g=f.rawHeaders,b=f.rawTrailers,k=s.getBody(f),R=s.getHex(f),_=f.base64,w=f.headers,x=f.trailers,E=s.getJson(f),w&&w["set-cookie"]&&(C=w["set-cookie"],r.isArray(C)||(C="string"==typeof C?[C]:[]),C=C.map((function(e){e=s.parseQueryString(e,/;\s*/,null,decodeURIComponent,!0);var t=["","","","","","","","",""];for(var n in e)switch(n.toLowerCase()){case"domain":t[2]=e[n];break;case"path":t[3]=e[n];break;case"expires":t[4]=e[n];break;case"max-age":t[5]=e[n];break;case"httponly":t[6]="√";break;case"secure":t[7]="√";break;case"samesite":t[8]=e[n];break;default:t[0]||(t[0]=n,t[1]=e[n])}return t})));var L=!0,P=f.statusCode,z=M===t[1].name;if(null!=P){v=s.objectToString(w,f.rawHeaderNames),y=x?s.objectToString(x,f.rawTrailerNames):"",S=(v=["HTTP/"+(O.req.httpVersion||"1.1"),P,s.getStatusMessage(f)].join(" ")+"\r\n"+v)+"\r\n\r\n"+k;var F=!O.resError&&s.getRawType(w),H=s.getContentType(F);D="JSON"===H,"image/svg+xml"===F?(I="data:image/svg+xml;base64,"+(f.base64||""),L=!1):"IMG"===H?(I=k||(f.size?O.url:void 0),L=!1):z&&f.base64&&"HTML"===H&&(E&&E.isJSONText?D=!0:(!k||-1!==k.indexOf("<")&&-1!==k.indexOf(">"))&&(A=O,L=!1))}O.useFrames?T={isFrames:!0}:O.isHttps?T=!k&&{isHttps:!0}:f.size>=0&&w&&!1!==O.useFrames&&!k&&O.endTime&&!/^ws/.test(O.url)&&(T={url:O.url},f.size<5120?T.message="No response body data":(S+="(Response data too large to show)",T.message="Response data too large to show")),y&&(S+="\r\n\r\n"+y)}e.raw=S,e.body=k,L&&"Preview"===M&&(z=!1,D?(M="JSONView",e.initedJSONView=!0):(M="TextView",e.initedTextView=!0)),_=_||"";var j=t[8],U=p.getResTabs(),B=this.props.inComposer?0:U.length;return j.hide=!B,B&&1===B?(j.display=j.title=U[0].name,j.className="w-detail-custom-tab"):(j.display=void 0,j.title=void 0,j.className=void 0),o.createElement("div",{className:"fill orient-vertical-box w-detail-content w-detail-response"+(s.getBoolean(this.props.hide)?" hide":"")},o.createElement(l,{onClick:this.onClickBtn,btns:t}),e.initedHeaders?o.createElement("div",{className:"fill w-detail-response-headers"+(M==t[0].name?"":" hide")},o.createElement(a,{modal:g||w,enableViewSource:"1"})):void 0,e.initedPreview?o.createElement(d,{imgSrc:I,data:A,hide:!z}):void 0,e.initedTextView?o.createElement(c,{defaultName:N,tips:T,base64:_,value:k,className:"fill w-detail-response-textview",hide:M!=t[2].name}):void 0,e.initedJSONView?o.createElement(u,{defaultName:N,data:E,hide:M!=t[3].name}):void 0,e.initedHexView?o.createElement(c,{defaultName:N,isHexView:"1",base64:_,value:R,className:"fill n-monospace w-detail-response-hex",hide:M!=t[4].name}):void 0,e.initedCookies?o.createElement("div",{className:"fill w-detail-response-cookies"+(M==t[5].name?"":" hide")},C&&C.length?o.createElement(i,{head:m,modal:C}):void 0):void 0,e.initedTrailers?o.createElement("div",{className:"fill w-detail-response-headers"+(M==t[6].name?"":" hide")},o.createElement(a,{modal:b||x,enableViewSource:"1"})):void 0,e.initedRaw?o.createElement(c,{defaultName:N,value:S,headers:v,base64:_,className:"fill w-detail-response-raw",hide:M!=t[7].name}):void 0,e.initedPlugins?o.createElement(h,{tabs:U,hide:M!=j.name||j.hide}):void 0)}});e.exports=g},57404:(e,t,n)=>{n(41090),n(71707);for(var r,o,i,a,s,l,c,d,u,p,h=n(19755),f=n(4631),m=n(79196),g=n(50897),b=-1!==window.location.href.indexOf("disabledEditor=1"),v=/[^:/]/,y=/^((?:whistle\.)?([a-z\d_\-]+:))(\/?$|\/\/)/,w=/^@/,x=/^%/,C=/^%([a-z\d_-]+)([=.])/,k=/^(pipe|sniCallback):/,S=/^([^\s:]+):\/\//,E={},T={"Alt-/":"autocomplete"},N=["-",'"_"',"Shift-2",".",",","Shift-,","Shift-.","Shift-;","/","Shift-/","Shift-1","Shift-4","Shift-5","Shift-6","Shift-7","Shift-8","=","Shift-=","'","Shift-'",";","Shift-;","\\","Shift-\\","Shift-`","[","]","Shift-[","Shift-]","Shift-9","Shift-0"],_=0;_<10;_++)N.push("'"+_+"'");for(var R="a".charCodeAt(),M="z".charCodeAt();R<=M;R++){var O=String.fromCharCode(R);N.push("'"+O.toUpperCase()+"'"),N.push("'"+O+"'")}function I(e,t){return"string"!=typeof t&&(t=""),t||e.homepage||"https://avwo.github.io/whistle/plugins.html"}function A(e,t,n,r){return n?e+(r?".":"=")+t:e+"://"+t}h(window).on("hashchange",(function(){var e=-1!==window.location.href.indexOf("disabledEditor=1");e!==b&&(b=e)}));var D,L,P,z=/\S+/;function F(e,t){return t&&!t()||setTimeout((function(){e.state.completionActive||e.showHint({hint:f.hint.rulesHint,completeSingle:!1})}),100),f.Pass}f.registerHelper("hint","rulesHint",(function(e,t){D=!1,L=!1,p=!1,o=null;var n=e._byDelete||e._byPlugin,h=e._byEnter;e._byDelete=e._byPlugin=e._byEnter=!1;var S,T=e.getCursor(),N=e.getLine(T.line),_=T.ch,R=_,M=N.indexOf("#");if(!(-1!==M&&M100))return}else if((F=2===(F=RegExp.$3||"").length?j.substring(j.indexOf("//")+2):"")&&(F.length>512||h))return;clearTimeout(s);var V=H?"%"+P:RegExp.$1.slice(0,-1);if(W.hintList){if(F?(F=F.toLowerCase(),a=W.hintList.filter((function(e){return"string"==typeof e?-1!==e.toLowerCase().indexOf(F):-1!==e.text.toLowerCase().indexOf(F)||e.displayText&&-1!==e.displayText.toLowerCase().indexOf(F)}))):a=W.hintList,!a.length)return;E={},a=a.map((function(e){var t,n;return"string"==typeof e?n=A(V,e,H):(n=A(V,e.text,H,e.isKey),e.displayText&&(t={text:n=e.displayText,displayText:e.displayText})),E[n]=I(O,e.help),t||n})),l="",c=0,r=V,F=i}if(a&&a.length&&r===V&&F===i){-1!==M&&(N=N.substring(0,M)),N=N.substring(R).split(/\s/,1)[0],o=V,_=R+N.trim().length;var G=f.Pos(T.line,R),K=f.Pos(T.line,_),Z=a,J="cursor"===l;if((c||J)&&(Z=Z.map((function(e){var t={from:G,to:K};return"string"==typeof e?(t.text=e,t.displayText=e):(t.text=e.text,t.displayText=e.displayText),t})),J&&(G=T)),"tail"===l){var Y=G;G=K,K=Y}return c&&((R=Math.max(R,G.ch+c))>_&&(R=_),G=f.Pos(T.line,R)),{list:Z,from:G,to:K}}p=!0,s=setTimeout((function(){var t=function(e,t){var n=e.moduleName,r=t&&t.hintUrl||e.hintUrl||"",o="plugin."+n.substring(8);return 0!==r.indexOf(n)&&0!==r.indexOf(o)&&(r=o+"/"+r),d!==r&&(u&&(u.hasDestroyed=!0),d=r,u=g.createCgi(r,!0)),u}(O,W);e._bindedHintEvents||(e._bindedHintEvents=!0,e.on("blur",(function(){p=!1}))),t({protocol:V,value:F},(function(n){!function(e,t,n,o,s,d,u){if(a=[],E={},l=null,c=0,e&&!d.hasDestroyed&&(Array.isArray(e)||Array.isArray(e.list))){i=s,r=o;var h=0;Array.isArray(e)||(l=e.position,c=parseInt(e.offset,10)||0,e=e.list);var f=u?100:512;e.forEach((function(e){if(!(h>=60))if("string"==typeof e)(e=A(o,e.trim(),u)).lengtho&&o>=0?1:-1})),"csp"===e?n.push("disable://csp"):-1!=="upstream".indexOf(e)?n.push("proxy://","xproxy://"):-1!=="xupstream".indexOf(e)?n.push("xproxy://"):-1!=="extend".indexOf(e)&&n.push("reqMerge://","resMerge://"),n}(j),S.length){var $,Q=N.indexOf("://",R);if(-1!==Q)Q+=3,$=N.substring(R,Q),/\s/.test($)||0===j.indexOf("red")&&($===j+"http://"||$===j+"https://")||(_=Q);else if(-1!==(Q=N.indexOf(":",R))&&(++Q,$=N.substring(R,Q)+"//",-1!==S.indexOf($))){var X=N[_=Q];"/"===X&&"/"===(X=N[++_])&&_++}return{list:S,from:f.Pos(T.line,R),to:f.Pos(T.line,_)}}}})),f.commands.autocomplete=function(e){e.showHint({hint:f.hint.rulesHint,completeSingle:!1})},N.forEach((function(e){T[e]=F})),t.getExtraKeys=function(){return T},t.getHelpUrl=function(e,t){var n,i=function(e){var t;P=null;var n=h("li.CodeMirror-hint-active");if(n.is(":visible"))if(t=n.text(),D)t="@"+t;else if(L)t="%"+t;else{var r=t.indexOf(":");P=t,-1!==r&&(t=t.substring(0,r))}else{var o=e.getCursor(),i=o.ch,a=e.getLine(o.line).replace(/(#.*|\s+)$/,""),s=a.length;if(i<=s){for(var l=i;--l>=0&&!/\s/.test(a[l]););for(++l;++i<=s&&!/\s/.test(a[i]););a=a.slice(l,i),w.test(a)||x.test(a)?t=a:S.test(a)&&(t=RegExp.$1)}}return t}(e);if(w.test(i)&&(n=function(e,t){try{var n=window.parent.getAtHelpUrlForWhistle;if("function"==typeof n){var r=n(e,t);if(!1===r||"string"==typeof r)return r}}catch(e){}return"https://avwo.github.io/whistle/rules/@.html"}(i.substring(1),t)))return n;if(!1===n)return!1;if(P&&(i===r||o===r)&&(n=E[P]))return n;if(C.test(i)){var a=(i=i.substring(1,RegExp.$1.length+1))&&m.getPlugin(i);return(a=a&&a.homepage)||"https://avwo.github.io/whistle/plugins.html?plugin="+i}return m.getHelpUrl(i)}},22592:(e,t,n)=>{var r=n(4631),o=n(25927),i=n(79196),a=i.getForwardRules(),s=i.getPluginRules(),l=i.getPluginNameList(),c=/^\.[\w-]+(?:[?$]|$)/,d=/^\.[^./?]+\.[^/?]/,u=/^(?:::(?:ffff:)?)?(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)(?:\:(\d+))?$/,p=/^[\da-f]{1,4}(?::[\da-f]{1,4}){7}$/,h=/^[\da-f]{1,4}(?::[\da-f]{1,4}){0,6}$/,f=/^\[([:\da-f.]+)\](?::(\d+))?$/i,m=/^%([a-z\d_\-]+)[=.]/;function g(e){return e&&(0==e||e>65535)}o.on("updatePlugins",(function(){a=i.getForwardRules(),s=i.getPluginRules(),l=i.getPluginNameList()})),r.defineMode("rules",(function(){function e(e){return/^x?(?:proxy|https?-proxy|http2https-proxy|https2http-proxy|internal-proxy|internal-https?-proxy):\/\//.test(e)}function t(e){if(!/^(?:\$?(?:https?:|wss?:|tunnel:)?\/\/)?([^/?]+)/.test(e))return!1;var t=RegExp.$1;return-1!==t.indexOf("*")||-1!==t.indexOf("~")||d.test(t)}return{token:function(n,r){if(n.eatSpace())return null;var o=n.next();if("#"==o)return n.eatWhile((function(e){return!0})),"comment";var i,d,b="!"===o,v=b?n.next():o,y="";if(n.eatWhile((function(n){return!/\s/.test(n)&&"#"!=n&&("line"===v&&"`"===n?(y="keyword js-keyword",!1):(v+=n,y||"/"!=n||"/"!=i||(function(e){return/^x?hosts?:\/\//.test(e)}(v)?y="number js-number js-type":function(e){return/^head:\/\//.test(e)}(v)?y="header js-head js-type":function(e){return/^weinre:\/\//.test(e)}(v)?y="atom js-weinre js-type":e(v)?y="tag js-proxy js-type":function(e){return/^(?:referer|auth|ua|forwardedFor|reqCookies|reqDelay|reqSpeed|reqCors|reqHeaders|method|reqType|reqCharset|reqBody|reqPrepend|reqAppend|reqReplace|reqWrite|reqWriteRaw):\/\//.test(e)}(v)?y="variable-2 js-req js-type":function(e){return/^(?:resScript|resRules|responseFor|resCookies|resHeaders|trailers|replaceStatus|resDelay|resSpeed|resCors|resType|resCharset|cache|attachment|download|resBody|resPrepend|resAppend|css(?:Append|Prepend|Body)?|html(?:Append|Prepend|Body)?|js(?:Append|Prepend|Body)?|resReplace|resMerge|resWrite|resWriteRaw):\/\//.test(e)}(v)?y="positive js-res js-type":function(e){return/^(?:urlParams|params|reqMerge|urlReplace|pathReplace):\/\//.test(e)}(v)?y="meta js-params js-type":function(e){return/^log:\/\//.test(e)}(v)?y="atom js-log js-type":function(e){return/^style:\/\//.test(e)}(v)?y="atom js-style js-type":function(e){return/^(?:pipe|sniCallback):\/\//.test(e)||/^(?:plugin|whistle)\.[a-z\d_\-]+:\/\//.test(e)&&!function(e){return e=e.substring(0,e.indexOf(":")),-1==s.indexOf(e)}(e)}(v)?y="variable-2 js-plugin js-type":function(e){return/^headerReplace:\/\//.test(e)}(v)?y="variable-2 js-headerReplace js-type":function(e){return/^(?:excludeFilter|filter):\/\//.test(e)}(v)?y="negative js-filter js-type":function(e){return/^lineProps:\/\//.test(e)}(v)?y="negative js-line-props js-type":function(e){return/^(?:ignore|skip):\/\//.test(e)}(v)?y="negative js-ignore js-type":function(e){return/^(?:includeFilter|enable):\/\//.test(e)}(v)?y="atom js-enable js-type":function(e){return/^disable:\/\//.test(e)}(v)?y="negative js-disable js-type":function(e){return/^cipher:\/\//.test(e)}(v)?y="atom js-cipher js-type":function(e){return/^delete:\/\//.test(e)}(v)?y="negative js-delete js-type":e(v)?y="variable-2 js-proxy js-type":function(e){return/^x?socks:\/\//.test(e)}(v)?y="variable-2 js-socks js-type":function(e){return/^pac:\/\//.test(e)}(v)?y="variable-2 js-pac js-type":function(e){return/^(?:rules?(?:File|Script)|reqScript|reqRules):\/\//.test(e)}(v)?y="variable-2 js-rulesFile js-type":function(e){return/^(?:https?|wss?|tunnel):\/\//i.test(e)}(v)?(d=!0,y="string-2 js-url js-type"+("h"===v[0]?" js-http-url":"")):t(v)?y="attribute js-attribute":function(e){return/^[\w\.-]+:\/\//i.test(e)}(v)&&(y="builtin js-rule js-type"+(function(e){return e=e.substring(0,e.indexOf(":")),-1==a.indexOf(e)&&"status"!==e}(v)?" error-rule":""))),i=n,!0))})),v){if(y){if(d&&t(v))return"attribute js-attribute"}else{if(function(e){return/^\/[^/](.*)\/i?$/.test(e)||/^\$/.test(e)}(v)||/^\^/.test(x=v)||c.test(x)||function(e){return/^:\d{1,5}$/.test(e)}(v))return"attribute js-attribute";var w;/^@/.test(v)?y="atom js-at js-type":(w=function(e){return m.test(e)&&RegExp.$1}(v))?(y="variable-2 js-plugin-var js-type",-1===l.indexOf(w)&&(y+=" error-rule")):t(v)?y="attribute js-attribute":function(e){var t;if(f.test(e)&&(e=RegExp.$1,g(t=RegExp.$2)))return!1;if(u.test(e))return!(!t&&g(RegExp.$1));var n=e.indexOf("::");return-1!==n?"::"!==e&&-1===e.indexOf("::",n+1)&&(e=(e=e.split("::",2))[0]&&e[1]?e.join(":"):e[0]||e[1],h.test(e)):p.test(e)}(v)?y="number js-number":(/^\{.*\}$/.test(v)||/^<.*>$/.test(v)||/^\(.*\)$/.test(v)||function(e){return/^[a-z]:(?:\\|\/(?!\/))/i.test(e)||/^\/[^/]/.test(e)}(v))&&(y="builtin js-rule js-type")}var x;return b?y+" error-rule":y||"js-http-url"}}}}))},16813:(e,t,n)=>{n(81132),n(10316);var r=n(19755),o=n(57588),i=n(73935),a=n(77063),s=n(43278),l=n(50897),c=n(44882),d=n(21043),u=n(25927),p=n(23182),h=n(90339),f=o.createClass({displayName:"ServerLog",getInitialState:function(){return{scrollToBottom:!0,levels:[{value:"",text:"All levels"},{value:"debug",text:"Debug"},{value:"info",text:"Info/Log"},{value:"warn",text:"Warn"},{value:"error",text:"Error"},{value:"fatal",text:"Fatal"}]}},componentDidMount:function(){var e,t=this,n=this.container=i.findDOMNode(t.refs.svrContainer),o=this.content=i.findDOMNode(t.refs.svrContent),a=function(e,r){var i=t.state,a=i.logs;if(a!==r&&Array.isArray(a)&&r.push.apply(r,a),i.logs=r,s.filterLogList(i.logs,t.keyword),!t.props.hide){if(s.scrollAtBottom(n,o)){var l=r.length-90;l>9&&s.trimLogList(r,l,t.keyword)}t.setState({})}};l.uploadLogs&&(a(0,l.uploadLogs),l.uploadLogs=null),u.on("uploadLogs",(function(e,n){if(!t.props.hide){var r=n.logs,o=t.state.logs;if(o){o.push.apply(o,r);var i=o.length-90;i>19&&s.trimLogList(o,i,t.keyword)}else o=r;a(0,o)}})),l.on("log",a),r(n).on("scroll",(function(){var r=t.state.logs;e&&clearTimeout(e),r&&(t.state.scrollToBottom=s.scrollAtBottom(n,o))&&(e=setTimeout((function(){var e=r.length-90;e>9&&(s.trimLogList(r,e,t.keyword),t.setState({}))}),2e3))}))},clearLogs:function(){var e=this.state.logs;e&&e.splice(0,e.length),this.setState({})},stopAutoRefresh:function(){s.scrollAtBottom(this.container,this.content)&&(this.container.scrollTop=this.container.scrollTop-10)},scrollTop:function(){this.container.scrollTop=0},autoRefresh:function(){this.container.scrollTop=1e7},shouldComponentUpdate:function(e){var t=s.getBoolean(this.props.hide),n=t!=s.getBoolean(e.hide);return!(!n&&t||(n||t||(this.state.scrollToBottom=s.scrollAtBottom(this.container,this.content)),clearTimeout(this.filterTimer),0))},componentDidUpdate:function(){!this.props.hide&&this.state.scrollToBottom&&(this.container.scrollTop=1e7)},onServerFilterChange:function(e){var t=this;e=e.trim(),t.keyword=e;var n=s.parseKeyword(e),r=t.state.logs;if(s.filterLogList(r,n),!e){var o=r&&r.length-90;o>9&&r.splice(0,o)}clearTimeout(t.filterTimer),t.filterTimer=setTimeout((function(){t.filterTimer=null,t.setState({serverKeyword:n})}),500)},showNameInput:function(e){var t=this;t.setState({showNameInput:!0},(function(){i.findDOMNode(t.refs.nameInput).focus()}))},download:function(){var e=i.findDOMNode(this.refs.nameInput),t=e.value.trim(),n=[];this.state.logs.forEach((function(e){e.hide||n.push({id:e.id,text:e.text,level:e.level,date:e.date})})),e.value="",i.findDOMNode(this.refs.filename).value=t,i.findDOMNode(this.refs.content).value=JSON.stringify(n,null," "),i.findDOMNode(this.refs.downloadForm).submit(),this.hideNameInput()},submit:function(e){13!==e.keyCode&&"click"!=e.type||this.download()},selectFile:function(){i.findDOMNode(this.refs.importData).click()},changeLevel:function(e){this.setState({level:e.value})},importData:function(){var e=new FormData(i.findDOMNode(this.refs.importDataForm)).get("importData");return e&&/\.log$/i.test(e.name)?e.size>2097152?h.alert("The file size cannot exceed 2m."):(s.readFileAsText(e,(function(e){(e=s.parseLogs(e))&&u.trigger("uploadLogs",{logs:e})})),void(i.findDOMNode(this.refs.importData).value="")):h.alert("Only supports .log file.")},preventBlur:function(e){"INPUT"!=e.target.nodeName&&e.preventDefault()},hideNameInput:function(){this.setState({showNameInput:!1})},handleAction:function(e){if("top"===e)return this.scrollTop();if("bottom"===e)return this.autoRefresh();if("pause"!==e){var t="refresh"===e;return l.stopServerLogRecord(!t),t?this.autoRefresh():void 0}l.pauseServerLogRecord()},render:function(){var e=this.state,t=e.logs||[],n=e.level,r=!s.hasVisibleLog(t);return o.createElement("div",{className:"fill orient-vertical-box w-textarea w-detail-svr-log"+(this.props.hide?" hide":"")},o.createElement("div",{className:"w-log-action-bar"},o.createElement(p,{onChange:this.changeLevel,options:e.levels}),o.createElement("div",{className:"w-textarea-bar"},o.createElement("a",{className:"w-import",onClick:this.selectFile,draggable:"false"},"Import"),o.createElement("a",{className:"w-download"+(r?" w-disabled":""),onDoubleClick:r?void 0:this.download,onClick:r?void 0:this.showNameInput,draggable:"false"},"Export"),o.createElement(d,{onClick:this.handleAction}),o.createElement("a",{className:"w-clear"+(r?" w-disabled":""),onClick:r?void 0:this.clearLogs,draggable:"false"},"Clear"),o.createElement("div",{onMouseDown:this.preventBlur,style:{display:this.state.showNameInput?"block":"none"},className:"shadow w-textarea-input"},o.createElement("input",{ref:"nameInput",onKeyDown:this.submit,onBlur:this.hideNameInput,type:"text",maxLength:"64",placeholder:"Input the filename"}),o.createElement("button",{type:"button",onClick:this.submit,className:"btn btn-primary"},"OK")),o.createElement("form",{ref:"downloadForm",action:"cgi-bin/download",style:{display:"none"},method:"post",target:"downloadTargetFrame"},o.createElement("input",{ref:"type",name:"type",value:"log",type:"hidden"}),o.createElement("input",{ref:"filename",name:"filename",type:"hidden"}),o.createElement("input",{ref:"content",name:"content",type:"hidden"})))),o.createElement("form",{ref:"importDataForm",encType:"multipart/form-data",style:{display:"none"}},o.createElement("input",{ref:"importData",onChange:this.importData,type:"file",name:"importData",accept:".log"})),o.createElement("div",{ref:"svrContainer",className:"fill w-detail-log-content"},o.createElement("ul",{ref:"svrContent"},t.map((function(e){var t="Date: "+s.toLocaleString(new Date(e.date))+"\r\n"+e.text,r=e.hide||n&&!r&&e.level!==n?" hide":"";return o.createElement("li",{key:e.id,title:e.level.toUpperCase(),className:"w-"+e.level+r},o.createElement("pre",null,t&&t.length>=2100?o.createElement(a,{text:t}):t))})))),o.createElement(c,{onChange:this.onServerFilterChange}))}});e.exports=f},32936:(e,t)=>{var n=location.href.replace(/[?#].*$/,"").replace(/\/index.html$/i,"/"),r={};function o(e){return n+"?"+e}t.set=function(e,t){e=o(e),null==t?t="":t+="",r[e]=t;try{localStorage[e]=t}catch(e){}},t.get=function(e,t){e=o(e);try{return t?localStorage[e]:r[e]||localStorage[e]}catch(e){}return r[e]}},1187:(e,t,n)=>{n(22155);var r=n(57588),o=n(90701),i=n(43278),a=n(50897),s=n(78900);function l(e,t){var n="plugin."+e.substring(8);return 0===t.indexOf(e)||0===t.indexOf(n)?t:n+"/"+t}var c=r.createClass({displayName:"SyncDialog",getInitialState:function(){return{}},show:function(e,t,n,r){var o=this;o.rulesModal=t,o.valuesModal=n,o.plugin=e,i.isString(e.rulesUrl)||(e.rulesUrl=null),i.isString(e.valuesUrl)||(e.valuesUrl=null),(e.rulesUrl||e.valuesUrl)&&o.setState(e,"function"==typeof r?r:function(){o.refs.syncDialog.show()})},_syncRules:function(e){var t=this,n=t.state.rulesUrl;!t.loadingRules&&i.isString(n)&&(t.loadingRules=!0,e&&(n+=(-1===n.indexOf("?")?"?":"&")+"history="+encodeURIComponent(e)),a.createCgi(l(t.state.moduleName,n))((function(n,r){if(t.loadingRules=!1,t.setState({}),!n)return i.showSystemError(r);t.plugin.selectedRulesHistory=e,t.refs.kvDialog.show(n,t.rulesModal,t.valuesModal,!1,e)})),t.setState({}))},_syncValues:function(e){var t=this,n=t.state.valuesUrl;!t.loadingValues&&i.isString(n)&&(t.loadingValues=!0,e&&(n+=(-1===n.indexOf("?")?"?":"&")+"history="+encodeURIComponent(e)),a.createCgi(l(t.state.moduleName,n))((function(n,r){if(t.loadingValues=!1,t.setState({}),!n)return i.showSystemError(r);t.plugin.selectedValuesHistory=e,t.refs.kvDialog.show(n,t.rulesModal,t.valuesModal,!0,e)})),t.setState({}))},syncRules:function(){this._syncRules(this.plugin.selectedRulesHistory)},syncValues:function(){this._syncValues(this.plugin.selectedValuesHistory)},onHistoryChange:function(e,t){t?this._syncValues(e):this._syncRules(e)},render:function(){var e=this.state;return r.createElement(o,{ref:"syncDialog",wstyle:"w-sync-dialog"},r.createElement("div",{className:"modal-body"},r.createElement("button",{onClick:this.syncRules,disabled:this.loadingRules||!i.isString(e.rulesUrl),type:"button",className:"btn btn-primary"},r.createElement("span",{className:"glyphicon glyphicon-list"})," ",this.loadingRules?"Loading":"Sync"," Rules"),r.createElement("button",{onClick:this.syncValues,disabled:this.loadingValues||!i.isString(e.valuesUrl),type:"button",className:"btn btn-default"},r.createElement("span",{className:"glyphicon glyphicon-folder-close"})," ",this.loadingValues?"Loading":"Sync"," Values")),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")),r.createElement(s,{onHistoryChange:this.onHistoryChange,ref:"kvDialog"}))}}),d=r.createClass({displayName:"SyncDialogWrap",shouldComponentUpdate:function(){return!1},show:function(e,t,n,r){this.refs.syncDialog.show(e,t,n,r)},syncRules:function(){this.refs.syncDialog.syncRules()},syncValues:function(){this.refs.syncDialog.syncValues()},render:function(){return r.createElement(c,{ref:"syncDialog"})}});e.exports=d},93157:(e,t,n)=>{var r=n(57588),o=n(73935),i=n(43278),a=n(50897),s=n(25927),l=n(74260),c=a.networkModal;function d(e,t){if("function"==typeof e){var n=l(t);n.getActiveSession=function(){return c.getActive()},n.getSelectedSessionList=function(){return c.getSelectedList()},e(n)}}var u=r.createClass({displayName:"TabFrame",getInitialState:function(){var e=this.props.src;return{url:(e+=-1===e.indexOf("?")?"?":"&")+"???_WHISTLE_PLUGIN_INSPECTOR_TAB_"+a.getPort()+"???"}},componentDidMount:function(){s.on("selectedSessionChange",this.handlePush)},componentWillUnmount:function(){s.off("selectedSessionChange",this.handlePush)},shouldComponentUpdate:function(e){var t=i.getBoolean(this.props.hide);return t!=i.getBoolean(e.hide)||!t},compose:function(e){this.handlePush(null,null,e)},handlePush:function(e,t,n){try{var r=o.findDOMNode(this.refs.iframe).contentWindow;r&&"function"==typeof r.__pushWhistle5b6af7b9884e1165SessionActive__&&(n?(r.__pushWhistle5b6af7b9884e1165SessionActive__(null,null,n),n=null):this.props.hide?r.__pushWhistle5b6af7b9884e1165SessionActive__(null,!0):r.__pushWhistle5b6af7b9884e1165SessionActive__(t||c.getActive()))}catch(e){}this.composeItem=n},componentDidUpdate:function(){this.handlePush()},onLoad:function(){this.composeItem&&(this.handlePush(null,null,this.composeItem),this.composeItem=null)},render:function(){var e=this.props.hide?"none":void 0;return window.onWhistleInspectorCustomTabReady=d,r.createElement("iframe",{onLoad:this.onLoad,ref:"iframe",src:this.state.url,style:{display:e},className:"fill w-tab-frame"})}});e.exports=u},70677:(e,t,n)=>{var r=n(57588),o=n(43278),i=n(93157),a=n(25927),s=r.createClass({displayName:"TabMgr",getInitialState:function(){return this.initedTabs={},{}},shouldComponentUpdate:function(e){var t=o.getBoolean(this.props.hide);return t!=o.getBoolean(e.hide)||!t},componentDidMount:function(){var e=this;a.on("setComposer",(function(){var t=!e.props.hide&&e.props.modal;if(t){var n=e.refs[e.props.active];n&&n.compose(t)}}))},isInited:function(e){var t=this.initedTabs,n=e.action,r=null!=t[n];if(this.props.active!==e.plugin)return r;if(r)return t[n]=Date.now(),!0;var o,i,a=Object.keys(t);return a.length>=6&&(a.forEach((function(e){var n=t[e];(null==o||o>n)&&(o=n,i=e)})),i&&delete t[i]),this.initedTabs[n]=Date.now(),!0},render:function(){var e=this,t=e.props,n=t.tabs,o=t.hide,a=t.active,s=!0;return n=n.map((function(t){var n=o||a!==t.plugin;return n||(s=!1),e.isInited(t)&&r.createElement(i,{ref:t.plugin,key:t.plugin,src:t.action,hide:n})})),r.createElement("div",{className:"fill orient-vertical-box "+(t.className||"")+(s?" hide":"")},n)}});e.exports=s},34014:(e,t,n)=>{n(81132),n(22095);var r=n(57588),o=r.createClass({displayName:"Table",render:function(){var e=this.props.head,t=Array.isArray(e)&&e.length,n=this.props.modal||[];return r.createElement("table",{className:"table w-table"},t?r.createElement("thead",null,e.map((function(e){return r.createElement("th",{key:e},e)}))):"",r.createElement("tbody",null,n.map((function(e,t){return r.createElement("tr",{key:t},e.map((function(e,n){return r.createElement("td",{key:t+"."+n},e)})))}))))}});e.exports=o},20873:(e,t,n)=>{var r=n(57588),o=n(90701),i=n(6988),a=r.createClass({displayName:"TextDialog",getInitialState:function(){return{}},show:function(e,t,n){if(e){var r=this;r.setState({value:e,base64:t,name:n},(function(){r.refs.textDialog.show()}))}},render:function(){var e=this.state,t=e.value;return r.createElement(o,{ref:"textDialog",wstyle:"w-text-dialog"},r.createElement("div",{className:"modal-body"},r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×")),r.createElement("div",{className:"orient-vertical-box",style:{width:860,height:560,marginTop:22}},r.createElement(i,{className:"fill",value:t,base64:e.base64,defaultName:e.name}))),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button",className:"btn btn-primary w-copy-text-with-tips","data-clipboard-text":t},"Copy"),r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")))}}),s=r.createClass({displayName:"TextDialogWrap",shouldComponentUpdate:function(){return!1},show:function(e,t,n){this.refs.textDialog.show(e,t,n)},render:function(){return r.createElement(a,{ref:"textDialog"})}});e.exports=s},6988:(e,t,n)=>{n(81421);var r=n(57588),o=n(73935),i=n(28734),a=n(75774),s=n(43278),l=n(50897),c=n(10285),d=n(90339),u=n(25927);function p(){u.trigger("showFrames")}var h=r.createClass({displayName:"Tips",render:function(){var e=this.props.data||{hide:!0},t="w-textview-tips"+(e.hide?" hide":"");return e.isFrames?r.createElement("a",{className:t,onClick:p},"View in Frames"):e.isHttps?r.createElement("div",{className:t},r.createElement("p",null,"Tunnel"),r.createElement("a",{href:"https://avwo.github.io/whistle/webui/https.html",target:"_blank"},"Click here for more information")):r.createElement("div",{className:t},r.createElement("p",null,e.message),e.url?r.createElement("a",{href:e.url,target:"_blank"},"Open the URL in a new window"):void 0)}}),f=r.createClass({displayName:"Textarea",getInitialState:function(){return{}},shouldComponentUpdate:function(e){var t=s.getBoolean(this.props.hide);return t!==s.getBoolean(e.hide)||!this.props.value||!t&&this.props.value!==e.value},preventBlur:function(e){"INPUT"!=e.target.nodeName&&e.preventDefault()},edit:function(){s.openEditor(this.props.value)},showNameInput:function(e){var t=this;t.state.showDownloadInput=/w-download/.test(e.target.className),t.state.showNameInput=!0,t.forceUpdate((function(){var e=o.findDOMNode(t.refs.nameInput),n=!e.value&&t.props.defaultName;n&&(e.value=n),e.select(),e.focus()}))},download:function(){var e=o.findDOMNode(this.refs.nameInput),t=e.value.trim();e.value="";var n=this.props.base64;o.findDOMNode(this.refs.filename).value=t,o.findDOMNode(this.refs.type).value=n?"base64":"",o.findDOMNode(this.refs.headers).value=this.props.headers||"",o.findDOMNode(this.refs.content).value=null!=n?n:this.props.value||"",o.findDOMNode(this.refs.downloadForm).submit(),this.hideNameInput()},submit:function(e){if(13==e.keyCode||"click"==e.type){var t=l.valuesModal;if(t){var n=o.findDOMNode(this.refs.nameInput),r=n.value.trim(),i=this;if(i.state.showDownloadInput)i.download();else if(r)if(/\s/.test(r))c.error("The key cannot have spaces.");else{var a=function(e){if(e){var o=(i.props.value||"").replace(/\r\n|\r/g,"\n");l.values.add({name:r,value:o},(function(e,i){e&&0===e.ec?(t.add(r,o),n.value="",n.blur()):s.showSystemError(i)}))}};if(!t.exists(r))return a(!0);d.confirm("The key '"+r+"' already exists.\nDo you want to override it.",a)}else c.error("The key cannot be empty.")}}},hideNameInput:function(){this.state.showNameInput=!1,this.forceUpdate((function(){var e=o.findDOMNode(this.refs.nameInput);this.props.defaultName===e.value&&(e.value="")}))},render:function(){var e=this.props.value||"",t=e.length-6144,n=/\S/.test(e);t>512&&(n=!1,e=e.substring(0,6144)+"...\r\n\r\n("+t+" characters left, you can click on the ViewAll button in the upper right corner to view all)\r\n");var o=this.props.isHexView;return this.state.value=e,r.createElement("div",{className:"fill orient-vertical-box w-textarea"+(this.props.hide?" hide":"")},r.createElement(h,{data:this.props.tips}),r.createElement("div",{className:"w-textarea-bar"+(e?"":" hide")},r.createElement(a,{value:this.props.value}),o?r.createElement(a,{name:"AsHex",value:s.getHexText(this.props.value)}):void 0,r.createElement("a",{className:"w-download",onDoubleClick:this.download,onClick:this.showNameInput,draggable:"false"},"Download"),n?r.createElement("a",{className:"w-add",onClick:this.showNameInput,draggable:"false"},"+Key"):"",r.createElement("a",{className:"w-edit",onClick:this.edit,draggable:"false"},"ViewAll"),r.createElement("div",{onMouseDown:this.preventBlur,style:{display:this.state.showNameInput?"block":"none"},className:"shadow w-textarea-input"},r.createElement("input",{ref:"nameInput",onKeyDown:this.submit,onBlur:this.hideNameInput,type:"text",maxLength:"64",placeholder:this.state.showDownloadInput?"Input the filename":"Input the key"}),r.createElement("button",{type:"button",onClick:this.submit,className:"btn btn-primary"},this.state.showDownloadInput?"OK":"+Key"))),r.createElement(i,{className:this.props.className||"",value:e}),r.createElement("form",{ref:"downloadForm",action:"cgi-bin/download",style:{display:"none"},method:"post",target:"downloadTargetFrame"},r.createElement("input",{ref:"filename",name:"filename",type:"hidden"}),r.createElement("input",{ref:"type",name:"type",type:"hidden"}),r.createElement("input",{ref:"headers",name:"headers",type:"hidden"}),r.createElement("input",{ref:"content",name:"content",type:"hidden"})))}});e.exports=f},28734:(e,t,n)=>{var r=n(57588),o=n(73935),i=n(43278),a=r.createClass({displayName:"TextView",componentDidMount:function(){this.updateValue()},componentDidUpdate:function(){this.updateValue()},shouldComponentUpdate:function(e){return this.props.value!==e.value&&(this.props.value=e.value,this.updateValue()),this.props.className!==e.className},updateValue:function(){var e=this,t=e.props.value||"",n=o.findDOMNode(e.refs.textarea);if(e.props.hide)return n.value="",e.curValue="",void clearTimeout(e._timeout);if(t!==e.curValue&&(clearTimeout(e._timeout),n.value!==t)){if(t.length<10240)return n.value=t,void(e.curValue=t);e.curValue=t,e._timeout=setTimeout((function(){n.value=t}),360)}},render:function(){return r.createElement("textarea",{ref:"textarea",onKeyDown:i.preventDefault,readOnly:"readonly",className:this.props.className||""})}});e.exports=a},90440:(e,t,n)=>{n(81132),n(83675);var r=n(57588),o=n(43278),i=r.createClass({displayName:"Timeline",shouldComponentUpdate:function(e){var t=o.getBoolean(this.props.hide);return t!=o.getBoolean(e.hide)||!t},render:function(){var e,t=this.props.modal,n=this.props.data,i=n?[n]:t?t.getSelectedList():[],a=1;i.forEach((function(t){(!e||t.startTimea&&(a=n)}));var s=i.length;return r.createElement("div",{className:"fill orient-vertical-box w-detail-content w-detail-timeline"+(o.getBoolean(this.props.hide)?" hide":"")},r.createElement("ul",null,i.map((function(t){var n,i,l,c,d,u,p,h,f,m,g=t.startTime-e;if(t.dnsTime?(n=78*(g=t.startTime-e)/a+"%",g+="ms"):(g="-",n=0),t.dnsTime?(l=78*(i=t.dnsTime-t.startTime)/a+"%",i+="ms"):(i="-",l=0),t.responseTime?(m=!t.requestTime||t.requestTime>t.responseTime,p=78*(u=t.responseTime-(m?t.dnsTime:t.requestTime))/a+"%",u+="ms"):(u="-",p=0),t.requestTime){d=78*(c=t.requestTime-t.dnsTime)/a+"%",c+="ms";var b=t.protocol;if("string"==typeof b&&-1!==b.indexOf(">")){var v=t.httpsTime-t.startTime;v>0&&(c+=" - "+v+"ms("+b+") = "+(t.requestTime-t.httpsTime)+"ms")}}else c="-",d=0;t.endTime?(f=78*(h=t.endTime-t.responseTime)/a+"%",h+="ms"):(h="-",f=0);var y=t.endTime?t.endTime-t.startTime+"ms":"-";if(1===s)return r.createElement("li",{key:"w-detail-timeline-one",className:"w-detail-timeline-one"},r.createElement("ul",null,r.createElement("li",null,r.createElement("span",{className:"w-detail-timeline-url"},"URL:"),r.createElement("span",{className:"w-detail-timeline-full-url",title:t.url},t.url)),r.createElement("li",null,r.createElement("span",{className:"w-detail-timeline-url"},"DNS Lookup:"),r.createElement("span",{style:{width:l},className:"w-detail-timeline-dns"}),r.createElement("span",{title:w,className:"w-detail-timeline-time"},i)),r.createElement("li",null,r.createElement("span",{className:"w-detail-timeline-url"},"Request Sent:"),r.createElement("span",{style:{width:l}}),r.createElement("span",{style:{width:d},className:"w-detail-timeline-request"}," "),r.createElement("span",{title:w,className:"w-detail-timeline-time"},c)),r.createElement("li",null,r.createElement("span",{className:"w-detail-timeline-url"},"Response Headers:"),r.createElement("span",{style:{width:l}}),m?null:r.createElement("span",{style:{width:d}}),r.createElement("span",{style:{width:p},className:"w-detail-timeline-response"}),r.createElement("span",{title:w,className:"w-detail-timeline-time"},u)),r.createElement("li",null,r.createElement("span",{className:"w-detail-timeline-url"},"Content Loaded:"),r.createElement("span",{style:{width:l}}),m?null:r.createElement("span",{style:{width:d}}),r.createElement("span",{style:{width:p}}),r.createElement("span",{style:{width:f},className:"w-detail-timeline-load"}),r.createElement("span",{title:w,className:"w-detail-timeline-time"},h)),r.createElement("li",null,r.createElement("span",{className:"w-detail-timeline-url"},"Total:"),r.createElement("span",{title:w,className:"w-detail-timeline-time"},y))));var w="URL: "+t.url+"\nStalled: "+g+"\nDNS Lookup: "+i+"\nRequest Sent: "+c+"\nResponse: "+u+"\nContent Load: "+h+"\nTotal: "+y;return r.createElement("li",{key:t.id,title:w,className:"w-detail-timeline-multi"},r.createElement("span",{title:t.url,className:"w-detail-timeline-url"},o.getFilename(t)),r.createElement("span",{style:{width:n},className:"w-detail-timeline-stalled"}),r.createElement("span",{style:{width:l},className:"w-detail-timeline-dns"}),r.createElement("span",{style:{width:d,marginBottom:m&&p?"5px":void 0},className:"w-detail-timeline-request"}),r.createElement("span",{style:{width:p,marginLeft:m&&d?"-"+d:void 0,marginBottom:m&&d?"-5px":void 0,height:m&&d?"15px":void 0},className:"w-detail-timeline-response"}),r.createElement("span",{style:{width:f,marginLeft:m&&p?"-"+p:void 0,marginBottom:m&&d?"-5px":void 0,height:m&&d?"15px":void 0},className:"w-detail-timeline-load"}),r.createElement("span",{title:w,className:"w-detail-timeline-time"},y))}))))}});e.exports=i},25557:(e,t,n)=>{n(81132);var r=n(57588),o=n(90701),i=r.createClass({displayName:"TipsDialog",getInitialState:function(){return{}},show:function(e){this._hideDialog=!1,this.setState(e),this.refs.tipsDialog.show()},hide:function(){this.refs.tipsDialog.hide(),this._hideDialog=!0},shouldComponentUpdate:function(){return!1===this._hideDialog},render:function(){var e=this.state;return r.createElement(o,{ref:"tipsDialog",wstyle:"w-dns-servers-dialog w-tips-dialog"},r.createElement("div",{className:"modal-header"},e.title,r.createElement("button",{type:"button",className:"close","data-dismiss":"modal"},r.createElement("span",{"aria-hidden":"true"},"×"))),r.createElement("pre",{className:"modal-body"},e.tips),r.createElement("div",{className:"modal-footer"},r.createElement("button",{type:"button","data-dismiss":"modal",className:"btn btn-primary w-copy-text-with-tips","data-clipboard-text":e.dir},"Copy directory"),r.createElement("button",{type:"button",className:"btn btn-default","data-dismiss":"modal"},"Close")))}});e.exports=i},88652:(e,t,n)=>{var r=n(57588),o=n(73935),i=n(19755),a=n(43278),s=n(43067),l=n(20873),c=n(83914),d=n(32936),u=n(90339),p=/^(?:(?:[\w.-]+:)?\/\/)?([\w.-]+)/i,h=/[^\s]/,f=5120,m=r.createClass({displayName:"ToolBox",getInitialState:function(){return{qrcodeValue:a.toString(d.get("qrcodeValue")).substring(0,2048),jsonValue:a.toString(d.get("jsonValue")).substring(0,5120),codecText:a.toString(d.get("codecText")).substring(0,f)}},_saveQRCodeValue:function(){d.set("qrcodeValue",this.state.qrcodeValue)},saveQRCodeValue:function(){clearTimeout(this.qrcodeTimer),this.qrcodeTimer=setTimeout(this._saveQRCodeValue,1e3)},_saveJSONValue:function(){var e=this.state.jsonValue;e.length<=5120&&d.set("jsonValue",e)},_saveCodecText:function(){var e=this.state.codecText;e.length<=f&&d.set("codecText",e)},saveJSONValue:function(){clearTimeout(this.jsonTimer),this.jsonTimer=setTimeout(this._saveJSONValue,1e3)},saveCodecText:function(){clearTimeout(this.codecTimer),this.codecTimer=setTimeout(this._saveCodecText,1e3)},onJSONChange:function(e){this.setState({jsonValue:e.target.value},this._saveJSONValue)},onCodecChange:function(e){this.setState({codecText:e.target.value},this._saveCodecText)},generageQRCode:function(){this.refs.qrcodeDialog.show(this.state.qrcodeValue)},parseJSON:function(){this.refs.jsonDialog.show(this.state.jsonValue)},encode:function(){try{var e=encodeURIComponent(this.state.codecText);this.refs.textDialog.show(e)}catch(e){u.alert(e.message)}},showShadowRules:function(){try{var e=encodeURIComponent(this.state.codecText);this.refs.textDialog.show('"'+e+'"')}catch(e){u.alert(e.message)}},decode:function(){try{var e=decodeURIComponent(this.state.codecText);this.refs.textDialog.show(e)}catch(e){u.alert(e.message)}},toQuery:function(){try{var e=a.parseJSON2(this.state.codecText)||"";this.refs.textDialog.show(e&&i.param(e,!0))}catch(e){u.alert(e.message)}},uploadImg:function(){o.findDOMNode(this.refs.uploadImg).click()},readImg:function(){var e=this,t=new FormData(o.findDOMNode(this.refs.uploadImgForm)).get("image");if(!(t.size<=1048576))return u.alert("The file size cannot exceed 1m.");var n="data:"+t.type+";base64,";a.readFileAsBase64(t,(function(r){o.findDOMNode(e.refs.uploadImg).value="",e.refs.textDialog.show(n+r,r,t.name)}))},onQRCodeChange:function(e){this.setState({qrcodeValue:e.target.value},this.saveQRCodeValue)},onDomainChange:function(e){this.setState({domainValue:e.target.value})},generateCert:function(){window.open("cgi-bin/create-cert?domain="+encodeURIComponent(this.state.domainValue),"downloadTargetFrame")},shouldComponentUpdate:function(e){var t=a.getBoolean(this.props.hide);return t!=a.getBoolean(e.hide)||!t},render:function(){var e=this.state,t=e.qrcodeValue,n=e.jsonValue,o=e.domainValue,i=e.codecText;return r.createElement("div",{className:"fill orient-vertical-box w-tool-box "+(this.props.hide?"hide":"")},r.createElement("div",{className:"w-detail-inspectors-title"},r.createElement("span",{className:"glyphicon glyphicon-qrcode"}),"QRCode",r.createElement("button",{className:"btn btn-primary",disabled:!h.test(t),onClick:this.generageQRCode},"Show")),r.createElement("textarea",{onChange:this.onQRCodeChange,value:t,className:"w-tool-box-ctn",maxLength:2048,placeholder:"Input the URL or text"}),r.createElement("div",{className:"w-detail-inspectors-title"},r.createElement("span",{className:"glyphicon glyphicon-pencil"}),"JSONView",r.createElement("button",{className:"btn btn-primary",disabled:!h.test(n),onClick:this.parseJSON},"View")),r.createElement("textarea",{onChange:this.onJSONChange,value:n,className:"w-tool-box-ctn",maxLength:32768,placeholder:"Input the JSON text"}),r.createElement("div",{className:"w-detail-inspectors-title",style:{height:20}},r.createElement("button",{className:"btn btn-default",style:{float:"left"},disabled:!h.test(i),onClick:this.encode},"EncodeURIComponent"),r.createElement("button",{className:"btn btn-default",style:{float:"left",marginLeft:10},disabled:!h.test(i),onClick:this.decode},"DecodeURIComponent"),r.createElement("button",{className:"btn btn-default",style:{float:"left",marginLeft:10},disabled:!h.test(i),onClick:this.toQuery},"Query"),r.createElement("button",{className:"btn btn-primary",disabled:!h.test(i),onClick:this.showShadowRules},"ShadowRules")),r.createElement("textarea",{onChange:this.onCodecChange,value:i,className:"w-tool-box-ctn",maxLength:f,placeholder:"Input the text"}),r.createElement("div",{className:"w-detail-inspectors-title"},r.createElement("span",{className:"glyphicon glyphicon-picture"}),"Base64",r.createElement("button",{className:"btn btn-primary",onClick:this.uploadImg},"Upload")),r.createElement("button",{className:"w-tool-box-ctn w-tool-box-base64",onClick:this.uploadImg},r.createElement("span",{className:"glyphicon glyphicon-arrow-up"}),"Click here to upload image (size <= 1m)"),r.createElement("div",{className:"w-detail-inspectors-title"},r.createElement("span",{className:"glyphicon glyphicon-certificate"}),"Certificate"),r.createElement("div",{className:"box w-generate-cert"},r.createElement("input",{className:"fill",maxLength:"256",placeholder:"Input the domain name of the certificate",value:o,onChange:this.onDomainChange}),r.createElement("button",{className:"btn btn-primary",disabled:!o||!p.test(o),onClick:this.generateCert},"Download")),r.createElement(s,{ref:"qrcodeDialog"}),r.createElement(l,{ref:"textDialog"}),r.createElement(c,{ref:"jsonDialog"}),r.createElement("form",{ref:"uploadImgForm",encType:"multipart/form-data",style:{display:"none"}},r.createElement("input",{ref:"uploadImg",onChange:this.readImg,name:"image",type:"file",accept:"image/*"})))}});e.exports=m},2183:(e,t,n)=>{n(81132),n(10316);var r=n(57588),o=n(71788),i=n(16813),a=n(88652),s=n(25927),l=n(71163),c=n(50897),d=n(70677),u=n(73061),p=n(43278),h=[{name:"Console",icon:"file",active:!0},{name:"Server",icon:"exclamation-sign"},{name:"Toolbox",icon:"wrench"}],f=r.createClass({displayName:"Tools",getInitialState:function(){return{name:"Console"}},componentDidMount:function(){var e=this;s.on("toolTabsChange",(function(){e.changeTab=!0,e.setState({})}))},shouldComponentUpdate:function(e){var t=p.getBoolean(this.props.hide);if(t!=p.getBoolean(e.hide))return!0;if(t)return!1;var n=this.changeTab;return this.changeTab=!1,!0===n},toggleTabs:function(e){this.changeTab=!0,this.setState({name:e.name,plugin:null})},clearLogs:function(){h[0].active?this.refs.console.clearLogs():h[1].active&&this.refs.serverLog.clearLogs()},onDoubleClickBar:function(){h[0].active?this.refs.console.container.scrollTop<5?this.refs.console.autoRefresh():this.refs.console.scrollTop():h[1].active&&(this.refs.serverLog.container.scrollTop<5?this.refs.serverLog.autoRefresh():this.refs.serverLog.scrollTop())},isActive:function(e){var t=this.state.plugin;return t&&t.plugin===e},getStyle:function(e){return"btn btn-default"+(this.isActive(e)?" w-spec-active":"")},showCustomTab:function(e){this.changeTab=!0,this.refs.tabs.clearSelection(),this.setState({name:null,plugin:e})},createCustomTabs:function(){var e=this,t=c.getToolTabs();if(t.length)return r.createElement("div",{className:"fill w-custom-tabs"},t.map((function(t){var n=t.plugin;return r.createElement("button",{key:"_"+n,onClick:function(){e.showCustomTab(t)},className:e.getStyle(n),title:n},t.name)})))},render:function(){var e=this.state,t=e.name;return r.createElement("div",{className:"fill orient-vertical-box w-detail-log"+(p.getBoolean(this.props.hide)?" hide":"")},r.createElement(u,{ref:"tabs",onDoubleClickBar:this.onDoubleClickBar,onClick:this.toggleTabs,onDoubleClick:this.clearLogs,btns:h,appendTabs:this.createCustomTabs()}),r.createElement(l,{inited:t===h[0].name},r.createElement(o,{ref:"console",hide:!h[0].active})),r.createElement(l,{inited:t===h[1].name},r.createElement(i,{ref:"serverLog",hide:!h[1].active})),r.createElement(l,{inited:t===h[2].name},r.createElement(a,{hide:!h[2].active})),r.createElement(d,{active:e.plugin&&e.plugin.plugin,hide:p.getBoolean(this.props.hide),tabs:c.getToolTabs(),className:"w-custom-tab-panel"}))}});e.exports=f},59217:(e,t,n)=>{var r=n(57588),o=n(25927),i=r.createClass({displayName:"UpdateAllBtn",getInitialState:function(){return{disabled:!0}},componentDidMount:function(){var e=this;o.on("setUpdateAllBtnState",(function(t,n){e.setState({disabled:!n})}))},updateAllPlugins:function(){!this.state.disabled&&o.trigger("updateAllPlugins")},render:function(){var e=this.state.disabled||this.props.hide;return r.createElement("a",{onClick:this.updateAllPlugins,className:"w-plugins-menu w-plugin-update-btn"+(e?" hide":""),draggable:"false"},r.createElement("span",{className:"glyphicon glyphicon-refresh"}),"UpdateAll")}});e.exports=i},43278:(e,t,n)=>{var r,o,i,a,s=n(19755),l=n(79742).b$,c=n(79742).JQ,d=n(19575).Base64,u=d.decode,p=d.encode,h=d.toBase64,f=n(35123),m=n(53878),g=n(49724),b=n(10285),v=n(90339),y=/\r\n|\r|\n/g,w=/[:\[][\s\n\r]*-?[\d.]{16,}[\s\n\r]*[,\}\]]/,x={},C=0,k=/\\n|\\r/g,S=/^\d+$/,E=/^[+-]?[1-9]\d*$/,T=/^\[(\d+)\]$/,N=/(.)?(?:\[(\d+)\])$/,_=["fatal","error","warn","info","debug"],R=-1!==window.location.search.indexOf("useCustomEditor");function M(e){return"\\r"===e?"\r":"\n"}function O(e){return e}function I(e,t){return e==t?0:e>t?-1:1}function A(e){return e&&"string"==typeof e}function D(){i=r=o=null}t.noop=O,t.compare=I,t.comparePlugin=function(e,t){return I(e.priority,t.priority)||I(t.mtime,e.mtime)||(e._key>t._key?1:-1)},t.isString=function(e){return"string"==typeof e},t.parseLogs=function(e){try{e=JSON.parse(e)}catch(e){}if(Array.isArray(e)){for(var t,n=0,r=0,o=e.length;r0?i.date:0,A(i.level)?(i.level=i.level.toLowerCase(),-1===_.indexOf(i.level)&&(i.level="info")):i.level="info",t.push(i),++n>=100))return t}return t}},t.preventDefault=function(e){8==e.keyCode&&e.preventDefault()},t.preventBlur=function(e){e.preventDefault()},t.getBase64FromHexText=function(e,t){if(!e)return"";if(/[^\da-f\s]/i.test(e))return!1;if((e=e.replace(/\s+/g,"")).length%2==1)return!1;if(t)return!0;e=e.match(/../g).map((function(e){return parseInt(e,16)}));try{return c(e)}catch(e){}return!1},s(document).on("mousedown",(function(e){D();var t=s(e.target);Object.keys(x).some((function(e){if((r=t.closest(e)).length)return i=x[e],!0;r=null})),r&&i&&(o=e,e.preventDefault())})).on("mousemove",(function(e){r&&(i.forEach((function(t){t(r,e.clientX-o.clientX,e.clientY-o.clientY,o.clientX,o.clientY)})),o=e)})).on("mouseup",D).on("mouseout",(function(e){!e.relatedTarget&&D()})),t.addDragEvent=function(e,t){if(e&&"function"==typeof t&&"string"==typeof e&&(e=s.trim(e))){var n=x[e]=x[e]||[];-1==s.inArray(t,n)&&n.push(t)}},t.removeDragEvent=function(e,t){var n=x[e];if(n)if("function"!=typeof t)delete x[e];else{var r=s.inArray(t,n);-1!=r&&n.splice(r,1)}};var L=1;function P(e,t,n){if(e&&(t||""!==t)){"string"==typeof t&&(t=t.split("."));for(var r=0,o=t.length-1;r<=o;r++){var i=t[r];if(!(i in e))return n;if(e=e[i],r==o)return e;if(!e)return n}}return n}function z(e){return e&&"string"!=typeof e&&(e=e["content-type"]||e.contentType),"string"==typeof e?e.split(";")[0].trim().toLowerCase():""}function F(e){if(e=z(e)){if(-1!=e.indexOf("javascript"))return"JS";if(-1!=e.indexOf("css"))return"CSS";if(-1!=e.indexOf("html"))return"HTML";if(-1!=e.indexOf("json"))return"JSON";if(-1!=e.indexOf("xml"))return"XML";if(-1!=e.indexOf("text/"))return"TEXT";if(-1!=e.indexOf("image/"))return"IMG"}return null}function H(e){return!e||(e=F(e))&&"IMG"!==e}function j(e){if(!e)return"";var t=e.indexOf("://");t=-1==t?0:t+3;var n=e.indexOf("/",t);return-1==n?e.substring(t):e.substring(t,n)}t.getKey=function(){return"w-reactkey-"+L++},t.getProperty=P,t.getServerIp=function(e){var t=e.hostIp;if(!t)return e.serverIp;if(e.realIp)e.serverIp=e.realIp+", "+t,delete e.realIp;else if(!e.serverIp){var n=e.res||"";n.phost&&n.phost!=t&&(t=n.phost+", "+t);var r=pe(P(n,"headers.x-whistle-response-for"));r&&(t=r!==t&&-1===r.trim().split(/\s*,\s*/).indexOf(t)?r+", "+t:r,e.serverIp=t.trim().split(/\s*,\s*/).filter(O).join(", "))}return e.serverIp||t},t.getBoolean=function(e){return!(!e||"false"===e)},t.showSystemError=function(e){var t=(e=e||{}).status;if(!t)return v.alert("Please check the proxy settings or whether whistle has been started.");var n=G[t];if(n)return v.alert("["+t+"] "+n+".");v.alert("["+t+"] Unknown error, try again later.")},t.getClasses=function(e){var t=[];for(var n in e)e[n]&&t.push(n);return t.join(" ")},t.getRawType=z,t.getExtension=function(e){var t,n=F(e);return"XML"===n&&0===(t=z(e)).indexOf("image/")&&(n="IMG"),"IMG"!==n?n?"."+("TEXT"===n?"txt":n.toLowerCase()):"":(t=(t=t||z(e)).substring(t.indexOf("/")+1).toLowerCase(),/\w+/.test(t)?"."+RegExp["$&"]:"")},t.getContentType=F,t.isText=H;var U=/^head$/i;function B(e,t,n,r,o){var i={};return window.___hasFormData=!1,e&&(e=(e+"").trim())?(t=t||"&",n=n||"=",e.split(t).forEach((function(e){var t=(e=e.split(n))[0],a=e.slice(1).join("=");if(t||a){var s=a,l=t;r==decodeURIComponent&&(r=pe);try{a=r?r(s):a}catch(e){}try{t=r?r(l):t}catch(e){}if(!o&&t in i){var c=i[t];Array.isArray(c)?c.push(a):i[t]=[c,a]}else i[t]=a;window.___hasFormData=!0}})),i):i}function q(e,t,n){if(!e)return"";var r=Object.keys(e),o=n?r.indexOf("content-encoding"):-1;return-1!==o&&r.splice(o,1),r.map((function(n){var r=e[n];return n=t&&t[n]||n,Array.isArray(r)?r.map((function(e){return n+": "+e})).join("\r\n"):n+": "+r})).join("\r\n")}function W(e){var t=e.indexOf("://");return-1==t?e:e.substring(t+3)}function V(e,t){if(a=!1,"string"==typeof e&&(e=e.trim())){if(t){if(!/({[\w\W]*}|\[[\w\W]*\])/.test(e))return;e===RegExp.$1?a=!0:e=RegExp.$1}try{return function(e,t){var n;return t&&w.test(e)?(window._$hasBigNumberJson=!0,n=f.parse(e)):n=JSON.parse(e),"object"==typeof n?n:null}(e,t)}catch(t){return m(e)}}}t.hasBody=function(e,t){if(t&&U.test(t.method))return!1;var n=e.statusCode;return!(204==n||n>=300&&n<400||100<=n&&n<=199)},t.getHostname=function(e){var t=(e=j(e)).lastIndexOf(":");return-1==t?e:e.substring(0,t)},t.getHost=j,t.getProtocol=function(e){var t=e.indexOf("://");return-1==t?"TUNNEL":e.substring(0,t).toUpperCase()},t.getTransProto=function(e){var t=e.headers,n=t&&t["x-whistle-transport-protocol"];if(n&&"string"==typeof n&&!(n.length>33)){try{return decodeURIComponent(n).toUpperCase()}catch(e){}return n.toUpperCase()}},t.ensureVisible=function(e,t,n){e=s(e),t=s(t);var r=e.offset().top-t.offset().top;if(r){var o,i=t[0].offsetHeight,a=e[0].offsetHeight;r<0?n?(o=Math.ceil((i-a)/2),o=Math.max(0,t.scrollTop()+r-o),t.scrollTop(o)):t.scrollTop(t.scrollTop()+r-2):(r+=a-i)>0&&(n?(o=Math.ceil(i/2),o=Math.max(0,t.scrollTop()+r+o),t.scrollTop(o)):t.scrollTop(t.scrollTop()+r+2))}},t.parseQueryString=B,t.objectToString=q,t.getOriginalReqHeaders=function(e){var t=e.req,n=s.extend({},t.headers,e.rulesHeaders,!0);return e.clientId&&!n["x-whistle-client-id"]&&(n["x-whistle-client-id"]=e.clientId),function(e){var t,n="string"==typeof(t=e&&e["content-encoding"]||e)?t.trim().toLowerCase():t;return"gzip"===n||"deflate"===n?n:null}(n)&&delete n["content-encoding"],q(n,t.rawHeaderNames)},t.removeProtocol=W,t.getPath=function(e){if(!e)return"";var t=(e=W(e)).indexOf("/");return-1==t?"/":e.substring(t)},t.evalJson=m,t.parseJSON=V,t.parseJSON2=function(e){return V(e)||function(e){if("string"!=typeof e||!(e=e.trim()))return null;var t,n=e[0],r=e[e.length-1];return"["===n&&"]"===r||"{"===n&&"}"===r?null:(e.split(/\r\n|\n|\r/g).forEach((function(e){if(e=e.trim()){var o,i,a,l=e.indexOf(": ");if(-1===l&&(l=e.indexOf(":")),-1!=l){if(o=e.substring(0,l).trim(),i=e.substring(l+1).trim()){var c=i[0];if(c===i[i.length-1])'"'!==c&&"'"!==c&&"`"!==c||(i=i.slice(1,-1)),!i||"`"!==c||-1===i.indexOf("\\n")&&-1===i.indexOf("\\r")||(i=i.replace(k,M));else if("0"===i)i=0;else if(i.length<16&&E.test(i))try{i=parseInt(i,10)}catch(e){}}}else o=e.trim(),i="";if(n=o[0],r=o[o.length-1],n===r&&'"'===r)o=o.slice(1,-1);else if("["===n&&"]"===r)if(o=o.slice(1,-1).trim(),S.test(o)||T.test(o))o=RegExp.$1||RegExp["$&"],t=t||[];else{var d=o.split(/\s*\.\s*/);if(o=d.shift().trim(),N.test(o)){var u=RegExp.$2;RegExp.$1?(o=o.slice(0,-u.length-2),a=u):(o=u,t=t||[])}d.length&&d.reverse().forEach((function(e){var t;if(N.test(e)){var n=RegExp.$2,r=[];RegExp.$1?((t={})[e.slice(0,-n.length-2)]=r,r[n]=i,i=t):(r[n]=i,i=r)}else(t={})[e]=i,i=t}))}var p=(t=t||{})[o];if(null==p)if(a){var h=[];h[a]=i,t[o]=h}else t[o]=i;else"object"==typeof p&&(a?p[a]=i:"object"==typeof i&&s.extend(!0,p,i))}})),t||{})}(e)},t.unique=function(e,t){var n=[];if(t)for(var r=e.length-1;r>=0;r--){var o=e[r];-1==n.indexOf(o)&&n.unshift(o)}else e.forEach((function(e){-1==n.indexOf(e)&&n.push(e)}));return n},t.getFilename=function(e,t){var n=e.url;if(e.isHttps)return n;if(t&&e.filename)return e.filename;if(e.simplePath)return e.simplePath;var r=(n=W(n.replace(/[?#].*/,""))).lastIndexOf("/"),o=-1!=r&&n.substring(r+1);return o||(o=t?-1===(r=(n=n.substring(0,r)).lastIndexOf("/"))?n:n.substring(r+1):"/"),e[t?"filename":"simplePath"]=o,o};var G={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:"Moved Temporarily",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 Time-out",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Large",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",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",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Time-out",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};function K(e){return e.statusCode?"string"==typeof e.statusMessage?e.statusMessage:G[e.statusCode]||"unknown":""}function Z(e){return/^post$/i.test(e.method)&&/urlencoded/i.test(e.headers&&e.headers["content-type"])}t.getStatusMessage=K,t.isUrlEncoded=Z,t.toString=function(e){return void 0===e?"":e+""},t.openEditor=function(e){if(!R||"function"!=typeof window.customWhistleEditor||!1===window.customWhistleEditor(e)){var t=window.open("editor.html");t.getValue=function(){return e},t.setValue&&t.setValue(e)}};var J=/['<> "&]/g,Y={'"':""","<":"<",">":">","&":"&"," ":" ","'":"'"},$=/\r?\n/g,Q=/\s/g;function X(e){return Y[e]}function ee(e){if(!e.closed&&e.frames){var t=e.frames[e.frames.length-1];t&&(t.closed||t.err)&&(e.closed=!0)}return e.closed}function te(e,t){return t.key1&&(-1===(e=e.toLowerCase()).indexOf(t.key1)||t.key2&&-1===e.indexOf(t.key2)||t.key3&&-1===e.indexOf(t.key3))?" hide":""}function ne(e){e.hide=!1}t.escape=function(e){return null==e?e:(e=(e+"").replace(J,X)).replace($,"
").replace(Q," ")},t.findArray=function(e,t){if("function"==typeof e.find)return e.find(t);for(var n=0,r=e.length;n=a&&(r=Math.max(r-t,window.scrollX+1)),o+n-window.scrollY>=i.clientHeight-25&&(o=Math.max(o-n,window.scrollY+1)),{top:o,left:r,marginRight:a-r}},t.socketIsClosed=ee,t.canAbort=function(e){return!e.lost&&!e.endTime||!e.reqError&&!e.resError&&!!e.frames&&!ee(e)},t.asCURL=function(e){if(!e)return e;var t=e.req,n=e.url.replace(/^ws/,"http"),r=["curl","-X",t.method,JSON.stringify(n)],o=t.headers,i=t.rawHeaderNames||{};Object.keys(o).forEach((function(e){"content-length"!==e&&"content-encoding"!==e&&"accept-encoding"!==e&&r.push("-H",JSON.stringify((i[e]||e)+": "+o[e]))}));var a=xe(t,!0);return a&&(a.length<=73728||H(t.headers)||Z(t))&&r.push("-d",JSON.stringify(a)),r.join(" ")},t.parseHeadersFromHar=function(e){var t={},n={};return Array.isArray(e)&&e.forEach((function(e){var r=e.name,o=r.toLowerCase();t[o]=e.value,n[o]=r})),{headers:t,rawHeaderNames:n}},t.getTimeFromHar=function(e){return e>0?e:0},t.parseKeyword=function(e){e=e.toLowerCase().split(/\s+/g);for(var t={},n=0,r=0;r<=3;r++){var o=e[r];o&&0===o.indexOf("level:")?t.level=o.substring(6):n<3&&(t["key"+ ++n]=o)}return t},t.hasVisibleLog=function(e){var t=e.length;if(!t)return!1;for(var n=0;n0&&o0&&e.splice(0,t),e};var re=/\b\d\d?:\d\d?:\d\d?\b/;function oe(e){var t=e.toLocaleString();if(!re.test(t))return t;var n=RegExp["$&"],r=e.getTime()%1e3;return r<10?r="00"+r:r<100&&(r="0"+r),t.replace(n,n+"."+r)}t.toLocaleString=oe,t.filterLogList=function(e,t){e&&(t?e.forEach((function(e){var n=t.level;if(n&&e.level!==n)e.hide=!0;else{var r="Date: "+oe(new Date(e.date))+e.logId+"\r\n"+e.text;e.hide=te(r,t)}})):e.forEach(ne))},t.checkLogText=te,t.scrollAtBottom=function(e,t){return e.scrollTop+e.offsetHeight+5>t.offsetHeight},t.triggerListChange=function(e,t){try{var n=window.parent["rules"===e?"onWhistleRulesChange":"onWhistleValuesChange"];"function"==typeof n&&n(t)}catch(e){}};var ie=/^\/(.+)\/(i?m?|m?i)$/;function ae(e,t){return function(e){return e>0?new Array(e+1).join("0"):""}(t-(e=e.toString(16).toUpperCase()).length)+e}function se(e){for(var t,n,r=e.length,o=Math.max(6,r.toString(16).length),i=[],a=Math.ceil(r/16),s=0;s31&&n<127||n>159?String.fromCharCode(n):".";i.push(t+new Array(3*(17-d.length)).join(" ")+d)}return i.join("\n")}t.toRegExp=function(e){if(e){e=ie.test(e);try{e=e&&new RegExp(RegExp.$1,RegExp.$2)}catch(e){return}return e}};var le,ce=/%[a-f\d]{2}|./gi,de=/%[a-f\d]{2}/i,ue=/\+/g;if(window.TextDecoder)try{le=new TextDecoder("GB18030")}catch(e){}function pe(e,t){if(!e||"string"!=typeof e)return"";var n=e.replace(ue," ");try{return decodeURIComponent(n)}catch(e){}if(!t&&le&&de.test(n))try{var r=[];if(n.replace(ce,(function(e){e.length>1?r.push(parseInt(e.substring(1),16)):r.push(String.fromCharCode(e))})),!t(r))return le.decode(new window.Uint8Array(r))}catch(e){}return e}function he(e){try{return encodeURIComponent(e)}catch(e){}return e}function fe(e){try{return l(e)}catch(e){}return[]}function me(e){var t=fe(e),n={hex:se(t)};if(!g(t))try{n.text=le.decode(t)}catch(e){}if(!n.text)try{n.text=u(e)}catch(t){n.text=e}return n}t.decodeURIComponentSafe=pe,t.encodeURIComponent=he,t.decodeBase64=me;var ge="$body",be="$hex",ve="$json";function ye(e){if(e)try{return se(fe(e))}catch(e){}return e}function we(e,t){if(!e[ge]||!e[be]){if(!e.base64){var n=e.body||e.text;if((e.closed||e.err)&&(n=String(e.err||function(e){return"Closed"+(e.code?" ("+e.code+")":"")}(e))),n)try{n=String(n),e.base64=p(n),e[ge]=n,e[be]=ye(e.base64)}catch(e){}finally{delete e.body,delete e.bin,delete e.text}if(!e.base64||e._hasError)return}var r=!t&&function(e){var t=z(e.headers);return t&&"IMG"===F(t)?t:""}(e);if(r)e[ge]="data:"+r+";base64,"+e.base64,e[be]=ye(e.base64);else{var o=me(e.base64);e[ge]=o.text,e[be]=o.hex}}}function xe(e,t){return we(e,t),e[ge]||""}window.Symbol&&(ge=window.Symbol.for(ge),be=window.Symbol.for(be),ve=window.Symbol.for(ve)),t.getHexFromBase64=ye,t.getJson=function(e,t,n){if(null==e[ve]){var r=xe(e,t);r=r&&function(e,t){window._$hasBigNumberJson=!1;var n=V(e,!0);if(n||!e||!t)return n;try{return V(t(e),!0)}catch(e){}}(r,n),e[ve]=r?{json:r,isJSONText:a,str:(window._$hasBigNumberJson?f:JSON).stringify(r,null," ")}:""}return e[ve]},t.getBody=xe,t.getHex=function(e){return we(e),e[be]||""};var Ce=/charset=([\w-]+)/i,ke=/]*\bcharset=(?:'|")?([\w-]+)[^>]*>/i;function Se(e,t){try{var n=JSON.parse(e);if(n&&"object"==typeof n)return n;!t&&b.error("Error: not a json object.")}catch(r){if(n=m(e))return n;!t&&b.error("Error: "+r.message)}}t.openPreview=function(e){if(e){var t=e.res,n=F(t.headers),r="IMG"===n;if(r||"HTML"===n){var o=e.url;o=/^((?:http|ws)s?:)?\/\//i.test(o)?RegExp.$1?o.replace(/^ws/,"http"):"http:"+o:"http://"+o;var i=r?"UTF8":function(e){var t=e.headers&&e.headers["content-type"];return Ce.test(t)||ke.test(xe(e))?RegExp.$1.toUpperCase():"UTF8"}(t);o+=(-1===o.indexOf("?")?"":"&")+"???WHISTLE_PREVIEW_CHARSET="+i,window.open(o+"???#"+(r?xe(t):t.base64))}}},t.parseRawJson=Se,t.parseHeaders=function(e){return(e="string"==typeof e?e.trim():null)?Se(e,!0)||function(e){var t={};return(e=e.split(y)).forEach((function(e){var n=e.indexOf(":"),r="";if(-1!=n){r=e.substring(n+1).trim();var o=e.substring(0,n).trim(),i=t[o];i?(Array.isArray(i)||(t[o]=i=[i]),i.push(r)):t[o]=r}})),t}(e):{}},t.hasRequestBody=function(e){return"string"==typeof e&&!("GET"===(e=e.toUpperCase())||"HEAD"===e||"OPTIONS"===e||"CONNECT"===e)};var Ee,Te,Ne,_e=/([^\x00-\xFF]|[\r\n%])/g;function Re(e){return e?e.split(".").map((function(e){return(e=parseInt(e,10)||0)>9?e:"0"+e})).join("."):""}function Me(e){var t=e.indexOf(" ")+2;return e.substring(t,e.indexOf(" ",t)).trim()}function Oe(e){try{var t=window.parent.onWhistlePageChange;"function"==typeof t&&Ee!==e&&(Ee=e,t(e,location.href))}catch(e){}}function Ie(e,t,n){var r,o=new FileReader,i=function(e,n){if(!r){if(r=!0,e)return o.abort(),v.alert(e.message);t(n)}},a="text"===n;return o[a?"readAsText":"readAsArrayBuffer"](e),o.onerror=i,o.onabort=function(){i(new Error("Aborted"))},o.onload=function(){var e=o.result;try{a||(e=new window.Uint8Array(e),e="base64"===n?c(e):e),i(null,e)}catch(e){i(e)}},o}function Ae(e,t,n){var r=e.length,o=t&&t.length;if(!r||!o)return-1;var i=t[0],a=e.indexOf(i,n||0);if(1===o)return a;for(var s=-1;-1!==a;){s=a;for(var l=0;l-1&&(n=e.slice(o+1),e=e.slice(0,o)),(o=t&&t.indexOf("-"))>-1&&(r=t.slice(o+1),t=t.slice(0,o)),(e=Re(e))>(t=Re(t))||!(t>e)&&n0?Math.min(n,c):void 0,e.disabled=a}else e.hide=!0},t.parseImportData=function(e,t,n){var r,o=[];return Object.keys(e).forEach((function(i){var a=e[i];if(null!=a){if(n)if("object"==typeof a)try{a=JSON.stringify(a,null," ")}catch(e){return}else a+="";if("string"==typeof a){var s,l=t&&t.get(i);l&&(s=l.value&&l.value!=a,r=r||s),o.push({name:i,value:a,isConflict:s})}}})),o.hasConflict=r,o},t.getSize=function(e){return e<1024?e:(e=(e/1024).toFixed(2))<1024?e+"k":(e=(e/1024).toFixed(2))<1024?e+"m":(e/1024).toFixed(2)+"G"},t.getQps=function(e){return e?(e/100).toFixed(2):"0"};var Pe=/^\s*multipart\//i,ze=/boundary=(?:"([^"]+)"|([^;]+))/i,Fe=Le("\r\n\r\n"),He=/name=(?:"([^"]+)"|([^;]+))/i,je=/filename=(?:"([^"]+)"|([^;]+))/i,Ue=/^\s*content-type:\s*([^\s]+)/i,Be=Le("\r\n");function qe(e){try{e=u(c(e)).split("\r\n")}catch(e){return}if(He.test(e[0])){var t={name:RegExp.$1||RegExp.$2,value:""};if(Ue.test(e[1])){t.type=RegExp.$1;var n=e[0].indexOf("name="+RegExp["$&"]);je.test(e[0].substring(n+1))&&(t.value=RegExp.$1||RegExp.$2)}return t}}t.isUploadForm=function(e){var t=e.headers&&e.headers["content-type"];return Pe.test(t)},t.parseUploadBody=function(e,t){if(e.base64){var n=e.headers&&e.headers["content-type"];if(ze.test(n)){var r=RegExp.$1||RegExp.$2,o=function(e){try{return l(e)}catch(e){}return null}(e.base64);return o&&function(e,t,n){for(var r="--"+t,o=Le(r+"\r\n"),i=Le("\r\n"+r),a=o.length,s=Ae(e,o),l=n?{}:[];s>=0;){var d=Ae(e,Fe,s+=a);if(-1===d)return l;var p=Ae(e,i,d+2);if(-1===p)return l;var h=e.slice(s,d),f=(d+=4)>=p?"":e.slice(d,p);if(h=qe(h))if(n){var m=h.name+(h.type?" ("+h.type+")":""),g=h.value;if(f)try{g=u(c(f))||""}catch(e){g="[Binary data]"}var b=l[m];null!=b?(Array.isArray(b)||(b=l[m]=[b]),b.push(g)):l[m]=g}else{if(h.type)h.data=f;else try{h.value=f&&u(c(f))}catch(e){}l.push(h)}s=Ae(e,o,p+2)}return l}(o,r,t)}}};var We=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"];function Ve(e){var t,n="",r=e.length;for(t=2;t>2],n+=We[(3&e[t-2])<<4|e[t-1]>>4],n+=We[(15&e[t-1])<<2|e[t]>>6],n+=We[63&e[t]];return t===r+1&&(n+=We[e[t-2]>>2],n+=We[(3&e[t-2])<<4],n+="=="),t===r&&(n+=We[e[t-2]>>2],n+=We[(3&e[t-2])<<4|e[t-1]>>4],n+=We[(15&e[t-1])<<2],n+="="),n}function Ge(e){return e<10?"0"+e:e}t.getMultiBody=function(e){var t,n="----WhistleUploadForm"+Date.now().toString(16)+Math.floor(1e11*Math.random()).toString(16),r=Le("--"+n+"\r\n");return e.forEach((function(e){(e=function(e){var t='Content-Disposition: form-data; name="'+e.name+'"',n=e.data;if(n?(t+='; filename="'+e.value+'"',e.type&&(t+="\r\nContent-Type: "+e.type)):n=e.value&&Le(e.value),t)return t=Le(t+"\r\n\r\n"),n?De(t,n,Be):t}(e))&&(e=De(r,e),t=t?De(t,e):e)})),{boundary:n,length:(t=t&&De(t,Le("--"+n+"--")))?t.length:0,base64:t&&Ve(t)}},t.padding=Ge,t.formatDate=function(e){e=e||new Date;var t,n=[];return n.push(e.getFullYear()),n.push(Ge(e.getMonth()+1)),n.push(Ge(e.getDate())),n.push(Ge(e.getHours())),n.push(Ge(e.getMinutes())),n.push(Ge(e.getSeconds())),n.push((t=e.getMilliseconds())>99?t:t>9?"0"+t:"00"+t),n.join("")},t.formatTime=function(e){var t=Ge((e=Math.floor(e/1e3))%60),n=Ge((e=Math.floor(e/60))%60),r=Ge((e=Math.floor(e/60))%24),o=Math.floor(e/24);return(o?Ge(o)+" ":"")+r+":"+n+":"+t};var Ke={};function Ze(e){e=B(e,/;\s*/,null,null,!0);var t={httpOnly:!1,secure:!1};for(var n in e)switch(n.toLowerCase()){case"domain":t.domain=e[n];break;case"path":t.path=e[n];break;case"expires":t.expires=e[n];break;case"max-age":t["max-age"]=e[n],t.maxAge=e[n],t.maxage=e[n];break;case"httponly":t.httpOnly=!0,t.httponly=!0;break;case"secure":t.secure=!0;break;case"samesite":t.sameSite=e[n],t.samesite=e[n];break;default:t[0]||(t.name=n,t.value=e[n])}return t}function Je(e,t){var n=[];return e&&(t=t||Ke,Object.keys(e).forEach((function(r){var o=e[r];r=t[r]||r,Array.isArray(o)?o.forEach((function(e){n.push({name:r,value:e+""})})):n.push({name:r,value:o+""})}))),n}function Ye(e,t){return Je(e=B(e,t))}function $e(e){var t=e.headers||"";return{size:e.unzipSize||e.size||-1,mimeType:t["content-type"]||"none",params:[],text:""}}function Qe(e){var t,n=e.req,r=e.url,o=n.headers||"",i=Ye(o.cookie,/;\s*/),a=r.indexOf("?"),s=-1===a?[]:Ye(r.substring(a+1));if(Z(n)){var l=xe(n,!0);(t=t||$e(n)).text=l,t.params=Ye(l)}else n.base64?((t=t||$e(n)).base64=n.base64,t.text=xe(n,!0)):n.body&&((t=t||$e(n)).text=n.body);return{method:e.method,url:r,ip:n.ip,port:n.port,httpVersion:e.useH2?"HTTP/2.0":"HTTP/1.1",cookies:i,headers:Je(o,n.rawHeaderNames),queryString:s,postData:t,headersSize:-1,bodySize:n.size||-1,comment:""}}function Xe(e){var t=e.res,n=t.headers||"",r=n["set-cookie"];return r=r?Array.isArray(r)?r.map(Ze):[Ze(r)]:[],{statusCode:t.statusCode,status:parseInt(t.statusCode,10)||0,ip:t.ip,port:t.port,statusText:K(t),httpVersion:e.useH2?"HTTP/2.0":"HTTP/1.1",cookies:r,headers:Je(n,t.rawHeaderNames),content:{size:t.unzipSize||t.size||-1,mimeType:n["content-type"]||"",base64:t.base64,text:xe(t)},redirectURL:n.location||"",headersSize:-1,bodySize:t.size||-1,comment:""}}function et(e,t){e.children&&(e.pExpand=t,t=e.expand&&t,e.children.forEach((function(e){et(e,t)})))}t.toHar=function(e){var t=-1,n=-1,r=-1,o=-1;return e.dnsTime>=e.startTime&&(t=n=e.dnsTime-e.startTime,e.requestTime>=e.dnsTime&&(r=e.requestTime-e.dnsTime,e.responseTime>=e.requestTime?(o=e.responseTime-e.requestTime,t=e.endTime>=e.responseTime?e.endTime-e.startTime:e.responseTime-e.startTime):t=e.requestTime-e.startTime)),{startedDateTime:new Date(e.startTime).toISOString(),time:t,whistleRules:e.rules,whistleFwdHost:e.fwdHost,whistleSniPlugin:e.sniPlugin,whistleVersion:e.version,whistleNodeVersion:e.nodeVersion,whistleRealUrl:e.realUrl,whistleTimes:{startTime:e.startTime,dnsTime:e.dnsTime,requestTime:e.requestTime,responseTime:e.responseTime,endTime:e.endTime},request:Qe(e),response:Xe(e),frames:e.frames,cache:{},timings:{blocked:0,dns:n,connect:-1,send:r,wait:-1,receive:o,ssl:-1,comment:""},clientIPAddress:e.clientIp,serverIPAddress:e.hostIp}},t.getUrl=function(e){return e&&-1===e.indexOf("/")?"tunnel://"+e:e},t.expandAll=function e(t){t.children&&(t.expand=!0,t.pExpand=!0,t.children.forEach(e))},t.collapseAll=function e(t){t.children&&(t.expand=!1,t.pExpand=!1,t.children.forEach(e))},t.expand=function(e){e.expand=!0,et(e,!0)},t.collapse=function(e){e.expand=!1,et(e,!1)};var tt=/^((?:http|ws)s?:\/\/)[^/?]*/;t.getRawUrl=function(e){return e.fwdHost&&e.url.replace(tt,"$1"+e.fwdHost)},t.isGroup=function(e){return e&&"\r"===e[0]}},90339:(e,t,n)=>{var r,o,i,a=n(19755);t.alert=function(e){r||(r=a('')),r.find("pre").text(e),r.modal("show")},t.confirm=function(e,t){o||((o=a('')).on("click",".w-win-cancel",(function(){"function"==typeof i&&i(!1),i=null})),o.on("click",".w-win-confirm",(function(){"function"==typeof i&&i(!0),i=null}))),o.is(":visible")||(i=t,o.find("pre").text(e),o.modal("show"))}},26378:(e,t,n)=>{e.exports={default:n(3597),__esModule:!0}},40863:(e,t,n)=>{e.exports={default:n(21035),__esModule:!0}},63239:(e,t,n)=>{e.exports={default:n(92742),__esModule:!0}},63850:(e,t,n)=>{e.exports={default:n(61512),__esModule:!0}},52945:(e,t,n)=>{e.exports={default:n(56981),__esModule:!0}},85861:(e,t,n)=>{e.exports={default:n(45627),__esModule:!0}},88759:(e,t,n)=>{e.exports={default:n(6753),__esModule:!0}},88902:(e,t,n)=>{e.exports={default:n(98613),__esModule:!0}},85345:(e,t,n)=>{e.exports={default:n(70433),__esModule:!0}},93516:(e,t,n)=>{e.exports={default:n(80025),__esModule:!0}},64275:(e,t,n)=>{e.exports={default:n(52392),__esModule:!0}},99663:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},88239:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(52945))&&r.__esModule?r:{default:r};t.default=o.default||function(e){for(var t=1;t{"use strict";t.__esModule=!0;var r=a(n(85345)),o=a(n(85861)),i=a(n(72444));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},42723:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},49135:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(72444))&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},12424:(e,t,n)=>{"use strict";t.__esModule=!0;var r=i(n(40863)),o=i(n(26378));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var s,l=(0,o.default)(e);!(r=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},72444:(e,t,n)=>{"use strict";t.__esModule=!0;var r=a(n(64275)),o=a(n(93516)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},53112:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},e.exports=t.default},96291:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},e.exports=t.default},253:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},e.exports=t.default},13783:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},e.exports=t.default},28447:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},e.exports=t.default},98629:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},e.exports=t.default},11931:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},e.exports=t.default},27113:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},e.exports=t.default},17757:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},e.exports=t.default},25328:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},e.exports=t.default},23906:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},e.exports=t.default},13236:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},e.exports=t.default},45190:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},e.exports=t.default},67339:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},e.exports=t.default},3517:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},e.exports=t.default},55091:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},e.exports=t.default},15021:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},e.exports=t.default},86664:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},e.exports=t.default},83935:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},e.exports=t.default},1857:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},e.exports=t.default},78960:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},e.exports=t.default},58038:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},e.exports=t.default},79194:(e,t,n)=>{"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var o=n(2633);t.threezerotwofour=r(o);var i=n(53112);t.apathy=r(i);var a=n(96291);t.ashes=r(a);var s=n(253);t.atelierDune=r(s);var l=n(13783);t.atelierForest=r(l);var c=n(28447);t.atelierHeath=r(c);var d=n(98629);t.atelierLakeside=r(d);var u=n(11931);t.atelierSeaside=r(u);var p=n(27113);t.bespin=r(p);var h=n(17757);t.brewer=r(h);var f=n(25328);t.bright=r(f);var m=n(23906);t.chalk=r(m);var g=n(13236);t.codeschool=r(g);var b=n(45190);t.colors=r(b);var v=n(67339);t.default=r(v);var y=n(3517);t.eighties=r(y);var w=n(55091);t.embers=r(w);var x=n(15021);t.flat=r(x);var C=n(86664);t.google=r(C);var k=n(83935);t.grayscale=r(k);var S=n(1857);t.greenscreen=r(S);var E=n(78960);t.harmonic=r(E);var T=n(58038);t.hopscotch=r(T);var N=n(30971);t.isotope=r(N);var _=n(8764);t.marrakesh=r(_);var R=n(65364);t.mocha=r(R);var M=n(55610);t.monokai=r(M);var O=n(94646);t.ocean=r(O);var I=n(58466);t.paraiso=r(I);var A=n(35708);t.pop=r(A);var D=n(1834);t.railscasts=r(D);var L=n(45410);t.shapeshifter=r(L);var P=n(27427);t.solarized=r(P);var z=n(63013);t.summerfruit=r(z);var F=n(1304);t.tomorrow=r(F);var H=n(19028);t.tube=r(H);var j=n(71899);t.twilight=r(j)},30971:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},e.exports=t.default},8764:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},e.exports=t.default},65364:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},e.exports=t.default},55610:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},e.exports=t.default},94646:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},e.exports=t.default},58466:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},e.exports=t.default},35708:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},e.exports=t.default},1834:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},e.exports=t.default},45410:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},e.exports=t.default},27427:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},e.exports=t.default},63013:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},e.exports=t.default},2633:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},e.exports=t.default},1304:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},e.exports=t.default},19028:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},e.exports=t.default},71899:(e,t)=>{"use strict";t.__esModule=!0,t.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},e.exports=t.default},79742:(e,t)=>{"use strict";t.b$=function(e){var t,n,i=function(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}(e),a=i[0],s=i[1],l=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),c=0,d=s>0?a-4:a;for(n=0;n>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.JQ=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,c=r-o;sc?c:s+a));return 1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},43734:()=>{if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(e){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(e){"use strict";e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;return e(this).one("bsTransitionEnd",(function(){n=!0})),setTimeout((function(){n||e(r).trigger(e.support.transition.end)}),t),this},e((function(){e.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.close=function(t){var r=e(this),o=r.attr("data-target");o||(o=(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var i=e(o);function a(){i.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),i.length||(i=r.closest(".alert")),i.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a())};var r=e.fn.alert;e.fn.alert=function(t){return this.each((function(){var r=e(this),o=r.data("bs.alert");o||r.data("bs.alert",o=new n(this)),"string"==typeof t&&o[t].call(r)}))},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.bs.alert.data-api",t,n.prototype.close)}(jQuery),function(e){"use strict";var t=function(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.isLoading=!1};function n(n){return this.each((function(){var r=e(this),o=r.data("bs.button"),i="object"==typeof n&&n;o||r.data("bs.button",o=new t(this,i)),"toggle"==n?o.toggle():n&&o.setState(n)}))}t.VERSION="3.3.5",t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var n="disabled",r=this.$element,o=r.is("input")?"val":"html",i=r.data();t+="Text",null==i.resetText&&r.data("resetText",r[o]()),setTimeout(e.proxy((function(){r[o](null==i[t]?this.options[t]:i[t]),"loadingText"==t?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n))}),this),0)},t.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=e.fn.button;e.fn.button=n,e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=r,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(t){var r=e(t.target);r.hasClass("btn")||(r=r.closest(".btn")),n.call(r,"toggle"),e(t.target).is('input[type="radio"]')||e(t.target).is('input[type="checkbox"]')||t.preventDefault()})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))}))}(jQuery),function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};function n(n){return this.each((function(){var r=e(this),o=r.data("bs.carousel"),i=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n),a="string"==typeof n?n:i.slide;o||r.data("bs.carousel",o=new t(this,i)),"number"==typeof n?o.to(n):a?o[a]():i.interval&&o.pause().cycle()}))}t.VERSION="3.3.5",t.TRANSITION_DURATION=600,t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},t.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},t.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},t.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);if(("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap)return t;var r=(n+("prev"==e?-1:1))%this.$items.length;return this.$items.eq(r)},t.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){t.to(e)})):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},t.prototype.next=function(){if(!this.sliding)return this.slide("next")},t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},t.prototype.slide=function(n,r){var o=this.$element.find(".item.active"),i=r||this.getItemForDirection(n,o),a=this.interval,s="next"==n?"left":"right",l=this;if(i.hasClass("active"))return this.sliding=!1;var c=i[0],d=e.Event("slide.bs.carousel",{relatedTarget:c,direction:s});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var u=e(this.$indicators.children()[this.getItemIndex(i)]);u&&u.addClass("active")}var p=e.Event("slid.bs.carousel",{relatedTarget:c,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(i.addClass(n),i[0].offsetWidth,o.addClass(s),i.addClass(s),o.one("bsTransitionEnd",(function(){i.removeClass([n,s].join(" ")).addClass("active"),o.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(p)}),0)})).emulateTransitionEnd(t.TRANSITION_DURATION)):(o.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger(p)),a&&this.cycle(),this}};var r=e.fn.carousel;e.fn.carousel=n,e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=r,this};var o=function(t){var r,o=e(this),i=e(o.attr("data-target")||(r=o.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(i.hasClass("carousel")){var a=e.extend({},i.data(),o.data()),s=o.attr("data-slide-to");s&&(a.interval=!1),n.call(i,a),s&&i.data("bs.carousel").to(s),t.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),e(window).on("load",(function(){e('[data-ride="carousel"]').each((function(){var t=e(this);n.call(t,t.data())}))}))}(jQuery),function(e){"use strict";var t=function(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.$trigger=e('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(r)}function r(n){return this.each((function(){var r=e(this),o=r.data("bs.collapse"),i=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n);!o&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),o||r.data("bs.collapse",o=new t(this,i)),"string"==typeof n&&o[n]()}))}t.VERSION="3.3.5",t.TRANSITION_DURATION=350,t.DEFAULTS={toggle:!0},t.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},t.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(n=o.data("bs.collapse"))&&n.transitioning)){var i=e.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){o&&o.length&&(r.call(o,"hide"),n||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[a](this.$element[0][l])}}}},t.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=e.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var r=this.dimension();this.$element[r](this.$element[r]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return o.call(this);this.$element[r](0).one("bsTransitionEnd",e.proxy(o,this)).emulateTransitionEnd(t.TRANSITION_DURATION)}}},t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},t.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy((function(t,r){var o=e(r);this.addAriaAndCollapsedClass(n(o),o)}),this)).end()},t.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=e.fn.collapse;e.fn.collapse=r,e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=o,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(t){var o=e(this);o.attr("data-target")||t.preventDefault();var i=n(o),a=i.data("bs.collapse")?"toggle":o.data();r.call(i,a)}))}(jQuery),function(e){"use strict";var t='[data-toggle="dropdown"]',n=function(t){e(t).on("click.bs.dropdown",this.toggle)};function r(t){var n=t.attr("data-target");n||(n=(n=t.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&e(n);return r&&r.length?r:t.parent()}function o(n){n&&3===n.which||(e(".dropdown-backdrop").remove(),e(t).each((function(){var t=e(this),o=r(t),i={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(o[0],n.target)||(o.trigger(n=e.Event("hide.bs.dropdown",i)),n.isDefaultPrevented()||(t.attr("aria-expanded","false"),o.removeClass("open").trigger("hidden.bs.dropdown",i))))})))}n.VERSION="3.3.5",n.prototype.toggle=function(t){var n=e(this);if(!n.is(".disabled, :disabled")){var i=r(n),a=i.hasClass("open");if(o(),!a){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",o);var s={relatedTarget:this};if(i.trigger(t=e.Event("show.bs.dropdown",s)),t.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var o=e(this);if(n.preventDefault(),n.stopPropagation(),!o.is(".disabled, :disabled")){var i=r(o),a=i.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&i.find(t).trigger("focus"),o.trigger("click");var s=i.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(n.target);38==n.which&&l>0&&l--,40==n.which&&ldocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},t.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),i=o.length;i--;){var a=o[i];if("click"==a)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,(function(e,r){n[e]!=r&&(t[e]=r)})),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},t.prototype.show=function(){var n=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var r=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!r)return;var o=this,i=this.tip(),a=this.getUID(this.type);this.setContent(),i.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&i.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),u=i[0].offsetWidth,p=i[0].offsetHeight;if(c){var h=s,f=this.getPosition(this.$viewport);s="bottom"==s&&d.bottom+p>f.bottom?"top":"top"==s&&d.top-pf.width?"left":"left"==s&&d.left-ua.top+a.height&&(o.top=a.top+a.height-l)}else{var c=t.left-i,d=t.left+i+n;ca.right&&(o.left=a.left+a.width-d)}return o},t.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},t.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide((function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null}))};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each((function(){var r=e(this),o=r.data("bs.tooltip"),i="object"==typeof n&&n;!o&&/destroy|hide/.test(n)||(o||r.data("bs.tooltip",o=new t(this,i)),"string"==typeof n&&o[n]())}))},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery),function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.5",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),(t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype)).constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each((function(){var r=e(this),o=r.data("bs.popover"),i="object"==typeof n&&n;!o&&/destroy|hide/.test(n)||(o||r.data("bs.popover",o=new t(this,i)),"string"==typeof n&&o[n]())}))},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),function(e){"use strict";function t(n,r){this.$body=e(document.body),this.$scrollElement=e(n).is(document.body)?e(window):e(n),this.options=e.extend({},t.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var r=e(this),o=r.data("bs.scrollspy"),i="object"==typeof n&&n;o||r.data("bs.scrollspy",o=new t(this,i)),"string"==typeof n&&o[n]()}))}t.VERSION="3.3.5",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var t=e(this),o=t.data("target")||t.attr("href"),i=/^#./.test(o)&&e(o);return i&&i.length&&i.is(":visible")&&[[i[n]().top+r,o]]||null})).sort((function(e,t){return e[0]-t[0]})).each((function(){t.offsets.push(this[0]),t.targets.push(this[1])}))},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,i=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=r)return a!=(e=i[i.length-1])&&this.activate(e);if(a&&t=o[e]&&(void 0===o[e+1]||t .active"),a=o&&e.support.transition&&(i.length&&i.hasClass("fade")||!!r.find("> .fade").length);function s(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}i.length&&a?i.one("bsTransitionEnd",s).emulateTransitionEnd(t.TRANSITION_DURATION):s(),i.removeClass("in")};var r=e.fn.tab;e.fn.tab=n,e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=r,this};var o=function(t){t.preventDefault(),n.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(e){"use strict";var t=function(n,r){this.options=e.extend({},t.DEFAULTS,r),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var r=e(this),o=r.data("bs.affix"),i="object"==typeof n&&n;o||r.data("bs.affix",o=new t(this,i)),"string"==typeof n&&o[n]()}))}t.VERSION="3.3.5",t.RESET="affix affix-top affix-bottom",t.DEFAULTS={offset:0,target:window},t.prototype.getState=function(e,t,n,r){var o=this.$target.scrollTop(),i=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return o=e-r&&"bottom"},t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var e=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-e},t.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},t.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),r=this.options.offset,o=r.top,i=r.bottom,a=Math.max(e(document).height(),e(document.body).height());"object"!=typeof r&&(i=o=r),"function"==typeof o&&(o=r.top(this.$element)),"function"==typeof i&&(i=r.bottom(this.$element));var s=this.getState(a,n,o,i);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),c=e.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(t.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-n-i})}};var r=e.fn.affix;e.fn.affix=n,e.fn.affix.Constructor=t,e.fn.affix.noConflict=function(){return e.fn.affix=r,this},e(window).on("load",(function(){e('[data-spy="affix"]').each((function(){var t=e(this),r=t.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),n.call(t,r)}))}))}(jQuery)},36970:(e,t,n)=>{"use strict";var r=n(60586);e.exports=function(){return"function"==typeof r.Promise&&"function"==typeof r.Promise.prototype.then}},73493:function(e,t,n){var r,o,i;o=[e,n(83817)],r=function(e,t){"use strict";var n,r=(n=t)&&n.__esModule?n:{default:n};var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a},void 0===(i=r.apply(t,o))||(e.exports=i)},34987:function(e,t,n){var r,o,i;o=[e,n(73493),n(74279),n(47370)],r=function(e,t,n,r){"use strict";var o=s(t),i=s(n),a=s(r);function s(e){return e&&e.__esModule?e:{default:e}}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var c=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===l(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,a.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(i.default);function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=d},void 0===(i=r.apply(t,o))||(e.exports=i)},55292:(e,t,n)=>{!function(e){function t(e,t,n){var r;return(r=e.getWrapperElement().appendChild(document.createElement("div"))).className=n?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof t?r.innerHTML=t:r.appendChild(t),r}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension("openDialog",(function(r,o,i){i||(i={}),n(this,null);var a=t(this,r,i.bottom),s=!1,l=this;function c(e){if("string"==typeof e)u.value=e;else{if(s)return;s=!0,a.parentNode.removeChild(a),l.focus(),i.onClose&&i.onClose(a)}}var d,u=a.getElementsByTagName("input")[0];return u?(i.value&&(u.value=i.value,!1!==i.selectValueOnOpen&&u.select()),i.onInput&&e.on(u,"input",(function(e){i.onInput(e,u.value,c)})),i.onKeyUp&&e.on(u,"keyup",(function(e){i.onKeyUp(e,u.value,c)})),e.on(u,"keydown",(function(t){i&&i.onKeyDown&&i.onKeyDown(t,u.value,c)||((27==t.keyCode||!1!==i.closeOnEnter&&13==t.keyCode)&&(u.blur(),e.e_stop(t),c()),13==t.keyCode&&o(u.value,t))})),!1!==i.closeOnBlur&&e.on(u,"blur",c),u.focus()):(d=a.getElementsByTagName("button")[0])&&(e.on(d,"click",(function(){c(),l.focus()})),!1!==i.closeOnBlur&&e.on(d,"blur",c),d.focus()),c})),e.defineExtension("openConfirm",(function(r,o,i){n(this,null);var a=t(this,r,i&&i.bottom),s=a.getElementsByTagName("button"),l=!1,c=this,d=1;function u(){l||(l=!0,a.parentNode.removeChild(a),c.focus())}s[0].focus();for(var p=0;p{!function(e){"use strict";e.registerHelper("fold","brace",(function(t,n){var r,o=n.line,i=t.getLine(o);function a(a){for(var s=n.ch,l=0;;){var c=s<=0?-1:i.lastIndexOf(a,s-1);if(-1!=c){if(1==l&&ct.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),"keyword"!=r.type||"import"!=r.string)return null;for(var o=n,i=Math.min(t.lastLine(),n+10);o<=i;++o){var a=t.getLine(o).indexOf(";");if(-1!=a)return{startCh:r.end,end:e.Pos(o,a)}}}var o,i=r(n=n.line);if(!i||r(n-1)||(o=r(n-2))&&o.end.line==n-1)return null;for(var a=i.end;;){var s=r(a.line+1);if(null==s)break;a=s.end}return{from:t.clipPos(e.Pos(n,i.startCh+1)),to:a}})),e.registerHelper("fold","include",(function(t,n){function r(n){if(nt.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));return/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),"meta"==r.type&&"#include"==r.string.slice(0,8)?r.start+8:void 0}var o=r(n=n.line);if(null==o||null!=r(n-1))return null;for(var i=n;null!=r(i+1);)++i;return{from:e.Pos(n,o+1),to:t.clipPos(e.Pos(i))}}))}(n(4631))},9898:(e,t,n)=>{!function(e){"use strict";e.registerGlobalHelper("fold","comment",(function(e){return e.blockCommentStart&&e.blockCommentEnd}),(function(t,n){var r=t.getModeAt(n),o=r.blockCommentStart,i=r.blockCommentEnd;if(o&&i){for(var a,s=n.line,l=t.getLine(s),c=n.ch,d=0;;){var u=c<=0?-1:l.lastIndexOf(o,c-1);if(-1!=u){if(1==d&&u{!function(e){"use strict";function t(t,n,o,i){if(o&&o.call){var a=o;o=null}else a=r(t,o,"rangeFinder");"number"==typeof n&&(n=e.Pos(n,0));var s=r(t,o,"minFoldSize");function l(e){var r=a(t,n);if(!r||r.to.line-r.from.linet.firstLine();)n=e.Pos(n.line-1,0),c=l(!1);if(c&&!c.cleared&&"unfold"!==i){var d=function(e,t){var n=r(e,t,"widget");if("string"==typeof n){var o=document.createTextNode(n);(n=document.createElement("span")).appendChild(o),n.className="CodeMirror-foldmarker"}return n}(t,o);e.on(d,"mousedown",(function(t){u.clear(),e.e_preventDefault(t)}));var u=t.markText(c.from,c.to,{replacedWith:d,clearOnEnter:!0,__isFold:!0});u.on("clear",(function(n,r){e.signal(t,"unfold",t,n,r)})),e.signal(t,"fold",t,c.from,c.to)}}e.newFoldFunction=function(e,n){return function(r,o){t(r,o,{rangeFinder:e,widget:n})}},e.defineExtension("foldCode",(function(e,n,r){t(this,e,n,r)})),e.defineExtension("isFolded",(function(e){for(var t=this.findMarksAt(e),n=0;n{!function(e){"use strict";e.defineOption("foldGutter",!1,(function(t,r,o){var i;o&&o!=e.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off("gutterClick",s),t.off("change",l),t.off("viewportChange",c),t.off("fold",d),t.off("unfold",d),t.off("swapDoc",a)),r&&(t.state.foldGutter=new n((!0===(i=r)&&(i={}),null==i.gutter&&(i.gutter="CodeMirror-foldgutter"),null==i.indicatorOpen&&(i.indicatorOpen="CodeMirror-foldgutter-open"),null==i.indicatorFolded&&(i.indicatorFolded="CodeMirror-foldgutter-folded"),i)),a(t),t.on("gutterClick",s),t.on("change",l),t.on("viewportChange",c),t.on("fold",d),t.on("unfold",d),t.on("swapDoc",a))}));var t=e.Pos;function n(e){this.options=e,this.from=this.to=0}function r(e,n){for(var r=e.findMarksAt(t(n)),o=0;o=l&&(i=o(a.indicatorOpen))}e.setGutterMarker(n,a.gutter,i),++s}))}function a(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation((function(){i(e,t.from,t.to)})),n.from=t.from,n.to=t.to)}function s(e,n,o){var i=e.state.foldGutter;if(i){var a=i.options;if(o==a.gutter){var s=r(e,n);s?s.clear():e.foldCode(t(n,0),a.rangeFinder)}}}function l(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){a(e)}),n.foldOnChangeTimeSpan||600)}}function c(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?a(e):e.operation((function(){n.fromt.to&&(i(e,t.to,n.to),t.to=n.to)}))}),n.updateViewportTimeSpan||400)}}function d(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&r{!function(e){"use strict";function t(e,t){this.cm=e,this.options=this.buildOptions(t),this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor(),this.startLen=this.cm.getLine(this.startPos.line).length;var n=this;e.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var o in n)r[o]=n[o];return e.showHint(r)},e.defineExtension("showHint",(function(n){if(!(this.listSelections().length>1||this.somethingSelected())){this.state.completionActive&&this.state.completionActive.close();var r=this.state.completionActive=new t(this,n);r.options.hint&&(e.signal(this,"startCompletion",this),r.update(!0))}}));var n=window.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},r=window.cancelAnimationFrame||clearTimeout;function o(e){return"string"==typeof e?e:e.text}function i(e,t){for(;t&&t!=e;){if("LI"===t.nodeName.toUpperCase()&&t.parentNode==e)return t;t=t.parentNode}}function a(t,n){this.completion=t,this.data=n,this.picked=!1;var r=this,a=t.cm,s=this.hints=document.createElement("ul");s.className="CodeMirror-hints",this.selectedHint=n.selectedHint||0;for(var l=n.list,c=0;c0){var w=y.bottom-y.top;if(h.top-(h.bottom-y.top)-w>0)s.style.top=(m=h.top-w)+"px",g=!1;else if(w>v){s.style.height=v-5+"px",s.style.top=(m=h.bottom-y.top)+"px";var x=a.getCursor();n.from.ch!=x.ch&&(h=a.cursorCoords(x),s.style.left=(f=h.left)+"px",y=s.getBoundingClientRect())}}var C,k=y.right-b;k>0&&(y.right-y.left>b&&(s.style.width=b-5+"px",k-=y.right-y.left-b),s.style.left=(f=h.left-k)+"px"),a.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close},r=e.options.customKeys,o=r?{}:n;function i(e,r){var i;i="string"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,o[e]=i}if(r)for(var a in r)r.hasOwnProperty(a)&&i(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&i(a,s[a]);return o}(t,{moveFocus:function(e,t){r.changeActive(r.selectedHint+e,t)},setFocus:function(e){r.changeActive(e)},menuSize:function(){return r.screenAmount()},length:l.length,close:function(){t.close()},pick:function(){r.pick()},data:n})),t.options.closeOnUnfocus&&(a.on("blur",this.onBlur=function(){C=setTimeout((function(){t.close()}),100)}),a.on("focus",this.onFocus=function(){clearTimeout(C)}));var S=a.getScrollInfo();return a.on("scroll",this.onScroll=function(){var e=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),r=m+S.top-e.top,o=r-(window.pageYOffset||(document.documentElement||document.body).scrollTop);if(g||(o+=s.offsetHeight),o<=n.top||o>=n.bottom)return t.close();s.style.top=r+"px",s.style.left=f+S.left-e.left+"px"}),e.on(s,"dblclick",(function(e){var t=i(s,e.target||e.srcElement);t&&null!=t.hintId&&(r.changeActive(t.hintId),r.pick())})),e.on(s,"click",(function(e){var n=i(s,e.target||e.srcElement);n&&null!=n.hintId&&(r.changeActive(n.hintId),t.options.completeOnSingleClick&&r.pick())})),e.on(s,"mousedown",(function(){setTimeout((function(){a.focus()}),20)})),e.signal(n,"select",l[0],s.firstChild),!0}t.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&e.signal(this.data,"close"),this.widget&&this.widget.close(),e.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n];r.hint?r.hint(this.cm,t,r):this.cm.replaceRange(o(r),r.from||t.from,r.to||t.to,"complete"),e.signal(t,"pick",r),this.close()},cursorActivity:function(){this.debounce&&(r(this.debounce),this.debounce=0);var e=this.cm.getCursor(),t=this.cm.getLine(e.line);if(e.line!=this.startPos.line||t.length-e.ch!=this.startLen-this.startPos.ch||e.ch=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var r=this.hints.childNodes[this.selectedHint];r.className=r.className.replace(" CodeMirror-hint-active",""),(r=this.hints.childNodes[this.selectedHint=t]).className+=" CodeMirror-hint-active",r.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=r.offsetTop+r.offsetHeight-this.hints.clientHeight+3),e.signal(this.data,"select",this.data.list[this.selectedHint],r)}},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",(function(t,n){var r,o=t.getHelpers(t.getCursor(),"hint");if(o.length)for(var i=0;i,]/,closeOnUnfocus:!0,completeOnSingleClick:!1,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)}(n(4631))},65379:(e,t,n)=>{!function(e){"use strict";function t(e,t){function n(e){clearTimeout(r.doRedraw),r.doRedraw=setTimeout((function(){r.redraw()}),e)}this.cm=e,this.options=t,this.buttonHeight=t.scrollButtonHeight||e.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=e.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();var r=this;e.on("refresh",this.resizeHandler=function(){clearTimeout(r.doUpdate),r.doUpdate=setTimeout((function(){r.computeScale()&&n(20)}),100)}),e.on("markerAdded",this.resizeHandler),e.on("markerCleared",this.resizeHandler),!1!==t.listenForChanges&&e.on("change",this.changeHandler=function(){n(250)})}e.defineExtension("annotateScrollbar",(function(e){return"string"==typeof e&&(e={className:e}),new t(this,e)})),e.defineOption("scrollButtonHeight",0),t.prototype.computeScale=function(){var e=this.cm,t=(e.getWrapperElement().clientHeight-e.display.barHeight-2*this.buttonHeight)/e.heightAtLine(e.lastLine()+1,"local");if(t!=this.hScale)return this.hScale=t,!0},t.prototype.update=function(e){this.annotations=e,this.redraw()},t.prototype.redraw=function(e){!1!==e&&this.computeScale();var t=this.cm,n=this.hScale,r=document.createDocumentFragment(),o=this.annotations,i=t.getOption("lineWrapping"),a=i&&1.5*t.defaultTextHeight(),s=null,l=null;function c(e,n){return s!=e.line&&(s=e.line,l=t.getLineHandle(s)),i&&l.height>a?t.charCoords(e,"local")[n?"top":"bottom"]:t.heightAtLine(l,"local")+(n?0:l.height)}if(t.display.barWidth)for(var d,u=0;uf+.9);)f=c((p=o[++u]).to,!1)*n;if(f!=h){var m=Math.max(f-h,3),g=r.appendChild(document.createElement("div"));g.style.cssText="position: absolute; right: 0px; width: "+Math.max(t.display.barWidth-1,2)+"px; top: "+(h+this.buttonHeight)+"px; height: "+m+"px",g.className=this.options.className}}this.div.textContent="",this.div.appendChild(r)},t.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("change",this.changeHandler),this.div.parentNode.removeChild(this.div)}}(n(4631))},58977:(e,t,n)=>{!function(e){"use strict";function t(e,t,n,r){this.cm=e,this.options=r;var o={listenForChanges:!1};for(var i in r)o[i]=r[i];o.className||(o.className="CodeMirror-search-match"),this.annotation=e.annotateScrollbar(o),this.query=t,this.caseFold=n,this.gap={from:e.firstLine(),to:e.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var a=this;e.on("change",this.changeHandler=function(e,t){a.onChange(t)})}e.defineExtension("showMatchesOnScrollbar",(function(e,n,r){return"string"==typeof r&&(r={className:r}),r||(r={}),new t(this,e,n,r)}));function n(e,t,n){return e<=t?e:Math.max(t,e+n)}t.prototype.findMatches=function(){if(this.gap){for(var t=0;t=this.gap.to);t++)o.to.line>=this.gap.from&&this.matches.splice(t--,1);for(var n=this.cm.getSearchCursor(this.query,e.Pos(this.gap.from,0),this.caseFold),r=this.options&&this.options.maxMatches||1e3;n.findNext();){var o;if((o={from:n.from(),to:n.to()}).from.line>=this.gap.to)break;if(this.matches.splice(t++,0,o),this.matches.length>r)break}this.gap=null}},t.prototype.onChange=function(t){var r=t.from.line,o=e.changeEnd(t).line,i=o-t.to.line;if(this.gap?(this.gap.from=Math.min(n(this.gap.from,r,i),t.from.line),this.gap.to=Math.max(n(this.gap.to,r,i),t.from.line)):this.gap={from:t.from.line,to:o+1},i)for(var a=0;a{!function(e){"use strict";function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function n(e){return e.state.search||(e.state.search=new t)}function r(e){return"string"==typeof e&&e==e.toLowerCase()}function o(e,t,n){return e.getSearchCursor(t,n,r(t))}function i(e,t,n,r,o){e.openDialog?e.openDialog(t,o,{value:r,selectValueOnOpen:!0}):o(prompt(n,r))}function a(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(e){}return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}var s='Search: (Use /re/ syntax for regexp search)';function l(e,t,n){t.queryText=n,t.query=a(n),e.removeOverlay(t.overlay,r(t.query)),t.overlay=function(e,t){return"string"==typeof e?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length,"searching";n?t.pos=n.index:t.skipToEnd()}}}(t.query,r(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,r(t.query)))}function c(t,r,o){var a=n(t);if(a.query)return d(t,r);var c=t.getSelection()||a.lastQuery;o&&t.openDialog?function(e,t,n,r){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){u(e)}})}(t,s,c,(function(n,r){e.e_stop(r),n&&(n!=a.queryText&&l(t,a,n),d(t,r.shiftKey))})):i(t,s,"Search for:",c,(function(e){e&&!a.query&&t.operation((function(){l(t,a,e),a.posFrom=a.posTo=t.getCursor(),d(t,r)}))}))}function d(t,r){t.operation((function(){var i=n(t),a=o(t,i.query,r?i.posFrom:i.posTo);(a.find(r)||(a=o(t,i.query,r?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(r))&&(t.setSelection(a.from(),a.to()),t.scrollIntoView({from:a.from(),to:a.to()},20),i.posFrom=a.from(),i.posTo=a.to())}))}function u(e){e.operation((function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function p(e,t){if(!e.getOption("readOnly")){var r=e.getSelection()||n(e).lastQuery;i(e,'Replace: (Use /re/ syntax for regexp search)',"Replace:",r,(function(n){n&&(n=a(n),i(e,'With: ',"Replace with:","",(function(r){if(t)e.operation((function(){for(var t=o(e,n);t.findNext();)if("string"!=typeof n){var i=e.getRange(t.from(),t.to()).match(n);t.replace(r.replace(/\$(\d)/g,(function(e,t){return i[t]})))}else t.replace(r)}));else{u(e);var i=o(e,n,e.getCursor()),a=function(){var t,r=i.from();!(t=i.findNext())&&(i=o(e,n),!(t=i.findNext())||r&&i.from().line==r.line&&i.from().ch==r.ch)||(e.setSelection(i.from(),i.to()),e.scrollIntoView({from:i.from(),to:i.to()}),function(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}(e,"Replace? ","Replace?",[function(){s(t)},a]))},s=function(e){i.replace("string"==typeof n?r:r.replace(/\$(\d)/g,(function(t,n){return e[n]}))),a()};a()}})))}))}}e.commands.find=function(e){u(e),c(e)},e.commands.findPersistent=function(e){u(e),c(e,!1,!0)},e.commands.findNext=c,e.commands.findPrev=function(e){c(e,!0)},e.commands.clearSearch=u,e.commands.replace=p,e.commands.replaceAll=function(e){p(e,!0)}}(n(4631),n(32095),n(55292))},32095:(e,t,n)=>{!function(e){"use strict";var t=e.Pos;function n(e,n,o,i){if(this.atOccurrence=!1,this.doc=e,null==i&&"string"==typeof n&&(i=!1),o=o?e.clipPos(o):t(0,0),this.pos={from:o,to:o},"string"!=typeof n)n.global||(n=new RegExp(n.source,n.ignoreCase?"ig":"g")),this.matches=function(r,o){if(r){n.lastIndex=0;for(var i=e.getLine(o.line).slice(0,o.ch),a=0;;){n.lastIndex=a;var s=n.exec(i);if(!s)break;if(c=(l=s).index,(a=l.index+(l[0].length||1))==i.length)break}(d=l&&l[0].length||0)||(0==c&&0==i.length?l=void 0:c!=e.getLine(o.line).length&&d++)}else{n.lastIndex=o.ch,i=e.getLine(o.line);var l,c,d=(l=n.exec(i))&&l[0].length||0;(c=l&&l.index)+d==i.length||d||(d=1)}if(l&&d)return{from:t(o.line,c),to:t(o.line,c+d),match:l}};else{var a=n;i&&(n=n.toLowerCase());var s=i?function(e){return e.toLowerCase()}:function(e){return e},l=n.split("\n");if(1==l.length)n.length?this.matches=function(o,i){if(o){var l=e.getLine(i.line).slice(0,i.ch);if((d=(c=s(l)).lastIndexOf(n))>-1)return d=r(l,c,d),{from:t(i.line,d),to:t(i.line,d+a.length)}}else{var c,d;if(l=e.getLine(i.line).slice(i.ch),(d=(c=s(l)).indexOf(n))>-1)return d=r(l,c,d)+i.ch,{from:t(i.line,d),to:t(i.line,d+a.length)}}}:this.matches=function(){};else{var c=a.split("\n");this.matches=function(n,r){var o,i=l.length-1;if(n){if(r.line-(l.length-1)=1;--u,--d)if(l[u]!=s(e.getLine(d)))return;var p=(o=e.getLine(d)).length-c[0].length;if(s(o.slice(p))!=l[0])return;return{from:t(d,p),to:a}}if(!(r.line+(l.length-1)>e.lastLine())&&(p=(o=e.getLine(r.line)).length-c[0].length,s(o.slice(p))==l[0])){var h=t(r.line,p);for(d=r.line+1,u=1;un))return r;--r}}}n.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(e){var n=this,r=this.doc.clipPos(e?this.pos.from:this.pos.to);function o(e){var r=t(e,0);return n.pos={from:r,to:r},n.atOccurrence=!1,!1}for(;;){if(this.pos=this.matches(e,r))return this.atOccurrence=!0,this.pos.match||!0;if(e){if(!r.line)return o(0);r=t(r.line-1,this.doc.getLine(r.line-1).length)}else{var i=this.doc.lineCount();if(r.line==i-1)return o(i);r=t(r.line+1,0)}}},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(n,r){if(this.atOccurrence){var o=e.splitLines(n);this.doc.replaceRange(o,this.pos.from,this.pos.to,r),this.pos.to=t(this.pos.from.line+o.length-1,o[o.length-1].length+(1==o.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",(function(e,t,r){return new n(this.doc,e,t,r)})),e.defineDocExtension("getSearchCursor",(function(e,t,r){return new n(this,e,t,r)})),e.defineExtension("selectMatches",(function(t,n){for(var r=[],o=this.getSearchCursor(t,this.getCursor("from"),n);o.findNext()&&!(e.cmpPos(o.to(),this.getCursor("to"))>0);)r.push({anchor:o.from(),head:o.to()});r.length&&this.setSelections(r,0)}))}(n(4631))},4631:e=>{e.exports=function(){"use strict";var e=/gecko\/\d/i.test(navigator.userAgent),t=/MSIE \d/.test(navigator.userAgent),n=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),r=t||n,o=r&&(t?document.documentMode||6:n[1]),i=/WebKit\//.test(navigator.userAgent),a=i&&/Qt\/\d+\.\d+/.test(navigator.userAgent),s=/Chrome\//.test(navigator.userAgent),l=/Opera\//.test(navigator.userAgent),c=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent),u=/PhantomJS/.test(navigator.userAgent),p=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent),h=p||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent),f=p||/Mac/.test(navigator.platform),m=/win/i.test(navigator.platform),g=l&&navigator.userAgent.match(/Version\/(\d*\.\d*)/);g&&(g=Number(g[1])),g&&g>=15&&(l=!1,i=!0);var b=f&&(a||l&&(null==g||g<12.11)),v=e||r&&o>=9,y=!1,w=!1;function x(e,t){if(!(this instanceof x))return new x(e,t);this.options=t=t?fi(t):{},fi(Kn,t,!1),A(t);var n=t.value;"string"==typeof n&&(n=new po(n,t.mode,null,t.lineSeparator)),this.doc=n;var a=new x.inputStyles[t.inputStyle](this),s=this.display=new C(e,n,a);s.wrapper.CodeMirror=this,R(this),N(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),t.autofocus&&!h&&s.input.focus(),z(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,draggingText:!1,highlight:new ri,keySeq:null,specialChars:null};var d=this;for(var u in r&&o<11&&setTimeout((function(){d.display.input.reset(!0)}),20),function(e){var t=e.display;Bo(t.scroller,"mousedown",Wt(e,on)),Bo(t.scroller,"dblclick",r&&o<11?Wt(e,(function(t){if(!Zo(e,t)){var n=rn(e,t);if(n&&!sn(e,t)&&!nn(e.display,t)){Po(t);var r=e.findWordAt(n);Fe(e.doc,r.anchor,r.head)}}})):function(t){Zo(e,t)||Po(t)}),v||Bo(t.scroller,"contextmenu",(function(t){Tn(e,t)}));var n,i={end:0};function a(){t.activeTouch&&(n=setTimeout((function(){t.activeTouch=null}),1e3),(i=t.activeTouch).end=+new Date)}function s(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function d(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}Bo(t.scroller,"touchstart",(function(e){if(!s(e)){clearTimeout(n);var r=+new Date;t.activeTouch={start:r,moved:!1,prev:r-i.end<=300?i:null},1==e.touches.length&&(t.activeTouch.left=e.touches[0].pageX,t.activeTouch.top=e.touches[0].pageY)}})),Bo(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),Bo(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!nn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,i=e.coordsChar(t.activeTouch,"page");o=!r.prev||d(r,r.prev)?new Oe(i,i):!r.prev.prev||d(r,r.prev.prev)?e.findWordAt(i):new Oe(de(i.line,0),Le(e.doc,de(i.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),Po(n)}a()})),Bo(t.scroller,"touchcancel",a),Bo(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(dn(e,t.scroller.scrollTop),un(e,t.scroller.scrollLeft,!0),Wo(e,"scroll",e))})),Bo(t.scroller,"mousewheel",(function(t){mn(e,t)})),Bo(t.scroller,"DOMMouseScroll",(function(t){mn(e,t)})),Bo(t.wrapper,"scroll",(function(){t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={simple:function(t){Zo(e,t)||Ho(t)},start:function(t){!function(e,t){if(r&&(!e.state.draggingText||+new Date-ln<100))Ho(t);else if(!Zo(e,t)&&!nn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.setDragImage&&!c)){var n=ki("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",l&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),l&&n.parentNode.removeChild(n)}}(e,t)},drop:Wt(e,cn)};var u=t.input.getField();Bo(u,"keyup",(function(t){Cn.call(e,t)})),Bo(u,"keydown",Wt(e,xn)),Bo(u,"keypress",Wt(e,kn)),Bo(u,"focus",mi(Sn,e)),Bo(u,"blur",mi(En,e))}(this),function(){Ai||(Bo(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Ii(tn)}),100))})),Bo(window,"blur",(function(){Ii(En)})),Ai=!0);var e}(),Pt(this),this.curOp.forceUpdate=!0,go(this,n),t.autofocus&&!h||d.hasFocus()?setTimeout(mi(Sn,this),20):En(this),Zn)Zn.hasOwnProperty(u)&&Zn[u](this,t[u],Yn);B(this),t.finishInit&&t.finishInit(this);for(var p=0;pt.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}function A(e){var t=di(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function D(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+ot(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+at(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function L(e,t,n){this.cm=n;var i=this.vert=ki("div",[ki("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),a=this.horiz=ki("div",[ki("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(i),e(a),Bo(i,"scroll",(function(){i.clientHeight&&t(i.scrollTop,"vertical")})),Bo(a,"scroll",(function(){a.clientWidth&&t(a.scrollLeft,"horizontal")})),this.checkedOverlay=!1,r&&o<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function P(){}function z(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&Ri(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new x.scrollbarModel[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),Bo(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?un(e,t):dn(e,t)}),e),e.display.scrollbars.addClass&&Mi(e.display.wrapper,e.display.scrollbars.addClass)}function F(e,t){t||(t=D(e));var n=e.display.barWidth,r=e.display.barHeight;H(e,t);for(var o=0;o<4&&n!=e.display.barWidth||r!=e.display.barHeight;o++)n!=e.display.barWidth&&e.options.lineWrapping&&Y(e),H(e,D(e)),n=e.display.barWidth,r=e.display.barHeight}function H(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function j(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-rt(e));var o=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,i=Co(t,r),a=Co(t,o);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s=a&&(i=Co(t,ko(bo(t,l))-e.wrapper.clientHeight),a=l)}return{from:i,to:Math.max(a,i+1)}}function U(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=W(t)-t.scroller.scrollLeft+e.doc.scrollLeft,o=t.gutters.offsetWidth,i=r+"px",a=0;a=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==en(e))return!1;B(e)&&($t(e),t.dims=Q(e));var o=r.first+r.size,a=Math.max(t.visible.from-e.options.viewportMargin,r.first),s=Math.min(o,t.visible.to+e.options.viewportMargin);n.viewFroms&&n.viewTo-s<20&&(s=Math.min(o,n.viewTo)),w&&(a=Dr(e.doc,a),s=Lr(e.doc,s));var l=a!=n.viewFrom||s!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;(function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=Zt(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=Zt(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Qt(e,n)))),r.viewTo=n})(e,a,s),n.viewOffset=ko(bo(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=en(e);if(!l&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var d=Ni();return c>4&&(n.lineDiv.style.display="none"),function(e,t,n){var r=e.display,o=e.options.lineNumbers,a=r.lineDiv,s=a.firstChild;function l(t){var n=t.nextSibling;return i&&f&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,d=r.viewFrom,u=0;u-1&&(h=!1),X(e,p,d,n)),h&&(Si(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(q(e.options,d)))),s=p.node.nextSibling}else{var m=ae(e,p,d,n);a.insertBefore(m,s)}d+=p.size}for(;s;)s=l(s)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,d&&Ni()!=d&&d.offsetHeight&&d.focus(),Si(n.cursorDiv),Si(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,l&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,et(e,400)),n.updateLineNumbers=null,!0}function K(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=st(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+ot(e.display)-lt(e),n.top)}),t.visible=j(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&G(e,t);r=!1){Y(e);var o=D(e);Je(e),J(e,o),F(e,o)}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Z(e,t){var n=new V(e,t);if(G(e,n)){Y(e),K(e,n);var r=D(e);Je(e),J(e,r),F(e,r),n.finish()}}function J(e,t){e.display.sizer.style.minHeight=t.docHeight+"px";var n=t.docHeight+e.display.barHeight;e.display.heightForcer.style.top=n+"px",e.display.gutters.style.height=Math.max(n+at(e),t.clientHeight)+"px"}function Y(e){for(var t=e.display,n=t.lineDiv.offsetTop,i=0;i.001||d<-.001)&&(wo(s.line,a),$(s.line),s.rest))for(var u=0;ue.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var o=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+o)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var i=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=e.scrollWidth-e.clientWidth+i+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedOverlay&&e.clientHeight>0&&(0==r&&this.overlayHack(),this.checkedOverlay=!0),{right:n?r:0,bottom:t?r:0}},setScrollLeft:function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e)},setScrollTop:function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e)},overlayHack:function(){var e=f&&!d?"12px":"18px";this.horiz.style.minHeight=this.vert.style.minWidth=e;var t=this,n=function(e){jo(e)!=t.vert&&jo(e)!=t.horiz&&Wt(t.cm,on)(e)};Bo(this.vert,"mousedown",n),Bo(this.horiz,"mousedown",n)},clear:function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)}},L.prototype),P.prototype=fi({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},P.prototype),x.scrollbarModel={native:L,null:P},V.prototype.signal=function(e,t){Yo(e,t)&&this.events.push(arguments)},V.prototype.finish=function(){for(var e=0;e1)if(be&&be.join("\n")==t){if(r.ranges.length%be.length==0){l=[];for(var c=0;c=0;c--){var d=r.ranges[c],u=d.from(),p=d.to();d.empty()&&(n&&n>0?u=de(u.line,u.ch-n):e.state.overwrite&&!a&&(p=de(p.line,Math.min(bo(i,p.line).text.length,p.ch+li(s).length))));var h=e.curOp.updateInput,f={from:u,to:p,text:l?l[c%l.length]:s,origin:o||(a?"paste":e.state.cutIncoming?"cut":"+input")};In(e.doc,f),Go(e,"inputRead",e,f)}t&&!a&&we(e,t),jn(e),e.curOp.updateInput=h,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function ye(e,t){var n=e.clipboardData&&e.clipboardData.getData("text/plain");if(n)return e.preventDefault(),qt(t,(function(){ve(t,n,0,null,"paste")})),!0}function we(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var o=n.ranges[r];if(!(o.head.ch>100||r&&n.ranges[r-1].head.line==o.head.line)){var i=e.getModeAt(o.head),a=!1;if(i.electricChars){for(var s=0;s-1){a=Bn(e,o.head.line,"smart");break}}else i.electricInput&&i.electricInput.test(bo(e.doc,o.head.line).text.slice(0,o.head.ch))&&(a=Bn(e,o.head.line,"smart"));a&&Go(e,"electricInput",e,o.head.line)}}}function xe(e){for(var t=[],n=[],r=0;r=0){var a=fe(i.from(),o.from()),s=he(i.to(),o.to()),l=i.empty()?o.from()==o.head:i.from()==i.head;r<=t&&--t,e.splice(--r,2,new Oe(l?s:a,l?a:s))}}return new Me(e,t)}function Ae(e,t){return new Me([new Oe(e,t||e)],0)}function De(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function Le(e,t){if(t.linen?de(n,bo(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?de(e.line,t):n<0?de(e.line,0):e}(t,bo(e,t.line).text.length)}function Pe(e,t){return t>=e.first&&t=i.ch:c.to>i.ch))){if(r&&(Wo(d,"beforeCursorEnter"),d.explicitlyCleared)){if(s.markedSpans){--l;continue}break}if(!d.atomic)continue;var u=d.find(a<0?-1:1);if(0==ue(u,i)&&(u.ch+=a,u.ch<0?u=u.line>e.first?Le(e,de(u.line-1)):null:u.ch>s.text.length&&(u=u.linet||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr"),o=!0)}o||r(t,n,"ltr")}(So(d),n||0,null==r?u:r,(function(e,t,o){var d,h,f,m=p(e,"left");if(e==t)d=m,h=f=m.left;else{if(d=p(t-1,"right"),"rtl"==o){var g=m;m=d,d=g}h=m.left,f=d.right}null==n&&0==e&&(h=s),d.top-m.top>3&&(c(h,m.top,null,m.bottom),h=s,m.bottoma.bottom||d.bottom==a.bottom&&d.right>a.right)&&(a=d),h0?t.blinker=setInterval((function(){t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function et(e,t){e.doc.mode.startState&&e.doc.frontier=e.display.viewTo)){var n=+new Date+e.options.workTime,r=nr(t.mode,nt(e,t.frontier)),o=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),(function(i){if(t.frontier>=e.display.viewFrom){var a=i.styles,s=Zr(e,i,r,!0);i.styles=s.styles;var l=i.styleClasses,c=s.classes;c?i.styleClasses=c:l&&(i.styleClasses=null);for(var d=!a||a.length!=i.styles.length||l!=c&&(!l||!c||l.bgClass!=c.bgClass||l.textClass!=c.textClass),u=0;!d&&un)return et(e,e.options.workDelay),!0})),o.length&&qt(e,(function(){for(var t=0;ta;--s){if(s<=i.first)return i.first;var l=bo(i,s-1);if(l.stateAfter&&(!n||s<=i.frontier))return s;var c=oi(l.text,null,e.options.tabSize);(null==o||r>c)&&(o=s-1,r=c)}return o}(e,t,n),a=i>r.first&&bo(r,i-1).stateAfter;return a=a?nr(r.mode,a):rr(r.mode),r.iter(i,t,(function(n){Yr(e,n.text,a);var s=i==t-1||i%5==0||i>=o.viewFrom&&in)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function dt(e,t,n,r){return ht(e,pt(e,t),n,r)}function ut(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&i.push((l.bottom+c.top)/2-n.top)}}i.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(s=function(e,t,n,i){var a,s=gt(t.map,n,i),l=s.node,c=s.start,d=s.end,u=s.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&Ci(t.line.text.charAt(s.coverStart+c));)--c;for(;s.coverStart+d1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,a))}else{var h;c>0&&(u=i="right"),a=e.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==i?h.length-1:0]:l.getBoundingClientRect()}if(r&&o<9&&!c&&(!a||!a.left&&!a.right)){var f=l.parentNode.getClientRects()[0];a=f?{left:f.left,right:f.left+Ot(e.display),top:f.top,bottom:f.bottom}:mt}var m=a.top-t.rect.top,g=a.bottom-t.rect.top,b=(m+g)/2,v=t.view.measure.heights;for(p=0;p=9&&t.hasSelection&&(t.hasSelection=null),t.poll()})),Bo(a,"paste",(function(e){if(ye(e,n))return!0;n.state.pasteIncoming=!0,t.fastPoll()})),Bo(a,"cut",s),Bo(a,"copy",s),Bo(e.scroller,"paste",(function(r){nn(e,r)||(n.state.pasteIncoming=!0,t.focus())})),Bo(e.lineSpace,"selectstart",(function(t){nn(e,t)||Po(t)})),Bo(a,"compositionstart",(function(){var e=n.getCursor("from");t.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})}})),Bo(a,"compositionend",(function(){t.composing&&(t.poll(),t.composing.range.clear(),t.composing=null)}))},prepareSelection:function(){var e=this.cm,t=e.display,n=e.doc,r=Ye(e);if(e.options.moveInputWithCursor){var o=Et(e,n.sel.primary().head,"div"),i=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,o.top+a.top-i.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,o.left+a.left-i.left))}return r},showSelection:function(e){var t=this.cm.display;Ei(t.cursorDiv,e.cursors),Ei(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},reset:function(e){if(!this.contextMenuPending){var t,n,i=this.cm,a=i.doc;if(i.somethingSelected()){this.prevInput="";var s=a.sel.primary(),l=(t=Bi&&(s.to().line-s.from().line>100||(n=i.getSelection()).length>1e3))?"-":n||i.getSelection();this.textarea.value=l,i.state.focused&&ci(this.textarea),r&&o>=9&&(this.hasSelection=l)}else e||(this.prevInput=this.textarea.value="",r&&o>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!h||Ni()!=this.textarea))try{this.textarea.focus()}catch(e){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var e=this;e.pollingFast||e.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},fastPoll:function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},poll:function(){var e=this.cm,t=this.textarea,n=this.prevInput;if(this.contextMenuPending||!e.state.focused||Ui(t)&&!n&&!this.composing||ge(e)||e.options.disableInput||e.state.keySeq)return!1;var i=t.value;if(i==n&&!e.somethingSelected())return!1;if(r&&o>=9&&this.hasSelection===i||f&&/[\uf700-\uf7ff]/.test(i))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var a=i.charCodeAt(0);if(8203!=a||n||(n="​"),8666==a)return this.reset(),this.cm.execCommand("undo")}for(var s=0,l=Math.min(n.length,i.length);s1e3||i.indexOf("\n")>-1?t.value=c.prevInput="":c.prevInput=i,c.composing&&(c.composing.range.clear(),c.composing.range=e.markText(c.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){r&&o>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(e){var t=this,n=t.cm,a=n.display,s=t.textarea,c=rn(n,e),d=a.scroller.scrollTop;if(c&&!l){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(c)&&Wt(n,qe)(n.doc,Ae(c),ei);var u=s.style.cssText;if(t.wrapper.style.position="absolute",s.style.cssText="position: fixed; width: 30px; height: 30px; top: "+(e.clientY-5)+"px; left: "+(e.clientX-5)+"px; z-index: 1000; background: "+(r?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",i)var p=window.scrollY;if(a.input.focus(),i&&window.scrollTo(null,p),a.input.reset(),n.somethingSelected()||(s.value=t.prevInput=" "),t.contextMenuPending=!0,a.selForContextMenu=n.doc.sel,clearTimeout(a.detectingSelectAll),r&&o>=9&&f(),v){Ho(e);var h=function(){qo(window,"mouseup",h),setTimeout(m,20)};Bo(window,"mouseup",h)}else setTimeout(m,50)}function f(){if(null!=s.selectionStart){var e=n.somethingSelected(),r="​"+(e?s.value:"");s.value="⇚",s.value=r,t.prevInput=e?"":"​",s.selectionStart=1,s.selectionEnd=r.length,a.selForContextMenu=n.doc.sel}}function m(){if(t.contextMenuPending=!1,t.wrapper.style.position="relative",s.style.cssText=u,r&&o<9&&a.scrollbars.setScrollTop(a.scroller.scrollTop=d),null!=s.selectionStart){(!r||r&&o<9)&&f();var e=0,i=function(){a.selForContextMenu==n.doc.sel&&0==s.selectionStart&&s.selectionEnd>0&&"​"==t.prevInput?Wt(n,or.selectAll)(n):e++<10?a.detectingSelectAll=setTimeout(i,500):a.input.reset()};a.detectingSelectAll=setTimeout(i,200)}}},setUneditable:pi,needsContentAttribute:!1},ke.prototype),Ee.prototype=fi({init:function(e){var t=this,n=t.cm,r=t.div=e.lineDiv;function o(e){if(n.somethingSelected())be=n.getSelections(),"cut"==e.type&&n.replaceSelection("",null,"cut");else{if(!n.options.lineWiseCopyCut)return;var t=xe(n);be=t.text,"cut"==e.type&&n.operation((function(){n.setSelections(t.ranges,0,ei),n.replaceSelection("",null,"cut")}))}if(e.clipboardData&&!p)e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/plain",be.join("\n"));else{var r=Se(),o=r.firstChild;n.display.lineSpace.insertBefore(r,n.display.lineSpace.firstChild),o.value=be.join("\n");var i=document.activeElement;ci(o),setTimeout((function(){n.display.lineSpace.removeChild(r),i.focus()}),50)}}r.contentEditable="true",Ce(r),Bo(r,"paste",(function(e){ye(e,n)})),Bo(r,"compositionstart",(function(e){var r=e.data;if(t.composing={sel:n.doc.sel,data:r,startData:r},r){var o=n.doc.sel.primary(),i=n.getLine(o.head.line).indexOf(r,Math.max(0,o.head.ch-r.length));i>-1&&i<=o.head.ch&&(t.composing.sel=Ae(de(o.head.line,i),de(o.head.line,i+r.length)))}})),Bo(r,"compositionupdate",(function(e){t.composing.data=e.data})),Bo(r,"compositionend",(function(e){var n=t.composing;n&&(e.data==n.startData||/\u200b/.test(e.data)||(n.data=e.data),setTimeout((function(){n.handled||t.applyComposition(n),t.composing==n&&(t.composing=null)}),50))})),Bo(r,"touchstart",(function(){t.forceCompositionEnd()})),Bo(r,"input",(function(){t.composing||t.pollContent()||qt(t.cm,(function(){Jt(n)}))})),Bo(r,"copy",o),Bo(r,"cut",o)},prepareSelection:function(){var e=Ye(this.cm,!1);return e.focus=this.cm.state.focused,e},showSelection:function(e){e&&this.cm.display.view.length&&(e.focus&&this.showPrimarySelection(),this.showMultipleSelections(e))},showPrimarySelection:function(){var t=window.getSelection(),n=this.cm.doc.sel.primary(),r=_e(this.cm,t.anchorNode,t.anchorOffset),o=_e(this.cm,t.focusNode,t.focusOffset);if(!r||r.bad||!o||o.bad||0!=ue(fe(r,o),n.from())||0!=ue(he(r,o),n.to())){var i=Te(this.cm,n.from()),a=Te(this.cm,n.to());if(i||a){var s=this.cm.display.view,l=t.rangeCount&&t.getRangeAt(0);if(i){if(!a){var c=s[s.length-1].measure,d=c.maps?c.maps[c.maps.length-1]:c.map;a={node:d[d.length-1],offset:d[d.length-2]-d[d.length-3]}}}else i={node:s[0].measure.map[2],offset:0};try{var u=wi(i.node,i.offset,a.offset,a.node)}catch(e){}u&&(t.removeAllRanges(),t.addRange(u),l&&null==t.anchorNode?t.addRange(l):e&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){e.cm.curOp.selectionChanged=!0}))}),20)},showMultipleSelections:function(e){Ei(this.cm.display.cursorDiv,e.cursors),Ei(this.cm.display.selectionDiv,e.selection)},rememberSelection:function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},selectionInEditor:function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Ti(this.div,t)},focus:function(){"nocursor"!=this.cm.options.readOnly&&this.div.focus()},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){var e=this;this.selectionInEditor()?this.pollSelection():qt(this.cm,(function(){e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}))},selectionChanged:function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;this.rememberSelection();var n=_e(t,e.anchorNode,e.anchorOffset),r=_e(t,e.focusNode,e.focusOffset);n&&r&&qt(t,(function(){qe(t.doc,Ae(n,r),ei),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}},pollContent:function(){var e,t=this.cm,n=t.display,r=t.doc.sel.primary(),o=r.from(),i=r.to();if(o.linen.viewTo-1)return!1;if(o.line==n.viewFrom||0==(e=Qt(t,o.line)))var a=xo(n.view[0].line),s=n.view[0].node;else a=xo(n.view[e].line),s=n.view[e-1].node.nextSibling;var l=Qt(t,i.line);if(l==n.view.length-1)var c=n.viewTo-1,d=n.lineDiv.lastChild;else c=xo(n.view[l+1].line)-1,d=n.view[l+1].node.previousSibling;for(var u=t.doc.splitLines(function(e,t,n,r,o){var i="",a=!1,s=e.doc.lineSeparator();function l(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return""==n&&(n=t.textContent.replace(/\u200b/g,"")),void(i+=n);var c,d=t.getAttribute("cm-marker");if(d){var u=e.findMarks(de(r,0),de(o+1,0),(f=+d,function(e){return e.id==f}));return void(u.length&&(c=u[0].find())&&(i+=vo(e.doc,c.from,c.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;for(var p=0;p1&&p.length>1;)if(li(u)==li(p))u.pop(),p.pop(),c--;else{if(u[0]!=p[0])break;u.shift(),p.shift(),a++}for(var h=0,f=0,m=u[0],g=p[0],b=Math.min(m.length,g.length);h1||u[0]||ue(x,C)?(zn(t.doc,u,x,C,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&!this.composing.handled&&(this.applyComposition(this.composing),this.composing.handled=!0,this.div.blur(),this.div.focus())},applyComposition:function(e){e.data&&e.data!=e.startData&&Wt(this.cm,ve)(this.cm,e.data,0,e.sel)},setUneditable:function(e){e.setAttribute("contenteditable","false")},onKeyPress:function(e){e.preventDefault(),Wt(this.cm,ve)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0)},onContextMenu:pi,resetPosition:pi,needsContentAttribute:!0},Ee.prototype),x.inputStyles={textarea:ke,contenteditable:Ee},Me.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t=0&&ue(e,r.to())<=0)return n}return-1}},Oe.prototype={from:function(){return fe(this.anchor,this.head)},to:function(){return he(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var ft,mt={left:0,right:0,top:0,bottom:0};function gt(e,t,n){for(var r,o,i,a,s=0;st)&&(o=(i=c-l)-1,t>=c&&(a="right")),null!=o){if(r=e[s+2],l==c&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==o)for(;s&&e[s-2]==e[s-3]&&e[s-1].insertLeft;)r=e[2+(s-=3)],a="left";if("right"==n&&o==c-l)for(;sn.from?a(e-1):a(e,r)}r=r||bo(e.doc,t.line),o||(o=pt(e,r));var l=So(r),c=t.ch;if(!l)return a(c);var d=s(c,Xi(l,c));return null!=Wi&&(d.other=s(c,Wi)),d}function Tt(e,t){var n=0;t=Le(e.doc,t),e.options.lineWrapping||(n=Ot(e.display)*t.ch);var r=bo(e.doc,t.line),o=ko(r)+rt(e.display);return{left:n,right:n,top:o,bottom:o+r.height}}function Nt(e,t,n,r){var o=de(e,t);return o.xRel=r,n&&(o.outside=!0),o}function _t(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Nt(r.first,0,!0,-1);var o=Co(r,n),i=r.first+r.size-1;if(o>i)return Nt(r.first+r.size-1,bo(r,i).text.length,!0,1);t<0&&(t=0);for(var a=bo(r,o);;){var s=Rt(e,a,o,t,n),l=Or(a),c=l&&l.find(0,!0);if(!l||!(s.ch>c.from.ch||s.ch==c.from.ch&&s.xRel>0))return s;o=xo(a=c.to.line)}}function Rt(e,t,n,r,o){var i=o-ko(t),a=!1,s=2*e.display.wrapper.clientWidth,l=pt(e,t);function c(r){var o=Et(e,de(n,r),"line",t,l);return a=!0,i>o.bottom?o.left-s:ig)return Nt(n,h,b,1);for(;;){if(d?h==p||h==ta(t,p,1):h-p<=1){for(var v=r1?1:0)}var w=Math.ceil(u/2),x=p+w;if(d){x=p;for(var C=0;Cr?(h=x,g=k,(b=a)&&(g+=1e3),u=w):(p=x,f=k,m=a,u-=w)}}function Mt(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==ft){ft=ki("pre");for(var t=0;t<49;++t)ft.appendChild(document.createTextNode("x")),ft.appendChild(ki("br"));ft.appendChild(document.createTextNode("x"))}Ei(e.measure,ft);var n=ft.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),Si(e.measure),n||1}function Ot(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=ki("span","xxxxxxxxxx"),n=ki("pre",[t]);Ei(e.measure,n);var r=t.getBoundingClientRect(),o=(r.right-r.left)/10;return o>2&&(e.cachedCharWidth=o),o||10}var It,At,Dt=null,Lt=0;function Pt(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Lt},Dt?Dt.ops.push(e.curOp):e.curOp.ownsGroup=Dt={ops:[e.curOp],delayedCallbacks:[]}}function zt(e){var t=e.curOp.ownsGroup;if(t)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new V(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Ht(e){e.updatedDisplay=e.mustUpdate&&G(e.cm,e.update)}function jt(e){var t=e.cm,n=t.display;e.updatedDisplay&&Y(t),e.barMeasure=D(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=dt(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+at(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-st(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Ut(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft1&&(i=!0)),null!=l.scrollLeft&&(un(e,l.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(i=!0)),!i)break}return a}(t,Le(r,e.scrollToPos.from),Le(r,e.scrollToPos.to),e.scrollToPos.margin);e.scrollToPos.isCursor&&t.state.focused&&function(e,t){if(!Zo(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),o=null;if(t.top+r.top<0?o=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!u){var i=ki("div","​",null,"position: absolute; top: "+(t.top-n.viewOffset-rt(e.display))+"px; height: "+(t.bottom-t.top+at(e)+n.barHeight)+"px; left: "+t.left+"px; width: 2px;");e.display.lineSpace.appendChild(i),i.scrollIntoView(o),e.display.lineSpace.removeChild(i)}}}(t,o)}var i=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(i)for(var s=0;st)&&(o.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=o.viewTo)w&&Dr(e.doc,t)o.viewFrom?$t(e):(o.viewFrom+=r,o.viewTo+=r);else if(t<=o.viewFrom&&n>=o.viewTo)$t(e);else if(t<=o.viewFrom)(i=Xt(e,n,n+r,1))?(o.view=o.view.slice(i.index),o.viewFrom=i.lineN,o.viewTo+=r):$t(e);else if(n>=o.viewTo){var i;(i=Xt(e,t,t,-1))?(o.view=o.view.slice(0,i.index),o.viewTo=i.lineN):$t(e)}else{var a=Xt(e,t,t,-1),s=Xt(e,n,n+r,1);a&&s?(o.view=o.view.slice(0,a.index).concat(Zt(e,a.lineN,s.lineN)).concat(o.view.slice(s.index)),o.viewTo+=r):$t(e)}var l=o.externalMeasured;l&&(n=o.lineN&&t=r.viewTo)){var i=r.view[Qt(e,t)];if(null!=i.node){var a=i.changes||(i.changes=[]);-1==di(a,n)&&a.push(n)}}}function $t(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Qt(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r0){if(i==a.length-1)return null;o=l+a[i].size-t,i++}else o=l-t;t+=o,n+=o}for(;Dr(e.doc,n)!=n;){if(i==(r<0?0:a.length-1))return null;n+=r*a[i-(r<0?1:0)].size,i+=r}return{index:i,lineN:n}}function en(e){for(var t=e.display.view,n=0,r=0;rs-400&&0==ue(At.pos,n)?a="triple":It&&It.time>s-400&&0==ue(It.pos,n)?(a="double",At={time:s,pos:n}):(a="single",It={time:s,pos:n});var l,c=e.doc.sel,d=f?t.metaKey:t.ctrlKey;e.options.dragDrop&&Pi&&!ge(e)&&"single"==a&&(l=c.contains(n))>-1&&(ue((l=c.ranges[l]).from(),n)<0||n.xRel>0)&&(ue(l.to(),n)>0||n.xRel<0)?function(e,t,n,a){var s=e.display,l=+new Date,c=Wt(e,(function(d){i&&(s.scroller.draggable=!1),e.state.draggingText=!1,qo(document,"mouseup",c),qo(s.scroller,"drop",c),Math.abs(t.clientX-d.clientX)+Math.abs(t.clientY-d.clientY)<10&&(Po(d),!a&&+new Date-200-1?d[l]:new Oe(n,n)):(s=a.sel.primary(),l=a.sel.primIndex),t.altKey)r="rect",o||(s=new Oe(n,n)),n=rn(e,t,!0,!0),l=-1;else if("double"==r){var u=e.findWordAt(n);s=e.display.shift||a.extend?ze(a,s,u.anchor,u.head):u}else if("triple"==r){var p=new Oe(de(n.line,0),Le(a,de(n.line+1,0)));s=e.display.shift||a.extend?ze(a,s,p.anchor,p.head):p}else s=ze(a,s,n);o?-1==l?(l=d.length,qe(a,Ie(d.concat([s]),l),{scroll:!1,origin:"*mouse"})):d.length>1&&d[l].empty()&&"single"==r&&!t.shiftKey?(qe(a,Ie(d.slice(0,l).concat(d.slice(l+1)),0)),c=a.sel):je(a,l,s,ti):(l=0,qe(a,new Me([s],0),ti),c=a.sel);var h=n;function f(t){if(0!=ue(h,t))if(h=t,"rect"==r){for(var o=[],i=e.options.tabSize,d=oi(bo(a,n.line).text,n.ch,i),u=oi(bo(a,t.line).text,t.ch,i),p=Math.min(d,u),f=Math.max(d,u),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var b=bo(a,m).text,v=ii(b,p,i);p==f?o.push(new Oe(de(m,v),de(m,v))):b.length>v&&o.push(new Oe(de(m,v),de(m,ii(b,f,i))))}o.length||o.push(new Oe(n,n)),qe(a,Ie(c.ranges.slice(0,l).concat(o),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y=s,w=y.anchor,x=t;if("single"!=r){if("double"==r)var C=e.findWordAt(t);else C=new Oe(de(t.line,0),Le(a,de(t.line+1,0)));ue(C.anchor,w)>0?(x=C.head,w=fe(y.from(),C.anchor)):(x=C.anchor,w=he(y.to(),C.head))}(o=c.ranges.slice(0))[l]=new Oe(Le(a,w),x),qe(a,Ie(o,l),ti)}}var m=i.wrapper.getBoundingClientRect(),g=0;function b(t){var n=++g,o=rn(e,t,!0,"rect"==r);if(o)if(0!=ue(o,h)){e.curOp.focus=Ni(),f(o);var s=j(i,a);(o.line>=s.to||o.linem.bottom?20:0;l&&setTimeout(Wt(e,(function(){g==n&&(i.scroller.scrollTop+=l,b(t))})),50)}}function v(e){g=1/0,Po(e),i.input.focus(),qo(document,"mousemove",y),qo(document,"mouseup",w),a.history.lastSelOrigin=null}var y=Wt(e,(function(e){Uo(e)?b(e):v(e)})),w=Wt(e,v);Bo(document,"mousemove",y),Bo(document,"mouseup",w)}(e,t,n,a,d)}(t,e,a):jo(e)==n.scroller&&Po(e);break;case 2:i&&(t.state.lastMiddleDown=+new Date),a&&Fe(t.doc,a),setTimeout((function(){n.input.focus()}),20),Po(e);break;case 3:v?Tn(t,e):function(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,En(e))}),100)}(t)}}}function an(e,t,n,r,o){try{var i=t.clientX,a=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Po(t);var s=e.display,l=s.lineDiv.getBoundingClientRect();if(a>l.bottom||!Yo(e,n))return Fo(t);a-=l.top-s.viewOffset;for(var c=0;c=i)return o(e,n,e,Co(e.doc,a),e.options.gutters[c],t),Fo(t)}}function sn(e,t){return an(e,t,"gutterClick",!0,Go)}var ln=0;function cn(e){var t=this;if(!Zo(t,e)&&!nn(t.display,e)){Po(e),r&&(ln=+new Date);var n=rn(t,e,!0),o=e.dataTransfer.files;if(n&&!ge(t))if(o&&o.length&&window.FileReader&&window.File)for(var i=o.length,a=Array(i),s=0,l=function(e,r){var o=new FileReader;o.onload=Wt(t,(function(){if(a[r]=o.result,++s==i){var e={from:n=Le(t.doc,n),to:n,text:t.doc.splitLines(a.join(t.doc.lineSeparator())),origin:"paste"};In(t.doc,e),Be(t.doc,Ae(n,Nn(e)))}})),o.readAsText(e)},c=0;c-1)return t.state.draggingText(e),void setTimeout((function(){t.display.input.focus()}),20);try{if(a=e.dataTransfer.getData("Text")){if(t.state.draggingText&&!(f?e.altKey:e.ctrlKey))var d=t.listSelections();if(We(t.doc,Ae(n,n)),d)for(c=0;cc.clientWidth||a&&c.scrollHeight>c.clientHeight){if(a&&f&&i)e:for(var d=n.target,u=s.view;d!=c;d=d.parentNode)for(var p=0;p0)){var d=[l,1],u=ue(c.from,s.from),p=ue(c.to,s.to);(u<0||!a.inclusiveLeft&&!u)&&d.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&d.push({from:s.to,to:c.to}),o.splice.apply(o,d),l+=d.length-1}}return o}(e,t.from,t.to);if(r)for(var o=r.length-1;o>=0;--o)An(e,{from:r[o].from,to:r[o].to,text:o?[""]:t.text});else An(e,t)}}function An(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ue(t.from,t.to)){var n=Rn(e,t);_o(e,t,n,e.cm?e.cm.curOp.id:NaN),Pn(e,t,n,xr(e,t));var r=[];mo(e,(function(e,n){n||-1!=di(r,e.history)||(Lo(e.history,t),r.push(e.history)),Pn(e,t,null,xr(e,t))}))}}function Dn(e,t,n){if(!e.cm||!e.cm.state.suppressEdits){for(var r,o=e.history,i=e.sel,a="undo"==t?o.done:o.undone,s="undo"==t?o.undone:o.done,l=0;l=0;--l){var u=r.changes[l];if(u.origin=t,d&&!On(e,u,!1))return void(a.length=0);c.push(To(e,u));var p=l?Rn(e,u):li(a);Pn(e,u,p,kr(e,u)),!l&&e.cm&&e.cm.scrollIntoView({from:u.from,to:Nn(u)});var h=[];mo(e,(function(e,t){t||-1!=di(h,e.history)||(Lo(e.history,u),h.push(e.history)),Pn(e,u,null,kr(e,u))}))}}}}function Ln(e,t){if(0!=t&&(e.first+=t,e.sel=new Me(ui(e.sel.ranges,(function(e){return new Oe(de(e.anchor.line+t,e.anchor.ch),de(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Jt(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.linei&&(t={from:t.from,to:de(i,bo(e,i).text.length),text:[t.text[0]],origin:t.origin}),t.removed=vo(e,t.from,t.to),n||(n=Rn(e,t)),e.cm?function(e,t,n){var r=e.doc,o=e.display,i=t.from,a=t.to,s=!1,l=i.line;e.options.lineWrapping||(l=xo(Ar(bo(r,i.line))),r.iter(l,a.line+1,(function(e){if(e==o.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&Jo(e),so(r,t,n,E(e)),e.options.lineWrapping||(r.iter(l,i.line+t.text.length,(function(e){var t=O(e);t>o.maxLineLength&&(o.maxLine=e,o.maxLineLength=t,o.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,i.line),et(e,400);var c=t.text.length-(a.line-i.line)-1;t.full?Jt(e):i.line!=a.line||1!=t.text.length||ao(e.doc,t)?Jt(e,i.line,a.line+1,c):Yt(e,i.line,"text");var d=Yo(e,"changes"),u=Yo(e,"change");if(u||d){var p={from:i,to:a,text:t.text,removed:t.removed,origin:t.origin};u&&Go(e,"change",e,p),d&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}(e.cm,t,r):so(e,t,r),We(e,n,ei)}}function zn(e,t,n,r,o){if(r||(r=n),ue(r,n)<0){var i=r;r=n,n=i}"string"==typeof t&&(t=e.splitLines(t)),In(e,{from:n,to:r,text:t,origin:o})}function Fn(e,t,n,r,o){var i=e.display,a=Mt(e.display);n<0&&(n=0);var s=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:i.scroller.scrollTop,l=lt(e),c={};o-n>l&&(o=n+l);var d=e.doc.height+ot(i),u=nd-a;if(ns+l){var h=Math.min(n,(p?d:o)-l);h!=s&&(c.scrollTop=h)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:i.scroller.scrollLeft,m=st(e)-(e.options.fixedGutter?i.gutters.offsetWidth:0),g=r-t>m;return g&&(r=t+m),t<10?c.scrollLeft=0:tm+f-3&&(c.scrollLeft=r+(g?0:10)-m),c}function Hn(e,t,n){null==t&&null==n||Un(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=n&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+n)}function jn(e){Un(e);var t=e.getCursor(),n=t,r=t;e.options.lineWrapping||(n=t.ch?de(t.line,t.ch-1):t,r=de(t.line,t.ch+1)),e.curOp.scrollToPos={from:n,to:r,margin:e.options.cursorScrollMargin,isCursor:!0}}function Un(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=Tt(e,t.from),r=Tt(e,t.to),o=Fn(e,Math.min(n.left,r.left),Math.min(n.top,r.top)-t.margin,Math.max(n.right,r.right),Math.max(n.bottom,r.bottom)+t.margin);e.scrollTo(o.scrollLeft,o.scrollTop)}}function Bn(e,t,n,r){var o,i=e.doc;null==n&&(n="add"),"smart"==n&&(i.mode.indent?o=nt(e,t):n="prev");var a=e.options.tabSize,s=bo(i,t),l=oi(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,d=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=i.mode.indent(o,s.text.slice(d.length),s.text))==Xo||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>i.first?oi(bo(i,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var u="",p=0;if(e.options.indentWithTabs)for(var h=Math.floor(c/a);h;--h)p+=a,u+="\t";if(p=0;t--)zn(e.doc,"",r[t].from,r[t].to,"+delete");jn(e)}))}function Vn(e,t,n,r,o){var i=t.line,a=t.ch,s=n,l=bo(e,i),c=!0;function d(t){var r,s=(o?ta:na)(l,a,n,!0);if(null==s){if(t||!((r=i+n)=e.first+e.size?c=!1:(i=r,l=bo(e,r))))return c=!1;a=o?(n<0?Ji:Zi)(l):n<0?l.text.length:0}else a=s;return!0}if("char"==r)d();else if("column"==r)d(!0);else if("word"==r||"group"==r)for(var u=null,p="group"==r,h=e.cm&&e.cm.getHelper(t,"wordChars"),f=!0;!(n<0)||d(!f);f=!1){var m=l.text.charAt(a)||"\n",g=vi(m,h)?"w":p&&"\n"==m?"n":!p||/\s/.test(m)?null:"p";if(!p||f||g||(g="s"),u&&u!=g){n<0&&(n=1,d());break}if(g&&(u=g),n>0&&!d(!f))break}var b=Ze(e,de(i,a),s,!0);return c||(b.hitSide=!0),b}function Gn(e,t,n,r){var o,i=e.doc,a=t.left;if("page"==r){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);o=t.top+n*(s-(n<0?1.5:.5)*Mt(e.display))}else"line"==r&&(o=n>0?t.bottom+3:t.top-3);for(;;){var l=_t(e,a,o);if(!l.outside)break;if(n<0?o<=0:o>=i.height){l.hitSide=!0;break}o+=5*n}return l}x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,t){var n=this.options,r=n[e];n[e]==t&&"mode"!=e||(n[e]=t,Zn.hasOwnProperty(e)&&Wt(this,Zn[e])(this,t,r))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](dr(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(Bn(this,o.head.line,e,!0),n=o.head.line,r==this.doc.sel.primIndex&&jn(this));else{var i=o.from(),a=o.to(),s=Math.max(n,i.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&je(this.doc,r,new Oe(i,c[r].to()),ei)}}})),getTokenAt:function(e,t){return Gr(this,e,t)},getLineTokens:function(e,t){return Gr(this,de(e),t,!0)},getTokenTypeAt:function(e){e=Le(this.doc,e);var t,n=Jr(this,bo(this.doc,e.line)),r=0,o=(n.length-1)/2,i=e.ch;if(0==i)t=n[2];else for(;;){var a=r+o>>1;if((a?n[2*a-1]:0)>=i)o=a;else{if(!(n[2*a+1]o&&(e=o,r=!0),n=bo(this.doc,e)}else n=e;return Ct(this,n,{top:0,left:0},t||"page").top+(r?this.doc.height-ko(n):0)},defaultTextHeight:function(){return Mt(this.display)},defaultCharWidth:function(){return Ot(this.display)},setGutterMarker:Vt((function(e,t,n){return qn(this.doc,e,"gutter",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&yi(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:Vt((function(e){var t=this,n=t.doc,r=n.first;n.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&(n.gutterMarkers[e]=null,Yt(t,r,"gutter"),yi(n.gutterMarkers)&&(n.gutterMarkers=null)),++r}))})),lineInfo:function(e){if("number"==typeof e){if(!Pe(this.doc,e))return null;var t=e;if(!(e=bo(this.doc,e)))return null}else if(null==(t=xo(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,o){var i,a,s,l,c,d,u=this.display,p=(e=Et(this,Le(this.doc,e))).bottom,h=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),u.sizer.appendChild(t),"over"==r)p=e.top;else if("above"==r||"near"==r){var f=Math.max(u.wrapper.clientHeight,this.doc.height),m=Math.max(u.sizer.clientWidth,u.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>f)&&e.top>t.offsetHeight?p=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=f&&(p=e.bottom),h+t.offsetWidth>m&&(h=m-t.offsetWidth)}t.style.top=p+"px",t.style.left=t.style.right="","right"==o?(h=u.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==o?h=0:"middle"==o&&(h=(u.sizer.clientWidth-t.offsetWidth)/2),t.style.left=h+"px"),n&&(i=this,a=h,s=p,l=h+t.offsetWidth,c=p+t.offsetHeight,null!=(d=Fn(i,a,s,l,c)).scrollTop&&dn(i,d.scrollTop),null!=d.scrollLeft&&un(i,d.scrollLeft))},triggerOnKeyDown:Vt(xn),triggerOnKeyPress:Vt(kn),triggerOnKeyUp:Cn,execCommand:function(e){if(or.hasOwnProperty(e))return or[e](this)},triggerElectric:Vt((function(e){we(this,e)})),findPosH:function(e,t,n,r){var o=1;t<0&&(o=-1,t=-t);for(var i=0,a=Le(this.doc,e);i0&&a(t.charAt(n-1));)--n;for(;r.5)&&T(this),Wo(this,"refresh",this)})),swapDoc:Vt((function(e){var t=this.doc;return t.cm=null,go(this,e),yt(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Go(this,"swapDoc",this,t),t})),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},$o(x);var Kn=x.defaults={},Zn=x.optionHandlers={};function Jn(e,t,n,r){x.defaults[e]=t,n&&(Zn[e]=r?function(e,t,r){r!=Yn&&n(e,t,r)}:n)}var Yn=x.Init={toString:function(){return"CodeMirror.Init"}};Jn("value","",(function(e,t){e.setValue(t)}),!0),Jn("mode",null,(function(e,t){e.doc.modeOption=t,k(e)}),!0),Jn("indentUnit",2,k,!0),Jn("indentWithTabs",!1),Jn("smartIndent",!0),Jn("tabSize",4,(function(e){S(e),yt(e),Jt(e)}),!0),Jn("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var o=0;;){var i=e.text.indexOf(t,o);if(-1==i)break;o=i+t.length,n.push(de(r,i))}r++}));for(var o=n.length-1;o>=0;o--)zn(e.doc,t,n[o],de(n[o].line,n[o].ch+t.length))}})),Jn("specialChars",/[\t\u0000-\u0019\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=x.Init&&e.refresh()})),Jn("specialCharPlaceholder",(function(e){var t=ki("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}),(function(e){e.refresh()}),!0),Jn("electricChars",!0),Jn("inputStyle",h?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),Jn("rtlMoveVisually",!m),Jn("wholeLineUpdateBefore",!0),Jn("theme","default",(function(e){N(e),_(e)}),!0),Jn("keyMap","default",(function(e,t,n){var r=dr(t),o=n!=x.Init&&dr(n);o&&o.detach&&o.detach(e,r),r.attach&&r.attach(e,o||null)})),Jn("extraKeys",null),Jn("lineWrapping",!1,(function(e){e.options.lineWrapping?(Mi(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Ri(e.display.wrapper,"CodeMirror-wrap"),I(e)),T(e),Jt(e),yt(e),setTimeout((function(){F(e)}),100)}),!0),Jn("gutters",[],(function(e){A(e.options),_(e)}),!0),Jn("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?W(e.display)+"px":"0",e.refresh()}),!0),Jn("coverGutterNextToScrollbar",!1,(function(e){F(e)}),!0),Jn("scrollbarStyle","native",(function(e){z(e),F(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),Jn("lineNumbers",!1,(function(e){A(e.options),_(e)}),!0),Jn("firstLineNumber",1,_,!0),Jn("lineNumberFormatter",(function(e){return e}),_,!0),Jn("showCursorWhenSelecting",!1,Je,!0),Jn("resetSelectionOnContextMenu",!0),Jn("lineWiseCopyCut",!0),Jn("readOnly",!1,(function(e,t){"nocursor"==t?(En(e),e.display.input.blur(),e.display.disabled=!0):(e.display.disabled=!1,t||e.display.input.reset())})),Jn("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),Jn("dragDrop",!0,(function(e,t,n){if(!t!=!(n&&n!=x.Init)){var r=e.display.dragFunctions,o=t?Bo:qo;o(e.display.scroller,"dragstart",r.start),o(e.display.scroller,"dragenter",r.simple),o(e.display.scroller,"dragover",r.simple),o(e.display.scroller,"drop",r.drop)}})),Jn("cursorBlinkRate",530),Jn("cursorScrollMargin",0),Jn("cursorHeight",1,Je,!0),Jn("singleCursorHeightPerLine",!0,Je,!0),Jn("workTime",100),Jn("workDelay",100),Jn("flattenSpans",!0,S,!0),Jn("addModeClass",!1,S,!0),Jn("pollInterval",100),Jn("undoDepth",200,(function(e,t){e.doc.history.undoDepth=t})),Jn("historyEventDelay",1250),Jn("viewportMargin",10,(function(e){e.refresh()}),!0),Jn("maxHighlightLength",1e4,S,!0),Jn("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),Jn("tabindex",null,(function(e,t){e.display.input.getField().tabIndex=t||""})),Jn("autofocus",null);var $n=x.modes={},Qn=x.mimeModes={};x.defineMode=function(e,t){x.defaults.mode||"null"==e||(x.defaults.mode=e),arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),$n[e]=t},x.defineMIME=function(e,t){Qn[e]=t},x.resolveMode=function(e){if("string"==typeof e&&Qn.hasOwnProperty(e))e=Qn[e];else if(e&&"string"==typeof e.name&&Qn.hasOwnProperty(e.name)){var t=Qn[e.name];"string"==typeof t&&(t={name:t}),(e=hi(t,e)).name=t.name}else if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return x.resolveMode("application/xml");return"string"==typeof e?{name:e}:e||{name:"null"}},x.getMode=function(e,t){t=x.resolveMode(t);var n=$n[t.name];if(!n)return x.getMode(e,"text/plain");var r=n(e,t);if(Xn.hasOwnProperty(t.name)){var o=Xn[t.name];for(var i in o)o.hasOwnProperty(i)&&(r.hasOwnProperty(i)&&(r["_"+i]=r[i]),r[i]=o[i])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var i in t.modeProps)r[i]=t.modeProps[i];return r},x.defineMode("null",(function(){return{token:function(e){e.skipToEnd()}}})),x.defineMIME("text/plain","null");var Xn=x.modeExtensions={};x.extendMode=function(e,t){fi(t,Xn.hasOwnProperty(e)?Xn[e]:Xn[e]={})},x.defineExtension=function(e,t){x.prototype[e]=t},x.defineDocExtension=function(e,t){po.prototype[e]=t},x.defineOption=Jn;var er=[];x.defineInitHook=function(e){er.push(e)};var tr=x.helpers={};x.registerHelper=function(e,t,n){tr.hasOwnProperty(e)||(tr[e]=x[e]={_global:[]}),tr[e][t]=n},x.registerGlobalHelper=function(e,t,n,r){x.registerHelper(e,t,r),tr[e]._global.push({pred:n,val:r})};var nr=x.copyState=function(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var o=t[r];o instanceof Array&&(o=o.concat([])),n[r]=o}return n},rr=x.startState=function(e,t,n){return!e.startState||e.startState(t,n)};x.innerMode=function(e,t){for(;e.innerMode;){var n=e.innerMode(t);if(!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}};var or=x.commands={selectAll:function(e){e.setSelection(de(e.firstLine(),0),de(e.lastLine()),ei)},singleSelection:function(e){e.setSelection(e.getCursor("anchor"),e.getCursor("head"),ei)},killLine:function(e){Wn(e,(function(t){if(t.empty()){var n=bo(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)o=new de(o.line,o.ch+1),e.replaceRange(i.charAt(o.ch-1)+i.charAt(o.ch-2),de(o.line,o.ch-2),o,"+transpose");else if(o.line>e.doc.first){var a=bo(e.doc,o.line-1).text;a&&e.replaceRange(i.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),de(o.line-1,a.length-1),de(o.line,1),"+transpose")}n.push(new Oe(o,o))}e.setSelections(n)}))},newlineAndIndent:function(e){qt(e,(function(){for(var t=e.listSelections().length,n=0;n=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){if(this.post},eatSpace:function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},skipToEnd:function(){this.pos=this.string.length},skipTo:function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},backUp:function(e){this.pos-=e},column:function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var o=function(e){return n?e.toLowerCase():e};if(o(this.string.substr(this.pos,e.length))==o(e))return!1!==t&&(this.pos+=e.length),!0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}}};var pr=0,hr=x.TextMarker=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++pr};function fr(e,t,n,r,o){if(r&&r.shared)return function(e,t,n,r,o){(r=fi(r)).shared=!1;var i=[fr(e,t,n,r,o)],a=i[0],s=r.widgetNode;return mo(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),i.push(fr(e,Le(e,t),Le(e,n),r,o));for(var l=0;l0||0==a&&!1!==i.clearWhenEmpty)return i;if(i.replacedWith&&(i.collapsed=!0,i.widgetNode=ki("span",[i.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||i.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(i.widgetNode.insertLeft=!0)),i.collapsed){if(Ir(e,t.line,t,n,i)||t.line!=n.line&&Ir(e,n.line,t,n,i))throw new Error("Inserting collapsed marker partially overlapping an existing one");w=!0}i.addToHistory&&_o(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&i.collapsed&&!c.options.lineWrapping&&Ar(e)==c.display.maxLine&&(s=!0),i.collapsed&&l!=t.line&&wo(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new vr(i,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),i.collapsed&&e.iter(t.line,n.line+1,(function(t){Pr(e,t)&&wo(t,0)})),i.clearOnEnter&&Bo(i,"beforeCursorEnter",(function(){i.clear()})),i.readOnly&&(y=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),i.collapsed&&(i.id=++pr,i.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),i.collapsed)Jt(c,t.line,n.line+1);else if(i.className||i.title||i.startStyle||i.endStyle||i.css)for(var d=t.line;d<=n.line;d++)Yt(c,d,"text");i.atomic&&Ge(c.doc),Go(c,"markerAdded",c,i)}return i}$o(hr),hr.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Pt(e),Yo(this,"clear")){var n=this.find();n&&Go(this,"clear",n.from,n.to)}for(var r=null,o=null,i=0;ie.display.maxLineLength&&(e.display.maxLine=l,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Jt(e,r,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ge(e.doc)),e&&Go(e,"markerCleared",e,this),t&&zt(e),this.parent&&this.parent.clear()}},hr.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var o=0;o=t:i.to>t);(r||(r=[])).push(new vr(a,i.from,s?null:i.to))}}return r}(n,o,a),l=function(e,t,n){if(e)for(var r,o=0;o=t:i.to>t)||i.from==t&&"bookmark"==a.type&&(!n||i.marker.insertLeft)){var s=null==i.from||(a.inclusiveLeft?i.from<=t:i.from0&&s)for(u=0;u=0&&u<=0||d<=0&&u>=0)&&(d<=0&&(ue(c.to,n)>0||l.marker.inclusiveRight&&o.inclusiveLeft)||d>=0&&(ue(c.from,r)<0||l.marker.inclusiveLeft&&o.inclusiveRight)))return!0}}}function Ar(e){for(var t;t=Mr(e);)e=t.find(-1,!0).line;return e}function Dr(e,t){var n=bo(e,t),r=Ar(n);return n==r?t:xo(r)}function Lr(e,t){if(t>e.lastLine())return t;var n,r=bo(e,t);if(!Pr(e,r))return t;for(;n=Or(r);)r=n.find(1,!0).line;return xo(r)+1}function Pr(e,t){var n=w&&t.markedSpans;if(n)for(var r,o=0;ot.start)return i}throw new Error("Mode "+e.name+" failed to advance stream.")}function Gr(e,t,n,r){function o(e){return{start:u.start,end:u.pos,string:u.current(),type:i||null,state:e?nr(a.mode,d):d}}var i,a=e.doc,s=a.mode;t=Le(a,t);var l,c=bo(a,t.line),d=nt(e,t.line,n),u=new ur(c.text,e.options.tabSize);for(r&&(l=[]);(r||u.pose.options.maxHighlightLength?(s=!1,a&&Yr(e,t,r,u.pos),u.pos=t.length,l=null):l=qr(Vr(n,u,r,p),i),p){var h=p[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!s||d!=l){for(;ce&&o.splice(l,1,e,o[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)o.splice(n,l-n,e,"cm-overlay "+t),l=n+2;else for(;nc&&p.from<=c)break}if(p.to>=d)return e(n,r,o,i,a,s,l);e(n,r.slice(0,p.to-c),o,i,null,s,l),i=null,r=r.slice(p.to-c),c=p.to}}}function oo(e,t,n,r){var o=!r&&n.widgetNode;o&&e.map.push(e.pos,e.pos+t,o),!r&&e.cm.display.input.needsContentAttribute&&(o||(o=e.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",n.id)),o&&(e.cm.display.input.setUneditable(o),e.content.appendChild(o)),e.pos+=t}function io(e,t,n){var r=e.markedSpans,o=e.text,i=0;if(r)for(var a,s,l,c,d,u,p,h=o.length,f=0,m=(S=1,""),g=0;;){if(g==f){l=c=d=u=s="",p=null,g=1/0;for(var b=[],v=0;vf||w.collapsed&&y.to==f&&y.from==f)?(null!=y.to&&y.to!=f&&g>y.to&&(g=y.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=w.css),w.startStyle&&y.from==f&&(d+=" "+w.startStyle),w.endStyle&&y.to==g&&(c+=" "+w.endStyle),w.title&&!u&&(u=w.title),w.collapsed&&(!p||_r(p.marker,w)<0)&&(p=y)):y.from>f&&g>y.from&&(g=y.from)}if(p&&(p.from||0)==f){if(oo(t,(null==p.to?h+1:p.to)-f,p.marker,null==p.from),null==p.to)return;p.to==f&&(p=!1)}if(!p&&b.length)for(v=0;v=h)break;for(var x=Math.min(h,g);;){if(m){var C=f+m.length;if(!p){var k=C>x?m.slice(0,x-f):m;t.addToken(t,k,a?a+l:l,d,f+k.length==g?c:"",u,s)}if(C>=x){m=m.slice(x-f),f=x;break}f=C,d=""}m=o.slice(i,i=n[S++]),a=Xr(n[S++],t.cm.options)}}else for(var S=1;S1&&e.remove(s.line+1,f-1),e.insert(s.line+1,m));Go(e,"change",e,t)}function lo(e){this.lines=e,this.parent=null;for(var t=0,n=0;t1||!(this.children[0]instanceof lo))){var s=[];this.collapse(s),this.children=[new lo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(;o.lines.length>50;){var a=new lo(o.lines.splice(o.lines.length-25,25));o.height-=a.height,this.children.splice(r+1,0,a),a.parent=this}this.maybeSpill()}break}e-=i}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new co(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=di(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new co(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r=0;i--)In(this,r[i]);s?Be(this,s):this.cm&&jn(this.cm)})),undo:Gt((function(){Dn(this,"undo")})),redo:Gt((function(){Dn(this,"redo")})),undoSelection:Gt((function(){Dn(this,"undo",!0)})),redoSelection:Gt((function(){Dn(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(o.marker.parent||o.marker)}return t},findMarks:function(e,t,n){e=Le(this,e),t=Le(this,t);var r=[],o=e.line;return this.iter(e.line,t.line+1,(function(i){var a=i.markedSpans;if(a)for(var s=0;sl.to||null==l.from&&o!=e.line||o==t.line&&l.from>t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++o})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n})),Le(this,de(n,t))},indexFromPos:function(e){var t=(e=Le(this,e)).ch;return e.linet&&(t=e.from),null!=e.to&&e.to=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var o=n.children[r],i=o.chunkSize();if(ta-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(i=function(e,t){return t?(No(e.done),li(e.done)):e.done.length&&!li(e.done).ranges?li(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),li(e.done)):void 0}(o,o.lastOp==r))){var s=li(i.changes);0==ue(t.from,t.to)&&0==ue(t.from,s.to)?s.to=Nn(t):i.changes.push(To(e,t))}else{var l=li(o.done);for(l&&l.ranges||Ro(e.sel,o.done),i={changes:[To(e,t)],generation:o.generation},o.done.push(i);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(n),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=a,o.lastOp=o.lastSelOp=r,o.lastOrigin=o.lastSelOrigin=t.origin,s||Wo(e,"historyAdded")}function Ro(e,t){var n=li(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Mo(e,t,n,r){var o=t["spans_"+e.id],i=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((o||(o=t["spans_"+e.id]={}))[i]=n.markedSpans),++i}))}function Oo(e){if(!e)return null;for(var t,n=0;n-1&&(li(s)[u]=d[u],delete d[u])}}}return o}function Ao(e,t,n,r){n0}function $o(e){e.prototype.on=function(e,t){Bo(this,e,t)},e.prototype.off=function(e,t){qo(this,e,t)}}var Qo=30,Xo=x.Pass={toString:function(){return"CodeMirror.Pass"}},ei={scroll:!1},ti={origin:"*mouse"},ni={origin:"+move"};function ri(){this.id=null}ri.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var oi=x.countColumn=function(e,t,n,r,o){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var i=r||0,a=o||0;;){var s=e.indexOf("\t",i);if(s<0||s>=t)return a+(t-i);a+=s-i,a+=n-a%n,i=s+1}};function ii(e,t,n){for(var r=0,o=0;;){var i=e.indexOf("\t",r);-1==i&&(i=e.length);var a=i-r;if(i==e.length||o+a>=t)return r+Math.min(a,t-o);if(o+=i-r,r=i+1,(o+=n-o%n)>=t)return r}}var ai=[""];function si(e){for(;ai.length<=e;)ai.push(li(ai)+" ");return ai[e]}function li(e){return e[e.length-1]}var ci=function(e){e.select()};function di(e,t){for(var n=0;n"€"&&(e.toUpperCase()!=e.toLowerCase()||gi.test(e))};function vi(e,t){return t?!!(t.source.indexOf("\\w")>-1&&bi(e))||t.test(e):bi(e)}function yi(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var wi,xi=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ci(e){return e.charCodeAt(0)>=768&&xi.test(e)}function ki(e,t,n,r){var o=document.createElement(e);if(n&&(o.className=n),r&&(o.style.cssText=r),"string"==typeof t)o.appendChild(document.createTextNode(t));else if(t)for(var i=0;i0;--t)e.removeChild(e.firstChild);return e}function Ei(e,t){return Si(e).appendChild(t)}wi=document.createRange?function(e,t,n,r){var o=document.createRange();return o.setEnd(r||e,n),o.setStart(e,t),o}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var Ti=x.contains=function(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)};function Ni(){for(var e=document.activeElement;e&&e.root&&e.root.activeElement;)e=e.root.activeElement;return e}function _i(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}r&&o<11&&(Ni=function(){try{return document.activeElement}catch(e){return document.body}});var Ri=x.rmClass=function(e,t){var n=e.className,r=_i(t).exec(n);if(r){var o=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(o?r[1]+o:"")}},Mi=x.addClass=function(e,t){var n=e.className;_i(t).test(n)||(e.className+=(n?" ":"")+t)};function Oi(e,t){for(var n=e.split(" "),r=0;r2&&!(r&&o<8))}var n=Di?ki("span","​"):ki("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Fi(e){if(null!=Li)return Li;var t=Ei(e,document.createTextNode("AخA")),n=wi(t,0,1).getBoundingClientRect();if(!n||n.left==n.right)return!1;var r=wi(t,1,2).getBoundingClientRect();return Li=r.right-n.right<3}var Hi,ji=x.splitLines=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var o=e.indexOf("\n",t);-1==o&&(o=e.length);var i=e.slice(t,"\r"==e.charAt(o-1)?o-1:o),a=i.indexOf("\r");-1!=a?(n.push(i.slice(0,a)),t+=a+1):(n.push(i),t=o+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Ui=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){try{var t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Bi="oncopy"in(Hi=ki("div"))||(Hi.setAttribute("oncopy","return;"),"function"==typeof Hi.oncopy),qi=null;var Wi,Vi={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",107:"=",109:"-",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};function Gi(e){return e.level%2?e.to:e.from}function Ki(e){return e.level%2?e.from:e.to}function Zi(e){var t=So(e);return t?Gi(t[0]):0}function Ji(e){var t=So(e);return t?Ki(li(t)):e.text.length}function Yi(e,t){var n=bo(e.doc,t),r=Ar(n);r!=n&&(t=xo(r));var o=So(r),i=o?o[0].level%2?Ji(r):Zi(r):0;return de(t,i)}function $i(e,t){var n=Yi(e,t.line),r=bo(e.doc,n.line),o=So(r);if(!o||0==o[0].level){var i=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=i&&t.ch;return de(n.line,a?0:i)}return n}function Qi(e,t,n){var r=e[0].level;return t==r||n!=r&&tt)return r;if(o.from==t||o.to==t){if(null!=n)return Qi(e,o.level,e[n].level)?(o.from!=o.to&&(Wi=n),r):(o.from!=o.to&&(Wi=r),n);n=r}}return n}function ea(e,t,n,r){if(!r)return t+n;do{t+=n}while(t>0&&Ci(e.text.charAt(t)));return t}function ta(e,t,n,r){var o=So(e);if(!o)return na(e,t,n,r);for(var i=Xi(o,t),a=o[i],s=ea(e,t,a.level%2?-n:n,r);;){if(s>a.from&&s0==(a=o[i+=n]).level%2?a.to:a.from;if(!(a=o[i+=n]))return null;s=n>0==a.level%2?ea(e,a.to,-1,r):ea(e,a.from,1,r)}}function na(e,t,n,r){var o=t+n;if(r)for(;o>0&&Ci(e.text.charAt(o));)o+=n;return o<0||o>e.text.length?null:o}x.keyNames=Vi,function(){for(var e=0;e<10;e++)Vi[e+48]=Vi[e+96]=String(e);for(e=65;e<=90;e++)Vi[e]=String.fromCharCode(e);for(e=1;e<=12;e++)Vi[e+111]=Vi[e+63235]="F"+e}();var ra=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,o=/[1n]/,i="L";function a(e,t,n){this.level=e,this.from=t,this.to=n}return function(s){if(!e.test(s))return!1;for(var l=s.length,c=[],d=0;d{!function(e){"use strict";function t(e){for(var t={},n=0;n*\/]/.test(n)?b(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?b("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?b(null,n):"u"==n&&e.match(/rl(-prefix)?\(/)||"d"==n&&e.match("omain(")||"r"==n&&e.match("egexp(")?(e.backUp(1),t.tokenize=w,b("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),b("property","word")):b(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),b("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?b("variable-2","variable-definition"):b("variable-2","variable")):e.match(/^\w+-/)?b("meta","meta"):void 0}function y(e){return function(t,n){for(var r,o=!1;null!=(r=t.next());){if(r==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==r}return(r==e||!o&&")"!=e)&&(n.tokenize=null),b("string","string")}}function w(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=y(")"),b(null,"(")}function x(e,t,n){this.type=e,this.indent=t,this.prev=n}function C(e,t,n){return e.context=new x(n,t.indentation()+i,e.context),n}function k(e){return e.context=e.context.prev,e.context.type}function S(e,t,n){return N[n.context.type](e,t,n)}function E(e,t,n,r){for(var o=r||1;o>0;o--)n.context=n.context.prev;return S(e,t,n)}function T(e){var t=e.current().toLowerCase();o=m.hasOwnProperty(t)?"atom":f.hasOwnProperty(t)?"keyword":"variable"}var N={top:function(e,t,n){if("{"==e)return C(n,t,"block");if("}"==e&&n.context.prev)return k(n);if(/@(media|supports|(-moz-)?document)/.test(e))return C(n,t,"atBlock");if(/@(font-face|counter-style)/.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return C(n,t,"at");if("hash"==e)o="builtin";else if("word"==e)o="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return C(n,t,"interpolation");if(":"==e)return"pseudo";if(g&&"("==e)return C(n,t,"parens")}return n.context.type},block:function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return d.hasOwnProperty(r)?(o="property","maybeprop"):u.hasOwnProperty(r)?(o="string-2","maybeprop"):g?(o=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(o+=" error","maybeprop")}return"meta"==e?"block":g||"hash"!=e&&"qualifier"!=e?N.top(e,t,n):(o="error","block")},maybeprop:function(e,t,n){return":"==e?C(n,t,"prop"):S(e,t,n)},prop:function(e,t,n){if(";"==e)return k(n);if("{"==e&&g)return C(n,t,"propBlock");if("}"==e||"{"==e)return E(e,t,n);if("("==e)return C(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t.current())){if("word"==e)T(t);else if("interpolation"==e)return C(n,t,"interpolation")}else o+=" error";return"prop"},propBlock:function(e,t,n){return"}"==e?k(n):"word"==e?(o="property","maybeprop"):n.context.type},parens:function(e,t,n){return"{"==e||"}"==e?E(e,t,n):")"==e?k(n):"("==e?C(n,t,"parens"):"interpolation"==e?C(n,t,"interpolation"):("word"==e&&T(t),"parens")},pseudo:function(e,t,n){return"word"==e?(o="variable-3",n.context.type):S(e,t,n)},atBlock:function(e,t,n){if("("==e)return C(n,t,"atBlock_parens");if("}"==e)return E(e,t,n);if("{"==e)return k(n)&&C(n,t,g?"block":"top");if("word"==e){var r=t.current().toLowerCase();o="only"==r||"not"==r||"and"==r||"or"==r?"keyword":s.hasOwnProperty(r)?"tag":l.hasOwnProperty(r)?"attribute":c.hasOwnProperty(r)||d.hasOwnProperty(r)?"property":u.hasOwnProperty(r)?"string-2":m.hasOwnProperty(r)?"atom":f.hasOwnProperty(r)?"keyword":"error"}return n.context.type},atBlock_parens:function(e,t,n){return")"==e?k(n):"{"==e||"}"==e?E(e,t,n,2):N.atBlock(e,t,n)},restricted_atBlock_before:function(e,t,n){return"{"==e?C(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(o="variable","restricted_atBlock_before"):S(e,t,n)},restricted_atBlock:function(e,t,n){return"}"==e?(n.stateArg=null,k(n)):"word"==e?(o="@font-face"==n.stateArg&&!p.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,n){return"word"==e?(o="variable","keyframes"):"{"==e?C(n,t,"top"):S(e,t,n)},at:function(e,t,n){return";"==e?k(n):"{"==e||"}"==e?E(e,t,n):("word"==e?o="tag":"hash"==e&&(o="builtin"),"at")},interpolation:function(e,t,n){return"}"==e?k(n):"{"==e||";"==e?E(e,t,n):("word"==e?o="variable":"variable"!=e&&"("!=e&&")"!=e&&(o="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:"top",stateArg:null,context:new x("top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||v)(e,t);return n&&"object"==typeof n&&(r=n[1],n=n[0]),o=n,t.state=N[t.state](r,e,t),o},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),o=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),!n.prev||("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type)&&(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(o=n.indent-i,n=n.prev),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace"}}));var n=["domain","regexp","url","url-prefix"],r=t(n),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],i=t(o),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"],s=t(a),l=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],c=t(l),d=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],u=t(d),p=t(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),h=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),f=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],m=t(f),g=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small"],b=t(g),v=n.concat(o).concat(a).concat(l).concat(d).concat(f).concat(g);function y(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.registerHelper("hintWords","css",v),e.defineMIME("text/css",{documentTypes:r,mediaTypes:i,mediaFeatures:s,propertyKeywords:c,nonStandardPropertyKeywords:u,fontProperties:p,counterDescriptors:h,colorKeywords:m,valueKeywords:b,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=y,y(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:i,mediaFeatures:s,propertyKeywords:c,nonStandardPropertyKeywords:u,colorKeywords:m,valueKeywords:b,fontProperties:p,allowNested:!0,tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=y,y(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/)&&[null,"{"]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:i,mediaFeatures:s,propertyKeywords:c,nonStandardPropertyKeywords:u,colorKeywords:m,valueKeywords:b,fontProperties:p,allowNested:!0,tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=y,y(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"})}(n(4631))},16531:(e,t,n)=>{!function(e){"use strict";e.defineMode("htmlmixed",(function(t,n){var r=e.getMode(t,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),o=e.getMode(t,"css"),i=[],a=n&&n.scriptTypes;if(i.push({matches:/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^$/i,mode:e.getMode(t,"javascript")}),a)for(var s=0;s"==e.current()){var s=e.string.slice(Math.max(0,e.pos-100),e.pos).match(/\btype\s*=\s*("[^"]+"|'[^']+'|\S+)[^<]*$/i);(s=s?s[1]:"")&&/[\"\']/.test(s.charAt(0))&&(s=s.slice(1,s.length-1));for(var l=0;l"==e.current()&&(t.token=p,t.localMode=o,t.localState=o.startState(r.indent(t.htmlState,"")));return a}function d(e,t,n){var r=e.current(),o=r.search(t);return o>-1?e.backUp(r.length-o):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}function u(e,t){return e.match(/^<\/\s*script\s*>/i,!1)?(t.token=c,t.localState=t.localMode=null,null):d(e,/<\/\s*script\s*>/,t.localMode.token(e,t.localState))}function p(e,t){return e.match(/^<\/\s*style\s*>/i,!1)?(t.token=c,t.localState=t.localMode=null,null):d(e,/<\/\s*style\s*>/,o.token(e,t.localState))}return i.push({matches:/./,mode:e.getMode(t,"text/plain")}),{startState:function(){return{token:c,localMode:null,localState:null,htmlState:r.startState()}},copyState:function(t){if(t.localState)var n=e.copyState(t.localMode,t.localState);return{token:t.token,localMode:t.localMode,localState:n,htmlState:e.copyState(r,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n){return!t.localMode||/^\s*<\//.test(n)?r.indent(t.htmlState,n):t.localMode.indent?t.localMode.indent(t.localState,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||r}}}}),"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")}(n(4631),n(29589),n(96876),n(36629))},96876:(e,t,n)=>{!function(e){"use strict";e.defineMode("javascript",(function(t,n){var r,o,i=t.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,d=n.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),o=e("operator"),i={type:"atom",style:"atom"},a={if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:r,break:r,continue:r,new:r,delete:r,throw:r,debugger:r,var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:i,false:i,null:i,undefined:i,NaN:i,Infinity:i,this:e("this"),module:e("module"),class:e("class"),super:e("atom"),yield:r,export:e("export"),import:e("import"),extends:r};if(c){var s={type:"variable",style:"variable-3"},l={interface:e("interface"),extends:e("extends"),constructor:e("constructor"),public:e("public"),private:e("private"),protected:e("protected"),static:e("static"),string:s,number:s,bool:s,any:s};for(var d in l)a[d]=l[d]}return a}(),p=/[+\-*&%=<>!?|~^]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function f(e,t,n){return r=e,o=n,t}function m(e,t){var n,r=e.next();if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){var r,o=!1;if(s&&"@"==e.peek()&&e.match(h))return t.tokenize=m,f("jsonld-keyword","meta");for(;null!=(r=e.next())&&(r!=n||o);)o=!o&&"\\"==r;return o||(t.tokenize=m),f("string","string")}),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return f("number","number");if("."==r&&e.match(".."))return f("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return f(r);if("="==r&&e.eat(">"))return f("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),f("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),f("number","number");if("/"==r)return e.eat("*")?(t.tokenize=g,g(e,t)):e.eat("/")?(e.skipToEnd(),f("comment","comment")):"operator"==t.lastType||"keyword c"==t.lastType||"sof"==t.lastType||/^[\[{}\(,;:]$/.test(t.lastType)?(function(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),f("regexp","string-2")):(e.eatWhile(p),f("operator","operator",e.current()));if("`"==r)return t.tokenize=b,b(e,t);if("#"==r)return e.skipToEnd(),f("error","error");if(p.test(r))return e.eatWhile(p),f("operator","operator",e.current());if(d.test(r)){e.eatWhile(d);var o=e.current(),i=u.propertyIsEnumerable(o)&&u[o];return i&&"."!=t.lastType?f(i.type,i.style,o):f("variable","variable",o)}}function g(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=m;break}r="*"==n}return f("comment","comment")}function b(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=m;break}r=!r&&"\\"==n}return f("quasi","string-2",e.current())}function v(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){for(var r=0,o=!1,i=n-1;i>=0;--i){var a=e.string.charAt(i),s="([{}])".indexOf(a);if(s>=0&&s<3){if(!r){++i;break}if(0==--r)break}else if(s>=3&&s<6)++r;else if(d.test(a))o=!0;else{if(/["'\/]/.test(a))return;if(o&&!r){++i;break}}}o&&!r&&(t.fatArrowAt=i)}}var y={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,n,r,o,i){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=i,null!=r&&(this.align=r)}function x(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}var C={state:null,column:null,marked:null,cc:null};function k(){for(var e=arguments.length-1;e>=0;e--)C.cc.push(arguments[e])}function S(){return k.apply(null,arguments),!0}function E(e){function t(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var r=C.state;if(r.context){if(C.marked="def",t(r.localVars))return;r.localVars={name:e,next:r.localVars}}else{if(t(r.globalVars))return;n.globalVars&&(r.globalVars={name:e,next:r.globalVars})}}var T={name:"this",next:{name:"arguments"}};function N(){C.state.context={prev:C.state.context,vars:C.state.localVars},C.state.localVars=T}function _(){C.state.localVars=C.state.context.vars,C.state.context=C.state.context.prev}function R(e,t){var n=function(){var n=C.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new w(r,C.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function M(){var e=C.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function O(e){return function t(n){return n==e?S():";"==e?k():S(t)}}function I(e,t){return"var"==e?S(R("vardef",t.length),te,O(";"),M):"keyword a"==e?S(R("form"),A,I,M):"keyword b"==e?S(R("form"),I,M):"{"==e?S(R("}"),$,M):";"==e?S():"if"==e?("else"==C.state.lexical.info&&C.state.cc[C.state.cc.length-1]==M&&C.state.cc.pop()(),S(R("form"),A,I,M,ae)):"function"==e?S(pe):"for"==e?S(R("form"),se,I,M):"variable"==e?S(R("stat"),W):"switch"==e?S(R("form"),A,R("}","switch"),O("{"),$,M,M):"case"==e?S(A,O(":")):"default"==e?S(O(":")):"catch"==e?S(R("form"),N,O("("),he,O(")"),I,M,_):"module"==e?S(R("form"),N,ve,_,M):"class"==e?S(R("form"),fe,M):"export"==e?S(R("form"),ye,M):"import"==e?S(R("form"),we,M):k(R("stat"),A,O(";"),M)}function A(e){return L(e,!1)}function D(e){return L(e,!0)}function L(e,t){if(C.state.fatArrowAt==C.stream.start){var n=t?q:B;if("("==e)return S(N,R(")"),J(ne,")"),M,O("=>"),n,_);if("variable"==e)return k(N,ne,O("=>"),n,_)}var r=t?H:F;return y.hasOwnProperty(e)?S(r):"function"==e?S(pe,r):"keyword c"==e?S(t?z:P):"("==e?S(R(")"),P,Te,O(")"),M,r):"operator"==e||"spread"==e?S(t?D:A):"["==e?S(R("]"),Se,M,r):"{"==e?Y(G,"}",null,r):"quasi"==e?k(j,r):S()}function P(e){return e.match(/[;\}\)\],]/)?k():k(A)}function z(e){return e.match(/[;\}\)\],]/)?k():k(D)}function F(e,t){return","==e?S(A):H(e,t,!1)}function H(e,t,n){var r=0==n?F:H,o=0==n?A:D;return"=>"==e?S(N,n?q:B,_):"operator"==e?/\+\+|--/.test(t)?S(r):"?"==t?S(A,O(":"),o):S(o):"quasi"==e?k(j,r):";"!=e?"("==e?Y(D,")","call",r):"."==e?S(V,r):"["==e?S(R("]"),P,O("]"),M,r):void 0:void 0}function j(e,t){return"quasi"!=e?k():"${"!=t.slice(t.length-2)?S(j):S(A,U)}function U(e){if("}"==e)return C.marked="string-2",C.state.tokenize=b,S(j)}function B(e){return v(C.stream,C.state),k("{"==e?I:A)}function q(e){return v(C.stream,C.state),k("{"==e?I:D)}function W(e){return":"==e?S(M,I):k(F,O(";"),M)}function V(e){if("variable"==e)return C.marked="property",S()}function G(e,t){return"variable"==e||"keyword"==C.style?(C.marked="property",S("get"==t||"set"==t?K:Z)):"number"==e||"string"==e?(C.marked=s?"property":C.style+" property",S(Z)):"jsonld-keyword"==e?S(Z):"["==e?S(A,O("]"),Z):void 0}function K(e){return"variable"!=e?k(Z):(C.marked="property",S(pe))}function Z(e){return":"==e?S(D):"("==e?k(pe):void 0}function J(e,t){function n(r){if(","==r){var o=C.state.lexical;return"call"==o.info&&(o.pos=(o.pos||0)+1),S(e,n)}return r==t?S():S(O(t))}return function(r){return r==t?S():k(e,n)}}function Y(e,t,n){for(var r=3;r=0;--l){var c=t.cc[l];if(c==M)s=s.prev;else if(c!=ae)break}"stat"==s.type&&"}"==o&&(s=s.prev),a&&")"==s.type&&"stat"==s.prev.type&&(s=s.prev);var d=s.type,u=o==d;return"vardef"==d?s.indented+("operator"==t.lastType||","==t.lastType?s.info+1:0):"form"==d&&"{"==o?s.indented:"form"==d?s.indented+i:"stat"==d?s.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?a||i:0):"switch"!=s.info||u||0==n.doubleIndentSwitch?s.align?s.column+(u?0:1):s.indented+(u?0:i):s.indented+(/^(?:case|default)\b/.test(r)?i:2*i)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l}})),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n(4631))},49047:(e,t,n)=>{!function(e){"use strict";e.defineMode("markdown",(function(t,n){var r=e.modes.hasOwnProperty("xml"),o=e.getMode(t,r?{name:"xml",htmlMode:!0}:"text/plain");void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.underscoresBreakWords&&(n.underscoresBreakWords=!0),void 0===n.fencedCodeBlocks&&(n.fencedCodeBlocks=!1),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1);var i=0,a="header",s="comment",l="quote",c="formatting",d="link",u="link",p="string",h=/^([*\-_])(?:\s*\1){2,}\s*$/,f=/^[*\-+]\s+/,m=/^[0-9]+([.)])\s+/,g=/^\[(x| )\](?=\s)/,b=/^(#+)(?: |$)/,v=/^ *(?:\={1,}|-{1,})\s*$/,y=/^[^#!\[\]*_\\<>` "'(~]+/;function w(e,t,n){return t.f=t.inline=n,n(e,t)}function x(e){return e.linkTitle=!1,e.em=!1,e.strong=!1,e.strikethrough=!1,e.quote=0,e.indentedCode=!1,r||e.f!=k||(e.f=_,e.block=C),e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.thisLineHasContent=!1,null}function C(r,o){var i=r.sol(),a=!1!==o.list,l=o.indentedCode;o.indentedCode=!1,a&&(o.indentationDiff>=0?(o.indentationDiff<4&&(o.indentation-=o.indentationDiff),o.list=null):o.indentation>0?(o.list=null,o.listDepth=Math.floor(o.indentation/4)):(o.list=!1,o.listDepth=0));var c=null;if(o.indentationDiff>=4)return r.skipToEnd(),l||!o.prevLineHasContent?(o.indentation-=4,o.indentedCode=!0,s):null;if(r.eatSpace())return null;if((c=r.match(b))&&c[1].length<=6)return o.header=c[1].length,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,T(o);if(o.prevLineHasContent&&!o.quote&&!a&&!l&&(c=r.match(v)))return o.header="="==c[0].charAt(0)?1:2,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,T(o);if(r.eat(">"))return o.quote=i?1:o.quote+1,n.highlightFormatting&&(o.formatting="quote"),r.eatSpace(),T(o);if("["===r.peek())return w(r,o,O);if(r.match(h,!0))return o.hr=!0,"hr";if((!o.prevLineHasContent||a)&&(r.match(f,!1)||r.match(m,!1))){var d=null;return r.match(f,!0)?d="ul":(r.match(m,!0),d="ol"),o.indentation+=4,o.list=!0,o.listDepth++,n.taskLists&&r.match(g,!1)&&(o.taskList=!0),o.f=o.inline,n.highlightFormatting&&(o.formatting=["list","list-"+d]),T(o)}return n.fencedCodeBlocks&&r.match(/^```[ \t]*([\w+#]*)/,!0)?(o.localMode=function(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var o=e.getMode(t,n);return"null"==o.name?null:o}(RegExp.$1),o.localMode&&(o.localState=o.localMode.startState()),o.f=o.block=S,n.highlightFormatting&&(o.formatting="code-block"),o.code=!0,T(o)):w(r,o,o.inline)}function k(e,t){var n=o.token(e,t.htmlState);return(r&&null===t.htmlState.tagStart&&!t.htmlState.context&&t.htmlState.tokenize.isInText||t.md_inside&&e.current().indexOf(">")>-1)&&(t.f=_,t.block=C,t.htmlState=null),n}function S(e,t){return e.sol()&&e.match("```",!1)?(t.localMode=t.localState=null,t.f=t.block=E,null):t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),s)}function E(e,t){e.match("```"),t.block=C,t.f=_,n.highlightFormatting&&(t.formatting="code-block"),t.code=!0;var r=T(t);return t.code=!1,r}function T(e){var t=[];if(e.formatting){t.push(c),"string"==typeof e.formatting&&(e.formatting=[e.formatting]);for(var r=0;r=e.quote?t.push("formatting-"+e.formatting[r]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(p,"url"):(e.strong&&t.push("strong"),e.em&&t.push("em"),e.strikethrough&&t.push("strikethrough"),e.linkText&&t.push(u),e.code&&t.push(s)),e.header&&(t.push(a),t.push("header-"+e.header)),e.quote&&(t.push(l),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push("quote-"+e.quote):t.push("quote-"+n.maxBlockquoteDepth)),!1!==e.list){var o=(e.listDepth-1)%3;o?1===o?t.push("variable-3"):t.push("keyword"):t.push("variable-2")}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function N(e,t){if(e.match(y,!0))return T(t)}function _(t,r){var a=r.text(t,r);if(void 0!==a)return a;if(r.list)return r.list=null,T(r);if(r.taskList)return"x"!==t.match(g,!0)[1]?r.taskOpen=!0:r.taskClosed=!0,n.highlightFormatting&&(r.formatting="task"),r.taskList=!1,T(r);if(r.taskOpen=!1,r.taskClosed=!1,r.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(r.formatting="header"),T(r);var s=t.sol(),l=t.next();if("\\"===l&&(t.next(),n.highlightFormatting))return(v=T(r))?v+" formatting-escape":"formatting-escape";if(r.linkTitle){r.linkTitle=!1;var c=l;"("===l&&(c=")");var u="^\\s*(?:[^"+(c=(c+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+c;if(t.match(new RegExp(u),!0))return p}if("`"===l){var h=r.formatting;n.highlightFormatting&&(r.formatting="code");var f=T(r),m=t.pos;t.eatWhile("`");var b=1+t.pos-m;return r.code?b===i?(r.code=!1,f):(r.formatting=h,T(r)):(i=b,r.code=!0,T(r))}if(r.code)return T(r);if("!"===l&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return t.match(/\[[^\]]*\]/),r.inline=r.f=M,"tag";if("["===l&&t.match(/.*\](\(.*\)| ?\[.*\])/,!1))return r.linkText=!0,n.highlightFormatting&&(r.formatting="link"),T(r);if("]"===l&&r.linkText&&t.match(/\(.*\)| ?\[.*\]/,!1)){n.highlightFormatting&&(r.formatting="link");var v=T(r);return r.linkText=!1,r.inline=r.f=M,v}if("<"===l&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return r.f=r.inline=R,n.highlightFormatting&&(r.formatting="link"),(v=T(r))?v+=" ":v="",v+d;if("<"===l&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return r.f=r.inline=R,n.highlightFormatting&&(r.formatting="link"),(v=T(r))?v+=" ":v="",v+"link";if("<"===l&&t.match(/^(!--|\w)/,!1)){var y=t.string.indexOf(">",t.pos);if(-1!=y){var w=t.string.substring(t.start,y);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(w)&&(r.md_inside=!0)}return t.backUp(1),r.htmlState=e.startState(o),function(e,t,n){return t.f=t.block=n,n(e,t)}(t,r,k)}if("<"===l&&t.match(/^\/\w*?>/))return r.md_inside=!1,"tag";var x=!1;if(!n.underscoresBreakWords&&"_"===l&&"_"!==t.peek()&&t.match(/(\w)/,!1)){var C=t.pos-2;if(C>=0){var S=t.string.charAt(C);"_"!==S&&S.match(/(\w)/,!1)&&(x=!0)}}if("*"===l||"_"===l&&!x)if(s&&" "===t.peek());else{if(r.strong===l&&t.eat(l))return n.highlightFormatting&&(r.formatting="strong"),f=T(r),r.strong=!1,f;if(!r.strong&&t.eat(l))return r.strong=l,n.highlightFormatting&&(r.formatting="strong"),T(r);if(r.em===l)return n.highlightFormatting&&(r.formatting="em"),f=T(r),r.em=!1,f;if(!r.em)return r.em=l,n.highlightFormatting&&(r.formatting="em"),T(r)}else if(" "===l&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return T(r);t.backUp(1)}if(n.strikethrough)if("~"===l&&t.eatWhile(l)){if(r.strikethrough)return n.highlightFormatting&&(r.formatting="strikethrough"),f=T(r),r.strikethrough=!1,f;if(t.match(/^[^\s]/,!1))return r.strikethrough=!0,n.highlightFormatting&&(r.formatting="strikethrough"),T(r)}else if(" "===l&&t.match(/^~~/,!0)){if(" "===t.peek())return T(r);t.backUp(2)}return" "===l&&(t.match(/ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),T(r)}function R(e,t){if(">"===e.next()){t.f=t.inline=_,n.highlightFormatting&&(t.formatting="link");var r=T(t);return r?r+=" ":r="",r+d}return e.match(/^[^>]+/,!0),d}function M(e,t){if(e.eatSpace())return null;var r,o=e.next();return"("===o||"["===o?(t.f=t.inline=(r="("===o?")":"]",function(e,t){if(e.next()===r){t.f=t.inline=_,n.highlightFormatting&&(t.formatting="link-string");var o=T(t);return t.linkHref=!1,o}return e.match(function(e){return D[e]||(e=(e+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),D[e]=new RegExp("^(?:[^\\\\]|\\\\.)*?("+e+")")),D[e]}(r),!0)&&e.backUp(1),t.linkHref=!0,T(t)}),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,T(t)):"error"}function O(e,t){return e.match(/^[^\]]*\]:/,!1)?(t.f=I,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,T(t)):w(e,t,_)}function I(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=A,n.highlightFormatting&&(t.formatting="link");var r=T(t);return t.linkText=!1,r}return e.match(/^[^\]]+/,!0),u}function A(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=_,"string url")}var D=[];var L={startState:function(){return{f:C,prevLineHasContent:!1,thisLineHasContent:!1,block:C,htmlState:null,indentation:0,inline:_,text:N,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,em:!1,strong:!1,header:0,hr:!1,taskList:!1,list:!1,listDepth:0,quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1}},copyState:function(t){return{f:t.f,prevLineHasContent:t.prevLineHasContent,thisLineHasContent:t.thisLineHasContent,block:t.block,htmlState:t.htmlState&&e.copyState(o,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkTitle:t.linkTitle,em:t.em,strong:t.strong,strikethrough:t.strikethrough,header:t.header,hr:t.hr,taskList:t.taskList,list:t.list,listDepth:t.listDepth,quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside}},token:function(e,t){if(t.formatting=!1,e.sol()){var n=!!t.header||t.hr;if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0)||n)return t.prevLineHasContent=!1,x(t),n?this.token(e,t):null;t.prevLineHasContent=t.thisLineHasContent,t.thisLineHasContent=!0,t.taskList=!1,t.code=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.f=t.block;var r=e.match(/^\s*/,!0)[0].replace(/\t/g," ").length,o=4*Math.floor((r-t.indentation)/4);o>4&&(o=4);var i=t.indentation+o;if(t.indentationDiff=i-t.indentation,t.indentation=i,r>0)return null}return t.f(e,t)},innerMode:function(e){return e.block==k?{state:e.htmlState,mode:o}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:L}},blankLine:x,getType:T,fold:"markdown"};return L}),"xml"),e.defineMIME("text/x-markdown","markdown")}(n(4631),n(29589),n(52539))},52539:(e,t,n)=>{!function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["pgp"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mime:"text/x-coffeescript",mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy"]},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Jade",mime:"text/x-jade",mode:"jade",ext:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"kotlin",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps"},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NTriples",mime:"text/n-triples",mode:"ntriples",ext:["nt"]},{name:"Objective C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mime:"application/x-httpd-php",mode:"php",ext:["php","php3","php4","php5","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["py","pyw"]},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mime:"text/x-sh",mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"]},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"MariaDB",mime:"text/x-mariadb",mode:"sql"},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"YAML",mime:"text/x-yaml",mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]}];for(var t=0;t-1&&t.substring(o+1,t.length);if(i)return e.findModeByExtension(i)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n{!function(e){"use strict";e.defineMode("xml",(function(t,n){var r=t.indentUnit,o=n.multilineTagIndentFactor||1,i=n.multilineTagIndentPastTag;null==i&&(i=!0);var a,s,l=n.htmlMode?{autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0}:{autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1},c=n.alignCDATA;function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.next();return"<"==r?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(p("atom","]]>")):null:e.match("--")?n(p("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(h(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=p("meta","?>"),"meta"):(a=e.eat("/")?"closeTag":"openTag",t.tokenize=u,"tag bracket"):"&"==r?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function u(e,t){var n,r,o=e.next();if(">"==o||"/"==o&&e.eat(">"))return t.tokenize=d,a=">"==o?"endTag":"selfcloseTag","tag bracket";if("="==o)return a="equals",null;if("<"==o){t.tokenize=d,t.state=b,t.tagName=t.tagStart=null;var i=t.tokenize(e,t);return i?i+" tag error":"tag error"}return/[\'\"]/.test(o)?(t.tokenize=(n=o,r=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=u;break}return"string"},r.isInAttribute=!0,r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function p(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=d;break}n.next()}return e}}function h(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=h(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=d;break}return n.tokenize=h(e-1),n.tokenize(t,n)}}return"meta"}}function f(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function m(e){e.context&&(e.context=e.context.prev)}function g(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;m(e)}}function b(e,t,n){return"openTag"==e?(n.tagStart=t.column(),v):"closeTag"==e?y:b}function v(e,t,n){return"word"==e?(n.tagName=t.current(),s="tag",C):(s="error",v)}function y(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&m(n),n.context&&n.context.tagName==r?(s="tag",w):(s="tag error",x)}return s="error",x}function w(e,t,n){return"endTag"!=e?(s="error",w):(m(n),b)}function x(e,t,n){return s="error",w(e,0,n)}function C(e,t,n){if("word"==e)return s="attribute",k;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?g(n,r):(g(n,r),n.context=new f(n,r,o==n.indented)),b}return s="error",C}function k(e,t,n){return"equals"==e?S:(l.allowMissing||(s="error"),C(e,0,n))}function S(e,t,n){return"string"==e?E:"word"==e&&l.allowUnquoted?(s="string",C):(s="error",C(e,0,n))}function E(e,t,n){return"string"==e?E:C(e,0,n)}return d.isInText=!0,{startState:function(){return{tokenize:d,state:b,indented:0,tagName:null,tagStart:null,context:null}},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;a=null;var n=t.tokenize(e,t);return(n||a)&&"comment"!=n&&(s=null,t.state=t.state(a||n,e,t),s&&(n="error"==s?n+" error":s)),n},indent:function(t,n,a){var s=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+r;if(s&&s.noIndent)return e.Pass;if(t.tokenize!=u&&t.tokenize!=d)return a?a.match(/^(\s*)/)[0].length:0;if(t.tagName)return i?t.tagStart+t.tagName.length+2:t.tagStart+r*o;if(c&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:n.htmlMode?"html":"xml",helperType:n.htmlMode?"html":"xml"}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n(4631))},3597:(e,t,n)=>{n(73871),n(91867),e.exports=n(46459)},21035:(e,t,n)=>{n(73871),n(91867),e.exports=n(89553)},92742:(e,t,n)=>{var r=n(34579),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},61512:(e,t,n)=>{n(99746),e.exports=n(34579).Number.isSafeInteger},56981:(e,t,n)=>{n(72699),e.exports=n(34579).Object.assign},45627:(e,t,n)=>{n(86760);var r=n(34579).Object;e.exports=function(e,t){return r.create(e,t)}},6753:(e,t,n)=>{n(16240);var r=n(34579).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},98613:(e,t,n)=>{n(40961),e.exports=n(34579).Object.keys},70433:(e,t,n)=>{n(59349),e.exports=n(34579).Object.setPrototypeOf},80025:(e,t,n)=>{n(46840),n(94058),n(8174),n(36461),e.exports=n(34579).Symbol},52392:(e,t,n)=>{n(91867),n(73871),e.exports=n(25103).f("iterator")},85663:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},79003:e=>{e.exports=function(){}},12159:(e,t,n)=>{var r=n(36727);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},57428:(e,t,n)=>{var r=n(7932),o=n(78728),i=n(7780);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),d=i(a,c);if(e&&n!=n){for(;c>d;)if((s=l[d++])!=s)return!0}else for(;c>d;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}}},14677:(e,t,n)=>{var r=n(32894),o=n(22939)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},32894:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},34579:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},93817:(e,t,n)=>{var r=n(85663);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},8333:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},89666:(e,t,n)=>{e.exports=!n(7929)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},97467:(e,t,n)=>{var r=n(36727),o=n(33938).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},73338:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},70337:(e,t,n)=>{var r=n(46162),o=n(48195),i=n(86274);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},83856:(e,t,n)=>{var r=n(33938),o=n(34579),i=n(93817),a=n(41818),s=n(27069),l=function(e,t,n){var c,d,u,p=e&l.F,h=e&l.G,f=e&l.S,m=e&l.P,g=e&l.B,b=e&l.W,v=h?o:o[t]||(o[t]={}),y=v.prototype,w=h?r:f?r[t]:(r[t]||{}).prototype;for(c in h&&(n=t),n)(d=!p&&w&&void 0!==w[c])&&s(v,c)||(u=d?w[c]:n[c],v[c]=h&&"function"!=typeof w[c]?n[c]:g&&d?i(u,r):b&&w[c]==u?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):m&&"function"==typeof u?i(Function.call,u):u,m&&((v.virtual||(v.virtual={}))[c]=u,e&l.R&&y&&!y[c]&&a(y,c,u)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},7929:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},33938:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},27069:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},41818:(e,t,n)=>{var r=n(4743),o=n(83101);e.exports=n(89666)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},54881:(e,t,n)=>{var r=n(33938).document;e.exports=r&&r.documentElement},33758:(e,t,n)=>{e.exports=!n(89666)&&!n(7929)((function(){return 7!=Object.defineProperty(n(97467)("div"),"a",{get:function(){return 7}}).a}))},50799:(e,t,n)=>{var r=n(32894);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},71421:(e,t,n)=>{var r=n(32894);e.exports=Array.isArray||function(e){return"Array"==r(e)}},96732:(e,t,n)=>{var r=n(36727),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},36727:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},33945:(e,t,n)=>{"use strict";var r=n(98989),o=n(83101),i=n(25378),a={};n(41818)(a,n(22939)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},45700:(e,t,n)=>{"use strict";var r=n(16227),o=n(83856),i=n(57470),a=n(41818),s=n(15449),l=n(33945),c=n(25378),d=n(95089),u=n(22939)("iterator"),p=!([].keys&&"next"in[].keys()),h="keys",f="values",m=function(){return this};e.exports=function(e,t,n,g,b,v,y){l(n,t,g);var w,x,C,k=function(e){if(!p&&e in N)return N[e];switch(e){case h:case f:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",E=b==f,T=!1,N=e.prototype,_=N[u]||N["@@iterator"]||b&&N[b],R=_||k(b),M=b?E?k("entries"):R:void 0,O="Array"==t&&N.entries||_;if(O&&(C=d(O.call(new e)))!==Object.prototype&&C.next&&(c(C,S,!0),r||"function"==typeof C[u]||a(C,u,m)),E&&_&&_.name!==f&&(T=!0,R=function(){return _.call(this)}),r&&!y||!p&&!T&&N[u]||a(N,u,R),s[t]=R,s[S]=m,b)if(w={values:E?R:k(f),keys:v?R:k(h),entries:M},y)for(x in w)x in N||i(N,x,w[x]);else o(o.P+o.F*(p||T),t,w);return w}},85084:e=>{e.exports=function(e,t){return{value:t,done:!!e}}},15449:e=>{e.exports={}},16227:e=>{e.exports=!0},77177:(e,t,n)=>{var r=n(65730)("meta"),o=n(36727),i=n(27069),a=n(4743).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(7929)((function(){return l(Object.preventExtensions({}))})),d=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},u=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";d(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;d(e)}return e[r].w},onFreeze:function(e){return c&&u.NEED&&l(e)&&!i(e,r)&&d(e),e}}},88082:(e,t,n)=>{"use strict";var r=n(89666),o=n(46162),i=n(48195),a=n(86274),s=n(66530),l=n(50799),c=Object.assign;e.exports=!c||n(7929)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,d=1,u=i.f,p=a.f;c>d;)for(var h,f=l(arguments[d++]),m=u?o(f).concat(u(f)):o(f),g=m.length,b=0;g>b;)h=m[b++],r&&!p.call(f,h)||(n[h]=f[h]);return n}:c},98989:(e,t,n)=>{var r=n(12159),o=n(57856),i=n(73338),a=n(58989)("IE_PROTO"),s=function(){},l=function(){var e,t=n(97467)("iframe"),r=i.length;for(t.style.display="none",n(54881).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("