summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-14 21:35:20 +0300
committerAndrew Dolgov <[email protected]>2021-04-14 21:35:20 +0300
commit889d85e2512754a9ee724df8b6a4c1f470e3a2e2 (patch)
tree2d54b24da454324d6a70e2071b3c72e329065efc
parent691d4fb49bfe25f00d78c2192dfd3bf9254716e6 (diff)
remove holder.js because it calls requestAnimationFrame constantly for some reason
-rw-r--r--dist/app-libs.min.js4
-rw-r--r--dist/app.min.js2
-rw-r--r--gulpfile.js3
-rw-r--r--js/app.js8
-rw-r--r--lib/holder.min.js13
5 files changed, 4 insertions, 26 deletions
diff --git a/dist/app-libs.min.js b/dist/app-libs.min.js
index 558e2d8..5976edd 100644
--- a/dist/app-libs.min.js
+++ b/dist/app-libs.min.js
@@ -16,11 +16,11 @@
* Copyright 2011-2015 Twitter, Inc.
* Licensed under the MIT license
*/
-if(function(t,e){var i,n,r=t.document,o=t.location,s=t.jQuery,a=t.$,l={},c=[],h=c.concat,u=c.push,d=c.slice,f=c.indexOf,p=l.toString,g=l.hasOwnProperty,m="1.9.1".trim,v=function(t,e){return new v.fn.init(t,e,n)},y=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,b=/\S+/g,w=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,x=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,_=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,T=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,C=/^-ms-/,A=/-([\da-z])/gi,O=function(t,e){return e.toUpperCase()},N=function(t){(r.addEventListener||"load"===t.type||"complete"===r.readyState)&&(I(),v.ready())},I=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",N,!1),t.removeEventListener("load",N,!1)):(r.detachEvent("onreadystatechange",N),t.detachEvent("onload",N))};function R(t){var e=t.length,i=v.type(t);return!v.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||"function"!==i&&(0===e||"number"==typeof e&&e>0&&e-1 in t)))}v.fn=v.prototype={jquery:"1.9.1",constructor:v,init:function(t,e,i){var n,o;if(!t)return this;if("string"==typeof t){if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:x.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof v?e[0]:e,v.merge(this,v.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:r,!0)),_.test(n[1])&&v.isPlainObject(e))for(n in e)v.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((o=r.getElementById(n[2]))&&o.parentNode){if(o.id!==n[2])return i.find(t);this.length=1,this[0]=o}return this.context=r,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):v.isFunction(t)?i.ready(t):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),v.makeArray(t,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return d.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=v.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return v.each(this,t,e)},ready:function(t){return v.ready.promise().done(t),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},map:function(t){return this.pushStack(v.map(this,(function(e,i){return t.call(e,i,e)})))},end:function(){return this.prevObject||this.constructor(null)},push:u,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var t,e,i,n,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},a=2),"object"==typeof s||v.isFunction(s)||(s={}),l===a&&(s=this,--a);a<l;a++)if(null!=(r=arguments[a]))for(n in r)t=s[n],s!==(i=r[n])&&(c&&i&&(v.isPlainObject(i)||(e=v.isArray(i)))?(e?(e=!1,o=t&&v.isArray(t)?t:[]):o=t&&v.isPlainObject(t)?t:{},s[n]=v.extend(c,o,i)):void 0!==i&&(s[n]=i));return s},v.extend({noConflict:function(e){return t.$===v&&(t.$=a),e&&t.jQuery===v&&(t.jQuery=s),v},isReady:!1,readyWait:1,holdReady:function(t){t?v.readyWait++:v.ready(!0)},ready:function(t){if(!(!0===t?--v.readyWait:v.isReady)){if(!r.body)return setTimeout(v.ready);v.isReady=!0,!0!==t&&--v.readyWait>0||(i.resolveWith(r,[v]),v.fn.trigger&&v(r).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===v.type(t)},isArray:Array.isArray||function(t){return"array"===v.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):"object"==typeof t||"function"==typeof t?l[p.call(t)]||"object":typeof t},isPlainObject:function(t){if(!t||"object"!==v.type(t)||t.nodeType||v.isWindow(t))return!1;try{if(t.constructor&&!g.call(t,"constructor")&&!g.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}var e;for(e in t);return void 0===e||g.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||r;var n=_.exec(t),o=!i&&[];return n?[e.createElement(n[1])]:(n=v.buildFragment([t],e,o),o&&v(o).remove(),v.merge([],n.childNodes))},parseJSON:function(e){return t.JSON&&t.JSON.parse?t.JSON.parse(e):null===e?e:"string"==typeof e&&(e=v.trim(e))&&k.test(e.replace(S,"@").replace(T,"]").replace(E,""))?new Function("return "+e)():void v.error("Invalid JSON: "+e)},parseXML:function(e){var i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?i=(new DOMParser).parseFromString(e,"text/xml"):((i=new ActiveXObject("Microsoft.XMLDOM")).async="false",i.loadXML(e))}catch(t){i=void 0}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||v.error("Invalid XML: "+e),i},noop:function(){},globalEval:function(e){e&&v.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(C,"ms-").replace(A,O)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var n=0,r=t.length,o=R(t);if(i){if(o)for(;n<r&&!1!==e.apply(t[n],i);n++);else for(n in t)if(!1===e.apply(t[n],i))break}else if(o)for(;n<r&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:m&&!m.call("\ufeff ")?function(t){return null==t?"":m.call(t)}:function(t){return null==t?"":(t+"").replace(w,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(R(Object(t))?v.merge(i,"string"==typeof t?[t]:t):u.call(i,t)),i},inArray:function(t,e,i){var n;if(e){if(f)return f.call(e,t,i);for(n=e.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,e){var i=e.length,n=t.length,r=0;if("number"==typeof i)for(;r<i;r++)t[n++]=e[r];else for(;void 0!==e[r];)t[n++]=e[r++];return t.length=n,t},grep:function(t,e,i){var n=[],r=0,o=t.length;for(i=!!i;r<o;r++)i!==!!e(t[r],r)&&n.push(t[r]);return n},map:function(t,e,i){var n,r=0,o=t.length,s=[];if(R(t))for(;r<o;r++)null!=(n=e(t[r],r,i))&&(s[s.length]=n);else for(r in t)null!=(n=e(t[r],r,i))&&(s[s.length]=n);return h.apply([],s)},guid:1,proxy:function(t,e){var i,n,r;if("string"==typeof e&&(r=t[e],e=t,t=r),v.isFunction(t))return i=d.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(d.call(arguments)))}).guid=t.guid=t.guid||v.guid++,n},access:function(t,e,i,n,r,o,s){var a=0,l=t.length,c=null==i;if("object"===v.type(i))for(a in r=!0,i)v.access(t,e,a,i[a],!0,o,s);else if(void 0!==n&&(r=!0,v.isFunction(n)||(s=!0),c&&(s?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(v(t),i)})),e))for(;a<l;a++)e(t[a],i,s?n:n.call(t[a],a,e(t[a],i)));return r?t:c?e.call(t):l?e(t[0],i):o},now:function(){return(new Date).getTime()}}),v.ready.promise=function(e){if(!i)if(i=v.Deferred(),"complete"===r.readyState)setTimeout(v.ready);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",N,!1),t.addEventListener("load",N,!1);else{r.attachEvent("onreadystatechange",N),t.attachEvent("onload",N);var n=!1;try{n=null==t.frameElement&&r.documentElement}catch(t){}n&&n.doScroll&&function t(){if(!v.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}I(),v.ready()}}()}return i.promise(e)},v.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(t,e){l["[object "+e+"]"]=e.toLowerCase()})),n=v(r);var j={};v.Callbacks=function(t){t="string"==typeof t?j[t]||function(t){var e=j[t]={};return v.each(t.match(b)||[],(function(t,i){e[i]=!0})),e}(t):v.extend({},t);var e,i,n,r,o,s,a=[],l=!t.once&&[],c=function(u){for(i=t.memory&&u,n=!0,o=s||0,s=0,r=a.length,e=!0;a&&o<r;o++)if(!1===a[o].apply(u[0],u[1])&&t.stopOnFalse){i=!1;break}e=!1,a&&(l?l.length&&c(l.shift()):i?a=[]:h.disable())},h={add:function(){if(a){var n=a.length;!function e(i){v.each(i,(function(i,n){var r=v.type(n);"function"===r?t.unique&&h.has(n)||a.push(n):n&&n.length&&"string"!==r&&e(n)}))}(arguments),e?r=a.length:i&&(s=n,c(i))}return this},remove:function(){return a&&v.each(arguments,(function(t,i){for(var n;(n=v.inArray(i,a,n))>-1;)a.splice(n,1),e&&(n<=r&&r--,n<=o&&o--)})),this},has:function(t){return t?v.inArray(t,a)>-1:!(!a||!a.length)},empty:function(){return a=[],this},disable:function(){return a=l=i=void 0,this},disabled:function(){return!a},lock:function(){return l=void 0,i||h.disable(),this},locked:function(){return!l},fireWith:function(t,i){return i=[t,(i=i||[]).slice?i.slice():i],!a||n&&!l||(e?l.push(i):c(i)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},v.extend({Deferred:function(t){var e=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return v.Deferred((function(i){v.each(e,(function(e,o){var s=o[0],a=v.isFunction(t[e])&&t[e];r[o[1]]((function(){var t=a&&a.apply(this,arguments);t&&v.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[s+"With"](this===n?i.promise():this,a?[t]:arguments)}))})),t=null})).promise()},promise:function(t){return null!=t?v.extend(t,n):n}},r={};return n.pipe=n.then,v.each(e,(function(t,o){var s=o[2],a=o[3];n[o[1]]=s.add,a&&s.add((function(){i=a}),e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?n:this,arguments),this},r[o[0]+"With"]=s.fireWith})),n.promise(r),t&&t.call(r,r),r},when:function(t){var e,i,n,r=0,o=d.call(arguments),s=o.length,a=1!==s||t&&v.isFunction(t.promise)?s:0,l=1===a?t:v.Deferred(),c=function(t,i,n){return function(r){i[t]=this,n[t]=arguments.length>1?d.call(arguments):r,n===e?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(s>1)for(e=new Array(s),i=new Array(s),n=new Array(s);r<s;r++)o[r]&&v.isFunction(o[r].promise)?o[r].promise().done(c(r,n,o)).fail(l.reject).progress(c(r,i,e)):--a;return a||l.resolveWith(n,o),l.promise()}}),v.support=function(){var e,i,n,o,s,a,l,c,h,u,d=r.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=d.getElementsByTagName("*"),n=d.getElementsByTagName("a")[0],!i||!n||!i.length)return{};l=(s=r.createElement("select")).appendChild(r.createElement("option")),o=d.getElementsByTagName("input")[0],n.style.cssText="top:1px;float:left;opacity:.5",e={getSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.5/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:!!o.value,optSelected:l.selected,enctype:!!r.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==r.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===r.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},o.checked=!0,e.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,e.optDisabled=!l.disabled;try{delete d.test}catch(t){e.deleteExpando=!1}for(u in(o=r.createElement("input")).setAttribute("value",""),e.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),e.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),(a=r.createDocumentFragment()).appendChild(o),e.appendChecked=o.checked,e.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",(function(){e.noCloneEvent=!1})),d.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+u,"t"),e[u+"Bubbles"]=c in t||!1===d.attributes[c].expando;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===d.style.backgroundClip,v((function(){var i,n,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",a=r.getElementsByTagName("body")[0];a&&((i=r.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(i).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(o=d.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",h=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",e.reliableHiddenOffsets=h&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",e.boxSizing=4===d.offsetWidth,e.doesNotIncludeMarginInBodyOffset=1!==a.offsetTop,t.getComputedStyle&&(e.pixelPosition="1%"!==(t.getComputedStyle(d,null)||{}).top,e.boxSizingReliable="4px"===(t.getComputedStyle(d,null)||{width:"4px"}).width,(n=d.appendChild(r.createElement("div"))).style.cssText=d.style.cssText=s,n.style.marginRight=n.style.width="0",d.style.width="1px",e.reliableMarginRight=!parseFloat((t.getComputedStyle(n,null)||{}).marginRight)),void 0!==d.style.zoom&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",e.shrinkWrapBlocks=3!==d.offsetWidth,e.inlineBlockNeedsLayout&&(a.style.zoom=1)),a.removeChild(i),i=d=o=n=null)})),i=s=a=l=n=o=null,e}();var L=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,z=/([A-Z])/g;function D(t,e,i,n){if(v.acceptData(t)){var r,o,s=v.expando,a="string"==typeof e,l=t.nodeType,h=l?v.cache:t,u=l?t[s]:t[s]&&s;if(u&&h[u]&&(n||h[u].data)||!a||void 0!==i)return u||(l?t[s]=u=c.pop()||v.guid++:u=s),h[u]||(h[u]={},l||(h[u].toJSON=v.noop)),"object"!=typeof e&&"function"!=typeof e||(n?h[u]=v.extend(h[u],e):h[u].data=v.extend(h[u].data,e)),r=h[u],n||(r.data||(r.data={}),r=r.data),void 0!==i&&(r[v.camelCase(e)]=i),a?null==(o=r[e])&&(o=r[v.camelCase(e)]):o=r,o}}function B(t,e,i){if(v.acceptData(t)){var n,r,o,s=t.nodeType,a=s?v.cache:t,l=s?t[v.expando]:v.expando;if(a[l]){if(e&&(o=i?a[l]:a[l].data)){for((n=0,r=(e=v.isArray(e)?e.concat(v.map(e,v.camelCase)):e in o||(e=v.camelCase(e))in o?[e]:e.split(" ")).length);n<r;n++)delete o[e[n]];if(!(i?M:v.isEmptyObject)(o))return}(i||(delete a[l].data,M(a[l])))&&(s?v.cleanData([t],!0):v.support.deleteExpando||a!=a.window?delete a[l]:a[l]=null)}}}function P(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(z,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:L.test(i)?v.parseJSON(i):i)}catch(t){}v.data(t,e,i)}else i=void 0}return i}function M(t){var e;for(e in t)if(("data"!==e||!v.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}v.extend({cache:{},expando:"jQuery"+("1.9.1"+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return!!(t=t.nodeType?v.cache[t[v.expando]]:t[v.expando])&&!M(t)},data:function(t,e,i){return D(t,e,i)},removeData:function(t,e){return B(t,e)},_data:function(t,e,i){return D(t,e,i,!0)},_removeData:function(t,e){return B(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&v.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),v.fn.extend({data:function(t,e){var i,n,r=this[0],o=0,s=null;if(void 0===t){if(this.length&&(s=v.data(r),1===r.nodeType&&!v._data(r,"parsedAttrs"))){for(i=r.attributes;o<i.length;o++)(n=i[o].name).indexOf("data-")||(n=v.camelCase(n.slice(5)),P(r,n,s[n]));v._data(r,"parsedAttrs",!0)}return s}return"object"==typeof t?this.each((function(){v.data(this,t)})):v.access(this,(function(e){if(void 0===e)return r?P(r,t,v.data(r,t)):null;this.each((function(){v.data(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){v.removeData(this,t)}))}}),v.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=v._data(t,e),i&&(!n||v.isArray(i)?n=v._data(t,e,v.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=v.queue(t,e),n=i.length,r=i.shift(),o=v._queueHooks(t,e);"inprogress"===r&&(r=i.shift(),n--),o.cur=r,r&&("fx"===e&&i.unshift("inprogress"),delete o.stop,r.call(t,(function(){v.dequeue(t,e)}),o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return v._data(t,i)||v._data(t,i,{empty:v.Callbacks("once memory").add((function(){v._removeData(t,e+"queue"),v._removeData(t,i)}))})}}),v.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?v.queue(this[0],t):void 0===e?this:this.each((function(){var i=v.queue(this,t,e);v._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&v.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){v.dequeue(this,t)}))},delay:function(t,e){return t=v.fx&&v.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,r=v.Deferred(),o=this,s=this.length,a=function(){--n||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(i=v._data(o[s],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(e)}});var F,q,U=/[\t\r\n]/g,W=/\r/g,$=/^(?:input|select|textarea|button|object)$/i,H=/^(?:a|area)$/i,X=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,V=/^(?:checked|selected)$/i,Y=v.support.getSetAttribute,G=v.support.input;v.fn.extend({attr:function(t,e){return v.access(this,v.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){v.removeAttr(this,t)}))},prop:function(t,e){return v.access(this,v.prop,t,e,arguments.length>1)},removeProp:function(t){return t=v.propFix[t]||t,this.each((function(){try{this[t]=void 0,delete this[t]}catch(t){}}))},addClass:function(t){var e,i,n,r,o,s=0,a=this.length,l="string"==typeof t&&t;if(v.isFunction(t))return this.each((function(e){v(this).addClass(t.call(this,e,this.className))}));if(l)for(e=(t||"").match(b)||[];s<a;s++)if(n=1===(i=this[s]).nodeType&&(i.className?(" "+i.className+" ").replace(U," "):" ")){for(o=0;r=e[o++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");i.className=v.trim(n)}return this},removeClass:function(t){var e,i,n,r,o,s=0,a=this.length,l=0===arguments.length||"string"==typeof t&&t;if(v.isFunction(t))return this.each((function(e){v(this).removeClass(t.call(this,e,this.className))}));if(l)for(e=(t||"").match(b)||[];s<a;s++)if(n=1===(i=this[s]).nodeType&&(i.className?(" "+i.className+" ").replace(U," "):"")){for(o=0;r=e[o++];)for(;n.indexOf(" "+r+" ")>=0;)n=n.replace(" "+r+" "," ");i.className=t?v.trim(n):""}return this},toggleClass:function(t,e){var i=typeof t,n="boolean"==typeof e;return v.isFunction(t)?this.each((function(i){v(this).toggleClass(t.call(this,i,this.className,e),e)})):this.each((function(){if("string"===i)for(var r,o=0,s=v(this),a=e,l=t.match(b)||[];r=l[o++];)a=n?a:!s.hasClass(r),s[a?"addClass":"removeClass"](r);else"undefined"!==i&&"boolean"!==i||(this.className&&v._data(this,"__className__",this.className),this.className=this.className||!1===t?"":v._data(this,"__className__")||"")}))},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(U," ").indexOf(e)>=0)return!0;return!1},val:function(t){var e,i,n,r=this[0];return arguments.length?(n=v.isFunction(t),this.each((function(e){var r,o=v(this);1===this.nodeType&&(null==(r=n?t.call(this,e,o.val()):t)?r="":"number"==typeof r?r+="":v.isArray(r)&&(r=v.map(r,(function(t){return null==t?"":t+""}))),(i=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,r,"value")||(this.value=r))}))):r?(i=v.valHooks[r.type]||v.valHooks[r.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(r,"value"))?e:"string"==typeof(e=r.value)?e.replace(W,""):null==e?"":e:void 0}}),v.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){for(var e,i,n=t.options,r=t.selectedIndex,o="select-one"===t.type||r<0,s=o?null:[],a=o?r+1:n.length,l=r<0?a:o?r:0;l<a;l++)if(((i=n[l]).selected||l===r)&&(v.support.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!v.nodeName(i.parentNode,"optgroup"))){if(e=v(i).val(),o)return e;s.push(e)}return s},set:function(t,e){var i=v.makeArray(e);return v(t).find("option").each((function(){this.selected=v.inArray(v(this).val(),i)>=0})),i.length||(t.selectedIndex=-1),i}}},attr:function(t,e,i){var n,r,o,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?v.prop(t,e,i):((r=1!==s||!v.isXMLDoc(t))&&(e=e.toLowerCase(),n=v.attrHooks[e]||(X.test(e)?q:F)),void 0===i?n&&r&&"get"in n&&null!==(o=n.get(t,e))?o:(void 0!==t.getAttribute&&(o=t.getAttribute(e)),null==o?void 0:o):null!==i?n&&r&&"set"in n&&void 0!==(o=n.set(t,i,e))?o:(t.setAttribute(e,i+""),i):void v.removeAttr(t,e))},removeAttr:function(t,e){var i,n,r=0,o=e&&e.match(b);if(o&&1===t.nodeType)for(;i=o[r++];)n=v.propFix[i]||i,X.test(i)?!Y&&V.test(i)?t[v.camelCase("default-"+i)]=t[n]=!1:t[n]=!1:v.attr(t,i,""),t.removeAttribute(Y?i:n)},attrHooks:{type:{set:function(t,e){if(!v.support.radioValue&&"radio"===e&&v.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(t,e,i){var n,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!v.isXMLDoc(t))&&(e=v.propFix[e]||e,r=v.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=t.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):$.test(t.nodeName)||H.test(t.nodeName)&&t.href?0:void 0}}}}),q={get:function(t,e){var i=v.prop(t,e),n="boolean"==typeof i&&t.getAttribute(e),r="boolean"==typeof i?G&&Y?null!=n:V.test(e)?t[v.camelCase("default-"+e)]:!!n:t.getAttributeNode(e);return r&&!1!==r.value?e.toLowerCase():void 0},set:function(t,e,i){return!1===e?v.removeAttr(t,i):G&&Y||!V.test(i)?t.setAttribute(!Y&&v.propFix[i]||i,i):t[v.camelCase("default-"+i)]=t[i]=!0,i}},G&&Y||(v.attrHooks.value={get:function(t,e){var i=t.getAttributeNode(e);return v.nodeName(t,"input")?t.defaultValue:i&&i.specified?i.value:void 0},set:function(t,e,i){if(!v.nodeName(t,"input"))return F&&F.set(t,e,i);t.defaultValue=e}}),Y||(F=v.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);return i&&("id"===e||"name"===e||"coords"===e?""!==i.value:i.specified)?i.value:void 0},set:function(t,e,i){var n=t.getAttributeNode(i);return n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i)?e:void 0}},v.attrHooks.contenteditable={get:F.get,set:function(t,e,i){F.set(t,""!==e&&e,i)}},v.each(["width","height"],(function(t,e){v.attrHooks[e]=v.extend(v.attrHooks[e],{set:function(t,i){if(""===i)return t.setAttribute(e,"auto"),i}})}))),v.support.hrefNormalized||(v.each(["href","src","width","height"],(function(t,e){v.attrHooks[e]=v.extend(v.attrHooks[e],{get:function(t){var i=t.getAttribute(e,2);return null==i?void 0:i}})})),v.each(["href","src"],(function(t,e){v.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}))),v.support.style||(v.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}}),v.support.optSelected||(v.propHooks.selected=v.extend(v.propHooks.selected,{get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),v.support.enctype||(v.propFix.enctype="encoding"),v.support.checkOn||v.each(["radio","checkbox"],(function(){v.valHooks[this]={get:function(t){return null===t.getAttribute("value")?"on":t.value}}})),v.each(["radio","checkbox"],(function(){v.valHooks[this]=v.extend(v.valHooks[this],{set:function(t,e){if(v.isArray(e))return t.checked=v.inArray(v(t).val(),e)>=0}})}));var Z=/^(?:input|select|textarea)$/i,K=/^key/,Q=/^(?:mouse|contextmenu)|click/,J=/^(?:focusinfocus|focusoutblur)$/,tt=/^([^.]*)(?:\.(.+)|)$/;function et(){return!0}function it(){return!1}v.event={global:{},add:function(t,e,i,n,r){var o,s,a,l,c,h,u,d,f,p,g,m=v._data(t);if(m){for(i.handler&&(i=(l=i).handler,r=l.selector),i.guid||(i.guid=v.guid++),(s=m.events)||(s=m.events={}),(h=m.handle)||((h=m.handle=function(t){return void 0===v||t&&v.event.triggered===t.type?void 0:v.event.dispatch.apply(h.elem,arguments)}).elem=t),a=(e=(e||"").match(b)||[""]).length;a--;)f=g=(o=tt.exec(e[a])||[])[1],p=(o[2]||"").split(".").sort(),c=v.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,c=v.event.special[f]||{},u=v.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&v.expr.match.needsContext.test(r),namespace:p.join(".")},l),(d=s[f])||((d=s[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,p,h)||(t.addEventListener?t.addEventListener(f,h,!1):t.attachEvent&&t.attachEvent("on"+f,h))),c.add&&(c.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),r?d.splice(d.delegateCount++,0,u):d.push(u),v.event.global[f]=!0;t=null}},remove:function(t,e,i,n,r){var o,s,a,l,c,h,u,d,f,p,g,m=v.hasData(t)&&v._data(t);if(m&&(h=m.events)){for(c=(e=(e||"").match(b)||[""]).length;c--;)if(f=g=(a=tt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(u=v.event.special[f]||{},d=h[f=(n?u.delegateType:u.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=d.length;o--;)s=d[o],!r&&g!==s.origType||i&&i.guid!==s.guid||a&&!a.test(s.namespace)||n&&n!==s.selector&&("**"!==n||!s.selector)||(d.splice(o,1),s.selector&&d.delegateCount--,u.remove&&u.remove.call(t,s));l&&!d.length&&(u.teardown&&!1!==u.teardown.call(t,p,m.handle)||v.removeEvent(t,f,m.handle),delete h[f])}else for(f in h)v.event.remove(t,f+e[c],i,n,!0);v.isEmptyObject(h)&&(delete m.handle,v._removeData(t,"events"))}},trigger:function(e,i,n,o){var s,a,l,c,h,u,d,f=[n||r],p=g.call(e,"type")?e.type:e,m=g.call(e,"namespace")?e.namespace.split("."):[];if(l=u=n=n||r,3!==n.nodeType&&8!==n.nodeType&&!J.test(p+v.event.triggered)&&(p.indexOf(".")>=0&&(m=p.split("."),p=m.shift(),m.sort()),a=p.indexOf(":")<0&&"on"+p,(e=e[v.expando]?e:new v.Event(p,"object"==typeof e&&e)).isTrigger=!0,e.namespace=m.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:v.makeArray(i,[e]),h=v.event.special[p]||{},o||!h.trigger||!1!==h.trigger.apply(n,i))){if(!o&&!h.noBubble&&!v.isWindow(n)){for(c=h.delegateType||p,J.test(c+p)||(l=l.parentNode);l;l=l.parentNode)f.push(l),u=l;u===(n.ownerDocument||r)&&f.push(u.defaultView||u.parentWindow||t)}for(d=0;(l=f[d++])&&!e.isPropagationStopped();)e.type=d>1?c:h.bindType||p,(s=(v._data(l,"events")||{})[e.type]&&v._data(l,"handle"))&&s.apply(l,i),(s=a&&l[a])&&v.acceptData(l)&&s.apply&&!1===s.apply(l,i)&&e.preventDefault();if(e.type=p,!o&&!e.isDefaultPrevented()&&(!h._default||!1===h._default.apply(n.ownerDocument,i))&&("click"!==p||!v.nodeName(n,"a"))&&v.acceptData(n)&&a&&n[p]&&!v.isWindow(n)){(u=n[a])&&(n[a]=null),v.event.triggered=p;try{n[p]()}catch(t){}v.event.triggered=void 0,u&&(n[a]=u)}return e.result}},dispatch:function(t){t=v.event.fix(t);var e,i,n,r,o,s=[],a=d.call(arguments),l=(v._data(this,"events")||{})[t.type]||[],c=v.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(s=v.event.handlers.call(this,t,l),e=0;(r=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,o=0;(n=r.handlers[o++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(n.namespace)||(t.handleObj=n,t.data=n.data,void 0!==(i=((v.event.special[n.origType]||{}).handle||n.handler).apply(r.elem,a))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,r,o,s=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(r=[],o=0;o<a;o++)void 0===r[i=(n=e[o]).selector+" "]&&(r[i]=n.needsContext?v(i,this).index(l)>=0:v.find(i,this,null,[l]).length),r[i]&&r.push(n);r.length&&s.push({elem:l,handlers:r})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[v.expando])return t;var e,i,n,o=t.type,s=t,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=Q.test(o)?this.mouseHooks:K.test(o)?this.keyHooks:{}),n=a.props?this.props.concat(a.props):this.props,t=new v.Event(s),e=n.length;e--;)t[i=n[e]]=s[i];return t.target||(t.target=s.srcElement||r),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,s):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,o,s=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(o=(n=t.target.ownerDocument||r).documentElement,i=n.body,t.pageX=e.clientX+(o&&o.scrollLeft||i&&i.scrollLeft||0)-(o&&o.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(o&&o.scrollTop||i&&i.scrollTop||0)-(o&&o.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||void 0===s||(t.which=1&s?1:2&s?3:4&s?2:0),t}},special:{load:{noBubble:!0},click:{trigger:function(){if(v.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1}},focus:{trigger:function(){if(this!==r.activeElement&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===r.activeElement&&this.blur)return this.blur(),!1},delegateType:"focusout"},beforeunload:{postDispatch:function(t){void 0!==t.result&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var r=v.extend(new v.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?v.event.trigger(r,null,e):v.event.dispatch.call(e,r),r.isDefaultPrevented()&&i.preventDefault()}},v.removeEvent=r.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(void 0===t[n]&&(t[n]=null),t.detachEvent(n,i))},v.Event=function(t,e){if(!(this instanceof v.Event))return new v.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?et:it):this.type=t,e&&v.extend(this,e),this.timeStamp=t&&t.timeStamp||v.now(),this[v.expando]=!0},v.Event.prototype={isDefaultPrevented:it,isPropagationStopped:it,isImmediatePropagationStopped:it,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=et,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=et,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=et,this.stopPropagation()}},v.each({mouseenter:"mouseover",mouseleave:"mouseout"},(function(t,e){v.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===n||v.contains(n,r))||(t.type=o.origType,i=o.handler.apply(this,arguments),t.type=e),i}}})),v.support.submitBubbles||(v.event.special.submit={setup:function(){if(v.nodeName(this,"form"))return!1;v.event.add(this,"click._submit keypress._submit",(function(t){var e=t.target,i=v.nodeName(e,"input")||v.nodeName(e,"button")?e.form:void 0;i&&!v._data(i,"submitBubbles")&&(v.event.add(i,"submit._submit",(function(t){t._submit_bubble=!0})),v._data(i,"submitBubbles",!0))}))},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&v.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){if(v.nodeName(this,"form"))return!1;v.event.remove(this,"._submit")}}),v.support.changeBubbles||(v.event.special.change={setup:function(){if(Z.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(v.event.add(this,"propertychange._change",(function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)})),v.event.add(this,"click._change",(function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),v.event.simulate("change",this,t,!0)}))),!1;v.event.add(this,"beforeactivate._change",(function(t){var e=t.target;Z.test(e.nodeName)&&!v._data(e,"changeBubbles")&&(v.event.add(e,"change._change",(function(t){!this.parentNode||t.isSimulated||t.isTrigger||v.event.simulate("change",this.parentNode,t,!0)})),v._data(e,"changeBubbles",!0))}))},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return v.event.remove(this,"._change"),!Z.test(this.nodeName)}}),v.support.focusinBubbles||v.each({focus:"focusin",blur:"focusout"},(function(t,e){var i=0,n=function(t){v.event.simulate(e,t.target,v.event.fix(t),!0)};v.event.special[e]={setup:function(){0==i++&&r.addEventListener(t,n,!0)},teardown:function(){0==--i&&r.removeEventListener(t,n,!0)}}})),v.fn.extend({on:function(t,e,i,n,r){var o,s;if("object"==typeof t){for(o in"string"!=typeof e&&(i=i||e,e=void 0),t)this.on(o,e,i,t[o],r);return this}if(null==i&&null==n?(n=e,i=e=void 0):null==n&&("string"==typeof e?(n=i,i=void 0):(n=i,i=e,e=void 0)),!1===n)n=it;else if(!n)return this;return 1===r&&(s=n,(n=function(t){return v().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=v.guid++)),this.each((function(){v.event.add(this,t,n,i,e)}))},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,r;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,v(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=it),this.each((function(){v.event.remove(this,t,i,e)}))},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},trigger:function(t,e){return this.each((function(){v.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i)return v.event.trigger(t,e,i,!0)}}),
+if(function(t,e){var i,n,r=t.document,s=t.location,o=t.jQuery,a=t.$,l={},c=[],h=c.concat,u=c.push,d=c.slice,f=c.indexOf,p=l.toString,g=l.hasOwnProperty,m="1.9.1".trim,v=function(t,e){return new v.fn.init(t,e,n)},y=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,b=/\S+/g,w=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,x=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,_=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,T=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,C=/^-ms-/,O=/-([\da-z])/gi,A=function(t,e){return e.toUpperCase()},N=function(t){(r.addEventListener||"load"===t.type||"complete"===r.readyState)&&(I(),v.ready())},I=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",N,!1),t.removeEventListener("load",N,!1)):(r.detachEvent("onreadystatechange",N),t.detachEvent("onload",N))};function R(t){var e=t.length,i=v.type(t);return!v.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||"function"!==i&&(0===e||"number"==typeof e&&e>0&&e-1 in t)))}v.fn=v.prototype={jquery:"1.9.1",constructor:v,init:function(t,e,i){var n,s;if(!t)return this;if("string"==typeof t){if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:x.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof v?e[0]:e,v.merge(this,v.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:r,!0)),_.test(n[1])&&v.isPlainObject(e))for(n in e)v.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((s=r.getElementById(n[2]))&&s.parentNode){if(s.id!==n[2])return i.find(t);this.length=1,this[0]=s}return this.context=r,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):v.isFunction(t)?i.ready(t):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),v.makeArray(t,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return d.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=v.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return v.each(this,t,e)},ready:function(t){return v.ready.promise().done(t),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},map:function(t){return this.pushStack(v.map(this,(function(e,i){return t.call(e,i,e)})))},end:function(){return this.prevObject||this.constructor(null)},push:u,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var t,e,i,n,r,s,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[1]||{},a=2),"object"==typeof o||v.isFunction(o)||(o={}),l===a&&(o=this,--a);a<l;a++)if(null!=(r=arguments[a]))for(n in r)t=o[n],o!==(i=r[n])&&(c&&i&&(v.isPlainObject(i)||(e=v.isArray(i)))?(e?(e=!1,s=t&&v.isArray(t)?t:[]):s=t&&v.isPlainObject(t)?t:{},o[n]=v.extend(c,s,i)):void 0!==i&&(o[n]=i));return o},v.extend({noConflict:function(e){return t.$===v&&(t.$=a),e&&t.jQuery===v&&(t.jQuery=o),v},isReady:!1,readyWait:1,holdReady:function(t){t?v.readyWait++:v.ready(!0)},ready:function(t){if(!(!0===t?--v.readyWait:v.isReady)){if(!r.body)return setTimeout(v.ready);v.isReady=!0,!0!==t&&--v.readyWait>0||(i.resolveWith(r,[v]),v.fn.trigger&&v(r).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===v.type(t)},isArray:Array.isArray||function(t){return"array"===v.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):"object"==typeof t||"function"==typeof t?l[p.call(t)]||"object":typeof t},isPlainObject:function(t){if(!t||"object"!==v.type(t)||t.nodeType||v.isWindow(t))return!1;try{if(t.constructor&&!g.call(t,"constructor")&&!g.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}var e;for(e in t);return void 0===e||g.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||r;var n=_.exec(t),s=!i&&[];return n?[e.createElement(n[1])]:(n=v.buildFragment([t],e,s),s&&v(s).remove(),v.merge([],n.childNodes))},parseJSON:function(e){return t.JSON&&t.JSON.parse?t.JSON.parse(e):null===e?e:"string"==typeof e&&(e=v.trim(e))&&k.test(e.replace(S,"@").replace(T,"]").replace(E,""))?new Function("return "+e)():void v.error("Invalid JSON: "+e)},parseXML:function(e){var i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?i=(new DOMParser).parseFromString(e,"text/xml"):((i=new ActiveXObject("Microsoft.XMLDOM")).async="false",i.loadXML(e))}catch(t){i=void 0}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||v.error("Invalid XML: "+e),i},noop:function(){},globalEval:function(e){e&&v.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(C,"ms-").replace(O,A)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var n=0,r=t.length,s=R(t);if(i){if(s)for(;n<r&&!1!==e.apply(t[n],i);n++);else for(n in t)if(!1===e.apply(t[n],i))break}else if(s)for(;n<r&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:m&&!m.call("\ufeff ")?function(t){return null==t?"":m.call(t)}:function(t){return null==t?"":(t+"").replace(w,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(R(Object(t))?v.merge(i,"string"==typeof t?[t]:t):u.call(i,t)),i},inArray:function(t,e,i){var n;if(e){if(f)return f.call(e,t,i);for(n=e.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,e){var i=e.length,n=t.length,r=0;if("number"==typeof i)for(;r<i;r++)t[n++]=e[r];else for(;void 0!==e[r];)t[n++]=e[r++];return t.length=n,t},grep:function(t,e,i){var n=[],r=0,s=t.length;for(i=!!i;r<s;r++)i!==!!e(t[r],r)&&n.push(t[r]);return n},map:function(t,e,i){var n,r=0,s=t.length,o=[];if(R(t))for(;r<s;r++)null!=(n=e(t[r],r,i))&&(o[o.length]=n);else for(r in t)null!=(n=e(t[r],r,i))&&(o[o.length]=n);return h.apply([],o)},guid:1,proxy:function(t,e){var i,n,r;if("string"==typeof e&&(r=t[e],e=t,t=r),v.isFunction(t))return i=d.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(d.call(arguments)))}).guid=t.guid=t.guid||v.guid++,n},access:function(t,e,i,n,r,s,o){var a=0,l=t.length,c=null==i;if("object"===v.type(i))for(a in r=!0,i)v.access(t,e,a,i[a],!0,s,o);else if(void 0!==n&&(r=!0,v.isFunction(n)||(o=!0),c&&(o?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(v(t),i)})),e))for(;a<l;a++)e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)));return r?t:c?e.call(t):l?e(t[0],i):s},now:function(){return(new Date).getTime()}}),v.ready.promise=function(e){if(!i)if(i=v.Deferred(),"complete"===r.readyState)setTimeout(v.ready);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",N,!1),t.addEventListener("load",N,!1);else{r.attachEvent("onreadystatechange",N),t.attachEvent("onload",N);var n=!1;try{n=null==t.frameElement&&r.documentElement}catch(t){}n&&n.doScroll&&function t(){if(!v.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}I(),v.ready()}}()}return i.promise(e)},v.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(t,e){l["[object "+e+"]"]=e.toLowerCase()})),n=v(r);var j={};v.Callbacks=function(t){t="string"==typeof t?j[t]||function(t){var e=j[t]={};return v.each(t.match(b)||[],(function(t,i){e[i]=!0})),e}(t):v.extend({},t);var e,i,n,r,s,o,a=[],l=!t.once&&[],c=function(u){for(i=t.memory&&u,n=!0,s=o||0,o=0,r=a.length,e=!0;a&&s<r;s++)if(!1===a[s].apply(u[0],u[1])&&t.stopOnFalse){i=!1;break}e=!1,a&&(l?l.length&&c(l.shift()):i?a=[]:h.disable())},h={add:function(){if(a){var n=a.length;!function e(i){v.each(i,(function(i,n){var r=v.type(n);"function"===r?t.unique&&h.has(n)||a.push(n):n&&n.length&&"string"!==r&&e(n)}))}(arguments),e?r=a.length:i&&(o=n,c(i))}return this},remove:function(){return a&&v.each(arguments,(function(t,i){for(var n;(n=v.inArray(i,a,n))>-1;)a.splice(n,1),e&&(n<=r&&r--,n<=s&&s--)})),this},has:function(t){return t?v.inArray(t,a)>-1:!(!a||!a.length)},empty:function(){return a=[],this},disable:function(){return a=l=i=void 0,this},disabled:function(){return!a},lock:function(){return l=void 0,i||h.disable(),this},locked:function(){return!l},fireWith:function(t,i){return i=[t,(i=i||[]).slice?i.slice():i],!a||n&&!l||(e?l.push(i):c(i)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},v.extend({Deferred:function(t){var e=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return v.Deferred((function(i){v.each(e,(function(e,s){var o=s[0],a=v.isFunction(t[e])&&t[e];r[s[1]]((function(){var t=a&&a.apply(this,arguments);t&&v.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[o+"With"](this===n?i.promise():this,a?[t]:arguments)}))})),t=null})).promise()},promise:function(t){return null!=t?v.extend(t,n):n}},r={};return n.pipe=n.then,v.each(e,(function(t,s){var o=s[2],a=s[3];n[s[1]]=o.add,a&&o.add((function(){i=a}),e[1^t][2].disable,e[2][2].lock),r[s[0]]=function(){return r[s[0]+"With"](this===r?n:this,arguments),this},r[s[0]+"With"]=o.fireWith})),n.promise(r),t&&t.call(r,r),r},when:function(t){var e,i,n,r=0,s=d.call(arguments),o=s.length,a=1!==o||t&&v.isFunction(t.promise)?o:0,l=1===a?t:v.Deferred(),c=function(t,i,n){return function(r){i[t]=this,n[t]=arguments.length>1?d.call(arguments):r,n===e?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(o>1)for(e=new Array(o),i=new Array(o),n=new Array(o);r<o;r++)s[r]&&v.isFunction(s[r].promise)?s[r].promise().done(c(r,n,s)).fail(l.reject).progress(c(r,i,e)):--a;return a||l.resolveWith(n,s),l.promise()}}),v.support=function(){var e,i,n,s,o,a,l,c,h,u,d=r.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=d.getElementsByTagName("*"),n=d.getElementsByTagName("a")[0],!i||!n||!i.length)return{};l=(o=r.createElement("select")).appendChild(r.createElement("option")),s=d.getElementsByTagName("input")[0],n.style.cssText="top:1px;float:left;opacity:.5",e={getSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.5/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:!!s.value,optSelected:l.selected,enctype:!!r.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==r.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===r.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},s.checked=!0,e.noCloneChecked=s.cloneNode(!0).checked,o.disabled=!0,e.optDisabled=!l.disabled;try{delete d.test}catch(t){e.deleteExpando=!1}for(u in(s=r.createElement("input")).setAttribute("value",""),e.input=""===s.getAttribute("value"),s.value="t",s.setAttribute("type","radio"),e.radioValue="t"===s.value,s.setAttribute("checked","t"),s.setAttribute("name","t"),(a=r.createDocumentFragment()).appendChild(s),e.appendChecked=s.checked,e.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",(function(){e.noCloneEvent=!1})),d.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+u,"t"),e[u+"Bubbles"]=c in t||!1===d.attributes[c].expando;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===d.style.backgroundClip,v((function(){var i,n,s,o="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",a=r.getElementsByTagName("body")[0];a&&((i=r.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(i).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(s=d.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",h=0===s[0].offsetHeight,s[0].style.display="",s[1].style.display="none",e.reliableHiddenOffsets=h&&0===s[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",e.boxSizing=4===d.offsetWidth,e.doesNotIncludeMarginInBodyOffset=1!==a.offsetTop,t.getComputedStyle&&(e.pixelPosition="1%"!==(t.getComputedStyle(d,null)||{}).top,e.boxSizingReliable="4px"===(t.getComputedStyle(d,null)||{width:"4px"}).width,(n=d.appendChild(r.createElement("div"))).style.cssText=d.style.cssText=o,n.style.marginRight=n.style.width="0",d.style.width="1px",e.reliableMarginRight=!parseFloat((t.getComputedStyle(n,null)||{}).marginRight)),void 0!==d.style.zoom&&(d.innerHTML="",d.style.cssText=o+"width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",e.shrinkWrapBlocks=3!==d.offsetWidth,e.inlineBlockNeedsLayout&&(a.style.zoom=1)),a.removeChild(i),i=d=s=n=null)})),i=o=a=l=n=s=null,e}();var L=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,z=/([A-Z])/g;function D(t,e,i,n){if(v.acceptData(t)){var r,s,o=v.expando,a="string"==typeof e,l=t.nodeType,h=l?v.cache:t,u=l?t[o]:t[o]&&o;if(u&&h[u]&&(n||h[u].data)||!a||void 0!==i)return u||(l?t[o]=u=c.pop()||v.guid++:u=o),h[u]||(h[u]={},l||(h[u].toJSON=v.noop)),"object"!=typeof e&&"function"!=typeof e||(n?h[u]=v.extend(h[u],e):h[u].data=v.extend(h[u].data,e)),r=h[u],n||(r.data||(r.data={}),r=r.data),void 0!==i&&(r[v.camelCase(e)]=i),a?null==(s=r[e])&&(s=r[v.camelCase(e)]):s=r,s}}function P(t,e,i){if(v.acceptData(t)){var n,r,s,o=t.nodeType,a=o?v.cache:t,l=o?t[v.expando]:v.expando;if(a[l]){if(e&&(s=i?a[l]:a[l].data)){for((n=0,r=(e=v.isArray(e)?e.concat(v.map(e,v.camelCase)):e in s||(e=v.camelCase(e))in s?[e]:e.split(" ")).length);n<r;n++)delete s[e[n]];if(!(i?M:v.isEmptyObject)(s))return}(i||(delete a[l].data,M(a[l])))&&(o?v.cleanData([t],!0):v.support.deleteExpando||a!=a.window?delete a[l]:a[l]=null)}}}function B(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(z,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:L.test(i)?v.parseJSON(i):i)}catch(t){}v.data(t,e,i)}else i=void 0}return i}function M(t){var e;for(e in t)if(("data"!==e||!v.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}v.extend({cache:{},expando:"jQuery"+("1.9.1"+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return!!(t=t.nodeType?v.cache[t[v.expando]]:t[v.expando])&&!M(t)},data:function(t,e,i){return D(t,e,i)},removeData:function(t,e){return P(t,e)},_data:function(t,e,i){return D(t,e,i,!0)},_removeData:function(t,e){return P(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&v.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),v.fn.extend({data:function(t,e){var i,n,r=this[0],s=0,o=null;if(void 0===t){if(this.length&&(o=v.data(r),1===r.nodeType&&!v._data(r,"parsedAttrs"))){for(i=r.attributes;s<i.length;s++)(n=i[s].name).indexOf("data-")||(n=v.camelCase(n.slice(5)),B(r,n,o[n]));v._data(r,"parsedAttrs",!0)}return o}return"object"==typeof t?this.each((function(){v.data(this,t)})):v.access(this,(function(e){if(void 0===e)return r?B(r,t,v.data(r,t)):null;this.each((function(){v.data(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){v.removeData(this,t)}))}}),v.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=v._data(t,e),i&&(!n||v.isArray(i)?n=v._data(t,e,v.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=v.queue(t,e),n=i.length,r=i.shift(),s=v._queueHooks(t,e);"inprogress"===r&&(r=i.shift(),n--),s.cur=r,r&&("fx"===e&&i.unshift("inprogress"),delete s.stop,r.call(t,(function(){v.dequeue(t,e)}),s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return v._data(t,i)||v._data(t,i,{empty:v.Callbacks("once memory").add((function(){v._removeData(t,e+"queue"),v._removeData(t,i)}))})}}),v.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?v.queue(this[0],t):void 0===e?this:this.each((function(){var i=v.queue(this,t,e);v._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&v.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){v.dequeue(this,t)}))},delay:function(t,e){return t=v.fx&&v.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,r=v.Deferred(),s=this,o=this.length,a=function(){--n||r.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(i=v._data(s[o],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(e)}});var F,q,U=/[\t\r\n]/g,W=/\r/g,$=/^(?:input|select|textarea|button|object)$/i,H=/^(?:a|area)$/i,X=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,Y=/^(?:checked|selected)$/i,V=v.support.getSetAttribute,Z=v.support.input;v.fn.extend({attr:function(t,e){return v.access(this,v.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){v.removeAttr(this,t)}))},prop:function(t,e){return v.access(this,v.prop,t,e,arguments.length>1)},removeProp:function(t){return t=v.propFix[t]||t,this.each((function(){try{this[t]=void 0,delete this[t]}catch(t){}}))},addClass:function(t){var e,i,n,r,s,o=0,a=this.length,l="string"==typeof t&&t;if(v.isFunction(t))return this.each((function(e){v(this).addClass(t.call(this,e,this.className))}));if(l)for(e=(t||"").match(b)||[];o<a;o++)if(n=1===(i=this[o]).nodeType&&(i.className?(" "+i.className+" ").replace(U," "):" ")){for(s=0;r=e[s++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");i.className=v.trim(n)}return this},removeClass:function(t){var e,i,n,r,s,o=0,a=this.length,l=0===arguments.length||"string"==typeof t&&t;if(v.isFunction(t))return this.each((function(e){v(this).removeClass(t.call(this,e,this.className))}));if(l)for(e=(t||"").match(b)||[];o<a;o++)if(n=1===(i=this[o]).nodeType&&(i.className?(" "+i.className+" ").replace(U," "):"")){for(s=0;r=e[s++];)for(;n.indexOf(" "+r+" ")>=0;)n=n.replace(" "+r+" "," ");i.className=t?v.trim(n):""}return this},toggleClass:function(t,e){var i=typeof t,n="boolean"==typeof e;return v.isFunction(t)?this.each((function(i){v(this).toggleClass(t.call(this,i,this.className,e),e)})):this.each((function(){if("string"===i)for(var r,s=0,o=v(this),a=e,l=t.match(b)||[];r=l[s++];)a=n?a:!o.hasClass(r),o[a?"addClass":"removeClass"](r);else"undefined"!==i&&"boolean"!==i||(this.className&&v._data(this,"__className__",this.className),this.className=this.className||!1===t?"":v._data(this,"__className__")||"")}))},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(U," ").indexOf(e)>=0)return!0;return!1},val:function(t){var e,i,n,r=this[0];return arguments.length?(n=v.isFunction(t),this.each((function(e){var r,s=v(this);1===this.nodeType&&(null==(r=n?t.call(this,e,s.val()):t)?r="":"number"==typeof r?r+="":v.isArray(r)&&(r=v.map(r,(function(t){return null==t?"":t+""}))),(i=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,r,"value")||(this.value=r))}))):r?(i=v.valHooks[r.type]||v.valHooks[r.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(r,"value"))?e:"string"==typeof(e=r.value)?e.replace(W,""):null==e?"":e:void 0}}),v.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){for(var e,i,n=t.options,r=t.selectedIndex,s="select-one"===t.type||r<0,o=s?null:[],a=s?r+1:n.length,l=r<0?a:s?r:0;l<a;l++)if(((i=n[l]).selected||l===r)&&(v.support.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!v.nodeName(i.parentNode,"optgroup"))){if(e=v(i).val(),s)return e;o.push(e)}return o},set:function(t,e){var i=v.makeArray(e);return v(t).find("option").each((function(){this.selected=v.inArray(v(this).val(),i)>=0})),i.length||(t.selectedIndex=-1),i}}},attr:function(t,e,i){var n,r,s,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?v.prop(t,e,i):((r=1!==o||!v.isXMLDoc(t))&&(e=e.toLowerCase(),n=v.attrHooks[e]||(X.test(e)?q:F)),void 0===i?n&&r&&"get"in n&&null!==(s=n.get(t,e))?s:(void 0!==t.getAttribute&&(s=t.getAttribute(e)),null==s?void 0:s):null!==i?n&&r&&"set"in n&&void 0!==(s=n.set(t,i,e))?s:(t.setAttribute(e,i+""),i):void v.removeAttr(t,e))},removeAttr:function(t,e){var i,n,r=0,s=e&&e.match(b);if(s&&1===t.nodeType)for(;i=s[r++];)n=v.propFix[i]||i,X.test(i)?!V&&Y.test(i)?t[v.camelCase("default-"+i)]=t[n]=!1:t[n]=!1:v.attr(t,i,""),t.removeAttribute(V?i:n)},attrHooks:{type:{set:function(t,e){if(!v.support.radioValue&&"radio"===e&&v.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(t,e,i){var n,r,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return(1!==s||!v.isXMLDoc(t))&&(e=v.propFix[e]||e,r=v.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=t.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):$.test(t.nodeName)||H.test(t.nodeName)&&t.href?0:void 0}}}}),q={get:function(t,e){var i=v.prop(t,e),n="boolean"==typeof i&&t.getAttribute(e),r="boolean"==typeof i?Z&&V?null!=n:Y.test(e)?t[v.camelCase("default-"+e)]:!!n:t.getAttributeNode(e);return r&&!1!==r.value?e.toLowerCase():void 0},set:function(t,e,i){return!1===e?v.removeAttr(t,i):Z&&V||!Y.test(i)?t.setAttribute(!V&&v.propFix[i]||i,i):t[v.camelCase("default-"+i)]=t[i]=!0,i}},Z&&V||(v.attrHooks.value={get:function(t,e){var i=t.getAttributeNode(e);return v.nodeName(t,"input")?t.defaultValue:i&&i.specified?i.value:void 0},set:function(t,e,i){if(!v.nodeName(t,"input"))return F&&F.set(t,e,i);t.defaultValue=e}}),V||(F=v.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);return i&&("id"===e||"name"===e||"coords"===e?""!==i.value:i.specified)?i.value:void 0},set:function(t,e,i){var n=t.getAttributeNode(i);return n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i)?e:void 0}},v.attrHooks.contenteditable={get:F.get,set:function(t,e,i){F.set(t,""!==e&&e,i)}},v.each(["width","height"],(function(t,e){v.attrHooks[e]=v.extend(v.attrHooks[e],{set:function(t,i){if(""===i)return t.setAttribute(e,"auto"),i}})}))),v.support.hrefNormalized||(v.each(["href","src","width","height"],(function(t,e){v.attrHooks[e]=v.extend(v.attrHooks[e],{get:function(t){var i=t.getAttribute(e,2);return null==i?void 0:i}})})),v.each(["href","src"],(function(t,e){v.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}))),v.support.style||(v.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}}),v.support.optSelected||(v.propHooks.selected=v.extend(v.propHooks.selected,{get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),v.support.enctype||(v.propFix.enctype="encoding"),v.support.checkOn||v.each(["radio","checkbox"],(function(){v.valHooks[this]={get:function(t){return null===t.getAttribute("value")?"on":t.value}}})),v.each(["radio","checkbox"],(function(){v.valHooks[this]=v.extend(v.valHooks[this],{set:function(t,e){if(v.isArray(e))return t.checked=v.inArray(v(t).val(),e)>=0}})}));var G=/^(?:input|select|textarea)$/i,K=/^key/,Q=/^(?:mouse|contextmenu)|click/,J=/^(?:focusinfocus|focusoutblur)$/,tt=/^([^.]*)(?:\.(.+)|)$/;function et(){return!0}function it(){return!1}v.event={global:{},add:function(t,e,i,n,r){var s,o,a,l,c,h,u,d,f,p,g,m=v._data(t);if(m){for(i.handler&&(i=(l=i).handler,r=l.selector),i.guid||(i.guid=v.guid++),(o=m.events)||(o=m.events={}),(h=m.handle)||((h=m.handle=function(t){return void 0===v||t&&v.event.triggered===t.type?void 0:v.event.dispatch.apply(h.elem,arguments)}).elem=t),a=(e=(e||"").match(b)||[""]).length;a--;)f=g=(s=tt.exec(e[a])||[])[1],p=(s[2]||"").split(".").sort(),c=v.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,c=v.event.special[f]||{},u=v.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&v.expr.match.needsContext.test(r),namespace:p.join(".")},l),(d=o[f])||((d=o[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,p,h)||(t.addEventListener?t.addEventListener(f,h,!1):t.attachEvent&&t.attachEvent("on"+f,h))),c.add&&(c.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),r?d.splice(d.delegateCount++,0,u):d.push(u),v.event.global[f]=!0;t=null}},remove:function(t,e,i,n,r){var s,o,a,l,c,h,u,d,f,p,g,m=v.hasData(t)&&v._data(t);if(m&&(h=m.events)){for(c=(e=(e||"").match(b)||[""]).length;c--;)if(f=g=(a=tt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(u=v.event.special[f]||{},d=h[f=(n?u.delegateType:u.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=s=d.length;s--;)o=d[s],!r&&g!==o.origType||i&&i.guid!==o.guid||a&&!a.test(o.namespace)||n&&n!==o.selector&&("**"!==n||!o.selector)||(d.splice(s,1),o.selector&&d.delegateCount--,u.remove&&u.remove.call(t,o));l&&!d.length&&(u.teardown&&!1!==u.teardown.call(t,p,m.handle)||v.removeEvent(t,f,m.handle),delete h[f])}else for(f in h)v.event.remove(t,f+e[c],i,n,!0);v.isEmptyObject(h)&&(delete m.handle,v._removeData(t,"events"))}},trigger:function(e,i,n,s){var o,a,l,c,h,u,d,f=[n||r],p=g.call(e,"type")?e.type:e,m=g.call(e,"namespace")?e.namespace.split("."):[];if(l=u=n=n||r,3!==n.nodeType&&8!==n.nodeType&&!J.test(p+v.event.triggered)&&(p.indexOf(".")>=0&&(m=p.split("."),p=m.shift(),m.sort()),a=p.indexOf(":")<0&&"on"+p,(e=e[v.expando]?e:new v.Event(p,"object"==typeof e&&e)).isTrigger=!0,e.namespace=m.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:v.makeArray(i,[e]),h=v.event.special[p]||{},s||!h.trigger||!1!==h.trigger.apply(n,i))){if(!s&&!h.noBubble&&!v.isWindow(n)){for(c=h.delegateType||p,J.test(c+p)||(l=l.parentNode);l;l=l.parentNode)f.push(l),u=l;u===(n.ownerDocument||r)&&f.push(u.defaultView||u.parentWindow||t)}for(d=0;(l=f[d++])&&!e.isPropagationStopped();)e.type=d>1?c:h.bindType||p,(o=(v._data(l,"events")||{})[e.type]&&v._data(l,"handle"))&&o.apply(l,i),(o=a&&l[a])&&v.acceptData(l)&&o.apply&&!1===o.apply(l,i)&&e.preventDefault();if(e.type=p,!s&&!e.isDefaultPrevented()&&(!h._default||!1===h._default.apply(n.ownerDocument,i))&&("click"!==p||!v.nodeName(n,"a"))&&v.acceptData(n)&&a&&n[p]&&!v.isWindow(n)){(u=n[a])&&(n[a]=null),v.event.triggered=p;try{n[p]()}catch(t){}v.event.triggered=void 0,u&&(n[a]=u)}return e.result}},dispatch:function(t){t=v.event.fix(t);var e,i,n,r,s,o=[],a=d.call(arguments),l=(v._data(this,"events")||{})[t.type]||[],c=v.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(o=v.event.handlers.call(this,t,l),e=0;(r=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,s=0;(n=r.handlers[s++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(n.namespace)||(t.handleObj=n,t.data=n.data,void 0!==(i=((v.event.special[n.origType]||{}).handle||n.handler).apply(r.elem,a))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,r,s,o=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(r=[],s=0;s<a;s++)void 0===r[i=(n=e[s]).selector+" "]&&(r[i]=n.needsContext?v(i,this).index(l)>=0:v.find(i,this,null,[l]).length),r[i]&&r.push(n);r.length&&o.push({elem:l,handlers:r})}return a<e.length&&o.push({elem:this,handlers:e.slice(a)}),o},fix:function(t){if(t[v.expando])return t;var e,i,n,s=t.type,o=t,a=this.fixHooks[s];for(a||(this.fixHooks[s]=a=Q.test(s)?this.mouseHooks:K.test(s)?this.keyHooks:{}),n=a.props?this.props.concat(a.props):this.props,t=new v.Event(o),e=n.length;e--;)t[i=n[e]]=o[i];return t.target||(t.target=o.srcElement||r),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,s,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(s=(n=t.target.ownerDocument||r).documentElement,i=n.body,t.pageX=e.clientX+(s&&s.scrollLeft||i&&i.scrollLeft||0)-(s&&s.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(s&&s.scrollTop||i&&i.scrollTop||0)-(s&&s.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},click:{trigger:function(){if(v.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1}},focus:{trigger:function(){if(this!==r.activeElement&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===r.activeElement&&this.blur)return this.blur(),!1},delegateType:"focusout"},beforeunload:{postDispatch:function(t){void 0!==t.result&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var r=v.extend(new v.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?v.event.trigger(r,null,e):v.event.dispatch.call(e,r),r.isDefaultPrevented()&&i.preventDefault()}},v.removeEvent=r.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(void 0===t[n]&&(t[n]=null),t.detachEvent(n,i))},v.Event=function(t,e){if(!(this instanceof v.Event))return new v.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?et:it):this.type=t,e&&v.extend(this,e),this.timeStamp=t&&t.timeStamp||v.now(),this[v.expando]=!0},v.Event.prototype={isDefaultPrevented:it,isPropagationStopped:it,isImmediatePropagationStopped:it,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=et,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=et,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=et,this.stopPropagation()}},v.each({mouseenter:"mouseover",mouseleave:"mouseout"},(function(t,e){v.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,s=t.handleObj;return r&&(r===n||v.contains(n,r))||(t.type=s.origType,i=s.handler.apply(this,arguments),t.type=e),i}}})),v.support.submitBubbles||(v.event.special.submit={setup:function(){if(v.nodeName(this,"form"))return!1;v.event.add(this,"click._submit keypress._submit",(function(t){var e=t.target,i=v.nodeName(e,"input")||v.nodeName(e,"button")?e.form:void 0;i&&!v._data(i,"submitBubbles")&&(v.event.add(i,"submit._submit",(function(t){t._submit_bubble=!0})),v._data(i,"submitBubbles",!0))}))},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&v.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){if(v.nodeName(this,"form"))return!1;v.event.remove(this,"._submit")}}),v.support.changeBubbles||(v.event.special.change={setup:function(){if(G.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(v.event.add(this,"propertychange._change",(function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)})),v.event.add(this,"click._change",(function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),v.event.simulate("change",this,t,!0)}))),!1;v.event.add(this,"beforeactivate._change",(function(t){var e=t.target;G.test(e.nodeName)&&!v._data(e,"changeBubbles")&&(v.event.add(e,"change._change",(function(t){!this.parentNode||t.isSimulated||t.isTrigger||v.event.simulate("change",this.parentNode,t,!0)})),v._data(e,"changeBubbles",!0))}))},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return v.event.remove(this,"._change"),!G.test(this.nodeName)}}),v.support.focusinBubbles||v.each({focus:"focusin",blur:"focusout"},(function(t,e){var i=0,n=function(t){v.event.simulate(e,t.target,v.event.fix(t),!0)};v.event.special[e]={setup:function(){0==i++&&r.addEventListener(t,n,!0)},teardown:function(){0==--i&&r.removeEventListener(t,n,!0)}}})),v.fn.extend({on:function(t,e,i,n,r){var s,o;if("object"==typeof t){for(s in"string"!=typeof e&&(i=i||e,e=void 0),t)this.on(s,e,i,t[s],r);return this}if(null==i&&null==n?(n=e,i=e=void 0):null==n&&("string"==typeof e?(n=i,i=void 0):(n=i,i=e,e=void 0)),!1===n)n=it;else if(!n)return this;return 1===r&&(o=n,(n=function(t){return v().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=v.guid++)),this.each((function(){v.event.add(this,t,n,i,e)}))},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,r;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,v(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=it),this.each((function(){v.event.remove(this,t,i,e)}))},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},trigger:function(t,e){return this.each((function(){v.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i)return v.event.trigger(t,e,i,!0)}}),
/*!
* Sizzle CSS Selector Engine
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
* http://sizzlejs.com/
*/
-function(t,e){var i,n,r,o,s,a,l,c,h,u,d,f,p,g,m,y,b,w="sizzle"+-new Date,x=t.document,_={},k=0,E=0,S=tt(),T=tt(),C=tt(),A=[],O=A.pop,N=A.push,I=A.slice,R=A.indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(this[e]===t)return e;return-1},j="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",z=L.replace("w","w#"),D="\\["+j+"*("+L+")"+j+"*(?:([*^$|!~]?=)"+j+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+z+")|)|)"+j+"*\\]",B=":("+L+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+D.replace(3,8)+")*)|.*)\\)|)",P=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g"),M=new RegExp("^"+j+"*,"+j+"*"),F=new RegExp("^"+j+"*([\\x20\\t\\r\\n\\f>+~])"+j+"*"),q=new RegExp(B),U=new RegExp("^"+z+"$"),W={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),NAME:new RegExp("^\\[name=['\"]?("+L+")['\"]?\\]"),TAG:new RegExp("^("+L.replace("w","w*")+")"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},$=/[\x20\t\r\n\f]*[+~]/,H=/^[^{]+\{\s*\[native code/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,V=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,G=/'|\\/g,Z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,K=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,Q=function(t,e){var i="0x"+e-65536;return i!=i?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{I.call(x.documentElement.childNodes,0)[0].nodeType}catch(t){I=function(t){for(var e,i=[];e=this[t++];)i.push(e);return i}}function J(t){return H.test(t+"")}function tt(){var t,e=[];return t=function(i,n){return e.push(i+=" ")>r.cacheLength&&delete t[e.shift()],t[i]=n}}function et(t){return t[w]=!0,t}function it(t){var e=u.createElement("div");try{return t(e)}catch(t){return!1}finally{e=null}}function nt(t,e,i,n){var o,s,l,c,d,g,m,v,b,k;if((e?e.ownerDocument||e:x)!==u&&h(e),i=i||[],!t||"string"!=typeof t)return i;if(1!==(c=(e=e||u).nodeType)&&9!==c)return[];if(!f&&!n){if(o=X.exec(t))if(l=o[1]){if(9===c){if(!(s=e.getElementById(l))||!s.parentNode)return i;if(s.id===l)return i.push(s),i}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(l))&&y(e,s)&&s.id===l)return i.push(s),i}else{if(o[2])return N.apply(i,I.call(e.getElementsByTagName(t),0)),i;if((l=o[3])&&_.getByClassName&&e.getElementsByClassName)return N.apply(i,I.call(e.getElementsByClassName(l),0)),i}if(_.qsa&&!p.test(t)){if(m=!0,v=w,b=e,k=9===c&&t,1===c&&"object"!==e.nodeName.toLowerCase()){for(g=lt(t),(m=e.getAttribute("id"))?v=m.replace(G,"\\$&"):e.setAttribute("id",v),v="[id='"+v+"'] ",d=g.length;d--;)g[d]=v+ct(g[d]);b=$.test(t)&&e.parentNode||e,k=g.join(",")}if(k)try{return N.apply(i,I.call(b.querySelectorAll(k),0)),i}catch(t){}finally{m||e.removeAttribute("id")}}}return function(t,e,i,n){var o,s,l,c,h,u=lt(t);if(!n&&1===u.length){if((s=u[0]=u[0].slice(0)).length>2&&"ID"===(l=s[0]).type&&9===e.nodeType&&!f&&r.relative[s[1].type]){if(!(e=r.find.ID(l.matches[0].replace(K,Q),e)[0]))return i;t=t.slice(s.shift().value.length)}for(o=W.needsContext.test(t)?0:s.length;o--&&(l=s[o],!r.relative[c=l.type]);)if((h=r.find[c])&&(n=h(l.matches[0].replace(K,Q),$.test(s[0].type)&&e.parentNode||e))){if(s.splice(o,1),!(t=n.length&&ct(s)))return N.apply(i,I.call(n,0)),i;break}}return a(t,u)(n,e,f,i,$.test(t)),i}(t.replace(P,"$1"),e,i,n)}function rt(t,e){var i=e&&t,n=i&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ot(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function st(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function at(t){return et((function(e){return e=+e,et((function(i,n){for(var r,o=t([],i.length,e),s=o.length;s--;)i[r=o[s]]&&(i[r]=!(n[r]=i[r]))}))}))}for(i in s=nt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},h=nt.setDocument=function(t){var e=t?t.ownerDocument||t:x;return e!==u&&9===e.nodeType&&e.documentElement?(u=e,d=e.documentElement,f=s(e),_.tagNameNoComments=it((function(t){return t.appendChild(e.createComment("")),!t.getElementsByTagName("*").length})),_.attributes=it((function(t){t.innerHTML="<select></select>";var e=typeof t.lastChild.getAttribute("multiple");return"boolean"!==e&&"string"!==e})),_.getByClassName=it((function(t){return t.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!(!t.getElementsByClassName||!t.getElementsByClassName("e").length)&&(t.lastChild.className="e",2===t.getElementsByClassName("e").length)})),_.getByName=it((function(t){t.id=w+0,t.innerHTML="<a name='"+w+"'></a><div name='"+w+"'></div>",d.insertBefore(t,d.firstChild);var i=e.getElementsByName&&e.getElementsByName(w).length===2+e.getElementsByName(w+0).length;return _.getIdNotName=!e.getElementById(w),d.removeChild(t),i})),r.attrHandle=it((function(t){return t.innerHTML="<a href='#'></a>",t.firstChild&&void 0!==t.firstChild.getAttribute&&"#"===t.firstChild.getAttribute("href")}))?{}:{href:function(t){return t.getAttribute("href",2)},type:function(t){return t.getAttribute("type")}},_.getIdNotName?(r.find.ID=function(t,e){if(void 0!==e.getElementById&&!f){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},r.filter.ID=function(t){var e=t.replace(K,Q);return function(t){return t.getAttribute("id")===e}}):(r.find.ID=function(t,e){if(void 0!==e.getElementById&&!f){var i=e.getElementById(t);return i?i.id===t||void 0!==i.getAttributeNode&&i.getAttributeNode("id").value===t?[i]:void 0:[]}},r.filter.ID=function(t){var e=t.replace(K,Q);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}}),r.find.TAG=_.tagNameNoComments?function(t,e){if(void 0!==e.getElementsByTagName)return e.getElementsByTagName(t)}:function(t,e){var i,n=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;i=o[r++];)1===i.nodeType&&n.push(i);return n}return o},r.find.NAME=_.getByName&&function(t,e){if(void 0!==e.getElementsByName)return e.getElementsByName(name)},r.find.CLASS=_.getByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&!f)return e.getElementsByClassName(t)},g=[],p=[":focus"],(_.qsa=J(e.querySelectorAll))&&(it((function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||p.push("\\["+j+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||p.push(":checked")})),it((function(t){t.innerHTML="<input type='hidden' i=''/>",t.querySelectorAll("[i^='']").length&&p.push("[*^$]="+j+"*(?:\"\"|'')"),t.querySelectorAll(":enabled").length||p.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),p.push(",.*:")}))),(_.matchesSelector=J(m=d.matchesSelector||d.mozMatchesSelector||d.webkitMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&it((function(t){_.disconnectedMatch=m.call(t,"div"),m.call(t,"[s!='']:x"),g.push("!=",B)})),p=new RegExp(p.join("|")),g=new RegExp(g.join("|")),y=J(d.contains)||d.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},b=d.compareDocumentPosition?function(t,i){var n;return t===i?(l=!0,0):(n=i.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(i))?1&n||t.parentNode&&11===t.parentNode.nodeType?t===e||y(x,t)?-1:i===e||y(x,i)?1:0:4&n?-1:1:t.compareDocumentPosition?-1:1}:function(t,i){var n,r=0,o=t.parentNode,s=i.parentNode,a=[t],c=[i];if(t===i)return l=!0,0;if(!o||!s)return t===e?-1:i===e?1:o?-1:s?1:0;if(o===s)return rt(t,i);for(n=t;n=n.parentNode;)a.unshift(n);for(n=i;n=n.parentNode;)c.unshift(n);for(;a[r]===c[r];)r++;return r?rt(a[r],c[r]):a[r]===x?-1:c[r]===x?1:0},l=!1,[0,0].sort(b),_.detectDuplicates=l,u):u},nt.matches=function(t,e){return nt(t,null,null,e)},nt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==u&&h(t),e=e.replace(Z,"='$1']"),_.matchesSelector&&!f&&(!g||!g.test(e))&&!p.test(e))try{var i=m.call(t,e);if(i||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return nt(e,u,null,[t]).length>0},nt.contains=function(t,e){return(t.ownerDocument||t)!==u&&h(t),y(t,e)},nt.attr=function(t,e){var i;return(t.ownerDocument||t)!==u&&h(t),f||(e=e.toLowerCase()),(i=r.attrHandle[e])?i(t):f||_.attributes?t.getAttribute(e):((i=t.getAttributeNode(e))||t.getAttribute(e))&&!0===t[e]?e:i&&i.specified?i.value:null},nt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},nt.uniqueSort=function(t){var e,i=[],n=1,r=0;if(l=!_.detectDuplicates,t.sort(b),l){for(;e=t[n];n++)e===t[n-1]&&(r=i.push(n));for(;r--;)t.splice(i[r],1)}return t},o=nt.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=o(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n];n++)i+=o(e);return i},r=nt.selectors={cacheLength:50,createPseudo:et,match:W,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(K,Q),t[3]=(t[4]||t[5]||"").replace(K,Q),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||nt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&nt.error(t[0]),t},PSEUDO:function(t){var e,i=!t[5]&&t[2];return W.CHILD.test(t[0])?null:(t[4]?t[2]=t[4]:i&&q.test(i)&&(e=lt(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){return"*"===t?function(){return!0}:(t=t.replace(K,Q).toLowerCase(),function(e){return e.nodeName&&e.nodeName.toLowerCase()===t})},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+j+")"+t+"("+j+"|$)"))&&S(t,(function(t){return e.test(t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(n){var r=nt.attr(n,t);return null==r?"!="===e:!e||(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&r.indexOf(i)>-1:"$="===e?i&&r.slice(-i.length)===i:"~="===e?(" "+r+" ").indexOf(i)>-1:"|="===e&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var c,h,u,d,f,p,g=o!==s?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a;if(m){if(o){for(;g;){for(u=e;u=u[g];)if(a?u.nodeName.toLowerCase()===v:1===u.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&y){for(f=(c=(h=m[w]||(m[w]={}))[t]||[])[0]===k&&c[1],d=c[0]===k&&c[2],u=f&&m.childNodes[f];u=++f&&u&&u[g]||(d=f=0)||p.pop();)if(1===u.nodeType&&++d&&u===e){h[t]=[k,f,d];break}}else if(y&&(c=(e[w]||(e[w]={}))[t])&&c[0]===k)d=c[1];else for(;(u=++f&&u&&u[g]||(d=f=0)||p.pop())&&((a?u.nodeName.toLowerCase()!==v:1!==u.nodeType)||!++d||(y&&((u[w]||(u[w]={}))[t]=[k,d]),u!==e)););return(d-=r)===n||d%n==0&&d/n>=0}}},PSEUDO:function(t,e){var i,n=r.pseudos[t]||r.setFilters[t.toLowerCase()]||nt.error("unsupported pseudo: "+t);return n[w]?n(e):n.length>1?(i=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?et((function(t,i){for(var r,o=n(t,e),s=o.length;s--;)t[r=R.call(t,o[s])]=!(i[r]=o[s])})):function(t){return n(t,0,i)}):n}},pseudos:{not:et((function(t){var e=[],i=[],n=a(t.replace(P,"$1"));return n[w]?et((function(t,e,i,r){for(var o,s=n(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))})):function(t,r,o){return e[0]=t,n(e,null,o,i),!i.pop()}})),has:et((function(t){return function(e){return nt(t,e).length>0}})),contains:et((function(t){return function(e){return(e.textContent||e.innerText||o(e)).indexOf(t)>-1}})),lang:et((function(t){return U.test(t||"")||nt.error("unsupported lang: "+t),t=t.replace(K,Q).toLowerCase(),function(e){var i;do{if(i=f?e.getAttribute("xml:lang")||e.getAttribute("lang"):e.lang)return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===d},focus:function(t){return t===u.activeElement&&(!u.hasFocus||u.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeName>"@"||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return Y.test(t.nodeName)},input:function(t){return V.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:at((function(){return[0]})),last:at((function(t,e){return[e-1]})),eq:at((function(t,e,i){return[i<0?i+e:i]})),even:at((function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t})),odd:at((function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t})),lt:at((function(t,e,i){for(var n=i<0?i+e:i;--n>=0;)t.push(n);return t})),gt:at((function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t}))}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[i]=ot(i);for(i in{submit:!0,reset:!0})r.pseudos[i]=st(i);function lt(t,e){var i,n,o,s,a,l,c,h=T[t+" "];if(h)return e?0:h.slice(0);for(a=t,l=[],c=r.preFilter;a;){for(s in i&&!(n=M.exec(a))||(n&&(a=a.slice(n[0].length)||a),l.push(o=[])),i=!1,(n=F.exec(a))&&(i=n.shift(),o.push({value:i,type:n[0].replace(P," ")}),a=a.slice(i.length)),r.filter)!(n=W[s].exec(a))||c[s]&&!(n=c[s](n))||(i=n.shift(),o.push({value:i,type:s,matches:n}),a=a.slice(i.length));if(!i)break}return e?a.length:a?nt.error(t):T(t,l).slice(0)}function ct(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function ht(t,e,i){var r=e.dir,o=i&&"parentNode"===r,s=E++;return e.first?function(e,i,n){for(;e=e[r];)if(1===e.nodeType||o)return t(e,i,n)}:function(e,i,a){var l,c,h,u=k+" "+s;if(a){for(;e=e[r];)if((1===e.nodeType||o)&&t(e,i,a))return!0}else for(;e=e[r];)if(1===e.nodeType||o)if((c=(h=e[w]||(e[w]={}))[r])&&c[0]===u){if(!0===(l=c[1])||l===n)return!0===l}else if((c=h[r]=[u])[1]=t(e,i,a)||n,!0===c[1])return!0}}function ut(t){return t.length>1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function dt(t,e,i,n,r){for(var o,s=[],a=0,l=t.length,c=null!=e;a<l;a++)(o=t[a])&&(i&&!i(o,n,r)||(s.push(o),c&&e.push(a)));return s}function ft(t,e,i,n,r,o){return n&&!n[w]&&(n=ft(n)),r&&!r[w]&&(r=ft(r,o)),et((function(o,s,a,l){var c,h,u,d=[],f=[],p=s.length,g=o||function(t,e,i){for(var n=0,r=e.length;n<r;n++)nt(t,e[n],i);return i}(e||"*",a.nodeType?[a]:a,[]),m=!t||!o&&e?g:dt(g,d,t,a,l),v=i?r||(o?t:p||n)?[]:s:m;if(i&&i(m,v,a,l),n)for(c=dt(v,f),n(c,[],a,l),h=c.length;h--;)(u=c[h])&&(v[f[h]]=!(m[f[h]]=u));if(o){if(r||t){if(r){for(c=[],h=v.length;h--;)(u=v[h])&&c.push(m[h]=u);r(null,v=[],c,l)}for(h=v.length;h--;)(u=v[h])&&(c=r?R.call(o,u):d[h])>-1&&(o[c]=!(s[c]=u))}}else v=dt(v===s?v.splice(p,v.length):v),r?r(null,s,v,l):N.apply(s,v)}))}function pt(t){for(var e,i,n,o=t.length,s=r.relative[t[0].type],a=s||r.relative[" "],l=s?1:0,h=ht((function(t){return t===e}),a,!0),u=ht((function(t){return R.call(e,t)>-1}),a,!0),d=[function(t,i,n){return!s&&(n||i!==c)||((e=i).nodeType?h(t,i,n):u(t,i,n))}];l<o;l++)if(i=r.relative[t[l].type])d=[ht(ut(d),i)];else{if((i=r.filter[t[l].type].apply(null,t[l].matches))[w]){for(n=++l;n<o&&!r.relative[t[n].type];n++);return ft(l>1&&ut(d),l>1&&ct(t.slice(0,l-1)).replace(P,"$1"),i,l<n&&pt(t.slice(l,n)),n<o&&pt(t=t.slice(n)),n<o&&ct(t))}d.push(i)}return ut(d)}function gt(){}a=nt.compile=function(t,e){var i,o=[],s=[],a=C[t+" "];if(!a){for(e||(e=lt(t)),i=e.length;i--;)(a=pt(e[i]))[w]?o.push(a):s.push(a);a=C(t,function(t,e){var i=0,o=e.length>0,s=t.length>0,a=function(a,l,h,d,f){var p,g,m,v=[],y=0,b="0",w=a&&[],x=null!=f,_=c,E=a||s&&r.find.TAG("*",f&&l.parentNode||l),S=k+=null==_?1:Math.random()||.1;for(x&&(c=l!==u&&l,n=i);null!=(p=E[b]);b++){if(s&&p){for(g=0;m=t[g++];)if(m(p,l,h)){d.push(p);break}x&&(k=S,n=++i)}o&&((p=!m&&p)&&y--,a&&w.push(p))}if(y+=b,o&&b!==y){for(g=0;m=e[g++];)m(w,v,l,h);if(a){if(y>0)for(;b--;)w[b]||v[b]||(v[b]=O.call(d));v=dt(v)}N.apply(d,v),x&&!a&&v.length>0&&y+e.length>1&&nt.uniqueSort(d)}return x&&(k=S,c=_),w};return o?et(a):a}(s,o))}return a},r.pseudos.nth=r.pseudos.eq,r.filters=gt.prototype=r.pseudos,r.setFilters=new gt,h(),nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(t);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,ot=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,at={children:!0,contents:!0,next:!0,prev:!0};function lt(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}function ct(t,e,i){if(e=e||0,v.isFunction(e))return v.grep(t,(function(t,n){return!!e.call(t,n,t)===i}));if(e.nodeType)return v.grep(t,(function(t){return t===e===i}));if("string"==typeof e){var n=v.grep(t,(function(t){return 1===t.nodeType}));if(ot.test(e))return v.filter(e,n,!i);e=v.filter(e,n)}return v.grep(t,(function(t){return v.inArray(t,e)>=0===i}))}function ht(t){var e=ut.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}v.fn.extend({find:function(t){var e,i,n,r=this.length;if("string"!=typeof t)return n=this,this.pushStack(v(t).filter((function(){for(e=0;e<r;e++)if(v.contains(n[e],this))return!0})));for(i=[],e=0;e<r;e++)v.find(t,this[e],i);return(i=this.pushStack(r>1?v.unique(i):i)).selector=(this.selector?this.selector+" ":"")+t,i},has:function(t){var e,i=v(t,this),n=i.length;return this.filter((function(){for(e=0;e<n;e++)if(v.contains(this,i[e]))return!0}))},not:function(t){return this.pushStack(ct(this,t,!1))},filter:function(t){return this.pushStack(ct(this,t,!0))},is:function(t){return!!t&&("string"==typeof t?st.test(t)?v(t,this.context).index(this[0])>=0:v.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){for(var i,n=0,r=this.length,o=[],s=st.test(t)||"string"!=typeof t?v(t,e||this.context):0;n<r;n++)for(i=this[n];i&&i.ownerDocument&&i!==e&&11!==i.nodeType;){if(s?s.index(i)>-1:v.find.matchesSelector(i,t)){o.push(i);break}i=i.parentNode}return this.pushStack(o.length>1?v.unique(o):o)},index:function(t){return t?"string"==typeof t?v.inArray(this[0],v(t)):v.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var i="string"==typeof t?v(t,e):v.makeArray(t&&t.nodeType?[t]:t),n=v.merge(this.get(),i);return this.pushStack(v.unique(n))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return v.dir(t,"parentNode")},parentsUntil:function(t,e,i){return v.dir(t,"parentNode",i)},next:function(t){return lt(t,"nextSibling")},prev:function(t){return lt(t,"previousSibling")},nextAll:function(t){return v.dir(t,"nextSibling")},prevAll:function(t){return v.dir(t,"previousSibling")},nextUntil:function(t,e,i){return v.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return v.dir(t,"previousSibling",i)},siblings:function(t){return v.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return v.sibling(t.firstChild)},contents:function(t){return v.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:v.merge([],t.childNodes)}},(function(t,e){v.fn[t]=function(i,n){var r=v.map(this,e,i);return nt.test(t)||(n=i),n&&"string"==typeof n&&(r=v.filter(n,r)),r=this.length>1&&!at[t]?v.unique(r):r,this.length>1&&rt.test(t)&&(r=r.reverse()),this.pushStack(r)}})),v.extend({filter:function(t,e,i){return i&&(t=":not("+t+")"),1===e.length?v.find.matchesSelector(e[0],t)?[e[0]]:[]:v.find.matches(t,e)},dir:function(t,e,i){for(var n=[],r=t[e];r&&9!==r.nodeType&&(void 0===i||1!==r.nodeType||!v(r).is(i));)1===r.nodeType&&n.push(r),r=r[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var ut="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",dt=/ jQuery\d+="(?:null|\d+)"/g,ft=new RegExp("<(?:"+ut+")[\\s/>]","i"),pt=/^\s+/,gt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,mt=/<([\w:]+)/,vt=/<tbody/i,yt=/<|&#?\w+;/,bt=/<(?:script|style|link)/i,wt=/^(?:checkbox|radio)$/i,xt=/checked\s*(?:[^=]|=\s*.checked.)/i,_t=/^$|\/(?:java|ecma)script/i,kt=/^true\/(.*)/,Et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,St={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:v.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Tt=ht(r).appendChild(r.createElement("div"));function Ct(t){var e=t.getAttributeNode("type");return t.type=(e&&e.specified)+"/"+t.type,t}function At(t){var e=kt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Ot(t,e){for(var i,n=0;null!=(i=t[n]);n++)v._data(i,"globalEval",!e||v._data(e[n],"globalEval"))}function Nt(t,e){if(1===e.nodeType&&v.hasData(t)){var i,n,r,o=v._data(t),s=v._data(e,o),a=o.events;if(a)for(i in delete s.handle,s.events={},a)for(n=0,r=a[i].length;n<r;n++)v.event.add(e,i,a[i][n]);s.data&&(s.data=v.extend({},s.data))}}function It(t,e){var i,n,r;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!v.support.noCloneEvent&&e[v.expando]){for(n in(r=v._data(e)).events)v.removeEvent(e,n,r.handle);e.removeAttribute(v.expando)}"script"===i&&e.text!==t.text?(Ct(e).text=t.text,At(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),v.support.html5Clone&&t.innerHTML&&!v.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&wt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}}function Rt(t,e){var i,n,r=0,o=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],i=t.childNodes||t;null!=(n=i[r]);r++)!e||v.nodeName(n,e)?o.push(n):v.merge(o,Rt(n,e));return void 0===e||e&&v.nodeName(t,e)?v.merge([t],o):o}function jt(t){wt.test(t.type)&&(t.defaultChecked=t.checked)}St.optgroup=St.option,St.tbody=St.tfoot=St.colgroup=St.caption=St.thead,St.th=St.td,v.fn.extend({text:function(t){return v.access(this,(function(t){return void 0===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(t))}),null,t,arguments.length)},wrapAll:function(t){if(v.isFunction(t))return this.each((function(e){v(this).wrapAll(t.call(this,e))}));if(this[0]){var e=v(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t})).append(this)}return this},wrapInner:function(t){return v.isFunction(t)?this.each((function(e){v(this).wrapInner(t.call(this,e))})):this.each((function(){var e=v(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v.isFunction(t);return this.each((function(i){v(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(){return this.parent().each((function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)})).end()},append:function(){return this.domManip(arguments,!0,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||this.appendChild(t)}))},prepend:function(){return this.domManip(arguments,!0,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||this.insertBefore(t,this.firstChild)}))},before:function(){return this.domManip(arguments,!1,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return this.domManip(arguments,!1,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},remove:function(t,e){for(var i,n=0;null!=(i=this[n]);n++)(!t||v.filter(t,[i]).length>0)&&(e||1!==i.nodeType||v.cleanData(Rt(i)),i.parentNode&&(e&&v.contains(i.ownerDocument,i)&&Ot(Rt(i,"script")),i.parentNode.removeChild(i)));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&v.cleanData(Rt(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&v.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return v.clone(this,t,e)}))},html:function(t){return v.access(this,(function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(dt,""):void 0;if("string"==typeof t&&!bt.test(t)&&(v.support.htmlSerialize||!ft.test(t))&&(v.support.leadingWhitespace||!pt.test(t))&&!St[(mt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(gt,"<$1></$2>");try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(v.cleanData(Rt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(t){return v.isFunction(t)||"string"==typeof t||(t=v(t).not(this).detach()),this.domManip([t],!0,(function(t){var e=this.nextSibling,i=this.parentNode;i&&(v(this).remove(),i.insertBefore(t,e))}))},detach:function(t){return this.remove(t,!0)},domManip:function(t,e,i){t=h.apply([],t);var n,r,o,s,a,l,c,u,d=0,f=this.length,p=this,g=f-1,m=t[0],y=v.isFunction(m);if(y||!(f<=1||"string"!=typeof m||v.support.checkClone)&&xt.test(m))return this.each((function(n){var r=p.eq(n);y&&(t[0]=m.call(this,n,e?r.html():void 0)),r.domManip(t,e,i)}));if(f&&(n=(l=v.buildFragment(t,this[0].ownerDocument,!1,this)).firstChild,1===l.childNodes.length&&(l=n),n)){for(e=e&&v.nodeName(n,"tr"),o=(s=v.map(Rt(l,"script"),Ct)).length;d<f;d++)r=l,d!==g&&(r=v.clone(r,!0,!0),o&&v.merge(s,Rt(r,"script"))),i.call(e&&v.nodeName(this[d],"table")?(c=this[d],u="tbody",c.getElementsByTagName(u)[0]||c.appendChild(c.ownerDocument.createElement(u))):this[d],r,d);if(o)for(a=s[s.length-1].ownerDocument,v.map(s,At),d=0;d<o;d++)r=s[d],_t.test(r.type||"")&&!v._data(r,"globalEval")&&v.contains(a,r)&&(r.src?v.ajax({url:r.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):v.globalEval((r.text||r.textContent||r.innerHTML||"").replace(Et,"")));l=n=null}return this}}),v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){v.fn[t]=function(t){for(var i,n=0,r=[],o=v(t),s=o.length-1;n<=s;n++)i=n===s?this:this.clone(!0),v(o[n])[e](i),u.apply(r,i.get());return this.pushStack(r)}})),v.extend({clone:function(t,e,i){var n,r,o,s,a,l=v.contains(t.ownerDocument,t);if(v.support.html5Clone||v.isXMLDoc(t)||!ft.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(Tt.innerHTML=t.outerHTML,Tt.removeChild(o=Tt.firstChild)),!(v.support.noCloneEvent&&v.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||v.isXMLDoc(t)))for(n=Rt(o),a=Rt(t),s=0;null!=(r=a[s]);++s)n[s]&&It(r,n[s]);if(e)if(i)for(a=a||Rt(t),n=n||Rt(o),s=0;null!=(r=a[s]);s++)Nt(r,n[s]);else Nt(t,o);return(n=Rt(o,"script")).length>0&&Ot(n,!l&&Rt(t,"script")),n=a=r=null,o},buildFragment:function(t,e,i,n){for(var r,o,s,a,l,c,h,u=t.length,d=ht(e),f=[],p=0;p<u;p++)if((o=t[p])||0===o)if("object"===v.type(o))v.merge(f,o.nodeType?[o]:o);else if(yt.test(o)){for(a=a||d.appendChild(e.createElement("div")),l=(mt.exec(o)||["",""])[1].toLowerCase(),h=St[l]||St._default,a.innerHTML=h[1]+o.replace(gt,"<$1></$2>")+h[2],r=h[0];r--;)a=a.lastChild;if(!v.support.leadingWhitespace&&pt.test(o)&&f.push(e.createTextNode(pt.exec(o)[0])),!v.support.tbody)for(r=(o="table"!==l||vt.test(o)?"<table>"!==h[1]||vt.test(o)?0:a:a.firstChild)&&o.childNodes.length;r--;)v.nodeName(c=o.childNodes[r],"tbody")&&!c.childNodes.length&&o.removeChild(c);for(v.merge(f,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=d.lastChild}else f.push(e.createTextNode(o));for(a&&d.removeChild(a),v.support.appendChecked||v.grep(Rt(f,"input"),jt),p=0;o=f[p++];)if((!n||-1===v.inArray(o,n))&&(s=v.contains(o.ownerDocument,o),a=Rt(d.appendChild(o),"script"),s&&Ot(a),i))for(r=0;o=a[r++];)_t.test(o.type||"")&&i.push(o);return a=null,d},cleanData:function(t,e){for(var i,n,r,o,s=0,a=v.expando,l=v.cache,h=v.support.deleteExpando,u=v.event.special;null!=(i=t[s]);s++)if((e||v.acceptData(i))&&(o=(r=i[a])&&l[r])){if(o.events)for(n in o.events)u[n]?v.event.remove(i,n):v.removeEvent(i,n,o.handle);l[r]&&(delete l[r],h?delete i[a]:void 0!==i.removeAttribute?i.removeAttribute(a):i[a]=null,c.push(r))}}});var Lt,zt,Dt,Bt=/alpha\([^)]*\)/i,Pt=/opacity\s*=\s*([^)]*)/,Mt=/^(top|right|bottom|left)$/,Ft=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Ut=new RegExp("^("+y+")(.*)$","i"),Wt=new RegExp("^("+y+")(?!px)[a-z%]+$","i"),$t=new RegExp("^([+-])=("+y+")","i"),Ht={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},Yt=["Top","Right","Bottom","Left"],Gt=["Webkit","O","Moz","ms"];function Zt(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,r=Gt.length;r--;)if((e=Gt[r]+i)in t)return e;return n}function Kt(t,e){return t=e||t,"none"===v.css(t,"display")||!v.contains(t.ownerDocument,t)}function Qt(t,e){for(var i,n,r,o=[],s=0,a=t.length;s<a;s++)(n=t[s]).style&&(o[s]=v._data(n,"olddisplay"),i=n.style.display,e?(o[s]||"none"!==i||(n.style.display=""),""===n.style.display&&Kt(n)&&(o[s]=v._data(n,"olddisplay",ie(n.nodeName)))):o[s]||(r=Kt(n),(i&&"none"!==i||!r)&&v._data(n,"olddisplay",r?i:v.css(n,"display"))));for(s=0;s<a;s++)(n=t[s]).style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?o[s]||"":"none"));return t}function Jt(t,e,i){var n=Ut.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function te(t,e,i,n,r){for(var o=i===(n?"border":"content")?4:"width"===e?1:0,s=0;o<4;o+=2)"margin"===i&&(s+=v.css(t,i+Yt[o],!0,r)),n?("content"===i&&(s-=v.css(t,"padding"+Yt[o],!0,r)),"margin"!==i&&(s-=v.css(t,"border"+Yt[o]+"Width",!0,r))):(s+=v.css(t,"padding"+Yt[o],!0,r),"padding"!==i&&(s+=v.css(t,"border"+Yt[o]+"Width",!0,r)));return s}function ee(t,e,i){var n=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=zt(t),s=v.support.boxSizing&&"border-box"===v.css(t,"boxSizing",!1,o);if(r<=0||null==r){if(((r=Dt(t,e,o))<0||null==r)&&(r=t.style[e]),Wt.test(r))return r;n=s&&(v.support.boxSizingReliable||r===t.style[e]),r=parseFloat(r)||0}return r+te(t,e,i||(s?"border":"content"),n,o)+"px"}function ie(t){var e=r,i=Ht[t];return i||("none"!==(i=ne(t,e))&&i||((e=((Lt=(Lt||v("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||Lt[0].contentDocument).document).write("<!doctype html><html><body>"),e.close(),i=ne(t,e),Lt.detach()),Ht[t]=i),i}function ne(t,e){var i=v(e.createElement(t)).appendTo(e.body),n=v.css(i[0],"display");return i.remove(),n}v.fn.extend({css:function(t,e){return v.access(this,(function(t,e,i){var n,r,o={},s=0;if(v.isArray(e)){for(r=zt(t),n=e.length;s<n;s++)o[e[s]]=v.css(t,e[s],!1,r);return o}return void 0!==i?v.style(t,e,i):v.css(t,e)}),t,e,arguments.length>1)},show:function(){return Qt(this,!0)},hide:function(){return Qt(this)},toggle:function(t){var e="boolean"==typeof t;return this.each((function(){(e?t:Kt(this))?v(this).show():v(this).hide()}))}}),v.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Dt(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:v.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=v.camelCase(e),l=t.style;if(e=v.cssProps[a]||(v.cssProps[a]=Zt(l,a)),s=v.cssHooks[e]||v.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(r=s.get(t,!1,n))?r:l[e];if(!("string"===(o=typeof i)&&(r=$t.exec(i))&&(i=(r[1]+1)*r[2]+parseFloat(v.css(t,e)),o="number"),null==i||"number"===o&&isNaN(i)||("number"!==o||v.cssNumber[a]||(i+="px"),v.support.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(i=s.set(t,i,n)))))try{l[e]=i}catch(t){}}},css:function(t,e,i,n){var r,o,s,a=v.camelCase(e);return e=v.cssProps[a]||(v.cssProps[a]=Zt(t.style,a)),(s=v.cssHooks[e]||v.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,i)),void 0===o&&(o=Dt(t,e,n)),"normal"===o&&e in Vt&&(o=Vt[e]),""===i||i?(r=parseFloat(o),!0===i||v.isNumeric(r)?r||0:o):o},swap:function(t,e,i,n){var r,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];for(o in r=i.apply(t,n||[]),e)t.style[o]=s[o];return r}}),t.getComputedStyle?(zt=function(e){return t.getComputedStyle(e,null)},Dt=function(t,e,i){var n,r,o,s=i||zt(t),a=s?s.getPropertyValue(e)||s[e]:void 0,l=t.style;return s&&(""!==a||v.contains(t.ownerDocument,t)||(a=v.style(t,e)),Wt.test(a)&&qt.test(e)&&(n=l.width,r=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=s.width,l.width=n,l.minWidth=r,l.maxWidth=o)),a}):r.documentElement.currentStyle&&(zt=function(t){return t.currentStyle},Dt=function(t,e,i){var n,r,o,s=i||zt(t),a=s?s[e]:void 0,l=t.style;return null==a&&l&&l[e]&&(a=l[e]),Wt.test(a)&&!Mt.test(e)&&(n=l.left,(o=(r=t.runtimeStyle)&&r.left)&&(r.left=t.currentStyle.left),l.left="fontSize"===e?"1em":a,a=l.pixelLeft+"px",l.left=n,o&&(r.left=o)),""===a?"auto":a}),v.each(["height","width"],(function(t,e){v.cssHooks[e]={get:function(t,i,n){if(i)return 0===t.offsetWidth&&Ft.test(v.css(t,"display"))?v.swap(t,Xt,(function(){return ee(t,e,n)})):ee(t,e,n)},set:function(t,i,n){var r=n&&zt(t);return Jt(0,i,n?te(t,e,n,v.support.boxSizing&&"border-box"===v.css(t,"boxSizing",!1,r),r):0)}}})),v.support.opacity||(v.cssHooks.opacity={get:function(t,e){return Pt.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,r=v.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=n&&n.filter||i.filter||"";i.zoom=1,(e>=1||""===e)&&""===v.trim(o.replace(Bt,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=Bt.test(o)?o.replace(Bt,r):o+" "+r)}}),v((function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(t,e){if(e)return v.swap(t,{display:"inline-block"},Dt,[t,"marginRight"])}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],(function(t,e){v.cssHooks[e]={get:function(t,i){if(i)return i=Dt(t,e),Wt.test(i)?v(t).position()[e]+"px":i}}}))})),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!v.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||v.css(t,"display"))},v.expr.filters.visible=function(t){return!v.expr.filters.hidden(t)}),v.each({margin:"",padding:"",border:"Width"},(function(t,e){v.cssHooks[t+e]={expand:function(i){for(var n=0,r={},o="string"==typeof i?i.split(" "):[i];n<4;n++)r[t+Yt[n]+e]=o[n]||o[n-2]||o[0];return r}},qt.test(t)||(v.cssHooks[t+e].set=Jt)}));var re=/%20/g,oe=/\[\]$/,se=/\r?\n/g,ae=/^(?:submit|button|image|reset|file)$/i,le=/^(?:input|select|textarea|keygen)/i;function ce(t,e,i,n){var r;if(v.isArray(e))v.each(e,(function(e,r){i||oe.test(t)?n(t,r):ce(t+"["+("object"==typeof r?e:"")+"]",r,i,n)}));else if(i||"object"!==v.type(e))n(t,e);else for(r in e)ce(t+"["+r+"]",e[r],i,n)}v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=v.prop(this,"elements");return t?v.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!v(this).is(":disabled")&&le.test(this.nodeName)&&!ae.test(t)&&(this.checked||!wt.test(t))})).map((function(t,e){var i=v(this).val();return null==i?null:v.isArray(i)?v.map(i,(function(t){return{name:e.name,value:t.replace(se,"\r\n")}})):{name:e.name,value:i.replace(se,"\r\n")}})).get()}}),v.param=function(t,e){var i,n=[],r=function(t,e){e=v.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=v.ajaxSettings&&v.ajaxSettings.traditional),v.isArray(t)||t.jquery&&!v.isPlainObject(t))v.each(t,(function(){r(this.name,this.value)}));else for(i in t)ce(i,t[i],e,r);return n.join("&").replace(re,"+")},v.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(t,e){v.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}})),v.fn.hover=function(t,e){return this.mouseenter(t).mouseleave(e||t)};var he,ue,de=v.now(),fe=/\?/,pe=/#.*$/,ge=/([?&])_=[^&]*/,me=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,ve=/^(?:GET|HEAD)$/,ye=/^\/\//,be=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,we=v.fn.load,xe={},_e={},ke="*/".concat("*");try{ue=o.href}catch(t){(ue=r.createElement("a")).href="",ue=ue.href}function Ee(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,r=0,o=e.toLowerCase().match(b)||[];if(v.isFunction(i))for(;n=o[r++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function Se(t,e,i,n){var r={},o=t===_e;function s(a){var l;return r[a]=!0,v.each(t[a]||[],(function(t,a){var c=a(e,i,n);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(e.dataTypes.unshift(c),s(c),!1)})),l}return s(e.dataTypes[0])||!r["*"]&&s("*")}function Te(t,e){var i,n,r=v.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&v.extend(!0,t,i),t}he=be.exec(ue.toLowerCase())||[],v.fn.load=function(t,e,i){if("string"!=typeof t&&we)return we.apply(this,arguments);var n,r,o,s=this,a=t.indexOf(" ");return a>=0&&(n=t.slice(a,t.length),t=t.slice(0,a)),v.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&v.ajax({url:t,type:o,dataType:"html",data:e}).done((function(t){r=arguments,s.html(n?v("<div>").append(v.parseHTML(t)).find(n):t)})).complete(i&&function(t,e){s.each(i,r||[t.responseText,e,t])}),this},v.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){v.fn[e]=function(t){return this.on(e,t)}})),v.each(["get","post"],(function(t,e){v[e]=function(t,i,n,r){return v.isFunction(i)&&(r=r||n,n=i,i=void 0),v.ajax({url:t,type:e,dataType:r,data:i,success:n})}})),v.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ue,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(he[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ke,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":t.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Te(Te(t,v.ajaxSettings),e):Te(v.ajaxSettings,t)},ajaxPrefilter:Ee(xe),ajaxTransport:Ee(_e),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,n,r,o,s,a,l,c,h=v.ajaxSetup({},e),u=h.context||h,d=h.context&&(u.nodeType||u.jquery)?v(u):v.event,f=v.Deferred(),p=v.Callbacks("once memory"),g=h.statusCode||{},m={},y={},w=0,x="canceled",_={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!c)for(c={};e=me.exec(o);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?o:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return w||(t=y[i]=y[i]||t,m[t]=e),this},overrideMimeType:function(t){return w||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)g[e]=[g[e],t[e]];else _.always(t[_.status]);return this},abort:function(t){var e=t||x;return l&&l.abort(e),k(0,e),this}};if(f.promise(_).complete=p.add,_.success=_.done,_.error=_.fail,h.url=((t||h.url||ue)+"").replace(pe,"").replace(ye,he[1]+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=v.trim(h.dataType||"*").toLowerCase().match(b)||[""],null==h.crossDomain&&(i=be.exec(h.url.toLowerCase()),h.crossDomain=!(!i||i[1]===he[1]&&i[2]===he[2]&&(i[3]||("http:"===i[1]?80:443))==(he[3]||("http:"===he[1]?80:443)))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=v.param(h.data,h.traditional)),Se(xe,h,e,_),2===w)return _;for(n in(a=h.global)&&0==v.active++&&v.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!ve.test(h.type),r=h.url,h.hasContent||(h.data&&(r=h.url+=(fe.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=ge.test(r)?r.replace(ge,"$1_="+de++):r+(fe.test(r)?"&":"?")+"_="+de++)),h.ifModified&&(v.lastModified[r]&&_.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&_.setRequestHeader("If-None-Match",v.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&_.setRequestHeader("Content-Type",h.contentType),_.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+ke+"; q=0.01":""):h.accepts["*"]),h.headers)_.setRequestHeader(n,h.headers[n]);if(h.beforeSend&&(!1===h.beforeSend.call(u,_,h)||2===w))return _.abort();for(n in x="abort",{success:1,error:1,complete:1})_[n](h[n]);if(l=Se(_e,h,e,_)){_.readyState=1,a&&d.trigger("ajaxSend",[_,h]),h.async&&h.timeout>0&&(s=setTimeout((function(){_.abort("timeout")}),h.timeout));try{w=1,l.send(m,k)}catch(t){if(!(w<2))throw t;k(-1,t)}}else k(-1,"No Transport");function k(t,e,i,n){var c,m,y,b,x,k=e;2!==w&&(w=2,s&&clearTimeout(s),l=void 0,o=n||"",_.readyState=t>0?4:0,i&&(b=function(t,e,i){var n,r,o,s,a=t.contents,l=t.dataTypes,c=t.responseFields;for(s in c)s in i&&(e[c[s]]=i[s]);for(;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(s in a)if(a[s]&&a[s].test(r)){l.unshift(s);break}if(l[0]in i)o=l[0];else{for(s in i){if(!l[0]||t.converters[s+" "+l[0]]){o=s;break}n||(n=s)}o=o||n}if(o)return o!==l[0]&&l.unshift(o),i[o]}(h,_,i)),t>=200&&t<300||304===t?(h.ifModified&&((x=_.getResponseHeader("Last-Modified"))&&(v.lastModified[r]=x),(x=_.getResponseHeader("etag"))&&(v.etag[r]=x)),204===t?(c=!0,k="nocontent"):304===t?(c=!0,k="notmodified"):(k=(c=function(t,e){var i,n,r,o,s={},a=0,l=t.dataTypes.slice(),c=l[0];t.dataFilter&&(e=t.dataFilter(e,t.dataType));if(l[1])for(r in t.converters)s[r.toLowerCase()]=t.converters[r];for(;n=l[++a];)if("*"!==n){if("*"!==c&&c!==n){if(!(r=s[c+" "+n]||s["* "+n]))for(i in s)if((o=i.split(" "))[1]===n&&(r=s[c+" "+o[0]]||s["* "+o[0]])){!0===r?r=s[i]:!0!==s[i]&&(n=o[0],l.splice(a--,0,n));break}if(!0!==r)if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+c+" to "+n}}}c=n}return{state:"success",data:e}}(h,b)).state,m=c.data,c=!(y=c.error))):(y=k,!t&&k||(k="error",t<0&&(t=0))),_.status=t,_.statusText=(e||k)+"",c?f.resolveWith(u,[m,k,_]):f.rejectWith(u,[_,k,y]),_.statusCode(g),g=void 0,a&&d.trigger(c?"ajaxSuccess":"ajaxError",[_,h,c?m:y]),p.fireWith(u,[_,k]),a&&(d.trigger("ajaxComplete",[_,h]),--v.active||v.event.trigger("ajaxStop")))}return _},getScript:function(t,e){return v.get(t,void 0,e,"script")},getJSON:function(t,e,i){return v.get(t,e,i,"json")}}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return v.globalEval(t),t}}}),v.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)})),v.ajaxTransport("script",(function(t){if(t.crossDomain){var e,i=r.head||v("head")[0]||r.documentElement;return{send:function(n,o){(e=r.createElement("script")).async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,i||o(200,"success"))},i.insertBefore(e,i.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}}));var Ce=[],Ae=/(=)\?(?=&|$)|\?\?/;v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ce.pop()||v.expando+"_"+de++;return this[t]=!0,t}}),v.ajaxPrefilter("json jsonp",(function(e,i,n){var r,o,s,a=!1!==e.jsonp&&(Ae.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ae.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ae,"$1"+r):!1!==e.jsonp&&(e.url+=(fe.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||v.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){s=arguments},n.always((function(){t[r]=o,e[r]&&(e.jsonpCallback=i.jsonpCallback,Ce.push(r)),s&&v.isFunction(o)&&o(s[0]),s=o=void 0})),"script"}));var Oe,Ne,Ie=0,Re=t.ActiveXObject&&function(){var t;for(t in Oe)Oe[t](void 0,!0)};function je(){try{return new t.XMLHttpRequest}catch(t){}}v.ajaxSettings.xhr=t.ActiveXObject?function(){return!this.isLocal&&je()||function(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:je,Ne=v.ajaxSettings.xhr(),v.support.cors=!!Ne&&"withCredentials"in Ne,(Ne=v.support.ajax=!!Ne)&&v.ajaxTransport((function(e){var i;if(!e.crossDomain||v.support.cors)return{send:function(n,r){var o,s,a=e.xhr();if(e.username?a.open(e.type,e.url,e.async,e.username,e.password):a.open(e.type,e.url,e.async),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");try{for(s in n)a.setRequestHeader(s,n[s])}catch(t){}a.send(e.hasContent&&e.data||null),i=function(t,n){var s,l,c,h;try{if(i&&(n||4===a.readyState))if(i=void 0,o&&(a.onreadystatechange=v.noop,Re&&delete Oe[o]),n)4!==a.readyState&&a.abort();else{h={},s=a.status,l=a.getAllResponseHeaders(),"string"==typeof a.responseText&&(h.text=a.responseText);try{c=a.statusText}catch(t){c=""}s||!e.isLocal||e.crossDomain?1223===s&&(s=204):s=h.text?200:404}}catch(t){n||r(-1,t)}h&&r(s,c,h,l)},e.async?4===a.readyState?setTimeout(i):(o=++Ie,Re&&(Oe||(Oe={},v(t).unload(Re)),Oe[o]=i),a.onreadystatechange=i):i()},abort:function(){i&&i(void 0,!0)}}}));var Le,ze,De=/^(?:toggle|show|hide)$/,Be=new RegExp("^(?:([+-])=|)("+y+")([a-z%]*)$","i"),Pe=/queueHooks$/,Me=[function(t,e,i){var n,r,o,s,a,l,c,h,u,d=this,f=t.style,p={},g=[],m=t.nodeType&&Kt(t);i.queue||(null==(h=v._queueHooks(t,"fx")).unqueued&&(h.unqueued=0,u=h.empty.fire,h.empty.fire=function(){h.unqueued||u()}),h.unqueued++,d.always((function(){d.always((function(){h.unqueued--,v.queue(t,"fx").length||h.empty.fire()}))})));1===t.nodeType&&("height"in e||"width"in e)&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===v.css(t,"display")&&"none"===v.css(t,"float")&&(v.support.inlineBlockNeedsLayout&&"inline"!==ie(t.nodeName)?f.zoom=1:f.display="inline-block"));i.overflow&&(f.overflow="hidden",v.support.shrinkWrapBlocks||d.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})));for(r in e)if(s=e[r],De.exec(s)){if(delete e[r],l=l||"toggle"===s,s===(m?"hide":"show"))continue;g.push(r)}if(o=g.length){"hidden"in(a=v._data(t,"fxshow")||v._data(t,"fxshow",{}))&&(m=a.hidden),l&&(a.hidden=!m),m?v(t).show():d.done((function(){v(t).hide()})),d.done((function(){var e;for(e in v._removeData(t,"fxshow"),p)v.style(t,e,p[e])}));for(r=0;r<o;r++)n=g[r],c=d.createTween(n,m?a[n]:0),p[n]=a[n]||v.style(t,n),n in a||(a[n]=c.start,m&&(c.end=c.start,c.start="width"===n||"height"===n?1:0))}}],Fe={"*":[function(t,e){var i,n,r=this.createTween(t,e),o=Be.exec(e),s=r.cur(),a=+s||0,l=1,c=20;if(o){if(i=+o[2],"px"!==(n=o[3]||(v.cssNumber[t]?"":"px"))&&a){a=v.css(r.elem,t,!0)||i||1;do{a/=l=l||".5",v.style(r.elem,t,a+n)}while(l!==(l=r.cur()/s)&&1!==l&&--c)}r.unit=n,r.start=a,r.end=o[1]?a+(o[1]+1)*i:i}return r}]};function qe(){return setTimeout((function(){Le=void 0})),Le=v.now()}function Ue(t,e,i){var n,r,o=0,s=Me.length,a=v.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var e=Le||qe(),i=Math.max(0,c.startTime+c.duration-e),n=1-(i/c.duration||0),o=0,s=c.tweens.length;o<s;o++)c.tweens[o].run(n);return a.notifyWith(t,[c,n,i]),n<1&&s?i:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:v.extend({},e),opts:v.extend(!0,{specialEasing:{}},i),originalProperties:e,originalOptions:i,startTime:Le||qe(),duration:i.duration,tweens:[],createTween:function(e,i){var n=v.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var i=0,n=e?c.tweens.length:0;if(r)return this;for(r=!0;i<n;i++)c.tweens[i].run(1);return e?a.resolveWith(t,[c,e]):a.rejectWith(t,[c,e]),this}}),h=c.props;for(!function(t,e){var i,n,r,o,s;for(r in t)if(n=v.camelCase(r),o=e[n],i=t[r],v.isArray(i)&&(o=i[1],i=t[r]=i[0]),r!==n&&(t[n]=i,delete t[r]),(s=v.cssHooks[n])&&"expand"in s)for(r in i=s.expand(i),delete t[n],i)r in t||(t[r]=i[r],e[r]=o);else e[n]=o}(h,c.opts.specialEasing);o<s;o++)if(n=Me[o].call(c,t,h,c.opts))return n;return function(t,e){v.each(e,(function(e,i){for(var n=(Fe[e]||[]).concat(Fe["*"]),r=0,o=n.length;r<o;r++)if(n[r].call(t,e,i))return}))}(c,h),v.isFunction(c.opts.start)&&c.opts.start.call(t,c),v.fx.timer(v.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function We(t,e,i,n,r){return new We.prototype.init(t,e,i,n,r)}function $e(t,e){var i,n={height:t},r=0;for(e=e?1:0;r<4;r+=2-e)n["margin"+(i=Yt[r])]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function He(t){return v.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}v.Animation=v.extend(Ue,{tweener:function(t,e){v.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,r=t.length;n<r;n++)i=t[n],Fe[i]=Fe[i]||[],Fe[i].unshift(e)},prefilter:function(t,e){e?Me.unshift(t):Me.push(t)}}),v.Tween=We,We.prototype={constructor:We,init:function(t,e,i,n,r,o){this.elem=t,this.prop=i,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(v.cssNumber[i]?"":"px")},cur:function(){var t=We.propHooks[this.prop];return t&&t.get?t.get(this):We.propHooks._default.get(this)},run:function(t){var e,i=We.propHooks[this.prop];return this.options.duration?this.pos=e=v.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):We.propHooks._default.set(this),this}},We.prototype.init.prototype=We.prototype,We.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=v.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){v.fx.step[t.prop]?v.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[v.cssProps[t.prop]]||v.cssHooks[t.prop])?v.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},We.propHooks.scrollTop=We.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},v.each(["toggle","show","hide"],(function(t,e){var i=v.fn[e];v.fn[e]=function(t,n,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate($e(e,!0),t,n,r)}})),v.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Kt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=v.isEmptyObject(t),o=v.speed(e,i,n),s=function(){var e=Ue(this,v.extend({},t),o);s.finish=function(){e.stop(!0)},(r||v._data(this,"finish"))&&e.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each((function(){var e=!0,r=null!=t&&t+"queueHooks",o=v.timers,s=v._data(this);if(r)s[r]&&s[r].stop&&n(s[r]);else for(r in s)s[r]&&s[r].stop&&Pe.test(r)&&n(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(i),e=!1,o.splice(r,1));!e&&i||v.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,i=v._data(this),n=i[t+"queue"],r=i[t+"queueHooks"],o=v.timers,s=n?n.length:0;for(i.finish=!0,v.queue(this,t,[]),r&&r.cur&&r.cur.finish&&r.cur.finish.call(this),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish}))}}),v.each({slideDown:$e("show"),slideUp:$e("hide"),slideToggle:$e("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){v.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}})),v.speed=function(t,e,i){var n=t&&"object"==typeof t?v.extend({},t):{complete:i||!i&&e||v.isFunction(t)&&t,duration:t,easing:i&&e||e&&!v.isFunction(e)&&e};return n.duration=v.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in v.fx.speeds?v.fx.speeds[n.duration]:v.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){v.isFunction(n.old)&&n.old.call(this),n.queue&&v.dequeue(this,n.queue)},n},v.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},v.timers=[],v.fx=We.prototype.init,v.fx.tick=function(){var t,e=v.timers,i=0;for(Le=v.now();i<e.length;i++)(t=e[i])()||e[i]!==t||e.splice(i--,1);e.length||v.fx.stop(),Le=void 0},v.fx.timer=function(t){t()&&v.timers.push(t)&&v.fx.start()},v.fx.interval=13,v.fx.start=function(){ze||(ze=setInterval(v.fx.tick,v.fx.interval))},v.fx.stop=function(){clearInterval(ze),ze=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fx.step={},v.expr&&v.expr.filters&&(v.expr.filters.animated=function(t){return v.grep(v.timers,(function(e){return t===e.elem})).length}),v.fn.offset=function(t){if(arguments.length)return void 0===t?this:this.each((function(e){v.offset.setOffset(this,t,e)}));var e,i,n={top:0,left:0},r=this[0],o=r&&r.ownerDocument;return o?(e=o.documentElement,v.contains(e,r)?(void 0!==r.getBoundingClientRect&&(n=r.getBoundingClientRect()),i=He(o),{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n):void 0},v.offset={setOffset:function(t,e,i){var n=v.css(t,"position");"static"===n&&(t.style.position="relative");var r,o,s=v(t),a=s.offset(),l=v.css(t,"top"),c=v.css(t,"left"),h={},u={};("absolute"===n||"fixed"===n)&&v.inArray("auto",[l,c])>-1?(r=(u=s.position()).top,o=u.left):(r=parseFloat(l)||0,o=parseFloat(c)||0),v.isFunction(e)&&(e=e.call(t,i,a)),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):s.css(h)}},v.fn.extend({position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===v.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),v.nodeName(t[0],"html")||(i=t.offset()),i.top+=v.css(t[0],"borderTopWidth",!0),i.left+=v.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-v.css(n,"marginTop",!0),left:e.left-i.left-v.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent||r.documentElement;t&&!v.nodeName(t,"html")&&"static"===v.css(t,"position");)t=t.offsetParent;return t||r.documentElement}))}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i=/Y/.test(e);v.fn[t]=function(n){return v.access(this,(function(t,n,r){var o=He(t);if(void 0===r)return o?e in o?o[e]:o.document.documentElement[n]:t[n];o?o.scrollTo(i?v(o).scrollLeft():r,i?r:v(o).scrollTop()):t[n]=r}),t,n,arguments.length,null)}})),v.each({Height:"height",Width:"width"},(function(t,e){v.each({padding:"inner"+t,content:e,"":"outer"+t},(function(i,n){v.fn[n]=function(n,r){var o=arguments.length&&(i||"boolean"!=typeof n),s=i||(!0===n||!0===r?"margin":"border");return v.access(this,(function(e,i,n){var r;return v.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===n?v.css(e,i,s):v.style(e,i,n,s)}),e,o?n:void 0,o,null)}}))})),t.jQuery=t.$=v,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],(function(){return v}))}(window),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",(function(){i=!0}));return setTimeout((function(){i||t(n).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})}))}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){s.detach().trigger("closed.bs.alert").remove()}var r=t(this),o=r.attr("data-target");o||(o=(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var s=t(o);e&&e.preventDefault(),s.length||(s=r.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var n=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof e&&r[e].call(n)}))},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var n=t(this),r=n.data("bs.button"),o="object"==typeof e&&e;r||n.data("bs.button",r=new i(this,o)),"toggle"==e?r.toggle():e&&r.setState(e)}))}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.isLoading=!1};i.VERSION="3.3.5",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",n=this.$element,r=n.is("input")?"val":"html",o=n.data();e+="Text",null==o.resetText&&n.data("resetText",n[r]()),setTimeout(t.proxy((function(){n[r](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,n.removeClass(i).removeAttr(i))}),this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(i){var n=t(i.target);n.hasClass("btn")||(n=n.closest(".btn")),e.call(n,"toggle"),t(i.target).is('input[type="radio"]')||t(i.target).is('input[type="checkbox"]')||i.preventDefault()})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var n=t(this),r=n.data("bs.carousel"),o=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e),s="string"==typeof e?e:o.slide;r||n.data("bs.carousel",r=new i(this,o)),"number"==typeof e?r.to(e):s?r[s]():o.interval&&r.pause().cycle()}))}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.3.5",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var n=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(n)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){return this.sliding?void 0:this.slide("next")},i.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},i.prototype.slide=function(e,n){var r=this.$element.find(".item.active"),o=n||this.getItemForDirection(e,r),s=this.interval,a="next"==e?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var c=o[0],h=t.Event("slide.bs.carousel",{relatedTarget:c,direction:a});if(this.$element.trigger(h),!h.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var u=t(this.$indicators.children()[this.getItemIndex(o)]);u&&u.addClass("active")}var d=t.Event("slid.bs.carousel",{relatedTarget:c,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(e),o[0].offsetWidth,r.addClass(a),o.addClass(a),r.one("bsTransitionEnd",(function(){o.removeClass([e,a].join(" ")).addClass("active"),r.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(d)}),0)})).emulateTransitionEnd(i.TRANSITION_DURATION)):(r.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(d)),s&&this.cycle(),this}};var n=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=i,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this};var r=function(i){var n,r=t(this),o=t(r.attr("data-target")||(n=r.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var s=t.extend({},o.data(),r.data()),a=r.attr("data-slide-to");a&&(s.interval=!1),e.call(o,s),a&&o.data("bs.carousel").to(a),i.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var i=t(this);e.call(i,i.data())}))}))}(jQuery),function(t){"use strict";function e(e){var i,n=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(n)}function i(e){return this.each((function(){var i=t(this),r=i.data("bs.collapse"),o=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e);!r&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),r||i.data("bs.collapse",r=new n(this,o)),"string"==typeof e&&r[e]()}))}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};n.VERSION="3.3.5",n.TRANSITION_DURATION=350,n.DEFAULTS={toggle:!0},n.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},n.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"),e&&e.transitioning))){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){r&&r.length&&(i.call(r,"hide"),e||r.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(n.TRANSITION_DURATION)[s](this.$element[0][l])}}}},n.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[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 r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[i](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(n.TRANSITION_DURATION):r.call(this)}}},n.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},n.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(i,n){var r=t(n);this.addAriaAndCollapsedClass(e(r),r)}),this)).end()},n.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var r=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=n,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(n){var r=t(this);r.attr("data-target")||n.preventDefault();var o=e(r),s=o.data("bs.collapse")?"toggle":r.data();i.call(o,s)}))}(jQuery),function(t){"use strict";function e(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&t(i);return n&&n.length?n:e.parent()}function i(i){i&&3===i.which||(t(n).remove(),t(r).each((function(){var n=t(this),r=e(n),o={relatedTarget:this};r.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(r[0],i.target)||(r.trigger(i=t.Event("hide.bs.dropdown",o)),i.isDefaultPrevented()||(n.attr("aria-expanded","false"),r.removeClass("open").trigger("hidden.bs.dropdown",o))))})))}var n=".dropdown-backdrop",r='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.5",o.prototype.toggle=function(n){var r=t(this);if(!r.is(".disabled, :disabled")){var o=e(r),s=o.hasClass("open");if(i(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",i);var a={relatedTarget:this};if(o.trigger(n=t.Event("show.bs.dropdown",a)),n.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",a)}return!1}},o.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var n=t(this);if(i.preventDefault(),i.stopPropagation(),!n.is(".disabled, :disabled")){var o=e(n),s=o.hasClass("open");if(!s&&27!=i.which||s&&27==i.which)return 27==i.which&&o.find(r).trigger("focus"),n.trigger("click");var a=o.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var l=a.index(i.target);38==i.which&&l>0&&l--,40==i.which&&l<a.length-1&&l++,~l||(l=0),a.eq(l).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=function(e){return this.each((function(){var i=t(this),n=i.data("bs.dropdown");n||i.data("bs.dropdown",n=new o(this)),"string"==typeof e&&n[e].call(i)}))},t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",r,o.prototype.toggle).on("keydown.bs.dropdown.data-api",r,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(jQuery),function(t){"use strict";function e(e,n){return this.each((function(){var r=t(this),o=r.data("bs.modal"),s=t.extend({},i.DEFAULTS,r.data(),"object"==typeof e&&e);o||r.data("bs.modal",o=new i(this,s)),"string"==typeof e?o[e](n):s.show&&o.show(n)}))}var i=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};i.VERSION="3.3.5",i.TRANSITION_DURATION=300,i.BACKDROP_TRANSITION_DURATION=150,i.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},i.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},i.prototype.show=function(e){var n=this,r=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){n.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(n.$element)&&(n.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var r=t.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),r&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:e});r?n.$dialog.one("bsTransitionEnd",(function(){n.$element.trigger("focus").trigger(o)})).emulateTransitionEnd(i.TRANSITION_DURATION):n.$element.trigger("focus").trigger(o)})))},i.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(i.TRANSITION_DURATION):this.hideModal())},i.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},i.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},i.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},i.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},i.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},i.prototype.backdrop=function(e){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&r;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))}),this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;o?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){n.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):s()}else e&&e()},i.prototype.handleUpdate=function(){this.adjustDialog()},i.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},i.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},i.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},i.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},i.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var n=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=i,t.fn.modal.noConflict=function(){return t.fn.modal=n,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(i){var n=t(this),r=n.attr("href"),o=t(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},o.data(),n.data());n.is("a")&&i.preventDefault(),o.one("show.bs.modal",(function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",(function(){n.is(":visible")&&n.trigger("focus")}))})),e.call(o,s,this)}))}(jQuery),function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(t.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 r=this.options.trigger.split(" "),o=r.length;o--;){var s=r[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,(function(t,n){i[t]!=n&&(e[t]=n)})),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)):i.show())},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)):i.hide())},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!n)return;var r=this,o=this.tip(),s=this.getUID(this.type);this.setContent(),o.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(a);c&&(a=a.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var h=this.getPosition(),u=o[0].offsetWidth,d=o[0].offsetHeight;if(c){var f=a,p=this.getPosition(this.$viewport);a="bottom"==a&&h.bottom+d>p.bottom?"top":"top"==a&&h.top-d<p.top?"bottom":"right"==a&&h.right+u>p.width?"left":"left"==a&&h.left-u<p.left?"right":a,o.removeClass(f).addClass(a)}var g=this.getCalculatedOffset(a,h,u,d);this.applyPlacement(g,a);var m=function(){var t=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==t&&r.leave(r)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",m).emulateTransitionEnd(e.TRANSITION_DURATION):m()}},e.prototype.applyPlacement=function(e,i){var n=this.tip(),r=n[0].offsetWidth,o=n[0].offsetHeight,s=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top+=s,e.left+=a,t.offset.setOffset(n[0],t.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),n.addClass("in");var l=n[0].offsetWidth,c=n[0].offsetHeight;"top"==i&&c!=o&&(e.top=e.top+o-c);var h=this.getViewportAdjustedDelta(i,e,l,c);h.left?e.left+=h.left:e.top+=h.top;var u=/top|bottom/.test(i),d=u?2*h.left-r+l:2*h.top-o+c,f=u?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(d,n[0][f],u)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(i){function n(){"in"!=r.hoverState&&o.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),i&&i()}var r=this,o=t(this.$tip),s=t.Event("hide.bs."+this.type);return this.$element.trigger(s),s.isDefaultPrevented()?void 0:(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(e.TRANSITION_DURATION):n(),this.hoverState=null,this)},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],n="BODY"==i.tagName,r=i.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var o=n?{top:0,left:0}:e.offset(),s={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=n?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},r,s,a,o)},e.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,i,n){var r={top:0,left:0};if(!this.$viewport)return r;var o=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-o-s.scroll,l=e.top+o-s.scroll+n;a<s.top?r.top=s.top-a:l>s.top+s.height&&(r.top=s.top+s.height-l)}else{var c=e.left-o,h=e.left+o+i;c<s.left?r.left=s.left-c:h>s.right&&(r.left=s.left+s.width-h)}return r},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(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},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null}))};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each((function(){var n=t(this),r=n.data("bs.tooltip"),o="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||n.data("bs.tooltip",r=new e(this,o)),"string"==typeof i&&r[i]())}))},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.5",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=function(i){return this.each((function(){var n=t(this),r=n.data("bs.popover"),o="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||n.data("bs.popover",r=new e(this,o)),"string"==typeof i&&r[i]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";function e(i,n){this.$body=t(document.body),this.$scrollElement=t(t(i).is(document.body)?window:i),this.options=t.extend({},e.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each((function(){var n=t(this),r=n.data("bs.scrollspy"),o="object"==typeof i&&i;r||n.data("bs.scrollspy",r=new e(this,o)),"string"==typeof i&&r[i]()}))}e.VERSION="3.3.5",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),r=e.data("target")||e.attr("href"),o=/^#./.test(r)&&t(r);return o&&o.length&&o.is(":visible")&&[[o[i]().top+n,r]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),r=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=n)return s!=(t=o[o.length-1])&&this.activate(t);if(s&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)s!=o[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=t(i).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var n=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load.bs.scrollspy.data-api",(function(){t('[data-spy="scroll"]').each((function(){var e=t(this);i.call(e,e.data())}))}))}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var n=t(this),r=n.data("bs.tab");r||n.data("bs.tab",r=new i(this)),"string"==typeof e&&r[e]()}))}var i=function(e){this.element=t(e)};i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=i.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(o),e.trigger(s),!s.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=t(n);this.activate(e.closest("li"),i),this.activate(a,a.parent(),(function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}}},i.prototype.activate=function(e,n,r){function o(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var s=n.find("> .active"),a=r&&t.support.transition&&(s.length&&s.hasClass("fade")||!!n.find("> .fade").length);s.length&&a?s.one("bsTransitionEnd",o).emulateTransitionEnd(i.TRANSITION_DURATION):o(),s.removeClass("in")};var n=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var r=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var n=t(this),r=n.data("bs.affix"),o="object"==typeof e&&e;r||n.data("bs.affix",r=new i(this,o)),"string"==typeof e&&r[e]()}))}var i=function(e,n){this.options=t.extend({},i.DEFAULTS,n),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};i.VERSION="3.3.5",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,e,i,n){var r=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=i&&"top"==this.affixed)return i>r&&"top";if("bottom"==this.affixed)return null!=i?!(r+this.unpin<=o.top)&&"bottom":!(t-n>=r+s)&&"bottom";var a=null==this.affixed,l=a?r:o.top;return null!=i&&i>=r?"top":null!=n&&l+(a?s:e)>=t-n&&"bottom"},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),n=this.options.offset,r=n.top,o=n.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof n&&(o=r=n),"function"==typeof r&&(r=n.top(this.$element)),"function"==typeof o&&(o=n.bottom(this.$element));var a=this.getState(s,e,r,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-e-o})}};var n=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=i,t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var i=t(this),n=i.data();n.offset=n.offset||{},null!=n.offsetBottom&&(n.offset.bottom=n.offsetBottom),null!=n.offsetTop&&(n.offset.top=n.offsetTop),e.call(i,n)}))}))}(jQuery),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}}((function(){return function t(e,i,n){function r(s,a){if(!i[s]){if(!e[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var h=i[s]={exports:{}};e[s][0].call(h.exports,(function(t){var i=e[s][1][t];return r(i||t)}),h,h.exports,t,e,i,n)}return i[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)r(n[s]);return r}({1:[function(t,e,i){"use strict";var n=t("./utils"),r=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(t){for(var e,i,r,s,a,l,c,h=[],u=0,d=t.length,f=d,p="string"!==n.getTypeOf(t);u<t.length;)f=d-u,p?(e=t[u++],i=u<d?t[u++]:0,r=u<d?t[u++]:0):(e=t.charCodeAt(u++),i=u<d?t.charCodeAt(u++):0,r=u<d?t.charCodeAt(u++):0),s=e>>2,a=(3&e)<<4|i>>4,l=f>1?(15&i)<<2|r>>6:64,c=f>2?63&r:64,h.push(o.charAt(s)+o.charAt(a)+o.charAt(l)+o.charAt(c));return h.join("")},i.decode=function(t){var e,i,n,s,a,l,c=0,h=0,u="data:";if(t.substr(0,u.length)===u)throw new Error("Invalid base64 input, it looks like a data url.");var d,f=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&f--,t.charAt(t.length-2)===o.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=r.uint8array?new Uint8Array(0|f):new Array(0|f);c<t.length;)e=o.indexOf(t.charAt(c++))<<2|(s=o.indexOf(t.charAt(c++)))>>4,i=(15&s)<<4|(a=o.indexOf(t.charAt(c++)))>>2,n=(3&a)<<6|(l=o.indexOf(t.charAt(c++))),d[h++]=e,64!==a&&(d[h++]=i),64!==l&&(d[h++]=n);return d}},{"./support":30,"./utils":32}],2:[function(t,e,i){"use strict";function n(t,e,i,n,r){this.compressedSize=t,this.uncompressedSize=e,this.crc32=i,this.compression=n,this.compressedContent=r}var r=t("./external"),o=t("./stream/DataWorker"),s=t("./stream/DataLengthProbe"),a=t("./stream/Crc32Probe");s=t("./stream/DataLengthProbe");n.prototype={getContentWorker:function(){var t=new o(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new o(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},n.createWorkerFrom=function(t,e,i){return t.pipe(new a).pipe(new s("uncompressedSize")).pipe(e.compressWorker(i)).pipe(new s("compressedSize")).withStreamInfo("compression",e)},e.exports=n},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,i){"use strict";var n=t("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},i.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,i){"use strict";var n=t("./utils"),r=function(){for(var t,e=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,i,n){var o=r,s=n+i;t^=-1;for(var a=n;a<s;a++)t=t>>>8^o[255&(t^e[a])];return-1^t}(0|e,t,t.length,0):function(t,e,i,n){var o=r,s=n+i;t^=-1;for(var a=n;a<s;a++)t=t>>>8^o[255&(t^e.charCodeAt(a))];return-1^t}(0|e,t,t.length,0):0}},{"./utils":32}],5:[function(t,e,i){"use strict";i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(t,e,i){"use strict";var n;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:58}],7:[function(t,e,i){"use strict";function n(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,o=t("pako"),s=t("./utils"),a=t("./stream/GenericWorker"),l=r?"uint8array":"array";i.magic="\b\0",s.inherits(n,a),n.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(l,t.data),!1)},n.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},n.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},n.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},i.compressWorker=function(t){return new n("Deflate",t)},i.uncompressWorker=function(){return new n("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:59}],8:[function(t,e,i){"use strict";function n(t,e,i,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=i,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}var r=t("../utils"),o=t("../stream/GenericWorker"),s=t("../utf8"),a=t("../crc32"),l=t("../signature"),c=function(t,e){var i,n="";for(i=0;i<e;i++)n+=String.fromCharCode(255&t),t>>>=8;return n},h=function(t,e,i,n,o,h){var u,d,f=t.file,p=t.compression,g=h!==s.utf8encode,m=r.transformTo("string",h(f.name)),v=r.transformTo("string",s.utf8encode(f.name)),y=f.comment,b=r.transformTo("string",h(y)),w=r.transformTo("string",s.utf8encode(y)),x=v.length!==f.name.length,_=w.length!==y.length,k="",E="",S="",T=f.dir,C=f.date,A={crc32:0,compressedSize:0,uncompressedSize:0};e&&!i||(A.crc32=t.crc32,A.compressedSize=t.compressedSize,A.uncompressedSize=t.uncompressedSize);var O=0;e&&(O|=8),g||!x&&!_||(O|=2048);var N=0,I=0;T&&(N|=16),"UNIX"===o?(I=798,N|=function(t,e){var i=t;return t||(i=e?16893:33204),(65535&i)<<16}(f.unixPermissions,T)):(I=20,N|=function(t,e){return 63&(t||0)}(f.dosPermissions)),u=C.getUTCHours(),u<<=6,u|=C.getUTCMinutes(),u<<=5,u|=C.getUTCSeconds()/2,d=C.getUTCFullYear()-1980,d<<=4,d|=C.getUTCMonth()+1,d<<=5,d|=C.getUTCDate(),x&&(E=c(1,1)+c(a(m),4)+v,k+="up"+c(E.length,2)+E),_&&(S=c(1,1)+c(a(b),4)+w,k+="uc"+c(S.length,2)+S);var R="";return R+="\n\0",R+=c(O,2),R+=p.magic,R+=c(u,2),R+=c(d,2),R+=c(A.crc32,4),R+=c(A.compressedSize,4),R+=c(A.uncompressedSize,4),R+=c(m.length,2),R+=c(k.length,2),{fileRecord:l.LOCAL_FILE_HEADER+R+m+k,dirRecord:l.CENTRAL_FILE_HEADER+c(I,2)+R+c(b.length,2)+"\0\0\0\0"+c(N,4)+c(n,4)+m+k+b}},u=function(t){return l.DATA_DESCRIPTOR+c(t.crc32,4)+c(t.compressedSize,4)+c(t.uncompressedSize,4)};r.inherits(n,o),n.prototype.push=function(t){var e=t.meta.percent||0,i=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:i?(e+100*(i-n-1))/i:100}}))},n.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var i=h(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:i.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,i=h(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),e)this.push({data:u(t),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var i=this.bytesWritten-t,n=function(t,e,i,n,o){var s=r.transformTo("string",o(n));return l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(t,2)+c(t,2)+c(e,4)+c(i,4)+c(s.length,2)+s}(this.dirRecords.length,i,t,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},n.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},n.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},n.prototype.error=function(t){var e=this._sources;if(!o.prototype.error.call(this,t))return!1;for(var i=0;i<e.length;i++)try{e[i].error(t)}catch(t){}return!0},n.prototype.lock=function(){o.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=n},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,i){"use strict";var n=t("../compressions"),r=t("./ZipFileWorker"),o=function(t,e){var i=t||e,r=n[i];if(!r)throw new Error(i+" is not a valid compression method !");return r};i.generateWorker=function(t,e,i){var n=new r(e.streamFiles,i,e.platform,e.encodeFileName),s=0;try{t.forEach((function(t,i){s++;var r=o(i.options.compression,e.compression),a=i.options.compressionOptions||e.compressionOptions||{},l=i.dir,c=i.date;i._compressWorker(r,a).withStreamInfo("file",{name:t,dir:l,date:c,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(n)})),n.entriesCount=s}catch(t){n.error(t)}return n}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,i){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var t=new n;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}n.prototype=t("./object"),n.prototype.loadAsync=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.version="3.1.5",n.loadAsync=function(t,e){return(new n).loadAsync(t,e)},n.external=t("./external"),e.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,i){"use strict";function n(t){return new o.Promise((function(e,i){var n=t.decompressed.getContentWorker().pipe(new l);n.on("error",(function(t){i(t)})).on("end",(function(){n.streamInfo.crc32!==t.decompressed.crc32?i(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}var r=t("./utils"),o=t("./external"),s=t("./utf8"),a=(r=t("./utils"),t("./zipEntries")),l=t("./stream/Crc32Probe"),c=t("./nodejsUtils");e.exports=function(t,e){var i=this;return e=r.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),c.isNode&&c.isStream(t)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var i=new a(e);return i.load(t),i})).then((function(t){var i=[o.Promise.resolve(t)],r=t.files;if(e.checkCRC32)for(var s=0;s<r.length;s++)i.push(n(r[s]));return o.Promise.all(i)})).then((function(t){for(var n=t.shift(),r=n.files,o=0;o<r.length;o++){var s=r[o];i.file(s.fileNameStr,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:e.createFolders})}return n.zipComment.length&&(i.comment=n.zipComment),i}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,i){"use strict";function n(t,e){o.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}var r=t("../utils"),o=t("../stream/GenericWorker");r.inherits(n,o),n.prototype._bindStream=function(t){var e=this;this._stream=t,t.pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},n.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,i){"use strict";function n(t,e,i){r.call(this,e),this._helper=t;var n=this;t.on("data",(function(t,e){n.push(t)||n._helper.pause(),i&&i(e)})).on("error",(function(t){n.emit("error",t)})).on("end",(function(){n.push(null)}))}var r=t("readable-stream").Readable;t("../utils").inherits(n,r),n.prototype._read=function(){this._helper.resume()},e.exports=n},{"../utils":32,"readable-stream":16}],14:[function(t,e,i){"use strict";e.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,e){return new Buffer(t,e)},allocBuffer:function(t){return Buffer.alloc?Buffer.alloc(t):new Buffer(t)},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,i){"use strict";function n(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var r=t("./utf8"),o=t("./utils"),s=t("./stream/GenericWorker"),a=t("./stream/StreamHelper"),l=t("./defaults"),c=t("./compressedObject"),h=t("./zipObject"),u=t("./generate"),d=t("./nodejsUtils"),f=t("./nodejs/NodejsStreamInputAdapter"),p=function(t,e,i){var n,r=o.getTypeOf(e),a=o.extend(i||{},l);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(t=m(t)),a.createFolders&&(n=g(t))&&v.call(this,n,!0);var u="string"===r&&!1===a.binary&&!1===a.base64;i&&void 0!==i.binary||(a.binary=!u),(e instanceof c&&0===e.uncompressedSize||a.dir||!e||0===e.length)&&(a.base64=!1,a.binary=!0,e="",a.compression="STORE",r="string");var p;p=e instanceof c||e instanceof s?e:d.isNode&&d.isStream(e)?new f(t,e):o.prepareContent(t,e,a.binary,a.optimizedBinaryString,a.base64);var y=new h(t,p,a);this.files[t]=y},g=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},m=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},v=function(t,e){return e=void 0!==e?e:l.createFolders,t=m(t),this.files[t]||p.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]},y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,i,n;for(e in this.files)this.files.hasOwnProperty(e)&&(n=this.files[e],(i=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(i,n))},filter:function(t){var e=[];return this.forEach((function(i,n){t(i,n)&&e.push(n)})),e},file:function(t,e,i){if(1===arguments.length){if(n(t)){var r=t;return this.filter((function(t,e){return!e.dir&&r.test(t)}))}var o=this.files[this.root+t];return o&&!o.dir?o:null}return t=this.root+t,p.call(this,t,e,i),this},folder:function(t){if(!t)return this;if(n(t))return this.filter((function(e,i){return i.dir&&t.test(e)}));var e=this.root+t,i=v.call(this,e),r=this.clone();return r.root=i.name,r},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var i=this.filter((function(e,i){return i.name.slice(0,t.length)===t})),n=0;n<i.length;n++)delete this.files[i[n].name];return this},generate:function(t){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,i={};try{if((i=o.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=i.type.toLowerCase(),i.compression=i.compression.toUpperCase(),"binarystring"===i.type&&(i.type="string"),!i.type)throw new Error("No output type specified.");o.checkSupport(i.type),"darwin"!==i.platform&&"freebsd"!==i.platform&&"linux"!==i.platform&&"sunos"!==i.platform||(i.platform="UNIX"),"win32"===i.platform&&(i.platform="DOS");var n=i.comment||this.comment||"";e=u.generateWorker(this,i,n)}catch(t){(e=new s("error")).error(t)}return new a(e,i.type||"string",i.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,i){e.exports=t("stream")},{stream:void 0}],17:[function(t,e,i){"use strict";function n(t){r.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}var r=t("./DataReader");t("../utils").inherits(n,r),n.prototype.byteAt=function(t){return this.data[this.zero+t]},n.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),i=t.charCodeAt(1),n=t.charCodeAt(2),r=t.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===e&&this.data[o+1]===i&&this.data[o+2]===n&&this.data[o+3]===r)return o-this.zero;return-1},n.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),i=t.charCodeAt(1),n=t.charCodeAt(2),r=t.charCodeAt(3),o=this.readData(4);return e===o[0]&&i===o[1]&&n===o[2]&&r===o[3]},n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./DataReader":18}],18:[function(t,e,i){"use strict";function n(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}var r=t("../utils");n.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e,i=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)i=(i<<8)+this.byteAt(e);return this.index+=t,i},readString:function(t){return r.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=n},{"../utils":32}],19:[function(t,e,i){"use strict";function n(t){r.call(this,t)}var r=t("./Uint8ArrayReader");t("../utils").inherits(n,r),n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,i){"use strict";function n(t){r.call(this,t)}var r=t("./DataReader");t("../utils").inherits(n,r),n.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},n.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./DataReader":18}],21:[function(t,e,i){"use strict";function n(t){r.call(this,t)}var r=t("./ArrayReader");t("../utils").inherits(n,r),n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,i){"use strict";var n=t("../utils"),r=t("../support"),o=t("./ArrayReader"),s=t("./StringReader"),a=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||r.uint8array?"nodebuffer"===e?new a(t):r.uint8array?new l(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new s(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,i){"use strict";i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,i){"use strict";function n(t){r.call(this,"ConvertWorker to "+t),this.destType=t}var r=t("./GenericWorker"),o=t("../utils");o.inherits(n,r),n.prototype.processChunk=function(t){this.push({data:o.transformTo(this.destType,t.data),meta:t.meta})},e.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,i){"use strict";function n(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}var r=t("./GenericWorker"),o=t("../crc32");t("../utils").inherits(n,r),n.prototype.processChunk=function(t){this.streamInfo.crc32=o(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,i){"use strict";function n(t){o.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}var r=t("../utils"),o=t("./GenericWorker");r.inherits(n,o),n.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}o.prototype.processChunk.call(this,t)},e.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,i){"use strict";function n(t){o.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=r.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}var r=t("../utils"),o=t("./GenericWorker");r.inherits(n,o),n.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,i){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var i=0;i<this._listeners[t].length;i++)this._listeners[t][i].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var t=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=n},{}],29:[function(t,e,i){"use strict";function n(t,e,i){switch(t){case"blob":return s.newBlob(s.transformTo("arraybuffer",e),i);case"base64":return c.encode(e);default:return s.transformTo(t,e)}}function r(t,e){return new u.Promise((function(i,r){var o=[],s=t._internalType,a=t._outputType,l=t._mimeType;t.on("data",(function(t,i){o.push(t),e&&e(i)})).on("error",(function(t){o=[],r(t)})).on("end",(function(){try{var t=n(a,function(t,e){var i,n=0,r=null,o=0;for(i=0;i<e.length;i++)o+=e[i].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(r=new Uint8Array(o),i=0;i<e.length;i++)r.set(e[i],n),n+=e[i].length;return r;case"nodebuffer":return Buffer.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(s,o),l);i(t)}catch(t){r(t)}o=[]})).resume()}))}function o(t,e,i){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=i,s.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new l("error"),this._worker.error(t)}}var s=t("../utils"),a=t("./ConvertWorker"),l=t("./GenericWorker"),c=t("../base64"),h=t("../support"),u=t("../external"),d=null;if(h.nodestream)try{d=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}o.prototype={accumulate:function(t){return r(this,t)},on:function(t,e){var i=this;return"data"===t?this._worker.on(t,(function(t){e.call(i,t.data,t.meta)})):this._worker.on(t,(function(){s.delay(e,arguments,i)})),this},resume:function(){return s.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(s.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new d(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=o},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,i){"use strict";if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,i.nodebuffer="undefined"!=typeof Buffer,i.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)i.blob=!1;else{var n=new ArrayBuffer(0);try{i.blob=0===new Blob([n],{type:"application/zip"}).size}catch(t){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);r.append(n),i.blob=0===r.getBlob("application/zip").size}catch(t){i.blob=!1}}}try{i.nodestream=!!t("readable-stream").Readable}catch(t){i.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,i){"use strict";function n(){l.call(this,"utf-8 decode"),this.leftOver=null}function r(){l.call(this,"utf-8 encode")}for(var o=t("./utils"),s=t("./support"),a=t("./nodejsUtils"),l=t("./stream/GenericWorker"),c=new Array(256),h=0;h<256;h++)c[h]=h>=252?6:h>=248?5:h>=240?4:h>=224?3:h>=192?2:1;c[254]=c[254]=1;i.utf8encode=function(t){return s.nodebuffer?a.newBufferFrom(t,"utf-8"):function(t){var e,i,n,r,o,a=t.length,l=0;for(r=0;r<a;r++)55296==(64512&(i=t.charCodeAt(r)))&&r+1<a&&(56320==(64512&(n=t.charCodeAt(r+1)))&&(i=65536+(i-55296<<10)+(n-56320),r++)),l+=i<128?1:i<2048?2:i<65536?3:4;for(e=s.uint8array?new Uint8Array(l):new Array(l),o=0,r=0;o<l;r++)55296==(64512&(i=t.charCodeAt(r)))&&r+1<a&&(56320==(64512&(n=t.charCodeAt(r+1)))&&(i=65536+(i-55296<<10)+(n-56320),r++)),i<128?e[o++]=i:i<2048?(e[o++]=192|i>>>6,e[o++]=128|63&i):i<65536?(e[o++]=224|i>>>12,e[o++]=128|i>>>6&63,e[o++]=128|63&i):(e[o++]=240|i>>>18,e[o++]=128|i>>>12&63,e[o++]=128|i>>>6&63,e[o++]=128|63&i);return e}(t)},i.utf8decode=function(t){return s.nodebuffer?o.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,i,n,r,s=t.length,a=new Array(2*s);for(i=0,e=0;e<s;)if((n=t[e++])<128)a[i++]=n;else if((r=c[n])>4)a[i++]=65533,e+=r-1;else{for(n&=2===r?31:3===r?15:7;r>1&&e<s;)n=n<<6|63&t[e++],r--;r>1?a[i++]=65533:n<65536?a[i++]=n:(n-=65536,a[i++]=55296|n>>10&1023,a[i++]=56320|1023&n)}return a.length!==i&&(a.subarray?a=a.subarray(0,i):a.length=i),o.applyFromCharCode(a)}(t=o.transformTo(s.uint8array?"uint8array":"array",t))},o.inherits(n,l),n.prototype.processChunk=function(t){var e=o.transformTo(s.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var n=e;(e=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),e.set(n,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var r=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;i>=0&&128==(192&t[i]);)i--;return i<0||0===i?e:i+c[t[i]]>e?i:e}(e),a=e;r!==e.length&&(s.uint8array?(a=e.subarray(0,r),this.leftOver=e.subarray(r,e.length)):(a=e.slice(0,r),this.leftOver=e.slice(r,e.length))),this.push({data:i.utf8decode(a),meta:t.meta})},n.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=n,o.inherits(r,l),r.prototype.processChunk=function(t){this.push({data:i.utf8encode(t.data),meta:t.meta})},i.Utf8EncodeWorker=r},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,i){"use strict";function n(t){return o(t,l.uint8array?new Uint8Array(t.length):new Array(t.length))}function r(t){return t}function o(t,e){for(var i=0;i<t.length;++i)e[i]=255&t.charCodeAt(i);return e}function s(t){var e=65536,n=i.getTypeOf(t),r=!0;if("uint8array"===n?r=f.applyCanBeUsed.uint8array:"nodebuffer"===n&&(r=f.applyCanBeUsed.nodebuffer),r)for(;e>1;)try{return f.stringifyByChunk(t,n,e)}catch(t){e=Math.floor(e/2)}return f.stringifyByChar(t)}function a(t,e){for(var i=0;i<t.length;i++)e[i]=t[i];return e}var l=t("./support"),c=t("./base64"),h=t("./nodejsUtils"),u=t("core-js/library/fn/set-immediate"),d=t("./external");i.newBlob=function(t,e){i.checkSupport("blob");try{return new Blob([t],{type:e})}catch(i){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(e)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(t,e,i){var n=[],r=0,o=t.length;if(o<=i)return String.fromCharCode.apply(null,t);for(;r<o;)"array"===e||"nodebuffer"===e?n.push(String.fromCharCode.apply(null,t.slice(r,Math.min(r+i,o)))):n.push(String.fromCharCode.apply(null,t.subarray(r,Math.min(r+i,o)))),r+=i;return n.join("")},stringifyByChar:function(t){for(var e="",i=0;i<t.length;i++)e+=String.fromCharCode(t[i]);return e},applyCanBeUsed:{uint8array:function(){try{return l.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return l.nodebuffer&&1===String.fromCharCode.apply(null,h.allocBuffer(1)).length}catch(t){return!1}}()}};i.applyFromCharCode=s;var p={};p.string={string:r,array:function(t){return o(t,new Array(t.length))},arraybuffer:function(t){return p.string.uint8array(t).buffer},uint8array:function(t){return o(t,new Uint8Array(t.length))},nodebuffer:function(t){return o(t,h.allocBuffer(t.length))}},p.array={string:s,array:r,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return h.newBufferFrom(t)}},p.arraybuffer={string:function(t){return s(new Uint8Array(t))},array:function(t){return a(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:r,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return h.newBufferFrom(new Uint8Array(t))}},p.uint8array={string:s,array:function(t){return a(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:r,nodebuffer:function(t){return h.newBufferFrom(t)}},p.nodebuffer={string:s,array:function(t){return a(t,new Array(t.length))},arraybuffer:function(t){return p.nodebuffer.uint8array(t).buffer},uint8array:function(t){return a(t,new Uint8Array(t.length))},nodebuffer:r},i.transformTo=function(t,e){if(e||(e=""),!t)return e;i.checkSupport(t);var n=i.getTypeOf(e);return p[n][t](e)},i.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":l.nodebuffer&&h.isBuffer(t)?"nodebuffer":l.uint8array&&t instanceof Uint8Array?"uint8array":l.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(t){if(!l[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(t){var e,i,n="";for(i=0;i<(t||"").length;i++)n+="\\x"+((e=t.charCodeAt(i))<16?"0":"")+e.toString(16).toUpperCase();return n},i.delay=function(t,e,i){u((function(){t.apply(i||null,e||[])}))},i.inherits=function(t,e){var i=function(){};i.prototype=e.prototype,t.prototype=new i},i.extend=function(){var t,e,i={};for(t=0;t<arguments.length;t++)for(e in arguments[t])arguments[t].hasOwnProperty(e)&&void 0===i[e]&&(i[e]=arguments[t][e]);return i},i.prepareContent=function(t,e,r,o,s){return d.Promise.resolve(e).then((function(t){return l.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new d.Promise((function(e,i){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.onerror=function(t){i(t.target.error)},n.readAsArrayBuffer(t)})):t})).then((function(e){var a=i.getTypeOf(e);return a?("arraybuffer"===a?e=i.transformTo("uint8array",e):"string"===a&&(s?e=c.decode(e):r&&!0!==o&&(e=n(e))),e):d.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"core-js/library/fn/set-immediate":36}],33:[function(t,e,i){"use strict";function n(t){this.files=[],this.loadOptions=t}var r=t("./reader/readerFor"),o=t("./utils"),s=t("./signature"),a=t("./zipEntry"),l=(t("./utf8"),t("./support"));n.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(e)+", expected "+o.pretty(t)+")")}},isSignature:function(t,e){var i=this.reader.index;this.reader.setIndex(t);var n=this.reader.readString(4)===e;return this.reader.setIndex(i),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=l.uint8array?"uint8array":"array",i=o.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(i)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,i,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),e=this.reader.readInt(4),i=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(t<0)throw!this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory");this.reader.setIndex(t);var e=t;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var n=e-i;if(n>0)this.isSignature(e,s.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(t){this.reader=r(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=n},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(t,e,i){"use strict";function n(t,e){this.options=t,this.loadOptions=e}var r=t("./reader/readerFor"),o=t("./utils"),s=t("./compressedObject"),a=t("./crc32"),l=t("./utf8"),c=t("./compressions"),h=t("./support");n.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,i;if(t.skip(22),this.fileNameLength=t.readInt(2),i=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(i),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in c)if(c.hasOwnProperty(e)&&c[e].magic===t)return c[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===t&&(this.dosPermissions=63&this.externalFileAttributes),3===t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,i,n,r=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index<r;)e=t.readInt(2),i=t.readInt(2),n=t.readData(i),this.extraFields[e]={id:e,length:i,value:n}},handleUTF8:function(){var t=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var i=o.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(i)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var r=o.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(r)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:l.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:l.utf8decode(e.readData(t.length-5))}return null}},e.exports=n},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,i){"use strict";var n=t("./stream/StreamHelper"),r=t("./stream/DataWorker"),o=t("./utf8"),s=t("./compressedObject"),a=t("./stream/GenericWorker"),l=function(t,e,i){this.name=t,this.dir=i.dir,this.date=i.date,this.comment=i.comment,this.unixPermissions=i.unixPermissions,this.dosPermissions=i.dosPermissions,this._data=e,this._dataBinary=i.binary,this.options={compression:i.compression,compressionOptions:i.compressionOptions}};l.prototype={internalStream:function(t){var e=null,i="string";try{if(!t)throw new Error("No output type specified.");var r="string"===(i=t.toLowerCase())||"text"===i;"binarystring"!==i&&"text"!==i||(i="string"),e=this._decompressWorker();var s=!this._dataBinary;s&&!r&&(e=e.pipe(new o.Utf8EncodeWorker)),!s&&r&&(e=e.pipe(new o.Utf8DecodeWorker))}catch(t){(e=new a("error")).error(t)}return new n(e,i,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof s&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var i=this._decompressWorker();return this._dataBinary||(i=i.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(i,t,e)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof a?this._data:new r(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],h=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},u=0;u<c.length;u++)l.prototype[c[u]]=h;e.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,i){t("../modules/web.immediate"),e.exports=t("../modules/_core").setImmediate},{"../modules/_core":40,"../modules/web.immediate":56}],37:[function(t,e,i){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],38:[function(t,e,i){var n=t("./_is-object");e.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":51}],39:[function(t,e,i){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],40:[function(t,e,i){var n=e.exports={version:"2.3.0"};"number"==typeof __e&&(__e=n)},{}],41:[function(t,e,i){var n=t("./_a-function");e.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":37}],42:[function(t,e,i){e.exports=!t("./_fails")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},{"./_fails":45}],43:[function(t,e,i){var n=t("./_is-object"),r=t("./_global").document,o=n(r)&&n(r.createElement);e.exports=function(t){return o?r.createElement(t):{}}},{"./_global":46,"./_is-object":51}],44:[function(t,e,i){var n=t("./_global"),r=t("./_core"),o=t("./_ctx"),s=t("./_hide"),a="prototype",l=function(t,e,i){var c,h,u,d=t&l.F,f=t&l.G,p=t&l.S,g=t&l.P,m=t&l.B,v=t&l.W,y=f?r:r[e]||(r[e]={}),b=y[a],w=f?n:p?n[e]:(n[e]||{})[a];for(c in f&&(i=e),i)(h=!d&&w&&void 0!==w[c])&&c in y||(u=h?w[c]:i[c],y[c]=f&&"function"!=typeof w[c]?i[c]:m&&h?o(u,n):v&&w[c]==u?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e[a]=t[a],e}(u):g&&"function"==typeof u?o(Function.call,u):u,g&&((y.virtual||(y.virtual={}))[c]=u,t&l.R&&b&&!b[c]&&s(b,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},{"./_core":40,"./_ctx":41,"./_global":46,"./_hide":47}],45:[function(t,e,i){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],46:[function(t,e,i){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],47:[function(t,e,i){var n=t("./_object-dp"),r=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},{"./_descriptors":42,"./_object-dp":52,"./_property-desc":53}],48:[function(t,e,i){e.exports=t("./_global").document&&document.documentElement},{"./_global":46}],49:[function(t,e,i){e.exports=!t("./_descriptors")&&!t("./_fails")((function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a}))},{"./_descriptors":42,"./_dom-create":43,"./_fails":45}],50:[function(t,e,i){e.exports=function(t,e,i){var n=void 0===i;switch(e.length){case 0:return n?t():t.call(i);case 1:return n?t(e[0]):t.call(i,e[0]);case 2:return n?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},{}],51:[function(t,e,i){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],52:[function(t,e,i){var n=t("./_an-object"),r=t("./_ie8-dom-define"),o=t("./_to-primitive"),s=Object.defineProperty;i.f=t("./_descriptors")?Object.defineProperty:function(t,e,i){if(n(t),e=o(e,!0),n(i),r)try{return s(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},{"./_an-object":38,"./_descriptors":42,"./_ie8-dom-define":49,"./_to-primitive":55}],53:[function(t,e,i){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],54:[function(t,e,i){var n,r,o,s=t("./_ctx"),a=t("./_invoke"),l=t("./_html"),c=t("./_dom-create"),h=t("./_global"),u=h.process,d=h.setImmediate,f=h.clearImmediate,p=h.MessageChannel,g=0,m={},v="onreadystatechange",y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},b=function(t){y.call(t.data)};d&&f||(d=function(t){for(var e=[],i=1;arguments.length>i;)e.push(arguments[i++]);return m[++g]=function(){a("function"==typeof t?t:Function(t),e)},n(g),g},f=function(t){delete m[t]},"process"==t("./_cof")(u)?n=function(t){u.nextTick(s(y,t,1))}:p?(o=(r=new p).port2,r.port1.onmessage=b,n=s(o.postMessage,o,1)):h.addEventListener&&"function"==typeof postMessage&&!h.importScripts?(n=function(t){h.postMessage(t+"","*")},h.addEventListener("message",b,!1)):n=v in c("script")?function(t){l.appendChild(c("script"))[v]=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(s(y,t,1),0)}),e.exports={set:d,clear:f}},{"./_cof":39,"./_ctx":41,"./_dom-create":43,"./_global":46,"./_html":48,"./_invoke":50}],55:[function(t,e,i){var n=t("./_is-object");e.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":51}],56:[function(t,e,i){var n=t("./_export"),r=t("./_task");n(n.G+n.B,{setImmediate:r.set,clearImmediate:r.clear})},{"./_export":44,"./_task":54}],57:[function(t,e,i){(function(t){"use strict";function i(){c=!0;for(var t,e,i=h.length;i;){for(e=h,h=[],t=-1;++t<i;)e[t]();i=h.length}c=!1}var n,r=t.MutationObserver||t.WebKitMutationObserver;if(r){var o=0,s=new r(i),a=t.document.createTextNode("");s.observe(a,{characterData:!0}),n=function(){a.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){i(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(i,0)};else{var l=new t.MessageChannel;l.port1.onmessage=i,n=function(){l.port2.postMessage(0)}}var c,h=[];e.exports=function(t){1!==h.push(t)||c||n()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],58:[function(t,e,i){"use strict";function n(){}function r(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=p,this.queue=[],this.outcome=void 0,t!==n&&l(this,t)}function o(t,e,i){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function s(t,e,i){h((function(){var n;try{n=e(i)}catch(e){return u.reject(t,e)}n===t?u.reject(t,new TypeError("Cannot resolve promise with itself")):u.resolve(t,n)}))}function a(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function l(t,e){function i(e){r||(r=!0,u.reject(t,e))}function n(e){r||(r=!0,u.resolve(t,e))}var r=!1,o=c((function(){e(n,i)}));"error"===o.status&&i(o.value)}function c(t,e){var i={};try{i.value=t(e),i.status="success"}catch(t){i.status="error",i.value=t}return i}var h=t("immediate"),u={},d=["REJECTED"],f=["FULFILLED"],p=["PENDING"];e.exports=r,r.prototype.catch=function(t){return this.then(null,t)},r.prototype.then=function(t,e){if("function"!=typeof t&&this.state===f||"function"!=typeof e&&this.state===d)return this;var i=new this.constructor(n);this.state!==p?s(i,this.state===f?t:e,this.outcome):this.queue.push(new o(i,t,e));return i},o.prototype.callFulfilled=function(t){u.resolve(this.promise,t)},o.prototype.otherCallFulfilled=function(t){s(this.promise,this.onFulfilled,t)},o.prototype.callRejected=function(t){u.reject(this.promise,t)},o.prototype.otherCallRejected=function(t){s(this.promise,this.onRejected,t)},u.resolve=function(t,e){var i=c(a,e);if("error"===i.status)return u.reject(t,i.value);var n=i.value;if(n)l(t,n);else{t.state=f,t.outcome=e;for(var r=-1,o=t.queue.length;++r<o;)t.queue[r].callFulfilled(e)}return t},u.reject=function(t,e){t.state=d,t.outcome=e;for(var i=-1,n=t.queue.length;++i<n;)t.queue[i].callRejected(e);return t},r.resolve=function(t){return t instanceof this?t:u.resolve(new this(n),t)},r.reject=function(t){var e=new this(n);return u.reject(e,t)},r.all=function(t){function e(t,e){i.resolve(t).then((function(t){s[e]=t,++a!==r||o||(o=!0,u.resolve(c,s))}),(function(t){o||(o=!0,u.reject(c,t))}))}var i=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,o=!1;if(!r)return this.resolve([]);for(var s=new Array(r),a=0,l=-1,c=new this(n);++l<r;)e(t[l],l);return c},r.race=function(t){function e(t){i.resolve(t).then((function(t){o||(o=!0,u.resolve(a,t))}),(function(t){o||(o=!0,u.reject(a,t))}))}var i=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,o=!1;if(!r)return this.resolve([]);for(var s=-1,a=new this(n);++s<r;)e(t[s]);return a}},{immediate:57}],59:[function(t,e,i){"use strict";var n={};(0,t("./lib/utils/common").assign)(n,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=n},{"./lib/deflate":60,"./lib/inflate":61,"./lib/utils/common":62,"./lib/zlib/constants":65}],60:[function(t,e,i){"use strict";function n(t){if(!(this instanceof n))return new n(t);this.options=s.assign({level:d,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var i=o.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(i!==u)throw new Error(l[i]);if(e.header&&o.deflateSetHeader(this.strm,e.header),e.dictionary){var r;if(r="string"==typeof e.dictionary?a.string2buf(e.dictionary):"[object ArrayBuffer]"===h.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(i=o.deflateSetDictionary(this.strm,r))!==u)throw new Error(l[i]);this._dict_set=!0}}function r(t,e){var i=new n(e);if(i.push(t,!0),i.err)throw i.msg||l[i.err];return i.result}var o=t("./zlib/deflate"),s=t("./utils/common"),a=t("./utils/strings"),l=t("./zlib/messages"),c=t("./zlib/zstream"),h=Object.prototype.toString,u=0,d=-1,f=0,p=8;n.prototype.push=function(t,e){var i,n,r=this.strm,l=this.options.chunkSize;if(this.ended)return!1;n=e===~~e?e:!0===e?4:0,"string"==typeof t?r.input=a.string2buf(t):"[object ArrayBuffer]"===h.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new s.Buf8(l),r.next_out=0,r.avail_out=l),1!==(i=o.deflate(r,n))&&i!==u)return this.onEnd(i),this.ended=!0,!1;0!==r.avail_out&&(0!==r.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(a.buf2binstring(s.shrinkBuf(r.output,r.next_out))):this.onData(s.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||0===r.avail_out)&&1!==i);return 4===n?(i=o.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===u):2!==n||(this.onEnd(u),r.avail_out=0,!0)},n.prototype.onData=function(t){this.chunks.push(t)},n.prototype.onEnd=function(t){t===u&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Deflate=n,i.deflate=r,i.deflateRaw=function(t,e){return(e=e||{}).raw=!0,r(t,e)},i.gzip=function(t,e){return(e=e||{}).gzip=!0,r(t,e)}},{"./utils/common":62,"./utils/strings":63,"./zlib/deflate":67,"./zlib/messages":72,"./zlib/zstream":74}],61:[function(t,e,i){"use strict";function n(t){if(!(this instanceof n))return new n(t);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var i=o.inflateInit2(this.strm,e.windowBits);if(i!==l.Z_OK)throw new Error(c[i]);this.header=new u,o.inflateGetHeader(this.strm,this.header)}function r(t,e){var i=new n(e);if(i.push(t,!0),i.err)throw i.msg||c[i.err];return i.result}var o=t("./zlib/inflate"),s=t("./utils/common"),a=t("./utils/strings"),l=t("./zlib/constants"),c=t("./zlib/messages"),h=t("./zlib/zstream"),u=t("./zlib/gzheader"),d=Object.prototype.toString;n.prototype.push=function(t,e){var i,n,r,c,h,u,f=this.strm,p=this.options.chunkSize,g=this.options.dictionary,m=!1;if(this.ended)return!1;n=e===~~e?e:!0===e?l.Z_FINISH:l.Z_NO_FLUSH,"string"==typeof t?f.input=a.binstring2buf(t):"[object ArrayBuffer]"===d.call(t)?f.input=new Uint8Array(t):f.input=t,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new s.Buf8(p),f.next_out=0,f.avail_out=p),(i=o.inflate(f,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&g&&(u="string"==typeof g?a.string2buf(g):"[object ArrayBuffer]"===d.call(g)?new Uint8Array(g):g,i=o.inflateSetDictionary(this.strm,u)),i===l.Z_BUF_ERROR&&!0===m&&(i=l.Z_OK,m=!1),i!==l.Z_STREAM_END&&i!==l.Z_OK)return this.onEnd(i),this.ended=!0,!1;f.next_out&&(0!==f.avail_out&&i!==l.Z_STREAM_END&&(0!==f.avail_in||n!==l.Z_FINISH&&n!==l.Z_SYNC_FLUSH)||("string"===this.options.to?(r=a.utf8border(f.output,f.next_out),c=f.next_out-r,h=a.buf2string(f.output,r),f.next_out=c,f.avail_out=p-c,c&&s.arraySet(f.output,f.output,r,c,0),this.onData(h)):this.onData(s.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(m=!0)}while((f.avail_in>0||0===f.avail_out)&&i!==l.Z_STREAM_END);return i===l.Z_STREAM_END&&(n=l.Z_FINISH),n===l.Z_FINISH?(i=o.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===l.Z_OK):n!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),f.avail_out=0,!0)},n.prototype.onData=function(t){this.chunks.push(t)},n.prototype.onEnd=function(t){t===l.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Inflate=n,i.inflate=r,i.inflateRaw=function(t,e){return(e=e||{}).raw=!0,r(t,e)},i.ungzip=r},{"./utils/common":62,"./utils/strings":63,"./zlib/constants":65,"./zlib/gzheader":68,"./zlib/inflate":70,"./zlib/messages":72,"./zlib/zstream":74}],62:[function(t,e,i){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var i=e.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])}}return t},i.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var r={arraySet:function(t,e,i,n,r){if(e.subarray&&t.subarray)t.set(e.subarray(i,i+n),r);else for(var o=0;o<n;o++)t[r+o]=e[i+o]},flattenChunks:function(t){var e,i,n,r,o,s;for(n=0,e=0,i=t.length;e<i;e++)n+=t[e].length;for(s=new Uint8Array(n),r=0,e=0,i=t.length;e<i;e++)o=t[e],s.set(o,r),r+=o.length;return s}},o={arraySet:function(t,e,i,n,r){for(var o=0;o<n;o++)t[r+o]=e[i+o]},flattenChunks:function(t){return[].concat.apply([],t)}};i.setTyped=function(t){t?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,r)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,o))},i.setTyped(n)},{}],63:[function(t,e,i){"use strict";function n(t,e){if(e<65537&&(t.subarray&&s||!t.subarray&&o))return String.fromCharCode.apply(null,r.shrinkBuf(t,e));for(var i="",n=0;n<e;n++)i+=String.fromCharCode(t[n]);return i}var r=t("./common"),o=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(t){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){s=!1}for(var a=new r.Buf8(256),l=0;l<256;l++)a[l]=l>=252?6:l>=248?5:l>=240?4:l>=224?3:l>=192?2:1;a[254]=a[254]=1,i.string2buf=function(t){var e,i,n,o,s,a=t.length,l=0;for(o=0;o<a;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<a&&(56320==(64512&(n=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(n-56320),o++)),l+=i<128?1:i<2048?2:i<65536?3:4;for(e=new r.Buf8(l),s=0,o=0;s<l;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<a&&(56320==(64512&(n=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(n-56320),o++)),i<128?e[s++]=i:i<2048?(e[s++]=192|i>>>6,e[s++]=128|63&i):i<65536?(e[s++]=224|i>>>12,e[s++]=128|i>>>6&63,e[s++]=128|63&i):(e[s++]=240|i>>>18,e[s++]=128|i>>>12&63,e[s++]=128|i>>>6&63,e[s++]=128|63&i);return e},i.buf2binstring=function(t){return n(t,t.length)},i.binstring2buf=function(t){for(var e=new r.Buf8(t.length),i=0,n=e.length;i<n;i++)e[i]=t.charCodeAt(i);return e},i.buf2string=function(t,e){var i,r,o,s,l=e||t.length,c=new Array(2*l);for(r=0,i=0;i<l;)if((o=t[i++])<128)c[r++]=o;else if((s=a[o])>4)c[r++]=65533,i+=s-1;else{for(o&=2===s?31:3===s?15:7;s>1&&i<l;)o=o<<6|63&t[i++],s--;s>1?c[r++]=65533:o<65536?c[r++]=o:(o-=65536,c[r++]=55296|o>>10&1023,c[r++]=56320|1023&o)}return n(c,r)},i.utf8border=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;i>=0&&128==(192&t[i]);)i--;return i<0||0===i?e:i+a[t[i]]>e?i:e}},{"./common":62}],64:[function(t,e,i){"use strict";e.exports=function(t,e,i,n){for(var r=65535&t|0,o=t>>>16&65535|0,s=0;0!==i;){i-=s=i>2e3?2e3:i;do{o=o+(r=r+e[n++]|0)|0}while(--s);r%=65521,o%=65521}return r|o<<16|0}},{}],65:[function(t,e,i){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],66:[function(t,e,i){"use strict";var n=function(){for(var t,e=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e}();e.exports=function(t,e,i,r){var o=n,s=r+i;t^=-1;for(var a=r;a<s;a++)t=t>>>8^o[255&(t^e[a])];return-1^t}},{}],67:[function(t,e,i){"use strict";function n(t,e){return t.msg=C[e],e}function r(t){return(t<<1)-(t>4?9:0)}function o(t){for(var e=t.length;--e>=0;)t[e]=0}function s(t){var e=t.state,i=e.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&(k.arraySet(t.output,e.pending_buf,e.pending_out,i,t.next_out),t.next_out+=i,e.pending_out+=i,t.total_out+=i,t.avail_out-=i,e.pending-=i,0===e.pending&&(e.pending_out=0))}function a(t,e){E._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,s(t.strm)}function l(t,e){t.pending_buf[t.pending++]=e}function c(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function h(t,e,i,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,k.arraySet(e,t.input,t.next_in,r,i),1===t.state.wrap?t.adler=S(t.adler,e,r,i):2===t.state.wrap&&(t.adler=T(t.adler,e,r,i)),t.next_in+=r,t.total_in+=r,r)}function u(t,e){var i,n,r=t.max_chain_length,o=t.strstart,s=t.prev_length,a=t.nice_match,l=t.strstart>t.w_size-it?t.strstart-(t.w_size-it):0,c=t.window,h=t.w_mask,u=t.prev,d=t.strstart+et,f=c[o+s-1],p=c[o+s];t.prev_length>=t.good_match&&(r>>=2),a>t.lookahead&&(a=t.lookahead);do{if(c[(i=e)+s]===p&&c[i+s-1]===f&&c[i]===c[o]&&c[++i]===c[o+1]){o+=2,i++;do{}while(c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&o<d);if(n=et-(d-o),o=d-et,n>s){if(t.match_start=e,s=n,n>=a)break;f=c[o+s-1],p=c[o+s]}}}while((e=u[e&h])>l&&0!=--r);return s<=t.lookahead?s:t.lookahead}function d(t){var e,i,n,r,o,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-it)){k.arraySet(t.window,t.window,s,s,0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=i=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--i);e=i=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--i);r+=s}if(0===t.strm.avail_in)break;if(i=h(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=i,t.lookahead+t.insert>=tt)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<<t.hash_shift^t.window[o+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[o+tt-1])&t.hash_mask,t.prev[o&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=o,o++,t.insert--,!(t.lookahead+t.insert<tt)););}while(t.lookahead<it&&0!==t.strm.avail_in)}function f(t,e){for(var i,n;;){if(t.lookahead<it){if(d(t),t.lookahead<it&&e===A)return ut;if(0===t.lookahead)break}if(i=0,t.lookahead>=tt&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+tt-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==i&&t.strstart-i<=t.w_size-it&&(t.match_length=u(t,i)),t.match_length>=tt)if(n=E._tr_tally(t,t.strstart-t.match_start,t.match_length-tt),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=tt){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+tt-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=E._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(a(t,!1),0===t.strm.avail_out))return ut}return t.insert=t.strstart<tt-1?t.strstart:tt-1,e===I?(a(t,!0),0===t.strm.avail_out?ft:pt):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?ut:dt}function p(t,e){for(var i,n,r;;){if(t.lookahead<it){if(d(t),t.lookahead<it&&e===A)return ut;if(0===t.lookahead)break}if(i=0,t.lookahead>=tt&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+tt-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=tt-1,0!==i&&t.prev_length<t.max_lazy_match&&t.strstart-i<=t.w_size-it&&(t.match_length=u(t,i),t.match_length<=5&&(t.strategy===M||t.match_length===tt&&t.strstart-t.match_start>4096)&&(t.match_length=tt-1)),t.prev_length>=tt&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-tt,n=E._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-tt),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+tt-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=tt-1,t.strstart++,n&&(a(t,!1),0===t.strm.avail_out))return ut}else if(t.match_available){if((n=E._tr_tally(t,0,t.window[t.strstart-1]))&&a(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return ut}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=E._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<tt-1?t.strstart:tt-1,e===I?(a(t,!0),0===t.strm.avail_out?ft:pt):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?ut:dt}function g(t,e){for(var i,n,r,o,s=t.window;;){if(t.lookahead<=et){if(d(t),t.lookahead<=et&&e===A)return ut;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=tt&&t.strstart>0&&((n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r])){o=t.strstart+et;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<o);t.match_length=et-(o-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=tt?(i=E._tr_tally(t,1,t.match_length-tt),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=E._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(a(t,!1),0===t.strm.avail_out))return ut}return t.insert=0,e===I?(a(t,!0),0===t.strm.avail_out?ft:pt):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?ut:dt}function m(t,e){for(var i;;){if(0===t.lookahead&&(d(t),0===t.lookahead)){if(e===A)return ut;break}if(t.match_length=0,i=E._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(a(t,!1),0===t.strm.avail_out))return ut}return t.insert=0,e===I?(a(t,!0),0===t.strm.avail_out?ft:pt):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?ut:dt}function v(t,e,i,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=i,this.max_chain=n,this.func=r}function y(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=H,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new k.Buf16(2*Q),this.dyn_dtree=new k.Buf16(2*(2*Z+1)),this.bl_tree=new k.Buf16(2*(2*K+1)),o(this.dyn_ltree),o(this.dyn_dtree),o(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new k.Buf16(J+1),this.heap=new k.Buf16(2*G+1),o(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new k.Buf16(2*G+1),o(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function b(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=$,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?rt:ct,t.adler=2===e.wrap?0:1,e.last_flush=A,E._tr_init(e),j):n(t,z)}function w(t){var e=b(t);return e===j&&function(t){t.window_size=2*t.w_size,o(t.head),t.max_lazy_match=_[t.level].max_lazy,t.good_match=_[t.level].good_length,t.nice_match=_[t.level].nice_length,t.max_chain_length=_[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=tt-1,t.match_available=0,t.ins_h=0}(t.state),e}function x(t,e,i,r,o,s){if(!t)return z;var a=1;if(e===P&&(e=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),o<1||o>X||i!==H||r<8||r>15||e<0||e>9||s<0||s>U)return n(t,z);8===r&&(r=9);var l=new y;return t.state=l,l.strm=t,l.wrap=a,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+tt-1)/tt),l.window=new k.Buf8(2*l.w_size),l.head=new k.Buf16(l.hash_size),l.prev=new k.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new k.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=s,l.method=i,w(t)}var _,k=t("../utils/common"),E=t("./trees"),S=t("./adler32"),T=t("./crc32"),C=t("./messages"),A=0,O=1,N=3,I=4,R=5,j=0,L=1,z=-2,D=-3,B=-5,P=-1,M=1,F=2,q=3,U=4,W=0,$=2,H=8,X=9,V=15,Y=8,G=286,Z=30,K=19,Q=2*G+1,J=15,tt=3,et=258,it=et+tt+1,nt=32,rt=42,ot=69,st=73,at=91,lt=103,ct=113,ht=666,ut=1,dt=2,ft=3,pt=4,gt=3;_=[new v(0,0,0,0,(function(t,e){var i=65535;for(i>t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(d(t),0===t.lookahead&&e===A)return ut;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+i;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,a(t,!1),0===t.strm.avail_out))return ut;if(t.strstart-t.block_start>=t.w_size-it&&(a(t,!1),0===t.strm.avail_out))return ut}return t.insert=0,e===I?(a(t,!0),0===t.strm.avail_out?ft:pt):(t.strstart>t.block_start&&(a(t,!1),t.strm.avail_out),ut)})),new v(4,4,8,4,f),new v(4,5,16,8,f),new v(4,6,32,32,f),new v(4,4,16,16,p),new v(8,16,32,32,p),new v(8,16,128,128,p),new v(8,32,128,256,p),new v(32,128,258,1024,p),new v(32,258,258,4096,p)],i.deflateInit=function(t,e){return x(t,e,H,V,Y,W)},i.deflateInit2=x,i.deflateReset=w,i.deflateResetKeep=b,i.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?z:(t.state.gzhead=e,j):z},i.deflate=function(t,e){var i,a,h,u;if(!t||!t.state||e>R||e<0)return t?n(t,z):z;if(a=t.state,!t.output||!t.input&&0!==t.avail_in||a.status===ht&&e!==I)return n(t,0===t.avail_out?B:z);if(a.strm=t,i=a.last_flush,a.last_flush=e,a.status===rt)if(2===a.wrap)t.adler=0,l(a,31),l(a,139),l(a,8),a.gzhead?(l(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),l(a,255&a.gzhead.time),l(a,a.gzhead.time>>8&255),l(a,a.gzhead.time>>16&255),l(a,a.gzhead.time>>24&255),l(a,9===a.level?2:a.strategy>=F||a.level<2?4:0),l(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(l(a,255&a.gzhead.extra.length),l(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=T(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=ot):(l(a,0),l(a,0),l(a,0),l(a,0),l(a,0),l(a,9===a.level?2:a.strategy>=F||a.level<2?4:0),l(a,gt),a.status=ct);else{var d=H+(a.w_bits-8<<4)<<8;d|=(a.strategy>=F||a.level<2?0:a.level<6?1:6===a.level?2:3)<<6,0!==a.strstart&&(d|=nt),d+=31-d%31,a.status=ct,c(a,d),0!==a.strstart&&(c(a,t.adler>>>16),c(a,65535&t.adler)),t.adler=1}if(a.status===ot)if(a.gzhead.extra){for(h=a.pending;a.gzindex<(65535&a.gzhead.extra.length)&&(a.pending!==a.pending_buf_size||(a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),s(t),h=a.pending,a.pending!==a.pending_buf_size));)l(a,255&a.gzhead.extra[a.gzindex]),a.gzindex++;a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=st)}else a.status=st;if(a.status===st)if(a.gzhead.name){h=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),s(t),h=a.pending,a.pending===a.pending_buf_size)){u=1;break}u=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,l(a,u)}while(0!==u);a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),0===u&&(a.gzindex=0,a.status=at)}else a.status=at;if(a.status===at)if(a.gzhead.comment){h=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),s(t),h=a.pending,a.pending===a.pending_buf_size)){u=1;break}u=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,l(a,u)}while(0!==u);a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),0===u&&(a.status=lt)}else a.status=lt;if(a.status===lt&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&s(t),a.pending+2<=a.pending_buf_size&&(l(a,255&t.adler),l(a,t.adler>>8&255),t.adler=0,a.status=ct)):a.status=ct),0!==a.pending){if(s(t),0===t.avail_out)return a.last_flush=-1,j}else if(0===t.avail_in&&r(e)<=r(i)&&e!==I)return n(t,B);if(a.status===ht&&0!==t.avail_in)return n(t,B);if(0!==t.avail_in||0!==a.lookahead||e!==A&&a.status!==ht){var f=a.strategy===F?m(a,e):a.strategy===q?g(a,e):_[a.level].func(a,e);if(f!==ft&&f!==pt||(a.status=ht),f===ut||f===ft)return 0===t.avail_out&&(a.last_flush=-1),j;if(f===dt&&(e===O?E._tr_align(a):e!==R&&(E._tr_stored_block(a,0,0,!1),e===N&&(o(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),s(t),0===t.avail_out))return a.last_flush=-1,j}return e!==I?j:a.wrap<=0?L:(2===a.wrap?(l(a,255&t.adler),l(a,t.adler>>8&255),l(a,t.adler>>16&255),l(a,t.adler>>24&255),l(a,255&t.total_in),l(a,t.total_in>>8&255),l(a,t.total_in>>16&255),l(a,t.total_in>>24&255)):(c(a,t.adler>>>16),c(a,65535&t.adler)),s(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?j:L)},i.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==rt&&e!==ot&&e!==st&&e!==at&&e!==lt&&e!==ct&&e!==ht?n(t,z):(t.state=null,e===ct?n(t,D):j):z},i.deflateSetDictionary=function(t,e){var i,n,r,s,a,l,c,h,u=e.length;if(!t||!t.state)return z;if(2===(s=(i=t.state).wrap)||1===s&&i.status!==rt||i.lookahead)return z;for(1===s&&(t.adler=S(t.adler,e,u,0)),i.wrap=0,u>=i.w_size&&(0===s&&(o(i.head),i.strstart=0,i.block_start=0,i.insert=0),h=new k.Buf8(i.w_size),k.arraySet(h,e,u-i.w_size,i.w_size,0),e=h,u=i.w_size),a=t.avail_in,l=t.next_in,c=t.input,t.avail_in=u,t.next_in=0,t.input=e,d(i);i.lookahead>=tt;){n=i.strstart,r=i.lookahead-(tt-1);do{i.ins_h=(i.ins_h<<i.hash_shift^i.window[n+tt-1])&i.hash_mask,i.prev[n&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=n,n++}while(--r);i.strstart=n,i.lookahead=tt-1,d(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=tt-1,i.match_available=0,t.next_in=l,t.input=c,t.avail_in=a,i.wrap=s,j},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":62,"./adler32":64,"./crc32":66,"./messages":72,"./trees":73}],68:[function(t,e,i){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],69:[function(t,e,i){"use strict";e.exports=function(t,e){var i,n,r,o,s,a,l,c,h,u,d,f,p,g,m,v,y,b,w,x,_,k,E,S,T;i=t.state,n=t.next_in,S=t.input,r=n+(t.avail_in-5),o=t.next_out,T=t.output,s=o-(e-t.avail_out),a=o+(t.avail_out-257),l=i.dmax,c=i.wsize,h=i.whave,u=i.wnext,d=i.window,f=i.hold,p=i.bits,g=i.lencode,m=i.distcode,v=(1<<i.lenbits)-1,y=(1<<i.distbits)-1;t:do{p<15&&(f+=S[n++]<<p,p+=8,f+=S[n++]<<p,p+=8),b=g[f&v];e:for(;;){if(f>>>=w=b>>>24,p-=w,0===(w=b>>>16&255))T[o++]=65535&b;else{if(!(16&w)){if(0==(64&w)){b=g[(65535&b)+(f&(1<<w)-1)];continue e}if(32&w){i.mode=12;break t}t.msg="invalid literal/length code",i.mode=30;break t}x=65535&b,(w&=15)&&(p<w&&(f+=S[n++]<<p,p+=8),x+=f&(1<<w)-1,f>>>=w,p-=w),p<15&&(f+=S[n++]<<p,p+=8,f+=S[n++]<<p,p+=8),b=m[f&y];i:for(;;){if(f>>>=w=b>>>24,p-=w,!(16&(w=b>>>16&255))){if(0==(64&w)){b=m[(65535&b)+(f&(1<<w)-1)];continue i}t.msg="invalid distance code",i.mode=30;break t}if(_=65535&b,p<(w&=15)&&(f+=S[n++]<<p,(p+=8)<w&&(f+=S[n++]<<p,p+=8)),(_+=f&(1<<w)-1)>l){t.msg="invalid distance too far back",i.mode=30;break t}if(f>>>=w,p-=w,_>(w=o-s)){if((w=_-w)>h&&i.sane){t.msg="invalid distance too far back",i.mode=30;break t}if(k=0,E=d,0===u){if(k+=c-w,w<x){x-=w;do{T[o++]=d[k++]}while(--w);k=o-_,E=T}}else if(u<w){if(k+=c+u-w,(w-=u)<x){x-=w;do{T[o++]=d[k++]}while(--w);if(k=0,u<x){x-=w=u;do{T[o++]=d[k++]}while(--w);k=o-_,E=T}}}else if(k+=u-w,w<x){x-=w;do{T[o++]=d[k++]}while(--w);k=o-_,E=T}for(;x>2;)T[o++]=E[k++],T[o++]=E[k++],T[o++]=E[k++],x-=3;x&&(T[o++]=E[k++],x>1&&(T[o++]=E[k++]))}else{k=o-_;do{T[o++]=T[k++],T[o++]=T[k++],T[o++]=T[k++],x-=3}while(x>2);x&&(T[o++]=T[k++],x>1&&(T[o++]=T[k++]))}break}}break}}while(n<r&&o<a);n-=x=p>>3,f&=(1<<(p-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n<r?r-n+5:5-(n-r),t.avail_out=o<a?a-o+257:257-(o-a),i.hold=f,i.bits=p}},{}],70:[function(t,e,i){"use strict";function n(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function r(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new f.Buf16(320),this.work=new f.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function o(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=R,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new f.Buf32(ht),e.distcode=e.distdyn=new f.Buf32(ut),e.sane=1,e.back=-1,E):C}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,o(t)):C}function a(t,e){var i,n;return t&&t.state?(n=t.state,e<0?(i=0,e=-e):(i=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?C:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=i,n.wbits=e,s(t))):C}function l(t,e){var i,n;return t?(n=new r,t.state=n,n.window=null,(i=a(t,e))!==E&&(t.state=null),i):C}function c(t){if(ft){var e;for(u=new f.Buf32(512),d=new f.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(v(b,t.lens,0,288,u,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;v(w,t.lens,0,32,d,0,t.work,{bits:5}),ft=!1}t.lencode=u,t.lenbits=9,t.distcode=d,t.distbits=5}function h(t,e,i,n){var r,o=t.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new f.Buf8(o.wsize)),n>=o.wsize?(f.arraySet(o.window,e,i-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((r=o.wsize-o.wnext)>n&&(r=n),f.arraySet(o.window,e,i-n,r,o.wnext),(n-=r)?(f.arraySet(o.window,e,i-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=r))),0}var u,d,f=t("../utils/common"),p=t("./adler32"),g=t("./crc32"),m=t("./inffast"),v=t("./inftrees"),y=0,b=1,w=2,x=4,_=5,k=6,E=0,S=1,T=2,C=-2,A=-3,O=-4,N=-5,I=8,R=1,j=2,L=3,z=4,D=5,B=6,P=7,M=8,F=9,q=10,U=11,W=12,$=13,H=14,X=15,V=16,Y=17,G=18,Z=19,K=20,Q=21,J=22,tt=23,et=24,it=25,nt=26,rt=27,ot=28,st=29,at=30,lt=31,ct=32,ht=852,ut=592,dt=15,ft=!0;i.inflateReset=s,i.inflateReset2=a,i.inflateResetKeep=o,i.inflateInit=function(t){return l(t,dt)},i.inflateInit2=l,i.inflate=function(t,e){var i,r,o,s,a,l,u,d,ht,ut,dt,ft,pt,gt,mt,vt,yt,bt,wt,xt,_t,kt,Et,St,Tt=0,Ct=new f.Buf8(4),At=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return C;(i=t.state).mode===W&&(i.mode=$),a=t.next_out,o=t.output,u=t.avail_out,s=t.next_in,r=t.input,l=t.avail_in,d=i.hold,ht=i.bits,ut=l,dt=u,kt=E;t:for(;;)switch(i.mode){case R:if(0===i.wrap){i.mode=$;break}for(;ht<16;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}if(2&i.wrap&&35615===d){i.check=0,Ct[0]=255&d,Ct[1]=d>>>8&255,i.check=g(i.check,Ct,2,0),d=0,ht=0,i.mode=j;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&d)<<8)+(d>>8))%31){t.msg="incorrect header check",i.mode=at;break}if((15&d)!==I){t.msg="unknown compression method",i.mode=at;break}if(ht-=4,_t=8+(15&(d>>>=4)),0===i.wbits)i.wbits=_t;else if(_t>i.wbits){t.msg="invalid window size",i.mode=at;break}i.dmax=1<<_t,t.adler=i.check=1,i.mode=512&d?q:W,d=0,ht=0;break;case j:for(;ht<16;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}if(i.flags=d,(255&i.flags)!==I){t.msg="unknown compression method",i.mode=at;break}if(57344&i.flags){t.msg="unknown header flags set",i.mode=at;break}i.head&&(i.head.text=d>>8&1),512&i.flags&&(Ct[0]=255&d,Ct[1]=d>>>8&255,i.check=g(i.check,Ct,2,0)),d=0,ht=0,i.mode=L;case L:for(;ht<32;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}i.head&&(i.head.time=d),512&i.flags&&(Ct[0]=255&d,Ct[1]=d>>>8&255,Ct[2]=d>>>16&255,Ct[3]=d>>>24&255,i.check=g(i.check,Ct,4,0)),d=0,ht=0,i.mode=z;case z:for(;ht<16;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}i.head&&(i.head.xflags=255&d,i.head.os=d>>8),512&i.flags&&(Ct[0]=255&d,Ct[1]=d>>>8&255,i.check=g(i.check,Ct,2,0)),d=0,ht=0,i.mode=D;case D:if(1024&i.flags){for(;ht<16;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}i.length=d,i.head&&(i.head.extra_len=d),512&i.flags&&(Ct[0]=255&d,Ct[1]=d>>>8&255,i.check=g(i.check,Ct,2,0)),d=0,ht=0}else i.head&&(i.head.extra=null);i.mode=B;case B:if(1024&i.flags&&((ft=i.length)>l&&(ft=l),ft&&(i.head&&(_t=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),f.arraySet(i.head.extra,r,s,ft,_t)),512&i.flags&&(i.check=g(i.check,r,ft,s)),l-=ft,s+=ft,i.length-=ft),i.length))break t;i.length=0,i.mode=P;case P:if(2048&i.flags){if(0===l)break t;ft=0;do{_t=r[s+ft++],i.head&&_t&&i.length<65536&&(i.head.name+=String.fromCharCode(_t))}while(_t&&ft<l);if(512&i.flags&&(i.check=g(i.check,r,ft,s)),l-=ft,s+=ft,_t)break t}else i.head&&(i.head.name=null);i.length=0,i.mode=M;case M:if(4096&i.flags){if(0===l)break t;ft=0;do{_t=r[s+ft++],i.head&&_t&&i.length<65536&&(i.head.comment+=String.fromCharCode(_t))}while(_t&&ft<l);if(512&i.flags&&(i.check=g(i.check,r,ft,s)),l-=ft,s+=ft,_t)break t}else i.head&&(i.head.comment=null);i.mode=F;case F:if(512&i.flags){for(;ht<16;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}if(d!==(65535&i.check)){t.msg="header crc mismatch",i.mode=at;break}d=0,ht=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=W;break;case q:for(;ht<32;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}t.adler=i.check=n(d),d=0,ht=0,i.mode=U;case U:if(0===i.havedict)return t.next_out=a,t.avail_out=u,t.next_in=s,t.avail_in=l,i.hold=d,i.bits=ht,T;t.adler=i.check=1,i.mode=W;case W:if(e===_||e===k)break t;case $:if(i.last){d>>>=7&ht,ht-=7&ht,i.mode=rt;break}for(;ht<3;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}switch(i.last=1&d,ht-=1,3&(d>>>=1)){case 0:i.mode=H;break;case 1:if(c(i),i.mode=K,e===k){d>>>=2,ht-=2;break t}break;case 2:i.mode=Y;break;case 3:t.msg="invalid block type",i.mode=at}d>>>=2,ht-=2;break;case H:for(d>>>=7&ht,ht-=7&ht;ht<32;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}if((65535&d)!=(d>>>16^65535)){t.msg="invalid stored block lengths",i.mode=at;break}if(i.length=65535&d,d=0,ht=0,i.mode=X,e===k)break t;case X:i.mode=V;case V:if(ft=i.length){if(ft>l&&(ft=l),ft>u&&(ft=u),0===ft)break t;f.arraySet(o,r,s,ft,a),l-=ft,s+=ft,u-=ft,a+=ft,i.length-=ft;break}i.mode=W;break;case Y:for(;ht<14;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}if(i.nlen=257+(31&d),d>>>=5,ht-=5,i.ndist=1+(31&d),d>>>=5,ht-=5,i.ncode=4+(15&d),d>>>=4,ht-=4,i.nlen>286||i.ndist>30){t.msg="too many length or distance symbols",i.mode=at;break}i.have=0,i.mode=G;case G:for(;i.have<i.ncode;){for(;ht<3;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}i.lens[At[i.have++]]=7&d,d>>>=3,ht-=3}for(;i.have<19;)i.lens[At[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,Et={bits:i.lenbits},kt=v(y,i.lens,0,19,i.lencode,0,i.work,Et),i.lenbits=Et.bits,kt){t.msg="invalid code lengths set",i.mode=at;break}i.have=0,i.mode=Z;case Z:for(;i.have<i.nlen+i.ndist;){for(;vt=(Tt=i.lencode[d&(1<<i.lenbits)-1])>>>16&255,yt=65535&Tt,!((mt=Tt>>>24)<=ht);){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}if(yt<16)d>>>=mt,ht-=mt,i.lens[i.have++]=yt;else{if(16===yt){for(St=mt+2;ht<St;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}if(d>>>=mt,ht-=mt,0===i.have){t.msg="invalid bit length repeat",i.mode=at;break}_t=i.lens[i.have-1],ft=3+(3&d),d>>>=2,ht-=2}else if(17===yt){for(St=mt+3;ht<St;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}ht-=mt,_t=0,ft=3+(7&(d>>>=mt)),d>>>=3,ht-=3}else{for(St=mt+7;ht<St;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}ht-=mt,_t=0,ft=11+(127&(d>>>=mt)),d>>>=7,ht-=7}if(i.have+ft>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=at;break}for(;ft--;)i.lens[i.have++]=_t}}if(i.mode===at)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=at;break}if(i.lenbits=9,Et={bits:i.lenbits},kt=v(b,i.lens,0,i.nlen,i.lencode,0,i.work,Et),i.lenbits=Et.bits,kt){t.msg="invalid literal/lengths set",i.mode=at;break}if(i.distbits=6,i.distcode=i.distdyn,Et={bits:i.distbits},kt=v(w,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,Et),i.distbits=Et.bits,kt){t.msg="invalid distances set",i.mode=at;break}if(i.mode=K,e===k)break t;case K:i.mode=Q;case Q:if(l>=6&&u>=258){t.next_out=a,t.avail_out=u,t.next_in=s,t.avail_in=l,i.hold=d,i.bits=ht,m(t,dt),a=t.next_out,o=t.output,u=t.avail_out,s=t.next_in,r=t.input,l=t.avail_in,d=i.hold,ht=i.bits,i.mode===W&&(i.back=-1);break}for(i.back=0;vt=(Tt=i.lencode[d&(1<<i.lenbits)-1])>>>16&255,yt=65535&Tt,!((mt=Tt>>>24)<=ht);){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}if(vt&&0==(240&vt)){for(bt=mt,wt=vt,xt=yt;vt=(Tt=i.lencode[xt+((d&(1<<bt+wt)-1)>>bt)])>>>16&255,yt=65535&Tt,!(bt+(mt=Tt>>>24)<=ht);){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}d>>>=bt,ht-=bt,i.back+=bt}if(d>>>=mt,ht-=mt,i.back+=mt,i.length=yt,0===vt){i.mode=nt;break}if(32&vt){i.back=-1,i.mode=W;break}if(64&vt){t.msg="invalid literal/length code",i.mode=at;break}i.extra=15&vt,i.mode=J;case J:if(i.extra){for(St=i.extra;ht<St;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}i.length+=d&(1<<i.extra)-1,d>>>=i.extra,ht-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=tt;case tt:for(;vt=(Tt=i.distcode[d&(1<<i.distbits)-1])>>>16&255,yt=65535&Tt,!((mt=Tt>>>24)<=ht);){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}if(0==(240&vt)){for(bt=mt,wt=vt,xt=yt;vt=(Tt=i.distcode[xt+((d&(1<<bt+wt)-1)>>bt)])>>>16&255,yt=65535&Tt,!(bt+(mt=Tt>>>24)<=ht);){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}d>>>=bt,ht-=bt,i.back+=bt}if(d>>>=mt,ht-=mt,i.back+=mt,64&vt){t.msg="invalid distance code",i.mode=at;break}i.offset=yt,i.extra=15&vt,i.mode=et;case et:if(i.extra){for(St=i.extra;ht<St;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}i.offset+=d&(1<<i.extra)-1,d>>>=i.extra,ht-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=at;break}i.mode=it;case it:if(0===u)break t;if(ft=dt-u,i.offset>ft){if((ft=i.offset-ft)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=at;break}ft>i.wnext?(ft-=i.wnext,pt=i.wsize-ft):pt=i.wnext-ft,ft>i.length&&(ft=i.length),gt=i.window}else gt=o,pt=a-i.offset,ft=i.length;ft>u&&(ft=u),u-=ft,i.length-=ft;do{o[a++]=gt[pt++]}while(--ft);0===i.length&&(i.mode=Q);break;case nt:if(0===u)break t;o[a++]=i.length,u--,i.mode=Q;break;case rt:if(i.wrap){for(;ht<32;){if(0===l)break t;l--,d|=r[s++]<<ht,ht+=8}if(dt-=u,t.total_out+=dt,i.total+=dt,dt&&(t.adler=i.check=i.flags?g(i.check,o,dt,a-dt):p(i.check,o,dt,a-dt)),dt=u,(i.flags?d:n(d))!==i.check){t.msg="incorrect data check",i.mode=at;break}d=0,ht=0}i.mode=ot;case ot:if(i.wrap&&i.flags){for(;ht<32;){if(0===l)break t;l--,d+=r[s++]<<ht,ht+=8}if(d!==(4294967295&i.total)){t.msg="incorrect length check",i.mode=at;break}d=0,ht=0}i.mode=st;case st:kt=S;break t;case at:kt=A;break t;case lt:return O;case ct:default:return C}return t.next_out=a,t.avail_out=u,t.next_in=s,t.avail_in=l,i.hold=d,i.bits=ht,(i.wsize||dt!==t.avail_out&&i.mode<at&&(i.mode<rt||e!==x))&&h(t,t.output,t.next_out,dt-t.avail_out)?(i.mode=lt,O):(ut-=t.avail_in,dt-=t.avail_out,t.total_in+=ut,t.total_out+=dt,i.total+=dt,i.wrap&&dt&&(t.adler=i.check=i.flags?g(i.check,o,dt,t.next_out-dt):p(i.check,o,dt,t.next_out-dt)),t.data_type=i.bits+(i.last?64:0)+(i.mode===W?128:0)+(i.mode===K||i.mode===X?256:0),(0===ut&&0===dt||e===x)&&kt===E&&(kt=N),kt)},i.inflateEnd=function(t){if(!t||!t.state)return C;var e=t.state;return e.window&&(e.window=null),t.state=null,E},i.inflateGetHeader=function(t,e){var i;return t&&t.state?0==(2&(i=t.state).wrap)?C:(i.head=e,e.done=!1,E):C},i.inflateSetDictionary=function(t,e){var i,n=e.length;return t&&t.state?0!==(i=t.state).wrap&&i.mode!==U?C:i.mode===U&&p(1,e,n,0)!==i.check?A:h(t,e,n,n)?(i.mode=lt,O):(i.havedict=1,E):C},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":62,"./adler32":64,"./crc32":66,"./inffast":69,"./inftrees":71}],71:[function(t,e,i){"use strict";var n=t("../utils/common"),r=15,o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,i,c,h,u,d,f){var p,g,m,v,y,b,w,x,_,k=f.bits,E=0,S=0,T=0,C=0,A=0,O=0,N=0,I=0,R=0,j=0,L=null,z=0,D=new n.Buf16(16),B=new n.Buf16(16),P=null,M=0;for(E=0;E<=r;E++)D[E]=0;for(S=0;S<c;S++)D[e[i+S]]++;for(A=k,C=r;C>=1&&0===D[C];C--);if(A>C&&(A=C),0===C)return h[u++]=20971520,h[u++]=20971520,f.bits=1,0;for(T=1;T<C&&0===D[T];T++);for(A<T&&(A=T),I=1,E=1;E<=r;E++)if(I<<=1,(I-=D[E])<0)return-1;if(I>0&&(0===t||1!==C))return-1;for(B[1]=0,E=1;E<r;E++)B[E+1]=B[E]+D[E];for(S=0;S<c;S++)0!==e[i+S]&&(d[B[e[i+S]]++]=S);if(0===t?(L=P=d,b=19):1===t?(L=o,z-=257,P=s,M-=257,b=256):(L=a,P=l,b=-1),j=0,S=0,E=T,y=u,O=A,N=0,m=-1,v=(R=1<<A)-1,1===t&&R>852||2===t&&R>592)return 1;for(;;){w=E-N,d[S]<b?(x=0,_=d[S]):d[S]>b?(x=P[M+d[S]],_=L[z+d[S]]):(x=96,_=0),p=1<<E-N,T=g=1<<O;do{h[y+(j>>N)+(g-=p)]=w<<24|x<<16|_|0}while(0!==g);for(p=1<<E-1;j&p;)p>>=1;if(0!==p?(j&=p-1,j+=p):j=0,S++,0==--D[E]){if(E===C)break;E=e[i+d[S]]}if(E>A&&(j&v)!==m){for(0===N&&(N=A),y+=T,I=1<<(O=E-N);O+N<C&&!((I-=D[O+N])<=0);)O++,I<<=1;if(R+=1<<O,1===t&&R>852||2===t&&R>592)return 1;h[m=j&v]=A<<24|O<<16|y-u|0}}return 0!==j&&(h[y+j]=E-N<<24|64<<16|0),f.bits=A,0}},{"../utils/common":62}],72:[function(t,e,i){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],73:[function(t,e,i){"use strict";function n(t){for(var e=t.length;--e>=0;)t[e]=0}function r(t,e,i,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=i,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function o(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function s(t){return t<256?Y[t]:Y[256+(t>>>7)]}function a(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function l(t,e,i){t.bi_valid>D-i?(t.bi_buf|=e<<t.bi_valid&65535,a(t,t.bi_buf),t.bi_buf=e>>D-t.bi_valid,t.bi_valid+=i-D):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=i)}function c(t,e,i){l(t,i[2*e],i[2*e+1])}function h(t,e){var i=0;do{i|=1&t,t>>>=1,i<<=1}while(--e>0);return i>>>1}function u(t,e,i){var n,r,o=new Array(z+1),s=0;for(n=1;n<=z;n++)o[n]=s=s+i[n-1]<<1;for(r=0;r<=e;r++){var a=t[2*r+1];0!==a&&(t[2*r]=h(o[a]++,a))}}function d(t){var e;for(e=0;e<I;e++)t.dyn_ltree[2*e]=0;for(e=0;e<R;e++)t.dyn_dtree[2*e]=0;for(e=0;e<j;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*P]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function f(t){t.bi_valid>8?a(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function p(t,e,i,n){var r=2*e,o=2*i;return t[r]<t[o]||t[r]===t[o]&&n[e]<=n[i]}function g(t,e,i){for(var n=t.heap[i],r=i<<1;r<=t.heap_len&&(r<t.heap_len&&p(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!p(e,n,t.heap[r],t.depth));)t.heap[i]=t.heap[r],i=r,r<<=1;t.heap[i]=n}function m(t,e,i){var n,r,o,a,h=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*h]<<8|t.pending_buf[t.d_buf+2*h+1],r=t.pending_buf[t.l_buf+h],h++,0===n?c(t,r,e):(c(t,(o=G[r])+N+1,e),0!==(a=U[o])&&l(t,r-=Z[o],a),c(t,o=s(--n),i),0!==(a=W[o])&&l(t,n-=K[o],a))}while(h<t.last_lit);c(t,P,e)}function v(t,e){var i,n,r,o=e.dyn_tree,s=e.stat_desc.static_tree,a=e.stat_desc.has_stree,l=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=L,i=0;i<l;i++)0!==o[2*i]?(t.heap[++t.heap_len]=c=i,t.depth[i]=0):o[2*i+1]=0;for(;t.heap_len<2;)o[2*(r=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[r]=0,t.opt_len--,a&&(t.static_len-=s[2*r+1]);for(e.max_code=c,i=t.heap_len>>1;i>=1;i--)g(t,o,i);r=l;do{i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],g(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=n,o[2*r]=o[2*i]+o[2*n],t.depth[r]=(t.depth[i]>=t.depth[n]?t.depth[i]:t.depth[n])+1,o[2*i+1]=o[2*n+1]=r,t.heap[1]=r++,g(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var i,n,r,o,s,a,l=e.dyn_tree,c=e.max_code,h=e.stat_desc.static_tree,u=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(o=0;o<=z;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;i<L;i++)(o=l[2*l[2*(n=t.heap[i])+1]+1]+1)>p&&(o=p,g++),l[2*n+1]=o,n>c||(t.bl_count[o]++,s=0,n>=f&&(s=d[n-f]),a=l[2*n],t.opt_len+=a*(o+s),u&&(t.static_len+=a*(h[2*n+1]+s)));if(0!==g){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(o=p;0!==o;o--)for(n=t.bl_count[o];0!==n;)(r=t.heap[--i])>c||(l[2*r+1]!==o&&(t.opt_len+=(o-l[2*r+1])*l[2*r],l[2*r+1]=o),n--)}}(t,e),u(o,c,t.bl_count)}function y(t,e,i){var n,r,o=-1,s=e[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),e[2*(i+1)+1]=65535,n=0;n<=i;n++)r=s,s=e[2*(n+1)+1],++a<l&&r===s||(a<c?t.bl_tree[2*r]+=a:0!==r?(r!==o&&t.bl_tree[2*r]++,t.bl_tree[2*M]++):a<=10?t.bl_tree[2*F]++:t.bl_tree[2*q]++,a=0,o=r,0===s?(l=138,c=3):r===s?(l=6,c=3):(l=7,c=4))}function b(t,e,i){var n,r,o=-1,s=e[1],a=0,h=7,u=4;for(0===s&&(h=138,u=3),n=0;n<=i;n++)if(r=s,s=e[2*(n+1)+1],!(++a<h&&r===s)){if(a<u)do{c(t,r,t.bl_tree)}while(0!=--a);else 0!==r?(r!==o&&(c(t,r,t.bl_tree),a--),c(t,M,t.bl_tree),l(t,a-3,2)):a<=10?(c(t,F,t.bl_tree),l(t,a-3,3)):(c(t,q,t.bl_tree),l(t,a-11,7));a=0,o=r,0===s?(h=138,u=3):r===s?(h=6,u=3):(h=7,u=4)}}function w(t,e,i,n){l(t,(T<<1)+(n?1:0),3),function(t,e,i,n){f(t),n&&(a(t,i),a(t,~i)),x.arraySet(t.pending_buf,t.window,e,i,t.pending),t.pending+=i}(t,e,i,!0)}var x=t("../utils/common"),_=4,k=0,E=1,S=2,T=0,C=1,A=2,O=29,N=256,I=N+1+O,R=30,j=19,L=2*I+1,z=15,D=16,B=7,P=256,M=16,F=17,q=18,U=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],W=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],$=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],X=new Array(2*(I+2));n(X);var V=new Array(2*R);n(V);var Y=new Array(512);n(Y);var G=new Array(256);n(G);var Z=new Array(O);n(Z);var K=new Array(R);n(K);var Q,J,tt,et=!1;i._tr_init=function(t){et||(function(){var t,e,i,n,o,s=new Array(z+1);for(i=0,n=0;n<O-1;n++)for(Z[n]=i,t=0;t<1<<U[n];t++)G[i++]=n;for(G[i-1]=n,o=0,n=0;n<16;n++)for(K[n]=o,t=0;t<1<<W[n];t++)Y[o++]=n;for(o>>=7;n<R;n++)for(K[n]=o<<7,t=0;t<1<<W[n]-7;t++)Y[256+o++]=n;for(e=0;e<=z;e++)s[e]=0;for(t=0;t<=143;)X[2*t+1]=8,t++,s[8]++;for(;t<=255;)X[2*t+1]=9,t++,s[9]++;for(;t<=279;)X[2*t+1]=7,t++,s[7]++;for(;t<=287;)X[2*t+1]=8,t++,s[8]++;for(u(X,I+1,s),t=0;t<R;t++)V[2*t+1]=5,V[2*t]=h(t,5);Q=new r(X,U,N+1,I,z),J=new r(V,W,0,R,z),tt=new r(new Array(0),$,0,j,B)}(),et=!0),t.l_desc=new o(t.dyn_ltree,Q),t.d_desc=new o(t.dyn_dtree,J),t.bl_desc=new o(t.bl_tree,tt),t.bi_buf=0,t.bi_valid=0,d(t)},i._tr_stored_block=w,i._tr_flush_block=function(t,e,i,n){var r,o,s=0;t.level>0?(t.strm.data_type===S&&(t.strm.data_type=function(t){var e,i=4093624447;for(e=0;e<=31;e++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*e])return k;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return E;for(e=32;e<N;e++)if(0!==t.dyn_ltree[2*e])return E;return k}(t)),v(t,t.l_desc),v(t,t.d_desc),s=function(t){var e;for(y(t,t.dyn_ltree,t.l_desc.max_code),y(t,t.dyn_dtree,t.d_desc.max_code),v(t,t.bl_desc),e=j-1;e>=3&&0===t.bl_tree[2*H[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=r&&(r=o)):r=o=i+5,i+4<=r&&-1!==e?w(t,e,i,n):t.strategy===_||o===r?(l(t,(C<<1)+(n?1:0),3),m(t,X,V)):(l(t,(A<<1)+(n?1:0),3),function(t,e,i,n){var r;for(l(t,e-257,5),l(t,i-1,5),l(t,n-4,4),r=0;r<n;r++)l(t,t.bl_tree[2*H[r]+1],3);b(t,t.dyn_ltree,e-1),b(t,t.dyn_dtree,i-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),m(t,t.dyn_ltree,t.dyn_dtree)),d(t),n&&f(t)},i._tr_tally=function(t,e,i){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===e?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(G[i]+N+1)]++,t.dyn_dtree[2*s(e)]++),t.last_lit===t.lit_bufsize-1},i._tr_align=function(t){l(t,C<<1,3),c(t,P,X),function(t){16===t.bi_valid?(a(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":62}],74:[function(t,e,i){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}]},{},[10])(10)})),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("xmldom"),require("JSZip")):"function"==typeof define&&define.amd?define(["xmldom","JSZip"],e):"object"==typeof exports?exports.ePub=e(require("xmldom"),require("JSZip")):t.ePub=e(t.xmldom,t.JSZip)}(window,(function(t,e){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/dist/",i(i.s=86)}([function(t,e,i){"use strict";i.r(e),i.d(e,"requestAnimationFrame",(function(){return r})),i.d(e,"uuid",(function(){return s})),i.d(e,"documentHeight",(function(){return a})),i.d(e,"isElement",(function(){return l})),i.d(e,"isNumber",(function(){return c})),i.d(e,"isFloat",(function(){return h})),i.d(e,"prefixed",(function(){return u})),i.d(e,"defaults",(function(){return d})),i.d(e,"extend",(function(){return f})),i.d(e,"insert",(function(){return p})),i.d(e,"locationOf",(function(){return g})),i.d(e,"indexOfSorted",(function(){return m})),i.d(e,"bounds",(function(){return v})),i.d(e,"borders",(function(){return y})),i.d(e,"nodeBounds",(function(){return b})),i.d(e,"windowBounds",(function(){return w})),i.d(e,"indexOfNode",(function(){return x})),i.d(e,"indexOfTextNode",(function(){return _})),i.d(e,"indexOfElementNode",(function(){return k})),i.d(e,"isXml",(function(){return E})),i.d(e,"createBlob",(function(){return S})),i.d(e,"createBlobUrl",(function(){return T})),i.d(e,"revokeBlobUrl",(function(){return C})),i.d(e,"createBase64Url",(function(){return A})),i.d(e,"type",(function(){return O})),i.d(e,"parse",(function(){return N})),i.d(e,"qs",(function(){return I})),i.d(e,"qsa",(function(){return R})),i.d(e,"qsp",(function(){return j})),i.d(e,"sprint",(function(){return L})),i.d(e,"treeWalker",(function(){return z})),i.d(e,"walk",(function(){return D})),i.d(e,"blob2base64",(function(){return B})),i.d(e,"defer",(function(){return P})),i.d(e,"querySelectorByType",(function(){return M})),i.d(e,"findChildren",(function(){return F})),i.d(e,"parents",(function(){return q})),i.d(e,"filterChildren",(function(){return U})),i.d(e,"getParentByTagName",(function(){return W})),i.d(e,"RangeObject",(function(){return $})),i(24),i(14),i(20);var n=i(38);const r="undefined"!=typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),o="undefined"!=typeof URL?URL:"undefined"!=typeof window?window.URL||window.webkitURL||window.mozURL:void 0;function s(){var t=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var i=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?i:7&i|8).toString(16)}))}function a(){return Math.max(document.documentElement.clientHeight,document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight)}function l(t){return!(!t||1!=t.nodeType)}function c(t){return!isNaN(parseFloat(t))&&isFinite(t)}function h(t){let e=parseFloat(t);return!1!==c(t)&&("string"==typeof t&&t.indexOf(".")>-1||Math.floor(e)!==e)}function u(t){var e=["-webkit-","-webkit-","-moz-","-o-","-ms-"],i=t.toLowerCase(),n=["Webkit","webkit","Moz","O","ms"].length;if("undefined"==typeof document||void 0!==document.body.style[i])return t;for(var r=0;r<n;r++)if(void 0!==document.body.style[e[r]+i])return e[r]+i;return t}function d(t){for(var e=1,i=arguments.length;e<i;e++){var n=arguments[e];for(var r in n)void 0===t[r]&&(t[r]=n[r])}return t}function f(t){var e=[].slice.call(arguments,1);return e.forEach((function(e){e&&Object.getOwnPropertyNames(e).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))})),t}function p(t,e,i){var n=g(t,e,i);return e.splice(n,0,t),n}function g(t,e,i,n,r){var o,s=n||0,a=r||e.length,l=parseInt(s+(a-s)/2);return i||(i=function(t,e){return t>e?1:t<e?-1:t==e?0:void 0}),a-s<=0?l:(o=i(e[l],t),a-s==1?o>=0?l:l+1:0===o?l:-1===o?g(t,e,i,l,a):g(t,e,i,s,l))}function m(t,e,i,n,r){var o,s=n||0,a=r||e.length,l=parseInt(s+(a-s)/2);return i||(i=function(t,e){return t>e?1:t<e?-1:t==e?0:void 0}),a-s<=0?-1:(o=i(e[l],t),a-s==1?0===o?l:-1:0===o?l:-1===o?m(t,e,i,l,a):m(t,e,i,s,l))}function v(t){var e=window.getComputedStyle(t),i=0,n=0;return["width","paddingRight","paddingLeft","marginRight","marginLeft","borderRightWidth","borderLeftWidth"].forEach((function(t){i+=parseFloat(e[t])||0})),["height","paddingTop","paddingBottom","marginTop","marginBottom","borderTopWidth","borderBottomWidth"].forEach((function(t){n+=parseFloat(e[t])||0})),{height:n,width:i}}function y(t){var e=window.getComputedStyle(t),i=0,n=0;return["paddingRight","paddingLeft","marginRight","marginLeft","borderRightWidth","borderLeftWidth"].forEach((function(t){i+=parseFloat(e[t])||0})),["paddingTop","paddingBottom","marginTop","marginBottom","borderTopWidth","borderBottomWidth"].forEach((function(t){n+=parseFloat(e[t])||0})),{height:n,width:i}}function b(t){let e,i=t.ownerDocument;if(t.nodeType==Node.TEXT_NODE){let n=i.createRange();n.selectNodeContents(t),e=n.getBoundingClientRect()}else e=t.getBoundingClientRect();return e}function w(){var t=window.innerWidth,e=window.innerHeight;return{top:0,left:0,right:t,bottom:e,width:t,height:e}}function x(t,e){for(var i,n=t.parentNode.childNodes,r=-1,o=0;o<n.length&&((i=n[o]).nodeType===e&&r++,i!=t);o++);return r}function _(t){return x(t,3)}function k(t){return x(t,1)}function E(t){return["xml","opf","ncx"].indexOf(t)>-1}function S(t,e){return new Blob([t],{type:e})}function T(t,e){var i=S(t,e);return o.createObjectURL(i)}function C(t){return o.revokeObjectURL(t)}function A(t,e){if("string"==typeof t)return"data:"+e+";base64,"+btoa(encodeURIComponent(t))}function O(t){return Object.prototype.toString.call(t).slice(8,-1)}function N(t,e,i){var r;return r="undefined"==typeof DOMParser||i?n.DOMParser:DOMParser,65279===t.charCodeAt(0)&&(t=t.slice(1)),(new r).parseFromString(t,e)}function I(t,e){var i;if(!t)throw new Error("No Element Provided");return void 0!==t.querySelector?t.querySelector(e):(i=t.getElementsByTagName(e)).length?i[0]:void 0}function R(t,e){return void 0!==t.querySelector?t.querySelectorAll(e):t.getElementsByTagName(e)}function j(t,e,i){var n,r;if(void 0!==t.querySelector){for(var o in e+="[",i)e+=o+"~='"+i[o]+"'";return e+="]",t.querySelector(e)}if(n=t.getElementsByTagName(e),r=Array.prototype.slice.call(n,0).filter((function(t){for(var e in i)if(t.getAttribute(e)===i[e])return!0;return!1})))return r[0]}function L(t,e){void 0!==(t.ownerDocument||t).createTreeWalker?z(t,e,NodeFilter.SHOW_TEXT):D(t,(function(t){t&&3===t.nodeType&&e(t)}))}function z(t,e,i){var n=document.createTreeWalker(t,i,null,!1);let r;for(;r=n.nextNode();)e(r)}function D(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(D(t,e))return!0;t=t.nextSibling}while(t)}function B(t){return new Promise((function(e,i){var n=new FileReader;n.readAsDataURL(t),n.onloadend=function(){e(n.result)}}))}function P(){this.resolve=null,this.reject=null,this.id=s(),this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e}),Object.freeze(this)}function M(t,e,i){var n;if(void 0!==t.querySelector&&(n=t.querySelector(`${e}[*|type="${i}"]`)),n&&0!==n.length)return n;n=R(t,e);for(var r=0;r<n.length;r++)if(n[r].getAttributeNS("http://www.idpf.org/2007/ops","type")===i||n[r].getAttribute("epub:type")===i)return n[r]}function F(t){for(var e=[],i=t.childNodes,n=0;n<i.length;n++){let t=i[n];1===t.nodeType&&e.push(t)}return e}function q(t){for(var e=[t];t;t=t.parentNode)e.unshift(t);return e}function U(t,e,i){for(var n=[],r=t.childNodes,o=0;o<r.length;o++){let t=r[o];if(1===t.nodeType&&t.nodeName.toLowerCase()===e){if(i)return t;n.push(t)}}if(!i)return n}function W(t,e){let i;if(null!==t&&""!==e)for(i=t.parentNode;1===i.nodeType;){if(i.tagName.toLowerCase()===e)return i;i=i.parentNode}}class ${constructor(){this.collapsed=!1,this.commonAncestorContainer=void 0,this.endContainer=void 0,this.endOffset=void 0,this.startContainer=void 0,this.startOffset=void 0}setStart(t,e){this.startContainer=t,this.startOffset=e,this.endContainer?this.commonAncestorContainer=this._commonAncestorContainer():this.collapse(!0),this._checkCollapsed()}setEnd(t,e){this.endContainer=t,this.endOffset=e,this.startContainer?(this.collapsed=!1,this.commonAncestorContainer=this._commonAncestorContainer()):this.collapse(!1),this._checkCollapsed()}collapse(t){this.collapsed=!0,t?(this.endContainer=this.startContainer,this.endOffset=this.startOffset,this.commonAncestorContainer=this.startContainer.parentNode):(this.startContainer=this.endContainer,this.startOffset=this.endOffset,this.commonAncestorContainer=this.endOffset.parentNode)}selectNode(t){let e=t.parentNode,i=Array.prototype.indexOf.call(e.childNodes,t);this.setStart(e,i),this.setEnd(e,i+1)}selectNodeContents(t){t.childNodes[t.childNodes-1];let e=3===t.nodeType?t.textContent.length:parent.childNodes.length;this.setStart(t,0),this.setEnd(t,e)}_commonAncestorContainer(t,e){var i=q(t||this.startContainer),n=q(e||this.endContainer);if(i[0]==n[0])for(var r=0;r<i.length;r++)if(i[r]!=n[r])return i[r-1]}_checkCollapsed(){this.startContainer===this.endContainer&&this.startOffset===this.endOffset?this.collapsed=!0:this.collapsed=!1}toString(){}}},function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"a",(function(){return r})),i.d(e,"c",(function(){return o}));const n="0.3",r=["keydown","keyup","keypressed","mouseup","mousedown","click","touchend","touchstart","touchmove"],o={BOOK:{OPEN_FAILED:"openFailed"},CONTENTS:{EXPAND:"expand",RESIZE:"resize",SELECTED:"selected",SELECTED_RANGE:"selectedRange",LINK_CLICKED:"linkClicked"},LOCATIONS:{CHANGED:"changed"},MANAGERS:{RESIZE:"resize",RESIZED:"resized",ORIENTATION_CHANGE:"orientationchange",ADDED:"added",SCROLL:"scroll",SCROLLED:"scrolled",REMOVED:"removed"},VIEWS:{AXIS:"axis",WRITING_MODE:"writingMode",LOAD_ERROR:"loaderror",RENDERED:"rendered",RESIZED:"resized",DISPLAYED:"displayed",SHOWN:"shown",HIDDEN:"hidden",MARK_CLICKED:"markClicked"},RENDITION:{STARTED:"started",ATTACHED:"attached",DISPLAYED:"displayed",DISPLAY_ERROR:"displayerror",RENDERED:"rendered",REMOVED:"removed",RESIZED:"resized",ORIENTATION_CHANGE:"orientationchange",LOCATION_CHANGED:"locationChanged",RELOCATED:"relocated",MARK_CLICKED:"markClicked",SELECTED:"selected",LAYOUT:"layout"},LAYOUT:{UPDATED:"updated"},ANNOTATION:{ATTACH:"attach",DETACH:"detach"}}},function(t,e,i){"use strict";var n=i(0);class r{constructor(t,e,i){var o;if(this.str="",this.base={},this.spinePos=0,this.range=!1,this.path={},this.start=null,this.end=null,!(this instanceof r))return new r(t,e,i);if("string"==typeof e?this.base=this.parseComponent(e):"object"==typeof e&&e.steps&&(this.base=e),"string"===(o=this.checkType(t)))return this.str=t,Object(n.extend)(this,this.parse(t));if("range"===o)return Object(n.extend)(this,this.fromRange(t,this.base,i));if("node"===o)return Object(n.extend)(this,this.fromNode(t,this.base,i));if("EpubCFI"===o&&t.path)return t;if(t)throw new TypeError("not a valid argument for EpubCFI");return this}checkType(t){return this.isCfiString(t)?"string":!t||"object"!=typeof t||"Range"!==Object(n.type)(t)&&void 0===t.startContainer?t&&"object"==typeof t&&void 0!==t.nodeType?"node":!!(t&&"object"==typeof t&&t instanceof r)&&"EpubCFI":"range"}parse(t){var e,i,n,r={spinePos:-1,range:!1,base:{},path:{},start:null,end:null};return"string"!=typeof t?{spinePos:-1}:(0===t.indexOf("epubcfi(")&&")"===t[t.length-1]&&(t=t.slice(8,t.length-1)),(e=this.getChapterComponent(t))?(r.base=this.parseComponent(e),i=this.getPathComponent(t),r.path=this.parseComponent(i),(n=this.getRange(t))&&(r.range=!0,r.start=this.parseComponent(n[0]),r.end=this.parseComponent(n[1])),r.spinePos=r.base.steps[1].index,r):{spinePos:-1})}parseComponent(t){var e,i={steps:[],terminal:{offset:null,assertion:null}},n=t.split(":"),r=n[0].split("/");return n.length>1&&(e=n[1],i.terminal=this.parseTerminal(e)),""===r[0]&&r.shift(),i.steps=r.map(function(t){return this.parseStep(t)}.bind(this)),i}parseStep(t){var e,i,n,r,o;if((r=t.match(/\[(.*)\]/))&&r[1]&&(o=r[1]),i=parseInt(t),!isNaN(i))return i%2==0?(e="element",n=i/2-1):(e="text",n=(i-1)/2),{type:e,index:n,id:o||null}}parseTerminal(t){var e,i,r=t.match(/\[(.*)\]/);return r&&r[1]?(e=parseInt(t.split("[")[0]),i=r[1]):e=parseInt(t),Object(n.isNumber)(e)||(e=null),{offset:e,assertion:i}}getChapterComponent(t){return t.split("!")[0]}getPathComponent(t){var e=t.split("!");if(e[1])return e[1].split(",")[0]}getRange(t){var e=t.split(",");return 3===e.length&&[e[1],e[2]]}getCharecterOffsetComponent(t){return t.split(":")[1]||""}joinSteps(t){return t?t.map((function(t){var e="";return"element"===t.type&&(e+=2*(t.index+1)),"text"===t.type&&(e+=1+2*t.index),t.id&&(e+="["+t.id+"]"),e})).join("/"):""}segmentString(t){var e="/";return e+=this.joinSteps(t.steps),t.terminal&&null!=t.terminal.offset&&(e+=":"+t.terminal.offset),t.terminal&&null!=t.terminal.assertion&&(e+="["+t.terminal.assertion+"]"),e}toString(){var t="epubcfi(";return t+=this.segmentString(this.base),t+="!",t+=this.segmentString(this.path),this.range&&this.start&&(t+=",",t+=this.segmentString(this.start)),this.range&&this.end&&(t+=",",t+=this.segmentString(this.end)),t+")"}compare(t,e){var i,n,o,s;if("string"==typeof t&&(t=new r(t)),"string"==typeof e&&(e=new r(e)),t.spinePos>e.spinePos)return 1;if(t.spinePos<e.spinePos)return-1;t.range?(i=t.path.steps.concat(t.start.steps),o=t.start.terminal):(i=t.path.steps,o=t.path.terminal),e.range?(n=e.path.steps.concat(e.start.steps),s=e.start.terminal):(n=e.path.steps,s=e.path.terminal);for(var a=0;a<i.length;a++){if(!i[a])return-1;if(!n[a])return 1;if(i[a].index>n[a].index)return 1;if(i[a].index<n[a].index)return-1}return i.length<n.length?-1:o.offset>s.offset?1:o.offset<s.offset?-1:0}step(t){var e=3===t.nodeType?"text":"element";return{id:t.id,tagName:t.tagName,type:e,index:this.position(t)}}filteredStep(t,e){var i,n=this.filter(t,e);if(n)return i=3===n.nodeType?"text":"element",{id:n.id,tagName:n.tagName,type:i,index:this.filteredPosition(n,e)}}pathTo(t,e,i){for(var n,r={steps:[],terminal:{offset:null,assertion:null}},o=t;o&&o.parentNode&&9!=o.parentNode.nodeType;)(n=i?this.filteredStep(o,i):this.step(o))&&r.steps.unshift(n),o=o.parentNode;return null!=e&&e>=0&&(r.terminal.offset=e,"text"!=r.steps[r.steps.length-1].type&&r.steps.push({type:"text",index:0})),r}equalStep(t,e){return!(!t||!e)&&t.index===e.index&&t.id===e.id&&t.type===e.type}fromRange(t,e,i){var n={range:!1,base:{},path:{},start:null,end:null},r=t.startContainer,o=t.endContainer,s=t.startOffset,a=t.endOffset,l=!1;if(i&&(l=null!=r.ownerDocument.querySelector("."+i)),"string"==typeof e?(n.base=this.parseComponent(e),n.spinePos=n.base.steps[1].index):"object"==typeof e&&(n.base=e),t.collapsed)l&&(s=this.patchOffset(r,s,i)),n.path=this.pathTo(r,s,i);else{n.range=!0,l&&(s=this.patchOffset(r,s,i)),n.start=this.pathTo(r,s,i),l&&(a=this.patchOffset(o,a,i)),n.end=this.pathTo(o,a,i),n.path={steps:[],terminal:null};var c,h=n.start.steps.length;for(c=0;c<h&&this.equalStep(n.start.steps[c],n.end.steps[c]);c++)c===h-1?n.start.terminal===n.end.terminal&&(n.path.steps.push(n.start.steps[c]),n.range=!1):n.path.steps.push(n.start.steps[c]);n.start.steps=n.start.steps.slice(n.path.steps.length),n.end.steps=n.end.steps.slice(n.path.steps.length)}return n}fromNode(t,e,i){var n={range:!1,base:{},path:{},start:null,end:null};return"string"==typeof e?(n.base=this.parseComponent(e),n.spinePos=n.base.steps[1].index):"object"==typeof e&&(n.base=e),n.path=this.pathTo(t,null,i),n}filter(t,e){var i,n,r,o,s,a=!1;return 3===t.nodeType?(a=!0,r=t.parentNode,i=t.parentNode.classList.contains(e)):(a=!1,i=t.classList.contains(e)),i&&a?(o=r.previousSibling,s=r.nextSibling,o&&3===o.nodeType?n=o:s&&3===s.nodeType&&(n=s),n||t):!(i&&!a)&&t}patchOffset(t,e,i){if(3!=t.nodeType)throw new Error("Anchor must be a text node");var n=t,r=e;for(t.parentNode.classList.contains(i)&&(n=t.parentNode);n.previousSibling;){if(1===n.previousSibling.nodeType){if(!n.previousSibling.classList.contains(i))break;r+=n.previousSibling.textContent.length}else r+=n.previousSibling.textContent.length;n=n.previousSibling}return r}normalizedMap(t,e,i){var n,r,o,s={},a=-1,l=t.length;for(n=0;n<l;n++)1===(r=t[n].nodeType)&&t[n].classList.contains(i)&&(r=3),n>0&&3===r&&3===o?s[n]=a:e===r&&(a+=1,s[n]=a),o=r;return s}position(t){var e,i;return 1===t.nodeType?((e=t.parentNode.children)||(e=Object(n.findChildren)(t.parentNode)),i=Array.prototype.indexOf.call(e,t)):i=(e=this.textNodes(t.parentNode)).indexOf(t),i}filteredPosition(t,e){var i,n;return 1===t.nodeType?(i=t.parentNode.children,n=this.normalizedMap(i,1,e)):(i=t.parentNode.childNodes,t.parentNode.classList.contains(e)&&(i=(t=t.parentNode).parentNode.childNodes),n=this.normalizedMap(i,3,e)),n[Array.prototype.indexOf.call(i,t)]}stepsToXpath(t){var e=[".","*"];return t.forEach((function(t){var i=t.index+1;t.id?e.push("*[position()="+i+" and @id='"+t.id+"']"):"text"===t.type?e.push("text()["+i+"]"):e.push("*["+i+"]")})),e.join("/")}stepsToQuerySelector(t){var e=["html"];return t.forEach((function(t){var i=t.index+1;t.id?e.push("#"+t.id):"text"===t.type||e.push("*:nth-child("+i+")")})),e.join(">")}textNodes(t,e){return Array.prototype.slice.call(t.childNodes).filter((function(t){return 3===t.nodeType||!(!e||!t.classList.contains(e))}))}walkToNode(t,e,i){var r,o,s=e||document,a=s.documentElement,l=t.length;for(o=0;o<l&&("element"===(r=t[o]).type?a=r.id?s.getElementById(r.id):(a.children||Object(n.findChildren)(a))[r.index]:"text"===r.type&&(a=this.textNodes(a,i)[r.index]),a);o++);return a}findNode(t,e,i){var n,r,o=e||document;return i||void 0===o.evaluate?n=i?this.walkToNode(t,o,i):this.walkToNode(t,o):(r=this.stepsToXpath(t),n=o.evaluate(r,o,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue),n}fixMiss(t,e,i,n){var r,o,s=this.findNode(t.slice(0,-1),i,n),a=s.childNodes,l=this.normalizedMap(a,3,n),c=t[t.length-1].index;for(let t in l){if(!l.hasOwnProperty(t))return;if(l[t]===c){if(!(e>(o=(r=a[t]).textContent.length))){s=1===r.nodeType?r.childNodes[0]:r;break}e-=o}}return{container:s,offset:e}}toRange(t,e){var i,r,o,s,a,l,c,h,u=t||document,d=!!e&&null!=u.querySelector("."+e);if(i=void 0!==u.createRange?u.createRange():new n.RangeObject,this.range?(r=this.start,l=this.path.steps.concat(r.steps),s=this.findNode(l,u,d?e:null),o=this.end,c=this.path.steps.concat(o.steps),a=this.findNode(c,u,d?e:null)):(r=this.path,l=this.path.steps,s=this.findNode(this.path.steps,u,d?e:null)),!s)return console.log("No startContainer found for",this.toString()),null;try{null!=r.terminal.offset?i.setStart(s,r.terminal.offset):i.setStart(s,0)}catch(t){h=this.fixMiss(l,r.terminal.offset,u,d?e:null),i.setStart(h.container,h.offset)}if(a)try{null!=o.terminal.offset?i.setEnd(a,o.terminal.offset):i.setEnd(a,0)}catch(t){h=this.fixMiss(c,this.end.terminal.offset,u,d?e:null),i.setEnd(h.container,h.offset)}return i}isCfiString(t){return"string"==typeof t&&0===t.indexOf("epubcfi(")&&")"===t[t.length-1]}generateChapterComponent(t,e,i){var n="/"+2*(t+1)+"/";return n+=2*(parseInt(e)+1),i&&(n+="["+i+"]"),n}collapse(t){this.range&&(this.range=!1,t?(this.path.steps=this.path.steps.concat(this.start.steps),this.path.terminal=this.start.terminal):(this.path.steps=this.path.steps.concat(this.end.steps),this.path.terminal=this.end.terminal))}}e.a=r},function(t,e,i){"use strict";var n,r,o,s,a,l,c,h=i(108),u=i(122),d=Function.prototype.apply,f=Function.prototype.call,p=Object.create,g=Object.defineProperty,m=Object.defineProperties,v=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var i,r;return u(e),r=this,n.call(this,t,i=function(){o.call(r,t,i),d.call(e,this,arguments)}),i.__eeOnceListener__=e,this},a={on:n=function(t,e){var i;return u(e),v.call(this,"__ee__")?i=this.__ee__:(i=y.value=p(null),g(this,"__ee__",y),y.value=null),i[t]?"object"==typeof i[t]?i[t].push(e):i[t]=[i[t],e]:i[t]=e,this},once:r,off:o=function(t,e){var i,n,r,o;if(u(e),!v.call(this,"__ee__"))return this;if(!(i=this.__ee__)[t])return this;if("object"==typeof(n=i[t]))for(o=0;r=n[o];++o)r!==e&&r.__eeOnceListener__!==e||(2===n.length?i[t]=n[o?0:1]:n.splice(o,1));else n!==e&&n.__eeOnceListener__!==e||delete i[t];return this},emit:s=function(t){var e,i,n,r,o;if(v.call(this,"__ee__")&&(r=this.__ee__[t]))if("object"==typeof r){for(i=arguments.length,o=new Array(i-1),e=1;e<i;++e)o[e-1]=arguments[e];for(r=r.slice(),e=0;n=r[e];++e)d.call(n,this,o)}else switch(arguments.length){case 1:f.call(r,this);break;case 2:f.call(r,this,arguments[1]);break;case 3:f.call(r,this,arguments[1],arguments[2]);break;default:for(i=arguments.length,o=new Array(i-1),e=1;e<i;++e)o[e-1]=arguments[e];d.call(r,this,o)}}},l={on:h(n),once:h(r),off:h(o),emit:h(s)},c=m({},l),t.exports=e=function(t){return null==t?p(c):m(Object(t),l)},e.methods=a},function(t,e,i){"use strict";i(14),i(20);var n=i(9),r=i.n(n);e.a=class{constructor(t){var e;t.indexOf("://")>-1&&(t=new URL(t).pathname),e=this.parse(t),this.path=t,this.isDirectory(t)?this.directory=t:this.directory=e.dir+"/",this.filename=e.base,this.extension=e.ext.slice(1)}parse(t){return r.a.parse(t)}isAbsolute(t){return r.a.isAbsolute(t||this.path)}isDirectory(t){return"/"===t.charAt(t.length-1)}resolve(t){return r.a.resolve(this.directory,t)}relative(t){return t&&t.indexOf("://")>-1?t:r.a.relative(this.directory,t)}splitPath(t){return this.splitPathRe.exec(t).slice(1)}toString(){return this.path}}},function(t,e,i){"use strict";i(14),i(20);var n=i(4),r=i(9),o=i.n(r);e.a=class{constructor(t,e){var i=t.indexOf("://")>-1,r=t;if(this.Url=void 0,this.href=t,this.protocol="",this.origin="",this.hash="",this.hash="",this.search="",this.base=e,!i&&!1!==e&&"string"!=typeof e&&window&&window.location&&(this.base=window.location.href),i||this.base)try{this.base?this.Url=new URL(t,this.base):this.Url=new URL(t),this.href=this.Url.href,this.protocol=this.Url.protocol,this.origin=this.Url.origin,this.hash=this.Url.hash,this.search=this.Url.search,r=this.Url.pathname+(this.Url.search?this.Url.search:"")}catch(t){this.Url=void 0,this.base&&(r=new n.a(this.base).resolve(r))}this.Path=new n.a(r),this.directory=this.Path.directory,this.filename=this.Path.filename,this.extension=this.Path.extension}path(){return this.Path}resolve(t){var e;return t.indexOf("://")>-1?t:(e=o.a.resolve(this.directory,t),this.origin+e)}relative(t){return o.a.relative(t,this.directory)}toString(){return this.href}}},function(t,e,i){"use strict";i(14),e.a=class{constructor(t){this.context=t||this,this.hooks=[]}register(){for(var t=0;t<arguments.length;++t)if("function"==typeof arguments[t])this.hooks.push(arguments[t]);else for(var e=0;e<arguments[t].length;++e)this.hooks.push(arguments[t][e])}deregister(t){let e;for(let i=0;i<this.hooks.length;i++)if(e=this.hooks[i],e===t){this.hooks.splice(i,1);break}}trigger(){var t=arguments,e=this.context,i=[];return this.hooks.forEach((function(n){var r=n.apply(e,t);r&&"function"==typeof r.then&&i.push(r)})),Promise.all(i)}list(){return this.hooks}clear(){return this.hooks=[]}}},function(t,e,i){(function(e){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||Function("return this")()}).call(this,i(30))},function(t,e,i){var n=i(7),r=i(66),o=i(10),s=i(67),a=i(70),l=i(99),c=r("wks"),h=n.Symbol,u=l?h:h&&h.withoutSetter||s;t.exports=function(t){return o(c,t)||(a&&o(h,t)?c[t]=h[t]:c[t]=u("Symbol."+t)),c[t]}},function(t,e,i){"use strict";if(!n)var n={cwd:function(){return"/"}};function r(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+t)}function o(t,e){for(var i,n="",r=-1,o=0,s=0;s<=t.length;++s){if(s<t.length)i=t.charCodeAt(s);else{if(47===i)break;i=47}if(47===i){if(r===s-1||1===o);else if(r!==s-1&&2===o){if(n.length<2||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){for(var a=n.length-1,l=a;l>=0&&47!==n.charCodeAt(l);--l);if(l!==a){n=-1===l?"":n.slice(0,l),r=s,o=0;continue}}else if(2===n.length||1===n.length){n="",r=s,o=0;continue}e&&(n.length>0?n+="/..":n="..")}else n.length>0?n+="/"+t.slice(r+1,s):n=t.slice(r+1,s);r=s,o=0}else 46===i&&-1!==o?++o:o=-1}return n}var s={resolve:function(){for(var t,e="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var a;s>=0?a=arguments[s]:(void 0===t&&(t=n.cwd()),a=t),r(a),0!==a.length&&(e=a+"/"+e,i=47===a.charCodeAt(0))}return e=o(e,!i),i?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(t){if(r(t),0===t.length)return".";var e=47===t.charCodeAt(0),i=47===t.charCodeAt(t.length-1);return 0!==(t=o(t,!e)).length||e||(t="."),t.length>0&&i&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return r(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,e=0;e<arguments.length;++e){var i=arguments[e];r(i),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":s.normalize(t)},relative:function(t,e){if(r(t),r(e),t===e)return"";if((t=s.resolve(t))===(e=s.resolve(e)))return"";for(var i=1;i<t.length&&47===t.charCodeAt(i);++i);for(var n=t.length,o=n-i,a=1;a<e.length&&47===e.charCodeAt(a);++a);for(var l=e.length-a,c=o<l?o:l,h=-1,u=0;u<=c;++u){if(u===c){if(l>c){if(47===e.charCodeAt(a+u))return e.slice(a+u+1);if(0===u)return e.slice(a+u)}else o>c&&(47===t.charCodeAt(i+u)?h=u:0===u&&(h=0));break}var d=t.charCodeAt(i+u);if(d!==e.charCodeAt(a+u))break;47===d&&(h=u)}var f="";for(u=i+h+1;u<=n;++u)u!==n&&47!==t.charCodeAt(u)||(0===f.length?f+="..":f+="/..");return f.length>0?f+e.slice(a+h):(a+=h,47===e.charCodeAt(a)&&++a,e.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(r(t),0===t.length)return".";for(var e=t.charCodeAt(0),i=47===e,n=-1,o=!0,s=t.length-1;s>=1;--s)if(47===(e=t.charCodeAt(s))){if(!o){n=s;break}}else o=!1;return-1===n?i?"/":".":i&&1===n?"//":t.slice(0,n)},basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');r(t);var i,n=0,o=-1,s=!0;if(void 0!==e&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var a=e.length-1,l=-1;for(i=t.length-1;i>=0;--i){var c=t.charCodeAt(i);if(47===c){if(!s){n=i+1;break}}else-1===l&&(s=!1,l=i+1),a>=0&&(c===e.charCodeAt(a)?-1==--a&&(o=i):(a=-1,o=l))}return n===o?o=l:-1===o&&(o=t.length),t.slice(n,o)}for(i=t.length-1;i>=0;--i)if(47===t.charCodeAt(i)){if(!s){n=i+1;break}}else-1===o&&(s=!1,o=i+1);return-1===o?"":t.slice(n,o)},extname:function(t){r(t);for(var e=-1,i=0,n=-1,o=!0,s=0,a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(47!==l)-1===n&&(o=!1,n=a+1),46===l?-1===e?e=a:1!==s&&(s=1):-1!==e&&(s=-1);else if(!o){i=a+1;break}}return-1===e||-1===n||0===s||1===s&&e===n-1&&e===i+1?"":t.slice(e,n)},format:function(t){if(null===t||"object"!=typeof t)throw new TypeError('Parameter "pathObject" must be an object, not '+typeof t);return function(t,e){var i=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");return i?i===e.root?i+n:i+"/"+n:n}(0,t)},parse:function(t){r(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return e;var i,n=t.charCodeAt(0),o=47===n;o?(e.root="/",i=1):i=0;for(var s=-1,a=0,l=-1,c=!0,h=t.length-1,u=0;h>=i;--h)if(47!==(n=t.charCodeAt(h)))-1===l&&(c=!1,l=h+1),46===n?-1===s?s=h:1!==u&&(u=1):-1!==s&&(u=-1);else if(!c){a=h+1;break}return-1===s||-1===l||0===u||1===u&&s===l-1&&s===a+1?-1!==l&&(e.base=e.name=0===a&&o?t.slice(1,l):t.slice(a,l)):(0===a&&o?(e.name=t.slice(1,s),e.base=t.slice(1,l)):(e.name=t.slice(a,s),e.base=t.slice(a,l)),e.ext=t.slice(s,l)),a>0?e.dir=t.slice(0,a-1):o&&(e.dir="/"),e},sep:"/",delimiter:":",posix:null};t.exports=s},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return s})),i.d(e,"d",(function(){return a})),i.d(e,"c",(function(){return l})),i.d(e,"e",(function(){return c})),i(24);var n=i(0),r=i(5);function o(t,e){var i,r,o=e.url,s=o.indexOf("://")>-1;t&&(r=Object(n.qs)(t,"head"),(i=Object(n.qs)(r,"base"))||(i=t.createElement("base"),r.insertBefore(i,r.firstChild)),!s&&window&&window.location&&(o=window.location.origin+o),i.setAttribute("href",o))}function s(t,e){var i,r,o=e.canonical;t&&(i=Object(n.qs)(t,"head"),(r=Object(n.qs)(i,"link[rel='canonical']"))?r.setAttribute("href",o):((r=t.createElement("link")).setAttribute("rel","canonical"),r.setAttribute("href",o),i.appendChild(r)))}function a(t,e){var i,r,o=e.idref;t&&(i=Object(n.qs)(t,"head"),(r=Object(n.qs)(i,"link[property='dc.identifier']"))?r.setAttribute("content",o):((r=t.createElement("meta")).setAttribute("name","dc.identifier"),r.setAttribute("content",o),i.appendChild(r)))}function l(t,e){var i=t.querySelectorAll("a[href]");if(i.length)for(var o=Object(n.qs)(t.ownerDocument,"base"),s=o?o.getAttribute("href"):void 0,a=function(t){var i=t.getAttribute("href");if(0!==i.indexOf("mailto:"))if(i.indexOf("://")>-1)t.setAttribute("target","_blank");else{var n;try{n=new r.a(i,s)}catch(t){}t.onclick=function(){return n&&n.hash?e(n.Path.path+n.hash):e(n?n.Path.path:i),!1}}}.bind(this),l=0;l<i.length;l++)a(i[l])}function c(t,e,i){return e.forEach((function(e,n){e&&i[n]&&(e=e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),t=t.replace(new RegExp(e,"g"),i[n]))})),t}i(4)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var n=i(17);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,i){var n=i(7),r=i(102),o=i(71),s=i(15),a=i(8),l=a("iterator"),c=a("toStringTag"),h=o.values;for(var u in r){var d=n[u],f=d&&d.prototype;if(f){if(f[l]!==h)try{s(f,l,h)}catch(t){f[l]=h}if(f[c]||s(f,c,u),r[u])for(var p in o)if(f[p]!==o[p])try{s(f,p,o[p])}catch(t){f[p]=o[p]}}}},function(t,e,i){var n=i(16),r=i(18),o=i(25);t.exports=n?function(t,e,i){return r.f(t,e,o(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(12);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){var n=i(16),r=i(62),o=i(13),s=i(41),a=Object.defineProperty;e.f=n?a:function(t,e,i){if(o(t),e=s(e,!0),o(i),r)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(7),r=i(15),o=i(10),s=i(42),a=i(64),l=i(26),c=l.get,h=l.enforce,u=String(String).split("String");(t.exports=function(t,e,i,a){var l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||o(i,"name")||r(i,"name",e),h(i).source=u.join("string"==typeof e?e:"")),t!==n?(l?!d&&t[e]&&(c=!0):delete t[e],c?t[e]=i:r(t,e,i)):c?t[e]=i:s(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||a(this)}))},function(t,e,i){"use strict";i(123);var n,r=i(31),o=i(16),s=i(78),a=i(7),l=i(72),c=i(19),h=i(79),u=i(10),d=i(124),f=i(125),p=i(49).codeAt,g=i(131),m=i(37),v=i(132),y=i(26),b=a.URL,w=v.URLSearchParams,x=v.getState,_=y.set,k=y.getterFor("URL"),E=Math.floor,S=Math.pow,T=/[A-Za-z]/,C=/[\d+-.A-Za-z]/,A=/\d/,O=/^(0x|0X)/,N=/^[0-7]+$/,I=/^\d+$/,R=/^[\dA-Fa-f]+$/,j=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,L=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,z=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\u0009\u000A\u000D]/g,B=function(t,e){var i,n,r;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(i=M(e.slice(1,-1))))return"Invalid host";t.host=i}else if(V(t)){if(e=g(e),j.test(e))return"Invalid host";if(null===(i=P(e)))return"Invalid host";t.host=i}else{if(L.test(e))return"Invalid host";for(i="",n=f(e),r=0;r<n.length;r++)i+=H(n[r],q);t.host=i}},P=function(t){var e,i,n,r,o,s,a,l=t.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(e=l.length)>4)return t;for(i=[],n=0;n<e;n++){if(""==(r=l[n]))return t;if(o=10,r.length>1&&"0"==r.charAt(0)&&(o=O.test(r)?16:8,r=r.slice(8==o?1:2)),""===r)s=0;else{if(!(10==o?I:8==o?N:R).test(r))return t;s=parseInt(r,o)}i.push(s)}for(n=0;n<e;n++)if(s=i[n],n==e-1){if(s>=S(256,5-e))return null}else if(s>255)return null;for(a=i.pop(),n=0;n<i.length;n++)a+=i[n]*S(256,3-n);return a},M=function(t){var e,i,n,r,o,s,a,l=[0,0,0,0,0,0,0,0],c=0,h=null,u=0,d=function(){return t.charAt(u)};if(":"==d()){if(":"!=t.charAt(1))return;u+=2,h=++c}for(;d();){if(8==c)return;if(":"!=d()){for(e=i=0;i<4&&R.test(d());)e=16*e+parseInt(d(),16),u++,i++;if("."==d()){if(0==i)return;if(u-=i,c>6)return;for(n=0;d();){if(r=null,n>0){if(!("."==d()&&n<4))return;u++}if(!A.test(d()))return;for(;A.test(d());){if(o=parseInt(d(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(r>255)return;u++}l[c]=256*l[c]+r,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==d()){if(u++,!d())return}else if(d())return;l[c++]=e}else{if(null!==h)return;u++,h=++c}}if(null!==h)for(s=c-h,c=7;0!=c&&s>0;)a=l[c],l[c--]=l[h+s-1],l[h+--s]=a;else if(8!=c)return;return l},F=function(t){var e,i,n,r;if("number"==typeof t){for(e=[],i=0;i<4;i++)e.unshift(t%256),t=E(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,i=1,n=null,r=0,o=0;o<8;o++)0!==t[o]?(r>i&&(e=n,i=r),n=null,r=0):(null===n&&(n=o),++r);return r>i&&(e=n,i=r),e}(t),i=0;i<8;i++)r&&0===t[i]||(r&&(r=!1),n===i?(e+=i?":":"::",r=!0):(e+=t[i].toString(16),i<7&&(e+=":")));return"["+e+"]"}return t},q={},U=d({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),W=d({},U,{"#":1,"?":1,"{":1,"}":1}),$=d({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),H=function(t,e){var i=p(t,0);return i>32&&i<127&&!u(e,t)?t:encodeURIComponent(t)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},V=function(t){return u(X,t.scheme)},Y=function(t){return""!=t.username||""!=t.password},G=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},Z=function(t,e){var i;return 2==t.length&&T.test(t.charAt(0))&&(":"==(i=t.charAt(1))||!e&&"|"==i)},K=function(t){var e;return t.length>1&&Z(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Q=function(t){var e=t.path,i=e.length;!i||"file"==t.scheme&&1==i&&Z(e[0],!0)||e.pop()},J=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},it={},nt={},rt={},ot={},st={},at={},lt={},ct={},ht={},ut={},dt={},ft={},pt={},gt={},mt={},vt={},yt={},bt={},wt={},xt=function(t,e,i,r){var o,s,a,l,c,h=i||tt,d=0,p="",g=!1,m=!1,v=!1;for(i||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(z,"")),e=e.replace(D,""),o=f(e);d<=o.length;){switch(s=o[d],h){case tt:if(!s||!T.test(s)){if(i)return"Invalid scheme";h=it;continue}p+=s.toLowerCase(),h=et;break;case et:if(s&&(C.test(s)||"+"==s||"-"==s||"."==s))p+=s.toLowerCase();else{if(":"!=s){if(i)return"Invalid scheme";p="",h=it,d=0;continue}if(i&&(V(t)!=u(X,p)||"file"==p&&(Y(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=p,i)return void(V(t)&&X[t.scheme]==t.port&&(t.port=null));p="","file"==t.scheme?h=ft:V(t)&&r&&r.scheme==t.scheme?h=nt:V(t)?h=at:"/"==o[d+1]?(h=rt,d++):(t.cannotBeABaseURL=!0,t.path.push(""),h=yt)}break;case it:if(!r||r.cannotBeABaseURL&&"#"!=s)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"==s){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,h=wt;break}h="file"==r.scheme?ft:ot;continue;case nt:if("/"!=s||"/"!=o[d+1]){h=ot;continue}h=lt,d++;break;case rt:if("/"==s){h=ct;break}h=vt;continue;case ot:if(t.scheme=r.scheme,s==n)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==s||"\\"==s&&V(t))h=st;else if("?"==s)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",h=bt;else{if("#"!=s){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),h=vt;continue}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",h=wt}break;case st:if(!V(t)||"/"!=s&&"\\"!=s){if("/"!=s){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,h=vt;continue}h=ct}else h=lt;break;case at:if(h=lt,"/"!=s||"/"!=p.charAt(d+1))continue;d++;break;case lt:if("/"!=s&&"\\"!=s){h=ct;continue}break;case ct:if("@"==s){g&&(p="%40"+p),g=!0,a=f(p);for(var y=0;y<a.length;y++){var b=a[y];if(":"!=b||v){var w=H(b,$);v?t.password+=w:t.username+=w}else v=!0}p=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&V(t)){if(g&&""==p)return"Invalid authority";d-=f(p).length+1,p="",h=ht}else p+=s;break;case ht:case ut:if(i&&"file"==t.scheme){h=gt;continue}if(":"!=s||m){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&V(t)){if(V(t)&&""==p)return"Invalid host";if(i&&""==p&&(Y(t)||null!==t.port))return;if(l=B(t,p))return l;if(p="",h=mt,i)return;continue}"["==s?m=!0:"]"==s&&(m=!1),p+=s}else{if(""==p)return"Invalid host";if(l=B(t,p))return l;if(p="",h=dt,i==ut)return}break;case dt:if(!A.test(s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&V(t)||i){if(""!=p){var x=parseInt(p,10);if(x>65535)return"Invalid port";t.port=V(t)&&x===X[t.scheme]?null:x,p=""}if(i)return;h=mt;continue}return"Invalid port"}p+=s;break;case ft:if(t.scheme="file","/"==s||"\\"==s)h=pt;else{if(!r||"file"!=r.scheme){h=vt;continue}if(s==n)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==s)t.host=r.host,t.path=r.path.slice(),t.query="",h=bt;else{if("#"!=s){K(o.slice(d).join(""))||(t.host=r.host,t.path=r.path.slice(),Q(t)),h=vt;continue}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",h=wt}}break;case pt:if("/"==s||"\\"==s){h=gt;break}r&&"file"==r.scheme&&!K(o.slice(d).join(""))&&(Z(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),h=vt;continue;case gt:if(s==n||"/"==s||"\\"==s||"?"==s||"#"==s){if(!i&&Z(p))h=vt;else if(""==p){if(t.host="",i)return;h=mt}else{if(l=B(t,p))return l;if("localhost"==t.host&&(t.host=""),i)return;p="",h=mt}continue}p+=s;break;case mt:if(V(t)){if(h=vt,"/"!=s&&"\\"!=s)continue}else if(i||"?"!=s)if(i||"#"!=s){if(s!=n&&(h=vt,"/"!=s))continue}else t.fragment="",h=wt;else t.query="",h=bt;break;case vt:if(s==n||"/"==s||"\\"==s&&V(t)||!i&&("?"==s||"#"==s)){if(".."===(c=(c=p).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(Q(t),"/"==s||"\\"==s&&V(t)||t.path.push("")):J(p)?"/"==s||"\\"==s&&V(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&Z(p)&&(t.host&&(t.host=""),p=p.charAt(0)+":"),t.path.push(p)),p="","file"==t.scheme&&(s==n||"?"==s||"#"==s))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==s?(t.query="",h=bt):"#"==s&&(t.fragment="",h=wt)}else p+=H(s,W);break;case yt:"?"==s?(t.query="",h=bt):"#"==s?(t.fragment="",h=wt):s!=n&&(t.path[0]+=H(s,q));break;case bt:i||"#"!=s?s!=n&&("'"==s&&V(t)?t.query+="%27":t.query+="#"==s?"%23":H(s,q)):(t.fragment="",h=wt);break;case wt:s!=n&&(t.fragment+=H(s,U))}d++}},_t=function(t){var e,i,n=h(this,_t,"URL"),r=arguments.length>1?arguments[1]:void 0,s=String(t),a=_(n,{type:"URL"});if(void 0!==r)if(r instanceof _t)e=k(r);else if(i=xt(e={},String(r)))throw TypeError(i);if(i=xt(a,s,null,e))throw TypeError(i);var l=a.searchParams=new w,c=x(l);c.updateSearchParams(a.query),c.updateURL=function(){a.query=String(l)||null},o||(n.href=Et.call(n),n.origin=St.call(n),n.protocol=Tt.call(n),n.username=Ct.call(n),n.password=At.call(n),n.host=Ot.call(n),n.hostname=Nt.call(n),n.port=It.call(n),n.pathname=Rt.call(n),n.search=jt.call(n),n.searchParams=Lt.call(n),n.hash=zt.call(n))},kt=_t.prototype,Et=function(){var t=k(this),e=t.scheme,i=t.username,n=t.password,r=t.host,o=t.port,s=t.path,a=t.query,l=t.fragment,c=e+":";return null!==r?(c+="//",Y(t)&&(c+=i+(n?":"+n:"")+"@"),c+=F(r),null!==o&&(c+=":"+o)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(c+="?"+a),null!==l&&(c+="#"+l),c},St=function(){var t=k(this),e=t.scheme,i=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&V(t)?e+"://"+F(t.host)+(null!==i?":"+i:""):"null"},Tt=function(){return k(this).scheme+":"},Ct=function(){return k(this).username},At=function(){return k(this).password},Ot=function(){var t=k(this),e=t.host,i=t.port;return null===e?"":null===i?F(e):F(e)+":"+i},Nt=function(){var t=k(this).host;return null===t?"":F(t)},It=function(){var t=k(this).port;return null===t?"":String(t)},Rt=function(){var t=k(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},jt=function(){var t=k(this).query;return t?"?"+t:""},Lt=function(){return k(this).searchParams},zt=function(){var t=k(this).fragment;return t?"#"+t:""},Dt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(o&&l(kt,{href:Dt(Et,(function(t){var e=k(this),i=String(t),n=xt(e,i);if(n)throw TypeError(n);x(e.searchParams).updateSearchParams(e.query)})),origin:Dt(St),protocol:Dt(Tt,(function(t){var e=k(this);xt(e,String(t)+":",tt)})),username:Dt(Ct,(function(t){var e=k(this),i=f(String(t));if(!G(e)){e.username="";for(var n=0;n<i.length;n++)e.username+=H(i[n],$)}})),password:Dt(At,(function(t){var e=k(this),i=f(String(t));if(!G(e)){e.password="";for(var n=0;n<i.length;n++)e.password+=H(i[n],$)}})),host:Dt(Ot,(function(t){var e=k(this);e.cannotBeABaseURL||xt(e,String(t),ht)})),hostname:Dt(Nt,(function(t){var e=k(this);e.cannotBeABaseURL||xt(e,String(t),ut)})),port:Dt(It,(function(t){var e=k(this);G(e)||(""==(t=String(t))?e.port=null:xt(e,t,dt))})),pathname:Dt(Rt,(function(t){var e=k(this);e.cannotBeABaseURL||(e.path=[],xt(e,t+"",mt))})),search:Dt(jt,(function(t){var e=k(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",xt(e,t,bt)),x(e.searchParams).updateSearchParams(e.query)})),searchParams:Dt(Lt),hash:Dt(zt,(function(t){var e=k(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",xt(e,t,wt)):e.fragment=null}))}),c(kt,"toJSON",(function(){return Et.call(this)}),{enumerable:!0}),c(kt,"toString",(function(){return Et.call(this)}),{enumerable:!0}),b){var Bt=b.createObjectURL,Pt=b.revokeObjectURL;Bt&&c(_t,"createObjectURL",(function(t){return Bt.apply(b,arguments)})),Pt&&c(_t,"revokeObjectURL",(function(t){return Pt.apply(b,arguments)}))}m(_t,"URL"),r({global:!0,forced:!s,sham:!o},{URL:_t})},function(t,e,i){"use strict";var n=i(0);e.a=class{constructor(t){this._q=[],this.context=t,this.tick=n.requestAnimationFrame,this.running=!1,this.paused=!1}enqueue(){var t,e,i=[].shift.call(arguments),r=arguments;if(!i)throw new Error("No Task Provided");return e="function"==typeof i?{task:i,args:r,deferred:t=new n.defer,promise:t.promise}:{promise:i},this._q.push(e),0!=this.paused||this.running||this.run(),e.promise}dequeue(){var t,e,i;return!this._q.length||this.paused?((t=new n.defer).deferred.resolve(),t.promise):(e=(t=this._q.shift()).task)?(i=e.apply(this.context,t.args))&&"function"==typeof i.then?i.then(function(){t.deferred.resolve.apply(this.context,arguments)}.bind(this),function(){t.deferred.reject.apply(this.context,arguments)}.bind(this)):(t.deferred.resolve.apply(this.context,i),t.promise):t.promise?t.promise:void 0}dump(){for(;this._q.length;)this.dequeue()}run(){return this.running||(this.running=!0,this.defered=new n.defer),this.tick.call(window,()=>{this._q.length?this.dequeue().then(function(){this.run()}.bind(this)):(this.defered.resolve(),this.running=void 0)}),1==this.paused&&(this.paused=!1),this.defered.promise}flush(){return this.running?this.running:this._q.length?(this.running=this.dequeue().then(function(){return this.running=void 0,this.flush()}.bind(this)),this.running):void 0}clear(){this._q=[]}length(){return this._q.length}pause(){this.paused=!0}stop(){this._q=[],this.running=!1,this.paused=!0}}},function(t,e,i){"use strict";var n=i(3),r=i.n(n),o=i(0);var s=i(23),a=i(21),l=i(84),c=i.n(l),h=i(1);class u{constructor(t){this.name="default",this.optsSettings=t.settings,this.View=t.view,this.request=t.request,this.renditionQueue=t.queue,this.q=new a.a(this),this.settings=Object(o.extend)(this.settings||{},{infinite:!0,hidden:!1,width:void 0,height:void 0,axis:void 0,writingMode:void 0,flow:"scrolled",ignoreClass:"",fullsize:void 0}),Object(o.extend)(this.settings,t.settings||{}),this.viewSettings={ignoreClass:this.settings.ignoreClass,axis:this.settings.axis,flow:this.settings.flow,layout:this.layout,method:this.settings.method,width:0,height:0,forceEvenPages:!0},this.rendered=!1}render(t,e){let i=t.tagName;void 0!==this.settings.fullsize||!i||"body"!=i.toLowerCase()&&"html"!=i.toLowerCase()||(this.settings.fullsize=!0),this.settings.fullsize&&(this.settings.overflow="visible",this.overflow=this.settings.overflow),this.settings.size=e,this.settings.rtlScrollType=function(){var t="reverse",e=function(){var t=document.createElement("div");t.dir="rtl",t.style.position="fixed",t.style.width="1px",t.style.height="1px",t.style.top="0px",t.style.left="0px",t.style.overflow="hidden";var e=document.createElement("div");e.style.width="2px";var i=document.createElement("span");i.style.width="1px",i.style.display="inline-block";var n=document.createElement("span");return n.style.width="1px",n.style.display="inline-block",e.appendChild(i),e.appendChild(n),t.appendChild(e),t}();return document.body.appendChild(e),e.scrollLeft>0?t="default":"undefined"!=typeof Element&&Element.prototype.scrollIntoView?(e.children[0].children[1].scrollIntoView(),e.scrollLeft<0&&(t="negative")):(e.scrollLeft=1,0===e.scrollLeft&&(t="negative")),document.body.removeChild(e),t}(),this.stage=new class{constructor(t){this.settings=t||{},this.id="epubjs-container-"+Object(o.uuid)(),this.container=this.create(this.settings),this.settings.hidden&&(this.wrapper=this.wrap(this.container))}create(t){let e=t.height,i=t.width,n=t.overflow||!1,r=t.axis||"vertical",s=t.direction;Object(o.extend)(this.settings,t),t.height&&Object(o.isNumber)(t.height)&&(e=t.height+"px"),t.width&&Object(o.isNumber)(t.width)&&(i=t.width+"px");let a=document.createElement("div");return a.id=this.id,a.classList.add("epub-container"),a.style.wordSpacing="0",a.style.lineHeight="0",a.style.verticalAlign="top",a.style.position="relative","horizontal"===r&&(a.style.display="flex",a.style.flexDirection="row",a.style.flexWrap="nowrap"),i&&(a.style.width=i),e&&(a.style.height=e),n&&("scroll"===n&&"vertical"===r?(a.style["overflow-y"]=n,a.style["overflow-x"]="hidden"):"scroll"===n&&"horizontal"===r?(a.style["overflow-y"]="hidden",a.style["overflow-x"]=n):a.style.overflow=n),s&&(a.dir=s,a.style.direction=s),s&&this.settings.fullsize&&(document.body.style.direction=s),a}wrap(t){var e=document.createElement("div");return e.style.visibility="hidden",e.style.overflow="hidden",e.style.width="0",e.style.height="0",e.appendChild(t),e}getElement(t){var e;if(Object(o.isElement)(t)?e=t:"string"==typeof t&&(e=document.getElementById(t)),!e)throw new Error("Not an Element");return e}attachTo(t){var e,i=this.getElement(t);if(i)return e=this.settings.hidden?this.wrapper:this.container,i.appendChild(e),this.element=i,i}getContainer(){return this.container}onResize(t){Object(o.isNumber)(this.settings.width)&&Object(o.isNumber)(this.settings.height)||(this.resizeFunc=c()(t,50),window.addEventListener("resize",this.resizeFunc,!1))}onOrientationChange(t){this.orientationChangeFunc=t,window.addEventListener("orientationchange",this.orientationChangeFunc,!1)}size(t,e){var i;let n=t||this.settings.width,r=e||this.settings.height;null===t?(i=this.element.getBoundingClientRect()).width&&(t=Math.floor(i.width),this.container.style.width=t+"px"):Object(o.isNumber)(t)?this.container.style.width=t+"px":this.container.style.width=t,null===e?(i=i||this.element.getBoundingClientRect()).height&&(e=i.height,this.container.style.height=e+"px"):Object(o.isNumber)(e)?this.container.style.height=e+"px":this.container.style.height=e,Object(o.isNumber)(t)||(t=this.container.clientWidth),Object(o.isNumber)(e)||(e=this.container.clientHeight),this.containerStyles=window.getComputedStyle(this.container),this.containerPadding={left:parseFloat(this.containerStyles["padding-left"])||0,right:parseFloat(this.containerStyles["padding-right"])||0,top:parseFloat(this.containerStyles["padding-top"])||0,bottom:parseFloat(this.containerStyles["padding-bottom"])||0};let s=Object(o.windowBounds)(),a=window.getComputedStyle(document.body),l=parseFloat(a["padding-left"])||0,c=parseFloat(a["padding-right"])||0,h=parseFloat(a["padding-top"])||0,u=parseFloat(a["padding-bottom"])||0;return n||(t=s.width-l-c),(this.settings.fullsize&&!r||!r)&&(e=s.height-h-u),{width:t-this.containerPadding.left-this.containerPadding.right,height:e-this.containerPadding.top-this.containerPadding.bottom}}bounds(){let t;return"visible"!==this.container.style.overflow&&(t=this.container&&this.container.getBoundingClientRect()),t&&t.width&&t.height?t:Object(o.windowBounds)()}getSheet(){var t=document.createElement("style");return t.appendChild(document.createTextNode("")),document.head.appendChild(t),t.sheet}addStyleRules(t,e){var i="#"+this.id+" ",n="";this.sheet||(this.sheet=this.getSheet()),e.forEach((function(t){for(var e in t)t.hasOwnProperty(e)&&(n+=e+":"+t[e]+";")})),this.sheet.insertRule(i+t+" {"+n+"}",0)}axis(t){"horizontal"===t?(this.container.style.display="flex",this.container.style.flexDirection="row",this.container.style.flexWrap="nowrap"):this.container.style.display="block",this.settings.axis=t}direction(t){this.container&&(this.container.dir=t,this.container.style.direction=t),this.settings.fullsize&&(document.body.style.direction=t),this.settings.dir=t}overflow(t){this.container&&("scroll"===t&&"vertical"===this.settings.axis?(this.container.style["overflow-y"]=t,this.container.style["overflow-x"]="hidden"):"scroll"===t&&"horizontal"===this.settings.axis?(this.container.style["overflow-y"]="hidden",this.container.style["overflow-x"]=t):this.container.style.overflow=t),this.settings.overflow=t}destroy(){this.element&&(this.settings.hidden?this.wrapper:this.container,this.element.contains(this.container)&&this.element.removeChild(this.container),window.removeEventListener("resize",this.resizeFunc),window.removeEventListener("orientationChange",this.orientationChangeFunc))}}({width:e.width,height:e.height,overflow:this.overflow,hidden:this.settings.hidden,axis:this.settings.axis,fullsize:this.settings.fullsize,direction:this.settings.direction}),this.stage.attachTo(t),this.container=this.stage.getContainer(),this.views=new class{constructor(t){this.container=t,this._views=[],this.length=0,this.hidden=!1}all(){return this._views}first(){return this._views[0]}last(){return this._views[this._views.length-1]}indexOf(t){return this._views.indexOf(t)}slice(){return this._views.slice.apply(this._views,arguments)}get(t){return this._views[t]}append(t){return this._views.push(t),this.container&&this.container.appendChild(t.element),this.length++,t}prepend(t){return this._views.unshift(t),this.container&&this.container.insertBefore(t.element,this.container.firstChild),this.length++,t}insert(t,e){return this._views.splice(e,0,t),this.container&&(e<this.container.children.length?this.container.insertBefore(t.element,this.container.children[e]):this.container.appendChild(t.element)),this.length++,t}remove(t){var e=this._views.indexOf(t);e>-1&&this._views.splice(e,1),this.destroy(t),this.length--}destroy(t){t.displayed&&t.destroy(),this.container&&this.container.removeChild(t.element),t=null}forEach(){return this._views.forEach.apply(this._views,arguments)}clear(){var t,e=this.length;if(this.length){for(var i=0;i<e;i++)t=this._views[i],this.destroy(t);this._views=[],this.length=0}}find(t){for(var e,i=this.length,n=0;n<i;n++)if((e=this._views[n]).displayed&&e.section.index==t.index)return e}displayed(){for(var t,e=[],i=this.length,n=0;n<i;n++)(t=this._views[n]).displayed&&e.push(t);return e}show(){for(var t,e=this.length,i=0;i<e;i++)(t=this._views[i]).displayed&&t.show();this.hidden=!1}hide(){for(var t,e=this.length,i=0;i<e;i++)(t=this._views[i]).displayed&&t.hide();this.hidden=!0}}(this.container),this._bounds=this.bounds(),this._stageSize=this.stage.size(),this.viewSettings.width=this._stageSize.width,this.viewSettings.height=this._stageSize.height,this.stage.onResize(this.onResized.bind(this)),this.stage.onOrientationChange(this.onOrientationChange.bind(this)),this.addEventListeners(),this.layout&&this.updateLayout(),this.rendered=!0}addEventListeners(){var t;window.addEventListener("unload",function(t){this.destroy()}.bind(this)),t=this.settings.fullsize?window:this.container,this._onScroll=this.onScroll.bind(this),t.addEventListener("scroll",this._onScroll)}removeEventListeners(){(this.settings.fullsize?window:this.container).removeEventListener("scroll",this._onScroll),this._onScroll=void 0}destroy(){clearTimeout(this.orientationTimeout),clearTimeout(this.resizeTimeout),clearTimeout(this.afterScrolled),this.clear(),this.removeEventListeners(),this.stage.destroy(),this.rendered=!1}onOrientationChange(t){let{orientation:e}=window;this.optsSettings.resizeOnOrientationChange&&this.resize(),clearTimeout(this.orientationTimeout),this.orientationTimeout=setTimeout(function(){this.orientationTimeout=void 0,this.optsSettings.resizeOnOrientationChange&&this.resize(),this.emit(h.c.MANAGERS.ORIENTATION_CHANGE,e)}.bind(this),500)}onResized(t){this.resize()}resize(t,e,i){let n=this.stage.size(t,e);this.winBounds=Object(o.windowBounds)(),this.orientationTimeout&&this.winBounds.width===this.winBounds.height?this._stageSize=void 0:this._stageSize&&this._stageSize.width===n.width&&this._stageSize.height===n.height||(this._stageSize=n,this._bounds=this.bounds(),this.clear(),this.viewSettings.width=this._stageSize.width,this.viewSettings.height=this._stageSize.height,this.updateLayout(),this.emit(h.c.MANAGERS.RESIZED,{width:this._stageSize.width,height:this._stageSize.height},i))}createView(t,e){return new this.View(t,Object(o.extend)(this.viewSettings,{forceRight:e}))}handleNextPrePaginated(t,e,i){let n;if("pre-paginated"===this.layout.name&&this.layout.divisor>1){if(t||0===e.index)return;if(n=e.next(),n&&!n.properties.includes("page-spread-left"))return i.call(this,n)}}display(t,e){var i=new o.defer,n=i.promise;(e===t.href||Object(o.isNumber)(e))&&(e=void 0);var r=this.views.find(t);if(r&&t&&"pre-paginated"!==this.layout.name){let t=r.offset();if("ltr"===this.settings.direction)this.scrollTo(t.left,t.top,!0);else{let e=r.width();this.scrollTo(t.left+e,t.top,!0)}if(e){let t=r.locationOf(e);this.moveTo(t)}return i.resolve(),n}this.clear();let s=!1;return"pre-paginated"===this.layout.name&&2===this.layout.divisor&&t.properties.includes("page-spread-right")&&(s=!0),this.add(t,s).then(function(t){if(e){let i=t.locationOf(e);this.moveTo(i)}}.bind(this),t=>{i.reject(t)}).then(function(){return this.handleNextPrePaginated(s,t,this.add)}.bind(this)).then(function(){this.views.show(),i.resolve()}.bind(this)),n}afterDisplayed(t){this.emit(h.c.MANAGERS.ADDED,t)}afterResized(t){this.emit(h.c.MANAGERS.RESIZE,t.section)}moveTo(t){var e=0,i=0;this.isPaginated?(e=Math.floor(t.left/this.layout.delta)*this.layout.delta)+this.layout.delta>this.container.scrollWidth&&(e=this.container.scrollWidth-this.layout.delta):i=t.top,this.scrollTo(e,i,!0)}add(t,e){var i=this.createView(t,e);return this.views.append(i),i.onDisplayed=this.afterDisplayed.bind(this),i.onResize=this.afterResized.bind(this),i.on(h.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),i.on(h.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),i.display(this.request)}append(t,e){var i=this.createView(t,e);return this.views.append(i),i.onDisplayed=this.afterDisplayed.bind(this),i.onResize=this.afterResized.bind(this),i.on(h.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),i.on(h.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),i.display(this.request)}prepend(t,e){var i=this.createView(t,e);return i.on(h.c.VIEWS.RESIZED,t=>{this.counter(t)}),this.views.prepend(i),i.onDisplayed=this.afterDisplayed.bind(this),i.onResize=this.afterResized.bind(this),i.on(h.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),i.on(h.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),i.display(this.request)}counter(t){"vertical"===this.settings.axis?this.scrollBy(0,t.heightDelta,!0):this.scrollBy(t.widthDelta,0,!0)}next(){var t;let e=this.settings.direction;if(this.views.length&&(!this.isPaginated||"horizontal"!==this.settings.axis||e&&"ltr"!==e?this.isPaginated&&"horizontal"===this.settings.axis&&"rtl"===e?(this.scrollLeft=this.container.scrollLeft,"default"===this.settings.rtlScrollType?this.container.scrollLeft>0?this.scrollBy(this.layout.delta,0,!0):t=this.views.last().section.next():this.container.scrollLeft+-1*this.layout.delta>-1*this.container.scrollWidth?this.scrollBy(this.layout.delta,0,!0):t=this.views.last().section.next()):this.isPaginated&&"vertical"===this.settings.axis?(this.scrollTop=this.container.scrollTop,this.container.scrollTop+this.container.offsetHeight<this.container.scrollHeight?this.scrollBy(0,this.layout.height,!0):t=this.views.last().section.next()):t=this.views.last().section.next():(this.scrollLeft=this.container.scrollLeft,this.container.scrollLeft+this.container.offsetWidth+this.layout.delta<=this.container.scrollWidth?this.scrollBy(this.layout.delta,0,!0):t=this.views.last().section.next()),t)){this.clear();let e=!1;return"pre-paginated"===this.layout.name&&2===this.layout.divisor&&t.properties.includes("page-spread-right")&&(e=!0),this.append(t,e).then(function(){return this.handleNextPrePaginated(e,t,this.append)}.bind(this),t=>t).then(function(){this.isPaginated||"horizontal"!==this.settings.axis||"rtl"!==this.settings.direction||"default"!==this.settings.rtlScrollType||this.scrollTo(this.container.scrollWidth,0,!0),this.views.show()}.bind(this))}}prev(){var t;let e=this.settings.direction;if(this.views.length&&(!this.isPaginated||"horizontal"!==this.settings.axis||e&&"ltr"!==e?this.isPaginated&&"horizontal"===this.settings.axis&&"rtl"===e?(this.scrollLeft=this.container.scrollLeft,"default"===this.settings.rtlScrollType?this.container.scrollLeft+this.container.offsetWidth<this.container.scrollWidth?this.scrollBy(-this.layout.delta,0,!0):t=this.views.first().section.prev():this.container.scrollLeft<0?this.scrollBy(-this.layout.delta,0,!0):t=this.views.first().section.prev()):this.isPaginated&&"vertical"===this.settings.axis?(this.scrollTop=this.container.scrollTop,this.container.scrollTop>0?this.scrollBy(0,-this.layout.height,!0):t=this.views.first().section.prev()):t=this.views.first().section.prev():(this.scrollLeft=this.container.scrollLeft,this.container.scrollLeft>0?this.scrollBy(-this.layout.delta,0,!0):t=this.views.first().section.prev()),t)){this.clear();let e=!1;return"pre-paginated"===this.layout.name&&2===this.layout.divisor&&"object"!=typeof t.prev()&&(e=!0),this.prepend(t,e).then(function(){var e;if("pre-paginated"===this.layout.name&&this.layout.divisor>1&&(e=t.prev()))return this.prepend(e)}.bind(this),t=>t).then(function(){this.isPaginated&&"horizontal"===this.settings.axis&&("rtl"===this.settings.direction?"default"===this.settings.rtlScrollType?this.scrollTo(0,0,!0):this.scrollTo(-1*this.container.scrollWidth+this.layout.delta,0,!0):this.scrollTo(this.container.scrollWidth-this.layout.delta,0,!0)),this.views.show()}.bind(this))}}current(){var t=this.visible();return t.length?t[t.length-1]:null}clear(){this.views&&(this.views.hide(),this.scrollTo(0,0,!0),this.views.clear())}currentLocation(){return this.isPaginated&&"horizontal"===this.settings.axis?this.location=this.paginatedLocation():this.location=this.scrolledLocation(),this.location}scrolledLocation(){let t=this.visible(),e=this.container.getBoundingClientRect(),i=e.height<window.innerHeight?e.height:window.innerHeight,n=e.width<window.innerWidth?e.width:window.innerWidth,r="vertical"===this.settings.axis,o=(this.settings.direction,0);return this.settings.fullsize&&(o=r?window.scrollY:window.scrollX),t.map(t=>{let s,a,l,c,{index:h,href:u}=t.section,d=t.position(),f=t.width(),p=t.height();r?(s=o+e.top-d.top+0,a=s+i-0,c=this.layout.count(p,i).pages,l=i):(s=o+e.left-d.left+0,a=s+n-0,c=this.layout.count(f,n).pages,l=n);let g=Math.ceil(s/l),m=[],v=Math.ceil(a/l);if("rtl"===this.settings.direction&&!r){let t=g;g=c-v,v=c-t}m=[];for(var y=g;y<=v;y++){let t=y+1;m.push(t)}return{index:h,href:u,pages:m,totalPages:c,mapping:this.mapping.page(t.contents,t.section.cfiBase,s,a)}})}paginatedLocation(){let t=this.visible(),e=this.container.getBoundingClientRect(),i=0,n=0;return this.settings.fullsize&&(i=window.scrollX),t.map(t=>{let r,o,s,a,{index:l,href:c}=t.section,h=t.position(),u=t.width();"rtl"===this.settings.direction?(r=e.right-i,a=Math.min(Math.abs(r-h.left),this.layout.width)-n,s=h.width-(h.right-r)-n,o=s-a):(r=e.left+i,a=Math.min(h.right-r,this.layout.width)-n,o=r-h.left+n,s=o+a),n+=a;let d=this.mapping.page(t.contents,t.section.cfiBase,o,s),f=this.layout.count(u).pages,p=Math.floor(o/this.layout.pageWidth),g=[],m=Math.floor(s/this.layout.pageWidth);if(p<0&&(p=0,m+=1),"rtl"===this.settings.direction){let t=p;p=f-m,m=f-t}for(var v=p+1;v<=m;v++){let t=v;g.push(t)}return{index:l,href:c,pages:g,totalPages:f,mapping:d}})}isVisible(t,e,i,n){var r=t.position(),o=n||this.bounds();return"horizontal"===this.settings.axis&&r.right>o.left-e&&r.left<o.right+i||"vertical"===this.settings.axis&&r.bottom>o.top-e&&r.top<o.bottom+i}visible(){for(var t,e=this.bounds(),i=this.views.displayed(),n=i.length,r=[],o=0;o<n;o++)t=i[o],!0===this.isVisible(t,0,0,e)&&r.push(t);return r}scrollBy(t,e,i){let n="rtl"===this.settings.direction?-1:1;i&&(this.ignore=!0),this.settings.fullsize?window.scrollBy(t*n,e*n):(t&&(this.container.scrollLeft+=t*n),e&&(this.container.scrollTop+=e)),this.scrolled=!0}scrollTo(t,e,i){i&&(this.ignore=!0),this.settings.fullsize?window.scrollTo(t,e):(this.container.scrollLeft=t,this.container.scrollTop=e),this.scrolled=!0}onScroll(){let t,e;this.settings.fullsize?(t=window.scrollY,e=window.scrollX):(t=this.container.scrollTop,e=this.container.scrollLeft),this.scrollTop=t,this.scrollLeft=e,this.ignore?this.ignore=!1:(this.emit(h.c.MANAGERS.SCROLL,{top:t,left:e}),clearTimeout(this.afterScrolled),this.afterScrolled=setTimeout(function(){this.emit(h.c.MANAGERS.SCROLLED,{top:this.scrollTop,left:this.scrollLeft})}.bind(this),20))}bounds(){return this.stage.bounds()}applyLayout(t){this.layout=t,this.updateLayout(),this.views&&this.views.length>0&&"pre-paginated"===this.layout.name&&this.display(this.views.first().section)}updateLayout(){this.stage&&(this._stageSize=this.stage.size(),this.isPaginated?(this.layout.calculate(this._stageSize.width,this._stageSize.height,this.settings.gap),this.settings.offset=this.layout.delta/this.layout.divisor):this.layout.calculate(this._stageSize.width,this._stageSize.height),this.viewSettings.width=this.layout.width,this.viewSettings.height=this.layout.height,this.setLayout(this.layout))}setLayout(t){this.viewSettings.layout=t,this.mapping=new s.a(t.props,this.settings.direction,this.settings.axis),this.views&&this.views.forEach((function(e){e&&e.setLayout(t)}))}updateWritingMode(t){this.writingMode=t}updateAxis(t,e){(e||t!==this.settings.axis)&&(this.settings.axis=t,this.stage&&this.stage.axis(t),this.viewSettings.axis=t,this.mapping&&(this.mapping=new s.a(this.layout.props,this.settings.direction,this.settings.axis)),this.layout&&("vertical"===t?this.layout.spread("none"):this.layout.spread(this.layout.settings.spread)))}updateFlow(t,e="auto"){let i="paginated"===t||"auto"===t;this.isPaginated=i,"scrolled-doc"===t||"scrolled-continuous"===t||"scrolled"===t?this.updateAxis("vertical"):this.updateAxis("horizontal"),this.viewSettings.flow=t,this.settings.overflow?this.overflow=this.settings.overflow:this.overflow=i?"hidden":e,this.stage&&this.stage.overflow(this.overflow),this.updateLayout()}getContents(){var t=[];return this.views?(this.views.forEach((function(e){const i=e&&e.contents;i&&t.push(i)})),t):t}direction(t="ltr"){this.settings.direction=t,this.stage&&this.stage.direction(t),this.viewSettings.direction=t,this.updateLayout()}isRendered(){return this.rendered}}r()(u.prototype),e.a=u},function(t,e,i){"use strict";var n=i(2),r=i(0);e.a=class{constructor(t,e,i,n=!1){this.layout=t,this.horizontal="horizontal"===i,this.direction=e||"ltr",this._dev=n}section(t){var e=this.findRanges(t);return this.rangeListToCfiList(t.section.cfiBase,e)}page(t,e,i,r){var o,s=!(!t||!t.document)&&t.document.body;if(s){if(o=this.rangePairToCfiPair(e,{start:this.findStart(s,i,r),end:this.findEnd(s,i,r)}),!0===this._dev){let e=t.document,i=new n.a(o.start).toRange(e),r=new n.a(o.end).toRange(e),s=e.defaultView.getSelection(),a=e.createRange();s.removeAllRanges(),a.setStart(i.startContainer,i.startOffset),a.setEnd(r.endContainer,r.endOffset),s.addRange(a)}return o}}walk(t,e){if(!t||t.nodeType!==Node.TEXT_NODE){var i=function(t){return t.data.trim().length>0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},n=i;n.acceptNode=i;for(var r,o,s=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,n,!1);(r=s.nextNode())&&!(o=e(r)););return o}}findRanges(t){for(var e,i,n=[],r=t.contents.scrollWidth(),o=Math.ceil(r/this.layout.spreadWidth)*this.layout.divisor,s=this.layout.columnWidth,a=this.layout.gap,l=0;l<o.pages;l++)e=(s+a)*l,i=s*(l+1)+a*l,n.push({start:this.findStart(t.document.body,e,i),end:this.findEnd(t.document.body,e,i)});return n}findStart(t,e,i){for(var n,o,s=[t],a=t;s.length;)if(n=s.shift(),o=this.walk(n,t=>{var n,o,l,c,h;if(h=Object(r.nodeBounds)(t),this.horizontal&&"ltr"===this.direction){if(n=this.horizontal?h.left:h.top,o=this.horizontal?h.right:h.bottom,n>=e&&n<=i)return t;if(o>e)return t;a=t,s.push(t)}else if(this.horizontal&&"rtl"===this.direction){if(n=h.left,(o=h.right)<=i&&o>=e)return t;if(n<i)return t;a=t,s.push(t)}else{if(l=h.top,c=h.bottom,l>=e&&l<=i)return t;if(c>e)return t;a=t,s.push(t)}}))return this.findTextStartRange(o,e,i);return this.findTextStartRange(a,e,i)}findEnd(t,e,i){for(var n,o,s=[t],a=t;s.length;)if(n=s.shift(),o=this.walk(n,t=>{var n,o,l,c,h;if(h=Object(r.nodeBounds)(t),this.horizontal&&"ltr"===this.direction){if(n=Math.round(h.left),o=Math.round(h.right),n>i&&a)return a;if(o>i)return t;a=t,s.push(t)}else if(this.horizontal&&"rtl"===this.direction){if(n=Math.round(this.horizontal?h.left:h.top),(o=Math.round(this.horizontal?h.right:h.bottom))<e&&a)return a;if(n<e)return t;a=t,s.push(t)}else{if(l=Math.round(h.top),c=Math.round(h.bottom),l>i&&a)return a;if(c>i)return t;a=t,s.push(t)}}))return this.findTextEndRange(o,e,i);return this.findTextEndRange(a,e,i)}findTextStartRange(t,e,i){for(var n,r,o=this.splitTextNodeIntoRanges(t),s=0;s<o.length;s++)if(r=(n=o[s]).getBoundingClientRect(),this.horizontal&&"ltr"===this.direction){if(r.left>=e)return n}else if(this.horizontal&&"rtl"===this.direction){if(r.right<=i)return n}else if(r.top>=e)return n;return o[0]}findTextEndRange(t,e,i){for(var n,r,o,s,a,l,c,h=this.splitTextNodeIntoRanges(t),u=0;u<h.length;u++){if(o=(r=h[u]).getBoundingClientRect(),this.horizontal&&"ltr"===this.direction){if(s=o.left,a=o.right,s>i&&n)return n;if(a>i)return r}else if(this.horizontal&&"rtl"===this.direction){if(s=o.left,(a=o.right)<e&&n)return n;if(s<e)return r}else{if(l=o.top,c=o.bottom,l>i&&n)return n;if(c>i)return r}n=r}return h[h.length-1]}splitTextNodeIntoRanges(t,e){var i,n=[],r=(t.textContent||"").trim(),o=t.ownerDocument,s=e||" ",a=r.indexOf(s);if(-1===a||t.nodeType!=Node.TEXT_NODE)return(i=o.createRange()).selectNodeContents(t),[i];for((i=o.createRange()).setStart(t,0),i.setEnd(t,a),n.push(i),i=!1;-1!=a;)(a=r.indexOf(s,a+1))>0&&(i&&(i.setEnd(t,a),n.push(i)),(i=o.createRange()).setStart(t,a+1));return i&&(i.setEnd(t,r.length),n.push(i)),n}rangePairToCfiPair(t,e){var i=e.start,r=e.end;return i.collapse(!0),r.collapse(!1),{start:new n.a(i,t).toString(),end:new n.a(r,t).toString()}}rangeListToCfiList(t,e){for(var i,n=[],r=0;r<e.length;r++)i=this.rangePairToCfiPair(t,e[r]),n.push(i);return n}axis(t){return t&&(this.horizontal="horizontal"===t),this.horizontal}}},function(t,e,i){"use strict";var n=i(87),r=i(13),o=i(36),s=i(46),a=i(35),l=i(33),c=i(100),h=i(101),u=Math.max,d=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,i,n){var m=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=n.REPLACE_KEEPS_$0,y=m?"$":"$0";return[function(i,n){var r=l(this),o=null==i?void 0:i[t];return void 0!==o?o.call(i,r,n):e.call(String(r),i,n)},function(t,n){if(!m&&v||"string"==typeof n&&-1===n.indexOf(y)){var o=i(e,t,this,n);if(o.done)return o.value}var l=r(t),f=String(this),p="function"==typeof n;p||(n=String(n));var g=l.global;if(g){var w=l.unicode;l.lastIndex=0}for(var x=[];;){var _=h(l,f);if(null===_)break;if(x.push(_),!g)break;""===String(_[0])&&(l.lastIndex=c(f,s(l.lastIndex),w))}for(var k,E="",S=0,T=0;T<x.length;T++){_=x[T];for(var C=String(_[0]),A=u(d(a(_.index),f.length),0),O=[],N=1;N<_.length;N++)O.push(void 0===(k=_[N])?k:String(k));var I=_.groups;if(p){var R=[C].concat(O,A,f);void 0!==I&&R.push(I);var j=String(n.apply(void 0,R))}else j=b(C,f,A,O,I,n);A>=S&&(E+=f.slice(S,A)+j,S=A+C.length)}return E+f.slice(S)}];function b(t,i,n,r,s,a){var l=n+t.length,c=r.length,h=g;return void 0!==s&&(s=o(s),h=p),e.call(a,h,(function(e,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return i.slice(0,n);case"'":return i.slice(l);case"<":a=s[o.slice(1,-1)];break;default:var h=+o;if(0===h)return e;if(h>c){var u=f(h/10);return 0===u?e:u<=c?void 0===r[u-1]?o.charAt(1):r[u-1]+o.charAt(1):e}a=r[h-1]}return void 0===a?"":a}))}}))},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,i){var n,r,o,s=i(89),a=i(7),l=i(17),c=i(15),h=i(10),u=i(43),d=i(44),f=a.WeakMap;if(s){var p=new f,g=p.get,m=p.has,v=p.set;n=function(t,e){return v.call(p,t,e),e},r=function(t){return g.call(p,t)||{}},o=function(t){return m.call(p,t)}}else{var y=u("state");d[y]=!0,n=function(t,e){return c(t,y,e),e},r=function(t){return h(t,y)?t[y]:{}},o=function(t){return h(t,y)}}t.exports={set:n,get:r,has:o,enforce:function(t){return o(t)?r(t):n(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}}},function(t,e){t.exports={}},function(t,e,i){"use strict";var n=i(3),r=i.n(n),o=i(0),s=i(2),a=i(23),l=i(11),c=i(1);const h="undefined"!=typeof navigator,u=h&&/Chrome/.test(navigator.userAgent),d=h&&!u&&/AppleWebKit/.test(navigator.userAgent);class f{constructor(t,e,i,n){this.epubcfi=new s.a,this.document=t,this.documentElement=this.document.documentElement,this.content=e||this.document.body,this.window=this.document.defaultView,this._size={width:0,height:0},this.sectionIndex=n||0,this.cfiBase=i||"",this.epubReadingSystem("epub.js",c.b),this.called=0,this.active=!0,this.listeners()}static get listenedEvents(){return c.a}width(t){var e=this.content;return t&&Object(o.isNumber)(t)&&(t+="px"),t&&(e.style.width=t),parseInt(this.window.getComputedStyle(e).width)}height(t){var e=this.content;return t&&Object(o.isNumber)(t)&&(t+="px"),t&&(e.style.height=t),parseInt(this.window.getComputedStyle(e).height)}contentWidth(t){var e=this.content||this.document.body;return t&&Object(o.isNumber)(t)&&(t+="px"),t&&(e.style.width=t),parseInt(this.window.getComputedStyle(e).width)}contentHeight(t){var e=this.content||this.document.body;return t&&Object(o.isNumber)(t)&&(t+="px"),t&&(e.style.height=t),parseInt(this.window.getComputedStyle(e).height)}textWidth(){let t,e,i=this.document.createRange(),n=this.content||this.document.body,r=Object(o.borders)(n);return i.selectNodeContents(n),t=i.getBoundingClientRect(),e=t.width,r&&r.width&&(e+=r.width),Math.round(e)}textHeight(){let t,e,i=this.document.createRange(),n=this.content||this.document.body;return i.selectNodeContents(n),t=i.getBoundingClientRect(),e=t.bottom,Math.round(e)}scrollWidth(){return this.documentElement.scrollWidth}scrollHeight(){return this.documentElement.scrollHeight}overflow(t){return t&&(this.documentElement.style.overflow=t),this.window.getComputedStyle(this.documentElement).overflow}overflowX(t){return t&&(this.documentElement.style.overflowX=t),this.window.getComputedStyle(this.documentElement).overflowX}overflowY(t){return t&&(this.documentElement.style.overflowY=t),this.window.getComputedStyle(this.documentElement).overflowY}css(t,e,i){var n=this.content||this.document.body;return e?n.style.setProperty(t,e,i?"important":""):n.style.removeProperty(t),this.window.getComputedStyle(n)[t]}viewport(t){var e,i=this.document.querySelector("meta[name='viewport']"),n={width:void 0,height:void 0,scale:void 0,minimum:void 0,maximum:void 0,scalable:void 0},r=[];if(i&&i.hasAttribute("content")){let t=i.getAttribute("content"),e=t.match(/width\s*=\s*([^,]*)/),r=t.match(/height\s*=\s*([^,]*)/),o=t.match(/initial-scale\s*=\s*([^,]*)/),s=t.match(/minimum-scale\s*=\s*([^,]*)/),a=t.match(/maximum-scale\s*=\s*([^,]*)/),l=t.match(/user-scalable\s*=\s*([^,]*)/);e&&e.length&&void 0!==e[1]&&(n.width=e[1]),r&&r.length&&void 0!==r[1]&&(n.height=r[1]),o&&o.length&&void 0!==o[1]&&(n.scale=o[1]),s&&s.length&&void 0!==s[1]&&(n.minimum=s[1]),a&&a.length&&void 0!==a[1]&&(n.maximum=a[1]),l&&l.length&&void 0!==l[1]&&(n.scalable=l[1])}return e=Object(o.defaults)(t||{},n),t&&(e.width&&r.push("width="+e.width),e.height&&r.push("height="+e.height),e.scale&&r.push("initial-scale="+e.scale),"no"===e.scalable?(r.push("minimum-scale="+e.scale),r.push("maximum-scale="+e.scale),r.push("user-scalable="+e.scalable)):(e.scalable&&r.push("user-scalable="+e.scalable),e.minimum&&r.push("minimum-scale="+e.minimum),e.maximum&&r.push("minimum-scale="+e.maximum)),i||((i=this.document.createElement("meta")).setAttribute("name","viewport"),this.document.querySelector("head").appendChild(i)),i.setAttribute("content",r.join(", ")),this.window.scrollTo(0,0)),e}expand(){this.emit(c.c.CONTENTS.EXPAND)}listeners(){this.imageLoadListeners(),this.mediaQueryListeners(),this.addEventListeners(),this.addSelectionListeners(),"undefined"==typeof ResizeObserver?(this.resizeListeners(),this.visibilityListeners()):this.resizeObservers(),this.linksHandler()}removeListeners(){this.removeEventListeners(),this.removeSelectionListeners(),this.observer&&this.observer.disconnect(),clearTimeout(this.expanding)}resizeCheck(){let t=this.textWidth(),e=this.textHeight();t==this._size.width&&e==this._size.height||(this._size={width:t,height:e},this.onResize&&this.onResize(this._size),this.emit(c.c.CONTENTS.RESIZE,this._size))}resizeListeners(){clearTimeout(this.expanding),requestAnimationFrame(this.resizeCheck.bind(this)),this.expanding=setTimeout(this.resizeListeners.bind(this),350)}visibilityListeners(){document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&!1===this.active?(this.active=!0,this.resizeListeners()):(this.active=!1,clearTimeout(this.expanding))})}transitionListeners(){let t=this.content;t.style.transitionProperty="font, font-size, font-size-adjust, font-stretch, font-variation-settings, font-weight, width, height",t.style.transitionDuration="0.001ms",t.style.transitionTimingFunction="linear",t.style.transitionDelay="0",this._resizeCheck=this.resizeCheck.bind(this),this.document.addEventListener("transitionend",this._resizeCheck)}mediaQueryListeners(){for(var t=this.document.styleSheets,e=function(t){t.matches&&!this._expanding&&setTimeout(this.expand.bind(this),1)}.bind(this),i=0;i<t.length;i+=1){var n;try{n=t[i].cssRules}catch(t){return}if(!n)return;for(var r=0;r<n.length;r+=1)n[r].media&&this.window.matchMedia(n[r].media.mediaText).addListener(e)}}resizeObservers(){this.observer=new ResizeObserver(t=>{requestAnimationFrame(this.resizeCheck.bind(this))}),this.observer.observe(this.document.documentElement)}mutationObservers(){this.observer=new MutationObserver(t=>{this.resizeCheck()}),this.observer.observe(this.document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})}imageLoadListeners(){for(var t,e=this.document.querySelectorAll("img"),i=0;i<e.length;i++)void 0!==(t=e[i]).naturalWidth&&0===t.naturalWidth&&(t.onload=this.expand.bind(this))}fontLoadListeners(){this.document&&this.document.fonts&&this.document.fonts.ready.then(function(){this.resizeCheck()}.bind(this))}root(){return this.document?this.document.documentElement:null}locationOf(t,e){var i,n={left:0,top:0};if(!this.document)return n;if(this.epubcfi.isCfiString(t)){let r=new s.a(t).toRange(this.document,e);if(r){try{if(!r.endContainer||r.startContainer==r.endContainer&&r.startOffset==r.endOffset){let t=r.startContainer.textContent.indexOf(" ",r.startOffset);-1==t&&(t=r.startContainer.textContent.length),r.setEnd(r.startContainer,t)}}catch(t){console.error("setting end offset to start container length failed",t)}if(r.startContainer.nodeType===Node.ELEMENT_NODE)i=r.startContainer.getBoundingClientRect(),n.left=i.left,n.top=i.top;else if(d){let e=r.startContainer,n=new Range;try{1===e.nodeType?i=e.getBoundingClientRect():r.startOffset+2<e.length?(n.setStart(e,r.startOffset),n.setEnd(e,r.startOffset+2),i=n.getBoundingClientRect()):r.startOffset-2>0?(n.setStart(e,r.startOffset-2),n.setEnd(e,r.startOffset),i=n.getBoundingClientRect()):i=e.parentNode.getBoundingClientRect()}catch(t){console.error(t,t.stack)}}else i=r.getBoundingClientRect()}}else if("string"==typeof t&&t.indexOf("#")>-1){let e=t.substring(t.indexOf("#")+1),n=this.document.getElementById(e);if(n)if(d){let t=new Range;t.selectNode(n),i=t.getBoundingClientRect()}else i=n.getBoundingClientRect()}return i&&(n.left=i.left,n.top=i.top),n}addStylesheet(t){return new Promise(function(e,i){var n,r=!1;this.document?(n=this.document.querySelector("link[href='"+t+"']"))?e(!0):((n=this.document.createElement("link")).type="text/css",n.rel="stylesheet",n.href=t,n.onload=n.onreadystatechange=function(){r||this.readyState&&"complete"!=this.readyState||(r=!0,setTimeout(()=>{e(!0)},1))},this.document.head.appendChild(n)):e(!1)}.bind(this))}_getStylesheetNode(t){var e;return t="epubjs-inserted-css-"+(t||""),!!this.document&&((e=this.document.getElementById(t))||((e=this.document.createElement("style")).id=t,this.document.head.appendChild(e)),e)}addStylesheetCss(t,e){return!(!this.document||!t||(this._getStylesheetNode(e).innerHTML=t,0))}addStylesheetRules(t,e){var i;if(this.document&&t&&0!==t.length)if(i=this._getStylesheetNode(e).sheet,"[object Array]"===Object.prototype.toString.call(t))for(var n=0,r=t.length;n<r;n++){var o=1,s=t[n],a=t[n][0],l="";"[object Array]"===Object.prototype.toString.call(s[1][0])&&(s=s[1],o=0);for(var c=s.length;o<c;o++){var h=s[o];l+=h[0]+":"+h[1]+(h[2]?" !important":"")+";\n"}i.insertRule(a+"{"+l+"}",i.cssRules.length)}else Object.keys(t).forEach(e=>{const n=t[e];if(Array.isArray(n))n.forEach(t=>{const n=Object.keys(t).map(e=>`${e}:${t[e]}`).join(";");i.insertRule(`${e}{${n}}`,i.cssRules.length)});else{const t=Object.keys(n).map(t=>`${t}:${n[t]}`).join(";");i.insertRule(`${e}{${t}}`,i.cssRules.length)}})}addScript(t){return new Promise(function(e,i){var n,r=!1;this.document?((n=this.document.createElement("script")).type="text/javascript",n.async=!0,n.src=t,n.onload=n.onreadystatechange=function(){r||this.readyState&&"complete"!=this.readyState||(r=!0,setTimeout((function(){e(!0)}),1))},this.document.head.appendChild(n)):e(!1)}.bind(this))}addClass(t){var e;this.document&&(e=this.content||this.document.body)&&e.classList.add(t)}removeClass(t){var e;this.document&&(e=this.content||this.document.body)&&e.classList.remove(t)}addEventListeners(){this.document&&(this._triggerEvent=this.triggerEvent.bind(this),c.a.forEach((function(t){this.document.addEventListener(t,this._triggerEvent,{passive:!0})}),this))}removeEventListeners(){this.document&&(c.a.forEach((function(t){this.document.removeEventListener(t,this._triggerEvent,{passive:!0})}),this),this._triggerEvent=void 0)}triggerEvent(t){this.emit(t.type,t)}addSelectionListeners(){this.document&&(this._onSelectionChange=this.onSelectionChange.bind(this),this.document.addEventListener("selectionchange",this._onSelectionChange,{passive:!0}))}removeSelectionListeners(){this.document&&(this.document.removeEventListener("selectionchange",this._onSelectionChange,{passive:!0}),this._onSelectionChange=void 0)}onSelectionChange(t){this.selectionEndTimeout&&clearTimeout(this.selectionEndTimeout),this.selectionEndTimeout=setTimeout(function(){var t=this.window.getSelection();this.triggerSelectedEvent(t)}.bind(this),250)}triggerSelectedEvent(t){var e,i;t&&t.rangeCount>0&&((e=t.getRangeAt(0)).collapsed||(i=new s.a(e,this.cfiBase).toString(),this.emit(c.c.CONTENTS.SELECTED,i),this.emit(c.c.CONTENTS.SELECTED_RANGE,e)))}range(t,e){return new s.a(t).toRange(this.document,e)}cfiFromRange(t,e){return new s.a(t,this.cfiBase,e).toString()}cfiFromNode(t,e){return new s.a(t,this.cfiBase,e).toString()}map(t){return new a.a(t).section()}size(t,e){var i={scale:1,scalable:"no"};this.layoutStyle("scrolling"),t>=0&&(this.width(t),i.width=t,this.css("padding","0 "+t/12+"px")),e>=0&&(this.height(e),i.height=e),this.css("margin","0"),this.css("box-sizing","border-box"),this.viewport(i)}columns(t,e,i,n,r){let s=Object(o.prefixed)("column-axis"),a=Object(o.prefixed)("column-gap"),l=Object(o.prefixed)("column-width"),c=Object(o.prefixed)("column-fill"),h=0===this.writingMode().indexOf("vertical")?"vertical":"horizontal";this.layoutStyle("paginated"),"rtl"===r&&"horizontal"===h&&this.direction(r),this.width(t),this.height(e),this.viewport({width:t,height:e,scale:1,scalable:"no"}),this.css("overflow-y","hidden"),this.css("margin","0",!0),"vertical"===h?(this.css("padding-top",n/2+"px",!0),this.css("padding-bottom",n/2+"px",!0),this.css("padding-left","20px"),this.css("padding-right","20px"),this.css(s,"vertical")):(this.css("padding-top","20px"),this.css("padding-bottom","20px"),this.css("padding-left",n/2+"px",!0),this.css("padding-right",n/2+"px",!0),this.css(s,"horizontal")),this.css("box-sizing","border-box"),this.css("max-width","inherit"),this.css(c,"auto"),this.css(a,n+"px"),this.css(l,i+"px"),this.css("-webkit-line-box-contain","block glyphs replaced")}scaler(t,e,i){var n="scale("+t+")",r="";this.css("transform-origin","top left"),(e>=0||i>=0)&&(r=" translate("+(e||0)+"px, "+(i||0)+"px )"),this.css("transform",n+r)}fit(t,e,i){var n=this.viewport(),r=parseInt(n.width),o=parseInt(n.height),s=t/r,a=e/o,l=s<a?s:a;if(this.layoutStyle("paginated"),this.width(r),this.height(o),this.overflow("hidden"),this.scaler(l,0,0),this.css("background-size",r*l+"px "+o*l+"px"),this.css("background-color","transparent"),i&&i.properties.includes("page-spread-left")){var c=t-r*l;this.css("margin-left",c+"px")}}direction(t){this.documentElement&&(this.documentElement.style.direction=t)}mapPage(t,e,i,n,r){return new a.a(e,r).page(this,t,i,n)}linksHandler(){Object(l.c)(this.content,t=>{this.emit(c.c.CONTENTS.LINK_CLICKED,t)})}writingMode(t){let e=Object(o.prefixed)("writing-mode");return t&&this.documentElement&&(this.documentElement.style[e]=t),this.window.getComputedStyle(this.documentElement)[e]||""}layoutStyle(t){return t&&(this._layoutStyle=t,navigator.epubReadingSystem.layoutStyle=this._layoutStyle),this._layoutStyle||"paginated"}epubReadingSystem(t,e){return navigator.epubReadingSystem={name:t,version:e,layoutStyle:this.layoutStyle(),hasFeature:function(t){switch(t){case"dom-manipulation":case"layout-changes":case"touch-events":case"mouse-events":case"keyboard-events":return!0;case"spine-scripting":default:return!1}}},navigator.epubReadingSystem}destroy(){this.removeListeners()}}r()(f.prototype),e.a=f},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Underline=e.Highlight=e.Mark=e.Pane=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=s(i(135)),o=s(i(136));function s(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.Pane=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;c(this,t),this.target=e,this.element=r.default.createElement("svg"),this.marks=[],this.element.style.position="absolute",this.element.setAttribute("pointer-events","none"),o.default.proxyMouse(this.target,this.marks),this.container=i,this.container.appendChild(this.element),this.render()}return n(t,[{key:"addMark",value:function(t){var e=r.default.createElement("g");return this.element.appendChild(e),t.bind(e,this.container),this.marks.push(t),t.render(),t}},{key:"removeMark",value:function(t){var e=this.marks.indexOf(t);if(-1!==e){var i=t.unbind();this.element.removeChild(i),this.marks.splice(e,1)}}},{key:"render",value:function(){var t,e,i,n;!function(t,e){t.style.setProperty("top",e.top+"px","important"),t.style.setProperty("left",e.left+"px","important"),t.style.setProperty("height",e.height+"px","important"),t.style.setProperty("width",e.width+"px","important")}(this.element,(t=this.target,e=this.container,i=e.getBoundingClientRect(),n=t.getBoundingClientRect(),{top:n.top-i.top,left:n.left-i.left,height:t.scrollHeight,width:t.scrollWidth}));var r=!0,o=!1,s=void 0;try{for(var a,l=this.marks[Symbol.iterator]();!(r=(a=l.next()).done);r=!0)a.value.render()}catch(t){o=!0,s=t}finally{try{!r&&l.return&&l.return()}finally{if(o)throw s}}}}]),t}();var h=e.Mark=function(){function t(){c(this,t),this.element=null}return n(t,[{key:"bind",value:function(t,e){this.element=t,this.container=e}},{key:"unbind",value:function(){var t=this.element;return this.element=null,t}},{key:"render",value:function(){}},{key:"dispatchEvent",value:function(t){this.element&&this.element.dispatchEvent(t)}},{key:"getBoundingClientRect",value:function(){return this.element.getBoundingClientRect()}},{key:"getClientRects",value:function(){for(var t=[],e=this.element.firstChild;e;)t.push(e.getBoundingClientRect()),e=e.nextSibling;return t}},{key:"filteredRanges",value:function(){var t=Array.from(this.range.getClientRects());return t.filter((function(e){for(var i=0;i<t.length;i++){if(t[i]===e)return!0;if(n=t[i],(r=e).right<=n.right&&r.left>=n.left&&r.top>=n.top&&r.bottom<=n.bottom)return!1}var n,r;return!0}))}}]),t}(),u=e.Highlight=function(t){function e(t,i,n,r){c(this,e);var o=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.range=t,o.className=i,o.data=n||{},o.attributes=r||{},o}return l(e,t),n(e,[{key:"bind",value:function(t,i){for(var n in function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var s=r.get;return void 0!==s?s.call(n):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"bind",this).call(this,t,i),this.data)this.data.hasOwnProperty(n)&&(this.element.dataset[n]=this.data[n]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&this.element.setAttribute(n,this.attributes[n]);this.className&&this.element.classList.add(this.className)}},{key:"render",value:function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(var t=this.element.ownerDocument.createDocumentFragment(),e=this.filteredRanges(),i=this.element.getBoundingClientRect(),n=this.container.getBoundingClientRect(),o=0,s=e.length;o<s;o++){var a=e[o],l=r.default.createElement("rect");l.setAttribute("x",a.left-i.left+n.left),l.setAttribute("y",a.top-i.top+n.top),l.setAttribute("height",a.height),l.setAttribute("width",a.width),t.appendChild(l)}this.element.appendChild(t)}}]),e}(h);e.Underline=function(t){function e(t,i,n,r){return c(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i,n,r))}return l(e,t),n(e,[{key:"render",value:function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(var t=this.element.ownerDocument.createDocumentFragment(),e=this.filteredRanges(),i=this.element.getBoundingClientRect(),n=this.container.getBoundingClientRect(),o=0,s=e.length;o<s;o++){var a=e[o],l=r.default.createElement("rect");l.setAttribute("x",a.left-i.left+n.left),l.setAttribute("y",a.top-i.top+n.top),l.setAttribute("height",a.height),l.setAttribute("width",a.width),l.setAttribute("fill","none");var c=r.default.createElement("line");c.setAttribute("x1",a.left-i.left+n.left),c.setAttribute("x2",a.left-i.left+n.left+a.width),c.setAttribute("y1",a.top-i.top+n.top+a.height-1),c.setAttribute("y2",a.top-i.top+n.top+a.height-1),c.setAttribute("stroke-width",1),c.setAttribute("stroke","black"),c.setAttribute("stroke-linecap","square"),t.appendChild(l),t.appendChild(c)}this.element.appendChild(t)}}]),e}(u)},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){var n=i(7),r=i(59).f,o=i(15),s=i(19),a=i(42),l=i(90),c=i(96);t.exports=function(t,e){var i,h,u,d,f,p=t.target,g=t.global,m=t.stat;if(i=g?n:m?n[p]||a(p,{}):(n[p]||{}).prototype)for(h in e){if(d=e[h],u=t.noTargetGet?(f=r(i,h))&&f.value:i[h],!c(g?h:p+(m?".":"#")+h,t.forced)&&void 0!==u){if(typeof d==typeof u)continue;l(d,u)}(t.sham||u&&u.sham)&&o(d,"sham",!0),s(i,h,d,t)}}},function(t,e,i){var n=i(61),r=i(33);t.exports=function(t){return n(r(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=!1},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e,i){var n=i(33);t.exports=function(t){return Object(n(t))}},function(t,e,i){var n=i(18).f,r=i(10),o=i(8)("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},function(e,i){e.exports=t},function(t,e,i){"use strict";var n=i(3),r=i.n(n),o=i(0),s=i(6),a=i(2),l=i(21),c=i(1);class h{constructor(t){this.settings=t,this.name=t.layout||"reflowable",this._spread="none"!==t.spread,this._minSpreadWidth=t.minSpreadWidth||800,this._evenSpreads=t.evenSpreads||!1,"scrolled"===t.flow||"scrolled-continuous"===t.flow||"scrolled-doc"===t.flow?this._flow="scrolled":this._flow="paginated",this.width=0,this.height=0,this.spreadWidth=0,this.delta=0,this.columnWidth=0,this.gap=0,this.divisor=1,this.props={name:this.name,spread:this._spread,flow:this._flow,width:0,height:0,spreadWidth:0,delta:0,columnWidth:0,gap:0,divisor:1}}flow(t){return void 0!==t&&(this._flow="scrolled"===t||"scrolled-continuous"===t||"scrolled-doc"===t?"scrolled":"paginated",this.update({flow:this._flow})),this._flow}spread(t,e){return t&&(this._spread="none"!==t,this.update({spread:this._spread})),e>=0&&(this._minSpreadWidth=e),this._spread}calculate(t,e,i){var n,r,o,s,a,l=i||0,c=t,h=e,u=Math.floor(c/12);a=this._spread&&c>=this._minSpreadWidth?2:1,"reflowable"!==this.name||"paginated"!==this._flow||i>=0||(l=u%2==0?u:u-1),"pre-paginated"===this.name&&(l=0),a>1?o=(n=c/a-l)+l:(n=c,o=c),"pre-paginated"===this.name&&a>1&&(c=n),r=n*a+l,s=c,this.width=c,this.height=h,this.spreadWidth=r,this.pageWidth=o,this.delta=s,this.columnWidth=n,this.gap=l,this.divisor=a,this.update({width:c,height:h,spreadWidth:r,pageWidth:o,delta:s,columnWidth:n,gap:l,divisor:a})}format(t,e,i){return"pre-paginated"===this.name?t.fit(this.columnWidth,this.height,e):"paginated"===this._flow?t.columns(this.width,this.height,this.columnWidth,this.gap,this.settings.direction):i&&"horizontal"===i?t.size(null,this.height):t.size(this.width,null)}count(t,e){let i,n;return"pre-paginated"===this.name?(i=1,n=1):"paginated"===this._flow?(e=e||this.delta,i=Math.ceil(t/e),n=i*this.divisor):(e=e||this.height,i=Math.ceil(t/e),n=i),{spreads:i,pages:n}}update(t){if(Object.keys(t).forEach(e=>{this.props[e]===t[e]&&delete t[e]}),Object.keys(t).length>0){let e=Object(o.extend)(this.props,t);this.emit(c.c.LAYOUT.UPDATED,e,t)}}}r()(h.prototype);var u=h,d=i(5);i(28);class f{constructor({type:t,cfiRange:e,data:i,sectionIndex:n,cb:r,className:o,styles:s}){this.type=t,this.cfiRange=e,this.data=i,this.sectionIndex=n,this.mark=void 0,this.cb=r,this.className=o,this.styles=s}update(t){this.data=t}attach(t){let e,{cfiRange:i,data:n,type:r,mark:o,cb:s,className:a,styles:l}=this;return"highlight"===r?e=t.highlight(i,n,s,a,l):"underline"===r?e=t.underline(i,n,s,a,l):"mark"===r&&(e=t.mark(i,n,s)),this.mark=e,this.emit(c.c.ANNOTATION.ATTACH,e),e}detach(t){let e,{cfiRange:i,type:n}=this;return t&&("highlight"===n?e=t.unhighlight(i):"underline"===n?e=t.ununderline(i):"mark"===n&&(e=t.unmark(i))),this.mark=void 0,this.emit(c.c.ANNOTATION.DETACH,e),e}text(){}}r()(f.prototype);var p=i(54),g=i(22),m=i(56);class v{constructor(t,e){this.settings=Object(o.extend)(this.settings||{},{width:null,height:null,ignoreClass:"",manager:"default",view:"iframe",flow:null,layout:null,spread:null,minSpreadWidth:800,stylesheet:null,resizeOnOrientationChange:!0,script:null,snap:!1,defaultDirection:"ltr"}),Object(o.extend)(this.settings,e),"object"==typeof this.settings.manager&&(this.manager=this.settings.manager),this.book=t,this.hooks={},this.hooks.display=new s.a(this),this.hooks.serialize=new s.a(this),this.hooks.content=new s.a(this),this.hooks.unloaded=new s.a(this),this.hooks.layout=new s.a(this),this.hooks.render=new s.a(this),this.hooks.show=new s.a(this),this.hooks.content.register(this.handleLinks.bind(this)),this.hooks.content.register(this.passEvents.bind(this)),this.hooks.content.register(this.adjustImages.bind(this)),this.book.spine.hooks.content.register(this.injectIdentifier.bind(this)),this.settings.stylesheet&&this.book.spine.hooks.content.register(this.injectStylesheet.bind(this)),this.settings.script&&this.book.spine.hooks.content.register(this.injectScript.bind(this)),this.themes=new class{constructor(t){this.rendition=t,this._themes={default:{rules:{},url:"",serialized:""}},this._overrides={},this._current="default",this._injected=[],this.rendition.hooks.content.register(this.inject.bind(this)),this.rendition.hooks.content.register(this.overrides.bind(this))}register(){if(0!==arguments.length)return 1===arguments.length&&"object"==typeof arguments[0]?this.registerThemes(arguments[0]):1===arguments.length&&"string"==typeof arguments[0]?this.default(arguments[0]):2===arguments.length&&"string"==typeof arguments[1]?this.registerUrl(arguments[0],arguments[1]):2===arguments.length&&"object"==typeof arguments[1]?this.registerRules(arguments[0],arguments[1]):void 0}default(t){if(t)return"string"==typeof t?this.registerUrl("default",t):"object"==typeof t?this.registerRules("default",t):void 0}registerThemes(t){for(var e in t)t.hasOwnProperty(e)&&("string"==typeof t[e]?this.registerUrl(e,t[e]):this.registerRules(e,t[e]))}registerCss(t,e){this._themes[t]={serialized:e},(this._injected[t]||"default"==t)&&this.update(t)}registerUrl(t,e){var i=new d.a(e);this._themes[t]={url:i.toString()},(this._injected[t]||"default"==t)&&this.update(t)}registerRules(t,e){this._themes[t]={rules:e},(this._injected[t]||"default"==t)&&this.update(t)}select(t){var e=this._current;this._current=t,this.update(t),this.rendition.getContents().forEach(i=>{i.removeClass(e),i.addClass(t)})}update(t){this.rendition.getContents().forEach(e=>{this.add(t,e)})}inject(t){var e,i=[],n=this._themes;for(var r in n)!n.hasOwnProperty(r)||r!==this._current&&"default"!==r||(((e=n[r]).rules&&Object.keys(e.rules).length>0||e.url&&-1===i.indexOf(e.url))&&this.add(r,t),this._injected.push(r));"default"!=this._current&&t.addClass(this._current)}add(t,e){var i=this._themes[t];i&&e&&(i.url?e.addStylesheet(i.url):i.serialized?(e.addStylesheetCss(i.serialized,t),i.injected=!0):i.rules&&(e.addStylesheetRules(i.rules,t),i.injected=!0))}override(t,e,i){var n=this.rendition.getContents();this._overrides[t]={value:e,priority:!0===i},n.forEach(e=>{e.css(t,this._overrides[t].value,this._overrides[t].priority)})}removeOverride(t){var e=this.rendition.getContents();delete this._overrides[t],e.forEach(e=>{e.css(t)})}overrides(t){var e=this._overrides;for(var i in e)e.hasOwnProperty(i)&&t.css(i,e[i].value,e[i].priority)}fontSize(t){this.override("font-size",t)}font(t){this.override("font-family",t,!0)}destroy(){this.rendition=void 0,this._themes=void 0,this._overrides=void 0,this._current=void 0,this._injected=void 0}}(this),this.annotations=new class{constructor(t){this.rendition=t,this.highlights=[],this.underlines=[],this.marks=[],this._annotations={},this._annotationsBySectionIndex={},this.rendition.hooks.render.register(this.inject.bind(this)),this.rendition.hooks.unloaded.register(this.clear.bind(this))}add(t,e,i,n,r,o){let s=encodeURI(e+t),l=new a.a(e).spinePos,c=new f({type:t,cfiRange:e,data:i,sectionIndex:l,cb:n,className:r,styles:o});return this._annotations[s]=c,l in this._annotationsBySectionIndex?this._annotationsBySectionIndex[l].push(s):this._annotationsBySectionIndex[l]=[s],this.rendition.views().forEach(t=>{c.sectionIndex===t.index&&c.attach(t)}),c}remove(t,e){let i=encodeURI(t+e);if(i in this._annotations){let t=this._annotations[i];if(e&&t.type!==e)return;this.rendition.views().forEach(e=>{this._removeFromAnnotationBySectionIndex(t.sectionIndex,i),t.sectionIndex===e.index&&t.detach(e)}),delete this._annotations[i]}}_removeFromAnnotationBySectionIndex(t,e){this._annotationsBySectionIndex[t]=this._annotationsAt(t).filter(t=>t!==e)}_annotationsAt(t){return this._annotationsBySectionIndex[t]}highlight(t,e,i,n,r){return this.add("highlight",t,e,i,n,r)}underline(t,e,i,n,r){return this.add("underline",t,e,i,n,r)}mark(t,e,i){return this.add("mark",t,e,i)}each(){return this._annotations.forEach.apply(this._annotations,arguments)}inject(t){let e=t.index;e in this._annotationsBySectionIndex&&this._annotationsBySectionIndex[e].forEach(e=>{this._annotations[e].attach(t)})}clear(t){let e=t.index;e in this._annotationsBySectionIndex&&this._annotationsBySectionIndex[e].forEach(e=>{this._annotations[e].detach(t)})}show(){}hide(){}}(this),this.epubcfi=new a.a,this.q=new l.a(this),this.location=void 0,this.q.enqueue(this.book.opened),this.starting=new o.defer,this.started=this.starting.promise,this.q.enqueue(this.start)}setManager(t){this.manager=t}requireManager(t){return"string"==typeof t&&"default"===t?g.a:"string"==typeof t&&"continuous"===t?m.a:t}requireView(t){return"string"==typeof t&&"iframe"===t?p.a:t}start(){switch(this.settings.layout||"pre-paginated"!==this.book.package.metadata.layout&&"true"!==this.book.displayOptions.fixedLayout||(this.settings.layout="pre-paginated"),this.book.package.metadata.spread){case"none":this.settings.spread="none";break;case"both":this.settings.spread=!0}this.manager||(this.ViewManager=this.requireManager(this.settings.manager),this.View=this.requireView(this.settings.view),this.manager=new this.ViewManager({view:this.View,queue:this.q,request:this.book.load.bind(this.book),settings:this.settings})),this.direction(this.book.package.metadata.direction||this.settings.defaultDirection),this.settings.globalLayoutProperties=this.determineLayoutProperties(this.book.package.metadata),this.flow(this.settings.globalLayoutProperties.flow),this.layout(this.settings.globalLayoutProperties),this.manager.on(c.c.MANAGERS.ADDED,this.afterDisplayed.bind(this)),this.manager.on(c.c.MANAGERS.REMOVED,this.afterRemoved.bind(this)),this.manager.on(c.c.MANAGERS.RESIZED,this.onResized.bind(this)),this.manager.on(c.c.MANAGERS.ORIENTATION_CHANGE,this.onOrientationChange.bind(this)),this.manager.on(c.c.MANAGERS.SCROLLED,this.reportLocation.bind(this)),this.emit(c.c.RENDITION.STARTED),this.starting.resolve()}attachTo(t){return this.q.enqueue(function(){this.manager.render(t,{width:this.settings.width,height:this.settings.height}),this.emit(c.c.RENDITION.ATTACHED)}.bind(this))}display(t){return this.displaying&&this.displaying.resolve(),this.q.enqueue(this._display,t)}_display(t){if(this.book){this.epubcfi.isCfiString(t);var e,i=new o.defer,n=i.promise;return this.displaying=i,this.book.locations.length()&&Object(o.isFloat)(t)&&(t=this.book.locations.cfiFromPercentage(parseFloat(t))),(e=this.book.spine.get(t))?(this.manager.display(e,t).then(()=>{i.resolve(e),this.displaying=void 0,this.emit(c.c.RENDITION.DISPLAYED,e),this.reportLocation()},t=>{this.emit(c.c.RENDITION.DISPLAY_ERROR,t)}),n):(i.reject(new Error("No Section Found")),n)}}afterDisplayed(t){t.on(c.c.VIEWS.MARK_CLICKED,(e,i)=>this.triggerMarkEvent(e,i,t.contents)),this.hooks.render.trigger(t,this).then(()=>{t.contents?this.hooks.content.trigger(t.contents,this).then(()=>{this.emit(c.c.RENDITION.RENDERED,t.section,t)}):this.emit(c.c.RENDITION.RENDERED,t.section,t)})}afterRemoved(t){this.hooks.unloaded.trigger(t,this).then(()=>{this.emit(c.c.RENDITION.REMOVED,t.section,t)})}onResized(t,e){this.emit(c.c.RENDITION.RESIZED,{width:t.width,height:t.height},e),this.location&&this.location.start&&this.display(e||this.location.start.cfi)}onOrientationChange(t){this.emit(c.c.RENDITION.ORIENTATION_CHANGE,t)}moveTo(t){this.manager.moveTo(t)}resize(t,e,i){t&&(this.settings.width=t),e&&(this.settings.height=e),this.manager.resize(t,e,i)}clear(){this.manager.clear()}next(){return this.q.enqueue(this.manager.next.bind(this.manager)).then(this.reportLocation.bind(this))}prev(){return this.q.enqueue(this.manager.prev.bind(this.manager)).then(this.reportLocation.bind(this))}determineLayoutProperties(t){var e=this.settings.layout||t.layout||"reflowable",i=this.settings.spread||t.spread||"auto",n=this.settings.orientation||t.orientation||"auto",r=this.settings.flow||t.flow||"auto",o=t.viewport||"",s=this.settings.minSpreadWidth||t.minSpreadWidth||800,a=this.settings.direction||t.direction||"ltr";return(0===this.settings.width||this.settings.width>0)&&(0===this.settings.height||this.settings.height),{layout:e,spread:i,orientation:n,flow:r,viewport:o,minSpreadWidth:s,direction:a}}flow(t){var e=t;"scrolled"!==t&&"scrolled-doc"!==t&&"scrolled-continuous"!==t||(e="scrolled"),"auto"!==t&&"paginated"!==t||(e="paginated"),this.settings.flow=t,this._layout&&this._layout.flow(e),this.manager&&this._layout&&this.manager.applyLayout(this._layout),this.manager&&this.manager.updateFlow(e),this.manager&&this.manager.isRendered()&&this.location&&(this.manager.clear(),this.display(this.location.start.cfi))}layout(t){return t&&(this._layout=new u(t),this._layout.spread(t.spread,this.settings.minSpreadWidth),this._layout.on(c.c.LAYOUT.UPDATED,(t,e)=>{this.emit(c.c.RENDITION.LAYOUT,t,e)})),this.manager&&this._layout&&this.manager.applyLayout(this._layout),this._layout}spread(t,e){this.settings.spread=t,e&&(this.settings.minSpreadWidth=e),this._layout&&this._layout.spread(t,e),this.manager&&this.manager.isRendered()&&this.manager.updateLayout()}direction(t){this.settings.direction=t||"ltr",this.manager&&this.manager.direction(this.settings.direction),this.manager&&this.manager.isRendered()&&this.location&&(this.manager.clear(),this.display(this.location.start.cfi))}reportLocation(){return this.q.enqueue(function(){requestAnimationFrame(function(){var t=this.manager.currentLocation();if(t&&t.then&&"function"==typeof t.then)t.then(function(t){let e=this.located(t);e&&e.start&&e.end&&(this.location=e,this.emit(c.c.RENDITION.LOCATION_CHANGED,{index:this.location.start.index,href:this.location.start.href,start:this.location.start.cfi,end:this.location.end.cfi,percentage:this.location.start.percentage}),this.emit(c.c.RENDITION.RELOCATED,this.location))}.bind(this));else if(t){let e=this.located(t);if(!e||!e.start||!e.end)return;this.location=e,this.emit(c.c.RENDITION.LOCATION_CHANGED,{index:this.location.start.index,href:this.location.start.href,start:this.location.start.cfi,end:this.location.end.cfi,percentage:this.location.start.percentage}),this.emit(c.c.RENDITION.RELOCATED,this.location)}}.bind(this))}.bind(this))}currentLocation(){var t=this.manager.currentLocation();if(t&&t.then&&"function"==typeof t.then)t.then(function(t){return this.located(t)}.bind(this));else if(t)return this.located(t)}located(t){if(!t.length)return{};let e=t[0],i=t[t.length-1],n={start:{index:e.index,href:e.href,cfi:e.mapping.start,displayed:{page:e.pages[0]||1,total:e.totalPages}},end:{index:i.index,href:i.href,cfi:i.mapping.end,displayed:{page:i.pages[i.pages.length-1]||1,total:i.totalPages}}},r=this.book.locations.locationFromCfi(e.mapping.start),o=this.book.locations.locationFromCfi(i.mapping.end);null!=r&&(n.start.location=r,n.start.percentage=this.book.locations.percentageFromLocation(r)),null!=o&&(n.end.location=o,n.end.percentage=this.book.locations.percentageFromLocation(o));let s=this.book.pageList.pageFromCfi(e.mapping.start),a=this.book.pageList.pageFromCfi(i.mapping.end);return-1!=s&&(n.start.page=s),-1!=a&&(n.end.page=a),i.index===this.book.spine.last().index&&n.end.displayed.page>=n.end.displayed.total&&(n.atEnd=!0),e.index===this.book.spine.first().index&&1===n.start.displayed.page&&(n.atStart=!0),n}destroy(){this.manager&&this.manager.destroy(),this.book=void 0}passEvents(t){c.a.forEach(e=>{t.on(e,e=>this.triggerViewEvent(e,t))}),t.on(c.c.CONTENTS.SELECTED,e=>this.triggerSelectedEvent(e,t))}triggerViewEvent(t,e){this.emit(t.type,t,e)}triggerSelectedEvent(t,e){this.emit(c.c.RENDITION.SELECTED,t,e)}triggerMarkEvent(t,e,i){this.emit(c.c.RENDITION.MARK_CLICKED,t,e,i)}getRange(t,e){var i=new a.a(t),n=this.manager.visible().filter((function(t){if(i.spinePos===t.index)return!0}));if(n.length)return n[0].contents.range(i,e)}adjustImages(t){if("pre-paginated"===this._layout.name)return new Promise((function(t){t()}));let e=t.window.getComputedStyle(t.content,null),i=.95*(t.content.offsetHeight-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom))),n=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight);return t.addStylesheetRules({img:{"max-width":(this._layout.columnWidth?this._layout.columnWidth-n+"px":"100%")+"!important","max-height":i+"px!important","object-fit":"contain","page-break-inside":"avoid","break-inside":"avoid","box-sizing":"border-box"},svg:{"max-width":(this._layout.columnWidth?this._layout.columnWidth-n+"px":"100%")+"!important","max-height":i+"px!important","page-break-inside":"avoid","break-inside":"avoid"}}),new Promise((function(t,e){setTimeout((function(){t()}),1)}))}getContents(){return this.manager?this.manager.getContents():[]}views(){return(this.manager?this.manager.views:void 0)||[]}handleLinks(t){t&&t.on(c.c.CONTENTS.LINK_CLICKED,t=>{let e=this.book.path.relative(t);this.display(e)})}injectStylesheet(t,e){let i=t.createElement("link");i.setAttribute("type","text/css"),i.setAttribute("rel","stylesheet"),i.setAttribute("href",this.settings.stylesheet),t.getElementsByTagName("head")[0].appendChild(i)}injectScript(t,e){let i=t.createElement("script");i.setAttribute("type","text/javascript"),i.setAttribute("src",this.settings.script),i.textContent=" ",t.getElementsByTagName("head")[0].appendChild(i)}injectIdentifier(t,e){let i=this.book.packaging.metadata.identifier,n=t.createElement("meta");n.setAttribute("name","dc.relation.ispartof"),i&&n.setAttribute("content",i),t.getElementsByTagName("head")[0].appendChild(n)}}r()(v.prototype),e.a=v},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e,i){var n=i(17);t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,i){var n=i(7),r=i(15);t.exports=function(t,e){try{r(n,t,e)}catch(i){n[t]=e}return e}},function(t,e,i){var n=i(66),r=i(67),o=n("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},function(t,e){t.exports={}},function(t,e,i){var n=i(92),r=i(7),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(r[t]):n[t]&&n[t][e]||r[t]&&r[t][e]}},function(t,e,i){var n=i(35),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,i){"use strict";var n,r,o=i(97),s=i(98),a=RegExp.prototype.exec,l=String.prototype.replace,c=a,h=(n=/a/,r=/b*/g,a.call(n,"a"),a.call(r,"a"),0!==n.lastIndex||0!==r.lastIndex),u=s.UNSUPPORTED_Y||s.BROKEN_CARET,d=void 0!==/()??/.exec("")[1];(h||d||u)&&(c=function(t){var e,i,n,r,s=this,c=u&&s.sticky,f=o.call(s),p=s.source,g=0,m=t;return c&&(-1===(f=f.replace("y","")).indexOf("g")&&(f+="g"),m=String(t).slice(s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==t[s.lastIndex-1])&&(p="(?: "+p+")",m=" "+m,g++),i=new RegExp("^(?:"+p+")",f)),d&&(i=new RegExp("^"+p+"$(?!\\s)",f)),h&&(e=s.lastIndex),n=a.call(c?i:s,m),c?n?(n.input=n.input.slice(g),n[0]=n[0].slice(g),n.index=s.lastIndex,s.lastIndex+=n[0].length):s.lastIndex=0:h&&n&&(s.lastIndex=s.global?n.index+n[0].length:e),d&&n&&n.length>1&&l.call(n[0],i,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(n[r]=void 0)})),n}),t.exports=c},function(t,e,i){var n=i(35),r=i(33),o=function(t){return function(e,i){var o,s,a=String(r(e)),l=n(i),c=a.length;return l<0||l>=c?t?"":void 0:(o=a.charCodeAt(l))<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,e,i){var n,r=i(13),o=i(72),s=i(47),a=i(44),l=i(104),c=i(63),h=i(43)("IE_PROTO"),u=function(){},d=function(t){return"<script>"+t+"<\/script>"},f=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;f=n?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=c("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var i=s.length;i--;)delete f.prototype[s[i]];return f()};a[h]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(u.prototype=r(t),i=new u,u.prototype=null,i[h]=t):i=f(),void 0===e?i:o(i,e)}},function(t,e,i){"use strict";var n=i(115)();t.exports=function(t){return t!==n&&null!==t}},function(t,e,i){var n=i(81),r=i(27),o=i(8)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||r[n(t)]}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,i){"use strict";var n=i(3),r=i.n(n),o=i(0),s=i(2),a=i(28),l=i(1),c=i(29);class h{constructor(t,e){this.settings=Object(o.extend)({ignoreClass:"",axis:void 0,direction:void 0,width:0,height:0,layout:void 0,globalLayoutProperties:{},method:void 0,forceRight:!1},e||{}),this.id="epubjs-view-"+Object(o.uuid)(),this.section=t,this.index=t.index,this.element=this.container(this.settings.axis),this.added=!1,this.displayed=!1,this.rendered=!1,this.fixedWidth=0,this.fixedHeight=0,this.epubcfi=new s.a,this.layout=this.settings.layout,this.pane=void 0,this.highlights={},this.underlines={},this.marks={}}container(t){var e=document.createElement("div");return e.classList.add("epub-view"),e.style.height="0px",e.style.width="0px",e.style.overflow="hidden",e.style.position="relative",e.style.display="block",e.style.flex=t&&"horizontal"==t?"none":"initial",e}create(){return this.iframe||(this.element||(this.element=this.createContainer()),this.iframe=document.createElement("iframe"),this.iframe.id=this.id,this.iframe.scrolling="no",this.iframe.style.overflow="hidden",this.iframe.seamless="seamless",this.iframe.style.border="none",this.iframe.setAttribute("enable-annotation","true"),this.resizing=!0,this.element.style.visibility="hidden",this.iframe.style.visibility="hidden",this.iframe.style.width="0",this.iframe.style.height="0",this._width=0,this._height=0,this.element.setAttribute("ref",this.index),this.added=!0,this.elementBounds=Object(o.bounds)(this.element),"srcdoc"in this.iframe?this.supportsSrcdoc=!0:this.supportsSrcdoc=!1,this.settings.method||(this.settings.method=this.supportsSrcdoc?"srcdoc":"write")),this.iframe}render(t,e){return this.create(),this.size(),this.sectionRender||(this.sectionRender=this.section.render(t)),this.sectionRender.then(function(t){return this.load(t)}.bind(this)).then(function(){let t,e=this.contents.writingMode();return t="scrolled"===this.settings.flow?0===e.indexOf("vertical")?"horizontal":"vertical":0===e.indexOf("vertical")?"vertical":"horizontal",0===e.indexOf("vertical")&&"paginated"===this.settings.flow&&(this.layout.delta=this.layout.height),this.setAxis(t),this.emit(l.c.VIEWS.AXIS,t),this.setWritingMode(e),this.emit(l.c.VIEWS.WRITING_MODE,e),this.layout.format(this.contents,this.section,this.axis),this.addListeners(),new Promise((t,e)=>{this.expand(),this.settings.forceRight&&(this.element.style.marginLeft=this.width()+"px"),t()})}.bind(this),function(t){return this.emit(l.c.VIEWS.LOAD_ERROR,t),new Promise((e,i)=>{i(t)})}.bind(this)).then(function(){this.emit(l.c.VIEWS.RENDERED,this.section)}.bind(this))}reset(){this.iframe&&(this.iframe.style.width="0",this.iframe.style.height="0",this._width=0,this._height=0,this._textWidth=void 0,this._contentWidth=void 0,this._textHeight=void 0,this._contentHeight=void 0),this._needsReframe=!0}size(t,e){var i=t||this.settings.width,n=e||this.settings.height;"pre-paginated"===this.layout.name?this.lock("both",i,n):"horizontal"===this.settings.axis?this.lock("height",i,n):this.lock("width",i,n),this.settings.width=i,this.settings.height=n}lock(t,e,i){var n,r=Object(o.borders)(this.element);n=this.iframe?Object(o.borders)(this.iframe):{width:0,height:0},"width"==t&&Object(o.isNumber)(e)&&(this.lockedWidth=e-r.width-n.width),"height"==t&&Object(o.isNumber)(i)&&(this.lockedHeight=i-r.height-n.height),"both"===t&&Object(o.isNumber)(e)&&Object(o.isNumber)(i)&&(this.lockedWidth=e-r.width-n.width,this.lockedHeight=i-r.height-n.height),this.displayed&&this.iframe&&this.expand()}expand(t){var e,i=this.lockedWidth,n=this.lockedHeight;this.iframe&&!this._expanding&&(this._expanding=!0,"pre-paginated"===this.layout.name?(i=this.layout.columnWidth,n=this.layout.height):"horizontal"===this.settings.axis?((i=this.contents.textWidth())%this.layout.pageWidth>0&&(i=Math.ceil(i/this.layout.pageWidth)*this.layout.pageWidth),this.settings.forceEvenPages&&(e=i/this.layout.pageWidth,this.layout.divisor>1&&"reflowable"===this.layout.name&&e%2>0&&(i+=this.layout.pageWidth))):"vertical"===this.settings.axis&&(n=this.contents.textHeight(),"paginated"===this.settings.flow&&n%this.layout.height>0&&(n=Math.ceil(n/this.layout.height)*this.layout.height)),(this._needsReframe||i!=this._width||n!=this._height)&&this.reframe(i,n),this._expanding=!1)}reframe(t,e){var i;Object(o.isNumber)(t)&&(this.element.style.width=t+"px",this.iframe.style.width=t+"px",this._width=t),Object(o.isNumber)(e)&&(this.element.style.height=e+"px",this.iframe.style.height=e+"px",this._height=e),i={width:t,height:e,widthDelta:this.prevBounds?t-this.prevBounds.width:t,heightDelta:this.prevBounds?e-this.prevBounds.height:e},this.pane&&this.pane.render(),requestAnimationFrame(()=>{let t;for(let e in this.marks)this.marks.hasOwnProperty(e)&&(t=this.marks[e],this.placeMark(t.element,t.range))}),this.onResize(this,i),this.emit(l.c.VIEWS.RESIZED,i),this.prevBounds=i,this.elementBounds=Object(o.bounds)(this.element)}load(t){var e=new o.defer,i=e.promise;if(!this.iframe)return e.reject(new Error("No Iframe Available")),i;if(this.iframe.onload=function(t){this.onLoad(t,e)}.bind(this),"blobUrl"===this.settings.method)this.blobUrl=Object(o.createBlobUrl)(t,"application/xhtml+xml"),this.iframe.src=this.blobUrl,this.element.appendChild(this.iframe);else if("srcdoc"===this.settings.method)this.iframe.srcdoc=t,this.element.appendChild(this.iframe);else{if(this.element.appendChild(this.iframe),this.document=this.iframe.contentDocument,!this.document)return e.reject(new Error("No Document Available")),i;if(this.iframe.contentDocument.open(),window.MSApp&&MSApp.execUnsafeLocalFunction){var n=this;MSApp.execUnsafeLocalFunction((function(){n.iframe.contentDocument.write(t)}))}else this.iframe.contentDocument.write(t);this.iframe.contentDocument.close()}return i}onLoad(t,e){this.window=this.iframe.contentWindow,this.document=this.iframe.contentDocument,this.contents=new a.a(this.document,this.document.body,this.section.cfiBase,this.section.index),this.rendering=!1;var i=this.document.querySelector("link[rel='canonical']");i?i.setAttribute("href",this.section.canonical):((i=this.document.createElement("link")).setAttribute("rel","canonical"),i.setAttribute("href",this.section.canonical),this.document.querySelector("head").appendChild(i)),this.contents.on(l.c.CONTENTS.EXPAND,()=>{this.displayed&&this.iframe&&(this.expand(),this.contents&&this.layout.format(this.contents))}),this.contents.on(l.c.CONTENTS.RESIZE,t=>{this.displayed&&this.iframe&&(this.expand(),this.contents&&this.layout.format(this.contents))}),e.resolve(this.contents)}setLayout(t){this.layout=t,this.contents&&(this.layout.format(this.contents),this.expand())}setAxis(t){this.settings.axis=t,this.element.style.flex="horizontal"==t?"none":"initial",this.size()}setWritingMode(t){this.writingMode=t}addListeners(){}removeListeners(t){}display(t){var e=new o.defer;return this.displayed?e.resolve(this):this.render(t).then(function(){this.emit(l.c.VIEWS.DISPLAYED,this),this.onDisplayed(this),this.displayed=!0,e.resolve(this)}.bind(this),(function(t){e.reject(t,this)})),e.promise}show(){this.element.style.visibility="visible",this.iframe&&(this.iframe.style.visibility="visible",this.iframe.style.transform="translateZ(0)",this.iframe.offsetWidth,this.iframe.style.transform=null),this.emit(l.c.VIEWS.SHOWN,this)}hide(){this.element.style.visibility="hidden",this.iframe.style.visibility="hidden",this.stopExpanding=!0,this.emit(l.c.VIEWS.HIDDEN,this)}offset(){return{top:this.element.offsetTop,left:this.element.offsetLeft}}width(){return this._width}height(){return this._height}position(){return this.element.getBoundingClientRect()}locationOf(t){this.iframe.getBoundingClientRect();var e=this.contents.locationOf(t,this.settings.ignoreClass);return{left:e.left,top:e.top}}onDisplayed(t){}onResize(t,e){}bounds(t){return!t&&this.elementBounds||(this.elementBounds=Object(o.bounds)(this.element)),this.elementBounds}highlight(t,e={},i,n="epubjs-hl",r={}){if(!this.contents)return;const o=Object.assign({fill:"yellow","fill-opacity":"0.3","mix-blend-mode":"multiply"},r);let s=this.contents.range(t),a=()=>{this.emit(l.c.VIEWS.MARK_CLICKED,t,e)};e.epubcfi=t,this.pane||(this.pane=new c.Pane(this.iframe,this.element));let h=new c.Highlight(s,n,e,o),u=this.pane.addMark(h);return this.highlights[t]={mark:u,element:u.element,listeners:[a,i]},u.element.setAttribute("ref",n),u.element.addEventListener("click",a),u.element.addEventListener("touchstart",a),i&&(u.element.addEventListener("click",i),u.element.addEventListener("touchstart",i)),u}underline(t,e={},i,n="epubjs-ul",r={}){if(!this.contents)return;const o=Object.assign({stroke:"black","stroke-opacity":"0.3","mix-blend-mode":"multiply"},r);let s=this.contents.range(t),a=()=>{this.emit(l.c.VIEWS.MARK_CLICKED,t,e)};e.epubcfi=t,this.pane||(this.pane=new c.Pane(this.iframe,this.element));let h=new c.Underline(s,n,e,o),u=this.pane.addMark(h);return this.underlines[t]={mark:u,element:u.element,listeners:[a,i]},u.element.setAttribute("ref",n),u.element.addEventListener("click",a),u.element.addEventListener("touchstart",a),i&&(u.element.addEventListener("click",i),u.element.addEventListener("touchstart",i)),u}mark(t,e={},i){if(!this.contents)return;if(t in this.marks)return this.marks[t];let n=this.contents.range(t);if(!n)return;let r=n.commonAncestorContainer,o=1===r.nodeType?r:r.parentNode,s=i=>{this.emit(l.c.VIEWS.MARK_CLICKED,t,e)};n.collapsed&&1===r.nodeType?(n=new Range,n.selectNodeContents(r)):n.collapsed&&(n=new Range,n.selectNodeContents(o));let a=this.document.createElement("a");return a.setAttribute("ref","epubjs-mk"),a.style.position="absolute",a.dataset.epubcfi=t,e&&Object.keys(e).forEach(t=>{a.dataset[t]=e[t]}),i&&(a.addEventListener("click",i),a.addEventListener("touchstart",i)),a.addEventListener("click",s),a.addEventListener("touchstart",s),this.placeMark(a,n),this.element.appendChild(a),this.marks[t]={element:a,range:n,listeners:[s,i]},o}placeMark(t,e){let i,n,r;if("pre-paginated"===this.layout.name||"horizontal"!==this.settings.axis){let t=e.getBoundingClientRect();i=t.top,n=t.right}else{let t,s=e.getClientRects();for(var o=0;o!=s.length;o++)t=s[o],(!r||t.left<r)&&(r=t.left,n=Math.ceil(r/this.layout.props.pageWidth)*this.layout.props.pageWidth-this.layout.gap/2,i=t.top)}t.style.top=i+"px",t.style.left=n+"px"}unhighlight(t){let e;t in this.highlights&&(e=this.highlights[t],this.pane.removeMark(e.mark),e.listeners.forEach(t=>{t&&(e.element.removeEventListener("click",t),e.element.removeEventListener("touchstart",t))}),delete this.highlights[t])}ununderline(t){let e;t in this.underlines&&(e=this.underlines[t],this.pane.removeMark(e.mark),e.listeners.forEach(t=>{t&&(e.element.removeEventListener("click",t),e.element.removeEventListener("touchstart",t))}),delete this.underlines[t])}unmark(t){let e;t in this.marks&&(e=this.marks[t],this.element.removeChild(e.element),e.listeners.forEach(t=>{t&&(e.element.removeEventListener("click",t),e.element.removeEventListener("touchstart",t))}),delete this.marks[t])}destroy(){for(let t in this.highlights)this.unhighlight(t);for(let t in this.underlines)this.ununderline(t);for(let t in this.marks)this.unmark(t);this.blobUrl&&Object(o.revokeBlobUrl)(this.blobUrl),this.displayed&&(this.displayed=!1,this.removeListeners(),this.contents.destroy(),this.stopExpanding=!0,this.element.removeChild(this.iframe),this.iframe=void 0,this.contents=void 0,this._textWidth=null,this._textHeight=null,this._width=null,this._height=null)}}r()(h.prototype),e.a=h},function(t,e,i){var n=i(53),r=i(137),o=i(139),s=Math.max,a=Math.min;t.exports=function(t,e,i){var l,c,h,u,d,f,p=0,g=!1,m=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var i=l,n=c;return l=c=void 0,p=e,u=t.apply(n,i)}function b(t){return p=t,d=setTimeout(x,e),g?y(t):u}function w(t){var i=t-f;return void 0===f||i>=e||i<0||m&&t-p>=h}function x(){var t=r();if(w(t))return _(t);d=setTimeout(x,function(t){var i=e-(t-f);return m?a(i,h-(t-p)):i}(t))}function _(t){return d=void 0,v&&l?y(t):(l=c=void 0,u)}function k(){var t=r(),i=w(t);if(l=arguments,c=this,f=t,i){if(void 0===d)return b(f);if(m)return clearTimeout(d),d=setTimeout(x,e),y(f)}return void 0===d&&(d=setTimeout(x,e)),u}return e=o(e)||0,n(i)&&(g=!!i.leading,h=(m="maxWait"in i)?s(o(i.maxWait)||0,e):h,v="trailing"in i?!!i.trailing:v),k.cancel=function(){void 0!==d&&clearTimeout(d),p=0,l=f=c=d=void 0},k.flush=function(){return void 0===d?u:_(r())},k}},function(t,e,i){"use strict";i(14);var n=i(0),r=i(22),o=i(1),s=i(3),a=i.n(s);const l=Math.PI/2,c={easeOutSine:function(t){return Math.sin(t*l)},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},easeInCubic:function(t){return Math.pow(t,3)}};class h{constructor(t,e){this.settings=Object(n.extend)({duration:80,minVelocity:.2,minDistance:10,easing:c.easeInCubic},e||{}),this.supportsTouch=this.supportsTouch(),this.supportsTouch&&this.setup(t)}setup(t){this.manager=t,this.layout=this.manager.layout,this.fullsize=this.manager.settings.fullsize,this.fullsize?(this.element=this.manager.stage.element,this.scroller=window,this.disableScroll()):(this.element=this.manager.stage.container,this.scroller=this.element,this.element.style.WebkitOverflowScrolling="touch"),this.manager.settings.offset=this.layout.width,this.manager.settings.afterScrolledTimeout=2*this.settings.duration,this.isVertical="vertical"===this.manager.settings.axis,this.manager.isPaginated&&!this.isVertical&&(this.touchCanceler=!1,this.resizeCanceler=!1,this.snapping=!1,this.scrollLeft,this.scrollTop,this.startTouchX=void 0,this.startTouchY=void 0,this.startTime=void 0,this.endTouchX=void 0,this.endTouchY=void 0,this.endTime=void 0,this.addListeners())}supportsTouch(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}disableScroll(){this.element.style.overflow="hidden"}enableScroll(){this.element.style.overflow=""}addListeners(){this._onResize=this.onResize.bind(this),window.addEventListener("resize",this._onResize),this._onScroll=this.onScroll.bind(this),this.scroller.addEventListener("scroll",this._onScroll),this._onTouchStart=this.onTouchStart.bind(this),this.scroller.addEventListener("touchstart",this._onTouchStart,{passive:!0}),this.on("touchstart",this._onTouchStart),this._onTouchMove=this.onTouchMove.bind(this),this.scroller.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.on("touchmove",this._onTouchMove),this._onTouchEnd=this.onTouchEnd.bind(this),this.scroller.addEventListener("touchend",this._onTouchEnd,{passive:!0}),this.on("touchend",this._onTouchEnd),this._afterDisplayed=this.afterDisplayed.bind(this),this.manager.on(o.c.MANAGERS.ADDED,this._afterDisplayed)}removeListeners(){window.removeEventListener("resize",this._onResize),this._onResize=void 0,this.scroller.removeEventListener("scroll",this._onScroll),this._onScroll=void 0,this.scroller.removeEventListener("touchstart",this._onTouchStart,{passive:!0}),this.off("touchstart",this._onTouchStart),this._onTouchStart=void 0,this.scroller.removeEventListener("touchmove",this._onTouchMove,{passive:!0}),this.off("touchmove",this._onTouchMove),this._onTouchMove=void 0,this.scroller.removeEventListener("touchend",this._onTouchEnd,{passive:!0}),this.off("touchend",this._onTouchEnd),this._onTouchEnd=void 0,this.manager.off(o.c.MANAGERS.ADDED,this._afterDisplayed),this._afterDisplayed=void 0}afterDisplayed(t){let e=t.contents;["touchstart","touchmove","touchend"].forEach(t=>{e.on(t,t=>this.triggerViewEvent(t,e))})}triggerViewEvent(t,e){this.emit(t.type,t,e)}onScroll(t){this.scrollLeft=this.fullsize?window.scrollX:this.scroller.scrollLeft,this.scrollTop=this.fullsize?window.scrollY:this.scroller.scrollTop}onResize(t){this.resizeCanceler=!0}onTouchStart(t){let{screenX:e,screenY:i}=t.touches[0];this.fullsize&&this.enableScroll(),this.touchCanceler=!0,this.startTouchX||(this.startTouchX=e,this.startTouchY=i,this.startTime=this.now()),this.endTouchX=e,this.endTouchY=i,this.endTime=this.now()}onTouchMove(t){let{screenX:e,screenY:i}=t.touches[0],n=Math.abs(i-this.endTouchY);this.touchCanceler=!0,!this.fullsize&&n<10&&(this.element.scrollLeft-=e-this.endTouchX),this.endTouchX=e,this.endTouchY=i,this.endTime=this.now()}onTouchEnd(t){this.fullsize&&this.disableScroll(),this.touchCanceler=!1;let e=this.wasSwiped();0!==e?this.snap(e):this.snap(),this.startTouchX=void 0,this.startTouchY=void 0,this.startTime=void 0,this.endTouchX=void 0,this.endTouchY=void 0,this.endTime=void 0}wasSwiped(){let t=this.layout.pageWidth*this.layout.divisor,e=this.endTouchX-this.startTouchX,i=Math.abs(e),n=e/(this.endTime-this.startTime),r=this.settings.minVelocity;return i<=this.settings.minDistance||i>=t?0:n>r?-1:n<-r?1:void 0}needsSnap(){return this.scrollLeft%(this.layout.pageWidth*this.layout.divisor)!=0}snap(t=0){let e=this.scrollLeft,i=this.layout.pageWidth*this.layout.divisor,n=Math.round(e/i)*i;return t&&(n+=t*i),this.smoothScrollTo(n)}smoothScrollTo(t){const e=new n.defer,i=this.scrollLeft,r=this.now(),o=this.settings.duration,s=this.settings.easing;return this.snapping=!0,function n(){const a=this.now(),l=Math.min(1,(a-r)/o);if(s(l),this.touchCanceler||this.resizeCanceler)return this.resizeCanceler=!1,this.snapping=!1,void e.resolve();l<1?(window.requestAnimationFrame(n.bind(this)),this.scrollTo(i+(t-i)*l,0)):(this.scrollTo(t,0),this.snapping=!1,e.resolve())}.call(this),e.promise}scrollTo(t=0,e=0){this.fullsize?window.scroll(t,e):(this.scroller.scrollLeft=t,this.scroller.scrollTop=e)}now(){return"now"in window.performance?performance.now():(new Date).getTime()}destroy(){this.scroller&&(this.fullsize&&this.enableScroll(),this.removeListeners(),this.scroller=void 0)}}a()(h.prototype);var u=h,d=i(55),f=i.n(d);class p extends r.a{constructor(t){super(t),this.name="continuous",this.settings=Object(n.extend)(this.settings||{},{infinite:!0,overflow:void 0,axis:void 0,writingMode:void 0,flow:"scrolled",offset:500,offsetDelta:250,width:void 0,height:void 0,snap:!1,afterScrolledTimeout:10}),Object(n.extend)(this.settings,t.settings||{}),"undefined"!=t.settings.gap&&0===t.settings.gap&&(this.settings.gap=t.settings.gap),this.viewSettings={ignoreClass:this.settings.ignoreClass,axis:this.settings.axis,flow:this.settings.flow,layout:this.layout,width:0,height:0,forceEvenPages:!1},this.scrollTop=0,this.scrollLeft=0}display(t,e){return r.a.prototype.display.call(this,t,e).then(function(){return this.fill()}.bind(this))}fill(t){var e=t||new n.defer;return this.q.enqueue(()=>this.check()).then(t=>{t?this.fill(e):e.resolve()}),e.promise}moveTo(t){var e=0,i=0;this.isPaginated?(e=Math.floor(t.left/this.layout.delta)*this.layout.delta,this.settings.offsetDelta):(i=t.top,t.top,this.settings.offsetDelta),(e>0||i>0)&&this.scrollBy(e,i,!0)}afterResized(t){this.emit(o.c.MANAGERS.RESIZE,t.section)}removeShownListeners(t){t.onDisplayed=function(){}}add(t){var e=this.createView(t);return this.views.append(e),e.on(o.c.VIEWS.RESIZED,t=>{e.expanded=!0}),e.on(o.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),e.on(o.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),e.onDisplayed=this.afterDisplayed.bind(this),e.onResize=this.afterResized.bind(this),e.display(this.request)}append(t){var e=this.createView(t);return e.on(o.c.VIEWS.RESIZED,t=>{e.expanded=!0}),e.on(o.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),e.on(o.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),this.views.append(e),e.onDisplayed=this.afterDisplayed.bind(this),e}prepend(t){var e=this.createView(t);return e.on(o.c.VIEWS.RESIZED,t=>{this.counter(t),e.expanded=!0}),e.on(o.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),e.on(o.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),this.views.prepend(e),e.onDisplayed=this.afterDisplayed.bind(this),e}counter(t){"vertical"===this.settings.axis?this.scrollBy(0,t.heightDelta,!0):this.scrollBy(t.widthDelta,0,!0)}update(t){for(var e,i=this.bounds(),r=this.views.all(),o=r.length,s=[],a=void 0!==t?t:this.settings.offset||0,l=new n.defer,c=[],h=0;h<o;h++)if(e=r[h],!0===this.isVisible(e,a,a,i)){if(e.displayed)e.show();else{let t=e.display(this.request).then((function(t){t.show()}),t=>{e.hide()});c.push(t)}s.push(e)}else this.q.enqueue(e.destroy.bind(e)),clearTimeout(this.trimTimeout),this.trimTimeout=setTimeout(function(){this.q.enqueue(this.trim.bind(this))}.bind(this),250);return c.length?Promise.all(c).catch(t=>{l.reject(t)}):(l.resolve(),l.promise)}check(t,e){var i=new n.defer,r=[],o="horizontal"===this.settings.axis,s=this.settings.offset||0;t&&o&&(s=t),e&&!o&&(s=e);var a=this._bounds;let l=o?this.scrollLeft:this.scrollTop,c=o?Math.floor(a.width):a.height,h=o?this.container.scrollWidth:this.container.scrollHeight,u=this.writingMode&&0===this.writingMode.indexOf("vertical")?"vertical":"horizontal",d=this.settings.rtlScrollType,f="rtl"===this.settings.direction;this.settings.fullsize?(o&&f&&"negative"===d||!o&&f&&"default"===d)&&(l*=-1):(f&&"default"===d&&"horizontal"===u&&(l=h-c-l),f&&"negative"===d&&"horizontal"===u&&(l*=-1));let p=l-s;l+c+s>=h&&(()=>{let t=this.views.last(),e=t&&t.section.next();e&&r.push(this.append(e))})(),p<0&&(()=>{let t=this.views.first(),e=t&&t.section.prev();e&&r.push(this.prepend(e))})();let g=r.map(t=>t.display(this.request));return r.length?Promise.all(g).then(()=>this.check()).then(()=>this.update(s),t=>t):(this.q.enqueue(function(){this.update()}.bind(this)),i.resolve(!1),i.promise)}trim(){for(var t=new n.defer,e=this.views.displayed(),i=e[0],r=e[e.length-1],o=this.views.indexOf(i),s=this.views.indexOf(r),a=this.views.slice(0,o),l=this.views.slice(s+1),c=0;c<a.length-1;c++)this.erase(a[c],a);for(var h=1;h<l.length;h++)this.erase(l[h]);return t.resolve(),t.promise}erase(t,e){var i,n;this.settings.fullsize?(i=window.scrollY,n=window.scrollX):(i=this.container.scrollTop,n=this.container.scrollLeft);var r=t.bounds();this.views.remove(t),e&&("vertical"===this.settings.axis?this.scrollTo(0,i-r.height,!0):"rtl"===this.settings.direction?this.settings.fullsize?this.scrollTo(n+Math.floor(r.width),0,!0):this.scrollTo(n,0,!0):this.scrollTo(n-Math.floor(r.width),0,!0))}addEventListeners(t){window.addEventListener("unload",function(t){this.ignore=!0,this.destroy()}.bind(this)),this.addScrollListeners(),this.isPaginated&&this.settings.snap&&(this.snapper=new u(this,this.settings.snap&&"object"==typeof this.settings.snap&&this.settings.snap))}addScrollListeners(){var t;this.tick=n.requestAnimationFrame;let e="rtl"===this.settings.direction&&"default"===this.settings.rtlScrollType?-1:1;this.scrollDeltaVert=0,this.scrollDeltaHorz=0,this.settings.fullsize?(t=window,this.scrollTop=window.scrollY*e,this.scrollLeft=window.scrollX*e):(t=this.container,this.scrollTop=this.container.scrollTop,this.scrollLeft=this.container.scrollLeft),this._onScroll=this.onScroll.bind(this),t.addEventListener("scroll",this._onScroll),this._scrolled=f()(this.scrolled.bind(this),30),this.didScroll=!1}removeEventListeners(){(this.settings.fullsize?window:this.container).removeEventListener("scroll",this._onScroll),this._onScroll=void 0}onScroll(){let t,e,i="rtl"===this.settings.direction&&"default"===this.settings.rtlScrollType?-1:1;this.settings.fullsize?(t=window.scrollY*i,e=window.scrollX*i):(t=this.container.scrollTop,e=this.container.scrollLeft),this.scrollTop=t,this.scrollLeft=e,this.ignore?this.ignore=!1:this._scrolled(),this.scrollDeltaVert+=Math.abs(t-this.prevScrollTop),this.scrollDeltaHorz+=Math.abs(e-this.prevScrollLeft),this.prevScrollTop=t,this.prevScrollLeft=e,clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(function(){this.scrollDeltaVert=0,this.scrollDeltaHorz=0}.bind(this),150),clearTimeout(this.afterScrolled),this.didScroll=!1}scrolled(){this.q.enqueue(function(){return this.check()}.bind(this)),this.emit(o.c.MANAGERS.SCROLL,{top:this.scrollTop,left:this.scrollLeft}),clearTimeout(this.afterScrolled),this.afterScrolled=setTimeout(function(){this.snapper&&this.snapper.supportsTouch&&this.snapper.needsSnap()||this.emit(o.c.MANAGERS.SCROLLED,{top:this.scrollTop,left:this.scrollLeft})}.bind(this),this.settings.afterScrolledTimeout)}next(){let t="pre-paginated"===this.layout.props.name&&this.layout.props.spread?2*this.layout.props.delta:this.layout.props.delta;this.views.length&&(this.isPaginated&&"horizontal"===this.settings.axis?this.scrollBy(t,0,!0):this.scrollBy(0,this.layout.height,!0),this.q.enqueue(function(){return this.check()}.bind(this)))}prev(){let t="pre-paginated"===this.layout.props.name&&this.layout.props.spread?2*this.layout.props.delta:this.layout.props.delta;this.views.length&&(this.isPaginated&&"horizontal"===this.settings.axis?this.scrollBy(-t,0,!0):this.scrollBy(0,-this.layout.height,!0),this.q.enqueue(function(){return this.check()}.bind(this)))}updateFlow(t){this.rendered&&this.snapper&&(this.snapper.destroy(),this.snapper=void 0),super.updateFlow(t,"scroll"),this.rendered&&this.isPaginated&&this.settings.snap&&(this.snapper=new u(this,this.settings.snap&&"object"==typeof this.settings.snap&&this.settings.snap))}destroy(){super.destroy(),this.snapper&&this.snapper.destroy()}}e.a=p},function(t,e,i){(function(e){t.exports=function t(e,i,n){function r(s,a){if(!i[s]){if(!e[s]){if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=i[s]={exports:{}};e[s][0].call(c.exports,(function(t){return r(e[s][1][t]||t)}),c,c.exports,t,e,i,n)}return i[s].exports}for(var o=!1,s=0;s<n.length;s++)r(n[s]);return r}({1:[function(t,i,n){(function(t){"use strict";var e,n,r=t.MutationObserver||t.WebKitMutationObserver;if(r){var o=0,s=new r(h),a=t.document.createTextNode("");s.observe(a,{characterData:!0}),e=function(){a.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)e="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){h(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(h,0)};else{var l=new t.MessageChannel;l.port1.onmessage=h,e=function(){l.port2.postMessage(0)}}var c=[];function h(){var t,e;n=!0;for(var i=c.length;i;){for(e=c,c=[],t=-1;++t<i;)e[t]();i=c.length}n=!1}i.exports=function(t){1!==c.push(t)||n||e()}}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,i){"use strict";var n=t(1);function r(){}var o={},s=["REJECTED"],a=["FULFILLED"],l=["PENDING"];function c(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==r&&f(this,t)}function h(t,e,i){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function u(t,e,i){n((function(){var n;try{n=e(i)}catch(e){return o.reject(t,e)}n===t?o.reject(t,new TypeError("Cannot resolve promise with itself")):o.resolve(t,n)}))}function d(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function f(t,e){var i=!1;function n(e){i||(i=!0,o.reject(t,e))}function r(e){i||(i=!0,o.resolve(t,e))}var s=p((function(){e(r,n)}));"error"===s.status&&n(s.value)}function p(t,e){var i={};try{i.value=t(e),i.status="success"}catch(t){i.status="error",i.value=t}return i}e.exports=c,c.prototype.catch=function(t){return this.then(null,t)},c.prototype.then=function(t,e){if("function"!=typeof t&&this.state===a||"function"!=typeof e&&this.state===s)return this;var i=new this.constructor(r);return this.state!==l?u(i,this.state===a?t:e,this.outcome):this.queue.push(new h(i,t,e)),i},h.prototype.callFulfilled=function(t){o.resolve(this.promise,t)},h.prototype.otherCallFulfilled=function(t){u(this.promise,this.onFulfilled,t)},h.prototype.callRejected=function(t){o.reject(this.promise,t)},h.prototype.otherCallRejected=function(t){u(this.promise,this.onRejected,t)},o.resolve=function(t,e){var i=p(d,e);if("error"===i.status)return o.reject(t,i.value);var n=i.value;if(n)f(t,n);else{t.state=a,t.outcome=e;for(var r=-1,s=t.queue.length;++r<s;)t.queue[r].callFulfilled(e)}return t},o.reject=function(t,e){t.state=s,t.outcome=e;for(var i=-1,n=t.queue.length;++i<n;)t.queue[i].callRejected(e);return t},c.resolve=function(t){return t instanceof this?t:o.resolve(new this(r),t)},c.reject=function(t){var e=new this(r);return o.reject(e,t)},c.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,n=!1;if(!i)return this.resolve([]);for(var s=new Array(i),a=0,l=-1,c=new this(r);++l<i;)h(t[l],l);return c;function h(t,r){e.resolve(t).then((function(t){s[r]=t,++a!==i||n||(n=!0,o.resolve(c,s))}),(function(t){n||(n=!0,o.reject(c,t))}))}},c.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,i=!1;if(!e)return this.resolve([]);for(var n,s=-1,a=new this(r);++s<e;)n=t[s],this.resolve(n).then((function(t){i||(i=!0,o.resolve(a,t))}),(function(t){i||(i=!0,o.reject(a,t))}));return a}},{1:1}],3:[function(t,i,n){(function(e){"use strict";"function"!=typeof e.Promise&&(e.Promise=t(2))}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(t){return}}();function o(t,e){t=t||[],e=e||{};try{return new Blob(t,e)}catch(r){if("TypeError"!==r.name)throw r;for(var i=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),n=0;n<t.length;n+=1)i.append(t[n]);return i.getBlob(e.type)}}"undefined"==typeof Promise&&t(3);var s=Promise;function a(t,e){e&&t.then((function(t){e(null,t)}),(function(t){e(t)}))}function l(t,e,i){"function"==typeof e&&t.then(e),"function"==typeof i&&t.catch(i)}function c(t){return"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t)),t}function h(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var u=void 0,d={},f=Object.prototype.toString;function p(t){return"boolean"==typeof u?s.resolve(u):function(t){return new s((function(e){var i=t.transaction("local-forage-detect-blob-support","readwrite"),n=o([""]);i.objectStore("local-forage-detect-blob-support").put(n,"key"),i.onabort=function(t){t.preventDefault(),t.stopPropagation(),e(!1)},i.oncomplete=function(){var t=navigator.userAgent.match(/Chrome\/(\d+)/),i=navigator.userAgent.match(/Edge\//);e(i||!t||parseInt(t[1],10)>=43)}})).catch((function(){return!1}))}(t).then((function(t){return u=t}))}function g(t){var e=d[t.name],i={};i.promise=new s((function(t,e){i.resolve=t,i.reject=e})),e.deferredOperations.push(i),e.dbReady?e.dbReady=e.dbReady.then((function(){return i.promise})):e.dbReady=i.promise}function m(t){var e=d[t.name].deferredOperations.pop();if(e)return e.resolve(),e.promise}function v(t,e){var i=d[t.name].deferredOperations.pop();if(i)return i.reject(e),i.promise}function y(t,e){return new s((function(i,n){if(d[t.name]=d[t.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},t.db){if(!e)return i(t.db);g(t),t.db.close()}var o=[t.name];e&&o.push(t.version);var s=r.open.apply(r,o);e&&(s.onupgradeneeded=function(e){var i=s.result;try{i.createObjectStore(t.storeName),e.oldVersion<=1&&i.createObjectStore("local-forage-detect-blob-support")}catch(i){if("ConstraintError"!==i.name)throw i;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),s.onerror=function(t){t.preventDefault(),n(s.error)},s.onsuccess=function(){i(s.result),m(t)}}))}function b(t){return y(t,!1)}function w(t){return y(t,!0)}function x(t,e){if(!t.db)return!0;var i=!t.db.objectStoreNames.contains(t.storeName),n=t.version<t.db.version,r=t.version>t.db.version;if(n&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),r||i){if(i){var o=t.db.version+1;o>t.version&&(t.version=o)}return!0}return!1}function _(t){return o([function(t){for(var e=t.length,i=new ArrayBuffer(e),n=new Uint8Array(i),r=0;r<e;r++)n[r]=t.charCodeAt(r);return i}(atob(t.data))],{type:t.type})}function k(t){return t&&t.__local_forage_encoded_blob}function E(t){var e=this,i=e._initReady().then((function(){var t=d[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady}));return l(i,t,t),i}function S(t,e,i,n){void 0===n&&(n=1);try{var r=t.db.transaction(t.storeName,e);i(null,r)}catch(r){if(n>0&&(!t.db||"InvalidStateError"===r.name||"NotFoundError"===r.name))return s.resolve().then((function(){if(!t.db||"NotFoundError"===r.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),w(t)})).then((function(){return function(t){g(t);for(var e=d[t.name],i=e.forages,n=0;n<i.length;n++){var r=i[n];r._dbInfo.db&&(r._dbInfo.db.close(),r._dbInfo.db=null)}return t.db=null,b(t).then((function(e){return t.db=e,x(t)?w(t):e})).then((function(n){t.db=e.db=n;for(var r=0;r<i.length;r++)i[r]._dbInfo.db=n})).catch((function(e){throw v(t,e),e}))}(t).then((function(){S(t,e,i,n-1)}))})).catch(i);i(r)}}var T={_driver:"asyncStorage",_initStorage:function(t){var e=this,i={db:null};if(t)for(var n in t)i[n]=t[n];var r=d[i.name];r||(r={forages:[],db:null,dbReady:null,deferredOperations:[]},d[i.name]=r),r.forages.push(e),e._initReady||(e._initReady=e.ready,e.ready=E);var o=[];function a(){return s.resolve()}for(var l=0;l<r.forages.length;l++){var c=r.forages[l];c!==e&&o.push(c._initReady().catch(a))}var h=r.forages.slice(0);return s.all(o).then((function(){return i.db=r.db,b(i)})).then((function(t){return i.db=t,x(i,e._defaultConfig.version)?w(i):t})).then((function(t){i.db=r.db=t,e._dbInfo=i;for(var n=0;n<h.length;n++){var o=h[n];o!==e&&(o._dbInfo.db=i.db,o._dbInfo.version=i.version)}}))},_support:function(){try{if(!r)return!1;var t="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),e="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!t||e)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(t){return!1}}(),iterate:function(t,e){var i=this,n=new s((function(e,n){i.ready().then((function(){S(i._dbInfo,"readonly",(function(r,o){if(r)return n(r);try{var s=o.objectStore(i._dbInfo.storeName).openCursor(),a=1;s.onsuccess=function(){var i=s.result;if(i){var n=i.value;k(n)&&(n=_(n));var r=t(n,i.key,a++);void 0!==r?e(r):i.continue()}else e()},s.onerror=function(){n(s.error)}}catch(t){n(t)}}))})).catch(n)}));return a(n,e),n},getItem:function(t,e){var i=this;t=c(t);var n=new s((function(e,n){i.ready().then((function(){S(i._dbInfo,"readonly",(function(r,o){if(r)return n(r);try{var s=o.objectStore(i._dbInfo.storeName).get(t);s.onsuccess=function(){var t=s.result;void 0===t&&(t=null),k(t)&&(t=_(t)),e(t)},s.onerror=function(){n(s.error)}}catch(t){n(t)}}))})).catch(n)}));return a(n,e),n},setItem:function(t,e,i){var n=this;t=c(t);var r=new s((function(i,r){var o;n.ready().then((function(){return o=n._dbInfo,"[object Blob]"===f.call(e)?p(o.db).then((function(t){return t?e:(i=e,new s((function(t,e){var n=new FileReader;n.onerror=e,n.onloadend=function(e){var n=btoa(e.target.result||"");t({__local_forage_encoded_blob:!0,data:n,type:i.type})},n.readAsBinaryString(i)})));var i})):e})).then((function(e){S(n._dbInfo,"readwrite",(function(o,s){if(o)return r(o);try{var a=s.objectStore(n._dbInfo.storeName);null===e&&(e=void 0);var l=a.put(e,t);s.oncomplete=function(){void 0===e&&(e=null),i(e)},s.onabort=s.onerror=function(){var t=l.error?l.error:l.transaction.error;r(t)}}catch(t){r(t)}}))})).catch(r)}));return a(r,i),r},removeItem:function(t,e){var i=this;t=c(t);var n=new s((function(e,n){i.ready().then((function(){S(i._dbInfo,"readwrite",(function(r,o){if(r)return n(r);try{var s=o.objectStore(i._dbInfo.storeName).delete(t);o.oncomplete=function(){e()},o.onerror=function(){n(s.error)},o.onabort=function(){var t=s.error?s.error:s.transaction.error;n(t)}}catch(t){n(t)}}))})).catch(n)}));return a(n,e),n},clear:function(t){var e=this,i=new s((function(t,i){e.ready().then((function(){S(e._dbInfo,"readwrite",(function(n,r){if(n)return i(n);try{var o=r.objectStore(e._dbInfo.storeName).clear();r.oncomplete=function(){t()},r.onabort=r.onerror=function(){var t=o.error?o.error:o.transaction.error;i(t)}}catch(t){i(t)}}))})).catch(i)}));return a(i,t),i},length:function(t){var e=this,i=new s((function(t,i){e.ready().then((function(){S(e._dbInfo,"readonly",(function(n,r){if(n)return i(n);try{var o=r.objectStore(e._dbInfo.storeName).count();o.onsuccess=function(){t(o.result)},o.onerror=function(){i(o.error)}}catch(t){i(t)}}))})).catch(i)}));return a(i,t),i},key:function(t,e){var i=this,n=new s((function(e,n){t<0?e(null):i.ready().then((function(){S(i._dbInfo,"readonly",(function(r,o){if(r)return n(r);try{var s=o.objectStore(i._dbInfo.storeName),a=!1,l=s.openCursor();l.onsuccess=function(){var i=l.result;i?0===t||a?e(i.key):(a=!0,i.advance(t)):e(null)},l.onerror=function(){n(l.error)}}catch(t){n(t)}}))})).catch(n)}));return a(n,e),n},keys:function(t){var e=this,i=new s((function(t,i){e.ready().then((function(){S(e._dbInfo,"readonly",(function(n,r){if(n)return i(n);try{var o=r.objectStore(e._dbInfo.storeName).openCursor(),s=[];o.onsuccess=function(){var e=o.result;e?(s.push(e.key),e.continue()):t(s)},o.onerror=function(){i(o.error)}}catch(t){i(t)}}))})).catch(i)}));return a(i,t),i},dropInstance:function(t,e){e=h.apply(this,arguments);var i=this.config();(t="function"!=typeof t&&t||{}).name||(t.name=t.name||i.name,t.storeName=t.storeName||i.storeName);var n,o=this;if(t.name){var l=t.name===i.name&&o._dbInfo.db,c=l?s.resolve(o._dbInfo.db):b(t).then((function(e){var i=d[t.name],n=i.forages;i.db=e;for(var r=0;r<n.length;r++)n[r]._dbInfo.db=e;return e}));n=t.storeName?c.then((function(e){if(e.objectStoreNames.contains(t.storeName)){var i=e.version+1;g(t);var n=d[t.name],o=n.forages;e.close();for(var a=0;a<o.length;a++){var l=o[a];l._dbInfo.db=null,l._dbInfo.version=i}return new s((function(e,n){var o=r.open(t.name,i);o.onerror=function(t){o.result.close(),n(t)},o.onupgradeneeded=function(){o.result.deleteObjectStore(t.storeName)},o.onsuccess=function(){var t=o.result;t.close(),e(t)}})).then((function(t){n.db=t;for(var e=0;e<o.length;e++){var i=o[e];i._dbInfo.db=t,m(i._dbInfo)}})).catch((function(e){throw(v(t,e)||s.resolve()).catch((function(){})),e}))}})):c.then((function(e){g(t);var i=d[t.name],n=i.forages;e.close();for(var o=0;o<n.length;o++)n[o]._dbInfo.db=null;return new s((function(e,i){var n=r.deleteDatabase(t.name);n.onerror=n.onblocked=function(t){var e=n.result;e&&e.close(),i(t)},n.onsuccess=function(){var t=n.result;t&&t.close(),e(t)}})).then((function(t){i.db=t;for(var e=0;e<n.length;e++)m(n[e]._dbInfo)})).catch((function(e){throw(v(t,e)||s.resolve()).catch((function(){})),e}))}))}else n=s.reject("Invalid arguments");return a(n,e),n}},C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=/^~~local_forage_type~([^~]+)~/,O="__lfsc__:".length,N=O+"arbf".length,I=Object.prototype.toString;function R(t){var e,i,n,r,o,s=.75*t.length,a=t.length,l=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var c=new ArrayBuffer(s),h=new Uint8Array(c);for(e=0;e<a;e+=4)i=C.indexOf(t[e]),n=C.indexOf(t[e+1]),r=C.indexOf(t[e+2]),o=C.indexOf(t[e+3]),h[l++]=i<<2|n>>4,h[l++]=(15&n)<<4|r>>2,h[l++]=(3&r)<<6|63&o;return c}function j(t){var e,i=new Uint8Array(t),n="";for(e=0;e<i.length;e+=3)n+=C[i[e]>>2],n+=C[(3&i[e])<<4|i[e+1]>>4],n+=C[(15&i[e+1])<<2|i[e+2]>>6],n+=C[63&i[e+2]];return i.length%3==2?n=n.substring(0,n.length-1)+"=":i.length%3==1&&(n=n.substring(0,n.length-2)+"=="),n}var L={serialize:function(t,e){var i="";if(t&&(i=I.call(t)),t&&("[object ArrayBuffer]"===i||t.buffer&&"[object ArrayBuffer]"===I.call(t.buffer))){var n,r="__lfsc__:";t instanceof ArrayBuffer?(n=t,r+="arbf"):(n=t.buffer,"[object Int8Array]"===i?r+="si08":"[object Uint8Array]"===i?r+="ui08":"[object Uint8ClampedArray]"===i?r+="uic8":"[object Int16Array]"===i?r+="si16":"[object Uint16Array]"===i?r+="ur16":"[object Int32Array]"===i?r+="si32":"[object Uint32Array]"===i?r+="ui32":"[object Float32Array]"===i?r+="fl32":"[object Float64Array]"===i?r+="fl64":e(new Error("Failed to get type for BinaryArray"))),e(r+j(n))}else if("[object Blob]"===i){var o=new FileReader;o.onload=function(){var i="~~local_forage_type~"+t.type+"~"+j(this.result);e("__lfsc__:blob"+i)},o.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(i){console.error("Couldn't convert value into a JSON string: ",t),e(null,i)}},deserialize:function(t){if("__lfsc__:"!==t.substring(0,O))return JSON.parse(t);var e,i=t.substring(N),n=t.substring(O,N);if("blob"===n&&A.test(i)){var r=i.match(A);e=r[1],i=i.substring(r[0].length)}var s=R(i);switch(n){case"arbf":return s;case"blob":return o([s],{type:e});case"si08":return new Int8Array(s);case"ui08":return new Uint8Array(s);case"uic8":return new Uint8ClampedArray(s);case"si16":return new Int16Array(s);case"ur16":return new Uint16Array(s);case"si32":return new Int32Array(s);case"ui32":return new Uint32Array(s);case"fl32":return new Float32Array(s);case"fl64":return new Float64Array(s);default:throw new Error("Unkown type: "+n)}},stringToBuffer:R,bufferToString:j};function z(t,e,i,n){t.executeSql("CREATE TABLE IF NOT EXISTS "+e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],i,n)}function D(t,e,i,n,r,o){t.executeSql(i,n,r,(function(t,s){s.code===s.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[e.storeName],(function(t,a){a.rows.length?o(t,s):z(t,e,(function(){t.executeSql(i,n,r,o)}),o)}),o):o(t,s)}),o)}function B(t,e,i,n){var r=this;t=c(t);var o=new s((function(o,s){r.ready().then((function(){void 0===e&&(e=null);var a=e,l=r._dbInfo;l.serializer.serialize(e,(function(e,c){c?s(c):l.db.transaction((function(i){D(i,l,"INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[t,e],(function(){o(a)}),(function(t,e){s(e)}))}),(function(e){if(e.code===e.QUOTA_ERR){if(n>0)return void o(B.apply(r,[t,a,i,n-1]));s(e)}}))}))})).catch(s)}));return a(o,i),o}function P(t){return new s((function(e,i){t.transaction((function(n){n.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(i,n){for(var r=[],o=0;o<n.rows.length;o++)r.push(n.rows.item(o).name);e({db:t,storeNames:r})}),(function(t,e){i(e)}))}),(function(t){i(t)}))}))}var M={_driver:"webSQLStorage",_initStorage:function(t){var e=this,i={db:null};if(t)for(var n in t)i[n]="string"!=typeof t[n]?t[n].toString():t[n];var r=new s((function(t,n){try{i.db=openDatabase(i.name,String(i.version),i.description,i.size)}catch(t){return n(t)}i.db.transaction((function(r){z(r,i,(function(){e._dbInfo=i,t()}),(function(t,e){n(e)}))}),n)}));return i.serializer=L,r},_support:"function"==typeof openDatabase,iterate:function(t,e){var i=this,n=new s((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){D(i,r,"SELECT * FROM "+r.storeName,[],(function(i,n){for(var o=n.rows,s=o.length,a=0;a<s;a++){var l=o.item(a),c=l.value;if(c&&(c=r.serializer.deserialize(c)),void 0!==(c=t(c,l.key,a+1)))return void e(c)}e()}),(function(t,e){n(e)}))}))})).catch(n)}));return a(n,e),n},getItem:function(t,e){var i=this;t=c(t);var n=new s((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){D(i,r,"SELECT * FROM "+r.storeName+" WHERE key = ? LIMIT 1",[t],(function(t,i){var n=i.rows.length?i.rows.item(0).value:null;n&&(n=r.serializer.deserialize(n)),e(n)}),(function(t,e){n(e)}))}))})).catch(n)}));return a(n,e),n},setItem:function(t,e,i){return B.apply(this,[t,e,i,1])},removeItem:function(t,e){var i=this;t=c(t);var n=new s((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){D(i,r,"DELETE FROM "+r.storeName+" WHERE key = ?",[t],(function(){e()}),(function(t,e){n(e)}))}))})).catch(n)}));return a(n,e),n},clear:function(t){var e=this,i=new s((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){D(e,n,"DELETE FROM "+n.storeName,[],(function(){t()}),(function(t,e){i(e)}))}))})).catch(i)}));return a(i,t),i},length:function(t){var e=this,i=new s((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){D(e,n,"SELECT COUNT(key) as c FROM "+n.storeName,[],(function(e,i){var n=i.rows.item(0).c;t(n)}),(function(t,e){i(e)}))}))})).catch(i)}));return a(i,t),i},key:function(t,e){var i=this,n=new s((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){D(i,r,"SELECT key FROM "+r.storeName+" WHERE id = ? LIMIT 1",[t+1],(function(t,i){var n=i.rows.length?i.rows.item(0).key:null;e(n)}),(function(t,e){n(e)}))}))})).catch(n)}));return a(n,e),n},keys:function(t){var e=this,i=new s((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){D(e,n,"SELECT key FROM "+n.storeName,[],(function(e,i){for(var n=[],r=0;r<i.rows.length;r++)n.push(i.rows.item(r).key);t(n)}),(function(t,e){i(e)}))}))})).catch(i)}));return a(i,t),i},dropInstance:function(t,e){e=h.apply(this,arguments);var i=this.config();(t="function"!=typeof t&&t||{}).name||(t.name=t.name||i.name,t.storeName=t.storeName||i.storeName);var n,r=this;return a(n=t.name?new s((function(e){var n;n=t.name===i.name?r._dbInfo.db:openDatabase(t.name,"","",0),t.storeName?e({db:n,storeNames:[t.storeName]}):e(P(n))})).then((function(t){return new s((function(e,i){t.db.transaction((function(n){function r(t){return new s((function(e,i){n.executeSql("DROP TABLE IF EXISTS "+t,[],(function(){e()}),(function(t,e){i(e)}))}))}for(var o=[],a=0,l=t.storeNames.length;a<l;a++)o.push(r(t.storeNames[a]));s.all(o).then((function(){e()})).catch((function(t){i(t)}))}),(function(t){i(t)}))}))})):s.reject("Invalid arguments"),e),n}};function F(t,e){var i=t.name+"/";return t.storeName!==e.storeName&&(i+=t.storeName+"/"),i}var q={_driver:"localStorageWrapper",_initStorage:function(t){var e={};if(t)for(var i in t)e[i]=t[i];return e.keyPrefix=F(t,this._defaultConfig),!function(){try{return localStorage.setItem("_localforage_support_test",!0),localStorage.removeItem("_localforage_support_test"),!1}catch(t){return!0}}()||localStorage.length>0?(this._dbInfo=e,e.serializer=L,s.resolve()):s.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(t){return!1}}(),iterate:function(t,e){var i=this,n=i.ready().then((function(){for(var e=i._dbInfo,n=e.keyPrefix,r=n.length,o=localStorage.length,s=1,a=0;a<o;a++){var l=localStorage.key(a);if(0===l.indexOf(n)){var c=localStorage.getItem(l);if(c&&(c=e.serializer.deserialize(c)),void 0!==(c=t(c,l.substring(r),s++)))return c}}}));return a(n,e),n},getItem:function(t,e){var i=this;t=c(t);var n=i.ready().then((function(){var e=i._dbInfo,n=localStorage.getItem(e.keyPrefix+t);return n&&(n=e.serializer.deserialize(n)),n}));return a(n,e),n},setItem:function(t,e,i){var n=this;t=c(t);var r=n.ready().then((function(){void 0===e&&(e=null);var i=e;return new s((function(r,o){var s=n._dbInfo;s.serializer.serialize(e,(function(e,n){if(n)o(n);else try{localStorage.setItem(s.keyPrefix+t,e),r(i)}catch(t){"QuotaExceededError"!==t.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==t.name||o(t),o(t)}}))}))}));return a(r,i),r},removeItem:function(t,e){var i=this;t=c(t);var n=i.ready().then((function(){var e=i._dbInfo;localStorage.removeItem(e.keyPrefix+t)}));return a(n,e),n},clear:function(t){var e=this,i=e.ready().then((function(){for(var t=e._dbInfo.keyPrefix,i=localStorage.length-1;i>=0;i--){var n=localStorage.key(i);0===n.indexOf(t)&&localStorage.removeItem(n)}}));return a(i,t),i},length:function(t){var e=this.keys().then((function(t){return t.length}));return a(e,t),e},key:function(t,e){var i=this,n=i.ready().then((function(){var e,n=i._dbInfo;try{e=localStorage.key(t)}catch(t){e=null}return e&&(e=e.substring(n.keyPrefix.length)),e}));return a(n,e),n},keys:function(t){var e=this,i=e.ready().then((function(){for(var t=e._dbInfo,i=localStorage.length,n=[],r=0;r<i;r++){var o=localStorage.key(r);0===o.indexOf(t.keyPrefix)&&n.push(o.substring(t.keyPrefix.length))}return n}));return a(i,t),i},dropInstance:function(t,e){if(e=h.apply(this,arguments),!(t="function"!=typeof t&&t||{}).name){var i=this.config();t.name=t.name||i.name,t.storeName=t.storeName||i.storeName}var n,r=this;return a(n=t.name?new s((function(e){t.storeName?e(F(t,r._defaultConfig)):e(t.name+"/")})).then((function(t){for(var e=localStorage.length-1;e>=0;e--){var i=localStorage.key(e);0===i.indexOf(t)&&localStorage.removeItem(i)}})):s.reject("Invalid arguments"),e),n}},U=function(t,e){for(var i,n,r=t.length,o=0;o<r;){if((i=t[o])===(n=e)||"number"==typeof i&&"number"==typeof n&&isNaN(i)&&isNaN(n))return!0;o++}return!1},W=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},$={},H={},X={INDEXEDDB:T,WEBSQL:M,LOCALSTORAGE:q},V=[X.INDEXEDDB._driver,X.WEBSQL._driver,X.LOCALSTORAGE._driver],Y=["dropInstance"],G=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Y),Z={description:"",driver:V.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function K(t,e){t[e]=function(){var i=arguments;return t.ready().then((function(){return t[e].apply(t,i)}))}}function Q(){for(var t=1;t<arguments.length;t++){var e=arguments[t];if(e)for(var i in e)e.hasOwnProperty(i)&&(W(e[i])?arguments[0][i]=e[i].slice():arguments[0][i]=e[i])}return arguments[0]}var J=new(function(){function t(e){for(var i in function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),X)if(X.hasOwnProperty(i)){var n=X[i],r=n._driver;this[i]=r,$[r]||this.defineDriver(n)}this._defaultConfig=Q({},Z),this._config=Q({},this._defaultConfig,e),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return t.prototype.config=function(t){if("object"===(void 0===t?"undefined":n(t))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var e in t){if("storeName"===e&&(t[e]=t[e].replace(/\W/g,"_")),"version"===e&&"number"!=typeof t[e])return new Error("Database version must be a number.");this._config[e]=t[e]}return!("driver"in t)||!t.driver||this.setDriver(this._config.driver)}return"string"==typeof t?this._config[t]:this._config},t.prototype.defineDriver=function(t,e,i){var n=new s((function(e,i){try{var n=t._driver,r=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!t._driver)return void i(r);for(var o=G.concat("_initStorage"),l=0,c=o.length;l<c;l++){var h=o[l];if((!U(Y,h)||t[h])&&"function"!=typeof t[h])return void i(r)}!function(){for(var e=function(t){return function(){var e=new Error("Method "+t+" is not implemented by the current driver"),i=s.reject(e);return a(i,arguments[arguments.length-1]),i}},i=0,n=Y.length;i<n;i++){var r=Y[i];t[r]||(t[r]=e(r))}}();var u=function(i){$[n]&&console.info("Redefining LocalForage driver: "+n),$[n]=t,H[n]=i,e()};"_support"in t?t._support&&"function"==typeof t._support?t._support().then(u,i):u(!!t._support):u(!0)}catch(t){i(t)}}));return l(n,e,i),n},t.prototype.driver=function(){return this._driver||null},t.prototype.getDriver=function(t,e,i){var n=$[t]?s.resolve($[t]):s.reject(new Error("Driver not found."));return l(n,e,i),n},t.prototype.getSerializer=function(t){var e=s.resolve(L);return l(e,t),e},t.prototype.ready=function(t){var e=this,i=e._driverSet.then((function(){return null===e._ready&&(e._ready=e._initDriver()),e._ready}));return l(i,t,t),i},t.prototype.setDriver=function(t,e,i){var n=this;W(t)||(t=[t]);var r=this._getSupportedDrivers(t);function o(){n._config.driver=n.driver()}function a(t){return n._extend(t),o(),n._ready=n._initStorage(n._config),n._ready}var c=null!==this._driverSet?this._driverSet.catch((function(){return s.resolve()})):s.resolve();return this._driverSet=c.then((function(){var t=r[0];return n._dbInfo=null,n._ready=null,n.getDriver(t).then((function(t){n._driver=t._driver,o(),n._wrapLibraryMethodsWithReady(),n._initDriver=function(t){return function(){var e=0;return function i(){for(;e<t.length;){var r=t[e];return e++,n._dbInfo=null,n._ready=null,n.getDriver(r).then(a).catch(i)}o();var l=new Error("No available storage method found.");return n._driverSet=s.reject(l),n._driverSet}()}}(r)}))})).catch((function(){o();var t=new Error("No available storage method found.");return n._driverSet=s.reject(t),n._driverSet})),l(this._driverSet,e,i),this._driverSet},t.prototype.supports=function(t){return!!H[t]},t.prototype._extend=function(t){Q(this,t)},t.prototype._getSupportedDrivers=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var r=t[i];this.supports(r)&&e.push(r)}return e},t.prototype._wrapLibraryMethodsWithReady=function(){for(var t=0,e=G.length;t<e;t++)K(this,G[t])},t.prototype.createInstance=function(e){return new t(e)},t}());e.exports=J},{3:3}]},{},[4])(4)}).call(this,i(30))},function(t,e,i){"use strict";i(24),i(14);var n=i(3),r=i.n(n),o=i(0),s=i(5),a=i(4),l=i(2),c=i(6),h=i(11);i(20);var u=function(t,e,i,n){var r,s="undefined"!=typeof window&&window.URL,l=s?"blob":"arraybuffer",c=new o.defer,h=new XMLHttpRequest,u=XMLHttpRequest.prototype;for(r in"overrideMimeType"in u||Object.defineProperty(u,"overrideMimeType",{value:function(){}}),i&&(h.withCredentials=!0),h.onreadystatechange=function(){if(this.readyState===XMLHttpRequest.DONE){var t=!1;if(""!==this.responseType&&"document"!==this.responseType||(t=this.responseXML),200===this.status||0===this.status||t){var i;if(!this.response&&!t)return c.reject({status:this.status,message:"Empty Response",stack:(new Error).stack}),c.promise;if(403===this.status)return c.reject({status:this.status,response:this.response,message:"Forbidden",stack:(new Error).stack}),c.promise;i=t?this.responseXML:Object(o.isXml)(e)?Object(o.parse)(this.response,"text/xml"):"xhtml"==e?Object(o.parse)(this.response,"application/xhtml+xml"):"html"==e||"htm"==e?Object(o.parse)(this.response,"text/html"):"json"==e?JSON.parse(this.response):"blob"==e?s?this.response:new Blob([this.response]):this.response,c.resolve(i)}else c.reject({status:this.status,message:this.response,stack:(new Error).stack})}},h.onerror=function(t){c.reject(t)},h.open("GET",t,!0),n)h.setRequestHeader(r,n[r]);return"json"==e&&h.setRequestHeader("Accept","application/json"),e||(e=new a.a(t).extension),"blob"==e&&(h.responseType=l),Object(o.isXml)(e)&&h.overrideMimeType("text/xml"),"binary"==e&&(h.responseType="arraybuffer"),h.send(),c.promise},d=i(38),f=class{constructor(t,e){this.idref=t.idref,this.linear="yes"===t.linear,this.properties=t.properties,this.index=t.index,this.href=t.href,this.url=t.url,this.canonical=t.canonical,this.next=t.next,this.prev=t.prev,this.cfiBase=t.cfiBase,e?this.hooks=e:(this.hooks={},this.hooks.serialize=new c.a(this),this.hooks.content=new c.a(this)),this.document=void 0,this.contents=void 0,this.output=void 0}load(t){var e=t||this.request||u,i=new o.defer,n=i.promise;return this.contents?i.resolve(this.contents):e(this.url).then(function(t){return this.document=t,this.contents=t.documentElement,this.hooks.content.trigger(this.document,this)}.bind(this)).then(function(){i.resolve(this.contents)}.bind(this)).catch((function(t){i.reject(t)})),n}base(){return Object(h.a)(this.document,this)}render(t){var e=new o.defer,i=e.promise;return this.output,this.load(t).then(function(t){var e=("undefined"!=typeof navigator&&navigator.userAgent||"").indexOf("Trident")>=0,i=new("undefined"==typeof XMLSerializer||e?d.XMLDOMParser:XMLSerializer);return this.output=i.serializeToString(t),this.output}.bind(this)).then(function(){return this.hooks.serialize.trigger(this.output,this)}.bind(this)).then(function(){e.resolve(this.output)}.bind(this)).catch((function(t){e.reject(t)})),i}find(t){var e=this,i=[],n=t.toLowerCase();return Object(o.sprint)(e.document,(function(t){!function(t){for(var r,o,s,a=t.textContent.toLowerCase(),l=e.document.createRange(),c=-1;-1!=o;)-1!=(o=a.indexOf(n,c+1))&&((l=e.document.createRange()).setStart(t,o),l.setEnd(t,o+n.length),r=e.cfiFromRange(l),s=t.textContent.length<150?t.textContent:"..."+(s=t.textContent.substring(o-75,o+75))+"...",i.push({cfi:r,excerpt:s})),c=o}(t)})),i}search(t,e=5){if(void 0===document.createTreeWalker)return this.find(t);let i=[];const n=this,r=t.toLowerCase(),o=function(t){const e=t.reduce((t,e)=>t+e.textContent,"").toLowerCase().indexOf(r);if(-1!=e){const o=0,s=e+r.length;let a=0,l=0;if(e<t[o].length){let r;for(;a<t.length-1&&(l+=t[a].length,!(s<=l));)a+=1;let c=t[o],h=t[a],u=n.document.createRange();u.setStart(c,e);let d=t.slice(0,a).reduce((t,e)=>t+e.textContent.length,0);u.setEnd(h,d>s?s:s-d),r=n.cfiFromRange(u);let f=t.slice(0,a+1).reduce((t,e)=>t+e.textContent,"");f.length>150&&(f=f.substring(e-75,e+75),f="..."+f+"..."),i.push({cfi:r,excerpt:f})}}},s=document.createTreeWalker(n.document,NodeFilter.SHOW_TEXT,null,!1);let a,l=[];for(;a=s.nextNode();)l.push(a),l.length==e&&(o(l.slice(0,e)),l=l.slice(1,e));return l.length>0&&o(l),i}reconcileLayoutSettings(t){var e={layout:t.layout,spread:t.spread,orientation:t.orientation};return this.properties.forEach((function(t){var i,n,r=t.replace("rendition:",""),o=r.indexOf("-");-1!=o&&(i=r.slice(0,o),n=r.slice(o+1),e[i]=n)})),e}cfiFromRange(t){return new l.a(t,this.cfiBase).toString()}cfiFromElement(t){return new l.a(t,this.cfiBase).toString()}unload(){this.document=void 0,this.contents=void 0,this.output=void 0}destroy(){this.unload(),this.hooks.serialize.clear(),this.hooks.content.clear(),this.hooks=void 0,this.idref=void 0,this.linear=void 0,this.properties=void 0,this.index=void 0,this.href=void 0,this.url=void 0,this.next=void 0,this.prev=void 0,this.cfiBase=void 0}},p=i(21),g=i(1);class m{constructor(t,e,i){this.spine=t,this.request=e,this.pause=i||100,this.q=new p.a(this),this.epubcfi=new l.a,this._locations=[],this._locationsWords=[],this.total=0,this.break=150,this._current=0,this._wordCounter=0,this.currentLocation="",this._currentCfi="",this.processingTimeout=void 0}generate(t){return t&&(this.break=t),this.q.pause(),this.spine.each(function(t){t.linear&&this.q.enqueue(this.process.bind(this),t)}.bind(this)),this.q.run().then(function(){return this.total=this._locations.length-1,this._currentCfi&&(this.currentLocation=this._currentCfi),this._locations}.bind(this))}createRange(){return{startContainer:void 0,startOffset:void 0,endContainer:void 0,endOffset:void 0}}process(t){return t.load(this.request).then(function(e){var i=new o.defer,n=this.parse(e,t.cfiBase);return this._locations=this._locations.concat(n),t.unload(),this.processingTimeout=setTimeout(()=>i.resolve(n),this.pause),i.promise}.bind(this))}parse(t,e,i){var n,r,s=[],a=t.ownerDocument,c=Object(o.qs)(a,"body"),h=0,u=i||this.break;if(Object(o.sprint)(c,function(t){var i,o=t.length,a=0;if(0===t.textContent.trim().length)return!1;for(0==h&&((n=this.createRange()).startContainer=t,n.startOffset=0),(i=u-h)>o&&(h+=o,a=o);a<o;)if(i=u-h,0===h&&(a+=1,(n=this.createRange()).startContainer=t,n.startOffset=a),a+i>=o)h+=o-a,a=o;else{a+=i,n.endContainer=t,n.endOffset=a;let r=new l.a(n,e).toString();s.push(r),h=0}r=t}.bind(this)),n&&n.startContainer&&r){n.endContainer=r,n.endOffset=r.length;let t=new l.a(n,e).toString();s.push(t),h=0}return s}generateFromWords(t,e,i){var n=t?new l.a(t):void 0;return this.q.pause(),this._locationsWords=[],this._wordCounter=0,this.spine.each(function(t){t.linear&&(n?t.index>=n.spinePos&&this.q.enqueue(this.processWords.bind(this),t,e,n,i):this.q.enqueue(this.processWords.bind(this),t,e,n,i))}.bind(this)),this.q.run().then(function(){return this._currentCfi&&(this.currentLocation=this._currentCfi),this._locationsWords}.bind(this))}processWords(t,e,i,n){return n&&this._locationsWords.length>=n?Promise.resolve():t.load(this.request).then(function(r){var s=new o.defer,a=this.parseWords(r,t,e,i),l=n-this._locationsWords.length;return this._locationsWords=this._locationsWords.concat(a.length>=n?a.slice(0,l):a),t.unload(),this.processingTimeout=setTimeout(()=>s.resolve(a),this.pause),s.promise}.bind(this))}countWords(t){return(t=(t=(t=t.replace(/(^\s*)|(\s*$)/gi,"")).replace(/[ ]{2,}/gi," ")).replace(/\n /,"\n")).split(" ").length}parseWords(t,e,i,n){var r,s=e.cfiBase,a=[],c=t.ownerDocument,h=Object(o.qs)(c,"body"),u=i,d=!n||n.spinePos!==e.index;return n&&e.index===n.spinePos&&(r=n.findNode(n.range?n.path.steps.concat(n.start.steps):n.path.steps,t.ownerDocument)),Object(o.sprint)(h,function(t){if(!d){if(t!==r)return!1;d=!0}if(t.textContent.length<10&&0===t.textContent.trim().length)return!1;var e,i=this.countWords(t.textContent),n=0;if(0===i)return!1;for((e=u-this._wordCounter)>i&&(this._wordCounter+=i,n=i);n<i;)if(n+(e=u-this._wordCounter)>=i)this._wordCounter+=i-n,n=i;else{n+=e;let i=new l.a(t,s);a.push({cfi:i.toString(),wordCount:this._wordCounter}),this._wordCounter=0}}.bind(this)),a}locationFromCfi(t){let e;return l.a.prototype.isCfiString(t)&&(t=new l.a(t)),0===this._locations.length?-1:(e=Object(o.locationOf)(t,this._locations,this.epubcfi.compare),e>this.total?this.total:e)}percentageFromCfi(t){if(0===this._locations.length)return null;var e=this.locationFromCfi(t);return this.percentageFromLocation(e)}percentageFromLocation(t){return t&&this.total?t/this.total:0}cfiFromLocation(t){var e=-1;return"number"!=typeof t&&(t=parseInt(t)),t>=0&&t<this._locations.length&&(e=this._locations[t]),e}cfiFromPercentage(t){let e;if(t>1&&console.warn("Normalize cfiFromPercentage value to between 0 - 1"),t>=1){let t=new l.a(this._locations[this.total]);return t.collapse(),t.toString()}return e=Math.ceil(this.total*t),this.cfiFromLocation(e)}load(t){return this._locations="string"==typeof t?JSON.parse(t):t,this.total=this._locations.length-1,this._locations}save(){return JSON.stringify(this._locations)}getCurrent(){return this._current}setCurrent(t){var e;if("string"==typeof t)this._currentCfi=t;else{if("number"!=typeof t)return;this._current=t}0!==this._locations.length&&("string"==typeof t?(e=this.locationFromCfi(t),this._current=e):e=t,this.emit(g.c.LOCATIONS.CHANGED,{percentage:this.percentageFromLocation(e)}))}get currentLocation(){return this._current}set currentLocation(t){this.setCurrent(t)}length(){return this._locations.length}destroy(){this.spine=void 0,this.request=void 0,this.pause=void 0,this.q.stop(),this.q=void 0,this.epubcfi=void 0,this._locations=void 0,this.total=void 0,this.break=void 0,this._current=void 0,this.currentLocation=void 0,this._currentCfi=void 0,clearTimeout(this.processingTimeout)}}r()(m.prototype);var v=m,y=i(9),b=i.n(y),w=class{constructor(t){this.manifest={},this.navPath="",this.ncxPath="",this.coverPath="",this.spineNodeIndex=0,this.spine=[],this.metadata={},t&&this.parse(t)}parse(t){var e,i,n;if(!t)throw new Error("Package File Not Found");if(!(e=Object(o.qs)(t,"metadata")))throw new Error("No Metadata Found");if(!(i=Object(o.qs)(t,"manifest")))throw new Error("No Manifest Found");if(!(n=Object(o.qs)(t,"spine")))throw new Error("No Spine Found");return this.manifest=this.parseManifest(i),this.navPath=this.findNavPath(i),this.ncxPath=this.findNcxPath(i,n),this.coverPath=this.findCoverPath(t),this.spineNodeIndex=Object(o.indexOfElementNode)(n),this.spine=this.parseSpine(n,this.manifest),this.uniqueIdentifier=this.findUniqueIdentifier(t),this.metadata=this.parseMetadata(e),this.metadata.direction=n.getAttribute("page-progression-direction"),{metadata:this.metadata,spine:this.spine,manifest:this.manifest,navPath:this.navPath,ncxPath:this.ncxPath,coverPath:this.coverPath,spineNodeIndex:this.spineNodeIndex}}parseMetadata(t){var e={};return e.title=this.getElementText(t,"title"),e.creator=this.getElementText(t,"creator"),e.description=this.getElementText(t,"description"),e.pubdate=this.getElementText(t,"date"),e.publisher=this.getElementText(t,"publisher"),e.identifier=this.getElementText(t,"identifier"),e.language=this.getElementText(t,"language"),e.rights=this.getElementText(t,"rights"),e.modified_date=this.getPropertyText(t,"dcterms:modified"),e.layout=this.getPropertyText(t,"rendition:layout"),e.orientation=this.getPropertyText(t,"rendition:orientation"),e.flow=this.getPropertyText(t,"rendition:flow"),e.viewport=this.getPropertyText(t,"rendition:viewport"),e.media_active_class=this.getPropertyText(t,"media:active-class"),e.spread=this.getPropertyText(t,"rendition:spread"),e}parseManifest(t){var e={},i=Object(o.qsa)(t,"item");return Array.prototype.slice.call(i).forEach((function(t){var i=t.getAttribute("id"),n=t.getAttribute("href")||"",r=t.getAttribute("media-type")||"",o=t.getAttribute("media-overlay")||"",s=t.getAttribute("properties")||"";e[i]={href:n,type:r,overlay:o,properties:s.length?s.split(" "):[]}})),e}parseSpine(t,e){var i=[],n=Object(o.qsa)(t,"itemref");return Array.prototype.slice.call(n).forEach((function(t,e){var n=t.getAttribute("idref"),r=t.getAttribute("properties")||"",o=r.length?r.split(" "):[],s={idref:n,linear:t.getAttribute("linear")||"yes",properties:o,index:e};i.push(s)})),i}findUniqueIdentifier(t){var e=t.documentElement.getAttribute("unique-identifier");if(!e)return"";var i=t.getElementById(e);return i&&"identifier"===i.localName&&"http://purl.org/dc/elements/1.1/"===i.namespaceURI&&i.childNodes.length>0?i.childNodes[0].nodeValue.trim():""}findNavPath(t){var e=Object(o.qsp)(t,"item",{properties:"nav"});return!!e&&e.getAttribute("href")}findNcxPath(t,e){var i,n=Object(o.qsp)(t,"item",{"media-type":"application/x-dtbncx+xml"});return n||(i=e.getAttribute("toc"))&&(n=t.querySelector("#"+i)),!!n&&n.getAttribute("href")}findCoverPath(t){Object(o.qs)(t,"package").getAttribute("version");var e=Object(o.qsp)(t,"item",{properties:"cover-image"});if(e)return e.getAttribute("href");var i=Object(o.qsp)(t,"meta",{name:"cover"});if(i){var n=i.getAttribute("content"),r=t.getElementById(n);return r?r.getAttribute("href"):""}return!1}getElementText(t,e){var i,n=t.getElementsByTagNameNS("http://purl.org/dc/elements/1.1/",e);return n&&0!==n.length&&(i=n[0]).childNodes.length?i.childNodes[0].nodeValue:""}getPropertyText(t,e){var i=Object(o.qsp)(t,"meta",{property:e});return i&&i.childNodes.length?i.childNodes[0].nodeValue:""}load(t){this.metadata=t.metadata;let e=t.readingOrder||t.spine;return this.spine=e.map((t,e)=>(t.index=e,t.linear=t.linear||"yes",t)),t.resources.forEach((t,e)=>{this.manifest[e]=t,t.rel&&"cover"===t.rel[0]&&(this.coverPath=t.href)}),this.spineNodeIndex=0,this.toc=t.toc.map((t,e)=>(t.label=t.title,t)),{metadata:this.metadata,spine:this.spine,manifest:this.manifest,navPath:this.navPath,ncxPath:this.ncxPath,coverPath:this.coverPath,spineNodeIndex:this.spineNodeIndex,toc:this.toc}}destroy(){this.manifest=void 0,this.navPath=void 0,this.ncxPath=void 0,this.coverPath=void 0,this.spineNodeIndex=void 0,this.spine=void 0,this.metadata=void 0}},x=class{constructor(t){this.toc=[],this.tocByHref={},this.tocById={},this.landmarks=[],this.landmarksByType={},this.length=0,t&&this.parse(t)}parse(t){let e,i,n=t.nodeType;n&&(e=Object(o.qs)(t,"html"),i=Object(o.qs)(t,"ncx")),n?e?(this.toc=this.parseNav(t),this.landmarks=this.parseLandmarks(t)):i&&(this.toc=this.parseNcx(t)):this.toc=this.load(t),this.length=0,this.unpack(this.toc)}unpack(t){for(var e,i=0;i<t.length;i++)(e=t[i]).href&&(this.tocByHref[e.href]=i),e.id&&(this.tocById[e.id]=i),this.length++,e.subitems.length&&this.unpack(e.subitems)}get(t){var e;return t?(0===t.indexOf("#")?e=this.tocById[t.substring(1)]:t in this.tocByHref&&(e=this.tocByHref[t]),this.getByIndex(t,e,this.toc)):this.toc}getByIndex(t,e,i){if(0===i.length)return;const n=i[e];if(!n||t!==n.id&&t!==n.href){let n;for(let r=0;r<i.length&&(n=this.getByIndex(t,e,i[r].subitems),!n);++r);return n}return n}landmark(t){var e;return t?(e=this.landmarksByType[t],this.landmarks[e]):this.landmarks}parseNav(t){var e,i,n=Object(o.querySelectorByType)(t,"nav","toc"),r=n?Object(o.qsa)(n,"li"):[],s=r.length,a={},l=[];if(!r||0===s)return l;for(e=0;e<s;++e)(i=this.navItem(r[e]))&&(a[i.id]=i,i.parent?a[i.parent].subitems.push(i):l.push(i));return l}navItem(t){let e=t.getAttribute("id")||void 0,i=Object(o.filterChildren)(t,"a",!0);if(!i)return;let n=i.getAttribute("href")||"";e||(e=n);let r,s=i.textContent||"",a=Object(o.getParentByTagName)(t,"li");if(a&&(r=a.getAttribute("id"),!r)){const t=Object(o.filterChildren)(a,"a",!0);r=t&&t.getAttribute("href")}for(;!r&&a;)if(a=Object(o.getParentByTagName)(a,"li"),a&&(r=a.getAttribute("id"),!r)){const t=Object(o.filterChildren)(a,"a",!0);r=t&&t.getAttribute("href")}return{id:e,href:n,label:s,subitems:[],parent:r}}parseLandmarks(t){var e,i,n=Object(o.querySelectorByType)(t,"nav","landmarks"),r=n?Object(o.qsa)(n,"li"):[],s=r.length,a=[];if(!r||0===s)return a;for(e=0;e<s;++e)(i=this.landmarkItem(r[e]))&&(a.push(i),this.landmarksByType[i.type]=e);return a}landmarkItem(t){let e=Object(o.filterChildren)(t,"a",!0);if(!e)return;let i=e.getAttributeNS("http://www.idpf.org/2007/ops","type")||void 0;return{href:e.getAttribute("href")||"",label:e.textContent||"",type:i}}parseNcx(t){var e,i,n=Object(o.qsa)(t,"navPoint"),r=n.length,s={},a=[];if(!n||0===r)return a;for(e=0;e<r;++e)s[(i=this.ncxItem(n[e])).id]=i,i.parent?s[i.parent].subitems.push(i):a.push(i);return a}ncxItem(t){var e,i=t.getAttribute("id")||!1,n=Object(o.qs)(t,"content").getAttribute("src"),r=Object(o.qs)(t,"navLabel"),s=r.textContent?r.textContent:"",a=t.parentNode;return!a||"navPoint"!==a.nodeName&&"navPoint"!==a.nodeName.split(":").slice(-1)[0]||(e=a.getAttribute("id")),{id:i,href:n,label:s,subitems:[],parent:e}}load(t){return t.map(t=>(t.label=t.title,t.subitems=t.children?this.load(t.children):[],t))}forEach(t){return this.toc.forEach(t)}},_={application:{ecmascript:["es","ecma"],javascript:"js",ogg:"ogx",pdf:"pdf",postscript:["ps","ai","eps","epsi","epsf","eps2","eps3"],"rdf+xml":"rdf",smil:["smi","smil"],"xhtml+xml":["xhtml","xht"],xml:["xml","xsl","xsd","opf","ncx"],zip:"zip","x-httpd-eruby":"rhtml","x-latex":"latex","x-maker":["frm","maker","frame","fm","fb","book","fbdoc"],"x-object":"o","x-shockwave-flash":["swf","swfl"],"x-silverlight":"scr","epub+zip":"epub","font-tdpfr":"pfr","inkml+xml":["ink","inkml"],json:"json","jsonml+json":"jsonml","mathml+xml":"mathml","metalink+xml":"metalink",mp4:"mp4s","omdoc+xml":"omdoc",oxps:"oxps","vnd.amazon.ebook":"azw",widget:"wgt","x-dtbook+xml":"dtb","x-dtbresource+xml":"res","x-font-bdf":"bdf","x-font-ghostscript":"gsf","x-font-linux-psf":"psf","x-font-otf":"otf","x-font-pcf":"pcf","x-font-snf":"snf","x-font-ttf":["ttf","ttc"],"x-font-type1":["pfa","pfb","pfm","afm"],"x-font-woff":"woff","x-mobipocket-ebook":["prc","mobi"],"x-mspublisher":"pub","x-nzb":"nzb","x-tgif":"obj","xaml+xml":"xaml","xml-dtd":"dtd","xproc+xml":"xpl","xslt+xml":"xslt","internet-property-stream":"acx","x-compress":"z","x-compressed":"tgz","x-gzip":"gz"},audio:{flac:"flac",midi:["mid","midi","kar","rmi"],mpeg:["mpga","mpega","mp2","mp3","m4a","mp2a","m2a","m3a"],mpegurl:"m3u",ogg:["oga","ogg","spx"],"x-aiff":["aif","aiff","aifc"],"x-ms-wma":"wma","x-wav":"wav",adpcm:"adp",mp4:"mp4a",webm:"weba","x-aac":"aac","x-caf":"caf","x-matroska":"mka","x-pn-realaudio-plugin":"rmp",xm:"xm",mid:["mid","rmi"]},image:{gif:"gif",ief:"ief",jpeg:["jpeg","jpg","jpe"],pcx:"pcx",png:"png","svg+xml":["svg","svgz"],tiff:["tiff","tif"],"x-icon":"ico",bmp:"bmp",webp:"webp","x-pict":["pic","pct"],"x-tga":"tga","cis-cod":"cod"},text:{"cache-manifest":["manifest","appcache"],css:"css",csv:"csv",html:["html","htm","shtml","stm"],mathml:"mml",plain:["txt","text","brf","conf","def","list","log","in","bas"],richtext:"rtx","tab-separated-values":"tsv","x-bibtex":"bib"},video:{mpeg:["mpeg","mpg","mpe","m1v","m2v","mp2","mpa","mpv2"],mp4:["mp4","mp4v","mpg4"],quicktime:["qt","mov"],ogg:"ogv","vnd.mpegurl":["mxu","m4u"],"x-flv":"flv","x-la-asf":["lsf","lsx"],"x-mng":"mng","x-ms-asf":["asf","asx","asr"],"x-ms-wm":"wm","x-ms-wmv":"wmv","x-ms-wmx":"wmx","x-ms-wvx":"wvx","x-msvideo":"avi","x-sgi-movie":"movie","x-matroska":["mpv","mkv","mk3d","mks"],"3gpp2":"3g2",h261:"h261",h263:"h263",h264:"h264",jpeg:"jpgv",jpm:["jpm","jpgm"],mj2:["mj2","mjp2"],"vnd.ms-playready.media.pyv":"pyv","vnd.uvvu.mp4":["uvu","uvvu"],"vnd.vivo":"viv",webm:"webm","x-f4v":"f4v","x-m4v":"m4v","x-ms-vob":"vob","x-smv":"smv"}},k=function(){var t,e,i,n,r={};for(t in _)if(_.hasOwnProperty(t))for(e in _[t])if(_[t].hasOwnProperty(e))if("string"==typeof(i=_[t][e]))r[i]=t+"/"+e;else for(n=0;n<i.length;n++)r[i[n]]=t+"/"+e;return r}(),E=function(t){return t&&k[t.split(".").pop().toLowerCase()]||"text/plain"},S=class{constructor(t){this.pages=[],this.locations=[],this.epubcfi=new l.a,this.firstPage=0,this.lastPage=0,this.totalPages=0,this.toc=void 0,this.ncx=void 0,t&&(this.pageList=this.parse(t)),this.pageList&&this.pageList.length&&this.process(this.pageList)}parse(t){var e=Object(o.qs)(t,"html"),i=Object(o.qs)(t,"ncx");return e?this.parseNav(t):i?this.parseNcx(t):void 0}parseNav(t){var e,i,n=Object(o.querySelectorByType)(t,"nav","page-list"),r=n?Object(o.qsa)(n,"li"):[],s=r.length,a=[];if(!r||0===s)return a;for(e=0;e<s;++e)i=this.item(r[e]),a.push(i);return a}parseNcx(t){var e,i,n,r,s=[],a=0;if(!(i=Object(o.qs)(t,"pageList")))return s;if(r=(n=Object(o.qsa)(i,"pageTarget")).length,!n||0===n.length)return s;for(a=0;a<r;++a)e=this.ncxItem(n[a]),s.push(e);return s}ncxItem(t){var e=Object(o.qs)(t,"navLabel"),i=Object(o.qs)(e,"text").textContent;return{href:Object(o.qs)(t,"content").getAttribute("src"),page:parseInt(i,10)}}item(t){var e,i,n=Object(o.qs)(t,"a"),r=n.getAttribute("href")||"",s=n.textContent||"",a=parseInt(s);return-1!=r.indexOf("epubcfi")?(i=(e=r.split("#"))[0],{cfi:e.length>1&&e[1],href:r,packageUrl:i,page:a}):{href:r,page:a}}process(t){t.forEach((function(t){this.pages.push(t.page),t.cfi&&this.locations.push(t.cfi)}),this),this.firstPage=parseInt(this.pages[0]),this.lastPage=parseInt(this.pages[this.pages.length-1]),this.totalPages=this.lastPage-this.firstPage}pageFromCfi(t){var e=-1;if(0===this.locations.length)return-1;var i=Object(o.indexOfSorted)(t,this.locations,this.epubcfi.compare);return-1!=i?e=this.pages[i]:void 0!==(e=(i=Object(o.locationOf)(t,this.locations,this.epubcfi.compare))-1>=0?this.pages[i-1]:this.pages[0])||(e=-1),e}cfiFromPage(t){var e=-1;"number"!=typeof t&&(t=parseInt(t));var i=this.pages.indexOf(t);return-1!=i&&(e=this.locations[i]),e}pageFromPercentage(t){return Math.round(this.totalPages*t)}percentageFromPage(t){var e=(t-this.firstPage)/this.totalPages;return Math.round(1e3*e)/1e3}percentageFromCfi(t){var e=this.pageFromCfi(t);return this.percentageFromPage(e)}destroy(){this.pages=void 0,this.locations=void 0,this.epubcfi=void 0,this.pageList=void 0,this.toc=void 0,this.ncx=void 0}},T=i(39),C=i(85),A=i.n(C),O=i(57),N=i.n(O);class I{constructor(t,e,i){this.urlCache={},this.storage=void 0,this.name=t,this.requester=e||u,this.resolver=i,this.online=!0,this.checkRequirements(),this.addListeners()}checkRequirements(){try{let t;void 0===N.a&&(t=N.a),this.storage=t.createInstance({name:this.name})}catch(t){throw new Error("localForage lib not loaded")}}addListeners(){this._status=this.status.bind(this),window.addEventListener("online",this._status),window.addEventListener("offline",this._status)}removeListeners(){window.removeEventListener("online",this._status),window.removeEventListener("offline",this._status),this._status=void 0}status(t){let e=navigator.onLine;this.online=e,e?this.emit("online",this):this.emit("offline",this)}add(t,e){let i=t.resources.map(t=>{let{href:i}=t,n=this.resolver(i),r=window.encodeURIComponent(n);return this.storage.getItem(r).then(t=>!t||e?this.requester(n,"binary").then(t=>this.storage.setItem(r,t)):t)});return Promise.all(i)}put(t,e,i){let n=window.encodeURIComponent(t);return this.storage.getItem(n).then(r=>r||this.requester(t,"binary",e,i).then(t=>this.storage.setItem(n,t)))}request(t,e,i,n){return this.online?this.requester(t,e,i,n).then(e=>(this.put(t),e)):this.retrieve(t,e)}retrieve(t,e){new o.defer;var i=new a.a(t);return e||(e=i.extension),("blob"==e?this.getBlob(t):this.getText(t)).then(i=>{var n,r=new o.defer;return i?(n=this.handleResponse(i,e),r.resolve(n)):r.reject({message:"File not found in storage: "+t,stack:(new Error).stack}),r.promise})}handleResponse(t,e){return"json"==e?JSON.parse(t):Object(o.isXml)(e)?Object(o.parse)(t,"text/xml"):"xhtml"==e?Object(o.parse)(t,"application/xhtml+xml"):"html"==e||"htm"==e?Object(o.parse)(t,"text/html"):t}getBlob(t,e){let i=window.encodeURIComponent(t);return this.storage.getItem(i).then((function(i){if(i)return e=e||E(t),new Blob([i],{type:e})}))}getText(t,e){let i=window.encodeURIComponent(t);return e=e||E(t),this.storage.getItem(i).then((function(t){var i,n=new o.defer,r=new FileReader;if(t)return i=new Blob([t],{type:e}),r.addEventListener("loadend",()=>{n.resolve(r.result)}),r.readAsText(i,e),n.promise}))}getBase64(t,e){let i=window.encodeURIComponent(t);return e=e||E(t),this.storage.getItem(i).then(t=>{var i,n=new o.defer,r=new FileReader;if(t)return i=new Blob([t],{type:e}),r.addEventListener("loadend",()=>{n.resolve(r.result)}),r.readAsDataURL(i,e),n.promise})}createUrl(t,e){var i,n,r=new o.defer,s=window.URL||window.webkitURL||window.mozURL,a=e&&e.base64;return t in this.urlCache?(r.resolve(this.urlCache[t]),r.promise):(a?(n=this.getBase64(t))&&n.then(function(e){this.urlCache[t]=e,r.resolve(e)}.bind(this)):(n=this.getBlob(t))&&n.then(function(e){i=s.createObjectURL(e),this.urlCache[t]=i,r.resolve(i)}.bind(this)),n||r.reject({message:"File not found in storage: "+t,stack:(new Error).stack}),r.promise)}revokeUrl(t){var e=window.URL||window.webkitURL||window.mozURL,i=this.urlCache[t];i&&e.revokeObjectURL(i)}destroy(){var t=window.URL||window.webkitURL||window.mozURL;for(let e in this.urlCache)t.revokeObjectURL(e);this.urlCache={},this.removeListeners()}}r()(I.prototype);var R=I,j=class{constructor(t){this.interactive="",this.fixedLayout="",this.openToSpread="",this.orientationLock="",t&&this.parse(t)}parse(t){if(!t)return this;const e=Object(o.qs)(t,"display_options");return e?(Object(o.qsa)(e,"option").forEach(t=>{let e="";switch(t.childNodes.length&&(e=t.childNodes[0].nodeValue),t.attributes.name.value){case"interactive":this.interactive=e;break;case"fixed-layout":this.fixedLayout=e;break;case"open-to-spread":this.openToSpread=e;break;case"orientation-lock":this.orientationLock=e}}),this):this}destroy(){this.interactive=void 0,this.fixedLayout=void 0,this.openToSpread=void 0,this.orientationLock=void 0}};const L="binary",z="base64",D="epub",B="json";class P{constructor(t,e){void 0===e&&"string"!=typeof t&&t instanceof Blob==0&&t instanceof ArrayBuffer==0&&(e=t,t=void 0),this.settings=Object(o.extend)(this.settings||{},{requestMethod:void 0,requestCredentials:void 0,requestHeaders:void 0,encoding:void 0,replacements:void 0,canonical:void 0,openAs:void 0,store:void 0}),Object(o.extend)(this.settings,e),this.opening=new o.defer,this.opened=this.opening.promise,this.isOpen=!1,this.loading={manifest:new o.defer,spine:new o.defer,metadata:new o.defer,cover:new o.defer,navigation:new o.defer,pageList:new o.defer,resources:new o.defer,displayOptions:new o.defer},this.loaded={manifest:this.loading.manifest.promise,spine:this.loading.spine.promise,metadata:this.loading.metadata.promise,cover:this.loading.cover.promise,navigation:this.loading.navigation.promise,pageList:this.loading.pageList.promise,resources:this.loading.resources.promise,displayOptions:this.loading.displayOptions.promise},this.ready=Promise.all([this.loaded.manifest,this.loaded.spine,this.loaded.metadata,this.loaded.cover,this.loaded.navigation,this.loaded.resources,this.loaded.displayOptions]),this.isRendered=!1,this.request=this.settings.requestMethod||u,this.spine=new class{constructor(){this.spineItems=[],this.spineByHref={},this.spineById={},this.hooks={},this.hooks.serialize=new c.a,this.hooks.content=new c.a,this.hooks.content.register(h.a),this.hooks.content.register(h.b),this.hooks.content.register(h.d),this.epubcfi=new l.a,this.loaded=!1,this.items=void 0,this.manifest=void 0,this.spineNodeIndex=void 0,this.baseUrl=void 0,this.length=void 0}unpack(t,e,i){this.items=t.spine,this.manifest=t.manifest,this.spineNodeIndex=t.spineNodeIndex,this.baseUrl=t.baseUrl||t.basePath||"",this.length=this.items.length,this.items.forEach((t,n)=>{var r,o=this.manifest[t.idref];t.index=n,t.cfiBase=this.epubcfi.generateChapterComponent(this.spineNodeIndex,t.index,t.idref),t.href&&(t.url=e(t.href,!0),t.canonical=i(t.href)),o&&(t.href=o.href,t.url=e(t.href,!0),t.canonical=i(t.href),o.properties.length&&t.properties.push.apply(t.properties,o.properties)),"yes"===t.linear?(t.prev=function(){let e=t.index;for(;e>0;){let t=this.get(e-1);if(t&&t.linear)return t;e-=1}}.bind(this),t.next=function(){let e=t.index;for(;e<this.spineItems.length-1;){let t=this.get(e+1);if(t&&t.linear)return t;e+=1}}.bind(this)):(t.prev=function(){},t.next=function(){}),r=new f(t,this.hooks),this.append(r)}),this.loaded=!0}get(t){var e=0;if(void 0===t)for(;e<this.spineItems.length;){let t=this.spineItems[e];if(t&&t.linear)break;e+=1}else this.epubcfi.isCfiString(t)?e=new l.a(t).spinePos:"number"==typeof t||!1===isNaN(t)?e=t:"string"==typeof t&&0===t.indexOf("#")?e=this.spineById[t.substring(1)]:"string"==typeof t&&(t=t.split("#")[0],e=this.spineByHref[t]||this.spineByHref[encodeURI(t)]);return this.spineItems[e]||null}append(t){var e=this.spineItems.length;return t.index=e,this.spineItems.push(t),this.spineByHref[decodeURI(t.href)]=e,this.spineByHref[encodeURI(t.href)]=e,this.spineByHref[t.href]=e,this.spineById[t.idref]=e,e}prepend(t){return this.spineByHref[t.href]=0,this.spineById[t.idref]=0,this.spineItems.forEach((function(t,e){t.index=e})),0}remove(t){var e=this.spineItems.indexOf(t);if(e>-1)return delete this.spineByHref[t.href],delete this.spineById[t.idref],this.spineItems.splice(e,1)}each(){return this.spineItems.forEach.apply(this.spineItems,arguments)}first(){let t=0;do{let e=this.get(t);if(e&&e.linear)return e;t+=1}while(t<this.spineItems.length)}last(){let t=this.spineItems.length-1;do{let e=this.get(t);if(e&&e.linear)return e;t-=1}while(t>=0)}destroy(){this.each(t=>t.destroy()),this.spineItems=void 0,this.spineByHref=void 0,this.spineById=void 0,this.hooks.serialize.clear(),this.hooks.content.clear(),this.hooks=void 0,this.epubcfi=void 0,this.loaded=!1,this.items=void 0,this.manifest=void 0,this.spineNodeIndex=void 0,this.baseUrl=void 0,this.length=void 0}},this.locations=new v(this.spine,this.load.bind(this)),this.navigation=void 0,this.pageList=void 0,this.url=void 0,this.path=void 0,this.archived=!1,this.archive=void 0,this.storage=void 0,this.resources=void 0,this.rendition=void 0,this.container=void 0,this.packaging=void 0,this.displayOptions=void 0,this.settings.store&&this.store(this.settings.store),t&&this.open(t,this.settings.openAs).catch(e=>{var i=new Error("Cannot load book at "+t);this.emit(g.c.BOOK.OPEN_FAILED,i)})}open(t,e){var i,n=e||this.determineType(t);return n===L?(this.archived=!0,this.url=new s.a("/",""),i=this.openEpub(t)):n===z?(this.archived=!0,this.url=new s.a("/",""),i=this.openEpub(t,n)):n===D?(this.archived=!0,this.url=new s.a("/",""),i=this.request(t,"binary",this.settings.requestCredentials,this.settings.requestHeaders).then(this.openEpub.bind(this))):"opf"==n?(this.url=new s.a(t),i=this.openPackaging(this.url.Path.toString())):n==B?(this.url=new s.a(t),i=this.openManifest(this.url.Path.toString())):(this.url=new s.a(t),i=this.openContainer("META-INF/container.xml").then(this.openPackaging.bind(this))),i}openEpub(t,e){return this.unarchive(t,e||this.settings.encoding).then(()=>this.openContainer("META-INF/container.xml")).then(t=>this.openPackaging(t))}openContainer(t){return this.load(t).then(t=>(this.container=new class{constructor(t){this.packagePath="",this.directory="",this.encoding="",t&&this.parse(t)}parse(t){var e;if(!t)throw new Error("Container File Not Found");if(!(e=Object(o.qs)(t,"rootfile")))throw new Error("No RootFile Found");this.packagePath=e.getAttribute("full-path"),this.directory=b.a.dirname(this.packagePath),this.encoding=t.xmlEncoding}destroy(){this.packagePath=void 0,this.directory=void 0,this.encoding=void 0}}(t),this.resolve(this.container.packagePath)))}openPackaging(t){return this.path=new a.a(t),this.load(t).then(t=>(this.packaging=new w(t),this.unpack(this.packaging)))}openManifest(t){return this.path=new a.a(t),this.load(t).then(t=>(this.packaging=new w,this.packaging.load(t),this.unpack(this.packaging)))}load(t){var e=this.resolve(t);return this.archived?this.archive.request(e):this.request(e,null,this.settings.requestCredentials,this.settings.requestHeaders)}resolve(t,e){if(t){var i=t;return t.indexOf("://")>-1?t:(this.path&&(i=this.path.resolve(t)),0!=e&&this.url&&(i=this.url.resolve(i)),i)}}canonical(t){return t?this.settings.canonical?this.settings.canonical(t):this.resolve(t,!0):""}determineType(t){var e;return"base64"===this.settings.encoding?z:"string"!=typeof t?L:((e=new s.a(t).path().extension)&&(e=e.replace(/\?.*$/,"")),e?"epub"===e?D:"opf"===e?"opf":"json"===e?B:void 0:"directory")}unpack(t){this.package=t,""===this.packaging.metadata.layout?this.load(this.url.resolve("META-INF/com.apple.ibooks.display-options.xml")).then(t=>{this.displayOptions=new j(t),this.loading.displayOptions.resolve(this.displayOptions)}).catch(t=>{this.displayOptions=new j,this.loading.displayOptions.resolve(this.displayOptions)}):(this.displayOptions=new j,this.loading.displayOptions.resolve(this.displayOptions)),this.spine.unpack(this.packaging,this.resolve.bind(this),this.canonical.bind(this)),this.resources=new class{constructor(t,e){this.settings={replacements:e&&e.replacements||"base64",archive:e&&e.archive,resolver:e&&e.resolver,request:e&&e.request},this.process(t)}process(t){this.manifest=t,this.resources=Object.keys(t).map((function(e){return t[e]})),this.replacementUrls=[],this.html=[],this.assets=[],this.css=[],this.urls=[],this.cssUrls=[],this.split(),this.splitUrls()}split(){this.html=this.resources.filter((function(t){if("application/xhtml+xml"===t.type||"text/html"===t.type)return!0})),this.assets=this.resources.filter((function(t){if("application/xhtml+xml"!==t.type&&"text/html"!==t.type)return!0})),this.css=this.resources.filter((function(t){if("text/css"===t.type)return!0}))}splitUrls(){this.urls=this.assets.map(function(t){return t.href}.bind(this)),this.cssUrls=this.css.map((function(t){return t.href}))}createUrl(t){var e=new s.a(t),i=E(e.filename);return this.settings.archive?this.settings.archive.createUrl(t,{base64:"base64"===this.settings.replacements}):"base64"===this.settings.replacements?this.settings.request(t,"blob").then(t=>Object(o.blob2base64)(t)).then(t=>Object(o.createBase64Url)(t,i)):this.settings.request(t,"blob").then(t=>Object(o.createBlobUrl)(t,i))}replacements(){if("none"===this.settings.replacements)return new Promise(function(t){t(this.urls)}.bind(this));var t=this.urls.map(t=>{var e=this.settings.resolver(t);return this.createUrl(e).catch(t=>(console.error(t),null))});return Promise.all(t).then(t=>(this.replacementUrls=t.filter(t=>"string"==typeof t),t))}replaceCss(t,e){var i=[];return t=t||this.settings.archive,e=e||this.settings.resolver,this.cssUrls.forEach(function(n){var r=this.createCssFile(n,t,e).then(function(t){var e=this.urls.indexOf(n);e>-1&&(this.replacementUrls[e]=t)}.bind(this));i.push(r)}.bind(this)),Promise.all(i)}createCssFile(t){if(b.a.isAbsolute(t))return new Promise((function(t){t()}));var e,i=this.settings.resolver(t);e=this.settings.archive?this.settings.archive.getText(i):this.settings.request(i,"text");var n=this.urls.map(t=>{var e=this.settings.resolver(t);return new a.a(i).relative(e)});return e?e.then(t=>(t=Object(h.e)(t,n,this.replacementUrls),"base64"===this.settings.replacements?Object(o.createBase64Url)(t,"text/css"):Object(o.createBlobUrl)(t,"text/css")),t=>new Promise((function(t){t()}))):new Promise((function(t){t()}))}relativeTo(t,e){return e=e||this.settings.resolver,this.urls.map(function(i){var n=e(i);return new a.a(t).relative(n)}.bind(this))}get(t){var e=this.urls.indexOf(t);if(-1!==e)return this.replacementUrls.length?new Promise(function(t,i){t(this.replacementUrls[e])}.bind(this)):this.createUrl(t)}substitute(t,e){var i;return i=e?this.relativeTo(e):this.urls,Object(h.e)(t,i,this.replacementUrls)}destroy(){this.settings=void 0,this.manifest=void 0,this.resources=void 0,this.replacementUrls=void 0,this.html=void 0,this.assets=void 0,this.css=void 0,this.urls=void 0,this.cssUrls=void 0}}(this.packaging.manifest,{archive:this.archive,resolver:this.resolve.bind(this),request:this.request.bind(this),replacements:this.settings.replacements||(this.archived?"blobUrl":"base64")}),this.loadNavigation(this.packaging).then(()=>{this.loading.navigation.resolve(this.navigation)}),this.packaging.coverPath&&(this.cover=this.resolve(this.packaging.coverPath)),this.loading.manifest.resolve(this.packaging.manifest),this.loading.metadata.resolve(this.packaging.metadata),this.loading.spine.resolve(this.spine),this.loading.cover.resolve(this.cover),this.loading.resources.resolve(this.resources),this.loading.pageList.resolve(this.pageList),this.isOpen=!0,this.archived||this.settings.replacements&&"none"!=this.settings.replacements?this.replacements().then(()=>{this.loaded.displayOptions.then(()=>{this.opening.resolve(this)})}).catch(t=>{console.error(t)}):this.loaded.displayOptions.then(()=>{this.opening.resolve(this)})}loadNavigation(t){let e=t.navPath||t.ncxPath,i=t.toc;return i?new Promise((e,n)=>{this.navigation=new x(i),t.pageList&&(this.pageList=new S(t.pageList)),e(this.navigation)}):e?this.load(e,"xml").then(t=>(this.navigation=new x(t),this.pageList=new S(t),this.navigation)):new Promise((t,e)=>{this.navigation=new x,this.pageList=new S,t(this.navigation)})}section(t){return this.spine.get(t)}renderTo(t,e){return this.rendition=new T.a(this,e),this.rendition.attachTo(t),this.rendition}setRequestCredentials(t){this.settings.requestCredentials=t}setRequestHeaders(t){this.settings.requestHeaders=t}unarchive(t,e){return this.archive=new class{constructor(){this.zip=void 0,this.urlCache={},this.checkRequirements()}checkRequirements(){try{this.zip=new A.a}catch(t){throw new Error("JSZip lib not loaded")}}open(t,e){return this.zip.loadAsync(t,{base64:e})}openUrl(t,e){return u(t,"binary").then(function(t){return this.zip.loadAsync(t,{base64:e})}.bind(this))}request(t,e){var i,n=new o.defer,r=new a.a(t);return e||(e=r.extension),(i="blob"==e?this.getBlob(t):this.getText(t))?i.then(function(t){let i=this.handleResponse(t,e);n.resolve(i)}.bind(this)):n.reject({message:"File not found in the epub: "+t,stack:(new Error).stack}),n.promise}handleResponse(t,e){return"json"==e?JSON.parse(t):Object(o.isXml)(e)?Object(o.parse)(t,"text/xml"):"xhtml"==e?Object(o.parse)(t,"application/xhtml+xml"):"html"==e||"htm"==e?Object(o.parse)(t,"text/html"):t}getBlob(t,e){var i=window.decodeURIComponent(t.substr(1)),n=this.zip.file(i);if(n)return e=e||E(n.name),n.async("uint8array").then((function(t){return new Blob([t],{type:e})}))}getText(t,e){var i=window.decodeURIComponent(t.substr(1)),n=this.zip.file(i);if(n)return n.async("string").then((function(t){return t}))}getBase64(t,e){var i=window.decodeURIComponent(t.substr(1)),n=this.zip.file(i);if(n)return e=e||E(n.name),n.async("base64").then((function(t){return"data:"+e+";base64,"+t}))}createUrl(t,e){var i,n,r=new o.defer,s=window.URL||window.webkitURL||window.mozURL,a=e&&e.base64;return t in this.urlCache?(r.resolve(this.urlCache[t]),r.promise):(a?(n=this.getBase64(t))&&n.then(function(e){this.urlCache[t]=e,r.resolve(e)}.bind(this)):(n=this.getBlob(t))&&n.then(function(e){i=s.createObjectURL(e),this.urlCache[t]=i,r.resolve(i)}.bind(this)),n||r.reject({message:"File not found in the epub: "+t,stack:(new Error).stack}),r.promise)}revokeUrl(t){var e=window.URL||window.webkitURL||window.mozURL,i=this.urlCache[t];i&&e.revokeObjectURL(i)}destroy(){var t=window.URL||window.webkitURL||window.mozURL;for(let e in this.urlCache)t.revokeObjectURL(e);this.zip=void 0,this.urlCache={}}},this.archive.open(t,e)}store(t){let e=this.settings.replacements&&"none"!==this.settings.replacements,i=this.url,n=this.settings.requestMethod||u.bind(this);return this.storage=new R(t,n,this.resolve.bind(this)),this.request=this.storage.request.bind(this.storage),this.opened.then(()=>{this.archived&&(this.storage.requester=this.archive.request.bind(this.archive));let t=(t,e)=>{e.output=this.resources.substitute(t,e.url)};this.resources.settings.replacements=e||"blobUrl",this.resources.replacements().then(()=>this.resources.replaceCss()),this.storage.on("offline",()=>{this.url=new s.a("/",""),this.spine.hooks.serialize.register(t)}),this.storage.on("online",()=>{this.url=i,this.spine.hooks.serialize.deregister(t)})}),this.storage}coverUrl(){return this.loaded.cover.then(()=>this.cover?this.archived?this.archive.createUrl(this.cover):this.cover:null)}replacements(){return this.spine.hooks.serialize.register((t,e)=>{e.output=this.resources.substitute(t,e.url)}),this.resources.replacements().then(()=>this.resources.replaceCss())}getRange(t){var e=new l.a(t),i=this.spine.get(e.spinePos),n=this.load.bind(this);return i?i.load(n).then((function(t){return e.toRange(i.document)})):new Promise((t,e)=>{e("CFI could not be found")})}key(t){var e=t||this.packaging.metadata.identifier||this.url.filename;return`epubjs:${g.b}:${e}`}destroy(){this.opened=void 0,this.loading=void 0,this.loaded=void 0,this.ready=void 0,this.isOpen=!1,this.isRendered=!1,this.spine&&this.spine.destroy(),this.locations&&this.locations.destroy(),this.pageList&&this.pageList.destroy(),this.archive&&this.archive.destroy(),this.resources&&this.resources.destroy(),this.container&&this.container.destroy(),this.packaging&&this.packaging.destroy(),this.rendition&&this.rendition.destroy(),this.displayOptions&&this.displayOptions.destroy(),this.spine=void 0,this.locations=void 0,this.pageList=void 0,this.archive=void 0,this.resources=void 0,this.container=void 0,this.packaging=void 0,this.rendition=void 0,this.navigation=void 0,this.url=void 0,this.path=void 0,this.archived=!1}}r()(P.prototype),e.a=P},function(t,e,i){var n=i(16),r=i(60),o=i(25),s=i(32),a=i(41),l=i(10),c=i(62),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=s(t),e=a(e,!0),c)try{return h(t,e)}catch(t){}if(l(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,i){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},function(t,e,i){var n=i(12),r=i(40),o="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},function(t,e,i){var n=i(16),r=i(12),o=i(63);t.exports=!n&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,i){var n=i(7),r=i(17),o=n.document,s=r(o)&&r(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},function(t,e,i){var n=i(65),r=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return r.call(t)}),t.exports=n.inspectSource},function(t,e,i){var n=i(7),r=i(42),o=n["__core-js_shared__"]||r("__core-js_shared__",{});t.exports=o},function(t,e,i){var n=i(34),r=i(65);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++i+n).toString(36)}},function(t,e,i){var n=i(10),r=i(32),o=i(94).indexOf,s=i(44);t.exports=function(t,e){var i,a=r(t),l=0,c=[];for(i in a)!n(s,i)&&n(a,i)&&c.push(i);for(;e.length>l;)n(a,i=e[l++])&&(~o(c,i)||c.push(i));return c}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,i){var n=i(12);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(t,e,i){"use strict";var n=i(32),r=i(103),o=i(27),s=i(26),a=i(74),l=s.set,c=s.getterFor("Array Iterator");t.exports=a(Array,"Array",(function(t,e){l(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,i){var n=i(16),r=i(18),o=i(13),s=i(73);t.exports=n?Object.defineProperties:function(t,e){o(t);for(var i,n=s(e),a=n.length,l=0;a>l;)r.f(t,i=n[l++],e[i]);return t}},function(t,e,i){var n=i(68),r=i(47);t.exports=Object.keys||function(t){return n(t,r)}},function(t,e,i){"use strict";var n=i(31),r=i(75),o=i(77),s=i(106),a=i(37),l=i(15),c=i(19),h=i(8),u=i(34),d=i(27),f=i(76),p=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,m=h("iterator"),v=function(){return this};t.exports=function(t,e,i,h,f,y,b){r(i,e,h);var w,x,_,k=function(t){if(t===f&&A)return A;if(!g&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new i(this,t)}}return function(){return new i(this)}},E=e+" Iterator",S=!1,T=t.prototype,C=T[m]||T["@@iterator"]||f&&T[f],A=!g&&C||k(f),O="Array"==e&&T.entries||C;if(O&&(w=o(O.call(new t)),p!==Object.prototype&&w.next&&(u||o(w)===p||(s?s(w,p):"function"!=typeof w[m]&&l(w,m,v)),a(w,E,!0,!0),u&&(d[E]=v))),"values"==f&&C&&"values"!==C.name&&(S=!0,A=function(){return C.call(this)}),u&&!b||T[m]===A||l(T,m,A),d[e]=A,f)if(x={values:k("values"),keys:y?A:k("keys"),entries:k("entries")},b)for(_ in x)(g||S||!(_ in T))&&c(T,_,x[_]);else n({target:e,proto:!0,forced:g||S},x);return x}},function(t,e,i){"use strict";var n=i(76).IteratorPrototype,r=i(50),o=i(25),s=i(37),a=i(27),l=function(){return this};t.exports=function(t,e,i){var c=e+" Iterator";return t.prototype=r(n,{next:o(1,i)}),s(t,c,!1,!0),a[c]=l,t}},function(t,e,i){"use strict";var n,r,o,s=i(77),a=i(15),l=i(10),c=i(8),h=i(34),u=c("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(r=s(s(o)))!==Object.prototype&&(n=r):d=!0),null==n&&(n={}),h||l(n,u)||a(n,u,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},function(t,e,i){var n=i(10),r=i(36),o=i(43),s=i(105),a=o("IE_PROTO"),l=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=r(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},function(t,e,i){var n=i(12),r=i(8),o=i(34),s=r("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,i="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),i+=n+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==i||"x"!==new URL("http://x",void 0).host}))},function(t,e){t.exports=function(t,e,i){if(!(t instanceof e))throw TypeError("Incorrect "+(i?i+" ":"")+"invocation");return t}},function(t,e,i){var n=i(126);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,i){var n=i(130),r=i(40),o=i(8)("toStringTag"),s="Arguments"==r(function(){return arguments}());t.exports=n?r:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?i:s?r(e):"Object"==(n=r(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,i){var n=i(138),r="object"==typeof self&&self&&self.Object===Object&&self,o=n||r||Function("return this")();t.exports=o},function(t,e,i){var n=i(82).Symbol;t.exports=n},function(t,e,i){var n=i(55),r=i(53);t.exports=function(t,e,i){var o=!0,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return r(i)&&(o="leading"in i?!!i.leading:o,s="trailing"in i?!!i.trailing:s),n(t,e,{leading:o,maxWait:e,trailing:s})}},function(t,i){t.exports=e},function(t,e,i){"use strict";i.r(e),function(t){var n=i(58),r=i(39),o=i(2),s=i(28),a=i(0),l=i(1);function c(t,e){return new n.a(t,e)}i(54),i(22),i(56),c.VERSION=l.b,void 0!==t&&(t.EPUBJS_VERSION=l.b),c.Book=n.a,c.Rendition=r.a,c.Contents=s.a,c.CFI=o.a,c.utils=a,e.default=c}.call(this,i(30))},function(t,e,i){"use strict";i(88);var n=i(19),r=i(12),o=i(8),s=i(48),a=i(15),l=o("species"),c=!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h="$0"==="a".replace(/./,"$0"),u=o("replace"),d=!!/./[u]&&""===/./[u]("a","$0"),f=!r((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}));t.exports=function(t,e,i,u){var p=o(t),g=!r((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),m=g&&!r((function(){var e=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[l]=function(){return i},i.flags="",i[p]=/./[p]),i.exec=function(){return e=!0,null},i[p](""),!e}));if(!g||!m||"replace"===t&&(!c||!h||d)||"split"===t&&!f){var v=/./[p],y=i(p,""[t],(function(t,e,i,n,r){return e.exec===s?g&&!r?{done:!0,value:v.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),b=y[0],w=y[1];n(String.prototype,t,b),n(RegExp.prototype,p,2==e?function(t,e){return w.call(t,this,e)}:function(t){return w.call(t,this)})}u&&a(RegExp.prototype[p],"sham",!0)}},function(t,e,i){"use strict";var n=i(31),r=i(48);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(t,e,i){var n=i(7),r=i(64),o=n.WeakMap;t.exports="function"==typeof o&&/native code/.test(r(o))},function(t,e,i){var n=i(10),r=i(91),o=i(59),s=i(18);t.exports=function(t,e){for(var i=r(e),a=s.f,l=o.f,c=0;c<i.length;c++){var h=i[c];n(t,h)||a(t,h,l(e,h))}}},function(t,e,i){var n=i(45),r=i(93),o=i(69),s=i(13);t.exports=n("Reflect","ownKeys")||function(t){var e=r.f(s(t)),i=o.f;return i?e.concat(i(t)):e}},function(t,e,i){var n=i(7);t.exports=n},function(t,e,i){var n=i(68),r=i(47).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},function(t,e,i){var n=i(32),r=i(46),o=i(95),s=function(t){return function(e,i,s){var a,l=n(e),c=r(l.length),h=o(s,c);if(t&&i!=i){for(;c>h;)if((a=l[h++])!=a)return!0}else for(;c>h;h++)if((t||h in l)&&l[h]===i)return t||h||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},function(t,e,i){var n=i(35),r=Math.max,o=Math.min;t.exports=function(t,e){var i=n(t);return i<0?r(i+e,0):o(i,e)}},function(t,e,i){var n=i(12),r=/#|\.prototype\./,o=function(t,e){var i=a[s(t)];return i==c||i!=l&&("function"==typeof e?n(e):!!e)},s=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},a=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},function(t,e,i){"use strict";var n=i(13);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,i){"use strict";var n=i(12);function r(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,i){var n=i(70);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,i){"use strict";var n=i(49).charAt;t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},function(t,e,i){var n=i(40),r=i(48);t.exports=function(t,e){var i=t.exec;if("function"==typeof i){var o=i.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,i){var n=i(8),r=i(50),o=i(18),s=n("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:r(null)}),t.exports=function(t){a[s][t]=!0}},function(t,e,i){var n=i(45);t.exports=n("document","documentElement")},function(t,e,i){var n=i(12);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,i){var n=i(13),r=i(107);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),e=i instanceof Array}catch(t){}return function(i,o){return n(i),r(o),e?t.call(i,o):i.__proto__=o,i}}():void 0)},function(t,e,i){var n=i(17);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,i){"use strict";var n=i(109),r=i(117),o=i(118),s=i(119);(t.exports=function(t,e){var i,o,a,l,c;return arguments.length<2||"string"!=typeof t?(l=e,e=t,t=null):l=arguments[2],null==t?(i=a=!0,o=!1):(i=s.call(t,"c"),o=s.call(t,"e"),a=s.call(t,"w")),c={value:e,configurable:i,enumerable:o,writable:a},l?n(r(l),c):c}).gs=function(t,e,i){var a,l,c,h;return"string"!=typeof t?(c=i,i=e,e=t,t=null):c=arguments[3],null==e?e=void 0:o(e)?null==i?i=void 0:o(i)||(c=i,i=void 0):(c=e,e=i=void 0),null==t?(a=!0,l=!1):(a=s.call(t,"c"),l=s.call(t,"e")),h={get:e,set:i,configurable:a,enumerable:l},c?n(r(c),h):h}},function(t,e,i){"use strict";t.exports=i(110)()?Object.assign:i(111)},function(t,e,i){"use strict";t.exports=function(){var t,e=Object.assign;return"function"==typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},function(t,e,i){"use strict";var n=i(112),r=i(116),o=Math.max;t.exports=function(t,e){var i,s,a,l=o(arguments.length,2);for(t=Object(r(t)),a=function(n){try{t[n]=e[n]}catch(t){i||(i=t)}},s=1;s<l;++s)n(e=arguments[s]).forEach(a);if(void 0!==i)throw i;return t}},function(t,e,i){"use strict";t.exports=i(113)()?Object.keys:i(114)},function(t,e,i){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},function(t,e,i){"use strict";var n=i(51),r=Object.keys;t.exports=function(t){return r(n(t)?Object(t):t)}},function(t,e,i){"use strict";t.exports=function(){}},function(t,e,i){"use strict";var n=i(51);t.exports=function(t){if(!n(t))throw new TypeError("Cannot use null or undefined");return t}},function(t,e,i){"use strict";var n=i(51),r=Array.prototype.forEach,o=Object.create,s=function(t,e){var i;for(i in t)e[i]=t[i]};t.exports=function(t){var e=o(null);return r.call(arguments,(function(t){n(t)&&s(Object(t),e)})),e}},function(t,e,i){"use strict";t.exports=function(t){return"function"==typeof t}},function(t,e,i){"use strict";t.exports=i(120)()?String.prototype.contains:i(121)},function(t,e,i){"use strict";var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&!0===n.contains("dwa")&&!1===n.contains("foo")}},function(t,e,i){"use strict";var n=String.prototype.indexOf;t.exports=function(t){return n.call(this,t,arguments[1])>-1}},function(t,e,i){"use strict";t.exports=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}},function(t,e,i){"use strict";var n=i(49).charAt,r=i(26),o=i(74),s=r.set,a=r.getterFor("String Iterator");o(String,"String",(function(t){s(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=a(this),i=e.string,r=e.index;return r>=i.length?{value:void 0,done:!0}:(t=n(i,r),e.index+=t.length,{value:t,done:!1})}))},function(t,e,i){"use strict";var n=i(16),r=i(12),o=i(73),s=i(69),a=i(60),l=i(36),c=i(61),h=Object.assign,u=Object.defineProperty;t.exports=!h||r((function(){if(n&&1!==h({b:1},h(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol();return t[i]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=h({},t)[i]||"abcdefghijklmnopqrst"!=o(h({},e)).join("")}))?function(t,e){for(var i=l(t),r=arguments.length,h=1,u=s.f,d=a.f;r>h;)for(var f,p=c(arguments[h++]),g=u?o(p).concat(u(p)):o(p),m=g.length,v=0;m>v;)f=g[v++],n&&!d.call(p,f)||(i[f]=p[f]);return i}:h},function(t,e,i){"use strict";var n=i(80),r=i(36),o=i(127),s=i(128),a=i(46),l=i(129),c=i(52);t.exports=function(t){var e,i,h,u,d,f,p=r(t),g="function"==typeof this?this:Array,m=arguments.length,v=m>1?arguments[1]:void 0,y=void 0!==v,b=c(p),w=0;if(y&&(v=n(v,m>2?arguments[2]:void 0,2)),null==b||g==Array&&s(b))for(i=new g(e=a(p.length));e>w;w++)f=y?v(p[w],w):p[w],l(i,w,f);else for(d=(u=b.call(p)).next,i=new g;!(h=d.call(u)).done;w++)f=y?o(u,v,[h.value,w],!0):h.value,l(i,w,f);return i.length=w,i}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,i){var n=i(13);t.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},function(t,e,i){var n=i(8),r=i(27),o=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||s[o]===t)}},function(t,e,i){"use strict";var n=i(41),r=i(18),o=i(25);t.exports=function(t,e,i){var s=n(e);s in t?r.f(t,s,o(0,i)):t[s]=i}},function(t,e,i){var n={};n[i(8)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,i){"use strict";var n=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",s=Math.floor,a=String.fromCharCode,l=function(t){return t+22+75*(t<26)},c=function(t,e,i){var n=0;for(t=i?s(t/700):t>>1,t+=s(t/e);t>455;n+=36)t=s(t/35);return s(n+36*t/(t+38))},h=function(t){var e,i,n=[],r=(t=function(t){for(var e=[],i=0,n=t.length;i<n;){var r=t.charCodeAt(i++);if(r>=55296&&r<=56319&&i<n){var o=t.charCodeAt(i++);56320==(64512&o)?e.push(((1023&r)<<10)+(1023&o)+65536):(e.push(r),i--)}else e.push(r)}return e}(t)).length,h=128,u=0,d=72;for(e=0;e<t.length;e++)(i=t[e])<128&&n.push(a(i));var f=n.length,p=f;for(f&&n.push("-");p<r;){var g=2147483647;for(e=0;e<t.length;e++)(i=t[e])>=h&&i<g&&(g=i);var m=p+1;if(g-h>s((2147483647-u)/m))throw RangeError(o);for(u+=(g-h)*m,h=g,e=0;e<t.length;e++){if((i=t[e])<h&&++u>2147483647)throw RangeError(o);if(i==h){for(var v=u,y=36;;y+=36){var b=y<=d?1:y>=d+26?26:y-d;if(v<b)break;var w=v-b,x=36-b;n.push(a(l(b+w%x))),v=s(w/x)}n.push(a(l(v))),d=c(u,m,p==f),u=0,++p}}++u,++h}return n.join("")};t.exports=function(t){var e,i,o=[],s=t.toLowerCase().replace(r,".").split(".");for(e=0;e<s.length;e++)i=s[e],o.push(n.test(i)?"xn--"+h(i):i);return o.join(".")}},function(t,e,i){"use strict";i(71);var n=i(31),r=i(45),o=i(78),s=i(19),a=i(133),l=i(37),c=i(75),h=i(26),u=i(79),d=i(10),f=i(80),p=i(81),g=i(13),m=i(17),v=i(50),y=i(25),b=i(134),w=i(52),x=i(8),_=r("fetch"),k=r("Headers"),E=x("iterator"),S=h.set,T=h.getterFor("URLSearchParams"),C=h.getterFor("URLSearchParamsIterator"),A=/\+/g,O=Array(4),N=function(t){return O[t-1]||(O[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},I=function(t){try{return decodeURIComponent(t)}catch(e){return t}},R=function(t){var e=t.replace(A," "),i=4;try{return decodeURIComponent(e)}catch(t){for(;i;)e=e.replace(N(i--),I);return e}},j=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},z=function(t){return L[t]},D=function(t){return encodeURIComponent(t).replace(j,z)},B=function(t,e){if(e)for(var i,n,r=e.split("&"),o=0;o<r.length;)(i=r[o++]).length&&(n=i.split("="),t.push({key:R(n.shift()),value:R(n.join("="))}))},P=function(t){this.entries.length=0,B(this.entries,t)},M=function(t,e){if(t<e)throw TypeError("Not enough arguments")},F=c((function(t,e){S(this,{type:"URLSearchParamsIterator",iterator:b(T(t).entries),kind:e})}),"Iterator",(function(){var t=C(this),e=t.kind,i=t.iterator.next(),n=i.value;return i.done||(i.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),i})),q=function(){u(this,q,"URLSearchParams");var t,e,i,n,r,o,s,a,l,c=arguments.length>0?arguments[0]:void 0,h=this,f=[];if(S(h,{type:"URLSearchParams",entries:f,updateURL:function(){},updateSearchParams:P}),void 0!==c)if(m(c))if("function"==typeof(t=w(c)))for(i=(e=t.call(c)).next;!(n=i.call(e)).done;){if((s=(o=(r=b(g(n.value))).next).call(r)).done||(a=o.call(r)).done||!o.call(r).done)throw TypeError("Expected sequence with length 2");f.push({key:s.value+"",value:a.value+""})}else for(l in c)d(c,l)&&f.push({key:l,value:c[l]+""});else B(f,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},U=q.prototype;a(U,{append:function(t,e){M(arguments.length,2);var i=T(this);i.entries.push({key:t+"",value:e+""}),i.updateURL()},delete:function(t){M(arguments.length,1);for(var e=T(this),i=e.entries,n=t+"",r=0;r<i.length;)i[r].key===n?i.splice(r,1):r++;e.updateURL()},get:function(t){M(arguments.length,1);for(var e=T(this).entries,i=t+"",n=0;n<e.length;n++)if(e[n].key===i)return e[n].value;return null},getAll:function(t){M(arguments.length,1);for(var e=T(this).entries,i=t+"",n=[],r=0;r<e.length;r++)e[r].key===i&&n.push(e[r].value);return n},has:function(t){M(arguments.length,1);for(var e=T(this).entries,i=t+"",n=0;n<e.length;)if(e[n++].key===i)return!0;return!1},set:function(t,e){M(arguments.length,1);for(var i,n=T(this),r=n.entries,o=!1,s=t+"",a=e+"",l=0;l<r.length;l++)(i=r[l]).key===s&&(o?r.splice(l--,1):(o=!0,i.value=a));o||r.push({key:s,value:a}),n.updateURL()},sort:function(){var t,e,i,n=T(this),r=n.entries,o=r.slice();for(r.length=0,i=0;i<o.length;i++){for(t=o[i],e=0;e<i;e++)if(r[e].key>t.key){r.splice(e,0,t);break}e===i&&r.push(t)}n.updateURL()},forEach:function(t){for(var e,i=T(this).entries,n=f(t,arguments.length>1?arguments[1]:void 0,3),r=0;r<i.length;)n((e=i[r++]).value,e.key,this)},keys:function(){return new F(this,"keys")},values:function(){return new F(this,"values")},entries:function(){return new F(this,"entries")}},{enumerable:!0}),s(U,E,U.entries),s(U,"toString",(function(){for(var t,e=T(this).entries,i=[],n=0;n<e.length;)t=e[n++],i.push(D(t.key)+"="+D(t.value));return i.join("&")}),{enumerable:!0}),l(q,"URLSearchParams"),n({global:!0,forced:!o},{URLSearchParams:q}),o||"function"!=typeof _||"function"!=typeof k||n({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,i,n,r=[t];return arguments.length>1&&(m(e=arguments[1])&&(i=e.body,"URLSearchParams"===p(i)&&((n=e.headers?new k(e.headers):new k).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=v(e,{body:y(0,String(i)),headers:y(0,n)}))),r.push(e)),_.apply(this,r)}}),t.exports={URLSearchParams:q,getState:T}},function(t,e,i){var n=i(19);t.exports=function(t,e,i){for(var r in e)n(t,r,e[r],i);return t}},function(t,e,i){var n=i(13),r=i(52);t.exports=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},function(t,e,i){"use strict";function n(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}Object.defineProperty(e,"__esModule",{value:!0}),e.createElement=n,e.default={createElement:n}},function(t,e,i){"use strict";function n(t,e){function i(i){for(var n=e.length-1;n>=0;n--){var s=e[n],a=i.clientX,l=i.clientY;if(i.touches&&i.touches.length&&(a=i.touches[0].clientX,l=i.touches[0].clientY),o(s,t,a,l)){s.dispatchEvent(r(i));break}}}if("iframe"===t.nodeName||"IFRAME"===t.nodeName)try{this.target=t.contentDocument}catch(e){this.target=t}else this.target=t;for(var n=["mouseup","mousedown","click","touchstart"],s=0;s<n.length;s++){var a=n[s];this.target.addEventListener(a,(function(t){return i(t)}),!1)}}function r(t){var e=Object.assign({},t,{bubbles:!1});try{return new MouseEvent(t.type,e)}catch(n){var i=document.createEvent("MouseEvents");return i.initMouseEvent(t.type,!1,e.cancelable,e.view,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),i}}function o(t,e,i,n){var r=e.getBoundingClientRect();function o(t,e,i){var n=t.top-r.top,o=t.left-r.left,s=n+t.height,a=o+t.width;return n<=i&&o<=e&&s>i&&a>e}if(!o(t.getBoundingClientRect(),i,n))return!1;for(var s=t.getClientRects(),a=0,l=s.length;a<l;a++)if(o(s[a],i,n))return!0;return!1}Object.defineProperty(e,"__esModule",{value:!0}),e.proxyMouse=n,e.clone=r,e.default={proxyMouse:n}},function(t,e,i){var n=i(82);t.exports=function(){return n.Date.now()}},function(t,e,i){(function(e){var i="object"==typeof e&&e&&e.Object===Object&&e;t.exports=i}).call(this,i(30))},function(t,e,i){var n=i(53),r=i(140),o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(r(t))return NaN;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var i=a.test(t);return i||l.test(t)?c(t.slice(2),i?2:8):s.test(t)?NaN:+t}},function(t,e,i){var n=i(141),r=i(144);t.exports=function(t){return"symbol"==typeof t||r(t)&&"[object Symbol]"==n(t)}},function(t,e,i){var n=i(83),r=i(142),o=i(143),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?r(t):o(t)}},function(t,e,i){var n=i(83),r=Object.prototype,o=r.hasOwnProperty,s=r.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,a),i=t[a];try{t[a]=void 0;var n=!0}catch(t){}var r=s.call(t);return n&&(e?t[a]=i:delete t[a]),r}},function(t,e){var i=Object.prototype.toString;t.exports=function(t){return i.call(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}}]).default})),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).localforage=t()}}((function(){return function t(e,i,n){function r(s,a){if(!i[s]){if(!e[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var h=i[s]={exports:{}};e[s][0].call(h.exports,(function(t){var i=e[s][1][t];return r(i||t)}),h,h.exports,t,e,i,n)}return i[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)r(n[s]);return r}({1:[function(t,e,i){(function(t){"use strict";function i(){c=!0;for(var t,e,i=h.length;i;){for(e=h,h=[],t=-1;++t<i;)e[t]();i=h.length}c=!1}var n,r=t.MutationObserver||t.WebKitMutationObserver;if(r){var o=0,s=new r(i),a=t.document.createTextNode("");s.observe(a,{characterData:!0}),n=function(){a.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){i(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(i,0)};else{var l=new t.MessageChannel;l.port1.onmessage=i,n=function(){l.port2.postMessage(0)}}var c,h=[];e.exports=function(t){1!==h.push(t)||c||n()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,i){"use strict";function n(){}function r(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=p,this.queue=[],this.outcome=void 0,t!==n&&l(this,t)}function o(t,e,i){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function s(t,e,i){h((function(){var n;try{n=e(i)}catch(e){return u.reject(t,e)}n===t?u.reject(t,new TypeError("Cannot resolve promise with itself")):u.resolve(t,n)}))}function a(t){var e=t&&t.then;if(t&&"object"==typeof t&&"function"==typeof e)return function(){e.apply(t,arguments)}}function l(t,e){function i(e){r||(r=!0,u.reject(t,e))}function n(e){r||(r=!0,u.resolve(t,e))}var r=!1,o=c((function(){e(n,i)}));"error"===o.status&&i(o.value)}function c(t,e){var i={};try{i.value=t(e),i.status="success"}catch(t){i.status="error",i.value=t}return i}var h=t(1),u={},d=["REJECTED"],f=["FULFILLED"],p=["PENDING"];e.exports=i=r,r.prototype.catch=function(t){return this.then(null,t)},r.prototype.then=function(t,e){if("function"!=typeof t&&this.state===f||"function"!=typeof e&&this.state===d)return this;var i=new this.constructor(n);this.state!==p?s(i,this.state===f?t:e,this.outcome):this.queue.push(new o(i,t,e));return i},o.prototype.callFulfilled=function(t){u.resolve(this.promise,t)},o.prototype.otherCallFulfilled=function(t){s(this.promise,this.onFulfilled,t)},o.prototype.callRejected=function(t){u.reject(this.promise,t)},o.prototype.otherCallRejected=function(t){s(this.promise,this.onRejected,t)},u.resolve=function(t,e){var i=c(a,e);if("error"===i.status)return u.reject(t,i.value);var n=i.value;if(n)l(t,n);else{t.state=f,t.outcome=e;for(var r=-1,o=t.queue.length;++r<o;)t.queue[r].callFulfilled(e)}return t},u.reject=function(t,e){t.state=d,t.outcome=e;for(var i=-1,n=t.queue.length;++i<n;)t.queue[i].callRejected(e);return t},i.resolve=function(t){return t instanceof this?t:u.resolve(new this(n),t)},i.reject=function(t){var e=new this(n);return u.reject(e,t)},i.all=function(t){function e(t,e){i.resolve(t).then((function(t){s[e]=t,++a!==r||o||(o=!0,u.resolve(c,s))}),(function(t){o||(o=!0,u.reject(c,t))}))}var i=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,o=!1;if(!r)return this.resolve([]);for(var s=new Array(r),a=0,l=-1,c=new this(n);++l<r;)e(t[l],l);return c},i.race=function(t){function e(t){i.resolve(t).then((function(t){o||(o=!0,u.resolve(a,t))}),(function(t){o||(o=!0,u.reject(a,t))}))}var i=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,o=!1;if(!r)return this.resolve([]);for(var s=-1,a=new this(n);++s<r;)e(t[s]);return a}},{1:1}],3:[function(t,e,i){(function(e){"use strict";"function"!=typeof e.Promise&&(e.Promise=t(2))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(t,e,i){"use strict";function n(t,e){t=t||[],e=e||{};try{return new Blob(t,e)}catch(r){if("TypeError"!==r.name)throw r;for(var i=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),n=0;n<t.length;n+=1)i.append(t[n]);return i.getBlob(e.type)}}function r(t,e){e&&t.then((function(t){e(null,t)}),(function(t){e(t)}))}function o(t,e,i){"function"==typeof e&&t.then(e),"function"==typeof i&&t.catch(i)}function s(t){return"boolean"==typeof b?x.resolve(b):function(t){return new x((function(e){var i=t.transaction(_,"readwrite"),r=n([""]);i.objectStore(_).put(r,"key"),i.onabort=function(t){t.preventDefault(),t.stopPropagation(),e(!1)},i.oncomplete=function(){var t=navigator.userAgent.match(/Chrome\/(\d+)/),i=navigator.userAgent.match(/Edge\//);e(i||!t||parseInt(t[1],10)>=43)}})).catch((function(){return!1}))}(t).then((function(t){return b=t}))}function a(t,e){return new x((function(i,n){if(t.db){if(!e)return i(t.db);(function(t){var e=w[t.name],i={};i.promise=new x((function(t){i.resolve=t})),e.deferredOperations.push(i),e.dbReady?e.dbReady=e.dbReady.then((function(){return i.promise})):e.dbReady=i.promise})(t),t.db.close()}var r=[t.name];e&&r.push(t.version);var o=y.open.apply(y,r);e&&(o.onupgradeneeded=function(e){var i=o.result;try{i.createObjectStore(t.storeName),e.oldVersion<=1&&i.createObjectStore(_)}catch(i){if("ConstraintError"!==i.name)throw i;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),o.onerror=function(t){t.preventDefault(),n(o.error)},o.onsuccess=function(){i(o.result),function(t){var e=w[t.name].deferredOperations.pop();e&&e.resolve()}(t)}}))}function l(t){return n([function(t){for(var e=t.length,i=new ArrayBuffer(e),n=new Uint8Array(i),r=0;r<e;r++)n[r]=t.charCodeAt(r);return i}(atob(t.data))],{type:t.type})}function c(t){return t&&t.__local_forage_encoded_blob}function h(t){var e=this,i=e._initReady().then((function(){var t=w[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady}));return o(i,t,t),i}function u(t){var e,i,n,r,o,s=.75*t.length,a=t.length,l=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var c=new ArrayBuffer(s),h=new Uint8Array(c);for(e=0;e<a;e+=4)i=S.indexOf(t[e]),n=S.indexOf(t[e+1]),r=S.indexOf(t[e+2]),o=S.indexOf(t[e+3]),h[l++]=i<<2|n>>4,h[l++]=(15&n)<<4|r>>2,h[l++]=(3&r)<<6|63&o;return c}function d(t){var e,i=new Uint8Array(t),n="";for(e=0;e<i.length;e+=3)n+=S[i[e]>>2],n+=S[(3&i[e])<<4|i[e+1]>>4],n+=S[(15&i[e+1])<<2|i[e+2]>>6],n+=S[63&i[e+2]];return i.length%3==2?n=n.substring(0,n.length-1)+"=":i.length%3==1&&(n=n.substring(0,n.length-2)+"=="),n}function f(t,e,i,n){var o=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var s=new x((function(r,s){o.ready().then((function(){void 0===e&&(e=null);var a=e,l=o._dbInfo;l.serializer.serialize(e,(function(e,c){c?s(c):l.db.transaction((function(i){i.executeSql("INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[t,e],(function(){r(a)}),(function(t,e){s(e)}))}),(function(e){if(e.code===e.QUOTA_ERR){if(n>0)return void r(f.apply(o,[t,a,i,n-1]));s(e)}}))}))})).catch(s)}));return r(s,i),s}function p(t,e){t[e]=function(){var i=arguments;return t.ready().then((function(){return t[e].apply(t,i)}))}}function g(){for(var t=1;t<arguments.length;t++){var e=arguments[t];if(e)for(var i in e)e.hasOwnProperty(i)&&(Q(e[i])?arguments[0][i]=e[i].slice():arguments[0][i]=e[i])}return arguments[0]}function m(t){for(var e in V)if(V.hasOwnProperty(e)&&V[e]===t)return!0;return!1}var v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(t){}}();"undefined"==typeof Promise&&t(3);var b,w,x=Promise,_="local-forage-detect-blob-support",k=Object.prototype.toString,E={_driver:"asyncStorage",_initStorage:function(t){function e(){return x.resolve()}var i=this,n={db:null};if(t)for(var r in t)n[r]=t[r];w||(w={});var o=w[n.name];o||(o={forages:[],db:null,dbReady:null,deferredOperations:[]},w[n.name]=o),o.forages.push(i),i._initReady||(i._initReady=i.ready,i.ready=h);for(var s=[],l=0;l<o.forages.length;l++){var c=o.forages[l];c!==i&&s.push(c._initReady().catch(e))}var u=o.forages.slice(0);return x.all(s).then((function(){return n.db=o.db,function(t){return a(t,!1)}(n)})).then((function(t){return n.db=t,function(t,e){if(!t.db)return!0;var i=!t.db.objectStoreNames.contains(t.storeName),n=t.version<t.db.version,r=t.version>t.db.version;if(n&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),r||i){if(i){var o=t.db.version+1;o>t.version&&(t.version=o)}return!0}return!1}(n,i._defaultConfig.version)?function(t){return a(t,!0)}(n):t})).then((function(t){n.db=o.db=t,i._dbInfo=n;for(var e=0;e<u.length;e++){var r=u[e];r!==i&&(r._dbInfo.db=n.db,r._dbInfo.version=n.version)}}))},iterate:function(t,e){var i=this,n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo,o=r.db.transaction(r.storeName,"readonly").objectStore(r.storeName).openCursor(),s=1;o.onsuccess=function(){var i=o.result;if(i){var n=i.value;c(n)&&(n=l(n));var r=t(n,i.key,s++);void 0!==r?e(r):i.continue()}else e()},o.onerror=function(){n(o.error)}})).catch(n)}));return r(n,e),n},getItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo,o=r.db.transaction(r.storeName,"readonly").objectStore(r.storeName).get(t);o.onsuccess=function(){var t=o.result;void 0===t&&(t=null),c(t)&&(t=l(t)),e(t)},o.onerror=function(){n(o.error)}})).catch(n)}));return r(n,e),n},setItem:function(t,e,i){var n=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var o=new x((function(i,r){var o;n.ready().then((function(){return o=n._dbInfo,"[object Blob]"===k.call(e)?s(o.db).then((function(t){return t?e:function(t){return new x((function(e,i){var n=new FileReader;n.onerror=i,n.onloadend=function(i){var n=btoa(i.target.result||"");e({__local_forage_encoded_blob:!0,data:n,type:t.type})},n.readAsBinaryString(t)}))}(e)})):e})).then((function(e){var n=o.db.transaction(o.storeName,"readwrite"),s=n.objectStore(o.storeName).put(e,t);null===e&&(e=void 0),n.oncomplete=function(){void 0===e&&(e=null),i(e)},n.onabort=n.onerror=function(){var t=s.error?s.error:s.transaction.error;r(t)}})).catch(r)}));return r(o,i),o},removeItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo,o=r.db.transaction(r.storeName,"readwrite"),s=o.objectStore(r.storeName).delete(t);o.oncomplete=function(){e()},o.onerror=function(){n(s.error)},o.onabort=function(){var t=s.error?s.error:s.transaction.error;n(t)}})).catch(n)}));return r(n,e),n},clear:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo,r=n.db.transaction(n.storeName,"readwrite"),o=r.objectStore(n.storeName).clear();r.oncomplete=function(){t()},r.onabort=r.onerror=function(){var t=o.error?o.error:o.transaction.error;i(t)}})).catch(i)}));return r(i,t),i},length:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo,r=n.db.transaction(n.storeName,"readonly").objectStore(n.storeName).count();r.onsuccess=function(){t(r.result)},r.onerror=function(){i(r.error)}})).catch(i)}));return r(i,t),i},key:function(t,e){var i=this,n=new x((function(e,n){return t<0?void e(null):void i.ready().then((function(){var r=i._dbInfo,o=r.db.transaction(r.storeName,"readonly").objectStore(r.storeName),s=!1,a=o.openCursor();a.onsuccess=function(){var i=a.result;return i?void(0===t||s?e(i.key):(s=!0,i.advance(t))):void e(null)},a.onerror=function(){n(a.error)}})).catch(n)}));return r(n,e),n},keys:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo,r=n.db.transaction(n.storeName,"readonly").objectStore(n.storeName).openCursor(),o=[];r.onsuccess=function(){var e=r.result;return e?(o.push(e.key),void e.continue()):void t(o)},r.onerror=function(){i(r.error)}})).catch(i)}));return r(i,t),i}},S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",T="~~local_forage_type~",C=/^~~local_forage_type~([^~]+)~/,A="__lfsc__:",O=A.length,N="arbf",I="blob",R="si08",j="ui08",L="uic8",z="si16",D="si32",B="ur16",P="ui32",M="fl32",F="fl64",q=O+N.length,U=Object.prototype.toString,W={serialize:function(t,e){var i="";if(t&&(i=U.call(t)),t&&("[object ArrayBuffer]"===i||t.buffer&&"[object ArrayBuffer]"===U.call(t.buffer))){var n,r=A;t instanceof ArrayBuffer?(n=t,r+=N):(n=t.buffer,"[object Int8Array]"===i?r+=R:"[object Uint8Array]"===i?r+=j:"[object Uint8ClampedArray]"===i?r+=L:"[object Int16Array]"===i?r+=z:"[object Uint16Array]"===i?r+=B:"[object Int32Array]"===i?r+=D:"[object Uint32Array]"===i?r+=P:"[object Float32Array]"===i?r+=M:"[object Float64Array]"===i?r+=F:e(new Error("Failed to get type for BinaryArray"))),e(r+d(n))}else if("[object Blob]"===i){var o=new FileReader;o.onload=function(){var i=T+t.type+"~"+d(this.result);e(A+I+i)},o.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(i){console.error("Couldn't convert value into a JSON string: ",t),e(null,i)}},deserialize:function(t){if(t.substring(0,O)!==A)return JSON.parse(t);var e,i=t.substring(q),r=t.substring(O,q);if(r===I&&C.test(i)){var o=i.match(C);e=o[1],i=i.substring(o[0].length)}var s=u(i);switch(r){case N:return s;case I:return n([s],{type:e});case R:return new Int8Array(s);case j:return new Uint8Array(s);case L:return new Uint8ClampedArray(s);case z:return new Int16Array(s);case B:return new Uint16Array(s);case D:return new Int32Array(s);case P:return new Uint32Array(s);case M:return new Float32Array(s);case F:return new Float64Array(s);default:throw new Error("Unkown type: "+r)}},stringToBuffer:u,bufferToString:d},$={_driver:"webSQLStorage",_initStorage:function(t){var e=this,i={db:null};if(t)for(var n in t)i[n]="string"!=typeof t[n]?t[n].toString():t[n];var r=new x((function(t,n){try{i.db=openDatabase(i.name,String(i.version),i.description,i.size)}catch(t){return n(t)}i.db.transaction((function(r){r.executeSql("CREATE TABLE IF NOT EXISTS "+i.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],(function(){e._dbInfo=i,t()}),(function(t,e){n(e)}))}))}));return i.serializer=W,r},iterate:function(t,e){var i=this,n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){i.executeSql("SELECT * FROM "+r.storeName,[],(function(i,n){for(var o=n.rows,s=o.length,a=0;a<s;a++){var l=o.item(a),c=l.value;if(c&&(c=r.serializer.deserialize(c)),void 0!==(c=t(c,l.key,a+1)))return void e(c)}e()}),(function(t,e){n(e)}))}))})).catch(n)}));return r(n,e),n},getItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){i.executeSql("SELECT * FROM "+r.storeName+" WHERE key = ? LIMIT 1",[t],(function(t,i){var n=i.rows.length?i.rows.item(0).value:null;n&&(n=r.serializer.deserialize(n)),e(n)}),(function(t,e){n(e)}))}))})).catch(n)}));return r(n,e),n},setItem:function(t,e,i){return f.apply(this,[t,e,i,1])},removeItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){i.executeSql("DELETE FROM "+r.storeName+" WHERE key = ?",[t],(function(){e()}),(function(t,e){n(e)}))}))})).catch(n)}));return r(n,e),n},clear:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){e.executeSql("DELETE FROM "+n.storeName,[],(function(){t()}),(function(t,e){i(e)}))}))})).catch(i)}));return r(i,t),i},length:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){e.executeSql("SELECT COUNT(key) as c FROM "+n.storeName,[],(function(e,i){var n=i.rows.item(0).c;t(n)}),(function(t,e){i(e)}))}))})).catch(i)}));return r(i,t),i},key:function(t,e){var i=this,n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){i.executeSql("SELECT key FROM "+r.storeName+" WHERE id = ? LIMIT 1",[t+1],(function(t,i){var n=i.rows.length?i.rows.item(0).key:null;e(n)}),(function(t,e){n(e)}))}))})).catch(n)}));return r(n,e),n},keys:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){e.executeSql("SELECT key FROM "+n.storeName,[],(function(e,i){for(var n=[],r=0;r<i.rows.length;r++)n.push(i.rows.item(r).key);t(n)}),(function(t,e){i(e)}))}))})).catch(i)}));return r(i,t),i}},H={_driver:"localStorageWrapper",_initStorage:function(t){var e={};if(t)for(var i in t)e[i]=t[i];return e.keyPrefix=e.name+"/",e.storeName!==this._defaultConfig.storeName&&(e.keyPrefix+=e.storeName+"/"),this._dbInfo=e,e.serializer=W,x.resolve()},iterate:function(t,e){var i=this,n=i.ready().then((function(){for(var e=i._dbInfo,n=e.keyPrefix,r=n.length,o=localStorage.length,s=1,a=0;a<o;a++){var l=localStorage.key(a);if(0===l.indexOf(n)){var c=localStorage.getItem(l);if(c&&(c=e.serializer.deserialize(c)),void 0!==(c=t(c,l.substring(r),s++)))return c}}}));return r(n,e),n},getItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=i.ready().then((function(){var e=i._dbInfo,n=localStorage.getItem(e.keyPrefix+t);return n&&(n=e.serializer.deserialize(n)),n}));return r(n,e),n},setItem:function(t,e,i){var n=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var o=n.ready().then((function(){void 0===e&&(e=null);var i=e;return new x((function(r,o){var s=n._dbInfo;s.serializer.serialize(e,(function(e,n){if(n)o(n);else try{localStorage.setItem(s.keyPrefix+t,e),r(i)}catch(t){"QuotaExceededError"!==t.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==t.name||o(t),o(t)}}))}))}));return r(o,i),o},removeItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=i.ready().then((function(){var e=i._dbInfo;localStorage.removeItem(e.keyPrefix+t)}));return r(n,e),n},clear:function(t){var e=this,i=e.ready().then((function(){for(var t=e._dbInfo.keyPrefix,i=localStorage.length-1;i>=0;i--){var n=localStorage.key(i);0===n.indexOf(t)&&localStorage.removeItem(n)}}));return r(i,t),i},length:function(t){var e=this.keys().then((function(t){return t.length}));return r(e,t),e},key:function(t,e){var i=this,n=i.ready().then((function(){var e,n=i._dbInfo;try{e=localStorage.key(t)}catch(t){e=null}return e&&(e=e.substring(n.keyPrefix.length)),e}));return r(n,e),n},keys:function(t){var e=this,i=e.ready().then((function(){for(var t=e._dbInfo,i=localStorage.length,n=[],r=0;r<i;r++)0===localStorage.key(r).indexOf(t.keyPrefix)&&n.push(localStorage.key(r).substring(t.keyPrefix.length));return n}));return r(i,t),i}},X={},V={INDEXEDDB:"asyncStorage",LOCALSTORAGE:"localStorageWrapper",WEBSQL:"webSQLStorage"},Y=[V.INDEXEDDB,V.WEBSQL,V.LOCALSTORAGE],G=["clear","getItem","iterate","key","keys","length","removeItem","setItem"],Z={description:"",driver:Y.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1},K={};K[V.INDEXEDDB]=function(){try{if(!y)return!1;var t="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),e="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!t||e)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(t){return!1}}(),K[V.WEBSQL]="function"==typeof openDatabase,K[V.LOCALSTORAGE]=function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&localStorage.setItem}catch(t){return!1}}();var Q=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},J=new(function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.INDEXEDDB=V.INDEXEDDB,this.LOCALSTORAGE=V.LOCALSTORAGE,this.WEBSQL=V.WEBSQL,this._defaultConfig=g({},Z),this._config=g({},this._defaultConfig,e),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return t.prototype.config=function(t){if("object"===(void 0===t?"undefined":v(t))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var e in t){if("storeName"===e&&(t[e]=t[e].replace(/\W/g,"_")),"version"===e&&"number"!=typeof t[e])return new Error("Database version must be a number.");this._config[e]=t[e]}return!("driver"in t&&t.driver)||this.setDriver(this._config.driver)}return"string"==typeof t?this._config[t]:this._config},t.prototype.defineDriver=function(t,e,i){var n=new x((function(e,i){try{var n=t._driver,r=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver"),o=new Error("Custom driver name already in use: "+t._driver);if(!t._driver)return void i(r);if(m(t._driver))return void i(o);for(var s=G.concat("_initStorage"),a=0;a<s.length;a++){var l=s[a];if(!l||!t[l]||"function"!=typeof t[l])return void i(r)}var c=x.resolve(!0);"_support"in t&&(c=t._support&&"function"==typeof t._support?t._support():x.resolve(!!t._support)),c.then((function(i){K[n]=i,X[n]=t,e()}),i)}catch(t){i(t)}}));return o(n,e,i),n},t.prototype.driver=function(){return this._driver||null},t.prototype.getDriver=function(t,e,i){var n=this,r=x.resolve().then((function(){if(!m(t)){if(X[t])return X[t];throw new Error("Driver not found.")}switch(t){case n.INDEXEDDB:return E;case n.LOCALSTORAGE:return H;case n.WEBSQL:return $}}));return o(r,e,i),r},t.prototype.getSerializer=function(t){var e=x.resolve(W);return o(e,t),e},t.prototype.ready=function(t){var e=this,i=e._driverSet.then((function(){return null===e._ready&&(e._ready=e._initDriver()),e._ready}));return o(i,t,t),i},t.prototype.setDriver=function(t,e,i){function n(){s._config.driver=s.driver()}function r(t){return s._extend(t),n(),s._ready=s._initStorage(s._config),s._ready}var s=this;Q(t)||(t=[t]);var a=this._getSupportedDrivers(t),l=null!==this._driverSet?this._driverSet.catch((function(){return x.resolve()})):x.resolve();return this._driverSet=l.then((function(){var t=a[0];return s._dbInfo=null,s._ready=null,s.getDriver(t).then((function(t){s._driver=t._driver,n(),s._wrapLibraryMethodsWithReady(),s._initDriver=function(t){return function(){var e=0;return function i(){for(;e<t.length;){var o=t[e];return e++,s._dbInfo=null,s._ready=null,s.getDriver(o).then(r).catch(i)}n();var a=new Error("No available storage method found.");return s._driverSet=x.reject(a),s._driverSet}()}}(a)}))})).catch((function(){n();var t=new Error("No available storage method found.");return s._driverSet=x.reject(t),s._driverSet})),o(this._driverSet,e,i),this._driverSet},t.prototype.supports=function(t){return!!K[t]},t.prototype._extend=function(t){g(this,t)},t.prototype._getSupportedDrivers=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var r=t[i];this.supports(r)&&e.push(r)}return e},t.prototype._wrapLibraryMethodsWithReady=function(){for(var t=0;t<G.length;t++)p(this,G[t])},t.prototype.createInstance=function(e){return new t(e)},t}());e.exports=J},{3:3}]},{},[4])(4)})),function(t){t.attrFn=t.attrFn||{};var e="ontouchstart"in window,i={tap_pixel_range:5,swipe_h_threshold:50,swipe_v_threshold:50,taphold_threshold:750,doubletap_int:500,shake_threshold:15,touch_capable:e,orientation_support:"orientation"in window&&"onorientationchange"in window,startevent:e?"touchstart":"mousedown",endevent:e?"touchend":"mouseup",moveevent:e?"touchmove":"mousemove",tapevent:e?"tap":"click",scrollevent:e?"touchmove":"scroll",hold_timer:null,tap_timer:null};t.touch={},t.isTouchCapable=function(){return i.touch_capable},t.getStartEvent=function(){return i.startevent},t.getEndEvent=function(){return i.endevent},t.getMoveEvent=function(){return i.moveevent},t.getTapEvent=function(){return i.tapevent},t.getScrollEvent=function(){return i.scrollevent},t.touch.setSwipeThresholdX=function(t){if("number"!=typeof t)throw new Error("Threshold parameter must be a type of number");i.swipe_h_threshold=t},t.touch.setSwipeThresholdY=function(t){if("number"!=typeof t)throw new Error("Threshold parameter must be a type of number");i.swipe_v_threshold=t},t.touch.setDoubleTapInt=function(t){if("number"!=typeof t)throw new Error("Interval parameter must be a type of number");i.doubletap_int=t},t.touch.setTapHoldThreshold=function(t){if("number"!=typeof t)throw new Error("Threshold parameter must be a type of number");i.taphold_threshold=t},t.touch.setTapRange=function(t){if("number"!=typeof t)throw new Error("Ranger parameter must be a type of number");i.tap_pixel_range=threshold},t.each(["tapstart","tapend","tapmove","tap","singletap","doubletap","taphold","swipe","swipeup","swiperight","swipedown","swipeleft","swipeend","scrollstart","scrollend","orientationchange","tap2","taphold2"],(function(e,i){t.fn[i]=function(t){return t?this.on(i,t):this.trigger(i)},t.attrFn[i]=!0})),t.event.special.tapstart={setup:function(){var e=this,n=t(e);n.on(i.startevent,(function t(r){if(n.data("callee",t),r.which&&1!==r.which)return!1;var o=r.originalEvent,s={position:{x:i.touch_capable?o.touches[0].pageX:r.pageX,y:i.touch_capable?o.touches[0].pageY:r.pageY},offset:{x:i.touch_capable?Math.round(o.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(r.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(o.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(r.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:r.target};return v(e,"tapstart",r,s),!0}))},remove:function(){t(this).off(i.startevent,t(this).data.callee)}},t.event.special.tapmove={setup:function(){var e=this,n=t(e);n.on(i.moveevent,(function t(r){n.data("callee",t);var o=r.originalEvent,s={position:{x:i.touch_capable?o.touches[0].pageX:r.pageX,y:i.touch_capable?o.touches[0].pageY:r.pageY},offset:{x:i.touch_capable?Math.round(o.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(r.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(o.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(r.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:r.target};return v(e,"tapmove",r,s),!0}))},remove:function(){t(this).off(i.moveevent,t(this).data.callee)}},t.event.special.tapend={setup:function(){var e=this,n=t(e);n.on(i.endevent,(function t(r){n.data("callee",t);var o=r.originalEvent,s={position:{x:i.touch_capable?o.changedTouches[0].pageX:r.pageX,y:i.touch_capable?o.changedTouches[0].pageY:r.pageY},offset:{x:i.touch_capable?Math.round(o.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(r.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(o.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(r.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:r.target};return v(e,"tapend",r,s),!0}))},remove:function(){t(this).off(i.endevent,t(this).data.callee)}},t.event.special.taphold={setup:function(){var e,n=this,r=t(n),o={x:0,y:0},s=0,a=0;r.on(i.startevent,(function t(l){if(l.which&&1!==l.which)return!1;r.data("tapheld",!1),e=l.target;var c=l.originalEvent,h=Date.now();i.touch_capable?c.touches[0].pageX:l.pageX,i.touch_capable?c.touches[0].pageY:l.pageY,i.touch_capable?(c.touches[0].pageX,c.touches[0].target.offsetLeft):l.offsetX,i.touch_capable?(c.touches[0].pageY,c.touches[0].target.offsetTop):l.offsetY,o.x=l.originalEvent.targetTouches?l.originalEvent.targetTouches[0].pageX:l.pageX,o.y=l.originalEvent.targetTouches?l.originalEvent.targetTouches[0].pageY:l.pageY,s=o.x,a=o.y;var u=r.parent().data("threshold")?r.parent().data("threshold"):r.data("threshold"),d=void 0!==u&&!1!==u&&parseInt(u)?parseInt(u):i.taphold_threshold;return i.hold_timer=window.setTimeout((function(){var u=o.x-s,d=o.y-a;if(l.target==e&&(o.x==s&&o.y==a||u>=-i.tap_pixel_range&&u<=i.tap_pixel_range&&d>=-i.tap_pixel_range&&d<=i.tap_pixel_range)){r.data("tapheld",!0);for(var f=Date.now()-h,p=l.originalEvent.targetTouches?l.originalEvent.targetTouches:[l],g=[],m=0;m<p.length;m++){var y={position:{x:i.touch_capable?c.changedTouches[m].pageX:l.pageX,y:i.touch_capable?c.changedTouches[m].pageY:l.pageY},offset:{x:i.touch_capable?Math.round(c.changedTouches[m].pageX-(r.offset()?r.offset().left:0)):Math.round(l.pageX-(r.offset()?r.offset().left:0)),y:i.touch_capable?Math.round(c.changedTouches[m].pageY-(r.offset()?r.offset().top:0)):Math.round(l.pageY-(r.offset()?r.offset().top:0))},time:Date.now(),target:l.target,duration:f};g.push(y)}var b=2==p.length?"taphold2":"taphold";r.data("callee1",t),v(n,b,l,g)}}),d),!0})).on(i.endevent,(function t(){r.data("callee2",t),r.data("tapheld",!1),window.clearTimeout(i.hold_timer)})).on(i.moveevent,(function t(e){r.data("callee3",t),s=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageX:e.pageX,a=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageY:e.pageY}))},remove:function(){t(this).off(i.startevent,t(this).data.callee1).off(i.endevent,t(this).data.callee2).off(i.moveevent,t(this).data.callee3)}},t.event.special.doubletap={setup:function(){var e,n,r=this,o=t(r),s=null,a=!1;o.on(i.startevent,(function e(r){return!(r.which&&1!==r.which||(o.data("doubletapped",!1),r.target,o.data("callee1",e),n=r.originalEvent,s||(s={position:{x:i.touch_capable?n.touches[0].pageX:r.pageX,y:i.touch_capable?n.touches[0].pageY:r.pageY},offset:{x:i.touch_capable?Math.round(n.changedTouches[0].pageX-(o.offset()?o.offset().left:0)):Math.round(r.pageX-(o.offset()?o.offset().left:0)),y:i.touch_capable?Math.round(n.changedTouches[0].pageY-(o.offset()?o.offset().top:0)):Math.round(r.pageY-(o.offset()?o.offset().top:0))},time:Date.now(),target:r.target,element:r.originalEvent.srcElement,index:t(r.target).index()}),0))})).on(i.endevent,(function l(c){var h=Date.now(),u=h-(o.data("lastTouch")||h+1);if(window.clearTimeout(e),o.data("callee2",l),u<i.doubletap_int&&t(c.target).index()==s.index&&u>100){o.data("doubletapped",!0),window.clearTimeout(i.tap_timer);var d={position:{x:i.touch_capable?c.originalEvent.changedTouches[0].pageX:c.pageX,y:i.touch_capable?c.originalEvent.changedTouches[0].pageY:c.pageY},offset:{x:i.touch_capable?Math.round(n.changedTouches[0].pageX-(o.offset()?o.offset().left:0)):Math.round(c.pageX-(o.offset()?o.offset().left:0)),y:i.touch_capable?Math.round(n.changedTouches[0].pageY-(o.offset()?o.offset().top:0)):Math.round(c.pageY-(o.offset()?o.offset().top:0))},time:Date.now(),target:c.target,element:c.originalEvent.srcElement,index:t(c.target).index()},f={firstTap:s,secondTap:d,interval:d.time-s.time};a||(v(r,"doubletap",c,f),s=null),a=!0,window.setTimeout((function(){a=!1}),i.doubletap_int)}else o.data("lastTouch",h),e=window.setTimeout((function(){s=null,window.clearTimeout(e)}),i.doubletap_int,[c]);o.data("lastTouch",h)}))},remove:function(){t(this).off(i.startevent,t(this).data.callee1).off(i.endevent,t(this).data.callee2)}},t.event.special.singletap={setup:function(){var e=this,n=t(e),r=null,o=null,s={x:0,y:0};n.on(i.startevent,(function t(e){return!(e.which&&1!==e.which||(o=Date.now(),r=e.target,n.data("callee1",t),s.x=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageX:e.pageX,s.y=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageY:e.pageY,0))})).on(i.endevent,(function t(a){if(n.data("callee2",t),a.target==r){var l=a.originalEvent.changedTouches?a.originalEvent.changedTouches[0].pageX:a.pageX,c=a.originalEvent.changedTouches?a.originalEvent.changedTouches[0].pageY:a.pageY;i.tap_timer=window.setTimeout((function(){var t=s.x-l,r=s.y-c;if(!n.data("doubletapped")&&!n.data("tapheld")&&(s.x==l&&s.y==c||t>=-i.tap_pixel_range&&t<=i.tap_pixel_range&&r>=-i.tap_pixel_range&&r<=i.tap_pixel_range)){var h=a.originalEvent,u={position:{x:i.touch_capable?h.changedTouches[0].pageX:a.pageX,y:i.touch_capable?h.changedTouches[0].pageY:a.pageY},offset:{x:i.touch_capable?Math.round(h.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(a.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(h.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(a.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:a.target};u.time-o<i.taphold_threshold&&v(e,"singletap",a,u)}}),i.doubletap_int)}}))},remove:function(){t(this).off(i.startevent,t(this).data.callee1).off(i.endevent,t(this).data.callee2)}},t.event.special.tap={setup:function(){var e,n,r=this,o=t(r),s=!1,a=null,l={x:0,y:0};o.on(i.startevent,(function t(i){return o.data("callee1",t),!(i.which&&1!==i.which||(s=!0,l.x=i.originalEvent.targetTouches?i.originalEvent.targetTouches[0].pageX:i.pageX,l.y=i.originalEvent.targetTouches?i.originalEvent.targetTouches[0].pageY:i.pageY,e=Date.now(),a=i.target,n=i.originalEvent.targetTouches?i.originalEvent.targetTouches:[i],0))})).on(i.endevent,(function t(c){o.data("callee2",t);var h=c.originalEvent.targetTouches?c.originalEvent.changedTouches[0].pageX:c.pageX,u=c.originalEvent.targetTouches?c.originalEvent.changedTouches[0].pageY:c.pageY,d=l.x-h,f=l.y-u;if(a==c.target&&s&&Date.now()-e<i.taphold_threshold&&(l.x==h&&l.y==u||d>=-i.tap_pixel_range&&d<=i.tap_pixel_range&&f>=-i.tap_pixel_range&&f<=i.tap_pixel_range)){for(var p=c.originalEvent,g=[],m=0;m<n.length;m++){var y={position:{x:i.touch_capable?p.changedTouches[m].pageX:c.pageX,y:i.touch_capable?p.changedTouches[m].pageY:c.pageY},offset:{x:i.touch_capable?Math.round(p.changedTouches[m].pageX-(o.offset()?o.offset().left:0)):Math.round(c.pageX-(o.offset()?o.offset().left:0)),y:i.touch_capable?Math.round(p.changedTouches[m].pageY-(o.offset()?o.offset().top:0)):Math.round(c.pageY-(o.offset()?o.offset().top:0))},time:Date.now(),target:c.target};g.push(y)}var b=2==n.length?"tap2":"tap";v(r,b,c,g)}}))},remove:function(){t(this).off(i.startevent,t(this).data.callee1).off(i.endevent,t(this).data.callee2)}},t.event.special.swipe={setup:function(){var e,n=t(this),r=!1,o=!1,s={x:0,y:0},a={x:0,y:0};n.on(i.startevent,(function o(l){(n=t(l.currentTarget)).data("callee1",o),s.x=l.originalEvent.targetTouches?l.originalEvent.targetTouches[0].pageX:l.pageX,s.y=l.originalEvent.targetTouches?l.originalEvent.targetTouches[0].pageY:l.pageY,a.x=s.x,a.y=s.y,r=!0;var c=l.originalEvent;e={position:{x:i.touch_capable?c.touches[0].pageX:l.pageX,y:i.touch_capable?c.touches[0].pageY:l.pageY},offset:{x:i.touch_capable?Math.round(c.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(l.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(c.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(l.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:l.target}})),n.on(i.moveevent,(function l(c){var h;(n=t(c.currentTarget)).data("callee2",l),a.x=c.originalEvent.targetTouches?c.originalEvent.targetTouches[0].pageX:c.pageX,a.y=c.originalEvent.targetTouches?c.originalEvent.targetTouches[0].pageY:c.pageY;var u=n.parent().data("xthreshold")?n.parent().data("xthreshold"):n.data("xthreshold"),d=n.parent().data("ythreshold")?n.parent().data("ythreshold"):n.data("ythreshold"),f=void 0!==u&&!1!==u&&parseInt(u)?parseInt(u):i.swipe_h_threshold,p=void 0!==d&&!1!==d&&parseInt(d)?parseInt(d):i.swipe_v_threshold;if(s.y>a.y&&s.y-a.y>p&&(h="swipeup"),s.x<a.x&&a.x-s.x>f&&(h="swiperight"),s.y<a.y&&a.y-s.y>p&&(h="swipedown"),s.x>a.x&&s.x-a.x>f&&(h="swipeleft"),null!=h&&r){s.x=0,s.y=0,a.x=0,a.y=0,r=!1;var g=c.originalEvent,m={position:{x:i.touch_capable?g.touches[0].pageX:c.pageX,y:i.touch_capable?g.touches[0].pageY:c.pageY},offset:{x:i.touch_capable?Math.round(g.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(c.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(g.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(c.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:c.target},v=Math.abs(e.position.x-m.position.x),y=Math.abs(e.position.y-m.position.y),b={startEvnt:e,endEvnt:m,direction:h.replace("swipe",""),xAmount:v,yAmount:y,duration:m.time-e.time};o=!0,n.trigger("swipe",b).trigger(h,b)}})),n.on(i.endevent,(function s(a){var l="";if((n=t(a.currentTarget)).data("callee3",s),o){var c=n.data("xthreshold"),h=n.data("ythreshold"),u=void 0!==c&&!1!==c&&parseInt(c)?parseInt(c):i.swipe_h_threshold,d=void 0!==h&&!1!==h&&parseInt(h)?parseInt(h):i.swipe_v_threshold,f=a.originalEvent,p={position:{x:i.touch_capable?f.changedTouches[0].pageX:a.pageX,y:i.touch_capable?f.changedTouches[0].pageY:a.pageY},offset:{x:i.touch_capable?Math.round(f.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(a.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(f.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(a.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:a.target};e.position.y>p.position.y&&e.position.y-p.position.y>d&&(l="swipeup"),e.position.x<p.position.x&&p.position.x-e.position.x>u&&(l="swiperight"),e.position.y<p.position.y&&p.position.y-e.position.y>d&&(l="swipedown"),e.position.x>p.position.x&&e.position.x-p.position.x>u&&(l="swipeleft");var g=Math.abs(e.position.x-p.position.x),m=Math.abs(e.position.y-p.position.y),v={startEvnt:e,endEvnt:p,direction:l.replace("swipe",""),xAmount:g,yAmount:m,duration:p.time-e.time};n.trigger("swipeend",v)}r=!1,o=!1}))},remove:function(){t(this).off(i.startevent,t(this).data.callee1).off(i.moveevent,t(this).data.callee2).off(i.endevent,t(this).data.callee3)}},t.event.special.scrollstart={setup:function(){var e,n,r=this,o=t(r);function s(t,i){v(r,(e=i)?"scrollstart":"scrollend",t)}o.on(i.scrollevent,(function t(i){o.data("callee",t),e||s(i,!0),clearTimeout(n),n=setTimeout((function(){s(i,!1)}),50)}))},remove:function(){t(this).off(i.scrollevent,t(this).data.callee)}};var n,r,o,s,a=t(window),l={0:!0,180:!0};if(i.orientation_support){var c=window.innerWidth||a.width(),h=window.innerHeight||a.height();o=c>h&&c-h>50,s=l[window.orientation],(o&&s||!o&&!s)&&(l={"-90":!0,90:!0})}function u(){var t=n();t!==r&&(r=t,a.trigger("orientationchange"))}t.event.special.orientationchange={setup:function(){return!i.orientation_support&&(r=n(),a.on("throttledresize",u),!0)},teardown:function(){return!i.orientation_support&&(a.off("throttledresize",u),!0)},add:function(t){var e=t.handler;t.handler=function(t){return t.orientation=n(),e.apply(this,arguments)}}},t.event.special.orientationchange.orientation=n=function(){var t=document.documentElement;return(i.orientation_support?l[window.orientation]:t&&t.clientWidth/t.clientHeight<1.1)?"portrait":"landscape"},t.event.special.throttledresize={setup:function(){t(this).on("resize",g)},teardown:function(){t(this).off("resize",g)}};var d,f,p,g=function(){f=Date.now(),(p=f-m)>=250?(m=f,t(this).trigger("throttledresize")):(d&&window.clearTimeout(d),d=window.setTimeout(u,250-p))},m=0;function v(e,i,n,r){var o=n.type;n.type=i,t.event.dispatch.call(e,n,r),n.type=o}t.each({scrollend:"scrollstart",swipeup:"swipe",swiperight:"swipe",swipedown:"swipe",swipeleft:"swipe",swipeend:"swipe",tap2:"tap",taphold2:"taphold"},(function(e,i){t.event.special[e]={setup:function(){t(this).on(i,t.noop)}}}))}(jQuery),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.hyphenationPatternsEnUs=e()}(this,(function(){return{patterns:[" ",".ach4",".ad4der",".af1t",".al3t",".am5at",".an5c",".ang4",".ani5m",".ant4",".an3te",".anti5s",".ar5s",".ar4tie",".ar4ty",".as3c",".as1p",".as1s",".aster5",".atom5",".au1d",".av4i",".awn4",".ba4g",".ba5na",".bas4e",".ber4",".be5ra",".be3sm",".be5sto",".bri2",".but4ti",".cam4pe",".can5c",".capa5b",".car5ol",".ca4t",".ce4la",".ch4",".chill5i",".ci2",".cit5r",".co3e",".co4r",".cor5ner",".de4moi",".de3o",".de3ra",".de3ri",".des4c",".dictio5",".do4t",".du4c",".dumb5",".earth5",".eas3i",".eb4",".eer4",".eg2",".el5d",".el3em",".enam3",".en3g",".en3s",".eq5ui5t",".er4ri",".es3",".eu3",".eye5",".fes3",".for5mer",".ga2",".ge2",".gen3t4",".ge5og",".gi5a",".gi4b",".go4r",".hand5i",".han5k",".he2",".hero5i",".hes3",".het3",".hi3b",".hi3er",".hon5ey",".hon3o",".hov5",".id4l",".idol3",".im3m",".im5pin",".in1",".in3ci",".ine2",".in2k",".in3s",".ir5r",".is4i",".ju3r",".la4cy",".la4m",".lat5er",".lath5",".le2",".leg5e",".len4",".lep5",".lev1",".li4g",".lig5a",".li2n",".li3o",".li4t",".mag5a5",".mal5o",".man5a",".mar5ti",".me2",".mer3c",".me5ter",".mis1",".mist5i",".mon3e",".mo3ro",".mu5ta",".muta5b",".ni4c",".od2",".odd5",".of5te",".or5ato",".or3c",".or1d",".or3t",".os3",".os4tl",".oth3",".out3",".ped5al",".pe5te",".pe5tit",".pi4e",".pio5n",".pi2t",".pre3m",".ra4c",".ran4t",".ratio5na",".ree2",".re5mit",".res2",".re5stat",".ri4g",".rit5u",".ro4q",".ros5t",".row5d",".ru4d",".sci3e",".self5",".sell5",".se2n",".se5rie",".sh2",".si2",".sing4",".st4",".sta5bl",".sy2",".ta4",".te4",".ten5an",".th2",".ti2",".til4",".tim5o5",".ting4",".tin5k",".ton4a",".to4p",".top5i",".tou5s",".trib5ut",".un1a",".un3ce",".under5",".un1e",".un5k",".un5o",".un3u",".up3",".ure3",".us5a",".ven4de",".ve5ra",".wil5i",".ye4","4ab.","a5bal","a5ban","abe2","ab5erd","abi5a","ab5it5ab","ab5lat","ab5o5liz","4abr","ab5rog","ab3ul","a4car","ac5ard","ac5aro","a5ceou","ac1er","a5chet","4a2ci","a3cie","ac1in","a3cio","ac5rob","act5if","ac3ul","ac4um","a2d","ad4din","ad5er.","2adi","a3dia","ad3ica","adi4er","a3dio","a3dit","a5diu","ad4le","ad3ow","ad5ran","ad4su","4adu","a3duc","ad5um","ae4r","aeri4e","a2f","aff4","a4gab","aga4n","ag5ell","age4o","4ageu","ag1i","4ag4l","ag1n","a2go","3agog","ag3oni","a5guer","ag5ul","a4gy","a3ha","a3he","ah4l","a3ho","ai2","a5ia","a3ic.","ai5ly","a4i4n","ain5in","ain5o","ait5en","a1j","ak1en","al5ab","al3ad","a4lar","4aldi","2ale","al3end","a4lenti","a5le5o","al1i","al4ia.","ali4e","al5lev","4allic","4alm","a5log.","a4ly.","4alys","5a5lyst","5alyt","3alyz","4ama","am5ab","am3ag","ama5ra","am5asc","a4matis","a4m5ato","am5era","am3ic","am5if","am5ily","am1in","ami4no","a2mo","a5mon","amor5i","amp5en","a2n","an3age","3analy","a3nar","an3arc","anar4i","a3nati","4and","ande4s","an3dis","an1dl","an4dow","a5nee","a3nen","an5est.","a3neu","2ang","ang5ie","an1gl","a4n1ic","a3nies","an3i3f","an4ime","a5nimi","a5nine","an3io","a3nip","an3ish","an3it","a3niu","an4kli","5anniz","ano4","an5ot","anoth5","an2sa","an4sco","an4sn","an2sp","ans3po","an4st","an4sur","antal4","an4tie","4anto","an2tr","an4tw","an3ua","an3ul","a5nur","4ao","apar4","ap5at","ap5ero","a3pher","4aphi","a4pilla","ap5illar","ap3in","ap3ita","a3pitu","a2pl","apoc5","ap5ola","apor5i","apos3t","aps5es","a3pu","aque5","2a2r","ar3act","a5rade","ar5adis","ar3al","a5ramete","aran4g","ara3p","ar4at","a5ratio","ar5ativ","a5rau","ar5av4","araw4","arbal4","ar4chan","ar5dine","ar4dr","ar5eas","a3ree","ar3ent","a5ress","ar4fi","ar4fl","ar1i","ar5ial","ar3ian","a3riet","ar4im","ar5inat","ar3io","ar2iz","ar2mi","ar5o5d","a5roni","a3roo","ar2p","ar3q","arre4","ar4sa","ar2sh","4as.","as4ab","as3ant","ashi4","a5sia.","a3sib","a3sic","5a5si4t","ask3i","as4l","a4soc","as5ph","as4sh","as3ten","as1tr","asur5a","a2ta","at3abl","at5ac","at3alo","at5ap","ate5c","at5ech","at3ego","at3en.","at3era","ater5n","a5terna","at3est","at5ev","4ath","ath5em","a5then","at4ho","ath5om","4ati.","a5tia","at5i5b","at1ic","at3if","ation5ar","at3itu","a4tog","a2tom","at5omiz","a4top","a4tos","a1tr","at5rop","at4sk","at4tag","at5te","at4th","a2tu","at5ua","at5ue","at3ul","at3ura","a2ty","au4b","augh3","au3gu","au4l2","aun5d","au3r","au5sib","aut5en","au1th","a2va","av3ag","a5van","ave4no","av3era","av5ern","av5ery","av1i","avi4er","av3ig","av5oc","a1vor","3away","aw3i","aw4ly","aws4","ax4ic","ax4id","ay5al","aye4","ays4","azi4er","azz5i","5ba.","bad5ger","ba4ge","bal1a","ban5dag","ban4e","ban3i","barbi5","bari4a","bas4si","1bat","ba4z","2b1b","b2be","b3ber","bbi4na","4b1d","4be.","beak4","beat3","4be2d","be3da","be3de","be3di","be3gi","be5gu","1bel","be1li","be3lo","4be5m","be5nig","be5nu","4bes4","be3sp","be5str","3bet","bet5iz","be5tr","be3tw","be3w","be5yo","2bf","4b3h","bi2b","bi4d","3bie","bi5en","bi4er","2b3if","1bil","bi3liz","bina5r4","bin4d","bi5net","bi3ogr","bi5ou","bi2t","3bi3tio","bi3tr","3bit5ua","b5itz","b1j","bk4","b2l2","blath5","b4le.","blen4","5blesp","b3lis","b4lo","blun4t","4b1m","4b3n","bne5g","3bod","bod3i","bo4e","bol3ic","bom4bi","bon4a","bon5at","3boo","5bor.","4b1ora","bor5d","5bore","5bori","5bos4","b5ota","both5","bo4to","bound3","4bp","4brit","broth3","2b5s2","bsor4","2bt","bt4l","b4to","b3tr","buf4fer","bu4ga","bu3li","bumi4","bu4n","bunt4i","bu3re","bus5ie","buss4e","5bust","4buta","3butio","b5uto","b1v","4b5w","5by.","bys4","1ca","cab3in","ca1bl","cach4","ca5den","4cag4","2c5ah","ca3lat","cal4la","call5in","4calo","can5d","can4e","can4ic","can5is","can3iz","can4ty","cany4","ca5per","car5om","cast5er","cas5tig","4casy","ca4th","4cativ","cav5al","c3c","ccha5","cci4a","ccompa5","ccon4","ccou3t","2ce.","4ced.","4ceden","3cei","5cel.","3cell","1cen","3cenc","2cen4e","4ceni","3cent","3cep","ce5ram","4cesa","3cessi","ces5si5b","ces5t","cet4","c5e4ta","cew4","2ch","4ch.","4ch3ab","5chanic","ch5a5nis","che2","cheap3","4ched","che5lo","3chemi","ch5ene","ch3er.","ch3ers","4ch1in","5chine.","ch5iness","5chini","5chio","3chit","chi2z","3cho2","ch4ti","1ci","3cia","ci2a5b","cia5r","ci5c","4cier","5cific.","4cii","ci4la","3cili","2cim","2cin","c4ina","3cinat","cin3em","c1ing","c5ing.","5cino","cion4","4cipe","ci3ph","4cipic","4cista","4cisti","2c1it","cit3iz","5ciz","ck1","ck3i","1c4l4","4clar","c5laratio","5clare","cle4m","4clic","clim4","cly4","c5n","1co","co5ag","coe2","2cog","co4gr","coi4","co3inc","col5i","5colo","col3or","com5er","con4a","c4one","con3g","con5t","co3pa","cop3ic","co4pl","4corb","coro3n","cos4e","cov1","cove4","cow5a","coz5e","co5zi","c1q","cras5t","5crat.","5cratic","cre3at","5cred","4c3reta","cre4v","cri2","cri5f","c4rin","cris4","5criti","cro4pl","crop5o","cros4e","cru4d","4c3s2","2c1t","cta4b","ct5ang","c5tant","c2te","c3ter","c4ticu","ctim3i","ctu4r","c4tw","cud5","c4uf","c4ui","cu5ity","5culi","cul4tis","3cultu","cu2ma","c3ume","cu4mi","3cun","cu3pi","cu5py","cur5a4b","cu5ria","1cus","cuss4i","3c4ut","cu4tie","4c5utiv","4cutr","1cy","cze4","1d2a","5da.","2d3a4b","dach4","4daf","2dag","da2m2","dan3g","dard5","dark5","4dary","3dat","4dativ","4dato","5dav4","dav5e","5day","d1b","d5c","d1d4","2de.","deaf5","deb5it","de4bon","decan4","de4cil","de5com","2d1ed","4dee.","de5if","deli4e","del5i5q","de5lo","d4em","5dem.","3demic","dem5ic.","de5mil","de4mons","demor5","1den","de4nar","de3no","denti5f","de3nu","de1p","de3pa","depi4","de2pu","d3eq","d4erh","5derm","dern5iz","der5s","des2","d2es.","de1sc","de2s5o","des3ti","de3str","de4su","de1t","de2to","de1v","dev3il","4dey","4d1f","d4ga","d3ge4t","dg1i","d2gy","d1h2","5di.","1d4i3a","dia5b","di4cam","d4ice","3dict","3did","5di3en","d1if","di3ge","di4lato","d1in","1dina","3dine.","5dini","di5niz","1dio","dio5g","di4pl","dir2","di1re","dirt5i","dis1","5disi","d4is3t","d2iti","1di1v","d1j","d5k2","4d5la","3dle.","3dled","3dles.","4dless","2d3lo","4d5lu","2dly","d1m","4d1n4","1do","3do.","do5de","5doe","2d5of","d4og","do4la","doli4","do5lor","dom5iz","do3nat","doni4","doo3d","dop4p","d4or","3dos","4d5out","do4v","3dox","d1p","1dr","drag5on","4drai","dre4","drea5r","5dren","dri4b","dril4","dro4p","4drow","5drupli","4dry","2d1s2","ds4p","d4sw","d4sy","d2th","1du","d1u1a","du2c","d1uca","duc5er","4duct.","4ducts","du5el","du4g","d3ule","dum4be","du4n","4dup","du4pe","d1v","d1w","d2y","5dyn","dy4se","dys5p","e1a4b","e3act","ead1","ead5ie","ea4ge","ea5ger","ea4l","eal5er","eal3ou","eam3er","e5and","ear3a","ear4c","ear5es","ear4ic","ear4il","ear5k","ear2t","eart3e","ea5sp","e3ass","east3","ea2t","eat5en","eath3i","e5atif","e4a3tu","ea2v","eav3en","eav5i","eav5o","2e1b","e4bel.","e4bels","e4ben","e4bit","e3br","e4cad","ecan5c","ecca5","e1ce","ec5essa","ec2i","e4cib","ec5ificat","ec5ifie","ec5ify","ec3im","eci4t","e5cite","e4clam","e4clus","e2col","e4comm","e4compe","e4conc","e2cor","ec3ora","eco5ro","e1cr","e4crem","ec4tan","ec4te","e1cu","e4cul","ec3ula","2e2da","4ed3d","e4d1er","ede4s","4edi","e3dia","ed3ib","ed3ica","ed3im","ed1it","edi5z","4edo","e4dol","edon2","e4dri","e4dul","ed5ulo","ee2c","eed3i","ee2f","eel3i","ee4ly","ee2m","ee4na","ee4p1","ee2s4","eest4","ee4ty","e5ex","e1f","e4f3ere","1eff","e4fic","5efici","efil4","e3fine","ef5i5nite","3efit","efor5es","e4fuse.","4egal","eger4","eg5ib","eg4ic","eg5ing","e5git5","eg5n","e4go.","e4gos","eg1ul","e5gur","5egy","e1h4","eher4","ei2","e5ic","ei5d","eig2","ei5gl","e3imb","e3inf","e1ing","e5inst","eir4d","eit3e","ei3th","e5ity","e1j","e4jud","ej5udi","eki4n","ek4la","e1la","e4la.","e4lac","elan4d","el5ativ","e4law","elaxa4","e3lea","el5ebra","5elec","e4led","el3ega","e5len","e4l1er","e1les","el2f","el2i","e3libe","e4l5ic.","el3ica","e3lier","el5igib","e5lim","e4l3ing","e3lio","e2lis","el5ish","e3liv3","4ella","el4lab","ello4","e5loc","el5og","el3op.","el2sh","el4ta","e5lud","el5ug","e4mac","e4mag","e5man","em5ana","em5b","e1me","e2mel","e4met","em3ica","emi4e","em5igra","em1in2","em5ine","em3i3ni","e4mis","em5ish","e5miss","em3iz","5emniz","emo4g","emoni5o","em3pi","e4mul","em5ula","emu3n","e3my","en5amo","e4nant","ench4er","en3dic","e5nea","e5nee","en3em","en5ero","en5esi","en5est","en3etr","e3new","en5ics","e5nie","e5nil","e3nio","en3ish","en3it","e5niu","5eniz","4enn","4eno","eno4g","e4nos","en3ov","en4sw","ent5age","4enthes","en3ua","en5uf","e3ny.","4en3z","e5of","eo2g","e4oi4","e3ol","eop3ar","e1or","eo3re","eo5rol","eos4","e4ot","eo4to","e5out","e5ow","e2pa","e3pai","ep5anc","e5pel","e3pent","ep5etitio","ephe4","e4pli","e1po","e4prec","ep5reca","e4pred","ep3reh","e3pro","e4prob","ep4sh","ep5ti5b","e4put","ep5uta","e1q","equi3l","e4q3ui3s","er1a","era4b","4erand","er3ar","4erati.","2erb","er4bl","er3ch","er4che","2ere.","e3real","ere5co","ere3in","er5el.","er3emo","er5ena","er5ence","4erene","er3ent","ere4q","er5ess","er3est","eret4","er1h","er1i","e1ria4","5erick","e3rien","eri4er","er3ine","e1rio","4erit","er4iu","eri4v","e4riva","er3m4","er4nis","4ernit","5erniz","er3no","2ero","er5ob","e5roc","ero4r","er1ou","er1s","er3set","ert3er","4ertl","er3tw","4eru","eru4t","5erwau","e1s4a","e4sage.","e4sages","es2c","e2sca","es5can","e3scr","es5cu","e1s2e","e2sec","es5ecr","es5enc","e4sert.","e4serts","e4serva","4esh","e3sha","esh5en","e1si","e2sic","e2sid","es5iden","es5igna","e2s5im","es4i4n","esis4te","esi4u","e5skin","es4mi","e2sol","es3olu","e2son","es5ona","e1sp","es3per","es5pira","es4pre","2ess","es4si4b","estan4","es3tig","es5tim","4es2to","e3ston","2estr","e5stro","estruc5","e2sur","es5urr","es4w","eta4b","eten4d","e3teo","ethod3","et1ic","e5tide","etin4","eti4no","e5tir","e5titio","et5itiv","4etn","et5ona","e3tra","e3tre","et3ric","et5rif","et3rog","et5ros","et3ua","et5ym","et5z","4eu","e5un","e3up","eu3ro","eus4","eute4","euti5l","eu5tr","eva2p5","e2vas","ev5ast","e5vea","ev3ell","evel3o","e5veng","even4i","ev1er","e5verb","e1vi","ev3id","evi4l","e4vin","evi4v","e5voc","e5vu","e1wa","e4wag","e5wee","e3wh","ewil5","ew3ing","e3wit","1exp","5eyc","5eye.","eys4","1fa","fa3bl","fab3r","fa4ce","4fag","fain4","fall5e","4fa4ma","fam5is","5far","far5th","fa3ta","fa3the","4fato","fault5","4f5b","4fd","4fe.","feas4","feath3","fe4b","4feca","5fect","2fed","fe3li","fe4mo","fen2d","fend5e","fer1","5ferr","fev4","4f1f","f4fes","f4fie","f5fin.","f2f5is","f4fly","f2fy","4fh","1fi","fi3a","2f3ic.","4f3ical","f3ican","4ficate","f3icen","fi3cer","fic4i","5ficia","5ficie","4fics","fi3cu","fi5del","fight5","fil5i","fill5in","4fily","2fin","5fina","fin2d5","fi2ne","f1in3g","fin4n","fis4ti","f4l2","f5less","flin4","flo3re","f2ly5","4fm","4fn","1fo","5fon","fon4de","fon4t","fo2r","fo5rat","for5ay","fore5t","for4i","fort5a","fos5","4f5p","fra4t","f5rea","fres5c","fri2","fril4","frol5","2f3s","2ft","f4to","f2ty","3fu","fu5el","4fug","fu4min","fu5ne","fu3ri","fusi4","fus4s","4futa","1fy","1ga","gaf4","5gal.","3gali","ga3lo","2gam","ga5met","g5amo","gan5is","ga3niz","gani5za","4gano","gar5n4","gass4","gath3","4gativ","4gaz","g3b","gd4","2ge.","2ged","geez4","gel4in","ge5lis","ge5liz","4gely","1gen","ge4nat","ge5niz","4geno","4geny","1geo","ge3om","g4ery","5gesi","geth5","4geto","ge4ty","ge4v","4g1g2","g2ge","g3ger","gglu5","ggo4","gh3in","gh5out","gh4to","5gi.","1gi4a","gia5r","g1ic","5gicia","g4ico","gien5","5gies.","gil4","g3imen","3g4in.","gin5ge","5g4ins","5gio","3gir","gir4l","g3isl","gi4u","5giv","3giz","gl2","gla4","glad5i","5glas","1gle","gli4b","g3lig","3glo","glo3r","g1m","g4my","gn4a","g4na.","gnet4t","g1ni","g2nin","g4nio","g1no","g4non","1go","3go.","gob5","5goe","3g4o4g","go3is","gon2","4g3o3na","gondo5","go3ni","5goo","go5riz","gor5ou","5gos.","gov1","g3p","1gr","4grada","g4rai","gran2","5graph.","g5rapher","5graphic","4graphy","4gray","gre4n","4gress.","4grit","g4ro","gruf4","gs2","g5ste","gth3","gu4a","3guard","2gue","5gui5t","3gun","3gus","4gu4t","g3w","1gy","2g5y3n","gy5ra","h3ab4l","hach4","hae4m","hae4t","h5agu","ha3la","hala3m","ha4m","han4ci","han4cy","5hand.","han4g","hang5er","hang5o","h5a5niz","han4k","han4te","hap3l","hap5t","ha3ran","ha5ras","har2d","hard3e","har4le","harp5en","har5ter","has5s","haun4","5haz","haz3a","h1b","1head","3hear","he4can","h5ecat","h4ed","he5do5","he3l4i","hel4lis","hel4ly","h5elo","hem4p","he2n","hena4","hen5at","heo5r","hep5","h4era","hera3p","her4ba","here5a","h3ern","h5erou","h3ery","h1es","he2s5p","he4t","het4ed","heu4","h1f","h1h","hi5an","hi4co","high5","h4il2","himer4","h4ina","hion4e","hi4p","hir4l","hi3ro","hir4p","hir4r","his3el","his4s","hith5er","hi2v","4hk","4h1l4","hlan4","h2lo","hlo3ri","4h1m","hmet4","2h1n","h5odiz","h5ods","ho4g","hoge4","hol5ar","3hol4e","ho4ma","home3","hon4a","ho5ny","3hood","hoon4","hor5at","ho5ris","hort3e","ho5ru","hos4e","ho5sen","hos1p","1hous","house3","hov5el","4h5p","4hr4","hree5","hro5niz","hro3po","4h1s2","h4sh","h4tar","ht1en","ht5es","h4ty","hu4g","hu4min","hun5ke","hun4t","hus3t4","hu4t","h1w","h4wart","hy3pe","hy3ph","hy2s","2i1a","i2al","iam4","iam5ete","i2an","4ianc","ian3i","4ian4t","ia5pe","iass4","i4ativ","ia4tric","i4atu","ibe4","ib3era","ib5ert","ib5ia","ib3in","ib5it.","ib5ite","i1bl","ib3li","i5bo","i1br","i2b5ri","i5bun","4icam","5icap","4icar","i4car.","i4cara","icas5","i4cay","iccu4","4iceo","4ich","2ici","i5cid","ic5ina","i2cip","ic3ipa","i4cly","i2c5oc","4i1cr","5icra","i4cry","ic4te","ictu2","ic4t3ua","ic3ula","ic4um","ic5uo","i3cur","2id","i4dai","id5anc","id5d","ide3al","ide4s","i2di","id5ian","idi4ar","i5die","id3io","idi5ou","id1it","id5iu","i3dle","i4dom","id3ow","i4dr","i2du","id5uo","2ie4","ied4e","5ie5ga","ield3","ien5a4","ien4e","i5enn","i3enti","i1er.","i3esc","i1est","i3et","4if.","if5ero","iff5en","if4fr","4ific.","i3fie","i3fl","4ift","2ig","iga5b","ig3era","ight3i","4igi","i3gib","ig3il","ig3in","ig3it","i4g4l","i2go","ig3or","ig5ot","i5gre","igu5i","ig1ur","i3h","4i5i4","i3j","4ik","i1la","il3a4b","i4lade","i2l5am","ila5ra","i3leg","il1er","ilev4","il5f","il1i","il3ia","il2ib","il3io","il4ist","2ilit","il2iz","ill5ab","4iln","il3oq","il4ty","il5ur","il3v","i4mag","im3age","ima5ry","imenta5r","4imet","im1i","im5ida","imi5le","i5mini","4imit","im4ni","i3mon","i2mu","im3ula","2in.","i4n3au","4inav","incel4","in3cer","4ind","in5dling","2ine","i3nee","iner4ar","i5ness","4inga","4inge","in5gen","4ingi","in5gling","4ingo","4ingu","2ini","i5ni.","i4nia","in3io","in1is","i5nite.","5initio","in3ity","4ink","4inl","2inn","2i1no","i4no4c","ino4s","i4not","2ins","in3se","insur5a","2int.","2in4th","in1u","i5nus","4iny","2io","4io.","ioge4","io2gr","i1ol","io4m","ion3at","ion4ery","ion3i","io5ph","ior3i","i4os","io5th","i5oti","io4to","i4our","2ip","ipe4","iphras4","ip3i","ip4ic","ip4re4","ip3ul","i3qua","iq5uef","iq3uid","iq3ui3t","4ir","i1ra","ira4b","i4rac","ird5e","ire4de","i4ref","i4rel4","i4res","ir5gi","ir1i","iri5de","ir4is","iri3tu","5i5r2iz","ir4min","iro4g","5iron.","ir5ul","2is.","is5ag","is3ar","isas5","2is1c","is3ch","4ise","is3er","3isf","is5han","is3hon","ish5op","is3ib","isi4d","i5sis","is5itiv","4is4k","islan4","4isms","i2so","iso5mer","is1p","is2pi","is4py","4is1s","is4sal","issen4","is4ses","is4ta.","is1te","is1ti","ist4ly","4istral","i2su","is5us","4ita.","ita4bi","i4tag","4ita5m","i3tan","i3tat","2ite","it3era","i5teri","it4es","2ith","i1ti","4itia","4i2tic","it3ica","5i5tick","it3ig","it5ill","i2tim","2itio","4itis","i4tism","i2t5o5m","4iton","i4tram","it5ry","4itt","it3uat","i5tud","it3ul","4itz.","i1u","2iv","iv3ell","iv3en.","i4v3er.","i4vers.","iv5il.","iv5io","iv1it","i5vore","iv3o3ro","i4v3ot","4i5w","ix4o","4iy","4izar","izi4","5izont","5ja","jac4q","ja4p","1je","jer5s","4jestie","4jesty","jew3","jo4p","5judg","3ka.","k3ab","k5ag","kais4","kal4","k1b","k2ed","1kee","ke4g","ke5li","k3en4d","k1er","kes4","k3est.","ke4ty","k3f","kh4","k1i","5ki.","5k2ic","k4ill","kilo5","k4im","k4in.","kin4de","k5iness","kin4g","ki4p","kis4","k5ish","kk4","k1l","4kley","4kly","k1m","k5nes","1k2no","ko5r","kosh4","k3ou","kro5n","4k1s2","k4sc","ks4l","k4sy","k5t","k1w","lab3ic","l4abo","laci4","l4ade","la3dy","lag4n","lam3o","3land","lan4dl","lan5et","lan4te","lar4g","lar3i","las4e","la5tan","4lateli","4lativ","4lav","la4v4a","2l1b","lbin4","4l1c2","lce4","l3ci","2ld","l2de","ld4ere","ld4eri","ldi4","ld5is","l3dr","l4dri","le2a","le4bi","left5","5leg.","5legg","le4mat","lem5atic","4len.","3lenc","5lene.","1lent","le3ph","le4pr","lera5b","ler4e","3lerg","3l4eri","l4ero","les2","le5sco","5lesq","3less","5less.","l3eva","lev4er.","lev4era","lev4ers","3ley","4leye","2lf","l5fr","4l1g4","l5ga","lgar3","l4ges","lgo3","2l3h","li4ag","li2am","liar5iz","li4as","li4ato","li5bi","5licio","li4cor","4lics","4lict.","l4icu","l3icy","l3ida","lid5er","3lidi","lif3er","l4iff","li4fl","5ligate","3ligh","li4gra","3lik","4l4i4l","lim4bl","lim3i","li4mo","l4im4p","l4ina","1l4ine","lin3ea","lin3i","link5er","li5og","4l4iq","lis4p","l1it","l2it.","5litica","l5i5tics","liv3er","l1iz","4lj","lka3","l3kal","lka4t","l1l","l4law","l2le","l5lea","l3lec","l3leg","l3lel","l3le4n","l3le4t","ll2i","l2lin4","l5lina","ll4o","lloqui5","ll5out","l5low","2lm","l5met","lm3ing","l4mod","lmon4","2l1n2","3lo.","lob5al","lo4ci","4lof","3logic","l5ogo","3logu","lom3er","5long","lon4i","l3o3niz","lood5","5lope.","lop3i","l3opm","lora4","lo4rato","lo5rie","lor5ou","5los.","los5et","5losophiz","5losophy","los4t","lo4ta","loun5d","2lout","4lov","2lp","lpa5b","l3pha","l5phi","lp5ing","l3pit","l4pl","l5pr","4l1r","2l1s2","l4sc","l2se","l4sie","4lt","lt5ag","ltane5","l1te","lten4","ltera4","lth3i","l5ties.","ltis4","l1tr","ltu2","ltur3a","lu5a","lu3br","luch4","lu3ci","lu3en","luf4","lu5id","lu4ma","5lumi","l5umn.","5lumnia","lu3o","luo3r","4lup","luss4","lus3te","1lut","l5ven","l5vet4","2l1w","1ly","4lya","4lyb","ly5me","ly3no","2lys4","l5yse","1ma","2mab","ma2ca","ma5chine","ma4cl","mag5in","5magn","2mah","maid5","4mald","ma3lig","ma5lin","mal4li","mal4ty","5mania","man5is","man3iz","4map","ma5rine.","ma5riz","mar4ly","mar3v","ma5sce","mas4e","mas1t","5mate","math3","ma3tis","4matiza","4m1b","mba4t5","m5bil","m4b3ing","mbi4v","4m5c","4me.","2med","4med.","5media","me3die","m5e5dy","me2g","mel5on","mel4t","me2m","mem1o3","1men","men4a","men5ac","men4de","4mene","men4i","mens4","mensu5","3ment","men4te","me5on","m5ersa","2mes","3mesti","me4ta","met3al","me1te","me5thi","m4etr","5metric","me5trie","me3try","me4v","4m1f","2mh","5mi.","mi3a","mid4a","mid4g","mig4","3milia","m5i5lie","m4ill","min4a","3mind","m5inee","m4ingl","min5gli","m5ingly","min4t","m4inu","miot4","m2is","mis4er.","mis5l","mis4ti","m5istry","4mith","m2iz","4mk","4m1l","m1m","mma5ry","4m1n","mn4a","m4nin","mn4o","1mo","4mocr","5mocratiz","mo2d1","mo4go","mois2","moi5se","4mok","mo5lest","mo3me","mon5et","mon5ge","moni3a","mon4ism","mon4ist","mo3niz","monol4","mo3ny.","mo2r","4mora.","mos2","mo5sey","mo3sp","moth3","m5ouf","3mous","mo2v","4m1p","mpara5","mpa5rab","mpar5i","m3pet","mphas4","m2pi","mpi4a","mp5ies","m4p1in","m5pir","mp5is","mpo3ri","mpos5ite","m4pous","mpov5","mp4tr","m2py","4m3r","4m1s2","m4sh","m5si","4mt","1mu","mula5r4","5mult","multi3","3mum","mun2","4mup","mu4u","4mw","1na","2n1a2b","n4abu","4nac.","na4ca","n5act","nag5er.","nak4","na4li","na5lia","4nalt","na5mit","n2an","nanci4","nan4it","nank4","nar3c","4nare","nar3i","nar4l","n5arm","n4as","nas4c","nas5ti","n2at","na3tal","nato5miz","n2au","nau3se","3naut","nav4e","4n1b4","ncar5","n4ces.","n3cha","n5cheo","n5chil","n3chis","nc1in","nc4it","ncour5a","n1cr","n1cu","n4dai","n5dan","n1de","nd5est.","ndi4b","n5d2if","n1dit","n3diz","n5duc","ndu4r","nd2we","2ne.","n3ear","ne2b","neb3u","ne2c","5neck","2ned","ne4gat","neg5ativ","5nege","ne4la","nel5iz","ne5mi","ne4mo","1nen","4nene","3neo","ne4po","ne2q","n1er","nera5b","n4erar","n2ere","n4er5i","ner4r","1nes","2nes.","4nesp","2nest","4nesw","3netic","ne4v","n5eve","ne4w","n3f","n4gab","n3gel","nge4n4e","n5gere","n3geri","ng5ha","n3gib","ng1in","n5git","n4gla","ngov4","ng5sh","n1gu","n4gum","n2gy","4n1h4","nha4","nhab3","nhe4","3n4ia","ni3an","ni4ap","ni3ba","ni4bl","ni4d","ni5di","ni4er","ni2fi","ni5ficat","n5igr","nik4","n1im","ni3miz","n1in","5nine.","nin4g","ni4o","5nis.","nis4ta","n2it","n4ith","3nitio","n3itor","ni3tr","n1j","4nk2","n5kero","n3ket","nk3in","n1kl","4n1l","n5m","nme4","nmet4","4n1n2","nne4","nni3al","nni4v","nob4l","no3ble","n5ocl","4n3o2d","3noe","4nog","noge4","nois5i","no5l4i","5nologis","3nomic","n5o5miz","no4mo","no3my","no4n","non4ag","non5i","n5oniz","4nop","5nop5o5li","nor5ab","no4rary","4nosc","nos4e","nos5t","no5ta","1nou","3noun","nov3el3","nowl3","n1p4","npi4","npre4c","n1q","n1r","nru4","2n1s2","ns5ab","nsati4","ns4c","n2se","n4s3es","nsid1","nsig4","n2sl","ns3m","n4soc","ns4pe","n5spi","nsta5bl","n1t","nta4b","nter3s","nt2i","n5tib","nti4er","nti2f","n3tine","n4t3ing","nti4p","ntrol5li","nt4s","ntu3me","nu1a","nu4d","nu5en","nuf4fe","n3uin","3nu3it","n4um","nu1me","n5umi","3nu4n","n3uo","nu3tr","n1v2","n1w4","nym4","nyp4","4nz","n3za","4oa","oad3","o5a5les","oard3","oas4e","oast5e","oat5i","ob3a3b","o5bar","obe4l","o1bi","o2bin","ob5ing","o3br","ob3ul","o1ce","och4","o3chet","ocif3","o4cil","o4clam","o4cod","oc3rac","oc5ratiz","ocre3","5ocrit","octor5a","oc3ula","o5cure","od5ded","od3ic","odi3o","o2do4","odor3","od5uct.","od5ucts","o4el","o5eng","o3er","oe4ta","o3ev","o2fi","of5ite","ofit4t","o2g5a5r","og5ativ","o4gato","o1ge","o5gene","o5geo","o4ger","o3gie","1o1gis","og3it","o4gl","o5g2ly","3ogniz","o4gro","ogu5i","1ogy","2ogyn","o1h2","ohab5","oi2","oic3es","oi3der","oiff4","oig4","oi5let","o3ing","oint5er","o5ism","oi5son","oist5en","oi3ter","o5j","2ok","o3ken","ok5ie","o1la","o4lan","olass4","ol2d","old1e","ol3er","o3lesc","o3let","ol4fi","ol2i","o3lia","o3lice","ol5id.","o3li4f","o5lil","ol3ing","o5lio","o5lis.","ol3ish","o5lite","o5litio","o5liv","olli4e","ol5ogiz","olo4r","ol5pl","ol2t","ol3ub","ol3ume","ol3un","o5lus","ol2v","o2ly","om5ah","oma5l","om5atiz","om2be","om4bl","o2me","om3ena","om5erse","o4met","om5etry","o3mia","om3ic.","om3ica","o5mid","om1in","o5mini","5ommend","omo4ge","o4mon","om3pi","ompro5","o2n","on1a","on4ac","o3nan","on1c","3oncil","2ond","on5do","o3nen","on5est","on4gu","on1ic","o3nio","on1is","o5niu","on3key","on4odi","on3omy","on3s","onspi4","onspir5a","onsu4","onten4","on3t4i","ontif5","on5um","onva5","oo2","ood5e","ood5i","oo4k","oop3i","o3ord","oost5","o2pa","ope5d","op1er","3opera","4operag","2oph","o5phan","o5pher","op3ing","o3pit","o5pon","o4posi","o1pr","op1u","opy5","o1q","o1ra","o5ra.","o4r3ag","or5aliz","or5ange","ore5a","o5real","or3ei","ore5sh","or5est.","orew4","or4gu","4o5ria","or3ica","o5ril","or1in","o1rio","or3ity","o3riu","or2mi","orn2e","o5rof","or3oug","or5pe","3orrh","or4se","ors5en","orst4","or3thi","or3thy","or4ty","o5rum","o1ry","os3al","os2c","os4ce","o3scop","4oscopi","o5scr","os4i4e","os5itiv","os3ito","os3ity","osi4u","os4l","o2so","os4pa","os4po","os2ta","o5stati","os5til","os5tit","o4tan","otele4g","ot3er.","ot5ers","o4tes","4oth","oth5esi","oth3i4","ot3ic.","ot5ica","o3tice","o3tif","o3tis","oto5s","ou2","ou3bl","ouch5i","ou5et","ou4l","ounc5er","oun2d","ou5v","ov4en","over4ne","over3s","ov4ert","o3vis","oviti4","o5v4ol","ow3der","ow3el","ow5est","ow1i","own5i","o4wo","oy1a","1pa","pa4ca","pa4ce","pac4t","p4ad","5pagan","p3agat","p4ai","pain4","p4al","pan4a","pan3el","pan4ty","pa3ny","pa1p","pa4pu","para5bl","par5age","par5di","3pare","par5el","p4a4ri","par4is","pa2te","pa5ter","5pathic","pa5thy","pa4tric","pav4","3pay","4p1b","pd4","4pe.","3pe4a","pear4l","pe2c","2p2ed","3pede","3pedi","pedia4","ped4ic","p4ee","pee4d","pek4","pe4la","peli4e","pe4nan","p4enc","pen4th","pe5on","p4era.","pera5bl","p4erag","p4eri","peri5st","per4mal","perme5","p4ern","per3o","per3ti","pe5ru","per1v","pe2t","pe5ten","pe5tiz","4pf","4pg","4ph.","phar5i","phe3no","ph4er","ph4es.","ph1ic","5phie","ph5ing","5phisti","3phiz","ph2l","3phob","3phone","5phoni","pho4r","4phs","ph3t","5phu","1phy","pi3a","pian4","pi4cie","pi4cy","p4id","p5ida","pi3de","5pidi","3piec","pi3en","pi4grap","pi3lo","pi2n","p4in.","pind4","p4ino","3pi1o","pion4","p3ith","pi5tha","pi2tu","2p3k2","1p2l2","3plan","plas5t","pli3a","pli5er","4plig","pli4n","ploi4","plu4m","plum4b","4p1m","2p3n","po4c","5pod.","po5em","po3et5","5po4g","poin2","5point","poly5t","po4ni","po4p","1p4or","po4ry","1pos","pos1s","p4ot","po4ta","5poun","4p1p","ppa5ra","p2pe","p4ped","p5pel","p3pen","p3per","p3pet","ppo5site","pr2","pray4e","5preci","pre5co","pre3em","pref5ac","pre4la","pre3r","p3rese","3press","pre5ten","pre3v","5pri4e","prin4t3","pri4s","pris3o","p3roca","prof5it","pro3l","pros3e","pro1t","2p1s2","p2se","ps4h","p4sib","2p1t","pt5a4b","p2te","p2th","pti3m","ptu4r","p4tw","pub3","pue4","puf4","pul3c","pu4m","pu2n","pur4r","5pus","pu2t","5pute","put3er","pu3tr","put4ted","put4tin","p3w","qu2","qua5v","2que.","3quer","3quet","2rab","ra3bi","rach4e","r5acl","raf5fi","raf4t","r2ai","ra4lo","ram3et","r2ami","rane5o","ran4ge","r4ani","ra5no","rap3er","3raphy","rar5c","rare4","rar5ef","4raril","r2as","ration4","rau4t","ra5vai","rav3el","ra5zie","r1b","r4bab","r4bag","rbi2","rbi4f","r2bin","r5bine","rb5ing.","rb4o","r1c","r2ce","rcen4","r3cha","rch4er","r4ci4b","rc4it","rcum3","r4dal","rd2i","rdi4a","rdi4er","rdin4","rd3ing","2re.","re1al","re3an","re5arr","5reav","re4aw","r5ebrat","rec5oll","rec5ompe","re4cre","2r2ed","re1de","re3dis","red5it","re4fac","re2fe","re5fer.","re3fi","re4fy","reg3is","re5it","re1li","re5lu","r4en4ta","ren4te","re1o","re5pin","re4posi","re1pu","r1er4","r4eri","rero4","re5ru","r4es.","re4spi","ress5ib","res2t","re5stal","re3str","re4ter","re4ti4z","re3tri","reu2","re5uti","rev2","re4val","rev3el","r5ev5er.","re5vers","re5vert","re5vil","rev5olu","re4wh","r1f","rfu4","r4fy","rg2","rg3er","r3get","r3gic","rgi4n","rg3ing","r5gis","r5git","r1gl","rgo4n","r3gu","rh4","4rh.","4rhal","ri3a","ria4b","ri4ag","r4ib","rib3a","ric5as","r4ice","4rici","5ricid","ri4cie","r4ico","rid5er","ri3enc","ri3ent","ri1er","ri5et","rig5an","5rigi","ril3iz","5riman","rim5i","3rimo","rim4pe","r2ina","5rina.","rin4d","rin4e","rin4g","ri1o","5riph","riph5e","ri2pl","rip5lic","r4iq","r2is","r4is.","ris4c","r3ish","ris4p","ri3ta3b","r5ited.","rit5er.","rit5ers","rit3ic","ri2tu","rit5ur","riv5el","riv3et","riv3i","r3j","r3ket","rk4le","rk4lin","r1l","rle4","r2led","r4lig","r4lis","rl5ish","r3lo4","r1m","rma5c","r2me","r3men","rm5ers","rm3ing","r4ming.","r4mio","r3mit","r4my","r4nar","r3nel","r4ner","r5net","r3ney","r5nic","r1nis4","r3nit","r3niv","rno4","r4nou","r3nu","rob3l","r2oc","ro3cr","ro4e","ro1fe","ro5fil","rok2","ro5ker","5role.","rom5ete","rom4i","rom4p","ron4al","ron4e","ro5n4is","ron4ta","1room","5root","ro3pel","rop3ic","ror3i","ro5ro","ros5per","ros4s","ro4the","ro4ty","ro4va","rov5el","rox5","r1p","r4pea","r5pent","rp5er.","r3pet","rp4h4","rp3ing","r3po","r1r4","rre4c","rre4f","r4reo","rre4st","rri4o","rri4v","rron4","rros4","rrys4","4rs2","r1sa","rsa5ti","rs4c","r2se","r3sec","rse4cr","rs5er.","rs3es","rse5v2","r1sh","r5sha","r1si","r4si4b","rson3","r1sp","r5sw","rtach4","r4tag","r3teb","rten4d","rte5o","r1ti","rt5ib","rti4d","r4tier","r3tig","rtil3i","rtil4l","r4tily","r4tist","r4tiv","r3tri","rtroph4","rt4sh","ru3a","ru3e4l","ru3en","ru4gl","ru3in","rum3pl","ru2n","runk5","run4ty","r5usc","ruti5n","rv4e","rvel4i","r3ven","rv5er.","r5vest","r3vey","r3vic","rvi4v","r3vo","r1w","ry4c","5rynge","ry3t","sa2","2s1ab","5sack","sac3ri","s3act","5sai","salar4","sal4m","sa5lo","sal4t","3sanc","san4de","s1ap","sa5ta","5sa3tio","sat3u","sau4","sa5vor","5saw","4s5b","scan4t5","sca4p","scav5","s4ced","4scei","s4ces","sch2","s4cho","3s4cie","5scin4d","scle5","s4cli","scof4","4scopy","scour5a","s1cu","4s5d","4se.","se4a","seas4","sea5w","se2c3o","3sect","4s4ed","se4d4e","s5edl","se2g","seg3r","5sei","se1le","5self","5selv","4seme","se4mol","sen5at","4senc","sen4d","s5ened","sen5g","s5enin","4sentd","4sentl","sep3a3","4s1er.","s4erl","ser4o","4servo","s1e4s","se5sh","ses5t","5se5um","5sev","sev3en","sew4i","5sex","4s3f","2s3g","s2h","2sh.","sh1er","5shev","sh1in","sh3io","3ship","shiv5","sho4","sh5old","shon3","shor4","short5","4shw","si1b","s5icc","3side.","5sides","5sidi","si5diz","4signa","sil4e","4sily","2s1in","s2ina","5sine.","s3ing","1sio","5sion","sion5a","si2r","sir5a","1sis","3sitio","5siu","1siv","5siz","sk2","4ske","s3ket","sk5ine","sk5ing","s1l2","s3lat","s2le","slith5","2s1m","s3ma","small3","sman3","smel4","s5men","5smith","smol5d4","s1n4","1so","so4ce","soft3","so4lab","sol3d2","so3lic","5solv","3som","3s4on.","sona4","son4g","s4op","5sophic","s5ophiz","s5ophy","sor5c","sor5d","4sov","so5vi","2spa","5spai","spa4n","spen4d","2s5peo","2sper","s2phe","3spher","spho5","spil4","sp5ing","4spio","s4ply","s4pon","spor4","4spot","squal4l","s1r","2ss","s1sa","ssas3","s2s5c","s3sel","s5seng","s4ses.","s5set","s1si","s4sie","ssi4er","ss5ily","s4sl","ss4li","s4sn","sspend4","ss2t","ssur5a","ss5w","2st.","s2tag","s2tal","stam4i","5stand","s4ta4p","5stat.","s4ted","stern5i","s5tero","ste2w","stew5a","s3the","st2i","s4ti.","s5tia","s1tic","5stick","s4tie","s3tif","st3ing","5stir","s1tle","5stock","stom3a","5stone","s4top","3store","st4r","s4trad","5stratu","s4tray","s4trid","4stry","4st3w","s2ty","1su","su1al","su4b3","su2g3","su5is","suit3","s4ul","su2m","sum3i","su2n","su2r","4sv","sw2","4swo","s4y","4syc","3syl","syn5o","sy5rin","1ta","3ta.","2tab","ta5bles","5taboliz","4taci","ta5do","4taf4","tai5lo","ta2l","ta5la","tal5en","tal3i","4talk","tal4lis","ta5log","ta5mo","tan4de","tanta3","ta5per","ta5pl","tar4a","4tarc","4tare","ta3riz","tas4e","ta5sy","4tatic","ta4tur","taun4","tav4","2taw","tax4is","2t1b","4tc","t4ch","tch5et","4t1d","4te.","tead4i","4teat","tece4","5tect","2t1ed","te5di","1tee","teg4","te5ger","te5gi","3tel.","teli4","5tels","te2ma2","tem3at","3tenan","3tenc","3tend","4tenes","1tent","ten4tag","1teo","te4p","te5pe","ter3c","5ter3d","1teri","ter5ies","ter3is","teri5za","5ternit","ter5v","4tes.","4tess","t3ess.","teth5e","3teu","3tex","4tey","2t1f","4t1g","2th.","than4","th2e","4thea","th3eas","the5at","the3is","3thet","th5ic.","th5ica","4thil","5think","4thl","th5ode","5thodic","4thoo","thor5it","tho5riz","2ths","1tia","ti4ab","ti4ato","2ti2b","4tick","t4ico","t4ic1u","5tidi","3tien","tif2","ti5fy","2tig","5tigu","till5in","1tim","4timp","tim5ul","2t1in","t2ina","3tine.","3tini","1tio","ti5oc","tion5ee","5tiq","ti3sa","3tise","tis4m","ti5so","tis4p","5tistica","ti3tl","ti4u","1tiv","tiv4a","1tiz","ti3za","ti3zen","2tl","t5la","tlan4","3tle.","3tled","3tles.","t5let.","t5lo","4t1m","tme4","2t1n2","1to","to3b","to5crat","4todo","2tof","to2gr","to5ic","to2ma","tom4b","to3my","ton4ali","to3nat","4tono","4tony","to2ra","to3rie","tor5iz","tos2","5tour","4tout","to3war","4t1p","1tra","tra3b","tra5ch","traci4","trac4it","trac4te","tras4","tra5ven","trav5es5","tre5f","tre4m","trem5i","5tria","tri5ces","5tricia","4trics","2trim","tri4v","tro5mi","tron5i","4trony","tro5phe","tro3sp","tro3v","tru5i","trus4","4t1s2","t4sc","tsh4","t4sw","4t3t2","t4tes","t5to","ttu4","1tu","tu1a","tu3ar","tu4bi","tud2","4tue","4tuf4","5tu3i","3tum","tu4nis","2t3up.","3ture","5turi","tur3is","tur5o","tu5ry","3tus","4tv","tw4","4t1wa","twis4","4two","1ty","4tya","2tyl","type3","ty5ph","4tz","tz4e","4uab","uac4","ua5na","uan4i","uar5ant","uar2d","uar3i","uar3t","u1at","uav4","ub4e","u4bel","u3ber","u4bero","u1b4i","u4b5ing","u3ble.","u3ca","uci4b","uc4it","ucle3","u3cr","u3cu","u4cy","ud5d","ud3er","ud5est","udev4","u1dic","ud3ied","ud3ies","ud5is","u5dit","u4don","ud4si","u4du","u4ene","uens4","uen4te","uer4il","3ufa","u3fl","ugh3en","ug5in","2ui2","uil5iz","ui4n","u1ing","uir4m","uita4","uiv3","uiv4er.","u5j","4uk","u1la","ula5b","u5lati","ulch4","5ulche","ul3der","ul4e","u1len","ul4gi","ul2i","u5lia","ul3ing","ul5ish","ul4lar","ul4li4b","ul4lis","4ul3m","u1l4o","4uls","uls5es","ul1ti","ultra3","4ultu","u3lu","ul5ul","ul5v","um5ab","um4bi","um4bly","u1mi","u4m3ing","umor5o","um2p","unat4","u2ne","un4er","u1ni","un4im","u2nin","un5ish","uni3v","un3s4","un4sw","unt3ab","un4ter.","un4tes","unu4","un5y","un5z","u4ors","u5os","u1ou","u1pe","uper5s","u5pia","up3ing","u3pl","up3p","upport5","upt5ib","uptu4","u1ra","4ura.","u4rag","u4ras","ur4be","urc4","ur1d","ure5at","ur4fer","ur4fr","u3rif","uri4fic","ur1in","u3rio","u1rit","ur3iz","ur2l","url5ing.","ur4no","uros4","ur4pe","ur4pi","urs5er","ur5tes","ur3the","urti4","ur4tie","u3ru","2us","u5sad","u5san","us4ap","usc2","us3ci","use5a","u5sia","u3sic","us4lin","us1p","us5sl","us5tere","us1tr","u2su","usur4","uta4b","u3tat","4ute.","4utel","4uten","uten4i","4u1t2i","uti5liz","u3tine","ut3ing","ution5a","u4tis","5u5tiz","u4t1l","ut5of","uto5g","uto5matic","u5ton","u4tou","uts4","u3u","uu4m","u1v2","uxu3","uz4e","1va","5va.","2v1a4b","vac5il","vac3u","vag4","va4ge","va5lie","val5o","val1u","va5mo","va5niz","va5pi","var5ied","3vat","4ve.","4ved","veg3","v3el.","vel3li","ve4lo","v4ely","ven3om","v5enue","v4erd","5vere.","v4erel","v3eren","ver5enc","v4eres","ver3ie","vermi4n","3verse","ver3th","v4e2s","4ves.","ves4te","ve4te","vet3er","ve4ty","vi5ali","5vian","5vide.","5vided","4v3iden","5vides","5vidi","v3if","vi5gn","vik4","2vil","5vilit","v3i3liz","v1in","4vi4na","v2inc","vin5d","4ving","vio3l","v3io4r","vi1ou","vi4p","vi5ro","vis3it","vi3so","vi3su","4viti","vit3r","4vity","3viv","5vo.","voi4","3vok","vo4la","v5ole","5volt","3volv","vom5i","vor5ab","vori4","vo4ry","vo4ta","4votee","4vv4","v4y","w5abl","2wac","wa5ger","wag5o","wait5","w5al.","wam4","war4t","was4t","wa1te","wa5ver","w1b","wea5rie","weath3","wed4n","weet3","wee5v","wel4l","w1er","west3","w3ev","whi4","wi2","wil2","will5in","win4de","win4g","wir4","3wise","with3","wiz5","w4k","wl4es","wl3in","w4no","1wo2","wom1","wo5ven","w5p","wra4","wri4","writa4","w3sh","ws4l","ws4pe","w5s4t","4wt","wy4","x1a","xac5e","x4ago","xam3","x4ap","xas5","x3c2","x1e","xe4cuto","x2ed","xer4i","xe5ro","x1h","xhi2","xhil5","xhu4","x3i","xi5a","xi5c","xi5di","x4ime","xi5miz","x3o","x4ob","x3p","xpan4d","xpecto5","xpe3d","x1t2","x3ti","x1u","xu3a","xx4","y5ac","3yar4","y5at","y1b","y1c","y2ce","yc5er","y3ch","ych4e","ycom4","ycot4","y1d","y5ee","y1er","y4erf","yes4","ye4t","y5gi","4y3h","y1i","y3la","ylla5bl","y3lo","y5lu","ymbol5","yme4","ympa3","yn3chr","yn5d","yn5g","yn5ic","5ynx","y1o4","yo5d","y4o5g","yom4","yo5net","y4ons","y4os","y4ped","yper5","yp3i","y3po","y4poc","yp2ta","y5pu","yra5m","yr5ia","y3ro","yr4r","ys4c","y3s2e","ys3ica","ys3io","3ysis","y4so","yss4","ys1t","ys3ta","ysur4","y3thin","yt3ic","y1w","za1","z5a2b","zar2","4zb","2ze","ze4n","ze4p","z1er","ze3ro","zet4","2z1i","z4il","z4is","5zl","4zm","1zo","zo4m","zo5ol","zte4","4z1z2","z4zy",".con5gr",".de5riva",".dri5v4",".eth1y6l1",".eu4ler",".ev2",".ever5si5b",".ga4s1om1",".ge4ome",".ge5ot1",".he3mo1",".he3p6a",".he3roe",".in5u2t",".kil2n3i",".ko6r1te1",".le6ices",".me4ga1l",".met4ala",".mim5i2c1",".mi1s4ers",".ne6o3f",".noe1th",".non1e2m",".poly1s",".post1am",".pre1am",".rav5en1o",".semi5",".sem4ic",".semid6",".semip4",".semir4",".sem6is4",".semiv4",".sph6in1",".spin1o",".ta5pes1tr",".te3legr",".to6pog",".to2q",".un3at5t",".un5err5",".vi2c3ar",".we2b1l",".re1e4c","a5bolic","a2cabl","af6fish","am1en3ta5b","anal6ys","ano5a2c","ans5gr","ans3v","anti1d","an3ti1n2","anti1re","a4pe5able","ar3che5t","ar2range","as5ymptot","ath3er1o1s","at6tes.","augh4tl","au5li5f","av3iou","back2er.","ba6r1onie","ba1thy","bbi4t","be2vie","bi5d2if","bil2lab","bio5m","bi1orb","bio1rh","b1i3tive","blan2d1","blin2d1","blon2d2","bor1no5","bo2t1u1l","brus4q","bus6i2er","bus6i2es","buss4ing","but2ed.","but4ted","cad5e1m","cat1a1s2","4chs.","chs3hu","chie5vo","cig3a3r","cin2q","cle4ar","co6ph1o3n","cous2ti","cri3tie","croc1o1d","cro5e2co","c2tro3me6c","1cu2r1ance","2d3alone","data1b","dd5a5b","d2d5ib","de4als.","de5clar1","de2c5lina","de3fin3iti","de2mos","des3ic","de2tic","dic1aid","dif5fra","3di1methy","di2ren","di2rer","2d1lead","2d1li2e","3do5word","dren1a5l","drif2t1a","d1ri3pleg5","drom3e5d","d3tab","du2al.","du1op1o1l","ea4n3ies","e3chas","edg1l","ed1uling","eli2t1is","e1loa","en1dix","eo3grap","1e6p3i3neph1","e2r3i4an.","e3spac6i","eth1y6l1ene","5eu2clid1","feb1rua","fermi1o","3fich","fit5ted.","fla1g6el","flow2er.","3fluor","gen2cy.","ge3o1d","ght1we","g1lead","get2ic.","4g1lish","5glo5bin","1g2nac","gnet1ism","gno5mo","g2n1or.","g2noresp","2g1o4n3i1za","graph5er.","griev1","g1utan","hair1s","ha2p3ar5r","hatch1","hex2a3","hite3sid","h3i5pel1a4","hnau3z","ho6r1ic.","h2t1eou","hypo1tha","id4ios","ifac1et","ign4it","ignit1er","i4jk","im3ped3a","infra1s2","i5nitely.","irre6v3oc","i1tesima","ith5i2l","itin5er5ar","janu3a","japan1e2s","je1re1m","1ke6ling","1ki5netic","1kovian","k3sha","la4c3i5e","lai6n3ess","lar5ce1n","l3chai","l3chil6d1","lead6er.","lea4s1a","1lec3ta6b","le3g6en2dre","1le1noid","lith1o5g","ll1fl","l2l3ish","l5mo3nell","lo1bot1o1","lo2ges.","load4ed.","load6er.","l3tea","lth5i2ly","lue1p","1lunk3er","1lum5bia.","3lyg1a1mi","ly5styr","ma1la1p","m2an.","man3u1sc","mar1gin1","medi2c","med3i3cin","medio6c1","me3gran3","m2en.","3mi3da5b","3milita","mil2l1ag","mil5li5li","mi6n3is.","mi1n2ut1er","mi1n2ut1est","m3ma1b","5maph1ro1","5moc1ra1t","mo5e2las","mol1e5c","mon4ey1l","mono3ch","mo4no1en","moro6n5is","mono1s6","moth4et2","m1ou3sin","m5shack2","mu2dro","mul2ti5u","n3ar4chs.","n3ch2es1t","ne3back","2ne1ski","n1dieck","nd3thr","nfi6n3ites","4n5i4an.","nge5nes","ng1ho","ng1spr","nk3rup","n5less","5noc3er1os","nom1a6l","nom5e1no","n1o1mist","non1eq","non1i4so","5nop1oly.","no1vemb","ns5ceiv","ns4moo","ntre1p","obli2g1","o3chas","odel3li","odit1ic","oerst2","oke1st","o3les3ter","oli3gop1o1","o1lo3n4om","o3mecha6","onom1ic","o3norma","o3no2t1o3n","o3nou","op1ism.","or4tho3ni4t","orth1ri","or5tively","o4s3pher","o5test1er","o5tes3tor","oth3e1o1s","ou3ba3do","o6v3i4an.","oxi6d1ic","pal6mat","parag6ra4","par4a1le","param4","para3me","pee2v1","phi2l3ant","phi5lat1e3l","pi2c1a3d","pli2c1ab","pli5nar","poin3ca","1pole.","poly1e","po3lyph1ono","1prema3c","pre1neu","pres2pli","pro2cess","proc3i3ty.","pro2g1e","3pseu2d","pseu3d6o3d2","pseu3d6o3f2","pto3mat4","p5trol3","pu5bes5c","quain2t1e","qu6a3si3","quasir6","quasis6","quin5tes5s","qui3v4ar","r1abolic","3rab1o1loi","ra3chu","r3a3dig","radi1o6g","r2amen","3ra4m5e1triz","ra3mou","ra5n2has","ra1or","r3bin1ge","re2c3i1pr","rec5t6ang","re4t1ribu","r3ial.","riv1o1l","6rk.","rk1ho","r1krau","6rks.","r5le5qu","ro1bot1","ro5e2las","ro5epide1","ro3mesh","ro1tron","r3pau5li","rse1rad1i","r1thou","r1treu","r1veil","rz1sc","sales3c","sales5w","5sa3par5il","sca6p1er","sca2t1ol","s4chitz","schro1ding1","1sci2utt","scrap4er.","scy4th1","sem1a1ph","se3mes1t","se1mi6t5ic","sep3temb","shoe1st","sid2ed.","side5st","side5sw","si5resid","sky1sc","3slova1kia","3s2og1a1my","so2lute","3s2pace","1s2pacin","spe3cio","spher1o","spi2c1il","spokes5w","sports3c","sports3w","s3qui3to","s2s1a3chu1","ss3hat","s2s3i4an.","s5sign5a3b","1s2tamp","s2t1ant5shi","star3tli","sta1ti","st5b","1stor1ab","strat1a1g","strib5ut","st5scr","stu1pi4d1","styl1is","su2per1e6","1sync","1syth3i2","swimm6","5tab1o1lism","ta3gon.","talk1a5","t1a1min","t6ap6ath","5tar2rh","tch1c","tch3i1er","t1cr","teach4er.","tele2g","tele1r6o","3ter1gei","ter2ic.","t3ess2es","tha4l1am","tho3don","th1o5gen1i","tho1k2er","thy4l1an","thy3sc","2t3i4an.","ti2n3o1m","t1li2er","tolo2gy","tot3ic","trai3tor1","tra1vers","travers3a3b","treach1e","tr4ial.","3tro1le1um","trof4ic.","tro3fit","tro1p2is","3trop1o5les","3trop1o5lis","t1ro1pol3it","tsch3ie","ttrib1ut1","turn3ar","t1wh","ty2p5al","ua3drati","uad1ratu","u5do3ny","uea1m","u2r1al.","uri4al.","us2er.","v1ativ","v1oir5du1","va6guer","vaude3v","1verely.","v1er1eig","ves1tite","vi1vip3a3r","voice1p","waste3w6a2","wave1g4","w3c","week1n","wide5sp","wo4k1en","wrap3aro","writ6er.","x1q","xquis3","y5che3d","ym5e5try","y1stro","yes5ter1y","z3ian.","z3o1phr","z2z3w",""],exceptions:["as-so-ciate","as-so-ciates","dec-li-na-tion","oblig-a-tory","phil-an-thropic","present","presents","project","projects","reci-procity","re-cog-ni-zance","ref-or-ma-tion","ret-ri-bu-tion","ta-ble",""]}})),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.createHyphenator=e()}(this,(function(){var t="object"==typeof global?global:"object"==typeof window?window:"object"==typeof this?this:{};function e(t){var e={};for(var i in t)e[i]=t[i];return e}function i(t,e,i){return e in t?t[e]:i}function n(t,e){return t.exceptions.reduce((function(t,i){return t[i.replace(/\-/g,"")]=i.replace(/\-/g,e),t}),{})}function r(t,e,i,n){for(var r,o=new Array(t.length+1),s=t.toLocaleLowerCase(),a=[],l=0,c=o.length;c--;)o[c]=0;for(;r=e[l++];)for(var h=0,u=!1;!u;){var d=s.indexOf(r.text,h);if(d>-1&&(!r.stickToLeft||0===d)&&(!r.stickToRight||d+r.text.length===t.length)){a.push(r.pattern+">"+r.levels.join(""));for(c=0;c<r.levels.length;c++)o[d+c]=Math.max(r.levels[c],o[d+c])}d>-1&&r.text.length>0?h=d+r.text.length+1:u=!0}o[0]=o[1]=o[o.length-1]=o[o.length-2]=0;var f="",p="",g="";for(c=0;c<o.length;c++)f+=(o[c]%2==1?n:"")+t.charAt(c),g+=(o[c]%2==1?"-":"")+t.charAt(c),p+=(o[c]>0?o[c]:"")+t.charAt(c);return i&&console.log.apply(console,[t,"->"].concat(a).concat(["->"]).concat(o).concat(["->",p]).concat(["->",g])),f}function o(t){for(var e,i=0,n={pattern:t,text:"",levels:[],stickToLeft:0,stickToRight:0},r=1,o=2,s=3,a=4;e=t.charAt(i++);){var l="."===e,c=!l&&/\d/.test(e);switch(l?i-1==0?s:a:c?o:r){case r:!h&&n.levels.push(0),n.text+=e;break;case o:n.levels.push(parseInt(e));break;case s:n.stickToLeft=!0;break;case a:n.stickToRight=!0}var h=c}return n}return function(s,a){var l=i(a=a||{},"async",!1),c={},h=i(a,"debug",!1),u={},d=i(a,"hyphenChar","­"),f=s.patterns.map(o),p=Math.max(a.minWordLength>>0,5),g=i(a,"html",!1),m=d+p;if(u[m]=n(s,d),c[m]=e(u[m]),l&&!("Promise"in t))throw new Error("Failed to create hyphenator: Could not find global Promise object, needed for hyphenator to work in async mode");return function(t,o){var a=i(o=o||{},"debug",h),m=i(o,"hyphenChar",d),v=Math.max(o.minWordLength>>0,p),y=m+v;return u[y]||(u[y]=n(s,m)),c[y]||(c[y]=e(u[y])),function(t,e,i,n,o,s,a,l){var c,h="",u=function(t,e,i,n){var r,o,s=RegExp.prototype.test.bind(/\s/),a=0,l=1,c=2,h=1,u=2,d=3,f=4;return[function(){var p="";r=void 0;t:for(;a<=t.length;){var g=t.charAt(a++),m=!!g&&!/\s|[\!-\@\[-\`\{-\~\u2013-\u203C]/.test(g),v="<"===g,y=">"===g,b=g===e;do{if(o===h){y&&(o=d);break}if(b){r=c,o=u;break}if(m){o=u;break}if(o===u){o=f,r=r||p.length>=n&&l;break}r=c,o=d}while(0);switch(v&&o!==f&&i&&!s(t.charAt(a))&&(r=c,o=h),o){case h:case u:p+=g;break;case d:p+=g;break t;case f:a--;break t}}return p||void 0},function(){return r===l}]}(t,o,s,a),d=u[0],f=u[1],p={hyphenateWord:1,concatenate:2},g=0,m=0,v=new Date,y=0,b=function(){};function w(){for(var t=new Date;(!l||new Date-t<10)&&(c=d());){switch(f()?p.hyphenateWord:p.concatenate){case p.hyphenateWord:i[c]||(i[c]=r(c,e,n,o)),c!==i[c]&&m++,c=i[c];case p.concatenate:h+=c}g++}y+=new Date-t,c?setTimeout(w):(v=new Date-v,b(h),n&&(console.log("----------------\nHyphenation stats: "+g+" text chunks processed, "+m+" words hyphenated"),console.log("Work time: "+y/1e3),console.log("Wait time: "+(v-y)/1e3),console.log("All time: "+v/1e3)))}return l?(setTimeout(w),new Promise((function(t){b=t}))):(w(),h)}(t,f,c[y],a,m,g,v,l)}}})),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.hyphenationPatternsRu=e()}(this,(function(){return{patterns:[".аб1р",".аг1ро",".ади2",".аи2",".ак1р",".аль3я",".ар2т1о2",".ас1то",".аст1р",".ау2",".би2о",".во2б3л",".во3ж2д",".го2ф",".дек2",".де1кв",".ди2ак",".ди1о",".до3п",".до3т2",".епи3",".зав2р",".за3м2н",".за3п",".иг1р",".изг2",".из3н",".ии2",".ик1р",".ио2",".ио4на",".ис3",".ле2о",".ле2п3р",".лес1к",".ль2",".люст1",".ме2ж1у2",".ми1ом",".мо2к1",".му2шт1",".на1в",".на3т",".на3ш2",".не3вн",".не1др",".не1з2",".не1сл",".не1с2ц",".не3т",".нос1к",".нук1л",".обо3ж2",".ово1",".ог3н",".оз4",".ос2ка",".ос2п",".ос3пи",".от1в",".от1ро",".от1ру",".от1уж",".по3в2",".по3ж2",".поз2н",".прос2",".ра2с3т",".ре2бр",".ре2з3в",".ри2ск",".ри2ч",".ро2з3в",".ро2с3л",".ро2х",".септ2",".ск2",".ст2",".су2ж",".те2о3",".тиа3",".ти2г",".тиг1р",".ти2о",".уб2",".уд2",".уе2",".уз2на",".ук2",".ум2ч",".уо3",".уп2",".ур2в",".ус2",".ут2р",".ую2",".хо2р3в",".че2с1к",".юс1","4а3а","аа2п","аа2р","аа2ц","а1б","абе3ст","а3бла","аб2лю","аб1ри","а3бу","ав1в","а1ве","ав3зо","а1ви","ави2а","а1во","аво1с","а2вот","ав1ра","ав2се","а2вт","а1ву","а2вх","а3в2че","2ага","ага1с2","а2гд","а2гити","а2гле","аг2ли","а2глос","аг2лот","2аго","а3гу","а1д","2адв","а2две","ад2жи","ади2од","а2дл","а2д1обл","ад1ро","а2д1ру","аду3ч","ад2ц","а2дын","а1е","ае2го","ае2ди","ае2л","а2еп","ае2ре","ае2с","аза4ш3","азв2","аз3вез","аз1вл","азг2","аз1др","аз1об","аз2о1бр","а2зовь","а2золь","а1зори","аз2о1с","аз1р","а1и","аи2г1","аи3гл","а2их","а1к","ак1в","1акк","ак2л","ак3лем","ако1б2","2аконс","ако3т","2акри","ак1с","а1ла","а3лаг","а1ле","2алек","а3ли","ало1з","а1лу","алу2ш","алуш1т","а1лы","а2льщ","а1лю","2ама","амб4","2амет","а2минт","ам2нет","2амо","амо1з2","амои2","а2мч","ана2дц","а2н1а2ме","а2наф","ан2дра","а2н1о2б","ан1о2хр","ан1р","ан2сп","анс1у","ан2сур","а2н1уз","а1нь","2а1о","ао2д","ао2к","ао2р","ао2с","аост1","а3пла","ап2лом","2апо","апо4вс","апо3ч2т","ап2ра","ап1рел","а1ра","ара2ст","ар2бок","ар2вал","1аргу","а1ре","аре1дв","аре1ол","ар2жа","а1ри","а1ро","ар2тор","ар2т1р","а1ру","ар1х","а1ры","а1рю","а1ря","2ас1к","ас3ми","ас3но","1ассиг","аст1ву","ас3тем","ас2тин","ас2тия","ас1тоо","ас1тух","а1стье","ас2шед","ас2шес","а1сьи","а1та","1атак","ат3ва","ат1ви","ат1ву","2атез","а1ти","а1то","ат1обе","а2томн","ато2ш","ат1рах","ат1ри","а1ту","ат2х","а1ты","а1тье","а3тью","а3тья","а1тю","а1тя","а1у","а2уб","ау2д","ау3до","а2уле","аут1р","ау2х","ау2ч","ау3чь","ауэ1","а2ф1л","ах2а","ахми2","ах3с","а1ч","2ача","а2чл","ач1т","а2шл","аэ2ли","а2эр","аю1та","а1я","ая2б","ая2в","ая2з","1ба","ба2бв","ба2г1р","ба2др","ба1з","ба3зу","балю1","ба2о","бас3м","ба1ст","ба1тр","2б1б","б1в","бвы2","бг2","2б1д","1бе","3бев","бе2гл","бе2гн","бе2д1р","3бее","3бе2з","без1а2","без5д4","бе3зи","без3н","без1о2","без1р","бе2с1к","бес3п","бе2с1т","бес3те","бес3ти","3бец","2бещ","2бж","б1з2","1б2и","3биа","би2б","2биж","3бик","били3т2","3био","би2об","би2од","би2он","би2ор","би2тв","би1х","2б3к","б1л","1благ","1б2лаз","б3лази","б2лан","1б2лее","б3лен","б2лес1к","1б2лея","б2луд","1б2луж","2блы","2б2ль","2б3лю.","б2люд","б2люе","б2люл","2б3люсь","2бля","2б3н","1бо","бо1бра","бо3вш","бо2гд","бо1дра","бо1з2","бо1л2ж","бо1льс","бо3м2л","бо2мч","бо3мш","бону1","бо1ру","бо2са","бо1ск","бо3ско","бо3сти","3бот","бо2тв","бот2р","боя2р","2бр.","б3раб","б2рав","бра1зо","1б2рал","2б1рам","б2ран","1брас","б2рать","б1рах","1б2рач","2б3рая","1б2ред","б1рей","б1рек","б2рем","б2рех","б2рид","б2рито","б2риты","1б2роди","б1рол","б1ром.","1б2роси","бро2с1к","2брс","б1ру","3брукс","2брь","1б2рю","2б3рю.","б1ря","2б1с2","б3ск","бс4л","б1т","1б2у","бу2г1р","бук1л","бу1с","2бф","2б1х","2бц","2б1ч","2бш","2бщ","1бы","бы2г1","бы2с","быс1к","быст1","1бь","2бь.","2бьс","2бьт","бэ1р","3б2ю","бю1та","1бя","1ва","ва2бр","3ваг","ва2д1р","вадь2","ва3ж2д","ва1з","ванс2","ва1ст","ва2стр","ва1тр","вах1","3вац","3вая","2в1б","в1ви","в1вр","2вг2","в1д","в2дох","1вев","3вег","вед1р","ве3ду","1вее","1вез","3везе","3везл","вез2у","1вей.","ве2п1","2верд","1вес","ве2с1к","ве2ст1в","вет3р","1вец","1вею","1вея","1в2з2","взг2","взд2","взо1б","взъ2","взъе3д","ви2аз","ви2ак","ви2ар","ви2а1с2","виа1т","ви3аф","ви2гв","ви2гл","1виз","1винт","1винч","ви1о","ви1с2ни","виу3","ви2ф","2в1к","вк2л","3в2кус","в1л","в2ла","2в3лаб","в2лев","в2лек","в2лет","в2леч","2вли","в2лия","2влю","в2люб","2вля","2вм","1вме","2в1н","4в3на","в2нес","вно1","в3ну.","3в2нук","3в2нуч","в3ны","во1б2","во2б3ла","вов2","во3вк","1вод","во1дв","во1др","во2ер","во2жж","вои2с1","1вок","во3м2","воп2","во1ру","2ворц","2ворь","вос1к","во1см","во1сн","вос3пе","во2стр","вот2р","1вох","во1хл","во3х2т","1вою","2вп2","2вр.","2вра.","в2рав","2в1рам","в1рас","2в1рах","2врац","2вре.","2в1рен","1врид","1в2риз","в1рии","в1рик","в1рил","в1рис","в1рит","2в1ро","вро3т2","2в1ры","1врю","в1ря","2в1с2","3все3","в3ская","4в3ски","4в3ску","3в2сп","3в2сю","в1т2","вто1б2","вто3ш","1вуа","ву3г","1ву1з","2вуи","2ву1к","ву3п","ву1с2","ву2х1а","вух3в","ву1чл","вф2","1вхо","2вц","2в1ч","2вш","3в2шив","2вщ","въ2","1вы","вы3г2","вы3зн","вып2","вы3т2","вых2","вы3ш2л","2вь.","1вье","1вьин","2вьс","2вьт","1вью","1вья","1в2э1","1в2ю","1вя","1г","г2а","га1з","га1ст2","га2у","2г3б","гба2","г1ви","2гг","г3дан","2г3ди","3ге.","ге2б1","гено1","ге2об","ге2од","ге1ор","2г3ж","2г1з","г2и","ги2бл","ги3бр","ги2гр","ги1сл","гист2","2г1к","2гла.","г2лав","г1лай","г1лами","2глась","2глая","г1ле","г2лет","2гли.","г2лин","3г2лиф","2гло.","г3лобл","2глов","2глог","2глое","2глой","2глою","2глую","2г1лы","г2ляж","2гляк","2г3м","г2нав","г2нан","г3не.","г2нев","г3нен","г3неп","г3нес","г2нир","гнит2р","г2ное","г2нои","г2нос","г3ня","го1б2","го2вл","го3ж2д","го1з","го2зл","гоз2н","гоиг2","3гой","г2ол","гоми2","го2с1а","го2сд","го1скл","го1сн","го1спа","2готд","гоу3т","го1чл","3гою","2гп","2гр.","г1рае","г1рай","г1рар","г1рег","г1рек","г1рец","гри4в3н","г1рик","г1рил","г1рин","г1рис","г1рич","г1ров","г2роз","г1рок","г1рон","г1роп","г1рот","г1роф","гру2п","г1рыв","2грю","г1ряе","г1рял","г1рят","2г3с2","г4са","г4сб","2г3т","гу1в","гу1с","гу2с1к","2гф","2г1ч","2г3ш","2г3э","1да","да2б1","да2ген","да2гр","да1з","да2о","даст1р","дат1р","2д1б","дв2","д1ве","1дви","2д1вид","2двиз","2двинт","2двинч","2д1вис","2д1вит","д3вк","д1вл","2двод","д1воз","1дворь","2двя","2дг2","2д1д2","1де","де1б2л","де1б2р","3девр","3дез","де2з1а2","де2зи","дез1о2","де2зу","деио2","де1кл","3деме","де2од","део3п","де3пл","дерас2","де2с3в","дес2к","де2ср","де1хл","2дж.","д2жам","д2ж3м","2джс","2д1з2","1ди","ди2ад","диа2з","ди2али","ди2ало","ди2ар","ди2ас","ди2об","дио3де","ди2ор","дио1с","ди1оти","дип2","ди2пи","ди3пт","ди2с1тр","диу3","ди3фр","ди3фто","ди1х","2д1к","д1л","д2лев","2д3м2","2д1н","д3на","днеа2","3дневн","4д3но1","дно3д2","днос2","4д3ны","3д2няш","1до","2д1о2бед","до2бл","2д1обла","до1б2ра","дов2л","до3в2м","до1д2","до3дн","до3ж2д","до1з","доз2н","дои2р","2докт","2долим","до2м1р","доп2","до3пл","2допле","до2пре","до2руб","до1с","д1о2сен","д1о2син","2д1осно","дос2п","2дотд","2дотл","дот2ри","2д1отря","2дотъ","до3ть","3дохл","до2ш3в","до3ш2к","до2шлы","до2щу","2дп","2др.","д1раб","1дравш","2дразв","1д2разн","д1ране","д1рар","д1ра2с3","д1рах","д1рач","д2раю","д1ре","д2реб","2д3реж","2дрез","д2рел","д2рем","1дрема","1дремл","дрем3н","1дремы","2д3рен","дре2ск","д2ресс","д1ри","д2рий","2дрин","д2рип","д2рих","дро2г3н","д1род","д1рое","1д2рож","2д3роз","д1рой","д1рол","д1рон","д1рос","д1рот","д1рою","д1руб","1друг","1друж","д1рум","д1рую","д1ры","2дрыв","1д2рыг","д1ря","д2ряб","1д2ряг","д2рях","2д1с2","дск2","дс3кн","2д1т","1ду","дуб3р","ду3г","2д1уд","ду2да","ду2о","дуп1л","дус1к","д1усл","ду1ст","ду2ста","2дут1р","ду1х","ду2чи","дуэ1т","2дф","д1х","2д3це","2дцу","2дцы","2д1ч","2д3ш2","2дщ","2дъ","дъе2м","1ды","2дыг","ды2г1р","2дыд","2дыме","2ды2с1","2дыт","2дыщ","2дь.","1дье","2дьк","2дьт","1дью","1дья","дь3яр","1д2ю","1дя","е1а","еа2д","еади3","еа3до","еа2з","еан2д1р","еат1р","2еб","еба2с","е1бра","еб1рен","еб1ри","е1бро","еб1ров","еб1ры","е2б3рю","е1ве","2евер","е1ви","е3в2ме","ев2ним","ев2нят","е1во","2евол","евра1с","2е1вре","ев1рее","ев1рей","ев1рея","ев1ри","е2вт","е1ву","е1вх","ев2хо","е1вь","ега1с2","ег2д","е2глан","е2гле","е2гли","е2гло","ег2на","ег2но","2ег2р","ед1во","ед2ж","е1дже","е1д2лин","едноу3","ед1опр","е2дотв","е2дох","е2д1ощ","е1дру","е2дру.","е2ду2б","ед1убо","е2дуве","е2дуг","е2дус","ед1уст","2е3душ","е2дын","е1е","е2евид","ее2в1р","ее2ги","ее1с2","ее2ст","еест1р","ее2х","е2жг","е4ждев","еж3ди","2еже","е2ж1р","еза2вр","езау3","е1з2ва","езд1р","е3зе","еззу3","е3зит","ез1об","ез1о2г","е1зом","ез1оп","ез1о2р","ез1от","ез1ош","ез2ря","ез1у2д","ез1у2к","ез1уп","ез1ус","езу2со","езу2сы","ез1у2х","ез1уча","е3зя","е1и","еи2г1","еи2д","еи2м","еи2о","еис1л","еис1тр","е1ка","ека2б","ек2з","е1ки","2е1ко","2е1кр","ек2ро","ек1ск","ек1сте","е1ку","е1ла","е1ле","еле3ск","еле1сц","е1лу","е1лы","е1лю","е3ля","еми3д2","еми3к","емо1с","2емуж","е2мч","2емыс","е3на","ен2д1р","2е1нр","енс2","ен3ш2","е1нэ","2ео","е1о2б","еоб2ро","е2о3гл","ео2гро","е1од","ео3да","ео2де","еоде3з","ео2до","е1о2ж","е2ои","ео3кл","е1ол.","е1ола","ео3ли","е1олк","е1олы","е1оль","е2ом","е1он.","е2она","е2они","ео3но","е1онс","еоп2","е1опе","ео2пр","ео4пу","е2о3ро","еос2","е1о2сви","ео1ск","е1осм","е1осн","еост1р","ео3сх","е1отл","еот2ру","е1о2ч","е1о2щ","епат2","епа1тр","2епе","епис2к","е2пл","е3пла","еп1леш","е3п2лод","еп1лу","е3плы","еп1лющ","е4пн","2епо","е4п3с","е4пт","е1ра","ер1акт","е2рв","ер1ве","е1ре","е3ре.","ере3до","ере1др","ере1к2","ере3м2н","ере3п","ере1х4","е1ри","ерио3з","е1ро","еро2б","ер1обл","2ерови","2ерокр","2ерол","еро3ф2","ер3ск","е1ру","е2р1у2п","е1ры","е1рю","е1ря","е3с2а","ес2ба","е1сг","е1ск","е2с1ка.","ес1кал","е2ске","е2сков","е4с1ку.","2есл","ес1лас","ес2лин","ес2лов","ес2лом","е1слу","е1слы","е1с4м","е3со","2есп","ес2пек","ес3пол","е2спу","е1ст","ес2тан","е2стл","е3сту","ес2чет","е1та","ет1ве","ет1ви","е1тво","2етеч","е1ти","е1то","ето1с","ет1р","ет2ря","е1ту","е1ты","е1тье","е3тью","е3тья","е1тю","е1тя","е1у2","2еуб","еуб3р","еуз2","еук2ло","ефи3б2","еф2л","еф1ре","еха2т","ех1ато","ех3вал","ех3лоп","ех1об","ех1опо","ех1ре","ех1ру","ех1у2ч","2ецв","е1чл","е2шл","еэ2","ею2г","е1я","ея2з","1ж","жа2бл","жа2бр","жа1з","жат1в","2ж1б2","2ж1в","жг2","2жга","ж2ги","3ж2гл","ж2гу","2ж1д","ж2дак","ж2дач","3ж2дел","4ждеме","ж2деп","ж2ди","4ж2дл","ждо3","жду1","4ждь","3ж2дя","3жев","же3д2","же1к2в","же1кл","же1о2","же3п2","же1с2","же3ск","2жжа","ж2же","2жжев","2ж1з2","жи1о","2жирр","2ж1к","2ж1л","ж2м","ж3ма","2ж3мо","2ж1н","жно1","2ж1об","2ж1о2т1","жоу3","жоу1с","2жп2","жпо1","ж2ру","2ж1с","2жф","2жц","2ж1ч","2жъ","2жь.","2жьс","2жьт","1за1","заа2","заб2","за2в1ри","за2вру","з1аву","заг4","з1адр","зае2д","зае2х","за3ж2д","за3з2","з1акт","за3мне","3з2ан","за3на","занс2","зап2","зар2в","за3р2д","зар2ж","зас2","заст2","зат2","за3тк","зау2","зах2","зач2т","за3ш2","зая2","з1б2","2з3ва.","з2вав","з3валь","з2ван","2звая","з1ве","з2вез","з1ви","з3в2к","з1вла","з1во","2звол","1з2вон","з1вр","1зву","2з1вую","з1вь","2зг","з3га","з2гли","зг2на","з2гну","з1д2в","з2деш","здож3","1зе","зе2б1","зе2ев","зе2од","2зж2","з3з2","1зи","3зи.","3зий.","з1инт","зи2оз","зи2оно","зи1оп","3зис","зи3т2р","зиу3м","3зич","2з1к","зко1","зко3п2","з1л","з2лащ","з2лоб","з2лоп","з2лор","з2лющ","2зм2","з3мн","з1н","2зна.","з2нав","з2нае","з2най","з2нак","з2нан","з2нат","з2наю","2зная","2зне","2з3ни","2зно","2зну","2з3ны","з2обе","зо2би","1зов","зо3в2м","зо2гл","зо1др","1зое","зо1з2","1зои","1зой.","1зок.","з1окс","1зол2","зо1лг","зо1лж","зо3м2","1зом.","2зомн","1зон","2зонр","1зоо","зо2о3п","зо2ос","зо2па","з2опл","з2опр","з1орг","1з2о3ре","зос2","з1осн","зо1сп","зо2тв","з2оте","з1отк","з2ото","зот2ре","зот2ри","1зох","зош2","зо2ши","1зоэ","1зою","з1ра","з2рак","зра2с","з2рач","з2рен","з1рес","з2риш","з1ро","зро2с3","з1ру","з2рю","з1ря","2з1с","2зт","з1ти","1зу","3зу.","2з1у2бе","зу2б3р","зу1в","2зуве","2зу2г","3зуе","2з1уз3","2зу1к","3зуме","з1у2мо","2зуп","зу2пр","з1урб","з1у2те","зу2час","2зц","з1ч","2зш","зъе2м","1зы","2зы2г1","зы2з","2зыме","2зымч","2зы2с1","2зыщ","1зье","1зьи","1зью","3зья","1з2ю","1зя","и1а","и2аб","и2ав","иаг2","и2агр","и2аде","и2ади","иа2зов","иа2му","и3ана","иа2нал","ианд2","иао2","и2ап","иа1с2к","иа1ста","иа1сто","иат1ро","и3ату","и2аф","и2а1х","иа2це","2и1б","и2б1р","2иваж","2и1ве","и2в3з","и1ви","2и1во","и1в2р","и3в2с","и1ву","ив2хо","2ивы","иг2д","и3ге","2игл","и2гле","и2гли","и2гн","игни3","иг1рен","иг1ро","иг1ру","иг1ры","и2г1ря","и1дв","и2дей","и1д2ж","иди1ом","иди1от","ид1р","и1дь","и1е","и2евод","ие2г","ие2д","ие3де","ие2зу","и3ени","ие1о2","иепи1","ие2р","и3ж2д","из1в2","из2гне","1из1д","из2нал","и1зо","изо2о","из1р","и1и","ийс2","и1к","и3к2а","ика1с2","ик2ва","и2кви","и2кля","и3ко","ик1ро","ик1ск","ик2с1т","и3ку","и1л","и2л1а2ц","ило1ск","илп2","и2л1у2п","и2ль","ильт2","2има","и2мено","и2мену","2имень","и3ми","имои2","им3пл","и2м1р","и2мч","им2ча","инд2","1инж","ино2к3л","ино3п2л","ино1с","инс2","1инсп","1инсти","1инсу","1инф","1инъ","и1об","ио2бо","ио2вр","и2ог","и1од","ио2де","и1оз","ио3зо","и1окс","и1оле","и1он","и3онов","и1опт","и1ор","и3ора","ио1ру","ио2са","ио3скл","ио1с2п","и1ота","ио2т1в","и1отк","и1отс","иоуг2","ио2хо","и1ош","2ип","ипат2","ипа1тр","ип2ля","ип3н","ипо3к2","и1р","ира2ст","и2р1ау","и2рв","и2рж","ири2ск","ириу3","иро1з2","1ирр","исан2д1","и2сб","и2сд","ис1к","ис3ка.","ис3кам","ис3ках","ис3ке","ис3ки","ис3ков","ис3ку.","и2слам","ис1лы","ис3ме","ис3му","ис3но","исо2ск","и2с3пр","и4сс","и1ст","и2ст1в","и2стл","ис1тяз","и1сьи","и1т","ита2в","ит3ва","и2т1ве","ит1ви","ит1ву","и2тм","и2т1р","ит2рес","ит3ром","и2т1уч","и3тью","и3тья","и1у2","иу3п","иф1л","иф2лю","и2фр","иха3д","и2х1ас","их2ло2","ихлор1","и3х2о","ихо3к","их1ре","их1ри","и1ху","и1ч","иш2ли","и2шлы","и2шт","ию4л","ию2н","ию2т","ию3та","и1я","ия2д","2й1","йд2","й2д3в","йно1","й2о1с","йо2тр","йп2л","й2сб","й3ска","йс2ке","йс4мо","й2с3му","й2сн","й2с3ф","й2сш","й2тм","й2хм","йх2с3","йя1","ка2бл","ка2бри","1кав","к2ад","ка3дне","ка2д1р","1кае","каз3н","ка1зо","1кай","1кал.","1кало","1калс","1кам","1кан","ка2п1л","ка2пре","кар3тр","3к2ас","ка1ст","1кат","ка1т2р","1ках","ка2ш1т","1каю","2к1б","к2вак","к2вас","к2ваш","к1ви","к2воз","к1ву","2кг","2к1д","кда2","1ке","2кеа","ке2гл","кед1р","ке2с1к","ке2ст1","2к1з","1кив","ки1о","киос1","ки2пл","ки1с2ни","1кит","2к1к2","кк3с","2к3ла.","2к3лась","2к3ле.","2клем","к3лем.","к3лен","к1лео","2к3ли.","2к3лив","к2лик","к2лин","2к3лис","к3лия","2к3ло.","к2лоз","к3лом","2к3лос","кло3т","1клук","к3лы","2кль","1клю","2к3лю.","2кля.","2клям","2клях","2км","2к1н","3к2ниж","к2ноп","3к2няж","к2о","ко1б2ри","1ков","3кова","1код","ко1др","1коз","1кольс","2комин","3конс","коп2р","ко2р3в","ко1ру","1кос","ко1ск","кос3м","ко1сп","1котн","ко2фр","кохо2р3","1кош","2кп","2кр.","к1рел","кре1о","кре2сл","к1реч","1криб","к1рид","к2риз","кри2о3","к2рит","к1рих","к1роа","к1роб","к2рое","к1рок","к1роо","к1рор","к1рос","к1роф","к1рох","к1роэ","кру1с","к1ряд","2кс","ксанд2","к2с3в","кс3г","к2с3д","к2сиб","к1ски","кс1кл","к1ско","кс3м","к3со","к1стам","к1стан","кс3те","к1сто","кс1тр","к1сту","к3су","2к1т","кта2к","3к2то.","кто1с","кт2р","к2у","ку1ве","3куе","1куй","1куля","3кум","куп1л","ку2п1р","1кур","ку3ро","кус1к","ку1ст","1кут","ку3ть","1куче","1куют","3кующ","2кф","2к1х2","2кц","2к1ч","2кш","1кь","к2ю","1ла.","2лабе","ла2бл","2лаго","ла2гр","ла2д1аг","1лае","ла3ж2д","ла1зо","л2ак","лак2р","1лам.","1лами.","лан2д1р","ла1ста","ласт1в","ла1сте","ла1сто","ла2ст1р","ла1сту","ла1стя","ла1т2р","лау1","ла2ус","ла2фр","1ла1х","1лая","2лб","л1бр","л1ве","л1ви","л1во","л1ву","1л2гал","л2гл","лго1","2л3д2","1ле.","ле1вл","лев1ра","ле2г1л","ле1дж","ле3до","ле1з2о3","ле1зр","лек1л","2лемн","1лен","ле1онт","ле1о2с","ле2сб","ле2ск","ле4ска","ле1с2л","ле1спе","ле1тв","ле1т2р","1лех","ле1хр","л1зо","1ли","лиа2м","3ливо","3ливы","лиг2л","ли2гро","лие3р","ли2кв","2лимп","лио1с","ли2пл","лис3м","2л1исп","ли2тв","лиу3м","ли2х3в","ли1хл","ли1хр","2л1к","лк2в","л2к1л","2л1л","л2ль","ллю1","2лм","2л1н","лни2е","1ло","ло2бл","ло1б2р","2ловия","ло2вл","3ловод","ло2г3д","лого1с","ло1др","2лоен","ло1зв","ло2к1а2у","ло2кл","лок3ла","3лопас","ло2рв","2л1орг","ло1ру","лос1к","ло1с2п","2лотд","лот2р","ло2шл","2лп","2л1с2","лс3б","л1т","1лу.","лу1бр","лу1в","лу3г","лу1д4р","1луе","лу1зн","лу1кр","1лун","луо2д","лу3п2ло","лу1с","лу3ть","1лую","2л3ф2","2л1х2","л2х3в","2лц","л1ч","1лы.","1лые","1лыж","1лый","1лым","1лых.","4ль.","2льд","3лье","3льи","2льк","2льм","2льн","3льо","2льск","1льсти","1льстя","2льт","2льц","2льч","1льща","1льще","1льщу","3лью","3лья","л2ю","1лю.","1люж","1люсь","лю1та","1ля","3ля.","ля1ви","3ляво","3лявы","2ляд","3лям","ля1ре","ля1ру","3лях","1м","ма2вз","3маг","ма2гн","ма2др","ма2дь","ма1зо","ма2к1р","2м1алл","ман2д1р","мас3л","ма1с4т","ма2тоб","ма2т1р","ма2у","маф2","3мач","ма2чт","4м1б","м3би","мб2л","м3бля","2м3в2","2мг2","3м2гл","2м1д","меан2","ме2ег","ме2ел","ме2ж1ат","ме1зо","ме2с1к","ме2ст1р","меч1т","2мж","2м1з2","ми2гре","ми1зв","2мизд","ми1зн","ми2кр","мик1ри","ми2оз","ми1опи","ми2ор","ми1с2л","2м1к2","3мкн","2м1л","м2лее","м2лел","2мм","2м1н","4м3на","мне1д","3м2неш","4мное","м2нож","4мной","4мном","м2нор","4мною","м2нут","4м3ны","мо1б2","мо3вл","3мод","мо1др","мо2жж","мо1зв","мо1зр","моис1т","мо2к3в","мо3м2","3мон","3моп","мо1ру","мос1ка","мо1см","мо1сн","мо1с2п","3моти","мо2т1р","3моф","2мп","мп2л","м1раб","2мри","2м1ро","м1ры","2м1с","мс2к","мс2н","м2с1ор","3м2сти","2м1т","му1с2к","му1с4л","му1ст","мут1р","му3ть","2мф","мфи3","2м1х","2мц","м2чав","м2чал","м2чит","м2чиш","2мш2","2мщ","3м2ще","мым1","мы2мр","мы2с","2мь.","2мьс","мью1","2мэ","мэ1р","м2ю","мя1р","мя1ст","1на","наби1о","наб2р","на1в2р","наг2н","на3жд","на1з2","на2ил","на2ин","на2и1с2","4накк","на3м2н","нап2л","на1рва","на1р2ви","на1с2","на1тв","на1т2р","н1а2фр","на1х2","2нач","на3ш2л","2нащ","наэ1р","3ная","2н1б2","2н1в","2нг","н2г1в","нги2о","нг4л","нго1с","нг2р","2н1д","н2дак","н2д1в","нде3з","нде2с","нд2ж","н3д2з","н2дл","нд1раг","нд1раж","нд2ре","нд2риа","н2дря","нд2сп","н2дц","1не","не1б2","не1в2д","2невн","не3вня","нег2","3нед","не1д2л","нед2о","не2дра","не1дро","не3ду","не3е","нее2д","не3ж2д","не1зв","не1з2л","не1зн","не1зо","не1зр","неи2","не1к2в","не1кл","не3м2н","3не1о2","не2ода","не2ол","не3п2","не1р2ж","не2р1от","нес2к","не3с2н","не1с2п","нест2","не1с2х","не1с2ч","не1т2в","не3т2л","не1т2р","3неу","не2фр","не1хр","не3шк","нея2","2н1з2","нзо1с","1ни","ни3б2","ни2ен","3ний","ни2кл","нила2","ни2л1ал","ни2л1ам","2нинсп","2н1инст","ни1сл","нис3п","нист2р","ниу3","ни1х","3ниц","3нищ","2н1к","нк2в","нк2л","нкоб2","нко3п2","н2к1ро","нк1с","н1л","2н1н","нно3п2","1но","ноб2","но1бр","но2вл","но1дв","но1др","но2ер","но1зв","но2зд","но3з2о","но1зр","но3кн","3номе","ном3ш","но2рв","но1ру","но1скл","но2сли","но1с2п","но2сч","2нотд","но3ф2","ноэ2","н3п2","2н1ре","2н1ри","н1ро","2н1с","н2с3в","н2сг","нс2ке","н2скон","н2сл","н3сла","н2с3м","н2сн","н2с1ок","н3с2пе","нст2р","нсу2р","н2с3ф","н2съ3","2н1т","н2т1в","нти1о2к","н2тм","нт2ра","н2тр1а2г","нтр1аж","н2трар","нтрас2","нт2ре","н2трив","н2трок","нт2ру","нтр1уд","нт2ры","н2т1ря","1ну","нут1р","ну1х","3ную","2нф2","н1х","нхо1","2нц","2н1ч","н2чл","2нш","нш2т","2нщ","1ны","3ны.","2нь.","1нье","1ньи","2ньк","1ньо","2ньс","2ньт","2ньч","1нью","1нья","н2э","1н2ю","2н3ю2р","1ня","ня1ви","2о1а2","о3ав","оап1","2оба","2обио","об2лев","об2лем","о1блю","1обм","обо1л2г","обо3м2","обо2с","2обот","об1р","о2бра.","о1брав","о1бран","1объ","2обь","о1в","о3вла","о3в2ло","ов3но","о3в2нуш","о2в1ри","ов2се","ов3ско","ов2т","о2вх","ог2","2о3ге","ог3ла.","ог3ли.","ог3ло.","о3гря","2одан","од1вое","о3де.","1о2деял","2оди3а","2о3дим","од2лит","о2д1о2пе","одо3пр","о2д1о2пы","о2доси","о2д1отч","о1драг","од1раж","од1раз","од1рак","о1драл","од3реб","о1дроб","од1ров","о2д1у2ч","о2дыма","о2дыму","о2дын","о1дь","о2дьб","о1е","ое1б","о2е1вл","ое2д","о3ежек","ое2жи","ое1о","ое1с2","ое2ст","о2ето","ое2ц","о3жди","о3ж2ду","оза2б3в","2озав","о1з2ва","оз2вен","оз2ви","о1з2вя","оз2гло","оз2дор","о1здр","озе1о","оз3но","о1зо","о2з1об","2озон","о2зоп","озо1ру","оз1уг","о2зым","о3зыс","о3и","ои2г1","оиг2н","оие3","ои2з","ои2м","ои3мо","ои2о","2ой","ойс2","о1к","2о3кан","ок2в","2ок2л","о3клю","око1б","2о3кол","око3п2л","ок1ск","1окт","2окти","2окум","о3ла","ол2ган","о1ле","1олимп","о3ло","о1лу","олу3д2","о1лы","о1лю","о3ля","о3ма","ом2бл","2оме","о3м2нем","о3м2нет","о3множ","ом1ри","ом2ч","ом2ше","о2мь","о3мья","о3на","онд2","оне3ф2","оно1б","о1нр","онс2","он2тру","о1о2","о2ол","оо3пс","оос3м","оост1р","о2оти","о2оф","о3пак","о3пар","о2пле.","о2п1лей","о2пли","оп2лит","оп2ло","оп3лю.","о2пля","о3пляс","опо4вс","опоз2н","опо2ш3л","оп2ри","о3п2те","оп2то","о1ра","ора2с3","ор2б3л","о1р2в","о1ре","2о3рег","оре2ск","о1ри","ор1исп","о1ро","оро2с3л","ор2тр","о1руе","о1рук","ор1укс","о1рус","2орц","о1ры","о1рю","о1ря","о3сад","оса3ж2","ос2б","о2с3ба","о2с1ка.","ос3кар","оск1во","о2ске","ос1ки","о2ски.","о2сков","ос1кой","ос1ком","о1с2коп","ос1кою","о2с1ку.","ос1кую","о1с2л","ос3лей","ос3лог","ос3лых","ос3ми","ос3мос","о1с2ним","ос2нял","ос2пас","о1с2пу","ос2пя","ос2св","ос2с3м","о1ст","ос2та","о3стра","о2суч","2осх","ос2цен","о1с2ч","о1с2шив","о1т","отв2","от3ва","от1ве","от1ви","от1вл","1отг","1отд","2о3тек","о3тер","2о3тех","о3ти","о3ткал","о2тм","от1раб","от1рад","от1раз","отра2с","от1реж","от1рек","от1реч","от1реш","от1ри","от1род","от1рое","от1рок","от1рос","от1роч","от1руг","от3см","оту2а","от1у2ч","1отх","о3тью","о3тья","о1у2","оуп2","оус2к","оу3та","оу3то","2офаш","о3фе","2офит","2офон","о2фори","2офот","о2фри","2охи","ох1лы","о2хля","ох2ме","2охор","о1хр","о1ху","о2цо","оча1с","оч2л","оч1ле","о3чли","о1чт","о2ч1то","ош3ва","ош2ла","ошпа2к3","ош2т","оэ1ти","2ою","о1я","оя2в","оя2д","оя2з","оя2ри","1п","пави3","пав3л","па2вь","па2др","па2ен","па1зо","пас1л","пас1та","па1сте","пас1то","пас1ту","па2с1ты","па1тро","па2ун","па3ф","па1ху","па2шт","2п1в2","2п1д","пе1","пе2дв","пе2д1ин","пе2з","пе3за","пе3зо","пе2к1ла","пе2ль","пе4пл","пери1о","пе2с1к","пе2сн","пе2ст1р","пе2сц","пе2сч","пе2тр","пе2шт","пиаст1","пи2ж3м","пи2к1р","3пинк","3пися","4п3к","2пл.","4пла.","пла1с","п1лем.","п1лемс","2плен","п2ленк","п1ле2о","плес1к","п1лею","2плив","3п2лик","2пло.","2плов","2плог","2плый","2плым","п1лын","п1лых","2плю.","п1лют","п2ляс","п2ляш","2п1н","п3на","п3но1","п3ны","по1б2","по3вл","по3в2с","под1во","по2д1о2к","подо3м2","пое2л","пое2х","по1зве","по1здо","по1з2л","по1зн","пои2щ","3пой","3полк","по3мно","по3мну","3по3п2","п1орг","пор2ж","по1ру","по1с4","3посл","по3сс","пот2в","пот2р","по1х2","по2шло","по2шлы","по2шля","поэ3м","2пп2","ппо1д","2пр.","3прев","пре1з","прей2","пре1л","пре1ог","3прет","при1","при3в","приг2","при3д2","при3к","при3л","приль2","прип2","п2риц","про1бл","прод2л","про3ж2","про1з2","п1розо","3прои","про3п","профо2","2прс","п2ру","2п1с2","3п2сал","п3син","3п2сих","п3со","2п1т","п2т3в","3п2тих","п3ту","3пуб","пуг3н","пус1ку","пу1ст","пу3ть","2пф2","пх2","2пц","4п3ч","2пш","2пщ","2пь.","2пьт","пэ1ра","п2ю1","1ра.","раа2","ра2бл","1рабо","ра2б1р","1равня","ра2гв","ра2гл","рад2ж","радо1б2","ра2дц","ра2жур","ра2зий","ра2зуб","рак2в","1ракиз","ра2к3л","1ралг","1рамк","1рамн","ра2нох","ран2сц","ра2п1л","рас3к2","1расл","рас3п","рас1т","1раста","рас3т2л","ра2так","рат1в","ра1т2р","2рахи","1ращи","1раю","1рая","2раят","2р1б","рб2ла","р2бле","рб2ло","рб2лю","рбо3с","1р2вав","р3вак","р3вар","р3вата","р3веж","р2вео","1рвет","р1ви","р3вин","р2вит","р1во","рво1з2д","р1вь","2рг","р2гв","р2г1л","р2гн","рг2р","2р1д","рда1с","р2д1в","рд2ж","рди2а","р2дл","рдос2","р2дц","1ре.","ре1вр","рег2ля","рег2н","ре2д1о2п","ре2дос","рее2в","рее2д","рее2л","ре3ж2д","1резк","ре1з2л","ре1зна","1ре1зо","ре1зр","рез2у","1рейш","ре1к2л","1рекш","ре3мно","3ремо","ремо2г3","1ренк","1рень","ре1он","ре1оп","ре1о2р","ре1о2ф","ре1ох","ре1о2ц","1репь","ре3р2","рес1ки","ре1сл","ре1с2п","рес2с3м","ре3ста","ре3сто","ре1сч","ре1тв","ре1т2р","реуч3т","ре1чт","ре3шл","р3жа.","р3жам","р3жан","р3ж2д","2рз","р1з2в","р1зо","ри3а","риб2","ри3бр","ри3в2н","2риги","ри2гло","ри3г2н","2ридж","ри1д2р","рие2л","рие3р","риз2в","рик2р","ри3м2н","ри3м2ч","р2ин","1ринс","рио2з","рио2с","ри1от","ри3р2","ри1с2","ри3сб","2рисп","ри3ств","ри3т2р","1риу","ри2фл","ри3фр","ри1хл","1риц","1риш","риэти2","2р1к","р2кв","р2к1л","рк1с","2р1л2","р2ль","рлю1","р3ля","2рм","р2мч","2р1н","рнас4","рне3о","рне1с2","рно3сл","1ро.","ро2блю","ро1б2р","ро2вл","1рогол","1рогру","ро1дв","ро3д2з","ро1дл","род2ле","ро2д1от","ро1др","1родь","рое2л","рое2м","рое2х","1розар","ро1з2в","ро1зр","3розыс","рои2с3","1рокон","1рокр","1ролис","1ролиц","1ромор","1ронаж","1ронап","1ронос","рооп1р","ро2плю","ро3пс","2р1орг","ро1р2ж","ро1ру","ро1ск","ро2ски","ро2ску","1росл","ро1см","ро1с2п","рос2ф","1росш","1росю","1рот2в","1ротк","рот2ри","1роу","роуг2","ро2ф1ак","ро2фр","ро1хл","рош2л","ро3шн","1рояз","2рп","рп2ло","р2плю","2р1р","4р1с","рс2к","р2сн","рс2п","рств2","р3ствл","2р1т","р2такк","р2т1акт","р2т1в","рт3ва","рт2вл","р2тм","р2т1об","рт1орг","рт1ра","рт2ран","рт1ре","рт1ри","ртус1","р2т1у2чи","р3тью","рт1яч","1ру.","1руба","руг3н","ру2дар","1ружей","2рукс","1рул","рус1к","рус3л","ру1ста","руст1р","ру3ть","1руха","1рухо","1ручн","2рф","рф2л","2рх","р2хв","р2х1ин","рх1л","р1х2ло","р2х1оп","рх1р","2рц","р2цв","2р1ч","р2чл","р2чм","2рш","р3ш2м","рш2т","2рщ","2ръ","1ры.","1рыб","ры2дв","2рыз","ры2кл","1рым","ры2с1к","ры2х1","2рь.","1рье","1рьи","2рьк","2рьс","2рьт","1рью","1рья","рэ1л","р2ю","1рю.","1рюс","ря1ви","1ряю","1са","са2бл","са2дь","са2кв","са2кл","2с1альп","с1апп","2с1арк","2с1атл","са1тр","са2ун","са2ф1р","са1х2","1сб2","2сбе3з2","сбезо3","сбе3с2","2с3бу","с2бы","2сбю","1с2в","2с3вен","сг2","с2ги","с2гн","с2го","1сд2","с2да","с2де","с3ди","с2до","1с2е","сег2н","се1з2","се1кв","сек1л","се2к1р","секс4","семи1","сере2б","се2ск","се2ст","се3ста","се3сте","сест1р","1с2ж","с1з","1с2и","3сиз","си1ом","си1оп","си2пл","си1х","4ск.","2скам","с2канд","1с2каф","2сках","ск2ва","с2кви","3скино","ск2л","с2кля","ск3ляв","2скн","с1кон","2скона","с2копс","2скош","ск2р","с1кра","2скриб","ск1с","2скуе","2с3ла.","1слав","1слад","с1лам","2с3лая","с3лев","с3лее","с1лей","слео2","с1лет","с3лею","2с3ли.","2слиц","2с3ло.","с2лож","с3лому","2с3лос","2с3лую","2с3лые","2с3лый","2с3лым","2сль","с1люс","2с3ля","с2м","1смес","с4мея","с3мур","с1н","1с2наб","с2нас","2сная","1с2неж","2с3ник","2сно","сно1з2","2сную","2с3ны","1со","со1б2р","с2ов","сов2р","со1д","со1з2","со1л2г","со3м2","со2рие","со1ру","со1ск","со1с2п","со2сь","сот2р","со1чл","сош2л","сп2","с2пав","с2пее","с2пел","с2пен","с2пех","1с2пец","с2пеш","с2пею","с2пим","2спися","с3пн","спо1з2","2спол","с2пос","2спь","1ср","2ср.","с2раб","сра2с","с1рат","сре2б1","сре3до","2с1с","ссанд2","с2сб","сс3во","4с5си","с3с2к","сс2л","с2сн","с3с2не","с2сори","сс2п","сст2","сс2ч","2ст.","1ста.","2стб","4ств.","ст1вер","2ствл","ст2вол","ст2вя","с2те","1с4те.","1стей","1стел","1стен.","с3тет.","с3тете","сте3х","с3теш","1сти","с2тие","с2тии","2стимп","2стинд","2стинф","2стинъ","с2тич","с2тишк","с2тию","2стк","ст2ла","с3т2ле","2стли","ст2лил","ст2лит","2стля","2стм","2стн","1сто.","с2то1б","1стов","1стог","сто2г3н","1стод","1стое","3с2тои","1сток","1стом","1стон","2сторг","2сторж","2сторс","1стос","1стот","с2тоц","1стою","2стп","2стр.","страс2","4страя","2стред","ст1рей","2стрив","ст1риз","2стрил","2стрищ","ст1роа","с4т1ров","ст1род","ст1рох","ст2руб","ст1руш","2стс","с1тут","1стую","2стф","2стц","1сты","с2тыв","с4ть","2сть.","2стьс","3стью","1стья","1стям","1стях","1су","су2б","суб1а2","суб1о","су1в","су3гл","су2ев","су2з","су1кр","сума1","супе2","сус3л","сус3п","су1ст","сут1р","су2ф3","су1х","1с2фе","с1х2","1с2хе","2сца","с2цена","2с3ци","2сцо","сч2","1сча","с2час","сче2с1к","с3чив","2счик","с2чит","с1чл","2счо","сш2","с3шн","1съ2","съе3д","съе3л","1сы","сы2г1","сы2з","сы2п1л","сы2с","сыс1ка","2сь.","1сье","2ськ","2сьт","1сью","1сья","сэ1р","с2эс","1с2ю","сю1с","1ся","2сяз","ся3ть","та2бл","таб2р","та1ври","1таг","та2гн","та1з2","так3ле","т2ан","та2пл","1тас","та1ст","та1тр","1тащ","2т1б2","2тв.","2т2ва","т1вей","т1вел","т1вет","2тви","т1вое","т1во1з","2т1вой","т1вос","2твою","2т1вр","2тву","2твы","2твя","2тг","2т1д","1т2е","те2гн","те1д","те1зо","3тека","тек1л","3текш","теле1о","тем2б1","те2о3д","те1ох","те4п1л","те2рак","тере2о","3терз","тер3к","3теря","те2ска","те2с1ки","те2с1ко","те2ску","тест2","те2хо","2тж","2т1з","тиа2м","ти2бл","ти3д2","ти1зна","тии2","тиис1","тик2","тила2м","т1имп","2т1инв","т1инд","2тинж","2тинф","ти1с2л","ти3ств","ти3ф2р","ти1хр","2т1к2","3т2кав","3т2кан","3т2кет","3ткн","2т1л","тло2б","т2ль","тм2","тми2с","тмист1","т3мщ","2т1н","то2бес","то1б2л","2тобъ","то2вл","то1д","то3д2р","то1з2","ток2р","2т1омм","2томс","2тонг","1торг","1торж","1торс","то1ру","1торш","то1с2н","то1с2п","то1с2ц","2тотд","то3тк","1тощ","2тп2","тпа1т","т1рага","2т1раж","2трб","2трв","2трг","2трд","трдо2","т1реа","1требо","1требу","т1ребь","т1реве","т1ревш","т1рег","т1ред","т1рее","т1реза","т1резн","треп1л","3тре2с","трес1к","т1рест","т1рету","3т2ре2х","т1рец","т2решь","т1рею","1триб","т1рив","три2г1л","т1рил","т1рим","4тринс","три1о","т1рит","три3ф","т1рищ","2трм","2трн","т1рогл","т1роид","2трой","тро3пл","т1рор","т1росо","тро3т","4т3роц","2трою","2трп","2трр","1труб","т2руд","2трук","т2рум","т2рут","2трф","2трщ","2тръ","т1ры","т1ря.","т1ряв","2т1ряд","т1ряе","т1ряж","т1ряй","т3ряк","т1рят","т1рящ","т1ряя","4т1с2","т2сб","т2с3д","тсеп2","т2с3м","т2с3п","2т1т","т2тм","ту2гр","ту2жин","2т1у2пр","ту1сл","ту1ст","ту2фл","1туша","1тушо","1тушь","1тущ","2тф","2т1х","4тц","2т1ч","2тш2","2тщ","2тъ","ты2г1","ты2с1к","2ть","4ть.","3тье","3тьи","ть2м","4тьт","тью1","2тэ","т2ю","тю1т","1тяг","1тяж","1тяп","2тя2ч","у1а","у2але","у2ас","у3бел","убо1д","убос2","уб1р","1убра","уб3рю","1у2быт","у1ве.","у1ви","ув2л","у1во","у1ву","у2гв","у2гл","у2гн","уг2на","уг2не","уг1ре","уг1ря","уда1с","уд2в","уд1рам","уд1ро","у3ду","у1е","уе2д","уе2л","уе1с","уе2с1к","уес2л","уе2х","у2жж","у1з2в","у1зо","узо3п","у1и","у1ка","ук1в","у1ки","у1ко","уко1б","у1ку1","у1ла","у1ле","у1лу","у1лых","у1лю","у2мч","у3на","ун2д1р","у1нь","у1о","уо2б","уо2в","у2оза","уо2к","уо2п","уо2с","уост1","уо2т1","уо2ф","у2пл","уп1лю","у3про","у1ра","у1ре","уре2т3р","у1ри","урке3","у1ро","у2род","уро2дл","урт2р","у3ру","у1ры","у1рю","у1ря","у2сад","у1сг","ус1ка","ус1ки","уск3л","ус1ком","у1скр","ус1ку.","ус2л","усла4ж3","ус3ли","у1см","у2сн","ус2п","ус3с","у1сте","у1стя","у1сф","2усц","у2сч","у2сь","у3сья","у1та","у3тер","у1ти","ут2ля","у1то","уто3п2с","ут1ри","у1ту","у1ты","у1тье","у3тью","1утю","у1тя","у1у","ууг2","уу2с","у3фи","уф1л","уф2ля","у2фр","ух1ад","уха2т","у2хв","у3х4во","ух1л","ух3ля","ух1р","у2чеб","1учр","у1чь","у3ше","у3ши","у2шл","уш1ла","у2шп","2уэ","у1я","уя2з","1ф","фа2б1","фа2гн","фа1зо","фан2д","фанд1р","фа1тр","фа2х","3фаш","фаэ1","2ф1б","2ф1в","2фг","2ф1д","фев1р","фед1р","фе1о3","фе2с1к","ф4и","фиа2к1","фи2гл","фи2ж","фи2зо","фи2нин","фи1о","3фит","2ф1к","ф2ла","ф2ли","ф2ло","2фм","2ф1н","2фобъ","3фон","фо2рв","2ф1орг","фор3тр","фо1ру","фос1к","3фот","фото3п","ф1раб","фра1з","фра1с","ф1рат","ф2рен","фре2с","ф1ри","ф2риж","ф2риз","ф1ро","ф2рон","ф1ру","2ф3с","2ф1т","ф2тм","ф2тор","2ф1у2п","фу3тл","2фуф","2фф","2ф1ч","2фш2","2фь.","ф2ю1","1ха","ха2бл","ха2д","2х1ак","хан2д","хао3","х1арш","2х1б","1х2в","2х3ве","2х3ви","х3вы","2хг","х3д2","1хе","хео3","х1з2","1хи","хиат1","хие2","2х1изы","хи1с2","х1к2","х1лав","х1лас","х1лат","х1лац","1хлеб","х2лес","х1лет","х3ло.","х2лоп","1х2лор","х1лу","1х2му","2х1н","3х2ны","1хо","2х1о2к","хоп2","хо2пе","хо2пор","хо1ру","х1осм","2х1осн","хоф2","хох1л","хоя2","хп2","х1раз","1хран","х1ра1с2","х1рей","хри2пл","х2рис","х1ров","1хром","хро2мч","х1ры","х1ря","2х1с2","2х1т","1ху.","х1у2г","2хуе","2хуй","1хун","х1у2р","ху3ра","1хус","1хуш","2хую","х1х2","2х1ч2","2хш","хью1","1ц","ца1","3ца.","3цам","ца2пл","3цах","2ц1б","ц2ве","2цвы","2цг","2ц1д","це1з","це1к","це1от","цеп1л","цес2л","це1т","2цетат","2ц1з","ци1","ци2к1","цик3л","ци2ол","цип2","ци2ск","циу3","циф1р","2ц1к2","2ц1л","2цм","2ц1н","ц1о2б","2ц1о2д","2ц1от","2цп2","2ц1р","2ц1с","2ц1т","3цу","2цц","2ц3ш2","3цы","цы2п","цып3л","цю1","1ча","ча2др","ча2дц","ча2ево","ча2евы","ча2ер","част1в","ча1сте","ча1сту","ча1стя","3чато","3чаты","2ч1б","ч1в","2ч1д","1че","че1вл","че2гл","че1о","чер2с","черст1","че1сл","ч2ж","чжо2","1чи","3чик","3чиц","2ч1к","1ч2ла","ч2ле","ч3лег","ч3леж","2чли","ч2ли.","1ч2ло","1чм","2чма","2чме","ч2мо","2ч1н","3чо","2ч1с","2ч1та","ч2те","2чтм","1чу","3чук","ч2х","2ч1ч","2чь.","1чье","1чьи","2чьс","2чьт","1чью","1чья","1ш","ша2бл","ша2гн","ша2г1р","ша2др","шан2кр","шар3т2","ша1ст","ша1тро","2ш1б","ш2в","ш3вен","ше2гл","ше1к","ше1о2","ше3пл","ше1с2","ши2бл","ши2пл","шиф1р","2ш1к2","3ш2кол","2ш1лей","2шлен","ш2ли.","2шлив","2шлил","ш2лин","ш2лис","ш2лите","ш2лиф","ш2ло.","2шлов","ш2лог","ш1лы","ш2лю","2шляе","2шляк","ш2ляп","2шлят","2шляч","2шляю","2шм","3ш2мы","4ш3мы.","2ш1н","4шни","ш2нур","ш2п2","ш3пр","2ш1р","2ш1с","ш1ти","2штс","шу2ев","шуст1","2шф","ш1х","2шц","2ш1ч","2шь","4шь.","3шье","3шьи","3шью","3шья","ш2ю1","1щ","2щ3в2","ще1б2л","ще2гл","щед1р","щеи2","щеис1","ще1с","ще1х","щеш2","ще3шк","щи2п1л","2щм","2щ1н","2щ1р","2щь.","ъ1","ъе2г","ъе2д","ъе3до","ъе2л","ъ2е2р","ъе2с","ъе2хи","ъю2","ъя2","ъя3н","ы1","ы2бл","ы3га","ы3ги","ыг2л","ы2гн","ы2дл","ыд2ре","ы2д1ро","ы2дря","ые2","ы3ж2д","ыз2ва","ыз2д","ы2зл","ы2зн","ыз2на","ыи2","ыиг1","ы2к1в","ык2л","ы2к3ло","ыко1з","ык1с","ы2ль","ы2мч","ынос3л","ы3по","ыра2с3","ыр2в","ыре2х","ы3са","ы3се","ыс1ки","ыс1ку","ы2сн","ы3со","ыс2п","ы2сх","ыс2ч","ы2сш","ыт1ви","ыт2р","ы3тью","ы3тья","ыу2","ы2ш1л","ы3шь","ь1","ьб2","ь2вя","ь2дц","ь2е","ье1зо","ье1к","ье2с1к","ь2зн","ь2и1","ь2кл","ьми3д","ьми3к","ьмо1","ьне2о","ь2о","ь2п1л","ь3п2то","ьс2к","ь2сн","ь2сти","ь2стя","ь2т1амп","ьти3м","ь2тм","ь2тот","ь2траб","ьт2ре","ьт2ру","ьт2ры","ьхо2","ьхоз1","ь2ща","ь2ще","ь2щу","ь2ю","ь2я","ья1в","ь3ягс","1э","э1в","эв1р","2эг","эд1р","эк1л","экс1","эк2ст","эле1о","э2м","э3ма","э2н","э3нь","эо2з","э2п","эпи3к","э1ре","э1ри","эри4тр","эро1с2","э1ру","э1ры","эс1","эск2","эс3м","э2со","эс3те","эс2т1р","э2те","этил1а","эт1ра","э2ф","эх2","эхо3","э2ц","эя2","1ю","ю1а","ю1б","ю2бв","ю2бл","ю2б1ре","ю1в","ю1дь","ю1е","юз2г","юзи2к","ю1зо","ю1и","ю2идал","ю1к","ю2к1в","ю1ла","ю1ле","ю2ли","ю1лю","2юм","ю2мч","ю2нь","ю1о1","ю1ра","ю1ре","юре4м","ю1ри","юри2ск","ю1ро","ю1ру","ю1ры","ю2с1к","ю1ста","ю1сте","ю1сто","ю1стя","ю1ти","ю1то","ю1ту","ю1ты","ю1х","юха1с","ю1ч","ю2щь","ю1я","я2бр","яб1ра","яб3ре","яб1ри","яб3рю","3явикс","я1во","я1ву","я1в2х","я2г1л","я2гн","яд1в","яд1р","я1е","яз2гн","я1зо","я1и","я1к","я2к1в","я2к1л","як1с","я1л","я2ль","ям2б3л","я2мь","я3на","янс2","я1ра","я1ри","я1ро","я1рь","яс1к","яс1л","яс2т","яст3в","я1сто","яст1р","я1та","ят3в","я3ти","яти1з","я1то","я1ту","я1ты","я3тью","я3тья","я1тя","я1у","ях1л","я1ху","яце1","я2шл","2яю.","2я1я",".бо2дра",".вст2р",".доб2рел",".до1б2ри",".об2люю",".об2рее",".об2рей",".об2рею",".об2рив",".об2рил",".об2рит",".па2н1ис",".пом2ну",".реа2н",".ро2с3пи",".со2пла","а2ньш","атро2ск","безу2с","бино2ск","виз2гн","выб2ре","гст4р","ди1с2лов","дос2ня","дро2ж3ж","2дружей","е2мьд","е2о3плато","е2о3пози","ере3с2со","4ж3дик","4ж3дич","заи2л","зао2з","2з1а2хав","заю2л","з2рят","зу2мь","6зь.","и2л1а2мин","илло3к2","й2кь","ла2б1р","лу3с4н","ме2динс","ме2д1о2см","мети2л1ам","мис4с3н","нар2ват","не2о3ре","ни1с2кол","ни4сь.","но4л1а2мин","н2трасс","о2д1о2бол","о4ж3дев","о1и2с1тр","ойс4ков","о2м3че.","они3л2ам","он2трат","о2плюс","осо4м3н","оти4дн","пере1с2н","по2доде","по2д1у2ро","пое2ж","по2стин","прем2но","приче2с1к","пти4дн","редо4пл","реж4ди","рни3л2а3м","роб2лею","2сбрук1","со2стрит","со3т2кал","2стче.","2стьт","сы2мит","2сься.","6тр.","тро2етес","6хуя.","ы2рьм","ыя2вя","ьбат2","а1вё","а2двё","а1ё","аз3вёз","а1лё","2алёк","2амёт","ам2нёт","а1рё","ас3тём","а1тьё","1бё","бё2д1р","б3лён","б2лёс1к","б2люё","б1рёк","б2рём","б2рёх","1веё","3везё","вёд1р","1вёз","2вёрд","1вёс","в2лёк","в2лёт","1вмё","в2нёс","2в1рён","3всё3","1вьё","г1лё","г2лёт","г2нёв","г3нён","г2ноё","д1вё","1дё",".доб2рёл","2доплё","до2прё","д1рё","д2рёб","2д3рёж","д2рём","1дрёма","1дрёмы","2д3рён","дъё2м","1дьё","еб1рён","е1вё","2евёр","2е1врё","е2глё","е1ё","2ежё","е3зё","е1лё","2епё","ер1вё","е1рё","ерё3до","ерё1к2","ес2чёт","ет1вё","е1тьё","2ёб","ё1бра","ёб1ры","ё1ве","ё1во","2ё1вре","ё1ву","ё1дру","2ё3душ","2ёже","ё3зе","ёз1о2г","ё1зом","ё1ка","ё1ки","2ё1ко","2ё1кр","ёк2ро","ё1ку","ё1ла","ё1ле","ё1лу","ё1лы","2ёмуж","ё2мч","ё3на","ён2д1р","ёнс2","ёпат2","2ёпе","ё2пл","ё3пла","ёп1лу","ё3плы","ё4пн","2ёпо","ё4пт","ё1ра","ё1ре","ё3ре.","ё1ри","ё1ро","ёр3ск","ё1ру","ё1ры","ё3с2а","ё1ск","ё2с1ка.","ё2ске","ё4с1ку.","2ёсл","ё3со","ё1ст","ёс2тан","ё3сту","ё1та","2ётеч","ё1ти","ё1то","ёто1с","ёт1р","ё1ту","ё1ты","ё1тю","ё1тя","ёха2т","ёх1ато","ёх3вал","ёх3лоп","ёх1опо","ёх1ру","3жёв","жё1с2","ж2жё","за3мнё","з1вё","з2вёз","1зё","з2наё","2знё","1з2о3рё","з2отё","зот2рё","3зуё","зъё2м","2зымё","2и1вё","иг1рён","и1ё","их1рё","1каё","1кё","к3лён","к2роё","3куё","ла1стё","лё3до","лё1з2о3","лёк1л","1лён","лё2ск","лё4ска","1лёх","2лоён","1луё","3льё","1льщё","3м2нёш","3м2щё","нд2рё","не3ё","1нё","нё1б2","3номё","1ньё","од3рёб","о1ё","оё2жи","о1лё","2омё","о3м2нём","о3м2нёт","о2п1лёй","о1рё","о2скё","от1вё","2о3тёк","о3тёр","от1рёк","от1рёш","о3фё","пё1","пё2ст1р","пё2тр","2плён","п2лёнк","плёс1к","п1лёю","поё2ж","3прёт","причё2с1к","р2блё","1рвёт",".рё2бр","1рёзк","рё1зна","1рё1зо","рёз2у","1рёкш","3рёмо","1рёнк","рё3ста","рё3сто","род2лё","роё2м","1рьё","с2дё","се3стё","1с2ё","сёкс4","сё2ст","сёст1р","2скуё","с1лёт","с2тё","1стёл","1стён.","с3тёт.","с3тёте","стё3х","с3тёш","с3т2лё","счё2с1к","1сьё","т1вёл","т1воё","1т2ё","тё2гн","тё1зо","3тёка","тёк1л","3тёкш","тё4п1л","тёр3к","тё2ска","тё2с1ки","тё2с1ко","тё2ску","тё2хо","3т2кёт","т1ревё","3т2рё2х","т2рёшь","тро2етёс","3тьё","уг2нё","уг1рё",".уё2","у1ё","у1лё","у1рё","у1стё","у3тёр","у1тьё","у2чёб","у3шё","2х3вё","1хлёб","х2лёс","ц2вё","1чё","чёр2с","чёрст1",".чё2с1к","ч2тё","1чьё","2шлён","3шьё","ъ2ё2р","ыд2рё","ырё2х","ы3сё","ь2ё","ьё1зо","ь2щё","ю1ё","яб3рё",".не8","8не.","8бъ.","8въ.","8гъ.","8дъ.","8жъ.","8зъ.","8къ.","8лъ.","8мъ.","8нъ.","8пъ.","8ръ.","8съ.","8тъ.","8фъ.","8хъ.","8цъ.","8чъ.","8шъ.","8щъ.","8-7","--8",".а-8",".б-8",".в-8",".г-8",".д-8",".е-8",".ё-8",".ж-8",".з-8",".и-8",".й-8",".к-8",".л-8",".м-8",".н-8",".о-8",".п-8",".р-8",".с-8",".т-8",".у-8",".ф-8",".х-8",".ц-8",".ч-8",".ш-8",".щ-8",".ъ-8",".ы-8",".ь-8",".э-8",".ю-8",".я-8","-а8а8","8а8а-","-а8б8","8а8б-","-а8в8","8а8в-","-а8г8","8а8г-","-а8д8","8а8д-","-а8е8","8а8е-","-а8ё8","8а8ё-","-а8ж8","8а8ж-","-а8з8","8а8з-","-а8и8","8а8и-","-а8й8","8а8й-","-а8к8","8а8к-","-а8л8","8а8л-","-а8м8","8а8м-","-а8н8","8а8н-","-а8о8","8а8о-","-а8п8","8а8п-","-а8р8","8а8р-","-а8с8","8а8с-","-а8т8","8а8т-","-а8у8","8а8у-","-а8ф8","8а8ф-","-а8х8","8а8х-","-а8ц8","8а8ц-","-а8ч8","8а8ч-","-а8ш8","8а8ш-","-а8щ8","8а8щ-","-а8ъ8","8а8ъ-","-а8ы8","8а8ы-","-а8ь8","8а8ь-","-а8э8","8а8э-","-а8ю8","8а8ю-","-а8я8","8а8я-","-б8а8","8б8а-","-б8б8","8б8б-","-б8в8","8б8в-","-б8г8","8б8г-","-б8д8","8б8д-","-б8е8","8б8е-","-б8ё8","8б8ё-","-б8ж8","8б8ж-","-б8з8","8б8з-","-б8и8","8б8и-","-б8й8","8б8й-","-б8к8","8б8к-","-б8л8","8б8л-","-б8м8","8б8м-","-б8н8","8б8н-","-б8о8","8б8о-","-б8п8","8б8п-","-б8р8","8б8р-","-б8с8","8б8с-","-б8т8","8б8т-","-б8у8","8б8у-","-б8ф8","8б8ф-","-б8х8","8б8х-","-б8ц8","8б8ц-","-б8ч8","8б8ч-","-б8ш8","8б8ш-","-б8щ8","8б8щ-","-б8ъ8","8б8ъ-","-б8ы8","8б8ы-","-б8ь8","8б8ь-","-б8э8","8б8э-","-б8ю8","8б8ю-","-б8я8","8б8я-","-в8а8","8в8а-","-в8б8","8в8б-","-в8в8","8в8в-","-в8г8","8в8г-","-в8д8","8в8д-","-в8е8","8в8е-","-в8ё8","8в8ё-","-в8ж8","8в8ж-","-в8з8","8в8з-","-в8и8","8в8и-","-в8й8","8в8й-","-в8к8","8в8к-","-в8л8","8в8л-","-в8м8","8в8м-","-в8н8","8в8н-","-в8о8","8в8о-","-в8п8","8в8п-","-в8р8","8в8р-","-в8с8","8в8с-","-в8т8","8в8т-","-в8у8","8в8у-","-в8ф8","8в8ф-","-в8х8","8в8х-","-в8ц8","8в8ц-","-в8ч8","8в8ч-","-в8ш8","8в8ш-","-в8щ8","8в8щ-","-в8ъ8","8в8ъ-","-в8ы8","8в8ы-","-в8ь8","8в8ь-","-в8э8","8в8э-","-в8ю8","8в8ю-","-в8я8","8в8я-","-г8а8","8г8а-","-г8б8","8г8б-","-г8в8","8г8в-","-г8г8","8г8г-","-г8д8","8г8д-","-г8е8","8г8е-","-г8ё8","8г8ё-","-г8ж8","8г8ж-","-г8з8","8г8з-","-г8и8","8г8и-","-г8й8","8г8й-","-г8к8","8г8к-","-г8л8","8г8л-","-г8м8","8г8м-","-г8н8","8г8н-","-г8о8","8г8о-","-г8п8","8г8п-","-г8р8","8г8р-","-г8с8","8г8с-","-г8т8","8г8т-","-г8у8","8г8у-","-г8ф8","8г8ф-","-г8х8","8г8х-","-г8ц8","8г8ц-","-г8ч8","8г8ч-","-г8ш8","8г8ш-","-г8щ8","8г8щ-","-г8ъ8","8г8ъ-","-г8ы8","8г8ы-","-г8ь8","8г8ь-","-г8э8","8г8э-","-г8ю8","8г8ю-","-г8я8","8г8я-","-д8а8","8д8а-","-д8б8","8д8б-","-д8в8","8д8в-","-д8г8","8д8г-","-д8д8","8д8д-","-д8е8","8д8е-","-д8ё8","8д8ё-","-д8ж8","8д8ж-","-д8з8","8д8з-","-д8и8","8д8и-","-д8й8","8д8й-","-д8к8","8д8к-","-д8л8","8д8л-","-д8м8","8д8м-","-д8н8","8д8н-","-д8о8","8д8о-","-д8п8","8д8п-","-д8р8","8д8р-","-д8с8","8д8с-","-д8т8","8д8т-","-д8у8","8д8у-","-д8ф8","8д8ф-","-д8х8","8д8х-","-д8ц8","8д8ц-","-д8ч8","8д8ч-","-д8ш8","8д8ш-","-д8щ8","8д8щ-","-д8ъ8","8д8ъ-","-д8ы8","8д8ы-","-д8ь8","8д8ь-","-д8э8","8д8э-","-д8ю8","8д8ю-","-д8я8","8д8я-","-е8а8","8е8а-","-е8б8","8е8б-","-е8в8","8е8в-","-е8г8","8е8г-","-е8д8","8е8д-","-е8е8","8е8е-","-е8ё8","8е8ё-","-е8ж8","8е8ж-","-е8з8","8е8з-","-е8и8","8е8и-","-е8й8","8е8й-","-е8к8","8е8к-","-е8л8","8е8л-","-е8м8","8е8м-","-е8н8","8е8н-","-е8о8","8е8о-","-е8п8","8е8п-","-е8р8","8е8р-","-е8с8","8е8с-","-е8т8","8е8т-","-е8у8","8е8у-","-е8ф8","8е8ф-","-е8х8","8е8х-","-е8ц8","8е8ц-","-е8ч8","8е8ч-","-е8ш8","8е8ш-","-е8щ8","8е8щ-","-е8ъ8","8е8ъ-","-е8ы8","8е8ы-","-е8ь8","8е8ь-","-е8э8","8е8э-","-е8ю8","8е8ю-","-е8я8","8е8я-","-ё8а8","8ё8а-","-ё8б8","8ё8б-","-ё8в8","8ё8в-","-ё8г8","8ё8г-","-ё8д8","8ё8д-","-ё8е8","8ё8е-","-ё8ё8","8ё8ё-","-ё8ж8","8ё8ж-","-ё8з8","8ё8з-","-ё8и8","8ё8и-","-ё8й8","8ё8й-","-ё8к8","8ё8к-","-ё8л8","8ё8л-","-ё8м8","8ё8м-","-ё8н8","8ё8н-","-ё8о8","8ё8о-","-ё8п8","8ё8п-","-ё8р8","8ё8р-","-ё8с8","8ё8с-","-ё8т8","8ё8т-","-ё8у8","8ё8у-","-ё8ф8","8ё8ф-","-ё8х8","8ё8х-","-ё8ц8","8ё8ц-","-ё8ч8","8ё8ч-","-ё8ш8","8ё8ш-","-ё8щ8","8ё8щ-","-ё8ъ8","8ё8ъ-","-ё8ы8","8ё8ы-","-ё8ь8","8ё8ь-","-ё8э8","8ё8э-","-ё8ю8","8ё8ю-","-ё8я8","8ё8я-","-ж8а8","8ж8а-","-ж8б8","8ж8б-","-ж8в8","8ж8в-","-ж8г8","8ж8г-","-ж8д8","8ж8д-","-ж8е8","8ж8е-","-ж8ё8","8ж8ё-","-ж8ж8","8ж8ж-","-ж8з8","8ж8з-","-ж8и8","8ж8и-","-ж8й8","8ж8й-","-ж8к8","8ж8к-","-ж8л8","8ж8л-","-ж8м8","8ж8м-","-ж8н8","8ж8н-","-ж8о8","8ж8о-","-ж8п8","8ж8п-","-ж8р8","8ж8р-","-ж8с8","8ж8с-","-ж8т8","8ж8т-","-ж8у8","8ж8у-","-ж8ф8","8ж8ф-","-ж8х8","8ж8х-","-ж8ц8","8ж8ц-","-ж8ч8","8ж8ч-","-ж8ш8","8ж8ш-","-ж8щ8","8ж8щ-","-ж8ъ8","8ж8ъ-","-ж8ы8","8ж8ы-","-ж8ь8","8ж8ь-","-ж8э8","8ж8э-","-ж8ю8","8ж8ю-","-ж8я8","8ж8я-","-з8а8","8з8а-","-з8б8","8з8б-","-з8в8","8з8в-","-з8г8","8з8г-","-з8д8","8з8д-","-з8е8","8з8е-","-з8ё8","8з8ё-","-з8ж8","8з8ж-","-з8з8","8з8з-","-з8и8","8з8и-","-з8й8","8з8й-","-з8к8","8з8к-","-з8л8","8з8л-","-з8м8","8з8м-","-з8н8","8з8н-","-з8о8","8з8о-","-з8п8","8з8п-","-з8р8","8з8р-","-з8с8","8з8с-","-з8т8","8з8т-","-з8у8","8з8у-","-з8ф8","8з8ф-","-з8х8","8з8х-","-з8ц8","8з8ц-","-з8ч8","8з8ч-","-з8ш8","8з8ш-","-з8щ8","8з8щ-","-з8ъ8","8з8ъ-","-з8ы8","8з8ы-","-з8ь8","8з8ь-","-з8э8","8з8э-","-з8ю8","8з8ю-","-з8я8","8з8я-","-и8а8","8и8а-","-и8б8","8и8б-","-и8в8","8и8в-","-и8г8","8и8г-","-и8д8","8и8д-","-и8е8","8и8е-","-и8ё8","8и8ё-","-и8ж8","8и8ж-","-и8з8","8и8з-","-и8и8","8и8и-","-и8й8","8и8й-","-и8к8","8и8к-","-и8л8","8и8л-","-и8м8","8и8м-","-и8н8","8и8н-","-и8о8","8и8о-","-и8п8","8и8п-","-и8р8","8и8р-","-и8с8","8и8с-","-и8т8","8и8т-","-и8у8","8и8у-","-и8ф8","8и8ф-","-и8х8","8и8х-","-и8ц8","8и8ц-","-и8ч8","8и8ч-","-и8ш8","8и8ш-","-и8щ8","8и8щ-","-и8ъ8","8и8ъ-","-и8ы8","8и8ы-","-и8ь8","8и8ь-","-и8э8","8и8э-","-и8ю8","8и8ю-","-и8я8","8и8я-","-й8а8","8й8а-","-й8б8","8й8б-","-й8в8","8й8в-","-й8г8","8й8г-","-й8д8","8й8д-","-й8е8","8й8е-","-й8ё8","8й8ё-","-й8ж8","8й8ж-","-й8з8","8й8з-","-й8и8","8й8и-","-й8й8","8й8й-","-й8к8","8й8к-","-й8л8","8й8л-","-й8м8","8й8м-","-й8н8","8й8н-","-й8о8","8й8о-","-й8п8","8й8п-","-й8р8","8й8р-","-й8с8","8й8с-","-й8т8","8й8т-","-й8у8","8й8у-","-й8ф8","8й8ф-","-й8х8","8й8х-","-й8ц8","8й8ц-","-й8ч8","8й8ч-","-й8ш8","8й8ш-","-й8щ8","8й8щ-","-й8ъ8","8й8ъ-","-й8ы8","8й8ы-","-й8ь8","8й8ь-","-й8э8","8й8э-","-й8ю8","8й8ю-","-й8я8","8й8я-","-к8а8","8к8а-","-к8б8","8к8б-","-к8в8","8к8в-","-к8г8","8к8г-","-к8д8","8к8д-","-к8е8","8к8е-","-к8ё8","8к8ё-","-к8ж8","8к8ж-","-к8з8","8к8з-","-к8и8","8к8и-","-к8й8","8к8й-","-к8к8","8к8к-","-к8л8","8к8л-","-к8м8","8к8м-","-к8н8","8к8н-","-к8о8","8к8о-","-к8п8","8к8п-","-к8р8","8к8р-","-к8с8","8к8с-","-к8т8","8к8т-","-к8у8","8к8у-","-к8ф8","8к8ф-","-к8х8","8к8х-","-к8ц8","8к8ц-","-к8ч8","8к8ч-","-к8ш8","8к8ш-","-к8щ8","8к8щ-","-к8ъ8","8к8ъ-","-к8ы8","8к8ы-","-к8ь8","8к8ь-","-к8э8","8к8э-","-к8ю8","8к8ю-","-к8я8","8к8я-","-л8а8","8л8а-","-л8б8","8л8б-","-л8в8","8л8в-","-л8г8","8л8г-","-л8д8","8л8д-","-л8е8","8л8е-","-л8ё8","8л8ё-","-л8ж8","8л8ж-","-л8з8","8л8з-","-л8и8","8л8и-","-л8й8","8л8й-","-л8к8","8л8к-","-л8л8","8л8л-","-л8м8","8л8м-","-л8н8","8л8н-","-л8о8","8л8о-","-л8п8","8л8п-","-л8р8","8л8р-","-л8с8","8л8с-","-л8т8","8л8т-","-л8у8","8л8у-","-л8ф8","8л8ф-","-л8х8","8л8х-","-л8ц8","8л8ц-","-л8ч8","8л8ч-","-л8ш8","8л8ш-","-л8щ8","8л8щ-","-л8ъ8","8л8ъ-","-л8ы8","8л8ы-","-л8ь8","8л8ь-","-л8э8","8л8э-","-л8ю8","8л8ю-","-л8я8","8л8я-","-м8а8","8м8а-","-м8б8","8м8б-","-м8в8","8м8в-","-м8г8","8м8г-","-м8д8","8м8д-","-м8е8","8м8е-","-м8ё8","8м8ё-","-м8ж8","8м8ж-","-м8з8","8м8з-","-м8и8","8м8и-","-м8й8","8м8й-","-м8к8","8м8к-","-м8л8","8м8л-","-м8м8","8м8м-","-м8н8","8м8н-","-м8о8","8м8о-","-м8п8","8м8п-","-м8р8","8м8р-","-м8с8","8м8с-","-м8т8","8м8т-","-м8у8","8м8у-","-м8ф8","8м8ф-","-м8х8","8м8х-","-м8ц8","8м8ц-","-м8ч8","8м8ч-","-м8ш8","8м8ш-","-м8щ8","8м8щ-","-м8ъ8","8м8ъ-","-м8ы8","8м8ы-","-м8ь8","8м8ь-","-м8э8","8м8э-","-м8ю8","8м8ю-","-м8я8","8м8я-","-н8а8","8н8а-","-н8б8","8н8б-","-н8в8","8н8в-","-н8г8","8н8г-","-н8д8","8н8д-","-н8е8","8н8е-","-н8ё8","8н8ё-","-н8ж8","8н8ж-","-н8з8","8н8з-","-н8и8","8н8и-","-н8й8","8н8й-","-н8к8","8н8к-","-н8л8","8н8л-","-н8м8","8н8м-","-н8н8","8н8н-","-н8о8","8н8о-","-н8п8","8н8п-","-н8р8","8н8р-","-н8с8","8н8с-","-н8т8","8н8т-","-н8у8","8н8у-","-н8ф8","8н8ф-","-н8х8","8н8х-","-н8ц8","8н8ц-","-н8ч8","8н8ч-","-н8ш8","8н8ш-","-н8щ8","8н8щ-","-н8ъ8","8н8ъ-","-н8ы8","8н8ы-","-н8ь8","8н8ь-","-н8э8","8н8э-","-н8ю8","8н8ю-","-н8я8","8н8я-","-о8а8","8о8а-","-о8б8","8о8б-","-о8в8","8о8в-","-о8г8","8о8г-","-о8д8","8о8д-","-о8е8","8о8е-","-о8ё8","8о8ё-","-о8ж8","8о8ж-","-о8з8","8о8з-","-о8и8","8о8и-","-о8й8","8о8й-","-о8к8","8о8к-","-о8л8","8о8л-","-о8м8","8о8м-","-о8н8","8о8н-","-о8о8","8о8о-","-о8п8","8о8п-","-о8р8","8о8р-","-о8с8","8о8с-","-о8т8","8о8т-","-о8у8","8о8у-","-о8ф8","8о8ф-","-о8х8","8о8х-","-о8ц8","8о8ц-","-о8ч8","8о8ч-","-о8ш8","8о8ш-","-о8щ8","8о8щ-","-о8ъ8","8о8ъ-","-о8ы8","8о8ы-","-о8ь8","8о8ь-","-о8э8","8о8э-","-о8ю8","8о8ю-","-о8я8","8о8я-","-п8а8","8п8а-","-п8б8","8п8б-","-п8в8","8п8в-","-п8г8","8п8г-","-п8д8","8п8д-","-п8е8","8п8е-","-п8ё8","8п8ё-","-п8ж8","8п8ж-","-п8з8","8п8з-","-п8и8","8п8и-","-п8й8","8п8й-","-п8к8","8п8к-","-п8л8","8п8л-","-п8м8","8п8м-","-п8н8","8п8н-","-п8о8","8п8о-","-п8п8","8п8п-","-п8р8","8п8р-","-п8с8","8п8с-","-п8т8","8п8т-","-п8у8","8п8у-","-п8ф8","8п8ф-","-п8х8","8п8х-","-п8ц8","8п8ц-","-п8ч8","8п8ч-","-п8ш8","8п8ш-","-п8щ8","8п8щ-","-п8ъ8","8п8ъ-","-п8ы8","8п8ы-","-п8ь8","8п8ь-","-п8э8","8п8э-","-п8ю8","8п8ю-","-п8я8","8п8я-","-р8а8","8р8а-","-р8б8","8р8б-","-р8в8","8р8в-","-р8г8","8р8г-","-р8д8","8р8д-","-р8е8","8р8е-","-р8ё8","8р8ё-","-р8ж8","8р8ж-","-р8з8","8р8з-","-р8и8","8р8и-","-р8й8","8р8й-","-р8к8","8р8к-","-р8л8","8р8л-","-р8м8","8р8м-","-р8н8","8р8н-","-р8о8","8р8о-","-р8п8","8р8п-","-р8р8","8р8р-","-р8с8","8р8с-","-р8т8","8р8т-","-р8у8","8р8у-","-р8ф8","8р8ф-","-р8х8","8р8х-","-р8ц8","8р8ц-","-р8ч8","8р8ч-","-р8ш8","8р8ш-","-р8щ8","8р8щ-","-р8ъ8","8р8ъ-","-р8ы8","8р8ы-","-р8ь8","8р8ь-","-р8э8","8р8э-","-р8ю8","8р8ю-","-р8я8","8р8я-","-с8а8","8с8а-","-с8б8","8с8б-","-с8в8","8с8в-","-с8г8","8с8г-","-с8д8","8с8д-","-с8е8","8с8е-","-с8ё8","8с8ё-","-с8ж8","8с8ж-","-с8з8","8с8з-","-с8и8","8с8и-","-с8й8","8с8й-","-с8к8","8с8к-","-с8л8","8с8л-","-с8м8","8с8м-","-с8н8","8с8н-","-с8о8","8с8о-","-с8п8","8с8п-","-с8р8","8с8р-","-с8с8","8с8с-","-с8т8","8с8т-","-с8у8","8с8у-","-с8ф8","8с8ф-","-с8х8","8с8х-","-с8ц8","8с8ц-","-с8ч8","8с8ч-","-с8ш8","8с8ш-","-с8щ8","8с8щ-","-с8ъ8","8с8ъ-","-с8ы8","8с8ы-","-с8ь8","8с8ь-","-с8э8","8с8э-","-с8ю8","8с8ю-","-с8я8","8с8я-","-т8а8","8т8а-","-т8б8","8т8б-","-т8в8","8т8в-","-т8г8","8т8г-","-т8д8","8т8д-","-т8е8","8т8е-","-т8ё8","8т8ё-","-т8ж8","8т8ж-","-т8з8","8т8з-","-т8и8","8т8и-","-т8й8","8т8й-","-т8к8","8т8к-","-т8л8","8т8л-","-т8м8","8т8м-","-т8н8","8т8н-","-т8о8","8т8о-","-т8п8","8т8п-","-т8р8","8т8р-","-т8с8","8т8с-","-т8т8","8т8т-","-т8у8","8т8у-","-т8ф8","8т8ф-","-т8х8","8т8х-","-т8ц8","8т8ц-","-т8ч8","8т8ч-","-т8ш8","8т8ш-","-т8щ8","8т8щ-","-т8ъ8","8т8ъ-","-т8ы8","8т8ы-","-т8ь8","8т8ь-","-т8э8","8т8э-","-т8ю8","8т8ю-","-т8я8","8т8я-","-у8а8","8у8а-","-у8б8","8у8б-","-у8в8","8у8в-","-у8г8","8у8г-","-у8д8","8у8д-","-у8е8","8у8е-","-у8ё8","8у8ё-","-у8ж8","8у8ж-","-у8з8","8у8з-","-у8и8","8у8и-","-у8й8","8у8й-","-у8к8","8у8к-","-у8л8","8у8л-","-у8м8","8у8м-","-у8н8","8у8н-","-у8о8","8у8о-","-у8п8","8у8п-","-у8р8","8у8р-","-у8с8","8у8с-","-у8т8","8у8т-","-у8у8","8у8у-","-у8ф8","8у8ф-","-у8х8","8у8х-","-у8ц8","8у8ц-","-у8ч8","8у8ч-","-у8ш8","8у8ш-","-у8щ8","8у8щ-","-у8ъ8","8у8ъ-","-у8ы8","8у8ы-","-у8ь8","8у8ь-","-у8э8","8у8э-","-у8ю8","8у8ю-","-у8я8","8у8я-","-ф8а8","8ф8а-","-ф8б8","8ф8б-","-ф8в8","8ф8в-","-ф8г8","8ф8г-","-ф8д8","8ф8д-","-ф8е8","8ф8е-","-ф8ё8","8ф8ё-","-ф8ж8","8ф8ж-","-ф8з8","8ф8з-","-ф8и8","8ф8и-","-ф8й8","8ф8й-","-ф8к8","8ф8к-","-ф8л8","8ф8л-","-ф8м8","8ф8м-","-ф8н8","8ф8н-","-ф8о8","8ф8о-","-ф8п8","8ф8п-","-ф8р8","8ф8р-","-ф8с8","8ф8с-","-ф8т8","8ф8т-","-ф8у8","8ф8у-","-ф8ф8","8ф8ф-","-ф8х8","8ф8х-","-ф8ц8","8ф8ц-","-ф8ч8","8ф8ч-","-ф8ш8","8ф8ш-","-ф8щ8","8ф8щ-","-ф8ъ8","8ф8ъ-","-ф8ы8","8ф8ы-","-ф8ь8","8ф8ь-","-ф8э8","8ф8э-","-ф8ю8","8ф8ю-","-ф8я8","8ф8я-","-х8а8","8х8а-","-х8б8","8х8б-","-х8в8","8х8в-","-х8г8","8х8г-","-х8д8","8х8д-","-х8е8","8х8е-","-х8ё8","8х8ё-","-х8ж8","8х8ж-","-х8з8","8х8з-","-х8и8","8х8и-","-х8й8","8х8й-","-х8к8","8х8к-","-х8л8","8х8л-","-х8м8","8х8м-","-х8н8","8х8н-","-х8о8","8х8о-","-х8п8","8х8п-","-х8р8","8х8р-","-х8с8","8х8с-","-х8т8","8х8т-","-х8у8","8х8у-","-х8ф8","8х8ф-","-х8х8","8х8х-","-х8ц8","8х8ц-","-х8ч8","8х8ч-","-х8ш8","8х8ш-","-х8щ8","8х8щ-","-х8ъ8","8х8ъ-","-х8ы8","8х8ы-","-х8ь8","8х8ь-","-х8э8","8х8э-","-х8ю8","8х8ю-","-х8я8","8х8я-","-ц8а8","8ц8а-","-ц8б8","8ц8б-","-ц8в8","8ц8в-","-ц8г8","8ц8г-","-ц8д8","8ц8д-","-ц8е8","8ц8е-","-ц8ё8","8ц8ё-","-ц8ж8","8ц8ж-","-ц8з8","8ц8з-","-ц8и8","8ц8и-","-ц8й8","8ц8й-","-ц8к8","8ц8к-","-ц8л8","8ц8л-","-ц8м8","8ц8м-","-ц8н8","8ц8н-","-ц8о8","8ц8о-","-ц8п8","8ц8п-","-ц8р8","8ц8р-","-ц8с8","8ц8с-","-ц8т8","8ц8т-","-ц8у8","8ц8у-","-ц8ф8","8ц8ф-","-ц8х8","8ц8х-","-ц8ц8","8ц8ц-","-ц8ч8","8ц8ч-","-ц8ш8","8ц8ш-","-ц8щ8","8ц8щ-","-ц8ъ8","8ц8ъ-","-ц8ы8","8ц8ы-","-ц8ь8","8ц8ь-","-ц8э8","8ц8э-","-ц8ю8","8ц8ю-","-ц8я8","8ц8я-","-ч8а8","8ч8а-","-ч8б8","8ч8б-","-ч8в8","8ч8в-","-ч8г8","8ч8г-","-ч8д8","8ч8д-","-ч8е8","8ч8е-","-ч8ё8","8ч8ё-","-ч8ж8","8ч8ж-","-ч8з8","8ч8з-","-ч8и8","8ч8и-","-ч8й8","8ч8й-","-ч8к8","8ч8к-","-ч8л8","8ч8л-","-ч8м8","8ч8м-","-ч8н8","8ч8н-","-ч8о8","8ч8о-","-ч8п8","8ч8п-","-ч8р8","8ч8р-","-ч8с8","8ч8с-","-ч8т8","8ч8т-","-ч8у8","8ч8у-","-ч8ф8","8ч8ф-","-ч8х8","8ч8х-","-ч8ц8","8ч8ц-","-ч8ч8","8ч8ч-","-ч8ш8","8ч8ш-","-ч8щ8","8ч8щ-","-ч8ъ8","8ч8ъ-","-ч8ы8","8ч8ы-","-ч8ь8","8ч8ь-","-ч8э8","8ч8э-","-ч8ю8","8ч8ю-","-ч8я8","8ч8я-","-ш8а8","8ш8а-","-ш8б8","8ш8б-","-ш8в8","8ш8в-","-ш8г8","8ш8г-","-ш8д8","8ш8д-","-ш8е8","8ш8е-","-ш8ё8","8ш8ё-","-ш8ж8","8ш8ж-","-ш8з8","8ш8з-","-ш8и8","8ш8и-","-ш8й8","8ш8й-","-ш8к8","8ш8к-","-ш8л8","8ш8л-","-ш8м8","8ш8м-","-ш8н8","8ш8н-","-ш8о8","8ш8о-","-ш8п8","8ш8п-","-ш8р8","8ш8р-","-ш8с8","8ш8с-","-ш8т8","8ш8т-","-ш8у8","8ш8у-","-ш8ф8","8ш8ф-","-ш8х8","8ш8х-","-ш8ц8","8ш8ц-","-ш8ч8","8ш8ч-","-ш8ш8","8ш8ш-","-ш8щ8","8ш8щ-","-ш8ъ8","8ш8ъ-","-ш8ы8","8ш8ы-","-ш8ь8","8ш8ь-","-ш8э8","8ш8э-","-ш8ю8","8ш8ю-","-ш8я8","8ш8я-","-щ8а8","8щ8а-","-щ8б8","8щ8б-","-щ8в8","8щ8в-","-щ8г8","8щ8г-","-щ8д8","8щ8д-","-щ8е8","8щ8е-","-щ8ё8","8щ8ё-","-щ8ж8","8щ8ж-","-щ8з8","8щ8з-","-щ8и8","8щ8и-","-щ8й8","8щ8й-","-щ8к8","8щ8к-","-щ8л8","8щ8л-","-щ8м8","8щ8м-","-щ8н8","8щ8н-","-щ8о8","8щ8о-","-щ8п8","8щ8п-","-щ8р8","8щ8р-","-щ8с8","8щ8с-","-щ8т8","8щ8т-","-щ8у8","8щ8у-","-щ8ф8","8щ8ф-","-щ8х8","8щ8х-","-щ8ц8","8щ8ц-","-щ8ч8","8щ8ч-","-щ8ш8","8щ8ш-","-щ8щ8","8щ8щ-","-щ8ъ8","8щ8ъ-","-щ8ы8","8щ8ы-","-щ8ь8","8щ8ь-","-щ8э8","8щ8э-","-щ8ю8","8щ8ю-","-щ8я8","8щ8я-","-ъ8а8","8ъ8а-","-ъ8б8","8ъ8б-","-ъ8в8","8ъ8в-","-ъ8г8","8ъ8г-","-ъ8д8","8ъ8д-","-ъ8е8","8ъ8е-","-ъ8ё8","8ъ8ё-","-ъ8ж8","8ъ8ж-","-ъ8з8","8ъ8з-","-ъ8и8","8ъ8и-","-ъ8й8","8ъ8й-","-ъ8к8","8ъ8к-","-ъ8л8","8ъ8л-","-ъ8м8","8ъ8м-","-ъ8н8","8ъ8н-","-ъ8о8","8ъ8о-","-ъ8п8","8ъ8п-","-ъ8р8","8ъ8р-","-ъ8с8","8ъ8с-","-ъ8т8","8ъ8т-","-ъ8у8","8ъ8у-","-ъ8ф8","8ъ8ф-","-ъ8х8","8ъ8х-","-ъ8ц8","8ъ8ц-","-ъ8ч8","8ъ8ч-","-ъ8ш8","8ъ8ш-","-ъ8щ8","8ъ8щ-","-ъ8ъ8","8ъ8ъ-","-ъ8ы8","8ъ8ы-","-ъ8ь8","8ъ8ь-","-ъ8э8","8ъ8э-","-ъ8ю8","8ъ8ю-","-ъ8я8","8ъ8я-","-ы8а8","8ы8а-","-ы8б8","8ы8б-","-ы8в8","8ы8в-","-ы8г8","8ы8г-","-ы8д8","8ы8д-","-ы8е8","8ы8е-","-ы8ё8","8ы8ё-","-ы8ж8","8ы8ж-","-ы8з8","8ы8з-","-ы8и8","8ы8и-","-ы8й8","8ы8й-","-ы8к8","8ы8к-","-ы8л8","8ы8л-","-ы8м8","8ы8м-","-ы8н8","8ы8н-","-ы8о8","8ы8о-","-ы8п8","8ы8п-","-ы8р8","8ы8р-","-ы8с8","8ы8с-","-ы8т8","8ы8т-","-ы8у8","8ы8у-","-ы8ф8","8ы8ф-","-ы8х8","8ы8х-","-ы8ц8","8ы8ц-","-ы8ч8","8ы8ч-","-ы8ш8","8ы8ш-","-ы8щ8","8ы8щ-","-ы8ъ8","8ы8ъ-","-ы8ы8","8ы8ы-","-ы8ь8","8ы8ь-","-ы8э8","8ы8э-","-ы8ю8","8ы8ю-","-ы8я8","8ы8я-","-ь8а8","8ь8а-","-ь8б8","8ь8б-","-ь8в8","8ь8в-","-ь8г8","8ь8г-","-ь8д8","8ь8д-","-ь8е8","8ь8е-","-ь8ё8","8ь8ё-","-ь8ж8","8ь8ж-","-ь8з8","8ь8з-","-ь8и8","8ь8и-","-ь8й8","8ь8й-","-ь8к8","8ь8к-","-ь8л8","8ь8л-","-ь8м8","8ь8м-","-ь8н8","8ь8н-","-ь8о8","8ь8о-","-ь8п8","8ь8п-","-ь8р8","8ь8р-","-ь8с8","8ь8с-","-ь8т8","8ь8т-","-ь8у8","8ь8у-","-ь8ф8","8ь8ф-","-ь8х8","8ь8х-","-ь8ц8","8ь8ц-","-ь8ч8","8ь8ч-","-ь8ш8","8ь8ш-","-ь8щ8","8ь8щ-","-ь8ъ8","8ь8ъ-","-ь8ы8","8ь8ы-","-ь8ь8","8ь8ь-","-ь8э8","8ь8э-","-ь8ю8","8ь8ю-","-ь8я8","8ь8я-","-э8а8","8э8а-","-э8б8","8э8б-","-э8в8","8э8в-","-э8г8","8э8г-","-э8д8","8э8д-","-э8е8","8э8е-","-э8ё8","8э8ё-","-э8ж8","8э8ж-","-э8з8","8э8з-","-э8и8","8э8и-","-э8й8","8э8й-","-э8к8","8э8к-","-э8л8","8э8л-","-э8м8","8э8м-","-э8н8","8э8н-","-э8о8","8э8о-","-э8п8","8э8п-","-э8р8","8э8р-","-э8с8","8э8с-","-э8т8","8э8т-","-э8у8","8э8у-","-э8ф8","8э8ф-","-э8х8","8э8х-","-э8ц8","8э8ц-","-э8ч8","8э8ч-","-э8ш8","8э8ш-","-э8щ8","8э8щ-","-э8ъ8","8э8ъ-","-э8ы8","8э8ы-","-э8ь8","8э8ь-","-э8э8","8э8э-","-э8ю8","8э8ю-","-э8я8","8э8я-","-ю8а8","8ю8а-","-ю8б8","8ю8б-","-ю8в8","8ю8в-","-ю8г8","8ю8г-","-ю8д8","8ю8д-","-ю8е8","8ю8е-","-ю8ё8","8ю8ё-","-ю8ж8","8ю8ж-","-ю8з8","8ю8з-","-ю8и8","8ю8и-","-ю8й8","8ю8й-","-ю8к8","8ю8к-","-ю8л8","8ю8л-","-ю8м8","8ю8м-","-ю8н8","8ю8н-","-ю8о8","8ю8о-","-ю8п8","8ю8п-","-ю8р8","8ю8р-","-ю8с8","8ю8с-","-ю8т8","8ю8т-","-ю8у8","8ю8у-","-ю8ф8","8ю8ф-","-ю8х8","8ю8х-","-ю8ц8","8ю8ц-","-ю8ч8","8ю8ч-","-ю8ш8","8ю8ш-","-ю8щ8","8ю8щ-","-ю8ъ8","8ю8ъ-","-ю8ы8","8ю8ы-","-ю8ь8","8ю8ь-","-ю8э8","8ю8э-","-ю8ю8","8ю8ю-","-ю8я8","8ю8я-","-я8а8","8я8а-","-я8б8","8я8б-","-я8в8","8я8в-","-я8г8","8я8г-","-я8д8","8я8д-","-я8е8","8я8е-","-я8ё8","8я8ё-","-я8ж8","8я8ж-","-я8з8","8я8з-","-я8и8","8я8и-","-я8й8","8я8й-","-я8к8","8я8к-","-я8л8","8я8л-","-я8м8","8я8м-","-я8н8","8я8н-","-я8о8","8я8о-","-я8п8","8я8п-","-я8р8","8я8р-","-я8с8","8я8с-","-я8т8","8я8т-","-я8у8","8я8у-","-я8ф8","8я8ф-","-я8х8","8я8х-","-я8ц8","8я8ц-","-я8ч8","8я8ч-","-я8ш8","8я8ш-","-я8щ8","8я8щ-","-я8ъ8","8я8ъ-","-я8ы8","8я8ы-","-я8ь8","8я8ь-","-я8э8","8я8э-","-я8ю8","8я8ю-","-я8я8","8я8я-",""],exceptions:["ас-бест","бездн","биз-нес-мен","буй-нак-ске","вбли-зи","взба-ла-муть-ся","вздрем-нешь","во-до-сли-вом","волж-ске","воп-лем","вопль","вост-ра","во-ткать","во-ткем","во-ткешь","во-тку","во-ткут","впол-обо-ро-та","впол-уха","все-во-лож-ске","вцспс","га-рем-но-го","го-ло-дра-нец","грэс","дву-зу-бец","днепр","добре-ем","до-бре-ем-ся","добре-ет","добре-е-те","до-бре-е-тесь","до-бре-ет-ся","добре-ешь","до-бре-ешь-ся","добрею","до-бре-юсь","добре-ют","до-бре-ют-ся","до-бре-сти","до-бро-дят","до-брось","до-брось-те","до-бро-сят","до-бро-шу","домну","доп-пель","драх-му","дрейф-лю","дрейфь-те","еди-но-жды","зав-сек-то-ром","за-мру","за-члись","из-древ-ле","изо-тру","ин-ког-ни-то","искр","ка-за-шек","казнь","кольд-кре-мом","корн-па-пир","ксендз","лик-бе-зом","ло-шадь-ми","людь-ми","лю-э-сом","ма-зу-те","ме-ти-лам","ме-ти-ла-ми","мно-га-жды","морщь-те","на-бе-крень","навз-ничь","на-вскид-ку","на-встре-чу","нагл","на-изусть","на-ис-ко-сок","наи-ме-нее","на-ис-кось","на-обо-рот","на-от-рез","на-супь-ся","на-угад","на-уголь-ник","не-ост-ра","нес-лась","нес-лись","нет-то","не-уду","обидь-ся","обо-шлось","об-ра-сти","од-на-жды","ослаб-ла","ото-мстят","ото-мщу","ото-тру","отру","отрусь","паб-ли-си-ти","па-на-ме","па-на-мец","па-ра-так-сис","пе-ре-вру","пе-ре-ме-жать","пе-ре-ме-жать-ся","пе-ре-шла","пис-чая","по-все-дне-вен","по-гре-мок","по-до-тру","по-ис-ти-не","по-лу-то-ра-ста","по-лу-явью","по-млад-ше","помни","по-мнись","помни-те","по-мни-тесь","по-мно-гу","по-мру","пол-вто-ро-го","пол-шка-фа","по-на-доб-люсь","по-трафь-те","преж-де","прид-ти","при-шла","при-шлось","про-тру","про-хлад-ца","пско-ва","пыл-че","раз-орем-ся","раз-оре-тесь","раз-орет-ся","раз-орешь-ся","разо-тру","ра-зу-мом","резв-люсь","рсфср","сан-узел","сдрейф-лю","се-го-дня","сме-жат","со-блю-сти","со-лжешь","сост-рим","сост-ришь","сост-рю","сост-рят","со-ткать","со-ткем","со-ткешь","сотку","со-ткут","срос-лась","срос-лись","стрем-глав","так-же","тве-ре-зо-го","те-ле-ате-лье","тер-но-сли-вом","троп-лю","тьфу","узу-фрукт","умнем","умнет","умнете","умну","умру","услышь-те","ушла","фо-то-пле-нок","ца-ре-дво-рец","че-рес-чур","чер-но-сли-вом","чресл","чуж-дость","шесть-де-сят","юсом","ядо-зу-бе","ярем-но-го",""]}})),function(t){if(t.document){var e=t.document;e.querySelectorAll||(e.querySelectorAll=function(i){var n,r=e.createElement("style"),o=[];for(e.documentElement.firstChild.appendChild(r),e._qsa=[],r.styleSheet.cssText=i+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",t.scrollBy(0,0),r.parentNode.removeChild(r);e._qsa.length;)(n=e._qsa.shift()).style.removeAttribute("x-qsa"),o.push(n);return e._qsa=null,o}),e.querySelector||(e.querySelector=function(t){var i=e.querySelectorAll(t);return i.length?i[0]:null}),e.getElementsByClassName||(e.getElementsByClassName=function(t){return t=String(t).replace(/^|\s+/g,"."),e.querySelectorAll(t)}),Object.keys||(Object.keys=function(t){if(t!==Object(t))throw TypeError("Object.keys called on non-object");var e,i=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&i.push(e);return i}),Array.prototype.forEach||(Array.prototype.forEach=function(t){if(null==this)throw TypeError();var e=Object(this),i=e.length>>>0;if("function"!=typeof t)throw TypeError();var n,r=arguments[1];for(n=0;n<i;n++)n in e&&t.call(r,e[n],n,e)}),function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.atob=t.atob||function(t){var i=0,n=[],r=0,o=0;if((t=(t=String(t)).replace(/\s/g,"")).length%4==0&&(t=t.replace(/=+$/,"")),t.length%4==1)throw Error("InvalidCharacterError");if(/[^+\/0-9A-Za-z]/.test(t))throw Error("InvalidCharacterError");for(;i<t.length;)r=r<<6|e.indexOf(t.charAt(i)),24===(o+=6)&&(n.push(String.fromCharCode(r>>16&255)),n.push(String.fromCharCode(r>>8&255)),n.push(String.fromCharCode(255&r)),o=0,r=0),i+=1;return 12===o?(r>>=4,n.push(String.fromCharCode(255&r))):18===o&&(r>>=2,n.push(String.fromCharCode(r>>8&255)),n.push(String.fromCharCode(255&r))),n.join("")},t.btoa=t.btoa||function(t){t=String(t);var i,n,r,o,s,a,l,c=0,h=[];if(/[^\x00-\xFF]/.test(t))throw Error("InvalidCharacterError");for(;c<t.length;)o=(i=t.charCodeAt(c++))>>2,s=(3&i)<<4|(n=t.charCodeAt(c++))>>4,a=(15&n)<<2|(r=t.charCodeAt(c++))>>6,l=63&r,c===t.length+2?(a=64,l=64):c===t.length+1&&(l=64),h.push(e.charAt(o),e.charAt(s),e.charAt(a),e.charAt(l));return h.join("")}}(t),Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(t){var e=this.__proto__||this.constructor.prototype;return t in this&&(!(t in e)||e[t]!==this[t])}),function(){if("performance"in t==0&&(t.performance={}),Date.now=Date.now||function(){return(new Date).getTime()},"now"in t.performance==0){var e=Date.now();performance.timing&&performance.timing.navigationStart&&(e=performance.timing.navigationStart),t.performance.now=function(){return Date.now()-e}}}(),t.requestAnimationFrame||(t.webkitRequestAnimationFrame&&t.webkitCancelAnimationFrame?function(t){t.requestAnimationFrame=function(e){return webkitRequestAnimationFrame((function(){e(t.performance.now())}))},t.cancelAnimationFrame=t.webkitCancelAnimationFrame}(t):t.mozRequestAnimationFrame&&t.mozCancelAnimationFrame?function(t){t.requestAnimationFrame=function(e){return mozRequestAnimationFrame((function(){e(t.performance.now())}))},t.cancelAnimationFrame=t.mozCancelAnimationFrame}(t):function(t){t.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)},t.cancelAnimationFrame=t.clearTimeout}(t))}}(this),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Holder=e():t.Holder=e()}(this,(function(){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){t.exports=i(1)},function(t,e,i){(function(e){function n(t,e,i,n){var s=r(i.substr(i.lastIndexOf(t.domain)),t);s&&o({mode:null,el:n,flags:s,engineSettings:e})}function r(t,e){var i={theme:E(A.settings.themes.gray,null),stylesheets:e.stylesheets,instanceOptions:e},n=t.indexOf("?"),r=[t];-1!==n&&(r=[t.slice(0,n),t.slice(n+1)]);var o=r[0].split("/");i.holderURL=t;var s=o[1],a=s.match(/([\d]+p?)x([\d]+p?)/);if(!a)return!1;if(i.fluid=-1!==s.indexOf("p"),i.dimensions={width:a[1].replace("p","%"),height:a[2].replace("p","%")},2===r.length){var l=g.parse(r[1]);if(v.truthy(l.ratio)){i.fluid=!0;var c=parseFloat(i.dimensions.width.replace("%","")),h=parseFloat(i.dimensions.height.replace("%",""));h=Math.floor(h/c*100),c=100,i.dimensions.width=c+"%",i.dimensions.height=h+"%"}if(i.auto=v.truthy(l.auto),l.bg&&(i.theme.bg=v.parseColor(l.bg)),l.fg&&(i.theme.fg=v.parseColor(l.fg)),l.bg&&!l.fg&&(i.autoFg=!0),l.theme&&i.instanceOptions.themes.hasOwnProperty(l.theme)&&(i.theme=E(i.instanceOptions.themes[l.theme],null)),l.text&&(i.text=l.text),l.textmode&&(i.textmode=l.textmode),l.size&&(i.size=l.size),l.font&&(i.font=l.font),l.align&&(i.align=l.align),l.lineWrap&&(i.lineWrap=l.lineWrap),i.nowrap=v.truthy(l.nowrap),i.outline=v.truthy(l.outline),v.truthy(l.random)){A.vars.cache.themeKeys=A.vars.cache.themeKeys||Object.keys(i.instanceOptions.themes);var u=A.vars.cache.themeKeys[0|Math.random()*A.vars.cache.themeKeys.length];i.theme=E(i.instanceOptions.themes[u],null)}}return i}function o(t){var e=t.mode,i=t.el,n=t.flags,r=t.engineSettings,o=n.dimensions,a=n.theme,l=o.width+"x"+o.height;e=null==e?n.fluid?"fluid":"image":e;if(null!=n.text&&(a.text=n.text,"object"===i.nodeName.toLowerCase())){for(var u=a.text.split("\\n"),d=0;d<u.length;d++)u[d]=v.encodeHtmlEntity(u[d]);a.text=u.join("\\n")}if(a.text){var f=a.text.match(/holder_([a-z]+)/g);null!==f&&f.forEach((function(t){"holder_dimensions"===t&&(a.text=a.text.replace(t,l))}))}var p=n.holderURL,g=E(r,null);if(n.font&&(a.font=n.font,!g.noFontFallback&&"img"===i.nodeName.toLowerCase()&&A.setup.supportsCanvas&&"svg"===g.renderer&&(g=E(g,{renderer:"canvas"}))),n.font&&"canvas"==g.renderer&&(g.reRender=!0),"background"==e)null==i.getAttribute("data-background-src")&&b.setAttr(i,{"data-background-src":p});else{var m={};m[A.vars.dataAttr]=p,b.setAttr(i,m)}n.theme=a,i.holderData={flags:n,engineSettings:g},"image"!=e&&"fluid"!=e||b.setAttr(i,{alt:a.text?a.text+" ["+l+"]":l});var y={mode:e,el:i,holderSettings:{dimensions:o,theme:a,flags:n},engineSettings:g};"image"==e?(n.auto||(i.style.width=o.width+"px",i.style.height=o.height+"px"),"html"==g.renderer?i.style.backgroundColor=a.bg:(s(y),"exact"==n.textmode&&(i.holderData.resizeUpdate=!0,A.vars.resizableImages.push(i),c(i)))):"background"==e&&"html"!=g.renderer?s(y):"fluid"==e&&(i.holderData.resizeUpdate=!0,"%"==o.height.slice(-1)?i.style.height=o.height:null!=n.auto&&n.auto||(i.style.height=o.height+"px"),"%"==o.width.slice(-1)?i.style.width=o.width:null!=n.auto&&n.auto||(i.style.width=o.width+"px"),"inline"!=i.style.display&&""!==i.style.display&&"none"!=i.style.display||(i.style.display="block"),h(i),"html"==g.renderer?i.style.backgroundColor=a.bg:(A.vars.resizableImages.push(i),c(i)))}function s(t){function i(){var e=null;switch(l.renderer){case"canvas":e=k(h,t);break;case"svg":e=_(h,t);break;default:throw"Holder: invalid renderer: "+l.renderer}return e}var n,r=t.mode,o=t.el,s=t.holderSettings,l=t.engineSettings;switch(l.renderer){case"svg":if(!A.setup.supportsSVG)return;break;case"canvas":if(!A.setup.supportsCanvas)return;break;default:return}var c={width:s.dimensions.width,height:s.dimensions.height,theme:s.theme,flags:s.flags},h=a(c);if(null==(n=i()))throw"Holder: couldn't render placeholder";"background"==r?(o.style.backgroundImage="url("+n+")",l.noBackgroundSize||(o.style.backgroundSize=c.width+"px "+c.height+"px")):("img"===o.nodeName.toLowerCase()?b.setAttr(o,{src:n}):"object"===o.nodeName.toLowerCase()&&b.setAttr(o,{data:n,type:"image/svg+xml"}),l.reRender&&e.setTimeout((function(){var t=i();if(null==t)throw"Holder: couldn't render placeholder";"img"===o.nodeName.toLowerCase()?b.setAttr(o,{src:t}):"object"===o.nodeName.toLowerCase()&&b.setAttr(o,{data:t,type:"image/svg+xml"})}),150)),b.setAttr(o,{"data-holder-rendered":!0})}function a(t){function e(t,e,i,n){e.width=i,e.height=n,t.width=Math.max(t.width,e.width),t.height+=e.height}var i=A.defaults.size;switch(parseFloat(t.theme.size)?i=t.theme.size:parseFloat(t.flags.size)&&(i=t.flags.size),t.font={family:t.theme.font?t.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:l(t.width,t.height,i,A.defaults.scale),units:t.theme.units?t.theme.units:A.defaults.units,weight:t.theme.fontweight?t.theme.fontweight:"bold"},t.text=t.theme.text||Math.floor(t.width)+"x"+Math.floor(t.height),t.noWrap=t.theme.nowrap||t.flags.nowrap,t.align=t.theme.align||t.flags.align||"center",t.flags.textmode){case"literal":t.text=t.flags.dimensions.width+"x"+t.flags.dimensions.height;break;case"exact":if(!t.flags.exactDimensions)break;t.text=Math.floor(t.flags.exactDimensions.width)+"x"+Math.floor(t.flags.exactDimensions.height)}var n=t.flags.lineWrap||A.setup.lineWrapRatio,r=t.width*n,o=r,s=new m({width:t.width,height:t.height}),a=s.Shape,c=new a.Rect("holderBg",{fill:t.theme.bg});if(c.resize(t.width,t.height),s.root.add(c),t.flags.outline){var h=new w(c.properties.fill);h=h.lighten(h.lighterThan("7f7f7f")?-.1:.1),c.properties.outline={fill:h.toHex(!0),width:2}}var u=t.theme.fg;if(t.flags.autoFg){var d=new w(c.properties.fill),f=new w("fff"),p=new w("000",{alpha:.285714});u=d.blendAlpha(d.lighterThan("7f7f7f")?p:f).toHex(!0)}var g=new a.Group("holderTextGroup",{text:t.text,align:t.align,font:t.font,fill:u});g.moveTo(null,null,1),s.root.add(g);var v=g.textPositionData=O(s);if(!v)throw"Holder: staging fallback not supported yet.";g.properties.leading=v.boundingBox.height;var y=null,b=null;if(v.lineCount>1){var x,_=0,k=0,E=0;b=new a.Group("line"+E),"left"!==t.align&&"right"!==t.align||(o=t.width*(1-2*(1-n)));for(var S=0;S<v.words.length;S++){var T=v.words[S];y=new a.Text(T.text);var C="\\n"==T.text;!t.noWrap&&(_+T.width>=o||!0===C)&&(e(g,b,_,g.properties.leading),g.add(b),_=0,k+=g.properties.leading,E+=1,(b=new a.Group("line"+E)).y=k),!0!==C&&(y.moveTo(_,0),_+=v.spaceWidth+T.width,b.add(y))}if(e(g,b,_,g.properties.leading),g.add(b),"left"===t.align)g.moveTo(t.width-r,null,null);else if("right"===t.align){for(x in g.children)(b=g.children[x]).moveTo(t.width-b.width,null,null);g.moveTo(0-(t.width-r),null,null)}else{for(x in g.children)(b=g.children[x]).moveTo((g.width-b.width)/2,null,null);g.moveTo((t.width-g.width)/2,null,null)}g.moveTo(null,(t.height-g.height)/2,null),(t.height-g.height)/2<0&&g.moveTo(null,0,null)}else y=new a.Text(t.text),(b=new a.Group("line0")).add(y),g.add(b),"left"===t.align?g.moveTo(t.width-r,null,null):"right"===t.align?g.moveTo(0-(t.width-r),null,null):g.moveTo((t.width-v.boundingBox.width)/2,null,null),g.moveTo(null,(t.height-v.boundingBox.height)/2,null);return s}function l(t,e,i,n){var r=parseInt(t,10),o=parseInt(e,10),s=Math.max(r,o),a=Math.min(r,o),l=.8*Math.min(a,s*n);return Math.round(Math.max(i,l))}function c(t){for(var e,i=0,n=(e=null==t||null==t.nodeType?A.vars.resizableImages:[t]).length;i<n;i++){var r=e[i];if(r.holderData){var o=r.holderData.flags,a=S(r);if(a){if(!r.holderData.resizeUpdate)continue;if(o.fluid&&o.auto){var l=r.holderData.fluidConfig;switch(l.mode){case"width":a.height=a.width/l.ratio;break;case"height":a.width=a.height*l.ratio}}var c={mode:"image",holderSettings:{dimensions:a,theme:o.theme,flags:o},el:r,engineSettings:r.holderData.engineSettings};"exact"==o.textmode&&(o.exactDimensions=a,c.holderSettings.dimensions=o.dimensions),s(c)}else d(r)}}}function h(t){if(t.holderData){var e=S(t);if(e){var i=t.holderData.flags,n={fluidHeight:"%"==i.dimensions.height.slice(-1),fluidWidth:"%"==i.dimensions.width.slice(-1),mode:null,initialDimensions:e};n.fluidWidth&&!n.fluidHeight?(n.mode="width",n.ratio=n.initialDimensions.width/parseFloat(i.dimensions.height)):!n.fluidWidth&&n.fluidHeight&&(n.mode="height",n.ratio=parseFloat(i.dimensions.width)/n.initialDimensions.height),t.holderData.fluidConfig=n}else d(t)}}function u(){var t,i=[];Object.keys(A.vars.invisibleImages).forEach((function(e){t=A.vars.invisibleImages[e],S(t)&&"img"==t.nodeName.toLowerCase()&&(i.push(t),delete A.vars.invisibleImages[e])})),i.length&&C.run({images:i}),setTimeout((function(){e.requestAnimationFrame(u)}),10)}function d(t){t.holderData.invisibleId||(A.vars.invisibleId+=1,A.vars.invisibleImages["i"+A.vars.invisibleId]=t,t.holderData.invisibleId=A.vars.invisibleId)}function f(){!function(t){A.vars.debounceTimer||t.call(this),A.vars.debounceTimer&&e.clearTimeout(A.vars.debounceTimer),A.vars.debounceTimer=e.setTimeout((function(){A.vars.debounceTimer=null,t.call(this)}),A.setup.debounce)}((function(){c(null)}))}var p=i(2),g=i(3),m=i(6),v=i(7),y=i(8),b=i(9),w=i(10),x=i(11),_=i(12),k=i(15),E=v.extend,S=v.dimensionCheck,T=x.svg_ns,C={version:x.version,addTheme:function(t,e){return null!=t&&null!=e&&(A.settings.themes[t]=e),delete A.vars.cache.themeKeys,this},addImage:function(t,e){return b.getNodeArray(e).forEach((function(e){var i=b.newEl("img"),n={};n[A.setup.dataAttr]=t,b.setAttr(i,n),e.appendChild(i)})),this},setResizeUpdate:function(t,e){t.holderData&&(t.holderData.resizeUpdate=!!e,t.holderData.resizeUpdate&&c(t))},run:function(t){t=t||{};var i={},s=E(A.settings,t);A.vars.preempted=!0,A.vars.dataAttr=s.dataAttr||A.setup.dataAttr,i.renderer=s.renderer?s.renderer:A.setup.renderer,-1===A.setup.renderers.join(",").indexOf(i.renderer)&&(i.renderer=A.setup.supportsSVG?"svg":A.setup.supportsCanvas?"canvas":"html");var a=b.getNodeArray(s.images),l=b.getNodeArray(s.bgnodes),c=b.getNodeArray(s.stylenodes),h=b.getNodeArray(s.objects);return i.stylesheets=[],i.svgXMLStylesheet=!0,i.noFontFallback=!!s.noFontFallback,i.noBackgroundSize=!!s.noBackgroundSize,c.forEach((function(t){if(t.attributes.rel&&t.attributes.href&&"stylesheet"==t.attributes.rel.value){var e=t.attributes.href.value,n=b.newEl("a");n.href=e;var r=n.protocol+"//"+n.host+n.pathname+n.search;i.stylesheets.push(r)}})),l.forEach((function(t){if(e.getComputedStyle){var n=e.getComputedStyle(t,null).getPropertyValue("background-image"),a=t.getAttribute("data-background-src")||n,l=null,c=s.domain+"/",h=a.indexOf(c);if(0===h)l=a;else if(1===h&&"?"===a[0])l=a.slice(1);else{var u=a.substr(h).match(/([^\"]*)"?\)/);if(null!==u)l=u[1];else if(0===a.indexOf("url("))throw"Holder: unable to parse background URL: "+a}if(l){var d=r(l,s);d&&o({mode:"background",el:t,flags:d,engineSettings:i})}}})),h.forEach((function(t){var e={};try{e.data=t.getAttribute("data"),e.dataSrc=t.getAttribute(A.vars.dataAttr)}catch(t){}var r=null!=e.data&&0===e.data.indexOf(s.domain),o=null!=e.dataSrc&&0===e.dataSrc.indexOf(s.domain);r?n(s,i,e.data,t):o&&n(s,i,e.dataSrc,t)})),a.forEach((function(t){var e={};try{e.src=t.getAttribute("src"),e.dataSrc=t.getAttribute(A.vars.dataAttr),e.rendered=t.getAttribute("data-holder-rendered")}catch(t){}var r=null!=e.src,o=null!=e.dataSrc&&0===e.dataSrc.indexOf(s.domain),a=null!=e.rendered&&"true"==e.rendered;r?0===e.src.indexOf(s.domain)?n(s,i,e.src,t):o&&(a?n(s,i,e.dataSrc,t):function(t,e,i,r,o){v.imageExists(t,(function(t){t||n(e,i,r,o)}))}(e.src,s,i,e.dataSrc,t)):o&&n(s,i,e.dataSrc,t)})),this}},A={settings:{domain:"holder.js",images:"img",objects:"object",bgnodes:"body .holderjs",stylenodes:"head link.holderjs",themes:{gray:{bg:"#EEEEEE",fg:"#AAAAAA"},social:{bg:"#3a5a97",fg:"#FFFFFF"},industrial:{bg:"#434A52",fg:"#C2F200"},sky:{bg:"#0D8FDB",fg:"#FFFFFF"},vine:{bg:"#39DBAC",fg:"#1E292C"},lava:{bg:"#F8591A",fg:"#1C2846"}}},defaults:{size:10,units:"pt",scale:1/16}},O=function(){var t=null,e=null,i=null;return function(n){var r=n.root;if(A.setup.supportsSVG){var o=!1;null!=t&&t.parentNode===document.body||(o=!0),(t=y.initSVG(t,r.properties.width,r.properties.height)).style.display="block",o&&(e=b.newEl("text",T),i=function(t){return document.createTextNode(t)}(null),b.setAttr(e,{x:0}),e.appendChild(i),t.appendChild(e),document.body.appendChild(t),t.style.visibility="hidden",t.style.position="absolute",t.style.top="-100%",t.style.left="-100%");var s=r.children.holderTextGroup.properties;b.setAttr(e,{y:s.font.size,style:v.cssProps({"font-weight":s.font.weight,"font-size":s.font.size+s.font.units,"font-family":s.font.family})}),i.nodeValue=s.text;var a=e.getBBox(),l=Math.ceil(a.width/r.properties.width),c=s.text.split(" "),h=s.text.match(/\\n/g);l+=null==h?0:h.length,i.nodeValue=s.text.replace(/[ ]+/g,"");var u=e.getComputedTextLength(),d=a.width-u,f=Math.round(d/Math.max(1,c.length-1)),p=[];if(l>1){i.nodeValue="";for(var g=0;g<c.length;g++)if(0!==c[g].length){i.nodeValue=v.decodeHtmlEntity(c[g]);var m=e.getBBox();p.push({text:c[g],width:m.width})}}return t.style.display="none",{spaceWidth:f,lineCount:l,boundingBox:a,words:p}}return!1}}();for(var N in A.flags)A.flags.hasOwnProperty(N)&&(A.flags[N].match=function(t){return t.match(this.regex)});A.setup={renderer:"html",debounce:100,ratio:1,supportsCanvas:!1,supportsSVG:!1,lineWrapRatio:.9,dataAttr:"data-src",renderers:["html","canvas","svg"]},A.vars={preempted:!1,resizableImages:[],invisibleImages:{},invisibleId:0,visibilityCheckStarted:!1,debounceTimer:null,cache:{}},function(){var t=b.newEl("canvas");t.getContext&&-1!=t.toDataURL("image/png").indexOf("data:image/png")&&(A.setup.renderer="canvas",A.setup.supportsCanvas=!0),document.createElementNS&&document.createElementNS(T,"svg").createSVGRect&&(A.setup.renderer="svg",A.setup.supportsSVG=!0)}(),A.vars.visibilityCheckStarted||(e.requestAnimationFrame(u),A.vars.visibilityCheckStarted=!0),p&&p((function(){A.vars.preempted||C.run(),e.addEventListener?(e.addEventListener("resize",f,!1),e.addEventListener("orientationchange",f,!1)):e.attachEvent("onresize",f),"object"==typeof e.Turbolinks&&e.document.addEventListener("page:change",(function(){C.run()}))})),t.exports=C}).call(e,function(){return this}())},function(t,e){t.exports="undefined"!=typeof window&&function(t){function e(t){if(!x){if(!s.body)return r(e);for(x=!0;t=_.shift();)r(t)}}function i(t){(b||t.type===l||s[d]===u)&&(n(),e())}function n(){b?(s[y](m,i,c),t[y](l,i,c)):(s[p](v,i),t[p](h,i))}function r(t,e){setTimeout(t,+e>=0?e:1)}function o(t){x?r(t):_.push(t)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t,!1),document.readyState="complete"}),!1),document.readyState="loading");var s=t.document,a=s.documentElement,l="load",c=!1,h="on"+l,u="complete",d="readyState",f="attachEvent",p="detachEvent",g="addEventListener",m="DOMContentLoaded",v="onreadystatechange",y="removeEventListener",b=g in s,w=c,x=c,_=[];if(s[d]===u)r(e);else if(b)s[g](m,i,c),t[g](l,i,c);else{s[f](v,i),t[f](h,i);try{w=null==t.frameElement&&a}catch(t){}w&&w.doScroll&&function t(){if(!x){try{w.doScroll("left")}catch(e){return r(t,50)}n(),e()}}()}return o.version="1.4.0",o.isReady=function(){return x},o}(window)},function(t,e,i){var n=encodeURIComponent,r=decodeURIComponent,o=i(4),s=i(5),a=/(\w+)\[(\d+)\]/,l=/\w+\.\w+/;e.parse=function(t){if("string"!=typeof t)return{};if(""===(t=o(t)))return{};"?"===t.charAt(0)&&(t=t.slice(1));for(var e={},i=t.split("&"),n=0;n<i.length;n++){var s,c,h,u=i[n].split("="),d=r(u[0]);if(s=a.exec(d))e[s[1]]=e[s[1]]||[],e[s[1]][s[2]]=r(u[1]);else if(s=l.test(d)){for(s=d.split("."),c=e;s.length;)if((h=s.shift()).length){if(c[h]){if(c[h]&&"object"!=typeof c[h])break}else c[h]={};s.length||(c[h]=r(u[1])),c=c[h]}}else e[u[0]]=null==u[1]?"":r(u[1])}return e},e.stringify=function(t){if(!t)return"";var e=[];for(var i in t){var r=t[i];if("array"!=s(r))e.push(n(i)+"="+n(t[i]));else for(var o=0;o<r.length;++o)e.push(n(i+"["+o+"]")+"="+n(r[o]))}return e.join("&")}},function(t,e){(e=t.exports=function(t){return t.replace(/^\s*|\s*$/g,"")}).left=function(t){return t.replace(/^\s*/,"")},e.right=function(t){return t.replace(/\s*$/,"")}},function(t,e){var i=Object.prototype.toString;t.exports=function(t){switch(i.call(t)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===t?"null":void 0===t?"undefined":t!=t?"nan":t&&1===t.nodeType?"element":function(t){return!(null==t||!(t._isBuffer||t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)))}(t)?"buffer":typeof(t=t.valueOf?t.valueOf():Object.prototype.valueOf.apply(t))}},function(t,e){t.exports=function(t){var e=1,i=function(t){e++,this.parent=null,this.children={},this.id=e,this.name="n"+e,void 0!==t&&(this.name=t),this.x=this.y=this.z=0,this.width=this.height=0};i.prototype.resize=function(t,e){null!=t&&(this.width=t),null!=e&&(this.height=e)},i.prototype.moveTo=function(t,e,i){this.x=null!=t?t:this.x,this.y=null!=e?e:this.y,this.z=null!=i?i:this.z},i.prototype.add=function(t){var e=t.name;if(void 0!==this.children[e])throw"SceneGraph: child already exists: "+e;this.children[e]=t,t.parent=this};var n=function(){i.call(this,"root"),this.properties=t};n.prototype=new i;var r=function(t,e){if(i.call(this,t),this.properties={fill:"#000000"},void 0!==e)!function(t,e){for(var i in e)t[i]=e[i]}(this.properties,e);else if(void 0!==t&&"string"!=typeof t)throw"SceneGraph: invalid node name"};r.prototype=new i;var o=function(){r.apply(this,arguments),this.type="group"};o.prototype=new r;var s=function(){r.apply(this,arguments),this.type="rect"};s.prototype=new r;var a=function(t){r.call(this),this.type="text",this.properties.text=t};a.prototype=new r;var l=new n;return this.Shape={Rect:s,Text:a,Group:o},this.root=l,this}},function(t,e){(function(t){e.extend=function(t,e){var i={};for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);if(null!=e)for(var r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i},e.cssProps=function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i+":"+t[i]);return e.join(";")},e.encodeHtmlEntity=function(t){for(var e=[],i=0,n=t.length-1;n>=0;n--)(i=t.charCodeAt(n))>128?e.unshift(["&#",i,";"].join("")):e.unshift(t[n]);return e.join("")},e.imageExists=function(t,e){var i=new Image;i.onerror=function(){e.call(this,!1)},i.onload=function(){e.call(this,!0)},i.src=t},e.decodeHtmlEntity=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)}))},e.dimensionCheck=function(t){var e={height:t.clientHeight,width:t.clientWidth};return!(!e.height||!e.width)&&e},e.truthy=function(t){return"string"==typeof t?"true"===t||"yes"===t||"1"===t||"on"===t||"✓"===t:!!t},e.parseColor=function(t){var e,i=t.match(/(^(?:#?)[0-9a-f]{6}$)|(^(?:#?)[0-9a-f]{3}$)/i);return null!==i?"#"!==(e=i[1]||i[2])[0]?"#"+e:e:null!==(i=t.match(/^rgb\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/))?e="rgb("+i.slice(1).join(",")+")":null!==(i=t.match(/^rgba\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0\.\d{1,}|1)\)$/))?e="rgba("+i.slice(1).join(",")+")":null},e.canvasRatio=function(){var e=1,i=1;if(t.document){var n=t.document.createElement("canvas");if(n.getContext){var r=n.getContext("2d");e=t.devicePixelRatio||1,i=r.webkitBackingStorePixelRatio||r.mozBackingStorePixelRatio||r.msBackingStorePixelRatio||r.oBackingStorePixelRatio||r.backingStorePixelRatio||1}}return e/i}}).call(e,function(){return this}())},function(t,e,i){(function(t){var n=i(9),r="http://www.w3.org/2000/svg";e.initSVG=function(t,e,i){var o,s,a=!1;t&&t.querySelector?null===(s=t.querySelector("style"))&&(a=!0):(t=n.newEl("svg",r),a=!0),a&&(o=n.newEl("defs",r),s=n.newEl("style",r),n.setAttr(s,{type:"text/css"}),o.appendChild(s),t.appendChild(o)),t.webkitMatchesSelector&&t.setAttribute("xmlns",r);for(var l=0;l<t.childNodes.length;l++)8===t.childNodes[l].nodeType&&t.removeChild(t.childNodes[l]);for(;s.childNodes.length;)s.removeChild(s.childNodes[0]);return n.setAttr(t,{width:e,height:i,viewBox:"0 0 "+e+" "+i,preserveAspectRatio:"none"}),t},e.svgStringToDataURI=function(e,i){return i?"data:image/svg+xml;charset=UTF-8;base64,"+btoa(t.unescape(encodeURIComponent(e))):"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(e)},e.serializeSVG=function(e,i){if(t.XMLSerializer){var r=new XMLSerializer,o="",s=i.stylesheets;if(i.svgXMLStylesheet){for(var a=n.createXML(),l=s.length-1;l>=0;l--){var c=a.createProcessingInstruction("xml-stylesheet",'href="'+s[l]+'" rel="stylesheet"');a.insertBefore(c,a.firstChild)}a.removeChild(a.documentElement),o=r.serializeToString(a)}var h=r.serializeToString(e);return o+(h=h.replace(/\&amp;(\#[0-9]{2,}\;)/g,"&$1"))}}}).call(e,function(){return this}())},function(t,e){(function(t){e.newEl=function(e,i){if(t.document)return null==i?t.document.createElement(e):t.document.createElementNS(i,e)},e.setAttr=function(t,e){for(var i in e)t.setAttribute(i,e[i])},e.createXML=function(){if(t.DOMParser)return(new DOMParser).parseFromString("<xml />","application/xml")},e.getNodeArray=function(e){var i=null;return"string"==typeof e?i=document.querySelectorAll(e):t.NodeList&&e instanceof t.NodeList?i=e:t.Node&&e instanceof t.Node?i=[e]:t.HTMLCollection&&e instanceof t.HTMLCollection||e instanceof Array?i=e:null===e&&(i=[]),Array.prototype.slice.call(i)}}).call(e,function(){return this}())},function(t,e){var i=function(t,e){"string"==typeof t&&(this.original=t,"#"===t.charAt(0)&&(t=t.slice(1)),/[^a-f0-9]+/i.test(t)||(3===t.length&&(t=t.replace(/./g,"$&$&")),6===t.length&&(this.alpha=1,e&&e.alpha&&(this.alpha=e.alpha),this.set(parseInt(t,16)))))};i.rgb2hex=function(t,e,i){return[t,e,i].map((function(t){var e=(0|t).toString(16);return t<16&&(e="0"+e),e})).join("")},i.hsl2rgb=function(t,e,i){var n=t/60,r=(1-Math.abs(2*i-1))*e,o=r*(1-Math.abs(parseInt(n)%2-1)),s=i-r/2,a=0,l=0,c=0;return n>=0&&n<1?(a=r,l=o):n>=1&&n<2?(a=o,l=r):n>=2&&n<3?(l=r,c=o):n>=3&&n<4?(l=o,c=r):n>=4&&n<5?(a=o,c=r):n>=5&&n<6&&(a=r,c=o),a+=s,l+=s,c+=s,[a=parseInt(255*a),l=parseInt(255*l),c=parseInt(255*c)]},i.prototype.set=function(t){this.raw=t;var e=(16711680&this.raw)>>16,i=(65280&this.raw)>>8,n=255&this.raw,r=.2126*e+.7152*i+.0722*n,o=-.09991*e-.33609*i+.436*n,s=.615*e-.55861*i-.05639*n;return this.rgb={r:e,g:i,b:n},this.yuv={y:r,u:o,v:s},this},i.prototype.lighten=function(t){var e=255*(Math.min(1,Math.max(0,Math.abs(t)))*(t<0?-1:1))|0,n=Math.min(255,Math.max(0,this.rgb.r+e)),r=Math.min(255,Math.max(0,this.rgb.g+e)),o=Math.min(255,Math.max(0,this.rgb.b+e)),s=i.rgb2hex(n,r,o);return new i(s)},i.prototype.toHex=function(t){return(t?"#":"")+this.raw.toString(16)},i.prototype.lighterThan=function(t){return t instanceof i||(t=new i(t)),this.yuv.y>t.yuv.y},i.prototype.blendAlpha=function(t){t instanceof i||(t=new i(t));var e=t,n=this,r=e.alpha*e.rgb.r+(1-e.alpha)*n.rgb.r,o=e.alpha*e.rgb.g+(1-e.alpha)*n.rgb.g,s=e.alpha*e.rgb.b+(1-e.alpha)*n.rgb.b;return new i(i.rgb2hex(r,o,s))},t.exports=i},function(t,e){t.exports={version:"2.9.4",svg_ns:"http://www.w3.org/2000/svg"}},function(t,e,i){function n(t){return l.cssProps({fill:t.fill,"font-weight":t.font.weight,"font-family":t.font.family+", monospace","font-size":t.font.size+t.font.units})}function r(t,e,i){var n=i/2;return["M",n,n,"H",t-n,"V",e-n,"H",n,"V",0,"M",0,n,"L",t,e-n,"M",0,e-n,"L",t,n].join(" ")}var o=i(13),s=i(8),a=i(11),l=i(7),c=a.svg_ns,h={element:function(t){var e=t.tag,i=t.content||"";return delete t.tag,delete t.content,[e,i,t]}};t.exports=function(t,e){var i=e.engineSettings.stylesheets.map((function(t){return'<?xml-stylesheet rel="stylesheet" href="'+t+'"?>'})).join("\n"),a="holder_"+Number(new Date).toString(16),l=t.root,u=l.children.holderTextGroup,d="#"+a+" text { "+n(u.properties)+" } ";u.y+=.8*u.textPositionData.boundingBox.height;var f=[];Object.keys(u.children).forEach((function(t){var e=u.children[t];Object.keys(e.children).forEach((function(t){var i=e.children[t],n=u.x+e.x+i.x,r=u.y+e.y+i.y,o=h.element({tag:"text",content:i.properties.text,x:n,y:r});f.push(o)}))}));var p=h.element({tag:"g",content:f}),g=null;if(l.children.holderBg.properties.outline){var m=l.children.holderBg.properties.outline;g=h.element({tag:"path",d:r(l.children.holderBg.width,l.children.holderBg.height,m.width),"stroke-width":m.width,stroke:m.fill,fill:"none"})}var v=function(t,e){return h.element({tag:e,width:t.width,height:t.height,fill:t.properties.fill})}(l.children.holderBg,"rect"),y=[];y.push(v),m&&y.push(g),y.push(p);var b=h.element({tag:"g",id:a,content:y}),w=h.element({tag:"style",content:d,type:"text/css"}),x=h.element({tag:"defs",content:w}),_=h.element({tag:"svg",content:[x,b],width:l.properties.width,height:l.properties.height,xmlns:c,viewBox:[0,0,l.properties.width,l.properties.height].join(" "),preserveAspectRatio:"none"}),k=o(_);return k=i+k[0],s.svgStringToDataURI(k,"background"===e.mode)}},function(t,e,i){i(14),t.exports=function t(e,i,n){"use strict";function r(t,e){if(null!==e&&!1!==e&&void 0!==e)return"string"!=typeof e&&"object"!=typeof e?String(e):e}function o(t){return t||0===t?String(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;"):""}function s(t){return String(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}var a,l,c,h,u=1,d=!0;if(n=n||{},"string"==typeof e[0])e[0]=function(t){var e=t.match(/^[\w-]+/),i={tag:e?e[0]:"div",attr:{},children:[]},r=t.match(/#([\w-]+)/),o=t.match(/\$([\w-]+)/),s=t.match(/\.[\w-]+/g);return r&&(i.attr.id=r[1],n[r[1]]=i),o&&(n[o[1]]=i),s&&(i.attr.class=s.join(" ").replace(/\./g,"")),t.match(/&$/g)&&(d=!1),i}(e[0]);else{if(!Array.isArray(e[0]))throw new Error("First element of array must be a string, or an array and not "+JSON.stringify(e[0]));u=0}for(;u<e.length;u++){if(!1===e[u]||null===e[u]){e[0]=!1;break}if(void 0!==e[u]&&!0!==e[u])if("string"==typeof e[u])d&&(e[u]=s(e[u])),e[0].children.push(e[u]);else if("number"==typeof e[u])e[0].children.push(e[u]);else if(Array.isArray(e[u])){if(Array.isArray(e[u][0])){if(e[u].reverse().forEach((function(t){e.splice(u+1,0,t)})),0!==u)continue;u++}t(e[u],i,n),e[u][0]&&e[0].children.push(e[u][0])}else if("function"==typeof e[u])c=e[u];else{if("object"!=typeof e[u])throw new TypeError('"'+e[u]+'" is not allowed as a value.');for(l in e[u])e[u].hasOwnProperty(l)&&null!==e[u][l]&&!1!==e[u][l]&&("style"===l&&"object"==typeof e[u][l]?e[0].attr[l]=JSON.stringify(e[u][l],r).slice(2,-2).replace(/","/g,";").replace(/":"/g,":").replace(/\\"/g,"'"):e[0].attr[l]=e[u][l])}}if(!1!==e[0]){for(h in a="<"+e[0].tag,e[0].attr)e[0].attr.hasOwnProperty(h)&&(a+=" "+h+'="'+o(e[0].attr[h])+'"');a+=">",e[0].children.forEach((function(t){a+=t})),a+="</"+e[0].tag+">",e[0]=a}return n[0]=e[0],c&&c(e[0]),n}},function(t,e){"use strict";var i=/["'&<>]/;t.exports=function(t){var e=""+t,n=i.exec(e);if(!n)return e;var r,o="",s=0,a=0;for(s=n.index;s<e.length;s++){switch(e.charCodeAt(s)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}a!==s&&(o+=e.substring(a,s)),a=s+1,o+=r}return a!==s?o+e.substring(a,s):o}},function(t,e,i){var n=i(9),r=i(7);t.exports=function(){var t=n.newEl("canvas"),e=null;return function(i){null==e&&(e=t.getContext("2d"));var n=r.canvasRatio(),o=i.root;t.width=n*o.properties.width,t.height=n*o.properties.height,e.textBaseline="middle";var s=o.children.holderBg,a=n*s.width,l=n*s.height;e.fillStyle=s.properties.fill,e.fillRect(0,0,a,l),s.properties.outline&&(e.strokeStyle=s.properties.outline.fill,e.lineWidth=s.properties.outline.width,e.moveTo(1,1),e.lineTo(a-1,1),e.lineTo(a-1,l-1),e.lineTo(1,l-1),e.lineTo(1,1),e.moveTo(0,1),e.lineTo(a,l-1),e.moveTo(0,l-1),e.lineTo(a,1),e.stroke());var c=o.children.holderTextGroup;for(var h in e.font=c.properties.font.weight+" "+n*c.properties.font.size+c.properties.font.units+" "+c.properties.font.family+", monospace",e.fillStyle=c.properties.fill,c.children){var u=c.children[h];for(var d in u.children){var f=u.children[d],p=n*(c.x+u.x+f.x),g=n*(c.y+u.y+f.y+c.properties.leading/2);e.fillText(f.properties.text,p,g)}}return t.toDataURL("image/png")}}()}])})),function(t,e){"undefined"!=typeof Meteor&&"undefined"!=typeof Package&&(Holder=t.Holder)}(this); \ No newline at end of file
+function(t,e){var i,n,r,s,o,a,l,c,h,u,d,f,p,g,m,y,b,w="sizzle"+-new Date,x=t.document,_={},k=0,E=0,S=tt(),T=tt(),C=tt(),O=[],A=O.pop,N=O.push,I=O.slice,R=O.indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(this[e]===t)return e;return-1},j="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",z=L.replace("w","w#"),D="\\["+j+"*("+L+")"+j+"*(?:([*^$|!~]?=)"+j+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+z+")|)|)"+j+"*\\]",P=":("+L+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+D.replace(3,8)+")*)|.*)\\)|)",B=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g"),M=new RegExp("^"+j+"*,"+j+"*"),F=new RegExp("^"+j+"*([\\x20\\t\\r\\n\\f>+~])"+j+"*"),q=new RegExp(P),U=new RegExp("^"+z+"$"),W={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),NAME:new RegExp("^\\[name=['\"]?("+L+")['\"]?\\]"),TAG:new RegExp("^("+L.replace("w","w*")+")"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},$=/[\x20\t\r\n\f]*[+~]/,H=/^[^{]+\{\s*\[native code/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Z=/'|\\/g,G=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,K=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,Q=function(t,e){var i="0x"+e-65536;return i!=i?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{I.call(x.documentElement.childNodes,0)[0].nodeType}catch(t){I=function(t){for(var e,i=[];e=this[t++];)i.push(e);return i}}function J(t){return H.test(t+"")}function tt(){var t,e=[];return t=function(i,n){return e.push(i+=" ")>r.cacheLength&&delete t[e.shift()],t[i]=n}}function et(t){return t[w]=!0,t}function it(t){var e=u.createElement("div");try{return t(e)}catch(t){return!1}finally{e=null}}function nt(t,e,i,n){var s,o,l,c,d,g,m,v,b,k;if((e?e.ownerDocument||e:x)!==u&&h(e),i=i||[],!t||"string"!=typeof t)return i;if(1!==(c=(e=e||u).nodeType)&&9!==c)return[];if(!f&&!n){if(s=X.exec(t))if(l=s[1]){if(9===c){if(!(o=e.getElementById(l))||!o.parentNode)return i;if(o.id===l)return i.push(o),i}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(l))&&y(e,o)&&o.id===l)return i.push(o),i}else{if(s[2])return N.apply(i,I.call(e.getElementsByTagName(t),0)),i;if((l=s[3])&&_.getByClassName&&e.getElementsByClassName)return N.apply(i,I.call(e.getElementsByClassName(l),0)),i}if(_.qsa&&!p.test(t)){if(m=!0,v=w,b=e,k=9===c&&t,1===c&&"object"!==e.nodeName.toLowerCase()){for(g=lt(t),(m=e.getAttribute("id"))?v=m.replace(Z,"\\$&"):e.setAttribute("id",v),v="[id='"+v+"'] ",d=g.length;d--;)g[d]=v+ct(g[d]);b=$.test(t)&&e.parentNode||e,k=g.join(",")}if(k)try{return N.apply(i,I.call(b.querySelectorAll(k),0)),i}catch(t){}finally{m||e.removeAttribute("id")}}}return function(t,e,i,n){var s,o,l,c,h,u=lt(t);if(!n&&1===u.length){if((o=u[0]=u[0].slice(0)).length>2&&"ID"===(l=o[0]).type&&9===e.nodeType&&!f&&r.relative[o[1].type]){if(!(e=r.find.ID(l.matches[0].replace(K,Q),e)[0]))return i;t=t.slice(o.shift().value.length)}for(s=W.needsContext.test(t)?0:o.length;s--&&(l=o[s],!r.relative[c=l.type]);)if((h=r.find[c])&&(n=h(l.matches[0].replace(K,Q),$.test(o[0].type)&&e.parentNode||e))){if(o.splice(s,1),!(t=n.length&&ct(o)))return N.apply(i,I.call(n,0)),i;break}}return a(t,u)(n,e,f,i,$.test(t)),i}(t.replace(B,"$1"),e,i,n)}function rt(t,e){var i=e&&t,n=i&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function st(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ot(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function at(t){return et((function(e){return e=+e,et((function(i,n){for(var r,s=t([],i.length,e),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))}))}))}for(i in o=nt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},h=nt.setDocument=function(t){var e=t?t.ownerDocument||t:x;return e!==u&&9===e.nodeType&&e.documentElement?(u=e,d=e.documentElement,f=o(e),_.tagNameNoComments=it((function(t){return t.appendChild(e.createComment("")),!t.getElementsByTagName("*").length})),_.attributes=it((function(t){t.innerHTML="<select></select>";var e=typeof t.lastChild.getAttribute("multiple");return"boolean"!==e&&"string"!==e})),_.getByClassName=it((function(t){return t.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!(!t.getElementsByClassName||!t.getElementsByClassName("e").length)&&(t.lastChild.className="e",2===t.getElementsByClassName("e").length)})),_.getByName=it((function(t){t.id=w+0,t.innerHTML="<a name='"+w+"'></a><div name='"+w+"'></div>",d.insertBefore(t,d.firstChild);var i=e.getElementsByName&&e.getElementsByName(w).length===2+e.getElementsByName(w+0).length;return _.getIdNotName=!e.getElementById(w),d.removeChild(t),i})),r.attrHandle=it((function(t){return t.innerHTML="<a href='#'></a>",t.firstChild&&void 0!==t.firstChild.getAttribute&&"#"===t.firstChild.getAttribute("href")}))?{}:{href:function(t){return t.getAttribute("href",2)},type:function(t){return t.getAttribute("type")}},_.getIdNotName?(r.find.ID=function(t,e){if(void 0!==e.getElementById&&!f){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},r.filter.ID=function(t){var e=t.replace(K,Q);return function(t){return t.getAttribute("id")===e}}):(r.find.ID=function(t,e){if(void 0!==e.getElementById&&!f){var i=e.getElementById(t);return i?i.id===t||void 0!==i.getAttributeNode&&i.getAttributeNode("id").value===t?[i]:void 0:[]}},r.filter.ID=function(t){var e=t.replace(K,Q);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}}),r.find.TAG=_.tagNameNoComments?function(t,e){if(void 0!==e.getElementsByTagName)return e.getElementsByTagName(t)}:function(t,e){var i,n=[],r=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[r++];)1===i.nodeType&&n.push(i);return n}return s},r.find.NAME=_.getByName&&function(t,e){if(void 0!==e.getElementsByName)return e.getElementsByName(name)},r.find.CLASS=_.getByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&!f)return e.getElementsByClassName(t)},g=[],p=[":focus"],(_.qsa=J(e.querySelectorAll))&&(it((function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||p.push("\\["+j+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||p.push(":checked")})),it((function(t){t.innerHTML="<input type='hidden' i=''/>",t.querySelectorAll("[i^='']").length&&p.push("[*^$]="+j+"*(?:\"\"|'')"),t.querySelectorAll(":enabled").length||p.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),p.push(",.*:")}))),(_.matchesSelector=J(m=d.matchesSelector||d.mozMatchesSelector||d.webkitMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&it((function(t){_.disconnectedMatch=m.call(t,"div"),m.call(t,"[s!='']:x"),g.push("!=",P)})),p=new RegExp(p.join("|")),g=new RegExp(g.join("|")),y=J(d.contains)||d.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},b=d.compareDocumentPosition?function(t,i){var n;return t===i?(l=!0,0):(n=i.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(i))?1&n||t.parentNode&&11===t.parentNode.nodeType?t===e||y(x,t)?-1:i===e||y(x,i)?1:0:4&n?-1:1:t.compareDocumentPosition?-1:1}:function(t,i){var n,r=0,s=t.parentNode,o=i.parentNode,a=[t],c=[i];if(t===i)return l=!0,0;if(!s||!o)return t===e?-1:i===e?1:s?-1:o?1:0;if(s===o)return rt(t,i);for(n=t;n=n.parentNode;)a.unshift(n);for(n=i;n=n.parentNode;)c.unshift(n);for(;a[r]===c[r];)r++;return r?rt(a[r],c[r]):a[r]===x?-1:c[r]===x?1:0},l=!1,[0,0].sort(b),_.detectDuplicates=l,u):u},nt.matches=function(t,e){return nt(t,null,null,e)},nt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==u&&h(t),e=e.replace(G,"='$1']"),_.matchesSelector&&!f&&(!g||!g.test(e))&&!p.test(e))try{var i=m.call(t,e);if(i||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return nt(e,u,null,[t]).length>0},nt.contains=function(t,e){return(t.ownerDocument||t)!==u&&h(t),y(t,e)},nt.attr=function(t,e){var i;return(t.ownerDocument||t)!==u&&h(t),f||(e=e.toLowerCase()),(i=r.attrHandle[e])?i(t):f||_.attributes?t.getAttribute(e):((i=t.getAttributeNode(e))||t.getAttribute(e))&&!0===t[e]?e:i&&i.specified?i.value:null},nt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},nt.uniqueSort=function(t){var e,i=[],n=1,r=0;if(l=!_.detectDuplicates,t.sort(b),l){for(;e=t[n];n++)e===t[n-1]&&(r=i.push(n));for(;r--;)t.splice(i[r],1)}return t},s=nt.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=s(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n];n++)i+=s(e);return i},r=nt.selectors={cacheLength:50,createPseudo:et,match:W,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(K,Q),t[3]=(t[4]||t[5]||"").replace(K,Q),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||nt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&nt.error(t[0]),t},PSEUDO:function(t){var e,i=!t[5]&&t[2];return W.CHILD.test(t[0])?null:(t[4]?t[2]=t[4]:i&&q.test(i)&&(e=lt(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){return"*"===t?function(){return!0}:(t=t.replace(K,Q).toLowerCase(),function(e){return e.nodeName&&e.nodeName.toLowerCase()===t})},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+j+")"+t+"("+j+"|$)"))&&S(t,(function(t){return e.test(t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(n){var r=nt.attr(n,t);return null==r?"!="===e:!e||(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&r.indexOf(i)>-1:"$="===e?i&&r.slice(-i.length)===i:"~="===e?(" "+r+" ").indexOf(i)>-1:"|="===e&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var c,h,u,d,f,p,g=s!==o?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a;if(m){if(s){for(;g;){for(u=e;u=u[g];)if(a?u.nodeName.toLowerCase()===v:1===u.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[o?m.firstChild:m.lastChild],o&&y){for(f=(c=(h=m[w]||(m[w]={}))[t]||[])[0]===k&&c[1],d=c[0]===k&&c[2],u=f&&m.childNodes[f];u=++f&&u&&u[g]||(d=f=0)||p.pop();)if(1===u.nodeType&&++d&&u===e){h[t]=[k,f,d];break}}else if(y&&(c=(e[w]||(e[w]={}))[t])&&c[0]===k)d=c[1];else for(;(u=++f&&u&&u[g]||(d=f=0)||p.pop())&&((a?u.nodeName.toLowerCase()!==v:1!==u.nodeType)||!++d||(y&&((u[w]||(u[w]={}))[t]=[k,d]),u!==e)););return(d-=r)===n||d%n==0&&d/n>=0}}},PSEUDO:function(t,e){var i,n=r.pseudos[t]||r.setFilters[t.toLowerCase()]||nt.error("unsupported pseudo: "+t);return n[w]?n(e):n.length>1?(i=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?et((function(t,i){for(var r,s=n(t,e),o=s.length;o--;)t[r=R.call(t,s[o])]=!(i[r]=s[o])})):function(t){return n(t,0,i)}):n}},pseudos:{not:et((function(t){var e=[],i=[],n=a(t.replace(B,"$1"));return n[w]?et((function(t,e,i,r){for(var s,o=n(t,null,r,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))})):function(t,r,s){return e[0]=t,n(e,null,s,i),!i.pop()}})),has:et((function(t){return function(e){return nt(t,e).length>0}})),contains:et((function(t){return function(e){return(e.textContent||e.innerText||s(e)).indexOf(t)>-1}})),lang:et((function(t){return U.test(t||"")||nt.error("unsupported lang: "+t),t=t.replace(K,Q).toLowerCase(),function(e){var i;do{if(i=f?e.getAttribute("xml:lang")||e.getAttribute("lang"):e.lang)return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===d},focus:function(t){return t===u.activeElement&&(!u.hasFocus||u.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeName>"@"||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return V.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:at((function(){return[0]})),last:at((function(t,e){return[e-1]})),eq:at((function(t,e,i){return[i<0?i+e:i]})),even:at((function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t})),odd:at((function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t})),lt:at((function(t,e,i){for(var n=i<0?i+e:i;--n>=0;)t.push(n);return t})),gt:at((function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t}))}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[i]=st(i);for(i in{submit:!0,reset:!0})r.pseudos[i]=ot(i);function lt(t,e){var i,n,s,o,a,l,c,h=T[t+" "];if(h)return e?0:h.slice(0);for(a=t,l=[],c=r.preFilter;a;){for(o in i&&!(n=M.exec(a))||(n&&(a=a.slice(n[0].length)||a),l.push(s=[])),i=!1,(n=F.exec(a))&&(i=n.shift(),s.push({value:i,type:n[0].replace(B," ")}),a=a.slice(i.length)),r.filter)!(n=W[o].exec(a))||c[o]&&!(n=c[o](n))||(i=n.shift(),s.push({value:i,type:o,matches:n}),a=a.slice(i.length));if(!i)break}return e?a.length:a?nt.error(t):T(t,l).slice(0)}function ct(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function ht(t,e,i){var r=e.dir,s=i&&"parentNode"===r,o=E++;return e.first?function(e,i,n){for(;e=e[r];)if(1===e.nodeType||s)return t(e,i,n)}:function(e,i,a){var l,c,h,u=k+" "+o;if(a){for(;e=e[r];)if((1===e.nodeType||s)&&t(e,i,a))return!0}else for(;e=e[r];)if(1===e.nodeType||s)if((c=(h=e[w]||(e[w]={}))[r])&&c[0]===u){if(!0===(l=c[1])||l===n)return!0===l}else if((c=h[r]=[u])[1]=t(e,i,a)||n,!0===c[1])return!0}}function ut(t){return t.length>1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function dt(t,e,i,n,r){for(var s,o=[],a=0,l=t.length,c=null!=e;a<l;a++)(s=t[a])&&(i&&!i(s,n,r)||(o.push(s),c&&e.push(a)));return o}function ft(t,e,i,n,r,s){return n&&!n[w]&&(n=ft(n)),r&&!r[w]&&(r=ft(r,s)),et((function(s,o,a,l){var c,h,u,d=[],f=[],p=o.length,g=s||function(t,e,i){for(var n=0,r=e.length;n<r;n++)nt(t,e[n],i);return i}(e||"*",a.nodeType?[a]:a,[]),m=!t||!s&&e?g:dt(g,d,t,a,l),v=i?r||(s?t:p||n)?[]:o:m;if(i&&i(m,v,a,l),n)for(c=dt(v,f),n(c,[],a,l),h=c.length;h--;)(u=c[h])&&(v[f[h]]=!(m[f[h]]=u));if(s){if(r||t){if(r){for(c=[],h=v.length;h--;)(u=v[h])&&c.push(m[h]=u);r(null,v=[],c,l)}for(h=v.length;h--;)(u=v[h])&&(c=r?R.call(s,u):d[h])>-1&&(s[c]=!(o[c]=u))}}else v=dt(v===o?v.splice(p,v.length):v),r?r(null,o,v,l):N.apply(o,v)}))}function pt(t){for(var e,i,n,s=t.length,o=r.relative[t[0].type],a=o||r.relative[" "],l=o?1:0,h=ht((function(t){return t===e}),a,!0),u=ht((function(t){return R.call(e,t)>-1}),a,!0),d=[function(t,i,n){return!o&&(n||i!==c)||((e=i).nodeType?h(t,i,n):u(t,i,n))}];l<s;l++)if(i=r.relative[t[l].type])d=[ht(ut(d),i)];else{if((i=r.filter[t[l].type].apply(null,t[l].matches))[w]){for(n=++l;n<s&&!r.relative[t[n].type];n++);return ft(l>1&&ut(d),l>1&&ct(t.slice(0,l-1)).replace(B,"$1"),i,l<n&&pt(t.slice(l,n)),n<s&&pt(t=t.slice(n)),n<s&&ct(t))}d.push(i)}return ut(d)}function gt(){}a=nt.compile=function(t,e){var i,s=[],o=[],a=C[t+" "];if(!a){for(e||(e=lt(t)),i=e.length;i--;)(a=pt(e[i]))[w]?s.push(a):o.push(a);a=C(t,function(t,e){var i=0,s=e.length>0,o=t.length>0,a=function(a,l,h,d,f){var p,g,m,v=[],y=0,b="0",w=a&&[],x=null!=f,_=c,E=a||o&&r.find.TAG("*",f&&l.parentNode||l),S=k+=null==_?1:Math.random()||.1;for(x&&(c=l!==u&&l,n=i);null!=(p=E[b]);b++){if(o&&p){for(g=0;m=t[g++];)if(m(p,l,h)){d.push(p);break}x&&(k=S,n=++i)}s&&((p=!m&&p)&&y--,a&&w.push(p))}if(y+=b,s&&b!==y){for(g=0;m=e[g++];)m(w,v,l,h);if(a){if(y>0)for(;b--;)w[b]||v[b]||(v[b]=A.call(d));v=dt(v)}N.apply(d,v),x&&!a&&v.length>0&&y+e.length>1&&nt.uniqueSort(d)}return x&&(k=S,c=_),w};return s?et(a):a}(o,s))}return a},r.pseudos.nth=r.pseudos.eq,r.filters=gt.prototype=r.pseudos,r.setFilters=new gt,h(),nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(t);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,st=/^.[^:#\[\.,]*$/,ot=v.expr.match.needsContext,at={children:!0,contents:!0,next:!0,prev:!0};function lt(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}function ct(t,e,i){if(e=e||0,v.isFunction(e))return v.grep(t,(function(t,n){return!!e.call(t,n,t)===i}));if(e.nodeType)return v.grep(t,(function(t){return t===e===i}));if("string"==typeof e){var n=v.grep(t,(function(t){return 1===t.nodeType}));if(st.test(e))return v.filter(e,n,!i);e=v.filter(e,n)}return v.grep(t,(function(t){return v.inArray(t,e)>=0===i}))}function ht(t){var e=ut.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}v.fn.extend({find:function(t){var e,i,n,r=this.length;if("string"!=typeof t)return n=this,this.pushStack(v(t).filter((function(){for(e=0;e<r;e++)if(v.contains(n[e],this))return!0})));for(i=[],e=0;e<r;e++)v.find(t,this[e],i);return(i=this.pushStack(r>1?v.unique(i):i)).selector=(this.selector?this.selector+" ":"")+t,i},has:function(t){var e,i=v(t,this),n=i.length;return this.filter((function(){for(e=0;e<n;e++)if(v.contains(this,i[e]))return!0}))},not:function(t){return this.pushStack(ct(this,t,!1))},filter:function(t){return this.pushStack(ct(this,t,!0))},is:function(t){return!!t&&("string"==typeof t?ot.test(t)?v(t,this.context).index(this[0])>=0:v.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){for(var i,n=0,r=this.length,s=[],o=ot.test(t)||"string"!=typeof t?v(t,e||this.context):0;n<r;n++)for(i=this[n];i&&i.ownerDocument&&i!==e&&11!==i.nodeType;){if(o?o.index(i)>-1:v.find.matchesSelector(i,t)){s.push(i);break}i=i.parentNode}return this.pushStack(s.length>1?v.unique(s):s)},index:function(t){return t?"string"==typeof t?v.inArray(this[0],v(t)):v.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var i="string"==typeof t?v(t,e):v.makeArray(t&&t.nodeType?[t]:t),n=v.merge(this.get(),i);return this.pushStack(v.unique(n))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return v.dir(t,"parentNode")},parentsUntil:function(t,e,i){return v.dir(t,"parentNode",i)},next:function(t){return lt(t,"nextSibling")},prev:function(t){return lt(t,"previousSibling")},nextAll:function(t){return v.dir(t,"nextSibling")},prevAll:function(t){return v.dir(t,"previousSibling")},nextUntil:function(t,e,i){return v.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return v.dir(t,"previousSibling",i)},siblings:function(t){return v.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return v.sibling(t.firstChild)},contents:function(t){return v.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:v.merge([],t.childNodes)}},(function(t,e){v.fn[t]=function(i,n){var r=v.map(this,e,i);return nt.test(t)||(n=i),n&&"string"==typeof n&&(r=v.filter(n,r)),r=this.length>1&&!at[t]?v.unique(r):r,this.length>1&&rt.test(t)&&(r=r.reverse()),this.pushStack(r)}})),v.extend({filter:function(t,e,i){return i&&(t=":not("+t+")"),1===e.length?v.find.matchesSelector(e[0],t)?[e[0]]:[]:v.find.matches(t,e)},dir:function(t,e,i){for(var n=[],r=t[e];r&&9!==r.nodeType&&(void 0===i||1!==r.nodeType||!v(r).is(i));)1===r.nodeType&&n.push(r),r=r[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var ut="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",dt=/ jQuery\d+="(?:null|\d+)"/g,ft=new RegExp("<(?:"+ut+")[\\s/>]","i"),pt=/^\s+/,gt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,mt=/<([\w:]+)/,vt=/<tbody/i,yt=/<|&#?\w+;/,bt=/<(?:script|style|link)/i,wt=/^(?:checkbox|radio)$/i,xt=/checked\s*(?:[^=]|=\s*.checked.)/i,_t=/^$|\/(?:java|ecma)script/i,kt=/^true\/(.*)/,Et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,St={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:v.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Tt=ht(r).appendChild(r.createElement("div"));function Ct(t){var e=t.getAttributeNode("type");return t.type=(e&&e.specified)+"/"+t.type,t}function Ot(t){var e=kt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function At(t,e){for(var i,n=0;null!=(i=t[n]);n++)v._data(i,"globalEval",!e||v._data(e[n],"globalEval"))}function Nt(t,e){if(1===e.nodeType&&v.hasData(t)){var i,n,r,s=v._data(t),o=v._data(e,s),a=s.events;if(a)for(i in delete o.handle,o.events={},a)for(n=0,r=a[i].length;n<r;n++)v.event.add(e,i,a[i][n]);o.data&&(o.data=v.extend({},o.data))}}function It(t,e){var i,n,r;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!v.support.noCloneEvent&&e[v.expando]){for(n in(r=v._data(e)).events)v.removeEvent(e,n,r.handle);e.removeAttribute(v.expando)}"script"===i&&e.text!==t.text?(Ct(e).text=t.text,Ot(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),v.support.html5Clone&&t.innerHTML&&!v.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&wt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}}function Rt(t,e){var i,n,r=0,s=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):void 0;if(!s)for(s=[],i=t.childNodes||t;null!=(n=i[r]);r++)!e||v.nodeName(n,e)?s.push(n):v.merge(s,Rt(n,e));return void 0===e||e&&v.nodeName(t,e)?v.merge([t],s):s}function jt(t){wt.test(t.type)&&(t.defaultChecked=t.checked)}St.optgroup=St.option,St.tbody=St.tfoot=St.colgroup=St.caption=St.thead,St.th=St.td,v.fn.extend({text:function(t){return v.access(this,(function(t){return void 0===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(t))}),null,t,arguments.length)},wrapAll:function(t){if(v.isFunction(t))return this.each((function(e){v(this).wrapAll(t.call(this,e))}));if(this[0]){var e=v(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t})).append(this)}return this},wrapInner:function(t){return v.isFunction(t)?this.each((function(e){v(this).wrapInner(t.call(this,e))})):this.each((function(){var e=v(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v.isFunction(t);return this.each((function(i){v(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(){return this.parent().each((function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)})).end()},append:function(){return this.domManip(arguments,!0,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||this.appendChild(t)}))},prepend:function(){return this.domManip(arguments,!0,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||this.insertBefore(t,this.firstChild)}))},before:function(){return this.domManip(arguments,!1,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return this.domManip(arguments,!1,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},remove:function(t,e){for(var i,n=0;null!=(i=this[n]);n++)(!t||v.filter(t,[i]).length>0)&&(e||1!==i.nodeType||v.cleanData(Rt(i)),i.parentNode&&(e&&v.contains(i.ownerDocument,i)&&At(Rt(i,"script")),i.parentNode.removeChild(i)));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&v.cleanData(Rt(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&v.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return v.clone(this,t,e)}))},html:function(t){return v.access(this,(function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(dt,""):void 0;if("string"==typeof t&&!bt.test(t)&&(v.support.htmlSerialize||!ft.test(t))&&(v.support.leadingWhitespace||!pt.test(t))&&!St[(mt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(gt,"<$1></$2>");try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(v.cleanData(Rt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(t){return v.isFunction(t)||"string"==typeof t||(t=v(t).not(this).detach()),this.domManip([t],!0,(function(t){var e=this.nextSibling,i=this.parentNode;i&&(v(this).remove(),i.insertBefore(t,e))}))},detach:function(t){return this.remove(t,!0)},domManip:function(t,e,i){t=h.apply([],t);var n,r,s,o,a,l,c,u,d=0,f=this.length,p=this,g=f-1,m=t[0],y=v.isFunction(m);if(y||!(f<=1||"string"!=typeof m||v.support.checkClone)&&xt.test(m))return this.each((function(n){var r=p.eq(n);y&&(t[0]=m.call(this,n,e?r.html():void 0)),r.domManip(t,e,i)}));if(f&&(n=(l=v.buildFragment(t,this[0].ownerDocument,!1,this)).firstChild,1===l.childNodes.length&&(l=n),n)){for(e=e&&v.nodeName(n,"tr"),s=(o=v.map(Rt(l,"script"),Ct)).length;d<f;d++)r=l,d!==g&&(r=v.clone(r,!0,!0),s&&v.merge(o,Rt(r,"script"))),i.call(e&&v.nodeName(this[d],"table")?(c=this[d],u="tbody",c.getElementsByTagName(u)[0]||c.appendChild(c.ownerDocument.createElement(u))):this[d],r,d);if(s)for(a=o[o.length-1].ownerDocument,v.map(o,Ot),d=0;d<s;d++)r=o[d],_t.test(r.type||"")&&!v._data(r,"globalEval")&&v.contains(a,r)&&(r.src?v.ajax({url:r.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):v.globalEval((r.text||r.textContent||r.innerHTML||"").replace(Et,"")));l=n=null}return this}}),v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){v.fn[t]=function(t){for(var i,n=0,r=[],s=v(t),o=s.length-1;n<=o;n++)i=n===o?this:this.clone(!0),v(s[n])[e](i),u.apply(r,i.get());return this.pushStack(r)}})),v.extend({clone:function(t,e,i){var n,r,s,o,a,l=v.contains(t.ownerDocument,t);if(v.support.html5Clone||v.isXMLDoc(t)||!ft.test("<"+t.nodeName+">")?s=t.cloneNode(!0):(Tt.innerHTML=t.outerHTML,Tt.removeChild(s=Tt.firstChild)),!(v.support.noCloneEvent&&v.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||v.isXMLDoc(t)))for(n=Rt(s),a=Rt(t),o=0;null!=(r=a[o]);++o)n[o]&&It(r,n[o]);if(e)if(i)for(a=a||Rt(t),n=n||Rt(s),o=0;null!=(r=a[o]);o++)Nt(r,n[o]);else Nt(t,s);return(n=Rt(s,"script")).length>0&&At(n,!l&&Rt(t,"script")),n=a=r=null,s},buildFragment:function(t,e,i,n){for(var r,s,o,a,l,c,h,u=t.length,d=ht(e),f=[],p=0;p<u;p++)if((s=t[p])||0===s)if("object"===v.type(s))v.merge(f,s.nodeType?[s]:s);else if(yt.test(s)){for(a=a||d.appendChild(e.createElement("div")),l=(mt.exec(s)||["",""])[1].toLowerCase(),h=St[l]||St._default,a.innerHTML=h[1]+s.replace(gt,"<$1></$2>")+h[2],r=h[0];r--;)a=a.lastChild;if(!v.support.leadingWhitespace&&pt.test(s)&&f.push(e.createTextNode(pt.exec(s)[0])),!v.support.tbody)for(r=(s="table"!==l||vt.test(s)?"<table>"!==h[1]||vt.test(s)?0:a:a.firstChild)&&s.childNodes.length;r--;)v.nodeName(c=s.childNodes[r],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(v.merge(f,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=d.lastChild}else f.push(e.createTextNode(s));for(a&&d.removeChild(a),v.support.appendChecked||v.grep(Rt(f,"input"),jt),p=0;s=f[p++];)if((!n||-1===v.inArray(s,n))&&(o=v.contains(s.ownerDocument,s),a=Rt(d.appendChild(s),"script"),o&&At(a),i))for(r=0;s=a[r++];)_t.test(s.type||"")&&i.push(s);return a=null,d},cleanData:function(t,e){for(var i,n,r,s,o=0,a=v.expando,l=v.cache,h=v.support.deleteExpando,u=v.event.special;null!=(i=t[o]);o++)if((e||v.acceptData(i))&&(s=(r=i[a])&&l[r])){if(s.events)for(n in s.events)u[n]?v.event.remove(i,n):v.removeEvent(i,n,s.handle);l[r]&&(delete l[r],h?delete i[a]:void 0!==i.removeAttribute?i.removeAttribute(a):i[a]=null,c.push(r))}}});var Lt,zt,Dt,Pt=/alpha\([^)]*\)/i,Bt=/opacity\s*=\s*([^)]*)/,Mt=/^(top|right|bottom|left)$/,Ft=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Ut=new RegExp("^("+y+")(.*)$","i"),Wt=new RegExp("^("+y+")(?!px)[a-z%]+$","i"),$t=new RegExp("^([+-])=("+y+")","i"),Ht={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Yt={letterSpacing:0,fontWeight:400},Vt=["Top","Right","Bottom","Left"],Zt=["Webkit","O","Moz","ms"];function Gt(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,r=Zt.length;r--;)if((e=Zt[r]+i)in t)return e;return n}function Kt(t,e){return t=e||t,"none"===v.css(t,"display")||!v.contains(t.ownerDocument,t)}function Qt(t,e){for(var i,n,r,s=[],o=0,a=t.length;o<a;o++)(n=t[o]).style&&(s[o]=v._data(n,"olddisplay"),i=n.style.display,e?(s[o]||"none"!==i||(n.style.display=""),""===n.style.display&&Kt(n)&&(s[o]=v._data(n,"olddisplay",ie(n.nodeName)))):s[o]||(r=Kt(n),(i&&"none"!==i||!r)&&v._data(n,"olddisplay",r?i:v.css(n,"display"))));for(o=0;o<a;o++)(n=t[o]).style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?s[o]||"":"none"));return t}function Jt(t,e,i){var n=Ut.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function te(t,e,i,n,r){for(var s=i===(n?"border":"content")?4:"width"===e?1:0,o=0;s<4;s+=2)"margin"===i&&(o+=v.css(t,i+Vt[s],!0,r)),n?("content"===i&&(o-=v.css(t,"padding"+Vt[s],!0,r)),"margin"!==i&&(o-=v.css(t,"border"+Vt[s]+"Width",!0,r))):(o+=v.css(t,"padding"+Vt[s],!0,r),"padding"!==i&&(o+=v.css(t,"border"+Vt[s]+"Width",!0,r)));return o}function ee(t,e,i){var n=!0,r="width"===e?t.offsetWidth:t.offsetHeight,s=zt(t),o=v.support.boxSizing&&"border-box"===v.css(t,"boxSizing",!1,s);if(r<=0||null==r){if(((r=Dt(t,e,s))<0||null==r)&&(r=t.style[e]),Wt.test(r))return r;n=o&&(v.support.boxSizingReliable||r===t.style[e]),r=parseFloat(r)||0}return r+te(t,e,i||(o?"border":"content"),n,s)+"px"}function ie(t){var e=r,i=Ht[t];return i||("none"!==(i=ne(t,e))&&i||((e=((Lt=(Lt||v("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||Lt[0].contentDocument).document).write("<!doctype html><html><body>"),e.close(),i=ne(t,e),Lt.detach()),Ht[t]=i),i}function ne(t,e){var i=v(e.createElement(t)).appendTo(e.body),n=v.css(i[0],"display");return i.remove(),n}v.fn.extend({css:function(t,e){return v.access(this,(function(t,e,i){var n,r,s={},o=0;if(v.isArray(e)){for(r=zt(t),n=e.length;o<n;o++)s[e[o]]=v.css(t,e[o],!1,r);return s}return void 0!==i?v.style(t,e,i):v.css(t,e)}),t,e,arguments.length>1)},show:function(){return Qt(this,!0)},hide:function(){return Qt(this)},toggle:function(t){var e="boolean"==typeof t;return this.each((function(){(e?t:Kt(this))?v(this).show():v(this).hide()}))}}),v.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Dt(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:v.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,o,a=v.camelCase(e),l=t.style;if(e=v.cssProps[a]||(v.cssProps[a]=Gt(l,a)),o=v.cssHooks[e]||v.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(r=o.get(t,!1,n))?r:l[e];if(!("string"===(s=typeof i)&&(r=$t.exec(i))&&(i=(r[1]+1)*r[2]+parseFloat(v.css(t,e)),s="number"),null==i||"number"===s&&isNaN(i)||("number"!==s||v.cssNumber[a]||(i+="px"),v.support.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,n)))))try{l[e]=i}catch(t){}}},css:function(t,e,i,n){var r,s,o,a=v.camelCase(e);return e=v.cssProps[a]||(v.cssProps[a]=Gt(t.style,a)),(o=v.cssHooks[e]||v.cssHooks[a])&&"get"in o&&(s=o.get(t,!0,i)),void 0===s&&(s=Dt(t,e,n)),"normal"===s&&e in Yt&&(s=Yt[e]),""===i||i?(r=parseFloat(s),!0===i||v.isNumeric(r)?r||0:s):s},swap:function(t,e,i,n){var r,s,o={};for(s in e)o[s]=t.style[s],t.style[s]=e[s];for(s in r=i.apply(t,n||[]),e)t.style[s]=o[s];return r}}),t.getComputedStyle?(zt=function(e){return t.getComputedStyle(e,null)},Dt=function(t,e,i){var n,r,s,o=i||zt(t),a=o?o.getPropertyValue(e)||o[e]:void 0,l=t.style;return o&&(""!==a||v.contains(t.ownerDocument,t)||(a=v.style(t,e)),Wt.test(a)&&qt.test(e)&&(n=l.width,r=l.minWidth,s=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=o.width,l.width=n,l.minWidth=r,l.maxWidth=s)),a}):r.documentElement.currentStyle&&(zt=function(t){return t.currentStyle},Dt=function(t,e,i){var n,r,s,o=i||zt(t),a=o?o[e]:void 0,l=t.style;return null==a&&l&&l[e]&&(a=l[e]),Wt.test(a)&&!Mt.test(e)&&(n=l.left,(s=(r=t.runtimeStyle)&&r.left)&&(r.left=t.currentStyle.left),l.left="fontSize"===e?"1em":a,a=l.pixelLeft+"px",l.left=n,s&&(r.left=s)),""===a?"auto":a}),v.each(["height","width"],(function(t,e){v.cssHooks[e]={get:function(t,i,n){if(i)return 0===t.offsetWidth&&Ft.test(v.css(t,"display"))?v.swap(t,Xt,(function(){return ee(t,e,n)})):ee(t,e,n)},set:function(t,i,n){var r=n&&zt(t);return Jt(0,i,n?te(t,e,n,v.support.boxSizing&&"border-box"===v.css(t,"boxSizing",!1,r),r):0)}}})),v.support.opacity||(v.cssHooks.opacity={get:function(t,e){return Bt.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,r=v.isNumeric(e)?"alpha(opacity="+100*e+")":"",s=n&&n.filter||i.filter||"";i.zoom=1,(e>=1||""===e)&&""===v.trim(s.replace(Pt,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=Pt.test(s)?s.replace(Pt,r):s+" "+r)}}),v((function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(t,e){if(e)return v.swap(t,{display:"inline-block"},Dt,[t,"marginRight"])}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],(function(t,e){v.cssHooks[e]={get:function(t,i){if(i)return i=Dt(t,e),Wt.test(i)?v(t).position()[e]+"px":i}}}))})),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!v.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||v.css(t,"display"))},v.expr.filters.visible=function(t){return!v.expr.filters.hidden(t)}),v.each({margin:"",padding:"",border:"Width"},(function(t,e){v.cssHooks[t+e]={expand:function(i){for(var n=0,r={},s="string"==typeof i?i.split(" "):[i];n<4;n++)r[t+Vt[n]+e]=s[n]||s[n-2]||s[0];return r}},qt.test(t)||(v.cssHooks[t+e].set=Jt)}));var re=/%20/g,se=/\[\]$/,oe=/\r?\n/g,ae=/^(?:submit|button|image|reset|file)$/i,le=/^(?:input|select|textarea|keygen)/i;function ce(t,e,i,n){var r;if(v.isArray(e))v.each(e,(function(e,r){i||se.test(t)?n(t,r):ce(t+"["+("object"==typeof r?e:"")+"]",r,i,n)}));else if(i||"object"!==v.type(e))n(t,e);else for(r in e)ce(t+"["+r+"]",e[r],i,n)}v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=v.prop(this,"elements");return t?v.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!v(this).is(":disabled")&&le.test(this.nodeName)&&!ae.test(t)&&(this.checked||!wt.test(t))})).map((function(t,e){var i=v(this).val();return null==i?null:v.isArray(i)?v.map(i,(function(t){return{name:e.name,value:t.replace(oe,"\r\n")}})):{name:e.name,value:i.replace(oe,"\r\n")}})).get()}}),v.param=function(t,e){var i,n=[],r=function(t,e){e=v.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=v.ajaxSettings&&v.ajaxSettings.traditional),v.isArray(t)||t.jquery&&!v.isPlainObject(t))v.each(t,(function(){r(this.name,this.value)}));else for(i in t)ce(i,t[i],e,r);return n.join("&").replace(re,"+")},v.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(t,e){v.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}})),v.fn.hover=function(t,e){return this.mouseenter(t).mouseleave(e||t)};var he,ue,de=v.now(),fe=/\?/,pe=/#.*$/,ge=/([?&])_=[^&]*/,me=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,ve=/^(?:GET|HEAD)$/,ye=/^\/\//,be=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,we=v.fn.load,xe={},_e={},ke="*/".concat("*");try{ue=s.href}catch(t){(ue=r.createElement("a")).href="",ue=ue.href}function Ee(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,r=0,s=e.toLowerCase().match(b)||[];if(v.isFunction(i))for(;n=s[r++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function Se(t,e,i,n){var r={},s=t===_e;function o(a){var l;return r[a]=!0,v.each(t[a]||[],(function(t,a){var c=a(e,i,n);return"string"!=typeof c||s||r[c]?s?!(l=c):void 0:(e.dataTypes.unshift(c),o(c),!1)})),l}return o(e.dataTypes[0])||!r["*"]&&o("*")}function Te(t,e){var i,n,r=v.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&v.extend(!0,t,i),t}he=be.exec(ue.toLowerCase())||[],v.fn.load=function(t,e,i){if("string"!=typeof t&&we)return we.apply(this,arguments);var n,r,s,o=this,a=t.indexOf(" ");return a>=0&&(n=t.slice(a,t.length),t=t.slice(0,a)),v.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(s="POST"),o.length>0&&v.ajax({url:t,type:s,dataType:"html",data:e}).done((function(t){r=arguments,o.html(n?v("<div>").append(v.parseHTML(t)).find(n):t)})).complete(i&&function(t,e){o.each(i,r||[t.responseText,e,t])}),this},v.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){v.fn[e]=function(t){return this.on(e,t)}})),v.each(["get","post"],(function(t,e){v[e]=function(t,i,n,r){return v.isFunction(i)&&(r=r||n,n=i,i=void 0),v.ajax({url:t,type:e,dataType:r,data:i,success:n})}})),v.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ue,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(he[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ke,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":t.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Te(Te(t,v.ajaxSettings),e):Te(v.ajaxSettings,t)},ajaxPrefilter:Ee(xe),ajaxTransport:Ee(_e),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,n,r,s,o,a,l,c,h=v.ajaxSetup({},e),u=h.context||h,d=h.context&&(u.nodeType||u.jquery)?v(u):v.event,f=v.Deferred(),p=v.Callbacks("once memory"),g=h.statusCode||{},m={},y={},w=0,x="canceled",_={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!c)for(c={};e=me.exec(s);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?s:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return w||(t=y[i]=y[i]||t,m[t]=e),this},overrideMimeType:function(t){return w||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)g[e]=[g[e],t[e]];else _.always(t[_.status]);return this},abort:function(t){var e=t||x;return l&&l.abort(e),k(0,e),this}};if(f.promise(_).complete=p.add,_.success=_.done,_.error=_.fail,h.url=((t||h.url||ue)+"").replace(pe,"").replace(ye,he[1]+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=v.trim(h.dataType||"*").toLowerCase().match(b)||[""],null==h.crossDomain&&(i=be.exec(h.url.toLowerCase()),h.crossDomain=!(!i||i[1]===he[1]&&i[2]===he[2]&&(i[3]||("http:"===i[1]?80:443))==(he[3]||("http:"===he[1]?80:443)))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=v.param(h.data,h.traditional)),Se(xe,h,e,_),2===w)return _;for(n in(a=h.global)&&0==v.active++&&v.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!ve.test(h.type),r=h.url,h.hasContent||(h.data&&(r=h.url+=(fe.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=ge.test(r)?r.replace(ge,"$1_="+de++):r+(fe.test(r)?"&":"?")+"_="+de++)),h.ifModified&&(v.lastModified[r]&&_.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&_.setRequestHeader("If-None-Match",v.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&_.setRequestHeader("Content-Type",h.contentType),_.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+ke+"; q=0.01":""):h.accepts["*"]),h.headers)_.setRequestHeader(n,h.headers[n]);if(h.beforeSend&&(!1===h.beforeSend.call(u,_,h)||2===w))return _.abort();for(n in x="abort",{success:1,error:1,complete:1})_[n](h[n]);if(l=Se(_e,h,e,_)){_.readyState=1,a&&d.trigger("ajaxSend",[_,h]),h.async&&h.timeout>0&&(o=setTimeout((function(){_.abort("timeout")}),h.timeout));try{w=1,l.send(m,k)}catch(t){if(!(w<2))throw t;k(-1,t)}}else k(-1,"No Transport");function k(t,e,i,n){var c,m,y,b,x,k=e;2!==w&&(w=2,o&&clearTimeout(o),l=void 0,s=n||"",_.readyState=t>0?4:0,i&&(b=function(t,e,i){var n,r,s,o,a=t.contents,l=t.dataTypes,c=t.responseFields;for(o in c)o in i&&(e[c[o]]=i[o]);for(;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(o in a)if(a[o]&&a[o].test(r)){l.unshift(o);break}if(l[0]in i)s=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){s=o;break}n||(n=o)}s=s||n}if(s)return s!==l[0]&&l.unshift(s),i[s]}(h,_,i)),t>=200&&t<300||304===t?(h.ifModified&&((x=_.getResponseHeader("Last-Modified"))&&(v.lastModified[r]=x),(x=_.getResponseHeader("etag"))&&(v.etag[r]=x)),204===t?(c=!0,k="nocontent"):304===t?(c=!0,k="notmodified"):(k=(c=function(t,e){var i,n,r,s,o={},a=0,l=t.dataTypes.slice(),c=l[0];t.dataFilter&&(e=t.dataFilter(e,t.dataType));if(l[1])for(r in t.converters)o[r.toLowerCase()]=t.converters[r];for(;n=l[++a];)if("*"!==n){if("*"!==c&&c!==n){if(!(r=o[c+" "+n]||o["* "+n]))for(i in o)if((s=i.split(" "))[1]===n&&(r=o[c+" "+s[0]]||o["* "+s[0]])){!0===r?r=o[i]:!0!==o[i]&&(n=s[0],l.splice(a--,0,n));break}if(!0!==r)if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+c+" to "+n}}}c=n}return{state:"success",data:e}}(h,b)).state,m=c.data,c=!(y=c.error))):(y=k,!t&&k||(k="error",t<0&&(t=0))),_.status=t,_.statusText=(e||k)+"",c?f.resolveWith(u,[m,k,_]):f.rejectWith(u,[_,k,y]),_.statusCode(g),g=void 0,a&&d.trigger(c?"ajaxSuccess":"ajaxError",[_,h,c?m:y]),p.fireWith(u,[_,k]),a&&(d.trigger("ajaxComplete",[_,h]),--v.active||v.event.trigger("ajaxStop")))}return _},getScript:function(t,e){return v.get(t,void 0,e,"script")},getJSON:function(t,e,i){return v.get(t,e,i,"json")}}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return v.globalEval(t),t}}}),v.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)})),v.ajaxTransport("script",(function(t){if(t.crossDomain){var e,i=r.head||v("head")[0]||r.documentElement;return{send:function(n,s){(e=r.createElement("script")).async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,i||s(200,"success"))},i.insertBefore(e,i.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}}));var Ce=[],Oe=/(=)\?(?=&|$)|\?\?/;v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ce.pop()||v.expando+"_"+de++;return this[t]=!0,t}}),v.ajaxPrefilter("json jsonp",(function(e,i,n){var r,s,o,a=!1!==e.jsonp&&(Oe.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Oe.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Oe,"$1"+r):!1!==e.jsonp&&(e.url+=(fe.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||v.error(r+" was not called"),o[0]},e.dataTypes[0]="json",s=t[r],t[r]=function(){o=arguments},n.always((function(){t[r]=s,e[r]&&(e.jsonpCallback=i.jsonpCallback,Ce.push(r)),o&&v.isFunction(s)&&s(o[0]),o=s=void 0})),"script"}));var Ae,Ne,Ie=0,Re=t.ActiveXObject&&function(){var t;for(t in Ae)Ae[t](void 0,!0)};function je(){try{return new t.XMLHttpRequest}catch(t){}}v.ajaxSettings.xhr=t.ActiveXObject?function(){return!this.isLocal&&je()||function(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:je,Ne=v.ajaxSettings.xhr(),v.support.cors=!!Ne&&"withCredentials"in Ne,(Ne=v.support.ajax=!!Ne)&&v.ajaxTransport((function(e){var i;if(!e.crossDomain||v.support.cors)return{send:function(n,r){var s,o,a=e.xhr();if(e.username?a.open(e.type,e.url,e.async,e.username,e.password):a.open(e.type,e.url,e.async),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");try{for(o in n)a.setRequestHeader(o,n[o])}catch(t){}a.send(e.hasContent&&e.data||null),i=function(t,n){var o,l,c,h;try{if(i&&(n||4===a.readyState))if(i=void 0,s&&(a.onreadystatechange=v.noop,Re&&delete Ae[s]),n)4!==a.readyState&&a.abort();else{h={},o=a.status,l=a.getAllResponseHeaders(),"string"==typeof a.responseText&&(h.text=a.responseText);try{c=a.statusText}catch(t){c=""}o||!e.isLocal||e.crossDomain?1223===o&&(o=204):o=h.text?200:404}}catch(t){n||r(-1,t)}h&&r(o,c,h,l)},e.async?4===a.readyState?setTimeout(i):(s=++Ie,Re&&(Ae||(Ae={},v(t).unload(Re)),Ae[s]=i),a.onreadystatechange=i):i()},abort:function(){i&&i(void 0,!0)}}}));var Le,ze,De=/^(?:toggle|show|hide)$/,Pe=new RegExp("^(?:([+-])=|)("+y+")([a-z%]*)$","i"),Be=/queueHooks$/,Me=[function(t,e,i){var n,r,s,o,a,l,c,h,u,d=this,f=t.style,p={},g=[],m=t.nodeType&&Kt(t);i.queue||(null==(h=v._queueHooks(t,"fx")).unqueued&&(h.unqueued=0,u=h.empty.fire,h.empty.fire=function(){h.unqueued||u()}),h.unqueued++,d.always((function(){d.always((function(){h.unqueued--,v.queue(t,"fx").length||h.empty.fire()}))})));1===t.nodeType&&("height"in e||"width"in e)&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===v.css(t,"display")&&"none"===v.css(t,"float")&&(v.support.inlineBlockNeedsLayout&&"inline"!==ie(t.nodeName)?f.zoom=1:f.display="inline-block"));i.overflow&&(f.overflow="hidden",v.support.shrinkWrapBlocks||d.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})));for(r in e)if(o=e[r],De.exec(o)){if(delete e[r],l=l||"toggle"===o,o===(m?"hide":"show"))continue;g.push(r)}if(s=g.length){"hidden"in(a=v._data(t,"fxshow")||v._data(t,"fxshow",{}))&&(m=a.hidden),l&&(a.hidden=!m),m?v(t).show():d.done((function(){v(t).hide()})),d.done((function(){var e;for(e in v._removeData(t,"fxshow"),p)v.style(t,e,p[e])}));for(r=0;r<s;r++)n=g[r],c=d.createTween(n,m?a[n]:0),p[n]=a[n]||v.style(t,n),n in a||(a[n]=c.start,m&&(c.end=c.start,c.start="width"===n||"height"===n?1:0))}}],Fe={"*":[function(t,e){var i,n,r=this.createTween(t,e),s=Pe.exec(e),o=r.cur(),a=+o||0,l=1,c=20;if(s){if(i=+s[2],"px"!==(n=s[3]||(v.cssNumber[t]?"":"px"))&&a){a=v.css(r.elem,t,!0)||i||1;do{a/=l=l||".5",v.style(r.elem,t,a+n)}while(l!==(l=r.cur()/o)&&1!==l&&--c)}r.unit=n,r.start=a,r.end=s[1]?a+(s[1]+1)*i:i}return r}]};function qe(){return setTimeout((function(){Le=void 0})),Le=v.now()}function Ue(t,e,i){var n,r,s=0,o=Me.length,a=v.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var e=Le||qe(),i=Math.max(0,c.startTime+c.duration-e),n=1-(i/c.duration||0),s=0,o=c.tweens.length;s<o;s++)c.tweens[s].run(n);return a.notifyWith(t,[c,n,i]),n<1&&o?i:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:v.extend({},e),opts:v.extend(!0,{specialEasing:{}},i),originalProperties:e,originalOptions:i,startTime:Le||qe(),duration:i.duration,tweens:[],createTween:function(e,i){var n=v.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var i=0,n=e?c.tweens.length:0;if(r)return this;for(r=!0;i<n;i++)c.tweens[i].run(1);return e?a.resolveWith(t,[c,e]):a.rejectWith(t,[c,e]),this}}),h=c.props;for(!function(t,e){var i,n,r,s,o;for(r in t)if(n=v.camelCase(r),s=e[n],i=t[r],v.isArray(i)&&(s=i[1],i=t[r]=i[0]),r!==n&&(t[n]=i,delete t[r]),(o=v.cssHooks[n])&&"expand"in o)for(r in i=o.expand(i),delete t[n],i)r in t||(t[r]=i[r],e[r]=s);else e[n]=s}(h,c.opts.specialEasing);s<o;s++)if(n=Me[s].call(c,t,h,c.opts))return n;return function(t,e){v.each(e,(function(e,i){for(var n=(Fe[e]||[]).concat(Fe["*"]),r=0,s=n.length;r<s;r++)if(n[r].call(t,e,i))return}))}(c,h),v.isFunction(c.opts.start)&&c.opts.start.call(t,c),v.fx.timer(v.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function We(t,e,i,n,r){return new We.prototype.init(t,e,i,n,r)}function $e(t,e){var i,n={height:t},r=0;for(e=e?1:0;r<4;r+=2-e)n["margin"+(i=Vt[r])]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function He(t){return v.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}v.Animation=v.extend(Ue,{tweener:function(t,e){v.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,r=t.length;n<r;n++)i=t[n],Fe[i]=Fe[i]||[],Fe[i].unshift(e)},prefilter:function(t,e){e?Me.unshift(t):Me.push(t)}}),v.Tween=We,We.prototype={constructor:We,init:function(t,e,i,n,r,s){this.elem=t,this.prop=i,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(v.cssNumber[i]?"":"px")},cur:function(){var t=We.propHooks[this.prop];return t&&t.get?t.get(this):We.propHooks._default.get(this)},run:function(t){var e,i=We.propHooks[this.prop];return this.options.duration?this.pos=e=v.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):We.propHooks._default.set(this),this}},We.prototype.init.prototype=We.prototype,We.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=v.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){v.fx.step[t.prop]?v.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[v.cssProps[t.prop]]||v.cssHooks[t.prop])?v.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},We.propHooks.scrollTop=We.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},v.each(["toggle","show","hide"],(function(t,e){var i=v.fn[e];v.fn[e]=function(t,n,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate($e(e,!0),t,n,r)}})),v.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Kt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=v.isEmptyObject(t),s=v.speed(e,i,n),o=function(){var e=Ue(this,v.extend({},t),s);o.finish=function(){e.stop(!0)},(r||v._data(this,"finish"))&&e.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each((function(){var e=!0,r=null!=t&&t+"queueHooks",s=v.timers,o=v._data(this);if(r)o[r]&&o[r].stop&&n(o[r]);else for(r in o)o[r]&&o[r].stop&&Be.test(r)&&n(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=t&&s[r].queue!==t||(s[r].anim.stop(i),e=!1,s.splice(r,1));!e&&i||v.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,i=v._data(this),n=i[t+"queue"],r=i[t+"queueHooks"],s=v.timers,o=n?n.length:0;for(i.finish=!0,v.queue(this,t,[]),r&&r.cur&&r.cur.finish&&r.cur.finish.call(this),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish}))}}),v.each({slideDown:$e("show"),slideUp:$e("hide"),slideToggle:$e("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){v.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}})),v.speed=function(t,e,i){var n=t&&"object"==typeof t?v.extend({},t):{complete:i||!i&&e||v.isFunction(t)&&t,duration:t,easing:i&&e||e&&!v.isFunction(e)&&e};return n.duration=v.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in v.fx.speeds?v.fx.speeds[n.duration]:v.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){v.isFunction(n.old)&&n.old.call(this),n.queue&&v.dequeue(this,n.queue)},n},v.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},v.timers=[],v.fx=We.prototype.init,v.fx.tick=function(){var t,e=v.timers,i=0;for(Le=v.now();i<e.length;i++)(t=e[i])()||e[i]!==t||e.splice(i--,1);e.length||v.fx.stop(),Le=void 0},v.fx.timer=function(t){t()&&v.timers.push(t)&&v.fx.start()},v.fx.interval=13,v.fx.start=function(){ze||(ze=setInterval(v.fx.tick,v.fx.interval))},v.fx.stop=function(){clearInterval(ze),ze=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fx.step={},v.expr&&v.expr.filters&&(v.expr.filters.animated=function(t){return v.grep(v.timers,(function(e){return t===e.elem})).length}),v.fn.offset=function(t){if(arguments.length)return void 0===t?this:this.each((function(e){v.offset.setOffset(this,t,e)}));var e,i,n={top:0,left:0},r=this[0],s=r&&r.ownerDocument;return s?(e=s.documentElement,v.contains(e,r)?(void 0!==r.getBoundingClientRect&&(n=r.getBoundingClientRect()),i=He(s),{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n):void 0},v.offset={setOffset:function(t,e,i){var n=v.css(t,"position");"static"===n&&(t.style.position="relative");var r,s,o=v(t),a=o.offset(),l=v.css(t,"top"),c=v.css(t,"left"),h={},u={};("absolute"===n||"fixed"===n)&&v.inArray("auto",[l,c])>-1?(r=(u=o.position()).top,s=u.left):(r=parseFloat(l)||0,s=parseFloat(c)||0),v.isFunction(e)&&(e=e.call(t,i,a)),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+s),"using"in e?e.using.call(t,h):o.css(h)}},v.fn.extend({position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===v.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),v.nodeName(t[0],"html")||(i=t.offset()),i.top+=v.css(t[0],"borderTopWidth",!0),i.left+=v.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-v.css(n,"marginTop",!0),left:e.left-i.left-v.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent||r.documentElement;t&&!v.nodeName(t,"html")&&"static"===v.css(t,"position");)t=t.offsetParent;return t||r.documentElement}))}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i=/Y/.test(e);v.fn[t]=function(n){return v.access(this,(function(t,n,r){var s=He(t);if(void 0===r)return s?e in s?s[e]:s.document.documentElement[n]:t[n];s?s.scrollTo(i?v(s).scrollLeft():r,i?r:v(s).scrollTop()):t[n]=r}),t,n,arguments.length,null)}})),v.each({Height:"height",Width:"width"},(function(t,e){v.each({padding:"inner"+t,content:e,"":"outer"+t},(function(i,n){v.fn[n]=function(n,r){var s=arguments.length&&(i||"boolean"!=typeof n),o=i||(!0===n||!0===r?"margin":"border");return v.access(this,(function(e,i,n){var r;return v.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===n?v.css(e,i,o):v.style(e,i,n,o)}),e,s?n:void 0,s,null)}}))})),t.jQuery=t.$=v,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],(function(){return v}))}(window),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",(function(){i=!0}));return setTimeout((function(){i||t(n).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})}))}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){o.detach().trigger("closed.bs.alert").remove()}var r=t(this),s=r.attr("data-target");s||(s=(s=r.attr("href"))&&s.replace(/.*(?=#[^\s]*$)/,""));var o=t(s);e&&e.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var n=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof e&&r[e].call(n)}))},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var n=t(this),r=n.data("bs.button"),s="object"==typeof e&&e;r||n.data("bs.button",r=new i(this,s)),"toggle"==e?r.toggle():e&&r.setState(e)}))}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.isLoading=!1};i.VERSION="3.3.5",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",n=this.$element,r=n.is("input")?"val":"html",s=n.data();e+="Text",null==s.resetText&&n.data("resetText",n[r]()),setTimeout(t.proxy((function(){n[r](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,n.removeClass(i).removeAttr(i))}),this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(i){var n=t(i.target);n.hasClass("btn")||(n=n.closest(".btn")),e.call(n,"toggle"),t(i.target).is('input[type="radio"]')||t(i.target).is('input[type="checkbox"]')||i.preventDefault()})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var n=t(this),r=n.data("bs.carousel"),s=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e),o="string"==typeof e?e:s.slide;r||n.data("bs.carousel",r=new i(this,s)),"number"==typeof e?r.to(e):o?r[o]():s.interval&&r.pause().cycle()}))}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.3.5",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var n=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(n)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){return this.sliding?void 0:this.slide("next")},i.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},i.prototype.slide=function(e,n){var r=this.$element.find(".item.active"),s=n||this.getItemForDirection(e,r),o=this.interval,a="next"==e?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var c=s[0],h=t.Event("slide.bs.carousel",{relatedTarget:c,direction:a});if(this.$element.trigger(h),!h.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var u=t(this.$indicators.children()[this.getItemIndex(s)]);u&&u.addClass("active")}var d=t.Event("slid.bs.carousel",{relatedTarget:c,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(e),s[0].offsetWidth,r.addClass(a),s.addClass(a),r.one("bsTransitionEnd",(function(){s.removeClass([e,a].join(" ")).addClass("active"),r.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(d)}),0)})).emulateTransitionEnd(i.TRANSITION_DURATION)):(r.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(d)),o&&this.cycle(),this}};var n=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=i,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this};var r=function(i){var n,r=t(this),s=t(r.attr("data-target")||(n=r.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var o=t.extend({},s.data(),r.data()),a=r.attr("data-slide-to");a&&(o.interval=!1),e.call(s,o),a&&s.data("bs.carousel").to(a),i.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var i=t(this);e.call(i,i.data())}))}))}(jQuery),function(t){"use strict";function e(e){var i,n=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(n)}function i(e){return this.each((function(){var i=t(this),r=i.data("bs.collapse"),s=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e);!r&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),r||i.data("bs.collapse",r=new n(this,s)),"string"==typeof e&&r[e]()}))}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};n.VERSION="3.3.5",n.TRANSITION_DURATION=350,n.DEFAULTS={toggle:!0},n.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},n.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"),e&&e.transitioning))){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){r&&r.length&&(i.call(r,"hide"),e||r.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(n.TRANSITION_DURATION)[o](this.$element[0][l])}}}},n.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[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 r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[i](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(n.TRANSITION_DURATION):r.call(this)}}},n.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},n.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(i,n){var r=t(n);this.addAriaAndCollapsedClass(e(r),r)}),this)).end()},n.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var r=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=n,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(n){var r=t(this);r.attr("data-target")||n.preventDefault();var s=e(r),o=s.data("bs.collapse")?"toggle":r.data();i.call(s,o)}))}(jQuery),function(t){"use strict";function e(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&t(i);return n&&n.length?n:e.parent()}function i(i){i&&3===i.which||(t(n).remove(),t(r).each((function(){var n=t(this),r=e(n),s={relatedTarget:this};r.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(r[0],i.target)||(r.trigger(i=t.Event("hide.bs.dropdown",s)),i.isDefaultPrevented()||(n.attr("aria-expanded","false"),r.removeClass("open").trigger("hidden.bs.dropdown",s))))})))}var n=".dropdown-backdrop",r='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.5",s.prototype.toggle=function(n){var r=t(this);if(!r.is(".disabled, :disabled")){var s=e(r),o=s.hasClass("open");if(i(),!o){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",i);var a={relatedTarget:this};if(s.trigger(n=t.Event("show.bs.dropdown",a)),n.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),s.toggleClass("open").trigger("shown.bs.dropdown",a)}return!1}},s.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var n=t(this);if(i.preventDefault(),i.stopPropagation(),!n.is(".disabled, :disabled")){var s=e(n),o=s.hasClass("open");if(!o&&27!=i.which||o&&27==i.which)return 27==i.which&&s.find(r).trigger("focus"),n.trigger("click");var a=s.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var l=a.index(i.target);38==i.which&&l>0&&l--,40==i.which&&l<a.length-1&&l++,~l||(l=0),a.eq(l).trigger("focus")}}}};var o=t.fn.dropdown;t.fn.dropdown=function(e){return this.each((function(){var i=t(this),n=i.data("bs.dropdown");n||i.data("bs.dropdown",n=new s(this)),"string"==typeof e&&n[e].call(i)}))},t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=o,this},t(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",r,s.prototype.toggle).on("keydown.bs.dropdown.data-api",r,s.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",s.prototype.keydown)}(jQuery),function(t){"use strict";function e(e,n){return this.each((function(){var r=t(this),s=r.data("bs.modal"),o=t.extend({},i.DEFAULTS,r.data(),"object"==typeof e&&e);s||r.data("bs.modal",s=new i(this,o)),"string"==typeof e?s[e](n):o.show&&s.show(n)}))}var i=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};i.VERSION="3.3.5",i.TRANSITION_DURATION=300,i.BACKDROP_TRANSITION_DURATION=150,i.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},i.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},i.prototype.show=function(e){var n=this,r=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){n.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(n.$element)&&(n.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var r=t.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),r&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus();var s=t.Event("shown.bs.modal",{relatedTarget:e});r?n.$dialog.one("bsTransitionEnd",(function(){n.$element.trigger("focus").trigger(s)})).emulateTransitionEnd(i.TRANSITION_DURATION):n.$element.trigger("focus").trigger(s)})))},i.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(i.TRANSITION_DURATION):this.hideModal())},i.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},i.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},i.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},i.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},i.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},i.prototype.backdrop=function(e){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var s=t.support.transition&&r;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))}),this)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;s?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){n.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):o()}else e&&e()},i.prototype.handleUpdate=function(){this.adjustDialog()},i.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},i.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},i.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},i.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},i.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var n=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=i,t.fn.modal.noConflict=function(){return t.fn.modal=n,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(i){var n=t(this),r=n.attr("href"),s=t(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),o=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},s.data(),n.data());n.is("a")&&i.preventDefault(),s.one("show.bs.modal",(function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",(function(){n.is(":visible")&&n.trigger("focus")}))})),e.call(s,o,this)}))}(jQuery),function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(t.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 r=this.options.trigger.split(" "),s=r.length;s--;){var o=r[s];if("click"==o)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=o){var a="hover"==o?"mouseenter":"focusin",l="hover"==o?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,(function(t,n){i[t]!=n&&(e[t]=n)})),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)):i.show())},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)):i.hide())},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!n)return;var r=this,s=this.tip(),o=this.getUID(this.type);this.setContent(),s.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&s.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(a);c&&(a=a.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var h=this.getPosition(),u=s[0].offsetWidth,d=s[0].offsetHeight;if(c){var f=a,p=this.getPosition(this.$viewport);a="bottom"==a&&h.bottom+d>p.bottom?"top":"top"==a&&h.top-d<p.top?"bottom":"right"==a&&h.right+u>p.width?"left":"left"==a&&h.left-u<p.left?"right":a,s.removeClass(f).addClass(a)}var g=this.getCalculatedOffset(a,h,u,d);this.applyPlacement(g,a);var m=function(){var t=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==t&&r.leave(r)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",m).emulateTransitionEnd(e.TRANSITION_DURATION):m()}},e.prototype.applyPlacement=function(e,i){var n=this.tip(),r=n[0].offsetWidth,s=n[0].offsetHeight,o=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(a)&&(a=0),e.top+=o,e.left+=a,t.offset.setOffset(n[0],t.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),n.addClass("in");var l=n[0].offsetWidth,c=n[0].offsetHeight;"top"==i&&c!=s&&(e.top=e.top+s-c);var h=this.getViewportAdjustedDelta(i,e,l,c);h.left?e.left+=h.left:e.top+=h.top;var u=/top|bottom/.test(i),d=u?2*h.left-r+l:2*h.top-s+c,f=u?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(d,n[0][f],u)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(i){function n(){"in"!=r.hoverState&&s.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),i&&i()}var r=this,s=t(this.$tip),o=t.Event("hide.bs."+this.type);return this.$element.trigger(o),o.isDefaultPrevented()?void 0:(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(e.TRANSITION_DURATION):n(),this.hoverState=null,this)},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],n="BODY"==i.tagName,r=i.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var s=n?{top:0,left:0}:e.offset(),o={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=n?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},r,o,a,s)},e.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,i,n){var r={top:0,left:0};if(!this.$viewport)return r;var s=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-s-o.scroll,l=e.top+s-o.scroll+n;a<o.top?r.top=o.top-a:l>o.top+o.height&&(r.top=o.top+o.height-l)}else{var c=e.left-s,h=e.left+s+i;c<o.left?r.left=o.left-c:h>o.right&&(r.left=o.left+o.width-h)}return r},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(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},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null}))};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each((function(){var n=t(this),r=n.data("bs.tooltip"),s="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||n.data("bs.tooltip",r=new e(this,s)),"string"==typeof i&&r[i]())}))},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.5",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=function(i){return this.each((function(){var n=t(this),r=n.data("bs.popover"),s="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||n.data("bs.popover",r=new e(this,s)),"string"==typeof i&&r[i]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";function e(i,n){this.$body=t(document.body),this.$scrollElement=t(t(i).is(document.body)?window:i),this.options=t.extend({},e.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each((function(){var n=t(this),r=n.data("bs.scrollspy"),s="object"==typeof i&&i;r||n.data("bs.scrollspy",r=new e(this,s)),"string"==typeof i&&r[i]()}))}e.VERSION="3.3.5",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),r=e.data("target")||e.attr("href"),s=/^#./.test(r)&&t(r);return s&&s.length&&s.is(":visible")&&[[s[i]().top+n,r]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),r=this.offsets,s=this.targets,o=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=n)return o!=(t=s[s.length-1])&&this.activate(t);if(o&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)o!=s[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(s[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=t(i).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var n=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load.bs.scrollspy.data-api",(function(){t('[data-spy="scroll"]').each((function(){var e=t(this);i.call(e,e.data())}))}))}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var n=t(this),r=n.data("bs.tab");r||n.data("bs.tab",r=new i(this)),"string"==typeof e&&r[e]()}))}var i=function(e){this.element=t(e)};i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=i.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),o=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(s),e.trigger(o),!o.isDefaultPrevented()&&!s.isDefaultPrevented()){var a=t(n);this.activate(e.closest("li"),i),this.activate(a,a.parent(),(function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}}},i.prototype.activate=function(e,n,r){function s(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var o=n.find("> .active"),a=r&&t.support.transition&&(o.length&&o.hasClass("fade")||!!n.find("> .fade").length);o.length&&a?o.one("bsTransitionEnd",s).emulateTransitionEnd(i.TRANSITION_DURATION):s(),o.removeClass("in")};var n=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var r=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),function(t){"use strict";function e(e){return this.each((function(){var n=t(this),r=n.data("bs.affix"),s="object"==typeof e&&e;r||n.data("bs.affix",r=new i(this,s)),"string"==typeof e&&r[e]()}))}var i=function(e,n){this.options=t.extend({},i.DEFAULTS,n),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};i.VERSION="3.3.5",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,e,i,n){var r=this.$target.scrollTop(),s=this.$element.offset(),o=this.$target.height();if(null!=i&&"top"==this.affixed)return i>r&&"top";if("bottom"==this.affixed)return null!=i?!(r+this.unpin<=s.top)&&"bottom":!(t-n>=r+o)&&"bottom";var a=null==this.affixed,l=a?r:s.top;return null!=i&&i>=r?"top":null!=n&&l+(a?o:e)>=t-n&&"bottom"},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),n=this.options.offset,r=n.top,s=n.bottom,o=Math.max(t(document).height(),t(document.body).height());"object"!=typeof n&&(s=r=n),"function"==typeof r&&(r=n.top(this.$element)),"function"==typeof s&&(s=n.bottom(this.$element));var a=this.getState(o,e,r,s);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:o-e-s})}};var n=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=i,t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var i=t(this),n=i.data();n.offset=n.offset||{},null!=n.offsetBottom&&(n.offset.bottom=n.offsetBottom),null!=n.offsetTop&&(n.offset.top=n.offsetTop),e.call(i,n)}))}))}(jQuery),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}}((function(){return function t(e,i,n){function r(o,a){if(!i[o]){if(!e[o]){var l="function"==typeof require&&require;if(!a&&l)return l(o,!0);if(s)return s(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var h=i[o]={exports:{}};e[o][0].call(h.exports,(function(t){var i=e[o][1][t];return r(i||t)}),h,h.exports,t,e,i,n)}return i[o].exports}for(var s="function"==typeof require&&require,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,i){"use strict";var n=t("./utils"),r=t("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(t){for(var e,i,r,o,a,l,c,h=[],u=0,d=t.length,f=d,p="string"!==n.getTypeOf(t);u<t.length;)f=d-u,p?(e=t[u++],i=u<d?t[u++]:0,r=u<d?t[u++]:0):(e=t.charCodeAt(u++),i=u<d?t.charCodeAt(u++):0,r=u<d?t.charCodeAt(u++):0),o=e>>2,a=(3&e)<<4|i>>4,l=f>1?(15&i)<<2|r>>6:64,c=f>2?63&r:64,h.push(s.charAt(o)+s.charAt(a)+s.charAt(l)+s.charAt(c));return h.join("")},i.decode=function(t){var e,i,n,o,a,l,c=0,h=0,u="data:";if(t.substr(0,u.length)===u)throw new Error("Invalid base64 input, it looks like a data url.");var d,f=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===s.charAt(64)&&f--,t.charAt(t.length-2)===s.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=r.uint8array?new Uint8Array(0|f):new Array(0|f);c<t.length;)e=s.indexOf(t.charAt(c++))<<2|(o=s.indexOf(t.charAt(c++)))>>4,i=(15&o)<<4|(a=s.indexOf(t.charAt(c++)))>>2,n=(3&a)<<6|(l=s.indexOf(t.charAt(c++))),d[h++]=e,64!==a&&(d[h++]=i),64!==l&&(d[h++]=n);return d}},{"./support":30,"./utils":32}],2:[function(t,e,i){"use strict";function n(t,e,i,n,r){this.compressedSize=t,this.uncompressedSize=e,this.crc32=i,this.compression=n,this.compressedContent=r}var r=t("./external"),s=t("./stream/DataWorker"),o=t("./stream/DataLengthProbe"),a=t("./stream/Crc32Probe");o=t("./stream/DataLengthProbe");n.prototype={getContentWorker:function(){var t=new s(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new s(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},n.createWorkerFrom=function(t,e,i){return t.pipe(new a).pipe(new o("uncompressedSize")).pipe(e.compressWorker(i)).pipe(new o("compressedSize")).withStreamInfo("compression",e)},e.exports=n},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,i){"use strict";var n=t("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},i.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,i){"use strict";var n=t("./utils"),r=function(){for(var t,e=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,i,n){var s=r,o=n+i;t^=-1;for(var a=n;a<o;a++)t=t>>>8^s[255&(t^e[a])];return-1^t}(0|e,t,t.length,0):function(t,e,i,n){var s=r,o=n+i;t^=-1;for(var a=n;a<o;a++)t=t>>>8^s[255&(t^e.charCodeAt(a))];return-1^t}(0|e,t,t.length,0):0}},{"./utils":32}],5:[function(t,e,i){"use strict";i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(t,e,i){"use strict";var n;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:58}],7:[function(t,e,i){"use strict";function n(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,s=t("pako"),o=t("./utils"),a=t("./stream/GenericWorker"),l=r?"uint8array":"array";i.magic="\b\0",o.inherits(n,a),n.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(l,t.data),!1)},n.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},n.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},n.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},i.compressWorker=function(t){return new n("Deflate",t)},i.uncompressWorker=function(){return new n("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:59}],8:[function(t,e,i){"use strict";function n(t,e,i,n){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=i,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}var r=t("../utils"),s=t("../stream/GenericWorker"),o=t("../utf8"),a=t("../crc32"),l=t("../signature"),c=function(t,e){var i,n="";for(i=0;i<e;i++)n+=String.fromCharCode(255&t),t>>>=8;return n},h=function(t,e,i,n,s,h){var u,d,f=t.file,p=t.compression,g=h!==o.utf8encode,m=r.transformTo("string",h(f.name)),v=r.transformTo("string",o.utf8encode(f.name)),y=f.comment,b=r.transformTo("string",h(y)),w=r.transformTo("string",o.utf8encode(y)),x=v.length!==f.name.length,_=w.length!==y.length,k="",E="",S="",T=f.dir,C=f.date,O={crc32:0,compressedSize:0,uncompressedSize:0};e&&!i||(O.crc32=t.crc32,O.compressedSize=t.compressedSize,O.uncompressedSize=t.uncompressedSize);var A=0;e&&(A|=8),g||!x&&!_||(A|=2048);var N=0,I=0;T&&(N|=16),"UNIX"===s?(I=798,N|=function(t,e){var i=t;return t||(i=e?16893:33204),(65535&i)<<16}(f.unixPermissions,T)):(I=20,N|=function(t,e){return 63&(t||0)}(f.dosPermissions)),u=C.getUTCHours(),u<<=6,u|=C.getUTCMinutes(),u<<=5,u|=C.getUTCSeconds()/2,d=C.getUTCFullYear()-1980,d<<=4,d|=C.getUTCMonth()+1,d<<=5,d|=C.getUTCDate(),x&&(E=c(1,1)+c(a(m),4)+v,k+="up"+c(E.length,2)+E),_&&(S=c(1,1)+c(a(b),4)+w,k+="uc"+c(S.length,2)+S);var R="";return R+="\n\0",R+=c(A,2),R+=p.magic,R+=c(u,2),R+=c(d,2),R+=c(O.crc32,4),R+=c(O.compressedSize,4),R+=c(O.uncompressedSize,4),R+=c(m.length,2),R+=c(k.length,2),{fileRecord:l.LOCAL_FILE_HEADER+R+m+k,dirRecord:l.CENTRAL_FILE_HEADER+c(I,2)+R+c(b.length,2)+"\0\0\0\0"+c(N,4)+c(n,4)+m+k+b}},u=function(t){return l.DATA_DESCRIPTOR+c(t.crc32,4)+c(t.compressedSize,4)+c(t.uncompressedSize,4)};r.inherits(n,s),n.prototype.push=function(t){var e=t.meta.percent||0,i=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,s.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:i?(e+100*(i-n-1))/i:100}}))},n.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var i=h(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:i.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,i=h(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),e)this.push({data:u(t),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var i=this.bytesWritten-t,n=function(t,e,i,n,s){var o=r.transformTo("string",s(n));return l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(t,2)+c(t,2)+c(e,4)+c(i,4)+c(o.length,2)+o}(this.dirRecords.length,i,t,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},n.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},n.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},n.prototype.error=function(t){var e=this._sources;if(!s.prototype.error.call(this,t))return!1;for(var i=0;i<e.length;i++)try{e[i].error(t)}catch(t){}return!0},n.prototype.lock=function(){s.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=n},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,i){"use strict";var n=t("../compressions"),r=t("./ZipFileWorker"),s=function(t,e){var i=t||e,r=n[i];if(!r)throw new Error(i+" is not a valid compression method !");return r};i.generateWorker=function(t,e,i){var n=new r(e.streamFiles,i,e.platform,e.encodeFileName),o=0;try{t.forEach((function(t,i){o++;var r=s(i.options.compression,e.compression),a=i.options.compressionOptions||e.compressionOptions||{},l=i.dir,c=i.date;i._compressWorker(r,a).withStreamInfo("file",{name:t,dir:l,date:c,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(n)})),n.entriesCount=o}catch(t){n.error(t)}return n}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,i){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var t=new n;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}n.prototype=t("./object"),n.prototype.loadAsync=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.version="3.1.5",n.loadAsync=function(t,e){return(new n).loadAsync(t,e)},n.external=t("./external"),e.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,i){"use strict";function n(t){return new s.Promise((function(e,i){var n=t.decompressed.getContentWorker().pipe(new l);n.on("error",(function(t){i(t)})).on("end",(function(){n.streamInfo.crc32!==t.decompressed.crc32?i(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}var r=t("./utils"),s=t("./external"),o=t("./utf8"),a=(r=t("./utils"),t("./zipEntries")),l=t("./stream/Crc32Probe"),c=t("./nodejsUtils");e.exports=function(t,e){var i=this;return e=r.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),c.isNode&&c.isStream(t)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var i=new a(e);return i.load(t),i})).then((function(t){var i=[s.Promise.resolve(t)],r=t.files;if(e.checkCRC32)for(var o=0;o<r.length;o++)i.push(n(r[o]));return s.Promise.all(i)})).then((function(t){for(var n=t.shift(),r=n.files,s=0;s<r.length;s++){var o=r[s];i.file(o.fileNameStr,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:e.createFolders})}return n.zipComment.length&&(i.comment=n.zipComment),i}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,i){"use strict";function n(t,e){s.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}var r=t("../utils"),s=t("../stream/GenericWorker");r.inherits(n,s),n.prototype._bindStream=function(t){var e=this;this._stream=t,t.pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},n.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,i){"use strict";function n(t,e,i){r.call(this,e),this._helper=t;var n=this;t.on("data",(function(t,e){n.push(t)||n._helper.pause(),i&&i(e)})).on("error",(function(t){n.emit("error",t)})).on("end",(function(){n.push(null)}))}var r=t("readable-stream").Readable;t("../utils").inherits(n,r),n.prototype._read=function(){this._helper.resume()},e.exports=n},{"../utils":32,"readable-stream":16}],14:[function(t,e,i){"use strict";e.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,e){return new Buffer(t,e)},allocBuffer:function(t){return Buffer.alloc?Buffer.alloc(t):new Buffer(t)},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,i){"use strict";function n(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var r=t("./utf8"),s=t("./utils"),o=t("./stream/GenericWorker"),a=t("./stream/StreamHelper"),l=t("./defaults"),c=t("./compressedObject"),h=t("./zipObject"),u=t("./generate"),d=t("./nodejsUtils"),f=t("./nodejs/NodejsStreamInputAdapter"),p=function(t,e,i){var n,r=s.getTypeOf(e),a=s.extend(i||{},l);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(t=m(t)),a.createFolders&&(n=g(t))&&v.call(this,n,!0);var u="string"===r&&!1===a.binary&&!1===a.base64;i&&void 0!==i.binary||(a.binary=!u),(e instanceof c&&0===e.uncompressedSize||a.dir||!e||0===e.length)&&(a.base64=!1,a.binary=!0,e="",a.compression="STORE",r="string");var p;p=e instanceof c||e instanceof o?e:d.isNode&&d.isStream(e)?new f(t,e):s.prepareContent(t,e,a.binary,a.optimizedBinaryString,a.base64);var y=new h(t,p,a);this.files[t]=y},g=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},m=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},v=function(t,e){return e=void 0!==e?e:l.createFolders,t=m(t),this.files[t]||p.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]},y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,i,n;for(e in this.files)this.files.hasOwnProperty(e)&&(n=this.files[e],(i=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(i,n))},filter:function(t){var e=[];return this.forEach((function(i,n){t(i,n)&&e.push(n)})),e},file:function(t,e,i){if(1===arguments.length){if(n(t)){var r=t;return this.filter((function(t,e){return!e.dir&&r.test(t)}))}var s=this.files[this.root+t];return s&&!s.dir?s:null}return t=this.root+t,p.call(this,t,e,i),this},folder:function(t){if(!t)return this;if(n(t))return this.filter((function(e,i){return i.dir&&t.test(e)}));var e=this.root+t,i=v.call(this,e),r=this.clone();return r.root=i.name,r},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var i=this.filter((function(e,i){return i.name.slice(0,t.length)===t})),n=0;n<i.length;n++)delete this.files[i[n].name];return this},generate:function(t){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,i={};try{if((i=s.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=i.type.toLowerCase(),i.compression=i.compression.toUpperCase(),"binarystring"===i.type&&(i.type="string"),!i.type)throw new Error("No output type specified.");s.checkSupport(i.type),"darwin"!==i.platform&&"freebsd"!==i.platform&&"linux"!==i.platform&&"sunos"!==i.platform||(i.platform="UNIX"),"win32"===i.platform&&(i.platform="DOS");var n=i.comment||this.comment||"";e=u.generateWorker(this,i,n)}catch(t){(e=new o("error")).error(t)}return new a(e,i.type||"string",i.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,i){e.exports=t("stream")},{stream:void 0}],17:[function(t,e,i){"use strict";function n(t){r.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}var r=t("./DataReader");t("../utils").inherits(n,r),n.prototype.byteAt=function(t){return this.data[this.zero+t]},n.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),i=t.charCodeAt(1),n=t.charCodeAt(2),r=t.charCodeAt(3),s=this.length-4;s>=0;--s)if(this.data[s]===e&&this.data[s+1]===i&&this.data[s+2]===n&&this.data[s+3]===r)return s-this.zero;return-1},n.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),i=t.charCodeAt(1),n=t.charCodeAt(2),r=t.charCodeAt(3),s=this.readData(4);return e===s[0]&&i===s[1]&&n===s[2]&&r===s[3]},n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./DataReader":18}],18:[function(t,e,i){"use strict";function n(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}var r=t("../utils");n.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e,i=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)i=(i<<8)+this.byteAt(e);return this.index+=t,i},readString:function(t){return r.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=n},{"../utils":32}],19:[function(t,e,i){"use strict";function n(t){r.call(this,t)}var r=t("./Uint8ArrayReader");t("../utils").inherits(n,r),n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,i){"use strict";function n(t){r.call(this,t)}var r=t("./DataReader");t("../utils").inherits(n,r),n.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},n.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./DataReader":18}],21:[function(t,e,i){"use strict";function n(t){r.call(this,t)}var r=t("./ArrayReader");t("../utils").inherits(n,r),n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,i){"use strict";var n=t("../utils"),r=t("../support"),s=t("./ArrayReader"),o=t("./StringReader"),a=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||r.uint8array?"nodebuffer"===e?new a(t):r.uint8array?new l(n.transformTo("uint8array",t)):new s(n.transformTo("array",t)):new o(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,i){"use strict";i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,i){"use strict";function n(t){r.call(this,"ConvertWorker to "+t),this.destType=t}var r=t("./GenericWorker"),s=t("../utils");s.inherits(n,r),n.prototype.processChunk=function(t){this.push({data:s.transformTo(this.destType,t.data),meta:t.meta})},e.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,i){"use strict";function n(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}var r=t("./GenericWorker"),s=t("../crc32");t("../utils").inherits(n,r),n.prototype.processChunk=function(t){this.streamInfo.crc32=s(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,i){"use strict";function n(t){s.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}var r=t("../utils"),s=t("./GenericWorker");r.inherits(n,s),n.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}s.prototype.processChunk.call(this,t)},e.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,i){"use strict";function n(t){s.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=r.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}var r=t("../utils"),s=t("./GenericWorker");r.inherits(n,s),n.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,i){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var i=0;i<this._listeners[t].length;i++)this._listeners[t][i].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var t=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=n},{}],29:[function(t,e,i){"use strict";function n(t,e,i){switch(t){case"blob":return o.newBlob(o.transformTo("arraybuffer",e),i);case"base64":return c.encode(e);default:return o.transformTo(t,e)}}function r(t,e){return new u.Promise((function(i,r){var s=[],o=t._internalType,a=t._outputType,l=t._mimeType;t.on("data",(function(t,i){s.push(t),e&&e(i)})).on("error",(function(t){s=[],r(t)})).on("end",(function(){try{var t=n(a,function(t,e){var i,n=0,r=null,s=0;for(i=0;i<e.length;i++)s+=e[i].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(r=new Uint8Array(s),i=0;i<e.length;i++)r.set(e[i],n),n+=e[i].length;return r;case"nodebuffer":return Buffer.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(o,s),l);i(t)}catch(t){r(t)}s=[]})).resume()}))}function s(t,e,i){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=i,o.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new l("error"),this._worker.error(t)}}var o=t("../utils"),a=t("./ConvertWorker"),l=t("./GenericWorker"),c=t("../base64"),h=t("../support"),u=t("../external"),d=null;if(h.nodestream)try{d=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}s.prototype={accumulate:function(t){return r(this,t)},on:function(t,e){var i=this;return"data"===t?this._worker.on(t,(function(t){e.call(i,t.data,t.meta)})):this._worker.on(t,(function(){o.delay(e,arguments,i)})),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(o.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new d(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=s},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,i){"use strict";if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,i.nodebuffer="undefined"!=typeof Buffer,i.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)i.blob=!1;else{var n=new ArrayBuffer(0);try{i.blob=0===new Blob([n],{type:"application/zip"}).size}catch(t){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);r.append(n),i.blob=0===r.getBlob("application/zip").size}catch(t){i.blob=!1}}}try{i.nodestream=!!t("readable-stream").Readable}catch(t){i.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,i){"use strict";function n(){l.call(this,"utf-8 decode"),this.leftOver=null}function r(){l.call(this,"utf-8 encode")}for(var s=t("./utils"),o=t("./support"),a=t("./nodejsUtils"),l=t("./stream/GenericWorker"),c=new Array(256),h=0;h<256;h++)c[h]=h>=252?6:h>=248?5:h>=240?4:h>=224?3:h>=192?2:1;c[254]=c[254]=1;i.utf8encode=function(t){return o.nodebuffer?a.newBufferFrom(t,"utf-8"):function(t){var e,i,n,r,s,a=t.length,l=0;for(r=0;r<a;r++)55296==(64512&(i=t.charCodeAt(r)))&&r+1<a&&(56320==(64512&(n=t.charCodeAt(r+1)))&&(i=65536+(i-55296<<10)+(n-56320),r++)),l+=i<128?1:i<2048?2:i<65536?3:4;for(e=o.uint8array?new Uint8Array(l):new Array(l),s=0,r=0;s<l;r++)55296==(64512&(i=t.charCodeAt(r)))&&r+1<a&&(56320==(64512&(n=t.charCodeAt(r+1)))&&(i=65536+(i-55296<<10)+(n-56320),r++)),i<128?e[s++]=i:i<2048?(e[s++]=192|i>>>6,e[s++]=128|63&i):i<65536?(e[s++]=224|i>>>12,e[s++]=128|i>>>6&63,e[s++]=128|63&i):(e[s++]=240|i>>>18,e[s++]=128|i>>>12&63,e[s++]=128|i>>>6&63,e[s++]=128|63&i);return e}(t)},i.utf8decode=function(t){return o.nodebuffer?s.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,i,n,r,o=t.length,a=new Array(2*o);for(i=0,e=0;e<o;)if((n=t[e++])<128)a[i++]=n;else if((r=c[n])>4)a[i++]=65533,e+=r-1;else{for(n&=2===r?31:3===r?15:7;r>1&&e<o;)n=n<<6|63&t[e++],r--;r>1?a[i++]=65533:n<65536?a[i++]=n:(n-=65536,a[i++]=55296|n>>10&1023,a[i++]=56320|1023&n)}return a.length!==i&&(a.subarray?a=a.subarray(0,i):a.length=i),s.applyFromCharCode(a)}(t=s.transformTo(o.uint8array?"uint8array":"array",t))},s.inherits(n,l),n.prototype.processChunk=function(t){var e=s.transformTo(o.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var n=e;(e=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),e.set(n,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var r=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;i>=0&&128==(192&t[i]);)i--;return i<0||0===i?e:i+c[t[i]]>e?i:e}(e),a=e;r!==e.length&&(o.uint8array?(a=e.subarray(0,r),this.leftOver=e.subarray(r,e.length)):(a=e.slice(0,r),this.leftOver=e.slice(r,e.length))),this.push({data:i.utf8decode(a),meta:t.meta})},n.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=n,s.inherits(r,l),r.prototype.processChunk=function(t){this.push({data:i.utf8encode(t.data),meta:t.meta})},i.Utf8EncodeWorker=r},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,i){"use strict";function n(t){return s(t,l.uint8array?new Uint8Array(t.length):new Array(t.length))}function r(t){return t}function s(t,e){for(var i=0;i<t.length;++i)e[i]=255&t.charCodeAt(i);return e}function o(t){var e=65536,n=i.getTypeOf(t),r=!0;if("uint8array"===n?r=f.applyCanBeUsed.uint8array:"nodebuffer"===n&&(r=f.applyCanBeUsed.nodebuffer),r)for(;e>1;)try{return f.stringifyByChunk(t,n,e)}catch(t){e=Math.floor(e/2)}return f.stringifyByChar(t)}function a(t,e){for(var i=0;i<t.length;i++)e[i]=t[i];return e}var l=t("./support"),c=t("./base64"),h=t("./nodejsUtils"),u=t("core-js/library/fn/set-immediate"),d=t("./external");i.newBlob=function(t,e){i.checkSupport("blob");try{return new Blob([t],{type:e})}catch(i){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(e)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(t,e,i){var n=[],r=0,s=t.length;if(s<=i)return String.fromCharCode.apply(null,t);for(;r<s;)"array"===e||"nodebuffer"===e?n.push(String.fromCharCode.apply(null,t.slice(r,Math.min(r+i,s)))):n.push(String.fromCharCode.apply(null,t.subarray(r,Math.min(r+i,s)))),r+=i;return n.join("")},stringifyByChar:function(t){for(var e="",i=0;i<t.length;i++)e+=String.fromCharCode(t[i]);return e},applyCanBeUsed:{uint8array:function(){try{return l.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return l.nodebuffer&&1===String.fromCharCode.apply(null,h.allocBuffer(1)).length}catch(t){return!1}}()}};i.applyFromCharCode=o;var p={};p.string={string:r,array:function(t){return s(t,new Array(t.length))},arraybuffer:function(t){return p.string.uint8array(t).buffer},uint8array:function(t){return s(t,new Uint8Array(t.length))},nodebuffer:function(t){return s(t,h.allocBuffer(t.length))}},p.array={string:o,array:r,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return h.newBufferFrom(t)}},p.arraybuffer={string:function(t){return o(new Uint8Array(t))},array:function(t){return a(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:r,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return h.newBufferFrom(new Uint8Array(t))}},p.uint8array={string:o,array:function(t){return a(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:r,nodebuffer:function(t){return h.newBufferFrom(t)}},p.nodebuffer={string:o,array:function(t){return a(t,new Array(t.length))},arraybuffer:function(t){return p.nodebuffer.uint8array(t).buffer},uint8array:function(t){return a(t,new Uint8Array(t.length))},nodebuffer:r},i.transformTo=function(t,e){if(e||(e=""),!t)return e;i.checkSupport(t);var n=i.getTypeOf(e);return p[n][t](e)},i.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":l.nodebuffer&&h.isBuffer(t)?"nodebuffer":l.uint8array&&t instanceof Uint8Array?"uint8array":l.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(t){if(!l[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(t){var e,i,n="";for(i=0;i<(t||"").length;i++)n+="\\x"+((e=t.charCodeAt(i))<16?"0":"")+e.toString(16).toUpperCase();return n},i.delay=function(t,e,i){u((function(){t.apply(i||null,e||[])}))},i.inherits=function(t,e){var i=function(){};i.prototype=e.prototype,t.prototype=new i},i.extend=function(){var t,e,i={};for(t=0;t<arguments.length;t++)for(e in arguments[t])arguments[t].hasOwnProperty(e)&&void 0===i[e]&&(i[e]=arguments[t][e]);return i},i.prepareContent=function(t,e,r,s,o){return d.Promise.resolve(e).then((function(t){return l.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new d.Promise((function(e,i){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.onerror=function(t){i(t.target.error)},n.readAsArrayBuffer(t)})):t})).then((function(e){var a=i.getTypeOf(e);return a?("arraybuffer"===a?e=i.transformTo("uint8array",e):"string"===a&&(o?e=c.decode(e):r&&!0!==s&&(e=n(e))),e):d.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"core-js/library/fn/set-immediate":36}],33:[function(t,e,i){"use strict";function n(t){this.files=[],this.loadOptions=t}var r=t("./reader/readerFor"),s=t("./utils"),o=t("./signature"),a=t("./zipEntry"),l=(t("./utf8"),t("./support"));n.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(e)+", expected "+s.pretty(t)+")")}},isSignature:function(t,e){var i=this.reader.index;this.reader.setIndex(t);var n=this.reader.readString(4)===e;return this.reader.setIndex(i),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=l.uint8array?"uint8array":"array",i=s.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(i)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,i,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),e=this.reader.readInt(4),i=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(t<0)throw!this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory");this.reader.setIndex(t);var e=t;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var n=e-i;if(n>0)this.isSignature(e,o.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(t){this.reader=r(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=n},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(t,e,i){"use strict";function n(t,e){this.options=t,this.loadOptions=e}var r=t("./reader/readerFor"),s=t("./utils"),o=t("./compressedObject"),a=t("./crc32"),l=t("./utf8"),c=t("./compressions"),h=t("./support");n.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,i;if(t.skip(22),this.fileNameLength=t.readInt(2),i=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(i),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in c)if(c.hasOwnProperty(e)&&c[e].magic===t)return c[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===t&&(this.dosPermissions=63&this.externalFileAttributes),3===t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,i,n,r=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index<r;)e=t.readInt(2),i=t.readInt(2),n=t.readData(i),this.extraFields[e]={id:e,length:i,value:n}},handleUTF8:function(){var t=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var i=s.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(i)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var r=s.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(r)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:l.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:l.utf8decode(e.readData(t.length-5))}return null}},e.exports=n},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,i){"use strict";var n=t("./stream/StreamHelper"),r=t("./stream/DataWorker"),s=t("./utf8"),o=t("./compressedObject"),a=t("./stream/GenericWorker"),l=function(t,e,i){this.name=t,this.dir=i.dir,this.date=i.date,this.comment=i.comment,this.unixPermissions=i.unixPermissions,this.dosPermissions=i.dosPermissions,this._data=e,this._dataBinary=i.binary,this.options={compression:i.compression,compressionOptions:i.compressionOptions}};l.prototype={internalStream:function(t){var e=null,i="string";try{if(!t)throw new Error("No output type specified.");var r="string"===(i=t.toLowerCase())||"text"===i;"binarystring"!==i&&"text"!==i||(i="string"),e=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(e=e.pipe(new s.Utf8EncodeWorker)),!o&&r&&(e=e.pipe(new s.Utf8DecodeWorker))}catch(t){(e=new a("error")).error(t)}return new n(e,i,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof o&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var i=this._decompressWorker();return this._dataBinary||(i=i.pipe(new s.Utf8EncodeWorker)),o.createWorkerFrom(i,t,e)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof a?this._data:new r(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],h=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},u=0;u<c.length;u++)l.prototype[c[u]]=h;e.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,i){t("../modules/web.immediate"),e.exports=t("../modules/_core").setImmediate},{"../modules/_core":40,"../modules/web.immediate":56}],37:[function(t,e,i){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],38:[function(t,e,i){var n=t("./_is-object");e.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":51}],39:[function(t,e,i){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],40:[function(t,e,i){var n=e.exports={version:"2.3.0"};"number"==typeof __e&&(__e=n)},{}],41:[function(t,e,i){var n=t("./_a-function");e.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":37}],42:[function(t,e,i){e.exports=!t("./_fails")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},{"./_fails":45}],43:[function(t,e,i){var n=t("./_is-object"),r=t("./_global").document,s=n(r)&&n(r.createElement);e.exports=function(t){return s?r.createElement(t):{}}},{"./_global":46,"./_is-object":51}],44:[function(t,e,i){var n=t("./_global"),r=t("./_core"),s=t("./_ctx"),o=t("./_hide"),a="prototype",l=function(t,e,i){var c,h,u,d=t&l.F,f=t&l.G,p=t&l.S,g=t&l.P,m=t&l.B,v=t&l.W,y=f?r:r[e]||(r[e]={}),b=y[a],w=f?n:p?n[e]:(n[e]||{})[a];for(c in f&&(i=e),i)(h=!d&&w&&void 0!==w[c])&&c in y||(u=h?w[c]:i[c],y[c]=f&&"function"!=typeof w[c]?i[c]:m&&h?s(u,n):v&&w[c]==u?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e[a]=t[a],e}(u):g&&"function"==typeof u?s(Function.call,u):u,g&&((y.virtual||(y.virtual={}))[c]=u,t&l.R&&b&&!b[c]&&o(b,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},{"./_core":40,"./_ctx":41,"./_global":46,"./_hide":47}],45:[function(t,e,i){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],46:[function(t,e,i){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],47:[function(t,e,i){var n=t("./_object-dp"),r=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},{"./_descriptors":42,"./_object-dp":52,"./_property-desc":53}],48:[function(t,e,i){e.exports=t("./_global").document&&document.documentElement},{"./_global":46}],49:[function(t,e,i){e.exports=!t("./_descriptors")&&!t("./_fails")((function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a}))},{"./_descriptors":42,"./_dom-create":43,"./_fails":45}],50:[function(t,e,i){e.exports=function(t,e,i){var n=void 0===i;switch(e.length){case 0:return n?t():t.call(i);case 1:return n?t(e[0]):t.call(i,e[0]);case 2:return n?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},{}],51:[function(t,e,i){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],52:[function(t,e,i){var n=t("./_an-object"),r=t("./_ie8-dom-define"),s=t("./_to-primitive"),o=Object.defineProperty;i.f=t("./_descriptors")?Object.defineProperty:function(t,e,i){if(n(t),e=s(e,!0),n(i),r)try{return o(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},{"./_an-object":38,"./_descriptors":42,"./_ie8-dom-define":49,"./_to-primitive":55}],53:[function(t,e,i){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],54:[function(t,e,i){var n,r,s,o=t("./_ctx"),a=t("./_invoke"),l=t("./_html"),c=t("./_dom-create"),h=t("./_global"),u=h.process,d=h.setImmediate,f=h.clearImmediate,p=h.MessageChannel,g=0,m={},v="onreadystatechange",y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},b=function(t){y.call(t.data)};d&&f||(d=function(t){for(var e=[],i=1;arguments.length>i;)e.push(arguments[i++]);return m[++g]=function(){a("function"==typeof t?t:Function(t),e)},n(g),g},f=function(t){delete m[t]},"process"==t("./_cof")(u)?n=function(t){u.nextTick(o(y,t,1))}:p?(s=(r=new p).port2,r.port1.onmessage=b,n=o(s.postMessage,s,1)):h.addEventListener&&"function"==typeof postMessage&&!h.importScripts?(n=function(t){h.postMessage(t+"","*")},h.addEventListener("message",b,!1)):n=v in c("script")?function(t){l.appendChild(c("script"))[v]=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(o(y,t,1),0)}),e.exports={set:d,clear:f}},{"./_cof":39,"./_ctx":41,"./_dom-create":43,"./_global":46,"./_html":48,"./_invoke":50}],55:[function(t,e,i){var n=t("./_is-object");e.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":51}],56:[function(t,e,i){var n=t("./_export"),r=t("./_task");n(n.G+n.B,{setImmediate:r.set,clearImmediate:r.clear})},{"./_export":44,"./_task":54}],57:[function(t,e,i){(function(t){"use strict";function i(){c=!0;for(var t,e,i=h.length;i;){for(e=h,h=[],t=-1;++t<i;)e[t]();i=h.length}c=!1}var n,r=t.MutationObserver||t.WebKitMutationObserver;if(r){var s=0,o=new r(i),a=t.document.createTextNode("");o.observe(a,{characterData:!0}),n=function(){a.data=s=++s%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){i(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(i,0)};else{var l=new t.MessageChannel;l.port1.onmessage=i,n=function(){l.port2.postMessage(0)}}var c,h=[];e.exports=function(t){1!==h.push(t)||c||n()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],58:[function(t,e,i){"use strict";function n(){}function r(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=p,this.queue=[],this.outcome=void 0,t!==n&&l(this,t)}function s(t,e,i){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function o(t,e,i){h((function(){var n;try{n=e(i)}catch(e){return u.reject(t,e)}n===t?u.reject(t,new TypeError("Cannot resolve promise with itself")):u.resolve(t,n)}))}function a(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function l(t,e){function i(e){r||(r=!0,u.reject(t,e))}function n(e){r||(r=!0,u.resolve(t,e))}var r=!1,s=c((function(){e(n,i)}));"error"===s.status&&i(s.value)}function c(t,e){var i={};try{i.value=t(e),i.status="success"}catch(t){i.status="error",i.value=t}return i}var h=t("immediate"),u={},d=["REJECTED"],f=["FULFILLED"],p=["PENDING"];e.exports=r,r.prototype.catch=function(t){return this.then(null,t)},r.prototype.then=function(t,e){if("function"!=typeof t&&this.state===f||"function"!=typeof e&&this.state===d)return this;var i=new this.constructor(n);this.state!==p?o(i,this.state===f?t:e,this.outcome):this.queue.push(new s(i,t,e));return i},s.prototype.callFulfilled=function(t){u.resolve(this.promise,t)},s.prototype.otherCallFulfilled=function(t){o(this.promise,this.onFulfilled,t)},s.prototype.callRejected=function(t){u.reject(this.promise,t)},s.prototype.otherCallRejected=function(t){o(this.promise,this.onRejected,t)},u.resolve=function(t,e){var i=c(a,e);if("error"===i.status)return u.reject(t,i.value);var n=i.value;if(n)l(t,n);else{t.state=f,t.outcome=e;for(var r=-1,s=t.queue.length;++r<s;)t.queue[r].callFulfilled(e)}return t},u.reject=function(t,e){t.state=d,t.outcome=e;for(var i=-1,n=t.queue.length;++i<n;)t.queue[i].callRejected(e);return t},r.resolve=function(t){return t instanceof this?t:u.resolve(new this(n),t)},r.reject=function(t){var e=new this(n);return u.reject(e,t)},r.all=function(t){function e(t,e){i.resolve(t).then((function(t){o[e]=t,++a!==r||s||(s=!0,u.resolve(c,o))}),(function(t){s||(s=!0,u.reject(c,t))}))}var i=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,s=!1;if(!r)return this.resolve([]);for(var o=new Array(r),a=0,l=-1,c=new this(n);++l<r;)e(t[l],l);return c},r.race=function(t){function e(t){i.resolve(t).then((function(t){s||(s=!0,u.resolve(a,t))}),(function(t){s||(s=!0,u.reject(a,t))}))}var i=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,s=!1;if(!r)return this.resolve([]);for(var o=-1,a=new this(n);++o<r;)e(t[o]);return a}},{immediate:57}],59:[function(t,e,i){"use strict";var n={};(0,t("./lib/utils/common").assign)(n,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=n},{"./lib/deflate":60,"./lib/inflate":61,"./lib/utils/common":62,"./lib/zlib/constants":65}],60:[function(t,e,i){"use strict";function n(t){if(!(this instanceof n))return new n(t);this.options=o.assign({level:d,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var i=s.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(i!==u)throw new Error(l[i]);if(e.header&&s.deflateSetHeader(this.strm,e.header),e.dictionary){var r;if(r="string"==typeof e.dictionary?a.string2buf(e.dictionary):"[object ArrayBuffer]"===h.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(i=s.deflateSetDictionary(this.strm,r))!==u)throw new Error(l[i]);this._dict_set=!0}}function r(t,e){var i=new n(e);if(i.push(t,!0),i.err)throw i.msg||l[i.err];return i.result}var s=t("./zlib/deflate"),o=t("./utils/common"),a=t("./utils/strings"),l=t("./zlib/messages"),c=t("./zlib/zstream"),h=Object.prototype.toString,u=0,d=-1,f=0,p=8;n.prototype.push=function(t,e){var i,n,r=this.strm,l=this.options.chunkSize;if(this.ended)return!1;n=e===~~e?e:!0===e?4:0,"string"==typeof t?r.input=a.string2buf(t):"[object ArrayBuffer]"===h.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new o.Buf8(l),r.next_out=0,r.avail_out=l),1!==(i=s.deflate(r,n))&&i!==u)return this.onEnd(i),this.ended=!0,!1;0!==r.avail_out&&(0!==r.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(a.buf2binstring(o.shrinkBuf(r.output,r.next_out))):this.onData(o.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||0===r.avail_out)&&1!==i);return 4===n?(i=s.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===u):2!==n||(this.onEnd(u),r.avail_out=0,!0)},n.prototype.onData=function(t){this.chunks.push(t)},n.prototype.onEnd=function(t){t===u&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Deflate=n,i.deflate=r,i.deflateRaw=function(t,e){return(e=e||{}).raw=!0,r(t,e)},i.gzip=function(t,e){return(e=e||{}).gzip=!0,r(t,e)}},{"./utils/common":62,"./utils/strings":63,"./zlib/deflate":67,"./zlib/messages":72,"./zlib/zstream":74}],61:[function(t,e,i){"use strict";function n(t){if(!(this instanceof n))return new n(t);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var i=s.inflateInit2(this.strm,e.windowBits);if(i!==l.Z_OK)throw new Error(c[i]);this.header=new u,s.inflateGetHeader(this.strm,this.header)}function r(t,e){var i=new n(e);if(i.push(t,!0),i.err)throw i.msg||c[i.err];return i.result}var s=t("./zlib/inflate"),o=t("./utils/common"),a=t("./utils/strings"),l=t("./zlib/constants"),c=t("./zlib/messages"),h=t("./zlib/zstream"),u=t("./zlib/gzheader"),d=Object.prototype.toString;n.prototype.push=function(t,e){var i,n,r,c,h,u,f=this.strm,p=this.options.chunkSize,g=this.options.dictionary,m=!1;if(this.ended)return!1;n=e===~~e?e:!0===e?l.Z_FINISH:l.Z_NO_FLUSH,"string"==typeof t?f.input=a.binstring2buf(t):"[object ArrayBuffer]"===d.call(t)?f.input=new Uint8Array(t):f.input=t,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new o.Buf8(p),f.next_out=0,f.avail_out=p),(i=s.inflate(f,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&g&&(u="string"==typeof g?a.string2buf(g):"[object ArrayBuffer]"===d.call(g)?new Uint8Array(g):g,i=s.inflateSetDictionary(this.strm,u)),i===l.Z_BUF_ERROR&&!0===m&&(i=l.Z_OK,m=!1),i!==l.Z_STREAM_END&&i!==l.Z_OK)return this.onEnd(i),this.ended=!0,!1;f.next_out&&(0!==f.avail_out&&i!==l.Z_STREAM_END&&(0!==f.avail_in||n!==l.Z_FINISH&&n!==l.Z_SYNC_FLUSH)||("string"===this.options.to?(r=a.utf8border(f.output,f.next_out),c=f.next_out-r,h=a.buf2string(f.output,r),f.next_out=c,f.avail_out=p-c,c&&o.arraySet(f.output,f.output,r,c,0),this.onData(h)):this.onData(o.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(m=!0)}while((f.avail_in>0||0===f.avail_out)&&i!==l.Z_STREAM_END);return i===l.Z_STREAM_END&&(n=l.Z_FINISH),n===l.Z_FINISH?(i=s.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===l.Z_OK):n!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),f.avail_out=0,!0)},n.prototype.onData=function(t){this.chunks.push(t)},n.prototype.onEnd=function(t){t===l.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Inflate=n,i.inflate=r,i.inflateRaw=function(t,e){return(e=e||{}).raw=!0,r(t,e)},i.ungzip=r},{"./utils/common":62,"./utils/strings":63,"./zlib/constants":65,"./zlib/gzheader":68,"./zlib/inflate":70,"./zlib/messages":72,"./zlib/zstream":74}],62:[function(t,e,i){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var i=e.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])}}return t},i.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var r={arraySet:function(t,e,i,n,r){if(e.subarray&&t.subarray)t.set(e.subarray(i,i+n),r);else for(var s=0;s<n;s++)t[r+s]=e[i+s]},flattenChunks:function(t){var e,i,n,r,s,o;for(n=0,e=0,i=t.length;e<i;e++)n+=t[e].length;for(o=new Uint8Array(n),r=0,e=0,i=t.length;e<i;e++)s=t[e],o.set(s,r),r+=s.length;return o}},s={arraySet:function(t,e,i,n,r){for(var s=0;s<n;s++)t[r+s]=e[i+s]},flattenChunks:function(t){return[].concat.apply([],t)}};i.setTyped=function(t){t?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,r)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,s))},i.setTyped(n)},{}],63:[function(t,e,i){"use strict";function n(t,e){if(e<65537&&(t.subarray&&o||!t.subarray&&s))return String.fromCharCode.apply(null,r.shrinkBuf(t,e));for(var i="",n=0;n<e;n++)i+=String.fromCharCode(t[n]);return i}var r=t("./common"),s=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new r.Buf8(256),l=0;l<256;l++)a[l]=l>=252?6:l>=248?5:l>=240?4:l>=224?3:l>=192?2:1;a[254]=a[254]=1,i.string2buf=function(t){var e,i,n,s,o,a=t.length,l=0;for(s=0;s<a;s++)55296==(64512&(i=t.charCodeAt(s)))&&s+1<a&&(56320==(64512&(n=t.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(n-56320),s++)),l+=i<128?1:i<2048?2:i<65536?3:4;for(e=new r.Buf8(l),o=0,s=0;o<l;s++)55296==(64512&(i=t.charCodeAt(s)))&&s+1<a&&(56320==(64512&(n=t.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(n-56320),s++)),i<128?e[o++]=i:i<2048?(e[o++]=192|i>>>6,e[o++]=128|63&i):i<65536?(e[o++]=224|i>>>12,e[o++]=128|i>>>6&63,e[o++]=128|63&i):(e[o++]=240|i>>>18,e[o++]=128|i>>>12&63,e[o++]=128|i>>>6&63,e[o++]=128|63&i);return e},i.buf2binstring=function(t){return n(t,t.length)},i.binstring2buf=function(t){for(var e=new r.Buf8(t.length),i=0,n=e.length;i<n;i++)e[i]=t.charCodeAt(i);return e},i.buf2string=function(t,e){var i,r,s,o,l=e||t.length,c=new Array(2*l);for(r=0,i=0;i<l;)if((s=t[i++])<128)c[r++]=s;else if((o=a[s])>4)c[r++]=65533,i+=o-1;else{for(s&=2===o?31:3===o?15:7;o>1&&i<l;)s=s<<6|63&t[i++],o--;o>1?c[r++]=65533:s<65536?c[r++]=s:(s-=65536,c[r++]=55296|s>>10&1023,c[r++]=56320|1023&s)}return n(c,r)},i.utf8border=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;i>=0&&128==(192&t[i]);)i--;return i<0||0===i?e:i+a[t[i]]>e?i:e}},{"./common":62}],64:[function(t,e,i){"use strict";e.exports=function(t,e,i,n){for(var r=65535&t|0,s=t>>>16&65535|0,o=0;0!==i;){i-=o=i>2e3?2e3:i;do{s=s+(r=r+e[n++]|0)|0}while(--o);r%=65521,s%=65521}return r|s<<16|0}},{}],65:[function(t,e,i){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],66:[function(t,e,i){"use strict";var n=function(){for(var t,e=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e}();e.exports=function(t,e,i,r){var s=n,o=r+i;t^=-1;for(var a=r;a<o;a++)t=t>>>8^s[255&(t^e[a])];return-1^t}},{}],67:[function(t,e,i){"use strict";function n(t,e){return t.msg=C[e],e}function r(t){return(t<<1)-(t>4?9:0)}function s(t){for(var e=t.length;--e>=0;)t[e]=0}function o(t){var e=t.state,i=e.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&(k.arraySet(t.output,e.pending_buf,e.pending_out,i,t.next_out),t.next_out+=i,e.pending_out+=i,t.total_out+=i,t.avail_out-=i,e.pending-=i,0===e.pending&&(e.pending_out=0))}function a(t,e){E._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,o(t.strm)}function l(t,e){t.pending_buf[t.pending++]=e}function c(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function h(t,e,i,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,k.arraySet(e,t.input,t.next_in,r,i),1===t.state.wrap?t.adler=S(t.adler,e,r,i):2===t.state.wrap&&(t.adler=T(t.adler,e,r,i)),t.next_in+=r,t.total_in+=r,r)}function u(t,e){var i,n,r=t.max_chain_length,s=t.strstart,o=t.prev_length,a=t.nice_match,l=t.strstart>t.w_size-it?t.strstart-(t.w_size-it):0,c=t.window,h=t.w_mask,u=t.prev,d=t.strstart+et,f=c[s+o-1],p=c[s+o];t.prev_length>=t.good_match&&(r>>=2),a>t.lookahead&&(a=t.lookahead);do{if(c[(i=e)+o]===p&&c[i+o-1]===f&&c[i]===c[s]&&c[++i]===c[s+1]){s+=2,i++;do{}while(c[++s]===c[++i]&&c[++s]===c[++i]&&c[++s]===c[++i]&&c[++s]===c[++i]&&c[++s]===c[++i]&&c[++s]===c[++i]&&c[++s]===c[++i]&&c[++s]===c[++i]&&s<d);if(n=et-(d-s),s=d-et,n>o){if(t.match_start=e,o=n,n>=a)break;f=c[s+o-1],p=c[s+o]}}}while((e=u[e&h])>l&&0!=--r);return o<=t.lookahead?o:t.lookahead}function d(t){var e,i,n,r,s,o=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=o+(o-it)){k.arraySet(t.window,t.window,o,o,0),t.match_start-=o,t.strstart-=o,t.block_start-=o,e=i=t.hash_size;do{n=t.head[--e],t.head[e]=n>=o?n-o:0}while(--i);e=i=o;do{n=t.prev[--e],t.prev[e]=n>=o?n-o:0}while(--i);r+=o}if(0===t.strm.avail_in)break;if(i=h(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=i,t.lookahead+t.insert>=tt)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+tt-1])&t.hash_mask,t.prev[s&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=s,s++,t.insert--,!(t.lookahead+t.insert<tt)););}while(t.lookahead<it&&0!==t.strm.avail_in)}function f(t,e){for(var i,n;;){if(t.lookahead<it){if(d(t),t.lookahead<it&&e===O)return ut;if(0===t.lookahead)break}if(i=0,t.lookahead>=tt&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+tt-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==i&&t.strstart-i<=t.w_size-it&&(t.match_length=u(t,i)),t.match_length>=tt)if(n=E._tr_tally(t,t.strstart-t.match_start,t.match_length-tt),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=tt){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+tt-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=E._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(a(t,!1),0===t.strm.avail_out))return ut}return t.insert=t.strstart<tt-1?t.strstart:tt-1,e===I?(a(t,!0),0===t.strm.avail_out?ft:pt):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?ut:dt}function p(t,e){for(var i,n,r;;){if(t.lookahead<it){if(d(t),t.lookahead<it&&e===O)return ut;if(0===t.lookahead)break}if(i=0,t.lookahead>=tt&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+tt-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=tt-1,0!==i&&t.prev_length<t.max_lazy_match&&t.strstart-i<=t.w_size-it&&(t.match_length=u(t,i),t.match_length<=5&&(t.strategy===M||t.match_length===tt&&t.strstart-t.match_start>4096)&&(t.match_length=tt-1)),t.prev_length>=tt&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-tt,n=E._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-tt),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+tt-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=tt-1,t.strstart++,n&&(a(t,!1),0===t.strm.avail_out))return ut}else if(t.match_available){if((n=E._tr_tally(t,0,t.window[t.strstart-1]))&&a(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return ut}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=E._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<tt-1?t.strstart:tt-1,e===I?(a(t,!0),0===t.strm.avail_out?ft:pt):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?ut:dt}function g(t,e){for(var i,n,r,s,o=t.window;;){if(t.lookahead<=et){if(d(t),t.lookahead<=et&&e===O)return ut;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=tt&&t.strstart>0&&((n=o[r=t.strstart-1])===o[++r]&&n===o[++r]&&n===o[++r])){s=t.strstart+et;do{}while(n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&r<s);t.match_length=et-(s-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=tt?(i=E._tr_tally(t,1,t.match_length-tt),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=E._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(a(t,!1),0===t.strm.avail_out))return ut}return t.insert=0,e===I?(a(t,!0),0===t.strm.avail_out?ft:pt):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?ut:dt}function m(t,e){for(var i;;){if(0===t.lookahead&&(d(t),0===t.lookahead)){if(e===O)return ut;break}if(t.match_length=0,i=E._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(a(t,!1),0===t.strm.avail_out))return ut}return t.insert=0,e===I?(a(t,!0),0===t.strm.avail_out?ft:pt):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?ut:dt}function v(t,e,i,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=i,this.max_chain=n,this.func=r}function y(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=H,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new k.Buf16(2*Q),this.dyn_dtree=new k.Buf16(2*(2*G+1)),this.bl_tree=new k.Buf16(2*(2*K+1)),s(this.dyn_ltree),s(this.dyn_dtree),s(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new k.Buf16(J+1),this.heap=new k.Buf16(2*Z+1),s(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new k.Buf16(2*Z+1),s(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function b(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=$,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?rt:ct,t.adler=2===e.wrap?0:1,e.last_flush=O,E._tr_init(e),j):n(t,z)}function w(t){var e=b(t);return e===j&&function(t){t.window_size=2*t.w_size,s(t.head),t.max_lazy_match=_[t.level].max_lazy,t.good_match=_[t.level].good_length,t.nice_match=_[t.level].nice_length,t.max_chain_length=_[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=tt-1,t.match_available=0,t.ins_h=0}(t.state),e}function x(t,e,i,r,s,o){if(!t)return z;var a=1;if(e===B&&(e=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),s<1||s>X||i!==H||r<8||r>15||e<0||e>9||o<0||o>U)return n(t,z);8===r&&(r=9);var l=new y;return t.state=l,l.strm=t,l.wrap=a,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=s+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+tt-1)/tt),l.window=new k.Buf8(2*l.w_size),l.head=new k.Buf16(l.hash_size),l.prev=new k.Buf16(l.w_size),l.lit_bufsize=1<<s+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new k.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=o,l.method=i,w(t)}var _,k=t("../utils/common"),E=t("./trees"),S=t("./adler32"),T=t("./crc32"),C=t("./messages"),O=0,A=1,N=3,I=4,R=5,j=0,L=1,z=-2,D=-3,P=-5,B=-1,M=1,F=2,q=3,U=4,W=0,$=2,H=8,X=9,Y=15,V=8,Z=286,G=30,K=19,Q=2*Z+1,J=15,tt=3,et=258,it=et+tt+1,nt=32,rt=42,st=69,ot=73,at=91,lt=103,ct=113,ht=666,ut=1,dt=2,ft=3,pt=4,gt=3;_=[new v(0,0,0,0,(function(t,e){var i=65535;for(i>t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(d(t),0===t.lookahead&&e===O)return ut;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+i;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,a(t,!1),0===t.strm.avail_out))return ut;if(t.strstart-t.block_start>=t.w_size-it&&(a(t,!1),0===t.strm.avail_out))return ut}return t.insert=0,e===I?(a(t,!0),0===t.strm.avail_out?ft:pt):(t.strstart>t.block_start&&(a(t,!1),t.strm.avail_out),ut)})),new v(4,4,8,4,f),new v(4,5,16,8,f),new v(4,6,32,32,f),new v(4,4,16,16,p),new v(8,16,32,32,p),new v(8,16,128,128,p),new v(8,32,128,256,p),new v(32,128,258,1024,p),new v(32,258,258,4096,p)],i.deflateInit=function(t,e){return x(t,e,H,Y,V,W)},i.deflateInit2=x,i.deflateReset=w,i.deflateResetKeep=b,i.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?z:(t.state.gzhead=e,j):z},i.deflate=function(t,e){var i,a,h,u;if(!t||!t.state||e>R||e<0)return t?n(t,z):z;if(a=t.state,!t.output||!t.input&&0!==t.avail_in||a.status===ht&&e!==I)return n(t,0===t.avail_out?P:z);if(a.strm=t,i=a.last_flush,a.last_flush=e,a.status===rt)if(2===a.wrap)t.adler=0,l(a,31),l(a,139),l(a,8),a.gzhead?(l(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),l(a,255&a.gzhead.time),l(a,a.gzhead.time>>8&255),l(a,a.gzhead.time>>16&255),l(a,a.gzhead.time>>24&255),l(a,9===a.level?2:a.strategy>=F||a.level<2?4:0),l(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(l(a,255&a.gzhead.extra.length),l(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=T(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=st):(l(a,0),l(a,0),l(a,0),l(a,0),l(a,0),l(a,9===a.level?2:a.strategy>=F||a.level<2?4:0),l(a,gt),a.status=ct);else{var d=H+(a.w_bits-8<<4)<<8;d|=(a.strategy>=F||a.level<2?0:a.level<6?1:6===a.level?2:3)<<6,0!==a.strstart&&(d|=nt),d+=31-d%31,a.status=ct,c(a,d),0!==a.strstart&&(c(a,t.adler>>>16),c(a,65535&t.adler)),t.adler=1}if(a.status===st)if(a.gzhead.extra){for(h=a.pending;a.gzindex<(65535&a.gzhead.extra.length)&&(a.pending!==a.pending_buf_size||(a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),o(t),h=a.pending,a.pending!==a.pending_buf_size));)l(a,255&a.gzhead.extra[a.gzindex]),a.gzindex++;a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=ot)}else a.status=ot;if(a.status===ot)if(a.gzhead.name){h=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),o(t),h=a.pending,a.pending===a.pending_buf_size)){u=1;break}u=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,l(a,u)}while(0!==u);a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),0===u&&(a.gzindex=0,a.status=at)}else a.status=at;if(a.status===at)if(a.gzhead.comment){h=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),o(t),h=a.pending,a.pending===a.pending_buf_size)){u=1;break}u=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,l(a,u)}while(0!==u);a.gzhead.hcrc&&a.pending>h&&(t.adler=T(t.adler,a.pending_buf,a.pending-h,h)),0===u&&(a.status=lt)}else a.status=lt;if(a.status===lt&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&o(t),a.pending+2<=a.pending_buf_size&&(l(a,255&t.adler),l(a,t.adler>>8&255),t.adler=0,a.status=ct)):a.status=ct),0!==a.pending){if(o(t),0===t.avail_out)return a.last_flush=-1,j}else if(0===t.avail_in&&r(e)<=r(i)&&e!==I)return n(t,P);if(a.status===ht&&0!==t.avail_in)return n(t,P);if(0!==t.avail_in||0!==a.lookahead||e!==O&&a.status!==ht){var f=a.strategy===F?m(a,e):a.strategy===q?g(a,e):_[a.level].func(a,e);if(f!==ft&&f!==pt||(a.status=ht),f===ut||f===ft)return 0===t.avail_out&&(a.last_flush=-1),j;if(f===dt&&(e===A?E._tr_align(a):e!==R&&(E._tr_stored_block(a,0,0,!1),e===N&&(s(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),o(t),0===t.avail_out))return a.last_flush=-1,j}return e!==I?j:a.wrap<=0?L:(2===a.wrap?(l(a,255&t.adler),l(a,t.adler>>8&255),l(a,t.adler>>16&255),l(a,t.adler>>24&255),l(a,255&t.total_in),l(a,t.total_in>>8&255),l(a,t.total_in>>16&255),l(a,t.total_in>>24&255)):(c(a,t.adler>>>16),c(a,65535&t.adler)),o(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?j:L)},i.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==rt&&e!==st&&e!==ot&&e!==at&&e!==lt&&e!==ct&&e!==ht?n(t,z):(t.state=null,e===ct?n(t,D):j):z},i.deflateSetDictionary=function(t,e){var i,n,r,o,a,l,c,h,u=e.length;if(!t||!t.state)return z;if(2===(o=(i=t.state).wrap)||1===o&&i.status!==rt||i.lookahead)return z;for(1===o&&(t.adler=S(t.adler,e,u,0)),i.wrap=0,u>=i.w_size&&(0===o&&(s(i.head),i.strstart=0,i.block_start=0,i.insert=0),h=new k.Buf8(i.w_size),k.arraySet(h,e,u-i.w_size,i.w_size,0),e=h,u=i.w_size),a=t.avail_in,l=t.next_in,c=t.input,t.avail_in=u,t.next_in=0,t.input=e,d(i);i.lookahead>=tt;){n=i.strstart,r=i.lookahead-(tt-1);do{i.ins_h=(i.ins_h<<i.hash_shift^i.window[n+tt-1])&i.hash_mask,i.prev[n&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=n,n++}while(--r);i.strstart=n,i.lookahead=tt-1,d(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=tt-1,i.match_available=0,t.next_in=l,t.input=c,t.avail_in=a,i.wrap=o,j},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":62,"./adler32":64,"./crc32":66,"./messages":72,"./trees":73}],68:[function(t,e,i){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],69:[function(t,e,i){"use strict";e.exports=function(t,e){var i,n,r,s,o,a,l,c,h,u,d,f,p,g,m,v,y,b,w,x,_,k,E,S,T;i=t.state,n=t.next_in,S=t.input,r=n+(t.avail_in-5),s=t.next_out,T=t.output,o=s-(e-t.avail_out),a=s+(t.avail_out-257),l=i.dmax,c=i.wsize,h=i.whave,u=i.wnext,d=i.window,f=i.hold,p=i.bits,g=i.lencode,m=i.distcode,v=(1<<i.lenbits)-1,y=(1<<i.distbits)-1;t:do{p<15&&(f+=S[n++]<<p,p+=8,f+=S[n++]<<p,p+=8),b=g[f&v];e:for(;;){if(f>>>=w=b>>>24,p-=w,0===(w=b>>>16&255))T[s++]=65535&b;else{if(!(16&w)){if(0==(64&w)){b=g[(65535&b)+(f&(1<<w)-1)];continue e}if(32&w){i.mode=12;break t}t.msg="invalid literal/length code",i.mode=30;break t}x=65535&b,(w&=15)&&(p<w&&(f+=S[n++]<<p,p+=8),x+=f&(1<<w)-1,f>>>=w,p-=w),p<15&&(f+=S[n++]<<p,p+=8,f+=S[n++]<<p,p+=8),b=m[f&y];i:for(;;){if(f>>>=w=b>>>24,p-=w,!(16&(w=b>>>16&255))){if(0==(64&w)){b=m[(65535&b)+(f&(1<<w)-1)];continue i}t.msg="invalid distance code",i.mode=30;break t}if(_=65535&b,p<(w&=15)&&(f+=S[n++]<<p,(p+=8)<w&&(f+=S[n++]<<p,p+=8)),(_+=f&(1<<w)-1)>l){t.msg="invalid distance too far back",i.mode=30;break t}if(f>>>=w,p-=w,_>(w=s-o)){if((w=_-w)>h&&i.sane){t.msg="invalid distance too far back",i.mode=30;break t}if(k=0,E=d,0===u){if(k+=c-w,w<x){x-=w;do{T[s++]=d[k++]}while(--w);k=s-_,E=T}}else if(u<w){if(k+=c+u-w,(w-=u)<x){x-=w;do{T[s++]=d[k++]}while(--w);if(k=0,u<x){x-=w=u;do{T[s++]=d[k++]}while(--w);k=s-_,E=T}}}else if(k+=u-w,w<x){x-=w;do{T[s++]=d[k++]}while(--w);k=s-_,E=T}for(;x>2;)T[s++]=E[k++],T[s++]=E[k++],T[s++]=E[k++],x-=3;x&&(T[s++]=E[k++],x>1&&(T[s++]=E[k++]))}else{k=s-_;do{T[s++]=T[k++],T[s++]=T[k++],T[s++]=T[k++],x-=3}while(x>2);x&&(T[s++]=T[k++],x>1&&(T[s++]=T[k++]))}break}}break}}while(n<r&&s<a);n-=x=p>>3,f&=(1<<(p-=x<<3))-1,t.next_in=n,t.next_out=s,t.avail_in=n<r?r-n+5:5-(n-r),t.avail_out=s<a?a-s+257:257-(s-a),i.hold=f,i.bits=p}},{}],70:[function(t,e,i){"use strict";function n(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function r(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new f.Buf16(320),this.work=new f.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function s(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=R,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new f.Buf32(ht),e.distcode=e.distdyn=new f.Buf32(ut),e.sane=1,e.back=-1,E):C}function o(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,s(t)):C}function a(t,e){var i,n;return t&&t.state?(n=t.state,e<0?(i=0,e=-e):(i=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?C:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=i,n.wbits=e,o(t))):C}function l(t,e){var i,n;return t?(n=new r,t.state=n,n.window=null,(i=a(t,e))!==E&&(t.state=null),i):C}function c(t){if(ft){var e;for(u=new f.Buf32(512),d=new f.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(v(b,t.lens,0,288,u,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;v(w,t.lens,0,32,d,0,t.work,{bits:5}),ft=!1}t.lencode=u,t.lenbits=9,t.distcode=d,t.distbits=5}function h(t,e,i,n){var r,s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new f.Buf8(s.wsize)),n>=s.wsize?(f.arraySet(s.window,e,i-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((r=s.wsize-s.wnext)>n&&(r=n),f.arraySet(s.window,e,i-n,r,s.wnext),(n-=r)?(f.arraySet(s.window,e,i-n,n,0),s.wnext=n,s.whave=s.wsize):(s.wnext+=r,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=r))),0}var u,d,f=t("../utils/common"),p=t("./adler32"),g=t("./crc32"),m=t("./inffast"),v=t("./inftrees"),y=0,b=1,w=2,x=4,_=5,k=6,E=0,S=1,T=2,C=-2,O=-3,A=-4,N=-5,I=8,R=1,j=2,L=3,z=4,D=5,P=6,B=7,M=8,F=9,q=10,U=11,W=12,$=13,H=14,X=15,Y=16,V=17,Z=18,G=19,K=20,Q=21,J=22,tt=23,et=24,it=25,nt=26,rt=27,st=28,ot=29,at=30,lt=31,ct=32,ht=852,ut=592,dt=15,ft=!0;i.inflateReset=o,i.inflateReset2=a,i.inflateResetKeep=s,i.inflateInit=function(t){return l(t,dt)},i.inflateInit2=l,i.inflate=function(t,e){var i,r,s,o,a,l,u,d,ht,ut,dt,ft,pt,gt,mt,vt,yt,bt,wt,xt,_t,kt,Et,St,Tt=0,Ct=new f.Buf8(4),Ot=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return C;(i=t.state).mode===W&&(i.mode=$),a=t.next_out,s=t.output,u=t.avail_out,o=t.next_in,r=t.input,l=t.avail_in,d=i.hold,ht=i.bits,ut=l,dt=u,kt=E;t:for(;;)switch(i.mode){case R:if(0===i.wrap){i.mode=$;break}for(;ht<16;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}if(2&i.wrap&&35615===d){i.check=0,Ct[0]=255&d,Ct[1]=d>>>8&255,i.check=g(i.check,Ct,2,0),d=0,ht=0,i.mode=j;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&d)<<8)+(d>>8))%31){t.msg="incorrect header check",i.mode=at;break}if((15&d)!==I){t.msg="unknown compression method",i.mode=at;break}if(ht-=4,_t=8+(15&(d>>>=4)),0===i.wbits)i.wbits=_t;else if(_t>i.wbits){t.msg="invalid window size",i.mode=at;break}i.dmax=1<<_t,t.adler=i.check=1,i.mode=512&d?q:W,d=0,ht=0;break;case j:for(;ht<16;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}if(i.flags=d,(255&i.flags)!==I){t.msg="unknown compression method",i.mode=at;break}if(57344&i.flags){t.msg="unknown header flags set",i.mode=at;break}i.head&&(i.head.text=d>>8&1),512&i.flags&&(Ct[0]=255&d,Ct[1]=d>>>8&255,i.check=g(i.check,Ct,2,0)),d=0,ht=0,i.mode=L;case L:for(;ht<32;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}i.head&&(i.head.time=d),512&i.flags&&(Ct[0]=255&d,Ct[1]=d>>>8&255,Ct[2]=d>>>16&255,Ct[3]=d>>>24&255,i.check=g(i.check,Ct,4,0)),d=0,ht=0,i.mode=z;case z:for(;ht<16;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}i.head&&(i.head.xflags=255&d,i.head.os=d>>8),512&i.flags&&(Ct[0]=255&d,Ct[1]=d>>>8&255,i.check=g(i.check,Ct,2,0)),d=0,ht=0,i.mode=D;case D:if(1024&i.flags){for(;ht<16;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}i.length=d,i.head&&(i.head.extra_len=d),512&i.flags&&(Ct[0]=255&d,Ct[1]=d>>>8&255,i.check=g(i.check,Ct,2,0)),d=0,ht=0}else i.head&&(i.head.extra=null);i.mode=P;case P:if(1024&i.flags&&((ft=i.length)>l&&(ft=l),ft&&(i.head&&(_t=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),f.arraySet(i.head.extra,r,o,ft,_t)),512&i.flags&&(i.check=g(i.check,r,ft,o)),l-=ft,o+=ft,i.length-=ft),i.length))break t;i.length=0,i.mode=B;case B:if(2048&i.flags){if(0===l)break t;ft=0;do{_t=r[o+ft++],i.head&&_t&&i.length<65536&&(i.head.name+=String.fromCharCode(_t))}while(_t&&ft<l);if(512&i.flags&&(i.check=g(i.check,r,ft,o)),l-=ft,o+=ft,_t)break t}else i.head&&(i.head.name=null);i.length=0,i.mode=M;case M:if(4096&i.flags){if(0===l)break t;ft=0;do{_t=r[o+ft++],i.head&&_t&&i.length<65536&&(i.head.comment+=String.fromCharCode(_t))}while(_t&&ft<l);if(512&i.flags&&(i.check=g(i.check,r,ft,o)),l-=ft,o+=ft,_t)break t}else i.head&&(i.head.comment=null);i.mode=F;case F:if(512&i.flags){for(;ht<16;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}if(d!==(65535&i.check)){t.msg="header crc mismatch",i.mode=at;break}d=0,ht=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=W;break;case q:for(;ht<32;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}t.adler=i.check=n(d),d=0,ht=0,i.mode=U;case U:if(0===i.havedict)return t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=l,i.hold=d,i.bits=ht,T;t.adler=i.check=1,i.mode=W;case W:if(e===_||e===k)break t;case $:if(i.last){d>>>=7&ht,ht-=7&ht,i.mode=rt;break}for(;ht<3;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}switch(i.last=1&d,ht-=1,3&(d>>>=1)){case 0:i.mode=H;break;case 1:if(c(i),i.mode=K,e===k){d>>>=2,ht-=2;break t}break;case 2:i.mode=V;break;case 3:t.msg="invalid block type",i.mode=at}d>>>=2,ht-=2;break;case H:for(d>>>=7&ht,ht-=7&ht;ht<32;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}if((65535&d)!=(d>>>16^65535)){t.msg="invalid stored block lengths",i.mode=at;break}if(i.length=65535&d,d=0,ht=0,i.mode=X,e===k)break t;case X:i.mode=Y;case Y:if(ft=i.length){if(ft>l&&(ft=l),ft>u&&(ft=u),0===ft)break t;f.arraySet(s,r,o,ft,a),l-=ft,o+=ft,u-=ft,a+=ft,i.length-=ft;break}i.mode=W;break;case V:for(;ht<14;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}if(i.nlen=257+(31&d),d>>>=5,ht-=5,i.ndist=1+(31&d),d>>>=5,ht-=5,i.ncode=4+(15&d),d>>>=4,ht-=4,i.nlen>286||i.ndist>30){t.msg="too many length or distance symbols",i.mode=at;break}i.have=0,i.mode=Z;case Z:for(;i.have<i.ncode;){for(;ht<3;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}i.lens[Ot[i.have++]]=7&d,d>>>=3,ht-=3}for(;i.have<19;)i.lens[Ot[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,Et={bits:i.lenbits},kt=v(y,i.lens,0,19,i.lencode,0,i.work,Et),i.lenbits=Et.bits,kt){t.msg="invalid code lengths set",i.mode=at;break}i.have=0,i.mode=G;case G:for(;i.have<i.nlen+i.ndist;){for(;vt=(Tt=i.lencode[d&(1<<i.lenbits)-1])>>>16&255,yt=65535&Tt,!((mt=Tt>>>24)<=ht);){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}if(yt<16)d>>>=mt,ht-=mt,i.lens[i.have++]=yt;else{if(16===yt){for(St=mt+2;ht<St;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}if(d>>>=mt,ht-=mt,0===i.have){t.msg="invalid bit length repeat",i.mode=at;break}_t=i.lens[i.have-1],ft=3+(3&d),d>>>=2,ht-=2}else if(17===yt){for(St=mt+3;ht<St;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}ht-=mt,_t=0,ft=3+(7&(d>>>=mt)),d>>>=3,ht-=3}else{for(St=mt+7;ht<St;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}ht-=mt,_t=0,ft=11+(127&(d>>>=mt)),d>>>=7,ht-=7}if(i.have+ft>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=at;break}for(;ft--;)i.lens[i.have++]=_t}}if(i.mode===at)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=at;break}if(i.lenbits=9,Et={bits:i.lenbits},kt=v(b,i.lens,0,i.nlen,i.lencode,0,i.work,Et),i.lenbits=Et.bits,kt){t.msg="invalid literal/lengths set",i.mode=at;break}if(i.distbits=6,i.distcode=i.distdyn,Et={bits:i.distbits},kt=v(w,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,Et),i.distbits=Et.bits,kt){t.msg="invalid distances set",i.mode=at;break}if(i.mode=K,e===k)break t;case K:i.mode=Q;case Q:if(l>=6&&u>=258){t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=l,i.hold=d,i.bits=ht,m(t,dt),a=t.next_out,s=t.output,u=t.avail_out,o=t.next_in,r=t.input,l=t.avail_in,d=i.hold,ht=i.bits,i.mode===W&&(i.back=-1);break}for(i.back=0;vt=(Tt=i.lencode[d&(1<<i.lenbits)-1])>>>16&255,yt=65535&Tt,!((mt=Tt>>>24)<=ht);){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}if(vt&&0==(240&vt)){for(bt=mt,wt=vt,xt=yt;vt=(Tt=i.lencode[xt+((d&(1<<bt+wt)-1)>>bt)])>>>16&255,yt=65535&Tt,!(bt+(mt=Tt>>>24)<=ht);){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}d>>>=bt,ht-=bt,i.back+=bt}if(d>>>=mt,ht-=mt,i.back+=mt,i.length=yt,0===vt){i.mode=nt;break}if(32&vt){i.back=-1,i.mode=W;break}if(64&vt){t.msg="invalid literal/length code",i.mode=at;break}i.extra=15&vt,i.mode=J;case J:if(i.extra){for(St=i.extra;ht<St;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}i.length+=d&(1<<i.extra)-1,d>>>=i.extra,ht-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=tt;case tt:for(;vt=(Tt=i.distcode[d&(1<<i.distbits)-1])>>>16&255,yt=65535&Tt,!((mt=Tt>>>24)<=ht);){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}if(0==(240&vt)){for(bt=mt,wt=vt,xt=yt;vt=(Tt=i.distcode[xt+((d&(1<<bt+wt)-1)>>bt)])>>>16&255,yt=65535&Tt,!(bt+(mt=Tt>>>24)<=ht);){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}d>>>=bt,ht-=bt,i.back+=bt}if(d>>>=mt,ht-=mt,i.back+=mt,64&vt){t.msg="invalid distance code",i.mode=at;break}i.offset=yt,i.extra=15&vt,i.mode=et;case et:if(i.extra){for(St=i.extra;ht<St;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}i.offset+=d&(1<<i.extra)-1,d>>>=i.extra,ht-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=at;break}i.mode=it;case it:if(0===u)break t;if(ft=dt-u,i.offset>ft){if((ft=i.offset-ft)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=at;break}ft>i.wnext?(ft-=i.wnext,pt=i.wsize-ft):pt=i.wnext-ft,ft>i.length&&(ft=i.length),gt=i.window}else gt=s,pt=a-i.offset,ft=i.length;ft>u&&(ft=u),u-=ft,i.length-=ft;do{s[a++]=gt[pt++]}while(--ft);0===i.length&&(i.mode=Q);break;case nt:if(0===u)break t;s[a++]=i.length,u--,i.mode=Q;break;case rt:if(i.wrap){for(;ht<32;){if(0===l)break t;l--,d|=r[o++]<<ht,ht+=8}if(dt-=u,t.total_out+=dt,i.total+=dt,dt&&(t.adler=i.check=i.flags?g(i.check,s,dt,a-dt):p(i.check,s,dt,a-dt)),dt=u,(i.flags?d:n(d))!==i.check){t.msg="incorrect data check",i.mode=at;break}d=0,ht=0}i.mode=st;case st:if(i.wrap&&i.flags){for(;ht<32;){if(0===l)break t;l--,d+=r[o++]<<ht,ht+=8}if(d!==(4294967295&i.total)){t.msg="incorrect length check",i.mode=at;break}d=0,ht=0}i.mode=ot;case ot:kt=S;break t;case at:kt=O;break t;case lt:return A;case ct:default:return C}return t.next_out=a,t.avail_out=u,t.next_in=o,t.avail_in=l,i.hold=d,i.bits=ht,(i.wsize||dt!==t.avail_out&&i.mode<at&&(i.mode<rt||e!==x))&&h(t,t.output,t.next_out,dt-t.avail_out)?(i.mode=lt,A):(ut-=t.avail_in,dt-=t.avail_out,t.total_in+=ut,t.total_out+=dt,i.total+=dt,i.wrap&&dt&&(t.adler=i.check=i.flags?g(i.check,s,dt,t.next_out-dt):p(i.check,s,dt,t.next_out-dt)),t.data_type=i.bits+(i.last?64:0)+(i.mode===W?128:0)+(i.mode===K||i.mode===X?256:0),(0===ut&&0===dt||e===x)&&kt===E&&(kt=N),kt)},i.inflateEnd=function(t){if(!t||!t.state)return C;var e=t.state;return e.window&&(e.window=null),t.state=null,E},i.inflateGetHeader=function(t,e){var i;return t&&t.state?0==(2&(i=t.state).wrap)?C:(i.head=e,e.done=!1,E):C},i.inflateSetDictionary=function(t,e){var i,n=e.length;return t&&t.state?0!==(i=t.state).wrap&&i.mode!==U?C:i.mode===U&&p(1,e,n,0)!==i.check?O:h(t,e,n,n)?(i.mode=lt,A):(i.havedict=1,E):C},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":62,"./adler32":64,"./crc32":66,"./inffast":69,"./inftrees":71}],71:[function(t,e,i){"use strict";var n=t("../utils/common"),r=15,s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,i,c,h,u,d,f){var p,g,m,v,y,b,w,x,_,k=f.bits,E=0,S=0,T=0,C=0,O=0,A=0,N=0,I=0,R=0,j=0,L=null,z=0,D=new n.Buf16(16),P=new n.Buf16(16),B=null,M=0;for(E=0;E<=r;E++)D[E]=0;for(S=0;S<c;S++)D[e[i+S]]++;for(O=k,C=r;C>=1&&0===D[C];C--);if(O>C&&(O=C),0===C)return h[u++]=20971520,h[u++]=20971520,f.bits=1,0;for(T=1;T<C&&0===D[T];T++);for(O<T&&(O=T),I=1,E=1;E<=r;E++)if(I<<=1,(I-=D[E])<0)return-1;if(I>0&&(0===t||1!==C))return-1;for(P[1]=0,E=1;E<r;E++)P[E+1]=P[E]+D[E];for(S=0;S<c;S++)0!==e[i+S]&&(d[P[e[i+S]]++]=S);if(0===t?(L=B=d,b=19):1===t?(L=s,z-=257,B=o,M-=257,b=256):(L=a,B=l,b=-1),j=0,S=0,E=T,y=u,A=O,N=0,m=-1,v=(R=1<<O)-1,1===t&&R>852||2===t&&R>592)return 1;for(;;){w=E-N,d[S]<b?(x=0,_=d[S]):d[S]>b?(x=B[M+d[S]],_=L[z+d[S]]):(x=96,_=0),p=1<<E-N,T=g=1<<A;do{h[y+(j>>N)+(g-=p)]=w<<24|x<<16|_|0}while(0!==g);for(p=1<<E-1;j&p;)p>>=1;if(0!==p?(j&=p-1,j+=p):j=0,S++,0==--D[E]){if(E===C)break;E=e[i+d[S]]}if(E>O&&(j&v)!==m){for(0===N&&(N=O),y+=T,I=1<<(A=E-N);A+N<C&&!((I-=D[A+N])<=0);)A++,I<<=1;if(R+=1<<A,1===t&&R>852||2===t&&R>592)return 1;h[m=j&v]=O<<24|A<<16|y-u|0}}return 0!==j&&(h[y+j]=E-N<<24|64<<16|0),f.bits=O,0}},{"../utils/common":62}],72:[function(t,e,i){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],73:[function(t,e,i){"use strict";function n(t){for(var e=t.length;--e>=0;)t[e]=0}function r(t,e,i,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=i,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function s(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function o(t){return t<256?V[t]:V[256+(t>>>7)]}function a(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function l(t,e,i){t.bi_valid>D-i?(t.bi_buf|=e<<t.bi_valid&65535,a(t,t.bi_buf),t.bi_buf=e>>D-t.bi_valid,t.bi_valid+=i-D):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=i)}function c(t,e,i){l(t,i[2*e],i[2*e+1])}function h(t,e){var i=0;do{i|=1&t,t>>>=1,i<<=1}while(--e>0);return i>>>1}function u(t,e,i){var n,r,s=new Array(z+1),o=0;for(n=1;n<=z;n++)s[n]=o=o+i[n-1]<<1;for(r=0;r<=e;r++){var a=t[2*r+1];0!==a&&(t[2*r]=h(s[a]++,a))}}function d(t){var e;for(e=0;e<I;e++)t.dyn_ltree[2*e]=0;for(e=0;e<R;e++)t.dyn_dtree[2*e]=0;for(e=0;e<j;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*B]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function f(t){t.bi_valid>8?a(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function p(t,e,i,n){var r=2*e,s=2*i;return t[r]<t[s]||t[r]===t[s]&&n[e]<=n[i]}function g(t,e,i){for(var n=t.heap[i],r=i<<1;r<=t.heap_len&&(r<t.heap_len&&p(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!p(e,n,t.heap[r],t.depth));)t.heap[i]=t.heap[r],i=r,r<<=1;t.heap[i]=n}function m(t,e,i){var n,r,s,a,h=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*h]<<8|t.pending_buf[t.d_buf+2*h+1],r=t.pending_buf[t.l_buf+h],h++,0===n?c(t,r,e):(c(t,(s=Z[r])+N+1,e),0!==(a=U[s])&&l(t,r-=G[s],a),c(t,s=o(--n),i),0!==(a=W[s])&&l(t,n-=K[s],a))}while(h<t.last_lit);c(t,B,e)}function v(t,e){var i,n,r,s=e.dyn_tree,o=e.stat_desc.static_tree,a=e.stat_desc.has_stree,l=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=L,i=0;i<l;i++)0!==s[2*i]?(t.heap[++t.heap_len]=c=i,t.depth[i]=0):s[2*i+1]=0;for(;t.heap_len<2;)s[2*(r=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[r]=0,t.opt_len--,a&&(t.static_len-=o[2*r+1]);for(e.max_code=c,i=t.heap_len>>1;i>=1;i--)g(t,s,i);r=l;do{i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],g(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=n,s[2*r]=s[2*i]+s[2*n],t.depth[r]=(t.depth[i]>=t.depth[n]?t.depth[i]:t.depth[n])+1,s[2*i+1]=s[2*n+1]=r,t.heap[1]=r++,g(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var i,n,r,s,o,a,l=e.dyn_tree,c=e.max_code,h=e.stat_desc.static_tree,u=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=z;s++)t.bl_count[s]=0;for(l[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;i<L;i++)(s=l[2*l[2*(n=t.heap[i])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>c||(t.bl_count[s]++,o=0,n>=f&&(o=d[n-f]),a=l[2*n],t.opt_len+=a*(s+o),u&&(t.static_len+=a*(h[2*n+1]+o)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--i])>c||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),u(s,c,t.bl_count)}function y(t,e,i){var n,r,s=-1,o=e[1],a=0,l=7,c=4;for(0===o&&(l=138,c=3),e[2*(i+1)+1]=65535,n=0;n<=i;n++)r=o,o=e[2*(n+1)+1],++a<l&&r===o||(a<c?t.bl_tree[2*r]+=a:0!==r?(r!==s&&t.bl_tree[2*r]++,t.bl_tree[2*M]++):a<=10?t.bl_tree[2*F]++:t.bl_tree[2*q]++,a=0,s=r,0===o?(l=138,c=3):r===o?(l=6,c=3):(l=7,c=4))}function b(t,e,i){var n,r,s=-1,o=e[1],a=0,h=7,u=4;for(0===o&&(h=138,u=3),n=0;n<=i;n++)if(r=o,o=e[2*(n+1)+1],!(++a<h&&r===o)){if(a<u)do{c(t,r,t.bl_tree)}while(0!=--a);else 0!==r?(r!==s&&(c(t,r,t.bl_tree),a--),c(t,M,t.bl_tree),l(t,a-3,2)):a<=10?(c(t,F,t.bl_tree),l(t,a-3,3)):(c(t,q,t.bl_tree),l(t,a-11,7));a=0,s=r,0===o?(h=138,u=3):r===o?(h=6,u=3):(h=7,u=4)}}function w(t,e,i,n){l(t,(T<<1)+(n?1:0),3),function(t,e,i,n){f(t),n&&(a(t,i),a(t,~i)),x.arraySet(t.pending_buf,t.window,e,i,t.pending),t.pending+=i}(t,e,i,!0)}var x=t("../utils/common"),_=4,k=0,E=1,S=2,T=0,C=1,O=2,A=29,N=256,I=N+1+A,R=30,j=19,L=2*I+1,z=15,D=16,P=7,B=256,M=16,F=17,q=18,U=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],W=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],$=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],X=new Array(2*(I+2));n(X);var Y=new Array(2*R);n(Y);var V=new Array(512);n(V);var Z=new Array(256);n(Z);var G=new Array(A);n(G);var K=new Array(R);n(K);var Q,J,tt,et=!1;i._tr_init=function(t){et||(function(){var t,e,i,n,s,o=new Array(z+1);for(i=0,n=0;n<A-1;n++)for(G[n]=i,t=0;t<1<<U[n];t++)Z[i++]=n;for(Z[i-1]=n,s=0,n=0;n<16;n++)for(K[n]=s,t=0;t<1<<W[n];t++)V[s++]=n;for(s>>=7;n<R;n++)for(K[n]=s<<7,t=0;t<1<<W[n]-7;t++)V[256+s++]=n;for(e=0;e<=z;e++)o[e]=0;for(t=0;t<=143;)X[2*t+1]=8,t++,o[8]++;for(;t<=255;)X[2*t+1]=9,t++,o[9]++;for(;t<=279;)X[2*t+1]=7,t++,o[7]++;for(;t<=287;)X[2*t+1]=8,t++,o[8]++;for(u(X,I+1,o),t=0;t<R;t++)Y[2*t+1]=5,Y[2*t]=h(t,5);Q=new r(X,U,N+1,I,z),J=new r(Y,W,0,R,z),tt=new r(new Array(0),$,0,j,P)}(),et=!0),t.l_desc=new s(t.dyn_ltree,Q),t.d_desc=new s(t.dyn_dtree,J),t.bl_desc=new s(t.bl_tree,tt),t.bi_buf=0,t.bi_valid=0,d(t)},i._tr_stored_block=w,i._tr_flush_block=function(t,e,i,n){var r,s,o=0;t.level>0?(t.strm.data_type===S&&(t.strm.data_type=function(t){var e,i=4093624447;for(e=0;e<=31;e++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*e])return k;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return E;for(e=32;e<N;e++)if(0!==t.dyn_ltree[2*e])return E;return k}(t)),v(t,t.l_desc),v(t,t.d_desc),o=function(t){var e;for(y(t,t.dyn_ltree,t.l_desc.max_code),y(t,t.dyn_dtree,t.d_desc.max_code),v(t,t.bl_desc),e=j-1;e>=3&&0===t.bl_tree[2*H[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=r&&(r=s)):r=s=i+5,i+4<=r&&-1!==e?w(t,e,i,n):t.strategy===_||s===r?(l(t,(C<<1)+(n?1:0),3),m(t,X,Y)):(l(t,(O<<1)+(n?1:0),3),function(t,e,i,n){var r;for(l(t,e-257,5),l(t,i-1,5),l(t,n-4,4),r=0;r<n;r++)l(t,t.bl_tree[2*H[r]+1],3);b(t,t.dyn_ltree,e-1),b(t,t.dyn_dtree,i-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),m(t,t.dyn_ltree,t.dyn_dtree)),d(t),n&&f(t)},i._tr_tally=function(t,e,i){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===e?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(Z[i]+N+1)]++,t.dyn_dtree[2*o(e)]++),t.last_lit===t.lit_bufsize-1},i._tr_align=function(t){l(t,C<<1,3),c(t,B,X),function(t){16===t.bi_valid?(a(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":62}],74:[function(t,e,i){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}]},{},[10])(10)})),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("xmldom"),require("JSZip")):"function"==typeof define&&define.amd?define(["xmldom","JSZip"],e):"object"==typeof exports?exports.ePub=e(require("xmldom"),require("JSZip")):t.ePub=e(t.xmldom,t.JSZip)}(window,(function(t,e){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/dist/",i(i.s=86)}([function(t,e,i){"use strict";i.r(e),i.d(e,"requestAnimationFrame",(function(){return r})),i.d(e,"uuid",(function(){return o})),i.d(e,"documentHeight",(function(){return a})),i.d(e,"isElement",(function(){return l})),i.d(e,"isNumber",(function(){return c})),i.d(e,"isFloat",(function(){return h})),i.d(e,"prefixed",(function(){return u})),i.d(e,"defaults",(function(){return d})),i.d(e,"extend",(function(){return f})),i.d(e,"insert",(function(){return p})),i.d(e,"locationOf",(function(){return g})),i.d(e,"indexOfSorted",(function(){return m})),i.d(e,"bounds",(function(){return v})),i.d(e,"borders",(function(){return y})),i.d(e,"nodeBounds",(function(){return b})),i.d(e,"windowBounds",(function(){return w})),i.d(e,"indexOfNode",(function(){return x})),i.d(e,"indexOfTextNode",(function(){return _})),i.d(e,"indexOfElementNode",(function(){return k})),i.d(e,"isXml",(function(){return E})),i.d(e,"createBlob",(function(){return S})),i.d(e,"createBlobUrl",(function(){return T})),i.d(e,"revokeBlobUrl",(function(){return C})),i.d(e,"createBase64Url",(function(){return O})),i.d(e,"type",(function(){return A})),i.d(e,"parse",(function(){return N})),i.d(e,"qs",(function(){return I})),i.d(e,"qsa",(function(){return R})),i.d(e,"qsp",(function(){return j})),i.d(e,"sprint",(function(){return L})),i.d(e,"treeWalker",(function(){return z})),i.d(e,"walk",(function(){return D})),i.d(e,"blob2base64",(function(){return P})),i.d(e,"defer",(function(){return B})),i.d(e,"querySelectorByType",(function(){return M})),i.d(e,"findChildren",(function(){return F})),i.d(e,"parents",(function(){return q})),i.d(e,"filterChildren",(function(){return U})),i.d(e,"getParentByTagName",(function(){return W})),i.d(e,"RangeObject",(function(){return $})),i(24),i(14),i(20);var n=i(38);const r="undefined"!=typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),s="undefined"!=typeof URL?URL:"undefined"!=typeof window?window.URL||window.webkitURL||window.mozURL:void 0;function o(){var t=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var i=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?i:7&i|8).toString(16)}))}function a(){return Math.max(document.documentElement.clientHeight,document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight)}function l(t){return!(!t||1!=t.nodeType)}function c(t){return!isNaN(parseFloat(t))&&isFinite(t)}function h(t){let e=parseFloat(t);return!1!==c(t)&&("string"==typeof t&&t.indexOf(".")>-1||Math.floor(e)!==e)}function u(t){var e=["-webkit-","-webkit-","-moz-","-o-","-ms-"],i=t.toLowerCase(),n=["Webkit","webkit","Moz","O","ms"].length;if("undefined"==typeof document||void 0!==document.body.style[i])return t;for(var r=0;r<n;r++)if(void 0!==document.body.style[e[r]+i])return e[r]+i;return t}function d(t){for(var e=1,i=arguments.length;e<i;e++){var n=arguments[e];for(var r in n)void 0===t[r]&&(t[r]=n[r])}return t}function f(t){var e=[].slice.call(arguments,1);return e.forEach((function(e){e&&Object.getOwnPropertyNames(e).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))})),t}function p(t,e,i){var n=g(t,e,i);return e.splice(n,0,t),n}function g(t,e,i,n,r){var s,o=n||0,a=r||e.length,l=parseInt(o+(a-o)/2);return i||(i=function(t,e){return t>e?1:t<e?-1:t==e?0:void 0}),a-o<=0?l:(s=i(e[l],t),a-o==1?s>=0?l:l+1:0===s?l:-1===s?g(t,e,i,l,a):g(t,e,i,o,l))}function m(t,e,i,n,r){var s,o=n||0,a=r||e.length,l=parseInt(o+(a-o)/2);return i||(i=function(t,e){return t>e?1:t<e?-1:t==e?0:void 0}),a-o<=0?-1:(s=i(e[l],t),a-o==1?0===s?l:-1:0===s?l:-1===s?m(t,e,i,l,a):m(t,e,i,o,l))}function v(t){var e=window.getComputedStyle(t),i=0,n=0;return["width","paddingRight","paddingLeft","marginRight","marginLeft","borderRightWidth","borderLeftWidth"].forEach((function(t){i+=parseFloat(e[t])||0})),["height","paddingTop","paddingBottom","marginTop","marginBottom","borderTopWidth","borderBottomWidth"].forEach((function(t){n+=parseFloat(e[t])||0})),{height:n,width:i}}function y(t){var e=window.getComputedStyle(t),i=0,n=0;return["paddingRight","paddingLeft","marginRight","marginLeft","borderRightWidth","borderLeftWidth"].forEach((function(t){i+=parseFloat(e[t])||0})),["paddingTop","paddingBottom","marginTop","marginBottom","borderTopWidth","borderBottomWidth"].forEach((function(t){n+=parseFloat(e[t])||0})),{height:n,width:i}}function b(t){let e,i=t.ownerDocument;if(t.nodeType==Node.TEXT_NODE){let n=i.createRange();n.selectNodeContents(t),e=n.getBoundingClientRect()}else e=t.getBoundingClientRect();return e}function w(){var t=window.innerWidth,e=window.innerHeight;return{top:0,left:0,right:t,bottom:e,width:t,height:e}}function x(t,e){for(var i,n=t.parentNode.childNodes,r=-1,s=0;s<n.length&&((i=n[s]).nodeType===e&&r++,i!=t);s++);return r}function _(t){return x(t,3)}function k(t){return x(t,1)}function E(t){return["xml","opf","ncx"].indexOf(t)>-1}function S(t,e){return new Blob([t],{type:e})}function T(t,e){var i=S(t,e);return s.createObjectURL(i)}function C(t){return s.revokeObjectURL(t)}function O(t,e){if("string"==typeof t)return"data:"+e+";base64,"+btoa(encodeURIComponent(t))}function A(t){return Object.prototype.toString.call(t).slice(8,-1)}function N(t,e,i){var r;return r="undefined"==typeof DOMParser||i?n.DOMParser:DOMParser,65279===t.charCodeAt(0)&&(t=t.slice(1)),(new r).parseFromString(t,e)}function I(t,e){var i;if(!t)throw new Error("No Element Provided");return void 0!==t.querySelector?t.querySelector(e):(i=t.getElementsByTagName(e)).length?i[0]:void 0}function R(t,e){return void 0!==t.querySelector?t.querySelectorAll(e):t.getElementsByTagName(e)}function j(t,e,i){var n,r;if(void 0!==t.querySelector){for(var s in e+="[",i)e+=s+"~='"+i[s]+"'";return e+="]",t.querySelector(e)}if(n=t.getElementsByTagName(e),r=Array.prototype.slice.call(n,0).filter((function(t){for(var e in i)if(t.getAttribute(e)===i[e])return!0;return!1})))return r[0]}function L(t,e){void 0!==(t.ownerDocument||t).createTreeWalker?z(t,e,NodeFilter.SHOW_TEXT):D(t,(function(t){t&&3===t.nodeType&&e(t)}))}function z(t,e,i){var n=document.createTreeWalker(t,i,null,!1);let r;for(;r=n.nextNode();)e(r)}function D(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(D(t,e))return!0;t=t.nextSibling}while(t)}function P(t){return new Promise((function(e,i){var n=new FileReader;n.readAsDataURL(t),n.onloadend=function(){e(n.result)}}))}function B(){this.resolve=null,this.reject=null,this.id=o(),this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e}),Object.freeze(this)}function M(t,e,i){var n;if(void 0!==t.querySelector&&(n=t.querySelector(`${e}[*|type="${i}"]`)),n&&0!==n.length)return n;n=R(t,e);for(var r=0;r<n.length;r++)if(n[r].getAttributeNS("http://www.idpf.org/2007/ops","type")===i||n[r].getAttribute("epub:type")===i)return n[r]}function F(t){for(var e=[],i=t.childNodes,n=0;n<i.length;n++){let t=i[n];1===t.nodeType&&e.push(t)}return e}function q(t){for(var e=[t];t;t=t.parentNode)e.unshift(t);return e}function U(t,e,i){for(var n=[],r=t.childNodes,s=0;s<r.length;s++){let t=r[s];if(1===t.nodeType&&t.nodeName.toLowerCase()===e){if(i)return t;n.push(t)}}if(!i)return n}function W(t,e){let i;if(null!==t&&""!==e)for(i=t.parentNode;1===i.nodeType;){if(i.tagName.toLowerCase()===e)return i;i=i.parentNode}}class ${constructor(){this.collapsed=!1,this.commonAncestorContainer=void 0,this.endContainer=void 0,this.endOffset=void 0,this.startContainer=void 0,this.startOffset=void 0}setStart(t,e){this.startContainer=t,this.startOffset=e,this.endContainer?this.commonAncestorContainer=this._commonAncestorContainer():this.collapse(!0),this._checkCollapsed()}setEnd(t,e){this.endContainer=t,this.endOffset=e,this.startContainer?(this.collapsed=!1,this.commonAncestorContainer=this._commonAncestorContainer()):this.collapse(!1),this._checkCollapsed()}collapse(t){this.collapsed=!0,t?(this.endContainer=this.startContainer,this.endOffset=this.startOffset,this.commonAncestorContainer=this.startContainer.parentNode):(this.startContainer=this.endContainer,this.startOffset=this.endOffset,this.commonAncestorContainer=this.endOffset.parentNode)}selectNode(t){let e=t.parentNode,i=Array.prototype.indexOf.call(e.childNodes,t);this.setStart(e,i),this.setEnd(e,i+1)}selectNodeContents(t){t.childNodes[t.childNodes-1];let e=3===t.nodeType?t.textContent.length:parent.childNodes.length;this.setStart(t,0),this.setEnd(t,e)}_commonAncestorContainer(t,e){var i=q(t||this.startContainer),n=q(e||this.endContainer);if(i[0]==n[0])for(var r=0;r<i.length;r++)if(i[r]!=n[r])return i[r-1]}_checkCollapsed(){this.startContainer===this.endContainer&&this.startOffset===this.endOffset?this.collapsed=!0:this.collapsed=!1}toString(){}}},function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"a",(function(){return r})),i.d(e,"c",(function(){return s}));const n="0.3",r=["keydown","keyup","keypressed","mouseup","mousedown","click","touchend","touchstart","touchmove"],s={BOOK:{OPEN_FAILED:"openFailed"},CONTENTS:{EXPAND:"expand",RESIZE:"resize",SELECTED:"selected",SELECTED_RANGE:"selectedRange",LINK_CLICKED:"linkClicked"},LOCATIONS:{CHANGED:"changed"},MANAGERS:{RESIZE:"resize",RESIZED:"resized",ORIENTATION_CHANGE:"orientationchange",ADDED:"added",SCROLL:"scroll",SCROLLED:"scrolled",REMOVED:"removed"},VIEWS:{AXIS:"axis",WRITING_MODE:"writingMode",LOAD_ERROR:"loaderror",RENDERED:"rendered",RESIZED:"resized",DISPLAYED:"displayed",SHOWN:"shown",HIDDEN:"hidden",MARK_CLICKED:"markClicked"},RENDITION:{STARTED:"started",ATTACHED:"attached",DISPLAYED:"displayed",DISPLAY_ERROR:"displayerror",RENDERED:"rendered",REMOVED:"removed",RESIZED:"resized",ORIENTATION_CHANGE:"orientationchange",LOCATION_CHANGED:"locationChanged",RELOCATED:"relocated",MARK_CLICKED:"markClicked",SELECTED:"selected",LAYOUT:"layout"},LAYOUT:{UPDATED:"updated"},ANNOTATION:{ATTACH:"attach",DETACH:"detach"}}},function(t,e,i){"use strict";var n=i(0);class r{constructor(t,e,i){var s;if(this.str="",this.base={},this.spinePos=0,this.range=!1,this.path={},this.start=null,this.end=null,!(this instanceof r))return new r(t,e,i);if("string"==typeof e?this.base=this.parseComponent(e):"object"==typeof e&&e.steps&&(this.base=e),"string"===(s=this.checkType(t)))return this.str=t,Object(n.extend)(this,this.parse(t));if("range"===s)return Object(n.extend)(this,this.fromRange(t,this.base,i));if("node"===s)return Object(n.extend)(this,this.fromNode(t,this.base,i));if("EpubCFI"===s&&t.path)return t;if(t)throw new TypeError("not a valid argument for EpubCFI");return this}checkType(t){return this.isCfiString(t)?"string":!t||"object"!=typeof t||"Range"!==Object(n.type)(t)&&void 0===t.startContainer?t&&"object"==typeof t&&void 0!==t.nodeType?"node":!!(t&&"object"==typeof t&&t instanceof r)&&"EpubCFI":"range"}parse(t){var e,i,n,r={spinePos:-1,range:!1,base:{},path:{},start:null,end:null};return"string"!=typeof t?{spinePos:-1}:(0===t.indexOf("epubcfi(")&&")"===t[t.length-1]&&(t=t.slice(8,t.length-1)),(e=this.getChapterComponent(t))?(r.base=this.parseComponent(e),i=this.getPathComponent(t),r.path=this.parseComponent(i),(n=this.getRange(t))&&(r.range=!0,r.start=this.parseComponent(n[0]),r.end=this.parseComponent(n[1])),r.spinePos=r.base.steps[1].index,r):{spinePos:-1})}parseComponent(t){var e,i={steps:[],terminal:{offset:null,assertion:null}},n=t.split(":"),r=n[0].split("/");return n.length>1&&(e=n[1],i.terminal=this.parseTerminal(e)),""===r[0]&&r.shift(),i.steps=r.map(function(t){return this.parseStep(t)}.bind(this)),i}parseStep(t){var e,i,n,r,s;if((r=t.match(/\[(.*)\]/))&&r[1]&&(s=r[1]),i=parseInt(t),!isNaN(i))return i%2==0?(e="element",n=i/2-1):(e="text",n=(i-1)/2),{type:e,index:n,id:s||null}}parseTerminal(t){var e,i,r=t.match(/\[(.*)\]/);return r&&r[1]?(e=parseInt(t.split("[")[0]),i=r[1]):e=parseInt(t),Object(n.isNumber)(e)||(e=null),{offset:e,assertion:i}}getChapterComponent(t){return t.split("!")[0]}getPathComponent(t){var e=t.split("!");if(e[1])return e[1].split(",")[0]}getRange(t){var e=t.split(",");return 3===e.length&&[e[1],e[2]]}getCharecterOffsetComponent(t){return t.split(":")[1]||""}joinSteps(t){return t?t.map((function(t){var e="";return"element"===t.type&&(e+=2*(t.index+1)),"text"===t.type&&(e+=1+2*t.index),t.id&&(e+="["+t.id+"]"),e})).join("/"):""}segmentString(t){var e="/";return e+=this.joinSteps(t.steps),t.terminal&&null!=t.terminal.offset&&(e+=":"+t.terminal.offset),t.terminal&&null!=t.terminal.assertion&&(e+="["+t.terminal.assertion+"]"),e}toString(){var t="epubcfi(";return t+=this.segmentString(this.base),t+="!",t+=this.segmentString(this.path),this.range&&this.start&&(t+=",",t+=this.segmentString(this.start)),this.range&&this.end&&(t+=",",t+=this.segmentString(this.end)),t+")"}compare(t,e){var i,n,s,o;if("string"==typeof t&&(t=new r(t)),"string"==typeof e&&(e=new r(e)),t.spinePos>e.spinePos)return 1;if(t.spinePos<e.spinePos)return-1;t.range?(i=t.path.steps.concat(t.start.steps),s=t.start.terminal):(i=t.path.steps,s=t.path.terminal),e.range?(n=e.path.steps.concat(e.start.steps),o=e.start.terminal):(n=e.path.steps,o=e.path.terminal);for(var a=0;a<i.length;a++){if(!i[a])return-1;if(!n[a])return 1;if(i[a].index>n[a].index)return 1;if(i[a].index<n[a].index)return-1}return i.length<n.length?-1:s.offset>o.offset?1:s.offset<o.offset?-1:0}step(t){var e=3===t.nodeType?"text":"element";return{id:t.id,tagName:t.tagName,type:e,index:this.position(t)}}filteredStep(t,e){var i,n=this.filter(t,e);if(n)return i=3===n.nodeType?"text":"element",{id:n.id,tagName:n.tagName,type:i,index:this.filteredPosition(n,e)}}pathTo(t,e,i){for(var n,r={steps:[],terminal:{offset:null,assertion:null}},s=t;s&&s.parentNode&&9!=s.parentNode.nodeType;)(n=i?this.filteredStep(s,i):this.step(s))&&r.steps.unshift(n),s=s.parentNode;return null!=e&&e>=0&&(r.terminal.offset=e,"text"!=r.steps[r.steps.length-1].type&&r.steps.push({type:"text",index:0})),r}equalStep(t,e){return!(!t||!e)&&t.index===e.index&&t.id===e.id&&t.type===e.type}fromRange(t,e,i){var n={range:!1,base:{},path:{},start:null,end:null},r=t.startContainer,s=t.endContainer,o=t.startOffset,a=t.endOffset,l=!1;if(i&&(l=null!=r.ownerDocument.querySelector("."+i)),"string"==typeof e?(n.base=this.parseComponent(e),n.spinePos=n.base.steps[1].index):"object"==typeof e&&(n.base=e),t.collapsed)l&&(o=this.patchOffset(r,o,i)),n.path=this.pathTo(r,o,i);else{n.range=!0,l&&(o=this.patchOffset(r,o,i)),n.start=this.pathTo(r,o,i),l&&(a=this.patchOffset(s,a,i)),n.end=this.pathTo(s,a,i),n.path={steps:[],terminal:null};var c,h=n.start.steps.length;for(c=0;c<h&&this.equalStep(n.start.steps[c],n.end.steps[c]);c++)c===h-1?n.start.terminal===n.end.terminal&&(n.path.steps.push(n.start.steps[c]),n.range=!1):n.path.steps.push(n.start.steps[c]);n.start.steps=n.start.steps.slice(n.path.steps.length),n.end.steps=n.end.steps.slice(n.path.steps.length)}return n}fromNode(t,e,i){var n={range:!1,base:{},path:{},start:null,end:null};return"string"==typeof e?(n.base=this.parseComponent(e),n.spinePos=n.base.steps[1].index):"object"==typeof e&&(n.base=e),n.path=this.pathTo(t,null,i),n}filter(t,e){var i,n,r,s,o,a=!1;return 3===t.nodeType?(a=!0,r=t.parentNode,i=t.parentNode.classList.contains(e)):(a=!1,i=t.classList.contains(e)),i&&a?(s=r.previousSibling,o=r.nextSibling,s&&3===s.nodeType?n=s:o&&3===o.nodeType&&(n=o),n||t):!(i&&!a)&&t}patchOffset(t,e,i){if(3!=t.nodeType)throw new Error("Anchor must be a text node");var n=t,r=e;for(t.parentNode.classList.contains(i)&&(n=t.parentNode);n.previousSibling;){if(1===n.previousSibling.nodeType){if(!n.previousSibling.classList.contains(i))break;r+=n.previousSibling.textContent.length}else r+=n.previousSibling.textContent.length;n=n.previousSibling}return r}normalizedMap(t,e,i){var n,r,s,o={},a=-1,l=t.length;for(n=0;n<l;n++)1===(r=t[n].nodeType)&&t[n].classList.contains(i)&&(r=3),n>0&&3===r&&3===s?o[n]=a:e===r&&(a+=1,o[n]=a),s=r;return o}position(t){var e,i;return 1===t.nodeType?((e=t.parentNode.children)||(e=Object(n.findChildren)(t.parentNode)),i=Array.prototype.indexOf.call(e,t)):i=(e=this.textNodes(t.parentNode)).indexOf(t),i}filteredPosition(t,e){var i,n;return 1===t.nodeType?(i=t.parentNode.children,n=this.normalizedMap(i,1,e)):(i=t.parentNode.childNodes,t.parentNode.classList.contains(e)&&(i=(t=t.parentNode).parentNode.childNodes),n=this.normalizedMap(i,3,e)),n[Array.prototype.indexOf.call(i,t)]}stepsToXpath(t){var e=[".","*"];return t.forEach((function(t){var i=t.index+1;t.id?e.push("*[position()="+i+" and @id='"+t.id+"']"):"text"===t.type?e.push("text()["+i+"]"):e.push("*["+i+"]")})),e.join("/")}stepsToQuerySelector(t){var e=["html"];return t.forEach((function(t){var i=t.index+1;t.id?e.push("#"+t.id):"text"===t.type||e.push("*:nth-child("+i+")")})),e.join(">")}textNodes(t,e){return Array.prototype.slice.call(t.childNodes).filter((function(t){return 3===t.nodeType||!(!e||!t.classList.contains(e))}))}walkToNode(t,e,i){var r,s,o=e||document,a=o.documentElement,l=t.length;for(s=0;s<l&&("element"===(r=t[s]).type?a=r.id?o.getElementById(r.id):(a.children||Object(n.findChildren)(a))[r.index]:"text"===r.type&&(a=this.textNodes(a,i)[r.index]),a);s++);return a}findNode(t,e,i){var n,r,s=e||document;return i||void 0===s.evaluate?n=i?this.walkToNode(t,s,i):this.walkToNode(t,s):(r=this.stepsToXpath(t),n=s.evaluate(r,s,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue),n}fixMiss(t,e,i,n){var r,s,o=this.findNode(t.slice(0,-1),i,n),a=o.childNodes,l=this.normalizedMap(a,3,n),c=t[t.length-1].index;for(let t in l){if(!l.hasOwnProperty(t))return;if(l[t]===c){if(!(e>(s=(r=a[t]).textContent.length))){o=1===r.nodeType?r.childNodes[0]:r;break}e-=s}}return{container:o,offset:e}}toRange(t,e){var i,r,s,o,a,l,c,h,u=t||document,d=!!e&&null!=u.querySelector("."+e);if(i=void 0!==u.createRange?u.createRange():new n.RangeObject,this.range?(r=this.start,l=this.path.steps.concat(r.steps),o=this.findNode(l,u,d?e:null),s=this.end,c=this.path.steps.concat(s.steps),a=this.findNode(c,u,d?e:null)):(r=this.path,l=this.path.steps,o=this.findNode(this.path.steps,u,d?e:null)),!o)return console.log("No startContainer found for",this.toString()),null;try{null!=r.terminal.offset?i.setStart(o,r.terminal.offset):i.setStart(o,0)}catch(t){h=this.fixMiss(l,r.terminal.offset,u,d?e:null),i.setStart(h.container,h.offset)}if(a)try{null!=s.terminal.offset?i.setEnd(a,s.terminal.offset):i.setEnd(a,0)}catch(t){h=this.fixMiss(c,this.end.terminal.offset,u,d?e:null),i.setEnd(h.container,h.offset)}return i}isCfiString(t){return"string"==typeof t&&0===t.indexOf("epubcfi(")&&")"===t[t.length-1]}generateChapterComponent(t,e,i){var n="/"+2*(t+1)+"/";return n+=2*(parseInt(e)+1),i&&(n+="["+i+"]"),n}collapse(t){this.range&&(this.range=!1,t?(this.path.steps=this.path.steps.concat(this.start.steps),this.path.terminal=this.start.terminal):(this.path.steps=this.path.steps.concat(this.end.steps),this.path.terminal=this.end.terminal))}}e.a=r},function(t,e,i){"use strict";var n,r,s,o,a,l,c,h=i(108),u=i(122),d=Function.prototype.apply,f=Function.prototype.call,p=Object.create,g=Object.defineProperty,m=Object.defineProperties,v=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var i,r;return u(e),r=this,n.call(this,t,i=function(){s.call(r,t,i),d.call(e,this,arguments)}),i.__eeOnceListener__=e,this},a={on:n=function(t,e){var i;return u(e),v.call(this,"__ee__")?i=this.__ee__:(i=y.value=p(null),g(this,"__ee__",y),y.value=null),i[t]?"object"==typeof i[t]?i[t].push(e):i[t]=[i[t],e]:i[t]=e,this},once:r,off:s=function(t,e){var i,n,r,s;if(u(e),!v.call(this,"__ee__"))return this;if(!(i=this.__ee__)[t])return this;if("object"==typeof(n=i[t]))for(s=0;r=n[s];++s)r!==e&&r.__eeOnceListener__!==e||(2===n.length?i[t]=n[s?0:1]:n.splice(s,1));else n!==e&&n.__eeOnceListener__!==e||delete i[t];return this},emit:o=function(t){var e,i,n,r,s;if(v.call(this,"__ee__")&&(r=this.__ee__[t]))if("object"==typeof r){for(i=arguments.length,s=new Array(i-1),e=1;e<i;++e)s[e-1]=arguments[e];for(r=r.slice(),e=0;n=r[e];++e)d.call(n,this,s)}else switch(arguments.length){case 1:f.call(r,this);break;case 2:f.call(r,this,arguments[1]);break;case 3:f.call(r,this,arguments[1],arguments[2]);break;default:for(i=arguments.length,s=new Array(i-1),e=1;e<i;++e)s[e-1]=arguments[e];d.call(r,this,s)}}},l={on:h(n),once:h(r),off:h(s),emit:h(o)},c=m({},l),t.exports=e=function(t){return null==t?p(c):m(Object(t),l)},e.methods=a},function(t,e,i){"use strict";i(14),i(20);var n=i(9),r=i.n(n);e.a=class{constructor(t){var e;t.indexOf("://")>-1&&(t=new URL(t).pathname),e=this.parse(t),this.path=t,this.isDirectory(t)?this.directory=t:this.directory=e.dir+"/",this.filename=e.base,this.extension=e.ext.slice(1)}parse(t){return r.a.parse(t)}isAbsolute(t){return r.a.isAbsolute(t||this.path)}isDirectory(t){return"/"===t.charAt(t.length-1)}resolve(t){return r.a.resolve(this.directory,t)}relative(t){return t&&t.indexOf("://")>-1?t:r.a.relative(this.directory,t)}splitPath(t){return this.splitPathRe.exec(t).slice(1)}toString(){return this.path}}},function(t,e,i){"use strict";i(14),i(20);var n=i(4),r=i(9),s=i.n(r);e.a=class{constructor(t,e){var i=t.indexOf("://")>-1,r=t;if(this.Url=void 0,this.href=t,this.protocol="",this.origin="",this.hash="",this.hash="",this.search="",this.base=e,!i&&!1!==e&&"string"!=typeof e&&window&&window.location&&(this.base=window.location.href),i||this.base)try{this.base?this.Url=new URL(t,this.base):this.Url=new URL(t),this.href=this.Url.href,this.protocol=this.Url.protocol,this.origin=this.Url.origin,this.hash=this.Url.hash,this.search=this.Url.search,r=this.Url.pathname+(this.Url.search?this.Url.search:"")}catch(t){this.Url=void 0,this.base&&(r=new n.a(this.base).resolve(r))}this.Path=new n.a(r),this.directory=this.Path.directory,this.filename=this.Path.filename,this.extension=this.Path.extension}path(){return this.Path}resolve(t){var e;return t.indexOf("://")>-1?t:(e=s.a.resolve(this.directory,t),this.origin+e)}relative(t){return s.a.relative(t,this.directory)}toString(){return this.href}}},function(t,e,i){"use strict";i(14),e.a=class{constructor(t){this.context=t||this,this.hooks=[]}register(){for(var t=0;t<arguments.length;++t)if("function"==typeof arguments[t])this.hooks.push(arguments[t]);else for(var e=0;e<arguments[t].length;++e)this.hooks.push(arguments[t][e])}deregister(t){let e;for(let i=0;i<this.hooks.length;i++)if(e=this.hooks[i],e===t){this.hooks.splice(i,1);break}}trigger(){var t=arguments,e=this.context,i=[];return this.hooks.forEach((function(n){var r=n.apply(e,t);r&&"function"==typeof r.then&&i.push(r)})),Promise.all(i)}list(){return this.hooks}clear(){return this.hooks=[]}}},function(t,e,i){(function(e){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||Function("return this")()}).call(this,i(30))},function(t,e,i){var n=i(7),r=i(66),s=i(10),o=i(67),a=i(70),l=i(99),c=r("wks"),h=n.Symbol,u=l?h:h&&h.withoutSetter||o;t.exports=function(t){return s(c,t)||(a&&s(h,t)?c[t]=h[t]:c[t]=u("Symbol."+t)),c[t]}},function(t,e,i){"use strict";if(!n)var n={cwd:function(){return"/"}};function r(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+t)}function s(t,e){for(var i,n="",r=-1,s=0,o=0;o<=t.length;++o){if(o<t.length)i=t.charCodeAt(o);else{if(47===i)break;i=47}if(47===i){if(r===o-1||1===s);else if(r!==o-1&&2===s){if(n.length<2||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){for(var a=n.length-1,l=a;l>=0&&47!==n.charCodeAt(l);--l);if(l!==a){n=-1===l?"":n.slice(0,l),r=o,s=0;continue}}else if(2===n.length||1===n.length){n="",r=o,s=0;continue}e&&(n.length>0?n+="/..":n="..")}else n.length>0?n+="/"+t.slice(r+1,o):n=t.slice(r+1,o);r=o,s=0}else 46===i&&-1!==s?++s:s=-1}return n}var o={resolve:function(){for(var t,e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a;o>=0?a=arguments[o]:(void 0===t&&(t=n.cwd()),a=t),r(a),0!==a.length&&(e=a+"/"+e,i=47===a.charCodeAt(0))}return e=s(e,!i),i?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(t){if(r(t),0===t.length)return".";var e=47===t.charCodeAt(0),i=47===t.charCodeAt(t.length-1);return 0!==(t=s(t,!e)).length||e||(t="."),t.length>0&&i&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return r(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,e=0;e<arguments.length;++e){var i=arguments[e];r(i),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":o.normalize(t)},relative:function(t,e){if(r(t),r(e),t===e)return"";if((t=o.resolve(t))===(e=o.resolve(e)))return"";for(var i=1;i<t.length&&47===t.charCodeAt(i);++i);for(var n=t.length,s=n-i,a=1;a<e.length&&47===e.charCodeAt(a);++a);for(var l=e.length-a,c=s<l?s:l,h=-1,u=0;u<=c;++u){if(u===c){if(l>c){if(47===e.charCodeAt(a+u))return e.slice(a+u+1);if(0===u)return e.slice(a+u)}else s>c&&(47===t.charCodeAt(i+u)?h=u:0===u&&(h=0));break}var d=t.charCodeAt(i+u);if(d!==e.charCodeAt(a+u))break;47===d&&(h=u)}var f="";for(u=i+h+1;u<=n;++u)u!==n&&47!==t.charCodeAt(u)||(0===f.length?f+="..":f+="/..");return f.length>0?f+e.slice(a+h):(a+=h,47===e.charCodeAt(a)&&++a,e.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(r(t),0===t.length)return".";for(var e=t.charCodeAt(0),i=47===e,n=-1,s=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!s){n=o;break}}else s=!1;return-1===n?i?"/":".":i&&1===n?"//":t.slice(0,n)},basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');r(t);var i,n=0,s=-1,o=!0;if(void 0!==e&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var a=e.length-1,l=-1;for(i=t.length-1;i>=0;--i){var c=t.charCodeAt(i);if(47===c){if(!o){n=i+1;break}}else-1===l&&(o=!1,l=i+1),a>=0&&(c===e.charCodeAt(a)?-1==--a&&(s=i):(a=-1,s=l))}return n===s?s=l:-1===s&&(s=t.length),t.slice(n,s)}for(i=t.length-1;i>=0;--i)if(47===t.charCodeAt(i)){if(!o){n=i+1;break}}else-1===s&&(o=!1,s=i+1);return-1===s?"":t.slice(n,s)},extname:function(t){r(t);for(var e=-1,i=0,n=-1,s=!0,o=0,a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(47!==l)-1===n&&(s=!1,n=a+1),46===l?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!s){i=a+1;break}}return-1===e||-1===n||0===o||1===o&&e===n-1&&e===i+1?"":t.slice(e,n)},format:function(t){if(null===t||"object"!=typeof t)throw new TypeError('Parameter "pathObject" must be an object, not '+typeof t);return function(t,e){var i=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");return i?i===e.root?i+n:i+"/"+n:n}(0,t)},parse:function(t){r(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return e;var i,n=t.charCodeAt(0),s=47===n;s?(e.root="/",i=1):i=0;for(var o=-1,a=0,l=-1,c=!0,h=t.length-1,u=0;h>=i;--h)if(47!==(n=t.charCodeAt(h)))-1===l&&(c=!1,l=h+1),46===n?-1===o?o=h:1!==u&&(u=1):-1!==o&&(u=-1);else if(!c){a=h+1;break}return-1===o||-1===l||0===u||1===u&&o===l-1&&o===a+1?-1!==l&&(e.base=e.name=0===a&&s?t.slice(1,l):t.slice(a,l)):(0===a&&s?(e.name=t.slice(1,o),e.base=t.slice(1,l)):(e.name=t.slice(a,o),e.base=t.slice(a,l)),e.ext=t.slice(o,l)),a>0?e.dir=t.slice(0,a-1):s&&(e.dir="/"),e},sep:"/",delimiter:":",posix:null};t.exports=o},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return o})),i.d(e,"d",(function(){return a})),i.d(e,"c",(function(){return l})),i.d(e,"e",(function(){return c})),i(24);var n=i(0),r=i(5);function s(t,e){var i,r,s=e.url,o=s.indexOf("://")>-1;t&&(r=Object(n.qs)(t,"head"),(i=Object(n.qs)(r,"base"))||(i=t.createElement("base"),r.insertBefore(i,r.firstChild)),!o&&window&&window.location&&(s=window.location.origin+s),i.setAttribute("href",s))}function o(t,e){var i,r,s=e.canonical;t&&(i=Object(n.qs)(t,"head"),(r=Object(n.qs)(i,"link[rel='canonical']"))?r.setAttribute("href",s):((r=t.createElement("link")).setAttribute("rel","canonical"),r.setAttribute("href",s),i.appendChild(r)))}function a(t,e){var i,r,s=e.idref;t&&(i=Object(n.qs)(t,"head"),(r=Object(n.qs)(i,"link[property='dc.identifier']"))?r.setAttribute("content",s):((r=t.createElement("meta")).setAttribute("name","dc.identifier"),r.setAttribute("content",s),i.appendChild(r)))}function l(t,e){var i=t.querySelectorAll("a[href]");if(i.length)for(var s=Object(n.qs)(t.ownerDocument,"base"),o=s?s.getAttribute("href"):void 0,a=function(t){var i=t.getAttribute("href");if(0!==i.indexOf("mailto:"))if(i.indexOf("://")>-1)t.setAttribute("target","_blank");else{var n;try{n=new r.a(i,o)}catch(t){}t.onclick=function(){return n&&n.hash?e(n.Path.path+n.hash):e(n?n.Path.path:i),!1}}}.bind(this),l=0;l<i.length;l++)a(i[l])}function c(t,e,i){return e.forEach((function(e,n){e&&i[n]&&(e=e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),t=t.replace(new RegExp(e,"g"),i[n]))})),t}i(4)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var n=i(17);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,i){var n=i(7),r=i(102),s=i(71),o=i(15),a=i(8),l=a("iterator"),c=a("toStringTag"),h=s.values;for(var u in r){var d=n[u],f=d&&d.prototype;if(f){if(f[l]!==h)try{o(f,l,h)}catch(t){f[l]=h}if(f[c]||o(f,c,u),r[u])for(var p in s)if(f[p]!==s[p])try{o(f,p,s[p])}catch(t){f[p]=s[p]}}}},function(t,e,i){var n=i(16),r=i(18),s=i(25);t.exports=n?function(t,e,i){return r.f(t,e,s(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(12);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){var n=i(16),r=i(62),s=i(13),o=i(41),a=Object.defineProperty;e.f=n?a:function(t,e,i){if(s(t),e=o(e,!0),s(i),r)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(7),r=i(15),s=i(10),o=i(42),a=i(64),l=i(26),c=l.get,h=l.enforce,u=String(String).split("String");(t.exports=function(t,e,i,a){var l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||s(i,"name")||r(i,"name",e),h(i).source=u.join("string"==typeof e?e:"")),t!==n?(l?!d&&t[e]&&(c=!0):delete t[e],c?t[e]=i:r(t,e,i)):c?t[e]=i:o(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||a(this)}))},function(t,e,i){"use strict";i(123);var n,r=i(31),s=i(16),o=i(78),a=i(7),l=i(72),c=i(19),h=i(79),u=i(10),d=i(124),f=i(125),p=i(49).codeAt,g=i(131),m=i(37),v=i(132),y=i(26),b=a.URL,w=v.URLSearchParams,x=v.getState,_=y.set,k=y.getterFor("URL"),E=Math.floor,S=Math.pow,T=/[A-Za-z]/,C=/[\d+-.A-Za-z]/,O=/\d/,A=/^(0x|0X)/,N=/^[0-7]+$/,I=/^\d+$/,R=/^[\dA-Fa-f]+$/,j=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,L=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,z=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\u0009\u000A\u000D]/g,P=function(t,e){var i,n,r;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(i=M(e.slice(1,-1))))return"Invalid host";t.host=i}else if(Y(t)){if(e=g(e),j.test(e))return"Invalid host";if(null===(i=B(e)))return"Invalid host";t.host=i}else{if(L.test(e))return"Invalid host";for(i="",n=f(e),r=0;r<n.length;r++)i+=H(n[r],q);t.host=i}},B=function(t){var e,i,n,r,s,o,a,l=t.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(e=l.length)>4)return t;for(i=[],n=0;n<e;n++){if(""==(r=l[n]))return t;if(s=10,r.length>1&&"0"==r.charAt(0)&&(s=A.test(r)?16:8,r=r.slice(8==s?1:2)),""===r)o=0;else{if(!(10==s?I:8==s?N:R).test(r))return t;o=parseInt(r,s)}i.push(o)}for(n=0;n<e;n++)if(o=i[n],n==e-1){if(o>=S(256,5-e))return null}else if(o>255)return null;for(a=i.pop(),n=0;n<i.length;n++)a+=i[n]*S(256,3-n);return a},M=function(t){var e,i,n,r,s,o,a,l=[0,0,0,0,0,0,0,0],c=0,h=null,u=0,d=function(){return t.charAt(u)};if(":"==d()){if(":"!=t.charAt(1))return;u+=2,h=++c}for(;d();){if(8==c)return;if(":"!=d()){for(e=i=0;i<4&&R.test(d());)e=16*e+parseInt(d(),16),u++,i++;if("."==d()){if(0==i)return;if(u-=i,c>6)return;for(n=0;d();){if(r=null,n>0){if(!("."==d()&&n<4))return;u++}if(!O.test(d()))return;for(;O.test(d());){if(s=parseInt(d(),10),null===r)r=s;else{if(0==r)return;r=10*r+s}if(r>255)return;u++}l[c]=256*l[c]+r,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==d()){if(u++,!d())return}else if(d())return;l[c++]=e}else{if(null!==h)return;u++,h=++c}}if(null!==h)for(o=c-h,c=7;0!=c&&o>0;)a=l[c],l[c--]=l[h+o-1],l[h+--o]=a;else if(8!=c)return;return l},F=function(t){var e,i,n,r;if("number"==typeof t){for(e=[],i=0;i<4;i++)e.unshift(t%256),t=E(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,i=1,n=null,r=0,s=0;s<8;s++)0!==t[s]?(r>i&&(e=n,i=r),n=null,r=0):(null===n&&(n=s),++r);return r>i&&(e=n,i=r),e}(t),i=0;i<8;i++)r&&0===t[i]||(r&&(r=!1),n===i?(e+=i?":":"::",r=!0):(e+=t[i].toString(16),i<7&&(e+=":")));return"["+e+"]"}return t},q={},U=d({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),W=d({},U,{"#":1,"?":1,"{":1,"}":1}),$=d({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),H=function(t,e){var i=p(t,0);return i>32&&i<127&&!u(e,t)?t:encodeURIComponent(t)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(t){return u(X,t.scheme)},V=function(t){return""!=t.username||""!=t.password},Z=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},G=function(t,e){var i;return 2==t.length&&T.test(t.charAt(0))&&(":"==(i=t.charAt(1))||!e&&"|"==i)},K=function(t){var e;return t.length>1&&G(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Q=function(t){var e=t.path,i=e.length;!i||"file"==t.scheme&&1==i&&G(e[0],!0)||e.pop()},J=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},it={},nt={},rt={},st={},ot={},at={},lt={},ct={},ht={},ut={},dt={},ft={},pt={},gt={},mt={},vt={},yt={},bt={},wt={},xt=function(t,e,i,r){var s,o,a,l,c,h=i||tt,d=0,p="",g=!1,m=!1,v=!1;for(i||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(z,"")),e=e.replace(D,""),s=f(e);d<=s.length;){switch(o=s[d],h){case tt:if(!o||!T.test(o)){if(i)return"Invalid scheme";h=it;continue}p+=o.toLowerCase(),h=et;break;case et:if(o&&(C.test(o)||"+"==o||"-"==o||"."==o))p+=o.toLowerCase();else{if(":"!=o){if(i)return"Invalid scheme";p="",h=it,d=0;continue}if(i&&(Y(t)!=u(X,p)||"file"==p&&(V(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=p,i)return void(Y(t)&&X[t.scheme]==t.port&&(t.port=null));p="","file"==t.scheme?h=ft:Y(t)&&r&&r.scheme==t.scheme?h=nt:Y(t)?h=at:"/"==s[d+1]?(h=rt,d++):(t.cannotBeABaseURL=!0,t.path.push(""),h=yt)}break;case it:if(!r||r.cannotBeABaseURL&&"#"!=o)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"==o){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,h=wt;break}h="file"==r.scheme?ft:st;continue;case nt:if("/"!=o||"/"!=s[d+1]){h=st;continue}h=lt,d++;break;case rt:if("/"==o){h=ct;break}h=vt;continue;case st:if(t.scheme=r.scheme,o==n)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==o||"\\"==o&&Y(t))h=ot;else if("?"==o)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",h=bt;else{if("#"!=o){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),h=vt;continue}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",h=wt}break;case ot:if(!Y(t)||"/"!=o&&"\\"!=o){if("/"!=o){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,h=vt;continue}h=ct}else h=lt;break;case at:if(h=lt,"/"!=o||"/"!=p.charAt(d+1))continue;d++;break;case lt:if("/"!=o&&"\\"!=o){h=ct;continue}break;case ct:if("@"==o){g&&(p="%40"+p),g=!0,a=f(p);for(var y=0;y<a.length;y++){var b=a[y];if(":"!=b||v){var w=H(b,$);v?t.password+=w:t.username+=w}else v=!0}p=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Y(t)){if(g&&""==p)return"Invalid authority";d-=f(p).length+1,p="",h=ht}else p+=o;break;case ht:case ut:if(i&&"file"==t.scheme){h=gt;continue}if(":"!=o||m){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Y(t)){if(Y(t)&&""==p)return"Invalid host";if(i&&""==p&&(V(t)||null!==t.port))return;if(l=P(t,p))return l;if(p="",h=mt,i)return;continue}"["==o?m=!0:"]"==o&&(m=!1),p+=o}else{if(""==p)return"Invalid host";if(l=P(t,p))return l;if(p="",h=dt,i==ut)return}break;case dt:if(!O.test(o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Y(t)||i){if(""!=p){var x=parseInt(p,10);if(x>65535)return"Invalid port";t.port=Y(t)&&x===X[t.scheme]?null:x,p=""}if(i)return;h=mt;continue}return"Invalid port"}p+=o;break;case ft:if(t.scheme="file","/"==o||"\\"==o)h=pt;else{if(!r||"file"!=r.scheme){h=vt;continue}if(o==n)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==o)t.host=r.host,t.path=r.path.slice(),t.query="",h=bt;else{if("#"!=o){K(s.slice(d).join(""))||(t.host=r.host,t.path=r.path.slice(),Q(t)),h=vt;continue}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",h=wt}}break;case pt:if("/"==o||"\\"==o){h=gt;break}r&&"file"==r.scheme&&!K(s.slice(d).join(""))&&(G(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),h=vt;continue;case gt:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!i&&G(p))h=vt;else if(""==p){if(t.host="",i)return;h=mt}else{if(l=P(t,p))return l;if("localhost"==t.host&&(t.host=""),i)return;p="",h=mt}continue}p+=o;break;case mt:if(Y(t)){if(h=vt,"/"!=o&&"\\"!=o)continue}else if(i||"?"!=o)if(i||"#"!=o){if(o!=n&&(h=vt,"/"!=o))continue}else t.fragment="",h=wt;else t.query="",h=bt;break;case vt:if(o==n||"/"==o||"\\"==o&&Y(t)||!i&&("?"==o||"#"==o)){if(".."===(c=(c=p).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(Q(t),"/"==o||"\\"==o&&Y(t)||t.path.push("")):J(p)?"/"==o||"\\"==o&&Y(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&G(p)&&(t.host&&(t.host=""),p=p.charAt(0)+":"),t.path.push(p)),p="","file"==t.scheme&&(o==n||"?"==o||"#"==o))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==o?(t.query="",h=bt):"#"==o&&(t.fragment="",h=wt)}else p+=H(o,W);break;case yt:"?"==o?(t.query="",h=bt):"#"==o?(t.fragment="",h=wt):o!=n&&(t.path[0]+=H(o,q));break;case bt:i||"#"!=o?o!=n&&("'"==o&&Y(t)?t.query+="%27":t.query+="#"==o?"%23":H(o,q)):(t.fragment="",h=wt);break;case wt:o!=n&&(t.fragment+=H(o,U))}d++}},_t=function(t){var e,i,n=h(this,_t,"URL"),r=arguments.length>1?arguments[1]:void 0,o=String(t),a=_(n,{type:"URL"});if(void 0!==r)if(r instanceof _t)e=k(r);else if(i=xt(e={},String(r)))throw TypeError(i);if(i=xt(a,o,null,e))throw TypeError(i);var l=a.searchParams=new w,c=x(l);c.updateSearchParams(a.query),c.updateURL=function(){a.query=String(l)||null},s||(n.href=Et.call(n),n.origin=St.call(n),n.protocol=Tt.call(n),n.username=Ct.call(n),n.password=Ot.call(n),n.host=At.call(n),n.hostname=Nt.call(n),n.port=It.call(n),n.pathname=Rt.call(n),n.search=jt.call(n),n.searchParams=Lt.call(n),n.hash=zt.call(n))},kt=_t.prototype,Et=function(){var t=k(this),e=t.scheme,i=t.username,n=t.password,r=t.host,s=t.port,o=t.path,a=t.query,l=t.fragment,c=e+":";return null!==r?(c+="//",V(t)&&(c+=i+(n?":"+n:"")+"@"),c+=F(r),null!==s&&(c+=":"+s)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==a&&(c+="?"+a),null!==l&&(c+="#"+l),c},St=function(){var t=k(this),e=t.scheme,i=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Y(t)?e+"://"+F(t.host)+(null!==i?":"+i:""):"null"},Tt=function(){return k(this).scheme+":"},Ct=function(){return k(this).username},Ot=function(){return k(this).password},At=function(){var t=k(this),e=t.host,i=t.port;return null===e?"":null===i?F(e):F(e)+":"+i},Nt=function(){var t=k(this).host;return null===t?"":F(t)},It=function(){var t=k(this).port;return null===t?"":String(t)},Rt=function(){var t=k(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},jt=function(){var t=k(this).query;return t?"?"+t:""},Lt=function(){return k(this).searchParams},zt=function(){var t=k(this).fragment;return t?"#"+t:""},Dt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(s&&l(kt,{href:Dt(Et,(function(t){var e=k(this),i=String(t),n=xt(e,i);if(n)throw TypeError(n);x(e.searchParams).updateSearchParams(e.query)})),origin:Dt(St),protocol:Dt(Tt,(function(t){var e=k(this);xt(e,String(t)+":",tt)})),username:Dt(Ct,(function(t){var e=k(this),i=f(String(t));if(!Z(e)){e.username="";for(var n=0;n<i.length;n++)e.username+=H(i[n],$)}})),password:Dt(Ot,(function(t){var e=k(this),i=f(String(t));if(!Z(e)){e.password="";for(var n=0;n<i.length;n++)e.password+=H(i[n],$)}})),host:Dt(At,(function(t){var e=k(this);e.cannotBeABaseURL||xt(e,String(t),ht)})),hostname:Dt(Nt,(function(t){var e=k(this);e.cannotBeABaseURL||xt(e,String(t),ut)})),port:Dt(It,(function(t){var e=k(this);Z(e)||(""==(t=String(t))?e.port=null:xt(e,t,dt))})),pathname:Dt(Rt,(function(t){var e=k(this);e.cannotBeABaseURL||(e.path=[],xt(e,t+"",mt))})),search:Dt(jt,(function(t){var e=k(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",xt(e,t,bt)),x(e.searchParams).updateSearchParams(e.query)})),searchParams:Dt(Lt),hash:Dt(zt,(function(t){var e=k(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",xt(e,t,wt)):e.fragment=null}))}),c(kt,"toJSON",(function(){return Et.call(this)}),{enumerable:!0}),c(kt,"toString",(function(){return Et.call(this)}),{enumerable:!0}),b){var Pt=b.createObjectURL,Bt=b.revokeObjectURL;Pt&&c(_t,"createObjectURL",(function(t){return Pt.apply(b,arguments)})),Bt&&c(_t,"revokeObjectURL",(function(t){return Bt.apply(b,arguments)}))}m(_t,"URL"),r({global:!0,forced:!o,sham:!s},{URL:_t})},function(t,e,i){"use strict";var n=i(0);e.a=class{constructor(t){this._q=[],this.context=t,this.tick=n.requestAnimationFrame,this.running=!1,this.paused=!1}enqueue(){var t,e,i=[].shift.call(arguments),r=arguments;if(!i)throw new Error("No Task Provided");return e="function"==typeof i?{task:i,args:r,deferred:t=new n.defer,promise:t.promise}:{promise:i},this._q.push(e),0!=this.paused||this.running||this.run(),e.promise}dequeue(){var t,e,i;return!this._q.length||this.paused?((t=new n.defer).deferred.resolve(),t.promise):(e=(t=this._q.shift()).task)?(i=e.apply(this.context,t.args))&&"function"==typeof i.then?i.then(function(){t.deferred.resolve.apply(this.context,arguments)}.bind(this),function(){t.deferred.reject.apply(this.context,arguments)}.bind(this)):(t.deferred.resolve.apply(this.context,i),t.promise):t.promise?t.promise:void 0}dump(){for(;this._q.length;)this.dequeue()}run(){return this.running||(this.running=!0,this.defered=new n.defer),this.tick.call(window,()=>{this._q.length?this.dequeue().then(function(){this.run()}.bind(this)):(this.defered.resolve(),this.running=void 0)}),1==this.paused&&(this.paused=!1),this.defered.promise}flush(){return this.running?this.running:this._q.length?(this.running=this.dequeue().then(function(){return this.running=void 0,this.flush()}.bind(this)),this.running):void 0}clear(){this._q=[]}length(){return this._q.length}pause(){this.paused=!0}stop(){this._q=[],this.running=!1,this.paused=!0}}},function(t,e,i){"use strict";var n=i(3),r=i.n(n),s=i(0);var o=i(23),a=i(21),l=i(84),c=i.n(l),h=i(1);class u{constructor(t){this.name="default",this.optsSettings=t.settings,this.View=t.view,this.request=t.request,this.renditionQueue=t.queue,this.q=new a.a(this),this.settings=Object(s.extend)(this.settings||{},{infinite:!0,hidden:!1,width:void 0,height:void 0,axis:void 0,writingMode:void 0,flow:"scrolled",ignoreClass:"",fullsize:void 0}),Object(s.extend)(this.settings,t.settings||{}),this.viewSettings={ignoreClass:this.settings.ignoreClass,axis:this.settings.axis,flow:this.settings.flow,layout:this.layout,method:this.settings.method,width:0,height:0,forceEvenPages:!0},this.rendered=!1}render(t,e){let i=t.tagName;void 0!==this.settings.fullsize||!i||"body"!=i.toLowerCase()&&"html"!=i.toLowerCase()||(this.settings.fullsize=!0),this.settings.fullsize&&(this.settings.overflow="visible",this.overflow=this.settings.overflow),this.settings.size=e,this.settings.rtlScrollType=function(){var t="reverse",e=function(){var t=document.createElement("div");t.dir="rtl",t.style.position="fixed",t.style.width="1px",t.style.height="1px",t.style.top="0px",t.style.left="0px",t.style.overflow="hidden";var e=document.createElement("div");e.style.width="2px";var i=document.createElement("span");i.style.width="1px",i.style.display="inline-block";var n=document.createElement("span");return n.style.width="1px",n.style.display="inline-block",e.appendChild(i),e.appendChild(n),t.appendChild(e),t}();return document.body.appendChild(e),e.scrollLeft>0?t="default":"undefined"!=typeof Element&&Element.prototype.scrollIntoView?(e.children[0].children[1].scrollIntoView(),e.scrollLeft<0&&(t="negative")):(e.scrollLeft=1,0===e.scrollLeft&&(t="negative")),document.body.removeChild(e),t}(),this.stage=new class{constructor(t){this.settings=t||{},this.id="epubjs-container-"+Object(s.uuid)(),this.container=this.create(this.settings),this.settings.hidden&&(this.wrapper=this.wrap(this.container))}create(t){let e=t.height,i=t.width,n=t.overflow||!1,r=t.axis||"vertical",o=t.direction;Object(s.extend)(this.settings,t),t.height&&Object(s.isNumber)(t.height)&&(e=t.height+"px"),t.width&&Object(s.isNumber)(t.width)&&(i=t.width+"px");let a=document.createElement("div");return a.id=this.id,a.classList.add("epub-container"),a.style.wordSpacing="0",a.style.lineHeight="0",a.style.verticalAlign="top",a.style.position="relative","horizontal"===r&&(a.style.display="flex",a.style.flexDirection="row",a.style.flexWrap="nowrap"),i&&(a.style.width=i),e&&(a.style.height=e),n&&("scroll"===n&&"vertical"===r?(a.style["overflow-y"]=n,a.style["overflow-x"]="hidden"):"scroll"===n&&"horizontal"===r?(a.style["overflow-y"]="hidden",a.style["overflow-x"]=n):a.style.overflow=n),o&&(a.dir=o,a.style.direction=o),o&&this.settings.fullsize&&(document.body.style.direction=o),a}wrap(t){var e=document.createElement("div");return e.style.visibility="hidden",e.style.overflow="hidden",e.style.width="0",e.style.height="0",e.appendChild(t),e}getElement(t){var e;if(Object(s.isElement)(t)?e=t:"string"==typeof t&&(e=document.getElementById(t)),!e)throw new Error("Not an Element");return e}attachTo(t){var e,i=this.getElement(t);if(i)return e=this.settings.hidden?this.wrapper:this.container,i.appendChild(e),this.element=i,i}getContainer(){return this.container}onResize(t){Object(s.isNumber)(this.settings.width)&&Object(s.isNumber)(this.settings.height)||(this.resizeFunc=c()(t,50),window.addEventListener("resize",this.resizeFunc,!1))}onOrientationChange(t){this.orientationChangeFunc=t,window.addEventListener("orientationchange",this.orientationChangeFunc,!1)}size(t,e){var i;let n=t||this.settings.width,r=e||this.settings.height;null===t?(i=this.element.getBoundingClientRect()).width&&(t=Math.floor(i.width),this.container.style.width=t+"px"):Object(s.isNumber)(t)?this.container.style.width=t+"px":this.container.style.width=t,null===e?(i=i||this.element.getBoundingClientRect()).height&&(e=i.height,this.container.style.height=e+"px"):Object(s.isNumber)(e)?this.container.style.height=e+"px":this.container.style.height=e,Object(s.isNumber)(t)||(t=this.container.clientWidth),Object(s.isNumber)(e)||(e=this.container.clientHeight),this.containerStyles=window.getComputedStyle(this.container),this.containerPadding={left:parseFloat(this.containerStyles["padding-left"])||0,right:parseFloat(this.containerStyles["padding-right"])||0,top:parseFloat(this.containerStyles["padding-top"])||0,bottom:parseFloat(this.containerStyles["padding-bottom"])||0};let o=Object(s.windowBounds)(),a=window.getComputedStyle(document.body),l=parseFloat(a["padding-left"])||0,c=parseFloat(a["padding-right"])||0,h=parseFloat(a["padding-top"])||0,u=parseFloat(a["padding-bottom"])||0;return n||(t=o.width-l-c),(this.settings.fullsize&&!r||!r)&&(e=o.height-h-u),{width:t-this.containerPadding.left-this.containerPadding.right,height:e-this.containerPadding.top-this.containerPadding.bottom}}bounds(){let t;return"visible"!==this.container.style.overflow&&(t=this.container&&this.container.getBoundingClientRect()),t&&t.width&&t.height?t:Object(s.windowBounds)()}getSheet(){var t=document.createElement("style");return t.appendChild(document.createTextNode("")),document.head.appendChild(t),t.sheet}addStyleRules(t,e){var i="#"+this.id+" ",n="";this.sheet||(this.sheet=this.getSheet()),e.forEach((function(t){for(var e in t)t.hasOwnProperty(e)&&(n+=e+":"+t[e]+";")})),this.sheet.insertRule(i+t+" {"+n+"}",0)}axis(t){"horizontal"===t?(this.container.style.display="flex",this.container.style.flexDirection="row",this.container.style.flexWrap="nowrap"):this.container.style.display="block",this.settings.axis=t}direction(t){this.container&&(this.container.dir=t,this.container.style.direction=t),this.settings.fullsize&&(document.body.style.direction=t),this.settings.dir=t}overflow(t){this.container&&("scroll"===t&&"vertical"===this.settings.axis?(this.container.style["overflow-y"]=t,this.container.style["overflow-x"]="hidden"):"scroll"===t&&"horizontal"===this.settings.axis?(this.container.style["overflow-y"]="hidden",this.container.style["overflow-x"]=t):this.container.style.overflow=t),this.settings.overflow=t}destroy(){this.element&&(this.settings.hidden?this.wrapper:this.container,this.element.contains(this.container)&&this.element.removeChild(this.container),window.removeEventListener("resize",this.resizeFunc),window.removeEventListener("orientationChange",this.orientationChangeFunc))}}({width:e.width,height:e.height,overflow:this.overflow,hidden:this.settings.hidden,axis:this.settings.axis,fullsize:this.settings.fullsize,direction:this.settings.direction}),this.stage.attachTo(t),this.container=this.stage.getContainer(),this.views=new class{constructor(t){this.container=t,this._views=[],this.length=0,this.hidden=!1}all(){return this._views}first(){return this._views[0]}last(){return this._views[this._views.length-1]}indexOf(t){return this._views.indexOf(t)}slice(){return this._views.slice.apply(this._views,arguments)}get(t){return this._views[t]}append(t){return this._views.push(t),this.container&&this.container.appendChild(t.element),this.length++,t}prepend(t){return this._views.unshift(t),this.container&&this.container.insertBefore(t.element,this.container.firstChild),this.length++,t}insert(t,e){return this._views.splice(e,0,t),this.container&&(e<this.container.children.length?this.container.insertBefore(t.element,this.container.children[e]):this.container.appendChild(t.element)),this.length++,t}remove(t){var e=this._views.indexOf(t);e>-1&&this._views.splice(e,1),this.destroy(t),this.length--}destroy(t){t.displayed&&t.destroy(),this.container&&this.container.removeChild(t.element),t=null}forEach(){return this._views.forEach.apply(this._views,arguments)}clear(){var t,e=this.length;if(this.length){for(var i=0;i<e;i++)t=this._views[i],this.destroy(t);this._views=[],this.length=0}}find(t){for(var e,i=this.length,n=0;n<i;n++)if((e=this._views[n]).displayed&&e.section.index==t.index)return e}displayed(){for(var t,e=[],i=this.length,n=0;n<i;n++)(t=this._views[n]).displayed&&e.push(t);return e}show(){for(var t,e=this.length,i=0;i<e;i++)(t=this._views[i]).displayed&&t.show();this.hidden=!1}hide(){for(var t,e=this.length,i=0;i<e;i++)(t=this._views[i]).displayed&&t.hide();this.hidden=!0}}(this.container),this._bounds=this.bounds(),this._stageSize=this.stage.size(),this.viewSettings.width=this._stageSize.width,this.viewSettings.height=this._stageSize.height,this.stage.onResize(this.onResized.bind(this)),this.stage.onOrientationChange(this.onOrientationChange.bind(this)),this.addEventListeners(),this.layout&&this.updateLayout(),this.rendered=!0}addEventListeners(){var t;window.addEventListener("unload",function(t){this.destroy()}.bind(this)),t=this.settings.fullsize?window:this.container,this._onScroll=this.onScroll.bind(this),t.addEventListener("scroll",this._onScroll)}removeEventListeners(){(this.settings.fullsize?window:this.container).removeEventListener("scroll",this._onScroll),this._onScroll=void 0}destroy(){clearTimeout(this.orientationTimeout),clearTimeout(this.resizeTimeout),clearTimeout(this.afterScrolled),this.clear(),this.removeEventListeners(),this.stage.destroy(),this.rendered=!1}onOrientationChange(t){let{orientation:e}=window;this.optsSettings.resizeOnOrientationChange&&this.resize(),clearTimeout(this.orientationTimeout),this.orientationTimeout=setTimeout(function(){this.orientationTimeout=void 0,this.optsSettings.resizeOnOrientationChange&&this.resize(),this.emit(h.c.MANAGERS.ORIENTATION_CHANGE,e)}.bind(this),500)}onResized(t){this.resize()}resize(t,e,i){let n=this.stage.size(t,e);this.winBounds=Object(s.windowBounds)(),this.orientationTimeout&&this.winBounds.width===this.winBounds.height?this._stageSize=void 0:this._stageSize&&this._stageSize.width===n.width&&this._stageSize.height===n.height||(this._stageSize=n,this._bounds=this.bounds(),this.clear(),this.viewSettings.width=this._stageSize.width,this.viewSettings.height=this._stageSize.height,this.updateLayout(),this.emit(h.c.MANAGERS.RESIZED,{width:this._stageSize.width,height:this._stageSize.height},i))}createView(t,e){return new this.View(t,Object(s.extend)(this.viewSettings,{forceRight:e}))}handleNextPrePaginated(t,e,i){let n;if("pre-paginated"===this.layout.name&&this.layout.divisor>1){if(t||0===e.index)return;if(n=e.next(),n&&!n.properties.includes("page-spread-left"))return i.call(this,n)}}display(t,e){var i=new s.defer,n=i.promise;(e===t.href||Object(s.isNumber)(e))&&(e=void 0);var r=this.views.find(t);if(r&&t&&"pre-paginated"!==this.layout.name){let t=r.offset();if("ltr"===this.settings.direction)this.scrollTo(t.left,t.top,!0);else{let e=r.width();this.scrollTo(t.left+e,t.top,!0)}if(e){let t=r.locationOf(e);this.moveTo(t)}return i.resolve(),n}this.clear();let o=!1;return"pre-paginated"===this.layout.name&&2===this.layout.divisor&&t.properties.includes("page-spread-right")&&(o=!0),this.add(t,o).then(function(t){if(e){let i=t.locationOf(e);this.moveTo(i)}}.bind(this),t=>{i.reject(t)}).then(function(){return this.handleNextPrePaginated(o,t,this.add)}.bind(this)).then(function(){this.views.show(),i.resolve()}.bind(this)),n}afterDisplayed(t){this.emit(h.c.MANAGERS.ADDED,t)}afterResized(t){this.emit(h.c.MANAGERS.RESIZE,t.section)}moveTo(t){var e=0,i=0;this.isPaginated?(e=Math.floor(t.left/this.layout.delta)*this.layout.delta)+this.layout.delta>this.container.scrollWidth&&(e=this.container.scrollWidth-this.layout.delta):i=t.top,this.scrollTo(e,i,!0)}add(t,e){var i=this.createView(t,e);return this.views.append(i),i.onDisplayed=this.afterDisplayed.bind(this),i.onResize=this.afterResized.bind(this),i.on(h.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),i.on(h.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),i.display(this.request)}append(t,e){var i=this.createView(t,e);return this.views.append(i),i.onDisplayed=this.afterDisplayed.bind(this),i.onResize=this.afterResized.bind(this),i.on(h.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),i.on(h.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),i.display(this.request)}prepend(t,e){var i=this.createView(t,e);return i.on(h.c.VIEWS.RESIZED,t=>{this.counter(t)}),this.views.prepend(i),i.onDisplayed=this.afterDisplayed.bind(this),i.onResize=this.afterResized.bind(this),i.on(h.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),i.on(h.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),i.display(this.request)}counter(t){"vertical"===this.settings.axis?this.scrollBy(0,t.heightDelta,!0):this.scrollBy(t.widthDelta,0,!0)}next(){var t;let e=this.settings.direction;if(this.views.length&&(!this.isPaginated||"horizontal"!==this.settings.axis||e&&"ltr"!==e?this.isPaginated&&"horizontal"===this.settings.axis&&"rtl"===e?(this.scrollLeft=this.container.scrollLeft,"default"===this.settings.rtlScrollType?this.container.scrollLeft>0?this.scrollBy(this.layout.delta,0,!0):t=this.views.last().section.next():this.container.scrollLeft+-1*this.layout.delta>-1*this.container.scrollWidth?this.scrollBy(this.layout.delta,0,!0):t=this.views.last().section.next()):this.isPaginated&&"vertical"===this.settings.axis?(this.scrollTop=this.container.scrollTop,this.container.scrollTop+this.container.offsetHeight<this.container.scrollHeight?this.scrollBy(0,this.layout.height,!0):t=this.views.last().section.next()):t=this.views.last().section.next():(this.scrollLeft=this.container.scrollLeft,this.container.scrollLeft+this.container.offsetWidth+this.layout.delta<=this.container.scrollWidth?this.scrollBy(this.layout.delta,0,!0):t=this.views.last().section.next()),t)){this.clear();let e=!1;return"pre-paginated"===this.layout.name&&2===this.layout.divisor&&t.properties.includes("page-spread-right")&&(e=!0),this.append(t,e).then(function(){return this.handleNextPrePaginated(e,t,this.append)}.bind(this),t=>t).then(function(){this.isPaginated||"horizontal"!==this.settings.axis||"rtl"!==this.settings.direction||"default"!==this.settings.rtlScrollType||this.scrollTo(this.container.scrollWidth,0,!0),this.views.show()}.bind(this))}}prev(){var t;let e=this.settings.direction;if(this.views.length&&(!this.isPaginated||"horizontal"!==this.settings.axis||e&&"ltr"!==e?this.isPaginated&&"horizontal"===this.settings.axis&&"rtl"===e?(this.scrollLeft=this.container.scrollLeft,"default"===this.settings.rtlScrollType?this.container.scrollLeft+this.container.offsetWidth<this.container.scrollWidth?this.scrollBy(-this.layout.delta,0,!0):t=this.views.first().section.prev():this.container.scrollLeft<0?this.scrollBy(-this.layout.delta,0,!0):t=this.views.first().section.prev()):this.isPaginated&&"vertical"===this.settings.axis?(this.scrollTop=this.container.scrollTop,this.container.scrollTop>0?this.scrollBy(0,-this.layout.height,!0):t=this.views.first().section.prev()):t=this.views.first().section.prev():(this.scrollLeft=this.container.scrollLeft,this.container.scrollLeft>0?this.scrollBy(-this.layout.delta,0,!0):t=this.views.first().section.prev()),t)){this.clear();let e=!1;return"pre-paginated"===this.layout.name&&2===this.layout.divisor&&"object"!=typeof t.prev()&&(e=!0),this.prepend(t,e).then(function(){var e;if("pre-paginated"===this.layout.name&&this.layout.divisor>1&&(e=t.prev()))return this.prepend(e)}.bind(this),t=>t).then(function(){this.isPaginated&&"horizontal"===this.settings.axis&&("rtl"===this.settings.direction?"default"===this.settings.rtlScrollType?this.scrollTo(0,0,!0):this.scrollTo(-1*this.container.scrollWidth+this.layout.delta,0,!0):this.scrollTo(this.container.scrollWidth-this.layout.delta,0,!0)),this.views.show()}.bind(this))}}current(){var t=this.visible();return t.length?t[t.length-1]:null}clear(){this.views&&(this.views.hide(),this.scrollTo(0,0,!0),this.views.clear())}currentLocation(){return this.isPaginated&&"horizontal"===this.settings.axis?this.location=this.paginatedLocation():this.location=this.scrolledLocation(),this.location}scrolledLocation(){let t=this.visible(),e=this.container.getBoundingClientRect(),i=e.height<window.innerHeight?e.height:window.innerHeight,n=e.width<window.innerWidth?e.width:window.innerWidth,r="vertical"===this.settings.axis,s=(this.settings.direction,0);return this.settings.fullsize&&(s=r?window.scrollY:window.scrollX),t.map(t=>{let o,a,l,c,{index:h,href:u}=t.section,d=t.position(),f=t.width(),p=t.height();r?(o=s+e.top-d.top+0,a=o+i-0,c=this.layout.count(p,i).pages,l=i):(o=s+e.left-d.left+0,a=o+n-0,c=this.layout.count(f,n).pages,l=n);let g=Math.ceil(o/l),m=[],v=Math.ceil(a/l);if("rtl"===this.settings.direction&&!r){let t=g;g=c-v,v=c-t}m=[];for(var y=g;y<=v;y++){let t=y+1;m.push(t)}return{index:h,href:u,pages:m,totalPages:c,mapping:this.mapping.page(t.contents,t.section.cfiBase,o,a)}})}paginatedLocation(){let t=this.visible(),e=this.container.getBoundingClientRect(),i=0,n=0;return this.settings.fullsize&&(i=window.scrollX),t.map(t=>{let r,s,o,a,{index:l,href:c}=t.section,h=t.position(),u=t.width();"rtl"===this.settings.direction?(r=e.right-i,a=Math.min(Math.abs(r-h.left),this.layout.width)-n,o=h.width-(h.right-r)-n,s=o-a):(r=e.left+i,a=Math.min(h.right-r,this.layout.width)-n,s=r-h.left+n,o=s+a),n+=a;let d=this.mapping.page(t.contents,t.section.cfiBase,s,o),f=this.layout.count(u).pages,p=Math.floor(s/this.layout.pageWidth),g=[],m=Math.floor(o/this.layout.pageWidth);if(p<0&&(p=0,m+=1),"rtl"===this.settings.direction){let t=p;p=f-m,m=f-t}for(var v=p+1;v<=m;v++){let t=v;g.push(t)}return{index:l,href:c,pages:g,totalPages:f,mapping:d}})}isVisible(t,e,i,n){var r=t.position(),s=n||this.bounds();return"horizontal"===this.settings.axis&&r.right>s.left-e&&r.left<s.right+i||"vertical"===this.settings.axis&&r.bottom>s.top-e&&r.top<s.bottom+i}visible(){for(var t,e=this.bounds(),i=this.views.displayed(),n=i.length,r=[],s=0;s<n;s++)t=i[s],!0===this.isVisible(t,0,0,e)&&r.push(t);return r}scrollBy(t,e,i){let n="rtl"===this.settings.direction?-1:1;i&&(this.ignore=!0),this.settings.fullsize?window.scrollBy(t*n,e*n):(t&&(this.container.scrollLeft+=t*n),e&&(this.container.scrollTop+=e)),this.scrolled=!0}scrollTo(t,e,i){i&&(this.ignore=!0),this.settings.fullsize?window.scrollTo(t,e):(this.container.scrollLeft=t,this.container.scrollTop=e),this.scrolled=!0}onScroll(){let t,e;this.settings.fullsize?(t=window.scrollY,e=window.scrollX):(t=this.container.scrollTop,e=this.container.scrollLeft),this.scrollTop=t,this.scrollLeft=e,this.ignore?this.ignore=!1:(this.emit(h.c.MANAGERS.SCROLL,{top:t,left:e}),clearTimeout(this.afterScrolled),this.afterScrolled=setTimeout(function(){this.emit(h.c.MANAGERS.SCROLLED,{top:this.scrollTop,left:this.scrollLeft})}.bind(this),20))}bounds(){return this.stage.bounds()}applyLayout(t){this.layout=t,this.updateLayout(),this.views&&this.views.length>0&&"pre-paginated"===this.layout.name&&this.display(this.views.first().section)}updateLayout(){this.stage&&(this._stageSize=this.stage.size(),this.isPaginated?(this.layout.calculate(this._stageSize.width,this._stageSize.height,this.settings.gap),this.settings.offset=this.layout.delta/this.layout.divisor):this.layout.calculate(this._stageSize.width,this._stageSize.height),this.viewSettings.width=this.layout.width,this.viewSettings.height=this.layout.height,this.setLayout(this.layout))}setLayout(t){this.viewSettings.layout=t,this.mapping=new o.a(t.props,this.settings.direction,this.settings.axis),this.views&&this.views.forEach((function(e){e&&e.setLayout(t)}))}updateWritingMode(t){this.writingMode=t}updateAxis(t,e){(e||t!==this.settings.axis)&&(this.settings.axis=t,this.stage&&this.stage.axis(t),this.viewSettings.axis=t,this.mapping&&(this.mapping=new o.a(this.layout.props,this.settings.direction,this.settings.axis)),this.layout&&("vertical"===t?this.layout.spread("none"):this.layout.spread(this.layout.settings.spread)))}updateFlow(t,e="auto"){let i="paginated"===t||"auto"===t;this.isPaginated=i,"scrolled-doc"===t||"scrolled-continuous"===t||"scrolled"===t?this.updateAxis("vertical"):this.updateAxis("horizontal"),this.viewSettings.flow=t,this.settings.overflow?this.overflow=this.settings.overflow:this.overflow=i?"hidden":e,this.stage&&this.stage.overflow(this.overflow),this.updateLayout()}getContents(){var t=[];return this.views?(this.views.forEach((function(e){const i=e&&e.contents;i&&t.push(i)})),t):t}direction(t="ltr"){this.settings.direction=t,this.stage&&this.stage.direction(t),this.viewSettings.direction=t,this.updateLayout()}isRendered(){return this.rendered}}r()(u.prototype),e.a=u},function(t,e,i){"use strict";var n=i(2),r=i(0);e.a=class{constructor(t,e,i,n=!1){this.layout=t,this.horizontal="horizontal"===i,this.direction=e||"ltr",this._dev=n}section(t){var e=this.findRanges(t);return this.rangeListToCfiList(t.section.cfiBase,e)}page(t,e,i,r){var s,o=!(!t||!t.document)&&t.document.body;if(o){if(s=this.rangePairToCfiPair(e,{start:this.findStart(o,i,r),end:this.findEnd(o,i,r)}),!0===this._dev){let e=t.document,i=new n.a(s.start).toRange(e),r=new n.a(s.end).toRange(e),o=e.defaultView.getSelection(),a=e.createRange();o.removeAllRanges(),a.setStart(i.startContainer,i.startOffset),a.setEnd(r.endContainer,r.endOffset),o.addRange(a)}return s}}walk(t,e){if(!t||t.nodeType!==Node.TEXT_NODE){var i=function(t){return t.data.trim().length>0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},n=i;n.acceptNode=i;for(var r,s,o=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,n,!1);(r=o.nextNode())&&!(s=e(r)););return s}}findRanges(t){for(var e,i,n=[],r=t.contents.scrollWidth(),s=Math.ceil(r/this.layout.spreadWidth)*this.layout.divisor,o=this.layout.columnWidth,a=this.layout.gap,l=0;l<s.pages;l++)e=(o+a)*l,i=o*(l+1)+a*l,n.push({start:this.findStart(t.document.body,e,i),end:this.findEnd(t.document.body,e,i)});return n}findStart(t,e,i){for(var n,s,o=[t],a=t;o.length;)if(n=o.shift(),s=this.walk(n,t=>{var n,s,l,c,h;if(h=Object(r.nodeBounds)(t),this.horizontal&&"ltr"===this.direction){if(n=this.horizontal?h.left:h.top,s=this.horizontal?h.right:h.bottom,n>=e&&n<=i)return t;if(s>e)return t;a=t,o.push(t)}else if(this.horizontal&&"rtl"===this.direction){if(n=h.left,(s=h.right)<=i&&s>=e)return t;if(n<i)return t;a=t,o.push(t)}else{if(l=h.top,c=h.bottom,l>=e&&l<=i)return t;if(c>e)return t;a=t,o.push(t)}}))return this.findTextStartRange(s,e,i);return this.findTextStartRange(a,e,i)}findEnd(t,e,i){for(var n,s,o=[t],a=t;o.length;)if(n=o.shift(),s=this.walk(n,t=>{var n,s,l,c,h;if(h=Object(r.nodeBounds)(t),this.horizontal&&"ltr"===this.direction){if(n=Math.round(h.left),s=Math.round(h.right),n>i&&a)return a;if(s>i)return t;a=t,o.push(t)}else if(this.horizontal&&"rtl"===this.direction){if(n=Math.round(this.horizontal?h.left:h.top),(s=Math.round(this.horizontal?h.right:h.bottom))<e&&a)return a;if(n<e)return t;a=t,o.push(t)}else{if(l=Math.round(h.top),c=Math.round(h.bottom),l>i&&a)return a;if(c>i)return t;a=t,o.push(t)}}))return this.findTextEndRange(s,e,i);return this.findTextEndRange(a,e,i)}findTextStartRange(t,e,i){for(var n,r,s=this.splitTextNodeIntoRanges(t),o=0;o<s.length;o++)if(r=(n=s[o]).getBoundingClientRect(),this.horizontal&&"ltr"===this.direction){if(r.left>=e)return n}else if(this.horizontal&&"rtl"===this.direction){if(r.right<=i)return n}else if(r.top>=e)return n;return s[0]}findTextEndRange(t,e,i){for(var n,r,s,o,a,l,c,h=this.splitTextNodeIntoRanges(t),u=0;u<h.length;u++){if(s=(r=h[u]).getBoundingClientRect(),this.horizontal&&"ltr"===this.direction){if(o=s.left,a=s.right,o>i&&n)return n;if(a>i)return r}else if(this.horizontal&&"rtl"===this.direction){if(o=s.left,(a=s.right)<e&&n)return n;if(o<e)return r}else{if(l=s.top,c=s.bottom,l>i&&n)return n;if(c>i)return r}n=r}return h[h.length-1]}splitTextNodeIntoRanges(t,e){var i,n=[],r=(t.textContent||"").trim(),s=t.ownerDocument,o=e||" ",a=r.indexOf(o);if(-1===a||t.nodeType!=Node.TEXT_NODE)return(i=s.createRange()).selectNodeContents(t),[i];for((i=s.createRange()).setStart(t,0),i.setEnd(t,a),n.push(i),i=!1;-1!=a;)(a=r.indexOf(o,a+1))>0&&(i&&(i.setEnd(t,a),n.push(i)),(i=s.createRange()).setStart(t,a+1));return i&&(i.setEnd(t,r.length),n.push(i)),n}rangePairToCfiPair(t,e){var i=e.start,r=e.end;return i.collapse(!0),r.collapse(!1),{start:new n.a(i,t).toString(),end:new n.a(r,t).toString()}}rangeListToCfiList(t,e){for(var i,n=[],r=0;r<e.length;r++)i=this.rangePairToCfiPair(t,e[r]),n.push(i);return n}axis(t){return t&&(this.horizontal="horizontal"===t),this.horizontal}}},function(t,e,i){"use strict";var n=i(87),r=i(13),s=i(36),o=i(46),a=i(35),l=i(33),c=i(100),h=i(101),u=Math.max,d=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,i,n){var m=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=n.REPLACE_KEEPS_$0,y=m?"$":"$0";return[function(i,n){var r=l(this),s=null==i?void 0:i[t];return void 0!==s?s.call(i,r,n):e.call(String(r),i,n)},function(t,n){if(!m&&v||"string"==typeof n&&-1===n.indexOf(y)){var s=i(e,t,this,n);if(s.done)return s.value}var l=r(t),f=String(this),p="function"==typeof n;p||(n=String(n));var g=l.global;if(g){var w=l.unicode;l.lastIndex=0}for(var x=[];;){var _=h(l,f);if(null===_)break;if(x.push(_),!g)break;""===String(_[0])&&(l.lastIndex=c(f,o(l.lastIndex),w))}for(var k,E="",S=0,T=0;T<x.length;T++){_=x[T];for(var C=String(_[0]),O=u(d(a(_.index),f.length),0),A=[],N=1;N<_.length;N++)A.push(void 0===(k=_[N])?k:String(k));var I=_.groups;if(p){var R=[C].concat(A,O,f);void 0!==I&&R.push(I);var j=String(n.apply(void 0,R))}else j=b(C,f,O,A,I,n);O>=S&&(E+=f.slice(S,O)+j,S=O+C.length)}return E+f.slice(S)}];function b(t,i,n,r,o,a){var l=n+t.length,c=r.length,h=g;return void 0!==o&&(o=s(o),h=p),e.call(a,h,(function(e,s){var a;switch(s.charAt(0)){case"$":return"$";case"&":return t;case"`":return i.slice(0,n);case"'":return i.slice(l);case"<":a=o[s.slice(1,-1)];break;default:var h=+s;if(0===h)return e;if(h>c){var u=f(h/10);return 0===u?e:u<=c?void 0===r[u-1]?s.charAt(1):r[u-1]+s.charAt(1):e}a=r[h-1]}return void 0===a?"":a}))}}))},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,i){var n,r,s,o=i(89),a=i(7),l=i(17),c=i(15),h=i(10),u=i(43),d=i(44),f=a.WeakMap;if(o){var p=new f,g=p.get,m=p.has,v=p.set;n=function(t,e){return v.call(p,t,e),e},r=function(t){return g.call(p,t)||{}},s=function(t){return m.call(p,t)}}else{var y=u("state");d[y]=!0,n=function(t,e){return c(t,y,e),e},r=function(t){return h(t,y)?t[y]:{}},s=function(t){return h(t,y)}}t.exports={set:n,get:r,has:s,enforce:function(t){return s(t)?r(t):n(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}}},function(t,e){t.exports={}},function(t,e,i){"use strict";var n=i(3),r=i.n(n),s=i(0),o=i(2),a=i(23),l=i(11),c=i(1);const h="undefined"!=typeof navigator,u=h&&/Chrome/.test(navigator.userAgent),d=h&&!u&&/AppleWebKit/.test(navigator.userAgent);class f{constructor(t,e,i,n){this.epubcfi=new o.a,this.document=t,this.documentElement=this.document.documentElement,this.content=e||this.document.body,this.window=this.document.defaultView,this._size={width:0,height:0},this.sectionIndex=n||0,this.cfiBase=i||"",this.epubReadingSystem("epub.js",c.b),this.called=0,this.active=!0,this.listeners()}static get listenedEvents(){return c.a}width(t){var e=this.content;return t&&Object(s.isNumber)(t)&&(t+="px"),t&&(e.style.width=t),parseInt(this.window.getComputedStyle(e).width)}height(t){var e=this.content;return t&&Object(s.isNumber)(t)&&(t+="px"),t&&(e.style.height=t),parseInt(this.window.getComputedStyle(e).height)}contentWidth(t){var e=this.content||this.document.body;return t&&Object(s.isNumber)(t)&&(t+="px"),t&&(e.style.width=t),parseInt(this.window.getComputedStyle(e).width)}contentHeight(t){var e=this.content||this.document.body;return t&&Object(s.isNumber)(t)&&(t+="px"),t&&(e.style.height=t),parseInt(this.window.getComputedStyle(e).height)}textWidth(){let t,e,i=this.document.createRange(),n=this.content||this.document.body,r=Object(s.borders)(n);return i.selectNodeContents(n),t=i.getBoundingClientRect(),e=t.width,r&&r.width&&(e+=r.width),Math.round(e)}textHeight(){let t,e,i=this.document.createRange(),n=this.content||this.document.body;return i.selectNodeContents(n),t=i.getBoundingClientRect(),e=t.bottom,Math.round(e)}scrollWidth(){return this.documentElement.scrollWidth}scrollHeight(){return this.documentElement.scrollHeight}overflow(t){return t&&(this.documentElement.style.overflow=t),this.window.getComputedStyle(this.documentElement).overflow}overflowX(t){return t&&(this.documentElement.style.overflowX=t),this.window.getComputedStyle(this.documentElement).overflowX}overflowY(t){return t&&(this.documentElement.style.overflowY=t),this.window.getComputedStyle(this.documentElement).overflowY}css(t,e,i){var n=this.content||this.document.body;return e?n.style.setProperty(t,e,i?"important":""):n.style.removeProperty(t),this.window.getComputedStyle(n)[t]}viewport(t){var e,i=this.document.querySelector("meta[name='viewport']"),n={width:void 0,height:void 0,scale:void 0,minimum:void 0,maximum:void 0,scalable:void 0},r=[];if(i&&i.hasAttribute("content")){let t=i.getAttribute("content"),e=t.match(/width\s*=\s*([^,]*)/),r=t.match(/height\s*=\s*([^,]*)/),s=t.match(/initial-scale\s*=\s*([^,]*)/),o=t.match(/minimum-scale\s*=\s*([^,]*)/),a=t.match(/maximum-scale\s*=\s*([^,]*)/),l=t.match(/user-scalable\s*=\s*([^,]*)/);e&&e.length&&void 0!==e[1]&&(n.width=e[1]),r&&r.length&&void 0!==r[1]&&(n.height=r[1]),s&&s.length&&void 0!==s[1]&&(n.scale=s[1]),o&&o.length&&void 0!==o[1]&&(n.minimum=o[1]),a&&a.length&&void 0!==a[1]&&(n.maximum=a[1]),l&&l.length&&void 0!==l[1]&&(n.scalable=l[1])}return e=Object(s.defaults)(t||{},n),t&&(e.width&&r.push("width="+e.width),e.height&&r.push("height="+e.height),e.scale&&r.push("initial-scale="+e.scale),"no"===e.scalable?(r.push("minimum-scale="+e.scale),r.push("maximum-scale="+e.scale),r.push("user-scalable="+e.scalable)):(e.scalable&&r.push("user-scalable="+e.scalable),e.minimum&&r.push("minimum-scale="+e.minimum),e.maximum&&r.push("minimum-scale="+e.maximum)),i||((i=this.document.createElement("meta")).setAttribute("name","viewport"),this.document.querySelector("head").appendChild(i)),i.setAttribute("content",r.join(", ")),this.window.scrollTo(0,0)),e}expand(){this.emit(c.c.CONTENTS.EXPAND)}listeners(){this.imageLoadListeners(),this.mediaQueryListeners(),this.addEventListeners(),this.addSelectionListeners(),"undefined"==typeof ResizeObserver?(this.resizeListeners(),this.visibilityListeners()):this.resizeObservers(),this.linksHandler()}removeListeners(){this.removeEventListeners(),this.removeSelectionListeners(),this.observer&&this.observer.disconnect(),clearTimeout(this.expanding)}resizeCheck(){let t=this.textWidth(),e=this.textHeight();t==this._size.width&&e==this._size.height||(this._size={width:t,height:e},this.onResize&&this.onResize(this._size),this.emit(c.c.CONTENTS.RESIZE,this._size))}resizeListeners(){clearTimeout(this.expanding),requestAnimationFrame(this.resizeCheck.bind(this)),this.expanding=setTimeout(this.resizeListeners.bind(this),350)}visibilityListeners(){document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&!1===this.active?(this.active=!0,this.resizeListeners()):(this.active=!1,clearTimeout(this.expanding))})}transitionListeners(){let t=this.content;t.style.transitionProperty="font, font-size, font-size-adjust, font-stretch, font-variation-settings, font-weight, width, height",t.style.transitionDuration="0.001ms",t.style.transitionTimingFunction="linear",t.style.transitionDelay="0",this._resizeCheck=this.resizeCheck.bind(this),this.document.addEventListener("transitionend",this._resizeCheck)}mediaQueryListeners(){for(var t=this.document.styleSheets,e=function(t){t.matches&&!this._expanding&&setTimeout(this.expand.bind(this),1)}.bind(this),i=0;i<t.length;i+=1){var n;try{n=t[i].cssRules}catch(t){return}if(!n)return;for(var r=0;r<n.length;r+=1)n[r].media&&this.window.matchMedia(n[r].media.mediaText).addListener(e)}}resizeObservers(){this.observer=new ResizeObserver(t=>{requestAnimationFrame(this.resizeCheck.bind(this))}),this.observer.observe(this.document.documentElement)}mutationObservers(){this.observer=new MutationObserver(t=>{this.resizeCheck()}),this.observer.observe(this.document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})}imageLoadListeners(){for(var t,e=this.document.querySelectorAll("img"),i=0;i<e.length;i++)void 0!==(t=e[i]).naturalWidth&&0===t.naturalWidth&&(t.onload=this.expand.bind(this))}fontLoadListeners(){this.document&&this.document.fonts&&this.document.fonts.ready.then(function(){this.resizeCheck()}.bind(this))}root(){return this.document?this.document.documentElement:null}locationOf(t,e){var i,n={left:0,top:0};if(!this.document)return n;if(this.epubcfi.isCfiString(t)){let r=new o.a(t).toRange(this.document,e);if(r){try{if(!r.endContainer||r.startContainer==r.endContainer&&r.startOffset==r.endOffset){let t=r.startContainer.textContent.indexOf(" ",r.startOffset);-1==t&&(t=r.startContainer.textContent.length),r.setEnd(r.startContainer,t)}}catch(t){console.error("setting end offset to start container length failed",t)}if(r.startContainer.nodeType===Node.ELEMENT_NODE)i=r.startContainer.getBoundingClientRect(),n.left=i.left,n.top=i.top;else if(d){let e=r.startContainer,n=new Range;try{1===e.nodeType?i=e.getBoundingClientRect():r.startOffset+2<e.length?(n.setStart(e,r.startOffset),n.setEnd(e,r.startOffset+2),i=n.getBoundingClientRect()):r.startOffset-2>0?(n.setStart(e,r.startOffset-2),n.setEnd(e,r.startOffset),i=n.getBoundingClientRect()):i=e.parentNode.getBoundingClientRect()}catch(t){console.error(t,t.stack)}}else i=r.getBoundingClientRect()}}else if("string"==typeof t&&t.indexOf("#")>-1){let e=t.substring(t.indexOf("#")+1),n=this.document.getElementById(e);if(n)if(d){let t=new Range;t.selectNode(n),i=t.getBoundingClientRect()}else i=n.getBoundingClientRect()}return i&&(n.left=i.left,n.top=i.top),n}addStylesheet(t){return new Promise(function(e,i){var n,r=!1;this.document?(n=this.document.querySelector("link[href='"+t+"']"))?e(!0):((n=this.document.createElement("link")).type="text/css",n.rel="stylesheet",n.href=t,n.onload=n.onreadystatechange=function(){r||this.readyState&&"complete"!=this.readyState||(r=!0,setTimeout(()=>{e(!0)},1))},this.document.head.appendChild(n)):e(!1)}.bind(this))}_getStylesheetNode(t){var e;return t="epubjs-inserted-css-"+(t||""),!!this.document&&((e=this.document.getElementById(t))||((e=this.document.createElement("style")).id=t,this.document.head.appendChild(e)),e)}addStylesheetCss(t,e){return!(!this.document||!t||(this._getStylesheetNode(e).innerHTML=t,0))}addStylesheetRules(t,e){var i;if(this.document&&t&&0!==t.length)if(i=this._getStylesheetNode(e).sheet,"[object Array]"===Object.prototype.toString.call(t))for(var n=0,r=t.length;n<r;n++){var s=1,o=t[n],a=t[n][0],l="";"[object Array]"===Object.prototype.toString.call(o[1][0])&&(o=o[1],s=0);for(var c=o.length;s<c;s++){var h=o[s];l+=h[0]+":"+h[1]+(h[2]?" !important":"")+";\n"}i.insertRule(a+"{"+l+"}",i.cssRules.length)}else Object.keys(t).forEach(e=>{const n=t[e];if(Array.isArray(n))n.forEach(t=>{const n=Object.keys(t).map(e=>`${e}:${t[e]}`).join(";");i.insertRule(`${e}{${n}}`,i.cssRules.length)});else{const t=Object.keys(n).map(t=>`${t}:${n[t]}`).join(";");i.insertRule(`${e}{${t}}`,i.cssRules.length)}})}addScript(t){return new Promise(function(e,i){var n,r=!1;this.document?((n=this.document.createElement("script")).type="text/javascript",n.async=!0,n.src=t,n.onload=n.onreadystatechange=function(){r||this.readyState&&"complete"!=this.readyState||(r=!0,setTimeout((function(){e(!0)}),1))},this.document.head.appendChild(n)):e(!1)}.bind(this))}addClass(t){var e;this.document&&(e=this.content||this.document.body)&&e.classList.add(t)}removeClass(t){var e;this.document&&(e=this.content||this.document.body)&&e.classList.remove(t)}addEventListeners(){this.document&&(this._triggerEvent=this.triggerEvent.bind(this),c.a.forEach((function(t){this.document.addEventListener(t,this._triggerEvent,{passive:!0})}),this))}removeEventListeners(){this.document&&(c.a.forEach((function(t){this.document.removeEventListener(t,this._triggerEvent,{passive:!0})}),this),this._triggerEvent=void 0)}triggerEvent(t){this.emit(t.type,t)}addSelectionListeners(){this.document&&(this._onSelectionChange=this.onSelectionChange.bind(this),this.document.addEventListener("selectionchange",this._onSelectionChange,{passive:!0}))}removeSelectionListeners(){this.document&&(this.document.removeEventListener("selectionchange",this._onSelectionChange,{passive:!0}),this._onSelectionChange=void 0)}onSelectionChange(t){this.selectionEndTimeout&&clearTimeout(this.selectionEndTimeout),this.selectionEndTimeout=setTimeout(function(){var t=this.window.getSelection();this.triggerSelectedEvent(t)}.bind(this),250)}triggerSelectedEvent(t){var e,i;t&&t.rangeCount>0&&((e=t.getRangeAt(0)).collapsed||(i=new o.a(e,this.cfiBase).toString(),this.emit(c.c.CONTENTS.SELECTED,i),this.emit(c.c.CONTENTS.SELECTED_RANGE,e)))}range(t,e){return new o.a(t).toRange(this.document,e)}cfiFromRange(t,e){return new o.a(t,this.cfiBase,e).toString()}cfiFromNode(t,e){return new o.a(t,this.cfiBase,e).toString()}map(t){return new a.a(t).section()}size(t,e){var i={scale:1,scalable:"no"};this.layoutStyle("scrolling"),t>=0&&(this.width(t),i.width=t,this.css("padding","0 "+t/12+"px")),e>=0&&(this.height(e),i.height=e),this.css("margin","0"),this.css("box-sizing","border-box"),this.viewport(i)}columns(t,e,i,n,r){let o=Object(s.prefixed)("column-axis"),a=Object(s.prefixed)("column-gap"),l=Object(s.prefixed)("column-width"),c=Object(s.prefixed)("column-fill"),h=0===this.writingMode().indexOf("vertical")?"vertical":"horizontal";this.layoutStyle("paginated"),"rtl"===r&&"horizontal"===h&&this.direction(r),this.width(t),this.height(e),this.viewport({width:t,height:e,scale:1,scalable:"no"}),this.css("overflow-y","hidden"),this.css("margin","0",!0),"vertical"===h?(this.css("padding-top",n/2+"px",!0),this.css("padding-bottom",n/2+"px",!0),this.css("padding-left","20px"),this.css("padding-right","20px"),this.css(o,"vertical")):(this.css("padding-top","20px"),this.css("padding-bottom","20px"),this.css("padding-left",n/2+"px",!0),this.css("padding-right",n/2+"px",!0),this.css(o,"horizontal")),this.css("box-sizing","border-box"),this.css("max-width","inherit"),this.css(c,"auto"),this.css(a,n+"px"),this.css(l,i+"px"),this.css("-webkit-line-box-contain","block glyphs replaced")}scaler(t,e,i){var n="scale("+t+")",r="";this.css("transform-origin","top left"),(e>=0||i>=0)&&(r=" translate("+(e||0)+"px, "+(i||0)+"px )"),this.css("transform",n+r)}fit(t,e,i){var n=this.viewport(),r=parseInt(n.width),s=parseInt(n.height),o=t/r,a=e/s,l=o<a?o:a;if(this.layoutStyle("paginated"),this.width(r),this.height(s),this.overflow("hidden"),this.scaler(l,0,0),this.css("background-size",r*l+"px "+s*l+"px"),this.css("background-color","transparent"),i&&i.properties.includes("page-spread-left")){var c=t-r*l;this.css("margin-left",c+"px")}}direction(t){this.documentElement&&(this.documentElement.style.direction=t)}mapPage(t,e,i,n,r){return new a.a(e,r).page(this,t,i,n)}linksHandler(){Object(l.c)(this.content,t=>{this.emit(c.c.CONTENTS.LINK_CLICKED,t)})}writingMode(t){let e=Object(s.prefixed)("writing-mode");return t&&this.documentElement&&(this.documentElement.style[e]=t),this.window.getComputedStyle(this.documentElement)[e]||""}layoutStyle(t){return t&&(this._layoutStyle=t,navigator.epubReadingSystem.layoutStyle=this._layoutStyle),this._layoutStyle||"paginated"}epubReadingSystem(t,e){return navigator.epubReadingSystem={name:t,version:e,layoutStyle:this.layoutStyle(),hasFeature:function(t){switch(t){case"dom-manipulation":case"layout-changes":case"touch-events":case"mouse-events":case"keyboard-events":return!0;case"spine-scripting":default:return!1}}},navigator.epubReadingSystem}destroy(){this.removeListeners()}}r()(f.prototype),e.a=f},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Underline=e.Highlight=e.Mark=e.Pane=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=o(i(135)),s=o(i(136));function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.Pane=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;c(this,t),this.target=e,this.element=r.default.createElement("svg"),this.marks=[],this.element.style.position="absolute",this.element.setAttribute("pointer-events","none"),s.default.proxyMouse(this.target,this.marks),this.container=i,this.container.appendChild(this.element),this.render()}return n(t,[{key:"addMark",value:function(t){var e=r.default.createElement("g");return this.element.appendChild(e),t.bind(e,this.container),this.marks.push(t),t.render(),t}},{key:"removeMark",value:function(t){var e=this.marks.indexOf(t);if(-1!==e){var i=t.unbind();this.element.removeChild(i),this.marks.splice(e,1)}}},{key:"render",value:function(){var t,e,i,n;!function(t,e){t.style.setProperty("top",e.top+"px","important"),t.style.setProperty("left",e.left+"px","important"),t.style.setProperty("height",e.height+"px","important"),t.style.setProperty("width",e.width+"px","important")}(this.element,(t=this.target,e=this.container,i=e.getBoundingClientRect(),n=t.getBoundingClientRect(),{top:n.top-i.top,left:n.left-i.left,height:t.scrollHeight,width:t.scrollWidth}));var r=!0,s=!1,o=void 0;try{for(var a,l=this.marks[Symbol.iterator]();!(r=(a=l.next()).done);r=!0)a.value.render()}catch(t){s=!0,o=t}finally{try{!r&&l.return&&l.return()}finally{if(s)throw o}}}}]),t}();var h=e.Mark=function(){function t(){c(this,t),this.element=null}return n(t,[{key:"bind",value:function(t,e){this.element=t,this.container=e}},{key:"unbind",value:function(){var t=this.element;return this.element=null,t}},{key:"render",value:function(){}},{key:"dispatchEvent",value:function(t){this.element&&this.element.dispatchEvent(t)}},{key:"getBoundingClientRect",value:function(){return this.element.getBoundingClientRect()}},{key:"getClientRects",value:function(){for(var t=[],e=this.element.firstChild;e;)t.push(e.getBoundingClientRect()),e=e.nextSibling;return t}},{key:"filteredRanges",value:function(){var t=Array.from(this.range.getClientRects());return t.filter((function(e){for(var i=0;i<t.length;i++){if(t[i]===e)return!0;if(n=t[i],(r=e).right<=n.right&&r.left>=n.left&&r.top>=n.top&&r.bottom<=n.bottom)return!1}var n,r;return!0}))}}]),t}(),u=e.Highlight=function(t){function e(t,i,n,r){c(this,e);var s=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return s.range=t,s.className=i,s.data=n||{},s.attributes=r||{},s}return l(e,t),n(e,[{key:"bind",value:function(t,i){for(var n in function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var s=Object.getPrototypeOf(e);return null===s?void 0:t(s,i,n)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(n):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"bind",this).call(this,t,i),this.data)this.data.hasOwnProperty(n)&&(this.element.dataset[n]=this.data[n]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&this.element.setAttribute(n,this.attributes[n]);this.className&&this.element.classList.add(this.className)}},{key:"render",value:function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(var t=this.element.ownerDocument.createDocumentFragment(),e=this.filteredRanges(),i=this.element.getBoundingClientRect(),n=this.container.getBoundingClientRect(),s=0,o=e.length;s<o;s++){var a=e[s],l=r.default.createElement("rect");l.setAttribute("x",a.left-i.left+n.left),l.setAttribute("y",a.top-i.top+n.top),l.setAttribute("height",a.height),l.setAttribute("width",a.width),t.appendChild(l)}this.element.appendChild(t)}}]),e}(h);e.Underline=function(t){function e(t,i,n,r){return c(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i,n,r))}return l(e,t),n(e,[{key:"render",value:function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(var t=this.element.ownerDocument.createDocumentFragment(),e=this.filteredRanges(),i=this.element.getBoundingClientRect(),n=this.container.getBoundingClientRect(),s=0,o=e.length;s<o;s++){var a=e[s],l=r.default.createElement("rect");l.setAttribute("x",a.left-i.left+n.left),l.setAttribute("y",a.top-i.top+n.top),l.setAttribute("height",a.height),l.setAttribute("width",a.width),l.setAttribute("fill","none");var c=r.default.createElement("line");c.setAttribute("x1",a.left-i.left+n.left),c.setAttribute("x2",a.left-i.left+n.left+a.width),c.setAttribute("y1",a.top-i.top+n.top+a.height-1),c.setAttribute("y2",a.top-i.top+n.top+a.height-1),c.setAttribute("stroke-width",1),c.setAttribute("stroke","black"),c.setAttribute("stroke-linecap","square"),t.appendChild(l),t.appendChild(c)}this.element.appendChild(t)}}]),e}(u)},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){var n=i(7),r=i(59).f,s=i(15),o=i(19),a=i(42),l=i(90),c=i(96);t.exports=function(t,e){var i,h,u,d,f,p=t.target,g=t.global,m=t.stat;if(i=g?n:m?n[p]||a(p,{}):(n[p]||{}).prototype)for(h in e){if(d=e[h],u=t.noTargetGet?(f=r(i,h))&&f.value:i[h],!c(g?h:p+(m?".":"#")+h,t.forced)&&void 0!==u){if(typeof d==typeof u)continue;l(d,u)}(t.sham||u&&u.sham)&&s(d,"sham",!0),o(i,h,d,t)}}},function(t,e,i){var n=i(61),r=i(33);t.exports=function(t){return n(r(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=!1},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e,i){var n=i(33);t.exports=function(t){return Object(n(t))}},function(t,e,i){var n=i(18).f,r=i(10),s=i(8)("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,s)&&n(t,s,{configurable:!0,value:e})}},function(e,i){e.exports=t},function(t,e,i){"use strict";var n=i(3),r=i.n(n),s=i(0),o=i(6),a=i(2),l=i(21),c=i(1);class h{constructor(t){this.settings=t,this.name=t.layout||"reflowable",this._spread="none"!==t.spread,this._minSpreadWidth=t.minSpreadWidth||800,this._evenSpreads=t.evenSpreads||!1,"scrolled"===t.flow||"scrolled-continuous"===t.flow||"scrolled-doc"===t.flow?this._flow="scrolled":this._flow="paginated",this.width=0,this.height=0,this.spreadWidth=0,this.delta=0,this.columnWidth=0,this.gap=0,this.divisor=1,this.props={name:this.name,spread:this._spread,flow:this._flow,width:0,height:0,spreadWidth:0,delta:0,columnWidth:0,gap:0,divisor:1}}flow(t){return void 0!==t&&(this._flow="scrolled"===t||"scrolled-continuous"===t||"scrolled-doc"===t?"scrolled":"paginated",this.update({flow:this._flow})),this._flow}spread(t,e){return t&&(this._spread="none"!==t,this.update({spread:this._spread})),e>=0&&(this._minSpreadWidth=e),this._spread}calculate(t,e,i){var n,r,s,o,a,l=i||0,c=t,h=e,u=Math.floor(c/12);a=this._spread&&c>=this._minSpreadWidth?2:1,"reflowable"!==this.name||"paginated"!==this._flow||i>=0||(l=u%2==0?u:u-1),"pre-paginated"===this.name&&(l=0),a>1?s=(n=c/a-l)+l:(n=c,s=c),"pre-paginated"===this.name&&a>1&&(c=n),r=n*a+l,o=c,this.width=c,this.height=h,this.spreadWidth=r,this.pageWidth=s,this.delta=o,this.columnWidth=n,this.gap=l,this.divisor=a,this.update({width:c,height:h,spreadWidth:r,pageWidth:s,delta:o,columnWidth:n,gap:l,divisor:a})}format(t,e,i){return"pre-paginated"===this.name?t.fit(this.columnWidth,this.height,e):"paginated"===this._flow?t.columns(this.width,this.height,this.columnWidth,this.gap,this.settings.direction):i&&"horizontal"===i?t.size(null,this.height):t.size(this.width,null)}count(t,e){let i,n;return"pre-paginated"===this.name?(i=1,n=1):"paginated"===this._flow?(e=e||this.delta,i=Math.ceil(t/e),n=i*this.divisor):(e=e||this.height,i=Math.ceil(t/e),n=i),{spreads:i,pages:n}}update(t){if(Object.keys(t).forEach(e=>{this.props[e]===t[e]&&delete t[e]}),Object.keys(t).length>0){let e=Object(s.extend)(this.props,t);this.emit(c.c.LAYOUT.UPDATED,e,t)}}}r()(h.prototype);var u=h,d=i(5);i(28);class f{constructor({type:t,cfiRange:e,data:i,sectionIndex:n,cb:r,className:s,styles:o}){this.type=t,this.cfiRange=e,this.data=i,this.sectionIndex=n,this.mark=void 0,this.cb=r,this.className=s,this.styles=o}update(t){this.data=t}attach(t){let e,{cfiRange:i,data:n,type:r,mark:s,cb:o,className:a,styles:l}=this;return"highlight"===r?e=t.highlight(i,n,o,a,l):"underline"===r?e=t.underline(i,n,o,a,l):"mark"===r&&(e=t.mark(i,n,o)),this.mark=e,this.emit(c.c.ANNOTATION.ATTACH,e),e}detach(t){let e,{cfiRange:i,type:n}=this;return t&&("highlight"===n?e=t.unhighlight(i):"underline"===n?e=t.ununderline(i):"mark"===n&&(e=t.unmark(i))),this.mark=void 0,this.emit(c.c.ANNOTATION.DETACH,e),e}text(){}}r()(f.prototype);var p=i(54),g=i(22),m=i(56);class v{constructor(t,e){this.settings=Object(s.extend)(this.settings||{},{width:null,height:null,ignoreClass:"",manager:"default",view:"iframe",flow:null,layout:null,spread:null,minSpreadWidth:800,stylesheet:null,resizeOnOrientationChange:!0,script:null,snap:!1,defaultDirection:"ltr"}),Object(s.extend)(this.settings,e),"object"==typeof this.settings.manager&&(this.manager=this.settings.manager),this.book=t,this.hooks={},this.hooks.display=new o.a(this),this.hooks.serialize=new o.a(this),this.hooks.content=new o.a(this),this.hooks.unloaded=new o.a(this),this.hooks.layout=new o.a(this),this.hooks.render=new o.a(this),this.hooks.show=new o.a(this),this.hooks.content.register(this.handleLinks.bind(this)),this.hooks.content.register(this.passEvents.bind(this)),this.hooks.content.register(this.adjustImages.bind(this)),this.book.spine.hooks.content.register(this.injectIdentifier.bind(this)),this.settings.stylesheet&&this.book.spine.hooks.content.register(this.injectStylesheet.bind(this)),this.settings.script&&this.book.spine.hooks.content.register(this.injectScript.bind(this)),this.themes=new class{constructor(t){this.rendition=t,this._themes={default:{rules:{},url:"",serialized:""}},this._overrides={},this._current="default",this._injected=[],this.rendition.hooks.content.register(this.inject.bind(this)),this.rendition.hooks.content.register(this.overrides.bind(this))}register(){if(0!==arguments.length)return 1===arguments.length&&"object"==typeof arguments[0]?this.registerThemes(arguments[0]):1===arguments.length&&"string"==typeof arguments[0]?this.default(arguments[0]):2===arguments.length&&"string"==typeof arguments[1]?this.registerUrl(arguments[0],arguments[1]):2===arguments.length&&"object"==typeof arguments[1]?this.registerRules(arguments[0],arguments[1]):void 0}default(t){if(t)return"string"==typeof t?this.registerUrl("default",t):"object"==typeof t?this.registerRules("default",t):void 0}registerThemes(t){for(var e in t)t.hasOwnProperty(e)&&("string"==typeof t[e]?this.registerUrl(e,t[e]):this.registerRules(e,t[e]))}registerCss(t,e){this._themes[t]={serialized:e},(this._injected[t]||"default"==t)&&this.update(t)}registerUrl(t,e){var i=new d.a(e);this._themes[t]={url:i.toString()},(this._injected[t]||"default"==t)&&this.update(t)}registerRules(t,e){this._themes[t]={rules:e},(this._injected[t]||"default"==t)&&this.update(t)}select(t){var e=this._current;this._current=t,this.update(t),this.rendition.getContents().forEach(i=>{i.removeClass(e),i.addClass(t)})}update(t){this.rendition.getContents().forEach(e=>{this.add(t,e)})}inject(t){var e,i=[],n=this._themes;for(var r in n)!n.hasOwnProperty(r)||r!==this._current&&"default"!==r||(((e=n[r]).rules&&Object.keys(e.rules).length>0||e.url&&-1===i.indexOf(e.url))&&this.add(r,t),this._injected.push(r));"default"!=this._current&&t.addClass(this._current)}add(t,e){var i=this._themes[t];i&&e&&(i.url?e.addStylesheet(i.url):i.serialized?(e.addStylesheetCss(i.serialized,t),i.injected=!0):i.rules&&(e.addStylesheetRules(i.rules,t),i.injected=!0))}override(t,e,i){var n=this.rendition.getContents();this._overrides[t]={value:e,priority:!0===i},n.forEach(e=>{e.css(t,this._overrides[t].value,this._overrides[t].priority)})}removeOverride(t){var e=this.rendition.getContents();delete this._overrides[t],e.forEach(e=>{e.css(t)})}overrides(t){var e=this._overrides;for(var i in e)e.hasOwnProperty(i)&&t.css(i,e[i].value,e[i].priority)}fontSize(t){this.override("font-size",t)}font(t){this.override("font-family",t,!0)}destroy(){this.rendition=void 0,this._themes=void 0,this._overrides=void 0,this._current=void 0,this._injected=void 0}}(this),this.annotations=new class{constructor(t){this.rendition=t,this.highlights=[],this.underlines=[],this.marks=[],this._annotations={},this._annotationsBySectionIndex={},this.rendition.hooks.render.register(this.inject.bind(this)),this.rendition.hooks.unloaded.register(this.clear.bind(this))}add(t,e,i,n,r,s){let o=encodeURI(e+t),l=new a.a(e).spinePos,c=new f({type:t,cfiRange:e,data:i,sectionIndex:l,cb:n,className:r,styles:s});return this._annotations[o]=c,l in this._annotationsBySectionIndex?this._annotationsBySectionIndex[l].push(o):this._annotationsBySectionIndex[l]=[o],this.rendition.views().forEach(t=>{c.sectionIndex===t.index&&c.attach(t)}),c}remove(t,e){let i=encodeURI(t+e);if(i in this._annotations){let t=this._annotations[i];if(e&&t.type!==e)return;this.rendition.views().forEach(e=>{this._removeFromAnnotationBySectionIndex(t.sectionIndex,i),t.sectionIndex===e.index&&t.detach(e)}),delete this._annotations[i]}}_removeFromAnnotationBySectionIndex(t,e){this._annotationsBySectionIndex[t]=this._annotationsAt(t).filter(t=>t!==e)}_annotationsAt(t){return this._annotationsBySectionIndex[t]}highlight(t,e,i,n,r){return this.add("highlight",t,e,i,n,r)}underline(t,e,i,n,r){return this.add("underline",t,e,i,n,r)}mark(t,e,i){return this.add("mark",t,e,i)}each(){return this._annotations.forEach.apply(this._annotations,arguments)}inject(t){let e=t.index;e in this._annotationsBySectionIndex&&this._annotationsBySectionIndex[e].forEach(e=>{this._annotations[e].attach(t)})}clear(t){let e=t.index;e in this._annotationsBySectionIndex&&this._annotationsBySectionIndex[e].forEach(e=>{this._annotations[e].detach(t)})}show(){}hide(){}}(this),this.epubcfi=new a.a,this.q=new l.a(this),this.location=void 0,this.q.enqueue(this.book.opened),this.starting=new s.defer,this.started=this.starting.promise,this.q.enqueue(this.start)}setManager(t){this.manager=t}requireManager(t){return"string"==typeof t&&"default"===t?g.a:"string"==typeof t&&"continuous"===t?m.a:t}requireView(t){return"string"==typeof t&&"iframe"===t?p.a:t}start(){switch(this.settings.layout||"pre-paginated"!==this.book.package.metadata.layout&&"true"!==this.book.displayOptions.fixedLayout||(this.settings.layout="pre-paginated"),this.book.package.metadata.spread){case"none":this.settings.spread="none";break;case"both":this.settings.spread=!0}this.manager||(this.ViewManager=this.requireManager(this.settings.manager),this.View=this.requireView(this.settings.view),this.manager=new this.ViewManager({view:this.View,queue:this.q,request:this.book.load.bind(this.book),settings:this.settings})),this.direction(this.book.package.metadata.direction||this.settings.defaultDirection),this.settings.globalLayoutProperties=this.determineLayoutProperties(this.book.package.metadata),this.flow(this.settings.globalLayoutProperties.flow),this.layout(this.settings.globalLayoutProperties),this.manager.on(c.c.MANAGERS.ADDED,this.afterDisplayed.bind(this)),this.manager.on(c.c.MANAGERS.REMOVED,this.afterRemoved.bind(this)),this.manager.on(c.c.MANAGERS.RESIZED,this.onResized.bind(this)),this.manager.on(c.c.MANAGERS.ORIENTATION_CHANGE,this.onOrientationChange.bind(this)),this.manager.on(c.c.MANAGERS.SCROLLED,this.reportLocation.bind(this)),this.emit(c.c.RENDITION.STARTED),this.starting.resolve()}attachTo(t){return this.q.enqueue(function(){this.manager.render(t,{width:this.settings.width,height:this.settings.height}),this.emit(c.c.RENDITION.ATTACHED)}.bind(this))}display(t){return this.displaying&&this.displaying.resolve(),this.q.enqueue(this._display,t)}_display(t){if(this.book){this.epubcfi.isCfiString(t);var e,i=new s.defer,n=i.promise;return this.displaying=i,this.book.locations.length()&&Object(s.isFloat)(t)&&(t=this.book.locations.cfiFromPercentage(parseFloat(t))),(e=this.book.spine.get(t))?(this.manager.display(e,t).then(()=>{i.resolve(e),this.displaying=void 0,this.emit(c.c.RENDITION.DISPLAYED,e),this.reportLocation()},t=>{this.emit(c.c.RENDITION.DISPLAY_ERROR,t)}),n):(i.reject(new Error("No Section Found")),n)}}afterDisplayed(t){t.on(c.c.VIEWS.MARK_CLICKED,(e,i)=>this.triggerMarkEvent(e,i,t.contents)),this.hooks.render.trigger(t,this).then(()=>{t.contents?this.hooks.content.trigger(t.contents,this).then(()=>{this.emit(c.c.RENDITION.RENDERED,t.section,t)}):this.emit(c.c.RENDITION.RENDERED,t.section,t)})}afterRemoved(t){this.hooks.unloaded.trigger(t,this).then(()=>{this.emit(c.c.RENDITION.REMOVED,t.section,t)})}onResized(t,e){this.emit(c.c.RENDITION.RESIZED,{width:t.width,height:t.height},e),this.location&&this.location.start&&this.display(e||this.location.start.cfi)}onOrientationChange(t){this.emit(c.c.RENDITION.ORIENTATION_CHANGE,t)}moveTo(t){this.manager.moveTo(t)}resize(t,e,i){t&&(this.settings.width=t),e&&(this.settings.height=e),this.manager.resize(t,e,i)}clear(){this.manager.clear()}next(){return this.q.enqueue(this.manager.next.bind(this.manager)).then(this.reportLocation.bind(this))}prev(){return this.q.enqueue(this.manager.prev.bind(this.manager)).then(this.reportLocation.bind(this))}determineLayoutProperties(t){var e=this.settings.layout||t.layout||"reflowable",i=this.settings.spread||t.spread||"auto",n=this.settings.orientation||t.orientation||"auto",r=this.settings.flow||t.flow||"auto",s=t.viewport||"",o=this.settings.minSpreadWidth||t.minSpreadWidth||800,a=this.settings.direction||t.direction||"ltr";return(0===this.settings.width||this.settings.width>0)&&(0===this.settings.height||this.settings.height),{layout:e,spread:i,orientation:n,flow:r,viewport:s,minSpreadWidth:o,direction:a}}flow(t){var e=t;"scrolled"!==t&&"scrolled-doc"!==t&&"scrolled-continuous"!==t||(e="scrolled"),"auto"!==t&&"paginated"!==t||(e="paginated"),this.settings.flow=t,this._layout&&this._layout.flow(e),this.manager&&this._layout&&this.manager.applyLayout(this._layout),this.manager&&this.manager.updateFlow(e),this.manager&&this.manager.isRendered()&&this.location&&(this.manager.clear(),this.display(this.location.start.cfi))}layout(t){return t&&(this._layout=new u(t),this._layout.spread(t.spread,this.settings.minSpreadWidth),this._layout.on(c.c.LAYOUT.UPDATED,(t,e)=>{this.emit(c.c.RENDITION.LAYOUT,t,e)})),this.manager&&this._layout&&this.manager.applyLayout(this._layout),this._layout}spread(t,e){this.settings.spread=t,e&&(this.settings.minSpreadWidth=e),this._layout&&this._layout.spread(t,e),this.manager&&this.manager.isRendered()&&this.manager.updateLayout()}direction(t){this.settings.direction=t||"ltr",this.manager&&this.manager.direction(this.settings.direction),this.manager&&this.manager.isRendered()&&this.location&&(this.manager.clear(),this.display(this.location.start.cfi))}reportLocation(){return this.q.enqueue(function(){requestAnimationFrame(function(){var t=this.manager.currentLocation();if(t&&t.then&&"function"==typeof t.then)t.then(function(t){let e=this.located(t);e&&e.start&&e.end&&(this.location=e,this.emit(c.c.RENDITION.LOCATION_CHANGED,{index:this.location.start.index,href:this.location.start.href,start:this.location.start.cfi,end:this.location.end.cfi,percentage:this.location.start.percentage}),this.emit(c.c.RENDITION.RELOCATED,this.location))}.bind(this));else if(t){let e=this.located(t);if(!e||!e.start||!e.end)return;this.location=e,this.emit(c.c.RENDITION.LOCATION_CHANGED,{index:this.location.start.index,href:this.location.start.href,start:this.location.start.cfi,end:this.location.end.cfi,percentage:this.location.start.percentage}),this.emit(c.c.RENDITION.RELOCATED,this.location)}}.bind(this))}.bind(this))}currentLocation(){var t=this.manager.currentLocation();if(t&&t.then&&"function"==typeof t.then)t.then(function(t){return this.located(t)}.bind(this));else if(t)return this.located(t)}located(t){if(!t.length)return{};let e=t[0],i=t[t.length-1],n={start:{index:e.index,href:e.href,cfi:e.mapping.start,displayed:{page:e.pages[0]||1,total:e.totalPages}},end:{index:i.index,href:i.href,cfi:i.mapping.end,displayed:{page:i.pages[i.pages.length-1]||1,total:i.totalPages}}},r=this.book.locations.locationFromCfi(e.mapping.start),s=this.book.locations.locationFromCfi(i.mapping.end);null!=r&&(n.start.location=r,n.start.percentage=this.book.locations.percentageFromLocation(r)),null!=s&&(n.end.location=s,n.end.percentage=this.book.locations.percentageFromLocation(s));let o=this.book.pageList.pageFromCfi(e.mapping.start),a=this.book.pageList.pageFromCfi(i.mapping.end);return-1!=o&&(n.start.page=o),-1!=a&&(n.end.page=a),i.index===this.book.spine.last().index&&n.end.displayed.page>=n.end.displayed.total&&(n.atEnd=!0),e.index===this.book.spine.first().index&&1===n.start.displayed.page&&(n.atStart=!0),n}destroy(){this.manager&&this.manager.destroy(),this.book=void 0}passEvents(t){c.a.forEach(e=>{t.on(e,e=>this.triggerViewEvent(e,t))}),t.on(c.c.CONTENTS.SELECTED,e=>this.triggerSelectedEvent(e,t))}triggerViewEvent(t,e){this.emit(t.type,t,e)}triggerSelectedEvent(t,e){this.emit(c.c.RENDITION.SELECTED,t,e)}triggerMarkEvent(t,e,i){this.emit(c.c.RENDITION.MARK_CLICKED,t,e,i)}getRange(t,e){var i=new a.a(t),n=this.manager.visible().filter((function(t){if(i.spinePos===t.index)return!0}));if(n.length)return n[0].contents.range(i,e)}adjustImages(t){if("pre-paginated"===this._layout.name)return new Promise((function(t){t()}));let e=t.window.getComputedStyle(t.content,null),i=.95*(t.content.offsetHeight-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom))),n=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight);return t.addStylesheetRules({img:{"max-width":(this._layout.columnWidth?this._layout.columnWidth-n+"px":"100%")+"!important","max-height":i+"px!important","object-fit":"contain","page-break-inside":"avoid","break-inside":"avoid","box-sizing":"border-box"},svg:{"max-width":(this._layout.columnWidth?this._layout.columnWidth-n+"px":"100%")+"!important","max-height":i+"px!important","page-break-inside":"avoid","break-inside":"avoid"}}),new Promise((function(t,e){setTimeout((function(){t()}),1)}))}getContents(){return this.manager?this.manager.getContents():[]}views(){return(this.manager?this.manager.views:void 0)||[]}handleLinks(t){t&&t.on(c.c.CONTENTS.LINK_CLICKED,t=>{let e=this.book.path.relative(t);this.display(e)})}injectStylesheet(t,e){let i=t.createElement("link");i.setAttribute("type","text/css"),i.setAttribute("rel","stylesheet"),i.setAttribute("href",this.settings.stylesheet),t.getElementsByTagName("head")[0].appendChild(i)}injectScript(t,e){let i=t.createElement("script");i.setAttribute("type","text/javascript"),i.setAttribute("src",this.settings.script),i.textContent=" ",t.getElementsByTagName("head")[0].appendChild(i)}injectIdentifier(t,e){let i=this.book.packaging.metadata.identifier,n=t.createElement("meta");n.setAttribute("name","dc.relation.ispartof"),i&&n.setAttribute("content",i),t.getElementsByTagName("head")[0].appendChild(n)}}r()(v.prototype),e.a=v},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e,i){var n=i(17);t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,i){var n=i(7),r=i(15);t.exports=function(t,e){try{r(n,t,e)}catch(i){n[t]=e}return e}},function(t,e,i){var n=i(66),r=i(67),s=n("keys");t.exports=function(t){return s[t]||(s[t]=r(t))}},function(t,e){t.exports={}},function(t,e,i){var n=i(92),r=i(7),s=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?s(n[t])||s(r[t]):n[t]&&n[t][e]||r[t]&&r[t][e]}},function(t,e,i){var n=i(35),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,i){"use strict";var n,r,s=i(97),o=i(98),a=RegExp.prototype.exec,l=String.prototype.replace,c=a,h=(n=/a/,r=/b*/g,a.call(n,"a"),a.call(r,"a"),0!==n.lastIndex||0!==r.lastIndex),u=o.UNSUPPORTED_Y||o.BROKEN_CARET,d=void 0!==/()??/.exec("")[1];(h||d||u)&&(c=function(t){var e,i,n,r,o=this,c=u&&o.sticky,f=s.call(o),p=o.source,g=0,m=t;return c&&(-1===(f=f.replace("y","")).indexOf("g")&&(f+="g"),m=String(t).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==t[o.lastIndex-1])&&(p="(?: "+p+")",m=" "+m,g++),i=new RegExp("^(?:"+p+")",f)),d&&(i=new RegExp("^"+p+"$(?!\\s)",f)),h&&(e=o.lastIndex),n=a.call(c?i:o,m),c?n?(n.input=n.input.slice(g),n[0]=n[0].slice(g),n.index=o.lastIndex,o.lastIndex+=n[0].length):o.lastIndex=0:h&&n&&(o.lastIndex=o.global?n.index+n[0].length:e),d&&n&&n.length>1&&l.call(n[0],i,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(n[r]=void 0)})),n}),t.exports=c},function(t,e,i){var n=i(35),r=i(33),s=function(t){return function(e,i){var s,o,a=String(r(e)),l=n(i),c=a.length;return l<0||l>=c?t?"":void 0:(s=a.charCodeAt(l))<55296||s>56319||l+1===c||(o=a.charCodeAt(l+1))<56320||o>57343?t?a.charAt(l):s:t?a.slice(l,l+2):o-56320+(s-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,e,i){var n,r=i(13),s=i(72),o=i(47),a=i(44),l=i(104),c=i(63),h=i(43)("IE_PROTO"),u=function(){},d=function(t){return"<script>"+t+"<\/script>"},f=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;f=n?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=c("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var i=o.length;i--;)delete f.prototype[o[i]];return f()};a[h]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(u.prototype=r(t),i=new u,u.prototype=null,i[h]=t):i=f(),void 0===e?i:s(i,e)}},function(t,e,i){"use strict";var n=i(115)();t.exports=function(t){return t!==n&&null!==t}},function(t,e,i){var n=i(81),r=i(27),s=i(8)("iterator");t.exports=function(t){if(null!=t)return t[s]||t["@@iterator"]||r[n(t)]}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,i){"use strict";var n=i(3),r=i.n(n),s=i(0),o=i(2),a=i(28),l=i(1),c=i(29);class h{constructor(t,e){this.settings=Object(s.extend)({ignoreClass:"",axis:void 0,direction:void 0,width:0,height:0,layout:void 0,globalLayoutProperties:{},method:void 0,forceRight:!1},e||{}),this.id="epubjs-view-"+Object(s.uuid)(),this.section=t,this.index=t.index,this.element=this.container(this.settings.axis),this.added=!1,this.displayed=!1,this.rendered=!1,this.fixedWidth=0,this.fixedHeight=0,this.epubcfi=new o.a,this.layout=this.settings.layout,this.pane=void 0,this.highlights={},this.underlines={},this.marks={}}container(t){var e=document.createElement("div");return e.classList.add("epub-view"),e.style.height="0px",e.style.width="0px",e.style.overflow="hidden",e.style.position="relative",e.style.display="block",e.style.flex=t&&"horizontal"==t?"none":"initial",e}create(){return this.iframe||(this.element||(this.element=this.createContainer()),this.iframe=document.createElement("iframe"),this.iframe.id=this.id,this.iframe.scrolling="no",this.iframe.style.overflow="hidden",this.iframe.seamless="seamless",this.iframe.style.border="none",this.iframe.setAttribute("enable-annotation","true"),this.resizing=!0,this.element.style.visibility="hidden",this.iframe.style.visibility="hidden",this.iframe.style.width="0",this.iframe.style.height="0",this._width=0,this._height=0,this.element.setAttribute("ref",this.index),this.added=!0,this.elementBounds=Object(s.bounds)(this.element),"srcdoc"in this.iframe?this.supportsSrcdoc=!0:this.supportsSrcdoc=!1,this.settings.method||(this.settings.method=this.supportsSrcdoc?"srcdoc":"write")),this.iframe}render(t,e){return this.create(),this.size(),this.sectionRender||(this.sectionRender=this.section.render(t)),this.sectionRender.then(function(t){return this.load(t)}.bind(this)).then(function(){let t,e=this.contents.writingMode();return t="scrolled"===this.settings.flow?0===e.indexOf("vertical")?"horizontal":"vertical":0===e.indexOf("vertical")?"vertical":"horizontal",0===e.indexOf("vertical")&&"paginated"===this.settings.flow&&(this.layout.delta=this.layout.height),this.setAxis(t),this.emit(l.c.VIEWS.AXIS,t),this.setWritingMode(e),this.emit(l.c.VIEWS.WRITING_MODE,e),this.layout.format(this.contents,this.section,this.axis),this.addListeners(),new Promise((t,e)=>{this.expand(),this.settings.forceRight&&(this.element.style.marginLeft=this.width()+"px"),t()})}.bind(this),function(t){return this.emit(l.c.VIEWS.LOAD_ERROR,t),new Promise((e,i)=>{i(t)})}.bind(this)).then(function(){this.emit(l.c.VIEWS.RENDERED,this.section)}.bind(this))}reset(){this.iframe&&(this.iframe.style.width="0",this.iframe.style.height="0",this._width=0,this._height=0,this._textWidth=void 0,this._contentWidth=void 0,this._textHeight=void 0,this._contentHeight=void 0),this._needsReframe=!0}size(t,e){var i=t||this.settings.width,n=e||this.settings.height;"pre-paginated"===this.layout.name?this.lock("both",i,n):"horizontal"===this.settings.axis?this.lock("height",i,n):this.lock("width",i,n),this.settings.width=i,this.settings.height=n}lock(t,e,i){var n,r=Object(s.borders)(this.element);n=this.iframe?Object(s.borders)(this.iframe):{width:0,height:0},"width"==t&&Object(s.isNumber)(e)&&(this.lockedWidth=e-r.width-n.width),"height"==t&&Object(s.isNumber)(i)&&(this.lockedHeight=i-r.height-n.height),"both"===t&&Object(s.isNumber)(e)&&Object(s.isNumber)(i)&&(this.lockedWidth=e-r.width-n.width,this.lockedHeight=i-r.height-n.height),this.displayed&&this.iframe&&this.expand()}expand(t){var e,i=this.lockedWidth,n=this.lockedHeight;this.iframe&&!this._expanding&&(this._expanding=!0,"pre-paginated"===this.layout.name?(i=this.layout.columnWidth,n=this.layout.height):"horizontal"===this.settings.axis?((i=this.contents.textWidth())%this.layout.pageWidth>0&&(i=Math.ceil(i/this.layout.pageWidth)*this.layout.pageWidth),this.settings.forceEvenPages&&(e=i/this.layout.pageWidth,this.layout.divisor>1&&"reflowable"===this.layout.name&&e%2>0&&(i+=this.layout.pageWidth))):"vertical"===this.settings.axis&&(n=this.contents.textHeight(),"paginated"===this.settings.flow&&n%this.layout.height>0&&(n=Math.ceil(n/this.layout.height)*this.layout.height)),(this._needsReframe||i!=this._width||n!=this._height)&&this.reframe(i,n),this._expanding=!1)}reframe(t,e){var i;Object(s.isNumber)(t)&&(this.element.style.width=t+"px",this.iframe.style.width=t+"px",this._width=t),Object(s.isNumber)(e)&&(this.element.style.height=e+"px",this.iframe.style.height=e+"px",this._height=e),i={width:t,height:e,widthDelta:this.prevBounds?t-this.prevBounds.width:t,heightDelta:this.prevBounds?e-this.prevBounds.height:e},this.pane&&this.pane.render(),requestAnimationFrame(()=>{let t;for(let e in this.marks)this.marks.hasOwnProperty(e)&&(t=this.marks[e],this.placeMark(t.element,t.range))}),this.onResize(this,i),this.emit(l.c.VIEWS.RESIZED,i),this.prevBounds=i,this.elementBounds=Object(s.bounds)(this.element)}load(t){var e=new s.defer,i=e.promise;if(!this.iframe)return e.reject(new Error("No Iframe Available")),i;if(this.iframe.onload=function(t){this.onLoad(t,e)}.bind(this),"blobUrl"===this.settings.method)this.blobUrl=Object(s.createBlobUrl)(t,"application/xhtml+xml"),this.iframe.src=this.blobUrl,this.element.appendChild(this.iframe);else if("srcdoc"===this.settings.method)this.iframe.srcdoc=t,this.element.appendChild(this.iframe);else{if(this.element.appendChild(this.iframe),this.document=this.iframe.contentDocument,!this.document)return e.reject(new Error("No Document Available")),i;if(this.iframe.contentDocument.open(),window.MSApp&&MSApp.execUnsafeLocalFunction){var n=this;MSApp.execUnsafeLocalFunction((function(){n.iframe.contentDocument.write(t)}))}else this.iframe.contentDocument.write(t);this.iframe.contentDocument.close()}return i}onLoad(t,e){this.window=this.iframe.contentWindow,this.document=this.iframe.contentDocument,this.contents=new a.a(this.document,this.document.body,this.section.cfiBase,this.section.index),this.rendering=!1;var i=this.document.querySelector("link[rel='canonical']");i?i.setAttribute("href",this.section.canonical):((i=this.document.createElement("link")).setAttribute("rel","canonical"),i.setAttribute("href",this.section.canonical),this.document.querySelector("head").appendChild(i)),this.contents.on(l.c.CONTENTS.EXPAND,()=>{this.displayed&&this.iframe&&(this.expand(),this.contents&&this.layout.format(this.contents))}),this.contents.on(l.c.CONTENTS.RESIZE,t=>{this.displayed&&this.iframe&&(this.expand(),this.contents&&this.layout.format(this.contents))}),e.resolve(this.contents)}setLayout(t){this.layout=t,this.contents&&(this.layout.format(this.contents),this.expand())}setAxis(t){this.settings.axis=t,this.element.style.flex="horizontal"==t?"none":"initial",this.size()}setWritingMode(t){this.writingMode=t}addListeners(){}removeListeners(t){}display(t){var e=new s.defer;return this.displayed?e.resolve(this):this.render(t).then(function(){this.emit(l.c.VIEWS.DISPLAYED,this),this.onDisplayed(this),this.displayed=!0,e.resolve(this)}.bind(this),(function(t){e.reject(t,this)})),e.promise}show(){this.element.style.visibility="visible",this.iframe&&(this.iframe.style.visibility="visible",this.iframe.style.transform="translateZ(0)",this.iframe.offsetWidth,this.iframe.style.transform=null),this.emit(l.c.VIEWS.SHOWN,this)}hide(){this.element.style.visibility="hidden",this.iframe.style.visibility="hidden",this.stopExpanding=!0,this.emit(l.c.VIEWS.HIDDEN,this)}offset(){return{top:this.element.offsetTop,left:this.element.offsetLeft}}width(){return this._width}height(){return this._height}position(){return this.element.getBoundingClientRect()}locationOf(t){this.iframe.getBoundingClientRect();var e=this.contents.locationOf(t,this.settings.ignoreClass);return{left:e.left,top:e.top}}onDisplayed(t){}onResize(t,e){}bounds(t){return!t&&this.elementBounds||(this.elementBounds=Object(s.bounds)(this.element)),this.elementBounds}highlight(t,e={},i,n="epubjs-hl",r={}){if(!this.contents)return;const s=Object.assign({fill:"yellow","fill-opacity":"0.3","mix-blend-mode":"multiply"},r);let o=this.contents.range(t),a=()=>{this.emit(l.c.VIEWS.MARK_CLICKED,t,e)};e.epubcfi=t,this.pane||(this.pane=new c.Pane(this.iframe,this.element));let h=new c.Highlight(o,n,e,s),u=this.pane.addMark(h);return this.highlights[t]={mark:u,element:u.element,listeners:[a,i]},u.element.setAttribute("ref",n),u.element.addEventListener("click",a),u.element.addEventListener("touchstart",a),i&&(u.element.addEventListener("click",i),u.element.addEventListener("touchstart",i)),u}underline(t,e={},i,n="epubjs-ul",r={}){if(!this.contents)return;const s=Object.assign({stroke:"black","stroke-opacity":"0.3","mix-blend-mode":"multiply"},r);let o=this.contents.range(t),a=()=>{this.emit(l.c.VIEWS.MARK_CLICKED,t,e)};e.epubcfi=t,this.pane||(this.pane=new c.Pane(this.iframe,this.element));let h=new c.Underline(o,n,e,s),u=this.pane.addMark(h);return this.underlines[t]={mark:u,element:u.element,listeners:[a,i]},u.element.setAttribute("ref",n),u.element.addEventListener("click",a),u.element.addEventListener("touchstart",a),i&&(u.element.addEventListener("click",i),u.element.addEventListener("touchstart",i)),u}mark(t,e={},i){if(!this.contents)return;if(t in this.marks)return this.marks[t];let n=this.contents.range(t);if(!n)return;let r=n.commonAncestorContainer,s=1===r.nodeType?r:r.parentNode,o=i=>{this.emit(l.c.VIEWS.MARK_CLICKED,t,e)};n.collapsed&&1===r.nodeType?(n=new Range,n.selectNodeContents(r)):n.collapsed&&(n=new Range,n.selectNodeContents(s));let a=this.document.createElement("a");return a.setAttribute("ref","epubjs-mk"),a.style.position="absolute",a.dataset.epubcfi=t,e&&Object.keys(e).forEach(t=>{a.dataset[t]=e[t]}),i&&(a.addEventListener("click",i),a.addEventListener("touchstart",i)),a.addEventListener("click",o),a.addEventListener("touchstart",o),this.placeMark(a,n),this.element.appendChild(a),this.marks[t]={element:a,range:n,listeners:[o,i]},s}placeMark(t,e){let i,n,r;if("pre-paginated"===this.layout.name||"horizontal"!==this.settings.axis){let t=e.getBoundingClientRect();i=t.top,n=t.right}else{let t,o=e.getClientRects();for(var s=0;s!=o.length;s++)t=o[s],(!r||t.left<r)&&(r=t.left,n=Math.ceil(r/this.layout.props.pageWidth)*this.layout.props.pageWidth-this.layout.gap/2,i=t.top)}t.style.top=i+"px",t.style.left=n+"px"}unhighlight(t){let e;t in this.highlights&&(e=this.highlights[t],this.pane.removeMark(e.mark),e.listeners.forEach(t=>{t&&(e.element.removeEventListener("click",t),e.element.removeEventListener("touchstart",t))}),delete this.highlights[t])}ununderline(t){let e;t in this.underlines&&(e=this.underlines[t],this.pane.removeMark(e.mark),e.listeners.forEach(t=>{t&&(e.element.removeEventListener("click",t),e.element.removeEventListener("touchstart",t))}),delete this.underlines[t])}unmark(t){let e;t in this.marks&&(e=this.marks[t],this.element.removeChild(e.element),e.listeners.forEach(t=>{t&&(e.element.removeEventListener("click",t),e.element.removeEventListener("touchstart",t))}),delete this.marks[t])}destroy(){for(let t in this.highlights)this.unhighlight(t);for(let t in this.underlines)this.ununderline(t);for(let t in this.marks)this.unmark(t);this.blobUrl&&Object(s.revokeBlobUrl)(this.blobUrl),this.displayed&&(this.displayed=!1,this.removeListeners(),this.contents.destroy(),this.stopExpanding=!0,this.element.removeChild(this.iframe),this.iframe=void 0,this.contents=void 0,this._textWidth=null,this._textHeight=null,this._width=null,this._height=null)}}r()(h.prototype),e.a=h},function(t,e,i){var n=i(53),r=i(137),s=i(139),o=Math.max,a=Math.min;t.exports=function(t,e,i){var l,c,h,u,d,f,p=0,g=!1,m=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var i=l,n=c;return l=c=void 0,p=e,u=t.apply(n,i)}function b(t){return p=t,d=setTimeout(x,e),g?y(t):u}function w(t){var i=t-f;return void 0===f||i>=e||i<0||m&&t-p>=h}function x(){var t=r();if(w(t))return _(t);d=setTimeout(x,function(t){var i=e-(t-f);return m?a(i,h-(t-p)):i}(t))}function _(t){return d=void 0,v&&l?y(t):(l=c=void 0,u)}function k(){var t=r(),i=w(t);if(l=arguments,c=this,f=t,i){if(void 0===d)return b(f);if(m)return clearTimeout(d),d=setTimeout(x,e),y(f)}return void 0===d&&(d=setTimeout(x,e)),u}return e=s(e)||0,n(i)&&(g=!!i.leading,h=(m="maxWait"in i)?o(s(i.maxWait)||0,e):h,v="trailing"in i?!!i.trailing:v),k.cancel=function(){void 0!==d&&clearTimeout(d),p=0,l=f=c=d=void 0},k.flush=function(){return void 0===d?u:_(r())},k}},function(t,e,i){"use strict";i(14);var n=i(0),r=i(22),s=i(1),o=i(3),a=i.n(o);const l=Math.PI/2,c={easeOutSine:function(t){return Math.sin(t*l)},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},easeInCubic:function(t){return Math.pow(t,3)}};class h{constructor(t,e){this.settings=Object(n.extend)({duration:80,minVelocity:.2,minDistance:10,easing:c.easeInCubic},e||{}),this.supportsTouch=this.supportsTouch(),this.supportsTouch&&this.setup(t)}setup(t){this.manager=t,this.layout=this.manager.layout,this.fullsize=this.manager.settings.fullsize,this.fullsize?(this.element=this.manager.stage.element,this.scroller=window,this.disableScroll()):(this.element=this.manager.stage.container,this.scroller=this.element,this.element.style.WebkitOverflowScrolling="touch"),this.manager.settings.offset=this.layout.width,this.manager.settings.afterScrolledTimeout=2*this.settings.duration,this.isVertical="vertical"===this.manager.settings.axis,this.manager.isPaginated&&!this.isVertical&&(this.touchCanceler=!1,this.resizeCanceler=!1,this.snapping=!1,this.scrollLeft,this.scrollTop,this.startTouchX=void 0,this.startTouchY=void 0,this.startTime=void 0,this.endTouchX=void 0,this.endTouchY=void 0,this.endTime=void 0,this.addListeners())}supportsTouch(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}disableScroll(){this.element.style.overflow="hidden"}enableScroll(){this.element.style.overflow=""}addListeners(){this._onResize=this.onResize.bind(this),window.addEventListener("resize",this._onResize),this._onScroll=this.onScroll.bind(this),this.scroller.addEventListener("scroll",this._onScroll),this._onTouchStart=this.onTouchStart.bind(this),this.scroller.addEventListener("touchstart",this._onTouchStart,{passive:!0}),this.on("touchstart",this._onTouchStart),this._onTouchMove=this.onTouchMove.bind(this),this.scroller.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.on("touchmove",this._onTouchMove),this._onTouchEnd=this.onTouchEnd.bind(this),this.scroller.addEventListener("touchend",this._onTouchEnd,{passive:!0}),this.on("touchend",this._onTouchEnd),this._afterDisplayed=this.afterDisplayed.bind(this),this.manager.on(s.c.MANAGERS.ADDED,this._afterDisplayed)}removeListeners(){window.removeEventListener("resize",this._onResize),this._onResize=void 0,this.scroller.removeEventListener("scroll",this._onScroll),this._onScroll=void 0,this.scroller.removeEventListener("touchstart",this._onTouchStart,{passive:!0}),this.off("touchstart",this._onTouchStart),this._onTouchStart=void 0,this.scroller.removeEventListener("touchmove",this._onTouchMove,{passive:!0}),this.off("touchmove",this._onTouchMove),this._onTouchMove=void 0,this.scroller.removeEventListener("touchend",this._onTouchEnd,{passive:!0}),this.off("touchend",this._onTouchEnd),this._onTouchEnd=void 0,this.manager.off(s.c.MANAGERS.ADDED,this._afterDisplayed),this._afterDisplayed=void 0}afterDisplayed(t){let e=t.contents;["touchstart","touchmove","touchend"].forEach(t=>{e.on(t,t=>this.triggerViewEvent(t,e))})}triggerViewEvent(t,e){this.emit(t.type,t,e)}onScroll(t){this.scrollLeft=this.fullsize?window.scrollX:this.scroller.scrollLeft,this.scrollTop=this.fullsize?window.scrollY:this.scroller.scrollTop}onResize(t){this.resizeCanceler=!0}onTouchStart(t){let{screenX:e,screenY:i}=t.touches[0];this.fullsize&&this.enableScroll(),this.touchCanceler=!0,this.startTouchX||(this.startTouchX=e,this.startTouchY=i,this.startTime=this.now()),this.endTouchX=e,this.endTouchY=i,this.endTime=this.now()}onTouchMove(t){let{screenX:e,screenY:i}=t.touches[0],n=Math.abs(i-this.endTouchY);this.touchCanceler=!0,!this.fullsize&&n<10&&(this.element.scrollLeft-=e-this.endTouchX),this.endTouchX=e,this.endTouchY=i,this.endTime=this.now()}onTouchEnd(t){this.fullsize&&this.disableScroll(),this.touchCanceler=!1;let e=this.wasSwiped();0!==e?this.snap(e):this.snap(),this.startTouchX=void 0,this.startTouchY=void 0,this.startTime=void 0,this.endTouchX=void 0,this.endTouchY=void 0,this.endTime=void 0}wasSwiped(){let t=this.layout.pageWidth*this.layout.divisor,e=this.endTouchX-this.startTouchX,i=Math.abs(e),n=e/(this.endTime-this.startTime),r=this.settings.minVelocity;return i<=this.settings.minDistance||i>=t?0:n>r?-1:n<-r?1:void 0}needsSnap(){return this.scrollLeft%(this.layout.pageWidth*this.layout.divisor)!=0}snap(t=0){let e=this.scrollLeft,i=this.layout.pageWidth*this.layout.divisor,n=Math.round(e/i)*i;return t&&(n+=t*i),this.smoothScrollTo(n)}smoothScrollTo(t){const e=new n.defer,i=this.scrollLeft,r=this.now(),s=this.settings.duration,o=this.settings.easing;return this.snapping=!0,function n(){const a=this.now(),l=Math.min(1,(a-r)/s);if(o(l),this.touchCanceler||this.resizeCanceler)return this.resizeCanceler=!1,this.snapping=!1,void e.resolve();l<1?(window.requestAnimationFrame(n.bind(this)),this.scrollTo(i+(t-i)*l,0)):(this.scrollTo(t,0),this.snapping=!1,e.resolve())}.call(this),e.promise}scrollTo(t=0,e=0){this.fullsize?window.scroll(t,e):(this.scroller.scrollLeft=t,this.scroller.scrollTop=e)}now(){return"now"in window.performance?performance.now():(new Date).getTime()}destroy(){this.scroller&&(this.fullsize&&this.enableScroll(),this.removeListeners(),this.scroller=void 0)}}a()(h.prototype);var u=h,d=i(55),f=i.n(d);class p extends r.a{constructor(t){super(t),this.name="continuous",this.settings=Object(n.extend)(this.settings||{},{infinite:!0,overflow:void 0,axis:void 0,writingMode:void 0,flow:"scrolled",offset:500,offsetDelta:250,width:void 0,height:void 0,snap:!1,afterScrolledTimeout:10}),Object(n.extend)(this.settings,t.settings||{}),"undefined"!=t.settings.gap&&0===t.settings.gap&&(this.settings.gap=t.settings.gap),this.viewSettings={ignoreClass:this.settings.ignoreClass,axis:this.settings.axis,flow:this.settings.flow,layout:this.layout,width:0,height:0,forceEvenPages:!1},this.scrollTop=0,this.scrollLeft=0}display(t,e){return r.a.prototype.display.call(this,t,e).then(function(){return this.fill()}.bind(this))}fill(t){var e=t||new n.defer;return this.q.enqueue(()=>this.check()).then(t=>{t?this.fill(e):e.resolve()}),e.promise}moveTo(t){var e=0,i=0;this.isPaginated?(e=Math.floor(t.left/this.layout.delta)*this.layout.delta,this.settings.offsetDelta):(i=t.top,t.top,this.settings.offsetDelta),(e>0||i>0)&&this.scrollBy(e,i,!0)}afterResized(t){this.emit(s.c.MANAGERS.RESIZE,t.section)}removeShownListeners(t){t.onDisplayed=function(){}}add(t){var e=this.createView(t);return this.views.append(e),e.on(s.c.VIEWS.RESIZED,t=>{e.expanded=!0}),e.on(s.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),e.on(s.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),e.onDisplayed=this.afterDisplayed.bind(this),e.onResize=this.afterResized.bind(this),e.display(this.request)}append(t){var e=this.createView(t);return e.on(s.c.VIEWS.RESIZED,t=>{e.expanded=!0}),e.on(s.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),e.on(s.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),this.views.append(e),e.onDisplayed=this.afterDisplayed.bind(this),e}prepend(t){var e=this.createView(t);return e.on(s.c.VIEWS.RESIZED,t=>{this.counter(t),e.expanded=!0}),e.on(s.c.VIEWS.AXIS,t=>{this.updateAxis(t)}),e.on(s.c.VIEWS.WRITING_MODE,t=>{this.updateWritingMode(t)}),this.views.prepend(e),e.onDisplayed=this.afterDisplayed.bind(this),e}counter(t){"vertical"===this.settings.axis?this.scrollBy(0,t.heightDelta,!0):this.scrollBy(t.widthDelta,0,!0)}update(t){for(var e,i=this.bounds(),r=this.views.all(),s=r.length,o=[],a=void 0!==t?t:this.settings.offset||0,l=new n.defer,c=[],h=0;h<s;h++)if(e=r[h],!0===this.isVisible(e,a,a,i)){if(e.displayed)e.show();else{let t=e.display(this.request).then((function(t){t.show()}),t=>{e.hide()});c.push(t)}o.push(e)}else this.q.enqueue(e.destroy.bind(e)),clearTimeout(this.trimTimeout),this.trimTimeout=setTimeout(function(){this.q.enqueue(this.trim.bind(this))}.bind(this),250);return c.length?Promise.all(c).catch(t=>{l.reject(t)}):(l.resolve(),l.promise)}check(t,e){var i=new n.defer,r=[],s="horizontal"===this.settings.axis,o=this.settings.offset||0;t&&s&&(o=t),e&&!s&&(o=e);var a=this._bounds;let l=s?this.scrollLeft:this.scrollTop,c=s?Math.floor(a.width):a.height,h=s?this.container.scrollWidth:this.container.scrollHeight,u=this.writingMode&&0===this.writingMode.indexOf("vertical")?"vertical":"horizontal",d=this.settings.rtlScrollType,f="rtl"===this.settings.direction;this.settings.fullsize?(s&&f&&"negative"===d||!s&&f&&"default"===d)&&(l*=-1):(f&&"default"===d&&"horizontal"===u&&(l=h-c-l),f&&"negative"===d&&"horizontal"===u&&(l*=-1));let p=l-o;l+c+o>=h&&(()=>{let t=this.views.last(),e=t&&t.section.next();e&&r.push(this.append(e))})(),p<0&&(()=>{let t=this.views.first(),e=t&&t.section.prev();e&&r.push(this.prepend(e))})();let g=r.map(t=>t.display(this.request));return r.length?Promise.all(g).then(()=>this.check()).then(()=>this.update(o),t=>t):(this.q.enqueue(function(){this.update()}.bind(this)),i.resolve(!1),i.promise)}trim(){for(var t=new n.defer,e=this.views.displayed(),i=e[0],r=e[e.length-1],s=this.views.indexOf(i),o=this.views.indexOf(r),a=this.views.slice(0,s),l=this.views.slice(o+1),c=0;c<a.length-1;c++)this.erase(a[c],a);for(var h=1;h<l.length;h++)this.erase(l[h]);return t.resolve(),t.promise}erase(t,e){var i,n;this.settings.fullsize?(i=window.scrollY,n=window.scrollX):(i=this.container.scrollTop,n=this.container.scrollLeft);var r=t.bounds();this.views.remove(t),e&&("vertical"===this.settings.axis?this.scrollTo(0,i-r.height,!0):"rtl"===this.settings.direction?this.settings.fullsize?this.scrollTo(n+Math.floor(r.width),0,!0):this.scrollTo(n,0,!0):this.scrollTo(n-Math.floor(r.width),0,!0))}addEventListeners(t){window.addEventListener("unload",function(t){this.ignore=!0,this.destroy()}.bind(this)),this.addScrollListeners(),this.isPaginated&&this.settings.snap&&(this.snapper=new u(this,this.settings.snap&&"object"==typeof this.settings.snap&&this.settings.snap))}addScrollListeners(){var t;this.tick=n.requestAnimationFrame;let e="rtl"===this.settings.direction&&"default"===this.settings.rtlScrollType?-1:1;this.scrollDeltaVert=0,this.scrollDeltaHorz=0,this.settings.fullsize?(t=window,this.scrollTop=window.scrollY*e,this.scrollLeft=window.scrollX*e):(t=this.container,this.scrollTop=this.container.scrollTop,this.scrollLeft=this.container.scrollLeft),this._onScroll=this.onScroll.bind(this),t.addEventListener("scroll",this._onScroll),this._scrolled=f()(this.scrolled.bind(this),30),this.didScroll=!1}removeEventListeners(){(this.settings.fullsize?window:this.container).removeEventListener("scroll",this._onScroll),this._onScroll=void 0}onScroll(){let t,e,i="rtl"===this.settings.direction&&"default"===this.settings.rtlScrollType?-1:1;this.settings.fullsize?(t=window.scrollY*i,e=window.scrollX*i):(t=this.container.scrollTop,e=this.container.scrollLeft),this.scrollTop=t,this.scrollLeft=e,this.ignore?this.ignore=!1:this._scrolled(),this.scrollDeltaVert+=Math.abs(t-this.prevScrollTop),this.scrollDeltaHorz+=Math.abs(e-this.prevScrollLeft),this.prevScrollTop=t,this.prevScrollLeft=e,clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(function(){this.scrollDeltaVert=0,this.scrollDeltaHorz=0}.bind(this),150),clearTimeout(this.afterScrolled),this.didScroll=!1}scrolled(){this.q.enqueue(function(){return this.check()}.bind(this)),this.emit(s.c.MANAGERS.SCROLL,{top:this.scrollTop,left:this.scrollLeft}),clearTimeout(this.afterScrolled),this.afterScrolled=setTimeout(function(){this.snapper&&this.snapper.supportsTouch&&this.snapper.needsSnap()||this.emit(s.c.MANAGERS.SCROLLED,{top:this.scrollTop,left:this.scrollLeft})}.bind(this),this.settings.afterScrolledTimeout)}next(){let t="pre-paginated"===this.layout.props.name&&this.layout.props.spread?2*this.layout.props.delta:this.layout.props.delta;this.views.length&&(this.isPaginated&&"horizontal"===this.settings.axis?this.scrollBy(t,0,!0):this.scrollBy(0,this.layout.height,!0),this.q.enqueue(function(){return this.check()}.bind(this)))}prev(){let t="pre-paginated"===this.layout.props.name&&this.layout.props.spread?2*this.layout.props.delta:this.layout.props.delta;this.views.length&&(this.isPaginated&&"horizontal"===this.settings.axis?this.scrollBy(-t,0,!0):this.scrollBy(0,-this.layout.height,!0),this.q.enqueue(function(){return this.check()}.bind(this)))}updateFlow(t){this.rendered&&this.snapper&&(this.snapper.destroy(),this.snapper=void 0),super.updateFlow(t,"scroll"),this.rendered&&this.isPaginated&&this.settings.snap&&(this.snapper=new u(this,this.settings.snap&&"object"==typeof this.settings.snap&&this.settings.snap))}destroy(){super.destroy(),this.snapper&&this.snapper.destroy()}}e.a=p},function(t,e,i){(function(e){t.exports=function t(e,i,n){function r(o,a){if(!i[o]){if(!e[o]){if(s)return s(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=i[o]={exports:{}};e[o][0].call(c.exports,(function(t){return r(e[o][1][t]||t)}),c,c.exports,t,e,i,n)}return i[o].exports}for(var s=!1,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,i,n){(function(t){"use strict";var e,n,r=t.MutationObserver||t.WebKitMutationObserver;if(r){var s=0,o=new r(h),a=t.document.createTextNode("");o.observe(a,{characterData:!0}),e=function(){a.data=s=++s%2}}else if(t.setImmediate||void 0===t.MessageChannel)e="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){h(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(h,0)};else{var l=new t.MessageChannel;l.port1.onmessage=h,e=function(){l.port2.postMessage(0)}}var c=[];function h(){var t,e;n=!0;for(var i=c.length;i;){for(e=c,c=[],t=-1;++t<i;)e[t]();i=c.length}n=!1}i.exports=function(t){1!==c.push(t)||n||e()}}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,i){"use strict";var n=t(1);function r(){}var s={},o=["REJECTED"],a=["FULFILLED"],l=["PENDING"];function c(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==r&&f(this,t)}function h(t,e,i){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function u(t,e,i){n((function(){var n;try{n=e(i)}catch(e){return s.reject(t,e)}n===t?s.reject(t,new TypeError("Cannot resolve promise with itself")):s.resolve(t,n)}))}function d(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function f(t,e){var i=!1;function n(e){i||(i=!0,s.reject(t,e))}function r(e){i||(i=!0,s.resolve(t,e))}var o=p((function(){e(r,n)}));"error"===o.status&&n(o.value)}function p(t,e){var i={};try{i.value=t(e),i.status="success"}catch(t){i.status="error",i.value=t}return i}e.exports=c,c.prototype.catch=function(t){return this.then(null,t)},c.prototype.then=function(t,e){if("function"!=typeof t&&this.state===a||"function"!=typeof e&&this.state===o)return this;var i=new this.constructor(r);return this.state!==l?u(i,this.state===a?t:e,this.outcome):this.queue.push(new h(i,t,e)),i},h.prototype.callFulfilled=function(t){s.resolve(this.promise,t)},h.prototype.otherCallFulfilled=function(t){u(this.promise,this.onFulfilled,t)},h.prototype.callRejected=function(t){s.reject(this.promise,t)},h.prototype.otherCallRejected=function(t){u(this.promise,this.onRejected,t)},s.resolve=function(t,e){var i=p(d,e);if("error"===i.status)return s.reject(t,i.value);var n=i.value;if(n)f(t,n);else{t.state=a,t.outcome=e;for(var r=-1,o=t.queue.length;++r<o;)t.queue[r].callFulfilled(e)}return t},s.reject=function(t,e){t.state=o,t.outcome=e;for(var i=-1,n=t.queue.length;++i<n;)t.queue[i].callRejected(e);return t},c.resolve=function(t){return t instanceof this?t:s.resolve(new this(r),t)},c.reject=function(t){var e=new this(r);return s.reject(e,t)},c.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,n=!1;if(!i)return this.resolve([]);for(var o=new Array(i),a=0,l=-1,c=new this(r);++l<i;)h(t[l],l);return c;function h(t,r){e.resolve(t).then((function(t){o[r]=t,++a!==i||n||(n=!0,s.resolve(c,o))}),(function(t){n||(n=!0,s.reject(c,t))}))}},c.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,i=!1;if(!e)return this.resolve([]);for(var n,o=-1,a=new this(r);++o<e;)n=t[o],this.resolve(n).then((function(t){i||(i=!0,s.resolve(a,t))}),(function(t){i||(i=!0,s.reject(a,t))}));return a}},{1:1}],3:[function(t,i,n){(function(e){"use strict";"function"!=typeof e.Promise&&(e.Promise=t(2))}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(t,e,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(t){return}}();function s(t,e){t=t||[],e=e||{};try{return new Blob(t,e)}catch(r){if("TypeError"!==r.name)throw r;for(var i=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),n=0;n<t.length;n+=1)i.append(t[n]);return i.getBlob(e.type)}}"undefined"==typeof Promise&&t(3);var o=Promise;function a(t,e){e&&t.then((function(t){e(null,t)}),(function(t){e(t)}))}function l(t,e,i){"function"==typeof e&&t.then(e),"function"==typeof i&&t.catch(i)}function c(t){return"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t)),t}function h(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var u=void 0,d={},f=Object.prototype.toString;function p(t){return"boolean"==typeof u?o.resolve(u):function(t){return new o((function(e){var i=t.transaction("local-forage-detect-blob-support","readwrite"),n=s([""]);i.objectStore("local-forage-detect-blob-support").put(n,"key"),i.onabort=function(t){t.preventDefault(),t.stopPropagation(),e(!1)},i.oncomplete=function(){var t=navigator.userAgent.match(/Chrome\/(\d+)/),i=navigator.userAgent.match(/Edge\//);e(i||!t||parseInt(t[1],10)>=43)}})).catch((function(){return!1}))}(t).then((function(t){return u=t}))}function g(t){var e=d[t.name],i={};i.promise=new o((function(t,e){i.resolve=t,i.reject=e})),e.deferredOperations.push(i),e.dbReady?e.dbReady=e.dbReady.then((function(){return i.promise})):e.dbReady=i.promise}function m(t){var e=d[t.name].deferredOperations.pop();if(e)return e.resolve(),e.promise}function v(t,e){var i=d[t.name].deferredOperations.pop();if(i)return i.reject(e),i.promise}function y(t,e){return new o((function(i,n){if(d[t.name]=d[t.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},t.db){if(!e)return i(t.db);g(t),t.db.close()}var s=[t.name];e&&s.push(t.version);var o=r.open.apply(r,s);e&&(o.onupgradeneeded=function(e){var i=o.result;try{i.createObjectStore(t.storeName),e.oldVersion<=1&&i.createObjectStore("local-forage-detect-blob-support")}catch(i){if("ConstraintError"!==i.name)throw i;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),o.onerror=function(t){t.preventDefault(),n(o.error)},o.onsuccess=function(){i(o.result),m(t)}}))}function b(t){return y(t,!1)}function w(t){return y(t,!0)}function x(t,e){if(!t.db)return!0;var i=!t.db.objectStoreNames.contains(t.storeName),n=t.version<t.db.version,r=t.version>t.db.version;if(n&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),r||i){if(i){var s=t.db.version+1;s>t.version&&(t.version=s)}return!0}return!1}function _(t){return s([function(t){for(var e=t.length,i=new ArrayBuffer(e),n=new Uint8Array(i),r=0;r<e;r++)n[r]=t.charCodeAt(r);return i}(atob(t.data))],{type:t.type})}function k(t){return t&&t.__local_forage_encoded_blob}function E(t){var e=this,i=e._initReady().then((function(){var t=d[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady}));return l(i,t,t),i}function S(t,e,i,n){void 0===n&&(n=1);try{var r=t.db.transaction(t.storeName,e);i(null,r)}catch(r){if(n>0&&(!t.db||"InvalidStateError"===r.name||"NotFoundError"===r.name))return o.resolve().then((function(){if(!t.db||"NotFoundError"===r.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),w(t)})).then((function(){return function(t){g(t);for(var e=d[t.name],i=e.forages,n=0;n<i.length;n++){var r=i[n];r._dbInfo.db&&(r._dbInfo.db.close(),r._dbInfo.db=null)}return t.db=null,b(t).then((function(e){return t.db=e,x(t)?w(t):e})).then((function(n){t.db=e.db=n;for(var r=0;r<i.length;r++)i[r]._dbInfo.db=n})).catch((function(e){throw v(t,e),e}))}(t).then((function(){S(t,e,i,n-1)}))})).catch(i);i(r)}}var T={_driver:"asyncStorage",_initStorage:function(t){var e=this,i={db:null};if(t)for(var n in t)i[n]=t[n];var r=d[i.name];r||(r={forages:[],db:null,dbReady:null,deferredOperations:[]},d[i.name]=r),r.forages.push(e),e._initReady||(e._initReady=e.ready,e.ready=E);var s=[];function a(){return o.resolve()}for(var l=0;l<r.forages.length;l++){var c=r.forages[l];c!==e&&s.push(c._initReady().catch(a))}var h=r.forages.slice(0);return o.all(s).then((function(){return i.db=r.db,b(i)})).then((function(t){return i.db=t,x(i,e._defaultConfig.version)?w(i):t})).then((function(t){i.db=r.db=t,e._dbInfo=i;for(var n=0;n<h.length;n++){var s=h[n];s!==e&&(s._dbInfo.db=i.db,s._dbInfo.version=i.version)}}))},_support:function(){try{if(!r)return!1;var t="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),e="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!t||e)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(t){return!1}}(),iterate:function(t,e){var i=this,n=new o((function(e,n){i.ready().then((function(){S(i._dbInfo,"readonly",(function(r,s){if(r)return n(r);try{var o=s.objectStore(i._dbInfo.storeName).openCursor(),a=1;o.onsuccess=function(){var i=o.result;if(i){var n=i.value;k(n)&&(n=_(n));var r=t(n,i.key,a++);void 0!==r?e(r):i.continue()}else e()},o.onerror=function(){n(o.error)}}catch(t){n(t)}}))})).catch(n)}));return a(n,e),n},getItem:function(t,e){var i=this;t=c(t);var n=new o((function(e,n){i.ready().then((function(){S(i._dbInfo,"readonly",(function(r,s){if(r)return n(r);try{var o=s.objectStore(i._dbInfo.storeName).get(t);o.onsuccess=function(){var t=o.result;void 0===t&&(t=null),k(t)&&(t=_(t)),e(t)},o.onerror=function(){n(o.error)}}catch(t){n(t)}}))})).catch(n)}));return a(n,e),n},setItem:function(t,e,i){var n=this;t=c(t);var r=new o((function(i,r){var s;n.ready().then((function(){return s=n._dbInfo,"[object Blob]"===f.call(e)?p(s.db).then((function(t){return t?e:(i=e,new o((function(t,e){var n=new FileReader;n.onerror=e,n.onloadend=function(e){var n=btoa(e.target.result||"");t({__local_forage_encoded_blob:!0,data:n,type:i.type})},n.readAsBinaryString(i)})));var i})):e})).then((function(e){S(n._dbInfo,"readwrite",(function(s,o){if(s)return r(s);try{var a=o.objectStore(n._dbInfo.storeName);null===e&&(e=void 0);var l=a.put(e,t);o.oncomplete=function(){void 0===e&&(e=null),i(e)},o.onabort=o.onerror=function(){var t=l.error?l.error:l.transaction.error;r(t)}}catch(t){r(t)}}))})).catch(r)}));return a(r,i),r},removeItem:function(t,e){var i=this;t=c(t);var n=new o((function(e,n){i.ready().then((function(){S(i._dbInfo,"readwrite",(function(r,s){if(r)return n(r);try{var o=s.objectStore(i._dbInfo.storeName).delete(t);s.oncomplete=function(){e()},s.onerror=function(){n(o.error)},s.onabort=function(){var t=o.error?o.error:o.transaction.error;n(t)}}catch(t){n(t)}}))})).catch(n)}));return a(n,e),n},clear:function(t){var e=this,i=new o((function(t,i){e.ready().then((function(){S(e._dbInfo,"readwrite",(function(n,r){if(n)return i(n);try{var s=r.objectStore(e._dbInfo.storeName).clear();r.oncomplete=function(){t()},r.onabort=r.onerror=function(){var t=s.error?s.error:s.transaction.error;i(t)}}catch(t){i(t)}}))})).catch(i)}));return a(i,t),i},length:function(t){var e=this,i=new o((function(t,i){e.ready().then((function(){S(e._dbInfo,"readonly",(function(n,r){if(n)return i(n);try{var s=r.objectStore(e._dbInfo.storeName).count();s.onsuccess=function(){t(s.result)},s.onerror=function(){i(s.error)}}catch(t){i(t)}}))})).catch(i)}));return a(i,t),i},key:function(t,e){var i=this,n=new o((function(e,n){t<0?e(null):i.ready().then((function(){S(i._dbInfo,"readonly",(function(r,s){if(r)return n(r);try{var o=s.objectStore(i._dbInfo.storeName),a=!1,l=o.openCursor();l.onsuccess=function(){var i=l.result;i?0===t||a?e(i.key):(a=!0,i.advance(t)):e(null)},l.onerror=function(){n(l.error)}}catch(t){n(t)}}))})).catch(n)}));return a(n,e),n},keys:function(t){var e=this,i=new o((function(t,i){e.ready().then((function(){S(e._dbInfo,"readonly",(function(n,r){if(n)return i(n);try{var s=r.objectStore(e._dbInfo.storeName).openCursor(),o=[];s.onsuccess=function(){var e=s.result;e?(o.push(e.key),e.continue()):t(o)},s.onerror=function(){i(s.error)}}catch(t){i(t)}}))})).catch(i)}));return a(i,t),i},dropInstance:function(t,e){e=h.apply(this,arguments);var i=this.config();(t="function"!=typeof t&&t||{}).name||(t.name=t.name||i.name,t.storeName=t.storeName||i.storeName);var n,s=this;if(t.name){var l=t.name===i.name&&s._dbInfo.db,c=l?o.resolve(s._dbInfo.db):b(t).then((function(e){var i=d[t.name],n=i.forages;i.db=e;for(var r=0;r<n.length;r++)n[r]._dbInfo.db=e;return e}));n=t.storeName?c.then((function(e){if(e.objectStoreNames.contains(t.storeName)){var i=e.version+1;g(t);var n=d[t.name],s=n.forages;e.close();for(var a=0;a<s.length;a++){var l=s[a];l._dbInfo.db=null,l._dbInfo.version=i}return new o((function(e,n){var s=r.open(t.name,i);s.onerror=function(t){s.result.close(),n(t)},s.onupgradeneeded=function(){s.result.deleteObjectStore(t.storeName)},s.onsuccess=function(){var t=s.result;t.close(),e(t)}})).then((function(t){n.db=t;for(var e=0;e<s.length;e++){var i=s[e];i._dbInfo.db=t,m(i._dbInfo)}})).catch((function(e){throw(v(t,e)||o.resolve()).catch((function(){})),e}))}})):c.then((function(e){g(t);var i=d[t.name],n=i.forages;e.close();for(var s=0;s<n.length;s++)n[s]._dbInfo.db=null;return new o((function(e,i){var n=r.deleteDatabase(t.name);n.onerror=n.onblocked=function(t){var e=n.result;e&&e.close(),i(t)},n.onsuccess=function(){var t=n.result;t&&t.close(),e(t)}})).then((function(t){i.db=t;for(var e=0;e<n.length;e++)m(n[e]._dbInfo)})).catch((function(e){throw(v(t,e)||o.resolve()).catch((function(){})),e}))}))}else n=o.reject("Invalid arguments");return a(n,e),n}},C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",O=/^~~local_forage_type~([^~]+)~/,A="__lfsc__:".length,N=A+"arbf".length,I=Object.prototype.toString;function R(t){var e,i,n,r,s,o=.75*t.length,a=t.length,l=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var c=new ArrayBuffer(o),h=new Uint8Array(c);for(e=0;e<a;e+=4)i=C.indexOf(t[e]),n=C.indexOf(t[e+1]),r=C.indexOf(t[e+2]),s=C.indexOf(t[e+3]),h[l++]=i<<2|n>>4,h[l++]=(15&n)<<4|r>>2,h[l++]=(3&r)<<6|63&s;return c}function j(t){var e,i=new Uint8Array(t),n="";for(e=0;e<i.length;e+=3)n+=C[i[e]>>2],n+=C[(3&i[e])<<4|i[e+1]>>4],n+=C[(15&i[e+1])<<2|i[e+2]>>6],n+=C[63&i[e+2]];return i.length%3==2?n=n.substring(0,n.length-1)+"=":i.length%3==1&&(n=n.substring(0,n.length-2)+"=="),n}var L={serialize:function(t,e){var i="";if(t&&(i=I.call(t)),t&&("[object ArrayBuffer]"===i||t.buffer&&"[object ArrayBuffer]"===I.call(t.buffer))){var n,r="__lfsc__:";t instanceof ArrayBuffer?(n=t,r+="arbf"):(n=t.buffer,"[object Int8Array]"===i?r+="si08":"[object Uint8Array]"===i?r+="ui08":"[object Uint8ClampedArray]"===i?r+="uic8":"[object Int16Array]"===i?r+="si16":"[object Uint16Array]"===i?r+="ur16":"[object Int32Array]"===i?r+="si32":"[object Uint32Array]"===i?r+="ui32":"[object Float32Array]"===i?r+="fl32":"[object Float64Array]"===i?r+="fl64":e(new Error("Failed to get type for BinaryArray"))),e(r+j(n))}else if("[object Blob]"===i){var s=new FileReader;s.onload=function(){var i="~~local_forage_type~"+t.type+"~"+j(this.result);e("__lfsc__:blob"+i)},s.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(i){console.error("Couldn't convert value into a JSON string: ",t),e(null,i)}},deserialize:function(t){if("__lfsc__:"!==t.substring(0,A))return JSON.parse(t);var e,i=t.substring(N),n=t.substring(A,N);if("blob"===n&&O.test(i)){var r=i.match(O);e=r[1],i=i.substring(r[0].length)}var o=R(i);switch(n){case"arbf":return o;case"blob":return s([o],{type:e});case"si08":return new Int8Array(o);case"ui08":return new Uint8Array(o);case"uic8":return new Uint8ClampedArray(o);case"si16":return new Int16Array(o);case"ur16":return new Uint16Array(o);case"si32":return new Int32Array(o);case"ui32":return new Uint32Array(o);case"fl32":return new Float32Array(o);case"fl64":return new Float64Array(o);default:throw new Error("Unkown type: "+n)}},stringToBuffer:R,bufferToString:j};function z(t,e,i,n){t.executeSql("CREATE TABLE IF NOT EXISTS "+e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],i,n)}function D(t,e,i,n,r,s){t.executeSql(i,n,r,(function(t,o){o.code===o.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[e.storeName],(function(t,a){a.rows.length?s(t,o):z(t,e,(function(){t.executeSql(i,n,r,s)}),s)}),s):s(t,o)}),s)}function P(t,e,i,n){var r=this;t=c(t);var s=new o((function(s,o){r.ready().then((function(){void 0===e&&(e=null);var a=e,l=r._dbInfo;l.serializer.serialize(e,(function(e,c){c?o(c):l.db.transaction((function(i){D(i,l,"INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[t,e],(function(){s(a)}),(function(t,e){o(e)}))}),(function(e){if(e.code===e.QUOTA_ERR){if(n>0)return void s(P.apply(r,[t,a,i,n-1]));o(e)}}))}))})).catch(o)}));return a(s,i),s}function B(t){return new o((function(e,i){t.transaction((function(n){n.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(i,n){for(var r=[],s=0;s<n.rows.length;s++)r.push(n.rows.item(s).name);e({db:t,storeNames:r})}),(function(t,e){i(e)}))}),(function(t){i(t)}))}))}var M={_driver:"webSQLStorage",_initStorage:function(t){var e=this,i={db:null};if(t)for(var n in t)i[n]="string"!=typeof t[n]?t[n].toString():t[n];var r=new o((function(t,n){try{i.db=openDatabase(i.name,String(i.version),i.description,i.size)}catch(t){return n(t)}i.db.transaction((function(r){z(r,i,(function(){e._dbInfo=i,t()}),(function(t,e){n(e)}))}),n)}));return i.serializer=L,r},_support:"function"==typeof openDatabase,iterate:function(t,e){var i=this,n=new o((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){D(i,r,"SELECT * FROM "+r.storeName,[],(function(i,n){for(var s=n.rows,o=s.length,a=0;a<o;a++){var l=s.item(a),c=l.value;if(c&&(c=r.serializer.deserialize(c)),void 0!==(c=t(c,l.key,a+1)))return void e(c)}e()}),(function(t,e){n(e)}))}))})).catch(n)}));return a(n,e),n},getItem:function(t,e){var i=this;t=c(t);var n=new o((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){D(i,r,"SELECT * FROM "+r.storeName+" WHERE key = ? LIMIT 1",[t],(function(t,i){var n=i.rows.length?i.rows.item(0).value:null;n&&(n=r.serializer.deserialize(n)),e(n)}),(function(t,e){n(e)}))}))})).catch(n)}));return a(n,e),n},setItem:function(t,e,i){return P.apply(this,[t,e,i,1])},removeItem:function(t,e){var i=this;t=c(t);var n=new o((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){D(i,r,"DELETE FROM "+r.storeName+" WHERE key = ?",[t],(function(){e()}),(function(t,e){n(e)}))}))})).catch(n)}));return a(n,e),n},clear:function(t){var e=this,i=new o((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){D(e,n,"DELETE FROM "+n.storeName,[],(function(){t()}),(function(t,e){i(e)}))}))})).catch(i)}));return a(i,t),i},length:function(t){var e=this,i=new o((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){D(e,n,"SELECT COUNT(key) as c FROM "+n.storeName,[],(function(e,i){var n=i.rows.item(0).c;t(n)}),(function(t,e){i(e)}))}))})).catch(i)}));return a(i,t),i},key:function(t,e){var i=this,n=new o((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){D(i,r,"SELECT key FROM "+r.storeName+" WHERE id = ? LIMIT 1",[t+1],(function(t,i){var n=i.rows.length?i.rows.item(0).key:null;e(n)}),(function(t,e){n(e)}))}))})).catch(n)}));return a(n,e),n},keys:function(t){var e=this,i=new o((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){D(e,n,"SELECT key FROM "+n.storeName,[],(function(e,i){for(var n=[],r=0;r<i.rows.length;r++)n.push(i.rows.item(r).key);t(n)}),(function(t,e){i(e)}))}))})).catch(i)}));return a(i,t),i},dropInstance:function(t,e){e=h.apply(this,arguments);var i=this.config();(t="function"!=typeof t&&t||{}).name||(t.name=t.name||i.name,t.storeName=t.storeName||i.storeName);var n,r=this;return a(n=t.name?new o((function(e){var n;n=t.name===i.name?r._dbInfo.db:openDatabase(t.name,"","",0),t.storeName?e({db:n,storeNames:[t.storeName]}):e(B(n))})).then((function(t){return new o((function(e,i){t.db.transaction((function(n){function r(t){return new o((function(e,i){n.executeSql("DROP TABLE IF EXISTS "+t,[],(function(){e()}),(function(t,e){i(e)}))}))}for(var s=[],a=0,l=t.storeNames.length;a<l;a++)s.push(r(t.storeNames[a]));o.all(s).then((function(){e()})).catch((function(t){i(t)}))}),(function(t){i(t)}))}))})):o.reject("Invalid arguments"),e),n}};function F(t,e){var i=t.name+"/";return t.storeName!==e.storeName&&(i+=t.storeName+"/"),i}var q={_driver:"localStorageWrapper",_initStorage:function(t){var e={};if(t)for(var i in t)e[i]=t[i];return e.keyPrefix=F(t,this._defaultConfig),!function(){try{return localStorage.setItem("_localforage_support_test",!0),localStorage.removeItem("_localforage_support_test"),!1}catch(t){return!0}}()||localStorage.length>0?(this._dbInfo=e,e.serializer=L,o.resolve()):o.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(t){return!1}}(),iterate:function(t,e){var i=this,n=i.ready().then((function(){for(var e=i._dbInfo,n=e.keyPrefix,r=n.length,s=localStorage.length,o=1,a=0;a<s;a++){var l=localStorage.key(a);if(0===l.indexOf(n)){var c=localStorage.getItem(l);if(c&&(c=e.serializer.deserialize(c)),void 0!==(c=t(c,l.substring(r),o++)))return c}}}));return a(n,e),n},getItem:function(t,e){var i=this;t=c(t);var n=i.ready().then((function(){var e=i._dbInfo,n=localStorage.getItem(e.keyPrefix+t);return n&&(n=e.serializer.deserialize(n)),n}));return a(n,e),n},setItem:function(t,e,i){var n=this;t=c(t);var r=n.ready().then((function(){void 0===e&&(e=null);var i=e;return new o((function(r,s){var o=n._dbInfo;o.serializer.serialize(e,(function(e,n){if(n)s(n);else try{localStorage.setItem(o.keyPrefix+t,e),r(i)}catch(t){"QuotaExceededError"!==t.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==t.name||s(t),s(t)}}))}))}));return a(r,i),r},removeItem:function(t,e){var i=this;t=c(t);var n=i.ready().then((function(){var e=i._dbInfo;localStorage.removeItem(e.keyPrefix+t)}));return a(n,e),n},clear:function(t){var e=this,i=e.ready().then((function(){for(var t=e._dbInfo.keyPrefix,i=localStorage.length-1;i>=0;i--){var n=localStorage.key(i);0===n.indexOf(t)&&localStorage.removeItem(n)}}));return a(i,t),i},length:function(t){var e=this.keys().then((function(t){return t.length}));return a(e,t),e},key:function(t,e){var i=this,n=i.ready().then((function(){var e,n=i._dbInfo;try{e=localStorage.key(t)}catch(t){e=null}return e&&(e=e.substring(n.keyPrefix.length)),e}));return a(n,e),n},keys:function(t){var e=this,i=e.ready().then((function(){for(var t=e._dbInfo,i=localStorage.length,n=[],r=0;r<i;r++){var s=localStorage.key(r);0===s.indexOf(t.keyPrefix)&&n.push(s.substring(t.keyPrefix.length))}return n}));return a(i,t),i},dropInstance:function(t,e){if(e=h.apply(this,arguments),!(t="function"!=typeof t&&t||{}).name){var i=this.config();t.name=t.name||i.name,t.storeName=t.storeName||i.storeName}var n,r=this;return a(n=t.name?new o((function(e){t.storeName?e(F(t,r._defaultConfig)):e(t.name+"/")})).then((function(t){for(var e=localStorage.length-1;e>=0;e--){var i=localStorage.key(e);0===i.indexOf(t)&&localStorage.removeItem(i)}})):o.reject("Invalid arguments"),e),n}},U=function(t,e){for(var i,n,r=t.length,s=0;s<r;){if((i=t[s])===(n=e)||"number"==typeof i&&"number"==typeof n&&isNaN(i)&&isNaN(n))return!0;s++}return!1},W=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},$={},H={},X={INDEXEDDB:T,WEBSQL:M,LOCALSTORAGE:q},Y=[X.INDEXEDDB._driver,X.WEBSQL._driver,X.LOCALSTORAGE._driver],V=["dropInstance"],Z=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(V),G={description:"",driver:Y.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function K(t,e){t[e]=function(){var i=arguments;return t.ready().then((function(){return t[e].apply(t,i)}))}}function Q(){for(var t=1;t<arguments.length;t++){var e=arguments[t];if(e)for(var i in e)e.hasOwnProperty(i)&&(W(e[i])?arguments[0][i]=e[i].slice():arguments[0][i]=e[i])}return arguments[0]}var J=new(function(){function t(e){for(var i in function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),X)if(X.hasOwnProperty(i)){var n=X[i],r=n._driver;this[i]=r,$[r]||this.defineDriver(n)}this._defaultConfig=Q({},G),this._config=Q({},this._defaultConfig,e),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return t.prototype.config=function(t){if("object"===(void 0===t?"undefined":n(t))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var e in t){if("storeName"===e&&(t[e]=t[e].replace(/\W/g,"_")),"version"===e&&"number"!=typeof t[e])return new Error("Database version must be a number.");this._config[e]=t[e]}return!("driver"in t)||!t.driver||this.setDriver(this._config.driver)}return"string"==typeof t?this._config[t]:this._config},t.prototype.defineDriver=function(t,e,i){var n=new o((function(e,i){try{var n=t._driver,r=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!t._driver)return void i(r);for(var s=Z.concat("_initStorage"),l=0,c=s.length;l<c;l++){var h=s[l];if((!U(V,h)||t[h])&&"function"!=typeof t[h])return void i(r)}!function(){for(var e=function(t){return function(){var e=new Error("Method "+t+" is not implemented by the current driver"),i=o.reject(e);return a(i,arguments[arguments.length-1]),i}},i=0,n=V.length;i<n;i++){var r=V[i];t[r]||(t[r]=e(r))}}();var u=function(i){$[n]&&console.info("Redefining LocalForage driver: "+n),$[n]=t,H[n]=i,e()};"_support"in t?t._support&&"function"==typeof t._support?t._support().then(u,i):u(!!t._support):u(!0)}catch(t){i(t)}}));return l(n,e,i),n},t.prototype.driver=function(){return this._driver||null},t.prototype.getDriver=function(t,e,i){var n=$[t]?o.resolve($[t]):o.reject(new Error("Driver not found."));return l(n,e,i),n},t.prototype.getSerializer=function(t){var e=o.resolve(L);return l(e,t),e},t.prototype.ready=function(t){var e=this,i=e._driverSet.then((function(){return null===e._ready&&(e._ready=e._initDriver()),e._ready}));return l(i,t,t),i},t.prototype.setDriver=function(t,e,i){var n=this;W(t)||(t=[t]);var r=this._getSupportedDrivers(t);function s(){n._config.driver=n.driver()}function a(t){return n._extend(t),s(),n._ready=n._initStorage(n._config),n._ready}var c=null!==this._driverSet?this._driverSet.catch((function(){return o.resolve()})):o.resolve();return this._driverSet=c.then((function(){var t=r[0];return n._dbInfo=null,n._ready=null,n.getDriver(t).then((function(t){n._driver=t._driver,s(),n._wrapLibraryMethodsWithReady(),n._initDriver=function(t){return function(){var e=0;return function i(){for(;e<t.length;){var r=t[e];return e++,n._dbInfo=null,n._ready=null,n.getDriver(r).then(a).catch(i)}s();var l=new Error("No available storage method found.");return n._driverSet=o.reject(l),n._driverSet}()}}(r)}))})).catch((function(){s();var t=new Error("No available storage method found.");return n._driverSet=o.reject(t),n._driverSet})),l(this._driverSet,e,i),this._driverSet},t.prototype.supports=function(t){return!!H[t]},t.prototype._extend=function(t){Q(this,t)},t.prototype._getSupportedDrivers=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var r=t[i];this.supports(r)&&e.push(r)}return e},t.prototype._wrapLibraryMethodsWithReady=function(){for(var t=0,e=Z.length;t<e;t++)K(this,Z[t])},t.prototype.createInstance=function(e){return new t(e)},t}());e.exports=J},{3:3}]},{},[4])(4)}).call(this,i(30))},function(t,e,i){"use strict";i(24),i(14);var n=i(3),r=i.n(n),s=i(0),o=i(5),a=i(4),l=i(2),c=i(6),h=i(11);i(20);var u=function(t,e,i,n){var r,o="undefined"!=typeof window&&window.URL,l=o?"blob":"arraybuffer",c=new s.defer,h=new XMLHttpRequest,u=XMLHttpRequest.prototype;for(r in"overrideMimeType"in u||Object.defineProperty(u,"overrideMimeType",{value:function(){}}),i&&(h.withCredentials=!0),h.onreadystatechange=function(){if(this.readyState===XMLHttpRequest.DONE){var t=!1;if(""!==this.responseType&&"document"!==this.responseType||(t=this.responseXML),200===this.status||0===this.status||t){var i;if(!this.response&&!t)return c.reject({status:this.status,message:"Empty Response",stack:(new Error).stack}),c.promise;if(403===this.status)return c.reject({status:this.status,response:this.response,message:"Forbidden",stack:(new Error).stack}),c.promise;i=t?this.responseXML:Object(s.isXml)(e)?Object(s.parse)(this.response,"text/xml"):"xhtml"==e?Object(s.parse)(this.response,"application/xhtml+xml"):"html"==e||"htm"==e?Object(s.parse)(this.response,"text/html"):"json"==e?JSON.parse(this.response):"blob"==e?o?this.response:new Blob([this.response]):this.response,c.resolve(i)}else c.reject({status:this.status,message:this.response,stack:(new Error).stack})}},h.onerror=function(t){c.reject(t)},h.open("GET",t,!0),n)h.setRequestHeader(r,n[r]);return"json"==e&&h.setRequestHeader("Accept","application/json"),e||(e=new a.a(t).extension),"blob"==e&&(h.responseType=l),Object(s.isXml)(e)&&h.overrideMimeType("text/xml"),"binary"==e&&(h.responseType="arraybuffer"),h.send(),c.promise},d=i(38),f=class{constructor(t,e){this.idref=t.idref,this.linear="yes"===t.linear,this.properties=t.properties,this.index=t.index,this.href=t.href,this.url=t.url,this.canonical=t.canonical,this.next=t.next,this.prev=t.prev,this.cfiBase=t.cfiBase,e?this.hooks=e:(this.hooks={},this.hooks.serialize=new c.a(this),this.hooks.content=new c.a(this)),this.document=void 0,this.contents=void 0,this.output=void 0}load(t){var e=t||this.request||u,i=new s.defer,n=i.promise;return this.contents?i.resolve(this.contents):e(this.url).then(function(t){return this.document=t,this.contents=t.documentElement,this.hooks.content.trigger(this.document,this)}.bind(this)).then(function(){i.resolve(this.contents)}.bind(this)).catch((function(t){i.reject(t)})),n}base(){return Object(h.a)(this.document,this)}render(t){var e=new s.defer,i=e.promise;return this.output,this.load(t).then(function(t){var e=("undefined"!=typeof navigator&&navigator.userAgent||"").indexOf("Trident")>=0,i=new("undefined"==typeof XMLSerializer||e?d.XMLDOMParser:XMLSerializer);return this.output=i.serializeToString(t),this.output}.bind(this)).then(function(){return this.hooks.serialize.trigger(this.output,this)}.bind(this)).then(function(){e.resolve(this.output)}.bind(this)).catch((function(t){e.reject(t)})),i}find(t){var e=this,i=[],n=t.toLowerCase();return Object(s.sprint)(e.document,(function(t){!function(t){for(var r,s,o,a=t.textContent.toLowerCase(),l=e.document.createRange(),c=-1;-1!=s;)-1!=(s=a.indexOf(n,c+1))&&((l=e.document.createRange()).setStart(t,s),l.setEnd(t,s+n.length),r=e.cfiFromRange(l),o=t.textContent.length<150?t.textContent:"..."+(o=t.textContent.substring(s-75,s+75))+"...",i.push({cfi:r,excerpt:o})),c=s}(t)})),i}search(t,e=5){if(void 0===document.createTreeWalker)return this.find(t);let i=[];const n=this,r=t.toLowerCase(),s=function(t){const e=t.reduce((t,e)=>t+e.textContent,"").toLowerCase().indexOf(r);if(-1!=e){const s=0,o=e+r.length;let a=0,l=0;if(e<t[s].length){let r;for(;a<t.length-1&&(l+=t[a].length,!(o<=l));)a+=1;let c=t[s],h=t[a],u=n.document.createRange();u.setStart(c,e);let d=t.slice(0,a).reduce((t,e)=>t+e.textContent.length,0);u.setEnd(h,d>o?o:o-d),r=n.cfiFromRange(u);let f=t.slice(0,a+1).reduce((t,e)=>t+e.textContent,"");f.length>150&&(f=f.substring(e-75,e+75),f="..."+f+"..."),i.push({cfi:r,excerpt:f})}}},o=document.createTreeWalker(n.document,NodeFilter.SHOW_TEXT,null,!1);let a,l=[];for(;a=o.nextNode();)l.push(a),l.length==e&&(s(l.slice(0,e)),l=l.slice(1,e));return l.length>0&&s(l),i}reconcileLayoutSettings(t){var e={layout:t.layout,spread:t.spread,orientation:t.orientation};return this.properties.forEach((function(t){var i,n,r=t.replace("rendition:",""),s=r.indexOf("-");-1!=s&&(i=r.slice(0,s),n=r.slice(s+1),e[i]=n)})),e}cfiFromRange(t){return new l.a(t,this.cfiBase).toString()}cfiFromElement(t){return new l.a(t,this.cfiBase).toString()}unload(){this.document=void 0,this.contents=void 0,this.output=void 0}destroy(){this.unload(),this.hooks.serialize.clear(),this.hooks.content.clear(),this.hooks=void 0,this.idref=void 0,this.linear=void 0,this.properties=void 0,this.index=void 0,this.href=void 0,this.url=void 0,this.next=void 0,this.prev=void 0,this.cfiBase=void 0}},p=i(21),g=i(1);class m{constructor(t,e,i){this.spine=t,this.request=e,this.pause=i||100,this.q=new p.a(this),this.epubcfi=new l.a,this._locations=[],this._locationsWords=[],this.total=0,this.break=150,this._current=0,this._wordCounter=0,this.currentLocation="",this._currentCfi="",this.processingTimeout=void 0}generate(t){return t&&(this.break=t),this.q.pause(),this.spine.each(function(t){t.linear&&this.q.enqueue(this.process.bind(this),t)}.bind(this)),this.q.run().then(function(){return this.total=this._locations.length-1,this._currentCfi&&(this.currentLocation=this._currentCfi),this._locations}.bind(this))}createRange(){return{startContainer:void 0,startOffset:void 0,endContainer:void 0,endOffset:void 0}}process(t){return t.load(this.request).then(function(e){var i=new s.defer,n=this.parse(e,t.cfiBase);return this._locations=this._locations.concat(n),t.unload(),this.processingTimeout=setTimeout(()=>i.resolve(n),this.pause),i.promise}.bind(this))}parse(t,e,i){var n,r,o=[],a=t.ownerDocument,c=Object(s.qs)(a,"body"),h=0,u=i||this.break;if(Object(s.sprint)(c,function(t){var i,s=t.length,a=0;if(0===t.textContent.trim().length)return!1;for(0==h&&((n=this.createRange()).startContainer=t,n.startOffset=0),(i=u-h)>s&&(h+=s,a=s);a<s;)if(i=u-h,0===h&&(a+=1,(n=this.createRange()).startContainer=t,n.startOffset=a),a+i>=s)h+=s-a,a=s;else{a+=i,n.endContainer=t,n.endOffset=a;let r=new l.a(n,e).toString();o.push(r),h=0}r=t}.bind(this)),n&&n.startContainer&&r){n.endContainer=r,n.endOffset=r.length;let t=new l.a(n,e).toString();o.push(t),h=0}return o}generateFromWords(t,e,i){var n=t?new l.a(t):void 0;return this.q.pause(),this._locationsWords=[],this._wordCounter=0,this.spine.each(function(t){t.linear&&(n?t.index>=n.spinePos&&this.q.enqueue(this.processWords.bind(this),t,e,n,i):this.q.enqueue(this.processWords.bind(this),t,e,n,i))}.bind(this)),this.q.run().then(function(){return this._currentCfi&&(this.currentLocation=this._currentCfi),this._locationsWords}.bind(this))}processWords(t,e,i,n){return n&&this._locationsWords.length>=n?Promise.resolve():t.load(this.request).then(function(r){var o=new s.defer,a=this.parseWords(r,t,e,i),l=n-this._locationsWords.length;return this._locationsWords=this._locationsWords.concat(a.length>=n?a.slice(0,l):a),t.unload(),this.processingTimeout=setTimeout(()=>o.resolve(a),this.pause),o.promise}.bind(this))}countWords(t){return(t=(t=(t=t.replace(/(^\s*)|(\s*$)/gi,"")).replace(/[ ]{2,}/gi," ")).replace(/\n /,"\n")).split(" ").length}parseWords(t,e,i,n){var r,o=e.cfiBase,a=[],c=t.ownerDocument,h=Object(s.qs)(c,"body"),u=i,d=!n||n.spinePos!==e.index;return n&&e.index===n.spinePos&&(r=n.findNode(n.range?n.path.steps.concat(n.start.steps):n.path.steps,t.ownerDocument)),Object(s.sprint)(h,function(t){if(!d){if(t!==r)return!1;d=!0}if(t.textContent.length<10&&0===t.textContent.trim().length)return!1;var e,i=this.countWords(t.textContent),n=0;if(0===i)return!1;for((e=u-this._wordCounter)>i&&(this._wordCounter+=i,n=i);n<i;)if(n+(e=u-this._wordCounter)>=i)this._wordCounter+=i-n,n=i;else{n+=e;let i=new l.a(t,o);a.push({cfi:i.toString(),wordCount:this._wordCounter}),this._wordCounter=0}}.bind(this)),a}locationFromCfi(t){let e;return l.a.prototype.isCfiString(t)&&(t=new l.a(t)),0===this._locations.length?-1:(e=Object(s.locationOf)(t,this._locations,this.epubcfi.compare),e>this.total?this.total:e)}percentageFromCfi(t){if(0===this._locations.length)return null;var e=this.locationFromCfi(t);return this.percentageFromLocation(e)}percentageFromLocation(t){return t&&this.total?t/this.total:0}cfiFromLocation(t){var e=-1;return"number"!=typeof t&&(t=parseInt(t)),t>=0&&t<this._locations.length&&(e=this._locations[t]),e}cfiFromPercentage(t){let e;if(t>1&&console.warn("Normalize cfiFromPercentage value to between 0 - 1"),t>=1){let t=new l.a(this._locations[this.total]);return t.collapse(),t.toString()}return e=Math.ceil(this.total*t),this.cfiFromLocation(e)}load(t){return this._locations="string"==typeof t?JSON.parse(t):t,this.total=this._locations.length-1,this._locations}save(){return JSON.stringify(this._locations)}getCurrent(){return this._current}setCurrent(t){var e;if("string"==typeof t)this._currentCfi=t;else{if("number"!=typeof t)return;this._current=t}0!==this._locations.length&&("string"==typeof t?(e=this.locationFromCfi(t),this._current=e):e=t,this.emit(g.c.LOCATIONS.CHANGED,{percentage:this.percentageFromLocation(e)}))}get currentLocation(){return this._current}set currentLocation(t){this.setCurrent(t)}length(){return this._locations.length}destroy(){this.spine=void 0,this.request=void 0,this.pause=void 0,this.q.stop(),this.q=void 0,this.epubcfi=void 0,this._locations=void 0,this.total=void 0,this.break=void 0,this._current=void 0,this.currentLocation=void 0,this._currentCfi=void 0,clearTimeout(this.processingTimeout)}}r()(m.prototype);var v=m,y=i(9),b=i.n(y),w=class{constructor(t){this.manifest={},this.navPath="",this.ncxPath="",this.coverPath="",this.spineNodeIndex=0,this.spine=[],this.metadata={},t&&this.parse(t)}parse(t){var e,i,n;if(!t)throw new Error("Package File Not Found");if(!(e=Object(s.qs)(t,"metadata")))throw new Error("No Metadata Found");if(!(i=Object(s.qs)(t,"manifest")))throw new Error("No Manifest Found");if(!(n=Object(s.qs)(t,"spine")))throw new Error("No Spine Found");return this.manifest=this.parseManifest(i),this.navPath=this.findNavPath(i),this.ncxPath=this.findNcxPath(i,n),this.coverPath=this.findCoverPath(t),this.spineNodeIndex=Object(s.indexOfElementNode)(n),this.spine=this.parseSpine(n,this.manifest),this.uniqueIdentifier=this.findUniqueIdentifier(t),this.metadata=this.parseMetadata(e),this.metadata.direction=n.getAttribute("page-progression-direction"),{metadata:this.metadata,spine:this.spine,manifest:this.manifest,navPath:this.navPath,ncxPath:this.ncxPath,coverPath:this.coverPath,spineNodeIndex:this.spineNodeIndex}}parseMetadata(t){var e={};return e.title=this.getElementText(t,"title"),e.creator=this.getElementText(t,"creator"),e.description=this.getElementText(t,"description"),e.pubdate=this.getElementText(t,"date"),e.publisher=this.getElementText(t,"publisher"),e.identifier=this.getElementText(t,"identifier"),e.language=this.getElementText(t,"language"),e.rights=this.getElementText(t,"rights"),e.modified_date=this.getPropertyText(t,"dcterms:modified"),e.layout=this.getPropertyText(t,"rendition:layout"),e.orientation=this.getPropertyText(t,"rendition:orientation"),e.flow=this.getPropertyText(t,"rendition:flow"),e.viewport=this.getPropertyText(t,"rendition:viewport"),e.media_active_class=this.getPropertyText(t,"media:active-class"),e.spread=this.getPropertyText(t,"rendition:spread"),e}parseManifest(t){var e={},i=Object(s.qsa)(t,"item");return Array.prototype.slice.call(i).forEach((function(t){var i=t.getAttribute("id"),n=t.getAttribute("href")||"",r=t.getAttribute("media-type")||"",s=t.getAttribute("media-overlay")||"",o=t.getAttribute("properties")||"";e[i]={href:n,type:r,overlay:s,properties:o.length?o.split(" "):[]}})),e}parseSpine(t,e){var i=[],n=Object(s.qsa)(t,"itemref");return Array.prototype.slice.call(n).forEach((function(t,e){var n=t.getAttribute("idref"),r=t.getAttribute("properties")||"",s=r.length?r.split(" "):[],o={idref:n,linear:t.getAttribute("linear")||"yes",properties:s,index:e};i.push(o)})),i}findUniqueIdentifier(t){var e=t.documentElement.getAttribute("unique-identifier");if(!e)return"";var i=t.getElementById(e);return i&&"identifier"===i.localName&&"http://purl.org/dc/elements/1.1/"===i.namespaceURI&&i.childNodes.length>0?i.childNodes[0].nodeValue.trim():""}findNavPath(t){var e=Object(s.qsp)(t,"item",{properties:"nav"});return!!e&&e.getAttribute("href")}findNcxPath(t,e){var i,n=Object(s.qsp)(t,"item",{"media-type":"application/x-dtbncx+xml"});return n||(i=e.getAttribute("toc"))&&(n=t.querySelector("#"+i)),!!n&&n.getAttribute("href")}findCoverPath(t){Object(s.qs)(t,"package").getAttribute("version");var e=Object(s.qsp)(t,"item",{properties:"cover-image"});if(e)return e.getAttribute("href");var i=Object(s.qsp)(t,"meta",{name:"cover"});if(i){var n=i.getAttribute("content"),r=t.getElementById(n);return r?r.getAttribute("href"):""}return!1}getElementText(t,e){var i,n=t.getElementsByTagNameNS("http://purl.org/dc/elements/1.1/",e);return n&&0!==n.length&&(i=n[0]).childNodes.length?i.childNodes[0].nodeValue:""}getPropertyText(t,e){var i=Object(s.qsp)(t,"meta",{property:e});return i&&i.childNodes.length?i.childNodes[0].nodeValue:""}load(t){this.metadata=t.metadata;let e=t.readingOrder||t.spine;return this.spine=e.map((t,e)=>(t.index=e,t.linear=t.linear||"yes",t)),t.resources.forEach((t,e)=>{this.manifest[e]=t,t.rel&&"cover"===t.rel[0]&&(this.coverPath=t.href)}),this.spineNodeIndex=0,this.toc=t.toc.map((t,e)=>(t.label=t.title,t)),{metadata:this.metadata,spine:this.spine,manifest:this.manifest,navPath:this.navPath,ncxPath:this.ncxPath,coverPath:this.coverPath,spineNodeIndex:this.spineNodeIndex,toc:this.toc}}destroy(){this.manifest=void 0,this.navPath=void 0,this.ncxPath=void 0,this.coverPath=void 0,this.spineNodeIndex=void 0,this.spine=void 0,this.metadata=void 0}},x=class{constructor(t){this.toc=[],this.tocByHref={},this.tocById={},this.landmarks=[],this.landmarksByType={},this.length=0,t&&this.parse(t)}parse(t){let e,i,n=t.nodeType;n&&(e=Object(s.qs)(t,"html"),i=Object(s.qs)(t,"ncx")),n?e?(this.toc=this.parseNav(t),this.landmarks=this.parseLandmarks(t)):i&&(this.toc=this.parseNcx(t)):this.toc=this.load(t),this.length=0,this.unpack(this.toc)}unpack(t){for(var e,i=0;i<t.length;i++)(e=t[i]).href&&(this.tocByHref[e.href]=i),e.id&&(this.tocById[e.id]=i),this.length++,e.subitems.length&&this.unpack(e.subitems)}get(t){var e;return t?(0===t.indexOf("#")?e=this.tocById[t.substring(1)]:t in this.tocByHref&&(e=this.tocByHref[t]),this.getByIndex(t,e,this.toc)):this.toc}getByIndex(t,e,i){if(0===i.length)return;const n=i[e];if(!n||t!==n.id&&t!==n.href){let n;for(let r=0;r<i.length&&(n=this.getByIndex(t,e,i[r].subitems),!n);++r);return n}return n}landmark(t){var e;return t?(e=this.landmarksByType[t],this.landmarks[e]):this.landmarks}parseNav(t){var e,i,n=Object(s.querySelectorByType)(t,"nav","toc"),r=n?Object(s.qsa)(n,"li"):[],o=r.length,a={},l=[];if(!r||0===o)return l;for(e=0;e<o;++e)(i=this.navItem(r[e]))&&(a[i.id]=i,i.parent?a[i.parent].subitems.push(i):l.push(i));return l}navItem(t){let e=t.getAttribute("id")||void 0,i=Object(s.filterChildren)(t,"a",!0);if(!i)return;let n=i.getAttribute("href")||"";e||(e=n);let r,o=i.textContent||"",a=Object(s.getParentByTagName)(t,"li");if(a&&(r=a.getAttribute("id"),!r)){const t=Object(s.filterChildren)(a,"a",!0);r=t&&t.getAttribute("href")}for(;!r&&a;)if(a=Object(s.getParentByTagName)(a,"li"),a&&(r=a.getAttribute("id"),!r)){const t=Object(s.filterChildren)(a,"a",!0);r=t&&t.getAttribute("href")}return{id:e,href:n,label:o,subitems:[],parent:r}}parseLandmarks(t){var e,i,n=Object(s.querySelectorByType)(t,"nav","landmarks"),r=n?Object(s.qsa)(n,"li"):[],o=r.length,a=[];if(!r||0===o)return a;for(e=0;e<o;++e)(i=this.landmarkItem(r[e]))&&(a.push(i),this.landmarksByType[i.type]=e);return a}landmarkItem(t){let e=Object(s.filterChildren)(t,"a",!0);if(!e)return;let i=e.getAttributeNS("http://www.idpf.org/2007/ops","type")||void 0;return{href:e.getAttribute("href")||"",label:e.textContent||"",type:i}}parseNcx(t){var e,i,n=Object(s.qsa)(t,"navPoint"),r=n.length,o={},a=[];if(!n||0===r)return a;for(e=0;e<r;++e)o[(i=this.ncxItem(n[e])).id]=i,i.parent?o[i.parent].subitems.push(i):a.push(i);return a}ncxItem(t){var e,i=t.getAttribute("id")||!1,n=Object(s.qs)(t,"content").getAttribute("src"),r=Object(s.qs)(t,"navLabel"),o=r.textContent?r.textContent:"",a=t.parentNode;return!a||"navPoint"!==a.nodeName&&"navPoint"!==a.nodeName.split(":").slice(-1)[0]||(e=a.getAttribute("id")),{id:i,href:n,label:o,subitems:[],parent:e}}load(t){return t.map(t=>(t.label=t.title,t.subitems=t.children?this.load(t.children):[],t))}forEach(t){return this.toc.forEach(t)}},_={application:{ecmascript:["es","ecma"],javascript:"js",ogg:"ogx",pdf:"pdf",postscript:["ps","ai","eps","epsi","epsf","eps2","eps3"],"rdf+xml":"rdf",smil:["smi","smil"],"xhtml+xml":["xhtml","xht"],xml:["xml","xsl","xsd","opf","ncx"],zip:"zip","x-httpd-eruby":"rhtml","x-latex":"latex","x-maker":["frm","maker","frame","fm","fb","book","fbdoc"],"x-object":"o","x-shockwave-flash":["swf","swfl"],"x-silverlight":"scr","epub+zip":"epub","font-tdpfr":"pfr","inkml+xml":["ink","inkml"],json:"json","jsonml+json":"jsonml","mathml+xml":"mathml","metalink+xml":"metalink",mp4:"mp4s","omdoc+xml":"omdoc",oxps:"oxps","vnd.amazon.ebook":"azw",widget:"wgt","x-dtbook+xml":"dtb","x-dtbresource+xml":"res","x-font-bdf":"bdf","x-font-ghostscript":"gsf","x-font-linux-psf":"psf","x-font-otf":"otf","x-font-pcf":"pcf","x-font-snf":"snf","x-font-ttf":["ttf","ttc"],"x-font-type1":["pfa","pfb","pfm","afm"],"x-font-woff":"woff","x-mobipocket-ebook":["prc","mobi"],"x-mspublisher":"pub","x-nzb":"nzb","x-tgif":"obj","xaml+xml":"xaml","xml-dtd":"dtd","xproc+xml":"xpl","xslt+xml":"xslt","internet-property-stream":"acx","x-compress":"z","x-compressed":"tgz","x-gzip":"gz"},audio:{flac:"flac",midi:["mid","midi","kar","rmi"],mpeg:["mpga","mpega","mp2","mp3","m4a","mp2a","m2a","m3a"],mpegurl:"m3u",ogg:["oga","ogg","spx"],"x-aiff":["aif","aiff","aifc"],"x-ms-wma":"wma","x-wav":"wav",adpcm:"adp",mp4:"mp4a",webm:"weba","x-aac":"aac","x-caf":"caf","x-matroska":"mka","x-pn-realaudio-plugin":"rmp",xm:"xm",mid:["mid","rmi"]},image:{gif:"gif",ief:"ief",jpeg:["jpeg","jpg","jpe"],pcx:"pcx",png:"png","svg+xml":["svg","svgz"],tiff:["tiff","tif"],"x-icon":"ico",bmp:"bmp",webp:"webp","x-pict":["pic","pct"],"x-tga":"tga","cis-cod":"cod"},text:{"cache-manifest":["manifest","appcache"],css:"css",csv:"csv",html:["html","htm","shtml","stm"],mathml:"mml",plain:["txt","text","brf","conf","def","list","log","in","bas"],richtext:"rtx","tab-separated-values":"tsv","x-bibtex":"bib"},video:{mpeg:["mpeg","mpg","mpe","m1v","m2v","mp2","mpa","mpv2"],mp4:["mp4","mp4v","mpg4"],quicktime:["qt","mov"],ogg:"ogv","vnd.mpegurl":["mxu","m4u"],"x-flv":"flv","x-la-asf":["lsf","lsx"],"x-mng":"mng","x-ms-asf":["asf","asx","asr"],"x-ms-wm":"wm","x-ms-wmv":"wmv","x-ms-wmx":"wmx","x-ms-wvx":"wvx","x-msvideo":"avi","x-sgi-movie":"movie","x-matroska":["mpv","mkv","mk3d","mks"],"3gpp2":"3g2",h261:"h261",h263:"h263",h264:"h264",jpeg:"jpgv",jpm:["jpm","jpgm"],mj2:["mj2","mjp2"],"vnd.ms-playready.media.pyv":"pyv","vnd.uvvu.mp4":["uvu","uvvu"],"vnd.vivo":"viv",webm:"webm","x-f4v":"f4v","x-m4v":"m4v","x-ms-vob":"vob","x-smv":"smv"}},k=function(){var t,e,i,n,r={};for(t in _)if(_.hasOwnProperty(t))for(e in _[t])if(_[t].hasOwnProperty(e))if("string"==typeof(i=_[t][e]))r[i]=t+"/"+e;else for(n=0;n<i.length;n++)r[i[n]]=t+"/"+e;return r}(),E=function(t){return t&&k[t.split(".").pop().toLowerCase()]||"text/plain"},S=class{constructor(t){this.pages=[],this.locations=[],this.epubcfi=new l.a,this.firstPage=0,this.lastPage=0,this.totalPages=0,this.toc=void 0,this.ncx=void 0,t&&(this.pageList=this.parse(t)),this.pageList&&this.pageList.length&&this.process(this.pageList)}parse(t){var e=Object(s.qs)(t,"html"),i=Object(s.qs)(t,"ncx");return e?this.parseNav(t):i?this.parseNcx(t):void 0}parseNav(t){var e,i,n=Object(s.querySelectorByType)(t,"nav","page-list"),r=n?Object(s.qsa)(n,"li"):[],o=r.length,a=[];if(!r||0===o)return a;for(e=0;e<o;++e)i=this.item(r[e]),a.push(i);return a}parseNcx(t){var e,i,n,r,o=[],a=0;if(!(i=Object(s.qs)(t,"pageList")))return o;if(r=(n=Object(s.qsa)(i,"pageTarget")).length,!n||0===n.length)return o;for(a=0;a<r;++a)e=this.ncxItem(n[a]),o.push(e);return o}ncxItem(t){var e=Object(s.qs)(t,"navLabel"),i=Object(s.qs)(e,"text").textContent;return{href:Object(s.qs)(t,"content").getAttribute("src"),page:parseInt(i,10)}}item(t){var e,i,n=Object(s.qs)(t,"a"),r=n.getAttribute("href")||"",o=n.textContent||"",a=parseInt(o);return-1!=r.indexOf("epubcfi")?(i=(e=r.split("#"))[0],{cfi:e.length>1&&e[1],href:r,packageUrl:i,page:a}):{href:r,page:a}}process(t){t.forEach((function(t){this.pages.push(t.page),t.cfi&&this.locations.push(t.cfi)}),this),this.firstPage=parseInt(this.pages[0]),this.lastPage=parseInt(this.pages[this.pages.length-1]),this.totalPages=this.lastPage-this.firstPage}pageFromCfi(t){var e=-1;if(0===this.locations.length)return-1;var i=Object(s.indexOfSorted)(t,this.locations,this.epubcfi.compare);return-1!=i?e=this.pages[i]:void 0!==(e=(i=Object(s.locationOf)(t,this.locations,this.epubcfi.compare))-1>=0?this.pages[i-1]:this.pages[0])||(e=-1),e}cfiFromPage(t){var e=-1;"number"!=typeof t&&(t=parseInt(t));var i=this.pages.indexOf(t);return-1!=i&&(e=this.locations[i]),e}pageFromPercentage(t){return Math.round(this.totalPages*t)}percentageFromPage(t){var e=(t-this.firstPage)/this.totalPages;return Math.round(1e3*e)/1e3}percentageFromCfi(t){var e=this.pageFromCfi(t);return this.percentageFromPage(e)}destroy(){this.pages=void 0,this.locations=void 0,this.epubcfi=void 0,this.pageList=void 0,this.toc=void 0,this.ncx=void 0}},T=i(39),C=i(85),O=i.n(C),A=i(57),N=i.n(A);class I{constructor(t,e,i){this.urlCache={},this.storage=void 0,this.name=t,this.requester=e||u,this.resolver=i,this.online=!0,this.checkRequirements(),this.addListeners()}checkRequirements(){try{let t;void 0===N.a&&(t=N.a),this.storage=t.createInstance({name:this.name})}catch(t){throw new Error("localForage lib not loaded")}}addListeners(){this._status=this.status.bind(this),window.addEventListener("online",this._status),window.addEventListener("offline",this._status)}removeListeners(){window.removeEventListener("online",this._status),window.removeEventListener("offline",this._status),this._status=void 0}status(t){let e=navigator.onLine;this.online=e,e?this.emit("online",this):this.emit("offline",this)}add(t,e){let i=t.resources.map(t=>{let{href:i}=t,n=this.resolver(i),r=window.encodeURIComponent(n);return this.storage.getItem(r).then(t=>!t||e?this.requester(n,"binary").then(t=>this.storage.setItem(r,t)):t)});return Promise.all(i)}put(t,e,i){let n=window.encodeURIComponent(t);return this.storage.getItem(n).then(r=>r||this.requester(t,"binary",e,i).then(t=>this.storage.setItem(n,t)))}request(t,e,i,n){return this.online?this.requester(t,e,i,n).then(e=>(this.put(t),e)):this.retrieve(t,e)}retrieve(t,e){new s.defer;var i=new a.a(t);return e||(e=i.extension),("blob"==e?this.getBlob(t):this.getText(t)).then(i=>{var n,r=new s.defer;return i?(n=this.handleResponse(i,e),r.resolve(n)):r.reject({message:"File not found in storage: "+t,stack:(new Error).stack}),r.promise})}handleResponse(t,e){return"json"==e?JSON.parse(t):Object(s.isXml)(e)?Object(s.parse)(t,"text/xml"):"xhtml"==e?Object(s.parse)(t,"application/xhtml+xml"):"html"==e||"htm"==e?Object(s.parse)(t,"text/html"):t}getBlob(t,e){let i=window.encodeURIComponent(t);return this.storage.getItem(i).then((function(i){if(i)return e=e||E(t),new Blob([i],{type:e})}))}getText(t,e){let i=window.encodeURIComponent(t);return e=e||E(t),this.storage.getItem(i).then((function(t){var i,n=new s.defer,r=new FileReader;if(t)return i=new Blob([t],{type:e}),r.addEventListener("loadend",()=>{n.resolve(r.result)}),r.readAsText(i,e),n.promise}))}getBase64(t,e){let i=window.encodeURIComponent(t);return e=e||E(t),this.storage.getItem(i).then(t=>{var i,n=new s.defer,r=new FileReader;if(t)return i=new Blob([t],{type:e}),r.addEventListener("loadend",()=>{n.resolve(r.result)}),r.readAsDataURL(i,e),n.promise})}createUrl(t,e){var i,n,r=new s.defer,o=window.URL||window.webkitURL||window.mozURL,a=e&&e.base64;return t in this.urlCache?(r.resolve(this.urlCache[t]),r.promise):(a?(n=this.getBase64(t))&&n.then(function(e){this.urlCache[t]=e,r.resolve(e)}.bind(this)):(n=this.getBlob(t))&&n.then(function(e){i=o.createObjectURL(e),this.urlCache[t]=i,r.resolve(i)}.bind(this)),n||r.reject({message:"File not found in storage: "+t,stack:(new Error).stack}),r.promise)}revokeUrl(t){var e=window.URL||window.webkitURL||window.mozURL,i=this.urlCache[t];i&&e.revokeObjectURL(i)}destroy(){var t=window.URL||window.webkitURL||window.mozURL;for(let e in this.urlCache)t.revokeObjectURL(e);this.urlCache={},this.removeListeners()}}r()(I.prototype);var R=I,j=class{constructor(t){this.interactive="",this.fixedLayout="",this.openToSpread="",this.orientationLock="",t&&this.parse(t)}parse(t){if(!t)return this;const e=Object(s.qs)(t,"display_options");return e?(Object(s.qsa)(e,"option").forEach(t=>{let e="";switch(t.childNodes.length&&(e=t.childNodes[0].nodeValue),t.attributes.name.value){case"interactive":this.interactive=e;break;case"fixed-layout":this.fixedLayout=e;break;case"open-to-spread":this.openToSpread=e;break;case"orientation-lock":this.orientationLock=e}}),this):this}destroy(){this.interactive=void 0,this.fixedLayout=void 0,this.openToSpread=void 0,this.orientationLock=void 0}};const L="binary",z="base64",D="epub",P="json";class B{constructor(t,e){void 0===e&&"string"!=typeof t&&t instanceof Blob==0&&t instanceof ArrayBuffer==0&&(e=t,t=void 0),this.settings=Object(s.extend)(this.settings||{},{requestMethod:void 0,requestCredentials:void 0,requestHeaders:void 0,encoding:void 0,replacements:void 0,canonical:void 0,openAs:void 0,store:void 0}),Object(s.extend)(this.settings,e),this.opening=new s.defer,this.opened=this.opening.promise,this.isOpen=!1,this.loading={manifest:new s.defer,spine:new s.defer,metadata:new s.defer,cover:new s.defer,navigation:new s.defer,pageList:new s.defer,resources:new s.defer,displayOptions:new s.defer},this.loaded={manifest:this.loading.manifest.promise,spine:this.loading.spine.promise,metadata:this.loading.metadata.promise,cover:this.loading.cover.promise,navigation:this.loading.navigation.promise,pageList:this.loading.pageList.promise,resources:this.loading.resources.promise,displayOptions:this.loading.displayOptions.promise},this.ready=Promise.all([this.loaded.manifest,this.loaded.spine,this.loaded.metadata,this.loaded.cover,this.loaded.navigation,this.loaded.resources,this.loaded.displayOptions]),this.isRendered=!1,this.request=this.settings.requestMethod||u,this.spine=new class{constructor(){this.spineItems=[],this.spineByHref={},this.spineById={},this.hooks={},this.hooks.serialize=new c.a,this.hooks.content=new c.a,this.hooks.content.register(h.a),this.hooks.content.register(h.b),this.hooks.content.register(h.d),this.epubcfi=new l.a,this.loaded=!1,this.items=void 0,this.manifest=void 0,this.spineNodeIndex=void 0,this.baseUrl=void 0,this.length=void 0}unpack(t,e,i){this.items=t.spine,this.manifest=t.manifest,this.spineNodeIndex=t.spineNodeIndex,this.baseUrl=t.baseUrl||t.basePath||"",this.length=this.items.length,this.items.forEach((t,n)=>{var r,s=this.manifest[t.idref];t.index=n,t.cfiBase=this.epubcfi.generateChapterComponent(this.spineNodeIndex,t.index,t.idref),t.href&&(t.url=e(t.href,!0),t.canonical=i(t.href)),s&&(t.href=s.href,t.url=e(t.href,!0),t.canonical=i(t.href),s.properties.length&&t.properties.push.apply(t.properties,s.properties)),"yes"===t.linear?(t.prev=function(){let e=t.index;for(;e>0;){let t=this.get(e-1);if(t&&t.linear)return t;e-=1}}.bind(this),t.next=function(){let e=t.index;for(;e<this.spineItems.length-1;){let t=this.get(e+1);if(t&&t.linear)return t;e+=1}}.bind(this)):(t.prev=function(){},t.next=function(){}),r=new f(t,this.hooks),this.append(r)}),this.loaded=!0}get(t){var e=0;if(void 0===t)for(;e<this.spineItems.length;){let t=this.spineItems[e];if(t&&t.linear)break;e+=1}else this.epubcfi.isCfiString(t)?e=new l.a(t).spinePos:"number"==typeof t||!1===isNaN(t)?e=t:"string"==typeof t&&0===t.indexOf("#")?e=this.spineById[t.substring(1)]:"string"==typeof t&&(t=t.split("#")[0],e=this.spineByHref[t]||this.spineByHref[encodeURI(t)]);return this.spineItems[e]||null}append(t){var e=this.spineItems.length;return t.index=e,this.spineItems.push(t),this.spineByHref[decodeURI(t.href)]=e,this.spineByHref[encodeURI(t.href)]=e,this.spineByHref[t.href]=e,this.spineById[t.idref]=e,e}prepend(t){return this.spineByHref[t.href]=0,this.spineById[t.idref]=0,this.spineItems.forEach((function(t,e){t.index=e})),0}remove(t){var e=this.spineItems.indexOf(t);if(e>-1)return delete this.spineByHref[t.href],delete this.spineById[t.idref],this.spineItems.splice(e,1)}each(){return this.spineItems.forEach.apply(this.spineItems,arguments)}first(){let t=0;do{let e=this.get(t);if(e&&e.linear)return e;t+=1}while(t<this.spineItems.length)}last(){let t=this.spineItems.length-1;do{let e=this.get(t);if(e&&e.linear)return e;t-=1}while(t>=0)}destroy(){this.each(t=>t.destroy()),this.spineItems=void 0,this.spineByHref=void 0,this.spineById=void 0,this.hooks.serialize.clear(),this.hooks.content.clear(),this.hooks=void 0,this.epubcfi=void 0,this.loaded=!1,this.items=void 0,this.manifest=void 0,this.spineNodeIndex=void 0,this.baseUrl=void 0,this.length=void 0}},this.locations=new v(this.spine,this.load.bind(this)),this.navigation=void 0,this.pageList=void 0,this.url=void 0,this.path=void 0,this.archived=!1,this.archive=void 0,this.storage=void 0,this.resources=void 0,this.rendition=void 0,this.container=void 0,this.packaging=void 0,this.displayOptions=void 0,this.settings.store&&this.store(this.settings.store),t&&this.open(t,this.settings.openAs).catch(e=>{var i=new Error("Cannot load book at "+t);this.emit(g.c.BOOK.OPEN_FAILED,i)})}open(t,e){var i,n=e||this.determineType(t);return n===L?(this.archived=!0,this.url=new o.a("/",""),i=this.openEpub(t)):n===z?(this.archived=!0,this.url=new o.a("/",""),i=this.openEpub(t,n)):n===D?(this.archived=!0,this.url=new o.a("/",""),i=this.request(t,"binary",this.settings.requestCredentials,this.settings.requestHeaders).then(this.openEpub.bind(this))):"opf"==n?(this.url=new o.a(t),i=this.openPackaging(this.url.Path.toString())):n==P?(this.url=new o.a(t),i=this.openManifest(this.url.Path.toString())):(this.url=new o.a(t),i=this.openContainer("META-INF/container.xml").then(this.openPackaging.bind(this))),i}openEpub(t,e){return this.unarchive(t,e||this.settings.encoding).then(()=>this.openContainer("META-INF/container.xml")).then(t=>this.openPackaging(t))}openContainer(t){return this.load(t).then(t=>(this.container=new class{constructor(t){this.packagePath="",this.directory="",this.encoding="",t&&this.parse(t)}parse(t){var e;if(!t)throw new Error("Container File Not Found");if(!(e=Object(s.qs)(t,"rootfile")))throw new Error("No RootFile Found");this.packagePath=e.getAttribute("full-path"),this.directory=b.a.dirname(this.packagePath),this.encoding=t.xmlEncoding}destroy(){this.packagePath=void 0,this.directory=void 0,this.encoding=void 0}}(t),this.resolve(this.container.packagePath)))}openPackaging(t){return this.path=new a.a(t),this.load(t).then(t=>(this.packaging=new w(t),this.unpack(this.packaging)))}openManifest(t){return this.path=new a.a(t),this.load(t).then(t=>(this.packaging=new w,this.packaging.load(t),this.unpack(this.packaging)))}load(t){var e=this.resolve(t);return this.archived?this.archive.request(e):this.request(e,null,this.settings.requestCredentials,this.settings.requestHeaders)}resolve(t,e){if(t){var i=t;return t.indexOf("://")>-1?t:(this.path&&(i=this.path.resolve(t)),0!=e&&this.url&&(i=this.url.resolve(i)),i)}}canonical(t){return t?this.settings.canonical?this.settings.canonical(t):this.resolve(t,!0):""}determineType(t){var e;return"base64"===this.settings.encoding?z:"string"!=typeof t?L:((e=new o.a(t).path().extension)&&(e=e.replace(/\?.*$/,"")),e?"epub"===e?D:"opf"===e?"opf":"json"===e?P:void 0:"directory")}unpack(t){this.package=t,""===this.packaging.metadata.layout?this.load(this.url.resolve("META-INF/com.apple.ibooks.display-options.xml")).then(t=>{this.displayOptions=new j(t),this.loading.displayOptions.resolve(this.displayOptions)}).catch(t=>{this.displayOptions=new j,this.loading.displayOptions.resolve(this.displayOptions)}):(this.displayOptions=new j,this.loading.displayOptions.resolve(this.displayOptions)),this.spine.unpack(this.packaging,this.resolve.bind(this),this.canonical.bind(this)),this.resources=new class{constructor(t,e){this.settings={replacements:e&&e.replacements||"base64",archive:e&&e.archive,resolver:e&&e.resolver,request:e&&e.request},this.process(t)}process(t){this.manifest=t,this.resources=Object.keys(t).map((function(e){return t[e]})),this.replacementUrls=[],this.html=[],this.assets=[],this.css=[],this.urls=[],this.cssUrls=[],this.split(),this.splitUrls()}split(){this.html=this.resources.filter((function(t){if("application/xhtml+xml"===t.type||"text/html"===t.type)return!0})),this.assets=this.resources.filter((function(t){if("application/xhtml+xml"!==t.type&&"text/html"!==t.type)return!0})),this.css=this.resources.filter((function(t){if("text/css"===t.type)return!0}))}splitUrls(){this.urls=this.assets.map(function(t){return t.href}.bind(this)),this.cssUrls=this.css.map((function(t){return t.href}))}createUrl(t){var e=new o.a(t),i=E(e.filename);return this.settings.archive?this.settings.archive.createUrl(t,{base64:"base64"===this.settings.replacements}):"base64"===this.settings.replacements?this.settings.request(t,"blob").then(t=>Object(s.blob2base64)(t)).then(t=>Object(s.createBase64Url)(t,i)):this.settings.request(t,"blob").then(t=>Object(s.createBlobUrl)(t,i))}replacements(){if("none"===this.settings.replacements)return new Promise(function(t){t(this.urls)}.bind(this));var t=this.urls.map(t=>{var e=this.settings.resolver(t);return this.createUrl(e).catch(t=>(console.error(t),null))});return Promise.all(t).then(t=>(this.replacementUrls=t.filter(t=>"string"==typeof t),t))}replaceCss(t,e){var i=[];return t=t||this.settings.archive,e=e||this.settings.resolver,this.cssUrls.forEach(function(n){var r=this.createCssFile(n,t,e).then(function(t){var e=this.urls.indexOf(n);e>-1&&(this.replacementUrls[e]=t)}.bind(this));i.push(r)}.bind(this)),Promise.all(i)}createCssFile(t){if(b.a.isAbsolute(t))return new Promise((function(t){t()}));var e,i=this.settings.resolver(t);e=this.settings.archive?this.settings.archive.getText(i):this.settings.request(i,"text");var n=this.urls.map(t=>{var e=this.settings.resolver(t);return new a.a(i).relative(e)});return e?e.then(t=>(t=Object(h.e)(t,n,this.replacementUrls),"base64"===this.settings.replacements?Object(s.createBase64Url)(t,"text/css"):Object(s.createBlobUrl)(t,"text/css")),t=>new Promise((function(t){t()}))):new Promise((function(t){t()}))}relativeTo(t,e){return e=e||this.settings.resolver,this.urls.map(function(i){var n=e(i);return new a.a(t).relative(n)}.bind(this))}get(t){var e=this.urls.indexOf(t);if(-1!==e)return this.replacementUrls.length?new Promise(function(t,i){t(this.replacementUrls[e])}.bind(this)):this.createUrl(t)}substitute(t,e){var i;return i=e?this.relativeTo(e):this.urls,Object(h.e)(t,i,this.replacementUrls)}destroy(){this.settings=void 0,this.manifest=void 0,this.resources=void 0,this.replacementUrls=void 0,this.html=void 0,this.assets=void 0,this.css=void 0,this.urls=void 0,this.cssUrls=void 0}}(this.packaging.manifest,{archive:this.archive,resolver:this.resolve.bind(this),request:this.request.bind(this),replacements:this.settings.replacements||(this.archived?"blobUrl":"base64")}),this.loadNavigation(this.packaging).then(()=>{this.loading.navigation.resolve(this.navigation)}),this.packaging.coverPath&&(this.cover=this.resolve(this.packaging.coverPath)),this.loading.manifest.resolve(this.packaging.manifest),this.loading.metadata.resolve(this.packaging.metadata),this.loading.spine.resolve(this.spine),this.loading.cover.resolve(this.cover),this.loading.resources.resolve(this.resources),this.loading.pageList.resolve(this.pageList),this.isOpen=!0,this.archived||this.settings.replacements&&"none"!=this.settings.replacements?this.replacements().then(()=>{this.loaded.displayOptions.then(()=>{this.opening.resolve(this)})}).catch(t=>{console.error(t)}):this.loaded.displayOptions.then(()=>{this.opening.resolve(this)})}loadNavigation(t){let e=t.navPath||t.ncxPath,i=t.toc;return i?new Promise((e,n)=>{this.navigation=new x(i),t.pageList&&(this.pageList=new S(t.pageList)),e(this.navigation)}):e?this.load(e,"xml").then(t=>(this.navigation=new x(t),this.pageList=new S(t),this.navigation)):new Promise((t,e)=>{this.navigation=new x,this.pageList=new S,t(this.navigation)})}section(t){return this.spine.get(t)}renderTo(t,e){return this.rendition=new T.a(this,e),this.rendition.attachTo(t),this.rendition}setRequestCredentials(t){this.settings.requestCredentials=t}setRequestHeaders(t){this.settings.requestHeaders=t}unarchive(t,e){return this.archive=new class{constructor(){this.zip=void 0,this.urlCache={},this.checkRequirements()}checkRequirements(){try{this.zip=new O.a}catch(t){throw new Error("JSZip lib not loaded")}}open(t,e){return this.zip.loadAsync(t,{base64:e})}openUrl(t,e){return u(t,"binary").then(function(t){return this.zip.loadAsync(t,{base64:e})}.bind(this))}request(t,e){var i,n=new s.defer,r=new a.a(t);return e||(e=r.extension),(i="blob"==e?this.getBlob(t):this.getText(t))?i.then(function(t){let i=this.handleResponse(t,e);n.resolve(i)}.bind(this)):n.reject({message:"File not found in the epub: "+t,stack:(new Error).stack}),n.promise}handleResponse(t,e){return"json"==e?JSON.parse(t):Object(s.isXml)(e)?Object(s.parse)(t,"text/xml"):"xhtml"==e?Object(s.parse)(t,"application/xhtml+xml"):"html"==e||"htm"==e?Object(s.parse)(t,"text/html"):t}getBlob(t,e){var i=window.decodeURIComponent(t.substr(1)),n=this.zip.file(i);if(n)return e=e||E(n.name),n.async("uint8array").then((function(t){return new Blob([t],{type:e})}))}getText(t,e){var i=window.decodeURIComponent(t.substr(1)),n=this.zip.file(i);if(n)return n.async("string").then((function(t){return t}))}getBase64(t,e){var i=window.decodeURIComponent(t.substr(1)),n=this.zip.file(i);if(n)return e=e||E(n.name),n.async("base64").then((function(t){return"data:"+e+";base64,"+t}))}createUrl(t,e){var i,n,r=new s.defer,o=window.URL||window.webkitURL||window.mozURL,a=e&&e.base64;return t in this.urlCache?(r.resolve(this.urlCache[t]),r.promise):(a?(n=this.getBase64(t))&&n.then(function(e){this.urlCache[t]=e,r.resolve(e)}.bind(this)):(n=this.getBlob(t))&&n.then(function(e){i=o.createObjectURL(e),this.urlCache[t]=i,r.resolve(i)}.bind(this)),n||r.reject({message:"File not found in the epub: "+t,stack:(new Error).stack}),r.promise)}revokeUrl(t){var e=window.URL||window.webkitURL||window.mozURL,i=this.urlCache[t];i&&e.revokeObjectURL(i)}destroy(){var t=window.URL||window.webkitURL||window.mozURL;for(let e in this.urlCache)t.revokeObjectURL(e);this.zip=void 0,this.urlCache={}}},this.archive.open(t,e)}store(t){let e=this.settings.replacements&&"none"!==this.settings.replacements,i=this.url,n=this.settings.requestMethod||u.bind(this);return this.storage=new R(t,n,this.resolve.bind(this)),this.request=this.storage.request.bind(this.storage),this.opened.then(()=>{this.archived&&(this.storage.requester=this.archive.request.bind(this.archive));let t=(t,e)=>{e.output=this.resources.substitute(t,e.url)};this.resources.settings.replacements=e||"blobUrl",this.resources.replacements().then(()=>this.resources.replaceCss()),this.storage.on("offline",()=>{this.url=new o.a("/",""),this.spine.hooks.serialize.register(t)}),this.storage.on("online",()=>{this.url=i,this.spine.hooks.serialize.deregister(t)})}),this.storage}coverUrl(){return this.loaded.cover.then(()=>this.cover?this.archived?this.archive.createUrl(this.cover):this.cover:null)}replacements(){return this.spine.hooks.serialize.register((t,e)=>{e.output=this.resources.substitute(t,e.url)}),this.resources.replacements().then(()=>this.resources.replaceCss())}getRange(t){var e=new l.a(t),i=this.spine.get(e.spinePos),n=this.load.bind(this);return i?i.load(n).then((function(t){return e.toRange(i.document)})):new Promise((t,e)=>{e("CFI could not be found")})}key(t){var e=t||this.packaging.metadata.identifier||this.url.filename;return`epubjs:${g.b}:${e}`}destroy(){this.opened=void 0,this.loading=void 0,this.loaded=void 0,this.ready=void 0,this.isOpen=!1,this.isRendered=!1,this.spine&&this.spine.destroy(),this.locations&&this.locations.destroy(),this.pageList&&this.pageList.destroy(),this.archive&&this.archive.destroy(),this.resources&&this.resources.destroy(),this.container&&this.container.destroy(),this.packaging&&this.packaging.destroy(),this.rendition&&this.rendition.destroy(),this.displayOptions&&this.displayOptions.destroy(),this.spine=void 0,this.locations=void 0,this.pageList=void 0,this.archive=void 0,this.resources=void 0,this.container=void 0,this.packaging=void 0,this.rendition=void 0,this.navigation=void 0,this.url=void 0,this.path=void 0,this.archived=!1}}r()(B.prototype),e.a=B},function(t,e,i){var n=i(16),r=i(60),s=i(25),o=i(32),a=i(41),l=i(10),c=i(62),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=o(t),e=a(e,!0),c)try{return h(t,e)}catch(t){}if(l(t,e))return s(!r.f.call(t,e),t[e])}},function(t,e,i){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!n.call({1:2},1);e.f=s?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},function(t,e,i){var n=i(12),r=i(40),s="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?s.call(t,""):Object(t)}:Object},function(t,e,i){var n=i(16),r=i(12),s=i(63);t.exports=!n&&!r((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},function(t,e,i){var n=i(7),r=i(17),s=n.document,o=r(s)&&r(s.createElement);t.exports=function(t){return o?s.createElement(t):{}}},function(t,e,i){var n=i(65),r=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return r.call(t)}),t.exports=n.inspectSource},function(t,e,i){var n=i(7),r=i(42),s=n["__core-js_shared__"]||r("__core-js_shared__",{});t.exports=s},function(t,e,i){var n=i(34),r=i(65);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++i+n).toString(36)}},function(t,e,i){var n=i(10),r=i(32),s=i(94).indexOf,o=i(44);t.exports=function(t,e){var i,a=r(t),l=0,c=[];for(i in a)!n(o,i)&&n(a,i)&&c.push(i);for(;e.length>l;)n(a,i=e[l++])&&(~s(c,i)||c.push(i));return c}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,i){var n=i(12);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(t,e,i){"use strict";var n=i(32),r=i(103),s=i(27),o=i(26),a=i(74),l=o.set,c=o.getterFor("Array Iterator");t.exports=a(Array,"Array",(function(t,e){l(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),s.Arguments=s.Array,r("keys"),r("values"),r("entries")},function(t,e,i){var n=i(16),r=i(18),s=i(13),o=i(73);t.exports=n?Object.defineProperties:function(t,e){s(t);for(var i,n=o(e),a=n.length,l=0;a>l;)r.f(t,i=n[l++],e[i]);return t}},function(t,e,i){var n=i(68),r=i(47);t.exports=Object.keys||function(t){return n(t,r)}},function(t,e,i){"use strict";var n=i(31),r=i(75),s=i(77),o=i(106),a=i(37),l=i(15),c=i(19),h=i(8),u=i(34),d=i(27),f=i(76),p=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,m=h("iterator"),v=function(){return this};t.exports=function(t,e,i,h,f,y,b){r(i,e,h);var w,x,_,k=function(t){if(t===f&&O)return O;if(!g&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new i(this,t)}}return function(){return new i(this)}},E=e+" Iterator",S=!1,T=t.prototype,C=T[m]||T["@@iterator"]||f&&T[f],O=!g&&C||k(f),A="Array"==e&&T.entries||C;if(A&&(w=s(A.call(new t)),p!==Object.prototype&&w.next&&(u||s(w)===p||(o?o(w,p):"function"!=typeof w[m]&&l(w,m,v)),a(w,E,!0,!0),u&&(d[E]=v))),"values"==f&&C&&"values"!==C.name&&(S=!0,O=function(){return C.call(this)}),u&&!b||T[m]===O||l(T,m,O),d[e]=O,f)if(x={values:k("values"),keys:y?O:k("keys"),entries:k("entries")},b)for(_ in x)(g||S||!(_ in T))&&c(T,_,x[_]);else n({target:e,proto:!0,forced:g||S},x);return x}},function(t,e,i){"use strict";var n=i(76).IteratorPrototype,r=i(50),s=i(25),o=i(37),a=i(27),l=function(){return this};t.exports=function(t,e,i){var c=e+" Iterator";return t.prototype=r(n,{next:s(1,i)}),o(t,c,!1,!0),a[c]=l,t}},function(t,e,i){"use strict";var n,r,s,o=i(77),a=i(15),l=i(10),c=i(8),h=i(34),u=c("iterator"),d=!1;[].keys&&("next"in(s=[].keys())?(r=o(o(s)))!==Object.prototype&&(n=r):d=!0),null==n&&(n={}),h||l(n,u)||a(n,u,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},function(t,e,i){var n=i(10),r=i(36),s=i(43),o=i(105),a=s("IE_PROTO"),l=Object.prototype;t.exports=o?Object.getPrototypeOf:function(t){return t=r(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},function(t,e,i){var n=i(12),r=i(8),s=i(34),o=r("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,i="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),i+=n+t})),s&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==i||"x"!==new URL("http://x",void 0).host}))},function(t,e){t.exports=function(t,e,i){if(!(t instanceof e))throw TypeError("Incorrect "+(i?i+" ":"")+"invocation");return t}},function(t,e,i){var n=i(126);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,i){var n=i(130),r=i(40),s=i(8)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=n?r:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),s))?i:o?r(e):"Object"==(n=r(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,i){var n=i(138),r="object"==typeof self&&self&&self.Object===Object&&self,s=n||r||Function("return this")();t.exports=s},function(t,e,i){var n=i(82).Symbol;t.exports=n},function(t,e,i){var n=i(55),r=i(53);t.exports=function(t,e,i){var s=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return r(i)&&(s="leading"in i?!!i.leading:s,o="trailing"in i?!!i.trailing:o),n(t,e,{leading:s,maxWait:e,trailing:o})}},function(t,i){t.exports=e},function(t,e,i){"use strict";i.r(e),function(t){var n=i(58),r=i(39),s=i(2),o=i(28),a=i(0),l=i(1);function c(t,e){return new n.a(t,e)}i(54),i(22),i(56),c.VERSION=l.b,void 0!==t&&(t.EPUBJS_VERSION=l.b),c.Book=n.a,c.Rendition=r.a,c.Contents=o.a,c.CFI=s.a,c.utils=a,e.default=c}.call(this,i(30))},function(t,e,i){"use strict";i(88);var n=i(19),r=i(12),s=i(8),o=i(48),a=i(15),l=s("species"),c=!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h="$0"==="a".replace(/./,"$0"),u=s("replace"),d=!!/./[u]&&""===/./[u]("a","$0"),f=!r((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}));t.exports=function(t,e,i,u){var p=s(t),g=!r((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),m=g&&!r((function(){var e=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[l]=function(){return i},i.flags="",i[p]=/./[p]),i.exec=function(){return e=!0,null},i[p](""),!e}));if(!g||!m||"replace"===t&&(!c||!h||d)||"split"===t&&!f){var v=/./[p],y=i(p,""[t],(function(t,e,i,n,r){return e.exec===o?g&&!r?{done:!0,value:v.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),b=y[0],w=y[1];n(String.prototype,t,b),n(RegExp.prototype,p,2==e?function(t,e){return w.call(t,this,e)}:function(t){return w.call(t,this)})}u&&a(RegExp.prototype[p],"sham",!0)}},function(t,e,i){"use strict";var n=i(31),r=i(48);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(t,e,i){var n=i(7),r=i(64),s=n.WeakMap;t.exports="function"==typeof s&&/native code/.test(r(s))},function(t,e,i){var n=i(10),r=i(91),s=i(59),o=i(18);t.exports=function(t,e){for(var i=r(e),a=o.f,l=s.f,c=0;c<i.length;c++){var h=i[c];n(t,h)||a(t,h,l(e,h))}}},function(t,e,i){var n=i(45),r=i(93),s=i(69),o=i(13);t.exports=n("Reflect","ownKeys")||function(t){var e=r.f(o(t)),i=s.f;return i?e.concat(i(t)):e}},function(t,e,i){var n=i(7);t.exports=n},function(t,e,i){var n=i(68),r=i(47).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},function(t,e,i){var n=i(32),r=i(46),s=i(95),o=function(t){return function(e,i,o){var a,l=n(e),c=r(l.length),h=s(o,c);if(t&&i!=i){for(;c>h;)if((a=l[h++])!=a)return!0}else for(;c>h;h++)if((t||h in l)&&l[h]===i)return t||h||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},function(t,e,i){var n=i(35),r=Math.max,s=Math.min;t.exports=function(t,e){var i=n(t);return i<0?r(i+e,0):s(i,e)}},function(t,e,i){var n=i(12),r=/#|\.prototype\./,s=function(t,e){var i=a[o(t)];return i==c||i!=l&&("function"==typeof e?n(e):!!e)},o=s.normalize=function(t){return String(t).replace(r,".").toLowerCase()},a=s.data={},l=s.NATIVE="N",c=s.POLYFILL="P";t.exports=s},function(t,e,i){"use strict";var n=i(13);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,i){"use strict";var n=i(12);function r(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,i){var n=i(70);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,i){"use strict";var n=i(49).charAt;t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},function(t,e,i){var n=i(40),r=i(48);t.exports=function(t,e){var i=t.exec;if("function"==typeof i){var s=i.call(t,e);if("object"!=typeof s)throw TypeError("RegExp exec method returned something other than an Object or null");return s}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,i){var n=i(8),r=i(50),s=i(18),o=n("unscopables"),a=Array.prototype;null==a[o]&&s.f(a,o,{configurable:!0,value:r(null)}),t.exports=function(t){a[o][t]=!0}},function(t,e,i){var n=i(45);t.exports=n("document","documentElement")},function(t,e,i){var n=i(12);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,i){var n=i(13),r=i(107);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),e=i instanceof Array}catch(t){}return function(i,s){return n(i),r(s),e?t.call(i,s):i.__proto__=s,i}}():void 0)},function(t,e,i){var n=i(17);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,i){"use strict";var n=i(109),r=i(117),s=i(118),o=i(119);(t.exports=function(t,e){var i,s,a,l,c;return arguments.length<2||"string"!=typeof t?(l=e,e=t,t=null):l=arguments[2],null==t?(i=a=!0,s=!1):(i=o.call(t,"c"),s=o.call(t,"e"),a=o.call(t,"w")),c={value:e,configurable:i,enumerable:s,writable:a},l?n(r(l),c):c}).gs=function(t,e,i){var a,l,c,h;return"string"!=typeof t?(c=i,i=e,e=t,t=null):c=arguments[3],null==e?e=void 0:s(e)?null==i?i=void 0:s(i)||(c=i,i=void 0):(c=e,e=i=void 0),null==t?(a=!0,l=!1):(a=o.call(t,"c"),l=o.call(t,"e")),h={get:e,set:i,configurable:a,enumerable:l},c?n(r(c),h):h}},function(t,e,i){"use strict";t.exports=i(110)()?Object.assign:i(111)},function(t,e,i){"use strict";t.exports=function(){var t,e=Object.assign;return"function"==typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},function(t,e,i){"use strict";var n=i(112),r=i(116),s=Math.max;t.exports=function(t,e){var i,o,a,l=s(arguments.length,2);for(t=Object(r(t)),a=function(n){try{t[n]=e[n]}catch(t){i||(i=t)}},o=1;o<l;++o)n(e=arguments[o]).forEach(a);if(void 0!==i)throw i;return t}},function(t,e,i){"use strict";t.exports=i(113)()?Object.keys:i(114)},function(t,e,i){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},function(t,e,i){"use strict";var n=i(51),r=Object.keys;t.exports=function(t){return r(n(t)?Object(t):t)}},function(t,e,i){"use strict";t.exports=function(){}},function(t,e,i){"use strict";var n=i(51);t.exports=function(t){if(!n(t))throw new TypeError("Cannot use null or undefined");return t}},function(t,e,i){"use strict";var n=i(51),r=Array.prototype.forEach,s=Object.create,o=function(t,e){var i;for(i in t)e[i]=t[i]};t.exports=function(t){var e=s(null);return r.call(arguments,(function(t){n(t)&&o(Object(t),e)})),e}},function(t,e,i){"use strict";t.exports=function(t){return"function"==typeof t}},function(t,e,i){"use strict";t.exports=i(120)()?String.prototype.contains:i(121)},function(t,e,i){"use strict";var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&!0===n.contains("dwa")&&!1===n.contains("foo")}},function(t,e,i){"use strict";var n=String.prototype.indexOf;t.exports=function(t){return n.call(this,t,arguments[1])>-1}},function(t,e,i){"use strict";t.exports=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}},function(t,e,i){"use strict";var n=i(49).charAt,r=i(26),s=i(74),o=r.set,a=r.getterFor("String Iterator");s(String,"String",(function(t){o(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=a(this),i=e.string,r=e.index;return r>=i.length?{value:void 0,done:!0}:(t=n(i,r),e.index+=t.length,{value:t,done:!1})}))},function(t,e,i){"use strict";var n=i(16),r=i(12),s=i(73),o=i(69),a=i(60),l=i(36),c=i(61),h=Object.assign,u=Object.defineProperty;t.exports=!h||r((function(){if(n&&1!==h({b:1},h(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol();return t[i]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=h({},t)[i]||"abcdefghijklmnopqrst"!=s(h({},e)).join("")}))?function(t,e){for(var i=l(t),r=arguments.length,h=1,u=o.f,d=a.f;r>h;)for(var f,p=c(arguments[h++]),g=u?s(p).concat(u(p)):s(p),m=g.length,v=0;m>v;)f=g[v++],n&&!d.call(p,f)||(i[f]=p[f]);return i}:h},function(t,e,i){"use strict";var n=i(80),r=i(36),s=i(127),o=i(128),a=i(46),l=i(129),c=i(52);t.exports=function(t){var e,i,h,u,d,f,p=r(t),g="function"==typeof this?this:Array,m=arguments.length,v=m>1?arguments[1]:void 0,y=void 0!==v,b=c(p),w=0;if(y&&(v=n(v,m>2?arguments[2]:void 0,2)),null==b||g==Array&&o(b))for(i=new g(e=a(p.length));e>w;w++)f=y?v(p[w],w):p[w],l(i,w,f);else for(d=(u=b.call(p)).next,i=new g;!(h=d.call(u)).done;w++)f=y?s(u,v,[h.value,w],!0):h.value,l(i,w,f);return i.length=w,i}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,i){var n=i(13);t.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){var s=t.return;throw void 0!==s&&n(s.call(t)),e}}},function(t,e,i){var n=i(8),r=i(27),s=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[s]===t)}},function(t,e,i){"use strict";var n=i(41),r=i(18),s=i(25);t.exports=function(t,e,i){var o=n(e);o in t?r.f(t,o,s(0,i)):t[o]=i}},function(t,e,i){var n={};n[i(8)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,i){"use strict";var n=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",o=Math.floor,a=String.fromCharCode,l=function(t){return t+22+75*(t<26)},c=function(t,e,i){var n=0;for(t=i?o(t/700):t>>1,t+=o(t/e);t>455;n+=36)t=o(t/35);return o(n+36*t/(t+38))},h=function(t){var e,i,n=[],r=(t=function(t){for(var e=[],i=0,n=t.length;i<n;){var r=t.charCodeAt(i++);if(r>=55296&&r<=56319&&i<n){var s=t.charCodeAt(i++);56320==(64512&s)?e.push(((1023&r)<<10)+(1023&s)+65536):(e.push(r),i--)}else e.push(r)}return e}(t)).length,h=128,u=0,d=72;for(e=0;e<t.length;e++)(i=t[e])<128&&n.push(a(i));var f=n.length,p=f;for(f&&n.push("-");p<r;){var g=2147483647;for(e=0;e<t.length;e++)(i=t[e])>=h&&i<g&&(g=i);var m=p+1;if(g-h>o((2147483647-u)/m))throw RangeError(s);for(u+=(g-h)*m,h=g,e=0;e<t.length;e++){if((i=t[e])<h&&++u>2147483647)throw RangeError(s);if(i==h){for(var v=u,y=36;;y+=36){var b=y<=d?1:y>=d+26?26:y-d;if(v<b)break;var w=v-b,x=36-b;n.push(a(l(b+w%x))),v=o(w/x)}n.push(a(l(v))),d=c(u,m,p==f),u=0,++p}}++u,++h}return n.join("")};t.exports=function(t){var e,i,s=[],o=t.toLowerCase().replace(r,".").split(".");for(e=0;e<o.length;e++)i=o[e],s.push(n.test(i)?"xn--"+h(i):i);return s.join(".")}},function(t,e,i){"use strict";i(71);var n=i(31),r=i(45),s=i(78),o=i(19),a=i(133),l=i(37),c=i(75),h=i(26),u=i(79),d=i(10),f=i(80),p=i(81),g=i(13),m=i(17),v=i(50),y=i(25),b=i(134),w=i(52),x=i(8),_=r("fetch"),k=r("Headers"),E=x("iterator"),S=h.set,T=h.getterFor("URLSearchParams"),C=h.getterFor("URLSearchParamsIterator"),O=/\+/g,A=Array(4),N=function(t){return A[t-1]||(A[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},I=function(t){try{return decodeURIComponent(t)}catch(e){return t}},R=function(t){var e=t.replace(O," "),i=4;try{return decodeURIComponent(e)}catch(t){for(;i;)e=e.replace(N(i--),I);return e}},j=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},z=function(t){return L[t]},D=function(t){return encodeURIComponent(t).replace(j,z)},P=function(t,e){if(e)for(var i,n,r=e.split("&"),s=0;s<r.length;)(i=r[s++]).length&&(n=i.split("="),t.push({key:R(n.shift()),value:R(n.join("="))}))},B=function(t){this.entries.length=0,P(this.entries,t)},M=function(t,e){if(t<e)throw TypeError("Not enough arguments")},F=c((function(t,e){S(this,{type:"URLSearchParamsIterator",iterator:b(T(t).entries),kind:e})}),"Iterator",(function(){var t=C(this),e=t.kind,i=t.iterator.next(),n=i.value;return i.done||(i.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),i})),q=function(){u(this,q,"URLSearchParams");var t,e,i,n,r,s,o,a,l,c=arguments.length>0?arguments[0]:void 0,h=this,f=[];if(S(h,{type:"URLSearchParams",entries:f,updateURL:function(){},updateSearchParams:B}),void 0!==c)if(m(c))if("function"==typeof(t=w(c)))for(i=(e=t.call(c)).next;!(n=i.call(e)).done;){if((o=(s=(r=b(g(n.value))).next).call(r)).done||(a=s.call(r)).done||!s.call(r).done)throw TypeError("Expected sequence with length 2");f.push({key:o.value+"",value:a.value+""})}else for(l in c)d(c,l)&&f.push({key:l,value:c[l]+""});else P(f,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},U=q.prototype;a(U,{append:function(t,e){M(arguments.length,2);var i=T(this);i.entries.push({key:t+"",value:e+""}),i.updateURL()},delete:function(t){M(arguments.length,1);for(var e=T(this),i=e.entries,n=t+"",r=0;r<i.length;)i[r].key===n?i.splice(r,1):r++;e.updateURL()},get:function(t){M(arguments.length,1);for(var e=T(this).entries,i=t+"",n=0;n<e.length;n++)if(e[n].key===i)return e[n].value;return null},getAll:function(t){M(arguments.length,1);for(var e=T(this).entries,i=t+"",n=[],r=0;r<e.length;r++)e[r].key===i&&n.push(e[r].value);return n},has:function(t){M(arguments.length,1);for(var e=T(this).entries,i=t+"",n=0;n<e.length;)if(e[n++].key===i)return!0;return!1},set:function(t,e){M(arguments.length,1);for(var i,n=T(this),r=n.entries,s=!1,o=t+"",a=e+"",l=0;l<r.length;l++)(i=r[l]).key===o&&(s?r.splice(l--,1):(s=!0,i.value=a));s||r.push({key:o,value:a}),n.updateURL()},sort:function(){var t,e,i,n=T(this),r=n.entries,s=r.slice();for(r.length=0,i=0;i<s.length;i++){for(t=s[i],e=0;e<i;e++)if(r[e].key>t.key){r.splice(e,0,t);break}e===i&&r.push(t)}n.updateURL()},forEach:function(t){for(var e,i=T(this).entries,n=f(t,arguments.length>1?arguments[1]:void 0,3),r=0;r<i.length;)n((e=i[r++]).value,e.key,this)},keys:function(){return new F(this,"keys")},values:function(){return new F(this,"values")},entries:function(){return new F(this,"entries")}},{enumerable:!0}),o(U,E,U.entries),o(U,"toString",(function(){for(var t,e=T(this).entries,i=[],n=0;n<e.length;)t=e[n++],i.push(D(t.key)+"="+D(t.value));return i.join("&")}),{enumerable:!0}),l(q,"URLSearchParams"),n({global:!0,forced:!s},{URLSearchParams:q}),s||"function"!=typeof _||"function"!=typeof k||n({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,i,n,r=[t];return arguments.length>1&&(m(e=arguments[1])&&(i=e.body,"URLSearchParams"===p(i)&&((n=e.headers?new k(e.headers):new k).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=v(e,{body:y(0,String(i)),headers:y(0,n)}))),r.push(e)),_.apply(this,r)}}),t.exports={URLSearchParams:q,getState:T}},function(t,e,i){var n=i(19);t.exports=function(t,e,i){for(var r in e)n(t,r,e[r],i);return t}},function(t,e,i){var n=i(13),r=i(52);t.exports=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},function(t,e,i){"use strict";function n(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}Object.defineProperty(e,"__esModule",{value:!0}),e.createElement=n,e.default={createElement:n}},function(t,e,i){"use strict";function n(t,e){function i(i){for(var n=e.length-1;n>=0;n--){var o=e[n],a=i.clientX,l=i.clientY;if(i.touches&&i.touches.length&&(a=i.touches[0].clientX,l=i.touches[0].clientY),s(o,t,a,l)){o.dispatchEvent(r(i));break}}}if("iframe"===t.nodeName||"IFRAME"===t.nodeName)try{this.target=t.contentDocument}catch(e){this.target=t}else this.target=t;for(var n=["mouseup","mousedown","click","touchstart"],o=0;o<n.length;o++){var a=n[o];this.target.addEventListener(a,(function(t){return i(t)}),!1)}}function r(t){var e=Object.assign({},t,{bubbles:!1});try{return new MouseEvent(t.type,e)}catch(n){var i=document.createEvent("MouseEvents");return i.initMouseEvent(t.type,!1,e.cancelable,e.view,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),i}}function s(t,e,i,n){var r=e.getBoundingClientRect();function s(t,e,i){var n=t.top-r.top,s=t.left-r.left,o=n+t.height,a=s+t.width;return n<=i&&s<=e&&o>i&&a>e}if(!s(t.getBoundingClientRect(),i,n))return!1;for(var o=t.getClientRects(),a=0,l=o.length;a<l;a++)if(s(o[a],i,n))return!0;return!1}Object.defineProperty(e,"__esModule",{value:!0}),e.proxyMouse=n,e.clone=r,e.default={proxyMouse:n}},function(t,e,i){var n=i(82);t.exports=function(){return n.Date.now()}},function(t,e,i){(function(e){var i="object"==typeof e&&e&&e.Object===Object&&e;t.exports=i}).call(this,i(30))},function(t,e,i){var n=i(53),r=i(140),s=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(r(t))return NaN;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(s,"");var i=a.test(t);return i||l.test(t)?c(t.slice(2),i?2:8):o.test(t)?NaN:+t}},function(t,e,i){var n=i(141),r=i(144);t.exports=function(t){return"symbol"==typeof t||r(t)&&"[object Symbol]"==n(t)}},function(t,e,i){var n=i(83),r=i(142),s=i(143),o=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?r(t):s(t)}},function(t,e,i){var n=i(83),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=s.call(t,a),i=t[a];try{t[a]=void 0;var n=!0}catch(t){}var r=o.call(t);return n&&(e?t[a]=i:delete t[a]),r}},function(t,e){var i=Object.prototype.toString;t.exports=function(t){return i.call(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}}]).default})),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).localforage=t()}}((function(){return function t(e,i,n){function r(o,a){if(!i[o]){if(!e[o]){var l="function"==typeof require&&require;if(!a&&l)return l(o,!0);if(s)return s(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var h=i[o]={exports:{}};e[o][0].call(h.exports,(function(t){var i=e[o][1][t];return r(i||t)}),h,h.exports,t,e,i,n)}return i[o].exports}for(var s="function"==typeof require&&require,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,i){(function(t){"use strict";function i(){c=!0;for(var t,e,i=h.length;i;){for(e=h,h=[],t=-1;++t<i;)e[t]();i=h.length}c=!1}var n,r=t.MutationObserver||t.WebKitMutationObserver;if(r){var s=0,o=new r(i),a=t.document.createTextNode("");o.observe(a,{characterData:!0}),n=function(){a.data=s=++s%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){i(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(i,0)};else{var l=new t.MessageChannel;l.port1.onmessage=i,n=function(){l.port2.postMessage(0)}}var c,h=[];e.exports=function(t){1!==h.push(t)||c||n()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,i){"use strict";function n(){}function r(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=p,this.queue=[],this.outcome=void 0,t!==n&&l(this,t)}function s(t,e,i){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function o(t,e,i){h((function(){var n;try{n=e(i)}catch(e){return u.reject(t,e)}n===t?u.reject(t,new TypeError("Cannot resolve promise with itself")):u.resolve(t,n)}))}function a(t){var e=t&&t.then;if(t&&"object"==typeof t&&"function"==typeof e)return function(){e.apply(t,arguments)}}function l(t,e){function i(e){r||(r=!0,u.reject(t,e))}function n(e){r||(r=!0,u.resolve(t,e))}var r=!1,s=c((function(){e(n,i)}));"error"===s.status&&i(s.value)}function c(t,e){var i={};try{i.value=t(e),i.status="success"}catch(t){i.status="error",i.value=t}return i}var h=t(1),u={},d=["REJECTED"],f=["FULFILLED"],p=["PENDING"];e.exports=i=r,r.prototype.catch=function(t){return this.then(null,t)},r.prototype.then=function(t,e){if("function"!=typeof t&&this.state===f||"function"!=typeof e&&this.state===d)return this;var i=new this.constructor(n);this.state!==p?o(i,this.state===f?t:e,this.outcome):this.queue.push(new s(i,t,e));return i},s.prototype.callFulfilled=function(t){u.resolve(this.promise,t)},s.prototype.otherCallFulfilled=function(t){o(this.promise,this.onFulfilled,t)},s.prototype.callRejected=function(t){u.reject(this.promise,t)},s.prototype.otherCallRejected=function(t){o(this.promise,this.onRejected,t)},u.resolve=function(t,e){var i=c(a,e);if("error"===i.status)return u.reject(t,i.value);var n=i.value;if(n)l(t,n);else{t.state=f,t.outcome=e;for(var r=-1,s=t.queue.length;++r<s;)t.queue[r].callFulfilled(e)}return t},u.reject=function(t,e){t.state=d,t.outcome=e;for(var i=-1,n=t.queue.length;++i<n;)t.queue[i].callRejected(e);return t},i.resolve=function(t){return t instanceof this?t:u.resolve(new this(n),t)},i.reject=function(t){var e=new this(n);return u.reject(e,t)},i.all=function(t){function e(t,e){i.resolve(t).then((function(t){o[e]=t,++a!==r||s||(s=!0,u.resolve(c,o))}),(function(t){s||(s=!0,u.reject(c,t))}))}var i=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,s=!1;if(!r)return this.resolve([]);for(var o=new Array(r),a=0,l=-1,c=new this(n);++l<r;)e(t[l],l);return c},i.race=function(t){function e(t){i.resolve(t).then((function(t){s||(s=!0,u.resolve(a,t))}),(function(t){s||(s=!0,u.reject(a,t))}))}var i=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,s=!1;if(!r)return this.resolve([]);for(var o=-1,a=new this(n);++o<r;)e(t[o]);return a}},{1:1}],3:[function(t,e,i){(function(e){"use strict";"function"!=typeof e.Promise&&(e.Promise=t(2))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(t,e,i){"use strict";function n(t,e){t=t||[],e=e||{};try{return new Blob(t,e)}catch(r){if("TypeError"!==r.name)throw r;for(var i=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),n=0;n<t.length;n+=1)i.append(t[n]);return i.getBlob(e.type)}}function r(t,e){e&&t.then((function(t){e(null,t)}),(function(t){e(t)}))}function s(t,e,i){"function"==typeof e&&t.then(e),"function"==typeof i&&t.catch(i)}function o(t){return"boolean"==typeof b?x.resolve(b):function(t){return new x((function(e){var i=t.transaction(_,"readwrite"),r=n([""]);i.objectStore(_).put(r,"key"),i.onabort=function(t){t.preventDefault(),t.stopPropagation(),e(!1)},i.oncomplete=function(){var t=navigator.userAgent.match(/Chrome\/(\d+)/),i=navigator.userAgent.match(/Edge\//);e(i||!t||parseInt(t[1],10)>=43)}})).catch((function(){return!1}))}(t).then((function(t){return b=t}))}function a(t,e){return new x((function(i,n){if(t.db){if(!e)return i(t.db);(function(t){var e=w[t.name],i={};i.promise=new x((function(t){i.resolve=t})),e.deferredOperations.push(i),e.dbReady?e.dbReady=e.dbReady.then((function(){return i.promise})):e.dbReady=i.promise})(t),t.db.close()}var r=[t.name];e&&r.push(t.version);var s=y.open.apply(y,r);e&&(s.onupgradeneeded=function(e){var i=s.result;try{i.createObjectStore(t.storeName),e.oldVersion<=1&&i.createObjectStore(_)}catch(i){if("ConstraintError"!==i.name)throw i;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),s.onerror=function(t){t.preventDefault(),n(s.error)},s.onsuccess=function(){i(s.result),function(t){var e=w[t.name].deferredOperations.pop();e&&e.resolve()}(t)}}))}function l(t){return n([function(t){for(var e=t.length,i=new ArrayBuffer(e),n=new Uint8Array(i),r=0;r<e;r++)n[r]=t.charCodeAt(r);return i}(atob(t.data))],{type:t.type})}function c(t){return t&&t.__local_forage_encoded_blob}function h(t){var e=this,i=e._initReady().then((function(){var t=w[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady}));return s(i,t,t),i}function u(t){var e,i,n,r,s,o=.75*t.length,a=t.length,l=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var c=new ArrayBuffer(o),h=new Uint8Array(c);for(e=0;e<a;e+=4)i=S.indexOf(t[e]),n=S.indexOf(t[e+1]),r=S.indexOf(t[e+2]),s=S.indexOf(t[e+3]),h[l++]=i<<2|n>>4,h[l++]=(15&n)<<4|r>>2,h[l++]=(3&r)<<6|63&s;return c}function d(t){var e,i=new Uint8Array(t),n="";for(e=0;e<i.length;e+=3)n+=S[i[e]>>2],n+=S[(3&i[e])<<4|i[e+1]>>4],n+=S[(15&i[e+1])<<2|i[e+2]>>6],n+=S[63&i[e+2]];return i.length%3==2?n=n.substring(0,n.length-1)+"=":i.length%3==1&&(n=n.substring(0,n.length-2)+"=="),n}function f(t,e,i,n){var s=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var o=new x((function(r,o){s.ready().then((function(){void 0===e&&(e=null);var a=e,l=s._dbInfo;l.serializer.serialize(e,(function(e,c){c?o(c):l.db.transaction((function(i){i.executeSql("INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[t,e],(function(){r(a)}),(function(t,e){o(e)}))}),(function(e){if(e.code===e.QUOTA_ERR){if(n>0)return void r(f.apply(s,[t,a,i,n-1]));o(e)}}))}))})).catch(o)}));return r(o,i),o}function p(t,e){t[e]=function(){var i=arguments;return t.ready().then((function(){return t[e].apply(t,i)}))}}function g(){for(var t=1;t<arguments.length;t++){var e=arguments[t];if(e)for(var i in e)e.hasOwnProperty(i)&&(Q(e[i])?arguments[0][i]=e[i].slice():arguments[0][i]=e[i])}return arguments[0]}function m(t){for(var e in Y)if(Y.hasOwnProperty(e)&&Y[e]===t)return!0;return!1}var v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(t){}}();"undefined"==typeof Promise&&t(3);var b,w,x=Promise,_="local-forage-detect-blob-support",k=Object.prototype.toString,E={_driver:"asyncStorage",_initStorage:function(t){function e(){return x.resolve()}var i=this,n={db:null};if(t)for(var r in t)n[r]=t[r];w||(w={});var s=w[n.name];s||(s={forages:[],db:null,dbReady:null,deferredOperations:[]},w[n.name]=s),s.forages.push(i),i._initReady||(i._initReady=i.ready,i.ready=h);for(var o=[],l=0;l<s.forages.length;l++){var c=s.forages[l];c!==i&&o.push(c._initReady().catch(e))}var u=s.forages.slice(0);return x.all(o).then((function(){return n.db=s.db,function(t){return a(t,!1)}(n)})).then((function(t){return n.db=t,function(t,e){if(!t.db)return!0;var i=!t.db.objectStoreNames.contains(t.storeName),n=t.version<t.db.version,r=t.version>t.db.version;if(n&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),r||i){if(i){var s=t.db.version+1;s>t.version&&(t.version=s)}return!0}return!1}(n,i._defaultConfig.version)?function(t){return a(t,!0)}(n):t})).then((function(t){n.db=s.db=t,i._dbInfo=n;for(var e=0;e<u.length;e++){var r=u[e];r!==i&&(r._dbInfo.db=n.db,r._dbInfo.version=n.version)}}))},iterate:function(t,e){var i=this,n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo,s=r.db.transaction(r.storeName,"readonly").objectStore(r.storeName).openCursor(),o=1;s.onsuccess=function(){var i=s.result;if(i){var n=i.value;c(n)&&(n=l(n));var r=t(n,i.key,o++);void 0!==r?e(r):i.continue()}else e()},s.onerror=function(){n(s.error)}})).catch(n)}));return r(n,e),n},getItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo,s=r.db.transaction(r.storeName,"readonly").objectStore(r.storeName).get(t);s.onsuccess=function(){var t=s.result;void 0===t&&(t=null),c(t)&&(t=l(t)),e(t)},s.onerror=function(){n(s.error)}})).catch(n)}));return r(n,e),n},setItem:function(t,e,i){var n=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var s=new x((function(i,r){var s;n.ready().then((function(){return s=n._dbInfo,"[object Blob]"===k.call(e)?o(s.db).then((function(t){return t?e:function(t){return new x((function(e,i){var n=new FileReader;n.onerror=i,n.onloadend=function(i){var n=btoa(i.target.result||"");e({__local_forage_encoded_blob:!0,data:n,type:t.type})},n.readAsBinaryString(t)}))}(e)})):e})).then((function(e){var n=s.db.transaction(s.storeName,"readwrite"),o=n.objectStore(s.storeName).put(e,t);null===e&&(e=void 0),n.oncomplete=function(){void 0===e&&(e=null),i(e)},n.onabort=n.onerror=function(){var t=o.error?o.error:o.transaction.error;r(t)}})).catch(r)}));return r(s,i),s},removeItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo,s=r.db.transaction(r.storeName,"readwrite"),o=s.objectStore(r.storeName).delete(t);s.oncomplete=function(){e()},s.onerror=function(){n(o.error)},s.onabort=function(){var t=o.error?o.error:o.transaction.error;n(t)}})).catch(n)}));return r(n,e),n},clear:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo,r=n.db.transaction(n.storeName,"readwrite"),s=r.objectStore(n.storeName).clear();r.oncomplete=function(){t()},r.onabort=r.onerror=function(){var t=s.error?s.error:s.transaction.error;i(t)}})).catch(i)}));return r(i,t),i},length:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo,r=n.db.transaction(n.storeName,"readonly").objectStore(n.storeName).count();r.onsuccess=function(){t(r.result)},r.onerror=function(){i(r.error)}})).catch(i)}));return r(i,t),i},key:function(t,e){var i=this,n=new x((function(e,n){return t<0?void e(null):void i.ready().then((function(){var r=i._dbInfo,s=r.db.transaction(r.storeName,"readonly").objectStore(r.storeName),o=!1,a=s.openCursor();a.onsuccess=function(){var i=a.result;return i?void(0===t||o?e(i.key):(o=!0,i.advance(t))):void e(null)},a.onerror=function(){n(a.error)}})).catch(n)}));return r(n,e),n},keys:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo,r=n.db.transaction(n.storeName,"readonly").objectStore(n.storeName).openCursor(),s=[];r.onsuccess=function(){var e=r.result;return e?(s.push(e.key),void e.continue()):void t(s)},r.onerror=function(){i(r.error)}})).catch(i)}));return r(i,t),i}},S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",T="~~local_forage_type~",C=/^~~local_forage_type~([^~]+)~/,O="__lfsc__:",A=O.length,N="arbf",I="blob",R="si08",j="ui08",L="uic8",z="si16",D="si32",P="ur16",B="ui32",M="fl32",F="fl64",q=A+N.length,U=Object.prototype.toString,W={serialize:function(t,e){var i="";if(t&&(i=U.call(t)),t&&("[object ArrayBuffer]"===i||t.buffer&&"[object ArrayBuffer]"===U.call(t.buffer))){var n,r=O;t instanceof ArrayBuffer?(n=t,r+=N):(n=t.buffer,"[object Int8Array]"===i?r+=R:"[object Uint8Array]"===i?r+=j:"[object Uint8ClampedArray]"===i?r+=L:"[object Int16Array]"===i?r+=z:"[object Uint16Array]"===i?r+=P:"[object Int32Array]"===i?r+=D:"[object Uint32Array]"===i?r+=B:"[object Float32Array]"===i?r+=M:"[object Float64Array]"===i?r+=F:e(new Error("Failed to get type for BinaryArray"))),e(r+d(n))}else if("[object Blob]"===i){var s=new FileReader;s.onload=function(){var i=T+t.type+"~"+d(this.result);e(O+I+i)},s.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(i){console.error("Couldn't convert value into a JSON string: ",t),e(null,i)}},deserialize:function(t){if(t.substring(0,A)!==O)return JSON.parse(t);var e,i=t.substring(q),r=t.substring(A,q);if(r===I&&C.test(i)){var s=i.match(C);e=s[1],i=i.substring(s[0].length)}var o=u(i);switch(r){case N:return o;case I:return n([o],{type:e});case R:return new Int8Array(o);case j:return new Uint8Array(o);case L:return new Uint8ClampedArray(o);case z:return new Int16Array(o);case P:return new Uint16Array(o);case D:return new Int32Array(o);case B:return new Uint32Array(o);case M:return new Float32Array(o);case F:return new Float64Array(o);default:throw new Error("Unkown type: "+r)}},stringToBuffer:u,bufferToString:d},$={_driver:"webSQLStorage",_initStorage:function(t){var e=this,i={db:null};if(t)for(var n in t)i[n]="string"!=typeof t[n]?t[n].toString():t[n];var r=new x((function(t,n){try{i.db=openDatabase(i.name,String(i.version),i.description,i.size)}catch(t){return n(t)}i.db.transaction((function(r){r.executeSql("CREATE TABLE IF NOT EXISTS "+i.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],(function(){e._dbInfo=i,t()}),(function(t,e){n(e)}))}))}));return i.serializer=W,r},iterate:function(t,e){var i=this,n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){i.executeSql("SELECT * FROM "+r.storeName,[],(function(i,n){for(var s=n.rows,o=s.length,a=0;a<o;a++){var l=s.item(a),c=l.value;if(c&&(c=r.serializer.deserialize(c)),void 0!==(c=t(c,l.key,a+1)))return void e(c)}e()}),(function(t,e){n(e)}))}))})).catch(n)}));return r(n,e),n},getItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){i.executeSql("SELECT * FROM "+r.storeName+" WHERE key = ? LIMIT 1",[t],(function(t,i){var n=i.rows.length?i.rows.item(0).value:null;n&&(n=r.serializer.deserialize(n)),e(n)}),(function(t,e){n(e)}))}))})).catch(n)}));return r(n,e),n},setItem:function(t,e,i){return f.apply(this,[t,e,i,1])},removeItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){i.executeSql("DELETE FROM "+r.storeName+" WHERE key = ?",[t],(function(){e()}),(function(t,e){n(e)}))}))})).catch(n)}));return r(n,e),n},clear:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){e.executeSql("DELETE FROM "+n.storeName,[],(function(){t()}),(function(t,e){i(e)}))}))})).catch(i)}));return r(i,t),i},length:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){e.executeSql("SELECT COUNT(key) as c FROM "+n.storeName,[],(function(e,i){var n=i.rows.item(0).c;t(n)}),(function(t,e){i(e)}))}))})).catch(i)}));return r(i,t),i},key:function(t,e){var i=this,n=new x((function(e,n){i.ready().then((function(){var r=i._dbInfo;r.db.transaction((function(i){i.executeSql("SELECT key FROM "+r.storeName+" WHERE id = ? LIMIT 1",[t+1],(function(t,i){var n=i.rows.length?i.rows.item(0).key:null;e(n)}),(function(t,e){n(e)}))}))})).catch(n)}));return r(n,e),n},keys:function(t){var e=this,i=new x((function(t,i){e.ready().then((function(){var n=e._dbInfo;n.db.transaction((function(e){e.executeSql("SELECT key FROM "+n.storeName,[],(function(e,i){for(var n=[],r=0;r<i.rows.length;r++)n.push(i.rows.item(r).key);t(n)}),(function(t,e){i(e)}))}))})).catch(i)}));return r(i,t),i}},H={_driver:"localStorageWrapper",_initStorage:function(t){var e={};if(t)for(var i in t)e[i]=t[i];return e.keyPrefix=e.name+"/",e.storeName!==this._defaultConfig.storeName&&(e.keyPrefix+=e.storeName+"/"),this._dbInfo=e,e.serializer=W,x.resolve()},iterate:function(t,e){var i=this,n=i.ready().then((function(){for(var e=i._dbInfo,n=e.keyPrefix,r=n.length,s=localStorage.length,o=1,a=0;a<s;a++){var l=localStorage.key(a);if(0===l.indexOf(n)){var c=localStorage.getItem(l);if(c&&(c=e.serializer.deserialize(c)),void 0!==(c=t(c,l.substring(r),o++)))return c}}}));return r(n,e),n},getItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=i.ready().then((function(){var e=i._dbInfo,n=localStorage.getItem(e.keyPrefix+t);return n&&(n=e.serializer.deserialize(n)),n}));return r(n,e),n},setItem:function(t,e,i){var n=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var s=n.ready().then((function(){void 0===e&&(e=null);var i=e;return new x((function(r,s){var o=n._dbInfo;o.serializer.serialize(e,(function(e,n){if(n)s(n);else try{localStorage.setItem(o.keyPrefix+t,e),r(i)}catch(t){"QuotaExceededError"!==t.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==t.name||s(t),s(t)}}))}))}));return r(s,i),s},removeItem:function(t,e){var i=this;"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t));var n=i.ready().then((function(){var e=i._dbInfo;localStorage.removeItem(e.keyPrefix+t)}));return r(n,e),n},clear:function(t){var e=this,i=e.ready().then((function(){for(var t=e._dbInfo.keyPrefix,i=localStorage.length-1;i>=0;i--){var n=localStorage.key(i);0===n.indexOf(t)&&localStorage.removeItem(n)}}));return r(i,t),i},length:function(t){var e=this.keys().then((function(t){return t.length}));return r(e,t),e},key:function(t,e){var i=this,n=i.ready().then((function(){var e,n=i._dbInfo;try{e=localStorage.key(t)}catch(t){e=null}return e&&(e=e.substring(n.keyPrefix.length)),e}));return r(n,e),n},keys:function(t){var e=this,i=e.ready().then((function(){for(var t=e._dbInfo,i=localStorage.length,n=[],r=0;r<i;r++)0===localStorage.key(r).indexOf(t.keyPrefix)&&n.push(localStorage.key(r).substring(t.keyPrefix.length));return n}));return r(i,t),i}},X={},Y={INDEXEDDB:"asyncStorage",LOCALSTORAGE:"localStorageWrapper",WEBSQL:"webSQLStorage"},V=[Y.INDEXEDDB,Y.WEBSQL,Y.LOCALSTORAGE],Z=["clear","getItem","iterate","key","keys","length","removeItem","setItem"],G={description:"",driver:V.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1},K={};K[Y.INDEXEDDB]=function(){try{if(!y)return!1;var t="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),e="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!t||e)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(t){return!1}}(),K[Y.WEBSQL]="function"==typeof openDatabase,K[Y.LOCALSTORAGE]=function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&localStorage.setItem}catch(t){return!1}}();var Q=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},J=new(function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.INDEXEDDB=Y.INDEXEDDB,this.LOCALSTORAGE=Y.LOCALSTORAGE,this.WEBSQL=Y.WEBSQL,this._defaultConfig=g({},G),this._config=g({},this._defaultConfig,e),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return t.prototype.config=function(t){if("object"===(void 0===t?"undefined":v(t))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var e in t){if("storeName"===e&&(t[e]=t[e].replace(/\W/g,"_")),"version"===e&&"number"!=typeof t[e])return new Error("Database version must be a number.");this._config[e]=t[e]}return!("driver"in t&&t.driver)||this.setDriver(this._config.driver)}return"string"==typeof t?this._config[t]:this._config},t.prototype.defineDriver=function(t,e,i){var n=new x((function(e,i){try{var n=t._driver,r=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver"),s=new Error("Custom driver name already in use: "+t._driver);if(!t._driver)return void i(r);if(m(t._driver))return void i(s);for(var o=Z.concat("_initStorage"),a=0;a<o.length;a++){var l=o[a];if(!l||!t[l]||"function"!=typeof t[l])return void i(r)}var c=x.resolve(!0);"_support"in t&&(c=t._support&&"function"==typeof t._support?t._support():x.resolve(!!t._support)),c.then((function(i){K[n]=i,X[n]=t,e()}),i)}catch(t){i(t)}}));return s(n,e,i),n},t.prototype.driver=function(){return this._driver||null},t.prototype.getDriver=function(t,e,i){var n=this,r=x.resolve().then((function(){if(!m(t)){if(X[t])return X[t];throw new Error("Driver not found.")}switch(t){case n.INDEXEDDB:return E;case n.LOCALSTORAGE:return H;case n.WEBSQL:return $}}));return s(r,e,i),r},t.prototype.getSerializer=function(t){var e=x.resolve(W);return s(e,t),e},t.prototype.ready=function(t){var e=this,i=e._driverSet.then((function(){return null===e._ready&&(e._ready=e._initDriver()),e._ready}));return s(i,t,t),i},t.prototype.setDriver=function(t,e,i){function n(){o._config.driver=o.driver()}function r(t){return o._extend(t),n(),o._ready=o._initStorage(o._config),o._ready}var o=this;Q(t)||(t=[t]);var a=this._getSupportedDrivers(t),l=null!==this._driverSet?this._driverSet.catch((function(){return x.resolve()})):x.resolve();return this._driverSet=l.then((function(){var t=a[0];return o._dbInfo=null,o._ready=null,o.getDriver(t).then((function(t){o._driver=t._driver,n(),o._wrapLibraryMethodsWithReady(),o._initDriver=function(t){return function(){var e=0;return function i(){for(;e<t.length;){var s=t[e];return e++,o._dbInfo=null,o._ready=null,o.getDriver(s).then(r).catch(i)}n();var a=new Error("No available storage method found.");return o._driverSet=x.reject(a),o._driverSet}()}}(a)}))})).catch((function(){n();var t=new Error("No available storage method found.");return o._driverSet=x.reject(t),o._driverSet})),s(this._driverSet,e,i),this._driverSet},t.prototype.supports=function(t){return!!K[t]},t.prototype._extend=function(t){g(this,t)},t.prototype._getSupportedDrivers=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var r=t[i];this.supports(r)&&e.push(r)}return e},t.prototype._wrapLibraryMethodsWithReady=function(){for(var t=0;t<Z.length;t++)p(this,Z[t])},t.prototype.createInstance=function(e){return new t(e)},t}());e.exports=J},{3:3}]},{},[4])(4)})),function(t){t.attrFn=t.attrFn||{};var e="ontouchstart"in window,i={tap_pixel_range:5,swipe_h_threshold:50,swipe_v_threshold:50,taphold_threshold:750,doubletap_int:500,shake_threshold:15,touch_capable:e,orientation_support:"orientation"in window&&"onorientationchange"in window,startevent:e?"touchstart":"mousedown",endevent:e?"touchend":"mouseup",moveevent:e?"touchmove":"mousemove",tapevent:e?"tap":"click",scrollevent:e?"touchmove":"scroll",hold_timer:null,tap_timer:null};t.touch={},t.isTouchCapable=function(){return i.touch_capable},t.getStartEvent=function(){return i.startevent},t.getEndEvent=function(){return i.endevent},t.getMoveEvent=function(){return i.moveevent},t.getTapEvent=function(){return i.tapevent},t.getScrollEvent=function(){return i.scrollevent},t.touch.setSwipeThresholdX=function(t){if("number"!=typeof t)throw new Error("Threshold parameter must be a type of number");i.swipe_h_threshold=t},t.touch.setSwipeThresholdY=function(t){if("number"!=typeof t)throw new Error("Threshold parameter must be a type of number");i.swipe_v_threshold=t},t.touch.setDoubleTapInt=function(t){if("number"!=typeof t)throw new Error("Interval parameter must be a type of number");i.doubletap_int=t},t.touch.setTapHoldThreshold=function(t){if("number"!=typeof t)throw new Error("Threshold parameter must be a type of number");i.taphold_threshold=t},t.touch.setTapRange=function(t){if("number"!=typeof t)throw new Error("Ranger parameter must be a type of number");i.tap_pixel_range=threshold},t.each(["tapstart","tapend","tapmove","tap","singletap","doubletap","taphold","swipe","swipeup","swiperight","swipedown","swipeleft","swipeend","scrollstart","scrollend","orientationchange","tap2","taphold2"],(function(e,i){t.fn[i]=function(t){return t?this.on(i,t):this.trigger(i)},t.attrFn[i]=!0})),t.event.special.tapstart={setup:function(){var e=this,n=t(e);n.on(i.startevent,(function t(r){if(n.data("callee",t),r.which&&1!==r.which)return!1;var s=r.originalEvent,o={position:{x:i.touch_capable?s.touches[0].pageX:r.pageX,y:i.touch_capable?s.touches[0].pageY:r.pageY},offset:{x:i.touch_capable?Math.round(s.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(r.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(s.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(r.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:r.target};return v(e,"tapstart",r,o),!0}))},remove:function(){t(this).off(i.startevent,t(this).data.callee)}},t.event.special.tapmove={setup:function(){var e=this,n=t(e);n.on(i.moveevent,(function t(r){n.data("callee",t);var s=r.originalEvent,o={position:{x:i.touch_capable?s.touches[0].pageX:r.pageX,y:i.touch_capable?s.touches[0].pageY:r.pageY},offset:{x:i.touch_capable?Math.round(s.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(r.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(s.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(r.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:r.target};return v(e,"tapmove",r,o),!0}))},remove:function(){t(this).off(i.moveevent,t(this).data.callee)}},t.event.special.tapend={setup:function(){var e=this,n=t(e);n.on(i.endevent,(function t(r){n.data("callee",t);var s=r.originalEvent,o={position:{x:i.touch_capable?s.changedTouches[0].pageX:r.pageX,y:i.touch_capable?s.changedTouches[0].pageY:r.pageY},offset:{x:i.touch_capable?Math.round(s.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(r.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(s.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(r.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:r.target};return v(e,"tapend",r,o),!0}))},remove:function(){t(this).off(i.endevent,t(this).data.callee)}},t.event.special.taphold={setup:function(){var e,n=this,r=t(n),s={x:0,y:0},o=0,a=0;r.on(i.startevent,(function t(l){if(l.which&&1!==l.which)return!1;r.data("tapheld",!1),e=l.target;var c=l.originalEvent,h=Date.now();i.touch_capable?c.touches[0].pageX:l.pageX,i.touch_capable?c.touches[0].pageY:l.pageY,i.touch_capable?(c.touches[0].pageX,c.touches[0].target.offsetLeft):l.offsetX,i.touch_capable?(c.touches[0].pageY,c.touches[0].target.offsetTop):l.offsetY,s.x=l.originalEvent.targetTouches?l.originalEvent.targetTouches[0].pageX:l.pageX,s.y=l.originalEvent.targetTouches?l.originalEvent.targetTouches[0].pageY:l.pageY,o=s.x,a=s.y;var u=r.parent().data("threshold")?r.parent().data("threshold"):r.data("threshold"),d=void 0!==u&&!1!==u&&parseInt(u)?parseInt(u):i.taphold_threshold;return i.hold_timer=window.setTimeout((function(){var u=s.x-o,d=s.y-a;if(l.target==e&&(s.x==o&&s.y==a||u>=-i.tap_pixel_range&&u<=i.tap_pixel_range&&d>=-i.tap_pixel_range&&d<=i.tap_pixel_range)){r.data("tapheld",!0);for(var f=Date.now()-h,p=l.originalEvent.targetTouches?l.originalEvent.targetTouches:[l],g=[],m=0;m<p.length;m++){var y={position:{x:i.touch_capable?c.changedTouches[m].pageX:l.pageX,y:i.touch_capable?c.changedTouches[m].pageY:l.pageY},offset:{x:i.touch_capable?Math.round(c.changedTouches[m].pageX-(r.offset()?r.offset().left:0)):Math.round(l.pageX-(r.offset()?r.offset().left:0)),y:i.touch_capable?Math.round(c.changedTouches[m].pageY-(r.offset()?r.offset().top:0)):Math.round(l.pageY-(r.offset()?r.offset().top:0))},time:Date.now(),target:l.target,duration:f};g.push(y)}var b=2==p.length?"taphold2":"taphold";r.data("callee1",t),v(n,b,l,g)}}),d),!0})).on(i.endevent,(function t(){r.data("callee2",t),r.data("tapheld",!1),window.clearTimeout(i.hold_timer)})).on(i.moveevent,(function t(e){r.data("callee3",t),o=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageX:e.pageX,a=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageY:e.pageY}))},remove:function(){t(this).off(i.startevent,t(this).data.callee1).off(i.endevent,t(this).data.callee2).off(i.moveevent,t(this).data.callee3)}},t.event.special.doubletap={setup:function(){var e,n,r=this,s=t(r),o=null,a=!1;s.on(i.startevent,(function e(r){return!(r.which&&1!==r.which||(s.data("doubletapped",!1),r.target,s.data("callee1",e),n=r.originalEvent,o||(o={position:{x:i.touch_capable?n.touches[0].pageX:r.pageX,y:i.touch_capable?n.touches[0].pageY:r.pageY},offset:{x:i.touch_capable?Math.round(n.changedTouches[0].pageX-(s.offset()?s.offset().left:0)):Math.round(r.pageX-(s.offset()?s.offset().left:0)),y:i.touch_capable?Math.round(n.changedTouches[0].pageY-(s.offset()?s.offset().top:0)):Math.round(r.pageY-(s.offset()?s.offset().top:0))},time:Date.now(),target:r.target,element:r.originalEvent.srcElement,index:t(r.target).index()}),0))})).on(i.endevent,(function l(c){var h=Date.now(),u=h-(s.data("lastTouch")||h+1);if(window.clearTimeout(e),s.data("callee2",l),u<i.doubletap_int&&t(c.target).index()==o.index&&u>100){s.data("doubletapped",!0),window.clearTimeout(i.tap_timer);var d={position:{x:i.touch_capable?c.originalEvent.changedTouches[0].pageX:c.pageX,y:i.touch_capable?c.originalEvent.changedTouches[0].pageY:c.pageY},offset:{x:i.touch_capable?Math.round(n.changedTouches[0].pageX-(s.offset()?s.offset().left:0)):Math.round(c.pageX-(s.offset()?s.offset().left:0)),y:i.touch_capable?Math.round(n.changedTouches[0].pageY-(s.offset()?s.offset().top:0)):Math.round(c.pageY-(s.offset()?s.offset().top:0))},time:Date.now(),target:c.target,element:c.originalEvent.srcElement,index:t(c.target).index()},f={firstTap:o,secondTap:d,interval:d.time-o.time};a||(v(r,"doubletap",c,f),o=null),a=!0,window.setTimeout((function(){a=!1}),i.doubletap_int)}else s.data("lastTouch",h),e=window.setTimeout((function(){o=null,window.clearTimeout(e)}),i.doubletap_int,[c]);s.data("lastTouch",h)}))},remove:function(){t(this).off(i.startevent,t(this).data.callee1).off(i.endevent,t(this).data.callee2)}},t.event.special.singletap={setup:function(){var e=this,n=t(e),r=null,s=null,o={x:0,y:0};n.on(i.startevent,(function t(e){return!(e.which&&1!==e.which||(s=Date.now(),r=e.target,n.data("callee1",t),o.x=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageX:e.pageX,o.y=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageY:e.pageY,0))})).on(i.endevent,(function t(a){if(n.data("callee2",t),a.target==r){var l=a.originalEvent.changedTouches?a.originalEvent.changedTouches[0].pageX:a.pageX,c=a.originalEvent.changedTouches?a.originalEvent.changedTouches[0].pageY:a.pageY;i.tap_timer=window.setTimeout((function(){var t=o.x-l,r=o.y-c;if(!n.data("doubletapped")&&!n.data("tapheld")&&(o.x==l&&o.y==c||t>=-i.tap_pixel_range&&t<=i.tap_pixel_range&&r>=-i.tap_pixel_range&&r<=i.tap_pixel_range)){var h=a.originalEvent,u={position:{x:i.touch_capable?h.changedTouches[0].pageX:a.pageX,y:i.touch_capable?h.changedTouches[0].pageY:a.pageY},offset:{x:i.touch_capable?Math.round(h.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(a.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(h.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(a.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:a.target};u.time-s<i.taphold_threshold&&v(e,"singletap",a,u)}}),i.doubletap_int)}}))},remove:function(){t(this).off(i.startevent,t(this).data.callee1).off(i.endevent,t(this).data.callee2)}},t.event.special.tap={setup:function(){var e,n,r=this,s=t(r),o=!1,a=null,l={x:0,y:0};s.on(i.startevent,(function t(i){return s.data("callee1",t),!(i.which&&1!==i.which||(o=!0,l.x=i.originalEvent.targetTouches?i.originalEvent.targetTouches[0].pageX:i.pageX,l.y=i.originalEvent.targetTouches?i.originalEvent.targetTouches[0].pageY:i.pageY,e=Date.now(),a=i.target,n=i.originalEvent.targetTouches?i.originalEvent.targetTouches:[i],0))})).on(i.endevent,(function t(c){s.data("callee2",t);var h=c.originalEvent.targetTouches?c.originalEvent.changedTouches[0].pageX:c.pageX,u=c.originalEvent.targetTouches?c.originalEvent.changedTouches[0].pageY:c.pageY,d=l.x-h,f=l.y-u;if(a==c.target&&o&&Date.now()-e<i.taphold_threshold&&(l.x==h&&l.y==u||d>=-i.tap_pixel_range&&d<=i.tap_pixel_range&&f>=-i.tap_pixel_range&&f<=i.tap_pixel_range)){for(var p=c.originalEvent,g=[],m=0;m<n.length;m++){var y={position:{x:i.touch_capable?p.changedTouches[m].pageX:c.pageX,y:i.touch_capable?p.changedTouches[m].pageY:c.pageY},offset:{x:i.touch_capable?Math.round(p.changedTouches[m].pageX-(s.offset()?s.offset().left:0)):Math.round(c.pageX-(s.offset()?s.offset().left:0)),y:i.touch_capable?Math.round(p.changedTouches[m].pageY-(s.offset()?s.offset().top:0)):Math.round(c.pageY-(s.offset()?s.offset().top:0))},time:Date.now(),target:c.target};g.push(y)}var b=2==n.length?"tap2":"tap";v(r,b,c,g)}}))},remove:function(){t(this).off(i.startevent,t(this).data.callee1).off(i.endevent,t(this).data.callee2)}},t.event.special.swipe={setup:function(){var e,n=t(this),r=!1,s=!1,o={x:0,y:0},a={x:0,y:0};n.on(i.startevent,(function s(l){(n=t(l.currentTarget)).data("callee1",s),o.x=l.originalEvent.targetTouches?l.originalEvent.targetTouches[0].pageX:l.pageX,o.y=l.originalEvent.targetTouches?l.originalEvent.targetTouches[0].pageY:l.pageY,a.x=o.x,a.y=o.y,r=!0;var c=l.originalEvent;e={position:{x:i.touch_capable?c.touches[0].pageX:l.pageX,y:i.touch_capable?c.touches[0].pageY:l.pageY},offset:{x:i.touch_capable?Math.round(c.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(l.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(c.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(l.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:l.target}})),n.on(i.moveevent,(function l(c){var h;(n=t(c.currentTarget)).data("callee2",l),a.x=c.originalEvent.targetTouches?c.originalEvent.targetTouches[0].pageX:c.pageX,a.y=c.originalEvent.targetTouches?c.originalEvent.targetTouches[0].pageY:c.pageY;var u=n.parent().data("xthreshold")?n.parent().data("xthreshold"):n.data("xthreshold"),d=n.parent().data("ythreshold")?n.parent().data("ythreshold"):n.data("ythreshold"),f=void 0!==u&&!1!==u&&parseInt(u)?parseInt(u):i.swipe_h_threshold,p=void 0!==d&&!1!==d&&parseInt(d)?parseInt(d):i.swipe_v_threshold;if(o.y>a.y&&o.y-a.y>p&&(h="swipeup"),o.x<a.x&&a.x-o.x>f&&(h="swiperight"),o.y<a.y&&a.y-o.y>p&&(h="swipedown"),o.x>a.x&&o.x-a.x>f&&(h="swipeleft"),null!=h&&r){o.x=0,o.y=0,a.x=0,a.y=0,r=!1;var g=c.originalEvent,m={position:{x:i.touch_capable?g.touches[0].pageX:c.pageX,y:i.touch_capable?g.touches[0].pageY:c.pageY},offset:{x:i.touch_capable?Math.round(g.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(c.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(g.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(c.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:c.target},v=Math.abs(e.position.x-m.position.x),y=Math.abs(e.position.y-m.position.y),b={startEvnt:e,endEvnt:m,direction:h.replace("swipe",""),xAmount:v,yAmount:y,duration:m.time-e.time};s=!0,n.trigger("swipe",b).trigger(h,b)}})),n.on(i.endevent,(function o(a){var l="";if((n=t(a.currentTarget)).data("callee3",o),s){var c=n.data("xthreshold"),h=n.data("ythreshold"),u=void 0!==c&&!1!==c&&parseInt(c)?parseInt(c):i.swipe_h_threshold,d=void 0!==h&&!1!==h&&parseInt(h)?parseInt(h):i.swipe_v_threshold,f=a.originalEvent,p={position:{x:i.touch_capable?f.changedTouches[0].pageX:a.pageX,y:i.touch_capable?f.changedTouches[0].pageY:a.pageY},offset:{x:i.touch_capable?Math.round(f.changedTouches[0].pageX-(n.offset()?n.offset().left:0)):Math.round(a.pageX-(n.offset()?n.offset().left:0)),y:i.touch_capable?Math.round(f.changedTouches[0].pageY-(n.offset()?n.offset().top:0)):Math.round(a.pageY-(n.offset()?n.offset().top:0))},time:Date.now(),target:a.target};e.position.y>p.position.y&&e.position.y-p.position.y>d&&(l="swipeup"),e.position.x<p.position.x&&p.position.x-e.position.x>u&&(l="swiperight"),e.position.y<p.position.y&&p.position.y-e.position.y>d&&(l="swipedown"),e.position.x>p.position.x&&e.position.x-p.position.x>u&&(l="swipeleft");var g=Math.abs(e.position.x-p.position.x),m=Math.abs(e.position.y-p.position.y),v={startEvnt:e,endEvnt:p,direction:l.replace("swipe",""),xAmount:g,yAmount:m,duration:p.time-e.time};n.trigger("swipeend",v)}r=!1,s=!1}))},remove:function(){t(this).off(i.startevent,t(this).data.callee1).off(i.moveevent,t(this).data.callee2).off(i.endevent,t(this).data.callee3)}},t.event.special.scrollstart={setup:function(){var e,n,r=this,s=t(r);function o(t,i){v(r,(e=i)?"scrollstart":"scrollend",t)}s.on(i.scrollevent,(function t(i){s.data("callee",t),e||o(i,!0),clearTimeout(n),n=setTimeout((function(){o(i,!1)}),50)}))},remove:function(){t(this).off(i.scrollevent,t(this).data.callee)}};var n,r,s,o,a=t(window),l={0:!0,180:!0};if(i.orientation_support){var c=window.innerWidth||a.width(),h=window.innerHeight||a.height();s=c>h&&c-h>50,o=l[window.orientation],(s&&o||!s&&!o)&&(l={"-90":!0,90:!0})}function u(){var t=n();t!==r&&(r=t,a.trigger("orientationchange"))}t.event.special.orientationchange={setup:function(){return!i.orientation_support&&(r=n(),a.on("throttledresize",u),!0)},teardown:function(){return!i.orientation_support&&(a.off("throttledresize",u),!0)},add:function(t){var e=t.handler;t.handler=function(t){return t.orientation=n(),e.apply(this,arguments)}}},t.event.special.orientationchange.orientation=n=function(){var t=document.documentElement;return(i.orientation_support?l[window.orientation]:t&&t.clientWidth/t.clientHeight<1.1)?"portrait":"landscape"},t.event.special.throttledresize={setup:function(){t(this).on("resize",g)},teardown:function(){t(this).off("resize",g)}};var d,f,p,g=function(){f=Date.now(),(p=f-m)>=250?(m=f,t(this).trigger("throttledresize")):(d&&window.clearTimeout(d),d=window.setTimeout(u,250-p))},m=0;function v(e,i,n,r){var s=n.type;n.type=i,t.event.dispatch.call(e,n,r),n.type=s}t.each({scrollend:"scrollstart",swipeup:"swipe",swiperight:"swipe",swipedown:"swipe",swipeleft:"swipe",swipeend:"swipe",tap2:"tap",taphold2:"taphold"},(function(e,i){t.event.special[e]={setup:function(){t(this).on(i,t.noop)}}}))}(jQuery),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.hyphenationPatternsEnUs=e()}(this,(function(){return{patterns:[" ",".ach4",".ad4der",".af1t",".al3t",".am5at",".an5c",".ang4",".ani5m",".ant4",".an3te",".anti5s",".ar5s",".ar4tie",".ar4ty",".as3c",".as1p",".as1s",".aster5",".atom5",".au1d",".av4i",".awn4",".ba4g",".ba5na",".bas4e",".ber4",".be5ra",".be3sm",".be5sto",".bri2",".but4ti",".cam4pe",".can5c",".capa5b",".car5ol",".ca4t",".ce4la",".ch4",".chill5i",".ci2",".cit5r",".co3e",".co4r",".cor5ner",".de4moi",".de3o",".de3ra",".de3ri",".des4c",".dictio5",".do4t",".du4c",".dumb5",".earth5",".eas3i",".eb4",".eer4",".eg2",".el5d",".el3em",".enam3",".en3g",".en3s",".eq5ui5t",".er4ri",".es3",".eu3",".eye5",".fes3",".for5mer",".ga2",".ge2",".gen3t4",".ge5og",".gi5a",".gi4b",".go4r",".hand5i",".han5k",".he2",".hero5i",".hes3",".het3",".hi3b",".hi3er",".hon5ey",".hon3o",".hov5",".id4l",".idol3",".im3m",".im5pin",".in1",".in3ci",".ine2",".in2k",".in3s",".ir5r",".is4i",".ju3r",".la4cy",".la4m",".lat5er",".lath5",".le2",".leg5e",".len4",".lep5",".lev1",".li4g",".lig5a",".li2n",".li3o",".li4t",".mag5a5",".mal5o",".man5a",".mar5ti",".me2",".mer3c",".me5ter",".mis1",".mist5i",".mon3e",".mo3ro",".mu5ta",".muta5b",".ni4c",".od2",".odd5",".of5te",".or5ato",".or3c",".or1d",".or3t",".os3",".os4tl",".oth3",".out3",".ped5al",".pe5te",".pe5tit",".pi4e",".pio5n",".pi2t",".pre3m",".ra4c",".ran4t",".ratio5na",".ree2",".re5mit",".res2",".re5stat",".ri4g",".rit5u",".ro4q",".ros5t",".row5d",".ru4d",".sci3e",".self5",".sell5",".se2n",".se5rie",".sh2",".si2",".sing4",".st4",".sta5bl",".sy2",".ta4",".te4",".ten5an",".th2",".ti2",".til4",".tim5o5",".ting4",".tin5k",".ton4a",".to4p",".top5i",".tou5s",".trib5ut",".un1a",".un3ce",".under5",".un1e",".un5k",".un5o",".un3u",".up3",".ure3",".us5a",".ven4de",".ve5ra",".wil5i",".ye4","4ab.","a5bal","a5ban","abe2","ab5erd","abi5a","ab5it5ab","ab5lat","ab5o5liz","4abr","ab5rog","ab3ul","a4car","ac5ard","ac5aro","a5ceou","ac1er","a5chet","4a2ci","a3cie","ac1in","a3cio","ac5rob","act5if","ac3ul","ac4um","a2d","ad4din","ad5er.","2adi","a3dia","ad3ica","adi4er","a3dio","a3dit","a5diu","ad4le","ad3ow","ad5ran","ad4su","4adu","a3duc","ad5um","ae4r","aeri4e","a2f","aff4","a4gab","aga4n","ag5ell","age4o","4ageu","ag1i","4ag4l","ag1n","a2go","3agog","ag3oni","a5guer","ag5ul","a4gy","a3ha","a3he","ah4l","a3ho","ai2","a5ia","a3ic.","ai5ly","a4i4n","ain5in","ain5o","ait5en","a1j","ak1en","al5ab","al3ad","a4lar","4aldi","2ale","al3end","a4lenti","a5le5o","al1i","al4ia.","ali4e","al5lev","4allic","4alm","a5log.","a4ly.","4alys","5a5lyst","5alyt","3alyz","4ama","am5ab","am3ag","ama5ra","am5asc","a4matis","a4m5ato","am5era","am3ic","am5if","am5ily","am1in","ami4no","a2mo","a5mon","amor5i","amp5en","a2n","an3age","3analy","a3nar","an3arc","anar4i","a3nati","4and","ande4s","an3dis","an1dl","an4dow","a5nee","a3nen","an5est.","a3neu","2ang","ang5ie","an1gl","a4n1ic","a3nies","an3i3f","an4ime","a5nimi","a5nine","an3io","a3nip","an3ish","an3it","a3niu","an4kli","5anniz","ano4","an5ot","anoth5","an2sa","an4sco","an4sn","an2sp","ans3po","an4st","an4sur","antal4","an4tie","4anto","an2tr","an4tw","an3ua","an3ul","a5nur","4ao","apar4","ap5at","ap5ero","a3pher","4aphi","a4pilla","ap5illar","ap3in","ap3ita","a3pitu","a2pl","apoc5","ap5ola","apor5i","apos3t","aps5es","a3pu","aque5","2a2r","ar3act","a5rade","ar5adis","ar3al","a5ramete","aran4g","ara3p","ar4at","a5ratio","ar5ativ","a5rau","ar5av4","araw4","arbal4","ar4chan","ar5dine","ar4dr","ar5eas","a3ree","ar3ent","a5ress","ar4fi","ar4fl","ar1i","ar5ial","ar3ian","a3riet","ar4im","ar5inat","ar3io","ar2iz","ar2mi","ar5o5d","a5roni","a3roo","ar2p","ar3q","arre4","ar4sa","ar2sh","4as.","as4ab","as3ant","ashi4","a5sia.","a3sib","a3sic","5a5si4t","ask3i","as4l","a4soc","as5ph","as4sh","as3ten","as1tr","asur5a","a2ta","at3abl","at5ac","at3alo","at5ap","ate5c","at5ech","at3ego","at3en.","at3era","ater5n","a5terna","at3est","at5ev","4ath","ath5em","a5then","at4ho","ath5om","4ati.","a5tia","at5i5b","at1ic","at3if","ation5ar","at3itu","a4tog","a2tom","at5omiz","a4top","a4tos","a1tr","at5rop","at4sk","at4tag","at5te","at4th","a2tu","at5ua","at5ue","at3ul","at3ura","a2ty","au4b","augh3","au3gu","au4l2","aun5d","au3r","au5sib","aut5en","au1th","a2va","av3ag","a5van","ave4no","av3era","av5ern","av5ery","av1i","avi4er","av3ig","av5oc","a1vor","3away","aw3i","aw4ly","aws4","ax4ic","ax4id","ay5al","aye4","ays4","azi4er","azz5i","5ba.","bad5ger","ba4ge","bal1a","ban5dag","ban4e","ban3i","barbi5","bari4a","bas4si","1bat","ba4z","2b1b","b2be","b3ber","bbi4na","4b1d","4be.","beak4","beat3","4be2d","be3da","be3de","be3di","be3gi","be5gu","1bel","be1li","be3lo","4be5m","be5nig","be5nu","4bes4","be3sp","be5str","3bet","bet5iz","be5tr","be3tw","be3w","be5yo","2bf","4b3h","bi2b","bi4d","3bie","bi5en","bi4er","2b3if","1bil","bi3liz","bina5r4","bin4d","bi5net","bi3ogr","bi5ou","bi2t","3bi3tio","bi3tr","3bit5ua","b5itz","b1j","bk4","b2l2","blath5","b4le.","blen4","5blesp","b3lis","b4lo","blun4t","4b1m","4b3n","bne5g","3bod","bod3i","bo4e","bol3ic","bom4bi","bon4a","bon5at","3boo","5bor.","4b1ora","bor5d","5bore","5bori","5bos4","b5ota","both5","bo4to","bound3","4bp","4brit","broth3","2b5s2","bsor4","2bt","bt4l","b4to","b3tr","buf4fer","bu4ga","bu3li","bumi4","bu4n","bunt4i","bu3re","bus5ie","buss4e","5bust","4buta","3butio","b5uto","b1v","4b5w","5by.","bys4","1ca","cab3in","ca1bl","cach4","ca5den","4cag4","2c5ah","ca3lat","cal4la","call5in","4calo","can5d","can4e","can4ic","can5is","can3iz","can4ty","cany4","ca5per","car5om","cast5er","cas5tig","4casy","ca4th","4cativ","cav5al","c3c","ccha5","cci4a","ccompa5","ccon4","ccou3t","2ce.","4ced.","4ceden","3cei","5cel.","3cell","1cen","3cenc","2cen4e","4ceni","3cent","3cep","ce5ram","4cesa","3cessi","ces5si5b","ces5t","cet4","c5e4ta","cew4","2ch","4ch.","4ch3ab","5chanic","ch5a5nis","che2","cheap3","4ched","che5lo","3chemi","ch5ene","ch3er.","ch3ers","4ch1in","5chine.","ch5iness","5chini","5chio","3chit","chi2z","3cho2","ch4ti","1ci","3cia","ci2a5b","cia5r","ci5c","4cier","5cific.","4cii","ci4la","3cili","2cim","2cin","c4ina","3cinat","cin3em","c1ing","c5ing.","5cino","cion4","4cipe","ci3ph","4cipic","4cista","4cisti","2c1it","cit3iz","5ciz","ck1","ck3i","1c4l4","4clar","c5laratio","5clare","cle4m","4clic","clim4","cly4","c5n","1co","co5ag","coe2","2cog","co4gr","coi4","co3inc","col5i","5colo","col3or","com5er","con4a","c4one","con3g","con5t","co3pa","cop3ic","co4pl","4corb","coro3n","cos4e","cov1","cove4","cow5a","coz5e","co5zi","c1q","cras5t","5crat.","5cratic","cre3at","5cred","4c3reta","cre4v","cri2","cri5f","c4rin","cris4","5criti","cro4pl","crop5o","cros4e","cru4d","4c3s2","2c1t","cta4b","ct5ang","c5tant","c2te","c3ter","c4ticu","ctim3i","ctu4r","c4tw","cud5","c4uf","c4ui","cu5ity","5culi","cul4tis","3cultu","cu2ma","c3ume","cu4mi","3cun","cu3pi","cu5py","cur5a4b","cu5ria","1cus","cuss4i","3c4ut","cu4tie","4c5utiv","4cutr","1cy","cze4","1d2a","5da.","2d3a4b","dach4","4daf","2dag","da2m2","dan3g","dard5","dark5","4dary","3dat","4dativ","4dato","5dav4","dav5e","5day","d1b","d5c","d1d4","2de.","deaf5","deb5it","de4bon","decan4","de4cil","de5com","2d1ed","4dee.","de5if","deli4e","del5i5q","de5lo","d4em","5dem.","3demic","dem5ic.","de5mil","de4mons","demor5","1den","de4nar","de3no","denti5f","de3nu","de1p","de3pa","depi4","de2pu","d3eq","d4erh","5derm","dern5iz","der5s","des2","d2es.","de1sc","de2s5o","des3ti","de3str","de4su","de1t","de2to","de1v","dev3il","4dey","4d1f","d4ga","d3ge4t","dg1i","d2gy","d1h2","5di.","1d4i3a","dia5b","di4cam","d4ice","3dict","3did","5di3en","d1if","di3ge","di4lato","d1in","1dina","3dine.","5dini","di5niz","1dio","dio5g","di4pl","dir2","di1re","dirt5i","dis1","5disi","d4is3t","d2iti","1di1v","d1j","d5k2","4d5la","3dle.","3dled","3dles.","4dless","2d3lo","4d5lu","2dly","d1m","4d1n4","1do","3do.","do5de","5doe","2d5of","d4og","do4la","doli4","do5lor","dom5iz","do3nat","doni4","doo3d","dop4p","d4or","3dos","4d5out","do4v","3dox","d1p","1dr","drag5on","4drai","dre4","drea5r","5dren","dri4b","dril4","dro4p","4drow","5drupli","4dry","2d1s2","ds4p","d4sw","d4sy","d2th","1du","d1u1a","du2c","d1uca","duc5er","4duct.","4ducts","du5el","du4g","d3ule","dum4be","du4n","4dup","du4pe","d1v","d1w","d2y","5dyn","dy4se","dys5p","e1a4b","e3act","ead1","ead5ie","ea4ge","ea5ger","ea4l","eal5er","eal3ou","eam3er","e5and","ear3a","ear4c","ear5es","ear4ic","ear4il","ear5k","ear2t","eart3e","ea5sp","e3ass","east3","ea2t","eat5en","eath3i","e5atif","e4a3tu","ea2v","eav3en","eav5i","eav5o","2e1b","e4bel.","e4bels","e4ben","e4bit","e3br","e4cad","ecan5c","ecca5","e1ce","ec5essa","ec2i","e4cib","ec5ificat","ec5ifie","ec5ify","ec3im","eci4t","e5cite","e4clam","e4clus","e2col","e4comm","e4compe","e4conc","e2cor","ec3ora","eco5ro","e1cr","e4crem","ec4tan","ec4te","e1cu","e4cul","ec3ula","2e2da","4ed3d","e4d1er","ede4s","4edi","e3dia","ed3ib","ed3ica","ed3im","ed1it","edi5z","4edo","e4dol","edon2","e4dri","e4dul","ed5ulo","ee2c","eed3i","ee2f","eel3i","ee4ly","ee2m","ee4na","ee4p1","ee2s4","eest4","ee4ty","e5ex","e1f","e4f3ere","1eff","e4fic","5efici","efil4","e3fine","ef5i5nite","3efit","efor5es","e4fuse.","4egal","eger4","eg5ib","eg4ic","eg5ing","e5git5","eg5n","e4go.","e4gos","eg1ul","e5gur","5egy","e1h4","eher4","ei2","e5ic","ei5d","eig2","ei5gl","e3imb","e3inf","e1ing","e5inst","eir4d","eit3e","ei3th","e5ity","e1j","e4jud","ej5udi","eki4n","ek4la","e1la","e4la.","e4lac","elan4d","el5ativ","e4law","elaxa4","e3lea","el5ebra","5elec","e4led","el3ega","e5len","e4l1er","e1les","el2f","el2i","e3libe","e4l5ic.","el3ica","e3lier","el5igib","e5lim","e4l3ing","e3lio","e2lis","el5ish","e3liv3","4ella","el4lab","ello4","e5loc","el5og","el3op.","el2sh","el4ta","e5lud","el5ug","e4mac","e4mag","e5man","em5ana","em5b","e1me","e2mel","e4met","em3ica","emi4e","em5igra","em1in2","em5ine","em3i3ni","e4mis","em5ish","e5miss","em3iz","5emniz","emo4g","emoni5o","em3pi","e4mul","em5ula","emu3n","e3my","en5amo","e4nant","ench4er","en3dic","e5nea","e5nee","en3em","en5ero","en5esi","en5est","en3etr","e3new","en5ics","e5nie","e5nil","e3nio","en3ish","en3it","e5niu","5eniz","4enn","4eno","eno4g","e4nos","en3ov","en4sw","ent5age","4enthes","en3ua","en5uf","e3ny.","4en3z","e5of","eo2g","e4oi4","e3ol","eop3ar","e1or","eo3re","eo5rol","eos4","e4ot","eo4to","e5out","e5ow","e2pa","e3pai","ep5anc","e5pel","e3pent","ep5etitio","ephe4","e4pli","e1po","e4prec","ep5reca","e4pred","ep3reh","e3pro","e4prob","ep4sh","ep5ti5b","e4put","ep5uta","e1q","equi3l","e4q3ui3s","er1a","era4b","4erand","er3ar","4erati.","2erb","er4bl","er3ch","er4che","2ere.","e3real","ere5co","ere3in","er5el.","er3emo","er5ena","er5ence","4erene","er3ent","ere4q","er5ess","er3est","eret4","er1h","er1i","e1ria4","5erick","e3rien","eri4er","er3ine","e1rio","4erit","er4iu","eri4v","e4riva","er3m4","er4nis","4ernit","5erniz","er3no","2ero","er5ob","e5roc","ero4r","er1ou","er1s","er3set","ert3er","4ertl","er3tw","4eru","eru4t","5erwau","e1s4a","e4sage.","e4sages","es2c","e2sca","es5can","e3scr","es5cu","e1s2e","e2sec","es5ecr","es5enc","e4sert.","e4serts","e4serva","4esh","e3sha","esh5en","e1si","e2sic","e2sid","es5iden","es5igna","e2s5im","es4i4n","esis4te","esi4u","e5skin","es4mi","e2sol","es3olu","e2son","es5ona","e1sp","es3per","es5pira","es4pre","2ess","es4si4b","estan4","es3tig","es5tim","4es2to","e3ston","2estr","e5stro","estruc5","e2sur","es5urr","es4w","eta4b","eten4d","e3teo","ethod3","et1ic","e5tide","etin4","eti4no","e5tir","e5titio","et5itiv","4etn","et5ona","e3tra","e3tre","et3ric","et5rif","et3rog","et5ros","et3ua","et5ym","et5z","4eu","e5un","e3up","eu3ro","eus4","eute4","euti5l","eu5tr","eva2p5","e2vas","ev5ast","e5vea","ev3ell","evel3o","e5veng","even4i","ev1er","e5verb","e1vi","ev3id","evi4l","e4vin","evi4v","e5voc","e5vu","e1wa","e4wag","e5wee","e3wh","ewil5","ew3ing","e3wit","1exp","5eyc","5eye.","eys4","1fa","fa3bl","fab3r","fa4ce","4fag","fain4","fall5e","4fa4ma","fam5is","5far","far5th","fa3ta","fa3the","4fato","fault5","4f5b","4fd","4fe.","feas4","feath3","fe4b","4feca","5fect","2fed","fe3li","fe4mo","fen2d","fend5e","fer1","5ferr","fev4","4f1f","f4fes","f4fie","f5fin.","f2f5is","f4fly","f2fy","4fh","1fi","fi3a","2f3ic.","4f3ical","f3ican","4ficate","f3icen","fi3cer","fic4i","5ficia","5ficie","4fics","fi3cu","fi5del","fight5","fil5i","fill5in","4fily","2fin","5fina","fin2d5","fi2ne","f1in3g","fin4n","fis4ti","f4l2","f5less","flin4","flo3re","f2ly5","4fm","4fn","1fo","5fon","fon4de","fon4t","fo2r","fo5rat","for5ay","fore5t","for4i","fort5a","fos5","4f5p","fra4t","f5rea","fres5c","fri2","fril4","frol5","2f3s","2ft","f4to","f2ty","3fu","fu5el","4fug","fu4min","fu5ne","fu3ri","fusi4","fus4s","4futa","1fy","1ga","gaf4","5gal.","3gali","ga3lo","2gam","ga5met","g5amo","gan5is","ga3niz","gani5za","4gano","gar5n4","gass4","gath3","4gativ","4gaz","g3b","gd4","2ge.","2ged","geez4","gel4in","ge5lis","ge5liz","4gely","1gen","ge4nat","ge5niz","4geno","4geny","1geo","ge3om","g4ery","5gesi","geth5","4geto","ge4ty","ge4v","4g1g2","g2ge","g3ger","gglu5","ggo4","gh3in","gh5out","gh4to","5gi.","1gi4a","gia5r","g1ic","5gicia","g4ico","gien5","5gies.","gil4","g3imen","3g4in.","gin5ge","5g4ins","5gio","3gir","gir4l","g3isl","gi4u","5giv","3giz","gl2","gla4","glad5i","5glas","1gle","gli4b","g3lig","3glo","glo3r","g1m","g4my","gn4a","g4na.","gnet4t","g1ni","g2nin","g4nio","g1no","g4non","1go","3go.","gob5","5goe","3g4o4g","go3is","gon2","4g3o3na","gondo5","go3ni","5goo","go5riz","gor5ou","5gos.","gov1","g3p","1gr","4grada","g4rai","gran2","5graph.","g5rapher","5graphic","4graphy","4gray","gre4n","4gress.","4grit","g4ro","gruf4","gs2","g5ste","gth3","gu4a","3guard","2gue","5gui5t","3gun","3gus","4gu4t","g3w","1gy","2g5y3n","gy5ra","h3ab4l","hach4","hae4m","hae4t","h5agu","ha3la","hala3m","ha4m","han4ci","han4cy","5hand.","han4g","hang5er","hang5o","h5a5niz","han4k","han4te","hap3l","hap5t","ha3ran","ha5ras","har2d","hard3e","har4le","harp5en","har5ter","has5s","haun4","5haz","haz3a","h1b","1head","3hear","he4can","h5ecat","h4ed","he5do5","he3l4i","hel4lis","hel4ly","h5elo","hem4p","he2n","hena4","hen5at","heo5r","hep5","h4era","hera3p","her4ba","here5a","h3ern","h5erou","h3ery","h1es","he2s5p","he4t","het4ed","heu4","h1f","h1h","hi5an","hi4co","high5","h4il2","himer4","h4ina","hion4e","hi4p","hir4l","hi3ro","hir4p","hir4r","his3el","his4s","hith5er","hi2v","4hk","4h1l4","hlan4","h2lo","hlo3ri","4h1m","hmet4","2h1n","h5odiz","h5ods","ho4g","hoge4","hol5ar","3hol4e","ho4ma","home3","hon4a","ho5ny","3hood","hoon4","hor5at","ho5ris","hort3e","ho5ru","hos4e","ho5sen","hos1p","1hous","house3","hov5el","4h5p","4hr4","hree5","hro5niz","hro3po","4h1s2","h4sh","h4tar","ht1en","ht5es","h4ty","hu4g","hu4min","hun5ke","hun4t","hus3t4","hu4t","h1w","h4wart","hy3pe","hy3ph","hy2s","2i1a","i2al","iam4","iam5ete","i2an","4ianc","ian3i","4ian4t","ia5pe","iass4","i4ativ","ia4tric","i4atu","ibe4","ib3era","ib5ert","ib5ia","ib3in","ib5it.","ib5ite","i1bl","ib3li","i5bo","i1br","i2b5ri","i5bun","4icam","5icap","4icar","i4car.","i4cara","icas5","i4cay","iccu4","4iceo","4ich","2ici","i5cid","ic5ina","i2cip","ic3ipa","i4cly","i2c5oc","4i1cr","5icra","i4cry","ic4te","ictu2","ic4t3ua","ic3ula","ic4um","ic5uo","i3cur","2id","i4dai","id5anc","id5d","ide3al","ide4s","i2di","id5ian","idi4ar","i5die","id3io","idi5ou","id1it","id5iu","i3dle","i4dom","id3ow","i4dr","i2du","id5uo","2ie4","ied4e","5ie5ga","ield3","ien5a4","ien4e","i5enn","i3enti","i1er.","i3esc","i1est","i3et","4if.","if5ero","iff5en","if4fr","4ific.","i3fie","i3fl","4ift","2ig","iga5b","ig3era","ight3i","4igi","i3gib","ig3il","ig3in","ig3it","i4g4l","i2go","ig3or","ig5ot","i5gre","igu5i","ig1ur","i3h","4i5i4","i3j","4ik","i1la","il3a4b","i4lade","i2l5am","ila5ra","i3leg","il1er","ilev4","il5f","il1i","il3ia","il2ib","il3io","il4ist","2ilit","il2iz","ill5ab","4iln","il3oq","il4ty","il5ur","il3v","i4mag","im3age","ima5ry","imenta5r","4imet","im1i","im5ida","imi5le","i5mini","4imit","im4ni","i3mon","i2mu","im3ula","2in.","i4n3au","4inav","incel4","in3cer","4ind","in5dling","2ine","i3nee","iner4ar","i5ness","4inga","4inge","in5gen","4ingi","in5gling","4ingo","4ingu","2ini","i5ni.","i4nia","in3io","in1is","i5nite.","5initio","in3ity","4ink","4inl","2inn","2i1no","i4no4c","ino4s","i4not","2ins","in3se","insur5a","2int.","2in4th","in1u","i5nus","4iny","2io","4io.","ioge4","io2gr","i1ol","io4m","ion3at","ion4ery","ion3i","io5ph","ior3i","i4os","io5th","i5oti","io4to","i4our","2ip","ipe4","iphras4","ip3i","ip4ic","ip4re4","ip3ul","i3qua","iq5uef","iq3uid","iq3ui3t","4ir","i1ra","ira4b","i4rac","ird5e","ire4de","i4ref","i4rel4","i4res","ir5gi","ir1i","iri5de","ir4is","iri3tu","5i5r2iz","ir4min","iro4g","5iron.","ir5ul","2is.","is5ag","is3ar","isas5","2is1c","is3ch","4ise","is3er","3isf","is5han","is3hon","ish5op","is3ib","isi4d","i5sis","is5itiv","4is4k","islan4","4isms","i2so","iso5mer","is1p","is2pi","is4py","4is1s","is4sal","issen4","is4ses","is4ta.","is1te","is1ti","ist4ly","4istral","i2su","is5us","4ita.","ita4bi","i4tag","4ita5m","i3tan","i3tat","2ite","it3era","i5teri","it4es","2ith","i1ti","4itia","4i2tic","it3ica","5i5tick","it3ig","it5ill","i2tim","2itio","4itis","i4tism","i2t5o5m","4iton","i4tram","it5ry","4itt","it3uat","i5tud","it3ul","4itz.","i1u","2iv","iv3ell","iv3en.","i4v3er.","i4vers.","iv5il.","iv5io","iv1it","i5vore","iv3o3ro","i4v3ot","4i5w","ix4o","4iy","4izar","izi4","5izont","5ja","jac4q","ja4p","1je","jer5s","4jestie","4jesty","jew3","jo4p","5judg","3ka.","k3ab","k5ag","kais4","kal4","k1b","k2ed","1kee","ke4g","ke5li","k3en4d","k1er","kes4","k3est.","ke4ty","k3f","kh4","k1i","5ki.","5k2ic","k4ill","kilo5","k4im","k4in.","kin4de","k5iness","kin4g","ki4p","kis4","k5ish","kk4","k1l","4kley","4kly","k1m","k5nes","1k2no","ko5r","kosh4","k3ou","kro5n","4k1s2","k4sc","ks4l","k4sy","k5t","k1w","lab3ic","l4abo","laci4","l4ade","la3dy","lag4n","lam3o","3land","lan4dl","lan5et","lan4te","lar4g","lar3i","las4e","la5tan","4lateli","4lativ","4lav","la4v4a","2l1b","lbin4","4l1c2","lce4","l3ci","2ld","l2de","ld4ere","ld4eri","ldi4","ld5is","l3dr","l4dri","le2a","le4bi","left5","5leg.","5legg","le4mat","lem5atic","4len.","3lenc","5lene.","1lent","le3ph","le4pr","lera5b","ler4e","3lerg","3l4eri","l4ero","les2","le5sco","5lesq","3less","5less.","l3eva","lev4er.","lev4era","lev4ers","3ley","4leye","2lf","l5fr","4l1g4","l5ga","lgar3","l4ges","lgo3","2l3h","li4ag","li2am","liar5iz","li4as","li4ato","li5bi","5licio","li4cor","4lics","4lict.","l4icu","l3icy","l3ida","lid5er","3lidi","lif3er","l4iff","li4fl","5ligate","3ligh","li4gra","3lik","4l4i4l","lim4bl","lim3i","li4mo","l4im4p","l4ina","1l4ine","lin3ea","lin3i","link5er","li5og","4l4iq","lis4p","l1it","l2it.","5litica","l5i5tics","liv3er","l1iz","4lj","lka3","l3kal","lka4t","l1l","l4law","l2le","l5lea","l3lec","l3leg","l3lel","l3le4n","l3le4t","ll2i","l2lin4","l5lina","ll4o","lloqui5","ll5out","l5low","2lm","l5met","lm3ing","l4mod","lmon4","2l1n2","3lo.","lob5al","lo4ci","4lof","3logic","l5ogo","3logu","lom3er","5long","lon4i","l3o3niz","lood5","5lope.","lop3i","l3opm","lora4","lo4rato","lo5rie","lor5ou","5los.","los5et","5losophiz","5losophy","los4t","lo4ta","loun5d","2lout","4lov","2lp","lpa5b","l3pha","l5phi","lp5ing","l3pit","l4pl","l5pr","4l1r","2l1s2","l4sc","l2se","l4sie","4lt","lt5ag","ltane5","l1te","lten4","ltera4","lth3i","l5ties.","ltis4","l1tr","ltu2","ltur3a","lu5a","lu3br","luch4","lu3ci","lu3en","luf4","lu5id","lu4ma","5lumi","l5umn.","5lumnia","lu3o","luo3r","4lup","luss4","lus3te","1lut","l5ven","l5vet4","2l1w","1ly","4lya","4lyb","ly5me","ly3no","2lys4","l5yse","1ma","2mab","ma2ca","ma5chine","ma4cl","mag5in","5magn","2mah","maid5","4mald","ma3lig","ma5lin","mal4li","mal4ty","5mania","man5is","man3iz","4map","ma5rine.","ma5riz","mar4ly","mar3v","ma5sce","mas4e","mas1t","5mate","math3","ma3tis","4matiza","4m1b","mba4t5","m5bil","m4b3ing","mbi4v","4m5c","4me.","2med","4med.","5media","me3die","m5e5dy","me2g","mel5on","mel4t","me2m","mem1o3","1men","men4a","men5ac","men4de","4mene","men4i","mens4","mensu5","3ment","men4te","me5on","m5ersa","2mes","3mesti","me4ta","met3al","me1te","me5thi","m4etr","5metric","me5trie","me3try","me4v","4m1f","2mh","5mi.","mi3a","mid4a","mid4g","mig4","3milia","m5i5lie","m4ill","min4a","3mind","m5inee","m4ingl","min5gli","m5ingly","min4t","m4inu","miot4","m2is","mis4er.","mis5l","mis4ti","m5istry","4mith","m2iz","4mk","4m1l","m1m","mma5ry","4m1n","mn4a","m4nin","mn4o","1mo","4mocr","5mocratiz","mo2d1","mo4go","mois2","moi5se","4mok","mo5lest","mo3me","mon5et","mon5ge","moni3a","mon4ism","mon4ist","mo3niz","monol4","mo3ny.","mo2r","4mora.","mos2","mo5sey","mo3sp","moth3","m5ouf","3mous","mo2v","4m1p","mpara5","mpa5rab","mpar5i","m3pet","mphas4","m2pi","mpi4a","mp5ies","m4p1in","m5pir","mp5is","mpo3ri","mpos5ite","m4pous","mpov5","mp4tr","m2py","4m3r","4m1s2","m4sh","m5si","4mt","1mu","mula5r4","5mult","multi3","3mum","mun2","4mup","mu4u","4mw","1na","2n1a2b","n4abu","4nac.","na4ca","n5act","nag5er.","nak4","na4li","na5lia","4nalt","na5mit","n2an","nanci4","nan4it","nank4","nar3c","4nare","nar3i","nar4l","n5arm","n4as","nas4c","nas5ti","n2at","na3tal","nato5miz","n2au","nau3se","3naut","nav4e","4n1b4","ncar5","n4ces.","n3cha","n5cheo","n5chil","n3chis","nc1in","nc4it","ncour5a","n1cr","n1cu","n4dai","n5dan","n1de","nd5est.","ndi4b","n5d2if","n1dit","n3diz","n5duc","ndu4r","nd2we","2ne.","n3ear","ne2b","neb3u","ne2c","5neck","2ned","ne4gat","neg5ativ","5nege","ne4la","nel5iz","ne5mi","ne4mo","1nen","4nene","3neo","ne4po","ne2q","n1er","nera5b","n4erar","n2ere","n4er5i","ner4r","1nes","2nes.","4nesp","2nest","4nesw","3netic","ne4v","n5eve","ne4w","n3f","n4gab","n3gel","nge4n4e","n5gere","n3geri","ng5ha","n3gib","ng1in","n5git","n4gla","ngov4","ng5sh","n1gu","n4gum","n2gy","4n1h4","nha4","nhab3","nhe4","3n4ia","ni3an","ni4ap","ni3ba","ni4bl","ni4d","ni5di","ni4er","ni2fi","ni5ficat","n5igr","nik4","n1im","ni3miz","n1in","5nine.","nin4g","ni4o","5nis.","nis4ta","n2it","n4ith","3nitio","n3itor","ni3tr","n1j","4nk2","n5kero","n3ket","nk3in","n1kl","4n1l","n5m","nme4","nmet4","4n1n2","nne4","nni3al","nni4v","nob4l","no3ble","n5ocl","4n3o2d","3noe","4nog","noge4","nois5i","no5l4i","5nologis","3nomic","n5o5miz","no4mo","no3my","no4n","non4ag","non5i","n5oniz","4nop","5nop5o5li","nor5ab","no4rary","4nosc","nos4e","nos5t","no5ta","1nou","3noun","nov3el3","nowl3","n1p4","npi4","npre4c","n1q","n1r","nru4","2n1s2","ns5ab","nsati4","ns4c","n2se","n4s3es","nsid1","nsig4","n2sl","ns3m","n4soc","ns4pe","n5spi","nsta5bl","n1t","nta4b","nter3s","nt2i","n5tib","nti4er","nti2f","n3tine","n4t3ing","nti4p","ntrol5li","nt4s","ntu3me","nu1a","nu4d","nu5en","nuf4fe","n3uin","3nu3it","n4um","nu1me","n5umi","3nu4n","n3uo","nu3tr","n1v2","n1w4","nym4","nyp4","4nz","n3za","4oa","oad3","o5a5les","oard3","oas4e","oast5e","oat5i","ob3a3b","o5bar","obe4l","o1bi","o2bin","ob5ing","o3br","ob3ul","o1ce","och4","o3chet","ocif3","o4cil","o4clam","o4cod","oc3rac","oc5ratiz","ocre3","5ocrit","octor5a","oc3ula","o5cure","od5ded","od3ic","odi3o","o2do4","odor3","od5uct.","od5ucts","o4el","o5eng","o3er","oe4ta","o3ev","o2fi","of5ite","ofit4t","o2g5a5r","og5ativ","o4gato","o1ge","o5gene","o5geo","o4ger","o3gie","1o1gis","og3it","o4gl","o5g2ly","3ogniz","o4gro","ogu5i","1ogy","2ogyn","o1h2","ohab5","oi2","oic3es","oi3der","oiff4","oig4","oi5let","o3ing","oint5er","o5ism","oi5son","oist5en","oi3ter","o5j","2ok","o3ken","ok5ie","o1la","o4lan","olass4","ol2d","old1e","ol3er","o3lesc","o3let","ol4fi","ol2i","o3lia","o3lice","ol5id.","o3li4f","o5lil","ol3ing","o5lio","o5lis.","ol3ish","o5lite","o5litio","o5liv","olli4e","ol5ogiz","olo4r","ol5pl","ol2t","ol3ub","ol3ume","ol3un","o5lus","ol2v","o2ly","om5ah","oma5l","om5atiz","om2be","om4bl","o2me","om3ena","om5erse","o4met","om5etry","o3mia","om3ic.","om3ica","o5mid","om1in","o5mini","5ommend","omo4ge","o4mon","om3pi","ompro5","o2n","on1a","on4ac","o3nan","on1c","3oncil","2ond","on5do","o3nen","on5est","on4gu","on1ic","o3nio","on1is","o5niu","on3key","on4odi","on3omy","on3s","onspi4","onspir5a","onsu4","onten4","on3t4i","ontif5","on5um","onva5","oo2","ood5e","ood5i","oo4k","oop3i","o3ord","oost5","o2pa","ope5d","op1er","3opera","4operag","2oph","o5phan","o5pher","op3ing","o3pit","o5pon","o4posi","o1pr","op1u","opy5","o1q","o1ra","o5ra.","o4r3ag","or5aliz","or5ange","ore5a","o5real","or3ei","ore5sh","or5est.","orew4","or4gu","4o5ria","or3ica","o5ril","or1in","o1rio","or3ity","o3riu","or2mi","orn2e","o5rof","or3oug","or5pe","3orrh","or4se","ors5en","orst4","or3thi","or3thy","or4ty","o5rum","o1ry","os3al","os2c","os4ce","o3scop","4oscopi","o5scr","os4i4e","os5itiv","os3ito","os3ity","osi4u","os4l","o2so","os4pa","os4po","os2ta","o5stati","os5til","os5tit","o4tan","otele4g","ot3er.","ot5ers","o4tes","4oth","oth5esi","oth3i4","ot3ic.","ot5ica","o3tice","o3tif","o3tis","oto5s","ou2","ou3bl","ouch5i","ou5et","ou4l","ounc5er","oun2d","ou5v","ov4en","over4ne","over3s","ov4ert","o3vis","oviti4","o5v4ol","ow3der","ow3el","ow5est","ow1i","own5i","o4wo","oy1a","1pa","pa4ca","pa4ce","pac4t","p4ad","5pagan","p3agat","p4ai","pain4","p4al","pan4a","pan3el","pan4ty","pa3ny","pa1p","pa4pu","para5bl","par5age","par5di","3pare","par5el","p4a4ri","par4is","pa2te","pa5ter","5pathic","pa5thy","pa4tric","pav4","3pay","4p1b","pd4","4pe.","3pe4a","pear4l","pe2c","2p2ed","3pede","3pedi","pedia4","ped4ic","p4ee","pee4d","pek4","pe4la","peli4e","pe4nan","p4enc","pen4th","pe5on","p4era.","pera5bl","p4erag","p4eri","peri5st","per4mal","perme5","p4ern","per3o","per3ti","pe5ru","per1v","pe2t","pe5ten","pe5tiz","4pf","4pg","4ph.","phar5i","phe3no","ph4er","ph4es.","ph1ic","5phie","ph5ing","5phisti","3phiz","ph2l","3phob","3phone","5phoni","pho4r","4phs","ph3t","5phu","1phy","pi3a","pian4","pi4cie","pi4cy","p4id","p5ida","pi3de","5pidi","3piec","pi3en","pi4grap","pi3lo","pi2n","p4in.","pind4","p4ino","3pi1o","pion4","p3ith","pi5tha","pi2tu","2p3k2","1p2l2","3plan","plas5t","pli3a","pli5er","4plig","pli4n","ploi4","plu4m","plum4b","4p1m","2p3n","po4c","5pod.","po5em","po3et5","5po4g","poin2","5point","poly5t","po4ni","po4p","1p4or","po4ry","1pos","pos1s","p4ot","po4ta","5poun","4p1p","ppa5ra","p2pe","p4ped","p5pel","p3pen","p3per","p3pet","ppo5site","pr2","pray4e","5preci","pre5co","pre3em","pref5ac","pre4la","pre3r","p3rese","3press","pre5ten","pre3v","5pri4e","prin4t3","pri4s","pris3o","p3roca","prof5it","pro3l","pros3e","pro1t","2p1s2","p2se","ps4h","p4sib","2p1t","pt5a4b","p2te","p2th","pti3m","ptu4r","p4tw","pub3","pue4","puf4","pul3c","pu4m","pu2n","pur4r","5pus","pu2t","5pute","put3er","pu3tr","put4ted","put4tin","p3w","qu2","qua5v","2que.","3quer","3quet","2rab","ra3bi","rach4e","r5acl","raf5fi","raf4t","r2ai","ra4lo","ram3et","r2ami","rane5o","ran4ge","r4ani","ra5no","rap3er","3raphy","rar5c","rare4","rar5ef","4raril","r2as","ration4","rau4t","ra5vai","rav3el","ra5zie","r1b","r4bab","r4bag","rbi2","rbi4f","r2bin","r5bine","rb5ing.","rb4o","r1c","r2ce","rcen4","r3cha","rch4er","r4ci4b","rc4it","rcum3","r4dal","rd2i","rdi4a","rdi4er","rdin4","rd3ing","2re.","re1al","re3an","re5arr","5reav","re4aw","r5ebrat","rec5oll","rec5ompe","re4cre","2r2ed","re1de","re3dis","red5it","re4fac","re2fe","re5fer.","re3fi","re4fy","reg3is","re5it","re1li","re5lu","r4en4ta","ren4te","re1o","re5pin","re4posi","re1pu","r1er4","r4eri","rero4","re5ru","r4es.","re4spi","ress5ib","res2t","re5stal","re3str","re4ter","re4ti4z","re3tri","reu2","re5uti","rev2","re4val","rev3el","r5ev5er.","re5vers","re5vert","re5vil","rev5olu","re4wh","r1f","rfu4","r4fy","rg2","rg3er","r3get","r3gic","rgi4n","rg3ing","r5gis","r5git","r1gl","rgo4n","r3gu","rh4","4rh.","4rhal","ri3a","ria4b","ri4ag","r4ib","rib3a","ric5as","r4ice","4rici","5ricid","ri4cie","r4ico","rid5er","ri3enc","ri3ent","ri1er","ri5et","rig5an","5rigi","ril3iz","5riman","rim5i","3rimo","rim4pe","r2ina","5rina.","rin4d","rin4e","rin4g","ri1o","5riph","riph5e","ri2pl","rip5lic","r4iq","r2is","r4is.","ris4c","r3ish","ris4p","ri3ta3b","r5ited.","rit5er.","rit5ers","rit3ic","ri2tu","rit5ur","riv5el","riv3et","riv3i","r3j","r3ket","rk4le","rk4lin","r1l","rle4","r2led","r4lig","r4lis","rl5ish","r3lo4","r1m","rma5c","r2me","r3men","rm5ers","rm3ing","r4ming.","r4mio","r3mit","r4my","r4nar","r3nel","r4ner","r5net","r3ney","r5nic","r1nis4","r3nit","r3niv","rno4","r4nou","r3nu","rob3l","r2oc","ro3cr","ro4e","ro1fe","ro5fil","rok2","ro5ker","5role.","rom5ete","rom4i","rom4p","ron4al","ron4e","ro5n4is","ron4ta","1room","5root","ro3pel","rop3ic","ror3i","ro5ro","ros5per","ros4s","ro4the","ro4ty","ro4va","rov5el","rox5","r1p","r4pea","r5pent","rp5er.","r3pet","rp4h4","rp3ing","r3po","r1r4","rre4c","rre4f","r4reo","rre4st","rri4o","rri4v","rron4","rros4","rrys4","4rs2","r1sa","rsa5ti","rs4c","r2se","r3sec","rse4cr","rs5er.","rs3es","rse5v2","r1sh","r5sha","r1si","r4si4b","rson3","r1sp","r5sw","rtach4","r4tag","r3teb","rten4d","rte5o","r1ti","rt5ib","rti4d","r4tier","r3tig","rtil3i","rtil4l","r4tily","r4tist","r4tiv","r3tri","rtroph4","rt4sh","ru3a","ru3e4l","ru3en","ru4gl","ru3in","rum3pl","ru2n","runk5","run4ty","r5usc","ruti5n","rv4e","rvel4i","r3ven","rv5er.","r5vest","r3vey","r3vic","rvi4v","r3vo","r1w","ry4c","5rynge","ry3t","sa2","2s1ab","5sack","sac3ri","s3act","5sai","salar4","sal4m","sa5lo","sal4t","3sanc","san4de","s1ap","sa5ta","5sa3tio","sat3u","sau4","sa5vor","5saw","4s5b","scan4t5","sca4p","scav5","s4ced","4scei","s4ces","sch2","s4cho","3s4cie","5scin4d","scle5","s4cli","scof4","4scopy","scour5a","s1cu","4s5d","4se.","se4a","seas4","sea5w","se2c3o","3sect","4s4ed","se4d4e","s5edl","se2g","seg3r","5sei","se1le","5self","5selv","4seme","se4mol","sen5at","4senc","sen4d","s5ened","sen5g","s5enin","4sentd","4sentl","sep3a3","4s1er.","s4erl","ser4o","4servo","s1e4s","se5sh","ses5t","5se5um","5sev","sev3en","sew4i","5sex","4s3f","2s3g","s2h","2sh.","sh1er","5shev","sh1in","sh3io","3ship","shiv5","sho4","sh5old","shon3","shor4","short5","4shw","si1b","s5icc","3side.","5sides","5sidi","si5diz","4signa","sil4e","4sily","2s1in","s2ina","5sine.","s3ing","1sio","5sion","sion5a","si2r","sir5a","1sis","3sitio","5siu","1siv","5siz","sk2","4ske","s3ket","sk5ine","sk5ing","s1l2","s3lat","s2le","slith5","2s1m","s3ma","small3","sman3","smel4","s5men","5smith","smol5d4","s1n4","1so","so4ce","soft3","so4lab","sol3d2","so3lic","5solv","3som","3s4on.","sona4","son4g","s4op","5sophic","s5ophiz","s5ophy","sor5c","sor5d","4sov","so5vi","2spa","5spai","spa4n","spen4d","2s5peo","2sper","s2phe","3spher","spho5","spil4","sp5ing","4spio","s4ply","s4pon","spor4","4spot","squal4l","s1r","2ss","s1sa","ssas3","s2s5c","s3sel","s5seng","s4ses.","s5set","s1si","s4sie","ssi4er","ss5ily","s4sl","ss4li","s4sn","sspend4","ss2t","ssur5a","ss5w","2st.","s2tag","s2tal","stam4i","5stand","s4ta4p","5stat.","s4ted","stern5i","s5tero","ste2w","stew5a","s3the","st2i","s4ti.","s5tia","s1tic","5stick","s4tie","s3tif","st3ing","5stir","s1tle","5stock","stom3a","5stone","s4top","3store","st4r","s4trad","5stratu","s4tray","s4trid","4stry","4st3w","s2ty","1su","su1al","su4b3","su2g3","su5is","suit3","s4ul","su2m","sum3i","su2n","su2r","4sv","sw2","4swo","s4y","4syc","3syl","syn5o","sy5rin","1ta","3ta.","2tab","ta5bles","5taboliz","4taci","ta5do","4taf4","tai5lo","ta2l","ta5la","tal5en","tal3i","4talk","tal4lis","ta5log","ta5mo","tan4de","tanta3","ta5per","ta5pl","tar4a","4tarc","4tare","ta3riz","tas4e","ta5sy","4tatic","ta4tur","taun4","tav4","2taw","tax4is","2t1b","4tc","t4ch","tch5et","4t1d","4te.","tead4i","4teat","tece4","5tect","2t1ed","te5di","1tee","teg4","te5ger","te5gi","3tel.","teli4","5tels","te2ma2","tem3at","3tenan","3tenc","3tend","4tenes","1tent","ten4tag","1teo","te4p","te5pe","ter3c","5ter3d","1teri","ter5ies","ter3is","teri5za","5ternit","ter5v","4tes.","4tess","t3ess.","teth5e","3teu","3tex","4tey","2t1f","4t1g","2th.","than4","th2e","4thea","th3eas","the5at","the3is","3thet","th5ic.","th5ica","4thil","5think","4thl","th5ode","5thodic","4thoo","thor5it","tho5riz","2ths","1tia","ti4ab","ti4ato","2ti2b","4tick","t4ico","t4ic1u","5tidi","3tien","tif2","ti5fy","2tig","5tigu","till5in","1tim","4timp","tim5ul","2t1in","t2ina","3tine.","3tini","1tio","ti5oc","tion5ee","5tiq","ti3sa","3tise","tis4m","ti5so","tis4p","5tistica","ti3tl","ti4u","1tiv","tiv4a","1tiz","ti3za","ti3zen","2tl","t5la","tlan4","3tle.","3tled","3tles.","t5let.","t5lo","4t1m","tme4","2t1n2","1to","to3b","to5crat","4todo","2tof","to2gr","to5ic","to2ma","tom4b","to3my","ton4ali","to3nat","4tono","4tony","to2ra","to3rie","tor5iz","tos2","5tour","4tout","to3war","4t1p","1tra","tra3b","tra5ch","traci4","trac4it","trac4te","tras4","tra5ven","trav5es5","tre5f","tre4m","trem5i","5tria","tri5ces","5tricia","4trics","2trim","tri4v","tro5mi","tron5i","4trony","tro5phe","tro3sp","tro3v","tru5i","trus4","4t1s2","t4sc","tsh4","t4sw","4t3t2","t4tes","t5to","ttu4","1tu","tu1a","tu3ar","tu4bi","tud2","4tue","4tuf4","5tu3i","3tum","tu4nis","2t3up.","3ture","5turi","tur3is","tur5o","tu5ry","3tus","4tv","tw4","4t1wa","twis4","4two","1ty","4tya","2tyl","type3","ty5ph","4tz","tz4e","4uab","uac4","ua5na","uan4i","uar5ant","uar2d","uar3i","uar3t","u1at","uav4","ub4e","u4bel","u3ber","u4bero","u1b4i","u4b5ing","u3ble.","u3ca","uci4b","uc4it","ucle3","u3cr","u3cu","u4cy","ud5d","ud3er","ud5est","udev4","u1dic","ud3ied","ud3ies","ud5is","u5dit","u4don","ud4si","u4du","u4ene","uens4","uen4te","uer4il","3ufa","u3fl","ugh3en","ug5in","2ui2","uil5iz","ui4n","u1ing","uir4m","uita4","uiv3","uiv4er.","u5j","4uk","u1la","ula5b","u5lati","ulch4","5ulche","ul3der","ul4e","u1len","ul4gi","ul2i","u5lia","ul3ing","ul5ish","ul4lar","ul4li4b","ul4lis","4ul3m","u1l4o","4uls","uls5es","ul1ti","ultra3","4ultu","u3lu","ul5ul","ul5v","um5ab","um4bi","um4bly","u1mi","u4m3ing","umor5o","um2p","unat4","u2ne","un4er","u1ni","un4im","u2nin","un5ish","uni3v","un3s4","un4sw","unt3ab","un4ter.","un4tes","unu4","un5y","un5z","u4ors","u5os","u1ou","u1pe","uper5s","u5pia","up3ing","u3pl","up3p","upport5","upt5ib","uptu4","u1ra","4ura.","u4rag","u4ras","ur4be","urc4","ur1d","ure5at","ur4fer","ur4fr","u3rif","uri4fic","ur1in","u3rio","u1rit","ur3iz","ur2l","url5ing.","ur4no","uros4","ur4pe","ur4pi","urs5er","ur5tes","ur3the","urti4","ur4tie","u3ru","2us","u5sad","u5san","us4ap","usc2","us3ci","use5a","u5sia","u3sic","us4lin","us1p","us5sl","us5tere","us1tr","u2su","usur4","uta4b","u3tat","4ute.","4utel","4uten","uten4i","4u1t2i","uti5liz","u3tine","ut3ing","ution5a","u4tis","5u5tiz","u4t1l","ut5of","uto5g","uto5matic","u5ton","u4tou","uts4","u3u","uu4m","u1v2","uxu3","uz4e","1va","5va.","2v1a4b","vac5il","vac3u","vag4","va4ge","va5lie","val5o","val1u","va5mo","va5niz","va5pi","var5ied","3vat","4ve.","4ved","veg3","v3el.","vel3li","ve4lo","v4ely","ven3om","v5enue","v4erd","5vere.","v4erel","v3eren","ver5enc","v4eres","ver3ie","vermi4n","3verse","ver3th","v4e2s","4ves.","ves4te","ve4te","vet3er","ve4ty","vi5ali","5vian","5vide.","5vided","4v3iden","5vides","5vidi","v3if","vi5gn","vik4","2vil","5vilit","v3i3liz","v1in","4vi4na","v2inc","vin5d","4ving","vio3l","v3io4r","vi1ou","vi4p","vi5ro","vis3it","vi3so","vi3su","4viti","vit3r","4vity","3viv","5vo.","voi4","3vok","vo4la","v5ole","5volt","3volv","vom5i","vor5ab","vori4","vo4ry","vo4ta","4votee","4vv4","v4y","w5abl","2wac","wa5ger","wag5o","wait5","w5al.","wam4","war4t","was4t","wa1te","wa5ver","w1b","wea5rie","weath3","wed4n","weet3","wee5v","wel4l","w1er","west3","w3ev","whi4","wi2","wil2","will5in","win4de","win4g","wir4","3wise","with3","wiz5","w4k","wl4es","wl3in","w4no","1wo2","wom1","wo5ven","w5p","wra4","wri4","writa4","w3sh","ws4l","ws4pe","w5s4t","4wt","wy4","x1a","xac5e","x4ago","xam3","x4ap","xas5","x3c2","x1e","xe4cuto","x2ed","xer4i","xe5ro","x1h","xhi2","xhil5","xhu4","x3i","xi5a","xi5c","xi5di","x4ime","xi5miz","x3o","x4ob","x3p","xpan4d","xpecto5","xpe3d","x1t2","x3ti","x1u","xu3a","xx4","y5ac","3yar4","y5at","y1b","y1c","y2ce","yc5er","y3ch","ych4e","ycom4","ycot4","y1d","y5ee","y1er","y4erf","yes4","ye4t","y5gi","4y3h","y1i","y3la","ylla5bl","y3lo","y5lu","ymbol5","yme4","ympa3","yn3chr","yn5d","yn5g","yn5ic","5ynx","y1o4","yo5d","y4o5g","yom4","yo5net","y4ons","y4os","y4ped","yper5","yp3i","y3po","y4poc","yp2ta","y5pu","yra5m","yr5ia","y3ro","yr4r","ys4c","y3s2e","ys3ica","ys3io","3ysis","y4so","yss4","ys1t","ys3ta","ysur4","y3thin","yt3ic","y1w","za1","z5a2b","zar2","4zb","2ze","ze4n","ze4p","z1er","ze3ro","zet4","2z1i","z4il","z4is","5zl","4zm","1zo","zo4m","zo5ol","zte4","4z1z2","z4zy",".con5gr",".de5riva",".dri5v4",".eth1y6l1",".eu4ler",".ev2",".ever5si5b",".ga4s1om1",".ge4ome",".ge5ot1",".he3mo1",".he3p6a",".he3roe",".in5u2t",".kil2n3i",".ko6r1te1",".le6ices",".me4ga1l",".met4ala",".mim5i2c1",".mi1s4ers",".ne6o3f",".noe1th",".non1e2m",".poly1s",".post1am",".pre1am",".rav5en1o",".semi5",".sem4ic",".semid6",".semip4",".semir4",".sem6is4",".semiv4",".sph6in1",".spin1o",".ta5pes1tr",".te3legr",".to6pog",".to2q",".un3at5t",".un5err5",".vi2c3ar",".we2b1l",".re1e4c","a5bolic","a2cabl","af6fish","am1en3ta5b","anal6ys","ano5a2c","ans5gr","ans3v","anti1d","an3ti1n2","anti1re","a4pe5able","ar3che5t","ar2range","as5ymptot","ath3er1o1s","at6tes.","augh4tl","au5li5f","av3iou","back2er.","ba6r1onie","ba1thy","bbi4t","be2vie","bi5d2if","bil2lab","bio5m","bi1orb","bio1rh","b1i3tive","blan2d1","blin2d1","blon2d2","bor1no5","bo2t1u1l","brus4q","bus6i2er","bus6i2es","buss4ing","but2ed.","but4ted","cad5e1m","cat1a1s2","4chs.","chs3hu","chie5vo","cig3a3r","cin2q","cle4ar","co6ph1o3n","cous2ti","cri3tie","croc1o1d","cro5e2co","c2tro3me6c","1cu2r1ance","2d3alone","data1b","dd5a5b","d2d5ib","de4als.","de5clar1","de2c5lina","de3fin3iti","de2mos","des3ic","de2tic","dic1aid","dif5fra","3di1methy","di2ren","di2rer","2d1lead","2d1li2e","3do5word","dren1a5l","drif2t1a","d1ri3pleg5","drom3e5d","d3tab","du2al.","du1op1o1l","ea4n3ies","e3chas","edg1l","ed1uling","eli2t1is","e1loa","en1dix","eo3grap","1e6p3i3neph1","e2r3i4an.","e3spac6i","eth1y6l1ene","5eu2clid1","feb1rua","fermi1o","3fich","fit5ted.","fla1g6el","flow2er.","3fluor","gen2cy.","ge3o1d","ght1we","g1lead","get2ic.","4g1lish","5glo5bin","1g2nac","gnet1ism","gno5mo","g2n1or.","g2noresp","2g1o4n3i1za","graph5er.","griev1","g1utan","hair1s","ha2p3ar5r","hatch1","hex2a3","hite3sid","h3i5pel1a4","hnau3z","ho6r1ic.","h2t1eou","hypo1tha","id4ios","ifac1et","ign4it","ignit1er","i4jk","im3ped3a","infra1s2","i5nitely.","irre6v3oc","i1tesima","ith5i2l","itin5er5ar","janu3a","japan1e2s","je1re1m","1ke6ling","1ki5netic","1kovian","k3sha","la4c3i5e","lai6n3ess","lar5ce1n","l3chai","l3chil6d1","lead6er.","lea4s1a","1lec3ta6b","le3g6en2dre","1le1noid","lith1o5g","ll1fl","l2l3ish","l5mo3nell","lo1bot1o1","lo2ges.","load4ed.","load6er.","l3tea","lth5i2ly","lue1p","1lunk3er","1lum5bia.","3lyg1a1mi","ly5styr","ma1la1p","m2an.","man3u1sc","mar1gin1","medi2c","med3i3cin","medio6c1","me3gran3","m2en.","3mi3da5b","3milita","mil2l1ag","mil5li5li","mi6n3is.","mi1n2ut1er","mi1n2ut1est","m3ma1b","5maph1ro1","5moc1ra1t","mo5e2las","mol1e5c","mon4ey1l","mono3ch","mo4no1en","moro6n5is","mono1s6","moth4et2","m1ou3sin","m5shack2","mu2dro","mul2ti5u","n3ar4chs.","n3ch2es1t","ne3back","2ne1ski","n1dieck","nd3thr","nfi6n3ites","4n5i4an.","nge5nes","ng1ho","ng1spr","nk3rup","n5less","5noc3er1os","nom1a6l","nom5e1no","n1o1mist","non1eq","non1i4so","5nop1oly.","no1vemb","ns5ceiv","ns4moo","ntre1p","obli2g1","o3chas","odel3li","odit1ic","oerst2","oke1st","o3les3ter","oli3gop1o1","o1lo3n4om","o3mecha6","onom1ic","o3norma","o3no2t1o3n","o3nou","op1ism.","or4tho3ni4t","orth1ri","or5tively","o4s3pher","o5test1er","o5tes3tor","oth3e1o1s","ou3ba3do","o6v3i4an.","oxi6d1ic","pal6mat","parag6ra4","par4a1le","param4","para3me","pee2v1","phi2l3ant","phi5lat1e3l","pi2c1a3d","pli2c1ab","pli5nar","poin3ca","1pole.","poly1e","po3lyph1ono","1prema3c","pre1neu","pres2pli","pro2cess","proc3i3ty.","pro2g1e","3pseu2d","pseu3d6o3d2","pseu3d6o3f2","pto3mat4","p5trol3","pu5bes5c","quain2t1e","qu6a3si3","quasir6","quasis6","quin5tes5s","qui3v4ar","r1abolic","3rab1o1loi","ra3chu","r3a3dig","radi1o6g","r2amen","3ra4m5e1triz","ra3mou","ra5n2has","ra1or","r3bin1ge","re2c3i1pr","rec5t6ang","re4t1ribu","r3ial.","riv1o1l","6rk.","rk1ho","r1krau","6rks.","r5le5qu","ro1bot1","ro5e2las","ro5epide1","ro3mesh","ro1tron","r3pau5li","rse1rad1i","r1thou","r1treu","r1veil","rz1sc","sales3c","sales5w","5sa3par5il","sca6p1er","sca2t1ol","s4chitz","schro1ding1","1sci2utt","scrap4er.","scy4th1","sem1a1ph","se3mes1t","se1mi6t5ic","sep3temb","shoe1st","sid2ed.","side5st","side5sw","si5resid","sky1sc","3slova1kia","3s2og1a1my","so2lute","3s2pace","1s2pacin","spe3cio","spher1o","spi2c1il","spokes5w","sports3c","sports3w","s3qui3to","s2s1a3chu1","ss3hat","s2s3i4an.","s5sign5a3b","1s2tamp","s2t1ant5shi","star3tli","sta1ti","st5b","1stor1ab","strat1a1g","strib5ut","st5scr","stu1pi4d1","styl1is","su2per1e6","1sync","1syth3i2","swimm6","5tab1o1lism","ta3gon.","talk1a5","t1a1min","t6ap6ath","5tar2rh","tch1c","tch3i1er","t1cr","teach4er.","tele2g","tele1r6o","3ter1gei","ter2ic.","t3ess2es","tha4l1am","tho3don","th1o5gen1i","tho1k2er","thy4l1an","thy3sc","2t3i4an.","ti2n3o1m","t1li2er","tolo2gy","tot3ic","trai3tor1","tra1vers","travers3a3b","treach1e","tr4ial.","3tro1le1um","trof4ic.","tro3fit","tro1p2is","3trop1o5les","3trop1o5lis","t1ro1pol3it","tsch3ie","ttrib1ut1","turn3ar","t1wh","ty2p5al","ua3drati","uad1ratu","u5do3ny","uea1m","u2r1al.","uri4al.","us2er.","v1ativ","v1oir5du1","va6guer","vaude3v","1verely.","v1er1eig","ves1tite","vi1vip3a3r","voice1p","waste3w6a2","wave1g4","w3c","week1n","wide5sp","wo4k1en","wrap3aro","writ6er.","x1q","xquis3","y5che3d","ym5e5try","y1stro","yes5ter1y","z3ian.","z3o1phr","z2z3w",""],exceptions:["as-so-ciate","as-so-ciates","dec-li-na-tion","oblig-a-tory","phil-an-thropic","present","presents","project","projects","reci-procity","re-cog-ni-zance","ref-or-ma-tion","ret-ri-bu-tion","ta-ble",""]}})),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.createHyphenator=e()}(this,(function(){var t="object"==typeof global?global:"object"==typeof window?window:"object"==typeof this?this:{};function e(t){var e={};for(var i in t)e[i]=t[i];return e}function i(t,e,i){return e in t?t[e]:i}function n(t,e){return t.exceptions.reduce((function(t,i){return t[i.replace(/\-/g,"")]=i.replace(/\-/g,e),t}),{})}function r(t,e,i,n){for(var r,s=new Array(t.length+1),o=t.toLocaleLowerCase(),a=[],l=0,c=s.length;c--;)s[c]=0;for(;r=e[l++];)for(var h=0,u=!1;!u;){var d=o.indexOf(r.text,h);if(d>-1&&(!r.stickToLeft||0===d)&&(!r.stickToRight||d+r.text.length===t.length)){a.push(r.pattern+">"+r.levels.join(""));for(c=0;c<r.levels.length;c++)s[d+c]=Math.max(r.levels[c],s[d+c])}d>-1&&r.text.length>0?h=d+r.text.length+1:u=!0}s[0]=s[1]=s[s.length-1]=s[s.length-2]=0;var f="",p="",g="";for(c=0;c<s.length;c++)f+=(s[c]%2==1?n:"")+t.charAt(c),g+=(s[c]%2==1?"-":"")+t.charAt(c),p+=(s[c]>0?s[c]:"")+t.charAt(c);return i&&console.log.apply(console,[t,"->"].concat(a).concat(["->"]).concat(s).concat(["->",p]).concat(["->",g])),f}function s(t){for(var e,i=0,n={pattern:t,text:"",levels:[],stickToLeft:0,stickToRight:0},r=1,s=2,o=3,a=4;e=t.charAt(i++);){var l="."===e,c=!l&&/\d/.test(e);switch(l?i-1==0?o:a:c?s:r){case r:!h&&n.levels.push(0),n.text+=e;break;case s:n.levels.push(parseInt(e));break;case o:n.stickToLeft=!0;break;case a:n.stickToRight=!0}var h=c}return n}return function(o,a){var l=i(a=a||{},"async",!1),c={},h=i(a,"debug",!1),u={},d=i(a,"hyphenChar","­"),f=o.patterns.map(s),p=Math.max(a.minWordLength>>0,5),g=i(a,"html",!1),m=d+p;if(u[m]=n(o,d),c[m]=e(u[m]),l&&!("Promise"in t))throw new Error("Failed to create hyphenator: Could not find global Promise object, needed for hyphenator to work in async mode");return function(t,s){var a=i(s=s||{},"debug",h),m=i(s,"hyphenChar",d),v=Math.max(s.minWordLength>>0,p),y=m+v;return u[y]||(u[y]=n(o,m)),c[y]||(c[y]=e(u[y])),function(t,e,i,n,s,o,a,l){var c,h="",u=function(t,e,i,n){var r,s,o=RegExp.prototype.test.bind(/\s/),a=0,l=1,c=2,h=1,u=2,d=3,f=4;return[function(){var p="";r=void 0;t:for(;a<=t.length;){var g=t.charAt(a++),m=!!g&&!/\s|[\!-\@\[-\`\{-\~\u2013-\u203C]/.test(g),v="<"===g,y=">"===g,b=g===e;do{if(s===h){y&&(s=d);break}if(b){r=c,s=u;break}if(m){s=u;break}if(s===u){s=f,r=r||p.length>=n&&l;break}r=c,s=d}while(0);switch(v&&s!==f&&i&&!o(t.charAt(a))&&(r=c,s=h),s){case h:case u:p+=g;break;case d:p+=g;break t;case f:a--;break t}}return p||void 0},function(){return r===l}]}(t,s,o,a),d=u[0],f=u[1],p={hyphenateWord:1,concatenate:2},g=0,m=0,v=new Date,y=0,b=function(){};function w(){for(var t=new Date;(!l||new Date-t<10)&&(c=d());){switch(f()?p.hyphenateWord:p.concatenate){case p.hyphenateWord:i[c]||(i[c]=r(c,e,n,s)),c!==i[c]&&m++,c=i[c];case p.concatenate:h+=c}g++}y+=new Date-t,c?setTimeout(w):(v=new Date-v,b(h),n&&(console.log("----------------\nHyphenation stats: "+g+" text chunks processed, "+m+" words hyphenated"),console.log("Work time: "+y/1e3),console.log("Wait time: "+(v-y)/1e3),console.log("All time: "+v/1e3)))}return l?(setTimeout(w),new Promise((function(t){b=t}))):(w(),h)}(t,f,c[y],a,m,g,v,l)}}})),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.hyphenationPatternsRu=e()}(this,(function(){return{patterns:[".аб1р",".аг1ро",".ади2",".аи2",".ак1р",".аль3я",".ар2т1о2",".ас1то",".аст1р",".ау2",".би2о",".во2б3л",".во3ж2д",".го2ф",".дек2",".де1кв",".ди2ак",".ди1о",".до3п",".до3т2",".епи3",".зав2р",".за3м2н",".за3п",".иг1р",".изг2",".из3н",".ии2",".ик1р",".ио2",".ио4на",".ис3",".ле2о",".ле2п3р",".лес1к",".ль2",".люст1",".ме2ж1у2",".ми1ом",".мо2к1",".му2шт1",".на1в",".на3т",".на3ш2",".не3вн",".не1др",".не1з2",".не1сл",".не1с2ц",".не3т",".нос1к",".нук1л",".обо3ж2",".ово1",".ог3н",".оз4",".ос2ка",".ос2п",".ос3пи",".от1в",".от1ро",".от1ру",".от1уж",".по3в2",".по3ж2",".поз2н",".прос2",".ра2с3т",".ре2бр",".ре2з3в",".ри2ск",".ри2ч",".ро2з3в",".ро2с3л",".ро2х",".септ2",".ск2",".ст2",".су2ж",".те2о3",".тиа3",".ти2г",".тиг1р",".ти2о",".уб2",".уд2",".уе2",".уз2на",".ук2",".ум2ч",".уо3",".уп2",".ур2в",".ус2",".ут2р",".ую2",".хо2р3в",".че2с1к",".юс1","4а3а","аа2п","аа2р","аа2ц","а1б","абе3ст","а3бла","аб2лю","аб1ри","а3бу","ав1в","а1ве","ав3зо","а1ви","ави2а","а1во","аво1с","а2вот","ав1ра","ав2се","а2вт","а1ву","а2вх","а3в2че","2ага","ага1с2","а2гд","а2гити","а2гле","аг2ли","а2глос","аг2лот","2аго","а3гу","а1д","2адв","а2две","ад2жи","ади2од","а2дл","а2д1обл","ад1ро","а2д1ру","аду3ч","ад2ц","а2дын","а1е","ае2го","ае2ди","ае2л","а2еп","ае2ре","ае2с","аза4ш3","азв2","аз3вез","аз1вл","азг2","аз1др","аз1об","аз2о1бр","а2зовь","а2золь","а1зори","аз2о1с","аз1р","а1и","аи2г1","аи3гл","а2их","а1к","ак1в","1акк","ак2л","ак3лем","ако1б2","2аконс","ако3т","2акри","ак1с","а1ла","а3лаг","а1ле","2алек","а3ли","ало1з","а1лу","алу2ш","алуш1т","а1лы","а2льщ","а1лю","2ама","амб4","2амет","а2минт","ам2нет","2амо","амо1з2","амои2","а2мч","ана2дц","а2н1а2ме","а2наф","ан2дра","а2н1о2б","ан1о2хр","ан1р","ан2сп","анс1у","ан2сур","а2н1уз","а1нь","2а1о","ао2д","ао2к","ао2р","ао2с","аост1","а3пла","ап2лом","2апо","апо4вс","апо3ч2т","ап2ра","ап1рел","а1ра","ара2ст","ар2бок","ар2вал","1аргу","а1ре","аре1дв","аре1ол","ар2жа","а1ри","а1ро","ар2тор","ар2т1р","а1ру","ар1х","а1ры","а1рю","а1ря","2ас1к","ас3ми","ас3но","1ассиг","аст1ву","ас3тем","ас2тин","ас2тия","ас1тоо","ас1тух","а1стье","ас2шед","ас2шес","а1сьи","а1та","1атак","ат3ва","ат1ви","ат1ву","2атез","а1ти","а1то","ат1обе","а2томн","ато2ш","ат1рах","ат1ри","а1ту","ат2х","а1ты","а1тье","а3тью","а3тья","а1тю","а1тя","а1у","а2уб","ау2д","ау3до","а2уле","аут1р","ау2х","ау2ч","ау3чь","ауэ1","а2ф1л","ах2а","ахми2","ах3с","а1ч","2ача","а2чл","ач1т","а2шл","аэ2ли","а2эр","аю1та","а1я","ая2б","ая2в","ая2з","1ба","ба2бв","ба2г1р","ба2др","ба1з","ба3зу","балю1","ба2о","бас3м","ба1ст","ба1тр","2б1б","б1в","бвы2","бг2","2б1д","1бе","3бев","бе2гл","бе2гн","бе2д1р","3бее","3бе2з","без1а2","без5д4","бе3зи","без3н","без1о2","без1р","бе2с1к","бес3п","бе2с1т","бес3те","бес3ти","3бец","2бещ","2бж","б1з2","1б2и","3биа","би2б","2биж","3бик","били3т2","3био","би2об","би2од","би2он","би2ор","би2тв","би1х","2б3к","б1л","1благ","1б2лаз","б3лази","б2лан","1б2лее","б3лен","б2лес1к","1б2лея","б2луд","1б2луж","2блы","2б2ль","2б3лю.","б2люд","б2люе","б2люл","2б3люсь","2бля","2б3н","1бо","бо1бра","бо3вш","бо2гд","бо1дра","бо1з2","бо1л2ж","бо1льс","бо3м2л","бо2мч","бо3мш","бону1","бо1ру","бо2са","бо1ск","бо3ско","бо3сти","3бот","бо2тв","бот2р","боя2р","2бр.","б3раб","б2рав","бра1зо","1б2рал","2б1рам","б2ран","1брас","б2рать","б1рах","1б2рач","2б3рая","1б2ред","б1рей","б1рек","б2рем","б2рех","б2рид","б2рито","б2риты","1б2роди","б1рол","б1ром.","1б2роси","бро2с1к","2брс","б1ру","3брукс","2брь","1б2рю","2б3рю.","б1ря","2б1с2","б3ск","бс4л","б1т","1б2у","бу2г1р","бук1л","бу1с","2бф","2б1х","2бц","2б1ч","2бш","2бщ","1бы","бы2г1","бы2с","быс1к","быст1","1бь","2бь.","2бьс","2бьт","бэ1р","3б2ю","бю1та","1бя","1ва","ва2бр","3ваг","ва2д1р","вадь2","ва3ж2д","ва1з","ванс2","ва1ст","ва2стр","ва1тр","вах1","3вац","3вая","2в1б","в1ви","в1вр","2вг2","в1д","в2дох","1вев","3вег","вед1р","ве3ду","1вее","1вез","3везе","3везл","вез2у","1вей.","ве2п1","2верд","1вес","ве2с1к","ве2ст1в","вет3р","1вец","1вею","1вея","1в2з2","взг2","взд2","взо1б","взъ2","взъе3д","ви2аз","ви2ак","ви2ар","ви2а1с2","виа1т","ви3аф","ви2гв","ви2гл","1виз","1винт","1винч","ви1о","ви1с2ни","виу3","ви2ф","2в1к","вк2л","3в2кус","в1л","в2ла","2в3лаб","в2лев","в2лек","в2лет","в2леч","2вли","в2лия","2влю","в2люб","2вля","2вм","1вме","2в1н","4в3на","в2нес","вно1","в3ну.","3в2нук","3в2нуч","в3ны","во1б2","во2б3ла","вов2","во3вк","1вод","во1дв","во1др","во2ер","во2жж","вои2с1","1вок","во3м2","воп2","во1ру","2ворц","2ворь","вос1к","во1см","во1сн","вос3пе","во2стр","вот2р","1вох","во1хл","во3х2т","1вою","2вп2","2вр.","2вра.","в2рав","2в1рам","в1рас","2в1рах","2врац","2вре.","2в1рен","1врид","1в2риз","в1рии","в1рик","в1рил","в1рис","в1рит","2в1ро","вро3т2","2в1ры","1врю","в1ря","2в1с2","3все3","в3ская","4в3ски","4в3ску","3в2сп","3в2сю","в1т2","вто1б2","вто3ш","1вуа","ву3г","1ву1з","2вуи","2ву1к","ву3п","ву1с2","ву2х1а","вух3в","ву1чл","вф2","1вхо","2вц","2в1ч","2вш","3в2шив","2вщ","въ2","1вы","вы3г2","вы3зн","вып2","вы3т2","вых2","вы3ш2л","2вь.","1вье","1вьин","2вьс","2вьт","1вью","1вья","1в2э1","1в2ю","1вя","1г","г2а","га1з","га1ст2","га2у","2г3б","гба2","г1ви","2гг","г3дан","2г3ди","3ге.","ге2б1","гено1","ге2об","ге2од","ге1ор","2г3ж","2г1з","г2и","ги2бл","ги3бр","ги2гр","ги1сл","гист2","2г1к","2гла.","г2лав","г1лай","г1лами","2глась","2глая","г1ле","г2лет","2гли.","г2лин","3г2лиф","2гло.","г3лобл","2глов","2глог","2глое","2глой","2глою","2глую","2г1лы","г2ляж","2гляк","2г3м","г2нав","г2нан","г3не.","г2нев","г3нен","г3неп","г3нес","г2нир","гнит2р","г2ное","г2нои","г2нос","г3ня","го1б2","го2вл","го3ж2д","го1з","го2зл","гоз2н","гоиг2","3гой","г2ол","гоми2","го2с1а","го2сд","го1скл","го1сн","го1спа","2готд","гоу3т","го1чл","3гою","2гп","2гр.","г1рае","г1рай","г1рар","г1рег","г1рек","г1рец","гри4в3н","г1рик","г1рил","г1рин","г1рис","г1рич","г1ров","г2роз","г1рок","г1рон","г1роп","г1рот","г1роф","гру2п","г1рыв","2грю","г1ряе","г1рял","г1рят","2г3с2","г4са","г4сб","2г3т","гу1в","гу1с","гу2с1к","2гф","2г1ч","2г3ш","2г3э","1да","да2б1","да2ген","да2гр","да1з","да2о","даст1р","дат1р","2д1б","дв2","д1ве","1дви","2д1вид","2двиз","2двинт","2двинч","2д1вис","2д1вит","д3вк","д1вл","2двод","д1воз","1дворь","2двя","2дг2","2д1д2","1де","де1б2л","де1б2р","3девр","3дез","де2з1а2","де2зи","дез1о2","де2зу","деио2","де1кл","3деме","де2од","део3п","де3пл","дерас2","де2с3в","дес2к","де2ср","де1хл","2дж.","д2жам","д2ж3м","2джс","2д1з2","1ди","ди2ад","диа2з","ди2али","ди2ало","ди2ар","ди2ас","ди2об","дио3де","ди2ор","дио1с","ди1оти","дип2","ди2пи","ди3пт","ди2с1тр","диу3","ди3фр","ди3фто","ди1х","2д1к","д1л","д2лев","2д3м2","2д1н","д3на","днеа2","3дневн","4д3но1","дно3д2","днос2","4д3ны","3д2няш","1до","2д1о2бед","до2бл","2д1обла","до1б2ра","дов2л","до3в2м","до1д2","до3дн","до3ж2д","до1з","доз2н","дои2р","2докт","2долим","до2м1р","доп2","до3пл","2допле","до2пре","до2руб","до1с","д1о2сен","д1о2син","2д1осно","дос2п","2дотд","2дотл","дот2ри","2д1отря","2дотъ","до3ть","3дохл","до2ш3в","до3ш2к","до2шлы","до2щу","2дп","2др.","д1раб","1дравш","2дразв","1д2разн","д1ране","д1рар","д1ра2с3","д1рах","д1рач","д2раю","д1ре","д2реб","2д3реж","2дрез","д2рел","д2рем","1дрема","1дремл","дрем3н","1дремы","2д3рен","дре2ск","д2ресс","д1ри","д2рий","2дрин","д2рип","д2рих","дро2г3н","д1род","д1рое","1д2рож","2д3роз","д1рой","д1рол","д1рон","д1рос","д1рот","д1рою","д1руб","1друг","1друж","д1рум","д1рую","д1ры","2дрыв","1д2рыг","д1ря","д2ряб","1д2ряг","д2рях","2д1с2","дск2","дс3кн","2д1т","1ду","дуб3р","ду3г","2д1уд","ду2да","ду2о","дуп1л","дус1к","д1усл","ду1ст","ду2ста","2дут1р","ду1х","ду2чи","дуэ1т","2дф","д1х","2д3це","2дцу","2дцы","2д1ч","2д3ш2","2дщ","2дъ","дъе2м","1ды","2дыг","ды2г1р","2дыд","2дыме","2ды2с1","2дыт","2дыщ","2дь.","1дье","2дьк","2дьт","1дью","1дья","дь3яр","1д2ю","1дя","е1а","еа2д","еади3","еа3до","еа2з","еан2д1р","еат1р","2еб","еба2с","е1бра","еб1рен","еб1ри","е1бро","еб1ров","еб1ры","е2б3рю","е1ве","2евер","е1ви","е3в2ме","ев2ним","ев2нят","е1во","2евол","евра1с","2е1вре","ев1рее","ев1рей","ев1рея","ев1ри","е2вт","е1ву","е1вх","ев2хо","е1вь","ега1с2","ег2д","е2глан","е2гле","е2гли","е2гло","ег2на","ег2но","2ег2р","ед1во","ед2ж","е1дже","е1д2лин","едноу3","ед1опр","е2дотв","е2дох","е2д1ощ","е1дру","е2дру.","е2ду2б","ед1убо","е2дуве","е2дуг","е2дус","ед1уст","2е3душ","е2дын","е1е","е2евид","ее2в1р","ее2ги","ее1с2","ее2ст","еест1р","ее2х","е2жг","е4ждев","еж3ди","2еже","е2ж1р","еза2вр","езау3","е1з2ва","езд1р","е3зе","еззу3","е3зит","ез1об","ез1о2г","е1зом","ез1оп","ез1о2р","ез1от","ез1ош","ез2ря","ез1у2д","ез1у2к","ез1уп","ез1ус","езу2со","езу2сы","ез1у2х","ез1уча","е3зя","е1и","еи2г1","еи2д","еи2м","еи2о","еис1л","еис1тр","е1ка","ека2б","ек2з","е1ки","2е1ко","2е1кр","ек2ро","ек1ск","ек1сте","е1ку","е1ла","е1ле","еле3ск","еле1сц","е1лу","е1лы","е1лю","е3ля","еми3д2","еми3к","емо1с","2емуж","е2мч","2емыс","е3на","ен2д1р","2е1нр","енс2","ен3ш2","е1нэ","2ео","е1о2б","еоб2ро","е2о3гл","ео2гро","е1од","ео3да","ео2де","еоде3з","ео2до","е1о2ж","е2ои","ео3кл","е1ол.","е1ола","ео3ли","е1олк","е1олы","е1оль","е2ом","е1он.","е2она","е2они","ео3но","е1онс","еоп2","е1опе","ео2пр","ео4пу","е2о3ро","еос2","е1о2сви","ео1ск","е1осм","е1осн","еост1р","ео3сх","е1отл","еот2ру","е1о2ч","е1о2щ","епат2","епа1тр","2епе","епис2к","е2пл","е3пла","еп1леш","е3п2лод","еп1лу","е3плы","еп1лющ","е4пн","2епо","е4п3с","е4пт","е1ра","ер1акт","е2рв","ер1ве","е1ре","е3ре.","ере3до","ере1др","ере1к2","ере3м2н","ере3п","ере1х4","е1ри","ерио3з","е1ро","еро2б","ер1обл","2ерови","2ерокр","2ерол","еро3ф2","ер3ск","е1ру","е2р1у2п","е1ры","е1рю","е1ря","е3с2а","ес2ба","е1сг","е1ск","е2с1ка.","ес1кал","е2ске","е2сков","е4с1ку.","2есл","ес1лас","ес2лин","ес2лов","ес2лом","е1слу","е1слы","е1с4м","е3со","2есп","ес2пек","ес3пол","е2спу","е1ст","ес2тан","е2стл","е3сту","ес2чет","е1та","ет1ве","ет1ви","е1тво","2етеч","е1ти","е1то","ето1с","ет1р","ет2ря","е1ту","е1ты","е1тье","е3тью","е3тья","е1тю","е1тя","е1у2","2еуб","еуб3р","еуз2","еук2ло","ефи3б2","еф2л","еф1ре","еха2т","ех1ато","ех3вал","ех3лоп","ех1об","ех1опо","ех1ре","ех1ру","ех1у2ч","2ецв","е1чл","е2шл","еэ2","ею2г","е1я","ея2з","1ж","жа2бл","жа2бр","жа1з","жат1в","2ж1б2","2ж1в","жг2","2жга","ж2ги","3ж2гл","ж2гу","2ж1д","ж2дак","ж2дач","3ж2дел","4ждеме","ж2деп","ж2ди","4ж2дл","ждо3","жду1","4ждь","3ж2дя","3жев","же3д2","же1к2в","же1кл","же1о2","же3п2","же1с2","же3ск","2жжа","ж2же","2жжев","2ж1з2","жи1о","2жирр","2ж1к","2ж1л","ж2м","ж3ма","2ж3мо","2ж1н","жно1","2ж1об","2ж1о2т1","жоу3","жоу1с","2жп2","жпо1","ж2ру","2ж1с","2жф","2жц","2ж1ч","2жъ","2жь.","2жьс","2жьт","1за1","заа2","заб2","за2в1ри","за2вру","з1аву","заг4","з1адр","зае2д","зае2х","за3ж2д","за3з2","з1акт","за3мне","3з2ан","за3на","занс2","зап2","зар2в","за3р2д","зар2ж","зас2","заст2","зат2","за3тк","зау2","зах2","зач2т","за3ш2","зая2","з1б2","2з3ва.","з2вав","з3валь","з2ван","2звая","з1ве","з2вез","з1ви","з3в2к","з1вла","з1во","2звол","1з2вон","з1вр","1зву","2з1вую","з1вь","2зг","з3га","з2гли","зг2на","з2гну","з1д2в","з2деш","здож3","1зе","зе2б1","зе2ев","зе2од","2зж2","з3з2","1зи","3зи.","3зий.","з1инт","зи2оз","зи2оно","зи1оп","3зис","зи3т2р","зиу3м","3зич","2з1к","зко1","зко3п2","з1л","з2лащ","з2лоб","з2лоп","з2лор","з2лющ","2зм2","з3мн","з1н","2зна.","з2нав","з2нае","з2най","з2нак","з2нан","з2нат","з2наю","2зная","2зне","2з3ни","2зно","2зну","2з3ны","з2обе","зо2би","1зов","зо3в2м","зо2гл","зо1др","1зое","зо1з2","1зои","1зой.","1зок.","з1окс","1зол2","зо1лг","зо1лж","зо3м2","1зом.","2зомн","1зон","2зонр","1зоо","зо2о3п","зо2ос","зо2па","з2опл","з2опр","з1орг","1з2о3ре","зос2","з1осн","зо1сп","зо2тв","з2оте","з1отк","з2ото","зот2ре","зот2ри","1зох","зош2","зо2ши","1зоэ","1зою","з1ра","з2рак","зра2с","з2рач","з2рен","з1рес","з2риш","з1ро","зро2с3","з1ру","з2рю","з1ря","2з1с","2зт","з1ти","1зу","3зу.","2з1у2бе","зу2б3р","зу1в","2зуве","2зу2г","3зуе","2з1уз3","2зу1к","3зуме","з1у2мо","2зуп","зу2пр","з1урб","з1у2те","зу2час","2зц","з1ч","2зш","зъе2м","1зы","2зы2г1","зы2з","2зыме","2зымч","2зы2с1","2зыщ","1зье","1зьи","1зью","3зья","1з2ю","1зя","и1а","и2аб","и2ав","иаг2","и2агр","и2аде","и2ади","иа2зов","иа2му","и3ана","иа2нал","ианд2","иао2","и2ап","иа1с2к","иа1ста","иа1сто","иат1ро","и3ату","и2аф","и2а1х","иа2це","2и1б","и2б1р","2иваж","2и1ве","и2в3з","и1ви","2и1во","и1в2р","и3в2с","и1ву","ив2хо","2ивы","иг2д","и3ге","2игл","и2гле","и2гли","и2гн","игни3","иг1рен","иг1ро","иг1ру","иг1ры","и2г1ря","и1дв","и2дей","и1д2ж","иди1ом","иди1от","ид1р","и1дь","и1е","и2евод","ие2г","ие2д","ие3де","ие2зу","и3ени","ие1о2","иепи1","ие2р","и3ж2д","из1в2","из2гне","1из1д","из2нал","и1зо","изо2о","из1р","и1и","ийс2","и1к","и3к2а","ика1с2","ик2ва","и2кви","и2кля","и3ко","ик1ро","ик1ск","ик2с1т","и3ку","и1л","и2л1а2ц","ило1ск","илп2","и2л1у2п","и2ль","ильт2","2има","и2мено","и2мену","2имень","и3ми","имои2","им3пл","и2м1р","и2мч","им2ча","инд2","1инж","ино2к3л","ино3п2л","ино1с","инс2","1инсп","1инсти","1инсу","1инф","1инъ","и1об","ио2бо","ио2вр","и2ог","и1од","ио2де","и1оз","ио3зо","и1окс","и1оле","и1он","и3онов","и1опт","и1ор","и3ора","ио1ру","ио2са","ио3скл","ио1с2п","и1ота","ио2т1в","и1отк","и1отс","иоуг2","ио2хо","и1ош","2ип","ипат2","ипа1тр","ип2ля","ип3н","ипо3к2","и1р","ира2ст","и2р1ау","и2рв","и2рж","ири2ск","ириу3","иро1з2","1ирр","исан2д1","и2сб","и2сд","ис1к","ис3ка.","ис3кам","ис3ках","ис3ке","ис3ки","ис3ков","ис3ку.","и2слам","ис1лы","ис3ме","ис3му","ис3но","исо2ск","и2с3пр","и4сс","и1ст","и2ст1в","и2стл","ис1тяз","и1сьи","и1т","ита2в","ит3ва","и2т1ве","ит1ви","ит1ву","и2тм","и2т1р","ит2рес","ит3ром","и2т1уч","и3тью","и3тья","и1у2","иу3п","иф1л","иф2лю","и2фр","иха3д","и2х1ас","их2ло2","ихлор1","и3х2о","ихо3к","их1ре","их1ри","и1ху","и1ч","иш2ли","и2шлы","и2шт","ию4л","ию2н","ию2т","ию3та","и1я","ия2д","2й1","йд2","й2д3в","йно1","й2о1с","йо2тр","йп2л","й2сб","й3ска","йс2ке","йс4мо","й2с3му","й2сн","й2с3ф","й2сш","й2тм","й2хм","йх2с3","йя1","ка2бл","ка2бри","1кав","к2ад","ка3дне","ка2д1р","1кае","каз3н","ка1зо","1кай","1кал.","1кало","1калс","1кам","1кан","ка2п1л","ка2пре","кар3тр","3к2ас","ка1ст","1кат","ка1т2р","1ках","ка2ш1т","1каю","2к1б","к2вак","к2вас","к2ваш","к1ви","к2воз","к1ву","2кг","2к1д","кда2","1ке","2кеа","ке2гл","кед1р","ке2с1к","ке2ст1","2к1з","1кив","ки1о","киос1","ки2пл","ки1с2ни","1кит","2к1к2","кк3с","2к3ла.","2к3лась","2к3ле.","2клем","к3лем.","к3лен","к1лео","2к3ли.","2к3лив","к2лик","к2лин","2к3лис","к3лия","2к3ло.","к2лоз","к3лом","2к3лос","кло3т","1клук","к3лы","2кль","1клю","2к3лю.","2кля.","2клям","2клях","2км","2к1н","3к2ниж","к2ноп","3к2няж","к2о","ко1б2ри","1ков","3кова","1код","ко1др","1коз","1кольс","2комин","3конс","коп2р","ко2р3в","ко1ру","1кос","ко1ск","кос3м","ко1сп","1котн","ко2фр","кохо2р3","1кош","2кп","2кр.","к1рел","кре1о","кре2сл","к1реч","1криб","к1рид","к2риз","кри2о3","к2рит","к1рих","к1роа","к1роб","к2рое","к1рок","к1роо","к1рор","к1рос","к1роф","к1рох","к1роэ","кру1с","к1ряд","2кс","ксанд2","к2с3в","кс3г","к2с3д","к2сиб","к1ски","кс1кл","к1ско","кс3м","к3со","к1стам","к1стан","кс3те","к1сто","кс1тр","к1сту","к3су","2к1т","кта2к","3к2то.","кто1с","кт2р","к2у","ку1ве","3куе","1куй","1куля","3кум","куп1л","ку2п1р","1кур","ку3ро","кус1к","ку1ст","1кут","ку3ть","1куче","1куют","3кующ","2кф","2к1х2","2кц","2к1ч","2кш","1кь","к2ю","1ла.","2лабе","ла2бл","2лаго","ла2гр","ла2д1аг","1лае","ла3ж2д","ла1зо","л2ак","лак2р","1лам.","1лами.","лан2д1р","ла1ста","ласт1в","ла1сте","ла1сто","ла2ст1р","ла1сту","ла1стя","ла1т2р","лау1","ла2ус","ла2фр","1ла1х","1лая","2лб","л1бр","л1ве","л1ви","л1во","л1ву","1л2гал","л2гл","лго1","2л3д2","1ле.","ле1вл","лев1ра","ле2г1л","ле1дж","ле3до","ле1з2о3","ле1зр","лек1л","2лемн","1лен","ле1онт","ле1о2с","ле2сб","ле2ск","ле4ска","ле1с2л","ле1спе","ле1тв","ле1т2р","1лех","ле1хр","л1зо","1ли","лиа2м","3ливо","3ливы","лиг2л","ли2гро","лие3р","ли2кв","2лимп","лио1с","ли2пл","лис3м","2л1исп","ли2тв","лиу3м","ли2х3в","ли1хл","ли1хр","2л1к","лк2в","л2к1л","2л1л","л2ль","ллю1","2лм","2л1н","лни2е","1ло","ло2бл","ло1б2р","2ловия","ло2вл","3ловод","ло2г3д","лого1с","ло1др","2лоен","ло1зв","ло2к1а2у","ло2кл","лок3ла","3лопас","ло2рв","2л1орг","ло1ру","лос1к","ло1с2п","2лотд","лот2р","ло2шл","2лп","2л1с2","лс3б","л1т","1лу.","лу1бр","лу1в","лу3г","лу1д4р","1луе","лу1зн","лу1кр","1лун","луо2д","лу3п2ло","лу1с","лу3ть","1лую","2л3ф2","2л1х2","л2х3в","2лц","л1ч","1лы.","1лые","1лыж","1лый","1лым","1лых.","4ль.","2льд","3лье","3льи","2льк","2льм","2льн","3льо","2льск","1льсти","1льстя","2льт","2льц","2льч","1льща","1льще","1льщу","3лью","3лья","л2ю","1лю.","1люж","1люсь","лю1та","1ля","3ля.","ля1ви","3ляво","3лявы","2ляд","3лям","ля1ре","ля1ру","3лях","1м","ма2вз","3маг","ма2гн","ма2др","ма2дь","ма1зо","ма2к1р","2м1алл","ман2д1р","мас3л","ма1с4т","ма2тоб","ма2т1р","ма2у","маф2","3мач","ма2чт","4м1б","м3би","мб2л","м3бля","2м3в2","2мг2","3м2гл","2м1д","меан2","ме2ег","ме2ел","ме2ж1ат","ме1зо","ме2с1к","ме2ст1р","меч1т","2мж","2м1з2","ми2гре","ми1зв","2мизд","ми1зн","ми2кр","мик1ри","ми2оз","ми1опи","ми2ор","ми1с2л","2м1к2","3мкн","2м1л","м2лее","м2лел","2мм","2м1н","4м3на","мне1д","3м2неш","4мное","м2нож","4мной","4мном","м2нор","4мною","м2нут","4м3ны","мо1б2","мо3вл","3мод","мо1др","мо2жж","мо1зв","мо1зр","моис1т","мо2к3в","мо3м2","3мон","3моп","мо1ру","мос1ка","мо1см","мо1сн","мо1с2п","3моти","мо2т1р","3моф","2мп","мп2л","м1раб","2мри","2м1ро","м1ры","2м1с","мс2к","мс2н","м2с1ор","3м2сти","2м1т","му1с2к","му1с4л","му1ст","мут1р","му3ть","2мф","мфи3","2м1х","2мц","м2чав","м2чал","м2чит","м2чиш","2мш2","2мщ","3м2ще","мым1","мы2мр","мы2с","2мь.","2мьс","мью1","2мэ","мэ1р","м2ю","мя1р","мя1ст","1на","наби1о","наб2р","на1в2р","наг2н","на3жд","на1з2","на2ил","на2ин","на2и1с2","4накк","на3м2н","нап2л","на1рва","на1р2ви","на1с2","на1тв","на1т2р","н1а2фр","на1х2","2нач","на3ш2л","2нащ","наэ1р","3ная","2н1б2","2н1в","2нг","н2г1в","нги2о","нг4л","нго1с","нг2р","2н1д","н2дак","н2д1в","нде3з","нде2с","нд2ж","н3д2з","н2дл","нд1раг","нд1раж","нд2ре","нд2риа","н2дря","нд2сп","н2дц","1не","не1б2","не1в2д","2невн","не3вня","нег2","3нед","не1д2л","нед2о","не2дра","не1дро","не3ду","не3е","нее2д","не3ж2д","не1зв","не1з2л","не1зн","не1зо","не1зр","неи2","не1к2в","не1кл","не3м2н","3не1о2","не2ода","не2ол","не3п2","не1р2ж","не2р1от","нес2к","не3с2н","не1с2п","нест2","не1с2х","не1с2ч","не1т2в","не3т2л","не1т2р","3неу","не2фр","не1хр","не3шк","нея2","2н1з2","нзо1с","1ни","ни3б2","ни2ен","3ний","ни2кл","нила2","ни2л1ал","ни2л1ам","2нинсп","2н1инст","ни1сл","нис3п","нист2р","ниу3","ни1х","3ниц","3нищ","2н1к","нк2в","нк2л","нкоб2","нко3п2","н2к1ро","нк1с","н1л","2н1н","нно3п2","1но","ноб2","но1бр","но2вл","но1дв","но1др","но2ер","но1зв","но2зд","но3з2о","но1зр","но3кн","3номе","ном3ш","но2рв","но1ру","но1скл","но2сли","но1с2п","но2сч","2нотд","но3ф2","ноэ2","н3п2","2н1ре","2н1ри","н1ро","2н1с","н2с3в","н2сг","нс2ке","н2скон","н2сл","н3сла","н2с3м","н2сн","н2с1ок","н3с2пе","нст2р","нсу2р","н2с3ф","н2съ3","2н1т","н2т1в","нти1о2к","н2тм","нт2ра","н2тр1а2г","нтр1аж","н2трар","нтрас2","нт2ре","н2трив","н2трок","нт2ру","нтр1уд","нт2ры","н2т1ря","1ну","нут1р","ну1х","3ную","2нф2","н1х","нхо1","2нц","2н1ч","н2чл","2нш","нш2т","2нщ","1ны","3ны.","2нь.","1нье","1ньи","2ньк","1ньо","2ньс","2ньт","2ньч","1нью","1нья","н2э","1н2ю","2н3ю2р","1ня","ня1ви","2о1а2","о3ав","оап1","2оба","2обио","об2лев","об2лем","о1блю","1обм","обо1л2г","обо3м2","обо2с","2обот","об1р","о2бра.","о1брав","о1бран","1объ","2обь","о1в","о3вла","о3в2ло","ов3но","о3в2нуш","о2в1ри","ов2се","ов3ско","ов2т","о2вх","ог2","2о3ге","ог3ла.","ог3ли.","ог3ло.","о3гря","2одан","од1вое","о3де.","1о2деял","2оди3а","2о3дим","од2лит","о2д1о2пе","одо3пр","о2д1о2пы","о2доси","о2д1отч","о1драг","од1раж","од1раз","од1рак","о1драл","од3реб","о1дроб","од1ров","о2д1у2ч","о2дыма","о2дыму","о2дын","о1дь","о2дьб","о1е","ое1б","о2е1вл","ое2д","о3ежек","ое2жи","ое1о","ое1с2","ое2ст","о2ето","ое2ц","о3жди","о3ж2ду","оза2б3в","2озав","о1з2ва","оз2вен","оз2ви","о1з2вя","оз2гло","оз2дор","о1здр","озе1о","оз3но","о1зо","о2з1об","2озон","о2зоп","озо1ру","оз1уг","о2зым","о3зыс","о3и","ои2г1","оиг2н","оие3","ои2з","ои2м","ои3мо","ои2о","2ой","ойс2","о1к","2о3кан","ок2в","2ок2л","о3клю","око1б","2о3кол","око3п2л","ок1ск","1окт","2окти","2окум","о3ла","ол2ган","о1ле","1олимп","о3ло","о1лу","олу3д2","о1лы","о1лю","о3ля","о3ма","ом2бл","2оме","о3м2нем","о3м2нет","о3множ","ом1ри","ом2ч","ом2ше","о2мь","о3мья","о3на","онд2","оне3ф2","оно1б","о1нр","онс2","он2тру","о1о2","о2ол","оо3пс","оос3м","оост1р","о2оти","о2оф","о3пак","о3пар","о2пле.","о2п1лей","о2пли","оп2лит","оп2ло","оп3лю.","о2пля","о3пляс","опо4вс","опоз2н","опо2ш3л","оп2ри","о3п2те","оп2то","о1ра","ора2с3","ор2б3л","о1р2в","о1ре","2о3рег","оре2ск","о1ри","ор1исп","о1ро","оро2с3л","ор2тр","о1руе","о1рук","ор1укс","о1рус","2орц","о1ры","о1рю","о1ря","о3сад","оса3ж2","ос2б","о2с3ба","о2с1ка.","ос3кар","оск1во","о2ске","ос1ки","о2ски.","о2сков","ос1кой","ос1ком","о1с2коп","ос1кою","о2с1ку.","ос1кую","о1с2л","ос3лей","ос3лог","ос3лых","ос3ми","ос3мос","о1с2ним","ос2нял","ос2пас","о1с2пу","ос2пя","ос2св","ос2с3м","о1ст","ос2та","о3стра","о2суч","2осх","ос2цен","о1с2ч","о1с2шив","о1т","отв2","от3ва","от1ве","от1ви","от1вл","1отг","1отд","2о3тек","о3тер","2о3тех","о3ти","о3ткал","о2тм","от1раб","от1рад","от1раз","отра2с","от1реж","от1рек","от1реч","от1реш","от1ри","от1род","от1рое","от1рок","от1рос","от1роч","от1руг","от3см","оту2а","от1у2ч","1отх","о3тью","о3тья","о1у2","оуп2","оус2к","оу3та","оу3то","2офаш","о3фе","2офит","2офон","о2фори","2офот","о2фри","2охи","ох1лы","о2хля","ох2ме","2охор","о1хр","о1ху","о2цо","оча1с","оч2л","оч1ле","о3чли","о1чт","о2ч1то","ош3ва","ош2ла","ошпа2к3","ош2т","оэ1ти","2ою","о1я","оя2в","оя2д","оя2з","оя2ри","1п","пави3","пав3л","па2вь","па2др","па2ен","па1зо","пас1л","пас1та","па1сте","пас1то","пас1ту","па2с1ты","па1тро","па2ун","па3ф","па1ху","па2шт","2п1в2","2п1д","пе1","пе2дв","пе2д1ин","пе2з","пе3за","пе3зо","пе2к1ла","пе2ль","пе4пл","пери1о","пе2с1к","пе2сн","пе2ст1р","пе2сц","пе2сч","пе2тр","пе2шт","пиаст1","пи2ж3м","пи2к1р","3пинк","3пися","4п3к","2пл.","4пла.","пла1с","п1лем.","п1лемс","2плен","п2ленк","п1ле2о","плес1к","п1лею","2плив","3п2лик","2пло.","2плов","2плог","2плый","2плым","п1лын","п1лых","2плю.","п1лют","п2ляс","п2ляш","2п1н","п3на","п3но1","п3ны","по1б2","по3вл","по3в2с","под1во","по2д1о2к","подо3м2","пое2л","пое2х","по1зве","по1здо","по1з2л","по1зн","пои2щ","3пой","3полк","по3мно","по3мну","3по3п2","п1орг","пор2ж","по1ру","по1с4","3посл","по3сс","пот2в","пот2р","по1х2","по2шло","по2шлы","по2шля","поэ3м","2пп2","ппо1д","2пр.","3прев","пре1з","прей2","пре1л","пре1ог","3прет","при1","при3в","приг2","при3д2","при3к","при3л","приль2","прип2","п2риц","про1бл","прод2л","про3ж2","про1з2","п1розо","3прои","про3п","профо2","2прс","п2ру","2п1с2","3п2сал","п3син","3п2сих","п3со","2п1т","п2т3в","3п2тих","п3ту","3пуб","пуг3н","пус1ку","пу1ст","пу3ть","2пф2","пх2","2пц","4п3ч","2пш","2пщ","2пь.","2пьт","пэ1ра","п2ю1","1ра.","раа2","ра2бл","1рабо","ра2б1р","1равня","ра2гв","ра2гл","рад2ж","радо1б2","ра2дц","ра2жур","ра2зий","ра2зуб","рак2в","1ракиз","ра2к3л","1ралг","1рамк","1рамн","ра2нох","ран2сц","ра2п1л","рас3к2","1расл","рас3п","рас1т","1раста","рас3т2л","ра2так","рат1в","ра1т2р","2рахи","1ращи","1раю","1рая","2раят","2р1б","рб2ла","р2бле","рб2ло","рб2лю","рбо3с","1р2вав","р3вак","р3вар","р3вата","р3веж","р2вео","1рвет","р1ви","р3вин","р2вит","р1во","рво1з2д","р1вь","2рг","р2гв","р2г1л","р2гн","рг2р","2р1д","рда1с","р2д1в","рд2ж","рди2а","р2дл","рдос2","р2дц","1ре.","ре1вр","рег2ля","рег2н","ре2д1о2п","ре2дос","рее2в","рее2д","рее2л","ре3ж2д","1резк","ре1з2л","ре1зна","1ре1зо","ре1зр","рез2у","1рейш","ре1к2л","1рекш","ре3мно","3ремо","ремо2г3","1ренк","1рень","ре1он","ре1оп","ре1о2р","ре1о2ф","ре1ох","ре1о2ц","1репь","ре3р2","рес1ки","ре1сл","ре1с2п","рес2с3м","ре3ста","ре3сто","ре1сч","ре1тв","ре1т2р","реуч3т","ре1чт","ре3шл","р3жа.","р3жам","р3жан","р3ж2д","2рз","р1з2в","р1зо","ри3а","риб2","ри3бр","ри3в2н","2риги","ри2гло","ри3г2н","2ридж","ри1д2р","рие2л","рие3р","риз2в","рик2р","ри3м2н","ри3м2ч","р2ин","1ринс","рио2з","рио2с","ри1от","ри3р2","ри1с2","ри3сб","2рисп","ри3ств","ри3т2р","1риу","ри2фл","ри3фр","ри1хл","1риц","1риш","риэти2","2р1к","р2кв","р2к1л","рк1с","2р1л2","р2ль","рлю1","р3ля","2рм","р2мч","2р1н","рнас4","рне3о","рне1с2","рно3сл","1ро.","ро2блю","ро1б2р","ро2вл","1рогол","1рогру","ро1дв","ро3д2з","ро1дл","род2ле","ро2д1от","ро1др","1родь","рое2л","рое2м","рое2х","1розар","ро1з2в","ро1зр","3розыс","рои2с3","1рокон","1рокр","1ролис","1ролиц","1ромор","1ронаж","1ронап","1ронос","рооп1р","ро2плю","ро3пс","2р1орг","ро1р2ж","ро1ру","ро1ск","ро2ски","ро2ску","1росл","ро1см","ро1с2п","рос2ф","1росш","1росю","1рот2в","1ротк","рот2ри","1роу","роуг2","ро2ф1ак","ро2фр","ро1хл","рош2л","ро3шн","1рояз","2рп","рп2ло","р2плю","2р1р","4р1с","рс2к","р2сн","рс2п","рств2","р3ствл","2р1т","р2такк","р2т1акт","р2т1в","рт3ва","рт2вл","р2тм","р2т1об","рт1орг","рт1ра","рт2ран","рт1ре","рт1ри","ртус1","р2т1у2чи","р3тью","рт1яч","1ру.","1руба","руг3н","ру2дар","1ружей","2рукс","1рул","рус1к","рус3л","ру1ста","руст1р","ру3ть","1руха","1рухо","1ручн","2рф","рф2л","2рх","р2хв","р2х1ин","рх1л","р1х2ло","р2х1оп","рх1р","2рц","р2цв","2р1ч","р2чл","р2чм","2рш","р3ш2м","рш2т","2рщ","2ръ","1ры.","1рыб","ры2дв","2рыз","ры2кл","1рым","ры2с1к","ры2х1","2рь.","1рье","1рьи","2рьк","2рьс","2рьт","1рью","1рья","рэ1л","р2ю","1рю.","1рюс","ря1ви","1ряю","1са","са2бл","са2дь","са2кв","са2кл","2с1альп","с1апп","2с1арк","2с1атл","са1тр","са2ун","са2ф1р","са1х2","1сб2","2сбе3з2","сбезо3","сбе3с2","2с3бу","с2бы","2сбю","1с2в","2с3вен","сг2","с2ги","с2гн","с2го","1сд2","с2да","с2де","с3ди","с2до","1с2е","сег2н","се1з2","се1кв","сек1л","се2к1р","секс4","семи1","сере2б","се2ск","се2ст","се3ста","се3сте","сест1р","1с2ж","с1з","1с2и","3сиз","си1ом","си1оп","си2пл","си1х","4ск.","2скам","с2канд","1с2каф","2сках","ск2ва","с2кви","3скино","ск2л","с2кля","ск3ляв","2скн","с1кон","2скона","с2копс","2скош","ск2р","с1кра","2скриб","ск1с","2скуе","2с3ла.","1слав","1слад","с1лам","2с3лая","с3лев","с3лее","с1лей","слео2","с1лет","с3лею","2с3ли.","2слиц","2с3ло.","с2лож","с3лому","2с3лос","2с3лую","2с3лые","2с3лый","2с3лым","2сль","с1люс","2с3ля","с2м","1смес","с4мея","с3мур","с1н","1с2наб","с2нас","2сная","1с2неж","2с3ник","2сно","сно1з2","2сную","2с3ны","1со","со1б2р","с2ов","сов2р","со1д","со1з2","со1л2г","со3м2","со2рие","со1ру","со1ск","со1с2п","со2сь","сот2р","со1чл","сош2л","сп2","с2пав","с2пее","с2пел","с2пен","с2пех","1с2пец","с2пеш","с2пею","с2пим","2спися","с3пн","спо1з2","2спол","с2пос","2спь","1ср","2ср.","с2раб","сра2с","с1рат","сре2б1","сре3до","2с1с","ссанд2","с2сб","сс3во","4с5си","с3с2к","сс2л","с2сн","с3с2не","с2сори","сс2п","сст2","сс2ч","2ст.","1ста.","2стб","4ств.","ст1вер","2ствл","ст2вол","ст2вя","с2те","1с4те.","1стей","1стел","1стен.","с3тет.","с3тете","сте3х","с3теш","1сти","с2тие","с2тии","2стимп","2стинд","2стинф","2стинъ","с2тич","с2тишк","с2тию","2стк","ст2ла","с3т2ле","2стли","ст2лил","ст2лит","2стля","2стм","2стн","1сто.","с2то1б","1стов","1стог","сто2г3н","1стод","1стое","3с2тои","1сток","1стом","1стон","2сторг","2сторж","2сторс","1стос","1стот","с2тоц","1стою","2стп","2стр.","страс2","4страя","2стред","ст1рей","2стрив","ст1риз","2стрил","2стрищ","ст1роа","с4т1ров","ст1род","ст1рох","ст2руб","ст1руш","2стс","с1тут","1стую","2стф","2стц","1сты","с2тыв","с4ть","2сть.","2стьс","3стью","1стья","1стям","1стях","1су","су2б","суб1а2","суб1о","су1в","су3гл","су2ев","су2з","су1кр","сума1","супе2","сус3л","сус3п","су1ст","сут1р","су2ф3","су1х","1с2фе","с1х2","1с2хе","2сца","с2цена","2с3ци","2сцо","сч2","1сча","с2час","сче2с1к","с3чив","2счик","с2чит","с1чл","2счо","сш2","с3шн","1съ2","съе3д","съе3л","1сы","сы2г1","сы2з","сы2п1л","сы2с","сыс1ка","2сь.","1сье","2ськ","2сьт","1сью","1сья","сэ1р","с2эс","1с2ю","сю1с","1ся","2сяз","ся3ть","та2бл","таб2р","та1ври","1таг","та2гн","та1з2","так3ле","т2ан","та2пл","1тас","та1ст","та1тр","1тащ","2т1б2","2тв.","2т2ва","т1вей","т1вел","т1вет","2тви","т1вое","т1во1з","2т1вой","т1вос","2твою","2т1вр","2тву","2твы","2твя","2тг","2т1д","1т2е","те2гн","те1д","те1зо","3тека","тек1л","3текш","теле1о","тем2б1","те2о3д","те1ох","те4п1л","те2рак","тере2о","3терз","тер3к","3теря","те2ска","те2с1ки","те2с1ко","те2ску","тест2","те2хо","2тж","2т1з","тиа2м","ти2бл","ти3д2","ти1зна","тии2","тиис1","тик2","тила2м","т1имп","2т1инв","т1инд","2тинж","2тинф","ти1с2л","ти3ств","ти3ф2р","ти1хр","2т1к2","3т2кав","3т2кан","3т2кет","3ткн","2т1л","тло2б","т2ль","тм2","тми2с","тмист1","т3мщ","2т1н","то2бес","то1б2л","2тобъ","то2вл","то1д","то3д2р","то1з2","ток2р","2т1омм","2томс","2тонг","1торг","1торж","1торс","то1ру","1торш","то1с2н","то1с2п","то1с2ц","2тотд","то3тк","1тощ","2тп2","тпа1т","т1рага","2т1раж","2трб","2трв","2трг","2трд","трдо2","т1реа","1требо","1требу","т1ребь","т1реве","т1ревш","т1рег","т1ред","т1рее","т1реза","т1резн","треп1л","3тре2с","трес1к","т1рест","т1рету","3т2ре2х","т1рец","т2решь","т1рею","1триб","т1рив","три2г1л","т1рил","т1рим","4тринс","три1о","т1рит","три3ф","т1рищ","2трм","2трн","т1рогл","т1роид","2трой","тро3пл","т1рор","т1росо","тро3т","4т3роц","2трою","2трп","2трр","1труб","т2руд","2трук","т2рум","т2рут","2трф","2трщ","2тръ","т1ры","т1ря.","т1ряв","2т1ряд","т1ряе","т1ряж","т1ряй","т3ряк","т1рят","т1рящ","т1ряя","4т1с2","т2сб","т2с3д","тсеп2","т2с3м","т2с3п","2т1т","т2тм","ту2гр","ту2жин","2т1у2пр","ту1сл","ту1ст","ту2фл","1туша","1тушо","1тушь","1тущ","2тф","2т1х","4тц","2т1ч","2тш2","2тщ","2тъ","ты2г1","ты2с1к","2ть","4ть.","3тье","3тьи","ть2м","4тьт","тью1","2тэ","т2ю","тю1т","1тяг","1тяж","1тяп","2тя2ч","у1а","у2але","у2ас","у3бел","убо1д","убос2","уб1р","1убра","уб3рю","1у2быт","у1ве.","у1ви","ув2л","у1во","у1ву","у2гв","у2гл","у2гн","уг2на","уг2не","уг1ре","уг1ря","уда1с","уд2в","уд1рам","уд1ро","у3ду","у1е","уе2д","уе2л","уе1с","уе2с1к","уес2л","уе2х","у2жж","у1з2в","у1зо","узо3п","у1и","у1ка","ук1в","у1ки","у1ко","уко1б","у1ку1","у1ла","у1ле","у1лу","у1лых","у1лю","у2мч","у3на","ун2д1р","у1нь","у1о","уо2б","уо2в","у2оза","уо2к","уо2п","уо2с","уост1","уо2т1","уо2ф","у2пл","уп1лю","у3про","у1ра","у1ре","уре2т3р","у1ри","урке3","у1ро","у2род","уро2дл","урт2р","у3ру","у1ры","у1рю","у1ря","у2сад","у1сг","ус1ка","ус1ки","уск3л","ус1ком","у1скр","ус1ку.","ус2л","усла4ж3","ус3ли","у1см","у2сн","ус2п","ус3с","у1сте","у1стя","у1сф","2усц","у2сч","у2сь","у3сья","у1та","у3тер","у1ти","ут2ля","у1то","уто3п2с","ут1ри","у1ту","у1ты","у1тье","у3тью","1утю","у1тя","у1у","ууг2","уу2с","у3фи","уф1л","уф2ля","у2фр","ух1ад","уха2т","у2хв","у3х4во","ух1л","ух3ля","ух1р","у2чеб","1учр","у1чь","у3ше","у3ши","у2шл","уш1ла","у2шп","2уэ","у1я","уя2з","1ф","фа2б1","фа2гн","фа1зо","фан2д","фанд1р","фа1тр","фа2х","3фаш","фаэ1","2ф1б","2ф1в","2фг","2ф1д","фев1р","фед1р","фе1о3","фе2с1к","ф4и","фиа2к1","фи2гл","фи2ж","фи2зо","фи2нин","фи1о","3фит","2ф1к","ф2ла","ф2ли","ф2ло","2фм","2ф1н","2фобъ","3фон","фо2рв","2ф1орг","фор3тр","фо1ру","фос1к","3фот","фото3п","ф1раб","фра1з","фра1с","ф1рат","ф2рен","фре2с","ф1ри","ф2риж","ф2риз","ф1ро","ф2рон","ф1ру","2ф3с","2ф1т","ф2тм","ф2тор","2ф1у2п","фу3тл","2фуф","2фф","2ф1ч","2фш2","2фь.","ф2ю1","1ха","ха2бл","ха2д","2х1ак","хан2д","хао3","х1арш","2х1б","1х2в","2х3ве","2х3ви","х3вы","2хг","х3д2","1хе","хео3","х1з2","1хи","хиат1","хие2","2х1изы","хи1с2","х1к2","х1лав","х1лас","х1лат","х1лац","1хлеб","х2лес","х1лет","х3ло.","х2лоп","1х2лор","х1лу","1х2му","2х1н","3х2ны","1хо","2х1о2к","хоп2","хо2пе","хо2пор","хо1ру","х1осм","2х1осн","хоф2","хох1л","хоя2","хп2","х1раз","1хран","х1ра1с2","х1рей","хри2пл","х2рис","х1ров","1хром","хро2мч","х1ры","х1ря","2х1с2","2х1т","1ху.","х1у2г","2хуе","2хуй","1хун","х1у2р","ху3ра","1хус","1хуш","2хую","х1х2","2х1ч2","2хш","хью1","1ц","ца1","3ца.","3цам","ца2пл","3цах","2ц1б","ц2ве","2цвы","2цг","2ц1д","це1з","це1к","це1от","цеп1л","цес2л","це1т","2цетат","2ц1з","ци1","ци2к1","цик3л","ци2ол","цип2","ци2ск","циу3","циф1р","2ц1к2","2ц1л","2цм","2ц1н","ц1о2б","2ц1о2д","2ц1от","2цп2","2ц1р","2ц1с","2ц1т","3цу","2цц","2ц3ш2","3цы","цы2п","цып3л","цю1","1ча","ча2др","ча2дц","ча2ево","ча2евы","ча2ер","част1в","ча1сте","ча1сту","ча1стя","3чато","3чаты","2ч1б","ч1в","2ч1д","1че","че1вл","че2гл","че1о","чер2с","черст1","че1сл","ч2ж","чжо2","1чи","3чик","3чиц","2ч1к","1ч2ла","ч2ле","ч3лег","ч3леж","2чли","ч2ли.","1ч2ло","1чм","2чма","2чме","ч2мо","2ч1н","3чо","2ч1с","2ч1та","ч2те","2чтм","1чу","3чук","ч2х","2ч1ч","2чь.","1чье","1чьи","2чьс","2чьт","1чью","1чья","1ш","ша2бл","ша2гн","ша2г1р","ша2др","шан2кр","шар3т2","ша1ст","ша1тро","2ш1б","ш2в","ш3вен","ше2гл","ше1к","ше1о2","ше3пл","ше1с2","ши2бл","ши2пл","шиф1р","2ш1к2","3ш2кол","2ш1лей","2шлен","ш2ли.","2шлив","2шлил","ш2лин","ш2лис","ш2лите","ш2лиф","ш2ло.","2шлов","ш2лог","ш1лы","ш2лю","2шляе","2шляк","ш2ляп","2шлят","2шляч","2шляю","2шм","3ш2мы","4ш3мы.","2ш1н","4шни","ш2нур","ш2п2","ш3пр","2ш1р","2ш1с","ш1ти","2штс","шу2ев","шуст1","2шф","ш1х","2шц","2ш1ч","2шь","4шь.","3шье","3шьи","3шью","3шья","ш2ю1","1щ","2щ3в2","ще1б2л","ще2гл","щед1р","щеи2","щеис1","ще1с","ще1х","щеш2","ще3шк","щи2п1л","2щм","2щ1н","2щ1р","2щь.","ъ1","ъе2г","ъе2д","ъе3до","ъе2л","ъ2е2р","ъе2с","ъе2хи","ъю2","ъя2","ъя3н","ы1","ы2бл","ы3га","ы3ги","ыг2л","ы2гн","ы2дл","ыд2ре","ы2д1ро","ы2дря","ые2","ы3ж2д","ыз2ва","ыз2д","ы2зл","ы2зн","ыз2на","ыи2","ыиг1","ы2к1в","ык2л","ы2к3ло","ыко1з","ык1с","ы2ль","ы2мч","ынос3л","ы3по","ыра2с3","ыр2в","ыре2х","ы3са","ы3се","ыс1ки","ыс1ку","ы2сн","ы3со","ыс2п","ы2сх","ыс2ч","ы2сш","ыт1ви","ыт2р","ы3тью","ы3тья","ыу2","ы2ш1л","ы3шь","ь1","ьб2","ь2вя","ь2дц","ь2е","ье1зо","ье1к","ье2с1к","ь2зн","ь2и1","ь2кл","ьми3д","ьми3к","ьмо1","ьне2о","ь2о","ь2п1л","ь3п2то","ьс2к","ь2сн","ь2сти","ь2стя","ь2т1амп","ьти3м","ь2тм","ь2тот","ь2траб","ьт2ре","ьт2ру","ьт2ры","ьхо2","ьхоз1","ь2ща","ь2ще","ь2щу","ь2ю","ь2я","ья1в","ь3ягс","1э","э1в","эв1р","2эг","эд1р","эк1л","экс1","эк2ст","эле1о","э2м","э3ма","э2н","э3нь","эо2з","э2п","эпи3к","э1ре","э1ри","эри4тр","эро1с2","э1ру","э1ры","эс1","эск2","эс3м","э2со","эс3те","эс2т1р","э2те","этил1а","эт1ра","э2ф","эх2","эхо3","э2ц","эя2","1ю","ю1а","ю1б","ю2бв","ю2бл","ю2б1ре","ю1в","ю1дь","ю1е","юз2г","юзи2к","ю1зо","ю1и","ю2идал","ю1к","ю2к1в","ю1ла","ю1ле","ю2ли","ю1лю","2юм","ю2мч","ю2нь","ю1о1","ю1ра","ю1ре","юре4м","ю1ри","юри2ск","ю1ро","ю1ру","ю1ры","ю2с1к","ю1ста","ю1сте","ю1сто","ю1стя","ю1ти","ю1то","ю1ту","ю1ты","ю1х","юха1с","ю1ч","ю2щь","ю1я","я2бр","яб1ра","яб3ре","яб1ри","яб3рю","3явикс","я1во","я1ву","я1в2х","я2г1л","я2гн","яд1в","яд1р","я1е","яз2гн","я1зо","я1и","я1к","я2к1в","я2к1л","як1с","я1л","я2ль","ям2б3л","я2мь","я3на","янс2","я1ра","я1ри","я1ро","я1рь","яс1к","яс1л","яс2т","яст3в","я1сто","яст1р","я1та","ят3в","я3ти","яти1з","я1то","я1ту","я1ты","я3тью","я3тья","я1тя","я1у","ях1л","я1ху","яце1","я2шл","2яю.","2я1я",".бо2дра",".вст2р",".доб2рел",".до1б2ри",".об2люю",".об2рее",".об2рей",".об2рею",".об2рив",".об2рил",".об2рит",".па2н1ис",".пом2ну",".реа2н",".ро2с3пи",".со2пла","а2ньш","атро2ск","безу2с","бино2ск","виз2гн","выб2ре","гст4р","ди1с2лов","дос2ня","дро2ж3ж","2дружей","е2мьд","е2о3плато","е2о3пози","ере3с2со","4ж3дик","4ж3дич","заи2л","зао2з","2з1а2хав","заю2л","з2рят","зу2мь","6зь.","и2л1а2мин","илло3к2","й2кь","ла2б1р","лу3с4н","ме2динс","ме2д1о2см","мети2л1ам","мис4с3н","нар2ват","не2о3ре","ни1с2кол","ни4сь.","но4л1а2мин","н2трасс","о2д1о2бол","о4ж3дев","о1и2с1тр","ойс4ков","о2м3че.","они3л2ам","он2трат","о2плюс","осо4м3н","оти4дн","пере1с2н","по2доде","по2д1у2ро","пое2ж","по2стин","прем2но","приче2с1к","пти4дн","редо4пл","реж4ди","рни3л2а3м","роб2лею","2сбрук1","со2стрит","со3т2кал","2стче.","2стьт","сы2мит","2сься.","6тр.","тро2етес","6хуя.","ы2рьм","ыя2вя","ьбат2","а1вё","а2двё","а1ё","аз3вёз","а1лё","2алёк","2амёт","ам2нёт","а1рё","ас3тём","а1тьё","1бё","бё2д1р","б3лён","б2лёс1к","б2люё","б1рёк","б2рём","б2рёх","1веё","3везё","вёд1р","1вёз","2вёрд","1вёс","в2лёк","в2лёт","1вмё","в2нёс","2в1рён","3всё3","1вьё","г1лё","г2лёт","г2нёв","г3нён","г2ноё","д1вё","1дё",".доб2рёл","2доплё","до2прё","д1рё","д2рёб","2д3рёж","д2рём","1дрёма","1дрёмы","2д3рён","дъё2м","1дьё","еб1рён","е1вё","2евёр","2е1врё","е2глё","е1ё","2ежё","е3зё","е1лё","2епё","ер1вё","е1рё","ерё3до","ерё1к2","ес2чёт","ет1вё","е1тьё","2ёб","ё1бра","ёб1ры","ё1ве","ё1во","2ё1вре","ё1ву","ё1дру","2ё3душ","2ёже","ё3зе","ёз1о2г","ё1зом","ё1ка","ё1ки","2ё1ко","2ё1кр","ёк2ро","ё1ку","ё1ла","ё1ле","ё1лу","ё1лы","2ёмуж","ё2мч","ё3на","ён2д1р","ёнс2","ёпат2","2ёпе","ё2пл","ё3пла","ёп1лу","ё3плы","ё4пн","2ёпо","ё4пт","ё1ра","ё1ре","ё3ре.","ё1ри","ё1ро","ёр3ск","ё1ру","ё1ры","ё3с2а","ё1ск","ё2с1ка.","ё2ске","ё4с1ку.","2ёсл","ё3со","ё1ст","ёс2тан","ё3сту","ё1та","2ётеч","ё1ти","ё1то","ёто1с","ёт1р","ё1ту","ё1ты","ё1тю","ё1тя","ёха2т","ёх1ато","ёх3вал","ёх3лоп","ёх1опо","ёх1ру","3жёв","жё1с2","ж2жё","за3мнё","з1вё","з2вёз","1зё","з2наё","2знё","1з2о3рё","з2отё","зот2рё","3зуё","зъё2м","2зымё","2и1вё","иг1рён","и1ё","их1рё","1каё","1кё","к3лён","к2роё","3куё","ла1стё","лё3до","лё1з2о3","лёк1л","1лён","лё2ск","лё4ска","1лёх","2лоён","1луё","3льё","1льщё","3м2нёш","3м2щё","нд2рё","не3ё","1нё","нё1б2","3номё","1ньё","од3рёб","о1ё","оё2жи","о1лё","2омё","о3м2нём","о3м2нёт","о2п1лёй","о1рё","о2скё","от1вё","2о3тёк","о3тёр","от1рёк","от1рёш","о3фё","пё1","пё2ст1р","пё2тр","2плён","п2лёнк","плёс1к","п1лёю","поё2ж","3прёт","причё2с1к","р2блё","1рвёт",".рё2бр","1рёзк","рё1зна","1рё1зо","рёз2у","1рёкш","3рёмо","1рёнк","рё3ста","рё3сто","род2лё","роё2м","1рьё","с2дё","се3стё","1с2ё","сёкс4","сё2ст","сёст1р","2скуё","с1лёт","с2тё","1стёл","1стён.","с3тёт.","с3тёте","стё3х","с3тёш","с3т2лё","счё2с1к","1сьё","т1вёл","т1воё","1т2ё","тё2гн","тё1зо","3тёка","тёк1л","3тёкш","тё4п1л","тёр3к","тё2ска","тё2с1ки","тё2с1ко","тё2ску","тё2хо","3т2кёт","т1ревё","3т2рё2х","т2рёшь","тро2етёс","3тьё","уг2нё","уг1рё",".уё2","у1ё","у1лё","у1рё","у1стё","у3тёр","у1тьё","у2чёб","у3шё","2х3вё","1хлёб","х2лёс","ц2вё","1чё","чёр2с","чёрст1",".чё2с1к","ч2тё","1чьё","2шлён","3шьё","ъ2ё2р","ыд2рё","ырё2х","ы3сё","ь2ё","ьё1зо","ь2щё","ю1ё","яб3рё",".не8","8не.","8бъ.","8въ.","8гъ.","8дъ.","8жъ.","8зъ.","8къ.","8лъ.","8мъ.","8нъ.","8пъ.","8ръ.","8съ.","8тъ.","8фъ.","8хъ.","8цъ.","8чъ.","8шъ.","8щъ.","8-7","--8",".а-8",".б-8",".в-8",".г-8",".д-8",".е-8",".ё-8",".ж-8",".з-8",".и-8",".й-8",".к-8",".л-8",".м-8",".н-8",".о-8",".п-8",".р-8",".с-8",".т-8",".у-8",".ф-8",".х-8",".ц-8",".ч-8",".ш-8",".щ-8",".ъ-8",".ы-8",".ь-8",".э-8",".ю-8",".я-8","-а8а8","8а8а-","-а8б8","8а8б-","-а8в8","8а8в-","-а8г8","8а8г-","-а8д8","8а8д-","-а8е8","8а8е-","-а8ё8","8а8ё-","-а8ж8","8а8ж-","-а8з8","8а8з-","-а8и8","8а8и-","-а8й8","8а8й-","-а8к8","8а8к-","-а8л8","8а8л-","-а8м8","8а8м-","-а8н8","8а8н-","-а8о8","8а8о-","-а8п8","8а8п-","-а8р8","8а8р-","-а8с8","8а8с-","-а8т8","8а8т-","-а8у8","8а8у-","-а8ф8","8а8ф-","-а8х8","8а8х-","-а8ц8","8а8ц-","-а8ч8","8а8ч-","-а8ш8","8а8ш-","-а8щ8","8а8щ-","-а8ъ8","8а8ъ-","-а8ы8","8а8ы-","-а8ь8","8а8ь-","-а8э8","8а8э-","-а8ю8","8а8ю-","-а8я8","8а8я-","-б8а8","8б8а-","-б8б8","8б8б-","-б8в8","8б8в-","-б8г8","8б8г-","-б8д8","8б8д-","-б8е8","8б8е-","-б8ё8","8б8ё-","-б8ж8","8б8ж-","-б8з8","8б8з-","-б8и8","8б8и-","-б8й8","8б8й-","-б8к8","8б8к-","-б8л8","8б8л-","-б8м8","8б8м-","-б8н8","8б8н-","-б8о8","8б8о-","-б8п8","8б8п-","-б8р8","8б8р-","-б8с8","8б8с-","-б8т8","8б8т-","-б8у8","8б8у-","-б8ф8","8б8ф-","-б8х8","8б8х-","-б8ц8","8б8ц-","-б8ч8","8б8ч-","-б8ш8","8б8ш-","-б8щ8","8б8щ-","-б8ъ8","8б8ъ-","-б8ы8","8б8ы-","-б8ь8","8б8ь-","-б8э8","8б8э-","-б8ю8","8б8ю-","-б8я8","8б8я-","-в8а8","8в8а-","-в8б8","8в8б-","-в8в8","8в8в-","-в8г8","8в8г-","-в8д8","8в8д-","-в8е8","8в8е-","-в8ё8","8в8ё-","-в8ж8","8в8ж-","-в8з8","8в8з-","-в8и8","8в8и-","-в8й8","8в8й-","-в8к8","8в8к-","-в8л8","8в8л-","-в8м8","8в8м-","-в8н8","8в8н-","-в8о8","8в8о-","-в8п8","8в8п-","-в8р8","8в8р-","-в8с8","8в8с-","-в8т8","8в8т-","-в8у8","8в8у-","-в8ф8","8в8ф-","-в8х8","8в8х-","-в8ц8","8в8ц-","-в8ч8","8в8ч-","-в8ш8","8в8ш-","-в8щ8","8в8щ-","-в8ъ8","8в8ъ-","-в8ы8","8в8ы-","-в8ь8","8в8ь-","-в8э8","8в8э-","-в8ю8","8в8ю-","-в8я8","8в8я-","-г8а8","8г8а-","-г8б8","8г8б-","-г8в8","8г8в-","-г8г8","8г8г-","-г8д8","8г8д-","-г8е8","8г8е-","-г8ё8","8г8ё-","-г8ж8","8г8ж-","-г8з8","8г8з-","-г8и8","8г8и-","-г8й8","8г8й-","-г8к8","8г8к-","-г8л8","8г8л-","-г8м8","8г8м-","-г8н8","8г8н-","-г8о8","8г8о-","-г8п8","8г8п-","-г8р8","8г8р-","-г8с8","8г8с-","-г8т8","8г8т-","-г8у8","8г8у-","-г8ф8","8г8ф-","-г8х8","8г8х-","-г8ц8","8г8ц-","-г8ч8","8г8ч-","-г8ш8","8г8ш-","-г8щ8","8г8щ-","-г8ъ8","8г8ъ-","-г8ы8","8г8ы-","-г8ь8","8г8ь-","-г8э8","8г8э-","-г8ю8","8г8ю-","-г8я8","8г8я-","-д8а8","8д8а-","-д8б8","8д8б-","-д8в8","8д8в-","-д8г8","8д8г-","-д8д8","8д8д-","-д8е8","8д8е-","-д8ё8","8д8ё-","-д8ж8","8д8ж-","-д8з8","8д8з-","-д8и8","8д8и-","-д8й8","8д8й-","-д8к8","8д8к-","-д8л8","8д8л-","-д8м8","8д8м-","-д8н8","8д8н-","-д8о8","8д8о-","-д8п8","8д8п-","-д8р8","8д8р-","-д8с8","8д8с-","-д8т8","8д8т-","-д8у8","8д8у-","-д8ф8","8д8ф-","-д8х8","8д8х-","-д8ц8","8д8ц-","-д8ч8","8д8ч-","-д8ш8","8д8ш-","-д8щ8","8д8щ-","-д8ъ8","8д8ъ-","-д8ы8","8д8ы-","-д8ь8","8д8ь-","-д8э8","8д8э-","-д8ю8","8д8ю-","-д8я8","8д8я-","-е8а8","8е8а-","-е8б8","8е8б-","-е8в8","8е8в-","-е8г8","8е8г-","-е8д8","8е8д-","-е8е8","8е8е-","-е8ё8","8е8ё-","-е8ж8","8е8ж-","-е8з8","8е8з-","-е8и8","8е8и-","-е8й8","8е8й-","-е8к8","8е8к-","-е8л8","8е8л-","-е8м8","8е8м-","-е8н8","8е8н-","-е8о8","8е8о-","-е8п8","8е8п-","-е8р8","8е8р-","-е8с8","8е8с-","-е8т8","8е8т-","-е8у8","8е8у-","-е8ф8","8е8ф-","-е8х8","8е8х-","-е8ц8","8е8ц-","-е8ч8","8е8ч-","-е8ш8","8е8ш-","-е8щ8","8е8щ-","-е8ъ8","8е8ъ-","-е8ы8","8е8ы-","-е8ь8","8е8ь-","-е8э8","8е8э-","-е8ю8","8е8ю-","-е8я8","8е8я-","-ё8а8","8ё8а-","-ё8б8","8ё8б-","-ё8в8","8ё8в-","-ё8г8","8ё8г-","-ё8д8","8ё8д-","-ё8е8","8ё8е-","-ё8ё8","8ё8ё-","-ё8ж8","8ё8ж-","-ё8з8","8ё8з-","-ё8и8","8ё8и-","-ё8й8","8ё8й-","-ё8к8","8ё8к-","-ё8л8","8ё8л-","-ё8м8","8ё8м-","-ё8н8","8ё8н-","-ё8о8","8ё8о-","-ё8п8","8ё8п-","-ё8р8","8ё8р-","-ё8с8","8ё8с-","-ё8т8","8ё8т-","-ё8у8","8ё8у-","-ё8ф8","8ё8ф-","-ё8х8","8ё8х-","-ё8ц8","8ё8ц-","-ё8ч8","8ё8ч-","-ё8ш8","8ё8ш-","-ё8щ8","8ё8щ-","-ё8ъ8","8ё8ъ-","-ё8ы8","8ё8ы-","-ё8ь8","8ё8ь-","-ё8э8","8ё8э-","-ё8ю8","8ё8ю-","-ё8я8","8ё8я-","-ж8а8","8ж8а-","-ж8б8","8ж8б-","-ж8в8","8ж8в-","-ж8г8","8ж8г-","-ж8д8","8ж8д-","-ж8е8","8ж8е-","-ж8ё8","8ж8ё-","-ж8ж8","8ж8ж-","-ж8з8","8ж8з-","-ж8и8","8ж8и-","-ж8й8","8ж8й-","-ж8к8","8ж8к-","-ж8л8","8ж8л-","-ж8м8","8ж8м-","-ж8н8","8ж8н-","-ж8о8","8ж8о-","-ж8п8","8ж8п-","-ж8р8","8ж8р-","-ж8с8","8ж8с-","-ж8т8","8ж8т-","-ж8у8","8ж8у-","-ж8ф8","8ж8ф-","-ж8х8","8ж8х-","-ж8ц8","8ж8ц-","-ж8ч8","8ж8ч-","-ж8ш8","8ж8ш-","-ж8щ8","8ж8щ-","-ж8ъ8","8ж8ъ-","-ж8ы8","8ж8ы-","-ж8ь8","8ж8ь-","-ж8э8","8ж8э-","-ж8ю8","8ж8ю-","-ж8я8","8ж8я-","-з8а8","8з8а-","-з8б8","8з8б-","-з8в8","8з8в-","-з8г8","8з8г-","-з8д8","8з8д-","-з8е8","8з8е-","-з8ё8","8з8ё-","-з8ж8","8з8ж-","-з8з8","8з8з-","-з8и8","8з8и-","-з8й8","8з8й-","-з8к8","8з8к-","-з8л8","8з8л-","-з8м8","8з8м-","-з8н8","8з8н-","-з8о8","8з8о-","-з8п8","8з8п-","-з8р8","8з8р-","-з8с8","8з8с-","-з8т8","8з8т-","-з8у8","8з8у-","-з8ф8","8з8ф-","-з8х8","8з8х-","-з8ц8","8з8ц-","-з8ч8","8з8ч-","-з8ш8","8з8ш-","-з8щ8","8з8щ-","-з8ъ8","8з8ъ-","-з8ы8","8з8ы-","-з8ь8","8з8ь-","-з8э8","8з8э-","-з8ю8","8з8ю-","-з8я8","8з8я-","-и8а8","8и8а-","-и8б8","8и8б-","-и8в8","8и8в-","-и8г8","8и8г-","-и8д8","8и8д-","-и8е8","8и8е-","-и8ё8","8и8ё-","-и8ж8","8и8ж-","-и8з8","8и8з-","-и8и8","8и8и-","-и8й8","8и8й-","-и8к8","8и8к-","-и8л8","8и8л-","-и8м8","8и8м-","-и8н8","8и8н-","-и8о8","8и8о-","-и8п8","8и8п-","-и8р8","8и8р-","-и8с8","8и8с-","-и8т8","8и8т-","-и8у8","8и8у-","-и8ф8","8и8ф-","-и8х8","8и8х-","-и8ц8","8и8ц-","-и8ч8","8и8ч-","-и8ш8","8и8ш-","-и8щ8","8и8щ-","-и8ъ8","8и8ъ-","-и8ы8","8и8ы-","-и8ь8","8и8ь-","-и8э8","8и8э-","-и8ю8","8и8ю-","-и8я8","8и8я-","-й8а8","8й8а-","-й8б8","8й8б-","-й8в8","8й8в-","-й8г8","8й8г-","-й8д8","8й8д-","-й8е8","8й8е-","-й8ё8","8й8ё-","-й8ж8","8й8ж-","-й8з8","8й8з-","-й8и8","8й8и-","-й8й8","8й8й-","-й8к8","8й8к-","-й8л8","8й8л-","-й8м8","8й8м-","-й8н8","8й8н-","-й8о8","8й8о-","-й8п8","8й8п-","-й8р8","8й8р-","-й8с8","8й8с-","-й8т8","8й8т-","-й8у8","8й8у-","-й8ф8","8й8ф-","-й8х8","8й8х-","-й8ц8","8й8ц-","-й8ч8","8й8ч-","-й8ш8","8й8ш-","-й8щ8","8й8щ-","-й8ъ8","8й8ъ-","-й8ы8","8й8ы-","-й8ь8","8й8ь-","-й8э8","8й8э-","-й8ю8","8й8ю-","-й8я8","8й8я-","-к8а8","8к8а-","-к8б8","8к8б-","-к8в8","8к8в-","-к8г8","8к8г-","-к8д8","8к8д-","-к8е8","8к8е-","-к8ё8","8к8ё-","-к8ж8","8к8ж-","-к8з8","8к8з-","-к8и8","8к8и-","-к8й8","8к8й-","-к8к8","8к8к-","-к8л8","8к8л-","-к8м8","8к8м-","-к8н8","8к8н-","-к8о8","8к8о-","-к8п8","8к8п-","-к8р8","8к8р-","-к8с8","8к8с-","-к8т8","8к8т-","-к8у8","8к8у-","-к8ф8","8к8ф-","-к8х8","8к8х-","-к8ц8","8к8ц-","-к8ч8","8к8ч-","-к8ш8","8к8ш-","-к8щ8","8к8щ-","-к8ъ8","8к8ъ-","-к8ы8","8к8ы-","-к8ь8","8к8ь-","-к8э8","8к8э-","-к8ю8","8к8ю-","-к8я8","8к8я-","-л8а8","8л8а-","-л8б8","8л8б-","-л8в8","8л8в-","-л8г8","8л8г-","-л8д8","8л8д-","-л8е8","8л8е-","-л8ё8","8л8ё-","-л8ж8","8л8ж-","-л8з8","8л8з-","-л8и8","8л8и-","-л8й8","8л8й-","-л8к8","8л8к-","-л8л8","8л8л-","-л8м8","8л8м-","-л8н8","8л8н-","-л8о8","8л8о-","-л8п8","8л8п-","-л8р8","8л8р-","-л8с8","8л8с-","-л8т8","8л8т-","-л8у8","8л8у-","-л8ф8","8л8ф-","-л8х8","8л8х-","-л8ц8","8л8ц-","-л8ч8","8л8ч-","-л8ш8","8л8ш-","-л8щ8","8л8щ-","-л8ъ8","8л8ъ-","-л8ы8","8л8ы-","-л8ь8","8л8ь-","-л8э8","8л8э-","-л8ю8","8л8ю-","-л8я8","8л8я-","-м8а8","8м8а-","-м8б8","8м8б-","-м8в8","8м8в-","-м8г8","8м8г-","-м8д8","8м8д-","-м8е8","8м8е-","-м8ё8","8м8ё-","-м8ж8","8м8ж-","-м8з8","8м8з-","-м8и8","8м8и-","-м8й8","8м8й-","-м8к8","8м8к-","-м8л8","8м8л-","-м8м8","8м8м-","-м8н8","8м8н-","-м8о8","8м8о-","-м8п8","8м8п-","-м8р8","8м8р-","-м8с8","8м8с-","-м8т8","8м8т-","-м8у8","8м8у-","-м8ф8","8м8ф-","-м8х8","8м8х-","-м8ц8","8м8ц-","-м8ч8","8м8ч-","-м8ш8","8м8ш-","-м8щ8","8м8щ-","-м8ъ8","8м8ъ-","-м8ы8","8м8ы-","-м8ь8","8м8ь-","-м8э8","8м8э-","-м8ю8","8м8ю-","-м8я8","8м8я-","-н8а8","8н8а-","-н8б8","8н8б-","-н8в8","8н8в-","-н8г8","8н8г-","-н8д8","8н8д-","-н8е8","8н8е-","-н8ё8","8н8ё-","-н8ж8","8н8ж-","-н8з8","8н8з-","-н8и8","8н8и-","-н8й8","8н8й-","-н8к8","8н8к-","-н8л8","8н8л-","-н8м8","8н8м-","-н8н8","8н8н-","-н8о8","8н8о-","-н8п8","8н8п-","-н8р8","8н8р-","-н8с8","8н8с-","-н8т8","8н8т-","-н8у8","8н8у-","-н8ф8","8н8ф-","-н8х8","8н8х-","-н8ц8","8н8ц-","-н8ч8","8н8ч-","-н8ш8","8н8ш-","-н8щ8","8н8щ-","-н8ъ8","8н8ъ-","-н8ы8","8н8ы-","-н8ь8","8н8ь-","-н8э8","8н8э-","-н8ю8","8н8ю-","-н8я8","8н8я-","-о8а8","8о8а-","-о8б8","8о8б-","-о8в8","8о8в-","-о8г8","8о8г-","-о8д8","8о8д-","-о8е8","8о8е-","-о8ё8","8о8ё-","-о8ж8","8о8ж-","-о8з8","8о8з-","-о8и8","8о8и-","-о8й8","8о8й-","-о8к8","8о8к-","-о8л8","8о8л-","-о8м8","8о8м-","-о8н8","8о8н-","-о8о8","8о8о-","-о8п8","8о8п-","-о8р8","8о8р-","-о8с8","8о8с-","-о8т8","8о8т-","-о8у8","8о8у-","-о8ф8","8о8ф-","-о8х8","8о8х-","-о8ц8","8о8ц-","-о8ч8","8о8ч-","-о8ш8","8о8ш-","-о8щ8","8о8щ-","-о8ъ8","8о8ъ-","-о8ы8","8о8ы-","-о8ь8","8о8ь-","-о8э8","8о8э-","-о8ю8","8о8ю-","-о8я8","8о8я-","-п8а8","8п8а-","-п8б8","8п8б-","-п8в8","8п8в-","-п8г8","8п8г-","-п8д8","8п8д-","-п8е8","8п8е-","-п8ё8","8п8ё-","-п8ж8","8п8ж-","-п8з8","8п8з-","-п8и8","8п8и-","-п8й8","8п8й-","-п8к8","8п8к-","-п8л8","8п8л-","-п8м8","8п8м-","-п8н8","8п8н-","-п8о8","8п8о-","-п8п8","8п8п-","-п8р8","8п8р-","-п8с8","8п8с-","-п8т8","8п8т-","-п8у8","8п8у-","-п8ф8","8п8ф-","-п8х8","8п8х-","-п8ц8","8п8ц-","-п8ч8","8п8ч-","-п8ш8","8п8ш-","-п8щ8","8п8щ-","-п8ъ8","8п8ъ-","-п8ы8","8п8ы-","-п8ь8","8п8ь-","-п8э8","8п8э-","-п8ю8","8п8ю-","-п8я8","8п8я-","-р8а8","8р8а-","-р8б8","8р8б-","-р8в8","8р8в-","-р8г8","8р8г-","-р8д8","8р8д-","-р8е8","8р8е-","-р8ё8","8р8ё-","-р8ж8","8р8ж-","-р8з8","8р8з-","-р8и8","8р8и-","-р8й8","8р8й-","-р8к8","8р8к-","-р8л8","8р8л-","-р8м8","8р8м-","-р8н8","8р8н-","-р8о8","8р8о-","-р8п8","8р8п-","-р8р8","8р8р-","-р8с8","8р8с-","-р8т8","8р8т-","-р8у8","8р8у-","-р8ф8","8р8ф-","-р8х8","8р8х-","-р8ц8","8р8ц-","-р8ч8","8р8ч-","-р8ш8","8р8ш-","-р8щ8","8р8щ-","-р8ъ8","8р8ъ-","-р8ы8","8р8ы-","-р8ь8","8р8ь-","-р8э8","8р8э-","-р8ю8","8р8ю-","-р8я8","8р8я-","-с8а8","8с8а-","-с8б8","8с8б-","-с8в8","8с8в-","-с8г8","8с8г-","-с8д8","8с8д-","-с8е8","8с8е-","-с8ё8","8с8ё-","-с8ж8","8с8ж-","-с8з8","8с8з-","-с8и8","8с8и-","-с8й8","8с8й-","-с8к8","8с8к-","-с8л8","8с8л-","-с8м8","8с8м-","-с8н8","8с8н-","-с8о8","8с8о-","-с8п8","8с8п-","-с8р8","8с8р-","-с8с8","8с8с-","-с8т8","8с8т-","-с8у8","8с8у-","-с8ф8","8с8ф-","-с8х8","8с8х-","-с8ц8","8с8ц-","-с8ч8","8с8ч-","-с8ш8","8с8ш-","-с8щ8","8с8щ-","-с8ъ8","8с8ъ-","-с8ы8","8с8ы-","-с8ь8","8с8ь-","-с8э8","8с8э-","-с8ю8","8с8ю-","-с8я8","8с8я-","-т8а8","8т8а-","-т8б8","8т8б-","-т8в8","8т8в-","-т8г8","8т8г-","-т8д8","8т8д-","-т8е8","8т8е-","-т8ё8","8т8ё-","-т8ж8","8т8ж-","-т8з8","8т8з-","-т8и8","8т8и-","-т8й8","8т8й-","-т8к8","8т8к-","-т8л8","8т8л-","-т8м8","8т8м-","-т8н8","8т8н-","-т8о8","8т8о-","-т8п8","8т8п-","-т8р8","8т8р-","-т8с8","8т8с-","-т8т8","8т8т-","-т8у8","8т8у-","-т8ф8","8т8ф-","-т8х8","8т8х-","-т8ц8","8т8ц-","-т8ч8","8т8ч-","-т8ш8","8т8ш-","-т8щ8","8т8щ-","-т8ъ8","8т8ъ-","-т8ы8","8т8ы-","-т8ь8","8т8ь-","-т8э8","8т8э-","-т8ю8","8т8ю-","-т8я8","8т8я-","-у8а8","8у8а-","-у8б8","8у8б-","-у8в8","8у8в-","-у8г8","8у8г-","-у8д8","8у8д-","-у8е8","8у8е-","-у8ё8","8у8ё-","-у8ж8","8у8ж-","-у8з8","8у8з-","-у8и8","8у8и-","-у8й8","8у8й-","-у8к8","8у8к-","-у8л8","8у8л-","-у8м8","8у8м-","-у8н8","8у8н-","-у8о8","8у8о-","-у8п8","8у8п-","-у8р8","8у8р-","-у8с8","8у8с-","-у8т8","8у8т-","-у8у8","8у8у-","-у8ф8","8у8ф-","-у8х8","8у8х-","-у8ц8","8у8ц-","-у8ч8","8у8ч-","-у8ш8","8у8ш-","-у8щ8","8у8щ-","-у8ъ8","8у8ъ-","-у8ы8","8у8ы-","-у8ь8","8у8ь-","-у8э8","8у8э-","-у8ю8","8у8ю-","-у8я8","8у8я-","-ф8а8","8ф8а-","-ф8б8","8ф8б-","-ф8в8","8ф8в-","-ф8г8","8ф8г-","-ф8д8","8ф8д-","-ф8е8","8ф8е-","-ф8ё8","8ф8ё-","-ф8ж8","8ф8ж-","-ф8з8","8ф8з-","-ф8и8","8ф8и-","-ф8й8","8ф8й-","-ф8к8","8ф8к-","-ф8л8","8ф8л-","-ф8м8","8ф8м-","-ф8н8","8ф8н-","-ф8о8","8ф8о-","-ф8п8","8ф8п-","-ф8р8","8ф8р-","-ф8с8","8ф8с-","-ф8т8","8ф8т-","-ф8у8","8ф8у-","-ф8ф8","8ф8ф-","-ф8х8","8ф8х-","-ф8ц8","8ф8ц-","-ф8ч8","8ф8ч-","-ф8ш8","8ф8ш-","-ф8щ8","8ф8щ-","-ф8ъ8","8ф8ъ-","-ф8ы8","8ф8ы-","-ф8ь8","8ф8ь-","-ф8э8","8ф8э-","-ф8ю8","8ф8ю-","-ф8я8","8ф8я-","-х8а8","8х8а-","-х8б8","8х8б-","-х8в8","8х8в-","-х8г8","8х8г-","-х8д8","8х8д-","-х8е8","8х8е-","-х8ё8","8х8ё-","-х8ж8","8х8ж-","-х8з8","8х8з-","-х8и8","8х8и-","-х8й8","8х8й-","-х8к8","8х8к-","-х8л8","8х8л-","-х8м8","8х8м-","-х8н8","8х8н-","-х8о8","8х8о-","-х8п8","8х8п-","-х8р8","8х8р-","-х8с8","8х8с-","-х8т8","8х8т-","-х8у8","8х8у-","-х8ф8","8х8ф-","-х8х8","8х8х-","-х8ц8","8х8ц-","-х8ч8","8х8ч-","-х8ш8","8х8ш-","-х8щ8","8х8щ-","-х8ъ8","8х8ъ-","-х8ы8","8х8ы-","-х8ь8","8х8ь-","-х8э8","8х8э-","-х8ю8","8х8ю-","-х8я8","8х8я-","-ц8а8","8ц8а-","-ц8б8","8ц8б-","-ц8в8","8ц8в-","-ц8г8","8ц8г-","-ц8д8","8ц8д-","-ц8е8","8ц8е-","-ц8ё8","8ц8ё-","-ц8ж8","8ц8ж-","-ц8з8","8ц8з-","-ц8и8","8ц8и-","-ц8й8","8ц8й-","-ц8к8","8ц8к-","-ц8л8","8ц8л-","-ц8м8","8ц8м-","-ц8н8","8ц8н-","-ц8о8","8ц8о-","-ц8п8","8ц8п-","-ц8р8","8ц8р-","-ц8с8","8ц8с-","-ц8т8","8ц8т-","-ц8у8","8ц8у-","-ц8ф8","8ц8ф-","-ц8х8","8ц8х-","-ц8ц8","8ц8ц-","-ц8ч8","8ц8ч-","-ц8ш8","8ц8ш-","-ц8щ8","8ц8щ-","-ц8ъ8","8ц8ъ-","-ц8ы8","8ц8ы-","-ц8ь8","8ц8ь-","-ц8э8","8ц8э-","-ц8ю8","8ц8ю-","-ц8я8","8ц8я-","-ч8а8","8ч8а-","-ч8б8","8ч8б-","-ч8в8","8ч8в-","-ч8г8","8ч8г-","-ч8д8","8ч8д-","-ч8е8","8ч8е-","-ч8ё8","8ч8ё-","-ч8ж8","8ч8ж-","-ч8з8","8ч8з-","-ч8и8","8ч8и-","-ч8й8","8ч8й-","-ч8к8","8ч8к-","-ч8л8","8ч8л-","-ч8м8","8ч8м-","-ч8н8","8ч8н-","-ч8о8","8ч8о-","-ч8п8","8ч8п-","-ч8р8","8ч8р-","-ч8с8","8ч8с-","-ч8т8","8ч8т-","-ч8у8","8ч8у-","-ч8ф8","8ч8ф-","-ч8х8","8ч8х-","-ч8ц8","8ч8ц-","-ч8ч8","8ч8ч-","-ч8ш8","8ч8ш-","-ч8щ8","8ч8щ-","-ч8ъ8","8ч8ъ-","-ч8ы8","8ч8ы-","-ч8ь8","8ч8ь-","-ч8э8","8ч8э-","-ч8ю8","8ч8ю-","-ч8я8","8ч8я-","-ш8а8","8ш8а-","-ш8б8","8ш8б-","-ш8в8","8ш8в-","-ш8г8","8ш8г-","-ш8д8","8ш8д-","-ш8е8","8ш8е-","-ш8ё8","8ш8ё-","-ш8ж8","8ш8ж-","-ш8з8","8ш8з-","-ш8и8","8ш8и-","-ш8й8","8ш8й-","-ш8к8","8ш8к-","-ш8л8","8ш8л-","-ш8м8","8ш8м-","-ш8н8","8ш8н-","-ш8о8","8ш8о-","-ш8п8","8ш8п-","-ш8р8","8ш8р-","-ш8с8","8ш8с-","-ш8т8","8ш8т-","-ш8у8","8ш8у-","-ш8ф8","8ш8ф-","-ш8х8","8ш8х-","-ш8ц8","8ш8ц-","-ш8ч8","8ш8ч-","-ш8ш8","8ш8ш-","-ш8щ8","8ш8щ-","-ш8ъ8","8ш8ъ-","-ш8ы8","8ш8ы-","-ш8ь8","8ш8ь-","-ш8э8","8ш8э-","-ш8ю8","8ш8ю-","-ш8я8","8ш8я-","-щ8а8","8щ8а-","-щ8б8","8щ8б-","-щ8в8","8щ8в-","-щ8г8","8щ8г-","-щ8д8","8щ8д-","-щ8е8","8щ8е-","-щ8ё8","8щ8ё-","-щ8ж8","8щ8ж-","-щ8з8","8щ8з-","-щ8и8","8щ8и-","-щ8й8","8щ8й-","-щ8к8","8щ8к-","-щ8л8","8щ8л-","-щ8м8","8щ8м-","-щ8н8","8щ8н-","-щ8о8","8щ8о-","-щ8п8","8щ8п-","-щ8р8","8щ8р-","-щ8с8","8щ8с-","-щ8т8","8щ8т-","-щ8у8","8щ8у-","-щ8ф8","8щ8ф-","-щ8х8","8щ8х-","-щ8ц8","8щ8ц-","-щ8ч8","8щ8ч-","-щ8ш8","8щ8ш-","-щ8щ8","8щ8щ-","-щ8ъ8","8щ8ъ-","-щ8ы8","8щ8ы-","-щ8ь8","8щ8ь-","-щ8э8","8щ8э-","-щ8ю8","8щ8ю-","-щ8я8","8щ8я-","-ъ8а8","8ъ8а-","-ъ8б8","8ъ8б-","-ъ8в8","8ъ8в-","-ъ8г8","8ъ8г-","-ъ8д8","8ъ8д-","-ъ8е8","8ъ8е-","-ъ8ё8","8ъ8ё-","-ъ8ж8","8ъ8ж-","-ъ8з8","8ъ8з-","-ъ8и8","8ъ8и-","-ъ8й8","8ъ8й-","-ъ8к8","8ъ8к-","-ъ8л8","8ъ8л-","-ъ8м8","8ъ8м-","-ъ8н8","8ъ8н-","-ъ8о8","8ъ8о-","-ъ8п8","8ъ8п-","-ъ8р8","8ъ8р-","-ъ8с8","8ъ8с-","-ъ8т8","8ъ8т-","-ъ8у8","8ъ8у-","-ъ8ф8","8ъ8ф-","-ъ8х8","8ъ8х-","-ъ8ц8","8ъ8ц-","-ъ8ч8","8ъ8ч-","-ъ8ш8","8ъ8ш-","-ъ8щ8","8ъ8щ-","-ъ8ъ8","8ъ8ъ-","-ъ8ы8","8ъ8ы-","-ъ8ь8","8ъ8ь-","-ъ8э8","8ъ8э-","-ъ8ю8","8ъ8ю-","-ъ8я8","8ъ8я-","-ы8а8","8ы8а-","-ы8б8","8ы8б-","-ы8в8","8ы8в-","-ы8г8","8ы8г-","-ы8д8","8ы8д-","-ы8е8","8ы8е-","-ы8ё8","8ы8ё-","-ы8ж8","8ы8ж-","-ы8з8","8ы8з-","-ы8и8","8ы8и-","-ы8й8","8ы8й-","-ы8к8","8ы8к-","-ы8л8","8ы8л-","-ы8м8","8ы8м-","-ы8н8","8ы8н-","-ы8о8","8ы8о-","-ы8п8","8ы8п-","-ы8р8","8ы8р-","-ы8с8","8ы8с-","-ы8т8","8ы8т-","-ы8у8","8ы8у-","-ы8ф8","8ы8ф-","-ы8х8","8ы8х-","-ы8ц8","8ы8ц-","-ы8ч8","8ы8ч-","-ы8ш8","8ы8ш-","-ы8щ8","8ы8щ-","-ы8ъ8","8ы8ъ-","-ы8ы8","8ы8ы-","-ы8ь8","8ы8ь-","-ы8э8","8ы8э-","-ы8ю8","8ы8ю-","-ы8я8","8ы8я-","-ь8а8","8ь8а-","-ь8б8","8ь8б-","-ь8в8","8ь8в-","-ь8г8","8ь8г-","-ь8д8","8ь8д-","-ь8е8","8ь8е-","-ь8ё8","8ь8ё-","-ь8ж8","8ь8ж-","-ь8з8","8ь8з-","-ь8и8","8ь8и-","-ь8й8","8ь8й-","-ь8к8","8ь8к-","-ь8л8","8ь8л-","-ь8м8","8ь8м-","-ь8н8","8ь8н-","-ь8о8","8ь8о-","-ь8п8","8ь8п-","-ь8р8","8ь8р-","-ь8с8","8ь8с-","-ь8т8","8ь8т-","-ь8у8","8ь8у-","-ь8ф8","8ь8ф-","-ь8х8","8ь8х-","-ь8ц8","8ь8ц-","-ь8ч8","8ь8ч-","-ь8ш8","8ь8ш-","-ь8щ8","8ь8щ-","-ь8ъ8","8ь8ъ-","-ь8ы8","8ь8ы-","-ь8ь8","8ь8ь-","-ь8э8","8ь8э-","-ь8ю8","8ь8ю-","-ь8я8","8ь8я-","-э8а8","8э8а-","-э8б8","8э8б-","-э8в8","8э8в-","-э8г8","8э8г-","-э8д8","8э8д-","-э8е8","8э8е-","-э8ё8","8э8ё-","-э8ж8","8э8ж-","-э8з8","8э8з-","-э8и8","8э8и-","-э8й8","8э8й-","-э8к8","8э8к-","-э8л8","8э8л-","-э8м8","8э8м-","-э8н8","8э8н-","-э8о8","8э8о-","-э8п8","8э8п-","-э8р8","8э8р-","-э8с8","8э8с-","-э8т8","8э8т-","-э8у8","8э8у-","-э8ф8","8э8ф-","-э8х8","8э8х-","-э8ц8","8э8ц-","-э8ч8","8э8ч-","-э8ш8","8э8ш-","-э8щ8","8э8щ-","-э8ъ8","8э8ъ-","-э8ы8","8э8ы-","-э8ь8","8э8ь-","-э8э8","8э8э-","-э8ю8","8э8ю-","-э8я8","8э8я-","-ю8а8","8ю8а-","-ю8б8","8ю8б-","-ю8в8","8ю8в-","-ю8г8","8ю8г-","-ю8д8","8ю8д-","-ю8е8","8ю8е-","-ю8ё8","8ю8ё-","-ю8ж8","8ю8ж-","-ю8з8","8ю8з-","-ю8и8","8ю8и-","-ю8й8","8ю8й-","-ю8к8","8ю8к-","-ю8л8","8ю8л-","-ю8м8","8ю8м-","-ю8н8","8ю8н-","-ю8о8","8ю8о-","-ю8п8","8ю8п-","-ю8р8","8ю8р-","-ю8с8","8ю8с-","-ю8т8","8ю8т-","-ю8у8","8ю8у-","-ю8ф8","8ю8ф-","-ю8х8","8ю8х-","-ю8ц8","8ю8ц-","-ю8ч8","8ю8ч-","-ю8ш8","8ю8ш-","-ю8щ8","8ю8щ-","-ю8ъ8","8ю8ъ-","-ю8ы8","8ю8ы-","-ю8ь8","8ю8ь-","-ю8э8","8ю8э-","-ю8ю8","8ю8ю-","-ю8я8","8ю8я-","-я8а8","8я8а-","-я8б8","8я8б-","-я8в8","8я8в-","-я8г8","8я8г-","-я8д8","8я8д-","-я8е8","8я8е-","-я8ё8","8я8ё-","-я8ж8","8я8ж-","-я8з8","8я8з-","-я8и8","8я8и-","-я8й8","8я8й-","-я8к8","8я8к-","-я8л8","8я8л-","-я8м8","8я8м-","-я8н8","8я8н-","-я8о8","8я8о-","-я8п8","8я8п-","-я8р8","8я8р-","-я8с8","8я8с-","-я8т8","8я8т-","-я8у8","8я8у-","-я8ф8","8я8ф-","-я8х8","8я8х-","-я8ц8","8я8ц-","-я8ч8","8я8ч-","-я8ш8","8я8ш-","-я8щ8","8я8щ-","-я8ъ8","8я8ъ-","-я8ы8","8я8ы-","-я8ь8","8я8ь-","-я8э8","8я8э-","-я8ю8","8я8ю-","-я8я8","8я8я-",""],exceptions:["ас-бест","бездн","биз-нес-мен","буй-нак-ске","вбли-зи","взба-ла-муть-ся","вздрем-нешь","во-до-сли-вом","волж-ске","воп-лем","вопль","вост-ра","во-ткать","во-ткем","во-ткешь","во-тку","во-ткут","впол-обо-ро-та","впол-уха","все-во-лож-ске","вцспс","га-рем-но-го","го-ло-дра-нец","грэс","дву-зу-бец","днепр","добре-ем","до-бре-ем-ся","добре-ет","добре-е-те","до-бре-е-тесь","до-бре-ет-ся","добре-ешь","до-бре-ешь-ся","добрею","до-бре-юсь","добре-ют","до-бре-ют-ся","до-бре-сти","до-бро-дят","до-брось","до-брось-те","до-бро-сят","до-бро-шу","домну","доп-пель","драх-му","дрейф-лю","дрейфь-те","еди-но-жды","зав-сек-то-ром","за-мру","за-члись","из-древ-ле","изо-тру","ин-ког-ни-то","искр","ка-за-шек","казнь","кольд-кре-мом","корн-па-пир","ксендз","лик-бе-зом","ло-шадь-ми","людь-ми","лю-э-сом","ма-зу-те","ме-ти-лам","ме-ти-ла-ми","мно-га-жды","морщь-те","на-бе-крень","навз-ничь","на-вскид-ку","на-встре-чу","нагл","на-изусть","на-ис-ко-сок","наи-ме-нее","на-ис-кось","на-обо-рот","на-от-рез","на-супь-ся","на-угад","на-уголь-ник","не-ост-ра","нес-лась","нес-лись","нет-то","не-уду","обидь-ся","обо-шлось","об-ра-сти","од-на-жды","ослаб-ла","ото-мстят","ото-мщу","ото-тру","отру","отрусь","паб-ли-си-ти","па-на-ме","па-на-мец","па-ра-так-сис","пе-ре-вру","пе-ре-ме-жать","пе-ре-ме-жать-ся","пе-ре-шла","пис-чая","по-все-дне-вен","по-гре-мок","по-до-тру","по-ис-ти-не","по-лу-то-ра-ста","по-лу-явью","по-млад-ше","помни","по-мнись","помни-те","по-мни-тесь","по-мно-гу","по-мру","пол-вто-ро-го","пол-шка-фа","по-на-доб-люсь","по-трафь-те","преж-де","прид-ти","при-шла","при-шлось","про-тру","про-хлад-ца","пско-ва","пыл-че","раз-орем-ся","раз-оре-тесь","раз-орет-ся","раз-орешь-ся","разо-тру","ра-зу-мом","резв-люсь","рсфср","сан-узел","сдрейф-лю","се-го-дня","сме-жат","со-блю-сти","со-лжешь","сост-рим","сост-ришь","сост-рю","сост-рят","со-ткать","со-ткем","со-ткешь","сотку","со-ткут","срос-лась","срос-лись","стрем-глав","так-же","тве-ре-зо-го","те-ле-ате-лье","тер-но-сли-вом","троп-лю","тьфу","узу-фрукт","умнем","умнет","умнете","умну","умру","услышь-те","ушла","фо-то-пле-нок","ца-ре-дво-рец","че-рес-чур","чер-но-сли-вом","чресл","чуж-дость","шесть-де-сят","юсом","ядо-зу-бе","ярем-но-го",""]}})); \ No newline at end of file
diff --git a/dist/app.min.js b/dist/app.min.js
index 11d39c8..f5aba69 100644
--- a/dist/app.min.js
+++ b/dist/app.min.js
@@ -1 +1 @@
-"use strict";$.urlParam=function(e){try{const t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.href);return decodeURIComponent(t[1].replace(/\+/g," "))||0}catch(e){return 0}};const Cookie={set:function(e,t,o){const n=new Date;n.setTime(n.getTime()+1e3*o);const a="expires="+n.toUTCString();document.cookie=e+"="+encodeURIComponent(t)+"; "+a},get:function(e){e+="=";const t=document.cookie.split(";");for(let o=0;o<t.length;o++){let n=t[o];for(;" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(e))return decodeURIComponent(n.substring(e.length,n.length))}return""},delete:function(e){document.cookie=e+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT"}},App={_dl_progress_timeout:!1,index_mode:"",last_mtime:-1,cached_urls:[],version:"UNKNOWN",csrf_token:"",init:function(){let e=0;this.csrf_token=Cookie.get("epube_csrf_token"),console.log("setting prefilter for token",this.csrf_token),$.ajaxPrefilter((function(e,t,o){if("post"!==t.type||"post"!==e.type)return;const n=typeof t.data;"object"==n?e.data=$.param($.extend(t.data,{csrf_token:App.csrf_token})):"string"==n&&(e.data=t.data+"&csrf_token="+encodeURIComponent(App.srf_token)),console.log(">>>",e)})),"undefined"!=typeof EpubeApp&&($(".navbar").hide(),$(".epube-app-filler").show(),$(".separate-search").show(),"favorites"==$.urlParam("mode")?EpubeApp.setPage("PAGE_FAVORITES"):EpubeApp.setPage("PAGE_LIBRARY")),App.initNightMode(),"serviceWorker"in navigator?(navigator.serviceWorker.addEventListener("message",(function(t){"refresh-started"==t.data&&(console.log("cache refresh started"),e=0,$(".dl-progress").fadeIn().text("Loading, please wait...")),t.data&&0==t.data.indexOf("refreshed:")&&(++e,$(".dl-progress").fadeIn().text("Updated "+e+" files...")),"client-reload"==t.data&&(localforage.setItem("epube.cache-timestamp",App.last_mtime),localforage.setItem("epube.cache-version",App.version),window.location.reload())})),App.showCovers(),App.Offline.markBooks(),App.refreshCache()):$(".container-main").addClass("alert alert-danger").html("Service worker support missing in browser (are you using plain HTTP?).")},logout:function(){$.post("backend.php",{op:"logout"}).then(()=>{window.location.reload()})},showSummary:function(e){const t=e.getAttribute("data-book-id");return $.post("backend.php",{op:"getinfo",id:t},(function(e){const t=e.comment?e.comment:"No description available";$("#summary-modal .modal-title").html(e.title),$("#summary-modal .book-summary").html(t),$("#summary-modal").modal()})),!1},showCovers:function(){$("img[data-book-id]").each((e,t)=>{if((t=$(t)).attr("data-cover-link")){const e=$("<img>").on("load",(function(){t.css("background-image","url("+t.attr("data-cover-link")+")").fadeIn(),e.attr("src",null)})).attr("src",t.attr("data-cover-link"))}else t.attr("src","holder.js/130x190?auto=yes").fadeIn()}),Holder.run()},toggleFavorite:function(e){const t=e.getAttribute("data-book-id");return("0"==e.getAttribute("data-is-fav")||confirm("Remove favorite?"))&&$.post("backend.php",{op:"togglefav",id:t},(function(o){if(o){let n="[Error]";0==o.status?n="Add to favorites":1==o.status&&(n="Remove from favorites"),$(e).html(n).attr("data-is-fav",o.status),"favorites"==App.index_mode&&0==o.status&&$("#cell-"+t).remove()}})),!1},refreshCache:function(e){"serviceWorker"in navigator?localforage.getItem("epube.cache-timestamp").then((function(t){console.log("stamp",t,"last mtime",App.last_mtime,"version",App.version),(e||t!=App.last_mtime)&&(console.log("asking worker to refresh cache"),navigator.serviceWorker.controller?navigator.serviceWorker.controller.postMessage({msg:"refresh-cache",urls:App.cached_urls}):localforage.getItem("epube.initial-load-done").then((function(e){console.log("initial load done",e),e?$(".dl-progress").show().addClass("alert-danger").html("Could not communicate with service worker. Try reloading the page."):localforage.setItem("epube.initial-load-done",!0).then((function(){$(".dl-progress").show().addClass("alert-info").html("Page will reload to activate service worker..."),window.setTimeout((function(){window.location.reload()}),3e3)}))})))})):$(".dl-progress").show().addClass("alert-danger").html("Could not communicate with service worker. Try reloading the page.")},isOnline:function(){return"undefined"!=typeof EpubeApp&&void 0!==EpubeApp.isOnline?EpubeApp.isOnline():navigator.onLine},appCheckOffline:function(){EpubeApp.setOffline(!App.isOnline)},initNightMode:function(){if("undefined"==typeof EpubeApp){if(window.matchMedia){const e=window.matchMedia("(prefers-color-scheme: dark)");e.addEventListener("change",()=>{App.applyNightMode(e.matches)}),App.applyNightMode(e.matches)}}else App.applyNightMode(EpubeApp.isNightMode())},applyNightMode:function(e){console.log("night mode changed to",e),$("#theme_css").attr("href","lib/bootstrap/v3/css/"+(e?"theme-dark.min.css":"bootstrap-theme.min.css"))},Offline:{init:function(){"undefined"!=typeof EpubeApp&&($(".navbar").hide(),$(".epube-app-filler").show(),EpubeApp.setPage("PAGE_OFFLINE")),App.initNightMode();const e=$.urlParam("query");e&&$(".search_query").val(e),App.Offline.populateList()},get:function(e,t){console.log("offline cache: "+e),$.post("backend.php",{op:"getinfo",id:e},(function(o){if(o){const n="epube-book."+e;localforage.setItem(n,o).then((function(o){console.log(n+" got data");const a=[];a.push(fetch("backend.php?op=download&id="+o.epub_id,{credentials:"same-origin"}).then((function(e){200==e.status&&(console.log(n+" got book"),t(),localforage.setItem(n+".book",e.blob()))}))),a.push(fetch("backend.php?op=getpagination&id="+o.epub_id,{credentials:"same-origin"}).then((function(e){200==e.status&&(console.log(n+" got pagination"),e.text().then((function(e){localforage.setItem(n+".locations",JSON.parse(e))})))}))),a.push(fetch("backend.php?op=getlastread&id="+o.epub_id,{credentials:"same-origin"}).then((function(e){200==e.status&&(console.log(n+" got lastread"),e.text().then((function(e){localforage.setItem(n+".lastread",JSON.parse(e))})))}))),o.has_cover&&a.push(fetch("backend.php?op=cover&id="+e,{credentials:"same-origin"}).then((function(e){200==e.status&&(console.log(n+" got cover"),localforage.setItem(n+".cover",e.blob()))}))),Promise.all(a).then((function(){$(".dl-progress").show().html("Finished downloading <b>"+o.title+"</b>"),window.clearTimeout(App._dl_progress_timeout),App._dl_progress_timeout=window.setTimeout((function(){$(".dl-progress").fadeOut()}),5e3)}))}))}}))},getAll:function(){confirm("Download all books on this page?")&&$(".row > div").each((function(e,t){const o=$(t).attr("id").replace("cell-",""),n=$(t).find(".offline_dropitem")[0];if(o){const e="epube-book."+o;localforage.getItem(e).then((function(e){e||App.Offline.get(o,(function(){App.Offline.mark(n)}))}))}}))},markBooks:function(){const e=$(".offline_dropitem");$.each(e,(function(e,t){App.Offline.mark(t)}))},mark:function(e){const t=e.getAttribute("data-book-id"),o="epube-book."+t;localforage.getItem(o).then((function(o){o?(e.onclick=function(){return App.Offline.remove(t,(function(){App.Offline.mark(e)})),!1},e.innerHTML="Remove offline data"):(e.onclick=function(){return App.Offline.get(t,(function(){App.Offline.mark(e)})),!1},e.innerHTML="Make available offline")}))},removeFromList:function(e){const t=e.getAttribute("data-book-id");return App.Offline.remove(t,(function(){$("#cell-"+t).remove()}))},remove:function(e,t){if(confirm("Remove download?")){const o="epube-book."+e,n=[];console.log("offline remove: "+e),localforage.iterate((function(e,t){t.match(o)&&n.push(localforage.removeItem(t))})),Promise.all(n).then((function(){window.setTimeout((function(){t()}),500)}))}},search:function(){const e=$(".search_query").val();return localforage.setItem("epube.search-query",e).then((function(){App.Offline.populateList()})),!1},removeAll:function(){if(confirm("Remove all downloaded books?")){const e=[];localforage.iterate((function(t,o){o.match("epube-book")&&e.push(localforage.removeItem(o))})),Promise.all(e).then((function(){window.setTimeout((function(){App.Offline.populateList()}),500)}))}},showSummary:function(e){const t=e.getAttribute("data-book-id");return localforage.getItem("epube-book."+t).then((function(e){const t=e.comment?e.comment:"No description available";$("#summary-modal .modal-title").html(e.title),$("#summary-modal .book-summary").html(t),$("#summary-modal").modal()})),!1},populateList:function(){let e=$.urlParam("query");e&&(e=e.toLowerCase());const t=$("#books_container");t.html(""),localforage.iterate((function(o,n){n.match(/epube-book\.\d{1,}$/)&&Promise.all([localforage.getItem(n),localforage.getItem(n+".cover"),localforage.getItem(n+".lastread"),localforage.getItem(n+".book")]).then((function(o){if(o[0]&&o[3]){const n=o[0];if(e){if(!(n.series_name&&n.series_name.toLowerCase().match(e)||n.title&&n.title.toLowerCase().match(e)||n.author_sort&&n.author_sort.toLowerCase().match(e)))return}let a=!1;o&&o[1]&&(a=URL.createObjectURL(o[1]));let i=!1,r=!1;const l=o[2];l&&(i=l.page>0,r=l.total>0&&l.total-l.page<5);const c=r?"read":"",s=i?"in_progress":"",d=n.series_name?`<div><a class="series_link" href="#">${n.series_name+" ["+n.series_index+"]"}</a></div>`:"",p=$(`<div class="col-xxs-6 col-xs-4 col-sm-3 col-md-2" id="cell-${n.id}">\n\t\t\t\t\t\t\t<a class="thumbnail ${c}" href="read.html?id=${n.epub_id}&b=${n.id}">\n\t\t\t\t\t\t\t\t<img style="display : none">\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t<div class="caption">\n\t\t\t\t\t\t\t\t<div><a class="${s}" href="read.html?id=${n.epub_id}&b=${n.id}">${n.title}</a></div>\n\t\t\t\t\t\t\t\t<div><a class="author_link" href="#">${n.author_sort}</a></div>\n\t\t\t\t\t\t\t\t${d}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="dropdown" style="white-space : nowrap">\n\t\t\t\t\t\t\t\t<a href="#" data-toggle="dropdown" role="button">More...<span class="caret"></span></a>\n\t\t\t\t\t\t\t\t<ul class="dropdown-menu">\n\t\t\t\t\t\t\t\t\t<li><a href="#" data-book-id="${n.id}" onclick="return App.Offline.showSummary(this)">Summary</a></li>\n\t\t\t\t\t\t\t\t\t<li><a href="#" data-book-id="${n.id}" onclick="App.Offline.removeFromList(this)">Remove offline data</a></li>\n\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`);a?p.find("img").css("background-image","url("+a+")").fadeIn():p.find("img").attr("data-src","holder.js/130x190?auto=yes").fadeIn(),p.find(".series_link").attr("title",n.series_name+" ["+n.series_index+"]").attr("href","offline.html?query="+encodeURIComponent(n.series_name)),p.find(".author_link").attr("title",n.author_sort).attr("href","offline.html?query="+encodeURIComponent(n.author_sort)),t.append(p),Holder.run()}}))}))}}},DEFAULT_FONT_SIZE=16,DEFAULT_FONT_FAMILY="Georgia",DEFAULT_LINE_HEIGHT=140,MIN_LENGTH_TO_JUSTIFY=32,PAGE_RESET_PROGRESS=-1,Reader={csrf_token:"",last_stored_cfi:"",prevent_lastread_update:!1,init:function(){this.csrf_token=Cookie.get("epube_csrf_token"),console.log("setting prefilter for token",this.csrf_token),$.ajaxPrefilter((function(e,t){if("post"!==t.type||"post"!==e.type)return;const o=typeof t.data;"object"==o?e.data=$.param($.extend(t.data,{csrf_token:Reader.csrf_token})):"string"==o&&(e.data=t.data+"&csrf_token="+encodeURIComponent(Reader.srf_token)),console.log(">>>",e)})),$(document).on("keyup",(function(e){Reader.hotkeyHandler(e)})),$("#left").on("mouseup",(function(){Reader.Page.prev()})),$("#right").on("mouseup",(function(){Reader.Page.next()})),Reader.Loader.init()},onOfflineModeChanged:function(e){if(console.log("onOfflineModeChanged",e),!e&&window.book){const e=window.book;console.log("we're online, storing lastread");const t=e.rendition.currentLocation().start.cfi,o=parseInt(100*e.locations.percentageFromCfi(t));$.post("backend.php",{op:"storelastread",id:$.urlParam("id"),page:o,cfi:t,timestamp:(new Date).getTime()},(function(){})).fail((function(e){e&&401==e.status&&(window.location="index.php")}))}},initSecondStage:function(){return"undefined"!=typeof EpubeApp?EpubeApp.setPage("PAGE_READER"):($(window).on("online",(function(){Reader.onOfflineModeChanged(!1)})),$(window).on("offline",(function(){Reader.onOfflineModeChanged(!0)}))),Reader.applyTheme(),localforage.getItem(Reader.cacheId()).then((function(e){if(!e)return console.log("requesting bookinfo..."),new Promise((e,t)=>{const o=$.urlParam("b");$.post("backend.php",{op:"getinfo",id:o}).success((function(n){if(n)return n.has_cover&&fetch("backend.php?op=cover&id="+o,{credentials:"same-origin"}).then((function(e){200==e.status&&localforage.setItem(Reader.cacheId("cover"),e.blob())})),localforage.setItem(Reader.cacheId(),n).then((function(){console.log("bookinfo saved"),e()}));t(new Error("unable to load book info: blank"))})).error((function(e){$(".loading-message").html("Unable to load book info.<br/><small>"+e.status+"</small>"),t(new Error("unable to load book info: "+e.status))}))});console.log("bookinfo already stored")})).then((function(){console.log("trying to load book..."),localforage.getItem(Reader.cacheId("book")).then((function(t){if(t)return console.log("loading from local storage"),new Promise((function(o,n){const a=new FileReader;a.onload=function(){try{return e.open(this.result).then((function(){o()}))}catch(e){$(".loading-message").html("Unable to load book (local)."),console.log(e),n(new Error("Unable to load book (local):"+e))}},a.readAsArrayBuffer(t)}));if(console.log("loading from network"),App.isOnline()){const t="backend.php?op=download&id="+$.urlParam("id");return $(".loading-message").html("Downloading…"),fetch(t,{credentials:"same-origin"}).then((function(t){if(200==t.status)return t.blob().then((function(t){return new Promise((function(o,n){const a=new FileReader;a.onload=function(){e.open(this.result).then((function(){localforage.setItem(Reader.cacheId("book"),t).then((function(){o()}))})).catch(e=>{$(".loading-message").html("Unable to open book.<br/><small>"+e+"</small>"),n(new Error("Unable to open book: "+e))})},a.onerror=function(e){console.log("filereader error",e),$(".loading-message").html("Unable to open book.<br/><small>"+e+"</small>"),n(new Error("Unable to open book: "+e))},a.readAsArrayBuffer(t)}))})).catch(e=>{console.log("blob error",e),$(".loading-message").html("Unable to download book.<br/><small>"+e+"</small>")});$(".loading-message").html("Unable to download book: "+t.status+".")})).catch((function(e){console.warn(e),$(".loading").is(":visible")&&$(".loading-message").html("Unable to load book (remote).<br/><small>"+e+"</small>")}))}$(".loading-message").html("This book is not available offline.")}));const e=ePub();window.book=e;const t=e.renderTo("reader",{width:"100%",height:"100%",minSpreadWidth:961});function o(t){try{const o=e.spine.get(t).cfiBase,n=e.locations._locations.find((function(e){return-1!=e.indexOf(o)}));return window.book.locations.locationFromCfi(n)}catch(e){console.warn(e)}return""}localforage.getItem("epube.enable-hyphens").then((function(e){e&&(Reader.hyphenateHTML=createHyphenator(hyphenationPatternsEnUs,{html:!0})),Reader.applyStyles(!0),t.display().then((function(){console.log("book displayed")}))})),t.hooks.content.register((function(t){t.on("linkClicked",(function(t){console.log("linkClicked",t),Reader.prevent_lastread_update=!0,-1==t.indexOf("://")&&($(".prev_location_btn").attr("data-location-cfi",e.rendition.currentLocation().start.cfi).show(),window.setTimeout((function(){Reader.showUI(!0)}),50))}));const o=window.location.href.match(/^.*\//)[0],n=["dist/app-libs.min.js","dist/reader_iframe.min.js"],a=t.document;for(let e=0;e<n.length;e++){const t=a.createElement("script");t.type="text/javascript",t.text=Reader.Loader._res_data[o+n[e]],a.head.appendChild(t)}if($(t.document.head).append($("<style type='text/css'>").text(Reader.Loader._res_data[o+"dist/reader_iframe.min.css"])),Reader.Loader._res_data[o+"lib/fonts/pmn-caecilia-55.ttf"]){const e=`\n\t\t\t\t\t\t@font-face {\n\t\t\t\t\t\t\tfont-family: Caecilia;\n\t\t\t\t\t\t\tsrc: url(${Reader.Loader._res_data[o+"lib/fonts/pmn-caecilia-55.ttf"]});\n\t\t\t\t\t\t\tfont-weight : normal;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@font-face {\n\t\t\t\t\t\t\tfont-family: Caecilia;\n\t\t\t\t\t\t\tsrc: url(${Reader.Loader._res_data[o+"lib/fonts/pmn-caecilia-75.ttf"]});\n\t\t\t\t\t\t\tfont-weight : bold;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@font-face {\n\t\t\t\t\t\t\tfont-family: Caecilia;\n\t\t\t\t\t\t\tsrc: url(${Reader.Loader._res_data[o+"lib/fonts/pmn-caecilia-56.ttf"]});\n\t\t\t\t\t\t\tfont-style : italic;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t`;$(t.document.head).append($("<style type='text/css'>").text(e))}else $(".font_family option[value='Caecilia']").hide();return localforage.getItem("epube.theme").then((function(e){e||(e="default"),$(t.document).find("body").attr("class","undefined"!=typeof EpubeApp?"is-epube-app":"").addClass("theme-"+e)}))})),$("#settings-modal").on("shown.bs.modal",(function(){localforage.getItem(Reader.cacheId("lastread")).then(e=>{e&&e.cfi&&$(".lastread_input").val(e.page+"%"),$.post("backend.php",{op:"getlastread",id:$.urlParam("id")},(function(e){$(".lastread_input").val(e.page+"%")}))}),localforage.getItem("epube.enable-hyphens").then((function(e){$(".enable_hyphens_checkbox").attr("checked",e).off("click").on("click",(function(e){localforage.setItem("epube.enable-hyphens",e.target.checked),confirm("Toggling hyphens requires page reload. Reload now?")&&window.location.reload()}))})),localforage.getItem("epube.keep-ui-visible").then((function(e){$(".keep_ui_checkbox").attr("checked",e).off("click").on("click",(function(e){localforage.setItem("epube.keep-ui-visible",e.target.checked)}))})),Promise.all([localforage.getItem("epube.cache-timestamp"),localforage.getItem("epube.cache-version")]).then(e=>{const t=e[0],o=e[1];$(".last-mod-timestamp").html(`${o}\n\t\t\t\t\t\t&mdash; ${parseInt(t)?new Date(1e3*t).toLocaleString("en-GB"):"Unknown"}\n\t\t\t\t\t\t(${App.isOnline()?"<span class='text-success'>Online</span>":"<span class='text-danger'>Offline</span>"})\n\t\t\t\t\t\t`)}),localforage.getItem("epube.fontFamily").then((function(e){e||(e="Georgia"),$(".font_family").val(e)})),localforage.getItem("epube.theme").then((function(e){$(".theme_name").val(e)})),localforage.getItem("epube.fontSize").then((function(e){e||(e=16);const t=$(".font_size").html("");for(let e=10;e<=32;e++){const o=$("<option>").val(e).html(e+" px");t.append(o)}t.val(e)})),localforage.getItem("epube.lineHeight").then((function(e){e||(e=140);const t=$(".line_height").html("");for(let e=100;e<=220;e+=10){const o=$("<option>").val(e).html(e+"%");t.append(o)}t.val(e)}))})),$("#dict-modal").on("shown.bs.modal",(function(){$(".dict_result").scrollTop(0)})),$(".dict_search_btn").on("click",(function(){$("#dict-modal").modal("hide"),window.open("https://duckduckgo.com/?q="+$(".dict_query").val())})),$(".wiki_search_btn").on("click",(function(){$(".dict_result").html("Loading, please wait..."),$.post("backend.php",{op:"wikisearch",query:$(".dict_query").val()}).then(e=>{try{console.log("wikisearch resp",e);let t="";$.each(e.query.pages,(e,o)=>{t+=o.extract}),$(".dict_result").html(t&&"undefined"!=t?t:"No definition found for "+$(".dict_query").val()+".")}catch(e){console.error(e),$(".dict_result").text("Error while processing data: "+e)}}).fail(e=>{console.error(e),$(".dict_result").text("Error while retrieving data.")})})),$("#toc-modal").on("shown.bs.modal",(function(){const t=e.navigation.toc,n=$(".toc_list");n.html(""),$.each(t,(function(t,a){try{const t=$("<a>").attr("href","#").html("<b class='pull-right'>"+o(a.href)+"</b>"+a.label).attr("data-href",a.href).click((function(){e.rendition.display(t.attr("data-href"))}));n.append($("<li>").append(t)),function t(n,a,i){if(3==i)return!1;if(n.subitems){const r=$("<ul class='toc_sublist list-unstyled'>");$.each(n.subitems,(function(n,a){const l=$("<a>").attr("href","#").html("<b class='pull-right'>"+o(a.href)+"</b>"+a.label).attr("data-href",a.href).click((function(){e.rendition.display(l.attr("data-href"))}));r.append($("<li>").append(l)),t(a,r,i+1)})),a.append(r)}}(a,n,0)}catch(e){console.warn(e)}})),n.children().length<=1&&(n.html(""),$.each(e.spine.items,(function(t,o){const a=$("<a>").attr("href","#").attr("title",o.url).html("Section "+(t+1)).attr("data-href",o.href).click((function(){e.rendition.display(a.attr("data-href"))}));n.append($("<li>").append(a))})))})),e.spine.hooks.content.register((function(e){$(e).find("p").filter((e,t)=>$(t).text().length>=32?t:null).css("text-align","justify"),$(e).find("a, p, span, em, i, strong, b, body, div, big, small").attr("class","").css("font-family","inherit").css("font-size","inherit").css("color","").css("background","").css("background-color",""),void 0!==Reader.hyphenateHTML&&$(e).find("p").each((e,t)=>{(t=$(t)).html(Reader.hyphenateHTML(t.html()))})})),e.ready.then((function(){return localforage.getItem(Reader.cacheId()).then(t=>{let o,n;if(t)o=t.title,n=t.author_sort;else{const t=e.package.metadata;o=t.title,n=t.creator}return document.title=o+" – "+n+" – The Epube",$(".title").text(o).attr("title",o+" – "+n),"undefined"!=typeof EpubeApp&&(EpubeApp.setTitle(o),EpubeApp.showActionBar(!1)),localforage.getItem(Reader.cacheId("locations")).then((function(t){if(console.log("stored pagination",null!=t),t&&"string"==typeof t[0])return Reader.Page._pagination_stored=1,e.locations.load(t);{console.log("requesting pagination...");const t="backend.php?op=getpagination&id="+encodeURIComponent($.urlParam("id"));return fetch(t,{credentials:"same-origin"}).then((function(t){return t.ok?t.json().then((function(t){return t&&"string"==typeof t[0]?(Reader.Page._pagination_stored=1,e.locations.load(t)):($(".loading-message").html("Preparing locations…"),e.locations.generate(1600))})):($(".loading-message").html("Preparing locations…"),e.locations.generate(1600))})).catch((function(){return $(".loading-message").html("Preparing locations…"),e.locations.generate(1600)}))}}))})})).then((function(t){console.log("locations ready, stored=",Reader.Page._pagination_stored),t?(App.isOnline()&&!Reader.Page._pagination_stored&&$.post("backend.php",{op:"storepagination",id:$.urlParam("id"),payload:JSON.stringify(t),total:100}),localforage.getItem(Reader.cacheId("locations")).then((function(e){e||localforage.setItem(Reader.cacheId("locations"),t)})),$(".location").click((function(){const t=e.rendition.currentLocation().start.location,o=e.locations.length(),n=prompt("Jump to location [1-"+o+"]",t);n&&e.rendition.display(e.locations._locations[n])})),Reader.Page.openLastRead(),window.setTimeout((function(){Reader.Page.openLastRead(),$(".loading").hide()}),250)):$(".loading-message").html("Could not generate locations.")})),t.on("keyup",e=>{Reader.hotkeyHandler(e)}),t.on("resized",(function(){console.log("resized"),$(".loading").show(),$(".loading-message").html("Opening chapter…"),window.setTimeout((function(){Reader.resizeSideColumns(),Reader.Page.openLastRead(),$(".loading").hide()}),250)})),t.on("rendered",(function(){$(".chapter").html($("<span>").addClass("glyphicon glyphicon-th-list")),Reader.applyTheme(),Reader.resizeSideColumns();try{const t=e.rendition.currentLocation();if(t.start){const o=e.canonical(t.start.href);let n=!1;$.each(Reader.flattenToc(e),(function(t,a){e.spine.get(a.href).canonical!=o||(n=a)})),n&&n.label&&$(".chapter").append("&nbsp;"+n.label.trim()+" | "),Reader.generateTocBar(e,Reader.flattenToc(e))}}catch(e){console.warn(e)}})),t.on("relocated",(function(t){if(0==e.locations.length())return;const o=t.start.cfi,n=parseInt(100*e.locations.percentageFromCfi(o));$("#cur_page").text(t.start.location),$("#total_pages").text(e.locations.length()),$("#page_pct").text(parseInt(100*e.locations.percentageFromCfi(o))+"%"),Reader.updateTocBarPosition(e,t);const a=t.start.displayed;if(a&&($("#chapter_cur_page").text(a.page),$("#chapter_total_pages").text(a.total),a.total>0&&$("#chapter_pct").text(parseInt(a.page/a.total*100)+"%")),Reader.last_stored_cfi!=o&&!Reader.prevent_lastread_update){const e=(new Date).getTime();console.log("storing lastread",n,o,e),localforage.setItem(Reader.cacheId("lastread"),{cfi:o,page:n,total:100,timestamp:e}),App.isOnline()&&(console.log("updating remote lastread",o),Reader.last_stored_cfi=o,$.post("backend.php",{op:"storelastread",id:$.urlParam("id"),page:n,cfi:o,timestamp:e}).then(()=>{}).fail((function(e){e&&401==e.status&&(window.location="index.php")})))}Reader.prevent_lastread_update=!1}))}))},flattenTocSubItems:function(e,t){let o=[];return 3!=t&&(e.subitems&&$.each(e.subitems,(function(e,n){n._nest=t,o.push(n),o=o.concat(Reader.flattenTocSubItems(n,t+1))})),o)},flattenToc:function(e){if(this._flattened_toc)return this._flattened_toc;{let t=[];return $.each(e.navigation.toc,(function(e,o){o._nest=0,t.push(o),t=t.concat(Reader.flattenTocSubItems(o,1))})),this._flattened_toc=t,t}},generateTocBar:function(e,t){$(".spacer").html(""),$.each(t,(function(t,o){try{const t=e.spine.get(o.href).cfiBase,n=e.locations._locations.find((function(e){return-1!=e.indexOf(t)}));if(n){const t=Math.round(100*e.locations.percentageFromCfi(n));$(".spacer").append($("<div class='toc-bar-entry'>").attr("data-nest-level",o._nest).css("left",t+"%").css("_width",3-o._nest+"px").attr("title",o.label))}}catch(e){console.warn(e)}})),$(".spacer").append($("<div class='toc-bar-entry current-position'>")),Reader.updateTocBarPosition(e,e.rendition.currentLocation())},updateTocBarPosition:function(e,t){const o=Math.round(t.start.location/e.locations.length()*100);$(".toc-bar-entry.current-position").css("left",o+"%")},applyStyles:function(e){Promise.all([localforage.getItem("epube.fontSize"),localforage.getItem("epube.fontFamily"),localforage.getItem("epube.lineHeight"),localforage.getItem("epube.theme")]).then((function(t){const o=t[0]?t[0]+"px":"16px",n=t[1]?t[1]:"Georgia",a=t[2]?t[2]+"%":"140%";console.log("style",n,o,a),console.log("applying default theme..."),window.book.rendition.themes.default({html:{"font-size":o,"font-family":"'"+n+"'","line-height":a,"text-align":"justify","text-indent":"1em"}}),e||(console.log("applying rendition themes..."),$.each(window.book.rendition.getContents(),(function(e,t){t.css("font-size",o),t.css("font-family","'"+n+"'"),t.css("line-height",a),t.css("text-align","justify")}))),Reader.applyTheme()}))},applyTheme:function(){localforage.getItem("epube.theme").then((function(e){e||(e="default"),console.log("called for theme",e),"default"==e&&"undefined"!=typeof EpubeApp&&EpubeApp.isNightMode()&&(e="night"),console.log("setting main UI theme",e),$("body").attr("class","undefined"!=typeof EpubeApp?"is-epube-app":"").addClass("epube-reader theme-"+e).attr("data-is-loading","false"),"undefined"!=typeof EpubeApp&&window.setTimeout((function(){const e=window.getComputedStyle(document.querySelector("body"),null).getPropertyValue("background-color").match(/rgb\((\d{1,}), (\d{1,}), (\d{1,})\)/);e&&(console.log("sending bgcolor",e),EpubeApp.setStatusBarColor(parseInt(e[1]),parseInt(e[2]),parseInt(e[3])))}),250),window.book&&$.each(window.book.rendition.getContents(),(function(t,o){console.log("applying rendition theme",e,"to",o,o.document),$(o.document).find("body").attr("class","undefined"!=typeof EpubeApp?"is-epube-app":"").addClass("theme-"+e)}))}))},hotkeyHandler:function(e){try{if($(".modal").is(":visible"))return;39!=e.which&&32!=e.which&&34!=e.which||(e.preventDefault(),Reader.Page.next()),37!=e.which&&33!=e.which||(e.preventDefault(),Reader.Page.prev()),27==e.which&&(e.preventDefault(),Reader.showUI(!0))}catch(e){console.warn(e)}},resizeSideColumns:function(){let e=$("#reader").position().left;const t=$("#reader iframe")[0];t&&t.contentWindow.$&&(e+=parseInt(t.contentWindow.$("body").css("padding-left"))),$("#left, #right").width(e)},markAsRead:function(){if(confirm("Mark book as read?")){const e=100,t=window.book.locations.cfiFromPercentage(1),o=(new Date).getTime();App.isOnline()&&$.post("backend.php",{op:"storelastread",page:e,cfi:t,id:$.urlParam("id"),timestamp:o},(function(e){$(".lastread_input").val(e.page+"%")})),localforage.setItem(Reader.cacheId("lastread"),{cfi:t,page:e,total:e,timestamp:o})}},close:function(){const e=window.book.rendition.currentLocation().start.cfi,t=parseInt(100*window.book.locations.percentageFromCfi(e)),o=(new Date).getTime();localforage.setItem(Reader.cacheId("lastread"),{cfi:e,page:t,total:100,timestamp:o}),App.isOnline()?$.post("backend.php",{op:"storelastread",id:$.urlParam("id"),page:t,cfi:e,timestamp:o},(function(){window.location=$.urlParam("rt")?"index.php?mode="+$.urlParam("rt"):"index.php"})).fail((function(){window.location="index.php"})):window.location="index.php"},cacheId:function(e){return"epube-book."+$.urlParam("b")+(e?"."+e:"")},toggleFullscreen:function(){if("undefined"!=typeof EpubeApp);else{const e=document.documentElement,t=document.webkitIsFullScreen||document.mozFullScreen||!1;e.requestFullScreen=e.requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||function(){return!1},document.cancelFullScreen=document.cancelFullScreen||document.webkitCancelFullScreen||document.mozCancelFullScreen||function(){return!1},t?document.cancelFullScreen():e.requestFullScreen()}},showUI:function(e){e?$(".header,.footer").fadeIn():$(".header,.footer").fadeOut()},toggleUI:function(){$(".header").is(":visible")?$(".header,.footer").fadeOut():$(".header,.footer").fadeIn()},lookupWord:function(e,t){e=e.replace(/­/g,""),$(".dict_result").html("Loading, please wait..."),$("#dict-modal").modal("show"),$.post("backend.php",{op:"define",word:e},(function(o){o&&($(".dict_result").html(o.result.join("<br/>")),$(".dict_query").val(e),t&&t())})).fail((function(e){console.warn(e),$(".dict_result").html("Network error while looking up word: "+e.statusText)}))},search:function(){const e=$(".search_input").val(),t=$(".search_results");t.html(""),e&&Promise.all(window.book.spine.spineItems.map(t=>t.load(window.book.load.bind(window.book)).then(t.find.bind(t,e)).finally(t.unload.bind(t)))).then(e=>Promise.resolve([].concat.apply([],e))).then((function(e){$.each(e,(function(e,o){const n=$("<a>").attr("href","#").html("<b class='pull-right'>"+window.book.locations.locationFromCfi(o.cfi)+"</b>"+o.excerpt).attr("data-cfi",o.cfi).attr("data-id",o.id).click((function(){window.book.rendition.display(n.attr("data-cfi"))}));t.append($("<li>").append(n))}))}))},Loader:{_res_data:[],init:function(){const e=[];let t=!1;["dist/app-libs.min.js","dist/reader_iframe.min.js","dist/reader_iframe.min.css","lib/fonts/pmn-caecilia-55.ttf","lib/fonts/pmn-caecilia-56.ttf","lib/fonts/pmn-caecilia-75.ttf"].forEach(o=>{console.log("loading resource",o);const n=fetch(o,{credentials:"same-origin"}).then((function(e){return 200==e.status?-1!=e.url.indexOf(".ttf")?e.blob().then(t=>{const o=new URL(e.url);o.searchParams.delete("ts"),Reader.Loader._res_data[o.toString()]=URL.createObjectURL(t)}):e.text().then((function(t){const o=new URL(e.url);o.searchParams.delete("ts"),Reader.Loader._res_data[o.toString()]=t})):(console.warn("loader failed for resource",o,e),-1==o.indexOf(".ttf")?($(".loading-message").html(`Unable to load resource.<br/><small>${o}</small>`),void(t=!0)):void 0)}));e.push(n)}),Promise.allSettled(e).then(()=>{console.log("resource load complete"),t?Reader.applyTheme():Reader.initSecondStage()})}},Page:{_pagination_stored:0,next:function(){window.book.rendition.next(),"undefined"!=typeof EpubeApp?EpubeApp.showActionBar(!1):localforage.getItem("epube.keep-ui-visible").then((function(e){e||Reader.showUI(!1)}))},prev:function(){window.book.rendition.prev(),"undefined"!=typeof EpubeApp?EpubeApp.showActionBar(!1):localforage.getItem("epube.keep-ui-visible").then((function(e){e||Reader.showUI(!1)}))},openPrevious:function(e){const t=$(e).attr("data-location-cfi");t&&window.book.rendition.display(t),$(e).fadeOut()},clearLastRead:function(){if(confirm("Clear stored last read location?")){const e=window.book.locations.length(),t=(new Date).getTime();App.isOnline()&&$.post("backend.php",{op:"storelastread",page:-1,cfi:"",id:$.urlParam("id"),timestamp:t},(function(e){$(".lastread_input").val(e.page+"%")})),localforage.setItem(Reader.cacheId("lastread"),{cfi:"",page:0,total:e,timestamp:t}),window.setTimeout((function(){window.book.rendition.display(window.book.locations.cfiFromPercentage(0))}),250)}},openLastRead:function(e){localforage.getItem(Reader.cacheId("lastread")).then((function(t){console.log("lr local",t),t=t||{};try{t.cfi&&window.book.rendition.display(t.cfi).then(()=>{$(".loading").hide(),t.cfi&&window.book.rendition.display(t.cfi)})}catch(e){console.warn(e)}App.isOnline()&&!e&&$.post("backend.php",{op:"getlastread",id:$.urlParam("id")},(function(e){if(console.log("lr remote",e),App.isOnline()&&e)try{e.cfi&&t.cfi!=e.cfi&&e.timestamp>t.timestamp&&console.log("using remote lastread (timestamp is newer)"),localforage.setItem(Reader.cacheId("lastread"),{cfi:e.cfi,page:e.page,total:e.total,timestamp:e.timestamp}),window.book.rendition.display(e.cfi).then(()=>{window.book.rendition.display(e.cfi)})}catch(e){console.warn(e)}})).fail((function(e){e&&401==e.status&&(window.location="index.php")}))}))}},Settings:{onThemeChanged:function(e){const t=$(e).val();localforage.setItem("epube.theme",t).then((function(){Reader.applyTheme()}))},onLineHeightChanged:function(e){const t=$(e).val();localforage.setItem("epube.lineHeight",t).then((function(){Reader.applyStyles()}))},onTextSizeChanged:function(e){const t=$(e).val();localforage.setItem("epube.fontSize",t).then((function(){Reader.applyStyles()}))},onFontChanged:function(e){const t=$(e).val();localforage.setItem("epube.fontFamily",t).then((function(){Reader.applyStyles()}))}}};function __get_reader(){return Reader}function __get_app(){return App} \ No newline at end of file
+"use strict";$.urlParam=function(e){try{const t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.href);return decodeURIComponent(t[1].replace(/\+/g," "))||0}catch(e){return 0}};const Cookie={set:function(e,t,o){const n=new Date;n.setTime(n.getTime()+1e3*o);const a="expires="+n.toUTCString();document.cookie=e+"="+encodeURIComponent(t)+"; "+a},get:function(e){e+="=";const t=document.cookie.split(";");for(let o=0;o<t.length;o++){let n=t[o];for(;" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(e))return decodeURIComponent(n.substring(e.length,n.length))}return""},delete:function(e){document.cookie=e+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT"}},App={_dl_progress_timeout:!1,index_mode:"",last_mtime:-1,cached_urls:[],version:"UNKNOWN",csrf_token:"",init:function(){let e=0;this.csrf_token=Cookie.get("epube_csrf_token"),console.log("setting prefilter for token",this.csrf_token),$.ajaxPrefilter((function(e,t,o){if("post"!==t.type||"post"!==e.type)return;const n=typeof t.data;"object"==n?e.data=$.param($.extend(t.data,{csrf_token:App.csrf_token})):"string"==n&&(e.data=t.data+"&csrf_token="+encodeURIComponent(App.srf_token)),console.log(">>>",e)})),"undefined"!=typeof EpubeApp&&($(".navbar").hide(),$(".epube-app-filler").show(),$(".separate-search").show(),"favorites"==$.urlParam("mode")?EpubeApp.setPage("PAGE_FAVORITES"):EpubeApp.setPage("PAGE_LIBRARY")),App.initNightMode(),"serviceWorker"in navigator?(navigator.serviceWorker.addEventListener("message",(function(t){"refresh-started"==t.data&&(console.log("cache refresh started"),e=0,$(".dl-progress").fadeIn().text("Loading, please wait...")),t.data&&0==t.data.indexOf("refreshed:")&&(++e,$(".dl-progress").fadeIn().text("Updated "+e+" files...")),"client-reload"==t.data&&(localforage.setItem("epube.cache-timestamp",App.last_mtime),localforage.setItem("epube.cache-version",App.version),window.location.reload())})),App.showCovers(),App.Offline.markBooks(),App.refreshCache()):$(".container-main").addClass("alert alert-danger").html("Service worker support missing in browser (are you using plain HTTP?).")},logout:function(){$.post("backend.php",{op:"logout"}).then(()=>{window.location.reload()})},showSummary:function(e){const t=e.getAttribute("data-book-id");return $.post("backend.php",{op:"getinfo",id:t},(function(e){const t=e.comment?e.comment:"No description available";$("#summary-modal .modal-title").html(e.title),$("#summary-modal .book-summary").html(t),$("#summary-modal").modal()})),!1},showCovers:function(){$("img[data-book-id]").each((e,t)=>{if((t=$(t)).attr("data-cover-link")){const e=$("<img>").on("load",(function(){t.css("background-image","url("+t.attr("data-cover-link")+")").fadeIn(),e.attr("src",null)})).attr("src",t.attr("data-cover-link"))}})},toggleFavorite:function(e){const t=e.getAttribute("data-book-id");return("0"==e.getAttribute("data-is-fav")||confirm("Remove favorite?"))&&$.post("backend.php",{op:"togglefav",id:t},(function(o){if(o){let n="[Error]";0==o.status?n="Add to favorites":1==o.status&&(n="Remove from favorites"),$(e).html(n).attr("data-is-fav",o.status),"favorites"==App.index_mode&&0==o.status&&$("#cell-"+t).remove()}})),!1},refreshCache:function(e){"serviceWorker"in navigator?localforage.getItem("epube.cache-timestamp").then((function(t){console.log("stamp",t,"last mtime",App.last_mtime,"version",App.version),(e||t!=App.last_mtime)&&(console.log("asking worker to refresh cache"),navigator.serviceWorker.controller?navigator.serviceWorker.controller.postMessage({msg:"refresh-cache",urls:App.cached_urls}):localforage.getItem("epube.initial-load-done").then((function(e){console.log("initial load done",e),e?$(".dl-progress").show().addClass("alert-danger").html("Could not communicate with service worker. Try reloading the page."):localforage.setItem("epube.initial-load-done",!0).then((function(){$(".dl-progress").show().addClass("alert-info").html("Page will reload to activate service worker..."),window.setTimeout((function(){window.location.reload()}),3e3)}))})))})):$(".dl-progress").show().addClass("alert-danger").html("Could not communicate with service worker. Try reloading the page.")},isOnline:function(){return"undefined"!=typeof EpubeApp&&void 0!==EpubeApp.isOnline?EpubeApp.isOnline():navigator.onLine},appCheckOffline:function(){EpubeApp.setOffline(!App.isOnline)},initNightMode:function(){if("undefined"==typeof EpubeApp){if(window.matchMedia){const e=window.matchMedia("(prefers-color-scheme: dark)");e.addEventListener("change",()=>{App.applyNightMode(e.matches)}),App.applyNightMode(e.matches)}}else App.applyNightMode(EpubeApp.isNightMode())},applyNightMode:function(e){console.log("night mode changed to",e),$("#theme_css").attr("href","lib/bootstrap/v3/css/"+(e?"theme-dark.min.css":"bootstrap-theme.min.css"))},Offline:{init:function(){"undefined"!=typeof EpubeApp&&($(".navbar").hide(),$(".epube-app-filler").show(),EpubeApp.setPage("PAGE_OFFLINE")),App.initNightMode();const e=$.urlParam("query");e&&$(".search_query").val(e),App.Offline.populateList()},get:function(e,t){console.log("offline cache: "+e),$.post("backend.php",{op:"getinfo",id:e},(function(o){if(o){const n="epube-book."+e;localforage.setItem(n,o).then((function(o){console.log(n+" got data");const a=[];a.push(fetch("backend.php?op=download&id="+o.epub_id,{credentials:"same-origin"}).then((function(e){200==e.status&&(console.log(n+" got book"),t(),localforage.setItem(n+".book",e.blob()))}))),a.push(fetch("backend.php?op=getpagination&id="+o.epub_id,{credentials:"same-origin"}).then((function(e){200==e.status&&(console.log(n+" got pagination"),e.text().then((function(e){localforage.setItem(n+".locations",JSON.parse(e))})))}))),a.push(fetch("backend.php?op=getlastread&id="+o.epub_id,{credentials:"same-origin"}).then((function(e){200==e.status&&(console.log(n+" got lastread"),e.text().then((function(e){localforage.setItem(n+".lastread",JSON.parse(e))})))}))),o.has_cover&&a.push(fetch("backend.php?op=cover&id="+e,{credentials:"same-origin"}).then((function(e){200==e.status&&(console.log(n+" got cover"),localforage.setItem(n+".cover",e.blob()))}))),Promise.all(a).then((function(){$(".dl-progress").show().html("Finished downloading <b>"+o.title+"</b>"),window.clearTimeout(App._dl_progress_timeout),App._dl_progress_timeout=window.setTimeout((function(){$(".dl-progress").fadeOut()}),5e3)}))}))}}))},getAll:function(){confirm("Download all books on this page?")&&$(".row > div").each((function(e,t){const o=$(t).attr("id").replace("cell-",""),n=$(t).find(".offline_dropitem")[0];if(o){const e="epube-book."+o;localforage.getItem(e).then((function(e){e||App.Offline.get(o,(function(){App.Offline.mark(n)}))}))}}))},markBooks:function(){const e=$(".offline_dropitem");$.each(e,(function(e,t){App.Offline.mark(t)}))},mark:function(e){const t=e.getAttribute("data-book-id"),o="epube-book."+t;localforage.getItem(o).then((function(o){o?(e.onclick=function(){return App.Offline.remove(t,(function(){App.Offline.mark(e)})),!1},e.innerHTML="Remove offline data"):(e.onclick=function(){return App.Offline.get(t,(function(){App.Offline.mark(e)})),!1},e.innerHTML="Make available offline")}))},removeFromList:function(e){const t=e.getAttribute("data-book-id");return App.Offline.remove(t,(function(){$("#cell-"+t).remove()}))},remove:function(e,t){if(confirm("Remove download?")){const o="epube-book."+e,n=[];console.log("offline remove: "+e),localforage.iterate((function(e,t){t.match(o)&&n.push(localforage.removeItem(t))})),Promise.all(n).then((function(){window.setTimeout((function(){t()}),500)}))}},search:function(){const e=$(".search_query").val();return localforage.setItem("epube.search-query",e).then((function(){App.Offline.populateList()})),!1},removeAll:function(){if(confirm("Remove all downloaded books?")){const e=[];localforage.iterate((function(t,o){o.match("epube-book")&&e.push(localforage.removeItem(o))})),Promise.all(e).then((function(){window.setTimeout((function(){App.Offline.populateList()}),500)}))}},showSummary:function(e){const t=e.getAttribute("data-book-id");return localforage.getItem("epube-book."+t).then((function(e){const t=e.comment?e.comment:"No description available";$("#summary-modal .modal-title").html(e.title),$("#summary-modal .book-summary").html(t),$("#summary-modal").modal()})),!1},populateList:function(){let e=$.urlParam("query");e&&(e=e.toLowerCase());const t=$("#books_container");t.html(""),localforage.iterate((function(o,n){n.match(/epube-book\.\d{1,}$/)&&Promise.all([localforage.getItem(n),localforage.getItem(n+".cover"),localforage.getItem(n+".lastread"),localforage.getItem(n+".book")]).then((function(o){if(o[0]&&o[3]){const n=o[0];if(e){if(!(n.series_name&&n.series_name.toLowerCase().match(e)||n.title&&n.title.toLowerCase().match(e)||n.author_sort&&n.author_sort.toLowerCase().match(e)))return}let a=!1;o&&o[1]&&(a=URL.createObjectURL(o[1]));let i=!1,r=!1;const l=o[2];l&&(i=l.page>0,r=l.total>0&&l.total-l.page<5);const c=r?"read":"",s=i?"in_progress":"",d=n.series_name?`<div><a class="series_link" href="#">${n.series_name+" ["+n.series_index+"]"}</a></div>`:"",p=$(`<div class="col-xxs-6 col-xs-4 col-sm-3 col-md-2" id="cell-${n.id}">\n\t\t\t\t\t\t\t<a class="thumbnail ${c}" href="read.html?id=${n.epub_id}&b=${n.id}">\n\t\t\t\t\t\t\t\t<img style="display : none">\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t<div class="caption">\n\t\t\t\t\t\t\t\t<div><a class="${s}" href="read.html?id=${n.epub_id}&b=${n.id}">${n.title}</a></div>\n\t\t\t\t\t\t\t\t<div><a class="author_link" href="#">${n.author_sort}</a></div>\n\t\t\t\t\t\t\t\t${d}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="dropdown" style="white-space : nowrap">\n\t\t\t\t\t\t\t\t<a href="#" data-toggle="dropdown" role="button">More...<span class="caret"></span></a>\n\t\t\t\t\t\t\t\t<ul class="dropdown-menu">\n\t\t\t\t\t\t\t\t\t<li><a href="#" data-book-id="${n.id}" onclick="return App.Offline.showSummary(this)">Summary</a></li>\n\t\t\t\t\t\t\t\t\t<li><a href="#" data-book-id="${n.id}" onclick="App.Offline.removeFromList(this)">Remove offline data</a></li>\n\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`);a?p.find("img").css("background-image","url("+a+")").fadeIn():p.fadeIn(),p.find(".series_link").attr("title",n.series_name+" ["+n.series_index+"]").attr("href","offline.html?query="+encodeURIComponent(n.series_name)),p.find(".author_link").attr("title",n.author_sort).attr("href","offline.html?query="+encodeURIComponent(n.author_sort)),t.append(p)}}))}))}}},DEFAULT_FONT_SIZE=16,DEFAULT_FONT_FAMILY="Georgia",DEFAULT_LINE_HEIGHT=140,MIN_LENGTH_TO_JUSTIFY=32,PAGE_RESET_PROGRESS=-1,Reader={csrf_token:"",last_stored_cfi:"",prevent_lastread_update:!1,init:function(){this.csrf_token=Cookie.get("epube_csrf_token"),console.log("setting prefilter for token",this.csrf_token),$.ajaxPrefilter((function(e,t){if("post"!==t.type||"post"!==e.type)return;const o=typeof t.data;"object"==o?e.data=$.param($.extend(t.data,{csrf_token:Reader.csrf_token})):"string"==o&&(e.data=t.data+"&csrf_token="+encodeURIComponent(Reader.srf_token)),console.log(">>>",e)})),$(document).on("keyup",(function(e){Reader.hotkeyHandler(e)})),$("#left").on("mouseup",(function(){Reader.Page.prev()})),$("#right").on("mouseup",(function(){Reader.Page.next()})),Reader.Loader.init()},onOfflineModeChanged:function(e){if(console.log("onOfflineModeChanged",e),!e&&window.book){const e=window.book;console.log("we're online, storing lastread");const t=e.rendition.currentLocation().start.cfi,o=parseInt(100*e.locations.percentageFromCfi(t));$.post("backend.php",{op:"storelastread",id:$.urlParam("id"),page:o,cfi:t,timestamp:(new Date).getTime()},(function(){})).fail((function(e){e&&401==e.status&&(window.location="index.php")}))}},initSecondStage:function(){return"undefined"!=typeof EpubeApp?EpubeApp.setPage("PAGE_READER"):($(window).on("online",(function(){Reader.onOfflineModeChanged(!1)})),$(window).on("offline",(function(){Reader.onOfflineModeChanged(!0)}))),Reader.applyTheme(),localforage.getItem(Reader.cacheId()).then((function(e){if(!e)return console.log("requesting bookinfo..."),new Promise((e,t)=>{const o=$.urlParam("b");$.post("backend.php",{op:"getinfo",id:o}).success((function(n){if(n)return n.has_cover&&fetch("backend.php?op=cover&id="+o,{credentials:"same-origin"}).then((function(e){200==e.status&&localforage.setItem(Reader.cacheId("cover"),e.blob())})),localforage.setItem(Reader.cacheId(),n).then((function(){console.log("bookinfo saved"),e()}));t(new Error("unable to load book info: blank"))})).error((function(e){$(".loading-message").html("Unable to load book info.<br/><small>"+e.status+"</small>"),t(new Error("unable to load book info: "+e.status))}))});console.log("bookinfo already stored")})).then((function(){console.log("trying to load book..."),localforage.getItem(Reader.cacheId("book")).then((function(t){if(t)return console.log("loading from local storage"),new Promise((function(o,n){const a=new FileReader;a.onload=function(){try{return e.open(this.result).then((function(){o()}))}catch(e){$(".loading-message").html("Unable to load book (local)."),console.log(e),n(new Error("Unable to load book (local):"+e))}},a.readAsArrayBuffer(t)}));if(console.log("loading from network"),App.isOnline()){const t="backend.php?op=download&id="+$.urlParam("id");return $(".loading-message").html("Downloading…"),fetch(t,{credentials:"same-origin"}).then((function(t){if(200==t.status)return t.blob().then((function(t){return new Promise((function(o,n){const a=new FileReader;a.onload=function(){e.open(this.result).then((function(){localforage.setItem(Reader.cacheId("book"),t).then((function(){o()}))})).catch(e=>{$(".loading-message").html("Unable to open book.<br/><small>"+e+"</small>"),n(new Error("Unable to open book: "+e))})},a.onerror=function(e){console.log("filereader error",e),$(".loading-message").html("Unable to open book.<br/><small>"+e+"</small>"),n(new Error("Unable to open book: "+e))},a.readAsArrayBuffer(t)}))})).catch(e=>{console.log("blob error",e),$(".loading-message").html("Unable to download book.<br/><small>"+e+"</small>")});$(".loading-message").html("Unable to download book: "+t.status+".")})).catch((function(e){console.warn(e),$(".loading").is(":visible")&&$(".loading-message").html("Unable to load book (remote).<br/><small>"+e+"</small>")}))}$(".loading-message").html("This book is not available offline.")}));const e=ePub();window.book=e;const t=e.renderTo("reader",{width:"100%",height:"100%",minSpreadWidth:961});function o(t){try{const o=e.spine.get(t).cfiBase,n=e.locations._locations.find((function(e){return-1!=e.indexOf(o)}));return window.book.locations.locationFromCfi(n)}catch(e){console.warn(e)}return""}localforage.getItem("epube.enable-hyphens").then((function(e){e&&(Reader.hyphenateHTML=createHyphenator(hyphenationPatternsEnUs,{html:!0})),Reader.applyStyles(!0),t.display().then((function(){console.log("book displayed")}))})),t.hooks.content.register((function(t){t.on("linkClicked",(function(t){console.log("linkClicked",t),Reader.prevent_lastread_update=!0,-1==t.indexOf("://")&&($(".prev_location_btn").attr("data-location-cfi",e.rendition.currentLocation().start.cfi).show(),window.setTimeout((function(){Reader.showUI(!0)}),50))}));const o=window.location.href.match(/^.*\//)[0],n=["dist/app-libs.min.js","dist/reader_iframe.min.js"],a=t.document;for(let e=0;e<n.length;e++){const t=a.createElement("script");t.type="text/javascript",t.text=Reader.Loader._res_data[o+n[e]],a.head.appendChild(t)}if($(t.document.head).append($("<style type='text/css'>").text(Reader.Loader._res_data[o+"dist/reader_iframe.min.css"])),Reader.Loader._res_data[o+"lib/fonts/pmn-caecilia-55.ttf"]){const e=`\n\t\t\t\t\t\t@font-face {\n\t\t\t\t\t\t\tfont-family: Caecilia;\n\t\t\t\t\t\t\tsrc: url(${Reader.Loader._res_data[o+"lib/fonts/pmn-caecilia-55.ttf"]});\n\t\t\t\t\t\t\tfont-weight : normal;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@font-face {\n\t\t\t\t\t\t\tfont-family: Caecilia;\n\t\t\t\t\t\t\tsrc: url(${Reader.Loader._res_data[o+"lib/fonts/pmn-caecilia-75.ttf"]});\n\t\t\t\t\t\t\tfont-weight : bold;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@font-face {\n\t\t\t\t\t\t\tfont-family: Caecilia;\n\t\t\t\t\t\t\tsrc: url(${Reader.Loader._res_data[o+"lib/fonts/pmn-caecilia-56.ttf"]});\n\t\t\t\t\t\t\tfont-style : italic;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t`;$(t.document.head).append($("<style type='text/css'>").text(e))}else $(".font_family option[value='Caecilia']").hide();return localforage.getItem("epube.theme").then((function(e){e||(e="default"),$(t.document).find("body").attr("class","undefined"!=typeof EpubeApp?"is-epube-app":"").addClass("theme-"+e)}))})),$("#settings-modal").on("shown.bs.modal",(function(){localforage.getItem(Reader.cacheId("lastread")).then(e=>{e&&e.cfi&&$(".lastread_input").val(e.page+"%"),$.post("backend.php",{op:"getlastread",id:$.urlParam("id")},(function(e){$(".lastread_input").val(e.page+"%")}))}),localforage.getItem("epube.enable-hyphens").then((function(e){$(".enable_hyphens_checkbox").attr("checked",e).off("click").on("click",(function(e){localforage.setItem("epube.enable-hyphens",e.target.checked),confirm("Toggling hyphens requires page reload. Reload now?")&&window.location.reload()}))})),localforage.getItem("epube.keep-ui-visible").then((function(e){$(".keep_ui_checkbox").attr("checked",e).off("click").on("click",(function(e){localforage.setItem("epube.keep-ui-visible",e.target.checked)}))})),Promise.all([localforage.getItem("epube.cache-timestamp"),localforage.getItem("epube.cache-version")]).then(e=>{const t=e[0],o=e[1];$(".last-mod-timestamp").html(`${o}\n\t\t\t\t\t\t&mdash; ${parseInt(t)?new Date(1e3*t).toLocaleString("en-GB"):"Unknown"}\n\t\t\t\t\t\t(${App.isOnline()?"<span class='text-success'>Online</span>":"<span class='text-danger'>Offline</span>"})\n\t\t\t\t\t\t`)}),localforage.getItem("epube.fontFamily").then((function(e){e||(e="Georgia"),$(".font_family").val(e)})),localforage.getItem("epube.theme").then((function(e){$(".theme_name").val(e)})),localforage.getItem("epube.fontSize").then((function(e){e||(e=16);const t=$(".font_size").html("");for(let e=10;e<=32;e++){const o=$("<option>").val(e).html(e+" px");t.append(o)}t.val(e)})),localforage.getItem("epube.lineHeight").then((function(e){e||(e=140);const t=$(".line_height").html("");for(let e=100;e<=220;e+=10){const o=$("<option>").val(e).html(e+"%");t.append(o)}t.val(e)}))})),$("#dict-modal").on("shown.bs.modal",(function(){$(".dict_result").scrollTop(0)})),$(".dict_search_btn").on("click",(function(){$("#dict-modal").modal("hide"),window.open("https://duckduckgo.com/?q="+$(".dict_query").val())})),$(".wiki_search_btn").on("click",(function(){$(".dict_result").html("Loading, please wait..."),$.post("backend.php",{op:"wikisearch",query:$(".dict_query").val()}).then(e=>{try{console.log("wikisearch resp",e);let t="";$.each(e.query.pages,(e,o)=>{t+=o.extract}),$(".dict_result").html(t&&"undefined"!=t?t:"No definition found for "+$(".dict_query").val()+".")}catch(e){console.error(e),$(".dict_result").text("Error while processing data: "+e)}}).fail(e=>{console.error(e),$(".dict_result").text("Error while retrieving data.")})})),$("#toc-modal").on("shown.bs.modal",(function(){const t=e.navigation.toc,n=$(".toc_list");n.html(""),$.each(t,(function(t,a){try{const t=$("<a>").attr("href","#").html("<b class='pull-right'>"+o(a.href)+"</b>"+a.label).attr("data-href",a.href).click((function(){e.rendition.display(t.attr("data-href"))}));n.append($("<li>").append(t)),function t(n,a,i){if(3==i)return!1;if(n.subitems){const r=$("<ul class='toc_sublist list-unstyled'>");$.each(n.subitems,(function(n,a){const l=$("<a>").attr("href","#").html("<b class='pull-right'>"+o(a.href)+"</b>"+a.label).attr("data-href",a.href).click((function(){e.rendition.display(l.attr("data-href"))}));r.append($("<li>").append(l)),t(a,r,i+1)})),a.append(r)}}(a,n,0)}catch(e){console.warn(e)}})),n.children().length<=1&&(n.html(""),$.each(e.spine.items,(function(t,o){const a=$("<a>").attr("href","#").attr("title",o.url).html("Section "+(t+1)).attr("data-href",o.href).click((function(){e.rendition.display(a.attr("data-href"))}));n.append($("<li>").append(a))})))})),e.spine.hooks.content.register((function(e){$(e).find("p").filter((e,t)=>$(t).text().length>=32?t:null).css("text-align","justify"),$(e).find("a, p, span, em, i, strong, b, body, div, big, small").attr("class","").css("font-family","inherit").css("font-size","inherit").css("color","").css("background","").css("background-color",""),void 0!==Reader.hyphenateHTML&&$(e).find("p").each((e,t)=>{(t=$(t)).html(Reader.hyphenateHTML(t.html()))})})),e.ready.then((function(){return localforage.getItem(Reader.cacheId()).then(t=>{let o,n;if(t)o=t.title,n=t.author_sort;else{const t=e.package.metadata;o=t.title,n=t.creator}return document.title=o+" – "+n+" – The Epube",$(".title").text(o).attr("title",o+" – "+n),"undefined"!=typeof EpubeApp&&(EpubeApp.setTitle(o),EpubeApp.showActionBar(!1)),localforage.getItem(Reader.cacheId("locations")).then((function(t){if(console.log("stored pagination",null!=t),t&&"string"==typeof t[0])return Reader.Page._pagination_stored=1,e.locations.load(t);{console.log("requesting pagination...");const t="backend.php?op=getpagination&id="+encodeURIComponent($.urlParam("id"));return fetch(t,{credentials:"same-origin"}).then((function(t){return t.ok?t.json().then((function(t){return t&&"string"==typeof t[0]?(Reader.Page._pagination_stored=1,e.locations.load(t)):($(".loading-message").html("Preparing locations…"),e.locations.generate(1600))})):($(".loading-message").html("Preparing locations…"),e.locations.generate(1600))})).catch((function(){return $(".loading-message").html("Preparing locations…"),e.locations.generate(1600)}))}}))})})).then((function(t){console.log("locations ready, stored=",Reader.Page._pagination_stored),t?(App.isOnline()&&!Reader.Page._pagination_stored&&$.post("backend.php",{op:"storepagination",id:$.urlParam("id"),payload:JSON.stringify(t),total:100}),localforage.getItem(Reader.cacheId("locations")).then((function(e){e||localforage.setItem(Reader.cacheId("locations"),t)})),$(".location").click((function(){const t=e.rendition.currentLocation().start.location,o=e.locations.length(),n=prompt("Jump to location [1-"+o+"]",t);n&&e.rendition.display(e.locations._locations[n])})),Reader.Page.openLastRead(),window.setTimeout((function(){Reader.Page.openLastRead(),$(".loading").hide()}),250)):$(".loading-message").html("Could not generate locations.")})),t.on("keyup",e=>{Reader.hotkeyHandler(e)}),t.on("resized",(function(){console.log("resized"),$(".loading").show(),$(".loading-message").html("Opening chapter…"),window.setTimeout((function(){Reader.resizeSideColumns(),Reader.Page.openLastRead(),$(".loading").hide()}),250)})),t.on("rendered",(function(){$(".chapter").html($("<span>").addClass("glyphicon glyphicon-th-list")),Reader.applyTheme(),Reader.resizeSideColumns();try{const t=e.rendition.currentLocation();if(t.start){const o=e.canonical(t.start.href);let n=!1;$.each(Reader.flattenToc(e),(function(t,a){e.spine.get(a.href).canonical!=o||(n=a)})),n&&n.label&&$(".chapter").append("&nbsp;"+n.label.trim()+" | "),Reader.generateTocBar(e,Reader.flattenToc(e))}}catch(e){console.warn(e)}})),t.on("relocated",(function(t){if(0==e.locations.length())return;const o=t.start.cfi,n=parseInt(100*e.locations.percentageFromCfi(o));$("#cur_page").text(t.start.location),$("#total_pages").text(e.locations.length()),$("#page_pct").text(parseInt(100*e.locations.percentageFromCfi(o))+"%"),Reader.updateTocBarPosition(e,t);const a=t.start.displayed;if(a&&($("#chapter_cur_page").text(a.page),$("#chapter_total_pages").text(a.total),a.total>0&&$("#chapter_pct").text(parseInt(a.page/a.total*100)+"%")),Reader.last_stored_cfi!=o&&!Reader.prevent_lastread_update){const e=(new Date).getTime();console.log("storing lastread",n,o,e),localforage.setItem(Reader.cacheId("lastread"),{cfi:o,page:n,total:100,timestamp:e}),App.isOnline()&&(console.log("updating remote lastread",o),Reader.last_stored_cfi=o,$.post("backend.php",{op:"storelastread",id:$.urlParam("id"),page:n,cfi:o,timestamp:e}).then(()=>{}).fail((function(e){e&&401==e.status&&(window.location="index.php")})))}Reader.prevent_lastread_update=!1}))}))},flattenTocSubItems:function(e,t){let o=[];return 3!=t&&(e.subitems&&$.each(e.subitems,(function(e,n){n._nest=t,o.push(n),o=o.concat(Reader.flattenTocSubItems(n,t+1))})),o)},flattenToc:function(e){if(this._flattened_toc)return this._flattened_toc;{let t=[];return $.each(e.navigation.toc,(function(e,o){o._nest=0,t.push(o),t=t.concat(Reader.flattenTocSubItems(o,1))})),this._flattened_toc=t,t}},generateTocBar:function(e,t){$(".spacer").html(""),$.each(t,(function(t,o){try{const t=e.spine.get(o.href).cfiBase,n=e.locations._locations.find((function(e){return-1!=e.indexOf(t)}));if(n){const t=Math.round(100*e.locations.percentageFromCfi(n));$(".spacer").append($("<div class='toc-bar-entry'>").attr("data-nest-level",o._nest).css("left",t+"%").css("_width",3-o._nest+"px").attr("title",o.label))}}catch(e){console.warn(e)}})),$(".spacer").append($("<div class='toc-bar-entry current-position'>")),Reader.updateTocBarPosition(e,e.rendition.currentLocation())},updateTocBarPosition:function(e,t){const o=Math.round(t.start.location/e.locations.length()*100);$(".toc-bar-entry.current-position").css("left",o+"%")},applyStyles:function(e){Promise.all([localforage.getItem("epube.fontSize"),localforage.getItem("epube.fontFamily"),localforage.getItem("epube.lineHeight"),localforage.getItem("epube.theme")]).then((function(t){const o=t[0]?t[0]+"px":"16px",n=t[1]?t[1]:"Georgia",a=t[2]?t[2]+"%":"140%";console.log("style",n,o,a),console.log("applying default theme..."),window.book.rendition.themes.default({html:{"font-size":o,"font-family":"'"+n+"'","line-height":a,"text-align":"justify","text-indent":"1em"}}),e||(console.log("applying rendition themes..."),$.each(window.book.rendition.getContents(),(function(e,t){t.css("font-size",o),t.css("font-family","'"+n+"'"),t.css("line-height",a),t.css("text-align","justify")}))),Reader.applyTheme()}))},applyTheme:function(){localforage.getItem("epube.theme").then((function(e){e||(e="default"),console.log("called for theme",e),"default"==e&&"undefined"!=typeof EpubeApp&&EpubeApp.isNightMode()&&(e="night"),console.log("setting main UI theme",e),$("body").attr("class","undefined"!=typeof EpubeApp?"is-epube-app":"").addClass("epube-reader theme-"+e).attr("data-is-loading","false"),"undefined"!=typeof EpubeApp&&window.setTimeout((function(){const e=window.getComputedStyle(document.querySelector("body"),null).getPropertyValue("background-color").match(/rgb\((\d{1,}), (\d{1,}), (\d{1,})\)/);e&&(console.log("sending bgcolor",e),EpubeApp.setStatusBarColor(parseInt(e[1]),parseInt(e[2]),parseInt(e[3])))}),250),window.book&&$.each(window.book.rendition.getContents(),(function(t,o){console.log("applying rendition theme",e,"to",o,o.document),$(o.document).find("body").attr("class","undefined"!=typeof EpubeApp?"is-epube-app":"").addClass("theme-"+e)}))}))},hotkeyHandler:function(e){try{if($(".modal").is(":visible"))return;39!=e.which&&32!=e.which&&34!=e.which||(e.preventDefault(),Reader.Page.next()),37!=e.which&&33!=e.which||(e.preventDefault(),Reader.Page.prev()),27==e.which&&(e.preventDefault(),Reader.showUI(!0))}catch(e){console.warn(e)}},resizeSideColumns:function(){let e=$("#reader").position().left;const t=$("#reader iframe")[0];t&&t.contentWindow.$&&(e+=parseInt(t.contentWindow.$("body").css("padding-left"))),$("#left, #right").width(e)},markAsRead:function(){if(confirm("Mark book as read?")){const e=100,t=window.book.locations.cfiFromPercentage(1),o=(new Date).getTime();App.isOnline()&&$.post("backend.php",{op:"storelastread",page:e,cfi:t,id:$.urlParam("id"),timestamp:o},(function(e){$(".lastread_input").val(e.page+"%")})),localforage.setItem(Reader.cacheId("lastread"),{cfi:t,page:e,total:e,timestamp:o})}},close:function(){const e=window.book.rendition.currentLocation().start.cfi,t=parseInt(100*window.book.locations.percentageFromCfi(e)),o=(new Date).getTime();localforage.setItem(Reader.cacheId("lastread"),{cfi:e,page:t,total:100,timestamp:o}),App.isOnline()?$.post("backend.php",{op:"storelastread",id:$.urlParam("id"),page:t,cfi:e,timestamp:o},(function(){window.location=$.urlParam("rt")?"index.php?mode="+$.urlParam("rt"):"index.php"})).fail((function(){window.location="index.php"})):window.location="index.php"},cacheId:function(e){return"epube-book."+$.urlParam("b")+(e?"."+e:"")},toggleFullscreen:function(){if("undefined"!=typeof EpubeApp);else{const e=document.documentElement,t=document.webkitIsFullScreen||document.mozFullScreen||!1;e.requestFullScreen=e.requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||function(){return!1},document.cancelFullScreen=document.cancelFullScreen||document.webkitCancelFullScreen||document.mozCancelFullScreen||function(){return!1},t?document.cancelFullScreen():e.requestFullScreen()}},showUI:function(e){e?$(".header,.footer").fadeIn():$(".header,.footer").fadeOut()},toggleUI:function(){$(".header").is(":visible")?$(".header,.footer").fadeOut():$(".header,.footer").fadeIn()},lookupWord:function(e,t){e=e.replace(/­/g,""),$(".dict_result").html("Loading, please wait..."),$("#dict-modal").modal("show"),$.post("backend.php",{op:"define",word:e},(function(o){o&&($(".dict_result").html(o.result.join("<br/>")),$(".dict_query").val(e),t&&t())})).fail((function(e){console.warn(e),$(".dict_result").html("Network error while looking up word: "+e.statusText)}))},search:function(){const e=$(".search_input").val(),t=$(".search_results");t.html(""),e&&Promise.all(window.book.spine.spineItems.map(t=>t.load(window.book.load.bind(window.book)).then(t.find.bind(t,e)).finally(t.unload.bind(t)))).then(e=>Promise.resolve([].concat.apply([],e))).then((function(e){$.each(e,(function(e,o){const n=$("<a>").attr("href","#").html("<b class='pull-right'>"+window.book.locations.locationFromCfi(o.cfi)+"</b>"+o.excerpt).attr("data-cfi",o.cfi).attr("data-id",o.id).click((function(){window.book.rendition.display(n.attr("data-cfi"))}));t.append($("<li>").append(n))}))}))},Loader:{_res_data:[],init:function(){const e=[];let t=!1;["dist/app-libs.min.js","dist/reader_iframe.min.js","dist/reader_iframe.min.css","lib/fonts/pmn-caecilia-55.ttf","lib/fonts/pmn-caecilia-56.ttf","lib/fonts/pmn-caecilia-75.ttf"].forEach(o=>{console.log("loading resource",o);const n=fetch(o,{credentials:"same-origin"}).then((function(e){return 200==e.status?-1!=e.url.indexOf(".ttf")?e.blob().then(t=>{const o=new URL(e.url);o.searchParams.delete("ts"),Reader.Loader._res_data[o.toString()]=URL.createObjectURL(t)}):e.text().then((function(t){const o=new URL(e.url);o.searchParams.delete("ts"),Reader.Loader._res_data[o.toString()]=t})):(console.warn("loader failed for resource",o,e),-1==o.indexOf(".ttf")?($(".loading-message").html(`Unable to load resource.<br/><small>${o}</small>`),void(t=!0)):void 0)}));e.push(n)}),Promise.allSettled(e).then(()=>{console.log("resource load complete"),t?Reader.applyTheme():Reader.initSecondStage()})}},Page:{_pagination_stored:0,next:function(){window.book.rendition.next(),"undefined"!=typeof EpubeApp?EpubeApp.showActionBar(!1):localforage.getItem("epube.keep-ui-visible").then((function(e){e||Reader.showUI(!1)}))},prev:function(){window.book.rendition.prev(),"undefined"!=typeof EpubeApp?EpubeApp.showActionBar(!1):localforage.getItem("epube.keep-ui-visible").then((function(e){e||Reader.showUI(!1)}))},openPrevious:function(e){const t=$(e).attr("data-location-cfi");t&&window.book.rendition.display(t),$(e).fadeOut()},clearLastRead:function(){if(confirm("Clear stored last read location?")){const e=window.book.locations.length(),t=(new Date).getTime();App.isOnline()&&$.post("backend.php",{op:"storelastread",page:-1,cfi:"",id:$.urlParam("id"),timestamp:t},(function(e){$(".lastread_input").val(e.page+"%")})),localforage.setItem(Reader.cacheId("lastread"),{cfi:"",page:0,total:e,timestamp:t}),window.setTimeout((function(){window.book.rendition.display(window.book.locations.cfiFromPercentage(0))}),250)}},openLastRead:function(e){localforage.getItem(Reader.cacheId("lastread")).then((function(t){console.log("lr local",t),t=t||{};try{t.cfi&&window.book.rendition.display(t.cfi).then(()=>{$(".loading").hide(),t.cfi&&window.book.rendition.display(t.cfi)})}catch(e){console.warn(e)}App.isOnline()&&!e&&$.post("backend.php",{op:"getlastread",id:$.urlParam("id")},(function(e){if(console.log("lr remote",e),App.isOnline()&&e)try{e.cfi&&t.cfi!=e.cfi&&e.timestamp>t.timestamp&&console.log("using remote lastread (timestamp is newer)"),localforage.setItem(Reader.cacheId("lastread"),{cfi:e.cfi,page:e.page,total:e.total,timestamp:e.timestamp}),window.book.rendition.display(e.cfi).then(()=>{window.book.rendition.display(e.cfi)})}catch(e){console.warn(e)}})).fail((function(e){e&&401==e.status&&(window.location="index.php")}))}))}},Settings:{onThemeChanged:function(e){const t=$(e).val();localforage.setItem("epube.theme",t).then((function(){Reader.applyTheme()}))},onLineHeightChanged:function(e){const t=$(e).val();localforage.setItem("epube.lineHeight",t).then((function(){Reader.applyStyles()}))},onTextSizeChanged:function(e){const t=$(e).val();localforage.setItem("epube.fontSize",t).then((function(){Reader.applyStyles()}))},onFontChanged:function(e){const t=$(e).val();localforage.setItem("epube.fontFamily",t).then((function(){Reader.applyStyles()}))}}};function __get_reader(){return Reader}function __get_app(){return App} \ No newline at end of file
diff --git a/gulpfile.js b/gulpfile.js
index e99cddb..343e4a5 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -22,8 +22,7 @@ gulp.task('minifyLibsJS', function(cb) {
'lib/epub.js',
'lib/localforage.min.js',
'lib/jquery.mobile-events.min.js',
- 'lib/hyphen/*.js',
- 'lib/holder.min.js'])
+ 'lib/hyphen/*.js'])
.pipe(concat('app-libs.min.js'))
.pipe(uglify())
.on('error', swallowError)
diff --git a/js/app.js b/js/app.js
index c977879..f2774f2 100644
--- a/js/app.js
+++ b/js/app.js
@@ -149,13 +149,8 @@ const App = {
img.attr("src", null);
})
.attr("src", e.attr('data-cover-link'));
- } else {
- e.attr('src', 'holder.js/130x190?auto=yes').fadeIn();
}
});
-
- /* global Holder */
- Holder.run();
},
toggleFavorite: function(elem) {
const bookId = elem.getAttribute("data-book-id");
@@ -554,7 +549,6 @@ const App = {
.fadeIn();
} else {
cell
- .find("img").attr("data-src", 'holder.js/130x190?auto=yes')
.fadeIn();
}
@@ -567,8 +561,6 @@ const App = {
.attr("href", "offline.html?query=" + encodeURIComponent(info.author_sort));
books.append(cell);
-
- Holder.run();
}
});
}
diff --git a/lib/holder.min.js b/lib/holder.min.js
deleted file mode 100644
index 62255af..0000000
--- a/lib/holder.min.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/*!
-
-Holder - client side image placeholders
-Version 2.9.4+cabil
-© 2016 Ivan Malopinsky - http://imsky.co
-
-Site: http://holderjs.com
-Issues: https://github.com/imsky/holder/issues
-License: MIT
-
-*/
-!function(e){if(e.document){var t=e.document;t.querySelectorAll||(t.querySelectorAll=function(n){var r,i=t.createElement("style"),o=[];for(t.documentElement.firstChild.appendChild(i),t._qsa=[],i.styleSheet.cssText=n+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",e.scrollBy(0,0),i.parentNode.removeChild(i);t._qsa.length;)r=t._qsa.shift(),r.style.removeAttribute("x-qsa"),o.push(r);return t._qsa=null,o}),t.querySelector||(t.querySelector=function(e){var n=t.querySelectorAll(e);return n.length?n[0]:null}),t.getElementsByClassName||(t.getElementsByClassName=function(e){return e=String(e).replace(/^|\s+/g,"."),t.querySelectorAll(e)}),Object.keys||(Object.keys=function(e){if(e!==Object(e))throw TypeError("Object.keys called on non-object");var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);return n}),Array.prototype.forEach||(Array.prototype.forEach=function(e){if(void 0===this||null===this)throw TypeError();var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw TypeError();var r,i=arguments[1];for(r=0;r<n;r++)r in t&&e.call(i,t[r],r,t)}),function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.atob=e.atob||function(e){e=String(e);var n,r=0,i=[],o=0,a=0;if(e=e.replace(/\s/g,""),e.length%4===0&&(e=e.replace(/=+$/,"")),e.length%4===1)throw Error("InvalidCharacterError");if(/[^+\/0-9A-Za-z]/.test(e))throw Error("InvalidCharacterError");for(;r<e.length;)n=t.indexOf(e.charAt(r)),o=o<<6|n,a+=6,24===a&&(i.push(String.fromCharCode(o>>16&255)),i.push(String.fromCharCode(o>>8&255)),i.push(String.fromCharCode(255&o)),a=0,o=0),r+=1;return 12===a?(o>>=4,i.push(String.fromCharCode(255&o))):18===a&&(o>>=2,i.push(String.fromCharCode(o>>8&255)),i.push(String.fromCharCode(255&o))),i.join("")},e.btoa=e.btoa||function(e){e=String(e);var n,r,i,o,a,s,l,h=0,u=[];if(/[^\x00-\xFF]/.test(e))throw Error("InvalidCharacterError");for(;h<e.length;)n=e.charCodeAt(h++),r=e.charCodeAt(h++),i=e.charCodeAt(h++),o=n>>2,a=(3&n)<<4|r>>4,s=(15&r)<<2|i>>6,l=63&i,h===e.length+2?(s=64,l=64):h===e.length+1&&(l=64),u.push(t.charAt(o),t.charAt(a),t.charAt(s),t.charAt(l));return u.join("")}}(e),Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(e){var t=this.__proto__||this.constructor.prototype;return e in this&&(!(e in t)||t[e]!==this[e])}),function(){if("performance"in e==!1&&(e.performance={}),Date.now=Date.now||function(){return(new Date).getTime()},"now"in e.performance==!1){var t=Date.now();performance.timing&&performance.timing.navigationStart&&(t=performance.timing.navigationStart),e.performance.now=function(){return Date.now()-t}}}(),e.requestAnimationFrame||(e.webkitRequestAnimationFrame&&e.webkitCancelAnimationFrame?!function(e){e.requestAnimationFrame=function(t){return webkitRequestAnimationFrame(function(){t(e.performance.now())})},e.cancelAnimationFrame=e.webkitCancelAnimationFrame}(e):e.mozRequestAnimationFrame&&e.mozCancelAnimationFrame?!function(e){e.requestAnimationFrame=function(t){return mozRequestAnimationFrame(function(){t(e.performance.now())})},e.cancelAnimationFrame=e.mozCancelAnimationFrame}(e):!function(e){e.requestAnimationFrame=function(t){return e.setTimeout(t,1e3/60)},e.cancelAnimationFrame=e.clearTimeout}(e))}}(this),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Holder=t():e.Holder=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){(function(t){function r(e,t,n,r){var a=i(n.substr(n.lastIndexOf(e.domain)),e);a&&o({mode:null,el:r,flags:a,engineSettings:t})}function i(e,t){var n={theme:k(O.settings.themes.gray,null),stylesheets:t.stylesheets,instanceOptions:t},r=e.indexOf("?"),i=[e];r!==-1&&(i=[e.slice(0,r),e.slice(r+1)]);var o=i[0].split("/");n.holderURL=e;var a=o[1],s=a.match(/([\d]+p?)x([\d]+p?)/);if(!s)return!1;if(n.fluid=a.indexOf("p")!==-1,n.dimensions={width:s[1].replace("p","%"),height:s[2].replace("p","%")},2===i.length){var l=v.parse(i[1]);if(w.truthy(l.ratio)){n.fluid=!0;var h=parseFloat(n.dimensions.width.replace("%","")),u=parseFloat(n.dimensions.height.replace("%",""));u=Math.floor(100*(u/h)),h=100,n.dimensions.width=h+"%",n.dimensions.height=u+"%"}if(n.auto=w.truthy(l.auto),l.bg&&(n.theme.bg=w.parseColor(l.bg)),l.fg&&(n.theme.fg=w.parseColor(l.fg)),l.bg&&!l.fg&&(n.autoFg=!0),l.theme&&n.instanceOptions.themes.hasOwnProperty(l.theme)&&(n.theme=k(n.instanceOptions.themes[l.theme],null)),l.text&&(n.text=l.text),l.textmode&&(n.textmode=l.textmode),l.size&&(n.size=l.size),l.font&&(n.font=l.font),l.align&&(n.align=l.align),l.lineWrap&&(n.lineWrap=l.lineWrap),n.nowrap=w.truthy(l.nowrap),n.outline=w.truthy(l.outline),w.truthy(l.random)){O.vars.cache.themeKeys=O.vars.cache.themeKeys||Object.keys(n.instanceOptions.themes);var c=O.vars.cache.themeKeys[0|Math.random()*O.vars.cache.themeKeys.length];n.theme=k(n.instanceOptions.themes[c],null)}}return n}function o(e){var t=e.mode,n=e.el,r=e.flags,i=e.engineSettings,o=r.dimensions,s=r.theme,l=o.width+"x"+o.height;t=null==t?r.fluid?"fluid":"image":t;var c=/holder_([a-z]+)/g,d=!1;if(null!=r.text&&(s.text=r.text,"object"===n.nodeName.toLowerCase())){for(var f=s.text.split("\\n"),p=0;p<f.length;p++)f[p]=w.encodeHtmlEntity(f[p]);s.text=f.join("\\n")}if(s.text){var g=s.text.match(c);null!==g&&g.forEach(function(e){"holder_dimensions"===e&&(s.text=s.text.replace(e,l))})}var m=r.holderURL,v=k(i,null);if(r.font&&(s.font=r.font,!v.noFontFallback&&"img"===n.nodeName.toLowerCase()&&O.setup.supportsCanvas&&"svg"===v.renderer&&(v=k(v,{renderer:"canvas"}))),r.font&&"canvas"==v.renderer&&(v.reRender=!0),"background"==t)null==n.getAttribute("data-background-src")&&x.setAttr(n,{"data-background-src":m});else{var y={};y[O.vars.dataAttr]=m,x.setAttr(n,y)}r.theme=s,n.holderData={flags:r,engineSettings:v},"image"!=t&&"fluid"!=t||x.setAttr(n,{alt:s.text?d?s.text:s.text+" ["+l+"]":l});var b={mode:t,el:n,holderSettings:{dimensions:o,theme:s,flags:r},engineSettings:v};"image"==t?(r.auto||(n.style.width=o.width+"px",n.style.height=o.height+"px"),"html"==v.renderer?n.style.backgroundColor=s.bg:(a(b),"exact"==r.textmode&&(n.holderData.resizeUpdate=!0,O.vars.resizableImages.push(n),h(n)))):"background"==t&&"html"!=v.renderer?a(b):"fluid"==t&&(n.holderData.resizeUpdate=!0,"%"==o.height.slice(-1)?n.style.height=o.height:null!=r.auto&&r.auto||(n.style.height=o.height+"px"),"%"==o.width.slice(-1)?n.style.width=o.width:null!=r.auto&&r.auto||(n.style.width=o.width+"px"),"inline"!=n.style.display&&""!==n.style.display&&"none"!=n.style.display||(n.style.display="block"),u(n),"html"==v.renderer?n.style.backgroundColor=s.bg:(O.vars.resizableImages.push(n),h(n)))}function a(e){function n(){var t=null;switch(l.renderer){case"canvas":t=E(u,e);break;case"svg":t=C(u,e);break;default:throw"Holder: invalid renderer: "+l.renderer}return t}var r=null,i=e.mode,o=e.el,a=e.holderSettings,l=e.engineSettings;switch(l.renderer){case"svg":if(!O.setup.supportsSVG)return;break;case"canvas":if(!O.setup.supportsCanvas)return;break;default:return}var h={width:a.dimensions.width,height:a.dimensions.height,theme:a.theme,flags:a.flags},u=s(h);if(r=n(),null==r)throw"Holder: couldn't render placeholder";"background"==i?(o.style.backgroundImage="url("+r+")",l.noBackgroundSize||(o.style.backgroundSize=h.width+"px "+h.height+"px")):("img"===o.nodeName.toLowerCase()?x.setAttr(o,{src:r}):"object"===o.nodeName.toLowerCase()&&x.setAttr(o,{data:r,type:"image/svg+xml"}),l.reRender&&t.setTimeout(function(){var e=n();if(null==e)throw"Holder: couldn't render placeholder";"img"===o.nodeName.toLowerCase()?x.setAttr(o,{src:e}):"object"===o.nodeName.toLowerCase()&&x.setAttr(o,{data:e,type:"image/svg+xml"})},150)),x.setAttr(o,{"data-holder-rendered":!0})}function s(e){function t(e,t,n,r){t.width=n,t.height=r,e.width=Math.max(e.width,t.width),e.height+=t.height}var n=O.defaults.size;switch(parseFloat(e.theme.size)?n=e.theme.size:parseFloat(e.flags.size)&&(n=e.flags.size),e.font={family:e.theme.font?e.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:l(e.width,e.height,n,O.defaults.scale),units:e.theme.units?e.theme.units:O.defaults.units,weight:e.theme.fontweight?e.theme.fontweight:"bold"},e.text=e.theme.text||Math.floor(e.width)+"x"+Math.floor(e.height),e.noWrap=e.theme.nowrap||e.flags.nowrap,e.align=e.theme.align||e.flags.align||"center",e.flags.textmode){case"literal":e.text=e.flags.dimensions.width+"x"+e.flags.dimensions.height;break;case"exact":if(!e.flags.exactDimensions)break;e.text=Math.floor(e.flags.exactDimensions.width)+"x"+Math.floor(e.flags.exactDimensions.height)}var r=e.flags.lineWrap||O.setup.lineWrapRatio,i=e.width*r,o=i,a=new y({width:e.width,height:e.height}),s=a.Shape,h=new s.Rect("holderBg",{fill:e.theme.bg});if(h.resize(e.width,e.height),a.root.add(h),e.flags.outline){var u=new S(h.properties.fill);u=u.lighten(u.lighterThan("7f7f7f")?-.1:.1),h.properties.outline={fill:u.toHex(!0),width:2}}var c=e.theme.fg;if(e.flags.autoFg){var d=new S(h.properties.fill),f=new S("fff"),p=new S("000",{alpha:.285714});c=d.blendAlpha(d.lighterThan("7f7f7f")?p:f).toHex(!0)}var g=new s.Group("holderTextGroup",{text:e.text,align:e.align,font:e.font,fill:c});g.moveTo(null,null,1),a.root.add(g);var m=g.textPositionData=z(a);if(!m)throw"Holder: staging fallback not supported yet.";g.properties.leading=m.boundingBox.height;var v=null,w=null;if(m.lineCount>1){var b,x=0,A=0,C=0;w=new s.Group("line"+C),"left"!==e.align&&"right"!==e.align||(o=e.width*(1-2*(1-r)));for(var E=0;E<m.words.length;E++){var k=m.words[E];v=new s.Text(k.text);var T="\\n"==k.text;!e.noWrap&&(x+k.width>=o||T===!0)&&(t(g,w,x,g.properties.leading),g.add(w),x=0,A+=g.properties.leading,C+=1,w=new s.Group("line"+C),w.y=A),T!==!0&&(v.moveTo(x,0),x+=m.spaceWidth+k.width,w.add(v))}if(t(g,w,x,g.properties.leading),g.add(w),"left"===e.align)g.moveTo(e.width-i,null,null);else if("right"===e.align){for(b in g.children)w=g.children[b],w.moveTo(e.width-w.width,null,null);g.moveTo(0-(e.width-i),null,null)}else{for(b in g.children)w=g.children[b],w.moveTo((g.width-w.width)/2,null,null);g.moveTo((e.width-g.width)/2,null,null)}g.moveTo(null,(e.height-g.height)/2,null),(e.height-g.height)/2<0&&g.moveTo(null,0,null)}else v=new s.Text(e.text),w=new s.Group("line0"),w.add(v),g.add(w),"left"===e.align?g.moveTo(e.width-i,null,null):"right"===e.align?g.moveTo(0-(e.width-i),null,null):g.moveTo((e.width-m.boundingBox.width)/2,null,null),g.moveTo(null,(e.height-m.boundingBox.height)/2,null);return a}function l(e,t,n,r){var i=parseInt(e,10),o=parseInt(t,10),a=Math.max(i,o),s=Math.min(i,o),l=.8*Math.min(s,a*r);return Math.round(Math.max(n,l))}function h(e){var t;t=null==e||null==e.nodeType?O.vars.resizableImages:[e];for(var n=0,r=t.length;n<r;n++){var i=t[n];if(i.holderData){var o=i.holderData.flags,s=T(i);if(s){if(!i.holderData.resizeUpdate)continue;if(o.fluid&&o.auto){var l=i.holderData.fluidConfig;switch(l.mode){case"width":s.height=s.width/l.ratio;break;case"height":s.width=s.height*l.ratio}}var h={mode:"image",holderSettings:{dimensions:s,theme:o.theme,flags:o},el:i,engineSettings:i.holderData.engineSettings};"exact"==o.textmode&&(o.exactDimensions=s,h.holderSettings.dimensions=o.dimensions),a(h)}else f(i)}}}function u(e){if(e.holderData){var t=T(e);if(t){var n=e.holderData.flags,r={fluidHeight:"%"==n.dimensions.height.slice(-1),fluidWidth:"%"==n.dimensions.width.slice(-1),mode:null,initialDimensions:t};r.fluidWidth&&!r.fluidHeight?(r.mode="width",r.ratio=r.initialDimensions.width/parseFloat(n.dimensions.height)):!r.fluidWidth&&r.fluidHeight&&(r.mode="height",r.ratio=parseFloat(n.dimensions.width)/r.initialDimensions.height),e.holderData.fluidConfig=r}else f(e)}}function c(){var e,n=[],r=Object.keys(O.vars.invisibleImages);r.forEach(function(t){e=O.vars.invisibleImages[t],T(e)&&"img"==e.nodeName.toLowerCase()&&(n.push(e),delete O.vars.invisibleImages[t])}),n.length&&F.run({images:n}),setTimeout(function(){t.requestAnimationFrame(c)},10)}function d(){O.vars.visibilityCheckStarted||(t.requestAnimationFrame(c),O.vars.visibilityCheckStarted=!0)}function f(e){e.holderData.invisibleId||(O.vars.invisibleId+=1,O.vars.invisibleImages["i"+O.vars.invisibleId]=e,e.holderData.invisibleId=O.vars.invisibleId)}function p(e){O.vars.debounceTimer||e.call(this),O.vars.debounceTimer&&t.clearTimeout(O.vars.debounceTimer),O.vars.debounceTimer=t.setTimeout(function(){O.vars.debounceTimer=null,e.call(this)},O.setup.debounce)}function g(){p(function(){h(null)})}var m=n(2),v=n(3),y=n(6),w=n(7),b=n(8),x=n(9),S=n(10),A=n(11),C=n(12),E=n(15),k=w.extend,T=w.dimensionCheck,j=A.svg_ns,F={version:A.version,addTheme:function(e,t){return null!=e&&null!=t&&(O.settings.themes[e]=t),delete O.vars.cache.themeKeys,this},addImage:function(e,t){var n=x.getNodeArray(t);return n.forEach(function(t){var n=x.newEl("img"),r={};r[O.setup.dataAttr]=e,x.setAttr(n,r),t.appendChild(n)}),this},setResizeUpdate:function(e,t){e.holderData&&(e.holderData.resizeUpdate=!!t,e.holderData.resizeUpdate&&h(e))},run:function(e){e=e||{};var n={},a=k(O.settings,e);O.vars.preempted=!0,O.vars.dataAttr=a.dataAttr||O.setup.dataAttr,n.renderer=a.renderer?a.renderer:O.setup.renderer,O.setup.renderers.join(",").indexOf(n.renderer)===-1&&(n.renderer=O.setup.supportsSVG?"svg":O.setup.supportsCanvas?"canvas":"html");var s=x.getNodeArray(a.images),l=x.getNodeArray(a.bgnodes),h=x.getNodeArray(a.stylenodes),u=x.getNodeArray(a.objects);return n.stylesheets=[],n.svgXMLStylesheet=!0,n.noFontFallback=!!a.noFontFallback,n.noBackgroundSize=!!a.noBackgroundSize,h.forEach(function(e){if(e.attributes.rel&&e.attributes.href&&"stylesheet"==e.attributes.rel.value){var t=e.attributes.href.value,r=x.newEl("a");r.href=t;var i=r.protocol+"//"+r.host+r.pathname+r.search;n.stylesheets.push(i)}}),l.forEach(function(e){if(t.getComputedStyle){var r=t.getComputedStyle(e,null).getPropertyValue("background-image"),s=e.getAttribute("data-background-src"),l=s||r,h=null,u=a.domain+"/",c=l.indexOf(u);if(0===c)h=l;else if(1===c&&"?"===l[0])h=l.slice(1);else{var d=l.substr(c).match(/([^\"]*)"?\)/);if(null!==d)h=d[1];else if(0===l.indexOf("url("))throw"Holder: unable to parse background URL: "+l}if(h){var f=i(h,a);f&&o({mode:"background",el:e,flags:f,engineSettings:n})}}}),u.forEach(function(e){var t={};try{t.data=e.getAttribute("data"),t.dataSrc=e.getAttribute(O.vars.dataAttr)}catch(i){}var o=null!=t.data&&0===t.data.indexOf(a.domain),s=null!=t.dataSrc&&0===t.dataSrc.indexOf(a.domain);o?r(a,n,t.data,e):s&&r(a,n,t.dataSrc,e)}),s.forEach(function(e){var t={};try{t.src=e.getAttribute("src"),t.dataSrc=e.getAttribute(O.vars.dataAttr),t.rendered=e.getAttribute("data-holder-rendered")}catch(i){}var o=null!=t.src,s=null!=t.dataSrc&&0===t.dataSrc.indexOf(a.domain),l=null!=t.rendered&&"true"==t.rendered;o?0===t.src.indexOf(a.domain)?r(a,n,t.src,e):s&&(l?r(a,n,t.dataSrc,e):!function(e,t,n,i,o){w.imageExists(e,function(e){e||r(t,n,i,o)})}(t.src,a,n,t.dataSrc,e)):s&&r(a,n,t.dataSrc,e)}),this}},O={settings:{domain:"holder.js",images:"img",objects:"object",bgnodes:"body .holderjs",stylenodes:"head link.holderjs",themes:{gray:{bg:"#EEEEEE",fg:"#AAAAAA"},social:{bg:"#3a5a97",fg:"#FFFFFF"},industrial:{bg:"#434A52",fg:"#C2F200"},sky:{bg:"#0D8FDB",fg:"#FFFFFF"},vine:{bg:"#39DBAC",fg:"#1E292C"},lava:{bg:"#F8591A",fg:"#1C2846"}}},defaults:{size:10,units:"pt",scale:1/16}},z=function(){var e=null,t=null,n=null;return function(r){var i=r.root;if(O.setup.supportsSVG){var o=!1,a=function(e){return document.createTextNode(e)};null!=e&&e.parentNode===document.body||(o=!0),e=b.initSVG(e,i.properties.width,i.properties.height),e.style.display="block",o&&(t=x.newEl("text",j),n=a(null),x.setAttr(t,{x:0}),t.appendChild(n),e.appendChild(t),document.body.appendChild(e),e.style.visibility="hidden",e.style.position="absolute",e.style.top="-100%",e.style.left="-100%");var s=i.children.holderTextGroup,l=s.properties;x.setAttr(t,{y:l.font.size,style:w.cssProps({"font-weight":l.font.weight,"font-size":l.font.size+l.font.units,"font-family":l.font.family})}),n.nodeValue=l.text;var h=t.getBBox(),u=Math.ceil(h.width/i.properties.width),c=l.text.split(" "),d=l.text.match(/\\n/g);u+=null==d?0:d.length,n.nodeValue=l.text.replace(/[ ]+/g,"");var f=t.getComputedTextLength(),p=h.width-f,g=Math.round(p/Math.max(1,c.length-1)),m=[];if(u>1){n.nodeValue="";for(var v=0;v<c.length;v++)if(0!==c[v].length){n.nodeValue=w.decodeHtmlEntity(c[v]);var y=t.getBBox();m.push({text:c[v],width:y.width})}}return e.style.display="none",{spaceWidth:g,lineCount:u,boundingBox:h,words:m}}return!1}}();for(var D in O.flags)O.flags.hasOwnProperty(D)&&(O.flags[D].match=function(e){return e.match(this.regex)});O.setup={renderer:"html",debounce:100,ratio:1,supportsCanvas:!1,supportsSVG:!1,lineWrapRatio:.9,dataAttr:"data-src",renderers:["html","canvas","svg"]},O.vars={preempted:!1,resizableImages:[],invisibleImages:{},invisibleId:0,visibilityCheckStarted:!1,debounceTimer:null,cache:{}},function(){var e=x.newEl("canvas");e.getContext&&e.toDataURL("image/png").indexOf("data:image/png")!=-1&&(O.setup.renderer="canvas",O.setup.supportsCanvas=!0),document.createElementNS&&document.createElementNS(j,"svg").createSVGRect&&(O.setup.renderer="svg",O.setup.supportsSVG=!0)}(),d(),m&&m(function(){O.vars.preempted||F.run(),t.addEventListener?(t.addEventListener("resize",g,!1),t.addEventListener("orientationchange",g,!1)):t.attachEvent("onresize",g),"object"==typeof t.Turbolinks&&t.document.addEventListener("page:change",function(){F.run()})}),e.exports=F}).call(t,function(){return this}())},function(e,t){function n(e){function t(e){if(!x){if(!a.body)return i(t);for(x=!0;e=S.shift();)i(e)}}function n(e){(w||e.type===l||a[d]===c)&&(r(),t())}function r(){w?(a[y](m,n,h),e[y](l,n,h)):(a[p](v,n),e[p](u,n))}function i(e,t){setTimeout(e,+t>=0?t:1)}function o(e){x?i(e):S.push(e)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",function C(){document.removeEventListener("DOMContentLoaded",C,!1),document.readyState="complete"},!1),document.readyState="loading");var a=e.document,s=a.documentElement,l="load",h=!1,u="on"+l,c="complete",d="readyState",f="attachEvent",p="detachEvent",g="addEventListener",m="DOMContentLoaded",v="onreadystatechange",y="removeEventListener",w=g in a,b=h,x=h,S=[];if(a[d]===c)i(t);else if(w)a[g](m,n,h),e[g](l,n,h);else{a[f](v,n),e[f](u,n);try{b=null==e.frameElement&&s}catch(A){}b&&b.doScroll&&!function E(){if(!x){try{b.doScroll("left")}catch(e){return i(E,50)}r(),t()}}()}return o.version="1.4.0",o.isReady=function(){return x},o}e.exports="undefined"!=typeof window&&n(window)},function(e,t,n){var r=encodeURIComponent,i=decodeURIComponent,o=n(4),a=n(5),s=/(\w+)\[(\d+)\]/,l=/\w+\.\w+/;t.parse=function(e){if("string"!=typeof e)return{};if(e=o(e),""===e)return{};"?"===e.charAt(0)&&(e=e.slice(1));for(var t={},n=e.split("&"),r=0;r<n.length;r++){var a,h,u,c=n[r].split("="),d=i(c[0]);if(a=s.exec(d))t[a[1]]=t[a[1]]||[],t[a[1]][a[2]]=i(c[1]);else if(a=l.test(d)){for(a=d.split("."),h=t;a.length;)if(u=a.shift(),u.length){if(h[u]){if(h[u]&&"object"!=typeof h[u])break}else h[u]={};a.length||(h[u]=i(c[1])),h=h[u]}}else t[c[0]]=null==c[1]?"":i(c[1])}return t},t.stringify=function(e){if(!e)return"";var t=[];for(var n in e){var i=e[n];if("array"!=a(i))t.push(r(n)+"="+r(e[n]));else for(var o=0;o<i.length;++o)t.push(r(n+"["+o+"]")+"="+r(i[o]))}return t.join("&")}},function(e,t){function n(e){return e.replace(/^\s*|\s*$/g,"")}t=e.exports=n,t.left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t){function n(e){return!(null==e||!(e._isBuffer||e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)))}var r=Object.prototype.toString;e.exports=function(e){switch(r.call(e)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===e?"null":void 0===e?"undefined":e!==e?"nan":e&&1===e.nodeType?"element":n(e)?"buffer":(e=e.valueOf?e.valueOf():Object.prototype.valueOf.apply(e),typeof e)}},function(e,t){var n=function(e){function t(e,t){for(var n in t)e[n]=t[n];return e}var n=1,r=function(e){n++,this.parent=null,this.children={},this.id=n,this.name="n"+n,"undefined"!=typeof e&&(this.name=e),this.x=this.y=this.z=0,this.width=this.height=0};r.prototype.resize=function(e,t){null!=e&&(this.width=e),null!=t&&(this.height=t)},r.prototype.moveTo=function(e,t,n){this.x=null!=e?e:this.x,this.y=null!=t?t:this.y,this.z=null!=n?n:this.z},r.prototype.add=function(e){var t=e.name;if("undefined"!=typeof this.children[t])throw"SceneGraph: child already exists: "+t;this.children[t]=e,e.parent=this};var i=function(){r.call(this,"root"),this.properties=e};i.prototype=new r;var o=function(e,n){if(r.call(this,e),this.properties={fill:"#000000"},"undefined"!=typeof n)t(this.properties,n);else if("undefined"!=typeof e&&"string"!=typeof e)throw"SceneGraph: invalid node name"};o.prototype=new r;var a=function(){o.apply(this,arguments),this.type="group"};a.prototype=new o;var s=function(){o.apply(this,arguments),this.type="rect"};s.prototype=new o;var l=function(e){o.call(this),this.type="text",this.properties.text=e};l.prototype=new o;var h=new i;return this.Shape={Rect:s,Text:l,Group:a},this.root=h,this};e.exports=n},function(e,t){(function(e){t.extend=function(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);if(null!=t)for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return n},t.cssProps=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+":"+e[n]);return t.join(";")},t.encodeHtmlEntity=function(e){for(var t=[],n=0,r=e.length-1;r>=0;r--)n=e.charCodeAt(r),n>128?t.unshift(["&#",n,";"].join("")):t.unshift(e[r]);return t.join("")},t.imageExists=function(e,t){var n=new Image;n.onerror=function(){t.call(this,!1)},n.onload=function(){t.call(this,!0)},n.src=e},t.decodeHtmlEntity=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(t)})},t.dimensionCheck=function(e){var t={height:e.clientHeight,width:e.clientWidth};return!(!t.height||!t.width)&&t},t.truthy=function(e){return"string"==typeof e?"true"===e||"yes"===e||"1"===e||"on"===e||"✓"===e:!!e},t.parseColor=function(e){var t,n=/(^(?:#?)[0-9a-f]{6}$)|(^(?:#?)[0-9a-f]{3}$)/i,r=/^rgb\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/,i=/^rgba\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0\.\d{1,}|1)\)$/,o=e.match(n);return null!==o?(t=o[1]||o[2],"#"!==t[0]?"#"+t:t):(o=e.match(r),null!==o?t="rgb("+o.slice(1).join(",")+")":(o=e.match(i),null!==o?t="rgba("+o.slice(1).join(",")+")":null))},t.canvasRatio=function(){var t=1,n=1;if(e.document){var r=e.document.createElement("canvas");if(r.getContext){var i=r.getContext("2d");t=e.devicePixelRatio||1,n=i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1}}return t/n}}).call(t,function(){return this}())},function(e,t,n){(function(e){var r=n(9),i="http://www.w3.org/2000/svg",o=8;t.initSVG=function(e,t,n){var a,s,l=!1;e&&e.querySelector?(s=e.querySelector("style"),null===s&&(l=!0)):(e=r.newEl("svg",i),l=!0),l&&(a=r.newEl("defs",i),s=r.newEl("style",i),r.setAttr(s,{type:"text/css"}),a.appendChild(s),e.appendChild(a)),e.webkitMatchesSelector&&e.setAttribute("xmlns",i);for(var h=0;h<e.childNodes.length;h++)e.childNodes[h].nodeType===o&&e.removeChild(e.childNodes[h]);for(;s.childNodes.length;)s.removeChild(s.childNodes[0]);return r.setAttr(e,{width:t,height:n,viewBox:"0 0 "+t+" "+n,preserveAspectRatio:"none"}),e},t.svgStringToDataURI=function(){var t="data:image/svg+xml;charset=UTF-8,",n="data:image/svg+xml;charset=UTF-8;base64,";return function(r,i){return i?n+btoa(e.unescape(encodeURIComponent(r))):t+encodeURIComponent(r)}}(),t.serializeSVG=function(t,n){if(e.XMLSerializer){var i=new XMLSerializer,o="",a=n.stylesheets;if(n.svgXMLStylesheet){for(var s=r.createXML(),l=a.length-1;l>=0;l--){var h=s.createProcessingInstruction("xml-stylesheet",'href="'+a[l]+'" rel="stylesheet"');s.insertBefore(h,s.firstChild)}s.removeChild(s.documentElement),o=i.serializeToString(s)}var u=i.serializeToString(t);return u=u.replace(/\&amp;(\#[0-9]{2,}\;)/g,"&$1"),o+u}}}).call(t,function(){return this}())},function(e,t){(function(e){t.newEl=function(t,n){if(e.document)return null==n?e.document.createElement(t):e.document.createElementNS(n,t)},t.setAttr=function(e,t){for(var n in t)e.setAttribute(n,t[n])},t.createXML=function(){if(e.DOMParser)return(new DOMParser).parseFromString("<xml />","application/xml")},t.getNodeArray=function(t){var n=null;return"string"==typeof t?n=document.querySelectorAll(t):e.NodeList&&t instanceof e.NodeList?n=t:e.Node&&t instanceof e.Node?n=[t]:e.HTMLCollection&&t instanceof e.HTMLCollection?n=t:t instanceof Array?n=t:null===t&&(n=[]),n=Array.prototype.slice.call(n)}}).call(t,function(){return this}())},function(e,t){var n=function(e,t){"string"==typeof e&&(this.original=e,"#"===e.charAt(0)&&(e=e.slice(1)),/[^a-f0-9]+/i.test(e)||(3===e.length&&(e=e.replace(/./g,"$&$&")),6===e.length&&(this.alpha=1,t&&t.alpha&&(this.alpha=t.alpha),this.set(parseInt(e,16)))))};n.rgb2hex=function(e,t,n){function r(e){var t=(0|e).toString(16);return e<16&&(t="0"+t),t}return[e,t,n].map(r).join("")},n.hsl2rgb=function(e,t,n){var r=e/60,i=(1-Math.abs(2*n-1))*t,o=i*(1-Math.abs(parseInt(r)%2-1)),a=n-i/2,s=0,l=0,h=0;return r>=0&&r<1?(s=i,l=o):r>=1&&r<2?(s=o,l=i):r>=2&&r<3?(l=i,h=o):r>=3&&r<4?(l=o,h=i):r>=4&&r<5?(s=o,h=i):r>=5&&r<6&&(s=i,h=o),s+=a,l+=a,h+=a,s=parseInt(255*s),l=parseInt(255*l),h=parseInt(255*h),[s,l,h]},n.prototype.set=function(e){this.raw=e;var t=(16711680&this.raw)>>16,n=(65280&this.raw)>>8,r=255&this.raw,i=.2126*t+.7152*n+.0722*r,o=-.09991*t-.33609*n+.436*r,a=.615*t-.55861*n-.05639*r;return this.rgb={r:t,g:n,b:r},this.yuv={y:i,u:o,v:a},this},n.prototype.lighten=function(e){var t=Math.min(1,Math.max(0,Math.abs(e)))*(e<0?-1:1),r=255*t|0,i=Math.min(255,Math.max(0,this.rgb.r+r)),o=Math.min(255,Math.max(0,this.rgb.g+r)),a=Math.min(255,Math.max(0,this.rgb.b+r)),s=n.rgb2hex(i,o,a);return new n(s)},n.prototype.toHex=function(e){return(e?"#":"")+this.raw.toString(16)},n.prototype.lighterThan=function(e){return e instanceof n||(e=new n(e)),this.yuv.y>e.yuv.y},n.prototype.blendAlpha=function(e){e instanceof n||(e=new n(e));var t=e,r=this,i=t.alpha*t.rgb.r+(1-t.alpha)*r.rgb.r,o=t.alpha*t.rgb.g+(1-t.alpha)*r.rgb.g,a=t.alpha*t.rgb.b+(1-t.alpha)*r.rgb.b;return new n(n.rgb2hex(i,o,a))},e.exports=n},function(e,t){e.exports={version:"2.9.4",svg_ns:"http://www.w3.org/2000/svg"}},function(e,t,n){function r(e,t){return c.element({tag:t,width:e.width,height:e.height,fill:e.properties.fill})}function i(e){return h.cssProps({fill:e.fill,"font-weight":e.font.weight,"font-family":e.font.family+", monospace","font-size":e.font.size+e.font.units})}function o(e,t,n){var r=n/2;return["M",r,r,"H",e-r,"V",t-r,"H",r,"V",0,"M",0,r,"L",e,t-r,"M",0,t-r,"L",e,r].join(" ")}var a=n(13),s=n(8),l=n(11),h=n(7),u=l.svg_ns,c={element:function(e){var t=e.tag,n=e.content||"";return delete e.tag,delete e.content,[t,n,e]}};e.exports=function(e,t){var n=t.engineSettings,l=n.stylesheets,h=l.map(function(e){return'<?xml-stylesheet rel="stylesheet" href="'+e+'"?>'}).join("\n"),d="holder_"+Number(new Date).toString(16),f=e.root,p=f.children.holderTextGroup,g="#"+d+" text { "+i(p.properties)+" } ";p.y+=.8*p.textPositionData.boundingBox.height;var m=[];Object.keys(p.children).forEach(function(e){var t=p.children[e];Object.keys(t.children).forEach(function(e){var n=t.children[e],r=p.x+t.x+n.x,i=p.y+t.y+n.y,o=c.element({tag:"text",content:n.properties.text,x:r,y:i});m.push(o)})});var v=c.element({tag:"g",content:m}),y=null;if(f.children.holderBg.properties.outline){var w=f.children.holderBg.properties.outline;y=c.element({tag:"path",d:o(f.children.holderBg.width,f.children.holderBg.height,w.width),"stroke-width":w.width,stroke:w.fill,fill:"none"})}var b=r(f.children.holderBg,"rect"),x=[];x.push(b),w&&x.push(y),x.push(v);var S=c.element({tag:"g",id:d,content:x}),A=c.element({tag:"style",content:g,type:"text/css"}),C=c.element({tag:"defs",content:A}),E=c.element({tag:"svg",content:[C,S],width:f.properties.width,height:f.properties.height,xmlns:u,viewBox:[0,0,f.properties.width,f.properties.height].join(" "),preserveAspectRatio:"none"}),k=a(E);k=h+k[0];var T=s.svgStringToDataURI(k,"background"===t.mode);return T}},function(e,t,n){n(14);e.exports=function r(e,t,n){"use strict";function i(e){var t=e.match(/^[\w-]+/),r={tag:t?t[0]:"div",attr:{},children:[]},i=e.match(/#([\w-]+)/),o=e.match(/\$([\w-]+)/),a=e.match(/\.[\w-]+/g);return i&&(r.attr.id=i[1],n[i[1]]=r),o&&(n[o[1]]=r),a&&(r.attr["class"]=a.join(" ").replace(/\./g,"")),e.match(/&$/g)&&(f=!1),r}function o(e,t){if(null!==t&&t!==!1&&void 0!==t)return"string"!=typeof t&&"object"!=typeof t?String(t):t}function a(e){return e||0===e?String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;"):""}function s(e){return String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}var l,h,u,c,d=1,f=!0;if(n=n||{},"string"==typeof e[0])e[0]=i(e[0]);else{if(!Array.isArray(e[0]))throw new Error("First element of array must be a string, or an array and not "+JSON.stringify(e[0]));d=0}for(;d<e.length;d++){if(e[d]===!1||null===e[d]){e[0]=!1;break}if(void 0!==e[d]&&e[d]!==!0)if("string"==typeof e[d])f&&(e[d]=s(e[d])),e[0].children.push(e[d]);else if("number"==typeof e[d])e[0].children.push(e[d]);else if(Array.isArray(e[d])){if(Array.isArray(e[d][0])){if(e[d].reverse().forEach(function(t){e.splice(d+1,0,t)}),0!==d)continue;d++}r(e[d],t,n),e[d][0]&&e[0].children.push(e[d][0])}else if("function"==typeof e[d])u=e[d];else{if("object"!=typeof e[d])throw new TypeError('"'+e[d]+'" is not allowed as a value.');for(h in e[d])e[d].hasOwnProperty(h)&&null!==e[d][h]&&e[d][h]!==!1&&("style"===h&&"object"==typeof e[d][h]?e[0].attr[h]=JSON.stringify(e[d][h],o).slice(2,-2).replace(/","/g,";").replace(/":"/g,":").replace(/\\"/g,"'"):e[0].attr[h]=e[d][h])}}if(e[0]!==!1){l="<"+e[0].tag;for(c in e[0].attr)e[0].attr.hasOwnProperty(c)&&(l+=" "+c+'="'+a(e[0].attr[c])+'"');l+=">",e[0].children.forEach(function(e){l+=e}),l+="</"+e[0].tag+">",e[0]=l}return n[0]=e[0],u&&u(e[0]),n}},function(e,t){"use strict";function n(e){var t=""+e,n=r.exec(t);if(!n)return t;var i,o="",a=0,s=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:i="&quot;";break;case 38:i="&amp;";break;case 39:i="&#39;";break;case 60:i="&lt;";break;case 62:i="&gt;";break;default:continue}s!==a&&(o+=t.substring(s,a)),s=a+1,o+=i}return s!==a?o+t.substring(s,a):o}var r=/["'&<>]/;e.exports=n},function(e,t,n){var r=n(9),i=n(7);e.exports=function(){var e=r.newEl("canvas"),t=null;return function(n){null==t&&(t=e.getContext("2d"));var r=i.canvasRatio(),o=n.root;e.width=r*o.properties.width,e.height=r*o.properties.height,t.textBaseline="middle";var a=o.children.holderBg,s=r*a.width,l=r*a.height,h=2,u=h/2;t.fillStyle=a.properties.fill,t.fillRect(0,0,s,l),a.properties.outline&&(t.strokeStyle=a.properties.outline.fill,t.lineWidth=a.properties.outline.width,t.moveTo(u,u),t.lineTo(s-u,u),t.lineTo(s-u,l-u),t.lineTo(u,l-u),t.lineTo(u,u),t.moveTo(0,u),t.lineTo(s,l-u),t.moveTo(0,l-u),t.lineTo(s,u),t.stroke());var c=o.children.holderTextGroup;t.font=c.properties.font.weight+" "+r*c.properties.font.size+c.properties.font.units+" "+c.properties.font.family+", monospace",t.fillStyle=c.properties.fill;for(var d in c.children){var f=c.children[d];for(var p in f.children){var g=f.children[p],m=r*(c.x+f.x+g.x),v=r*(c.y+f.y+g.y+c.properties.leading/2);t.fillText(g.properties.text,m,v)}}return e.toDataURL("image/png")}}()}])}),function(e,t){t&&(Holder=e.Holder);
-}(this,"undefined"!=typeof Meteor&&"undefined"!=typeof Package); \ No newline at end of file