(function(e,t){'object'==typeofexports&&'object'==typeofmodule?module.exports=t(require('xmldom'),function(){try{returnrequire('jszip')}catch(t){}}()):'function'==typeofdefine&&define.amd?define(['xmldom','jszip'],t):'object'==typeofexports?exports.ePub=t(require('xmldom'),function(){try{returnrequire('jszip')}catch(t){}}()):e.ePub=t(e.xmldom,e.jszip)})('undefined'==typeofself?this:self,function(e,t){varn=String.prototype,a=Math.abs,i=Math.min,o=Math.ceil,r=Math.round,s=Math.max,l=Math.floor;returnfunction(e){functiont(a){if(n[a])returnn[a].exports;vari=n[a]={i:a,l:!1,exports:{}};returne[a].call(i.exports,i,i.exports,t),i.l=!0,i.exports}varn={};returnt.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){varn=e&&e.__esModule?function(){returne['default']}:function(){returne};returnt.d(n,'a',n),n},t.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},t.p='/dist/',t(t.s=25)}([function(e,t,n){'use strict';functiona(e,t){if(!(einstanceoft))thrownewTypeError('Cannot call a class as a function')}functioni(){vare=newDate().getTime(),t='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(t){varn=0|(e+16*Math.random())%16;returne=l(e/16),('x'==t?n:8|7&n).toString(16)});returnt}functiono(e){return!isNaN(parseFloat(e))&&isFinite(e)}functionr(e,t,n,a,i){varo=a||0,s=i||t.length,l=parseInt(o+(s-o)/2),d;return(n||(n=function(e,t){returne>t?1:e<t?-1:e==t?0:void0}),0>=s-o)?l:(d=n(t[l],e),1==s-o?0<=d?l:l+1:0===d?l:-1===d?r(e,t,n,l,s):r(e,t,n,o,l))}functiond(e,t,n,a,i){varo=a||0,r=i||t.length,s=parseInt(o+(r-o)/2),l;return(n||(n=function(e,t){returne>t?1:e<t?-1:e==t?0:void0}),0>=r-o)?-1:(l=n(t[s],e),1==r-o?0===l?s:-1:0===l?s:-1===l?d(e,t,n,s,r):d(e,t,n,o,s))}functionu(e,t){for(varn=e.parentNode,a=n.childNodes,o=-1,r=0,i;r<a.length&&(i=a[r],i.nodeType===t&&o++,i!=e);r++);returno}functionc(e,t){returnnewBlob([e],{type:t})}functionp(e,t){return'undefined'==typeofe.querySelector?e.getElementsByTagName(t):e.querySelectorAll(t)}functiong(e,t,n){for(vara=document.createTreeWalker(e,n,null,!1),i=void0;i=a.nextNode();)t(i)}functionh(e,t){if(t(e))return!0;if(e=e.firstChild,e)do{varn=h(e,t);if(n)return!0;e=e.nextSibling}while(e)}functionm(e){for(vart=[e];e;e=e.parentNode)t.unshift(e);returnt}Object.defineProperty(t,'__esModule',{value:!0});varf=function(){functione(e,t){for(varn=0,a;n<t.length;n++)a=t[n],a.enumerable=a.enumerable||!1,a.configurable=!0,'value'ina&&(a.writable=!0),Object.defineProperty(e,a.key,a)}returnfunction(t,n,a){returnn&&e(t.prototype,n),a&&e(t,a),t}}();t.uuid=i,t.documentHeight=function(){returns(document.documentElement.clientHeight,document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight)},t.isElement=function(e){return!!(e&&1==e.nodeType)},t.isNumber=o,t.isFloat=function(e){vart=parseFloat(e);return!1!==o(e)&&('string'==typeofe&&-1<e.indexOf('.')||l(t)!==t)},t.prefixed=function(e){vart=['Webkit','webkit','Moz','O','ms'],n=['-webkit-','-webkit-','-moz-','-o-','-ms-'],a=e[0].toUpperCase()+e.slice(1),o=t.length;if('undefined'==typeofdocument||'undefined'!=typeofdocument.body.style[e])returne;for(varr=0;r<o;r++)if('undefined'!=typeofdocument.body.style[t[r]+a])returnn[r]+e;returne},t.defaults=function(e){for(vart=1,n=arguments.length,a;t<n;t++)for(variina=arguments[t],a)void0===e[i]&&(e[i]=a[i]);returne},t.extend=function(e){vart=[].slice.call(arguments,1);returnt.forEach(function(t){t&&Object.getOwnPropertyNames(t).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}),e},t.insert=function(e,t,n){vara=r(e,t,n);returnt.splice(a,0,e),a},t.locationOf=r,t.indexOfSorted=d,t.bounds=function(e){vart=window.getComputedStyle(e),n=0,a=0;return['width','paddingRight','paddingLeft','marginRight','marginLeft','borderRightWidth','borderLeftWidth'].forEach(function(e){n+=parseFloat(t[e])||0}),['height','paddingTop','paddingBottom','marginTop','marginBottom','border