diff --git a/CHANGELOG.md b/CHANGELOG.md index f415b5f6..e2c18bd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Removed - none yet +## [v0.4.4] - 2017-12-12 + +### Fixed +- Auth was broken on older browsers (notably iOS9) #237 + + ## [v0.4.3] - 2017-11-30 ### Changed - `babel-polyfill` is not included anymore https://github.com/cozy/cozy-client-js/commit/b12fb52da002742c83bfc87632a3bc6440d1a8c0 diff --git a/dist/cozy-client.min.js b/dist/cozy-client.min.js index 164ad23a..6b68f0b5 100644 --- a/dist/cozy-client.min.js +++ b/dist/cozy-client.min.js @@ -1,9 +1,9 @@ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("client",[],t):"object"==typeof exports?exports.client=t():(e.cozy=e.cozy||{},e.cozy.client=t())}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,o){r.apply(this,[e,t,o].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){n(39),e.exports=n(28)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.fullpath(t).then(function(t){var r=void 0;return r=n.disableAuth?fetch(t,n):n.manualAuthCredentials?s(e,t,n,n.manualAuthCredentials):e.authorize().then(function(r){return s(e,t,n,r)}),r.then(d)})}function s(e,t,n,r){return r&&(n.headers=n.headers||{},n.headers.Authorization=r.token.toAuthHeader()),n.credentials="include",Promise.all([e.isV2(),fetch(t,n)]).then(function(o){var i=p(o,2),a=i[0],u=i[1];if(400!==u.status&&401!==u.status||a||!r||n.dontRetry)return u;var c=r.client,f=r.token;return c&&f instanceof v.AccessToken?(n.dontRetry=!0,(0,y.retry)(function(){return(0,v.refreshToken)(e,c,f)},3)().then(function(t){return e.saveCredentials(c,t)}).then(function(r){return s(e,t,n,r)})):u})}function c(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i="undefined"==typeof o.processJSONAPI||o.processJSONAPI;return l(e,t,n,r,o).then(function(e){return h(e,i)})}function f(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return l(e,t,n,r,o).then(function(e){return h(e,!1)})}function l(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};o.method=t;var i=o.headers=o.headers||{};return i.Accept="application/json","GET"!==t&&"HEAD"!==t&&void 0!==r&&(i["Content-Type"]?o.body=r:(i["Content-Type"]="application/json",o.body=JSON.stringify(r))),u(e,n,o)}function d(e){if(e.ok)return e;var t=void 0,n=e.headers.get("content-type");return t=n&&n.indexOf("json")>=0?e.json():e.text(),t.then(function(t){throw new _(e,t)})}function h(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.headers.get("content-type");if(!n||n.indexOf("json")<0)return e.text(function(t){throw new _(e,new Error("Response is not JSON: "+t))});var r=e.json();return 0===n.indexOf("application/vnd.api+json")&&t?r.then(m.default):r}Object.defineProperty(t,"__esModule",{value:!0}),t.FetchError=void 0;var p=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.cozyFetch=u,t.cozyFetchJSON=c,t.cozyFetchRawJSON=f;var v=n(8),y=n(3),g=n(14),m=r(g),_=t.FetchError=function(e){function t(e,n){o(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return Error.captureStackTrace&&Error.captureStackTrace(r,r.constructor),r.name="FetchError",r.response=e,r.url=e.url,r.status=e.status,r.reason=n,Object.defineProperty(r,"message",{value:n.message||("string"==typeof n?n:JSON.stringify(n))}),r}return a(t,e),t}(Error);_.isUnauthorized=function(e){return"FetchError"===e.name&&401===e.status},_.isNotFound=function(e){return"FetchError"===e.name&&404===e.status}},function(e,t,n){(function(e){"use strict";var r=n(21);t.once=function(e){var n=!1;return t.getArguments(function(t){if(n)throw console.trace(),new Error("once called more than once");n=!0,e.apply(this,t)})},t.getArguments=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=-1;++r0&&"\\"===e[r-1]?n=n.substring(0,n.length-1)+".":(t.push(n),n=""):n+=i}return t.push(n),t},t.pick=function(e,n){for(var r={},o=0,i=n.length;on.length)&&t.oneArrayIsSubArrayOfOther(e,n)},t.oneSetIsSubArrayOfOther=function(e,t){e=e.slice();for(var n=0,r=t.length;nt?1:0},t.arrayToObject=function(e){for(var t={},n=0,r=e.length;nr&&(r=u,n=a)}return n},t.arrayEquals=function(e,t){if(e.length!==t.length)return!1;for(var n=0,r=e.length;n2&&void 0!==arguments[2]?arguments[2]:300;return function r(){for(var o=arguments.length,i=Array(o),u=0;u1&&void 0!==arguments[1]?arguments[1]:1;return s(e*Math.pow(2,t-1))}function f(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i="/data/";t||(i+=encodeURIComponent(n)+"/"),""!==r&&(i+=encodeURIComponent(r));var a=l(o);return""!==a&&(i+="?"+a),i}function l(e){if(!e)return"";var t="";for(var n in e)""!==t&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]);return t}function d(e){var t=e.indexOf("?");t<0&&(t=e.length);var n={},r=e.indexOf("#");if(r<0&&(r=e.length),r-1}function u(e,t,n){"undefined"==typeof n.$eq&&("undefined"!=typeof n.$gte?"$gte"===e?t>n.$gte&&(n.$gte=t):t>=n.$gte&&(delete n.$gte,n.$gt=t):"undefined"!=typeof n.$gt?"$gte"===e?t>n.$gt&&(delete n.$gt,n.$gte=t):t>n.$gt&&(n.$gt=t):n[e]=t)}function s(e,t,n){"undefined"==typeof n.$eq&&("undefined"!=typeof n.$lte?"$lte"===e?tt.length;)u.pop();if(Math.abs(E.collate(u,t))>0)break}return o>0?e.slice(o):e}function y(e){var t=w.clone(e);return delete t.startkey,delete t.endkey,delete t.inclusive_start,delete t.inclusive_end,"endkey"in e&&(t.startkey=e.endkey),"startkey"in e&&(t.endkey=e.startkey),"inclusive_start"in e&&(t.inclusive_end=e.inclusive_start),"inclusive_end"in e&&(t.inclusive_start=e.inclusive_end),t}function g(e){var t=e.fields.filter(function(e){return"asc"===o(e)});if(0!==t.length&&t.length!==e.fields.length)throw new Error("unsupported mixed sorting")}function m(e,t){if(t.defaultUsed&&e.sort){var n=e.sort.filter(function(e){return"_id"!==Object.keys(e)[0]}).map(function(e){return Object.keys(e)[0]});if(n.length>0)throw new Error('Cannot sort on field(s) "'+n.join(",")+'" when using the default index')}t.defaultUsed}function _(e){if("object"!=typeof e.selector)throw new Error("you must provide a selector when you find()")}function b(e,t){var n,o=Object.keys(e),i=t?t.map(r):[];return n=o.length>=i.length?o:i,0===i.length?{fields:n}:(n=n.sort(function(e,t){var n=i.indexOf(e);n===-1&&(n=Number.MAX_VALUE);var r=i.indexOf(t);return r===-1&&(r=Number.MAX_VALUE),nr?1:0}),{fields:n,sortOrder:t.map(r)})}var w=n(2),E=n(7),k=["$or","$nor","$not"];e.exports={getKey:r,getValue:o,massageSort:i,massageSelector:d,validateIndex:g,validateFindRequest:_,validateSort:m,reverseOptions:y,filterInclusiveStart:v,massageIndexDef:h,parseField:w.parseField,getUserFields:b,isCombinationalField:a}},function(e,t,n){"use strict";function r(e,t,n){var r=n.indexOf(".")!==-1;if(t&&r){var i=u[n];return i?i:n.replace(/\./g,"-")}if(!t&&!r){var s=a[n];if(s)return(0,o.warn)("you are using a non-qualified doctype "+n+" assumed to be "+s),s;throw new Error("Doctype "+n+" should be qualified.")}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.DOCTYPE_FILES=void 0,t.normalizeDoctype=r;var o=n(3),i=t.DOCTYPE_FILES="io.cozy.files",a={files:i,folder:i,contact:"io.cozy.contacts",event:"io.cozy.events",track:"io.cozy.labs.music.track",playlist:"io.cozy.labs.music.playlist"},u={};Object.keys(a).forEach(function(e){u[a[e]]=e})},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}function a(){v&&h&&(v=!1,h.length?p=h.concat(p):y=-1,p.length&&u())}function u(){if(!v){var e=o(a);v=!0;for(var t=p.length;t;){for(h=p,p=[];++y1)for(var n=1;nn.length?1:-1}function u(e,t){return e===t?0:e>t?1:-1}function s(e,n){for(var r=Object.keys(e),o=Object.keys(n),i=Math.min(r.length,o.length),a=0;ao.length?1:-1}function c(e){var t=["boolean","number","string","object"],n=t.indexOf(typeof e);return~n?null===e?1:Array.isArray(e)?5:n<3?n+2:n+3:Array.isArray(e)?5:void 0}function f(e){if(0===e)return"1";var t=e.toExponential().split(/e\+?/),n=parseInt(t[1],10),r=e<0,o=r?"0":"2",i=(r?-n:n)-l,a=p.padLeft(i.toString(),"0",d);o+=h+a;var u=Math.abs(parseFloat(t[0]));r&&(u=10-u);var s=u.toFixed(20);return s=s.replace(/\.?0+$/,""),o+=h+s}var l=-324,d=3,h="",p=n(40);t.collate=function(e,n){if(e===n)return 0;e=t.normalizeKey(e),n=t.normalizeKey(n);var r=c(e),o=c(n);if(r-o!==0)return r-o;if(null===e)return 0;switch(typeof e){case"number":return e-n;case"boolean":return e===n?0:e2&&void 0!==arguments[2]&&arguments[2],r=o(e,t);if(!r.isRegistered())return Promise.reject(new Error("Client not registered"));var i=r.toRegisterJSON();return i.client_id=r.clientID,n&&(i.client_secret=r.clientSecret),(0,b.cozyFetchJSON)(e,"PUT","/auth/register/"+r.clientID,i,{manualAuthCredentials:{token:r}}).then(function(e){return c(e,r)})}function u(e,t){var n=o(e,t);return n.isRegistered()?(0,b.cozyFetchJSON)(e,"DELETE","/auth/register/"+n.clientID,null,{manualAuthCredentials:{token:n}}):Promise.reject(new Error("Client not registered"))}function s(e,t){var n=o(e,t);return n.isRegistered()?(0,_.isOffline)()?Promise.resolve(n):(0,b.cozyFetchJSON)(e,"GET","/auth/register/"+n.clientID,null,{manualAuthCredentials:{token:n}}).then(function(e){return c(e,n)}).catch(function(e){if(b.FetchError.isUnauthorized(e)||b.FetchError.isNotFound(e))throw new Error("Client has been revoked");throw e}):Promise.reject(new Error("Client not registered"))}function c(e,t){var n=new S(e),r=!!t&&""!==t.registrationAccessToken&&""===n.registrationAccessToken;return r&&(n.registrationAccessToken=t.registrationAccessToken),n}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(t instanceof S||(t=new S(t)),!t.isRegistered())throw new Error("Client not registered");var r=y(),o={client_id:t.clientID,redirect_uri:t.redirectURI,state:r,response_type:"code",scope:n.join(" ")};return{url:e._url+("/auth/authorize?"+(0,_.encodeQuery)(o)),state:r}}function l(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(!n)return Promise.reject(new Error("Missing state value"));var o=v(r);return null===o?Promise.reject(new Error("Missing states from current URL")):n!==o.state?Promise.reject(new Error("Given state does not match url query state")):p(e,t,null,{grant_type:"authorization_code",code:o.code})}function d(e,t,n){return p(e,t,n,{grant_type:"refresh_token",refresh_token:n.refreshToken})}function h(e,t,n,r){function o(o){if(c++>0)throw o;return t.clear().then(function(){return h(e,t,n,r)})}function a(){return t.clear().then(function(){return i(e,n)}).then(function(r){var o=f(e,r,n.scopes),i=o.url,a=o.state;return t.save(k,{client:r,url:i,state:a})})}var u=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(u)return t.clear().then(function(){return h(e,t,n,r,!1)});var c=0;return Promise.all([t.load(E),t.load(k)]).then(function(n){var i=g(n,2),u=i[0],c=i[1];if(u){var f=void 0,d=void 0;try{f=new S(u.client),d=new O(u.token)}catch(e){return o(e)}return s(e,f).then(function(e){return{client:e,token:d}}).catch(function(e){if(b.FetchError.isUnauthorized(e)||b.FetchError.isNotFound(e))throw new Error("Client has been revoked");return{client:f,token:d}})}var h=void 0;h=c?Promise.resolve(c):a();var p=void 0,v=void 0,y=void 0;return h.then(function(e){return p=e.client,v=e.state,Promise.resolve(r(p,e.url))}).then(function(t){return l(e,p,v,t)}).then(function(e){y=e}).then(function(){return t.delete(k)}).then(function(){return{client:p,token:y}})}).then(function(e){return t.save(E,e)},function(e){if(b.FetchError.isUnauthorized(e))return o(e);throw e})}function p(e,t,n,r){if(t instanceof S||(t=new S(t)),!t.isRegistered())return Promise.reject(new Error("Client not registered"));var o=(0,_.encodeQuery)(Object.assign({},r,{client_id:t.clientID,client_secret:t.clientSecret}));return(0,b.cozyFetchJSON)(e,"POST","/auth/access_token",o,{disableAuth:null===n,dontRetry:!0,manualAuthCredentials:{client:t,token:n},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){return e.refreshToken=e.refreshToken||r.refresh_token,new O(e)})}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";""===e&&"undefined"!=typeof window&&(e=window.location.href);var t=(0,_.decodeQuery)(e);return t.hasOwnProperty("state")?{state:t.state,code:t.access_code}:null}function y(){var e=void 0;if("undefined"!=typeof window&&"undefined"!=typeof window.crypto&&"function"==typeof window.crypto.getRandomValues)e=new Uint8Array(w),window.crypto.getRandomValues(e);else try{e=n(!function(){var e=new Error('Cannot find module "crypto"');throw e.code="MODULE_NOT_FOUND",e}()).randomBytes(w)}catch(e){}if(!e){e=new Array(w);for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{},n=e.included;return Array.isArray(n)&&n.forEach(function(n){return o(n,t,e.links)}),Array.isArray(e.data)?e.data.map(function(n){return o(n,t,e.links)}):o(e.data,t,e.links)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},function(e,t,n){(function(r){function o(){return!("undefined"==typeof window||!window||"undefined"==typeof window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document&&"WebkitAppearance"in document.documentElement.style||"undefined"!=typeof window&&window&&window.console&&(console.firebug||console.exception&&console.table)||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function u(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function s(){try{return t.storage.debug}catch(e){}if("undefined"!=typeof r&&"env"in r)return r.env.DEBUG}function c(){try{return window.localStorage}catch(e){}}t=e.exports=n(36),t.log=a,t.formatArgs=i,t.save=u,t.load=s,t.useColors=o,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:c(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"], -t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(s())}).call(t,n(6))},function(e,t,n){(function(t){"use strict";function r(){}function o(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=m,this.queue=[],this.outcome=void 0,t.browser||(this.handled=_),e!==r&&s(this,e)}function i(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 a(e,t,n){p(function(){var r;try{r=t(n)}catch(t){return v.reject(e,t)}r===e?v.reject(e,new TypeError("Cannot resolve promise with itself")):v.resolve(e,r)})}function u(e){var t=e&&e.then;if(e&&"object"==typeof e&&"function"==typeof t)return function(){t.apply(e,arguments)}}function s(e,t){function n(t){i||(i=!0,v.reject(e,t))}function r(t){i||(i=!0,v.resolve(e,t))}function o(){t(r,n)}var i=!1,a=c(o);"error"===a.status&&n(a.value)}function c(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}function f(e){return e instanceof this?e:v.resolve(new this(r),e)}function l(e){var t=new this(r);return v.reject(t,e)}function d(e){function t(e,t){function r(e){a[t]=e,++u!==o||i||(i=!0,v.resolve(c,a))}n.resolve(e).then(r,function(e){i||(i=!0,v.reject(c,e))})}var n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var o=e.length,i=!1;if(!o)return this.resolve([]);for(var a=new Array(o),u=0,s=-1,c=new this(r);++s>>32-i,r)},r=function(e,t,r,o,i,a,u){return n(t&r|~t&o,e,t,i,a,u)},o=function(e,t,r,o,i,a,u){return n(t&o|r&~o,e,t,i,a,u)},i=function(e,t,r,o,i,a,u){return n(t^r^o,e,t,i,a,u)},a=function(e,t,r,o,i,a,u){return n(r^(t|~o),e,t,i,a,u)},u=function(e,n){var u=e[0],s=e[1],c=e[2],f=e[3];u=r(u,s,c,f,n[0],7,-680876936),f=r(f,u,s,c,n[1],12,-389564586),c=r(c,f,u,s,n[2],17,606105819),s=r(s,c,f,u,n[3],22,-1044525330),u=r(u,s,c,f,n[4],7,-176418897),f=r(f,u,s,c,n[5],12,1200080426),c=r(c,f,u,s,n[6],17,-1473231341),s=r(s,c,f,u,n[7],22,-45705983),u=r(u,s,c,f,n[8],7,1770035416),f=r(f,u,s,c,n[9],12,-1958414417),c=r(c,f,u,s,n[10],17,-42063),s=r(s,c,f,u,n[11],22,-1990404162),u=r(u,s,c,f,n[12],7,1804603682),f=r(f,u,s,c,n[13],12,-40341101),c=r(c,f,u,s,n[14],17,-1502002290),s=r(s,c,f,u,n[15],22,1236535329),u=o(u,s,c,f,n[1],5,-165796510),f=o(f,u,s,c,n[6],9,-1069501632),c=o(c,f,u,s,n[11],14,643717713),s=o(s,c,f,u,n[0],20,-373897302),u=o(u,s,c,f,n[5],5,-701558691),f=o(f,u,s,c,n[10],9,38016083),c=o(c,f,u,s,n[15],14,-660478335),s=o(s,c,f,u,n[4],20,-405537848),u=o(u,s,c,f,n[9],5,568446438),f=o(f,u,s,c,n[14],9,-1019803690),c=o(c,f,u,s,n[3],14,-187363961),s=o(s,c,f,u,n[8],20,1163531501),u=o(u,s,c,f,n[13],5,-1444681467),f=o(f,u,s,c,n[2],9,-51403784),c=o(c,f,u,s,n[7],14,1735328473),s=o(s,c,f,u,n[12],20,-1926607734),u=i(u,s,c,f,n[5],4,-378558),f=i(f,u,s,c,n[8],11,-2022574463),c=i(c,f,u,s,n[11],16,1839030562),s=i(s,c,f,u,n[14],23,-35309556),u=i(u,s,c,f,n[1],4,-1530992060),f=i(f,u,s,c,n[4],11,1272893353),c=i(c,f,u,s,n[7],16,-155497632),s=i(s,c,f,u,n[10],23,-1094730640),u=i(u,s,c,f,n[13],4,681279174),f=i(f,u,s,c,n[0],11,-358537222),c=i(c,f,u,s,n[3],16,-722521979),s=i(s,c,f,u,n[6],23,76029189),u=i(u,s,c,f,n[9],4,-640364487),f=i(f,u,s,c,n[12],11,-421815835),c=i(c,f,u,s,n[15],16,530742520),s=i(s,c,f,u,n[2],23,-995338651),u=a(u,s,c,f,n[0],6,-198630844),f=a(f,u,s,c,n[7],10,1126891415),c=a(c,f,u,s,n[14],15,-1416354905),s=a(s,c,f,u,n[5],21,-57434055),u=a(u,s,c,f,n[12],6,1700485571),f=a(f,u,s,c,n[3],10,-1894986606),c=a(c,f,u,s,n[10],15,-1051523),s=a(s,c,f,u,n[1],21,-2054922799),u=a(u,s,c,f,n[8],6,1873313359),f=a(f,u,s,c,n[15],10,-30611744),c=a(c,f,u,s,n[6],15,-1560198380),s=a(s,c,f,u,n[13],21,1309151649),u=a(u,s,c,f,n[4],6,-145523070),f=a(f,u,s,c,n[11],10,-1120210379),c=a(c,f,u,s,n[2],15,718787259),s=a(s,c,f,u,n[9],21,-343485551),e[0]=t(u,e[0]),e[1]=t(s,e[1]),e[2]=t(c,e[2]),e[3]=t(f,e[3])},s=function(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n},c=function(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n},f=function(e){var t,n,r,o,i,a,c=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)u(f,s(e.substring(t-64,t)));for(e=e.substring(t-64),n=e.length,r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(r[t>>2]|=128<<(t%4<<3),t>55)for(u(f,r),t=0;t<16;t+=1)r[t]=0;return o=8*c,o=o.toString(16).match(/(.*?)(.{0,8})$/),i=parseInt(o[2],16),a=parseInt(o[1],16)||0,r[14]=i,r[15]=a,u(f,r),f},l=function(e){var t,n,r,o,i,a,s=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=s;t+=64)u(f,c(e.subarray(t-64,t)));for(e=t-64>2]|=e[t]<<(t%4<<3);if(r[t>>2]|=128<<(t%4<<3),t>55)for(u(f,r),t=0;t<16;t+=1)r[t]=0;return o=8*s,o=o.toString(16).match(/(.*?)(.{0,8})$/),i=parseInt(o[2],16),a=parseInt(o[1],16)||0,r[14]=i,r[15]=a,u(f,r),f},d=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],h=function(e){var t,n="";for(t=0;t<4;t+=1)n+=d[e>>8*t+4&15]+d[e>>8*t&15];return n},p=function(e){var t;for(t=0;t>16)+(t>>16)+(n>>16);return r<<16|65535&n}),y.prototype.append=function(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),this.appendBinary(e),this},y.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,n=this._buff.length;for(t=64;t<=n;t+=64)u(this._state,s(this._buff.substring(t-64,t)));return this._buff=this._buff.substr(t-64),this},y.prototype.end=function(e){var t,n,r=this._buff,o=r.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=r.charCodeAt(t)<<(t%4<<3);return this._finish(i,o),n=e?this._state:p(this._state),this.reset(),n},y.prototype._finish=function(e,t){var n,r,o,i=t;if(e[i>>2]|=128<<(i%4<<3),i>55)for(u(this._state,e),i=0;i<16;i+=1)e[i]=0;n=8*this._length,n=n.toString(16).match(/(.*?)(.{0,8})$/),r=parseInt(n[2],16),o=parseInt(n[1],16)||0,e[14]=r,e[15]=o,u(this._state,e)},y.prototype.reset=function(){return this._buff="",this._length=0,this._state=[1732584193,-271733879,-1732584194,271733878],this},y.prototype.destroy=function(){delete this._state,delete this._buff,delete this._length},y.hash=function(e,t){/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e)));var n=f(e);return t?n:p(n)},y.hashBinary=function(e,t){var n=f(e);return t?n:p(n)},y.ArrayBuffer=function(){this.reset()},y.ArrayBuffer.prototype.append=function(e){var t,n=this._concatArrayBuffer(this._buff,e),r=n.length;for(this._length+=e.byteLength,t=64;t<=r;t+=64)u(this._state,c(n.subarray(t-64,t)));return this._buff=t-64>2]|=r[t]<<(t%4<<3);return this._finish(i,o),n=e?this._state:p(this._state),this.reset(),n},y.ArrayBuffer.prototype._finish=y.prototype._finish,y.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._state=[1732584193,-271733879,-1732584194,271733878],this},y.ArrayBuffer.prototype.destroy=y.prototype.destroy,y.ArrayBuffer.prototype._concatArrayBuffer=function(e,t){var n=e.length,r=new Uint8Array(n+t.byteLength);return r.set(e),r.set(new Uint8Array(t),n),r},y.ArrayBuffer.hash=function(e,t){var n=l(new Uint8Array(e));return t?n:p(n)},y})},function(e,t,n){"use strict";function r(e,t,n){return"string"!=typeof t?i.reject(new Error("doc id is required")):e.get(t).catch(function(e){if(404!==e.status)throw e;return{}}).then(function(r){var i=r._rev,a=n(r);return a?(a._id=t,a._rev=i,o(e,a,n)):{updated:!1,rev:i}})}function o(e,t,n){return e.put(t).then(function(e){return{updated:!0,rev:e.rev}},function(o){if(409!==o.status)throw o;return r(e,t._id,n)})}var i=n(52);t.upsert=function(e,t,n){var o=this,i=r(o,e,t);return"function"!=typeof n?i:void i.then(function(e){n(null,e)},n)},t.putIfNotExists=function(e,t,n){var o=this;"string"!=typeof e&&(n=t,t=e,e=t._id);var i=function(e){return!e._rev&&t},a=r(o,e,i);return"function"!=typeof n?a:void a.then(function(e){n(null,e)},n)},"undefined"!=typeof window&&window.PouchDB&&window.PouchDB.plugin(t)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n4&&void 0!==arguments[4]?arguments[4]:3;return e.isV2().then(function(a){return t=(0,d.normalizeDoctype)(e,a,t),o(e,t,n).then(function(o){return s(e,t,o,Object.assign({_id:n},o,r))}).catch(function(o){if(i>0)return c(e,t,n,r,i-1);throw o})})}function f(e,t,n){return e.isV2().then(function(r){t=(0,d.normalizeDoctype)(e,r,t);var o=n._id,i=n._rev;if(!o)return Promise.reject(new Error("Missing _id field in passed document"));if(!r&&!i)return Promise.reject(new Error("Missing _rev field in passed document"));var a=r?null:{rev:i},u=(0,l.createPath)(e,r,t,o,a);return(0,h.cozyFetchJSON)(e,"DELETE",u).then(function(e){return r?{id:o,rev:p}:e})})}Object.defineProperty(t,"__esModule",{value:!0}),t.create=r,t.find=o,t.findMany=i,t.findAll=a,t.changesFeed=u,t.update=s,t.updateAttributes=c,t._delete=f;var l=n(3),d=n(5),h=n(1),p="stack-v2-no-rev"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e&&e.trim()}function i(e,t,n,r,o){if(!t)throw new Error("missing data argument");t.buffer&&t.buffer instanceof ArrayBuffer&&(t=t.buffer);var i="undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer,a="undefined"!=typeof File&&t instanceof File,u="undefined"!=typeof Blob&&t instanceof Blob,s=t.readable===!0&&"function"==typeof t.pipe,c="string"==typeof t;if(!(i||a||u||s||c))throw new Error("invalid data type");var f=o||{},l=f.contentType,d=f.checksum,h=f.lastModifiedDate,p=f.ifMatch;return l||(i?l=z:a?(l=t.type||z,h||(h=t.lastModifiedDate)):u?l=t.type||z:s?l=z:"string"==typeof t&&(l="text/plain")),h&&"string"==typeof h&&(h=new Date(h)),(0,L.cozyFetch)(e,r,{method:n,headers:{"Content-Type":l,"Content-MD5":d||"",Date:h?h.toGMTString():"","If-Match":p||""},body:t}).then(function(e){var t=e.json();return e.ok?t.then(N.default):t.then(function(e){throw e})})}function a(e,t,n){var r=n||{},a=r.name,u=r.dirID,s=r.executable;if(a||"string"!=typeof t.name||(a=t.name),a=o(a),"string"!=typeof a||""===a)throw new Error("missing name argument");void 0===s&&(s=!1);var c="/files/"+encodeURIComponent(u||""),f="?Name="+encodeURIComponent(a)+"&Type=file&Executable="+s;return i(e,t,"POST",""+c+f,n)}function u(e,t){var n=t||{},r=n.name,i=n.dirID,a=n.lastModifiedDate;if(r=o(r),"string"!=typeof r||""===r)throw new Error("missing name argument");a&&"string"==typeof a&&(a=new Date(a));var u="/files/"+encodeURIComponent(i||""),s="?Name="+encodeURIComponent(r)+"&Type=directory";return(0,L.cozyFetchJSON)(e,"POST",""+u+s,void 0,{headers:{Date:a?a.toGMTString():""}})}function s(e,t,n){if(n&&!n.attributes)throw new Error("Malformed parent directory");t=o(t);var r=(n._id===U?"":n.attributes.path)+"/"+t;return e.files.statByPath(r||"/").catch(function(r){var o=JSON.parse(r.message),i=o.errors;if(i&&i.length&&"404"===i[0].status)return e.files.createDirectory({name:t,dirID:n&&n._id});throw i})}function c(e,t){var n=t.split("/").filter(function(e){return""!==e}),r=e.files.statById(U);return n.length?n.reduce(function(t,n){return t.then(function(t){return s(e,n,t)})},r):r}function f(e,t,n,r){return i(e,n,"PUT","/files/"+encodeURIComponent(t),r)}function l(e,t,n,r){if(!t||"object"!==("undefined"==typeof t?"undefined":P(t)))throw new Error("missing attrs argument");var i=r||{},a=i.ifMatch,u={data:{attributes:Object.assign({},t,{name:o(t.name)})}};return(0,L.cozyFetchJSON)(e,"PATCH",n,u,{headers:{"If-Match":a||""}})}function d(e,t,n,r){return l(e,n,"/files/"+encodeURIComponent(t),r)}function h(e,t,n,r){return l(e,n,"/files/metadata?Path="+encodeURIComponent(t),r)}function p(e,t,n){if("string"!=typeof t||""===t)throw new Error("missing id argument");var r=n||{},o=r.ifMatch;return(0,L.cozyFetchJSON)(e,"DELETE","/files/"+encodeURIComponent(t),void 0,{headers:{"If-Match":o||""}})}function v(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(n&&e.offline.hasDatabase(B.DOCTYPE_FILES)){var o=e.offline.getDatabase(B.DOCTYPE_FILES);return Promise.all([o.get(t),o.find(Object.assign({selector:{dir_id:t}},r))]).then(function(n){var r=D(n,2),o=r[0],i=r[1];return t===U&&(i.docs=i.docs.filter(function(e){return e._id!==M})),i=C(i.docs.map(function(t){return I(R(e,t))})),I(R(e,o,i))})}var i=0===Object.keys(r).length?"":"?"+q(r);return(0,L.cozyFetchJSON)(e,"GET","/files/"+encodeURIComponent(t)+i).then(I)}function y(e,t){return(0,L.cozyFetchJSON)(e,"GET","/files/metadata?Path="+encodeURIComponent(t)).then(I)}function g(e,t){return(0,L.cozyFetch)(e,"/files/download/"+encodeURIComponent(t))}function m(e,t){return(0,L.cozyFetch)(e,"/files/download?Path="+encodeURIComponent(t))}function _(e){var t=e.links&&e.links.related;if(!t)throw new Error("No related link in server response");return t}function b(e,t){return(0,L.cozyFetchJSON)(e,"POST","/files/downloads?Path="+encodeURIComponent(t)).then(_)}function w(e,t){return(0,L.cozyFetchJSON)(e,"POST","/files/downloads?Id="+encodeURIComponent(t)).then(_)}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];if(!n||!n.attributes)throw Error("Folder should be valid with an attributes.path property");var r=n.attributes.path.endsWith("/")?n.attributes.path:n.attributes.path+"/";return""+r+t.name}function k(e,t,n){return t?(0,L.cozyFetchJSON)(e,"POST","/permissions?codes=email",{data:{type:"io.cozy.permissions",attributes:{permissions:{files:{type:"io.cozy.files",verbs:["GET"],values:[t],selector:"referenced_by"},collection:{type:n,verbs:["GET"],values:[t]}}}}}).then(function(e){return{sharecode:"sharecode="+e.attributes.codes.email,id:"id="+t}}):Promise.reject(Error("An id should be provided to create a share link"))}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"files",r={type:"io.cozy.archives",attributes:{name:n,files:t}};return(0,L.cozyFetchJSON)(e,"POST","/files/archive",{data:r}).then(_)}function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"files",r={type:"io.cozy.archives",attributes:{name:n,ids:t}};return(0,L.cozyFetchJSON)(e,"POST","/files/archive",{data:r}).then(_)}function A(e){return(0,L.cozyFetchJSON)(e,"GET","/files/trash")}function x(e){return(0,L.cozyFetchJSON)(e,"DELETE","/files/trash")}function T(e,t){return(0,L.cozyFetchJSON)(e,"POST","/files/trash/"+encodeURIComponent(t))}function j(e,t,n){var r=n||{},o=r.ifMatch;return(0,L.cozyFetchJSON)(e,"DELETE","/files/trash/"+encodeURIComponent(t),void 0,{headers:{"If-Match":o||""}})}function I(e){return e.isDir="directory"===e.attributes.type,e}function q(e){var t=[];for(var n in e)t.push("page["+encodeURIComponent(n)+"]="+encodeURIComponent(e[n]));return t.join("&")}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=JSON.parse(JSON.stringify(t));return delete r._id,delete r._rev,{_id:t._id,_rev:t._rev,_type:B.DOCTYPE_FILES,attributes:r,relationships:{contents:{data:n,meta:{count:n.length}}},relations:function(e){if("contents"===e)return n}}}function C(e){var t=e.filter(function(e){return"directory"===e.attributes.type}),n=e.filter(function(e){return"directory"!==e.attributes.type}),r=function(e){return e.sort(function(e,t){return e.attributes.name.localeCompare(t.attributes.name)})};return r(t).concat(r(n))}Object.defineProperty(t,"__esModule",{value:!0}),t.TRASH_DIR_ID=t.ROOT_DIR_ID=void 0;var D=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),P="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};t.create=a,t.createDirectory=u,t.createDirectoryByPath=c,t.updateById=f,t.updateAttributesById=d,t.updateAttributesByPath=h,t.trashById=p,t.statById=v,t.statByPath=y,t.downloadById=g,t.downloadByPath=m,t.getDownloadLinkByPath=b,t.getDownloadLinkById=w,t.getFilePath=E,t.getCollectionShareLink=k,t.getArchiveLinkByPaths=S,t.getArchiveLinkByIds=O,t.listTrash=A,t.clearTrash=x,t.restoreById=T,t.destroyById=j;var L=n(1),F=n(14),N=r(F),B=n(5),U=t.ROOT_DIR_ID="io.cozy.files.root-dir",M=t.TRASH_DIR_ID="io.cozy.files.trash-dir",z="application/octet-stream"},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(){throw new Error("Missing onRegistered callback")}function a(e,t){return function(){for(var n=arguments.length,r=Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{};this._inited=!0,this._oauth=!1,this._token=null,this._authstate=P,this._authcreds=null,this._storage=null,this._version=e.version||null,this._offline=null;var t=e.token,n=e.oauth;if(t&&n)throw new Error("Cannot specify an application token with a oauth activated");t?this._token=new R({token:t}):n&&(this._oauth=!0,this._storage=n.storage,this._clientParams=Object.assign({},B,n.clientParams),this._onRegistered=n.onRegistered||i);for(var r=e.cozyURL||"";"/"===r[r.length-1];)r=r.slice(0,-1);this._url=r;var o=!!e.disablePromises;u(this,this.data,U,o),u(this,this.auth,M,o),u(this,this.files,z,o),u(this,this.intents,$,o),u(this,this.jobs,J,o),u(this,this.offline,V,o),u(this,this.settings,H,o),e.offline&&this.offline.init(e.offline),this.fetchJSON=function(){var e=[this].concat(Array.prototype.slice.call(arguments));return g.cozyFetchJSON.apply(this,e)}}},{key:"authorize",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this._authstate;return n===N||n===L?this._authcreds:(this._authstate=L, -this._authcreds=this.isV2().then(function(n){if(n&&e._oauth)throw new Error("OAuth is not supported on the V2 stack");if(e._oauth){if(t&&e._clientParams.redirectURI){var r=new URL(e._clientParams.redirectURI);r.searchParams.has("reconnect")||r.searchParams.append("reconnect",1),e._clientParams.redirectURI=r.toString()}return h.oauthFlow(e,e._storage,e._clientParams,e._onRegistered,t)}if(n)return(0,l.getAppToken)();if(e._token)return Promise.resolve({client:null,token:e._token});throw new Error("Missing application token")}),this._authcreds.then(function(){e._authstate=N},function(){e._authstate=F}),this._authcreds)}},{key:"saveCredentials",value:function(e,t){var n={client:e,token:t};return this._storage&&this._authstate!==L?(this._storage.save(h.CredsKey,n),this._authcreds=Promise.resolve(n),this._authcreds):Promise.resolve(n)}},{key:"fullpath",value:function(e){var t=this;return this.isV2().then(function(n){var r=n?"/ds-api":"";return t._url+r+e})}},{key:"isV2",value:function(){var e=this;return this._version?Promise.resolve(2===this._version):(0,c.retry)(function(){return fetch(e._url+"/status/")},3)().then(function(e){if(e.ok)return e.json();throw new Error("Could not fetch cozy status")}).then(function(t){return e._version=void 0!==t.datasystem?2:3,e.isV2()})}}]),e}();e.exports=new K,Object.assign(e.exports,{Client:K,LocalStorage:f.LocalStorage,MemoryStorage:f.MemoryStorage})},function(e,t,n){"use strict";function r(e,t,n,r,o){var i=t.ownerDocument;if(!i)throw new Error("Cannot retrieve document object from given element");var a=i.defaultView;if(!a)throw new Error("Cannot retrieve window object from document");var u=i.createElement("iframe");"function"==typeof o&&(u.onload=o),u.setAttribute("src",e),u.classList.add(s),t.appendChild(u),u.focus();var f=e.split("/",3).join("/");return new Promise(function(e,o){var i=!1,s=function s(l){if(l.origin===f){if("load"===l.data.type)return void(console.warn&&console.warn("Cozy Client ignored MessageEvent having data.type `load`."));if(l.data.type==="intent-"+n._id+":ready")return i=!0,l.source.postMessage(r,l.origin);if(i&&l.data.type==="intent-"+n._id+":resize")return["width","height","maxWidth","maxHeight"].forEach(function(e){l.data.transition&&(t.style.transition=l.data.transition),l.data.dimensions[e]&&(t.style[e]=l.data.dimensions[e]+"px")}),!0;a.removeEventListener("message",s);var d=function(){u.parentNode&&u.parentNode.removeChild(u)};return i&&l.data.type==="intent-"+n._id+":exposeFrameRemoval"?e({removeIntentFrame:d,doc:l.data.document}):(d(),l.data.type==="intent-"+n._id+":error"?o(c.deserialize(l.data.error)):i&&l.data.type==="intent-"+n._id+":cancel"?e(null):i&&l.data.type==="intent-"+n._id+":done"?e(l.data.document):i?void 0:o(new Error("Unexpected handshake message from intent service")))}};a.addEventListener("message",s)})}function o(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!t)throw new Error('Misformed intent, "action" property must be provided');if(!n)throw new Error('Misformed intent, "type" property must be provided');var a=(0,u.cozyFetchJSON)(e,"POST","/intents",{data:{type:"io.cozy.intents",attributes:{action:t,type:n,data:o,permissions:i}}});return a.start=function(e,t){return a.then(function(n){var i=n.attributes.services&&n.attributes.services[0];return i?r(i.href,e,n,o,t):Promise.reject(new Error("Unable to find a service"))})},a}function i(e,t){return new Promise(function(n,r){var o=function r(o){o.origin===e.attributes.client&&(t.removeEventListener("message",r),n(o.data))};t.addEventListener("message",o),t.parent.postMessage({type:"intent-"+e._id+":ready"},e.attributes.client)})}function a(e,t,n){if(n=n||"undefined"!=typeof window&&window,!n)throw new Error("Intent service should be used in browser");if(t=t||n.location.search.split("=")[1],!t)throw new Error("Cannot retrieve intent from URL");return(0,u.cozyFetchJSON)(e,"GET","/intents/"+t).then(function(e){var t=!1,r=function(r){if(t)throw new Error("Intent service has already been terminated");t=!0,n.parent.postMessage(r,e.attributes.client)},o=function(r,o){if(t)throw new Error("Intent service has been terminated");var i={type:"intent-"+e._id+":resize",dimensions:r.element?Object.assign({},r,{maxHeight:r.element.clientHeight,maxWidth:r.element.clientWidth}):r,transition:o};n.parent.postMessage(i,e.attributes.client)},a=function(){r({type:"intent-"+e._id+":cancel"})};return n.addEventListener("unload",function(){t||a()}),i(e,n).then(function(t){return{getData:function(){return t},getIntent:function(){return e},terminate:function(n){return r(t&&t.exposeIntentFrameRemoval?{type:"intent-"+e._id+":exposeFrameRemoval",document:n}:{type:"intent-"+e._id+":done",document:n})},throw:function(t){return r({type:"intent-"+e._id+":error",error:c.serialize(t)})},resizeClient:o,cancel:a}})})}Object.defineProperty(t,"__esModule",{value:!0}),t.create=o,t.createService=a;var u=n(1),s="coz-intent",c=function(){function e(e,t){var n=Object.assign(t,e),r=["name","message"];return r.reduce(function(n,r){return e[r]&&(t[r]=e[r]),n},n)}return{serialize:function(t){return e(t,{})},deserialize:function(t){return e(t,new Error(t.message))}}}()},function(e,t,n){"use strict";function r(e,t){return(0,a.cozyFetchJSON)(e,"GET","/jobs/queue/"+t).then(function(e){return e.length})}function o(e,t){return(0,a.cozyFetchJSON)(e,"GET","/jobs/queue/"+t)}function i(e,t,n,r){return(0,a.cozyFetchJSON)(e,"POST","/jobs/queue/"+t,{data:{type:"io.cozy.jobs",attributes:{arguments:n||{},options:r||{}}}})}Object.defineProperty(t,"__esModule",{value:!0}),t.count=r,t.queued=o,t.create=i;var a=n(1)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t,n){return e.isV2().then(function(r){if(t=(0,w.normalizeDoctype)(e,r,t),!Array.isArray(n)||0===n.length)throw new Error("defineIndex fields should be a non-empty array");return r?u(e,t,n):s(e,t,n)})}function i(e,t,n){return e.isV2().then(function(r){if(!t)throw new Error("query should be passed the indexRef");return r?c(e,t,n):f(e,t,n)})}function a(e,t,n){var r=l(t,n);return(0,E.cozyFetchRawJSON)(e,"POST","/files/_find",r).then(function(e){return n.wholeResponse?e:e.docs})}function u(e,t,n){var r="by"+n.map(d).join(""),o={map:h(t,n),reduce:"_count"},i="/request/"+t+"/"+r+"/";return(0,E.cozyFetchJSON)(e,"PUT",i,o).then(function(){return{doctype:t,type:"mapreduce",name:r,fields:n}})}function s(e,t,n){var r=(0,b.createPath)(e,!1,t,"_index"),o={index:{fields:n}};return(0,E.cozyFetchJSON)(e,"POST",r,o).then(function(r){var o={doctype:t,type:"mango",name:r.id,fields:n};if("exists"===r.result)return o;var i={};i[n[0]]={$gt:null};var a=l(o,{selector:i}),u=(0,b.createPath)(e,!1,o.doctype,"_find");return(0,E.cozyFetchJSON)(e,"POST",u,a).then(function(){return o}).catch(function(){return(0,b.sleep)(1e3).then(function(){return(0,E.cozyFetchJSON)(e,"POST",u,a)}).then(function(){return o}).catch(function(){return(0,b.sleep)(500).then(function(){return o})})})})}function c(e,t,n){if("mapreduce"!==t.type)throw new Error("query indexRef should be the return value of defineIndexV2");n.fields&&(0,b.warn)("query fields will be ignored on v2");var r="/request/"+t.doctype+"/"+t.name+"/",o=g(t,n);return(0,E.cozyFetchJSON)(e,"POST",r,o).then(function(e){return e.map(function(e){return e.value})})}function f(e,t,n){var r=l(t,n),o=(0,b.createPath)(e,!1,t.doctype,"_find");return(0,E.cozyFetchJSON)(e,"POST",o,r).then(function(e){return n.wholeResponse?e:e.docs})}function l(e,t){if("mango"!==e.type)throw new Error("indexRef should be the return value of defineIndexV3");var n={use_index:e.name,fields:t.fields,selector:t.selector,limit:t.limit,skip:t.skip,since:t.since,sort:t.sort};return t.descending&&(n.sort=e.fields.map(function(e){return r({},e,"desc")})),n}function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}function h(e,t){return t="["+t.map(function(e){return"doc."+e}).join(",")+"]",O.replace("DOCTYPEPLACEHOLDER",e.toLowerCase()).replace("FIELDSPLACEHOLDER",t)}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$eq";if("object"!==("undefined"==typeof e?"undefined":_(e)))return[[t,n,e]];var r=Object.keys(e);if(0===r.length)throw new Error("empty selector");return r.reduce(function(n,r){if(S.indexOf(r)!==-1)throw new Error("cozy-client-js does not support mango logic ops");return k.indexOf(r)!==-1?n.concat(p(e[r],t,r)):n.concat(p(e[r],t.concat(r),"$eq"))},[])}function v(e){var t=p(e);return t.reduce(function(e,t){var n=m(t,3),r=n[0],o=n[1],i=n[2],a=r.join(".");return e[a]=e[a]||{},e[a][o]=i,e},{})}function y(e,t){var n=e.$eq,r=x,o=A,i=void 0;if(n)return t.startkey.push(n),t.endkey.push(n),!1;if(n=e.$gt)throw new Error("operator $gt (strict greater than) not supported");return n=e.$gte,n&&(r=n),n=e.$lte,n&&(o=n,i=!0),n=e.$lt,n&&(o=n,i=!1),t.startkey.push(r),t.endkey.push(o),void 0!==i&&(t.inclusive_end=i),!0}function g(e,t){var n={startkey:[],endkey:[],reduce:!1},r=null,o=v(t.selector);return e.fields.forEach(function(e){var t=o[e];if(t&&null!=r)throw new Error("Selector on field "+e+", but not on "+r+" which is higher in index fields.");if(t){t.used=!0;var i=y(t,n);i&&(r=e)}else null==r&&(r=e,n.endkey.push(A))}),Object.keys(o).forEach(function(e){if(!o[e].used)throw new Error("Cant apply selector on "+e+", it is not in index")}),t.descending&&(n={descending:!0,reduce:!1,startkey:n.endkey,endkey:n.startkey,inclusive_end:n.inclusive_end}),n}Object.defineProperty(t,"__esModule",{value:!0});var m=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_="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};t.defineIndex=o,t.query=i,t.queryFiles=a,t.parseSelector=p,t.normalizeSelector=v,t.makeMapReduceQuery=g;var b=n(3),w=n(5),E=n(1),k=["$eq","$gt","$gte","$lt","$lte"],S=["$or","$and","$not"],O=function(e){"DOCTYPEPLACEHOLDER"===e.docType.toLowerCase()&&emit(FIELDSPLACEHOLDER,e)}.toString().replace(/ /g,"").replace(/\n/g,""),A={"￿":"￿"},x=null},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.options,r=void 0===n?{}:n,o=t.doctypes,i=void 0===o?[]:o,a=!0,u=!1,s=void 0;try{for(var c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var d=c.value;f(e,d,r)}}catch(e){u=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(u)throw s}}}function i(e,t){return e._offline=e._offline||[],e._offline[t]=e._offline[t]||{},e._offline[t]}function a(e){return e._offline=e._offline||[],Object.keys(e._offline)}function u(e,t){return void 0!==s(e,t)}function s(e,t){return i(e,t).database}function c(e,t,n){return e._offline[t].database=n,s(e,t)}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return F||(C.default.plugin(P.default),"undefined"!=typeof pouchdbAdapterCordovaSqlite&&C.default.plugin(pouchdbAdapterCordovaSqlite),F=!0),u(e,t)?Promise.resolve(s(e,t)):(c(e,t,new C.default(t,n)),h(e,t).then(function(){return s(e,t)}))}function l(e,t){return u(e,t)?x(e,t).then(function(){return w(e,t)}).then(function(){return s(e,t).destroy()}).then(function(n){return c(e,t,void 0),n}):Promise.resolve(!1)}function d(e){var t=a(e),n=function(t){return l(e,t)};return Promise.all(t.map(n))}function h(e,t){return t===j.DOCTYPE_FILES?s(e,t).createIndex({index:{fields:["dir_id"]}}):Promise.resolve()}function p(e,t){return void 0!==v(e,t)}function v(e,t){return i(e,t).replication}function y(e,t,n){return e._offline[t].replication=n,v(e,t)}function g(e,t){return e.authorize().then(function(n){var r=n.token.toBasicAuth();return(e._url+"/data/"+t).replace("//","//"+r)})}function m(e,t){return i(e,t).replicationPromise}function _(e,t,n){return e._offline[t].replicationPromise=n,m(e,t)}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return _(e,t,new Promise(function(r,o){return u(e,t)||f(e,t),n.live===!0?o(new Error("You can't use `live` option with Cozy couchdb.")):(0,q.isOffline)()?(o(L),void(n.onError&&n.onError(L))):void g(e,t).then(function(i){return y(e,t,s(e,t).replicate.from(i,n).on("complete",function(o){y(e,t,void 0),r(o),n.onComplete&&n.onComplete(o)}).on("error",function(r){"code=400, message=Expired token"===r.error?e.authorize().then(function(r){var o=r.client,i=r.token;(0,I.refreshToken)(e,o,i).then(function(t){return e.saveCredentials(o,t)}).then(function(r){return b(e,t,n)})}):(console.warn("ReplicateFromCozy '"+t+"' Error:"),console.warn(r),y(e,t,void 0),o(r),n.onError&&n.onError(r))}))})}))}function w(e,t){return s(e,t)&&p(e,t)?new Promise(function(n){try{m(e,t).then(function(){n()}),v(e,t).cancel()}catch(e){n()}}):Promise.resolve()}function E(e){var t=a(e),n=function(t){return w(e,t)};return Promise.all(t.map(n))}function k(e,t){return i(e,t).interval}function S(e,t,n){e._offline[t].interval=n}function O(e,t){return void 0!==k(e,t)}function A(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return O(e,t)?k(e,t):S(e,t,setInterval(function(){return(0,q.isOffline)()?void console.info(L):void(p(e,t)||b(e,t,r))},1e3*n))}function x(e,t){return O(e,t)&&(clearInterval(k(e,t)),S(e,t,void 0)),p(e,t)?w(e,t):Promise.resolve()}function T(e){var t=a(e),n=function(t){return x(e,t)};return Promise.all(t.map(n))}Object.defineProperty(t,"__esModule",{value:!0}),t.replicationOfflineError=void 0,t.init=o,t.getDoctypes=a,t.hasDatabase=u,t.getDatabase=s,t.setDatabase=c,t.createDatabase=f,t.destroyDatabase=l,t.destroyAllDatabase=d,t.hasReplication=p,t.replicateFromCozy=b,t.stopReplication=w,t.stopAllReplication=E,t.hasRepeatedReplication=O,t.startRepeatedReplication=A,t.stopRepeatedReplication=x,t.stopAllRepeatedReplication=T;var j=n(5),I=n(8),q=n(3),R=n(53),C=r(R),D=n(51),P=r(D),L=t.replicationOfflineError="Replication abort, your device is actually offline.",F=!1},function(e,t,n){"use strict";function r(e){return function(t,n,r){if(!n)throw new Error("missing doc argument");Array.isArray(r)||(r=[r]);var o=r.map(function(e){return{type:s.DOCTYPE_FILES,id:e}});return(0,u.cozyFetchJSON)(t,e,a(n),{data:o})}}function o(e,t){if(!t)throw new Error("missing doc argument");return(0,u.cozyFetchJSON)(e,"GET",a(t)).then(function(e){return e.map(function(e){return e._id})})}function i(e,t,n){if(!t)throw new Error("missing doc argument");var r=Object.keys(n).map(function(e){return"&page["+e+"]="+n[e]}).join("");return(0,u.cozyFetchRawJSON)(e,"GET",a(t)+"?include=files&sort=datetime"+r)}function a(e){var t=encodeURIComponent(e._type),n=encodeURIComponent(e._id);return"/data/"+t+"/"+n+"/relationships/references"}Object.defineProperty(t,"__esModule",{value:!0}),t.removeReferencedFiles=t.addReferencedFiles=void 0,t.listReferencedFiles=o,t.fetchReferencedFiles=i;var u=n(1),s=n(5);t.addReferencedFiles=r("POST"),t.removeReferencedFiles=r("DELETE")},function(e,t,n){"use strict";function r(e){return(0,f.cozyFetchJSON)(e,"GET","/settings/disk-usage")}function o(e,t,n){return(0,f.cozyFetchJSON)(e,"PUT","/settings/passphrase",{current_passphrase:t,new_passphrase:n})}function i(e){return(0,f.cozyFetchJSON)(e,"GET","/settings/instance")}function a(e,t){return(0,f.cozyFetchJSON)(e,"PUT","/settings/instance",t)}function u(e){return(0,f.cozyFetchJSON)(e,"GET","/settings/clients")}function s(e,t){return(0,f.cozyFetchJSON)(e,"DELETE","/settings/clients/"+t)}function c(e){return(0,f.cozyFetchJSON)(e,"POST","/settings/synchronized")}Object.defineProperty(t,"__esModule",{value:!0}),t.diskUsage=r,t.changePassphrase=o,t.getInstance=i,t.updateInstance=a,t.getClients=u,t.deleteClientById=s,t.updateLastSync=c;var f=n(1)},function(e,t){function n(e){if(e=String(e),!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*f;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*s;case"minutes":case"minute":case"mins":case"min":case"m":return n*u;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=c?Math.round(e/c)+"d":e>=s?Math.round(e/s)+"h":e>=u?Math.round(e/u)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function o(e){return i(e,c,"day")||i(e,s,"hour")||i(e,u,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,n){if(!(e0)return n(e);if("number"===i&&isNaN(e)===!1)return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function o(e){function n(){if(n.enabled){var e=n,r=+new Date,o=r-(c||r);e.diff=o,e.prev=c,e.curr=r,c=r;for(var i=new Array(arguments.length),a=0;a0&&this._events[e].length>o&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),o||(o=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var o=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,o,a,u;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,o=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(u=a;u-- >0;)if(n[u]===t||n[u].listener&&n[u].listener===t){o=u;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t){var n=Array.isArray,r=Object.prototype.toString;e.exports=n||function(e){return!!e&&"[object Array]"==r.call(e)}},function(e,t,n){n(58),e.exports=self.fetch.bind(self)},function(e,t){"use strict";function n(e,t,n){for(var r="",o=n-e.length;r.length0?e.slice(n):e}function c(e){var t=e.value,n=t&&"object"==typeof t&&t._id||e.id;return n}function f(e,t){try{e.emit("error",t)}catch(e){console.error("The user's map/reduce function threw an uncaught error.\nYou can debug this error by doing:\nmyDatabase.on('error', function (err) { debugger; });\nPlease double-check your map/reduce function."),console.error(t)}}function l(e,t,n){try{return{output:t.apply(null,n)}}catch(t){return f(e,t),{error:t}}}function d(e,t){var n=e.descending?"endkey":"startkey",o=e.descending?"startkey":"endkey";if("undefined"!=typeof e[n]&&"undefined"!=typeof e[o]&&m(e[n],e[o])>0)throw new r("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(t.reduce&&e.reduce!==!1){if(e.include_docs)throw new r("{include_docs:true} is invalid for reduce");if(e.keys&&e.keys.length>1&&!e.group&&!e.group_level)throw new r("Multi-key fetches for reduce views must use {group: true}")}if(e.group_level){if("number"!=typeof e.group_level)throw new r('Invalid value for integer: "'+e.group_level+'"');if(e.group_level<0)throw new r('Invalid value for positive integer: "'+e.group_level+'"')}}function h(e){return function(t){if(404===t.status)return e;throw t}}function p(e){function n(e,t,n){function r(){return a(l)?k.resolve(s):t.db.get(u).catch(h(s))}function o(e){return e.keys.length?t.db.allDocs({keys:e.keys,include_docs:!0}):k.resolve({rows:[]})}function i(e,t){for(var n=[],r={},o=0,i=t.rows.length;oa?n.slice(0,a):n),t&&0===m(t.key[0][0],n)?(t.key.push([n,e.id]),void t.value.push(e.value)):void i.push({key:[[n,e.id]],value:[e.value]})});for(var u=0,c=i.length;un))return e.doc.value}var r=y.parseIndexableString(e.doc._id);return{key:r[0],id:r[1],value:"value"in e.doc?e.doc.value:null}})})}function r(n){var r;if(r=i?x(e,n,t):{total_rows:o,offset:a,rows:n},t.include_docs){var u=E.uniq(n.map(c));return e.sourceDB.allDocs({keys:u,include_docs:!0,conflicts:t.conflicts,attachments:t.attachments,binary:t.binary}).then(function(e){var t={};return e.rows.forEach(function(e){e.doc&&(t["$"+e.id]=e.doc)}),n.forEach(function(e){var n=c(e),r=t["$"+n];r&&(e.doc=r)}),r})}return r}var o,i=e.reduceFun&&t.reduce!==!1,a=t.skip||0;"undefined"==typeof t.keys||t.keys.length||(t.limit=0,delete t.keys);var u=function(e){return e.reduce(function(e,t){return e.concat(t)})};if("undefined"!=typeof t.keys){var s=t.keys,f=s.map(function(e){var t={startkey:_([e]),endkey:_([e,{}])};return n(t)});return k.all(f).then(u).then(r)}var l={descending:t.descending};if("undefined"!=typeof t.startkey&&(l.startkey=_(t.descending?[t.startkey,{}]:[t.startkey])),"undefined"!=typeof t.endkey){var d=t.inclusive_end!==!1;t.descending&&(d=!d),l.endkey=_(d?[t.endkey,{}]:[t.endkey])}if("undefined"!=typeof t.key){var h=_([t.key]),p=_([t.key,{}]);l.descending?(l.endkey=h,l.startkey=p):(l.startkey=h,l.endkey=p)}return i||("number"==typeof t.limit&&(l.limit=t.limit),l.skip=a),n(l).then(r)}function I(e){return e.get("_local/"+R).then(function(t){var n={};Object.keys(t.views).forEach(function(e){var t=i(e),r="_design/"+t[0],o=t[1];n[r]=n[r]||{},n[r][o]=!0});var r={keys:Object.keys(n),include_docs:!0};return e.allDocs(r).then(function(r){var o={};r.rows.forEach(function(e){var r=e.key.substring(8);Object.keys(n[e.key]).forEach(function(n){var i=r+"/"+n;t.views[i]||(i=n);var a=Object.keys(t.views[i]),u=e.doc&&e.doc.views&&e.doc.views[n];a.forEach(function(e){o[e]=o[e]||u})})});var i=Object.keys(o).filter(function(e){return!o[e]}),a=i.map(function(t){return E.sequentialize(f(t),function(){return new e.constructor(t,e.__opts).destroy()})()});return k.all(a).then(function(){return{ok:!0}})})},h({ok:!0}))}function q(e,n,r){if("string"!=typeof n){d(r,n);var a={db:e,viewName:"temp_view/temp_view",map:n.map,reduce:n.reduce,temporary:!0,pluginName:R};return O.add(function(){return w(a).then(function(e){function t(){return e.db.destroy()}return E.fin(p(e).then(function(){return T(e,r)}),t)})}),O.finish()}var u=n,s=i(u),c=s[0],f=s[1];return e.get("_design/"+c).then(function(n){var i=n.views&&n.views[f];if(!i)throw new o("ddoc "+n._id+" has no view named "+f);P(n,f),d(r,i);var a={db:e,viewName:u,map:i.map,reduce:i.reduce,pluginName:R};return w(a).then(function(e){return"ok"===r.stale||"update_after"===r.stale?("update_after"===r.stale&&t.nextTick(function(){p(e)}),T(e,r)):p(e).then(function(){return T(e,r)})})})}var R=e.name,C=e.mapper,D=e.reducer,P=e.ddocValidator,L=function(e,t,n){var r=this;"function"==typeof t&&(n=t,t={}),t=E.extend(!0,{},t),"function"==typeof e&&(e={map:e});var o=k.resolve().then(function(){return q(r,e,t)});return E.promisedCallback(o,n),o},F=E.callbackify(function(){var e=this;return I(e)});return{query:L,viewCleanup:F}}var v,y=n(7),g=n(43),m=y.collate,_=y.toIndexableString,b=y.normalizeKey,w=n(41); -v="undefined"!=typeof console&&"function"==typeof console.log?Function.prototype.bind.call(console.log,console):function(){};var E=n(11),k=E.Promise,S={},O=new g,A=50;E.inherits(r,Error),E.inherits(o,Error),e.exports=p}).call(t,n(6))},function(e,t,n){"use strict";function r(){this.promise=new o(function(e){e()})}var o=n(11).Promise;r.prototype.add=function(e){return this.promise=this.promise.catch(function(){}).then(function(){return e()}),this.promise},r.prototype.finish=function(){return this.promise},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){t=u(t),e.request({method:"POST",url:"_index",body:t},n)}function o(e,t,n){e.request({method:"POST",url:"_find",body:t},n)}function i(e,t){e.request({method:"GET",url:"_index"},t)}function a(e,t,n){var r=t.ddoc,o=t.type||"json",i=t.name;if(!r)return n(new Error("you must provide an index's ddoc"));if(!i)return n(new Error("you must provide an index's name"));var a="_index/"+[r,o,i].map(encodeURIComponent).join("/");e.request({method:"DELETE",url:a},n)}var u=n(20);t.createIndex=r,t.find=o,t.getIndexes=i,t.deleteIndex=a},function(e,t,n){"use strict";function r(e,t,n){return u.upsert.call(e,t,n)}function o(e,t){function n(e){return e._rev&&"query"!==e.language&&(v=!0),e.language="query",e.views=e.views||{},!(y=!!e.views[c])&&(e.views[c]={map:{fields:i.mergeObjects(t.index.fields)},reduce:"_count",options:{def:o}},e)}t=d(t);var o=i.clone(t.index);t.index=l(t.index),f(t.index);var u=i.MD5(JSON.stringify(t)),c=t.name||"idx-"+u,h=t.ddoc||"idx-"+u,p="_design/"+h,v=!1,y=!1;return a("creating index",p),r(e,p,n).then(function(){if(v)throw new Error('invalid language for ddoc with id "'+p+'" (should be "query")')}).then(function(){var t=h+"/"+c;return s.query.call(e,t,{limit:0,reduce:!1}).then(function(){return{id:p,name:c,result:y?"exists":"created"}})})}var i=n(2),a=i.log,u=n(23),s=n(12),c=n(4),f=c.validateIndex,l=c.massageIndexDef,d=n(20);e.exports=o},function(e,t,n){"use strict";function r(e,t){function n(e){return 1===Object.keys(e.views).length&&e.views[a]?{_id:r,_deleted:!0}:(delete e.views[a],e)}if(!t.ddoc)throw new Error("you must supply an index.ddoc when deleting");if(!t.name)throw new Error("you must supply an index.name when deleting");var r=t.ddoc,a=t.name;return i(e,r,n).then(function(){return o.viewCleanup.apply(e)}).then(function(){return{ok:!0}})}var o=n(12),i=n(18);e.exports=r},function(e,t,n){"use strict";function r(e){function t(t){return e.map(function(e){var n=w(e),r=k(n),o=O(t,r);return o})}return function(e,n){var r=t(e.doc),o=t(n.doc),i=m(r,o);return 0!==i?i:S.compare(e.doc._id,n.doc._id)}}function o(e,t,n){if(e=e.filter(function(e){return i(e.doc,t.selector,n)}),t.sort){var o=r(t.sort);e=e.sort(o),"string"!=typeof t.sort[0]&&"desc"===E(t.sort[0])&&(e=e.reverse())}if("limit"in t||"skip"in t){var a=t.skip||0,u=("limit"in t?t.limit:e.length)+a;e=e.slice(a,u)}return e}function i(e,t,n){return n.every(function(n){var r=t[n],o=k(n),i=O(e,o);return b(n)?u(n,r,e):a(r,e,o,i)})}function a(e,t,n,r){return!e||Object.keys(e).every(function(o){var i=e[o];return s(o,t,i,n,r)})}function u(e,t,n){return"$or"===e?t.some(function(e){return i(n,e,Object.keys(e))}):"$not"===e?!i(n,t,Object.keys(t)):!t.find(function(e){return i(n,e,Object.keys(e))})}function s(e,t,n,r,o){if(!A[e])throw new Error('unknown operator "'+e+'" - should be one of $eq, $lte, $lt, $gt, $gte, $exists, $ne, $in, $nin, $size, $mod, $regex, $elemMatch, $type or $all');return A[e](t,n,r,o)}function c(e){return"undefined"!=typeof e&&null!==e}function f(e){return"undefined"!=typeof e}function l(e,t){var n=t[0],r=t[1];if(0===n)throw new Error("Bad divisor, cannot divide by zero");if(parseInt(n,10)!==n)throw new Error("Divisor is not an integer");if(parseInt(r,10)!==r)throw new Error("Modulus is not an integer");return parseInt(e,10)===e&&e%n===r}function d(e,t){return t.some(function(t){return e instanceof Array?e.indexOf(t)>-1:e===t})}function h(e,t){return t.every(function(t){return e.indexOf(t)>-1})}function p(e,t){return e.length===t}function v(e,t){var n=new RegExp(t);return n.test(e)}function y(e,t){switch(t){case"null":return null===e;case"boolean":return"boolean"==typeof e;case"number":return"number"==typeof e;case"string":return"string"==typeof e;case"array":return e instanceof Array;case"object":return"[object Object]"==={}.toString.call(e)}throw new Error(t+" not supported as a type.Please use one of object, string, array, number, boolean or null.")}var g=n(38),m=n(7).collate,_=n(4),b=_.isCombinationalField,w=_.getKey,E=_.getValue,k=_.parseField,S=n(2),O=S.getFieldFromDoc,A={$elemMatch:function(e,t,n,r){return!!g(r)&&(0!==r.length&&("object"==typeof r[0]?r.some(function(e){return i(e,t,Object.keys(t))}):r.some(function(r){return a(t,e,n,r)})))},$eq:function(e,t,n,r){return f(r)&&0===m(r,t)},$gte:function(e,t,n,r){return f(r)&&m(r,t)>=0},$gt:function(e,t,n,r){return f(r)&&m(r,t)>0},$lte:function(e,t,n,r){return f(r)&&m(r,t)<=0},$lt:function(e,t,n,r){return f(r)&&m(r,t)<0},$exists:function(e,t,n,r){return t?f(r):!f(r)},$mod:function(e,t,n,r){return c(r)&&l(r,t)},$ne:function(e,t,n,r){return t.every(function(e){return 0!==m(r,e)})},$in:function(e,t,n,r){return c(r)&&d(r,t)},$nin:function(e,t,n,r){return c(r)&&!d(r,t)},$size:function(e,t,n,r){return c(r)&&p(r,t)},$all:function(e,t,n,r){return g(r)&&h(r,t)},$regex:function(e,t,n,r){return c(r)&&v(r,t)},$type:function(e,t,n,r){return y(r,t)}};e.exports=o},function(e,t,n){"use strict";function r(e){return e.ddoc.substring(8)+"/"+e.name}function o(e,t){var n=u(t);return n.descending?("endkey"in n&&"string"!=typeof n.endkey&&(n.endkey=""),"startkey"in n&&"string"!=typeof n.startkey&&(n.limit=0)):("startkey"in n&&"string"!=typeof n.startkey&&(n.startkey=""),"endkey"in n&&"string"!=typeof n.endkey&&(n.limit=0)),"key"in n&&"string"!=typeof n.key&&(n.limit=0),e.allDocs(n)}function i(e,t){return t.selector&&(t.selector=p(t.selector)),t.sort&&(t.sort=v(t.sort)),g(t),s(e).then(function(n){var i=l(t,n.indexes),u=i.index;m(t,u);var s=a.extend(!0,{include_docs:!0,reduce:!1},i.queryOpts);if("startkey"in s&&"endkey"in s&&c(s.startkey,s.endkey)>0)return{docs:[]};var d=t.sort&&"string"!=typeof t.sort[0]&&"desc"===y(t.sort[0]);return d&&(s.descending=!0,s=_(s)),i.inMemoryFields.length||("limit"in t&&(s.limit=t.limit),"skip"in t&&(s.skip=t.skip)),w.resolve().then(function(){if("_all_docs"===u.name)return o(e,s);var t=r(u);return f.query.call(e,t,s)}).then(function(e){s.inclusive_start===!1&&(e.rows=b(e.rows,s.startkey,u)),i.inMemoryFields.length&&(e.rows=h(e.rows,t,i.inMemoryFields));var n={docs:e.rows.map(function(e){var n=e.doc;return t.fields?a.pick(n,t.fields):n})};return u.defaultUsed&&(n.warning="no matching index found, create an index to optimize query time"),n})})}var a=n(2),u=a.clone,s=n(19),c=n(7).collate,f=n(12),l=n(49),d=n(4),h=n(47),p=d.massageSelector,v=d.massageSort,y=d.getValue,g=d.validateFindRequest,m=d.validateSort,_=d.reverseOptions,b=d.filterInclusiveStart,w=a.Promise;e.exports=i},function(e,t,n){"use strict";function r(e,t){for(var n=e.def.fields.map(O),r=0,o=n.length;r0){if("$ne"in d){n(c);break}var h="$gt"in d||"$gte"in d||"$lt"in d||"$lte"in d,p=Object.keys(e[i[c-1]]),v=E.arrayEquals(p,["$eq"]),y=E.arrayEquals(p,Object.keys(d)),m=h&&!v&&!y;if(m){n(c);break}}for(var _=Object.keys(d),b=null,w=0;w<_.length;w++){var k=_[w],S=d[k],A=g(k,S);b=b?E.mergeObjects([b,A]):A}u.push("startkey"in b?b.startkey:x),s.push("endkey"in b?b.endkey:T),"inclusive_start"in b&&(r=b.inclusive_start),"inclusive_end"in b&&(o=b.inclusive_end)}var j={startkey:u,endkey:s};return"undefined"!=typeof r&&(j.inclusive_start=r),"undefined"!=typeof o&&(j.inclusive_end=o),{queryOpts:j,inMemoryFields:a}}function _(){return{queryOpts:{startkey:null},inMemoryFields:[]}}function b(e,t){return t.defaultUsed?_(e,t):1===t.def.fields.length?y(e,t):m(e,t)}function w(e,t){k("planning query",e);var n=e.selector,r=e.sort,o=A(n,r),i=o.fields,a=o.sortOrder,u=p(n,i,a,t),c=b(n,u),f=c.queryOpts,l=c.inMemoryFields,d=s(l,u,n,i),h={queryOpts:f,index:u,inMemoryFields:d};return k("query plan",h),h}var E=n(2),k=E.log,S=n(4),O=S.getKey,A=S.getUserFields,x=null,T={"￿":{}},j=["$eq","$gt","$gte","$lt","$lte"];e.exports=w},function(e,t,n){"use strict";var r=n(2),o=r.callbackify;t.createIndex=o(n(45)),t.find=o(n(48)),t.getIndexes=o(n(19)),t.deleteIndex=o(n(46))},function(e,t,n){"use strict";var r=n(2),o=n(44),i=n(50),a={};a.createIndex=r.toPromise(function(e,t){if("object"!=typeof e)return t(new Error("you must provide an index to create"));var n="http"===this.type()?o:i;n.createIndex(this,e,t)}),a.find=r.toPromise(function(e,t){if("undefined"==typeof t&&(t=e,e=void 0),"object"!=typeof e)return t(new Error("you must provide search parameters to find()"));var n="http"===this.type()?o:i;n.find(this,e,t)}),a.getIndexes=r.toPromise(function(e){var t="http"===this.type()?o:i;t.getIndexes(this,e)}),a.deleteIndex=r.toPromise(function(e,t){if("object"!=typeof e)return t(new Error("you must provide an index to delete"));var n="http"===this.type()?o:i;n.deleteIndex(this,e,t)}),e.exports=a,"undefined"!=typeof window&&window.PouchDB&&window.PouchDB.plugin(a)},21,function(e,t,n){(function(t){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}function o(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer||"undefined"!=typeof Blob&&e instanceof Blob}function i(e){if("function"==typeof e.slice)return e.slice(0);var t=new ArrayBuffer(e.byteLength),n=new Uint8Array(t),r=new Uint8Array(e);return n.set(r),t}function a(e){if(e instanceof ArrayBuffer)return i(e);var t=e.size,n=e.type;return"function"==typeof e.slice?e.slice(0,t,n):e.webkitSlice(0,t,n)}function u(e){var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=t.constructor;return"function"==typeof n&&n instanceof n&&no.call(n)==ro}function s(e){var t,n,r;if(!e||"object"!=typeof e)return e;if(Array.isArray(e)){for(t=[],n=0,r=e.length;n=p.length)){var e=Math.min(v+so,p.length),t=p.slice(v,e);u(t,v),v+=t.length}}function u(n,r){n.forEach(function(n,o){var u=r+o,s=c.get(n),f=d(s[0],["atts_since","attachments"]);f.open_revs=s.map(function(e){return e.rev}),f.open_revs=f.open_revs.filter(m);var l=m;0===f.open_revs.length&&(delete f.open_revs,l=_),["revs","attachments","binary","ajax","latest"].forEach(function(e){e in t&&(f[e]=t[e])}),e.get(n,f,function(e,t){var r;r=e?[{error:e}]:l(t),i(u,n,r),a()})})}var s=t.docs,c=new ao;s.forEach(function(e){c.has(e.id)?c.get(e.id).push(e):c.set(e.id,[e])});var f=c.size,l=0,h=new Array(f),p=[];c.forEach(function(e,t){p.push(t)});var v=0;a()}function w(){return"undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage&&"undefined"!=typeof chrome.storage.local}function E(){return uo}function k(e){w()?chrome.storage.onChanged.addListener(function(t){null!=t.db_name&&e.emit(t.dbName.newValue)}):E()&&("undefined"!=typeof addEventListener?addEventListener("storage",function(t){e.emit(t.key)}):window.attachEvent("storage",function(t){e.emit(t.key)}))}function S(){Wr.EventEmitter.call(this),this._listeners={},k(this)}function O(e){if("undefined"!==console&&e in console){var t=Array.prototype.slice.call(arguments,1);console[e].apply(console,t)}}function A(e,t){var n=6e5;e=parseInt(e,10)||0,t=parseInt(t,10),t!==t||t<=e?t=(e||1)<<1:t+=1,t>n&&(e=n>>1,t=n);var r=Math.random(),o=t-e;return~~(o*r+e)}function x(e){var t=0;return e||(t=2e3),A(e,t)}function T(e,t){O("info","The above "+e+" is totally normal. "+t)}function j(e,t,n){Error.call(this,n),this.status=e,this.name=t,this.message=n,this.error=!0}function I(e,t){function n(t){for(var n in e)"function"!=typeof e[n]&&(this[n]=e[n]);void 0!==t&&(this.reason=t)}return n.prototype=j.prototype,new n(t)}function q(e){if("object"!=typeof e){var t=e;e=_o,e.data=t}return"error"in e&&"conflict"===e.error&&(e.name="conflict",e.status=409),"name"in e||(e.name=e.error||"unknown"),"status"in e||(e.status=500),"message"in e||(e.message=e.message||e.reason),e}function R(e,t,n){try{return!e(t,n)}catch(e){var r="Filter function threw: "+e.toString();return I(ko,r)}}function C(e){var t={},n=e.filter&&"function"==typeof e.filter;return t.query=e.query_params,function(r){r.doc||(r.doc={});var o=n&&R(e.filter,r.doc,t);if("object"==typeof o)return o;if(o)return!1;if(e.include_docs){if(!e.attachments)for(var i in r.doc._attachments)r.doc._attachments.hasOwnProperty(i)&&(r.doc._attachments[i].stub=!0)}else delete r.doc;return!0}}function D(e){for(var t=[],n=0,r=e.length;n>>1,n(e[r],t)<0?o=r+1:i=r;return o}function ee(e,t,n){var r=Z(e,t,n);e.splice(r,0,t)}function te(e,t){for(var n,r,o=t,i=e.length;o0;){var o=n.pop(),i=o.tree1,a=o.tree2;(i[1].status||a[1].status)&&(i[1].status="available"===i[1].status||"available"===a[1].status?"available":"missing");for(var u=0;u0;){var v=p.pop();if(0!==v.diff)for(var y=v.ids[2],g=0,m=y.length;g0&&o.emit("error",t):o.emit("complete",n),o.removeAllListeners(),e.removeListener("destroyed",r)});n&&(o.on("complete",function(e){n(null,e)}),o.on("error",n)),e.once("destroyed",r),t.onChange=function(e){o.isCancelled||pe(o,e)};var a=new to(function(e,n){t.complete=function(t,r){t?n(t):e(r)}});o.once("cancel",function(){e.removeListener("destroyed",r),t.complete(null,{status:"cancelled"})}),this.then=a.then.bind(a),this.catch=a.catch.bind(a),this.then(function(e){i(null,e)},i),e.taskqueue.isReady?o.doChanges(t):e.taskqueue.addTask(function(e){e?t.complete(e):o.isCancelled?o.emit("cancel"):o.doChanges(t)})}function ye(e,t,n){var r=[{rev:e._rev}];"all_docs"===n.style&&(r=G(t.rev_tree).map(function(e){return{rev:e.rev}}));var o={id:t.id,changes:r,doc:e};return ce(t,e._rev)&&(o.deleted=!0),n.conflicts&&(o.doc._conflicts=W(t),o.doc._conflicts.length||delete o.doc._conflicts),o}function ge(e,t){return et?1:0}function me(e){return function(t,n){t||n[0]&&n[0].error?e(t||n[0]):e(null,n.length?n[0]:n)}}function _e(e){for(var t=0;t0?t.keys.slice(t.skip):t.keys;if(t.descending&&r.reverse(),!r.length)return e._allDocs({limit:0},n);var o={offset:t.skip};return to.all(r.map(function(n){var r=fo({key:n,deleted:"ok"},t);return["limit","skip","keys"].forEach(function(e){delete r[e]}),new to(function(t,i){e._allDocs(r,function(e,r){return e?i(e):(o.total_rows=r.total_rows,void t(r.rows[0]||{key:n,error:"not_found"}))})})})).then(function(e){return o.rows=e,o})}function ke(e){var t=e._compactionQueue[0],n=t.opts,r=t.callback;e.get("_local/compaction").catch(function(){return!1}).then(function(t){t&&t.last_seq&&(n.last_seq=t.last_seq),e._compact(n,function(t,n){t?r(t):r(null,n),Qr(function(){e._compactionQueue.shift(),e._compactionQueue.length&&ke(e)})})})}function Se(e){return"_"===e.charAt(0)&&e+"is not a valid attachment name, attachment names cannot start with '_'"}function Oe(){Wr.EventEmitter.call(this)}function Ae(){this.isReady=!1,this.failed=!1,this.queue=[]}function xe(e,t){var n=e.match(/([a-z\-]*):\/\/(.*)/);if(n)return{name:/https?/.test(n[1])?n[1]+"://"+n[2]:n[2],adapter:n[1]};var r=je.adapters,o=je.preferredAdapters,i=je.prefix,a=t.adapter;if(!a)for(var u=0;u0||r0||r1&&!n;d?(l={continue:u},e.getAll(t,r).onsuccess=i,e.getAllKeys(t,r).onsuccess=a):n?e.openCursor(t,"prev").onsuccess=s:e.openCursor(t).onsuccess=s}function gt(e,t,n){function r(e){var t=e.target.result;t?(o.push(t.value),t.continue()):n({target:{result:o}})}if("function"==typeof e.getAll)return void(e.getAll(t).onsuccess=n);var o=[];e.openCursor(t).onsuccess=r}function mt(e,t,n,r,o){try{if(e&&t)return o?IDBKeyRange.bound(t,e,!n,!1):IDBKeyRange.bound(e,t,!1,!n);if(e)return o?IDBKeyRange.upperBound(e):IDBKeyRange.lowerBound(e);if(t)return o?IDBKeyRange.lowerBound(t,!n):IDBKeyRange.upperBound(t,!n);if(r)return IDBKeyRange.only(r)}catch(e){return{error:e}}return null}function _t(e,t,n){function r(t,n,r){var o=t.id+"::"+r;O.get(o).onsuccess=function(r){if(n.doc=ct(r.target.result),e.conflicts){var o=W(t);o.length&&(n.doc._conflicts=o)}lt(n.doc,e,b)}}function o(t,n){var o={id:n.id,key:n.id,value:{rev:t}},i=n.deleted;"ok"===e.deleted?(A.push(o),i?(o.value.deleted=!0,o.doc=null):e.include_docs&&r(n,o,t)):!i&&h--<=0&&(A.push(o),e.include_docs&&r(n,o,t))}function i(e){for(var t=0,n=e.length;t=43)},e.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)}}).catch(function(){return!1})}function wt(e,t){var n=e.objectStore(Vo).index("deletedOrLocal");n.count(IDBKeyRange.only("0")).onsuccess=function(e){t(e.target.result)}}function Et(e,t,n,r){try{e(t,n)}catch(e){r.emit("error",e)}}function kt(){!Zo&&ei.length&&(Zo=!0,ei.shift()())}function St(e,t,n){ei.push(function(){e(function(e,r){Et(t,e,r,n),Zo=!1,Qr(function(){kt(n)})})}),kt()}function Ot(e,t,n,r){function o(t,n,r){function o(t,n){var r=e.processChange(n,t,e);d=r.seq=t.seq;var o=w(r);return"object"==typeof o?e.complete(o):void(o&&(b++,p&&_.push(r),e.attachments&&e.include_docs?lt(n,e,v,function(){dt([r],e.binary).then(function(){e.onChange(r)})}):e.onChange(r)))}function i(){for(var e=0,t=u.length;eo&&(o=n),t.continue()}}function i(){var e=ut(u,u.winningRev,u.deleted),t=r.put(e);t.onsuccess=function(){a.continue()}}var a=e.target.result;if(a){var u=t(a.value);return u.winningRev=u.winningRev||V(u),u.seq?i():void o()}}}var l=t.name,d=null;e._meta=null,e.type=function(){return"idb"},e._id=f(function(t){t(null,e._meta.instanceId)}),e._bulkDocs=function(n,r,o){vt(t,n,r,e,d,o)},e._get=function(e,t,n){function r(){n(a,{doc:o,metadata:i,ctx:u})}var o,i,a,u=t.ctx;if(!u){var s=pt(d,[Vo,Ho,Ko],"readonly");if(s.error)return n(s.error);u=s.txn}u.objectStore(Vo).get(e).onsuccess=function(e){if(i=st(e.target.result),!i)return a=I(po,"missing"),r();var n;if(t.rev)n=t.latest?le(t.rev,i):t.rev;else{n=i.winningRev;var s=ce(i);if(s)return a=I(po,"deleted"),r()}var c=u.objectStore(Ho),f=i.id+"::"+n;c.index("_doc_id_rev").get(f).onsuccess=function(e){return o=e.target.result,o&&(o=ct(o)),o?void r():(a=I(po,"missing"),r())}}},e._getAttachment=function(e,t,n,r,o){var i;if(r.ctx)i=r.ctx;else{var a=pt(d,[Vo,Ho,Ko],"readonly");if(a.error)return o(a.error);i=a.txn}var u=n.digest,s=n.content_type;i.objectStore(Ko).get(u).onsuccess=function(e){var t=e.target.result.body;ft(t,s,r.binary,function(e){o(null,e)})}},e._info=function(t){var n,r,o=pt(d,[Wo,Ho],"readonly");if(o.error)return t(o.error);var i=o.txn;i.objectStore(Wo).get(Wo).onsuccess=function(e){r=e.target.result.docCount},i.objectStore(Ho).openCursor(null,"prev").onsuccess=function(e){var t=e.target.result;n=t?t.key:0},i.oncomplete=function(){t(null,{doc_count:r,update_seq:n,idb_attachment_format:e._meta.blobSupport?"binary":"base64"})}},e._allDocs=function(e,t){_t(e,d,t)},e._changes=function(t){Ot(t,e,l,d)},e._close=function(e){d.close(),ti.delete(l),e()},e._getRevisionTree=function(e,t){var n=pt(d,[Vo],"readonly");if(n.error)return t(n.error);var r=n.txn,o=r.objectStore(Vo).get(e);o.onsuccess=function(e){var n=st(e.target.result);n?t(null,n.rev_tree):t(I(po))}},e._doCompaction=function(e,t,n){var r=[Vo,Ho,Ko,Go],o=pt(d,r,"readwrite");if(o.error)return n(o.error);var i=o.txn,a=i.objectStore(Vo);a.get(e).onsuccess=function(n){var r=st(n.target.result);H(r.rev_tree,function(e,n,r,o,i){var a=n+"-"+r;t.indexOf(a)!==-1&&(i.status="missing")}),ht(t,e,i);var o=r.winningRev,a=r.deleted;i.objectStore(Vo).put(ut(r,o,a))},i.onabort=at(n),i.oncomplete=function(){n()}},e._getLocal=function(e,t){var n=pt(d,[Xo],"readonly");if(n.error)return t(n.error);var r=n.txn,o=r.objectStore(Xo).get(e);o.onerror=at(t),o.onsuccess=function(e){var n=e.target.result;n?(delete n._doc_id_rev,t(null,n)):t(I(po))}},e._putLocal=function(e,t,n){"function"==typeof t&&(n=t,t={}),delete e._revisions;var r=e._rev,o=e._id;r?e._rev="0-"+(parseInt(r.split("-")[1],10)+1):e._rev="0-1";var i,a=t.ctx;if(!a){var u=pt(d,[Xo],"readwrite");if(u.error)return n(u.error);a=u.txn,a.onerror=at(n),a.oncomplete=function(){i&&n(null,i)}}var s,c=a.objectStore(Xo);r?(s=c.get(o),s.onsuccess=function(o){var a=o.target.result;if(a&&a._rev===r){var u=c.put(e);u.onsuccess=function(){i={ok:!0,id:e._id,rev:e._rev},t.ctx&&n(null,i)}}else n(I(vo))}):(s=c.add(e),s.onerror=function(e){n(I(vo)),e.preventDefault(),e.stopPropagation()},s.onsuccess=function(){i={ok:!0,id:e._id,rev:e._rev},t.ctx&&n(null,i)})},e._removeLocal=function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.ctx;if(!r){var o=pt(d,[Xo],"readwrite");if(o.error)return n(o.error);r=o.txn,r.oncomplete=function(){i&&n(null,i)}}var i,a=e._id,u=r.objectStore(Xo),s=u.get(a);s.onerror=at(n),s.onsuccess=function(r){var o=r.target.result;o&&o._rev===e._rev?(u.delete(a),i={ok:!0,id:a,rev:"0-0"},t.ctx&&n(null,i)):n(I(po))}},e._destroy=function(e,t){Yo.removeAllListeners(l);var n=ni.get(l);n&&n.result&&(n.result.close(),ti.delete(l));var r=indexedDB.deleteDatabase(l);r.onsuccess=function(){ni.delete(l),E()&&l in localStorage&&delete localStorage[l],t(null,{ok:!0})},r.onerror=at(t)};var h=ti.get(l);if(h)return d=h.idb,e._meta=h.global,Qr(function(){n(null,e)});var p;p=t.storage?Tt(l,t.storage):indexedDB.open(l,Jo),ni.set(l,p),p.onupgradeneeded=function(e){function t(){var e=l[d-1];d++,e&&e(f,t)}var n=e.target.result;if(e.oldVersion<1)return r(n);var f=e.currentTarget.transaction;e.oldVersion<3&&i(n),e.oldVersion<4&&u(n);var l=[o,a,s,c],d=e.oldVersion;t()},p.onsuccess=function(t){function r(){"undefined"!=typeof u&&f&&(e._meta={name:l,instanceId:s,blobSupport:u},ti.set(l,{idb:d,global:e._meta}),n(null,e))}function o(){if("undefined"!=typeof a&&"undefined"!=typeof i){var e=l+"_id";e in i?s=i[e]:i[e]=s=J(),i.docCount=a,c.objectStore(Wo).put(i)}}d=t.target.result,d.onversionchange=function(){d.close(),ti.delete(l)},d.onabort=function(e){O("error","Database has a global failure",e.target.error),d.close(),ti.delete(l)};var i,a,u,s,c=d.transaction([Wo,Qo,Vo],"readwrite"),f=!1;c.objectStore(Wo).get(Wo).onsuccess=function(e){i=e.target.result||{id:Wo},o()},wt(c,function(e){a=e,o()}),Fo||(Fo=bt(c)),Fo.then(function(e){u=e,r()}),c.oncomplete=function(){f=!0,r()}},p.onerror=function(){var e="Failed to open indexedDB, are you in private browsing mode?";O("error",e),n(I(Oo,e))}}function Tt(e,t){try{return indexedDB.open(e,{version:Jo,storage:t})}catch(t){return indexedDB.open(e,Jo)}}function jt(e){return decodeURIComponent(escape(e))}function It(e){return e<65?e-48:e-55}function qt(e,t,n){for(var r="";t0;){var e=S.pop();e(null,w)}}function h(e,t){if(0===t){var n="CREATE TABLE IF NOT EXISTS "+ci+" (dbid, db_version INTEGER)",s="CREATE TABLE IF NOT EXISTS "+ui+" (digest UNIQUE, escaped TINYINT(1), body BLOB)",f="CREATE TABLE IF NOT EXISTS "+fi+" (digest, seq INTEGER)",l="CREATE TABLE IF NOT EXISTS "+ii+" (id unique, json, winningseq, max_seq INTEGER UNIQUE)",h="CREATE TABLE IF NOT EXISTS "+ai+" (seq INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, json, deleted TINYINT(1), doc_id, rev)",p="CREATE TABLE IF NOT EXISTS "+si+" (id UNIQUE, rev, json)";e.executeSql(s),e.executeSql(p),e.executeSql(f,[],function(){e.executeSql(gi),e.executeSql(mi)}),e.executeSql(l,[],function(){e.executeSql(yi),e.executeSql(h,[],function(){e.executeSql(pi),e.executeSql(vi),e.executeSql(n,[],function(){var t="INSERT INTO "+ci+" (db_version, dbid) VALUES (?,?)";w=J();var n=[oi,w];e.executeSql(t,n,function(){d()})})})})}else{var v=function(){var n=t=")+" ?"),l.push(o)),i!==!1){var h=u?">":"<";f&&(h+="="),d.push(ii+".id "+h+" ?"),l.push(i)}a!==!1&&(d.push(ii+".id = ?"),l.push(a))}"ok"!==e.deleted&&d.push(ai+".deleted = 0"), -x.readTransaction(function(t){if(g(t,function(e){n=e}),0!==s){var o=Ut(bi,[ii,ai],_i,d,ii+".id "+(u?"DESC":"ASC"));o+=" LIMIT "+s+" OFFSET "+c,t.executeSql(o,l,function(t,n){for(var o=0,i=n.rows.length;o ?"],f=[e.since];e.doc_ids&&(c.push(ii+".id IN "+Bt(e.doc_ids.length)),f=f.concat(e.doc_ids));var l="maxSeq "+(r?"DESC":"ASC"),d=Ut(t,n,s,c,l),h=C(e);e.view||e.filter||(d+=" LIMIT "+o);var p=e.since||0;x.readTransaction(function(t){t.executeSql(d,f,function(t,n){function r(t){return function(){e.onChange(t)}}for(var s=0,c=n.rows.length;s0&&(r=setTimeout(function(){n.reject(new Error("Load timeout for resource: "+e.url))},e.timeout)),n.promise.then(function(t){return o={statusCode:t.status},e.timeout>0&&clearTimeout(r),o.statusCode>=200&&o.statusCode<300?e.binary?t.blob():t.text():t.json()}).then(function(e){o.statusCode>=200&&o.statusCode<300?t(null,o,e):(e.status=o.statusCode,t(e))}).catch(function(e){e||(e=new Error("canceled")),t(e)}),{abort:n.reject}}function rn(e,t){var n,r,o=!1,i=function(){n.abort(),s()},a=function(){o=!0,n.abort(),s()},u={abort:i},s=function(){clearTimeout(r),u.abort=function(){},n&&(n.onprogress=void 0,n.upload&&(n.upload.onprogress=void 0),n.onreadystatechange=void 0,n=void 0)};n=e.xhr?new e.xhr:new XMLHttpRequest;try{n.open(e.method,e.url)}catch(e){return t(new Error(e.name||"Url is invalid"))}n.withCredentials=!("withCredentials"in e)||e.withCredentials,"GET"===e.method?delete e.headers["Content-Type"]:e.json&&(e.headers.Accept="application/json",e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json",e.body&&e.processData&&"string"!=typeof e.body&&(e.body=JSON.stringify(e.body))),e.binary&&(n.responseType="arraybuffer"),"body"in e||(e.body=null);for(var c in e.headers)e.headers.hasOwnProperty(c)&&n.setRequestHeader(c,e.headers[c]);return e.timeout>0&&(r=setTimeout(a,e.timeout),n.onprogress=function(){clearTimeout(r),4!==n.readyState&&(r=setTimeout(a,e.timeout))},"undefined"!=typeof n.upload&&(n.upload.onprogress=n.onprogress)),n.onreadystatechange=function(){if(4===n.readyState){var r={statusCode:n.status};if(n.status>=200&&n.status<300){var i;i=e.binary?Pe([n.response||""],{type:n.getResponseHeader("Content-Type")}):n.responseText,t(null,r,i)}else{var a={};if(o)a=new Error("ETIMEDOUT"),a.code="ETIMEDOUT";else if("string"==typeof n.response)try{a=JSON.parse(n.response)}catch(e){}a.status=n.status,t(a)}s()}},e.body&&e.body instanceof Blob?$e(e.body,function(e){n.send(e)}):n.send(e.body),u}function on(){try{return new XMLHttpRequest,!0}catch(e){return!1}}function an(e,t){return Ei||e.xhr?rn(e,t):nn(e,t)}function un(){return""}function sn(e,t){function n(t,n,r){if(!e.binary&&e.json&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){return r(e)}Array.isArray(t)&&(t=t.map(function(e){return e.error||e.missing?q(e):e})),e.binary&&ki(t,n),r(null,t,n)}e=s(e);var r={method:"GET",headers:{},json:!0,processData:!0,timeout:1e4,cache:!1};return e=fo(r,e),e.json&&(e.binary||(e.headers.Accept="application/json"),e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json"),e.binary&&(e.encoding=null,e.json=!1),e.processData||(e.json=!1),an(e,function(r,o,i){if(r)return t(q(r));var a,u=o.headers&&o.headers["content-type"],s=i||un();if(!e.binary&&(e.json||!e.processData)&&"object"!=typeof s&&(/json/.test(u)||/^[\s]*\{/.test(s)&&/\}[\s]*$/.test(s)))try{s=JSON.parse(s.toString())}catch(e){}o.statusCode>=200&&o.statusCode<300?n(s,o,t):(a=q(s),a.status=o.statusCode,t(a))})}function cn(e,t){var n=navigator&&navigator.userAgent?navigator.userAgent.toLowerCase():"",r=n.indexOf("safari")!==-1&&n.indexOf("chrome")===-1,o=n.indexOf("msie")!==-1,i=n.indexOf("edge")!==-1,a=r||(o||i)&&"GET"===e.method,u=!("cache"in e)||e.cache,s=/^blob:/.test(e.url);if(!s&&(a||!u)){var c=e.url.indexOf("?")!==-1;e.url+=(c?"&":"?")+"_nonce="+Date.now()}return sn(e,t)}function fn(e,t){return new to(function(n,r){function o(){f++,e[l++]().then(a,u)}function i(){++d===h?c?r(c):n():s()}function a(){f--,i()}function u(e){f--,c=c||e,i()}function s(){for(;ft?t:u;var f={method:d,url:yn(c,"_changes"+mn(o)),timeout:e.timeout,body:l};v=r,e.aborted||i().then(function(){p=n(e,f,s)}).catch(s)}},g={results:[]},m=function(n,o){if(!e.aborted){var i=0;if(o&&o.results){i=o.results.length,g.last_seq=o.last_seq;var s={};s.query=e.query_params,o.results=o.results.filter(function(t){u--;var n=C(e)(t);return n&&(e.include_docs&&e.attachments&&e.binary&&ln(t),r&&g.results.push(t),e.onChange(t)),n})}else if(n)return e.aborted=!0,void e.complete(n);o&&o.last_seq&&(v=o.last_seq);var c=a&&u<=0||o&&it.length?1:-1}function In(e,t){return e===t?0:e>t?1:-1}function qn(e,t){for(var n=Object.keys(e),r=Object.keys(t),o=Math.min(n.length,r.length),i=0;ir.length?1:-1}function Rn(e){var t=["boolean","number","string","object"],n=t.indexOf(typeof e);return~n?null===e?1:Array.isArray(e)?5:n<3?n+2:n+3:Array.isArray(e)?5:void 0}function Cn(e){if(0===e)return"1";var t=e.toExponential().split(/e\+?/),n=parseInt(t[1],10),r=e<0,o=r?"0":"2",i=(r?-n:n)-ji,a=wn(i.toString(),"0",Ii);o+=qi+a;var u=Math.abs(parseFloat(t[0]));r&&(u=10-u);var s=u.toFixed(20);return s=s.replace(/\.?0+$/,""),o+=qi+s}function Dn(){this.promise=new to(function(e){e()})}function Pn(e){var t,n=e.db,r=e.viewName,o=e.map,i=e.reduce,a=e.temporary,u=o.toString()+(i&&i.toString())+"undefined";if(!a&&(t=n._cachedViews=n._cachedViews||{},t[u]))return t[u];var s=n.info().then(function(e){function s(e){e.views=e.views||{};var t=r;t.indexOf("/")===-1&&(t=r+"/"+r);var n=e.views[t]=e.views[t]||{};if(!n[c])return n[c]=!0,e}var c=e.db_name+"-mrview-"+(a?"temp":We(u));return M(n,"_local/mrviews",s).then(function(){return n.registerDependentDatabase(c).then(function(e){var r=e.db;r.auto_compaction=!0;var a={name:c,db:r,sourceDB:n,adapter:n.adapter,mapFun:o,reduceFun:i};return a.db.get("_local/lastSeq").catch(function(e){if(404!==e.status)throw e}).then(function(e){return a.seq=e?e.seq:0,t&&a.db.once("destroyed",function(){delete t[u]}),a})})})});return t&&(t[u]=s),s}function Ln(e){this.status=400,this.name="query_parse_error",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Ln)}catch(e){}}function Fn(e){this.status=404,this.name="not_found",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Fn)}catch(e){}}function Nn(e){this.status=500,this.name="invalid_value",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Nn)}catch(e){}}function Bn(e){var t="builtin "+e+" function requires map values to be numbers or number arrays";return new Nn(t)}function Un(e){for(var t=0,n=0,r=e.length;n0?e.slice(n):e}function tr(e){var t=e.value,n=t&&"object"==typeof t&&t._id||e.id;return n}function nr(e){e.rows.forEach(function(e){var t=e.doc&&e.doc._attachments;t&&Object.keys(t).forEach(function(e){var n=t[e];t[e].data=Ne(n.data,n.content_type)})})}function rr(e){return function(t){return e.include_docs&&e.attachments&&e.binary&&nr(t),t}}function or(e,t,n,r){var o=t[e];"undefined"!=typeof o&&(r&&(o=encodeURIComponent(JSON.stringify(o))),n.push(e+"="+o))}function ir(e){if("undefined"!=typeof e){var t=Number(e);return isNaN(t)||t!==parseInt(e,10)?e:t}}function ar(e){return e.group_level=ir(e.group_level),e.limit=ir(e.limit),e.skip=ir(e.skip),e}function ur(e){if(e){if("number"!=typeof e)return new Ln('Invalid value for integer: "'+e+'"');if(e<0)return new Ln('Invalid value for positive integer: "'+e+'"')}}function sr(e,t){var n=e.descending?"endkey":"startkey",r=e.descending?"startkey":"endkey";if("undefined"!=typeof e[n]&&"undefined"!=typeof e[r]&&En(e[n],e[r])>0)throw new Ln("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(t.reduce&&e.reduce!==!1){if(e.include_docs)throw new Ln("{include_docs:true} is invalid for reduce");if(e.keys&&e.keys.length>1&&!e.group&&!e.group_level)throw new Ln("Multi-key fetches for reduce views must use {group: true}")}["group_level","limit","skip"].forEach(function(t){var n=ur(e[t]);if(n)throw n})}function cr(e,t,n){var r,o=[],i="GET";if(or("reduce",n,o),or("include_docs",n,o),or("attachments",n,o),or("limit",n,o),or("descending",n,o),or("group",n,o),or("group_level",n,o),or("skip",n,o),or("stale",n,o),or("conflicts",n,o),or("startkey",n,o,!0),or("start_key",n,o,!0),or("endkey",n,o,!0),or("end_key",n,o,!0),or("inclusive_end",n,o),or("key",n,o,!0),o=o.join("&"),o=""===o?"":"?"+o,"undefined"!=typeof n.keys){var a=2e3,u="keys="+encodeURIComponent(JSON.stringify(n.keys));u.length+o.length+1<=a?o+=("?"===o[0]?"&":"?")+u:(i="POST","string"==typeof t?r={keys:n.keys}:t.keys=n.keys)}if("string"==typeof t){var s=Gn(t);return e.request({method:i,url:"_design/"+s[0]+"/_view/"+s[1]+o,body:r}).then(rr(n))}return r=r||{},Object.keys(t).forEach(function(e){Array.isArray(t[e])?r[e]=t[e]:r[e]=t[e].toString()}),e.request({method:"POST",url:"_temp_view"+o,body:r}).then(rr(n))}function fr(e,t,n){return new to(function(r,o){e._query(t,n,function(e,t){return e?o(e):void r(t)})})}function lr(e){return new to(function(t,n){e._viewCleanup(function(e,r){return e?n(e):void t(r)})})}function dr(e){return function(t){if(404===t.status)return e;throw t}}function hr(e,t,n){function r(){return Wn(f)?to.resolve(u):t.db.get(a).catch(dr(u))}function o(e){return e.keys.length?t.db.allDocs({keys:e.keys,include_docs:!0}):to.resolve({rows:[]})}function i(e,t){for(var n=[],r=new io,o=0,i=t.rows.length;o0&&0===En(i.key,t)&&a.push(r),n.set(On(a),i),t=i.key}return n}var u,s,c;if("function"==typeof e.mapFun&&2===e.mapFun.length){var f=e.mapFun;c=function(e){return f(e,t)}}else c=Mn(e.mapFun.toString(),t);var l=e.seq||0,d=new Dn;return r().then(function(){return d.finish()}).then(function(){e.seq=l})}function mr(e,t,n){0===n.group_level&&delete n.group_level;var r,o=n.group||n.group_level;r=Ni[e.reduceFun]?Ni[e.reduceFun]:Mn(e.reduceFun.toString());var i=[],a=isNaN(n.group_level)?Number.POSITIVE_INFINITY:n.group_level;t.forEach(function(e){var t=i[i.length-1],n=o?e.key:null;return o&&Array.isArray(n)&&(n=n.slice(0,a)),t&&0===En(t.groupKey,n)?(t.keys.push([e.key,e.id]),void t.values.push(e.value)):void i.push({keys:[[e.key,e.id]],values:[e.value],groupKey:n})}),t=[];for(var u=0,s=i.length;un))return e.doc.value}var r=Tn(e.doc._id);return{key:r[0],id:r[1],value:"value"in e.doc?e.doc.value:null}})})}function r(n){var r;if(r=i?mr(e,n,t):{total_rows:o,offset:a,rows:n},t.include_docs){var u=Hn(n.map(tr));return e.sourceDB.allDocs({keys:u,include_docs:!0,conflicts:t.conflicts,attachments:t.attachments,binary:t.binary}).then(function(e){var t=new ao;return e.rows.forEach(function(e){t.set(e.id,e.doc)}),n.forEach(function(e){var n=tr(e),r=t.get(n);r&&(e.doc=r)}),r})}return r}var o,i=e.reduceFun&&t.reduce!==!1,a=t.skip||0;if("undefined"==typeof t.keys||t.keys.length||(t.limit=0,delete t.keys),"undefined"!=typeof t.keys){var u=t.keys,s=u.map(function(e){var t={startkey:On([e]),endkey:On([e,{}])};return n(t)});return to.all(s).then(D).then(r)}var c={descending:t.descending};if(t.start_key&&(t.startkey=t.start_key),t.end_key&&(t.endkey=t.end_key),"undefined"!=typeof t.startkey&&(c.startkey=On(t.descending?[t.startkey,{}]:[t.startkey])),"undefined"!=typeof t.endkey){var f=t.inclusive_end!==!1;t.descending&&(f=!f),c.endkey=On(f?[t.endkey,{}]:[t.endkey])}if("undefined"!=typeof t.key){var l=On([t.key]),d=On([t.key,{}]);c.descending?(c.endkey=l,c.startkey=d):(c.startkey=l,c.endkey=d)}return i||("number"==typeof t.limit&&(c.limit=t.limit),c.skip=a),n(c).then(r)}function wr(e){return e.request({method:"POST",url:"_view_cleanup"})}function Er(e){return e.get("_local/mrviews").then(function(t){var n=new ao;Object.keys(t.views).forEach(function(e){var t=Gn(e),r="_design/"+t[0],o=t[1],i=n.get(r);i||(i=new io,n.set(r,i)),i.add(o)});var r={keys:Kn(n),include_docs:!0};return e.allDocs(r).then(function(r){var o={};r.rows.forEach(function(e){var r=e.key.substring(8);n.get(e.key).forEach(function(n){var i=r+"/"+n;t.views[i]||(i=n);var a=Object.keys(t.views[i]),u=e.doc&&e.doc.views&&e.doc.views[n];a.forEach(function(e){o[e]=o[e]||u})})});var i=Object.keys(o).filter(function(e){return!o[e]}),a=i.map(function(t){return Vn(vr(t),function(){return new e.constructor(t,e.__opts).destroy()})()});return to.all(a).then(function(){return{ok:!0}})})},dr({ok:!0}))}function kr(e,t,n){if("http"===e.type())return cr(e,t,n);if("function"==typeof e._query)return fr(e,t,n);if("string"!=typeof t){ -sr(n,t);var r={db:e,viewName:"temp_view/temp_view",map:t.map,reduce:t.reduce,temporary:!0};return Li.add(function(){return Pn(r).then(function(e){function t(){return e.db.destroy()}return Jn(yr(e).then(function(){return _r(e,n)}),t)})}),Li.finish()}var o=t,i=Gn(o),a=i[0],u=i[1];return e.get("_design/"+a).then(function(t){var r=t.views&&t.views[u];if(!r||"string"!=typeof r.map)throw new Fn("ddoc "+a+" has no view named "+u);sr(n,r);var i={db:e,viewName:o,map:r.map,reduce:r.reduce};return Pn(i).then(function(e){return"ok"===n.stale||"update_after"===n.stale?("update_after"===n.stale&&Qr(function(){yr(e)}),_r(e,n)):yr(e).then(function(){return _r(e,n)})})})}function Sr(e){return/^1-/.test(e)}function Or(e,t,n){return!e._attachments||!e._attachments[n]||e._attachments[n].digest!==t._attachments[n].digest}function Ar(e,t){var n=Object.keys(t._attachments);return to.all(n.map(function(n){return e.getAttachment(t._id,n,{rev:t._rev})}))}function xr(e,t,n){var r="http"===t.type()&&"http"!==e.type(),o=Object.keys(n._attachments);return r?e.get(n._id).then(function(r){return to.all(o.map(function(o){return Or(r,n,o)?t.getAttachment(n._id,o):e.getAttachment(r._id,o)}))}).catch(function(e){if(404!==e.status)throw e;return Ar(t,n)}):Ar(t,n)}function Tr(e){var t=[];return Object.keys(e).forEach(function(n){var r=e[n].missing;r.forEach(function(e){t.push({id:n,rev:e})})}),{docs:t,revs:!0,latest:!0}}function jr(e,t,n,r){function o(){var o=Tr(n);if(o.docs.length)return e.bulkGet(o).then(function(n){if(r.cancelled)throw new Error("cancelled");return to.all(n.results.map(function(n){return to.all(n.docs.map(function(n){var r=n.ok;return n.error&&(d=!1),r&&r._attachments?xr(t,e,r).then(function(e){var t=Object.keys(r._attachments);return e.forEach(function(e,n){var o=r._attachments[t[n]];delete o.stub,delete o.length,o.data=e}),r}):r}))})).then(function(e){l=l.concat(D(e).filter(Boolean))})})}function i(e){return e._attachments&&Object.keys(e._attachments).length>0}function a(e){return e._conflicts&&e._conflicts.length>0}function u(t){return e.allDocs({keys:t,include_docs:!0,conflicts:!0}).then(function(e){if(r.cancelled)throw new Error("cancelled");e.rows.forEach(function(e){e.deleted||!e.doc||!Sr(e.value.rev)||i(e.doc)||a(e.doc)||(e.doc._conflicts&&delete e.doc._conflicts,l.push(e.doc),delete n[e.id])})})}function c(){var e=Object.keys(n).filter(function(e){var t=n[e].missing;return 1===t.length&&Sr(t[0])});if(e.length>0)return u(e)}function f(){return{ok:d,docs:l}}n=s(n);var l=[],d=!0;return to.resolve().then(c).then(o).then(f)}function Ir(e,t,n,r,o){return e.get(t).catch(function(n){if(404===n.status)return"http"===e.type()&&T(404,"PouchDB is just checking if a remote checkpoint exists."),{session_id:r,_id:t,history:[],replicator:$i,version:zi};throw n}).then(function(i){if(!o.cancelled&&i.last_seq!==n)return i.history=(i.history||[]).filter(function(e){return e.session_id!==r}),i.history.unshift({last_seq:n,session_id:r}),i.history=i.history.slice(0,Ji),i.version=zi,i.replicator=$i,i.session_id=r,i.last_seq=n,e.put(i).catch(function(i){if(409===i.status)return Ir(e,t,n,r,o);throw i})})}function qr(e,t,n,r){this.src=e,this.target=t,this.id=n,this.returnValue=r}function Rr(e,t){return e.session_id===t.session_id?{last_seq:e.last_seq,history:e.history}:Cr(e.history,t.history)}function Cr(e,t){var n=e[0],r=e.slice(1),o=t[0],i=t.slice(1);if(!n||0===t.length)return{last_seq:Vi,history:[]};var a=n.session_id;if(Dr(a,t))return{last_seq:n.last_seq,history:e};var u=o.session_id;return Dr(u,r)?{last_seq:o.last_seq,history:i}:Cr(r,i)}function Dr(e,t){var n=t[0],r=t.slice(1);return!(!e||0===t.length)&&(e===n.session_id||Dr(e,r))}function Pr(e){return"number"==typeof e.status&&4===Math.floor(e.status/100)}function Lr(e,t,n,r){if(e.retry===!1)return t.emit("error",n),void t.removeAllListeners();if("function"!=typeof e.back_off_function&&(e.back_off_function=x),t.emit("requestError",n),"active"===t.state||"pending"===t.state){t.emit("paused",n),t.state="stopped";var o=function(){e.current_back_off=Ki},i=function(){t.removeListener("active",o)};t.once("paused",i),t.once("active",o)}e.current_back_off=e.current_back_off||Ki,e.current_back_off=e.back_off_function(e.current_back_off),setTimeout(r,e.current_back_off)}function Fr(e){return Object.keys(e).sort(En).reduce(function(t,n){return t[n]=e[n],t},{})}function Nr(e,t,n){var r=n.doc_ids?n.doc_ids.sort(En):"",o=n.filter?n.filter.toString():"",i="",a="";return n.filter&&n.query_params&&(i=JSON.stringify(Fr(n.query_params))),n.filter&&"_view"===n.filter&&(a=n.view.toString()),to.all([e.id(),t.id()]).then(function(e){var t=e[0]+e[1]+o+a+i+r;return new to(function(e){Ge(t,e)})}).then(function(e){return e=e.replace(/\//g,".").replace(/\+/g,"_"),"_local/"+e})}function Br(e,t,n,r,o){function i(){return k?to.resolve():Nr(e,t,n).then(function(n){E=n,k=new qr(e,t,E,r)})}function a(){if(L=[],0!==w.docs.length){var e=w.docs,i={timeout:n.timeout};return t.bulkDocs({docs:e,new_edits:!1},i).then(function(t){if(r.cancelled)throw p(),new Error("cancelled");var n=Object.create(null);t.forEach(function(e){e.error&&(n[e.id]=e)});var i=Object.keys(n).length;o.doc_write_failures+=i,o.docs_written+=e.length-i,e.forEach(function(e){var t=n[e._id];if(t){if(o.errors.push(t),"unauthorized"!==t.name&&"forbidden"!==t.name)throw t;r.emit("denied",s(t))}else L.push(e)})},function(t){throw o.doc_write_failures+=e.length,t})}}function u(){if(w.error)throw new Error("There was a problem getting docs.");o.last_seq=j=w.seq;var e=s(o);return L.length&&(e.docs=L,r.emit("change",e)),A=!0,k.writeCheckpoint(w.seq,F).then(function(){if(A=!1,r.cancelled)throw p(),new Error("cancelled");w=void 0,m()}).catch(function(e){throw b(e),e})}function c(){var e={};return w.changes.forEach(function(t){"_user/"!==t.id&&(e[t.id]=t.changes.map(function(e){return e.rev}))}),t.revsDiff(e).then(function(e){if(r.cancelled)throw p(),new Error("cancelled");w.diffs=e})}function f(){return jr(e,t,w.diffs,r).then(function(e){w.error=!e.ok,e.docs.forEach(function(e){delete w.diffs[e._id],o.docs_read++,w.docs.push(e)})})}function l(){if(!r.cancelled&&!w){if(0===S.length)return void d(!0);w=S.shift(),c().then(f).then(a).then(u).then(l).catch(function(e){h("batch processing terminated with error",e)})}}function d(e){return 0===O.changes.length?void(0!==S.length||w||((I&&N.live||x)&&(r.state="pending",r.emit("paused")),x&&p())):void((e||x||O.changes.length>=q)&&(S.push(O),O={seq:0,changes:[],docs:[]},"pending"!==r.state&&"stopped"!==r.state||(r.state="active",r.emit("active")),l()))}function h(e,t){T||(t.message||(t.message=e),o.ok=!1,o.status="aborting",S=[],O={seq:0,changes:[],docs:[]},p(t))}function p(i){T||r.cancelled&&(o.status="cancelled",A)||(o.status=o.status||"complete",o.end_time=new Date,o.last_seq=j,T=!0,i?(i.result=o,"unauthorized"===i.name||"forbidden"===i.name?(r.emit("error",i),r.removeAllListeners()):Lr(n,r,i,function(){Br(e,t,n,r)})):(r.emit("complete",o),r.removeAllListeners()))}function v(e){if(r.cancelled)return p();var t=C(n)(e);t&&(O.seq=e.seq,O.changes.push(e),d(0===S.length&&N.live))}function y(e){if(D=!1,r.cancelled)return p();if(e.results.length>0)N.since=e.last_seq,m(),d(!0);else{var t=function(){I?(N.live=!0,m()):x=!0,d(!0)};w||0!==e.results.length?t():(A=!0,k.writeCheckpoint(e.last_seq,F).then(function(){A=!1,o.last_seq=j=e.last_seq,t()}).catch(b))}}function g(e){return D=!1,r.cancelled?p():void h("changes rejected",e)}function m(){function t(){i.cancel()}function o(){r.removeListener("cancel",t)}if(!D&&!x&&S.lengthr.since&&!r.cancelled&&(r.since=e.seq,r.onChange(e))}).on("complete",function(){"waiting"===a&&Qr(o),a=!1}).on("error",e)}}if(!this._listeners[t]){var i=this,a=!1;this._listeners[t]=o,this.on(e,o)}},S.prototype.removeListener=function(e,t){t in this._listeners&&(Wr.EventEmitter.prototype.removeListener.call(this,e,this._listeners[t]),delete this._listeners[t])},S.prototype.notifyLocalWindows=function(e){w()?chrome.storage.local.set({dbName:e}):E()&&(localStorage[e]="a"===localStorage[e]?"b":"a")},S.prototype.notify=function(e){this.emit(e),this.notifyLocalWindows(e)};var co;co="function"==typeof Object.assign?Object.assign:function(e){for(var t=Object(e),n=1;nt&&u.push(e)}),H(i,function(e,t,n,r,o){var i=t+"-"+n;"available"===o.status&&u.indexOf(i)!==-1&&s.push(i)}),r._doCompaction(e,s,n)})}),Oe.prototype.compact=l("compact",function(e,t){"function"==typeof e&&(t=e,e={});var n=this;e=e||{},n._compactionQueue=n._compactionQueue||[],n._compactionQueue.push({opts:e,callback:t}),1===n._compactionQueue.length&&ke(n)}),Oe.prototype._compact=function(e,t){function n(e){a.push(o.compactDocument(e.id,0))}function r(e){var n=e.last_seq;to.all(a).then(function(){return M(o,"_local/compaction",function(e){return(!e.last_seq||e.last_seq>>25)+r|0,i+=(n&r|~n&o)+t[1]-389564586|0,i=(i<<12|i>>>20)+n|0,o+=(i&n|~i&r)+t[2]+606105819|0,o=(o<<17|o>>>15)+i|0,r+=(o&i|~o&n)+t[3]-1044525330|0,r=(r<<22|r>>>10)+o|0,n+=(r&o|~r&i)+t[4]-176418897|0,n=(n<<7|n>>>25)+r|0,i+=(n&r|~n&o)+t[5]+1200080426|0,i=(i<<12|i>>>20)+n|0,o+=(i&n|~i&r)+t[6]-1473231341|0,o=(o<<17|o>>>15)+i|0,r+=(o&i|~o&n)+t[7]-45705983|0,r=(r<<22|r>>>10)+o|0,n+=(r&o|~r&i)+t[8]+1770035416|0,n=(n<<7|n>>>25)+r|0,i+=(n&r|~n&o)+t[9]-1958414417|0,i=(i<<12|i>>>20)+n|0,o+=(i&n|~i&r)+t[10]-42063|0,o=(o<<17|o>>>15)+i|0,r+=(o&i|~o&n)+t[11]-1990404162|0,r=(r<<22|r>>>10)+o|0,n+=(r&o|~r&i)+t[12]+1804603682|0,n=(n<<7|n>>>25)+r|0,i+=(n&r|~n&o)+t[13]-40341101|0,i=(i<<12|i>>>20)+n|0,o+=(i&n|~i&r)+t[14]-1502002290|0,o=(o<<17|o>>>15)+i|0,r+=(o&i|~o&n)+t[15]+1236535329|0,r=(r<<22|r>>>10)+o|0,n+=(r&i|o&~i)+t[1]-165796510|0,n=(n<<5|n>>>27)+r|0,i+=(n&o|r&~o)+t[6]-1069501632|0,i=(i<<9|i>>>23)+n|0,o+=(i&r|n&~r)+t[11]+643717713|0,o=(o<<14|o>>>18)+i|0,r+=(o&n|i&~n)+t[0]-373897302|0,r=(r<<20|r>>>12)+o|0,n+=(r&i|o&~i)+t[5]-701558691|0,n=(n<<5|n>>>27)+r|0,i+=(n&o|r&~o)+t[10]+38016083|0,i=(i<<9|i>>>23)+n|0,o+=(i&r|n&~r)+t[15]-660478335|0,o=(o<<14|o>>>18)+i|0,r+=(o&n|i&~n)+t[4]-405537848|0,r=(r<<20|r>>>12)+o|0,n+=(r&i|o&~i)+t[9]+568446438|0,n=(n<<5|n>>>27)+r|0,i+=(n&o|r&~o)+t[14]-1019803690|0,i=(i<<9|i>>>23)+n|0,o+=(i&r|n&~r)+t[3]-187363961|0,o=(o<<14|o>>>18)+i|0,r+=(o&n|i&~n)+t[8]+1163531501|0,r=(r<<20|r>>>12)+o|0,n+=(r&i|o&~i)+t[13]-1444681467|0,n=(n<<5|n>>>27)+r|0,i+=(n&o|r&~o)+t[2]-51403784|0,i=(i<<9|i>>>23)+n|0,o+=(i&r|n&~r)+t[7]+1735328473|0,o=(o<<14|o>>>18)+i|0,r+=(o&n|i&~n)+t[12]-1926607734|0,r=(r<<20|r>>>12)+o|0,n+=(r^o^i)+t[5]-378558|0,n=(n<<4|n>>>28)+r|0,i+=(n^r^o)+t[8]-2022574463|0,i=(i<<11|i>>>21)+n|0,o+=(i^n^r)+t[11]+1839030562|0,o=(o<<16|o>>>16)+i|0,r+=(o^i^n)+t[14]-35309556|0,r=(r<<23|r>>>9)+o|0,n+=(r^o^i)+t[1]-1530992060|0,n=(n<<4|n>>>28)+r|0,i+=(n^r^o)+t[4]+1272893353|0,i=(i<<11|i>>>21)+n|0,o+=(i^n^r)+t[7]-155497632|0,o=(o<<16|o>>>16)+i|0,r+=(o^i^n)+t[10]-1094730640|0,r=(r<<23|r>>>9)+o|0,n+=(r^o^i)+t[13]+681279174|0,n=(n<<4|n>>>28)+r|0,i+=(n^r^o)+t[0]-358537222|0,i=(i<<11|i>>>21)+n|0,o+=(i^n^r)+t[3]-722521979|0,o=(o<<16|o>>>16)+i|0,r+=(o^i^n)+t[6]+76029189|0,r=(r<<23|r>>>9)+o|0,n+=(r^o^i)+t[9]-640364487|0,n=(n<<4|n>>>28)+r|0,i+=(n^r^o)+t[12]-421815835|0,i=(i<<11|i>>>21)+n|0,o+=(i^n^r)+t[15]+530742520|0,o=(o<<16|o>>>16)+i|0,r+=(o^i^n)+t[2]-995338651|0,r=(r<<23|r>>>9)+o|0,n+=(o^(r|~i))+t[0]-198630844|0,n=(n<<6|n>>>26)+r|0,i+=(r^(n|~o))+t[7]+1126891415|0,i=(i<<10|i>>>22)+n|0,o+=(n^(i|~r))+t[14]-1416354905|0,o=(o<<15|o>>>17)+i|0,r+=(i^(o|~n))+t[5]-57434055|0,r=(r<<21|r>>>11)+o|0,n+=(o^(r|~i))+t[12]+1700485571|0,n=(n<<6|n>>>26)+r|0,i+=(r^(n|~o))+t[3]-1894986606|0,i=(i<<10|i>>>22)+n|0,o+=(n^(i|~r))+t[10]-1051523|0,o=(o<<15|o>>>17)+i|0,r+=(i^(o|~n))+t[1]-2054922799|0,r=(r<<21|r>>>11)+o|0,n+=(o^(r|~i))+t[8]+1873313359|0,n=(n<<6|n>>>26)+r|0,i+=(r^(n|~o))+t[15]-30611744|0,i=(i<<10|i>>>22)+n|0,o+=(n^(i|~r))+t[6]-1560198380|0,o=(o<<15|o>>>17)+i|0,r+=(i^(o|~n))+t[13]+1309151649|0,r=(r<<21|r>>>11)+o|0,n+=(o^(r|~i))+t[4]-145523070|0,n=(n<<6|n>>>26)+r|0,i+=(r^(n|~o))+t[11]-1120210379|0,i=(i<<10|i>>>22)+n|0,o+=(n^(i|~r))+t[2]+718787259|0,o=(o<<15|o>>>17)+i|0,r+=(i^(o|~n))+t[9]-343485551|0,r=(r<<21|r>>>11)+o|0,e[0]=n+e[0]|0,e[1]=r+e[1]|0,e[2]=o+e[2]|0,e[3]=i+e[3]|0}function n(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function r(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function o(e){var r,o,i,a,u,s,c=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(r=64;r<=c;r+=64)t(f,n(e.substring(r-64,r)));for(e=e.substring(r-64),o=e.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0;r>2]|=e.charCodeAt(r)<<(r%4<<3);if(i[r>>2]|=128<<(r%4<<3),r>55)for(t(f,i),r=0;r<16;r+=1)i[r]=0;return a=8*c,a=a.toString(16).match(/(.*?)(.{0,8})$/),u=parseInt(a[2],16),s=parseInt(a[1],16)||0,i[14]=u,i[15]=s,t(f,i),f}function i(e){var n,o,i,a,u,s,c=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=c;n+=64)t(f,r(e.subarray(n-64,n)));for(e=n-64>2]|=e[n]<<(n%4<<3);if(i[n>>2]|=128<<(n%4<<3),n>55)for(t(f,i),n=0;n<16;n+=1)i[n]=0;return a=8*c,a=a.toString(16).match(/(.*?)(.{0,8})$/),u=parseInt(a[2],16),s=parseInt(a[1],16)||0,i[14]=u,i[15]=s,t(f,i),f}function a(e){var t,n="";for(t=0;t<4;t+=1)n+=v[e>>8*t+4&15]+v[e>>8*t&15];return n}function u(e){var t;for(t=0;t>16)+(t>>16)+(n>>16);return r<<16|65535&n}),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||!function(){function t(e,t){return e=0|e||0,e<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(n,r){var o,i,a,u,s=this.byteLength,c=t(n,s),f=s;return r!==e&&(f=t(r,s)),c>f?new ArrayBuffer(0):(o=f-c,i=new ArrayBuffer(o),a=new Uint8Array(i),u=new Uint8Array(this,c,o),a.set(u),i)}}(),h.prototype.append=function(e){return this.appendBinary(s(e)),this},h.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var r,o=this._buff.length;for(r=64;r<=o;r+=64)t(this._hash,n(this._buff.substring(r-64,r)));return this._buff=this._buff.substring(r-64),this},h.prototype.end=function(e){var t,n,r=this._buff,o=r.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=r.charCodeAt(t)<<(t%4<<3);return this._finish(i,o),n=u(this._hash),e&&(n=d(n)),this.reset(),n},h.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash}},h.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},h.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},h.prototype._finish=function(e,n){var r,o,i,a=n;if(e[a>>2]|=128<<(a%4<<3),a>55)for(t(this._hash,e),a=0;a<16;a+=1)e[a]=0;r=8*this._length,r=r.toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(r[2],16),i=parseInt(r[1],16)||0,e[14]=o,e[15]=i,t(this._hash,e)},h.hash=function(e,t){return h.hashBinary(s(e),t)},h.hashBinary=function(e,t){var n=o(e),r=u(n);return t?d(r):r},h.ArrayBuffer=function(){this.reset()},h.ArrayBuffer.prototype.append=function(e){var n,o=l(this._buff.buffer,e,!0),i=o.length;for(this._length+=e.byteLength,n=64;n<=i;n+=64)t(this._hash,r(o.subarray(n-64,n)));return this._buff=n-64>2]|=r[t]<<(t%4<<3);return this._finish(i,o),n=u(this._hash),e&&(n=d(n)),this.reset(),n},h.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.ArrayBuffer.prototype.getState=function(){var e=h.prototype.getState.call(this);return e.buff=f(e.buff),e},h.ArrayBuffer.prototype.setState=function(e){return e.buff=c(e.buff,!0),h.prototype.setState.call(this,e)},h.ArrayBuffer.prototype.destroy=h.prototype.destroy,h.ArrayBuffer.prototype._finish=h.prototype._finish,h.ArrayBuffer.hash=function(e,t){var n=i(new Uint8Array(e)),r=u(n);return t?d(r):r},h})},function(e,t){"use strict";function n(e,t,n){var r=n[n.length-1];e===r.element&&(n.pop(),r=n[n.length-1]);var o=r.element,i=r.index;if(Array.isArray(o))o.push(e);else if(i===t.length-2){var a=t.pop();o[a]=e}else t.push(e)}t.stringify=function(e){var t=[];t.push({obj:e});for(var n,r,o,i,a,u,s,c,f,l,d,h="";n=t.pop();)if(r=n.obj,o=n.prefix||"",i=n.val||"",h+=o,i)h+=i;else if("object"!=typeof r)h+="undefined"==typeof r?null:JSON.stringify(r);else if(null===r)h+="null";else if(Array.isArray(r)){for(t.push({val:"]"}),a=r.length-1;a>=0;a--)u=0===a?"":",",t.push({obj:r[a],prefix:u});t.push({val:"["})}else{s=[];for(c in r)r.hasOwnProperty(c)&&s.push(c);for(t.push({val:"}"}),a=s.length-1;a>=0;a--)f=s[a],l=r[f],d=a>0?",":"",d+=JSON.stringify(f)+":",t.push({obj:l,prefix:d});t.push({val:"{"})}return h},t.parse=function(e){for(var t,r,o,i,a,u,s,c,f,l=[],d=[],h=0;;)if(t=e[h++],"}"!==t&&"]"!==t&&"undefined"!=typeof t)switch(t){case" ":case"\t":case"\n":case":":case",":break;case"n":h+=3,n(null,l,d);break;case"t":h+=3,n(!0,l,d);break;case"f":h+=4,n(!1,l,d);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"-":for(r="",h--;;){if(o=e[h++],!/[\d\.\-e\+]/.test(o)){h--;break}r+=o}n(parseFloat(r),l,d);break;case'"':for(i="",a=void 0,u=0;;){if(s=e[h++],'"'===s&&("\\"!==a||u%2!==1))break;i+=s,a=s,"\\"===a?u++:u=0}n(JSON.parse('"'+i+'"'),l,d);break;case"[":c={element:[],index:l.length},l.push(c.element),d.push(c);break;case"{":f={element:{},index:l.length},l.push(f.element),d.push(f);break;default:throw new Error("unexpectedly reached end of input: "+t)}else{if(1===l.length)return l.pop();n(l.pop(),l,d)}}},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return g.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function u(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function s(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function c(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}function h(e,t){t=t||{};var n=t.body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function v(e){var t=new o;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var g={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer)var m=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=function(e){return e&&DataView.prototype.isPrototypeOf(e)},b=ArrayBuffer.isView||function(e){return e&&m.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];this.map[e]=o?o+","+r:r},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,r){this.map[t(e)]=n(r)},o.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},g.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},l.call(h.prototype),l.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var E=[301,302,303,307,308];y.redirect=function(e,t){if(E.indexOf(t)===-1)throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=h,e.Response=y,e.fetch=function(e,t){return new Promise(function(n,r){var o=new h(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:v(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;n(new y(t,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&g.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t){},59]))}); +t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(s())}).call(t,n(6))},function(e,t,n){(function(t){"use strict";function r(){}function o(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=m,this.queue=[],this.outcome=void 0,t.browser||(this.handled=_),e!==r&&s(this,e)}function i(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 a(e,t,n){p(function(){var r;try{r=t(n)}catch(t){return v.reject(e,t)}r===e?v.reject(e,new TypeError("Cannot resolve promise with itself")):v.resolve(e,r)})}function u(e){var t=e&&e.then;if(e&&"object"==typeof e&&"function"==typeof t)return function(){t.apply(e,arguments)}}function s(e,t){function n(t){i||(i=!0,v.reject(e,t))}function r(t){i||(i=!0,v.resolve(e,t))}function o(){t(r,n)}var i=!1,a=c(o);"error"===a.status&&n(a.value)}function c(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}function f(e){return e instanceof this?e:v.resolve(new this(r),e)}function l(e){var t=new this(r);return v.reject(t,e)}function d(e){function t(e,t){function r(e){a[t]=e,++u!==o||i||(i=!0,v.resolve(c,a))}n.resolve(e).then(r,function(e){i||(i=!0,v.reject(c,e))})}var n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var o=e.length,i=!1;if(!o)return this.resolve([]);for(var a=new Array(o),u=0,s=-1,c=new this(r);++s>>32-i,r)},r=function(e,t,r,o,i,a,u){return n(t&r|~t&o,e,t,i,a,u)},o=function(e,t,r,o,i,a,u){return n(t&o|r&~o,e,t,i,a,u)},i=function(e,t,r,o,i,a,u){return n(t^r^o,e,t,i,a,u)},a=function(e,t,r,o,i,a,u){return n(r^(t|~o),e,t,i,a,u)},u=function(e,n){var u=e[0],s=e[1],c=e[2],f=e[3];u=r(u,s,c,f,n[0],7,-680876936),f=r(f,u,s,c,n[1],12,-389564586),c=r(c,f,u,s,n[2],17,606105819),s=r(s,c,f,u,n[3],22,-1044525330),u=r(u,s,c,f,n[4],7,-176418897),f=r(f,u,s,c,n[5],12,1200080426),c=r(c,f,u,s,n[6],17,-1473231341),s=r(s,c,f,u,n[7],22,-45705983),u=r(u,s,c,f,n[8],7,1770035416),f=r(f,u,s,c,n[9],12,-1958414417),c=r(c,f,u,s,n[10],17,-42063),s=r(s,c,f,u,n[11],22,-1990404162),u=r(u,s,c,f,n[12],7,1804603682),f=r(f,u,s,c,n[13],12,-40341101),c=r(c,f,u,s,n[14],17,-1502002290),s=r(s,c,f,u,n[15],22,1236535329),u=o(u,s,c,f,n[1],5,-165796510),f=o(f,u,s,c,n[6],9,-1069501632),c=o(c,f,u,s,n[11],14,643717713),s=o(s,c,f,u,n[0],20,-373897302),u=o(u,s,c,f,n[5],5,-701558691),f=o(f,u,s,c,n[10],9,38016083),c=o(c,f,u,s,n[15],14,-660478335),s=o(s,c,f,u,n[4],20,-405537848),u=o(u,s,c,f,n[9],5,568446438),f=o(f,u,s,c,n[14],9,-1019803690),c=o(c,f,u,s,n[3],14,-187363961),s=o(s,c,f,u,n[8],20,1163531501),u=o(u,s,c,f,n[13],5,-1444681467),f=o(f,u,s,c,n[2],9,-51403784),c=o(c,f,u,s,n[7],14,1735328473),s=o(s,c,f,u,n[12],20,-1926607734),u=i(u,s,c,f,n[5],4,-378558),f=i(f,u,s,c,n[8],11,-2022574463),c=i(c,f,u,s,n[11],16,1839030562),s=i(s,c,f,u,n[14],23,-35309556),u=i(u,s,c,f,n[1],4,-1530992060),f=i(f,u,s,c,n[4],11,1272893353),c=i(c,f,u,s,n[7],16,-155497632),s=i(s,c,f,u,n[10],23,-1094730640),u=i(u,s,c,f,n[13],4,681279174),f=i(f,u,s,c,n[0],11,-358537222),c=i(c,f,u,s,n[3],16,-722521979),s=i(s,c,f,u,n[6],23,76029189),u=i(u,s,c,f,n[9],4,-640364487),f=i(f,u,s,c,n[12],11,-421815835),c=i(c,f,u,s,n[15],16,530742520),s=i(s,c,f,u,n[2],23,-995338651),u=a(u,s,c,f,n[0],6,-198630844),f=a(f,u,s,c,n[7],10,1126891415),c=a(c,f,u,s,n[14],15,-1416354905),s=a(s,c,f,u,n[5],21,-57434055),u=a(u,s,c,f,n[12],6,1700485571),f=a(f,u,s,c,n[3],10,-1894986606),c=a(c,f,u,s,n[10],15,-1051523),s=a(s,c,f,u,n[1],21,-2054922799),u=a(u,s,c,f,n[8],6,1873313359),f=a(f,u,s,c,n[15],10,-30611744),c=a(c,f,u,s,n[6],15,-1560198380),s=a(s,c,f,u,n[13],21,1309151649),u=a(u,s,c,f,n[4],6,-145523070),f=a(f,u,s,c,n[11],10,-1120210379),c=a(c,f,u,s,n[2],15,718787259),s=a(s,c,f,u,n[9],21,-343485551),e[0]=t(u,e[0]),e[1]=t(s,e[1]),e[2]=t(c,e[2]),e[3]=t(f,e[3])},s=function(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n},c=function(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n},f=function(e){var t,n,r,o,i,a,c=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)u(f,s(e.substring(t-64,t)));for(e=e.substring(t-64),n=e.length,r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(r[t>>2]|=128<<(t%4<<3),t>55)for(u(f,r),t=0;t<16;t+=1)r[t]=0;return o=8*c,o=o.toString(16).match(/(.*?)(.{0,8})$/),i=parseInt(o[2],16),a=parseInt(o[1],16)||0,r[14]=i,r[15]=a,u(f,r),f},l=function(e){var t,n,r,o,i,a,s=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=s;t+=64)u(f,c(e.subarray(t-64,t)));for(e=t-64>2]|=e[t]<<(t%4<<3);if(r[t>>2]|=128<<(t%4<<3),t>55)for(u(f,r),t=0;t<16;t+=1)r[t]=0;return o=8*s,o=o.toString(16).match(/(.*?)(.{0,8})$/),i=parseInt(o[2],16),a=parseInt(o[1],16)||0,r[14]=i,r[15]=a,u(f,r),f},d=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],h=function(e){var t,n="";for(t=0;t<4;t+=1)n+=d[e>>8*t+4&15]+d[e>>8*t&15];return n},p=function(e){var t;for(t=0;t>16)+(t>>16)+(n>>16);return r<<16|65535&n}),y.prototype.append=function(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),this.appendBinary(e),this},y.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,n=this._buff.length;for(t=64;t<=n;t+=64)u(this._state,s(this._buff.substring(t-64,t)));return this._buff=this._buff.substr(t-64),this},y.prototype.end=function(e){var t,n,r=this._buff,o=r.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=r.charCodeAt(t)<<(t%4<<3);return this._finish(i,o),n=e?this._state:p(this._state),this.reset(),n},y.prototype._finish=function(e,t){var n,r,o,i=t;if(e[i>>2]|=128<<(i%4<<3),i>55)for(u(this._state,e),i=0;i<16;i+=1)e[i]=0;n=8*this._length,n=n.toString(16).match(/(.*?)(.{0,8})$/),r=parseInt(n[2],16),o=parseInt(n[1],16)||0,e[14]=r,e[15]=o,u(this._state,e)},y.prototype.reset=function(){return this._buff="",this._length=0,this._state=[1732584193,-271733879,-1732584194,271733878],this},y.prototype.destroy=function(){delete this._state,delete this._buff,delete this._length},y.hash=function(e,t){/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e)));var n=f(e);return t?n:p(n)},y.hashBinary=function(e,t){var n=f(e);return t?n:p(n)},y.ArrayBuffer=function(){this.reset()},y.ArrayBuffer.prototype.append=function(e){var t,n=this._concatArrayBuffer(this._buff,e),r=n.length;for(this._length+=e.byteLength,t=64;t<=r;t+=64)u(this._state,c(n.subarray(t-64,t)));return this._buff=t-64>2]|=r[t]<<(t%4<<3);return this._finish(i,o),n=e?this._state:p(this._state),this.reset(),n},y.ArrayBuffer.prototype._finish=y.prototype._finish,y.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._state=[1732584193,-271733879,-1732584194,271733878],this},y.ArrayBuffer.prototype.destroy=y.prototype.destroy,y.ArrayBuffer.prototype._concatArrayBuffer=function(e,t){var n=e.length,r=new Uint8Array(n+t.byteLength);return r.set(e),r.set(new Uint8Array(t),n),r},y.ArrayBuffer.hash=function(e,t){var n=l(new Uint8Array(e));return t?n:p(n)},y})},function(e,t,n){"use strict";function r(e,t,n){return"string"!=typeof t?i.reject(new Error("doc id is required")):e.get(t).catch(function(e){if(404!==e.status)throw e;return{}}).then(function(r){var i=r._rev,a=n(r);return a?(a._id=t,a._rev=i,o(e,a,n)):{updated:!1,rev:i}})}function o(e,t,n){return e.put(t).then(function(e){return{updated:!0,rev:e.rev}},function(o){if(409!==o.status)throw o;return r(e,t._id,n)})}var i=n(52);t.upsert=function(e,t,n){var o=this,i=r(o,e,t);return"function"!=typeof n?i:void i.then(function(e){n(null,e)},n)},t.putIfNotExists=function(e,t,n){var o=this;"string"!=typeof e&&(n=t,t=e,e=t._id);var i=function(e){return!e._rev&&t},a=r(o,e,i);return"function"!=typeof n?a:void a.then(function(e){n(null,e)},n)},"undefined"!=typeof window&&window.PouchDB&&window.PouchDB.plugin(t)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n4&&void 0!==arguments[4]?arguments[4]:3;return e.isV2().then(function(a){return t=(0,d.normalizeDoctype)(e,a,t),o(e,t,n).then(function(o){return s(e,t,o,Object.assign({_id:n},o,r))}).catch(function(o){if(i>0)return c(e,t,n,r,i-1);throw o})})}function f(e,t,n){return e.isV2().then(function(r){t=(0,d.normalizeDoctype)(e,r,t);var o=n._id,i=n._rev;if(!o)return Promise.reject(new Error("Missing _id field in passed document"));if(!r&&!i)return Promise.reject(new Error("Missing _rev field in passed document"));var a=r?null:{rev:i},u=(0,l.createPath)(e,r,t,o,a);return(0,h.cozyFetchJSON)(e,"DELETE",u).then(function(e){return r?{id:o,rev:p}:e})})}Object.defineProperty(t,"__esModule",{value:!0}),t.create=r,t.find=o,t.findMany=i,t.findAll=a,t.changesFeed=u,t.update=s,t.updateAttributes=c,t._delete=f;var l=n(3),d=n(5),h=n(1),p="stack-v2-no-rev"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e&&e.trim()}function i(e,t,n,r,o){if(!t)throw new Error("missing data argument");t.buffer&&t.buffer instanceof ArrayBuffer&&(t=t.buffer);var i="undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer,a="undefined"!=typeof File&&t instanceof File,u="undefined"!=typeof Blob&&t instanceof Blob,s=t.readable===!0&&"function"==typeof t.pipe,c="string"==typeof t;if(!(i||a||u||s||c))throw new Error("invalid data type");var f=o||{},l=f.contentType,d=f.checksum,h=f.lastModifiedDate,p=f.ifMatch;return l||(i?l=z:a?(l=t.type||z,h||(h=t.lastModifiedDate)):u?l=t.type||z:s?l=z:"string"==typeof t&&(l="text/plain")),h&&"string"==typeof h&&(h=new Date(h)),(0,L.cozyFetch)(e,r,{method:n,headers:{"Content-Type":l,"Content-MD5":d||"",Date:h?h.toGMTString():"","If-Match":p||""},body:t}).then(function(e){var t=e.json();return e.ok?t.then(N.default):t.then(function(e){throw e})})}function a(e,t,n){var r=n||{},a=r.name,u=r.dirID,s=r.executable;if(a||"string"!=typeof t.name||(a=t.name),a=o(a),"string"!=typeof a||""===a)throw new Error("missing name argument");void 0===s&&(s=!1);var c="/files/"+encodeURIComponent(u||""),f="?Name="+encodeURIComponent(a)+"&Type=file&Executable="+s;return i(e,t,"POST",""+c+f,n)}function u(e,t){var n=t||{},r=n.name,i=n.dirID,a=n.lastModifiedDate;if(r=o(r),"string"!=typeof r||""===r)throw new Error("missing name argument");a&&"string"==typeof a&&(a=new Date(a));var u="/files/"+encodeURIComponent(i||""),s="?Name="+encodeURIComponent(r)+"&Type=directory";return(0,L.cozyFetchJSON)(e,"POST",""+u+s,void 0,{headers:{Date:a?a.toGMTString():""}})}function s(e,t,n){if(n&&!n.attributes)throw new Error("Malformed parent directory");t=o(t);var r=(n._id===U?"":n.attributes.path)+"/"+t;return e.files.statByPath(r||"/").catch(function(r){var o=JSON.parse(r.message),i=o.errors;if(i&&i.length&&"404"===i[0].status)return e.files.createDirectory({name:t,dirID:n&&n._id});throw i})}function c(e,t){var n=t.split("/").filter(function(e){return""!==e}),r=e.files.statById(U);return n.length?n.reduce(function(t,n){return t.then(function(t){return s(e,n,t)})},r):r}function f(e,t,n,r){return i(e,n,"PUT","/files/"+encodeURIComponent(t),r)}function l(e,t,n,r){if(!t||"object"!==("undefined"==typeof t?"undefined":P(t)))throw new Error("missing attrs argument");var i=r||{},a=i.ifMatch,u={data:{attributes:Object.assign({},t,{name:o(t.name)})}};return(0,L.cozyFetchJSON)(e,"PATCH",n,u,{headers:{"If-Match":a||""}})}function d(e,t,n,r){return l(e,n,"/files/"+encodeURIComponent(t),r)}function h(e,t,n,r){return l(e,n,"/files/metadata?Path="+encodeURIComponent(t),r)}function p(e,t,n){if("string"!=typeof t||""===t)throw new Error("missing id argument");var r=n||{},o=r.ifMatch;return(0,L.cozyFetchJSON)(e,"DELETE","/files/"+encodeURIComponent(t),void 0,{headers:{"If-Match":o||""}})}function v(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(n&&e.offline.hasDatabase(B.DOCTYPE_FILES)){var o=e.offline.getDatabase(B.DOCTYPE_FILES);return Promise.all([o.get(t),o.find(Object.assign({selector:{dir_id:t}},r))]).then(function(n){var r=D(n,2),o=r[0],i=r[1];return t===U&&(i.docs=i.docs.filter(function(e){return e._id!==M})),i=C(i.docs.map(function(t){return I(R(e,t))})),I(R(e,o,i))})}var i=0===Object.keys(r).length?"":"?"+q(r);return(0,L.cozyFetchJSON)(e,"GET","/files/"+encodeURIComponent(t)+i).then(I)}function y(e,t){return(0,L.cozyFetchJSON)(e,"GET","/files/metadata?Path="+encodeURIComponent(t)).then(I)}function g(e,t){return(0,L.cozyFetch)(e,"/files/download/"+encodeURIComponent(t))}function m(e,t){return(0,L.cozyFetch)(e,"/files/download?Path="+encodeURIComponent(t))}function _(e){var t=e.links&&e.links.related;if(!t)throw new Error("No related link in server response");return t}function b(e,t){return(0,L.cozyFetchJSON)(e,"POST","/files/downloads?Path="+encodeURIComponent(t)).then(_)}function w(e,t){return(0,L.cozyFetchJSON)(e,"POST","/files/downloads?Id="+encodeURIComponent(t)).then(_)}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];if(!n||!n.attributes)throw Error("Folder should be valid with an attributes.path property");var r=n.attributes.path.endsWith("/")?n.attributes.path:n.attributes.path+"/";return""+r+t.name}function k(e,t,n){return t?(0,L.cozyFetchJSON)(e,"POST","/permissions?codes=email",{data:{type:"io.cozy.permissions",attributes:{permissions:{files:{type:"io.cozy.files",verbs:["GET"],values:[t],selector:"referenced_by"},collection:{type:n,verbs:["GET"],values:[t]}}}}}).then(function(e){return{sharecode:"sharecode="+e.attributes.codes.email,id:"id="+t}}):Promise.reject(Error("An id should be provided to create a share link"))}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"files",r={type:"io.cozy.archives",attributes:{name:n,files:t}};return(0,L.cozyFetchJSON)(e,"POST","/files/archive",{data:r}).then(_)}function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"files",r={type:"io.cozy.archives",attributes:{name:n,ids:t}};return(0,L.cozyFetchJSON)(e,"POST","/files/archive",{data:r}).then(_)}function A(e){return(0,L.cozyFetchJSON)(e,"GET","/files/trash")}function x(e){return(0,L.cozyFetchJSON)(e,"DELETE","/files/trash")}function T(e,t){return(0,L.cozyFetchJSON)(e,"POST","/files/trash/"+encodeURIComponent(t))}function j(e,t,n){var r=n||{},o=r.ifMatch;return(0,L.cozyFetchJSON)(e,"DELETE","/files/trash/"+encodeURIComponent(t),void 0,{headers:{"If-Match":o||""}})}function I(e){return e.isDir="directory"===e.attributes.type,e}function q(e){var t=[];for(var n in e)t.push("page["+encodeURIComponent(n)+"]="+encodeURIComponent(e[n]));return t.join("&")}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=JSON.parse(JSON.stringify(t));return delete r._id,delete r._rev,{_id:t._id,_rev:t._rev,_type:B.DOCTYPE_FILES,attributes:r,relationships:{contents:{data:n,meta:{count:n.length}}},relations:function(e){if("contents"===e)return n}}}function C(e){var t=e.filter(function(e){return"directory"===e.attributes.type}),n=e.filter(function(e){return"directory"!==e.attributes.type}),r=function(e){return e.sort(function(e,t){return e.attributes.name.localeCompare(t.attributes.name)})};return r(t).concat(r(n))}Object.defineProperty(t,"__esModule",{value:!0}),t.TRASH_DIR_ID=t.ROOT_DIR_ID=void 0;var D=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),P="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};t.create=a,t.createDirectory=u,t.createDirectoryByPath=c,t.updateById=f,t.updateAttributesById=d,t.updateAttributesByPath=h,t.trashById=p,t.statById=v,t.statByPath=y,t.downloadById=g,t.downloadByPath=m,t.getDownloadLinkByPath=b,t.getDownloadLinkById=w,t.getFilePath=E,t.getCollectionShareLink=k,t.getArchiveLinkByPaths=S,t.getArchiveLinkByIds=O,t.listTrash=A,t.clearTrash=x,t.restoreById=T,t.destroyById=j;var L=n(1),F=n(14),N=r(F),B=n(5),U=t.ROOT_DIR_ID="io.cozy.files.root-dir",M=t.TRASH_DIR_ID="io.cozy.files.trash-dir",z="application/octet-stream"},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(){throw new Error("Missing onRegistered callback")}function a(e,t){return function(){for(var n=arguments.length,r=Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{};this._inited=!0,this._oauth=!1,this._token=null,this._authstate=P,this._authcreds=null,this._storage=null,this._version=e.version||null,this._offline=null;var t=e.token,n=e.oauth;if(t&&n)throw new Error("Cannot specify an application token with a oauth activated");t?this._token=new R({token:t}):n&&(this._oauth=!0,this._storage=n.storage,this._clientParams=Object.assign({},B,n.clientParams),this._onRegistered=n.onRegistered||i);for(var r=e.cozyURL||"";"/"===r[r.length-1];)r=r.slice(0,-1);this._url=r;var o=!!e.disablePromises;u(this,this.data,U,o),u(this,this.auth,M,o),u(this,this.files,z,o),u(this,this.intents,$,o),u(this,this.jobs,J,o),u(this,this.offline,V,o),u(this,this.settings,H,o),e.offline&&this.offline.init(e.offline),this.fetchJSON=function(){var e=[this].concat(Array.prototype.slice.call(arguments)); +return g.cozyFetchJSON.apply(this,e)}}},{key:"authorize",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this._authstate;return n===N||n===L?this._authcreds:(this._authstate=L,this._authcreds=this.isV2().then(function(n){if(n&&e._oauth)throw new Error("OAuth is not supported on the V2 stack");if(e._oauth)return t&&e._clientParams.redirectURI&&(e._clientParams.redirectURI=K(e._clientParams.redirectURI)),h.oauthFlow(e,e._storage,e._clientParams,e._onRegistered,t);if(n)return(0,l.getAppToken)();if(e._token)return Promise.resolve({client:null,token:e._token});throw new Error("Missing application token")}),this._authcreds.then(function(){e._authstate=N},function(){e._authstate=F}),this._authcreds)}},{key:"saveCredentials",value:function(e,t){var n={client:e,token:t};return this._storage&&this._authstate!==L?(this._storage.save(h.CredsKey,n),this._authcreds=Promise.resolve(n),this._authcreds):Promise.resolve(n)}},{key:"fullpath",value:function(e){var t=this;return this.isV2().then(function(n){var r=n?"/ds-api":"";return t._url+r+e})}},{key:"isV2",value:function(){var e=this;return this._version?Promise.resolve(2===this._version):(0,c.retry)(function(){return fetch(e._url+"/status/")},3)().then(function(e){if(e.ok)return e.json();throw new Error("Could not fetch cozy status")}).then(function(t){return e._version=void 0!==t.datasystem?2:3,e.isV2()})}}]),e}();e.exports=new G,Object.assign(e.exports,{Client:G,LocalStorage:f.LocalStorage,MemoryStorage:f.MemoryStorage})},function(e,t,n){"use strict";function r(e,t,n,r,o){var i=t.ownerDocument;if(!i)throw new Error("Cannot retrieve document object from given element");var a=i.defaultView;if(!a)throw new Error("Cannot retrieve window object from document");var u=i.createElement("iframe");"function"==typeof o&&(u.onload=o),u.setAttribute("src",e),u.classList.add(s),t.appendChild(u),u.focus();var f=e.split("/",3).join("/");return new Promise(function(e,o){var i=!1,s=function s(l){if(l.origin===f){if("load"===l.data.type)return void(console.warn&&console.warn("Cozy Client ignored MessageEvent having data.type `load`."));if(l.data.type==="intent-"+n._id+":ready")return i=!0,l.source.postMessage(r,l.origin);if(i&&l.data.type==="intent-"+n._id+":resize")return["width","height","maxWidth","maxHeight"].forEach(function(e){l.data.transition&&(t.style.transition=l.data.transition),l.data.dimensions[e]&&(t.style[e]=l.data.dimensions[e]+"px")}),!0;a.removeEventListener("message",s);var d=function(){u.parentNode&&u.parentNode.removeChild(u)};return i&&l.data.type==="intent-"+n._id+":exposeFrameRemoval"?e({removeIntentFrame:d,doc:l.data.document}):(d(),l.data.type==="intent-"+n._id+":error"?o(c.deserialize(l.data.error)):i&&l.data.type==="intent-"+n._id+":cancel"?e(null):i&&l.data.type==="intent-"+n._id+":done"?e(l.data.document):i?void 0:o(new Error("Unexpected handshake message from intent service")))}};a.addEventListener("message",s)})}function o(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!t)throw new Error('Misformed intent, "action" property must be provided');if(!n)throw new Error('Misformed intent, "type" property must be provided');var a=(0,u.cozyFetchJSON)(e,"POST","/intents",{data:{type:"io.cozy.intents",attributes:{action:t,type:n,data:o,permissions:i}}});return a.start=function(e,t){return a.then(function(n){var i=n.attributes.services&&n.attributes.services[0];return i?r(i.href,e,n,o,t):Promise.reject(new Error("Unable to find a service"))})},a}function i(e,t){return new Promise(function(n,r){var o=function r(o){o.origin===e.attributes.client&&(t.removeEventListener("message",r),n(o.data))};t.addEventListener("message",o),t.parent.postMessage({type:"intent-"+e._id+":ready"},e.attributes.client)})}function a(e,t,n){if(n=n||"undefined"!=typeof window&&window,!n)throw new Error("Intent service should be used in browser");if(t=t||n.location.search.split("=")[1],!t)throw new Error("Cannot retrieve intent from URL");return(0,u.cozyFetchJSON)(e,"GET","/intents/"+t).then(function(e){var t=!1,r=function(r){if(t)throw new Error("Intent service has already been terminated");t=!0,n.parent.postMessage(r,e.attributes.client)},o=function(r,o){if(t)throw new Error("Intent service has been terminated");var i={type:"intent-"+e._id+":resize",dimensions:r.element?Object.assign({},r,{maxHeight:r.element.clientHeight,maxWidth:r.element.clientWidth}):r,transition:o};n.parent.postMessage(i,e.attributes.client)},a=function(){r({type:"intent-"+e._id+":cancel"})};return n.addEventListener("unload",function(){t||a()}),i(e,n).then(function(t){return{getData:function(){return t},getIntent:function(){return e},terminate:function(n){return r(t&&t.exposeIntentFrameRemoval?{type:"intent-"+e._id+":exposeFrameRemoval",document:n}:{type:"intent-"+e._id+":done",document:n})},throw:function(t){return r({type:"intent-"+e._id+":error",error:c.serialize(t)})},resizeClient:o,cancel:a}})})}Object.defineProperty(t,"__esModule",{value:!0}),t.create=o,t.createService=a;var u=n(1),s="coz-intent",c=function(){function e(e,t){var n=Object.assign(t,e),r=["name","message"];return r.reduce(function(n,r){return e[r]&&(t[r]=e[r]),n},n)}return{serialize:function(t){return e(t,{})},deserialize:function(t){return e(t,new Error(t.message))}}}()},function(e,t,n){"use strict";function r(e,t){return(0,a.cozyFetchJSON)(e,"GET","/jobs/queue/"+t).then(function(e){return e.length})}function o(e,t){return(0,a.cozyFetchJSON)(e,"GET","/jobs/queue/"+t)}function i(e,t,n,r){return(0,a.cozyFetchJSON)(e,"POST","/jobs/queue/"+t,{data:{type:"io.cozy.jobs",attributes:{arguments:n||{},options:r||{}}}})}Object.defineProperty(t,"__esModule",{value:!0}),t.count=r,t.queued=o,t.create=i;var a=n(1)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t,n){return e.isV2().then(function(r){if(t=(0,w.normalizeDoctype)(e,r,t),!Array.isArray(n)||0===n.length)throw new Error("defineIndex fields should be a non-empty array");return r?u(e,t,n):s(e,t,n)})}function i(e,t,n){return e.isV2().then(function(r){if(!t)throw new Error("query should be passed the indexRef");return r?c(e,t,n):f(e,t,n)})}function a(e,t,n){var r=l(t,n);return(0,E.cozyFetchRawJSON)(e,"POST","/files/_find",r).then(function(e){return n.wholeResponse?e:e.docs})}function u(e,t,n){var r="by"+n.map(d).join(""),o={map:h(t,n),reduce:"_count"},i="/request/"+t+"/"+r+"/";return(0,E.cozyFetchJSON)(e,"PUT",i,o).then(function(){return{doctype:t,type:"mapreduce",name:r,fields:n}})}function s(e,t,n){var r=(0,b.createPath)(e,!1,t,"_index"),o={index:{fields:n}};return(0,E.cozyFetchJSON)(e,"POST",r,o).then(function(r){var o={doctype:t,type:"mango",name:r.id,fields:n};if("exists"===r.result)return o;var i={};i[n[0]]={$gt:null};var a=l(o,{selector:i}),u=(0,b.createPath)(e,!1,o.doctype,"_find");return(0,E.cozyFetchJSON)(e,"POST",u,a).then(function(){return o}).catch(function(){return(0,b.sleep)(1e3).then(function(){return(0,E.cozyFetchJSON)(e,"POST",u,a)}).then(function(){return o}).catch(function(){return(0,b.sleep)(500).then(function(){return o})})})})}function c(e,t,n){if("mapreduce"!==t.type)throw new Error("query indexRef should be the return value of defineIndexV2");n.fields&&(0,b.warn)("query fields will be ignored on v2");var r="/request/"+t.doctype+"/"+t.name+"/",o=g(t,n);return(0,E.cozyFetchJSON)(e,"POST",r,o).then(function(e){return e.map(function(e){return e.value})})}function f(e,t,n){var r=l(t,n),o=(0,b.createPath)(e,!1,t.doctype,"_find");return(0,E.cozyFetchJSON)(e,"POST",o,r).then(function(e){return n.wholeResponse?e:e.docs})}function l(e,t){if("mango"!==e.type)throw new Error("indexRef should be the return value of defineIndexV3");var n={use_index:e.name,fields:t.fields,selector:t.selector,limit:t.limit,skip:t.skip,since:t.since,sort:t.sort};return t.descending&&(n.sort=e.fields.map(function(e){return r({},e,"desc")})),n}function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}function h(e,t){return t="["+t.map(function(e){return"doc."+e}).join(",")+"]",O.replace("DOCTYPEPLACEHOLDER",e.toLowerCase()).replace("FIELDSPLACEHOLDER",t)}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$eq";if("object"!==("undefined"==typeof e?"undefined":_(e)))return[[t,n,e]];var r=Object.keys(e);if(0===r.length)throw new Error("empty selector");return r.reduce(function(n,r){if(S.indexOf(r)!==-1)throw new Error("cozy-client-js does not support mango logic ops");return k.indexOf(r)!==-1?n.concat(p(e[r],t,r)):n.concat(p(e[r],t.concat(r),"$eq"))},[])}function v(e){var t=p(e);return t.reduce(function(e,t){var n=m(t,3),r=n[0],o=n[1],i=n[2],a=r.join(".");return e[a]=e[a]||{},e[a][o]=i,e},{})}function y(e,t){var n=e.$eq,r=x,o=A,i=void 0;if(n)return t.startkey.push(n),t.endkey.push(n),!1;if(n=e.$gt)throw new Error("operator $gt (strict greater than) not supported");return n=e.$gte,n&&(r=n),n=e.$lte,n&&(o=n,i=!0),n=e.$lt,n&&(o=n,i=!1),t.startkey.push(r),t.endkey.push(o),void 0!==i&&(t.inclusive_end=i),!0}function g(e,t){var n={startkey:[],endkey:[],reduce:!1},r=null,o=v(t.selector);return e.fields.forEach(function(e){var t=o[e];if(t&&null!=r)throw new Error("Selector on field "+e+", but not on "+r+" which is higher in index fields.");if(t){t.used=!0;var i=y(t,n);i&&(r=e)}else null==r&&(r=e,n.endkey.push(A))}),Object.keys(o).forEach(function(e){if(!o[e].used)throw new Error("Cant apply selector on "+e+", it is not in index")}),t.descending&&(n={descending:!0,reduce:!1,startkey:n.endkey,endkey:n.startkey,inclusive_end:n.inclusive_end}),n}Object.defineProperty(t,"__esModule",{value:!0});var m=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_="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};t.defineIndex=o,t.query=i,t.queryFiles=a,t.parseSelector=p,t.normalizeSelector=v,t.makeMapReduceQuery=g;var b=n(3),w=n(5),E=n(1),k=["$eq","$gt","$gte","$lt","$lte"],S=["$or","$and","$not"],O=function(e){"DOCTYPEPLACEHOLDER"===e.docType.toLowerCase()&&emit(FIELDSPLACEHOLDER,e)}.toString().replace(/ /g,"").replace(/\n/g,""),A={"￿":"￿"},x=null},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.options,r=void 0===n?{}:n,o=t.doctypes,i=void 0===o?[]:o,a=!0,u=!1,s=void 0;try{for(var c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var d=c.value;f(e,d,r)}}catch(e){u=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(u)throw s}}}function i(e,t){return e._offline=e._offline||[],e._offline[t]=e._offline[t]||{},e._offline[t]}function a(e){return e._offline=e._offline||[],Object.keys(e._offline)}function u(e,t){return void 0!==s(e,t)}function s(e,t){return i(e,t).database}function c(e,t,n){return e._offline[t].database=n,s(e,t)}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return F||(C.default.plugin(P.default),"undefined"!=typeof pouchdbAdapterCordovaSqlite&&C.default.plugin(pouchdbAdapterCordovaSqlite),F=!0),u(e,t)?Promise.resolve(s(e,t)):(c(e,t,new C.default(t,n)),h(e,t).then(function(){return s(e,t)}))}function l(e,t){return u(e,t)?x(e,t).then(function(){return w(e,t)}).then(function(){return s(e,t).destroy()}).then(function(n){return c(e,t,void 0),n}):Promise.resolve(!1)}function d(e){var t=a(e),n=function(t){return l(e,t)};return Promise.all(t.map(n))}function h(e,t){return t===j.DOCTYPE_FILES?s(e,t).createIndex({index:{fields:["dir_id"]}}):Promise.resolve()}function p(e,t){return void 0!==v(e,t)}function v(e,t){return i(e,t).replication}function y(e,t,n){return e._offline[t].replication=n,v(e,t)}function g(e,t){return e.authorize().then(function(n){var r=n.token.toBasicAuth();return(e._url+"/data/"+t).replace("//","//"+r)})}function m(e,t){return i(e,t).replicationPromise}function _(e,t,n){return e._offline[t].replicationPromise=n,m(e,t)}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return _(e,t,new Promise(function(r,o){return u(e,t)||f(e,t),n.live===!0?o(new Error("You can't use `live` option with Cozy couchdb.")):(0,q.isOffline)()?(o(L),void(n.onError&&n.onError(L))):void g(e,t).then(function(i){return y(e,t,s(e,t).replicate.from(i,n).on("complete",function(o){y(e,t,void 0),r(o),n.onComplete&&n.onComplete(o)}).on("error",function(r){"code=400, message=Expired token"===r.error?e.authorize().then(function(r){var o=r.client,i=r.token;(0,I.refreshToken)(e,o,i).then(function(t){return e.saveCredentials(o,t)}).then(function(r){return b(e,t,n)})}):(console.warn("ReplicateFromCozy '"+t+"' Error:"),console.warn(r),y(e,t,void 0),o(r),n.onError&&n.onError(r))}))})}))}function w(e,t){return s(e,t)&&p(e,t)?new Promise(function(n){try{m(e,t).then(function(){n()}),v(e,t).cancel()}catch(e){n()}}):Promise.resolve()}function E(e){var t=a(e),n=function(t){return w(e,t)};return Promise.all(t.map(n))}function k(e,t){return i(e,t).interval}function S(e,t,n){e._offline[t].interval=n}function O(e,t){return void 0!==k(e,t)}function A(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return O(e,t)?k(e,t):S(e,t,setInterval(function(){return(0,q.isOffline)()?void console.info(L):void(p(e,t)||b(e,t,r))},1e3*n))}function x(e,t){return O(e,t)&&(clearInterval(k(e,t)),S(e,t,void 0)),p(e,t)?w(e,t):Promise.resolve()}function T(e){var t=a(e),n=function(t){return x(e,t)};return Promise.all(t.map(n))}Object.defineProperty(t,"__esModule",{value:!0}),t.replicationOfflineError=void 0,t.init=o,t.getDoctypes=a,t.hasDatabase=u,t.getDatabase=s,t.setDatabase=c,t.createDatabase=f,t.destroyDatabase=l,t.destroyAllDatabase=d,t.hasReplication=p,t.replicateFromCozy=b,t.stopReplication=w,t.stopAllReplication=E,t.hasRepeatedReplication=O,t.startRepeatedReplication=A,t.stopRepeatedReplication=x,t.stopAllRepeatedReplication=T;var j=n(5),I=n(8),q=n(3),R=n(53),C=r(R),D=n(51),P=r(D),L=t.replicationOfflineError="Replication abort, your device is actually offline.",F=!1},function(e,t,n){"use strict";function r(e){return function(t,n,r){if(!n)throw new Error("missing doc argument");Array.isArray(r)||(r=[r]);var o=r.map(function(e){return{type:s.DOCTYPE_FILES,id:e}});return(0,u.cozyFetchJSON)(t,e,a(n),{data:o})}}function o(e,t){if(!t)throw new Error("missing doc argument");return(0,u.cozyFetchJSON)(e,"GET",a(t)).then(function(e){return e.map(function(e){return e._id})})}function i(e,t,n){if(!t)throw new Error("missing doc argument");var r=Object.keys(n).map(function(e){return"&page["+e+"]="+n[e]}).join("");return(0,u.cozyFetchRawJSON)(e,"GET",a(t)+"?include=files&sort=datetime"+r)}function a(e){var t=encodeURIComponent(e._type),n=encodeURIComponent(e._id);return"/data/"+t+"/"+n+"/relationships/references"}Object.defineProperty(t,"__esModule",{value:!0}),t.removeReferencedFiles=t.addReferencedFiles=void 0,t.listReferencedFiles=o,t.fetchReferencedFiles=i;var u=n(1),s=n(5);t.addReferencedFiles=r("POST"),t.removeReferencedFiles=r("DELETE")},function(e,t,n){"use strict";function r(e){return(0,f.cozyFetchJSON)(e,"GET","/settings/disk-usage")}function o(e,t,n){return(0,f.cozyFetchJSON)(e,"PUT","/settings/passphrase",{current_passphrase:t,new_passphrase:n})}function i(e){return(0,f.cozyFetchJSON)(e,"GET","/settings/instance")}function a(e,t){return(0,f.cozyFetchJSON)(e,"PUT","/settings/instance",t)}function u(e){return(0,f.cozyFetchJSON)(e,"GET","/settings/clients")}function s(e,t){return(0,f.cozyFetchJSON)(e,"DELETE","/settings/clients/"+t)}function c(e){return(0,f.cozyFetchJSON)(e,"POST","/settings/synchronized")}Object.defineProperty(t,"__esModule",{value:!0}),t.diskUsage=r,t.changePassphrase=o,t.getInstance=i,t.updateInstance=a,t.getClients=u,t.deleteClientById=s,t.updateLastSync=c;var f=n(1)},function(e,t){function n(e){if(e=String(e),!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*f;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*s;case"minutes":case"minute":case"mins":case"min":case"m":return n*u;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=c?Math.round(e/c)+"d":e>=s?Math.round(e/s)+"h":e>=u?Math.round(e/u)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function o(e){return i(e,c,"day")||i(e,s,"hour")||i(e,u,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,n){if(!(e0)return n(e);if("number"===i&&isNaN(e)===!1)return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function o(e){function n(){if(n.enabled){var e=n,r=+new Date,o=r-(c||r);e.diff=o,e.prev=c,e.curr=r,c=r;for(var i=new Array(arguments.length),a=0;a0&&this._events[e].length>o&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),o||(o=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var o=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,o,a,u;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,o=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(u=a;u-- >0;)if(n[u]===t||n[u].listener&&n[u].listener===t){o=u;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t){var n=Array.isArray,r=Object.prototype.toString;e.exports=n||function(e){return!!e&&"[object Array]"==r.call(e)}},function(e,t,n){n(58),e.exports=self.fetch.bind(self)},function(e,t){"use strict";function n(e,t,n){for(var r="",o=n-e.length;r.length0?e.slice(n):e}function c(e){var t=e.value,n=t&&"object"==typeof t&&t._id||e.id;return n}function f(e,t){try{e.emit("error",t)}catch(e){console.error("The user's map/reduce function threw an uncaught error.\nYou can debug this error by doing:\nmyDatabase.on('error', function (err) { debugger; });\nPlease double-check your map/reduce function."),console.error(t)}}function l(e,t,n){try{return{output:t.apply(null,n)}}catch(t){return f(e,t),{error:t}}}function d(e,t){var n=e.descending?"endkey":"startkey",o=e.descending?"startkey":"endkey";if("undefined"!=typeof e[n]&&"undefined"!=typeof e[o]&&m(e[n],e[o])>0)throw new r("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(t.reduce&&e.reduce!==!1){if(e.include_docs)throw new r("{include_docs:true} is invalid for reduce");if(e.keys&&e.keys.length>1&&!e.group&&!e.group_level)throw new r("Multi-key fetches for reduce views must use {group: true}")}if(e.group_level){if("number"!=typeof e.group_level)throw new r('Invalid value for integer: "'+e.group_level+'"');if(e.group_level<0)throw new r('Invalid value for positive integer: "'+e.group_level+'"')}}function h(e){return function(t){if(404===t.status)return e;throw t}}function p(e){function n(e,t,n){function r(){return a(l)?k.resolve(s):t.db.get(u).catch(h(s))}function o(e){return e.keys.length?t.db.allDocs({keys:e.keys,include_docs:!0}):k.resolve({rows:[]})}function i(e,t){for(var n=[],r={},o=0,i=t.rows.length;oa?n.slice(0,a):n),t&&0===m(t.key[0][0],n)?(t.key.push([n,e.id]),void t.value.push(e.value)):void i.push({key:[[n,e.id]],value:[e.value]})});for(var u=0,c=i.length;un))return e.doc.value}var r=y.parseIndexableString(e.doc._id);return{key:r[0],id:r[1],value:"value"in e.doc?e.doc.value:null}})})}function r(n){var r;if(r=i?x(e,n,t):{total_rows:o,offset:a,rows:n},t.include_docs){var u=E.uniq(n.map(c));return e.sourceDB.allDocs({keys:u,include_docs:!0,conflicts:t.conflicts,attachments:t.attachments,binary:t.binary}).then(function(e){var t={};return e.rows.forEach(function(e){e.doc&&(t["$"+e.id]=e.doc)}),n.forEach(function(e){var n=c(e),r=t["$"+n];r&&(e.doc=r)}),r})}return r}var o,i=e.reduceFun&&t.reduce!==!1,a=t.skip||0;"undefined"==typeof t.keys||t.keys.length||(t.limit=0,delete t.keys);var u=function(e){return e.reduce(function(e,t){return e.concat(t)})};if("undefined"!=typeof t.keys){var s=t.keys,f=s.map(function(e){var t={startkey:_([e]),endkey:_([e,{}])};return n(t)});return k.all(f).then(u).then(r)}var l={descending:t.descending};if("undefined"!=typeof t.startkey&&(l.startkey=_(t.descending?[t.startkey,{}]:[t.startkey])),"undefined"!=typeof t.endkey){var d=t.inclusive_end!==!1;t.descending&&(d=!d),l.endkey=_(d?[t.endkey,{}]:[t.endkey])}if("undefined"!=typeof t.key){var h=_([t.key]),p=_([t.key,{}]);l.descending?(l.endkey=h,l.startkey=p):(l.startkey=h,l.endkey=p)}return i||("number"==typeof t.limit&&(l.limit=t.limit),l.skip=a),n(l).then(r)}function I(e){return e.get("_local/"+R).then(function(t){var n={};Object.keys(t.views).forEach(function(e){var t=i(e),r="_design/"+t[0],o=t[1];n[r]=n[r]||{},n[r][o]=!0});var r={keys:Object.keys(n),include_docs:!0};return e.allDocs(r).then(function(r){var o={};r.rows.forEach(function(e){var r=e.key.substring(8);Object.keys(n[e.key]).forEach(function(n){var i=r+"/"+n;t.views[i]||(i=n);var a=Object.keys(t.views[i]),u=e.doc&&e.doc.views&&e.doc.views[n];a.forEach(function(e){o[e]=o[e]||u})})});var i=Object.keys(o).filter(function(e){return!o[e]}),a=i.map(function(t){return E.sequentialize(f(t),function(){return new e.constructor(t,e.__opts).destroy()})()});return k.all(a).then(function(){return{ok:!0}})})},h({ok:!0}))}function q(e,n,r){if("string"!=typeof n){d(r,n);var a={db:e,viewName:"temp_view/temp_view",map:n.map,reduce:n.reduce,temporary:!0,pluginName:R};return O.add(function(){return w(a).then(function(e){function t(){return e.db.destroy()}return E.fin(p(e).then(function(){return T(e,r)}),t)})}),O.finish()}var u=n,s=i(u),c=s[0],f=s[1];return e.get("_design/"+c).then(function(n){var i=n.views&&n.views[f];if(!i)throw new o("ddoc "+n._id+" has no view named "+f);P(n,f),d(r,i);var a={db:e,viewName:u,map:i.map,reduce:i.reduce,pluginName:R};return w(a).then(function(e){return"ok"===r.stale||"update_after"===r.stale?("update_after"===r.stale&&t.nextTick(function(){p(e)}),T(e,r)):p(e).then(function(){return T(e,r)})})})}var R=e.name,C=e.mapper,D=e.reducer,P=e.ddocValidator,L=function(e,t,n){var r=this;"function"==typeof t&&(n=t,t={}),t=E.extend(!0,{},t),"function"==typeof e&&(e={map:e});var o=k.resolve().then(function(){return q(r,e,t)});return E.promisedCallback(o,n),o},F=E.callbackify(function(){var e=this; +return I(e)});return{query:L,viewCleanup:F}}var v,y=n(7),g=n(43),m=y.collate,_=y.toIndexableString,b=y.normalizeKey,w=n(41);v="undefined"!=typeof console&&"function"==typeof console.log?Function.prototype.bind.call(console.log,console):function(){};var E=n(11),k=E.Promise,S={},O=new g,A=50;E.inherits(r,Error),E.inherits(o,Error),e.exports=p}).call(t,n(6))},function(e,t,n){"use strict";function r(){this.promise=new o(function(e){e()})}var o=n(11).Promise;r.prototype.add=function(e){return this.promise=this.promise.catch(function(){}).then(function(){return e()}),this.promise},r.prototype.finish=function(){return this.promise},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){t=u(t),e.request({method:"POST",url:"_index",body:t},n)}function o(e,t,n){e.request({method:"POST",url:"_find",body:t},n)}function i(e,t){e.request({method:"GET",url:"_index"},t)}function a(e,t,n){var r=t.ddoc,o=t.type||"json",i=t.name;if(!r)return n(new Error("you must provide an index's ddoc"));if(!i)return n(new Error("you must provide an index's name"));var a="_index/"+[r,o,i].map(encodeURIComponent).join("/");e.request({method:"DELETE",url:a},n)}var u=n(20);t.createIndex=r,t.find=o,t.getIndexes=i,t.deleteIndex=a},function(e,t,n){"use strict";function r(e,t,n){return u.upsert.call(e,t,n)}function o(e,t){function n(e){return e._rev&&"query"!==e.language&&(v=!0),e.language="query",e.views=e.views||{},!(y=!!e.views[c])&&(e.views[c]={map:{fields:i.mergeObjects(t.index.fields)},reduce:"_count",options:{def:o}},e)}t=d(t);var o=i.clone(t.index);t.index=l(t.index),f(t.index);var u=i.MD5(JSON.stringify(t)),c=t.name||"idx-"+u,h=t.ddoc||"idx-"+u,p="_design/"+h,v=!1,y=!1;return a("creating index",p),r(e,p,n).then(function(){if(v)throw new Error('invalid language for ddoc with id "'+p+'" (should be "query")')}).then(function(){var t=h+"/"+c;return s.query.call(e,t,{limit:0,reduce:!1}).then(function(){return{id:p,name:c,result:y?"exists":"created"}})})}var i=n(2),a=i.log,u=n(23),s=n(12),c=n(4),f=c.validateIndex,l=c.massageIndexDef,d=n(20);e.exports=o},function(e,t,n){"use strict";function r(e,t){function n(e){return 1===Object.keys(e.views).length&&e.views[a]?{_id:r,_deleted:!0}:(delete e.views[a],e)}if(!t.ddoc)throw new Error("you must supply an index.ddoc when deleting");if(!t.name)throw new Error("you must supply an index.name when deleting");var r=t.ddoc,a=t.name;return i(e,r,n).then(function(){return o.viewCleanup.apply(e)}).then(function(){return{ok:!0}})}var o=n(12),i=n(18);e.exports=r},function(e,t,n){"use strict";function r(e){function t(t){return e.map(function(e){var n=w(e),r=k(n),o=O(t,r);return o})}return function(e,n){var r=t(e.doc),o=t(n.doc),i=m(r,o);return 0!==i?i:S.compare(e.doc._id,n.doc._id)}}function o(e,t,n){if(e=e.filter(function(e){return i(e.doc,t.selector,n)}),t.sort){var o=r(t.sort);e=e.sort(o),"string"!=typeof t.sort[0]&&"desc"===E(t.sort[0])&&(e=e.reverse())}if("limit"in t||"skip"in t){var a=t.skip||0,u=("limit"in t?t.limit:e.length)+a;e=e.slice(a,u)}return e}function i(e,t,n){return n.every(function(n){var r=t[n],o=k(n),i=O(e,o);return b(n)?u(n,r,e):a(r,e,o,i)})}function a(e,t,n,r){return!e||Object.keys(e).every(function(o){var i=e[o];return s(o,t,i,n,r)})}function u(e,t,n){return"$or"===e?t.some(function(e){return i(n,e,Object.keys(e))}):"$not"===e?!i(n,t,Object.keys(t)):!t.find(function(e){return i(n,e,Object.keys(e))})}function s(e,t,n,r,o){if(!A[e])throw new Error('unknown operator "'+e+'" - should be one of $eq, $lte, $lt, $gt, $gte, $exists, $ne, $in, $nin, $size, $mod, $regex, $elemMatch, $type or $all');return A[e](t,n,r,o)}function c(e){return"undefined"!=typeof e&&null!==e}function f(e){return"undefined"!=typeof e}function l(e,t){var n=t[0],r=t[1];if(0===n)throw new Error("Bad divisor, cannot divide by zero");if(parseInt(n,10)!==n)throw new Error("Divisor is not an integer");if(parseInt(r,10)!==r)throw new Error("Modulus is not an integer");return parseInt(e,10)===e&&e%n===r}function d(e,t){return t.some(function(t){return e instanceof Array?e.indexOf(t)>-1:e===t})}function h(e,t){return t.every(function(t){return e.indexOf(t)>-1})}function p(e,t){return e.length===t}function v(e,t){var n=new RegExp(t);return n.test(e)}function y(e,t){switch(t){case"null":return null===e;case"boolean":return"boolean"==typeof e;case"number":return"number"==typeof e;case"string":return"string"==typeof e;case"array":return e instanceof Array;case"object":return"[object Object]"==={}.toString.call(e)}throw new Error(t+" not supported as a type.Please use one of object, string, array, number, boolean or null.")}var g=n(38),m=n(7).collate,_=n(4),b=_.isCombinationalField,w=_.getKey,E=_.getValue,k=_.parseField,S=n(2),O=S.getFieldFromDoc,A={$elemMatch:function(e,t,n,r){return!!g(r)&&(0!==r.length&&("object"==typeof r[0]?r.some(function(e){return i(e,t,Object.keys(t))}):r.some(function(r){return a(t,e,n,r)})))},$eq:function(e,t,n,r){return f(r)&&0===m(r,t)},$gte:function(e,t,n,r){return f(r)&&m(r,t)>=0},$gt:function(e,t,n,r){return f(r)&&m(r,t)>0},$lte:function(e,t,n,r){return f(r)&&m(r,t)<=0},$lt:function(e,t,n,r){return f(r)&&m(r,t)<0},$exists:function(e,t,n,r){return t?f(r):!f(r)},$mod:function(e,t,n,r){return c(r)&&l(r,t)},$ne:function(e,t,n,r){return t.every(function(e){return 0!==m(r,e)})},$in:function(e,t,n,r){return c(r)&&d(r,t)},$nin:function(e,t,n,r){return c(r)&&!d(r,t)},$size:function(e,t,n,r){return c(r)&&p(r,t)},$all:function(e,t,n,r){return g(r)&&h(r,t)},$regex:function(e,t,n,r){return c(r)&&v(r,t)},$type:function(e,t,n,r){return y(r,t)}};e.exports=o},function(e,t,n){"use strict";function r(e){return e.ddoc.substring(8)+"/"+e.name}function o(e,t){var n=u(t);return n.descending?("endkey"in n&&"string"!=typeof n.endkey&&(n.endkey=""),"startkey"in n&&"string"!=typeof n.startkey&&(n.limit=0)):("startkey"in n&&"string"!=typeof n.startkey&&(n.startkey=""),"endkey"in n&&"string"!=typeof n.endkey&&(n.limit=0)),"key"in n&&"string"!=typeof n.key&&(n.limit=0),e.allDocs(n)}function i(e,t){return t.selector&&(t.selector=p(t.selector)),t.sort&&(t.sort=v(t.sort)),g(t),s(e).then(function(n){var i=l(t,n.indexes),u=i.index;m(t,u);var s=a.extend(!0,{include_docs:!0,reduce:!1},i.queryOpts);if("startkey"in s&&"endkey"in s&&c(s.startkey,s.endkey)>0)return{docs:[]};var d=t.sort&&"string"!=typeof t.sort[0]&&"desc"===y(t.sort[0]);return d&&(s.descending=!0,s=_(s)),i.inMemoryFields.length||("limit"in t&&(s.limit=t.limit),"skip"in t&&(s.skip=t.skip)),w.resolve().then(function(){if("_all_docs"===u.name)return o(e,s);var t=r(u);return f.query.call(e,t,s)}).then(function(e){s.inclusive_start===!1&&(e.rows=b(e.rows,s.startkey,u)),i.inMemoryFields.length&&(e.rows=h(e.rows,t,i.inMemoryFields));var n={docs:e.rows.map(function(e){var n=e.doc;return t.fields?a.pick(n,t.fields):n})};return u.defaultUsed&&(n.warning="no matching index found, create an index to optimize query time"),n})})}var a=n(2),u=a.clone,s=n(19),c=n(7).collate,f=n(12),l=n(49),d=n(4),h=n(47),p=d.massageSelector,v=d.massageSort,y=d.getValue,g=d.validateFindRequest,m=d.validateSort,_=d.reverseOptions,b=d.filterInclusiveStart,w=a.Promise;e.exports=i},function(e,t,n){"use strict";function r(e,t){for(var n=e.def.fields.map(O),r=0,o=n.length;r0){if("$ne"in d){n(c);break}var h="$gt"in d||"$gte"in d||"$lt"in d||"$lte"in d,p=Object.keys(e[i[c-1]]),v=E.arrayEquals(p,["$eq"]),y=E.arrayEquals(p,Object.keys(d)),m=h&&!v&&!y;if(m){n(c);break}}for(var _=Object.keys(d),b=null,w=0;w<_.length;w++){var k=_[w],S=d[k],A=g(k,S);b=b?E.mergeObjects([b,A]):A}u.push("startkey"in b?b.startkey:x),s.push("endkey"in b?b.endkey:T),"inclusive_start"in b&&(r=b.inclusive_start),"inclusive_end"in b&&(o=b.inclusive_end)}var j={startkey:u,endkey:s};return"undefined"!=typeof r&&(j.inclusive_start=r),"undefined"!=typeof o&&(j.inclusive_end=o),{queryOpts:j,inMemoryFields:a}}function _(){return{queryOpts:{startkey:null},inMemoryFields:[]}}function b(e,t){return t.defaultUsed?_(e,t):1===t.def.fields.length?y(e,t):m(e,t)}function w(e,t){k("planning query",e);var n=e.selector,r=e.sort,o=A(n,r),i=o.fields,a=o.sortOrder,u=p(n,i,a,t),c=b(n,u),f=c.queryOpts,l=c.inMemoryFields,d=s(l,u,n,i),h={queryOpts:f,index:u,inMemoryFields:d};return k("query plan",h),h}var E=n(2),k=E.log,S=n(4),O=S.getKey,A=S.getUserFields,x=null,T={"￿":{}},j=["$eq","$gt","$gte","$lt","$lte"];e.exports=w},function(e,t,n){"use strict";var r=n(2),o=r.callbackify;t.createIndex=o(n(45)),t.find=o(n(48)),t.getIndexes=o(n(19)),t.deleteIndex=o(n(46))},function(e,t,n){"use strict";var r=n(2),o=n(44),i=n(50),a={};a.createIndex=r.toPromise(function(e,t){if("object"!=typeof e)return t(new Error("you must provide an index to create"));var n="http"===this.type()?o:i;n.createIndex(this,e,t)}),a.find=r.toPromise(function(e,t){if("undefined"==typeof t&&(t=e,e=void 0),"object"!=typeof e)return t(new Error("you must provide search parameters to find()"));var n="http"===this.type()?o:i;n.find(this,e,t)}),a.getIndexes=r.toPromise(function(e){var t="http"===this.type()?o:i;t.getIndexes(this,e)}),a.deleteIndex=r.toPromise(function(e,t){if("object"!=typeof e)return t(new Error("you must provide an index to delete"));var n="http"===this.type()?o:i;n.deleteIndex(this,e,t)}),e.exports=a,"undefined"!=typeof window&&window.PouchDB&&window.PouchDB.plugin(a)},21,function(e,t,n){(function(t){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}function o(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer||"undefined"!=typeof Blob&&e instanceof Blob}function i(e){if("function"==typeof e.slice)return e.slice(0);var t=new ArrayBuffer(e.byteLength),n=new Uint8Array(t),r=new Uint8Array(e);return n.set(r),t}function a(e){if(e instanceof ArrayBuffer)return i(e);var t=e.size,n=e.type;return"function"==typeof e.slice?e.slice(0,t,n):e.webkitSlice(0,t,n)}function u(e){var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=t.constructor;return"function"==typeof n&&n instanceof n&&no.call(n)==ro}function s(e){var t,n,r;if(!e||"object"!=typeof e)return e;if(Array.isArray(e)){for(t=[],n=0,r=e.length;n=p.length)){var e=Math.min(v+so,p.length),t=p.slice(v,e);u(t,v),v+=t.length}}function u(n,r){n.forEach(function(n,o){var u=r+o,s=c.get(n),f=d(s[0],["atts_since","attachments"]);f.open_revs=s.map(function(e){return e.rev}),f.open_revs=f.open_revs.filter(m);var l=m;0===f.open_revs.length&&(delete f.open_revs,l=_),["revs","attachments","binary","ajax","latest"].forEach(function(e){e in t&&(f[e]=t[e])}),e.get(n,f,function(e,t){var r;r=e?[{error:e}]:l(t),i(u,n,r),a()})})}var s=t.docs,c=new ao;s.forEach(function(e){c.has(e.id)?c.get(e.id).push(e):c.set(e.id,[e])});var f=c.size,l=0,h=new Array(f),p=[];c.forEach(function(e,t){p.push(t)});var v=0;a()}function w(){return"undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage&&"undefined"!=typeof chrome.storage.local}function E(){return uo}function k(e){w()?chrome.storage.onChanged.addListener(function(t){null!=t.db_name&&e.emit(t.dbName.newValue)}):E()&&("undefined"!=typeof addEventListener?addEventListener("storage",function(t){e.emit(t.key)}):window.attachEvent("storage",function(t){e.emit(t.key)}))}function S(){Wr.EventEmitter.call(this),this._listeners={},k(this)}function O(e){if("undefined"!==console&&e in console){var t=Array.prototype.slice.call(arguments,1);console[e].apply(console,t)}}function A(e,t){var n=6e5;e=parseInt(e,10)||0,t=parseInt(t,10),t!==t||t<=e?t=(e||1)<<1:t+=1,t>n&&(e=n>>1,t=n);var r=Math.random(),o=t-e;return~~(o*r+e)}function x(e){var t=0;return e||(t=2e3),A(e,t)}function T(e,t){O("info","The above "+e+" is totally normal. "+t)}function j(e,t,n){Error.call(this,n),this.status=e,this.name=t,this.message=n,this.error=!0}function I(e,t){function n(t){for(var n in e)"function"!=typeof e[n]&&(this[n]=e[n]);void 0!==t&&(this.reason=t)}return n.prototype=j.prototype,new n(t)}function q(e){if("object"!=typeof e){var t=e;e=_o,e.data=t}return"error"in e&&"conflict"===e.error&&(e.name="conflict",e.status=409),"name"in e||(e.name=e.error||"unknown"),"status"in e||(e.status=500),"message"in e||(e.message=e.message||e.reason),e}function R(e,t,n){try{return!e(t,n)}catch(e){var r="Filter function threw: "+e.toString();return I(ko,r)}}function C(e){var t={},n=e.filter&&"function"==typeof e.filter;return t.query=e.query_params,function(r){r.doc||(r.doc={});var o=n&&R(e.filter,r.doc,t);if("object"==typeof o)return o;if(o)return!1;if(e.include_docs){if(!e.attachments)for(var i in r.doc._attachments)r.doc._attachments.hasOwnProperty(i)&&(r.doc._attachments[i].stub=!0)}else delete r.doc;return!0}}function D(e){for(var t=[],n=0,r=e.length;n>>1,n(e[r],t)<0?o=r+1:i=r;return o}function ee(e,t,n){var r=Z(e,t,n);e.splice(r,0,t)}function te(e,t){for(var n,r,o=t,i=e.length;o0;){var o=n.pop(),i=o.tree1,a=o.tree2;(i[1].status||a[1].status)&&(i[1].status="available"===i[1].status||"available"===a[1].status?"available":"missing");for(var u=0;u0;){var v=p.pop();if(0!==v.diff)for(var y=v.ids[2],g=0,m=y.length;g0&&o.emit("error",t):o.emit("complete",n),o.removeAllListeners(),e.removeListener("destroyed",r)});n&&(o.on("complete",function(e){n(null,e)}),o.on("error",n)),e.once("destroyed",r),t.onChange=function(e){o.isCancelled||pe(o,e)};var a=new to(function(e,n){t.complete=function(t,r){t?n(t):e(r)}});o.once("cancel",function(){e.removeListener("destroyed",r),t.complete(null,{status:"cancelled"})}),this.then=a.then.bind(a),this.catch=a.catch.bind(a),this.then(function(e){i(null,e)},i),e.taskqueue.isReady?o.doChanges(t):e.taskqueue.addTask(function(e){e?t.complete(e):o.isCancelled?o.emit("cancel"):o.doChanges(t)})}function ye(e,t,n){var r=[{rev:e._rev}];"all_docs"===n.style&&(r=G(t.rev_tree).map(function(e){return{rev:e.rev}}));var o={id:t.id,changes:r,doc:e};return ce(t,e._rev)&&(o.deleted=!0),n.conflicts&&(o.doc._conflicts=W(t),o.doc._conflicts.length||delete o.doc._conflicts),o}function ge(e,t){return et?1:0}function me(e){return function(t,n){t||n[0]&&n[0].error?e(t||n[0]):e(null,n.length?n[0]:n)}}function _e(e){for(var t=0;t0?t.keys.slice(t.skip):t.keys;if(t.descending&&r.reverse(),!r.length)return e._allDocs({limit:0},n);var o={offset:t.skip};return to.all(r.map(function(n){var r=fo({key:n,deleted:"ok"},t);return["limit","skip","keys"].forEach(function(e){delete r[e]}),new to(function(t,i){e._allDocs(r,function(e,r){return e?i(e):(o.total_rows=r.total_rows,void t(r.rows[0]||{key:n,error:"not_found"}))})})})).then(function(e){return o.rows=e,o})}function ke(e){var t=e._compactionQueue[0],n=t.opts,r=t.callback;e.get("_local/compaction").catch(function(){return!1}).then(function(t){t&&t.last_seq&&(n.last_seq=t.last_seq),e._compact(n,function(t,n){t?r(t):r(null,n),Qr(function(){e._compactionQueue.shift(),e._compactionQueue.length&&ke(e)})})})}function Se(e){return"_"===e.charAt(0)&&e+"is not a valid attachment name, attachment names cannot start with '_'"}function Oe(){Wr.EventEmitter.call(this)}function Ae(){this.isReady=!1,this.failed=!1,this.queue=[]}function xe(e,t){var n=e.match(/([a-z\-]*):\/\/(.*)/);if(n)return{name:/https?/.test(n[1])?n[1]+"://"+n[2]:n[2],adapter:n[1]};var r=je.adapters,o=je.preferredAdapters,i=je.prefix,a=t.adapter;if(!a)for(var u=0;u0||r0||r1&&!n;d?(l={continue:u},e.getAll(t,r).onsuccess=i,e.getAllKeys(t,r).onsuccess=a):n?e.openCursor(t,"prev").onsuccess=s:e.openCursor(t).onsuccess=s}function gt(e,t,n){function r(e){var t=e.target.result;t?(o.push(t.value),t.continue()):n({target:{result:o}})}if("function"==typeof e.getAll)return void(e.getAll(t).onsuccess=n);var o=[];e.openCursor(t).onsuccess=r}function mt(e,t,n,r,o){try{if(e&&t)return o?IDBKeyRange.bound(t,e,!n,!1):IDBKeyRange.bound(e,t,!1,!n);if(e)return o?IDBKeyRange.upperBound(e):IDBKeyRange.lowerBound(e);if(t)return o?IDBKeyRange.lowerBound(t,!n):IDBKeyRange.upperBound(t,!n);if(r)return IDBKeyRange.only(r)}catch(e){return{error:e}}return null}function _t(e,t,n){function r(t,n,r){var o=t.id+"::"+r;O.get(o).onsuccess=function(r){if(n.doc=ct(r.target.result),e.conflicts){var o=W(t);o.length&&(n.doc._conflicts=o)}lt(n.doc,e,b)}}function o(t,n){var o={id:n.id,key:n.id,value:{rev:t}},i=n.deleted;"ok"===e.deleted?(A.push(o),i?(o.value.deleted=!0,o.doc=null):e.include_docs&&r(n,o,t)):!i&&h--<=0&&(A.push(o),e.include_docs&&r(n,o,t))}function i(e){for(var t=0,n=e.length;t=43)},e.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)}}).catch(function(){return!1})}function wt(e,t){var n=e.objectStore(Vo).index("deletedOrLocal");n.count(IDBKeyRange.only("0")).onsuccess=function(e){t(e.target.result)}}function Et(e,t,n,r){try{e(t,n)}catch(e){r.emit("error",e)}}function kt(){!Zo&&ei.length&&(Zo=!0,ei.shift()())}function St(e,t,n){ei.push(function(){e(function(e,r){Et(t,e,r,n),Zo=!1,Qr(function(){kt(n)})})}),kt()}function Ot(e,t,n,r){function o(t,n,r){function o(t,n){var r=e.processChange(n,t,e);d=r.seq=t.seq;var o=w(r);return"object"==typeof o?e.complete(o):void(o&&(b++,p&&_.push(r),e.attachments&&e.include_docs?lt(n,e,v,function(){dt([r],e.binary).then(function(){e.onChange(r)})}):e.onChange(r)))}function i(){for(var e=0,t=u.length;eo&&(o=n),t.continue()}}function i(){var e=ut(u,u.winningRev,u.deleted),t=r.put(e);t.onsuccess=function(){a.continue()}}var a=e.target.result;if(a){var u=t(a.value);return u.winningRev=u.winningRev||V(u),u.seq?i():void o()}}}var l=t.name,d=null;e._meta=null,e.type=function(){return"idb"},e._id=f(function(t){t(null,e._meta.instanceId)}),e._bulkDocs=function(n,r,o){vt(t,n,r,e,d,o)},e._get=function(e,t,n){function r(){n(a,{doc:o,metadata:i,ctx:u})}var o,i,a,u=t.ctx;if(!u){var s=pt(d,[Vo,Ho,Ko],"readonly");if(s.error)return n(s.error);u=s.txn}u.objectStore(Vo).get(e).onsuccess=function(e){if(i=st(e.target.result),!i)return a=I(po,"missing"),r();var n;if(t.rev)n=t.latest?le(t.rev,i):t.rev;else{n=i.winningRev;var s=ce(i);if(s)return a=I(po,"deleted"),r()}var c=u.objectStore(Ho),f=i.id+"::"+n;c.index("_doc_id_rev").get(f).onsuccess=function(e){return o=e.target.result,o&&(o=ct(o)),o?void r():(a=I(po,"missing"),r())}}},e._getAttachment=function(e,t,n,r,o){var i;if(r.ctx)i=r.ctx;else{var a=pt(d,[Vo,Ho,Ko],"readonly");if(a.error)return o(a.error);i=a.txn}var u=n.digest,s=n.content_type;i.objectStore(Ko).get(u).onsuccess=function(e){var t=e.target.result.body;ft(t,s,r.binary,function(e){o(null,e)})}},e._info=function(t){var n,r,o=pt(d,[Wo,Ho],"readonly");if(o.error)return t(o.error);var i=o.txn;i.objectStore(Wo).get(Wo).onsuccess=function(e){r=e.target.result.docCount},i.objectStore(Ho).openCursor(null,"prev").onsuccess=function(e){var t=e.target.result;n=t?t.key:0},i.oncomplete=function(){t(null,{doc_count:r,update_seq:n,idb_attachment_format:e._meta.blobSupport?"binary":"base64"})}},e._allDocs=function(e,t){_t(e,d,t)},e._changes=function(t){Ot(t,e,l,d)},e._close=function(e){d.close(),ti.delete(l),e()},e._getRevisionTree=function(e,t){var n=pt(d,[Vo],"readonly");if(n.error)return t(n.error);var r=n.txn,o=r.objectStore(Vo).get(e);o.onsuccess=function(e){var n=st(e.target.result);n?t(null,n.rev_tree):t(I(po))}},e._doCompaction=function(e,t,n){var r=[Vo,Ho,Ko,Go],o=pt(d,r,"readwrite");if(o.error)return n(o.error);var i=o.txn,a=i.objectStore(Vo);a.get(e).onsuccess=function(n){var r=st(n.target.result);H(r.rev_tree,function(e,n,r,o,i){var a=n+"-"+r;t.indexOf(a)!==-1&&(i.status="missing")}),ht(t,e,i);var o=r.winningRev,a=r.deleted;i.objectStore(Vo).put(ut(r,o,a))},i.onabort=at(n),i.oncomplete=function(){n()}},e._getLocal=function(e,t){var n=pt(d,[Xo],"readonly");if(n.error)return t(n.error);var r=n.txn,o=r.objectStore(Xo).get(e);o.onerror=at(t),o.onsuccess=function(e){var n=e.target.result;n?(delete n._doc_id_rev,t(null,n)):t(I(po))}},e._putLocal=function(e,t,n){"function"==typeof t&&(n=t,t={}),delete e._revisions;var r=e._rev,o=e._id;r?e._rev="0-"+(parseInt(r.split("-")[1],10)+1):e._rev="0-1";var i,a=t.ctx;if(!a){var u=pt(d,[Xo],"readwrite");if(u.error)return n(u.error);a=u.txn,a.onerror=at(n),a.oncomplete=function(){i&&n(null,i)}}var s,c=a.objectStore(Xo);r?(s=c.get(o),s.onsuccess=function(o){var a=o.target.result;if(a&&a._rev===r){var u=c.put(e);u.onsuccess=function(){i={ok:!0,id:e._id,rev:e._rev},t.ctx&&n(null,i)}}else n(I(vo))}):(s=c.add(e),s.onerror=function(e){n(I(vo)),e.preventDefault(),e.stopPropagation()},s.onsuccess=function(){i={ok:!0,id:e._id,rev:e._rev},t.ctx&&n(null,i)})},e._removeLocal=function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.ctx;if(!r){var o=pt(d,[Xo],"readwrite");if(o.error)return n(o.error);r=o.txn,r.oncomplete=function(){i&&n(null,i)}}var i,a=e._id,u=r.objectStore(Xo),s=u.get(a);s.onerror=at(n),s.onsuccess=function(r){var o=r.target.result;o&&o._rev===e._rev?(u.delete(a),i={ok:!0,id:a,rev:"0-0"},t.ctx&&n(null,i)):n(I(po))}},e._destroy=function(e,t){Yo.removeAllListeners(l);var n=ni.get(l);n&&n.result&&(n.result.close(),ti.delete(l));var r=indexedDB.deleteDatabase(l);r.onsuccess=function(){ni.delete(l),E()&&l in localStorage&&delete localStorage[l],t(null,{ok:!0})},r.onerror=at(t)};var h=ti.get(l);if(h)return d=h.idb,e._meta=h.global,Qr(function(){n(null,e)});var p;p=t.storage?Tt(l,t.storage):indexedDB.open(l,Jo),ni.set(l,p),p.onupgradeneeded=function(e){function t(){var e=l[d-1];d++,e&&e(f,t)}var n=e.target.result;if(e.oldVersion<1)return r(n);var f=e.currentTarget.transaction;e.oldVersion<3&&i(n),e.oldVersion<4&&u(n);var l=[o,a,s,c],d=e.oldVersion;t()},p.onsuccess=function(t){function r(){"undefined"!=typeof u&&f&&(e._meta={name:l,instanceId:s,blobSupport:u},ti.set(l,{idb:d,global:e._meta}),n(null,e))}function o(){if("undefined"!=typeof a&&"undefined"!=typeof i){var e=l+"_id";e in i?s=i[e]:i[e]=s=J(),i.docCount=a,c.objectStore(Wo).put(i)}}d=t.target.result,d.onversionchange=function(){d.close(),ti.delete(l)},d.onabort=function(e){O("error","Database has a global failure",e.target.error),d.close(),ti.delete(l)};var i,a,u,s,c=d.transaction([Wo,Qo,Vo],"readwrite"),f=!1;c.objectStore(Wo).get(Wo).onsuccess=function(e){i=e.target.result||{id:Wo},o()},wt(c,function(e){a=e,o()}),Fo||(Fo=bt(c)),Fo.then(function(e){u=e,r()}),c.oncomplete=function(){f=!0,r()}},p.onerror=function(){var e="Failed to open indexedDB, are you in private browsing mode?";O("error",e),n(I(Oo,e))}}function Tt(e,t){try{return indexedDB.open(e,{version:Jo,storage:t})}catch(t){return indexedDB.open(e,Jo)}}function jt(e){return decodeURIComponent(escape(e))}function It(e){return e<65?e-48:e-55}function qt(e,t,n){for(var r="";t0;){var e=S.pop();e(null,w)}}function h(e,t){if(0===t){var n="CREATE TABLE IF NOT EXISTS "+ci+" (dbid, db_version INTEGER)",s="CREATE TABLE IF NOT EXISTS "+ui+" (digest UNIQUE, escaped TINYINT(1), body BLOB)",f="CREATE TABLE IF NOT EXISTS "+fi+" (digest, seq INTEGER)",l="CREATE TABLE IF NOT EXISTS "+ii+" (id unique, json, winningseq, max_seq INTEGER UNIQUE)",h="CREATE TABLE IF NOT EXISTS "+ai+" (seq INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, json, deleted TINYINT(1), doc_id, rev)",p="CREATE TABLE IF NOT EXISTS "+si+" (id UNIQUE, rev, json)";e.executeSql(s),e.executeSql(p),e.executeSql(f,[],function(){e.executeSql(gi),e.executeSql(mi)}),e.executeSql(l,[],function(){e.executeSql(yi),e.executeSql(h,[],function(){e.executeSql(pi),e.executeSql(vi),e.executeSql(n,[],function(){var t="INSERT INTO "+ci+" (db_version, dbid) VALUES (?,?)";w=J();var n=[oi,w];e.executeSql(t,n,function(){d()})})})})}else{var v=function(){var n=t=")+" ?"),l.push(o)),i!==!1){var h=u?">":"<";f&&(h+="="), +d.push(ii+".id "+h+" ?"),l.push(i)}a!==!1&&(d.push(ii+".id = ?"),l.push(a))}"ok"!==e.deleted&&d.push(ai+".deleted = 0"),x.readTransaction(function(t){if(g(t,function(e){n=e}),0!==s){var o=Ut(bi,[ii,ai],_i,d,ii+".id "+(u?"DESC":"ASC"));o+=" LIMIT "+s+" OFFSET "+c,t.executeSql(o,l,function(t,n){for(var o=0,i=n.rows.length;o ?"],f=[e.since];e.doc_ids&&(c.push(ii+".id IN "+Bt(e.doc_ids.length)),f=f.concat(e.doc_ids));var l="maxSeq "+(r?"DESC":"ASC"),d=Ut(t,n,s,c,l),h=C(e);e.view||e.filter||(d+=" LIMIT "+o);var p=e.since||0;x.readTransaction(function(t){t.executeSql(d,f,function(t,n){function r(t){return function(){e.onChange(t)}}for(var s=0,c=n.rows.length;s0&&(r=setTimeout(function(){n.reject(new Error("Load timeout for resource: "+e.url))},e.timeout)),n.promise.then(function(t){return o={statusCode:t.status},e.timeout>0&&clearTimeout(r),o.statusCode>=200&&o.statusCode<300?e.binary?t.blob():t.text():t.json()}).then(function(e){o.statusCode>=200&&o.statusCode<300?t(null,o,e):(e.status=o.statusCode,t(e))}).catch(function(e){e||(e=new Error("canceled")),t(e)}),{abort:n.reject}}function rn(e,t){var n,r,o=!1,i=function(){n.abort(),s()},a=function(){o=!0,n.abort(),s()},u={abort:i},s=function(){clearTimeout(r),u.abort=function(){},n&&(n.onprogress=void 0,n.upload&&(n.upload.onprogress=void 0),n.onreadystatechange=void 0,n=void 0)};n=e.xhr?new e.xhr:new XMLHttpRequest;try{n.open(e.method,e.url)}catch(e){return t(new Error(e.name||"Url is invalid"))}n.withCredentials=!("withCredentials"in e)||e.withCredentials,"GET"===e.method?delete e.headers["Content-Type"]:e.json&&(e.headers.Accept="application/json",e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json",e.body&&e.processData&&"string"!=typeof e.body&&(e.body=JSON.stringify(e.body))),e.binary&&(n.responseType="arraybuffer"),"body"in e||(e.body=null);for(var c in e.headers)e.headers.hasOwnProperty(c)&&n.setRequestHeader(c,e.headers[c]);return e.timeout>0&&(r=setTimeout(a,e.timeout),n.onprogress=function(){clearTimeout(r),4!==n.readyState&&(r=setTimeout(a,e.timeout))},"undefined"!=typeof n.upload&&(n.upload.onprogress=n.onprogress)),n.onreadystatechange=function(){if(4===n.readyState){var r={statusCode:n.status};if(n.status>=200&&n.status<300){var i;i=e.binary?Pe([n.response||""],{type:n.getResponseHeader("Content-Type")}):n.responseText,t(null,r,i)}else{var a={};if(o)a=new Error("ETIMEDOUT"),a.code="ETIMEDOUT";else if("string"==typeof n.response)try{a=JSON.parse(n.response)}catch(e){}a.status=n.status,t(a)}s()}},e.body&&e.body instanceof Blob?$e(e.body,function(e){n.send(e)}):n.send(e.body),u}function on(){try{return new XMLHttpRequest,!0}catch(e){return!1}}function an(e,t){return Ei||e.xhr?rn(e,t):nn(e,t)}function un(){return""}function sn(e,t){function n(t,n,r){if(!e.binary&&e.json&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){return r(e)}Array.isArray(t)&&(t=t.map(function(e){return e.error||e.missing?q(e):e})),e.binary&&ki(t,n),r(null,t,n)}e=s(e);var r={method:"GET",headers:{},json:!0,processData:!0,timeout:1e4,cache:!1};return e=fo(r,e),e.json&&(e.binary||(e.headers.Accept="application/json"),e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json"),e.binary&&(e.encoding=null,e.json=!1),e.processData||(e.json=!1),an(e,function(r,o,i){if(r)return t(q(r));var a,u=o.headers&&o.headers["content-type"],s=i||un();if(!e.binary&&(e.json||!e.processData)&&"object"!=typeof s&&(/json/.test(u)||/^[\s]*\{/.test(s)&&/\}[\s]*$/.test(s)))try{s=JSON.parse(s.toString())}catch(e){}o.statusCode>=200&&o.statusCode<300?n(s,o,t):(a=q(s),a.status=o.statusCode,t(a))})}function cn(e,t){var n=navigator&&navigator.userAgent?navigator.userAgent.toLowerCase():"",r=n.indexOf("safari")!==-1&&n.indexOf("chrome")===-1,o=n.indexOf("msie")!==-1,i=n.indexOf("edge")!==-1,a=r||(o||i)&&"GET"===e.method,u=!("cache"in e)||e.cache,s=/^blob:/.test(e.url);if(!s&&(a||!u)){var c=e.url.indexOf("?")!==-1;e.url+=(c?"&":"?")+"_nonce="+Date.now()}return sn(e,t)}function fn(e,t){return new to(function(n,r){function o(){f++,e[l++]().then(a,u)}function i(){++d===h?c?r(c):n():s()}function a(){f--,i()}function u(e){f--,c=c||e,i()}function s(){for(;ft?t:u;var f={method:d,url:yn(c,"_changes"+mn(o)),timeout:e.timeout,body:l};v=r,e.aborted||i().then(function(){p=n(e,f,s)}).catch(s)}},g={results:[]},m=function(n,o){if(!e.aborted){var i=0;if(o&&o.results){i=o.results.length,g.last_seq=o.last_seq;var s={};s.query=e.query_params,o.results=o.results.filter(function(t){u--;var n=C(e)(t);return n&&(e.include_docs&&e.attachments&&e.binary&&ln(t),r&&g.results.push(t),e.onChange(t)),n})}else if(n)return e.aborted=!0,void e.complete(n);o&&o.last_seq&&(v=o.last_seq);var c=a&&u<=0||o&&it.length?1:-1}function In(e,t){return e===t?0:e>t?1:-1}function qn(e,t){for(var n=Object.keys(e),r=Object.keys(t),o=Math.min(n.length,r.length),i=0;ir.length?1:-1}function Rn(e){var t=["boolean","number","string","object"],n=t.indexOf(typeof e);return~n?null===e?1:Array.isArray(e)?5:n<3?n+2:n+3:Array.isArray(e)?5:void 0}function Cn(e){if(0===e)return"1";var t=e.toExponential().split(/e\+?/),n=parseInt(t[1],10),r=e<0,o=r?"0":"2",i=(r?-n:n)-ji,a=wn(i.toString(),"0",Ii);o+=qi+a;var u=Math.abs(parseFloat(t[0]));r&&(u=10-u);var s=u.toFixed(20);return s=s.replace(/\.?0+$/,""),o+=qi+s}function Dn(){this.promise=new to(function(e){e()})}function Pn(e){var t,n=e.db,r=e.viewName,o=e.map,i=e.reduce,a=e.temporary,u=o.toString()+(i&&i.toString())+"undefined";if(!a&&(t=n._cachedViews=n._cachedViews||{},t[u]))return t[u];var s=n.info().then(function(e){function s(e){e.views=e.views||{};var t=r;t.indexOf("/")===-1&&(t=r+"/"+r);var n=e.views[t]=e.views[t]||{};if(!n[c])return n[c]=!0,e}var c=e.db_name+"-mrview-"+(a?"temp":We(u));return M(n,"_local/mrviews",s).then(function(){return n.registerDependentDatabase(c).then(function(e){var r=e.db;r.auto_compaction=!0;var a={name:c,db:r,sourceDB:n,adapter:n.adapter,mapFun:o,reduceFun:i};return a.db.get("_local/lastSeq").catch(function(e){if(404!==e.status)throw e}).then(function(e){return a.seq=e?e.seq:0,t&&a.db.once("destroyed",function(){delete t[u]}),a})})})});return t&&(t[u]=s),s}function Ln(e){this.status=400,this.name="query_parse_error",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Ln)}catch(e){}}function Fn(e){this.status=404,this.name="not_found",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Fn)}catch(e){}}function Nn(e){this.status=500,this.name="invalid_value",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Nn)}catch(e){}}function Bn(e){var t="builtin "+e+" function requires map values to be numbers or number arrays";return new Nn(t)}function Un(e){for(var t=0,n=0,r=e.length;n0?e.slice(n):e}function tr(e){var t=e.value,n=t&&"object"==typeof t&&t._id||e.id;return n}function nr(e){e.rows.forEach(function(e){var t=e.doc&&e.doc._attachments;t&&Object.keys(t).forEach(function(e){var n=t[e];t[e].data=Ne(n.data,n.content_type)})})}function rr(e){return function(t){return e.include_docs&&e.attachments&&e.binary&&nr(t),t}}function or(e,t,n,r){var o=t[e];"undefined"!=typeof o&&(r&&(o=encodeURIComponent(JSON.stringify(o))),n.push(e+"="+o))}function ir(e){if("undefined"!=typeof e){var t=Number(e);return isNaN(t)||t!==parseInt(e,10)?e:t}}function ar(e){return e.group_level=ir(e.group_level),e.limit=ir(e.limit),e.skip=ir(e.skip),e}function ur(e){if(e){if("number"!=typeof e)return new Ln('Invalid value for integer: "'+e+'"');if(e<0)return new Ln('Invalid value for positive integer: "'+e+'"')}}function sr(e,t){var n=e.descending?"endkey":"startkey",r=e.descending?"startkey":"endkey";if("undefined"!=typeof e[n]&&"undefined"!=typeof e[r]&&En(e[n],e[r])>0)throw new Ln("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(t.reduce&&e.reduce!==!1){if(e.include_docs)throw new Ln("{include_docs:true} is invalid for reduce");if(e.keys&&e.keys.length>1&&!e.group&&!e.group_level)throw new Ln("Multi-key fetches for reduce views must use {group: true}")}["group_level","limit","skip"].forEach(function(t){var n=ur(e[t]);if(n)throw n})}function cr(e,t,n){var r,o=[],i="GET";if(or("reduce",n,o),or("include_docs",n,o),or("attachments",n,o),or("limit",n,o),or("descending",n,o),or("group",n,o),or("group_level",n,o),or("skip",n,o),or("stale",n,o),or("conflicts",n,o),or("startkey",n,o,!0),or("start_key",n,o,!0),or("endkey",n,o,!0),or("end_key",n,o,!0),or("inclusive_end",n,o),or("key",n,o,!0),o=o.join("&"),o=""===o?"":"?"+o,"undefined"!=typeof n.keys){var a=2e3,u="keys="+encodeURIComponent(JSON.stringify(n.keys));u.length+o.length+1<=a?o+=("?"===o[0]?"&":"?")+u:(i="POST","string"==typeof t?r={keys:n.keys}:t.keys=n.keys)}if("string"==typeof t){var s=Gn(t);return e.request({method:i,url:"_design/"+s[0]+"/_view/"+s[1]+o,body:r}).then(rr(n))}return r=r||{},Object.keys(t).forEach(function(e){Array.isArray(t[e])?r[e]=t[e]:r[e]=t[e].toString()}),e.request({method:"POST",url:"_temp_view"+o,body:r}).then(rr(n))}function fr(e,t,n){return new to(function(r,o){e._query(t,n,function(e,t){return e?o(e):void r(t)})})}function lr(e){return new to(function(t,n){e._viewCleanup(function(e,r){return e?n(e):void t(r)})})}function dr(e){return function(t){if(404===t.status)return e;throw t}}function hr(e,t,n){function r(){return Wn(f)?to.resolve(u):t.db.get(a).catch(dr(u))}function o(e){return e.keys.length?t.db.allDocs({keys:e.keys,include_docs:!0}):to.resolve({rows:[]})}function i(e,t){for(var n=[],r=new io,o=0,i=t.rows.length;o0&&0===En(i.key,t)&&a.push(r),n.set(On(a),i),t=i.key}return n}var u,s,c;if("function"==typeof e.mapFun&&2===e.mapFun.length){var f=e.mapFun;c=function(e){return f(e,t)}}else c=Mn(e.mapFun.toString(),t);var l=e.seq||0,d=new Dn;return r().then(function(){return d.finish()}).then(function(){e.seq=l})}function mr(e,t,n){0===n.group_level&&delete n.group_level;var r,o=n.group||n.group_level;r=Ni[e.reduceFun]?Ni[e.reduceFun]:Mn(e.reduceFun.toString());var i=[],a=isNaN(n.group_level)?Number.POSITIVE_INFINITY:n.group_level;t.forEach(function(e){var t=i[i.length-1],n=o?e.key:null;return o&&Array.isArray(n)&&(n=n.slice(0,a)),t&&0===En(t.groupKey,n)?(t.keys.push([e.key,e.id]),void t.values.push(e.value)):void i.push({keys:[[e.key,e.id]],values:[e.value],groupKey:n})}),t=[];for(var u=0,s=i.length;un))return e.doc.value}var r=Tn(e.doc._id);return{key:r[0],id:r[1],value:"value"in e.doc?e.doc.value:null}})})}function r(n){var r;if(r=i?mr(e,n,t):{total_rows:o,offset:a,rows:n},t.include_docs){var u=Hn(n.map(tr));return e.sourceDB.allDocs({keys:u,include_docs:!0,conflicts:t.conflicts,attachments:t.attachments,binary:t.binary}).then(function(e){var t=new ao;return e.rows.forEach(function(e){t.set(e.id,e.doc)}),n.forEach(function(e){var n=tr(e),r=t.get(n);r&&(e.doc=r)}),r})}return r}var o,i=e.reduceFun&&t.reduce!==!1,a=t.skip||0;if("undefined"==typeof t.keys||t.keys.length||(t.limit=0,delete t.keys),"undefined"!=typeof t.keys){var u=t.keys,s=u.map(function(e){var t={startkey:On([e]),endkey:On([e,{}])};return n(t)});return to.all(s).then(D).then(r)}var c={descending:t.descending};if(t.start_key&&(t.startkey=t.start_key),t.end_key&&(t.endkey=t.end_key),"undefined"!=typeof t.startkey&&(c.startkey=On(t.descending?[t.startkey,{}]:[t.startkey])),"undefined"!=typeof t.endkey){var f=t.inclusive_end!==!1;t.descending&&(f=!f),c.endkey=On(f?[t.endkey,{}]:[t.endkey])}if("undefined"!=typeof t.key){var l=On([t.key]),d=On([t.key,{}]);c.descending?(c.endkey=l,c.startkey=d):(c.startkey=l,c.endkey=d)}return i||("number"==typeof t.limit&&(c.limit=t.limit),c.skip=a),n(c).then(r)}function wr(e){return e.request({method:"POST",url:"_view_cleanup"})}function Er(e){return e.get("_local/mrviews").then(function(t){var n=new ao;Object.keys(t.views).forEach(function(e){var t=Gn(e),r="_design/"+t[0],o=t[1],i=n.get(r);i||(i=new io,n.set(r,i)),i.add(o)});var r={keys:Kn(n),include_docs:!0};return e.allDocs(r).then(function(r){var o={};r.rows.forEach(function(e){var r=e.key.substring(8);n.get(e.key).forEach(function(n){var i=r+"/"+n;t.views[i]||(i=n);var a=Object.keys(t.views[i]),u=e.doc&&e.doc.views&&e.doc.views[n];a.forEach(function(e){o[e]=o[e]||u})})});var i=Object.keys(o).filter(function(e){return!o[e]}),a=i.map(function(t){return Vn(vr(t),function(){return new e.constructor(t,e.__opts).destroy()})()});return to.all(a).then(function(){return{ok:!0}})})},dr({ +ok:!0}))}function kr(e,t,n){if("http"===e.type())return cr(e,t,n);if("function"==typeof e._query)return fr(e,t,n);if("string"!=typeof t){sr(n,t);var r={db:e,viewName:"temp_view/temp_view",map:t.map,reduce:t.reduce,temporary:!0};return Li.add(function(){return Pn(r).then(function(e){function t(){return e.db.destroy()}return Jn(yr(e).then(function(){return _r(e,n)}),t)})}),Li.finish()}var o=t,i=Gn(o),a=i[0],u=i[1];return e.get("_design/"+a).then(function(t){var r=t.views&&t.views[u];if(!r||"string"!=typeof r.map)throw new Fn("ddoc "+a+" has no view named "+u);sr(n,r);var i={db:e,viewName:o,map:r.map,reduce:r.reduce};return Pn(i).then(function(e){return"ok"===n.stale||"update_after"===n.stale?("update_after"===n.stale&&Qr(function(){yr(e)}),_r(e,n)):yr(e).then(function(){return _r(e,n)})})})}function Sr(e){return/^1-/.test(e)}function Or(e,t,n){return!e._attachments||!e._attachments[n]||e._attachments[n].digest!==t._attachments[n].digest}function Ar(e,t){var n=Object.keys(t._attachments);return to.all(n.map(function(n){return e.getAttachment(t._id,n,{rev:t._rev})}))}function xr(e,t,n){var r="http"===t.type()&&"http"!==e.type(),o=Object.keys(n._attachments);return r?e.get(n._id).then(function(r){return to.all(o.map(function(o){return Or(r,n,o)?t.getAttachment(n._id,o):e.getAttachment(r._id,o)}))}).catch(function(e){if(404!==e.status)throw e;return Ar(t,n)}):Ar(t,n)}function Tr(e){var t=[];return Object.keys(e).forEach(function(n){var r=e[n].missing;r.forEach(function(e){t.push({id:n,rev:e})})}),{docs:t,revs:!0,latest:!0}}function jr(e,t,n,r){function o(){var o=Tr(n);if(o.docs.length)return e.bulkGet(o).then(function(n){if(r.cancelled)throw new Error("cancelled");return to.all(n.results.map(function(n){return to.all(n.docs.map(function(n){var r=n.ok;return n.error&&(d=!1),r&&r._attachments?xr(t,e,r).then(function(e){var t=Object.keys(r._attachments);return e.forEach(function(e,n){var o=r._attachments[t[n]];delete o.stub,delete o.length,o.data=e}),r}):r}))})).then(function(e){l=l.concat(D(e).filter(Boolean))})})}function i(e){return e._attachments&&Object.keys(e._attachments).length>0}function a(e){return e._conflicts&&e._conflicts.length>0}function u(t){return e.allDocs({keys:t,include_docs:!0,conflicts:!0}).then(function(e){if(r.cancelled)throw new Error("cancelled");e.rows.forEach(function(e){e.deleted||!e.doc||!Sr(e.value.rev)||i(e.doc)||a(e.doc)||(e.doc._conflicts&&delete e.doc._conflicts,l.push(e.doc),delete n[e.id])})})}function c(){var e=Object.keys(n).filter(function(e){var t=n[e].missing;return 1===t.length&&Sr(t[0])});if(e.length>0)return u(e)}function f(){return{ok:d,docs:l}}n=s(n);var l=[],d=!0;return to.resolve().then(c).then(o).then(f)}function Ir(e,t,n,r,o){return e.get(t).catch(function(n){if(404===n.status)return"http"===e.type()&&T(404,"PouchDB is just checking if a remote checkpoint exists."),{session_id:r,_id:t,history:[],replicator:$i,version:zi};throw n}).then(function(i){if(!o.cancelled&&i.last_seq!==n)return i.history=(i.history||[]).filter(function(e){return e.session_id!==r}),i.history.unshift({last_seq:n,session_id:r}),i.history=i.history.slice(0,Ji),i.version=zi,i.replicator=$i,i.session_id=r,i.last_seq=n,e.put(i).catch(function(i){if(409===i.status)return Ir(e,t,n,r,o);throw i})})}function qr(e,t,n,r){this.src=e,this.target=t,this.id=n,this.returnValue=r}function Rr(e,t){return e.session_id===t.session_id?{last_seq:e.last_seq,history:e.history}:Cr(e.history,t.history)}function Cr(e,t){var n=e[0],r=e.slice(1),o=t[0],i=t.slice(1);if(!n||0===t.length)return{last_seq:Vi,history:[]};var a=n.session_id;if(Dr(a,t))return{last_seq:n.last_seq,history:e};var u=o.session_id;return Dr(u,r)?{last_seq:o.last_seq,history:i}:Cr(r,i)}function Dr(e,t){var n=t[0],r=t.slice(1);return!(!e||0===t.length)&&(e===n.session_id||Dr(e,r))}function Pr(e){return"number"==typeof e.status&&4===Math.floor(e.status/100)}function Lr(e,t,n,r){if(e.retry===!1)return t.emit("error",n),void t.removeAllListeners();if("function"!=typeof e.back_off_function&&(e.back_off_function=x),t.emit("requestError",n),"active"===t.state||"pending"===t.state){t.emit("paused",n),t.state="stopped";var o=function(){e.current_back_off=Ki},i=function(){t.removeListener("active",o)};t.once("paused",i),t.once("active",o)}e.current_back_off=e.current_back_off||Ki,e.current_back_off=e.back_off_function(e.current_back_off),setTimeout(r,e.current_back_off)}function Fr(e){return Object.keys(e).sort(En).reduce(function(t,n){return t[n]=e[n],t},{})}function Nr(e,t,n){var r=n.doc_ids?n.doc_ids.sort(En):"",o=n.filter?n.filter.toString():"",i="",a="";return n.filter&&n.query_params&&(i=JSON.stringify(Fr(n.query_params))),n.filter&&"_view"===n.filter&&(a=n.view.toString()),to.all([e.id(),t.id()]).then(function(e){var t=e[0]+e[1]+o+a+i+r;return new to(function(e){Ge(t,e)})}).then(function(e){return e=e.replace(/\//g,".").replace(/\+/g,"_"),"_local/"+e})}function Br(e,t,n,r,o){function i(){return k?to.resolve():Nr(e,t,n).then(function(n){E=n,k=new qr(e,t,E,r)})}function a(){if(L=[],0!==w.docs.length){var e=w.docs,i={timeout:n.timeout};return t.bulkDocs({docs:e,new_edits:!1},i).then(function(t){if(r.cancelled)throw p(),new Error("cancelled");var n=Object.create(null);t.forEach(function(e){e.error&&(n[e.id]=e)});var i=Object.keys(n).length;o.doc_write_failures+=i,o.docs_written+=e.length-i,e.forEach(function(e){var t=n[e._id];if(t){if(o.errors.push(t),"unauthorized"!==t.name&&"forbidden"!==t.name)throw t;r.emit("denied",s(t))}else L.push(e)})},function(t){throw o.doc_write_failures+=e.length,t})}}function u(){if(w.error)throw new Error("There was a problem getting docs.");o.last_seq=j=w.seq;var e=s(o);return L.length&&(e.docs=L,r.emit("change",e)),A=!0,k.writeCheckpoint(w.seq,F).then(function(){if(A=!1,r.cancelled)throw p(),new Error("cancelled");w=void 0,m()}).catch(function(e){throw b(e),e})}function c(){var e={};return w.changes.forEach(function(t){"_user/"!==t.id&&(e[t.id]=t.changes.map(function(e){return e.rev}))}),t.revsDiff(e).then(function(e){if(r.cancelled)throw p(),new Error("cancelled");w.diffs=e})}function f(){return jr(e,t,w.diffs,r).then(function(e){w.error=!e.ok,e.docs.forEach(function(e){delete w.diffs[e._id],o.docs_read++,w.docs.push(e)})})}function l(){if(!r.cancelled&&!w){if(0===S.length)return void d(!0);w=S.shift(),c().then(f).then(a).then(u).then(l).catch(function(e){h("batch processing terminated with error",e)})}}function d(e){return 0===O.changes.length?void(0!==S.length||w||((I&&N.live||x)&&(r.state="pending",r.emit("paused")),x&&p())):void((e||x||O.changes.length>=q)&&(S.push(O),O={seq:0,changes:[],docs:[]},"pending"!==r.state&&"stopped"!==r.state||(r.state="active",r.emit("active")),l()))}function h(e,t){T||(t.message||(t.message=e),o.ok=!1,o.status="aborting",S=[],O={seq:0,changes:[],docs:[]},p(t))}function p(i){T||r.cancelled&&(o.status="cancelled",A)||(o.status=o.status||"complete",o.end_time=new Date,o.last_seq=j,T=!0,i?(i.result=o,"unauthorized"===i.name||"forbidden"===i.name?(r.emit("error",i),r.removeAllListeners()):Lr(n,r,i,function(){Br(e,t,n,r)})):(r.emit("complete",o),r.removeAllListeners()))}function v(e){if(r.cancelled)return p();var t=C(n)(e);t&&(O.seq=e.seq,O.changes.push(e),d(0===S.length&&N.live))}function y(e){if(D=!1,r.cancelled)return p();if(e.results.length>0)N.since=e.last_seq,m(),d(!0);else{var t=function(){I?(N.live=!0,m()):x=!0,d(!0)};w||0!==e.results.length?t():(A=!0,k.writeCheckpoint(e.last_seq,F).then(function(){A=!1,o.last_seq=j=e.last_seq,t()}).catch(b))}}function g(e){return D=!1,r.cancelled?p():void h("changes rejected",e)}function m(){function t(){i.cancel()}function o(){r.removeListener("cancel",t)}if(!D&&!x&&S.lengthr.since&&!r.cancelled&&(r.since=e.seq,r.onChange(e))}).on("complete",function(){"waiting"===a&&Qr(o),a=!1}).on("error",e)}}if(!this._listeners[t]){var i=this,a=!1;this._listeners[t]=o,this.on(e,o)}},S.prototype.removeListener=function(e,t){t in this._listeners&&(Wr.EventEmitter.prototype.removeListener.call(this,e,this._listeners[t]),delete this._listeners[t])},S.prototype.notifyLocalWindows=function(e){w()?chrome.storage.local.set({dbName:e}):E()&&(localStorage[e]="a"===localStorage[e]?"b":"a")},S.prototype.notify=function(e){this.emit(e),this.notifyLocalWindows(e)};var co;co="function"==typeof Object.assign?Object.assign:function(e){for(var t=Object(e),n=1;nt&&u.push(e)}),H(i,function(e,t,n,r,o){var i=t+"-"+n;"available"===o.status&&u.indexOf(i)!==-1&&s.push(i)}),r._doCompaction(e,s,n)})}),Oe.prototype.compact=l("compact",function(e,t){"function"==typeof e&&(t=e,e={});var n=this;e=e||{},n._compactionQueue=n._compactionQueue||[],n._compactionQueue.push({opts:e,callback:t}),1===n._compactionQueue.length&&ke(n)}),Oe.prototype._compact=function(e,t){function n(e){a.push(o.compactDocument(e.id,0))}function r(e){var n=e.last_seq;to.all(a).then(function(){return M(o,"_local/compaction",function(e){return(!e.last_seq||e.last_seq>>25)+r|0,i+=(n&r|~n&o)+t[1]-389564586|0,i=(i<<12|i>>>20)+n|0,o+=(i&n|~i&r)+t[2]+606105819|0,o=(o<<17|o>>>15)+i|0,r+=(o&i|~o&n)+t[3]-1044525330|0,r=(r<<22|r>>>10)+o|0,n+=(r&o|~r&i)+t[4]-176418897|0,n=(n<<7|n>>>25)+r|0,i+=(n&r|~n&o)+t[5]+1200080426|0,i=(i<<12|i>>>20)+n|0,o+=(i&n|~i&r)+t[6]-1473231341|0,o=(o<<17|o>>>15)+i|0,r+=(o&i|~o&n)+t[7]-45705983|0,r=(r<<22|r>>>10)+o|0,n+=(r&o|~r&i)+t[8]+1770035416|0,n=(n<<7|n>>>25)+r|0,i+=(n&r|~n&o)+t[9]-1958414417|0,i=(i<<12|i>>>20)+n|0,o+=(i&n|~i&r)+t[10]-42063|0,o=(o<<17|o>>>15)+i|0,r+=(o&i|~o&n)+t[11]-1990404162|0,r=(r<<22|r>>>10)+o|0,n+=(r&o|~r&i)+t[12]+1804603682|0,n=(n<<7|n>>>25)+r|0,i+=(n&r|~n&o)+t[13]-40341101|0,i=(i<<12|i>>>20)+n|0,o+=(i&n|~i&r)+t[14]-1502002290|0,o=(o<<17|o>>>15)+i|0,r+=(o&i|~o&n)+t[15]+1236535329|0,r=(r<<22|r>>>10)+o|0,n+=(r&i|o&~i)+t[1]-165796510|0,n=(n<<5|n>>>27)+r|0,i+=(n&o|r&~o)+t[6]-1069501632|0,i=(i<<9|i>>>23)+n|0,o+=(i&r|n&~r)+t[11]+643717713|0,o=(o<<14|o>>>18)+i|0,r+=(o&n|i&~n)+t[0]-373897302|0,r=(r<<20|r>>>12)+o|0,n+=(r&i|o&~i)+t[5]-701558691|0,n=(n<<5|n>>>27)+r|0,i+=(n&o|r&~o)+t[10]+38016083|0,i=(i<<9|i>>>23)+n|0,o+=(i&r|n&~r)+t[15]-660478335|0,o=(o<<14|o>>>18)+i|0,r+=(o&n|i&~n)+t[4]-405537848|0,r=(r<<20|r>>>12)+o|0,n+=(r&i|o&~i)+t[9]+568446438|0,n=(n<<5|n>>>27)+r|0,i+=(n&o|r&~o)+t[14]-1019803690|0,i=(i<<9|i>>>23)+n|0,o+=(i&r|n&~r)+t[3]-187363961|0,o=(o<<14|o>>>18)+i|0,r+=(o&n|i&~n)+t[8]+1163531501|0,r=(r<<20|r>>>12)+o|0,n+=(r&i|o&~i)+t[13]-1444681467|0,n=(n<<5|n>>>27)+r|0,i+=(n&o|r&~o)+t[2]-51403784|0,i=(i<<9|i>>>23)+n|0,o+=(i&r|n&~r)+t[7]+1735328473|0,o=(o<<14|o>>>18)+i|0,r+=(o&n|i&~n)+t[12]-1926607734|0,r=(r<<20|r>>>12)+o|0,n+=(r^o^i)+t[5]-378558|0,n=(n<<4|n>>>28)+r|0,i+=(n^r^o)+t[8]-2022574463|0,i=(i<<11|i>>>21)+n|0,o+=(i^n^r)+t[11]+1839030562|0,o=(o<<16|o>>>16)+i|0,r+=(o^i^n)+t[14]-35309556|0,r=(r<<23|r>>>9)+o|0,n+=(r^o^i)+t[1]-1530992060|0,n=(n<<4|n>>>28)+r|0,i+=(n^r^o)+t[4]+1272893353|0,i=(i<<11|i>>>21)+n|0,o+=(i^n^r)+t[7]-155497632|0,o=(o<<16|o>>>16)+i|0,r+=(o^i^n)+t[10]-1094730640|0,r=(r<<23|r>>>9)+o|0,n+=(r^o^i)+t[13]+681279174|0,n=(n<<4|n>>>28)+r|0,i+=(n^r^o)+t[0]-358537222|0,i=(i<<11|i>>>21)+n|0,o+=(i^n^r)+t[3]-722521979|0,o=(o<<16|o>>>16)+i|0,r+=(o^i^n)+t[6]+76029189|0,r=(r<<23|r>>>9)+o|0,n+=(r^o^i)+t[9]-640364487|0,n=(n<<4|n>>>28)+r|0,i+=(n^r^o)+t[12]-421815835|0,i=(i<<11|i>>>21)+n|0,o+=(i^n^r)+t[15]+530742520|0,o=(o<<16|o>>>16)+i|0,r+=(o^i^n)+t[2]-995338651|0,r=(r<<23|r>>>9)+o|0,n+=(o^(r|~i))+t[0]-198630844|0,n=(n<<6|n>>>26)+r|0,i+=(r^(n|~o))+t[7]+1126891415|0,i=(i<<10|i>>>22)+n|0,o+=(n^(i|~r))+t[14]-1416354905|0,o=(o<<15|o>>>17)+i|0,r+=(i^(o|~n))+t[5]-57434055|0,r=(r<<21|r>>>11)+o|0,n+=(o^(r|~i))+t[12]+1700485571|0,n=(n<<6|n>>>26)+r|0,i+=(r^(n|~o))+t[3]-1894986606|0,i=(i<<10|i>>>22)+n|0,o+=(n^(i|~r))+t[10]-1051523|0,o=(o<<15|o>>>17)+i|0,r+=(i^(o|~n))+t[1]-2054922799|0,r=(r<<21|r>>>11)+o|0,n+=(o^(r|~i))+t[8]+1873313359|0,n=(n<<6|n>>>26)+r|0,i+=(r^(n|~o))+t[15]-30611744|0,i=(i<<10|i>>>22)+n|0,o+=(n^(i|~r))+t[6]-1560198380|0,o=(o<<15|o>>>17)+i|0,r+=(i^(o|~n))+t[13]+1309151649|0,r=(r<<21|r>>>11)+o|0,n+=(o^(r|~i))+t[4]-145523070|0,n=(n<<6|n>>>26)+r|0,i+=(r^(n|~o))+t[11]-1120210379|0,i=(i<<10|i>>>22)+n|0,o+=(n^(i|~r))+t[2]+718787259|0,o=(o<<15|o>>>17)+i|0,r+=(i^(o|~n))+t[9]-343485551|0,r=(r<<21|r>>>11)+o|0,e[0]=n+e[0]|0,e[1]=r+e[1]|0,e[2]=o+e[2]|0,e[3]=i+e[3]|0}function n(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function r(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function o(e){var r,o,i,a,u,s,c=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(r=64;r<=c;r+=64)t(f,n(e.substring(r-64,r)));for(e=e.substring(r-64),o=e.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0;r>2]|=e.charCodeAt(r)<<(r%4<<3);if(i[r>>2]|=128<<(r%4<<3),r>55)for(t(f,i),r=0;r<16;r+=1)i[r]=0;return a=8*c,a=a.toString(16).match(/(.*?)(.{0,8})$/),u=parseInt(a[2],16),s=parseInt(a[1],16)||0,i[14]=u,i[15]=s,t(f,i),f}function i(e){var n,o,i,a,u,s,c=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=c;n+=64)t(f,r(e.subarray(n-64,n)));for(e=n-64>2]|=e[n]<<(n%4<<3);if(i[n>>2]|=128<<(n%4<<3),n>55)for(t(f,i),n=0;n<16;n+=1)i[n]=0;return a=8*c,a=a.toString(16).match(/(.*?)(.{0,8})$/),u=parseInt(a[2],16),s=parseInt(a[1],16)||0,i[14]=u,i[15]=s,t(f,i),f}function a(e){var t,n="";for(t=0;t<4;t+=1)n+=v[e>>8*t+4&15]+v[e>>8*t&15];return n}function u(e){var t;for(t=0;t>16)+(t>>16)+(n>>16);return r<<16|65535&n}),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||!function(){function t(e,t){return e=0|e||0,e<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(n,r){var o,i,a,u,s=this.byteLength,c=t(n,s),f=s;return r!==e&&(f=t(r,s)),c>f?new ArrayBuffer(0):(o=f-c,i=new ArrayBuffer(o),a=new Uint8Array(i),u=new Uint8Array(this,c,o),a.set(u),i)}}(),h.prototype.append=function(e){return this.appendBinary(s(e)),this},h.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var r,o=this._buff.length;for(r=64;r<=o;r+=64)t(this._hash,n(this._buff.substring(r-64,r)));return this._buff=this._buff.substring(r-64),this},h.prototype.end=function(e){var t,n,r=this._buff,o=r.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=r.charCodeAt(t)<<(t%4<<3);return this._finish(i,o),n=u(this._hash),e&&(n=d(n)),this.reset(),n},h.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash}},h.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},h.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},h.prototype._finish=function(e,n){var r,o,i,a=n;if(e[a>>2]|=128<<(a%4<<3),a>55)for(t(this._hash,e),a=0;a<16;a+=1)e[a]=0;r=8*this._length,r=r.toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(r[2],16),i=parseInt(r[1],16)||0,e[14]=o,e[15]=i,t(this._hash,e)},h.hash=function(e,t){return h.hashBinary(s(e),t)},h.hashBinary=function(e,t){var n=o(e),r=u(n);return t?d(r):r},h.ArrayBuffer=function(){this.reset()},h.ArrayBuffer.prototype.append=function(e){var n,o=l(this._buff.buffer,e,!0),i=o.length;for(this._length+=e.byteLength,n=64;n<=i;n+=64)t(this._hash,r(o.subarray(n-64,n)));return this._buff=n-64>2]|=r[t]<<(t%4<<3);return this._finish(i,o),n=u(this._hash),e&&(n=d(n)),this.reset(),n},h.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.ArrayBuffer.prototype.getState=function(){var e=h.prototype.getState.call(this);return e.buff=f(e.buff),e},h.ArrayBuffer.prototype.setState=function(e){return e.buff=c(e.buff,!0),h.prototype.setState.call(this,e)},h.ArrayBuffer.prototype.destroy=h.prototype.destroy,h.ArrayBuffer.prototype._finish=h.prototype._finish,h.ArrayBuffer.hash=function(e,t){var n=i(new Uint8Array(e)),r=u(n);return t?d(r):r},h})},function(e,t){"use strict";function n(e,t,n){var r=n[n.length-1];e===r.element&&(n.pop(),r=n[n.length-1]);var o=r.element,i=r.index;if(Array.isArray(o))o.push(e);else if(i===t.length-2){var a=t.pop();o[a]=e}else t.push(e)}t.stringify=function(e){var t=[];t.push({obj:e});for(var n,r,o,i,a,u,s,c,f,l,d,h="";n=t.pop();)if(r=n.obj,o=n.prefix||"",i=n.val||"",h+=o,i)h+=i;else if("object"!=typeof r)h+="undefined"==typeof r?null:JSON.stringify(r);else if(null===r)h+="null";else if(Array.isArray(r)){for(t.push({val:"]"}),a=r.length-1;a>=0;a--)u=0===a?"":",",t.push({obj:r[a],prefix:u});t.push({val:"["})}else{s=[];for(c in r)r.hasOwnProperty(c)&&s.push(c);for(t.push({val:"}"}),a=s.length-1;a>=0;a--)f=s[a],l=r[f],d=a>0?",":"",d+=JSON.stringify(f)+":",t.push({obj:l,prefix:d});t.push({val:"{"})}return h},t.parse=function(e){for(var t,r,o,i,a,u,s,c,f,l=[],d=[],h=0;;)if(t=e[h++],"}"!==t&&"]"!==t&&"undefined"!=typeof t)switch(t){case" ":case"\t":case"\n":case":":case",":break;case"n":h+=3,n(null,l,d);break;case"t":h+=3,n(!0,l,d);break;case"f":h+=4,n(!1,l,d);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"-":for(r="",h--;;){if(o=e[h++],!/[\d\.\-e\+]/.test(o)){h--;break}r+=o}n(parseFloat(r),l,d);break;case'"':for(i="",a=void 0,u=0;;){if(s=e[h++],'"'===s&&("\\"!==a||u%2!==1))break;i+=s,a=s,"\\"===a?u++:u=0}n(JSON.parse('"'+i+'"'),l,d);break;case"[":c={element:[],index:l.length},l.push(c.element),d.push(c);break;case"{":f={element:{},index:l.length},l.push(f.element),d.push(f);break;default:throw new Error("unexpectedly reached end of input: "+t)}else{if(1===l.length)return l.pop();n(l.pop(),l,d)}}},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return g.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function u(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function s(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function c(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}function h(e,t){t=t||{};var n=t.body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function v(e){var t=new o;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var g={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer)var m=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=function(e){return e&&DataView.prototype.isPrototypeOf(e)},b=ArrayBuffer.isView||function(e){return e&&m.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];this.map[e]=o?o+","+r:r},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,r){this.map[t(e)]=n(r)},o.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},g.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},l.call(h.prototype),l.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var E=[301,302,303,307,308];y.redirect=function(e,t){if(E.indexOf(t)===-1)throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=h,e.Response=y,e.fetch=function(e,t){return new Promise(function(n,r){var o=new h(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:v(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;n(new y(t,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&g.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t){},59]))}); //# sourceMappingURL=cozy-client.min.js.map \ No newline at end of file diff --git a/dist/cozy-client.min.js.map b/dist/cozy-client.min.js.map index 6a2dd926..0154b4cd 100644 --- a/dist/cozy-client.min.js.map +++ b/dist/cozy-client.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///cozy-client.min.js","webpack:///webpack/bootstrap e85cdebe62d023dbcaa3","webpack:///./src/fetch.js","webpack:///./~/pouchdb-find/lib/utils.js","webpack:///./src/utils.js","webpack:///./~/pouchdb-find/lib/adapters/local/utils.js","webpack:///./src/doctypes.js","webpack:///./~/process/browser.js","webpack:///./~/pouchdb-collate/lib/index.js","webpack:///./src/auth_v3.js","webpack:///./~/immediate/lib/browser.js","webpack:///./~/inherits/inherits_browser.js","webpack:///./~/pouchdb-find/lib/abstract-mapreduce/utils.js","webpack:///./~/pouchdb-find/lib/adapters/local/abstract-mapper.js","webpack:///./~/argsarray/index.js","webpack:///./src/jsonapi.js","webpack:///./~/debug/src/browser.js","webpack:///./~/lie/lib/index.js","webpack:///./~/pouchdb-extend/index.js","webpack:///./~/pouchdb-find/lib/abstract-mapreduce/upsert.js","webpack:///./~/pouchdb-find/lib/adapters/local/get-indexes/index.js","webpack:///./~/pouchdb-find/lib/massageCreateIndexRequest.js","webpack:///./~/pouchdb-find/~/pouchdb-promise/lib/index.js","webpack:///./~/pouchdb-find/~/spark-md5/spark-md5.js","webpack:///./~/pouchdb-upsert/index.js","webpack:///./src/auth_storage.js","webpack:///./src/auth_v2.js","webpack:///./src/data.js","webpack:///./src/files.js","webpack:///./src/index.js","webpack:///./src/intents.js","webpack:///./src/jobs.js","webpack:///./src/mango.js","webpack:///./src/offline.js","webpack:///./src/relations.js","webpack:///./src/settings.js","webpack:///./~/debug/~/ms/index.js","webpack:///./~/debug/src/debug.js","webpack:///./~/events/events.js","webpack:///./~/is-array/index.js","webpack:///./~/isomorphic-fetch/fetch-npm-browserify.js","webpack:///./~/pouchdb-collate/lib/utils.js","webpack:///./~/pouchdb-find/lib/abstract-mapreduce/create-view.js","webpack:///./~/pouchdb-find/lib/abstract-mapreduce/index.js","webpack:///./~/pouchdb-find/lib/abstract-mapreduce/taskqueue.js","webpack:///./~/pouchdb-find/lib/adapters/http/index.js","webpack:///./~/pouchdb-find/lib/adapters/local/create-index/index.js","webpack:///./~/pouchdb-find/lib/adapters/local/delete-index/index.js","webpack:///./~/pouchdb-find/lib/adapters/local/find/in-memory-filter.js","webpack:///./~/pouchdb-find/lib/adapters/local/find/index.js","webpack:///./~/pouchdb-find/lib/adapters/local/find/query-planner.js","webpack:///./~/pouchdb-find/lib/adapters/local/index.js","webpack:///./~/pouchdb-find/lib/index.js","webpack:///./~/pouchdb/lib/index-browser.js","webpack:///./~/pouchdb/~/lie/lib/browser.js","webpack:///./~/scope-eval/scope_eval.js","webpack:///./~/spark-md5/spark-md5.js","webpack:///./~/vuvuzela/index.js","webpack:///./~/whatwg-fetch/fetch.js"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","i","Object","prototype","hasOwnProperty","_m","args","slice","fn","a","b","apply","concat","_interopRequireDefault","obj","__esModule","default","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","create","constructor","value","enumerable","writable","configurable","setPrototypeOf","__proto__","cozyFetch","cozy","path","options","arguments","length","undefined","fullpath","then","resp","disableAuth","fetch","manualAuthCredentials","cozyFetchWithAuth","authorize","credentials","handleResponse","headers","token","toAuthHeader","Promise","all","isV2","_ref","_ref2","_slicedToArray","res","status","dontRetry","client","_utils","retry","_auth_v","refreshToken","newToken","saveCredentials","cozyFetchJSON","method","body","processJSONAPI","fetchJSON","response","handleJSONResponse","cozyFetchRawJSON","JSON","stringify","ok","data","contentType","get","indexOf","json","text","err","FetchError","Error","_jsonapi2","defineProperty","sliceIterator","arr","_arr","_n","_d","_e","_s","_i","Symbol","iterator","next","done","push","Array","isArray","_jsonapi","_Error","reason","_this","getPrototypeOf","captureStackTrace","name","url","message","isUnauthorized","isNotFound","process","once","fun","called","getArguments","console","trace","len","toPromise","func","usedCB","tempCB","pop","nextTick","promise","fulfill","reject","callback","mesg","e","result","cancel","inherits","clone","extend","callbackify","cb","promisedCallback","crypto","Md5","MD5","string","browser","hash","createHash","update","digest","flatten","subArr","mergeObjects","getFieldFromDoc","doc","parsedField","key","setFieldInDoc","elem","parseField","fieldName","fields","current","ch","substring","pick","oneArrayIsSubArrayOfOther","left","right","Math","min","oneArrayIsStrictSubArrayOfOther","oneSetIsSubArrayOfOther","field","leftIdx","splice","compare","arrayToObject","max","maxScore","element","score","arrayEquals","arr1","arr2","uniq","keys","map","log","unpromiser","_len","_key","isPromise","l","isOnline","navigator","onLine","isOffline","sleep","time","resolve","setTimeout","count","delay","doTry","_len2","_key2","catch","getBackedoffDelay","getFuzzedDelay","retryDelay","fuzzingFactor","random","FuzzFactor","retryCount","pow","createPath","doctype","query","route","encodeURIComponent","q","encodeQuery","qname","decodeQuery","queryIndex","queries","fragIndex","queryStr","parts","split","pair","decodeURIComponent","warn","warned","getKey","getValue","massageSort","sort","sorting","isCombinationalField","combinationFields","mergeGtGte","operator","fieldMatchers","$eq","$gte","$gt","mergeLtLte","$lte","$lt","mergeNe","$ne","mergeEq","mergeAndedSelectors","selectors","forEach","selector","matcher","massageSelector","input","utils","wasAnded","massageIndexDef","indexDef","getKeyFromDoc","index","def","filterInclusiveStart","rows","targetValue","indexFields","row","docKey","abs","collate","reverseOptions","opts","newOpts","startkey","endkey","inclusive_start","inclusive_end","validateIndex","ascFields","filter","validateSort","requestDef","defaultUsed","noneIdSorts","sortItem","join","validateFindRequest","getUserFields","userFields","selectorFields","sortFields","Number","MAX_VALUE","rightIdx","sortOrder","normalizeDoctype","isQualified","known","REVERSE_KNOWN","replace","KNOWN_DOCTYPES","DOCTYPE_FILES","files","folder","contact","event","track","playlist","k","defaultSetTimout","defaultClearTimeout","runTimeout","cachedSetTimeout","runClearTimeout","marker","cachedClearTimeout","clearTimeout","cleanUpNextTick","draining","currentQueue","queue","queueIndex","drainQueue","timeout","run","Item","array","noop","title","env","argv","version","versions","on","addListener","off","removeListener","removeAllListeners","emit","binding","cwd","chdir","dir","umask","indexify","numToIndexableString","toIndexableString","objKey","parseNumber","str","num","originalIdx","zero","neg","numAsString","magAsString","MAGNITUDE_DIGITS","magnitude","parseInt","MIN_MAGNITUDE","parseFloat","stack","metaStack","lastMetaElement","lastElementIndex","arrayCollate","stringCollate","objectCollate","ak","bk","collationIndex","x","idx","expFormat","toExponential","magForComparison","magString","padLeft","toString","SEP","factor","factorStr","toFixed","normalizeKey","ai","bi","Infinity","isNaN","origKey","Date","toJSON","val","parseIndexableString","parsedNum","parsedStr","arrayElement","objElement","clientParams","_clientParams","Client","registerClient","cli","isRegistered","_fetch","toRegisterJSON","updateClient","resetSecret","client_id","clientID","client_secret","clientSecret","createClient","unregisterClient","getClient","oldClient","newClient","shouldPassRegistration","registrationAccessToken","getAuthCodeURL","scopes","state","generateRandomState","redirect_uri","redirectURI","response_type","scope","_url","getAccessToken","pageURL","grantQueries","getGrantCodeFromPageURL","retrieveToken","grant_type","code","refresh_token","oauthFlow","storage","onRegistered","clearAndRetry","tryCount","clear","registerNewClient","_getAuthCodeURL","save","StateKey","ignoreCachedCredentials","load","CredsKey","storedState","AccessToken","statePromise","t","delete","creds","assign","Content-Type","window","location","href","buffer","getRandomValues","Uint8Array","StateSize","randomBytes","floor","btoa","String","fromCharCode","AppToken","_createClass","defineProperties","target","props","descriptor","protoProps","staticProps","registration_access_token","redirect_uris","softwareID","software_id","softwareVersion","software_version","clientName","client_name","clientKind","client_kind","clientURI","client_uri","logoURI","logo_uri","policyURI","policy_uri","tokenType","token_type","accessToken","access_token","global","oldQueue","immediate","task","scheduleDrain","Mutation","MutationObserver","WebKitMutationObserver","observer","document","createTextNode","observe","characterData","setImmediate","MessageChannel","createElement","scriptEl","onreadystatechange","parentNode","removeChild","documentElement","appendChild","channel","port1","onmessage","port2","postMessage","ctor","superCtor","super_","TempCtor","argsarray","fin","promise2","sequentialize","promiseFactory","that","add","arrs","output","createDeepMultiMapper","toEmit","iLen","j","jLen","createDeepSingleMapper","createShallowSingleMapper","createShallowMultiMapper","checkShallow","createMapper","isShallow","isSingle","mapper","mapFunDef","reducer","ddocValidator","ddoc","viewName","view","views","_id","localUtils","abstractMapReduce","abstractMapper","argsArray","indexKey","type","findByRef","resources","ref","handleResource","rawResource","links","resource","_type","_rev","meta","rev","attributes","relations","rels","relationships","handleTopLevel","included","r","useColors","style","firebug","exception","table","userAgent","toLowerCase","match","RegExp","$1","formatArgs","namespace","humanize","diff","color","lastC","Function","namespaces","removeItem","debug","DEBUG","localstorage","localStorage","chrome","local","colors","formatters","v","enable","INTERNAL","resolver","PENDING","outcome","handled","UNHANDLED","safelyResolveThenable","QueueItem","onFulfilled","onRejected","callFulfilled","otherCallFulfilled","callRejected","otherCallRejected","unwrap","returnValue","handlers","getThen","thenable","onError","onSuccess","tryToUnwrap","tryCatch","out","iterable","allResolver","resolveFromAll","outValue","values","resolved","error","race","REJECTED","FULFILLED","class2type","core_toString","isWindow","isPlainObject","nodeType","core_hasOwn","isFunction","container","extendInner","src","copy","copyIsArray","optionsIsArray","deep","numericStringRegex","test","types","typename","upsert","db","diffFun","getIndexes","allDocs","include_docs","allDocsRes","indexes","language","viewNames","total_rows","_interopDefault","ex","lie","PouchPromise","add32","cmn","s","ff","d","gg","hh","ii","md5cycle","md5blk","md5blks","charCodeAt","md5blk_array","md51","tail","tmp","lo","hi","n","md51_array","subarray","hex_chr","rhex","hex","md5","SparkMD5","reset","y","lsw","msw","append","unescape","appendBinary","contents","_buff","_length","_state","substr","end","raw","ret","buff","_finish","destroy","hashBinary","content","ArrayBuffer","_concatArrayBuffer","byteLength","first","second","firstLength","set","upsertInner","docId","docRev","newDoc","tryAndPut","updated","put","putIfNotExists","existingDoc","PouchDB","plugin","LocalStorage","prefix","setItem","_this2","item","getItem","parse","_this3","_this4","MemoryStorage","deleted","getAppToken","parent","origin","intent","action","receiver","appName","removeEventListener","addEventListener","V2TOKEN_ABORT_TIMEOUT","_doctypes","docType","httpVerb","find","NOREV","findMany","ids","docs","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","return","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","findAll","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_step3","_iterator3","changesFeed","changes","updateAttributes","tries","_delete","sanitizeFileName","trim","doUpload","isBuffer","isFile","File","isBlob","Blob","isStream","readable","pipe","isString","checksum","lastModifiedDate","ifMatch","contentTypeOctetStream","Content-MD5","toGMTString","If-Match","dirID","executable","createDirectory","_ref3","getDirectoryOrCreate","parentDirectory","ROOT_DIR_ID","statByPath","parsedError","errors","createDirectoryByPath","part","rootDirectoryPromise","statById","reduce","parentDirectoryPromise","updateById","doUpdateAttributes","attrs","_typeof","_ref4","updateAttributesById","updateAttributesByPath","trashById","_ref5","offline","hasDatabase","getDatabase","dir_id","_ref6","_ref7","children","TRASH_DIR_ID","sortFiles","addIsDir","toJsonApi","encodePageOptions","downloadById","downloadByPath","extractResponseLinkRelated","related","getDownloadLinkByPath","getDownloadLinkById","getFilePath","file","folderPath","endsWith","getCollectionShareLink","collectionType","permissions","verbs","collection","sharecode","codes","email","getArchiveLinkByPaths","paths","archive","getArchiveLinkByIds","listTrash","clearTrash","restoreById","destroyById","_ref8","isDir","allFiles","folders","f","localeCompare","_interopRequireWildcard","newObj","nopOnRegistered","protoify","context","addToProto","ctx","proto","disablePromises","attr","_auth_storage","_auth_v2","auth","_data","_mango","mango","_files","_intents","intents","_jobs","jobs","_offline","_settings","settings","_relations","AppTokenV3","AccessTokenV3","ClientV3","AuthNone","AuthRunning","AuthError","AuthOK","defaultClientParams","dataProto","defineIndex","addReferencedFiles","removeReferencedFiles","listReferencedFiles","fetchReferencedFiles","authProto","filesProto","getDownloadLink","getArchiveLink","queryFiles","intentsProto","createService","jobsProto","queued","offlineProto","init","getDoctypes","createDatabase","destroyDatabase","destroyAllDatabase","hasReplication","replicateFromCozy","stopReplication","stopAllReplication","hasRepeatedReplication","startRepeatedReplication","stopRepeatedReplication","stopAllRepeatedReplication","settingsProto","diskUsage","changePassphrase","getInstance","updateInstance","getClients","deleteClientById","updateLastSync","AppTokenV2","_inited","_oauth","_token","_authstate","_authcreds","_storage","_version","oauth","_onRegistered","cozyURL","forceTokenRefresh","URL","searchParams","has","pathprefix","datasystem","injectService","onReadyCallback","ownerDocument","defaultView","iframe","onload","setAttribute","classList","intentClass","focus","serviceOrigin","handshaken","messageHandler","source","prop","transition","dimensions","removeIntentFrame","errorSerializer","deserialize","createPromise","start","service","services","listenClientData","messageEventListener","intentId","serviceWindow","search","terminated","terminate","resizeClient","transitionProperty","maxHeight","clientHeight","maxWidth","clientWidth","getData","getIntent","exposeIntentFrameRemoval","throw","serialize","mapErrorProperties","from","to","nativeProperties","property","workerType","_defineProperty","defineIndexV2","defineIndexV3","indexRef","queryV2","queryV3","getV3Options","wholeResponse","indexName","capitalize","indexDefinition","makeMapFunction","indexResult","makeMapReduceQuery","use_index","limit","skip","since","descending","charAt","toUpperCase","MAP_TEMPLATE","parseSelector","acc","LOGICOPERATORS","VALUEOPERATORS","normalizeSelector","filters","_filter","op","applySelector","lower","COUCHDB_LOWEST","upper","COUCHDB_INFINITY","inclusiveEnd","mrquery","firstFreeValueField","normalizedSelector","used","isFreeValue","FIELDSPLACEHOLDER","￿","_ref$options","_ref$doctypes","doctypes","getInfo","database","setDatabase","pluginLoaded","_pouchdb2","_pouchdbFind2","pouchdbAdapterCordovaSqlite","createIndexes","createIndex","getReplication","replication","setReplication","getReplicationUrl","basic","toBasicAuth","getReplicationPromise","replicationPromise","setReplicationPromise","live","replicationOfflineError","replicate","info","onComplete","stop","getRepeatedReplication","interval","setRepeatedReplication","timer","setInterval","clearInterval","_pouchdb","_pouchdbFind","updateRelations","verb","refs","makeReferencesPath","params","currentPassPhrase","newPassPhrase","current_passphrase","new_passphrase","exec","h","fmtShort","ms","round","fmtLong","plural","ceil","long","selectColor","createDebug","enabled","curr","prevTime","prev","coerce","unshift","format","formatter","logFn","bind","skips","names","disable","EventEmitter","_events","_maxListeners","arg","isNumber","isObject","isUndefined","defaultMaxListeners","setMaxListeners","er","handler","listeners","listener","newListener","g","fired","list","position","listenerCount","evlistener","emitter","pad","padWith","upToLength","padding","targetLength","padRight","stringLexCompare","aLen","bLen","aChar","bChar","intToDecimalForm","int","isNeg","remainder","sourceDB","mapFun","reduceFun","temporary","pluginName","viewSignature","_cachedViews","cachedView","diffFunction","fullViewName","depDbs","depDbName","db_name","registerDependentDatabase","auto_compaction","adapter","lastSeqDoc","seq","QueryParseError","NotFoundError","parseViewName","isGenOne","sortByKeyThenValue","keyCompare","sliceResults","results","rowToDocId","emitError","tryCode","checkQueryParseError","startkeyName","endkeyName","group","group_level","defaultsTo","createIndexer","getDocsToPersist","docIdsToChangesAndEmits","getMetaDoc","defaultMetaDoc","metaDocId","getKeyValueDocs","metaDoc","processKvDocs","kvDocsRes","kvDocs","oldKeysMap","_deleted","indexableKeysToKeyValues","keyValue","newKeys","kvDoc","docData","saveKeyValues","seqDocId","docIds","listOfDocsToPersist","docsToPersist","bulkDocs","getQueue","persistentQueues","TaskQueue","updateView","updateViewInQueue","mapResults","processChange","currentSeq","complete","finish","processNextBatch","conflicts","CHANGES_BATCH_SIZE","change","lastKey","jl","complexKey","indexableKey","reduceView","shouldGroup","groups","lvl","last","reduceTry","queryView","queryViewInQueue","fetchFromView","viewOpts","totalRows","expectedKeys","parsedKeyAndDocId","pouchCollate","onMapResultsReady","finalResults","shouldReduce","offset","attachments","binary","docIdsToDocs","cur","fetchPromises","keyStart","keyEnd","localViewCleanup","docsToViews","designDocName","viewsToStatus","ddocName","viewDBNames","statusIsGood","viewDBName","dbsToDelete","destroyPromises","__opts","queryPromised","createViewOpts","tempViewQueue","createView","cleanup","stale","viewCleanup","massageCreateIndexRequest","request","deleteIndex","pouchUpsert","updateDdoc","hasInvalidLanguage","viewExists","originalIndexDef","ddocId","signature","deltaFun","createFieldSorter","getFieldValuesAsArray","docFieldValue","aRow","bRow","aFieldValues","bFieldValues","collation","filterInMemoryFields","inMemoryFields","rowFilter","fieldSorter","reverse","every","matchCominationalSelector","matchSelector","userOperator","userValue","some","orMatchers","matchers","fieldExists","fieldIsNotUndefined","modField","divisor","mod","arrayContainsValue","arrayContainsAllValues","arraySize","regexMatch","re","typeMatch","$elemMatch","$exists","$mod","neValue","$in","$nin","$size","$all","$regex","$type","indexToSignature","doAllDocs","originalOpts","getIndexesRes","queryPlan","planQuery","indexToUse","queryOpts","isDescending","warning","checkFieldInIndex","indexField","userOperatorLosesPrecision","sortFieldsByIndex","aIdx","bIdx","getBasicInMemoryFields","needToFilterInMemory","getInMemoryFieldsFromNe","getInMemoryFields","coreInMemoryFields","checkIndexFieldsMatch","sortMatches","selectorMatches","isNonLogicalMatcher","logicalMatchers","checkFieldsLogicallySound","firstField","hasLogicalOperator","matcherKey","isInvalidNe","checkIndexMatches","fieldsMatch","findMatchingIndexes","indexMatches","findBestMatchingIndex","scoreIndex","userFieldsMap","matchingIndexes","defaultIndex","getSingleFieldQueryOptsFor","getSingleFieldCoreQueryPlan","combinedOpts","userOperators","newQueryOpts","getMultiFieldCoreQueryPlan","getMultiFieldQueryOpts","inclusiveStart","COLLATE_LO","COLLATE_HI","usingGtlt","previousKeys","previousWasEq","previousWasSame","gtltLostSpecificity","getDefaultQueryPlan","getCoreQueryPlan","userFieldsRes","coreQueryPlan","httpIndexes","localIndexes","isBinaryObject","object","cloneArrayBuffer","targetArray","sourceArray","cloneBinaryObject","size","webkitSlice","Ctor","funcToString","objectCtorString","newObject","toISOString","PouchPromise$1","adapterFun","logApiCall","logArgs","origCallback","responseArgs","_closed","_destroyed","taskqueue","isReady","addTask","failed","mangle","unmangle","Map$1","_store","Set$1","supportsMapAndSet","Map","Set","getOwnPropertyDescriptor","species","identityFunction","formatResultForOpenRevsGet","bulkGet","collapseResultsAndFinish","perDocResults","checkDone","numDone","numDocs","gotResult","docIndex","nextBatch","allRequests","upTo","MAX_NUM_CONCURRENT_REQUESTS","batch","processBatch","docIdx","docRequests","requestsById","docOpts","open_revs","formatResult","param","requests","ExportedMap","isChromeApp","hasLocalStorage","hasLocal","attachBrowserEvents","onChanged","dbName","newValue","attachEvent","Changes","events","_listeners","guardedConsole","randomNumber","maxTimeout","ratio","range","defaultBackOff","explainError","PouchError","createError","CustomPouchError","generateErrorFromResponse","UNKNOWN_ERROR","tryFilter","req","msg","BAD_REQUEST","filterChange","hasFilter","query_params","filterReturn","att","_attachments","stub","invalidIdError","INVALID_ID","RESERVED_ID","MISSING_ID","ee","parseDesignDocFunctionName","normalizeDesignDocFunctionName","normalized","parseUri","parser","uri","encoded","qName","qParser","$0","$2","radix","uuid","chars","winningRev","metadata","winningId","winningPos","winningDeleted","node","toVisit","rev_tree","tree","branches","pos","traverseRevTree","revs","newCtx","sortByPos","collectLeaves","leaves","isLeaf","collectConflicts","win","leaf","compactTree","revHash","rootToLeaf","history","sortByPos$1","binarySearch","comparator","mid","low","high","insertSorted","pathToTree","numStemmed","currentLeaf","compareTree","mergeTree","in_tree1","in_tree2","tree1","tree2","merged","doMerge","dontExpand","restree","branch","t1","t2","candidateParents","trees","parentIdx","elements","elementsLen","el","stem","depth","maybeStem","stemmed","stemmedNode","merge","newTree","stemmedRevs","revExists","splitRev","targetPos","targetId","getTrees","isDeleted","isLocalId","latest","historyNode","historyRev","evalFilter","scopedEval","evalView","tryCatchInChangeListener","Changes$2","onDestroy","onChange","isCancelled","doChanges","changeList","_conflicts","yankError","cleanDocs","atts","compareByIdThenRev","idCompare","aStart","_revisions","bStart","computeHeight","height","edges","prnt","edge","allDocsKeysQuery","api","_allDocs","subOpts","assign$1","optKey","doNextCompaction","_compactionQueue","last_seq","_compact","shift","attachmentNameError","AbstractPouchDB","TaskQueue$1","parseAdapter","adapters","PouchDB$5","preferredAdapters","adapterName","usePrefix","use_prefix","prepareForDestruction","onDestroyed","onClosed","onConstructorDestroyed","destructionListeners","_destructionListeners","prefixedName","backend","_adapter","valid","fail","ready","setUpEventEmitter","Pouch","eventEmitter","destructListeners","toObject","parseRevisionInfo","INVALID_REV","makeRevTreeFromRevisions","revisions","revisionIds","parseDoc","newEdits","nRevNum","newRevId","revInfo","_rev_tree","specialKey","reservedWords","DOC_VALIDATION","dataWords","createBlob","properties","Builder","BlobBuilder","MSBlobBuilder","MozBlobBuilder","WebKitBlobBuilder","builder","getBlob","binaryStringToArrayBuffer","bin","buf","binStringToBluffer","binString","b64ToBluffer","b64","thisAtob","arrayBufferToBinaryString","bytes","readAsBinaryString","blob","FileReader","FileReaderSync","readAsArrayBuffer","reader","hasBinaryString","onloadend","blobToBinaryString","blobOrBuffer","blobToBase64","base64","thisBtoa","rawToBase64","sliceBlob","blob$$1","appendBlob","arrayBuffer","appendString","binaryMd5","setImmediateShim","loadNextChunk","currentChunk","chunkSize","chunks","inputIsString","MD5_CHUNK_SIZE","stringMd5","parseBase64","BAD_ARG","preprocessString","blobType","asBinary","content_type","preprocessBlob","preprocessAttachment","preprocessAttachments","docInfos","docv","overallErr","docInfo","processedAttachment","recv","updateDoc","revLimit","writeDoc","previousWinningRev","previouslyDeleted","isRoot","inConflict","REV_CONFLICT","newRev","rev_map","newRevIsDeleted","winningRev$$1","winningRevIsDeleted","delta","rootIsMissing","processDocs","fetchedDocs","tx","overallCallback","insertDoc","resultsIdx","MISSING_DOC","checkAllDocsDone","docsDone","docsToDo","new_edits","idsToDocs","currentDoc","docWritten","nextDoc","safeJsonParse","vuvuzela","safeJsonStringify","idbError","evt","IDB_ERROR","encodeMetadata","deletedOrLocal","decodeMetadata","storedObject","decodeDoc","_doc_id_rev","lastIndexOf","readBlobData","asBlob","fetchAttachmentsIfNecessary","txn","fetchAttachment","attObj","objectStore","ATTACH_STORE","onsuccess","postProcessAttachments","attNames","compactRevs","deleteOrphanedAttachments","possiblyOrphanedDigests","countReq","attAndSeqStore","IDBKeyRange","bound","attStore","seqStore","BY_SEQ_STORE","ATTACH_AND_SEQ_STORE","cursor","openCursor","only","digestSeq","primaryKey","continue","openTransactionSafely","idb","stores","mode","transaction","idbBulkDocs","dbOpts","startTransaction","DOC_STORE","LOCAL_STORE","META_STORE","txnResult","onabort","ontimeout","oncomplete","docStore","bySeqStore","attachStore","attachAndSeqStore","metaStore","updateDocCountIfReady","verifyAttachments","preconditionErrored","fetchExistingDocs","onAllDocsProcessed","allDocsProcessed","idbProcessDocs","revs_limit","docCount","docCountDelta","numFetched","readMetadata","changesHandler$$1","notify","_meta","verifyAttachment","MISSING_STUB","digests","filename","attErr","isUpdate","hasAttachments","writeAttachments","finishDoc","afterPutDoc","revsToDelete","metadataToStore","metaDataReq","afterPutMetadata","afterPutDocError","preventDefault","stopPropagation","getKeyReq","putReq","insertAttachmentMappings","onerror","collectResults","attachmentSaved","revpos","saveAttachment","attsAdded","attsToAdd","newAtt","docInfoError","blobSupport","runBatchedCursor","keyRange","batchSize","onBatch","onGetAll","valuesBatch","keysBatch","pseudoCursor","onGetAllKeys","continuePseudoCursor","newKeyRange","upperOpen","lowerBound","getAll","getAllKeys","onCursor","useGetAll","createKeyRange","upperBound","idbAllDocs","fetchDocAsynchronously","docIdRevIndex","allDocsInner","batchValues","batchValue","batchKeys","onResultsReady","onTxnComplete","keyRangeError","checkBlobSupport","DETECT_BLOB_SUPPORT_STORE","matchedChrome","matchedEdge","countDocs","applyNext","running","enqueueTask","processMetadataAndWinningDoc","winningDoc","lastSeq","filtered","numResults","returnDocs","onBatchDone","winningDocs","metadatas","fetchWinningDocAndMetadata","onGetMetadata","docIdRev","docIdsToMetadata","continuous","doc_ids","ExportedSet","return_docs","objectStores","IdbPouch","thisCallback","createSchema","createObjectStore","keyPath","autoIncrement","unique","addDeletedOrLocalIndex","createLocalStoreSchema","migrateLocalStore","localStore","seqCursor","addAttachAndSeqStore","migrateAttsAndSeqs","digestMap","migrateMetadata","decodeMetadataCompat","fetchMetadataSeq","metadataSeq","onGetMetadataSeq","instanceId","_bulkDocs","reqOpts","_get","_getAttachment","attachId","attachment","blobData","_info","updateSeq","doc_count","update_seq","idb_attachment_format","_changes","_close","close","cachedDBs","_getRevisionTree","_doCompaction","_getLocal","_putLocal","oldRev","oStore","oldDoc","_removeLocal","_destroy","openReq","openReqList","indexedDB","deleteDatabase","cached","tryStorageOption","open","ADAPTER_VERSION","onupgradeneeded","migration","migrations","oldVersion","currentTarget","completeSetup","storedMetaDoc","storeMetaDocIfReady","instanceKey","onversionchange","blobSupportPromise","decodeUtf8","escape","hexToInt","charCode","parseHexUtf8","parseHexUtf16","parseHexString","encoding","quote","escapeBlob","unescapeBlob","stringifyDoc","unstringifyDoc","qMarks","select","joiner","where","orderBy","compactRevs$1","deleteOrphans","seqs","sql","ATTACH_AND_SEQ_STORE$1","executeSql","digestsToCheck","nonOrphanedDigests","ATTACH_STORE$1","BY_SEQ_STORE$1","websqlError","errorNameMatch","errorName","errorReason","WSQ_ERROR","getSize","isAndroid","websqlBulkDocs","websqlChanges","_name","cnt","sqlArgs","deletedInt","insertId","dataWritten","fetchSql","attachmentErr","revsToCompact","DOC_STORE$1","metadataStr","websqlProcessDocs","userDocs","docInfoErrors","openDatabaseWithOpts","websql","description","openDBSafely","openDB$1","cachedResult","cachedDatabases","fetchAttachmentsIfNecessary$1","attOpts","_","WebSqlPouch$1","dbCreated","runMigration2","DOC_STORE_WINNINGSEQ_INDEX_SQL","BY_SEQ_STORE_DELETED_INDEX_SQL","runMigration3","LOCAL_STORE$1","doNext","runMigration4","updateRows","doc_id_rev","doc_id","BY_SEQ_STORE_DOC_ID_REV_INDEX_SQL","runMigration5","nextPage","SELECT_DOCS","DOC_STORE_AND_BY_SEQ_JOINER","pageSize","addDigestSeq","digestSeqs","digestSeqPairs","attachAndRev","ATTACH_AND_SEQ_STORE_ATTACH_INDEX_SQL","ATTACH_AND_SEQ_STORE_SEQ_INDEX_SQL","runMigration6","runMigration7","checkEncoding","onGetInstanceId","idRequests","idCallback","onGetVersion","dbVersion","META_STORE$1","attach","initSeq","initSeqArgs","ADAPTER_VERSION$1","setupDone","migrated","dbid","tasks","nextMigration","setup","fetchVersion","db_version","getMaxSeq","latest$$1","websqlOpts","POUCH_VERSION","openDBResult","readTransaction","theSeq","theDocCount","websql_encoding","latestRev","missingErr","deletedErr","criteria","fetchChanges","selectStmt","reportChange","maxSeq","escaped","putLocal","rowsAffected","removeLocal","store","canOpenTestDB","openDatabase","isValidWebSQL","hasLS","localStorageKey","openedTestDB","openDB","WebSQLPouch","_opts","wrappedFetch","wrappedPromise","fetchRequest","Headers","fetchOptions","processData","fetchResponse","statusCode","abort","xhRequest","xhr","timedout","abortReq","cleanUp","timeoutReq","onprogress","upload","XMLHttpRequest","withCredentials","Accept","responseType","setRequestHeader","readyState","getResponseHeader","responseText","send","testXhr","ajax$1","hasXhr","defaultBody","ajaxCore$1","missing","res$2","defaultOptions","cache","ajax","ua","isSafari","isIE","isEdge","shouldCacheBust","isBlobUrl","hasArgs","now","pool","promiseFactories","runNext","runNextBatch","thisErr","readAttachmentsAsBlobOrBuffer","encodeDocId","preprocessAttachments$2","hasUrlPrefix","protocol","getHost","user","password","username","genDBUrl","genUrl","pathDel","host","port","paramsToStr","HttpPouch","ajax$$1","userOpts","reqAjax","ajaxOpts","log$1","_ajax","ajaxPromise","adapterFun$$1","skipSetup","skip_setup","setupPromise","checkExists","dbUrl","encodeAttachmentId","attachmentId","nAuth","Authorization","uuid$$1","compact","ping","compact_running","doBulkGet","doBulkGetShim","onResult","batchNum","numBatches","MAX_SIMULTANEOUS_REVS","supportsBulkGet","supportsBulkGetMap","fetchAttachments","filenames","fetchAllAttachments","docOrDocs","revs_info","remove","docOrId","optsOrRev","getAttachment","removeAttachment","putAttachment","_put","start_key","end_key","paramStr","batch_size","leftToFetch","feed","heartbeat","param_name","lastFetchedSeq","aborted","xhrOpts","fetched","raw_results_length","finished","revsDiff","TaskQueue$2","cachedViews","promiseForView","BuiltInError","createBuiltInError","sum","jNum","evalFunctionWithEval","log$2","finalPromiseFactory","theSet","mapToKeysArray","tryMap","tryReduce","rereduce","readAttachmentsAsBlobOrBuffer$1","postprocessAttachments","addHttpParam","paramName","asJson","coerceInteger","integerCandidate","asNumber","coerceOptions","checkPositiveInteger","number","optionName","httpQuery","MAX_URL_LENGTH","keysAsString","customQuery","_query","customViewCleanup","_viewCleanup","processKeyValueDocs","oldKeys","CHANGES_BATCH_SIZE$1","createDocIdsToChangesAndEmits","createIndexableKeysToKeyValues","emittedKeyValue","origMap","builtInReduce","POSITIVE_INFINITY","groupKey","httpViewCleanup","isGenOne$1","fileHasChanged","localDoc","remoteDoc","getDocAttachments","getDocAttachmentsFromTargetOrSource","doCheckForLocalAttachments","createBulkGetOpts","diffs","missingRevs","missingRev","getDocs","getAllDocs","bulkGetOpts","bulkGetResponse","cancelled","bulkGetInfo","resultDocs","Boolean","hasConflicts","fetchRevisionOneDocs","getRevisionOneDocs","returnResult","updateCheckpoint","checkpoint","session","session_id","replicator","REPLICATOR","CHECKPOINT_VERSION","CHECKPOINT_HISTORY_SIZE","Checkpointer","compareReplicationLogs","srcDoc","tgtDoc","compareReplicationHistory","sourceHistory","targetHistory","S","sourceRest","T","targetRest","LOWEST_SEQ","sourceId","hasSessionId","sessionId","rest","isForbiddenError","backOff","back_off_function","backOffSet","current_back_off","STARTING_BACK_OFF","removeBackOffSetter","sortObjectPropertiesByKey","queryParams","generateReplicationId","filterFun","filterViewName","queryData","md5sum","initCheckpointer","checkpointer","repId","writeDocs","changedDocs","currentBatch","bulkOpts","completeReplication","errorsById","errorsNo","doc_write_failures","docs_written","finishBatch","outResult","writingCheckpoint","writeCheckpoint","getChanges","onCheckpointError","getDiffs","getBatchDocs","got","docs_read","startNextBatch","batches","processPendingBatch","abortReplication","pendingBatch","changesOpts","changesCompleted","replicationCompleted","fatalError","end_time","onChangesComplete","changesPending","onChangesError","abortChanges","batches_limit","_abortChanges","startChanges","getCheckpoint","start_time","_addedListeners","Replication","toPouch","PouchConstructor","replicateWrapper","replicateRet","srcPouch","targetPouch","sync$1","Sync","pullChange","direction","pushChange","pushDenied","pullDenied","pushPaused","pullPaused","pushActive","pullActive","removeAll","isChange","isDenied","isPaused","isActive","removed","addOneListener","canceled","optsPush","optsPull","pull","success","sync","other","mangled","eventFunction","inprogress","notifyLocalWindows","nextSource","nextKey","MISSING_BULK_DOCS","QUERY_PARSE_ERROR","NOT_AN_OBJECT","hasName","filterChanges","newPromise","filterName","post","createAttachment","prevrevpos","was_delete","addToMissing","revId","processDoc","missingForId","missingObj","compactDocument","revTree","candidates","promises","finishOpenRevs","existing","splittedRev","revNo","currentPath","hashIndex","hashFoundAtRevPos","indexOfRev","howMany","_revs_info","incompatibleOpt","attachmentError","dependentDb","dependentDbs","depDB","destroyDb","deletedMap","trueName","execute","addToPreferredAdapters","defaults","defaultOpts","PouchAlt","__defaults","atob","platform","IDBPouch","WebSqlPouch","HttpPouch$1","_sum","_count","_stats","sumsqr","_sumsqr","mapreduce","updateTarget","updateSource","readOnlySource","comparisons","targetDoc","sourceDoc","1","_readyCalled","hasProp","toUtf8","utf8Str2ArrayBuffer","returnUInt8Array","arrayBuffer2Utf8Str","concatenateArrayBuffers","hexToBinaryString","clamp","begin","_hash","getState","setState","arrayPrefix","objPrefix","numChar","parsedString","lastCh","numConsecutiveSlashes","normalizeName","normalizeValue","iteratorFor","items","support","header","getOwnPropertyNames","consumed","bodyUsed","fileReaderReady","readBlobAsArrayBuffer","readBlobAsText","readAsText","readArrayBufferAsText","bufferClone","Body","_initBody","_bodyInit","_bodyText","isPrototypeOf","_bodyBlob","formData","FormData","_bodyFormData","URLSearchParams","isDataView","_bodyArrayBuffer","isArrayBufferView","rejected","decode","normalizeMethod","upcased","methods","Request","referrer","form","parseHeaders","rawHeaders","line","Response","bodyInit","statusText","viewClasses","DataView","isView","oldValue","thisArg","entries","redirectStatuses","redirect","RangeError","getAllResponseHeaders","responseURL","polyfill"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,OAAA,YAAAH,GACA,gBAAAC,SACAA,QAAA,OAAAD,KAEAD,EAAA,KAAAA,EAAA,SAAmCA,EAAA,YAAAC,MAClCK,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAP,OAGA,IAAAC,GAAAO,EAAAD,IACAP,WACAS,GAAAF,EACAG,QAAA,EAUA,OANAL,GAAAE,GAAAI,KAAAV,EAAAD,QAAAC,IAAAD,QAAAM,GAGAL,EAAAS,QAAA,EAGAT,EAAAD,QAvBA,GAAAQ,KAqCA,OATAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAQ,EAAA,GAGAR,EAAA,IDcW,SAASD,GAEnB,IAAI,GAAIU,KAAKV,GACZ,GAAGW,OAAOC,UAAUC,eAAeP,KAAKN,EAASU,GAChD,aAAcV,GAAQU,IACtB,IAAK,WAAY,KACjB,KAAK,SAE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q8E,YAAA,sBAGA,WAAAX,GAAA,MAA+B17E,SAAAV,SAA0Bia,SAAAlW,MAGzD7F,EAAA0jE,UACA1jE,EAAA49E,UACA59E,EAAAk+E,WAEAl+E,EAAAwB,MAAA,SAAA4N,EAAAmqB,GACA,UAAAt3B,SAAA,SAAAuJ,EAAAvE,GACA,GAAAwoC,GAAA,GAAAmuC,GAAAxuE,EAAAmqB,GACA0qC,EAAA,GAAAO,eAEAP,GAAA/nC,OAAA,WACA,GAAAl7B,IACAwB,OAAAyhE,EAAAzhE,OACA47E,WAAAna,EAAAma,WACAt8E,QAAAi8E,EAAA9Z,EAAA6a,yBAAA,IAEA99E,GAAA6E,IAAA,eAAAo+D,KAAA8a,YAAA/9E,EAAAc,QAAAgC,IAAA,gBACA,IAAAX,GAAA,YAAA8gE,KAAA3gE,SAAA2gE,EAAAc,YACAv5D,GAAA,GAAA0yE,GAAA/6E,EAAAnC,KAGAijE,EAAArR,QAAA,WACA3rD,EAAA,GAAAnH,WAAA,4BAGAmkE,EAAA/T,UAAA,WACAjpD,EAAA,GAAAnH,WAAA,4BAGAmkE,EAAAhK,KAAAxqB,EAAAvsC,OAAAusC,EAAA5pC,KAAA,GAEA,YAAA4pC,EAAA7tC,cACAqiE,EAAAQ,iBAAA,GAGA,gBAAAR,IAAA8X,EAAA3zB,OACA6b,EAAAU,aAAA,QAGAl1B,EAAA3tC,QAAAkN,QAAA,SAAAzO,EAAAqF,GACAq+D,EAAAW,iBAAAh/D,EAAArF,KAGA0jE,EAAAe,KAAA,mBAAAv1B,GAAAmtC,UAAA,KAAAntC,EAAAmtC,cAGA58E,EAAAwB,MAAAw9E,UAAA,IACC,mBAAAh/E,WAAAhC,O1Dk1qBK,SAASH,EAAQD,KAMvB","file":"cozy-client.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"client\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"client\"] = factory();\n\telse\n\t\troot[\"cozy\"] = root[\"cozy\"] || {}, root[\"cozy\"][\"client\"] = factory();\n})(this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"client\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"client\"] = factory();\n\telse\n\t\troot[\"cozy\"] = root[\"cozy\"] || {}, root[\"cozy\"][\"client\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ((function(modules) {\n\t// Check all modules for deduplicated modules\n\tfor(var i in modules) {\n\t\tif(Object.prototype.hasOwnProperty.call(modules, i)) {\n\t\t\tswitch(typeof modules[i]) {\n\t\t\tcase \"function\": break;\n\t\t\tcase \"object\":\n\t\t\t\t// Module can be created from a template\n\t\t\t\tmodules[i] = (function(_m) {\n\t\t\t\t\tvar args = _m.slice(1), fn = modules[_m[0]];\n\t\t\t\t\treturn function (a,b,c) {\n\t\t\t\t\t\tfn.apply(this, [a,b,c].concat(args));\n\t\t\t\t\t};\n\t\t\t\t}(modules[i]));\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\t// Module is a copy of another module\n\t\t\t\tmodules[i] = modules[modules[i]];\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\treturn modules;\n}([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(39);\n\tmodule.exports = __webpack_require__(28);\n\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.FetchError = undefined;\n\t\n\tvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }(); /* global fetch */\n\t\n\t\n\texports.cozyFetch = cozyFetch;\n\texports.cozyFetchJSON = cozyFetchJSON;\n\texports.cozyFetchRawJSON = cozyFetchRawJSON;\n\t\n\tvar _auth_v = __webpack_require__(8);\n\t\n\tvar _utils = __webpack_require__(3);\n\t\n\tvar _jsonapi = __webpack_require__(14);\n\t\n\tvar _jsonapi2 = _interopRequireDefault(_jsonapi);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tfunction cozyFetch(cozy, path) {\n\t var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\t\n\t return cozy.fullpath(path).then(function (fullpath) {\n\t var resp = void 0;\n\t if (options.disableAuth) {\n\t resp = fetch(fullpath, options);\n\t } else if (options.manualAuthCredentials) {\n\t resp = cozyFetchWithAuth(cozy, fullpath, options, options.manualAuthCredentials);\n\t } else {\n\t resp = cozy.authorize().then(function (credentials) {\n\t return cozyFetchWithAuth(cozy, fullpath, options, credentials);\n\t });\n\t }\n\t return resp.then(handleResponse);\n\t });\n\t}\n\t\n\tfunction cozyFetchWithAuth(cozy, fullpath, options, credentials) {\n\t if (credentials) {\n\t options.headers = options.headers || {};\n\t options.headers['Authorization'] = credentials.token.toAuthHeader();\n\t }\n\t\n\t // the option credentials:include tells fetch to include the cookies in the\n\t // request even for cross-origin requests\n\t options.credentials = 'include';\n\t\n\t return Promise.all([cozy.isV2(), fetch(fullpath, options)]).then(function (_ref) {\n\t var _ref2 = _slicedToArray(_ref, 2),\n\t isV2 = _ref2[0],\n\t res = _ref2[1];\n\t\n\t if (res.status !== 400 && res.status !== 401 || isV2 || !credentials || options.dontRetry) {\n\t return res;\n\t }\n\t // we try to refresh the token only for OAuth, ie, the client defined\n\t // and the token is an instance of AccessToken.\n\t var client = credentials.client,\n\t token = credentials.token;\n\t\n\t if (!client || !(token instanceof _auth_v.AccessToken)) {\n\t return res;\n\t }\n\t options.dontRetry = true;\n\t return (0, _utils.retry)(function () {\n\t return (0, _auth_v.refreshToken)(cozy, client, token);\n\t }, 3)().then(function (newToken) {\n\t return cozy.saveCredentials(client, newToken);\n\t }).then(function (credentials) {\n\t return cozyFetchWithAuth(cozy, fullpath, options, credentials);\n\t });\n\t });\n\t}\n\t\n\tfunction cozyFetchJSON(cozy, method, path, body) {\n\t var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n\t\n\t var processJSONAPI = typeof options.processJSONAPI === 'undefined' || options.processJSONAPI;\n\t return fetchJSON(cozy, method, path, body, options).then(function (response) {\n\t return handleJSONResponse(response, processJSONAPI);\n\t });\n\t}\n\t\n\tfunction cozyFetchRawJSON(cozy, method, path, body) {\n\t var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n\t\n\t return fetchJSON(cozy, method, path, body, options).then(function (response) {\n\t return handleJSONResponse(response, false);\n\t });\n\t}\n\t\n\tfunction fetchJSON(cozy, method, path, body) {\n\t var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n\t\n\t options.method = method;\n\t\n\t var headers = options.headers = options.headers || {};\n\t\n\t headers['Accept'] = 'application/json';\n\t\n\t if (method !== 'GET' && method !== 'HEAD' && body !== undefined) {\n\t if (headers['Content-Type']) {\n\t options.body = body;\n\t } else {\n\t headers['Content-Type'] = 'application/json';\n\t options.body = JSON.stringify(body);\n\t }\n\t }\n\t\n\t return cozyFetch(cozy, path, options);\n\t}\n\t\n\tfunction handleResponse(res) {\n\t if (res.ok) {\n\t return res;\n\t }\n\t var data = void 0;\n\t var contentType = res.headers.get('content-type');\n\t if (contentType && contentType.indexOf('json') >= 0) {\n\t data = res.json();\n\t } else {\n\t data = res.text();\n\t }\n\t return data.then(function (err) {\n\t throw new FetchError(res, err);\n\t });\n\t}\n\t\n\tfunction handleJSONResponse(res) {\n\t var processJSONAPI = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\t\n\t var contentType = res.headers.get('content-type');\n\t if (!contentType || contentType.indexOf('json') < 0) {\n\t return res.text(function (data) {\n\t throw new FetchError(res, new Error('Response is not JSON: ' + data));\n\t });\n\t }\n\t\n\t var json = res.json();\n\t if (contentType.indexOf('application/vnd.api+json') === 0 && processJSONAPI) {\n\t return json.then(_jsonapi2.default);\n\t } else {\n\t return json;\n\t }\n\t}\n\t\n\tvar FetchError = exports.FetchError = function (_Error) {\n\t _inherits(FetchError, _Error);\n\t\n\t function FetchError(res, reason) {\n\t _classCallCheck(this, FetchError);\n\t\n\t var _this = _possibleConstructorReturn(this, (FetchError.__proto__ || Object.getPrototypeOf(FetchError)).call(this));\n\t\n\t if (Error.captureStackTrace) {\n\t Error.captureStackTrace(_this, _this.constructor);\n\t }\n\t // XXX We have to hardcode this because babel doesn't play nice when extending Error\n\t _this.name = 'FetchError';\n\t _this.response = res;\n\t _this.url = res.url;\n\t _this.status = res.status;\n\t _this.reason = reason;\n\t\n\t Object.defineProperty(_this, 'message', {\n\t value: reason.message || (typeof reason === 'string' ? reason : JSON.stringify(reason))\n\t });\n\t return _this;\n\t }\n\t\n\t return FetchError;\n\t}(Error);\n\t\n\tFetchError.isUnauthorized = function (err) {\n\t // XXX We can't use err instanceof FetchError because of the caveats of babel\n\t return err.name === 'FetchError' && err.status === 401;\n\t};\n\t\n\tFetchError.isNotFound = function (err) {\n\t // XXX We can't use err instanceof FetchError because of the caveats of babel\n\t return err.name === 'FetchError' && err.status === 404;\n\t};\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {'use strict';\n\t\n\tvar Promise = __webpack_require__(21);\n\t\n\t/* istanbul ignore next */\n\texports.once = function (fun) {\n\t var called = false;\n\t return exports.getArguments(function (args) {\n\t if (called) {\n\t console.trace();\n\t throw new Error('once called more than once');\n\t } else {\n\t called = true;\n\t fun.apply(this, args);\n\t }\n\t });\n\t};\n\t/* istanbul ignore next */\n\texports.getArguments = function (fun) {\n\t return function () {\n\t var len = arguments.length;\n\t var args = new Array(len);\n\t var i = -1;\n\t while (++i < len) {\n\t args[i] = arguments[i];\n\t }\n\t return fun.call(this, args);\n\t };\n\t};\n\t/* istanbul ignore next */\n\texports.toPromise = function (func) {\n\t //create the function we will be returning\n\t return exports.getArguments(function (args) {\n\t var self = this;\n\t var tempCB = (typeof args[args.length - 1] === 'function') ? args.pop() : false;\n\t // if the last argument is a function, assume its a callback\n\t var usedCB;\n\t if (tempCB) {\n\t // if it was a callback, create a new callback which calls it,\n\t // but do so async so we don't trap any errors\n\t usedCB = function (err, resp) {\n\t process.nextTick(function () {\n\t tempCB(err, resp);\n\t });\n\t };\n\t }\n\t var promise = new Promise(function (fulfill, reject) {\n\t try {\n\t var callback = exports.once(function (err, mesg) {\n\t if (err) {\n\t reject(err);\n\t } else {\n\t fulfill(mesg);\n\t }\n\t });\n\t // create a callback for this invocation\n\t // apply the function in the orig context\n\t args.push(callback);\n\t func.apply(self, args);\n\t } catch (e) {\n\t reject(e);\n\t }\n\t });\n\t // if there is a callback, call it back\n\t if (usedCB) {\n\t promise.then(function (result) {\n\t usedCB(null, result);\n\t }, usedCB);\n\t }\n\t promise.cancel = function () {\n\t return this;\n\t };\n\t return promise;\n\t });\n\t};\n\t\n\texports.inherits = __webpack_require__(10);\n\texports.Promise = Promise;\n\t\n\texports.clone = function (obj) {\n\t return exports.extend(true, {}, obj);\n\t};\n\t\n\texports.extend = __webpack_require__(17);\n\t\n\texports.callbackify = function (fun) {\n\t return exports.getArguments(function (args) {\n\t var cb = args.pop();\n\t var promise = fun.apply(this, args);\n\t exports.promisedCallback(promise, cb);\n\t return promise;\n\t });\n\t};\n\t\n\texports.promisedCallback = function (promise, callback) {\n\t promise.then(function (res) {\n\t process.nextTick(function () {\n\t callback(null, res);\n\t });\n\t }, function (reason) {\n\t process.nextTick(function () {\n\t callback(reason);\n\t });\n\t });\n\t return promise;\n\t};\n\t\n\tvar crypto = __webpack_require__(59);\n\tvar Md5 = __webpack_require__(22);\n\t\n\texports.MD5 = function (string) {\n\t /* istanbul ignore else */\n\t if (!process.browser) {\n\t return crypto.createHash('md5').update(string).digest('hex');\n\t } else {\n\t return Md5.hash(string);\n\t }\n\t};\n\t\n\texports.flatten = exports.getArguments(function (args) {\n\t var res = [];\n\t for (var i = 0, len = args.length; i < len; i++) {\n\t var subArr = args[i];\n\t if (Array.isArray(subArr)) {\n\t res = res.concat(exports.flatten.apply(null, subArr));\n\t } else {\n\t res.push(subArr);\n\t }\n\t }\n\t return res;\n\t});\n\t\n\texports.mergeObjects = function (arr) {\n\t var res = {};\n\t for (var i = 0, len = arr.length; i < len; i++) {\n\t res = exports.extend(true, res, arr[i]);\n\t }\n\t return res;\n\t};\n\t\n\t// this would just be \"return doc[field]\", but fields\n\t// can be \"deep\" due to dot notation\n\texports.getFieldFromDoc = function (doc, parsedField) {\n\t var value = doc;\n\t for (var i = 0, len = parsedField.length; i < len; i++) {\n\t var key = parsedField[i];\n\t value = value[key];\n\t if (!value) {\n\t break;\n\t }\n\t }\n\t return value;\n\t};\n\t\n\texports.setFieldInDoc = function (doc, parsedField, value) {\n\t for (var i = 0, len = parsedField.length; i < len-1; i++) {\n\t var elem = parsedField[i];\n\t doc = doc[elem] = {};\n\t }\n\t doc[parsedField[len-1]] = value;\n\t};\n\t\n\t// Converts a string in dot notation to an array of its components, with backslash escaping\n\texports.parseField = function (fieldName) {\n\t // fields may be deep (e.g. \"foo.bar.baz\"), so parse\n\t var fields = [];\n\t var current = '';\n\t for (var i = 0, len = fieldName.length; i < len; i++) {\n\t var ch = fieldName[i];\n\t if (ch === '.') {\n\t if (i > 0 && fieldName[i - 1] === '\\\\') { // escaped delimiter\n\t current = current.substring(0, current.length - 1) + '.';\n\t } else { // not escaped, so delimiter\n\t fields.push(current);\n\t current = '';\n\t }\n\t } else { // normal character\n\t current += ch;\n\t }\n\t }\n\t fields.push(current);\n\t return fields;\n\t};\n\t\n\t// Selects a list of fields defined in dot notation from one doc\n\t// and copies them to a new doc. Like underscore _.pick but supports nesting.\n\texports.pick = function (obj, arr) {\n\t var res = {};\n\t for (var i = 0, len = arr.length; i < len; i++) {\n\t var parsedField = exports.parseField(arr[i]);\n\t var value = exports.getFieldFromDoc(obj, parsedField);\n\t if(typeof value !== 'undefined') {\n\t exports.setFieldInDoc(res, parsedField, value);\n\t }\n\t }\n\t return res;\n\t};\n\t\n\t// e.g. ['a'], ['a', 'b'] is true, but ['b'], ['a', 'b'] is false\n\texports.oneArrayIsSubArrayOfOther = function (left, right) {\n\t\n\t for (var i = 0, len = Math.min(left.length, right.length); i < len; i++) {\n\t if (left[i] !== right[i]) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t};\n\t\n\t// e.g.['a', 'b', 'c'], ['a', 'b'] is false\n\texports.oneArrayIsStrictSubArrayOfOther = function (left, right) {\n\t\n\t if (left.length > right.length) {\n\t return false;\n\t }\n\t\n\t return exports.oneArrayIsSubArrayOfOther(left, right);\n\t};\n\t\n\t// same as above, but treat the left array as an unordered set\n\t// e.g. ['b', 'a'], ['a', 'b', 'c'] is true, but ['c'], ['a', 'b', 'c'] is false\n\texports.oneSetIsSubArrayOfOther = function (left, right) {\n\t left = left.slice();\n\t for (var i = 0, len = right.length; i < len; i++) {\n\t var field = right[i];\n\t if (!left.length) {\n\t break;\n\t }\n\t var leftIdx = left.indexOf(field);\n\t if (leftIdx === -1) {\n\t return false;\n\t } else {\n\t left.splice(leftIdx, 1);\n\t }\n\t }\n\t return true;\n\t};\n\t\n\texports.compare = function (left, right) {\n\t return left < right ? -1 : left > right ? 1 : 0;\n\t};\n\t\n\texports.arrayToObject = function (arr) {\n\t var res = {};\n\t for (var i = 0, len = arr.length; i < len; i++) {\n\t res[arr[i]] = true;\n\t }\n\t return res;\n\t};\n\t\n\texports.max = function (arr, fun) {\n\t var max = null;\n\t var maxScore = -1;\n\t for (var i = 0, len = arr.length; i < len; i++) {\n\t var element = arr[i];\n\t var score = fun(element);\n\t if (score > maxScore) {\n\t maxScore = score;\n\t max = element;\n\t }\n\t }\n\t return max;\n\t};\n\t\n\texports.arrayEquals = function (arr1, arr2) {\n\t if (arr1.length !== arr2.length) {\n\t return false;\n\t }\n\t for (var i = 0, len = arr1.length; i < len; i++) {\n\t if (arr1[i] !== arr2[i]) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t};\n\t\n\texports.uniq = function(arr) {\n\t var obj = {};\n\t for (var i = 0; i < arr.length; i++) {\n\t obj['$' + arr[i]] = true;\n\t }\n\t return Object.keys(obj).map(function (key) {\n\t return key.substring(1);\n\t });\n\t};\n\t\n\texports.log = __webpack_require__(15)('pouchdb:find');\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(6)))\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.unpromiser = unpromiser;\n\texports.isPromise = isPromise;\n\texports.isOnline = isOnline;\n\texports.isOffline = isOffline;\n\texports.sleep = sleep;\n\texports.retry = retry;\n\texports.getFuzzedDelay = getFuzzedDelay;\n\texports.getBackedoffDelay = getBackedoffDelay;\n\texports.createPath = createPath;\n\texports.encodeQuery = encodeQuery;\n\texports.decodeQuery = decodeQuery;\n\texports.warn = warn;\n\t/* global navigator */\n\tvar FuzzFactor = 0.3;\n\t\n\tfunction unpromiser(fn) {\n\t return function () {\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t var value = fn.apply(this, args);\n\t if (!isPromise(value)) {\n\t return value;\n\t }\n\t var l = args.length;\n\t if (l === 0 || typeof args[l - 1] !== 'function') {\n\t return;\n\t }\n\t var cb = args[l - 1];\n\t value.then(function (res) {\n\t return cb(null, res);\n\t }, function (err) {\n\t return cb(err, null);\n\t });\n\t };\n\t}\n\t\n\tfunction isPromise(value) {\n\t return !!value && typeof value.then === 'function';\n\t}\n\t\n\tfunction isOnline() {\n\t return typeof navigator !== 'undefined' ? navigator.onLine : true;\n\t}\n\t\n\tfunction isOffline() {\n\t return !isOnline();\n\t}\n\t\n\tfunction sleep(time, args) {\n\t return new Promise(function (resolve) {\n\t setTimeout(resolve, time, args);\n\t });\n\t}\n\t\n\tfunction retry(fn, count) {\n\t var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;\n\t\n\t return function doTry() {\n\t for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n\t args[_key2] = arguments[_key2];\n\t }\n\t\n\t return fn.apply(undefined, args).catch(function (err) {\n\t if (--count < 0) {\n\t throw err;\n\t }\n\t return sleep(getBackedoffDelay(delay, count)).then(function () {\n\t return doTry.apply(undefined, args);\n\t });\n\t });\n\t };\n\t}\n\t\n\tfunction getFuzzedDelay(retryDelay) {\n\t var fuzzingFactor = (Math.random() * 2 - 1) * FuzzFactor;\n\t return retryDelay * (1.0 + fuzzingFactor);\n\t}\n\t\n\tfunction getBackedoffDelay(retryDelay) {\n\t var retryCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n\t\n\t return getFuzzedDelay(retryDelay * Math.pow(2, retryCount - 1));\n\t}\n\t\n\tfunction createPath(cozy, isV2, doctype) {\n\t var id = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';\n\t var query = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;\n\t\n\t var route = '/data/';\n\t if (!isV2) {\n\t route += encodeURIComponent(doctype) + '/';\n\t }\n\t if (id !== '') {\n\t route += encodeURIComponent(id);\n\t }\n\t var q = encodeQuery(query);\n\t if (q !== '') {\n\t route += '?' + q;\n\t }\n\t return route;\n\t}\n\t\n\tfunction encodeQuery(query) {\n\t if (!query) {\n\t return '';\n\t }\n\t var q = '';\n\t for (var qname in query) {\n\t if (q !== '') {\n\t q += '&';\n\t }\n\t q += encodeURIComponent(qname) + '=' + encodeURIComponent(query[qname]);\n\t }\n\t return q;\n\t}\n\t\n\tfunction decodeQuery(url) {\n\t var queryIndex = url.indexOf('?');\n\t if (queryIndex < 0) {\n\t queryIndex = url.length;\n\t }\n\t var queries = {};\n\t var fragIndex = url.indexOf('#');\n\t if (fragIndex < 0) {\n\t fragIndex = url.length;\n\t }\n\t if (fragIndex < queryIndex) {\n\t return queries;\n\t }\n\t var queryStr = url.slice(queryIndex + 1, fragIndex);\n\t if (queryStr === '') {\n\t return queries;\n\t }\n\t var parts = queryStr.split('&');\n\t for (var i = 0; i < parts.length; i++) {\n\t var pair = parts[i].split('=');\n\t if (pair.length === 0 || pair[0] === '') {\n\t continue;\n\t }\n\t var qname = decodeURIComponent(pair[0]);\n\t if (queries.hasOwnProperty(qname)) {\n\t continue;\n\t }\n\t if (pair.length === 1) {\n\t queries[qname] = true;\n\t } else if (pair.length === 2) {\n\t queries[qname] = decodeURIComponent(pair[1]);\n\t } else {\n\t throw new Error('Malformed URL');\n\t }\n\t }\n\t return queries;\n\t}\n\t\n\tvar warned = [];\n\tfunction warn(text) {\n\t if (warned.indexOf(text) === -1) {\n\t warned.push(text);\n\t console.warn('cozy-client-js', text);\n\t }\n\t}\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar utils = __webpack_require__(2);\n\tvar collate = __webpack_require__(7);\n\t\n\tfunction getKey(obj) {\n\t return Object.keys(obj)[0];\n\t}\n\t\n\tfunction getValue(obj) {\n\t return obj[getKey(obj)];\n\t}\n\t\n\t// normalize the \"sort\" value\n\tfunction massageSort(sort) {\n\t if (!Array.isArray(sort)) {\n\t throw new Error('invalid sort json - should be an array');\n\t }\n\t return sort.map(function (sorting) {\n\t if (typeof sorting === 'string') {\n\t var obj = {};\n\t obj[sorting] = 'asc';\n\t return obj;\n\t } else {\n\t return sorting;\n\t }\n\t });\n\t}\n\t\n\tvar combinationFields = ['$or', '$nor', '$not'];\n\tfunction isCombinationalField (field) {\n\t return combinationFields.indexOf(field) > -1;\n\t}\n\t\n\t// collapse logically equivalent gt/gte values\n\tfunction mergeGtGte(operator, value, fieldMatchers) {\n\t if (typeof fieldMatchers.$eq !== 'undefined') {\n\t return; // do nothing\n\t }\n\t if (typeof fieldMatchers.$gte !== 'undefined') {\n\t if (operator === '$gte') {\n\t if (value > fieldMatchers.$gte) { // more specificity\n\t fieldMatchers.$gte = value;\n\t }\n\t } else { // operator === '$gt'\n\t if (value >= fieldMatchers.$gte) { // more specificity\n\t delete fieldMatchers.$gte;\n\t fieldMatchers.$gt = value;\n\t }\n\t }\n\t } else if (typeof fieldMatchers.$gt !== 'undefined') {\n\t if (operator === '$gte') {\n\t if (value > fieldMatchers.$gt) { // more specificity\n\t delete fieldMatchers.$gt;\n\t fieldMatchers.$gte = value;\n\t }\n\t } else { // operator === '$gt'\n\t if (value > fieldMatchers.$gt) { // more specificity\n\t fieldMatchers.$gt = value;\n\t }\n\t }\n\t } else {\n\t fieldMatchers[operator] = value;\n\t }\n\t}\n\t\n\t// collapse logically equivalent lt/lte values\n\tfunction mergeLtLte(operator, value, fieldMatchers) {\n\t if (typeof fieldMatchers.$eq !== 'undefined') {\n\t return; // do nothing\n\t }\n\t if (typeof fieldMatchers.$lte !== 'undefined') {\n\t if (operator === '$lte') {\n\t if (value < fieldMatchers.$lte) { // more specificity\n\t fieldMatchers.$lte = value;\n\t }\n\t } else { // operator === '$gt'\n\t if (value <= fieldMatchers.$lte) { // more specificity\n\t delete fieldMatchers.$lte;\n\t fieldMatchers.$lt = value;\n\t }\n\t }\n\t } else if (typeof fieldMatchers.$lt !== 'undefined') {\n\t if (operator === '$lte') {\n\t if (value < fieldMatchers.$lt) { // more specificity\n\t delete fieldMatchers.$lt;\n\t fieldMatchers.$lte = value;\n\t }\n\t } else { // operator === '$gt'\n\t if (value < fieldMatchers.$lt) { // more specificity\n\t fieldMatchers.$lt = value;\n\t }\n\t }\n\t } else {\n\t fieldMatchers[operator] = value;\n\t }\n\t}\n\t\n\t// combine $ne values into one array\n\tfunction mergeNe(value, fieldMatchers) {\n\t if ('$ne' in fieldMatchers) {\n\t // there are many things this could \"not\" be\n\t fieldMatchers.$ne.push(value);\n\t } else { // doesn't exist yet\n\t fieldMatchers.$ne = [value];\n\t }\n\t}\n\t\n\t// add $eq into the mix\n\tfunction mergeEq(value, fieldMatchers) {\n\t // these all have less specificity than the $eq\n\t // TODO: check for user errors here\n\t delete fieldMatchers.$gt;\n\t delete fieldMatchers.$gte;\n\t delete fieldMatchers.$lt;\n\t delete fieldMatchers.$lte;\n\t delete fieldMatchers.$ne;\n\t fieldMatchers.$eq = value;\n\t}\n\t\n\t// flatten an array of selectors joined by an $and operator\n\tfunction mergeAndedSelectors(selectors) {\n\t\n\t // sort to ensure that e.g. if the user specified\n\t // $and: [{$gt: 'a'}, {$gt: 'b'}], then it's collapsed into\n\t // just {$gt: 'b'}\n\t var res = {};\n\t\n\t selectors.forEach(function (selector) {\n\t Object.keys(selector).forEach(function (field) {\n\t var matcher = selector[field];\n\t if (typeof matcher !== 'object') {\n\t matcher = {$eq: matcher};\n\t }\n\t\n\t if (isCombinationalField(field)) {\n\t if (matcher instanceof Array) {\n\t res[field] = matcher.map(function (m) {\n\t return mergeAndedSelectors([m]);\n\t });\n\t } else {\n\t res[field] = mergeAndedSelectors([matcher]);\n\t }\n\t } else {\n\t var fieldMatchers = res[field] = res[field] || {};\n\t Object.keys(matcher).forEach(function (operator) {\n\t var value = matcher[operator];\n\t\n\t if (operator === '$gt' || operator === '$gte') {\n\t return mergeGtGte(operator, value, fieldMatchers);\n\t } else if (operator === '$lt' || operator === '$lte') {\n\t return mergeLtLte(operator, value, fieldMatchers);\n\t } else if (operator === '$ne') {\n\t return mergeNe(value, fieldMatchers);\n\t } else if (operator === '$eq') {\n\t return mergeEq(value, fieldMatchers);\n\t }\n\t fieldMatchers[operator] = value;\n\t });\n\t }\n\t });\n\t });\n\t\n\t return res;\n\t}\n\t\n\t//\n\t// normalize the selector\n\t//\n\tfunction massageSelector(input) {\n\t var result = utils.clone(input);\n\t var wasAnded = false;\n\t if ('$and' in result) {\n\t result = mergeAndedSelectors(result['$and']);\n\t wasAnded = true;\n\t }\n\t\n\t if ('$not' in result) {\n\t //This feels a little like forcing, but it will work for now,\n\t //I would like to come back to this and make the merging of selectors a little more generic\n\t result['$not'] = mergeAndedSelectors([result['$not']]);\n\t }\n\t\n\t var fields = Object.keys(result);\n\t\n\t for (var i = 0; i < fields.length; i++) {\n\t var field = fields[i];\n\t var matcher = result[field];\n\t\n\t if (typeof matcher !== 'object' || matcher === null) {\n\t matcher = {$eq: matcher};\n\t } else if ('$ne' in matcher && !wasAnded) {\n\t // I put these in an array, since there may be more than one\n\t // but in the \"mergeAnded\" operation, I already take care of that\n\t matcher.$ne = [matcher.$ne];\n\t }\n\t result[field] = matcher;\n\t }\n\t\n\t return result;\n\t}\n\t\n\t\n\tfunction massageIndexDef(indexDef) {\n\t indexDef.fields = indexDef.fields.map(function (field) {\n\t if (typeof field === 'string') {\n\t var obj = {};\n\t obj[field] = 'asc';\n\t return obj;\n\t }\n\t return field;\n\t });\n\t return indexDef;\n\t}\n\t\n\tfunction getKeyFromDoc(doc, index) {\n\t var res = [];\n\t for (var i = 0; i < index.def.fields.length; i++) {\n\t var field = getKey(index.def.fields[i]);\n\t res.push(doc[field]);\n\t }\n\t return res;\n\t}\n\t\n\t// have to do this manually because REASONS. I don't know why\n\t// CouchDB didn't implement inclusive_start\n\tfunction filterInclusiveStart(rows, targetValue, index) {\n\t var indexFields = index.def.fields;\n\t for (var i = 0, len = rows.length; i < len; i++) {\n\t var row = rows[i];\n\t\n\t // shave off any docs at the beginning that are <= the\n\t // target value\n\t\n\t var docKey = getKeyFromDoc(row.doc, index);\n\t if (indexFields.length === 1) {\n\t docKey = docKey[0]; // only one field, not multi-field\n\t } else { // more than one field in index\n\t // in the case where e.g. the user is searching {$gt: {a: 1}}\n\t // but the index is [a, b], then we need to shorten the doc key\n\t while (docKey.length > targetValue.length) {\n\t docKey.pop();\n\t }\n\t }\n\t //ABS as we just looking for values that don't match\n\t if (Math.abs(collate.collate(docKey, targetValue)) > 0) {\n\t // no need to filter any further; we're past the key\n\t break;\n\t }\n\t }\n\t return i > 0 ? rows.slice(i) : rows;\n\t}\n\t\n\tfunction reverseOptions(opts) {\n\t var newOpts = utils.clone(opts);\n\t delete newOpts.startkey;\n\t delete newOpts.endkey;\n\t delete newOpts.inclusive_start;\n\t delete newOpts.inclusive_end;\n\t\n\t if ('endkey' in opts) {\n\t newOpts.startkey = opts.endkey;\n\t }\n\t if ('startkey' in opts) {\n\t newOpts.endkey = opts.startkey;\n\t }\n\t if ('inclusive_start' in opts) {\n\t newOpts.inclusive_end = opts.inclusive_start;\n\t }\n\t if ('inclusive_end' in opts) {\n\t newOpts.inclusive_start = opts.inclusive_end;\n\t }\n\t return newOpts;\n\t}\n\t\n\tfunction validateIndex(index) {\n\t var ascFields = index.fields.filter(function (field) {\n\t return getValue(field) === 'asc';\n\t });\n\t if (ascFields.length !== 0 && ascFields.length !== index.fields.length) {\n\t throw new Error('unsupported mixed sorting');\n\t }\n\t}\n\t\n\tfunction validateSort (requestDef, index) {\n\t if (index.defaultUsed && requestDef.sort) {\n\t var noneIdSorts = requestDef.sort.filter(function (sortItem) {\n\t return Object.keys(sortItem)[0] !== '_id';\n\t }).map(function (sortItem) {\n\t return Object.keys(sortItem)[0];\n\t });\n\t\n\t if (noneIdSorts.length > 0) {\n\t throw new Error('Cannot sort on field(s) \"' + noneIdSorts.join(',') +\n\t '\" when using the default index');\n\t }\n\t }\n\t\n\t if (index.defaultUsed) {\n\t return;\n\t }\n\t}\n\t\n\tfunction validateFindRequest(requestDef) {\n\t if (typeof requestDef.selector !== 'object') {\n\t throw new Error('you must provide a selector when you find()');\n\t }\n\t\n\t /*var selectors = requestDef.selector['$and'] || [requestDef.selector];\n\t for (var i = 0; i < selectors.length; i++) {\n\t var selector = selectors[i];\n\t var keys = Object.keys(selector);\n\t if (keys.length === 0) {\n\t throw new Error('invalid empty selector');\n\t }\n\t //var selection = selector[keys[0]];\n\t /*if (Object.keys(selection).length !== 1) {\n\t throw new Error('invalid selector: ' + JSON.stringify(selection) +\n\t ' - it must have exactly one key/value');\n\t }\n\t }*/\n\t}\n\t\n\t// determine the maximum number of fields\n\t// we're going to need to query, e.g. if the user\n\t// has selection ['a'] and sorting ['a', 'b'], then we\n\t// need to use the longer of the two: ['a', 'b']\n\tfunction getUserFields(selector, sort) {\n\t var selectorFields = Object.keys(selector);\n\t var sortFields = sort? sort.map(getKey) : [];\n\t var userFields;\n\t if (selectorFields.length >= sortFields.length) {\n\t userFields = selectorFields;\n\t } else {\n\t userFields = sortFields;\n\t }\n\t\n\t if (sortFields.length === 0) {\n\t return {\n\t fields: userFields\n\t };\n\t }\n\t\n\t // sort according to the user's preferred sorting\n\t userFields = userFields.sort(function (left, right) {\n\t var leftIdx = sortFields.indexOf(left);\n\t if (leftIdx === -1) {\n\t leftIdx = Number.MAX_VALUE;\n\t }\n\t var rightIdx = sortFields.indexOf(right);\n\t if (rightIdx === -1) {\n\t rightIdx = Number.MAX_VALUE;\n\t }\n\t return leftIdx < rightIdx ? -1 : leftIdx > rightIdx ? 1 : 0;\n\t });\n\t\n\t return {\n\t fields: userFields,\n\t sortOrder: sort.map(getKey)\n\t };\n\t}\n\t\n\tmodule.exports = {\n\t getKey: getKey,\n\t getValue: getValue,\n\t massageSort: massageSort,\n\t massageSelector: massageSelector,\n\t validateIndex: validateIndex,\n\t validateFindRequest: validateFindRequest,\n\t validateSort: validateSort,\n\t reverseOptions: reverseOptions,\n\t filterInclusiveStart: filterInclusiveStart,\n\t massageIndexDef: massageIndexDef,\n\t parseField: utils.parseField,\n\t getUserFields: getUserFields,\n\t isCombinationalField: isCombinationalField\n\t};\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.DOCTYPE_FILES = undefined;\n\texports.normalizeDoctype = normalizeDoctype;\n\t\n\tvar _utils = __webpack_require__(3);\n\t\n\tvar DOCTYPE_FILES = exports.DOCTYPE_FILES = 'io.cozy.files';\n\t\n\tvar KNOWN_DOCTYPES = {\n\t 'files': DOCTYPE_FILES,\n\t 'folder': DOCTYPE_FILES,\n\t 'contact': 'io.cozy.contacts',\n\t 'event': 'io.cozy.events',\n\t 'track': 'io.cozy.labs.music.track',\n\t 'playlist': 'io.cozy.labs.music.playlist'\n\t};\n\t\n\tvar REVERSE_KNOWN = {};\n\tObject.keys(KNOWN_DOCTYPES).forEach(function (k) {\n\t REVERSE_KNOWN[KNOWN_DOCTYPES[k]] = k;\n\t});\n\t\n\tfunction normalizeDoctype(cozy, isV2, doctype) {\n\t var isQualified = doctype.indexOf('.') !== -1;\n\t if (isV2 && isQualified) {\n\t var known = REVERSE_KNOWN[doctype];\n\t if (known) return known;\n\t return doctype.replace(/\\./g, '-');\n\t }\n\t if (!isV2 && !isQualified) {\n\t var _known = KNOWN_DOCTYPES[doctype];\n\t if (_known) {\n\t (0, _utils.warn)('you are using a non-qualified doctype ' + doctype + ' assumed to be ' + _known);\n\t return _known;\n\t }\n\t throw new Error('Doctype ' + doctype + ' should be qualified.');\n\t }\n\t return doctype;\n\t}\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\tfunction defaultSetTimout() {\n\t throw new Error('setTimeout has not been defined');\n\t}\n\tfunction defaultClearTimeout () {\n\t throw new Error('clearTimeout has not been defined');\n\t}\n\t(function () {\n\t try {\n\t if (typeof setTimeout === 'function') {\n\t cachedSetTimeout = setTimeout;\n\t } else {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t } catch (e) {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t try {\n\t if (typeof clearTimeout === 'function') {\n\t cachedClearTimeout = clearTimeout;\n\t } else {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t } catch (e) {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t} ())\n\tfunction runTimeout(fun) {\n\t if (cachedSetTimeout === setTimeout) {\n\t //normal enviroments in sane situations\n\t return setTimeout(fun, 0);\n\t }\n\t // if setTimeout wasn't available but was latter defined\n\t if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n\t cachedSetTimeout = setTimeout;\n\t return setTimeout(fun, 0);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedSetTimeout(fun, 0);\n\t } catch(e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedSetTimeout.call(null, fun, 0);\n\t } catch(e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t return cachedSetTimeout.call(this, fun, 0);\n\t }\n\t }\n\t\n\t\n\t}\n\tfunction runClearTimeout(marker) {\n\t if (cachedClearTimeout === clearTimeout) {\n\t //normal enviroments in sane situations\n\t return clearTimeout(marker);\n\t }\n\t // if clearTimeout wasn't available but was latter defined\n\t if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n\t cachedClearTimeout = clearTimeout;\n\t return clearTimeout(marker);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedClearTimeout(marker);\n\t } catch (e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedClearTimeout.call(null, marker);\n\t } catch (e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t return cachedClearTimeout.call(this, marker);\n\t }\n\t }\n\t\n\t\n\t\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = runTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t runTimeout(drainQueue);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar MIN_MAGNITUDE = -324; // verified by -Number.MIN_VALUE\n\tvar MAGNITUDE_DIGITS = 3; // ditto\n\tvar SEP = ''; // set to '_' for easier debugging \n\t\n\tvar utils = __webpack_require__(40);\n\t\n\texports.collate = function (a, b) {\n\t\n\t if (a === b) {\n\t return 0;\n\t }\n\t\n\t a = exports.normalizeKey(a);\n\t b = exports.normalizeKey(b);\n\t\n\t var ai = collationIndex(a);\n\t var bi = collationIndex(b);\n\t if ((ai - bi) !== 0) {\n\t return ai - bi;\n\t }\n\t if (a === null) {\n\t return 0;\n\t }\n\t switch (typeof a) {\n\t case 'number':\n\t return a - b;\n\t case 'boolean':\n\t return a === b ? 0 : (a < b ? -1 : 1);\n\t case 'string':\n\t return stringCollate(a, b);\n\t }\n\t return Array.isArray(a) ? arrayCollate(a, b) : objectCollate(a, b);\n\t};\n\t\n\t// couch considers null/NaN/Infinity/-Infinity === undefined,\n\t// for the purposes of mapreduce indexes. also, dates get stringified.\n\texports.normalizeKey = function (key) {\n\t switch (typeof key) {\n\t case 'undefined':\n\t return null;\n\t case 'number':\n\t if (key === Infinity || key === -Infinity || isNaN(key)) {\n\t return null;\n\t }\n\t return key;\n\t case 'object':\n\t var origKey = key;\n\t if (Array.isArray(key)) {\n\t var len = key.length;\n\t key = new Array(len);\n\t for (var i = 0; i < len; i++) {\n\t key[i] = exports.normalizeKey(origKey[i]);\n\t }\n\t } else if (key instanceof Date) {\n\t return key.toJSON();\n\t } else if (key !== null) { // generic object\n\t key = {};\n\t for (var k in origKey) {\n\t if (origKey.hasOwnProperty(k)) {\n\t var val = origKey[k];\n\t if (typeof val !== 'undefined') {\n\t key[k] = exports.normalizeKey(val);\n\t }\n\t }\n\t }\n\t }\n\t }\n\t return key;\n\t};\n\t\n\tfunction indexify(key) {\n\t if (key !== null) {\n\t switch (typeof key) {\n\t case 'boolean':\n\t return key ? 1 : 0;\n\t case 'number':\n\t return numToIndexableString(key);\n\t case 'string':\n\t // We've to be sure that key does not contain \\u0000\n\t // Do order-preserving replacements:\n\t // 0 -> 1, 1\n\t // 1 -> 1, 2\n\t // 2 -> 2, 2\n\t return key\n\t .replace(/\\u0002/g, '\\u0002\\u0002')\n\t .replace(/\\u0001/g, '\\u0001\\u0002')\n\t .replace(/\\u0000/g, '\\u0001\\u0001');\n\t case 'object':\n\t var isArray = Array.isArray(key);\n\t var arr = isArray ? key : Object.keys(key);\n\t var i = -1;\n\t var len = arr.length;\n\t var result = '';\n\t if (isArray) {\n\t while (++i < len) {\n\t result += exports.toIndexableString(arr[i]);\n\t }\n\t } else {\n\t while (++i < len) {\n\t var objKey = arr[i];\n\t result += exports.toIndexableString(objKey) +\n\t exports.toIndexableString(key[objKey]);\n\t }\n\t }\n\t return result;\n\t }\n\t }\n\t return '';\n\t}\n\t\n\t// convert the given key to a string that would be appropriate\n\t// for lexical sorting, e.g. within a database, where the\n\t// sorting is the same given by the collate() function.\n\texports.toIndexableString = function (key) {\n\t var zero = '\\u0000';\n\t key = exports.normalizeKey(key);\n\t return collationIndex(key) + SEP + indexify(key) + zero;\n\t};\n\t\n\tfunction parseNumber(str, i) {\n\t var originalIdx = i;\n\t var num;\n\t var zero = str[i] === '1';\n\t if (zero) {\n\t num = 0;\n\t i++;\n\t } else {\n\t var neg = str[i] === '0';\n\t i++;\n\t var numAsString = '';\n\t var magAsString = str.substring(i, i + MAGNITUDE_DIGITS);\n\t var magnitude = parseInt(magAsString, 10) + MIN_MAGNITUDE;\n\t if (neg) {\n\t magnitude = -magnitude;\n\t }\n\t i += MAGNITUDE_DIGITS;\n\t while (true) {\n\t var ch = str[i];\n\t if (ch === '\\u0000') {\n\t break;\n\t } else {\n\t numAsString += ch;\n\t }\n\t i++;\n\t }\n\t numAsString = numAsString.split('.');\n\t if (numAsString.length === 1) {\n\t num = parseInt(numAsString, 10);\n\t } else {\n\t num = parseFloat(numAsString[0] + '.' + numAsString[1]);\n\t }\n\t if (neg) {\n\t num = num - 10;\n\t }\n\t if (magnitude !== 0) {\n\t // parseFloat is more reliable than pow due to rounding errors\n\t // e.g. Number.MAX_VALUE would return Infinity if we did\n\t // num * Math.pow(10, magnitude);\n\t num = parseFloat(num + 'e' + magnitude);\n\t }\n\t }\n\t return {num: num, length : i - originalIdx};\n\t}\n\t\n\t// move up the stack while parsing\n\t// this function moved outside of parseIndexableString for performance\n\tfunction pop(stack, metaStack) {\n\t var obj = stack.pop();\n\t\n\t if (metaStack.length) {\n\t var lastMetaElement = metaStack[metaStack.length - 1];\n\t if (obj === lastMetaElement.element) {\n\t // popping a meta-element, e.g. an object whose value is another object\n\t metaStack.pop();\n\t lastMetaElement = metaStack[metaStack.length - 1];\n\t }\n\t var element = lastMetaElement.element;\n\t var lastElementIndex = lastMetaElement.index;\n\t if (Array.isArray(element)) {\n\t element.push(obj);\n\t } else if (lastElementIndex === stack.length - 2) { // obj with key+value\n\t var key = stack.pop();\n\t element[key] = obj;\n\t } else {\n\t stack.push(obj); // obj with key only\n\t }\n\t }\n\t}\n\t\n\texports.parseIndexableString = function (str) {\n\t var stack = [];\n\t var metaStack = []; // stack for arrays and objects\n\t var i = 0;\n\t\n\t while (true) {\n\t var collationIndex = str[i++];\n\t if (collationIndex === '\\u0000') {\n\t if (stack.length === 1) {\n\t return stack.pop();\n\t } else {\n\t pop(stack, metaStack);\n\t continue;\n\t }\n\t }\n\t switch (collationIndex) {\n\t case '1':\n\t stack.push(null);\n\t break;\n\t case '2':\n\t stack.push(str[i] === '1');\n\t i++;\n\t break;\n\t case '3':\n\t var parsedNum = parseNumber(str, i);\n\t stack.push(parsedNum.num);\n\t i += parsedNum.length;\n\t break;\n\t case '4':\n\t var parsedStr = '';\n\t while (true) {\n\t var ch = str[i];\n\t if (ch === '\\u0000') {\n\t break;\n\t }\n\t parsedStr += ch;\n\t i++;\n\t }\n\t // perform the reverse of the order-preserving replacement\n\t // algorithm (see above)\n\t parsedStr = parsedStr.replace(/\\u0001\\u0001/g, '\\u0000')\n\t .replace(/\\u0001\\u0002/g, '\\u0001')\n\t .replace(/\\u0002\\u0002/g, '\\u0002');\n\t stack.push(parsedStr);\n\t break;\n\t case '5':\n\t var arrayElement = { element: [], index: stack.length };\n\t stack.push(arrayElement.element);\n\t metaStack.push(arrayElement);\n\t break;\n\t case '6':\n\t var objElement = { element: {}, index: stack.length };\n\t stack.push(objElement.element);\n\t metaStack.push(objElement);\n\t break;\n\t default:\n\t throw new Error(\n\t 'bad collationIndex or unexpectedly reached end of input: ' + collationIndex);\n\t }\n\t }\n\t};\n\t\n\tfunction arrayCollate(a, b) {\n\t var len = Math.min(a.length, b.length);\n\t for (var i = 0; i < len; i++) {\n\t var sort = exports.collate(a[i], b[i]);\n\t if (sort !== 0) {\n\t return sort;\n\t }\n\t }\n\t return (a.length === b.length) ? 0 :\n\t (a.length > b.length) ? 1 : -1;\n\t}\n\tfunction stringCollate(a, b) {\n\t // See: https://github.com/daleharvey/pouchdb/issues/40\n\t // This is incompatible with the CouchDB implementation, but its the\n\t // best we can do for now\n\t return (a === b) ? 0 : ((a > b) ? 1 : -1);\n\t}\n\tfunction objectCollate(a, b) {\n\t var ak = Object.keys(a), bk = Object.keys(b);\n\t var len = Math.min(ak.length, bk.length);\n\t for (var i = 0; i < len; i++) {\n\t // First sort the keys\n\t var sort = exports.collate(ak[i], bk[i]);\n\t if (sort !== 0) {\n\t return sort;\n\t }\n\t // if the keys are equal sort the values\n\t sort = exports.collate(a[ak[i]], b[bk[i]]);\n\t if (sort !== 0) {\n\t return sort;\n\t }\n\t\n\t }\n\t return (ak.length === bk.length) ? 0 :\n\t (ak.length > bk.length) ? 1 : -1;\n\t}\n\t// The collation is defined by erlangs ordered terms\n\t// the atoms null, true, false come first, then numbers, strings,\n\t// arrays, then objects\n\t// null/undefined/NaN/Infinity/-Infinity are all considered null\n\tfunction collationIndex(x) {\n\t var id = ['boolean', 'number', 'string', 'object'];\n\t var idx = id.indexOf(typeof x);\n\t //false if -1 otherwise true, but fast!!!!1\n\t if (~idx) {\n\t if (x === null) {\n\t return 1;\n\t }\n\t if (Array.isArray(x)) {\n\t return 5;\n\t }\n\t return idx < 3 ? (idx + 2) : (idx + 3);\n\t }\n\t if (Array.isArray(x)) {\n\t return 5;\n\t }\n\t}\n\t\n\t// conversion:\n\t// x yyy zz...zz\n\t// x = 0 for negative, 1 for 0, 2 for positive\n\t// y = exponent (for negative numbers negated) moved so that it's >= 0\n\t// z = mantisse\n\tfunction numToIndexableString(num) {\n\t\n\t if (num === 0) {\n\t return '1';\n\t }\n\t\n\t // convert number to exponential format for easier and\n\t // more succinct string sorting\n\t var expFormat = num.toExponential().split(/e\\+?/);\n\t var magnitude = parseInt(expFormat[1], 10);\n\t\n\t var neg = num < 0;\n\t\n\t var result = neg ? '0' : '2';\n\t\n\t // first sort by magnitude\n\t // it's easier if all magnitudes are positive\n\t var magForComparison = ((neg ? -magnitude : magnitude) - MIN_MAGNITUDE);\n\t var magString = utils.padLeft((magForComparison).toString(), '0', MAGNITUDE_DIGITS);\n\t\n\t result += SEP + magString;\n\t\n\t // then sort by the factor\n\t var factor = Math.abs(parseFloat(expFormat[0])); // [1..10)\n\t if (neg) { // for negative reverse ordering\n\t factor = 10 - factor;\n\t }\n\t\n\t var factorStr = factor.toFixed(20);\n\t\n\t // strip zeros from the end\n\t factorStr = factorStr.replace(/\\.?0+$/, '');\n\t\n\t result += SEP + factorStr;\n\t\n\t return result;\n\t}\n\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.AppToken = exports.AccessToken = exports.Client = exports.StateKey = exports.CredsKey = undefined;\n\t\n\tvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /* global btoa */\n\t\n\t\n\texports.client = client;\n\texports.registerClient = registerClient;\n\texports.updateClient = updateClient;\n\texports.unregisterClient = unregisterClient;\n\texports.getClient = getClient;\n\texports.getAuthCodeURL = getAuthCodeURL;\n\texports.getAccessToken = getAccessToken;\n\texports.refreshToken = refreshToken;\n\texports.oauthFlow = oauthFlow;\n\t\n\tvar _utils = __webpack_require__(3);\n\t\n\tvar _fetch = __webpack_require__(1);\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar StateSize = 16;\n\t\n\tvar CredsKey = exports.CredsKey = 'creds';\n\tvar StateKey = exports.StateKey = 'state';\n\t\n\tvar Client = exports.Client = function () {\n\t function Client(opts) {\n\t _classCallCheck(this, Client);\n\t\n\t this.clientID = opts.clientID || opts.client_id || '';\n\t this.clientSecret = opts.clientSecret || opts.client_secret || '';\n\t this.registrationAccessToken = opts.registrationAccessToken || opts.registration_access_token || '';\n\t\n\t if (opts.redirect_uris) {\n\t this.redirectURI = opts.redirect_uris[0] || '';\n\t } else {\n\t this.redirectURI = opts.redirectURI || '';\n\t }\n\t\n\t this.softwareID = opts.softwareID || opts.software_id || '';\n\t this.softwareVersion = opts.softwareVersion || opts.software_version || '';\n\t this.clientName = opts.clientName || opts.client_name || '';\n\t this.clientKind = opts.clientKind || opts.client_kind || '';\n\t this.clientURI = opts.clientURI || opts.client_uri || '';\n\t\n\t this.logoURI = opts.logoURI || opts.logo_uri || '';\n\t this.policyURI = opts.policyURI || opts.policy_uri || '';\n\t\n\t if (!this.registrationAccessToken) {\n\t if (this.redirectURI === '') {\n\t throw new Error('Missing redirectURI field');\n\t }\n\t if (this.softwareID === '') {\n\t throw new Error('Missing softwareID field');\n\t }\n\t if (this.clientName === '') {\n\t throw new Error('Missing clientName field');\n\t }\n\t }\n\t }\n\t\n\t _createClass(Client, [{\n\t key: 'isRegistered',\n\t value: function isRegistered() {\n\t return this.clientID !== '';\n\t }\n\t }, {\n\t key: 'toRegisterJSON',\n\t value: function toRegisterJSON() {\n\t return {\n\t redirect_uris: [this.redirectURI],\n\t software_id: this.softwareID,\n\t software_version: this.softwareVersion,\n\t client_name: this.clientName,\n\t client_kind: this.clientKind,\n\t client_uri: this.clientURI,\n\t logo_uri: this.logoURI,\n\t policy_uri: this.policyURI\n\t };\n\t }\n\t }, {\n\t key: 'toAuthHeader',\n\t value: function toAuthHeader() {\n\t return 'Bearer ' + this.registrationAccessToken;\n\t }\n\t }]);\n\t\n\t return Client;\n\t}();\n\t\n\tvar AccessToken = exports.AccessToken = function () {\n\t function AccessToken(opts) {\n\t _classCallCheck(this, AccessToken);\n\t\n\t this.tokenType = opts.tokenType || opts.token_type;\n\t this.accessToken = opts.accessToken || opts.access_token;\n\t this.refreshToken = opts.refreshToken || opts.refresh_token;\n\t this.scope = opts.scope;\n\t }\n\t\n\t _createClass(AccessToken, [{\n\t key: 'toAuthHeader',\n\t value: function toAuthHeader() {\n\t return 'Bearer ' + this.accessToken;\n\t }\n\t }, {\n\t key: 'toBasicAuth',\n\t value: function toBasicAuth() {\n\t return 'user:' + this.accessToken + '@';\n\t }\n\t }]);\n\t\n\t return AccessToken;\n\t}();\n\t\n\tvar AppToken = exports.AppToken = function () {\n\t function AppToken(opts) {\n\t _classCallCheck(this, AppToken);\n\t\n\t this.token = opts.token || '';\n\t }\n\t\n\t _createClass(AppToken, [{\n\t key: 'toAuthHeader',\n\t value: function toAuthHeader() {\n\t return 'Bearer ' + this.token;\n\t }\n\t }, {\n\t key: 'toBasicAuth',\n\t value: function toBasicAuth() {\n\t return 'user:' + this.token + '@';\n\t }\n\t }]);\n\t\n\t return AppToken;\n\t}();\n\t\n\tfunction client(cozy, clientParams) {\n\t if (!clientParams) {\n\t clientParams = cozy._clientParams;\n\t }\n\t if (clientParams instanceof Client) {\n\t return clientParams;\n\t }\n\t return new Client(clientParams);\n\t}\n\t\n\tfunction registerClient(cozy, clientParams) {\n\t var cli = client(cozy, clientParams);\n\t if (cli.isRegistered()) {\n\t return Promise.reject(new Error('Client already registered'));\n\t }\n\t return (0, _fetch.cozyFetchJSON)(cozy, 'POST', '/auth/register', cli.toRegisterJSON(), {\n\t disableAuth: true\n\t }).then(function (data) {\n\t return new Client(data);\n\t });\n\t}\n\t\n\tfunction updateClient(cozy, clientParams) {\n\t var resetSecret = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\t\n\t var cli = client(cozy, clientParams);\n\t if (!cli.isRegistered()) {\n\t return Promise.reject(new Error('Client not registered'));\n\t }\n\t var data = cli.toRegisterJSON();\n\t data.client_id = cli.clientID;\n\t if (resetSecret) data.client_secret = cli.clientSecret;\n\t\n\t return (0, _fetch.cozyFetchJSON)(cozy, 'PUT', '/auth/register/' + cli.clientID, data, {\n\t manualAuthCredentials: {\n\t token: cli\n\t }\n\t }).then(function (data) {\n\t return createClient(data, cli);\n\t });\n\t}\n\t\n\tfunction unregisterClient(cozy, clientParams) {\n\t var cli = client(cozy, clientParams);\n\t if (!cli.isRegistered()) {\n\t return Promise.reject(new Error('Client not registered'));\n\t }\n\t return (0, _fetch.cozyFetchJSON)(cozy, 'DELETE', '/auth/register/' + cli.clientID, null, {\n\t manualAuthCredentials: {\n\t token: cli\n\t }\n\t });\n\t}\n\t\n\t// getClient will retrive the registered client informations from the server.\n\tfunction getClient(cozy, clientParams) {\n\t var cli = client(cozy, clientParams);\n\t if (!cli.isRegistered()) {\n\t return Promise.reject(new Error('Client not registered'));\n\t }\n\t if ((0, _utils.isOffline)()) {\n\t return Promise.resolve(cli);\n\t }\n\t return (0, _fetch.cozyFetchJSON)(cozy, 'GET', '/auth/register/' + cli.clientID, null, {\n\t manualAuthCredentials: {\n\t token: cli\n\t }\n\t }).then(function (data) {\n\t return createClient(data, cli);\n\t }).catch(function (err) {\n\t // If we fall into an error while fetching the client (because of a\n\t // bad connectivity for instance), we do not bail the whole process\n\t // since the client should be able to continue with the persisted\n\t // client and token.\n\t //\n\t // If it is an explicit Unauthorized error though, we bail, clear th\n\t // cache and retry.\n\t if (_fetch.FetchError.isUnauthorized(err) || _fetch.FetchError.isNotFound(err)) {\n\t throw new Error('Client has been revoked');\n\t }\n\t throw err;\n\t });\n\t}\n\t\n\t// createClient returns a new Client instance given on object containing the\n\t// data of the client, from the API, and an old instance of the client.\n\tfunction createClient(data, oldClient) {\n\t var newClient = new Client(data);\n\t // we need to keep track of the registrationAccessToken since it is send\n\t // only on registration. The GET /auth/register/:client-id endpoint does\n\t // not return this token.\n\t var shouldPassRegistration = !!oldClient && oldClient.registrationAccessToken !== '' && newClient.registrationAccessToken === '';\n\t if (shouldPassRegistration) {\n\t newClient.registrationAccessToken = oldClient.registrationAccessToken;\n\t }\n\t return newClient;\n\t}\n\t\n\t// getAuthCodeURL returns a pair {authURL,state} given a registered client. The\n\t// state should be stored in order to be checked against on the user validation\n\t// phase.\n\tfunction getAuthCodeURL(cozy, client) {\n\t var scopes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\t\n\t if (!(client instanceof Client)) {\n\t client = new Client(client);\n\t }\n\t if (!client.isRegistered()) {\n\t throw new Error('Client not registered');\n\t }\n\t var state = generateRandomState();\n\t var query = {\n\t 'client_id': client.clientID,\n\t 'redirect_uri': client.redirectURI,\n\t 'state': state,\n\t 'response_type': 'code',\n\t 'scope': scopes.join(' ')\n\t };\n\t return {\n\t url: cozy._url + ('/auth/authorize?' + (0, _utils.encodeQuery)(query)),\n\t state: state\n\t };\n\t}\n\t\n\t// getAccessToken perform a request on the access_token entrypoint with the\n\t// authorization_code grant type in order to generate a new access token for a\n\t// newly registered client.\n\t//\n\t// This method extracts the access code and state from the given URL. By\n\t// default it uses window.location.href. Also, it checks the given state with\n\t// the one specified in the URL query parameter to prevent CSRF attacks.\n\tfunction getAccessToken(cozy, client, state) {\n\t var pageURL = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';\n\t\n\t if (!state) {\n\t return Promise.reject(new Error('Missing state value'));\n\t }\n\t var grantQueries = getGrantCodeFromPageURL(pageURL);\n\t if (grantQueries === null) {\n\t return Promise.reject(new Error('Missing states from current URL'));\n\t }\n\t if (state !== grantQueries.state) {\n\t return Promise.reject(new Error('Given state does not match url query state'));\n\t }\n\t return retrieveToken(cozy, client, null, {\n\t 'grant_type': 'authorization_code',\n\t 'code': grantQueries.code\n\t });\n\t}\n\t\n\t// refreshToken perform a request on the access_token entrypoint with the\n\t// refresh_token grant type in order to refresh the given token.\n\tfunction refreshToken(cozy, client, token) {\n\t return retrieveToken(cozy, client, token, {\n\t 'grant_type': 'refresh_token',\n\t 'refresh_token': token.refreshToken\n\t });\n\t}\n\t\n\t// oauthFlow performs the stateful registration and access granting of an OAuth\n\t// client.\n\tfunction oauthFlow(cozy, storage, clientParams, onRegistered) {\n\t var ignoreCachedCredentials = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\t\n\t if (ignoreCachedCredentials) {\n\t return storage.clear().then(function () {\n\t return oauthFlow(cozy, storage, clientParams, onRegistered, false);\n\t });\n\t }\n\t\n\t var tryCount = 0;\n\t\n\t function clearAndRetry(err) {\n\t if (tryCount++ > 0) {\n\t throw err;\n\t }\n\t return storage.clear().then(function () {\n\t return oauthFlow(cozy, storage, clientParams, onRegistered);\n\t });\n\t }\n\t\n\t function registerNewClient() {\n\t return storage.clear().then(function () {\n\t return registerClient(cozy, clientParams);\n\t }).then(function (client) {\n\t var _getAuthCodeURL = getAuthCodeURL(cozy, client, clientParams.scopes),\n\t url = _getAuthCodeURL.url,\n\t state = _getAuthCodeURL.state;\n\t\n\t return storage.save(StateKey, { client: client, url: url, state: state });\n\t });\n\t }\n\t\n\t return Promise.all([storage.load(CredsKey), storage.load(StateKey)]).then(function (_ref) {\n\t var _ref2 = _slicedToArray(_ref, 2),\n\t credentials = _ref2[0],\n\t storedState = _ref2[1];\n\t\n\t // If credentials are cached we re-fetch the registered client with the\n\t // said token. Fetching the client, if the token is outdated we should try\n\t // the token is refreshed.\n\t if (credentials) {\n\t var oldClient = void 0,\n\t _token = void 0;\n\t try {\n\t oldClient = new Client(credentials.client);\n\t _token = new AccessToken(credentials.token);\n\t } catch (err) {\n\t // bad cache, we should clear and retry the process\n\t return clearAndRetry(err);\n\t }\n\t return getClient(cozy, oldClient).then(function (client) {\n\t return { client: client, token: _token };\n\t }).catch(function (err) {\n\t // If we fall into an error while fetching the client (because of a\n\t // bad connectivity for instance), we do not bail the whole process\n\t // since the client should be able to continue with the persisted\n\t // client and token.\n\t //\n\t // If it is an explicit Unauthorized error though, we bail, clear th\n\t // cache and retry.\n\t if (_fetch.FetchError.isUnauthorized(err) || _fetch.FetchError.isNotFound(err)) {\n\t throw new Error('Client has been revoked');\n\t }\n\t return { client: oldClient, token: _token };\n\t });\n\t }\n\t\n\t // Otherwise register a new client if necessary (ie. no client is stored)\n\t // and call the onRegistered callback to wait for the user to grant the\n\t // access. Finally fetches to access token on success.\n\t var statePromise = void 0;\n\t if (!storedState) {\n\t statePromise = registerNewClient();\n\t } else {\n\t statePromise = Promise.resolve(storedState);\n\t }\n\t\n\t var client = void 0,\n\t state = void 0,\n\t token = void 0;\n\t return statePromise.then(function (data) {\n\t client = data.client;\n\t state = data.state;\n\t return Promise.resolve(onRegistered(client, data.url));\n\t }).then(function (pageURL) {\n\t return getAccessToken(cozy, client, state, pageURL);\n\t }).then(function (t) {\n\t token = t;\n\t }).then(function () {\n\t return storage.delete(StateKey);\n\t }).then(function () {\n\t return { client: client, token: token };\n\t });\n\t }).then(function (creds) {\n\t return storage.save(CredsKey, creds);\n\t }, function (err) {\n\t if (_fetch.FetchError.isUnauthorized(err)) {\n\t return clearAndRetry(err);\n\t } else {\n\t throw err;\n\t }\n\t });\n\t}\n\t\n\t// retrieveToken perform a request on the access_token entrypoint in order to\n\t// fetch a token.\n\tfunction retrieveToken(cozy, client, token, query) {\n\t if (!(client instanceof Client)) {\n\t client = new Client(client);\n\t }\n\t if (!client.isRegistered()) {\n\t return Promise.reject(new Error('Client not registered'));\n\t }\n\t var body = (0, _utils.encodeQuery)(Object.assign({}, query, {\n\t 'client_id': client.clientID,\n\t 'client_secret': client.clientSecret\n\t }));\n\t return (0, _fetch.cozyFetchJSON)(cozy, 'POST', '/auth/access_token', body, {\n\t disableAuth: token === null,\n\t dontRetry: true,\n\t manualAuthCredentials: { client: client, token: token },\n\t headers: { 'Content-Type': 'application/x-www-form-urlencoded' }\n\t }).then(function (data) {\n\t data.refreshToken = data.refreshToken || query.refresh_token;\n\t return new AccessToken(data);\n\t });\n\t}\n\t\n\t// getGrantCodeFromPageURL extract the state and access_code query parameters\n\t// from the given url\n\tfunction getGrantCodeFromPageURL() {\n\t var pageURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\t\n\t if (pageURL === '' && typeof window !== 'undefined') {\n\t pageURL = window.location.href;\n\t }\n\t var queries = (0, _utils.decodeQuery)(pageURL);\n\t if (!queries.hasOwnProperty('state')) {\n\t return null;\n\t }\n\t return {\n\t state: queries['state'],\n\t code: queries['access_code']\n\t };\n\t}\n\t\n\t// generateRandomState will try to generate a 128bits random value from a secure\n\t// pseudo random generator. It will fallback on Math.random if it cannot find\n\t// such generator.\n\tfunction generateRandomState() {\n\t var buffer = void 0;\n\t if (typeof window !== 'undefined' && typeof window.crypto !== 'undefined' && typeof window.crypto.getRandomValues === 'function') {\n\t buffer = new Uint8Array(StateSize);\n\t window.crypto.getRandomValues(buffer);\n\t } else {\n\t try {\n\t buffer = __webpack_require__(!(function webpackMissingModule() { var e = new Error(\"Cannot find module \\\"crypto\\\"\"); e.code = 'MODULE_NOT_FOUND'; throw e; }())).randomBytes(StateSize);\n\t } catch (e) {}\n\t }\n\t if (!buffer) {\n\t buffer = new Array(StateSize);\n\t for (var i = 0; i < buffer.length; i++) {\n\t buffer[i] = Math.floor(Math.random() * 255);\n\t }\n\t }\n\t return btoa(String.fromCharCode.apply(null, buffer)).replace(/=+$/, '').replace(/\\//g, '_').replace(/\\+/g, '-');\n\t}\n\n/***/ },\n/* 9 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\tvar Mutation = global.MutationObserver || global.WebKitMutationObserver;\n\t\n\tvar scheduleDrain;\n\t\n\t{\n\t if (Mutation) {\n\t var called = 0;\n\t var observer = new Mutation(nextTick);\n\t var element = global.document.createTextNode('');\n\t observer.observe(element, {\n\t characterData: true\n\t });\n\t scheduleDrain = function () {\n\t element.data = (called = ++called % 2);\n\t };\n\t } else if (!global.setImmediate && typeof global.MessageChannel !== 'undefined') {\n\t var channel = new global.MessageChannel();\n\t channel.port1.onmessage = nextTick;\n\t scheduleDrain = function () {\n\t channel.port2.postMessage(0);\n\t };\n\t } else if ('document' in global && 'onreadystatechange' in global.document.createElement('script')) {\n\t scheduleDrain = function () {\n\t\n\t // Create a