!function(e){vart={};functionn(r){if(t[r])returnt[r].exports;varo=t[r]={i:r,l:!1,exports:{}};returne[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varoine)n.d(r,o,function(t){returne[t]}.bind(null,o));returnr},n.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnn.d(t,"a",t),t},n.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";varr=function(){functione(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}returnfunction(t,n,r){returnn&&e(t.prototype,n),r&&e(t,r),t}}();n(1);varo=null,i=function(){functione(){!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,e)}returnr(e,[{key:"init",value:function(){vare=this;$(window).bind("hashchange",function(t){e.hashLoad()});vart="Share @ "+window.location.host;$("title,.apptitle").text(t),this.hashLoad()}},{key:"embedFileInfo",value:function(){vare=this,t=arguments.length>0&&void0!==arguments[0]?arguments[0]:"";""!==t?(o=t,$.ajax(t,{method:"HEAD",success:function(t,n,r){e.handleEmbed(t,n,r)},error:function(t,n){e.handleError(t,n)}})):this.handleErrorMessage("File not found")}},{key:"handleEmbed",value:function(e,t,n){varr=this,i=n.getResponseHeader("Content-Type");if($(".container").hide(),$(".filename").text(o.substring(o.lastIndexOf("/")+1)),$(".filelink-href").attr("href",o),i.match(/^image\//))return$(".filelink-src").attr("src",o),void$(".show-image").show();if(i.match(/^video\//)){vara=$("<source>");returna.attr("src",o),a.appendTo($("video")),void$(".show-video").show()}if(i.match(/^audio\/(aac|mp3|mpeg)$/)){vars=$("<source>");returns.attr("src",o),s.appendTo($("audio")),void$(".show-audio").show()}i.match(/^(text\/|application\/javascript)/)?$.ajax(o,{dataType:"text",method:"GET",success:function(e){$("code").text(e),$(".show-text").show(),hljs.initHighlighting()},error:function(e,t){r.handleError(e,t)}}):$(".show-generic").show()}},{key:"handleError",value:function(e,t){varn="";switch(e.status){case404:n="File not found";break;case403:n="Not allowed to access file";break;default:n="Something went wrong"}this.handleErrorMessage(n)}},{key:"handleErrorMessage",value:function(e){$(".error").text(e),$(".container").hide(),$(".show-error").show()}},{key:"hashLoad",value:function(){vare=window.location.hash.substring(1);this.embedFileInfo(e)}}]),e}();$(function(){(newi).init()})},function(e,t,n){varr=n(2);"string"==typeofr&&(r=[[e.i,r,""]]);varo={hmr:!0,transform:void0,insertInto:void0};n(4)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,"audio{width:80%}h1{text-align:center;font-size:75px}h2{text-align:center;font-size:24px}pre code{color:#e83e8c}.container{margin-top:30px}.show-generic,.show-image,.show-video,.show-audio,.show-text,.show-error{display:none}\n",""])},function(e,t){e.exports=function(e){vart=[];returnt.toString=function(){returnthis.map(function(t){varn=function(e,t){varn=e[1]||"",r=e[3];if(!r)returnn;if(t&&"function"==typeofbtoa){varo=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),i=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}(t,e);returnt[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeofe&&(e=[[null,e,""]]);for(varr={},o