Commit d2093aec by crushh

update: dist

parent 47dcd2af
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.69.css><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_1628375_5ghlvsafe8j.css><script src=//at.alicdn.com/t/font_1628375_5ghlvsafe8j.js></script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.594715d97c40fb916a000f6e04b77e4d.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script>(function() { <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.69.css><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_1628375_5ghlvsafe8j.css><script src=//at.alicdn.com/t/font_1628375_5ghlvsafe8j.js></script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.bc44954dbf14c634253e21e50ef858e1.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script>(function() {
var src = '/component/static/import-component.js?timestrap='+ new Date().getTime(); var src = '/component/static/import-component.js?timestrap='+ new Date().getTime();
var host = window.location.host; var host = window.location.host;
host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'gicdev.demogic.com' : host; host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'gicdev.demogic.com' : host;
document.write('<script src="//'+ host + src +'"><\/script>') document.write('<script src="//'+ host + src +'"><\/script>')
})()</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.99fbf1bcd6bc02a70112.js></script><script type=text/javascript src=./static/js/vendor.57a829648edc61c88775.js></script><script type=text/javascript src=./static/js/app.90fc4325dd8ca5d723b6.js></script></body></html> })()</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.7ff10f627dd36ac82224.js></script><script type=text/javascript src=./static/js/vendor.06dddcebe00088992b67.js></script><script type=text/javascript src=./static/js/app.90fc4325dd8ca5d723b6.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([3],{"0xlq":function(e,t){},"22C0":function(e,t,n){(function(t){var n,r; webpackJsonp([3],{"0xlq":function(e,t){},"22C0":function(e,t,n){(function(t){var n,r;
/*! /*!
localForage -- Offline Storage, Improved localForage -- Offline Storage, Improved
Version 1.10.0 Version 1.9.0
https://localforage.github.io/localForage https://localforage.github.io/localForage
(c) 2013-2017 Mozilla, Apache License 2.0 (c) 2013-2017 Mozilla, Apache License 2.0
*/ */
r=function(){return function e(t,r,a){function o(s,c){if(!r[s]){if(!t[s]){if(!c&&("function"==typeof n&&n))return n(s,!0);if(i)return i(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[s]={exports:{}};t[s][0].call(l.exports,function(e){var n=t[s][1][e];return o(n||e)},l,l.exports,e,t,r,a)}return r[s].exports}for(var i="function"==typeof n&&n,s=0;s<a.length;s++)o(a[s]);return o}({1:[function(e,n,r){(function(e){"use strict";var t,r,a=e.MutationObserver||e.WebKitMutationObserver;if(a){var o=0,i=new a(l),s=e.document.createTextNode("");i.observe(s,{characterData:!0}),t=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)t="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var c=new e.MessageChannel;c.port1.onmessage=l,t=function(){c.port2.postMessage(0)}}var u=[];function l(){var e,t;r=!0;for(var n=u.length;n;){for(t=u,u=[],e=-1;++e<n;)t[e]();n=u.length}r=!1}n.exports=function(e){1!==u.push(e)||r||t()}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function a(){}var o={},i=["REJECTED"],s=["FULFILLED"],c=["PENDING"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==a&&p(this,e)}function l(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r(function(){var r;try{r=t(n)}catch(t){return o.reject(e,t)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)})}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function a(t){n||(n=!0,o.resolve(e,t))}var i=h(function(){t(a,r)});"error"===i.status&&r(i.value)}function h(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}t.exports=u,u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===i)return this;var n=new this.constructor(a);this.state!==c?d(n,this.state===s?e:t,this.outcome):this.queue.push(new l(n,e,t));return n},l.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){o.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=h(f,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=s,e.outcome=t;for(var a=-1,i=e.queue.length;++a<i;)e.queue[a].callFulfilled(t)}return e},o.reject=function(e,t){e.state=i,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},u.resolve=function(e){if(e instanceof this)return e;return o.resolve(new this(a),e)},u.reject=function(e){var t=new this(a);return o.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var i=new Array(n),s=0,c=-1,u=new this(a);for(;++c<n;)l(e[c],c);return u;function l(e,a){t.resolve(e).then(function(e){i[a]=e,++s!==n||r||(r=!0,o.resolve(u,i))},function(e){r||(r=!0,o.reject(u,e))})}},u.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var i=-1,s=new this(a);for(;++i<n;)c=e[i],t.resolve(c).then(function(e){r||(r=!0,o.resolve(s,e))},function(e){r||(r=!0,o.reject(s,e))});var c;return s}},{1:1}],3:[function(e,n,r){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var a=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(e){return}}();function o(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(a){if("TypeError"!==a.name)throw a;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var i=Promise;function s(e,t){t&&e.then(function(e){t(null,e)},function(e){t(e)})}function c(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function u(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function l(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var d="local-forage-detect-blob-support",f=void 0,p={},h=Object.prototype.toString,m="readonly",v="readwrite";function g(e){return"boolean"==typeof f?i.resolve(f):function(e){return new i(function(t){var n=e.transaction(d,v),r=o([""]);n.objectStore(d).put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}}).catch(function(){return!1})}(e).then(function(e){return f=e})}function y(e){var t=p[e.name],n={};n.promise=new i(function(e,t){n.resolve=e,n.reject=t}),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then(function(){return n.promise}):t.dbReady=n.promise}function b(e){var t=p[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function x(e,t){var n=p[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function w(e,t){return new i(function(n,r){if(p[e.name]=p[e.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},e.db){if(!t)return n(e.db);y(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var i=a.open.apply(a,o);t&&(i.onupgradeneeded=function(t){var n=i.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(d)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),i.onerror=function(e){e.preventDefault(),r(i.error)},i.onsuccess=function(){var t=i.result;t.onversionchange=function(e){e.target.close()},n(t),b(e)}})}function C(e){return w(e,!1)}function S(e){return w(e,!0)}function D(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version<e.db.version,a=e.version>e.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),a||n){if(n){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function _(e){return o([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),a=0;a<t;a++)r[a]=e.charCodeAt(a);return n}(atob(e.data))],{type:e.type})}function k(e){return e&&e.__local_forage_encoded_blob}function I(e){var t=this,n=t._initReady().then(function(){var e=p[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady});return c(n,e,e),n}function E(e,t,n,r){void 0===r&&(r=1);try{var a=e.db.transaction(e.storeName,t);n(null,a)}catch(a){if(r>0&&(!e.db||"InvalidStateError"===a.name||"NotFoundError"===a.name))return i.resolve().then(function(){if(!e.db||"NotFoundError"===a.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),S(e)}).then(function(){return function(e){y(e);for(var t=p[e.name],n=t.forages,r=0;r<n.length;r++){var a=n[r];a._dbInfo.db&&(a._dbInfo.db.close(),a._dbInfo.db=null)}return e.db=null,C(e).then(function(t){return e.db=t,D(e)?S(e):t}).then(function(r){e.db=t.db=r;for(var a=0;a<n.length;a++)n[a]._dbInfo.db=r}).catch(function(t){throw x(e,t),t})}(e).then(function(){E(e,t,n,r-1)})}).catch(n);n(a)}}var N={_driver:"asyncStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var a=p[n.name];a||(a={forages:[],db:null,dbReady:null,deferredOperations:[]},p[n.name]=a),a.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=I);var o=[];function s(){return i.resolve()}for(var c=0;c<a.forages.length;c++){var u=a.forages[c];u!==t&&o.push(u._initReady().catch(s))}var l=a.forages.slice(0);return i.all(o).then(function(){return n.db=a.db,C(n)}).then(function(e){return n.db=e,D(n,t._defaultConfig.version)?S(n):e}).then(function(e){n.db=a.db=e,t._dbInfo=n;for(var r=0;r<l.length;r++){var o=l[r];o!==t&&(o._dbInfo.db=n.db,o._dbInfo.version=n.version)}})},_support:function(){try{if(!a||!a.open)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=new i(function(t,r){n.ready().then(function(){E(n._dbInfo,m,function(a,o){if(a)return r(a);try{var i=o.objectStore(n._dbInfo.storeName).openCursor(),s=1;i.onsuccess=function(){var n=i.result;if(n){var r=n.value;k(r)&&(r=_(r));var a=e(r,n.key,s++);void 0!==a?t(a):n.continue()}else t()},i.onerror=function(){r(i.error)}}catch(e){r(e)}})}).catch(r)});return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=new i(function(t,r){n.ready().then(function(){E(n._dbInfo,m,function(a,o){if(a)return r(a);try{var i=o.objectStore(n._dbInfo.storeName).get(e);i.onsuccess=function(){var e=i.result;void 0===e&&(e=null),k(e)&&(e=_(e)),t(e)},i.onerror=function(){r(i.error)}}catch(e){r(e)}})}).catch(r)});return s(r,t),r},setItem:function(e,t,n){var r=this;e=u(e);var a=new i(function(n,a){var o;r.ready().then(function(){return o=r._dbInfo,"[object Blob]"===h.call(t)?g(o.db).then(function(e){return e?t:(n=t,new i(function(e,t){var r=new FileReader;r.onerror=t,r.onloadend=function(t){var r=btoa(t.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:n.type})},r.readAsBinaryString(n)}));var n}):t}).then(function(t){E(r._dbInfo,v,function(o,i){if(o)return a(o);try{var s=i.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var c=s.put(t,e);i.oncomplete=function(){void 0===t&&(t=null),n(t)},i.onabort=i.onerror=function(){var e=c.error?c.error:c.transaction.error;a(e)}}catch(e){a(e)}})}).catch(a)});return s(a,n),a},removeItem:function(e,t){var n=this;e=u(e);var r=new i(function(t,r){n.ready().then(function(){E(n._dbInfo,v,function(a,o){if(a)return r(a);try{var i=o.objectStore(n._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){r(i.error)},o.onabort=function(){var e=i.error?i.error:i.transaction.error;r(e)}}catch(e){r(e)}})}).catch(r)});return s(r,t),r},clear:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){E(t._dbInfo,v,function(r,a){if(r)return n(r);try{var o=a.objectStore(t._dbInfo.storeName).clear();a.oncomplete=function(){e()},a.onabort=a.onerror=function(){var e=o.error?o.error:o.transaction.error;n(e)}}catch(e){n(e)}})}).catch(n)});return s(n,e),n},length:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){E(t._dbInfo,m,function(r,a){if(r)return n(r);try{var o=a.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){n(o.error)}}catch(e){n(e)}})}).catch(n)});return s(n,e),n},key:function(e,t){var n=this,r=new i(function(t,r){e<0?t(null):n.ready().then(function(){E(n._dbInfo,m,function(a,o){if(a)return r(a);try{var i=o.objectStore(n._dbInfo.storeName),s=!1,c=i.openKeyCursor();c.onsuccess=function(){var n=c.result;n?0===e?t(n.key):s?t(n.key):(s=!0,n.advance(e)):t(null)},c.onerror=function(){r(c.error)}}catch(e){r(e)}})}).catch(r)});return s(r,t),r},keys:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){E(t._dbInfo,m,function(r,a){if(r)return n(r);try{var o=a.objectStore(t._dbInfo.storeName).openKeyCursor(),i=[];o.onsuccess=function(){var t=o.result;t?(i.push(t.key),t.continue()):e(i)},o.onerror=function(){n(o.error)}}catch(e){n(e)}})}).catch(n)});return s(n,e),n},dropInstance:function(e,t){t=l.apply(this,arguments);var n,r=this.config();if((e="function"!=typeof e&&e||{}).name||(e.name=e.name||r.name,e.storeName=e.storeName||r.storeName),e.name){var o=e.name===r.name&&this._dbInfo.db?i.resolve(this._dbInfo.db):C(e).then(function(t){var n=p[e.name],r=n.forages;n.db=t;for(var a=0;a<r.length;a++)r[a]._dbInfo.db=t;return t});n=e.storeName?o.then(function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.version+1;y(e);var r=p[e.name],o=r.forages;t.close();for(var s=0;s<o.length;s++){var c=o[s];c._dbInfo.db=null,c._dbInfo.version=n}return new i(function(t,r){var o=a.open(e.name,n);o.onerror=function(e){o.result.close(),r(e)},o.onupgradeneeded=function(){o.result.deleteObjectStore(e.storeName)},o.onsuccess=function(){var e=o.result;e.close(),t(e)}}).then(function(e){r.db=e;for(var t=0;t<o.length;t++){var n=o[t];n._dbInfo.db=e,b(n._dbInfo)}}).catch(function(t){throw(x(e,t)||i.resolve()).catch(function(){}),t})}}):o.then(function(t){y(e);var n=p[e.name],r=n.forages;t.close();for(var o=0;o<r.length;o++)r[o]._dbInfo.db=null;return new i(function(t,n){var r=a.deleteDatabase(e.name);r.onerror=function(){var e=r.result;e&&e.close(),n(r.error)},r.onblocked=function(){console.warn('dropInstance blocked for database "'+e.name+'" until all open connections are closed')},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}}).then(function(e){n.db=e;for(var t=0;t<r.length;t++)b(r[t]._dbInfo)}).catch(function(t){throw(x(e,t)||i.resolve()).catch(function(){}),t})})}else n=i.reject("Invalid arguments");return s(n,t),n}};var j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",T="~~local_forage_type~",O=/^~~local_forage_type~([^~]+)~/,A="__lfsc__:",F=A.length,$="arbf",L="blob",R="si08",q="ui08",M="uic8",P="si16",B="si32",H="ur16",W="ui32",U="fl32",V="fl64",z=F+$.length,G=Object.prototype.toString;function X(e){var t,n,r,a,o,i=.75*e.length,s=e.length,c=0;"="===e[e.length-1]&&(i--,"="===e[e.length-2]&&i--);var u=new ArrayBuffer(i),l=new Uint8Array(u);for(t=0;t<s;t+=4)n=j.indexOf(e[t]),r=j.indexOf(e[t+1]),a=j.indexOf(e[t+2]),o=j.indexOf(e[t+3]),l[c++]=n<<2|r>>4,l[c++]=(15&r)<<4|a>>2,l[c++]=(3&a)<<6|63&o;return u}function K(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=j[n[t]>>2],r+=j[(3&n[t])<<4|n[t+1]>>4],r+=j[(15&n[t+1])<<2|n[t+2]>>6],r+=j[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var J={serialize:function(e,t){var n="";if(e&&(n=G.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===G.call(e.buffer))){var r,a=A;e instanceof ArrayBuffer?(r=e,a+=$):(r=e.buffer,"[object Int8Array]"===n?a+=R:"[object Uint8Array]"===n?a+=q:"[object Uint8ClampedArray]"===n?a+=M:"[object Int16Array]"===n?a+=P:"[object Uint16Array]"===n?a+=H:"[object Int32Array]"===n?a+=B:"[object Uint32Array]"===n?a+=W:"[object Float32Array]"===n?a+=U:"[object Float64Array]"===n?a+=V:t(new Error("Failed to get type for BinaryArray"))),t(a+K(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n=T+e.type+"~"+K(this.result);t(A+L+n)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(n){console.error("Couldn't convert value into a JSON string: ",e),t(null,n)}},deserialize:function(e){if(e.substring(0,F)!==A)return JSON.parse(e);var t,n=e.substring(z),r=e.substring(F,z);if(r===L&&O.test(n)){var a=n.match(O);t=a[1],n=n.substring(a[0].length)}var i=X(n);switch(r){case $:return i;case L:return o([i],{type:t});case R:return new Int8Array(i);case q:return new Uint8Array(i);case M:return new Uint8ClampedArray(i);case P:return new Int16Array(i);case H:return new Uint16Array(i);case B:return new Int32Array(i);case W:return new Uint32Array(i);case U:return new Float32Array(i);case V:return new Float64Array(i);default:throw new Error("Unkown type: "+r)}},stringToBuffer:X,bufferToString:K};function Y(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function Q(e,t,n,r,a,o){e.executeSql(n,r,a,function(e,i){i.code===i.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],function(e,s){s.rows.length?o(e,i):Y(e,t,function(){e.executeSql(n,r,a,o)},o)},o):o(e,i)},o)}var Z={_driver:"webSQLStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var a=new i(function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(e){return r(e)}n.db.transaction(function(a){Y(a,n,function(){t._dbInfo=n,e()},function(e,t){r(t)})},r)});return n.serializer=J,a},_support:"function"==typeof openDatabase,iterate:function(e,t){var n=this,r=new i(function(t,r){n.ready().then(function(){var a=n._dbInfo;a.db.transaction(function(n){Q(n,a,"SELECT * FROM "+a.storeName,[],function(n,r){for(var o=r.rows,i=o.length,s=0;s<i;s++){var c=o.item(s),u=c.value;if(u&&(u=a.serializer.deserialize(u)),void 0!==(u=e(u,c.key,s+1)))return void t(u)}t()},function(e,t){r(t)})})}).catch(r)});return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=new i(function(t,r){n.ready().then(function(){var a=n._dbInfo;a.db.transaction(function(n){Q(n,a,"SELECT * FROM "+a.storeName+" WHERE key = ? LIMIT 1",[e],function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=a.serializer.deserialize(r)),t(r)},function(e,t){r(t)})})}).catch(r)});return s(r,t),r},setItem:function(e,t,n){return function e(t,n,r,a){var o=this;t=u(t);var c=new i(function(i,s){o.ready().then(function(){void 0===n&&(n=null);var c=n,u=o._dbInfo;u.serializer.serialize(n,function(n,l){l?s(l):u.db.transaction(function(e){Q(e,u,"INSERT OR REPLACE INTO "+u.storeName+" (key, value) VALUES (?, ?)",[t,n],function(){i(c)},function(e,t){s(t)})},function(n){if(n.code===n.QUOTA_ERR){if(a>0)return void i(e.apply(o,[t,c,r,a-1]));s(n)}})})}).catch(s)});return s(c,r),c}.apply(this,[e,t,n,1])},removeItem:function(e,t){var n=this;e=u(e);var r=new i(function(t,r){n.ready().then(function(){var a=n._dbInfo;a.db.transaction(function(n){Q(n,a,"DELETE FROM "+a.storeName+" WHERE key = ?",[e],function(){t()},function(e,t){r(t)})})}).catch(r)});return s(r,t),r},clear:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){Q(t,r,"DELETE FROM "+r.storeName,[],function(){e()},function(e,t){n(t)})})}).catch(n)});return s(n,e),n},length:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){Q(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],function(t,n){var r=n.rows.item(0).c;e(r)},function(e,t){n(t)})})}).catch(n)});return s(n,e),n},key:function(e,t){var n=this,r=new i(function(t,r){n.ready().then(function(){var a=n._dbInfo;a.db.transaction(function(n){Q(n,a,"SELECT key FROM "+a.storeName+" WHERE id = ? LIMIT 1",[e+1],function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)},function(e,t){r(t)})})}).catch(r)});return s(r,t),r},keys:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){Q(t,r,"SELECT key FROM "+r.storeName,[],function(t,n){for(var r=[],a=0;a<n.rows.length;a++)r.push(n.rows.item(a).key);e(r)},function(e,t){n(t)})})}).catch(n)});return s(n,e),n},dropInstance:function(e,t){t=l.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,a=this;return s(r=e.name?new i(function(t){var r;r=e.name===n.name?a._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:r,storeNames:[e.storeName]}):t(function(e){return new i(function(t,n){e.transaction(function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(n,r){for(var a=[],o=0;o<r.rows.length;o++)a.push(r.rows.item(o).name);t({db:e,storeNames:a})},function(e,t){n(t)})},function(e){n(e)})})}(r))}).then(function(e){return new i(function(t,n){e.db.transaction(function(r){function a(e){return new i(function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],function(){t()},function(e,t){n(t)})})}for(var o=[],s=0,c=e.storeNames.length;s<c;s++)o.push(a(e.storeNames[s]));i.all(o).then(function(){t()}).catch(function(e){n(e)})},function(e){n(e)})})}):i.reject("Invalid arguments"),t),r}};function ee(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function te(){return!function(){try{return localStorage.setItem("_localforage_support_test",!0),localStorage.removeItem("_localforage_support_test"),!1}catch(e){return!0}}()||localStorage.length>0}var ne={_driver:"localStorageWrapper",_initStorage:function(e){var t={};if(e)for(var n in e)t[n]=e[n];return t.keyPrefix=ee(e,this._defaultConfig),te()?(this._dbInfo=t,t.serializer=J,i.resolve()):i.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=n.ready().then(function(){for(var t=n._dbInfo,r=t.keyPrefix,a=r.length,o=localStorage.length,i=1,s=0;s<o;s++){var c=localStorage.key(s);if(0===c.indexOf(r)){var u=localStorage.getItem(c);if(u&&(u=t.serializer.deserialize(u)),void 0!==(u=e(u,c.substring(a),i++)))return u}}});return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=n.ready().then(function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r});return s(r,t),r},setItem:function(e,t,n){var r=this;e=u(e);var a=r.ready().then(function(){void 0===t&&(t=null);var n=t;return new i(function(a,o){var i=r._dbInfo;i.serializer.serialize(t,function(t,r){if(r)o(r);else try{localStorage.setItem(i.keyPrefix+e,t),a(n)}catch(e){"QuotaExceededError"!==e.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==e.name||o(e),o(e)}})})});return s(a,n),a},removeItem:function(e,t){var n=this;e=u(e);var r=n.ready().then(function(){var t=n._dbInfo;localStorage.removeItem(t.keyPrefix+e)});return s(r,t),r},clear:function(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}});return s(n,e),n},length:function(e){var t=this.keys().then(function(e){return e.length});return s(t,e),t},key:function(e,t){var n=this,r=n.ready().then(function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t});return s(r,t),r},keys:function(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo,n=localStorage.length,r=[],a=0;a<n;a++){var o=localStorage.key(a);0===o.indexOf(e.keyPrefix)&&r.push(o.substring(e.keyPrefix.length))}return r});return s(n,e),n},dropInstance:function(e,t){if(t=l.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var n=this.config();e.name=e.name||n.name,e.storeName=e.storeName||n.storeName}var r,a=this;return s(r=e.name?new i(function(t){e.storeName?t(ee(e,a._defaultConfig)):t(e.name+"/")}).then(function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}}):i.reject("Invalid arguments"),t),r}},re=function(e,t){for(var n,r,a=e.length,o=0;o<a;){if((n=e[o])===(r=t)||"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))return!0;o++}return!1},ae=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},oe={},ie={},se={INDEXEDDB:N,WEBSQL:Z,LOCALSTORAGE:ne},ce=[se.INDEXEDDB._driver,se.WEBSQL._driver,se.LOCALSTORAGE._driver],ue=["dropInstance"],le=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(ue),de={description:"",driver:ce.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function fe(e,t){e[t]=function(){var n=arguments;return e.ready().then(function(){return e[t].apply(e,n)})}}function pe(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(ae(t[n])?arguments[0][n]=t[n].slice():arguments[0][n]=t[n])}return arguments[0]}var he=new(function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),se)if(se.hasOwnProperty(n)){var r=se[n],a=r._driver;this[n]=a,oe[a]||this.defineDriver(r)}this._defaultConfig=pe({},de),this._config=pe({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":r(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e&&e.driver)||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new i(function(t,n){try{var r=e._driver,a=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(a);for(var o=le.concat("_initStorage"),c=0,u=o.length;c<u;c++){var l=o[c];if((!re(ue,l)||e[l])&&"function"!=typeof e[l])return void n(a)}!function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),n=i.reject(t);return s(n,arguments[arguments.length-1]),n}},n=0,r=ue.length;n<r;n++){var a=ue[n];e[a]||(e[a]=t(a))}}();var d=function(n){oe[r]&&console.info("Redefining LocalForage driver: "+r),oe[r]=e,ie[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(d,n):d(!!e._support):d(!0)}catch(e){n(e)}});return c(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=oe[e]?i.resolve(oe[e]):i.reject(new Error("Driver not found."));return c(r,t,n),r},e.prototype.getSerializer=function(e){var t=i.resolve(J);return c(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then(function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready});return c(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;ae(e)||(e=[e]);var a=this._getSupportedDrivers(e);function o(){r._config.driver=r.driver()}function s(e){return r._extend(e),o(),r._ready=r._initStorage(r._config),r._ready}var u=null!==this._driverSet?this._driverSet.catch(function(){return i.resolve()}):i.resolve();return this._driverSet=u.then(function(){var e=a[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then(function(e){r._driver=e._driver,o(),r._wrapLibraryMethodsWithReady(),r._initDriver=function(e){return function(){var t=0;return function n(){for(;t<e.length;){var a=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(a).then(s).catch(n)}o();var c=new Error("No available storage method found.");return r._driverSet=i.reject(c),r._driverSet}()}}(a)})}).catch(function(){o();var e=new Error("No available storage method found.");return r._driverSet=i.reject(e),r._driverSet}),c(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!ie[e]},e.prototype._extend=function(e){pe(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var a=e[n];this.supports(a)&&t.push(a)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=le.length;e<t;e++)fe(this,le[e])},e.prototype.createInstance=function(t){return new e(t)},e}());t.exports=he},{3:3}]},{},[4])(4)},e.exports=r()}).call(t,n("DuR2"))},"7t+N":function(e,t,n){var r; r=function(){return function e(t,r,a){function o(s,c){if(!r[s]){if(!t[s]){if(!c&&("function"==typeof n&&n))return n(s,!0);if(i)return i(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[s]={exports:{}};t[s][0].call(l.exports,function(e){var n=t[s][1][e];return o(n||e)},l,l.exports,e,t,r,a)}return r[s].exports}for(var i="function"==typeof n&&n,s=0;s<a.length;s++)o(a[s]);return o}({1:[function(e,n,r){(function(e){"use strict";var t,r,a=e.MutationObserver||e.WebKitMutationObserver;if(a){var o=0,i=new a(l),s=e.document.createTextNode("");i.observe(s,{characterData:!0}),t=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)t="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var c=new e.MessageChannel;c.port1.onmessage=l,t=function(){c.port2.postMessage(0)}}var u=[];function l(){var e,t;r=!0;for(var n=u.length;n;){for(t=u,u=[],e=-1;++e<n;)t[e]();n=u.length}r=!1}n.exports=function(e){1!==u.push(e)||r||t()}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function a(){}var o={},i=["REJECTED"],s=["FULFILLED"],c=["PENDING"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==a&&p(this,e)}function l(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r(function(){var r;try{r=t(n)}catch(t){return o.reject(e,t)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)})}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function a(t){n||(n=!0,o.resolve(e,t))}var i=h(function(){t(a,r)});"error"===i.status&&r(i.value)}function h(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}t.exports=u,u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===i)return this;var n=new this.constructor(a);this.state!==c?d(n,this.state===s?e:t,this.outcome):this.queue.push(new l(n,e,t));return n},l.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){o.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=h(f,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=s,e.outcome=t;for(var a=-1,i=e.queue.length;++a<i;)e.queue[a].callFulfilled(t)}return e},o.reject=function(e,t){e.state=i,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},u.resolve=function(e){if(e instanceof this)return e;return o.resolve(new this(a),e)},u.reject=function(e){var t=new this(a);return o.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var i=new Array(n),s=0,c=-1,u=new this(a);for(;++c<n;)l(e[c],c);return u;function l(e,a){t.resolve(e).then(function(e){i[a]=e,++s!==n||r||(r=!0,o.resolve(u,i))},function(e){r||(r=!0,o.reject(u,e))})}},u.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var i=-1,s=new this(a);for(;++i<n;)c=e[i],t.resolve(c).then(function(e){r||(r=!0,o.resolve(s,e))},function(e){r||(r=!0,o.reject(s,e))});var c;return s}},{1:1}],3:[function(e,n,r){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var a=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(e){return}}();function o(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(a){if("TypeError"!==a.name)throw a;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var i=Promise;function s(e,t){t&&e.then(function(e){t(null,e)},function(e){t(e)})}function c(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function u(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function l(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var d="local-forage-detect-blob-support",f=void 0,p={},h=Object.prototype.toString,m="readonly",v="readwrite";function g(e){return"boolean"==typeof f?i.resolve(f):function(e){return new i(function(t){var n=e.transaction(d,v),r=o([""]);n.objectStore(d).put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}}).catch(function(){return!1})}(e).then(function(e){return f=e})}function y(e){var t=p[e.name],n={};n.promise=new i(function(e,t){n.resolve=e,n.reject=t}),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then(function(){return n.promise}):t.dbReady=n.promise}function b(e){var t=p[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function x(e,t){var n=p[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function w(e,t){return new i(function(n,r){if(p[e.name]=p[e.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},e.db){if(!t)return n(e.db);y(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var i=a.open.apply(a,o);t&&(i.onupgradeneeded=function(t){var n=i.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(d)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),i.onerror=function(e){e.preventDefault(),r(i.error)},i.onsuccess=function(){n(i.result),b(e)}})}function C(e){return w(e,!1)}function S(e){return w(e,!0)}function D(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version<e.db.version,a=e.version>e.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),a||n){if(n){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function _(e){return o([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),a=0;a<t;a++)r[a]=e.charCodeAt(a);return n}(atob(e.data))],{type:e.type})}function k(e){return e&&e.__local_forage_encoded_blob}function I(e){var t=this,n=t._initReady().then(function(){var e=p[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady});return c(n,e,e),n}function E(e,t,n,r){void 0===r&&(r=1);try{var a=e.db.transaction(e.storeName,t);n(null,a)}catch(a){if(r>0&&(!e.db||"InvalidStateError"===a.name||"NotFoundError"===a.name))return i.resolve().then(function(){if(!e.db||"NotFoundError"===a.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),S(e)}).then(function(){return function(e){y(e);for(var t=p[e.name],n=t.forages,r=0;r<n.length;r++){var a=n[r];a._dbInfo.db&&(a._dbInfo.db.close(),a._dbInfo.db=null)}return e.db=null,C(e).then(function(t){return e.db=t,D(e)?S(e):t}).then(function(r){e.db=t.db=r;for(var a=0;a<n.length;a++)n[a]._dbInfo.db=r}).catch(function(t){throw x(e,t),t})}(e).then(function(){E(e,t,n,r-1)})}).catch(n);n(a)}}var N={_driver:"asyncStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var a=p[n.name];a||(a={forages:[],db:null,dbReady:null,deferredOperations:[]},p[n.name]=a),a.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=I);var o=[];function s(){return i.resolve()}for(var c=0;c<a.forages.length;c++){var u=a.forages[c];u!==t&&o.push(u._initReady().catch(s))}var l=a.forages.slice(0);return i.all(o).then(function(){return n.db=a.db,C(n)}).then(function(e){return n.db=e,D(n,t._defaultConfig.version)?S(n):e}).then(function(e){n.db=a.db=e,t._dbInfo=n;for(var r=0;r<l.length;r++){var o=l[r];o!==t&&(o._dbInfo.db=n.db,o._dbInfo.version=n.version)}})},_support:function(){try{if(!a||!a.open)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=new i(function(t,r){n.ready().then(function(){E(n._dbInfo,m,function(a,o){if(a)return r(a);try{var i=o.objectStore(n._dbInfo.storeName).openCursor(),s=1;i.onsuccess=function(){var n=i.result;if(n){var r=n.value;k(r)&&(r=_(r));var a=e(r,n.key,s++);void 0!==a?t(a):n.continue()}else t()},i.onerror=function(){r(i.error)}}catch(e){r(e)}})}).catch(r)});return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=new i(function(t,r){n.ready().then(function(){E(n._dbInfo,m,function(a,o){if(a)return r(a);try{var i=o.objectStore(n._dbInfo.storeName).get(e);i.onsuccess=function(){var e=i.result;void 0===e&&(e=null),k(e)&&(e=_(e)),t(e)},i.onerror=function(){r(i.error)}}catch(e){r(e)}})}).catch(r)});return s(r,t),r},setItem:function(e,t,n){var r=this;e=u(e);var a=new i(function(n,a){var o;r.ready().then(function(){return o=r._dbInfo,"[object Blob]"===h.call(t)?g(o.db).then(function(e){return e?t:(n=t,new i(function(e,t){var r=new FileReader;r.onerror=t,r.onloadend=function(t){var r=btoa(t.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:n.type})},r.readAsBinaryString(n)}));var n}):t}).then(function(t){E(r._dbInfo,v,function(o,i){if(o)return a(o);try{var s=i.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var c=s.put(t,e);i.oncomplete=function(){void 0===t&&(t=null),n(t)},i.onabort=i.onerror=function(){var e=c.error?c.error:c.transaction.error;a(e)}}catch(e){a(e)}})}).catch(a)});return s(a,n),a},removeItem:function(e,t){var n=this;e=u(e);var r=new i(function(t,r){n.ready().then(function(){E(n._dbInfo,v,function(a,o){if(a)return r(a);try{var i=o.objectStore(n._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){r(i.error)},o.onabort=function(){var e=i.error?i.error:i.transaction.error;r(e)}}catch(e){r(e)}})}).catch(r)});return s(r,t),r},clear:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){E(t._dbInfo,v,function(r,a){if(r)return n(r);try{var o=a.objectStore(t._dbInfo.storeName).clear();a.oncomplete=function(){e()},a.onabort=a.onerror=function(){var e=o.error?o.error:o.transaction.error;n(e)}}catch(e){n(e)}})}).catch(n)});return s(n,e),n},length:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){E(t._dbInfo,m,function(r,a){if(r)return n(r);try{var o=a.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){n(o.error)}}catch(e){n(e)}})}).catch(n)});return s(n,e),n},key:function(e,t){var n=this,r=new i(function(t,r){e<0?t(null):n.ready().then(function(){E(n._dbInfo,m,function(a,o){if(a)return r(a);try{var i=o.objectStore(n._dbInfo.storeName),s=!1,c=i.openKeyCursor();c.onsuccess=function(){var n=c.result;n?0===e?t(n.key):s?t(n.key):(s=!0,n.advance(e)):t(null)},c.onerror=function(){r(c.error)}}catch(e){r(e)}})}).catch(r)});return s(r,t),r},keys:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){E(t._dbInfo,m,function(r,a){if(r)return n(r);try{var o=a.objectStore(t._dbInfo.storeName).openKeyCursor(),i=[];o.onsuccess=function(){var t=o.result;t?(i.push(t.key),t.continue()):e(i)},o.onerror=function(){n(o.error)}}catch(e){n(e)}})}).catch(n)});return s(n,e),n},dropInstance:function(e,t){t=l.apply(this,arguments);var n,r=this.config();if((e="function"!=typeof e&&e||{}).name||(e.name=e.name||r.name,e.storeName=e.storeName||r.storeName),e.name){var o=e.name===r.name&&this._dbInfo.db?i.resolve(this._dbInfo.db):C(e).then(function(t){var n=p[e.name],r=n.forages;n.db=t;for(var a=0;a<r.length;a++)r[a]._dbInfo.db=t;return t});n=e.storeName?o.then(function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.version+1;y(e);var r=p[e.name],o=r.forages;t.close();for(var s=0;s<o.length;s++){var c=o[s];c._dbInfo.db=null,c._dbInfo.version=n}return new i(function(t,r){var o=a.open(e.name,n);o.onerror=function(e){o.result.close(),r(e)},o.onupgradeneeded=function(){o.result.deleteObjectStore(e.storeName)},o.onsuccess=function(){var e=o.result;e.close(),t(e)}}).then(function(e){r.db=e;for(var t=0;t<o.length;t++){var n=o[t];n._dbInfo.db=e,b(n._dbInfo)}}).catch(function(t){throw(x(e,t)||i.resolve()).catch(function(){}),t})}}):o.then(function(t){y(e);var n=p[e.name],r=n.forages;t.close();for(var o=0;o<r.length;o++)r[o]._dbInfo.db=null;return new i(function(t,n){var r=a.deleteDatabase(e.name);r.onerror=r.onblocked=function(e){var t=r.result;t&&t.close(),n(e)},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}}).then(function(e){n.db=e;for(var t=0;t<r.length;t++)b(r[t]._dbInfo)}).catch(function(t){throw(x(e,t)||i.resolve()).catch(function(){}),t})})}else n=i.reject("Invalid arguments");return s(n,t),n}};var j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",T="~~local_forage_type~",O=/^~~local_forage_type~([^~]+)~/,A="__lfsc__:",F=A.length,$="arbf",L="blob",R="si08",q="ui08",M="uic8",P="si16",B="si32",H="ur16",W="ui32",U="fl32",V="fl64",z=F+$.length,G=Object.prototype.toString;function X(e){var t,n,r,a,o,i=.75*e.length,s=e.length,c=0;"="===e[e.length-1]&&(i--,"="===e[e.length-2]&&i--);var u=new ArrayBuffer(i),l=new Uint8Array(u);for(t=0;t<s;t+=4)n=j.indexOf(e[t]),r=j.indexOf(e[t+1]),a=j.indexOf(e[t+2]),o=j.indexOf(e[t+3]),l[c++]=n<<2|r>>4,l[c++]=(15&r)<<4|a>>2,l[c++]=(3&a)<<6|63&o;return u}function K(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=j[n[t]>>2],r+=j[(3&n[t])<<4|n[t+1]>>4],r+=j[(15&n[t+1])<<2|n[t+2]>>6],r+=j[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var J={serialize:function(e,t){var n="";if(e&&(n=G.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===G.call(e.buffer))){var r,a=A;e instanceof ArrayBuffer?(r=e,a+=$):(r=e.buffer,"[object Int8Array]"===n?a+=R:"[object Uint8Array]"===n?a+=q:"[object Uint8ClampedArray]"===n?a+=M:"[object Int16Array]"===n?a+=P:"[object Uint16Array]"===n?a+=H:"[object Int32Array]"===n?a+=B:"[object Uint32Array]"===n?a+=W:"[object Float32Array]"===n?a+=U:"[object Float64Array]"===n?a+=V:t(new Error("Failed to get type for BinaryArray"))),t(a+K(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n=T+e.type+"~"+K(this.result);t(A+L+n)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(n){console.error("Couldn't convert value into a JSON string: ",e),t(null,n)}},deserialize:function(e){if(e.substring(0,F)!==A)return JSON.parse(e);var t,n=e.substring(z),r=e.substring(F,z);if(r===L&&O.test(n)){var a=n.match(O);t=a[1],n=n.substring(a[0].length)}var i=X(n);switch(r){case $:return i;case L:return o([i],{type:t});case R:return new Int8Array(i);case q:return new Uint8Array(i);case M:return new Uint8ClampedArray(i);case P:return new Int16Array(i);case H:return new Uint16Array(i);case B:return new Int32Array(i);case W:return new Uint32Array(i);case U:return new Float32Array(i);case V:return new Float64Array(i);default:throw new Error("Unkown type: "+r)}},stringToBuffer:X,bufferToString:K};function Y(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function Q(e,t,n,r,a,o){e.executeSql(n,r,a,function(e,i){i.code===i.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],function(e,s){s.rows.length?o(e,i):Y(e,t,function(){e.executeSql(n,r,a,o)},o)},o):o(e,i)},o)}var Z={_driver:"webSQLStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var a=new i(function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(e){return r(e)}n.db.transaction(function(a){Y(a,n,function(){t._dbInfo=n,e()},function(e,t){r(t)})},r)});return n.serializer=J,a},_support:"function"==typeof openDatabase,iterate:function(e,t){var n=this,r=new i(function(t,r){n.ready().then(function(){var a=n._dbInfo;a.db.transaction(function(n){Q(n,a,"SELECT * FROM "+a.storeName,[],function(n,r){for(var o=r.rows,i=o.length,s=0;s<i;s++){var c=o.item(s),u=c.value;if(u&&(u=a.serializer.deserialize(u)),void 0!==(u=e(u,c.key,s+1)))return void t(u)}t()},function(e,t){r(t)})})}).catch(r)});return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=new i(function(t,r){n.ready().then(function(){var a=n._dbInfo;a.db.transaction(function(n){Q(n,a,"SELECT * FROM "+a.storeName+" WHERE key = ? LIMIT 1",[e],function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=a.serializer.deserialize(r)),t(r)},function(e,t){r(t)})})}).catch(r)});return s(r,t),r},setItem:function(e,t,n){return function e(t,n,r,a){var o=this;t=u(t);var c=new i(function(i,s){o.ready().then(function(){void 0===n&&(n=null);var c=n,u=o._dbInfo;u.serializer.serialize(n,function(n,l){l?s(l):u.db.transaction(function(e){Q(e,u,"INSERT OR REPLACE INTO "+u.storeName+" (key, value) VALUES (?, ?)",[t,n],function(){i(c)},function(e,t){s(t)})},function(n){if(n.code===n.QUOTA_ERR){if(a>0)return void i(e.apply(o,[t,c,r,a-1]));s(n)}})})}).catch(s)});return s(c,r),c}.apply(this,[e,t,n,1])},removeItem:function(e,t){var n=this;e=u(e);var r=new i(function(t,r){n.ready().then(function(){var a=n._dbInfo;a.db.transaction(function(n){Q(n,a,"DELETE FROM "+a.storeName+" WHERE key = ?",[e],function(){t()},function(e,t){r(t)})})}).catch(r)});return s(r,t),r},clear:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){Q(t,r,"DELETE FROM "+r.storeName,[],function(){e()},function(e,t){n(t)})})}).catch(n)});return s(n,e),n},length:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){Q(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],function(t,n){var r=n.rows.item(0).c;e(r)},function(e,t){n(t)})})}).catch(n)});return s(n,e),n},key:function(e,t){var n=this,r=new i(function(t,r){n.ready().then(function(){var a=n._dbInfo;a.db.transaction(function(n){Q(n,a,"SELECT key FROM "+a.storeName+" WHERE id = ? LIMIT 1",[e+1],function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)},function(e,t){r(t)})})}).catch(r)});return s(r,t),r},keys:function(e){var t=this,n=new i(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){Q(t,r,"SELECT key FROM "+r.storeName,[],function(t,n){for(var r=[],a=0;a<n.rows.length;a++)r.push(n.rows.item(a).key);e(r)},function(e,t){n(t)})})}).catch(n)});return s(n,e),n},dropInstance:function(e,t){t=l.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,a=this;return s(r=e.name?new i(function(t){var r;r=e.name===n.name?a._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:r,storeNames:[e.storeName]}):t(function(e){return new i(function(t,n){e.transaction(function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(n,r){for(var a=[],o=0;o<r.rows.length;o++)a.push(r.rows.item(o).name);t({db:e,storeNames:a})},function(e,t){n(t)})},function(e){n(e)})})}(r))}).then(function(e){return new i(function(t,n){e.db.transaction(function(r){function a(e){return new i(function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],function(){t()},function(e,t){n(t)})})}for(var o=[],s=0,c=e.storeNames.length;s<c;s++)o.push(a(e.storeNames[s]));i.all(o).then(function(){t()}).catch(function(e){n(e)})},function(e){n(e)})})}):i.reject("Invalid arguments"),t),r}};function ee(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function te(){return!function(){try{return localStorage.setItem("_localforage_support_test",!0),localStorage.removeItem("_localforage_support_test"),!1}catch(e){return!0}}()||localStorage.length>0}var ne={_driver:"localStorageWrapper",_initStorage:function(e){var t={};if(e)for(var n in e)t[n]=e[n];return t.keyPrefix=ee(e,this._defaultConfig),te()?(this._dbInfo=t,t.serializer=J,i.resolve()):i.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=n.ready().then(function(){for(var t=n._dbInfo,r=t.keyPrefix,a=r.length,o=localStorage.length,i=1,s=0;s<o;s++){var c=localStorage.key(s);if(0===c.indexOf(r)){var u=localStorage.getItem(c);if(u&&(u=t.serializer.deserialize(u)),void 0!==(u=e(u,c.substring(a),i++)))return u}}});return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=n.ready().then(function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r});return s(r,t),r},setItem:function(e,t,n){var r=this;e=u(e);var a=r.ready().then(function(){void 0===t&&(t=null);var n=t;return new i(function(a,o){var i=r._dbInfo;i.serializer.serialize(t,function(t,r){if(r)o(r);else try{localStorage.setItem(i.keyPrefix+e,t),a(n)}catch(e){"QuotaExceededError"!==e.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==e.name||o(e),o(e)}})})});return s(a,n),a},removeItem:function(e,t){var n=this;e=u(e);var r=n.ready().then(function(){var t=n._dbInfo;localStorage.removeItem(t.keyPrefix+e)});return s(r,t),r},clear:function(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}});return s(n,e),n},length:function(e){var t=this.keys().then(function(e){return e.length});return s(t,e),t},key:function(e,t){var n=this,r=n.ready().then(function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t});return s(r,t),r},keys:function(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo,n=localStorage.length,r=[],a=0;a<n;a++){var o=localStorage.key(a);0===o.indexOf(e.keyPrefix)&&r.push(o.substring(e.keyPrefix.length))}return r});return s(n,e),n},dropInstance:function(e,t){if(t=l.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var n=this.config();e.name=e.name||n.name,e.storeName=e.storeName||n.storeName}var r,a=this;return s(r=e.name?new i(function(t){e.storeName?t(ee(e,a._defaultConfig)):t(e.name+"/")}).then(function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}}):i.reject("Invalid arguments"),t),r}},re=function(e,t){for(var n,r,a=e.length,o=0;o<a;){if((n=e[o])===(r=t)||"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))return!0;o++}return!1},ae=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},oe={},ie={},se={INDEXEDDB:N,WEBSQL:Z,LOCALSTORAGE:ne},ce=[se.INDEXEDDB._driver,se.WEBSQL._driver,se.LOCALSTORAGE._driver],ue=["dropInstance"],le=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(ue),de={description:"",driver:ce.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function fe(e,t){e[t]=function(){var n=arguments;return e.ready().then(function(){return e[t].apply(e,n)})}}function pe(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(ae(t[n])?arguments[0][n]=t[n].slice():arguments[0][n]=t[n])}return arguments[0]}var he=new(function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),se)if(se.hasOwnProperty(n)){var r=se[n],a=r._driver;this[n]=a,oe[a]||this.defineDriver(r)}this._defaultConfig=pe({},de),this._config=pe({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":r(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e&&e.driver)||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new i(function(t,n){try{var r=e._driver,a=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(a);for(var o=le.concat("_initStorage"),c=0,u=o.length;c<u;c++){var l=o[c];if((!re(ue,l)||e[l])&&"function"!=typeof e[l])return void n(a)}!function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),n=i.reject(t);return s(n,arguments[arguments.length-1]),n}},n=0,r=ue.length;n<r;n++){var a=ue[n];e[a]||(e[a]=t(a))}}();var d=function(n){oe[r]&&console.info("Redefining LocalForage driver: "+r),oe[r]=e,ie[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(d,n):d(!!e._support):d(!0)}catch(e){n(e)}});return c(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=oe[e]?i.resolve(oe[e]):i.reject(new Error("Driver not found."));return c(r,t,n),r},e.prototype.getSerializer=function(e){var t=i.resolve(J);return c(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then(function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready});return c(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;ae(e)||(e=[e]);var a=this._getSupportedDrivers(e);function o(){r._config.driver=r.driver()}function s(e){return r._extend(e),o(),r._ready=r._initStorage(r._config),r._ready}var u=null!==this._driverSet?this._driverSet.catch(function(){return i.resolve()}):i.resolve();return this._driverSet=u.then(function(){var e=a[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then(function(e){r._driver=e._driver,o(),r._wrapLibraryMethodsWithReady(),r._initDriver=function(e){return function(){var t=0;return function n(){for(;t<e.length;){var a=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(a).then(s).catch(n)}o();var c=new Error("No available storage method found.");return r._driverSet=i.reject(c),r._driverSet}()}}(a)})}).catch(function(){o();var e=new Error("No available storage method found.");return r._driverSet=i.reject(e),r._driverSet}),c(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!ie[e]},e.prototype._extend=function(e){pe(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var a=e[n];this.supports(a)&&t.push(a)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=le.length;e<t;e++)fe(this,le[e])},e.prototype.createInstance=function(t){return new e(t)},e}());t.exports=he},{3:3}]},{},[4])(4)},e.exports=r()}).call(t,n("DuR2"))},"7t+N":function(e,t,n){var r;
/*! /*!
* jQuery JavaScript Library v3.6.0 * jQuery JavaScript Library v3.6.0
* https://jquery.com/ * https://jquery.com/
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={100:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"d5b95b6e5dc3fce4d741",1:"80ec7107adf684998411",2:"ee081d25258cd1ccd634",3:"5e8e614074ce4fb58e13",4:"6842094a08d6e8314bcc",5:"1e1bdb427a288d1c8a12",6:"c0a5fb9f2c1756efba10",7:"5b0cb1142f1c4271f665",8:"76b4075e487820f802a9",9:"324497f9abcac3bf1421",10:"d1e59293a6035177f0bf",11:"089a5d7389f666b3a424",12:"7e6336c9427f8f852664",13:"7647bc17ab761c845125",14:"2cb043e938404fb9b8f7",15:"587aceeafd49cbcc8d73",16:"f179f2ff52a9f86e96cb",17:"f0661cd09f6f347c6397",18:"9f4b44756d7ab034ca5e",19:"324f4fdec0033865c0a5",20:"4e4af591a462a9da17d7",21:"7823a8dc3a15ab92fc9e",22:"b386b8bfcf9b6c244a0f",23:"124c9aa4f6c544149a49",24:"deb0966d158a04089b9d",25:"fb9c519070e24154d531",26:"98090da394d2fcd7acbd",27:"60cbe62de04ce9375d05",28:"73f70bbca04b559f281f",29:"c4b4500ae61433fe689e",30:"1a2c3d34bc94fd71a05b",31:"dd527a1d37c94e8064a8",32:"2b7e2b67b2e7f4a4b464",33:"74e6c489c2bea79419b4",34:"dd1b802f5bad99ff940f",35:"72f587b4d2a6bc3e0925",36:"3c07071f0a4f7ebbdb60",37:"c3c0d5be639d023ae5cd",38:"6d2c003b032c04d5650c",39:"f587fd58755b1c29a47a",40:"dfc358a663900d19c7d9",41:"e8542ea91426a5ccf742",42:"549ebc9f461ac74f1108",43:"72473b9f3342aba9a66d",44:"0c4428ec4007cd453dc2",45:"a257f1f62b1bbf34736a",46:"0b921123ebc82f93ec9f",47:"684e088d88a229bc3580",48:"166f147fb3c2cad39ab8",49:"9625430d362e065937a6",50:"276e3a40c6fd976c2c65",51:"7520d891241f13cc05d1",52:"e701f2c261a53d6f88c2",53:"d32712f034f2b4e16217",54:"6487ce64288a07b8051d",55:"323d304ee1bba29f0710",56:"1560067a02d27da0ca1f",57:"eeacca78370ddcdc6bfe",58:"cd63ae87b0e44a9a7b69",59:"ed0dd635771ef40ae8bb",60:"7b47933242aa79cf43c7",61:"4592fe83af91dd3e5be8",62:"204020846d22c4c3d9f2",63:"0badf34d9227f280d6b7",64:"2396087f621f71850120",65:"1157664901f31604ae3b",66:"2b5e6cf2c08b7ab6b4b3",67:"20386f46086e14479f5c",68:"87393519c0dc17c5c150",69:"6508b958089b8e1c6886",70:"0ea7d765231fc04aaebf",71:"bc27c55dc23895286132",72:"b88dade8d03805e3b11d",73:"efb87ef1971be5ff6ed8",74:"bf53e0902f94b7729f24",75:"82c6eacdee1887a873e1",76:"e97c4de889d4f97398f1",77:"dc65aa701ba7c56edc51",78:"eba3b8e65252436b8d06",79:"ddbc5dd0f86cf21fb297",80:"2ba1c014b2f05b03d2f4",81:"54ecb451a615604b78b6",82:"fa1aae1c2edcf85acc84",83:"c44b6e3b031705d0246b",84:"9ec466ec1d2576e62ee0",85:"4fcfee89eec7f1a1d83f",86:"cd9781989b2036863d65",87:"687b8f53eaedf25f541d",88:"2d46eaad32d209a7abdb",89:"29ea1638fd4a0ab982cf",90:"354921314e17a807d9e1",91:"64ad30b4854f335b1896",92:"a2e0cf15da26b63da96b",93:"c748e25dfbb05409c28d",94:"8caf58cbaaefce7bc84f",95:"b783ddac5ec7f3ca54aa",96:"cdd46dcf886145ee6afb",97:"4c340ecc59a6a4a0ff4e"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var a={},f={100:0};function b(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,b){c=f[e]=[a,b]});c[2]=a;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"7a82190bc1c27e0bc27b",1:"80ec7107adf684998411",2:"ee081d25258cd1ccd634",3:"26234506069b483d4b0f",4:"68ca8644f516e81ae6c8",5:"1e1bdb427a288d1c8a12",6:"c0a5fb9f2c1756efba10",7:"5b0cb1142f1c4271f665",8:"76b4075e487820f802a9",9:"324497f9abcac3bf1421",10:"d1e59293a6035177f0bf",11:"089a5d7389f666b3a424",12:"7e6336c9427f8f852664",13:"7647bc17ab761c845125",14:"2cb043e938404fb9b8f7",15:"587aceeafd49cbcc8d73",16:"f179f2ff52a9f86e96cb",17:"f0661cd09f6f347c6397",18:"9f4b44756d7ab034ca5e",19:"324f4fdec0033865c0a5",20:"4e4af591a462a9da17d7",21:"7823a8dc3a15ab92fc9e",22:"b386b8bfcf9b6c244a0f",23:"124c9aa4f6c544149a49",24:"deb0966d158a04089b9d",25:"fb9c519070e24154d531",26:"98090da394d2fcd7acbd",27:"60cbe62de04ce9375d05",28:"73f70bbca04b559f281f",29:"c4b4500ae61433fe689e",30:"1a2c3d34bc94fd71a05b",31:"dd527a1d37c94e8064a8",32:"2b7e2b67b2e7f4a4b464",33:"74e6c489c2bea79419b4",34:"dd1b802f5bad99ff940f",35:"72f587b4d2a6bc3e0925",36:"3c07071f0a4f7ebbdb60",37:"c3c0d5be639d023ae5cd",38:"6d2c003b032c04d5650c",39:"f587fd58755b1c29a47a",40:"dfc358a663900d19c7d9",41:"e8542ea91426a5ccf742",42:"549ebc9f461ac74f1108",43:"72473b9f3342aba9a66d",44:"0c4428ec4007cd453dc2",45:"a257f1f62b1bbf34736a",46:"0b921123ebc82f93ec9f",47:"684e088d88a229bc3580",48:"166f147fb3c2cad39ab8",49:"9625430d362e065937a6",50:"276e3a40c6fd976c2c65",51:"7520d891241f13cc05d1",52:"e701f2c261a53d6f88c2",53:"d32712f034f2b4e16217",54:"6487ce64288a07b8051d",55:"323d304ee1bba29f0710",56:"1560067a02d27da0ca1f",57:"eeacca78370ddcdc6bfe",58:"cd63ae87b0e44a9a7b69",59:"ed0dd635771ef40ae8bb",60:"7b47933242aa79cf43c7",61:"4592fe83af91dd3e5be8",62:"204020846d22c4c3d9f2",63:"0badf34d9227f280d6b7",64:"2396087f621f71850120",65:"1157664901f31604ae3b",66:"2b5e6cf2c08b7ab6b4b3",67:"20386f46086e14479f5c",68:"87393519c0dc17c5c150",69:"6508b958089b8e1c6886",70:"0ea7d765231fc04aaebf",71:"bc27c55dc23895286132",72:"b88dade8d03805e3b11d",73:"efb87ef1971be5ff6ed8",74:"bf53e0902f94b7729f24",75:"82c6eacdee1887a873e1",76:"e97c4de889d4f97398f1",77:"dc65aa701ba7c56edc51",78:"eba3b8e65252436b8d06",79:"ddbc5dd0f86cf21fb297",80:"2ba1c014b2f05b03d2f4",81:"54ecb451a615604b78b6",82:"fa1aae1c2edcf85acc84",83:"c44b6e3b031705d0246b",84:"9ec466ec1d2576e62ee0",85:"4fcfee89eec7f1a1d83f",86:"cd9781989b2036863d65",87:"687b8f53eaedf25f541d",88:"2d46eaad32d209a7abdb",89:"29ea1638fd4a0ab982cf",90:"354921314e17a807d9e1",91:"64ad30b4854f335b1896",92:"a2e0cf15da26b63da96b",93:"c748e25dfbb05409c28d",94:"8caf58cbaaefce7bc84f",95:"b783ddac5ec7f3ca54aa",96:"cdd46dcf886145ee6afb",97:"4c340ecc59a6a4a0ff4e"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},b.m=e,b.c=a,b.d=function(e,c,a){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -52,6 +52,13 @@ Vue.axios.interceptors.request.use( ...@@ -52,6 +52,13 @@ Vue.axios.interceptors.request.use(
cancel cancel
}); });
}); });
/**
* 获取好办 企业 id
*/
if (!!sessionStorage.getItem('userInfoBrandId')) {
let haobanSign = sessionStorage.getItem('userInfoBrandId');
haobanSign ? (config.headers.enterpriseId = haobanSign) : '';
}
return config; return config;
}, },
err => { err => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment