okanjo
Version:
Integrate your application with the Okanjo API.
1 lines • 70.4 kB
JavaScript
require=function n(o,i,a){function s(e,t){if(!i[e]){if(!o[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(c)return c(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}r=i[e]={exports:{}},o[e][0].call(r.exports,function(t){return s(o[e][1][t]||t)},r,r.exports,n,o,i,a)}return i[e].exports}for(var c="function"==typeof require&&require,t=0;t<a.length;t++)s(a[t]);return s}({1:[function(t,e,r){!function(t){!function(){"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],n="undefined"==typeof globalThis?t:globalThis;e.exports=function(){for(var t=[],e=0;e<r.length;e++)"function"==typeof n[r[e]]&&(t[t.length]=r[e]);return t}}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,r){},{}],3:[function(t,e,r){"use strict";var n=t("get-intrinsic"),o=t("./"),i=o(n("String.prototype.indexOf"));e.exports=function(t,e){e=n(t,!!e);return"function"==typeof e&&-1<i(t,".prototype.")?o(e):e}},{"./":4,"get-intrinsic":9}],4:[function(t,e,r){"use strict";var n=t("function-bind"),t=t("get-intrinsic"),o=t("%Function.prototype.apply%"),i=t("%Function.prototype.call%"),a=t("%Reflect.apply%",!0)||n.call(i,o),s=t("%Object.getOwnPropertyDescriptor%",!0),c=t("%Object.defineProperty%",!0),p=t("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}e.exports=function(t){var e=a(n,i,arguments);return s&&c&&s(e,"length").configurable&&c(e,"length",{value:1+p(0,t.length-(arguments.length-1))}),e};function u(){return a(n,o,arguments)}c?c(e.exports,"apply",{value:u}):e.exports.apply=u},{"function-bind":8,"get-intrinsic":9}],5:[function(e,t,r){"use strict";e=e("get-intrinsic")("%Object.getOwnPropertyDescriptor%",!0);if(e)try{e([],"length")}catch(t){e=null}t.exports=e},{"get-intrinsic":9}],6:[function(t,e,r){var a=Object.prototype.hasOwnProperty,s=Object.prototype.toString;e.exports=function(t,e,r){if("[object Function]"!==s.call(e))throw new TypeError("iterator must be a function");var n=t.length;if(n===+n)for(var o=0;o<n;o++)e.call(r,t[o],o,t);else for(var i in t)a.call(t,i)&&e.call(r,t[i],i,t)}},{}],7:[function(t,e,r){"use strict";var c=Array.prototype.slice,p=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==p.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var n,t,o=c.call(arguments,1),i=Math.max(0,r.length-o.length),a=[],s=0;s<i;s++)a.push("$"+s);return n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(function(){var t;return this instanceof n?(t=r.apply(this,o.concat(c.call(arguments))),Object(t)===t?t:this):r.apply(e,o.concat(c.call(arguments)))}),r.prototype&&((t=function(){}).prototype=r.prototype,n.prototype=new t,t.prototype=null),n}},{}],8:[function(t,e,r){"use strict";t=t("./implementation");e.exports=Function.prototype.bind||t},{"./implementation":7}],9:[function(t,e,r){"use strict";var n,f=SyntaxError,o=Function,m=TypeError,i=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(t){l=null}function a(){throw new m}function h(t){var e,r;return"%AsyncFunction%"===t?e=i("async function () {}"):"%GeneratorFunction%"===t?e=i("function* () {}"):"%AsyncGeneratorFunction%"===t?e=i("async function* () {}"):"%AsyncGenerator%"===t?(r=h("%AsyncGeneratorFunction%"))&&(e=r.prototype):"%AsyncIteratorPrototype%"===t&&(r=h("%AsyncGenerator%"))&&(e=p(r.prototype)),_[t]=e}var s=l?function(){try{return a}catch(t){try{return l(arguments,"callee").get}catch(t){return a}}}():a,c=t("has-symbols")(),p=Object.getPrototypeOf||function(t){return t.__proto__},y={},u="undefined"==typeof Uint8Array?n:p(Uint8Array),_={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":c?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?p(p([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&c?p((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&c?p((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?p(""[Symbol.iterator]()):n,"%Symbol%":c?Symbol:n,"%SyntaxError%":f,"%ThrowTypeError%":s,"%TypedArray%":u,"%TypeError%":m,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},c=t("function-bind"),v=t("has"),k=c.call(Function.call,Array.prototype.concat),b=c.call(Function.apply,Array.prototype.splice),P=c.call(Function.call,String.prototype.replace),q=c.call(Function.call,String.prototype.slice),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g;e.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new m("intrinsic name must be a non-empty string");if(1<arguments.length&&"boolean"!=typeof e)throw new m('"allowMissing" argument must be a boolean');var r=function(t){var e=q(t,0,1),r=q(t,-1);if("%"===e&&"%"!==r)throw new f("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new f("invalid intrinsic syntax, expected opening `%`");var o=[];return P(t,T,function(t,e,r,n){o[o.length]=r?P(n,R,"$1"):e||t}),o}(t),n=0<r.length?r[0]:"",o=function(t,e){var r,n=t;if(v(g,n)&&(n="%"+(r=g[n])[0]+"%"),v(_,n)){var o=_[n];if(void 0!==(o=o===y?h(n):o)||e)return{alias:r,name:n,value:o};throw new m("intrinsic "+t+" exists, but is not available. Please file an issue!")}throw new f("intrinsic "+t+" does not exist!")}("%"+n+"%",e),i=(o.name,o.value),a=!1,o=o.alias;o&&(n=o[0],b(r,k([0,1],o)));for(var s=1,c=!0;s<r.length;s+=1){var p=r[s],u=q(p,0,1),d=q(p,-1);if(('"'===u||"'"===u||"`"===u||'"'===d||"'"===d||"`"===d)&&u!==d)throw new f("property names with quotes must have matching quotes");if("constructor"!==p&&c||(a=!0),v(_,u="%"+(n+="."+p)+"%"))i=_[u];else if(null!=i){if(!(p in i)){if(e)return;throw new m("base intrinsic for "+t+" exists, but the property is not available.")}i=l&&s+1>=r.length?(c=!!(d=l(i,p)))&&"get"in d&&!("originalValue"in d.get)?d.get:i[p]:(c=v(i,p),i[p]),c&&!a&&(_[u]=i)}}return i}},{"function-bind":8,has:13,"has-symbols":10}],10:[function(t,e,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=t("./shams");e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},{"./shams":11}],11:[function(t,e,r){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){r=Object.getOwnPropertyDescriptor(t,e);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},{}],12:[function(t,e,r){"use strict";var n=t("has-symbols/shams");e.exports=function(){return n()&&!!Symbol.toStringTag}},{"has-symbols/shams":11}],13:[function(t,e,r){"use strict";t=t("function-bind");e.exports=t.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":8}],14:[function(t,e,r){"function"==typeof Object.create?e.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(t,e){var r;e&&(t.super_=e,(r=function(){}).prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t)}},{}],15:[function(t,e,r){"use strict";function n(t){return!(i&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===a(t)}function o(t){return!!n(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&0<=t.length&&"[object Array]"!==a(t)&&"[object Function]"===a(t.callee)}var i=t("has-tostringtag/shams")(),a=t("call-bind/callBound")("Object.prototype.toString"),t=function(){return n(arguments)}();n.isLegacyArguments=o,e.exports=t?n:o},{"call-bind/callBound":3,"has-tostringtag/shams":12}],16:[function(t,e,r){"use strict";var n,o=Object.prototype.toString,i=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=t("has-tostringtag/shams")(),c=Object.getPrototypeOf;e.exports=function(t){return"function"==typeof t&&(!!a.test(i.call(t))||(s?!!c&&(void 0===n&&(e=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(t){}}(),n=!!e&&c(e)),c(t)===n):"[object GeneratorFunction]"===o.call(t)));var e}},{"has-tostringtag/shams":12}],17:[function(m,l,t){!function(f){!function(){"use strict";var e=m("foreach"),t=m("available-typed-arrays"),r=m("call-bind/callBound"),o=r("Object.prototype.toString"),i=m("has-tostringtag/shams")(),n="undefined"==typeof globalThis?f:globalThis,a=t(),s=r("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},c=r("String.prototype.slice"),p={},u=m("es-abstract/helpers/getOwnPropertyDescriptor"),d=Object.getPrototypeOf;i&&u&&d&&e(a,function(t){var e,r=new n[t];Symbol.toStringTag in r&&(r=d(r),(e=u(r,Symbol.toStringTag))||(r=d(r),e=u(r,Symbol.toStringTag)),p[t]=e.get)});l.exports=function(t){return!(!t||"object"!=typeof t)&&(i&&Symbol.toStringTag in t?!!u&&(r=t,n=!1,e(p,function(t,e){if(!n)try{n=t.call(r)===e}catch(t){}}),n):(t=c(o(t),8,-1),-1<s(a,t)));var r,n}}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":1,"call-bind/callBound":3,"es-abstract/helpers/getOwnPropertyDescriptor":5,foreach:6,"has-tostringtag/shams":12}],18:[function(t,e,r){var n,o,e=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(t){o=a}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return(n=setTimeout)(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}var c,p=[],u=!1,d=-1;function f(){u&&c&&(u=!1,c.length?p=c.concat(p):d=-1,p.length&&m())}function m(){if(!u){for(var t=s(f),e=(u=!0,p.length);e;){for(c=p,p=[];++d<e;)c&&c[d].run();d=-1,e=p.length}c=null,u=!1,!function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return(o=clearTimeout)(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(t)}}function l(t,e){this.fun=t,this.array=e}function h(){}e.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];p.push(new l(t,e)),1!==p.length||u||s(m)},l.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=h,e.addListener=h,e.once=h,e.off=h,e.removeListener=h,e.removeAllListeners=h,e.emit=h,e.prependListener=h,e.prependOnceListener=h,e.listeners=function(t){return[]},e.binding=function(t){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(t){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},{}],19:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){r=r||"=";var o={};if("string"!=typeof t||0===t.length)return o;var i=/\+/g,e=(t=t.split(e=e||"&"),1e3),a=(n&&"number"==typeof n.maxKeys&&(e=n.maxKeys),t.length);0<e&&e<a&&(a=e);for(var s=0;s<a;++s){var c,p=t[s].replace(i,"%20"),u=p.indexOf(r),u=0<=u?(c=p.substr(0,u),p.substr(u+1)):(c=p,""),p=decodeURIComponent(c),u=decodeURIComponent(u);Object.prototype.hasOwnProperty.call(o,p)?d(o[p])?o[p].push(u):o[p]=[o[p],u]:o[p]=u}return o};var d=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},{}],20:[function(t,e,r){"use strict";function i(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}e.exports=function(r,n,o,t){return n=n||"&",o=o||"=","object"==typeof(r=null===r?void 0:r)?s(c(r),function(t){var e=encodeURIComponent(i(t))+o;return a(r[t])?s(r[t],function(t){return e+encodeURIComponent(i(t))}).join(n):e+encodeURIComponent(i(r[t]))}).join(n):t?encodeURIComponent(i(t))+o+encodeURIComponent(i(r)):""};var a=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function s(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n<t.length;n++)r.push(e(t[n],n));return r}var c=Object.keys||function(t){var e,r=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.push(e);return r}},{}],21:[function(t,e,r){"use strict";r.decode=r.parse=t("./decode"),r.encode=r.stringify=t("./encode")},{"./decode":19,"./encode":20}],22:[function(c,t,p){!function(r,s){!function(){var n=c("process/browser.js").nextTick,t=Function.prototype.apply,o=Array.prototype.slice,i={},a=0;function e(t,e){this._id=t,this._clearFn=e}p.setTimeout=function(){return new e(t.call(setTimeout,window,arguments),clearTimeout)},p.setInterval=function(){return new e(t.call(setInterval,window,arguments),clearInterval)},p.clearTimeout=p.clearInterval=function(t){t.close()},e.prototype.unref=e.prototype.ref=function(){},e.prototype.close=function(){this._clearFn.call(window,this._id)},p.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},p.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},p._unrefActive=p.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;0<=e&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},p.setImmediate="function"==typeof r?r:function(t){var e=a++,r=!(arguments.length<2)&&o.call(arguments,1);return i[e]=!0,n(function(){i[e]&&(r?t.apply(null,r):t.call(null),p.clearImmediate(e))}),e},p.clearImmediate="function"==typeof s?s:function(t){delete i[t]}}.call(this)}.call(this,c("timers").setImmediate,c("timers").clearImmediate)},{"process/browser.js":18,timers:22}],23:[function(t,e,r){e.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],24:[function(t,e,r){"use strict";var n=t("is-arguments"),o=t("is-generator-function"),i=t("which-typed-array"),a=t("is-typed-array");function s(t){return t.call.bind(t)}var c,p,u="undefined"!=typeof BigInt,d="undefined"!=typeof Symbol,f=s(Object.prototype.toString),m=s(Number.prototype.valueOf),l=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);function y(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function _(t){return"[object Map]"===f(t)}function g(t){return"[object Set]"===f(t)}function v(t){return"[object WeakMap]"===f(t)}function k(t){return"[object WeakSet]"===f(t)}function b(t){return"[object ArrayBuffer]"===f(t)}function P(t){return"undefined"!=typeof ArrayBuffer&&(b.working?b(t):t instanceof ArrayBuffer)}function q(t){return"[object DataView]"===f(t)}function T(t){return"undefined"!=typeof DataView&&(q.working?q(t):t instanceof DataView)}u&&(c=s(BigInt.prototype.valueOf)),d&&(p=s(Symbol.prototype.valueOf)),r.isArgumentsObject=n,r.isGeneratorFunction=o,r.isTypedArray=a,r.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},r.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):a(t)||T(t)},r.isUint8Array=function(t){return"Uint8Array"===i(t)},r.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===i(t)},r.isUint16Array=function(t){return"Uint16Array"===i(t)},r.isUint32Array=function(t){return"Uint32Array"===i(t)},r.isInt8Array=function(t){return"Int8Array"===i(t)},r.isInt16Array=function(t){return"Int16Array"===i(t)},r.isInt32Array=function(t){return"Int32Array"===i(t)},r.isFloat32Array=function(t){return"Float32Array"===i(t)},r.isFloat64Array=function(t){return"Float64Array"===i(t)},r.isBigInt64Array=function(t){return"BigInt64Array"===i(t)},r.isBigUint64Array=function(t){return"BigUint64Array"===i(t)},_.working="undefined"!=typeof Map&&_(new Map),r.isMap=function(t){return"undefined"!=typeof Map&&(_.working?_(t):t instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),r.isSet=function(t){return"undefined"!=typeof Set&&(g.working?g(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),r.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},k.working="undefined"!=typeof WeakSet&&k(new WeakSet),r.isWeakSet=k,b.working="undefined"!=typeof ArrayBuffer&&b(new ArrayBuffer),r.isArrayBuffer=P,q.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&q(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=T;var R="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function w(t){return"[object SharedArrayBuffer]"===f(t)}function E(t){return void 0!==R&&((w.working=void 0===w.working?w(new R):w.working)?w(t):t instanceof R)}function A(t){return y(t,m)}function S(t){return y(t,l)}function O(t){return y(t,h)}function j(t){return u&&y(t,c)}function G(t){return d&&y(t,p)}r.isSharedArrayBuffer=E,r.isAsyncFunction=function(t){return"[object AsyncFunction]"===f(t)},r.isMapIterator=function(t){return"[object Map Iterator]"===f(t)},r.isSetIterator=function(t){return"[object Set Iterator]"===f(t)},r.isGeneratorObject=function(t){return"[object Generator]"===f(t)},r.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===f(t)},r.isNumberObject=A,r.isStringObject=S,r.isBooleanObject=O,r.isBigIntObject=j,r.isSymbolObject=G,r.isBoxedPrimitive=function(t){return A(t)||S(t)||O(t)||j(t)||G(t)},r.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(P(t)||E(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(r,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})},{"is-arguments":15,"is-generator-function":16,"is-typed-array":17,"which-typed-array":26}],25:[function(A,t,S){!function(E){!function(){var t,e=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},s=/%[sdj%]/g,n=(S.format=function(t){if(!_(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(c(arguments[r]));return e.join(" ")}for(var r=1,n=arguments,o=n.length,i=String(t).replace(s,function(t){if("%%"===t)return"%";if(o<=r)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}}),a=n[r];r<o;a=n[++r])h(a)||!p(a)?i+=" "+a:i+=" "+c(a);return i},S.deprecate=function(t,e){if(void 0!==E&&!0===E.noDeprecation)return t;if(void 0===E)return function(){return S.deprecate(t,e).apply(this,arguments)};var r=!1;return function(){if(!r){if(E.throwDeprecation)throw new Error(e);E.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}},{}),o=/^$/;function c(t,e){var r={seen:[],stylize:a};return 3<=arguments.length&&(r.depth=arguments[2]),4<=arguments.length&&(r.colors=arguments[3]),l(e)?r.showHidden=e:e&&S._extend(r,e),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=i),u(r,t,r.depth)}function i(t,e){e=c.styles[e];return e?"["+c.colors[e][0]+"m"+t+"["+c.colors[e][1]+"m":t}function a(t,e){return t}function u(e,r,n){if(e.customInspect&&r&&P(r.inspect)&&r.inspect!==S.inspect&&(!r.constructor||r.constructor.prototype!==r))return _(t=r.inspect(n,e))?t:u(e,t,n);var t=function(t,e){if(g(e))return t.stylize("undefined","undefined");{var r;if(_(e))return r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'",t.stylize(r,"string")}return y(e)?t.stylize(""+e,"number"):l(e)?t.stylize(""+e,"boolean"):h(e)?t.stylize("null","null"):void 0}(e,r);if(t)return t;var o,t=Object.keys(r),i=(o={},t.forEach(function(t,e){o[t]=!0}),o);if(e.showHidden&&(t=Object.getOwnPropertyNames(r)),b(r)&&(0<=t.indexOf("message")||0<=t.indexOf("description")))return d(r);if(0===t.length){if(P(r))return a=r.name?": "+r.name:"",e.stylize("[Function"+a+"]","special");if(v(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return e.stylize(Date.prototype.toString.call(r),"date");if(b(r))return d(r)}var a="",s=!1,c=["{","}"];if(m(r)&&(s=!0,c=["[","]"]),P(r)&&(a=" [Function"+(r.name?": "+r.name:"")+"]"),v(r)&&(a=" "+RegExp.prototype.toString.call(r)),k(r)&&(a=" "+Date.prototype.toUTCString.call(r)),b(r)&&(a=" "+d(r)),0===t.length&&(!s||0==r.length))return c[0]+a+c[1];if(n<0)return v(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r),p=s?function(e,r,n,o,t){for(var i=[],a=0,s=r.length;a<s;++a)R(r,String(a))?i.push(f(e,r,n,o,String(a),!0)):i.push("");return t.forEach(function(t){t.match(/^\d+$/)||i.push(f(e,r,n,o,t,!0))}),i}(e,r,n,i,t):t.map(function(t){return f(e,r,n,i,t,s)}),e.seen.pop();var p;return 60<p.reduce(function(t,e){return 0<=e.indexOf("\n")&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)?c[0]+(""===a?"":a+"\n ")+" "+p.join(",\n ")+" "+c[1]:c[0]+a+" "+p.join(", ")+" "+c[1]}function d(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,r,n,o,i){var a,s,e=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]};if(e.get?s=e.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):e.set&&(s=t.stylize("[Setter]","special")),R(n,o)||(a="["+o+"]"),s||(t.seen.indexOf(e.value)<0?-1<(s=h(r)?u(t,e.value,null):u(t,e.value,r-1)).indexOf("\n")&&(s=i?s.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+s.split("\n").map(function(t){return" "+t}).join("\n")):s=t.stylize("[Circular]","special")),g(a)){if(i&&o.match(/^\d+$/))return s;a=(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),t.stylize(a,"string"))}return a+": "+s}function m(t){return Array.isArray(t)}function l(t){return"boolean"==typeof t}function h(t){return null===t}function y(t){return"number"==typeof t}function _(t){return"string"==typeof t}function g(t){return void 0===t}function v(t){return p(t)&&"[object RegExp]"===r(t)}function p(t){return"object"==typeof t&&null!==t}function k(t){return p(t)&&"[object Date]"===r(t)}function b(t){return p(t)&&("[object Error]"===r(t)||t instanceof Error)}function P(t){return"function"==typeof t}function r(t){return Object.prototype.toString.call(t)}function q(t){return t<10?"0"+t.toString(10):t.toString(10)}E.env.NODE_DEBUG&&(t=(t=E.env.NODE_DEBUG).replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),o=new RegExp("^"+t+"$","i")),S.debuglog=function(e){var r;return e=e.toUpperCase(),n[e]||(o.test(e)?(r=E.pid,n[e]=function(){var t=S.format.apply(S,arguments);console.error("%s %d: %s",e,r,t)}):n[e]=function(){}),n[e]},(S.inspect=c).colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},S.types=A("./support/types"),S.isArray=m,S.isBoolean=l,S.isNull=h,S.isNullOrUndefined=function(t){return null==t},S.isNumber=y,S.isString=_,S.isSymbol=function(t){return"symbol"==typeof t},S.isUndefined=g,S.isRegExp=v,S.types.isRegExp=v,S.isObject=p,S.isDate=k,S.types.isDate=k,S.isError=b,S.types.isNativeError=b,S.isFunction=P,S.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},S.isBuffer=A("./support/isBuffer");var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(t,e){return Object.prototype.hasOwnProperty.call(t,e)}S.log=function(){var t,e;console.log("%s - %s",(t=new Date,e=[q(t.getHours()),q(t.getMinutes()),q(t.getSeconds())].join(":"),[t.getDate(),T[t.getMonth()],e].join(" ")),S.format.apply(S,arguments))},S.inherits=A("inherits"),S._extend=function(t,e){if(!e||!p(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var w="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;S.promisify=function(i){if("function"!=typeof i)throw new TypeError('The "original" argument must be of type Function');if(w&&i[w]){var t;if("function"!=typeof(t=i[w]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,w,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var r,n,t=new Promise(function(t,e){r=t,n=e}),e=[],o=0;o<arguments.length;o++)e.push(arguments[o]);e.push(function(t,e){t?n(t):r(e)});try{i.apply(this,e)}catch(t){n(t)}return t}return Object.setPrototypeOf(t,Object.getPrototypeOf(i)),w&&Object.defineProperty(t,w,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,e(i))},S.promisify.custom=w,S.callbackify=function(i){if("function"!=typeof i)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");function n(){return r.apply(o,arguments)}var o=this;i.apply(this,t).then(function(t){E.nextTick(n.bind(null,null,t))},function(t){E.nextTick(function(t,e){var r;return t||((r=new Error("Promise was rejected with a falsy value")).reason=t,t=r),e(t)}.bind(null,t,n))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(i)),Object.defineProperties(t,e(i)),t}}.call(this)}.call(this,A("_process"))},{"./support/isBuffer":23,"./support/types":24,_process:18,inherits:14}],26:[function(f,m,t){!function(d){!function(){"use strict";var e=f("foreach"),t=f("available-typed-arrays"),r=f("call-bind/callBound"),i=r("Object.prototype.toString"),a=f("has-tostringtag/shams")(),n="undefined"==typeof globalThis?d:globalThis,t=t(),s=r("String.prototype.slice"),c={},o=f("es-abstract/helpers/getOwnPropertyDescriptor"),p=Object.getPrototypeOf,u=(a&&o&&p&&e(t,function(t){var e,r;"function"==typeof n[t]&&(e=new n[t],Symbol.toStringTag in e&&(e=p(e),(r=o(e,Symbol.toStringTag))||(e=p(e),r=o(e,Symbol.toStringTag)),c[t]=r.get))}),f("is-typed-array"));m.exports=function(t){return!!u(t)&&(a&&Symbol.toStringTag in t?(n=t,o=!1,e(c,function(t,e){if(!o)try{var r=t.call(n);r===e&&(o=r)}catch(t){}}),o):s(i(t),8,-1));var n,o}}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":1,"call-bind/callBound":3,"es-abstract/helpers/getOwnPropertyDescriptor":5,foreach:6,"has-tostringtag/shams":12,"is-typed-array":17}],27:[function(t,e,r){function n(t){this.client=t}n.prototype.compile=function(e){var r=this;e.execute=function(t){return r.execute(e,t)}},n.prototype.execute=function(t,e){e(new Error("Transport provider not implemented"),null)},n.prototype._unauthorizedHook=function(t,e){"function"==typeof this.client.config.onUnauthorizedResponse&&this.client.config.onUnauthorizedResponse(t,e)},e.exports=n},{}],28:[function(s,c,t){!function(a){!function(){var t=s("util"),e=s("timers"),o=a.setImmediate||e.setImmediate,r=s("../provider");function n(t){r.call(this,t),this.rpcHost=t.config.rpcHost||"/rpc",this.rpcMethod=t.config.rpcMethod||"POST",this.maxConcurrency=t.config.maxConcurrency||5,this._activeRequests=0,this._requestQueue=[],this._handleRequest=this._handleRequest.bind(this),this._completeRequest=this._completeRequest.bind(this),this._runQueueIfAble=this._runQueueIfAble.bind(this)}function i(t){"use strict";if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}t.inherits(n,r),n.prototype.areRequestsSaturated=function(){return this._activeRequests>=this.maxConcurrency},n.prototype._queueRequest=function(r,n){var o=this._requestQueue,i=this._runQueueIfAble;return new Promise(function(t,e){o.push({query:r,callback:n,resolve:t,reject:e}),i()})},n.prototype._runQueueIfAble=function(){var t,e=this._handleRequest;if(0<this._requestQueue.length&&!this.areRequestsSaturated())return this._activeRequests++,t=this._requestQueue.shift(),o(function(){e(t)})},n.prototype._completeRequest=function(){this._activeRequests--,this._runQueueIfAble()},n.prototype.execute=function(t,e){return this._queueRequest(t,e)},n.prototype._handleRequest=function(e){var t=i({},e.query),r=t.options,t=(delete t.options,i({},e.query.headers)),t=(t.Accept="application/json",t["Content-Type"]="application/json; charset=utf-8",{method:this.rpcMethod,body:JSON.stringify(e.query),credentials:"same-origin",headers:t}),n=(r.signal&&(t.signal=r.signal),this._completeRequest);return fetch(this.rpcHost+"?a="+encodeURIComponent(e.query.action),t).then(function(t){return t.json()}).then(function(t){return t.error?Promise.reject(t):e.callback?o(function(){n(),e.callback(null,t)}):(n(),e.resolve(t),Promise.resolve(t))}).catch(function(t){return 401===(t=t&&t.statusCode?t:{statusCode:503,error:t instanceof Error?t.message:t,message:"Something went wrong",attributes:{source:"okanjo.providers.FetchProvider",wrappedError:t}}).statusCode&&this._unauthorizedHook(t,e.query),e.callback?o(function(){n(),e.callback(t,null)}):(n(),e.reject(t),Promise.resolve(t))}.bind(this))},c.exports=n}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../provider":27,timers:22,util:25}],29:[function(t,e,r){var n=t("./util"),o=t("querystring");function i(t,e){this.api=null,this.action=null,this.method=null,this.path="",this.pathParams={},this.query=null,this.payload=null,this.key=null,this.sessionToken=null,this.cookies={},this.headers={},this.options={},this._extend(t),this._extend(e,!0)}i.prototype._extend=function(t,e){t&&(void 0!==t.api&&this.setAPI(t.api),void 0!==t.action&&this.setAction(t.action),void 0!==t.method&&this.setMethod(t.method),void 0!==t.path&&this.setPath(t.path),void 0!==t.pathParams&&this.setPathParams(t.pathParams),void 0!==t.query&&this.where(t.query),void 0!==t.payload&&this.data(t.payload),void 0!==t.cookies&&this.setCookies(t.cookies),void 0!==t.headers&&this.setHeaders(t.headers),void 0!==t.options&&this.setOptions(t.options),e&&(void 0!==t.key&&this.setKey(t.key),void 0!==t.sessionToken&&this.setSessionToken(t.sessionToken)))},i.prototype.getRealPath=function(){return n.buildPath(this.path,this.pathParams)},i.prototype.getFullPath=function(){var t=this.getRealPath();return t&&this.query?t+"?"+o.stringify(this.query):t},i.prototype.setAPI=function(t){return this.api=t,this},i.prototype.setAction=function(t){return this.action=t,this},i.prototype.setMethod=function(t){return this.method=t,this},i.prototype.setPath=function(t){return this.path=t,this},i.prototype.setPathParams=function(t){return this.pathParams=n.copy(this.pathParams,t),this},i.prototype.where=function(t){return this.query=n.copy(this.query,t),this},i.prototype.data=function(t){return this.payload=n.copy(this.payload,t),this},i.prototype.skip=function(t){return this.query=n.copy(this.query,{skip:t}),this},i.prototype.take=function(t){return this.query=n.copy(this.query,{take:t}),this},i.prototype.setKey=function(t){return this.key=t,this},i.prototype.setSessionToken=function(t){return this.sessionToken=t,this},i.prototype.setCookies=function(t){return this.cookies=t,this},i.prototype.setHeaders=function(t){return this.headers=t,this},i.prototype.setOptions=function(t){return this.options=t,this},e.exports=i},{"./util":30,querystring:21}],30:[function(t,e,r){e.exports={copy:function r(n,e){return null!==e&&"object"==typeof e?Array.isArray(e)?(n=n||[],e.forEach(function(t,e){n[e]=r(n[e],t)})):(n=n||{},Object.keys(e).forEach(function(t){n[t]=r(n[t],e[t])})):n=e,n},buildPath:function(t,e){for(var r,n,o=/{([a-zA-Z_]+)}/g,i=t;null!==(n=o.exec(t));){if(r=n[0],!e[n=n[1]])return new Error("Path parameter "+r+" required to call "+t);i=i.replace(r,encodeURIComponent(e[n]))}return i}}},{}],"okanjo-sdk":[function(i,e,t){!function(o){!function(){var t=i("../src/provider"),r=i("../src/query");function n(t){"function"==typeof(this.config=t="string"==typeof t?{key:t}:t||{}).provider?this.provider=new t.provider(this):o.browser?this.provider=new(i("../src/providers/fetch_provider"))(this):this.provider=new(i("../src/providers/http_provider"))(this);for(var e=0;e<n.resourceBinders.length;e++)n.resourceBinders[e](this)}n.Version="5.1.0",n.Provider=t,n.Query=r,n.prototype._makeRequest=function(t,e){t=new r(this.config,t);return this.provider.compile(t),e&&t.execute(e),t},n.resourceBinders=[],(e.exports=n).resourceBinders.push(function(o){o.accounts={create:function(t,e){return o._makeRequest({api:"api",action:"account.create",method:"POST",path:"/accounts",payload:t},e)},retrieve:function(t,e){return o._makeRequest({api:"api",action:"account.retrieve",method:"GET",path:"/accounts/{account_id}",pathParams:{account_id:t}},e)},list:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"account.list",method:"GET",path:"/accounts",query:t},e)},update:function(t,e,r){return o._makeRequest({api:"api",action:"account.update",method:"PUT",path:"/accounts/{account_id}",pathParams:{account_id:t},payload:e},r)},bind_oauth:function(t,e,r,n){return o._makeRequest({api:"api",action:"account.bind_oauth",method:"PUT",path:"/accounts/{account_id}/oauth/{provider}",pathParams:{account_id:t,provider:e},payload:r},n)},deregister_oauth:function(t,e,r){return o._makeRequest({api:"api",action:"account.deregister_oauth",method:"DELETE",path:"/accounts/{account_id}/oauth/{provider}",pathParams:{account_id:t,provider:e}},r)},recover:function(t,e){return o._makeRequest({api:"api",action:"account.recover",method:"POST",path:"/accounts/recover",payload:t},e)},register_oauth:function(t,e,r){return o._makeRequest({api:"api",action:"account.register_oauth",method:"POST",path:"/accounts/{account_id}/oauth",pathParams:{account_id:t},payload:e},r)},retrieve_acl:function(t,e){return o._makeRequest({api:"api",action:"account.retrieve_acl",method:"GET",path:"/accounts/{account_id}/acl",pathParams:{account_id:t}},e)}},o.ads={fill:function(t,e){return o._makeRequest({api:"api",action:"ads.fill",method:"POST",path:"/content",payload:t},e)}},o.articles={create:function(t,e){return o._makeRequest({api:"api",action:"article.create",method:"POST",path:"/articles",payload:t},e)},retrieve:function(t,e){return o._makeRequest({api:"api",action:"article.retrieve",method:"GET",path:"/articles/{url_or_id}",pathParams:{url_or_id:t}},e)},list:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"article.list",method:"GET",path:"/articles",query:t},e)},update:function(t,e,r){return o._makeRequest({api:"api",action:"article.update",method:"PUT",path:"/articles/{url_or_id}",pathParams:{url_or_id:t},payload:e},r)},follow:function(t,e,r){return"function"==typeof e&&(r=e,e=void 0),o._makeRequest({api:"api",action:"article.follow",method:"GET",path:"/articles/{article_id}/follow",pathParams:{article_id:t},query:e},r)},retrieve_content:function(t,e){return o._makeRequest({api:"api",action:"article.retrieve_content",method:"GET",path:"/articles/{url_or_id}/content",pathParams:{url_or_id:t}},e)}},o.creatives={create:function(t,e){return o._makeRequest({api:"api",action:"creative.create",method:"POST",path:"/creatives",payload:t},e)},retrieve:function(t,e){return o._makeRequest({api:"api",action:"creative.retrieve",method:"GET",path:"/creatives/{creative_id}",pathParams:{creative_id:t}},e)},list:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"creative.list",method:"GET",path:"/creatives",query:t},e)},update:function(t,e,r){return o._makeRequest({api:"api",action:"creative.update",method:"PUT",path:"/creatives/{creative_id}",pathParams:{creative_id:t},payload:e},r)},delete:function(t,e){return o._makeRequest({api:"api",action:"creative.delete",method:"DELETE",path:"/creatives/{creative_id}",pathParams:{creative_id:t}},e)},follow:function(t,e,r){return"function"==typeof e&&(r=e,e=void 0),o._makeRequest({api:"api",action:"creative.follow",method:"GET",path:"/creatives/{creative_id}/follow",pathParams:{creative_id:t},query:e},r)}},o.domains={create:function(t,e){return o._makeRequest({api:"api",action:"domain.create",method:"POST",path:"/domains",payload:t},e)},retrieve:function(t,e){return o._makeRequest({api:"api",action:"domain.retrieve",method:"GET",path:"/domains/{domain_name}",pathParams:{domain_name:t}},e)},list:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"domain.list",method:"GET",path:"/domains",query:t},e)},update:function(t,e,r){return o._makeRequest({api:"api",action:"domain.update",method:"PUT",path:"/domains/{domain_name}",pathParams:{domain_name:t},payload:e},r)},delete:function(t,e){return o._makeRequest({api:"api",action:"domain.delete",method:"DELETE",path:"/domains/{domain_name}",pathParams:{domain_name:t}},e)}},o.organizations={create:function(t,e){return o._makeRequest({api:"api",action:"organization.create",method:"POST",path:"/organizations",payload:t},e)},retrieve:function(t,e){return o._makeRequest({api:"api",action:"organization.retrieve",method:"GET",path:"/organizations/{org_id}",pathParams:{org_id:t}},e)},list:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"organization.list",method:"GET",path:"/organizations",query:t},e)},update:function(t,e,r){return o._makeRequest({api:"api",action:"organization.update",method:"PUT",path:"/organizations/{org_id}",pathParams:{org_id:t},payload:e},r)}},o.placements={create:function(t,e){return o._makeRequest({api:"api",action:"placement.create",method:"POST",path:"/placements",payload:t},e)},retrieve:function(t,e){return o._makeRequest({api:"api",action:"placement.retrieve",method:"GET",path:"/placements/{placement_id}",pathParams:{placement_id:t}},e)},list:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"placement.list",method:"GET",path:"/placements",query:t},e)},update:function(t,e,r){return o._makeRequest({api:"api",action:"placement.update",method:"PUT",path:"/placements/{placement_id}",pathParams:{placement_id:t},payload:e},r)},delete:function(t,e){return o._makeRequest({api:"api",action:"placement.delete",method:"DELETE",path:"/placements/{placement_id}",pathParams:{placement_id:t}},e)},create_test:function(t,e,r){return o._makeRequest({api:"api",action:"placement.create_test",method:"POST",path:"/placements/{placement_id}/tests",pathParams:{placement_id:t},payload:e},r)},delete_test:function(t,e,r){return o._makeRequest({api:"api",action:"placement.delete_test",method:"DELETE",path:"/placements/{placement_id}/tests/{placement_test_id}",pathParams:{placement_id:t,placement_test_id:e}},r)},update_test:function(t,e,r,n){return o._makeRequest({api:"api",action:"placement.update_test",method:"PUT",path:"/placements/{placement_id}/tests/{placement_test_id}",pathParams:{placement_id:t,placement_test_id:e},payload:r},n)}},o.platforms={retrieve:function(t){return o._makeRequest({api:"api",action:"platform.retrieve",method:"GET",path:"/platform"},t)},update:function(t,e){return o._makeRequest({api:"api",action:"platform.update",method:"PUT",path:"/platform",payload:t},e)}},o.products={create:function(t,e){return o._makeRequest({api:"api",action:"product.create",method:"POST",path:"/products",payload:t},e)},retrieve:function(t,e){return o._makeRequest({api:"api",action:"product.retrieve",method:"GET",path:"/products/{product_id}",pathParams:{product_id:t}},e)},list:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"product.list",method:"GET",path:"/products",query:t},e)},update:function(t,e,r){return o._makeRequest({api:"api",action:"product.update",method:"PUT",path:"/products/{product_id}",pathParams:{product_id:t},payload:e},r)},delete:function(t,e){return o._makeRequest({api:"api",action:"product.delete",method:"DELETE",path:"/products/{product_id}",pathParams:{product_id:t}},e)},follow:function(t,e,r){return"function"==typeof e&&(r=e,e=void 0),o._makeRequest({api:"api",action:"product.follow",method:"GET",path:"/products/{product_id}/follow",pathParams:{product_id:t},query:e},r)}},o.properties={create:function(t,e){return o._makeRequest({api:"api",action:"property.create",method:"POST",path:"/properties",payload:t},e)},retrieve:function(t,e){return o._makeRequest({api:"api",action:"property.retrieve",method:"GET",path:"/properties/{property_id}",pathParams:{property_id:t}},e)},list:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"property.list",method:"GET",path:"/properties",query:t},e)},update:function(t,e,r){return o._makeRequest({api:"api",action:"property.update",method:"PUT",path:"/properties/{property_id}",pathParams:{property_id:t},payload:e},r)}},o.reporting={click_date_histogram:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.click_date_histogram",method:"GET",path:"/reporting/clicks/date-histogram",query:t},e)},click_top_n:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.click_top_n",method:"GET",path:"/reporting/clicks/top-n",query:t},e)},page_date_histogram:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.page_date_histogram",method:"GET",path:"/reporting/pages/date-histogram",query:t},e)},page_report:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.page_report",method:"GET",path:"/reporting/pages/report",query:t},e)},page_top_n:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.page_top_n",method:"GET",path:"/reporting/pages/top-n",query:t},e)},resource_date_histogram:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.resource_date_histogram",method:"GET",path:"/reporting/resources/date-histogram",query:t},e)},resource_report:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.resource_report",method:"GET",path:"/reporting/resources/report",query:t},e)},resource_top_n:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.resource_top_n",method:"GET",path:"/reporting/resources/top-n",query:t},e)},widget_date_histogram:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.widget_date_histogram",method:"GET",path:"/reporting/widgets/date-histogram",query:t},e)},widget_report:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.widget_report",method:"GET",path:"/reporting/widgets/report",query:t},e)},widget_top_n:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"reporting.widget_top_n",method:"GET",path:"/reporting/widgets/top-n",query:t},e)}},o.resource_sets={create:function(t,e){return o._makeRequest({api:"api",action:"resource_set.create",method:"POST",path:"/resource-sets",payload:t},e)},retrieve:function(t,e){return o._makeRequest({api:"api",action:"resource_set.retrieve",method:"GET",path:"/resource-sets/{resource_set_name}",pathParams:{resource_set_name:t}},e)},list:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"resource_set.list",method:"GET",path:"/resource-sets",query:t},e)},update:function(t,e,r){return o._makeRequest({api:"api",action:"resource_set.update",method:"PUT",path:"/resource-sets/{resource_set_name}",pathParams:{resource_set_name:t},payload:e},r)},delete:function(t,e){return o._makeRequest({api:"api",action:"resource_set.delete",method:"DELETE",path:"/resource-sets/{resource_set_name}",pathParams:{resource_set_name:t}},e)}},o.roles={create:function(t,e){return o._makeRequest({api:"api",action:"role.create",method:"POST",path:"/roles",payload:t},e)},retrieve:function(t,e){return o._makeRequest({api:"api",action:"role.retrieve",method:"GET",path:"/roles/{role_id}",pathParams:{role_id:t}},e)},list:function(t,e){return"function"==typeof t&&(e=t,t=void 0),o._makeRequest({api:"api",action:"role.list",method:"GET",path:"/roles",query:t},e)},update:function(t,e,r){return o._makeRequest({api:"api",action:"role.update",method:"PUT",path:"/roles/{role_id}",pathParams:{role_id:t},payload:e},r)},delete:function(t,e){return o._makeReque