!function(e){function t(t){for(var n,u,l=t[0],d=t[1],a=t[2],s=0,c=[];s<l.length;s++)u=l[s],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&c.push(o[u][0]),o[u]=0;for(n in d)Object.prototype.hasOwnProperty.call(d,n)&&(e[n]=d[n]);for(f&&f(t);c.length;)c.shift()();return i.push.apply(i,a||[]),r()}function r(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,l=1;l<r.length;l++){var d=r[l];0!==o[d]&&(n=!1)}n&&(i.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={7:0},i=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="/dist/";var l=window.webpackJsonp=window.webpackJsonp||[],d=l.push.bind(l);l.push=t,l=l.slice();for(var a=0;a<l.length;a++)t(l[a]);var f=d;i.push([90,0]),r()}({90:function(e,t,r){"use strict";CloudCmd.EditFileVim=t;const n=r(17),{Key:o}=CloudCmd,i={bindKeys:!1,beforeClose:()=>{n.rmKey(l),CloudCmd.EditFile.isChanged()}};function u(){CloudCmd.Edit.hide()}function l(e){const{keyCode:t,shiftKey:r}=e;r&&t===o.ESC&&(e.preventDefault(),u())}e.exports.init=async()=>{await CloudCmd.EditFile()},e.exports.show=async()=>{n.addKey(l);(await CloudCmd.EditFile.show(i)).getEditor().setKeyMap("vim")},e.exports.hide=u}});
//# sourceMappingURL=edit-file-vim.js.map