!function(t){if("object"==typeofn&&"undefined"!=typeofe)e.exports=t();elseif("function"==typeofdefine&&define.amd)define([],t);else{varr;r="undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this,r.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?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";functiont(){s=!0;for(vare,n,t=l.length;t;){for(n=l,l=[],e=-1;++e<t;)n[e]();t=l.length}s=!1}functionr(e){1!==l.push(e)||s||o()}varo,i=e.MutationObserver||e.WebKitMutationObserver;if(i){vara=0,u=newi(t),c=e.document.createTextNode("");u.observe(c,{characterData:!0}),o=function(){c.data=a=++a%2}}elseif(e.setImmediate||"undefined"==typeofe.MessageChannel)o="document"ine&&"onreadystatechange"ine.document.createElement("script")?function(){varn=e.document.createElement("script");n.onreadystatechange=function(){t(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},e.document.documentElement.appendChild(n)}:function(){setTimeout(t,0)};else{varf=newe.MessageChannel;f.port1.onmessage=t,o=function(){f.port2.postMessage(0)}}vars,l=[];n.exports=r}).call(this,"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{})},{}],2:[function(e,n,t){"use strict";functionr(){}functiono(e){if("function"!=typeofe)thrownewTypeError("resolver must be a function");this.state=m,this.queue=[],this.outcome=void0,e!==r&&c(this,e)}functioni(e,n,t){this.promise=e,"function"==typeofn&&(this.onFulfilled=n,this.callFulfilled=this.otherCallFulfilled),"function"==typeoft&&(this.onRejected=t,this.callRejected=this.otherCallRejected)}functiona(e,n,t){h(function(){varr;try{r=n(t)}catch(n){returny.reject(e,n)}r===e?y.reject(e,newTypeError("Cannot resolve promise with itself")):y.resolve(e,r)})}functionu(e){varn=e&&e.then;if(e&&("object"==typeofe||"function"==typeofe)&&"function"==typeofn)returnfunction(){n.apply(e,arguments)}}functionc(e,n){functiont(n){i||(i=!0,y.reject(e,n))}functionr(n){i||(i=!0,y.resolve(e,n))}functiono(){n(r,t)}vari=!1,a=f(o);"error"===a.status&&t(a.value)}functionf(e,n){vart={};try{t.value=e(n),t.status="success"}catch(e){t.status="error",t.value=e}returnt}functions(e){returneinstanceofthis?e:y.resolve(newthis(r),e)}functionl(e){varn=newthis(r);returny.reject(n,e)}functiond(e){functionn(e,n){functionr(e){a[n]=e,++u!==o||i||(i=!0,y.resolve(f,a))}t.resolve(e).then(r,function(e){i||(i=!0,y.reject(f,e))})}vart=this;if("[object Array]"!==Object.prototype.toString.call(e))returnthis.reject(newTypeError("must be an array"));varo=e.length,i=!1;if(!o)returnthis.resolve([]);for(vara=newArray(o),u=0,c=-1,f=newthis(r);++c<o;)n(e[c],c);returnf}functionv(e){functionn(e){t.resolve(e).then(function(e){i||(i=!0,y.resolve(u,e))},function(e){i||(i=!0,y.reject(u,e))})}vart=this;if("[object Array]"!==Object.prototype.toString.call(e))returnthis.reject(newTypeError("must be an array"));varo=e.length,i=!1;if(!o)returnthis.resolve([]);for(vara=-1,u=newthis(r);++a<o;)n(e[a]);returnu}varh=e(1),y={},p=["REJECTED"],b=["FULFILLED"],m=["PENDING"];n.exports=o,o.prototype.catch=function(e){returnthis.then(null,e)},o.prototype.then=function(e,n){if("function"!=typeofe&&this.state===b||"function"!=typeofn&&this.state===p)returnthis;vart=newthis.constructor(r);if(this.state!==m){varo=this.state===b?e:n;a(t,o,this.outcome)}elsethis.queue.push(newi(t,e,n));returnt},i.prototype.callFulfilled=function(e){y.resolve(this.promise,e)},i.prototype.otherCallFulfilled=function(e){a(this.promise,this.onFulfilled,e)},i.prototype.callRejected=function(e){y.reject(this.promise,e)},i.prototype.otherCal