text: !function(e){var t={};function r(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(i,o,function(t){return e[t]}.bind(null,o));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=17)}([function(e,t,r){"use strict";(function(e){var i=r(1),o=r.n(i),n=r(3),a=r.n(n);class s{constructor(){this.basePath="https://app.lfg.directory/api".replace(/\/+$/,""),this.authentications={basic:{type:"basic"}},this.defaultHeaders={},this.timeout=6e4,this.cache=!0,this.enableCookies=!1,"undefined"==typeof window&&(this.agent=new o.a.agent),this.requestAgent=null,this.plugins=null}paramToString(e){return null==e||null==e?"":e instanceof Date?e.toJSON():e.toString()}buildUrl(e,t,r){e.match(/^\//)||(e="/"+e);var i=this.basePath+e;return null!=r&&(i=r+e),i=i.replace(/\{([\w-]+)\}/g,(e,r)=>{var i;return i=t.hasOwnProperty(r)?this.paramToString(t[r]):e,encodeURIComponent(i)})}isJsonMime(e){return Boolean(null!=e&&e.match(/^application\/json(;.*)?$/i))}jsonPreferredMime(e){for(var t=0;t<e.length;t++)if(this.isJsonMime(e[t]))return e[t];return e[0]}isFileParam(t){{let e;try{e=r(16)}catch(e){}if(e&&e.ReadStream&&t instanceof e.ReadStream)return!0}return"function"==typeof e&&t instanceof e||("function"==typeof Blob&&t instanceof Blob||"function"==typeof File&&t instanceof File)}normalizeParams(e){var t={};for(var r in e)if(e.hasOwnProperty(r)&&null!=e[r]&&null!=e[r]){var i=e[r];this.isFileParam(i)||Array.isArray(i)?t[r]=i:t[r]=this.paramToString(i)}return t}buildCollectionParam(e,t){if(null==e)return null;switch(t){case"csv":return e.map(this.paramToString).join(",");case"ssv":return e.map(this.paramToString).join(" ");case"tsv":return e.map(this.paramToString).join("\t");case"pipes":return e.map(this.paramToString).join("|");case"multi":return e.map(this.paramToString);default:throw new Error("Unknown collection format: "+t)}}applyAuthToRequest(e,t){t.forEach(t=>{var r=this.authentications[t];switch(r.type){case"basic":(r.username||r.password)&&e.auth(r.username||"",r.password||"");break;case"bearer":r.accessToken&&e.set({Authorization:"Bearer "+r.accessToken});break;case"apiKey":if(r.apiKey){var i={};r.apiKeyPrefix?i[r.name]=r.apiKeyPrefix+" "+r.apiKey:i[r.name]=r.apiKey,"header"===r.in?e.set(i):e.query(i)}break;case"oauth2":r.accessToken&&e.set({Authorization:"Bearer "+r.accessToken});break;default:throw new Error("Unknown authentication type: "+r.type)}})}deserialize(e,t){if(null==e||null==t||204==e.status)return null;var r=e.body;return(null==r||"object"==typeof r&&void 0===r.length&&!Object.keys(r).length)&&(r=e.text),s.convertToType(r,t)}callApi(e,t,r,i,n,s,l,p,u,c,h,m,g){var d=this.buildUrl(e,r,m),y=o()(t,d);if(null!==this.plugins)for(var _ in this.plugins)this.plugins.hasOwnProperty(_)&&y.use(this.plugins[_]);this.applyAuthToRequest(y,p),"GET"===t.toUpperCase()&&!1===this.cache&&(i._=(new Date).getTime()),y.query(this.normalizeParams(i)),y.set(this.defaultHeaders).set(this.normalizeParams(n)),this.requestAgent&&y.agent(this.requestAgent),y.timeout(this.timeout);var f=this.jsonPreferredMime(u);if(f?"multipart/form-data"!=f&&y.type(f):y.header["Content-Type"]||y.type("application/json"),"application/x-www-form-urlencoded"===f)y.send(a.a.stringify(this.normalizeParams(s)));else if("multipart/form-data"==f){var w=this.normalizeParams(s);for(var v in w)w.hasOwnProperty(v)&&(this.isFileParam(w[v])?y.attach(v,w[v]):y.field(v,w[v]))}else null!=l&&y.send(l);var T=this.jsonPreferredMime(c);return T&&y.accept(T),"Blob"===h?y.responseType("blob"):"String"===h&&y.responseType("string"),this.enableCookies&&("undefined"==typeof window?this.agent._attachCookies(y):y.withCredentials()),y.end((e,t)=>{if(g){var r=null;if(!e)try{r=this.deserialize(t,h),this.enableCookies&&"undefined"==typeof window&&this.agent._saveCookies(t)}catch(t){e=t}g(e,r,t)}}),y}static parseDate(e){return new Date(e)}static convertToType(e,t){if(null==e)return e;switch(t){case"Boolean":return Boolean(e);case"Integer":return parseInt(e,10);case"Number":return parseFloat(e);case"String":return String(e);case"Date":return s.parseDate(String(e));case"Blob":return e;default:if(t===Object)return e;if("function"==typeof t.constructFromObject)return t.constructFromObject(e);if(Array.isArray(t)){var r=t[0];return e.map(e=>s.convertToType(e,r))}if("object"==typeof t){var i,o;for(var n in t)if(t.hasOwnProperty(n)){i=n,o=t[n];break}var a={};for(var n in e)if(e.hasOwnProperty(n)){var l=s.convertToType(n,i),p=s.convertToType(e[n],o);a[l]=p}return a}return e}}hostSettings(){return[{url:"https://app.lfg.directory/api",description:"No description provided"}]}getBasePathFromSettings(e,t={}){var r=this.hostSettings();if(e<0||e>=r.length)throw new Error("Invalid index "+e+" when selecting the host settings. Must be less than "+r.length);var i=r[e],o=i.url;for(var n in i.variables)if(n in t){let e=i.variables[n];if("enum_values"in e&&!e.enum_values.includes(t[n]))throw new Error("The variable `"+n+"` in the host URL has invalid value "+t[n]+". Must be "+i.variables[n].enum_values+".");o=o.replace("{"+n+"}",t[n])}else o=o.replace("{"+n+"}",i.variables[n].default_value);return o}static constructFromObject(e,t,r){if(Array.isArray(e))for(var i=0;i<e.length;i++)e.hasOwnProperty(i)&&(t[i]=s.convertToType(e[i],r));else for(var o in e)e.hasOwnProperty(o)&&(t[o]=s.convertToType(e[o],r))}}s.CollectionFormatEnum={CSV:",",SSV:" ",TSV:"\t",PIPES:"|",MULTI:"multi"},s.instance=new s,t.a=s}).call(this,r(4).Buffer)},function(e,t,r){var i;"undefined"!=typeof window?i=window:"undefined"!=typeof self?i=self:(console.warn("Using browser-only version of superagent in non-browser environment"),i=this);var o=r(9),n=r(10),a=r(2),s=r(11),l=r(13);function p(){}var u=t=e.exports=function(e,r){return"function"==typeof r?new t.Request("GET",e).end(r):1==arguments.length?new t.Request("GET",e):new t.Request(e,r)};t.Request=_,u.getXHR=function(){if(!(!i.XMLHttpRequest||i.location&&"file:"==i.location.protocol&&i.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only version of superagent could not find XHR")};var c="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function h(e){if(!a(e))return e;var t=[];for(var r in e)m(t,r,e[r]);return t.join("&")}function m(e,t,r){if(null!=r)if(Array.isArray(r))r.forEach((function(r){m(e,t,r)}));else if(a(r))for(var i in r)m(e,t+"["+i+"]",r[i]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(r));else null===r&&e.push(encodeURIComponent(t))}function g(e){for(var t,r,i={},o=e.split("&"),n=0,a=o.length;n<a;++n)-1==(r=(t=o[n]).indexOf("="))?i[decodeURIComponent(t)]="":i[decodeURIComponent(t.slice(0,r))]=decodeURIComponent(t.slice(r+1));return i}function d(e){return/[\/+]json\b/.test(e)}function y(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=function(e){for(var t,r,i,o,n=e.split(/\r?\n/),a={},s=0,l=n.length;s<l;++s)-1!==(t=(r=n[s]).indexOf(":"))&&(i=r.slice(0,t).toLowerCase(),o=c(r.slice(t+1)),a[i]=o);return a}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function _(e,t){var r=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,i=null;try{i=new y(r)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,r.xhr?(t.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,t.status=r.xhr.status?r.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),r.callback(t)}r.emit("response",i);try{r._isResponseOK(i)||(e=new Error(i.statusText||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=i,e.status=i.status,r.callback(e,i)):r.callback(null,i)}))}function f(e,t,r){var i=u("DELETE",e);return"function"==typeof t&&(r=t,t=null),t&&i.send(t),r&&i.end(r),i}u.serializeObject=h,u.parseString=g,u.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},u.serialize={"application/x-www-form-urlencoded":h,"application/json":JSON.stringify},u.parse={"application/x-www-form-urlencoded":g,"application/json":JSON.parse},s(y.prototype),y.prototype._parseBody=function(e){var t=u.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&d(this.type)&&(t=u.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},y.prototype.toError=function(){var e=this.req,t=e.method,r=e.url,i="cannot "+t+" "+r+" ("+this.status+")",o=new Error(i);return o.status=this.status,o.method=t,o.url=r,o},u.Response=y,o(_.prototype),n(_.prototype),_.prototype.type=function(e){return this.set("Content-Type",u.types[e]||e),this},_.prototype.accept=function(e){return this.set("Accept",u.types[e]||e),this},_.prototype.auth=function(e,t,r){switch("object"==typeof t&&null!==t&&(r=t),r||(r={type:"function"==typeof btoa?"basic":"auto"}),r.type){case"basic":this.set("Authorization","Basic "+btoa(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},_.prototype.query=function(e){return"string"!=typeof e&&(e=h(e)),e&&this._query.push(e),this},_.prototype.attach=function(e,t,r){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,r||t.name)}return this},_.prototype._getFormData=function(){return this._formData||(this._formData=new i.FormData),this._formData},_.prototype.callback=function(e,t){if(this._maxRetries&&this._retries++<this._maxRetries&&l(e,t))return this._retry();var r=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),r(e,t)},_.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},_.prototype.buffer=_.prototype.ca=_.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},_.prototype.pipe=_.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},_.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},_.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||p,this._finalizeQueryString(),this._end()},_.prototype._end=function(){var e=this,t=this.xhr=u.getXHR(),r=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var r=t.readyState;if(r>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==r){var i;try{i=t.status}catch(e){i=0}if(!i){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var i=function(t,r){r.total>0&&(r.percent=r.loaded/r.total*100),r.direction=t,e.emit("progress",r)};if(this.hasListeners("progress"))try{t.onprogress=i.bind(null,"download"),t.upload&&(t.upload.onprogress=i.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof r&&!this._isHost(r)){var o=this._header["content-type"],n=this._serializer||u.serialize[o?o.split(";")[0]:""];!n&&d(o)&&(n=u.serialize["application/json"]),n&&(r=n(r))}for(var a in this.header)null!=this.header[a]&&this.header.hasOwnProperty(a)&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0!==r?r:null),this},u.get=function(e,t,r){var i=u("GET",e);return"function"==typeof t&&(r=t,t=null),t&&i.query(t),r&&i.end(r),i},u.head=function(e,t,r){var i=u("HEAD",e);return"function"==typeof t&&(r=t,t=null),t&&i.query(t),r&&i.end(r),i},u.options=function(e,t,r){var i=u("OPTIONS",e);return"function"==typeof t&&(r=t,t=null),t&&i.send(t),r&&i.end(r),i},u.del=f,u.delete=f,u.patch=function(e,t,r){var i=u("PATCH",e);return"function"==typeof t&&(r=t,t=null),t&&i.send(t),r&&i.end(r),i},u.post=function(e,t,r){var i=u("POST",e);return"function"==typeof t&&(r=t,t=null),t&&i.send(t),r&&i.end(r),i},u.put=function(e,t,r){var i=u("PUT",e);return"function"==typeof t&&(r=t,t=null),t&&i.send(t),r&&i.end(r),i}},function(e,t,r){"use strict";e.exports=function(e){return null!==e&&"object"==typeof e}},function(e,t,r){"use strict";t.decode=t.parse=r(14),t.encode=t.stringify=r(15)},function(e,t,r){"use strict";(function(e){
  /*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <http://feross.org>
   * @license  MIT
   */
  var i=r(6),o=r(7),n=r(8);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return p(this,e,t,r)}function p(e,t,r,i){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,i){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(i||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,r):new Uint8Array(t,r,i);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=h(e,t);return e}(e,t,r,i):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var i=0|g(t,r),o=(e=s(e,i)).write(t,r);o!==i&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(l.isBuffer(t)){var r=0|m(t.length);return 0===(e=s(e,r)).length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(i=t.length)!=i?s(e,0):h(e,t);if("Buffer"===t.type&&n(t.data))return h(e,t.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function c(e,t){if(u(t),e=s(e,t<0?0:0|m(t)),!l.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function h(e,t){var r=t.length<0?0:0|m(t.length);e=s(e,r);for(var i=0;i<r;i+=1)e[i]=255&t[i];return e}function m(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return I(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return F(e).length;default:if(i)return I(e).length;t=(""+t).toLowerCase(),i=!0}}function d(e,t,r){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return k(this,t,r);case"latin1":case"binary":return A(this,t,r);case"base64":return S(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,t,r);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function y(e,t,r){var i=e[t];e[t]=e[r],e[r]=i}function _(e,t,r,i,o){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:f(e,t,r,i,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):f(e,[t],r,i,o);throw new TypeError("val must be string, number or Buffer")}function f(e,t,r,i,o){var n,a=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function p(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(n=r;n<s;n++)if(p(e,n)===p(t,-1===u?0:n-u)){if(-1===u&&(u=n),n-u+1===l)return u*a}else-1!==u&&(n-=n-u),u=-1}else for(r+l>s&&(r=s-l),n=r;n>=0;n--){for(var c=!0,h=0;h<l;h++)if(p(e,n+h)!==p(t,h)){c=!1;break}if(c)return n}return-1}function w(e,t,r,i){r=Number(r)||0;var o=e.length-r;i?(i=Number(i))>o&&(i=o):i=o;var n=t.length;if(n%2!=0)throw new TypeError("Invalid hex string");i>n/2&&(i=n/2);for(var a=0;a<i;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function v(e,t,r,i){return N(I(t,e.length-r),e,r,i)}function T(e,t,r,i){return N(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,i)}function b(e,t,r,i){return T(e,t,r,i)}function P(e,t,r,i){return N(F(t),e,r,i)}function O(e,t,r,i){return N(function(e,t){for(var r,i,o,n=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),i=r>>8,o=r%256,n.push(o),n.push(i);return n}(t,e.length-r),e,r,i)}function S(e,t,r){return 0===t&&r===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,r))}function E(e,t,r){r=Math.min(e.length,r);for(var i=[],o=t;o<r;){var n,a,s,l,p=e[o],u=null,c=p>239?4:p>223?3:p>191?2:1;if(o+c<=r)switch(c){case 1:p<128&&(u=p);break;case 2:128==(192&(n=e[o+1]))&&(l=(31&p)<<6|63&n)>127&&(u=l);break;case 3:n=e[o+1],a=e[o+2],128==(192&n)&&128==(192&a)&&(l=(15&p)<<12|(63&n)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:n=e[o+1],a=e[o+2],s=e[o+3],128==(192&n)&&128==(192&a)&&128==(192&s)&&(l=(15&p)<<18|(63&n)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,c=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),o+=c}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var r="",i=0;for(;i<t;)r+=String.fromCharCode.apply(String,e.slice(i,i+=C));return r}(i)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,r){return p(null,e,t,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,r){return function(e,t,r,i){return u(t),t<=0?s(e,t):void 0!==r?"string"==typeof i?s(e,t).fill(r,i):s(e,t).fill(r):s(e,t)}(null,e,t,r)},l.allocUnsafe=function(e){return c(null,e)},l.allocUnsafeSlow=function(e){return c(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,i=t.length,o=0,n=Math.min(r,i);o<n;++o)if(e[o]!==t[o]){r=e[o],i=t[o];break}return r<i?-1:i<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!n(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var i=l.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,o),o+=a.length}return i},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):d.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,r,i,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),t<0||r>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=r)return 0;if(i>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var n=(o>>>=0)-(i>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(n,a),p=this.slice(i,o),u=e.slice(t,r),c=0;c<s;++c)if(p[c]!==u[c]){n=p[c],a=u[c];break}return n<a?-1:a<n?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return _(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return _(this,e,t,r,!1)},l.prototype.write=function(e,t,r,i){if(void 0===t)i="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)i=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===i&&(i="utf8")):(i=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var n=!1;;)switch(i){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":return T(this,e,t,r);case"latin1":case"binary":return b(this,e,t,r);case"base64":return P(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,r);default:if(n)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),n=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function k(e,t,r){var i="";r=Math.min(e.length,r);for(var o=t;o<r;++o)i+=String.fromCharCode(127&e[o]);return i}function A(e,t,r){var i="";r=Math.min(e.length,r);for(var o=t;o<r;++o)i+=String.fromCharCode(e[o]);return i}function M(e,t,r){var i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var o="",n=t;n<r;++n)o+=B(e[n]);return o}function q(e,t,r){for(var i=e.slice(t,r),o="",n=0;n<i.length;n+=2)o+=String.fromCharCode(i[n]+256*i[n+1]);return o}function j(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,r,i,o,n){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<n)throw new RangeError('"value" argument is out of bounds');if(r+i>e.length)throw new RangeError("Index out of range")}function x(e,t,r,i){t<0&&(t=65535+t+1);for(var o=0,n=Math.min(e.length-r,2);o<n;++o)e[r+o]=(t&255<<8*(i?o:1-o))>>>8*(i?o:1-o)}function L(e,t,r,i){t<0&&(t=4294967295+t+1);for(var o=0,n=Math.min(e.length-r,4);o<n;++o)e[r+o]=t>>>8*(i?o:3-o)&255}function U(e,t,r,i,o,n){if(r+i>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function D(e,t,r,i,n){return n||U(e,0,r,4),o.write(e,t,r,i,23,4),r+4}function z(e,t,r,i,n){return n||U(e,0,r,8),o.write(e,t,r,i,52,8),r+8}l.prototype.slice=function(e,t){var r,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;r=new l(o,void 0);for(var n=0;n<o;++n)r[n]=this[n+e]}return r},l.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||j(e,t,this.length);for(var i=this[e],o=1,n=0;++n<t&&(o*=256);)i+=this[e+n]*o;return i},l.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||j(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i},l.prototype.readUInt8=function(e,t){return t||j(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||j(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||j(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||j(e,t,this.length);for(var i=this[e],o=1,n=0;++n<t&&(o*=256);)i+=this[e+n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||j(e,t,this.length);for(var i=t,o=1,n=this[e+--i];i>0&&(o*=256);)n+=this[e+--i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readInt8=function(e,t){return t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||j(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){t||j(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||j(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||j(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||j(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||j(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,i){(e=+e,t|=0,r|=0,i)||R(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,n=0;for(this[t]=255&e;++n<r&&(o*=256);)this[t+n]=e/o&255;return t+r},l.prototype.writeUIntBE=function(e,t,r,i){(e=+e,t|=0,r|=0,i)||R(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,n=1;for(this[t+o]=255&e;--o>=0&&(n*=256);)this[t+o]=e/n&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t|=0,!i){var o=Math.pow(2,8*r-1);R(this,e,t,r,o-1,-o)}var n=0,a=1,s=0;for(this[t]=255&e;++n<r&&(a*=256);)e<0&&0===s&&0!==this[t+n-1]&&(s=1),this[t+n]=(e/a>>0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t|=0,!i){var o=Math.pow(2,8*r-1);R(this,e,t,r,o-1,-o)}var n=r-1,a=1,s=0;for(this[t+n]=255&e;--n>=0&&(a*=256);)e<0&&0===s&&0!==this[t+n+1]&&(s=1),this[t+n]=(e/a>>0)-s&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,r){return D(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return D(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return z(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return z(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,i){if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<r&&(i=r),i===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-r&&(i=e.length-t+r);var o,n=i-r;if(this===e&&r<t&&t<i)for(o=n-1;o>=0;--o)e[o+t]=this[o+r];else if(n<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<n;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+n),t);return n},l.prototype.fill=function(e,t,r,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var n;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(n=t;n<r;++n)this[n]=e;else{var a=l.isBuffer(e)?e:I(new l(e,i).toString()),s=a.length;for(n=0;n<r-t;++n)this[n+t]=a[n%s]}return this};var G=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function I(e,t){var r;t=t||1/0;for(var i=e.length,o=null,n=[],a=0;a<i;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&n.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&n.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&n.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&n.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;n.push(r)}else if(r<2048){if((t-=2)<0)break;n.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;n.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;n.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return n}function F(e){return i.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(G,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function N(e,t,r,i){for(var o=0;o<i&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}}).call(this,r(5))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";t.byteLength=function(e){var t=p(e),r=t[0],i=t[1];return 3*(r+i)/4-i},t.toByteArray=function(e){var t,r,i=p(e),a=i[0],s=i[1],l=new n(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),u=0,c=s>0?a-4:a;for(r=0;r<c;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,l[u++]=255&t);1===s&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,n=[],a=0,s=r-o;a<s;a+=16383)n.push(u(e,a,a+16383>s?s:a+16383));1===o?(t=e[r-1],n.push(i[t>>2]+i[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],n.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"="));return n.join("")};for(var i=[],o=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)i[s]=a[s],o[a.charCodeAt(s)]=s;function p(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function u(e,t,r){for(var o,n,a=[],s=t;s<r;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(i[(n=o)>>18&63]+i[n>>12&63]+i[n>>6&63]+i[63&n]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,i,o){var n,a,s=8*o-i-1,l=(1<<s)-1,p=l>>1,u=-7,c=r?o-1:0,h=r?-1:1,m=e[t+c];for(c+=h,n=m&(1<<-u)-1,m>>=-u,u+=s;u>0;n=256*n+e[t+c],c+=h,u-=8);for(a=n&(1<<-u)-1,n>>=-u,u+=i;u>0;a=256*a+e[t+c],c+=h,u-=8);if(0===n)n=1-p;else{if(n===l)return a?NaN:1/0*(m?-1:1);a+=Math.pow(2,i),n-=p}return(m?-1:1)*a*Math.pow(2,n-i)},t.write=function(e,t,r,i,o,n){var a,s,l,p=8*n-o-1,u=(1<<p)-1,c=u>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:n-1,g=i?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+c>=1?h/l:h*Math.pow(2,1-c))*l>=2&&(a++,l/=2),a+c>=u?(s=0,a=u):a+c>=1?(s=(t*l-1)*Math.pow(2,o),a+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,o),a=0));o>=8;e[r+m]=255&s,m+=g,s/=256,o-=8);for(a=a<<o|s,p+=o;p>0;e[r+m]=255&a,m+=g,a/=256,p-=8);e[r+m-g]|=128*d}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){function i(e){if(e)return function(e){for(var t in i.prototype)e[t]=i.prototype[t];return e}(e)}e.exports=i,i.prototype.on=i.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},i.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,i=this._callbacks["$"+e];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<i.length;o++)if((r=i[o])===t||r.fn===t){i.splice(o,1);break}return 0===i.length&&delete this._callbacks["$"+e],this},i.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(r){i=0;for(var o=(r=r.slice(0)).length;i<o;++i)r[i].apply(this,t)}return this},i.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},i.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,r){"use strict";var i=r(2);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},o.prototype.then=function(e,t){if(!this._fullfilledPromise){var r=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){r.end((function(r,i){r?t(r):e(i)}))}))}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(i(e)){for(var r in e)this.set(r,e[r]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),i(e)){for(var r in e)this.field(r,e[r]);return this}if(Array.isArray(t)){for(var o in t)this.field(e,t[o]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},o.prototype.withCredentials=function(e){return null==e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=i(e),r=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&i(this._data))for(var o in e)this._data[o]=e[o];else"string"==typeof e?(r||this.type("form"),r=this._header["content-type"],this._data="application/x-www-form-urlencoded"==r?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(r||this.type("json"),this)},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var r=this.url.substring(t+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.substring(0,t)+"?"+r.join("&")}}},o.prototype._appendQueryString=function(){console.trace("Unsupported")},o.prototype._timeoutError=function(e,t,r){if(!this._aborted){var i=new Error(e+t+"ms exceeded");i.timeout=t,i.code="ECONNABORTED",i.errno=r,this.timedout=!0,this.abort(),this.callback(i)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(e,t,r){"use strict";var i=r(12);function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.get=function(e){return this.header[e.toLowerCase()]},o.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=i.type(t);var r=i.params(t);for(var o in r)this[o]=r[o];this.links={};try{e.link&&(this.links=i.parseLinks(e.link))}catch(e){}},o.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e}},function(e,t,r){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var r=t.split(/ *= */),i=r.shift(),o=r.shift();return i&&o&&(e[i]=o),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var r=t.split(/ *; */),i=r[0].slice(1,-1);return e[r[1].split(/ *= */)[1].slice(1,-1)]=i,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&delete e.cookie,e}},function(e,t,r){"use strict";var i=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];e.exports=function(e,t){return!!(e&&e.code&&~i.indexOf(e.code))||(!!(t&&t.status&&t.status>=500)||(!!(e&&"timeout"in e&&"ECONNABORTED"==e.code)||!!(e&&"crossDomain"in e)))}},function(e,t,r){"use strict";function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,n){t=t||"&",r=r||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var l=1e3;n&&"number"==typeof n.maxKeys&&(l=n.maxKeys);var p=e.length;l>0&&p>l&&(p=l);for(var u=0;u<p;++u){var c,h,m,g,d=e[u].replace(s,"%20"),y=d.indexOf(r);y>=0?(c=d.substr(0,y),h=d.substr(y+1)):(c=d,h=""),m=decodeURIComponent(c),g=decodeURIComponent(h),i(a,m)?o(a[m])?a[m].push(g):a[m]=[a[m],g]:a[m]=g}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?n(a(e),(function(a){var s=encodeURIComponent(i(a))+r;return o(e[a])?n(e[a],(function(e){return s+encodeURIComponent(i(e))})).join(t):s+encodeURIComponent(i(e[a]))})).join(t):s?encodeURIComponent(i(s))+r+encodeURIComponent(i(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],i=0;i<e.length;i++)r.push(t(e[i],i));return r}var a=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},function(e,t){},function(e,t,r){"use strict";r.r(t);var i=r(0);class o{constructor(e){o.initialize(this,e)}static initialize(e,t){e.title=t}static constructFromObject(e,t){return e&&(t=t||new o,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("game_title")&&(t.game_title=i.a.convertToType(e.game_title,"String")),e.hasOwnProperty("session")&&(t.session=i.a.convertToType(e.session,"String")),e.hasOwnProperty("session_date")&&(t.session_date=i.a.convertToType(e.session_date,"String")),e.hasOwnProperty("created")&&(t.created=i.a.convertToType(e.created,"Date")),e.hasOwnProperty("modified")&&(t.modified=i.a.convertToType(e.modified,"Date")),e.hasOwnProperty("initial_author")&&(t.initial_author=i.a.convertToType(e.initial_author,"String")),e.hasOwnProperty("last_edited_by")&&(t.last_edited_by=i.a.convertToType(e.last_edited_by,"String")),e.hasOwnProperty("title")&&(t.title=i.a.convertToType(e.title,"String")),e.hasOwnProperty("body")&&(t.body=i.a.convertToType(e.body,"String")),e.hasOwnProperty("body_rendered")&&(t.body_rendered=i.a.convertToType(e.body_rendered,"String"))),t}}o.prototype.api_url=void 0,o.prototype.slug=void 0,o.prototype.game_title=void 0,o.prototype.session=void 0,o.prototype.session_date=void 0,o.prototype.created=void 0,o.prototype.modified=void 0,o.prototype.initial_author=void 0,o.prototype.last_edited_by=void 0,o.prototype.title=void 0,o.prototype.body=void 0,o.prototype.body_rendered=void 0;var n=o;class a{constructor(e){a.initialize(this,e)}static initialize(e,t){e.reason=t}static constructFromObject(e,t){return e&&(t=t||new a,e.hasOwnProperty("reason")&&(t.reason=i.a.convertToType(e.reason,"String"))),t}}a.prototype.reason=void 0;var s=a;class l{constructor(e){l.initialize(this,e)}static initialize(e,t){e.reason=t}static constructFromObject(e,t){return e&&(t=t||new l,e.hasOwnProperty("id")&&(t.id=i.a.convertToType(e.id,"String")),e.hasOwnProperty("community")&&(t.community=i.a.convertToType(e.community,"String")),e.hasOwnProperty("banner")&&(t.banner=i.a.convertToType(e.banner,"String")),e.hasOwnProperty("banned_user")&&(t.banned_user=i.a.convertToType(e.banned_user,"String")),e.hasOwnProperty("reason")&&(t.reason=i.a.convertToType(e.reason,"String"))),t}}l.prototype.id=void 0,l.prototype.community=void 0,l.prototype.banner=void 0,l.prototype.banned_user=void 0,l.prototype.reason=void 0;var p=l;class u{constructor(){u.initialize(this)}static initialize(e){}static constructFromObject(e,t){return e&&(t=t||new u,e.hasOwnProperty("id")&&(t.id=i.a.convertToType(e.id,"String")),e.hasOwnProperty("blocker")&&(t.blocker=i.a.convertToType(e.blocker,"String")),e.hasOwnProperty("blockee")&&(t.blockee=i.a.convertToType(e.blockee,"String"))),t}}u.prototype.id=void 0,u.prototype.blocker=void 0,u.prototype.blockee=void 0;var c=u;class h{constructor(){h.initialize(this)}static initialize(e){}static constructFromObject(e,t){return e&&(t=t||new h,e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("gamer")&&(t.gamer=i.a.convertToType(e.gamer,"String")),e.hasOwnProperty("game")&&(t.game=i.a.convertToType(e.game,"String")),e.hasOwnProperty("sessions_expected")&&(t.sessions_expected=i.a.convertToType(e.sessions_expected,"Number")),e.hasOwnProperty("sessions_missed")&&(t.sessions_missed=i.a.convertToType(e.sessions_missed,"Number")),e.hasOwnProperty("attendance_rating")&&(t.attendance_rating=i.a.convertToType(e.attendance_rating,"String"))),t}}h.prototype.slug=void 0,h.prototype.gamer=void 0,h.prototype.game=void 0,h.prototype.sessions_expected=void 0,h.prototype.sessions_missed=void 0,h.prototype.attendance_rating=void 0;var m=h;class g{constructor(e){g.initialize(this,e)}static initialize(e,t){e.name=t}static constructFromObject(e,t){return e&&(t=t||new g,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("name")&&(t.name=i.a.convertToType(e.name,"String")),e.hasOwnProperty("description")&&(t.description=i.a.convertToType(e.description,"String")),e.hasOwnProperty("game")&&(t.game=i.a.convertToType(e.game,"String")),e.hasOwnProperty("player")&&(t.player=m.constructFromObject(e.player)),e.hasOwnProperty("player_username")&&(t.player_username=i.a.convertToType(e.player_username,"String")),e.hasOwnProperty("sheet")&&(t.sheet=i.a.convertToType(e.sheet,"String"))),t}}g.prototype.api_url=void 0,g.prototype.slug=void 0,g.prototype.name=void 0,g.prototype.description=void 0,g.prototype.game=void 0,g.prototype.player=void 0,g.prototype.player_username=void 0,g.prototype.sheet=void 0;var d=g;class y{constructor(e){y.initialize(this,e)}static initialize(e,t){e.status=t}static constructFromObject(e,t){return e&&(t=t||new y,e.hasOwnProperty("id")&&(t.id=i.a.convertToType(e.id,"String")),e.hasOwnProperty("community")&&(t.community=i.a.convertToType(e.community,"String")),e.hasOwnProperty("gamer")&&(t.gamer=i.a.convertToType(e.gamer,"String")),e.hasOwnProperty("message")&&(t.message=i.a.convertToType(e.message,"String")),e.hasOwnProperty("status")&&(t.status=i.a.convertToType(e.status,"String")),e.hasOwnProperty("created")&&(t.created=i.a.convertToType(e.created,"Date")),e.hasOwnProperty("modified")&&(t.modified=i.a.convertToType(e.modified,"Date"))),t}}y.prototype.id=void 0,y.prototype.community=void 0,y.prototype.gamer=void 0,y.prototype.message=void 0,y.prototype.status=void 0,y.prototype.created=void 0,y.prototype.modified=void 0,y.StatusEnum={new:"new",review:"review",reject:"reject",approve:"approve",hold:"hold"};var _=y;class f{constructor(){f.initialize(this)}static initialize(e){}static constructFromObject(e,t){return e&&(t=t||new f,e.hasOwnProperty("user")&&(t.user=i.a.convertToType(e.user,"String")),e.hasOwnProperty("private")&&(t.private=i.a.convertToType(e.private,"Boolean")),e.hasOwnProperty("timezone")&&(t.timezone=i.a.convertToType(e.timezone,"String")),e.hasOwnProperty("will_gm")&&(t.will_gm=i.a.convertToType(e.will_gm,"Boolean")),e.hasOwnProperty("online_games")&&(t.online_games=i.a.convertToType(e.online_games,"Boolean")),e.hasOwnProperty("local_games")&&(t.local_games=i.a.convertToType(e.local_games,"Boolean")),e.hasOwnProperty("player_status")&&(t.player_status=i.a.convertToType(e.player_status,"String"))),t}}f.prototype.user=void 0,f.prototype.private=void 0,f.prototype.timezone=void 0,f.prototype.will_gm=void 0,f.prototype.online_games=void 0,f.prototype.local_games=void 0,f.prototype.player_status=void 0,f.PlayerStatusEnum={all_full:"all_full",available:"available",searching:"searching"};var w=f;class v{constructor(){v.initialize(this)}static initialize(e){}static constructFromObject(e,t){return e&&(t=t||new v,e.hasOwnProperty("id")&&(t.id=i.a.convertToType(e.id,"String")),e.hasOwnProperty("community")&&(t.community=i.a.convertToType(e.community,"String")),e.hasOwnProperty("gamer")&&(t.gamer=w.constructFromObject(e.gamer)),e.hasOwnProperty("community_role")&&(t.community_role=i.a.convertToType(e.community_role,"String")),e.hasOwnProperty("created")&&(t.created=i.a.convertToType(e.created,"Date")),e.hasOwnProperty("modified")&&(t.modified=i.a.convertToType(e.modified,"Date"))),t}}v.prototype.id=void 0,v.prototype.community=void 0,v.prototype.gamer=void 0,v.prototype.community_role=void 0,v.prototype.created=void 0,v.prototype.modified=void 0,v.CommunityRoleEnum={member:"member",moderator:"moderator",admin:"admin"};var T=v;class b{constructor(){b.initialize(this)}static initialize(e){}static constructFromObject(e,t){return e&&(t=t||new b,e.hasOwnProperty("id")&&(t.id=i.a.convertToType(e.id,"String")),e.hasOwnProperty("created")&&(t.created=i.a.convertToType(e.created,"Date")),e.hasOwnProperty("modified")&&(t.modified=i.a.convertToType(e.modified,"Date")),e.hasOwnProperty("requestor")&&(t.requestor=i.a.convertToType(e.requestor,"String")),e.hasOwnProperty("recipient")&&(t.recipient=i.a.convertToType(e.recipient,"String")),e.hasOwnProperty("status")&&(t.status=i.a.convertToType(e.status,"String"))),t}}b.prototype.id=void 0,b.prototype.created=void 0,b.prototype.modified=void 0,b.prototype.requestor=void 0,b.prototype.recipient=void 0,b.prototype.status=void 0,b.StatusEnum={new:"new",accept:"accept",reject:"reject"};var P=b;class O{constructor(e){O.initialize(this,e)}static initialize(e,t){e.message=t}static constructFromObject(e,t){return e&&(t=t||new O,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("game")&&(t.game=i.a.convertToType(e.game,"String")),e.hasOwnProperty("gamer")&&(t.gamer=i.a.convertToType(e.gamer,"String")),e.hasOwnProperty("gamer_username")&&(t.gamer_username=i.a.convertToType(e.gamer_username,"String")),e.hasOwnProperty("message")&&(t.message=i.a.convertToType(e.message,"String")),e.hasOwnProperty("status")&&(t.status=i.a.convertToType(e.status,"String"))),t}}O.prototype.api_url=void 0,O.prototype.game=void 0,O.prototype.gamer=void 0,O.prototype.gamer_username=void 0,O.prototype.message=void 0,O.prototype.status=void 0,O.StatusEnum={new:"new",pending:"pending",deny:"deny",approve:"approve"};var S=O;class E{constructor(e){E.initialize(this,e)}static initialize(e,t){e.message=t}static constructFromObject(e,t){return e&&(t=t||new E,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("game")&&(t.game=i.a.convertToType(e.game,"String")),e.hasOwnProperty("gamer")&&(t.gamer=i.a.convertToType(e.gamer,"String")),e.hasOwnProperty("gamer_username")&&(t.gamer_username=i.a.convertToType(e.gamer_username,"String")),e.hasOwnProperty("player_stats")&&(t.player_stats=i.a.convertToType(e.player_stats,"String")),e.hasOwnProperty("message")&&(t.message=i.a.convertToType(e.message,"String")),e.hasOwnProperty("status")&&(t.status=i.a.convertToType(e.status,"String"))),t}}E.prototype.api_url=void 0,E.prototype.game=void 0,E.prototype.gamer=void 0,E.prototype.gamer_username=void 0,E.prototype.player_stats=void 0,E.prototype.message=void 0,E.prototype.status=void 0,E.StatusEnum={new:"new",pending:"pending",deny:"deny",approve:"approve"};var C=E;class k{constructor(e,t){k.initialize(this,e,t)}static initialize(e,t,r){e.title=t,e.game_description=r}static constructFromObject(e,t){return e&&(t=t||new k,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("title")&&(t.title=i.a.convertToType(e.title,"String")),e.hasOwnProperty("gm")&&(t.gm=i.a.convertToType(e.gm,"String")),e.hasOwnProperty("gm_stats")&&(t.gm_stats=i.a.convertToType(e.gm_stats,"String")),e.hasOwnProperty("featured_image")&&(t.featured_image=i.a.convertToType(e.featured_image,"String")),e.hasOwnProperty("featured_image_description")&&(t.featured_image_description=i.a.convertToType(e.featured_image_description,"String")),e.hasOwnProperty("featured_image_cw")&&(t.featured_image_cw=i.a.convertToType(e.featured_image_cw,"String")),e.hasOwnProperty("game_description")&&(t.game_description=i.a.convertToType(e.game_description,"String")),e.hasOwnProperty("game_description_rendered")&&(t.game_description_rendered=i.a.convertToType(e.game_description_rendered,"String")),e.hasOwnProperty("game_type")&&(t.game_type=i.a.convertToType(e.game_type,"String")),e.hasOwnProperty("status")&&(t.status=i.a.convertToType(e.status,"String")),e.hasOwnProperty("game_mode")&&(t.game_mode=i.a.convertToType(e.game_mode,"String")),e.hasOwnProperty("privacy_level")&&(t.privacy_level=i.a.convertToType(e.privacy_level,"String")),e.hasOwnProperty("adult_themes")&&(t.adult_themes=i.a.convertToType(e.adult_themes,"Boolean")),e.hasOwnProperty("content_warning")&&(t.content_warning=i.a.convertToType(e.content_warning,"String")),e.hasOwnProperty("published_game")&&(t.published_game=i.a.convertToType(e.published_game,"String")),e.hasOwnProperty("published_game_title")&&(t.published_game_title=i.a.convertToType(e.published_game_title,"String")),e.hasOwnProperty("game_system")&&(t.game_system=i.a.convertToType(e.game_system,"String")),e.hasOwnProperty("game_system_name")&&(t.game_system_name=i.a.convertToType(e.game_system_name,"String")),e.hasOwnProperty("published_module")&&(t.published_module=i.a.convertToType(e.published_module,"String")),e.hasOwnProperty("published_module_title")&&(t.published_module_title=i.a.convertToType(e.published_module_title,"String")),e.hasOwnProperty("start_time")&&(t.start_time=i.a.convertToType(e.start_time,"Date")),e.hasOwnProperty("session_length")&&(t.session_length=i.a.convertToType(e.session_length,"String")),e.hasOwnProperty("end_date")&&(t.end_date=i.a.convertToType(e.end_date,"Date")),e.hasOwnProperty("communities")&&(t.communities=i.a.convertToType(e.communities,["String"])),e.hasOwnProperty("current_players")&&(t.current_players=i.a.convertToType(e.current_players,"String")),e.hasOwnProperty("min_players")&&(t.min_players=i.a.convertToType(e.min_players,"Number")),e.hasOwnProperty("max_players")&&(t.max_players=i.a.convertToType(e.max_players,"Number")),e.hasOwnProperty("players")&&(t.players=i.a.convertToType(e.players,["String"])),e.hasOwnProperty("sessions")&&(t.sessions=i.a.convertToType(e.sessions,"Number")),e.hasOwnProperty("player_stats")&&(t.player_stats=i.a.convertToType(e.player_stats,"String")),e.hasOwnProperty("created")&&(t.created=i.a.convertToType(e.created,"Date")),e.hasOwnProperty("modified")&&(t.modified=i.a.convertToType(e.modified,"Date"))),t}}k.prototype.api_url=void 0,k.prototype.slug=void 0,k.prototype.title=void 0,k.prototype.gm=void 0,k.prototype.gm_stats=void 0,k.prototype.featured_image=void 0,k.prototype.featured_image_description=void 0,k.prototype.featured_image_cw=void 0,k.prototype.game_description=void 0,k.prototype.game_description_rendered=void 0,k.prototype.game_type=void 0,k.prototype.status=void 0,k.prototype.game_mode=void 0,k.prototype.privacy_level=void 0,k.prototype.adult_themes=void 0,k.prototype.content_warning=void 0,k.prototype.published_game=void 0,k.prototype.published_game_title=void 0,k.prototype.game_system=void 0,k.prototype.game_system_name=void 0,k.prototype.published_module=void 0,k.prototype.published_module_title=void 0,k.prototype.start_time=void 0,k.prototype.session_length=void 0,k.prototype.end_date=void 0,k.prototype.communities=void 0,k.prototype.current_players=void 0,k.prototype.min_players=void 0,k.prototype.max_players=void 0,k.prototype.players=void 0,k.prototype.sessions=void 0,k.prototype.player_stats=void 0,k.prototype.created=void 0,k.prototype.modified=void 0,k.GameTypeEnum={oneshot:"oneshot",shortadv:"shortadv",campaign:"campaign"},k.StatusEnum={open:"open",started:"started",replace:"replace",cancel:"cancel",closed:"closed"},k.GameModeEnum={online:"online",irl:"irl",post:"post"},k.PrivacyLevelEnum={private:"private",community:"community",public:"public"};var A=k;class M{constructor(e,t){M.initialize(this,e,t)}static initialize(e,t,r){e.title=t,e.game_description=r}static constructFromObject(e,t){return e&&(t=t||new M,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("title")&&(t.title=i.a.convertToType(e.title,"String")),e.hasOwnProperty("gm")&&(t.gm=i.a.convertToType(e.gm,"String")),e.hasOwnProperty("gm_stats")&&(t.gm_stats=i.a.convertToType(e.gm_stats,"String")),e.hasOwnProperty("game_description")&&(t.game_description=i.a.convertToType(e.game_description,"String")),e.hasOwnProperty("game_description_rendered")&&(t.game_description_rendered=i.a.convertToType(e.game_description_rendered,"String")),e.hasOwnProperty("game_type")&&(t.game_type=i.a.convertToType(e.game_type,"String")),e.hasOwnProperty("status")&&(t.status=i.a.convertToType(e.status,"String")),e.hasOwnProperty("game_mode")&&(t.game_mode=i.a.convertToType(e.game_mode,"String")),e.hasOwnProperty("privacy_level")&&(t.privacy_level=i.a.convertToType(e.privacy_level,"String")),e.hasOwnProperty("adult_themes")&&(t.adult_themes=i.a.convertToType(e.adult_themes,"Boolean")),e.hasOwnProperty("content_warning")&&(t.content_warning=i.a.convertToType(e.content_warning,"String")),e.hasOwnProperty("published_game")&&(t.published_game=i.a.convertToType(e.published_game,"String")),e.hasOwnProperty("published_game_title")&&(t.published_game_title=i.a.convertToType(e.published_game_title,"String")),e.hasOwnProperty("game_system")&&(t.game_system=i.a.convertToType(e.game_system,"String")),e.hasOwnProperty("game_system_name")&&(t.game_system_name=i.a.convertToType(e.game_system_name,"String")),e.hasOwnProperty("published_module")&&(t.published_module=i.a.convertToType(e.published_module,"String")),e.hasOwnProperty("published_module_title")&&(t.published_module_title=i.a.convertToType(e.published_module_title,"String")),e.hasOwnProperty("start_time")&&(t.start_time=i.a.convertToType(e.start_time,"Date")),e.hasOwnProperty("session_length")&&(t.session_length=i.a.convertToType(e.session_length,"String")),e.hasOwnProperty("end_date")&&(t.end_date=i.a.convertToType(e.end_date,"Date")),e.hasOwnProperty("communities")&&(t.communities=i.a.convertToType(e.communities,["String"])),e.hasOwnProperty("current_players")&&(t.current_players=i.a.convertToType(e.current_players,"String")),e.hasOwnProperty("min_players")&&(t.min_players=i.a.convertToType(e.min_players,"Number")),e.hasOwnProperty("max_players")&&(t.max_players=i.a.convertToType(e.max_players,"Number")),e.hasOwnProperty("sessions")&&(t.sessions=i.a.convertToType(e.sessions,"Number")),e.hasOwnProperty("created")&&(t.created=i.a.convertToType(e.created,"Date")),e.hasOwnProperty("modified")&&(t.modified=i.a.convertToType(e.modified,"Date"))),t}}M.prototype.api_url=void 0,M.prototype.slug=void 0,M.prototype.title=void 0,M.prototype.gm=void 0,M.prototype.gm_stats=void 0,M.prototype.game_description=void 0,M.prototype.game_description_rendered=void 0,M.prototype.game_type=void 0,M.prototype.status=void 0,M.prototype.game_mode=void 0,M.prototype.privacy_level=void 0,M.prototype.adult_themes=void 0,M.prototype.content_warning=void 0,M.prototype.published_game=void 0,M.prototype.published_game_title=void 0,M.prototype.game_system=void 0,M.prototype.game_system_name=void 0,M.prototype.published_module=void 0,M.prototype.published_module_title=void 0,M.prototype.start_time=void 0,M.prototype.session_length=void 0,M.prototype.end_date=void 0,M.prototype.communities=void 0,M.prototype.current_players=void 0,M.prototype.min_players=void 0,M.prototype.max_players=void 0,M.prototype.sessions=void 0,M.prototype.created=void 0,M.prototype.modified=void 0,M.GameTypeEnum={oneshot:"oneshot",shortadv:"shortadv",campaign:"campaign"},M.StatusEnum={open:"open",started:"started",replace:"replace",cancel:"cancel",closed:"closed"},M.GameModeEnum={online:"online",irl:"irl",post:"post"},M.PrivacyLevelEnum={private:"private",community:"community",public:"public"};var q=M;class j{constructor(e){j.initialize(this,e)}static initialize(e,t){e.name=t}static constructFromObject(e,t){return e&&(t=t||new j,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("game")&&(t.game=i.a.convertToType(e.game,"String")),e.hasOwnProperty("game_title")&&(t.game_title=i.a.convertToType(e.game_title,"String")),e.hasOwnProperty("name")&&(t.name=i.a.convertToType(e.name,"String")),e.hasOwnProperty("image")&&(t.image=i.a.convertToType(e.image,"String")),e.hasOwnProperty("publisher")&&(t.publisher=i.a.convertToType(e.publisher,"String")),e.hasOwnProperty("publisher_name")&&(t.publisher_name=i.a.convertToType(e.publisher_name,"String")),e.hasOwnProperty("game_system")&&(t.game_system=i.a.convertToType(e.game_system,"String")),e.hasOwnProperty("game_system_name")&&(t.game_system_name=i.a.convertToType(e.game_system_name,"String")),e.hasOwnProperty("url")&&(t.url=i.a.convertToType(e.url,"String")),e.hasOwnProperty("release_date")&&(t.release_date=i.a.convertToType(e.release_date,"Date")),e.hasOwnProperty("tags")&&(t.tags=i.a.convertToType(e.tags,"String")),e.hasOwnProperty("inherited_tags")&&(t.inherited_tags=i.a.convertToType(e.inherited_tags,"String"))),t}}j.prototype.api_url=void 0,j.prototype.slug=void 0,j.prototype.game=void 0,j.prototype.game_title=void 0,j.prototype.name=void 0,j.prototype.image=void 0,j.prototype.publisher=void 0,j.prototype.publisher_name=void 0,j.prototype.game_system=void 0,j.prototype.game_system_name=void 0,j.prototype.url=void 0,j.prototype.release_date=void 0,j.prototype.tags=void 0,j.prototype.inherited_tags=void 0;var R=j;class x{constructor(){x.initialize(this)}static initialize(e){}static constructFromObject(e,t){return e&&(t=t||new x,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("game")&&(t.game=i.a.convertToType(e.game,"String")),e.hasOwnProperty("game_title")&&(t.game_title=i.a.convertToType(e.game_title,"String")),e.hasOwnProperty("scheduled_time")&&(t.scheduled_time=i.a.convertToType(e.scheduled_time,"Date")),e.hasOwnProperty("status")&&(t.status=i.a.convertToType(e.status,"String")),e.hasOwnProperty("players_expected")&&(t.players_expected=i.a.convertToType(e.players_expected,"String")),e.hasOwnProperty("players_missing")&&(t.players_missing=i.a.convertToType(e.players_missing,"String")),e.hasOwnProperty("adventurelog")&&(t.adventurelog=i.a.convertToType(e.adventurelog,"String")),e.hasOwnProperty("adventurelog_title")&&(t.adventurelog_title=i.a.convertToType(e.adventurelog_title,"String")),e.hasOwnProperty("adventurelog_body")&&(t.adventurelog_body=i.a.convertToType(e.adventurelog_body,"String")),e.hasOwnProperty("adventurelog_body_rendered")&&(t.adventurelog_body_rendered=i.a.convertToType(e.adventurelog_body_rendered,"String"))),t}}x.prototype.api_url=void 0,x.prototype.slug=void 0,x.prototype.game=void 0,x.prototype.game_title=void 0,x.prototype.scheduled_time=void 0,x.prototype.status=void 0,x.prototype.players_expected=void 0,x.prototype.players_missing=void 0,x.prototype.adventurelog=void 0,x.prototype.adventurelog_title=void 0,x.prototype.adventurelog_body=void 0,x.prototype.adventurelog_body_rendered=void 0,x.StatusEnum={pending:"pending",cancel:"cancel",complete:"complete"};var L=x;class U{constructor(e,t){U.initialize(this,e,t)}static initialize(e,t,r){e.players_expected=t,e.players_missing=r}static constructFromObject(e,t){return e&&(t=t||new U,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("game")&&(t.game=i.a.convertToType(e.game,"String")),e.hasOwnProperty("game_title")&&(t.game_title=i.a.convertToType(e.game_title,"String")),e.hasOwnProperty("scheduled_time")&&(t.scheduled_time=i.a.convertToType(e.scheduled_time,"Date")),e.hasOwnProperty("status")&&(t.status=i.a.convertToType(e.status,"String")),e.hasOwnProperty("players_expected")&&(t.players_expected=i.a.convertToType(e.players_expected,["String"])),e.hasOwnProperty("players_missing")&&(t.players_missing=i.a.convertToType(e.players_missing,["String"])),e.hasOwnProperty("gm_notes")&&(t.gm_notes=i.a.convertToType(e.gm_notes,"String")),e.hasOwnProperty("gm_notes_rendered")&&(t.gm_notes_rendered=i.a.convertToType(e.gm_notes_rendered,"String")),e.hasOwnProperty("adventurelog")&&(t.adventurelog=i.a.convertToType(e.adventurelog,"String")),e.hasOwnProperty("adventurelog_title")&&(t.adventurelog_title=i.a.convertToType(e.adventurelog_title,"String")),e.hasOwnProperty("adventurelog_body")&&(t.adventurelog_body=i.a.convertToType(e.adventurelog_body,"String")),e.hasOwnProperty("adventurelog_body_rendered")&&(t.adventurelog_body_rendered=i.a.convertToType(e.adventurelog_body_rendered,"String"))),t}}U.prototype.api_url=void 0,U.prototype.slug=void 0,U.prototype.game=void 0,U.prototype.game_title=void 0,U.prototype.scheduled_time=void 0,U.prototype.status=void 0,U.prototype.players_expected=void 0,U.prototype.players_missing=void 0,U.prototype.gm_notes=void 0,U.prototype.gm_notes_rendered=void 0,U.prototype.adventurelog=void 0,U.prototype.adventurelog_title=void 0,U.prototype.adventurelog_body=void 0,U.prototype.adventurelog_body_rendered=void 0,U.StatusEnum={pending:"pending",cancel:"cancel",complete:"complete"};var D=U;class z{constructor(e){z.initialize(this,e)}static initialize(e,t){e.name=t}static constructFromObject(e,t){return e&&(t=t||new z,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("name")&&(t.name=i.a.convertToType(e.name,"String")),e.hasOwnProperty("description")&&(t.description=i.a.convertToType(e.description,"String")),e.hasOwnProperty("original_publisher")&&(t.original_publisher=i.a.convertToType(e.original_publisher,"String")),e.hasOwnProperty("original_publisher_name")&&(t.original_publisher_name=i.a.convertToType(e.original_publisher_name,"String")),e.hasOwnProperty("image")&&(t.image=i.a.convertToType(e.image,"String")),e.hasOwnProperty("isbn")&&(t.isbn=i.a.convertToType(e.isbn,"String")),e.hasOwnProperty("publication_date")&&(t.publication_date=i.a.convertToType(e.publication_date,"Date")),e.hasOwnProperty("ogl_license")&&(t.ogl_license=i.a.convertToType(e.ogl_license,"Boolean")),e.hasOwnProperty("system_url")&&(t.system_url=i.a.convertToType(e.system_url,"String")),e.hasOwnProperty("created")&&(t.created=i.a.convertToType(e.created,"Date")),e.hasOwnProperty("modified")&&(t.modified=i.a.convertToType(e.modified,"Date")),e.hasOwnProperty("tags")&&(t.tags=i.a.convertToType(e.tags,"String")),e.hasOwnProperty("inherited_tags")&&(t.inherited_tags=i.a.convertToType(e.inherited_tags,"String"))),t}}z.prototype.api_url=void 0,z.prototype.slug=void 0,z.prototype.name=void 0,z.prototype.description=void 0,z.prototype.original_publisher=void 0,z.prototype.original_publisher_name=void 0,z.prototype.image=void 0,z.prototype.isbn=void 0,z.prototype.publication_date=void 0,z.prototype.ogl_license=void 0,z.prototype.system_url=void 0,z.prototype.created=void 0,z.prototype.modified=void 0,z.prototype.tags=void 0,z.prototype.inherited_tags=void 0;var G=z;class B{constructor(e){B.initialize(this,e)}static initialize(e,t){e.name=t}static constructFromObject(e,t){return e&&(t=t||new B,e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("name")&&(t.name=i.a.convertToType(e.name,"String")),e.hasOwnProperty("description")&&(t.description=i.a.convertToType(e.description,"String")),e.hasOwnProperty("community_logo")&&(t.community_logo=i.a.convertToType(e.community_logo,"String")),e.hasOwnProperty("community_logo_description")&&(t.community_logo_description=i.a.convertToType(e.community_logo_description,"String")),e.hasOwnProperty("community_logo_cw")&&(t.community_logo_cw=i.a.convertToType(e.community_logo_cw,"String")),e.hasOwnProperty("url")&&(t.url=i.a.convertToType(e.url,"String")),e.hasOwnProperty("linked_with_discord")&&(t.linked_with_discord=i.a.convertToType(e.linked_with_discord,"Boolean")),e.hasOwnProperty("private")&&(t.private=i.a.convertToType(e.private,"Boolean")),e.hasOwnProperty("member_count")&&(t.member_count=i.a.convertToType(e.member_count,"Number")),e.hasOwnProperty("created")&&(t.created=i.a.convertToType(e.created,"Date")),e.hasOwnProperty("modified")&&(t.modified=i.a.convertToType(e.modified,"Date"))),t}}B.prototype.slug=void 0,B.prototype.name=void 0,B.prototype.description=void 0,B.prototype.community_logo=void 0,B.prototype.community_logo_description=void 0,B.prototype.community_logo_cw=void 0,B.prototype.url=void 0,B.prototype.linked_with_discord=void 0,B.prototype.private=void 0,B.prototype.member_count=void 0,B.prototype.created=void 0,B.prototype.modified=void 0;var I=B;class F{constructor(e,t){F.initialize(this,e,t)}static initialize(e,t,r){e.title=t,e.body=r}static constructFromObject(e,t){return e&&(t=t||new F,e.hasOwnProperty("id")&&(t.id=i.a.convertToType(e.id,"String")),e.hasOwnProperty("author")&&(t.author=i.a.convertToType(e.author,"String")),e.hasOwnProperty("gamer")&&(t.gamer=i.a.convertToType(e.gamer,"String")),e.hasOwnProperty("title")&&(t.title=i.a.convertToType(e.title,"String")),e.hasOwnProperty("body")&&(t.body=i.a.convertToType(e.body,"String")),e.hasOwnProperty("created")&&(t.created=i.a.convertToType(e.created,"Date")),e.hasOwnProperty("modified")&&(t.modified=i.a.convertToType(e.modified,"Date"))),t}}F.prototype.id=void 0,F.prototype.author=void 0,F.prototype.gamer=void 0,F.prototype.title=void 0,F.prototype.body=void 0,F.prototype.created=void 0,F.prototype.modified=void 0;var N=F;class Y{constructor(){Y.initialize(this)}static initialize(e){}static constructFromObject(e,t){return e&&(t=t||new Y,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("user")&&(t.user=i.a.convertToType(e.user,"String")),e.hasOwnProperty("private")&&(t.private=i.a.convertToType(e.private,"Boolean")),e.hasOwnProperty("playstyle")&&(t.playstyle=i.a.convertToType(e.playstyle,"String")),e.hasOwnProperty("will_gm")&&(t.will_gm=i.a.convertToType(e.will_gm,"Boolean")),e.hasOwnProperty("player_status")&&(t.player_status=i.a.convertToType(e.player_status,"String")),e.hasOwnProperty("adult_themes")&&(t.adult_themes=i.a.convertToType(e.adult_themes,"Boolean")),e.hasOwnProperty("one_shots")&&(t.one_shots=i.a.convertToType(e.one_shots,"Boolean")),e.hasOwnProperty("adventures")&&(t.adventures=i.a.convertToType(e.adventures,"Boolean")),e.hasOwnProperty("campaigns")&&(t.campaigns=i.a.convertToType(e.campaigns,"Boolean")),e.hasOwnProperty("online_games")&&(t.online_games=i.a.convertToType(e.online_games,"Boolean")),e.hasOwnProperty("local_games")&&(t.local_games=i.a.convertToType(e.local_games,"Boolean")),e.hasOwnProperty("preferred_games")&&(t.preferred_games=i.a.convertToType(e.preferred_games,["String"])),e.hasOwnProperty("preferred_systems")&&(t.preferred_systems=i.a.convertToType(e.preferred_systems,["String"])),e.hasOwnProperty("communities")&&(t.communities=i.a.convertToType(e.communities,["String"])),e.hasOwnProperty("reputation_score")&&(t.reputation_score=i.a.convertToType(e.reputation_score,"Number")),e.hasOwnProperty("player_game_list")&&(t.player_game_list=i.a.convertToType(e.player_game_list,"String")),e.hasOwnProperty("gmed_games")&&(t.gmed_games=i.a.convertToType(e.gmed_games,["String"])),e.hasOwnProperty("timezone")&&(t.timezone=i.a.convertToType(e.timezone,"String"))),t}}Y.prototype.api_url=void 0,Y.prototype.user=void 0,Y.prototype.private=void 0,Y.prototype.playstyle=void 0,Y.prototype.will_gm=void 0,Y.prototype.player_status=void 0,Y.prototype.adult_themes=void 0,Y.prototype.one_shots=void 0,Y.prototype.adventures=void 0,Y.prototype.campaigns=void 0,Y.prototype.online_games=void 0,Y.prototype.local_games=void 0,Y.prototype.preferred_games=void 0,Y.prototype.preferred_systems=void 0,Y.prototype.communities=void 0,Y.prototype.reputation_score=void 0,Y.prototype.player_game_list=void 0,Y.prototype.gmed_games=void 0,Y.prototype.timezone=void 0,Y.PlayerStatusEnum={all_full:"all_full",available:"available",searching:"searching"};var H=Y;class K{constructor(e){K.initialize(this,e)}static initialize(e,t){e.name=t}static constructFromObject(e,t){return e&&(t=t||new K,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("name")&&(t.name=i.a.convertToType(e.name,"String")),e.hasOwnProperty("logo")&&(t.logo=i.a.convertToType(e.logo,"String")),e.hasOwnProperty("url")&&(t.url=i.a.convertToType(e.url,"String")),e.hasOwnProperty("tags")&&(t.tags=i.a.convertToType(e.tags,"String")),e.hasOwnProperty("created")&&(t.created=i.a.convertToType(e.created,"Date")),e.hasOwnProperty("modified")&&(t.modified=i.a.convertToType(e.modified,"Date"))),t}}K.prototype.api_url=void 0,K.prototype.slug=void 0,K.prototype.name=void 0,K.prototype.logo=void 0,K.prototype.url=void 0,K.prototype.tags=void 0,K.prototype.created=void 0,K.prototype.modified=void 0;var X=K;class ${constructor(e,t){$.initialize(this,e,t)}static initialize(e,t,r){e.title=t,e.tags=r}static constructFromObject(e,t){return e&&(t=t||new $,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("title")&&(t.title=i.a.convertToType(e.title,"String")),e.hasOwnProperty("image")&&(t.image=i.a.convertToType(e.image,"String")),e.hasOwnProperty("description")&&(t.description=i.a.convertToType(e.description,"String")),e.hasOwnProperty("url")&&(t.url=i.a.convertToType(e.url,"String")),e.hasOwnProperty("publication_date")&&(t.publication_date=i.a.convertToType(e.publication_date,"Date")),e.hasOwnProperty("tags")&&(t.tags=i.a.convertToType(e.tags,"String")),e.hasOwnProperty("inherited_tags")&&(t.inherited_tags=i.a.convertToType(e.inherited_tags,"String"))),t}}$.prototype.api_url=void 0,$.prototype.slug=void 0,$.prototype.title=void 0,$.prototype.image=void 0,$.prototype.description=void 0,$.prototype.url=void 0,$.prototype.publication_date=void 0,$.prototype.tags=void 0,$.prototype.inherited_tags=void 0;var J=$;class V{constructor(e,t){V.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new V,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[J]))),t}}V.prototype.count=void 0,V.prototype.next=void 0,V.prototype.previous=void 0,V.prototype.results=void 0;var W=V;class Q{constructor(e){Q.initialize(this,e)}static initialize(e,t){e.title=t}static constructFromObject(e,t){return e&&(t=t||new Q,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("title")&&(t.title=i.a.convertToType(e.title,"String")),e.hasOwnProperty("image")&&(t.image=i.a.convertToType(e.image,"String")),e.hasOwnProperty("corebook")&&(t.corebook=i.a.convertToType(e.corebook,"Boolean")),e.hasOwnProperty("publisher")&&(t.publisher=i.a.convertToType(e.publisher,"String")),e.hasOwnProperty("publisher_name")&&(t.publisher_name=i.a.convertToType(e.publisher_name,"String")),e.hasOwnProperty("edition")&&(t.edition=i.a.convertToType(e.edition,"String")),e.hasOwnProperty("edition_title")&&(t.edition_title=i.a.convertToType(e.edition_title,"String")),e.hasOwnProperty("release_date")&&(t.release_date=i.a.convertToType(e.release_date,"Date")),e.hasOwnProperty("isbn")&&(t.isbn=i.a.convertToType(e.isbn,"String"))),t}}Q.prototype.api_url=void 0,Q.prototype.slug=void 0,Q.prototype.title=void 0,Q.prototype.image=void 0,Q.prototype.corebook=void 0,Q.prototype.publisher=void 0,Q.prototype.publisher_name=void 0,Q.prototype.edition=void 0,Q.prototype.edition_title=void 0,Q.prototype.release_date=void 0,Q.prototype.isbn=void 0;var Z=Q;class ee{constructor(e,t){ee.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new ee,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[Z]))),t}}ee.prototype.count=void 0,ee.prototype.next=void 0,ee.prototype.previous=void 0,ee.prototype.results=void 0;var te=ee;class re{constructor(e,t){re.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new re,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[m]))),t}}re.prototype.count=void 0,re.prototype.next=void 0,re.prototype.previous=void 0,re.prototype.results=void 0;var ie=re;class oe{constructor(e,t){oe.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new oe,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[L]))),t}}oe.prototype.count=void 0,oe.prototype.next=void 0,oe.prototype.previous=void 0,oe.prototype.results=void 0;var ne=oe;class ae{constructor(e,t){ae.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new ae,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[_]))),t}}ae.prototype.count=void 0,ae.prototype.next=void 0,ae.prototype.previous=void 0,ae.prototype.results=void 0;var se=ae;class le{constructor(e,t){le.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new le,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[c]))),t}}le.prototype.count=void 0,le.prototype.next=void 0,le.prototype.previous=void 0,le.prototype.results=void 0;var pe=le;class ue{constructor(e,t){ue.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new ue,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[I]))),t}}ue.prototype.count=void 0,ue.prototype.next=void 0,ue.prototype.previous=void 0,ue.prototype.results=void 0;var ce=ue;class he{constructor(e,t){he.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new he,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[p]))),t}}he.prototype.count=void 0,he.prototype.next=void 0,he.prototype.previous=void 0,he.prototype.results=void 0;var me=he;class ge{constructor(e,t){ge.initialize(this,e,t)}static initialize(e,t,r){e.end_date=t,e.reason=r}static constructFromObject(e,t){return e&&(t=t||new ge,e.hasOwnProperty("id")&&(t.id=i.a.convertToType(e.id,"String")),e.hasOwnProperty("community")&&(t.community=i.a.convertToType(e.community,"String")),e.hasOwnProperty("kicker")&&(t.kicker=i.a.convertToType(e.kicker,"String")),e.hasOwnProperty("kicked_user")&&(t.kicked_user=i.a.convertToType(e.kicked_user,"String")),e.hasOwnProperty("end_date")&&(t.end_date=i.a.convertToType(e.end_date,"Date")),e.hasOwnProperty("reason")&&(t.reason=i.a.convertToType(e.reason,"String"))),t}}ge.prototype.id=void 0,ge.prototype.community=void 0,ge.prototype.kicker=void 0,ge.prototype.kicked_user=void 0,ge.prototype.end_date=void 0,ge.prototype.reason=void 0;var de=ge;class ye{constructor(e,t){ye.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new ye,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[de]))),t}}ye.prototype.count=void 0,ye.prototype.next=void 0,ye.prototype.previous=void 0,ye.prototype.results=void 0;var _e=ye;class fe{constructor(e,t){fe.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new fe,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[T]))),t}}fe.prototype.count=void 0,fe.prototype.next=void 0,fe.prototype.previous=void 0,fe.prototype.results=void 0;var we=fe;class ve{constructor(e,t){ve.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new ve,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[P]))),t}}ve.prototype.count=void 0,ve.prototype.next=void 0,ve.prototype.previous=void 0,ve.prototype.results=void 0;var Te=ve;class be{constructor(){be.initialize(this)}static initialize(e){}static constructFromObject(e,t){return e&&(t=t||new be,e.hasOwnProperty("id")&&(t.id=i.a.convertToType(e.id,"String")),e.hasOwnProperty("muter")&&(t.muter=i.a.convertToType(e.muter,"String")),e.hasOwnProperty("mutee")&&(t.mutee=i.a.convertToType(e.mutee,"String"))),t}}be.prototype.id=void 0,be.prototype.muter=void 0,be.prototype.mutee=void 0;var Pe=be;class Oe{constructor(e,t){Oe.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new Oe,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[Pe]))),t}}Oe.prototype.count=void 0,Oe.prototype.next=void 0,Oe.prototype.previous=void 0,Oe.prototype.results=void 0;var Se=Oe;class Ee{constructor(e,t){Ee.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new Ee,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[R]))),t}}Ee.prototype.count=void 0,Ee.prototype.next=void 0,Ee.prototype.previous=void 0,Ee.prototype.results=void 0;var Ce=Ee;class ke{constructor(e,t){ke.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new ke,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[w]))),t}}ke.prototype.count=void 0,ke.prototype.next=void 0,ke.prototype.previous=void 0,ke.prototype.results=void 0;var Ae=ke;class Me{constructor(e,t){Me.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new Me,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[N]))),t}}Me.prototype.count=void 0,Me.prototype.next=void 0,Me.prototype.previous=void 0,Me.prototype.results=void 0;var qe=Me;class je{constructor(e,t){je.initialize(this,e,t)}static initialize(e,t,r){e.title=t,e.tags=r}static constructFromObject(e,t){return e&&(t=t||new je,e.hasOwnProperty("api_url")&&(t.api_url=i.a.convertToType(e.api_url,"String")),e.hasOwnProperty("slug")&&(t.slug=i.a.convertToType(e.slug,"String")),e.hasOwnProperty("title")&&(t.title=i.a.convertToType(e.title,"String")),e.hasOwnProperty("publisher")&&(t.publisher=i.a.convertToType(e.publisher,"String")),e.hasOwnProperty("publisher_name")&&(t.publisher_name=i.a.convertToType(e.publisher_name,"String")),e.hasOwnProperty("isbn")&&(t.isbn=i.a.convertToType(e.isbn,"String")),e.hasOwnProperty("publication_date")&&(t.publication_date=i.a.convertToType(e.publication_date,"Date")),e.hasOwnProperty("parent_game_edition")&&(t.parent_game_edition=i.a.convertToType(e.parent_game_edition,"String")),e.hasOwnProperty("parent_game_edition_title")&&(t.parent_game_edition_title=i.a.convertToType(e.parent_game_edition_title,"String")),e.hasOwnProperty("image")&&(t.image=i.a.convertToType(e.image,"String")),e.hasOwnProperty("url")&&(t.url=i.a.convertToType(e.url,"String")),e.hasOwnProperty("tags")&&(t.tags=i.a.convertToType(e.tags,"String")),e.hasOwnProperty("inherited_tags")&&(t.inherited_tags=i.a.convertToType(e.inherited_tags,"String"))),t}}je.prototype.api_url=void 0,je.prototype.slug=void 0,je.prototype.title=void 0,je.prototype.publisher=void 0,je.prototype.publisher_name=void 0,je.prototype.isbn=void 0,je.prototype.publication_date=void 0,je.prototype.parent_game_edition=void 0,je.prototype.parent_game_edition_title=void 0,je.prototype.image=void 0,je.prototype.url=void 0,je.prototype.tags=void 0,je.prototype.inherited_tags=void 0;var Re=je;class xe{constructor(e,t){xe.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new xe,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[Re]))),t}}xe.prototype.count=void 0,xe.prototype.next=void 0,xe.prototype.previous=void 0,xe.prototype.results=void 0;var Le=xe;class Ue{constructor(e,t){Ue.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new Ue,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[X]))),t}}Ue.prototype.count=void 0,Ue.prototype.next=void 0,Ue.prototype.previous=void 0,Ue.prototype.results=void 0;var De=Ue;class ze{constructor(e,t){ze.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new ze,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[G]))),t}}ze.prototype.count=void 0,ze.prototype.next=void 0,ze.prototype.previous=void 0,ze.prototype.results=void 0;var Ge=ze;class Be{constructor(e,t){Be.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new Be,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[q]))),t}}Be.prototype.count=void 0,Be.prototype.next=void 0,Be.prototype.previous=void 0,Be.prototype.results=void 0;var Ie=Be;class Fe{constructor(e,t){Fe.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new Fe,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[S]))),t}}Fe.prototype.count=void 0,Fe.prototype.next=void 0,Fe.prototype.previous=void 0,Fe.prototype.results=void 0;var Ne=Fe;class Ye{constructor(e,t){Ye.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new Ye,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[d]))),t}}Ye.prototype.count=void 0,Ye.prototype.next=void 0,Ye.prototype.previous=void 0,Ye.prototype.results=void 0;var He=Ye;class Ke{constructor(e,t){Ke.initialize(this,e,t)}static initialize(e,t,r){e.count=t,e.results=r}static constructFromObject(e,t){return e&&(t=t||new Ke,e.hasOwnProperty("count")&&(t.count=i.a.convertToType(e.count,"Number")),e.hasOwnProperty("next")&&(t.next=i.a.convertToType(e.next,"String")),e.hasOwnProperty("previous")&&(t.previous=i.a.convertToType(e.previous,"String")),e.hasOwnProperty("results")&&(t.results=i.a.convertToType(e.results,[C]))),t}}Ke.prototype.count=void 0,Ke.prototype.next=void 0,Ke.prototype.previous=void 0,Ke.prototype.results=void 0;var Xe=Ke;class $e{constructor(){$e.initialize(this)}static initialize(e){}static constructFromObject(e,t){return e&&(t=t||new $e,e.hasOwnProperty("end_date")&&(t.end_date=i.a.convertToType(e.end_date,"Date")),e.hasOwnProperty("reason")&&(t.reason=i.a.convertToType(e.reason,"String"))),t}}$e.prototype.end_date=void 0,$e.prototype.reason=void 0;var Je=$e;class Ve{constructor(e){Ve.initialize(this,e)}static initialize(e,t){e.new_scheduled_time=t}static constructFromObject(e,t){return e&&(t=t||new Ve,e.hasOwnProperty("new_scheduled_time")&&(t.new_scheduled_time=i.a.convertToType(e.new_scheduled_time,"Date"))),t}}Ve.prototype.new_scheduled_time=void 0;var We=Ve;class Qe{constructor(e){Qe.initialize(this,e)}static initialize(e,t){e.username=t}static constructFromObject(e,t){return e&&(t=t||new Qe,e.hasOwnProperty("username")&&(t.username=i.a.convertToType(e.username,"String"))),t}}Qe.prototype.username=void 0;var Ze=Qe;class et{constructor(e){this.apiClient=e||i.a.instance}catalogPublishedgamesEditionsList(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling catalogPublishedgamesEditionsList");let i={parent_lookup_game__slug:e},o={limit:t.limit,offset:t.offset},n=Ce;return this.apiClient.callApi("/catalog/publishedgames/{parent_lookup_game__slug}/editions/","GET",i,o,{},{},null,["basic"],[],["application/json"],n,null,r)}catalogPublishedgamesEditionsPublishedmodulesList(e,t,r,i){r=r||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupParentGameEditionGameSlug' when calling catalogPublishedgamesEditionsPublishedmodulesList");if(null==t)throw new Error("Missing the required parameter 'parentLookupParentGameEditionSlug' when calling catalogPublishedgamesEditionsPublishedmodulesList");let o={parent_lookup_parent_game_edition__game__slug:e,parent_lookup_parent_game_edition__slug:t},n={parent_game_edition:r.parentGameEdition,publisher:r.publisher,publication_date:r.publicationDate,parent_game_edition__game_system:r.parentGameEditionGameSystem,limit:r.limit,offset:r.offset},a=Le;return this.apiClient.callApi("/catalog/publishedgames/{parent_lookup_parent_game_edition__game__slug}/editions/{parent_lookup_parent_game_edition__slug}/publishedmodules/","GET",o,n,{},{},null,["basic"],[],["application/json"],a,null,i)}catalogPublishedgamesEditionsPublishedmodulesRead(e,t,r,i){if(null==e)throw new Error("Missing the required parameter 'slug' when calling catalogPublishedgamesEditionsPublishedmodulesRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupParentGameEditionGameSlug' when calling catalogPublishedgamesEditionsPublishedmodulesRead");if(null==r)throw new Error("Missing the required parameter 'parentLookupParentGameEditionSlug' when calling catalogPublishedgamesEditionsPublishedmodulesRead");let o={slug:e,parent_lookup_parent_game_edition__game__slug:t,parent_lookup_parent_game_edition__slug:r},n=Re;return this.apiClient.callApi("/catalog/publishedgames/{parent_lookup_parent_game_edition__game__slug}/editions/{parent_lookup_parent_game_edition__slug}/publishedmodules/{slug}/","GET",o,{},{},{},null,["basic"],[],["application/json"],n,null,i)}catalogPublishedgamesEditionsRead(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling catalogPublishedgamesEditionsRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling catalogPublishedgamesEditionsRead");let i={slug:e,parent_lookup_game__slug:t},o=R;return this.apiClient.callApi("/catalog/publishedgames/{parent_lookup_game__slug}/editions/{slug}/","GET",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}catalogPublishedgamesEditionsSourcebooksList(e,t,r,i){r=r||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupEditionGameSlug' when calling catalogPublishedgamesEditionsSourcebooksList");if(null==t)throw new Error("Missing the required parameter 'parentLookupEditionSlug' when calling catalogPublishedgamesEditionsSourcebooksList");let o={parent_lookup_edition__game__slug:e,parent_lookup_edition__slug:t},n={limit:r.limit,offset:r.offset},a=te;return this.apiClient.callApi("/catalog/publishedgames/{parent_lookup_edition__game__slug}/editions/{parent_lookup_edition__slug}/sourcebooks/","GET",o,n,{},{},null,["basic"],[],["application/json"],a,null,i)}catalogPublishedgamesEditionsSourcebooksRead(e,t,r,i){if(null==e)throw new Error("Missing the required parameter 'slug' when calling catalogPublishedgamesEditionsSourcebooksRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupEditionGameSlug' when calling catalogPublishedgamesEditionsSourcebooksRead");if(null==r)throw new Error("Missing the required parameter 'parentLookupEditionSlug' when calling catalogPublishedgamesEditionsSourcebooksRead");let o={slug:e,parent_lookup_edition__game__slug:t,parent_lookup_edition__slug:r},n=Z;return this.apiClient.callApi("/catalog/publishedgames/{parent_lookup_edition__game__slug}/editions/{parent_lookup_edition__slug}/sourcebooks/{slug}/","GET",o,{},{},{},null,["basic"],[],["application/json"],n,null,i)}catalogPublishedgamesList(e,t){let r={publication_date:(e=e||{}).publicationDate,limit:e.limit,offset:e.offset},i=W;return this.apiClient.callApi("/catalog/publishedgames/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}catalogPublishedgamesRead(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling catalogPublishedgamesRead");let r={slug:e},i=J;return this.apiClient.callApi("/catalog/publishedgames/{slug}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}catalogPublishersList(e,t){let r={limit:(e=e||{}).limit,offset:e.offset},i=De;return this.apiClient.callApi("/catalog/publishers/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}catalogPublishersRead(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling catalogPublishersRead");let r={slug:e},i=X;return this.apiClient.callApi("/catalog/publishers/{slug}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}catalogSystemsList(e,t){let r={limit:(e=e||{}).limit,offset:e.offset},i=Ge;return this.apiClient.callApi("/catalog/systems/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}catalogSystemsRead(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling catalogSystemsRead");let r={slug:e},i=G;return this.apiClient.callApi("/catalog/systems/{slug}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}}class tt{constructor(e){this.apiClient=e||i.a.instance}gamesApplicationsApprove(e,t,r){if(null==e)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesApplicationsApprove");if(null==t)throw new Error("Missing the required parameter 'slug' when calling gamesApplicationsApprove");let i={parent_lookup_game__slug:e,slug:t},o=m;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/applications/{slug}/approve/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesApplicationsList(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesApplicationsList");let i={parent_lookup_game__slug:e},o={limit:t.limit,offset:t.offset},n=Xe;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/applications/","GET",i,o,{},{},null,["basic"],[],["application/json"],n,null,r)}gamesApplicationsRead(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesApplicationsRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesApplicationsRead");let i={slug:e,parent_lookup_game__slug:t},o=C;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/applications/{slug}/","GET",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesApplicationsReject(e,t,r){if(null==e)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesApplicationsReject");if(null==t)throw new Error("Missing the required parameter 'slug' when calling gamesApplicationsReject");let i={parent_lookup_game__slug:e,slug:t},o=C;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/applications/{slug}/reject/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesApply(e,t,r){let i=t;if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesApply");if(null==t)throw new Error("Missing the required parameter 'data' when calling gamesApply");let o={slug:e},n=S;return this.apiClient.callApi("/games/{slug}/apply/","POST",o,{},{},{},i,["basic"],["application/json"],["application/json"],n,null,r)}gamesCharactersApprove(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesCharactersApprove");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesCharactersApprove");let i={slug:e,parent_lookup_game__slug:t},o=d;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/characters/{slug}/approve/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesCharactersCreate(e,t,r,i){r=r||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesCharactersCreate");if(null==t)throw new Error("Missing the required parameter 'name' when calling gamesCharactersCreate");let o={parent_lookup_game__slug:e},n={name:t,description:r.description,sheet:r.sheet},a=d;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/characters/","POST",o,{},{},n,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],a,null,i)}gamesCharactersDeactivate(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesCharactersDeactivate");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesCharactersDeactivate");let i={slug:e,parent_lookup_game__slug:t},o=d;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/characters/{slug}/deactivate/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesCharactersDelete(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesCharactersDelete");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesCharactersDelete");let i={slug:e,parent_lookup_game__slug:t};return this.apiClient.callApi("/games/{parent_lookup_game__slug}/characters/{slug}/","DELETE",i,{},{},{},null,["basic"],[],[],null,null,r)}gamesCharactersList(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesCharactersList");let i={parent_lookup_game__slug:e},o={limit:t.limit,offset:t.offset},n=He;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/characters/","GET",i,o,{},{},null,["basic"],[],["application/json"],n,null,r)}gamesCharactersPartialUpdate(e,t,r,i,o){i=i||{};if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesCharactersPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesCharactersPartialUpdate");if(null==r)throw new Error("Missing the required parameter 'name' when calling gamesCharactersPartialUpdate");let n={slug:e,parent_lookup_game__slug:t},a={name:r,description:i.description,sheet:i.sheet},s=d;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/characters/{slug}/","PATCH",n,{},{},a,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],s,null,o)}gamesCharactersReactivate(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesCharactersReactivate");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesCharactersReactivate");let i={slug:e,parent_lookup_game__slug:t},o=d;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/characters/{slug}/reactivate/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesCharactersRead(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesCharactersRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesCharactersRead");let i={slug:e,parent_lookup_game__slug:t},o=d;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/characters/{slug}/","GET",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesCharactersReject(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesCharactersReject");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesCharactersReject");let i={slug:e,parent_lookup_game__slug:t},o=d;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/characters/{slug}/reject/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesCharactersUpdate(e,t,r,i,o){i=i||{};if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesCharactersUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesCharactersUpdate");if(null==r)throw new Error("Missing the required parameter 'name' when calling gamesCharactersUpdate");let n={slug:e,parent_lookup_game__slug:t},a={name:r,description:i.description,sheet:i.sheet},s=d;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/characters/{slug}/","PUT",n,{},{},a,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],s,null,o)}gamesCreate(e,t,r,i){r=r||{};if(null==e)throw new Error("Missing the required parameter 'title' when calling gamesCreate");if(null==t)throw new Error("Missing the required parameter 'gameDescription' when calling gamesCreate");let o={title:e,featured_image:r.featuredImage,featured_image_description:r.featuredImageDescription,featured_image_cw:r.featuredImageCw,game_description:t,game_type:r.gameType,status:r.status,game_mode:r.gameMode,privacy_level:r.privacyLevel,adult_themes:r.adultThemes,content_warning:r.contentWarning,published_game:r.publishedGame,game_system:r.gameSystem,published_module:r.publishedModule,start_time:r.startTime,session_length:r.sessionLength,end_date:r.endDate,communities:this.apiClient.buildCollectionParam(r.communities,"csv"),min_players:r.minPlayers,max_players:r.maxPlayers},n=A;return this.apiClient.callApi("/games/","POST",{},{},{},o,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],n,null,i)}gamesDelete(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesDelete");let r={slug:e};return this.apiClient.callApi("/games/{slug}/","DELETE",r,{},{},{},null,["basic"],[],[],null,null,t)}gamesLeave(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesLeave");let r={slug:e},i=q;return this.apiClient.callApi("/games/{slug}/leave/","POST",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}gamesList(e,t){let r={published_game:(e=e||{}).publishedGame,game_system:e.gameSystem,published_module:e.publishedModule,status:e.status,game_type:e.gameType,game_mode:e.gameMode,limit:e.limit,offset:e.offset},i=Ie;return this.apiClient.callApi("/games/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}gamesMyApplicationsDelete(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesMyApplicationsDelete");let r={slug:e};return this.apiClient.callApi("/games/my-applications/{slug}/","DELETE",r,{},{},{},null,["basic"],[],[],null,null,t)}gamesMyApplicationsList(e,t){let r={status:(e=e||{}).status,limit:e.limit,offset:e.offset},i=Ne;return this.apiClient.callApi("/games/my-applications/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}gamesMyApplicationsPartialUpdate(e,t,r){let i=t;if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesMyApplicationsPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'data' when calling gamesMyApplicationsPartialUpdate");let o={slug:e},n=S;return this.apiClient.callApi("/games/my-applications/{slug}/","PATCH",o,{},{},{},i,["basic"],["application/json"],["application/json"],n,null,r)}gamesMyApplicationsRead(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesMyApplicationsRead");let r={slug:e},i=S;return this.apiClient.callApi("/games/my-applications/{slug}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}gamesMyApplicationsUpdate(e,t,r){let i=t;if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesMyApplicationsUpdate");if(null==t)throw new Error("Missing the required parameter 'data' when calling gamesMyApplicationsUpdate");let o={slug:e},n=S;return this.apiClient.callApi("/games/my-applications/{slug}/","PUT",o,{},{},{},i,["basic"],["application/json"],["application/json"],n,null,r)}gamesMyCharactersDeactivate(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesMyCharactersDeactivate");let r={slug:e};return this.apiClient.callApi("/games/my-characters/{slug}/deactivate/","POST",r,{},{},{},null,["basic"],[],[],null,null,t)}gamesMyCharactersDelete(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesMyCharactersDelete");let r={slug:e};return this.apiClient.callApi("/games/my-characters/{slug}/","DELETE",r,{},{},{},null,["basic"],[],[],null,null,t)}gamesMyCharactersList(e,t){let r={status:(e=e||{}).status,limit:e.limit,offset:e.offset},i=He;return this.apiClient.callApi("/games/my-characters/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}gamesMyCharactersPartialUpdate(e,t,r,i){r=r||{};if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesMyCharactersPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'name' when calling gamesMyCharactersPartialUpdate");let o={slug:e},n={name:t,description:r.description,sheet:r.sheet},a=d;return this.apiClient.callApi("/games/my-characters/{slug}/","PATCH",o,{},{},n,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],a,null,i)}gamesMyCharactersReactivate(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesMyCharactersReactivate");let r={slug:e};return this.apiClient.callApi("/games/my-characters/{slug}/reactivate/","POST",r,{},{},{},null,["basic"],[],[],null,null,t)}gamesMyCharactersRead(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesMyCharactersRead");let r={slug:e},i=d;return this.apiClient.callApi("/games/my-characters/{slug}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}gamesMyCharactersUpdate(e,t,r,i){r=r||{};if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesMyCharactersUpdate");if(null==t)throw new Error("Missing the required parameter 'name' when calling gamesMyCharactersUpdate");let o={slug:e},n={name:t,description:r.description,sheet:r.sheet},a=d;return this.apiClient.callApi("/games/my-characters/{slug}/","PUT",o,{},{},n,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],a,null,i)}gamesPartialUpdate(e,t,r,i,o){i=i||{};if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'title' when calling gamesPartialUpdate");if(null==r)throw new Error("Missing the required parameter 'gameDescription' when calling gamesPartialUpdate");let n={slug:e},a={title:t,featured_image:i.featuredImage,featured_image_description:i.featuredImageDescription,featured_image_cw:i.featuredImageCw,game_description:r,game_type:i.gameType,status:i.status,game_mode:i.gameMode,privacy_level:i.privacyLevel,adult_themes:i.adultThemes,content_warning:i.contentWarning,published_game:i.publishedGame,game_system:i.gameSystem,published_module:i.publishedModule,start_time:i.startTime,session_length:i.sessionLength,end_date:i.endDate,communities:this.apiClient.buildCollectionParam(i.communities,"csv"),min_players:i.minPlayers,max_players:i.maxPlayers},s=A;return this.apiClient.callApi("/games/{slug}/","PATCH",n,{},{},a,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],s,null,o)}gamesPlayersKick(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesPlayersKick");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesPlayersKick");let i={slug:e,parent_lookup_game__slug:t};return this.apiClient.callApi("/games/{parent_lookup_game__slug}/players/{slug}/kick/","POST",i,{},{},{},null,["basic"],[],[],null,null,r)}gamesPlayersList(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesPlayersList");let i={parent_lookup_game__slug:e},o={limit:t.limit,offset:t.offset},n=ie;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/players/","GET",i,o,{},{},null,["basic"],[],["application/json"],n,null,r)}gamesPlayersRead(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesPlayersRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesPlayersRead");let i={slug:e,parent_lookup_game__slug:t},o=m;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/players/{slug}/","GET",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesRead(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesRead");let r={slug:e},i=A;return this.apiClient.callApi("/games/{slug}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}gamesSessionsAddlog(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsAddlog");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsAddlog");if(null==r)throw new Error("Missing the required parameter 'data' when calling gamesSessionsAddlog");let a={slug:e,parent_lookup_game__slug:t},s=n;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/{slug}/addlog/","POST",a,{},{},{},o,["basic"],["application/json"],["application/json"],s,null,i)}gamesSessionsCancel(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsCancel");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsCancel");let i={slug:e,parent_lookup_game__slug:t},o=D;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/{slug}/cancel/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesSessionsComplete(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsComplete");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsComplete");let i={slug:e,parent_lookup_game__slug:t},o=D;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/{slug}/complete/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesSessionsDelete(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsDelete");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsDelete");if(null==r)throw new Error("Missing the required parameter 'data' when calling gamesSessionsDelete");let n={slug:e,parent_lookup_game__slug:t};return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/{slug}/","DELETE",n,{},{},{},o,["basic"],["application/json"],[],null,null,i)}gamesSessionsList(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsList");let i={parent_lookup_game__slug:e},o={limit:t.limit,offset:t.offset},n=ne;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/","GET",i,o,{},{},null,["basic"],[],["application/json"],n,null,r)}gamesSessionsLogDelete(e,t,r,i){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsLogDelete");if(null==t)throw new Error("Missing the required parameter 'parentLookupSessionGameSlug' when calling gamesSessionsLogDelete");if(null==r)throw new Error("Missing the required parameter 'parentLookupSessionSlug' when calling gamesSessionsLogDelete");let o={slug:e,parent_lookup_session__game__slug:t,parent_lookup_session__slug:r};return this.apiClient.callApi("/games/{parent_lookup_session__game__slug}/sessions/{parent_lookup_session__slug}/log/{slug}/","DELETE",o,{},{},{},null,["basic"],[],[],null,null,i)}gamesSessionsLogPartialUpdate(e,t,r,i,o){let a=i;if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsLogPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupSessionGameSlug' when calling gamesSessionsLogPartialUpdate");if(null==r)throw new Error("Missing the required parameter 'parentLookupSessionSlug' when calling gamesSessionsLogPartialUpdate");if(null==i)throw new Error("Missing the required parameter 'data' when calling gamesSessionsLogPartialUpdate");let s={slug:e,parent_lookup_session__game__slug:t,parent_lookup_session__slug:r},l=n;return this.apiClient.callApi("/games/{parent_lookup_session__game__slug}/sessions/{parent_lookup_session__slug}/log/{slug}/","PATCH",s,{},{},{},a,["basic"],["application/json"],["application/json"],l,null,o)}gamesSessionsLogRead(e,t,r,i){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsLogRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupSessionGameSlug' when calling gamesSessionsLogRead");if(null==r)throw new Error("Missing the required parameter 'parentLookupSessionSlug' when calling gamesSessionsLogRead");let o={slug:e,parent_lookup_session__game__slug:t,parent_lookup_session__slug:r},a=n;return this.apiClient.callApi("/games/{parent_lookup_session__game__slug}/sessions/{parent_lookup_session__slug}/log/{slug}/","GET",o,{},{},{},null,["basic"],[],["application/json"],a,null,i)}gamesSessionsLogUpdate(e,t,r,i,o){let a=i;if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsLogUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupSessionGameSlug' when calling gamesSessionsLogUpdate");if(null==r)throw new Error("Missing the required parameter 'parentLookupSessionSlug' when calling gamesSessionsLogUpdate");if(null==i)throw new Error("Missing the required parameter 'data' when calling gamesSessionsLogUpdate");let s={slug:e,parent_lookup_session__game__slug:t,parent_lookup_session__slug:r},l=n;return this.apiClient.callApi("/games/{parent_lookup_session__game__slug}/sessions/{parent_lookup_session__slug}/log/{slug}/","PUT",s,{},{},{},a,["basic"],["application/json"],["application/json"],l,null,o)}gamesSessionsPartialUpdate(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsPartialUpdate");if(null==r)throw new Error("Missing the required parameter 'data' when calling gamesSessionsPartialUpdate");let n={slug:e,parent_lookup_game__slug:t},a=D;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/{slug}/","PATCH",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}gamesSessionsRead(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsRead");let i={slug:e,parent_lookup_game__slug:t},o=D;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/{slug}/","GET",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesSessionsReschedule(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsReschedule");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsReschedule");if(null==r)throw new Error("Missing the required parameter 'data' when calling gamesSessionsReschedule");let n={slug:e,parent_lookup_game__slug:t},a=D;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/{slug}/reschedule/","POST",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}gamesSessionsUncancel(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsUncancel");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsUncancel");let i={slug:e,parent_lookup_game__slug:t},o=D;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/{slug}/uncancel/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesSessionsUncomplete(e,t,r){if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsUncomplete");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsUncomplete");let i={slug:e,parent_lookup_game__slug:t},o=D;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/{slug}/uncomplete/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}gamesSessionsUpdate(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesSessionsUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupGameSlug' when calling gamesSessionsUpdate");if(null==r)throw new Error("Missing the required parameter 'data' when calling gamesSessionsUpdate");let n={slug:e,parent_lookup_game__slug:t},a=D;return this.apiClient.callApi("/games/{parent_lookup_game__slug}/sessions/{slug}/","PUT",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}gamesUpdate(e,t,r,i,o){i=i||{};if(null==e)throw new Error("Missing the required parameter 'slug' when calling gamesUpdate");if(null==t)throw new Error("Missing the required parameter 'title' when calling gamesUpdate");if(null==r)throw new Error("Missing the required parameter 'gameDescription' when calling gamesUpdate");let n={slug:e},a={title:t,featured_image:i.featuredImage,featured_image_description:i.featuredImageDescription,featured_image_cw:i.featuredImageCw,game_description:r,game_type:i.gameType,status:i.status,game_mode:i.gameMode,privacy_level:i.privacyLevel,adult_themes:i.adultThemes,content_warning:i.contentWarning,published_game:i.publishedGame,game_system:i.gameSystem,published_module:i.publishedModule,start_time:i.startTime,session_length:i.sessionLength,end_date:i.endDate,communities:this.apiClient.buildCollectionParam(i.communities,"csv"),min_players:i.minPlayers,max_players:i.maxPlayers},s=A;return this.apiClient.callApi("/games/{slug}/","PUT",n,{},{},a,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],s,null,o)}}class rt{constructor(e){this.apiClient=e||i.a.instance}communitiesApply(e,t,r){let i=t;if(null==e)throw new Error("Missing the required parameter 'slug' when calling communitiesApply");if(null==t)throw new Error("Missing the required parameter 'data' when calling communitiesApply");let o={slug:e},n=_;return this.apiClient.callApi("/social/communities/{slug}/apply/","POST",o,{},{},{},i,["basic"],["application/json"],["application/json"],n,null,r)}communitiesCreate(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'name' when calling communitiesCreate");let i={name:e,description:t.description,community_logo:t.communityLogo,community_logo_description:t.communityLogoDescription,community_logo_cw:t.communityLogoCw,url:t.url},o=I;return this.apiClient.callApi("/social/communities/","POST",{},{},{},i,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],o,null,r)}socialApplicationsDelete(e,t){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialApplicationsDelete");let r={id:e};return this.apiClient.callApi("/social/applications/{id}/","DELETE",r,{},{},{},null,["basic"],[],[],null,null,t)}socialApplicationsList(e,t){let r={community:(e=e||{}).community,status:e.status,limit:e.limit,offset:e.offset},i=se;return this.apiClient.callApi("/social/applications/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}socialApplicationsRead(e,t){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialApplicationsRead");let r={id:e},i=_;return this.apiClient.callApi("/social/applications/{id}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialBlocksDelete(e,t){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialBlocksDelete");let r={id:e};return this.apiClient.callApi("/social/blocks/{id}/","DELETE",r,{},{},{},null,["basic"],[],[],null,null,t)}socialBlocksList(e,t){let r={limit:(e=e||{}).limit,offset:e.offset},i=pe;return this.apiClient.callApi("/social/blocks/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}socialBlocksRead(e,t){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialBlocksRead");let r={id:e},i=c;return this.apiClient.callApi("/social/blocks/{id}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialCommunitiesApplicationsApprove(e,t,r){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesApplicationsApprove");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesApplicationsApprove");let i={id:e,parent_lookup_community:t},o=T;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/applications/{id}/approve/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}socialCommunitiesApplicationsList(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesApplicationsList");let i={parent_lookup_community:e},o={community:t.community,limit:t.limit,offset:t.offset},n=se;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/applications/","GET",i,o,{},{},null,["basic"],[],["application/json"],n,null,r)}socialCommunitiesApplicationsRead(e,t,r){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesApplicationsRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesApplicationsRead");let i={id:e,parent_lookup_community:t},o=_;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/applications/{id}/","GET",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}socialCommunitiesApplicationsReject(e,t,r){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesApplicationsReject");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesApplicationsReject");let i={id:e,parent_lookup_community:t},o=_;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/applications/{id}/reject/","POST",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}socialCommunitiesBansDelete(e,t,r){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesBansDelete");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesBansDelete");let i={id:e,parent_lookup_community:t};return this.apiClient.callApi("/social/communities/{parent_lookup_community}/bans/{id}/","DELETE",i,{},{},{},null,["basic"],[],[],null,null,r)}socialCommunitiesBansList(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesBansList");let i={parent_lookup_community:e},o={limit:t.limit,offset:t.offset},n=me;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/bans/","GET",i,o,{},{},null,["basic"],[],["application/json"],n,null,r)}socialCommunitiesBansRead(e,t,r){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesBansRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesBansRead");let i={id:e,parent_lookup_community:t},o=p;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/bans/{id}/","GET",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}socialCommunitiesDelete(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling socialCommunitiesDelete");let r={slug:e};return this.apiClient.callApi("/social/communities/{slug}/","DELETE",r,{},{},{},null,["basic"],[],[],null,null,t)}socialCommunitiesJoin(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling socialCommunitiesJoin");let r={slug:e},i=T;return this.apiClient.callApi("/social/communities/{slug}/join/","POST",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialCommunitiesKicksDelete(e,t,r){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesKicksDelete");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesKicksDelete");let i={id:e,parent_lookup_community:t};return this.apiClient.callApi("/social/communities/{parent_lookup_community}/kicks/{id}/","DELETE",i,{},{},{},null,["basic"],[],[],null,null,r)}socialCommunitiesKicksList(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesKicksList");let i={parent_lookup_community:e},o={limit:t.limit,offset:t.offset},n=_e;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/kicks/","GET",i,o,{},{},null,["basic"],[],["application/json"],n,null,r)}socialCommunitiesKicksPartialUpdate(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesKicksPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesKicksPartialUpdate");if(null==r)throw new Error("Missing the required parameter 'data' when calling socialCommunitiesKicksPartialUpdate");let n={id:e,parent_lookup_community:t},a=de;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/kicks/{id}/","PATCH",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}socialCommunitiesKicksRead(e,t,r){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesKicksRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesKicksRead");let i={id:e,parent_lookup_community:t},o=de;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/kicks/{id}/","GET",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}socialCommunitiesKicksUpdate(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesKicksUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesKicksUpdate");if(null==r)throw new Error("Missing the required parameter 'data' when calling socialCommunitiesKicksUpdate");let n={id:e,parent_lookup_community:t},a=de;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/kicks/{id}/","PUT",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}socialCommunitiesLeave(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling socialCommunitiesLeave");let r={slug:e};return this.apiClient.callApi("/social/communities/{slug}/leave/","POST",r,{},{},{},null,["basic"],[],[],null,null,t)}socialCommunitiesList(e,t){let r={limit:(e=e||{}).limit,offset:e.offset},i=ce;return this.apiClient.callApi("/social/communities/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}socialCommunitiesMembersBan(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesMembersBan");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesMembersBan");if(null==r)throw new Error("Missing the required parameter 'data' when calling socialCommunitiesMembersBan");let n={id:e,parent_lookup_community:t},a=p;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/members/{id}/ban/","POST",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}socialCommunitiesMembersKick(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesMembersKick");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesMembersKick");if(null==r)throw new Error("Missing the required parameter 'data' when calling socialCommunitiesMembersKick");let n={id:e,parent_lookup_community:t},a=de;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/members/{id}/kick/","POST",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}socialCommunitiesMembersList(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesMembersList");let i={parent_lookup_community:e},o={limit:t.limit,offset:t.offset},n=we;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/members/","GET",i,o,{},{},null,["basic"],[],["application/json"],n,null,r)}socialCommunitiesMembersPartialUpdate(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesMembersPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesMembersPartialUpdate");if(null==r)throw new Error("Missing the required parameter 'data' when calling socialCommunitiesMembersPartialUpdate");let n={id:e,parent_lookup_community:t},a=T;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/members/{id}/","PATCH",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}socialCommunitiesMembersRead(e,t,r){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesMembersRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesMembersRead");let i={id:e,parent_lookup_community:t},o=T;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/members/{id}/","GET",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}socialCommunitiesMembersUpdate(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'id' when calling socialCommunitiesMembersUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupCommunity' when calling socialCommunitiesMembersUpdate");if(null==r)throw new Error("Missing the required parameter 'data' when calling socialCommunitiesMembersUpdate");let n={id:e,parent_lookup_community:t},a=T;return this.apiClient.callApi("/social/communities/{parent_lookup_community}/members/{id}/","PUT",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}socialCommunitiesPartialUpdate(e,t,r,i){r=r||{};if(null==e)throw new Error("Missing the required parameter 'slug' when calling socialCommunitiesPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'name' when calling socialCommunitiesPartialUpdate");let o={slug:e},n={name:t,description:r.description,community_logo:r.communityLogo,community_logo_description:r.communityLogoDescription,community_logo_cw:r.communityLogoCw,url:r.url},a=I;return this.apiClient.callApi("/social/communities/{slug}/","PATCH",o,{},{},n,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],a,null,i)}socialCommunitiesRead(e,t){if(null==e)throw new Error("Missing the required parameter 'slug' when calling socialCommunitiesRead");let r={slug:e},i=I;return this.apiClient.callApi("/social/communities/{slug}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialCommunitiesTransfer(e,t,r){let i=t;if(null==e)throw new Error("Missing the required parameter 'slug' when calling socialCommunitiesTransfer");if(null==t)throw new Error("Missing the required parameter 'data' when calling socialCommunitiesTransfer");let o={slug:e},n=I;return this.apiClient.callApi("/social/communities/{slug}/transfer/","POST",o,{},{},{},i,["basic"],["application/json"],["application/json"],n,null,r)}socialCommunitiesUpdate(e,t,r,i){r=r||{};if(null==e)throw new Error("Missing the required parameter 'slug' when calling socialCommunitiesUpdate");if(null==t)throw new Error("Missing the required parameter 'name' when calling socialCommunitiesUpdate");let o={slug:e},n={name:t,description:r.description,community_logo:r.communityLogo,community_logo_description:r.communityLogoDescription,community_logo_cw:r.communityLogoCw,url:r.url},a=I;return this.apiClient.callApi("/social/communities/{slug}/","PUT",o,{},{},n,null,["basic"],["application/x-www-form-urlencoded","multipart/form-data"],["application/json"],a,null,i)}socialFriendrequestsReceivedAccept(e,t,r){let i=t;if(null==e)throw new Error("Missing the required parameter 'id' when calling socialFriendrequestsReceivedAccept");if(null==t)throw new Error("Missing the required parameter 'data' when calling socialFriendrequestsReceivedAccept");let o={id:e};return this.apiClient.callApi("/social/friendrequests/received/{id}/accept/","POST",o,{},{},{},i,["basic"],["application/json"],[],null,null,r)}socialFriendrequestsReceivedIgnore(e,t){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialFriendrequestsReceivedIgnore");let r={id:e};return this.apiClient.callApi("/social/friendrequests/received/{id}/ignore/","POST",r,{},{},{},null,["basic"],[],[],null,null,t)}socialFriendrequestsReceivedList(e,t){let r={limit:(e=e||{}).limit,offset:e.offset},i=Te;return this.apiClient.callApi("/social/friendrequests/received/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}socialFriendrequestsReceivedRead(e,t){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialFriendrequestsReceivedRead");let r={id:e},i=P;return this.apiClient.callApi("/social/friendrequests/received/{id}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialFriendrequestsSentDelete(e,t){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialFriendrequestsSentDelete");let r={id:e};return this.apiClient.callApi("/social/friendrequests/sent/{id}/","DELETE",r,{},{},{},null,["basic"],[],[],null,null,t)}socialFriendrequestsSentList(e,t){let r={limit:(e=e||{}).limit,offset:e.offset},i=Te;return this.apiClient.callApi("/social/friendrequests/sent/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}socialFriendrequestsSentRead(e,t){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialFriendrequestsSentRead");let r={id:e},i=P;return this.apiClient.callApi("/social/friendrequests/sent/{id}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialMutesDelete(e,t){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialMutesDelete");let r={id:e};return this.apiClient.callApi("/social/mutes/{id}/","DELETE",r,{},{},{},null,["basic"],[],[],null,null,t)}socialMutesList(e,t){let r={limit:(e=e||{}).limit,offset:e.offset},i=Se;return this.apiClient.callApi("/social/mutes/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}socialMutesRead(e,t){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialMutesRead");let r={id:e},i=Pe;return this.apiClient.callApi("/social/mutes/{id}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialProfilesBlock(e,t){if(null==e)throw new Error("Missing the required parameter 'username' when calling socialProfilesBlock");let r={username:e},i=c;return this.apiClient.callApi("/social/profiles/{username}/block/","POST",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialProfilesFriend(e,t){if(null==e)throw new Error("Missing the required parameter 'username' when calling socialProfilesFriend");let r={username:e},i=P;return this.apiClient.callApi("/social/profiles/{username}/friend/","POST",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialProfilesList(e,t){let r={player_status:(e=e||{}).playerStatus,will_gm:e.willGm,one_shots:e.oneShots,adventures:e.adventures,campaigns:e.campaigns,online_games:e.onlineGames,local_games:e.localGames,adult_themes:e.adultThemes,limit:e.limit,offset:e.offset},i=Ae;return this.apiClient.callApi("/social/profiles/","GET",{},r,{},{},null,["basic"],[],["application/json"],i,null,t)}socialProfilesMute(e,t){if(null==e)throw new Error("Missing the required parameter 'username' when calling socialProfilesMute");let r={username:e},i=Pe;return this.apiClient.callApi("/social/profiles/{username}/mute/","POST",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialProfilesNotesCreate(e,t,r){let i=t;if(null==e)throw new Error("Missing the required parameter 'parentLookupGamer' when calling socialProfilesNotesCreate");if(null==t)throw new Error("Missing the required parameter 'data' when calling socialProfilesNotesCreate");let o={parent_lookup_gamer:e},n=N;return this.apiClient.callApi("/social/profiles/{parent_lookup_gamer}/notes/","POST",o,{},{},{},i,["basic"],["application/json"],["application/json"],n,null,r)}socialProfilesNotesDelete(e,t,r){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialProfilesNotesDelete");if(null==t)throw new Error("Missing the required parameter 'parentLookupGamer' when calling socialProfilesNotesDelete");let i={id:e,parent_lookup_gamer:t};return this.apiClient.callApi("/social/profiles/{parent_lookup_gamer}/notes/{id}/","DELETE",i,{},{},{},null,["basic"],[],[],null,null,r)}socialProfilesNotesList(e,t,r){t=t||{};if(null==e)throw new Error("Missing the required parameter 'parentLookupGamer' when calling socialProfilesNotesList");let i={parent_lookup_gamer:e},o={limit:t.limit,offset:t.offset},n=qe;return this.apiClient.callApi("/social/profiles/{parent_lookup_gamer}/notes/","GET",i,o,{},{},null,["basic"],[],["application/json"],n,null,r)}socialProfilesNotesPartialUpdate(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'id' when calling socialProfilesNotesPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupGamer' when calling socialProfilesNotesPartialUpdate");if(null==r)throw new Error("Missing the required parameter 'data' when calling socialProfilesNotesPartialUpdate");let n={id:e,parent_lookup_gamer:t},a=N;return this.apiClient.callApi("/social/profiles/{parent_lookup_gamer}/notes/{id}/","PATCH",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}socialProfilesNotesRead(e,t,r){if(null==e)throw new Error("Missing the required parameter 'id' when calling socialProfilesNotesRead");if(null==t)throw new Error("Missing the required parameter 'parentLookupGamer' when calling socialProfilesNotesRead");let i={id:e,parent_lookup_gamer:t},o=N;return this.apiClient.callApi("/social/profiles/{parent_lookup_gamer}/notes/{id}/","GET",i,{},{},{},null,["basic"],[],["application/json"],o,null,r)}socialProfilesNotesUpdate(e,t,r,i){let o=r;if(null==e)throw new Error("Missing the required parameter 'id' when calling socialProfilesNotesUpdate");if(null==t)throw new Error("Missing the required parameter 'parentLookupGamer' when calling socialProfilesNotesUpdate");if(null==r)throw new Error("Missing the required parameter 'data' when calling socialProfilesNotesUpdate");let n={id:e,parent_lookup_gamer:t},a=N;return this.apiClient.callApi("/social/profiles/{parent_lookup_gamer}/notes/{id}/","PUT",n,{},{},{},o,["basic"],["application/json"],["application/json"],a,null,i)}socialProfilesPartialUpdate(e,t,r){let i=t;if(null==e)throw new Error("Missing the required parameter 'username' when calling socialProfilesPartialUpdate");if(null==t)throw new Error("Missing the required parameter 'data' when calling socialProfilesPartialUpdate");let o={username:e},n=H;return this.apiClient.callApi("/social/profiles/{username}/","PATCH",o,{},{},{},i,["basic"],["application/json"],["application/json"],n,null,r)}socialProfilesRead(e,t){if(null==e)throw new Error("Missing the required parameter 'username' when calling socialProfilesRead");let r={username:e},i=H;return this.apiClient.callApi("/social/profiles/{username}/","GET",r,{},{},{},null,["basic"],[],["application/json"],i,null,t)}socialProfilesUnfriend(e,t){if(null==e)throw new Error("Missing the required parameter 'username' when calling socialProfilesUnfriend");let r={username:e};return this.apiClient.callApi("/social/profiles/{username}/unfriend/","POST",r,{},{},{},null,["basic"],[],[],null,null,t)}socialProfilesUpdate(e,t,r){let i=t;if(null==e)throw new Error("Missing the required parameter 'username' when calling socialProfilesUpdate");if(null==t)throw new Error("Missing the required parameter 'data' when calling socialProfilesUpdate");let o={username:e},n=H;return this.apiClient.callApi("/social/profiles/{username}/","PUT",o,{},{},{},i,["basic"],["application/json"],["application/json"],n,null,r)}}r.d(t,"ApiClient",(function(){return i.a})),r.d(t,"AdventureLog",(function(){return n})),r.d(t,"BanSubmission",(function(){return s})),r.d(t,"BannedUser",(function(){return p})),r.d(t,"BlockedUser",(function(){return c})),r.d(t,"Character",(function(){return d})),r.d(t,"CommunityApplication",(function(){return _})),r.d(t,"CommunityMembership",(function(){return T})),r.d(t,"FriendRequest",(function(){return P})),r.d(t,"GameApplication",(function(){return S})),r.d(t,"GameApplicationGM",(function(){return C})),r.d(t,"GameData",(function(){return A})),r.d(t,"GameDataList",(function(){return q})),r.d(t,"GameEdition",(function(){return R})),r.d(t,"GameSession",(function(){return L})),r.d(t,"GameSessionGM",(function(){return D})),r.d(t,"GameSystem",(function(){return G})),r.d(t,"GamerCommunity",(function(){return I})),r.d(t,"GamerNote",(function(){return N})),r.d(t,"GamerProfile",(function(){return H})),r.d(t,"GamerProfileList",(function(){return w})),r.d(t,"GamerPublisher",(function(){return X})),r.d(t,"InlineResponse200",(function(){return W})),r.d(t,"InlineResponse2001",(function(){return te})),r.d(t,"InlineResponse20010",(function(){return ie})),r.d(t,"InlineResponse20011",(function(){return ne})),r.d(t,"InlineResponse20012",(function(){return se})),r.d(t,"InlineResponse20013",(function(){return pe})),r.d(t,"InlineResponse20014",(function(){return ce})),r.d(t,"InlineResponse20015",(function(){return me})),r.d(t,"InlineResponse20016",(function(){return _e})),r.d(t,"InlineResponse20017",(function(){return we})),r.d(t,"InlineResponse20018",(function(){return Te})),r.d(t,"InlineResponse20019",(function(){return Se})),r.d(t,"InlineResponse2002",(function(){return Ce})),r.d(t,"InlineResponse20020",(function(){return Ae})),r.d(t,"InlineResponse20021",(function(){return qe})),r.d(t,"InlineResponse2003",(function(){return Le})),r.d(t,"InlineResponse2004",(function(){return De})),r.d(t,"InlineResponse2005",(function(){return Ge})),r.d(t,"InlineResponse2006",(function(){return Ie})),r.d(t,"InlineResponse2007",(function(){return Ne})),r.d(t,"InlineResponse2008",(function(){return He})),r.d(t,"InlineResponse2009",(function(){return Xe})),r.d(t,"KickSubmission",(function(){return Je})),r.d(t,"KickedUser",(function(){return de})),r.d(t,"Muteduser",(function(){return Pe})),r.d(t,"Player",(function(){return m})),r.d(t,"PublishedGamer",(function(){return J})),r.d(t,"PublishedModule",(function(){return Re})),r.d(t,"Schedule",(function(){return We})),r.d(t,"Sourcebook",(function(){return Z})),r.d(t,"User",(function(){return Ze})),r.d(t,"CatalogApi",(function(){return et})),r.d(t,"GamesApi",(function(){return tt})),r.d(t,"SocialApi",(function(){return rt}))}]);