text: !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).tba=e()}}(function(){return function e(t,i,n){function r(a,s){if(!i[a]){if(!t[a]){var p="function"==typeof require&&require;if(!s&&p)return p(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=i[a]={exports:{}};t[a][0].call(l.exports,function(e){var i=t[a][1][e];return r(i||e)},l,l.exports,e,t,i,n)}return i[a].exports}for(var o="function"==typeof require&&require,a=0;a<n.length;a++)r(n[a]);return r}({1:[function(e,t,i){function n(e){if(e)return r(e)}function r(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}void 0!==t&&(t.exports=n),n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function i(){this.off(e,i),t.apply(this,arguments)}return i.fn=t,this.on(e,i),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i=this._callbacks["$"+e];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var n,r=0;r<i.length;r++)if((n=i[r])===t||n.fn===t){i.splice(r,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),i=this._callbacks["$"+e];if(i)for(var n=0,r=(i=i.slice(0)).length;n<r;++n)i[n].apply(this,t);return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],2:[function(e,t,i){function n(){}function r(e){if(!v(e))return e;var t=[];for(var i in e)o(t,i,e[i]);return t.join("&")}function o(e,t,i){if(null!=i)if(Array.isArray(i))i.forEach(function(i){o(e,t,i)});else if(v(i))for(var n in i)o(e,t+"["+n+"]",i[n]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(i));else null===i&&e.push(encodeURIComponent(t))}function a(e){for(var t,i,n={},r=e.split("&"),o=0,a=r.length;o<a;++o)-1==(i=(t=r[o]).indexOf("="))?n[decodeURIComponent(t)]="":n[decodeURIComponent(t.slice(0,i))]=decodeURIComponent(t.slice(i+1));return n}function s(e){var t,i,n,r,o=e.split(/\r?\n/),a={};o.pop();for(var s=0,p=o.length;s<p;++s)t=(i=o[s]).indexOf(":"),n=i.slice(0,t).toLowerCase(),r=T(i.slice(t+1)),a[n]=r;return a}function p(e){return/[\/+]json\b/.test(e)}function c(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=s(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 l(e,t){var i=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new c(i)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,i.xhr?(e.rawResponse=void 0===i.xhr.responseType?i.xhr.responseText:i.xhr.response,e.status=i.xhr.status?i.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),i.callback(e)}i.emit("response",t);var n;try{i._isResponseOK(t)||((n=new Error(t.statusText||"Unsuccessful HTTP response")).original=e,n.response=t,n.status=t.status)}catch(e){n=e}n?i.callback(n,t):i.callback(null,t)})}function u(e,t,i){var n=_("DELETE",e);return"function"==typeof t&&(i=t,t=null),t&&n.send(t),i&&n.end(i),n}var y;"undefined"!=typeof window?y=window:"undefined"!=typeof self?y=self:(console.warn("Using browser-only version of superagent in non-browser environment"),y=this);var h=e("component-emitter"),d=e("./request-base"),v=e("./is-object"),f=e("./is-function"),m=e("./response-base"),g=e("./should-retry"),_=i=t.exports=function(e,t){return"function"==typeof t?new i.Request("GET",e).end(t):1==arguments.length?new i.Request("GET",e):new i.Request(e,t)};i.Request=l,_.getXHR=function(){if(!(!y.XMLHttpRequest||y.location&&"file:"==y.location.protocol&&y.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 verison of superagent could not find XHR")};var T="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};_.serializeObject=r,_.parseString=a,_.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},_.serialize={"application/x-www-form-urlencoded":r,"application/json":JSON.stringify},_.parse={"application/x-www-form-urlencoded":a,"application/json":JSON.parse},m(c.prototype),c.prototype._parseBody=function(e){var t=_.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&p(this.type)&&(t=_.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},c.prototype.toError=function(){var e=this.req,t=e.method,i=e.url,n="cannot "+t+" "+i+" ("+this.status+")",r=new Error(n);return r.status=this.status,r.method=t,r.url=i,r},_.Response=c,h(l.prototype),d(l.prototype),l.prototype.type=function(e){return this.set("Content-Type",_.types[e]||e),this},l.prototype.accept=function(e){return this.set("Accept",_.types[e]||e),this},l.prototype.auth=function(e,t,i){switch("object"==typeof t&&null!==t&&(i=t),i||(i={type:"function"==typeof btoa?"basic":"auto"}),i.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},l.prototype.query=function(e){return"string"!=typeof e&&(e=r(e)),e&&this._query.push(e),this},l.prototype.attach=function(e,t,i){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,i||t.name)}return this},l.prototype._getFormData=function(){return this._formData||(this._formData=new y.FormData),this._formData},l.prototype.callback=function(e,t){if(this._maxRetries&&this._retries++<this._maxRetries&&g(e,t))return this._retry();var i=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),i(e,t)},l.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)},l.prototype.buffer=l.prototype.ca=l.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},l.prototype.pipe=l.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},l.prototype._appendQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._sort){var t=this.url.indexOf("?");if(t>=0){var i=this.url.substring(t+1).split("&");f(this._sort)?i.sort(this._sort):i.sort(),this.url=this.url.substring(0,t)+"?"+i.join("&")}}},l.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},l.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||n,this._appendQueryString(),this._end()},l.prototype._end=function(){var e=this,t=this.xhr=_.getXHR(),i=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var i=t.readyState;if(i>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==i){var n;try{n=t.status}catch(e){n=0}if(!n){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var n=function(t,i){i.total>0&&(i.percent=i.loaded/i.total*100),i.direction=t,e.emit("progress",i)};if(this.hasListeners("progress"))try{t.onprogress=n.bind(null,"download"),t.upload&&(t.upload.onprogress=n.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 i&&!this._isHost(i)){var r=this._header["content-type"],o=this._serializer||_.serialize[r?r.split(";")[0]:""];!o&&p(r)&&(o=_.serialize["application/json"]),o&&(i=o(i))}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!==i?i:null),this},_.get=function(e,t,i){var n=_("GET",e);return"function"==typeof t&&(i=t,t=null),t&&n.query(t),i&&n.end(i),n},_.head=function(e,t,i){var n=_("HEAD",e);return"function"==typeof t&&(i=t,t=null),t&&n.send(t),i&&n.end(i),n},_.options=function(e,t,i){var n=_("OPTIONS",e);return"function"==typeof t&&(i=t,t=null),t&&n.send(t),i&&n.end(i),n},_.del=u,_.delete=u,_.patch=function(e,t,i){var n=_("PATCH",e);return"function"==typeof t&&(i=t,t=null),t&&n.send(t),i&&n.end(i),n},_.post=function(e,t,i){var n=_("POST",e);return"function"==typeof t&&(i=t,t=null),t&&n.send(t),i&&n.end(i),n},_.put=function(e,t,i){var n=_("PUT",e);return"function"==typeof t&&(i=t,t=null),t&&n.send(t),i&&n.end(i),n}},{"./is-function":3,"./is-object":4,"./request-base":5,"./response-base":6,"./should-retry":7,"component-emitter":1}],3:[function(e,t,i){var n=e("./is-object");t.exports=function(e){return"[object Function]"===(n(e)?Object.prototype.toString.call(e):"")}},{"./is-object":4}],4:[function(e,t,i){t.exports=function(e){return null!==e&&"object"==typeof e}},{}],5:[function(e,t,i){function n(e){if(e)return r(e)}function r(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}var o=e("./is-object");t.exports=n,n.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},n.prototype.parse=function(e){return this._parser=e,this},n.prototype.responseType=function(e){return this._responseType=e,this},n.prototype.serialize=function(e){return this._serializer=e,this},n.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},n.prototype.retry=function(e){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this},n.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},n.prototype.then=function(e,t){if(!this._fullfilledPromise){var i=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){i.end(function(i,n){i?t(i):e(n)})})}return this._fullfilledPromise.then(e,t)},n.prototype.catch=function(e){return this.then(void 0,e)},n.prototype.use=function(e){return e(this),this},n.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},n.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},n.prototype.get=function(e){return this._header[e.toLowerCase()]},n.prototype.getHeader=n.prototype.get,n.prototype.set=function(e,t){if(o(e)){for(var i in e)this.set(i,e[i]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},n.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},n.prototype.field=function(e,t){if(null===e||void 0===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()"),o(e)){for(var i in e)this.field(i,e[i]);return this}if(Array.isArray(t)){for(var n in t)this.field(e,t[n]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},n.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)},n.prototype.withCredentials=function(e){return void 0==e&&(e=!0),this._withCredentials=e,this},n.prototype.redirects=function(e){return this._maxRedirects=e,this},n.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},n.prototype.send=function(e){var t=o(e),i=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&&o(this._data))for(var n in e)this._data[n]=e[n];else"string"==typeof e?(i||this.type("form"),i=this._header["content-type"],this._data="application/x-www-form-urlencoded"==i?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(i||this.type("json"),this)},n.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},n.prototype._timeoutError=function(e,t,i){if(!this._aborted){var n=new Error(e+t+"ms exceeded");n.timeout=t,n.code="ECONNABORTED",n.errno=i,this.timedout=!0,this.abort(),this.callback(n)}},n.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))}},{"./is-object":4}],6:[function(e,t,i){function n(e){if(e)return r(e)}function r(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}var o=e("./utils");t.exports=n,n.prototype.get=function(e){return this.header[e.toLowerCase()]},n.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=o.type(t);var i=o.params(t);for(var n in i)this[n]=i[n];this.links={};try{e.link&&(this.links=o.parseLinks(e.link))}catch(e){}},n.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}},{"./utils":8}],7:[function(e,t,i){var n=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];t.exports=function(e,t){return!!(e&&e.code&&~n.indexOf(e.code))||(!!(t&&t.status&&t.status>=500)||(!!(e&&"timeout"in e&&"ECONNABORTED"==e.code)||!!(e&&"crossDomain"in e)))}},{}],8:[function(e,t,i){i.type=function(e){return e.split(/ *; */).shift()},i.params=function(e){return e.split(/ *; */).reduce(function(e,t){var i=t.split(/ *= */),n=i.shift(),r=i.shift();return n&&r&&(e[n]=r),e},{})},i.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var i=t.split(/ *; */),n=i[0].slice(1,-1);return e[i[1].split(/ *= */)[1].slice(1,-1)]=n,e},{})},i.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}},{}],9:[function(e,t,i){(function(i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("superagent"),e("querystring")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.ApiClient=n(i.superagent,i.querystring))}(this,function(t,n){"use strict";var r=function(){this.basePath="https://www.thebluealliance.com/api/v3".replace(/\/+$/,""),this.authentications={apiKey:{type:"apiKey",in:"header",name:"X-TBA-Auth-Key"}},this.defaultHeaders={},this.timeout=6e4,this.cache=!0,this.enableCookies=!1,"undefined"==typeof window&&(this.agent=new t.agent)};return r.prototype.paramToString=function(e){return void 0==e||null==e?"":e instanceof Date?e.toJSON():e.toString()},r.prototype.buildUrl=function(e,t){e.match(/^\//)||(e="/"+e);var i=this.basePath+e,n=this;return i=i.replace(/\{([\w-]+)\}/g,function(e,i){var r;return r=t.hasOwnProperty(i)?n.paramToString(t[i]):e,encodeURIComponent(r)})},r.prototype.isJsonMime=function(e){return Boolean(null!=e&&e.match(/^application\/json(;.*)?$/i))},r.prototype.jsonPreferredMime=function(e){for(var t=0;t<e.length;t++)if(this.isJsonMime(e[t]))return e[t];return e[0]},r.prototype.isFileParam=function(t){if("function"==typeof e){var n;try{n=e("fs")}catch(e){}if(n&&n.ReadStream&&t instanceof n.ReadStream)return!0}return"function"==typeof i&&t instanceof i||("function"==typeof Blob&&t instanceof Blob||"function"==typeof File&&t instanceof File)},r.prototype.normalizeParams=function(e){var t={};for(var i in e)if(e.hasOwnProperty(i)&&void 0!=e[i]&&null!=e[i]){var n=e[i];this.isFileParam(n)||Array.isArray(n)?t[i]=n:t[i]=this.paramToString(n)}return t},r.CollectionFormatEnum={CSV:",",SSV:" ",TSV:"\t",PIPES:"|",MULTI:"multi"},r.prototype.buildCollectionParam=function(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)}},r.prototype.applyAuthToRequest=function(e,t){var i=this;t.forEach(function(t){var n=i.authentications[t];switch(n.type){case"basic":(n.username||n.password)&&e.auth(n.username||"",n.password||"");break;case"apiKey":if(n.apiKey){var r={};n.apiKeyPrefix?r[n.name]=n.apiKeyPrefix+" "+n.apiKey:r[n.name]=n.apiKey,"header"===n.in?e.set(r):e.query(r)}break;case"oauth2":n.accessToken&&e.set({Authorization:"Bearer "+n.accessToken});break;default:throw new Error("Unknown authentication type: "+n.type)}})},r.prototype.deserialize=function(e,t){if(null==e||null==t||204==e.status)return null;var i=e.body;return(null==i||"object"==typeof i&&void 0===i.length&&!Object.keys(i).length)&&(i=e.text),r.convertToType(i,t)},r.prototype.callApi=function(e,i,n,r,o,a,s,p,c,l,u,y){var h=this,d=this.buildUrl(e,n),v=t(i,d);this.applyAuthToRequest(v,p),"GET"===i.toUpperCase()&&!1===this.cache&&(r._=(new Date).getTime()),v.query(this.normalizeParams(r)),v.set(this.defaultHeaders).set(this.normalizeParams(o)),v.timeout(this.timeout);var f=this.jsonPreferredMime(l);return f&&v.accept(f),"Blob"===u?v.responseType("blob"):"String"===u&&v.responseType("string"),this.enableCookies&&("undefined"==typeof window?this.agent.attachCookies(v):v.withCredentials()),v.end(function(e,t){if(y){var i=null;if(!e)try{i=h.deserialize(t,u),h.enableCookies&&"undefined"==typeof window&&h.agent.saveCookies(t)}catch(t){e=t}y(e,i,t)}}),v},r.parseDate=function(e){return new Date(e.replace(/T/i," "))},r.convertToType=function(e,t){if(null===e||void 0===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 this.parseDate(String(e));case"Blob":return e;default:if(t===Object)return e;if("function"==typeof t)return t.constructFromObject(e);if(Array.isArray(t)){var i=t[0];return e.map(function(e){return r.convertToType(e,i)})}if("object"==typeof t){var n,o;for(var a in t)if(t.hasOwnProperty(a)){n=a,o=t[a];break}var s={};for(var a in e)if(e.hasOwnProperty(a)){var p=r.convertToType(a,n),c=r.convertToType(e[a],o);s[p]=c}return s}return e}},r.constructFromObject=function(e,t,i){if(Array.isArray(e))for(var n=0;n<e.length;n++)e.hasOwnProperty(n)&&(t[n]=r.convertToType(e[n],i));else for(var o in e)e.hasOwnProperty(o)&&(t[o]=r.convertToType(e[o],i))},r.instance=new r,r})}).call(this,e("buffer").Buffer)},{buffer:68,fs:67,querystring:72,superagent:2}],10:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("../model/DistrictList"),e("../model/DistrictRanking"),e("../model/Event"),e("../model/EventDistrictPoints"),e("../model/EventSimple"),e("../model/Team"),e("../model/TeamSimple")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.DistrictApi=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.DistrictList,i.TbaApiV3client.DistrictRanking,i.TbaApiV3client.Event,i.TbaApiV3client.EventDistrictPoints,i.TbaApiV3client.EventSimple,i.TbaApiV3client.Team,i.TbaApiV3client.TeamSimple))}(this,function(e,t,i,n,r,o,a,s){"use strict";return function(p){this.apiClient=p||e.instance,this.getDistrictEvents=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictEvents");var r={district_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[n];return this.apiClient.callApi("/district/{district_key}/events","GET",r,o,a,s,null,p,c,l,u,i)},this.getDistrictEventsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictEventsKeys");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/district/{district_key}/events/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getDistrictEventsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictEventsSimple");var n={district_key:e},r={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[o];return this.apiClient.callApi("/district/{district_key}/events/simple","GET",n,r,a,s,null,p,c,l,u,i)},this.getDistrictRankings=function(e,t,n){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictRankings");var r={district_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[i];return this.apiClient.callApi("/district/{district_key}/rankings","GET",r,o,a,s,null,p,c,l,u,n)},this.getDistrictTeams=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictTeams");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[a];return this.apiClient.callApi("/district/{district_key}/teams","GET",n,r,o,s,null,p,c,l,u,i)},this.getDistrictTeamsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictTeamsKeys");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/district/{district_key}/teams/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getDistrictTeamsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictTeamsSimple");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},p=["apiKey"],c=[],l=["application/json"],u=[s];return this.apiClient.callApi("/district/{district_key}/teams/simple","GET",n,r,o,a,null,p,c,l,u,i)},this.getDistrictsByYear=function(e,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getDistrictsByYear");var r={year:e},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[t];return this.apiClient.callApi("/districts/{year}","GET",r,o,a,s,null,p,c,l,u,n)},this.getEventDistrictPoints=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventDistrictPoints");var n={event_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=r;return this.apiClient.callApi("/event/{event_key}/district_points","GET",n,o,a,s,null,p,c,l,u,i)},this.getTeamDistricts=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamDistricts");var n={team_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l={String:"String"};return this.apiClient.callApi("/team/{team_key}/districts","GET",n,r,o,a,null,s,p,c,l,i)}}})},{"../ApiClient":9,"../model/DistrictList":21,"../model/DistrictRanking":22,"../model/Event":27,"../model/EventDistrictPoints":28,"../model/EventSimple":41,"../model/Team":54,"../model/TeamSimple":63}],11:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("../model/Award"),e("../model/EliminationAlliance"),e("../model/Event"),e("../model/EventDistrictPoints"),e("../model/EventOPRs"),e("../model/EventPredictions"),e("../model/EventRanking"),e("../model/EventSimple"),e("../model/Match"),e("../model/MatchSimple"),e("../model/Team"),e("../model/TeamEventStatus"),e("../model/TeamSimple")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventApi=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.Award,i.TbaApiV3client.EliminationAlliance,i.TbaApiV3client.Event,i.TbaApiV3client.EventDistrictPoints,i.TbaApiV3client.EventOPRs,i.TbaApiV3client.EventPredictions,i.TbaApiV3client.EventRanking,i.TbaApiV3client.EventSimple,i.TbaApiV3client.Match,i.TbaApiV3client.MatchSimple,i.TbaApiV3client.Team,i.TbaApiV3client.TeamEventStatus,i.TbaApiV3client.TeamSimple))}(this,function(e,t,i,n,r,o,a,s,p,c,l,u,y,h){"use strict";return function(d){this.apiClient=d||e.instance,this.getDistrictEvents=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictEvents");var r={district_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[n];return this.apiClient.callApi("/district/{district_key}/events","GET",r,o,a,s,null,p,c,l,u,i)},this.getDistrictEventsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictEventsKeys");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/district/{district_key}/events/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getDistrictEventsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictEventsSimple");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],c=[],l=["application/json"],u=[p];return this.apiClient.callApi("/district/{district_key}/events/simple","GET",n,r,o,a,null,s,c,l,u,i)},this.getEvent=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEvent");var r={event_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=n;return this.apiClient.callApi("/event/{event_key}","GET",r,o,a,s,null,p,c,l,u,i)},this.getEventAlliances=function(e,t,n){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventAlliances");var r={event_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[i];return this.apiClient.callApi("/event/{event_key}/alliances","GET",r,o,a,s,null,p,c,l,u,n)},this.getEventAwards=function(e,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventAwards");var r={event_key:e},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[t];return this.apiClient.callApi("/event/{event_key}/awards","GET",r,o,a,s,null,p,c,l,u,n)},this.getEventDistrictPoints=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventDistrictPoints");var n={event_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=r;return this.apiClient.callApi("/event/{event_key}/district_points","GET",n,o,a,s,null,p,c,l,u,i)},this.getEventInsights=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventInsights");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=Object;return this.apiClient.callApi("/event/{event_key}/insights","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventMatches=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventMatches");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],l=["application/json"],u=[c];return this.apiClient.callApi("/event/{event_key}/matches","GET",n,r,o,a,null,s,p,l,u,i)},this.getEventMatchesKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventMatchesKeys");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/event/{event_key}/matches/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventMatchesSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventMatchesSimple");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],u=[l];return this.apiClient.callApi("/event/{event_key}/matches/simple","GET",n,r,o,a,null,s,p,c,u,i)},this.getEventOPRs=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventOPRs");var n={event_key:e},r={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=o;return this.apiClient.callApi("/event/{event_key}/oprs","GET",n,r,a,s,null,p,c,l,u,i)},this.getEventPredictions=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventPredictions");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=a;return this.apiClient.callApi("/event/{event_key}/predictions","GET",n,r,o,s,null,p,c,l,u,i)},this.getEventRankings=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventRankings");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},p=["apiKey"],c=[],l=["application/json"],u=s;return this.apiClient.callApi("/event/{event_key}/rankings","GET",n,r,o,a,null,p,c,l,u,i)},this.getEventSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventSimple");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],c=[],l=["application/json"],u=p;return this.apiClient.callApi("/event/{event_key}/simple","GET",n,r,o,a,null,s,c,l,u,i)},this.getEventTeams=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventTeams");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=[u];return this.apiClient.callApi("/event/{event_key}/teams","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventTeamsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventTeamsKeys");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/event/{event_key}/teams/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventTeamsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventTeamsSimple");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=[h];return this.apiClient.callApi("/event/{event_key}/teams/simple","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventsByYear=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getEventsByYear");var r={year:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[n];return this.apiClient.callApi("/events/{year}","GET",r,o,a,s,null,p,c,l,u,i)},this.getEventsByYearKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getEventsByYearKeys");var n={year:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/events/{year}/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventsByYearSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getEventsByYearSimple");var n={year:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],c=[],l=["application/json"],u=[p];return this.apiClient.callApi("/events/{year}/simple","GET",n,r,o,a,null,s,c,l,u,i)},this.getTeamEventAwards=function(e,i,n,r){n=n||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventAwards");if(void 0===i||null===i)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventAwards");var o={team_key:e,event_key:i},a={},s={"If-Modified-Since":n.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[t];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/awards","GET",o,a,s,p,null,c,l,u,y,r)},this.getTeamEventMatches=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventMatches");if(void 0===t||null===t)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventMatches");var r={team_key:e,event_key:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],l=[],u=["application/json"],y=[c];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/matches","GET",r,o,a,s,null,p,l,u,y,n)},this.getTeamEventMatchesKeys=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventMatchesKeys");if(void 0===t||null===t)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventMatchesKeys");var r={team_key:e,event_key:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=["String"];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/matches/keys","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamEventMatchesSimple=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventMatchesSimple");if(void 0===t||null===t)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventMatchesSimple");var r={team_key:e,event_key:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],l=[],u=["application/json"],y=[c];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/matches/simple","GET",r,o,a,s,null,p,l,u,y,n)},this.getTeamEventStatus=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventStatus");if(void 0===t||null===t)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventStatus");var r={team_key:e,event_key:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=y;return this.apiClient.callApi("/team/{team_key}/event/{event_key}/status","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamEvents=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEvents");var r={team_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[n];return this.apiClient.callApi("/team/{team_key}/events","GET",r,o,a,s,null,p,c,l,u,i)},this.getTeamEventsByYear=function(e,t,i,r){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventsByYear");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamEventsByYear");var o={team_key:e,year:t},a={},s={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[n];return this.apiClient.callApi("/team/{team_key}/events/{year}","GET",o,a,s,p,null,c,l,u,y,r)},this.getTeamEventsByYearKeys=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventsByYearKeys");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamEventsByYearKeys");var r={team_key:e,year:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=["String"];return this.apiClient.callApi("/team/{team_key}/events/{year}/keys","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamEventsByYearSimple=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventsByYearSimple");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamEventsByYearSimple");var r={team_key:e,year:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},c=["apiKey"],l=[],u=["application/json"],y=[p];return this.apiClient.callApi("/team/{team_key}/events/{year}/simple","GET",r,o,a,s,null,c,l,u,y,n)},this.getTeamEventsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventsKeys");var n={team_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/team/{team_key}/events/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getTeamEventsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventsSimple");var n={team_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],c=[],l=["application/json"],u=[p];return this.apiClient.callApi("/team/{team_key}/events/simple","GET",n,r,o,a,null,s,c,l,u,i)}}})},{"../ApiClient":9,"../model/Award":19,"../model/EliminationAlliance":24,"../model/Event":27,"../model/EventDistrictPoints":28,"../model/EventOPRs":35,"../model/EventPredictions":36,"../model/EventRanking":37,"../model/EventSimple":41,"../model/Match":42,"../model/MatchSimple":50,"../model/Team":54,"../model/TeamEventStatus":55,"../model/TeamSimple":63}],12:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("../model/DistrictRanking"),e("../model/Event"),e("../model/EventSimple"),e("../model/Team"),e("../model/TeamSimple")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.ListApi=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.DistrictRanking,i.TbaApiV3client.Event,i.TbaApiV3client.EventSimple,i.TbaApiV3client.Team,i.TbaApiV3client.TeamSimple))}(this,function(e,t,i,n,r,o){"use strict";return function(a){this.apiClient=a||e.instance,this.getDistrictEvents=function(e,t,n){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictEvents");var r={district_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[i];return this.apiClient.callApi("/district/{district_key}/events","GET",r,o,a,s,null,p,c,l,u,n)},this.getDistrictEventsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictEventsKeys");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/district/{district_key}/events/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getDistrictEventsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictEventsSimple");var r={district_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[n];return this.apiClient.callApi("/district/{district_key}/events/simple","GET",r,o,a,s,null,p,c,l,u,i)},this.getDistrictRankings=function(e,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictRankings");var r={district_key:e},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[t];return this.apiClient.callApi("/district/{district_key}/rankings","GET",r,o,a,s,null,p,c,l,u,n)},this.getDistrictTeams=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictTeams");var n={district_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[r];return this.apiClient.callApi("/district/{district_key}/teams","GET",n,o,a,s,null,p,c,l,u,i)},this.getDistrictTeamsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictTeamsKeys");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/district/{district_key}/teams/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getDistrictTeamsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictTeamsSimple");var n={district_key:e},r={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[o];return this.apiClient.callApi("/district/{district_key}/teams/simple","GET",n,r,a,s,null,p,c,l,u,i)},this.getEventTeams=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventTeams");var n={event_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[r];return this.apiClient.callApi("/event/{event_key}/teams","GET",n,o,a,s,null,p,c,l,u,i)},this.getEventTeamsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventTeamsKeys");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/event/{event_key}/teams/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventTeamsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventTeamsSimple");var n={event_key:e},r={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[o];return this.apiClient.callApi("/event/{event_key}/teams/simple","GET",n,r,a,s,null,p,c,l,u,i)},this.getEventsByYear=function(e,t,n){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getEventsByYear");var r={year:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[i];return this.apiClient.callApi("/events/{year}","GET",r,o,a,s,null,p,c,l,u,n)},this.getEventsByYearKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getEventsByYearKeys");var n={year:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/events/{year}/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventsByYearSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getEventsByYearSimple");var r={year:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[n];return this.apiClient.callApi("/events/{year}/simple","GET",r,o,a,s,null,p,c,l,u,i)},this.getTeams=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'pageNum' when calling getTeams");var n={page_num:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[r];return this.apiClient.callApi("/teams/{page_num}","GET",n,o,a,s,null,p,c,l,u,i)},this.getTeamsByYear=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getTeamsByYear");if(void 0===t||null===t)throw new Error("Missing the required parameter 'pageNum' when calling getTeamsByYear");var o={year:e,page_num:t},a={},s={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[r];return this.apiClient.callApi("/teams/{year}/{page_num}","GET",o,a,s,p,null,c,l,u,y,n)},this.getTeamsByYearKeys=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getTeamsByYearKeys");if(void 0===t||null===t)throw new Error("Missing the required parameter 'pageNum' when calling getTeamsByYearKeys");var r={year:e,page_num:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=["String"];return this.apiClient.callApi("/teams/{year}/{page_num}/keys","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamsByYearSimple=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getTeamsByYearSimple");if(void 0===t||null===t)throw new Error("Missing the required parameter 'pageNum' when calling getTeamsByYearSimple");var r={year:e,page_num:t},a={},s={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[o];return this.apiClient.callApi("/teams/{year}/{page_num}/simple","GET",r,a,s,p,null,c,l,u,y,n)},this.getTeamsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'pageNum' when calling getTeamsKeys");var n={page_num:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/teams/{page_num}/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getTeamsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'pageNum' when calling getTeamsSimple");var n={page_num:e},r={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[o];return this.apiClient.callApi("/teams/{page_num}/simple","GET",n,r,a,s,null,p,c,l,u,i)}}})},{"../ApiClient":9,"../model/DistrictRanking":22,"../model/Event":27,"../model/EventSimple":41,"../model/Team":54,"../model/TeamSimple":63}],13:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("../model/Match"),e("../model/MatchSimple")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchApi=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.Match,i.TbaApiV3client.MatchSimple))}(this,function(e,t,i){"use strict";return function(n){this.apiClient=n||e.instance,this.getEventMatches=function(e,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventMatches");var r={event_key:e},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[t];return this.apiClient.callApi("/event/{event_key}/matches","GET",r,o,a,s,null,p,c,l,u,n)},this.getEventMatchesKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventMatchesKeys");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/event/{event_key}/matches/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventMatchesSimple=function(e,t,n){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventMatchesSimple");var r={event_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[i];return this.apiClient.callApi("/event/{event_key}/matches/simple","GET",r,o,a,s,null,p,c,l,u,n)},this.getMatch=function(e,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'matchKey' when calling getMatch");var r={match_key:e},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=t;return this.apiClient.callApi("/match/{match_key}","GET",r,o,a,s,null,p,c,l,u,n)},this.getMatchSimple=function(e,t,n){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'matchKey' when calling getMatchSimple");var r={match_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=i;return this.apiClient.callApi("/match/{match_key}/simple","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamEventMatches=function(e,i,n,r){n=n||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventMatches");if(void 0===i||null===i)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventMatches");var o={team_key:e,event_key:i},a={},s={"If-Modified-Since":n.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[t];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/matches","GET",o,a,s,p,null,c,l,u,y,r)},this.getTeamEventMatchesKeys=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventMatchesKeys");if(void 0===t||null===t)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventMatchesKeys");var r={team_key:e,event_key:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=["String"];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/matches/keys","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamEventMatchesSimple=function(e,i,n,r){n=n||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventMatchesSimple");if(void 0===i||null===i)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventMatchesSimple");var o={team_key:e,event_key:i},a={},s={"If-Modified-Since":n.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[t];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/matches/simple","GET",o,a,s,p,null,c,l,u,y,r)},this.getTeamMatchesByYear=function(e,i,n,r){n=n||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamMatchesByYear");if(void 0===i||null===i)throw new Error("Missing the required parameter 'year' when calling getTeamMatchesByYear");var o={team_key:e,year:i},a={},s={"If-Modified-Since":n.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[t];return this.apiClient.callApi("/team/{team_key}/matches/{year}","GET",o,a,s,p,null,c,l,u,y,r)},this.getTeamMatchesByYearKeys=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamMatchesByYearKeys");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamMatchesByYearKeys");var r={team_key:e,year:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=["String"];return this.apiClient.callApi("/team/{team_key}/matches/{year}/keys","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamMatchesByYearSimple=function(e,t,n,r){n=n||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamMatchesByYearSimple");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamMatchesByYearSimple");var o={team_key:e,year:t},a={},s={"If-Modified-Since":n.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[i];return this.apiClient.callApi("/team/{team_key}/matches/{year}/simple","GET",o,a,s,p,null,c,l,u,y,r)}}})},{"../ApiClient":9,"../model/Match":42,"../model/MatchSimple":50}],14:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("../model/APIStatus")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TBAApi=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.APIStatus))}(this,function(e,t){"use strict";return function(i){this.apiClient=i||e.instance,this.getStatus=function(e,i){var n={},r={},o={"If-Modified-Since":(e=e||{}).ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=t;return this.apiClient.callApi("/status","GET",n,r,o,a,null,s,p,c,l,i)}}})},{"../ApiClient":9,"../model/APIStatus":17}],15:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("../model/Award"),e("../model/DistrictRanking"),e("../model/Event"),e("../model/EventSimple"),e("../model/Match"),e("../model/MatchSimple"),e("../model/Media"),e("../model/Team"),e("../model/TeamEventStatus"),e("../model/TeamRobot"),e("../model/TeamSimple")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TeamApi=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.Award,i.TbaApiV3client.DistrictRanking,i.TbaApiV3client.Event,i.TbaApiV3client.EventSimple,i.TbaApiV3client.Match,i.TbaApiV3client.MatchSimple,i.TbaApiV3client.Media,i.TbaApiV3client.Team,i.TbaApiV3client.TeamEventStatus,i.TbaApiV3client.TeamRobot,i.TbaApiV3client.TeamSimple))}(this,function(e,t,i,n,r,o,a,s,p,c,l,u){"use strict";return function(y){this.apiClient=y||e.instance,this.getDistrictRankings=function(e,t,n){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictRankings");var r={district_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[i];return this.apiClient.callApi("/district/{district_key}/rankings","GET",r,o,a,s,null,p,c,l,u,n)},this.getDistrictTeams=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictTeams");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],c=[],l=["application/json"],u=[p];return this.apiClient.callApi("/district/{district_key}/teams","GET",n,r,o,a,null,s,c,l,u,i)},this.getDistrictTeamsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictTeamsKeys");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/district/{district_key}/teams/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getDistrictTeamsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'districtKey' when calling getDistrictTeamsSimple");var n={district_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=[u];return this.apiClient.callApi("/district/{district_key}/teams/simple","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventTeams=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventTeams");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],c=[],l=["application/json"],u=[p];return this.apiClient.callApi("/event/{event_key}/teams","GET",n,r,o,a,null,s,c,l,u,i)},this.getEventTeamsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventTeamsKeys");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/event/{event_key}/teams/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getEventTeamsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'eventKey' when calling getEventTeamsSimple");var n={event_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=[u];return this.apiClient.callApi("/event/{event_key}/teams/simple","GET",n,r,o,a,null,s,p,c,l,i)},this.getTeam=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeam");var n={team_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],c=[],l=["application/json"],u=p;return this.apiClient.callApi("/team/{team_key}","GET",n,r,o,a,null,s,c,l,u,i)},this.getTeamAwards=function(e,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamAwards");var r={team_key:e},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[t];return this.apiClient.callApi("/team/{team_key}/awards","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamAwardsByYear=function(e,i,n,r){n=n||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamAwardsByYear");if(void 0===i||null===i)throw new Error("Missing the required parameter 'year' when calling getTeamAwardsByYear");var o={team_key:e,year:i},a={},s={"If-Modified-Since":n.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[t];return this.apiClient.callApi("/team/{team_key}/awards/{year}","GET",o,a,s,p,null,c,l,u,y,r)},this.getTeamDistricts=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamDistricts");var n={team_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l={String:"String"};return this.apiClient.callApi("/team/{team_key}/districts","GET",n,r,o,a,null,s,p,c,l,i)},this.getTeamEventAwards=function(e,i,n,r){n=n||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventAwards");if(void 0===i||null===i)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventAwards");var o={team_key:e,event_key:i},a={},s={"If-Modified-Since":n.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[t];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/awards","GET",o,a,s,p,null,c,l,u,y,r)},this.getTeamEventMatches=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventMatches");if(void 0===t||null===t)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventMatches");var r={team_key:e,event_key:t},a={},s={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[o];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/matches","GET",r,a,s,p,null,c,l,u,y,n)},this.getTeamEventMatchesKeys=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventMatchesKeys");if(void 0===t||null===t)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventMatchesKeys");var r={team_key:e,event_key:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=["String"];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/matches/keys","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamEventMatchesSimple=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventMatchesSimple");if(void 0===t||null===t)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventMatchesSimple");var r={team_key:e,event_key:t},a={},s={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[o];return this.apiClient.callApi("/team/{team_key}/event/{event_key}/matches/simple","GET",r,a,s,p,null,c,l,u,y,n)},this.getTeamEventStatus=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventStatus");if(void 0===t||null===t)throw new Error("Missing the required parameter 'eventKey' when calling getTeamEventStatus");var r={team_key:e,event_key:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],l=[],u=["application/json"],y=c;return this.apiClient.callApi("/team/{team_key}/event/{event_key}/status","GET",r,o,a,s,null,p,l,u,y,n)},this.getTeamEvents=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEvents");var r={team_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[n];return this.apiClient.callApi("/team/{team_key}/events","GET",r,o,a,s,null,p,c,l,u,i)},this.getTeamEventsByYear=function(e,t,i,r){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventsByYear");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamEventsByYear");var o={team_key:e,year:t},a={},s={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[n];return this.apiClient.callApi("/team/{team_key}/events/{year}","GET",o,a,s,p,null,c,l,u,y,r)},this.getTeamEventsByYearKeys=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventsByYearKeys");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamEventsByYearKeys");var r={team_key:e,year:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=["String"];return this.apiClient.callApi("/team/{team_key}/events/{year}/keys","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamEventsByYearSimple=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventsByYearSimple");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamEventsByYearSimple");var o={team_key:e,year:t},a={},s={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[r];return this.apiClient.callApi("/team/{team_key}/events/{year}/simple","GET",o,a,s,p,null,c,l,u,y,n)},this.getTeamEventsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventsKeys");var n={team_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/team/{team_key}/events/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getTeamEventsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamEventsSimple");var n={team_key:e},o={},a={"If-Modified-Since":t.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=[r];return this.apiClient.callApi("/team/{team_key}/events/simple","GET",n,o,a,s,null,p,c,l,u,i)},this.getTeamMatchesByYear=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamMatchesByYear");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamMatchesByYear");var r={team_key:e,year:t},a={},s={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[o];return this.apiClient.callApi("/team/{team_key}/matches/{year}","GET",r,a,s,p,null,c,l,u,y,n)},this.getTeamMatchesByYearKeys=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamMatchesByYearKeys");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamMatchesByYearKeys");var r={team_key:e,year:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=["String"];return this.apiClient.callApi("/team/{team_key}/matches/{year}/keys","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamMatchesByYearSimple=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamMatchesByYearSimple");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamMatchesByYearSimple");var r={team_key:e,year:t},o={},s={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[a];return this.apiClient.callApi("/team/{team_key}/matches/{year}/simple","GET",r,o,s,p,null,c,l,u,y,n)},this.getTeamMediaByTag=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamMediaByTag");if(void 0===t||null===t)throw new Error("Missing the required parameter 'mediaTag' when calling getTeamMediaByTag");var r={team_key:e,media_tag:t},o={},a={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[s];return this.apiClient.callApi("/team/{team_key}/media/tag/{media_tag}","GET",r,o,a,p,null,c,l,u,y,n)},this.getTeamMediaByTagYear=function(e,t,i,n,r){n=n||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamMediaByTagYear");if(void 0===t||null===t)throw new Error("Missing the required parameter 'mediaTag' when calling getTeamMediaByTagYear");if(void 0===i||null===i)throw new Error("Missing the required parameter 'year' when calling getTeamMediaByTagYear");var o={team_key:e,media_tag:t,year:i},a={},p={"If-Modified-Since":n.ifModifiedSince},c={},l=["apiKey"],u=[],y=["application/json"],h=[s];return this.apiClient.callApi("/team/{team_key}/media/tag/{media_tag}/{year}","GET",o,a,p,c,null,l,u,y,h,r)},this.getTeamMediaByYear=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamMediaByYear");if(void 0===t||null===t)throw new Error("Missing the required parameter 'year' when calling getTeamMediaByYear");var r={team_key:e,year:t},o={},a={"If-Modified-Since":i.ifModifiedSince},p={},c=["apiKey"],l=[],u=["application/json"],y=[s];return this.apiClient.callApi("/team/{team_key}/media/{year}","GET",r,o,a,p,null,c,l,u,y,n)},this.getTeamRobots=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamRobots");var n={team_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],u={String:l};return this.apiClient.callApi("/team/{team_key}/robots","GET",n,r,o,a,null,s,p,c,u,i)},this.getTeamSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamSimple");var n={team_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=u;return this.apiClient.callApi("/team/{team_key}/simple","GET",n,r,o,a,null,s,p,c,l,i)},this.getTeamSocialMedia=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamSocialMedia");var n={team_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},p=["apiKey"],c=[],l=["application/json"],u=[s];return this.apiClient.callApi("/team/{team_key}/social_media","GET",n,r,o,a,null,p,c,l,u,i)},this.getTeamYearsParticipated=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'teamKey' when calling getTeamYearsParticipated");var n={team_key:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["Number"];return this.apiClient.callApi("/team/{team_key}/years_participated","GET",n,r,o,a,null,s,p,c,l,i)},this.getTeams=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'pageNum' when calling getTeams");var n={page_num:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],c=[],l=["application/json"],u=[p];return this.apiClient.callApi("/teams/{page_num}","GET",n,r,o,a,null,s,c,l,u,i)},this.getTeamsByYear=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getTeamsByYear");if(void 0===t||null===t)throw new Error("Missing the required parameter 'pageNum' when calling getTeamsByYear");var r={year:e,page_num:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},c=["apiKey"],l=[],u=["application/json"],y=[p];return this.apiClient.callApi("/teams/{year}/{page_num}","GET",r,o,a,s,null,c,l,u,y,n)},this.getTeamsByYearKeys=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getTeamsByYearKeys");if(void 0===t||null===t)throw new Error("Missing the required parameter 'pageNum' when calling getTeamsByYearKeys");var r={year:e,page_num:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],u=["String"];return this.apiClient.callApi("/teams/{year}/{page_num}/keys","GET",r,o,a,s,null,p,c,l,u,n)},this.getTeamsByYearSimple=function(e,t,i,n){i=i||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'year' when calling getTeamsByYearSimple");if(void 0===t||null===t)throw new Error("Missing the required parameter 'pageNum' when calling getTeamsByYearSimple");var r={year:e,page_num:t},o={},a={"If-Modified-Since":i.ifModifiedSince},s={},p=["apiKey"],c=[],l=["application/json"],y=[u];return this.apiClient.callApi("/teams/{year}/{page_num}/simple","GET",r,o,a,s,null,p,c,l,y,n)},this.getTeamsKeys=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'pageNum' when calling getTeamsKeys");var n={page_num:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=["String"];return this.apiClient.callApi("/teams/{page_num}/keys","GET",n,r,o,a,null,s,p,c,l,i)},this.getTeamsSimple=function(e,t,i){t=t||{};if(void 0===e||null===e)throw new Error("Missing the required parameter 'pageNum' when calling getTeamsSimple");var n={page_num:e},r={},o={"If-Modified-Since":t.ifModifiedSince},a={},s=["apiKey"],p=[],c=["application/json"],l=[u];return this.apiClient.callApi("/teams/{page_num}/simple","GET",n,r,o,a,null,s,p,c,l,i)}}})},{"../ApiClient":9,"../model/Award":19,"../model/DistrictRanking":22,"../model/Event":27,"../model/EventSimple":41,"../model/Match":42,"../model/MatchSimple":50,"../model/Media":53,"../model/Team":54,"../model/TeamEventStatus":55,"../model/TeamRobot":62,"../model/TeamSimple":63}],16:[function(e,t,i){!function(i){"object"==typeof t&&t.exports&&(t.exports=i(e("./ApiClient"),e("./model/APIStatus"),e("./model/APIStatusAppVersion"),e("./model/Award"),e("./model/AwardRecipient"),e("./model/DistrictList"),e("./model/DistrictRanking"),e("./model/DistrictRankingEventPoints"),e("./model/EliminationAlliance"),e("./model/EliminationAllianceBackup"),e("./model/EliminationAllianceStatus"),e("./model/Event"),e("./model/EventDistrictPoints"),e("./model/EventDistrictPointsPoints"),e("./model/EventDistrictPointsTiebreakers"),e("./model/EventInsights2016"),e("./model/EventInsights2016Detail"),e("./model/EventInsights2017"),e("./model/EventInsights2017Detail"),e("./model/EventOPRs"),e("./model/EventPredictions"),e("./model/EventRanking"),e("./model/EventRankingExtraStatsInfo"),e("./model/EventRankingRankings"),e("./model/EventRankingSortOrderInfo"),e("./model/EventSimple"),e("./model/Match"),e("./model/MatchAlliance"),e("./model/MatchScoreBreakdown2015"),e("./model/MatchScoreBreakdown2015Alliance"),e("./model/MatchScoreBreakdown2016"),e("./model/MatchScoreBreakdown2016Alliance"),e("./model/MatchScoreBreakdown2017"),e("./model/MatchScoreBreakdown2017Alliance"),e("./model/MatchSimple"),e("./model/MatchSimpleAlliances"),e("./model/MatchVideos"),e("./model/Media"),e("./model/Team"),e("./model/TeamEventStatus"),e("./model/TeamEventStatusAlliance"),e("./model/TeamEventStatusAllianceBackup"),e("./model/TeamEventStatusPlayoff"),e("./model/TeamEventStatusRank"),e("./model/TeamEventStatusRankRanking"),e("./model/TeamEventStatusRankSortOrderInfo"),e("./model/TeamRobot"),e("./model/TeamSimple"),e("./model/WLTRecord"),e("./model/Webcast"),e("./api/DistrictApi"),e("./api/EventApi"),e("./api/ListApi"),e("./api/MatchApi"),e("./api/TBAApi"),e("./api/TeamApi")))}(function(e,t,i,n,r,o,a,s,p,c,l,u,y,h,d,v,f,m,g,_,T,w,b,A,E,S,k,P,M,O,C,j,V,K,B,q,N,R,I,x,D,F,G,L,Y,U,H,W,z,X,$,J,Q,Z,ee,te){"use strict";return{ApiClient:e,APIStatus:t,APIStatusAppVersion:i,Award:n,AwardRecipient:r,DistrictList:o,DistrictRanking:a,DistrictRankingEventPoints:s,EliminationAlliance:p,EliminationAllianceBackup:c,EliminationAllianceStatus:l,Event:u,EventDistrictPoints:y,EventDistrictPointsPoints:h,EventDistrictPointsTiebreakers:d,EventInsights2016:v,EventInsights2016Detail:f,EventInsights2017:m,EventInsights2017Detail:g,EventOPRs:_,EventPredictions:T,EventRanking:w,EventRankingExtraStatsInfo:b,EventRankingRankings:A,EventRankingSortOrderInfo:E,EventSimple:S,Match:k,MatchAlliance:P,MatchScoreBreakdown2015:M,MatchScoreBreakdown2015Alliance:O,MatchScoreBreakdown2016:C,MatchScoreBreakdown2016Alliance:j,MatchScoreBreakdown2017:V,MatchScoreBreakdown2017Alliance:K,MatchSimple:B,MatchSimpleAlliances:q,MatchVideos:N,Media:R,Team:I,TeamEventStatus:x,TeamEventStatusAlliance:D,TeamEventStatusAllianceBackup:F,TeamEventStatusPlayoff:G,TeamEventStatusRank:L,TeamEventStatusRankRanking:Y,TeamEventStatusRankSortOrderInfo:U,TeamRobot:H,TeamSimple:W,WLTRecord:z,Webcast:X,DistrictApi:$,EventApi:J,ListApi:Q,MatchApi:Z,TBAApi:ee,TeamApi:te}})},{"./ApiClient":9,"./api/DistrictApi":10,"./api/EventApi":11,"./api/ListApi":12,"./api/MatchApi":13,"./api/TBAApi":14,"./api/TeamApi":15,"./model/APIStatus":17,"./model/APIStatusAppVersion":18,"./model/Award":19,"./model/AwardRecipient":20,"./model/DistrictList":21,"./model/DistrictRanking":22,"./model/DistrictRankingEventPoints":23,"./model/EliminationAlliance":24,"./model/EliminationAllianceBackup":25,"./model/EliminationAllianceStatus":26,"./model/Event":27,"./model/EventDistrictPoints":28,"./model/EventDistrictPointsPoints":29,"./model/EventDistrictPointsTiebreakers":30,"./model/EventInsights2016":31,"./model/EventInsights2016Detail":32,"./model/EventInsights2017":33,"./model/EventInsights2017Detail":34,"./model/EventOPRs":35,"./model/EventPredictions":36,"./model/EventRanking":37,"./model/EventRankingExtraStatsInfo":38,"./model/EventRankingRankings":39,"./model/EventRankingSortOrderInfo":40,"./model/EventSimple":41,"./model/Match":42,"./model/MatchAlliance":43,"./model/MatchScoreBreakdown2015":44,"./model/MatchScoreBreakdown2015Alliance":45,"./model/MatchScoreBreakdown2016":46,"./model/MatchScoreBreakdown2016Alliance":47,"./model/MatchScoreBreakdown2017":48,"./model/MatchScoreBreakdown2017Alliance":49,"./model/MatchSimple":50,"./model/MatchSimpleAlliances":51,"./model/MatchVideos":52,"./model/Media":53,"./model/Team":54,"./model/TeamEventStatus":55,"./model/TeamEventStatusAlliance":56,"./model/TeamEventStatusAllianceBackup":57,"./model/TeamEventStatusPlayoff":58,"./model/TeamEventStatusRank":59,"./model/TeamEventStatusRankRanking":60,"./model/TeamEventStatusRankSortOrderInfo":61,"./model/TeamRobot":62,"./model/TeamSimple":63,"./model/WLTRecord":64,"./model/Webcast":65}],17:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./APIStatusAppVersion")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.APIStatus=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.APIStatusAppVersion))}(this,function(e,t){"use strict";var i=function(e,t,i,n,r,o){var a=this;a.current_season=e,a.max_season=t,a.is_datafeed_down=i,a.down_events=n,a.ios=r,a.android=o};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("current_season")&&(r.current_season=e.convertToType(n.current_season,"Number")),n.hasOwnProperty("max_season")&&(r.max_season=e.convertToType(n.max_season,"Number")),n.hasOwnProperty("is_datafeed_down")&&(r.is_datafeed_down=e.convertToType(n.is_datafeed_down,"Boolean")),n.hasOwnProperty("down_events")&&(r.down_events=e.convertToType(n.down_events,["String"])),n.hasOwnProperty("ios")&&(r.ios=t.constructFromObject(n.ios)),n.hasOwnProperty("android")&&(r.android=t.constructFromObject(n.android))),r},i.prototype.current_season=void 0,i.prototype.max_season=void 0,i.prototype.is_datafeed_down=void 0,i.prototype.down_events=void 0,i.prototype.ios=void 0,i.prototype.android=void 0,i})},{"../ApiClient":9,"./APIStatusAppVersion":18}],18:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.APIStatusAppVersion=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t){var i=this;i.min_app_version=e,i.latest_app_version=t};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("min_app_version")&&(n.min_app_version=e.convertToType(i.min_app_version,"Number")),i.hasOwnProperty("latest_app_version")&&(n.latest_app_version=e.convertToType(i.latest_app_version,"Number"))),n},t.prototype.min_app_version=void 0,t.prototype.latest_app_version=void 0,t})},{"../ApiClient":9}],19:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./AwardRecipient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.Award=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.AwardRecipient))}(this,function(e,t){"use strict";var i=function(e,t,i,n,r){var o=this;o.name=e,o.award_type=t,o.event_key=i,o.recipient_list=n,o.year=r};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("name")&&(r.name=e.convertToType(n.name,"String")),n.hasOwnProperty("award_type")&&(r.award_type=e.convertToType(n.award_type,"Number")),n.hasOwnProperty("event_key")&&(r.event_key=e.convertToType(n.event_key,"String")),n.hasOwnProperty("recipient_list")&&(r.recipient_list=e.convertToType(n.recipient_list,[t])),n.hasOwnProperty("year")&&(r.year=e.convertToType(n.year,"Number"))),r},i.prototype.name=void 0,i.prototype.award_type=void 0,i.prototype.event_key=void 0,i.prototype.recipient_list=void 0,i.prototype.year=void 0,i})},{"../ApiClient":9,"./AwardRecipient":20}],20:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.AwardRecipient=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("team_key")&&(n.team_key=e.convertToType(i.team_key,"String")),i.hasOwnProperty("awardee")&&(n.awardee=e.convertToType(i.awardee,"String"))),n},t.prototype.team_key=void 0,t.prototype.awardee=void 0,t})},{"../ApiClient":9}],21:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.DistrictList=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t,i,n){var r=this;r.abbreviation=e,r.display_name=t,r.key=i,r.year=n};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("abbreviation")&&(n.abbreviation=e.convertToType(i.abbreviation,"String")),i.hasOwnProperty("display_name")&&(n.display_name=e.convertToType(i.display_name,"String")),i.hasOwnProperty("key")&&(n.key=e.convertToType(i.key,"String")),i.hasOwnProperty("year")&&(n.year=e.convertToType(i.year,"Number"))),n},t.prototype.abbreviation=void 0,t.prototype.display_name=void 0,t.prototype.key=void 0,t.prototype.year=void 0,t})},{"../ApiClient":9}],22:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./DistrictRankingEventPoints")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.DistrictRanking=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.DistrictRankingEventPoints))}(this,function(e,t){"use strict";var i=function(e,t,i){var n=this;n.team_key=e,n.rank=t,n.point_total=i};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("team_key")&&(r.team_key=e.convertToType(n.team_key,"String")),n.hasOwnProperty("rank")&&(r.rank=e.convertToType(n.rank,"Number")),n.hasOwnProperty("rookie_bonus")&&(r.rookie_bonus=e.convertToType(n.rookie_bonus,"Number")),n.hasOwnProperty("point_total")&&(r.point_total=e.convertToType(n.point_total,"Number")),n.hasOwnProperty("event_points")&&(r.event_points=e.convertToType(n.event_points,[t]))),r},i.prototype.team_key=void 0,i.prototype.rank=void 0,i.prototype.rookie_bonus=void 0,i.prototype.point_total=void 0,i.prototype.event_points=void 0,i})},{"../ApiClient":9,"./DistrictRankingEventPoints":23}],23:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.DistrictRankingEventPoints=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t,i,n,r,o,a){var s=this;s.event_key=e,s.district_cmp=t,s.alliance_points=i,s.award_points=n,s.qual_points=r,s.elim_points=o,s.total=a};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("event_key")&&(n.event_key=e.convertToType(i.event_key,"String")),i.hasOwnProperty("district_cmp")&&(n.district_cmp=e.convertToType(i.district_cmp,"Boolean")),i.hasOwnProperty("alliance_points")&&(n.alliance_points=e.convertToType(i.alliance_points,"Number")),i.hasOwnProperty("award_points")&&(n.award_points=e.convertToType(i.award_points,"Number")),i.hasOwnProperty("qual_points")&&(n.qual_points=e.convertToType(i.qual_points,"Number")),i.hasOwnProperty("elim_points")&&(n.elim_points=e.convertToType(i.elim_points,"Number")),i.hasOwnProperty("total")&&(n.total=e.convertToType(i.total,"Number"))),n},t.prototype.event_key=void 0,t.prototype.district_cmp=void 0,t.prototype.alliance_points=void 0,t.prototype.award_points=void 0,t.prototype.qual_points=void 0,t.prototype.elim_points=void 0,t.prototype.total=void 0,t})},{"../ApiClient":9}],24:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./EliminationAllianceBackup"),e("./EliminationAllianceStatus")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EliminationAlliance=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.EliminationAllianceBackup,i.TbaApiV3client.EliminationAllianceStatus))}(this,function(e,t,i){"use strict";var n=function(e){this.picks=e};return n.constructFromObject=function(r,o){return r&&(o=o||new n,r.hasOwnProperty("name")&&(o.name=e.convertToType(r.name,"String")),r.hasOwnProperty("backup")&&(o.backup=t.constructFromObject(r.backup)),r.hasOwnProperty("declines")&&(o.declines=e.convertToType(r.declines,["String"])),r.hasOwnProperty("picks")&&(o.picks=e.convertToType(r.picks,["String"])),r.hasOwnProperty("status")&&(o.status=i.constructFromObject(r.status))),o},n.prototype.name=void 0,n.prototype.backup=void 0,n.prototype.declines=void 0,n.prototype.picks=void 0,n.prototype.status=void 0,n})},{"../ApiClient":9,"./EliminationAllianceBackup":25,"./EliminationAllianceStatus":26}],25:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EliminationAllianceBackup=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("out")&&(n.out=e.convertToType(i.out,"String")),i.hasOwnProperty("in")&&(n.in=e.convertToType(i.in,"String"))),n},t.prototype.out=void 0,t.prototype.in=void 0,t})},{"../ApiClient":9}],26:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./WLTRecord")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EliminationAllianceStatus=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.WLTRecord))}(this,function(e,t){"use strict";var i=function(){};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("current_level_record")&&(r.current_level_record=t.constructFromObject(n.current_level_record)),n.hasOwnProperty("level")&&(r.level=e.convertToType(n.level,"String")),n.hasOwnProperty("playoff_average")&&(r.playoff_average=e.convertToType(n.playoff_average,"Number")),n.hasOwnProperty("record")&&(r.record=t.constructFromObject(n.record)),n.hasOwnProperty("status")&&(r.status=e.convertToType(n.status,"String"))),r},i.prototype.current_level_record=void 0,i.prototype.level=void 0,i.prototype.playoff_average=void 0,i.prototype.record=void 0,i.prototype.status=void 0,i})},{"../ApiClient":9,"./WLTRecord":64}],27:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./DistrictList"),e("./Webcast")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.Event=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.DistrictList,i.TbaApiV3client.Webcast))}(this,function(e,t,i){"use strict";var n=function(e,t,i,n,r,o,a,s){var p=this;p.key=e,p.name=t,p.event_code=i,p.event_type=n,p.start_date=r,p.end_date=o,p.year=a,p.event_type_string=s};return n.constructFromObject=function(r,o){return r&&(o=o||new n,r.hasOwnProperty("key")&&(o.key=e.convertToType(r.key,"String")),r.hasOwnProperty("name")&&(o.name=e.convertToType(r.name,"String")),r.hasOwnProperty("event_code")&&(o.event_code=e.convertToType(r.event_code,"String")),r.hasOwnProperty("event_type")&&(o.event_type=e.convertToType(r.event_type,"Number")),r.hasOwnProperty("district")&&(o.district=t.constructFromObject(r.district)),r.hasOwnProperty("city")&&(o.city=e.convertToType(r.city,"String")),r.hasOwnProperty("state_prov")&&(o.state_prov=e.convertToType(r.state_prov,"String")),r.hasOwnProperty("country")&&(o.country=e.convertToType(r.country,"String")),r.hasOwnProperty("start_date")&&(o.start_date=e.convertToType(r.start_date,"Date")),r.hasOwnProperty("end_date")&&(o.end_date=e.convertToType(r.end_date,"Date")),r.hasOwnProperty("year")&&(o.year=e.convertToType(r.year,"Number")),r.hasOwnProperty("short_name")&&(o.short_name=e.convertToType(r.short_name,"String")),r.hasOwnProperty("event_type_string")&&(o.event_type_string=e.convertToType(r.event_type_string,"String")),r.hasOwnProperty("week")&&(o.week=e.convertToType(r.week,"Number")),r.hasOwnProperty("address")&&(o.address=e.convertToType(r.address,"String")),r.hasOwnProperty("postal_code")&&(o.postal_code=e.convertToType(r.postal_code,"String")),r.hasOwnProperty("gmaps_place_id")&&(o.gmaps_place_id=e.convertToType(r.gmaps_place_id,"String")),r.hasOwnProperty("gmaps_url")&&(o.gmaps_url=e.convertToType(r.gmaps_url,"String")),r.hasOwnProperty("lat")&&(o.lat=e.convertToType(r.lat,"Number")),r.hasOwnProperty("lng")&&(o.lng=e.convertToType(r.lng,"Number")),r.hasOwnProperty("location_name")&&(o.location_name=e.convertToType(r.location_name,"String")),r.hasOwnProperty("timezone")&&(o.timezone=e.convertToType(r.timezone,"String")),r.hasOwnProperty("website")&&(o.website=e.convertToType(r.website,"String")),r.hasOwnProperty("first_event_id")&&(o.first_event_id=e.convertToType(r.first_event_id,"String")),r.hasOwnProperty("first_event_code")&&(o.first_event_code=e.convertToType(r.first_event_code,"String")),r.hasOwnProperty("webcasts")&&(o.webcasts=e.convertToType(r.webcasts,[i])),r.hasOwnProperty("division_keys")&&(o.division_keys=e.convertToType(r.division_keys,["String"])),r.hasOwnProperty("parent_event_key")&&(o.parent_event_key=e.convertToType(r.parent_event_key,"String")),r.hasOwnProperty("playoff_type")&&(o.playoff_type=e.convertToType(r.playoff_type,"Number")),r.hasOwnProperty("playoff_type_string")&&(o.playoff_type_string=e.convertToType(r.playoff_type_string,"String"))),o},n.prototype.key=void 0,n.prototype.name=void 0,n.prototype.event_code=void 0,n.prototype.event_type=void 0,n.prototype.district=void 0,n.prototype.city=void 0,n.prototype.state_prov=void 0,n.prototype.country=void 0,n.prototype.start_date=void 0,n.prototype.end_date=void 0,n.prototype.year=void 0,n.prototype.short_name=void 0,n.prototype.event_type_string=void 0,n.prototype.week=void 0,n.prototype.address=void 0,n.prototype.postal_code=void 0,n.prototype.gmaps_place_id=void 0,n.prototype.gmaps_url=void 0,n.prototype.lat=void 0,n.prototype.lng=void 0,n.prototype.location_name=void 0,n.prototype.timezone=void 0,n.prototype.website=void 0,n.prototype.first_event_id=void 0,n.prototype.first_event_code=void 0,n.prototype.webcasts=void 0,n.prototype.division_keys=void 0,n.prototype.parent_event_key=void 0,n.prototype.playoff_type=void 0,n.prototype.playoff_type_string=void 0,n})},{"../ApiClient":9,"./DistrictList":21,"./Webcast":65}],28:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./EventDistrictPointsPoints"),e("./EventDistrictPointsTiebreakers")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventDistrictPoints=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.EventDistrictPointsPoints,i.TbaApiV3client.EventDistrictPointsTiebreakers))}(this,function(e,t,i){"use strict";var n=function(e){this.points=e};return n.constructFromObject=function(r,o){return r&&(o=o||new n,r.hasOwnProperty("points")&&(o.points=e.convertToType(r.points,{String:t})),r.hasOwnProperty("tiebreakers")&&(o.tiebreakers=e.convertToType(r.tiebreakers,{String:i}))),o},n.prototype.points=void 0,n.prototype.tiebreakers=void 0,n})},{"../ApiClient":9,"./EventDistrictPointsPoints":29,"./EventDistrictPointsTiebreakers":30}],29:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventDistrictPointsPoints=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t,i,n,r){var o=this;o.alliance_points=e,o.award_points=t,o.qual_points=i,o.elim_points=n,o.total=r};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("alliance_points")&&(n.alliance_points=e.convertToType(i.alliance_points,"Number")),i.hasOwnProperty("award_points")&&(n.award_points=e.convertToType(i.award_points,"Number")),i.hasOwnProperty("qual_points")&&(n.qual_points=e.convertToType(i.qual_points,"Number")),i.hasOwnProperty("elim_points")&&(n.elim_points=e.convertToType(i.elim_points,"Number")),i.hasOwnProperty("total")&&(n.total=e.convertToType(i.total,"Number"))),n},t.prototype.alliance_points=void 0,t.prototype.award_points=void 0,t.prototype.qual_points=void 0,t.prototype.elim_points=void 0,t.prototype.total=void 0,t})},{"../ApiClient":9}],30:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventDistrictPointsTiebreakers=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("highest_qual_scores")&&(n.highest_qual_scores=e.convertToType(i.highest_qual_scores,["Number"])),i.hasOwnProperty("qual_wins")&&(n.qual_wins=e.convertToType(i.qual_wins,"Number"))),n},t.prototype.highest_qual_scores=void 0,t.prototype.qual_wins=void 0,t})},{"../ApiClient":9}],31:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./EventInsights2016Detail")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventInsights2016=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.EventInsights2016Detail))}(this,function(e,t){"use strict";var i=function(){};return i.constructFromObject=function(e,n){return e&&(n=n||new i,e.hasOwnProperty("qual")&&(n.qual=t.constructFromObject(e.qual)),e.hasOwnProperty("playoff")&&(n.playoff=t.constructFromObject(e.playoff))),n},i.prototype.qual=void 0,i.prototype.playoff=void 0,i})},{"../ApiClient":9,"./EventInsights2016Detail":32}],32:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventInsights2016Detail=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t,i,n,r,o,a,s,p,c,l,u,y,h,d,v,f,m,g,_,T,w,b,A){var E=this;E.LowBar=e,E.A_ChevalDeFrise=t,E.A_Portcullis=i,E.B_Ramparts=n,E.B_Moat=r,E.C_SallyPort=o,E.C_Drawbridge=a,E.D_RoughTerrain=s,E.D_RockWall=p,E.average_high_goals=c,E.average_low_goals=l,E.breaches=u,E.scales=y,E.challenges=h,E.captures=d,E.average_win_score=v,E.average_win_margin=f,E.average_score=m,E.average_auto_score=g,E.average_crossing_score=_,E.average_boulder_score=T,E.average_tower_score=w,E.average_foul_score=b,E.high_score=A};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("LowBar")&&(n.LowBar=e.convertToType(i.LowBar,["Number"])),i.hasOwnProperty("A_ChevalDeFrise")&&(n.A_ChevalDeFrise=e.convertToType(i.A_ChevalDeFrise,["Number"])),i.hasOwnProperty("A_Portcullis")&&(n.A_Portcullis=e.convertToType(i.A_Portcullis,["Number"])),i.hasOwnProperty("B_Ramparts")&&(n.B_Ramparts=e.convertToType(i.B_Ramparts,["Number"])),i.hasOwnProperty("B_Moat")&&(n.B_Moat=e.convertToType(i.B_Moat,["Number"])),i.hasOwnProperty("C_SallyPort")&&(n.C_SallyPort=e.convertToType(i.C_SallyPort,["Number"])),i.hasOwnProperty("C_Drawbridge")&&(n.C_Drawbridge=e.convertToType(i.C_Drawbridge,["Number"])),i.hasOwnProperty("D_RoughTerrain")&&(n.D_RoughTerrain=e.convertToType(i.D_RoughTerrain,["Number"])),i.hasOwnProperty("D_RockWall")&&(n.D_RockWall=e.convertToType(i.D_RockWall,["Number"])),i.hasOwnProperty("average_high_goals")&&(n.average_high_goals=e.convertToType(i.average_high_goals,"Number")),i.hasOwnProperty("average_low_goals")&&(n.average_low_goals=e.convertToType(i.average_low_goals,"Number")),i.hasOwnProperty("breaches")&&(n.breaches=e.convertToType(i.breaches,["Number"])),i.hasOwnProperty("scales")&&(n.scales=e.convertToType(i.scales,["Number"])),i.hasOwnProperty("challenges")&&(n.challenges=e.convertToType(i.challenges,["Number"])),i.hasOwnProperty("captures")&&(n.captures=e.convertToType(i.captures,["Number"])),i.hasOwnProperty("average_win_score")&&(n.average_win_score=e.convertToType(i.average_win_score,"Number")),i.hasOwnProperty("average_win_margin")&&(n.average_win_margin=e.convertToType(i.average_win_margin,"Number")),i.hasOwnProperty("average_score")&&(n.average_score=e.convertToType(i.average_score,"Number")),i.hasOwnProperty("average_auto_score")&&(n.average_auto_score=e.convertToType(i.average_auto_score,"Number")),i.hasOwnProperty("average_crossing_score")&&(n.average_crossing_score=e.convertToType(i.average_crossing_score,"Number")),i.hasOwnProperty("average_boulder_score")&&(n.average_boulder_score=e.convertToType(i.average_boulder_score,"Number")),i.hasOwnProperty("average_tower_score")&&(n.average_tower_score=e.convertToType(i.average_tower_score,"Number")),i.hasOwnProperty("average_foul_score")&&(n.average_foul_score=e.convertToType(i.average_foul_score,"Number")),i.hasOwnProperty("high_score")&&(n.high_score=e.convertToType(i.high_score,["String"]))),n},t.prototype.LowBar=void 0,t.prototype.A_ChevalDeFrise=void 0,t.prototype.A_Portcullis=void 0,t.prototype.B_Ramparts=void 0,t.prototype.B_Moat=void 0,t.prototype.C_SallyPort=void 0,t.prototype.C_Drawbridge=void 0,t.prototype.D_RoughTerrain=void 0,t.prototype.D_RockWall=void 0,t.prototype.average_high_goals=void 0,t.prototype.average_low_goals=void 0,t.prototype.breaches=void 0,t.prototype.scales=void 0,t.prototype.challenges=void 0,t.prototype.captures=void 0,t.prototype.average_win_score=void 0,t.prototype.average_win_margin=void 0,t.prototype.average_score=void 0,t.prototype.average_auto_score=void 0,t.prototype.average_crossing_score=void 0,t.prototype.average_boulder_score=void 0,t.prototype.average_tower_score=void 0,t.prototype.average_foul_score=void 0,t.prototype.high_score=void 0,t})},{"../ApiClient":9}],33:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./EventInsights2017Detail")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventInsights2017=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.EventInsights2017Detail))}(this,function(e,t){"use strict";var i=function(){};return i.constructFromObject=function(e,n){return e&&(n=n||new i,e.hasOwnProperty("qual")&&(n.qual=t.constructFromObject(e.qual)),e.hasOwnProperty("playoff")&&(n.playoff=t.constructFromObject(e.playoff))),n},i.prototype.qual=void 0,i.prototype.playoff=void 0,i})},{"../ApiClient":9,"./EventInsights2017Detail":34}],34:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventInsights2017Detail=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t,i,n,r,o,a,s,p,c,l,u,y,h,d,v,f,m,g,_,T,w,b,A,E,S,k,P,M,O,C){var j=this;j.average_foul_score=e,j.average_fuel_points=t,j.average_fuel_points_auto=i,j.average_fuel_points_teleop=n,j.average_high_goals=r,j.average_high_goals_auto=o,j.average_high_goals_teleop=a,j.average_low_goals=s,j.average_low_goals_auto=p,j.average_low_goals_teleop=c,j.average_mobility_points_auto=l,j.average_points_auto=u,j.average_points_teleop=y,j.average_rotor_points=h,j.average_rotor_points_auto=d,j.average_rotor_points_teleop=v,j.average_score=f,j.average_takeoff_points_teleop=m,j.average_win_margin=g,j.average_win_score=_,j.high_kpa=T,j.high_score=w,j.kpa_achieved=b,j.mobility_counts=A,j.rotor_1_engaged=E,j.rotor_1_engaged_auto=S,j.rotor_2_engaged=k,j.rotor_2_engaged_auto=P,j.rotor_3_engaged=M,j.rotor_4_engaged=O,j.takeoff_counts=C};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("average_foul_score")&&(n.average_foul_score=e.convertToType(i.average_foul_score,"Number")),i.hasOwnProperty("average_fuel_points")&&(n.average_fuel_points=e.convertToType(i.average_fuel_points,"Number")),i.hasOwnProperty("average_fuel_points_auto")&&(n.average_fuel_points_auto=e.convertToType(i.average_fuel_points_auto,"Number")),i.hasOwnProperty("average_fuel_points_teleop")&&(n.average_fuel_points_teleop=e.convertToType(i.average_fuel_points_teleop,"Number")),i.hasOwnProperty("average_high_goals")&&(n.average_high_goals=e.convertToType(i.average_high_goals,"Number")),i.hasOwnProperty("average_high_goals_auto")&&(n.average_high_goals_auto=e.convertToType(i.average_high_goals_auto,"Number")),i.hasOwnProperty("average_high_goals_teleop")&&(n.average_high_goals_teleop=e.convertToType(i.average_high_goals_teleop,"Number")),i.hasOwnProperty("average_low_goals")&&(n.average_low_goals=e.convertToType(i.average_low_goals,"Number")),i.hasOwnProperty("average_low_goals_auto")&&(n.average_low_goals_auto=e.convertToType(i.average_low_goals_auto,"Number")),i.hasOwnProperty("average_low_goals_teleop")&&(n.average_low_goals_teleop=e.convertToType(i.average_low_goals_teleop,"Number")),i.hasOwnProperty("average_mobility_points_auto")&&(n.average_mobility_points_auto=e.convertToType(i.average_mobility_points_auto,"Number")),i.hasOwnProperty("average_points_auto")&&(n.average_points_auto=e.convertToType(i.average_points_auto,"Number")),i.hasOwnProperty("average_points_teleop")&&(n.average_points_teleop=e.convertToType(i.average_points_teleop,"Number")),i.hasOwnProperty("average_rotor_points")&&(n.average_rotor_points=e.convertToType(i.average_rotor_points,"Number")),i.hasOwnProperty("average_rotor_points_auto")&&(n.average_rotor_points_auto=e.convertToType(i.average_rotor_points_auto,"Number")),i.hasOwnProperty("average_rotor_points_teleop")&&(n.average_rotor_points_teleop=e.convertToType(i.average_rotor_points_teleop,"Number")),i.hasOwnProperty("average_score")&&(n.average_score=e.convertToType(i.average_score,"Number")),i.hasOwnProperty("average_takeoff_points_teleop")&&(n.average_takeoff_points_teleop=e.convertToType(i.average_takeoff_points_teleop,"Number")),i.hasOwnProperty("average_win_margin")&&(n.average_win_margin=e.convertToType(i.average_win_margin,"Number")),i.hasOwnProperty("average_win_score")&&(n.average_win_score=e.convertToType(i.average_win_score,"Number")),i.hasOwnProperty("high_kpa")&&(n.high_kpa=e.convertToType(i.high_kpa,["String"])),i.hasOwnProperty("high_score")&&(n.high_score=e.convertToType(i.high_score,["String"])),i.hasOwnProperty("kpa_achieved")&&(n.kpa_achieved=e.convertToType(i.kpa_achieved,["Number"])),i.hasOwnProperty("mobility_counts")&&(n.mobility_counts=e.convertToType(i.mobility_counts,["Number"])),i.hasOwnProperty("rotor_1_engaged")&&(n.rotor_1_engaged=e.convertToType(i.rotor_1_engaged,["Number"])),i.hasOwnProperty("rotor_1_engaged_auto")&&(n.rotor_1_engaged_auto=e.convertToType(i.rotor_1_engaged_auto,["Number"])),i.hasOwnProperty("rotor_2_engaged")&&(n.rotor_2_engaged=e.convertToType(i.rotor_2_engaged,["Number"])),i.hasOwnProperty("rotor_2_engaged_auto")&&(n.rotor_2_engaged_auto=e.convertToType(i.rotor_2_engaged_auto,["Number"])),i.hasOwnProperty("rotor_3_engaged")&&(n.rotor_3_engaged=e.convertToType(i.rotor_3_engaged,["Number"])),i.hasOwnProperty("rotor_4_engaged")&&(n.rotor_4_engaged=e.convertToType(i.rotor_4_engaged,["Number"])),i.hasOwnProperty("takeoff_counts")&&(n.takeoff_counts=e.convertToType(i.takeoff_counts,["Number"]))),n},t.prototype.average_foul_score=void 0,t.prototype.average_fuel_points=void 0,t.prototype.average_fuel_points_auto=void 0,t.prototype.average_fuel_points_teleop=void 0,t.prototype.average_high_goals=void 0,t.prototype.average_high_goals_auto=void 0,t.prototype.average_high_goals_teleop=void 0,t.prototype.average_low_goals=void 0,t.prototype.average_low_goals_auto=void 0,t.prototype.average_low_goals_teleop=void 0,t.prototype.average_mobility_points_auto=void 0,t.prototype.average_points_auto=void 0,t.prototype.average_points_teleop=void 0,t.prototype.average_rotor_points=void 0,t.prototype.average_rotor_points_auto=void 0,t.prototype.average_rotor_points_teleop=void 0,t.prototype.average_score=void 0,t.prototype.average_takeoff_points_teleop=void 0,t.prototype.average_win_margin=void 0,t.prototype.average_win_score=void 0,t.prototype.high_kpa=void 0,t.prototype.high_score=void 0,t.prototype.kpa_achieved=void 0,t.prototype.mobility_counts=void 0,t.prototype.rotor_1_engaged=void 0,t.prototype.rotor_1_engaged_auto=void 0,t.prototype.rotor_2_engaged=void 0,t.prototype.rotor_2_engaged_auto=void 0,t.prototype.rotor_3_engaged=void 0,t.prototype.rotor_4_engaged=void 0,t.prototype.takeoff_counts=void 0,t})},{"../ApiClient":9}],35:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventOPRs=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("oprs")&&(n.oprs=e.convertToType(i.oprs,{String:"Number"})),i.hasOwnProperty("dprs")&&(n.dprs=e.convertToType(i.dprs,{String:"Number"})),i.hasOwnProperty("ccwms")&&(n.ccwms=e.convertToType(i.ccwms,{String:"Number"}))),n},t.prototype.oprs=void 0,t.prototype.dprs=void 0,t.prototype.ccwms=void 0,t})},{"../ApiClient":9}],36:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventPredictions=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(e,i){return e&&(i=i||new t),i},t})},{"../ApiClient":9}],37:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./EventRankingExtraStatsInfo"),e("./EventRankingRankings"),e("./EventRankingSortOrderInfo")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventRanking=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.EventRankingExtraStatsInfo,i.TbaApiV3client.EventRankingRankings,i.TbaApiV3client.EventRankingSortOrderInfo))}(this,function(e,t,i,n){"use strict";var r=function(e,t){var i=this;i.rankings=e,i.sort_order_info=t};return r.constructFromObject=function(o,a){return o&&(a=a||new r,o.hasOwnProperty("rankings")&&(a.rankings=e.convertToType(o.rankings,[i])),o.hasOwnProperty("extra_stats_info")&&(a.extra_stats_info=e.convertToType(o.extra_stats_info,[t])),o.hasOwnProperty("sort_order_info")&&(a.sort_order_info=e.convertToType(o.sort_order_info,[n]))),a},r.prototype.rankings=void 0,r.prototype.extra_stats_info=void 0,r.prototype.sort_order_info=void 0,r})},{"../ApiClient":9,"./EventRankingExtraStatsInfo":38,"./EventRankingRankings":39,"./EventRankingSortOrderInfo":40}],38:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventRankingExtraStatsInfo=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t){var i=this;i.name=e,i.precision=t};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("name")&&(n.name=e.convertToType(i.name,"String")),i.hasOwnProperty("precision")&&(n.precision=e.convertToType(i.precision,"Number"))),n},t.prototype.name=void 0,t.prototype.precision=void 0,t})},{"../ApiClient":9}],39:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./WLTRecord")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventRankingRankings=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.WLTRecord))}(this,function(e,t){"use strict";var i=function(e,t,i,n,r){var o=this;o.dq=e,o.matches_played=t,o.rank=i,o.record=n,o.team_key=r};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("dq")&&(r.dq=e.convertToType(n.dq,"Number")),n.hasOwnProperty("matches_played")&&(r.matches_played=e.convertToType(n.matches_played,"Number")),n.hasOwnProperty("qual_average")&&(r.qual_average=e.convertToType(n.qual_average,"Number")),n.hasOwnProperty("rank")&&(r.rank=e.convertToType(n.rank,"Number")),n.hasOwnProperty("record")&&(r.record=t.constructFromObject(n.record)),n.hasOwnProperty("extra_stats")&&(r.extra_stats=e.convertToType(n.extra_stats,["Number"])),n.hasOwnProperty("sort_orders")&&(r.sort_orders=e.convertToType(n.sort_orders,["Number"])),n.hasOwnProperty("team_key")&&(r.team_key=e.convertToType(n.team_key,"String"))),r},i.prototype.dq=void 0,i.prototype.matches_played=void 0,i.prototype.qual_average=void 0,i.prototype.rank=void 0,i.prototype.record=void 0,i.prototype.extra_stats=void 0,i.prototype.sort_orders=void 0,i.prototype.team_key=void 0,i})},{"../ApiClient":9,"./WLTRecord":64}],40:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventRankingSortOrderInfo=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t){var i=this;i.name=e,i.precision=t};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("name")&&(n.name=e.convertToType(i.name,"String")),i.hasOwnProperty("precision")&&(n.precision=e.convertToType(i.precision,"Number"))),n},t.prototype.name=void 0,t.prototype.precision=void 0,t})},{"../ApiClient":9}],41:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./DistrictList")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.EventSimple=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.DistrictList))}(this,function(e,t){"use strict";var i=function(e,t,i,n,r,o,a){var s=this;s.key=e,s.name=t,s.event_code=i,s.event_type=n,s.start_date=r,s.end_date=o,s.year=a};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("key")&&(r.key=e.convertToType(n.key,"String")),n.hasOwnProperty("name")&&(r.name=e.convertToType(n.name,"String")),n.hasOwnProperty("event_code")&&(r.event_code=e.convertToType(n.event_code,"String")),n.hasOwnProperty("event_type")&&(r.event_type=e.convertToType(n.event_type,"Number")),n.hasOwnProperty("district")&&(r.district=t.constructFromObject(n.district)),n.hasOwnProperty("city")&&(r.city=e.convertToType(n.city,"String")),n.hasOwnProperty("state_prov")&&(r.state_prov=e.convertToType(n.state_prov,"String")),n.hasOwnProperty("country")&&(r.country=e.convertToType(n.country,"String")),n.hasOwnProperty("start_date")&&(r.start_date=e.convertToType(n.start_date,"Date")),n.hasOwnProperty("end_date")&&(r.end_date=e.convertToType(n.end_date,"Date")),n.hasOwnProperty("year")&&(r.year=e.convertToType(n.year,"Number"))),r},i.prototype.key=void 0,i.prototype.name=void 0,i.prototype.event_code=void 0,i.prototype.event_type=void 0,i.prototype.district=void 0,i.prototype.city=void 0,i.prototype.state_prov=void 0,i.prototype.country=void 0,i.prototype.start_date=void 0,i.prototype.end_date=void 0,i.prototype.year=void 0,i})},{"../ApiClient":9,"./DistrictList":21}],42:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./MatchSimpleAlliances"),e("./MatchVideos")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.Match=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.MatchSimpleAlliances,i.TbaApiV3client.MatchVideos))}(this,function(e,t,i){"use strict";var n=function(e,t,i,n,r){var o=this;o.key=e,o.comp_level=t,o.set_number=i,o.match_number=n,o.event_key=r};return n.constructFromObject=function(r,o){return r&&(o=o||new n,r.hasOwnProperty("key")&&(o.key=e.convertToType(r.key,"String")),r.hasOwnProperty("comp_level")&&(o.comp_level=e.convertToType(r.comp_level,"String")),r.hasOwnProperty("set_number")&&(o.set_number=e.convertToType(r.set_number,"Number")),r.hasOwnProperty("match_number")&&(o.match_number=e.convertToType(r.match_number,"Number")),r.hasOwnProperty("alliances")&&(o.alliances=t.constructFromObject(r.alliances)),r.hasOwnProperty("winning_alliance")&&(o.winning_alliance=e.convertToType(r.winning_alliance,"String")),r.hasOwnProperty("event_key")&&(o.event_key=e.convertToType(r.event_key,"String")),r.hasOwnProperty("time")&&(o.time=e.convertToType(r.time,"Number")),r.hasOwnProperty("actual_time")&&(o.actual_time=e.convertToType(r.actual_time,"Number")),r.hasOwnProperty("predicted_time")&&(o.predicted_time=e.convertToType(r.predicted_time,"Number")),r.hasOwnProperty("post_result_time")&&(o.post_result_time=e.convertToType(r.post_result_time,"Number")),r.hasOwnProperty("score_breakdown")&&(o.score_breakdown=e.convertToType(r.score_breakdown,Object)),r.hasOwnProperty("videos")&&(o.videos=e.convertToType(r.videos,[i]))),o},n.prototype.key=void 0,n.prototype.comp_level=void 0,n.prototype.set_number=void 0,n.prototype.match_number=void 0,n.prototype.alliances=void 0,n.prototype.winning_alliance=void 0,n.prototype.event_key=void 0,n.prototype.time=void 0,n.prototype.actual_time=void 0,n.prototype.predicted_time=void 0,n.prototype.post_result_time=void 0,n.prototype.score_breakdown=void 0,n.prototype.videos=void 0,n.CompLevelEnum={qm:"qm",ef:"ef",qf:"qf",sf:"sf",f:"f"},n})},{"../ApiClient":9,"./MatchSimpleAlliances":51,"./MatchVideos":52}],43:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchAlliance=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t){var i=this;i.score=e,i.team_keys=t};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("score")&&(n.score=e.convertToType(i.score,"Number")),i.hasOwnProperty("team_keys")&&(n.team_keys=e.convertToType(i.team_keys,["String"])),i.hasOwnProperty("surrogate_team_keys")&&(n.surrogate_team_keys=e.convertToType(i.surrogate_team_keys,["String"])),i.hasOwnProperty("dq_team_keys")&&(n.dq_team_keys=e.convertToType(i.dq_team_keys,["String"]))),n},t.prototype.score=void 0,t.prototype.team_keys=void 0,t.prototype.surrogate_team_keys=void 0,t.prototype.dq_team_keys=void 0,t})},{"../ApiClient":9}],44:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./MatchScoreBreakdown2015Alliance")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchScoreBreakdown2015=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.MatchScoreBreakdown2015Alliance))}(this,function(e,t){"use strict";var i=function(){};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("blue")&&(r.blue=t.constructFromObject(n.blue)),n.hasOwnProperty("red")&&(r.red=t.constructFromObject(n.red)),n.hasOwnProperty("coopertition")&&(r.coopertition=e.convertToType(n.coopertition,"String")),n.hasOwnProperty("coopertition_points")&&(r.coopertition_points=e.convertToType(n.coopertition_points,"Number"))),r},i.prototype.blue=void 0,i.prototype.red=void 0,i.prototype.coopertition=void 0,i.prototype.coopertition_points=void 0,i.CoopertitionEnum={None:"None",Unknown:"Unknown",Stack:"Stack"},i})},{"../ApiClient":9,"./MatchScoreBreakdown2015Alliance":45}],45:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchScoreBreakdown2015Alliance=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("auto_points")&&(n.auto_points=e.convertToType(i.auto_points,"Number")),i.hasOwnProperty("teleop_points")&&(n.teleop_points=e.convertToType(i.teleop_points,"Number")),i.hasOwnProperty("container_points")&&(n.container_points=e.convertToType(i.container_points,"Number")),i.hasOwnProperty("tote_points")&&(n.tote_points=e.convertToType(i.tote_points,"Number")),i.hasOwnProperty("litter_points")&&(n.litter_points=e.convertToType(i.litter_points,"Number")),i.hasOwnProperty("foul_points")&&(n.foul_points=e.convertToType(i.foul_points,"Number")),i.hasOwnProperty("adjust_points")&&(n.adjust_points=e.convertToType(i.adjust_points,"Number")),i.hasOwnProperty("total_points")&&(n.total_points=e.convertToType(i.total_points,"Number")),i.hasOwnProperty("foul_count")&&(n.foul_count=e.convertToType(i.foul_count,"Number")),i.hasOwnProperty("tote_count_far")&&(n.tote_count_far=e.convertToType(i.tote_count_far,"Number")),i.hasOwnProperty("tote_count_near")&&(n.tote_count_near=e.convertToType(i.tote_count_near,"Number")),i.hasOwnProperty("tote_set")&&(n.tote_set=e.convertToType(i.tote_set,"Boolean")),i.hasOwnProperty("tote_stack")&&(n.tote_stack=e.convertToType(i.tote_stack,"Boolean")),i.hasOwnProperty("container_count_level1")&&(n.container_count_level1=e.convertToType(i.container_count_level1,"Number")),i.hasOwnProperty("container_count_level2")&&(n.container_count_level2=e.convertToType(i.container_count_level2,"Number")),i.hasOwnProperty("container_count_level3")&&(n.container_count_level3=e.convertToType(i.container_count_level3,"Number")),i.hasOwnProperty("container_count_level4")&&(n.container_count_level4=e.convertToType(i.container_count_level4,"Number")),i.hasOwnProperty("container_count_level5")&&(n.container_count_level5=e.convertToType(i.container_count_level5,"Number")),i.hasOwnProperty("container_count_level6")&&(n.container_count_level6=e.convertToType(i.container_count_level6,"Number")),i.hasOwnProperty("container_set")&&(n.container_set=e.convertToType(i.container_set,"Boolean")),i.hasOwnProperty("litter_count_container")&&(n.litter_count_container=e.convertToType(i.litter_count_container,"Number")),i.hasOwnProperty("litter_count_landfill")&&(n.litter_count_landfill=e.convertToType(i.litter_count_landfill,"Number")),i.hasOwnProperty("litter_count_unprocessed")&&(n.litter_count_unprocessed=e.convertToType(i.litter_count_unprocessed,"Number")),i.hasOwnProperty("robot_set")&&(n.robot_set=e.convertToType(i.robot_set,"Boolean"))),n},t.prototype.auto_points=void 0,t.prototype.teleop_points=void 0,t.prototype.container_points=void 0,t.prototype.tote_points=void 0,t.prototype.litter_points=void 0,t.prototype.foul_points=void 0,t.prototype.adjust_points=void 0,t.prototype.total_points=void 0,t.prototype.foul_count=void 0,t.prototype.tote_count_far=void 0,t.prototype.tote_count_near=void 0,t.prototype.tote_set=void 0,t.prototype.tote_stack=void 0,t.prototype.container_count_level1=void 0,t.prototype.container_count_level2=void 0,t.prototype.container_count_level3=void 0,t.prototype.container_count_level4=void 0,t.prototype.container_count_level5=void 0,t.prototype.container_count_level6=void 0,t.prototype.container_set=void 0,t.prototype.litter_count_container=void 0,t.prototype.litter_count_landfill=void 0,t.prototype.litter_count_unprocessed=void 0,t.prototype.robot_set=void 0,t})},{"../ApiClient":9}],46:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./MatchScoreBreakdown2016Alliance")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchScoreBreakdown2016=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.MatchScoreBreakdown2016Alliance))}(this,function(e,t){"use strict";var i=function(){};return i.constructFromObject=function(e,n){return e&&(n=n||new i,e.hasOwnProperty("blue")&&(n.blue=t.constructFromObject(e.blue)),e.hasOwnProperty("red")&&(n.red=t.constructFromObject(e.red))),n},i.prototype.blue=void 0,i.prototype.red=void 0,i})},{"../ApiClient":9,"./MatchScoreBreakdown2016Alliance":47}],47:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchScoreBreakdown2016Alliance=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("autoPoints")&&(n.autoPoints=e.convertToType(i.autoPoints,"Number")),i.hasOwnProperty("teleopPoints")&&(n.teleopPoints=e.convertToType(i.teleopPoints,"Number")),i.hasOwnProperty("breechPoints")&&(n.breechPoints=e.convertToType(i.breechPoints,"Number")),i.hasOwnProperty("foulPoints")&&(n.foulPoints=e.convertToType(i.foulPoints,"Number")),i.hasOwnProperty("capturePoints")&&(n.capturePoints=e.convertToType(i.capturePoints,"Number")),i.hasOwnProperty("adjustPoints")&&(n.adjustPoints=e.convertToType(i.adjustPoints,"Number")),i.hasOwnProperty("totalPoints")&&(n.totalPoints=e.convertToType(i.totalPoints,"Number")),i.hasOwnProperty("robot1Auto")&&(n.robot1Auto=e.convertToType(i.robot1Auto,"String")),i.hasOwnProperty("robot2Auto")&&(n.robot2Auto=e.convertToType(i.robot2Auto,"String")),i.hasOwnProperty("robot3Auto")&&(n.robot3Auto=e.convertToType(i.robot3Auto,"String")),i.hasOwnProperty("autoReachPoints")&&(n.autoReachPoints=e.convertToType(i.autoReachPoints,"Number")),i.hasOwnProperty("autoCrossingPoints")&&(n.autoCrossingPoints=e.convertToType(i.autoCrossingPoints,"Number")),i.hasOwnProperty("autoBouldersLow")&&(n.autoBouldersLow=e.convertToType(i.autoBouldersLow,"Number")),i.hasOwnProperty("autoBouldersHigh")&&(n.autoBouldersHigh=e.convertToType(i.autoBouldersHigh,"Number")),i.hasOwnProperty("autoBoulderPoints")&&(n.autoBoulderPoints=e.convertToType(i.autoBoulderPoints,"Number")),i.hasOwnProperty("teleopCrossingPoints")&&(n.teleopCrossingPoints=e.convertToType(i.teleopCrossingPoints,"Number")),i.hasOwnProperty("teleopBouldersLow")&&(n.teleopBouldersLow=e.convertToType(i.teleopBouldersLow,"Number")),i.hasOwnProperty("teleopBouldersHigh")&&(n.teleopBouldersHigh=e.convertToType(i.teleopBouldersHigh,"Number")),i.hasOwnProperty("teleopBoulderPoints")&&(n.teleopBoulderPoints=e.convertToType(i.teleopBoulderPoints,"Number")),i.hasOwnProperty("teleopDefensesBreached")&&(n.teleopDefensesBreached=e.convertToType(i.teleopDefensesBreached,"Boolean")),i.hasOwnProperty("teleopChallengePoints")&&(n.teleopChallengePoints=e.convertToType(i.teleopChallengePoints,"Number")),i.hasOwnProperty("teleopScalePoints")&&(n.teleopScalePoints=e.convertToType(i.teleopScalePoints,"Number")),i.hasOwnProperty("teleopTowerCaptured")&&(n.teleopTowerCaptured=e.convertToType(i.teleopTowerCaptured,"Number")),i.hasOwnProperty("towerFaceA")&&(n.towerFaceA=e.convertToType(i.towerFaceA,"String")),i.hasOwnProperty("towerFaceB")&&(n.towerFaceB=e.convertToType(i.towerFaceB,"String")),i.hasOwnProperty("towerFaceC")&&(n.towerFaceC=e.convertToType(i.towerFaceC,"String")),i.hasOwnProperty("towerEndStrength")&&(n.towerEndStrength=e.convertToType(i.towerEndStrength,"Number")),i.hasOwnProperty("techFoulCount")&&(n.techFoulCount=e.convertToType(i.techFoulCount,"Number")),i.hasOwnProperty("foulCount")&&(n.foulCount=e.convertToType(i.foulCount,"Number")),i.hasOwnProperty("position2")&&(n.position2=e.convertToType(i.position2,"String")),i.hasOwnProperty("position3")&&(n.position3=e.convertToType(i.position3,"String")),i.hasOwnProperty("position4")&&(n.position4=e.convertToType(i.position4,"String")),i.hasOwnProperty("position5")&&(n.position5=e.convertToType(i.position5,"String")),i.hasOwnProperty("position1crossings")&&(n.position1crossings=e.convertToType(i.position1crossings,"Number")),i.hasOwnProperty("position2crossings")&&(n.position2crossings=e.convertToType(i.position2crossings,"Number")),i.hasOwnProperty("position3crossings")&&(n.position3crossings=e.convertToType(i.position3crossings,"Number")),i.hasOwnProperty("position4crossings")&&(n.position4crossings=e.convertToType(i.position4crossings,"Number")),i.hasOwnProperty("position5crossings")&&(n.position5crossings=e.convertToType(i.position5crossings,"Number"))),n},t.prototype.autoPoints=void 0,t.prototype.teleopPoints=void 0,t.prototype.breechPoints=void 0,t.prototype.foulPoints=void 0,t.prototype.capturePoints=void 0,t.prototype.adjustPoints=void 0,t.prototype.totalPoints=void 0,t.prototype.robot1Auto=void 0,t.prototype.robot2Auto=void 0,t.prototype.robot3Auto=void 0,t.prototype.autoReachPoints=void 0,t.prototype.autoCrossingPoints=void 0,t.prototype.autoBouldersLow=void 0,t.prototype.autoBouldersHigh=void 0,t.prototype.autoBoulderPoints=void 0,t.prototype.teleopCrossingPoints=void 0,t.prototype.teleopBouldersLow=void 0,t.prototype.teleopBouldersHigh=void 0,t.prototype.teleopBoulderPoints=void 0,t.prototype.teleopDefensesBreached=void 0,t.prototype.teleopChallengePoints=void 0,t.prototype.teleopScalePoints=void 0,t.prototype.teleopTowerCaptured=void 0,t.prototype.towerFaceA=void 0,t.prototype.towerFaceB=void 0,t.prototype.towerFaceC=void 0,t.prototype.towerEndStrength=void 0,t.prototype.techFoulCount=void 0,t.prototype.foulCount=void 0,t.prototype.position2=void 0,t.prototype.position3=void 0,t.prototype.position4=void 0,t.prototype.position5=void 0,t.prototype.position1crossings=void 0,t.prototype.position2crossings=void 0,t.prototype.position3crossings=void 0,t.prototype.position4crossings=void 0,t.prototype.position5crossings=void 0,t.Robot1AutoEnum={Crossed:"Crossed",Reached:"Reached",None:"None"},t.Robot2AutoEnum={Crossed:"Crossed",Reached:"Reached",None:"None"},t.Robot3AutoEnum={Crossed:"Crossed",Reached:"Reached",None:"None"},t})},{"../ApiClient":9}],48:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./MatchScoreBreakdown2017Alliance")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchScoreBreakdown2017=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.MatchScoreBreakdown2017Alliance))}(this,function(e,t){"use strict";var i=function(){};return i.constructFromObject=function(e,n){return e&&(n=n||new i,e.hasOwnProperty("blue")&&(n.blue=t.constructFromObject(e.blue)),e.hasOwnProperty("red")&&(n.red=t.constructFromObject(e.red))),n},i.prototype.blue=void 0,i.prototype.red=void 0,i})},{"../ApiClient":9,"./MatchScoreBreakdown2017Alliance":49}],49:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchScoreBreakdown2017Alliance=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("autoPoints")&&(n.autoPoints=e.convertToType(i.autoPoints,"Number")),i.hasOwnProperty("teleopPoints")&&(n.teleopPoints=e.convertToType(i.teleopPoints,"Number")),i.hasOwnProperty("breechPoints")&&(n.breechPoints=e.convertToType(i.breechPoints,"Number")),i.hasOwnProperty("foulPoints")&&(n.foulPoints=e.convertToType(i.foulPoints,"Number")),i.hasOwnProperty("capturePoints")&&(n.capturePoints=e.convertToType(i.capturePoints,"Number")),i.hasOwnProperty("adjustPoints")&&(n.adjustPoints=e.convertToType(i.adjustPoints,"Number")),i.hasOwnProperty("totalPoints")&&(n.totalPoints=e.convertToType(i.totalPoints,"Number")),i.hasOwnProperty("robot1Auto")&&(n.robot1Auto=e.convertToType(i.robot1Auto,"String")),i.hasOwnProperty("robot2Auto")&&(n.robot2Auto=e.convertToType(i.robot2Auto,"String")),i.hasOwnProperty("robot3Auto")&&(n.robot3Auto=e.convertToType(i.robot3Auto,"String")),i.hasOwnProperty("rotor1Auto")&&(n.rotor1Auto=e.convertToType(i.rotor1Auto,"Boolean")),i.hasOwnProperty("rotor2Auto")&&(n.rotor2Auto=e.convertToType(i.rotor2Auto,"Boolean")),i.hasOwnProperty("autoFuelLow")&&(n.autoFuelLow=e.convertToType(i.autoFuelLow,"Number")),i.hasOwnProperty("autoFuelHigh")&&(n.autoFuelHigh=e.convertToType(i.autoFuelHigh,"Number")),i.hasOwnProperty("autoMobilityPoints")&&(n.autoMobilityPoints=e.convertToType(i.autoMobilityPoints,"Number")),i.hasOwnProperty("autoRotorPoints")&&(n.autoRotorPoints=e.convertToType(i.autoRotorPoints,"Number")),i.hasOwnProperty("autoFuelPoints")&&(n.autoFuelPoints=e.convertToType(i.autoFuelPoints,"Number")),i.hasOwnProperty("teleopFuelPoints")&&(n.teleopFuelPoints=e.convertToType(i.teleopFuelPoints,"Number")),i.hasOwnProperty("teleopFuelLow")&&(n.teleopFuelLow=e.convertToType(i.teleopFuelLow,"Number")),i.hasOwnProperty("teleopFuelHigh")&&(n.teleopFuelHigh=e.convertToType(i.teleopFuelHigh,"Number")),i.hasOwnProperty("teleopRotorPoints")&&(n.teleopRotorPoints=e.convertToType(i.teleopRotorPoints,"Number")),i.hasOwnProperty("kPaRankingPointAchieved")&&(n.kPaRankingPointAchieved=e.convertToType(i.kPaRankingPointAchieved,"Boolean")),i.hasOwnProperty("teleopTakeoffPoints")&&(n.teleopTakeoffPoints=e.convertToType(i.teleopTakeoffPoints,"Number")),i.hasOwnProperty("kPaBonusPoints")&&(n.kPaBonusPoints=e.convertToType(i.kPaBonusPoints,"Number")),i.hasOwnProperty("rotorBonusPoints")&&(n.rotorBonusPoints=e.convertToType(i.rotorBonusPoints,"Number")),i.hasOwnProperty("rotor1Engaged")&&(n.rotor1Engaged=e.convertToType(i.rotor1Engaged,"Boolean")),i.hasOwnProperty("rotor2Engaged")&&(n.rotor2Engaged=e.convertToType(i.rotor2Engaged,"Boolean")),i.hasOwnProperty("rotor3Engaged")&&(n.rotor3Engaged=e.convertToType(i.rotor3Engaged,"Boolean")),i.hasOwnProperty("rotor4Engaged")&&(n.rotor4Engaged=e.convertToType(i.rotor4Engaged,"Boolean")),i.hasOwnProperty("rotorRankingPointAchieved")&&(n.rotorRankingPointAchieved=e.convertToType(i.rotorRankingPointAchieved,"Boolean")),i.hasOwnProperty("techFoulCount")&&(n.techFoulCount=e.convertToType(i.techFoulCount,"Number")),i.hasOwnProperty("foulCount")&&(n.foulCount=e.convertToType(i.foulCount,"Number")),i.hasOwnProperty("touchpadNear")&&(n.touchpadNear=e.convertToType(i.touchpadNear,"String")),i.hasOwnProperty("touchpadMiddle")&&(n.touchpadMiddle=e.convertToType(i.touchpadMiddle,"String")),i.hasOwnProperty("touchpadFar")&&(n.touchpadFar=e.convertToType(i.touchpadFar,"String"))),n},t.prototype.autoPoints=void 0,t.prototype.teleopPoints=void 0,t.prototype.breechPoints=void 0,t.prototype.foulPoints=void 0,t.prototype.capturePoints=void 0,t.prototype.adjustPoints=void 0,t.prototype.totalPoints=void 0,t.prototype.robot1Auto=void 0,t.prototype.robot2Auto=void 0,t.prototype.robot3Auto=void 0,t.prototype.rotor1Auto=void 0,t.prototype.rotor2Auto=void 0,t.prototype.autoFuelLow=void 0,t.prototype.autoFuelHigh=void 0,t.prototype.autoMobilityPoints=void 0,t.prototype.autoRotorPoints=void 0,t.prototype.autoFuelPoints=void 0,t.prototype.teleopFuelPoints=void 0,t.prototype.teleopFuelLow=void 0,t.prototype.teleopFuelHigh=void 0,t.prototype.teleopRotorPoints=void 0,t.prototype.kPaRankingPointAchieved=void 0,t.prototype.teleopTakeoffPoints=void 0,t.prototype.kPaBonusPoints=void 0,t.prototype.rotorBonusPoints=void 0,t.prototype.rotor1Engaged=void 0,t.prototype.rotor2Engaged=void 0,t.prototype.rotor3Engaged=void 0,t.prototype.rotor4Engaged=void 0,t.prototype.rotorRankingPointAchieved=void 0,t.prototype.techFoulCount=void 0,t.prototype.foulCount=void 0,t.prototype.touchpadNear=void 0,t.prototype.touchpadMiddle=void 0,t.prototype.touchpadFar=void 0,t.Robot1AutoEnum={Unknown:"Unknown",Mobility:"Mobility",None:"None"},t.Robot2AutoEnum={Unknown:"Unknown",Mobility:"Mobility",None:"None"},t.Robot3AutoEnum={Unknown:"Unknown",Mobility:"Mobility",None:"None"},t})},{"../ApiClient":9}],50:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./MatchSimpleAlliances")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchSimple=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.MatchSimpleAlliances))}(this,function(e,t){"use strict";var i=function(e,t,i,n,r){var o=this;o.key=e,o.comp_level=t,o.set_number=i,o.match_number=n,o.event_key=r};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("key")&&(r.key=e.convertToType(n.key,"String")),n.hasOwnProperty("comp_level")&&(r.comp_level=e.convertToType(n.comp_level,"String")),n.hasOwnProperty("set_number")&&(r.set_number=e.convertToType(n.set_number,"Number")),n.hasOwnProperty("match_number")&&(r.match_number=e.convertToType(n.match_number,"Number")),n.hasOwnProperty("alliances")&&(r.alliances=t.constructFromObject(n.alliances)),n.hasOwnProperty("winning_alliance")&&(r.winning_alliance=e.convertToType(n.winning_alliance,"String")),n.hasOwnProperty("event_key")&&(r.event_key=e.convertToType(n.event_key,"String")),n.hasOwnProperty("time")&&(r.time=e.convertToType(n.time,"Number")),n.hasOwnProperty("predicted_time")&&(r.predicted_time=e.convertToType(n.predicted_time,"Number")),n.hasOwnProperty("actual_time")&&(r.actual_time=e.convertToType(n.actual_time,"Number"))),r},i.prototype.key=void 0,i.prototype.comp_level=void 0,i.prototype.set_number=void 0,i.prototype.match_number=void 0,i.prototype.alliances=void 0,i.prototype.winning_alliance=void 0,i.prototype.event_key=void 0,i.prototype.time=void 0,i.prototype.predicted_time=void 0,i.prototype.actual_time=void 0,i.CompLevelEnum={qm:"qm",ef:"ef",qf:"qf",sf:"sf",f:"f"},i.WinningAllianceEnum={red:"red",blue:"blue"},i})},{"../ApiClient":9,"./MatchSimpleAlliances":51}],51:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./MatchAlliance")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchSimpleAlliances=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.MatchAlliance))}(this,function(e,t){"use strict";var i=function(){};return i.constructFromObject=function(e,n){return e&&(n=n||new i,e.hasOwnProperty("blue")&&(n.blue=t.constructFromObject(e.blue)),e.hasOwnProperty("red")&&(n.red=t.constructFromObject(e.red))),n},i.prototype.blue=void 0,i.prototype.red=void 0,i})},{"../ApiClient":9,"./MatchAlliance":43}],52:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.MatchVideos=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("key")&&(n.key=e.convertToType(i.key,"String")),i.hasOwnProperty("type")&&(n.type=e.convertToType(i.type,"String"))),n},t.prototype.key=void 0,t.prototype.type=void 0,t})},{"../ApiClient":9}],53:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.Media=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t){var i=this;i.key=e,i.type=t};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("key")&&(n.key=e.convertToType(i.key,"String")),i.hasOwnProperty("type")&&(n.type=e.convertToType(i.type,"String")),i.hasOwnProperty("foreign_key")&&(n.foreign_key=e.convertToType(i.foreign_key,"String")),i.hasOwnProperty("details")&&(n.details=e.convertToType(i.details,Object)),i.hasOwnProperty("preferred")&&(n.preferred=e.convertToType(i.preferred,"Boolean"))),n},t.prototype.key=void 0,t.prototype.type=void 0,t.prototype.foreign_key=void 0,t.prototype.details=void 0,t.prototype.preferred=void 0,t.TypeEnum={youtube:"youtube",cdphotothread:"cdphotothread",imgur:"imgur","facebook-profile":"facebook-profile","youtube-channel":"youtube-channel","twitter-profile":"twitter-profile","github-profile":"github-profile","instagram-profile":"instagram-profile","periscope-profile":"periscope-profile",grabcad:"grabcad","pinterest-profile":"pinterest-profile","snapchat-profile":"snapchat-profile","twitch-channel":"twitch-channel"},t})},{"../ApiClient":9}],54:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.Team=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t,i,n){var r=this;r.key=e,r.team_number=t,r.name=i,r.rookie_year=n};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("key")&&(n.key=e.convertToType(i.key,"String")),i.hasOwnProperty("team_number")&&(n.team_number=e.convertToType(i.team_number,"Number")),i.hasOwnProperty("nickname")&&(n.nickname=e.convertToType(i.nickname,"String")),i.hasOwnProperty("name")&&(n.name=e.convertToType(i.name,"String")),i.hasOwnProperty("city")&&(n.city=e.convertToType(i.city,"String")),i.hasOwnProperty("state_prov")&&(n.state_prov=e.convertToType(i.state_prov,"String")),i.hasOwnProperty("country")&&(n.country=e.convertToType(i.country,"String")),i.hasOwnProperty("address")&&(n.address=e.convertToType(i.address,"String")),i.hasOwnProperty("postal_code")&&(n.postal_code=e.convertToType(i.postal_code,"String")),i.hasOwnProperty("gmaps_place_id")&&(n.gmaps_place_id=e.convertToType(i.gmaps_place_id,"String")),i.hasOwnProperty("gmaps_url")&&(n.gmaps_url=e.convertToType(i.gmaps_url,"String")),i.hasOwnProperty("lat")&&(n.lat=e.convertToType(i.lat,"Number")),i.hasOwnProperty("lng")&&(n.lng=e.convertToType(i.lng,"Number")),i.hasOwnProperty("location_name")&&(n.location_name=e.convertToType(i.location_name,"String")),i.hasOwnProperty("website")&&(n.website=e.convertToType(i.website,"String")),i.hasOwnProperty("rookie_year")&&(n.rookie_year=e.convertToType(i.rookie_year,"Number")),i.hasOwnProperty("motto")&&(n.motto=e.convertToType(i.motto,"String")),i.hasOwnProperty("home_championship")&&(n.home_championship=e.convertToType(i.home_championship,Object))),n},t.prototype.key=void 0,t.prototype.team_number=void 0,t.prototype.nickname=void 0,t.prototype.name=void 0,t.prototype.city=void 0,t.prototype.state_prov=void 0,t.prototype.country=void 0,t.prototype.address=void 0,t.prototype.postal_code=void 0,t.prototype.gmaps_place_id=void 0,t.prototype.gmaps_url=void 0,t.prototype.lat=void 0,t.prototype.lng=void 0,t.prototype.location_name=void 0,t.prototype.website=void 0,t.prototype.rookie_year=void 0,t.prototype.motto=void 0,t.prototype.home_championship=void 0,t})},{"../ApiClient":9}],55:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./TeamEventStatusAlliance"),e("./TeamEventStatusPlayoff"),e("./TeamEventStatusRank")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TeamEventStatus=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.TeamEventStatusAlliance,i.TbaApiV3client.TeamEventStatusPlayoff,i.TbaApiV3client.TeamEventStatusRank))}(this,function(e,t,i,n){"use strict";var r=function(){};return r.constructFromObject=function(o,a){return o&&(a=a||new r,o.hasOwnProperty("qual")&&(a.qual=n.constructFromObject(o.qual)),o.hasOwnProperty("alliance")&&(a.alliance=t.constructFromObject(o.alliance)),o.hasOwnProperty("playoff")&&(a.playoff=i.constructFromObject(o.playoff)),o.hasOwnProperty("alliance_status_str")&&(a.alliance_status_str=e.convertToType(o.alliance_status_str,"String")),o.hasOwnProperty("playoff_status_str")&&(a.playoff_status_str=e.convertToType(o.playoff_status_str,"String")),o.hasOwnProperty("overall_status_str")&&(a.overall_status_str=e.convertToType(o.overall_status_str,"String"))),a},r.prototype.qual=void 0,r.prototype.alliance=void 0,r.prototype.playoff=void 0,r.prototype.alliance_status_str=void 0,r.prototype.playoff_status_str=void 0,r.prototype.overall_status_str=void 0,r})},{"../ApiClient":9,"./TeamEventStatusAlliance":56,"./TeamEventStatusPlayoff":58,"./TeamEventStatusRank":59}],56:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./TeamEventStatusAllianceBackup")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TeamEventStatusAlliance=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.TeamEventStatusAllianceBackup))}(this,function(e,t){"use strict";var i=function(e,t){var i=this;i.number=e,i.pick=t};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("name")&&(r.name=e.convertToType(n.name,"String")),n.hasOwnProperty("number")&&(r.number=e.convertToType(n.number,"Number")),n.hasOwnProperty("backup")&&(r.backup=t.constructFromObject(n.backup)),n.hasOwnProperty("pick")&&(r.pick=e.convertToType(n.pick,"Number"))),r},i.prototype.name=void 0,i.prototype.number=void 0,i.prototype.backup=void 0,i.prototype.pick=void 0,i})},{"../ApiClient":9,"./TeamEventStatusAllianceBackup":57}],57:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TeamEventStatusAllianceBackup=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("out")&&(n.out=e.convertToType(i.out,"String")),i.hasOwnProperty("in")&&(n.in=e.convertToType(i.in,"String"))),n},t.prototype.out=void 0,t.prototype.in=void 0,t})},{"../ApiClient":9}],58:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./WLTRecord")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TeamEventStatusPlayoff=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.WLTRecord))}(this,function(e,t){"use strict";var i=function(){};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("level")&&(r.level=e.convertToType(n.level,"String")),n.hasOwnProperty("current_level_record")&&(r.current_level_record=t.constructFromObject(n.current_level_record)),n.hasOwnProperty("record")&&(r.record=t.constructFromObject(n.record)),n.hasOwnProperty("status")&&(r.status=e.convertToType(n.status,"String")),n.hasOwnProperty("playoff_average")&&(r.playoff_average=e.convertToType(n.playoff_average,"Number"))),r},i.prototype.level=void 0,i.prototype.current_level_record=void 0,i.prototype.record=void 0,i.prototype.status=void 0,i.prototype.playoff_average=void 0,i.LevelEnum={qm:"qm",ef:"ef",qf:"qf",sf:"sf",f:"f"},i.StatusEnum={won:"won",eliminated:"eliminated",playing:"playing"},i})},{"../ApiClient":9,"./WLTRecord":64}],59:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./TeamEventStatusRankRanking"),e("./TeamEventStatusRankSortOrderInfo")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TeamEventStatusRank=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.TeamEventStatusRankRanking,i.TbaApiV3client.TeamEventStatusRankSortOrderInfo))}(this,function(e,t,i){"use strict";var n=function(){};return n.constructFromObject=function(r,o){return r&&(o=o||new n,r.hasOwnProperty("num_teams")&&(o.num_teams=e.convertToType(r.num_teams,"Number")),r.hasOwnProperty("ranking")&&(o.ranking=t.constructFromObject(r.ranking)),r.hasOwnProperty("sort_order_info")&&(o.sort_order_info=e.convertToType(r.sort_order_info,[i])),r.hasOwnProperty("status")&&(o.status=e.convertToType(r.status,"String"))),o},n.prototype.num_teams=void 0,n.prototype.ranking=void 0,n.prototype.sort_order_info=void 0,n.prototype.status=void 0,n})},{"../ApiClient":9,"./TeamEventStatusRankRanking":60,"./TeamEventStatusRankSortOrderInfo":61}],60:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient"),e("./WLTRecord")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TeamEventStatusRankRanking=n(i.TbaApiV3client.ApiClient,i.TbaApiV3client.WLTRecord))}(this,function(e,t){"use strict";var i=function(){};return i.constructFromObject=function(n,r){return n&&(r=r||new i,n.hasOwnProperty("dq")&&(r.dq=e.convertToType(n.dq,"Number")),n.hasOwnProperty("matches_played")&&(r.matches_played=e.convertToType(n.matches_played,"Number")),n.hasOwnProperty("qual_average")&&(r.qual_average=e.convertToType(n.qual_average,"Number")),n.hasOwnProperty("rank")&&(r.rank=e.convertToType(n.rank,"Number")),n.hasOwnProperty("record")&&(r.record=t.constructFromObject(n.record)),n.hasOwnProperty("sort_orders")&&(r.sort_orders=e.convertToType(n.sort_orders,["Number"])),n.hasOwnProperty("team_key")&&(r.team_key=e.convertToType(n.team_key,"String"))),r},i.prototype.dq=void 0,i.prototype.matches_played=void 0,i.prototype.qual_average=void 0,i.prototype.rank=void 0,i.prototype.record=void 0,i.prototype.sort_orders=void 0,i.prototype.team_key=void 0,i})},{"../ApiClient":9,"./WLTRecord":64}],61:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TeamEventStatusRankSortOrderInfo=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(){};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("name")&&(n.name=e.convertToType(i.name,"String")),i.hasOwnProperty("precision")&&(n.precision=e.convertToType(i.precision,"Number"))),n},t.prototype.name=void 0,t.prototype.precision=void 0,t})},{"../ApiClient":9}],62:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TeamRobot=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t,i,n){var r=this;r.year=e,r.robot_name=t,r.key=i,r.team_key=n};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("year")&&(n.year=e.convertToType(i.year,"Number")),i.hasOwnProperty("robot_name")&&(n.robot_name=e.convertToType(i.robot_name,"String")),i.hasOwnProperty("key")&&(n.key=e.convertToType(i.key,"String")),i.hasOwnProperty("team_key")&&(n.team_key=e.convertToType(i.team_key,"String"))),n},t.prototype.year=void 0,t.prototype.robot_name=void 0,t.prototype.key=void 0,t.prototype.team_key=void 0,t})},{"../ApiClient":9}],63:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.TeamSimple=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t,i){var n=this;n.key=e,n.team_number=t,n.name=i};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("key")&&(n.key=e.convertToType(i.key,"String")),i.hasOwnProperty("team_number")&&(n.team_number=e.convertToType(i.team_number,"Number")),i.hasOwnProperty("nickname")&&(n.nickname=e.convertToType(i.nickname,"String")),i.hasOwnProperty("name")&&(n.name=e.convertToType(i.name,"String")),i.hasOwnProperty("city")&&(n.city=e.convertToType(i.city,"String")),i.hasOwnProperty("state_prov")&&(n.state_prov=e.convertToType(i.state_prov,"String")),i.hasOwnProperty("country")&&(n.country=e.convertToType(i.country,"String"))),n},t.prototype.key=void 0,t.prototype.team_number=void 0,t.prototype.nickname=void 0,t.prototype.name=void 0,t.prototype.city=void 0,t.prototype.state_prov=void 0,t.prototype.country=void 0,t})},{"../ApiClient":9}],64:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.WLTRecord=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t,i){var n=this;n.losses=e,n.wins=t,n.ties=i};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("losses")&&(n.losses=e.convertToType(i.losses,"Number")),i.hasOwnProperty("wins")&&(n.wins=e.convertToType(i.wins,"Number")),i.hasOwnProperty("ties")&&(n.ties=e.convertToType(i.ties,"Number"))),n},t.prototype.losses=void 0,t.prototype.wins=void 0,t.prototype.ties=void 0,t})},{"../ApiClient":9}],65:[function(e,t,i){!function(i,n){"object"==typeof t&&t.exports?t.exports=n(e("../ApiClient")):(i.TbaApiV3client||(i.TbaApiV3client={}),i.TbaApiV3client.Webcast=n(i.TbaApiV3client.ApiClient))}(this,function(e){"use strict";var t=function(e,t){var i=this;i.type=e,i.channel=t};return t.constructFromObject=function(i,n){return i&&(n=n||new t,i.hasOwnProperty("type")&&(n.type=e.convertToType(i.type,"String")),i.hasOwnProperty("channel")&&(n.channel=e.convertToType(i.channel,"String")),i.hasOwnProperty("file")&&(n.file=e.convertToType(i.file,"String"))),n},t.prototype.type=void 0,t.prototype.channel=void 0,t.prototype.file=void 0,t.TypeEnum={youtube:"youtube",twitch:"twitch",ustream:"ustream",iframe:"iframe",html5:"html5",rtmp:"rtmp",livestream:"livestream"},t})},{"../ApiClient":9}],66:[function(e,t,i){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return a[e>>18&63]+a[e>>12&63]+a[e>>6&63]+a[63&e]}function o(e,t,i){for(var n,o=[],a=t;a<i;a+=3)n=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(r(n));return o.join("")}i.byteLength=function(e){return 3*e.length/4-n(e)},i.toByteArray=function(e){var t,i,r,o,a,c=e.length;o=n(e),a=new p(3*c/4-o),i=o>0?c-4:c;var l=0;for(t=0;t<i;t+=4)r=s[e.charCodeAt(t)]<<18|s[e.charCodeAt(t+1)]<<12|s[e.charCodeAt(t+2)]<<6|s[e.charCodeAt(t+3)],a[l++]=r>>16&255,a[l++]=r>>8&255,a[l++]=255&r;return 2===o?(r=s[e.charCodeAt(t)]<<2|s[e.charCodeAt(t+1)]>>4,a[l++]=255&r):1===o&&(r=s[e.charCodeAt(t)]<<10|s[e.charCodeAt(t+1)]<<4|s[e.charCodeAt(t+2)]>>2,a[l++]=r>>8&255,a[l++]=255&r),a},i.fromByteArray=function(e){for(var t,i=e.length,n=i%3,r="",s=[],p=0,c=i-n;p<c;p+=16383)s.push(o(e,p,p+16383>c?c:p+16383));return 1===n?(t=e[i-1],r+=a[t>>2],r+=a[t<<4&63],r+="=="):2===n&&(t=(e[i-2]<<8)+e[i-1],r+=a[t>>10],r+=a[t>>4&63],r+=a[t<<2&63],r+="="),s.push(r),s.join("")};for(var a=[],s=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,u=c.length;l<u;++l)a[l]=c[l],s[c.charCodeAt(l)]=l;s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},{}],67:[function(e,t,i){},{}],68:[function(e,t,i){"use strict";function n(e){if(e>X)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=r.prototype,t}function r(e,t,i){if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(e)}return o(e,t,i)}function o(e,t,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return Y(e)?u(e,t,i):"string"==typeof e?c(e,t):y(e)}function a(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 s(e,t,i){return a(e),e<=0?n(e):void 0!==t?"string"==typeof i?n(e).fill(t,i):n(e).fill(t):n(e)}function p(e){return a(e),n(e<0?0:0|h(e))}function c(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!r.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var i=0|d(e,t),o=n(i),a=o.write(e,t);return a!==i&&(o=o.slice(0,a)),o}function l(e){for(var t=e.length<0?0:0|h(e.length),i=n(t),r=0;r<t;r+=1)i[r]=255&e[r];return i}function u(e,t,i){if(t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(i||0))throw new RangeError("'length' is out of bounds");var n;return n=void 0===t&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,t):new Uint8Array(e,t,i),n.__proto__=r.prototype,n}function y(e){if(r.isBuffer(e)){var t=0|h(e.length),i=n(t);return 0===i.length?i:(e.copy(i,0,0,t),i)}if(e){if(U(e)||"length"in e)return"number"!=typeof e.length||H(e.length)?n(0):l(e);if("Buffer"===e.type&&Array.isArray(e.data))return l(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function h(e){if(e>=X)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+X.toString(16)+" bytes");return 0|e}function d(e,t){if(r.isBuffer(e))return e.length;if(U(e)||Y(e))return e.byteLength;"string"!=typeof e&&(e=""+e);var i=e.length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return x(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return G(e).length;default:if(n)return x(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,i){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if(i>>>=0,t>>>=0,i<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return C(this,t,i);case"utf8":case"utf-8":return k(this,t,i);case"ascii":return M(this,t,i);case"latin1":case"binary":return O(this,t,i);case"base64":return S(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,i);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function f(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function m(e,t,i,n,o){if(0===e.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,H(i)&&(i=o?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(o)return-1;i=e.length-1}else if(i<0){if(!o)return-1;i=0}if("string"==typeof t&&(t=r.from(t,n)),r.isBuffer(t))return 0===t.length?-1:g(e,t,i,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):g(e,[t],i,n,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,i,n,r){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,p=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,p/=2,i/=2}var c;if(r){var l=-1;for(c=i;c<s;c++)if(o(e,c)===o(t,-1===l?0:c-l)){if(-1===l&&(l=c),c-l+1===p)return l*a}else-1!==l&&(c-=c-l),l=-1}else for(i+p>s&&(i=s-p),c=i;c>=0;c--){for(var u=!0,y=0;y<p;y++)if(o(e,c+y)!==o(t,y)){u=!1;break}if(u)return c}return-1}function _(e,t,i,n){i=Number(i)||0;var r=e.length-i;n?(n=Number(n))>r&&(n=r):n=r;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(H(s))return a;e[i+a]=s}return a}function T(e,t,i,n){return L(x(t,e.length-i),e,i,n)}function w(e,t,i,n){return L(D(t),e,i,n)}function b(e,t,i,n){return w(e,t,i,n)}function A(e,t,i,n){return L(G(t),e,i,n)}function E(e,t,i,n){return L(F(t,e.length-i),e,i,n)}function S(e,t,i){return 0===t&&i===e.length?W.fromByteArray(e):W.fromByteArray(e.slice(t,i))}function k(e,t,i){i=Math.min(e.length,i);for(var n=[],r=t;r<i;){var o=e[r],a=null,s=o>239?4:o>223?3:o>191?2:1;if(r+s<=i){var p,c,l,u;switch(s){case 1:o<128&&(a=o);break;case 2:128==(192&(p=e[r+1]))&&(u=(31&o)<<6|63&p)>127&&(a=u);break;case 3:p=e[r+1],c=e[r+2],128==(192&p)&&128==(192&c)&&(u=(15&o)<<12|(63&p)<<6|63&c)>2047&&(u<55296||u>57343)&&(a=u);break;case 4:p=e[r+1],c=e[r+2],l=e[r+3],128==(192&p)&&128==(192&c)&&128==(192&l)&&(u=(15&o)<<18|(63&p)<<12|(63&c)<<6|63&l)>65535&&u<1114112&&(a=u)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),r+=s}return P(n)}function P(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var i="",n=0;n<t;)i+=String.fromCharCode.apply(String,e.slice(n,n+=$));return i}function M(e,t,i){var n="";i=Math.min(e.length,i);for(var r=t;r<i;++r)n+=String.fromCharCode(127&e[r]);return n}function O(e,t,i){var n="";i=Math.min(e.length,i);for(var r=t;r<i;++r)n+=String.fromCharCode(e[r]);return n}function C(e,t,i){var n=e.length;(!t||t<0)&&(t=0),(!i||i<0||i>n)&&(i=n);for(var r="",o=t;o<i;++o)r+=I(e[o]);return r}function j(e,t,i){for(var n=e.slice(t,i),r="",o=0;o<n.length;o+=2)r+=String.fromCharCode(n[o]+256*n[o+1]);return r}function V(e,t,i){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>i)throw new RangeError("Trying to access beyond buffer length")}function K(e,t,i,n,o,a){if(!r.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(i+n>e.length)throw new RangeError("Index out of range")}function B(e,t,i,n,r,o){if(i+n>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function q(e,t,i,n,r){return t=+t,i>>>=0,r||B(e,t,i,4,3.4028234663852886e38,-3.4028234663852886e38),z.write(e,t,i,n,23,4),i+4}function N(e,t,i,n,r){return t=+t,i>>>=0,r||B(e,t,i,8,1.7976931348623157e308,-1.7976931348623157e308),z.write(e,t,i,n,52,8),i+8}function R(e){if((e=e.trim().replace(J,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function I(e){return e<16?"0"+e.toString(16):e.toString(16)}function x(e,t){t=t||1/0;for(var i,n=e.length,r=null,o=[],a=0;a<n;++a){if((i=e.charCodeAt(a))>55295&&i<57344){if(!r){if(i>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&o.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;o.push(i)}else if(i<2048){if((t-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function D(e){for(var t=[],i=0;i<e.length;++i)t.push(255&e.charCodeAt(i));return t}function F(e,t){for(var i,n,r,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(i=e.charCodeAt(a))>>8,r=i%256,o.push(r),o.push(n);return o}function G(e){return W.toByteArray(R(e))}function L(e,t,i,n){for(var r=0;r<n&&!(r+i>=t.length||r>=e.length);++r)t[r+i]=e[r];return r}function Y(e){return e instanceof ArrayBuffer||null!=e&&null!=e.constructor&&"ArrayBuffer"===e.constructor.name&&"number"==typeof e.byteLength}function U(e){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(e)}function H(e){return e!==e}var W=e("base64-js"),z=e("ieee754");i.Buffer=r,i.SlowBuffer=function(e){return+e!=e&&(e=0),r.alloc(+e)},i.INSPECT_MAX_BYTES=50;var X=2147483647;i.kMaxLength=X,r.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),r.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),"undefined"!=typeof Symbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),r.poolSize=8192,r.from=function(e,t,i){return o(e,t,i)},r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,r.alloc=function(e,t,i){return s(e,t,i)},r.allocUnsafe=function(e){return p(e)},r.allocUnsafeSlow=function(e){return p(e)},r.isBuffer=function(e){return null!=e&&!0===e._isBuffer},r.compare=function(e,t){if(!r.isBuffer(e)||!r.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,o=0,a=Math.min(i,n);o<a;++o)if(e[o]!==t[o]){i=e[o],n=t[o];break}return i<n?-1:n<i?1:0},r.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}},r.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return r.alloc(0);var i;if(void 0===t)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=r.allocUnsafe(t),o=0;for(i=0;i<e.length;++i){var a=e[i];if(!r.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},r.byteLength=d,r.prototype._isBuffer=!0,r.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)f(this,t,t+1);return this},r.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)f(this,t,t+3),f(this,t+1,t+2);return this},r.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)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},r.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):v.apply(this,arguments)},r.prototype.equals=function(e){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===r.compare(this,e)},r.prototype.inspect=function(){var e="",t=i.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},r.prototype.compare=function(e,t,i,n,o){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||i>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var a=o-n,s=i-t,p=Math.min(a,s),c=this.slice(n,o),l=e.slice(t,i),u=0;u<p;++u)if(c[u]!==l[u]){a=c[u],s=l[u];break}return a<s?-1:s<a?1:0},r.prototype.includes=function(e,t,i){return-1!==this.indexOf(e,t,i)},r.prototype.indexOf=function(e,t,i){return m(this,e,t,i,!0)},r.prototype.lastIndexOf=function(e,t,i){return m(this,e,t,i,!1)},r.prototype.write=function(e,t,i,n){if(void 0===t)n="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)n=t,i=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(i)?(i>>>=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var r=this.length-t;if((void 0===i||i>r)&&(i=r),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return _(this,e,t,i);case"utf8":case"utf-8":return T(this,e,t,i);case"ascii":return w(this,e,t,i);case"latin1":case"binary":return b(this,e,t,i);case"base64":return A(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,i);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;r.prototype.slice=function(e,t){var i=this.length;e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=r.prototype,n},r.prototype.readUIntLE=function(e,t,i){e>>>=0,t>>>=0,i||V(e,t,this.length);for(var n=this[e],r=1,o=0;++o<t&&(r*=256);)n+=this[e+o]*r;return n},r.prototype.readUIntBE=function(e,t,i){e>>>=0,t>>>=0,i||V(e,t,this.length);for(var n=this[e+--t],r=1;t>0&&(r*=256);)n+=this[e+--t]*r;return n},r.prototype.readUInt8=function(e,t){return e>>>=0,t||V(e,1,this.length),this[e]},r.prototype.readUInt16LE=function(e,t){return e>>>=0,t||V(e,2,this.length),this[e]|this[e+1]<<8},r.prototype.readUInt16BE=function(e,t){return e>>>=0,t||V(e,2,this.length),this[e]<<8|this[e+1]},r.prototype.readUInt32LE=function(e,t){return e>>>=0,t||V(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},r.prototype.readUInt32BE=function(e,t){return e>>>=0,t||V(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},r.prototype.readIntLE=function(e,t,i){e>>>=0,t>>>=0,i||V(e,t,this.length);for(var n=this[e],r=1,o=0;++o<t&&(r*=256);)n+=this[e+o]*r;return r*=128,n>=r&&(n-=Math.pow(2,8*t)),n},r.prototype.readIntBE=function(e,t,i){e>>>=0,t>>>=0,i||V(e,t,this.length);for(var n=t,r=1,o=this[e+--n];n>0&&(r*=256);)o+=this[e+--n]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*t)),o},r.prototype.readInt8=function(e,t){return e>>>=0,t||V(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},r.prototype.readInt16LE=function(e,t){e>>>=0,t||V(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},r.prototype.readInt16BE=function(e,t){e>>>=0,t||V(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},r.prototype.readInt32LE=function(e,t){return e>>>=0,t||V(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},r.prototype.readInt32BE=function(e,t){return e>>>=0,t||V(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},r.prototype.readFloatLE=function(e,t){return e>>>=0,t||V(e,4,this.length),z.read(this,e,!0,23,4)},r.prototype.readFloatBE=function(e,t){return e>>>=0,t||V(e,4,this.length),z.read(this,e,!1,23,4)},r.prototype.readDoubleLE=function(e,t){return e>>>=0,t||V(e,8,this.length),z.read(this,e,!0,52,8)},r.prototype.readDoubleBE=function(e,t){return e>>>=0,t||V(e,8,this.length),z.read(this,e,!1,52,8)},r.prototype.writeUIntLE=function(e,t,i,n){e=+e,t>>>=0,i>>>=0,n||K(this,e,t,i,Math.pow(2,8*i)-1,0);var r=1,o=0;for(this[t]=255&e;++o<i&&(r*=256);)this[t+o]=e/r&255;return t+i},r.prototype.writeUIntBE=function(e,t,i,n){e=+e,t>>>=0,i>>>=0,n||K(this,e,t,i,Math.pow(2,8*i)-1,0);var r=i-1,o=1;for(this[t+r]=255&e;--r>=0&&(o*=256);)this[t+r]=e/o&255;return t+i},r.prototype.writeUInt8=function(e,t,i){return e=+e,t>>>=0,i||K(this,e,t,1,255,0),this[t]=255&e,t+1},r.prototype.writeUInt16LE=function(e,t,i){return e=+e,t>>>=0,i||K(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},r.prototype.writeUInt16BE=function(e,t,i){return e=+e,t>>>=0,i||K(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},r.prototype.writeUInt32LE=function(e,t,i){return e=+e,t>>>=0,i||K(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},r.prototype.writeUInt32BE=function(e,t,i){return e=+e,t>>>=0,i||K(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},r.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t>>>=0,!n){var r=Math.pow(2,8*i-1);K(this,e,t,i,r-1,-r)}var o=0,a=1,s=0;for(this[t]=255&e;++o<i&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+i},r.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t>>>=0,!n){var r=Math.pow(2,8*i-1);K(this,e,t,i,r-1,-r)}var o=i-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+i},r.prototype.writeInt8=function(e,t,i){return e=+e,t>>>=0,i||K(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},r.prototype.writeInt16LE=function(e,t,i){return e=+e,t>>>=0,i||K(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},r.prototype.writeInt16BE=function(e,t,i){return e=+e,t>>>=0,i||K(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},r.prototype.writeInt32LE=function(e,t,i){return e=+e,t>>>=0,i||K(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},r.prototype.writeInt32BE=function(e,t,i){return e=+e,t>>>=0,i||K(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},r.prototype.writeFloatLE=function(e,t,i){return q(this,e,t,!0,i)},r.prototype.writeFloatBE=function(e,t,i){return q(this,e,t,!1,i)},r.prototype.writeDoubleLE=function(e,t,i){return N(this,e,t,!0,i)},r.prototype.writeDoubleBE=function(e,t,i){return N(this,e,t,!1,i)},r.prototype.copy=function(e,t,i,n){if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<i&&(n=i),n===i)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-i&&(n=e.length-t+i);var r,o=n-i;if(this===e&&i<t&&t<n)for(r=o-1;r>=0;--r)e[r+t]=this[r+i];else if(o<1e3)for(r=0;r<o;++r)e[r+t]=this[r+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+o),t);return o},r.prototype.fill=function(e,t,i,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,i=this.length):"string"==typeof i&&(n=i,i=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!r.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t>>>=0,i=void 0===i?this.length:i>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a<i;++a)this[a]=e;else{var s=r.isBuffer(e)?e:new r(e,n),p=s.length;for(a=0;a<i-t;++a)this[a+t]=s[a%p]}return this};var J=/[^+/0-9A-Za-z-_]/g},{"base64-js":66,ieee754:69}],69:[function(e,t,i){i.read=function(e,t,i,n,r){var o,a,s=8*r-n-1,p=(1<<s)-1,c=p>>1,l=-7,u=i?r-1:0,y=i?-1:1,h=e[t+u];for(u+=y,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+e[t+u],u+=y,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+e[t+u],u+=y,l-=8);if(0===o)o=1-c;else{if(o===p)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=c}return(h?-1:1)*a*Math.pow(2,o-n)},i.write=function(e,t,i,n,r,o){var a,s,p,c=8*o-r-1,l=(1<<c)-1,u=l>>1,y=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,d=n?1:-1,v=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=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(p=Math.pow(2,-a))<1&&(a--,p*=2),(t+=a+u>=1?y/p:y*Math.pow(2,1-u))*p>=2&&(a++,p/=2),a+u>=l?(s=0,a=l):a+u>=1?(s=(t*p-1)*Math.pow(2,r),a+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,r),a=0));r>=8;e[i+h]=255&s,h+=d,s/=256,r-=8);for(a=a<<r|s,c+=r;c>0;e[i+h]=255&a,h+=d,a/=256,c-=8);e[i+h-d]|=128*v}},{}],70:[function(e,t,i){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,i,o){t=t||"&",i=i||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var p=1e3;o&&"number"==typeof o.maxKeys&&(p=o.maxKeys);var c=e.length;p>0&&c>p&&(c=p);for(var l=0;l<c;++l){var u,y,h,d,v=e[l].replace(s,"%20"),f=v.indexOf(i);f>=0?(u=v.substr(0,f),y=v.substr(f+1)):(u=v,y=""),h=decodeURIComponent(u),d=decodeURIComponent(y),n(a,h)?r(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],71:[function(e,t,i){"use strict";function n(e,t){if(e.map)return e.map(t);for(var i=[],n=0;n<e.length;n++)i.push(t(e[n],n));return i}var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,i,s){return t=t||"&",i=i||"=",null===e&&(e=void 0),"object"==typeof e?n(a(e),function(a){var s=encodeURIComponent(r(a))+i;return o(e[a])?n(e[a],function(e){return s+encodeURIComponent(r(e))}).join(t):s+encodeURIComponent(r(e[a]))}).join(t):s?encodeURIComponent(r(s))+i+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=Object.keys||function(e){var t=[];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.push(i);return t}},{}],72:[function(e,t,i){"use strict";i.decode=i.parse=e("./decode"),i.encode=i.stringify=e("./encode")},{"./decode":70,"./encode":71}]},{},[16])(16)});