!function(r){function e(e){for(var n,u,a=e[0],l=e[1],c=e[2],p=0,s=[];p<a.length;p++)u=a[p],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(r[n]=l[n]);for(f&&f(e);s.length;)s.shift()();return i.push.apply(i,c||[]),t()}function t(){for(var r,e=0;e<i.length;e++){for(var t=i[e],n=!0,a=1;a<t.length;a++){var l=t[a];0!==o[l]&&(n=!1)}n&&(i.splice(e--,1),r=u(u.s=t[0]))}return r}var n={},o={11:0},i=[];function u(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.m=r,u.c=n,u.d=function(r,e,t){u.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:t})},u.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},u.t=function(r,e){if(1&e&&(r=u(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)u.d(t,n,function(e){return r[e]}.bind(null,n));return t},u.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return u.d(e,"a",e),e},u.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},u.p="/dist/";var a=window.webpackJsonp=window.webpackJsonp||[],l=a.push.bind(a);a.push=e,a=a.slice();for(var c=0;c<a.length;c++)e(a[c]);var f=l;i.push([100,0]),t()}({100:function(r,e,t){"use strict";function n(r,e){return function(r){if(Array.isArray(r))return r}(r)||function(r,e){var t=[],n=!0,o=!1,i=void 0;try{for(var u,a=r[Symbol.iterator]();!(n=(u=a.next()).done)&&(t.push(u.value),!e||t.length!==e);n=!0);}catch(r){o=!0,i=r}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return t}(r,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(r,e,t,n,o,i,u){try{var a=r[i](u),l=a.value}catch(r){return void t(r)}a.done?e(l):Promise.resolve(l).then(n,o)}function i(r){return function(){var e=this,t=arguments;return new Promise(function(n,i){var u=r.apply(e,t);function a(r){o(u,n,i,a,l,"next",r)}function l(r){o(u,n,i,a,l,"throw",r)}a(void 0)})}}var u=t(4).promisify,a=t(6);CloudCmd.Markdown=e;var l=t(3),c=t(1),f=t(20).Markdown,p=t(16).alert,s=u(f.read);function d(){return(d=i(function*(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t="?relative",o=e.positionLoad,i=e.relative;c.show.load(o),i&&(r+=t);var u=yield a(s,r),f=n(u,2),d=f[0],v=f[1];if(c.hide(),d)return p(d.message,{cancel:!1});var h="help",y=l("div",{className:h,innerHTML:v});CloudCmd.View.show(y)})).apply(this,arguments)}r.exports.init=i(function*(){c.show.load("top"),yield CloudCmd.View()}),r.exports.show=function(r){return d.apply(this,arguments)},r.exports.hide=function(){CloudCmd.View.hide()}}});
//# sourceMappingURL=markdown.js.map