!function(t){if("object"==typeofn&&void0!==e)e.exports=t();elseif("function"==typeofdefine&&define.amd)define([],t);else{("undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this).localforage=t()}}(function(){returnfunctione(n,t,r){functiono(a,u){if(!t[a]){if(!n[a]){varc="function"==typeofrequire&&require;if(!u&&c)returnc(a,!0);if(i)returni(a,!0);varf=newError("Cannot find module '"+a+"'");throwf.code="MODULE_NOT_FOUND",f}vars=t[a]={exports:{}};n[a][0].call(s.exports,function(e){vart=n[a][1][e];returno(t||e)},s,s.exports,e,n,t,r)}returnt[a].exports}for(vari="function"==typeofrequire&&require,a=0;a<r.length;a++)o(r[a]);returno}({1:[function(e,n,t){(function(e){"use strict";vart,r,o=e.MutationObserver||e.WebKitMutationObserver;if(o){vari=0,a=newo(s),u=e.document.createTextNode("");a.observe(u,{characterData:!0}),t=function(){u.data=i=++i%2}}elseif(e.setImmediate||void0===e.MessageChannel)t="document"ine&&"onreadystatechange"ine.document.createElement("script")?function(){varn=e.document.createElement("script");n.onreadystatechange=function(){s(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},e.document.documentElement.appendChild(n)}:function(){setTimeout(s,0)};else{varc=newe.MessageChannel;c.port1.onmessage=s,t=function(){c.port2.postMessage(0)}}varf=[];functions(){vare,n;r=!0;for(vart=f.length;t;){for(n=f,f=[],e=-1;++e<t;)n[e]();t=f.length}r=!1}n.exports=function(e){1!==f.push(e)||r||t()}}).call(this,"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{})},{}],2:[function(e,n,t){"use strict";varr=e(1);functiono(){}vari={},a=["REJECTED"],u=["FULFILLED"],c=["PENDING"];functionf(e){if("function"!=typeofe)thrownewTypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void0,e!==o&&v(this,e)}functions(e,n,t){this.promise=e,"function"==typeofn&&(this.onFulfilled=n,this.callFulfilled=this.otherCallFulfilled),"function"==typeoft&&(this.onRejected=t,this.callRejected=this.otherCallRejected)}functionl(e,n,t){r(function(){varr;try{r=n(t)}catch(n){returni.reject(e,n)}r===e?i.reject(e,newTypeError("Cannot resolve promise with itself")):i.resolve(e,r)})}functiond(e){varn=e&&e.then;if(e&&("object"==typeofe||"function"==typeofe)&&"function"==typeofn)returnfunction(){n.apply(e,arguments)}}functionv(e,n){vart=!1;functionr(n){t||(t=!0,i.reject(e,n))}functiono(n){t||(t=!0,i.resolve(e,n))}vara=h(function(){n(o,r)});"error"===a.status&&r(a.value)}functionh(e,n){vart={};try{t.value=e(n),t.status="success"}catch(e){t.status="error",t.value=e}returnt}n.exports=f,f.prototype.catch=function(e){returnthis.then(null,e)},f.prototype.then=function(e,n){if("function"!=typeofe&&this.state===u||"function"!=typeofn&&this.state===a)returnthis;vart=newthis.constructor(o);this.state!==c?l(t,this.state===u?e:n,this.outcome):this.queue.push(news(t,e,n));returnt},s.prototype.callFulfilled=function(e){i.resolve(this.promise,e)},s.prototype.otherCallFulfilled=function(e){l(this.promise,this.onFulfilled,e)},s.prototype.callRejected=function(e){i.reject(this.promise,e)},s.prototype.otherCallRejected=function(e){l(this.promise,this.onRejected,e)},i.resolve=function(e,n){vart=h(d,n);if("error"===t.status)returni.reject(e,t.value);varr=t.value;if(r)v(e,r);else{e.state=u,e.outcome=n;for(varo=-1,a=e.queue.length;++o<a;)e.queue[o].callFulfilled(n)}returne},i.reject=function(e,n){e.state=a,e.outcome=n;for(vart=-1,r=e.queue.length;++t<r;)e.queue[t].callRejected(n);returne},f.resolve=function(e){if(einstanceofthis)returne;returni.resolve(newthis(o),e)},f.reject=function(e){varn=newthis(o);returni.reject(n,e)},f.all=function(e){varn=this;if("[object Array]"!==Object.prototype.toString.call(e))returnthis.reject(newTypeError("must be an array"));vart=e.length,r=!1;if(!t)returnthis.resolve([]);vara=newArray(t),u=0,c=-1,f=newthis(o);for(;++c<t;)s(e[c],c);returnf;functions(e,o){n.resolve(e).then(function(e){a[o]=e,++u!==t||r||(r=!0,i.resolve(f,a))},funct